diff --git a/.babelrc b/.babelrc deleted file mode 100644 index bb467da..0000000 --- a/.babelrc +++ /dev/null @@ -1,11 +0,0 @@ -{ - "presets": ["@babel/env", "@babel/typescript", "@babel/react"], - "ignore": [ - "src/index-bundle.ts" - ], - "plugins": [ - ["@babel/plugin-proposal-private-property-in-object", { "loose": true }], - ["@babel/plugin-proposal-private-methods", { "loose": true }], - ["@babel/plugin-proposal-class-properties", { "loose": true }] - ] -} diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index 3e53f27..b521edc 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -1,26 +1,26 @@ { - "name": "App Container", - "image": "mcr.microsoft.com/devcontainers/javascript-node:latest", - "features": { - "ghcr.io/devcontainers/features/node:1": { - "version": "lts", - "pnpm": "latest" - } - }, - "customizations": { - "vscode": { - "settings": { - "terminal.integrated.defaultProfile.linux": "bash", - "editor.tabSize": 2 - }, - "extensions": [ - "dbaeumer.vscode-eslint" - ] - } - }, - "mounts": [ - "source=${localEnv:HOME}/.gitconfig,target=/home/node/.gitconfig,type=bind,consistency=cached", - "source=${localEnv:HOME}/.ssh,target=/home/node/.ssh,type=bind,consistency=cached" - ], - "postCreateCommand": "pnpm install" - } \ No newline at end of file + "name": "App Container", + "image": "mcr.microsoft.com/devcontainers/javascript-node:latest", + "features": { + "ghcr.io/devcontainers/features/node:1": { + "version": "lts", + "pnpmVersion": "latest" + } + }, + "customizations": { + "vscode": { + "settings": { + "terminal.integrated.defaultProfile.linux": "bash", + "editor.tabSize": 2 + }, + "extensions": [ + "denoland.vscode-deno" + ] + } + }, + "mounts": [ + "source=${localEnv:HOME}/.gitconfig,target=/home/node/.gitconfig,type=bind,consistency=cached", + "source=${localEnv:HOME}/.ssh,target=/home/node/.ssh,type=bind,consistency=cached" + ], + "onCreateCommand": "curl -fsSL https://deno.land/x/install/install.sh | sh -s -- --yes && . \"/home/node/.deno/env\"" +} diff --git a/.editorconfig b/.editorconfig deleted file mode 100644 index 1cc9536..0000000 --- a/.editorconfig +++ /dev/null @@ -1,26 +0,0 @@ -root = true - -# Unix-style newlines with a newline ending every file -[*] -indent_style = space -indent_size = 2 -end_of_line = lf -charset = utf-8 -insert_final_newline = true -max_line_length = 100 - -[Dockerfile] -indent_size = 4 - -[*.md] -trim_trailing_whitespace = false - -[*.{js,jsx,ts,tsx}] -trim_trailing_whitespace = true - -[*.php] -indent_size = 4 - -[*.{neon,neon.dist}] -indent_style = tab -indent_size = 4 diff --git a/.eslintrc.js b/.eslintrc.js deleted file mode 100644 index 5e86bf5..0000000 --- a/.eslintrc.js +++ /dev/null @@ -1,16 +0,0 @@ -module.exports = { - root: true, - parser: "@typescript-eslint/parser", - plugins: ["@typescript-eslint"], - extends: [ - "eslint:recommended", - "plugin:@typescript-eslint/recommended", - "plugin:react-hooks/recommended", - "plugin:storybook/recommended", - ], - rules: { - "@typescript-eslint/no-inferrable-types": "off", - "@typescript-eslint/ban-ts-comment": "off", - "@typescript-eslint/no-explicit-any": "off", - } -}; diff --git a/.github/workflows/main.yaml b/.github/workflows/main.yaml index a867114..25dd3b7 100644 --- a/.github/workflows/main.yaml +++ b/.github/workflows/main.yaml @@ -1,89 +1,20 @@ -name: CI/CD +name: Main Build on: - pull_request: - types: [closed] + push: branches: - main +concurrency: + group: ${{ github.workflow }}-build + cancel-in-progress: false + jobs: - release: - if: github.event.pull_request.merged == true + build_and_tag: + uses: ./.github/workflows/subworkflow-build.yml + secrets: inherit + with: + push-tag: true permissions: contents: write - runs-on: ubuntu-latest - steps: - - name: Checkout - uses: actions/checkout@v4 - - - name: Set up Node.js - uses: actions/setup-node@v4 - with: - node-version: "22" - - - uses: pnpm/action-setup@v4 - name: Install pnpm - id: pnpm-install - with: - version: 9 - run_install: false - - - name: Get pnpm store directory - id: pnpm-cache - shell: bash - run: | - echo "STORE_PATH=$(pnpm store path)" >> $GITHUB_OUTPUT - - - uses: actions/cache@v4 - name: Setup pnpm cache - with: - path: ${{ steps.pnpm-cache.outputs.STORE_PATH }} - key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }} - restore-keys: | - ${{ runner.os }}-pnpm-store- - - - name: Install dependencies - run: pnpm install --frozen-lockfile --strict-peer-dependencies - - - name: Build package - run: pnpm run build - - - name: Get labels from pull request - id: labels - run: echo "milestone=$(jq --raw-output '.pull_request.labels[].name' $GITHUB_EVENT_PATH | grep -E 'major-version|minor-version' | head -1)" >> $GITHUB_OUTPUT - - - name: Bump Version - run: | - git config --global user.name "git log -1 --pretty=format:%an" - git config --global user.email "$(git log -1 --pretty=format:%ae)" - - if [ "$(git log -1 --pretty=format:%ae)" = "noreply@github.com" ]; then - echo "Skipping workflow run because previous commit was not made by workflow." - exit 0 - fi - - if [[ "${{ steps.labels.outputs.milestone }}" == "major-version" ]]; then - pnpm version major - elif [[ "${{ steps.labels.outputs.milestone }}" == "minor-version" ]]; then - pnpm version minor - else - pnpm version patch - fi - - pnpm run docs:storybook - - git add docs/* - - git commit -m "Updated Storybook" - - git push origin main - - - name: Authenticate Registry - env: - NODE_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }} - run: pnpm config set //registry.npmjs.org/:_authToken $NODE_AUTH_TOKEN - - - name: Publish to Registry - env: - NODE_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }} - run: pnpm publish + pull-requests: read diff --git a/.github/workflows/pr_build.yml b/.github/workflows/pr_build.yml index 72f828c..86868dc 100644 --- a/.github/workflows/pr_build.yml +++ b/.github/workflows/pr_build.yml @@ -1,85 +1,19 @@ -name: PR Build +name: Feature Build on: pull_request: - branches: - - main + merge_group: # support for merge queues/groups + workflow_dispatch: + +# Allow this job to be canceled when new commits are pushed +concurrency: + group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} + cancel-in-progress: true jobs: - deskpro_ui: - name: Test / Build - timeout-minutes: 30 - runs-on: ubuntu-latest + build: + uses: ./.github/workflows/subworkflow-build.yml + secrets: inherit permissions: - contents: read - pull-requests: write - issues: write - steps: - - name: Checkout - uses: actions/checkout@v4 - with: - fetch-depth: 0 - - - name: Set up Node.js - uses: actions/setup-node@v4 - with: - node-version: "22" - - - uses: pnpm/action-setup@v4 - name: Install pnpm - id: pnpm-install - with: - version: 9 - run_install: false - - - name: Get pnpm store directory - id: pnpm-cache - shell: bash - run: | - echo "STORE_PATH=$(pnpm store path)" >> $GITHUB_OUTPUT - - - uses: actions/cache@v4 - name: Setup pnpm cache - with: - path: ${{ steps.pnpm-cache.outputs.STORE_PATH }} - key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }} - restore-keys: | - ${{ runner.os }}-pnpm-store- - - - name: Install dependencies - run: pnpm install --frozen-lockfile --strict-peer-dependencies - - - name: Build package - run: pnpm run build - - - name: Lint - run: pnpm run lint - - - name: Type check - run: pnpm exec tsc -b - - - name: Run tests - run: pnpm run test - - - name: Build Storybook - run: pnpm run build:storybook - - - name: Deploy Storybook - id: chromauideployment - if: github.actor != 'dependabot[bot]' - uses: chromaui/action@c93e0bc3a63aa176e14a75b61a31847cbfdd341c # v1 - with: - token: ${{ secrets.GITHUB_TOKEN }} - projectToken: ${{ secrets.CHROMATIC_PROJECT_TOKEN }} - storybookBuildDir: storybook - exitOnceUploaded: true - - - name: Leave comment with URL - if: github.actor != 'dependabot[bot]' - uses: peter-evans/create-or-update-comment@71345be0265236311c031f5c7866368bd1eff043 # v4 - with: - issue-number: ${{ github.event.pull_request.number }} - body: | - :rocket: **Storybook is ready!** :rocket: - You can view the [Storybook Build here](${{ steps.chromauideployment.outputs.storybookUrl }}) and the [Chromatic Build here](${{steps.chromauideployment.outputs.buildUrl}}). - reactions: rocket \ No newline at end of file + contents: write + pull-requests: read diff --git a/.github/workflows/subworkflow-build.yml b/.github/workflows/subworkflow-build.yml new file mode 100644 index 0000000..79e4cd4 --- /dev/null +++ b/.github/workflows/subworkflow-build.yml @@ -0,0 +1,145 @@ +name: "Build" + +on: + workflow_call: + inputs: + push-tag: + type: boolean + description: "Should the version tag be pushed to the repo" + default: false + required: false + run-lint: + type: boolean + description: "Should the lint checks be run" + default: true + required: false + run-tests: + type: boolean + description: "Should the tests be run" + default: true + required: false + +jobs: + build: + name: Lint / Test / Build / Tag + timeout-minutes: 30 + runs-on: ubuntu-latest + permissions: + contents: write + pull-requests: read + steps: + - name: Clone repo + uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 + with: + fetch-depth: 0 + fetch-tags: true + + - name: Prep local dev + run: | + touch ~/.gitconfig + mkdir ~/.ssh + git config --global user.name "$(git log -1 --pretty=format:%an)" + git config --global user.email "$(git log -1 --pretty=format:%ae)" + + - name: Export PR Labels + id: extract_labels + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + run: | + if [ -n "${{ github.event.pull_request.number }}" ]; then + # Regular PR case + echo "PR number found: ${{ github.event.pull_request.number }}" + labels=$(jq -r '[.[] | .name] | join(",")' <<< '${{ toJson(github.event.pull_request.labels) }}') + else + # Merge queue case - find PR by head ref + echo "No PR number found, checking for merge group" + PR_NUM=$(git log -1 --pretty=%B | grep -oP '#\K\d+') + echo "PR number found: $PR_NUM" + if [ -n "$PR_NUM" ]; then + labels=$(curl -s -H "Authorization: token $GITHUB_TOKEN" \ + "https://api.github.com/repos/${{ github.repository }}/issues/$PR_NUM/labels" | \ + jq -r '[.[] | .name] | join(",")') + fi + fi + echo "labels=${labels:-}" >> $GITHUB_OUTPUT + + - name: Export Version Tag + id: version_tag + run: | + tag=$(git tag --merged HEAD --sort=-version:refname -l "[0-9]*.[0-9]*.[0-9]*" -l "v[0-9]*.[0-9]*.[0-9]*" | head -n 1); + echo version=$([ -z "$tag" ] && echo "0.0.0" || echo "${tag#v}") >> $GITHUB_OUTPUT; + + - name: Lint, Test, Build, and Tag + id: package + uses: devcontainers/ci@8bf61b26e9c3a98f69cb6ce2f88d24ff59b785c6 #v0.3 + env: + LABELS: "${{ steps.extract_labels.outputs.labels }}" + VERSION: "${{ steps.version_tag.outputs.version }}" + PUSH_TAG: "${{ inputs.push-tag }}" + RUN_LINT: "${{ inputs.run-lint }}" + RUN_TESTS: "${{ inputs.run-tests }}" + DENO_AUTH_TOKEN: "${{ secrets.DENO_AUTH_TOKEN }}" + NODE_AUTH_TOKEN: "${{ secrets.NPM_AUTH_TOKEN }}" + with: + env: | + LABELS + VERSION + PUSH_TAG + RUN_LINT + RUN_TESTS + GITHUB_OUTPUT + DENO_AUTH_TOKEN + NODE_AUTH_TOKEN + runCmd: | + set -e + + # Lint + if [ "$RUN_LINT" = true ]; then + deno fmt --check + deno lint + deno check --doc-only *.md + fi + + # Test + if [ "$RUN_TESTS" = true ]; then + deno task test + fi + + # Build + MILESTONE=$(echo "$LABELS" | grep -E 'major-version|minor-version' | head -1) + if [ -z "$MILESTONE" ]; then + MILESTONE="patch-version" + fi + DENO_MILESTONE=$(echo "$MILESTONE" | sed 's/-version//g') + deno task build --version "$VERSION" --milestone "$DENO_MILESTONE" | tee /tmp/build.log + VERSION_NEW=$(tail -n 1 /tmp/build.log | grep -oP '[0-9]+\.[0-9]+\.[0-9]+') + + echo "New version: $VERSION_NEW" + git tag -a $VERSION_NEW -m "Version $VERSION_NEW" + echo "version=$VERSION_NEW" >> $GITHUB_OUTPUT + + # Push + if [ "$PUSH_TAG" = "true" ]; then + ## Push the tag for git + git push origin $VERSION_NEW + + ## Publish to jsr + jq --arg version "$VERSION_NEW" '.version = $version' deno.json > deno.json.tmp && mv deno.json.tmp deno.json + deno publish --set-version $VERSION_NEW --allow-dirty --token $DENO_AUTH_TOKEN + + ## Publish to npm + pnpm config set //registry.npmjs.org/:_authToken $NODE_AUTH_TOKEN + pnpm publish --no-git-checks npm/ + fi + + - name: Create release + id: create_release + if: ${{ inputs.push-tag && steps.package.outputs.version != '0.0.0' }} + uses: softprops/action-gh-release@da05d552573ad5aba039eaac05058a918a7bf631 # v2.2.2 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + with: + tag_name: ${{ steps.package.outputs.version }} + draft: false + prerelease: false + generate_release_notes: true diff --git a/.gitignore b/.gitignore index e53fa95..dccda8f 100644 --- a/.gitignore +++ b/.gitignore @@ -3,7 +3,8 @@ /cjs /.idea /node_modules -build-storybook .DS_Store /coverage -.pnpm-store \ No newline at end of file +.pnpm-store +/npm +/docs \ No newline at end of file diff --git a/.storybook/main.ts b/.storybook/main.ts deleted file mode 100644 index 51749ef..0000000 --- a/.storybook/main.ts +++ /dev/null @@ -1,24 +0,0 @@ -import type { StorybookConfig } from "@storybook/react-vite"; -const config: StorybookConfig = { - stories: ["../src/**/*.mdx", "../src/**/*.stories.@(js|jsx|mjs|ts|tsx)"], - - addons: [ - "@storybook/addon-links", - "@storybook/addon-actions", - "@storybook/addon-essentials", - "@storybook/addon-onboarding", - "@storybook/addon-interactions", - ], - - framework: { - name: "@storybook/react-vite", - options: {}, - }, - - docs: {}, - - typescript: { - reactDocgen: "react-docgen-typescript" - } -}; -export default config; diff --git a/.storybook/preview.tsx b/.storybook/preview.tsx deleted file mode 100644 index 33b780c..0000000 --- a/.storybook/preview.tsx +++ /dev/null @@ -1,37 +0,0 @@ -import React from "react"; - -import "modern-normalize/modern-normalize.css"; -import "flatpickr/dist/themes/light.css"; -import "tippy.js/dist/tippy.css"; -import "simplebar/dist/simplebar.min.css"; -import "@deskpro/deskpro-ui/dist/deskpro-ui.css"; -import "@deskpro/deskpro-ui/dist/deskpro-custom-icons.css"; -import { DeskproAppProvider } from "../src"; -import { AppWrapper } from "./structure"; -import type { Preview } from "@storybook/react"; - -const preview: Preview = { - parameters: { - actions: { argTypesRegex: "^on[A-Z].*" }, - controls: { - matchers: { - color: /(background|color)$/i, - date: /Date$/, - }, - }, - }, - decorators: [ - (Story) => ( - - - - ), - (Story) => ( - - - - ), - ], -}; - -export default preview; diff --git a/.storybook/structure/AppWrapper/AppWrapper.tsx b/.storybook/structure/AppWrapper/AppWrapper.tsx deleted file mode 100644 index de6e00c..0000000 --- a/.storybook/structure/AppWrapper/AppWrapper.tsx +++ /dev/null @@ -1,27 +0,0 @@ -import styled from "styled-components"; -import { AppSidebar } from "@deskpro/deskpro-ui"; -import type { FC, PropsWithChildren } from "react"; - -const Wrapper = styled.div` - width: 300px; - height: 500px; - border: 1px dashed #D3D6D7; - border-radius: 3px; -`; - -const Body = styled.div` - margin: 8px; -`; - -const AppWrapper: FC = ({ children }) => ( - - - - - {children} - - - -); - -export { AppWrapper }; diff --git a/.storybook/structure/AppWrapper/index.ts b/.storybook/structure/AppWrapper/index.ts deleted file mode 100644 index 8585518..0000000 --- a/.storybook/structure/AppWrapper/index.ts +++ /dev/null @@ -1 +0,0 @@ -export { AppWrapper } from "./AppWrapper"; diff --git a/.storybook/structure/index.ts b/.storybook/structure/index.ts deleted file mode 100644 index 8585518..0000000 --- a/.storybook/structure/index.ts +++ /dev/null @@ -1 +0,0 @@ -export { AppWrapper } from "./AppWrapper"; diff --git a/.vscode/settings.json b/.vscode/settings.json new file mode 100644 index 0000000..c0fa25f --- /dev/null +++ b/.vscode/settings.json @@ -0,0 +1,4 @@ +{ + "deno.enable": true, + "deno.codeLens.test": true +} diff --git a/README.md b/README.md index 9aa5a16..4a1abaa 100644 --- a/README.md +++ b/README.md @@ -1,137 +1,146 @@ # Deskpro Apps SDK -Deskpro Apps SDK provides a client for communicating with the Deskpro system, React UI components as well as basic -styles and utilities for use in simple apps and widgets. +Deskpro Apps SDK provides a client for communicating with the Deskpro system, +React UI components as well as basic styles and utilities for use in simple apps +and widgets. ## Installation -Install the SDK via `pnpm` or `npm`: +Install the SDK via `deno`, `pnpm` or `npm`: ```bash -pnpm add @deskpro/app-sdk -``` - -OR - -```bash -npm install @deskpro/app-sdk +## deno +deno add jsr:@deskpro/app-sdk # Using jsr.io +## pnpm +pnpm add jsr:@deskpro/app-sdk # Using jsr.io +pnpm add @deskpro/app-sdk # using npmjs.com +## npm +npm install @deskpro/app-sdk # Using npmjs.com ``` ## Basic Usage -When communicating with the Deskpro system, an app or widget must register "listeners" for key events: +When communicating with the Deskpro system, an app or widget must register +`listeners` for key events: -- **onReady** - when an app is loaded, but is not necessarily shown to the user -- **onShow** - the app has been revealed to the user -- **onChange** - the data (context) being passed to the app from Deskpro has changed +- `ready` - when an app is loaded, but is not necessarily shown to the user +- `show` - the app has been revealed to the user +- `change` - the data (context) being passed to the app from Deskpro has changed -To register a listener you'll need to first import and create a Deskpro client, register the -listener(s) and then lastly run the client: +To register a listener you'll need to first import and create a Deskpro client, +register the listener(s) and then lastly run the client: ```javascript import { createClient } from "@deskpro/app-sdk"; const client = createClient(); -client.onReady((context) => { +client.subscribe("ready", (context) => { // do something when the app is ready }); -client.onShow((context) => { +client.subscribe("show", (context) => { // do something when the app is shown to the user }); -client.onChange((context) => { +client.subscribe("change", (context) => { // do something when the "context" data has changed }); client.run(); ``` -As an aside, it's always best to "run" the client after the page is loaded, the easiest way to do -this is to register the `client.run()` call as a `window.onload` method: +To make `fetch` requests via the +[app proxy](https://support.deskpro.com/en-US/guides/developers/app-proxy), and +therefore gain access to +[app settings](https://support.deskpro.com/en-GB/guides/developers/app-settings), +we've provided a utility that wraps the native `fetch` function in the browser: -```javascript +```typescript import { createClient } from "@deskpro/app-sdk"; const client = createClient(); -window.onload = () => client.run(); - -// ... -``` - -To make `fetch` requests via the app proxy, and therefore gain access to app settings, we've provided -a utility that wraps the native `fetch` function in the browser: - -```javascript -import { createClient, proxyFetch } from "@deskpro/app-sdk"; - -const client = createClient(); - -window.onload = () => client.run(); - -proxyFetch(client).then((dpFetch) => { - // Use dpFetch() just like you would use fetch() natively. - dpFetch("https://example.com/api/things?api_key=__key__").then((res) => { - // ... +client.run().then(() => { + // Example usage of Proxy + client.proxy("agent").fetch().then((fetch) => { + fetch("https://api.example.com/data?api_key=__apikey_").then((response) => { + return response.json(); + }).then((data) => { + console.log(data); + }); }); }); ``` -Notice that the proxy will replace placeholders with the format `____`. In this example, `__key__` will -be replaced with the app backend setting `key`. Proxy setting placeholders may be placed in the URL, -headers or body of the request. +Notice that +[the proxy will replace placeholders](https://support.deskpro.com/en-US/guides/developers/app-proxy#setting_injection) +with the format `____`. In this example, `__apikey__` will be replaced +with the app backend setting `apikey`. Proxy setting placeholders may be placed +in the URL, headers or body of the request. -You can also control aspects of Deskpro itself, like the app title and icon badge count. To do this, use the client -again to set these properties: +You can also control aspects of Deskpro itself, like the app title and icon +badge count. To do this, use the client again to set these properties: -```javascript +```typescript import { createClient } from "@deskpro/app-sdk"; const client = createClient(); -window.onload = () => client.run(); - -client.setTitle("My New Title"); -client.setBadgeCount(42); +client.run().then(() => { + client.ui().setTitle("My New Title"); + client.ui().setBadgeCount(42); +}); ``` ## UI Components -The Apps SDK exports several [Deskpro UI](https://github.com/deskpro/deskpro-product/tree/master/packages/deskpro-ui) components and -is supported by a published Storybook story of each. - -All app UI components reside in `src/ui/components` and usually consist of three files each: +The Apps SDK doesn't export any UI elements but for consistency, we recommended +you use +[Deskpro UI](https://github.com/deskpro/deskpro-product/tree/master/packages/deskpro-ui) +for consistency. -- Component file, e.g. `Button.tsx` that exports or compounds the component -- Story file, e.g. `Button.stories.tsx` that contains the story for the component -- Index file +## Developer Area -To start developing UI components, run Storybook with: +### Tests ```bash -pnpm start +deno test +deno test --coverage # or with coverage ``` -When you're ready to build, run the standard build process for this library: +### Lints ```bash -pnpm build +deno lint ``` -**Note:** UI components are **not bundled**, instead they're available in the ESM and CJS module builds. +### Formatting -## Tests +```bash +deno fmt +``` + +### All in One -To run the SDK test suite, execute the following: +_This is recommended before +[opening a Pull Request](https://github.com/DeskproApps/app-sdk/compare)._ ```bash -pnpm test +deno task check ``` -OR +### Build + +This takes two arguments, `--version` which is the existing published version +and `--milestone` which is the type of increment you wish to create, e.g. +`major`, `minor`, or `patch`. ```bash -npm run test +deno task build --version 0.0.0 --milestone minor ``` + +### Publish + +This should not be done outside of the Github actions. Publishing occurs +automatically upon pushes to `main`. diff --git a/SECURITY.md b/SECURITY.md index 2763f5f..f6c869c 100644 --- a/SECURITY.md +++ b/SECURITY.md @@ -2,4 +2,4 @@ ## Reporting a Vulnerability -To report a security vulnerability, please email security@deskpro.com. \ No newline at end of file +To report a security vulnerability, please email security@deskpro.com. diff --git a/bin/build.ts b/bin/build.ts new file mode 100644 index 0000000..35d9042 --- /dev/null +++ b/bin/build.ts @@ -0,0 +1,61 @@ +import { build, emptyDir } from "@deno/dnt"; +import { + inc as semverInc, + valid as semverValid, +} from "https://deno.land/x/semver/mod.ts"; +import { parseArgs } from "jsr:@std/cli/parse-args"; + +const buildDir = "./npm"; + +const flags = parseArgs(Deno.args, { + string: ["version", "milestone"], +}); + +if ( + !semverValid(flags.version ?? "") || + !["major", "minor", "patch"].includes(flags.milestone ?? "") +) { + console.error( + "Usage: deno task build --version --milestone ", + ); + console.error("Example: deno task build 1.0.0 patch"); + Deno.exit(1); +} + +const version = semverInc( + flags.version!, + flags.milestone as "major" | "minor" | "patch", +)!; + +await emptyDir(buildDir); + +await build({ + entryPoints: ["./src/index.ts"], + outDir: buildDir, + shims: { + deno: true, + }, + packageManager: "pnpm", + package: { + name: "@deskpro/app-sdk", + version, + description: "Deskpro Apps SDK", + private: false, + license: "MIT", + repository: { + type: "git", + url: "git+https://github.com/deskproapps/app-sdk.git", + }, + bugs: { + url: "https://github.com/deskproapps/app-sdk/issues", + }, + }, + compilerOptions: { + lib: ["ESNext", "DOM", "DOM.Iterable"], + }, + postBuild() { + Deno.copyFileSync("README.md", `${buildDir}/README.md`); + }, +}); + +console.log(`Build completed successfully! Version: ${version}`); diff --git a/deno.json b/deno.json new file mode 100644 index 0000000..dad0e19 --- /dev/null +++ b/deno.json @@ -0,0 +1,22 @@ +{ + "name": "@deskpro/app-sdk", + "version": "0.0.0", + "description": "Deskpro Apps SDK", + "exports": "./src/index.ts", + "license": "MIT", + "tasks": { + "test": "deno test", + "build": "deno clean && deno run --allow-env --allow-read --allow-write --allow-net --allow-run ./bin/build.ts", + "check": "deno fmt --check && deno lint && deno check --doc && deno task test" + }, + "exclude": [ + "npm/" + ], + "imports": { + "@/": "./src/", + "@deno/dnt": "jsr:@deno/dnt@^0.42.1", + "@std/assert": "jsr:@std/assert@^1.0.13", + "@std/testing": "jsr:@std/testing@^1.0.13", + "penpal": "npm:penpal@^6.2.1" + } +} diff --git a/deno.lock b/deno.lock new file mode 100644 index 0000000..e6a611c --- /dev/null +++ b/deno.lock @@ -0,0 +1,273 @@ +{ + "version": "5", + "specifiers": { + "jsr:@david/code-block-writer@^13.0.2": "13.0.3", + "jsr:@deno/cache-dir@0.20": "0.20.1", + "jsr:@deno/dnt@*": "0.42.1", + "jsr:@deno/dnt@~0.42.1": "0.42.1", + "jsr:@deno/graph@0.86": "0.86.9", + "jsr:@std/assert@*": "1.0.13", + "jsr:@std/assert@^1.0.13": "1.0.13", + "jsr:@std/bytes@^1.0.5": "1.0.6", + "jsr:@std/cli@*": "1.0.19", + "jsr:@std/data-structures@^1.0.8": "1.0.8", + "jsr:@std/fmt@1": "1.0.8", + "jsr:@std/fmt@^1.0.3": "1.0.8", + "jsr:@std/fs@1": "1.0.18", + "jsr:@std/fs@^1.0.17": "1.0.18", + "jsr:@std/fs@^1.0.6": "1.0.18", + "jsr:@std/internal@^1.0.6": "1.0.8", + "jsr:@std/internal@^1.0.8": "1.0.8", + "jsr:@std/io@0.225": "0.225.2", + "jsr:@std/path@1": "1.1.0", + "jsr:@std/path@^1.0.8": "1.1.0", + "jsr:@std/path@^1.1.0": "1.1.0", + "jsr:@std/testing@^1.0.13": "1.0.13", + "jsr:@ts-morph/bootstrap@0.25": "0.25.0", + "jsr:@ts-morph/common@0.25": "0.25.0", + "npm:@types/node@*": "22.15.15", + "npm:penpal@^6.2.1": "6.2.2" + }, + "jsr": { + "@david/code-block-writer@13.0.3": { + "integrity": "f98c77d320f5957899a61bfb7a9bead7c6d83ad1515daee92dbacc861e13bb7f" + }, + "@deno/cache-dir@0.20.1": { + "integrity": "dc4f3add14307f3ff3b712441ea4acabcbfc9a13f67c5adc78c3aac16ac5e2a0", + "dependencies": [ + "jsr:@deno/graph", + "jsr:@std/fmt@^1.0.3", + "jsr:@std/fs@^1.0.6", + "jsr:@std/io", + "jsr:@std/path@^1.0.8" + ] + }, + "@deno/dnt@0.42.1": { + "integrity": "85322b38eb40d4e8c5216d62536152c35b1bda9dc47c8c60860610397b960223", + "dependencies": [ + "jsr:@david/code-block-writer", + "jsr:@deno/cache-dir", + "jsr:@std/fmt@1", + "jsr:@std/fs@1", + "jsr:@std/path@1", + "jsr:@ts-morph/bootstrap" + ] + }, + "@deno/graph@0.86.9": { + "integrity": "c4f353a695bcc5246c099602977dabc6534eacea9999a35a8cb24e807192e6a1" + }, + "@std/assert@1.0.13": { + "integrity": "ae0d31e41919b12c656c742b22522c32fb26ed0cba32975cb0de2a273cb68b29", + "dependencies": [ + "jsr:@std/internal@^1.0.6" + ] + }, + "@std/bytes@1.0.6": { + "integrity": "f6ac6adbd8ccd99314045f5703e23af0a68d7f7e58364b47d2c7f408aeb5820a" + }, + "@std/cli@1.0.19": { + "integrity": "b3601a54891f89f3f738023af11960c4e6f7a45dc76cde39a6861124cba79e88" + }, + "@std/data-structures@1.0.8": { + "integrity": "2fb7219247e044c8fcd51341788547575653c82ae2c759ff209e0263ba7d9b66" + }, + "@std/fmt@1.0.8": { + "integrity": "71e1fc498787e4434d213647a6e43e794af4fd393ef8f52062246e06f7e372b7" + }, + "@std/fs@1.0.18": { + "integrity": "24bcad99eab1af4fde75e05da6e9ed0e0dce5edb71b7e34baacf86ffe3969f3a", + "dependencies": [ + "jsr:@std/path@^1.1.0" + ] + }, + "@std/internal@1.0.8": { + "integrity": "fc66e846d8d38a47cffd274d80d2ca3f0de71040f855783724bb6b87f60891f5" + }, + "@std/io@0.225.2": { + "integrity": "3c740cd4ee4c082e6cfc86458f47e2ab7cb353dc6234d5e9b1f91a2de5f4d6c7", + "dependencies": [ + "jsr:@std/bytes" + ] + }, + "@std/path@1.1.0": { + "integrity": "ddc94f8e3c275627281cbc23341df6b8bcc874d70374f75fec2533521e3d6886" + }, + "@std/testing@1.0.13": { + "integrity": "74418be16f627dfe996937ab0ffbdbda9c1f35534b78724658d981492f121e71", + "dependencies": [ + "jsr:@std/assert@^1.0.13", + "jsr:@std/data-structures", + "jsr:@std/fs@^1.0.17", + "jsr:@std/internal@^1.0.8", + "jsr:@std/path@^1.1.0" + ] + }, + "@ts-morph/bootstrap@0.25.0": { + "integrity": "3cd33ee80ac0aab8e5d2660c639a02187f0c8abfe454636ce86c00eb7e8407db", + "dependencies": [ + "jsr:@ts-morph/common" + ] + }, + "@ts-morph/common@0.25.0": { + "integrity": "e3ed1771e2fb61fbc3d2cb39ebbc4f89cd686d6d9bc6d91a71372be055ac1967", + "dependencies": [ + "jsr:@std/fs@1", + "jsr:@std/path@1" + ] + } + }, + "npm": { + "@types/node@22.15.15": { + "integrity": "sha512-R5muMcZob3/Jjchn5LcO8jdKwSCbzqmPB6ruBxMcf9kbxtniZHP327s6C37iOfuw8mbKK3cAQa7sEl7afLrQ8A==", + "dependencies": [ + "undici-types" + ] + }, + "penpal@6.2.2": { + "integrity": "sha512-RQD7hTx14/LY7QoS3tQYO3/fzVtwvZI+JeS5udgsu7FPaEDjlvfK9HBcme9/ipzSPKnrxSgacI9PI7154W62YQ==" + }, + "undici-types@6.21.0": { + "integrity": "sha512-iwDZqg0QAGrg9Rav5H4n0M64c3mkR59cJ6wQp+7C4nI0gsmExaedaYLNO44eT4AtBBwjbTiGPMlt2Md0T9H9JQ==" + } + }, + "redirects": { + "https://deno.land/std/testing/mock.ts": "https://deno.land/std@0.224.0/testing/mock.ts", + "https://deno.land/x/dnt/mod.ts": "https://deno.land/x/dnt@0.40.0/mod.ts", + "https://deno.land/x/semver/mod.ts": "https://deno.land/x/semver@v1.4.1/mod.ts" + }, + "remote": { + "https://deno.land/std@0.140.0/_util/assert.ts": "e94f2eb37cebd7f199952e242c77654e43333c1ac4c5c700e929ea3aa5489f74", + "https://deno.land/std@0.140.0/_util/os.ts": "3b4c6e27febd119d36a416d7a97bd3b0251b77c88942c8f16ee5953ea13e2e49", + "https://deno.land/std@0.140.0/bytes/bytes_list.ts": "67eb118e0b7891d2f389dad4add35856f4ad5faab46318ff99653456c23b025d", + "https://deno.land/std@0.140.0/bytes/equals.ts": "fc16dff2090cced02497f16483de123dfa91e591029f985029193dfaa9d894c9", + "https://deno.land/std@0.140.0/bytes/mod.ts": "763f97d33051cc3f28af1a688dfe2830841192a9fea0cbaa55f927b49d49d0bf", + "https://deno.land/std@0.140.0/fmt/colors.ts": "30455035d6d728394781c10755351742dd731e3db6771b1843f9b9e490104d37", + "https://deno.land/std@0.140.0/fs/_util.ts": "0fb24eb4bfebc2c194fb1afdb42b9c3dda12e368f43e8f2321f84fc77d42cb0f", + "https://deno.land/std@0.140.0/fs/ensure_dir.ts": "9dc109c27df4098b9fc12d949612ae5c9c7169507660dcf9ad90631833209d9d", + "https://deno.land/std@0.140.0/io/buffer.ts": "bd0c4bf53db4b4be916ca5963e454bddfd3fcd45039041ea161dbf826817822b", + "https://deno.land/std@0.140.0/path/_constants.ts": "df1db3ffa6dd6d1252cc9617e5d72165cd2483df90e93833e13580687b6083c3", + "https://deno.land/std@0.140.0/path/_interface.ts": "ee3b431a336b80cf445441109d089b70d87d5e248f4f90ff906820889ecf8d09", + "https://deno.land/std@0.140.0/path/_util.ts": "c1e9686d0164e29f7d880b2158971d805b6e0efc3110d0b3e24e4b8af2190d2b", + "https://deno.land/std@0.140.0/path/common.ts": "bee563630abd2d97f99d83c96c2fa0cca7cee103e8cb4e7699ec4d5db7bd2633", + "https://deno.land/std@0.140.0/path/glob.ts": "cb5255638de1048973c3e69e420c77dc04f75755524cb3b2e160fe9277d939ee", + "https://deno.land/std@0.140.0/path/mod.ts": "d3e68d0abb393fb0bf94a6d07c46ec31dc755b544b13144dee931d8d5f06a52d", + "https://deno.land/std@0.140.0/path/posix.ts": "293cdaec3ecccec0a9cc2b534302dfe308adb6f10861fa183275d6695faace44", + "https://deno.land/std@0.140.0/path/separator.ts": "fe1816cb765a8068afb3e8f13ad272351c85cbc739af56dacfc7d93d710fe0f9", + "https://deno.land/std@0.140.0/path/win32.ts": "31811536855e19ba37a999cd8d1b62078235548d67902ece4aa6b814596dd757", + "https://deno.land/std@0.140.0/streams/conversion.ts": "712585bfa0172a97fb68dd46e784ae8ad59d11b88079d6a4ab098ff42e697d21", + "https://deno.land/std@0.181.0/_util/asserts.ts": "178dfc49a464aee693a7e285567b3d0b555dc805ff490505a8aae34f9cfb1462", + "https://deno.land/std@0.181.0/_util/os.ts": "d932f56d41e4f6a6093d56044e29ce637f8dcc43c5a90af43504a889cf1775e3", + "https://deno.land/std@0.181.0/fmt/colors.ts": "d67e3cd9f472535241a8e410d33423980bec45047e343577554d3356e1f0ef4e", + "https://deno.land/std@0.181.0/fs/_util.ts": "65381f341af1ff7f40198cee15c20f59951ac26e51ddc651c5293e24f9ce6f32", + "https://deno.land/std@0.181.0/fs/empty_dir.ts": "c3d2da4c7352fab1cf144a1ecfef58090769e8af633678e0f3fabaef98594688", + "https://deno.land/std@0.181.0/fs/ensure_dir.ts": "dc64c4c75c64721d4e3fb681f1382f803ff3d2868f08563ff923fdd20d071c40", + "https://deno.land/std@0.181.0/fs/expand_glob.ts": "e4f56259a0a70fe23f05215b00de3ac5e6ba46646ab2a06ebbe9b010f81c972a", + "https://deno.land/std@0.181.0/fs/walk.ts": "ea95ffa6500c1eda6b365be488c056edc7c883a1db41ef46ec3bf057b1c0fe32", + "https://deno.land/std@0.181.0/path/_constants.ts": "e49961f6f4f48039c0dfed3c3f93e963ca3d92791c9d478ac5b43183413136e0", + "https://deno.land/std@0.181.0/path/_interface.ts": "6471159dfbbc357e03882c2266d21ef9afdb1e4aa771b0545e90db58a0ba314b", + "https://deno.land/std@0.181.0/path/_util.ts": "d7abb1e0dea065f427b89156e28cdeb32b045870acdf865833ba808a73b576d0", + "https://deno.land/std@0.181.0/path/common.ts": "ee7505ab01fd22de3963b64e46cff31f40de34f9f8de1fff6a1bd2fe79380000", + "https://deno.land/std@0.181.0/path/glob.ts": "d479e0a695621c94d3fd7fe7abd4f9499caf32a8de13f25073451c6ef420a4e1", + "https://deno.land/std@0.181.0/path/mod.ts": "bf718f19a4fdd545aee1b06409ca0805bd1b68ecf876605ce632e932fe54510c", + "https://deno.land/std@0.181.0/path/posix.ts": "8b7c67ac338714b30c816079303d0285dd24af6b284f7ad63da5b27372a2c94d", + "https://deno.land/std@0.181.0/path/separator.ts": "0fb679739d0d1d7bf45b68dacfb4ec7563597a902edbaf3c59b50d5bcadd93b1", + "https://deno.land/std@0.181.0/path/win32.ts": "d186344e5583bcbf8b18af416d13d82b35a317116e6460a5a3953508c3de5bba", + "https://deno.land/std@0.202.0/assert/_constants.ts": "8a9da298c26750b28b326b297316cdde860bc237533b07e1337c021379e6b2a9", + "https://deno.land/std@0.202.0/assert/_diff.ts": "1a3c044aedf77647d6cac86b798c6417603361b66b54c53331b312caeb447aea", + "https://deno.land/std@0.202.0/assert/_format.ts": "a69126e8a469009adf4cf2a50af889aca364c349797e63174884a52ff75cf4c7", + "https://deno.land/std@0.202.0/assert/assert_equals.ts": "d8ec8a22447fbaf2fc9d7c3ed2e66790fdb74beae3e482855d75782218d68227", + "https://deno.land/std@0.202.0/assert/assert_is_error.ts": "c21113094a51a296ffaf036767d616a78a2ae5f9f7bbd464cd0197476498b94b", + "https://deno.land/std@0.202.0/assert/assert_rejects.ts": "45c59724de2701e3b1f67c391d6c71c392363635aad3f68a1b3408f9efca0057", + "https://deno.land/std@0.202.0/assert/assertion_error.ts": "4d0bde9b374dfbcbe8ac23f54f567b77024fb67dbb1906a852d67fe050d42f56", + "https://deno.land/std@0.202.0/assert/equal.ts": "9f1a46d5993966d2596c44e5858eec821859b45f783a5ee2f7a695dfc12d8ece", + "https://deno.land/std@0.202.0/fmt/colors.ts": "c51c4642678eb690dcf5ffee5918b675bf01a33fba82acf303701ae1a4f8c8d9", + "https://deno.land/std@0.202.0/testing/mock.ts": "6576b4aa55ee20b1990d656a78fff83599e190948c00e9f25a7f3ac5e9d6492d", + "https://deno.land/std@0.224.0/assert/_constants.ts": "a271e8ef5a573f1df8e822a6eb9d09df064ad66a4390f21b3e31f820a38e0975", + "https://deno.land/std@0.224.0/assert/assert.ts": "09d30564c09de846855b7b071e62b5974b001bb72a4b797958fe0660e7849834", + "https://deno.land/std@0.224.0/assert/assert_almost_equals.ts": "9e416114322012c9a21fa68e187637ce2d7df25bcbdbfd957cd639e65d3cf293", + "https://deno.land/std@0.224.0/assert/assert_array_includes.ts": "14c5094471bc8e4a7895fc6aa5a184300d8a1879606574cb1cd715ef36a4a3c7", + "https://deno.land/std@0.224.0/assert/assert_equals.ts": "3bbca947d85b9d374a108687b1a8ba3785a7850436b5a8930d81f34a32cb8c74", + "https://deno.land/std@0.224.0/assert/assert_exists.ts": "43420cf7f956748ae6ed1230646567b3593cb7a36c5a5327269279c870c5ddfd", + "https://deno.land/std@0.224.0/assert/assert_false.ts": "3e9be8e33275db00d952e9acb0cd29481a44fa0a4af6d37239ff58d79e8edeff", + "https://deno.land/std@0.224.0/assert/assert_greater.ts": "5e57b201fd51b64ced36c828e3dfd773412c1a6120c1a5a99066c9b261974e46", + "https://deno.land/std@0.224.0/assert/assert_greater_or_equal.ts": "9870030f997a08361b6f63400273c2fb1856f5db86c0c3852aab2a002e425c5b", + "https://deno.land/std@0.224.0/assert/assert_instance_of.ts": "e22343c1fdcacfaea8f37784ad782683ec1cf599ae9b1b618954e9c22f376f2c", + "https://deno.land/std@0.224.0/assert/assert_is_error.ts": "f856b3bc978a7aa6a601f3fec6603491ab6255118afa6baa84b04426dd3cc491", + "https://deno.land/std@0.224.0/assert/assert_less.ts": "60b61e13a1982865a72726a5fa86c24fad7eb27c3c08b13883fb68882b307f68", + "https://deno.land/std@0.224.0/assert/assert_less_or_equal.ts": "d2c84e17faba4afe085e6c9123a63395accf4f9e00150db899c46e67420e0ec3", + "https://deno.land/std@0.224.0/assert/assert_match.ts": "ace1710dd3b2811c391946954234b5da910c5665aed817943d086d4d4871a8b7", + "https://deno.land/std@0.224.0/assert/assert_not_equals.ts": "78d45dd46133d76ce624b2c6c09392f6110f0df9b73f911d20208a68dee2ef29", + "https://deno.land/std@0.224.0/assert/assert_not_instance_of.ts": "3434a669b4d20cdcc5359779301a0588f941ffdc2ad68803c31eabdb4890cf7a", + "https://deno.land/std@0.224.0/assert/assert_not_match.ts": "df30417240aa2d35b1ea44df7e541991348a063d9ee823430e0b58079a72242a", + "https://deno.land/std@0.224.0/assert/assert_not_strict_equals.ts": "37f73880bd672709373d6dc2c5f148691119bed161f3020fff3548a0496f71b8", + "https://deno.land/std@0.224.0/assert/assert_object_match.ts": "411450fd194fdaabc0089ae68f916b545a49d7b7e6d0026e84a54c9e7eed2693", + "https://deno.land/std@0.224.0/assert/assert_rejects.ts": "4bee1d6d565a5b623146a14668da8f9eb1f026a4f338bbf92b37e43e0aa53c31", + "https://deno.land/std@0.224.0/assert/assert_strict_equals.ts": "b4f45f0fd2e54d9029171876bd0b42dd9ed0efd8f853ab92a3f50127acfa54f5", + "https://deno.land/std@0.224.0/assert/assert_string_includes.ts": "496b9ecad84deab72c8718735373feb6cdaa071eb91a98206f6f3cb4285e71b8", + "https://deno.land/std@0.224.0/assert/assert_throws.ts": "c6508b2879d465898dab2798009299867e67c570d7d34c90a2d235e4553906eb", + "https://deno.land/std@0.224.0/assert/assertion_error.ts": "ba8752bd27ebc51f723702fac2f54d3e94447598f54264a6653d6413738a8917", + "https://deno.land/std@0.224.0/assert/equal.ts": "bddf07bb5fc718e10bb72d5dc2c36c1ce5a8bdd3b647069b6319e07af181ac47", + "https://deno.land/std@0.224.0/assert/fail.ts": "0eba674ffb47dff083f02ced76d5130460bff1a9a68c6514ebe0cdea4abadb68", + "https://deno.land/std@0.224.0/assert/mod.ts": "48b8cb8a619ea0b7958ad7ee9376500fe902284bb36f0e32c598c3dc34cbd6f3", + "https://deno.land/std@0.224.0/assert/unimplemented.ts": "8c55a5793e9147b4f1ef68cd66496b7d5ba7a9e7ca30c6da070c1a58da723d73", + "https://deno.land/std@0.224.0/assert/unreachable.ts": "5ae3dbf63ef988615b93eb08d395dda771c96546565f9e521ed86f6510c29e19", + "https://deno.land/std@0.224.0/fmt/colors.ts": "508563c0659dd7198ba4bbf87e97f654af3c34eb56ba790260f252ad8012e1c5", + "https://deno.land/std@0.224.0/internal/diff.ts": "6234a4b493ebe65dc67a18a0eb97ef683626a1166a1906232ce186ae9f65f4e6", + "https://deno.land/std@0.224.0/internal/format.ts": "0a98ee226fd3d43450245b1844b47003419d34d210fa989900861c79820d21c2", + "https://deno.land/std@0.224.0/internal/mod.ts": "534125398c8e7426183e12dc255bb635d94e06d0f93c60a297723abe69d3b22e", + "https://deno.land/std@0.224.0/testing/mock.ts": "a963181c2860b6ba3eb60e08b62c164d33cf5da7cd445893499b2efda20074db", + "https://deno.land/x/code_block_writer@12.0.0/mod.ts": "2c3448060e47c9d08604c8f40dee34343f553f33edcdfebbf648442be33205e5", + "https://deno.land/x/code_block_writer@12.0.0/utils/string_utils.ts": "60cb4ec8bd335bf241ef785ccec51e809d576ff8e8d29da43d2273b69ce2a6ff", + "https://deno.land/x/deno_cache@0.6.2/auth_tokens.ts": "5d1d56474c54a9d152e44d43ea17c2e6a398dd1e9682c69811a313567c01ee1e", + "https://deno.land/x/deno_cache@0.6.2/cache.ts": "58b53c128b742757efcad10af9a3871f23b4e200674cb5b0ddf61164fb9b2fe7", + "https://deno.land/x/deno_cache@0.6.2/deno_dir.ts": "1ea355b8ba11c630d076b222b197cfc937dd81e5a4a260938997da99e8ff93a0", + "https://deno.land/x/deno_cache@0.6.2/deps.ts": "12cca94516cf2d3ed42fccd4b721ecd8060679253f077d83057511045b0081aa", + "https://deno.land/x/deno_cache@0.6.2/dirs.ts": "009c6f54e0b610914d6ce9f72f6f6ccfffd2d47a79a19061e0a9eb4253836069", + "https://deno.land/x/deno_cache@0.6.2/disk_cache.ts": "66a1e604a8d564b6dd0500326cac33d08b561d331036bf7272def80f2f7952aa", + "https://deno.land/x/deno_cache@0.6.2/file_fetcher.ts": "4f3e4a2c78a5ca1e4812099e5083f815a8525ab20d389b560b3517f6b1161dd6", + "https://deno.land/x/deno_cache@0.6.2/http_cache.ts": "407135eaf2802809ed373c230d57da7ef8dff923c4abf205410b9b99886491fd", + "https://deno.land/x/deno_cache@0.6.2/lib/deno_cache_dir.generated.js": "59f8defac32e8ebf2a30f7bc77e9d88f0e60098463fb1b75e00b9791a4bbd733", + "https://deno.land/x/deno_cache@0.6.2/lib/snippets/deno_cache_dir-a2aecaa9536c9402/fs.js": "cbe3a976ed63c72c7cb34ef845c27013033a3b11f9d8d3e2c4aa5dda2c0c7af6", + "https://deno.land/x/deno_cache@0.6.2/mod.ts": "b4004287e1c6123d7f07fe9b5b3e94ce6d990c4102949a89c527c68b19627867", + "https://deno.land/x/deno_cache@0.6.2/util.ts": "f3f5a0cfc60051f09162942fb0ee87a0e27b11a12aec4c22076e3006be4cc1e2", + "https://deno.land/x/deno_graph@0.53.0/deno_graph_wasm.generated.js": "2cbaec012743f138172c0aff377c589ca1dd25331b77acada8ea4aafd6ec8bb4", + "https://deno.land/x/deno_graph@0.53.0/loader.ts": "a2e757383908f4a51659fe1b1203386887ebb17756bac930a64856d613d8d57d", + "https://deno.land/x/deno_graph@0.53.0/media_type.ts": "a89a1b38d07c160e896de9ceb99285ba8391940140558304171066b5c3ef7609", + "https://deno.land/x/deno_graph@0.53.0/mod.ts": "e4bdddf09d8332394ac4b2e7084f7f4fbbbf09dff344cac9bd60f5e20b4f12e0", + "https://deno.land/x/dir@1.5.1/data_local_dir/mod.ts": "91eb1c4bfadfbeda30171007bac6d85aadacd43224a5ed721bbe56bc64e9eb66", + "https://deno.land/x/dnt@0.40.0/lib/compiler.ts": "7f4447531581896348b8a379ab94730856b42ae50d99043f2468328360293cb1", + "https://deno.land/x/dnt@0.40.0/lib/compiler_transforms.ts": "f21aba052f5dcf0b0595c734450842855c7f572e96165d3d34f8fed2fc1f7ba1", + "https://deno.land/x/dnt@0.40.0/lib/mod.deps.ts": "8d6123c8e1162037e58aa8126686a03d1e2cffb250a8757bf715f80242097597", + "https://deno.land/x/dnt@0.40.0/lib/npm_ignore.ts": "57fbb7e7b935417d225eec586c6aa240288905eb095847d3f6a88e290209df4e", + "https://deno.land/x/dnt@0.40.0/lib/package_json.ts": "607b0a4f44acad071a4c8533b312a27d6671eac8e6a23625c8350ce29eadb2ba", + "https://deno.land/x/dnt@0.40.0/lib/pkg/dnt_wasm.generated.js": "2694546844a50861d6d1610859afbf5130baca4dc6cf304541b7ec2d6d998142", + "https://deno.land/x/dnt@0.40.0/lib/pkg/snippets/dnt-wasm-a15ef721fa5290c5/helpers.js": "aba69a019a6da6f084898a6c7b903b8b583bc0dbd82bfb338449cf0b5bce58fd", + "https://deno.land/x/dnt@0.40.0/lib/shims.ts": "39e5c141f0315c0faf30b479b53f92b9078d92e1fd67ee34cc60b701d8e68dab", + "https://deno.land/x/dnt@0.40.0/lib/test_runner/get_test_runner_code.ts": "4dc7a73a13b027341c0688df2b29a4ef102f287c126f134c33f69f0339b46968", + "https://deno.land/x/dnt@0.40.0/lib/test_runner/test_runner.ts": "4d0da0500ec427d5f390d9a8d42fb882fbeccc92c92d66b6f2e758606dbd40e6", + "https://deno.land/x/dnt@0.40.0/lib/transform.deps.ts": "2e159661e1c5c650de9a573babe0e319349fe493105157307ec2ad2f6a52c94e", + "https://deno.land/x/dnt@0.40.0/lib/types.ts": "b8e228b2fac44c2ae902fbb73b1689f6ab889915bd66486c8a85c0c24255f5fb", + "https://deno.land/x/dnt@0.40.0/lib/utils.ts": "224f15f33e7226a2fd991e438d0291d7ed8c7889807efa2e1ecb67d2d1db6720", + "https://deno.land/x/dnt@0.40.0/mod.ts": "ae1890fbe592e4797e7dd88c1e270f22b8334878e9bf187c4e11ae75746fe778", + "https://deno.land/x/dnt@0.40.0/transform.ts": "f68743a14cf9bf53bfc9c81073871d69d447a7f9e3453e0447ca2fb78926bb1d", + "https://deno.land/x/semver@v1.4.1/mod.ts": "0b79c87562eb8a1f008ab0d98f8bb60076dd65bc06f1f8fdfac2d2dab162c27b", + "https://deno.land/x/ts_morph@20.0.0/bootstrap/mod.ts": "b53aad517f106c4079971fcd4a81ab79fadc40b50061a3ab2b741a09119d51e9", + "https://deno.land/x/ts_morph@20.0.0/bootstrap/ts_morph_bootstrap.js": "6645ac03c5e6687dfa8c78109dc5df0250b811ecb3aea2d97c504c35e8401c06", + "https://deno.land/x/ts_morph@20.0.0/common/DenoRuntime.ts": "6a7180f0c6e90dcf23ccffc86aa8271c20b1c4f34c570588d08a45880b7e172d", + "https://deno.land/x/ts_morph@20.0.0/common/mod.ts": "01985d2ee7da8d1caee318a9d07664774fbee4e31602bc2bb6bb62c3489555ed", + "https://deno.land/x/ts_morph@20.0.0/common/ts_morph_common.js": "2325f94f61dc5f3f98a1dab366dc93048d11b1433d718b10cfc6ee5a1cfebe8f", + "https://deno.land/x/ts_morph@20.0.0/common/typescript.js": "b9edf0a451685d13e0467a7ed4351d112b74bd1e256b915a2b941054e31c1736", + "https://deno.land/x/wasmbuild@0.14.1/cache.ts": "89eea5f3ce6035a1164b3e655c95f21300498920575ade23161421f5b01967f4", + "https://deno.land/x/wasmbuild@0.14.1/loader.ts": "d98d195a715f823151cbc8baa3f32127337628379a02d9eb2a3c5902dbccfc02", + "https://deno.land/x/wasmbuild@0.15.1/cache.ts": "9d01b5cb24e7f2a942bbd8d14b093751fa690a6cde8e21709ddc97667e6669ed", + "https://deno.land/x/wasmbuild@0.15.1/loader.ts": "8c2fc10e21678e42f84c5135d8ab6ab7dc92424c3f05d2354896a29ccfd02a63" + }, + "workspace": { + "dependencies": [ + "jsr:@deno/dnt@~0.42.1", + "jsr:@std/assert@^1.0.13", + "jsr:@std/testing@^1.0.13", + "npm:penpal@^6.2.1" + ] + } +} diff --git a/deskpro.scss b/deskpro.scss deleted file mode 100644 index c2fa4cb..0000000 --- a/deskpro.scss +++ /dev/null @@ -1,7 +0,0 @@ -@import "styles/variables"; -@import "styles/reset"; -@import "styles/fonts"; -@import "styles/button"; -@import "styles/table"; -@import "styles/template"; -@import "styles/container"; diff --git a/docs/index.html b/docs/index.html deleted file mode 100644 index df1e301..0000000 --- a/docs/index.html +++ /dev/null @@ -1,26 +0,0 @@ - - - - - Deskpro App SDK Component Documentation - - - -

Deskpro App SDK Component

- - - - diff --git a/docs/storybook/assets/Color-YHDXOIA2-04c9e855.js b/docs/storybook/assets/Color-YHDXOIA2-04c9e855.js deleted file mode 100644 index 6d811f9..0000000 --- a/docs/storybook/assets/Color-YHDXOIA2-04c9e855.js +++ /dev/null @@ -1 +0,0 @@ -import{af as ce,ag as M,a3 as J,a1 as he,S as fe,ah as de,ai as ge,aj as be,ak as q}from"./DocsRenderer-CFRXHY34-dedb1ca0.js";import{R as m,r as p}from"./index-93f6b7ae.js";import"./iframe-145c4ff1.js";import"./jsx-runtime-6d9837fe.js";import"./index-03a57050.js";import"./index-ba5305b1.js";import"./index-356e4a49.js";import"./react-18-ff0899e5.js";var me=q({"../../node_modules/color-name/index.js"(n,l){l.exports={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]}}}),Q=q({"../../node_modules/color-convert/conversions.js"(n,l){var c=me(),h={};for(let e of Object.keys(c))h[c[e]]=e;var u={rgb:{channels:3,labels:"rgb"},hsl:{channels:3,labels:"hsl"},hsv:{channels:3,labels:"hsv"},hwb:{channels:3,labels:"hwb"},cmyk:{channels:4,labels:"cmyk"},xyz:{channels:3,labels:"xyz"},lab:{channels:3,labels:"lab"},lch:{channels:3,labels:"lch"},hex:{channels:1,labels:["hex"]},keyword:{channels:1,labels:["keyword"]},ansi16:{channels:1,labels:["ansi16"]},ansi256:{channels:1,labels:["ansi256"]},hcg:{channels:3,labels:["h","c","g"]},apple:{channels:3,labels:["r16","g16","b16"]},gray:{channels:1,labels:["gray"]}};l.exports=u;for(let e of Object.keys(u)){if(!("channels"in u[e]))throw new Error("missing channels property: "+e);if(!("labels"in u[e]))throw new Error("missing channel labels property: "+e);if(u[e].labels.length!==u[e].channels)throw new Error("channel and label counts mismatch: "+e);let{channels:t,labels:r}=u[e];delete u[e].channels,delete u[e].labels,Object.defineProperty(u[e],"channels",{value:t}),Object.defineProperty(u[e],"labels",{value:r})}u.rgb.hsl=function(e){let t=e[0]/255,r=e[1]/255,a=e[2]/255,o=Math.min(t,r,a),i=Math.max(t,r,a),s=i-o,f,g;i===o?f=0:t===i?f=(r-a)/s:r===i?f=2+(a-t)/s:a===i&&(f=4+(t-r)/s),f=Math.min(f*60,360),f<0&&(f+=360);let b=(o+i)/2;return i===o?g=0:b<=.5?g=s/(i+o):g=s/(2-i-o),[f,g*100,b*100]},u.rgb.hsv=function(e){let t,r,a,o,i,s=e[0]/255,f=e[1]/255,g=e[2]/255,b=Math.max(s,f,g),y=b-Math.min(s,f,g),v=function(w){return(b-w)/6/y+1/2};return y===0?(o=0,i=0):(i=y/b,t=v(s),r=v(f),a=v(g),s===b?o=a-r:f===b?o=1/3+t-a:g===b&&(o=2/3+r-t),o<0?o+=1:o>1&&(o-=1)),[o*360,i*100,b*100]},u.rgb.hwb=function(e){let t=e[0],r=e[1],a=e[2],o=u.rgb.hsl(e)[0],i=1/255*Math.min(t,Math.min(r,a));return a=1-1/255*Math.max(t,Math.max(r,a)),[o,i*100,a*100]},u.rgb.cmyk=function(e){let t=e[0]/255,r=e[1]/255,a=e[2]/255,o=Math.min(1-t,1-r,1-a),i=(1-t-o)/(1-o)||0,s=(1-r-o)/(1-o)||0,f=(1-a-o)/(1-o)||0;return[i*100,s*100,f*100,o*100]};function d(e,t){return(e[0]-t[0])**2+(e[1]-t[1])**2+(e[2]-t[2])**2}u.rgb.keyword=function(e){let t=h[e];if(t)return t;let r=1/0,a;for(let o of Object.keys(c)){let i=c[o],s=d(e,i);s.04045?((t+.055)/1.055)**2.4:t/12.92,r=r>.04045?((r+.055)/1.055)**2.4:r/12.92,a=a>.04045?((a+.055)/1.055)**2.4:a/12.92;let o=t*.4124+r*.3576+a*.1805,i=t*.2126+r*.7152+a*.0722,s=t*.0193+r*.1192+a*.9505;return[o*100,i*100,s*100]},u.rgb.lab=function(e){let t=u.rgb.xyz(e),r=t[0],a=t[1],o=t[2];r/=95.047,a/=100,o/=108.883,r=r>.008856?r**(1/3):7.787*r+16/116,a=a>.008856?a**(1/3):7.787*a+16/116,o=o>.008856?o**(1/3):7.787*o+16/116;let i=116*a-16,s=500*(r-a),f=200*(a-o);return[i,s,f]},u.hsl.rgb=function(e){let t=e[0]/360,r=e[1]/100,a=e[2]/100,o,i,s;if(r===0)return s=a*255,[s,s,s];a<.5?o=a*(1+r):o=a+r-a*r;let f=2*a-o,g=[0,0,0];for(let b=0;b<3;b++)i=t+1/3*-(b-1),i<0&&i++,i>1&&i--,6*i<1?s=f+(o-f)*6*i:2*i<1?s=o:3*i<2?s=f+(o-f)*(2/3-i)*6:s=f,g[b]=s*255;return g},u.hsl.hsv=function(e){let t=e[0],r=e[1]/100,a=e[2]/100,o=r,i=Math.max(a,.01);a*=2,r*=a<=1?a:2-a,o*=i<=1?i:2-i;let s=(a+r)/2,f=a===0?2*o/(i+o):2*r/(a+r);return[t,f*100,s*100]},u.hsv.rgb=function(e){let t=e[0]/60,r=e[1]/100,a=e[2]/100,o=Math.floor(t)%6,i=t-Math.floor(t),s=255*a*(1-r),f=255*a*(1-r*i),g=255*a*(1-r*(1-i));switch(a*=255,o){case 0:return[a,g,s];case 1:return[f,a,s];case 2:return[s,a,g];case 3:return[s,f,a];case 4:return[g,s,a];case 5:return[a,s,f]}},u.hsv.hsl=function(e){let t=e[0],r=e[1]/100,a=e[2]/100,o=Math.max(a,.01),i,s;s=(2-r)*a;let f=(2-r)*o;return i=r*o,i/=f<=1?f:2-f,i=i||0,s/=2,[t,i*100,s*100]},u.hwb.rgb=function(e){let t=e[0]/360,r=e[1]/100,a=e[2]/100,o=r+a,i;o>1&&(r/=o,a/=o);let s=Math.floor(6*t),f=1-a;i=6*t-s,s&1&&(i=1-i);let g=r+i*(f-r),b,y,v;switch(s){default:case 6:case 0:b=f,y=g,v=r;break;case 1:b=g,y=f,v=r;break;case 2:b=r,y=f,v=g;break;case 3:b=r,y=g,v=f;break;case 4:b=g,y=r,v=f;break;case 5:b=f,y=r,v=g;break}return[b*255,y*255,v*255]},u.cmyk.rgb=function(e){let t=e[0]/100,r=e[1]/100,a=e[2]/100,o=e[3]/100,i=1-Math.min(1,t*(1-o)+o),s=1-Math.min(1,r*(1-o)+o),f=1-Math.min(1,a*(1-o)+o);return[i*255,s*255,f*255]},u.xyz.rgb=function(e){let t=e[0]/100,r=e[1]/100,a=e[2]/100,o,i,s;return o=t*3.2406+r*-1.5372+a*-.4986,i=t*-.9689+r*1.8758+a*.0415,s=t*.0557+r*-.204+a*1.057,o=o>.0031308?1.055*o**(1/2.4)-.055:o*12.92,i=i>.0031308?1.055*i**(1/2.4)-.055:i*12.92,s=s>.0031308?1.055*s**(1/2.4)-.055:s*12.92,o=Math.min(Math.max(0,o),1),i=Math.min(Math.max(0,i),1),s=Math.min(Math.max(0,s),1),[o*255,i*255,s*255]},u.xyz.lab=function(e){let t=e[0],r=e[1],a=e[2];t/=95.047,r/=100,a/=108.883,t=t>.008856?t**(1/3):7.787*t+16/116,r=r>.008856?r**(1/3):7.787*r+16/116,a=a>.008856?a**(1/3):7.787*a+16/116;let o=116*r-16,i=500*(t-r),s=200*(r-a);return[o,i,s]},u.lab.xyz=function(e){let t=e[0],r=e[1],a=e[2],o,i,s;i=(t+16)/116,o=r/500+i,s=i-a/200;let f=i**3,g=o**3,b=s**3;return i=f>.008856?f:(i-16/116)/7.787,o=g>.008856?g:(o-16/116)/7.787,s=b>.008856?b:(s-16/116)/7.787,o*=95.047,i*=100,s*=108.883,[o,i,s]},u.lab.lch=function(e){let t=e[0],r=e[1],a=e[2],o;o=Math.atan2(a,r)*360/2/Math.PI,o<0&&(o+=360);let i=Math.sqrt(r*r+a*a);return[t,i,o]},u.lch.lab=function(e){let t=e[0],r=e[1],a=e[2]/360*2*Math.PI,o=r*Math.cos(a),i=r*Math.sin(a);return[t,o,i]},u.rgb.ansi16=function(e,t=null){let[r,a,o]=e,i=t===null?u.rgb.hsv(e)[2]:t;if(i=Math.round(i/50),i===0)return 30;let s=30+(Math.round(o/255)<<2|Math.round(a/255)<<1|Math.round(r/255));return i===2&&(s+=60),s},u.hsv.ansi16=function(e){return u.rgb.ansi16(u.hsv.rgb(e),e[2])},u.rgb.ansi256=function(e){let t=e[0],r=e[1],a=e[2];return t===r&&r===a?t<8?16:t>248?231:Math.round((t-8)/247*24)+232:16+36*Math.round(t/255*5)+6*Math.round(r/255*5)+Math.round(a/255*5)},u.ansi16.rgb=function(e){let t=e%10;if(t===0||t===7)return e>50&&(t+=3.5),t=t/10.5*255,[t,t,t];let r=(~~(e>50)+1)*.5,a=(t&1)*r*255,o=(t>>1&1)*r*255,i=(t>>2&1)*r*255;return[a,o,i]},u.ansi256.rgb=function(e){if(e>=232){let i=(e-232)*10+8;return[i,i,i]}e-=16;let t,r=Math.floor(e/36)/5*255,a=Math.floor((t=e%36)/6)/5*255,o=t%6/5*255;return[r,a,o]},u.rgb.hex=function(e){let t=(((Math.round(e[0])&255)<<16)+((Math.round(e[1])&255)<<8)+(Math.round(e[2])&255)).toString(16).toUpperCase();return"000000".substring(t.length)+t},u.hex.rgb=function(e){let t=e.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!t)return[0,0,0];let r=t[0];t[0].length===3&&(r=r.split("").map(f=>f+f).join(""));let a=parseInt(r,16),o=a>>16&255,i=a>>8&255,s=a&255;return[o,i,s]},u.rgb.hcg=function(e){let t=e[0]/255,r=e[1]/255,a=e[2]/255,o=Math.max(Math.max(t,r),a),i=Math.min(Math.min(t,r),a),s=o-i,f,g;return s<1?f=i/(1-s):f=0,s<=0?g=0:o===t?g=(r-a)/s%6:o===r?g=2+(a-t)/s:g=4+(t-r)/s,g/=6,g%=1,[g*360,s*100,f*100]},u.hsl.hcg=function(e){let t=e[1]/100,r=e[2]/100,a=r<.5?2*t*r:2*t*(1-r),o=0;return a<1&&(o=(r-.5*a)/(1-a)),[e[0],a*100,o*100]},u.hsv.hcg=function(e){let t=e[1]/100,r=e[2]/100,a=t*r,o=0;return a<1&&(o=(r-a)/(1-a)),[e[0],a*100,o*100]},u.hcg.rgb=function(e){let t=e[0]/360,r=e[1]/100,a=e[2]/100;if(r===0)return[a*255,a*255,a*255];let o=[0,0,0],i=t%1*6,s=i%1,f=1-s,g=0;switch(Math.floor(i)){case 0:o[0]=1,o[1]=s,o[2]=0;break;case 1:o[0]=f,o[1]=1,o[2]=0;break;case 2:o[0]=0,o[1]=1,o[2]=s;break;case 3:o[0]=0,o[1]=f,o[2]=1;break;case 4:o[0]=s,o[1]=0,o[2]=1;break;default:o[0]=1,o[1]=0,o[2]=f}return g=(1-r)*a,[(r*o[0]+g)*255,(r*o[1]+g)*255,(r*o[2]+g)*255]},u.hcg.hsv=function(e){let t=e[1]/100,r=e[2]/100,a=t+r*(1-t),o=0;return a>0&&(o=t/a),[e[0],o*100,a*100]},u.hcg.hsl=function(e){let t=e[1]/100,r=e[2]/100*(1-t)+.5*t,a=0;return r>0&&r<.5?a=t/(2*r):r>=.5&&r<1&&(a=t/(2*(1-r))),[e[0],a*100,r*100]},u.hcg.hwb=function(e){let t=e[1]/100,r=e[2]/100,a=t+r*(1-t);return[e[0],(a-t)*100,(1-a)*100]},u.hwb.hcg=function(e){let t=e[1]/100,r=1-e[2]/100,a=r-t,o=0;return a<1&&(o=(r-a)/(1-a)),[e[0],a*100,o*100]},u.apple.rgb=function(e){return[e[0]/65535*255,e[1]/65535*255,e[2]/65535*255]},u.rgb.apple=function(e){return[e[0]/255*65535,e[1]/255*65535,e[2]/255*65535]},u.gray.rgb=function(e){return[e[0]/100*255,e[0]/100*255,e[0]/100*255]},u.gray.hsl=function(e){return[0,0,e[0]]},u.gray.hsv=u.gray.hsl,u.gray.hwb=function(e){return[0,100,e[0]]},u.gray.cmyk=function(e){return[0,0,0,e[0]]},u.gray.lab=function(e){return[e[0],0,0]},u.gray.hex=function(e){let t=Math.round(e[0]/100*255)&255,r=((t<<16)+(t<<8)+t).toString(16).toUpperCase();return"000000".substring(r.length)+r},u.rgb.gray=function(e){return[(e[0]+e[1]+e[2])/3/255*100]}}}),ve=q({"../../node_modules/color-convert/route.js"(n,l){var c=Q();function h(){let t={},r=Object.keys(c);for(let a=r.length,o=0;o1&&(o=i),r(o))};return"conversion"in r&&(a.conversion=r.conversion),a}function t(r){let a=function(...o){let i=o[0];if(i==null)return i;i.length>1&&(o=i);let s=r(o);if(typeof s=="object")for(let f=s.length,g=0;g{u[r]={},Object.defineProperty(u[r],"channels",{value:c[r].channels}),Object.defineProperty(u[r],"labels",{value:c[r].labels});let a=h(r);Object.keys(a).forEach(o=>{let i=a[o];u[r][o]=t(i),u[r][o].raw=e(i)})}),l.exports=u}}),_=ce(pe());function C(){return(C=Object.assign||function(n){for(var l=1;l=0||(u[c]=n[c]);return u}function L(n){var l=p.useRef(n),c=p.useRef(function(h){l.current&&l.current(h)});return l.current=n,c.current}var S=function(n,l,c){return l===void 0&&(l=0),c===void 0&&(c=1),n>c?c:n0:y.buttons>0)&&u.current?d(T(u.current,y,t.current)):b(!1)},g=function(){return b(!1)};function b(y){var v=r.current,w=B(u.current),E=y?w.addEventListener:w.removeEventListener;E(v?"touchmove":"mousemove",f),E(v?"touchend":"mouseup",g)}return[function(y){var v=y.nativeEvent,w=u.current;if(w&&(W(v),!function(k,P){return P&&!O(k)}(v,r.current)&&w)){if(O(v)){r.current=!0;var E=v.changedTouches||[];E.length&&(t.current=E[0].identifier)}w.focus(),d(T(w,v,t.current)),b(!0)}},function(y){var v=y.which||y.keyCode;v<37||v>40||(y.preventDefault(),e({left:v===39?.05:v===37?-.05:0,top:v===40?.05:v===38?-.05:0}))},b]},[e,d]),o=a[0],i=a[1],s=a[2];return p.useEffect(function(){return s},[s]),m.createElement("div",C({},h,{onTouchStart:o,onMouseDown:o,className:"react-colorful__interactive",ref:u,onKeyDown:i,tabIndex:0,role:"slider"}))}),N=function(n){return n.filter(Boolean).join(" ")},F=function(n){var l=n.color,c=n.left,h=n.top,u=h===void 0?.5:h,d=N(["react-colorful__pointer",n.className]);return m.createElement("div",{className:d,style:{top:100*u+"%",left:100*c+"%"}},m.createElement("div",{className:"react-colorful__pointer-fill",style:{backgroundColor:l}}))},x=function(n,l,c){return l===void 0&&(l=0),c===void 0&&(c=Math.pow(10,l)),Math.round(c*n)/c},ye={grad:.9,turn:360,rad:360/(2*Math.PI)},xe=function(n){return re(X(n))},X=function(n){return n[0]==="#"&&(n=n.substring(1)),n.length<6?{r:parseInt(n[0]+n[0],16),g:parseInt(n[1]+n[1],16),b:parseInt(n[2]+n[2],16),a:n.length===4?x(parseInt(n[3]+n[3],16)/255,2):1}:{r:parseInt(n.substring(0,2),16),g:parseInt(n.substring(2,4),16),b:parseInt(n.substring(4,6),16),a:n.length===8?x(parseInt(n.substring(6,8),16)/255,2):1}},we=function(n,l){return l===void 0&&(l="deg"),Number(n)*(ye[l]||1)},ke=function(n){var l=/hsla?\(?\s*(-?\d*\.?\d+)(deg|rad|grad|turn)?[,\s]+(-?\d*\.?\d+)%?[,\s]+(-?\d*\.?\d+)%?,?\s*[/\s]*(-?\d*\.?\d+)?(%)?\s*\)?/i.exec(n);return l?_e({h:we(l[1],l[2]),s:Number(l[3]),l:Number(l[4]),a:l[5]===void 0?1:Number(l[5])/(l[6]?100:1)}):{h:0,s:0,v:0,a:1}},_e=function(n){var l=n.s,c=n.l;return{h:n.h,s:(l*=(c<50?c:100-c)/100)>0?2*l/(c+l)*100:0,v:c+l,a:n.a}},Ee=function(n){return Ce(ee(n))},Z=function(n){var l=n.s,c=n.v,h=n.a,u=(200-l)*c/100;return{h:x(n.h),s:x(u>0&&u<200?l*c/100/(u<=100?u:200-u)*100:0),l:x(u/2),a:x(h,2)}},K=function(n){var l=Z(n);return"hsl("+l.h+", "+l.s+"%, "+l.l+"%)"},I=function(n){var l=Z(n);return"hsla("+l.h+", "+l.s+"%, "+l.l+"%, "+l.a+")"},ee=function(n){var l=n.h,c=n.s,h=n.v,u=n.a;l=l/360*6,c/=100,h/=100;var d=Math.floor(l),e=h*(1-c),t=h*(1-(l-d)*c),r=h*(1-(1-l+d)*c),a=d%6;return{r:x(255*[h,t,e,e,r,h][a]),g:x(255*[r,h,h,t,e,e][a]),b:x(255*[e,e,r,h,h,t][a]),a:x(u,2)}},Me=function(n){var l=/rgba?\(?\s*(-?\d*\.?\d+)(%)?[,\s]+(-?\d*\.?\d+)(%)?[,\s]+(-?\d*\.?\d+)(%)?,?\s*[/\s]*(-?\d*\.?\d+)?(%)?\s*\)?/i.exec(n);return l?re({r:Number(l[1])/(l[2]?100/255:1),g:Number(l[3])/(l[4]?100/255:1),b:Number(l[5])/(l[6]?100/255:1),a:l[7]===void 0?1:Number(l[7])/(l[8]?100:1)}):{h:0,s:0,v:0,a:1}},j=function(n){var l=n.toString(16);return l.length<2?"0"+l:l},Ce=function(n){var l=n.r,c=n.g,h=n.b,u=n.a,d=u<1?j(x(255*u)):"";return"#"+j(l)+j(c)+j(h)+d},re=function(n){var l=n.r,c=n.g,h=n.b,u=n.a,d=Math.max(l,c,h),e=d-Math.min(l,c,h),t=e?d===l?(c-h)/e:d===c?2+(h-l)/e:4+(l-c)/e:0;return{h:x(60*(t<0?t+6:t)),s:x(d?e/d*100:0),v:x(d/255*100),a:u}},te=m.memo(function(n){var l=n.hue,c=n.onChange,h=N(["react-colorful__hue",n.className]);return m.createElement("div",{className:h},m.createElement(G,{onMove:function(u){c({h:360*u.left})},onKey:function(u){c({h:S(l+360*u.left,0,360)})},"aria-label":"Hue","aria-valuenow":x(l),"aria-valuemax":"360","aria-valuemin":"0"},m.createElement(F,{className:"react-colorful__hue-pointer",left:l/360,color:K({h:l,s:100,v:100,a:1})})))}),ne=m.memo(function(n){var l=n.hsva,c=n.onChange,h={backgroundColor:K({h:l.h,s:100,v:100,a:1})};return m.createElement("div",{className:"react-colorful__saturation",style:h},m.createElement(G,{onMove:function(u){c({s:100*u.left,v:100-100*u.top})},onKey:function(u){c({s:S(l.s+100*u.left,0,100),v:S(l.v-100*u.top,0,100)})},"aria-label":"Color","aria-valuetext":"Saturation "+x(l.s)+"%, Brightness "+x(l.v)+"%"},m.createElement(F,{className:"react-colorful__saturation-pointer",top:1-l.v/100,left:l.s/100,color:K(l)})))}),ae=function(n,l){if(n===l)return!0;for(var c in n)if(n[c]!==l[c])return!1;return!0},oe=function(n,l){return n.replace(/\s/g,"")===l.replace(/\s/g,"")},$e=function(n,l){return n.toLowerCase()===l.toLowerCase()||ae(X(n),X(l))};function le(n,l,c){var h=L(c),u=p.useState(function(){return n.toHsva(l)}),d=u[0],e=u[1],t=p.useRef({color:l,hsva:d});p.useEffect(function(){if(!n.equal(l,t.current.color)){var a=n.toHsva(l);t.current={hsva:a,color:l},e(a)}},[l,n]),p.useEffect(function(){var a;ae(d,t.current.hsva)||n.equal(a=n.fromHsva(d),t.current.color)||(t.current={hsva:d,color:a},h(a))},[d,n,h]);var r=p.useCallback(function(a){e(function(o){return Object.assign({},o,a)})},[]);return[d,r]}var Se=typeof window<"u"?p.useLayoutEffect:p.useEffect,Oe=function(){return typeof __webpack_nonce__<"u"?__webpack_nonce__:void 0},A=new Map,ie=function(n){Se(function(){var l=n.current?n.current.ownerDocument:document;if(l!==void 0&&!A.has(l)){var c=l.createElement("style");c.innerHTML=`.react-colorful{position:relative;display:flex;flex-direction:column;width:200px;height:200px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:default}.react-colorful__saturation{position:relative;flex-grow:1;border-color:transparent;border-bottom:12px solid #000;border-radius:8px 8px 0 0;background-image:linear-gradient(0deg,#000,transparent),linear-gradient(90deg,#fff,hsla(0,0%,100%,0))}.react-colorful__alpha-gradient,.react-colorful__pointer-fill{content:"";position:absolute;left:0;top:0;right:0;bottom:0;pointer-events:none;border-radius:inherit}.react-colorful__alpha-gradient,.react-colorful__saturation{box-shadow:inset 0 0 0 1px rgba(0,0,0,.05)}.react-colorful__alpha,.react-colorful__hue{position:relative;height:24px}.react-colorful__hue{background:linear-gradient(90deg,red 0,#ff0 17%,#0f0 33%,#0ff 50%,#00f 67%,#f0f 83%,red)}.react-colorful__last-control{border-radius:0 0 8px 8px}.react-colorful__interactive{position:absolute;left:0;top:0;right:0;bottom:0;border-radius:inherit;outline:none;touch-action:none}.react-colorful__pointer{position:absolute;z-index:1;box-sizing:border-box;width:28px;height:28px;transform:translate(-50%,-50%);background-color:#fff;border:2px solid #fff;border-radius:50%;box-shadow:0 2px 4px rgba(0,0,0,.2)}.react-colorful__interactive:focus .react-colorful__pointer{transform:translate(-50%,-50%) scale(1.1)}.react-colorful__alpha,.react-colorful__alpha-pointer{background-color:#fff;background-image:url('data:image/svg+xml;charset=utf-8,')}.react-colorful__saturation-pointer{z-index:3}.react-colorful__hue-pointer{z-index:2}`,A.set(l,c);var h=Oe();h&&c.setAttribute("nonce",h),l.head.appendChild(c)}},[])},Ne=function(n){var l=n.className,c=n.colorModel,h=n.color,u=h===void 0?c.defaultColor:h,d=n.onChange,e=V(n,["className","colorModel","color","onChange"]),t=p.useRef(null);ie(t);var r=le(c,u,d),a=r[0],o=r[1],i=N(["react-colorful",l]);return m.createElement("div",C({},e,{ref:t,className:i}),m.createElement(ne,{hsva:a,onChange:o}),m.createElement(te,{hue:a.h,onChange:o,className:"react-colorful__last-control"}))},je={defaultColor:"000",toHsva:xe,fromHsva:function(n){return Ee({h:n.h,s:n.s,v:n.v,a:1})},equal:$e},Re=function(n){return m.createElement(Ne,C({},n,{colorModel:je}))},ze=function(n){var l=n.className,c=n.hsva,h=n.onChange,u={backgroundImage:"linear-gradient(90deg, "+I(Object.assign({},c,{a:0}))+", "+I(Object.assign({},c,{a:1}))+")"},d=N(["react-colorful__alpha",l]),e=x(100*c.a);return m.createElement("div",{className:d},m.createElement("div",{className:"react-colorful__alpha-gradient",style:u}),m.createElement(G,{onMove:function(t){h({a:t.left})},onKey:function(t){h({a:S(c.a+t.left)})},"aria-label":"Alpha","aria-valuetext":e+"%","aria-valuenow":e,"aria-valuemin":"0","aria-valuemax":"100"},m.createElement(F,{className:"react-colorful__alpha-pointer",left:c.a,color:I(c)})))},ue=function(n){var l=n.className,c=n.colorModel,h=n.color,u=h===void 0?c.defaultColor:h,d=n.onChange,e=V(n,["className","colorModel","color","onChange"]),t=p.useRef(null);ie(t);var r=le(c,u,d),a=r[0],o=r[1],i=N(["react-colorful",l]);return m.createElement("div",C({},e,{ref:t,className:i}),m.createElement(ne,{hsva:a,onChange:o}),m.createElement(te,{hue:a.h,onChange:o}),m.createElement(ze,{hsva:a,onChange:o,className:"react-colorful__last-control"}))},Ie={defaultColor:"hsla(0, 0%, 0%, 1)",toHsva:ke,fromHsva:I,equal:oe},He=function(n){return m.createElement(ue,C({},n,{colorModel:Ie}))},qe={defaultColor:"rgba(0, 0, 0, 1)",toHsva:Me,fromHsva:function(n){var l=ee(n);return"rgba("+l.r+", "+l.g+", "+l.b+", "+l.a+")"},equal:oe},Pe=function(n){return m.createElement(ue,C({},n,{colorModel:qe}))},Le=M.div({position:"relative",maxWidth:250,'&[aria-readonly="true"]':{opacity:.5}}),Be=M(J)({position:"absolute",zIndex:1,top:4,left:4,"[aria-readonly=true] &":{cursor:"not-allowed"}}),Xe=M.div({width:200,margin:5,".react-colorful__saturation":{borderRadius:"4px 4px 0 0"},".react-colorful__hue":{boxShadow:"inset 0 0 0 1px rgb(0 0 0 / 5%)"},".react-colorful__last-control":{borderRadius:"0 0 4px 4px"}}),Ke=M(he)(({theme:n})=>({fontFamily:n.typography.fonts.base})),De=M.div({display:"grid",gridTemplateColumns:"repeat(9, 16px)",gap:6,padding:3,marginTop:5,width:200}),Ve=M.div(({theme:n,active:l})=>({width:16,height:16,boxShadow:l?`${n.appBorderColor} 0 0 0 1px inset, ${n.textMutedColor}50 0 0 0 4px`:`${n.appBorderColor} 0 0 0 1px inset`,borderRadius:n.appBorderRadius})),Ge=`url('data:image/svg+xml;charset=utf-8,')`,U=({value:n,style:l,...c})=>{let h=`linear-gradient(${n}, ${n}), ${Ge}, linear-gradient(#fff, #fff)`;return m.createElement(Ve,{...c,style:{...l,backgroundImage:h}})},Fe=M(fe.Input)(({theme:n,readOnly:l})=>({width:"100%",paddingLeft:30,paddingRight:30,boxSizing:"border-box",fontFamily:n.typography.fonts.base})),Te=M(de)(({theme:n})=>({position:"absolute",zIndex:1,top:6,right:7,width:20,height:20,padding:4,boxSizing:"border-box",cursor:"pointer",color:n.input.color})),se=(n=>(n.RGB="rgb",n.HSL="hsl",n.HEX="hex",n))(se||{}),R=Object.values(se),We=/\(([0-9]+),\s*([0-9]+)%?,\s*([0-9]+)%?,?\s*([0-9.]+)?\)/,Ae=/^\s*rgba?\(([0-9]+),\s*([0-9]+),\s*([0-9]+),?\s*([0-9.]+)?\)\s*$/i,Ue=/^\s*hsla?\(([0-9]+),\s*([0-9]+)%,\s*([0-9]+)%,?\s*([0-9.]+)?\)\s*$/i,D=/^\s*#?([0-9a-f]{3}|[0-9a-f]{6})\s*$/i,Ye=/^\s*#?([0-9a-f]{3})\s*$/i,Je={hex:Re,rgb:Pe,hsl:He},z={hex:"transparent",rgb:"rgba(0, 0, 0, 0)",hsl:"hsla(0, 0%, 0%, 0)"},Y=n=>{let l=n==null?void 0:n.match(We);if(!l)return[0,0,0,1];let[,c,h,u,d=1]=l;return[c,h,u,d].map(Number)},$=n=>{if(!n)return;let l=!0;if(Ae.test(n)){let[e,t,r,a]=Y(n),[o,i,s]=_.default.rgb.hsl([e,t,r])||[0,0,0];return{valid:l,value:n,keyword:_.default.rgb.keyword([e,t,r]),colorSpace:"rgb",rgb:n,hsl:`hsla(${o}, ${i}%, ${s}%, ${a})`,hex:`#${_.default.rgb.hex([e,t,r]).toLowerCase()}`}}if(Ue.test(n)){let[e,t,r,a]=Y(n),[o,i,s]=_.default.hsl.rgb([e,t,r])||[0,0,0];return{valid:l,value:n,keyword:_.default.hsl.keyword([e,t,r]),colorSpace:"hsl",rgb:`rgba(${o}, ${i}, ${s}, ${a})`,hsl:n,hex:`#${_.default.hsl.hex([e,t,r]).toLowerCase()}`}}let c=n.replace("#",""),h=_.default.keyword.rgb(c)||_.default.hex.rgb(c),u=_.default.rgb.hsl(h),d=n;if(/[^#a-f0-9]/i.test(n)?d=c:D.test(n)&&(d=`#${c}`),d.startsWith("#"))l=D.test(d);else try{_.default.keyword.hex(d)}catch{l=!1}return{valid:l,value:d,keyword:_.default.rgb.keyword(h),colorSpace:"hex",rgb:`rgba(${h[0]}, ${h[1]}, ${h[2]}, 1)`,hsl:`hsla(${u[0]}, ${u[1]}%, ${u[2]}%, 1)`,hex:d}},Qe=(n,l,c)=>{if(!n||!(l!=null&&l.valid))return z[c];if(c!=="hex")return(l==null?void 0:l[c])||z[c];if(!l.hex.startsWith("#"))try{return`#${_.default.keyword.hex(l.hex)}`}catch{return z.hex}let h=l.hex.match(Ye);if(!h)return D.test(l.hex)?l.hex:z.hex;let[u,d,e]=h[1].split("");return`#${u}${u}${d}${d}${e}${e}`},Ze=(n,l)=>{let[c,h]=p.useState(n||""),[u,d]=p.useState(()=>$(c)),[e,t]=p.useState((u==null?void 0:u.colorSpace)||"hex");p.useEffect(()=>{let i=n||"",s=$(i);h(i),d(s),t((s==null?void 0:s.colorSpace)||"hex")},[n]);let r=p.useMemo(()=>Qe(c,u,e).toLowerCase(),[c,u,e]),a=p.useCallback(i=>{let s=$(i),f=(s==null?void 0:s.value)||i||"";h(f),f===""&&(d(void 0),l(void 0)),s&&(d(s),t(s.colorSpace),l(s.value))},[l]),o=p.useCallback(()=>{let i=R.indexOf(e)+1;i>=R.length&&(i=0),t(R[i]);let s=(u==null?void 0:u[R[i]])||"";h(s),l(s)},[u,e,l]);return{value:c,realValue:r,updateValue:a,color:u,colorSpace:e,cycleColorSpace:o}},H=n=>n.replace(/\s*/,"").toLowerCase(),er=(n,l,c)=>{let[h,u]=p.useState(l!=null&&l.valid?[l]:[]);p.useEffect(()=>{l===void 0&&u([])},[l]);let d=p.useMemo(()=>(n||[]).map(t=>typeof t=="string"?$(t):t.title?{...$(t.color),keyword:t.title}:$(t.color)).concat(h).filter(Boolean).slice(-27),[n,h]),e=p.useCallback(t=>{t!=null&&t.valid&&(d.some(r=>H(r[c])===H(t[c]))||u(r=>r.concat(t)))},[c,d]);return{presets:d,addPreset:e}},rr=({name:n,value:l,onChange:c,onFocus:h,onBlur:u,presetColors:d,startOpen:e=!1,argType:t})=>{var E;let r=p.useCallback(ge(c,200),[c]),{value:a,realValue:o,updateValue:i,color:s,colorSpace:f,cycleColorSpace:g}=Ze(l,r),{presets:b,addPreset:y}=er(d,s,f),v=Je[f],w=!!((E=t==null?void 0:t.table)!=null&&E.readonly);return m.createElement(Le,{"aria-readonly":w},m.createElement(Be,{startOpen:e,trigger:w?[null]:void 0,closeOnOutsideClick:!0,onVisibleChange:()=>y(s),tooltip:m.createElement(Xe,null,m.createElement(v,{color:o==="transparent"?"#000000":o,onChange:i,onFocus:h,onBlur:u}),b.length>0&&m.createElement(De,null,b.map((k,P)=>m.createElement(J,{key:`${k.value}-${P}`,hasChrome:!1,tooltip:m.createElement(Ke,{note:k.keyword||k.value})},m.createElement(U,{value:k[f],active:s&&H(k[f])===H(s[f]),onClick:()=>i(k.value)})))))},m.createElement(U,{value:o,style:{margin:4}})),m.createElement(Fe,{id:be(n),value:a,onChange:k=>i(k.target.value),onFocus:k=>k.target.select(),readOnly:w,placeholder:"Choose color..."}),a?m.createElement(Te,{onClick:g}):null)},cr=rr;export{rr as ColorControl,cr as default}; diff --git a/docs/storybook/assets/CopyToClipboardInput-3d8bb04a.js b/docs/storybook/assets/CopyToClipboardInput-3d8bb04a.js deleted file mode 100644 index f36e2ec..0000000 --- a/docs/storybook/assets/CopyToClipboardInput-3d8bb04a.js +++ /dev/null @@ -1 +0,0 @@ -import{j as t}from"./jsx-runtime-6d9837fe.js";import{r as s}from"./index-93f6b7ae.js";import{l as i}from"./index-d14722d4.js";import{I as n,a as l,f as c,b as m}from"./SPA-63b29876.js";import"./index-03a57050.js";const p=({value:o})=>{const[e,r]=s.useState(!1),a=()=>{r(!0),setTimeout(()=>r(!1),2e3)};return t.jsx(n,{disabled:!0,value:o,rightIcon:t.jsx(i.CopyToClipboard,{text:o,children:t.jsx(l,{minimal:!0,onClick:a,icon:e?c:m,title:"Copy",...e?{themeColor:"green100"}:{}})})})};try{p.displayName="CopyToClipboardInput",p.__docgenInfo={description:"",displayName:"CopyToClipboardInput",props:{value:{defaultValue:null,description:"",name:"value",required:!0,type:{name:"string"}}}}}catch{}export{p as C}; diff --git a/docs/storybook/assets/CopyToClipboardInput.stories-02f7f382.js b/docs/storybook/assets/CopyToClipboardInput.stories-02f7f382.js deleted file mode 100644 index 2ad6248..0000000 --- a/docs/storybook/assets/CopyToClipboardInput.stories-02f7f382.js +++ /dev/null @@ -1,5 +0,0 @@ -import{C as p}from"./CopyToClipboardInput-3d8bb04a.js";import"./jsx-runtime-6d9837fe.js";import"./index-93f6b7ae.js";import"./index-d14722d4.js";import"./SPA-63b29876.js";import"./index-03a57050.js";const l={title:"Core/CopyToClipboardInput",component:p},o={args:{value:"https://www.google.com"}};var r,t,e;o.parameters={...o.parameters,docs:{...(r=o.parameters)==null?void 0:r.docs,source:{originalSource:`{ - args: { - value: "https://www.google.com" - } -}`,...(e=(t=o.parameters)==null?void 0:t.docs)==null?void 0:e.source}}};const u=["Default"];export{o as Default,u as __namedExportsOrder,l as default}; diff --git a/docs/storybook/assets/DateInput-b0288ce0.js b/docs/storybook/assets/DateInput-b0288ce0.js deleted file mode 100644 index a2e2e5b..0000000 --- a/docs/storybook/assets/DateInput-b0288ce0.js +++ /dev/null @@ -1,26 +0,0 @@ -import{j as De}from"./jsx-runtime-6d9837fe.js";import{a5 as Tn,a6 as In,d as Sn,a7 as Pn,I as Fn}from"./SPA-63b29876.js";import{b as An,r as en,g as Nn}from"./index-93f6b7ae.js";import"./index-03a57050.js";import{a as Yn}from"./DeskproAppProvider-553f0e05.js";var nn={},Ye=["onChange","onClose","onDayCreate","onDestroy","onKeyDown","onMonthChange","onOpen","onParseConfig","onReady","onValueUpdate","onYearChange","onPreCalendarPosition"],me={_disable:[],allowInput:!1,allowInvalidPreload:!1,altFormat:"F j, Y",altInput:!1,altInputClass:"form-control input",animate:typeof window=="object"&&window.navigator.userAgent.indexOf("MSIE")===-1,ariaDateFormat:"F j, Y",autoFillDefaultTime:!0,clickOpens:!0,closeOnSelect:!0,conjunction:", ",dateFormat:"Y-m-d",defaultHour:12,defaultMinute:0,defaultSeconds:0,disable:[],disableMobile:!1,enableSeconds:!1,enableTime:!1,errorHandler:function(a){return typeof console<"u"&&console.warn(a)},getWeek:function(a){var i=new Date(a.getTime());i.setHours(0,0,0,0),i.setDate(i.getDate()+3-(i.getDay()+6)%7);var e=new Date(i.getFullYear(),0,4);return 1+Math.round(((i.getTime()-e.getTime())/864e5-3+(e.getDay()+6)%7)/7)},hourIncrement:1,ignoredFocusElements:[],inline:!1,locale:"default",minuteIncrement:5,mode:"single",monthSelectorType:"dropdown",nextArrow:"",noCalendar:!1,now:new Date,onChange:[],onClose:[],onDayCreate:[],onDestroy:[],onKeyDown:[],onMonthChange:[],onOpen:[],onParseConfig:[],onReady:[],onValueUpdate:[],onYearChange:[],onPreCalendarPosition:[],plugins:[],position:"auto",positionElement:void 0,prevArrow:"",shorthandCurrentMonth:!1,showMonths:1,static:!1,time_24hr:!1,weekNumbers:!1,wrap:!1},be={weekdays:{shorthand:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],longhand:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},months:{shorthand:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],longhand:["January","February","March","April","May","June","July","August","September","October","November","December"]},daysInMonth:[31,28,31,30,31,30,31,31,30,31,30,31],firstDayOfWeek:0,ordinal:function(a){var i=a%100;if(i>3&&i<21)return"th";switch(i%10){case 1:return"st";case 2:return"nd";case 3:return"rd";default:return"th"}},rangeSeparator:" to ",weekAbbreviation:"Wk",scrollTitle:"Scroll to increment",toggleTitle:"Click to toggle",amPM:["AM","PM"],yearAriaLabel:"Year",monthAriaLabel:"Month",hourAriaLabel:"Hour",minuteAriaLabel:"Minute",time_24hr:!1},H=function(a,i){return i===void 0&&(i=2),("000"+a).slice(i*-1)},z=function(a){return a===!0?1:0};function Ze(a,i){var e;return function(){var m=this,b=arguments;clearTimeout(e),e=setTimeout(function(){return a.apply(m,b)},i)}}var je=function(a){return a instanceof Array?a:[a]};function Y(a,i,e){if(e===!0)return a.classList.add(i);a.classList.remove(i)}function C(a,i,e){var m=window.document.createElement(a);return i=i||"",e=e||"",m.className=i,e!==void 0&&(m.textContent=e),m}function ke(a){for(;a.firstChild;)a.removeChild(a.firstChild)}function tn(a,i){if(i(a))return a;if(a.parentNode)return tn(a.parentNode,i)}function Te(a,i){var e=C("div","numInputWrapper"),m=C("input","numInput "+a),b=C("span","arrowUp"),v=C("span","arrowDown");if(navigator.userAgent.indexOf("MSIE 9.0")===-1?m.type="number":(m.type="text",m.pattern="\\d*"),i!==void 0)for(var E in i)m.setAttribute(E,i[E]);return e.appendChild(m),e.appendChild(b),e.appendChild(v),e}function B(a){try{if(typeof a.composedPath=="function"){var i=a.composedPath();return i[0]}return a.target}catch{return a.target}}var He=function(){},Ie=function(a,i,e){return e.months[i?"shorthand":"longhand"][a]},jn={D:He,F:function(a,i,e){a.setMonth(e.months.longhand.indexOf(i))},G:function(a,i){a.setHours((a.getHours()>=12?12:0)+parseFloat(i))},H:function(a,i){a.setHours(parseFloat(i))},J:function(a,i){a.setDate(parseFloat(i))},K:function(a,i,e){a.setHours(a.getHours()%12+12*z(new RegExp(e.amPM[1],"i").test(i)))},M:function(a,i,e){a.setMonth(e.months.shorthand.indexOf(i))},S:function(a,i){a.setSeconds(parseFloat(i))},U:function(a,i){return new Date(parseFloat(i)*1e3)},W:function(a,i,e){var m=parseInt(i),b=new Date(a.getFullYear(),0,2+(m-1)*7,0,0,0,0);return b.setDate(b.getDate()-b.getDay()+e.firstDayOfWeek),b},Y:function(a,i){a.setFullYear(parseFloat(i))},Z:function(a,i){return new Date(i)},d:function(a,i){a.setDate(parseFloat(i))},h:function(a,i){a.setHours((a.getHours()>=12?12:0)+parseFloat(i))},i:function(a,i){a.setMinutes(parseFloat(i))},j:function(a,i){a.setDate(parseFloat(i))},l:He,m:function(a,i){a.setMonth(parseFloat(i)-1)},n:function(a,i){a.setMonth(parseFloat(i)-1)},s:function(a,i){a.setSeconds(parseFloat(i))},u:function(a,i){return new Date(parseFloat(i))},w:He,y:function(a,i){a.setFullYear(2e3+parseFloat(i))}},de={D:"",F:"",G:"(\\d\\d|\\d)",H:"(\\d\\d|\\d)",J:"(\\d\\d|\\d)\\w+",K:"",M:"",S:"(\\d\\d|\\d)",U:"(.+)",W:"(\\d\\d|\\d)",Y:"(\\d{4})",Z:"(.+)",d:"(\\d\\d|\\d)",h:"(\\d\\d|\\d)",i:"(\\d\\d|\\d)",j:"(\\d\\d|\\d)",l:"",m:"(\\d\\d|\\d)",n:"(\\d\\d|\\d)",s:"(\\d\\d|\\d)",u:"(.+)",w:"(\\d\\d|\\d)",y:"(\\d{2})"},ye={Z:function(a){return a.toISOString()},D:function(a,i,e){return i.weekdays.shorthand[ye.w(a,i,e)]},F:function(a,i,e){return Ie(ye.n(a,i,e)-1,!1,i)},G:function(a,i,e){return H(ye.h(a,i,e))},H:function(a){return H(a.getHours())},J:function(a,i){return i.ordinal!==void 0?a.getDate()+i.ordinal(a.getDate()):a.getDate()},K:function(a,i){return i.amPM[z(a.getHours()>11)]},M:function(a,i){return Ie(a.getMonth(),!0,i)},S:function(a){return H(a.getSeconds())},U:function(a){return a.getTime()/1e3},W:function(a,i,e){return e.getWeek(a)},Y:function(a){return H(a.getFullYear(),4)},d:function(a){return H(a.getDate())},h:function(a){return a.getHours()%12?a.getHours()%12:12},i:function(a){return H(a.getMinutes())},j:function(a){return a.getDate()},l:function(a,i){return i.weekdays.longhand[a.getDay()]},m:function(a){return H(a.getMonth()+1)},n:function(a){return a.getMonth()+1},s:function(a){return a.getSeconds()},u:function(a){return a.getTime()},w:function(a){return a.getDay()},y:function(a){return String(a.getFullYear()).substring(2)}},an=function(a){var i=a.config,e=i===void 0?me:i,m=a.l10n,b=m===void 0?be:m,v=a.isMobile,E=v===void 0?!1:v;return function(_,k,ne){var I=ne||b;return e.formatDate!==void 0&&!E?e.formatDate(_,k,I):k.split("").map(function(j,A,$){return ye[j]&&$[A-1]!=="\\"?ye[j](_,I,e):j!=="\\"?j:""}).join("")}},We=function(a){var i=a.config,e=i===void 0?me:i,m=a.l10n,b=m===void 0?be:m;return function(v,E,_,k){if(!(v!==0&&!v)){var ne=k||b,I,j=v;if(v instanceof Date)I=new Date(v.getTime());else if(typeof v!="string"&&v.toFixed!==void 0)I=new Date(v);else if(typeof v=="string"){var A=E||(e||me).dateFormat,$=String(v).trim();if($==="today")I=new Date,_=!0;else if(e&&e.parseDate)I=e.parseDate(v,A);else if(/Z$/.test($)||/GMT$/.test($))I=new Date(v);else{for(var fe=void 0,M=[],te=0,ue=0,Q="";teMath.min(i,e)&&a=0?new Date:new Date(e.config.minDate.getTime()),r=Re(e.config);t.setHours(r.hours,r.minutes,r.seconds,t.getMilliseconds()),e.selectedDates=[t],e.latestSelectedDateObj=t}n!==void 0&&n.type!=="blur"&&yn(n);var o=e._input.value;j(),ie(),e._input.value!==o&&e._debouncedChange()}function ne(n,t){return n%12+12*z(t===e.l10n.amPM[1])}function I(n){switch(n%24){case 0:case 12:return 12;default:return n%12}}function j(){if(!(e.hourElement===void 0||e.minuteElement===void 0)){var n=(parseInt(e.hourElement.value.slice(-2),10)||0)%24,t=(parseInt(e.minuteElement.value,10)||0)%60,r=e.secondElement!==void 0?(parseInt(e.secondElement.value,10)||0)%60:0;e.amPM!==void 0&&(n=ne(n,e.amPM.textContent));var o=e.config.minTime!==void 0||e.config.minDate&&e.minDateHasTime&&e.latestSelectedDateObj&&K(e.latestSelectedDateObj,e.config.minDate,!0)===0,l=e.config.maxTime!==void 0||e.config.maxDate&&e.maxDateHasTime&&e.latestSelectedDateObj&&K(e.latestSelectedDateObj,e.config.maxDate,!0)===0;if(e.config.maxTime!==void 0&&e.config.minTime!==void 0&&e.config.minTime>e.config.maxTime){var c=Le(e.config.minTime.getHours(),e.config.minTime.getMinutes(),e.config.minTime.getSeconds()),y=Le(e.config.maxTime.getHours(),e.config.maxTime.getMinutes(),e.config.maxTime.getSeconds()),p=Le(n,t,r);if(p>y&&p=12)]),e.secondElement!==void 0&&(e.secondElement.value=H(r)))}function fe(n){var t=B(n),r=parseInt(t.value)+(n.delta||0);(r/1e3>1||n.key==="Enter"&&!/[^\d]/.test(r.toString()))&&Me(r)}function M(n,t,r,o){if(t instanceof Array)return t.forEach(function(l){return M(n,l,r,o)});if(n instanceof Array)return n.forEach(function(l){return M(l,t,r,o)});n.addEventListener(t,r,o),e._handlers.push({remove:function(){return n.removeEventListener(t,r,o)}})}function te(){T("onChange")}function ue(){if(e.config.wrap&&["open","close","toggle","clear"].forEach(function(r){Array.prototype.forEach.call(e.element.querySelectorAll("[data-"+r+"]"),function(o){return M(o,"click",e[r])})}),e.isMobile){gn();return}var n=Ze(on,50);if(e._debouncedChange=Ze(te,Wn),e.daysContainer&&!/iPhone|iPad|iPod/i.test(navigator.userAgent)&&M(e.daysContainer,"mouseover",function(r){e.config.mode==="range"&&xe(B(r))}),M(e._input,"keydown",Ve),e.calendarContainer!==void 0&&M(e.calendarContainer,"keydown",Ve),!e.config.inline&&!e.config.static&&M(window,"resize",n),window.ontouchstart!==void 0?M(window.document,"touchstart",X):M(window.document,"mousedown",X),M(window.document,"focus",X,{capture:!0}),e.config.clickOpens===!0&&(M(e._input,"focus",e.open),M(e._input,"click",e.open)),e.daysContainer!==void 0&&(M(e.monthNav,"click",Dn),M(e.monthNav,["keyup","increment"],fe),M(e.daysContainer,"click",Je)),e.timeContainer!==void 0&&e.minuteElement!==void 0&&e.hourElement!==void 0){var t=function(r){return B(r).select()};M(e.timeContainer,["increment"],k),M(e.timeContainer,"blur",k,{capture:!0}),M(e.timeContainer,"click",ae),M([e.hourElement,e.minuteElement],["focus","click"],t),e.secondElement!==void 0&&M(e.secondElement,"focus",function(){return e.secondElement&&e.secondElement.select()}),e.amPM!==void 0&&M(e.amPM,"click",function(r){k(r)})}e.config.allowInput&&M(e._input,"blur",rn)}function Q(n,t){var r=n!==void 0?e.parseDate(n):e.latestSelectedDateObj||(e.config.minDate&&e.config.minDate>e.now?e.config.minDate:e.config.maxDate&&e.config.maxDate1),e.calendarContainer.appendChild(n);var l=e.config.appendTo!==void 0&&e.config.appendTo.nodeType!==void 0;if((e.config.inline||e.config.static)&&(e.calendarContainer.classList.add(e.config.inline?"inline":"static"),e.config.inline&&(!l&&e.element.parentNode?e.element.parentNode.insertBefore(e.calendarContainer,e._input.nextSibling):e.config.appendTo!==void 0&&e.config.appendTo.appendChild(e.calendarContainer)),e.config.static)){var c=C("div","flatpickr-wrapper");e.element.parentNode&&e.element.parentNode.insertBefore(c,e.element),c.appendChild(e.element),e.altInput&&c.appendChild(e.altInput),c.appendChild(e.calendarContainer)}!e.config.static&&!e.config.inline&&(e.config.appendTo!==void 0?e.config.appendTo:window.document.body).appendChild(e.calendarContainer)}function U(n,t,r,o){var l=se(t,!0),c=C("span",n,t.getDate().toString());return c.dateObj=t,c.$i=o,c.setAttribute("aria-label",e.formatDate(t,e.config.ariaDateFormat)),n.indexOf("hidden")===-1&&K(t,e.now)===0&&(e.todayDateElem=c,c.classList.add("today"),c.setAttribute("aria-current","date")),l?(c.tabIndex=-1,Fe(t)&&(c.classList.add("selected"),e.selectedDateElem=c,e.config.mode==="range"&&(Y(c,"startRange",e.selectedDates[0]&&K(t,e.selectedDates[0],!0)===0),Y(c,"endRange",e.selectedDates[1]&&K(t,e.selectedDates[1],!0)===0),n==="nextMonthDay"&&c.classList.add("inRange")))):c.classList.add("flatpickr-disabled"),e.config.mode==="range"&&vn(t)&&!Fe(t)&&c.classList.add("inRange"),e.weekNumbers&&e.config.showMonths===1&&n!=="prevMonthDay"&&o%7===6&&e.weekNumbers.insertAdjacentHTML("beforeend",""+e.config.getWeek(t)+""),T("onDayCreate",c),c}function L(n){n.focus(),e.config.mode==="range"&&xe(n)}function Z(n){for(var t=n>0?0:e.config.showMonths-1,r=n>0?e.config.showMonths:-1,o=t;o!=r;o+=n)for(var l=e.daysContainer.children[o],c=n>0?0:l.children.length-1,y=n>0?l.children.length:-1,p=c;p!=y;p+=n){var w=l.children[p];if(w.className.indexOf("hidden")===-1&&se(w.dateObj))return w}}function q(n,t){for(var r=n.className.indexOf("Month")===-1?n.dateObj.getMonth():e.currentMonth,o=t>0?e.config.showMonths:-1,l=t>0?1:-1,c=r-e.currentMonth;c!=o;c+=l)for(var y=e.daysContainer.children[c],p=r-e.currentMonth===c?n.$i+t:t<0?y.children.length-1:0,w=y.children.length,s=p;s>=0&&s0?w:-1);s+=l){var h=y.children[s];if(h.className.indexOf("hidden")===-1&&se(h.dateObj)&&Math.abs(n.$i-s)>=Math.abs(t))return L(h)}e.changeMonth(l),ce(Z(l),0)}function ce(n,t){var r=v(),o=Ce(r||document.body),l=n!==void 0?n:o?r:e.selectedDateElem!==void 0&&Ce(e.selectedDateElem)?e.selectedDateElem:e.todayDateElem!==void 0&&Ce(e.todayDateElem)?e.todayDateElem:Z(t>0?1:-1);l===void 0?e._input.focus():o?q(l,t):L(l)}function we(n,t){for(var r=(new Date(n,t,1).getDay()-e.l10n.firstDayOfWeek+7)%7,o=e.utils.getDaysInMonth((t-1+12)%12,n),l=e.utils.getDaysInMonth(t,n),c=window.document.createDocumentFragment(),y=e.config.showMonths>1,p=y?"prevMonthDay hidden":"prevMonthDay",w=y?"nextMonthDay hidden":"nextMonthDay",s=o+1-r,h=0;s<=o;s++,h++)c.appendChild(U("flatpickr-day "+p,new Date(n,t-1,s),s,h));for(s=1;s<=l;s++,h++)c.appendChild(U("flatpickr-day",new Date(n,t,s),s,h));for(var x=l+1;x<=42-r&&(e.config.showMonths===1||h%7!==0);x++,h++)c.appendChild(U("flatpickr-day "+w,new Date(n,t+1,x%l),x,h));var ee=C("div","dayContainer");return ee.appendChild(c),ee}function oe(){if(e.daysContainer!==void 0){ke(e.daysContainer),e.weekNumbers&&ke(e.weekNumbers);for(var n=document.createDocumentFragment(),t=0;t1||e.config.monthSelectorType!=="dropdown")){var n=function(o){return e.config.minDate!==void 0&&e.currentYear===e.config.minDate.getFullYear()&&oe.config.maxDate.getMonth())};e.monthsDropdownContainer.tabIndex=-1,e.monthsDropdownContainer.innerHTML="";for(var t=0;t<12;t++)if(n(t)){var r=C("option","flatpickr-monthDropdown-month");r.value=new Date(e.currentYear,t).getMonth().toString(),r.textContent=Ie(t,e.config.shorthandCurrentMonth,e.l10n),r.tabIndex=-1,e.currentMonth===t&&(r.selected=!0),e.monthsDropdownContainer.appendChild(r)}}}function f(){var n=C("div","flatpickr-month"),t=window.document.createDocumentFragment(),r;e.config.showMonths>1||e.config.monthSelectorType==="static"?r=C("span","cur-month"):(e.monthsDropdownContainer=C("select","flatpickr-monthDropdown-months"),e.monthsDropdownContainer.setAttribute("aria-label",e.l10n.monthAriaLabel),M(e.monthsDropdownContainer,"change",function(y){var p=B(y),w=parseInt(p.value,10);e.changeMonth(w-e.currentMonth),T("onMonthChange")}),le(),r=e.monthsDropdownContainer);var o=Te("cur-year",{tabindex:"-1"}),l=o.getElementsByTagName("input")[0];l.setAttribute("aria-label",e.l10n.yearAriaLabel),e.config.minDate&&l.setAttribute("min",e.config.minDate.getFullYear().toString()),e.config.maxDate&&(l.setAttribute("max",e.config.maxDate.getFullYear().toString()),l.disabled=!!e.config.minDate&&e.config.minDate.getFullYear()===e.config.maxDate.getFullYear());var c=C("div","flatpickr-current-month");return c.appendChild(r),c.appendChild(o),t.appendChild(c),n.appendChild(t),{container:n,yearElement:l,monthElement:r}}function d(){ke(e.monthNav),e.monthNav.appendChild(e.prevMonthNav),e.config.showMonths&&(e.yearElements=[],e.monthElements=[]);for(var n=e.config.showMonths;n--;){var t=f();e.yearElements.push(t.yearElement),e.monthElements.push(t.monthElement),e.monthNav.appendChild(t.container)}e.monthNav.appendChild(e.nextMonthNav)}function g(){return e.monthNav=C("div","flatpickr-months"),e.yearElements=[],e.monthElements=[],e.prevMonthNav=C("span","flatpickr-prev-month"),e.prevMonthNav.innerHTML=e.config.prevArrow,e.nextMonthNav=C("span","flatpickr-next-month"),e.nextMonthNav.innerHTML=e.config.nextArrow,d(),Object.defineProperty(e,"_hidePrevMonthArrow",{get:function(){return e.__hidePrevMonthArrow},set:function(n){e.__hidePrevMonthArrow!==n&&(Y(e.prevMonthNav,"flatpickr-disabled",n),e.__hidePrevMonthArrow=n)}}),Object.defineProperty(e,"_hideNextMonthArrow",{get:function(){return e.__hideNextMonthArrow},set:function(n){e.__hideNextMonthArrow!==n&&(Y(e.nextMonthNav,"flatpickr-disabled",n),e.__hideNextMonthArrow=n)}}),e.currentYearElement=e.yearElements[0],_e(),e.monthNav}function u(){e.calendarContainer.classList.add("hasTime"),e.config.noCalendar&&e.calendarContainer.classList.add("noCalendar");var n=Re(e.config);e.timeContainer=C("div","flatpickr-time"),e.timeContainer.tabIndex=-1;var t=C("span","flatpickr-time-separator",":"),r=Te("flatpickr-hour",{"aria-label":e.l10n.hourAriaLabel});e.hourElement=r.getElementsByTagName("input")[0];var o=Te("flatpickr-minute",{"aria-label":e.l10n.minuteAriaLabel});if(e.minuteElement=o.getElementsByTagName("input")[0],e.hourElement.tabIndex=e.minuteElement.tabIndex=-1,e.hourElement.value=H(e.latestSelectedDateObj?e.latestSelectedDateObj.getHours():e.config.time_24hr?n.hours:I(n.hours)),e.minuteElement.value=H(e.latestSelectedDateObj?e.latestSelectedDateObj.getMinutes():n.minutes),e.hourElement.setAttribute("step",e.config.hourIncrement.toString()),e.minuteElement.setAttribute("step",e.config.minuteIncrement.toString()),e.hourElement.setAttribute("min",e.config.time_24hr?"0":"1"),e.hourElement.setAttribute("max",e.config.time_24hr?"23":"12"),e.hourElement.setAttribute("maxlength","2"),e.minuteElement.setAttribute("min","0"),e.minuteElement.setAttribute("max","59"),e.minuteElement.setAttribute("maxlength","2"),e.timeContainer.appendChild(r),e.timeContainer.appendChild(t),e.timeContainer.appendChild(o),e.config.time_24hr&&e.timeContainer.classList.add("time24hr"),e.config.enableSeconds){e.timeContainer.classList.add("hasSeconds");var l=Te("flatpickr-second");e.secondElement=l.getElementsByTagName("input")[0],e.secondElement.value=H(e.latestSelectedDateObj?e.latestSelectedDateObj.getSeconds():n.seconds),e.secondElement.setAttribute("step",e.minuteElement.getAttribute("step")),e.secondElement.setAttribute("min","0"),e.secondElement.setAttribute("max","59"),e.secondElement.setAttribute("maxlength","2"),e.timeContainer.appendChild(C("span","flatpickr-time-separator",":")),e.timeContainer.appendChild(l)}return e.config.time_24hr||(e.amPM=C("span","flatpickr-am-pm",e.l10n.amPM[z((e.latestSelectedDateObj?e.hourElement.value:e.config.defaultHour)>11)]),e.amPM.title=e.l10n.toggleTitle,e.amPM.tabIndex=-1,e.timeContainer.appendChild(e.amPM)),e.timeContainer}function D(){e.weekdayContainer?ke(e.weekdayContainer):e.weekdayContainer=C("div","flatpickr-weekdays");for(var n=e.config.showMonths;n--;){var t=C("div","flatpickr-weekdaycontainer");e.weekdayContainer.appendChild(t)}return O(),e.weekdayContainer}function O(){if(e.weekdayContainer){var n=e.l10n.firstDayOfWeek,t=Qe(e.l10n.weekdays.shorthand);n>0&&n - `+t.join("")+` - - `}}function R(){e.calendarContainer.classList.add("hasWeeks");var n=C("div","flatpickr-weekwrapper");n.appendChild(C("span","flatpickr-weekday",e.l10n.weekAbbreviation));var t=C("div","flatpickr-weeks");return n.appendChild(t),{weekWrapper:n,weekNumbers:t}}function P(n,t){t===void 0&&(t=!0);var r=t?n:n-e.currentMonth;r<0&&e._hidePrevMonthArrow===!0||r>0&&e._hideNextMonthArrow===!0||(e.currentMonth+=r,(e.currentMonth<0||e.currentMonth>11)&&(e.currentYear+=e.currentMonth>11?1:-1,e.currentMonth=(e.currentMonth+12)%12,T("onYearChange"),le()),oe(),T("onMonthChange"),_e())}function re(n,t){if(n===void 0&&(n=!0),t===void 0&&(t=!0),e.input.value="",e.altInput!==void 0&&(e.altInput.value=""),e.mobileInput!==void 0&&(e.mobileInput.value=""),e.selectedDates=[],e.latestSelectedDateObj=void 0,t===!0&&(e.currentYear=e._initialDate.getFullYear(),e.currentMonth=e._initialDate.getMonth()),e.config.enableTime===!0){var r=Re(e.config),o=r.hours,l=r.minutes,c=r.seconds;$(o,l,c)}e.redraw(),n&&T("onChange")}function W(){e.isOpen=!1,e.isMobile||(e.calendarContainer!==void 0&&e.calendarContainer.classList.remove("open"),e._input!==void 0&&e._input.classList.remove("active")),T("onClose")}function J(){e.config!==void 0&&T("onDestroy");for(var n=e._handlers.length;n--;)e._handlers[n].remove();if(e._handlers=[],e.mobileInput)e.mobileInput.parentNode&&e.mobileInput.parentNode.removeChild(e.mobileInput),e.mobileInput=void 0;else if(e.calendarContainer&&e.calendarContainer.parentNode)if(e.config.static&&e.calendarContainer.parentNode){var t=e.calendarContainer.parentNode;if(t.lastChild&&t.removeChild(t.lastChild),t.parentNode){for(;t.firstChild;)t.parentNode.insertBefore(t.firstChild,t);t.parentNode.removeChild(t)}}else e.calendarContainer.parentNode.removeChild(e.calendarContainer);e.altInput&&(e.input.type="text",e.altInput.parentNode&&e.altInput.parentNode.removeChild(e.altInput),delete e.altInput),e.input&&(e.input.type=e.input._type,e.input.classList.remove("flatpickr-input"),e.input.removeAttribute("readonly")),["_showTimeInput","latestSelectedDateObj","_hideNextMonthArrow","_hidePrevMonthArrow","__hideNextMonthArrow","__hidePrevMonthArrow","isMobile","isOpen","selectedDateElem","minDateHasTime","maxDateHasTime","days","daysContainer","_input","_positionElement","innerContainer","rContainer","monthNav","todayDateElem","calendarContainer","weekdayContainer","prevMonthNav","nextMonthNav","monthsDropdownContainer","currentMonthElement","currentYearElement","navigationCurrentMonth","selectedDateElem","config"].forEach(function(r){try{delete e[r]}catch{}})}function N(n){return e.calendarContainer.contains(n)}function X(n){if(e.isOpen&&!e.config.inline){var t=B(n),r=N(t),o=t===e.input||t===e.altInput||e.element.contains(t)||n.path&&n.path.indexOf&&(~n.path.indexOf(e.input)||~n.path.indexOf(e.altInput)),l=!o&&!r&&!N(n.relatedTarget),c=!e.config.ignoredFocusElements.some(function(y){return y.contains(t)});l&&c&&(e.config.allowInput&&e.setDate(e._input.value,!1,e.config.altInput?e.config.altFormat:e.config.dateFormat),e.timeContainer!==void 0&&e.minuteElement!==void 0&&e.hourElement!==void 0&&e.input.value!==""&&e.input.value!==void 0&&k(),e.close(),e.config&&e.config.mode==="range"&&e.selectedDates.length===1&&e.clear(!1))}}function Me(n){if(!(!n||e.config.minDate&&ne.config.maxDate.getFullYear())){var t=n,r=e.currentYear!==t;e.currentYear=t||e.currentYear,e.config.maxDate&&e.currentYear===e.config.maxDate.getFullYear()?e.currentMonth=Math.min(e.config.maxDate.getMonth(),e.currentMonth):e.config.minDate&&e.currentYear===e.config.minDate.getFullYear()&&(e.currentMonth=Math.max(e.config.minDate.getMonth(),e.currentMonth)),r&&(e.redraw(),T("onYearChange"),le())}}function se(n,t){var r;t===void 0&&(t=!0);var o=e.parseDate(n,void 0,t);if(e.config.minDate&&o&&K(o,e.config.minDate,t!==void 0?t:!e.minDateHasTime)<0||e.config.maxDate&&o&&K(o,e.config.maxDate,t!==void 0?t:!e.maxDateHasTime)>0)return!1;if(!e.config.enable&&e.config.disable.length===0)return!0;if(o===void 0)return!1;for(var l=!!e.config.enable,c=(r=e.config.enable)!==null&&r!==void 0?r:e.config.disable,y=0,p=void 0;y=p.from.getTime()&&o.getTime()<=p.to.getTime())return l}return!l}function Ce(n){return e.daysContainer!==void 0?n.className.indexOf("hidden")===-1&&n.className.indexOf("flatpickr-disabled")===-1&&e.daysContainer.contains(n):!1}function rn(n){var t=n.target===e._input,r=e._input.value.trimEnd()!==Ae();t&&r&&!(n.relatedTarget&&N(n.relatedTarget))&&e.setDate(e._input.value,!0,n.target===e.altInput?e.config.altFormat:e.config.dateFormat)}function Ve(n){var t=B(n),r=e.config.wrap?a.contains(t):t===e._input,o=e.config.allowInput,l=e.isOpen&&(!o||!r),c=e.config.inline&&r&&!o;if(n.keyCode===13&&r){if(o)return e.setDate(e._input.value,!0,t===e.altInput?e.config.altFormat:e.config.dateFormat),e.close(),t.blur();e.open()}else if(N(t)||l||c){var y=!!e.timeContainer&&e.timeContainer.contains(t);switch(n.keyCode){case 13:y?(n.preventDefault(),k(),Se()):Je(n);break;case 27:n.preventDefault(),Se();break;case 8:case 46:r&&!e.config.allowInput&&(n.preventDefault(),e.clear());break;case 37:case 39:if(!y&&!r){n.preventDefault();var p=v();if(e.daysContainer!==void 0&&(o===!1||p&&Ce(p))){var w=n.keyCode===39?1:-1;n.ctrlKey?(n.stopPropagation(),P(w),ce(Z(1),0)):ce(void 0,w)}}else e.hourElement&&e.hourElement.focus();break;case 38:case 40:n.preventDefault();var s=n.keyCode===40?1:-1;e.daysContainer&&t.$i!==void 0||t===e.input||t===e.altInput?n.ctrlKey?(n.stopPropagation(),Me(e.currentYear-s),ce(Z(1),0)):y||ce(void 0,s*7):t===e.currentYearElement?Me(e.currentYear-s):e.config.enableTime&&(!y&&e.hourElement&&e.hourElement.focus(),k(n),e._debouncedChange());break;case 9:if(y){var h=[e.hourElement,e.minuteElement,e.secondElement,e.amPM].concat(e.pluginElements).filter(function(V){return V}),x=h.indexOf(t);if(x!==-1){var ee=h[x+(n.shiftKey?-1:1)];n.preventDefault(),(ee||e._input).focus()}}else!e.config.noCalendar&&e.daysContainer&&e.daysContainer.contains(t)&&n.shiftKey&&(n.preventDefault(),e._input.focus());break}}if(e.amPM!==void 0&&t===e.amPM)switch(n.key){case e.l10n.amPM[0].charAt(0):case e.l10n.amPM[0].charAt(0).toLowerCase():e.amPM.textContent=e.l10n.amPM[0],j(),ie();break;case e.l10n.amPM[1].charAt(0):case e.l10n.amPM[1].charAt(0).toLowerCase():e.amPM.textContent=e.l10n.amPM[1],j(),ie();break}(r||N(t))&&T("onKeyDown",n)}function xe(n,t){if(t===void 0&&(t="flatpickr-day"),!(e.selectedDates.length!==1||n&&(!n.classList.contains(t)||n.classList.contains("flatpickr-disabled")))){for(var r=n?n.dateObj.getTime():e.days.firstElementChild.dateObj.getTime(),o=e.parseDate(e.selectedDates[0],void 0,!0).getTime(),l=Math.min(r,e.selectedDates[0].getTime()),c=Math.max(r,e.selectedDates[0].getTime()),y=!1,p=0,w=0,s=l;sl&&sp)?p=s:s>o&&(!w||s ."+t));h.forEach(function(x){var ee=x.dateObj,V=ee.getTime(),ve=p>0&&V0&&V>w;if(ve){x.classList.add("notAllowed"),["inRange","startRange","endRange"].forEach(function(pe){x.classList.remove(pe)});return}else if(y&&!ve)return;["startRange","inRange","endRange","notAllowed"].forEach(function(pe){x.classList.remove(pe)}),n!==void 0&&(n.classList.add(r<=e.selectedDates[0].getTime()?"startRange":"endRange"),or&&V===o&&x.classList.add("endRange"),V>=p&&(w===0||V<=w)&&Hn(V,o,r)&&x.classList.add("inRange"))})}}function on(){e.isOpen&&!e.config.static&&!e.config.inline&&Ee()}function ln(n,t){if(t===void 0&&(t=e._positionElement),e.isMobile===!0){if(n){n.preventDefault();var r=B(n);r&&r.blur()}e.mobileInput!==void 0&&(e.mobileInput.focus(),e.mobileInput.click()),T("onOpen");return}else if(e._input.disabled||e.config.inline)return;var o=e.isOpen;e.isOpen=!0,o||(e.calendarContainer.classList.add("open"),e._input.classList.add("active"),T("onOpen"),Ee(t)),e.config.enableTime===!0&&e.config.noCalendar===!0&&e.config.allowInput===!1&&(n===void 0||!e.timeContainer.contains(n.relatedTarget))&&setTimeout(function(){return e.hourElement.select()},50)}function Be(n){return function(t){var r=e.config["_"+n+"Date"]=e.parseDate(t,e.config.dateFormat),o=e.config["_"+(n==="min"?"max":"min")+"Date"];r!==void 0&&(e[n==="min"?"minDateHasTime":"maxDateHasTime"]=r.getHours()>0||r.getMinutes()>0||r.getSeconds()>0),e.selectedDates&&(e.selectedDates=e.selectedDates.filter(function(l){return se(l)}),!e.selectedDates.length&&n==="min"&&A(r),ie()),e.daysContainer&&(qe(),r!==void 0?e.currentYearElement[n]=r.getFullYear().toString():e.currentYearElement.removeAttribute(n),e.currentYearElement.disabled=!!o&&r!==void 0&&o.getFullYear()===r.getFullYear())}}function fn(){var n=["wrap","weekNumbers","allowInput","allowInvalidPreload","clickOpens","time_24hr","enableTime","noCalendar","altInput","shorthandCurrentMonth","inline","static","enableSeconds","disableMobile"],t=F(F({},JSON.parse(JSON.stringify(a.dataset||{}))),i),r={};e.config.parseDate=t.parseDate,e.config.formatDate=t.formatDate,Object.defineProperty(e.config,"enable",{get:function(){return e.config._enable},set:function(h){e.config._enable=$e(h)}}),Object.defineProperty(e.config,"disable",{get:function(){return e.config._disable},set:function(h){e.config._disable=$e(h)}});var o=t.mode==="time";if(!t.dateFormat&&(t.enableTime||o)){var l=S.defaultConfig.dateFormat||me.dateFormat;r.dateFormat=t.noCalendar||o?"H:i"+(t.enableSeconds?":S":""):l+" H:i"+(t.enableSeconds?":S":"")}if(t.altInput&&(t.enableTime||o)&&!t.altFormat){var c=S.defaultConfig.altFormat||me.altFormat;r.altFormat=t.noCalendar||o?"h:i"+(t.enableSeconds?":S K":" K"):c+(" h:i"+(t.enableSeconds?":S":"")+" K")}Object.defineProperty(e.config,"minDate",{get:function(){return e.config._minDate},set:Be("min")}),Object.defineProperty(e.config,"maxDate",{get:function(){return e.config._maxDate},set:Be("max")});var y=function(h){return function(x){e.config[h==="min"?"_minTime":"_maxTime"]=e.parseDate(x,"H:i:S")}};Object.defineProperty(e.config,"minTime",{get:function(){return e.config._minTime},set:y("min")}),Object.defineProperty(e.config,"maxTime",{get:function(){return e.config._maxTime},set:y("max")}),t.mode==="time"&&(e.config.noCalendar=!0,e.config.enableTime=!0),Object.assign(e.config,r,t);for(var p=0;p-1?e.config[s]=je(w[s]).map(E).concat(e.config[s]):typeof t[s]>"u"&&(e.config[s]=w[s])}t.altInputClass||(e.config.altInputClass=Ke().className+" "+e.config.altInputClass),T("onParseConfig")}function Ke(){return e.config.wrap?a.querySelector("[data-input]"):a}function Ue(){typeof e.config.locale!="object"&&typeof S.l10ns[e.config.locale]>"u"&&e.config.errorHandler(new Error("flatpickr: invalid locale "+e.config.locale)),e.l10n=F(F({},S.l10ns.default),typeof e.config.locale=="object"?e.config.locale:e.config.locale!=="default"?S.l10ns[e.config.locale]:void 0),de.D="("+e.l10n.weekdays.shorthand.join("|")+")",de.l="("+e.l10n.weekdays.longhand.join("|")+")",de.M="("+e.l10n.months.shorthand.join("|")+")",de.F="("+e.l10n.months.longhand.join("|")+")",de.K="("+e.l10n.amPM[0]+"|"+e.l10n.amPM[1]+"|"+e.l10n.amPM[0].toLowerCase()+"|"+e.l10n.amPM[1].toLowerCase()+")";var n=F(F({},i),JSON.parse(JSON.stringify(a.dataset||{})));n.time_24hr===void 0&&S.defaultConfig.time_24hr===void 0&&(e.config.time_24hr=e.l10n.time_24hr),e.formatDate=an(e),e.parseDate=We({config:e.config,l10n:e.l10n})}function Ee(n){if(typeof e.config.position=="function")return void e.config.position(e,n);if(e.calendarContainer!==void 0){T("onPreCalendarPosition");var t=n||e._positionElement,r=Array.prototype.reduce.call(e.calendarContainer.children,function(_n,kn){return _n+kn.offsetHeight},0),o=e.calendarContainer.offsetWidth,l=e.config.position.split(" "),c=l[0],y=l.length>1?l[1]:null,p=t.getBoundingClientRect(),w=window.innerHeight-p.bottom,s=c==="above"||c!=="below"&&wr,h=window.pageYOffset+p.top+(s?-r-2:t.offsetHeight+2);if(Y(e.calendarContainer,"arrowTop",!s),Y(e.calendarContainer,"arrowBottom",s),!e.config.inline){var x=window.pageXOffset+p.left,ee=!1,V=!1;y==="center"?(x-=(o-p.width)/2,ee=!0):y==="right"&&(x-=o-p.width,V=!0),Y(e.calendarContainer,"arrowLeft",!ee&&!V),Y(e.calendarContainer,"arrowCenter",ee),Y(e.calendarContainer,"arrowRight",V);var ve=window.document.body.offsetWidth-(window.pageXOffset+p.right),pe=x+o>window.document.body.offsetWidth,bn=ve+o>window.document.body.offsetWidth;if(Y(e.calendarContainer,"rightMost",pe),!e.config.static)if(e.calendarContainer.style.top=h+"px",!pe)e.calendarContainer.style.left=x+"px",e.calendarContainer.style.right="auto";else if(!bn)e.calendarContainer.style.left="auto",e.calendarContainer.style.right=ve+"px";else{var Ne=un();if(Ne===void 0)return;var wn=window.document.body.offsetWidth,Mn=Math.max(0,wn/2-o/2),Cn=".flatpickr-calendar.centerMost:before",xn=".flatpickr-calendar.centerMost:after",En=Ne.cssRules.length,On="{left:"+p.left+"px;right:auto;}";Y(e.calendarContainer,"rightMost",!1),Y(e.calendarContainer,"centerMost",!0),Ne.insertRule(Cn+","+xn+On,En),e.calendarContainer.style.left=Mn+"px",e.calendarContainer.style.right="auto"}}}}function un(){for(var n=null,t=0;te.currentMonth+e.config.showMonths-1)&&e.config.mode!=="range";if(e.selectedDateElem=o,e.config.mode==="single")e.selectedDates=[l];else if(e.config.mode==="multiple"){var y=Fe(l);y?e.selectedDates.splice(parseInt(y),1):e.selectedDates.push(l)}else e.config.mode==="range"&&(e.selectedDates.length===2&&e.clear(!1,!1),e.latestSelectedDateObj=l,e.selectedDates.push(l),K(l,e.selectedDates[0],!0)!==0&&e.selectedDates.sort(function(h,x){return h.getTime()-x.getTime()}));if(j(),c){var p=e.currentYear!==l.getFullYear();e.currentYear=l.getFullYear(),e.currentMonth=l.getMonth(),p&&(T("onYearChange"),le()),T("onMonthChange")}if(_e(),oe(),ie(),!c&&e.config.mode!=="range"&&e.config.showMonths===1?L(o):e.selectedDateElem!==void 0&&e.hourElement===void 0&&e.selectedDateElem&&e.selectedDateElem.focus(),e.hourElement!==void 0&&e.hourElement!==void 0&&e.hourElement.focus(),e.config.closeOnSelect){var w=e.config.mode==="single"&&!e.config.enableTime,s=e.config.mode==="range"&&e.selectedDates.length===2&&!e.config.enableTime;(w||s)&&Se()}te()}}var Oe={locale:[Ue,O],showMonths:[d,_,D],minDate:[Q],maxDate:[Q],positionElement:[Ge],clickOpens:[function(){e.config.clickOpens===!0?(M(e._input,"focus",e.open),M(e._input,"click",e.open)):(e._input.removeEventListener("focus",e.open),e._input.removeEventListener("click",e.open))}]};function sn(n,t){if(n!==null&&typeof n=="object"){Object.assign(e.config,n);for(var r in n)Oe[r]!==void 0&&Oe[r].forEach(function(o){return o()})}else e.config[n]=t,Oe[n]!==void 0?Oe[n].forEach(function(o){return o()}):Ye.indexOf(n)>-1&&(e.config[n]=je(t));e.redraw(),ie(!0)}function ze(n,t){var r=[];if(n instanceof Array)r=n.map(function(o){return e.parseDate(o,t)});else if(n instanceof Date||typeof n=="number")r=[e.parseDate(n,t)];else if(typeof n=="string")switch(e.config.mode){case"single":case"time":r=[e.parseDate(n,t)];break;case"multiple":r=n.split(e.config.conjunction).map(function(o){return e.parseDate(o,t)});break;case"range":r=n.split(e.l10n.rangeSeparator).map(function(o){return e.parseDate(o,t)});break}else e.config.errorHandler(new Error("Invalid date supplied: "+JSON.stringify(n)));e.selectedDates=e.config.allowInvalidPreload?r:r.filter(function(o){return o instanceof Date&&se(o,!1)}),e.config.mode==="range"&&e.selectedDates.sort(function(o,l){return o.getTime()-l.getTime()})}function dn(n,t,r){if(t===void 0&&(t=!1),r===void 0&&(r=e.config.dateFormat),n!==0&&!n||n instanceof Array&&n.length===0)return e.clear(t);ze(n,r),e.latestSelectedDateObj=e.selectedDates[e.selectedDates.length-1],e.redraw(),Q(void 0,t),A(),e.selectedDates.length===0&&e.clear(!1),ie(t),t&&T("onChange")}function $e(n){return n.slice().map(function(t){return typeof t=="string"||typeof t=="number"||t instanceof Date?e.parseDate(t,void 0,!0):t&&typeof t=="object"&&t.from&&t.to?{from:e.parseDate(t.from,void 0),to:e.parseDate(t.to,void 0)}:t}).filter(function(t){return t})}function pn(){e.selectedDates=[],e.now=e.parseDate(e.config.now)||new Date;var n=e.config.defaultDate||((e.input.nodeName==="INPUT"||e.input.nodeName==="TEXTAREA")&&e.input.placeholder&&e.input.value===e.input.placeholder?null:e.input.value);n&&ze(n,e.config.dateFormat),e._initialDate=e.selectedDates.length>0?e.selectedDates[0]:e.config.minDate&&e.config.minDate.getTime()>e.now.getTime()?e.config.minDate:e.config.maxDate&&e.config.maxDate.getTime()0&&(e.latestSelectedDateObj=e.selectedDates[0]),e.config.minTime!==void 0&&(e.config.minTime=e.parseDate(e.config.minTime,"H:i")),e.config.maxTime!==void 0&&(e.config.maxTime=e.parseDate(e.config.maxTime,"H:i")),e.minDateHasTime=!!e.config.minDate&&(e.config.minDate.getHours()>0||e.config.minDate.getMinutes()>0||e.config.minDate.getSeconds()>0),e.maxDateHasTime=!!e.config.maxDate&&(e.config.maxDate.getHours()>0||e.config.maxDate.getMinutes()>0||e.config.maxDate.getSeconds()>0)}function mn(){if(e.input=Ke(),!e.input){e.config.errorHandler(new Error("Invalid input element specified"));return}e.input._type=e.input.type,e.input.type="text",e.input.classList.add("flatpickr-input"),e._input=e.input,e.config.altInput&&(e.altInput=C(e.input.nodeName,e.config.altInputClass),e._input=e.altInput,e.altInput.placeholder=e.input.placeholder,e.altInput.disabled=e.input.disabled,e.altInput.required=e.input.required,e.altInput.tabIndex=e.input.tabIndex,e.altInput.type="text",e.input.setAttribute("type","hidden"),!e.config.static&&e.input.parentNode&&e.input.parentNode.insertBefore(e.altInput,e.input.nextSibling)),e.config.allowInput||e._input.setAttribute("readonly","readonly"),Ge()}function Ge(){e._positionElement=e.config.positionElement||e._input}function gn(){var n=e.config.enableTime?e.config.noCalendar?"time":"datetime-local":"date";e.mobileInput=C("input",e.input.className+" flatpickr-mobile"),e.mobileInput.tabIndex=1,e.mobileInput.type=n,e.mobileInput.disabled=e.input.disabled,e.mobileInput.required=e.input.required,e.mobileInput.placeholder=e.input.placeholder,e.mobileFormatStr=n==="datetime-local"?"Y-m-d\\TH:i:S":n==="date"?"Y-m-d":"H:i:S",e.selectedDates.length>0&&(e.mobileInput.defaultValue=e.mobileInput.value=e.formatDate(e.selectedDates[0],e.mobileFormatStr)),e.config.minDate&&(e.mobileInput.min=e.formatDate(e.config.minDate,"Y-m-d")),e.config.maxDate&&(e.mobileInput.max=e.formatDate(e.config.maxDate,"Y-m-d")),e.input.getAttribute("step")&&(e.mobileInput.step=String(e.input.getAttribute("step"))),e.input.type="hidden",e.altInput!==void 0&&(e.altInput.type="hidden");try{e.input.parentNode&&e.input.parentNode.insertBefore(e.mobileInput,e.input.nextSibling)}catch{}M(e.mobileInput,"change",function(t){e.setDate(B(t).value,!1,e.mobileFormatStr),T("onChange"),T("onClose")})}function hn(n){if(e.isOpen===!0)return e.close();e.open(n)}function T(n,t){if(e.config!==void 0){var r=e.config[n];if(r!==void 0&&r.length>0)for(var o=0;r[o]&&o=0&&K(n,e.selectedDates[1])<=0}function _e(){e.config.noCalendar||e.isMobile||!e.monthNav||(e.yearElements.forEach(function(n,t){var r=new Date(e.currentYear,e.currentMonth,1);r.setMonth(e.currentMonth+t),e.config.showMonths>1||e.config.monthSelectorType==="static"?e.monthElements[t].textContent=Ie(r.getMonth(),e.config.shorthandCurrentMonth,e.l10n)+" ":e.monthsDropdownContainer.value=r.getMonth().toString(),n.value=r.getFullYear().toString()}),e._hidePrevMonthArrow=e.config.minDate!==void 0&&(e.currentYear===e.config.minDate.getFullYear()?e.currentMonth<=e.config.minDate.getMonth():e.currentYeare.config.maxDate.getMonth():e.currentYear>e.config.maxDate.getFullYear()))}function Ae(n){var t=n||(e.config.altInput?e.config.altFormat:e.config.dateFormat);return e.selectedDates.map(function(r){return e.formatDate(r,t)}).filter(function(r,o,l){return e.config.mode!=="range"||e.config.enableTime||l.indexOf(r)===o}).join(e.config.mode!=="range"?e.config.conjunction:e.l10n.rangeSeparator)}function ie(n){n===void 0&&(n=!0),e.mobileInput!==void 0&&e.mobileFormatStr&&(e.mobileInput.value=e.latestSelectedDateObj!==void 0?e.formatDate(e.latestSelectedDateObj,e.mobileFormatStr):""),e.input.value=Ae(e.config.dateFormat),e.altInput!==void 0&&(e.altInput.value=Ae(e.config.altFormat)),n!==!1&&T("onValueUpdate")}function Dn(n){var t=B(n),r=e.prevMonthNav.contains(t),o=e.nextMonthNav.contains(t);r||o?P(r?-1:1):e.yearElements.indexOf(t)>=0?t.select():t.classList.contains("arrowUp")?e.changeYear(e.currentYear+1):t.classList.contains("arrowDown")&&e.changeYear(e.currentYear-1)}function yn(n){n.preventDefault();var t=n.type==="keydown",r=B(n),o=r;e.amPM!==void 0&&r===e.amPM&&(e.amPM.textContent=e.l10n.amPM[z(e.amPM.textContent===e.l10n.amPM[0])]);var l=parseFloat(o.getAttribute("min")),c=parseFloat(o.getAttribute("max")),y=parseFloat(o.getAttribute("step")),p=parseInt(o.value,10),w=n.delta||(t?n.which===38?1:-1:0),s=p+y*w;if(typeof o.value<"u"&&o.value.length===2){var h=o===e.hourElement,x=o===e.minuteElement;sc&&(s=o===e.hourElement?s-c-z(!e.amPM):l,x&&G(void 0,1,e.hourElement)),e.amPM&&h&&(y===1?s+p===23:Math.abs(s-p)>y)&&(e.amPM.textContent=e.l10n.amPM[z(e.amPM.textContent===e.l10n.amPM[0])]),o.value=H(s)}}return b(),e}function ge(a,i){for(var e=Array.prototype.slice.call(a).filter(function(E){return E instanceof HTMLElement}),m=[],b=0;b=0)&&Object.prototype.propertyIsEnumerable.call(f,u)&&(g[u]=f[u])}return g}function I(f,d){if(f==null)return{};var g={},u=Object.keys(f),D,O;for(O=0;O=0)&&(g[D]=f[D]);return g}function j(f,d){var g=Object.keys(f);if(Object.getOwnPropertySymbols){var u=Object.getOwnPropertySymbols(f);d&&(u=u.filter(function(D){return Object.getOwnPropertyDescriptor(f,D).enumerable})),g.push.apply(g,u)}return g}function A(f){for(var d=1;d"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function U(f){return U=Object.setPrototypeOf?Object.getPrototypeOf:function(g){return g.__proto__||Object.getPrototypeOf(g)},U(f)}function L(f,d,g){return d in f?Object.defineProperty(f,d,{value:g,enumerable:!0,configurable:!0,writable:!0}):f[d]=g,f}var Z=["onChange","onOpen","onClose","onMonthChange","onYearChange","onReady","onValueUpdate","onDayCreate"],q=m.default.oneOfType([m.default.func,m.default.arrayOf(m.default.func)]),ce=["onCreate","onDestroy"],we=m.default.func,oe=function(f){te(g,f);var d=Q(g);function g(){var u;$(this,g);for(var D=arguments.length,O=new Array(D),R=0;R=0;W--){var J=re[W],N=R[J];N!==P[J]&&(Z.indexOf(J)!==-1&&!Array.isArray(N)&&(N=[N]),this.flatpickr.set(J,N))}this.props.hasOwnProperty("value")&&this.props.value!==D.value&&this.flatpickr.setDate(this.props.value,!1)}},{key:"componentDidMount",value:function(){this.createFlatpickrInstance()}},{key:"componentWillUnmount",value:function(){this.destroyFlatpickrInstance()}},{key:"render",value:function(){var D=this.props,O=D.options,R=D.defaultValue,P=D.value,re=D.children,W=D.render,J=ne(D,["options","defaultValue","value","children","render"]);return Z.forEach(function(N){delete J[N]}),ce.forEach(function(N){delete J[N]}),W?W(A(A({},J),{},{defaultValue:R,value:P}),this.handleNodeChange):O.wrap?e.default.createElement("div",k({},J,{ref:this.handleNodeChange}),re):e.default.createElement("input",k({},J,{defaultValue:R,ref:this.handleNodeChange}))}}]),g}(e.Component);L(oe,"propTypes",{defaultValue:m.default.string,options:m.default.object,onChange:q,onOpen:q,onClose:q,onMonthChange:q,onYearChange:q,onReady:q,onValueUpdate:q,onDayCreate:q,onCreate:we,onDestroy:we,value:m.default.oneOfType([m.default.string,m.default.array,m.default.object,m.default.number]),children:m.default.node,className:m.default.string,render:m.default.func}),L(oe,"defaultProps",{options:{}});var le=oe;a.default=le})(nn);const Un=Nn(nn),qn=()=>{const a=en.useContext(Yn);if(!(a!=null&&a.theme))throw new Error("Deskpro app theme is not yet initialised and therefore cannot be used");return{theme:a.theme}},Jn=In` - .flatpickr-calendar { - width: 224px !important; - } - .dayContainer { - width: 224px !important; - min-width: 224px !important; - max-width: 224px !important; - } - .flatpickr-days { - width: 224px !important; - } - .flatpickr-day { - max-width: 32px !important; - height: 32px !important; - line-height: 32px !important; - } -`,zn=Sn(Fn)` - :read-only { - cursor: pointer; - } -`,Xe=({id:a,error:i,value:e,onChange:m,enableTime:b,placeholder:v="Select value"})=>{const{theme:E}=qn();return De.jsxs(De.Fragment,{children:[De.jsx(Jn,{}),De.jsx(Un,{options:{position:"auto",dateFormat:"j M Y",...b?{dateFormat:"j M Y H:i",minuteIncrement:5,enableTime:!0,time_24hr:!0}:{}},value:e,defaultValue:"",onChange:_=>{m&&m(_)},render:({defaultValue:_,...k},ne)=>De.jsx(zn,{...k,id:a,ref:ne,variant:"inline",inputsize:"small",placeholder:v,defaultValue:_||"",error:i,style:{paddingRight:0},rightIcon:{icon:Pn,style:{color:E.colors.grey40}}})})]})};try{Xe.displayName="DateInput",Xe.__docgenInfo={description:"",displayName:"DateInput",props:{error:{defaultValue:null,description:"",name:"error",required:!0,type:{name:"boolean"}},enableTime:{defaultValue:null,description:"",name:"enableTime",required:!1,type:{name:"boolean"}}}}}catch{}export{Xe as D}; diff --git a/docs/storybook/assets/DateInput.stories-ad49363a.js b/docs/storybook/assets/DateInput.stories-ad49363a.js deleted file mode 100644 index f0794b4..0000000 --- a/docs/storybook/assets/DateInput.stories-ad49363a.js +++ /dev/null @@ -1 +0,0 @@ -import{j as a}from"./jsx-runtime-6d9837fe.js";import{D as o}from"./DateInput-b0288ce0.js";import{a as f}from"./index-81a4e465.js";import"./index-93f6b7ae.js";import"./SPA-63b29876.js";import"./index-03a57050.js";import"./DeskproAppProvider-553f0e05.js";import"./v4-4a60fe23.js";const T={title:"Core/DateInput"},s={id:"date-input",placeholder:"DD/MM/YYYY",error:!1,onChange:f("onChange")},r=()=>a.jsx(o,{...s}),e=()=>a.jsx(o,{...s,enableTime:!0}),t=()=>a.jsx(o,{...s,error:!0});var p,m,i;r.parameters={...r.parameters,docs:{...(p=r.parameters)==null?void 0:p.docs,source:{originalSource:"() => ",...(i=(m=r.parameters)==null?void 0:m.docs)==null?void 0:i.source}}};var n,c,u;e.parameters={...e.parameters,docs:{...(n=e.parameters)==null?void 0:n.docs,source:{originalSource:"() => ",...(u=(c=e.parameters)==null?void 0:c.docs)==null?void 0:u.source}}};var d,l,D;t.parameters={...t.parameters,docs:{...(d=t.parameters)==null?void 0:d.docs,source:{originalSource:"() => ",...(D=(l=t.parameters)==null?void 0:l.docs)==null?void 0:D.source}}};const W=["OnlyDate","DateWithTime","WithError"];export{e as DateWithTime,r as OnlyDate,t as WithError,W as __namedExportsOrder,T as default}; diff --git a/docs/storybook/assets/DeskproAppProvider-553f0e05.js b/docs/storybook/assets/DeskproAppProvider-553f0e05.js deleted file mode 100644 index 26abf2c..0000000 --- a/docs/storybook/assets/DeskproAppProvider-553f0e05.js +++ /dev/null @@ -1 +0,0 @@ -var U=Object.defineProperty;var b=(s,e,t)=>e in s?U(s,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):s[e]=t;var r=(s,e,t)=>(b(s,typeof e!="symbol"?e+"":e,t),t);import{j as N}from"./jsx-runtime-6d9837fe.js";import{r as M}from"./index-93f6b7ae.js";import{a8 as H,a9 as $,l as j}from"./SPA-63b29876.js";import"./index-03a57050.js";const B=s=>M.createElement(H.Provider,{value:s.theme},s.children);var w=(s=>(s.READY="ready.app.deskpro",s.SHOW="show.app.deskpro",s.CHANGE="change.app.deskpro",s.TARGET_ACTION="target_action.app.deskpro",s.TARGET_ELEMENT_EVENT="target_element_event.app.deskpro",s.ADMIN_SETTINGS_CHANGE="change.settings.admin.app.deskpro",s))(w||{}),A;(function(s){s.Call="call",s.Reply="reply",s.Syn="syn",s.SynAck="synAck",s.Ack="ack"})(A||(A={}));var C;(function(s){s.Fulfilled="fulfilled",s.Rejected="rejected"})(C||(C={}));var k;(function(s){s.ConnectionDestroyed="ConnectionDestroyed",s.ConnectionTimeout="ConnectionTimeout",s.NoIframeSrc="NoIframeSrc"})(k||(k={}));var G;(function(s){s.DataCloneError="DataCloneError"})(G||(G={}));var _;(function(s){s.Message="message"})(_||(_={}));const V=(s,e)=>{const t=[];let n=!1;return{destroy(i){n||(n=!0,e(`${s}: Destroying connection`),t.forEach(o=>{o(i)}))},onDestroy(i){n?i():t.push(i)}}},J=s=>(...e)=>{s&&console.log("[Penpal]",...e)},x=({name:s,message:e,stack:t})=>({name:s,message:e,stack:t}),K=s=>{const e=new Error;return Object.keys(s).forEach(t=>e[t]=s[t]),e},W=(s,e,t)=>{const{localName:n,local:i,remote:o,originForSending:c,originForReceiving:h}=s;let g=!1;const u=a=>{if(a.source!==o||a.data.penpal!==A.Call)return;if(h!=="*"&&a.origin!==h){t(`${n} received message from origin ${a.origin} which did not match expected origin ${h}`);return}const l=a.data,{methodName:f,args:d,id:p}=l;t(`${n}: Received ${f}() call`);const E=y=>m=>{if(t(`${n}: Sending ${f}() reply`),g){t(`${n}: Unable to send ${f}() reply due to destroyed connection`);return}const S={penpal:A.Reply,id:p,resolution:y,returnValue:m};y===C.Rejected&&m instanceof Error&&(S.returnValue=x(m),S.returnValueIsError=!0);try{o.postMessage(S,c)}catch(v){if(v.name===G.DataCloneError){const P={penpal:A.Reply,id:p,resolution:C.Rejected,returnValue:x(v),returnValueIsError:!0};o.postMessage(P,c)}throw v}};new Promise(y=>y(e[f].apply(e,d))).then(E(C.Fulfilled),E(C.Rejected))};return i.addEventListener(_.Message,u),()=>{g=!0,i.removeEventListener(_.Message,u)}};let Y=0;const q=()=>++Y,R=".",L=s=>s?s.split(R):[],Q=s=>s.join(R),X=(s,e)=>{const t=L(e||"");return t.push(s),Q(t)},Z=(s,e,t)=>{const n=L(e);return n.reduce((i,o,c)=>(typeof i[o]>"u"&&(i[o]={}),c===n.length-1&&(i[o]=t),i[o]),s),s},z=(s,e)=>{const t={};return Object.keys(s).forEach(n=>{const i=s[n],o=X(n,e);typeof i=="object"&&Object.assign(t,z(i,o)),typeof i=="function"&&(t[o]=i)}),t},ee=s=>{const e={};for(const t in s)Z(e,t,s[t]);return e},te=(s,e,t,n,i)=>{const{localName:o,local:c,remote:h,originForSending:g,originForReceiving:u}=e;let a=!1;i(`${o}: Connecting call sender`);const l=d=>(...p)=>{i(`${o}: Sending ${d}() call`);let E;try{h.closed&&(E=!0)}catch{E=!0}if(E&&n(),a){const y=new Error(`Unable to send ${d}() call due to destroyed connection`);throw y.code=k.ConnectionDestroyed,y}return new Promise((y,m)=>{const S=q(),v=T=>{if(T.source!==h||T.data.penpal!==A.Reply||T.data.id!==S)return;if(u!=="*"&&T.origin!==u){i(`${o} received message from origin ${T.origin} which did not match expected origin ${u}`);return}const D=T.data;i(`${o}: Received ${d}() reply`),c.removeEventListener(_.Message,v);let O=D.returnValue;D.returnValueIsError&&(O=K(O)),(D.resolution===C.Fulfilled?y:m)(O)};c.addEventListener(_.Message,v);const P={penpal:A.Call,id:S,methodName:d,args:p};h.postMessage(P,g)})},f=t.reduce((d,p)=>(d[p]=l(p),d),{});return Object.assign(s,ee(f)),()=>{a=!0}},se=(s,e)=>{let t;return s!==void 0&&(t=window.setTimeout(()=>{const n=new Error(`Connection timed out after ${s}ms`);n.code=k.ConnectionTimeout,e(n)},s)),()=>{clearTimeout(t)}},ne=(s,e,t,n)=>{const{destroy:i,onDestroy:o}=t;return c=>{if(!(s instanceof RegExp?s.test(c.origin):s==="*"||s===c.origin)){n(`Child: Handshake - Received SYN-ACK from origin ${c.origin} which did not match expected origin ${s}`);return}n("Child: Handshake - Received SYN-ACK, responding with ACK");const g=c.origin==="null"?"*":c.origin,u={penpal:A.Ack,methodNames:Object.keys(e)};window.parent.postMessage(u,g);const a={localName:"Child",local:window,remote:window.parent,originForSending:g,originForReceiving:c.origin},l=W(a,e,n);o(l);const f={},d=te(f,a,c.data.methodNames,i,n);return o(d),f}},ie=()=>{try{clearTimeout()}catch{return!1}return!0},re=(s={})=>{const{parentOrigin:e="*",methods:t={},timeout:n,debug:i=!1}=s,o=J(i),c=V("Child",o),{destroy:h,onDestroy:g}=c,u=z(t),a=ne(e,u,c,o),l=()=>{o("Child: Handshake - Sending SYN");const d={penpal:A.Syn},p=e instanceof RegExp?"*":e;window.parent.postMessage(d,p)};return{promise:new Promise((d,p)=>{const E=se(n,h),y=m=>{if(ie()&&!(m.source!==parent||!m.data)&&m.data.penpal===A.SynAck){const S=a(m);S&&(window.removeEventListener(_.Message,y),E(),d(S))}};window.addEventListener(_.Message,y),l(),g(m=>{window.removeEventListener(_.Message,y),m&&p(m)})}),destroy(){h()}}};class I extends Error{}class oe{constructor(e){this.client=e}send(e){return this.client.sendDeskproUIMessage(e)}appendContentToActiveTicketReplyBox(e){return this.send({type:"append_to_active_ticket_reply_box",content:e})}appendLinkToActiveTicketReplyBox(e,t,n){return this.send({type:"append_link_to_active_ticket_reply_box",url:e,text:t,title:n})}alertSuccess(e,t){return this.send({type:"alert_success",text:e,duration:t})}alertError(e,t){return this.send({type:"alert_error",text:e,duration:t})}alertDismiss(){return this.send({type:"alert_dismiss"})}}class ae{constructor(e,t,n){this.client=e,this.name=t,this.entityId=n}async get(e){const t=await this.client.entityAssociationGet(this.entityId,this.name,e);return t?JSON.parse(t):null}list(){return this.client.entityAssociationList(this.entityId,this.name)}set(e,t){return this.client.entityAssociationSet(this.entityId,this.name,e,t?JSON.stringify(t):void 0)}delete(e){return this.client.entityAssociationDelete(this.entityId,this.name,e)}}class ce{constructor(e,t){r(this,"parentMethods",{onReady:()=>{},onShow:()=>{},onChange:()=>{},onTargetAction:()=>{},onElementEvent:()=>{},onAdminSettingsChange:()=>{}});r(this,"getProxyAuth");r(this,"getAdminGenericProxyAuth");r(this,"resize");r(this,"setHeight");r(this,"setWidth");r(this,"registerElement");r(this,"deregisterElement");r(this,"setBadgeCount");r(this,"setTitle");r(this,"focus");r(this,"unfocus");r(this,"openContact");r(this,"entityAssociationSet");r(this,"entityAssociationDelete");r(this,"entityAssociationGet");r(this,"entityAssociationList");r(this,"entityAssociationCountEntities");r(this,"setState");r(this,"setUserState");r(this,"getState");r(this,"getUserState");r(this,"deleteState");r(this,"deleteUserState");r(this,"hasState");r(this,"hasUserState");r(this,"setSetting");r(this,"setSettings");r(this,"setBlocking");r(this,"registerTargetAction");r(this,"deregisterTargetAction");r(this,"startOAuth2LocalFlow");r(this,"startOAuth2GlobalFlow");r(this,"pollOAuth2Flow");r(this,"setAdminSetting");r(this,"setAdminSettingInvalid");r(this,"sendDeskproUIMessage");this.parent=e,this.options=t,this.getProxyAuth=()=>new Promise(()=>{}),this.getAdminGenericProxyAuth=()=>new Promise(()=>{}),this.resize=()=>{},this.setWidth=()=>{},this.setHeight=()=>{},this.registerElement=()=>{},this.deregisterElement=()=>{},this.setBadgeCount=()=>{},this.setTitle=()=>{},this.focus=()=>{},this.unfocus=()=>{},this.openContact=()=>{},this.entityAssociationSet=async()=>{},this.entityAssociationDelete=async()=>{},this.entityAssociationGet=async()=>null,this.entityAssociationList=async()=>[""],this.entityAssociationCountEntities=async()=>0,this.setState=async()=>({isSuccess:!1,errors:[]}),this.setUserState=async()=>({isSuccess:!1,errors:[]}),this.getState=async()=>[],this.getUserState=async()=>[],this.deleteState=async()=>!1,this.deleteUserState=async()=>!1,this.hasState=async()=>!1,this.hasUserState=async()=>!1,this.setSetting=async()=>{},this.setSettings=async()=>{},this.setBlocking=async()=>{},this.registerTargetAction=async()=>{},this.deregisterTargetAction=async()=>{},this.startOAuth2LocalFlow=async()=>({}),this.startOAuth2GlobalFlow=async()=>({}),this.pollOAuth2Flow=async()=>({}),this.setAdminSetting=async()=>{},this.setAdminSettingInvalid=async()=>{},this.sendDeskproUIMessage=async()=>{},this.options.runAfterPageLoad&&window.addEventListener("load",()=>this.run())}async run(){const e=await this.parent({methods:{_onReady:this.parentMethods.onReady,_onShow:this.parentMethods.onShow,_onChange:this.parentMethods.onChange,_onTargetAction:this.parentMethods.onTargetAction,_onElementEvent:this.parentMethods.onElementEvent,_onAdminSettingsChange:this.parentMethods.onAdminSettingsChange}}).promise;e._getProxyAuth&&(this.getProxyAuth=e._getProxyAuth),e._getAdminGenericProxyAuth&&(this.getAdminGenericProxyAuth=e._getAdminGenericProxyAuth),document&&e._setHeight&&(this.resize=t=>e._setHeight(t??document.body.scrollHeight)),e._registerElement&&(this.registerElement=(t,n)=>e._registerElement(t,n)),e._deregisterElement&&(this.deregisterElement=t=>e._deregisterElement(t)),e._setWidth&&(this.setWidth=e._setWidth),e._setHeight&&(this.setHeight=e._setHeight),e.setBadgeCount&&(this.setBadgeCount=e.setBadgeCount),e.setTitle&&(this.setTitle=e.setTitle),e.focus&&(this.focus=e.focus),e.unfocus&&(this.unfocus=e.unfocus),e.openContact&&(this.openContact=e.openContact),e._entityAssociationGet&&(this.entityAssociationGet=e._entityAssociationGet),e._entityAssociationSet&&(this.entityAssociationSet=e._entityAssociationSet),e._entityAssociationList&&(this.entityAssociationList=e._entityAssociationList),e._entityAssociationDelete&&(this.entityAssociationDelete=e._entityAssociationDelete),e._entityAssociationCountEntities&&(this.entityAssociationCountEntities=e._entityAssociationCountEntities),e._stateSet&&(this.setState=(t,n,i)=>e._stateSet(t,JSON.stringify(n),i)),e._userStateSet&&(this.setUserState=(t,n,i)=>e._userStateSet(t,JSON.stringify(n),i)),e._stateGet&&(this.getState=async t=>(JSON.parse(await e._stateGet(t))??[]).map(i=>({...i,data:i.data?JSON.parse(i.data):null}))),e._userStateGet&&(this.getUserState=async t=>(JSON.parse(await e._userStateGet(t))??[]).map(i=>({...i,data:i.data?JSON.parse(i.data):null}))),e._stateDelete&&(this.deleteState=e._stateDelete),e._userStateDelete&&(this.deleteUserState=e._userStateDelete),e._stateHas&&(this.hasState=e._stateHas),e._userStateHas&&(this.hasUserState=e._userStateHas),e._settingSet&&(this.setSetting=(t,n)=>e._settingSet(t,n)),e._settingsSet&&(this.setSettings=t=>e._settingsSet(JSON.stringify(t))),e._blockingSet&&(this.setBlocking=t=>e._blockingSet(t)),e._registerTargetAction&&(this.registerTargetAction=(t,n,i)=>e._registerTargetAction(t,n,i)),e._deregisterTargetAction&&(this.deregisterTargetAction=t=>e._deregisterTargetAction(t)),e._startOAuth2LocalFlow&&(this.startOAuth2LocalFlow=(t,n)=>e._startOAuth2LocalFlow(t.source,n)),e._startOAuth2GlobalFlow&&(this.startOAuth2GlobalFlow=(t,n)=>e._startOAuth2GlobalFlow(t,n)),e._pollOAuth2Flow&&(this.pollOAuth2Flow=t=>e._pollOAuth2Flow(t)),e._setAdminSetting&&(this.setAdminSetting=t=>e._setAdminSetting(t)),e._setAdminSettingInvalid&&(this.setAdminSettingInvalid=(t,n)=>e._setAdminSettingInvalid(t,n)),e._sendDeskproUIMessage&&(this.sendDeskproUIMessage=t=>e._sendDeskproUIMessage(t))}onReady(e){this.parentMethods.onReady=t=>{e(t),this.resize&&this.options.resizeAfterEvents&&this.resize()}}onShow(e){this.parentMethods.onShow=t=>{e(t),this.resize&&this.options.resizeAfterEvents&&this.resize()}}onChange(e){this.parentMethods.onChange=t=>{e(t),this.resize&&this.options.resizeAfterEvents&&this.resize()}}onTargetAction(e){this.parentMethods.onTargetAction=t=>{e(t),this.resize&&this.options.resizeAfterEvents&&this.resize()}}onElementEvent(e){this.parentMethods.onElementEvent=(t,n,i)=>{e(t,n,i),this.resize&&this.options.resizeAfterEvents&&this.resize()}}onAdminSettingsChange(e){this.parentMethods.onAdminSettingsChange=t=>{e(t)}}getEntityAssociation(e,t){return new ae(this,e,t)}async startOauth2Local(e,t,n,i){const o=(i==null?void 0:i.timeout)??6e5,c=(i==null?void 0:i.pollInterval)??2e3,h=await this.startOAuth2LocalFlow(t,o),g=e({state:h.state,callbackUrl:h.callbackUrl,codeChallenge:h.codeChallenge});return{poll:()=>new Promise((a,l)=>{const f=setInterval(()=>{this.pollOAuth2Flow(h.state).then(d=>{if(d&&d.status!=="Pending"){if(clearInterval(f),d.error){l(new I(d.error));return}n(d.authCode,d.codeVerifierProxyPlaceholder).then(a)}})},c);setTimeout(()=>{clearInterval(f),l(new I("Acquisition timeout"))},o)}),authorizationUrl:g,stopPolling:clearInterval(c)}}async startOauth2Global(e,t){const n=(t==null?void 0:t.timeout)??6e5,i=(t==null?void 0:t.pollInterval)??2e3,o=await this.startOAuth2GlobalFlow(e,n);return{poll:()=>new Promise((h,g)=>{const u=setInterval(()=>{this.pollOAuth2Flow(o.state).then(a=>{if(a&&a.status!=="Pending"){if(clearInterval(u),a.error){g(new I(a.error));return}h({data:a})}})},i);setTimeout(()=>{clearInterval(u),g(new I("Acquisition timeout"))},n)}),authorizationUrl:o.authorizationUrl,stopPolling:clearInterval(i)}}deskpro(){return new oe(this)}getParentMethods(){return this.parentMethods}}const le=(s={})=>new ce(re,s),de=M.createContext(null),F=({children:s,theme:e,debug:t})=>{const[n,i]=M.useState(null),[o,c]=M.useState(null),[h,g]=M.useState([]);M.useEffect(()=>{if(n)return;const a=le({runAfterPageLoad:!1,resizeAfterEvents:!1});a.onReady(l=>{c(l),document.dispatchEvent(new CustomEvent(w.READY,{detail:l}))}),a.onShow(l=>{c(l),document.dispatchEvent(new CustomEvent(w.SHOW,{detail:l}))}),a.onChange(l=>{c(l),document.dispatchEvent(new CustomEvent(w.CHANGE,{detail:l}))}),a.onTargetAction(l=>{c(l.context),document.dispatchEvent(new CustomEvent(w.TARGET_ACTION,{detail:l}))}),a.onElementEvent((l,f,d)=>{document.dispatchEvent(new CustomEvent(w.TARGET_ELEMENT_EVENT,{detail:{id:l,type:f,payload:d}}))}),a.onAdminSettingsChange(l=>{c({type:"admin_settings",settings:l}),document.dispatchEvent(new CustomEvent(w.ADMIN_SETTINGS_CHANGE,{detail:l}))}),a.run().then(()=>i(a))},[]),t&&console.debug(n?"Deskpro apps client is ready":"Deskpro apps client is initialising...");const u=e??j;return N.jsxs(B,{theme:u,children:[N.jsx($,{}),N.jsx(de.Provider,{value:{client:n,context:o,registeredElements:h,setRegisteredElements:g,theme:u},children:s})]})};try{F.displayName="DeskproAppProvider",F.__docgenInfo={description:"",displayName:"DeskproAppProvider",props:{theme:{defaultValue:null,description:"",name:"theme",required:!1,type:{name:"DeskproTheme"}},debug:{defaultValue:null,description:"",name:"debug",required:!1,type:{name:"boolean"}}}}}catch{}export{F as D,de as a}; diff --git a/docs/storybook/assets/Divider-a1a4b2e0.js b/docs/storybook/assets/Divider-a1a4b2e0.js deleted file mode 100644 index 8f0721e..0000000 --- a/docs/storybook/assets/Divider-a1a4b2e0.js +++ /dev/null @@ -1,3 +0,0 @@ -import{j as a}from"./jsx-runtime-6d9837fe.js";import{d as l}from"./SPA-63b29876.js";const d=l.div` - background-color: ${({theme:e})=>e.colors.grey20}; -`,i=({width:e,style:r})=>a.jsx(d,{style:{margin:"0 8px",width:`${e??2}px`,...r??{}}}),t=({width:e,style:r})=>a.jsx(d,{style:{margin:"4px 0 0 0",height:`${e??1}px`,...r??{}}});try{i.displayName="VerticalDivider",i.__docgenInfo={description:"",displayName:"VerticalDivider",props:{width:{defaultValue:null,description:"",name:"width",required:!1,type:{name:"number"}},style:{defaultValue:null,description:"",name:"style",required:!1,type:{name:"CSSProperties"}}}}}catch{}try{t.displayName="HorizontalDivider",t.__docgenInfo={description:"",displayName:"HorizontalDivider",props:{width:{defaultValue:null,description:"",name:"width",required:!1,type:{name:"number"}},style:{defaultValue:null,description:"",name:"style",required:!1,type:{name:"CSSProperties"}}}}}catch{}export{t as H,i as V}; diff --git a/docs/storybook/assets/DocsRenderer-CFRXHY34-dedb1ca0.js b/docs/storybook/assets/DocsRenderer-CFRXHY34-dedb1ca0.js deleted file mode 100644 index efdc085..0000000 --- a/docs/storybook/assets/DocsRenderer-CFRXHY34-dedb1ca0.js +++ /dev/null @@ -1,574 +0,0 @@ -var V9=Object.defineProperty;var U9=(e,t,r)=>t in e?V9(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;var Rn=(e,t,r)=>(U9(e,typeof t!="symbol"?t+"":t,r),r);import{D as Y4,_ as Y1,z as q9}from"./iframe-145c4ff1.js";import{r as l,R as v}from"./index-93f6b7ae.js";import{j as O}from"./jsx-runtime-6d9837fe.js";import{h as J4,r as J1}from"./index-03a57050.js";import{y as Ah,g as vu}from"./index-ba5305b1.js";import{d as W9}from"./index-356e4a49.js";import{renderElement as G9,unmountElement as K9}from"./react-18-ff0899e5.js";var Y9=Object.create,Z4=Object.defineProperty,J9=Object.getOwnPropertyDescriptor,X4=Object.getOwnPropertyNames,Z9=Object.getPrototypeOf,X9=Object.prototype.hasOwnProperty,wi=(e=>typeof require<"u"?require:typeof Proxy<"u"?new Proxy(e,{get:(t,r)=>(typeof require<"u"?require:t)[r]}):e)(function(e){if(typeof require<"u")return require.apply(this,arguments);throw Error('Dynamic require of "'+e+'" is not supported')}),vn=(e,t)=>function(){return t||(0,e[X4(e)[0]])((t={exports:{}}).exports,t),t.exports},Q9=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of X4(t))!X9.call(e,a)&&a!==r&&Z4(e,a,{get:()=>t[a],enumerable:!(n=J9(t,a))||n.enumerable});return e},Z1=(e,t,r)=>(r=e!=null?Y9(Z9(e)):{},Q9(t||!e||!e.__esModule?Z4(r,"default",{value:e,enumerable:!0}):r,e));function eC(e,t,{signal:r,edges:n}={}){let a,o=null,i=n!=null&&n.includes("leading"),s=n==null||n.includes("trailing"),c=()=>{o!==null&&(e.apply(a,o),a=void 0,o=null)},d=()=>{s&&c(),h()},f=null,m=()=>{f!=null&&clearTimeout(f),f=setTimeout(()=>{f=null,d()},t)},p=()=>{f!==null&&(clearTimeout(f),f=null)},h=()=>{p(),a=void 0,o=null},g=()=>{p(),c()},y=function(...b){if(r!=null&&r.aborted)return;a=this,o=b;let C=f==null;m(),i&&C&&c()};return y.schedule=m,y.cancel=h,y.flush=g,r==null||r.addEventListener("abort",h,{once:!0}),y}function vV(e,t=0,r={}){typeof r!="object"&&(r={});let{signal:n,leading:a=!1,trailing:o=!0,maxWait:i}=r,s=Array(2);a&&(s[0]="leading"),o&&(s[1]="trailing");let c,d=null,f=eC(function(...h){c=e.apply(this,h),d=null},t,{signal:n,edges:s}),m=function(...h){if(i!=null){if(d===null)d=Date.now();else if(Date.now()-d>=i)return c=e.apply(this,h),d=Date.now(),f.cancel(),f.schedule(),c}return f.apply(this,h),c},p=()=>(f.flush(),c);return m.cancel=f.cancel,m.flush=p,m}function tC(e){return Array.from(new Set(e))}function rC(e,t){let r={},n=Object.entries(e);for(let a=0;a`control-${e.replace(/\s+/g,"-")}`,ms=e=>`set-${e.replace(/\s+/g,"-")}`,cC=Object.create,X1=Object.defineProperty,dC=Object.getOwnPropertyDescriptor,pC=Object.getOwnPropertyNames,fC=Object.getPrototypeOf,hC=Object.prototype.hasOwnProperty,B=(e,t)=>X1(e,"name",{value:t,configurable:!0}),Di=(e=>typeof require<"u"?require:typeof Proxy<"u"?new Proxy(e,{get:(t,r)=>(typeof require<"u"?require:t)[r]}):e)(function(e){if(typeof require<"u")return require.apply(this,arguments);throw Error('Dynamic require of "'+e+'" is not supported')}),gs=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),mC=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of pC(t))!hC.call(e,a)&&a!==r&&X1(e,a,{get:()=>t[a],enumerable:!(n=dC(t,a))||n.enumerable});return e},Q1=(e,t,r)=>(r=e!=null?cC(fC(e)):{},mC(t||!e||!e.__esModule?X1(r,"default",{value:e,enumerable:!0}):r,e)),gC=gs(e=>{(function(){var t=typeof Symbol=="function"&&Symbol.for,r=t?Symbol.for("react.element"):60103,n=t?Symbol.for("react.portal"):60106,a=t?Symbol.for("react.fragment"):60107,o=t?Symbol.for("react.strict_mode"):60108,i=t?Symbol.for("react.profiler"):60114,s=t?Symbol.for("react.provider"):60109,c=t?Symbol.for("react.context"):60110,d=t?Symbol.for("react.async_mode"):60111,f=t?Symbol.for("react.concurrent_mode"):60111,m=t?Symbol.for("react.forward_ref"):60112,p=t?Symbol.for("react.suspense"):60113,h=t?Symbol.for("react.suspense_list"):60120,g=t?Symbol.for("react.memo"):60115,y=t?Symbol.for("react.lazy"):60116,b=t?Symbol.for("react.block"):60121,C=t?Symbol.for("react.fundamental"):60117,E=t?Symbol.for("react.responder"):60118,D=t?Symbol.for("react.scope"):60119;function w(H){return typeof H=="string"||typeof H=="function"||H===a||H===f||H===i||H===o||H===p||H===h||typeof H=="object"&&H!==null&&(H.$$typeof===y||H.$$typeof===g||H.$$typeof===s||H.$$typeof===c||H.$$typeof===m||H.$$typeof===C||H.$$typeof===E||H.$$typeof===D||H.$$typeof===b)}B(w,"isValidElementType");function x(H){if(typeof H=="object"&&H!==null){var it=H.$$typeof;switch(it){case r:var kt=H.type;switch(kt){case d:case f:case a:case i:case o:case p:return kt;default:var Mr=kt&&kt.$$typeof;switch(Mr){case c:case m:case y:case g:case s:return Mr;default:return it}}case n:return it}}}B(x,"typeOf");var S=d,F=f,A=c,_=s,R=r,I=m,T=a,L=y,P=g,M=n,N=i,q=o,W=p,G=!1;function J(H){return G||(G=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")),te(H)||x(H)===d}B(J,"isAsyncMode");function te(H){return x(H)===f}B(te,"isConcurrentMode");function ne(H){return x(H)===c}B(ne,"isContextConsumer");function X(H){return x(H)===s}B(X,"isContextProvider");function ie(H){return typeof H=="object"&&H!==null&&H.$$typeof===r}B(ie,"isElement");function $(H){return x(H)===m}B($,"isForwardRef");function Z(H){return x(H)===a}B(Z,"isFragment");function re(H){return x(H)===y}B(re,"isLazy");function fe(H){return x(H)===g}B(fe,"isMemo");function xe(H){return x(H)===n}B(xe,"isPortal");function At(H){return x(H)===i}B(At,"isProfiler");function We(H){return x(H)===o}B(We,"isStrictMode");function ot(H){return x(H)===p}B(ot,"isSuspense"),e.AsyncMode=S,e.ConcurrentMode=F,e.ContextConsumer=A,e.ContextProvider=_,e.Element=R,e.ForwardRef=I,e.Fragment=T,e.Lazy=L,e.Memo=P,e.Portal=M,e.Profiler=N,e.StrictMode=q,e.Suspense=W,e.isAsyncMode=J,e.isConcurrentMode=te,e.isContextConsumer=ne,e.isContextProvider=X,e.isElement=ie,e.isForwardRef=$,e.isFragment=Z,e.isLazy=re,e.isMemo=fe,e.isPortal=xe,e.isProfiler=At,e.isStrictMode=We,e.isSuspense=ot,e.isValidElementType=w,e.typeOf=x})()}),vC=gs((e,t)=>{t.exports=gC()}),Q4=gs((e,t)=>{var r=vC(),n={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},a={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},o={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},i={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},s={};s[r.ForwardRef]=o,s[r.Memo]=i;function c(b){return r.isMemo(b)?i:s[b.$$typeof]||n}B(c,"getStatics");var d=Object.defineProperty,f=Object.getOwnPropertyNames,m=Object.getOwnPropertySymbols,p=Object.getOwnPropertyDescriptor,h=Object.getPrototypeOf,g=Object.prototype;function y(b,C,E){if(typeof C!="string"){if(g){var D=h(C);D&&D!==g&&y(b,D,E)}var w=f(C);m&&(w=w.concat(m(C)));for(var x=c(b),S=c(C),F=0;F{(function(r){if(typeof e=="object"&&typeof t<"u")t.exports=r();else if(typeof define=="function"&&define.amd)define([],r);else{var n;typeof window<"u"?n=window:typeof global<"u"?n=global:typeof self<"u"?n=self:n=this,n.memoizerific=r()}})(function(){return B(function r(n,a,o){function i(d,f){if(!a[d]){if(!n[d]){var m=typeof Di=="function"&&Di;if(!f&&m)return m(d,!0);if(s)return s(d,!0);var p=new Error("Cannot find module '"+d+"'");throw p.code="MODULE_NOT_FOUND",p}var h=a[d]={exports:{}};n[d][0].call(h.exports,function(g){var y=n[d][1][g];return i(y||g)},h,h.exports,r,n,a,o)}return a[d].exports}B(i,"s");for(var s=typeof Di=="function"&&Di,c=0;c=0)return this.lastItem=this.list[s],this.list[s].val},o.prototype.set=function(i,s){var c;return this.lastItem&&this.isEqual(this.lastItem.key,i)?(this.lastItem.val=s,this):(c=this.indexOf(i),c>=0?(this.lastItem=this.list[c],this.list[c].val=s,this):(this.lastItem={key:i,val:s},this.list.push(this.lastItem),this.size++,this))},o.prototype.delete=function(i){var s;if(this.lastItem&&this.isEqual(this.lastItem.key,i)&&(this.lastItem=void 0),s=this.indexOf(i),s>=0)return this.size--,this.list.splice(s,1)[0]},o.prototype.has=function(i){var s;return this.lastItem&&this.isEqual(this.lastItem.key,i)?!0:(s=this.indexOf(i),s>=0?(this.lastItem=this.list[s],!0):!1)},o.prototype.forEach=function(i,s){var c;for(c=0;c0&&(E[C]={cacheItem:g,arg:arguments[C]},D?i(m,E):m.push(E),m.length>d&&s(m.shift())),h.wasMemoized=D,h.numArgs=C+1,b},"memoizerific");return h.limit=d,h.wasMemoized=!1,h.cache=f,h.lru=m,h}};function i(d,f){var m=d.length,p=f.length,h,g,y;for(g=0;g=0&&(m=d[h],p=m.cacheItem.get(m.arg),!p||!p.size);h--)m.cacheItem.delete(m.arg)}B(s,"removeCachedResult");function c(d,f){return d===f||d!==d&&f!==f}B(c,"isEqual")},{"map-or-similar":1}]},{},[3])(3)})});function qt(){return qt=Object.assign?Object.assign.bind():function(e){for(var t=1;t0?we(Ca,--Ue):0,la--,de===10&&(la=1,bs--),de}B(u3,"prev");function $e(){return de=Ue2||sa(de)>3?"":" "}B(c3,"whitespace");function d3(e,t){for(;--t&&$e()&&!(de<48||de>102||de>57&&de<65||de>70&&de<97););return xa(e,Do()+(t<6&&vt()==32&&$e()==32))}B(d3,"escaping");function Sl(e){for(;$e();)switch(de){case e:return Ue;case 34:case 39:e!==34&&e!==39&&Sl(de);break;case 40:e===41&&Sl(e);break;case 92:$e();break}return Ue}B(Sl,"delimiter");function p3(e,t){for(;$e()&&e+de!==57&&!(e+de===84&&vt()===47););return"/*"+xa(t,Ue-1)+"*"+vs(e===47?e:$e())}B(p3,"commenter");function f3(e){for(;!sa(vt());)$e();return xa(e,Ue)}B(f3,"identifier");function h3(e){return ap(Co("",null,null,null,[""],e=np(e),0,[0],e))}B(h3,"compile");function Co(e,t,r,n,a,o,i,s,c){for(var d=0,f=0,m=i,p=0,h=0,g=0,y=1,b=1,C=1,E=0,D="",w=a,x=o,S=n,F=D;b;)switch(g=E,E=$e()){case 40:if(g!=108&&we(F,m-1)==58){xl(F+=Q(Eo(E),"&","&\f"),"&\f")!=-1&&(C=-1);break}case 34:case 39:case 91:F+=Eo(E);break;case 9:case 10:case 13:case 32:F+=c3(g);break;case 92:F+=d3(Do()-1,7);continue;case 47:switch(vt()){case 42:case 47:oo(m3(p3($e(),Do()),t,r),c);break;default:F+="/"}break;case 123*y:s[d++]=pt(F)*C;case 125*y:case 59:case 0:switch(E){case 0:case 125:b=0;case 59+f:C==-1&&(F=Q(F,/\f/g,"")),h>0&&pt(F)-m&&oo(h>32?U0(F+";",n,r,m-1):U0(Q(F," ","")+";",n,r,m-2),c);break;case 59:F+=";";default:if(oo(S=V0(F,t,r,d,f,a,s,D,w=[],x=[],m),o),E===123)if(f===0)Co(F,t,S,S,w,o,m,s,x);else switch(p===99&&we(F,3)===110?100:p){case 100:case 108:case 109:case 115:Co(e,S,S,n&&oo(V0(e,S,S,0,0,a,s,D,a,w=[],m),x),a,x,m,s,n?w:x);break;default:Co(F,S,S,S,[""],x,0,s,x)}}d=f=h=0,y=C=1,D=F="",m=i;break;case 58:m=1+pt(F),h=g;default:if(y<1){if(E==123)--y;else if(E==125&&y++==0&&u3()==125)continue}switch(F+=vs(E),E*y){case 38:C=f>0?1:(F+="\f",-1);break;case 44:s[d++]=(pt(F)-1)*C,C=1;break;case 64:vt()===45&&(F+=Eo($e())),p=vt(),f=m=pt(D=F+=f3(Do())),E++;break;case 45:g===45&&pt(F)==2&&(y=0)}}return o}B(Co,"parse");function V0(e,t,r,n,a,o,i,s,c,d,f){for(var m=a-1,p=a===0?o:[""],h=ys(p),g=0,y=0,b=0;g0?p[C]+" "+E:Q(E,/&\f/g,p[C])))&&(c[b++]=D);return Wo(e,t,r,a===0?ep:s,c,d,f)}B(V0,"ruleset");function m3(e,t,r){return Wo(e,t,r,r3,vs(s3()),ia(e,2,-2),0)}B(m3,"comment");function U0(e,t,r,n){return Wo(e,t,r,tp,ia(e,0,n),ia(e,n+1,-1),n)}B(U0,"declaration");function on(e,t){for(var r="",n=ys(e),a=0;a6)switch(we(e,t+1)){case 109:if(we(e,t+4)!==45)break;case 102:return Q(e,/(.+:)(.+)-([^]+)/,"$1"+ee+"$2-$3$1"+Cl+(we(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~xl(e,"stretch")?ip(Q(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(we(e,t+1)!==115)break;case 6444:switch(we(e,pt(e)-3-(~xl(e,"!important")&&10))){case 107:return Q(e,":",":"+ee)+e;case 101:return Q(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+ee+(we(e,14)===45?"inline-":"")+"box$3$1"+ee+"$2$3$1"+_e+"$2box$3")+e}break;case 5936:switch(we(e,t+11)){case 114:return ee+e+_e+Q(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return ee+e+_e+Q(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return ee+e+_e+Q(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return ee+e+_e+e+e}return e}B(ip,"prefix");var BC=B(function(e,t,r,n){if(e.length>-1&&!e.return)switch(e.type){case tp:e.return=ip(e.value,e.length);break;case n3:return on([Nn(e,{value:Q(e.value,"@","@"+ee)})],n);case ep:if(e.length)return i3(e.props,function(a){switch(o3(a,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return on([Nn(e,{props:[Q(a,/:(read-\w+)/,":"+Cl+"$1")]})],n);case"::placeholder":return on([Nn(e,{props:[Q(a,/:(plac\w+)/,":"+ee+"input-$1")]}),Nn(e,{props:[Q(a,/:(plac\w+)/,":"+Cl+"$1")]}),Nn(e,{props:[Q(a,/:(plac\w+)/,_e+"input-$1")]})],n)}return""})}},"prefixer"),RC=[BC],IC=B(function(e){var t=e.key;if(t==="css"){var r=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(r,function(g){var y=g.getAttribute("data-emotion");y.indexOf(" ")!==-1&&(document.head.appendChild(g),g.setAttribute("data-s",""))})}var n=e.stylisPlugins||RC,a={},o,i=[];o=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+t+' "]'),function(g){for(var y=g.getAttribute("data-emotion").split(" "),b=1;b=4;++n,a-=4)r=e.charCodeAt(n)&255|(e.charCodeAt(++n)&255)<<8|(e.charCodeAt(++n)&255)<<16|(e.charCodeAt(++n)&255)<<24,r=(r&65535)*1540483477+((r>>>16)*59797<<16),r^=r>>>24,t=(r&65535)*1540483477+((r>>>16)*59797<<16)^(t&65535)*1540483477+((t>>>16)*59797<<16);switch(a){case 3:t^=(e.charCodeAt(n+2)&255)<<16;case 2:t^=(e.charCodeAt(n+1)&255)<<8;case 1:t^=e.charCodeAt(n)&255,t=(t&65535)*1540483477+((t>>>16)*59797<<16)}return t^=t>>>13,t=(t&65535)*1540483477+((t>>>16)*59797<<16),((t^t>>>15)>>>0).toString(36)}B(w3,"murmur2");var MC={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,scale:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},OC=!1,PC=/[A-Z]|^ms/g,NC=/_EMO_([^_]+?)_([^]*?)_EMO_/g,D3=B(function(e){return e.charCodeAt(1)===45},"isCustomProperty"),Rh=B(function(e){return e!=null&&typeof e!="boolean"},"isProcessableValue"),yu=op(function(e){return D3(e)?e:e.replace(PC,"-$&").toLowerCase()}),Ih=B(function(e,t){switch(e){case"animation":case"animationName":if(typeof t=="string")return t.replace(NC,function(r,n,a){return Ot={name:n,styles:a,next:Ot},n})}return MC[e]!==1&&!D3(e)&&typeof t=="number"&&t!==0?t+"px":t},"processStyleValue"),HC="Component selectors can only be used in conjunction with @emotion/babel-plugin, the swc Emotion plugin, or another Emotion-aware compiler transform.";function ua(e,t,r){if(r==null)return"";var n=r;if(n.__emotion_styles!==void 0)return n;switch(typeof r){case"boolean":return"";case"object":{var a=r;if(a.anim===1)return Ot={name:a.name,styles:a.styles,next:Ot},a.name;var o=r;if(o.styles!==void 0){var i=o.next;if(i!==void 0)for(;i!==void 0;)Ot={name:i.name,styles:i.styles,next:Ot},i=i.next;var s=o.styles+";";return s}return E3(e,t,r)}case"function":{if(e!==void 0){var c=Ot,d=r(e);return Ot=c,ua(e,t,d)}break}}var f=r;if(t==null)return f;var m=t[f];return m!==void 0?m:f}B(ua,"handleInterpolation");function E3(e,t,r){var n="";if(Array.isArray(r))for(var a=0;a96?ex:tx},"getDefaultShouldForwardProp"),Mh=B(function(e,t,r){var n;if(t){var a=t.shouldForwardProp;n=e.__emotion_forwardProp&&a?function(o){return e.__emotion_forwardProp(o)&&a(o)}:a}return typeof n!="function"&&r&&(n=e.__emotion_forwardProp),n},"composeShouldForwardProps"),rx=B(function(e){var t=e.cache,r=e.serialized,n=e.isStringTag;return lp(t,r,n),C3(function(){return b3(t,r,n)}),null},"Insertion"),nx=B(function e(t,r){var n=t.__emotion_real===t,a=n&&t.__emotion_base||t,o,i;r!==void 0&&(o=r.label,i=r.target);var s=Mh(t,r,n),c=s||Lh(a),d=!c("as");return function(){var f=arguments,m=n&&t.__emotion_styles!==void 0?t.__emotion_styles.slice(0):[];if(o!==void 0&&m.push("label:"+o+";"),f[0]==null||f[0].raw===void 0)m.push.apply(m,f);else{var p=f[0];m.push(p[0]);for(var h=f.length,g=1;g1?a-1:0),i=1;i=0&&a<1?(s=o,c=i):a>=1&&a<2?(s=i,c=o):a>=2&&a<3?(c=o,d=i):a>=3&&a<4?(c=i,d=o):a>=4&&a<5?(s=i,d=o):a>=5&&a<6&&(s=o,d=i);var f=r-o/2,m=s+f,p=c+f,h=d+f;return n(m,p,h)}B(pa,"hslToRgb");var Oh={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"00ffff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"0000ff",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"00ffff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"ff00ff",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"639",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"};function T3(e){if(typeof e!="string")return e;var t=e.toLowerCase();return Oh[t]?"#"+Oh[t]:e}B(T3,"nameToHex");var ix=/^#[a-fA-F0-9]{6}$/,lx=/^#[a-fA-F0-9]{8}$/,sx=/^#[a-fA-F0-9]{3}$/,ux=/^#[a-fA-F0-9]{4}$/,bu=/^rgb\(\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*\)$/i,cx=/^rgb(?:a)?\(\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,|\/)\s*([-+]?\d*[.]?\d+[%]?)\s*\)$/i,dx=/^hsl\(\s*(\d{0,3}[.]?[0-9]+(?:deg)?)\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*\)$/i,px=/^hsl(?:a)?\(\s*(\d{0,3}[.]?[0-9]+(?:deg)?)\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,|\/)\s*([-+]?\d*[.]?\d+[%]?)\s*\)$/i;function Go(e){if(typeof e!="string")throw new Nt(3);var t=T3(e);if(t.match(ix))return{red:parseInt(""+t[1]+t[2],16),green:parseInt(""+t[3]+t[4],16),blue:parseInt(""+t[5]+t[6],16)};if(t.match(lx)){var r=parseFloat((parseInt(""+t[7]+t[8],16)/255).toFixed(2));return{red:parseInt(""+t[1]+t[2],16),green:parseInt(""+t[3]+t[4],16),blue:parseInt(""+t[5]+t[6],16),alpha:r}}if(t.match(sx))return{red:parseInt(""+t[1]+t[1],16),green:parseInt(""+t[2]+t[2],16),blue:parseInt(""+t[3]+t[3],16)};if(t.match(ux)){var n=parseFloat((parseInt(""+t[4]+t[4],16)/255).toFixed(2));return{red:parseInt(""+t[1]+t[1],16),green:parseInt(""+t[2]+t[2],16),blue:parseInt(""+t[3]+t[3],16),alpha:n}}var a=bu.exec(t);if(a)return{red:parseInt(""+a[1],10),green:parseInt(""+a[2],10),blue:parseInt(""+a[3],10)};var o=cx.exec(t.substring(0,50));if(o)return{red:parseInt(""+o[1],10),green:parseInt(""+o[2],10),blue:parseInt(""+o[3],10),alpha:parseFloat(""+o[4])>1?parseFloat(""+o[4])/100:parseFloat(""+o[4])};var i=dx.exec(t);if(i){var s=parseInt(""+i[1],10),c=parseInt(""+i[2],10)/100,d=parseInt(""+i[3],10)/100,f="rgb("+pa(s,c,d)+")",m=bu.exec(f);if(!m)throw new Nt(4,t,f);return{red:parseInt(""+m[1],10),green:parseInt(""+m[2],10),blue:parseInt(""+m[3],10)}}var p=px.exec(t.substring(0,50));if(p){var h=parseInt(""+p[1],10),g=parseInt(""+p[2],10)/100,y=parseInt(""+p[3],10)/100,b="rgb("+pa(h,g,y)+")",C=bu.exec(b);if(!C)throw new Nt(4,t,b);return{red:parseInt(""+C[1],10),green:parseInt(""+C[2],10),blue:parseInt(""+C[3],10),alpha:parseFloat(""+p[4])>1?parseFloat(""+p[4])/100:parseFloat(""+p[4])}}throw new Nt(5)}B(Go,"parseToRgb");function L3(e){var t=e.red/255,r=e.green/255,n=e.blue/255,a=Math.max(t,r,n),o=Math.min(t,r,n),i=(a+o)/2;if(a===o)return e.alpha!==void 0?{hue:0,saturation:0,lightness:i,alpha:e.alpha}:{hue:0,saturation:0,lightness:i};var s,c=a-o,d=i>.5?c/(2-a-o):c/(a+o);switch(a){case t:s=(r-n)/c+(r=1?zo(e,t,r):"rgba("+pa(e,t,r)+","+n+")";if(typeof e=="object"&&t===void 0&&r===void 0&&n===void 0)return e.alpha>=1?zo(e.hue,e.saturation,e.lightness):"rgba("+pa(e.hue,e.saturation,e.lightness)+","+e.alpha+")";throw new Nt(2)}B(P3,"hsla");function kl(e,t,r){if(typeof e=="number"&&typeof t=="number"&&typeof r=="number")return W0("#"+vr(e)+vr(t)+vr(r));if(typeof e=="object"&&t===void 0&&r===void 0)return W0("#"+vr(e.red)+vr(e.green)+vr(e.blue));throw new Nt(6)}B(kl,"rgb");function fa(e,t,r,n){if(typeof e=="string"&&typeof t=="number"){var a=Go(e);return"rgba("+a.red+","+a.green+","+a.blue+","+t+")"}else{if(typeof e=="number"&&typeof t=="number"&&typeof r=="number"&&typeof n=="number")return n>=1?kl(e,t,r):"rgba("+e+","+t+","+r+","+n+")";if(typeof e=="object"&&t===void 0&&r===void 0&&n===void 0)return e.alpha>=1?kl(e.red,e.green,e.blue):"rgba("+e.red+","+e.green+","+e.blue+","+e.alpha+")"}throw new Nt(7)}B(fa,"rgba");var hx=B(function(e){return typeof e.red=="number"&&typeof e.green=="number"&&typeof e.blue=="number"&&(typeof e.alpha!="number"||typeof e.alpha>"u")},"isRgb"),mx=B(function(e){return typeof e.red=="number"&&typeof e.green=="number"&&typeof e.blue=="number"&&typeof e.alpha=="number"},"isRgba"),gx=B(function(e){return typeof e.hue=="number"&&typeof e.saturation=="number"&&typeof e.lightness=="number"&&(typeof e.alpha!="number"||typeof e.alpha>"u")},"isHsl"),vx=B(function(e){return typeof e.hue=="number"&&typeof e.saturation=="number"&&typeof e.lightness=="number"&&typeof e.alpha=="number"},"isHsla");function pp(e){if(typeof e!="object")throw new Nt(8);if(mx(e))return fa(e);if(hx(e))return kl(e);if(vx(e))return P3(e);if(gx(e))return O3(e);throw new Nt(8)}B(pp,"toColorString");function fp(e,t,r){return B(function(){var n=r.concat(Array.prototype.slice.call(arguments));return n.length>=t?e.apply(this,n):fp(e,t,n)},"fn")}B(fp,"curried");function Ko(e){return fp(e,e.length,[])}B(Ko,"curry");function Yo(e,t,r){return Math.max(e,Math.min(t,r))}B(Yo,"guard");function N3(e,t){if(t==="transparent")return t;var r=dp(t);return pp(qt({},r,{lightness:Yo(0,1,r.lightness-parseFloat(e))}))}B(N3,"darken");var yx=Ko(N3),bx=yx;function H3(e,t){if(t==="transparent")return t;var r=dp(t);return pp(qt({},r,{lightness:Yo(0,1,r.lightness+parseFloat(e))}))}B(H3,"lighten");var wx=Ko(H3),Dx=wx;function $3(e,t){if(t==="transparent")return t;var r=Go(t),n=typeof r.alpha=="number"?r.alpha:1,a=qt({},r,{alpha:Yo(0,1,(n*100+parseFloat(e)*100)/100)});return fa(a)}B($3,"opacify");var Ex=Ko($3),Cx=Ex;function j3(e,t){if(t==="transparent")return t;var r=Go(t),n=typeof r.alpha=="number"?r.alpha:1,a=qt({},r,{alpha:Yo(0,1,+(n*100-parseFloat(e)*100).toFixed(2)/100)});return fa(a)}B(j3,"transparentize");var xx=Ko(j3),Sx=xx,V={primary:"#FF4785",secondary:"#029CFD",tertiary:"#FAFBFC",ancillary:"#22a699",orange:"#FC521F",gold:"#FFAE00",green:"#66BF3C",seafoam:"#37D5D3",purple:"#6F2CAC",ultraviolet:"#2A0481",lightest:"#FFFFFF",lighter:"#F7FAFC",light:"#EEF3F6",mediumlight:"#ECF4F9",medium:"#D9E8F2",mediumdark:"#73828C",dark:"#5C6870",darker:"#454E54",darkest:"#2E3438",border:"hsla(203, 50%, 30%, 0.15)",positive:"#66BF3C",negative:"#FF4400",warning:"#E69D00",critical:"#FFFFFF",defaultText:"#2E3438",inverseText:"#FFFFFF",positiveText:"#448028",negativeText:"#D43900",warningText:"#A15C20"},yr={app:"#F6F9FC",bar:V.lightest,content:V.lightest,preview:V.lightest,gridCellSize:10,hoverable:Sx(.9,V.secondary),positive:"#E1FFD4",negative:"#FEDED2",warning:"#FFF5CF",critical:"#FF4400"},Ht={fonts:{base:['"Nunito Sans"',"-apple-system",'".SFNSText-Regular"','"San Francisco"',"BlinkMacSystemFont",'"Segoe UI"','"Helvetica Neue"',"Helvetica","Arial","sans-serif"].join(", "),mono:["ui-monospace","Menlo","Monaco",'"Roboto Mono"','"Oxygen Mono"','"Ubuntu Monospace"','"Source Code Pro"','"Droid Sans Mono"','"Courier New"',"monospace"].join(", ")},weight:{regular:400,bold:700},size:{s1:12,s2:14,s3:16,m1:20,m2:24,m3:28,l1:32,l2:40,l3:48,code:90}},V3=Q1(yC(),1),Fx=(0,V3.default)(1)(({typography:e})=>({body:{fontFamily:e.fonts.base,fontSize:e.size.s3,margin:0,WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",WebkitTapHighlightColor:"rgba(0, 0, 0, 0)",WebkitOverflowScrolling:"touch"},"*":{boxSizing:"border-box"},"h1, h2, h3, h4, h5, h6":{fontWeight:e.weight.regular,margin:0,padding:0},"button, input, textarea, select":{fontFamily:"inherit",fontSize:"inherit",boxSizing:"border-box"},sub:{fontSize:"0.8em",bottom:"-0.2em"},sup:{fontSize:"0.8em",top:"-0.2em"},"b, strong":{fontWeight:e.weight.bold},hr:{border:"none",borderTop:"1px solid silver",clear:"both",marginBottom:"1.25rem"},code:{fontFamily:e.fonts.mono,WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",display:"inline-block",paddingLeft:2,paddingRight:2,verticalAlign:"baseline",color:"inherit"},pre:{fontFamily:e.fonts.mono,WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",lineHeight:"18px",padding:"11px 1rem",whiteSpace:"pre-wrap",color:"inherit",borderRadius:3,margin:"1rem 0"}}));(0,V3.default)(1)(({color:e,background:t,typography:r})=>{let n=Fx({typography:r});return{...n,body:{...n.body,color:e.defaultText,background:t.app,overflow:"hidden"},hr:{...n.hr,borderTop:`1px solid ${e.border}`}}});var Ax={base:"dark",colorPrimary:"#FF4785",colorSecondary:"#029CFD",appBg:"#222425",appContentBg:"#1B1C1D",appPreviewBg:V.lightest,appBorderColor:"rgba(255,255,255,.1)",appBorderRadius:4,fontBase:Ht.fonts.base,fontCode:Ht.fonts.mono,textColor:"#C9CDCF",textInverseColor:"#222425",textMutedColor:"#798186",barTextColor:V.mediumdark,barHoverColor:V.secondary,barSelectedColor:V.secondary,barBg:"#292C2E",buttonBg:"#222425",buttonBorder:"rgba(255,255,255,.1)",booleanBg:"#222425",booleanSelectedBg:"#2E3438",inputBg:"#1B1C1D",inputBorder:"rgba(255,255,255,.1)",inputTextColor:V.lightest,inputBorderRadius:4},kx=Ax,_x={base:"light",colorPrimary:"#FF4785",colorSecondary:"#029CFD",appBg:yr.app,appContentBg:V.lightest,appPreviewBg:V.lightest,appBorderColor:V.border,appBorderRadius:4,fontBase:Ht.fonts.base,fontCode:Ht.fonts.mono,textColor:V.darkest,textInverseColor:V.lightest,textMutedColor:V.dark,barTextColor:V.mediumdark,barHoverColor:V.secondary,barSelectedColor:V.secondary,barBg:V.lightest,buttonBg:yr.app,buttonBorder:V.medium,booleanBg:V.mediumlight,booleanSelectedBg:V.lightest,inputBg:V.lightest,inputBorder:V.border,inputTextColor:V.darkest,inputBorderRadius:4},_l=_x,Bx=(()=>{let e;return typeof window<"u"?e=window:typeof globalThis<"u"?e=globalThis:typeof global<"u"?e=global:typeof self<"u"?e=self:e={},e})();const{logger:Rx}=__STORYBOOK_MODULE_CLIENT_LOGGER__;var{window:wu}=Bx,Ix=B(e=>({color:e}),"mkColor"),zx=B(e=>typeof e!="string"?(Rx.warn(`Color passed to theme object should be a string. Instead ${e}(${typeof e}) was passed.`),!1):!0,"isColorString"),Tx=B(e=>!/(gradient|var|calc)/.test(e),"isValidColorForPolished"),Lx=B((e,t)=>e==="darken"?fa(`${bx(1,t)}`,.95):e==="lighten"?fa(`${Dx(1,t)}`,.95):t,"applyPolished"),U3=B(e=>t=>{if(!zx(t)||!Tx(t))return t;try{return Lx(e,t)}catch{return t}},"colorFactory"),Ha=U3("lighten");U3("darken");var q3=B(()=>!wu||!wu.matchMedia?"light":wu.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light","getPreferredColorScheme"),G0={light:_l,dark:kx,normal:_l};q3();var Mx={rubber:"cubic-bezier(0.175, 0.885, 0.335, 1.05)"},Ox=xt` - from { - transform: rotate(0deg); - } - to { - transform: rotate(360deg); - } -`,W3=xt` - 0%, 100% { opacity: 1; } - 50% { opacity: .4; } -`,Px=xt` - 0% { transform: translateY(1px); } - 25% { transform: translateY(0px); } - 50% { transform: translateY(-3px); } - 100% { transform: translateY(1px); } -`,Nx=xt` - 0%, 100% { transform:translate3d(0,0,0); } - 12.5%, 62.5% { transform:translate3d(-4px,0,0); } - 37.5%, 87.5% { transform: translate3d(4px,0,0); } -`,Hx=Es` - animation: ${W3} 1.5s ease-in-out infinite; - color: transparent; - cursor: progress; -`,$x=Es` - transition: all 150ms ease-out; - transform: translate3d(0, 0, 0); - - &:hover { - transform: translate3d(0, -2px, 0); - } - - &:active { - transform: translate3d(0, 0, 0); - } -`,jx={rotate360:Ox,glow:W3,float:Px,jiggle:Nx,inlineGlow:Hx,hoverable:$x},Vx={BASE_FONT_FAMILY:"Menlo, monospace",BASE_FONT_SIZE:"11px",BASE_LINE_HEIGHT:1.2,BASE_BACKGROUND_COLOR:"rgb(36, 36, 36)",BASE_COLOR:"rgb(213, 213, 213)",OBJECT_PREVIEW_ARRAY_MAX_PROPERTIES:10,OBJECT_PREVIEW_OBJECT_MAX_PROPERTIES:5,OBJECT_NAME_COLOR:"rgb(227, 110, 236)",OBJECT_VALUE_NULL_COLOR:"rgb(127, 127, 127)",OBJECT_VALUE_UNDEFINED_COLOR:"rgb(127, 127, 127)",OBJECT_VALUE_REGEXP_COLOR:"rgb(233, 63, 59)",OBJECT_VALUE_STRING_COLOR:"rgb(233, 63, 59)",OBJECT_VALUE_SYMBOL_COLOR:"rgb(233, 63, 59)",OBJECT_VALUE_NUMBER_COLOR:"hsl(252, 100%, 75%)",OBJECT_VALUE_BOOLEAN_COLOR:"hsl(252, 100%, 75%)",OBJECT_VALUE_FUNCTION_PREFIX_COLOR:"rgb(85, 106, 242)",HTML_TAG_COLOR:"rgb(93, 176, 215)",HTML_TAGNAME_COLOR:"rgb(93, 176, 215)",HTML_TAGNAME_TEXT_TRANSFORM:"lowercase",HTML_ATTRIBUTE_NAME_COLOR:"rgb(155, 187, 220)",HTML_ATTRIBUTE_VALUE_COLOR:"rgb(242, 151, 102)",HTML_COMMENT_COLOR:"rgb(137, 137, 137)",HTML_DOCTYPE_COLOR:"rgb(192, 192, 192)",ARROW_COLOR:"rgb(145, 145, 145)",ARROW_MARGIN_RIGHT:3,ARROW_FONT_SIZE:12,ARROW_ANIMATION_DURATION:"0",TREENODE_FONT_FAMILY:"Menlo, monospace",TREENODE_FONT_SIZE:"11px",TREENODE_LINE_HEIGHT:1.2,TREENODE_PADDING_LEFT:12,TABLE_BORDER_COLOR:"rgb(85, 85, 85)",TABLE_TH_BACKGROUND_COLOR:"rgb(44, 44, 44)",TABLE_TH_HOVER_COLOR:"rgb(48, 48, 48)",TABLE_SORT_ICON_COLOR:"black",TABLE_DATA_BACKGROUND_IMAGE:"linear-gradient(rgba(255, 255, 255, 0), rgba(255, 255, 255, 0) 50%, rgba(51, 139, 255, 0.0980392) 50%, rgba(51, 139, 255, 0.0980392))",TABLE_DATA_BACKGROUND_SIZE:"128px 32px"},Ux={BASE_FONT_FAMILY:"Menlo, monospace",BASE_FONT_SIZE:"11px",BASE_LINE_HEIGHT:1.2,BASE_BACKGROUND_COLOR:"white",BASE_COLOR:"black",OBJECT_PREVIEW_ARRAY_MAX_PROPERTIES:10,OBJECT_PREVIEW_OBJECT_MAX_PROPERTIES:5,OBJECT_NAME_COLOR:"rgb(136, 19, 145)",OBJECT_VALUE_NULL_COLOR:"rgb(128, 128, 128)",OBJECT_VALUE_UNDEFINED_COLOR:"rgb(128, 128, 128)",OBJECT_VALUE_REGEXP_COLOR:"rgb(196, 26, 22)",OBJECT_VALUE_STRING_COLOR:"rgb(196, 26, 22)",OBJECT_VALUE_SYMBOL_COLOR:"rgb(196, 26, 22)",OBJECT_VALUE_NUMBER_COLOR:"rgb(28, 0, 207)",OBJECT_VALUE_BOOLEAN_COLOR:"rgb(28, 0, 207)",OBJECT_VALUE_FUNCTION_PREFIX_COLOR:"rgb(13, 34, 170)",HTML_TAG_COLOR:"rgb(168, 148, 166)",HTML_TAGNAME_COLOR:"rgb(136, 18, 128)",HTML_TAGNAME_TEXT_TRANSFORM:"lowercase",HTML_ATTRIBUTE_NAME_COLOR:"rgb(153, 69, 0)",HTML_ATTRIBUTE_VALUE_COLOR:"rgb(26, 26, 166)",HTML_COMMENT_COLOR:"rgb(35, 110, 37)",HTML_DOCTYPE_COLOR:"rgb(192, 192, 192)",ARROW_COLOR:"#6e6e6e",ARROW_MARGIN_RIGHT:3,ARROW_FONT_SIZE:12,ARROW_ANIMATION_DURATION:"0",TREENODE_FONT_FAMILY:"Menlo, monospace",TREENODE_FONT_SIZE:"11px",TREENODE_LINE_HEIGHT:1.2,TREENODE_PADDING_LEFT:12,TABLE_BORDER_COLOR:"#aaa",TABLE_TH_BACKGROUND_COLOR:"#eee",TABLE_TH_HOVER_COLOR:"hsla(0, 0%, 90%, 1)",TABLE_SORT_ICON_COLOR:"#6e6e6e",TABLE_DATA_BACKGROUND_IMAGE:"linear-gradient(to bottom, white, white 50%, rgb(234, 243, 255) 50%, rgb(234, 243, 255))",TABLE_DATA_BACKGROUND_SIZE:"128px 32px"},qx=B(e=>Object.entries(e).reduce((t,[r,n])=>({...t,[r]:Ix(n)}),{}),"convertColors"),Wx=B(({colors:e,mono:t})=>{let r=qx(e);return{token:{fontFamily:t,WebkitFontSmoothing:"antialiased","&.tag":r.red3,"&.comment":{...r.green1,fontStyle:"italic"},"&.prolog":{...r.green1,fontStyle:"italic"},"&.doctype":{...r.green1,fontStyle:"italic"},"&.cdata":{...r.green1,fontStyle:"italic"},"&.string":r.red1,"&.url":r.cyan1,"&.symbol":r.cyan1,"&.number":r.cyan1,"&.boolean":r.cyan1,"&.variable":r.cyan1,"&.constant":r.cyan1,"&.inserted":r.cyan1,"&.atrule":r.blue1,"&.keyword":r.blue1,"&.attr-value":r.blue1,"&.punctuation":r.gray1,"&.operator":r.gray1,"&.function":r.gray1,"&.deleted":r.red2,"&.important":{fontWeight:"bold"},"&.bold":{fontWeight:"bold"},"&.italic":{fontStyle:"italic"},"&.class-name":r.cyan2,"&.selector":r.red3,"&.attr-name":r.red4,"&.property":r.red4,"&.regex":r.red4,"&.entity":r.red4,"&.directive.tag .tag":{background:"#ffff00",...r.gray1}},"language-json .token.boolean":r.blue1,"language-json .token.number":r.blue1,"language-json .token.property":r.cyan2,namespace:{opacity:.7}}},"create"),Gx={green1:"#008000",red1:"#A31515",red2:"#9a050f",red3:"#800000",red4:"#ff0000",gray1:"#393A34",cyan1:"#36acaa",cyan2:"#2B91AF",blue1:"#0000ff",blue2:"#00009f"},Kx={green1:"#7C7C7C",red1:"#92C379",red2:"#9a050f",red3:"#A8FF60",red4:"#96CBFE",gray1:"#EDEDED",cyan1:"#C6C5FE",cyan2:"#FFFFB6",blue1:"#B474DD",blue2:"#00009f"},Yx=B(e=>({primary:e.colorPrimary,secondary:e.colorSecondary,tertiary:V.tertiary,ancillary:V.ancillary,orange:V.orange,gold:V.gold,green:V.green,seafoam:V.seafoam,purple:V.purple,ultraviolet:V.ultraviolet,lightest:V.lightest,lighter:V.lighter,light:V.light,mediumlight:V.mediumlight,medium:V.medium,mediumdark:V.mediumdark,dark:V.dark,darker:V.darker,darkest:V.darkest,border:V.border,positive:V.positive,negative:V.negative,warning:V.warning,critical:V.critical,defaultText:e.textColor||V.darkest,inverseText:e.textInverseColor||V.lightest,positiveText:V.positiveText,negativeText:V.negativeText,warningText:V.warningText}),"createColors"),K0=B((e=G0[q3()])=>{let{base:t,colorPrimary:r,colorSecondary:n,appBg:a,appContentBg:o,appPreviewBg:i,appBorderColor:s,appBorderRadius:c,fontBase:d,fontCode:f,textColor:m,textInverseColor:p,barTextColor:h,barHoverColor:g,barSelectedColor:y,barBg:b,buttonBg:C,buttonBorder:E,booleanBg:D,booleanSelectedBg:w,inputBg:x,inputBorder:S,inputTextColor:F,inputBorderRadius:A,brandTitle:_,brandUrl:R,brandImage:I,brandTarget:T,gridCellSize:L,...P}=e;return{...P,base:t,color:Yx(e),background:{app:a,bar:b,content:o,preview:i,gridCellSize:L||yr.gridCellSize,hoverable:yr.hoverable,positive:yr.positive,negative:yr.negative,warning:yr.warning,critical:yr.critical},typography:{fonts:{base:d,mono:f},weight:Ht.weight,size:Ht.size},animation:jx,easing:Mx,input:{background:x,border:S,borderRadius:A,color:F},button:{background:C||x,border:E||S},boolean:{background:D||S,selectedBackground:w||x},layoutMargin:10,appBorderColor:s,appBorderRadius:c,barTextColor:h,barHoverColor:g||n,barSelectedColor:y||n,barBg:b,brand:{title:_,url:R,image:I||(_?null:void 0),target:T},code:Wx({colors:t==="light"?Gx:Kx,mono:f}),addonActionsTheme:{...t==="light"?Ux:Vx,BASE_FONT_FAMILY:f,BASE_FONT_SIZE:Ht.size.s2-1,BASE_LINE_HEIGHT:"18px",BASE_BACKGROUND_COLOR:"transparent",BASE_COLOR:m,ARROW_COLOR:Cx(.2,s),ARROW_MARGIN_RIGHT:4,ARROW_FONT_SIZE:8,TREENODE_FONT_FAMILY:f,TREENODE_FONT_SIZE:Ht.size.s2-1,TREENODE_LINE_HEIGHT:"18px",TREENODE_PADDING_LEFT:12}}},"convert");const{logger:Jx}=__STORYBOOK_MODULE_CLIENT_LOGGER__;var Zx=B(e=>Object.keys(e).length===0,"isEmpty"),Du=B(e=>e!=null&&typeof e=="object","isObject"),Xx=B((e,...t)=>Object.prototype.hasOwnProperty.call(e,...t),"hasOwnProperty"),Qx=B(()=>Object.create(null),"makeObjectWithoutPrototype"),G3=B((e,t)=>e===t||!Du(e)||!Du(t)?{}:Object.keys(e).reduce((r,n)=>{if(Xx(t,n)){let a=G3(e[n],t[n]);return Du(a)&&Zx(a)||(r[n]=a),r}return r[n]=void 0,r},Qx()),"deletedDiff"),eS=G3;function K3(e){for(var t=[],r=1;r{if(!e)return K0(_l);let t=eS(_l,e);return Object.keys(t).length&&Jx.warn(K3` - Your theme is missing properties, you should update your theme! - - theme-data missing: - `,t),K0(e)},"ensure"),Y0="/* emotion-disable-server-rendering-unsafe-selector-warning-please-do-not-use-this-the-warning-exists-for-a-reason */",rS=Object.create,Cs=Object.defineProperty,nS=Object.getOwnPropertyDescriptor,aS=Object.getOwnPropertyNames,oS=Object.getPrototypeOf,iS=Object.prototype.hasOwnProperty,u=(e,t)=>Cs(e,"name",{value:t,configurable:!0}),Ei=(e=>typeof require<"u"?require:typeof Proxy<"u"?new Proxy(e,{get:(t,r)=>(typeof require<"u"?require:t)[r]}):e)(function(e){if(typeof require<"u")return require.apply(this,arguments);throw Error('Dynamic require of "'+e+'" is not supported')}),z=(e,t)=>()=>(e&&(t=e(e=0)),t),U=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),Sa=(e,t)=>{for(var r in t)Cs(e,r,{get:t[r],enumerable:!0})},lS=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of aS(t))!iS.call(e,a)&&a!==r&&Cs(e,a,{get:()=>t[a],enumerable:!(n=nS(t,a))||n.enumerable});return e},Ce=(e,t,r)=>(r=e!=null?rS(oS(e)):{},lS(t||!e||!e.__esModule?Cs(r,"default",{value:e,enumerable:!0}):r,e));function Te(){return Te=Object.assign?Object.assign.bind():function(e){for(var t=1;t{u(Te,"_extends")});function Y3(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}var sS=z(()=>{u(Y3,"_assertThisInitialized")});function ha(e,t){return ha=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,n){return r.__proto__=n,r},ha(e,t)}var hp=z(()=>{u(ha,"_setPrototypeOf")});function Bl(e){return Bl=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},Bl(e)}var uS=z(()=>{u(Bl,"_getPrototypeOf")}),Ss,mp=z(()=>{Ss=(()=>{let e;return typeof window<"u"?e=window:typeof globalThis<"u"?e=globalThis:typeof global<"u"?e=global:typeof self<"u"?e=self:e={},e})()}),Fs=U((e,t)=>{(function(r){if(typeof e=="object"&&typeof t<"u")t.exports=r();else if(typeof define=="function"&&define.amd)define([],r);else{var n;typeof window<"u"?n=window:typeof global<"u"?n=global:typeof self<"u"?n=self:n=this,n.memoizerific=r()}})(function(){return u(function r(n,a,o){function i(d,f){if(!a[d]){if(!n[d]){var m=typeof Ei=="function"&&Ei;if(!f&&m)return m(d,!0);if(s)return s(d,!0);var p=new Error("Cannot find module '"+d+"'");throw p.code="MODULE_NOT_FOUND",p}var h=a[d]={exports:{}};n[d][0].call(h.exports,function(g){var y=n[d][1][g];return i(y||g)},h,h.exports,r,n,a,o)}return a[d].exports}u(i,"s");for(var s=typeof Ei=="function"&&Ei,c=0;c=0)return this.lastItem=this.list[s],this.list[s].val},o.prototype.set=function(i,s){var c;return this.lastItem&&this.isEqual(this.lastItem.key,i)?(this.lastItem.val=s,this):(c=this.indexOf(i),c>=0?(this.lastItem=this.list[c],this.list[c].val=s,this):(this.lastItem={key:i,val:s},this.list.push(this.lastItem),this.size++,this))},o.prototype.delete=function(i){var s;if(this.lastItem&&this.isEqual(this.lastItem.key,i)&&(this.lastItem=void 0),s=this.indexOf(i),s>=0)return this.size--,this.list.splice(s,1)[0]},o.prototype.has=function(i){var s;return this.lastItem&&this.isEqual(this.lastItem.key,i)?!0:(s=this.indexOf(i),s>=0?(this.lastItem=this.list[s],!0):!1)},o.prototype.forEach=function(i,s){var c;for(c=0;c0&&(E[C]={cacheItem:g,arg:arguments[C]},D?i(m,E):m.push(E),m.length>d&&s(m.shift())),h.wasMemoized=D,h.numArgs=C+1,b},"memoizerific");return h.limit=d,h.wasMemoized=!1,h.cache=f,h.lru=m,h}};function i(d,f){var m=d.length,p=f.length,h,g,y;for(g=0;g=0&&(m=d[h],p=m.cacheItem.get(m.arg),!p||!p.size);h--)m.cacheItem.delete(m.arg)}u(s,"removeCachedResult");function c(d,f){return d===f||d!==d&&f!==f}u(c,"isEqual")},{"map-or-similar":1}]},{},[3])(3)})});function As(e,t){if(e==null)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(t.indexOf(n)>=0)continue;r[n]=e[n]}return r}var gp=z(()=>{u(As,"_objectWithoutPropertiesLoose")});function J3(e,t){if(e==null)return{};var r,n,a=As(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n=0||{}.propertyIsEnumerable.call(e,r)&&(a[r]=e[r])}return a}var cS=z(()=>{gp(),u(J3,"_objectWithoutProperties")});function Rl(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r{u(Rl,"_arrayLikeToArray")});function X3(e){if(Array.isArray(e))return Rl(e)}var dS=z(()=>{Z3(),u(X3,"_arrayWithoutHoles")});function Q3(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}var pS=z(()=>{u(Q3,"_iterableToArray")});function ey(e,t){if(e){if(typeof e=="string")return Rl(e,t);var r={}.toString.call(e).slice(8,-1);return r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set"?Array.from(e):r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Rl(e,t):void 0}}var fS=z(()=>{Z3(),u(ey,"_unsupportedIterableToArray")});function ty(){throw new TypeError(`Invalid attempt to spread non-iterable instance. -In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var hS=z(()=>{u(ty,"_nonIterableSpread")});function ry(e){return X3(e)||Q3(e)||ey(e)||ty()}var mS=z(()=>{dS(),pS(),fS(),hS(),u(ry,"_toConsumableArray")});function ma(e){"@babel/helpers - typeof";return ma=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},ma(e)}var ny=z(()=>{u(ma,"_typeof")});function ay(e,t){if(ma(e)!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t||"default");if(ma(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var gS=z(()=>{ny(),u(ay,"toPrimitive")});function oy(e){var t=ay(e,"string");return ma(t)=="symbol"?t:t+""}var vS=z(()=>{ny(),gS(),u(oy,"toPropertyKey")});function vp(e,t,r){return(t=oy(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var iy=z(()=>{vS(),u(vp,"_defineProperty")});function J0(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),r.push.apply(r,n)}return r}function Xr(e){for(var t=1;t=4)return[e[0],e[1],e[2],e[3],"".concat(e[0],".").concat(e[1]),"".concat(e[0],".").concat(e[2]),"".concat(e[0],".").concat(e[3]),"".concat(e[1],".").concat(e[0]),"".concat(e[1],".").concat(e[2]),"".concat(e[1],".").concat(e[3]),"".concat(e[2],".").concat(e[0]),"".concat(e[2],".").concat(e[1]),"".concat(e[2],".").concat(e[3]),"".concat(e[3],".").concat(e[0]),"".concat(e[3],".").concat(e[1]),"".concat(e[3],".").concat(e[2]),"".concat(e[0],".").concat(e[1],".").concat(e[2]),"".concat(e[0],".").concat(e[1],".").concat(e[3]),"".concat(e[0],".").concat(e[2],".").concat(e[1]),"".concat(e[0],".").concat(e[2],".").concat(e[3]),"".concat(e[0],".").concat(e[3],".").concat(e[1]),"".concat(e[0],".").concat(e[3],".").concat(e[2]),"".concat(e[1],".").concat(e[0],".").concat(e[2]),"".concat(e[1],".").concat(e[0],".").concat(e[3]),"".concat(e[1],".").concat(e[2],".").concat(e[0]),"".concat(e[1],".").concat(e[2],".").concat(e[3]),"".concat(e[1],".").concat(e[3],".").concat(e[0]),"".concat(e[1],".").concat(e[3],".").concat(e[2]),"".concat(e[2],".").concat(e[0],".").concat(e[1]),"".concat(e[2],".").concat(e[0],".").concat(e[3]),"".concat(e[2],".").concat(e[1],".").concat(e[0]),"".concat(e[2],".").concat(e[1],".").concat(e[3]),"".concat(e[2],".").concat(e[3],".").concat(e[0]),"".concat(e[2],".").concat(e[3],".").concat(e[1]),"".concat(e[3],".").concat(e[0],".").concat(e[1]),"".concat(e[3],".").concat(e[0],".").concat(e[2]),"".concat(e[3],".").concat(e[1],".").concat(e[0]),"".concat(e[3],".").concat(e[1],".").concat(e[2]),"".concat(e[3],".").concat(e[2],".").concat(e[0]),"".concat(e[3],".").concat(e[2],".").concat(e[1]),"".concat(e[0],".").concat(e[1],".").concat(e[2],".").concat(e[3]),"".concat(e[0],".").concat(e[1],".").concat(e[3],".").concat(e[2]),"".concat(e[0],".").concat(e[2],".").concat(e[1],".").concat(e[3]),"".concat(e[0],".").concat(e[2],".").concat(e[3],".").concat(e[1]),"".concat(e[0],".").concat(e[3],".").concat(e[1],".").concat(e[2]),"".concat(e[0],".").concat(e[3],".").concat(e[2],".").concat(e[1]),"".concat(e[1],".").concat(e[0],".").concat(e[2],".").concat(e[3]),"".concat(e[1],".").concat(e[0],".").concat(e[3],".").concat(e[2]),"".concat(e[1],".").concat(e[2],".").concat(e[0],".").concat(e[3]),"".concat(e[1],".").concat(e[2],".").concat(e[3],".").concat(e[0]),"".concat(e[1],".").concat(e[3],".").concat(e[0],".").concat(e[2]),"".concat(e[1],".").concat(e[3],".").concat(e[2],".").concat(e[0]),"".concat(e[2],".").concat(e[0],".").concat(e[1],".").concat(e[3]),"".concat(e[2],".").concat(e[0],".").concat(e[3],".").concat(e[1]),"".concat(e[2],".").concat(e[1],".").concat(e[0],".").concat(e[3]),"".concat(e[2],".").concat(e[1],".").concat(e[3],".").concat(e[0]),"".concat(e[2],".").concat(e[3],".").concat(e[0],".").concat(e[1]),"".concat(e[2],".").concat(e[3],".").concat(e[1],".").concat(e[0]),"".concat(e[3],".").concat(e[0],".").concat(e[1],".").concat(e[2]),"".concat(e[3],".").concat(e[0],".").concat(e[2],".").concat(e[1]),"".concat(e[3],".").concat(e[1],".").concat(e[0],".").concat(e[2]),"".concat(e[3],".").concat(e[1],".").concat(e[2],".").concat(e[0]),"".concat(e[3],".").concat(e[2],".").concat(e[0],".").concat(e[1]),"".concat(e[3],".").concat(e[2],".").concat(e[1],".").concat(e[0])]}function sy(e){if(e.length===0||e.length===1)return e;var t=e.join(".");return rl[t]||(rl[t]=ly(e)),rl[t]}function uy(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=arguments.length>2?arguments[2]:void 0,n=e.filter(function(o){return o!=="token"}),a=sy(n);return a.reduce(function(o,i){return Xr(Xr({},o),r[i])},t)}function Z0(e){return e.join(" ")}function cy(e,t){var r=0;return function(n){return r+=1,n.map(function(a,o){return ks({node:a,stylesheet:e,useInlineStyles:t,key:"code-segment-".concat(r,"-").concat(o)})})}}function ks(e){var t=e.node,r=e.stylesheet,n=e.style,a=n===void 0?{}:n,o=e.useInlineStyles,i=e.key,s=t.properties,c=t.type,d=t.tagName,f=t.value;if(c==="text")return f;if(d){var m=cy(r,o),p;if(!o)p=Xr(Xr({},s),{},{className:Z0(s.className)});else{var h=Object.keys(r).reduce(function(C,E){return E.split(".").forEach(function(D){C.includes(D)||C.push(D)}),C},[]),g=s.className&&s.className.includes("token")?["token"]:[],y=s.className&&g.concat(s.className.filter(function(C){return!h.includes(C)}));p=Xr(Xr({},s),{},{className:Z0(y)||void 0,style:uy(s.className,Object.assign({},s.style,a),r)})}var b=m(t.children);return v.createElement(d,Te({key:i},p),b)}}var rl,dy=z(()=>{xs(),iy(),u(J0,"ownKeys"),u(Xr,"_objectSpread"),u(ly,"powerSetPermutations"),rl={},u(sy,"getClassNameCombinations"),u(uy,"createStyleObject"),u(Z0,"createClassNameString"),u(cy,"createChildren"),u(ks,"createElement")}),py,yS=z(()=>{py=u(function(e,t){var r=e.listLanguages();return r.indexOf(t)!==-1},"default")});function X0(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),r.push.apply(r,n)}return r}function ft(e){for(var t=1;t1&&arguments[1]!==void 0?arguments[1]:[],r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[],n=0;n2&&arguments[2]!==void 0?arguments[2]:[];return xo({children:x,lineNumber:S,lineNumberStyle:s,largestLineNumber:i,showInlineLineNumbers:a,lineProps:r,className:F,showLineNumbers:n,wrapLongLines:c})}u(g,"createWrappedLine");function y(x,S){if(n&&S&&a){var F=bp(s,S,i);x.unshift(yp(S,F))}return x}u(y,"createUnwrappedLine");function b(x,S){var F=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[];return t||F.length>0?g(x,S,F):y(x,S)}u(b,"createLine");for(var C=u(function(){var x=f[h],S=x.children[0].value,F=fy(S);if(F){var A=S.split(` -`);A.forEach(function(_,R){var I=n&&m.length+o,T={type:"text",value:"".concat(_,` -`)};if(R===0){var L=f.slice(p+1,h).concat(xo({children:[T],className:x.properties.className})),P=b(L,I);m.push(P)}else if(R===A.length-1){var M=f[h+1]&&f[h+1].children&&f[h+1].children[0],N={type:"text",value:"".concat(_)};if(M){var q=xo({children:[N],className:x.properties.className});f.splice(h+1,0,q)}else{var W=[N],G=b(W,I,x.properties.className);m.push(G)}}else{var J=[T],te=b(J,I,x.properties.className);m.push(te)}}),p=h}h++},"_loop");h{cS(),mS(),iy(),dy(),yS(),Dy=["language","children","style","customStyle","codeTagProps","useInlineStyles","showLineNumbers","showInlineLineNumbers","startingLineNumber","lineNumberContainerStyle","lineNumberStyle","wrapLines","wrapLongLines","lineProps","renderer","PreTag","CodeTag","code","astGenerator"],u(X0,"ownKeys"),u(ft,"_objectSpread"),Ey=/\n/g,u(fy,"getNewLines"),u(hy,"getAllLineNumbers"),u(my,"AllLineNumbers"),u(gy,"getEmWidthOfNumber"),u(yp,"getInlineLineNumber"),u(bp,"assembleLineNumberStyles"),u(xo,"createLineElement"),u(wp,"flattenCodeTree"),u(vy,"processLines"),u(yy,"defaultRenderer"),u(Dp,"isHighlightJs"),u(by,"getCodeTree"),u(wy,"default")}),wS=U((e,t)=>{t.exports=n;var r=Object.prototype.hasOwnProperty;function n(){for(var a={},o=0;o{t.exports=n;var r=n.prototype;r.space=null,r.normal={},r.property={};function n(a,o,i){this.property=a,this.normal=o,i&&(this.space=i)}u(n,"Schema")}),DS=U((e,t)=>{var r=wS(),n=Cy();t.exports=a;function a(o){for(var i=o.length,s=[],c=[],d=-1,f,m;++d{t.exports=r;function r(n){return n.toLowerCase()}u(r,"normalize")}),xy=U((e,t)=>{t.exports=n;var r=n.prototype;r.space=null,r.attribute=null,r.property=null,r.boolean=!1,r.booleanish=!1,r.overloadedBoolean=!1,r.number=!1,r.commaSeparated=!1,r.spaceSeparated=!1,r.commaOrSpaceSeparated=!1,r.mustUseProperty=!1,r.defined=!1;function n(a,o){this.property=a,this.attribute=o}u(n,"Info")}),Cp=U(e=>{var t=0;e.boolean=r(),e.booleanish=r(),e.overloadedBoolean=r(),e.number=r(),e.spaceSeparated=r(),e.commaSeparated=r(),e.commaOrSpaceSeparated=r();function r(){return Math.pow(2,++t)}u(r,"increment")}),Sy=U((e,t)=>{var r=xy(),n=Cp();t.exports=i,i.prototype=new r,i.prototype.defined=!0;var a=["boolean","booleanish","overloadedBoolean","number","commaSeparated","spaceSeparated","commaOrSpaceSeparated"],o=a.length;function i(c,d,f,m){var p=-1,h;for(s(this,"space",m),r.call(this,c,d);++p{var r=Ep(),n=Cy(),a=Sy();t.exports=o;function o(i){var s=i.space,c=i.mustUseProperty||[],d=i.attributes||{},f=i.properties,m=i.transform,p={},h={},g,y;for(g in f)y=new a(g,m(d,g),f[g],s),c.indexOf(g)!==-1&&(y.mustUseProperty=!0),p[g]=y,h[r(g)]=g,h[r(y.attribute)]=g;return new n(p,h,s)}u(o,"create")}),ES=U((e,t)=>{var r=Jo();t.exports=r({space:"xlink",transform:n,properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null}});function n(a,o){return"xlink:"+o.slice(5).toLowerCase()}u(n,"xlinkTransform")}),CS=U((e,t)=>{var r=Jo();t.exports=r({space:"xml",transform:n,properties:{xmlLang:null,xmlBase:null,xmlSpace:null}});function n(a,o){return"xml:"+o.slice(3).toLowerCase()}u(n,"xmlTransform")}),xS=U((e,t)=>{t.exports=r;function r(n,a){return a in n?n[a]:a}u(r,"caseSensitiveTransform")}),Fy=U((e,t)=>{var r=xS();t.exports=n;function n(a,o){return r(a,o.toLowerCase())}u(n,"caseInsensitiveTransform")}),SS=U((e,t)=>{var r=Jo(),n=Fy();t.exports=r({space:"xmlns",attributes:{xmlnsxlink:"xmlns:xlink"},transform:n,properties:{xmlns:null,xmlnsXLink:null}})}),FS=U((e,t)=>{var r=Cp(),n=Jo(),a=r.booleanish,o=r.number,i=r.spaceSeparated;t.exports=n({transform:s,properties:{ariaActiveDescendant:null,ariaAtomic:a,ariaAutoComplete:null,ariaBusy:a,ariaChecked:a,ariaColCount:o,ariaColIndex:o,ariaColSpan:o,ariaControls:i,ariaCurrent:null,ariaDescribedBy:i,ariaDetails:null,ariaDisabled:a,ariaDropEffect:i,ariaErrorMessage:null,ariaExpanded:a,ariaFlowTo:i,ariaGrabbed:a,ariaHasPopup:null,ariaHidden:a,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:i,ariaLevel:o,ariaLive:null,ariaModal:a,ariaMultiLine:a,ariaMultiSelectable:a,ariaOrientation:null,ariaOwns:i,ariaPlaceholder:null,ariaPosInSet:o,ariaPressed:a,ariaReadOnly:a,ariaRelevant:null,ariaRequired:a,ariaRoleDescription:i,ariaRowCount:o,ariaRowIndex:o,ariaRowSpan:o,ariaSelected:a,ariaSetSize:o,ariaSort:null,ariaValueMax:o,ariaValueMin:o,ariaValueNow:o,ariaValueText:null,role:null}});function s(c,d){return d==="role"?d:"aria-"+d.slice(4).toLowerCase()}u(s,"ariaTransform")}),AS=U((e,t)=>{var r=Cp(),n=Jo(),a=Fy(),o=r.boolean,i=r.overloadedBoolean,s=r.booleanish,c=r.number,d=r.spaceSeparated,f=r.commaSeparated;t.exports=n({space:"html",attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},transform:a,mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:f,acceptCharset:d,accessKey:d,action:null,allow:null,allowFullScreen:o,allowPaymentRequest:o,allowUserMedia:o,alt:null,as:null,async:o,autoCapitalize:null,autoComplete:d,autoFocus:o,autoPlay:o,capture:o,charSet:null,checked:o,cite:null,className:d,cols:c,colSpan:null,content:null,contentEditable:s,controls:o,controlsList:d,coords:c|f,crossOrigin:null,data:null,dateTime:null,decoding:null,default:o,defer:o,dir:null,dirName:null,disabled:o,download:i,draggable:s,encType:null,enterKeyHint:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:o,formTarget:null,headers:d,height:c,hidden:o,high:c,href:null,hrefLang:null,htmlFor:d,httpEquiv:d,id:null,imageSizes:null,imageSrcSet:f,inputMode:null,integrity:null,is:null,isMap:o,itemId:null,itemProp:d,itemRef:d,itemScope:o,itemType:d,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:o,low:c,manifest:null,max:null,maxLength:c,media:null,method:null,min:null,minLength:c,multiple:o,muted:o,name:null,nonce:null,noModule:o,noValidate:o,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforePrint:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextMenu:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:o,optimum:c,pattern:null,ping:d,placeholder:null,playsInline:o,poster:null,preload:null,readOnly:o,referrerPolicy:null,rel:d,required:o,reversed:o,rows:c,rowSpan:c,sandbox:d,scope:null,scoped:o,seamless:o,selected:o,shape:null,size:c,sizes:null,slot:null,span:c,spellCheck:s,src:null,srcDoc:null,srcLang:null,srcSet:f,start:c,step:null,style:null,tabIndex:c,target:null,title:null,translate:null,type:null,typeMustMatch:o,useMap:null,value:s,width:c,wrap:null,align:null,aLink:null,archive:d,axis:null,background:null,bgColor:null,border:c,borderColor:null,bottomMargin:c,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:o,declare:o,event:null,face:null,frame:null,frameBorder:null,hSpace:c,leftMargin:c,link:null,longDesc:null,lowSrc:null,marginHeight:c,marginWidth:c,noResize:o,noHref:o,noShade:o,noWrap:o,object:null,profile:null,prompt:null,rev:null,rightMargin:c,rules:null,scheme:null,scrolling:s,standby:null,summary:null,text:null,topMargin:c,valueType:null,version:null,vAlign:null,vLink:null,vSpace:c,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:o,disableRemotePlayback:o,prefix:null,property:null,results:c,security:null,unselectable:null}})}),kS=U((e,t)=>{var r=DS(),n=ES(),a=CS(),o=SS(),i=FS(),s=AS();t.exports=r([a,n,o,i,s])}),_S=U((e,t)=>{var r=Ep(),n=Sy(),a=xy(),o="data";t.exports=d;var i=/^data[-\w.:]+$/i,s=/-[a-z]/g,c=/[A-Z]/g;function d(g,y){var b=r(y),C=y,E=a;return b in g.normal?g.property[g.normal[b]]:(b.length>4&&b.slice(0,4)===o&&i.test(y)&&(y.charAt(4)==="-"?C=f(y):y=m(y),E=n),new E(C,y))}u(d,"find");function f(g){var y=g.slice(5).replace(s,h);return o+y.charAt(0).toUpperCase()+y.slice(1)}u(f,"datasetToProperty");function m(g){var y=g.slice(4);return s.test(y)?g:(y=y.replace(c,p),y.charAt(0)!=="-"&&(y="-"+y),o+y)}u(m,"datasetToAttribute");function p(g){return"-"+g.toLowerCase()}u(p,"kebab");function h(g){return g.charAt(1).toUpperCase()}u(h,"camelcase")}),BS=U((e,t)=>{t.exports=n;var r=/[#.]/g;function n(a,o){for(var i=a||"",s=o||"div",c={},d=0,f,m,p;d{e.parse=a,e.stringify=o;var t="",r=" ",n=/[ \t\n\r\f]+/g;function a(i){var s=String(i||t).trim();return s===t?[]:s.split(n)}u(a,"parse");function o(i){return i.join(r).trim()}u(o,"stringify")}),IS=U(e=>{e.parse=a,e.stringify=o;var t=",",r=" ",n="";function a(i){for(var s=[],c=String(i||n),d=c.indexOf(t),f=0,m=!1,p;!m;)d===-1&&(d=c.length,m=!0),p=c.slice(f,d).trim(),(p||!m)&&s.push(p),f=d+1,d=c.indexOf(t,f);return s}u(a,"parse");function o(i,s){var c=s||{},d=c.padLeft===!1?n:r,f=c.padRight?r:n;return i[i.length-1]===n&&(i=i.concat(n)),i.join(f+t+d).trim()}u(o,"stringify")}),zS=U((e,t)=>{var r=_S(),n=Ep(),a=BS(),o=RS().parse,i=IS().parse;t.exports=c;var s={}.hasOwnProperty;function c(b,C,E){var D=E?y(E):null;return w;function w(S,F){var A=a(S,C),_=Array.prototype.slice.call(arguments,2),R=A.tagName.toLowerCase(),I;if(A.tagName=D&&s.call(D,R)?D[R]:R,F&&d(F,A)&&(_.unshift(F),F=null),F)for(I in F)x(A.properties,I,F[I]);return m(A.children,_),A.tagName==="template"&&(A.content={type:"root",children:A.children},A.children=[]),A}function x(S,F,A){var _,R,I;A==null||A!==A||(_=r(b,F),R=_.property,I=A,typeof I=="string"&&(_.spaceSeparated?I=o(I):_.commaSeparated?I=i(I):_.commaOrSpaceSeparated&&(I=o(i(I).join(" ")))),R==="style"&&typeof A!="string"&&(I=g(I)),R==="className"&&S.className&&(I=S.className.concat(I)),S[R]=p(_,R,I))}}u(c,"factory");function d(b,C){return typeof b=="string"||"length"in b||f(C.tagName,b)}u(d,"isChildren");function f(b,C){var E=C.type;return b==="input"||!E||typeof E!="string"?!1:typeof C.children=="object"&&"length"in C.children?!0:(E=E.toLowerCase(),b==="button"?E!=="menu"&&E!=="submit"&&E!=="reset"&&E!=="button":"value"in C)}u(f,"isNode");function m(b,C){var E,D;if(typeof C=="string"||typeof C=="number"){b.push({type:"text",value:String(C)});return}if(typeof C=="object"&&"length"in C){for(E=-1,D=C.length;++E{var r=kS(),n=zS(),a=n(r,"div");a.displayName="html",t.exports=a}),LS=U((e,t)=>{t.exports=TS()}),MS=U((e,t)=>{t.exports={AElig:"Æ",AMP:"&",Aacute:"Á",Acirc:"Â",Agrave:"À",Aring:"Å",Atilde:"Ã",Auml:"Ä",COPY:"©",Ccedil:"Ç",ETH:"Ð",Eacute:"É",Ecirc:"Ê",Egrave:"È",Euml:"Ë",GT:">",Iacute:"Í",Icirc:"Î",Igrave:"Ì",Iuml:"Ï",LT:"<",Ntilde:"Ñ",Oacute:"Ó",Ocirc:"Ô",Ograve:"Ò",Oslash:"Ø",Otilde:"Õ",Ouml:"Ö",QUOT:'"',REG:"®",THORN:"Þ",Uacute:"Ú",Ucirc:"Û",Ugrave:"Ù",Uuml:"Ü",Yacute:"Ý",aacute:"á",acirc:"â",acute:"´",aelig:"æ",agrave:"à",amp:"&",aring:"å",atilde:"ã",auml:"ä",brvbar:"¦",ccedil:"ç",cedil:"¸",cent:"¢",copy:"©",curren:"¤",deg:"°",divide:"÷",eacute:"é",ecirc:"ê",egrave:"è",eth:"ð",euml:"ë",frac12:"½",frac14:"¼",frac34:"¾",gt:">",iacute:"í",icirc:"î",iexcl:"¡",igrave:"ì",iquest:"¿",iuml:"ï",laquo:"«",lt:"<",macr:"¯",micro:"µ",middot:"·",nbsp:" ",not:"¬",ntilde:"ñ",oacute:"ó",ocirc:"ô",ograve:"ò",ordf:"ª",ordm:"º",oslash:"ø",otilde:"õ",ouml:"ö",para:"¶",plusmn:"±",pound:"£",quot:'"',raquo:"»",reg:"®",sect:"§",shy:"­",sup1:"¹",sup2:"²",sup3:"³",szlig:"ß",thorn:"þ",times:"×",uacute:"ú",ucirc:"û",ugrave:"ù",uml:"¨",uuml:"ü",yacute:"ý",yen:"¥",yuml:"ÿ"}}),OS=U((e,t)=>{t.exports={0:"�",128:"€",130:"‚",131:"ƒ",132:"„",133:"…",134:"†",135:"‡",136:"ˆ",137:"‰",138:"Š",139:"‹",140:"Œ",142:"Ž",145:"‘",146:"’",147:"“",148:"”",149:"•",150:"–",151:"—",152:"˜",153:"™",154:"š",155:"›",156:"œ",158:"ž",159:"Ÿ"}}),Ay=U((e,t)=>{t.exports=r;function r(n){var a=typeof n=="string"?n.charCodeAt(0):n;return a>=48&&a<=57}u(r,"decimal")}),PS=U((e,t)=>{t.exports=r;function r(n){var a=typeof n=="string"?n.charCodeAt(0):n;return a>=97&&a<=102||a>=65&&a<=70||a>=48&&a<=57}u(r,"hexadecimal")}),NS=U((e,t)=>{t.exports=r;function r(n){var a=typeof n=="string"?n.charCodeAt(0):n;return a>=97&&a<=122||a>=65&&a<=90}u(r,"alphabetical")}),HS=U((e,t)=>{var r=NS(),n=Ay();t.exports=a;function a(o){return r(o)||n(o)}u(a,"alphanumerical")}),$S=U((e,t)=>{var r,n=59;t.exports=a;function a(o){var i="&"+o+";",s;return r=r||document.createElement("i"),r.innerHTML=i,s=r.textContent,s.charCodeAt(s.length-1)===n&&o!=="semi"||s===i?!1:s}u(a,"decodeEntity")}),jS=U((e,t)=>{var r=MS(),n=OS(),a=Ay(),o=PS(),i=HS(),s=$S();t.exports=te;var c={}.hasOwnProperty,d=String.fromCharCode,f=Function.prototype,m={warning:null,reference:null,text:null,warningContext:null,referenceContext:null,textContext:null,position:{},additional:null,attribute:!1,nonTerminated:!0},p=9,h=10,g=12,y=32,b=38,C=59,E=60,D=61,w=35,x=88,S=120,F=65533,A="named",_="hexadecimal",R="decimal",I={};I[_]=16,I[R]=10;var T={};T[A]=i,T[R]=a,T[_]=o;var L=1,P=2,M=3,N=4,q=5,W=6,G=7,J={};J[L]="Named character references must be terminated by a semicolon",J[P]="Numeric character references must be terminated by a semicolon",J[M]="Named character references cannot be empty",J[N]="Numeric character references cannot be empty",J[q]="Named character references must be known",J[W]="Numeric character references cannot be disallowed",J[G]="Numeric character references cannot be outside the permissible Unicode range";function te($,Z){var re={},fe,xe;Z||(Z={});for(xe in m)fe=Z[xe],re[xe]=fe??m[xe];return(re.position.indent||re.position.start)&&(re.indent=re.position.indent||[],re.position=re.position.start),ne($,re)}u(te,"parseEntities");function ne($,Z){var re=Z.additional,fe=Z.nonTerminated,xe=Z.text,At=Z.reference,We=Z.warning,ot=Z.textContext,H=Z.referenceContext,it=Z.warningContext,kt=Z.position,Mr=Z.indent||[],kn=$.length,_t=0,vi=-1,Re=kt.column||1,Or=kt.line||1,Bt="",_n=[],Rt,Bn,It,Se,lt,ye,ce,zt,yi,mu,Pr,Oa,Nr,tr,Ch,Pa,bi,Tt,be;for(typeof re=="string"&&(re=re.charCodeAt(0)),Pa=Na(),zt=We?j9:f,_t--,kn++;++_t65535&&(ye-=65536,mu+=d(ye>>>10|55296),ye=56320|ye&1023),ye=mu+d(ye))):tr!==A&&zt(N,Tt)),ye?(xh(),Pa=Na(),_t=be-1,Re+=be-Nr+1,_n.push(ye),bi=Na(),bi.offset++,At&&At.call(H,ye,{start:Pa,end:bi},$.slice(Nr-1,be)),Pa=bi):(Se=$.slice(Nr-1,be),Bt+=Se,Re+=Se.length,_t=be-1)}else lt===10&&(Or++,vi++,Re=0),lt===lt?(Bt+=d(lt),Re++):xh();return _n.join("");function Na(){return{line:Or,column:Re,offset:_t+(kt.offset||0)}}function j9(Sh,Fh){var gu=Na();gu.column+=Fh,gu.offset+=Fh,We.call(it,J[Sh],gu,Sh)}function xh(){Bt&&(_n.push(Bt),xe&&xe.call(ot,Bt,{start:Pa,end:Na()}),Bt="")}}u(ne,"parse");function X($){return $>=55296&&$<=57343||$>1114111}u(X,"prohibited");function ie($){return $>=1&&$<=8||$===11||$>=13&&$<=31||$>=127&&$<=159||$>=64976&&$<=65007||($&65535)===65535||($&65535)===65534}u(ie,"disallowed")}),VS=U((e,t)=>{var r=typeof window<"u"?window:typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope?self:{},n=function(a){var o=/(?:^|\s)lang(?:uage)?-([\w-]+)(?=\s|$)/i,i=0,s={},c={manual:a.Prism&&a.Prism.manual,disableWorkerMessageHandler:a.Prism&&a.Prism.disableWorkerMessageHandler,util:{encode:u(function D(w){return w instanceof d?new d(w.type,D(w.content),w.alias):Array.isArray(w)?w.map(D):w.replace(/&/g,"&").replace(/"u")return null;if("currentScript"in document)return document.currentScript;try{throw new Error}catch(S){var D=(/at [^(\r\n]*\((.*):[^:]+:[^:]+\)$/i.exec(S.stack)||[])[1];if(D){var w=document.getElementsByTagName("script");for(var x in w)if(w[x].src==D)return w[x]}return null}},"currentScript"),isActive:u(function(D,w,x){for(var S="no-"+w;D;){var F=D.classList;if(F.contains(w))return!0;if(F.contains(S))return!1;D=D.parentElement}return!!x},"isActive")},languages:{plain:s,plaintext:s,text:s,txt:s,extend:u(function(D,w){var x=c.util.clone(c.languages[D]);for(var S in w)x[S]=w[S];return x},"extend"),insertBefore:u(function(D,w,x,S){S=S||c.languages;var F=S[D],A={};for(var _ in F)if(F.hasOwnProperty(_)){if(_==w)for(var R in x)x.hasOwnProperty(R)&&(A[R]=x[R]);x.hasOwnProperty(_)||(A[_]=F[_])}var I=S[D];return S[D]=A,c.languages.DFS(c.languages,function(T,L){L===I&&T!=D&&(this[T]=A)}),A},"insertBefore"),DFS:u(function D(w,x,S,F){F=F||{};var A=c.util.objId;for(var _ in w)if(w.hasOwnProperty(_)){x.call(w,_,w[_],S||_);var R=w[_],I=c.util.type(R);I==="Object"&&!F[A(R)]?(F[A(R)]=!0,D(R,x,null,F)):I==="Array"&&!F[A(R)]&&(F[A(R)]=!0,D(R,x,_,F))}},"DFS")},plugins:{},highlightAll:u(function(D,w){c.highlightAllUnder(document,D,w)},"highlightAll"),highlightAllUnder:u(function(D,w,x){var S={callback:x,container:D,selector:'code[class*="language-"], [class*="language-"] code, code[class*="lang-"], [class*="lang-"] code'};c.hooks.run("before-highlightall",S),S.elements=Array.prototype.slice.apply(S.container.querySelectorAll(S.selector)),c.hooks.run("before-all-elements-highlight",S);for(var F=0,A;A=S.elements[F++];)c.highlightElement(A,w===!0,S.callback)},"highlightAllUnder"),highlightElement:u(function(D,w,x){var S=c.util.getLanguage(D),F=c.languages[S];c.util.setLanguage(D,S);var A=D.parentElement;A&&A.nodeName.toLowerCase()==="pre"&&c.util.setLanguage(A,S);var _=D.textContent,R={element:D,language:S,grammar:F,code:_};function I(L){R.highlightedCode=L,c.hooks.run("before-insert",R),R.element.innerHTML=R.highlightedCode,c.hooks.run("after-highlight",R),c.hooks.run("complete",R),x&&x.call(R.element)}if(u(I,"insertHighlightedCode"),c.hooks.run("before-sanity-check",R),A=R.element.parentElement,A&&A.nodeName.toLowerCase()==="pre"&&!A.hasAttribute("tabindex")&&A.setAttribute("tabindex","0"),!R.code){c.hooks.run("complete",R),x&&x.call(R.element);return}if(c.hooks.run("before-highlight",R),!R.grammar){I(c.util.encode(R.code));return}if(w&&a.Worker){var T=new Worker(c.filename);T.onmessage=function(L){I(L.data)},T.postMessage(JSON.stringify({language:R.language,code:R.code,immediateClose:!0}))}else I(c.highlight(R.code,R.grammar,R.language))},"highlightElement"),highlight:u(function(D,w,x){var S={code:D,grammar:w,language:x};if(c.hooks.run("before-tokenize",S),!S.grammar)throw new Error('The language "'+S.language+'" has no grammar.');return S.tokens=c.tokenize(S.code,S.grammar),c.hooks.run("after-tokenize",S),d.stringify(c.util.encode(S.tokens),S.language)},"highlight"),tokenize:u(function(D,w){var x=w.rest;if(x){for(var S in x)w[S]=x[S];delete w.rest}var F=new p;return h(F,F.head,D),m(D,F,w,F.head,0),y(F)},"tokenize"),hooks:{all:{},add:u(function(D,w){var x=c.hooks.all;x[D]=x[D]||[],x[D].push(w)},"add"),run:u(function(D,w){var x=c.hooks.all[D];if(!(!x||!x.length))for(var S=0,F;F=x[S++];)F(w)},"run")},Token:d};a.Prism=c;function d(D,w,x,S){this.type=D,this.content=w,this.alias=x,this.length=(S||"").length|0}u(d,"Token"),d.stringify=u(function D(w,x){if(typeof w=="string")return w;if(Array.isArray(w)){var S="";return w.forEach(function(I){S+=D(I,x)}),S}var F={type:w.type,content:D(w.content,x),tag:"span",classes:["token",w.type],attributes:{},language:x},A=w.alias;A&&(Array.isArray(A)?Array.prototype.push.apply(F.classes,A):F.classes.push(A)),c.hooks.run("wrap",F);var _="";for(var R in F.attributes)_+=" "+R+'="'+(F.attributes[R]||"").replace(/"/g,""")+'"';return"<"+F.tag+' class="'+F.classes.join(" ")+'"'+_+">"+F.content+""},"stringify");function f(D,w,x,S){D.lastIndex=w;var F=D.exec(x);if(F&&S&&F[1]){var A=F[1].length;F.index+=A,F[0]=F[0].slice(A)}return F}u(f,"matchPattern");function m(D,w,x,S,F,A){for(var _ in x)if(!(!x.hasOwnProperty(_)||!x[_])){var R=x[_];R=Array.isArray(R)?R:[R];for(var I=0;I=A.reach);J+=G.value.length,G=G.next){var te=G.value;if(w.length>D.length)return;if(!(te instanceof d)){var ne=1,X;if(M){if(X=f(W,J,D,P),!X||X.index>=D.length)break;var re=X.index,ie=X.index+X[0].length,$=J;for($+=G.value.length;re>=$;)G=G.next,$+=G.value.length;if($-=G.value.length,J=$,G.value instanceof d)continue;for(var Z=G;Z!==w.tail&&($A.reach&&(A.reach=We);var ot=G.prev;xe&&(ot=h(w,ot,xe),J+=xe.length),g(w,ot,ne);var H=new d(_,L?c.tokenize(fe,L):fe,N,fe);if(G=h(w,ot,H),At&&h(w,G,At),ne>1){var it={cause:_+","+I,reach:We};m(D,w,x,G.prev,J,it),A&&it.reach>A.reach&&(A.reach=it.reach)}}}}}}u(m,"matchGrammar");function p(){var D={value:null,prev:null,next:null},w={value:null,prev:D,next:null};D.next=w,this.head=D,this.tail=w,this.length=0}u(p,"LinkedList");function h(D,w,x){var S=w.next,F={value:x,prev:w,next:S};return w.next=F,S.prev=F,D.length++,F}u(h,"addAfter");function g(D,w,x){for(var S=w.next,F=0;F{t.exports=r,r.displayName="markup",r.aliases=["html","mathml","svg","xml","ssml","atom","rss"];function r(n){n.languages.markup={comment:{pattern://,greedy:!0},prolog:{pattern:/<\?[\s\S]+?\?>/,greedy:!0},doctype:{pattern:/"'[\]]|"[^"]*"|'[^']*')+(?:\[(?:[^<"'\]]|"[^"]*"|'[^']*'|<(?!!--)|)*\]\s*)?>/i,greedy:!0,inside:{"internal-subset":{pattern:/(^[^\[]*\[)[\s\S]+(?=\]>$)/,lookbehind:!0,greedy:!0,inside:null},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},punctuation:/^$|[[\]]/,"doctype-tag":/^DOCTYPE/i,name:/[^\s<>'"]+/}},cdata:{pattern://i,greedy:!0},tag:{pattern:/<\/?(?!\d)[^\s>\/=$<%]+(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?\s*\/?>/,greedy:!0,inside:{tag:{pattern:/^<\/?[^\s>\/]+/,inside:{punctuation:/^<\/?/,namespace:/^[^\s>\/:]+:/}},"special-attr":[],"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+)/,inside:{punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}},punctuation:/\/?>/,"attr-name":{pattern:/[^\s>\/]+/,inside:{namespace:/^[^\s>\/:]+:/}}}},entity:[{pattern:/&[\da-z]{1,8};/i,alias:"named-entity"},/&#x?[\da-f]{1,8};/i]},n.languages.markup.tag.inside["attr-value"].inside.entity=n.languages.markup.entity,n.languages.markup.doctype.inside["internal-subset"].inside=n.languages.markup,n.hooks.add("wrap",function(a){a.type==="entity"&&(a.attributes.title=a.content.value.replace(/&/,"&"))}),Object.defineProperty(n.languages.markup.tag,"addInlined",{value:u(function(a,o){var i={};i["language-"+o]={pattern:/(^$)/i,lookbehind:!0,inside:n.languages[o]},i.cdata=/^$/i;var s={"included-cdata":{pattern://i,inside:i}};s["language-"+o]={pattern:/[\s\S]+/,inside:n.languages[o]};var c={};c[a]={pattern:RegExp(/(<__[^>]*>)(?:))*\]\]>|(?!)/.source.replace(/__/g,function(){return a}),"i"),lookbehind:!0,greedy:!0,inside:s},n.languages.insertBefore("markup","cdata",c)},"addInlined")}),Object.defineProperty(n.languages.markup.tag,"addAttribute",{value:u(function(a,o){n.languages.markup.tag.inside["special-attr"].push({pattern:RegExp(/(^|["'\s])/.source+"(?:"+a+")"+/\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))/.source,"i"),lookbehind:!0,inside:{"attr-name":/^[^\s=]+/,"attr-value":{pattern:/=[\s\S]+/,inside:{value:{pattern:/(^=\s*(["']|(?!["'])))\S[\s\S]*(?=\2$)/,lookbehind:!0,alias:[o,"language-"+o],inside:n.languages[o]},punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}}}})},"value")}),n.languages.html=n.languages.markup,n.languages.mathml=n.languages.markup,n.languages.svg=n.languages.markup,n.languages.xml=n.languages.extend("markup",{}),n.languages.ssml=n.languages.xml,n.languages.atom=n.languages.xml,n.languages.rss=n.languages.xml}u(r,"markup")}),_y=U((e,t)=>{t.exports=r,r.displayName="css",r.aliases=[];function r(n){(function(a){var o=/(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/;a.languages.css={comment:/\/\*[\s\S]*?\*\//,atrule:{pattern:/@[\w-](?:[^;{\s]|\s+(?![\s{]))*(?:;|(?=\s*\{))/,inside:{rule:/^@[\w-]+/,"selector-function-argument":{pattern:/(\bselector\s*\(\s*(?![\s)]))(?:[^()\s]|\s+(?![\s)])|\((?:[^()]|\([^()]*\))*\))+(?=\s*\))/,lookbehind:!0,alias:"selector"},keyword:{pattern:/(^|[^\w-])(?:and|not|only|or)(?![\w-])/,lookbehind:!0}}},url:{pattern:RegExp("\\burl\\((?:"+o.source+"|"+/(?:[^\\\r\n()"']|\\[\s\S])*/.source+")\\)","i"),greedy:!0,inside:{function:/^url/i,punctuation:/^\(|\)$/,string:{pattern:RegExp("^"+o.source+"$"),alias:"url"}}},selector:{pattern:RegExp(`(^|[{}\\s])[^{}\\s](?:[^{};"'\\s]|\\s+(?![\\s{])|`+o.source+")*(?=\\s*\\{)"),lookbehind:!0},string:{pattern:o,greedy:!0},property:{pattern:/(^|[^-\w\xA0-\uFFFF])(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*(?=\s*:)/i,lookbehind:!0},important:/!important\b/i,function:{pattern:/(^|[^-a-z0-9])[-a-z0-9]+(?=\()/i,lookbehind:!0},punctuation:/[(){};:,]/},a.languages.css.atrule.inside.rest=a.languages.css;var i=a.languages.markup;i&&(i.tag.addInlined("style","css"),i.tag.addAttribute("style","css"))})(n)}u(r,"css")}),US=U((e,t)=>{t.exports=r,r.displayName="clike",r.aliases=[];function r(n){n.languages.clike={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|trait)\s+|\bcatch\s+\()[\w.\\]+/i,lookbehind:!0,inside:{punctuation:/[.\\]/}},keyword:/\b(?:break|catch|continue|do|else|finally|for|function|if|in|instanceof|new|null|return|throw|try|while)\b/,boolean:/\b(?:false|true)\b/,function:/\b\w+(?=\()/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,operator:/[<>]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/,punctuation:/[{}[\];(),.:]/}}u(r,"clike")}),qS=U((e,t)=>{t.exports=r,r.displayName="javascript",r.aliases=["js"];function r(n){n.languages.javascript=n.languages.extend("clike",{"class-name":[n.languages.clike["class-name"],{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$A-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\.(?:constructor|prototype))/,lookbehind:!0}],keyword:[{pattern:/((?:^|\})\s*)catch\b/,lookbehind:!0},{pattern:/(^|[^.]|\.\.\.\s*)\b(?:as|assert(?=\s*\{)|async(?=\s*(?:function\b|\(|[$\w\xA0-\uFFFF]|$))|await|break|case|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally(?=\s*(?:\{|$))|for|from(?=\s*(?:['"]|$))|function|(?:get|set)(?=\s*(?:[#\[$\w\xA0-\uFFFF]|$))|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)\b/,lookbehind:!0}],function:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*(?:\.\s*(?:apply|bind|call)\s*)?\()/,number:{pattern:RegExp(/(^|[^\w$])/.source+"(?:"+(/NaN|Infinity/.source+"|"+/0[bB][01]+(?:_[01]+)*n?/.source+"|"+/0[oO][0-7]+(?:_[0-7]+)*n?/.source+"|"+/0[xX][\dA-Fa-f]+(?:_[\dA-Fa-f]+)*n?/.source+"|"+/\d+(?:_\d+)*n/.source+"|"+/(?:\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\.\d+(?:_\d+)*)(?:[Ee][+-]?\d+(?:_\d+)*)?/.source)+")"+/(?![\w$])/.source),lookbehind:!0},operator:/--|\+\+|\*\*=?|=>|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/}),n.languages.javascript["class-name"][0].pattern=/(\b(?:class|extends|implements|instanceof|interface|new)\s+)[\w.\\]+/,n.languages.insertBefore("javascript","keyword",{regex:{pattern:/((?:^|[^$\w\xA0-\uFFFF."'\])\s]|\b(?:return|yield))\s*)\/(?:\[(?:[^\]\\\r\n]|\\.)*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}(?=(?:\s|\/\*(?:[^*]|\*(?!\/))*\*\/)*(?:$|[\r\n,.;:})\]]|\/\/))/,lookbehind:!0,greedy:!0,inside:{"regex-source":{pattern:/^(\/)[\s\S]+(?=\/[a-z]*$)/,lookbehind:!0,alias:"language-regex",inside:n.languages.regex},"regex-delimiter":/^\/|\/$/,"regex-flags":/^[a-z]+$/}},"function-variable":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*[=:]\s*(?:async\s*)?(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/,alias:"function"},parameter:[{pattern:/(function(?:\s+(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)?\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\))/,lookbehind:!0,inside:n.languages.javascript},{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=>)/i,lookbehind:!0,inside:n.languages.javascript},{pattern:/(\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*=>)/,lookbehind:!0,inside:n.languages.javascript},{pattern:/((?:\b|\s|^)(?!(?:as|async|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)(?![$\w\xA0-\uFFFF]))(?:(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*)\(\s*|\]\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*\{)/,lookbehind:!0,inside:n.languages.javascript}],constant:/\b[A-Z](?:[A-Z_]|\dx?)*\b/}),n.languages.insertBefore("javascript","string",{hashbang:{pattern:/^#!.*/,greedy:!0,alias:"comment"},"template-string":{pattern:/`(?:\\[\s\S]|\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}|(?!\$\{)[^\\`])*`/,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},rest:n.languages.javascript}},string:/[\s\S]+/}},"string-property":{pattern:/((?:^|[,{])[ \t]*)(["'])(?:\\(?:\r\n|[\s\S])|(?!\2)[^\\\r\n])*\2(?=\s*:)/m,lookbehind:!0,greedy:!0,alias:"property"}}),n.languages.insertBefore("javascript","operator",{"literal-property":{pattern:/((?:^|[,{])[ \t]*)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/m,lookbehind:!0,alias:"property"}}),n.languages.markup&&(n.languages.markup.tag.addInlined("script","javascript"),n.languages.markup.tag.addAttribute(/on(?:abort|blur|change|click|composition(?:end|start|update)|dblclick|error|focus(?:in|out)?|key(?:down|up)|load|mouse(?:down|enter|leave|move|out|over|up)|reset|resize|scroll|select|slotchange|submit|unload|wheel)/.source,"javascript")),n.languages.js=n.languages.javascript}u(r,"javascript")}),WS=U((e,t)=>{var r=typeof globalThis=="object"?globalThis:typeof self=="object"?self:typeof window=="object"?window:typeof global=="object"?global:{},n=F();r.Prism={manual:!0,disableWorkerMessageHandler:!0};var a=LS(),o=jS(),i=VS(),s=ky(),c=_y(),d=US(),f=qS();n();var m={}.hasOwnProperty;function p(){}u(p,"Refractor"),p.prototype=i;var h=new p;t.exports=h,h.highlight=b,h.register=g,h.alias=y,h.registered=C,h.listLanguages=E,g(s),g(c),g(d),g(f),h.util.encode=x,h.Token.stringify=D;function g(A){if(typeof A!="function"||!A.displayName)throw new Error("Expected `function` for `grammar`, got `"+A+"`");h.languages[A.displayName]===void 0&&A(h)}u(g,"register");function y(A,_){var R=h.languages,I=A,T,L,P,M;_&&(I={},I[A]=_);for(T in I)for(L=I[T],L=typeof L=="string"?[L]:L,P=L.length,M=-1;++M{bS(),Ci=Ce(WS()),xi=wy(Ci.default,{}),xi.registerLanguage=function(e,t){return Ci.default.register(t)},xi.alias=function(e,t){return Ci.default.alias(e,t)},nl=xi}),KS=z(()=>{dy()}),YS=U((e,t)=>{t.exports=r,r.displayName="bash",r.aliases=["shell"];function r(n){(function(a){var o="\\b(?:BASH|BASHOPTS|BASH_ALIASES|BASH_ARGC|BASH_ARGV|BASH_CMDS|BASH_COMPLETION_COMPAT_DIR|BASH_LINENO|BASH_REMATCH|BASH_SOURCE|BASH_VERSINFO|BASH_VERSION|COLORTERM|COLUMNS|COMP_WORDBREAKS|DBUS_SESSION_BUS_ADDRESS|DEFAULTS_PATH|DESKTOP_SESSION|DIRSTACK|DISPLAY|EUID|GDMSESSION|GDM_LANG|GNOME_KEYRING_CONTROL|GNOME_KEYRING_PID|GPG_AGENT_INFO|GROUPS|HISTCONTROL|HISTFILE|HISTFILESIZE|HISTSIZE|HOME|HOSTNAME|HOSTTYPE|IFS|INSTANCE|JOB|LANG|LANGUAGE|LC_ADDRESS|LC_ALL|LC_IDENTIFICATION|LC_MEASUREMENT|LC_MONETARY|LC_NAME|LC_NUMERIC|LC_PAPER|LC_TELEPHONE|LC_TIME|LESSCLOSE|LESSOPEN|LINES|LOGNAME|LS_COLORS|MACHTYPE|MAILCHECK|MANDATORY_PATH|NO_AT_BRIDGE|OLDPWD|OPTERR|OPTIND|ORBIT_SOCKETDIR|OSTYPE|PAPERSIZE|PATH|PIPESTATUS|PPID|PS1|PS2|PS3|PS4|PWD|RANDOM|REPLY|SECONDS|SELINUX_INIT|SESSION|SESSIONTYPE|SESSION_MANAGER|SHELL|SHELLOPTS|SHLVL|SSH_AUTH_SOCK|TERM|UID|UPSTART_EVENTS|UPSTART_INSTANCE|UPSTART_JOB|UPSTART_SESSION|USER|WINDOWID|XAUTHORITY|XDG_CONFIG_DIRS|XDG_CURRENT_DESKTOP|XDG_DATA_DIRS|XDG_GREETER_DATA_DIR|XDG_MENU_PREFIX|XDG_RUNTIME_DIR|XDG_SEAT|XDG_SEAT_PATH|XDG_SESSION_DESKTOP|XDG_SESSION_ID|XDG_SESSION_PATH|XDG_SESSION_TYPE|XDG_VTNR|XMODIFIERS)\\b",i={pattern:/(^(["']?)\w+\2)[ \t]+\S.*/,lookbehind:!0,alias:"punctuation",inside:null},s={bash:i,environment:{pattern:RegExp("\\$"+o),alias:"constant"},variable:[{pattern:/\$?\(\([\s\S]+?\)\)/,greedy:!0,inside:{variable:[{pattern:/(^\$\(\([\s\S]+)\)\)/,lookbehind:!0},/^\$\(\(/],number:/\b0x[\dA-Fa-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee]-?\d+)?/,operator:/--|\+\+|\*\*=?|<<=?|>>=?|&&|\|\||[=!+\-*/%<>^&|]=?|[?~:]/,punctuation:/\(\(?|\)\)?|,|;/}},{pattern:/\$\((?:\([^)]+\)|[^()])+\)|`[^`]+`/,greedy:!0,inside:{variable:/^\$\(|^`|\)$|`$/}},{pattern:/\$\{[^}]+\}/,greedy:!0,inside:{operator:/:[-=?+]?|[!\/]|##?|%%?|\^\^?|,,?/,punctuation:/[\[\]]/,environment:{pattern:RegExp("(\\{)"+o),lookbehind:!0,alias:"constant"}}},/\$(?:\w+|[#?*!@$])/],entity:/\\(?:[abceEfnrtv\\"]|O?[0-7]{1,3}|U[0-9a-fA-F]{8}|u[0-9a-fA-F]{4}|x[0-9a-fA-F]{1,2})/};a.languages.bash={shebang:{pattern:/^#!\s*\/.*/,alias:"important"},comment:{pattern:/(^|[^"{\\$])#.*/,lookbehind:!0},"function-name":[{pattern:/(\bfunction\s+)[\w-]+(?=(?:\s*\(?:\s*\))?\s*\{)/,lookbehind:!0,alias:"function"},{pattern:/\b[\w-]+(?=\s*\(\s*\)\s*\{)/,alias:"function"}],"for-or-select":{pattern:/(\b(?:for|select)\s+)\w+(?=\s+in\s)/,alias:"variable",lookbehind:!0},"assign-left":{pattern:/(^|[\s;|&]|[<>]\()\w+(?=\+?=)/,inside:{environment:{pattern:RegExp("(^|[\\s;|&]|[<>]\\()"+o),lookbehind:!0,alias:"constant"}},alias:"variable",lookbehind:!0},string:[{pattern:/((?:^|[^<])<<-?\s*)(\w+)\s[\s\S]*?(?:\r?\n|\r)\2/,lookbehind:!0,greedy:!0,inside:s},{pattern:/((?:^|[^<])<<-?\s*)(["'])(\w+)\2\s[\s\S]*?(?:\r?\n|\r)\3/,lookbehind:!0,greedy:!0,inside:{bash:i}},{pattern:/(^|[^\\](?:\\\\)*)"(?:\\[\s\S]|\$\([^)]+\)|\$(?!\()|`[^`]+`|[^"\\`$])*"/,lookbehind:!0,greedy:!0,inside:s},{pattern:/(^|[^$\\])'[^']*'/,lookbehind:!0,greedy:!0},{pattern:/\$'(?:[^'\\]|\\[\s\S])*'/,greedy:!0,inside:{entity:s.entity}}],environment:{pattern:RegExp("\\$?"+o),alias:"constant"},variable:s.variable,function:{pattern:/(^|[\s;|&]|[<>]\()(?:add|apropos|apt|apt-cache|apt-get|aptitude|aspell|automysqlbackup|awk|basename|bash|bc|bconsole|bg|bzip2|cal|cat|cfdisk|chgrp|chkconfig|chmod|chown|chroot|cksum|clear|cmp|column|comm|composer|cp|cron|crontab|csplit|curl|cut|date|dc|dd|ddrescue|debootstrap|df|diff|diff3|dig|dir|dircolors|dirname|dirs|dmesg|docker|docker-compose|du|egrep|eject|env|ethtool|expand|expect|expr|fdformat|fdisk|fg|fgrep|file|find|fmt|fold|format|free|fsck|ftp|fuser|gawk|git|gparted|grep|groupadd|groupdel|groupmod|groups|grub-mkconfig|gzip|halt|head|hg|history|host|hostname|htop|iconv|id|ifconfig|ifdown|ifup|import|install|ip|jobs|join|kill|killall|less|link|ln|locate|logname|logrotate|look|lpc|lpr|lprint|lprintd|lprintq|lprm|ls|lsof|lynx|make|man|mc|mdadm|mkconfig|mkdir|mke2fs|mkfifo|mkfs|mkisofs|mknod|mkswap|mmv|more|most|mount|mtools|mtr|mutt|mv|nano|nc|netstat|nice|nl|node|nohup|notify-send|npm|nslookup|op|open|parted|passwd|paste|pathchk|ping|pkill|pnpm|podman|podman-compose|popd|pr|printcap|printenv|ps|pushd|pv|quota|quotacheck|quotactl|ram|rar|rcp|reboot|remsync|rename|renice|rev|rm|rmdir|rpm|rsync|scp|screen|sdiff|sed|sendmail|seq|service|sftp|sh|shellcheck|shuf|shutdown|sleep|slocate|sort|split|ssh|stat|strace|su|sudo|sum|suspend|swapon|sync|tac|tail|tar|tee|time|timeout|top|touch|tr|traceroute|tsort|tty|umount|uname|unexpand|uniq|units|unrar|unshar|unzip|update-grub|uptime|useradd|userdel|usermod|users|uudecode|uuencode|v|vcpkg|vdir|vi|vim|virsh|vmstat|wait|watch|wc|wget|whereis|which|who|whoami|write|xargs|xdg-open|yarn|yes|zenity|zip|zsh|zypper)(?=$|[)\s;|&])/,lookbehind:!0},keyword:{pattern:/(^|[\s;|&]|[<>]\()(?:case|do|done|elif|else|esac|fi|for|function|if|in|select|then|until|while)(?=$|[)\s;|&])/,lookbehind:!0},builtin:{pattern:/(^|[\s;|&]|[<>]\()(?:\.|:|alias|bind|break|builtin|caller|cd|command|continue|declare|echo|enable|eval|exec|exit|export|getopts|hash|help|let|local|logout|mapfile|printf|pwd|read|readarray|readonly|return|set|shift|shopt|source|test|times|trap|type|typeset|ulimit|umask|unalias|unset)(?=$|[)\s;|&])/,lookbehind:!0,alias:"class-name"},boolean:{pattern:/(^|[\s;|&]|[<>]\()(?:false|true)(?=$|[)\s;|&])/,lookbehind:!0},"file-descriptor":{pattern:/\B&\d\b/,alias:"important"},operator:{pattern:/\d?<>|>\||\+=|=[=~]?|!=?|<<[<-]?|[&\d]?>>|\d[<>]&?|[<>][&=]?|&[>&]?|\|[&|]?/,inside:{"file-descriptor":{pattern:/^\d/,alias:"important"}}},punctuation:/\$?\(\(?|\)\)?|\.\.|[{}[\];\\]/,number:{pattern:/(^|\s)(?:[1-9]\d*|0)(?:[.,]\d+)?\b/,lookbehind:!0}},i.inside=a.languages.bash;for(var c=["comment","function-name","for-or-select","assign-left","string","environment","function","keyword","builtin","boolean","file-descriptor","operator","punctuation","number"],d=s.variable[1].inside,f=0;f{Ph=Ce(YS()),By=Ph.default}),Nh,Ry,ZS=z(()=>{Nh=Ce(_y()),Ry=Nh.default}),XS=U((e,t)=>{t.exports=r,r.displayName="graphql",r.aliases=[];function r(n){n.languages.graphql={comment:/#.*/,description:{pattern:/(?:"""(?:[^"]|(?!""")")*"""|"(?:\\.|[^\\"\r\n])*")(?=\s*[a-z_])/i,greedy:!0,alias:"string",inside:{"language-markdown":{pattern:/(^"(?:"")?)(?!\1)[\s\S]+(?=\1$)/,lookbehind:!0,inside:n.languages.markdown}}},string:{pattern:/"""(?:[^"]|(?!""")")*"""|"(?:\\.|[^\\"\r\n])*"/,greedy:!0},number:/(?:\B-|\b)\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,boolean:/\b(?:false|true)\b/,variable:/\$[a-z_]\w*/i,directive:{pattern:/@[a-z_]\w*/i,alias:"function"},"attr-name":{pattern:/\b[a-z_]\w*(?=\s*(?:\((?:[^()"]|"(?:\\.|[^\\"\r\n])*")*\))?:)/i,greedy:!0},"atom-input":{pattern:/\b[A-Z]\w*Input\b/,alias:"class-name"},scalar:/\b(?:Boolean|Float|ID|Int|String)\b/,constant:/\b[A-Z][A-Z_\d]*\b/,"class-name":{pattern:/(\b(?:enum|implements|interface|on|scalar|type|union)\s+|&\s*|:\s*|\[)[A-Z_]\w*/,lookbehind:!0},fragment:{pattern:/(\bfragment\s+|\.{3}\s*(?!on\b))[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},"definition-mutation":{pattern:/(\bmutation\s+)[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},"definition-query":{pattern:/(\bquery\s+)[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},keyword:/\b(?:directive|enum|extend|fragment|implements|input|interface|mutation|on|query|repeatable|scalar|schema|subscription|type|union)\b/,operator:/[!=|&]|\.{3}/,"property-query":/\w+(?=\s*\()/,object:/\w+(?=\s*\{)/,punctuation:/[!(){}\[\]:=,]/,property:/\w+/},n.hooks.add("after-tokenize",u(function(a){if(a.language!=="graphql")return;var o=a.tokens.filter(function(E){return typeof E!="string"&&E.type!=="comment"&&E.type!=="scalar"}),i=0;function s(E){return o[i+E]}u(s,"getToken");function c(E,D){D=D||0;for(var w=0;w0)){var y=d(/^\{$/,/^\}$/);if(y===-1)continue;for(var b=i;b=0&&f(C,"variable-input")}}}}},"afterTokenizeGraphql"))}u(r,"graphql")}),Hh,Iy,QS=z(()=>{Hh=Ce(XS()),Iy=Hh.default}),eF=U((e,t)=>{t.exports=r,r.displayName="jsExtras",r.aliases=[];function r(n){(function(a){a.languages.insertBefore("javascript","function-variable",{"method-variable":{pattern:RegExp("(\\.\\s*)"+a.languages.javascript["function-variable"].pattern.source),lookbehind:!0,alias:["function-variable","method","function","property-access"]}}),a.languages.insertBefore("javascript","function",{method:{pattern:RegExp("(\\.\\s*)"+a.languages.javascript.function.source),lookbehind:!0,alias:["function","property-access"]}}),a.languages.insertBefore("javascript","constant",{"known-class-name":[{pattern:/\b(?:(?:Float(?:32|64)|(?:Int|Uint)(?:8|16|32)|Uint8Clamped)?Array|ArrayBuffer|BigInt|Boolean|DataView|Date|Error|Function|Intl|JSON|(?:Weak)?(?:Map|Set)|Math|Number|Object|Promise|Proxy|Reflect|RegExp|String|Symbol|WebAssembly)\b/,alias:"class-name"},{pattern:/\b(?:[A-Z]\w*)Error\b/,alias:"class-name"}]});function o(m,p){return RegExp(m.replace(//g,function(){return/(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/.source}),p)}u(o,"withId"),a.languages.insertBefore("javascript","keyword",{imports:{pattern:o(/(\bimport\b\s*)(?:(?:\s*,\s*(?:\*\s*as\s+|\{[^{}]*\}))?|\*\s*as\s+|\{[^{}]*\})(?=\s*\bfrom\b)/.source),lookbehind:!0,inside:a.languages.javascript},exports:{pattern:o(/(\bexport\b\s*)(?:\*(?:\s*as\s+)?(?=\s*\bfrom\b)|\{[^{}]*\})/.source),lookbehind:!0,inside:a.languages.javascript}}),a.languages.javascript.keyword.unshift({pattern:/\b(?:as|default|export|from|import)\b/,alias:"module"},{pattern:/\b(?:await|break|catch|continue|do|else|finally|for|if|return|switch|throw|try|while|yield)\b/,alias:"control-flow"},{pattern:/\bnull\b/,alias:["null","nil"]},{pattern:/\bundefined\b/,alias:"nil"}),a.languages.insertBefore("javascript","operator",{spread:{pattern:/\.{3}/,alias:"operator"},arrow:{pattern:/=>/,alias:"operator"}}),a.languages.insertBefore("javascript","punctuation",{"property-access":{pattern:o(/(\.\s*)#?/.source),lookbehind:!0},"maybe-class-name":{pattern:/(^|[^$\w\xA0-\uFFFF])[A-Z][$\w\xA0-\uFFFF]+/,lookbehind:!0},dom:{pattern:/\b(?:document|(?:local|session)Storage|location|navigator|performance|window)\b/,alias:"variable"},console:{pattern:/\bconsole(?=\s*\.)/,alias:"class-name"}});for(var i=["function","function-variable","method","method-variable","property-access"],s=0;s{$h=Ce(eF()),zy=$h.default}),rF=U((e,t)=>{t.exports=r,r.displayName="json",r.aliases=["webmanifest"];function r(n){n.languages.json={property:{pattern:/(^|[^\\])"(?:\\.|[^\\"\r\n])*"(?=\s*:)/,lookbehind:!0,greedy:!0},string:{pattern:/(^|[^\\])"(?:\\.|[^\\"\r\n])*"(?!\s*:)/,lookbehind:!0,greedy:!0},comment:{pattern:/\/\/.*|\/\*[\s\S]*?(?:\*\/|$)/,greedy:!0},number:/-?\b\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,punctuation:/[{}[\],]/,operator:/:/,boolean:/\b(?:false|true)\b/,null:{pattern:/\bnull\b/,alias:"keyword"}},n.languages.webmanifest=n.languages.json}u(r,"json")}),jh,Ty,nF=z(()=>{jh=Ce(rF()),Ty=jh.default}),Ly=U((e,t)=>{t.exports=r,r.displayName="jsx",r.aliases=[];function r(n){(function(a){var o=a.util.clone(a.languages.javascript),i=/(?:\s|\/\/.*(?!.)|\/\*(?:[^*]|\*(?!\/))\*\/)/.source,s=/(?:\{(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])*\})/.source,c=/(?:\{*\.{3}(?:[^{}]|)*\})/.source;function d(p,h){return p=p.replace(//g,function(){return i}).replace(//g,function(){return s}).replace(//g,function(){return c}),RegExp(p,h)}u(d,"re"),c=d(c).source,a.languages.jsx=a.languages.extend("markup",o),a.languages.jsx.tag.pattern=d(/<\/?(?:[\w.:-]+(?:+(?:[\w.:$-]+(?:=(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s{'"/>=]+|))?|))**\/?)?>/.source),a.languages.jsx.tag.inside.tag.pattern=/^<\/?[^\s>\/]*/,a.languages.jsx.tag.inside["attr-value"].pattern=/=(?!\{)(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s'">]+)/,a.languages.jsx.tag.inside.tag.inside["class-name"]=/^[A-Z]\w*(?:\.[A-Z]\w*)*$/,a.languages.jsx.tag.inside.comment=o.comment,a.languages.insertBefore("inside","attr-name",{spread:{pattern:d(//.source),inside:a.languages.jsx}},a.languages.jsx.tag),a.languages.insertBefore("inside","special-attr",{script:{pattern:d(/=/.source),alias:"language-javascript",inside:{"script-punctuation":{pattern:/^=(?=\{)/,alias:"punctuation"},rest:a.languages.jsx}}},a.languages.jsx.tag);var f=u(function(p){return p?typeof p=="string"?p:typeof p.content=="string"?p.content:p.content.map(f).join(""):""},"stringifyToken"),m=u(function(p){for(var h=[],g=0;g0&&h[h.length-1].tagName===f(y.content[0].content[1])&&h.pop():y.content[y.content.length-1].content==="/>"||h.push({tagName:f(y.content[0].content[1]),openedBraces:0}):h.length>0&&y.type==="punctuation"&&y.content==="{"?h[h.length-1].openedBraces++:h.length>0&&h[h.length-1].openedBraces>0&&y.type==="punctuation"&&y.content==="}"?h[h.length-1].openedBraces--:b=!0),(b||typeof y=="string")&&h.length>0&&h[h.length-1].openedBraces===0){var C=f(y);g0&&(typeof p[g-1]=="string"||p[g-1].type==="plain-text")&&(C=f(p[g-1])+C,p.splice(g-1,1),g--),p[g]=new a.Token("plain-text",C,null,C)}y.content&&typeof y.content!="string"&&m(y.content)}},"walkTokens");a.hooks.add("after-tokenize",function(p){p.language!=="jsx"&&p.language!=="tsx"||m(p.tokens)})})(n)}u(r,"jsx")}),Vh,My,aF=z(()=>{Vh=Ce(Ly()),My=Vh.default}),oF=U((e,t)=>{t.exports=r,r.displayName="markdown",r.aliases=["md"];function r(n){(function(a){var o=/(?:\\.|[^\\\n\r]|(?:\n|\r\n?)(?![\r\n]))/.source;function i(g){return g=g.replace(//g,function(){return o}),RegExp(/((?:^|[^\\])(?:\\{2})*)/.source+"(?:"+g+")")}u(i,"createInline");var s=/(?:\\.|``(?:[^`\r\n]|`(?!`))+``|`[^`\r\n]+`|[^\\|\r\n`])+/.source,c=/\|?__(?:\|__)+\|?(?:(?:\n|\r\n?)|(?![\s\S]))/.source.replace(/__/g,function(){return s}),d=/\|?[ \t]*:?-{3,}:?[ \t]*(?:\|[ \t]*:?-{3,}:?[ \t]*)+\|?(?:\n|\r\n?)/.source;a.languages.markdown=a.languages.extend("markup",{}),a.languages.insertBefore("markdown","prolog",{"front-matter-block":{pattern:/(^(?:\s*[\r\n])?)---(?!.)[\s\S]*?[\r\n]---(?!.)/,lookbehind:!0,greedy:!0,inside:{punctuation:/^---|---$/,"front-matter":{pattern:/\S+(?:\s+\S+)*/,alias:["yaml","language-yaml"],inside:a.languages.yaml}}},blockquote:{pattern:/^>(?:[\t ]*>)*/m,alias:"punctuation"},table:{pattern:RegExp("^"+c+d+"(?:"+c+")*","m"),inside:{"table-data-rows":{pattern:RegExp("^("+c+d+")(?:"+c+")*$"),lookbehind:!0,inside:{"table-data":{pattern:RegExp(s),inside:a.languages.markdown},punctuation:/\|/}},"table-line":{pattern:RegExp("^("+c+")"+d+"$"),lookbehind:!0,inside:{punctuation:/\||:?-{3,}:?/}},"table-header-row":{pattern:RegExp("^"+c+"$"),inside:{"table-header":{pattern:RegExp(s),alias:"important",inside:a.languages.markdown},punctuation:/\|/}}}},code:[{pattern:/((?:^|\n)[ \t]*\n|(?:^|\r\n?)[ \t]*\r\n?)(?: {4}|\t).+(?:(?:\n|\r\n?)(?: {4}|\t).+)*/,lookbehind:!0,alias:"keyword"},{pattern:/^```[\s\S]*?^```$/m,greedy:!0,inside:{"code-block":{pattern:/^(```.*(?:\n|\r\n?))[\s\S]+?(?=(?:\n|\r\n?)^```$)/m,lookbehind:!0},"code-language":{pattern:/^(```).+/,lookbehind:!0},punctuation:/```/}}],title:[{pattern:/\S.*(?:\n|\r\n?)(?:==+|--+)(?=[ \t]*$)/m,alias:"important",inside:{punctuation:/==+$|--+$/}},{pattern:/(^\s*)#.+/m,lookbehind:!0,alias:"important",inside:{punctuation:/^#+|#+$/}}],hr:{pattern:/(^\s*)([*-])(?:[\t ]*\2){2,}(?=\s*$)/m,lookbehind:!0,alias:"punctuation"},list:{pattern:/(^\s*)(?:[*+-]|\d+\.)(?=[\t ].)/m,lookbehind:!0,alias:"punctuation"},"url-reference":{pattern:/!?\[[^\]]+\]:[\t ]+(?:\S+|<(?:\\.|[^>\\])+>)(?:[\t ]+(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\)))?/,inside:{variable:{pattern:/^(!?\[)[^\]]+/,lookbehind:!0},string:/(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\))$/,punctuation:/^[\[\]!:]|[<>]/},alias:"url"},bold:{pattern:i(/\b__(?:(?!_)|_(?:(?!_))+_)+__\b|\*\*(?:(?!\*)|\*(?:(?!\*))+\*)+\*\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^..)[\s\S]+(?=..$)/,lookbehind:!0,inside:{}},punctuation:/\*\*|__/}},italic:{pattern:i(/\b_(?:(?!_)|__(?:(?!_))+__)+_\b|\*(?:(?!\*)|\*\*(?:(?!\*))+\*\*)+\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^.)[\s\S]+(?=.$)/,lookbehind:!0,inside:{}},punctuation:/[*_]/}},strike:{pattern:i(/(~~?)(?:(?!~))+\2/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^~~?)[\s\S]+(?=\1$)/,lookbehind:!0,inside:{}},punctuation:/~~?/}},"code-snippet":{pattern:/(^|[^\\`])(?:``[^`\r\n]+(?:`[^`\r\n]+)*``(?!`)|`[^`\r\n]+`(?!`))/,lookbehind:!0,greedy:!0,alias:["code","keyword"]},url:{pattern:i(/!?\[(?:(?!\]))+\](?:\([^\s)]+(?:[\t ]+"(?:\\.|[^"\\])*")?\)|[ \t]?\[(?:(?!\]))+\])/.source),lookbehind:!0,greedy:!0,inside:{operator:/^!/,content:{pattern:/(^\[)[^\]]+(?=\])/,lookbehind:!0,inside:{}},variable:{pattern:/(^\][ \t]?\[)[^\]]+(?=\]$)/,lookbehind:!0},url:{pattern:/(^\]\()[^\s)]+/,lookbehind:!0},string:{pattern:/(^[ \t]+)"(?:\\.|[^"\\])*"(?=\)$)/,lookbehind:!0}}}}),["url","bold","italic","strike"].forEach(function(g){["url","bold","italic","strike","code-snippet"].forEach(function(y){g!==y&&(a.languages.markdown[g].inside.content.inside[y]=a.languages.markdown[y])})}),a.hooks.add("after-tokenize",function(g){if(g.language!=="markdown"&&g.language!=="md")return;function y(b){if(!(!b||typeof b=="string"))for(var C=0,E=b.length;C",quot:'"'},p=String.fromCodePoint||String.fromCharCode;function h(g){var y=g.replace(f,"");return y=y.replace(/&(\w{1,8}|#x?[\da-f]{1,8});/gi,function(b,C){if(C=C.toLowerCase(),C[0]==="#"){var E;return C[1]==="x"?E=parseInt(C.slice(2),16):E=Number(C.slice(1)),p(E)}else{var D=m[C];return D||b}}),y}u(h,"textContent"),a.languages.md=a.languages.markdown})(n)}u(r,"markdown")}),Uh,Oy,iF=z(()=>{Uh=Ce(oF()),Oy=Uh.default}),qh,Py,lF=z(()=>{qh=Ce(ky()),Py=qh.default}),Ny=U((e,t)=>{t.exports=r,r.displayName="typescript",r.aliases=["ts"];function r(n){(function(a){a.languages.typescript=a.languages.extend("javascript",{"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|type)\s+)(?!keyof\b)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?:\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>)?/,lookbehind:!0,greedy:!0,inside:null},builtin:/\b(?:Array|Function|Promise|any|boolean|console|never|number|string|symbol|unknown)\b/}),a.languages.typescript.keyword.push(/\b(?:abstract|declare|is|keyof|readonly|require)\b/,/\b(?:asserts|infer|interface|module|namespace|type)\b(?=\s*(?:[{_$a-zA-Z\xA0-\uFFFF]|$))/,/\btype\b(?=\s*(?:[\{*]|$))/),delete a.languages.typescript.parameter,delete a.languages.typescript["literal-property"];var o=a.languages.extend("typescript",{});delete o["class-name"],a.languages.typescript["class-name"].inside=o,a.languages.insertBefore("typescript","function",{decorator:{pattern:/@[$\w\xA0-\uFFFF]+/,inside:{at:{pattern:/^@/,alias:"operator"},function:/^[\s\S]+/}},"generic-function":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>(?=\s*\()/,greedy:!0,inside:{function:/^#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/,generic:{pattern:/<[\s\S]+/,alias:"class-name",inside:o}}}}),a.languages.ts=a.languages.typescript})(n)}u(r,"typescript")}),sF=U((e,t)=>{var r=Ly(),n=Ny();t.exports=a,a.displayName="tsx",a.aliases=[];function a(o){o.register(r),o.register(n),function(i){var s=i.util.clone(i.languages.typescript);i.languages.tsx=i.languages.extend("jsx",s),delete i.languages.tsx.parameter,delete i.languages.tsx["literal-property"];var c=i.languages.tsx.tag;c.pattern=RegExp(/(^|[^\w$]|(?=<\/))/.source+"(?:"+c.pattern.source+")",c.pattern.flags),c.lookbehind=!0}(o)}u(a,"tsx")}),Wh,Hy,uF=z(()=>{Wh=Ce(sF()),Hy=Wh.default}),Gh,$y,cF=z(()=>{Gh=Ce(Ny()),$y=Gh.default}),dF=U((e,t)=>{t.exports=r,r.displayName="yaml",r.aliases=["yml"];function r(n){(function(a){var o=/[*&][^\s[\]{},]+/,i=/!(?:<[\w\-%#;/?:@&=+$,.!~*'()[\]]+>|(?:[a-zA-Z\d-]*!)?[\w\-%#;/?:@&=+$.~*'()]+)?/,s="(?:"+i.source+"(?:[ ]+"+o.source+")?|"+o.source+"(?:[ ]+"+i.source+")?)",c=/(?:[^\s\x00-\x08\x0e-\x1f!"#%&'*,\-:>?@[\]`{|}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]|[?:-])(?:[ \t]*(?:(?![#:])|:))*/.source.replace(//g,function(){return/[^\s\x00-\x08\x0e-\x1f,[\]{}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]/.source}),d=/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\\\r\n]|\\.)*'/.source;function f(m,p){p=(p||"").replace(/m/g,"")+"m";var h=/([:\-,[{]\s*(?:\s<>[ \t]+)?)(?:<>)(?=[ \t]*(?:$|,|\]|\}|(?:[\r\n]\s*)?#))/.source.replace(/<>/g,function(){return s}).replace(/<>/g,function(){return m});return RegExp(h,p)}u(f,"createValuePattern"),a.languages.yaml={scalar:{pattern:RegExp(/([\-:]\s*(?:\s<>[ \t]+)?[|>])[ \t]*(?:((?:\r?\n|\r)[ \t]+)\S[^\r\n]*(?:\2[^\r\n]+)*)/.source.replace(/<>/g,function(){return s})),lookbehind:!0,alias:"string"},comment:/#.*/,key:{pattern:RegExp(/((?:^|[:\-,[{\r\n?])[ \t]*(?:<>[ \t]+)?)<>(?=\s*:\s)/.source.replace(/<>/g,function(){return s}).replace(/<>/g,function(){return"(?:"+c+"|"+d+")"})),lookbehind:!0,greedy:!0,alias:"atrule"},directive:{pattern:/(^[ \t]*)%.+/m,lookbehind:!0,alias:"important"},datetime:{pattern:f(/\d{4}-\d\d?-\d\d?(?:[tT]|[ \t]+)\d\d?:\d{2}:\d{2}(?:\.\d*)?(?:[ \t]*(?:Z|[-+]\d\d?(?::\d{2})?))?|\d{4}-\d{2}-\d{2}|\d\d?:\d{2}(?::\d{2}(?:\.\d*)?)?/.source),lookbehind:!0,alias:"number"},boolean:{pattern:f(/false|true/.source,"i"),lookbehind:!0,alias:"important"},null:{pattern:f(/null|~/.source,"i"),lookbehind:!0,alias:"important"},string:{pattern:f(d),lookbehind:!0,greedy:!0},number:{pattern:f(/[+-]?(?:0x[\da-f]+|0o[0-7]+|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?|\.inf|\.nan)/.source,"i"),lookbehind:!0},tag:i,important:o,punctuation:/---|[:[\]{}\-,|>?]|\.\.\./},a.languages.yml=a.languages.yaml})(n)}u(r,"yaml")}),Kh,jy,pF=z(()=>{Kh=Ce(dF()),jy=Kh.default}),Yh,Eu,xp,Vy=z(()=>{Yh=k.div(({theme:e})=>({position:"absolute",bottom:0,right:0,maxWidth:"100%",display:"flex",background:e.background.content,zIndex:1})),Eu=k.button(({theme:e})=>({margin:0,border:"0 none",padding:"4px 10px",cursor:"pointer",display:"flex",alignItems:"center",color:e.color.defaultText,background:e.background.content,fontSize:12,lineHeight:"16px",fontFamily:e.typography.fonts.base,fontWeight:e.typography.weight.bold,borderTop:`1px solid ${e.appBorderColor}`,borderLeft:`1px solid ${e.appBorderColor}`,marginLeft:-1,borderRadius:"4px 0 0 0","&:not(:last-child)":{borderRight:`1px solid ${e.appBorderColor}`},"& + *":{borderLeft:`1px solid ${e.appBorderColor}`,borderRadius:0},"&:focus":{boxShadow:`${e.color.secondary} 0 -3px 0 0 inset`,outline:"0 none"}}),({disabled:e})=>e&&{cursor:"not-allowed",opacity:.5}),Eu.displayName="ActionButton",xp=u(({actionItems:e,...t})=>v.createElement(Yh,{...t},e.map(({title:r,className:n,onClick:a,disabled:o},i)=>v.createElement(Eu,{key:i,className:n,onClick:a,disabled:!!o},r))),"ActionBar")});function Uy(e,t){typeof e=="function"?e(t):e!=null&&(e.current=t)}function _s(...e){return t=>e.forEach(r=>Uy(r,t))}function Le(...e){return l.useCallback(_s(...e),e)}var Rr=z(()=>{u(Uy,"setRef"),u(_s,"composeRefs"),u(Le,"useComposedRefs")});function Jh(e){return l.isValidElement(e)&&e.type===qy}function Zh(e,t){let r={...t};for(let n in t){let a=e[n],o=t[n];/^on[A-Z]/.test(n)?a&&o?r[n]=(...i)=>{o(...i),a(...i)}:a&&(r[n]=a):n==="style"?r[n]={...a,...o}:n==="className"&&(r[n]=[a,o].filter(Boolean).join(" "))}return{...e,...r}}function Xh(e){var n,a;let t=(n=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:n.get,r=t&&"isReactWarning"in t&&t.isReactWarning;return r?e.ref:(t=(a=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:a.get,r=t&&"isReactWarning"in t&&t.isReactWarning,r?e.props.ref:e.props.ref||e.ref)}var Q0,Si,qy,fF=z(()=>{Rr(),Q0=l.forwardRef((e,t)=>{let{children:r,...n}=e,a=l.Children.toArray(r),o=a.find(Jh);if(o){let i=o.props.children,s=a.map(c=>c===o?l.Children.count(i)>1?l.Children.only(null):l.isValidElement(i)?i.props.children:null:c);return O.jsx(Si,{...n,ref:t,children:l.isValidElement(i)?l.cloneElement(i,void 0,s):null})}return O.jsx(Si,{...n,ref:t,children:r})}),Q0.displayName="Slot",Si=l.forwardRef((e,t)=>{let{children:r,...n}=e;if(l.isValidElement(r)){let a=Xh(r);return l.cloneElement(r,{...Zh(n,r.props),ref:t?_s(t,a):a})}return l.Children.count(r)>1?l.Children.only(null):null}),Si.displayName="SlotClone",qy=u(({children:e})=>O.jsx(O.Fragment,{children:e}),"Slottable"),u(Jh,"isSlottable"),u(Zh,"mergeProps"),u(Xh,"getElementRef")});function Wy(e,t){e&&J1.flushSync(()=>e.dispatchEvent(t))}var Qh,Me,Zo=z(()=>{fF(),Qh=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"],Me=Qh.reduce((e,t)=>{let r=l.forwardRef((n,a)=>{let{asChild:o,...i}=n,s=o?Q0:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),O.jsx(s,{...i,ref:a})});return r.displayName=`Primitive.${t}`,{...e,[t]:r}},{}),u(Wy,"dispatchDiscreteCustomEvent")}),xr,Xo=z(()=>{xr=globalThis!=null&&globalThis.document?l.useLayoutEffect:()=>{}});function Gy(e,t){return l.useReducer((r,n)=>t[r][n]??r,e)}function em(e){let[t,r]=l.useState(),n=l.useRef({}),a=l.useRef(e),o=l.useRef("none"),i=e?"mounted":"unmounted",[s,c]=Gy(i,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return l.useEffect(()=>{let d=io(n.current);o.current=s==="mounted"?d:"none"},[s]),xr(()=>{let d=n.current,f=a.current;if(f!==e){let m=o.current,p=io(d);e?c("MOUNT"):p==="none"||(d==null?void 0:d.display)==="none"?c("UNMOUNT"):c(f&&m!==p?"ANIMATION_OUT":"UNMOUNT"),a.current=e}},[e,c]),xr(()=>{if(t){let d=u(m=>{let p=io(n.current).includes(m.animationName);m.target===t&&p&&J1.flushSync(()=>c("ANIMATION_END"))},"handleAnimationEnd"),f=u(m=>{m.target===t&&(o.current=io(n.current))},"handleAnimationStart");return t.addEventListener("animationstart",f),t.addEventListener("animationcancel",d),t.addEventListener("animationend",d),()=>{t.removeEventListener("animationstart",f),t.removeEventListener("animationcancel",d),t.removeEventListener("animationend",d)}}else c("ANIMATION_END")},[t,c]),{isPresent:["mounted","unmountSuspended"].includes(s),ref:l.useCallback(d=>{d&&(n.current=getComputedStyle(d)),r(d)},[])}}function io(e){return(e==null?void 0:e.animationName)||"none"}function tm(e){var n,a;let t=(n=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:n.get,r=t&&"isReactWarning"in t&&t.isReactWarning;return r?e.ref:(t=(a=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:a.get,r=t&&"isReactWarning"in t&&t.isReactWarning,r?e.props.ref:e.props.ref||e.ref)}var Gn,hF=z(()=>{"use client";Rr(),Xo(),u(Gy,"useStateMachine"),Gn=u(e=>{let{present:t,children:r}=e,n=em(t),a=typeof r=="function"?r({present:n.isPresent}):l.Children.only(r),o=Le(n.ref,tm(a));return typeof r=="function"||n.isPresent?l.cloneElement(a,{ref:o}):null},"Presence"),Gn.displayName="Presence",u(em,"usePresence"),u(io,"getAnimationName"),u(tm,"getElementRef")});function Ky(e,t=[]){let r=[];function n(o,i){let s=l.createContext(i),c=r.length;r=[...r,i];function d(m){let{scope:p,children:h,...g}=m,y=(p==null?void 0:p[e][c])||s,b=l.useMemo(()=>g,Object.values(g));return O.jsx(y.Provider,{value:b,children:h})}u(d,"Provider");function f(m,p){let h=(p==null?void 0:p[e][c])||s,g=l.useContext(h);if(g)return g;if(i!==void 0)return i;throw new Error(`\`${m}\` must be used within \`${o}\``)}return u(f,"useContext2"),d.displayName=o+"Provider",[d,f]}u(n,"createContext3");let a=u(()=>{let o=r.map(i=>l.createContext(i));return u(function(i){let s=(i==null?void 0:i[e])||o;return l.useMemo(()=>({[`__scope${e}`]:{...i,[e]:s}}),[i,s])},"useScope")},"createScope");return a.scopeName=e,[n,Yy(a,...t)]}function Yy(...e){let t=e[0];if(e.length===1)return t;let r=u(()=>{let n=e.map(a=>({useScope:a(),scopeName:a.scopeName}));return u(function(a){let o=n.reduce((i,{useScope:s,scopeName:c})=>{let d=s(a)[`__scope${c}`];return{...i,...d}},{});return l.useMemo(()=>({[`__scope${t.scopeName}`]:o}),[o])},"useComposedScopes")},"createScope");return r.scopeName=t.scopeName,r}var mF=z(()=>{u(Ky,"createContextScope"),u(Yy,"composeContextScopes")});function Oe(e){let t=l.useRef(e);return l.useEffect(()=>{t.current=e}),l.useMemo(()=>(...r)=>{var n;return(n=t.current)==null?void 0:n.call(t,...r)},[])}var Qo=z(()=>{u(Oe,"useCallbackRef")});function Jy(e){let t=l.useContext(Zy);return e||t||"ltr"}var Zy,gF=z(()=>{Zy=l.createContext(void 0),u(Jy,"useDirection")});function Xy(e,[t,r]){return Math.min(r,Math.max(t,e))}var vF=z(()=>{u(Xy,"clamp")});function Be(e,t,{checkForDefaultPrevented:r=!0}={}){return u(function(n){if(e==null||e(n),r===!1||!n.defaultPrevented)return t==null?void 0:t(n)},"handleEvent")}var Sp=z(()=>{u(Be,"composeEventHandlers")});function rm(e,t){return l.useReducer((r,n)=>t[r][n]??r,e)}function $a(e){return e?parseInt(e,10):0}function ed(e,t){let r=e/t;return isNaN(r)?0:r}function So(e){let t=ed(e.viewport,e.content),r=e.scrollbar.paddingStart+e.scrollbar.paddingEnd,n=(e.scrollbar.size-r)*t;return Math.max(n,18)}function nm(e,t,r,n="ltr"){let a=So(r),o=a/2,i=t||o,s=a-i,c=r.scrollbar.paddingStart+i,d=r.scrollbar.size-r.scrollbar.paddingEnd-s,f=r.content-r.viewport,m=n==="ltr"?[0,f]:[f*-1,0];return Fp([c,d],m)(e)}function Cu(e,t,r="ltr"){let n=So(t),a=t.scrollbar.paddingStart+t.scrollbar.paddingEnd,o=t.scrollbar.size-a,i=t.content-t.viewport,s=o-n,c=r==="ltr"?[0,i]:[i*-1,0],d=Xy(e,c);return Fp([0,i],[0,s])(d)}function Fp(e,t){return r=>{if(e[0]===e[1]||t[0]===t[1])return t[0];let n=(t[1]-t[0])/(e[1]-e[0]);return t[0]+n*(r-e[0])}}function xu(e,t){return e>0&&e()=>window.clearTimeout(n.current),[]),l.useCallback(()=>{window.clearTimeout(n.current),n.current=window.setTimeout(r,t)},[r,t])}function Hr(e,t){let r=Oe(t);xr(()=>{let n=0;if(e){let a=new ResizeObserver(()=>{cancelAnimationFrame(n),n=window.requestAnimationFrame(r)});return a.observe(e),()=>{window.cancelAnimationFrame(n),a.unobserve(e)}}},[e,r])}function am(e,t){let{asChild:r,children:n}=e;if(!r)return typeof t=="function"?t(n):t;let a=l.Children.only(n);return l.cloneElement(a,{children:typeof t=="function"?t(a.props.children):t})}var Fi,Su,yF,om,Ge,Fu,Au,ku,st,_u,im,lm,Bu,Ai,sm,um,cm,Ru,Iu,Va,zu,dm,ki,Tu,pm,fm,Qy,e7,t7,r7,n7,bF=z(()=>{"use client";Zo(),hF(),mF(),Rr(),Qo(),gF(),Xo(),vF(),Sp(),u(rm,"useStateMachine"),Fi="ScrollArea",[Su,yF]=Ky(Fi),[om,Ge]=Su(Fi),Fu=l.forwardRef((e,t)=>{let{__scopeScrollArea:r,type:n="hover",dir:a,scrollHideDelay:o=600,...i}=e,[s,c]=l.useState(null),[d,f]=l.useState(null),[m,p]=l.useState(null),[h,g]=l.useState(null),[y,b]=l.useState(null),[C,E]=l.useState(0),[D,w]=l.useState(0),[x,S]=l.useState(!1),[F,A]=l.useState(!1),_=Le(t,I=>c(I)),R=Jy(a);return O.jsx(om,{scope:r,type:n,dir:R,scrollHideDelay:o,scrollArea:s,viewport:d,onViewportChange:f,content:m,onContentChange:p,scrollbarX:h,onScrollbarXChange:g,scrollbarXEnabled:x,onScrollbarXEnabledChange:S,scrollbarY:y,onScrollbarYChange:b,scrollbarYEnabled:F,onScrollbarYEnabledChange:A,onCornerWidthChange:E,onCornerHeightChange:w,children:O.jsx(Me.div,{dir:R,...i,ref:_,style:{position:"relative","--radix-scroll-area-corner-width":C+"px","--radix-scroll-area-corner-height":D+"px",...e.style}})})}),Fu.displayName=Fi,Au="ScrollAreaViewport",ku=l.forwardRef((e,t)=>{let{__scopeScrollArea:r,children:n,asChild:a,nonce:o,...i}=e,s=Ge(Au,r),c=l.useRef(null),d=Le(t,c,s.onViewportChange);return O.jsxs(O.Fragment,{children:[O.jsx("style",{dangerouslySetInnerHTML:{__html:` -[data-radix-scroll-area-viewport] { - scrollbar-width: none; - -ms-overflow-style: none; - -webkit-overflow-scrolling: touch; -} -[data-radix-scroll-area-viewport]::-webkit-scrollbar { - display: none; -} -:where([data-radix-scroll-area-viewport]) { - display: flex; - flex-direction: column; - align-items: stretch; -} -:where([data-radix-scroll-area-content]) { - flex-grow: 1; -} -`},nonce:o}),O.jsx(Me.div,{"data-radix-scroll-area-viewport":"",...i,asChild:a,ref:d,style:{overflowX:s.scrollbarXEnabled?"scroll":"hidden",overflowY:s.scrollbarYEnabled?"scroll":"hidden",...e.style},children:am({asChild:a,children:n},f=>O.jsx("div",{"data-radix-scroll-area-content":"",ref:s.onContentChange,style:{minWidth:s.scrollbarXEnabled?"fit-content":void 0},children:f}))})]})}),ku.displayName=Au,st="ScrollAreaScrollbar",_u=l.forwardRef((e,t)=>{let{forceMount:r,...n}=e,a=Ge(st,e.__scopeScrollArea),{onScrollbarXEnabledChange:o,onScrollbarYEnabledChange:i}=a,s=e.orientation==="horizontal";return l.useEffect(()=>(s?o(!0):i(!0),()=>{s?o(!1):i(!1)}),[s,o,i]),a.type==="hover"?O.jsx(im,{...n,ref:t,forceMount:r}):a.type==="scroll"?O.jsx(lm,{...n,ref:t,forceMount:r}):a.type==="auto"?O.jsx(Bu,{...n,ref:t,forceMount:r}):a.type==="always"?O.jsx(Ai,{...n,ref:t}):null}),_u.displayName=st,im=l.forwardRef((e,t)=>{let{forceMount:r,...n}=e,a=Ge(st,e.__scopeScrollArea),[o,i]=l.useState(!1);return l.useEffect(()=>{let s=a.scrollArea,c=0;if(s){let d=u(()=>{window.clearTimeout(c),i(!0)},"handlePointerEnter"),f=u(()=>{c=window.setTimeout(()=>i(!1),a.scrollHideDelay)},"handlePointerLeave");return s.addEventListener("pointerenter",d),s.addEventListener("pointerleave",f),()=>{window.clearTimeout(c),s.removeEventListener("pointerenter",d),s.removeEventListener("pointerleave",f)}}},[a.scrollArea,a.scrollHideDelay]),O.jsx(Gn,{present:r||o,children:O.jsx(Bu,{"data-state":o?"visible":"hidden",...n,ref:t})})}),lm=l.forwardRef((e,t)=>{let{forceMount:r,...n}=e,a=Ge(st,e.__scopeScrollArea),o=e.orientation==="horizontal",i=ja(()=>c("SCROLL_END"),100),[s,c]=rm("hidden",{hidden:{SCROLL:"scrolling"},scrolling:{SCROLL_END:"idle",POINTER_ENTER:"interacting"},interacting:{SCROLL:"interacting",POINTER_LEAVE:"idle"},idle:{HIDE:"hidden",SCROLL:"scrolling",POINTER_ENTER:"interacting"}});return l.useEffect(()=>{if(s==="idle"){let d=window.setTimeout(()=>c("HIDE"),a.scrollHideDelay);return()=>window.clearTimeout(d)}},[s,a.scrollHideDelay,c]),l.useEffect(()=>{let d=a.viewport,f=o?"scrollLeft":"scrollTop";if(d){let m=d[f],p=u(()=>{let h=d[f];m!==h&&(c("SCROLL"),i()),m=h},"handleScroll");return d.addEventListener("scroll",p),()=>d.removeEventListener("scroll",p)}},[a.viewport,o,c,i]),O.jsx(Gn,{present:r||s!=="hidden",children:O.jsx(Ai,{"data-state":s==="hidden"?"hidden":"visible",...n,ref:t,onPointerEnter:Be(e.onPointerEnter,()=>c("POINTER_ENTER")),onPointerLeave:Be(e.onPointerLeave,()=>c("POINTER_LEAVE"))})})}),Bu=l.forwardRef((e,t)=>{let r=Ge(st,e.__scopeScrollArea),{forceMount:n,...a}=e,[o,i]=l.useState(!1),s=e.orientation==="horizontal",c=ja(()=>{if(r.viewport){let d=r.viewport.offsetWidth{let{orientation:r="vertical",...n}=e,a=Ge(st,e.__scopeScrollArea),o=l.useRef(null),i=l.useRef(0),[s,c]=l.useState({content:0,viewport:0,scrollbar:{size:0,paddingStart:0,paddingEnd:0}}),d=ed(s.viewport,s.content),f={...n,sizes:s,onSizesChange:c,hasThumb:d>0&&d<1,onThumbChange:u(p=>o.current=p,"onThumbChange"),onThumbPointerUp:u(()=>i.current=0,"onThumbPointerUp"),onThumbPointerDown:u(p=>i.current=p,"onThumbPointerDown")};function m(p,h){return nm(p,i.current,s,h)}return u(m,"getScrollPosition"),r==="horizontal"?O.jsx(sm,{...f,ref:t,onThumbPositionChange:u(()=>{if(a.viewport&&o.current){let p=a.viewport.scrollLeft,h=Cu(p,s,a.dir);o.current.style.transform=`translate3d(${h}px, 0, 0)`}},"onThumbPositionChange"),onWheelScroll:u(p=>{a.viewport&&(a.viewport.scrollLeft=p)},"onWheelScroll"),onDragScroll:u(p=>{a.viewport&&(a.viewport.scrollLeft=m(p,a.dir))},"onDragScroll")}):r==="vertical"?O.jsx(um,{...f,ref:t,onThumbPositionChange:u(()=>{if(a.viewport&&o.current){let p=a.viewport.scrollTop,h=Cu(p,s);o.current.style.transform=`translate3d(0, ${h}px, 0)`}},"onThumbPositionChange"),onWheelScroll:u(p=>{a.viewport&&(a.viewport.scrollTop=p)},"onWheelScroll"),onDragScroll:u(p=>{a.viewport&&(a.viewport.scrollTop=m(p))},"onDragScroll")}):null}),sm=l.forwardRef((e,t)=>{let{sizes:r,onSizesChange:n,...a}=e,o=Ge(st,e.__scopeScrollArea),[i,s]=l.useState(),c=l.useRef(null),d=Le(t,c,o.onScrollbarXChange);return l.useEffect(()=>{c.current&&s(getComputedStyle(c.current))},[c]),O.jsx(Iu,{"data-orientation":"horizontal",...a,ref:d,sizes:r,style:{bottom:0,left:o.dir==="rtl"?"var(--radix-scroll-area-corner-width)":0,right:o.dir==="ltr"?"var(--radix-scroll-area-corner-width)":0,"--radix-scroll-area-thumb-width":So(r)+"px",...e.style},onThumbPointerDown:u(f=>e.onThumbPointerDown(f.x),"onThumbPointerDown"),onDragScroll:u(f=>e.onDragScroll(f.x),"onDragScroll"),onWheelScroll:u((f,m)=>{if(o.viewport){let p=o.viewport.scrollLeft+f.deltaX;e.onWheelScroll(p),xu(p,m)&&f.preventDefault()}},"onWheelScroll"),onResize:u(()=>{c.current&&o.viewport&&i&&n({content:o.viewport.scrollWidth,viewport:o.viewport.offsetWidth,scrollbar:{size:c.current.clientWidth,paddingStart:$a(i.paddingLeft),paddingEnd:$a(i.paddingRight)}})},"onResize")})}),um=l.forwardRef((e,t)=>{let{sizes:r,onSizesChange:n,...a}=e,o=Ge(st,e.__scopeScrollArea),[i,s]=l.useState(),c=l.useRef(null),d=Le(t,c,o.onScrollbarYChange);return l.useEffect(()=>{c.current&&s(getComputedStyle(c.current))},[c]),O.jsx(Iu,{"data-orientation":"vertical",...a,ref:d,sizes:r,style:{top:0,right:o.dir==="ltr"?0:void 0,left:o.dir==="rtl"?0:void 0,bottom:"var(--radix-scroll-area-corner-height)","--radix-scroll-area-thumb-height":So(r)+"px",...e.style},onThumbPointerDown:u(f=>e.onThumbPointerDown(f.y),"onThumbPointerDown"),onDragScroll:u(f=>e.onDragScroll(f.y),"onDragScroll"),onWheelScroll:u((f,m)=>{if(o.viewport){let p=o.viewport.scrollTop+f.deltaY;e.onWheelScroll(p),xu(p,m)&&f.preventDefault()}},"onWheelScroll"),onResize:u(()=>{c.current&&o.viewport&&i&&n({content:o.viewport.scrollHeight,viewport:o.viewport.offsetHeight,scrollbar:{size:c.current.clientHeight,paddingStart:$a(i.paddingTop),paddingEnd:$a(i.paddingBottom)}})},"onResize")})}),[cm,Ru]=Su(st),Iu=l.forwardRef((e,t)=>{let{__scopeScrollArea:r,sizes:n,hasThumb:a,onThumbChange:o,onThumbPointerUp:i,onThumbPointerDown:s,onThumbPositionChange:c,onDragScroll:d,onWheelScroll:f,onResize:m,...p}=e,h=Ge(st,r),[g,y]=l.useState(null),b=Le(t,_=>y(_)),C=l.useRef(null),E=l.useRef(""),D=h.viewport,w=n.content-n.viewport,x=Oe(f),S=Oe(c),F=ja(m,10);function A(_){if(C.current){let R=_.clientX-C.current.left,I=_.clientY-C.current.top;d({x:R,y:I})}}return u(A,"handleDragScroll"),l.useEffect(()=>{let _=u(R=>{let I=R.target;g!=null&&g.contains(I)&&x(R,w)},"handleWheel");return document.addEventListener("wheel",_,{passive:!1}),()=>document.removeEventListener("wheel",_,{passive:!1})},[D,g,w,x]),l.useEffect(S,[n,S]),Hr(g,F),Hr(h.content,F),O.jsx(cm,{scope:r,scrollbar:g,hasThumb:a,onThumbChange:Oe(o),onThumbPointerUp:Oe(i),onThumbPositionChange:S,onThumbPointerDown:Oe(s),children:O.jsx(Me.div,{...p,ref:b,style:{position:"absolute",...p.style},onPointerDown:Be(e.onPointerDown,_=>{_.button===0&&(_.target.setPointerCapture(_.pointerId),C.current=g.getBoundingClientRect(),E.current=document.body.style.webkitUserSelect,document.body.style.webkitUserSelect="none",h.viewport&&(h.viewport.style.scrollBehavior="auto"),A(_))}),onPointerMove:Be(e.onPointerMove,A),onPointerUp:Be(e.onPointerUp,_=>{let R=_.target;R.hasPointerCapture(_.pointerId)&&R.releasePointerCapture(_.pointerId),document.body.style.webkitUserSelect=E.current,h.viewport&&(h.viewport.style.scrollBehavior=""),C.current=null})})})}),Va="ScrollAreaThumb",zu=l.forwardRef((e,t)=>{let{forceMount:r,...n}=e,a=Ru(Va,e.__scopeScrollArea);return O.jsx(Gn,{present:r||a.hasThumb,children:O.jsx(dm,{ref:t,...n})})}),dm=l.forwardRef((e,t)=>{let{__scopeScrollArea:r,style:n,...a}=e,o=Ge(Va,r),i=Ru(Va,r),{onThumbPositionChange:s}=i,c=Le(t,m=>i.onThumbChange(m)),d=l.useRef(),f=ja(()=>{d.current&&(d.current(),d.current=void 0)},100);return l.useEffect(()=>{let m=o.viewport;if(m){let p=u(()=>{if(f(),!d.current){let h=fm(m,s);d.current=h,s()}},"handleScroll");return s(),m.addEventListener("scroll",p),()=>m.removeEventListener("scroll",p)}},[o.viewport,f,s]),O.jsx(Me.div,{"data-state":i.hasThumb?"visible":"hidden",...a,ref:c,style:{width:"var(--radix-scroll-area-thumb-width)",height:"var(--radix-scroll-area-thumb-height)",...n},onPointerDownCapture:Be(e.onPointerDownCapture,m=>{let p=m.target.getBoundingClientRect(),h=m.clientX-p.left,g=m.clientY-p.top;i.onThumbPointerDown({x:h,y:g})}),onPointerUp:Be(e.onPointerUp,i.onThumbPointerUp)})}),zu.displayName=Va,ki="ScrollAreaCorner",Tu=l.forwardRef((e,t)=>{let r=Ge(ki,e.__scopeScrollArea),n=!!(r.scrollbarX&&r.scrollbarY);return r.type!=="scroll"&&n?O.jsx(pm,{...e,ref:t}):null}),Tu.displayName=ki,pm=l.forwardRef((e,t)=>{let{__scopeScrollArea:r,...n}=e,a=Ge(ki,r),[o,i]=l.useState(0),[s,c]=l.useState(0),d=!!(o&&s);return Hr(a.scrollbarX,()=>{var m;let f=((m=a.scrollbarX)==null?void 0:m.offsetHeight)||0;a.onCornerHeightChange(f),c(f)}),Hr(a.scrollbarY,()=>{var m;let f=((m=a.scrollbarY)==null?void 0:m.offsetWidth)||0;a.onCornerWidthChange(f),i(f)}),d?O.jsx(Me.div,{...n,ref:t,style:{width:o,height:s,position:"absolute",right:a.dir==="ltr"?0:void 0,left:a.dir==="rtl"?0:void 0,bottom:0,...e.style}}):null}),u($a,"toInt"),u(ed,"getThumbRatio"),u(So,"getThumbSize"),u(nm,"getScrollPositionFromPointer"),u(Cu,"getThumbOffsetFromScroll"),u(Fp,"linearScale"),u(xu,"isScrollingWithinScrollbarBounds"),fm=u((e,t=()=>{})=>{let r={left:e.scrollLeft,top:e.scrollTop},n=0;return u(function a(){let o={left:e.scrollLeft,top:e.scrollTop},i=r.left!==o.left,s=r.top!==o.top;(i||s)&&t(),r=o,n=window.requestAnimationFrame(a)},"loop")(),()=>window.cancelAnimationFrame(n)},"addUnlinkedScrollListener"),u(ja,"useDebounceCallback"),u(Hr,"useResizeObserver"),u(am,"getSubtree"),Qy=Fu,e7=ku,t7=_u,r7=zu,n7=Tu}),hm,mm,Lu,Mu,Il,Ap=z(()=>{bF(),hm=k(Qy)(({scrollbarsize:e,offset:t})=>({width:"100%",height:"100%",overflow:"hidden","--scrollbar-size":`${e+t}px`,"--radix-scroll-area-thumb-width":`${e}px`})),mm=k(e7)({width:"100%",height:"100%"}),Lu=k(t7)(({offset:e,horizontal:t,vertical:r})=>({display:"flex",userSelect:"none",touchAction:"none",background:"transparent",transition:"all 0.2s ease-out",borderRadius:"var(--scrollbar-size)",zIndex:1,'&[data-orientation="vertical"]':{width:"var(--scrollbar-size)",paddingRight:e,marginTop:e,marginBottom:t==="true"&&r==="true"?0:e},'&[data-orientation="horizontal"]':{flexDirection:"column",height:"var(--scrollbar-size)",paddingBottom:e,marginLeft:e,marginRight:t==="true"&&r==="true"?0:e}})),Mu=k(r7)(({theme:e})=>({flex:1,background:e.textMutedColor,opacity:.5,borderRadius:"var(--scrollbar-size)",position:"relative",transition:"opacity 0.2s ease-out","&:hover":{opacity:.8},"::before":{content:'""',position:"absolute",top:"50%",left:"50%",transform:"translate(-50%,-50%)",width:"100%",height:"100%"}})),Il=l.forwardRef(({children:e,horizontal:t=!1,vertical:r=!1,offset:n=2,scrollbarSize:a=6,className:o},i)=>v.createElement(hm,{scrollbarsize:a,offset:n,className:o},v.createElement(mm,{ref:i},e),t&&v.createElement(Lu,{orientation:"horizontal",offset:n,horizontal:t.toString(),vertical:r.toString()},v.createElement(Mu,null)),r&&v.createElement(Lu,{orientation:"vertical",offset:n,horizontal:t.toString(),vertical:r.toString()},v.createElement(Mu,null)),t&&r&&v.createElement(n7,null))),Il.displayName="ScrollArea"}),kp={};Sa(kp,{SyntaxHighlighter:()=>Fo,createCopyToClipboardFunction:()=>td,default:()=>a7,supportedLanguages:()=>rd});const{logger:wF}=__STORYBOOK_MODULE_CLIENT_LOGGER__;function td(){return lo!=null&&lo.clipboard?e=>lo.clipboard.writeText(e):async e=>{let t=Hn.createElement("TEXTAREA"),r=Hn.activeElement;t.value=e,Hn.body.appendChild(t),t.select(),Hn.execCommand("copy"),Hn.body.removeChild(t),r.focus()}}var gm,lo,Hn,vm,rd,ym,bm,wm,Dm,Em,Cm,xm,Ou,Sm,Fm,Fo,a7,Bs=z(()=>{mp(),gm=Ce(Fs(),1),KS(),JS(),ZS(),QS(),tF(),nF(),aF(),iF(),lF(),uF(),cF(),pF(),GS(),Vy(),Ap(),{navigator:lo,document:Hn,window:vm}=Ss,rd={jsextra:zy,jsx:My,json:Ty,yml:jy,md:Oy,bash:By,css:Ry,html:Py,tsx:Hy,typescript:$y,graphql:Iy},Object.entries(rd).forEach(([e,t])=>{nl.registerLanguage(e,t)}),ym=(0,gm.default)(2)(e=>Object.entries(e.code||{}).reduce((t,[r,n])=>({...t,[`* .${r}`]:n}),{})),bm=td(),u(td,"createCopyToClipboardFunction"),wm=k.div(({theme:e})=>({position:"relative",overflow:"hidden",color:e.color.defaultText}),({theme:e,bordered:t})=>t?{border:`1px solid ${e.appBorderColor}`,borderRadius:e.borderRadius,background:e.background.content}:{},({showLineNumbers:e})=>e?{".react-syntax-highlighter-line-number::before":{content:"attr(data-line-number)"}}:{}),Dm=u(({children:e,className:t})=>v.createElement(Il,{horizontal:!0,vertical:!0,className:t},e),"UnstyledScroller"),Em=k(Dm)({position:"relative"},({theme:e})=>ym(e)),Cm=k.pre(({theme:e,padded:t})=>({display:"flex",justifyContent:"flex-start",margin:0,padding:t?e.layoutMargin:0})),xm=k.div(({theme:e})=>({flex:1,paddingLeft:2,paddingRight:e.layoutMargin,opacity:1,fontFamily:e.typography.fonts.mono})),Ou=u(e=>{let t=[...e.children],r=t[0],n=r.children[0].value,a={...r,children:[],properties:{...r.properties,"data-line-number":n,style:{...r.properties.style,userSelect:"auto"}}};return t[0]=a,{...e,children:t}},"processLineNumber"),Sm=u(({rows:e,stylesheet:t,useInlineStyles:r})=>e.map((n,a)=>ks({node:Ou(n),stylesheet:t,useInlineStyles:r,key:`code-segement${a}`})),"defaultRenderer"),Fm=u((e,t)=>t?e?({rows:r,...n})=>e({rows:r.map(a=>Ou(a)),...n}):Sm:e,"wrapRenderer"),Fo=u(({children:e,language:t="jsx",copyable:r=!1,bordered:n=!1,padded:a=!1,format:o=!0,formatter:i=void 0,className:s=void 0,showLineNumbers:c=!1,...d})=>{if(typeof e!="string"||!e.trim())return null;let[f,m]=l.useState("");l.useEffect(()=>{i?i(o,e).then(m):m(e.trim())},[e,o,i]);let[p,h]=l.useState(!1),g=l.useCallback(b=>{b.preventDefault(),bm(f).then(()=>{h(!0),vm.setTimeout(()=>h(!1),1500)}).catch(wF.error)},[f]),y=Fm(d.renderer,c);return v.createElement(wm,{bordered:n,padded:a,showLineNumbers:c,className:s},v.createElement(Em,null,v.createElement(nl,{padded:a||n,language:t,showLineNumbers:c,showInlineLineNumbers:c,useInlineStyles:!1,PreTag:Cm,CodeTag:xm,lineNumberContainerStyle:{},...d,renderer:y},f)),r?v.createElement(xp,{actionItems:[{title:p?"Copied":"Copy",onClick:g}]}):null)},"SyntaxHighlighter"),Fo.registerLanguage=(...e)=>nl.registerLanguage(...e),a7=Fo});function Am(e){if(typeof e=="string")return Zp;if(Array.isArray(e))return Xp;if(!e)return;let{type:t}=e;if(Qp.has(t))return t}function km(e){let t=e===null?"null":typeof e;if(t!=="string"&&t!=="object")return`Unexpected doc '${t}', -Expected it to be 'string' or 'object'.`;if(ef(e))throw new Error("doc is valid.");let r=Object.prototype.toString.call(e);if(r!=="[object Object]")return`Unexpected doc '${r}'.`;let n=ub([...Qp].map(a=>`'${a}'`));return`Unexpected doc.type '${e.type}'. -Expected it to be ${n}.`}function St(e){return kr(e),{type:Ol,contents:e}}function _p(e,t){return kr(t),{type:Pl,contents:t,n:e}}function pe(e,t={}){return kr(e),Os(t.expandedStates,!0),{type:Nl,id:t.id,contents:e,break:!!t.shouldBreak,expandedStates:t.expandedStates}}function o7(e){return _p(Number.NEGATIVE_INFINITY,e)}function i7(e){return _p({type:"root"},e)}function Bp(e){return Os(e),{type:Hl,parts:e}}function To(e,t="",r={}){return kr(e),t!==""&&kr(t),{type:$l,breakContents:e,flatContents:t,groupId:r.groupId}}function l7(e,t){return kr(e),{type:jl,contents:e,groupId:t.groupId,negate:t.negate}}function yn(e,t){kr(e),Os(t);let r=[];for(let n=0;ntypeof r=="string"?yn(t,r.split(` -`)):r)}function _m(e,t){let r=t===!0||t===fo?fo:md,n=r===fo?md:fo,a=0,o=0;for(let i of e)i===r?a++:i===n&&o++;return a>o?n:r}function Bm(e){if(typeof e!="string")throw new TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}function Rm(e){return(e==null?void 0:e.type)==="front-matter"}function Pu(e,t){var r;if(e.type==="text"||e.type==="comment"||oi(e)||e.type==="yaml"||e.type==="toml")return null;if(e.type==="attribute"&&delete t.value,e.type==="docType"&&delete t.value,e.type==="angularControlFlowBlock"&&(r=e.parameters)!=null&&r.children)for(let n of t.parameters.children)hb.has(e.name)?delete n.expression:n.expression=n.expression.trim();e.type==="angularIcuExpression"&&(t.switchValue=e.switchValue.trim()),e.type==="angularLetDeclarationInitializer"&&delete t.value}async function Im(e,t){if(e.language==="yaml"){let r=e.value.trim(),n=r?await t(r,{parser:"yaml"}):"";return i7([e.startDelimiter,e.explicitLanguage,ae,n,n?ae:"",e.endDelimiter])}}function ei(e,t=!0){return[St([Ee,e]),t?Ee:""]}function bn(e,t){let r=e.type==="NGRoot"?e.node.type==="NGMicrosyntax"&&e.node.body.length===1&&e.node.body[0].type==="NGMicrosyntaxExpression"?e.node.body[0].expression:e.node:e.type==="JsExpressionRoot"?e.node:e;return r&&(r.type==="ObjectExpression"||r.type==="ArrayExpression"||(t.parser==="__vue_expression"||t.parser==="__vue_ts_expression")&&(r.type==="TemplateLiteral"||r.type==="StringLiteral"))}async function tt(e,t,r,n){r={__isInHtmlAttribute:!0,__embeddedInHtml:!0,...r};let a=!0;n&&(r.__onHtmlBindingRoot=(i,s)=>{a=n(i,s)});let o=await t(e,r,t);return a?pe(o):ei(o)}function zm(e,t,r,n){let{node:a}=r,o=n.originalText.slice(a.sourceSpan.start.offset,a.sourceSpan.end.offset);return/^\s*$/u.test(o)?"":tt(o,e,{parser:"__ng_directive",__isInHtmlAttribute:!1},bn)}function nd(e,t){if(!t)return;let r=vb(t).toLowerCase();return e.find(({filenames:n})=>n==null?void 0:n.some(a=>a.toLowerCase()===r))??e.find(({extensions:n})=>n==null?void 0:n.some(a=>r.endsWith(a)))}function s7(e,t){if(t)return e.find(({name:r})=>r.toLowerCase()===t)??e.find(({aliases:r})=>r==null?void 0:r.includes(t))??e.find(({extensions:r})=>r==null?void 0:r.includes(`.${t}`))}function Tm(e,t){let r=e.plugins.flatMap(a=>a.languages??[]),n=s7(r,t.language)??nd(r,t.physicalFile)??nd(r,t.file)??(t.physicalFile,void 0);return n==null?void 0:n.parsers[0]}function Lm(e){return e.type==="element"&&!e.hasExplicitNamespace&&!["html","svg"].includes(e.namespace)}function Ip(e,t){return!!(e.type==="ieConditionalComment"&&e.lastChild&&!e.lastChild.isSelfClosing&&!e.lastChild.endSourceSpan||e.type==="ieConditionalComment"&&!e.complete||cn(e)&&e.children.some(r=>r.type!=="text"&&r.type!=="interpolation")||Is(e,t)&&!Wt(e)&&e.type!=="interpolation")}function ti(e){return e.type==="attribute"||!e.parent||!e.prev?!1:u7(e.prev)}function u7(e){return e.type==="comment"&&e.value.trim()==="prettier-ignore"}function Ye(e){return e.type==="text"||e.type==="comment"}function Wt(e){return e.type==="element"&&(e.fullName==="script"||e.fullName==="style"||e.fullName==="svg:style"||e.fullName==="svg:script"||va(e)&&(e.name==="script"||e.name==="style"))}function c7(e){return e.children&&!Wt(e)}function d7(e){return Wt(e)||e.type==="interpolation"||zp(e)}function zp(e){return Hp(e).startsWith("pre")}function p7(e,t){var r,n;let a=o();if(a&&!e.prev&&(n=(r=e.parent)==null?void 0:r.tagDefinition)!=null&&n.ignoreFirstLf)return e.type==="interpolation";return a;function o(){return oi(e)||e.type==="angularControlFlowBlock"?!1:(e.type==="text"||e.type==="interpolation")&&e.prev&&(e.prev.type==="text"||e.prev.type==="interpolation")?!0:!e.parent||e.parent.cssDisplay==="none"?!1:cn(e.parent)?!0:!(!e.prev&&(e.parent.type==="root"||cn(e)&&e.parent||Wt(e.parent)||ri(e.parent,t)||!D7(e.parent.cssDisplay))||e.prev&&!x7(e.prev.cssDisplay))}}function f7(e,t){return oi(e)||e.type==="angularControlFlowBlock"?!1:(e.type==="text"||e.type==="interpolation")&&e.next&&(e.next.type==="text"||e.next.type==="interpolation")?!0:!e.parent||e.parent.cssDisplay==="none"?!1:cn(e.parent)?!0:!(!e.next&&(e.parent.type==="root"||cn(e)&&e.parent||Wt(e.parent)||ri(e.parent,t)||!E7(e.parent.cssDisplay))||e.next&&!C7(e.next.cssDisplay))}function h7(e){return S7(e.cssDisplay)&&!Wt(e)}function so(e){return oi(e)||e.next&&e.sourceSpan.end&&e.sourceSpan.end.line+10&&(["body","script","style"].includes(e.name)||e.children.some(t=>v7(t)))||e.firstChild&&e.firstChild===e.lastChild&&e.firstChild.type!=="text"&&Mp(e.firstChild)&&(!e.lastChild.isTrailingSpaceSensitive||Op(e.lastChild))}function Tp(e){return e.type==="element"&&e.children.length>0&&(["html","head","ul","ol","select"].includes(e.name)||e.cssDisplay.startsWith("table")&&e.cssDisplay!=="table-cell")}function al(e){return Pp(e)||e.prev&&g7(e.prev)||Lp(e)}function g7(e){return Pp(e)||e.type==="element"&&e.fullName==="br"||Lp(e)}function Lp(e){return Mp(e)&&Op(e)}function Mp(e){return e.hasLeadingSpaces&&(e.prev?e.prev.sourceSpan.end.linee.sourceSpan.end.line:e.parent.type==="root"||e.parent.endSourceSpan&&e.parent.endSourceSpan.start.line>e.sourceSpan.end.line)}function Pp(e){switch(e.type){case"ieConditionalComment":case"comment":case"directive":return!0;case"element":return["script","select"].includes(e.name)}return!1}function Rs(e){return e.lastChild?Rs(e.lastChild):e}function v7(e){var t;return(t=e.children)==null?void 0:t.some(r=>r.type!=="text")}function Np(e){if(e)switch(e){case"module":case"text/javascript":case"text/babel":case"application/javascript":return"babel";case"application/x-typescript":return"typescript";case"text/markdown":return"markdown";case"text/html":return"html";case"text/x-handlebars-template":return"glimmer";default:if(e.endsWith("json")||e.endsWith("importmap")||e==="speculationrules")return"json"}}function y7(e,t){let{name:r,attrMap:n}=e;if(r!=="script"||Object.prototype.hasOwnProperty.call(n,"src"))return;let{type:a,lang:o}=e.attrMap;return!o&&!a?"babel":ii(t,{language:o})??Np(a)}function b7(e,t){if(!Is(e,t))return;let{attrMap:r}=e;if(Object.prototype.hasOwnProperty.call(r,"src"))return;let{type:n,lang:a}=r;return ii(t,{language:a})??Np(n)}function w7(e,t){if(e.name!=="style")return;let{lang:r}=e.attrMap;return r?ii(t,{language:r}):"css"}function ad(e,t){return y7(e,t)??w7(e,t)??b7(e,t)}function Fa(e){return e==="block"||e==="list-item"||e.startsWith("table")}function D7(e){return!Fa(e)&&e!=="inline-block"}function E7(e){return!Fa(e)&&e!=="inline-block"}function C7(e){return!Fa(e)}function x7(e){return!Fa(e)}function S7(e){return!Fa(e)&&e!=="inline-block"}function cn(e){return Hp(e).startsWith("pre")}function F7(e,t){let r=e;for(;r;){if(t(r))return!0;r=r.parent}return!1}function A7(e,t){var r;if(wn(e,t))return"block";if(((r=e.prev)==null?void 0:r.type)==="comment"){let a=e.prev.value.match(/^\s*display:\s*([a-z]+)\s*$/u);if(a)return a[1]}let n=!1;if(e.type==="element"&&e.namespace==="svg")if(F7(e,a=>a.fullName==="svg:foreignObject"))n=!0;else return e.name==="svg"?"inline-block":"block";switch(t.htmlWhitespaceSensitivity){case"strict":return"inline";case"ignore":return"block";default:return e.type==="element"&&(!e.namespace||n||va(e))&&bb[e.name]||yb}}function Hp(e){return e.type==="element"&&(!e.namespace||va(e))&&Db[e.name]||wb}function k7(e){let t=Number.POSITIVE_INFINITY;for(let r of e.split(` -`)){if(r.length===0)continue;let n=mt.getLeadingWhitespaceCount(r);if(n===0)return 0;r.length!==n&&nr.slice(t)).join(` -`)}function jp(e){return je(!1,je(!1,e,"'","'"),""",'"')}function dr(e){return jp(e.value)}function ri(e,t){return wn(e,t)&&!Cb.has(e.fullName)}function wn(e,t){return t.parser==="vue"&&e.type==="element"&&e.parent.type==="root"&&e.fullName.toLowerCase()!=="html"}function Is(e,t){return wn(e,t)&&(ri(e,t)||e.attrMap.lang&&e.attrMap.lang!=="html")}function _7(e){let t=e.fullName;return t.charAt(0)==="#"||t==="slot-scope"||t==="v-slot"||t.startsWith("v-slot:")}function B7(e,t){let r=e.parent;if(!wn(r,t))return!1;let n=r.fullName,a=e.fullName;return n==="script"&&a==="setup"||n==="style"&&a==="vars"}function Vp(e,t=e.value){return e.parent.isWhitespaceSensitive?e.parent.isIndentationSensitive?et(t):et($p(tf(t)),ae):yn(ve,mt.split(t))}function Up(e,t){return wn(e,t)&&e.name==="script"}async function R7(e,t){let r=[];for(let[n,a]of e.split(rf).entries())if(n%2===0)r.push(et(a));else try{r.push(pe(["{{",St([ve,await tt(a,t,{parser:"__ng_interpolation",__isInHtmlInterpolation:!0})]),ve,"}}"]))}catch{r.push("{{",et(a),"}}")}return r}function _i({parser:e}){return(t,r,n)=>tt(dr(n.node),t,{parser:e},bn)}function Mm(e,t){if(t.parser!=="angular")return;let{node:r}=e,n=r.fullName;if(n.startsWith("(")&&n.endsWith(")")||n.startsWith("on-"))return xb;if(n.startsWith("[")&&n.endsWith("]")||/^bind(?:on)?-/u.test(n)||/^ng-(?:if|show|hide|class|style)$/u.test(n))return Sb;if(n.startsWith("*"))return Fb;let a=dr(r);if(/^i18n(?:-.+)?$/u.test(n))return()=>ei(Bp(Vp(r,a.trim())),!a.includes("@@"));if(rf.test(a))return o=>R7(a,o)}function Om(e,t){let{node:r}=e,n=dr(r);if(r.fullName==="class"&&!t.parentParser&&!n.includes("{{"))return()=>n.trim().split(/\s+/u).join(" ")}function od(e){return e===" "||e===` -`||e==="\f"||e==="\r"||e===" "}function Pm(e){let t=e.length,r,n,a,o,i,s=0,c;function d(h){let g,y=h.exec(e.substring(s));if(y)return[g]=y,s+=g.length,g}u(d,"p");let f=[];for(;;){if(d(Bb),s>=t){if(f.length===0)throw new Error("Must contain one or more image candidate strings.");return f}c=s,r=d(Rb),n=[],r.slice(-1)===","?(r=r.replace(Ib,""),p()):m()}function m(){for(d(_b),a="",o="in descriptor";;){if(i=e.charAt(s),o==="in descriptor")if(od(i))a&&(n.push(a),a="",o="after descriptor");else if(i===","){s+=1,a&&n.push(a),p();return}else if(i==="(")a+=i,o="in parens";else if(i===""){a&&n.push(a),p();return}else a+=i;else if(o==="in parens")if(i===")")a+=i,o="in descriptor";else if(i===""){n.push(a),p();return}else a+=i;else if(o==="after descriptor"&&!od(i))if(i===""){p();return}else o="in descriptor",s-=1;s+=1}}u(m,"f");function p(){let h=!1,g,y,b,C,E={},D,w,x,S,F;for(C=0;CI7(dr(e.node))}function I7(e){let t=Tb(e),r=Lb.filter(f=>t.some(m=>Object.prototype.hasOwnProperty.call(m,f)));if(r.length>1)throw new Error("Mixed descriptor in srcset is not supported");let[n]=r,a=vd[n],o=t.map(f=>f.source.value),i=Math.max(...o.map(f=>f.length)),s=t.map(f=>f[n]?String(f[n].value):""),c=s.map(f=>{let m=f.indexOf(".");return m===-1?f.length:m}),d=Math.max(...c);return ei(yn([",",ve],o.map((f,m)=>{let p=[f],h=s[m];if(h){let g=i-f.length+1,y=d-c[m],b=" ".repeat(g+y);p.push(To(b," "),h+a)}return p})))}function z7(e,t){let{node:r}=e,n=dr(e.node).trim();if(r.fullName==="style"&&!t.parentParser&&!n.includes("{{"))return async a=>ei(await a(n,{parser:"css",__isHTMLStyleAttribute:!0}))}function Hm(e,t){let{root:r}=e;return il.has(r)||il.set(r,r.children.some(n=>Up(n,t)&&["ts","typescript"].includes(n.attrMap.lang))),il.get(r)}function T7(e,t,r){let{node:n}=r,a=dr(n);return tt(`type T<${a}> = any`,e,{parser:"babel-ts",__isEmbeddedTypescriptGenericParameters:!0},bn)}function L7(e,t,{parseWithTs:r}){return tt(`function _(${e}) {}`,t,{parser:r?"babel-ts":"babel",__isVueBindings:!0})}async function M7(e,t,r,n){let a=dr(r.node),{left:o,operator:i,right:s}=O7(a),c=Ps(r,n);return[pe(await tt(`function _(${o}) {}`,e,{parser:c?"babel-ts":"babel",__isVueForBindingLeft:!0}))," ",i," ",await tt(s,e,{parser:c?"__ts_expression":"__js_expression"})]}function O7(e){let t=/(.*?)\s+(in|of)\s+(.*)/su,r=/,([^,\]}]*)(?:,([^,\]}]*))?$/u,n=/^\(|\)$/gu,a=e.match(t);if(!a)return;let o={};if(o.for=a[3].trim(),!o.for)return;let i=je(!1,a[1].trim(),n,""),s=i.match(r);s?(o.alias=i.replace(r,""),o.iterator1=s[1].trim(),s[2]&&(o.iterator2=s[2].trim())):o.alias=i;let c=[o.alias,o.iterator1,o.iterator2];if(!c.some((d,f)=>!d&&(f===0||c.slice(f+1).some(Boolean))))return{left:c.filter(Boolean).join(","),operator:a[2],right:o.for}}function $m(e,t){if(t.parser!=="vue")return;let{node:r}=e,n=r.fullName;if(n==="v-for")return M7;if(n==="generic"&&Up(r.parent,t))return T7;let a=dr(r),o=Ps(e,t);if(_7(r)||B7(r,t))return i=>L7(a,i,{parseWithTs:o});if(n.startsWith("@")||n.startsWith("v-on:"))return i=>P7(a,i,{parseWithTs:o});if(n.startsWith(":")||n.startsWith("v-bind:"))return i=>N7(a,i,{parseWithTs:o});if(n.startsWith("v-"))return i=>qp(a,i,{parseWithTs:o})}async function P7(e,t,{parseWithTs:r}){var n;try{return await qp(e,t,{parseWithTs:r})}catch(a){if(((n=a.cause)==null?void 0:n.code)!=="BABEL_PARSER_SYNTAX_ERROR")throw a}return tt(e,t,{parser:r?"__vue_ts_event_binding":"__vue_event_binding"},bn)}function N7(e,t,{parseWithTs:r}){return tt(e,t,{parser:r?"__vue_ts_expression":"__vue_expression"},bn)}function qp(e,t,{parseWithTs:r}){return tt(e,t,{parser:r?"__ts_expression":"__js_expression"},bn)}function jm(e,t){let{node:r}=e;if(r.value){if(/^PRETTIER_HTML_PLACEHOLDER_\d+_\d+_IN_JS$/u.test(t.originalText.slice(r.valueSpan.start.offset,r.valueSpan.end.offset))||t.parser==="lwc"&&r.value.startsWith("{")&&r.value.endsWith("}"))return[r.rawName,"=",r.value];for(let n of[Mb,z7,kb,Ob,Ab]){let a=n(e,t);if(a)return H7(a)}}}function H7(e){return async(t,r,n,a)=>{let o=await e(t,r,n,a);if(o)return o=Rp(o,i=>typeof i=="string"?je(!1,i,'"',"""):i),[n.node.rawName,'="',pe(o),'"']}}function Vm(e){return Array.isArray(e)&&e.length>0}function Aa(e){return e.sourceSpan.start.offset}function ka(e){return e.sourceSpan.end.offset}function zl(e,t){return[e.isSelfClosing?"":$7(e,t),Yn(e,t)]}function $7(e,t){return e.lastChild&&ga(e.lastChild)?"":[j7(e,t),zs(e,t)]}function Yn(e,t){return(e.next?Fr(e.next):Ba(e.parent))?"":[_a(e,t),Sr(e,t)]}function j7(e,t){return Ba(e)?_a(e.lastChild,t):""}function Sr(e,t){return ga(e)?zs(e.parent,t):ni(e)?Ts(e.next,t):""}function zs(e,t){if(nf(!e.isSelfClosing),Wp(e,t))return"";switch(e.type){case"ieConditionalComment":return"";case"ieConditionalStartComment":return"]>";case"interpolation":return"}}";case"angularIcuExpression":return"}";case"element":if(e.isSelfClosing)return"/>";default:return">"}}function Wp(e,t){return!e.isSelfClosing&&!e.endSourceSpan&&(ti(e)||Ip(e.parent,t))}function Fr(e){return e.prev&&e.prev.type!=="docType"&&e.type!=="angularControlFlowBlock"&&!Ye(e.prev)&&e.isLeadingSpaceSensitive&&!e.hasLeadingSpaces}function Ba(e){var t;return((t=e.lastChild)==null?void 0:t.isTrailingSpaceSensitive)&&!e.lastChild.hasTrailingSpaces&&!Ye(Rs(e.lastChild))&&!cn(e)}function ga(e){return!e.next&&!e.hasTrailingSpaces&&e.isTrailingSpaceSensitive&&Ye(Rs(e))}function ni(e){return e.next&&!Ye(e.next)&&Ye(e)&&e.isTrailingSpaceSensitive&&!e.hasTrailingSpaces}function V7(e){let t=e.trim().match(/^prettier-ignore-attribute(?:\s+(.+))?$/su);return t?t[1]?t[1].split(/\s+/u):!0:!1}function ai(e){return!e.prev&&e.isLeadingSpaceSensitive&&!e.hasLeadingSpaces}function U7(e,t,r){var n;let{node:a}=e;if(!Ns(a.attrs))return a.isSelfClosing?" ":"";let o=((n=a.prev)==null?void 0:n.type)==="comment"&&V7(a.prev.value),i=typeof o=="boolean"?()=>o:Array.isArray(o)?m=>o.includes(m.rawName):()=>!1,s=e.map(({node:m})=>i(m)?et(t.originalText.slice(Aa(m),ka(m))):r(),"attrs"),c=a.type==="element"&&a.fullName==="script"&&a.attrs.length===1&&a.attrs[0].fullName==="src"&&a.children.length===0,d=t.singleAttributePerLine&&a.attrs.length>1&&!wn(a,t)?ae:ve,f=[St([c?" ":ve,yn(d,s)])];return a.firstChild&&ai(a.firstChild)||a.isSelfClosing&&Ba(a.parent)||c?f.push(a.isSelfClosing?" ":""):f.push(t.bracketSameLine?a.isSelfClosing?" ":"":a.isSelfClosing?ve:Ee),f}function q7(e){return e.firstChild&&ai(e.firstChild)?"":Ls(e)}function Tl(e,t,r){let{node:n}=e;return[Jn(n,t),U7(e,t,r),n.isSelfClosing?"":q7(n)]}function Jn(e,t){return e.prev&&ni(e.prev)?"":[Ar(e,t),Ts(e,t)]}function Ar(e,t){return ai(e)?Ls(e.parent):Fr(e)?_a(e.prev,t):""}function Ts(e,t){switch(e.type){case"ieConditionalComment":case"ieConditionalStartComment":return`<${e.rawName}`;default:return`<${e.rawName}`}}function Ls(e){switch(nf(!e.isSelfClosing),e.type){case"ieConditionalComment":return"]>";case"element":if(e.condition)return">";default:return">"}}function Um(e,t){if(!e.endSourceSpan)return"";let r=e.startSourceSpan.end.offset;e.firstChild&&ai(e.firstChild)&&(r-=Ls(e).length);let n=e.endSourceSpan.start.offset;return e.lastChild&&ga(e.lastChild)?n+=zs(e,t).length:Ba(e)&&(n-=_a(e.lastChild,t).length),t.originalText.slice(r,n)}function qm(e,t){let{node:r}=e;switch(r.type){case"element":if(Wt(r)||r.type==="interpolation")return;if(!r.isSelfClosing&&Is(r,t)){let n=ad(r,t);return n?async(a,o)=>{let i=af(r,t),s=/^\s*$/u.test(i),c="";return s||(c=await a(tf(i),{parser:n,__embeddedInHtml:!0}),s=c===""),[Ar(r,t),pe(Tl(e,t,o)),s?"":ae,c,s?"":ae,zl(r,t),Sr(r,t)]}:void 0}break;case"text":if(Wt(r.parent)){let n=ad(r.parent,t);if(n)return async a=>{let o=n==="markdown"?$p(r.value.replace(/^[^\S\n]*\n/u,"")):r.value,i={parser:n,__embeddedInHtml:!0};if(t.parser==="html"&&n==="babel"){let s="script",{attrMap:c}=r.parent;c&&(c.type==="module"||c.type==="text/babel"&&c["data-type"]==="module")&&(s="module"),i.__babelSourceType=s}return[Xn,Ar(r,t),await a(o,i),Sr(r,t)]}}else if(r.parent.type==="interpolation")return async n=>{let a={__isInHtmlInterpolation:!0,__embeddedInHtml:!0};return t.parser==="angular"?a.parser="__ng_interpolation":t.parser==="vue"?a.parser=Ps(e,t)?"__vue_ts_expression":"__vue_expression":a.parser="__js_expression",[St([ve,await n(r.value,a)]),r.parent.next&&Fr(r.parent.next)?" ":ve]};break;case"attribute":return Pb(e,t);case"front-matter":return n=>mb(r,n);case"angularControlFlowBlockParameters":return Nb.has(e.parent.name)?gb:void 0;case"angularLetDeclarationInitializer":return n=>tt(r.value,n,{parser:"__ng_binding",__isInHtmlAttribute:!1})}}function Zn(e){if(jn!==null&&typeof jn.property){let t=jn;return jn=Zn.prototype=null,t}return jn=Zn.prototype=e??Object.create(null),new Zn}function W7(e){return Zn(e)}function Wm(e,t="type"){W7(e);function r(n){let a=n[t],o=e[a];if(!Array.isArray(o))throw Object.assign(new Error(`Missing visitor keys for '${a}'.`),{node:n});return o}return u(r,"r"),r}function G7(e){return/^\s*/u.test(e)}function Gm(e){return` - -`+e}function Gp(e){let t=ka(e);return e.type==="element"&&!e.endSourceSpan&&Ns(e.children)?Math.max(t,Gp(Mo(!1,e.children,-1))):t}function $n(e,t,r){let n=e.node;if(ti(n)){let a=Gp(n);return[Ar(n,t),et(mt.trimEnd(t.originalText.slice(Aa(n)+(n.prev&&ni(n.prev)?Ts(n).length:0),a-(n.next&&Fr(n.next)?_a(n,t).length:0)))),Sr(n,t)]}return r()}function uo(e,t){return Ye(e)&&Ye(t)?e.isTrailingSpaceSensitive?e.hasTrailingSpaces?al(t)?ae:ve:"":al(t)?ae:Ee:ni(e)&&(ti(t)||t.firstChild||t.isSelfClosing||t.type==="element"&&t.attrs.length>0)||e.type==="element"&&e.isSelfClosing&&Fr(t)?"":!t.isLeadingSpaceSensitive||al(t)||Fr(t)&&e.lastChild&&ga(e.lastChild)&&e.lastChild.lastChild&&ga(e.lastChild.lastChild)?ae:t.hasLeadingSpaces?ve:Ee}function Ms(e,t,r){let{node:n}=e;if(Tp(n))return[Xn,...e.map(o=>{let i=o.node,s=i.prev?uo(i.prev,i):"";return[s?[s,so(i.prev)?ae:""]:"",$n(o,t,r)]},"children")];let a=n.children.map(()=>Symbol(""));return e.map((o,i)=>{let s=o.node;if(Ye(s)){if(s.prev&&Ye(s.prev)){let g=uo(s.prev,s);if(g)return so(s.prev)?[ae,ae,$n(o,t,r)]:[g,$n(o,t,r)]}return $n(o,t,r)}let c=[],d=[],f=[],m=[],p=s.prev?uo(s.prev,s):"",h=s.next?uo(s,s.next):"";return p&&(so(s.prev)?c.push(ae,ae):p===ae?c.push(ae):Ye(s.prev)?d.push(p):d.push(To("",Ee,{groupId:a[i-1]}))),h&&(so(s)?Ye(s.next)&&m.push(ae,ae):h===ae?Ye(s.next)&&m.push(ae):f.push(h)),[...c,pe([...d,pe([$n(o,t,r),...f],{id:a[i]})]),...m]},"children")}function K7(e,t,r){let{node:n}=e,a=[];Y7(e)&&a.push("} "),a.push("@",n.name),n.parameters&&a.push(" (",pe(r("parameters")),")"),a.push(" {");let o=Kp(n);return n.children.length>0?(n.firstChild.hasLeadingSpaces=!0,n.lastChild.hasTrailingSpaces=!0,a.push(St([ae,Ms(e,t,r)])),o&&a.push(ae,"}")):o&&a.push("}"),pe(a,{shouldBreak:!0})}function Kp(e){var t,r;return!(((t=e.next)==null?void 0:t.type)==="angularControlFlowBlock"&&(r=Hb.get(e.name))!=null&&r.has(e.next.name))}function Y7(e){let{previous:t}=e;return(t==null?void 0:t.type)==="angularControlFlowBlock"&&!ti(t)&&!Kp(t)}function J7(e,t,r){return[St([Ee,yn([";",ve],e.map(r,"children"))]),Ee]}function Z7(e,t,r){let{node:n}=e;return[Jn(n,t),pe([n.switchValue.trim(),", ",n.clause,n.cases.length>0?[",",St([ve,yn(ve,e.map(r,"cases"))])]:"",Ee]),Yn(n,t)]}function X7(e,t,r){let{node:n}=e;return[n.value," {",pe([St([Ee,e.map(({node:a})=>a.type==="text"&&!mt.trim(a.value)?"":r(),"expression")]),Ee]),"}"]}function Q7(e,t,r){let{node:n}=e;if(Ip(n,t))return[Ar(n,t),pe(Tl(e,t,r)),et(af(n,t)),...zl(n,t),Sr(n,t)];let a=n.children.length===1&&(n.firstChild.type==="interpolation"||n.firstChild.type==="angularIcuExpression")&&n.firstChild.isLeadingSpaceSensitive&&!n.firstChild.hasLeadingSpaces&&n.lastChild.isTrailingSpaceSensitive&&!n.lastChild.hasTrailingSpaces,o=Symbol("element-attr-group-id"),i=u(f=>pe([pe(Tl(e,t,r),{id:o}),f,zl(n,t)]),"a"),s=u(f=>a?l7(f,{groupId:o}):(Wt(n)||ri(n,t))&&n.parent.type==="root"&&t.parser==="vue"&&!t.vueIndentScriptAndStyle?f:St(f),"o"),c=u(()=>a?To(Ee,"",{groupId:o}):n.firstChild.hasLeadingSpaces&&n.firstChild.isLeadingSpaceSensitive?ve:n.firstChild.type==="text"&&n.isWhitespaceSensitive&&n.isIndentationSensitive?o7(Ee):Ee,"u"),d=u(()=>(n.next?Fr(n.next):Ba(n.parent))?n.lastChild.hasTrailingSpaces&&n.lastChild.isTrailingSpaceSensitive?" ":"":a?To(Ee,"",{groupId:o}):n.lastChild.hasTrailingSpaces&&n.lastChild.isTrailingSpaceSensitive?ve:(n.lastChild.type==="comment"||n.lastChild.type==="text"&&n.isWhitespaceSensitive&&n.isIndentationSensitive)&&new RegExp(`\\n[\\t ]{${t.tabWidth*(e.ancestors.length-1)}}$`,"u").test(n.lastChild.value)?"":Ee,"p");return n.children.length===0?i(n.hasDanglingSpaces&&n.isDanglingSpaceSensitive?ve:""):i([m7(n)?Xn:"",s([c(),Ms(e,t,r)]),d()])}function Ao(e){return e>=9&&e<=32||e==160}function Ll(e){return 48<=e&&e<=57}function ko(e){return e>=97&&e<=122||e>=65&&e<=90}function eb(e){return e>=97&&e<=102||e>=65&&e<=70||Ll(e)}function Bi(e){return e===10||e===13}function Nu(e){return 48<=e&&e<=55}function Ri(e){return e===39||e===34||e===96}function Km(e){return e.replace($b,(...t)=>t[1].toUpperCase())}function Ym(e,t){for(let r of jb)r(e,t);return e}function Jm(e){e.walk(t=>{if(t.type==="element"&&t.tagDefinition.ignoreFirstLf&&t.children.length>0&&t.children[0].type==="text"&&t.children[0].value[0]===` -`){let r=t.children[0];r.value.length===1?t.removeChild(r):r.value=r.value.slice(1)}})}function Zm(e){let t=u(r=>{var n,a;return r.type==="element"&&((n=r.prev)==null?void 0:n.type)==="ieConditionalStartComment"&&r.prev.sourceSpan.end.offset===r.startSourceSpan.start.offset&&((a=r.firstChild)==null?void 0:a.type)==="ieConditionalEndComment"&&r.firstChild.sourceSpan.start.offset===r.startSourceSpan.end.offset},"e");e.walk(r=>{if(r.children)for(let n=0;n{if(n.children)for(let a=0;at.type==="cdata",t=>``)}function Qm(e){let t=u(r=>{var n,a;return r.type==="element"&&r.attrs.length===0&&r.children.length===1&&r.firstChild.type==="text"&&!mt.hasWhitespaceCharacter(r.children[0].value)&&!r.firstChild.hasLeadingSpaces&&!r.firstChild.hasTrailingSpaces&&r.isLeadingSpaceSensitive&&!r.hasLeadingSpaces&&r.isTrailingSpaceSensitive&&!r.hasTrailingSpaces&&((n=r.prev)==null?void 0:n.type)==="text"&&((a=r.next)==null?void 0:a.type)==="text"},"e");e.walk(r=>{if(r.children)for(let n=0;n`+a.firstChild.value+``+i.value,o.sourceSpan=new Y(o.sourceSpan.start,i.sourceSpan.end),o.isTrailingSpaceSensitive=i.isTrailingSpaceSensitive,o.hasTrailingSpaces=i.hasTrailingSpaces,r.removeChild(a),n--,r.removeChild(i)}})}function e5(e,t){if(t.parser==="html")return;let r=/\{\{(.+?)\}\}/su;e.walk(n=>{if(c7(n))for(let a of n.children){if(a.type!=="text")continue;let o=a.sourceSpan.start,i=null,s=a.value.split(r);for(let c=0;c0&&n.insertChildBefore(a,{type:"text",value:d,sourceSpan:new Y(o,i)});continue}i=o.moveBy(d.length+4),n.insertChildBefore(a,{type:"interpolation",sourceSpan:new Y(o,i),children:d.length===0?[]:[{type:"text",value:d,sourceSpan:new Y(o.moveBy(2),i.moveBy(-2))}]})}n.removeChild(a)}})}function t5(e){e.walk(t=>{if(!t.children)return;if(t.children.length===0||t.children.length===1&&t.children[0].type==="text"&&mt.trim(t.children[0].value).length===0){t.hasDanglingSpaces=t.children.length>0,t.children=[];return}let r=d7(t),n=zp(t);if(!r)for(let a=0;a{t.isSelfClosing=!t.children||t.type==="element"&&(t.tagDefinition.isVoid||t.endSourceSpan&&t.startSourceSpan.start===t.endSourceSpan.start&&t.startSourceSpan.end===t.endSourceSpan.end)})}function n5(e,t){e.walk(r=>{r.type==="element"&&(r.hasHtmComponentClosingTag=r.endSourceSpan&&/^<\s*\/\s*\/\s*>$/u.test(t.originalText.slice(r.endSourceSpan.start.offset,r.endSourceSpan.end.offset)))})}function a5(e,t){e.walk(r=>{r.cssDisplay=A7(r,t)})}function o5(e,t){e.walk(r=>{let{children:n}=r;if(n){if(n.length===0){r.isDanglingSpaceSensitive=h7(r);return}for(let a of n)a.isLeadingSpaceSensitive=p7(a,t),a.isTrailingSpaceSensitive=f7(a,t);for(let a=0;a{!Wa[t]&&co(t)===null&&(Wa[t]=new K({canSelfClose:!1}))})),Wa[e]??sg}function id(e,t,r=null){let n=[],a=e.visit?o=>e.visit(o,r)||o.visit(e,r):o=>o.visit(e,r);return t.forEach(o=>{let i=a(o);i&&n.push(i)}),n}function s5(e,t){if(t!=null&&!(Array.isArray(t)&&t.length==2))throw new Error(`Expected '${e}' to be an array, [start, end].`);if(t!=null){let r=t[0],n=t[1];qb.forEach(a=>{if(a.test(r)||a.test(n))throw new Error(`['${r}', '${n}'] contains unusable interpolation symbol.`)})}}function u5(e,t,r,n={}){let a=new Gb(new of(e,t),r,n);return a.tokenize(),new Wb(rb(a.tokens),a.errors,a.nonNormalizedIcuExpressions)}function $r(e){return`Unexpected character "${e===0?"EOF":String.fromCharCode(e)}"`}function Vu(e){return`Unknown entity "${e}" - use the "&#;" or "&#x;" syntax`}function c5(e,t){return`Unable to parse entity "${t}" - ${e} character reference entities must end with ";"`}function ue(e){return!Ao(e)||e===0}function Uu(e){return Ao(e)||e===62||e===60||e===47||e===39||e===34||e===61||e===0}function d5(e){return(e<97||12257)}function p5(e){return e===59||e===0||!eb(e)}function f5(e){return e===59||e===0||!ko(e)}function h5(e){return e!==125}function m5(e,t){return ld(e)===ld(t)}function ld(e){return e>=97&&e<=122?e-97+65:e}function qu(e){return ko(e)||Ll(e)||e===95}function Wu(e){return e!==59&&ue(e)}function rb(e){let t=[],r;for(let n=0;n0&&e[e.length-1]===t}function Ku(e,t){return _o[t]!==void 0?_o[t]||e:/^#x[a-f0-9]+$/i.test(t)?String.fromCodePoint(parseInt(t.slice(2),16)):/^#\d+$/.test(t)?String.fromCodePoint(parseInt(t.slice(1),10)):e}function sd(e,t={}){let{canSelfClose:r=!1,allowHtmComponentClosingTags:n=!1,isTagNameCaseSensitive:a=!1,getTagContentType:o,tokenizeAngularBlocks:i=!1,tokenizeAngularLetDeclaration:s=!1}=t;return Kb().parse(e,"angular-html-parser",{tokenizeExpansionForms:i,interpolationConfig:void 0,canSelfClose:r,allowHtmComponentClosingTags:n,tokenizeBlocks:i,tokenizeLet:s},a,o)}function g5(e,t){let r=new SyntaxError(e+" ("+t.loc.start.line+":"+t.loc.start.column+")");return Object.assign(r,t)}function nb(e){let t=e.slice(0,Vn);if(t!=="---"&&t!=="+++")return;let r=e.indexOf(` -`,Vn);if(r===-1)return;let n=e.slice(Vn,r).trim(),a=e.indexOf(` -${t}`,r),o=n;if(o||(o=t==="+++"?"toml":"yaml"),a===-1&&t==="---"&&o==="yaml"&&(a=e.indexOf(` -...`,r)),a===-1)return;let i=a+1+Vn,s=e.charAt(i+1);if(!/\s?/u.test(s))return;let c=e.slice(0,i);return{type:"front-matter",language:o,explicitLanguage:n,value:e.slice(r+1,a),startDelimiter:t,endDelimiter:c.slice(-Vn),raw:c}}function v5(e){let t=nb(e);if(!t)return{content:e};let{raw:r}=t;return{frontMatter:t,content:je(!1,r,/[^\n]/gu," ")+e.slice(r.length)}}function y5(e,t){let r=e.map(t);return r.some((n,a)=>n!==e[a])?r:e}function ab(e,t){if(e.value)for(let{regex:r,parse:n}of Xb){let a=e.value.match(r);if(a)return n(e,t,a)}return null}function b5(e,t,r){let[,n,a,o]=r,i=4+n.length,s=e.sourceSpan.start.moveBy(i),c=s.moveBy(o.length),[d,f]=(()=>{try{return[!0,t(o,s).children]}catch{return[!1,[{type:"text",value:o,sourceSpan:new Y(s,c)}]]}})();return{type:"ieConditionalComment",complete:d,children:f,condition:je(!1,a.trim(),/\s+/gu," "),sourceSpan:e.sourceSpan,startSourceSpan:new Y(e.sourceSpan.start,s),endSourceSpan:new Y(c,e.sourceSpan.end)}}function w5(e,t,r){let[,n]=r;return{type:"ieConditionalStartComment",condition:je(!1,n.trim(),/\s+/gu," "),sourceSpan:e.sourceSpan}}function D5(e){return{type:"ieConditionalEndComment",sourceSpan:e.sourceSpan}}function ob(e){if(e.type==="block"){if(e.name=je(!1,e.name.toLowerCase(),/\s+/gu," ").trim(),e.type="angularControlFlowBlock",!Ns(e.parameters)){delete e.parameters;return}for(let t of e.parameters)t.type="angularControlFlowBlockParameter";e.parameters={type:"angularControlFlowBlockParameters",children:e.parameters,sourceSpan:new Y(e.parameters[0].sourceSpan.start,Mo(!1,e.parameters,-1).sourceSpan.end)}}}function ib(e){e.type==="letDeclaration"&&(e.type="angularLetDeclaration",e.id=e.name,e.init={type:"angularLetDeclarationInitializer",sourceSpan:new Y(e.valueSpan.start,e.valueSpan.end),value:e.value},delete e.name,delete e.value)}function lb(e){(e.type==="plural"||e.type==="select")&&(e.clause=e.type,e.type="angularIcuExpression"),e.type==="expansionCase"&&(e.type="angularIcuCase")}function Yp(e,t,r){let{name:n,canSelfClose:a=!0,normalizeTagName:o=!1,normalizeAttributeName:i=!1,allowHtmComponentClosingTags:s=!1,isTagNameCaseSensitive:c=!1,shouldParseAsRawText:d}=t,{rootNodes:f,errors:m}=sd(e,{canSelfClose:a,allowHtmComponentClosingTags:s,isTagNameCaseSensitive:c,getTagContentType:d?(...E)=>d(...E)?ht.RAW_TEXT:void 0:void 0,tokenizeAngularBlocks:n==="angular"?!0:void 0,tokenizeAngularLetDeclaration:n==="angular"?!0:void 0});if(n==="vue"){if(f.some(x=>x.type==="docType"&&x.value==="html"||x.type==="element"&&x.name.toLowerCase()==="html"))return Yp(e,bd,r);let E,D=u(()=>E??(E=sd(e,{canSelfClose:a,allowHtmComponentClosingTags:s,isTagNameCaseSensitive:c})),"y"),w=u(x=>D().rootNodes.find(({startSourceSpan:S})=>S&&S.start.offset===x.startSourceSpan.start.offset)??x,"M");for(let[x,S]of f.entries()){let{endSourceSpan:F,startSourceSpan:A}=S;if(F===null)m=D().errors,f[x]=w(S);else if(sb(S,r)){let _=D().errors.find(R=>R.span.start.offset>A.start.offset&&R.span.start.offset0&&ud(m[0]);let p=u(E=>{let D=E.name.startsWith(":")?E.name.slice(1).split(":")[0]:null,w=E.nameSpan.toString(),x=D!==null&&w.startsWith(`${D}:`),S=x?w.slice(D.length+1):w;E.name=S,E.namespace=D,E.hasExplicitNamespace=x},"d"),h=u(E=>{switch(E.type){case"element":p(E);for(let D of E.attrs)p(D),D.valueSpan?(D.value=D.valueSpan.toString(),/["']/u.test(D.value[0])&&(D.value=D.value.slice(1,-1))):D.value=null;break;case"comment":E.value=E.sourceSpan.toString().slice(4,-3);break;case"text":E.value=E.sourceSpan.toString();break}},"C"),g=u((E,D)=>{let w=E.toLowerCase();return D(w)?w:E},"A"),y=u(E=>{if(E.type==="element"&&(o&&(!E.namespace||E.namespace===E.tagDefinition.implicitNamespacePrefix||va(E))&&(E.name=g(E.name,D=>Qb.has(D))),i))for(let D of E.attrs)D.namespace||(D.name=g(D.name,w=>sl.has(E.name)&&(sl.get("*").has(w)||sl.get(E.name).has(w))))},"D"),b=u(E=>{E.sourceSpan&&E.endSourceSpan&&(E.sourceSpan=new Y(E.sourceSpan.start,E.endSourceSpan.end))},"R"),C=u(E=>{if(E.type==="element"){let D=Ml(c?E.name:E.name.toLowerCase());!E.namespace||E.namespace===D.implicitNamespacePrefix||va(E)?E.tagDefinition=D:E.tagDefinition=Ml("")}},"F");return id(new class extends Ub{visitExpansionCase(E,D){n==="angular"&&this.visitChildren(D,w=>{w(E.expression)})}visit(E){h(E),C(E),y(E),b(E)}},f),f}function sb(e,t){var r;if(e.type!=="element"||e.name!=="template")return!1;let n=(r=e.attrs.find(a=>a.name==="lang"))==null?void 0:r.value;return!n||ii(t,{language:n})==="html"}function ud(e){let{msg:t,span:{start:r,end:n}}=e;throw Yb(t,{loc:{start:{line:r.line+1,column:r.col+1},end:{line:n.line+1,column:n.col+1}},cause:e})}function Jp(e,t,r={},n=!0){let{frontMatter:a,content:o}=n?Jb(e):{frontMatter:null,content:e},i=new of(e,r.filepath),s=new Vl(i,0,0,0),c=s.moveBy(e.length),d={type:"root",sourceSpan:new Y(s,c),children:Yp(o,t,r)};if(a){let p=new Vl(i,0,0,0),h=p.moveBy(a.raw.length);a.sourceSpan=new Y(p,h),d.children.unshift(a)}let f=new Zb(d),m=u((p,h)=>{let{offset:g}=h,y=je(!1,e.slice(0,g),/[^\n\r]/gu," "),b=Jp(y+p,t,r,!1);b.sourceSpan=new Y(h,Mo(!1,b.children,-1).sourceSpan.end);let C=b.children[0];return C.length===g?b.children.shift():(C.sourceSpan=new Y(C.sourceSpan.start.moveBy(g),C.sourceSpan.end),C.value=C.value.slice(g)),b},"f");return f.walk(p=>{if(p.type==="comment"){let h=ab(p,m);h&&p.parent.replaceChild(p,h)}ob(p),ib(p),lb(p)}),f}function qa(e){return{parse:u((t,r)=>Jp(t,e,r),"parse"),hasPragma:G7,astFormat:"html",locStart:Aa,locEnd:ka}}var E5,Yu,Ju,Zu,rr,C5,x5,Xu,S5,je,Zp,Xp,cd,Ol,Pl,dd,Nl,Hl,$l,jl,pd,fd,Wr,hd,ol,Qp,ef,ub,Qu,F5,cb,ec,kr,Os,Xn,A5,k5,ve,Ee,ae,db,_5,Mo,fo,md,pb,ut,tc,B5,R5,I5,z5,mt,rc,T5,fb,oi,L5,hb,M5,mb,gb,vb,ii,yb,bb,wb,Db,va,O5,tf,Eb,Cb,rf,xb,Sb,Fb,Ab,kb,_b,Bb,Rb,Ib,gd,zb,Tb,vd,Lb,Mb,il,Ps,Ob,Pb,nc,nf,Ns,yd,af,Nb,P5,jn,N5,H5,$5,j5,V5,U5,Hb,$b,Ii,Vl,ac,of,oc,Y,zi,ic,lc,jb,q5,W5,G5,K5,sc,uc,Y5,J5,cc,Z5,X5,Q5,dc,pc,Qr,eg,ht,ll,fc,tg,rg,ng,ag,og,ig,hc,lg,mc,Vb,gc,K,sg,Wa,vc,jr,yc,ug,bc,cg,wc,dg,Dc,pg,Ec,fg,Cc,nr,xc,hg,Sc,mg,Fc,Vr,Ac,kc,_c,Bc,Rc,Ub,_o,gg,qb,Ti,vg,Ic,zc,Li,Tc,Wb,yg,Mi,Lc,Oi,Mc,Gb,Ga,Oc,Ka,bg,Pc,Pi,Ni,Fe,Nc,wg,Hc,Dg,Hi,Eg,$c,Cg,$i,Kb,Yb,Vn,Jb,Ya,jc,Ur,Zb,Xb,sl,Qb,bd,xg,Sg,Fg,Ag,kg,ew,DF=z(()=>{E5=Object.defineProperty,Yu=u(e=>{throw TypeError(e)},"Xr"),Ju=u((e,t)=>{for(var r in t)E5(e,r,{get:t[r],enumerable:!0})},"Jr"),Zu=u((e,t,r)=>t.has(e)||Yu("Cannot "+r),"Zr"),rr=u((e,t,r)=>(Zu(e,t,"read from private field"),r?r.call(e):t.get(e)),"K"),C5=u((e,t,r)=>t.has(e)?Yu("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,r),"en"),x5=u((e,t,r,n)=>(Zu(e,t,"write to private field"),n?n.call(e,r):t.set(e,r),r),"tn"),Xu={},Ju(Xu,{languages:u(()=>K5,"languages"),options:u(()=>J5,"options"),parsers:u(()=>cc,"parsers"),printers:u(()=>kg,"printers")}),S5=u((e,t,r,n)=>{if(!(e&&t==null))return t.replaceAll?t.replaceAll(r,n):r.global?t.replace(r,n):t.split(r).join(n)},"ni"),je=S5,Zp="string",Xp="array",cd="cursor",Ol="indent",Pl="align",dd="trim",Nl="group",Hl="fill",$l="if-break",jl="indent-if-break",pd="line-suffix",fd="line-suffix-boundary",Wr="line",hd="label",ol="break-parent",Qp=new Set([cd,Ol,Pl,dd,Nl,Hl,$l,jl,pd,fd,Wr,hd,ol]),u(Am,"si"),ef=Am,ub=u(e=>new Intl.ListFormat("en-US",{type:"disjunction"}).format(e),"ii"),u(km,"ai"),F5=(Qu=class extends Error{constructor(t){super(km(t));Rn(this,"name","InvalidDocError");this.doc=t}},u(Qu,"or"),Qu),cb=F5,ec=u(()=>{},"rn"),kr=ec,Os=ec,u(St,"k"),u(_p,"nn"),u(pe,"_"),u(o7,"sn"),u(i7,"an"),u(Bp,"Et"),u(To,"le"),u(l7,"on"),Xn={type:ol},A5={type:Wr,hard:!0},k5={type:Wr,hard:!0,literal:!0},ve={type:Wr},Ee={type:Wr,soft:!0},ae=[A5,Xn],db=[k5,Xn],u(yn,"q"),_5=u((e,t,r)=>{if(!(e&&t==null))return Array.isArray(t)||typeof t=="string"?t[r<0?t.length+r:r]:t.at(r)},"li"),Mo=_5,u(Rp,"lr"),u(et,"B"),fo="'",md='"',u(_m,"ci"),pb=_m,u(Bm,"cr"),B5=(tc=class{constructor(e){C5(this,ut),x5(this,ut,new Set(e))}getLeadingWhitespaceCount(e){let t=rr(this,ut),r=0;for(let n=0;n=0&&t.has(e.charAt(n));n--)r++;return r}getLeadingWhitespace(e){let t=this.getLeadingWhitespaceCount(e);return e.slice(0,t)}getTrailingWhitespace(e){let t=this.getTrailingWhitespaceCount(e);return e.slice(e.length-t)}hasLeadingWhitespace(e){return rr(this,ut).has(e.charAt(0))}hasTrailingWhitespace(e){return rr(this,ut).has(Mo(!1,e,-1))}trimStart(e){let t=this.getLeadingWhitespaceCount(e);return e.slice(t)}trimEnd(e){let t=this.getTrailingWhitespaceCount(e);return e.slice(0,e.length-t)}trim(e){return this.trimEnd(this.trimStart(e))}split(e,t=!1){let r=`[${Bm([...rr(this,ut)].join(""))}]+`,n=new RegExp(t?`(${r})`:r,"u");return e.split(n)}hasWhitespaceCharacter(e){let t=rr(this,ut);return Array.prototype.some.call(e,r=>t.has(r))}hasNonWhitespaceCharacter(e){let t=rr(this,ut);return Array.prototype.some.call(e,r=>!t.has(r))}isWhitespaceOnly(e){let t=rr(this,ut);return Array.prototype.every.call(e,r=>t.has(r))}},u(tc,"pr"),tc),ut=new WeakMap,R5=B5,I5=[" ",` -`,"\f","\r"," "],z5=new R5(I5),mt=z5,T5=(rc=class extends Error{constructor(t,r,n="type"){super(`Unexpected ${r} node ${n}: ${JSON.stringify(t[n])}.`);Rn(this,"name","UnexpectedNodeError");this.node=t}},u(rc,"hr"),rc),fb=T5,u(Rm,"mi"),oi=Rm,L5=new Set(["sourceSpan","startSourceSpan","endSourceSpan","nameSpan","valueSpan","keySpan","tagDefinition","tokens","valueTokens","switchValueSourceSpan","expSourceSpan","valueSourceSpan"]),hb=new Set(["if","else if","for","switch","case"]),u(Pu,"mn"),Pu.ignoredProperties=L5,M5=Pu,u(Im,"gi"),mb=Im,u(ei,"ce"),u(bn,"Y"),u(tt,"T"),u(zm,"Ci"),gb=zm,vb=u(e=>String(e).split(/[/\\]/u).pop(),"Si"),u(nd,"Cn"),u(s7,"_i"),u(Tm,"Ei"),ii=Tm,yb="inline",bb={area:"none",base:"none",basefont:"none",datalist:"none",head:"none",link:"none",meta:"none",noembed:"none",noframes:"none",param:"block",rp:"none",script:"block",style:"none",template:"inline",title:"none",html:"block",body:"block",address:"block",blockquote:"block",center:"block",dialog:"block",div:"block",figure:"block",figcaption:"block",footer:"block",form:"block",header:"block",hr:"block",legend:"block",listing:"block",main:"block",p:"block",plaintext:"block",pre:"block",search:"block",xmp:"block",slot:"contents",ruby:"ruby",rt:"ruby-text",article:"block",aside:"block",h1:"block",h2:"block",h3:"block",h4:"block",h5:"block",h6:"block",hgroup:"block",nav:"block",section:"block",dir:"block",dd:"block",dl:"block",dt:"block",menu:"block",ol:"block",ul:"block",li:"list-item",table:"table",caption:"table-caption",colgroup:"table-column-group",col:"table-column",thead:"table-header-group",tbody:"table-row-group",tfoot:"table-footer-group",tr:"table-row",td:"table-cell",th:"table-cell",input:"inline-block",button:"inline-block",fieldset:"block",details:"block",summary:"block",marquee:"inline-block",source:"block",track:"block",meter:"inline-block",progress:"inline-block",object:"inline-block",video:"inline-block",audio:"inline-block",select:"inline-block",option:"block",optgroup:"block"},wb="normal",Db={listing:"pre",plaintext:"pre",pre:"pre",xmp:"pre",nobr:"nowrap",table:"initial",textarea:"pre-wrap"},u(Lm,"Ai"),va=Lm,O5=u(e=>je(!1,e,/^[\t\f\r ]*\n/gu,""),"Di"),tf=u(e=>O5(mt.trimEnd(e)),"mr"),Eb=u(e=>{let t=e,r=mt.getLeadingWhitespace(t);r&&(t=t.slice(r.length));let n=mt.getTrailingWhitespace(t);return n&&(t=t.slice(0,-n.length)),{leadingWhitespace:r,trailingWhitespace:n,text:t}},"Dn"),u(Ip,"Dt"),u(ti,"me"),u(u7,"vi"),u(Ye,"O"),u(Wt,"U"),u(c7,"vn"),u(d7,"yn"),u(zp,"fr"),u(p7,"wn"),u(f7,"bn"),u(h7,"Tn"),u(so,"Qe"),u(m7,"xn"),u(Tp,"dr"),u(al,"vt"),u(g7,"yi"),u(Lp,"kn"),u(Mp,"Bn"),u(Op,"Ln"),u(Pp,"Fn"),u(Rs,"yt"),u(v7,"wi"),u(Np,"Nn"),u(y7,"bi"),u(b7,"Ti"),u(w7,"xi"),u(ad,"gr"),u(Fa,"Xe"),u(D7,"ki"),u(E7,"Bi"),u(C7,"Li"),u(x7,"Fi"),u(S7,"Ni"),u(cn,"he"),u(F7,"Pi"),u(A7,"Pn"),u(Hp,"In"),u(k7,"Ii"),u($p,"Cr"),u(jp,"Sr"),u(dr,"P"),Cb=new Set(["template","style","script"]),u(ri,"Je"),u(wn,"fe"),u(Is,"wt"),u(_7,"Rn"),u(B7,"On"),u(Vp,"bt"),u(Up,"Tt"),rf=/\{\{(.+?)\}\}/su,u(R7,"$n"),u(_i,"Er"),xb=_i({parser:"__ng_action"}),Sb=_i({parser:"__ng_binding"}),Fb=_i({parser:"__ng_directive"}),u(Mm,"qi"),Ab=Mm,u(Om,"Hi"),kb=Om,u(od,"Hn"),_b=/^[ \t\n\r\u000c]+/,Bb=/^[, \t\n\r\u000c]+/,Rb=/^[^ \t\n\r\u000c]+/,Ib=/[,]+$/,gd=/^\d+$/,zb=/^-?(?:[0-9]+|[0-9]*\.[0-9]+)(?:[eE][+-]?[0-9]+)?$/,u(Pm,"Yi"),Tb=Pm,u(Nm,"ji"),vd={width:"w",height:"h",density:"x"},Lb=Object.keys(vd),u(I7,"Qi"),Mb=Nm,u(z7,"Gn"),il=new WeakMap,u(Hm,"Xi"),Ps=Hm,u(T7,"Yn"),u(L7,"jn"),u(M7,"Kn"),u(O7,"Ji"),u($m,"Zi"),u(P7,"ea"),u(N7,"ta"),u(qp,"Qn"),Ob=$m,u(jm,"ra"),u(H7,"na"),Pb=jm,nc=new Proxy(()=>{},{get:u(()=>nc,"get")}),nf=nc,u(Vm,"sa"),Ns=Vm,u(Aa,"X"),u(ka,"J"),u(zl,"Ze"),u($7,"ia"),u(Yn,"de"),u(j7,"aa"),u(Sr,"W"),u(zs,"xt"),u(_a,"ge"),u(Wp,"ts"),u(Fr,"j"),u(Ba,"Ce"),u(ga,"Se"),u(ni,"et"),u(V7,"oa"),u(ai,"tt"),u(U7,"ua"),u(q7,"la"),u(Tl,"rt"),u(Jn,"_e"),u(Ar,"z"),yd="0&&e<0;)if(n--,e++,t.charCodeAt(n)==10){a--;let i=t.substring(0,n-1).lastIndexOf(` -`);o=i>0?n-i:n}else o--;for(;n0;){let i=t.charCodeAt(n);n++,e--,i==10?(a++,o=0):o++}return new Ii(this.file,n,a,o)}getContext(e,t){let r=this.file.content,n=this.offset;if(n!=null){n>r.length-1&&(n=r.length-1);let a=n,o=0,i=0;for(;o0&&(n--,o++,!(r[n]==` -`&&++i==t)););for(o=0,i=0;o]${e.after}")`:this.msg}toString(){let e=this.span.details?`, ${this.span.details}`:"";return`${this.contextualMessage()}: ${this.span.start}${e}`}},u(ic,"Ie"),ic),jb=[Jm,Zm,Xm,e5,t5,a5,r5,n5,o5,Qm],u(Ym,"Ea"),u(Jm,"Aa"),u(Zm,"Da"),u(tb,"va"),u(Xm,"ya"),u(Qm,"wa"),u(e5,"ba"),u(t5,"Ta"),u(r5,"xa"),u(n5,"ka"),u(a5,"Ba"),u(o5,"La"),q5=Ym,u(i5,"Fa"),W5={preprocess:q5,print:i5,insertPragma:Gm,massageAstNode:M5,embed:P5,getVisitorKeys:U5},G5=W5,K5=[{linguistLanguageId:146,name:"Angular",type:"markup",tmScope:"text.html.basic",aceMode:"html",codemirrorMode:"htmlmixed",codemirrorMimeType:"text/html",color:"#e34c26",aliases:["xhtml"],extensions:[".component.html"],parsers:["angular"],vscodeLanguageIds:["html"],filenames:[]},{linguistLanguageId:146,name:"HTML",type:"markup",tmScope:"text.html.basic",aceMode:"html",codemirrorMode:"htmlmixed",codemirrorMimeType:"text/html",color:"#e34c26",aliases:["xhtml"],extensions:[".html",".hta",".htm",".html.hl",".inc",".xht",".xhtml",".mjml"],parsers:["html"],vscodeLanguageIds:["html"]},{linguistLanguageId:146,name:"Lightning Web Components",type:"markup",tmScope:"text.html.basic",aceMode:"html",codemirrorMode:"htmlmixed",codemirrorMimeType:"text/html",color:"#e34c26",aliases:["xhtml"],extensions:[],parsers:["lwc"],vscodeLanguageIds:["html"],filenames:[]},{linguistLanguageId:391,name:"Vue",type:"markup",color:"#41b883",extensions:[".vue"],tmScope:"text.html.vue",aceMode:"html",parsers:["vue"],vscodeLanguageIds:["vue"]}],sc={bracketSpacing:{category:"Common",type:"boolean",default:!0,description:"Print spaces between brackets.",oppositeDescription:"Do not print spaces between brackets."},singleQuote:{category:"Common",type:"boolean",default:!1,description:"Use single quotes instead of double quotes."},proseWrap:{category:"Common",type:"choice",default:"preserve",description:"How to wrap prose.",choices:[{value:"always",description:"Wrap prose if it exceeds the print width."},{value:"never",description:"Do not wrap prose."},{value:"preserve",description:"Wrap prose as-is."}]},bracketSameLine:{category:"Common",type:"boolean",default:!1,description:"Put > of opening tags on the last line instead of on a new line."},singleAttributePerLine:{category:"Common",type:"boolean",default:!1,description:"Enforce single attribute per line in HTML, Vue and JSX."}},uc="HTML",Y5={bracketSameLine:sc.bracketSameLine,htmlWhitespaceSensitivity:{category:uc,type:"choice",default:"css",description:"How to handle whitespaces in HTML.",choices:[{value:"css",description:"Respect the default value of CSS display property."},{value:"strict",description:"Whitespaces are considered sensitive."},{value:"ignore",description:"Whitespaces are considered insensitive."}]},singleAttributePerLine:sc.singleAttributePerLine,vueIndentScriptAndStyle:{category:uc,type:"boolean",default:!1,description:"Indent script and style tags in Vue files."}},J5=Y5,cc={},Ju(cc,{angular:u(()=>Sg,"angular"),html:u(()=>xg,"html"),lwc:u(()=>Ag,"lwc"),vue:u(()=>Fg,"vue")}),function(e){e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom"}(Z5||(Z5={})),function(e){e[e.OnPush=0]="OnPush",e[e.Default=1]="Default"}(X5||(X5={})),function(e){e[e.None=0]="None",e[e.SignalBased=1]="SignalBased",e[e.HasDecoratorInputTransform=2]="HasDecoratorInputTransform"}(Q5||(Q5={})),dc={name:"custom-elements"},pc={name:"no-errors-schema"},function(e){e[e.NONE=0]="NONE",e[e.HTML=1]="HTML",e[e.STYLE=2]="STYLE",e[e.SCRIPT=3]="SCRIPT",e[e.URL=4]="URL",e[e.RESOURCE_URL=5]="RESOURCE_URL"}(Qr||(Qr={})),function(e){e[e.Error=0]="Error",e[e.Warning=1]="Warning",e[e.Ignore=2]="Ignore"}(eg||(eg={})),function(e){e[e.RAW_TEXT=0]="RAW_TEXT",e[e.ESCAPABLE_RAW_TEXT=1]="ESCAPABLE_RAW_TEXT",e[e.PARSABLE_DATA=2]="PARSABLE_DATA"}(ht||(ht={})),u(Lo,"ut"),u(Hu,"xr"),u($u,"kr"),u(co,"Re"),u(Ua,"Oe"),u(ju,"Br"),u(po,"Ot"),tg=(fc=class{},u(fc,"Mt"),fc),rg="boolean",ng="number",ag="string",og="object",ig=["[Element]|textContent,%ariaAtomic,%ariaAutoComplete,%ariaBusy,%ariaChecked,%ariaColCount,%ariaColIndex,%ariaColSpan,%ariaCurrent,%ariaDescription,%ariaDisabled,%ariaExpanded,%ariaHasPopup,%ariaHidden,%ariaKeyShortcuts,%ariaLabel,%ariaLevel,%ariaLive,%ariaModal,%ariaMultiLine,%ariaMultiSelectable,%ariaOrientation,%ariaPlaceholder,%ariaPosInSet,%ariaPressed,%ariaReadOnly,%ariaRelevant,%ariaRequired,%ariaRoleDescription,%ariaRowCount,%ariaRowIndex,%ariaRowSpan,%ariaSelected,%ariaSetSize,%ariaSort,%ariaValueMax,%ariaValueMin,%ariaValueNow,%ariaValueText,%classList,className,elementTiming,id,innerHTML,*beforecopy,*beforecut,*beforepaste,*fullscreenchange,*fullscreenerror,*search,*webkitfullscreenchange,*webkitfullscreenerror,outerHTML,%part,#scrollLeft,#scrollTop,slot,*message,*mozfullscreenchange,*mozfullscreenerror,*mozpointerlockchange,*mozpointerlockerror,*webglcontextcreationerror,*webglcontextlost,*webglcontextrestored","[HTMLElement]^[Element]|accessKey,autocapitalize,!autofocus,contentEditable,dir,!draggable,enterKeyHint,!hidden,!inert,innerText,inputMode,lang,nonce,*abort,*animationend,*animationiteration,*animationstart,*auxclick,*beforexrselect,*blur,*cancel,*canplay,*canplaythrough,*change,*click,*close,*contextmenu,*copy,*cuechange,*cut,*dblclick,*drag,*dragend,*dragenter,*dragleave,*dragover,*dragstart,*drop,*durationchange,*emptied,*ended,*error,*focus,*formdata,*gotpointercapture,*input,*invalid,*keydown,*keypress,*keyup,*load,*loadeddata,*loadedmetadata,*loadstart,*lostpointercapture,*mousedown,*mouseenter,*mouseleave,*mousemove,*mouseout,*mouseover,*mouseup,*mousewheel,*paste,*pause,*play,*playing,*pointercancel,*pointerdown,*pointerenter,*pointerleave,*pointermove,*pointerout,*pointerover,*pointerrawupdate,*pointerup,*progress,*ratechange,*reset,*resize,*scroll,*securitypolicyviolation,*seeked,*seeking,*select,*selectionchange,*selectstart,*slotchange,*stalled,*submit,*suspend,*timeupdate,*toggle,*transitioncancel,*transitionend,*transitionrun,*transitionstart,*volumechange,*waiting,*webkitanimationend,*webkitanimationiteration,*webkitanimationstart,*webkittransitionend,*wheel,outerText,!spellcheck,%style,#tabIndex,title,!translate,virtualKeyboardPolicy","abbr,address,article,aside,b,bdi,bdo,cite,content,code,dd,dfn,dt,em,figcaption,figure,footer,header,hgroup,i,kbd,main,mark,nav,noscript,rb,rp,rt,rtc,ruby,s,samp,section,small,strong,sub,sup,u,var,wbr^[HTMLElement]|accessKey,autocapitalize,!autofocus,contentEditable,dir,!draggable,enterKeyHint,!hidden,innerText,inputMode,lang,nonce,*abort,*animationend,*animationiteration,*animationstart,*auxclick,*beforexrselect,*blur,*cancel,*canplay,*canplaythrough,*change,*click,*close,*contextmenu,*copy,*cuechange,*cut,*dblclick,*drag,*dragend,*dragenter,*dragleave,*dragover,*dragstart,*drop,*durationchange,*emptied,*ended,*error,*focus,*formdata,*gotpointercapture,*input,*invalid,*keydown,*keypress,*keyup,*load,*loadeddata,*loadedmetadata,*loadstart,*lostpointercapture,*mousedown,*mouseenter,*mouseleave,*mousemove,*mouseout,*mouseover,*mouseup,*mousewheel,*paste,*pause,*play,*playing,*pointercancel,*pointerdown,*pointerenter,*pointerleave,*pointermove,*pointerout,*pointerover,*pointerrawupdate,*pointerup,*progress,*ratechange,*reset,*resize,*scroll,*securitypolicyviolation,*seeked,*seeking,*select,*selectionchange,*selectstart,*slotchange,*stalled,*submit,*suspend,*timeupdate,*toggle,*transitioncancel,*transitionend,*transitionrun,*transitionstart,*volumechange,*waiting,*webkitanimationend,*webkitanimationiteration,*webkitanimationstart,*webkittransitionend,*wheel,outerText,!spellcheck,%style,#tabIndex,title,!translate,virtualKeyboardPolicy","media^[HTMLElement]|!autoplay,!controls,%controlsList,%crossOrigin,#currentTime,!defaultMuted,#defaultPlaybackRate,!disableRemotePlayback,!loop,!muted,*encrypted,*waitingforkey,#playbackRate,preload,!preservesPitch,src,%srcObject,#volume",":svg:^[HTMLElement]|!autofocus,nonce,*abort,*animationend,*animationiteration,*animationstart,*auxclick,*beforexrselect,*blur,*cancel,*canplay,*canplaythrough,*change,*click,*close,*contextmenu,*copy,*cuechange,*cut,*dblclick,*drag,*dragend,*dragenter,*dragleave,*dragover,*dragstart,*drop,*durationchange,*emptied,*ended,*error,*focus,*formdata,*gotpointercapture,*input,*invalid,*keydown,*keypress,*keyup,*load,*loadeddata,*loadedmetadata,*loadstart,*lostpointercapture,*mousedown,*mouseenter,*mouseleave,*mousemove,*mouseout,*mouseover,*mouseup,*mousewheel,*paste,*pause,*play,*playing,*pointercancel,*pointerdown,*pointerenter,*pointerleave,*pointermove,*pointerout,*pointerover,*pointerrawupdate,*pointerup,*progress,*ratechange,*reset,*resize,*scroll,*securitypolicyviolation,*seeked,*seeking,*select,*selectionchange,*selectstart,*slotchange,*stalled,*submit,*suspend,*timeupdate,*toggle,*transitioncancel,*transitionend,*transitionrun,*transitionstart,*volumechange,*waiting,*webkitanimationend,*webkitanimationiteration,*webkitanimationstart,*webkittransitionend,*wheel,%style,#tabIndex",":svg:graphics^:svg:|",":svg:animation^:svg:|*begin,*end,*repeat",":svg:geometry^:svg:|",":svg:componentTransferFunction^:svg:|",":svg:gradient^:svg:|",":svg:textContent^:svg:graphics|",":svg:textPositioning^:svg:textContent|","a^[HTMLElement]|charset,coords,download,hash,host,hostname,href,hreflang,name,password,pathname,ping,port,protocol,referrerPolicy,rel,%relList,rev,search,shape,target,text,type,username","area^[HTMLElement]|alt,coords,download,hash,host,hostname,href,!noHref,password,pathname,ping,port,protocol,referrerPolicy,rel,%relList,search,shape,target,username","audio^media|","br^[HTMLElement]|clear","base^[HTMLElement]|href,target","body^[HTMLElement]|aLink,background,bgColor,link,*afterprint,*beforeprint,*beforeunload,*blur,*error,*focus,*hashchange,*languagechange,*load,*message,*messageerror,*offline,*online,*pagehide,*pageshow,*popstate,*rejectionhandled,*resize,*scroll,*storage,*unhandledrejection,*unload,text,vLink","button^[HTMLElement]|!disabled,formAction,formEnctype,formMethod,!formNoValidate,formTarget,name,type,value","canvas^[HTMLElement]|#height,#width","content^[HTMLElement]|select","dl^[HTMLElement]|!compact","data^[HTMLElement]|value","datalist^[HTMLElement]|","details^[HTMLElement]|!open","dialog^[HTMLElement]|!open,returnValue","dir^[HTMLElement]|!compact","div^[HTMLElement]|align","embed^[HTMLElement]|align,height,name,src,type,width","fieldset^[HTMLElement]|!disabled,name","font^[HTMLElement]|color,face,size","form^[HTMLElement]|acceptCharset,action,autocomplete,encoding,enctype,method,name,!noValidate,target","frame^[HTMLElement]|frameBorder,longDesc,marginHeight,marginWidth,name,!noResize,scrolling,src","frameset^[HTMLElement]|cols,*afterprint,*beforeprint,*beforeunload,*blur,*error,*focus,*hashchange,*languagechange,*load,*message,*messageerror,*offline,*online,*pagehide,*pageshow,*popstate,*rejectionhandled,*resize,*scroll,*storage,*unhandledrejection,*unload,rows","hr^[HTMLElement]|align,color,!noShade,size,width","head^[HTMLElement]|","h1,h2,h3,h4,h5,h6^[HTMLElement]|align","html^[HTMLElement]|version","iframe^[HTMLElement]|align,allow,!allowFullscreen,!allowPaymentRequest,csp,frameBorder,height,loading,longDesc,marginHeight,marginWidth,name,referrerPolicy,%sandbox,scrolling,src,srcdoc,width","img^[HTMLElement]|align,alt,border,%crossOrigin,decoding,#height,#hspace,!isMap,loading,longDesc,lowsrc,name,referrerPolicy,sizes,src,srcset,useMap,#vspace,#width","input^[HTMLElement]|accept,align,alt,autocomplete,!checked,!defaultChecked,defaultValue,dirName,!disabled,%files,formAction,formEnctype,formMethod,!formNoValidate,formTarget,#height,!incremental,!indeterminate,max,#maxLength,min,#minLength,!multiple,name,pattern,placeholder,!readOnly,!required,selectionDirection,#selectionEnd,#selectionStart,#size,src,step,type,useMap,value,%valueAsDate,#valueAsNumber,#width","li^[HTMLElement]|type,#value","label^[HTMLElement]|htmlFor","legend^[HTMLElement]|align","link^[HTMLElement]|as,charset,%crossOrigin,!disabled,href,hreflang,imageSizes,imageSrcset,integrity,media,referrerPolicy,rel,%relList,rev,%sizes,target,type","map^[HTMLElement]|name","marquee^[HTMLElement]|behavior,bgColor,direction,height,#hspace,#loop,#scrollAmount,#scrollDelay,!trueSpeed,#vspace,width","menu^[HTMLElement]|!compact","meta^[HTMLElement]|content,httpEquiv,media,name,scheme","meter^[HTMLElement]|#high,#low,#max,#min,#optimum,#value","ins,del^[HTMLElement]|cite,dateTime","ol^[HTMLElement]|!compact,!reversed,#start,type","object^[HTMLElement]|align,archive,border,code,codeBase,codeType,data,!declare,height,#hspace,name,standby,type,useMap,#vspace,width","optgroup^[HTMLElement]|!disabled,label","option^[HTMLElement]|!defaultSelected,!disabled,label,!selected,text,value","output^[HTMLElement]|defaultValue,%htmlFor,name,value","p^[HTMLElement]|align","param^[HTMLElement]|name,type,value,valueType","picture^[HTMLElement]|","pre^[HTMLElement]|#width","progress^[HTMLElement]|#max,#value","q,blockquote,cite^[HTMLElement]|","script^[HTMLElement]|!async,charset,%crossOrigin,!defer,event,htmlFor,integrity,!noModule,%referrerPolicy,src,text,type","select^[HTMLElement]|autocomplete,!disabled,#length,!multiple,name,!required,#selectedIndex,#size,value","slot^[HTMLElement]|name","source^[HTMLElement]|#height,media,sizes,src,srcset,type,#width","span^[HTMLElement]|","style^[HTMLElement]|!disabled,media,type","caption^[HTMLElement]|align","th,td^[HTMLElement]|abbr,align,axis,bgColor,ch,chOff,#colSpan,headers,height,!noWrap,#rowSpan,scope,vAlign,width","col,colgroup^[HTMLElement]|align,ch,chOff,#span,vAlign,width","table^[HTMLElement]|align,bgColor,border,%caption,cellPadding,cellSpacing,frame,rules,summary,%tFoot,%tHead,width","tr^[HTMLElement]|align,bgColor,ch,chOff,vAlign","tfoot,thead,tbody^[HTMLElement]|align,ch,chOff,vAlign","template^[HTMLElement]|","textarea^[HTMLElement]|autocomplete,#cols,defaultValue,dirName,!disabled,#maxLength,#minLength,name,placeholder,!readOnly,!required,#rows,selectionDirection,#selectionEnd,#selectionStart,value,wrap","time^[HTMLElement]|dateTime","title^[HTMLElement]|text","track^[HTMLElement]|!default,kind,label,src,srclang","ul^[HTMLElement]|!compact,type","unknown^[HTMLElement]|","video^media|!disablePictureInPicture,#height,*enterpictureinpicture,*leavepictureinpicture,!playsInline,poster,#width",":svg:a^:svg:graphics|",":svg:animate^:svg:animation|",":svg:animateMotion^:svg:animation|",":svg:animateTransform^:svg:animation|",":svg:circle^:svg:geometry|",":svg:clipPath^:svg:graphics|",":svg:defs^:svg:graphics|",":svg:desc^:svg:|",":svg:discard^:svg:|",":svg:ellipse^:svg:geometry|",":svg:feBlend^:svg:|",":svg:feColorMatrix^:svg:|",":svg:feComponentTransfer^:svg:|",":svg:feComposite^:svg:|",":svg:feConvolveMatrix^:svg:|",":svg:feDiffuseLighting^:svg:|",":svg:feDisplacementMap^:svg:|",":svg:feDistantLight^:svg:|",":svg:feDropShadow^:svg:|",":svg:feFlood^:svg:|",":svg:feFuncA^:svg:componentTransferFunction|",":svg:feFuncB^:svg:componentTransferFunction|",":svg:feFuncG^:svg:componentTransferFunction|",":svg:feFuncR^:svg:componentTransferFunction|",":svg:feGaussianBlur^:svg:|",":svg:feImage^:svg:|",":svg:feMerge^:svg:|",":svg:feMergeNode^:svg:|",":svg:feMorphology^:svg:|",":svg:feOffset^:svg:|",":svg:fePointLight^:svg:|",":svg:feSpecularLighting^:svg:|",":svg:feSpotLight^:svg:|",":svg:feTile^:svg:|",":svg:feTurbulence^:svg:|",":svg:filter^:svg:|",":svg:foreignObject^:svg:graphics|",":svg:g^:svg:graphics|",":svg:image^:svg:graphics|decoding",":svg:line^:svg:geometry|",":svg:linearGradient^:svg:gradient|",":svg:mpath^:svg:|",":svg:marker^:svg:|",":svg:mask^:svg:|",":svg:metadata^:svg:|",":svg:path^:svg:geometry|",":svg:pattern^:svg:|",":svg:polygon^:svg:geometry|",":svg:polyline^:svg:geometry|",":svg:radialGradient^:svg:gradient|",":svg:rect^:svg:geometry|",":svg:svg^:svg:graphics|#currentScale,#zoomAndPan",":svg:script^:svg:|type",":svg:set^:svg:animation|",":svg:stop^:svg:|",":svg:style^:svg:|!disabled,media,title,type",":svg:switch^:svg:graphics|",":svg:symbol^:svg:|",":svg:tspan^:svg:textPositioning|",":svg:text^:svg:textPositioning|",":svg:textPath^:svg:textContent|",":svg:title^:svg:|",":svg:use^:svg:graphics|",":svg:view^:svg:|#zoomAndPan","data^[HTMLElement]|value","keygen^[HTMLElement]|!autofocus,challenge,!disabled,form,keytype,name","menuitem^[HTMLElement]|type,label,icon,!disabled,!checked,radiogroup,!default","summary^[HTMLElement]|","time^[HTMLElement]|dateTime",":svg:cursor^:svg:|",":math:^[HTMLElement]|!autofocus,nonce,*abort,*animationend,*animationiteration,*animationstart,*auxclick,*beforeinput,*beforematch,*beforetoggle,*beforexrselect,*blur,*cancel,*canplay,*canplaythrough,*change,*click,*close,*contentvisibilityautostatechange,*contextlost,*contextmenu,*contextrestored,*copy,*cuechange,*cut,*dblclick,*drag,*dragend,*dragenter,*dragleave,*dragover,*dragstart,*drop,*durationchange,*emptied,*ended,*error,*focus,*formdata,*gotpointercapture,*input,*invalid,*keydown,*keypress,*keyup,*load,*loadeddata,*loadedmetadata,*loadstart,*lostpointercapture,*mousedown,*mouseenter,*mouseleave,*mousemove,*mouseout,*mouseover,*mouseup,*mousewheel,*paste,*pause,*play,*playing,*pointercancel,*pointerdown,*pointerenter,*pointerleave,*pointermove,*pointerout,*pointerover,*pointerrawupdate,*pointerup,*progress,*ratechange,*reset,*resize,*scroll,*scrollend,*securitypolicyviolation,*seeked,*seeking,*select,*selectionchange,*selectstart,*slotchange,*stalled,*submit,*suspend,*timeupdate,*toggle,*transitioncancel,*transitionend,*transitionrun,*transitionstart,*volumechange,*waiting,*webkitanimationend,*webkitanimationiteration,*webkitanimationstart,*webkittransitionend,*wheel,%style,#tabIndex",":math:math^:math:|",":math:maction^:math:|",":math:menclose^:math:|",":math:merror^:math:|",":math:mfenced^:math:|",":math:mfrac^:math:|",":math:mi^:math:|",":math:mmultiscripts^:math:|",":math:mn^:math:|",":math:mo^:math:|",":math:mover^:math:|",":math:mpadded^:math:|",":math:mphantom^:math:|",":math:mroot^:math:|",":math:mrow^:math:|",":math:ms^:math:|",":math:mspace^:math:|",":math:msqrt^:math:|",":math:mstyle^:math:|",":math:msub^:math:|",":math:msubsup^:math:|",":math:msup^:math:|",":math:mtable^:math:|",":math:mtd^:math:|",":math:mtext^:math:|",":math:mtr^:math:|",":math:munder^:math:|",":math:munderover^:math:|",":math:semantics^:math:|"],hc=new Map(Object.entries({class:"className",for:"htmlFor",formaction:"formAction",innerHtml:"innerHTML",readonly:"readOnly",tabindex:"tabIndex"})),lg=Array.from(hc).reduce((e,[t,r])=>(e.set(t,r),e),new Map),Vb=(mc=class extends tg{constructor(){super(),this._schema=new Map,this._eventSchema=new Map,ig.forEach(e=>{let t=new Map,r=new Set,[n,a]=e.split("|"),o=a.split(","),[i,s]=n.split("^");i.split(",").forEach(d=>{this._schema.set(d.toLowerCase(),t),this._eventSchema.set(d.toLowerCase(),r)});let c=s&&this._schema.get(s.toLowerCase());if(c){for(let[d,f]of c)t.set(d,f);for(let d of this._eventSchema.get(s.toLowerCase()))r.add(d)}o.forEach(d=>{if(d.length>0)switch(d[0]){case"*":r.add(d.substring(1));break;case"!":t.set(d.substring(1),rg);break;case"#":t.set(d.substring(1),ng);break;case"%":t.set(d.substring(1),og);break;default:t.set(d,ag)}})})}hasProperty(e,t,r){if(r.some(n=>n.name===pc.name))return!0;if(e.indexOf("-")>-1){if(Hu(e)||$u(e))return!1;if(r.some(n=>n.name===dc.name))return!0}return(this._schema.get(e.toLowerCase())||this._schema.get("unknown")).has(t)}hasElement(e,t){return t.some(r=>r.name===pc.name)||e.indexOf("-")>-1&&(Hu(e)||$u(e)||t.some(r=>r.name===dc.name))?!0:this._schema.has(e.toLowerCase())}securityContext(e,t,r){r&&(t=this.getMappedPropName(t)),e=e.toLowerCase(),t=t.toLowerCase();let n=ju()[e+"|"+t];return n||(n=ju()["*|"+t],n||Qr.NONE)}getMappedPropName(e){return hc.get(e)??e}getDefaultComponentElementName(){return"ng-component"}validateProperty(e){return e.toLowerCase().startsWith("on")?{error:!0,msg:`Binding to event property '${e}' is disallowed for security reasons, please use (${e.slice(2)})=... -If '${e}' is a directive input, make sure the directive is imported by the current module.`}:{error:!1}}validateAttribute(e){return e.toLowerCase().startsWith("on")?{error:!0,msg:`Binding to event attribute '${e}' is disallowed for security reasons, please use (${e.slice(2)})=...`}:{error:!1}}allKnownElementNames(){return Array.from(this._schema.keys())}allKnownAttributesOfElement(e){let t=this._schema.get(e.toLowerCase())||this._schema.get("unknown");return Array.from(t.keys()).map(r=>lg.get(r)??r)}allKnownEventsOfElement(e){return Array.from(this._eventSchema.get(e.toLowerCase())??[])}normalizeAnimationStyleProperty(e){return Km(e)}normalizeAnimationStyleValue(e,t,r){let n="",a=r.toString().trim(),o=null;if(l5(e)&&r!==0&&r!=="0")if(typeof r=="number")n="px";else{let i=r.match(/^[+-]?[\d\.]+([a-z]*)$/);i&&i[1].length==0&&(o=`Please provide a CSS unit value for ${t}:${r}`)}return{error:o,value:a+n}}},u(mc,"qt"),mc),u(l5,"Ha"),K=(gc=class{constructor({closedByChildren:e,implicitNamespacePrefix:t,contentType:r=ht.PARSABLE_DATA,closedByParent:n=!1,isVoid:a=!1,ignoreFirstLf:o=!1,preventNamespaceInheritance:i=!1,canSelfClose:s=!1}={}){this.closedByChildren={},this.closedByParent=!1,e&&e.length>0&&e.forEach(c=>this.closedByChildren[c]=!0),this.isVoid=a,this.closedByParent=n||a,this.implicitNamespacePrefix=t||null,this.contentType=r,this.ignoreFirstLf=o,this.preventNamespaceInheritance=i,this.canSelfClose=s??a}isClosedByChild(e){return this.isVoid||e.toLowerCase()in this.closedByChildren}getContentType(e){return typeof this.contentType=="object"?(e===void 0?void 0:this.contentType[e])??this.contentType.default:this.contentType}},u(gc,"m"),gc),u(Ml,"$e"),jr=(vc=class{constructor(e,t){this.sourceSpan=e,this.i18n=t}},u(vc,"ae"),vc),ug=(yc=class extends jr{constructor(e,t,r,n){super(t,n),this.value=e,this.tokens=r,this.type="text"}visit(e,t){return e.visitText(this,t)}},u(yc,"Ht"),yc),cg=(bc=class extends jr{constructor(e,t,r,n){super(t,n),this.value=e,this.tokens=r,this.type="cdata"}visit(e,t){return e.visitCdata(this,t)}},u(bc,"Vt"),bc),dg=(wc=class extends jr{constructor(e,t,r,n,a,o){super(n,o),this.switchValue=e,this.type=t,this.cases=r,this.switchValueSourceSpan=a}visit(e,t){return e.visitExpansion(this,t)}},u(wc,"Ut"),wc),pg=(Dc=class{constructor(e,t,r,n,a){this.value=e,this.expression=t,this.sourceSpan=r,this.valueSourceSpan=n,this.expSourceSpan=a,this.type="expansionCase"}visit(e,t){return e.visitExpansionCase(this,t)}},u(Dc,"Wt"),Dc),fg=(Ec=class extends jr{constructor(e,t,r,n,a,o,i){super(r,i),this.name=e,this.value=t,this.keySpan=n,this.valueSpan=a,this.valueTokens=o,this.type="attribute"}visit(e,t){return e.visitAttribute(this,t)}get nameSpan(){return this.keySpan}},u(Ec,"zt"),Ec),nr=(Cc=class extends jr{constructor(e,t,r,n,a,o=null,i=null,s){super(n,s),this.name=e,this.attrs=t,this.children=r,this.startSourceSpan=a,this.endSourceSpan=o,this.nameSpan=i,this.type="element"}visit(e,t){return e.visitElement(this,t)}},u(Cc,"G"),Cc),hg=(xc=class{constructor(e,t){this.value=e,this.sourceSpan=t,this.type="comment"}visit(e,t){return e.visitComment(this,t)}},u(xc,"Gt"),xc),mg=(Sc=class{constructor(e,t){this.value=e,this.sourceSpan=t,this.type="docType"}visit(e,t){return e.visitDocType(this,t)}},u(Sc,"Yt"),Sc),Vr=(Fc=class extends jr{constructor(e,t,r,n,a,o,i=null,s){super(n,s),this.name=e,this.parameters=t,this.children=r,this.nameSpan=a,this.startSourceSpan=o,this.endSourceSpan=i,this.type="block"}visit(e,t){return e.visitBlock(this,t)}},u(Fc,"ee"),Fc),kc=(Ac=class{constructor(e,t){this.expression=e,this.sourceSpan=t,this.type="blockParameter",this.startSourceSpan=null,this.endSourceSpan=null}visit(e,t){return e.visitBlockParameter(this,t)}},u(Ac,"ct"),Ac),Bc=(_c=class{constructor(e,t,r,n,a){this.name=e,this.value=t,this.sourceSpan=r,this.nameSpan=n,this.valueSpan=a,this.type="letDeclaration",this.startSourceSpan=null,this.endSourceSpan=null}visit(e,t){return e.visitLetDeclaration(this,t)}},u(_c,"pt"),_c),u(id,"jt"),Ub=(Rc=class{constructor(){}visitElement(e,t){this.visitChildren(t,r=>{r(e.attrs),r(e.children)})}visitAttribute(e,t){}visitText(e,t){}visitCdata(e,t){}visitComment(e,t){}visitDocType(e,t){}visitExpansion(e,t){return this.visitChildren(t,r=>{r(e.cases)})}visitExpansionCase(e,t){}visitBlock(e,t){this.visitChildren(t,r=>{r(e.parameters),r(e.children)})}visitBlockParameter(e,t){}visitLetDeclaration(e,t){}visitChildren(e,t){let r=[],n=this;function a(o){o&&r.push(id(n,o,e))}return u(a,"i"),t(a),Array.prototype.concat.apply([],r)}},u(Rc,"ht"),Rc),_o={AElig:"Æ",AMP:"&",amp:"&",Aacute:"Á",Abreve:"Ă",Acirc:"Â",Acy:"А",Afr:"𝔄",Agrave:"À",Alpha:"Α",Amacr:"Ā",And:"⩓",Aogon:"Ą",Aopf:"𝔸",ApplyFunction:"⁡",af:"⁡",Aring:"Å",angst:"Å",Ascr:"𝒜",Assign:"≔",colone:"≔",coloneq:"≔",Atilde:"Ã",Auml:"Ä",Backslash:"∖",setminus:"∖",setmn:"∖",smallsetminus:"∖",ssetmn:"∖",Barv:"⫧",Barwed:"⌆",doublebarwedge:"⌆",Bcy:"Б",Because:"∵",becaus:"∵",because:"∵",Bernoullis:"ℬ",Bscr:"ℬ",bernou:"ℬ",Beta:"Β",Bfr:"𝔅",Bopf:"𝔹",Breve:"˘",breve:"˘",Bumpeq:"≎",HumpDownHump:"≎",bump:"≎",CHcy:"Ч",COPY:"©",copy:"©",Cacute:"Ć",Cap:"⋒",CapitalDifferentialD:"ⅅ",DD:"ⅅ",Cayleys:"ℭ",Cfr:"ℭ",Ccaron:"Č",Ccedil:"Ç",Ccirc:"Ĉ",Cconint:"∰",Cdot:"Ċ",Cedilla:"¸",cedil:"¸",CenterDot:"·",centerdot:"·",middot:"·",Chi:"Χ",CircleDot:"⊙",odot:"⊙",CircleMinus:"⊖",ominus:"⊖",CirclePlus:"⊕",oplus:"⊕",CircleTimes:"⊗",otimes:"⊗",ClockwiseContourIntegral:"∲",cwconint:"∲",CloseCurlyDoubleQuote:"”",rdquo:"”",rdquor:"”",CloseCurlyQuote:"’",rsquo:"’",rsquor:"’",Colon:"∷",Proportion:"∷",Colone:"⩴",Congruent:"≡",equiv:"≡",Conint:"∯",DoubleContourIntegral:"∯",ContourIntegral:"∮",conint:"∮",oint:"∮",Copf:"ℂ",complexes:"ℂ",Coproduct:"∐",coprod:"∐",CounterClockwiseContourIntegral:"∳",awconint:"∳",Cross:"⨯",Cscr:"𝒞",Cup:"⋓",CupCap:"≍",asympeq:"≍",DDotrahd:"⤑",DJcy:"Ђ",DScy:"Ѕ",DZcy:"Џ",Dagger:"‡",ddagger:"‡",Darr:"↡",Dashv:"⫤",DoubleLeftTee:"⫤",Dcaron:"Ď",Dcy:"Д",Del:"∇",nabla:"∇",Delta:"Δ",Dfr:"𝔇",DiacriticalAcute:"´",acute:"´",DiacriticalDot:"˙",dot:"˙",DiacriticalDoubleAcute:"˝",dblac:"˝",DiacriticalGrave:"`",grave:"`",DiacriticalTilde:"˜",tilde:"˜",Diamond:"⋄",diam:"⋄",diamond:"⋄",DifferentialD:"ⅆ",dd:"ⅆ",Dopf:"𝔻",Dot:"¨",DoubleDot:"¨",die:"¨",uml:"¨",DotDot:"⃜",DotEqual:"≐",doteq:"≐",esdot:"≐",DoubleDownArrow:"⇓",Downarrow:"⇓",dArr:"⇓",DoubleLeftArrow:"⇐",Leftarrow:"⇐",lArr:"⇐",DoubleLeftRightArrow:"⇔",Leftrightarrow:"⇔",hArr:"⇔",iff:"⇔",DoubleLongLeftArrow:"⟸",Longleftarrow:"⟸",xlArr:"⟸",DoubleLongLeftRightArrow:"⟺",Longleftrightarrow:"⟺",xhArr:"⟺",DoubleLongRightArrow:"⟹",Longrightarrow:"⟹",xrArr:"⟹",DoubleRightArrow:"⇒",Implies:"⇒",Rightarrow:"⇒",rArr:"⇒",DoubleRightTee:"⊨",vDash:"⊨",DoubleUpArrow:"⇑",Uparrow:"⇑",uArr:"⇑",DoubleUpDownArrow:"⇕",Updownarrow:"⇕",vArr:"⇕",DoubleVerticalBar:"∥",par:"∥",parallel:"∥",shortparallel:"∥",spar:"∥",DownArrow:"↓",ShortDownArrow:"↓",darr:"↓",downarrow:"↓",DownArrowBar:"⤓",DownArrowUpArrow:"⇵",duarr:"⇵",DownBreve:"̑",DownLeftRightVector:"⥐",DownLeftTeeVector:"⥞",DownLeftVector:"↽",leftharpoondown:"↽",lhard:"↽",DownLeftVectorBar:"⥖",DownRightTeeVector:"⥟",DownRightVector:"⇁",rhard:"⇁",rightharpoondown:"⇁",DownRightVectorBar:"⥗",DownTee:"⊤",top:"⊤",DownTeeArrow:"↧",mapstodown:"↧",Dscr:"𝒟",Dstrok:"Đ",ENG:"Ŋ",ETH:"Ð",Eacute:"É",Ecaron:"Ě",Ecirc:"Ê",Ecy:"Э",Edot:"Ė",Efr:"𝔈",Egrave:"È",Element:"∈",in:"∈",isin:"∈",isinv:"∈",Emacr:"Ē",EmptySmallSquare:"◻",EmptyVerySmallSquare:"▫",Eogon:"Ę",Eopf:"𝔼",Epsilon:"Ε",Equal:"⩵",EqualTilde:"≂",eqsim:"≂",esim:"≂",Equilibrium:"⇌",rightleftharpoons:"⇌",rlhar:"⇌",Escr:"ℰ",expectation:"ℰ",Esim:"⩳",Eta:"Η",Euml:"Ë",Exists:"∃",exist:"∃",ExponentialE:"ⅇ",ee:"ⅇ",exponentiale:"ⅇ",Fcy:"Ф",Ffr:"𝔉",FilledSmallSquare:"◼",FilledVerySmallSquare:"▪",blacksquare:"▪",squarf:"▪",squf:"▪",Fopf:"𝔽",ForAll:"∀",forall:"∀",Fouriertrf:"ℱ",Fscr:"ℱ",GJcy:"Ѓ",GT:">",gt:">",Gamma:"Γ",Gammad:"Ϝ",Gbreve:"Ğ",Gcedil:"Ģ",Gcirc:"Ĝ",Gcy:"Г",Gdot:"Ġ",Gfr:"𝔊",Gg:"⋙",ggg:"⋙",Gopf:"𝔾",GreaterEqual:"≥",ge:"≥",geq:"≥",GreaterEqualLess:"⋛",gel:"⋛",gtreqless:"⋛",GreaterFullEqual:"≧",gE:"≧",geqq:"≧",GreaterGreater:"⪢",GreaterLess:"≷",gl:"≷",gtrless:"≷",GreaterSlantEqual:"⩾",geqslant:"⩾",ges:"⩾",GreaterTilde:"≳",gsim:"≳",gtrsim:"≳",Gscr:"𝒢",Gt:"≫",NestedGreaterGreater:"≫",gg:"≫",HARDcy:"Ъ",Hacek:"ˇ",caron:"ˇ",Hat:"^",Hcirc:"Ĥ",Hfr:"ℌ",Poincareplane:"ℌ",HilbertSpace:"ℋ",Hscr:"ℋ",hamilt:"ℋ",Hopf:"ℍ",quaternions:"ℍ",HorizontalLine:"─",boxh:"─",Hstrok:"Ħ",HumpEqual:"≏",bumpe:"≏",bumpeq:"≏",IEcy:"Е",IJlig:"IJ",IOcy:"Ё",Iacute:"Í",Icirc:"Î",Icy:"И",Idot:"İ",Ifr:"ℑ",Im:"ℑ",image:"ℑ",imagpart:"ℑ",Igrave:"Ì",Imacr:"Ī",ImaginaryI:"ⅈ",ii:"ⅈ",Int:"∬",Integral:"∫",int:"∫",Intersection:"⋂",bigcap:"⋂",xcap:"⋂",InvisibleComma:"⁣",ic:"⁣",InvisibleTimes:"⁢",it:"⁢",Iogon:"Į",Iopf:"𝕀",Iota:"Ι",Iscr:"ℐ",imagline:"ℐ",Itilde:"Ĩ",Iukcy:"І",Iuml:"Ï",Jcirc:"Ĵ",Jcy:"Й",Jfr:"𝔍",Jopf:"𝕁",Jscr:"𝒥",Jsercy:"Ј",Jukcy:"Є",KHcy:"Х",KJcy:"Ќ",Kappa:"Κ",Kcedil:"Ķ",Kcy:"К",Kfr:"𝔎",Kopf:"𝕂",Kscr:"𝒦",LJcy:"Љ",LT:"<",lt:"<",Lacute:"Ĺ",Lambda:"Λ",Lang:"⟪",Laplacetrf:"ℒ",Lscr:"ℒ",lagran:"ℒ",Larr:"↞",twoheadleftarrow:"↞",Lcaron:"Ľ",Lcedil:"Ļ",Lcy:"Л",LeftAngleBracket:"⟨",lang:"⟨",langle:"⟨",LeftArrow:"←",ShortLeftArrow:"←",larr:"←",leftarrow:"←",slarr:"←",LeftArrowBar:"⇤",larrb:"⇤",LeftArrowRightArrow:"⇆",leftrightarrows:"⇆",lrarr:"⇆",LeftCeiling:"⌈",lceil:"⌈",LeftDoubleBracket:"⟦",lobrk:"⟦",LeftDownTeeVector:"⥡",LeftDownVector:"⇃",dharl:"⇃",downharpoonleft:"⇃",LeftDownVectorBar:"⥙",LeftFloor:"⌊",lfloor:"⌊",LeftRightArrow:"↔",harr:"↔",leftrightarrow:"↔",LeftRightVector:"⥎",LeftTee:"⊣",dashv:"⊣",LeftTeeArrow:"↤",mapstoleft:"↤",LeftTeeVector:"⥚",LeftTriangle:"⊲",vartriangleleft:"⊲",vltri:"⊲",LeftTriangleBar:"⧏",LeftTriangleEqual:"⊴",ltrie:"⊴",trianglelefteq:"⊴",LeftUpDownVector:"⥑",LeftUpTeeVector:"⥠",LeftUpVector:"↿",uharl:"↿",upharpoonleft:"↿",LeftUpVectorBar:"⥘",LeftVector:"↼",leftharpoonup:"↼",lharu:"↼",LeftVectorBar:"⥒",LessEqualGreater:"⋚",leg:"⋚",lesseqgtr:"⋚",LessFullEqual:"≦",lE:"≦",leqq:"≦",LessGreater:"≶",lessgtr:"≶",lg:"≶",LessLess:"⪡",LessSlantEqual:"⩽",leqslant:"⩽",les:"⩽",LessTilde:"≲",lesssim:"≲",lsim:"≲",Lfr:"𝔏",Ll:"⋘",Lleftarrow:"⇚",lAarr:"⇚",Lmidot:"Ŀ",LongLeftArrow:"⟵",longleftarrow:"⟵",xlarr:"⟵",LongLeftRightArrow:"⟷",longleftrightarrow:"⟷",xharr:"⟷",LongRightArrow:"⟶",longrightarrow:"⟶",xrarr:"⟶",Lopf:"𝕃",LowerLeftArrow:"↙",swarr:"↙",swarrow:"↙",LowerRightArrow:"↘",searr:"↘",searrow:"↘",Lsh:"↰",lsh:"↰",Lstrok:"Ł",Lt:"≪",NestedLessLess:"≪",ll:"≪",Map:"⤅",Mcy:"М",MediumSpace:" ",Mellintrf:"ℳ",Mscr:"ℳ",phmmat:"ℳ",Mfr:"𝔐",MinusPlus:"∓",mnplus:"∓",mp:"∓",Mopf:"𝕄",Mu:"Μ",NJcy:"Њ",Nacute:"Ń",Ncaron:"Ň",Ncedil:"Ņ",Ncy:"Н",NegativeMediumSpace:"​",NegativeThickSpace:"​",NegativeThinSpace:"​",NegativeVeryThinSpace:"​",ZeroWidthSpace:"​",NewLine:` -`,Nfr:"𝔑",NoBreak:"⁠",NonBreakingSpace:" ",nbsp:" ",Nopf:"ℕ",naturals:"ℕ",Not:"⫬",NotCongruent:"≢",nequiv:"≢",NotCupCap:"≭",NotDoubleVerticalBar:"∦",npar:"∦",nparallel:"∦",nshortparallel:"∦",nspar:"∦",NotElement:"∉",notin:"∉",notinva:"∉",NotEqual:"≠",ne:"≠",NotEqualTilde:"≂̸",nesim:"≂̸",NotExists:"∄",nexist:"∄",nexists:"∄",NotGreater:"≯",ngt:"≯",ngtr:"≯",NotGreaterEqual:"≱",nge:"≱",ngeq:"≱",NotGreaterFullEqual:"≧̸",ngE:"≧̸",ngeqq:"≧̸",NotGreaterGreater:"≫̸",nGtv:"≫̸",NotGreaterLess:"≹",ntgl:"≹",NotGreaterSlantEqual:"⩾̸",ngeqslant:"⩾̸",nges:"⩾̸",NotGreaterTilde:"≵",ngsim:"≵",NotHumpDownHump:"≎̸",nbump:"≎̸",NotHumpEqual:"≏̸",nbumpe:"≏̸",NotLeftTriangle:"⋪",nltri:"⋪",ntriangleleft:"⋪",NotLeftTriangleBar:"⧏̸",NotLeftTriangleEqual:"⋬",nltrie:"⋬",ntrianglelefteq:"⋬",NotLess:"≮",nless:"≮",nlt:"≮",NotLessEqual:"≰",nle:"≰",nleq:"≰",NotLessGreater:"≸",ntlg:"≸",NotLessLess:"≪̸",nLtv:"≪̸",NotLessSlantEqual:"⩽̸",nleqslant:"⩽̸",nles:"⩽̸",NotLessTilde:"≴",nlsim:"≴",NotNestedGreaterGreater:"⪢̸",NotNestedLessLess:"⪡̸",NotPrecedes:"⊀",npr:"⊀",nprec:"⊀",NotPrecedesEqual:"⪯̸",npre:"⪯̸",npreceq:"⪯̸",NotPrecedesSlantEqual:"⋠",nprcue:"⋠",NotReverseElement:"∌",notni:"∌",notniva:"∌",NotRightTriangle:"⋫",nrtri:"⋫",ntriangleright:"⋫",NotRightTriangleBar:"⧐̸",NotRightTriangleEqual:"⋭",nrtrie:"⋭",ntrianglerighteq:"⋭",NotSquareSubset:"⊏̸",NotSquareSubsetEqual:"⋢",nsqsube:"⋢",NotSquareSuperset:"⊐̸",NotSquareSupersetEqual:"⋣",nsqsupe:"⋣",NotSubset:"⊂⃒",nsubset:"⊂⃒",vnsub:"⊂⃒",NotSubsetEqual:"⊈",nsube:"⊈",nsubseteq:"⊈",NotSucceeds:"⊁",nsc:"⊁",nsucc:"⊁",NotSucceedsEqual:"⪰̸",nsce:"⪰̸",nsucceq:"⪰̸",NotSucceedsSlantEqual:"⋡",nsccue:"⋡",NotSucceedsTilde:"≿̸",NotSuperset:"⊃⃒",nsupset:"⊃⃒",vnsup:"⊃⃒",NotSupersetEqual:"⊉",nsupe:"⊉",nsupseteq:"⊉",NotTilde:"≁",nsim:"≁",NotTildeEqual:"≄",nsime:"≄",nsimeq:"≄",NotTildeFullEqual:"≇",ncong:"≇",NotTildeTilde:"≉",nap:"≉",napprox:"≉",NotVerticalBar:"∤",nmid:"∤",nshortmid:"∤",nsmid:"∤",Nscr:"𝒩",Ntilde:"Ñ",Nu:"Ν",OElig:"Œ",Oacute:"Ó",Ocirc:"Ô",Ocy:"О",Odblac:"Ő",Ofr:"𝔒",Ograve:"Ò",Omacr:"Ō",Omega:"Ω",ohm:"Ω",Omicron:"Ο",Oopf:"𝕆",OpenCurlyDoubleQuote:"“",ldquo:"“",OpenCurlyQuote:"‘",lsquo:"‘",Or:"⩔",Oscr:"𝒪",Oslash:"Ø",Otilde:"Õ",Otimes:"⨷",Ouml:"Ö",OverBar:"‾",oline:"‾",OverBrace:"⏞",OverBracket:"⎴",tbrk:"⎴",OverParenthesis:"⏜",PartialD:"∂",part:"∂",Pcy:"П",Pfr:"𝔓",Phi:"Φ",Pi:"Π",PlusMinus:"±",plusmn:"±",pm:"±",Popf:"ℙ",primes:"ℙ",Pr:"⪻",Precedes:"≺",pr:"≺",prec:"≺",PrecedesEqual:"⪯",pre:"⪯",preceq:"⪯",PrecedesSlantEqual:"≼",prcue:"≼",preccurlyeq:"≼",PrecedesTilde:"≾",precsim:"≾",prsim:"≾",Prime:"″",Product:"∏",prod:"∏",Proportional:"∝",prop:"∝",propto:"∝",varpropto:"∝",vprop:"∝",Pscr:"𝒫",Psi:"Ψ",QUOT:'"',quot:'"',Qfr:"𝔔",Qopf:"ℚ",rationals:"ℚ",Qscr:"𝒬",RBarr:"⤐",drbkarow:"⤐",REG:"®",circledR:"®",reg:"®",Racute:"Ŕ",Rang:"⟫",Rarr:"↠",twoheadrightarrow:"↠",Rarrtl:"⤖",Rcaron:"Ř",Rcedil:"Ŗ",Rcy:"Р",Re:"ℜ",Rfr:"ℜ",real:"ℜ",realpart:"ℜ",ReverseElement:"∋",SuchThat:"∋",ni:"∋",niv:"∋",ReverseEquilibrium:"⇋",leftrightharpoons:"⇋",lrhar:"⇋",ReverseUpEquilibrium:"⥯",duhar:"⥯",Rho:"Ρ",RightAngleBracket:"⟩",rang:"⟩",rangle:"⟩",RightArrow:"→",ShortRightArrow:"→",rarr:"→",rightarrow:"→",srarr:"→",RightArrowBar:"⇥",rarrb:"⇥",RightArrowLeftArrow:"⇄",rightleftarrows:"⇄",rlarr:"⇄",RightCeiling:"⌉",rceil:"⌉",RightDoubleBracket:"⟧",robrk:"⟧",RightDownTeeVector:"⥝",RightDownVector:"⇂",dharr:"⇂",downharpoonright:"⇂",RightDownVectorBar:"⥕",RightFloor:"⌋",rfloor:"⌋",RightTee:"⊢",vdash:"⊢",RightTeeArrow:"↦",map:"↦",mapsto:"↦",RightTeeVector:"⥛",RightTriangle:"⊳",vartriangleright:"⊳",vrtri:"⊳",RightTriangleBar:"⧐",RightTriangleEqual:"⊵",rtrie:"⊵",trianglerighteq:"⊵",RightUpDownVector:"⥏",RightUpTeeVector:"⥜",RightUpVector:"↾",uharr:"↾",upharpoonright:"↾",RightUpVectorBar:"⥔",RightVector:"⇀",rharu:"⇀",rightharpoonup:"⇀",RightVectorBar:"⥓",Ropf:"ℝ",reals:"ℝ",RoundImplies:"⥰",Rrightarrow:"⇛",rAarr:"⇛",Rscr:"ℛ",realine:"ℛ",Rsh:"↱",rsh:"↱",RuleDelayed:"⧴",SHCHcy:"Щ",SHcy:"Ш",SOFTcy:"Ь",Sacute:"Ś",Sc:"⪼",Scaron:"Š",Scedil:"Ş",Scirc:"Ŝ",Scy:"С",Sfr:"𝔖",ShortUpArrow:"↑",UpArrow:"↑",uarr:"↑",uparrow:"↑",Sigma:"Σ",SmallCircle:"∘",compfn:"∘",Sopf:"𝕊",Sqrt:"√",radic:"√",Square:"□",squ:"□",square:"□",SquareIntersection:"⊓",sqcap:"⊓",SquareSubset:"⊏",sqsub:"⊏",sqsubset:"⊏",SquareSubsetEqual:"⊑",sqsube:"⊑",sqsubseteq:"⊑",SquareSuperset:"⊐",sqsup:"⊐",sqsupset:"⊐",SquareSupersetEqual:"⊒",sqsupe:"⊒",sqsupseteq:"⊒",SquareUnion:"⊔",sqcup:"⊔",Sscr:"𝒮",Star:"⋆",sstarf:"⋆",Sub:"⋐",Subset:"⋐",SubsetEqual:"⊆",sube:"⊆",subseteq:"⊆",Succeeds:"≻",sc:"≻",succ:"≻",SucceedsEqual:"⪰",sce:"⪰",succeq:"⪰",SucceedsSlantEqual:"≽",sccue:"≽",succcurlyeq:"≽",SucceedsTilde:"≿",scsim:"≿",succsim:"≿",Sum:"∑",sum:"∑",Sup:"⋑",Supset:"⋑",Superset:"⊃",sup:"⊃",supset:"⊃",SupersetEqual:"⊇",supe:"⊇",supseteq:"⊇",THORN:"Þ",TRADE:"™",trade:"™",TSHcy:"Ћ",TScy:"Ц",Tab:" ",Tau:"Τ",Tcaron:"Ť",Tcedil:"Ţ",Tcy:"Т",Tfr:"𝔗",Therefore:"∴",there4:"∴",therefore:"∴",Theta:"Θ",ThickSpace:"  ",ThinSpace:" ",thinsp:" ",Tilde:"∼",sim:"∼",thicksim:"∼",thksim:"∼",TildeEqual:"≃",sime:"≃",simeq:"≃",TildeFullEqual:"≅",cong:"≅",TildeTilde:"≈",ap:"≈",approx:"≈",asymp:"≈",thickapprox:"≈",thkap:"≈",Topf:"𝕋",TripleDot:"⃛",tdot:"⃛",Tscr:"𝒯",Tstrok:"Ŧ",Uacute:"Ú",Uarr:"↟",Uarrocir:"⥉",Ubrcy:"Ў",Ubreve:"Ŭ",Ucirc:"Û",Ucy:"У",Udblac:"Ű",Ufr:"𝔘",Ugrave:"Ù",Umacr:"Ū",UnderBar:"_",lowbar:"_",UnderBrace:"⏟",UnderBracket:"⎵",bbrk:"⎵",UnderParenthesis:"⏝",Union:"⋃",bigcup:"⋃",xcup:"⋃",UnionPlus:"⊎",uplus:"⊎",Uogon:"Ų",Uopf:"𝕌",UpArrowBar:"⤒",UpArrowDownArrow:"⇅",udarr:"⇅",UpDownArrow:"↕",updownarrow:"↕",varr:"↕",UpEquilibrium:"⥮",udhar:"⥮",UpTee:"⊥",bot:"⊥",bottom:"⊥",perp:"⊥",UpTeeArrow:"↥",mapstoup:"↥",UpperLeftArrow:"↖",nwarr:"↖",nwarrow:"↖",UpperRightArrow:"↗",nearr:"↗",nearrow:"↗",Upsi:"ϒ",upsih:"ϒ",Upsilon:"Υ",Uring:"Ů",Uscr:"𝒰",Utilde:"Ũ",Uuml:"Ü",VDash:"⊫",Vbar:"⫫",Vcy:"В",Vdash:"⊩",Vdashl:"⫦",Vee:"⋁",bigvee:"⋁",xvee:"⋁",Verbar:"‖",Vert:"‖",VerticalBar:"∣",mid:"∣",shortmid:"∣",smid:"∣",VerticalLine:"|",verbar:"|",vert:"|",VerticalSeparator:"❘",VerticalTilde:"≀",wr:"≀",wreath:"≀",VeryThinSpace:" ",hairsp:" ",Vfr:"𝔙",Vopf:"𝕍",Vscr:"𝒱",Vvdash:"⊪",Wcirc:"Ŵ",Wedge:"⋀",bigwedge:"⋀",xwedge:"⋀",Wfr:"𝔚",Wopf:"𝕎",Wscr:"𝒲",Xfr:"𝔛",Xi:"Ξ",Xopf:"𝕏",Xscr:"𝒳",YAcy:"Я",YIcy:"Ї",YUcy:"Ю",Yacute:"Ý",Ycirc:"Ŷ",Ycy:"Ы",Yfr:"𝔜",Yopf:"𝕐",Yscr:"𝒴",Yuml:"Ÿ",ZHcy:"Ж",Zacute:"Ź",Zcaron:"Ž",Zcy:"З",Zdot:"Ż",Zeta:"Ζ",Zfr:"ℨ",zeetrf:"ℨ",Zopf:"ℤ",integers:"ℤ",Zscr:"𝒵",aacute:"á",abreve:"ă",ac:"∾",mstpos:"∾",acE:"∾̳",acd:"∿",acirc:"â",acy:"а",aelig:"æ",afr:"𝔞",agrave:"à",alefsym:"ℵ",aleph:"ℵ",alpha:"α",amacr:"ā",amalg:"⨿",and:"∧",wedge:"∧",andand:"⩕",andd:"⩜",andslope:"⩘",andv:"⩚",ang:"∠",angle:"∠",ange:"⦤",angmsd:"∡",measuredangle:"∡",angmsdaa:"⦨",angmsdab:"⦩",angmsdac:"⦪",angmsdad:"⦫",angmsdae:"⦬",angmsdaf:"⦭",angmsdag:"⦮",angmsdah:"⦯",angrt:"∟",angrtvb:"⊾",angrtvbd:"⦝",angsph:"∢",angzarr:"⍼",aogon:"ą",aopf:"𝕒",apE:"⩰",apacir:"⩯",ape:"≊",approxeq:"≊",apid:"≋",apos:"'",aring:"å",ascr:"𝒶",ast:"*",midast:"*",atilde:"ã",auml:"ä",awint:"⨑",bNot:"⫭",backcong:"≌",bcong:"≌",backepsilon:"϶",bepsi:"϶",backprime:"‵",bprime:"‵",backsim:"∽",bsim:"∽",backsimeq:"⋍",bsime:"⋍",barvee:"⊽",barwed:"⌅",barwedge:"⌅",bbrktbrk:"⎶",bcy:"б",bdquo:"„",ldquor:"„",bemptyv:"⦰",beta:"β",beth:"ℶ",between:"≬",twixt:"≬",bfr:"𝔟",bigcirc:"◯",xcirc:"◯",bigodot:"⨀",xodot:"⨀",bigoplus:"⨁",xoplus:"⨁",bigotimes:"⨂",xotime:"⨂",bigsqcup:"⨆",xsqcup:"⨆",bigstar:"★",starf:"★",bigtriangledown:"▽",xdtri:"▽",bigtriangleup:"△",xutri:"△",biguplus:"⨄",xuplus:"⨄",bkarow:"⤍",rbarr:"⤍",blacklozenge:"⧫",lozf:"⧫",blacktriangle:"▴",utrif:"▴",blacktriangledown:"▾",dtrif:"▾",blacktriangleleft:"◂",ltrif:"◂",blacktriangleright:"▸",rtrif:"▸",blank:"␣",blk12:"▒",blk14:"░",blk34:"▓",block:"█",bne:"=⃥",bnequiv:"≡⃥",bnot:"⌐",bopf:"𝕓",bowtie:"⋈",boxDL:"╗",boxDR:"╔",boxDl:"╖",boxDr:"╓",boxH:"═",boxHD:"╦",boxHU:"╩",boxHd:"╤",boxHu:"╧",boxUL:"╝",boxUR:"╚",boxUl:"╜",boxUr:"╙",boxV:"║",boxVH:"╬",boxVL:"╣",boxVR:"╠",boxVh:"╫",boxVl:"╢",boxVr:"╟",boxbox:"⧉",boxdL:"╕",boxdR:"╒",boxdl:"┐",boxdr:"┌",boxhD:"╥",boxhU:"╨",boxhd:"┬",boxhu:"┴",boxminus:"⊟",minusb:"⊟",boxplus:"⊞",plusb:"⊞",boxtimes:"⊠",timesb:"⊠",boxuL:"╛",boxuR:"╘",boxul:"┘",boxur:"└",boxv:"│",boxvH:"╪",boxvL:"╡",boxvR:"╞",boxvh:"┼",boxvl:"┤",boxvr:"├",brvbar:"¦",bscr:"𝒷",bsemi:"⁏",bsol:"\\",bsolb:"⧅",bsolhsub:"⟈",bull:"•",bullet:"•",bumpE:"⪮",cacute:"ć",cap:"∩",capand:"⩄",capbrcup:"⩉",capcap:"⩋",capcup:"⩇",capdot:"⩀",caps:"∩︀",caret:"⁁",ccaps:"⩍",ccaron:"č",ccedil:"ç",ccirc:"ĉ",ccups:"⩌",ccupssm:"⩐",cdot:"ċ",cemptyv:"⦲",cent:"¢",cfr:"𝔠",chcy:"ч",check:"✓",checkmark:"✓",chi:"χ",cir:"○",cirE:"⧃",circ:"ˆ",circeq:"≗",cire:"≗",circlearrowleft:"↺",olarr:"↺",circlearrowright:"↻",orarr:"↻",circledS:"Ⓢ",oS:"Ⓢ",circledast:"⊛",oast:"⊛",circledcirc:"⊚",ocir:"⊚",circleddash:"⊝",odash:"⊝",cirfnint:"⨐",cirmid:"⫯",cirscir:"⧂",clubs:"♣",clubsuit:"♣",colon:":",comma:",",commat:"@",comp:"∁",complement:"∁",congdot:"⩭",copf:"𝕔",copysr:"℗",crarr:"↵",cross:"✗",cscr:"𝒸",csub:"⫏",csube:"⫑",csup:"⫐",csupe:"⫒",ctdot:"⋯",cudarrl:"⤸",cudarrr:"⤵",cuepr:"⋞",curlyeqprec:"⋞",cuesc:"⋟",curlyeqsucc:"⋟",cularr:"↶",curvearrowleft:"↶",cularrp:"⤽",cup:"∪",cupbrcap:"⩈",cupcap:"⩆",cupcup:"⩊",cupdot:"⊍",cupor:"⩅",cups:"∪︀",curarr:"↷",curvearrowright:"↷",curarrm:"⤼",curlyvee:"⋎",cuvee:"⋎",curlywedge:"⋏",cuwed:"⋏",curren:"¤",cwint:"∱",cylcty:"⌭",dHar:"⥥",dagger:"†",daleth:"ℸ",dash:"‐",hyphen:"‐",dbkarow:"⤏",rBarr:"⤏",dcaron:"ď",dcy:"д",ddarr:"⇊",downdownarrows:"⇊",ddotseq:"⩷",eDDot:"⩷",deg:"°",delta:"δ",demptyv:"⦱",dfisht:"⥿",dfr:"𝔡",diamondsuit:"♦",diams:"♦",digamma:"ϝ",gammad:"ϝ",disin:"⋲",div:"÷",divide:"÷",divideontimes:"⋇",divonx:"⋇",djcy:"ђ",dlcorn:"⌞",llcorner:"⌞",dlcrop:"⌍",dollar:"$",dopf:"𝕕",doteqdot:"≑",eDot:"≑",dotminus:"∸",minusd:"∸",dotplus:"∔",plusdo:"∔",dotsquare:"⊡",sdotb:"⊡",drcorn:"⌟",lrcorner:"⌟",drcrop:"⌌",dscr:"𝒹",dscy:"ѕ",dsol:"⧶",dstrok:"đ",dtdot:"⋱",dtri:"▿",triangledown:"▿",dwangle:"⦦",dzcy:"џ",dzigrarr:"⟿",eacute:"é",easter:"⩮",ecaron:"ě",ecir:"≖",eqcirc:"≖",ecirc:"ê",ecolon:"≕",eqcolon:"≕",ecy:"э",edot:"ė",efDot:"≒",fallingdotseq:"≒",efr:"𝔢",eg:"⪚",egrave:"è",egs:"⪖",eqslantgtr:"⪖",egsdot:"⪘",el:"⪙",elinters:"⏧",ell:"ℓ",els:"⪕",eqslantless:"⪕",elsdot:"⪗",emacr:"ē",empty:"∅",emptyset:"∅",emptyv:"∅",varnothing:"∅",emsp13:" ",emsp14:" ",emsp:" ",eng:"ŋ",ensp:" ",eogon:"ę",eopf:"𝕖",epar:"⋕",eparsl:"⧣",eplus:"⩱",epsi:"ε",epsilon:"ε",epsiv:"ϵ",straightepsilon:"ϵ",varepsilon:"ϵ",equals:"=",equest:"≟",questeq:"≟",equivDD:"⩸",eqvparsl:"⧥",erDot:"≓",risingdotseq:"≓",erarr:"⥱",escr:"ℯ",eta:"η",eth:"ð",euml:"ë",euro:"€",excl:"!",fcy:"ф",female:"♀",ffilig:"ffi",fflig:"ff",ffllig:"ffl",ffr:"𝔣",filig:"fi",fjlig:"fj",flat:"♭",fllig:"fl",fltns:"▱",fnof:"ƒ",fopf:"𝕗",fork:"⋔",pitchfork:"⋔",forkv:"⫙",fpartint:"⨍",frac12:"½",half:"½",frac13:"⅓",frac14:"¼",frac15:"⅕",frac16:"⅙",frac18:"⅛",frac23:"⅔",frac25:"⅖",frac34:"¾",frac35:"⅗",frac38:"⅜",frac45:"⅘",frac56:"⅚",frac58:"⅝",frac78:"⅞",frasl:"⁄",frown:"⌢",sfrown:"⌢",fscr:"𝒻",gEl:"⪌",gtreqqless:"⪌",gacute:"ǵ",gamma:"γ",gap:"⪆",gtrapprox:"⪆",gbreve:"ğ",gcirc:"ĝ",gcy:"г",gdot:"ġ",gescc:"⪩",gesdot:"⪀",gesdoto:"⪂",gesdotol:"⪄",gesl:"⋛︀",gesles:"⪔",gfr:"𝔤",gimel:"ℷ",gjcy:"ѓ",glE:"⪒",gla:"⪥",glj:"⪤",gnE:"≩",gneqq:"≩",gnap:"⪊",gnapprox:"⪊",gne:"⪈",gneq:"⪈",gnsim:"⋧",gopf:"𝕘",gscr:"ℊ",gsime:"⪎",gsiml:"⪐",gtcc:"⪧",gtcir:"⩺",gtdot:"⋗",gtrdot:"⋗",gtlPar:"⦕",gtquest:"⩼",gtrarr:"⥸",gvertneqq:"≩︀",gvnE:"≩︀",hardcy:"ъ",harrcir:"⥈",harrw:"↭",leftrightsquigarrow:"↭",hbar:"ℏ",hslash:"ℏ",planck:"ℏ",plankv:"ℏ",hcirc:"ĥ",hearts:"♥",heartsuit:"♥",hellip:"…",mldr:"…",hercon:"⊹",hfr:"𝔥",hksearow:"⤥",searhk:"⤥",hkswarow:"⤦",swarhk:"⤦",hoarr:"⇿",homtht:"∻",hookleftarrow:"↩",larrhk:"↩",hookrightarrow:"↪",rarrhk:"↪",hopf:"𝕙",horbar:"―",hscr:"𝒽",hstrok:"ħ",hybull:"⁃",iacute:"í",icirc:"î",icy:"и",iecy:"е",iexcl:"¡",ifr:"𝔦",igrave:"ì",iiiint:"⨌",qint:"⨌",iiint:"∭",tint:"∭",iinfin:"⧜",iiota:"℩",ijlig:"ij",imacr:"ī",imath:"ı",inodot:"ı",imof:"⊷",imped:"Ƶ",incare:"℅",infin:"∞",infintie:"⧝",intcal:"⊺",intercal:"⊺",intlarhk:"⨗",intprod:"⨼",iprod:"⨼",iocy:"ё",iogon:"į",iopf:"𝕚",iota:"ι",iquest:"¿",iscr:"𝒾",isinE:"⋹",isindot:"⋵",isins:"⋴",isinsv:"⋳",itilde:"ĩ",iukcy:"і",iuml:"ï",jcirc:"ĵ",jcy:"й",jfr:"𝔧",jmath:"ȷ",jopf:"𝕛",jscr:"𝒿",jsercy:"ј",jukcy:"є",kappa:"κ",kappav:"ϰ",varkappa:"ϰ",kcedil:"ķ",kcy:"к",kfr:"𝔨",kgreen:"ĸ",khcy:"х",kjcy:"ќ",kopf:"𝕜",kscr:"𝓀",lAtail:"⤛",lBarr:"⤎",lEg:"⪋",lesseqqgtr:"⪋",lHar:"⥢",lacute:"ĺ",laemptyv:"⦴",lambda:"λ",langd:"⦑",lap:"⪅",lessapprox:"⪅",laquo:"«",larrbfs:"⤟",larrfs:"⤝",larrlp:"↫",looparrowleft:"↫",larrpl:"⤹",larrsim:"⥳",larrtl:"↢",leftarrowtail:"↢",lat:"⪫",latail:"⤙",late:"⪭",lates:"⪭︀",lbarr:"⤌",lbbrk:"❲",lbrace:"{",lcub:"{",lbrack:"[",lsqb:"[",lbrke:"⦋",lbrksld:"⦏",lbrkslu:"⦍",lcaron:"ľ",lcedil:"ļ",lcy:"л",ldca:"⤶",ldrdhar:"⥧",ldrushar:"⥋",ldsh:"↲",le:"≤",leq:"≤",leftleftarrows:"⇇",llarr:"⇇",leftthreetimes:"⋋",lthree:"⋋",lescc:"⪨",lesdot:"⩿",lesdoto:"⪁",lesdotor:"⪃",lesg:"⋚︀",lesges:"⪓",lessdot:"⋖",ltdot:"⋖",lfisht:"⥼",lfr:"𝔩",lgE:"⪑",lharul:"⥪",lhblk:"▄",ljcy:"љ",llhard:"⥫",lltri:"◺",lmidot:"ŀ",lmoust:"⎰",lmoustache:"⎰",lnE:"≨",lneqq:"≨",lnap:"⪉",lnapprox:"⪉",lne:"⪇",lneq:"⪇",lnsim:"⋦",loang:"⟬",loarr:"⇽",longmapsto:"⟼",xmap:"⟼",looparrowright:"↬",rarrlp:"↬",lopar:"⦅",lopf:"𝕝",loplus:"⨭",lotimes:"⨴",lowast:"∗",loz:"◊",lozenge:"◊",lpar:"(",lparlt:"⦓",lrhard:"⥭",lrm:"‎",lrtri:"⊿",lsaquo:"‹",lscr:"𝓁",lsime:"⪍",lsimg:"⪏",lsquor:"‚",sbquo:"‚",lstrok:"ł",ltcc:"⪦",ltcir:"⩹",ltimes:"⋉",ltlarr:"⥶",ltquest:"⩻",ltrPar:"⦖",ltri:"◃",triangleleft:"◃",lurdshar:"⥊",luruhar:"⥦",lvertneqq:"≨︀",lvnE:"≨︀",mDDot:"∺",macr:"¯",strns:"¯",male:"♂",malt:"✠",maltese:"✠",marker:"▮",mcomma:"⨩",mcy:"м",mdash:"—",mfr:"𝔪",mho:"℧",micro:"µ",midcir:"⫰",minus:"−",minusdu:"⨪",mlcp:"⫛",models:"⊧",mopf:"𝕞",mscr:"𝓂",mu:"μ",multimap:"⊸",mumap:"⊸",nGg:"⋙̸",nGt:"≫⃒",nLeftarrow:"⇍",nlArr:"⇍",nLeftrightarrow:"⇎",nhArr:"⇎",nLl:"⋘̸",nLt:"≪⃒",nRightarrow:"⇏",nrArr:"⇏",nVDash:"⊯",nVdash:"⊮",nacute:"ń",nang:"∠⃒",napE:"⩰̸",napid:"≋̸",napos:"ʼn",natur:"♮",natural:"♮",ncap:"⩃",ncaron:"ň",ncedil:"ņ",ncongdot:"⩭̸",ncup:"⩂",ncy:"н",ndash:"–",neArr:"⇗",nearhk:"⤤",nedot:"≐̸",nesear:"⤨",toea:"⤨",nfr:"𝔫",nharr:"↮",nleftrightarrow:"↮",nhpar:"⫲",nis:"⋼",nisd:"⋺",njcy:"њ",nlE:"≦̸",nleqq:"≦̸",nlarr:"↚",nleftarrow:"↚",nldr:"‥",nopf:"𝕟",not:"¬",notinE:"⋹̸",notindot:"⋵̸",notinvb:"⋷",notinvc:"⋶",notnivb:"⋾",notnivc:"⋽",nparsl:"⫽⃥",npart:"∂̸",npolint:"⨔",nrarr:"↛",nrightarrow:"↛",nrarrc:"⤳̸",nrarrw:"↝̸",nscr:"𝓃",nsub:"⊄",nsubE:"⫅̸",nsubseteqq:"⫅̸",nsup:"⊅",nsupE:"⫆̸",nsupseteqq:"⫆̸",ntilde:"ñ",nu:"ν",num:"#",numero:"№",numsp:" ",nvDash:"⊭",nvHarr:"⤄",nvap:"≍⃒",nvdash:"⊬",nvge:"≥⃒",nvgt:">⃒",nvinfin:"⧞",nvlArr:"⤂",nvle:"≤⃒",nvlt:"<⃒",nvltrie:"⊴⃒",nvrArr:"⤃",nvrtrie:"⊵⃒",nvsim:"∼⃒",nwArr:"⇖",nwarhk:"⤣",nwnear:"⤧",oacute:"ó",ocirc:"ô",ocy:"о",odblac:"ő",odiv:"⨸",odsold:"⦼",oelig:"œ",ofcir:"⦿",ofr:"𝔬",ogon:"˛",ograve:"ò",ogt:"⧁",ohbar:"⦵",olcir:"⦾",olcross:"⦻",olt:"⧀",omacr:"ō",omega:"ω",omicron:"ο",omid:"⦶",oopf:"𝕠",opar:"⦷",operp:"⦹",or:"∨",vee:"∨",ord:"⩝",order:"ℴ",orderof:"ℴ",oscr:"ℴ",ordf:"ª",ordm:"º",origof:"⊶",oror:"⩖",orslope:"⩗",orv:"⩛",oslash:"ø",osol:"⊘",otilde:"õ",otimesas:"⨶",ouml:"ö",ovbar:"⌽",para:"¶",parsim:"⫳",parsl:"⫽",pcy:"п",percnt:"%",period:".",permil:"‰",pertenk:"‱",pfr:"𝔭",phi:"φ",phiv:"ϕ",straightphi:"ϕ",varphi:"ϕ",phone:"☎",pi:"π",piv:"ϖ",varpi:"ϖ",planckh:"ℎ",plus:"+",plusacir:"⨣",pluscir:"⨢",plusdu:"⨥",pluse:"⩲",plussim:"⨦",plustwo:"⨧",pointint:"⨕",popf:"𝕡",pound:"£",prE:"⪳",prap:"⪷",precapprox:"⪷",precnapprox:"⪹",prnap:"⪹",precneqq:"⪵",prnE:"⪵",precnsim:"⋨",prnsim:"⋨",prime:"′",profalar:"⌮",profline:"⌒",profsurf:"⌓",prurel:"⊰",pscr:"𝓅",psi:"ψ",puncsp:" ",qfr:"𝔮",qopf:"𝕢",qprime:"⁗",qscr:"𝓆",quatint:"⨖",quest:"?",rAtail:"⤜",rHar:"⥤",race:"∽̱",racute:"ŕ",raemptyv:"⦳",rangd:"⦒",range:"⦥",raquo:"»",rarrap:"⥵",rarrbfs:"⤠",rarrc:"⤳",rarrfs:"⤞",rarrpl:"⥅",rarrsim:"⥴",rarrtl:"↣",rightarrowtail:"↣",rarrw:"↝",rightsquigarrow:"↝",ratail:"⤚",ratio:"∶",rbbrk:"❳",rbrace:"}",rcub:"}",rbrack:"]",rsqb:"]",rbrke:"⦌",rbrksld:"⦎",rbrkslu:"⦐",rcaron:"ř",rcedil:"ŗ",rcy:"р",rdca:"⤷",rdldhar:"⥩",rdsh:"↳",rect:"▭",rfisht:"⥽",rfr:"𝔯",rharul:"⥬",rho:"ρ",rhov:"ϱ",varrho:"ϱ",rightrightarrows:"⇉",rrarr:"⇉",rightthreetimes:"⋌",rthree:"⋌",ring:"˚",rlm:"‏",rmoust:"⎱",rmoustache:"⎱",rnmid:"⫮",roang:"⟭",roarr:"⇾",ropar:"⦆",ropf:"𝕣",roplus:"⨮",rotimes:"⨵",rpar:")",rpargt:"⦔",rppolint:"⨒",rsaquo:"›",rscr:"𝓇",rtimes:"⋊",rtri:"▹",triangleright:"▹",rtriltri:"⧎",ruluhar:"⥨",rx:"℞",sacute:"ś",scE:"⪴",scap:"⪸",succapprox:"⪸",scaron:"š",scedil:"ş",scirc:"ŝ",scnE:"⪶",succneqq:"⪶",scnap:"⪺",succnapprox:"⪺",scnsim:"⋩",succnsim:"⋩",scpolint:"⨓",scy:"с",sdot:"⋅",sdote:"⩦",seArr:"⇘",sect:"§",semi:";",seswar:"⤩",tosa:"⤩",sext:"✶",sfr:"𝔰",sharp:"♯",shchcy:"щ",shcy:"ш",shy:"­",sigma:"σ",sigmaf:"ς",sigmav:"ς",varsigma:"ς",simdot:"⩪",simg:"⪞",simgE:"⪠",siml:"⪝",simlE:"⪟",simne:"≆",simplus:"⨤",simrarr:"⥲",smashp:"⨳",smeparsl:"⧤",smile:"⌣",ssmile:"⌣",smt:"⪪",smte:"⪬",smtes:"⪬︀",softcy:"ь",sol:"/",solb:"⧄",solbar:"⌿",sopf:"𝕤",spades:"♠",spadesuit:"♠",sqcaps:"⊓︀",sqcups:"⊔︀",sscr:"𝓈",star:"☆",sub:"⊂",subset:"⊂",subE:"⫅",subseteqq:"⫅",subdot:"⪽",subedot:"⫃",submult:"⫁",subnE:"⫋",subsetneqq:"⫋",subne:"⊊",subsetneq:"⊊",subplus:"⪿",subrarr:"⥹",subsim:"⫇",subsub:"⫕",subsup:"⫓",sung:"♪",sup1:"¹",sup2:"²",sup3:"³",supE:"⫆",supseteqq:"⫆",supdot:"⪾",supdsub:"⫘",supedot:"⫄",suphsol:"⟉",suphsub:"⫗",suplarr:"⥻",supmult:"⫂",supnE:"⫌",supsetneqq:"⫌",supne:"⊋",supsetneq:"⊋",supplus:"⫀",supsim:"⫈",supsub:"⫔",supsup:"⫖",swArr:"⇙",swnwar:"⤪",szlig:"ß",target:"⌖",tau:"τ",tcaron:"ť",tcedil:"ţ",tcy:"т",telrec:"⌕",tfr:"𝔱",theta:"θ",thetasym:"ϑ",thetav:"ϑ",vartheta:"ϑ",thorn:"þ",times:"×",timesbar:"⨱",timesd:"⨰",topbot:"⌶",topcir:"⫱",topf:"𝕥",topfork:"⫚",tprime:"‴",triangle:"▵",utri:"▵",triangleq:"≜",trie:"≜",tridot:"◬",triminus:"⨺",triplus:"⨹",trisb:"⧍",tritime:"⨻",trpezium:"⏢",tscr:"𝓉",tscy:"ц",tshcy:"ћ",tstrok:"ŧ",uHar:"⥣",uacute:"ú",ubrcy:"ў",ubreve:"ŭ",ucirc:"û",ucy:"у",udblac:"ű",ufisht:"⥾",ufr:"𝔲",ugrave:"ù",uhblk:"▀",ulcorn:"⌜",ulcorner:"⌜",ulcrop:"⌏",ultri:"◸",umacr:"ū",uogon:"ų",uopf:"𝕦",upsi:"υ",upsilon:"υ",upuparrows:"⇈",uuarr:"⇈",urcorn:"⌝",urcorner:"⌝",urcrop:"⌎",uring:"ů",urtri:"◹",uscr:"𝓊",utdot:"⋰",utilde:"ũ",uuml:"ü",uwangle:"⦧",vBar:"⫨",vBarv:"⫩",vangrt:"⦜",varsubsetneq:"⊊︀",vsubne:"⊊︀",varsubsetneqq:"⫋︀",vsubnE:"⫋︀",varsupsetneq:"⊋︀",vsupne:"⊋︀",varsupsetneqq:"⫌︀",vsupnE:"⫌︀",vcy:"в",veebar:"⊻",veeeq:"≚",vellip:"⋮",vfr:"𝔳",vopf:"𝕧",vscr:"𝓋",vzigzag:"⦚",wcirc:"ŵ",wedbar:"⩟",wedgeq:"≙",weierp:"℘",wp:"℘",wfr:"𝔴",wopf:"𝕨",wscr:"𝓌",xfr:"𝔵",xi:"ξ",xnis:"⋻",xopf:"𝕩",xscr:"𝓍",yacute:"ý",yacy:"я",ycirc:"ŷ",ycy:"ы",yen:"¥",yfr:"𝔶",yicy:"ї",yopf:"𝕪",yscr:"𝓎",yucy:"ю",yuml:"ÿ",zacute:"ź",zcaron:"ž",zcy:"з",zdot:"ż",zeta:"ζ",zfr:"𝔷",zhcy:"ж",zigrarr:"⇝",zopf:"𝕫",zscr:"𝓏",zwj:"‍",zwnj:"‌"},gg="",_o.ngsp=gg,qb=[/@/,/^\s*$/,/[<>]/,/^[{}]$/,/&(#|[a-z])/i,/^\/\//],u(s5,"Bs"),vg=(Ti=class{static fromArray(e){return e?(s5("interpolation",e),new Ti(e[0],e[1])):Ic}constructor(e,t){this.start=e,this.end=t}},u(Ti,"t"),Ti),Ic=new vg("{{","}}"),Li=(zc=class extends lc{constructor(e,t,r){super(r,e),this.tokenType=t}},u(zc,"ft"),zc),Wb=(Tc=class{constructor(e,t,r){this.tokens=e,this.errors=t,this.nonNormalizedIcuExpressions=r}},u(Tc,"Or"),Tc),u(u5,"Us"),yg=/\r\n?/g,u($r,"qe"),u(Vu,"Is"),u(c5,"co"),function(e){e.HEX="hexadecimal",e.DEC="decimal"}(Mi||(Mi={})),Oi=(Lc=class{constructor(e){this.error=e}},u(Lc,"dt"),Lc),Gb=(Mc=class{constructor(e,t,r){this._getTagContentType=t,this._currentTokenStart=null,this._currentTokenType=null,this._expansionCaseStack=[],this._inInterpolation=!1,this._fullNameStack=[],this.tokens=[],this.errors=[],this.nonNormalizedIcuExpressions=[],this._tokenizeIcu=r.tokenizeExpansionForms||!1,this._interpolationConfig=r.interpolationConfig||Ic,this._leadingTriviaCodePoints=r.leadingTriviaChars&&r.leadingTriviaChars.map(a=>a.codePointAt(0)||0),this._canSelfClose=r.canSelfClose||!1,this._allowHtmComponentClosingTags=r.allowHtmComponentClosingTags||!1;let n=r.range||{endPos:e.content.length,startPos:0,startLine:0,startCol:0};this._cursor=r.escapedString?new bg(e,n):new Oc(e,n),this._preserveLineEndings=r.preserveLineEndings||!1,this._i18nNormalizeLineEndingsInICUs=r.i18nNormalizeLineEndingsInICUs||!1,this._tokenizeBlocks=r.tokenizeBlocks??!0,this._tokenizeLet=r.tokenizeLet??!0;try{this._cursor.init()}catch(a){this.handleError(a)}}_processCarriageReturns(e){return this._preserveLineEndings?e:e.replace(yg,` -`)}tokenize(){for(;this._cursor.peek()!==0;){let e=this._cursor.clone();try{if(this._attemptCharCode(60))if(this._attemptCharCode(33))this._attemptStr("[CDATA[")?this._consumeCdata(e):this._attemptStr("--")?this._consumeComment(e):this._attemptStrCaseInsensitive("doctype")?this._consumeDocType(e):this._consumeBogusComment(e);else if(this._attemptCharCode(47))this._consumeTagClose(e);else{let t=this._cursor.clone();this._attemptCharCode(63)?(this._cursor=t,this._consumeBogusComment(e)):this._consumeTagOpen(e)}else this._tokenizeLet&&this._cursor.peek()===64&&!this._inInterpolation&&this._attemptStr("@let")?this._consumeLetDeclaration(e):this._tokenizeBlocks&&this._attemptCharCode(64)?this._consumeBlockStart(e):this._tokenizeBlocks&&!this._inInterpolation&&!this._isInExpansionCase()&&!this._isInExpansionForm()&&this._attemptCharCode(125)?this._consumeBlockEnd(e):this._tokenizeIcu&&this._tokenizeExpansionForm()||this._consumeWithInterpolation(5,8,()=>this._isTextEnd(),()=>this._isTagStart())}catch(t){this.handleError(t)}}this._beginToken(34),this._endToken([])}_getBlockName(){let e=!1,t=this._cursor.clone();return this._attemptCharCodeUntilFn(r=>Ao(r)?!e:qu(r)?(e=!0,!1):!0),this._cursor.getChars(t).trim()}_consumeBlockStart(e){this._beginToken(25,e);let t=this._endToken([this._getBlockName()]);if(this._cursor.peek()===40)if(this._cursor.advance(),this._consumeBlockParameters(),this._attemptCharCodeUntilFn(ue),this._attemptCharCode(41))this._attemptCharCodeUntilFn(ue);else{t.type=29;return}this._attemptCharCode(123)?(this._beginToken(26),this._endToken([])):t.type=29}_consumeBlockEnd(e){this._beginToken(27,e),this._endToken([])}_consumeBlockParameters(){for(this._attemptCharCodeUntilFn(Wu);this._cursor.peek()!==41&&this._cursor.peek()!==0;){this._beginToken(28);let e=this._cursor.clone(),t=null,r=0;for(;this._cursor.peek()!==59&&this._cursor.peek()!==0||t!==null;){let n=this._cursor.peek();if(n===92)this._cursor.advance();else if(n===t)t=null;else if(t===null&&Ri(n))t=n;else if(n===40&&t===null)r++;else if(n===41&&t===null){if(r===0)break;r>0&&r--}this._cursor.advance()}this._endToken([this._cursor.getChars(e)]),this._attemptCharCodeUntilFn(Wu)}}_consumeLetDeclaration(e){if(this._beginToken(30,e),Ao(this._cursor.peek()))this._attemptCharCodeUntilFn(ue);else{let r=this._endToken([this._cursor.getChars(e)]);r.type=33;return}let t=this._endToken([this._getLetDeclarationName()]);if(this._attemptCharCodeUntilFn(ue),!this._attemptCharCode(61)){t.type=33;return}this._attemptCharCodeUntilFn(r=>ue(r)&&!Bi(r)),this._consumeLetDeclarationValue(),this._cursor.peek()===59?(this._beginToken(32),this._endToken([]),this._cursor.advance()):(t.type=33,t.sourceSpan=this._cursor.getSpan(e))}_getLetDeclarationName(){let e=this._cursor.clone(),t=!1;return this._attemptCharCodeUntilFn(r=>ko(r)||r===36||r===95||t&&Ll(r)?(t=!0,!1):!0),this._cursor.getChars(e).trim()}_consumeLetDeclarationValue(){let e=this._cursor.clone();for(this._beginToken(31,e);this._cursor.peek()!==0;){let t=this._cursor.peek();if(t===59)break;Ri(t)&&(this._cursor.advance(),this._attemptCharCodeUntilFn(r=>r===92?(this._cursor.advance(),!1):r===t)),this._cursor.advance()}this._endToken([this._cursor.getChars(e)])}_tokenizeExpansionForm(){if(this.isExpansionFormStart())return this._consumeExpansionFormStart(),!0;if(h5(this._cursor.peek())&&this._isInExpansionForm())return this._consumeExpansionCaseStart(),!0;if(this._cursor.peek()===125){if(this._isInExpansionCase())return this._consumeExpansionCaseEnd(),!0;if(this._isInExpansionForm())return this._consumeExpansionFormEnd(),!0}return!1}_beginToken(e,t=this._cursor.clone()){this._currentTokenStart=t,this._currentTokenType=e}_endToken(e,t){if(this._currentTokenStart===null)throw new Li("Programming error - attempted to end a token when there was no start to the token",this._currentTokenType,this._cursor.getSpan(t));if(this._currentTokenType===null)throw new Li("Programming error - attempted to end a token which has no token type",null,this._cursor.getSpan(this._currentTokenStart));let r={type:this._currentTokenType,parts:e,sourceSpan:(t??this._cursor).getSpan(this._currentTokenStart,this._leadingTriviaCodePoints)};return this.tokens.push(r),this._currentTokenStart=null,this._currentTokenType=null,r}_createError(e,t){this._isInExpansionForm()&&(e+=` (Do you have an unescaped "{" in your template? Use "{{ '{' }}") to escape it.)`);let r=new Li(e,this._currentTokenType,t);return this._currentTokenStart=null,this._currentTokenType=null,new Oi(r)}handleError(e){if(e instanceof Pi&&(e=this._createError(e.msg,this._cursor.getSpan(e.cursor))),e instanceof Oi)this.errors.push(e.error);else throw e}_attemptCharCode(e){return this._cursor.peek()===e?(this._cursor.advance(),!0):!1}_attemptCharCodeCaseInsensitive(e){return m5(this._cursor.peek(),e)?(this._cursor.advance(),!0):!1}_requireCharCode(e){let t=this._cursor.clone();if(!this._attemptCharCode(e))throw this._createError($r(this._cursor.peek()),this._cursor.getSpan(t))}_attemptStr(e){let t=e.length;if(this._cursor.charsLeft()this._attemptStr("-->")),this._beginToken(11),this._requireStr("-->"),this._endToken([])}_consumeBogusComment(e){this._beginToken(10,e),this._endToken([]),this._consumeRawText(!1,()=>this._cursor.peek()===62),this._beginToken(11),this._cursor.advance(),this._endToken([])}_consumeCdata(e){this._beginToken(12,e),this._endToken([]),this._consumeRawText(!1,()=>this._attemptStr("]]>")),this._beginToken(13),this._requireStr("]]>"),this._endToken([])}_consumeDocType(e){this._beginToken(18,e),this._endToken([]),this._consumeRawText(!1,()=>this._cursor.peek()===62),this._beginToken(19),this._cursor.advance(),this._endToken([])}_consumePrefixAndName(){let e=this._cursor.clone(),t="";for(;this._cursor.peek()!==58&&!d5(this._cursor.peek());)this._cursor.advance();let r;this._cursor.peek()===58?(t=this._cursor.getChars(e),this._cursor.advance(),r=this._cursor.clone()):r=e,this._requireCharCodeUntilFn(Uu,t===""?0:1);let n=this._cursor.getChars(r);return[t,n]}_consumeTagOpen(e){let t,r,n,a=[];try{if(!ko(this._cursor.peek()))throw this._createError($r(this._cursor.peek()),this._cursor.getSpan(e));for(n=this._consumeTagOpenStart(e),r=n.parts[0],t=n.parts[1],this._attemptCharCodeUntilFn(ue);this._cursor.peek()!==47&&this._cursor.peek()!==62&&this._cursor.peek()!==60&&this._cursor.peek()!==0;){let[i,s]=this._consumeAttributeName();if(this._attemptCharCodeUntilFn(ue),this._attemptCharCode(61)){this._attemptCharCodeUntilFn(ue);let c=this._consumeAttributeValue();a.push({prefix:i,name:s,value:c})}else a.push({prefix:i,name:s});this._attemptCharCodeUntilFn(ue)}this._consumeTagOpenEnd()}catch(i){if(i instanceof Oi){n?n.type=4:(this._beginToken(5,e),this._endToken(["<"]));return}throw i}if(this._canSelfClose&&this.tokens[this.tokens.length-1].type===2)return;let o=this._getTagContentType(t,r,this._fullNameStack.length>0,a);this._handleFullNameStackForTagOpen(r,t),o===ht.RAW_TEXT?this._consumeRawTextWithTagClose(r,t,!1):o===ht.ESCAPABLE_RAW_TEXT&&this._consumeRawTextWithTagClose(r,t,!0)}_consumeRawTextWithTagClose(e,t,r){this._consumeRawText(r,()=>!this._attemptCharCode(60)||!this._attemptCharCode(47)||(this._attemptCharCodeUntilFn(ue),!this._attemptStrCaseInsensitive(e?`${e}:${t}`:t))?!1:(this._attemptCharCodeUntilFn(ue),this._attemptCharCode(62))),this._beginToken(3),this._requireCharCodeUntilFn(n=>n===62,3),this._cursor.advance(),this._endToken([e,t]),this._handleFullNameStackForTagClose(e,t)}_consumeTagOpenStart(e){this._beginToken(0,e);let t=this._consumePrefixAndName();return this._endToken(t)}_consumeAttributeName(){let e=this._cursor.peek();if(e===39||e===34)throw this._createError($r(e),this._cursor.getSpan());this._beginToken(14);let t=this._consumePrefixAndName();return this._endToken(t),t}_consumeAttributeValue(){let e;if(this._cursor.peek()===39||this._cursor.peek()===34){let t=this._cursor.peek();this._consumeQuote(t);let r=u(()=>this._cursor.peek()===t,"n");e=this._consumeWithInterpolation(16,17,r,r),this._consumeQuote(t)}else{let t=u(()=>Uu(this._cursor.peek()),"r");e=this._consumeWithInterpolation(16,17,t,t)}return e}_consumeQuote(e){this._beginToken(15),this._requireCharCode(e),this._endToken([String.fromCodePoint(e)])}_consumeTagOpenEnd(){let e=this._attemptCharCode(47)?2:1;this._beginToken(e),this._requireCharCode(62),this._endToken([])}_consumeTagClose(e){if(this._beginToken(3,e),this._attemptCharCodeUntilFn(ue),this._allowHtmComponentClosingTags&&this._attemptCharCode(47))this._attemptCharCodeUntilFn(ue),this._requireCharCode(62),this._endToken([]);else{let[t,r]=this._consumePrefixAndName();this._attemptCharCodeUntilFn(ue),this._requireCharCode(62),this._endToken([t,r]),this._handleFullNameStackForTagClose(t,r)}}_consumeExpansionFormStart(){this._beginToken(20),this._requireCharCode(123),this._endToken([]),this._expansionCaseStack.push(20),this._beginToken(7);let e=this._readUntil(44),t=this._processCarriageReturns(e);if(this._i18nNormalizeLineEndingsInICUs)this._endToken([t]);else{let n=this._endToken([e]);t!==e&&this.nonNormalizedIcuExpressions.push(n)}this._requireCharCode(44),this._attemptCharCodeUntilFn(ue),this._beginToken(7);let r=this._readUntil(44);this._endToken([r]),this._requireCharCode(44),this._attemptCharCodeUntilFn(ue)}_consumeExpansionCaseStart(){this._beginToken(21);let e=this._readUntil(123).trim();this._endToken([e]),this._attemptCharCodeUntilFn(ue),this._beginToken(22),this._requireCharCode(123),this._endToken([]),this._attemptCharCodeUntilFn(ue),this._expansionCaseStack.push(22)}_consumeExpansionCaseEnd(){this._beginToken(23),this._requireCharCode(125),this._endToken([]),this._attemptCharCodeUntilFn(ue),this._expansionCaseStack.pop()}_consumeExpansionFormEnd(){this._beginToken(24),this._requireCharCode(125),this._endToken([]),this._expansionCaseStack.pop()}_consumeWithInterpolation(e,t,r,n){this._beginToken(e);let a=[];for(;!r();){let i=this._cursor.clone();this._interpolationConfig&&this._attemptStr(this._interpolationConfig.start)?(this._endToken([this._processCarriageReturns(a.join(""))],i),a.length=0,this._consumeInterpolation(t,i,n),this._beginToken(e)):this._cursor.peek()===38?(this._endToken([this._processCarriageReturns(a.join(""))]),a.length=0,this._consumeEntity(e),this._beginToken(e)):a.push(this._readChar())}this._inInterpolation=!1;let o=this._processCarriageReturns(a.join(""));return this._endToken([o]),o}_consumeInterpolation(e,t,r){let n=[];this._beginToken(e,t),n.push(this._interpolationConfig.start);let a=this._cursor.clone(),o=null,i=!1;for(;this._cursor.peek()!==0&&(r===null||!r());){let s=this._cursor.clone();if(this._isTagStart()){this._cursor=s,n.push(this._getProcessedChars(a,s)),this._endToken(n);return}if(o===null)if(this._attemptStr(this._interpolationConfig.end)){n.push(this._getProcessedChars(a,s)),n.push(this._interpolationConfig.end),this._endToken(n);return}else this._attemptStr("//")&&(i=!0);let c=this._cursor.peek();this._cursor.advance(),c===92?this._cursor.advance():c===o?o=null:!i&&o===null&&Ri(c)&&(o=c)}n.push(this._getProcessedChars(a,this._cursor)),this._endToken(n)}_getProcessedChars(e,t){return this._processCarriageReturns(t.getChars(e))}_isTextEnd(){return!!(this._isTagStart()||this._cursor.peek()===0||this._tokenizeIcu&&!this._inInterpolation&&(this.isExpansionFormStart()||this._cursor.peek()===125&&this._isInExpansionCase())||this._tokenizeBlocks&&!this._inInterpolation&&!this._isInExpansion()&&(this._isBlockStart()||this._cursor.peek()===64||this._cursor.peek()===125))}_isTagStart(){if(this._cursor.peek()===60){let e=this._cursor.clone();e.advance();let t=e.peek();if(97<=t&&t<=122||65<=t&&t<=90||t===47||t===33)return!0}return!1}_isBlockStart(){if(this._tokenizeBlocks&&this._cursor.peek()===64){let e=this._cursor.clone();if(e.advance(),qu(e.peek()))return!0}return!1}_readUntil(e){let t=this._cursor.clone();return this._attemptUntilChar(e),this._cursor.getChars(t)}_isInExpansion(){return this._isInExpansionCase()||this._isInExpansionForm()}_isInExpansionCase(){return this._expansionCaseStack.length>0&&this._expansionCaseStack[this._expansionCaseStack.length-1]===22}_isInExpansionForm(){return this._expansionCaseStack.length>0&&this._expansionCaseStack[this._expansionCaseStack.length-1]===20}isExpansionFormStart(){if(this._cursor.peek()!==123)return!1;if(this._interpolationConfig){let e=this._cursor.clone(),t=this._attemptStr(this._interpolationConfig.start);return this._cursor=e,!t}return!0}_handleFullNameStackForTagOpen(e,t){let r=Ua(e,t);(this._fullNameStack.length===0||this._fullNameStack[this._fullNameStack.length-1]===r)&&this._fullNameStack.push(r)}_handleFullNameStackForTagClose(e,t){let r=Ua(e,t);this._fullNameStack.length!==0&&this._fullNameStack[this._fullNameStack.length-1]===r&&this._fullNameStack.pop()}},u(Mc,"$r"),Mc),u(ue,"b"),u(Uu,"Rs"),u(d5,"po"),u(p5,"ho"),u(f5,"mo"),u(h5,"fo"),u(m5,"go"),u(ld,"Os"),u(qu,"$s"),u(Wu,"Ms"),u(rb,"Co"),Oc=(Ga=class{constructor(e,t){if(e instanceof Ga){this.file=e.file,this.input=e.input,this.end=e.end;let r=e.state;this.state={peek:r.peek,offset:r.offset,line:r.line,column:r.column}}else{if(!t)throw new Error("Programming error: the range argument must be provided with a file argument.");this.file=e,this.input=e.content,this.end=t.endPos,this.state={peek:-1,offset:t.startPos,line:t.startLine,column:t.startCol}}}clone(){return new Ga(this)}peek(){return this.state.peek}charsLeft(){return this.end-this.state.offset}diff(e){return this.state.offset-e.state.offset}advance(){this.advanceState(this.state)}init(){this.updatePeek(this.state)}getSpan(e,t){e=e||this;let r=e;if(t)for(;this.diff(e)>0&&t.indexOf(e.peek())!==-1;)r===e&&(e=e.clone()),e.advance();let n=this.locationFromCursor(e),a=this.locationFromCursor(this),o=r!==e?this.locationFromCursor(r):n;return new Y(n,a,o)}getChars(e){return this.input.substring(e.state.offset,this.state.offset)}charAt(e){return this.input.charCodeAt(e)}advanceState(e){if(e.offset>=this.end)throw this.state=e,new Pi('Unexpected character "EOF"',this);let t=this.charAt(e.offset);t===10?(e.line++,e.column=0):Bi(t)||e.column++,e.offset++,this.updatePeek(e)}updatePeek(e){e.peek=e.offset>=this.end?0:this.charAt(e.offset)}locationFromCursor(e){return new Vl(e.file,e.state.offset,e.state.line,e.state.column)}},u(Ga,"t"),Ga),bg=(Ka=class extends Oc{constructor(e,t){e instanceof Ka?(super(e),this.internalState={...e.internalState}):(super(e,t),this.internalState=this.state)}advance(){this.state=this.internalState,super.advance(),this.processEscapeSequence()}init(){super.init(),this.processEscapeSequence()}clone(){return new Ka(this)}getChars(e){let t=e.clone(),r="";for(;t.internalState.offsetthis.internalState.peek,"e");if(e()===92)if(this.internalState={...this.state},this.advanceState(this.internalState),e()===110)this.state.peek=10;else if(e()===114)this.state.peek=13;else if(e()===118)this.state.peek=11;else if(e()===116)this.state.peek=9;else if(e()===98)this.state.peek=8;else if(e()===102)this.state.peek=12;else if(e()===117)if(this.advanceState(this.internalState),e()===123){this.advanceState(this.internalState);let t=this.clone(),r=0;for(;e()!==125;)this.advanceState(this.internalState),r++;this.state.peek=this.decodeHexDigits(t,r)}else{let t=this.clone();this.advanceState(this.internalState),this.advanceState(this.internalState),this.advanceState(this.internalState),this.state.peek=this.decodeHexDigits(t,4)}else if(e()===120){this.advanceState(this.internalState);let t=this.clone();this.advanceState(this.internalState),this.state.peek=this.decodeHexDigits(t,2)}else if(Nu(e())){let t="",r=0,n=this.clone();for(;Nu(e())&&r<3;)n=this.clone(),t+=String.fromCodePoint(e()),this.advanceState(this.internalState),r++;this.state.peek=parseInt(t,8),this.internalState=n.internalState}else Bi(this.internalState.peek)?(this.advanceState(this.internalState),this.state=this.internalState):this.state.peek=this.internalState.peek}decodeHexDigits(e,t){let r=this.input.slice(e.internalState.offset,e.internalState.offset+t),n=parseInt(r,16);if(isNaN(n))throw e.state=e.internalState,new Pi("Invalid hexadecimal escape sequence",e);return n}},u(Ka,"t"),Ka),Pi=(Pc=class{constructor(e,t){this.msg=e,this.cursor=t}},u(Pc,"gt"),Pc),Fe=(Ni=class extends lc{static create(e,t,r){return new Ni(e,t,r)}constructor(e,t,r){super(t,r),this.elementName=e}},u(Ni,"t"),Ni),wg=(Nc=class{constructor(e,t){this.rootNodes=e,this.errors=t}},u(Nc,"Vr"),Nc),Dg=(Hc=class{constructor(e){this.getTagDefinition=e}parse(e,t,r,n=!1,a){let o=u(h=>(g,...y)=>h(g.toLowerCase(),...y),"a"),i=n?this.getTagDefinition:o(this.getTagDefinition),s=u(h=>i(h).getContentType(),"u"),c=n?a:o(a),d=u5(e,t,a?(h,g,y,b)=>{let C=c(h,g,y,b);return C!==void 0?C:s(h)}:s,r),f=r&&r.canSelfClose||!1,m=r&&r.allowHtmComponentClosingTags||!1,p=new Eg(d.tokens,i,f,m,n);return p.build(),new wg(p.rootNodes,d.errors.concat(p.errors))}},u(Hc,"tr"),Hc),Eg=(Hi=class{constructor(e,t,r,n,a){this.tokens=e,this.getTagDefinition=t,this.canSelfClose=r,this.allowHtmComponentClosingTags=n,this.isTagNameCaseSensitive=a,this._index=-1,this._containerStack=[],this.rootNodes=[],this.errors=[],this._advance()}build(){for(;this._peek.type!==34;)this._peek.type===0||this._peek.type===4?this._consumeStartTag(this._advance()):this._peek.type===3?(this._closeVoidElement(),this._consumeEndTag(this._advance())):this._peek.type===12?(this._closeVoidElement(),this._consumeCdata(this._advance())):this._peek.type===10?(this._closeVoidElement(),this._consumeComment(this._advance())):this._peek.type===5||this._peek.type===7||this._peek.type===6?(this._closeVoidElement(),this._consumeText(this._advance())):this._peek.type===20?this._consumeExpansion(this._advance()):this._peek.type===25?(this._closeVoidElement(),this._consumeBlockOpen(this._advance())):this._peek.type===27?(this._closeVoidElement(),this._consumeBlockClose(this._advance())):this._peek.type===29?(this._closeVoidElement(),this._consumeIncompleteBlock(this._advance())):this._peek.type===30?(this._closeVoidElement(),this._consumeLet(this._advance())):this._peek.type===18?this._consumeDocType(this._advance()):this._peek.type===33?(this._closeVoidElement(),this._consumeIncompleteLet(this._advance())):this._advance();for(let e of this._containerStack)e instanceof Vr&&this.errors.push(Fe.create(e.name,e.sourceSpan,`Unclosed block "${e.name}"`))}_advance(){let e=this._peek;return this._index0)return this.errors=this.errors.concat(a.errors),null;let o=new Y(e.sourceSpan.start,n.sourceSpan.end,e.sourceSpan.fullStart),i=new Y(t.sourceSpan.start,n.sourceSpan.end,t.sourceSpan.fullStart);return new pg(e.parts[0],a.rootNodes,o,e.sourceSpan,i)}_collectExpansionExpTokens(e){let t=[],r=[22];for(;;){if((this._peek.type===20||this._peek.type===22)&&r.push(this._peek.type),this._peek.type===23)if(Gu(r,22)){if(r.pop(),r.length===0)return t}else return this.errors.push(Fe.create(null,e.sourceSpan,"Invalid ICU message. Missing '}'.")),null;if(this._peek.type===24)if(Gu(r,20))r.pop();else return this.errors.push(Fe.create(null,e.sourceSpan,"Invalid ICU message. Missing '}'.")),null;if(this._peek.type===34)return this.errors.push(Fe.create(null,e.sourceSpan,"Invalid ICU message. Missing '}'.")),null;t.push(this._advance())}}_getText(e){let t=e.parts[0];if(t.length>0&&t[0]==` -`){let r=this._getClosestParentElement();r!=null&&r.children.length==0&&this.getTagDefinition(r.name).ignoreFirstLf&&(t=t.substring(1))}return t}_consumeText(e){let t=[e],r=e.sourceSpan,n=e.parts[0];if(n.length>0&&n[0]===` -`){let a=this._getContainer();a!=null&&a.children.length===0&&this.getTagDefinition(a.name).ignoreFirstLf&&(n=n.substring(1),t[0]={type:e.type,sourceSpan:e.sourceSpan,parts:[n]})}for(;this._peek.type===8||this._peek.type===5||this._peek.type===9;)e=this._advance(),t.push(e),e.type===8?n+=e.parts.join("").replace(/&([^;]+);/g,Ku):e.type===9?n+=e.parts[0]:n+=e.parts.join("");if(n.length>0){let a=e.sourceSpan;this._addToParent(new ug(n,new Y(r.start,a.end,r.fullStart,r.details),t))}}_closeVoidElement(){let e=this._getContainer();e instanceof nr&&this.getTagDefinition(e.name).isVoid&&this._containerStack.pop()}_consumeStartTag(e){let[t,r]=e.parts,n=[];for(;this._peek.type===14;)n.push(this._consumeAttr(this._advance()));let a=this._getElementFullName(t,r,this._getClosestParentElement()),o=!1;if(this._peek.type===2){this._advance(),o=!0;let p=this.getTagDefinition(a);this.canSelfClose||p.canSelfClose||co(a)!==null||p.isVoid||this.errors.push(Fe.create(a,e.sourceSpan,`Only void, custom and foreign elements can be self closed "${e.parts[1]}"`))}else this._peek.type===1&&(this._advance(),o=!1);let i=this._peek.sourceSpan.fullStart,s=new Y(e.sourceSpan.start,i,e.sourceSpan.fullStart),c=new Y(e.sourceSpan.start,i,e.sourceSpan.fullStart),d=new Y(e.sourceSpan.start.moveBy(1),e.sourceSpan.end),f=new nr(a,n,[],s,c,void 0,d),m=this._getContainer();this._pushContainer(f,m instanceof nr&&this.getTagDefinition(m.name).isClosedByChild(f.name)),o?this._popContainer(a,nr,s):e.type===4&&(this._popContainer(a,nr,null),this.errors.push(Fe.create(a,s,`Opening tag "${a}" not terminated.`)))}_pushContainer(e,t){t&&this._containerStack.pop(),this._addToParent(e),this._containerStack.push(e)}_consumeEndTag(e){let t=this.allowHtmComponentClosingTags&&e.parts.length===0?null:this._getElementFullName(e.parts[0],e.parts[1],this._getClosestParentElement());if(t&&this.getTagDefinition(t).isVoid)this.errors.push(Fe.create(t,e.sourceSpan,`Void elements do not have end tags "${e.parts[1]}"`));else if(!this._popContainer(t,nr,e.sourceSpan)){let r=`Unexpected closing tag "${t}". It may happen when the tag has already been closed by another tag. For more info see https://www.w3.org/TR/html5/syntax.html#closing-elements-that-have-implied-end-tags`;this.errors.push(Fe.create(t,e.sourceSpan,r))}}_popContainer(e,t,r){let n=!1;for(let a=this._containerStack.length-1;a>=0;a--){let o=this._containerStack[a];if(co(o.name)?o.name===e:(e==null||o.name.toLowerCase()===e.toLowerCase())&&o instanceof t)return o.endSourceSpan=r,o.sourceSpan.end=r!==null?r.end:o.sourceSpan.end,this._containerStack.splice(a,this._containerStack.length-a),!n;(o instanceof Vr||o instanceof nr&&!this.getTagDefinition(o.name).closedByParent)&&(n=!0)}return!1}_consumeAttr(e){let t=Ua(e.parts[0],e.parts[1]),r=e.sourceSpan.end,n;this._peek.type===15&&(n=this._advance());let a="",o=[],i,s;if(this._peek.type===16)for(i=this._peek.sourceSpan,s=this._peek.sourceSpan.end;this._peek.type===16||this._peek.type===17||this._peek.type===9;){let d=this._advance();o.push(d),d.type===17?a+=d.parts.join("").replace(/&([^;]+);/g,Ku):d.type===9?a+=d.parts[0]:a+=d.parts.join(""),s=r=d.sourceSpan.end}this._peek.type===15&&(s=r=this._advance().sourceSpan.end);let c=i&&s&&new Y((n==null?void 0:n.sourceSpan.start)??i.start,s,(n==null?void 0:n.sourceSpan.fullStart)??i.fullStart);return new fg(t,a,new Y(e.sourceSpan.start,r,e.sourceSpan.fullStart),e.sourceSpan,c,o.length>0?o:void 0,void 0)}_consumeBlockOpen(e){let t=[];for(;this._peek.type===28;){let i=this._advance();t.push(new kc(i.parts[0],i.sourceSpan))}this._peek.type===26&&this._advance();let r=this._peek.sourceSpan.fullStart,n=new Y(e.sourceSpan.start,r,e.sourceSpan.fullStart),a=new Y(e.sourceSpan.start,r,e.sourceSpan.fullStart),o=new Vr(e.parts[0],t,[],n,e.sourceSpan,a);this._pushContainer(o,!1)}_consumeBlockClose(e){this._popContainer(null,Vr,e.sourceSpan)||this.errors.push(Fe.create(null,e.sourceSpan,'Unexpected closing block. The block may have been closed earlier. If you meant to write the } character, you should use the "}" HTML entity instead.'))}_consumeIncompleteBlock(e){let t=[];for(;this._peek.type===28;){let i=this._advance();t.push(new kc(i.parts[0],i.sourceSpan))}let r=this._peek.sourceSpan.fullStart,n=new Y(e.sourceSpan.start,r,e.sourceSpan.fullStart),a=new Y(e.sourceSpan.start,r,e.sourceSpan.fullStart),o=new Vr(e.parts[0],t,[],n,e.sourceSpan,a);this._pushContainer(o,!1),this._popContainer(null,Vr,null),this.errors.push(Fe.create(e.parts[0],n,`Incomplete block "${e.parts[0]}". If you meant to write the @ character, you should use the "@" HTML entity instead.`))}_consumeLet(e){let t=e.parts[0],r,n;if(this._peek.type!==31){this.errors.push(Fe.create(e.parts[0],e.sourceSpan,`Invalid @let declaration "${t}". Declaration must have a value.`));return}else r=this._advance();if(this._peek.type!==32){this.errors.push(Fe.create(e.parts[0],e.sourceSpan,`Unterminated @let declaration "${t}". Declaration must be terminated with a semicolon.`));return}else n=this._advance();let a=n.sourceSpan.fullStart,o=new Y(e.sourceSpan.start,a,e.sourceSpan.fullStart),i=e.sourceSpan.toString().lastIndexOf(t),s=e.sourceSpan.start.moveBy(i),c=new Y(s,e.sourceSpan.end),d=new Bc(t,r.parts[0],o,c,r.sourceSpan);this._addToParent(d)}_consumeIncompleteLet(e){let t=e.parts[0]??"",r=t?` "${t}"`:"";if(t.length>0){let n=e.sourceSpan.toString().lastIndexOf(t),a=e.sourceSpan.start.moveBy(n),o=new Y(a,e.sourceSpan.end),i=new Y(e.sourceSpan.start,e.sourceSpan.start.moveBy(0)),s=new Bc(t,"",e.sourceSpan,o,i);this._addToParent(s)}this.errors.push(Fe.create(e.parts[0],e.sourceSpan,`Incomplete @let declaration${r}. @let declarations must be written as \`@let = ;\``))}_getContainer(){return this._containerStack.length>0?this._containerStack[this._containerStack.length-1]:null}_getClosestParentElement(){for(let e=this._containerStack.length-1;e>-1;e--)if(this._containerStack[e]instanceof nr)return this._containerStack[e];return null}_addToParent(e){let t=this._getContainer();t===null?this.rootNodes.push(e):t.children.push(e)}_getElementFullName(e,t,r){if(e===""&&(e=this.getTagDefinition(t).implicitNamespacePrefix||"",e===""&&r!=null)){let n=Lo(r.name)[1];this.getTagDefinition(n).preventNamespaceInheritance||(e=co(r.name))}return Ua(e,t)}},u(Hi,"t"),Hi),u(Gu,"Ws"),u(Ku,"zs"),Cg=($c=class extends Dg{constructor(){super(Ml)}parse(e,t,r,n=!1,a){return super.parse(e,t,r,n,a)}},u($c,"rr"),$c),$i=null,Kb=u(()=>($i||($i=new Cg),$i),"So"),u(sd,"zr"),u(g5,"_o"),Yb=g5,Vn=3,u(nb,"Eo"),u(v5,"Ao"),Jb=v5,Ya={attrs:!0,children:!0,cases:!0,expression:!0},jc=new Set(["parent"]),Zb=(Ur=class{constructor(e={}){for(let t of new Set([...jc,...Object.keys(e)]))this.setProperty(t,e[t])}setProperty(e,t){if(this[e]!==t){if(e in Ya&&(t=t.map(r=>this.createChild(r))),!jc.has(e)){this[e]=t;return}Object.defineProperty(this,e,{value:t,enumerable:!1,configurable:!0})}}map(e){let t;for(let r in Ya){let n=this[r];if(n){let a=y5(n,o=>o.map(e));t!==n&&(t||(t=new Ur({parent:this.parent})),t.setProperty(r,a))}}if(t)for(let r in this)r in Ya||(t[r]=this[r]);return e(t||this)}walk(e){for(let t in Ya){let r=this[t];if(r)for(let n=0;n[e.fullName,e.value]))}},u(Ur,"t"),Ur),u(y5,"Do"),Xb=[{regex:/^(\[if([^\]]*)\]>)(.*?)a==="lang"&&o!=="html"&&o!==""&&o!==void 0))}}),Ag=qa({name:"lwc",canSelfClose:!1}),kg={html:G5},ew=Xu});function ct(){}function Vc(e,t,r,n,a){for(var o=[],i;t;)o.push(t),i=t.previousComponent,delete t.previousComponent,t=i;o.reverse();for(var s=0,c=o.length,d=0,f=0;sh.length?y:h}),m.value=e.join(p)}else m.value=e.join(r.slice(d,d+m.count));d+=m.count,m.added||(f+=m.count)}}return o}function wd(e,t){var r;for(r=0;rt.length&&(r=e.length-t.length);var n=t.length;e.length0&&t[i]!=t[o];)o=a[o];t[i]==t[o]&&o++}o=0;for(var s=r;s0&&e[s]!=t[o];)o=a[o];e[s]==t[o]&&o++}return o}function Uc(e,t,r,n){if(t&&r){var a=t.value.match(/^\s*/)[0],o=t.value.match(/\s*$/)[0],i=r.value.match(/^\s*/)[0],s=r.value.match(/\s*$/)[0];if(e){var c=wd(a,i);e.value=ql(e.value,i,c),t.value=Un(t.value,c),r.value=Un(r.value,c)}if(n){var d=Dd(o,s);n.value=Ul(n.value,s,d),t.value=ho(t.value,d),r.value=ho(r.value,d)}}else if(r)e&&(r.value=r.value.replace(/^\s*/,"")),n&&(n.value=n.value.replace(/^\s*/,""));else if(e&&n){var f=n.value.match(/^\s*/)[0],m=t.value.match(/^\s*/)[0],p=t.value.match(/\s*$/)[0],h=wd(f,m);t.value=Un(t.value,h);var g=Dd(Un(f,h),p);t.value=ho(t.value,g),n.value=Ul(n.value,f,g),e.value=ql(e.value,f,f.slice(0,f.length-g.length))}else if(n){var y=n.value.match(/^\s*/)[0],b=t.value.match(/\s*$/)[0],C=Ed(b,y);t.value=ho(t.value,C)}else if(e){var E=e.value.match(/\s*$/)[0],D=t.value.match(/^\s*/)[0],w=Ed(E,D);t.value=Un(t.value,w)}}function Wl(e){"@babel/helpers - typeof";return Wl=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Wl(e)}function Gl(e,t,r,n,a){t=t||[],r=r||[],n&&(e=n(a,e));var o;for(o=0;o`'${a}'`));return`Unexpected doc.type '${e.type}'. -Expected it to be ${n}.`}function Rg(e,t,r,n){let a=[e];for(;a.length>0;){let o=a.pop();if(o===Vd){r(a.pop());continue}r&&a.push(o,Vd);let i=zr(o);if(!i)throw new pn(o);if((t==null?void 0:t(o))!==!1)switch(i){case Gt:case bt:{let s=i===Gt?o:o.parts;for(let c=s.length,d=c-1;d>=0;--d)a.push(s[d]);break}case Ve:a.push(o.flatContents,o.breakContents);break;case He:if(n&&o.expandedStates)for(let s=o.expandedStates.length,c=s-1;c>=0;--c)a.push(o.expandedStates[c]);else a.push(o.contents);break;case Yt:case Kt:case Jt:case wt:case Zt:a.push(o.contents);break;case Ir:case Dr:case Vt:case Ut:case De:case Je:break;default:throw new pn(o)}}}function Oo(e){return Dt(e),{type:Kt,contents:e}}function dn(e,t){return Dt(t),{type:Yt,contents:t,n:e}}function Cd(e,t={}){return Dt(e),Vs(t.expandedStates,!0),{type:He,id:t.id,contents:e,break:!!t.shouldBreak,expandedStates:t.expandedStates}}function Ig(e){return dn(Number.NEGATIVE_INFINITY,e)}function zg(e){return dn({type:"root"},e)}function Tg(e){return dn(-1,e)}function Lg(e,t){return Cd(e[0],{...t,expandedStates:e})}function Mg(e){return Vs(e),{type:bt,parts:e}}function Og(e,t="",r={}){return Dt(e),t!==""&&Dt(t),{type:Ve,breakContents:e,flatContents:t,groupId:r.groupId}}function Pg(e,t){return Dt(e),{type:Jt,contents:e,groupId:t.groupId,negate:t.negate}}function Kl(e){return Dt(e),{type:Zt,contents:e}}function xd(e,t){Dt(e),Vs(t);let r=[];for(let n=0;n0){for(let a=0;a0?`, { ${f.join(", ")} }`:"";return`indentIfBreak(${n(o.contents)}${m})`}if(o.type===He){let f=[];o.break&&o.break!=="propagated"&&f.push("shouldBreak: true"),o.id&&f.push(`id: ${a(o.id)}`);let m=f.length>0?`, { ${f.join(", ")} }`:"";return o.expandedStates?`conditionalGroup([${o.expandedStates.map(p=>n(p)).join(",")}]${m})`:`group(${n(o.contents)}${m})`}if(o.type===bt)return`fill([${o.parts.map(f=>n(f)).join(", ")}])`;if(o.type===Zt)return"lineSuffix("+n(o.contents)+")";if(o.type===Ut)return"lineSuffixBoundary";if(o.type===wt)return`label(${JSON.stringify(o.label)}, ${n(o.contents)})`;throw new Error("Unknown doc type "+o.type)}function a(o){if(typeof o!="symbol")return JSON.stringify(String(o));if(o in t)return t[o];let i=o.description||"symbol";for(let s=0;;s++){let c=i+(s>0?` #${s}`:"");if(!r.has(c))return r.add(c),t[o]=`Symbol.for(${JSON.stringify(c)})`}}}function Hg(e){return e===12288||e>=65281&&e<=65376||e>=65504&&e<=65510}function $g(e){return e>=4352&&e<=4447||e===8986||e===8987||e===9001||e===9002||e>=9193&&e<=9196||e===9200||e===9203||e===9725||e===9726||e===9748||e===9749||e>=9776&&e<=9783||e>=9800&&e<=9811||e===9855||e>=9866&&e<=9871||e===9875||e===9889||e===9898||e===9899||e===9917||e===9918||e===9924||e===9925||e===9934||e===9940||e===9962||e===9970||e===9971||e===9973||e===9978||e===9981||e===9989||e===9994||e===9995||e===10024||e===10060||e===10062||e>=10067&&e<=10069||e===10071||e>=10133&&e<=10135||e===10160||e===10175||e===11035||e===11036||e===11088||e===11093||e>=11904&&e<=11929||e>=11931&&e<=12019||e>=12032&&e<=12245||e>=12272&&e<=12287||e>=12289&&e<=12350||e>=12353&&e<=12438||e>=12441&&e<=12543||e>=12549&&e<=12591||e>=12593&&e<=12686||e>=12688&&e<=12773||e>=12783&&e<=12830||e>=12832&&e<=12871||e>=12880&&e<=42124||e>=42128&&e<=42182||e>=43360&&e<=43388||e>=44032&&e<=55203||e>=63744&&e<=64255||e>=65040&&e<=65049||e>=65072&&e<=65106||e>=65108&&e<=65126||e>=65128&&e<=65131||e>=94176&&e<=94180||e===94192||e===94193||e>=94208&&e<=100343||e>=100352&&e<=101589||e>=101631&&e<=101640||e>=110576&&e<=110579||e>=110581&&e<=110587||e===110589||e===110590||e>=110592&&e<=110882||e===110898||e>=110928&&e<=110930||e===110933||e>=110948&&e<=110951||e>=110960&&e<=111355||e>=119552&&e<=119638||e>=119648&&e<=119670||e===126980||e===127183||e===127374||e>=127377&&e<=127386||e>=127488&&e<=127490||e>=127504&&e<=127547||e>=127552&&e<=127560||e===127568||e===127569||e>=127584&&e<=127589||e>=127744&&e<=127776||e>=127789&&e<=127797||e>=127799&&e<=127868||e>=127870&&e<=127891||e>=127904&&e<=127946||e>=127951&&e<=127955||e>=127968&&e<=127984||e===127988||e>=127992&&e<=128062||e===128064||e>=128066&&e<=128252||e>=128255&&e<=128317||e>=128331&&e<=128334||e>=128336&&e<=128359||e===128378||e===128405||e===128406||e===128420||e>=128507&&e<=128591||e>=128640&&e<=128709||e===128716||e>=128720&&e<=128722||e>=128725&&e<=128727||e>=128732&&e<=128735||e===128747||e===128748||e>=128756&&e<=128764||e>=128992&&e<=129003||e===129008||e>=129292&&e<=129338||e>=129340&&e<=129349||e>=129351&&e<=129535||e>=129648&&e<=129660||e>=129664&&e<=129673||e>=129679&&e<=129734||e>=129742&&e<=129756||e>=129759&&e<=129769||e>=129776&&e<=129784||e>=131072&&e<=196605||e>=196608&&e<=262141}function jg(e){if(!e)return 0;if(!Yw.test(e))return e.length;e=e.replace(Gw()," ");let t=0;for(let r of e){let n=r.codePointAt(0);n<=31||n>=127&&n<=159||n>=768&&n<=879||(t+=Kw(n)?1:2)}return t}function Po(e,t){if(typeof e=="string")return t(e);let r=new Map;return n(e);function n(o){if(r.has(o))return r.get(o);let i=a(o);return r.set(o,i),i}function a(o){switch(zr(o)){case Gt:return t(o.map(n));case bt:return t({...o,parts:o.parts.map(n)});case Ve:return t({...o,breakContents:n(o.breakContents),flatContents:n(o.flatContents)});case He:{let{expandedStates:i,contents:s}=o;return i?(i=i.map(n),s=i[0]):s=n(s),t({...o,contents:s,expandedStates:i})}case Yt:case Kt:case Jt:case wt:case Zt:return t({...o,contents:n(o.contents)});case Ir:case Dr:case Vt:case Ut:case De:case Je:return t(o);default:throw new pn(o)}}}function Yl(e,t,r){let n=r,a=!1;function o(i){if(a)return!1;let s=t(i);s!==void 0&&(a=!0,n=s)}return u(o,"i"),Ql(e,o),n}function iw(e){if(e.type===He&&e.break||e.type===De&&e.hard||e.type===Je)return!0}function Vg(e){return Yl(e,iw,!1)}function Fd(e){if(e.length>0){let t=ge(!1,e,-1);!t.expandedStates&&!t.break&&(t.break="propagated")}return null}function lw(e){let t=new Set,r=[];function n(o){if(o.type===Je&&Fd(r),o.type===He){if(r.push(o),t.has(o))return!1;t.add(o)}}u(n,"n");function a(o){o.type===He&&r.pop().break&&Fd(r)}u(a,"u"),Ql(e,n,a,!0)}function sw(e){return e.type===De&&!e.hard?e.soft?"":" ":e.type===Ve?e.flatContents:e}function Ug(e){return Po(e,sw)}function Ad(e){for(e=[...e];e.length>=2&&ge(!1,e,-2).type===De&&ge(!1,e,-1).type===Je;)e.length-=2;if(e.length>0){let t=Qn(ge(!1,e,-1));e[e.length-1]=t}return e}function Qn(e){switch(zr(e)){case Kt:case Jt:case He:case Zt:case wt:{let t=Qn(e.contents);return{...e,contents:t}}case Ve:return{...e,breakContents:Qn(e.breakContents),flatContents:Qn(e.flatContents)};case bt:return{...e,parts:Ad(e.parts)};case Gt:return Ad(e);case Ir:return e.replace(/[\n\r]*$/u,"");case Yt:case Dr:case Vt:case Ut:case De:case Je:break;default:throw new pn(e)}return e}function kd(e){return Qn(cw(e))}function uw(e){switch(zr(e)){case bt:if(e.parts.every(t=>t===""))return"";break;case He:if(!e.contents&&!e.id&&!e.break&&!e.expandedStates)return"";if(e.contents.type===He&&e.contents.id===e.id&&e.contents.break===e.break&&e.contents.expandedStates===e.expandedStates)return e.contents;break;case Yt:case Kt:case Jt:case Zt:if(!e.contents)return"";break;case Ve:if(!e.flatContents&&!e.breakContents)return"";break;case Gt:{let t=[];for(let r of e){if(!r)continue;let[n,...a]=Array.isArray(r)?r:[r];typeof n=="string"&&typeof ge(!1,t,-1)=="string"?t[t.length-1]+=n:t.push(n),t.push(...a)}return t.length===0?"":t.length===1?t[0]:t}case Ir:case Dr:case Vt:case Ut:case De:case wt:case Je:break;default:throw new pn(e)}return e}function cw(e){return Po(e,t=>uw(t))}function qg(e,t=qd){return Po(e,r=>typeof r=="string"?xd(t,r.split(` -`)):r)}function dw(e){if(e.type===De)return!0}function Wg(e){return Yl(e,dw,!1)}function Bo(e,t){return e.type===wt?{...e,contents:t(e.contents)}:t(e)}function sf(){return{value:"",length:0,queue:[]}}function pw(e,t){return Jl(e,{type:"indent"},t)}function fw(e,t,r){return t===Number.NEGATIVE_INFINITY?e.root||sf():t<0?Jl(e,{type:"dedent"},r):t?t.type==="root"?{...e,root:e}:Jl(e,{type:typeof t=="string"?"stringAlign":"numberAlign",n:t},r):e}function Jl(e,t,r){let n=t.type==="dedent"?e.queue.slice(0,-1):[...e.queue,t],a="",o=0,i=0,s=0;for(let g of n)switch(g.type){case"indent":f(),r.useTabs?c(1):d(r.tabWidth);break;case"stringAlign":f(),a+=g.n,o+=g.n.length;break;case"numberAlign":i+=1,s+=g.n;break;default:throw new Error(`Unexpected type '${g.type}'`)}return p(),{...e,value:a,length:o,queue:n};function c(g){a+=" ".repeat(g),o+=r.tabWidth*g}function d(g){a+=" ".repeat(g),o+=g}function f(){r.useTabs?m():p()}function m(){i>0&&c(i),h()}function p(){s>0&&d(s),h()}function h(){i=0,s=0}}function Zl(e){let t=0,r=0,n=e.length;e:for(;n--;){let a=e[n];if(a===rn){r++;continue}for(let o=a.length-1;o>=0;o--){let i=a[o];if(i===" "||i===" ")t++;else{e[n]=a.slice(0,o+1);break e}}}if(t>0||r>0)for(e.length=n+1;r-- >0;)e.push(rn);return t}function mo(e,t,r,n,a,o){if(r===Number.POSITIVE_INFINITY)return!0;let i=t.length,s=[e],c=[];for(;r>=0;){if(s.length===0){if(i===0)return!0;s.push(t[--i]);continue}let{mode:d,doc:f}=s.pop(),m=zr(f);switch(m){case Ir:c.push(f),r-=es(f);break;case Gt:case bt:{let p=m===Gt?f:f.parts,h=f[ts]??0;for(let g=p.length-1;g>=h;g--)s.push({mode:d,doc:p[g]});break}case Kt:case Yt:case Jt:case wt:s.push({mode:d,doc:f.contents});break;case Vt:r+=Zl(c);break;case He:{if(o&&f.break)return!1;let p=f.break?ze:d,h=f.expandedStates&&p===ze?ge(!1,f.expandedStates,-1):f.contents;s.push({mode:p,doc:h});break}case Ve:{let p=(f.groupId?a[f.groupId]||dt:d)===ze?f.breakContents:f.flatContents;p&&s.push({mode:d,doc:p});break}case De:if(d===ze||f.hard)return!0;f.soft||(c.push(" "),r--);break;case Zt:n=!0;break;case Ut:if(n)return!1;break}}return!1}function No(e,t){let r={},n=t.printWidth,a=Hs(t.endOfLine),o=0,i=[{ind:sf(),mode:ze,doc:e}],s=[],c=!1,d=[],f=0;for(lw(e);i.length>0;){let{ind:p,mode:h,doc:g}=i.pop();switch(zr(g)){case Ir:{let y=a!==` -`?ui(!1,g,` -`,a):g;s.push(y),i.length>0&&(o+=es(y));break}case Gt:for(let y=g.length-1;y>=0;y--)i.push({ind:p,mode:h,doc:g[y]});break;case Dr:if(f>=2)throw new Error("There are too many 'cursor' in doc.");s.push(rn),f++;break;case Kt:i.push({ind:pw(p,t),mode:h,doc:g.contents});break;case Yt:i.push({ind:fw(p,g.n,t),mode:h,doc:g.contents});break;case Vt:o-=Zl(s);break;case He:switch(h){case dt:if(!c){i.push({ind:p,mode:g.break?ze:dt,doc:g.contents});break}case ze:{c=!1;let y={ind:p,mode:dt,doc:g.contents},b=n-o,C=d.length>0;if(!g.break&&mo(y,i,b,C,r))i.push(y);else if(g.expandedStates){let E=ge(!1,g.expandedStates,-1);if(g.break){i.push({ind:p,mode:ze,doc:E});break}else for(let D=1;D=g.expandedStates.length){i.push({ind:p,mode:ze,doc:E});break}else{let w=g.expandedStates[D],x={ind:p,mode:dt,doc:w};if(mo(x,i,b,C,r)){i.push(x);break}}}else i.push({ind:p,mode:ze,doc:g.contents});break}}g.id&&(r[g.id]=ge(!1,i,-1).mode);break;case bt:{let y=n-o,b=g[ts]??0,{parts:C}=g,E=C.length-b;if(E===0)break;let D=C[b+0],w=C[b+1],x={ind:p,mode:dt,doc:D},S={ind:p,mode:ze,doc:D},F=mo(x,[],y,d.length>0,r,!0);if(E===1){F?i.push(x):i.push(S);break}let A={ind:p,mode:dt,doc:w},_={ind:p,mode:ze,doc:w};if(E===2){F?i.push(A,x):i.push(_,S);break}let R=C[b+2],I={ind:p,mode:h,doc:{...g,[ts]:b+2}};mo({ind:p,mode:dt,doc:[D,w,R]},[],y,d.length>0,r,!0)?i.push(I,A,x):F?i.push(I,_,x):i.push(I,_,S);break}case Ve:case Jt:{let y=g.groupId?r[g.groupId]:h;if(y===ze){let b=g.type===Ve?g.breakContents:g.negate?g.contents:Oo(g.contents);b&&i.push({ind:p,mode:h,doc:b})}if(y===dt){let b=g.type===Ve?g.flatContents:g.negate?Oo(g.contents):g.contents;b&&i.push({ind:p,mode:h,doc:b})}break}case Zt:d.push({ind:p,mode:h,doc:g.contents});break;case Ut:d.length>0&&i.push({ind:p,mode:h,doc:pl});break;case De:switch(h){case dt:if(g.hard)c=!0;else{g.soft||(s.push(" "),o+=1);break}case ze:if(d.length>0){i.push({ind:p,mode:h,doc:g},...d.reverse()),d.length=0;break}g.literal?p.root?(s.push(a,p.root.value),o=p.root.length):(s.push(a),o=0):(o-=Zl(s),s.push(a+p.value),o=p.length);break}break;case wt:i.push({ind:p,mode:h,doc:g.contents});break;case Je:break;default:throw new pn(g)}i.length===0&&d.length>0&&(i.push(...d.reverse()),d.length=0)}let m=s.indexOf(rn);if(m!==-1){let p=s.indexOf(rn,m+1);if(p===-1)return{formatted:s.filter(b=>b!==rn).join("")};let h=s.slice(0,m).join(""),g=s.slice(m+1,p).join(""),y=s.slice(p+1).join("");return{formatted:h+g+y,cursorNodeStart:h.length,cursorNodeText:g}}return{formatted:s.join("")}}function Gg(e,t,r=0){let n=0;for(let a=r;a!0,"n")}=t,a=u(o=>Zw(o)&&n(o),"u");for(let o of r(e)){let i=e[o];if(Array.isArray(i))for(let s of i)a(s)&&(yield s);else a(i)&&(yield i)}}function*hw(e,t){let r=[e];for(let n=0;n{let a=!!(n!=null&&n.backwards);if(r===!1)return!1;let{length:o}=t,i=r;for(;i>=0&&i0}function Xg(e){return e?t=>e(t,Kd):Qw}function gw(e){let t=e.type||e.kind||"(unknown type)",r=String(e.name||e.id&&(typeof e.id=="object"?e.id.name:e.id)||e.key&&(typeof e.key=="object"?e.key.name:e.key)||e.value&&(typeof e.value=="object"?"":String(e.value))||e.operator||"");return r.length>20&&(r=r.slice(0,19)+"…"),t+(r?" "+r:"")}function $s(e,t){(e.comments??(e.comments=[])).push(t),t.printed=!1,t.nodeDescription=gw(e)}function en(e,t){t.leading=!0,t.trailing=!1,$s(e,t)}function Ro(e,t,r){t.leading=!1,t.trailing=!1,r&&(t.marker=r),$s(e,t)}function tn(e,t){t.leading=!1,t.trailing=!0,$s(e,t)}function js(e,t){if(fl.has(e))return fl.get(e);let{printer:{getCommentChildNodes:r,canAttachComment:n,getVisitorKeys:a},locStart:o,locEnd:i}=t;if(!n)return[];let s=((r==null?void 0:r(e,t))??[...li(e,{getVisitorKeys:ci(a)})]).flatMap(c=>n(c)?[c]:js(c,t));return s.sort((c,d)=>o(c)-o(d)||i(c)-i(d)),fl.set(e,s),s}function uf(e,t,r,n){let{locStart:a,locEnd:o}=r,i=a(t),s=o(t),c=js(e,r),d,f,m=0,p=c.length;for(;m>1,g=c[h],y=a(g),b=o(g);if(y<=i&&s<=b)return uf(g,t,r,g);if(b<=i){d=g,m=h+1;continue}if(s<=y){f=g,p=h;continue}throw new Error("Comment location overlaps with node location")}if((n==null?void 0:n.type)==="TemplateLiteral"){let{quasis:h}=n,g=ul(h,t,r);d&&ul(h,d,r)!==g&&(d=null),f&&ul(h,f,r)!==g&&(f=null)}return{enclosingNode:n,precedingNode:d,followingNode:f}}function vw(e,t){let{comments:r}=e;if(delete e.comments,!Xw(r)||!t.printer.canAttachComment)return;let n=[],{locStart:a,locEnd:o,printer:{experimentalFeatures:{avoidAstMutation:i=!1}={},handleComments:s={}},originalText:c}=t,{ownLine:d=hl,endOfLine:f=hl,remaining:m=hl}=s,p=r.map((h,g)=>({...uf(e,h,t),comment:h,text:c,options:t,ast:e,isLastComment:r.length-1===g}));for(let[h,g]of p.entries()){let{comment:y,precedingNode:b,enclosingNode:C,followingNode:E,text:D,options:w,ast:x,isLastComment:S}=g;if(w.parser==="json"||w.parser==="json5"||w.parser==="jsonc"||w.parser==="__js_expression"||w.parser==="__ts_expression"||w.parser==="__vue_expression"||w.parser==="__vue_ts_expression"){if(a(y)-a(x)<=0){en(x,y);continue}if(o(y)-o(x)>=0){tn(x,y);continue}}let F;if(i?F=[g]:(y.enclosingNode=C,y.precedingNode=b,y.followingNode=E,F=[y,D,w,x,S]),yw(D,w,p,h))y.placement="ownLine",d(...F)||(E?en(E,y):b?tn(b,y):Ro(C||x,y));else if(bw(D,w,p,h))y.placement="endOfLine",f(...F)||(b?tn(b,y):E?en(E,y):Ro(C||x,y));else if(y.placement="remaining",!m(...F))if(b&&E){let A=n.length;A>0&&n[A-1].followingNode!==E&&_d(n,w),n.push(g)}else b?tn(b,y):E?en(E,y):Ro(C||x,y)}if(_d(n,t),!i)for(let h of r)delete h.precedingNode,delete h.enclosingNode,delete h.followingNode}function yw(e,t,r,n){let{comment:a,precedingNode:o}=r[n],{locStart:i,locEnd:s}=t,c=i(a);if(o)for(let d=n-1;d>=0;d--){let{comment:f,precedingNode:m}=r[d];if(m!==o||!yf(e.slice(s(f),c)))break;c=i(f)}return ur(e,c,{backwards:!0})}function bw(e,t,r,n){let{comment:a,followingNode:o}=r[n],{locStart:i,locEnd:s}=t,c=s(a);if(o)for(let d=n+1;d0;--c){let{comment:d,precedingNode:f,followingNode:m}=e[c-1];ns.strictEqual(f,o),ns.strictEqual(m,i);let p=t.originalText.slice(t.locEnd(d),s);if(((n=(r=t.printer).isGap)==null?void 0:n.call(r,p,t))??/^[\s(]*$/u.test(p))s=t.locStart(d);else break}for(let[d,{comment:f}]of e.entries())d1&&d.comments.sort((f,m)=>t.locStart(f)-t.locStart(m));e.length=0}function ul(e,t,r){let n=r.locStart(t)-1;for(let a=1;a!n.has(s)).length===0)return{leading:"",trailing:""};let a=[],o=[],i;return e.each(()=>{let s=e.node;if(n!=null&&n.has(s))return;let{leading:c,trailing:d}=s;c?a.push(ww(e,t)):d&&(i=Dw(e,t,i),o.push(i.doc))},"comments"),{leading:a,trailing:o}}function Cw(e,t,r){let{leading:n,trailing:a}=Ew(e,r);return!n&&!a?t:Bo(t,o=>[n,o,a])}function xw(e){let{[Symbol.for("comments")]:t,[Symbol.for("printedComments")]:r}=e;for(let n of t){if(!n.printed&&!r.has(n))throw new Error('Comment "'+n.value.trim()+'" was not printed. Please report this error!');delete n.printed}}function e2(e){return()=>{}}function Bd({plugins:e=[],showDeprecated:t=!1}={}){let r=e.flatMap(a=>a.languages??[]),n=[];for(let a of Fw(Object.assign({},...e.map(({options:o})=>o),t6)))!t&&a.deprecated||(Array.isArray(a.choices)&&(t||(a.choices=a.choices.filter(o=>!o.deprecated)),a.name==="parser"&&(a.choices=[...a.choices,...Sw(a.choices,r,e)])),a.pluginDefaults=Object.fromEntries(e.filter(o=>{var i;return((i=o.defaultOptions)==null?void 0:i[a.name])!==void 0}).map(o=>[o.name,o.defaultOptions[a.name]])),n.push(a));return{languages:r,options:n}}function*Sw(e,t,r){let n=new Set(e.map(a=>a.value));for(let a of t)if(a.parsers){for(let o of a.parsers)if(!n.has(o)){n.add(o);let i=r.find(c=>c.parsers&&Object.prototype.hasOwnProperty.call(c.parsers,o)),s=a.name;i!=null&&i.name&&(s+=` (plugin: ${i.name})`),yield{value:o,description:s}}}}function Fw(e){let t=[];for(let[r,n]of Object.entries(e)){let a={name:r,...n};Array.isArray(a.default)&&(a.default=ge(!1,a.default,-1).value),t.push(a)}return t}function Rd(e,t){if(!t)return;let r=r6(t).toLowerCase();return e.find(({filenames:n})=>n==null?void 0:n.some(a=>a.toLowerCase()===r))??e.find(({extensions:n})=>n==null?void 0:n.some(a=>r.endsWith(a)))}function Aw(e,t){if(t)return e.find(({name:r})=>r.toLowerCase()===t)??e.find(({aliases:r})=>r==null?void 0:r.includes(t))??e.find(({extensions:r})=>r==null?void 0:r.includes(`.${t}`))}function t2(e,t){let r=e.plugins.flatMap(a=>a.languages??[]),n=Aw(r,t.language)??Rd(r,t.physicalFile)??Rd(r,t.file)??(t.physicalFile,void 0);return n==null?void 0:n.parsers[0]}function qc(e,t,r,n){return[`Invalid ${nn.default.red(n.key(e))} value.`,`Expected ${nn.default.blue(r)},`,`but received ${t===Jd?nn.default.gray("nothing"):nn.default.red(n.value(t))}.`].join(" ")}function Id({text:e,list:t},r){let n=[];return e&&n.push(`- ${nn.default.blue(e)}`),t&&n.push([`- ${nn.default.blue(t.title)}:`].concat(t.values.map(a=>Id(a,r-Zd.length).replace(/^|\n/g,`$&${Zd}`))).join(` -`)),zd(n,r)}function zd(e,t){if(e.length===1)return e[0];let[r,n]=e,[a,o]=e.map(i=>i.split(` -`,1)[0].length);return a>t&&a>o?n:r}function r2(e,t){if(e===t)return 0;let r=e;e.length>t.length&&(e=t,t=r);let n=e.length,a=t.length;for(;n>0&&e.charCodeAt(~-n)===t.charCodeAt(~-a);)n--,a--;let o=0;for(;os?d>s?s+1:d:d>c?c+1:d;return s}function n2(e,t){let r=new e(t),n=Object.create(r);for(let a of a6)a in t&&(n[a]=kw(t[a],r,ir.prototype[a].length));return n}function kw(e,t,r){return typeof e=="function"?(...n)=>e(...n.slice(0,r-1),t,...n.slice(r-1)):()=>e}function Wc({from:e,to:t}){return{from:[e],to:t}}function a2(e,t){let r=Object.create(null);for(let n of e){let a=n[t];if(r[a])throw new Error(`Duplicate ${t} ${JSON.stringify(a)}`);r[a]=n}return r}function o2(e,t){let r=new Map;for(let n of e){let a=n[t];if(r.has(a))throw new Error(`Duplicate ${t} ${JSON.stringify(a)}`);r.set(a,n)}return r}function i2(){let e=Object.create(null);return t=>{let r=JSON.stringify(t);return e[r]?!0:(e[r]=!0,!1)}}function l2(e,t){let r=[],n=[];for(let a of e)t(a)?r.push(a):n.push(a);return[r,n]}function s2(e){return e===Math.floor(e)}function u2(e,t){if(e===t)return 0;let r=typeof e,n=typeof t,a=["undefined","object","boolean","number","string"];return r!==n?a.indexOf(r)-a.indexOf(n):r!=="string"?Number(e)-Number(t):e.localeCompare(t)}function c2(e){return(...t)=>{let r=e(...t);return typeof r=="string"?new Error(r):r}}function Gc(e){return e===void 0?{}:e}function Td(e){if(typeof e=="string")return{text:e};let{text:t,list:r}=e;return _w((t||r)!==void 0,"Unexpected `expected` result, there should be at least one field."),r?{text:t,list:{title:r.title,values:r.values.map(Td)}}:{text:t}}function Kc(e,t){return e===!0?!0:e===!1?{value:t}:e}function Yc(e,t,r=!1){return e===!1?!1:e===!0?r?!0:[{value:t}]:"value"in e?[e]:e.length===0?!1:e}function Ld(e,t){return typeof e=="string"||"key"in e?{from:t,to:e}:"from"in e?{from:e.from,to:e.to}:{from:t,to:e.to}}function cl(e,t){return e===void 0?[]:Array.isArray(e)?e.map(r=>Ld(r,t)):[Ld(e,t)]}function Jc(e,t){let r=cl(typeof e=="object"&&"redirect"in e?e.redirect:e,t);return r.length===0?{remain:t,redirect:r}:typeof e=="object"&&"remain"in e?{remain:e.remain,redirect:r}:{redirect:r}}function _w(e,t){if(!e)throw new Error(t)}function d2(e,t,{logger:r=!1,isCLI:n=!1,passThrough:a=!1,FlagSchema:o,descriptor:i}={}){if(n){if(!o)throw new Error("'FlagSchema' option is required.");if(!i)throw new Error("'descriptor' option is required.")}else i=Gr;let s=a?Array.isArray(a)?(p,h)=>a.includes(p)?{[p]:h}:void 0:(p,h)=>({[p]:h}):(p,h,g)=>{let{_:y,...b}=g.schemas;return Qd(p,h,{...g,schemas:b})},c=Bw(t,{isCLI:n,FlagSchema:o}),d=new d6(c,{logger:r,unknown:s,descriptor:i}),f=r!==!1;f&&w0&&(d._hasDeprecationWarned=w0);let m=d.normalize(e);return f&&(w0=d._hasDeprecationWarned),m}function Bw(e,{isCLI:t,FlagSchema:r}){let n=[];t&&n.push(i6.create({name:"_"}));for(let a of e)n.push(Rw(a,{isCLI:t,optionInfos:e,FlagSchema:r})),a.alias&&t&&n.push(o6.create({name:a.alias,sourceName:a.name}));return n}function Rw(e,{isCLI:t,optionInfos:r,FlagSchema:n}){let{name:a}=e,o={name:a},i,s={};switch(e.type){case"int":i=c6,t&&(o.preprocess=Number);break;case"string":i=e1;break;case"choice":i=u6,o.choices=e.choices.map(c=>c!=null&&c.redirect?{...c,redirect:{to:{key:e.name,value:c.redirect}}}:c);break;case"boolean":i=s6;break;case"flag":i=n,o.flags=r.flatMap(c=>[c.alias,c.description&&c.name,c.oppositeDescription&&`no-${c.name}`].filter(Boolean));break;case"path":i=e1;break;default:throw new Error(`Unexpected type ${e.type}`)}if(e.exception?o.validate=(c,d,f)=>e.exception(c)||d.validate(c,f):o.validate=(c,d,f)=>c===void 0||d.validate(c,f),e.redirect&&(s.redirect=c=>c?{to:typeof e.redirect=="string"?e.redirect:{key:e.redirect.option,value:e.redirect.value}}:void 0),e.deprecated&&(s.deprecated=!0),t&&!e.array){let c=o.preprocess||(d=>d);o.preprocess=(d,f,m)=>f.preprocess(c(Array.isArray(d)?ge(!1,d,-1):d),m)}return e.array?l6.create({...t?{preprocess:u(c=>Array.isArray(c)?c:[c],"preprocess")}:{},...s,valueSchema:i.create(o)}):i.create({...o,...s})}function df(e,t){if(!t)throw new Error("parserName is required.");let r=wf(!1,e,a=>a.parsers&&Object.prototype.hasOwnProperty.call(a.parsers,t));if(r)return r;let n=`Couldn't resolve parser "${t}".`;throw n+=" Plugins must be explicitly added to the standalone bundle.",new bf(n)}function Iw(e,t){if(!t)throw new Error("astFormat is required.");let r=wf(!1,e,a=>a.printers&&Object.prototype.hasOwnProperty.call(a.printers,t));if(r)return r;let n=`Couldn't find plugin for AST format "${t}".`;throw n+=" Plugins must be explicitly added to the standalone bundle.",new bf(n)}function pf({plugins:e,parser:t}){let r=df(e,t);return ff(r,t)}function ff(e,t){let r=e.parsers[t];return typeof r=="function"?r():r}function zw(e,t){let r=e.printers[t];return typeof r=="function"?r():r}async function p2(e,t={}){var r;let n={...e};if(!n.parser)if(n.filepath){if(n.parser=n6(n,{physicalFile:n.filepath}),!n.parser)throw new Yd(`No parser could be inferred for file "${n.filepath}".`)}else throw new Yd("No parser and no file path given, couldn't infer a parser.");let a=Bd({plugins:e.plugins,showDeprecated:!0}).options,o={...t1,...Object.fromEntries(a.filter(p=>p.default!==void 0).map(p=>[p.name,p.default]))},i=df(n.plugins,n.parser),s=await ff(i,n.parser);n.astFormat=s.astFormat,n.locEnd=s.locEnd,n.locStart=s.locStart;let c=(r=i.printers)!=null&&r[s.astFormat]?i:Iw(n.plugins,s.astFormat),d=await zw(c,s.astFormat);n.printer=d;let f=c.defaultOptions?Object.fromEntries(Object.entries(c.defaultOptions).filter(([,p])=>p!==void 0)):{},m={...o,...f};for(let[p,h]of Object.entries(m))(n[p]===null||n[p]===void 0)&&(n[p]=h);return n.parser==="json"&&(n.trailingComma="none"),p6(n,a,{passThrough:Object.keys(t1),...t})}async function f2(e,t){let r=await pf(t),n=r.preprocess?r.preprocess(e,t):e;t.originalText=n;let a;try{a=await r.parse(n,t,t)}catch(o){Tw(o,e)}return{text:n,ast:a}}function Tw(e,t){let{loc:r}=e;if(r){let n=(0,f6.codeFrameColumns)(t,r,{highlightCode:!0});throw e.message+=` -`+n,e.codeFrame=n,e}throw e}async function Lw(e,t,r,n,a){let{embeddedLanguageFormatting:o,printer:{embed:i,hasPrettierIgnore:s=u(()=>!1,"s"),getVisitorKeys:c}}=r;if(!i||o!=="auto")return;if(i.length>2)throw new Error("printer.embed has too many parameters. The API changed in Prettier v3. Please update your plugin. See https://prettier.io/docs/en/plugins.html#optional-embed");let d=ci(i.getVisitorKeys??c),f=[];h();let m=e.stack;for(let{print:g,node:y,pathStack:b}of f)try{e.stack=b;let C=await g(p,t,e,r);C&&a.set(y,C)}catch(C){if(globalThis.PRETTIER_DEBUG)throw C}e.stack=m;function p(g,y){return Mw(g,y,r,n)}u(p,"f");function h(){let{node:g}=e;if(g===null||typeof g!="object"||s(e))return;for(let b of d(g))Array.isArray(g[b])?e.each(h,b):e.call(h,b);let y=i(e,r);if(y){if(typeof y=="function"){f.push({print:y,node:g,pathStack:[...e.stack]});return}a.set(g,y)}}u(h,"d")}async function Mw(e,t,r,n){let a=await Dn({...r,...t,parentParser:r.parser,originalText:e},{passThrough:!0}),{ast:o}=await Ra(e,a),i=await n(o,a);return kd(i)}function h2(e,t){let{originalText:r,[Symbol.for("comments")]:n,locStart:a,locEnd:o,[Symbol.for("printedComments")]:i}=t,{node:s}=e,c=a(s),d=o(s);for(let f of n)a(f)>=c&&o(f)<=d&&i.add(f);return r.slice(c,d)}async function si(e,t){({ast:e}=await hf(e,t));let r=new Map,n=new Jw(e),a=e6(t),o=new Map;await Lw(n,s,t,si,o);let i=await Md(n,t,s,void 0,o);if(xw(t),t.nodeAfterCursor&&!t.nodeBeforeCursor)return[wr,i];if(t.nodeBeforeCursor&&!t.nodeAfterCursor)return[i,wr];return i;function s(d,f){return d===void 0||d===n?c(f):Array.isArray(d)?n.call(()=>c(f),...d):n.call(()=>c(f),d)}function c(d){a(n);let f=n.node;if(f==null)return"";let m=f&&typeof f=="object"&&d===void 0;if(m&&r.has(f))return r.get(f);let p=Md(n,t,s,d,o);return m&&r.set(f,p),p}}function Md(e,t,r,n,a){var o;let{node:i}=e,{printer:s}=t,c;switch((o=s.hasPrettierIgnore)!=null&&o.call(s,e)?c=h6(e,t):a.has(i)?c=a.get(i):c=s.print(e,t,r,n),i){case t.cursorNode:c=Bo(c,d=>[wr,d,wr]);break;case t.nodeBeforeCursor:c=Bo(c,d=>[d,wr]);break;case t.nodeAfterCursor:c=Bo(c,d=>[wr,d]);break}return s.printComment&&(!s.willPrintOwnComments||!s.willPrintOwnComments(e,t))&&(c=Cw(e,c,t)),c}async function hf(e,t){let r=e.comments??[];t[Symbol.for("comments")]=r,t[Symbol.for("tokens")]=e.tokens??[],t[Symbol.for("printedComments")]=new Set,vw(e,t);let{printer:{preprocess:n}}=t;return e=n?await n(e,t):e,{ast:e,comments:r}}function m2(e,t){let{cursorOffset:r,locStart:n,locEnd:a}=t,o=ci(t.printer.getVisitorKeys),i=u(h=>n(h)<=r&&a(h)>=r,"o"),s=e,c=[e];for(let h of hw(e,{getVisitorKeys:o,filter:i}))c.push(h),s=h;if(mw(s,{getVisitorKeys:o}))return{cursorNode:s};let d,f,m=-1,p=Number.POSITIVE_INFINITY;for(;c.length>0&&(d===void 0||f===void 0);){s=c.pop();let h=d!==void 0,g=f!==void 0;for(let y of li(s,{getVisitorKeys:o})){if(!h){let b=a(y);b<=r&&b>m&&(d=y,m=b)}if(!g){let b=n(y);b>=r&&bi(p,c)).filter(Boolean);let d={},f=new Set(a(s));for(let p in s)!Object.prototype.hasOwnProperty.call(s,p)||o.has(p)||(f.has(p)?d[p]=i(s[p],s):d[p]=s[p]);let m=r(s,d,c);if(m!==null)return m??d}}function Ow(e,t){let r=[e.node,...e.parentNodes],n=new Set([t.node,...t.parentNodes]);return r.find(a=>Df.has(a.type)&&n.has(a))}function Od(e){let t=v6(!1,e,r=>r.type!=="Program"&&r.type!=="File");return t===-1?e:e.slice(0,t+1)}function Pw(e,t,{locStart:r,locEnd:n}){let a=e.node,o=t.node;if(a===o)return{startNode:a,endNode:o};let i=r(e.node);for(let c of Od(t.parentNodes))if(r(c)>=i)o=c;else break;let s=n(t.node);for(let c of Od(e.parentNodes)){if(n(c)<=s)a=c;else break;if(a===o)break}return{startNode:a,endNode:o}}function Xl(e,t,r,n,a=[],o){let{locStart:i,locEnd:s}=r,c=i(e),d=s(e);if(!(t>d||tn);let s=e.slice(n,a).search(/\S/u),c=s===-1;if(!c)for(n+=s;a>n&&!/\S/u.test(e[a-1]);--a);let d=Xl(r,n,t,(h,g)=>Pd(t,h,g),[],"rangeStart"),f=c?d:Xl(r,a,t,h=>Pd(t,h),[],"rangeEnd");if(!d||!f)return{rangeStart:0,rangeEnd:0};let m,p;if(y6(t)){let h=Ow(d,f);m=h,p=h}else({startNode:m,endNode:p}=Pw(d,f,t));return{rangeStart:Math.min(o(m),o(p)),rangeEnd:Math.max(i(m),i(p))}}async function mf(e,t,r=0){if(!e||e.trim().length===0)return{formatted:"",cursorOffset:-1,comments:[]};let{ast:n,text:a}=await Ra(e,t);t.cursorOffset>=0&&(t={...t,...m6(n,t)});let o=await si(n,t);r>0&&(o=Sd([Er,o],r,t.tabWidth));let i=No(o,t);if(r>0){let c=i.formatted.trim();i.cursorNodeStart!==void 0&&(i.cursorNodeStart-=i.formatted.indexOf(c),i.cursorNodeStart<0&&(i.cursorNodeStart=0,i.cursorNodeText=i.cursorNodeText.trimStart()),i.cursorNodeStart+i.cursorNodeText.length>c.length&&(i.cursorNodeText=i.cursorNodeText.trimEnd())),i.formatted=c+Hs(t.endOfLine)}let s=t[Symbol.for("comments")];if(t.cursorOffset>=0){let c,d,f,m;if((t.cursorNode||t.nodeBeforeCursor||t.nodeAfterCursor)&&i.cursorNodeText)if(f=i.cursorNodeStart,m=i.cursorNodeText,t.cursorNode)c=t.locStart(t.cursorNode),d=a.slice(c,t.locEnd(t.cursorNode));else{if(!t.nodeBeforeCursor&&!t.nodeAfterCursor)throw new Error("Cursor location must contain at least one of cursorNode, nodeBeforeCursor, nodeAfterCursor");c=t.nodeBeforeCursor?t.locEnd(t.nodeBeforeCursor):0;let C=t.nodeAfterCursor?t.locStart(t.nodeAfterCursor):a.length;d=a.slice(c,C)}else c=0,d=a,f=0,m=i.formatted;let p=t.cursorOffset-c;if(d===m)return{formatted:i.formatted,cursorOffset:f+p,comments:s};let h=d.split("");h.splice(p,0,r1);let g=m.split(""),y=rw(h,g),b=f;for(let C of y)if(C.removed){if(C.value.includes(r1))break}else b+=C.count;return{formatted:i.formatted,cursorOffset:b,comments:s}}return{formatted:i.formatted,cursorOffset:-1,comments:s}}async function $w(e,t){let{ast:r,text:n}=await Ra(e,t),{rangeStart:a,rangeEnd:o}=Hw(n,t,r),i=n.slice(a,o),s=Math.min(a,n.lastIndexOf(` -`,a)+1),c=n.slice(s,a).match(/^\s*/u)[0],d=rs(c,t.tabWidth),f=await mf(i,{...t,rangeStart:0,rangeEnd:Number.POSITIVE_INFINITY,cursorOffset:t.cursorOffset>a&&t.cursorOffset<=o?t.cursorOffset-a:-1,endOfLine:"lf"},d),m=f.formatted.trimEnd(),{cursorOffset:p}=t;p>o?p+=m.length-i.length:f.cursorOffset>=0&&(p=f.cursorOffset+a);let h=n.slice(0,a)+m+n.slice(o);if(t.endOfLine!=="lf"){let g=Hs(t.endOfLine);p>=0&&g===`\r -`&&(p+=lf(h.slice(0,p),` -`)),h=ui(!1,h,` -`,g)}return{formatted:h,cursorOffset:p,comments:f.comments}}function dl(e,t,r){return typeof t!="number"||Number.isNaN(t)||t<0||t>e.length?r:t}function Nd(e,t){let{cursorOffset:r,rangeStart:n,rangeEnd:a}=t;return r=dl(e,r,-1),n=dl(e,n,0),a=dl(e,a,e.length),{...t,cursorOffset:r,rangeStart:n,rangeEnd:a}}function gf(e,t){let{cursorOffset:r,rangeStart:n,rangeEnd:a,endOfLine:o}=Nd(e,t),i=e.charAt(0)===Ef;if(i&&(e=e.slice(1),r--,n--,a--),o==="auto"&&(o=nw(e)),e.includes("\r")){let s=u(c=>lf(e.slice(0,Math.max(c,0)),`\r -`),"s");r-=s(r),n-=s(n),a-=s(a),e=aw(e)}return{hasBOM:i,text:e,options:Nd(e,{...t,cursorOffset:r,rangeStart:n,rangeEnd:a,endOfLine:o})}}async function Hd(e,t){let r=await pf(t);return!r.hasPragma||r.hasPragma(e)}async function $d(e,t){let{hasBOM:r,text:n,options:a}=gf(e,await Dn(t));if(a.rangeStart>=a.rangeEnd&&n!==""||a.requirePragma&&!await Hd(n,a))return{formatted:e,cursorOffset:t.cursorOffset,comments:[]};let o;return a.rangeStart>0||a.rangeEnd=0&&o.cursorOffset++),o}async function v2(e,t,r){let{text:n,options:a}=gf(e,await Dn(t)),o=await Ra(n,a);return r&&(r.preprocessForPrint&&(o.ast=await hf(o.ast,a)),r.massage&&(o.ast=g6(o.ast,a))),o}async function y2(e,t){t=await Dn(t);let r=await si(e,t);return No(r,t)}async function b2(e,t){let r=ow(e),{formatted:n}=await $d(r,{...t,parser:"__js_expression"});return n}async function w2(e,t){t=await Dn(t);let{ast:r}=await Ra(e,t);return si(r,t)}async function D2(e,t){return No(e,await Dn(t))}function E2(e,t){if(t===!1)return!1;if(e.charAt(t)==="/"&&e.charAt(t+1)==="*"){for(let r=t+2;rMath.max(n,a.length/t.length),0)}function k2(e,t){let r=qs(e,t);return r===!1?"":e.charAt(r)}function _2(e,t){let r=t===!0||t===yo?yo:n1,n=r===yo?n1:yo,a=0,o=0;for(let i of e)i===r?a++:i===n&&o++;return a>o?n:r}function B2(e,t,r){for(let n=t;ni===n?i:s===t?"\\"+s:s||(r&&/^[^\n\r"'0-7\\bfnrt-vx\u2028\u2029]$/u.test(i)?i:"\\"+i));return t+a+t}function Vw(e,t,r){return qs(e,r(t))}function z2(e,t){return arguments.length===2||typeof t=="number"?qs(e,t):Vw(...arguments)}function Uw(e,t,r){return Us(e,r(t))}function T2(e,t){return arguments.length===2||typeof t=="number"?Us(e,t):Uw(...arguments)}function qw(e,t,r){return is(e,r(t))}function L2(e,t){return arguments.length===2||typeof t=="number"?is(e,t):qw(...arguments)}function fr(e,t=1){return async(...r)=>{let n=r[t]??{},a=n.plugins??[];return r[t]={...n,plugins:Array.isArray(a)?a:Object.values(a)},e(...r)}}async function jd(e,t){let{formatted:r}=await a1(e,{...t,cursorOffset:-1});return r}async function M2(e,t){return await jd(e,t)===e}var O2,ji,P2,N2,H2,$2,Zc,Xc,Vi,j2,Ja,V2,U2,zn,Ui,q2,Qc,W2,ui,Za,G2,Xa,K2,qi,Y2,J2,Tn,go,Ir,Gt,Dr,Kt,Yt,Vt,He,bt,Ve,Jt,Zt,Ut,De,wt,Je,vf,zr,Ww,e0,Z2,pn,Vd,Ql,t0,Dt,Vs,X2,vo,Q2,pl,r0,Ud,ev,Er,qd,wr,tv,ge,Gw,Kw,Yw,es,ze,dt,rn,ts,rs,qr,n0,Wi,a0,rv,Jw,o0,ns,Zw,nv,cr,Wd,Gd,_r,ur,Xw,Kd,Qw,ci,fl,hl,yf,Us,e6,i0,bf,l0,Yd,t6,r6,n6,Gr,s0,av,nn,Jd,Qa,Zd,ov,u0,ml,Xd,Qd,a6,c0,ir,d0,o6,p0,i6,f0,l6,h0,s6,m0,u6,g0,iv,v0,c6,y0,e1,lv,sv,uv,cv,b0,d6,w0,p6,dv,wf,t1,Dn,f6,Ra,h6,m6,g6,pv,v6,y6,Df,b6,Ef,r1,D0,fv,hv,mv,gv,E0,as,os,qs,is,vv,yv,bv,yo,n1,wv,Dv,Ev,Cv,a1,xv,Sv,w6,EF=z(()=>{O2=Object.create,ji=Object.defineProperty,P2=Object.getOwnPropertyDescriptor,N2=Object.getOwnPropertyNames,H2=Object.getPrototypeOf,$2=Object.prototype.hasOwnProperty,Zc=u(e=>{throw TypeError(e)},"fr"),Xc=u((e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),"dr"),Vi=u((e,t)=>{for(var r in t)ji(e,r,{get:t[r],enumerable:!0})},"Bt"),j2=u((e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of N2(t))!$2.call(e,a)&&a!==r&&ji(e,a,{get:u(()=>t[a],"get"),enumerable:!(n=P2(t,a))||n.enumerable});return e},"_u"),Ja=u((e,t,r)=>(r=e!=null?O2(H2(e)):{},j2(t||!e||!e.__esModule?ji(r,"default",{value:e,enumerable:!0}):r,e)),"Me"),V2=u((e,t,r)=>t.has(e)||Zc("Cannot "+r),"xu"),U2=u((e,t,r)=>t.has(e)?Zc("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,r),"pr"),zn=u((e,t,r)=>(V2(e,t,"access private method"),r),"pe"),Ui=Xc((e,t)=>{var r=new Proxy(String,{get:u(()=>r,"get")});t.exports=r}),q2=Xc(e=>{Object.defineProperty(e,"__esModule",{value:!0});function t(){return new Proxy({},{get:u(()=>o=>o,"get")})}u(t,"Bi");var r=/\r\n|[\n\r\u2028\u2029]/;function n(o,i,s){let c=Object.assign({column:0,line:-1},o.start),d=Object.assign({},c,o.end),{linesAbove:f=2,linesBelow:m=3}=s||{},p=c.line,h=c.column,g=d.line,y=d.column,b=Math.max(p-(f+1),0),C=Math.min(i.length,g+m);p===-1&&(b=0),g===-1&&(C=i.length);let E=g-p,D={};if(E)for(let w=0;w<=E;w++){let x=w+p;if(!h)D[x]=!0;else if(w===0){let S=i[x-1].length;D[x]=[h,S-h+1]}else if(w===E)D[x]=[0,y];else{let S=i[x-w].length;D[x]=[0,S]}}else h===y?h?D[p]=[h,0]:D[p]=!0:D[p]=[h,y-h];return{start:b,end:C,markerLines:D}}u(n,"wi");function a(o,i,s={}){let c=t(),d=o.split(r),{start:f,end:m,markerLines:p}=n(i,d,s),h=i.start&&typeof i.start.column=="number",g=String(m).length,y=o.split(r,m).slice(f,m).map((b,C)=>{let E=f+1+C,D=` ${` ${E}`.slice(-g)} |`,w=p[E],x=!p[E+1];if(w){let S="";if(Array.isArray(w)){let F=b.slice(0,Math.max(w[0]-1,0)).replace(/[^\t]/g," "),A=w[1]||1;S=[` - `,c.gutter(D.replace(/\d/g," "))," ",F,c.marker("^").repeat(A)].join(""),x&&s.message&&(S+=" "+c.message(s.message))}return[c.marker(">"),c.gutter(D),b.length>0?` ${b}`:"",S].join("")}else return` ${c.gutter(D)}${b.length>0?` ${b}`:""}`}).join(` -`);return s.message&&!h&&(y=`${" ".repeat(g+1)}${s.message} -${y}`),y}u(a,"_i"),e.codeFrameColumns=a}),Qc={},Vi(Qc,{__debug:u(()=>Sv,"__debug"),check:u(()=>M2,"check"),doc:u(()=>D0,"doc"),format:u(()=>jd,"format"),formatWithCursor:u(()=>a1,"formatWithCursor"),getSupportInfo:u(()=>xv,"getSupportInfo"),util:u(()=>E0,"util"),version:u(()=>gv,"version")}),W2=u((e,t,r,n)=>{if(!(e&&t==null))return t.replaceAll?t.replaceAll(r,n):r.global?t.replace(r,n):t.split(r).join(n)},"bu"),ui=W2,u(ct,"M"),ct.prototype={diff:u(function(e,t){var r,n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},a=n.callback;typeof n=="function"&&(a=n,n={});var o=this;function i(D){return D=o.postProcess(D,n),a?(setTimeout(function(){a(D)},0),!0):D}u(i,"s"),e=this.castInput(e,n),t=this.castInput(t,n),e=this.removeEmpty(this.tokenize(e,n)),t=this.removeEmpty(this.tokenize(t,n));var s=t.length,c=e.length,d=1,f=s+c;n.maxEditLength!=null&&(f=Math.min(f,n.maxEditLength));var m=(r=n.timeout)!==null&&r!==void 0?r:1/0,p=Date.now()+m,h=[{oldPos:-1,lastComponent:void 0}],g=this.extractCommon(h[0],t,e,0,n);if(h[0].oldPos+1>=c&&g+1>=s)return i(Vc(o,h[0].lastComponent,t,e,o.useLongestToken));var y=-1/0,b=1/0;function C(){for(var D=Math.max(y,-d);D<=Math.min(b,d);D+=2){var w=void 0,x=h[D-1],S=h[D+1];x&&(h[D-1]=void 0);var F=!1;if(S){var A=S.oldPos-D;F=S&&0<=A&&A=c&&g+1>=s)return i(Vc(o,w.lastComponent,t,e,o.useLongestToken));h[D]=w,w.oldPos+1>=c&&(b=Math.min(b,D-1)),g+1>=s&&(y=Math.max(y,D+1))}d++}if(u(C,"C"),a)u(function D(){setTimeout(function(){if(d>f||Date.now()>p)return a();C()||D()},0)},"E")();else for(;d<=f&&Date.now()<=p;){var E=C();if(E)return E}},"diff"),addToPath:u(function(e,t,r,n,a){var o=e.lastComponent;return o&&!a.oneChangePerToken&&o.added===t&&o.removed===r?{oldPos:e.oldPos+n,lastComponent:{count:o.count+1,added:t,removed:r,previousComponent:o.previousComponent}}:{oldPos:e.oldPos+n,lastComponent:{count:1,added:t,removed:r,previousComponent:o}}},"addToPath"),extractCommon:u(function(e,t,r,n,a){for(var o=t.length,i=r.length,s=e.oldPos,c=s-n,d=0;c+11&&arguments[1]!==void 0?arguments[1]:{},r;if(t.intlSegmenter){if(t.intlSegmenter.resolvedOptions().granularity!="word")throw new Error('The segmenter passed must have a granularity of "word"');r=Array.from(t.intlSegmenter.segment(e),function(o){return o.segment})}else r=e.match(G2)||[];var n=[],a=null;return r.forEach(function(o){/\s/.test(o)?a==null?n.push(o):n.push(n.pop()+o):/\s/.test(a)?n[n.length-1]==a?n.push(n.pop()+o):n.push(a+o):n.push(o),a=o}),n},Xa.join=function(e){return e.map(function(t,r){return r==0?t:t.replace(/^\s+/,"")}).join("")},Xa.postProcess=function(e,t){if(!e||t.oneChangePerToken)return e;var r=null,n=null,a=null;return e.forEach(function(o){o.added?n=o:o.removed?a=o:((n||a)&&Uc(r,a,n,o),r=o,n=null,a=null)}),(n||a)&&Uc(r,a,n,null),e},u(Uc,"Cr"),K2=new ct,K2.tokenize=function(e){var t=new RegExp("(\\r?\\n)|[".concat(Za,"]+|[^\\S\\n\\r]+|[^").concat(Za,"]"),"ug");return e.match(t)||[]},qi=new ct,qi.tokenize=function(e,t){t.stripTrailingCr&&(e=e.replace(/\r\n/g,` -`));var r=[],n=e.split(/(\n|\r\n)/);n[n.length-1]||n.pop();for(var a=0;a"u"?r:i}:n;return typeof e=="string"?e:JSON.stringify(Gl(e,null,null,a),a," ")},Tn.equals=function(e,t,r){return ct.prototype.equals.call(Tn,e.replace(/,([\r\n])/g,"$1"),t.replace(/,([\r\n])/g,"$1"),r)},u(Gl,"bt"),go=new ct,go.tokenize=function(e){return e.slice()},go.join=go.removeEmpty=function(e){return e},u(rw,"gr"),u(nw,"yr"),u(Hs,"xe"),u(lf,"Ot"),u(aw,"Ar"),Ir="string",Gt="array",Dr="cursor",Kt="indent",Yt="align",Vt="trim",He="group",bt="fill",Ve="if-break",Jt="indent-if-break",Zt="line-suffix",Ut="line-suffix-boundary",De="line",wt="label",Je="break-parent",vf=new Set([Dr,Kt,Yt,Vt,He,bt,Ve,Jt,Zt,Ut,De,wt,Je]),u(_g,"Lu"),zr=_g,Ww=u(e=>new Intl.ListFormat("en-US",{type:"disjunction"}).format(e),"Pu"),u(Bg,"Iu"),Z2=(e0=class extends Error{constructor(t){super(Bg(t));Rn(this,"name","InvalidDocError");this.doc=t}},u(e0,"St"),e0),pn=Z2,Vd={},u(Rg,"Ru"),Ql=Rg,t0=u(()=>{},"Br"),Dt=t0,Vs=t0,u(Oo,"le"),u(dn,"De"),u(Cd,"Tt"),u(Ig,"wr"),u(zg,"_r"),u(Tg,"xr"),u(Lg,"br"),u(Mg,"Nr"),u(Og,"Or"),u(Pg,"Sr"),u(Kl,"Ne"),X2={type:Ut},vo={type:Je},Q2={type:Vt},pl={type:De,hard:!0},r0={type:De,hard:!0,literal:!0},Ud={type:De},ev={type:De,soft:!0},Er=[pl,vo],qd=[r0,vo],wr={type:Dr},u(xd,"Se"),u(Sd,"Qe"),u(Ng,"Pr"),u(Lt,"ee"),u(ow,"Ir"),tv=u((e,t,r)=>{if(!(e&&t==null))return Array.isArray(t)||typeof t=="string"?t[r<0?t.length+r:r]:t.at(r)},"Yu"),ge=tv,Gw=u(()=>/[#*0-9]\uFE0F?\u20E3|[\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u23CF\u23ED-\u23EF\u23F1\u23F2\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB\u25FC\u25FE\u2600-\u2604\u260E\u2611\u2614\u2615\u2618\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u2648-\u2653\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u267F\u2692\u2694-\u2697\u2699\u269B\u269C\u26A0\u26A7\u26AA\u26B0\u26B1\u26BD\u26BE\u26C4\u26C8\u26CF\u26D1\u26E9\u26F0-\u26F5\u26F7\u26F8\u26FA\u2702\u2708\u2709\u270F\u2712\u2714\u2716\u271D\u2721\u2733\u2734\u2744\u2747\u2757\u2763\u27A1\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B55\u3030\u303D\u3297\u3299]\uFE0F?|[\u261D\u270C\u270D](?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?|[\u270A\u270B](?:\uD83C[\uDFFB-\uDFFF])?|[\u23E9-\u23EC\u23F0\u23F3\u25FD\u2693\u26A1\u26AB\u26C5\u26CE\u26D4\u26EA\u26FD\u2705\u2728\u274C\u274E\u2753-\u2755\u2795-\u2797\u27B0\u27BF\u2B50]|\u26D3\uFE0F?(?:\u200D\uD83D\uDCA5)?|\u26F9(?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?(?:\u200D[\u2640\u2642]\uFE0F?)?|\u2764\uFE0F?(?:\u200D(?:\uD83D\uDD25|\uD83E\uDE79))?|\uD83C(?:[\uDC04\uDD70\uDD71\uDD7E\uDD7F\uDE02\uDE37\uDF21\uDF24-\uDF2C\uDF36\uDF7D\uDF96\uDF97\uDF99-\uDF9B\uDF9E\uDF9F\uDFCD\uDFCE\uDFD4-\uDFDF\uDFF5\uDFF7]\uFE0F?|[\uDF85\uDFC2\uDFC7](?:\uD83C[\uDFFB-\uDFFF])?|[\uDFC4\uDFCA](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDFCB\uDFCC](?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDCCF\uDD8E\uDD91-\uDD9A\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF43\uDF45-\uDF4A\uDF4C-\uDF7C\uDF7E-\uDF84\uDF86-\uDF93\uDFA0-\uDFC1\uDFC5\uDFC6\uDFC8\uDFC9\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF8-\uDFFF]|\uDDE6\uD83C[\uDDE8-\uDDEC\uDDEE\uDDF1\uDDF2\uDDF4\uDDF6-\uDDFA\uDDFC\uDDFD\uDDFF]|\uDDE7\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEF\uDDF1-\uDDF4\uDDF6-\uDDF9\uDDFB\uDDFC\uDDFE\uDDFF]|\uDDE8\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDEE\uDDF0-\uDDF7\uDDFA-\uDDFF]|\uDDE9\uD83C[\uDDEA\uDDEC\uDDEF\uDDF0\uDDF2\uDDF4\uDDFF]|\uDDEA\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDED\uDDF7-\uDDFA]|\uDDEB\uD83C[\uDDEE-\uDDF0\uDDF2\uDDF4\uDDF7]|\uDDEC\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEE\uDDF1-\uDDF3\uDDF5-\uDDFA\uDDFC\uDDFE]|\uDDED\uD83C[\uDDF0\uDDF2\uDDF3\uDDF7\uDDF9\uDDFA]|\uDDEE\uD83C[\uDDE8-\uDDEA\uDDF1-\uDDF4\uDDF6-\uDDF9]|\uDDEF\uD83C[\uDDEA\uDDF2\uDDF4\uDDF5]|\uDDF0\uD83C[\uDDEA\uDDEC-\uDDEE\uDDF2\uDDF3\uDDF5\uDDF7\uDDFC\uDDFE\uDDFF]|\uDDF1\uD83C[\uDDE6-\uDDE8\uDDEE\uDDF0\uDDF7-\uDDFB\uDDFE]|\uDDF2\uD83C[\uDDE6\uDDE8-\uDDED\uDDF0-\uDDFF]|\uDDF3\uD83C[\uDDE6\uDDE8\uDDEA-\uDDEC\uDDEE\uDDF1\uDDF4\uDDF5\uDDF7\uDDFA\uDDFF]|\uDDF4\uD83C\uDDF2|\uDDF5\uD83C[\uDDE6\uDDEA-\uDDED\uDDF0-\uDDF3\uDDF7-\uDDF9\uDDFC\uDDFE]|\uDDF6\uD83C\uDDE6|\uDDF7\uD83C[\uDDEA\uDDF4\uDDF8\uDDFA\uDDFC]|\uDDF8\uD83C[\uDDE6-\uDDEA\uDDEC-\uDDF4\uDDF7-\uDDF9\uDDFB\uDDFD-\uDDFF]|\uDDF9\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDED\uDDEF-\uDDF4\uDDF7\uDDF9\uDDFB\uDDFC\uDDFF]|\uDDFA\uD83C[\uDDE6\uDDEC\uDDF2\uDDF3\uDDF8\uDDFE\uDDFF]|\uDDFB\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDEE\uDDF3\uDDFA]|\uDDFC\uD83C[\uDDEB\uDDF8]|\uDDFD\uD83C\uDDF0|\uDDFE\uD83C[\uDDEA\uDDF9]|\uDDFF\uD83C[\uDDE6\uDDF2\uDDFC]|\uDF44(?:\u200D\uD83D\uDFEB)?|\uDF4B(?:\u200D\uD83D\uDFE9)?|\uDFC3(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?|\uDFF3\uFE0F?(?:\u200D(?:\u26A7\uFE0F?|\uD83C\uDF08))?|\uDFF4(?:\u200D\u2620\uFE0F?|\uDB40\uDC67\uDB40\uDC62\uDB40(?:\uDC65\uDB40\uDC6E\uDB40\uDC67|\uDC73\uDB40\uDC63\uDB40\uDC74|\uDC77\uDB40\uDC6C\uDB40\uDC73)\uDB40\uDC7F)?)|\uD83D(?:[\uDC3F\uDCFD\uDD49\uDD4A\uDD6F\uDD70\uDD73\uDD76-\uDD79\uDD87\uDD8A-\uDD8D\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA\uDECB\uDECD-\uDECF\uDEE0-\uDEE5\uDEE9\uDEF0\uDEF3]\uFE0F?|[\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC6B-\uDC6D\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDC8F\uDC91\uDCAA\uDD7A\uDD95\uDD96\uDE4C\uDE4F\uDEC0\uDECC](?:\uD83C[\uDFFB-\uDFFF])?|[\uDC6E\uDC70\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4\uDEB5](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD74\uDD90](?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?|[\uDC00-\uDC07\uDC09-\uDC14\uDC16-\uDC25\uDC27-\uDC3A\uDC3C-\uDC3E\uDC40\uDC44\uDC45\uDC51-\uDC65\uDC6A\uDC79-\uDC7B\uDC7D-\uDC80\uDC84\uDC88-\uDC8E\uDC90\uDC92-\uDCA9\uDCAB-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDDA4\uDDFB-\uDE2D\uDE2F-\uDE34\uDE37-\uDE41\uDE43\uDE44\uDE48-\uDE4A\uDE80-\uDEA2\uDEA4-\uDEB3\uDEB7-\uDEBF\uDEC1-\uDEC5\uDED0-\uDED2\uDED5-\uDED7\uDEDC-\uDEDF\uDEEB\uDEEC\uDEF4-\uDEFC\uDFE0-\uDFEB\uDFF0]|\uDC08(?:\u200D\u2B1B)?|\uDC15(?:\u200D\uD83E\uDDBA)?|\uDC26(?:\u200D(?:\u2B1B|\uD83D\uDD25))?|\uDC3B(?:\u200D\u2744\uFE0F?)?|\uDC41\uFE0F?(?:\u200D\uD83D\uDDE8\uFE0F?)?|\uDC68(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDC68\uDC69]\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFE])))?))?|\uDC69(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?[\uDC68\uDC69]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?|\uDC69\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?))|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFE])))?))?|\uDC6F(?:\u200D[\u2640\u2642]\uFE0F?)?|\uDD75(?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?(?:\u200D[\u2640\u2642]\uFE0F?)?|\uDE2E(?:\u200D\uD83D\uDCA8)?|\uDE35(?:\u200D\uD83D\uDCAB)?|\uDE36(?:\u200D\uD83C\uDF2B\uFE0F?)?|\uDE42(?:\u200D[\u2194\u2195]\uFE0F?)?|\uDEB6(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?)|\uD83E(?:[\uDD0C\uDD0F\uDD18-\uDD1F\uDD30-\uDD34\uDD36\uDD77\uDDB5\uDDB6\uDDBB\uDDD2\uDDD3\uDDD5\uDEC3-\uDEC5\uDEF0\uDEF2-\uDEF8](?:\uD83C[\uDFFB-\uDFFF])?|[\uDD26\uDD35\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD\uDDCF\uDDD4\uDDD6-\uDDDD](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDDDE\uDDDF](?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD0D\uDD0E\uDD10-\uDD17\uDD20-\uDD25\uDD27-\uDD2F\uDD3A\uDD3F-\uDD45\uDD47-\uDD76\uDD78-\uDDB4\uDDB7\uDDBA\uDDBC-\uDDCC\uDDD0\uDDE0-\uDDFF\uDE70-\uDE7C\uDE80-\uDE89\uDE8F-\uDEC2\uDEC6\uDECE-\uDEDC\uDEDF-\uDEE9]|\uDD3C(?:\u200D[\u2640\u2642]\uFE0F?|\uD83C[\uDFFB-\uDFFF])?|\uDDCE(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?|\uDDD1(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1|\uDDD1\u200D\uD83E\uDDD2(?:\u200D\uD83E\uDDD2)?|\uDDD2(?:\u200D\uD83E\uDDD2)?))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFC-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFD-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFD\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFE]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?))?|\uDEF1(?:\uD83C(?:\uDFFB(?:\u200D\uD83E\uDEF2\uD83C[\uDFFC-\uDFFF])?|\uDFFC(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFD-\uDFFF])?|\uDFFD(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])?|\uDFFE(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFD\uDFFF])?|\uDFFF(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFE])?))?)/g,"Rr"),u(Hg,"Yr"),u($g,"jr"),Kw=u(e=>!(Hg(e)||$g(e)),"Hr"),Yw=/[^\x20-\x7F]/u,u(jg,"Hu"),es=jg,u(Po,"Le"),u(Yl,"Ze"),u(iw,"Wu"),u(Vg,"Mr"),u(Fd,"Wr"),u(lw,"Ur"),u(sw,"$u"),u(Ug,"Vr"),u(Ad,"$r"),u(Qn,"ke"),u(kd,"et"),u(uw,"Mu"),u(cw,"Uu"),u(qg,"zr"),u(dw,"Vu"),u(Wg,"Gr"),u(Bo,"me"),ze=Symbol("MODE_BREAK"),dt=Symbol("MODE_FLAT"),rn=Symbol("cursor"),ts=Symbol("DOC_FILL_PRINTED_LENGTH"),u(sf,"Kr"),u(pw,"zu"),u(fw,"Gu"),u(Jl,"Pt"),u(Zl,"It"),u(mo,"tt"),u(No,"Ee"),u(Gg,"Ku"),rs=Gg,rv=(a0=class{constructor(e){U2(this,qr),this.stack=[e]}get key(){let{stack:e,siblings:t}=this;return ge(!1,e,t===null?-2:-4)??null}get index(){return this.siblings===null?null:ge(!1,this.stack,-2)}get node(){return ge(!1,this.stack,-1)}get parent(){return this.getNode(1)}get grandparent(){return this.getNode(2)}get isInArray(){return this.siblings!==null}get siblings(){let{stack:e}=this,t=ge(!1,e,-3);return Array.isArray(t)?t:null}get next(){let{siblings:e}=this;return e===null?null:e[this.index+1]}get previous(){let{siblings:e}=this;return e===null?null:e[this.index-1]}get isFirst(){return this.index===0}get isLast(){let{siblings:e,index:t}=this;return e!==null&&t===e.length-1}get isRoot(){return this.stack.length===1}get root(){return this.stack[0]}get ancestors(){return[...zn(this,qr,Wi).call(this)]}getName(){let{stack:e}=this,{length:t}=e;return t>1?ge(!1,e,-2):null}getValue(){return ge(!1,this.stack,-1)}getNode(e=0){let t=zn(this,qr,n0).call(this,e);return t===-1?null:this.stack[t]}getParentNode(e=0){return this.getNode(e+1)}call(e,...t){let{stack:r}=this,{length:n}=r,a=ge(!1,r,-1);for(let o of t)a=a[o],r.push(o,a);try{return e(this)}finally{r.length=n}}callParent(e,t=0){let r=zn(this,qr,n0).call(this,t+1),n=this.stack.splice(r+1);try{return e(this)}finally{this.stack.push(...n)}}each(e,...t){let{stack:r}=this,{length:n}=r,a=ge(!1,r,-1);for(let o of t)a=a[o],r.push(o,a);try{for(let o=0;o{r[a]=e(n,a,o)},...t),r}match(...e){let t=this.stack.length-1,r=null,n=this.stack[t--];for(let a of e){if(n===void 0)return!1;let o=null;if(typeof r=="number"&&(o=r,r=this.stack[t--],n=this.stack[t--]),a&&!a(n,r,o))return!1;r=this.stack[t--],n=this.stack[t--]}return!0}findAncestor(e){for(let t of zn(this,qr,Wi).call(this))if(e(t))return t}hasAncestor(e){for(let t of zn(this,qr,Wi).call(this))if(e(t))return!0;return!1}},u(a0,"Rt"),a0),qr=new WeakSet,n0=u(function(e){let{stack:t}=this;for(let r=t.length-1;r>=0;r-=2)if(!Array.isArray(t[r])&&--e<0)return r;return-1},"Yt"),Wi=u(function*(){let{stack:e}=this;for(let t=e.length-3;t>=0;t-=2){let r=e[t];Array.isArray(r)||(yield r)}},"rt"),Jw=rv,o0=new Proxy(()=>{},{get:u(()=>o0,"get")}),ns=o0,u(Kg,"Ju"),Zw=Kg,u(li,"ge"),u(hw,"Qr"),u(mw,"Zr"),u(In,"ye"),nv=In(/\s/u),cr=In(" "),Wd=In(",; "),Gd=In(/[^\n\r]/u),u(Yg,"qu"),_r=Yg,u(Jg,"Xu"),ur=Jg,u(Zg,"Qu"),Xw=Zg,Kd=new Set(["tokens","comments","parent","enclosingNode","precedingNode","followingNode"]),Qw=u(e=>Object.keys(e).filter(t=>!Kd.has(t)),"Zu"),u(Xg,"ei"),ci=Xg,u(gw,"ti"),u($s,"Ht"),u(en,"ue"),u(Ro,"re"),u(tn,"ie"),fl=new WeakMap,u(js,"it"),u(uf,"nn"),hl=u(()=>!1,"$t"),u(vw,"un"),yf=u(e=>!/[\S\n\u2028\u2029]/u.test(e),"on"),u(yw,"ri"),u(bw,"ni"),u(_d,"rn"),u(ul,"Mt"),u(Qg,"ui"),Us=Qg,u(cf,"sn"),u(ww,"ii"),u(Dw,"oi"),u(Ew,"si"),u(Cw,"an"),u(xw,"Dn"),u(e2,"ai"),e6=e2,bf=(i0=class extends Error{constructor(){super(...arguments);Rn(this,"name","ConfigError")}},u(i0,"Re"),i0),Yd=(l0=class extends Error{constructor(){super(...arguments);Rn(this,"name","UndefinedParserError")}},u(l0,"Ye"),l0),t6={cursorOffset:{category:"Special",type:"int",default:-1,range:{start:-1,end:1/0,step:1},description:"Print (to stderr) where a cursor at the given position would move to after formatting.",cliCategory:"Editor"},endOfLine:{category:"Global",type:"choice",default:"lf",description:"Which end of line characters to apply.",choices:[{value:"lf",description:"Line Feed only (\\n), common on Linux and macOS as well as inside git repos"},{value:"crlf",description:"Carriage Return + Line Feed characters (\\r\\n), common on Windows"},{value:"cr",description:"Carriage Return character only (\\r), used very rarely"},{value:"auto",description:`Maintain existing -(mixed values within one file are normalised by looking at what's used after the first line)`}]},filepath:{category:"Special",type:"path",description:"Specify the input filepath. This will be used to do parser inference.",cliName:"stdin-filepath",cliCategory:"Other",cliDescription:"Path to the file to pretend that stdin comes from."},insertPragma:{category:"Special",type:"boolean",default:!1,description:"Insert @format pragma into file's first docblock comment.",cliCategory:"Other"},parser:{category:"Global",type:"choice",default:void 0,description:"Which parser to use.",exception:u(e=>typeof e=="string"||typeof e=="function","exception"),choices:[{value:"flow",description:"Flow"},{value:"babel",description:"JavaScript"},{value:"babel-flow",description:"Flow"},{value:"babel-ts",description:"TypeScript"},{value:"typescript",description:"TypeScript"},{value:"acorn",description:"JavaScript"},{value:"espree",description:"JavaScript"},{value:"meriyah",description:"JavaScript"},{value:"css",description:"CSS"},{value:"less",description:"Less"},{value:"scss",description:"SCSS"},{value:"json",description:"JSON"},{value:"json5",description:"JSON5"},{value:"jsonc",description:"JSON with Comments"},{value:"json-stringify",description:"JSON.stringify"},{value:"graphql",description:"GraphQL"},{value:"markdown",description:"Markdown"},{value:"mdx",description:"MDX"},{value:"vue",description:"Vue"},{value:"yaml",description:"YAML"},{value:"glimmer",description:"Ember / Handlebars"},{value:"html",description:"HTML"},{value:"angular",description:"Angular"},{value:"lwc",description:"Lightning Web Components"}]},plugins:{type:"path",array:!0,default:[{value:[]}],category:"Global",description:"Add a plugin. Multiple plugins can be passed as separate `--plugin`s.",exception:u(e=>typeof e=="string"||typeof e=="object","exception"),cliName:"plugin",cliCategory:"Config"},printWidth:{category:"Global",type:"int",default:80,description:"The line length where Prettier will try wrap.",range:{start:0,end:1/0,step:1}},rangeEnd:{category:"Special",type:"int",default:1/0,range:{start:0,end:1/0,step:1},description:`Format code ending at a given character offset (exclusive). -The range will extend forwards to the end of the selected statement.`,cliCategory:"Editor"},rangeStart:{category:"Special",type:"int",default:0,range:{start:0,end:1/0,step:1},description:`Format code starting at a given character offset. -The range will extend backwards to the start of the first line containing the selected statement.`,cliCategory:"Editor"},requirePragma:{category:"Special",type:"boolean",default:!1,description:`Require either '@prettier' or '@format' to be present in the file's first docblock comment -in order for it to be formatted.`,cliCategory:"Other"},tabWidth:{type:"int",category:"Global",default:2,description:"Number of spaces per indentation level.",range:{start:0,end:1/0,step:1}},useTabs:{category:"Global",type:"boolean",default:!1,description:"Indent with tabs instead of spaces."},embeddedLanguageFormatting:{category:"Global",type:"choice",default:"auto",description:"Control how Prettier formats quoted code embedded in the file.",choices:[{value:"auto",description:"Format embedded code if Prettier can automatically identify it."},{value:"off",description:"Never automatically format embedded code."}]}},u(Bd,"ot"),u(Sw,"Di"),u(Fw,"li"),r6=u(e=>String(e).split(/[/\\]/u).pop(),"ci"),u(Rd,"fn"),u(Aw,"fi"),u(t2,"di"),n6=t2,Gr={key:u(e=>/^[$_a-zA-Z][$_a-zA-Z0-9]*$/.test(e)?e:JSON.stringify(e),"key"),value(e){if(e===null||typeof e!="object")return JSON.stringify(e);if(Array.isArray(e))return`[${e.map(r=>Gr.value(r)).join(", ")}]`;let t=Object.keys(e);return t.length===0?"{}":`{ ${t.map(r=>`${Gr.key(r)}: ${Gr.value(e[r])}`).join(", ")} }`},pair:u(({key:e,value:t})=>Gr.value({[e]:t}),"pair")},s0=Ja(Ui(),1),av=u((e,t,{descriptor:r})=>{let n=[`${s0.default.yellow(typeof e=="string"?r.key(e):r.pair(e))} is deprecated`];return t&&n.push(`we now treat it as ${s0.default.blue(typeof t=="string"?r.key(t):r.pair(t))}`),n.join("; ")+"."},"mn"),nn=Ja(Ui(),1),Jd=Symbol.for("vnopts.VALUE_NOT_EXIST"),Qa=Symbol.for("vnopts.VALUE_UNCHANGED"),Zd=" ".repeat(2),ov=u((e,t,r)=>{let{text:n,list:a}=r.normalizeExpectedResult(r.schemas[e].expected(r)),o=[];return n&&o.push(qc(e,t,n,r.descriptor)),a&&o.push([qc(e,t,a.title,r.descriptor)].concat(a.values.map(i=>Id(i,r.loggerPrintWidth))).join(` -`)),zd(o,r.loggerPrintWidth)},"Cn"),u(qc,"En"),u(Id,"gn"),u(zd,"yn"),u0=Ja(Ui(),1),ml=[],Xd=[],u(r2,"zt"),Qd=u((e,t,{descriptor:r,logger:n,schemas:a})=>{let o=[`Ignored unknown option ${u0.default.yellow(r.pair({key:e,value:t}))}.`],i=Object.keys(a).sort().find(s=>r2(e,s)<3);i&&o.push(`Did you mean ${u0.default.blue(r.key(i))}?`),n.warn(o.join(" "))},"Dt"),a6=["default","expected","validate","deprecated","forward","redirect","overlap","preprocess","postprocess"],u(n2,"Fi"),ir=(c0=class{static create(e){return n2(this,e)}constructor(e){this.name=e.name}default(e){}expected(e){return"nothing"}validate(e,t){return!1}deprecated(e,t){return!1}forward(e,t){}redirect(e,t){}overlap(e,t,r){return e}preprocess(e,t){return e}postprocess(e,t){return Qa}},u(c0,"x"),c0),u(kw,"mi"),o6=(d0=class extends ir{constructor(e){super(e),this._sourceName=e.sourceName}expected(e){return e.schemas[this._sourceName].expected(e)}validate(e,t){return t.schemas[this._sourceName].validate(e,t)}redirect(e,t){return this._sourceName}},u(d0,"lt"),d0),i6=(p0=class extends ir{expected(){return"anything"}validate(){return!0}},u(p0,"ct"),p0),l6=(f0=class extends ir{constructor({valueSchema:e,name:t=e.name,...r}){super({...r,name:t}),this._valueSchema=e}expected(e){let{text:t,list:r}=e.normalizeExpectedResult(this._valueSchema.expected(e));return{text:t&&`an array of ${t}`,list:r&&{title:"an array of the following values",values:[{list:r}]}}}validate(e,t){if(!Array.isArray(e))return!1;let r=[];for(let n of e){let a=t.normalizeValidateResult(this._valueSchema.validate(n,t),n);a!==!0&&r.push(a.value)}return r.length===0?!0:{value:r}}deprecated(e,t){let r=[];for(let n of e){let a=t.normalizeDeprecatedResult(this._valueSchema.deprecated(n,t),n);a!==!1&&r.push(...a.map(({value:o})=>({value:[o]})))}return r}forward(e,t){let r=[];for(let n of e){let a=t.normalizeForwardResult(this._valueSchema.forward(n,t),n);r.push(...a.map(Wc))}return r}redirect(e,t){let r=[],n=[];for(let a of e){let o=t.normalizeRedirectResult(this._valueSchema.redirect(a,t),a);"remain"in o&&r.push(o.remain),n.push(...o.redirect.map(Wc))}return r.length===0?{redirect:n}:{redirect:n,remain:r}}overlap(e,t){return e.concat(t)}},u(f0,"ft"),f0),u(Wc,"vn"),s6=(h0=class extends ir{expected(){return"true or false"}validate(e){return typeof e=="boolean"}},u(h0,"dt"),h0),u(a2,"wn"),u(o2,"_n"),u(i2,"xn"),u(l2,"bn"),u(s2,"Nn"),u(u2,"On"),u(c2,"Sn"),u(Gc,"Kt"),u(Td,"Jt"),u(Kc,"qt"),u(Yc,"Xt"),u(Ld,"Bn"),u(cl,"pt"),u(Jc,"Qt"),u(_w,"hi"),u6=(m0=class extends ir{constructor(e){super(e),this._choices=o2(e.choices.map(t=>t&&typeof t=="object"?t:{value:t}),"value")}expected({descriptor:e}){let t=Array.from(this._choices.keys()).map(a=>this._choices.get(a)).filter(({hidden:a})=>!a).map(a=>a.value).sort(u2).map(e.value),r=t.slice(0,-2),n=t.slice(-2);return{text:r.concat(n.join(" or ")).join(", "),list:{title:"one of the following values",values:t}}}validate(e){return this._choices.has(e)}deprecated(e){let t=this._choices.get(e);return t&&t.deprecated?{value:e}:!1}forward(e){let t=this._choices.get(e);return t?t.forward:void 0}redirect(e){let t=this._choices.get(e);return t?t.redirect:void 0}},u(m0,"Ft"),m0),iv=(g0=class extends ir{expected(){return"a number"}validate(e,t){return typeof e=="number"}},u(g0,"mt"),g0),c6=(v0=class extends iv{expected(){return"an integer"}validate(e,t){return t.normalizeValidateResult(super.validate(e,t),e)===!0&&s2(e)}},u(v0,"ht"),v0),e1=(y0=class extends ir{expected(){return"a string"}validate(e){return typeof e=="string"}},u(y0,"je"),y0),lv=Gr,sv=Qd,uv=ov,cv=av,d6=(b0=class{constructor(e,t){let{logger:r=console,loggerPrintWidth:n=80,descriptor:a=lv,unknown:o=sv,invalid:i=uv,deprecated:s=cv,missing:c=u(()=>!1,"D"),required:d=u(()=>!1,"l"),preprocess:f=u(p=>p,"p"),postprocess:m=u(()=>Qa,"f")}=t||{};this._utils={descriptor:a,logger:r||{warn:u(()=>{},"warn")},loggerPrintWidth:n,schemas:a2(e,"name"),normalizeDefaultResult:Gc,normalizeExpectedResult:Td,normalizeDeprecatedResult:Yc,normalizeForwardResult:cl,normalizeRedirectResult:Jc,normalizeValidateResult:Kc},this._unknownHandler=o,this._invalidHandler=c2(i),this._deprecatedHandler=s,this._identifyMissing=(p,h)=>!(p in h)||c(p,h),this._identifyRequired=d,this._preprocess=f,this._postprocess=m,this.cleanHistory()}cleanHistory(){this._hasDeprecationWarned=i2()}normalize(e){let t={},r=[this._preprocess(e,this._utils)],n=u(()=>{for(;r.length!==0;){let a=r.shift(),o=this._applyNormalization(a,t);r.push(...o)}},"i");n();for(let a of Object.keys(this._utils.schemas)){let o=this._utils.schemas[a];if(!(a in t)){let i=Gc(o.default(this._utils));"value"in i&&r.push({[a]:i.value})}}n();for(let a of Object.keys(this._utils.schemas)){if(!(a in t))continue;let o=this._utils.schemas[a],i=t[a],s=o.postprocess(i,this._utils);s!==Qa&&(this._applyValidation(s,a,o),t[a]=s)}return this._applyPostprocess(t),this._applyRequiredCheck(t),t}_applyNormalization(e,t){let r=[],{knownKeys:n,unknownKeys:a}=this._partitionOptionKeys(e);for(let o of n){let i=this._utils.schemas[o],s=i.preprocess(e[o],this._utils);this._applyValidation(s,o,i);let c=u(({from:m,to:p})=>{r.push(typeof p=="string"?{[p]:m}:{[p.key]:p.value})},"D"),d=u(({value:m,redirectTo:p})=>{let h=Yc(i.deprecated(m,this._utils),s,!0);if(h!==!1)if(h===!0)this._hasDeprecationWarned(o)||this._utils.logger.warn(this._deprecatedHandler(o,p,this._utils));else for(let{value:g}of h){let y={key:o,value:g};if(!this._hasDeprecationWarned(y)){let b=typeof p=="string"?{key:p,value:g}:p;this._utils.logger.warn(this._deprecatedHandler(y,b,this._utils))}}},"l");cl(i.forward(s,this._utils),s).forEach(c);let f=Jc(i.redirect(s,this._utils),s);if(f.redirect.forEach(c),"remain"in f){let m=f.remain;t[o]=o in t?i.overlap(t[o],m,this._utils):m,d({value:m})}for(let{from:m,to:p}of f.redirect)d({value:m,redirectTo:p})}for(let o of a){let i=e[o];this._applyUnknownHandler(o,i,t,(s,c)=>{r.push({[s]:c})})}return r}_applyRequiredCheck(e){for(let t of Object.keys(this._utils.schemas))if(this._identifyMissing(t,e)&&this._identifyRequired(t))throw this._invalidHandler(t,Jd,this._utils)}_partitionOptionKeys(e){let[t,r]=l2(Object.keys(e).filter(n=>!this._identifyMissing(n,e)),n=>n in this._utils.schemas);return{knownKeys:t,unknownKeys:r}}_applyValidation(e,t,r){let n=Kc(r.validate(e,this._utils),e);if(n!==!0)throw this._invalidHandler(t,n.value,this._utils)}_applyUnknownHandler(e,t,r,n){let a=this._unknownHandler(e,t,this._utils);if(a)for(let o of Object.keys(a)){if(this._identifyMissing(o,a))continue;let i=a[o];o in this._utils.schemas?n(o,i):r[o]=i}}_applyPostprocess(e){let t=this._postprocess(e,this._utils);if(t!==Qa){if(t.delete)for(let r of t.delete)delete e[r];if(t.override){let{knownKeys:r,unknownKeys:n}=this._partitionOptionKeys(t.override);for(let a of r){let o=t.override[a];this._applyValidation(o,a,this._utils.schemas[a]),e[a]=o}for(let a of n){let o=t.override[a];this._applyUnknownHandler(a,o,e,(i,s)=>{let c=this._utils.schemas[i];this._applyValidation(s,i,c),e[i]=s})}}}}},u(b0,"Et"),b0),u(d2,"Ci"),u(Bw,"gi"),u(Rw,"yi"),p6=d2,dv=u((e,t,r)=>{if(!(e&&t==null)){if(t.findLast)return t.findLast(r);for(let n=t.length-1;n>=0;n--){let a=t[n];if(r(a,n,t))return a}}},"Ai"),wf=dv,u(df,"tr"),u(Iw,"Rn"),u(pf,"Ct"),u(ff,"rr"),u(zw,"Yn"),t1={astFormat:"estree",printer:{},originalText:void 0,locStart:null,locEnd:null},u(p2,"vi"),Dn=p2,f6=Ja(q2(),1),u(f2,"xi"),u(Tw,"bi"),Ra=f2,u(Lw,"Mn"),u(Mw,"Ni"),u(h2,"Oi"),h6=h2,u(si,"He"),u(Md,"Vn"),u(hf,"ur"),u(m2,"Si"),m6=m2,u(g2,"Ti"),g6=g2,pv=u((e,t,r)=>{if(!(e&&t==null)){if(t.findLastIndex)return t.findLastIndex(r);for(let n=t.length-1;n>=0;n--){let a=t[n];if(r(a,n,t))return n}return-1}},"ki"),v6=pv,y6=u(({parser:e})=>e==="json"||e==="json5"||e==="jsonc"||e==="json-stringify","Li"),u(Ow,"Pi"),u(Od,"Jn"),u(Pw,"Ii"),u(Xl,"ir"),u(Nw,"Ri"),Df=new Set(["JsonRoot","ObjectExpression","ArrayExpression","StringLiteral","NumericLiteral","BooleanLiteral","NullLiteral","UnaryExpression","TemplateLiteral"]),b6=new Set(["OperationDefinition","FragmentDefinition","VariableDefinition","TypeExtensionDefinition","ObjectTypeDefinition","FieldDefinition","DirectiveDefinition","EnumTypeDefinition","EnumValueDefinition","InputValueDefinition","InputObjectTypeDefinition","SchemaDefinition","OperationTypeDefinition","InterfaceTypeDefinition","UnionTypeDefinition","ScalarTypeDefinition"]),u(Pd,"qn"),u(Hw,"Qn"),Ef="\uFEFF",r1=Symbol("cursor"),u(mf,"nu"),u($w,"ji"),u(dl,"or"),u(Nd,"eu"),u(gf,"uu"),u(Hd,"tu"),u($d,"sr"),u(v2,"iu"),u(y2,"ou"),u(b2,"su"),u(w2,"au"),u(D2,"Du"),D0={},Vi(D0,{builders:u(()=>fv,"builders"),printer:u(()=>hv,"printer"),utils:u(()=>mv,"utils")}),fv={join:xd,line:Ud,softline:ev,hardline:Er,literalline:qd,group:Cd,conditionalGroup:Lg,fill:Mg,lineSuffix:Kl,lineSuffixBoundary:X2,cursor:wr,breakParent:vo,ifBreak:Og,trim:Q2,indent:Oo,indentIfBreak:Pg,align:dn,addAlignmentToDoc:Sd,markAsRoot:zg,dedentToRoot:Ig,dedent:Tg,hardlineWithoutBreakParent:pl,literallineWithoutBreakParent:r0,label:Ng,concat:u(e=>e,"concat")},hv={printDocToString:No},mv={willBreak:Vg,traverseDoc:Ql,findInDoc:Yl,mapDoc:Po,removeLines:Ug,stripTrailingHardline:kd,replaceEndOfLine:qg,canBreak:Wg},gv="3.4.2",E0={},Vi(E0,{addDanglingComment:u(()=>Ro,"addDanglingComment"),addLeadingComment:u(()=>en,"addLeadingComment"),addTrailingComment:u(()=>tn,"addTrailingComment"),getAlignmentSize:u(()=>rs,"getAlignmentSize"),getIndentSize:u(()=>vv,"getIndentSize"),getMaxContinuousCount:u(()=>yv,"getMaxContinuousCount"),getNextNonSpaceNonCommentCharacter:u(()=>bv,"getNextNonSpaceNonCommentCharacter"),getNextNonSpaceNonCommentCharacterIndex:u(()=>z2,"getNextNonSpaceNonCommentCharacterIndex"),getPreferredQuote:u(()=>wv,"getPreferredQuote"),getStringWidth:u(()=>es,"getStringWidth"),hasNewline:u(()=>ur,"hasNewline"),hasNewlineInRange:u(()=>Dv,"hasNewlineInRange"),hasSpaces:u(()=>Ev,"hasSpaces"),isNextLineEmpty:u(()=>L2,"isNextLineEmpty"),isNextLineEmptyAfterIndex:u(()=>is,"isNextLineEmptyAfterIndex"),isPreviousLineEmpty:u(()=>T2,"isPreviousLineEmpty"),makeString:u(()=>Cv,"makeString"),skip:u(()=>In,"skip"),skipEverythingButNewLine:u(()=>Gd,"skipEverythingButNewLine"),skipInlineComment:u(()=>as,"skipInlineComment"),skipNewline:u(()=>_r,"skipNewline"),skipSpaces:u(()=>cr,"skipSpaces"),skipToLineEnd:u(()=>Wd,"skipToLineEnd"),skipTrailingComment:u(()=>os,"skipTrailingComment"),skipWhitespace:u(()=>nv,"skipWhitespace")}),u(E2,"Ui"),as=E2,u(C2,"Vi"),os=C2,u(x2,"zi"),qs=x2,u(S2,"Gi"),is=S2,u(F2,"Ki"),vv=F2,u(jw,"Dr"),u(A2,"Ji"),yv=A2,u(k2,"qi"),bv=k2,yo="'",n1='"',u(_2,"Xi"),wv=_2,u(B2,"Qi"),Dv=B2,u(R2,"Zi"),Ev=R2,u(I2,"eo"),Cv=I2,u(Vw,"to"),u(z2,"ro"),u(Uw,"no"),u(T2,"uo"),u(qw,"io"),u(L2,"oo"),u(fr,"de"),a1=fr($d),u(jd,"gu"),u(M2,"so"),xv=fr(Bd,0),Sv={parse:fr(v2),formatAST:fr(y2),formatDoc:fr(b2),printToDoc:fr(w2),printDocToString:fr(D2)},w6=Qc});function D6(e){for(var t=[],r=1;r{u(D6,"dedent")}),E6={};Sa(E6,{formatter:()=>C6});var Fv,C6,xF=z(()=>{Fv=Ce(Fs(),1),DF(),EF(),CF(),C6=(0,Fv.default)(2)(async(e,t)=>e===!1?t:e==="dedent"||e===!0?D6(t):(await w6.format(t,{parser:e,plugins:[ew],htmlWhitespaceSensitivity:"ignore"})).trim())}),o1,i1,SF=z(()=>{o1=u(function(e){return e.reduce(function(t,r){var n=r[0],a=r[1];return t[n]=a,t},{})},"fromEntries"),i1=typeof window<"u"&&window.document&&window.document.createElement?l.useLayoutEffect:l.useEffect}),Pe,Xe,Qe,Ne,ls,ea,ln,ta,x6,Cf,qn,S6,l1,xf,Av,kv,_v,Bv,Rv,Iv,zv,Tv,Lv,F6,rt=z(()=>{Pe="top",Xe="bottom",Qe="right",Ne="left",ls="auto",ea=[Pe,Xe,Qe,Ne],ln="start",ta="end",x6="clippingParents",Cf="viewport",qn="popper",S6="reference",l1=ea.reduce(function(e,t){return e.concat([t+"-"+ln,t+"-"+ta])},[]),xf=[].concat(ea,[ls]).reduce(function(e,t){return e.concat([t,t+"-"+ln,t+"-"+ta])},[]),Av="beforeRead",kv="read",_v="afterRead",Bv="beforeMain",Rv="main",Iv="afterMain",zv="beforeWrite",Tv="write",Lv="afterWrite",F6=[Av,kv,_v,Bv,Rv,Iv,zv,Tv,Lv]});function Et(e){return e?(e.nodeName||"").toLowerCase():null}var En=z(()=>{u(Et,"getNodeName")});function qe(e){if(e==null)return window;if(e.toString()!=="[object Window]"){var t=e.ownerDocument;return t&&t.defaultView||window}return e}var Qt=z(()=>{u(qe,"getWindow")});function Br(e){var t=qe(e).Element;return e instanceof t||e instanceof Element}function Ze(e){var t=qe(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function Ws(e){if(typeof ShadowRoot>"u")return!1;var t=qe(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}var nt=z(()=>{Qt(),u(Br,"isElement"),u(Ze,"isHTMLElement"),u(Ws,"isShadowRoot")});function Mv(e){var t=e.state;Object.keys(t.elements).forEach(function(r){var n=t.styles[r]||{},a=t.attributes[r]||{},o=t.elements[r];!Ze(o)||!Et(o)||(Object.assign(o.style,n),Object.keys(a).forEach(function(i){var s=a[i];s===!1?o.removeAttribute(i):o.setAttribute(i,s===!0?"":s)}))})}function Ov(e){var t=e.state,r={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,r.popper),t.styles=r,t.elements.arrow&&Object.assign(t.elements.arrow.style,r.arrow),function(){Object.keys(t.elements).forEach(function(n){var a=t.elements[n],o=t.attributes[n]||{},i=Object.keys(t.styles.hasOwnProperty(n)?t.styles[n]:r[n]),s=i.reduce(function(c,d){return c[d]="",c},{});!Ze(a)||!Et(a)||(Object.assign(a.style,s),Object.keys(o).forEach(function(c){a.removeAttribute(c)}))})}}var A6,FF=z(()=>{En(),nt(),u(Mv,"applyStyles"),u(Ov,"effect"),A6={name:"applyStyles",enabled:!0,phase:"write",fn:Mv,effect:Ov,requires:["computeStyles"]}});function yt(e){return e.split("-")[0]}var Cn=z(()=>{u(yt,"getBasePlacement")}),Cr,Ho,fn,xn=z(()=>{Cr=Math.max,Ho=Math.min,fn=Math.round});function ss(){var e=navigator.userAgentData;return e!=null&&e.brands&&Array.isArray(e.brands)?e.brands.map(function(t){return t.brand+"/"+t.version}).join(" "):navigator.userAgent}var k6=z(()=>{u(ss,"getUAString")});function Sf(){return!/^((?!chrome|android).)*safari/i.test(ss())}var _6=z(()=>{k6(),u(Sf,"isLayoutViewport")});function hn(e,t,r){t===void 0&&(t=!1),r===void 0&&(r=!1);var n=e.getBoundingClientRect(),a=1,o=1;t&&Ze(e)&&(a=e.offsetWidth>0&&fn(n.width)/e.offsetWidth||1,o=e.offsetHeight>0&&fn(n.height)/e.offsetHeight||1);var i=Br(e)?qe(e):window,s=i.visualViewport,c=!Sf()&&r,d=(n.left+(c&&s?s.offsetLeft:0))/a,f=(n.top+(c&&s?s.offsetTop:0))/o,m=n.width/a,p=n.height/o;return{width:m,height:p,top:f,right:d+m,bottom:f+p,left:d,x:d,y:f}}var di=z(()=>{nt(),xn(),Qt(),_6(),u(hn,"getBoundingClientRect")});function Gs(e){var t=hn(e),r=e.offsetWidth,n=e.offsetHeight;return Math.abs(t.width-r)<=1&&(r=t.width),Math.abs(t.height-n)<=1&&(n=t.height),{x:e.offsetLeft,y:e.offsetTop,width:r,height:n}}var Ff=z(()=>{di(),u(Gs,"getLayoutRect")});function Af(e,t){var r=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(r&&Ws(r)){var n=t;do{if(n&&e.isSameNode(n))return!0;n=n.parentNode||n.host}while(n)}return!1}var B6=z(()=>{nt(),u(Af,"contains")});function Xt(e){return qe(e).getComputedStyle(e)}var pi=z(()=>{Qt(),u(Xt,"getComputedStyle")});function R6(e){return["table","td","th"].indexOf(Et(e))>=0}var AF=z(()=>{En(),u(R6,"isTableElement")});function pr(e){return((Br(e)?e.ownerDocument:e.document)||window.document).documentElement}var Tr=z(()=>{nt(),u(pr,"getDocumentElement")});function fi(e){return Et(e)==="html"?e:e.assignedSlot||e.parentNode||(Ws(e)?e.host:null)||pr(e)}var Ks=z(()=>{En(),Tr(),nt(),u(fi,"getParentNode")});function s1(e){return!Ze(e)||Xt(e).position==="fixed"?null:e.offsetParent}function I6(e){var t=/firefox/i.test(ss()),r=/Trident/i.test(ss());if(r&&Ze(e)){var n=Xt(e);if(n.position==="fixed")return null}var a=fi(e);for(Ws(a)&&(a=a.host);Ze(a)&&["html","body"].indexOf(Et(a))<0;){var o=Xt(a);if(o.transform!=="none"||o.perspective!=="none"||o.contain==="paint"||["transform","perspective"].indexOf(o.willChange)!==-1||t&&o.willChange==="filter"||t&&o.filter&&o.filter!=="none")return a;a=a.parentNode}return null}function Ia(e){for(var t=qe(e),r=s1(e);r&&R6(r)&&Xt(r).position==="static";)r=s1(r);return r&&(Et(r)==="html"||Et(r)==="body"&&Xt(r).position==="static")?t:r||I6(e)||t}var hi=z(()=>{Qt(),En(),pi(),nt(),AF(),Ks(),k6(),u(s1,"getTrueOffsetParent"),u(I6,"getContainingBlock"),u(Ia,"getOffsetParent")});function Ys(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}var kf=z(()=>{u(Ys,"getMainAxisFromPlacement")});function ra(e,t,r){return Cr(e,Ho(t,r))}function z6(e,t,r){var n=ra(e,t,r);return n>r?r:n}var T6=z(()=>{xn(),u(ra,"within"),u(z6,"withinMaxClamp")});function _f(){return{top:0,right:0,bottom:0,left:0}}var L6=z(()=>{u(_f,"getFreshSideObject")});function Bf(e){return Object.assign({},_f(),e)}var M6=z(()=>{L6(),u(Bf,"mergePaddingObject")});function Rf(e,t){return t.reduce(function(r,n){return r[n]=e,r},{})}var O6=z(()=>{u(Rf,"expandToHashMap")});function Pv(e){var t,r=e.state,n=e.name,a=e.options,o=r.elements.arrow,i=r.modifiersData.popperOffsets,s=yt(r.placement),c=Ys(s),d=[Ne,Qe].indexOf(s)>=0,f=d?"height":"width";if(!(!o||!i)){var m=P6(a.padding,r),p=Gs(o),h=c==="y"?Pe:Ne,g=c==="y"?Xe:Qe,y=r.rects.reference[f]+r.rects.reference[c]-i[c]-r.rects.popper[f],b=i[c]-r.rects.reference[c],C=Ia(o),E=C?c==="y"?C.clientHeight||0:C.clientWidth||0:0,D=y/2-b/2,w=m[h],x=E-p[f]-m[g],S=E/2-p[f]/2+D,F=ra(w,S,x),A=c;r.modifiersData[n]=(t={},t[A]=F,t.centerOffset=F-S,t)}}function Nv(e){var t=e.state,r=e.options,n=r.element,a=n===void 0?"[data-popper-arrow]":n;a!=null&&(typeof a=="string"&&(a=t.elements.popper.querySelector(a),!a)||Af(t.elements.popper,a)&&(t.elements.arrow=a))}var P6,N6,kF=z(()=>{Cn(),Ff(),B6(),hi(),kf(),T6(),M6(),O6(),rt(),P6=u(function(e,t){return e=typeof e=="function"?e(Object.assign({},t.rects,{placement:t.placement})):e,Bf(typeof e!="number"?e:Rf(e,ea))},"toPaddingObject"),u(Pv,"arrow"),u(Nv,"effect"),N6={name:"arrow",enabled:!0,phase:"main",fn:Pv,effect:Nv,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]}});function mn(e){return e.split("-")[1]}var mi=z(()=>{u(mn,"getVariation")});function H6(e,t){var r=e.x,n=e.y,a=t.devicePixelRatio||1;return{x:fn(r*a)/a||0,y:fn(n*a)/a||0}}function u1(e){var t,r=e.popper,n=e.popperRect,a=e.placement,o=e.variation,i=e.offsets,s=e.position,c=e.gpuAcceleration,d=e.adaptive,f=e.roundOffsets,m=e.isFixed,p=i.x,h=p===void 0?0:p,g=i.y,y=g===void 0?0:g,b=typeof f=="function"?f({x:h,y}):{x:h,y};h=b.x,y=b.y;var C=i.hasOwnProperty("x"),E=i.hasOwnProperty("y"),D=Ne,w=Pe,x=window;if(d){var S=Ia(r),F="clientHeight",A="clientWidth";if(S===qe(r)&&(S=pr(r),Xt(S).position!=="static"&&s==="absolute"&&(F="scrollHeight",A="scrollWidth")),S=S,a===Pe||(a===Ne||a===Qe)&&o===ta){w=Xe;var _=m&&S===x&&x.visualViewport?x.visualViewport.height:S[F];y-=_-n.height,y*=c?1:-1}if(a===Ne||(a===Pe||a===Xe)&&o===ta){D=Qe;var R=m&&S===x&&x.visualViewport?x.visualViewport.width:S[A];h-=R-n.width,h*=c?1:-1}}var I=Object.assign({position:s},d&&$6),T=f===!0?H6({x:h,y},qe(r)):{x:h,y};if(h=T.x,y=T.y,c){var L;return Object.assign({},I,(L={},L[w]=E?"0":"",L[D]=C?"0":"",L.transform=(x.devicePixelRatio||1)<=1?"translate("+h+"px, "+y+"px)":"translate3d("+h+"px, "+y+"px, 0)",L))}return Object.assign({},I,(t={},t[w]=E?y+"px":"",t[D]=C?h+"px":"",t.transform="",t))}function Hv(e){var t=e.state,r=e.options,n=r.gpuAcceleration,a=n===void 0?!0:n,o=r.adaptive,i=o===void 0?!0:o,s=r.roundOffsets,c=s===void 0?!0:s,d={placement:yt(t.placement),variation:mn(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:a,isFixed:t.options.strategy==="fixed"};t.modifiersData.popperOffsets!=null&&(t.styles.popper=Object.assign({},t.styles.popper,u1(Object.assign({},d,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:i,roundOffsets:c})))),t.modifiersData.arrow!=null&&(t.styles.arrow=Object.assign({},t.styles.arrow,u1(Object.assign({},d,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:c})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})}var $6,j6,_F=z(()=>{rt(),hi(),Qt(),Tr(),pi(),Cn(),mi(),xn(),$6={top:"auto",right:"auto",bottom:"auto",left:"auto"},u(H6,"roundOffsetsByDPR"),u(u1,"mapToStyles"),u(Hv,"computeStyles"),j6={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:Hv,data:{}}});function $v(e){var t=e.state,r=e.instance,n=e.options,a=n.scroll,o=a===void 0?!0:a,i=n.resize,s=i===void 0?!0:i,c=qe(t.elements.popper),d=[].concat(t.scrollParents.reference,t.scrollParents.popper);return o&&d.forEach(function(f){f.addEventListener("scroll",r.update,bo)}),s&&c.addEventListener("resize",r.update,bo),function(){o&&d.forEach(function(f){f.removeEventListener("scroll",r.update,bo)}),s&&c.removeEventListener("resize",r.update,bo)}}var bo,V6,BF=z(()=>{Qt(),bo={passive:!0},u($v,"effect"),V6={name:"eventListeners",enabled:!0,phase:"write",fn:u(function(){},"fn"),effect:$v,data:{}}});function Io(e){return e.replace(/left|right|bottom|top/g,function(t){return U6[t]})}var U6,RF=z(()=>{U6={left:"right",right:"left",bottom:"top",top:"bottom"},u(Io,"getOppositePlacement")});function c1(e){return e.replace(/start|end/g,function(t){return q6[t]})}var q6,IF=z(()=>{q6={start:"end",end:"start"},u(c1,"getOppositeVariationPlacement")});function Js(e){var t=qe(e),r=t.pageXOffset,n=t.pageYOffset;return{scrollLeft:r,scrollTop:n}}var If=z(()=>{Qt(),u(Js,"getWindowScroll")});function Zs(e){return hn(pr(e)).left+Js(e).scrollLeft}var zf=z(()=>{di(),Tr(),If(),u(Zs,"getWindowScrollBarX")});function W6(e,t){var r=qe(e),n=pr(e),a=r.visualViewport,o=n.clientWidth,i=n.clientHeight,s=0,c=0;if(a){o=a.width,i=a.height;var d=Sf();(d||!d&&t==="fixed")&&(s=a.offsetLeft,c=a.offsetTop)}return{width:o,height:i,x:s+Zs(e),y:c}}var zF=z(()=>{Qt(),Tr(),zf(),_6(),u(W6,"getViewportRect")});function G6(e){var t,r=pr(e),n=Js(e),a=(t=e.ownerDocument)==null?void 0:t.body,o=Cr(r.scrollWidth,r.clientWidth,a?a.scrollWidth:0,a?a.clientWidth:0),i=Cr(r.scrollHeight,r.clientHeight,a?a.scrollHeight:0,a?a.clientHeight:0),s=-n.scrollLeft+Zs(e),c=-n.scrollTop;return Xt(a||r).direction==="rtl"&&(s+=Cr(r.clientWidth,a?a.clientWidth:0)-o),{width:o,height:i,x:s,y:c}}var TF=z(()=>{Tr(),pi(),zf(),If(),xn(),u(G6,"getDocumentRect")});function Xs(e){var t=Xt(e),r=t.overflow,n=t.overflowX,a=t.overflowY;return/auto|scroll|overlay|hidden/.test(r+a+n)}var Tf=z(()=>{pi(),u(Xs,"isScrollParent")});function Lf(e){return["html","body","#document"].indexOf(Et(e))>=0?e.ownerDocument.body:Ze(e)&&Xs(e)?e:Lf(fi(e))}var LF=z(()=>{Ks(),Tf(),En(),nt(),u(Lf,"getScrollParent")});function na(e,t){var r;t===void 0&&(t=[]);var n=Lf(e),a=n===((r=e.ownerDocument)==null?void 0:r.body),o=qe(n),i=a?[o].concat(o.visualViewport||[],Xs(n)?n:[]):n,s=t.concat(i);return a?s:s.concat(na(fi(i)))}var K6=z(()=>{LF(),Ks(),Qt(),Tf(),u(na,"listScrollParents")});function us(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}var Y6=z(()=>{u(us,"rectToClientRect")});function J6(e,t){var r=hn(e,!1,t==="fixed");return r.top=r.top+e.clientTop,r.left=r.left+e.clientLeft,r.bottom=r.top+e.clientHeight,r.right=r.left+e.clientWidth,r.width=e.clientWidth,r.height=e.clientHeight,r.x=r.left,r.y=r.top,r}function d1(e,t,r){return t===Cf?us(W6(e,r)):Br(t)?J6(t,r):us(G6(pr(e)))}function Z6(e){var t=na(fi(e)),r=["absolute","fixed"].indexOf(Xt(e).position)>=0,n=r&&Ze(e)?Ia(e):e;return Br(n)?t.filter(function(a){return Br(a)&&Af(a,n)&&Et(a)!=="body"}):[]}function X6(e,t,r,n){var a=t==="clippingParents"?Z6(e):[].concat(t),o=[].concat(a,[r]),i=o[0],s=o.reduce(function(c,d){var f=d1(e,d,n);return c.top=Cr(f.top,c.top),c.right=Ho(f.right,c.right),c.bottom=Ho(f.bottom,c.bottom),c.left=Cr(f.left,c.left),c},d1(e,i,n));return s.width=s.right-s.left,s.height=s.bottom-s.top,s.x=s.left,s.y=s.top,s}var MF=z(()=>{rt(),zF(),TF(),K6(),hi(),Tr(),pi(),nt(),di(),Ks(),B6(),En(),Y6(),xn(),u(J6,"getInnerBoundingClientRect"),u(d1,"getClientRectFromMixedType"),u(Z6,"getClippingParents"),u(X6,"getClippingRect")});function Mf(e){var t=e.reference,r=e.element,n=e.placement,a=n?yt(n):null,o=n?mn(n):null,i=t.x+t.width/2-r.width/2,s=t.y+t.height/2-r.height/2,c;switch(a){case Pe:c={x:i,y:t.y-r.height};break;case Xe:c={x:i,y:t.y+t.height};break;case Qe:c={x:t.x+t.width,y:s};break;case Ne:c={x:t.x-r.width,y:s};break;default:c={x:t.x,y:t.y}}var d=a?Ys(a):null;if(d!=null){var f=d==="y"?"height":"width";switch(o){case ln:c[d]=c[d]-(t[f]/2-r[f]/2);break;case ta:c[d]=c[d]+(t[f]/2-r[f]/2);break}}return c}var Q6=z(()=>{Cn(),mi(),kf(),rt(),u(Mf,"computeOffsets")});function ya(e,t){t===void 0&&(t={});var r=t,n=r.placement,a=n===void 0?e.placement:n,o=r.strategy,i=o===void 0?e.strategy:o,s=r.boundary,c=s===void 0?x6:s,d=r.rootBoundary,f=d===void 0?Cf:d,m=r.elementContext,p=m===void 0?qn:m,h=r.altBoundary,g=h===void 0?!1:h,y=r.padding,b=y===void 0?0:y,C=Bf(typeof b!="number"?b:Rf(b,ea)),E=p===qn?S6:qn,D=e.rects.popper,w=e.elements[g?E:p],x=X6(Br(w)?w:w.contextElement||pr(e.elements.popper),c,f,i),S=hn(e.elements.reference),F=Mf({reference:S,element:D,strategy:"absolute",placement:a}),A=us(Object.assign({},D,F)),_=p===qn?A:S,R={top:x.top-_.top+C.top,bottom:_.bottom-x.bottom+C.bottom,left:x.left-_.left+C.left,right:_.right-x.right+C.right},I=e.modifiersData.offset;if(p===qn&&I){var T=I[a];Object.keys(R).forEach(function(L){var P=[Qe,Xe].indexOf(L)>=0?1:-1,M=[Pe,Xe].indexOf(L)>=0?"y":"x";R[L]+=T[M]*P})}return R}var Qs=z(()=>{MF(),Tr(),di(),Q6(),Y6(),rt(),nt(),M6(),O6(),u(ya,"detectOverflow")});function eD(e,t){t===void 0&&(t={});var r=t,n=r.placement,a=r.boundary,o=r.rootBoundary,i=r.padding,s=r.flipVariations,c=r.allowedAutoPlacements,d=c===void 0?xf:c,f=mn(n),m=f?s?l1:l1.filter(function(g){return mn(g)===f}):ea,p=m.filter(function(g){return d.indexOf(g)>=0});p.length===0&&(p=m);var h=p.reduce(function(g,y){return g[y]=ya(e,{placement:y,boundary:a,rootBoundary:o,padding:i})[yt(y)],g},{});return Object.keys(h).sort(function(g,y){return h[g]-h[y]})}var OF=z(()=>{mi(),rt(),Qs(),Cn(),u(eD,"computeAutoPlacement")});function tD(e){if(yt(e)===ls)return[];var t=Io(e);return[c1(e),t,c1(t)]}function jv(e){var t=e.state,r=e.options,n=e.name;if(!t.modifiersData[n]._skip){for(var a=r.mainAxis,o=a===void 0?!0:a,i=r.altAxis,s=i===void 0?!0:i,c=r.fallbackPlacements,d=r.padding,f=r.boundary,m=r.rootBoundary,p=r.altBoundary,h=r.flipVariations,g=h===void 0?!0:h,y=r.allowedAutoPlacements,b=t.options.placement,C=yt(b),E=C===b,D=c||(E||!g?[Io(b)]:tD(b)),w=[b].concat(D).reduce(function(ie,$){return ie.concat(yt($)===ls?eD(t,{placement:$,boundary:f,rootBoundary:m,padding:d,flipVariations:g,allowedAutoPlacements:y}):$)},[]),x=t.rects.reference,S=t.rects.popper,F=new Map,A=!0,_=w[0],R=0;R=0,M=P?"width":"height",N=ya(t,{placement:I,boundary:f,rootBoundary:m,altBoundary:p,padding:d}),q=P?L?Qe:Ne:L?Xe:Pe;x[M]>S[M]&&(q=Io(q));var W=Io(q),G=[];if(o&&G.push(N[T]<=0),s&&G.push(N[q]<=0,N[W]<=0),G.every(function(ie){return ie})){_=I,A=!1;break}F.set(I,G)}if(A)for(var J=g?3:1,te=u(function(ie){var $=w.find(function(Z){var re=F.get(Z);if(re)return re.slice(0,ie).every(function(fe){return fe})});if($)return _=$,"break"},"_loop"),ne=J;ne>0;ne--){var X=te(ne);if(X==="break")break}t.placement!==_&&(t.modifiersData[n]._skip=!0,t.placement=_,t.reset=!0)}}var rD,PF=z(()=>{RF(),Cn(),IF(),Qs(),OF(),rt(),mi(),u(tD,"getExpandedFallbackPlacements"),u(jv,"flip"),rD={name:"flip",enabled:!0,phase:"main",fn:jv,requiresIfExists:["offset"],data:{_skip:!1}}});function p1(e,t,r){return r===void 0&&(r={x:0,y:0}),{top:e.top-t.height-r.y,right:e.right-t.width+r.x,bottom:e.bottom-t.height+r.y,left:e.left-t.width-r.x}}function f1(e){return[Pe,Qe,Xe,Ne].some(function(t){return e[t]>=0})}function Vv(e){var t=e.state,r=e.name,n=t.rects.reference,a=t.rects.popper,o=t.modifiersData.preventOverflow,i=ya(t,{elementContext:"reference"}),s=ya(t,{altBoundary:!0}),c=p1(i,n),d=p1(s,a,o),f=f1(c),m=f1(d);t.modifiersData[r]={referenceClippingOffsets:c,popperEscapeOffsets:d,isReferenceHidden:f,hasPopperEscaped:m},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":f,"data-popper-escaped":m})}var nD,NF=z(()=>{rt(),Qs(),u(p1,"getSideOffsets"),u(f1,"isAnySideFullyClipped"),u(Vv,"hide"),nD={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:Vv}});function aD(e,t,r){var n=yt(e),a=[Ne,Pe].indexOf(n)>=0?-1:1,o=typeof r=="function"?r(Object.assign({},t,{placement:e})):r,i=o[0],s=o[1];return i=i||0,s=(s||0)*a,[Ne,Qe].indexOf(n)>=0?{x:s,y:i}:{x:i,y:s}}function Uv(e){var t=e.state,r=e.options,n=e.name,a=r.offset,o=a===void 0?[0,0]:a,i=xf.reduce(function(f,m){return f[m]=aD(m,t.rects,o),f},{}),s=i[t.placement],c=s.x,d=s.y;t.modifiersData.popperOffsets!=null&&(t.modifiersData.popperOffsets.x+=c,t.modifiersData.popperOffsets.y+=d),t.modifiersData[n]=i}var oD,HF=z(()=>{Cn(),rt(),u(aD,"distanceAndSkiddingToXY"),u(Uv,"offset"),oD={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:Uv}});function qv(e){var t=e.state,r=e.name;t.modifiersData[r]=Mf({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})}var iD,$F=z(()=>{Q6(),u(qv,"popperOffsets"),iD={name:"popperOffsets",enabled:!0,phase:"read",fn:qv,data:{}}});function lD(e){return e==="x"?"y":"x"}var jF=z(()=>{u(lD,"getAltAxis")});function Wv(e){var t=e.state,r=e.options,n=e.name,a=r.mainAxis,o=a===void 0?!0:a,i=r.altAxis,s=i===void 0?!1:i,c=r.boundary,d=r.rootBoundary,f=r.altBoundary,m=r.padding,p=r.tether,h=p===void 0?!0:p,g=r.tetherOffset,y=g===void 0?0:g,b=ya(t,{boundary:c,rootBoundary:d,padding:m,altBoundary:f}),C=yt(t.placement),E=mn(t.placement),D=!E,w=Ys(C),x=lD(w),S=t.modifiersData.popperOffsets,F=t.rects.reference,A=t.rects.popper,_=typeof y=="function"?y(Object.assign({},t.rects,{placement:t.placement})):y,R=typeof _=="number"?{mainAxis:_,altAxis:_}:Object.assign({mainAxis:0,altAxis:0},_),I=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,T={x:0,y:0};if(S){if(o){var L,P=w==="y"?Pe:Ne,M=w==="y"?Xe:Qe,N=w==="y"?"height":"width",q=S[w],W=q+b[P],G=q-b[M],J=h?-A[N]/2:0,te=E===ln?F[N]:A[N],ne=E===ln?-A[N]:-F[N],X=t.elements.arrow,ie=h&&X?Gs(X):{width:0,height:0},$=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:_f(),Z=$[P],re=$[M],fe=ra(0,F[N],ie[N]),xe=D?F[N]/2-J-fe-Z-R.mainAxis:te-fe-Z-R.mainAxis,At=D?-F[N]/2+J+fe+re+R.mainAxis:ne+fe+re+R.mainAxis,We=t.elements.arrow&&Ia(t.elements.arrow),ot=We?w==="y"?We.clientTop||0:We.clientLeft||0:0,H=(L=I==null?void 0:I[w])!=null?L:0,it=q+xe-H-ot,kt=q+At-H,Mr=ra(h?Ho(W,it):W,q,h?Cr(G,kt):G);S[w]=Mr,T[w]=Mr-q}if(s){var kn,_t=w==="x"?Pe:Ne,vi=w==="x"?Xe:Qe,Re=S[x],Or=x==="y"?"height":"width",Bt=Re+b[_t],_n=Re-b[vi],Rt=[Pe,Ne].indexOf(C)!==-1,Bn=(kn=I==null?void 0:I[x])!=null?kn:0,It=Rt?Bt:Re-F[Or]-A[Or]-Bn+R.altAxis,Se=Rt?Re+F[Or]+A[Or]-Bn-R.altAxis:_n,lt=h&&Rt?z6(It,Re,Se):ra(h?It:Bt,Re,h?Se:_n);S[x]=lt,T[x]=lt-Re}t.modifiersData[n]=T}}var sD,VF=z(()=>{rt(),Cn(),kf(),jF(),T6(),Ff(),hi(),Qs(),mi(),L6(),xn(),u(Wv,"preventOverflow"),sD={name:"preventOverflow",enabled:!0,phase:"main",fn:Wv,requiresIfExists:["offset"]}}),uD=z(()=>{});function cD(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}var UF=z(()=>{u(cD,"getHTMLElementScroll")});function dD(e){return e===qe(e)||!Ze(e)?Js(e):cD(e)}var qF=z(()=>{If(),Qt(),nt(),UF(),u(dD,"getNodeScroll")});function pD(e){var t=e.getBoundingClientRect(),r=fn(t.width)/e.offsetWidth||1,n=fn(t.height)/e.offsetHeight||1;return r!==1||n!==1}function fD(e,t,r){r===void 0&&(r=!1);var n=Ze(t),a=Ze(t)&&pD(t),o=pr(t),i=hn(e,a,r),s={scrollLeft:0,scrollTop:0},c={x:0,y:0};return(n||!n&&!r)&&((Et(t)!=="body"||Xs(o))&&(s=dD(t)),Ze(t)?(c=hn(t,!0),c.x+=t.clientLeft,c.y+=t.clientTop):o&&(c.x=Zs(o))),{x:i.left+s.scrollLeft-c.x,y:i.top+s.scrollTop-c.y,width:i.width,height:i.height}}var WF=z(()=>{di(),qF(),En(),nt(),zf(),Tr(),Tf(),xn(),u(pD,"isElementScaled"),u(fD,"getCompositeRect")});function hD(e){var t=new Map,r=new Set,n=[];e.forEach(function(o){t.set(o.name,o)});function a(o){r.add(o.name);var i=[].concat(o.requires||[],o.requiresIfExists||[]);i.forEach(function(s){if(!r.has(s)){var c=t.get(s);c&&a(c)}}),n.push(o)}return u(a,"sort"),e.forEach(function(o){r.has(o.name)||a(o)}),n}function mD(e){var t=hD(e);return F6.reduce(function(r,n){return r.concat(t.filter(function(a){return a.phase===n}))},[])}var GF=z(()=>{rt(),u(hD,"order"),u(mD,"orderModifiers")});function gD(e){var t;return function(){return t||(t=new Promise(function(r){Promise.resolve().then(function(){t=void 0,r(e())})})),t}}var KF=z(()=>{u(gD,"debounce")});function vD(e){var t=e.reduce(function(r,n){var a=r[n.name];return r[n.name]=a?Object.assign({},a,n,{options:Object.assign({},a.options,n.options),data:Object.assign({},a.data,n.data)}):n,r},{});return Object.keys(t).map(function(r){return t[r]})}var YF=z(()=>{u(vD,"mergeByName")});function h1(){for(var e=arguments.length,t=new Array(e),r=0;r{WF(),Ff(),K6(),hi(),GF(),KF(),YF(),nt(),m1={placement:"bottom",modifiers:[],strategy:"absolute"},u(h1,"areValidElements"),u(yD,"popperGenerator")}),Gv,bD,ZF=z(()=>{JF(),BF(),$F(),_F(),FF(),HF(),PF(),VF(),kF(),NF(),uD(),Gv=[V6,iD,j6,A6,oD,rD,sD,N6,nD],bD=yD({defaultModifiers:Gv})}),XF=z(()=>{rt(),uD(),ZF()}),QF=U((e,t)=>{var r=typeof Element<"u",n=typeof Map=="function",a=typeof Set=="function",o=typeof ArrayBuffer=="function"&&!!ArrayBuffer.isView;function i(s,c){if(s===c)return!0;if(s&&c&&typeof s=="object"&&typeof c=="object"){if(s.constructor!==c.constructor)return!1;var d,f,m;if(Array.isArray(s)){if(d=s.length,d!=c.length)return!1;for(f=d;f--!==0;)if(!i(s[f],c[f]))return!1;return!0}var p;if(n&&s instanceof Map&&c instanceof Map){if(s.size!==c.size)return!1;for(p=s.entries();!(f=p.next()).done;)if(!c.has(f.value[0]))return!1;for(p=s.entries();!(f=p.next()).done;)if(!i(f.value[1],c.get(f.value[0])))return!1;return!0}if(a&&s instanceof Set&&c instanceof Set){if(s.size!==c.size)return!1;for(p=s.entries();!(f=p.next()).done;)if(!c.has(f.value[0]))return!1;return!0}if(o&&ArrayBuffer.isView(s)&&ArrayBuffer.isView(c)){if(d=s.length,d!=c.length)return!1;for(f=d;f--!==0;)if(s[f]!==c[f])return!1;return!0}if(s.constructor===RegExp)return s.source===c.source&&s.flags===c.flags;if(s.valueOf!==Object.prototype.valueOf&&typeof s.valueOf=="function"&&typeof c.valueOf=="function")return s.valueOf()===c.valueOf();if(s.toString!==Object.prototype.toString&&typeof s.toString=="function"&&typeof c.toString=="function")return s.toString()===c.toString();if(m=Object.keys(s),d=m.length,d!==Object.keys(c).length)return!1;for(f=d;f--!==0;)if(!Object.prototype.hasOwnProperty.call(c,m[f]))return!1;if(r&&s instanceof Element)return!1;for(f=d;f--!==0;)if(!((m[f]==="_owner"||m[f]==="__v"||m[f]==="__o")&&s.$$typeof)&&!i(s[m[f]],c[m[f]]))return!1;return!0}return s!==s&&c!==c}u(i,"equal"),t.exports=u(function(s,c){try{return i(s,c)}catch(d){if((d.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw d}},"isEqual")}),Kv,Yv,wD,eA=z(()=>{XF(),Kv=Ce(QF()),SF(),Yv=[],wD=u(function(e,t,r){r===void 0&&(r={});var n=l.useRef(null),a={onFirstUpdate:r.onFirstUpdate,placement:r.placement||"bottom",strategy:r.strategy||"absolute",modifiers:r.modifiers||Yv},o=l.useState({styles:{popper:{position:a.strategy,left:"0",top:"0"},arrow:{position:"absolute"}},attributes:{}}),i=o[0],s=o[1],c=l.useMemo(function(){return{name:"updateState",enabled:!0,phase:"write",fn:u(function(m){var p=m.state,h=Object.keys(p.elements);J1.flushSync(function(){s({styles:o1(h.map(function(g){return[g,p.styles[g]||{}]})),attributes:o1(h.map(function(g){return[g,p.attributes[g]]}))})})},"fn"),requires:["computeStyles"]}},[]),d=l.useMemo(function(){var m={onFirstUpdate:a.onFirstUpdate,placement:a.placement,strategy:a.strategy,modifiers:[].concat(a.modifiers,[c,{name:"applyStyles",enabled:!1}])};return(0,Kv.default)(n.current,m)?n.current||m:(n.current=m,m)},[a.onFirstUpdate,a.placement,a.strategy,a.modifiers,c]),f=l.useRef();return i1(function(){f.current&&f.current.setOptions(d)},[d]),i1(function(){if(!(e==null||t==null)){var m=r.createPopper||bD,p=m(e,t,d);return f.current=p,function(){p.destroy(),f.current=null}}},[e,t,r.createPopper]),{state:f.current?f.current.state:null,styles:i.styles,attributes:i.attributes,update:f.current?f.current.update:null,forceUpdate:f.current?f.current.forceUpdate:null}},"usePopper")}),tA=z(()=>{eA()});function Of(e){var t=l.useRef(e);return t.current=e,l.useCallback(function(){return t.current},[])}function DD(e){var t=e.initial,r=e.value,n=e.onChange,a=n===void 0?CD:n;if(t===void 0&&r===void 0)throw new TypeError('Either "value" or "initial" variable must be set. Now both are undefined');var o=l.useState(t),i=o[0],s=o[1],c=Of(i),d=l.useCallback(function(m){var p=c(),h=typeof m=="function"?m(p):m;typeof h.persist=="function"&&h.persist(),s(h),typeof a=="function"&&a(h)},[c,a]),f=r!==void 0;return[f?r:i,f?a:d]}function g1(e,t){return e===void 0&&(e=0),t===void 0&&(t=0),function(){return{width:0,height:0,top:t,right:e,bottom:t,left:e,x:0,y:0,toJSON:u(function(){return null},"toJSON")}}}function ED(e,t){var r,n,a;e===void 0&&(e={}),t===void 0&&(t={});var o=Object.keys(y1).reduce(function(M,N){var q;return Te({},M,(q={},q[N]=M[N]!==void 0?M[N]:y1[N],q))},e),i=l.useMemo(function(){return[{name:"offset",options:{offset:o.offset}}]},Array.isArray(o.offset)?o.offset:[]),s=Te({},t,{placement:t.placement||o.placement,modifiers:t.modifiers||i}),c=l.useState(null),d=c[0],f=c[1],m=l.useState(null),p=m[0],h=m[1],g=DD({initial:o.defaultVisible,value:o.visible,onChange:o.onVisibleChange}),y=g[0],b=g[1],C=l.useRef();l.useEffect(function(){return function(){return clearTimeout(C.current)}},[]);var E=wD(o.followCursor?v1:d,p,s),D=E.styles,w=E.attributes,x=As(E,xD),S=x.update,F=Of({visible:y,triggerRef:d,tooltipRef:p,finalConfig:o}),A=l.useCallback(function(M){return Array.isArray(o.trigger)?o.trigger.includes(M):o.trigger===M},Array.isArray(o.trigger)?o.trigger:[o.trigger]),_=l.useCallback(function(){clearTimeout(C.current),C.current=window.setTimeout(function(){return b(!1)},o.delayHide)},[o.delayHide,b]),R=l.useCallback(function(){clearTimeout(C.current),C.current=window.setTimeout(function(){return b(!0)},o.delayShow)},[o.delayShow,b]),I=l.useCallback(function(){F().visible?_():R()},[F,_,R]);l.useEffect(function(){if(F().finalConfig.closeOnOutsideClick){var M=u(function(N){var q,W=F(),G=W.tooltipRef,J=W.triggerRef,te=(N.composedPath==null||(q=N.composedPath())==null?void 0:q[0])||N.target;te instanceof Node&&G!=null&&J!=null&&!G.contains(te)&&!J.contains(te)&&_()},"handleClickOutside");return document.addEventListener("mousedown",M),function(){return document.removeEventListener("mousedown",M)}}},[F,_]),l.useEffect(function(){if(!(d==null||!A("click")))return d.addEventListener("click",I),function(){return d.removeEventListener("click",I)}},[d,A,I]),l.useEffect(function(){if(!(d==null||!A("double-click")))return d.addEventListener("dblclick",I),function(){return d.removeEventListener("dblclick",I)}},[d,A,I]),l.useEffect(function(){if(!(d==null||!A("right-click"))){var M=u(function(N){N.preventDefault(),I()},"preventDefaultAndToggle");return d.addEventListener("contextmenu",M),function(){return d.removeEventListener("contextmenu",M)}}},[d,A,I]),l.useEffect(function(){if(!(d==null||!A("focus")))return d.addEventListener("focus",R),d.addEventListener("blur",_),function(){d.removeEventListener("focus",R),d.removeEventListener("blur",_)}},[d,A,R,_]),l.useEffect(function(){if(!(d==null||!A("hover")))return d.addEventListener("mouseenter",R),d.addEventListener("mouseleave",_),function(){d.removeEventListener("mouseenter",R),d.removeEventListener("mouseleave",_)}},[d,A,R,_]),l.useEffect(function(){if(!(p==null||!A("hover")||!F().finalConfig.interactive))return p.addEventListener("mouseenter",R),p.addEventListener("mouseleave",_),function(){p.removeEventListener("mouseenter",R),p.removeEventListener("mouseleave",_)}},[p,A,R,_,F]);var T=x==null||(r=x.state)==null||(n=r.modifiersData)==null||(a=n.hide)==null?void 0:a.isReferenceHidden;l.useEffect(function(){o.closeOnTriggerHidden&&T&&_()},[o.closeOnTriggerHidden,_,T]),l.useEffect(function(){if(!o.followCursor||d==null)return;function M(N){var q=N.clientX,W=N.clientY;v1.getBoundingClientRect=g1(q,W),S==null||S()}return u(M,"setMousePosition"),d.addEventListener("mousemove",M),function(){return d.removeEventListener("mousemove",M)}},[o.followCursor,d,S]),l.useEffect(function(){if(!(p==null||S==null||o.mutationObserverOptions==null)){var M=new MutationObserver(S);return M.observe(p,o.mutationObserverOptions),function(){return M.disconnect()}}},[o.mutationObserverOptions,p,S]);var L=u(function(M){return M===void 0&&(M={}),Te({},M,{style:Te({},M.style,D.popper)},w.popper,{"data-popper-interactive":o.interactive})},"getTooltipProps"),P=u(function(M){return M===void 0&&(M={}),Te({},M,w.arrow,{style:Te({},M.style,D.arrow),"data-popper-arrow":!0})},"getArrowProps");return Te({getArrowProps:P,getTooltipProps:L,setTooltipRef:h,setTriggerRef:f,tooltipRef:p,triggerRef:d,visible:y},x)}var CD,xD,v1,y1,rA=z(()=>{gp(),xs(),tA(),u(Of,"useGetLatest"),CD=u(function(){},"noop"),u(DD,"useControlledState"),u(g1,"generateBoundingClientRect"),xD=["styles","attributes"],v1={getBoundingClientRect:g1()},y1={closeOnOutsideClick:!0,closeOnTriggerHidden:!1,defaultVisible:!1,delayHide:0,delayShow:0,followCursor:!1,interactive:!1,mutationObserverOptions:{attributes:!0,childList:!0,subtree:!0},offset:[0,6],trigger:"hover"},u(ED,"usePopperTooltip")}),Jv,Ke,ar,Zv,Xv,b1,nA=z(()=>{Jv=Ce(Fs(),1),Ke=(0,Jv.default)(1e3)((e,t,r,n=0)=>t.split("-")[0]===e?r:n),ar=8,Zv=k.div({position:"absolute",borderStyle:"solid"},({placement:e})=>{let t=0,r=0;switch(!0){case(e.startsWith("left")||e.startsWith("right")):{r=8;break}case(e.startsWith("top")||e.startsWith("bottom")):{t=8;break}}return{transform:`translate3d(${t}px, ${r}px, 0px)`}},({theme:e,color:t,placement:r})=>({bottom:`${Ke("top",r,`${ar*-1}px`,"auto")}`,top:`${Ke("bottom",r,`${ar*-1}px`,"auto")}`,right:`${Ke("left",r,`${ar*-1}px`,"auto")}`,left:`${Ke("right",r,`${ar*-1}px`,"auto")}`,borderBottomWidth:`${Ke("top",r,"0",ar)}px`,borderTopWidth:`${Ke("bottom",r,"0",ar)}px`,borderRightWidth:`${Ke("left",r,"0",ar)}px`,borderLeftWidth:`${Ke("right",r,"0",ar)}px`,borderTopColor:Ke("top",r,e.color[t]||t||e.base==="light"?Ha(e.background.app):e.background.app,"transparent"),borderBottomColor:Ke("bottom",r,e.color[t]||t||e.base==="light"?Ha(e.background.app):e.background.app,"transparent"),borderLeftColor:Ke("left",r,e.color[t]||t||e.base==="light"?Ha(e.background.app):e.background.app,"transparent"),borderRightColor:Ke("right",r,e.color[t]||t||e.base==="light"?Ha(e.background.app):e.background.app,"transparent")})),Xv=k.div(({hidden:e})=>({display:e?"none":"inline-block",zIndex:2147483647}),({theme:e,color:t,hasChrome:r})=>r?{background:t&&e.color[t]||t||e.base==="light"?Ha(e.background.app):e.background.app,filter:` - drop-shadow(0px 5px 5px rgba(0,0,0,0.05)) - drop-shadow(0 1px 3px rgba(0,0,0,0.1)) - `,borderRadius:e.appBorderRadius+2,fontSize:e.typography.size.s1}:{}),b1=v.forwardRef(({placement:e="top",hasChrome:t=!0,children:r,arrowProps:n={},tooltipRef:a,color:o,withArrows:i,...s},c)=>v.createElement(Xv,{"data-testid":"tooltip",hasChrome:t,ref:c,...s,color:o},t&&i&&v.createElement(Zv,{placement:e,...n,color:o}),r)),b1.displayName="Tooltip"}),Pf={};Sa(Pf,{WithToolTipState:()=>cs,WithTooltip:()=>cs,WithTooltipPure:()=>w1});var eo,Qv,e4,w1,cs,Nf=z(()=>{mp(),rA(),nA(),{document:eo}=Ss,Qv=k.div` - display: inline-block; - cursor: ${e=>e.trigger==="hover"||e.trigger.includes("hover")?"default":"pointer"}; -`,e4=k.g` - cursor: ${e=>e.trigger==="hover"||e.trigger.includes("hover")?"default":"pointer"}; -`,w1=u(({svg:e=!1,trigger:t="click",closeOnOutsideClick:r=!1,placement:n="top",modifiers:a=[{name:"preventOverflow",options:{padding:8}},{name:"offset",options:{offset:[8,8]}},{name:"arrow",options:{padding:8}}],hasChrome:o=!0,defaultVisible:i=!1,withArrows:s,offset:c,tooltip:d,children:f,closeOnTriggerHidden:m,mutationObserverOptions:p,delayHide:h,visible:g,interactive:y,delayShow:b,strategy:C,followCursor:E,onVisibleChange:D,...w})=>{let x=e?e4:Qv,{getArrowProps:S,getTooltipProps:F,setTooltipRef:A,setTriggerRef:_,visible:R,state:I}=ED({trigger:t,placement:n,defaultVisible:i,delayHide:h,interactive:y,closeOnOutsideClick:r,closeOnTriggerHidden:m,onVisibleChange:D,delayShow:b,followCursor:E,mutationObserverOptions:p,visible:g,offset:c},{modifiers:a,strategy:C}),T=R?v.createElement(b1,{placement:I==null?void 0:I.placement,ref:A,hasChrome:o,arrowProps:S(),withArrows:s,...F()},typeof d=="function"?d({onHide:u(()=>D(!1),"onHide")}):d):null;return v.createElement(v.Fragment,null,v.createElement(x,{trigger:t,ref:_,...w},f),R&&J4.createPortal(T,eo.body))},"WithTooltipPure"),cs=u(({startOpen:e=!1,onVisibleChange:t,...r})=>{let[n,a]=l.useState(e),o=l.useCallback(i=>{t&&t(i)===!1||a(i)},[t]);return l.useEffect(()=>{let i=u(()=>o(!1),"hide");eo.addEventListener("keydown",i,!1);let s=Array.from(eo.getElementsByTagName("iframe")),c=[];return s.forEach(d=>{let f=u(()=>{try{d.contentWindow.document&&(d.contentWindow.document.addEventListener("click",i),c.push(()=>{try{d.contentWindow.document.removeEventListener("click",i)}catch{}}))}catch{}},"bind");f(),d.addEventListener("load",f),c.push(()=>{d.removeEventListener("load",f)})}),()=>{eo.removeEventListener("keydown",i),c.forEach(d=>{d()})}}),v.createElement(w1,{...r,visible:n,onVisibleChange:o})},"WithToolTipState")}),le=u(({...e},t)=>{let r=[e.class,e.className];return delete e.class,e.className=["sbdocs",`sbdocs-${t}`,...r].filter(Boolean).join(" "),e},"nameSpaceClassNames");xs();sS();hp();function SD(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,ha(e,t)}u(SD,"_inheritsLoose");uS();hp();function FD(e){try{return Function.toString.call(e).indexOf("[native code]")!==-1}catch{return typeof e=="function"}}u(FD,"_isNativeFunction");function Hf(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(Hf=u(function(){return!!e},"_isNativeReflectConstruct"))()}u(Hf,"_isNativeReflectConstruct");hp();function AD(e,t,r){if(Hf())return Reflect.construct.apply(null,arguments);var n=[null];n.push.apply(n,t);var a=new(e.bind.apply(e,n));return r&&ha(a,r.prototype),a}u(AD,"_construct");function ds(e){var t=typeof Map=="function"?new Map:void 0;return ds=u(function(r){if(r===null||!FD(r))return r;if(typeof r!="function")throw new TypeError("Super expression must either be null or a function");if(t!==void 0){if(t.has(r))return t.get(r);t.set(r,n)}function n(){return AD(r,arguments,Bl(this).constructor)}return u(n,"Wrapper"),n.prototype=Object.create(r.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),ha(n,r)},"_wrapNativeSuper"),ds(e)}u(ds,"_wrapNativeSuper");var aA={1:`Passed invalid arguments to hsl, please pass multiple numbers e.g. hsl(360, 0.75, 0.4) or an object e.g. rgb({ hue: 255, saturation: 0.4, lightness: 0.75 }). - -`,2:`Passed invalid arguments to hsla, please pass multiple numbers e.g. hsla(360, 0.75, 0.4, 0.7) or an object e.g. rgb({ hue: 255, saturation: 0.4, lightness: 0.75, alpha: 0.7 }). - -`,3:`Passed an incorrect argument to a color function, please pass a string representation of a color. - -`,4:`Couldn't generate valid rgb string from %s, it returned %s. - -`,5:`Couldn't parse the color string. Please provide the color as a string in hex, rgb, rgba, hsl or hsla notation. - -`,6:`Passed invalid arguments to rgb, please pass multiple numbers e.g. rgb(255, 205, 100) or an object e.g. rgb({ red: 255, green: 205, blue: 100 }). - -`,7:`Passed invalid arguments to rgba, please pass multiple numbers e.g. rgb(255, 205, 100, 0.75) or an object e.g. rgb({ red: 255, green: 205, blue: 100, alpha: 0.75 }). - -`,8:`Passed invalid argument to toColorString, please pass a RgbColor, RgbaColor, HslColor or HslaColor object. - -`,9:`Please provide a number of steps to the modularScale helper. - -`,10:`Please pass a number or one of the predefined scales to the modularScale helper as the ratio. - -`,11:`Invalid value passed as base to modularScale, expected number or em string but got "%s" - -`,12:`Expected a string ending in "px" or a number passed as the first argument to %s(), got "%s" instead. - -`,13:`Expected a string ending in "px" or a number passed as the second argument to %s(), got "%s" instead. - -`,14:`Passed invalid pixel value ("%s") to %s(), please pass a value like "12px" or 12. - -`,15:`Passed invalid base value ("%s") to %s(), please pass a value like "12px" or 12. - -`,16:`You must provide a template to this method. - -`,17:`You passed an unsupported selector state to this method. - -`,18:`minScreen and maxScreen must be provided as stringified numbers with the same units. - -`,19:`fromSize and toSize must be provided as stringified numbers with the same units. - -`,20:`expects either an array of objects or a single object with the properties prop, fromSize, and toSize. - -`,21:"expects the objects in the first argument array to have the properties `prop`, `fromSize`, and `toSize`.\n\n",22:"expects the first argument object to have the properties `prop`, `fromSize`, and `toSize`.\n\n",23:`fontFace expects a name of a font-family. - -`,24:`fontFace expects either the path to the font file(s) or a name of a local copy. - -`,25:`fontFace expects localFonts to be an array. - -`,26:`fontFace expects fileFormats to be an array. - -`,27:`radialGradient requries at least 2 color-stops to properly render. - -`,28:`Please supply a filename to retinaImage() as the first argument. - -`,29:`Passed invalid argument to triangle, please pass correct pointingDirection e.g. 'right'. - -`,30:"Passed an invalid value to `height` or `width`. Please provide a pixel based unit.\n\n",31:`The animation shorthand only takes 8 arguments. See the specification for more information: http://mdn.io/animation - -`,32:`To pass multiple animations please supply them in arrays, e.g. animation(['rotate', '2s'], ['move', '1s']) -To pass a single animation please supply them in simple values, e.g. animation('rotate', '2s') - -`,33:`The animation shorthand arrays can only have 8 elements. See the specification for more information: http://mdn.io/animation - -`,34:`borderRadius expects a radius value as a string or number as the second argument. - -`,35:`borderRadius expects one of "top", "bottom", "left" or "right" as the first argument. - -`,36:`Property must be a string value. - -`,37:`Syntax Error at %s. - -`,38:`Formula contains a function that needs parentheses at %s. - -`,39:`Formula is missing closing parenthesis at %s. - -`,40:`Formula has too many closing parentheses at %s. - -`,41:`All values in a formula must have the same unit or be unitless. - -`,42:`Please provide a number of steps to the modularScale helper. - -`,43:`Please pass a number or one of the predefined scales to the modularScale helper as the ratio. - -`,44:`Invalid value passed as base to modularScale, expected number or em/rem string but got %s. - -`,45:`Passed invalid argument to hslToColorString, please pass a HslColor or HslaColor object. - -`,46:`Passed invalid argument to rgbToColorString, please pass a RgbColor or RgbaColor object. - -`,47:`minScreen and maxScreen must be provided as stringified numbers with the same units. - -`,48:`fromSize and toSize must be provided as stringified numbers with the same units. - -`,49:`Expects either an array of objects or a single object with the properties prop, fromSize, and toSize. - -`,50:`Expects the objects in the first argument array to have the properties prop, fromSize, and toSize. - -`,51:`Expects the first argument object to have the properties prop, fromSize, and toSize. - -`,52:`fontFace expects either the path to the font file(s) or a name of a local copy. - -`,53:`fontFace expects localFonts to be an array. - -`,54:`fontFace expects fileFormats to be an array. - -`,55:`fontFace expects a name of a font-family. - -`,56:`linearGradient requries at least 2 color-stops to properly render. - -`,57:`radialGradient requries at least 2 color-stops to properly render. - -`,58:`Please supply a filename to retinaImage() as the first argument. - -`,59:`Passed invalid argument to triangle, please pass correct pointingDirection e.g. 'right'. - -`,60:"Passed an invalid value to `height` or `width`. Please provide a pixel based unit.\n\n",61:`Property must be a string value. - -`,62:`borderRadius expects a radius value as a string or number as the second argument. - -`,63:`borderRadius expects one of "top", "bottom", "left" or "right" as the first argument. - -`,64:`The animation shorthand only takes 8 arguments. See the specification for more information: http://mdn.io/animation. - -`,65:`To pass multiple animations please supply them in arrays, e.g. animation(['rotate', '2s'], ['move', '1s'])\\nTo pass a single animation please supply them in simple values, e.g. animation('rotate', '2s'). - -`,66:`The animation shorthand arrays can only have 8 elements. See the specification for more information: http://mdn.io/animation. - -`,67:`You must provide a template to this method. - -`,68:`You passed an unsupported selector state to this method. - -`,69:`Expected a string ending in "px" or a number passed as the first argument to %s(), got %s instead. - -`,70:`Expected a string ending in "px" or a number passed as the second argument to %s(), got %s instead. - -`,71:`Passed invalid pixel value %s to %s(), please pass a value like "12px" or 12. - -`,72:`Passed invalid base value %s to %s(), please pass a value like "12px" or 12. - -`,73:`Please provide a valid CSS variable. - -`,74:`CSS variable not found and no default was provided. - -`,75:`important requires a valid style object, got a %s instead. - -`,76:`fromSize and toSize must be provided as stringified numbers with the same units as minScreen and maxScreen. - -`,77:`remToPx expects a value in "rem" but you provided it in "%s". - -`,78:`base must be set in "px" or "%" but you set it in "%s". -`};function kD(){for(var e=arguments.length,t=new Array(e),r=0;r1?a-1:0),i=1;i=0&&a<1?(s=o,c=i):a>=1&&a<2?(s=i,c=o):a>=2&&a<3?(c=o,d=i):a>=3&&a<4?(c=i,d=o):a>=4&&a<5?(s=i,d=o):a>=5&&a<6&&(s=o,d=i);var f=r-o/2,m=s+f,p=c+f,h=d+f;return n(m,p,h)}u(ba,"hslToRgb");var t4={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"00ffff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"0000ff",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"00ffff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"ff00ff",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"639",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"};function BD(e){if(typeof e!="string")return e;var t=e.toLowerCase();return t4[t]?"#"+t4[t]:e}u(BD,"nameToHex");var oA=/^#[a-fA-F0-9]{6}$/,iA=/^#[a-fA-F0-9]{8}$/,lA=/^#[a-fA-F0-9]{3}$/,sA=/^#[a-fA-F0-9]{4}$/,C0=/^rgb\(\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*\)$/i,uA=/^rgb(?:a)?\(\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,|\/)\s*([-+]?\d*[.]?\d+[%]?)\s*\)$/i,cA=/^hsl\(\s*(\d{0,3}[.]?[0-9]+(?:deg)?)\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*\)$/i,dA=/^hsl(?:a)?\(\s*(\d{0,3}[.]?[0-9]+(?:deg)?)\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,|\/)\s*([-+]?\d*[.]?\d+[%]?)\s*\)$/i;function eu(e){if(typeof e!="string")throw new $t(3);var t=BD(e);if(t.match(oA))return{red:parseInt(""+t[1]+t[2],16),green:parseInt(""+t[3]+t[4],16),blue:parseInt(""+t[5]+t[6],16)};if(t.match(iA)){var r=parseFloat((parseInt(""+t[7]+t[8],16)/255).toFixed(2));return{red:parseInt(""+t[1]+t[2],16),green:parseInt(""+t[3]+t[4],16),blue:parseInt(""+t[5]+t[6],16),alpha:r}}if(t.match(lA))return{red:parseInt(""+t[1]+t[1],16),green:parseInt(""+t[2]+t[2],16),blue:parseInt(""+t[3]+t[3],16)};if(t.match(sA)){var n=parseFloat((parseInt(""+t[4]+t[4],16)/255).toFixed(2));return{red:parseInt(""+t[1]+t[1],16),green:parseInt(""+t[2]+t[2],16),blue:parseInt(""+t[3]+t[3],16),alpha:n}}var a=C0.exec(t);if(a)return{red:parseInt(""+a[1],10),green:parseInt(""+a[2],10),blue:parseInt(""+a[3],10)};var o=uA.exec(t.substring(0,50));if(o)return{red:parseInt(""+o[1],10),green:parseInt(""+o[2],10),blue:parseInt(""+o[3],10),alpha:parseFloat(""+o[4])>1?parseFloat(""+o[4])/100:parseFloat(""+o[4])};var i=cA.exec(t);if(i){var s=parseInt(""+i[1],10),c=parseInt(""+i[2],10)/100,d=parseInt(""+i[3],10)/100,f="rgb("+ba(s,c,d)+")",m=C0.exec(f);if(!m)throw new $t(4,t,f);return{red:parseInt(""+m[1],10),green:parseInt(""+m[2],10),blue:parseInt(""+m[3],10)}}var p=dA.exec(t.substring(0,50));if(p){var h=parseInt(""+p[1],10),g=parseInt(""+p[2],10)/100,y=parseInt(""+p[3],10)/100,b="rgb("+ba(h,g,y)+")",C=C0.exec(b);if(!C)throw new $t(4,t,b);return{red:parseInt(""+C[1],10),green:parseInt(""+C[2],10),blue:parseInt(""+C[3],10),alpha:parseFloat(""+p[4])>1?parseFloat(""+p[4])/100:parseFloat(""+p[4])}}throw new $t(5)}u(eu,"parseToRgb");function RD(e){var t=e.red/255,r=e.green/255,n=e.blue/255,a=Math.max(t,r,n),o=Math.min(t,r,n),i=(a+o)/2;if(a===o)return e.alpha!==void 0?{hue:0,saturation:0,lightness:i,alpha:e.alpha}:{hue:0,saturation:0,lightness:i};var s,c=a-o,d=i>.5?c/(2-a-o):c/(a+o);switch(a){case t:s=(r-n)/c+(r=1?$o(e,t,r):"rgba("+ba(e,t,r)+","+n+")";if(typeof e=="object"&&t===void 0&&r===void 0&&n===void 0)return e.alpha>=1?$o(e.hue,e.saturation,e.lightness):"rgba("+ba(e.hue,e.saturation,e.lightness)+","+e.alpha+")";throw new $t(2)}u(TD,"hsla");function ps(e,t,r){if(typeof e=="number"&&typeof t=="number"&&typeof r=="number")return D1("#"+br(e)+br(t)+br(r));if(typeof e=="object"&&t===void 0&&r===void 0)return D1("#"+br(e.red)+br(e.green)+br(e.blue));throw new $t(6)}u(ps,"rgb");function jo(e,t,r,n){if(typeof e=="string"&&typeof t=="number"){var a=eu(e);return"rgba("+a.red+","+a.green+","+a.blue+","+t+")"}else{if(typeof e=="number"&&typeof t=="number"&&typeof r=="number"&&typeof n=="number")return n>=1?ps(e,t,r):"rgba("+e+","+t+","+r+","+n+")";if(typeof e=="object"&&t===void 0&&r===void 0&&n===void 0)return e.alpha>=1?ps(e.red,e.green,e.blue):"rgba("+e.red+","+e.green+","+e.blue+","+e.alpha+")"}throw new $t(7)}u(jo,"rgba");var fA=u(function(e){return typeof e.red=="number"&&typeof e.green=="number"&&typeof e.blue=="number"&&(typeof e.alpha!="number"||typeof e.alpha>"u")},"isRgb"),hA=u(function(e){return typeof e.red=="number"&&typeof e.green=="number"&&typeof e.blue=="number"&&typeof e.alpha=="number"},"isRgba"),mA=u(function(e){return typeof e.hue=="number"&&typeof e.saturation=="number"&&typeof e.lightness=="number"&&(typeof e.alpha!="number"||typeof e.alpha>"u")},"isHsl"),gA=u(function(e){return typeof e.hue=="number"&&typeof e.saturation=="number"&&typeof e.lightness=="number"&&typeof e.alpha=="number"},"isHsla");function jf(e){if(typeof e!="object")throw new $t(8);if(hA(e))return jo(e);if(fA(e))return ps(e);if(gA(e))return TD(e);if(mA(e))return zD(e);throw new $t(8)}u(jf,"toColorString");function Vf(e,t,r){return u(function(){var n=r.concat(Array.prototype.slice.call(arguments));return n.length>=t?e.apply(this,n):Vf(e,t,n)},"fn")}u(Vf,"curried");function tu(e){return Vf(e,e.length,[])}u(tu,"curry");function ru(e,t,r){return Math.max(e,Math.min(t,r))}u(ru,"guard");function LD(e,t){if(t==="transparent")return t;var r=$f(t);return jf(Te({},r,{lightness:ru(0,1,r.lightness-parseFloat(e))}))}u(LD,"darken");var vA=tu(LD),Kn=vA;function MD(e,t){if(t==="transparent")return t;var r=$f(t);return jf(Te({},r,{lightness:ru(0,1,r.lightness+parseFloat(e))}))}u(MD,"lighten");var yA=tu(MD),r4=yA;function OD(e,t){if(t==="transparent")return t;var r=eu(t),n=typeof r.alpha=="number"?r.alpha:1,a=Te({},r,{alpha:ru(0,1,+(n*100-parseFloat(e)*100).toFixed(2)/100)});return jo(a)}u(OD,"transparentize");var bA=tu(OD),gt=bA,za=u(({theme:e})=>({margin:"20px 0 8px",padding:0,cursor:"text",position:"relative",color:e.color.defaultText,"&:first-of-type":{marginTop:0,paddingTop:0},"&:hover a.anchor":{textDecoration:"none"},"& tt, & code":{fontSize:"inherit"}}),"headerCommon"),Lr=u(({theme:e})=>({lineHeight:1,margin:"0 2px",padding:"3px 5px",whiteSpace:"nowrap",borderRadius:3,fontSize:e.typography.size.s2-1,border:e.base==="light"?`1px solid ${e.color.mediumlight}`:`1px solid ${e.color.darker}`,color:e.base==="light"?gt(.1,e.color.defaultText):gt(.3,e.color.defaultText),backgroundColor:e.base==="light"?e.color.lighter:e.color.border}),"codeCommon"),se=u(({theme:e})=>({fontFamily:e.typography.fonts.base,fontSize:e.typography.size.s3,margin:0,WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",WebkitTapHighlightColor:"rgba(0, 0, 0, 0)",WebkitOverflowScrolling:"touch"}),"withReset"),Sn={margin:"16px 0"},PD=k.div(se),wA=u(({href:e="",...t})=>{let r=/^\//.test(e)?`./?path=${e}`:e,n=/^#.*/.test(e)?"_self":"_top";return v.createElement("a",{href:r,target:n,...t})},"Link"),DA=k(wA)(se,({theme:e})=>({fontSize:"inherit",lineHeight:"24px",color:e.color.secondary,textDecoration:"none","&.absent":{color:"#cc0000"},"&.anchor":{display:"block",paddingLeft:30,marginLeft:-30,cursor:"pointer",position:"absolute",top:0,left:0,bottom:0}})),EA=k.blockquote(se,Sn,({theme:e})=>({borderLeft:`4px solid ${e.color.medium}`,padding:"0 15px",color:e.color.dark,"& > :first-of-type":{marginTop:0},"& > :last-child":{marginBottom:0}}));Bs();var CA=u(e=>typeof e=="string","isReactChildString"),xA=/[\n\r]/g,SA=k.code(({theme:e})=>({fontFamily:e.typography.fonts.mono,WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",display:"inline-block",paddingLeft:2,paddingRight:2,verticalAlign:"baseline",color:"inherit"}),Lr),FA=k(Fo)(({theme:e})=>({fontFamily:e.typography.fonts.mono,fontSize:`${e.typography.size.s2-1}px`,lineHeight:"19px",margin:"25px 0 40px",borderRadius:e.appBorderRadius,boxShadow:e.base==="light"?"rgba(0, 0, 0, 0.10) 0 1px 3px 0":"rgba(0, 0, 0, 0.20) 0 2px 5px 0","pre.prismjs":{padding:20,background:"inherit"}})),ND=u(({className:e,children:t,...r})=>{let n=(e||"").match(/lang-(\S+)/),a=l.Children.toArray(t);return a.filter(CA).some(o=>o.match(xA))?v.createElement(FA,{bordered:!0,copyable:!0,language:(n==null?void 0:n[1])??"text",format:!1,...r},t):v.createElement(SA,{...r,className:e},a)},"Code"),AA=k.dl(se,Sn,{padding:0,"& dt":{fontSize:"14px",fontWeight:"bold",fontStyle:"italic",padding:0,margin:"16px 0 4px"},"& dt:first-of-type":{padding:0},"& dt > :first-of-type":{marginTop:0},"& dt > :last-child":{marginBottom:0},"& dd":{margin:"0 0 16px",padding:"0 15px"},"& dd > :first-of-type":{marginTop:0},"& dd > :last-child":{marginBottom:0}}),kA=k.div(se),_A=k.h1(se,za,({theme:e})=>({fontSize:`${e.typography.size.l1}px`,fontWeight:e.typography.weight.bold})),HD=k.h2(se,za,({theme:e})=>({fontSize:`${e.typography.size.m2}px`,paddingBottom:4,borderBottom:`1px solid ${e.appBorderColor}`})),$D=k.h3(se,za,({theme:e})=>({fontSize:`${e.typography.size.m1}px`})),BA=k.h4(se,za,({theme:e})=>({fontSize:`${e.typography.size.s3}px`})),RA=k.h5(se,za,({theme:e})=>({fontSize:`${e.typography.size.s2}px`})),IA=k.h6(se,za,({theme:e})=>({fontSize:`${e.typography.size.s2}px`,color:e.color.dark})),zA=k.hr(({theme:e})=>({border:"0 none",borderTop:`1px solid ${e.appBorderColor}`,height:4,padding:0})),TA=k.img({maxWidth:"100%"}),LA=k.li(se,({theme:e})=>({fontSize:e.typography.size.s2,color:e.color.defaultText,lineHeight:"24px","& + li":{marginTop:".25em"},"& ul, & ol":{marginTop:".25em",marginBottom:0},"& code":Lr({theme:e})})),MA={paddingLeft:30,"& :first-of-type":{marginTop:0},"& :last-child":{marginBottom:0}},OA=k.ol(se,Sn,MA,{listStyle:"decimal"}),PA=k.p(se,Sn,({theme:e})=>({fontSize:e.typography.size.s2,lineHeight:"24px",color:e.color.defaultText,"& code":Lr({theme:e})})),NA=k.pre(se,Sn,({theme:e})=>({fontFamily:e.typography.fonts.mono,WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",lineHeight:"18px",padding:"11px 1rem",whiteSpace:"pre-wrap",color:"inherit",borderRadius:3,margin:"1rem 0","&:not(.prismjs)":{background:"transparent",border:"none",borderRadius:0,padding:0,margin:0},"& pre, &.prismjs":{padding:15,margin:0,whiteSpace:"pre-wrap",color:"inherit",fontSize:"13px",lineHeight:"19px",code:{color:"inherit",fontSize:"inherit"}},"& code":{whiteSpace:"pre"},"& code, & tt":{border:"none"}})),HA=k.span(se,({theme:e})=>({"&.frame":{display:"block",overflow:"hidden","& > span":{border:`1px solid ${e.color.medium}`,display:"block",float:"left",overflow:"hidden",margin:"13px 0 0",padding:7,width:"auto"},"& span img":{display:"block",float:"left"},"& span span":{clear:"both",color:e.color.darkest,display:"block",padding:"5px 0 0"}},"&.align-center":{display:"block",overflow:"hidden",clear:"both","& > span":{display:"block",overflow:"hidden",margin:"13px auto 0",textAlign:"center"},"& span img":{margin:"0 auto",textAlign:"center"}},"&.align-right":{display:"block",overflow:"hidden",clear:"both","& > span":{display:"block",overflow:"hidden",margin:"13px 0 0",textAlign:"right"},"& span img":{margin:0,textAlign:"right"}},"&.float-left":{display:"block",marginRight:13,overflow:"hidden",float:"left","& span":{margin:"13px 0 0"}},"&.float-right":{display:"block",marginLeft:13,overflow:"hidden",float:"right","& > span":{display:"block",overflow:"hidden",margin:"13px auto 0",textAlign:"right"}}})),$A=k.title(Lr),jA=k.table(se,Sn,({theme:e})=>({fontSize:e.typography.size.s2,lineHeight:"24px",padding:0,borderCollapse:"collapse","& tr":{borderTop:`1px solid ${e.appBorderColor}`,backgroundColor:e.appContentBg,margin:0,padding:0},"& tr:nth-of-type(2n)":{backgroundColor:e.base==="dark"?e.color.darker:e.color.lighter},"& tr th":{fontWeight:"bold",color:e.color.defaultText,border:`1px solid ${e.appBorderColor}`,margin:0,padding:"6px 13px"},"& tr td":{border:`1px solid ${e.appBorderColor}`,color:e.color.defaultText,margin:0,padding:"6px 13px"},"& tr th :first-of-type, & tr td :first-of-type":{marginTop:0},"& tr th :last-child, & tr td :last-child":{marginBottom:0}})),VA={paddingLeft:30,"& :first-of-type":{marginTop:0},"& :last-child":{marginBottom:0}},UA=k.ul(se,Sn,VA,{listStyle:"disc"}),jD={h1:u(e=>v.createElement(_A,{...le(e,"h1")}),"h1"),h2:u(e=>v.createElement(HD,{...le(e,"h2")}),"h2"),h3:u(e=>v.createElement($D,{...le(e,"h3")}),"h3"),h4:u(e=>v.createElement(BA,{...le(e,"h4")}),"h4"),h5:u(e=>v.createElement(RA,{...le(e,"h5")}),"h5"),h6:u(e=>v.createElement(IA,{...le(e,"h6")}),"h6"),pre:u(e=>v.createElement(NA,{...le(e,"pre")}),"pre"),a:u(e=>v.createElement(DA,{...le(e,"a")}),"a"),hr:u(e=>v.createElement(zA,{...le(e,"hr")}),"hr"),dl:u(e=>v.createElement(AA,{...le(e,"dl")}),"dl"),blockquote:u(e=>v.createElement(EA,{...le(e,"blockquote")}),"blockquote"),table:u(e=>v.createElement(jA,{...le(e,"table")}),"table"),img:u(e=>v.createElement(TA,{...le(e,"img")}),"img"),div:u(e=>v.createElement(kA,{...le(e,"div")}),"div"),span:u(e=>v.createElement(HA,{...le(e,"span")}),"span"),li:u(e=>v.createElement(LA,{...le(e,"li")}),"li"),ul:u(e=>v.createElement(UA,{...le(e,"ul")}),"ul"),ol:u(e=>v.createElement(OA,{...le(e,"ol")}),"ol"),p:u(e=>v.createElement(PA,{...le(e,"p")}),"p"),code:u(e=>v.createElement(ND,{...le(e,"code")}),"code"),tt:u(e=>v.createElement($A,{...le(e,"tt")}),"tt"),resetwrapper:u(e=>v.createElement(PD,{...le(e,"resetwrapper")}),"resetwrapper")},qA=k.div(({theme:e})=>({display:"inline-block",fontSize:11,lineHeight:"12px",alignSelf:"center",padding:"4px 12px",borderRadius:"3em",fontWeight:e.typography.weight.bold}),{svg:{height:12,width:12,marginRight:4,marginTop:-2,path:{fill:"currentColor"}}},({theme:e,status:t})=>{switch(t){case"critical":return{color:e.color.critical,background:e.background.critical};case"negative":return{color:e.color.negativeText,background:e.background.negative,boxShadow:e.base==="light"?`inset 0 0 0 1px ${gt(.9,e.color.negativeText)}`:"none"};case"warning":return{color:e.color.warningText,background:e.background.warning,boxShadow:e.base==="light"?`inset 0 0 0 1px ${gt(.9,e.color.warningText)}`:"none"};case"neutral":return{color:e.color.dark,background:e.color.mediumlight,boxShadow:e.base==="light"?`inset 0 0 0 1px ${gt(.9,e.color.dark)}`:"none"};case"positive":return{color:e.color.positiveText,background:e.background.positive,boxShadow:e.base==="light"?`inset 0 0 0 1px ${gt(.9,e.color.positiveText)}`:"none"};default:return{}}}),yV=u(({...e})=>v.createElement(qA,{...e}),"Badge"),VD={};Sa(VD,{AccessibilityAltIcon:()=>gI,AccessibilityIcon:()=>mI,AccessibilityIgnoredIcon:()=>vI,AddIcon:()=>cB,AdminIcon:()=>oI,AlertAltIcon:()=>PB,AlertIcon:()=>OB,AlignLeftIcon:()=>$k,AlignRightIcon:()=>jk,AppleIcon:()=>l_,ArrowBottomLeftIcon:()=>RR,ArrowBottomRightIcon:()=>IR,ArrowDownIcon:()=>FR,ArrowLeftIcon:()=>AR,ArrowRightIcon:()=>kR,ArrowSolidDownIcon:()=>TR,ArrowSolidLeftIcon:()=>LR,ArrowSolidRightIcon:()=>MR,ArrowSolidUpIcon:()=>zR,ArrowTopLeftIcon:()=>_R,ArrowTopRightIcon:()=>BR,ArrowUpIcon:()=>SR,AzureDevOpsIcon:()=>f_,BackIcon:()=>KR,BasketIcon:()=>lR,BatchAcceptIcon:()=>nB,BatchDenyIcon:()=>rB,BeakerIcon:()=>sR,BellIcon:()=>VB,BitbucketIcon:()=>h_,BoldIcon:()=>Yk,BookIcon:()=>Ik,BookmarkHollowIcon:()=>JB,BookmarkIcon:()=>ZB,BottomBarIcon:()=>H_,BottomBarToggleIcon:()=>$_,BoxIcon:()=>W_,BranchIcon:()=>a_,BrowserIcon:()=>I_,ButtonIcon:()=>kB,CPUIcon:()=>j_,CalendarIcon:()=>Nk,CameraIcon:()=>mk,CameraStabilizeIcon:()=>QA,CategoryIcon:()=>Lk,CertificateIcon:()=>nR,ChangedIcon:()=>mB,ChatIcon:()=>EB,CheckIcon:()=>eB,ChevronDownIcon:()=>bR,ChevronLeftIcon:()=>wR,ChevronRightIcon:()=>WD,ChevronSmallDownIcon:()=>ER,ChevronSmallLeftIcon:()=>CR,ChevronSmallRightIcon:()=>xR,ChevronSmallUpIcon:()=>DR,ChevronUpIcon:()=>yR,ChromaticIcon:()=>m_,ChromeIcon:()=>d_,CircleHollowIcon:()=>KB,CircleIcon:()=>YB,ClearIcon:()=>vB,CloseAltIcon:()=>iB,CloseIcon:()=>pB,CloudHollowIcon:()=>dR,CloudIcon:()=>pR,CogIcon:()=>Y_,CollapseIcon:()=>PR,CommandIcon:()=>IB,CommentAddIcon:()=>bB,CommentIcon:()=>yB,CommentsIcon:()=>DB,CommitIcon:()=>n_,CompassIcon:()=>XR,ComponentDrivenIcon:()=>g_,ComponentIcon:()=>KA,ContrastIcon:()=>ck,ContrastIgnoredIcon:()=>pk,ControlsIcon:()=>aB,CopyIcon:()=>Tk,CreditIcon:()=>AB,CrossIcon:()=>qD,DashboardIcon:()=>rI,DatabaseIcon:()=>V_,DeleteIcon:()=>fB,DiamondIcon:()=>XB,DirectionIcon:()=>iI,DiscordIcon:()=>v_,DocChartIcon:()=>Uk,DocListIcon:()=>qk,DocumentIcon:()=>zk,DownloadIcon:()=>GR,DragIcon:()=>Wk,EditIcon:()=>K_,EllipsisIcon:()=>X_,EmailIcon:()=>NB,ExpandAltIcon:()=>OR,ExpandIcon:()=>NR,EyeCloseIcon:()=>ik,EyeIcon:()=>ok,FaceHappyIcon:()=>pI,FaceNeutralIcon:()=>fI,FaceSadIcon:()=>hI,FacebookIcon:()=>y_,FailedIcon:()=>gB,FastForwardIcon:()=>Ek,FigmaIcon:()=>b_,FilterIcon:()=>Vk,FlagIcon:()=>cR,FolderIcon:()=>Mk,FormIcon:()=>tB,GDriveIcon:()=>w_,GithubIcon:()=>D_,GitlabIcon:()=>E_,GlobeIcon:()=>ZR,GoogleIcon:()=>C_,GraphBarIcon:()=>Hk,GraphLineIcon:()=>Pk,GraphqlIcon:()=>x_,GridAltIcon:()=>ek,GridIcon:()=>YA,GrowIcon:()=>uk,HeartHollowIcon:()=>QB,HeartIcon:()=>eR,HomeIcon:()=>aI,HourglassIcon:()=>uR,InfoIcon:()=>TB,ItalicIcon:()=>Jk,JumpToIcon:()=>GB,KeyIcon:()=>SB,LightningIcon:()=>lk,LightningOffIcon:()=>UD,LinkBrokenIcon:()=>jB,LinkIcon:()=>$B,LinkedinIcon:()=>B_,LinuxIcon:()=>s_,ListOrderedIcon:()=>Xk,ListUnorderedIcon:()=>Qk,LocationIcon:()=>QR,LockIcon:()=>CB,MarkdownIcon:()=>t_,MarkupIcon:()=>Kk,MediumIcon:()=>S_,MemoryIcon:()=>U_,MenuIcon:()=>Gk,MergeIcon:()=>i_,MirrorIcon:()=>sk,MobileIcon:()=>T_,MoonIcon:()=>Sk,NutIcon:()=>J_,OutboxIcon:()=>FB,OutlineIcon:()=>JA,PaintBrushIcon:()=>fk,PaperClipIcon:()=>Zk,ParagraphIcon:()=>e_,PassedIcon:()=>hB,PhoneIcon:()=>HB,PhotoDragIcon:()=>ZA,PhotoIcon:()=>GA,PhotoStabilizeIcon:()=>XA,PinAltIcon:()=>sB,PinIcon:()=>eI,PlayAllHollowIcon:()=>kk,PlayBackIcon:()=>bk,PlayHollowIcon:()=>Ak,PlayIcon:()=>yk,PlayNextIcon:()=>wk,PlusIcon:()=>oB,PointerDefaultIcon:()=>BB,PointerHandIcon:()=>RB,PowerIcon:()=>G_,PrintIcon:()=>Ok,ProceedIcon:()=>YR,ProfileIcon:()=>dI,PullRequestIcon:()=>o_,QuestionIcon:()=>LB,RSSIcon:()=>UB,RedirectIcon:()=>jR,ReduxIcon:()=>F_,RefreshIcon:()=>JR,ReplyIcon:()=>UR,RepoIcon:()=>r_,RequestChangeIcon:()=>wB,RewindIcon:()=>Dk,RulerIcon:()=>hk,SaveIcon:()=>zB,SearchIcon:()=>tk,ShareAltIcon:()=>qB,ShareIcon:()=>WB,ShieldIcon:()=>iR,SideBySideIcon:()=>Bk,SidebarAltIcon:()=>O_,SidebarAltToggleIcon:()=>P_,SidebarIcon:()=>M_,SidebarToggleIcon:()=>N_,SpeakerIcon:()=>vk,StackedIcon:()=>Rk,StarHollowIcon:()=>tR,StarIcon:()=>rR,StatusFailIcon:()=>hR,StatusIcon:()=>mR,StatusPassIcon:()=>vR,StatusWarnIcon:()=>gR,StickerIcon:()=>fR,StopAltHollowIcon:()=>Fk,StopAltIcon:()=>Ck,StopIcon:()=>_k,StorybookIcon:()=>p_,StructureIcon:()=>q_,SubtractIcon:()=>dB,SunIcon:()=>xk,SupportIcon:()=>MB,SwitchAltIcon:()=>dk,SyncIcon:()=>qR,TabletIcon:()=>z_,ThumbsUpIcon:()=>oR,TimeIcon:()=>tI,TimerIcon:()=>nI,TransferIcon:()=>$R,TrashIcon:()=>lB,TwitterIcon:()=>A_,TypeIcon:()=>_B,UbuntuIcon:()=>u_,UndoIcon:()=>VR,UnfoldIcon:()=>HR,UnlockIcon:()=>xB,UnpinIcon:()=>uB,UploadIcon:()=>WR,UserAddIcon:()=>uI,UserAltIcon:()=>sI,UserIcon:()=>lI,UsersIcon:()=>cI,VSCodeIcon:()=>__,VerifiedIcon:()=>aR,VideoIcon:()=>gk,WandIcon:()=>Q_,WatchIcon:()=>L_,WindowsIcon:()=>c_,WrenchIcon:()=>Z_,XIcon:()=>R_,YoutubeIcon:()=>k_,ZoomIcon:()=>rk,ZoomOutIcon:()=>nk,ZoomResetIcon:()=>ak,iconList:()=>WA});var WA=[{name:"Images",icons:["PhotoIcon","ComponentIcon","GridIcon","OutlineIcon","PhotoDragIcon","PhotoStabilizeIcon","CameraStabilizeIcon","GridAltIcon","SearchIcon","ZoomIcon","ZoomOutIcon","ZoomResetIcon","EyeIcon","EyeCloseIcon","LightningIcon","LightningOffIcon","MirrorIcon","GrowIcon","ContrastIcon","SwitchAltIcon","ContrastIgnoredIcon","PaintBrushIcon","RulerIcon","CameraIcon","VideoIcon","SpeakerIcon","PlayIcon","PlayBackIcon","PlayNextIcon","RewindIcon","FastForwardIcon","StopAltIcon","SunIcon","MoonIcon","StopAltHollowIcon","PlayHollowIcon","PlayAllHollowIcon","StopIcon","SideBySideIcon","StackedIcon"]},{name:"Documents",icons:["BookIcon","DocumentIcon","CopyIcon","CategoryIcon","FolderIcon","PrintIcon","GraphLineIcon","CalendarIcon","GraphBarIcon","AlignLeftIcon","AlignRightIcon","FilterIcon","DocChartIcon","DocListIcon","DragIcon","MenuIcon"]},{name:"Editing",icons:["MarkupIcon","BoldIcon","ItalicIcon","PaperClipIcon","ListOrderedIcon","ListUnorderedIcon","ParagraphIcon","MarkdownIcon"]},{name:"Git",icons:["RepoIcon","CommitIcon","BranchIcon","PullRequestIcon","MergeIcon"]},{name:"OS",icons:["AppleIcon","LinuxIcon","UbuntuIcon","WindowsIcon","ChromeIcon"]},{name:"Logos",icons:["StorybookIcon","AzureDevOpsIcon","BitbucketIcon","ChromaticIcon","ComponentDrivenIcon","DiscordIcon","FacebookIcon","FigmaIcon","GDriveIcon","GithubIcon","GitlabIcon","GoogleIcon","GraphqlIcon","MediumIcon","ReduxIcon","TwitterIcon","YoutubeIcon","VSCodeIcon","LinkedinIcon","XIcon"]},{name:"Devices",icons:["BrowserIcon","TabletIcon","MobileIcon","WatchIcon","SidebarIcon","SidebarAltIcon","SidebarAltToggleIcon","SidebarToggleIcon","BottomBarIcon","BottomBarToggleIcon","CPUIcon","DatabaseIcon","MemoryIcon","StructureIcon","BoxIcon","PowerIcon"]},{name:"CRUD",icons:["EditIcon","CogIcon","NutIcon","WrenchIcon","EllipsisIcon","WandIcon","CheckIcon","FormIcon","BatchDenyIcon","BatchAcceptIcon","ControlsIcon","PlusIcon","CloseAltIcon","CrossIcon","TrashIcon","PinAltIcon","UnpinIcon","AddIcon","SubtractIcon","CloseIcon","DeleteIcon","PassedIcon","ChangedIcon","FailedIcon","ClearIcon","CommentIcon","CommentAddIcon","RequestChangeIcon","CommentsIcon","ChatIcon","LockIcon","UnlockIcon","KeyIcon","OutboxIcon","CreditIcon","ButtonIcon","TypeIcon","PointerDefaultIcon","PointerHandIcon","CommandIcon","SaveIcon"]},{name:"Communicate",icons:["InfoIcon","QuestionIcon","SupportIcon","AlertIcon","AlertAltIcon","EmailIcon","PhoneIcon","LinkIcon","LinkBrokenIcon","BellIcon","RSSIcon","ShareAltIcon","ShareIcon","JumpToIcon","CircleHollowIcon","CircleIcon","BookmarkHollowIcon","BookmarkIcon","DiamondIcon","HeartHollowIcon","HeartIcon","StarHollowIcon","StarIcon","CertificateIcon","VerifiedIcon","ThumbsUpIcon","ShieldIcon","BasketIcon","BeakerIcon","HourglassIcon","FlagIcon","CloudHollowIcon","CloudIcon","StickerIcon","StatusFailIcon","StatusIcon","StatusWarnIcon","StatusPassIcon"]},{name:"Wayfinding",icons:["ChevronUpIcon","ChevronDownIcon","ChevronLeftIcon","ChevronRightIcon","ChevronSmallUpIcon","ChevronSmallDownIcon","ChevronSmallLeftIcon","ChevronSmallRightIcon","ArrowUpIcon","ArrowDownIcon","ArrowLeftIcon","ArrowRightIcon","ArrowTopLeftIcon","ArrowTopRightIcon","ArrowBottomLeftIcon","ArrowBottomRightIcon","ArrowSolidUpIcon","ArrowSolidDownIcon","ArrowSolidLeftIcon","ArrowSolidRightIcon","ExpandAltIcon","CollapseIcon","ExpandIcon","UnfoldIcon","TransferIcon","RedirectIcon","UndoIcon","ReplyIcon","SyncIcon","UploadIcon","DownloadIcon","BackIcon","ProceedIcon","RefreshIcon","GlobeIcon","CompassIcon","LocationIcon","PinIcon","TimeIcon","DashboardIcon","TimerIcon","HomeIcon","AdminIcon","DirectionIcon"]},{name:"People",icons:["UserIcon","UserAltIcon","UserAddIcon","UsersIcon","ProfileIcon","FaceHappyIcon","FaceNeutralIcon","FaceSadIcon","AccessibilityIcon","AccessibilityAltIcon","AccessibilityIgnoredIcon"]}],GA=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6.25 4.254a1.25 1.25 0 11-2.5 0 1.25 1.25 0 012.5 0zm-.5 0a.75.75 0 11-1.5 0 .75.75 0 011.5 0z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M13 1.504v11a.5.5 0 01-.5.5h-11a.5.5 0 01-.5-.5v-11a.5.5 0 01.5-.5h11a.5.5 0 01.5.5zM2 9.297V2.004h10v5.293L9.854 5.15a.5.5 0 00-.708 0L6.5 7.797 5.354 6.65a.5.5 0 00-.708 0L2 9.297zM9.5 6.21l2.5 2.5v3.293H2V10.71l3-3 3.146 3.146a.5.5 0 00.708-.707L7.207 8.504 9.5 6.21z",fill:e}))),KA=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.5 1.004a2.5 2.5 0 00-2.5 2.5v7a2.5 2.5 0 002.5 2.5h7a2.5 2.5 0 002.5-2.5v-7a2.5 2.5 0 00-2.5-2.5h-7zm8.5 5.5H7.5v-4.5h3a1.5 1.5 0 011.5 1.5v3zm0 1v3a1.5 1.5 0 01-1.5 1.5h-3v-4.5H12zm-5.5 4.5v-4.5H2v3a1.5 1.5 0 001.5 1.5h3zM2 6.504h4.5v-4.5h-3a1.5 1.5 0 00-1.5 1.5v3z",fill:e}))),YA=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1 1.504a.5.5 0 01.5-.5H6a.5.5 0 01.5.5v4.5a.5.5 0 01-.5.5H1.5a.5.5 0 01-.5-.5v-4.5zm1 4v-3.5h3.5v3.5H2zM7.5 1.504a.5.5 0 01.5-.5h4.5a.5.5 0 01.5.5v4.5a.5.5 0 01-.5.5H8a.5.5 0 01-.5-.5v-4.5zm1 4v-3.5H12v3.5H8.5zM1.5 7.504a.5.5 0 00-.5.5v4.5a.5.5 0 00.5.5H6a.5.5 0 00.5-.5v-4.5a.5.5 0 00-.5-.5H1.5zm.5 1v3.5h3.5v-3.5H2zM7.5 8.004a.5.5 0 01.5-.5h4.5a.5.5 0 01.5.5v4.5a.5.5 0 01-.5.5H8a.5.5 0 01-.5-.5v-4.5zm1 4v-3.5H12v3.5H8.5z",fill:e}))),JA=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M2 2.004v2H1v-2.5a.5.5 0 01.5-.5H4v1H2zM1 9.004v-4h1v4H1zM1 10.004v2.5a.5.5 0 00.5.5H4v-1H2v-2H1zM10 13.004h2.5a.5.5 0 00.5-.5v-2.5h-1v2h-2v1zM12 4.004h1v-2.5a.5.5 0 00-.5-.5H10v1h2v2zM9 12.004v1H5v-1h4zM9 1.004v1H5v-1h4zM13 9.004h-1v-4h1v4zM7 8.004a1 1 0 100-2 1 1 0 000 2z",fill:e}))),ZA=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.25 3.254a1.25 1.25 0 11-2.5 0 1.25 1.25 0 012.5 0zm-.5 0a.75.75 0 11-1.5 0 .75.75 0 011.5 0z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14 7.003v-6.5a.5.5 0 00-.5-.5h-10a.5.5 0 00-.5.5v2.5H.5a.5.5 0 00-.5.5v2.5h1v-2h2v6.5a.5.5 0 00.5.5H10v2H8v1h2.5a.5.5 0 00.5-.5v-2.5h2.5a.5.5 0 00.5-.5v-3.5zm-10-6v5.794L5.646 5.15a.5.5 0 01.708 0L7.5 6.297l2.646-2.647a.5.5 0 01.708 0L13 5.797V1.004H4zm9 6.208l-2.5-2.5-2.293 2.293L9.354 8.15a.5.5 0 11-.708.707L6 6.211l-2 2v1.793h9V7.21z",fill:e}),l.createElement("path",{d:"M0 10.004v-3h1v3H0zM0 13.504v-2.5h1v2h2v1H.5a.5.5 0 01-.5-.5zM7 14.004H4v-1h3v1z",fill:e}))),XA=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M2.5 1H4V0H2.5A2.5 2.5 0 000 2.5V4h1V2.5A1.5 1.5 0 012.5 1z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.25 5.25a1.25 1.25 0 11-2.5 0 1.25 1.25 0 012.5 0zm-.5 0a.75.75 0 11-1.5 0 .75.75 0 011.5 0z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12 2.5v9a.5.5 0 01-.5.5h-9a.5.5 0 01-.5-.5v-9a.5.5 0 01.5-.5h9a.5.5 0 01.5.5zM3 8.793V3h8v3.793L9.854 5.646a.5.5 0 00-.708 0L6.5 8.293 5.354 7.146a.5.5 0 00-.708 0L3 8.793zm6.5-2.086l1.5 1.5V11H3v-.793l2-2 2.146 2.147a.5.5 0 00.708-.708L7.207 9 9.5 6.707z",fill:e}),l.createElement("path",{d:"M10 1h1.5A1.5 1.5 0 0113 2.5V4h1V2.5A2.5 2.5 0 0011.5 0H10v1zM2.5 13H4v1H2.5A2.5 2.5 0 010 11.5V10h1v1.5A1.5 1.5 0 002.5 13zM10 13h1.5a1.5 1.5 0 001.5-1.5V10h1v1.5a2.5 2.5 0 01-2.5 2.5H10v-1z",fill:e}))),QA=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("g",{clipPath:"url(#prefix__clip0_2484_400)"},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2.5 1A1.5 1.5 0 001 2.5v1a.5.5 0 01-1 0v-1A2.5 2.5 0 012.5 0h1a.5.5 0 010 1h-1zm3.352 1.223A.5.5 0 016.268 2h1.464a.5.5 0 01.416.223L9.333 4H11.5a.5.5 0 01.5.5v5a.5.5 0 01-.5.5h-9a.5.5 0 01-.5-.5v-5a.5.5 0 01.5-.5h2.167l1.185-1.777zM11.5 1A1.5 1.5 0 0113 2.5v1a.5.5 0 001 0v-1A2.5 2.5 0 0011.5 0h-1a.5.5 0 000 1h1zm-9 12A1.5 1.5 0 011 11.5v-1a.5.5 0 00-1 0v1A2.5 2.5 0 002.5 14h1a.5.5 0 000-1h-1zm9 0a1.5 1.5 0 001.5-1.5v-1a.5.5 0 011 0v1a2.5 2.5 0 01-2.5 2.5h-1a.5.5 0 010-1h1zM8 7a1 1 0 11-2 0 1 1 0 012 0zm1 0a2 2 0 11-4 0 2 2 0 014 0z",fill:e})),l.createElement("defs",null,l.createElement("clipPath",{id:"prefix__clip0_2484_400"},l.createElement("path",{fill:"#fff",d:"M0 0h14v14H0z"}))))),ek=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M4 3V1h1v2H4zM4 6v2h1V6H4zM4 11v2h1v-2H4zM9 11v2h1v-2H9zM9 8V6h1v2H9zM9 1v2h1V1H9zM13 5h-2V4h2v1zM11 10h2V9h-2v1zM3 10H1V9h2v1zM1 5h2V4H1v1zM8 5H6V4h2v1zM6 10h2V9H6v1zM4 4h1v1H4V4zM10 4H9v1h1V4zM9 9h1v1H9V9zM5 9H4v1h1V9z",fill:e}))),tk=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.544 10.206a5.5 5.5 0 11.662-.662.5.5 0 01.148.102l3 3a.5.5 0 01-.708.708l-3-3a.5.5 0 01-.102-.148zM10.5 6a4.5 4.5 0 11-9 0 4.5 4.5 0 019 0z",fill:e}))),rk=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M6 3.5a.5.5 0 01.5.5v1.5H8a.5.5 0 010 1H6.5V8a.5.5 0 01-1 0V6.5H4a.5.5 0 010-1h1.5V4a.5.5 0 01.5-.5z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.544 10.206a5.5 5.5 0 11.662-.662.5.5 0 01.148.102l3 3a.5.5 0 01-.708.708l-3-3a.5.5 0 01-.102-.148zM10.5 6a4.5 4.5 0 11-9 0 4.5 4.5 0 019 0z",fill:e}))),nk=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M4 5.5a.5.5 0 000 1h4a.5.5 0 000-1H4z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6 11.5c1.35 0 2.587-.487 3.544-1.294a.5.5 0 00.102.148l3 3a.5.5 0 00.708-.708l-3-3a.5.5 0 00-.148-.102A5.5 5.5 0 106 11.5zm0-1a4.5 4.5 0 100-9 4.5 4.5 0 000 9z",fill:e}))),ak=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M1.5 2.837V1.5a.5.5 0 00-1 0V4a.5.5 0 00.5.5h2.5a.5.5 0 000-1H2.258a4.5 4.5 0 11-.496 4.016.5.5 0 10-.942.337 5.502 5.502 0 008.724 2.353.5.5 0 00.102.148l3 3a.5.5 0 00.708-.708l-3-3a.5.5 0 00-.148-.102A5.5 5.5 0 101.5 2.837z",fill:e}))),ok=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M7 9.5a2.5 2.5 0 100-5 2.5 2.5 0 000 5z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14 7l-.21.293C13.669 7.465 10.739 11.5 7 11.5S.332 7.465.21 7.293L0 7l.21-.293C.331 6.536 3.261 2.5 7 2.5s6.668 4.036 6.79 4.207L14 7zM2.896 5.302A12.725 12.725 0 001.245 7c.296.37.874 1.04 1.65 1.698C4.043 9.67 5.482 10.5 7 10.5c1.518 0 2.958-.83 4.104-1.802A12.72 12.72 0 0012.755 7c-.297-.37-.875-1.04-1.65-1.698C9.957 4.33 8.517 3.5 7 3.5c-1.519 0-2.958.83-4.104 1.802z",fill:e}))),ik=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M1.854 1.146a.5.5 0 10-.708.708l11 11a.5.5 0 00.708-.708l-11-11zM11.104 8.698c-.177.15-.362.298-.553.439l.714.714a13.25 13.25 0 002.526-2.558L14 7l-.21-.293C13.669 6.536 10.739 2.5 7 2.5c-.89 0-1.735.229-2.506.58l.764.763A4.859 4.859 0 017 3.5c1.518 0 2.958.83 4.104 1.802A12.724 12.724 0 0112.755 7a12.72 12.72 0 01-1.65 1.698zM.21 6.707c.069-.096 1.03-1.42 2.525-2.558l.714.714c-.191.141-.376.288-.553.439A12.725 12.725 0 001.245 7c.296.37.874 1.04 1.65 1.698C4.043 9.67 5.482 10.5 7 10.5a4.86 4.86 0 001.742-.344l.764.764c-.772.351-1.616.58-2.506.58C3.262 11.5.332 7.465.21 7.293L0 7l.21-.293z",fill:e}),l.createElement("path",{d:"M4.5 7c0-.322.061-.63.172-.914l3.242 3.242A2.5 2.5 0 014.5 7zM9.328 7.914L6.086 4.672a2.5 2.5 0 013.241 3.241z",fill:e}))),lk=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2.522 6.6a.566.566 0 00-.176.544.534.534 0 00.382.41l2.781.721-1.493 5.013a.563.563 0 00.216.627.496.496 0 00.63-.06l6.637-6.453a.568.568 0 00.151-.54.534.534 0 00-.377-.396l-2.705-.708 2.22-4.976a.568.568 0 00-.15-.666.497.497 0 00-.648.008L2.522 6.6zm7.72.63l-3.067-.804L9.02 2.29 3.814 6.803l2.95.764-1.277 4.285 4.754-4.622zM4.51 13.435l.037.011-.037-.011z",fill:e}))),UD=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M10.139 8.725l1.36-1.323a.568.568 0 00.151-.54.534.534 0 00-.377-.396l-2.705-.708 2.22-4.976a.568.568 0 00-.15-.666.497.497 0 00-.648.008L5.464 4.05l.708.71 2.848-2.47-1.64 3.677.697.697 2.164.567-.81.787.708.708zM2.523 6.6a.566.566 0 00-.177.544.534.534 0 00.382.41l2.782.721-1.494 5.013a.563.563 0 00.217.627.496.496 0 00.629-.06l3.843-3.736-.708-.707-2.51 2.44 1.137-3.814-.685-.685-2.125-.55.844-.731-.71-.71L2.524 6.6zM1.854 1.146a.5.5 0 10-.708.708l11 11a.5.5 0 00.708-.708l-11-11z",fill:e}))),sk=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1 1.504a.5.5 0 01.5-.5h11a.5.5 0 01.5.5v11a.5.5 0 01-.5.5h-11a.5.5 0 01-.5-.5v-11zm1 10.5h10v-10l-10 10z",fill:e}))),uk=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M1.5 1.004a.5.5 0 100 1H12v10.5a.5.5 0 001 0v-10.5a1 1 0 00-1-1H1.5z",fill:e}),l.createElement("path",{d:"M1 3.504a.5.5 0 01.5-.5H10a1 1 0 011 1v8.5a.5.5 0 01-1 0v-8.5H1.5a.5.5 0 01-.5-.5z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1.5 5.004a.5.5 0 00-.5.5v7a.5.5 0 00.5.5h7a.5.5 0 00.5-.5v-7a.5.5 0 00-.5-.5h-7zm.5 1v6h6v-6H2z",fill:e}))),ck=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3 3.004H.5a.5.5 0 00-.5.5v10a.5.5 0 00.5.5h10a.5.5 0 00.5-.5v-2.5h2.5a.5.5 0 00.5-.5v-10a.5.5 0 00-.5-.5h-10a.5.5 0 00-.5.5v2.5zm1 1v2.293l2.293-2.293H4zm-1 0v6.5a.499.499 0 00.497.5H10v2H1v-9h2zm1-1h6.5a.499.499 0 01.5.5v6.5h2v-9H4v2zm6 7V7.71l-2.293 2.293H10zm0-3.707V4.71l-5.293 5.293h1.586L10 6.297zm-.707-2.293H7.707L4 7.71v1.586l5.293-5.293z",fill:e}))),dk=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3 3.004v-2.5a.5.5 0 01.5-.5h10a.5.5 0 01.5.5v10a.5.5 0 01-.5.5H11v2.5a.5.5 0 01-.5.5H.5a.5.5 0 01-.5-.5v-10a.5.5 0 01.5-.5H3zm1 0v-2h9v9h-2v-6.5a.5.5 0 00-.5-.5H4zm6 8v2H1v-9h2v6.5a.5.5 0 00.5.5H10zm0-1H4v-6h6v6z",fill:e}))),pk=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("g",{clipPath:"url(#prefix__clip0_2359_559)",fillRule:"evenodd",clipRule:"evenodd",fill:e},l.createElement("path",{d:"M3 3.004H.5a.5.5 0 00-.5.5v10a.5.5 0 00.5.5h7.176a4.526 4.526 0 01-.916-1H1v-9h2v6.5a.499.499 0 00.497.5h2.531a4.548 4.548 0 01-.001-1h-1.32l2.16-2.16c.274-.374.603-.703.977-.977L10 4.711v1.316a4.552 4.552 0 011 0V3.504a.48.48 0 00-.038-.191.5.5 0 00-.462-.31H4v-2h9v5.755c.378.253.715.561 1 .913V.504a.5.5 0 00-.5-.5h-10a.5.5 0 00-.5.5v2.5zm1 1v2.293l2.293-2.293H4zm5.293 0H7.707L4 7.71v1.586l5.293-5.293z"}),l.createElement("path",{d:"M14 10.5a3.5 3.5 0 11-7 0 3.5 3.5 0 017 0zm-5.5 0A.5.5 0 019 10h3a.5.5 0 010 1H9a.5.5 0 01-.5-.5z"})),l.createElement("defs",null,l.createElement("clipPath",{id:"prefix__clip0_2359_559"},l.createElement("path",{fill:"#fff",d:"M0 0h14v14H0z"}))))),fk=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.854.146a.5.5 0 00-.708 0L2.983 8.31a2.24 2.24 0 00-1.074.6C.677 10.14.24 11.902.085 12.997 0 13.6 0 14 0 14s.4 0 1.002-.085c1.095-.155 2.857-.592 4.089-1.824a2.24 2.24 0 00.6-1.074l8.163-8.163a.5.5 0 000-.708l-2-2zM5.6 9.692l.942-.942L5.25 7.457l-.942.943A2.242 2.242 0 015.6 9.692zm1.649-1.65L12.793 2.5 11.5 1.207 5.957 6.75 7.25 8.043zM4.384 9.617a1.25 1.25 0 010 1.768c-.767.766-1.832 1.185-2.78 1.403-.17.04-.335.072-.49.098.027-.154.06-.318.099-.49.219-.947.637-2.012 1.403-2.779a1.25 1.25 0 011.768 0z",fill:e}))),hk=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M1.5 1.004a.5.5 0 01.5.5v.5h10v-.5a.5.5 0 011 0v2a.5.5 0 01-1 0v-.5H2v.5a.5.5 0 01-1 0v-2a.5.5 0 01.5-.5z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1.5 6a.5.5 0 00-.5.5v6a.5.5 0 00.5.5h11a.5.5 0 00.5-.5v-6a.5.5 0 00-.5-.5h-11zM2 7v5h10V7h-1v2.5a.5.5 0 01-1 0V7h-.75v1a.5.5 0 01-1 0V7H7.5v2.5a.5.5 0 01-1 0V7h-.75v1a.5.5 0 01-1 0V7H4v2.5a.5.5 0 01-1 0V7H2z",fill:e}))),mk=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10 7a3 3 0 11-6 0 3 3 0 016 0zM9 7a2 2 0 11-4 0 2 2 0 014 0z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2.5 1a.5.5 0 00-.5.5v.504H.5a.5.5 0 00-.5.5v9a.5.5 0 00.5.5h13a.5.5 0 00.5-.5v-9a.5.5 0 00-.5-.5H6V1.5a.5.5 0 00-.5-.5h-3zM1 3.004v8h12v-8H1z",fill:e}))),gk=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M2.5 10a.5.5 0 100-1 .5.5 0 000 1z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0 4a2 2 0 012-2h6a2 2 0 012 2v.5l3.189-2.391A.5.5 0 0114 2.5v9a.5.5 0 01-.804.397L10 9.5v.5a2 2 0 01-2 2H2a2 2 0 01-2-2V4zm9 0v1.5a.5.5 0 00.8.4L13 3.5v7L9.8 8.1a.5.5 0 00-.8.4V10a1 1 0 01-1 1H2a1 1 0 01-1-1V4a1 1 0 011-1h6a1 1 0 011 1z",fill:e}))),vk=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1 4.5v5a.5.5 0 00.5.5H4l3.17 2.775a.5.5 0 00.83-.377V1.602a.5.5 0 00-.83-.376L4 4H1.5a.5.5 0 00-.5.5zM4 9V5H2v4h2zm.998.545A.504.504 0 005 9.5v-5c0-.015 0-.03-.002-.044L7 2.704v8.592L4.998 9.545z",fill:e}),l.createElement("path",{d:"M10.15 1.752a.5.5 0 00-.3.954 4.502 4.502 0 010 8.588.5.5 0 00.3.954 5.502 5.502 0 000-10.496z",fill:e}),l.createElement("path",{d:"M10.25 3.969a.5.5 0 00-.5.865 2.499 2.499 0 010 4.332.5.5 0 10.5.866 3.499 3.499 0 000-6.063z",fill:e}))),yk=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M12.813 7.425l-9.05 5.603A.5.5 0 013 12.603V1.398a.5.5 0 01.763-.425l9.05 5.602a.5.5 0 010 .85z",fill:e}))),bk=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M11.24 12.035L3.697 7.427A.494.494 0 013.5 7.2v4.05a.75.75 0 01-1.5 0v-8.5a.75.75 0 011.5 0V6.8a.494.494 0 01.198-.227l7.541-4.608A.5.5 0 0112 2.39v9.217a.5.5 0 01-.76.427z",fill:e}))),wk=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M2.76 12.035l7.542-4.608A.495.495 0 0010.5 7.2v4.05a.75.75 0 001.5 0v-8.5a.75.75 0 00-1.5 0V6.8a.495.495 0 00-.198-.227L2.76 1.965A.5.5 0 002 2.39v9.217a.5.5 0 00.76.427z",fill:e}))),Dk=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M9 2.42v2.315l4.228-2.736a.5.5 0 01.772.42v9.162a.5.5 0 01-.772.42L9 9.263v2.317a.5.5 0 01-.772.42L1.5 7.647v3.603a.75.75 0 01-1.5 0v-8.5a.75.75 0 011.5 0v3.603L8.228 2A.5.5 0 019 2.42z",fill:e}))),Ek=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M5 2.42v2.315L.772 1.999a.5.5 0 00-.772.42v9.162a.5.5 0 00.772.42L5 9.263v2.317a.5.5 0 00.772.42L12.5 7.647v3.603a.75.75 0 001.5 0v-8.5a.75.75 0 00-1.5 0v3.603L5.772 2A.5.5 0 005 2.42z",fill:e}))),Ck=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M1 1.504a.5.5 0 01.5-.5h11a.5.5 0 01.5.5v11a.5.5 0 01-.5.5h-11a.5.5 0 01-.5-.5v-11z",fill:e}))),xk=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("g",{clipPath:"url(#prefix__clip0_1107_3492)",fill:e},l.createElement("path",{d:"M7.5.5a.5.5 0 00-1 0V2a.5.5 0 001 0V.5z"}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 10a3 3 0 100-6 3 3 0 000 6zm0-1a2 2 0 100-4 2 2 0 000 4z"}),l.createElement("path",{d:"M7 11.5a.5.5 0 01.5.5v1.5a.5.5 0 01-1 0V12a.5.5 0 01.5-.5zM11.5 7a.5.5 0 01.5-.5h1.5a.5.5 0 010 1H12a.5.5 0 01-.5-.5zM.5 6.5a.5.5 0 000 1H2a.5.5 0 000-1H.5zM3.818 10.182a.5.5 0 010 .707l-1.06 1.06a.5.5 0 11-.708-.706l1.06-1.06a.5.5 0 01.708 0zM11.95 2.757a.5.5 0 10-.707-.707l-1.061 1.061a.5.5 0 10.707.707l1.06-1.06zM10.182 10.182a.5.5 0 01.707 0l1.06 1.06a.5.5 0 11-.706.708l-1.061-1.06a.5.5 0 010-.708zM2.757 2.05a.5.5 0 10-.707.707l1.06 1.061a.5.5 0 00.708-.707l-1.06-1.06z"})),l.createElement("defs",null,l.createElement("clipPath",{id:"prefix__clip0_1107_3492"},l.createElement("path",{fill:"#fff",d:"M0 0h14v14H0z"}))))),Sk=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("g",{clipPath:"url(#prefix__clip0_1107_3493)"},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.335.047l-.15-.015a7.499 7.499 0 106.14 10.577c.103-.229-.156-.447-.386-.346a5.393 5.393 0 01-.771.27A5.356 5.356 0 019.153.691C9.37.568 9.352.23 9.106.175a7.545 7.545 0 00-.77-.128zM6.977 1.092a6.427 6.427 0 005.336 10.671A6.427 6.427 0 116.977 1.092z",fill:e})),l.createElement("defs",null,l.createElement("clipPath",{id:"prefix__clip0_1107_3493"},l.createElement("path",{fill:"#fff",transform:"scale(1.07124)",d:"M0 0h14.001v14.002H0z"}))))),Fk=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2.2 2.204v9.6h9.6v-9.6H2.2zm-.7-1.2a.5.5 0 00-.5.5v11a.5.5 0 00.5.5h11a.5.5 0 00.5-.5v-11a.5.5 0 00-.5-.5h-11z",fill:e}))),Ak=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4.2 10.88L10.668 7 4.2 3.12v7.76zM3 2.414v9.174a.8.8 0 001.212.686l7.645-4.587a.8.8 0 000-1.372L4.212 1.727A.8.8 0 003 2.413z",fill:e}))),kk=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5.2 10.88L11.668 7 5.2 3.12v7.76zM4 2.414v9.174a.8.8 0 001.212.686l7.645-4.587a.8.8 0 000-1.372L5.212 1.727A.8.8 0 004 2.413zM1.5 1.6a.6.6 0 01.6.6v9.6a.6.6 0 11-1.2 0V2.2a.6.6 0 01.6-.6z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M.963 1.932a.6.6 0 01.805-.268l1 .5a.6.6 0 01-.536 1.073l-1-.5a.6.6 0 01-.269-.805zM3.037 11.132a.6.6 0 01-.269.805l-1 .5a.6.6 0 01-.536-1.073l1-.5a.6.6 0 01.805.268z",fill:e}))),_k=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M4.5 4a.5.5 0 00-.5.5v5a.5.5 0 00.5.5h5a.5.5 0 00.5-.5v-5a.5.5 0 00-.5-.5h-5z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14 7A7 7 0 110 7a7 7 0 0114 0zm-1 0A6 6 0 111 7a6 6 0 0112 0z",fill:e}))),Bk=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1 1.504a.5.5 0 01.5-.5h11a.5.5 0 01.5.5v11a.5.5 0 01-.5.5h-11a.5.5 0 01-.5-.5v-11zm1 10.5v-10h5v10H2z",fill:e}))),Rk=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12.5 1.004a.5.5 0 01.5.5v11a.5.5 0 01-.5.5h-11a.5.5 0 01-.5-.5v-11a.5.5 0 01.5-.5h11zm-10.5 1h10v5H2v-5z",fill:e}))),Ik=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M13 2a2 2 0 00-2-2H1.5a.5.5 0 00-.5.5v13a.5.5 0 00.5.5H11a2 2 0 002-2V2zM3 13h8a1 1 0 001-1V2a1 1 0 00-1-1H7v6.004a.5.5 0 01-.856.352l-.002-.002L5.5 6.71l-.645.647A.5.5 0 014 7.009V1H3v12zM5 1v4.793l.146-.146a.5.5 0 01.743.039l.111.11V1H5z",fill:e}))),zk=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M4 5.5a.5.5 0 01.5-.5h5a.5.5 0 010 1h-5a.5.5 0 01-.5-.5zM4.5 7.5a.5.5 0 000 1h5a.5.5 0 000-1h-5zM4 10.5a.5.5 0 01.5-.5h5a.5.5 0 010 1h-5a.5.5 0 01-.5-.5z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1.5 0a.5.5 0 00-.5.5v13a.5.5 0 00.5.5h11a.5.5 0 00.5-.5V3.207a.5.5 0 00-.146-.353L10.146.146A.5.5 0 009.793 0H1.5zM2 1h7.5v2a.5.5 0 00.5.5h2V13H2V1z",fill:e}))),Tk=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.746.07A.5.5 0 0011.5.003h-6a.5.5 0 00-.5.5v2.5H.5a.5.5 0 00-.5.5v10a.5.5 0 00.5.5h8a.5.5 0 00.5-.5v-2.5h4.5a.5.5 0 00.5-.5v-8a.498.498 0 00-.15-.357L11.857.154a.506.506 0 00-.11-.085zM9 10.003h4v-7h-1.5a.5.5 0 01-.5-.5v-1.5H6v2h.5a.5.5 0 01.357.15L8.85 5.147c.093.09.15.217.15.357v4.5zm-8-6v9h7v-7H6.5a.5.5 0 01-.5-.5v-1.5H1z",fill:e}))),Lk=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M3 1.5a.5.5 0 01.5-.5h7a.5.5 0 010 1h-7a.5.5 0 01-.5-.5zM2 3.504a.5.5 0 01.5-.5h9a.5.5 0 010 1h-9a.5.5 0 01-.5-.5z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1 5.5a.5.5 0 01.5-.5h11a.5.5 0 01.5.5v7a.5.5 0 01-.5.5h-11a.5.5 0 01-.5-.5v-7zM2 12V6h10v6H2z",fill:e}))),Mk=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6.586 3.504l-1.5-1.5H1v9h12v-7.5H6.586zm.414-1L5.793 1.297a1 1 0 00-.707-.293H.5a.5.5 0 00-.5.5v10a.5.5 0 00.5.5h13a.5.5 0 00.5-.5v-8.5a.5.5 0 00-.5-.5H7z",fill:e}))),Ok=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M4.5 8.004a.5.5 0 100 1h5a.5.5 0 000-1h-5zM4.5 10.004a.5.5 0 000 1h5a.5.5 0 000-1h-5z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2 1.504a.5.5 0 01.5-.5h8a.498.498 0 01.357.15l.993.993c.093.09.15.217.15.357v1.5h1.5a.5.5 0 01.5.5v5a.5.5 0 01-.5.5H12v2.5a.5.5 0 01-.5.5h-9a.5.5 0 01-.5-.5v-2.5H.5a.5.5 0 01-.5-.5v-5a.5.5 0 01.5-.5H2v-2.5zm11 7.5h-1v-2.5a.5.5 0 00-.5-.5h-9a.5.5 0 00-.5.5v2.5H1v-4h12v4zm-2-6v1H3v-2h7v.5a.5.5 0 00.5.5h.5zm-8 9h8v-5H3v5z",fill:e}))),Pk=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M5.146 6.15a.5.5 0 01.708 0L7 7.297 9.146 5.15a.5.5 0 01.708 0l1 1a.5.5 0 01-.708.707L9.5 6.211 7.354 8.357a.5.5 0 01-.708 0L5.5 7.211 3.854 8.857a.5.5 0 11-.708-.707l2-2z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1.5 1.004a.5.5 0 00-.5.5v11a.5.5 0 00.5.5h11a.5.5 0 00.5-.5v-11a.5.5 0 00-.5-.5h-11zm.5 1v10h10v-10H2z",fill:e}))),Nk=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.5 0a.5.5 0 01.5.5V1h6V.5a.5.5 0 011 0V1h1.5a.5.5 0 01.5.5v11a.5.5 0 01-.5.5h-11a.5.5 0 01-.5-.5v-11a.5.5 0 01.5-.5H3V.5a.5.5 0 01.5-.5zM2 4v2.3h3V4H2zm0 5.2V6.8h3v2.4H2zm0 .5V12h3V9.7H2zm3.5 0V12h3V9.7h-3zm3.5 0V12h3V9.7H9zm3-.5H9V6.8h3v2.4zm-3.5 0h-3V6.8h3v2.4zM9 4v2.3h3V4H9zM5.5 6.3h3V4h-3v2.3z",fill:e}))),Hk=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M12 2.5a.5.5 0 00-1 0v10a.5.5 0 001 0v-10zM9 4.5a.5.5 0 00-1 0v8a.5.5 0 001 0v-8zM5.5 7a.5.5 0 01.5.5v5a.5.5 0 01-1 0v-5a.5.5 0 01.5-.5zM3 10.5a.5.5 0 00-1 0v2a.5.5 0 001 0v-2z",fill:e}))),$k=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M13 2a.5.5 0 010 1H1a.5.5 0 010-1h12zM10 5a.5.5 0 010 1H1a.5.5 0 010-1h9zM11.5 8.5A.5.5 0 0011 8H1a.5.5 0 000 1h10a.5.5 0 00.5-.5zM7.5 11a.5.5 0 010 1H1a.5.5 0 010-1h6.5z",fill:e}))),jk=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M1 2a.5.5 0 000 1h12a.5.5 0 000-1H1zM4 5a.5.5 0 000 1h9a.5.5 0 000-1H4zM2.5 8.5A.5.5 0 013 8h10a.5.5 0 010 1H3a.5.5 0 01-.5-.5zM6.5 11a.5.5 0 000 1H13a.5.5 0 000-1H6.5z",fill:e}))),Vk=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M1 2a.5.5 0 000 1h12a.5.5 0 000-1H1zM3 5a.5.5 0 000 1h8a.5.5 0 000-1H3zM4.5 8.5A.5.5 0 015 8h4a.5.5 0 010 1H5a.5.5 0 01-.5-.5zM6.5 11a.5.5 0 000 1h1a.5.5 0 000-1h-1z",fill:e}))),Uk=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1 1.5a.5.5 0 01.5-.5h11a.5.5 0 01.5.5v11a.5.5 0 01-.5.5h-11a.5.5 0 01-.5-.5v-11zM2 4v2.3h3V4H2zm0 5.2V6.8h3v2.4H2zm0 .5V12h3V9.7H2zm3.5 0V12h3V9.7h-3zm3.5 0V12h3V9.7H9zm3-.5H9V6.8h3v2.4zm-3.5 0h-3V6.8h3v2.4zM9 6.3h3V4H9v2.3zm-3.5 0h3V4h-3v2.3z",fill:e}))),qk=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M3.5 6.5A.5.5 0 014 6h6a.5.5 0 010 1H4a.5.5 0 01-.5-.5zM4 9a.5.5 0 000 1h6a.5.5 0 000-1H4z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1 1.5a.5.5 0 01.5-.5h11a.5.5 0 01.5.5v11a.5.5 0 01-.5.5h-11a.5.5 0 01-.5-.5v-11zM2 4v8h10V4H2z",fill:e}))),Wk=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M13 4a.5.5 0 010 1H1a.5.5 0 010-1h12zM13.5 9.5A.5.5 0 0013 9H1a.5.5 0 000 1h12a.5.5 0 00.5-.5z",fill:e}))),Gk=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M13 3.5a.5.5 0 010 1H1a.5.5 0 010-1h12zM13.5 10a.5.5 0 00-.5-.5H1a.5.5 0 000 1h12a.5.5 0 00.5-.5zM13 6.5a.5.5 0 010 1H1a.5.5 0 010-1h12z",fill:e}))),Kk=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M8.982 1.632a.5.5 0 00-.964-.263l-3 11a.5.5 0 10.964.263l3-11zM3.32 3.616a.5.5 0 01.064.704L1.151 7l2.233 2.68a.5.5 0 11-.768.64l-2.5-3a.5.5 0 010-.64l2.5-3a.5.5 0 01.704-.064zM10.68 3.616a.5.5 0 00-.064.704L12.849 7l-2.233 2.68a.5.5 0 00.768.64l2.5-3a.5.5 0 000-.64l-2.5-3a.5.5 0 00-.704-.064z",fill:e}))),Yk=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3 2v1.5h1v7H3V12h5a3 3 0 001.791-5.407A2.75 2.75 0 008 2.011V2H3zm5 5.5H5.5v3H8a1.5 1.5 0 100-3zm-.25-4H5.5V6h2.25a1.25 1.25 0 100-2.5z",fill:e}))),Jk=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M5 2h6v1H8.5l-2 8H9v1H3v-1h2.5l2-8H5V2z",fill:e}))),Zk=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M10.553 2.268a1.5 1.5 0 00-2.12 0L2.774 7.925a2.5 2.5 0 003.536 3.535l3.535-3.535a.5.5 0 11.707.707l-3.535 3.536-.002.002a3.5 3.5 0 01-4.959-4.941l.011-.011L7.725 1.56l.007-.008a2.5 2.5 0 013.53 3.541l-.002.002-5.656 5.657-.003.003a1.5 1.5 0 01-2.119-2.124l3.536-3.536a.5.5 0 11.707.707L4.189 9.34a.5.5 0 00.707.707l5.657-5.657a1.5 1.5 0 000-2.121z",fill:e}))),Xk=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M5 2.5a.5.5 0 01.5-.5h7a.5.5 0 010 1h-7a.5.5 0 01-.5-.5zM5 7a.5.5 0 01.5-.5h7a.5.5 0 010 1h-7A.5.5 0 015 7zM5.5 11a.5.5 0 000 1h7a.5.5 0 000-1h-7zM2.5 2H1v1h1v3h1V2.5a.5.5 0 00-.5-.5zM3 8.5v1a.5.5 0 01-1 0V9h-.5a.5.5 0 010-1h1a.5.5 0 01.5.5zM2 10.5a.5.5 0 00-1 0V12h2v-1H2v-.5z",fill:e}))),Qk=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M2.75 2.5a.75.75 0 11-1.5 0 .75.75 0 011.5 0zM5.5 2a.5.5 0 000 1h7a.5.5 0 000-1h-7zM5.5 11a.5.5 0 000 1h7a.5.5 0 000-1h-7zM2 12.25a.75.75 0 100-1.5.75.75 0 000 1.5zM5 7a.5.5 0 01.5-.5h7a.5.5 0 010 1h-7A.5.5 0 015 7zM2 7.75a.75.75 0 100-1.5.75.75 0 000 1.5z",fill:e}))),e_=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M6 7a3 3 0 110-6h5.5a.5.5 0 010 1H10v10.5a.5.5 0 01-1 0V2H7v10.5a.5.5 0 01-1 0V7z",fill:e}))),t_=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M2 4.5h1.5L5 6.375 6.5 4.5H8v5H6.5V7L5 8.875 3.5 7v2.5H2v-5zM9.75 4.5h1.5V7h1.25l-2 2.5-2-2.5h1.25V4.5z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M.5 2a.5.5 0 00-.5.5v9a.5.5 0 00.5.5h13a.5.5 0 00.5-.5v-9a.5.5 0 00-.5-.5H.5zM1 3v8h12V3H1z",fill:e}))),r_=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M5 2.5a.5.5 0 11-1 0 .5.5 0 011 0zM4.5 5a.5.5 0 100-1 .5.5 0 000 1zM5 6.5a.5.5 0 11-1 0 .5.5 0 011 0z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11 0a2 2 0 012 2v10a2 2 0 01-2 2H1.5a.5.5 0 01-.5-.5V.5a.5.5 0 01.5-.5H11zm0 1H3v12h8a1 1 0 001-1V2a1 1 0 00-1-1z",fill:e}))),n_=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.031 7.5a4 4 0 007.938 0H13.5a.5.5 0 000-1h-2.53a4 4 0 00-7.94 0H.501a.5.5 0 000 1h2.531zM7 10a3 3 0 100-6 3 3 0 000 6z",fill:e}))),a_=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6 2.5a1.5 1.5 0 01-1 1.415v4.053C5.554 7.4 6.367 7 7.5 7c.89 0 1.453-.252 1.812-.557.218-.184.374-.4.482-.62a1.5 1.5 0 111.026.143c-.155.423-.425.87-.86 1.24C9.394 7.685 8.59 8 7.5 8c-1.037 0-1.637.42-1.994.917a2.81 2.81 0 00-.472 1.18A1.5 1.5 0 114 10.086v-6.17A1.5 1.5 0 116 2.5zm-2 9a.5.5 0 111 0 .5.5 0 01-1 0zm1-9a.5.5 0 11-1 0 .5.5 0 011 0zm6 2a.5.5 0 11-1 0 .5.5 0 011 0z",fill:e}))),o_=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.354 1.354L7.707 2H8.5A2.5 2.5 0 0111 4.5v5.585a1.5 1.5 0 11-1 0V4.5A1.5 1.5 0 008.5 3h-.793l.647.646a.5.5 0 11-.708.708l-1.5-1.5a.5.5 0 010-.708l1.5-1.5a.5.5 0 11.708.708zM11 11.5a.5.5 0 11-1 0 .5.5 0 011 0zM4 3.915a1.5 1.5 0 10-1 0v6.17a1.5 1.5 0 101 0v-6.17zM3.5 11a.5.5 0 100 1 .5.5 0 000-1zm0-8a.5.5 0 100-1 .5.5 0 000 1z",fill:e}))),i_=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4.108 3.872A1.5 1.5 0 103 3.915v6.17a1.5 1.5 0 101 0V6.41c.263.41.573.77.926 1.083 1.108.98 2.579 1.433 4.156 1.5A1.5 1.5 0 109.09 7.99c-1.405-.065-2.62-.468-3.5-1.248-.723-.64-1.262-1.569-1.481-2.871zM3.5 11a.5.5 0 100 1 .5.5 0 000-1zM4 2.5a.5.5 0 11-1 0 .5.5 0 011 0zm7 6a.5.5 0 11-1 0 .5.5 0 011 0z",fill:e}))),l_=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M11.03 8.103a3.044 3.044 0 01-.202-1.744 2.697 2.697 0 011.4-1.935c-.749-1.18-1.967-1.363-2.35-1.403-.835-.086-2.01.56-2.648.57h-.016c-.639-.01-1.814-.656-2.649-.57-.415.044-1.741.319-2.541 1.593-.281.447-.498 1.018-.586 1.744a6.361 6.361 0 00-.044.85c.005.305.028.604.07.895.09.62.259 1.207.477 1.744.242.595.543 1.13.865 1.585.712 1.008 1.517 1.59 1.971 1.6.934.021 1.746-.61 2.416-.594.006.002.014.003.02.002h.017c.007 0 .014 0 .021-.002.67-.017 1.481.615 2.416.595.453-.011 1.26-.593 1.971-1.6a7.95 7.95 0 00.97-1.856c-.697-.217-1.27-.762-1.578-1.474zm-2.168-5.97c.717-.848.69-2.07.624-2.125-.065-.055-1.25.163-1.985.984-.735.82-.69 2.071-.624 2.125.064.055 1.268-.135 1.985-.984z",fill:e}))),s_=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 0a3 3 0 013 3v1.24c.129.132.25.27.362.415.113.111.283.247.515.433l.194.155c.325.261.711.582 1.095.966.765.765 1.545 1.806 1.823 3.186a.501.501 0 01-.338.581 3.395 3.395 0 01-1.338.134 2.886 2.886 0 01-1.049-.304 5.535 5.535 0 01-.17.519 2 2 0 11-2.892 2.55A5.507 5.507 0 017 13c-.439 0-.838-.044-1.201-.125a2 2 0 11-2.892-2.55 5.553 5.553 0 01-.171-.519c-.349.182-.714.27-1.05.304A3.395 3.395 0 01.35 9.977a.497.497 0 01-.338-.582c.278-1.38 1.058-2.42 1.823-3.186.384-.384.77-.705 1.095-.966l.194-.155c.232-.186.402-.322.515-.433.112-.145.233-.283.362-.414V3a3 3 0 013-3zm1.003 11.895a2 2 0 012.141-1.89c.246-.618.356-1.322.356-2.005 0-.514-.101-1.07-.301-1.599l-.027-.017a6.387 6.387 0 00-.857-.42 6.715 6.715 0 00-1.013-.315l-.852.638a.75.75 0 01-.9 0l-.852-.638a6.716 6.716 0 00-1.693.634 4.342 4.342 0 00-.177.101l-.027.017A4.6 4.6 0 003.501 8c0 .683.109 1.387.355 2.005a2 2 0 012.142 1.89c.295.067.627.105 1.002.105s.707-.038 1.003-.105zM5 12a1 1 0 11-2 0 1 1 0 012 0zm6 0a1 1 0 11-2 0 1 1 0 012 0zM6.1 4.3a1.5 1.5 0 011.8 0l.267.2L7 5.375 5.833 4.5l.267-.2zM8.5 2a.5.5 0 01.5.5V3a.5.5 0 01-1 0v-.5a.5.5 0 01.5-.5zM6 2.5a.5.5 0 00-1 0V3a.5.5 0 001 0v-.5z",fill:e}))),u_=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("g",{clipPath:"url(#prefix__clip0_1107_3497)",fill:e},l.createElement("path",{d:"M12.261 2.067c0 1.142-.89 2.068-1.988 2.068-1.099 0-1.99-.926-1.99-2.068C8.283.926 9.174 0 10.273 0c1.098 0 1.989.926 1.989 2.067zM3.978 6.6c0 1.142-.89 2.068-1.989 2.068C.891 8.668 0 7.742 0 6.601c0-1.142.89-2.068 1.989-2.068 1.099 0 1.989.926 1.989 2.068zM6.475 11.921A4.761 4.761 0 014.539 11a4.993 4.993 0 01-1.367-1.696 2.765 2.765 0 01-1.701.217 6.725 6.725 0 001.844 2.635 6.379 6.379 0 004.23 1.577 3.033 3.033 0 01-.582-1.728 4.767 4.767 0 01-.488-.083zM11.813 11.933c0 1.141-.89 2.067-1.989 2.067-1.098 0-1.989-.926-1.989-2.067 0-1.142.891-2.068 1.99-2.068 1.098 0 1.989.926 1.989 2.068zM12.592 11.173a6.926 6.926 0 001.402-3.913 6.964 6.964 0 00-1.076-4.023A2.952 2.952 0 0111.8 4.6c.398.78.592 1.656.564 2.539a5.213 5.213 0 01-.724 2.495c.466.396.8.935.952 1.54zM1.987 3.631c-.05 0-.101.002-.151.004C3.073 1.365 5.504.024 8.005.23a3.07 3.07 0 00-.603 1.676 4.707 4.707 0 00-2.206.596 4.919 4.919 0 00-1.7 1.576 2.79 2.79 0 00-1.509-.447z"})),l.createElement("defs",null,l.createElement("clipPath",{id:"prefix__clip0_1107_3497"},l.createElement("path",{fill:"#fff",d:"M0 0h14v14H0z"}))))),c_=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M6.5 1H1v5.5h5.5V1zM13 1H7.5v5.5H13V1zM7.5 7.5H13V13H7.5V7.5zM6.5 7.5H1V13h5.5V7.5z",fill:e}))),d_=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("g",{clipPath:"url(#prefix__clip0_1107_3496)"},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M13.023 3.431a.115.115 0 01-.099.174H7.296A3.408 3.408 0 003.7 6.148a.115.115 0 01-.21.028l-1.97-3.413a.115.115 0 01.01-.129A6.97 6.97 0 017 0a6.995 6.995 0 016.023 3.431zM7 9.615A2.619 2.619 0 014.384 7 2.62 2.62 0 017 4.383 2.619 2.619 0 019.616 7 2.619 2.619 0 017 9.615zm1.034.71a.115.115 0 00-.121-.041 3.4 3.4 0 01-.913.124 3.426 3.426 0 01-3.091-1.973L1.098 3.567a.115.115 0 00-.2.001 7.004 7.004 0 005.058 10.354l.017.001c.04 0 .078-.021.099-.057l1.971-3.414a.115.115 0 00-.009-.128zm1.43-5.954h3.947c.047 0 .09.028.107.072.32.815.481 1.675.481 2.557a6.957 6.957 0 01-2.024 4.923A6.957 6.957 0 017.08 14h-.001a.115.115 0 01-.1-.172L9.794 8.95A3.384 3.384 0 0010.408 7c0-.921-.364-1.785-1.024-2.433a.115.115 0 01.08-.196z",fill:e})),l.createElement("defs",null,l.createElement("clipPath",{id:"prefix__clip0_1107_3496"},l.createElement("path",{fill:"#fff",d:"M0 0h14v14H0z"}))))),p_=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2.042.616a.704.704 0 00-.66.729L1.816 12.9c.014.367.306.66.672.677l9.395.422h.032a.704.704 0 00.704-.703V.704c0-.015 0-.03-.002-.044a.704.704 0 00-.746-.659l-.773.049.057 1.615a.105.105 0 01-.17.086l-.52-.41-.617.468a.105.105 0 01-.168-.088L9.746.134 2.042.616zm8.003 4.747c-.247.192-2.092.324-2.092.05.04-1.045-.429-1.091-.689-1.091-.247 0-.662.075-.662.634 0 .57.607.893 1.32 1.27 1.014.538 2.24 1.188 2.24 2.823 0 1.568-1.273 2.433-2.898 2.433-1.676 0-3.141-.678-2.976-3.03.065-.275 2.197-.21 2.197 0-.026.971.195 1.256.753 1.256.43 0 .624-.236.624-.634 0-.602-.633-.958-1.361-1.367-.987-.554-2.148-1.205-2.148-2.7 0-1.494 1.027-2.489 2.86-2.489 1.832 0 2.832.98 2.832 2.845z",fill:e}))),f_=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("g",{clipPath:"url(#prefix__clip0_1107_3503)"},l.createElement("path",{d:"M0 5.176l1.31-1.73 4.902-1.994V.014l4.299 3.144-8.78 1.706v4.8L0 9.162V5.176zm14-2.595v8.548l-3.355 2.857-5.425-1.783v1.783L1.73 9.661l8.784 1.047v-7.55L14 2.581z",fill:e})),l.createElement("defs",null,l.createElement("clipPath",{id:"prefix__clip0_1107_3503"},l.createElement("path",{fill:"#fff",d:"M0 0h14v14H0z"}))))),h_=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1 1.522a.411.411 0 00-.412.476l1.746 10.597a.56.56 0 00.547.466h8.373a.411.411 0 00.412-.345l1.017-6.248h-3.87L8.35 9.18H5.677l-.724-3.781h7.904L13.412 2A.411.411 0 0013 1.524L1 1.522z",fill:e}))),m_=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0 7a7 7 0 1014 0A7 7 0 000 7zm5.215-3.869a1.967 1.967 0 013.747.834v1.283l-3.346-1.93a2.486 2.486 0 00-.401-.187zm3.484 2.58l-3.346-1.93a1.968 1.968 0 00-2.685.72 1.954 1.954 0 00.09 2.106 2.45 2.45 0 01.362-.254l1.514-.873a.27.27 0 01.268 0l2.1 1.21 1.697-.978zm-.323 4.972L6.86 9.81a.268.268 0 01-.134-.231V7.155l-1.698-.98v3.86a1.968 1.968 0 003.747.835 2.488 2.488 0 01-.4-.187zm.268-.464a1.967 1.967 0 002.685-.719 1.952 1.952 0 00-.09-2.106c-.112.094-.233.18-.361.253L7.53 9.577l1.113.642zm-4.106.257a1.974 1.974 0 01-1.87-.975A1.95 1.95 0 012.47 8.01c.136-.507.461-.93.916-1.193L4.5 6.175v3.86c0 .148.013.295.039.44zM11.329 4.5a1.973 1.973 0 00-1.87-.976c.025.145.039.292.039.44v1.747a.268.268 0 01-.135.232l-2.1 1.211v1.96l3.346-1.931a1.966 1.966 0 00.72-2.683z",fill:e}))),g_=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M10.847 2.181L8.867.201a.685.685 0 00-.97 0l-4.81 4.81a.685.685 0 000 .969l2.466 2.465-2.405 2.404a.685.685 0 000 .97l1.98 1.98a.685.685 0 00.97 0l4.81-4.81a.685.685 0 000-.969L8.441 5.555l2.405-2.404a.685.685 0 000-.97z",fill:e}))),v_=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M11.852 2.885c-.893-.41-1.85-.712-2.85-.884a.043.043 0 00-.046.021c-.123.22-.26.505-.355.73a10.658 10.658 0 00-3.2 0 7.377 7.377 0 00-.36-.73.045.045 0 00-.046-.021c-1 .172-1.957.474-2.85.884a.04.04 0 00-.019.016C.311 5.612-.186 8.257.058 10.869a.048.048 0 00.018.033 11.608 11.608 0 003.496 1.767.045.045 0 00.049-.016c.27-.368.51-.755.715-1.163a.044.044 0 00-.024-.062 7.661 7.661 0 01-1.092-.52.045.045 0 01-.005-.075c.074-.055.147-.112.217-.17a.043.043 0 01.046-.006c2.29 1.046 4.771 1.046 7.035 0a.043.043 0 01.046.006c.07.057.144.115.218.17a.045.045 0 01-.004.075 7.186 7.186 0 01-1.093.52.045.045 0 00-.024.062c.21.407.45.795.715 1.162.011.016.03.023.05.017a11.57 11.57 0 003.5-1.767.045.045 0 00.019-.032c.292-3.02-.49-5.643-2.07-7.969a.036.036 0 00-.018-.016zM4.678 9.279c-.69 0-1.258-.634-1.258-1.411 0-.778.558-1.411 1.258-1.411.707 0 1.27.639 1.259 1.41 0 .778-.558 1.412-1.259 1.412zm4.652 0c-.69 0-1.258-.634-1.258-1.411 0-.778.557-1.411 1.258-1.411.707 0 1.27.639 1.258 1.41 0 .778-.551 1.412-1.258 1.412z",fill:e}))),y_=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.399 14H5.06V7H3.5V4.588l1.56-.001-.002-1.421C5.058 1.197 5.533 0 7.6 0h1.721v2.413H8.246c-.805 0-.844.337-.844.966l-.003 1.208h1.934l-.228 2.412L7.401 7l-.002 7z",fill:e}))),b_=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.2 0H4.803A2.603 2.603 0 003.41 4.802a2.603 2.603 0 000 4.396 2.602 2.602 0 103.998 2.199v-2.51a2.603 2.603 0 103.187-4.085A2.604 2.604 0 009.2 0zM7.407 7a1.793 1.793 0 103.586 0 1.793 1.793 0 00-3.586 0zm-.81 2.603H4.803a1.793 1.793 0 101.794 1.794V9.603zM4.803 4.397h1.794V.81H4.803a1.793 1.793 0 000 3.587zm0 .81a1.793 1.793 0 000 3.586h1.794V5.207H4.803zm4.397-.81H7.407V.81H9.2a1.794 1.794 0 010 3.587z",fill:e}))),w_=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M6.37 8.768l-2.042 3.537h6.755l2.042-3.537H6.37zm6.177-1.003l-3.505-6.07H4.96l3.504 6.07h4.084zM4.378 2.7L.875 8.77l2.042 3.536L6.42 6.236 4.378 2.7z",fill:e}))),D_=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 0C3.132 0 0 3.132 0 7a6.996 6.996 0 004.786 6.641c.35.062.482-.149.482-.332 0-.166-.01-.718-.01-1.304-1.758.324-2.213-.429-2.353-.823-.079-.2-.42-.822-.717-.988-.246-.132-.596-.455-.01-.464.552-.009.946.508 1.077.717.63 1.06 1.636.762 2.039.578.061-.455.245-.761.446-.936-1.558-.175-3.185-.779-3.185-3.457 0-.76.271-1.39.717-1.88-.07-.176-.314-.893.07-1.856 0 0 .587-.183 1.925.718a6.495 6.495 0 011.75-.236c.595 0 1.19.078 1.75.236 1.34-.91 1.926-.718 1.926-.718.385.963.14 1.68.07 1.855.446.49.717 1.111.717 1.881 0 2.687-1.636 3.282-3.194 3.457.254.218.473.638.473 1.295 0 .936-.009 1.688-.009 1.925 0 .184.131.402.481.332A7.012 7.012 0 0014 7c0-3.868-3.133-7-7-7z",fill:e}))),E_=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1.068 5.583l1.487-4.557a.256.256 0 01.487 0L4.53 5.583H1.068L7 13.15 4.53 5.583h4.941l-2.47 7.565 5.931-7.565H9.471l1.488-4.557a.256.256 0 01.486 0l1.488 4.557.75 2.3a.508.508 0 01-.185.568L7 13.148v.001H7L.503 8.452a.508.508 0 01-.186-.57l.75-2.299z",fill:e}))),C_=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M10.925 1.094H7.262c-1.643 0-3.189 1.244-3.189 2.685 0 1.473 1.12 2.661 2.791 2.661.116 0 .23-.002.34-.01a1.49 1.49 0 00-.186.684c0 .41.22.741.498 1.012-.21 0-.413.006-.635.006-2.034 0-3.6 1.296-3.6 2.64 0 1.323 1.717 2.15 3.75 2.15 2.32 0 3.6-1.315 3.6-2.639 0-1.06-.313-1.696-1.28-2.38-.331-.235-.965-.805-.965-1.14 0-.392.112-.586.703-1.047.606-.474 1.035-1.14 1.035-1.914 0-.92-.41-1.819-1.18-2.115h1.161l.82-.593zm-1.335 8.96c.03.124.045.25.045.378 0 1.07-.688 1.905-2.665 1.905-1.406 0-2.421-.89-2.421-1.96 0-1.047 1.259-1.92 2.665-1.904.328.004.634.057.911.146.764.531 1.311.832 1.465 1.436zM7.34 6.068c-.944-.028-1.841-1.055-2.005-2.295-.162-1.24.47-2.188 1.415-2.16.943.029 1.84 1.023 2.003 2.262.163 1.24-.47 2.222-1.414 2.193z",fill:e}))),x_=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.873 11.608a1.167 1.167 0 00-1.707-.027L3.46 10.018l.01-.04h7.072l.022.076-2.69 1.554zM6.166 2.42l.031.03-3.535 6.124a1.265 1.265 0 00-.043-.012V5.438a1.166 1.166 0 00.84-1.456L6.167 2.42zm4.387 1.562a1.165 1.165 0 00.84 1.456v3.124l-.043.012-3.536-6.123a1.2 1.2 0 00.033-.032l2.706 1.563zM3.473 9.42a1.168 1.168 0 00-.327-.568L6.68 2.73a1.17 1.17 0 00.652 0l3.536 6.123a1.169 1.169 0 00-.327.567H3.473zm8.79-.736a1.169 1.169 0 00-.311-.124V5.44a1.17 1.17 0 10-1.122-1.942L8.13 1.938a1.168 1.168 0 00-1.122-1.5 1.17 1.17 0 00-1.121 1.5l-2.702 1.56a1.168 1.168 0 00-1.86.22 1.17 1.17 0 00.739 1.722v3.12a1.168 1.168 0 00-.74 1.721 1.17 1.17 0 001.861.221l2.701 1.56a1.169 1.169 0 102.233-.035l2.687-1.552a1.168 1.168 0 101.457-1.791z",fill:e}))),S_=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M0 0v14h14V0H0zm11.63 3.317l-.75.72a.22.22 0 00-.083.212v-.001 5.289a.22.22 0 00.083.21l.733.72v.159H7.925v-.158l.76-.738c.074-.074.074-.096.074-.21V5.244l-2.112 5.364h-.285l-2.46-5.364V8.84a.494.494 0 00.136.413h.001l.988 1.198v.158H2.226v-.158l.988-1.198a.477.477 0 00.126-.416v.003-4.157a.363.363 0 00-.118-.307l-.878-1.058v-.158h2.727l2.107 4.622L9.031 3.16h2.6v.158z",fill:e}))),F_=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4.06 9.689c.016.49.423.88.912.88h.032a.911.911 0 00.88-.945.916.916 0 00-.912-.88h-.033c-.033 0-.08 0-.113.016-.669-1.108-.946-2.314-.848-3.618.065-.978.391-1.825.961-2.526.473-.603 1.386-.896 2.005-.913 1.728-.032 2.461 2.119 2.51 2.983.212.049.57.163.815.244C10.073 2.29 8.444.92 6.88.92c-1.467 0-2.82 1.06-3.357 2.625-.75 2.086-.261 4.09.651 5.671a.74.74 0 00-.114.473zm8.279-2.298c-1.239-1.45-3.064-2.249-5.15-2.249h-.261a.896.896 0 00-.798-.489h-.033A.912.912 0 006.13 6.48h.031a.919.919 0 00.8-.554h.293c1.239 0 2.412.358 3.472 1.059.814.538 1.401 1.238 1.727 2.086.277.684.261 1.353-.033 1.923-.456.864-1.222 1.337-2.232 1.337a4.16 4.16 0 01-1.597-.343 9.58 9.58 0 01-.734.587c.7.326 1.418.505 2.102.505 1.565 0 2.722-.863 3.162-1.727.473-.946.44-2.575-.782-3.961zm-7.433 5.51a4.005 4.005 0 01-.977.113c-1.206 0-2.298-.505-2.836-1.32C.376 10.603.13 8.289 2.494 6.577c.05.261.147.62.212.832-.31.228-.798.685-1.108 1.303-.44.864-.391 1.729.13 2.527.359.537.93.864 1.663.962.896.114 1.793-.05 2.657-.505 1.271-.669 2.119-1.467 2.672-2.56a.944.944 0 01-.26-.603.913.913 0 01.88-.945h.033a.915.915 0 01.098 1.825c-.897 1.842-2.478 3.08-4.565 3.488z",fill:e}))),A_=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14 2.547a5.632 5.632 0 01-1.65.464 2.946 2.946 0 001.263-1.63 5.67 5.67 0 01-1.823.715 2.837 2.837 0 00-2.097-.93c-1.586 0-2.872 1.319-2.872 2.946 0 .23.025.456.074.67C4.508 4.66 2.392 3.488.975 1.706c-.247.435-.389.941-.389 1.481 0 1.022.507 1.923 1.278 2.452a2.806 2.806 0 01-1.3-.368l-.001.037c0 1.427.99 2.617 2.303 2.888a2.82 2.82 0 01-1.297.05c.366 1.17 1.427 2.022 2.683 2.045A5.671 5.671 0 010 11.51a7.985 7.985 0 004.403 1.323c5.283 0 8.172-4.488 8.172-8.38 0-.128-.003-.255-.009-.38A5.926 5.926 0 0014 2.546z",fill:e}))),k_=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M13.99 8.172c.005-.281.007-.672.007-1.172 0-.5-.002-.89-.007-1.172a14.952 14.952 0 00-.066-1.066 9.638 9.638 0 00-.169-1.153c-.083-.38-.264-.7-.542-.96a1.667 1.667 0 00-.972-.454C11.084 2.065 9.337 2 6.999 2s-4.085.065-5.241.195a1.65 1.65 0 00-.969.453c-.276.26-.455.58-.539.961a8.648 8.648 0 00-.176 1.153c-.039.43-.061.785-.066 1.066C.002 6.11 0 6.5 0 7c0 .5.002.89.008 1.172.005.281.027.637.066 1.067.04.43.095.813.168 1.152.084.38.265.7.543.96.279.261.603.412.973.453 1.156.13 2.902.196 5.24.196 2.34 0 4.087-.065 5.243-.196a1.65 1.65 0 00.967-.453c.276-.26.456-.58.54-.96.077-.339.136-.722.175-1.152.04-.43.062-.786.067-1.067zM9.762 6.578A.45.45 0 019.997 7a.45.45 0 01-.235.422l-3.998 2.5a.442.442 0 01-.266.078.538.538 0 01-.242-.063.465.465 0 01-.258-.437v-5c0-.197.086-.343.258-.437a.471.471 0 01.508.016l3.998 2.5z",fill:e}))),__=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10.243.04a.87.87 0 01.38.087l2.881 1.386a.874.874 0 01.496.79V11.713a.875.875 0 01-.496.775l-2.882 1.386a.872.872 0 01-.994-.17L4.11 8.674l-2.404 1.823a.583.583 0 01-.744-.034l-.771-.7a.583.583 0 010-.862L2.274 7 .19 5.1a.583.583 0 010-.862l.772-.701a.583.583 0 01.744-.033L4.11 5.327 9.628.296a.871.871 0 01.615-.255zm.259 3.784L6.315 7l4.187 3.176V3.824z",fill:e}))),B_=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.667 13H2.333A1.333 1.333 0 011 11.667V2.333C1 1.597 1.597 1 2.333 1h9.334C12.403 1 13 1.597 13 2.333v9.334c0 .736-.597 1.333-1.333 1.333zm-2.114-1.667h1.78V7.675c0-1.548-.877-2.296-2.102-2.296-1.226 0-1.742.955-1.742.955v-.778H5.773v5.777h1.716V8.3c0-.812.374-1.296 1.09-1.296.658 0 .974.465.974 1.296v3.033zm-6.886-7.6c0 .589.474 1.066 1.058 1.066.585 0 1.058-.477 1.058-1.066 0-.589-.473-1.066-1.058-1.066-.584 0-1.058.477-1.058 1.066zm1.962 7.6h-1.79V5.556h1.79v5.777z",fill:e}))),R_=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M11.02.446h2.137L8.49 5.816l5.51 7.28H9.67L6.298 8.683l-3.88 4.413H.282l5.004-5.735L0 .446h4.442l3.064 4.048L11.02.446zm-.759 11.357h1.18L3.796 1.655H2.502l7.759 10.148z",fill:e}))),I_=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M.5 13.004a.5.5 0 01-.5-.5v-11a.5.5 0 01.5-.5h13a.5.5 0 01.5.5v11a.5.5 0 01-.5.5H.5zm.5-1v-8h12v8H1zm1-9.5a.5.5 0 11-1 0 .5.5 0 011 0zm2 0a.5.5 0 11-1 0 .5.5 0 011 0zm2 0a.5.5 0 11-1 0 .5.5 0 011 0z",fill:e}))),z_=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.5.004a1.5 1.5 0 00-1.5 1.5v11a1.5 1.5 0 001.5 1.5h7a1.5 1.5 0 001.5-1.5v-11a1.5 1.5 0 00-1.5-1.5h-7zm0 1h7a.5.5 0 01.5.5v9.5H3v-9.5a.5.5 0 01.5-.5zm2.5 11a.5.5 0 000 1h2a.5.5 0 000-1H6z",fill:e}))),T_=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3 1.504a1.5 1.5 0 011.5-1.5h5a1.5 1.5 0 011.5 1.5v11a1.5 1.5 0 01-1.5 1.5h-5a1.5 1.5 0 01-1.5-1.5v-11zm1 10.5v-10h6v10H4z",fill:e}))),L_=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4 .504a.5.5 0 01.5-.5h5a.5.5 0 010 1h-5a.5.5 0 01-.5-.5zm5.5 2.5h-5a.5.5 0 00-.5.5v7a.5.5 0 00.5.5h5a.5.5 0 00.5-.5v-7a.5.5 0 00-.5-.5zm-5-1a1.5 1.5 0 00-1.5 1.5v7a1.5 1.5 0 001.5 1.5h5a1.5 1.5 0 001.5-1.5v-7a1.5 1.5 0 00-1.5-1.5h-5zm2.5 2a.5.5 0 01.5.5v2h1a.5.5 0 110 1H7a.5.5 0 01-.5-.5v-2.5a.5.5 0 01.5-.5zm-2.5 9a.5.5 0 000 1h5a.5.5 0 000-1h-5z",fill:e}))),M_=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M2.5 4.504a.5.5 0 01.5-.5h1a.5.5 0 110 1H3a.5.5 0 01-.5-.5zM3 6.004a.5.5 0 100 1h1a.5.5 0 000-1H3zM2.5 8.504a.5.5 0 01.5-.5h1a.5.5 0 110 1H3a.5.5 0 01-.5-.5z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1.5 13.004a.5.5 0 01-.5-.5v-11a.5.5 0 01.5-.5h11a.5.5 0 01.5.5v11a.5.5 0 01-.5.5h-11zm.5-1v-10h3v10H2zm4-10h6v10H6v-10z",fill:e}))),O_=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M9.5 4.504a.5.5 0 01.5-.5h1a.5.5 0 010 1h-1a.5.5 0 01-.5-.5zM10 6.004a.5.5 0 100 1h1a.5.5 0 000-1h-1zM9.5 8.504a.5.5 0 01.5-.5h1a.5.5 0 010 1h-1a.5.5 0 01-.5-.5z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1.5 13.004a.5.5 0 01-.5-.5v-11a.5.5 0 01.5-.5h11a.5.5 0 01.5.5v11a.5.5 0 01-.5.5h-11zm.5-1v-10h6v10H2zm7-10h3v10H9v-10z",fill:e}))),P_=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M11.5 4.504a.5.5 0 00-.5-.5h-1a.5.5 0 100 1h1a.5.5 0 00.5-.5zM11 6.004a.5.5 0 010 1h-1a.5.5 0 010-1h1zM11.5 8.504a.5.5 0 00-.5-.5h-1a.5.5 0 100 1h1a.5.5 0 00.5-.5z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1.5 13.004a.5.5 0 01-.5-.5v-11a.5.5 0 01.5-.5h11a.5.5 0 01.5.5v11a.5.5 0 01-.5.5h-11zm7.5-1h3v-10H9v10zm-1 0H2v-10h6v4.5H5.207l.65-.65a.5.5 0 10-.707-.708L3.646 6.65a.5.5 0 000 .707l1.497 1.497a.5.5 0 10.707-.708l-.643-.642H8v4.5z",fill:e}))),N_=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M1.5 4.504a.5.5 0 01.5-.5h1a.5.5 0 110 1H2a.5.5 0 01-.5-.5zM2 6.004a.5.5 0 100 1h1a.5.5 0 000-1H2zM1.5 8.504a.5.5 0 01.5-.5h1a.5.5 0 110 1H2a.5.5 0 01-.5-.5z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M.5 13.004a.5.5 0 01-.5-.5v-11a.5.5 0 01.5-.5h11a.5.5 0 01.5.5v11a.5.5 0 01-.5.5H.5zm.5-1v-10h3v10H1zm4 0v-4.5h2.793l-.643.642a.5.5 0 10.707.708l1.497-1.497a.5.5 0 000-.707L7.85 5.146a.5.5 0 10-.707.708l.65.65H5v-4.5h6v10H5z",fill:e}))),H_=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M3 10.504a.5.5 0 01.5-.5h1a.5.5 0 010 1h-1a.5.5 0 01-.5-.5zM6.5 10.004a.5.5 0 000 1h1a.5.5 0 000-1h-1zM9 10.504a.5.5 0 01.5-.5h1a.5.5 0 010 1h-1a.5.5 0 01-.5-.5z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1 1.504a.5.5 0 01.5-.5h11a.5.5 0 01.5.5v11a.5.5 0 01-.5.5h-11a.5.5 0 01-.5-.5v-11zm1 6.5v-6h10v6H2zm10 1v3H2v-3h10z",fill:e}))),$_=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M3.5 10.004a.5.5 0 000 1h1a.5.5 0 000-1h-1zM6 10.504a.5.5 0 01.5-.5h1a.5.5 0 010 1h-1a.5.5 0 01-.5-.5zM9.5 10.004a.5.5 0 000 1h1a.5.5 0 000-1h-1z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1 12.504v-11a.5.5 0 01.5-.5h11a.5.5 0 01.5.5v11a.5.5 0 01-.5.5h-11a.5.5 0 01-.5-.5zm1-.5v-3h10v3H2zm4.5-4H2v-6h10v6H7.5V5.21l.646.646a.5.5 0 10.708-.707l-1.5-1.5a.5.5 0 00-.708 0l-1.5 1.5a.5.5 0 10.708.707l.646-.646v2.793z",fill:e}))),j_=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5 5.504a.5.5 0 01.5-.5h3a.5.5 0 01.5.5v3a.5.5 0 01-.5.5h-3a.5.5 0 01-.5-.5v-3zm1 2.5v-2h2v2H6z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5.5.004a.5.5 0 01.5.5v1.5h2v-1.5a.5.5 0 011 0v1.5h2.5a.5.5 0 01.5.5v2.5h1.5a.5.5 0 010 1H12v2h1.5a.5.5 0 010 1H12v2.5a.5.5 0 01-.5.5H9v1.5a.5.5 0 01-1 0v-1.5H6v1.5a.5.5 0 01-1 0v-1.5H2.5a.5.5 0 01-.5-.5v-2.5H.5a.5.5 0 010-1H2v-2H.5a.5.5 0 010-1H2v-2.5a.5.5 0 01.5-.5H5v-1.5a.5.5 0 01.5-.5zm5.5 3H3v8h8v-8z",fill:e}))),V_=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12 3c0-1.105-2.239-2-5-2s-5 .895-5 2v8c0 .426.26.752.544.977.29.228.68.413 1.116.558.878.293 2.059.465 3.34.465 1.281 0 2.462-.172 3.34-.465.436-.145.825-.33 1.116-.558.285-.225.544-.551.544-.977V3zm-1.03 0a.787.787 0 00-.05-.052c-.13-.123-.373-.28-.756-.434C9.404 2.21 8.286 2 7 2c-1.286 0-2.404.21-3.164.514-.383.153-.625.31-.756.434A.756.756 0 003.03 3a.756.756 0 00.05.052c.13.123.373.28.756.434C4.596 3.79 5.714 4 7 4c1.286 0 2.404-.21 3.164-.514.383-.153.625-.31.756-.434A.787.787 0 0010.97 3zM11 5.75V4.2c-.912.486-2.364.8-4 .8-1.636 0-3.088-.314-4-.8v1.55l.002.008a.147.147 0 00.016.033.618.618 0 00.145.15c.165.13.435.27.813.395.751.25 1.82.414 3.024.414s2.273-.163 3.024-.414c.378-.126.648-.265.813-.395a.62.62 0 00.146-.15.149.149 0 00.015-.033A.03.03 0 0011 5.75zM3 7.013c.2.103.423.193.66.272.878.293 2.059.465 3.34.465 1.281 0 2.462-.172 3.34-.465.237-.079.46-.17.66-.272V8.5l-.002.008a.149.149 0 01-.015.033.62.62 0 01-.146.15c-.165.13-.435.27-.813.395-.751.25-1.82.414-3.024.414s-2.273-.163-3.024-.414c-.378-.126-.648-.265-.813-.395a.618.618 0 01-.145-.15.147.147 0 01-.016-.033A.027.027 0 013 8.5V7.013zm0 2.75V11l.002.008a.147.147 0 00.016.033.617.617 0 00.145.15c.165.13.435.27.813.395.751.25 1.82.414 3.024.414s2.273-.163 3.024-.414c.378-.126.648-.265.813-.395a.619.619 0 00.146-.15.148.148 0 00.015-.033L11 11V9.763c-.2.103-.423.193-.66.272-.878.293-2.059.465-3.34.465-1.281 0-2.462-.172-3.34-.465A4.767 4.767 0 013 9.763z",fill:e}))),U_=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M5 3a.5.5 0 00-1 0v3a.5.5 0 001 0V3zM7 2.5a.5.5 0 01.5.5v3a.5.5 0 01-1 0V3a.5.5 0 01.5-.5zM10 4.504a.5.5 0 10-1 0V6a.5.5 0 001 0V4.504z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12 3.54l-.001-.002a.499.499 0 00-.145-.388l-3-3a.499.499 0 00-.388-.145L8.464.004H2.5a.5.5 0 00-.5.5v13a.5.5 0 00.5.5h9a.5.5 0 00.5-.5V3.54zM3 1.004h5.293L11 3.71v5.293H3v-8zm0 9v3h8v-3H3z",fill:e}))),q_=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.164 3.446a1.5 1.5 0 10-2.328 0L1.81 10.032A1.503 1.503 0 000 11.5a1.5 1.5 0 002.915.5h8.17a1.5 1.5 0 101.104-1.968L8.164 3.446zm-1.475.522a1.506 1.506 0 00.622 0l4.025 6.586a1.495 1.495 0 00-.25.446H2.914a1.497 1.497 0 00-.25-.446l4.024-6.586z",fill:e}))),W_=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.21.046l6.485 2.994A.5.5 0 0114 3.51v6.977a.495.495 0 01-.23.432.481.481 0 01-.071.038L7.23 13.944a.499.499 0 01-.46 0L.3 10.958a.498.498 0 01-.3-.47V3.511a.497.497 0 01.308-.473L6.78.051a.499.499 0 01.43-.005zM1 4.282v5.898l5.5 2.538V6.82L1 4.282zm6.5 8.436L13 10.18V4.282L7.5 6.82v5.898zM12.307 3.5L7 5.95 1.693 3.5 7 1.05l5.307 2.45z",fill:e}))),G_=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M7.5.5a.5.5 0 00-1 0v6a.5.5 0 001 0v-6z",fill:e}),l.createElement("path",{d:"M4.273 2.808a.5.5 0 00-.546-.837 6 6 0 106.546 0 .5.5 0 00-.546.837 5 5 0 11-5.454 0z",fill:e}))),K_=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M13.854 2.146l-2-2a.5.5 0 00-.708 0l-1.5 1.5-8.995 8.995a.499.499 0 00-.143.268L.012 13.39a.495.495 0 00.135.463.5.5 0 00.462.134l2.482-.496a.495.495 0 00.267-.143l8.995-8.995 1.5-1.5a.5.5 0 000-.708zM12 3.293l.793-.793L11.5 1.207 10.707 2 12 3.293zm-2-.586L1.707 11 3 12.293 11.293 4 10 2.707zM1.137 12.863l.17-.849.679.679-.849.17z",fill:e}))),Y_=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M5.586 5.586A2 2 0 018.862 7.73a.5.5 0 10.931.365 3 3 0 10-1.697 1.697.5.5 0 10-.365-.93 2 2 0 01-2.145-3.277z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M.939 6.527c.127.128.19.297.185.464a.635.635 0 01-.185.465L0 8.395a7.099 7.099 0 001.067 2.572h1.32c.182 0 .345.076.46.197a.635.635 0 01.198.46v1.317A7.097 7.097 0 005.602 14l.94-.94a.634.634 0 01.45-.186H7.021c.163 0 .326.061.45.186l.939.938a7.098 7.098 0 002.547-1.057V11.61c0-.181.075-.344.197-.46a.634.634 0 01.46-.197h1.33c.507-.76.871-1.622 1.056-2.55l-.946-.946a.635.635 0 01-.186-.465.635.635 0 01.186-.464l.943-.944a7.099 7.099 0 00-1.044-2.522h-1.34a.635.635 0 01-.46-.197.635.635 0 01-.196-.46V1.057A7.096 7.096 0 008.413.002l-.942.942a.634.634 0 01-.45.186H6.992a.634.634 0 01-.45-.186L5.598 0a7.097 7.097 0 00-2.553 1.058v1.33c0 .182-.076.345-.197.46a.635.635 0 01-.46.198h-1.33A7.098 7.098 0 00.003 5.591l.936.936zm.707 1.636c.324-.324.482-.752.479-1.172a1.634 1.634 0 00-.48-1.171l-.538-.539c.126-.433.299-.847.513-1.235h.768c.459 0 .873-.19 1.167-.49.3-.295.49-.708.49-1.167v-.77c.39-.215.807-.388 1.243-.515l.547.547c.32.32.742.48 1.157.48l.015-.001h.014c.415 0 .836-.158 1.157-.479l.545-.544c.433.126.846.299 1.234.512v.784c0 .46.19.874.49 1.168.294.3.708.49 1.167.49h.776c.209.382.378.788.502 1.213l-.545.546a1.635 1.635 0 00-.48 1.17c-.003.421.155.849.48 1.173l.549.55c-.126.434-.3.85-.513 1.239h-.77c-.458 0-.872.19-1.166.49-.3.294-.49.708-.49 1.167v.77a6.09 6.09 0 01-1.238.514l-.54-.54a1.636 1.636 0 00-1.158-.48H6.992c-.415 0-.837.159-1.157.48l-.543.543a6.091 6.091 0 01-1.247-.516v-.756c0-.459-.19-.873-.49-1.167-.294-.3-.708-.49-1.167-.49h-.761a6.094 6.094 0 01-.523-1.262l.542-.542z",fill:e}))),J_=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M5.585 8.414a2 2 0 113.277-.683.5.5 0 10.931.365 3 3 0 10-1.697 1.697.5.5 0 00-.365-.93 2 2 0 01-2.146-.449z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6.5.289a1 1 0 011 0l5.062 2.922a1 1 0 01.5.866v5.846a1 1 0 01-.5.866L7.5 13.71a1 1 0 01-1 0L1.437 10.79a1 1 0 01-.5-.866V4.077a1 1 0 01.5-.866L6.5.29zm.5.866l5.062 2.922v5.846L7 12.845 1.937 9.923V4.077L7 1.155z",fill:e}))),Z_=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10.5 1c.441 0 .564.521.252.833l-.806.807a.51.51 0 000 .72l.694.694a.51.51 0 00.72 0l.807-.806c.312-.312.833-.19.833.252a2.5 2.5 0 01-3.414 2.328l-6.879 6.88a1 1 0 01-1.414-1.415l6.88-6.88A2.5 2.5 0 0110.5 1zM2 12.5a.5.5 0 100-1 .5.5 0 000 1z",fill:e}))),X_=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M4 7a1.5 1.5 0 11-3 0 1.5 1.5 0 013 0zM13 7a1.5 1.5 0 11-3 0 1.5 1.5 0 013 0zM7 8.5a1.5 1.5 0 100-3 1.5 1.5 0 000 3z",fill:e}))),Q_=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M5.903.112a.107.107 0 01.194 0l.233.505.552.066c.091.01.128.123.06.185l-.408.377.109.546a.107.107 0 01-.158.114L6 1.633l-.486.272a.107.107 0 01-.157-.114l.108-.546-.408-.377a.107.107 0 01.06-.185L5.67.617l.233-.505zM2.194.224a.214.214 0 00-.389 0l-.466 1.01-1.104.13a.214.214 0 00-.12.371l.816.755-.217 1.091a.214.214 0 00.315.23L2 3.266l.971.543c.16.09.35-.05.315-.229l-.217-1.09.817-.756a.214.214 0 00-.12-.37L2.66 1.234 2.194.224zM12.194 8.224a.214.214 0 00-.389 0l-.466 1.01-1.104.13a.214.214 0 00-.12.371l.816.755-.217 1.091a.214.214 0 00.315.23l.97-.544.971.543c.16.09.35-.05.315-.229l-.217-1.09.817-.756a.214.214 0 00-.12-.37l-1.105-.131-.466-1.01z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M.147 11.857a.5.5 0 010-.707l11-11a.5.5 0 01.706 0l2 2a.5.5 0 010 .708l-11 11a.5.5 0 01-.706 0l-2-2zm2.353.94l-1.293-1.293 6.758-6.758L9.258 6.04 2.5 12.797zm7.465-7.465l2.828-2.828L11.5 1.211 8.672 4.039l1.293 1.293z",fill:e}))),eB=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M13.854 3.354a.5.5 0 00-.708-.708L5 10.793.854 6.646a.5.5 0 10-.708.708l4.5 4.5a.5.5 0 00.708 0l8.5-8.5z",fill:e}))),tB=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M2 1.004a1 1 0 00-1 1v10a1 1 0 001 1h10a1 1 0 001-1V6.393a.5.5 0 00-1 0v5.61H2v-10h7.5a.5.5 0 000-1H2z",fill:e}),l.createElement("path",{d:"M6.354 9.857l7.5-7.5a.5.5 0 00-.708-.707L6 8.797 3.854 6.65a.5.5 0 10-.708.707l2.5 2.5a.5.5 0 00.708 0z",fill:e}))),rB=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M11.5 2a.5.5 0 000 1h2a.5.5 0 000-1h-2zM8.854 2.646a.5.5 0 010 .708L5.207 7l3.647 3.646a.5.5 0 01-.708.708L4.5 7.707.854 11.354a.5.5 0 01-.708-.708L3.793 7 .146 3.354a.5.5 0 11.708-.708L4.5 6.293l3.646-3.647a.5.5 0 01.708 0zM11 7a.5.5 0 01.5-.5h2a.5.5 0 010 1h-2A.5.5 0 0111 7zM11.5 11a.5.5 0 000 1h2a.5.5 0 000-1h-2z",fill:e}))),nB=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M11.5 2a.5.5 0 000 1h2a.5.5 0 000-1h-2zM9.3 2.6a.5.5 0 01.1.7l-5.995 7.993a.505.505 0 01-.37.206.5.5 0 01-.395-.152L.146 8.854a.5.5 0 11.708-.708l2.092 2.093L8.6 2.7a.5.5 0 01.7-.1zM11 7a.5.5 0 01.5-.5h2a.5.5 0 010 1h-2A.5.5 0 0111 7zM11.5 11a.5.5 0 000 1h2a.5.5 0 000-1h-2z",fill:e}))),aB=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M10.5 1a.5.5 0 01.5.5V2h1.5a.5.5 0 010 1H11v.5a.5.5 0 01-1 0V3H1.5a.5.5 0 010-1H10v-.5a.5.5 0 01.5-.5zM1.5 11a.5.5 0 000 1H10v.5a.5.5 0 001 0V12h1.5a.5.5 0 000-1H11v-.5a.5.5 0 00-1 0v.5H1.5zM1 7a.5.5 0 01.5-.5H3V6a.5.5 0 011 0v.5h8.5a.5.5 0 010 1H4V8a.5.5 0 01-1 0v-.5H1.5A.5.5 0 011 7z",fill:e}))),oB=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M7.5.5a.5.5 0 00-1 0v6h-6a.5.5 0 000 1h6v6a.5.5 0 001 0v-6h6a.5.5 0 000-1h-6v-6z",fill:e}))),iB=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M2.03.97A.75.75 0 00.97 2.03L5.94 7 .97 11.97a.75.75 0 101.06 1.06L7 8.06l4.97 4.97a.75.75 0 101.06-1.06L8.06 7l4.97-4.97A.75.75 0 0011.97.97L7 5.94 2.03.97z",fill:e}))),qD=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M1.854 1.146a.5.5 0 10-.708.708L6.293 7l-5.147 5.146a.5.5 0 00.708.708L7 7.707l5.146 5.147a.5.5 0 00.708-.708L7.707 7l5.147-5.146a.5.5 0 00-.708-.708L7 6.293 1.854 1.146z",fill:e}))),lB=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M5.5 4.5A.5.5 0 016 5v5a.5.5 0 01-1 0V5a.5.5 0 01.5-.5zM9 5a.5.5 0 00-1 0v5a.5.5 0 001 0V5z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4.5.5A.5.5 0 015 0h4a.5.5 0 01.5.5V2h3a.5.5 0 010 1H12v8a2 2 0 01-2 2H4a2 2 0 01-2-2V3h-.5a.5.5 0 010-1h3V.5zM3 3v8a1 1 0 001 1h6a1 1 0 001-1V3H3zm2.5-2h3v1h-3V1z",fill:e}))),sB=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("g",{clipPath:"url(#prefix__clip0_1107_3502)"},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M13.44 4.44L9.56.56a1.5 1.5 0 00-2.12 0L7 1a1.415 1.415 0 000 2L5 5H3.657A4 4 0 00.828 6.17l-.474.475a.5.5 0 000 .707l2.793 2.793-3 3a.5.5 0 00.707.708l3-3 2.792 2.792a.5.5 0 00.708 0l.474-.475A4 4 0 009 10.343V9l2-2a1.414 1.414 0 002 0l.44-.44a1.5 1.5 0 000-2.12zM11 5.585l-3 3v1.757a3 3 0 01-.879 2.121L7 12.586 1.414 7l.122-.122A3 3 0 013.656 6h1.758l3-3-.707-.707a.414.414 0 010-.586l.44-.44a.5.5 0 01.707 0l3.878 3.88a.5.5 0 010 .706l-.44.44a.414.414 0 01-.585 0L11 5.586z",fill:e})),l.createElement("defs",null,l.createElement("clipPath",{id:"prefix__clip0_1107_3502"},l.createElement("path",{fill:"#fff",d:"M0 0h14v14H0z"}))))),uB=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("g",{clipPath:"url(#prefix__clip0_1107_3501)",fill:e},l.createElement("path",{d:"M13.44 4.44L9.56.56a1.5 1.5 0 00-2.12 0L7 1a1.415 1.415 0 000 2L5.707 4.293 6.414 5l2-2-.707-.707a.414.414 0 010-.586l.44-.44a.5.5 0 01.707 0l3.878 3.88a.5.5 0 010 .706l-.44.44a.414.414 0 01-.585 0L11 5.586l-2 2 .707.707L11 7a1.414 1.414 0 002 0l.44-.44a1.5 1.5 0 000-2.12zM.828 6.171a4 4 0 012.758-1.17l1 .999h-.93a3 3 0 00-2.12.878L1.414 7 7 12.586l.121-.122A3 3 0 008 10.343v-.929l1 1a4 4 0 01-1.172 2.757l-.474.475a.5.5 0 01-.708 0l-2.792-2.792-3 3a.5.5 0 01-.708-.708l3-3L.355 7.353a.5.5 0 010-.707l.474-.475zM1.854 1.146a.5.5 0 10-.708.708l11 11a.5.5 0 00.708-.708l-11-11z"})),l.createElement("defs",null,l.createElement("clipPath",{id:"prefix__clip0_1107_3501"},l.createElement("path",{fill:"#fff",d:"M0 0h14v14H0z"}))))),cB=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M7 3a.5.5 0 01.5.5v3h3a.5.5 0 010 1h-3v3a.5.5 0 01-1 0v-3h-3a.5.5 0 010-1h3v-3A.5.5 0 017 3z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 14A7 7 0 107 0a7 7 0 000 14zm0-1A6 6 0 107 1a6 6 0 000 12z",fill:e}))),dB=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M3.5 6.5a.5.5 0 000 1h7a.5.5 0 000-1h-7z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14 7A7 7 0 110 7a7 7 0 0114 0zm-1 0A6 6 0 111 7a6 6 0 0112 0z",fill:e}))),pB=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M9.854 4.146a.5.5 0 010 .708L7.707 7l2.147 2.146a.5.5 0 01-.708.708L7 7.707 4.854 9.854a.5.5 0 01-.708-.708L6.293 7 4.146 4.854a.5.5 0 11.708-.708L7 6.293l2.146-2.147a.5.5 0 01.708 0z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 14A7 7 0 107 0a7 7 0 000 14zm0-1A6 6 0 107 1a6 6 0 000 12z",fill:e}))),fB=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14 7A7 7 0 110 7a7 7 0 0114 0zm-1 0a6 6 0 01-9.874 4.582l8.456-8.456A5.976 5.976 0 0113 7zM2.418 10.874l8.456-8.456a6 6 0 00-8.456 8.456z",fill:e}))),hB=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 14A7 7 0 107 0a7 7 0 000 14zm3.854-9.354a.5.5 0 010 .708l-4.5 4.5a.5.5 0 01-.708 0l-2.5-2.5a.5.5 0 11.708-.708L6 8.793l4.146-4.147a.5.5 0 01.708 0z",fill:e}))),mB=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 14A7 7 0 107 0a7 7 0 000 14zM3.5 6.5a.5.5 0 000 1h7a.5.5 0 000-1h-7z",fill:e}))),gB=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 14A7 7 0 107 0a7 7 0 000 14zm2.854-9.854a.5.5 0 010 .708L7.707 7l2.147 2.146a.5.5 0 01-.708.708L7 7.707 4.854 9.854a.5.5 0 01-.708-.708L6.293 7 4.146 4.854a.5.5 0 11.708-.708L7 6.293l2.146-2.147a.5.5 0 01.708 0z",fill:e}))),vB=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5 2h7a2 2 0 012 2v6a2 2 0 01-2 2H5a1.994 1.994 0 01-1.414-.586l-3-3a2 2 0 010-2.828l3-3A1.994 1.994 0 015 2zm1.146 3.146a.5.5 0 01.708 0L8 6.293l1.146-1.147a.5.5 0 11.708.708L8.707 7l1.147 1.146a.5.5 0 01-.708.708L8 7.707 6.854 8.854a.5.5 0 11-.708-.708L7.293 7 6.146 5.854a.5.5 0 010-.708z",fill:e}))),yB=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M3.5 5.004a.5.5 0 100 1h7a.5.5 0 000-1h-7zM3 8.504a.5.5 0 01.5-.5h7a.5.5 0 010 1h-7a.5.5 0 01-.5-.5z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12.5 12.004H5.707l-1.853 1.854a.5.5 0 01-.351.146h-.006a.499.499 0 01-.497-.5v-1.5H1.5a.5.5 0 01-.5-.5v-9a.5.5 0 01.5-.5h11a.5.5 0 01.5.5v9a.5.5 0 01-.5.5zm-10.5-1v-8h10v8H2z",fill:e}))),bB=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M7.5 5.004a.5.5 0 10-1 0v1.5H5a.5.5 0 100 1h1.5v1.5a.5.5 0 001 0v-1.5H9a.5.5 0 000-1H7.5v-1.5z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.691 13.966a.498.498 0 01-.188.038h-.006a.499.499 0 01-.497-.5v-1.5H1.5a.5.5 0 01-.5-.5v-9a.5.5 0 01.5-.5h11a.5.5 0 01.5.5v9a.5.5 0 01-.5.5H5.707l-1.853 1.854a.5.5 0 01-.163.108zM2 3.004v8h10v-8H2z",fill:e}))),wB=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M9.854 6.65a.5.5 0 010 .707l-2 2a.5.5 0 11-.708-.707l1.15-1.15-3.796.004a.5.5 0 010-1L8.29 6.5 7.145 5.357a.5.5 0 11.708-.707l2 2z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.691 13.966a.498.498 0 01-.188.038h-.006a.499.499 0 01-.497-.5v-1.5H1.5a.5.5 0 01-.5-.5v-9a.5.5 0 01.5-.5h11a.5.5 0 01.5.5v9a.5.5 0 01-.5.5H5.707l-1.853 1.854a.5.5 0 01-.163.108zM2 3.004v8h10v-8H2z",fill:e}))),DB=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M8.5 7.004a.5.5 0 000-1h-5a.5.5 0 100 1h5zM9 8.504a.5.5 0 01-.5.5h-5a.5.5 0 010-1h5a.5.5 0 01.5.5z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12 11.504v-1.5h1.5a.5.5 0 00.5-.5v-8a.5.5 0 00-.5-.5h-11a.5.5 0 00-.5.5v1.5H.5a.5.5 0 00-.5.5v8a.5.5 0 00.5.5H2v1.5a.499.499 0 00.497.5h.006a.498.498 0 00.35-.146l1.854-1.854H11.5a.5.5 0 00.5-.5zm-9-8.5v-1h10v7h-1v-5.5a.5.5 0 00-.5-.5H3zm-2 8v-7h10v7H1z",fill:e}))),EB=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1 2a2 2 0 012-2h8a2 2 0 012 2v8a2 2 0 01-2 2H6.986a.444.444 0 01-.124.103l-3.219 1.84A.43.43 0 013 13.569V12a2 2 0 01-2-2V2zm3.42 4.78a.921.921 0 110-1.843.921.921 0 010 1.842zm1.658-.922a.921.921 0 101.843 0 .921.921 0 00-1.843 0zm2.58 0a.921.921 0 101.842 0 .921.921 0 00-1.843 0z",fill:e}))),CB=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M8 8.004a1 1 0 01-.5.866v1.634a.5.5 0 01-1 0V8.87A1 1 0 118 8.004z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3 4.004a4 4 0 118 0v1h1.5a.5.5 0 01.5.5v8a.5.5 0 01-.5.5h-11a.5.5 0 01-.5-.5v-8a.5.5 0 01.5-.5H3v-1zm7 1v-1a3 3 0 10-6 0v1h6zm2 1H2v7h10v-7z",fill:e}))),xB=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("g",{clipPath:"url(#prefix__clip0_1107_3614)",fill:e},l.createElement("path",{d:"M6.5 8.87a1 1 0 111 0v1.634a.5.5 0 01-1 0V8.87z"}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 1a3 3 0 00-3 3v1.004h8.5a.5.5 0 01.5.5v8a.5.5 0 01-.5.5h-11a.5.5 0 01-.5-.5v-8a.5.5 0 01.5-.5H3V4a4 4 0 017.755-1.381.5.5 0 01-.939.345A3.001 3.001 0 007 1zM2 6.004h10v7H2v-7z"})),l.createElement("defs",null,l.createElement("clipPath",{id:"prefix__clip0_1107_3614"},l.createElement("path",{fill:"#fff",d:"M0 0h14v14H0z"}))))),SB=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M11 4a1 1 0 11-2 0 1 1 0 012 0z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.5 8.532V9.5a.5.5 0 01-.5.5H5.5v1.5a.5.5 0 01-.5.5H3.5v1.5a.5.5 0 01-.5.5H.5a.5.5 0 01-.5-.5v-2a.5.5 0 01.155-.362l5.11-5.11A4.5 4.5 0 117.5 8.532zM6 4.5a3.5 3.5 0 111.5 2.873c-.29-.203-1-.373-1 .481V9H5a.5.5 0 00-.5.5V11H3a.5.5 0 00-.5.5V13H1v-1.293l5.193-5.193a.552.552 0 00.099-.613A3.473 3.473 0 016 4.5z",fill:e}))),FB=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M7.354.15a.5.5 0 00-.708 0l-2 2a.5.5 0 10.708.707L6.5 1.711v6.793a.5.5 0 001 0V1.71l1.146 1.146a.5.5 0 10.708-.707l-2-2z",fill:e}),l.createElement("path",{d:"M2 7.504a.5.5 0 10-1 0v5a.5.5 0 00.5.5h11a.5.5 0 00.5-.5v-5a.5.5 0 00-1 0v4.5H2v-4.5z",fill:e}))),AB=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M2.5 8.004a.5.5 0 100 1h3a.5.5 0 000-1h-3z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0 11.504a.5.5 0 00.5.5h13a.5.5 0 00.5-.5v-9a.5.5 0 00-.5-.5H.5a.5.5 0 00-.5.5v9zm1-8.5v1h12v-1H1zm0 8h12v-5H1v5z",fill:e}))),kB=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M1 3.004a1 1 0 00-1 1v5a1 1 0 001 1h3.5a.5.5 0 100-1H1v-5h12v5h-1a.5.5 0 000 1h1a1 1 0 001-1v-5a1 1 0 00-1-1H1z",fill:e}),l.createElement("path",{d:"M6.45 7.006a.498.498 0 01.31.07L10.225 9.1a.5.5 0 01-.002.873l-1.074.621.75 1.3a.75.75 0 01-1.3.75l-.75-1.3-1.074.62a.497.497 0 01-.663-.135.498.498 0 01-.095-.3L6 7.515a.497.497 0 01.45-.509z",fill:e}))),_B=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M4 1.504a.5.5 0 01.5-.5h5a.5.5 0 110 1h-2v10h2a.5.5 0 010 1h-5a.5.5 0 010-1h2v-10h-2a.5.5 0 01-.5-.5z",fill:e}),l.createElement("path",{d:"M0 4.504a.5.5 0 01.5-.5h4a.5.5 0 110 1H1v4h3.5a.5.5 0 110 1h-4a.5.5 0 01-.5-.5v-5zM9.5 4.004a.5.5 0 100 1H13v4H9.5a.5.5 0 100 1h4a.5.5 0 00.5-.5v-5a.5.5 0 00-.5-.5h-4z",fill:e}))),BB=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5.943 12.457a.27.27 0 00.248-.149L7.77 9.151l2.54 2.54a.257.257 0 00.188.073c.082 0 .158-.03.21-.077l.788-.79a.27.27 0 000-.392L8.891 7.9l3.416-1.708a.29.29 0 00.117-.106.222.222 0 00.033-.134.332.332 0 00-.053-.161.174.174 0 00-.092-.072l-.02-.007-10.377-4.15a.274.274 0 00-.355.354l4.15 10.372a.275.275 0 00.233.169zm-.036 1l-.02-.002c-.462-.03-.912-.31-1.106-.796L.632 2.287A1.274 1.274 0 012.286.633l10.358 4.143c.516.182.782.657.81 1.114a1.25 1.25 0 01-.7 1.197L10.58 8.174l1.624 1.624a1.27 1.27 0 010 1.807l-.8.801-.008.007c-.491.46-1.298.48-1.792-.014l-1.56-1.56-.957 1.916a1.27 1.27 0 01-1.142.702h-.037z",fill:e}))),RB=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.87 6.008a.505.505 0 00-.003-.028v-.002c-.026-.27-.225-.48-.467-.498a.5.5 0 00-.53.5v1.41c0 .25-.22.47-.47.47a.48.48 0 01-.47-.47V5.17a.6.6 0 00-.002-.05c-.023-.268-.223-.49-.468-.5a.5.5 0 00-.52.5v1.65a.486.486 0 01-.47.47.48.48 0 01-.47-.47V4.62a.602.602 0 00-.002-.05v-.002c-.023-.266-.224-.48-.468-.498a.5.5 0 00-.53.5v2.2c0 .25-.22.47-.47.47a.49.49 0 01-.47-.47V1.8c0-.017 0-.034-.002-.05-.022-.268-.214-.49-.468-.5a.5.5 0 00-.52.5v6.78c0 .25-.22.47-.47.47a.48.48 0 01-.47-.47l.001-.1c.001-.053.002-.104 0-.155a.775.775 0 00-.06-.315.65.65 0 00-.16-.22 29.67 29.67 0 01-.21-.189c-.2-.182-.4-.365-.617-.532l-.003-.003A6.366 6.366 0 003.06 7l-.01-.007c-.433-.331-.621-.243-.69-.193-.26.14-.29.5-.13.74l1.73 2.6v.01h-.016l-.035.023.05-.023s1.21 2.6 3.57 2.6c3.54 0 4.2-1.9 4.31-4.42.039-.591.036-1.189.032-1.783l-.002-.507v-.032zm.969 2.376c-.057 1.285-.254 2.667-1.082 3.72-.88 1.118-2.283 1.646-4.227 1.646-1.574 0-2.714-.87-3.406-1.623a6.958 6.958 0 01-1.046-1.504l-.006-.012-1.674-2.516a1.593 1.593 0 01-.25-1.107 1.44 1.44 0 01.69-1.041c.195-.124.485-.232.856-.186.357.044.681.219.976.446.137.106.272.22.4.331V1.75A1.5 1.5 0 015.63.25c.93.036 1.431.856 1.431 1.55v1.335a1.5 1.5 0 01.53-.063h.017c.512.04.915.326 1.153.71a1.5 1.5 0 01.74-.161c.659.025 1.115.458 1.316.964a1.493 1.493 0 01.644-.103h.017c.856.067 1.393.814 1.393 1.558l.002.48c.004.596.007 1.237-.033 1.864z",fill:e}))),IB=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.5 6A2.5 2.5 0 116 3.5V5h2V3.5A2.5 2.5 0 1110.5 6H9v2h1.5A2.5 2.5 0 118 10.5V9H6v1.5A2.5 2.5 0 113.5 8H5V6H3.5zM2 3.5a1.5 1.5 0 113 0V5H3.5A1.5 1.5 0 012 3.5zM6 6v2h2V6H6zm3-1h1.5A1.5 1.5 0 109 3.5V5zM3.5 9H5v1.5A1.5 1.5 0 113.5 9zM9 9v1.5A1.5 1.5 0 1010.5 9H9z",fill:e}))),zB=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M11.083 12.25H2.917a1.167 1.167 0 01-1.167-1.167V2.917A1.167 1.167 0 012.917 1.75h6.416l2.917 2.917v6.416a1.167 1.167 0 01-1.167 1.167z",stroke:e,strokeLinecap:"round",strokeLinejoin:"round"}),l.createElement("path",{d:"M9.917 12.25V7.583H4.083v4.667M4.083 1.75v2.917H8.75",stroke:e,strokeLinecap:"round",strokeLinejoin:"round"}))),TB=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M7 5.5a.5.5 0 01.5.5v4a.5.5 0 01-1 0V6a.5.5 0 01.5-.5zM7 4.5A.75.75 0 107 3a.75.75 0 000 1.5z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 14A7 7 0 107 0a7 7 0 000 14zm0-1A6 6 0 107 1a6 6 0 000 12z",fill:e}))),LB=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M5.25 5.25A1.75 1.75 0 117 7a.5.5 0 00-.5.5V9a.5.5 0 001 0V7.955A2.75 2.75 0 104.25 5.25a.5.5 0 001 0zM7 11.5A.75.75 0 107 10a.75.75 0 000 1.5z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14 7A7 7 0 110 7a7 7 0 0114 0zm-1 0A6 6 0 111 7a6 6 0 0112 0z",fill:e}))),MB=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14 7A7 7 0 110 7a7 7 0 0114 0zm-3.524 4.89A5.972 5.972 0 017 13a5.972 5.972 0 01-3.477-1.11l1.445-1.444C5.564 10.798 6.258 11 7 11s1.436-.202 2.032-.554l1.444 1.445zm-.03-2.858l1.445 1.444A5.972 5.972 0 0013 7c0-1.296-.41-2.496-1.11-3.477l-1.444 1.445C10.798 5.564 11 6.258 11 7s-.202 1.436-.554 2.032zM9.032 3.554l1.444-1.445A5.972 5.972 0 007 1c-1.296 0-2.496.41-3.477 1.11l1.445 1.444A3.981 3.981 0 017 3c.742 0 1.436.202 2.032.554zM3.554 4.968L2.109 3.523A5.973 5.973 0 001 7c0 1.296.41 2.496 1.11 3.476l1.444-1.444A3.981 3.981 0 013 7c0-.742.202-1.436.554-2.032zM10 7a3 3 0 11-6 0 3 3 0 016 0z",fill:e}))),OB=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M7 4.5a.5.5 0 01.5.5v3.5a.5.5 0 11-1 0V5a.5.5 0 01.5-.5zM7.75 10.5a.75.75 0 11-1.5 0 .75.75 0 011.5 0z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.206 1.045a.498.498 0 01.23.209l6.494 10.992a.5.5 0 01-.438.754H.508a.497.497 0 01-.506-.452.498.498 0 01.072-.31l6.49-10.984a.497.497 0 01.642-.21zM7 2.483L1.376 12h11.248L7 2.483z",fill:e}))),PB=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14 7A7 7 0 110 7a7 7 0 0114 0zM6.5 8a.5.5 0 001 0V4a.5.5 0 00-1 0v4zm-.25 2.25a.75.75 0 111.5 0 .75.75 0 01-1.5 0z",fill:e}))),NB=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0 2.504a.5.5 0 01.5-.5h13a.5.5 0 01.5.5v9a.5.5 0 01-.5.5H.5a.5.5 0 01-.5-.5v-9zm1 1.012v7.488h12V3.519L7.313 7.894a.496.496 0 01-.526.062.497.497 0 01-.1-.062L1 3.516zm11.03-.512H1.974L7 6.874l5.03-3.87z",fill:e}))),HB=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.76 8.134l-.05.05a.2.2 0 01-.28.03 6.76 6.76 0 01-1.63-1.65.21.21 0 01.04-.27l.05-.05c.23-.2.54-.47.71-.96.17-.47-.02-1.04-.66-1.94-.26-.38-.72-.96-1.22-1.46-.68-.69-1.2-1-1.65-1a.98.98 0 00-.51.13A3.23 3.23 0 00.9 3.424c-.13 1.1.26 2.37 1.17 3.78a16.679 16.679 0 004.55 4.6 6.57 6.57 0 003.53 1.32 3.2 3.2 0 002.85-1.66c.14-.24.24-.64-.07-1.18a7.803 7.803 0 00-1.73-1.81c-.64-.5-1.52-1.11-2.13-1.11a.97.97 0 00-.34.06c-.472.164-.74.458-.947.685l-.023.025zm4.32 2.678a6.801 6.801 0 00-1.482-1.54l-.007-.005-.006-.005a8.418 8.418 0 00-.957-.662 2.7 2.7 0 00-.4-.193.683.683 0 00-.157-.043l-.004.002-.009.003c-.224.078-.343.202-.56.44l-.014.016-.046.045a1.2 1.2 0 01-1.602.149A7.76 7.76 0 014.98 7.134l-.013-.019-.013-.02a1.21 1.21 0 01.195-1.522l.06-.06.026-.024c.219-.19.345-.312.422-.533l.003-.01v-.008a.518.518 0 00-.032-.142c-.06-.178-.203-.453-.502-.872l-.005-.008-.005-.007A10.18 10.18 0 004.013 2.59l-.005-.005c-.31-.314-.543-.5-.716-.605-.147-.088-.214-.096-.222-.097h-.016l-.006.003-.01.006a2.23 2.23 0 00-1.145 1.656c-.09.776.175 1.806 1.014 3.108a15.68 15.68 0 004.274 4.32l.022.014.022.016a5.57 5.57 0 002.964 1.117 2.2 2.2 0 001.935-1.141l.006-.012.004-.007a.182.182 0 00-.007-.038.574.574 0 00-.047-.114z",fill:e}))),$B=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M11.841 2.159a2.25 2.25 0 00-3.182 0l-2.5 2.5a2.25 2.25 0 000 3.182.5.5 0 01-.707.707 3.25 3.25 0 010-4.596l2.5-2.5a3.25 3.25 0 014.596 4.596l-2.063 2.063a4.27 4.27 0 00-.094-1.32l1.45-1.45a2.25 2.25 0 000-3.182z",fill:e}),l.createElement("path",{d:"M3.61 7.21c-.1-.434-.132-.88-.095-1.321L1.452 7.952a3.25 3.25 0 104.596 4.596l2.5-2.5a3.25 3.25 0 000-4.596.5.5 0 00-.707.707 2.25 2.25 0 010 3.182l-2.5 2.5A2.25 2.25 0 112.159 8.66l1.45-1.45z",fill:e}))),jB=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M1.452 7.952l1.305-1.305.708.707-1.306 1.305a2.25 2.25 0 103.182 3.182l1.306-1.305.707.707-1.306 1.305a3.25 3.25 0 01-4.596-4.596zM12.548 6.048l-1.305 1.306-.707-.708 1.305-1.305a2.25 2.25 0 10-3.182-3.182L7.354 3.464l-.708-.707 1.306-1.305a3.25 3.25 0 014.596 4.596zM1.854 1.146a.5.5 0 10-.708.708l11 11a.5.5 0 00.707-.707l-11-11z",fill:e}))),VB=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.994 1.11a1 1 0 10-1.988 0A4.502 4.502 0 002.5 5.5v3.882l-.943 1.885a.497.497 0 00-.053.295.5.5 0 00.506.438h3.575a1.5 1.5 0 102.83 0h3.575a.5.5 0 00.453-.733L11.5 9.382V5.5a4.502 4.502 0 00-3.506-4.39zM2.81 11h8.382l-.5-1H3.31l-.5 1zM10.5 9V5.5a3.5 3.5 0 10-7 0V9h7zm-4 3.5a.5.5 0 111 0 .5.5 0 01-1 0z",fill:e}))),UB=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M1.5.5A.5.5 0 012 0c6.627 0 12 5.373 12 12a.5.5 0 01-1 0C13 5.925 8.075 1 2 1a.5.5 0 01-.5-.5z",fill:e}),l.createElement("path",{d:"M1.5 4.5A.5.5 0 012 4a8 8 0 018 8 .5.5 0 01-1 0 7 7 0 00-7-7 .5.5 0 01-.5-.5z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5 11a2 2 0 11-4 0 2 2 0 014 0zm-1 0a1 1 0 11-2 0 1 1 0 012 0z",fill:e}))),qB=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M2 1.004a1 1 0 00-1 1v10a1 1 0 001 1h10a1 1 0 001-1v-4.5a.5.5 0 00-1 0v4.5H2v-10h4.5a.5.5 0 000-1H2z",fill:e}),l.createElement("path",{d:"M7.354 7.357L12 2.711v1.793a.5.5 0 001 0v-3a.5.5 0 00-.5-.5h-3a.5.5 0 100 1h1.793L6.646 6.65a.5.5 0 10.708.707z",fill:e}))),WB=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M6.646.15a.5.5 0 01.708 0l2 2a.5.5 0 11-.708.707L7.5 1.711v6.793a.5.5 0 01-1 0V1.71L5.354 2.857a.5.5 0 11-.708-.707l2-2z",fill:e}),l.createElement("path",{d:"M2 4.004a1 1 0 00-1 1v7a1 1 0 001 1h10a1 1 0 001-1v-7a1 1 0 00-1-1H9.5a.5.5 0 100 1H12v7H2v-7h2.5a.5.5 0 000-1H2z",fill:e}))),GB=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M13.854 6.646a.5.5 0 010 .708l-2 2a.5.5 0 01-.708-.708L12.293 7.5H5.5a.5.5 0 010-1h6.793l-1.147-1.146a.5.5 0 01.708-.708l2 2z",fill:e}),l.createElement("path",{d:"M10 2a1 1 0 00-1-1H2a1 1 0 00-1 1v10a1 1 0 001 1h7a1 1 0 001-1V9.5a.5.5 0 00-1 0V12H2V2h7v2.5a.5.5 0 001 0V2z",fill:e}))),KB=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 13A6 6 0 107 1a6 6 0 000 12zm0 1A7 7 0 107 0a7 7 0 000 14z",fill:e}))),YB=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M14 7A7 7 0 110 7a7 7 0 0114 0z",fill:e}))),JB=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.5 0h7a.5.5 0 01.5.5v13a.5.5 0 01-.454.498.462.462 0 01-.371-.118L7 11.159l-3.175 2.72a.46.46 0 01-.379.118A.5.5 0 013 13.5V.5a.5.5 0 01.5-.5zM4 12.413l2.664-2.284a.454.454 0 01.377-.128.498.498 0 01.284.12L10 12.412V1H4v11.413z",fill:e}))),ZB=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.5 0h7a.5.5 0 01.5.5v13a.5.5 0 01-.454.498.462.462 0 01-.371-.118L7 11.159l-3.175 2.72a.46.46 0 01-.379.118A.5.5 0 013 13.5V.5a.5.5 0 01.5-.5z",fill:e}))),XB=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("g",{clipPath:"url(#prefix__clip0_1449_588)"},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.414 1.586a2 2 0 00-2.828 0l-4 4a2 2 0 000 2.828l4 4a2 2 0 002.828 0l4-4a2 2 0 000-2.828l-4-4zm.707-.707a3 3 0 00-4.242 0l-4 4a3 3 0 000 4.242l4 4a3 3 0 004.242 0l4-4a3 3 0 000-4.242l-4-4z",fill:e})),l.createElement("defs",null,l.createElement("clipPath",{id:"prefix__clip0_1449_588"},l.createElement("path",{fill:"#fff",d:"M0 0h14v14H0z"}))))),QB=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12.814 1.846c.06.05.116.101.171.154l.001.002a3.254 3.254 0 01.755 1.168c.171.461.259.974.259 1.538 0 .332-.046.656-.143.976a4.546 4.546 0 01-.397.937c-.169.302-.36.589-.58.864a7.627 7.627 0 01-.674.746l-4.78 4.596a.585.585 0 01-.427.173.669.669 0 01-.44-.173L1.78 8.217a7.838 7.838 0 01-.677-.748 6.124 6.124 0 01-.572-.855 4.975 4.975 0 01-.388-.931A3.432 3.432 0 010 4.708C0 4.144.09 3.63.265 3.17c.176-.459.429-.85.757-1.168a3.432 3.432 0 011.193-.74c.467-.176.99-.262 1.57-.262.304 0 .608.044.907.137.301.092.586.215.855.367.27.148.526.321.771.512.244.193.471.386.682.584.202-.198.427-.391.678-.584.248-.19.507-.364.78-.512a4.65 4.65 0 01.845-.367c.294-.093.594-.137.9-.137.585 0 1.115.086 1.585.262.392.146.734.34 1.026.584zM1.2 3.526c.128-.333.304-.598.52-.806.218-.212.497-.389.849-.522m-1.37 1.328A3.324 3.324 0 001 4.708c0 .225.032.452.101.686.082.265.183.513.307.737.135.246.294.484.479.716.188.237.386.454.59.652l.001.002 4.514 4.355 4.519-4.344c.2-.193.398-.41.585-.648l.003-.003c.184-.23.345-.472.486-.726l.004-.007c.131-.23.232-.474.31-.732v-.002c.068-.224.101-.45.101-.686 0-.457-.07-.849-.195-1.185a2.177 2.177 0 00-.515-.802l.007-.012-.008.009a2.383 2.383 0 00-.85-.518l-.003-.001C11.1 2.072 10.692 2 10.203 2c-.21 0-.406.03-.597.09h-.001c-.22.07-.443.167-.663.289l-.007.003c-.22.12-.434.262-.647.426-.226.174-.42.341-.588.505l-.684.672-.7-.656a9.967 9.967 0 00-.615-.527 4.82 4.82 0 00-.635-.422l-.01-.005a3.289 3.289 0 00-.656-.281l-.008-.003A2.014 2.014 0 003.785 2c-.481 0-.881.071-1.217.198",fill:e}))),eR=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M12.814 1.846c.06.05.116.101.171.154l.001.002a3.254 3.254 0 01.755 1.168c.171.461.259.974.259 1.538 0 .332-.046.656-.143.976a4.546 4.546 0 01-.397.937c-.169.302-.36.589-.58.864a7.627 7.627 0 01-.674.746l-4.78 4.596a.585.585 0 01-.427.173.669.669 0 01-.44-.173L1.78 8.217a7.838 7.838 0 01-.677-.748 6.124 6.124 0 01-.572-.855 4.975 4.975 0 01-.388-.931A3.432 3.432 0 010 4.708C0 4.144.09 3.63.265 3.17c.176-.459.429-.85.757-1.168a3.432 3.432 0 011.193-.74c.467-.176.99-.262 1.57-.262.304 0 .608.044.907.137.301.092.586.215.855.367.27.148.526.321.771.512.244.193.471.386.682.584.202-.198.427-.391.678-.584.248-.19.507-.364.78-.512a4.65 4.65 0 01.845-.367c.294-.093.594-.137.9-.137.585 0 1.115.086 1.585.262.392.146.734.34 1.026.584z",fill:e}))),tR=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6.319.783a.75.75 0 011.362 0l1.63 3.535 3.867.458a.75.75 0 01.42 1.296L10.74 8.715l.76 3.819a.75.75 0 01-1.103.8L7 11.434l-3.398 1.902a.75.75 0 01-1.101-.801l.758-3.819L.401 6.072a.75.75 0 01.42-1.296l3.867-.458L6.318.783zm.68.91l-1.461 3.17a.75.75 0 01-.593.431l-3.467.412 2.563 2.37a.75.75 0 01.226.697l-.68 3.424 3.046-1.705a.75.75 0 01.733 0l3.047 1.705-.68-3.424a.75.75 0 01.226-.697l2.563-2.37-3.467-.412a.75.75 0 01-.593-.43L7 1.694z",fill:e}))),rR=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M7.68.783a.75.75 0 00-1.361 0l-1.63 3.535-3.867.458A.75.75 0 00.4 6.072l2.858 2.643-.758 3.819a.75.75 0 001.101.8L7 11.434l3.397 1.902a.75.75 0 001.102-.801l-.759-3.819L13.6 6.072a.75.75 0 00-.421-1.296l-3.866-.458L7.68.783z",fill:e}))),nR=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10 7.854a4.5 4.5 0 10-6 0V13a.5.5 0 00.497.5h.006c.127 0 .254-.05.35-.146L7 11.207l2.146 2.147A.5.5 0 0010 13V7.854zM7 8a3.5 3.5 0 100-7 3.5 3.5 0 000 7zm-.354 2.146a.5.5 0 01.708 0L9 11.793v-3.26C8.398 8.831 7.718 9 7 9a4.481 4.481 0 01-2-.468v3.26l1.646-1.646z",fill:e}))),aR=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6.565 13.123a.991.991 0 01.87 0l.987.482a.991.991 0 001.31-.426l.515-.97a.991.991 0 01.704-.511l1.082-.19a.99.99 0 00.81-1.115l-.154-1.087a.991.991 0 01.269-.828l.763-.789a.991.991 0 000-1.378l-.763-.79a.991.991 0 01-.27-.827l.155-1.087a.99.99 0 00-.81-1.115l-1.082-.19a.991.991 0 01-.704-.511L9.732.82a.99.99 0 00-1.31-.426l-.987.482a.991.991 0 01-.87 0L5.578.395a.99.99 0 00-1.31.426l-.515.97a.99.99 0 01-.704.511l-1.082.19a.99.99 0 00-.81 1.115l.154 1.087a.99.99 0 01-.269.828L.28 6.31a.99.99 0 000 1.378l.763.79a.99.99 0 01.27.827l-.155 1.087a.99.99 0 00.81 1.115l1.082.19a.99.99 0 01.704.511l.515.97c.25.473.83.661 1.31.426l.987-.482zm4.289-8.477a.5.5 0 010 .708l-4.5 4.5a.5.5 0 01-.708 0l-2.5-2.5a.5.5 0 11.708-.708L6 8.793l4.146-4.147a.5.5 0 01.708 0z",fill:e}))),oR=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11 12.02c-.4.37-.91.56-1.56.56h-.88a5.493 5.493 0 01-1.3-.16c-.42-.1-.91-.25-1.47-.45a5.056 5.056 0 00-.95-.27H2.88a.84.84 0 01-.62-.26.84.84 0 01-.26-.61V6.45c0-.24.09-.45.26-.62a.84.84 0 01.62-.25h1.87c.16-.11.47-.47.93-1.06.27-.35.51-.64.74-.88.1-.11.19-.3.24-.58.05-.28.12-.57.2-.87.1-.3.24-.55.43-.74a.87.87 0 01.62-.25c.38 0 .72.07 1.03.22.3.15.54.38.7.7.15.31.23.73.23 1.27a3 3 0 01-.32 1.31h1.2c.47 0 .88.17 1.23.52s.52.8.52 1.22c0 .29-.04.66-.34 1.12.05.15.07.3.07.47 0 .35-.09.68-.26.98a2.05 2.05 0 01-.4 1.51 1.9 1.9 0 01-.57 1.5zm.473-5.33a.965.965 0 00.027-.25.742.742 0 00-.227-.513.683.683 0 00-.523-.227H7.927l.73-1.45a2 2 0 00.213-.867c0-.444-.068-.695-.127-.822a.53.53 0 00-.245-.244 1.296 1.296 0 00-.539-.116.989.989 0 00-.141.28 9.544 9.544 0 00-.174.755c-.069.387-.213.779-.484 1.077l-.009.01-.009.01c-.195.202-.41.46-.67.798l-.003.004c-.235.3-.44.555-.613.753-.151.173-.343.381-.54.516l-.255.176H5v4.133l.018.003c.384.07.76.176 1.122.318.532.189.98.325 1.352.413l.007.002a4.5 4.5 0 001.063.131h.878c.429 0 .683-.115.871-.285a.9.9 0 00.262-.702l-.028-.377.229-.3a1.05 1.05 0 00.205-.774l-.044-.333.165-.292a.969.969 0 00.13-.487.457.457 0 00-.019-.154l-.152-.458.263-.404a1.08 1.08 0 00.152-.325zM3.5 10.8a.5.5 0 100-1 .5.5 0 000 1z",fill:e}))),iR=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.765 2.076A.5.5 0 0112 2.5v6.009a.497.497 0 01-.17.366L7.337 12.87a.497.497 0 01-.674 0L2.17 8.875l-.009-.007a.498.498 0 01-.16-.358L2 8.5v-6a.5.5 0 01.235-.424l.018-.011c.016-.01.037-.024.065-.04.056-.032.136-.077.24-.128a6.97 6.97 0 01.909-.371C4.265 1.26 5.443 1 7 1s2.735.26 3.533.526c.399.133.702.267.91.37a4.263 4.263 0 01.304.169l.018.01zM3 2.793v5.482l1.068.95 6.588-6.588a6.752 6.752 0 00-.44-.163C9.517 2.24 8.444 2 7 2c-1.443 0-2.515.24-3.217.474-.351.117-.61.233-.778.317L3 2.793zm4 9.038l-2.183-1.94L11 3.706v4.568l-4 3.556z",fill:e}))),lR=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M10.354 2.854a.5.5 0 10-.708-.708l-3 3a.5.5 0 10.708.708l3-3z",fill:e}),l.createElement("path",{d:"M2.09 6H4.5a.5.5 0 000-1H1.795a.75.75 0 00-.74.873l.813 4.874A1.5 1.5 0 003.348 12h7.305a1.5 1.5 0 001.48-1.253l.812-4.874a.75.75 0 00-.74-.873H10a.5.5 0 000 1h1.91l-.764 4.582a.5.5 0 01-.493.418H3.347a.5.5 0 01-.493-.418L2.09 6z",fill:e}),l.createElement("path",{d:"M4.5 7a.5.5 0 01.5.5v2a.5.5 0 01-1 0v-2a.5.5 0 01.5-.5zM10 7.5a.5.5 0 00-1 0v2a.5.5 0 001 0v-2zM6.5 9.5v-2a.5.5 0 011 0v2a.5.5 0 01-1 0z",fill:e}))),sR=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4.5 2h.75v3.866l-3.034 5.26A1.25 1.25 0 003.299 13H10.7a1.25 1.25 0 001.083-1.875L8.75 5.866V2h.75a.5.5 0 100-1h-5a.5.5 0 000 1zm1.75 4V2h1.5v4.134l.067.116L8.827 8H5.173l1.01-1.75.067-.116V6zM4.597 9l-1.515 2.625A.25.25 0 003.3 12H10.7a.25.25 0 00.217-.375L9.404 9H4.597z",fill:e}))),uR=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M7.5 10.5a.5.5 0 11-1 0 .5.5 0 011 0z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.5 1a.5.5 0 00-.5.5c0 1.063.137 1.892.678 2.974.346.692.858 1.489 1.598 2.526-.89 1.247-1.455 2.152-1.798 2.956-.377.886-.477 1.631-.478 2.537v.007a.5.5 0 00.5.5h7c.017 0 .034 0 .051-.003A.5.5 0 0011 12.5v-.007c0-.906-.1-1.65-.478-2.537-.343-.804-.909-1.709-1.798-2.956.74-1.037 1.252-1.834 1.598-2.526C10.863 3.392 11 2.563 11 1.5a.5.5 0 00-.5-.5h-7zm6.487 11a4.675 4.675 0 00-.385-1.652c-.277-.648-.735-1.407-1.499-2.494-.216.294-.448.606-.696.937a.497.497 0 01-.195.162.5.5 0 01-.619-.162c-.248-.331-.48-.643-.696-.937-.764 1.087-1.222 1.846-1.499 2.494A4.675 4.675 0 004.013 12h5.974zM6.304 6.716c.212.293.443.609.696.948a90.058 90.058 0 00.709-.965c.48-.664.86-1.218 1.163-1.699H5.128a32.672 32.672 0 001.176 1.716zM4.559 4h4.882c.364-.735.505-1.312.546-2H4.013c.04.688.182 1.265.546 2z",fill:e}))),cR=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.5 1h-9a.5.5 0 00-.5.5v11a.5.5 0 001 0V8h8.5a.5.5 0 00.354-.854L9.207 4.5l2.647-2.646A.499.499 0 0011.5 1zM8.146 4.146L10.293 2H3v5h7.293L8.146 4.854a.5.5 0 010-.708z",fill:e}))),dR=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10 7V6a3 3 0 00-5.91-.736l-.17.676-.692.075A2.5 2.5 0 003.5 11h3c.063 0 .125-.002.187-.007l.076-.005.076.006c.053.004.106.006.161.006h4a2 2 0 100-4h-1zM3.12 5.02A3.5 3.5 0 003.5 12h3c.087 0 .174-.003.26-.01.079.007.16.01.24.01h4a3 3 0 100-6 4 4 0 00-7.88-.98z",fill:e}))),pR=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M7 2a4 4 0 014 4 3 3 0 110 6H7c-.08 0-.161-.003-.24-.01-.086.007-.173.01-.26.01h-3a3.5 3.5 0 01-.38-6.98A4.002 4.002 0 017 2z",fill:e}))),fR=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11 7a4 4 0 11-8 0 4 4 0 018 0zm-1 0a3 3 0 11-6 0 3 3 0 016 0z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4.268 13.18c.25.472.83.66 1.31.425l.987-.482a.991.991 0 01.87 0l.987.482a.991.991 0 001.31-.426l.515-.97a.991.991 0 01.704-.511l1.082-.19a.99.99 0 00.81-1.115l-.154-1.087a.991.991 0 01.269-.828l.763-.789a.991.991 0 000-1.378l-.763-.79a.991.991 0 01-.27-.827l.155-1.087a.99.99 0 00-.81-1.115l-1.082-.19a.991.991 0 01-.704-.511L9.732.82a.99.99 0 00-1.31-.426l-.987.482a.991.991 0 01-.87 0L5.578.395a.99.99 0 00-1.31.426l-.515.97a.99.99 0 01-.704.511l-1.082.19a.99.99 0 00-.81 1.115l.154 1.087a.99.99 0 01-.269.828L.28 6.31a.99.99 0 000 1.378l.763.79a.99.99 0 01.27.827l-.155 1.087a.99.99 0 00.81 1.115l1.082.19a.99.99 0 01.704.511l.515.97zm5.096-1.44l-.511.963-.979-.478a1.99 1.99 0 00-1.748 0l-.979.478-.51-.962a1.991 1.991 0 00-1.415-1.028l-1.073-.188.152-1.079a1.991 1.991 0 00-.54-1.663L1.004 7l.757-.783a1.991 1.991 0 00.54-1.663L2.15 3.475l1.073-.188A1.991 1.991 0 004.636 2.26l.511-.962.979.478a1.99 1.99 0 001.748 0l.979-.478.51.962c.288.543.81.922 1.415 1.028l1.073.188-.152 1.079a1.99 1.99 0 00.54 1.663l.757.783-.757.783a1.99 1.99 0 00-.54 1.663l.152 1.079-1.073.188a1.991 1.991 0 00-1.414 1.028z",fill:e}))),hR=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 4a3 3 0 100 6 3 3 0 000-6zM3 7a4 4 0 118 0 4 4 0 01-8 0z",fill:e}))),mR=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("circle",{cx:7,cy:7,r:3,fill:e}))),gR=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.206 3.044a.498.498 0 01.23.212l3.492 5.985a.494.494 0 01.006.507.497.497 0 01-.443.252H3.51a.499.499 0 01-.437-.76l3.492-5.984a.497.497 0 01.642-.212zM7 4.492L4.37 9h5.26L7 4.492z",fill:e}))),vR=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10.854 4.146a.5.5 0 010 .708l-5 5a.5.5 0 01-.708 0l-2-2a.5.5 0 11.708-.708L5.5 8.793l4.646-4.647a.5.5 0 01.708 0z",fill:e}))),yR=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M7.354 3.896l5.5 5.5a.5.5 0 01-.708.708L7 4.957l-5.146 5.147a.5.5 0 01-.708-.708l5.5-5.5a.5.5 0 01.708 0z",fill:e}))),bR=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M1.146 4.604l5.5 5.5a.5.5 0 00.708 0l5.5-5.5a.5.5 0 00-.708-.708L7 9.043 1.854 3.896a.5.5 0 10-.708.708z",fill:e}))),wR=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M2.76 7.096a.498.498 0 00.136.258l5.5 5.5a.5.5 0 00.707-.708L3.958 7l5.147-5.146a.5.5 0 10-.708-.708l-5.5 5.5a.5.5 0 00-.137.45z",fill:e}))),WD=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M11.104 7.354l-5.5 5.5a.5.5 0 01-.708-.708L10.043 7 4.896 1.854a.5.5 0 11.708-.708l5.5 5.5a.5.5 0 010 .708z",fill:e}))),DR=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M3.854 9.104a.5.5 0 11-.708-.708l3.5-3.5a.5.5 0 01.708 0l3.5 3.5a.5.5 0 01-.708.708L7 5.957 3.854 9.104z",fill:e}))),ER=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M3.854 4.896a.5.5 0 10-.708.708l3.5 3.5a.5.5 0 00.708 0l3.5-3.5a.5.5 0 00-.708-.708L7 8.043 3.854 4.896z",fill:e}))),CR=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.104 10.146a.5.5 0 01-.708.708l-3.5-3.5a.5.5 0 010-.708l3.5-3.5a.5.5 0 11.708.708L5.957 7l3.147 3.146z",fill:e}))),xR=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4.896 10.146a.5.5 0 00.708.708l3.5-3.5a.5.5 0 000-.708l-3.5-3.5a.5.5 0 10-.708.708L8.043 7l-3.147 3.146z",fill:e}))),SR=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M11.854 4.646l-4.5-4.5a.5.5 0 00-.708 0l-4.5 4.5a.5.5 0 10.708.708L6.5 1.707V13.5a.5.5 0 001 0V1.707l3.646 3.647a.5.5 0 00.708-.708z",fill:e}))),FR=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M7.5.5a.5.5 0 00-1 0v11.793L2.854 8.646a.5.5 0 10-.708.708l4.5 4.5a.5.5 0 00.351.146h.006c.127 0 .254-.05.35-.146l4.5-4.5a.5.5 0 00-.707-.708L7.5 12.293V.5z",fill:e}))),AR=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M5.354 2.146a.5.5 0 010 .708L1.707 6.5H13.5a.5.5 0 010 1H1.707l3.647 3.646a.5.5 0 01-.708.708l-4.5-4.5a.5.5 0 010-.708l4.5-4.5a.5.5 0 01.708 0z",fill:e}))),kR=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M8.646 2.146a.5.5 0 01.708 0l4.5 4.5a.5.5 0 010 .708l-4.5 4.5a.5.5 0 01-.708-.708L12.293 7.5H.5a.5.5 0 010-1h11.793L8.646 2.854a.5.5 0 010-.708z",fill:e}))),_R=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M1.904 8.768V2.404a.5.5 0 01.5-.5h6.364a.5.5 0 110 1H3.61l8.339 8.339a.5.5 0 01-.707.707l-8.34-8.34v5.158a.5.5 0 01-1 0z",fill:e}))),BR=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M12.096 8.768V2.404a.5.5 0 00-.5-.5H5.232a.5.5 0 100 1h5.157L2.05 11.243a.5.5 0 10.707.707l8.34-8.34v5.158a.5.5 0 101 0z",fill:e}))),RR=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M1.904 5.232v6.364a.5.5 0 00.5.5h6.364a.5.5 0 000-1H3.61l8.339-8.339a.5.5 0 00-.707-.707l-8.34 8.34V5.231a.5.5 0 00-1 0z",fill:e}))),IR=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M12.096 5.232v6.364a.5.5 0 01-.5.5H5.232a.5.5 0 010-1h5.157L2.05 2.757a.5.5 0 01.707-.707l8.34 8.34V5.231a.5.5 0 111 0z",fill:e}))),zR=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6.772 3.59c.126-.12.33-.12.456 0l5.677 5.387c.203.193.06.523-.228.523H1.323c-.287 0-.431-.33-.228-.523L6.772 3.59z",fill:e}))),TR=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.228 10.41a.335.335 0 01-.456 0L1.095 5.023c-.203-.193-.06-.523.228-.523h11.354c.287 0 .431.33.228.523L7.228 10.41z",fill:e}))),LR=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.712 7.212a.3.3 0 010-.424l5.276-5.276a.3.3 0 01.512.212v10.552a.3.3 0 01-.512.212L3.712 7.212z",fill:e}))),MR=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10.288 7.212a.3.3 0 000-.424L5.012 1.512a.3.3 0 00-.512.212v10.552a.3.3 0 00.512.212l5.276-5.276z",fill:e}))),OR=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M7.354.146l4 4a.5.5 0 01-.708.708L7 1.207 3.354 4.854a.5.5 0 11-.708-.708l4-4a.5.5 0 01.708 0zM11.354 9.146a.5.5 0 010 .708l-4 4a.5.5 0 01-.708 0l-4-4a.5.5 0 11.708-.708L7 12.793l3.646-3.647a.5.5 0 01.708 0z",fill:e}))),PR=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M3.354.146a.5.5 0 10-.708.708l4 4a.5.5 0 00.708 0l4-4a.5.5 0 00-.708-.708L7 3.793 3.354.146zM6.646 9.146a.5.5 0 01.708 0l4 4a.5.5 0 01-.708.708L7 10.207l-3.646 3.647a.5.5 0 01-.708-.708l4-4z",fill:e}))),NR=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M1.5 1h2a.5.5 0 010 1h-.793l3.147 3.146a.5.5 0 11-.708.708L2 2.707V3.5a.5.5 0 01-1 0v-2a.5.5 0 01.5-.5zM10 1.5a.5.5 0 01.5-.5h2a.5.5 0 01.5.5v2a.5.5 0 01-1 0v-.793L8.854 5.854a.5.5 0 11-.708-.708L11.293 2H10.5a.5.5 0 01-.5-.5zM12.5 10a.5.5 0 01.5.5v2a.5.5 0 01-.5.5h-2a.5.5 0 010-1h.793L8.146 8.854a.5.5 0 11.708-.708L12 11.293V10.5a.5.5 0 01.5-.5zM2 11.293V10.5a.5.5 0 00-1 0v2a.5.5 0 00.5.5h2a.5.5 0 000-1h-.793l3.147-3.146a.5.5 0 10-.708-.708L2 11.293z",fill:e}))),HR=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M6.646.147l-1.5 1.5a.5.5 0 10.708.707l.646-.647V5a.5.5 0 001 0V1.707l.646.647a.5.5 0 10.708-.707l-1.5-1.5a.5.5 0 00-.708 0z",fill:e}),l.createElement("path",{d:"M1.309 4.038a.498.498 0 00-.16.106l-.005.005a.498.498 0 00.002.705L3.293 7 1.146 9.146A.498.498 0 001.5 10h3a.5.5 0 000-1H2.707l1.5-1.5h5.586l2.353 2.354a.5.5 0 00.708-.708L10.707 7l2.146-2.146.11-.545-.107.542A.499.499 0 0013 4.503v-.006a.5.5 0 00-.144-.348l-.005-.005A.498.498 0 0012.5 4h-3a.5.5 0 000 1h1.793l-1.5 1.5H4.207L2.707 5H4.5a.5.5 0 000-1h-3a.498.498 0 00-.191.038z",fill:e}),l.createElement("path",{d:"M7 8.5a.5.5 0 01.5.5v3.293l.646-.647a.5.5 0 01.708.708l-1.5 1.5a.5.5 0 01-.708 0l-1.5-1.5a.5.5 0 01.708-.708l.646.647V9a.5.5 0 01.5-.5zM9 9.5a.5.5 0 01.5-.5h3a.5.5 0 010 1h-3a.5.5 0 01-.5-.5z",fill:e}))),$R=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M10.646 2.646a.5.5 0 01.708 0l1.5 1.5a.5.5 0 010 .708l-1.5 1.5a.5.5 0 01-.708-.708L11.293 5H1.5a.5.5 0 010-1h9.793l-.647-.646a.5.5 0 010-.708zM3.354 8.354L2.707 9H12.5a.5.5 0 010 1H2.707l.647.646a.5.5 0 01-.708.708l-1.5-1.5a.5.5 0 010-.708l1.5-1.5a.5.5 0 11.708.708z",fill:e}))),jR=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M1.5 1a.5.5 0 01.5.5V10a2 2 0 004 0V4a3 3 0 016 0v7.793l1.146-1.147a.5.5 0 01.708.708l-2 2a.5.5 0 01-.708 0l-2-2a.5.5 0 01.708-.708L11 11.793V4a2 2 0 10-4 0v6.002a3 3 0 01-6 0V1.5a.5.5 0 01.5-.5z",fill:e}))),VR=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M1.146 3.854a.5.5 0 010-.708l2-2a.5.5 0 11.708.708L2.707 3h6.295A4 4 0 019 11H3a.5.5 0 010-1h6a3 3 0 100-6H2.707l1.147 1.146a.5.5 0 11-.708.708l-2-2z",fill:e}))),UR=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M4.354 2.146a.5.5 0 010 .708L1.707 5.5H9.5A4.5 4.5 0 0114 10v1.5a.5.5 0 01-1 0V10a3.5 3.5 0 00-3.5-3.5H1.707l2.647 2.646a.5.5 0 11-.708.708l-3.5-3.5a.5.5 0 010-.708l3.5-3.5a.5.5 0 01.708 0z",fill:e}))),qR=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M5.5 1A.5.5 0 005 .5H2a.5.5 0 000 1h1.535a6.502 6.502 0 002.383 11.91.5.5 0 10.165-.986A5.502 5.502 0 014.5 2.1V4a.5.5 0 001 0V1.353a.5.5 0 000-.023V1zM7.507 1a.5.5 0 01.576-.41 6.502 6.502 0 012.383 11.91H12a.5.5 0 010 1H9a.5.5 0 01-.5-.5v-3a.5.5 0 011 0v1.9A5.5 5.5 0 007.917 1.576.5.5 0 017.507 1z",fill:e}))),WR=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M8.646 5.854L7.5 4.707V10.5a.5.5 0 01-1 0V4.707L5.354 5.854a.5.5 0 11-.708-.708l2-2a.5.5 0 01.708 0l2 2a.5.5 0 11-.708.708z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14 7A7 7 0 110 7a7 7 0 0114 0zm-1 0A6 6 0 111 7a6 6 0 0112 0z",fill:e}))),GR=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M5.354 8.146L6.5 9.293V3.5a.5.5 0 011 0v5.793l1.146-1.147a.5.5 0 11.708.708l-2 2a.5.5 0 01-.708 0l-2-2a.5.5 0 11.708-.708z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0 7a7 7 0 1114 0A7 7 0 010 7zm1 0a6 6 0 1112 0A6 6 0 011 7z",fill:e}))),KR=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M5.854 5.354L4.707 6.5H10.5a.5.5 0 010 1H4.707l1.147 1.146a.5.5 0 11-.708.708l-2-2a.5.5 0 010-.708l2-2a.5.5 0 11.708.708z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 0a7 7 0 110 14A7 7 0 017 0zm0 1a6 6 0 110 12A6 6 0 017 1z",fill:e}))),YR=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M3.5 6.5h5.793L8.146 5.354a.5.5 0 11.708-.708l2 2a.5.5 0 010 .708l-2 2a.5.5 0 11-.708-.708L9.293 7.5H3.5a.5.5 0 010-1z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 14A7 7 0 117 0a7 7 0 010 14zm0-1A6 6 0 117 1a6 6 0 010 12z",fill:e}))),JR=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M7.092.5H7a6.5 6.5 0 106.41 7.583.5.5 0 10-.986-.166A5.495 5.495 0 017 12.5a5.5 5.5 0 010-11h.006a5.5 5.5 0 014.894 3H10a.5.5 0 000 1h3a.5.5 0 00.5-.5V2a.5.5 0 00-1 0v1.535A6.495 6.495 0 007.092.5z",fill:e}))),ZR=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14 7A7 7 0 100 7a7 7 0 0014 0zm-6.535 5.738c-.233.23-.389.262-.465.262-.076 0-.232-.032-.465-.262-.238-.234-.497-.623-.737-1.182-.434-1.012-.738-2.433-.79-4.056h3.984c-.052 1.623-.356 3.043-.79 4.056-.24.56-.5.948-.737 1.182zM8.992 6.5H5.008c.052-1.623.356-3.044.79-4.056.24-.56.5-.948.737-1.182C6.768 1.032 6.924 1 7 1c.076 0 .232.032.465.262.238.234.497.623.737 1.182.434 1.012.738 2.433.79 4.056zm1 1c-.065 2.176-.558 4.078-1.282 5.253A6.005 6.005 0 0012.98 7.5H9.992zm2.987-1H9.992c-.065-2.176-.558-4.078-1.282-5.253A6.005 6.005 0 0112.98 6.5zm-8.971 0c.065-2.176.558-4.078 1.282-5.253A6.005 6.005 0 001.02 6.5h2.988zm-2.987 1a6.005 6.005 0 004.27 5.253C4.565 11.578 4.072 9.676 4.007 7.5H1.02z",fill:e}))),XR=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10.087 3.397L5.95 5.793a.374.374 0 00-.109.095.377.377 0 00-.036.052l-2.407 4.147a.374.374 0 00-.004.384c.104.179.334.24.513.136l4.142-2.404a.373.373 0 00.148-.143l2.406-4.146a.373.373 0 00-.037-.443.373.373 0 00-.478-.074zM4.75 9.25l2.847-1.652-1.195-1.195L4.75 9.25z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14 7A7 7 0 110 7a7 7 0 0114 0zm-1 0A6 6 0 111 7a6 6 0 0112 0z",fill:e}))),QR=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0 7a7 7 0 1114 0A7 7 0 010 7zm6.5 3.5v2.48A6.001 6.001 0 011.02 7.5H3.5a.5.5 0 000-1H1.02A6.001 6.001 0 016.5 1.02V3.5a.5.5 0 001 0V1.02a6.001 6.001 0 015.48 5.48H10.5a.5.5 0 000 1h2.48a6.002 6.002 0 01-5.48 5.48V10.5a.5.5 0 00-1 0z",fill:e}))),eI=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9 5a2 2 0 11-4 0 2 2 0 014 0zM8 5a1 1 0 11-2 0 1 1 0 012 0z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12 5A5 5 0 002 5c0 2.633 2.273 6.154 4.65 8.643.192.2.508.2.7 0C9.726 11.153 12 7.633 12 5zM7 1a4 4 0 014 4c0 1.062-.471 2.42-1.303 3.88-.729 1.282-1.69 2.562-2.697 3.67-1.008-1.108-1.968-2.388-2.697-3.67C3.47 7.42 3 6.063 3 5a4 4 0 014-4z",fill:e}))),tI=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M7 2a.5.5 0 01.5.5v4H10a.5.5 0 010 1H7a.5.5 0 01-.5-.5V2.5A.5.5 0 017 2z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 14A7 7 0 107 0a7 7 0 000 14zm0-1A6 6 0 107 1a6 6 0 000 12z",fill:e}))),rI=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M9.79 4.093a.5.5 0 01.117.698L7.91 7.586a1 1 0 11-.814-.581l1.997-2.796a.5.5 0 01.698-.116z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2.069 12.968a7 7 0 119.863 0A12.962 12.962 0 007 12c-1.746 0-3.41.344-4.931.968zm9.582-1.177a6 6 0 10-9.301 0A13.98 13.98 0 017 11c1.629 0 3.194.279 4.65.791z",fill:e}))),nI=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M7.5 4.5a.5.5 0 00-1 0v2.634a1 1 0 101 0V4.5z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5.5.5A.5.5 0 016 0h2a.5.5 0 010 1h-.5v1.02a5.973 5.973 0 013.374 1.398l.772-.772a.5.5 0 01.708.708l-.772.772A6 6 0 116.5 2.02V1H6a.5.5 0 01-.5-.5zM7 3a5 5 0 100 10A5 5 0 007 3z",fill:e}))),aI=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.354 1.146l5.5 5.5a.5.5 0 01-.708.708L12 7.207V12.5a.5.5 0 01-.5.5h-3a.5.5 0 01-.5-.5V9H6v3.5a.5.5 0 01-.5.5h-3a.5.5 0 01-.5-.5V7.207l-.146.147a.5.5 0 11-.708-.708l1-1 4.5-4.5a.5.5 0 01.708 0zM3 6.207V12h2V8.5a.5.5 0 01.5-.5h3a.5.5 0 01.5.5V12h2V6.207l-4-4-4 4z",fill:e}))),oI=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1.213 4.094a.5.5 0 01.056-.034l5.484-2.995a.498.498 0 01.494 0L12.73 4.06a.507.507 0 01.266.389.498.498 0 01-.507.555H1.51a.5.5 0 01-.297-.91zm2.246-.09h7.082L7 2.07 3.459 4.004z",fill:e}),l.createElement("path",{d:"M4 6a.5.5 0 00-1 0v5a.5.5 0 001 0V6zM11 6a.5.5 0 00-1 0v5a.5.5 0 001 0V6zM5.75 5.5a.5.5 0 01.5.5v5a.5.5 0 01-1 0V6a.5.5 0 01.5-.5zM8.75 6a.5.5 0 00-1 0v5a.5.5 0 001 0V6zM1.5 12.504a.5.5 0 01.5-.5h10a.5.5 0 010 1H2a.5.5 0 01-.5-.5z",fill:e}))),iI=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("g",{clipPath:"url(#prefix__clip0_1107_3594)"},l.createElement("path",{d:"M11.451.537l.01 12.922h0L7.61 8.946a1.077 1.077 0 00-.73-.374L.964 8.087 11.45.537h0z",stroke:e,strokeWidth:1.077})),l.createElement("defs",null,l.createElement("clipPath",{id:"prefix__clip0_1107_3594"},l.createElement("path",{fill:"#fff",d:"M0 0h14v14H0z"}))))),lI=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14 7A7 7 0 110 7a7 7 0 0114 0zM2.671 11.155c.696-1.006 2.602-1.816 3.194-1.91.226-.036.232-.658.232-.658s-.665-.658-.81-1.544c-.39 0-.63-.94-.241-1.272a2.578 2.578 0 00-.012-.13c-.066-.607-.28-2.606 1.965-2.606 2.246 0 2.031 2 1.966 2.606l-.012.13c.39.331.149 1.272-.24 1.272-.146.886-.81 1.544-.81 1.544s.004.622.23.658c.593.094 2.5.904 3.195 1.91a6 6 0 10-8.657 0z",fill:e}))),sI=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M7.275 13.16a11.388 11.388 0 005.175-1.232v-.25c0-1.566-3.237-2.994-4.104-3.132-.27-.043-.276-.783-.276-.783s.791-.783.964-1.836c.463 0 .75-1.119.286-1.513C9.34 4 9.916 1.16 6.997 1.16c-2.92 0-2.343 2.84-2.324 3.254-.463.394-.177 1.513.287 1.513.172 1.053.963 1.836.963 1.836s-.006.74-.275.783c-.858.136-4.036 1.536-4.103 3.082a11.388 11.388 0 005.73 1.532z",fill:e}))),uI=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M1.183 11.906a10.645 10.645 0 01-1.181-.589c.062-1.439 3.02-2.74 3.818-2.868.25-.04.256-.728.256-.728s-.736-.729-.896-1.709c-.432 0-.698-1.041-.267-1.408A2.853 2.853 0 002.9 4.46c-.072-.672-.31-2.884 2.175-2.884 2.486 0 2.248 2.212 2.176 2.884-.007.062-.012.112-.014.144.432.367.165 1.408-.266 1.408-.16.98-.896 1.709-.896 1.709s.005.688.256.728c.807.129 3.82 1.457 3.82 2.915v.233a10.598 10.598 0 01-4.816 1.146c-1.441 0-2.838-.282-4.152-.837zM11.5 2.16a.5.5 0 01.5.5v1.5h1.5a.5.5 0 010 1H12v1.5a.5.5 0 01-1 0v-1.5H9.5a.5.5 0 110-1H11v-1.5a.5.5 0 01.5-.5z",fill:e}))),cI=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M9.21 11.623a10.586 10.586 0 01-4.031.787A10.585 10.585 0 010 11.07c.06-1.354 2.933-2.578 3.708-2.697.243-.038.249-.685.249-.685s-.715-.685-.87-1.607c-.42 0-.679-.979-.26-1.323a2.589 2.589 0 00-.013-.136c-.07-.632-.3-2.712 2.113-2.712 2.414 0 2.183 2.08 2.113 2.712-.007.059-.012.105-.013.136.419.344.16 1.323-.259 1.323-.156.922-.87 1.607-.87 1.607s.005.647.248.685c.784.12 3.71 1.37 3.71 2.74v.22c-.212.103-.427.2-.646.29z",fill:e}),l.createElement("path",{d:"M8.81 8.417a9.643 9.643 0 00-.736-.398c.61-.42 1.396-.71 1.7-.757.167-.026.171-.471.171-.471s-.491-.471-.598-1.104c-.288 0-.466-.674-.178-.91-.001-.022-.005-.053-.01-.094-.048-.434-.206-1.864 1.453-1.864 1.66 0 1.5 1.43 1.453 1.864l-.01.094c.289.236.11.91-.178.91-.107.633-.598 1.104-.598 1.104s.004.445.171.47c.539.084 2.55.942 2.55 1.884v.628a10.604 10.604 0 01-3.302.553 2.974 2.974 0 00-.576-.879c-.375-.408-.853-.754-1.312-1.03z",fill:e}))),dI=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M9.106 7.354c-.627.265-1.295.4-1.983.4a5.062 5.062 0 01-2.547-.681c.03-.688 1.443-1.31 1.824-1.37.12-.02.122-.348.122-.348s-.351-.348-.428-.816c-.206 0-.333-.498-.127-.673 0-.016-.003-.04-.007-.07C5.926 3.477 5.812 2.42 7 2.42c1.187 0 1.073 1.057 1.039 1.378l-.007.069c.207.175.08.673-.127.673-.076.468-.428.816-.428.816s.003.329.122.348c.386.06 1.825.696 1.825 1.392v.111c-.104.053-.21.102-.318.148zM3.75 11.25A.25.25 0 014 11h6a.25.25 0 110 .5H4a.25.25 0 01-.25-.25zM4 9a.25.25 0 000 .5h6a.25.25 0 100-.5H4z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1 .5a.5.5 0 01.5-.5h11a.5.5 0 01.5.5v13a.5.5 0 01-.5.5h-11a.5.5 0 01-.5-.5V.5zM2 13V1h10v12H2z",fill:e}))),pI=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M3.968 8.75a.5.5 0 00-.866.5A4.498 4.498 0 007 11.5c1.666 0 3.12-.906 3.898-2.25a.5.5 0 10-.866-.5A3.498 3.498 0 017 10.5a3.498 3.498 0 01-3.032-1.75zM5.5 5a1 1 0 11-2 0 1 1 0 012 0zM9.5 6a1 1 0 100-2 1 1 0 000 2z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14 7A7 7 0 110 7a7 7 0 0114 0zm-1 0A6 6 0 111 7a6 6 0 0112 0z",fill:e}))),fI=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M4.5 9a.5.5 0 000 1h5a.5.5 0 000-1h-5zM5.5 5a1 1 0 11-2 0 1 1 0 012 0zM9.5 6a1 1 0 100-2 1 1 0 000 2z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14 7A7 7 0 110 7a7 7 0 0114 0zm-1 0A6 6 0 111 7a6 6 0 0112 0z",fill:e}))),hI=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M3.968 10.25a.5.5 0 01-.866-.5A4.498 4.498 0 017 7.5c1.666 0 3.12.906 3.898 2.25a.5.5 0 11-.866.5A3.498 3.498 0 007 8.5a3.498 3.498 0 00-3.032 1.75zM5.5 5a1 1 0 11-2 0 1 1 0 012 0zM9.5 6a1 1 0 100-2 1 1 0 000 2z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14 7A7 7 0 110 7a7 7 0 0114 0zm-1 0A6 6 0 111 7a6 6 0 0112 0z",fill:e}))),mI=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M3.526 4.842a.5.5 0 01.632-.316l2.051.684a2.5 2.5 0 001.582 0l2.05-.684a.5.5 0 01.317.948l-2.453.818a.3.3 0 00-.205.285v.243a4.5 4.5 0 00.475 2.012l.972 1.944a.5.5 0 11-.894.448L7 9.118l-1.053 2.106a.5.5 0 11-.894-.447l.972-1.945A4.5 4.5 0 006.5 6.82v-.243a.3.3 0 00-.205-.285l-2.453-.818a.5.5 0 01-.316-.632z",fill:e}),l.createElement("path",{d:"M7 4.5a1 1 0 100-2 1 1 0 000 2z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 14A7 7 0 107 0a7 7 0 000 14zm0-1A6 6 0 107 1a6 6 0 000 12z",fill:e}))),gI=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 14A7 7 0 107 0a7 7 0 000 14zM8 3.5a1 1 0 11-2 0 1 1 0 012 0zM3.526 4.842a.5.5 0 01.632-.316l2.051.684a2.5 2.5 0 001.582 0l2.05-.684a.5.5 0 01.317.948l-2.453.818a.3.3 0 00-.205.285v.243a4.5 4.5 0 00.475 2.012l.972 1.944a.5.5 0 11-.894.448L7 9.118l-1.053 2.106a.5.5 0 11-.894-.447l.972-1.945A4.5 4.5 0 006.5 6.82v-.243a.3.3 0 00-.205-.285l-2.453-.818a.5.5 0 01-.316-.632z",fill:e}))),vI=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("g",{clipPath:"url(#prefix__clip0_2359_558)",fill:e},l.createElement("path",{d:"M7.636 13.972a7 7 0 116.335-6.335c-.28-.34-.609-.637-.976-.883a6 6 0 10-6.24 6.241c.245.367.542.696.881.977z"}),l.createElement("path",{d:"M7.511 7.136a4.489 4.489 0 00-1.478 3.915l-.086.173a.5.5 0 11-.894-.447l.972-1.945A4.5 4.5 0 006.5 6.82v-.243a.3.3 0 00-.205-.285l-2.453-.818a.5.5 0 01.316-.948l2.051.684a2.5 2.5 0 001.582 0l2.05-.684a.5.5 0 01.317.948l-2.453.818a.3.3 0 00-.205.285v.243c0 .105.004.21.011.316z"}),l.createElement("path",{d:"M8 3.5a1 1 0 11-2 0 1 1 0 012 0z"}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14 10.5a3.5 3.5 0 11-7 0 3.5 3.5 0 017 0zm-5.5 0A.5.5 0 019 10h3a.5.5 0 010 1H9a.5.5 0 01-.5-.5z"})),l.createElement("defs",null,l.createElement("clipPath",{id:"prefix__clip0_2359_558"},l.createElement("path",{fill:"#fff",d:"M0 0h14v14H0z"}))))),yI=0,bI=u(e=>e.button===yI&&!e.altKey&&!e.ctrlKey&&!e.metaKey&&!e.shiftKey,"isPlainLeftClick"),wI=u((e,t)=>{bI(e)&&(e.preventDefault(),t(e))},"cancelled"),DI=k.span(({withArrow:e})=>e?{"> svg:last-of-type":{height:"0.7em",width:"0.7em",marginRight:0,marginLeft:"0.25em",bottom:"auto",verticalAlign:"inherit"}}:{},({containsIcon:e})=>e?{svg:{height:"1em",width:"1em",verticalAlign:"middle",position:"relative",bottom:0,marginRight:0}}:{}),EI=k.a(({theme:e})=>({display:"inline-block",transition:"all 150ms ease-out",textDecoration:"none",color:e.color.secondary,"&:hover, &:focus":{cursor:"pointer",color:Kn(.07,e.color.secondary),"svg path:not([fill])":{fill:Kn(.07,e.color.secondary)}},"&:active":{color:Kn(.1,e.color.secondary),"svg path:not([fill])":{fill:Kn(.1,e.color.secondary)}},svg:{display:"inline-block",height:"1em",width:"1em",verticalAlign:"text-top",position:"relative",bottom:"-0.125em",marginRight:"0.4em","& path":{fill:e.color.secondary}}}),({theme:e,secondary:t,tertiary:r})=>{let n;return t&&(n=[e.textMutedColor,e.color.dark,e.color.darker]),r&&(n=[e.color.dark,e.color.darkest,e.textMutedColor]),n?{color:n[0],"svg path:not([fill])":{fill:n[0]},"&:hover":{color:n[1],"svg path:not([fill])":{fill:n[1]}},"&:active":{color:n[2],"svg path:not([fill])":{fill:n[2]}}}:{}},({nochrome:e})=>e?{color:"inherit","&:hover, &:active":{color:"inherit",textDecoration:"underline"}}:{},({theme:e,inverse:t})=>t?{color:e.color.lightest,":not([fill])":{fill:e.color.lightest},"&:hover":{color:e.color.lighter,"svg path:not([fill])":{fill:e.color.lighter}},"&:active":{color:e.color.light,"svg path:not([fill])":{fill:e.color.light}}}:{},({isButton:e})=>e?{border:0,borderRadius:0,background:"none",padding:0,fontSize:"inherit"}:{}),aa=u(({cancel:e=!0,children:t,onClick:r=void 0,withArrow:n=!1,containsIcon:a=!1,className:o=void 0,style:i=void 0,...s})=>v.createElement(EI,{...s,onClick:r&&e?c=>wI(c,r):r,className:o},v.createElement(DI,{withArrow:n,containsIcon:a},t,n&&v.createElement(WD,null))),"Link"),bV=k.div(({theme:e})=>({fontSize:`${e.typography.size.s2}px`,lineHeight:"1.6",h1:{fontSize:`${e.typography.size.l1}px`,fontWeight:e.typography.weight.bold},h2:{fontSize:`${e.typography.size.m2}px`,borderBottom:`1px solid ${e.appBorderColor}`},h3:{fontSize:`${e.typography.size.m1}px`},h4:{fontSize:`${e.typography.size.s3}px`},h5:{fontSize:`${e.typography.size.s2}px`},h6:{fontSize:`${e.typography.size.s2}px`,color:e.color.dark},"pre:not(.prismjs)":{background:"transparent",border:"none",borderRadius:0,padding:0,margin:0},"pre pre, pre.prismjs":{padding:15,margin:0,whiteSpace:"pre-wrap",color:"inherit",fontSize:"13px",lineHeight:"19px"},"pre pre code, pre.prismjs code":{color:"inherit",fontSize:"inherit"},"pre code":{margin:0,padding:0,whiteSpace:"pre",border:"none",background:"transparent"},"pre code, pre tt":{backgroundColor:"transparent",border:"none"},"body > *:first-of-type":{marginTop:"0 !important"},"body > *:last-child":{marginBottom:"0 !important"},a:{color:e.color.secondary,textDecoration:"none"},"a.absent":{color:"#cc0000"},"a.anchor":{display:"block",paddingLeft:30,marginLeft:-30,cursor:"pointer",position:"absolute",top:0,left:0,bottom:0},"h1, h2, h3, h4, h5, h6":{margin:"20px 0 10px",padding:0,cursor:"text",position:"relative","&:first-of-type":{marginTop:0,paddingTop:0},"&:hover a.anchor":{textDecoration:"none"},"& tt, & code":{fontSize:"inherit"}},"h1:first-of-type + h2":{marginTop:0,paddingTop:0},"p, blockquote, ul, ol, dl, li, table, pre":{margin:"15px 0"},hr:{border:"0 none",borderTop:`1px solid ${e.appBorderColor}`,height:4,padding:0},"body > h1:first-of-type, body > h2:first-of-type, body > h3:first-of-type, body > h4:first-of-type, body > h5:first-of-type, body > h6:first-of-type":{marginTop:0,paddingTop:0},"body > h1:first-of-type + h2":{marginTop:0,paddingTop:0},"a:first-of-type h1, a:first-of-type h2, a:first-of-type h3, a:first-of-type h4, a:first-of-type h5, a:first-of-type h6":{marginTop:0,paddingTop:0},"h1 p, h2 p, h3 p, h4 p, h5 p, h6 p":{marginTop:0},"li p.first":{display:"inline-block"},"ul, ol":{paddingLeft:30,"& :first-of-type":{marginTop:0},"& :last-child":{marginBottom:0}},dl:{padding:0},"dl dt":{fontSize:"14px",fontWeight:"bold",fontStyle:"italic",margin:"0 0 15px",padding:"0 15px","&:first-of-type":{padding:0},"& > :first-of-type":{marginTop:0},"& > :last-child":{marginBottom:0}},blockquote:{borderLeft:`4px solid ${e.color.medium}`,padding:"0 15px",color:e.color.dark,"& > :first-of-type":{marginTop:0},"& > :last-child":{marginBottom:0}},table:{padding:0,borderCollapse:"collapse","& tr":{borderTop:`1px solid ${e.appBorderColor}`,backgroundColor:"white",margin:0,padding:0,"& th":{fontWeight:"bold",border:`1px solid ${e.appBorderColor}`,textAlign:"left",margin:0,padding:"6px 13px"},"& td":{border:`1px solid ${e.appBorderColor}`,textAlign:"left",margin:0,padding:"6px 13px"},"&:nth-of-type(2n)":{backgroundColor:e.color.lighter},"& th :first-of-type, & td :first-of-type":{marginTop:0},"& th :last-child, & td :last-child":{marginBottom:0}}},img:{maxWidth:"100%"},"span.frame":{display:"block",overflow:"hidden","& > span":{border:`1px solid ${e.color.medium}`,display:"block",float:"left",overflow:"hidden",margin:"13px 0 0",padding:7,width:"auto"},"& span img":{display:"block",float:"left"},"& span span":{clear:"both",color:e.color.darkest,display:"block",padding:"5px 0 0"}},"span.align-center":{display:"block",overflow:"hidden",clear:"both","& > span":{display:"block",overflow:"hidden",margin:"13px auto 0",textAlign:"center"},"& span img":{margin:"0 auto",textAlign:"center"}},"span.align-right":{display:"block",overflow:"hidden",clear:"both","& > span":{display:"block",overflow:"hidden",margin:"13px 0 0",textAlign:"right"},"& span img":{margin:0,textAlign:"right"}},"span.float-left":{display:"block",marginRight:13,overflow:"hidden",float:"left","& span":{margin:"13px 0 0"}},"span.float-right":{display:"block",marginLeft:13,overflow:"hidden",float:"right","& > span":{display:"block",overflow:"hidden",margin:"13px auto 0",textAlign:"right"}},"code, tt":{margin:"0 2px",padding:"0 5px",whiteSpace:"nowrap",border:`1px solid ${e.color.mediumlight}`,backgroundColor:e.color.lighter,borderRadius:3,color:e.base==="dark"?e.color.darkest:e.color.dark}})),sn=[],wa=null,CI=l.lazy(async()=>{let{SyntaxHighlighter:e}=await Promise.resolve().then(()=>(Bs(),kp));return sn.length>0&&(sn.forEach(t=>{e.registerLanguage(...t)}),sn=[]),wa===null&&(wa=e),{default:u(t=>v.createElement(e,{...t}),"default")}}),xI=l.lazy(async()=>{let[{SyntaxHighlighter:e},{formatter:t}]=await Promise.all([Promise.resolve().then(()=>(Bs(),kp)),Promise.resolve().then(()=>(xF(),E6))]);return sn.length>0&&(sn.forEach(r=>{e.registerLanguage(...r)}),sn=[]),wa===null&&(wa=e),{default:u(r=>v.createElement(e,{...r,formatter:t}),"default")}}),Uf=u(e=>v.createElement(l.Suspense,{fallback:v.createElement("div",null)},e.format!==!1?v.createElement(xI,{...e}):v.createElement(CI,{...e})),"SyntaxHighlighter");Uf.registerLanguage=(...e)=>{if(wa!==null){wa.registerLanguage(...e);return}sn.push(e)};Bs();Vy();var GD={};Sa(GD,{Close:()=>eE,Content:()=>Z8,Description:()=>Q8,Dialog:()=>Yf,DialogClose:()=>ah,DialogContent:()=>eh,DialogDescription:()=>nh,DialogOverlay:()=>Qf,DialogPortal:()=>Xf,DialogTitle:()=>rh,DialogTrigger:()=>Jf,Overlay:()=>J8,Portal:()=>Y8,Root:()=>K8,Title:()=>X8,Trigger:()=>bz,WarningProvider:()=>mz,createDialogScope:()=>uz});Sp();Rr();function KD(e,t){let r=l.createContext(t),n=u(o=>{let{children:i,...s}=o,c=l.useMemo(()=>s,Object.values(s));return O.jsx(r.Provider,{value:c,children:i})},"Provider");n.displayName=e+"Provider";function a(o){let i=l.useContext(r);if(i)return i;if(t!==void 0)return t;throw new Error(`\`${o}\` must be used within \`${e}\``)}return u(a,"useContext2"),[n,a]}u(KD,"createContext2");function YD(e,t=[]){let r=[];function n(o,i){let s=l.createContext(i),c=r.length;r=[...r,i];let d=u(m=>{var C;let{scope:p,children:h,...g}=m,y=((C=p==null?void 0:p[e])==null?void 0:C[c])||s,b=l.useMemo(()=>g,Object.values(g));return O.jsx(y.Provider,{value:b,children:h})},"Provider");d.displayName=o+"Provider";function f(m,p){var y;let h=((y=p==null?void 0:p[e])==null?void 0:y[c])||s,g=l.useContext(h);if(g)return g;if(i!==void 0)return i;throw new Error(`\`${m}\` must be used within \`${o}\``)}return u(f,"useContext2"),[d,f]}u(n,"createContext3");let a=u(()=>{let o=r.map(i=>l.createContext(i));return u(function(i){let s=(i==null?void 0:i[e])||o;return l.useMemo(()=>({[`__scope${e}`]:{...i,[e]:s}}),[i,s])},"useScope")},"createScope");return a.scopeName=e,[n,JD(a,...t)]}u(YD,"createContextScope");function JD(...e){let t=e[0];if(e.length===1)return t;let r=u(()=>{let n=e.map(a=>({useScope:a(),scopeName:a.scopeName}));return u(function(a){let o=n.reduce((i,{useScope:s,scopeName:c})=>{let d=s(a)[`__scope${c}`];return{...i,...d}},{});return l.useMemo(()=>({[`__scope${t.scopeName}`]:o}),[o])},"useComposedScopes")},"createScope");return r.scopeName=t.scopeName,r}u(JD,"composeContextScopes");Xo();var SI=l.useId||(()=>{}),FI=0;function yl(e){let[t,r]=l.useState(SI());return xr(()=>{e||r(n=>n??String(FI++))},[e]),e||(t?`radix-${t}`:"")}u(yl,"useId");Qo();function ZD({prop:e,defaultProp:t,onChange:r=u(()=>{},"onChange")}){let[n,a]=XD({defaultProp:t,onChange:r}),o=e!==void 0,i=o?e:n,s=Oe(r),c=l.useCallback(d=>{if(o){let f=typeof d=="function"?d(e):d;f!==e&&s(f)}else a(d)},[o,e,a,s]);return[i,c]}u(ZD,"useControllableState");function XD({defaultProp:e,onChange:t}){let r=l.useState(e),[n]=r,a=l.useRef(n),o=Oe(t);return l.useEffect(()=>{a.current!==n&&(o(n),a.current=n)},[n,a,o]),r}u(XD,"useUncontrolledState");Sp();Zo();Rr();Qo();Qo();function QD(e,t=globalThis==null?void 0:globalThis.document){let r=Oe(e);l.useEffect(()=>{let n=u(a=>{a.key==="Escape"&&r(a)},"handleKeyDown");return t.addEventListener("keydown",n,{capture:!0}),()=>t.removeEventListener("keydown",n,{capture:!0})},[r,t])}u(QD,"useEscapeKeydown");var AI="DismissableLayer",E1="dismissableLayer.update",kI="dismissableLayer.pointerDownOutside",_I="dismissableLayer.focusOutside",n4,e8=l.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),t8=l.forwardRef((e,t)=>{let{disableOutsidePointerEvents:r=!1,onEscapeKeyDown:n,onPointerDownOutside:a,onFocusOutside:o,onInteractOutside:i,onDismiss:s,...c}=e,d=l.useContext(e8),[f,m]=l.useState(null),p=(f==null?void 0:f.ownerDocument)??(globalThis==null?void 0:globalThis.document),[,h]=l.useState({}),g=Le(t,F=>m(F)),y=Array.from(d.layers),[b]=[...d.layersWithOutsidePointerEventsDisabled].slice(-1),C=y.indexOf(b),E=f?y.indexOf(f):-1,D=d.layersWithOutsidePointerEventsDisabled.size>0,w=E>=C,x=r8(F=>{let A=F.target,_=[...d.branches].some(R=>R.contains(A));!w||_||(a==null||a(F),i==null||i(F),F.defaultPrevented||(s==null||s()))},p),S=n8(F=>{let A=F.target;[...d.branches].some(_=>_.contains(A))||(o==null||o(F),i==null||i(F),F.defaultPrevented||(s==null||s()))},p);return QD(F=>{E===d.layers.size-1&&(n==null||n(F),!F.defaultPrevented&&s&&(F.preventDefault(),s()))},p),l.useEffect(()=>{if(f)return r&&(d.layersWithOutsidePointerEventsDisabled.size===0&&(n4=p.body.style.pointerEvents,p.body.style.pointerEvents="none"),d.layersWithOutsidePointerEventsDisabled.add(f)),d.layers.add(f),C1(),()=>{r&&d.layersWithOutsidePointerEventsDisabled.size===1&&(p.body.style.pointerEvents=n4)}},[f,p,r,d]),l.useEffect(()=>()=>{f&&(d.layers.delete(f),d.layersWithOutsidePointerEventsDisabled.delete(f),C1())},[f,d]),l.useEffect(()=>{let F=u(()=>h({}),"handleUpdate");return document.addEventListener(E1,F),()=>document.removeEventListener(E1,F)},[]),O.jsx(Me.div,{...c,ref:g,style:{pointerEvents:D?w?"auto":"none":void 0,...e.style},onFocusCapture:Be(e.onFocusCapture,S.onFocusCapture),onBlurCapture:Be(e.onBlurCapture,S.onBlurCapture),onPointerDownCapture:Be(e.onPointerDownCapture,x.onPointerDownCapture)})});t8.displayName=AI;var BI="DismissableLayerBranch",RI=l.forwardRef((e,t)=>{let r=l.useContext(e8),n=l.useRef(null),a=Le(t,n);return l.useEffect(()=>{let o=n.current;if(o)return r.branches.add(o),()=>{r.branches.delete(o)}},[r.branches]),O.jsx(Me.div,{...e,ref:a})});RI.displayName=BI;function r8(e,t=globalThis==null?void 0:globalThis.document){let r=Oe(e),n=l.useRef(!1),a=l.useRef(()=>{});return l.useEffect(()=>{let o=u(s=>{if(s.target&&!n.current){let c=u(function(){qf(kI,r,d,{discrete:!0})},"handleAndDispatchPointerDownOutsideEvent2"),d={originalEvent:s};s.pointerType==="touch"?(t.removeEventListener("click",a.current),a.current=c,t.addEventListener("click",a.current,{once:!0})):c()}else t.removeEventListener("click",a.current);n.current=!1},"handlePointerDown"),i=window.setTimeout(()=>{t.addEventListener("pointerdown",o)},0);return()=>{window.clearTimeout(i),t.removeEventListener("pointerdown",o),t.removeEventListener("click",a.current)}},[t,r]),{onPointerDownCapture:u(()=>n.current=!0,"onPointerDownCapture")}}u(r8,"usePointerDownOutside");function n8(e,t=globalThis==null?void 0:globalThis.document){let r=Oe(e),n=l.useRef(!1);return l.useEffect(()=>{let a=u(o=>{o.target&&!n.current&&qf(_I,r,{originalEvent:o},{discrete:!1})},"handleFocus");return t.addEventListener("focusin",a),()=>t.removeEventListener("focusin",a)},[t,r]),{onFocusCapture:u(()=>n.current=!0,"onFocusCapture"),onBlurCapture:u(()=>n.current=!1,"onBlurCapture")}}u(n8,"useFocusOutside");function C1(){let e=new CustomEvent(E1);document.dispatchEvent(e)}u(C1,"dispatchUpdate");function qf(e,t,r,{discrete:n}){let a=r.originalEvent.target,o=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:r});t&&a.addEventListener(e,t,{once:!0}),n?Wy(a,o):a.dispatchEvent(o)}u(qf,"handleAndDispatchCustomEvent");Rr();Zo();Qo();var x0="focusScope.autoFocusOnMount",S0="focusScope.autoFocusOnUnmount",a4={bubbles:!1,cancelable:!0},II="FocusScope",a8=l.forwardRef((e,t)=>{let{loop:r=!1,trapped:n=!1,onMountAutoFocus:a,onUnmountAutoFocus:o,...i}=e,[s,c]=l.useState(null),d=Oe(a),f=Oe(o),m=l.useRef(null),p=Le(t,y=>c(y)),h=l.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;l.useEffect(()=>{if(n){let y=u(function(D){if(h.paused||!s)return;let w=D.target;s.contains(w)?m.current=w:lr(m.current,{select:!0})},"handleFocusIn2"),b=u(function(D){if(h.paused||!s)return;let w=D.relatedTarget;w!==null&&(s.contains(w)||lr(m.current,{select:!0}))},"handleFocusOut2"),C=u(function(D){if(document.activeElement===document.body)for(let w of D)w.removedNodes.length>0&&lr(s)},"handleMutations2");document.addEventListener("focusin",y),document.addEventListener("focusout",b);let E=new MutationObserver(C);return s&&E.observe(s,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",y),document.removeEventListener("focusout",b),E.disconnect()}}},[n,s,h.paused]),l.useEffect(()=>{if(s){o4.add(h);let y=document.activeElement;if(!s.contains(y)){let b=new CustomEvent(x0,a4);s.addEventListener(x0,d),s.dispatchEvent(b),b.defaultPrevented||(o8(c8(Wf(s)),{select:!0}),document.activeElement===y&&lr(s))}return()=>{s.removeEventListener(x0,d),setTimeout(()=>{let b=new CustomEvent(S0,a4);s.addEventListener(S0,f),s.dispatchEvent(b),b.defaultPrevented||lr(y??document.body,{select:!0}),s.removeEventListener(S0,f),o4.remove(h)},0)}}},[s,d,f,h]);let g=l.useCallback(y=>{if(!r&&!n||h.paused)return;let b=y.key==="Tab"&&!y.altKey&&!y.ctrlKey&&!y.metaKey,C=document.activeElement;if(b&&C){let E=y.currentTarget,[D,w]=i8(E);D&&w?!y.shiftKey&&C===w?(y.preventDefault(),r&&lr(D,{select:!0})):y.shiftKey&&C===D&&(y.preventDefault(),r&&lr(w,{select:!0})):C===E&&y.preventDefault()}},[r,n,h.paused]);return O.jsx(Me.div,{tabIndex:-1,...i,ref:p,onKeyDown:g})});a8.displayName=II;function o8(e,{select:t=!1}={}){let r=document.activeElement;for(let n of e)if(lr(n,{select:t}),document.activeElement!==r)return}u(o8,"focusFirst");function i8(e){let t=Wf(e),r=x1(t,e),n=x1(t.reverse(),e);return[r,n]}u(i8,"getTabbableEdges");function Wf(e){let t=[],r=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:u(n=>{let a=n.tagName==="INPUT"&&n.type==="hidden";return n.disabled||n.hidden||a?NodeFilter.FILTER_SKIP:n.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP},"acceptNode")});for(;r.nextNode();)t.push(r.currentNode);return t}u(Wf,"getTabbableCandidates");function x1(e,t){for(let r of e)if(!l8(r,{upTo:t}))return r}u(x1,"findVisible");function l8(e,{upTo:t}){if(getComputedStyle(e).visibility==="hidden")return!0;for(;e;){if(t!==void 0&&e===t)return!1;if(getComputedStyle(e).display==="none")return!0;e=e.parentElement}return!1}u(l8,"isHidden");function s8(e){return e instanceof HTMLInputElement&&"select"in e}u(s8,"isSelectableInput");function lr(e,{select:t=!1}={}){if(e&&e.focus){let r=document.activeElement;e.focus({preventScroll:!0}),e!==r&&s8(e)&&t&&e.select()}}u(lr,"focus");var o4=u8();function u8(){let e=[];return{add(t){let r=e[0];t!==r&&(r==null||r.pause()),e=S1(e,t),e.unshift(t)},remove(t){var r;e=S1(e,t),(r=e[0])==null||r.resume()}}}u(u8,"createFocusScopesStack");function S1(e,t){let r=[...e],n=r.indexOf(t);return n!==-1&&r.splice(n,1),r}u(S1,"arrayRemove");function c8(e){return e.filter(t=>t.tagName!=="A")}u(c8,"removeLinks");Zo();Xo();var zI="Portal",d8=l.forwardRef((e,t)=>{var s;let{container:r,...n}=e,[a,o]=l.useState(!1);xr(()=>o(!0),[]);let i=r||a&&((s=globalThis==null?void 0:globalThis.document)==null?void 0:s.body);return i?J4.createPortal(O.jsx(Me.div,{...n,ref:t}),i):null});d8.displayName=zI;Rr();Xo();function p8(e,t){return l.useReducer((r,n)=>t[r][n]??r,e)}u(p8,"useStateMachine");var nu=u(e=>{let{present:t,children:r}=e,n=f8(t),a=typeof r=="function"?r({present:n.isPresent}):l.Children.only(r),o=Le(n.ref,h8(a));return typeof r=="function"||n.isPresent?l.cloneElement(a,{ref:o}):null},"Presence");nu.displayName="Presence";function f8(e){let[t,r]=l.useState(),n=l.useRef({}),a=l.useRef(e),o=l.useRef("none"),i=e?"mounted":"unmounted",[s,c]=p8(i,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return l.useEffect(()=>{let d=wo(n.current);o.current=s==="mounted"?d:"none"},[s]),xr(()=>{let d=n.current,f=a.current;if(f!==e){let m=o.current,p=wo(d);e?c("MOUNT"):p==="none"||(d==null?void 0:d.display)==="none"?c("UNMOUNT"):c(f&&m!==p?"ANIMATION_OUT":"UNMOUNT"),a.current=e}},[e,c]),xr(()=>{if(t){let d,f=t.ownerDocument.defaultView??window,m=u(h=>{let g=wo(n.current).includes(h.animationName);if(h.target===t&&g&&(c("ANIMATION_END"),!a.current)){let y=t.style.animationFillMode;t.style.animationFillMode="forwards",d=f.setTimeout(()=>{t.style.animationFillMode==="forwards"&&(t.style.animationFillMode=y)})}},"handleAnimationEnd"),p=u(h=>{h.target===t&&(o.current=wo(n.current))},"handleAnimationStart");return t.addEventListener("animationstart",p),t.addEventListener("animationcancel",m),t.addEventListener("animationend",m),()=>{f.clearTimeout(d),t.removeEventListener("animationstart",p),t.removeEventListener("animationcancel",m),t.removeEventListener("animationend",m)}}else c("ANIMATION_END")},[t,c]),{isPresent:["mounted","unmountSuspended"].includes(s),ref:l.useCallback(d=>{d&&(n.current=getComputedStyle(d)),r(d)},[])}}u(f8,"usePresence");function wo(e){return(e==null?void 0:e.animationName)||"none"}u(wo,"getAnimationName");function h8(e){var n,a;let t=(n=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:n.get,r=t&&"isReactWarning"in t&&t.isReactWarning;return r?e.ref:(t=(a=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:a.get,r=t&&"isReactWarning"in t&&t.isReactWarning,r?e.props.ref:e.props.ref||e.ref)}u(h8,"getElementRef");Zo();var F0=0;function m8(){l.useEffect(()=>{let e=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",e[0]??F1()),document.body.insertAdjacentElement("beforeend",e[1]??F1()),F0++,()=>{F0===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(t=>t.remove()),F0--}},[])}u(m8,"useFocusGuards");function F1(){let e=document.createElement("span");return e.setAttribute("data-radix-focus-guard",""),e.tabIndex=0,e.style.outline="none",e.style.opacity="0",e.style.position="fixed",e.style.pointerEvents="none",e}u(F1,"createFocusGuard");var Pt=u(function(){return Pt=Object.assign||u(function(e){for(var t,r=1,n=arguments.length;r"u")return NI;var t=HI(e),r=document.documentElement.clientWidth,n=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,n-r+t[2]-t[0])}},"getGapWidth"),jI=k8(),oa="data-scroll-locked",VI=u(function(e,t,r,n){var a=e.left,o=e.top,i=e.right,s=e.gap;return r===void 0&&(r="margin"),` - .`.concat(TI,` { - overflow: hidden `).concat(n,`; - padding-right: `).concat(s,"px ").concat(n,`; - } - body[`).concat(oa,`] { - overflow: hidden `).concat(n,`; - overscroll-behavior: contain; - `).concat([t&&"position: relative ".concat(n,";"),r==="margin"&&` - padding-left: `.concat(a,`px; - padding-top: `).concat(o,`px; - padding-right: `).concat(i,`px; - margin-left:0; - margin-top:0; - margin-right: `).concat(s,"px ").concat(n,`; - `),r==="padding"&&"padding-right: ".concat(s,"px ").concat(n,";")].filter(Boolean).join(""),` - } - - .`).concat(bl,` { - right: `).concat(s,"px ").concat(n,`; - } - - .`).concat(wl,` { - margin-right: `).concat(s,"px ").concat(n,`; - } - - .`).concat(bl," .").concat(bl,` { - right: 0 `).concat(n,`; - } - - .`).concat(wl," .").concat(wl,` { - margin-right: 0 `).concat(n,`; - } - - body[`).concat(oa,`] { - `).concat(LI,": ").concat(s,`px; - } -`)},"getStyles"),l4=u(function(){var e=parseInt(document.body.getAttribute(oa)||"0",10);return isFinite(e)?e:0},"getCurrentUseCounter"),UI=u(function(){l.useEffect(function(){return document.body.setAttribute(oa,(l4()+1).toString()),function(){var e=l4()-1;e<=0?document.body.removeAttribute(oa):document.body.setAttribute(oa,e.toString())}},[])},"useLockAttribute"),qI=u(function(e){var t=e.noRelative,r=e.noImportant,n=e.gapMode,a=n===void 0?"margin":n;UI();var o=l.useMemo(function(){return $I(a)},[a]);return l.createElement(jI,{styles:VI(o,!t,a,r?"":"!important")})},"RemoveScrollBar"),A1=!1;if(typeof window<"u")try{to=Object.defineProperty({},"passive",{get:u(function(){return A1=!0,!0},"get")}),window.addEventListener("test",to,to),window.removeEventListener("test",to,to)}catch{A1=!1}var to,Ln=A1?{passive:!1}:!1,WI=u(function(e){return e.tagName==="TEXTAREA"},"alwaysContainsScroll"),_8=u(function(e,t){if(!(e instanceof Element))return!1;var r=window.getComputedStyle(e);return r[t]!=="hidden"&&!(r.overflowY===r.overflowX&&!WI(e)&&r[t]==="visible")},"elementCanBeScrolled"),GI=u(function(e){return _8(e,"overflowY")},"elementCouldBeVScrolled"),KI=u(function(e){return _8(e,"overflowX")},"elementCouldBeHScrolled"),s4=u(function(e,t){var r=t.ownerDocument,n=t;do{typeof ShadowRoot<"u"&&n instanceof ShadowRoot&&(n=n.host);var a=B8(e,n);if(a){var o=R8(e,n),i=o[1],s=o[2];if(i>s)return!0}n=n.parentNode}while(n&&n!==r.body);return!1},"locationCouldBeScrolled"),YI=u(function(e){var t=e.scrollTop,r=e.scrollHeight,n=e.clientHeight;return[t,r,n]},"getVScrollVariables"),JI=u(function(e){var t=e.scrollLeft,r=e.scrollWidth,n=e.clientWidth;return[t,r,n]},"getHScrollVariables"),B8=u(function(e,t){return e==="v"?GI(t):KI(t)},"elementCouldBeScrolled"),R8=u(function(e,t){return e==="v"?YI(t):JI(t)},"getScrollVariables"),ZI=u(function(e,t){return e==="h"&&t==="rtl"?-1:1},"getDirectionFactor"),XI=u(function(e,t,r,n,a){var o=ZI(e,window.getComputedStyle(t).direction),i=o*n,s=r.target,c=t.contains(s),d=!1,f=i>0,m=0,p=0;do{var h=R8(e,s),g=h[0],y=h[1],b=h[2],C=y-b-o*g;(g||C)&&B8(e,s)&&(m+=C,p+=g),s instanceof ShadowRoot?s=s.host:s=s.parentNode}while(!c&&s!==document.body||c&&(t.contains(s)||t===s));return(f&&(a&&Math.abs(m)<1||!a&&i>m)||!f&&(a&&Math.abs(p)<1||!a&&-i>p))&&(d=!0),d},"handleScroll"),Gi=u(function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},"getTouchXY"),u4=u(function(e){return[e.deltaX,e.deltaY]},"getDeltaXY"),c4=u(function(e){return e&&"current"in e?e.current:e},"extractRef"),QI=u(function(e,t){return e[0]===t[0]&&e[1]===t[1]},"deltaCompare"),ez=u(function(e){return` - .block-interactivity-`.concat(e,` {pointer-events: none;} - .allow-interactivity-`).concat(e,` {pointer-events: all;} -`)},"generateStyle"),tz=0,Mn=[];function I8(e){var t=l.useRef([]),r=l.useRef([0,0]),n=l.useRef(),a=l.useState(tz++)[0],o=l.useState(k8)[0],i=l.useRef(e);l.useEffect(function(){i.current=e},[e]),l.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(a));var y=g8([e.lockRef.current],(e.shards||[]).map(c4),!0).filter(Boolean);return y.forEach(function(b){return b.classList.add("allow-interactivity-".concat(a))}),function(){document.body.classList.remove("block-interactivity-".concat(a)),y.forEach(function(b){return b.classList.remove("allow-interactivity-".concat(a))})}}},[e.inert,e.lockRef.current,e.shards]);var s=l.useCallback(function(y,b){if("touches"in y&&y.touches.length===2||y.type==="wheel"&&y.ctrlKey)return!i.current.allowPinchZoom;var C=Gi(y),E=r.current,D="deltaX"in y?y.deltaX:E[0]-C[0],w="deltaY"in y?y.deltaY:E[1]-C[1],x,S=y.target,F=Math.abs(D)>Math.abs(w)?"h":"v";if("touches"in y&&F==="h"&&S.type==="range")return!1;var A=s4(F,S);if(!A)return!0;if(A?x=F:(x=F==="v"?"h":"v",A=s4(F,S)),!A)return!1;if(!n.current&&"changedTouches"in y&&(D||w)&&(n.current=x),!x)return!0;var _=n.current||x;return XI(_,b,y,_==="h"?D:w,!0)},[]),c=l.useCallback(function(y){var b=y;if(!(!Mn.length||Mn[Mn.length-1]!==o)){var C="deltaY"in b?u4(b):Gi(b),E=t.current.filter(function(x){return x.name===b.type&&(x.target===b.target||b.target===x.shadowParent)&&QI(x.delta,C)})[0];if(E&&E.should){b.cancelable&&b.preventDefault();return}if(!E){var D=(i.current.shards||[]).map(c4).filter(Boolean).filter(function(x){return x.contains(b.target)}),w=D.length>0?s(b,D[0]):!i.current.noIsolation;w&&b.cancelable&&b.preventDefault()}}},[]),d=l.useCallback(function(y,b,C,E){var D={name:y,delta:b,target:C,should:E,shadowParent:z8(C)};t.current.push(D),setTimeout(function(){t.current=t.current.filter(function(w){return w!==D})},1)},[]),f=l.useCallback(function(y){r.current=Gi(y),n.current=void 0},[]),m=l.useCallback(function(y){d(y.type,u4(y),y.target,s(y,e.lockRef.current))},[]),p=l.useCallback(function(y){d(y.type,Gi(y),y.target,s(y,e.lockRef.current))},[]);l.useEffect(function(){return Mn.push(o),e.setCallbacks({onScrollCapture:m,onWheelCapture:m,onTouchMoveCapture:p}),document.addEventListener("wheel",c,Ln),document.addEventListener("touchmove",c,Ln),document.addEventListener("touchstart",f,Ln),function(){Mn=Mn.filter(function(y){return y!==o}),document.removeEventListener("wheel",c,Ln),document.removeEventListener("touchmove",c,Ln),document.removeEventListener("touchstart",f,Ln)}},[]);var h=e.removeScrollBar,g=e.inert;return l.createElement(l.Fragment,null,g?l.createElement(o,{styles:ez(a)}):null,h?l.createElement(qI,{gapMode:e.gapMode}):null)}u(I8,"RemoveScrollSideCar");function z8(e){for(var t=null;e!==null;)e instanceof ShadowRoot&&(t=e.host,e=e.host),e=e.parentNode;return t}u(z8,"getOutermostShadowParent");var rz=C8(x8,I8),T8=l.forwardRef(function(e,t){return l.createElement(au,Pt({},e,{ref:t,sideCar:rz}))});T8.classNames=au.classNames;var nz=T8,az=u(function(e){if(typeof document>"u")return null;var t=Array.isArray(e)?e[0]:e;return t.ownerDocument.body},"getDefaultParent"),On=new WeakMap,Ki=new WeakMap,Yi={},_0=0,L8=u(function(e){return e&&(e.host||L8(e.parentNode))},"unwrapHost"),oz=u(function(e,t){return t.map(function(r){if(e.contains(r))return r;var n=L8(r);return n&&e.contains(n)?n:(console.error("aria-hidden",r,"in not contained inside",e,". Doing nothing"),null)}).filter(function(r){return!!r})},"correctTargets"),iz=u(function(e,t,r,n){var a=oz(t,Array.isArray(e)?e:[e]);Yi[r]||(Yi[r]=new WeakMap);var o=Yi[r],i=[],s=new Set,c=new Set(a),d=u(function(m){!m||s.has(m)||(s.add(m),d(m.parentNode))},"keep");a.forEach(d);var f=u(function(m){!m||c.has(m)||Array.prototype.forEach.call(m.children,function(p){if(s.has(p))f(p);else{var h=p.getAttribute(n),g=h!==null&&h!=="false",y=(On.get(p)||0)+1,b=(o.get(p)||0)+1;On.set(p,y),o.set(p,b),i.push(p),y===1&&g&&Ki.set(p,!0),b===1&&p.setAttribute(r,"true"),g||p.setAttribute(n,"true")}})},"deep");return f(t),s.clear(),_0++,function(){i.forEach(function(m){var p=On.get(m)-1,h=o.get(m)-1;On.set(m,p),o.set(m,h),p||(Ki.has(m)||m.removeAttribute(n),Ki.delete(m)),h||m.removeAttribute(r)}),_0--,_0||(On=new WeakMap,On=new WeakMap,Ki=new WeakMap,Yi={})}},"applyAttributeToOthers"),lz=u(function(e,t,r){r===void 0&&(r="data-aria-hidden");var n=Array.from(Array.isArray(e)?e:[e]),a=t||az(e);return a?(n.push.apply(n,Array.from(a.querySelectorAll("[aria-live]"))),iz(n,a,r,"aria-hidden")):function(){return null}},"hideOthers");Rr();var M8=l.forwardRef((e,t)=>{let{children:r,...n}=e,a=l.Children.toArray(r),o=a.find(O8);if(o){let i=o.props.children,s=a.map(c=>c===o?l.Children.count(i)>1?l.Children.only(null):l.isValidElement(i)?i.props.children:null:c);return O.jsx(k1,{...n,ref:t,children:l.isValidElement(i)?l.cloneElement(i,void 0,s):null})}return O.jsx(k1,{...n,ref:t,children:r})});M8.displayName="Slot";var k1=l.forwardRef((e,t)=>{let{children:r,...n}=e;if(l.isValidElement(r)){let a=N8(r);return l.cloneElement(r,{...P8(n,r.props),ref:t?_s(t,a):a})}return l.Children.count(r)>1?l.Children.only(null):null});k1.displayName="SlotClone";var sz=u(({children:e})=>O.jsx(O.Fragment,{children:e}),"Slottable");function O8(e){return l.isValidElement(e)&&e.type===sz}u(O8,"isSlottable");function P8(e,t){let r={...t};for(let n in t){let a=e[n],o=t[n];/^on[A-Z]/.test(n)?a&&o?r[n]=(...i)=>{o(...i),a(...i)}:a&&(r[n]=a):n==="style"?r[n]={...a,...o}:n==="className"&&(r[n]=[a,o].filter(Boolean).join(" "))}return{...e,...r}}u(P8,"mergeProps");function N8(e){var n,a;let t=(n=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:n.get,r=t&&"isReactWarning"in t&&t.isReactWarning;return r?e.ref:(t=(a=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:a.get,r=t&&"isReactWarning"in t&&t.isReactWarning,r?e.props.ref:e.props.ref||e.ref)}u(N8,"getElementRef");var Kf="Dialog",[H8,uz]=YD(Kf),[cz,Ft]=H8(Kf),Yf=u(e=>{let{__scopeDialog:t,children:r,open:n,defaultOpen:a,onOpenChange:o,modal:i=!0}=e,s=l.useRef(null),c=l.useRef(null),[d=!1,f]=ZD({prop:n,defaultProp:a,onChange:o});return O.jsx(cz,{scope:t,triggerRef:s,contentRef:c,contentId:yl(),titleId:yl(),descriptionId:yl(),open:d,onOpenChange:f,onOpenToggle:l.useCallback(()=>f(m=>!m),[f]),modal:i,children:r})},"Dialog");Yf.displayName=Kf;var $8="DialogTrigger",Jf=l.forwardRef((e,t)=>{let{__scopeDialog:r,...n}=e,a=Ft($8,r),o=Le(t,a.triggerRef);return O.jsx(Me.button,{type:"button","aria-haspopup":"dialog","aria-expanded":a.open,"aria-controls":a.contentId,"data-state":ou(a.open),...n,ref:o,onClick:Be(e.onClick,a.onOpenToggle)})});Jf.displayName=$8;var Zf="DialogPortal",[dz,j8]=H8(Zf,{forceMount:void 0}),Xf=u(e=>{let{__scopeDialog:t,forceMount:r,children:n,container:a}=e,o=Ft(Zf,t);return O.jsx(dz,{scope:t,forceMount:r,children:l.Children.map(n,i=>O.jsx(nu,{present:r||o.open,children:O.jsx(d8,{asChild:!0,container:a,children:i})}))})},"DialogPortal");Xf.displayName=Zf;var fs="DialogOverlay",Qf=l.forwardRef((e,t)=>{let r=j8(fs,e.__scopeDialog),{forceMount:n=r.forceMount,...a}=e,o=Ft(fs,e.__scopeDialog);return o.modal?O.jsx(nu,{present:n||o.open,children:O.jsx(pz,{...a,ref:t})}):null});Qf.displayName=fs;var pz=l.forwardRef((e,t)=>{let{__scopeDialog:r,...n}=e,a=Ft(fs,r);return O.jsx(nz,{as:M8,allowPinchZoom:!0,shards:[a.contentRef],children:O.jsx(Me.div,{"data-state":ou(a.open),...n,ref:t,style:{pointerEvents:"auto",...n.style}})})}),gn="DialogContent",eh=l.forwardRef((e,t)=>{let r=j8(gn,e.__scopeDialog),{forceMount:n=r.forceMount,...a}=e,o=Ft(gn,e.__scopeDialog);return O.jsx(nu,{present:n||o.open,children:o.modal?O.jsx(fz,{...a,ref:t}):O.jsx(hz,{...a,ref:t})})});eh.displayName=gn;var fz=l.forwardRef((e,t)=>{let r=Ft(gn,e.__scopeDialog),n=l.useRef(null),a=Le(t,r.contentRef,n);return l.useEffect(()=>{let o=n.current;if(o)return lz(o)},[]),O.jsx(V8,{...e,ref:a,trapFocus:r.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:Be(e.onCloseAutoFocus,o=>{var i;o.preventDefault(),(i=r.triggerRef.current)==null||i.focus()}),onPointerDownOutside:Be(e.onPointerDownOutside,o=>{let i=o.detail.originalEvent,s=i.button===0&&i.ctrlKey===!0;(i.button===2||s)&&o.preventDefault()}),onFocusOutside:Be(e.onFocusOutside,o=>o.preventDefault())})}),hz=l.forwardRef((e,t)=>{let r=Ft(gn,e.__scopeDialog),n=l.useRef(!1),a=l.useRef(!1);return O.jsx(V8,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:u(o=>{var i,s;(i=e.onCloseAutoFocus)==null||i.call(e,o),o.defaultPrevented||(n.current||((s=r.triggerRef.current)==null||s.focus()),o.preventDefault()),n.current=!1,a.current=!1},"onCloseAutoFocus"),onInteractOutside:u(o=>{var s,c;(s=e.onInteractOutside)==null||s.call(e,o),o.defaultPrevented||(n.current=!0,o.detail.originalEvent.type==="pointerdown"&&(a.current=!0));let i=o.target;(c=r.triggerRef.current)!=null&&c.contains(i)&&o.preventDefault(),o.detail.originalEvent.type==="focusin"&&a.current&&o.preventDefault()},"onInteractOutside")})}),V8=l.forwardRef((e,t)=>{let{__scopeDialog:r,trapFocus:n,onOpenAutoFocus:a,onCloseAutoFocus:o,...i}=e,s=Ft(gn,r),c=l.useRef(null),d=Le(t,c);return m8(),O.jsxs(O.Fragment,{children:[O.jsx(a8,{asChild:!0,loop:!0,trapped:n,onMountAutoFocus:a,onUnmountAutoFocus:o,children:O.jsx(t8,{role:"dialog",id:s.contentId,"aria-describedby":s.descriptionId,"aria-labelledby":s.titleId,"data-state":ou(s.open),...i,ref:d,onDismiss:u(()=>s.onOpenChange(!1),"onDismiss")})}),O.jsxs(O.Fragment,{children:[O.jsx(gz,{titleId:s.titleId}),O.jsx(yz,{contentRef:c,descriptionId:s.descriptionId})]})]})}),th="DialogTitle",rh=l.forwardRef((e,t)=>{let{__scopeDialog:r,...n}=e,a=Ft(th,r);return O.jsx(Me.h2,{id:a.titleId,...n,ref:t})});rh.displayName=th;var U8="DialogDescription",nh=l.forwardRef((e,t)=>{let{__scopeDialog:r,...n}=e,a=Ft(U8,r);return O.jsx(Me.p,{id:a.descriptionId,...n,ref:t})});nh.displayName=U8;var q8="DialogClose",ah=l.forwardRef((e,t)=>{let{__scopeDialog:r,...n}=e,a=Ft(q8,r);return O.jsx(Me.button,{type:"button",...n,ref:t,onClick:Be(e.onClick,()=>a.onOpenChange(!1))})});ah.displayName=q8;function ou(e){return e?"open":"closed"}u(ou,"getState");var W8="DialogTitleWarning",[mz,G8]=KD(W8,{contentName:gn,titleName:th,docsSlug:"dialog"}),gz=u(({titleId:e})=>{let t=G8(W8),r=`\`${t.contentName}\` requires a \`${t.titleName}\` for the component to be accessible for screen reader users. - -If you want to hide the \`${t.titleName}\`, you can wrap it with our VisuallyHidden component. - -For more information, see https://radix-ui.com/primitives/docs/components/${t.docsSlug}`;return l.useEffect(()=>{e&&(document.getElementById(e)||console.error(r))},[r,e]),null},"TitleWarning"),vz="DialogDescriptionWarning",yz=u(({contentRef:e,descriptionId:t})=>{let r=`Warning: Missing \`Description\` or \`aria-describedby={undefined}\` for {${G8(vz).contentName}}.`;return l.useEffect(()=>{var a;let n=(a=e.current)==null?void 0:a.getAttribute("aria-describedby");t&&n&&(document.getElementById(t)||console.warn(r))},[r,e,t]),null},"DescriptionWarning"),K8=Yf,bz=Jf,Y8=Xf,J8=Qf,Z8=eh,X8=rh,Q8=nh,eE=ah,tE={};Sa(tE,{Actions:()=>_z,CloseButton:()=>cE,Col:()=>pE,Container:()=>uE,Content:()=>Sz,Description:()=>kz,Error:()=>Bz,ErrorWrapper:()=>fE,Header:()=>Fz,Overlay:()=>sE,Row:()=>dE,Title:()=>Az});const{deprecate:wz}=__STORYBOOK_MODULE_CLIENT_LOGGER__;function _1(e,t){if(typeof e=="function")return e(t);e!=null&&(e.current=t)}u(_1,"setRef");function rE(...e){return t=>{let r=!1,n=e.map(a=>{let o=_1(a,t);return!r&&typeof o=="function"&&(r=!0),o});if(r)return()=>{for(let a=0;a{let{children:r,...n}=e,a=l.Children.toArray(r),o=a.find(aE);if(o){let i=o.props.children,s=a.map(c=>c===o?l.Children.count(i)>1?l.Children.only(null):l.isValidElement(i)?i.props.children:null:c);return O.jsx(B1,{...n,ref:t,children:l.isValidElement(i)?l.cloneElement(i,void 0,s):null})}return O.jsx(B1,{...n,ref:t,children:r})});nE.displayName="Slot";var B1=l.forwardRef((e,t)=>{let{children:r,...n}=e;if(l.isValidElement(r)){let a=iE(r),o=oE(n,r.props);return r.type!==l.Fragment&&(o.ref=t?rE(t,a):a),l.cloneElement(r,o)}return l.Children.count(r)>1?l.Children.only(null):null});B1.displayName="SlotClone";var Dz=u(({children:e})=>O.jsx(O.Fragment,{children:e}),"Slottable");function aE(e){return l.isValidElement(e)&&e.type===Dz}u(aE,"isSlottable");function oE(e,t){let r={...t};for(let n in t){let a=e[n],o=t[n];/^on[A-Z]/.test(n)?a&&o?r[n]=(...i)=>{o(...i),a(...i)}:a&&(r[n]=a):n==="style"?r[n]={...a,...o}:n==="className"&&(r[n]=[a,o].filter(Boolean).join(" "))}return{...e,...r}}u(oE,"mergeProps");function iE(e){var n,a;let t=(n=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:n.get,r=t&&"isReactWarning"in t&&t.isReactWarning;return r?e.ref:(t=(a=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:a.get,r=t&&"isReactWarning"in t&&t.isReactWarning,r?e.props.ref:e.props.ref||e.ref)}u(iE,"getElementRef");var Fn=l.forwardRef(({asChild:e=!1,animation:t="none",size:r="small",variant:n="outline",padding:a="medium",disabled:o=!1,active:i=!1,onClick:s,...c},d)=>{let f="button";c.isLink&&(f="a"),e&&(f=nE);let m=n,p=r,[h,g]=l.useState(!1),y=u(b=>{s&&s(b),t!=="none"&&g(!0)},"handleClick");if(l.useEffect(()=>{let b=setTimeout(()=>{h&&g(!1)},1e3);return()=>clearTimeout(b)},[h]),c.primary&&(m="solid",p="medium"),(c.secondary||c.tertiary||c.gray||c.outline||c.inForm)&&(m="outline",p="medium"),c.small||c.isLink||c.primary||c.secondary||c.tertiary||c.gray||c.outline||c.inForm||c.containsIcon){let b=v.Children.toArray(c.children).filter(C=>typeof C=="string"&&C!=="");wz(`Use of deprecated props in the button ${b.length>0?`"${b.join(" ")}"`:"component"} detected, see the migration notes at https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#new-ui-and-props-for-button-and-iconbutton-components`)}return v.createElement(Ez,{as:f,ref:d,variant:m,size:p,padding:a,disabled:o,active:i,animating:h,animation:t,onClick:y,...c})});Fn.displayName="Button";var Ez=k("button",{shouldForwardProp:u(e=>up(e),"shouldForwardProp")})(({theme:e,variant:t,size:r,disabled:n,active:a,animating:o,animation:i="none",padding:s})=>({border:0,cursor:n?"not-allowed":"pointer",display:"inline-flex",gap:"6px",alignItems:"center",justifyContent:"center",overflow:"hidden",padding:s==="none"?0:s==="small"&&r==="small"?"0 7px":s==="small"&&r==="medium"?"0 9px":r==="small"?"0 10px":r==="medium"?"0 12px":0,height:r==="small"?"28px":"32px",position:"relative",textAlign:"center",textDecoration:"none",transitionProperty:"background, box-shadow",transitionDuration:"150ms",transitionTimingFunction:"ease-out",verticalAlign:"top",whiteSpace:"nowrap",userSelect:"none",opacity:n?.5:1,margin:0,fontSize:`${e.typography.size.s1}px`,fontWeight:e.typography.weight.bold,lineHeight:"1",background:t==="solid"?e.color.secondary:t==="outline"?e.button.background:t==="ghost"&&a?e.background.hoverable:"transparent",...t==="ghost"?{".sb-bar &":{background:a?gt(.9,e.barTextColor):"transparent",color:a?e.barSelectedColor:e.barTextColor,"&:hover":{color:e.barHoverColor,background:gt(.86,e.barHoverColor)},"&:active":{color:e.barSelectedColor,background:gt(.9,e.barSelectedColor)},"&:focus":{boxShadow:`${jo(e.barHoverColor,1)} 0 0 0 1px inset`,outline:"none"}}}:{},color:t==="solid"?e.color.lightest:t==="outline"?e.input.color:t==="ghost"&&a?e.color.secondary:t==="ghost"?e.color.mediumdark:e.input.color,boxShadow:t==="outline"?`${e.button.border} 0 0 0 1px inset`:"none",borderRadius:e.input.borderRadius,flexShrink:0,"&:hover":{color:t==="ghost"?e.color.secondary:void 0,background:(()=>{let c=e.color.secondary;return t==="solid"&&(c=e.color.secondary),t==="outline"&&(c=e.button.background),t==="ghost"?gt(.86,e.color.secondary):e.base==="light"?Kn(.02,c):r4(.03,c)})()},"&:active":{color:t==="ghost"?e.color.secondary:void 0,background:(()=>{let c=e.color.secondary;return t==="solid"&&(c=e.color.secondary),t==="outline"&&(c=e.button.background),t==="ghost"?e.background.hoverable:e.base==="light"?Kn(.02,c):r4(.03,c)})()},"&:focus":{boxShadow:`${jo(e.color.secondary,1)} 0 0 0 1px inset`,outline:"none"},"> svg":{animation:o&&i!=="none"?`${e.animation[i]} 1000ms ease-out`:""}})),un=l.forwardRef(({padding:e="small",variant:t="ghost",...r},n)=>v.createElement(Fn,{padding:e,variant:t,ref:n,...r}));un.displayName="IconButton";var lE=xt({from:{opacity:0},to:{opacity:1}}),Cz=xt({from:{maxHeight:0},to:{}}),xz=xt({from:{opacity:0,transform:"translate(-50%, -50%) scale(0.9)"},to:{opacity:1,transform:"translate(-50%, -50%) scale(1)"}}),sE=k.div({backdropFilter:"blur(24px)",position:"fixed",inset:0,width:"100%",height:"100%",zIndex:10,animation:`${lE} 200ms`}),uE=k.div(({theme:e,width:t,height:r})=>({backgroundColor:e.background.bar,borderRadius:6,boxShadow:"0px 4px 67px 0px #00000040",position:"fixed",top:"50%",left:"50%",transform:"translate(-50%, -50%)",width:t??740,height:r??"auto",maxWidth:"calc(100% - 40px)",maxHeight:"85vh",overflow:"hidden",zIndex:11,animation:`${xz} 200ms`,"&:focus-visible":{outline:"none"}})),cE=u(e=>v.createElement(eE,{asChild:!0},v.createElement(un,{...e},v.createElement(qD,null))),"CloseButton"),Sz=k.div({display:"flex",flexDirection:"column",margin:16,gap:16}),dE=k.div({display:"flex",justifyContent:"space-between",gap:16}),pE=k.div({display:"flex",flexDirection:"column",gap:4}),Fz=u(e=>v.createElement(dE,null,v.createElement(pE,{...e}),v.createElement(cE,null)),"Header"),Az=k(X8)(({theme:e})=>({margin:0,fontSize:e.typography.size.s3,fontWeight:e.typography.weight.bold})),kz=k(Q8)(({theme:e})=>({position:"relative",zIndex:1,margin:0,fontSize:e.typography.size.s2})),_z=k.div({display:"flex",flexDirection:"row-reverse",gap:8}),fE=k.div(({theme:e})=>({maxHeight:100,overflow:"auto",animation:`${Cz} 300ms, ${lE} 300ms`,backgroundColor:e.background.critical,color:e.color.lightest,fontSize:e.typography.size.s2,"& > div":{position:"relative",padding:"8px 16px"}})),Bz=u(({children:e,...t})=>v.createElement(fE,{...t},v.createElement("div",null,e)),"Error");function hE({children:e,width:t,height:r,onEscapeKeyDown:n,onInteractOutside:a=u(c=>c.preventDefault(),"onInteractOutside"),className:o,container:i,...s}){return v.createElement(K8,{...s},v.createElement(Y8,{container:i},v.createElement(J8,{asChild:!0},v.createElement(sE,null)),v.createElement(Z8,{asChild:!0,onInteractOutside:a,onEscapeKeyDown:n},v.createElement(uE,{className:o,width:t,height:r},e))))}u(hE,"BaseModal");var wV=Object.assign(hE,tE,{Dialog:GD}),Rz=u(e=>typeof e=="number"?e:Number(e),"toNumber"),Iz=k.div(({theme:e,col:t,row:r=1})=>t?{display:"inline-block",verticalAlign:"inherit","& > *":{marginLeft:t*e.layoutMargin,verticalAlign:"inherit"},[`& > *:first-child${Y0}`]:{marginLeft:0}}:{"& > *":{marginTop:r*e.layoutMargin},[`& > *:first-child${Y0}`]:{marginTop:0}},({theme:e,outer:t,col:r,row:n})=>{switch(!0){case!!(t&&r):return{marginLeft:t*e.layoutMargin,marginRight:t*e.layoutMargin};case!!(t&&n):return{marginTop:t*e.layoutMargin,marginBottom:t*e.layoutMargin};default:return{}}}),DV=u(({col:e,row:t,outer:r,children:n,...a})=>{let o=Rz(typeof r=="number"||!r?r:e||t);return v.createElement(Iz,{col:e,row:t,outer:o,...a},n)},"Spaced"),zz=k.div(({theme:e})=>({fontWeight:e.typography.weight.bold})),Tz=k.div(),Lz=k.div(({theme:e})=>({padding:30,textAlign:"center",color:e.color.defaultText,fontSize:e.typography.size.s2-1})),EV=u(({children:e,...t})=>{let[r,n]=l.Children.toArray(e);return v.createElement(Lz,{...t},v.createElement(zz,null,r),n&&v.createElement(Tz,null,n))},"Placeholder");Ap();function mE(e,t){var r=l.useRef(null),n=l.useRef(null);n.current=t;var a=l.useRef(null);l.useEffect(function(){o()});var o=l.useCallback(function(){var i=a.current,s=n.current,c=i||(s?s instanceof Element?s:s.current:null);r.current&&r.current.element===c&&r.current.subscriber===e||(r.current&&r.current.cleanup&&r.current.cleanup(),r.current={element:c,subscriber:e,cleanup:c?e(c):void 0})},[e]);return l.useEffect(function(){return function(){r.current&&r.current.cleanup&&(r.current.cleanup(),r.current=null)}},[]),l.useCallback(function(i){a.current=i,o()},[o])}u(mE,"useResolvedElement");function R1(e,t,r){return e[t]?e[t][0]?e[t][0][r]:e[t][r]:t==="contentBoxSize"?e.contentRect[r==="inlineSize"?"width":"height"]:void 0}u(R1,"extractSize");function oh(e){e===void 0&&(e={});var t=e.onResize,r=l.useRef(void 0);r.current=t;var n=e.round||Math.round,a=l.useRef(),o=l.useState({width:void 0,height:void 0}),i=o[0],s=o[1],c=l.useRef(!1);l.useEffect(function(){return c.current=!1,function(){c.current=!0}},[]);var d=l.useRef({width:void 0,height:void 0}),f=mE(l.useCallback(function(m){return(!a.current||a.current.box!==e.box||a.current.round!==n)&&(a.current={box:e.box,round:n,instance:new ResizeObserver(function(p){var h=p[0],g=e.box==="border-box"?"borderBoxSize":e.box==="device-pixel-content-box"?"devicePixelContentBoxSize":"contentBoxSize",y=R1(h,g,"inlineSize"),b=R1(h,g,"blockSize"),C=y?n(y):void 0,E=b?n(b):void 0;if(d.current.width!==C||d.current.height!==E){var D={width:C,height:E};d.current.width=C,d.current.height=E,r.current?r.current(D):c.current||s(D)}})}),a.current.instance.observe(m,{box:e.box}),function(){a.current&&a.current.instance.unobserve(m)}},[e.box,n]),e.ref);return l.useMemo(function(){return{ref:f,width:i.width,height:i.height}},[f,i.width,i.height])}u(oh,"useResizeObserver");var Mz=k.div(({scale:e=1,elementHeight:t})=>({height:t||"auto",transformOrigin:"top left",transform:`scale(${1/e})`}));function gE({scale:e,children:t}){let r=l.useRef(null),[n,a]=l.useState(0),o=l.useCallback(({height:i})=>{i&&a(i/e)},[e]);return l.useEffect(()=>{r.current&&a(r.current.getBoundingClientRect().height)},[e]),oh({ref:r,onResize:o}),v.createElement(Mz,{scale:e,elementHeight:n},v.createElement("div",{ref:r,className:"innerZoomElementWrapper"},t))}u(gE,"ZoomElement");var vE=class extends l.Component{constructor(){super(...arguments),this.iframe=null}componentDidMount(){let{iFrameRef:t}=this.props;this.iframe=t.current}shouldComponentUpdate(t){let{scale:r,active:n}=this.props;return r!==t.scale&&this.setIframeInnerZoom(t.scale),n!==t.active&&this.iframe.setAttribute("data-is-storybook",t.active?"true":"false"),t.children.props.src!==this.props.children.props.src}setIframeInnerZoom(t){try{Object.assign(this.iframe.contentDocument.body.style,{width:`${t*100}%`,height:`${t*100}%`,transform:`scale(${1/t})`,transformOrigin:"top left"})}catch{this.setIframeZoom(t)}}setIframeZoom(t){Object.assign(this.iframe.style,{width:`${t*100}%`,height:`${t*100}%`,transform:`scale(${1/t})`,transformOrigin:"top left"})}render(){let{children:t}=this.props;return v.createElement(v.Fragment,null,t)}};u(vE,"ZoomIFrame");var Oz=vE,Pz={Element:gE,IFrame:Oz};mp();var{document:Nz}=Ss,Hz=k.strong(({theme:e})=>({color:e.color.orange})),$z=k.strong(({theme:e})=>({color:e.color.ancillary,textDecoration:"underline"})),d4=k.em(({theme:e})=>({color:e.textMutedColor})),jz=/(Error): (.*)\n/,Vz=/at (?:(.*) )?\(?(.+)\)?/,Uz=/([^@]+)?(?:\/<)?@(.+)?/,qz=/([^@]+)?@(.+)?/,Wz=u(({error:e})=>{if(!e)return v.createElement(l.Fragment,null,"This error has no stack or message");if(!e.stack)return v.createElement(l.Fragment,null,e.message||"This error has no stack or message");let t=e.stack.toString();t&&e.message&&!t.includes(e.message)&&(t=`Error: ${e.message} - -${t}`);let r=t.match(jz);if(!r)return v.createElement(l.Fragment,null,t);let[,n,a]=r,o=t.split(/\n/).slice(1),[,...i]=o.map(s=>{let c=s.match(Vz)||s.match(Uz)||s.match(qz);return c?{name:(c[1]||"").replace("/<",""),location:c[2].replace(Nz.location.origin,"")}:null}).filter(Boolean);return v.createElement(l.Fragment,null,v.createElement("span",null,n),": ",v.createElement(Hz,null,a),v.createElement("br",null),i.map((s,c)=>s!=null&&s.name?v.createElement(l.Fragment,{key:c}," ","at ",v.createElement($z,null,s.name)," (",v.createElement(d4,null,s.location),")",v.createElement("br",null)):v.createElement(l.Fragment,{key:c}," ","at ",v.createElement(d4,null,s==null?void 0:s.location),v.createElement("br",null))))},"ErrorFormatter"),Gz=k.label(({theme:e})=>({display:"flex",borderBottom:`1px solid ${e.appBorderColor}`,margin:"0 15px",padding:"8px 0","&:last-child":{marginBottom:"3rem"}})),Kz=k.span(({theme:e})=>({minWidth:100,fontWeight:e.typography.weight.bold,marginRight:15,display:"flex",justifyContent:"flex-start",alignItems:"center",lineHeight:"16px"})),Yz=u(({label:e,children:t,...r})=>v.createElement(Gz,{...r},e?v.createElement(Kz,null,v.createElement("span",null,e)):null,t),"Field");xs();gp();var Jz=l.useLayoutEffect,Zz=Jz,Xz=u(function(e){var t=l.useRef(e);return Zz(function(){t.current=e}),t},"useLatest"),p4=u(function(e,t){if(typeof e=="function"){e(t);return}e.current=t},"updateRef"),Qz=u(function(e,t){var r=l.useRef();return l.useCallback(function(n){e.current=n,r.current&&p4(r.current,null),r.current=t,t&&p4(t,n)},[t])},"useComposedRef"),eT=Qz,f4={"min-height":"0","max-height":"none",height:"0",visibility:"hidden",overflow:"hidden",position:"absolute","z-index":"-1000",top:"0",right:"0"},tT=u(function(e){Object.keys(f4).forEach(function(t){e.style.setProperty(t,f4[t],"important")})},"forceHiddenStyles"),h4=tT,Ie=null,m4=u(function(e,t){var r=e.scrollHeight;return t.sizingStyle.boxSizing==="border-box"?r+t.borderSize:r-t.paddingSize},"getHeight");function yE(e,t,r,n){r===void 0&&(r=1),n===void 0&&(n=1/0),Ie||(Ie=document.createElement("textarea"),Ie.setAttribute("tabindex","-1"),Ie.setAttribute("aria-hidden","true"),h4(Ie)),Ie.parentNode===null&&document.body.appendChild(Ie);var a=e.paddingSize,o=e.borderSize,i=e.sizingStyle,s=i.boxSizing;Object.keys(i).forEach(function(p){var h=p;Ie.style[h]=i[h]}),h4(Ie),Ie.value=t;var c=m4(Ie,e);Ie.value=t,c=m4(Ie,e),Ie.value="x";var d=Ie.scrollHeight-a,f=d*r;s==="border-box"&&(f=f+a+o),c=Math.max(f,c);var m=d*n;return s==="border-box"&&(m=m+a+o),c=Math.min(m,c),[c,d]}u(yE,"calculateNodeHeight");var g4=u(function(){},"noop"),rT=u(function(e,t){return e.reduce(function(r,n){return r[n]=t[n],r},{})},"pick"),nT=["borderBottomWidth","borderLeftWidth","borderRightWidth","borderTopWidth","boxSizing","fontFamily","fontSize","fontStyle","fontWeight","letterSpacing","lineHeight","paddingBottom","paddingLeft","paddingRight","paddingTop","tabSize","textIndent","textRendering","textTransform","width","wordBreak"],aT=!!document.documentElement.currentStyle,oT=u(function(e){var t=window.getComputedStyle(e);if(t===null)return null;var r=rT(nT,t),n=r.boxSizing;if(n==="")return null;aT&&n==="border-box"&&(r.width=parseFloat(r.width)+parseFloat(r.borderRightWidth)+parseFloat(r.borderLeftWidth)+parseFloat(r.paddingRight)+parseFloat(r.paddingLeft)+"px");var a=parseFloat(r.paddingBottom)+parseFloat(r.paddingTop),o=parseFloat(r.borderBottomWidth)+parseFloat(r.borderTopWidth);return{sizingStyle:r,paddingSize:a,borderSize:o}},"getSizingData"),iT=oT;function ih(e,t,r){var n=Xz(r);l.useLayoutEffect(function(){var a=u(function(o){return n.current(o)},"handler");if(e)return e.addEventListener(t,a),function(){return e.removeEventListener(t,a)}},[])}u(ih,"useListener");var lT=u(function(e){ih(window,"resize",e)},"useWindowResizeListener"),sT=u(function(e){ih(document.fonts,"loadingdone",e)},"useFontsLoadedListener"),uT=["cacheMeasurements","maxRows","minRows","onChange","onHeightChange"],cT=u(function(e,t){var r=e.cacheMeasurements,n=e.maxRows,a=e.minRows,o=e.onChange,i=o===void 0?g4:o,s=e.onHeightChange,c=s===void 0?g4:s,d=As(e,uT),f=d.value!==void 0,m=l.useRef(null),p=eT(m,t),h=l.useRef(0),g=l.useRef(),y=u(function(){var C=m.current,E=r&&g.current?g.current:iT(C);if(E){g.current=E;var D=yE(E,C.value||C.placeholder||"x",a,n),w=D[0],x=D[1];h.current!==w&&(h.current=w,C.style.setProperty("height",w+"px","important"),c(w,{rowHeight:x}))}},"resizeTextarea"),b=u(function(C){f||y(),i(C)},"handleChange");return l.useLayoutEffect(y),lT(y),sT(y),l.createElement("textarea",Te({},d,{onChange:b,ref:p}))},"TextareaAutosize"),dT=l.forwardRef(cT),pT={appearance:"none",border:"0 none",boxSizing:"inherit",display:" block",margin:" 0",background:"transparent",padding:0,fontSize:"inherit",position:"relative"},lh=u(({theme:e})=>({...pT,transition:"box-shadow 200ms ease-out, opacity 200ms ease-out",color:e.input.color||"inherit",background:e.input.background,boxShadow:`${e.input.border} 0 0 0 1px inset`,borderRadius:e.input.borderRadius,fontSize:e.typography.size.s2-1,lineHeight:"20px",padding:"6px 10px",boxSizing:"border-box",height:32,'&[type="file"]':{height:"auto"},"&:focus":{boxShadow:`${e.color.secondary} 0 0 0 1px inset`,outline:"none"},"&[disabled]":{cursor:"not-allowed",opacity:.5},"&:-webkit-autofill":{WebkitBoxShadow:`0 0 0 3em ${e.color.lightest} inset`},"&::placeholder":{color:e.textMutedColor,opacity:1}}),"styles"),sh=u(({size:e})=>{switch(e){case"100%":return{width:"100%"};case"flex":return{flex:1};case"auto":default:return{display:"inline"}}},"sizes"),bE=u(({align:e})=>{switch(e){case"end":return{textAlign:"right"};case"center":return{textAlign:"center"};case"start":default:return{textAlign:"left"}}},"alignment"),uh=u(({valid:e,theme:t})=>{switch(e){case"valid":return{boxShadow:`${t.color.positive} 0 0 0 1px inset !important`};case"error":return{boxShadow:`${t.color.negative} 0 0 0 1px inset !important`};case"warn":return{boxShadow:`${t.color.warning} 0 0 0 1px inset`};case void 0:case null:default:return{}}},"validation"),fT=Object.assign(k(l.forwardRef(u(function({size:e,valid:t,align:r,...n},a){return v.createElement("input",{...n,ref:a})},"Input")))(lh,sh,bE,uh,{minHeight:32}),{displayName:"Input"}),hT=Object.assign(k(l.forwardRef(u(function({size:e,valid:t,align:r,...n},a){return v.createElement("select",{...n,ref:a})},"Select")))(lh,sh,uh,{height:32,userSelect:"none",paddingRight:20,appearance:"menulist"}),{displayName:"Select"}),mT=Object.assign(k(l.forwardRef(u(function({size:e,valid:t,align:r,...n},a){return v.createElement(dT,{...n,ref:a})},"Textarea")))(lh,sh,bE,uh,({height:e=400})=>({overflow:"visible",maxHeight:e})),{displayName:"Textarea"}),gi=Object.assign(k.form({boxSizing:"border-box",width:"100%"}),{Field:Yz,Input:fT,Select:hT,Textarea:mT,Button:Fn}),gT=l.lazy(()=>Promise.resolve().then(()=>(Nf(),Pf)).then(e=>({default:e.WithTooltip}))),xV=u(e=>v.createElement(l.Suspense,{fallback:v.createElement("div",null)},v.createElement(gT,{...e})),"WithTooltip"),vT=l.lazy(()=>Promise.resolve().then(()=>(Nf(),Pf)).then(e=>({default:e.WithTooltipPure}))),yT=u(e=>v.createElement(l.Suspense,{fallback:v.createElement("div",null)},v.createElement(vT,{...e})),"WithTooltipPure"),bT=k.div(({theme:e})=>({fontWeight:e.typography.weight.bold})),wT=k.span(),DT=k.div(({theme:e})=>({marginTop:8,textAlign:"center","> *":{margin:"0 8px",fontWeight:e.typography.weight.bold}})),ET=k.div(({theme:e})=>({color:e.color.defaultText,lineHeight:"18px"})),CT=k.div({padding:15,width:280,boxSizing:"border-box"}),SV=u(({title:e,desc:t,links:r})=>v.createElement(CT,null,v.createElement(ET,null,e&&v.createElement(bT,null,e),t&&v.createElement(wT,null,t)),r&&v.createElement(DT,null,r.map(({title:n,...a})=>v.createElement(aa,{...a,key:n},n)))),"TooltipMessage"),xT=k.div(({theme:e})=>({padding:"2px 6px",lineHeight:"16px",fontSize:10,fontWeight:e.typography.weight.bold,color:e.color.lightest,boxShadow:"0 0 5px 0 rgba(0, 0, 0, 0.3)",borderRadius:4,whiteSpace:"nowrap",pointerEvents:"none",zIndex:-1,background:e.base==="light"?"rgba(60, 60, 60, 0.9)":"rgba(0, 0, 0, 0.95)",margin:6})),FV=u(({note:e,...t})=>v.createElement(xT,{...t},e),"TooltipNote"),ST=Ce(Fs(),1),FT=k(({active:e,loading:t,disabled:r,...n})=>v.createElement("span",{...n}))(({theme:e})=>({color:e.color.defaultText,fontWeight:e.typography.weight.regular}),({active:e,theme:t})=>e?{color:t.color.secondary,fontWeight:t.typography.weight.bold}:{},({loading:e,theme:t})=>e?{display:"inline-block",flex:"none",...t.animation.inlineGlow}:{},({disabled:e,theme:t})=>e?{color:t.textMutedColor}:{}),AT=k.span({display:"flex","& svg":{height:12,width:12,margin:"3px 0",verticalAlign:"top"},"& path":{fill:"inherit"}}),kT=k.span({flex:1,textAlign:"left",display:"flex",flexDirection:"column"},({isIndented:e})=>e?{marginLeft:24}:{}),_T=k.span(({theme:e})=>({fontSize:"11px",lineHeight:"14px"}),({active:e,theme:t})=>e?{color:t.color.secondary}:{},({theme:e,disabled:t})=>t?{color:e.textMutedColor}:{}),BT=k.span(({active:e,theme:t})=>e?{color:t.color.secondary}:{},()=>({display:"flex",maxWidth:14})),RT=k.div(({theme:e})=>({width:"100%",border:"none",borderRadius:e.appBorderRadius,background:"none",fontSize:e.typography.size.s1,transition:"all 150ms ease-out",color:e.color.dark,textDecoration:"none",justifyContent:"space-between",lineHeight:"18px",padding:"7px 10px",display:"flex",alignItems:"center","& > * + *":{paddingLeft:10}}),({theme:e,href:t,onClick:r})=>(t||r)&&{cursor:"pointer","&:hover":{background:e.background.hoverable},"&:hover svg":{opacity:1}},({theme:e,as:t})=>t==="label"&&{"&:has(input:not(:disabled))":{cursor:"pointer","&:hover":{background:e.background.hoverable}}},({disabled:e})=>e&&{cursor:"not-allowed"}),IT=(0,ST.default)(100)((e,t,r)=>({...e&&{as:"button",onClick:e},...t&&{as:"a",href:t,...r&&{as:r,to:t}}})),zT=u(({loading:e=!1,title:t=v.createElement("span",null,"Loading state"),center:r=null,right:n=null,active:a=!1,disabled:o=!1,isIndented:i,href:s=void 0,onClick:c=void 0,icon:d,LinkWrapper:f=void 0,...m})=>{let p={active:a,disabled:o},h=IT(c,s,f);return v.createElement(RT,{...m,...p,...h},v.createElement(v.Fragment,null,d&&v.createElement(BT,{...p},d),t||r?v.createElement(kT,{isIndented:!!(!d&&i)},t&&v.createElement(FT,{...p,loading:e},t),r&&v.createElement(_T,{...p},r)):null,n&&v.createElement(AT,{...p},n)))},"ListItem"),TT=zT,LT=k.div({minWidth:180,overflow:"hidden",overflowY:"auto",maxHeight:15.5*32+8},({theme:e})=>({borderRadius:e.appBorderRadius+2}),({theme:e})=>e.base==="dark"?{background:e.background.content}:{}),MT=k.div(({theme:e})=>({padding:4,"& + &":{borderTop:`1px solid ${e.appBorderColor}`}})),OT=u(({id:e,onClick:t,...r})=>{let{active:n,disabled:a,title:o,href:i}=r,s=l.useCallback(c=>t==null?void 0:t(c,{id:e,active:n,disabled:a,title:o,href:i}),[t,e,n,a,o,i]);return v.createElement(TT,{id:`list-item-${e}`,...r,...t&&{onClick:s}})},"Item"),PT=u(({links:e,LinkWrapper:t,...r})=>{let n=Array.isArray(e[0])?e:[e],a=n.some(o=>o.some(i=>"icon"in i&&i.icon));return v.createElement(LT,{...r},n.filter(o=>o.length).map((o,i)=>v.createElement(MT,{key:o.map(s=>s.id).join(`~${i}~`)},o.map(s=>"content"in s?v.createElement(l.Fragment,{key:s.id},s.content):v.createElement(OT,{key:s.id,isIndented:a,LinkWrapper:t,...s})))))},"TooltipLinkList");Ap();var I1=k.div({display:"flex",whiteSpace:"nowrap",flexBasis:"auto",marginLeft:3,marginRight:3},({scrollable:e})=>e?{flexShrink:0}:{},({left:e})=>e?{"& > *":{marginLeft:4}}:{},({right:e})=>e?{marginLeft:30,"& > *":{marginRight:4}}:{});I1.displayName="Side";var NT=u(({children:e,className:t,scrollable:r})=>r?v.createElement(Il,{vertical:!1,className:t},e):v.createElement("div",{className:t},e),"UnstyledBar"),wE=k(NT)(({theme:e,scrollable:t=!0})=>({color:e.barTextColor,width:"100%",height:40,flexShrink:0,overflow:t?"auto":"hidden",overflowY:"hidden"}),({theme:e,border:t=!1})=>t?{boxShadow:`${e.appBorderColor} 0 -1px 0 0 inset`,background:e.barBg}:{});wE.displayName="Bar";var HT=k.div(({bgColor:e})=>({display:"flex",justifyContent:"space-between",position:"relative",flexWrap:"nowrap",flexShrink:0,height:40,backgroundColor:e||""})),ch=u(({children:e,backgroundColor:t,className:r,...n})=>{let[a,o]=l.Children.toArray(e);return v.createElement(wE,{className:`sb-bar ${r}`,...n},v.createElement(HT,{bgColor:t},v.createElement(I1,{scrollable:n.scrollable,left:!0},a),o?v.createElement(I1,{right:!0},o):null))},"FlexBar");ch.displayName="FlexBar";var $T=u(e=>typeof e.props.href=="string","isLink"),jT=u(e=>typeof e.props.href!="string","isButton");function DE({children:e,...t},r){let n={props:t,ref:r};if($T(n))return v.createElement("a",{ref:n.ref,...n.props},e);if(jT(n))return v.createElement("button",{ref:n.ref,type:"button",...n.props},e);throw new Error("invalid props")}u(DE,"ForwardRefFunction");var EE=l.forwardRef(DE);EE.displayName="ButtonOrLink";var iu=k(EE,{shouldForwardProp:up})({whiteSpace:"normal",display:"inline-flex",overflow:"hidden",verticalAlign:"top",justifyContent:"center",alignItems:"center",textAlign:"center",textDecoration:"none","&:empty":{display:"none"},"&[hidden]":{display:"none"}},({theme:e})=>({padding:"0 15px",transition:"color 0.2s linear, border-bottom-color 0.2s linear",height:40,lineHeight:"12px",cursor:"pointer",background:"transparent",border:"0 solid transparent",borderTop:"3px solid transparent",borderBottom:"3px solid transparent",fontWeight:"bold",fontSize:13,"&:focus":{outline:"0 none",borderBottomColor:e.barSelectedColor}}),({active:e,textColor:t,theme:r})=>e?{color:t||r.barSelectedColor,borderBottomColor:r.barSelectedColor}:{color:t||r.barTextColor,borderBottomColor:"transparent","&:hover":{color:r.barHoverColor}});iu.displayName="TabButton";var VT=k.div(({theme:e})=>({width:14,height:14,backgroundColor:e.appBorderColor,animation:`${e.animation.glow} 1.5s ease-in-out infinite`})),UT=k.div({marginTop:6,padding:7,height:28}),AV=u(()=>v.createElement(UT,null,v.createElement(VT,null)),"IconButtonSkeleton"),qT=k.div(({theme:e})=>({height:"100%",display:"flex",padding:30,alignItems:"center",justifyContent:"center",flexDirection:"column",gap:15,background:e.background.content})),WT=k.div({display:"flex",flexDirection:"column",gap:4,maxWidth:415}),GT=k.div(({theme:e})=>({fontWeight:e.typography.weight.bold,fontSize:e.typography.size.s2-1,textAlign:"center",color:e.textColor})),KT=k.div(({theme:e})=>({fontWeight:e.typography.weight.regular,fontSize:e.typography.size.s2-1,textAlign:"center",color:e.textMutedColor})),CE=u(({title:e,description:t,footer:r})=>v.createElement(qT,null,v.createElement(WT,null,v.createElement(GT,null,e),t&&v.createElement(KT,null,t)),r),"EmptyTabContent"),xE=k.div(({active:e})=>e?{display:"block"}:{display:"none"}),YT=u(e=>l.Children.toArray(e).map(({props:{title:t,id:r,color:n,children:a}})=>{let o=Array.isArray(a)?a[0]:a;return{title:t,id:r,...n?{color:n}:{},render:typeof o=="function"?o:({active:i})=>v.createElement(xE,{active:i,role:"tabpanel"},o)}}),"childrenToList");Nf();var JT=k.span(({theme:e,isActive:t})=>({display:"inline-block",width:0,height:0,marginLeft:8,color:t?e.color.secondary:e.color.mediumdark,borderRight:"3px solid transparent",borderLeft:"3px solid transparent",borderTop:"3px solid",transition:"transform .1s ease-out"})),ZT=k(iu)(({active:e,theme:t,preActive:r})=>` - color: ${r||e?t.barSelectedColor:t.barTextColor}; - .addon-collapsible-icon { - color: ${r||e?t.barSelectedColor:t.barTextColor}; - } - &:hover { - color: ${t.barHoverColor}; - .addon-collapsible-icon { - color: ${t.barHoverColor}; - } - } - `);function SE(e){let t=l.useRef(),r=l.useRef(),n=l.useRef(new Map),{width:a=1}=oh({ref:t}),[o,i]=l.useState(e),[s,c]=l.useState([]),d=l.useRef(e),f=l.useCallback(({menuName:p,actions:h})=>{let g=s.some(({active:C})=>C),[y,b]=l.useState(!1);return v.createElement(v.Fragment,null,v.createElement(cs,{interactive:!0,visible:y,onVisibleChange:b,placement:"bottom",delayHide:100,tooltip:v.createElement(PT,{links:s.map(({title:C,id:E,color:D,active:w})=>({id:E,title:C,color:D,active:w,onClick:u(x=>{x.preventDefault(),h.onSelect(E)},"onClick")}))})},v.createElement(ZT,{ref:r,active:g,preActive:y,style:{visibility:s.length?"visible":"hidden"},"aria-hidden":!s.length,className:"tabbutton",type:"button",role:"tab"},p,v.createElement(JT,{className:"addon-collapsible-icon",isActive:g||y}))),s.map(({title:C,id:E,color:D},w)=>{let x=`index-${w}`;return v.createElement(iu,{id:`tabbutton-${Y4(E)??x}`,style:{visibility:"hidden"},"aria-hidden":!0,tabIndex:-1,ref:S=>{n.current.set(E,S)},className:"tabbutton",type:"button",key:E,textColor:D,role:"tab"},C)}))},[s]),m=l.useCallback(()=>{if(!t.current||!r.current)return;let{x:p,width:h}=t.current.getBoundingClientRect(),{width:g}=r.current.getBoundingClientRect(),y=s.length?p+h-g:p+h,b=[],C=0,E=e.filter(D=>{let{id:w}=D,x=n.current.get(w),{width:S=0}=(x==null?void 0:x.getBoundingClientRect())||{},F=p+C+S>y;return(!F||!x)&&b.push(D),C+=S,F});(b.length!==o.length||d.current!==e)&&(i(b),c(E),d.current=e)},[s.length,e,o]);return l.useLayoutEffect(m,[m,a]),{tabRefs:n,addonsRef:r,tabBarRef:t,visibleList:o,invisibleList:s,AddonTab:f}}u(SE,"useList");var XT="/* emotion-disable-server-rendering-unsafe-selector-warning-please-do-not-use-this-the-warning-exists-for-a-reason */",QT=k.div(({theme:e,bordered:t})=>t?{backgroundClip:"padding-box",border:`1px solid ${e.appBorderColor}`,borderRadius:e.appBorderRadius,overflow:"hidden",boxSizing:"border-box"}:{},({absolute:e})=>e?{width:"100%",height:"100%",boxSizing:"border-box",display:"flex",flexDirection:"column"}:{display:"block"}),FE=k.div({overflow:"hidden","&:first-of-type":{marginLeft:-3},whiteSpace:"nowrap",flexGrow:1});FE.displayName="TabBar";var eL=k.div({display:"block",position:"relative"},({theme:e})=>({fontSize:e.typography.size.s2-1,background:e.background.content}),({bordered:e,theme:t})=>e?{borderRadius:`0 0 ${t.appBorderRadius-1}px ${t.appBorderRadius-1}px`}:{},({absolute:e,bordered:t})=>e?{height:`calc(100% - ${t?42:40}px)`,position:"absolute",left:0+(t?1:0),right:0+(t?1:0),bottom:0+(t?1:0),top:40+(t?1:0),overflow:"auto",[`& > *:first-child${XT}`]:{position:"absolute",left:0+(t?1:0),right:0+(t?1:0),bottom:0+(t?1:0),top:0+(t?1:0),height:`calc(100% - ${t?2:0}px)`,overflow:"auto"}}:{}),kV=u(({active:e,render:t,children:r})=>v.createElement(xE,{active:e},t?t():r),"TabWrapper"),AE=l.memo(({children:e,selected:t=null,actions:r,absolute:n=!1,bordered:a=!1,tools:o=null,backgroundColor:i,id:s=null,menuName:c="Tabs",emptyState:d,showToolsWhenEmpty:f})=>{let m=l.useMemo(()=>YT(e).map((C,E)=>({...C,active:t?C.id===t:E===0})),[e,t]),{visibleList:p,tabBarRef:h,tabRefs:g,AddonTab:y}=SE(m),b=d??v.createElement(CE,{title:"Nothing found"});return!f&&m.length===0?b:v.createElement(QT,{absolute:n,bordered:a,id:s},v.createElement(ch,{scrollable:!1,border:!0,backgroundColor:i},v.createElement(FE,{style:{whiteSpace:"normal"},ref:h,role:"tablist"},p.map(({title:C,id:E,active:D,color:w},x)=>{let S=`index-${x}`;return v.createElement(iu,{id:`tabbutton-${Y4(E)??S}`,ref:F=>{g.current.set(E,F)},className:`tabbutton ${D?"tabbutton-active":""}`,type:"button",key:E,active:D,textColor:w,onClick:F=>{F.preventDefault(),r.onSelect(E)},role:"tab"},typeof C=="function"?v.createElement("title",null):C)}),v.createElement(y,{menuName:c,actions:r})),o),v.createElement(eL,{id:"panel-tab-content",bordered:a,absolute:n},m.length?m.map(({id:C,active:E,render:D})=>v.createElement(D,{key:C,active:E},null)):b))});AE.displayName="Tabs";var z1=class extends l.Component{constructor(t){super(t),this.handlers={onSelect:u(r=>this.setState({selected:r}),"onSelect")},this.state={selected:t.initial}}render(){let{bordered:t=!1,absolute:r=!1,children:n,backgroundColor:a,menuName:o}=this.props,{selected:i}=this.state;return v.createElement(AE,{bordered:t,absolute:r,selected:i,backgroundColor:a,menuName:o,actions:this.handlers},n)}};u(z1,"TabsState"),z1.defaultProps={children:[],initial:null,absolute:!1,bordered:!1,backgroundColor:"",menuName:void 0};var tL=z1,kE=k.span(({theme:e})=>({width:1,height:20,background:e.appBorderColor,marginLeft:2,marginRight:2}),({force:e})=>e?{}:{"& + &":{display:"none"}});kE.displayName="Separator";var BV=u(e=>e.reduce((t,r,n)=>r?v.createElement(l.Fragment,{key:r.id||r.key||`f-${n}`},t,n>0?v.createElement(kE,{key:`s-${n}`}):null,r.render()||r):t,null),"interleaveSeparators"),rL=u(e=>{let t=l.useRef();return l.useEffect(()=>{t.current=e},[e]),t.current},"usePrevious"),nL=u((e,t)=>{let r=rL(t);return e?t:r},"useUpdate"),RV=u(({active:e,children:t})=>v.createElement("div",{hidden:!e},nL(e,t)),"AddonPanel");const{deprecate:aL,logger:oL}=__STORYBOOK_MODULE_CLIENT_LOGGER__;var iL=VD,lL=k.svg` - display: inline-block; - shape-rendering: inherit; - vertical-align: middle; - fill: currentColor; - path { - fill: currentColor; - } -`,IV=u(({icon:e,useSymbol:t,__suppressDeprecationWarning:r=!1,...n})=>{r||aL(`Use of the deprecated Icons ${`(${e})`||""} component detected. Please use the @storybook/icons component directly. For more informations, see the migration notes at https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#icons-is-deprecated`);let a=T1[e]||null;if(!a)return oL.warn(`Use of an unknown prop ${`(${e})`||""} in the Icons component. The Icons component is deprecated. Please use the @storybook/icons component directly. For more informations, see the migration notes at https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#icons-is-deprecated`),null;let o=iL[a];return v.createElement(o,{...n})},"Icons"),zV=l.memo(u(function({icons:e=Object.keys(T1)}){return v.createElement(lL,{viewBox:"0 0 14 14",style:{position:"absolute",width:0,height:0},"data-chromatic":"ignore"},e.map(t=>v.createElement("symbol",{id:`icon--${t}`,key:t},T1[t])))},"Symbols")),T1={user:"UserIcon",useralt:"UserAltIcon",useradd:"UserAddIcon",users:"UsersIcon",profile:"ProfileIcon",facehappy:"FaceHappyIcon",faceneutral:"FaceNeutralIcon",facesad:"FaceSadIcon",accessibility:"AccessibilityIcon",accessibilityalt:"AccessibilityAltIcon",arrowup:"ChevronUpIcon",arrowdown:"ChevronDownIcon",arrowleft:"ChevronLeftIcon",arrowright:"ChevronRightIcon",arrowupalt:"ArrowUpIcon",arrowdownalt:"ArrowDownIcon",arrowleftalt:"ArrowLeftIcon",arrowrightalt:"ArrowRightIcon",expandalt:"ExpandAltIcon",collapse:"CollapseIcon",expand:"ExpandIcon",unfold:"UnfoldIcon",transfer:"TransferIcon",redirect:"RedirectIcon",undo:"UndoIcon",reply:"ReplyIcon",sync:"SyncIcon",upload:"UploadIcon",download:"DownloadIcon",back:"BackIcon",proceed:"ProceedIcon",refresh:"RefreshIcon",globe:"GlobeIcon",compass:"CompassIcon",location:"LocationIcon",pin:"PinIcon",time:"TimeIcon",dashboard:"DashboardIcon",timer:"TimerIcon",home:"HomeIcon",admin:"AdminIcon",info:"InfoIcon",question:"QuestionIcon",support:"SupportIcon",alert:"AlertIcon",email:"EmailIcon",phone:"PhoneIcon",link:"LinkIcon",unlink:"LinkBrokenIcon",bell:"BellIcon",rss:"RSSIcon",sharealt:"ShareAltIcon",share:"ShareIcon",circle:"CircleIcon",circlehollow:"CircleHollowIcon",bookmarkhollow:"BookmarkHollowIcon",bookmark:"BookmarkIcon",hearthollow:"HeartHollowIcon",heart:"HeartIcon",starhollow:"StarHollowIcon",star:"StarIcon",certificate:"CertificateIcon",verified:"VerifiedIcon",thumbsup:"ThumbsUpIcon",shield:"ShieldIcon",basket:"BasketIcon",beaker:"BeakerIcon",hourglass:"HourglassIcon",flag:"FlagIcon",cloudhollow:"CloudHollowIcon",edit:"EditIcon",cog:"CogIcon",nut:"NutIcon",wrench:"WrenchIcon",ellipsis:"EllipsisIcon",check:"CheckIcon",form:"FormIcon",batchdeny:"BatchDenyIcon",batchaccept:"BatchAcceptIcon",controls:"ControlsIcon",plus:"PlusIcon",closeAlt:"CloseAltIcon",cross:"CrossIcon",trash:"TrashIcon",pinalt:"PinAltIcon",unpin:"UnpinIcon",add:"AddIcon",subtract:"SubtractIcon",close:"CloseIcon",delete:"DeleteIcon",passed:"PassedIcon",changed:"ChangedIcon",failed:"FailedIcon",clear:"ClearIcon",comment:"CommentIcon",commentadd:"CommentAddIcon",requestchange:"RequestChangeIcon",comments:"CommentsIcon",lock:"LockIcon",unlock:"UnlockIcon",key:"KeyIcon",outbox:"OutboxIcon",credit:"CreditIcon",button:"ButtonIcon",type:"TypeIcon",pointerdefault:"PointerDefaultIcon",pointerhand:"PointerHandIcon",browser:"BrowserIcon",tablet:"TabletIcon",mobile:"MobileIcon",watch:"WatchIcon",sidebar:"SidebarIcon",sidebaralt:"SidebarAltIcon",sidebaralttoggle:"SidebarAltToggleIcon",sidebartoggle:"SidebarToggleIcon",bottombar:"BottomBarIcon",bottombartoggle:"BottomBarToggleIcon",cpu:"CPUIcon",database:"DatabaseIcon",memory:"MemoryIcon",structure:"StructureIcon",box:"BoxIcon",power:"PowerIcon",photo:"PhotoIcon",component:"ComponentIcon",grid:"GridIcon",outline:"OutlineIcon",photodrag:"PhotoDragIcon",search:"SearchIcon",zoom:"ZoomIcon",zoomout:"ZoomOutIcon",zoomreset:"ZoomResetIcon",eye:"EyeIcon",eyeclose:"EyeCloseIcon",lightning:"LightningIcon",lightningoff:"LightningOffIcon",contrast:"ContrastIcon",switchalt:"SwitchAltIcon",mirror:"MirrorIcon",grow:"GrowIcon",paintbrush:"PaintBrushIcon",ruler:"RulerIcon",stop:"StopIcon",camera:"CameraIcon",video:"VideoIcon",speaker:"SpeakerIcon",play:"PlayIcon",playback:"PlayBackIcon",playnext:"PlayNextIcon",rewind:"RewindIcon",fastforward:"FastForwardIcon",stopalt:"StopAltIcon",sidebyside:"SideBySideIcon",stacked:"StackedIcon",sun:"SunIcon",moon:"MoonIcon",book:"BookIcon",document:"DocumentIcon",copy:"CopyIcon",category:"CategoryIcon",folder:"FolderIcon",print:"PrintIcon",graphline:"GraphLineIcon",calendar:"CalendarIcon",graphbar:"GraphBarIcon",menu:"MenuIcon",menualt:"MenuIcon",filter:"FilterIcon",docchart:"DocChartIcon",doclist:"DocListIcon",markup:"MarkupIcon",bold:"BoldIcon",paperclip:"PaperClipIcon",listordered:"ListOrderedIcon",listunordered:"ListUnorderedIcon",paragraph:"ParagraphIcon",markdown:"MarkdownIcon",repository:"RepoIcon",commit:"CommitIcon",branch:"BranchIcon",pullrequest:"PullRequestIcon",merge:"MergeIcon",apple:"AppleIcon",linux:"LinuxIcon",ubuntu:"UbuntuIcon",windows:"WindowsIcon",storybook:"StorybookIcon",azuredevops:"AzureDevOpsIcon",bitbucket:"BitbucketIcon",chrome:"ChromeIcon",chromatic:"ChromaticIcon",componentdriven:"ComponentDrivenIcon",discord:"DiscordIcon",facebook:"FacebookIcon",figma:"FigmaIcon",gdrive:"GDriveIcon",github:"GithubIcon",gitlab:"GitlabIcon",google:"GoogleIcon",graphql:"GraphqlIcon",medium:"MediumIcon",redux:"ReduxIcon",twitter:"TwitterIcon",youtube:"YoutubeIcon",vscode:"VSCodeIcon"},TV=u(({alt:e,...t})=>v.createElement("svg",{width:"200px",height:"40px",viewBox:"0 0 200 40",...t,role:"img"},e?v.createElement("title",null,e):null,v.createElement("defs",null,v.createElement("path",{d:"M1.2 36.9L0 3.9c0-1.1.8-2 1.9-2.1l28-1.8a2 2 0 0 1 2.2 1.9 2 2 0 0 1 0 .1v36a2 2 0 0 1-2 2 2 2 0 0 1-.1 0L3.2 38.8a2 2 0 0 1-2-2z",id:"a"})),v.createElement("g",{fill:"none",fillRule:"evenodd"},v.createElement("path",{d:"M53.3 31.7c-1.7 0-3.4-.3-5-.7-1.5-.5-2.8-1.1-3.9-2l1.6-3.5c2.2 1.5 4.6 2.3 7.3 2.3 1.5 0 2.5-.2 3.3-.7.7-.5 1.1-1 1.1-1.9 0-.7-.3-1.3-1-1.7s-2-.8-3.7-1.2c-2-.4-3.6-.9-4.8-1.5-1.1-.5-2-1.2-2.6-2-.5-1-.8-2-.8-3.2 0-1.4.4-2.6 1.2-3.6.7-1.1 1.8-2 3.2-2.6 1.3-.6 2.9-.9 4.7-.9 1.6 0 3.1.3 4.6.7 1.5.5 2.7 1.1 3.5 2l-1.6 3.5c-2-1.5-4.2-2.3-6.5-2.3-1.3 0-2.3.2-3 .8-.8.5-1.2 1.1-1.2 2 0 .5.2 1 .5 1.3.2.3.7.6 1.4.9l2.9.8c2.9.6 5 1.4 6.2 2.4a5 5 0 0 1 2 4.2 6 6 0 0 1-2.5 5c-1.7 1.2-4 1.9-7 1.9zm21-3.6l1.4-.1-.2 3.5-1.9.1c-2.4 0-4.1-.5-5.2-1.5-1.1-1-1.6-2.7-1.6-4.8v-6h-3v-3.6h3V11h4.8v4.6h4v3.6h-4v6c0 1.8.9 2.8 2.6 2.8zm11.1 3.5c-1.6 0-3-.3-4.3-1a7 7 0 0 1-3-2.8c-.6-1.3-1-2.7-1-4.4 0-1.6.4-3 1-4.3a7 7 0 0 1 3-2.8c1.2-.7 2.7-1 4.3-1 1.7 0 3.2.3 4.4 1a7 7 0 0 1 3 2.8c.6 1.2 1 2.7 1 4.3 0 1.7-.4 3.1-1 4.4a7 7 0 0 1-3 2.8c-1.2.7-2.7 1-4.4 1zm0-3.6c2.4 0 3.6-1.6 3.6-4.6 0-1.5-.3-2.6-1-3.4a3.2 3.2 0 0 0-2.6-1c-2.3 0-3.5 1.4-3.5 4.4 0 3 1.2 4.6 3.5 4.6zm21.7-8.8l-2.7.3c-1.3.2-2.3.5-2.8 1.2-.6.6-.9 1.4-.9 2.5v8.2H96V15.7h4.6v2.6c.8-1.8 2.5-2.8 5-3h1.3l.3 4zm14-3.5h4.8L116.4 37h-4.9l3-6.6-6.4-14.8h5l4 10 4-10zm16-.4c1.4 0 2.6.3 3.6 1 1 .6 1.9 1.6 2.5 2.8.6 1.2.9 2.7.9 4.3 0 1.6-.3 3-1 4.3a6.9 6.9 0 0 1-2.4 2.9c-1 .7-2.2 1-3.6 1-1 0-2-.2-3-.7-.8-.4-1.5-1-2-1.9v2.4h-4.7V8.8h4.8v9c.5-.8 1.2-1.4 2-1.9.9-.4 1.8-.6 3-.6zM135.7 28c1.1 0 2-.4 2.6-1.2.6-.8 1-2 1-3.4 0-1.5-.4-2.5-1-3.3s-1.5-1.1-2.6-1.1-2 .3-2.6 1.1c-.6.8-1 2-1 3.3 0 1.5.4 2.6 1 3.4.6.8 1.5 1.2 2.6 1.2zm18.9 3.6c-1.7 0-3.2-.3-4.4-1a7 7 0 0 1-3-2.8c-.6-1.3-1-2.7-1-4.4 0-1.6.4-3 1-4.3a7 7 0 0 1 3-2.8c1.2-.7 2.7-1 4.4-1 1.6 0 3 .3 4.3 1a7 7 0 0 1 3 2.8c.6 1.2 1 2.7 1 4.3 0 1.7-.4 3.1-1 4.4a7 7 0 0 1-3 2.8c-1.2.7-2.7 1-4.3 1zm0-3.6c2.3 0 3.5-1.6 3.5-4.6 0-1.5-.3-2.6-1-3.4a3.2 3.2 0 0 0-2.5-1c-2.4 0-3.6 1.4-3.6 4.4 0 3 1.2 4.6 3.6 4.6zm18 3.6c-1.7 0-3.2-.3-4.4-1a7 7 0 0 1-3-2.8c-.6-1.3-1-2.7-1-4.4 0-1.6.4-3 1-4.3a7 7 0 0 1 3-2.8c1.2-.7 2.7-1 4.4-1 1.6 0 3 .3 4.4 1a7 7 0 0 1 2.9 2.8c.6 1.2 1 2.7 1 4.3 0 1.7-.4 3.1-1 4.4a7 7 0 0 1-3 2.8c-1.2.7-2.7 1-4.3 1zm0-3.6c2.3 0 3.5-1.6 3.5-4.6 0-1.5-.3-2.6-1-3.4a3.2 3.2 0 0 0-2.5-1c-2.4 0-3.6 1.4-3.6 4.4 0 3 1.2 4.6 3.6 4.6zm27.4 3.4h-6l-6-7v7h-4.8V8.8h4.9v13.6l5.8-6.7h5.7l-6.6 7.5 7 8.2z",fill:"currentColor"}),v.createElement("mask",{id:"b",fill:"#fff"},v.createElement("use",{xlinkHref:"#a"})),v.createElement("use",{fill:"#FF4785",fillRule:"nonzero",xlinkHref:"#a"}),v.createElement("path",{d:"M23.7 5L24 .2l3.9-.3.1 4.8a.3.3 0 0 1-.5.2L26 3.8l-1.7 1.4a.3.3 0 0 1-.5-.3zm-5 10c0 .9 5.3.5 6 0 0-5.4-2.8-8.2-8-8.2-5.3 0-8.2 2.8-8.2 7.1 0 7.4 10 7.6 10 11.6 0 1.2-.5 1.9-1.8 1.9-1.6 0-2.2-.9-2.1-3.6 0-.6-6.1-.8-6.3 0-.5 6.7 3.7 8.6 8.5 8.6 4.6 0 8.3-2.5 8.3-7 0-7.9-10.2-7.7-10.2-11.6 0-1.6 1.2-1.8 2-1.8.6 0 2 0 1.9 3z",fill:"#FFF",fillRule:"nonzero",mask:"url(#b)"}))),"StorybookLogo"),LV=u(e=>v.createElement("svg",{viewBox:"0 0 64 64",...e},v.createElement("title",null,"Storybook icon"),v.createElement("g",{id:"Artboard",stroke:"none",strokeWidth:"1",fill:"none",fillRule:"evenodd"},v.createElement("path",{d:"M8.04798541,58.7875918 L6.07908839,6.32540407 C6.01406344,4.5927838 7.34257463,3.12440831 9.07303814,3.01625434 L53.6958037,0.227331489 C55.457209,0.117243658 56.974354,1.45590096 57.0844418,3.21730626 C57.0885895,3.28366922 57.0906648,3.35014546 57.0906648,3.41663791 L57.0906648,60.5834697 C57.0906648,62.3483119 55.6599776,63.7789992 53.8951354,63.7789992 C53.847325,63.7789992 53.7995207,63.7779262 53.7517585,63.775781 L11.0978899,61.8600599 C9.43669044,61.7854501 8.11034889,60.4492961 8.04798541,58.7875918 Z",id:"path-1",fill:"#FF4785",fillRule:"nonzero"}),v.createElement("path",{d:"M35.9095005,24.1768792 C35.9095005,25.420127 44.2838488,24.8242707 45.4080313,23.9509748 C45.4080313,15.4847538 40.8652557,11.0358878 32.5466666,11.0358878 C24.2280775,11.0358878 19.5673077,15.553972 19.5673077,22.3311017 C19.5673077,34.1346028 35.4965208,34.3605071 35.4965208,40.7987804 C35.4965208,42.606015 34.6115646,43.6790606 32.6646607,43.6790606 C30.127786,43.6790606 29.1248356,42.3834613 29.2428298,37.9783269 C29.2428298,37.0226907 19.5673077,36.7247626 19.2723223,37.9783269 C18.5211693,48.6535354 25.1720308,51.7326752 32.7826549,51.7326752 C40.1572906,51.7326752 45.939005,47.8018145 45.939005,40.6858282 C45.939005,28.035186 29.7738035,28.3740425 29.7738035,22.1051974 C29.7738035,19.5637737 31.6617103,19.2249173 32.7826549,19.2249173 C33.9625966,19.2249173 36.0864917,19.4328883 35.9095005,24.1768792 Z",id:"path9_fill-path",fill:"#FFFFFF",fillRule:"nonzero"}),v.createElement("path",{d:"M44.0461638,0.830433986 L50.1874092,0.446606143 L50.443532,7.7810017 C50.4527198,8.04410717 50.2468789,8.26484453 49.9837734,8.27403237 C49.871115,8.27796649 49.7607078,8.24184808 49.6721567,8.17209069 L47.3089847,6.3104681 L44.5110468,8.43287463 C44.3012992,8.591981 44.0022839,8.55092814 43.8431776,8.34118051 C43.7762017,8.25288717 43.742082,8.14401677 43.7466857,8.03329059 L44.0461638,0.830433986 Z",id:"Path",fill:"#FFFFFF"}))),"StorybookIcon"),sL=xt` - from { - transform: rotate(0deg); - } - to { - transform: rotate(360deg); - } -`,uL=k.div(({size:e=32})=>({borderRadius:"50%",cursor:"progress",display:"inline-block",overflow:"hidden",position:"absolute",transition:"all 200ms ease-out",verticalAlign:"top",top:"50%",left:"50%",marginTop:-(e/2),marginLeft:-(e/2),height:e,width:e,zIndex:4,borderWidth:2,borderStyle:"solid",borderColor:"rgba(97, 97, 97, 0.29)",borderTopColor:"rgb(100,100,100)",animation:`${sL} 0.7s linear infinite`,mixBlendMode:"difference"})),v4=k.div({position:"absolute",display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"center",width:"100%",height:"100%"}),cL=k.div(({theme:e})=>({position:"relative",width:"80%",marginBottom:"0.75rem",maxWidth:300,height:5,borderRadius:5,background:gt(.8,e.color.secondary),overflow:"hidden",cursor:"progress"})),dL=k.div(({theme:e})=>({position:"absolute",top:0,left:0,height:"100%",background:e.color.secondary})),y4=k.div(({theme:e})=>({minHeight:"2em",fontSize:`${e.typography.size.s1}px`,color:e.textMutedColor})),pL=k(UD)(({theme:e})=>({width:20,height:20,marginBottom:"0.5rem",color:e.textMutedColor})),fL=xt` - from { content: "..." } - 33% { content: "." } - 66% { content: ".." } - to { content: "..." } -`,hL=k.span({"&::after":{content:"'...'",animation:`${fL} 1s linear infinite`,animationDelay:"1s",display:"inline-block",width:"1em",height:"auto"}}),mL=u(({progress:e,error:t,size:r,...n})=>{if(t)return v.createElement(v4,{"aria-label":t.toString(),"aria-live":"polite",role:"status",...n},v.createElement(pL,null),v.createElement(y4,null,t.message));if(e){let{value:a,modules:o}=e,{message:i}=e;return o&&(i+=` ${o.complete} / ${o.total} modules`),v.createElement(v4,{"aria-label":"Content is loading...","aria-live":"polite","aria-valuemin":0,"aria-valuemax":100,"aria-valuenow":a*100,"aria-valuetext":i,role:"progressbar",...n},v.createElement(cL,null,v.createElement(dL,{style:{width:`${a*100}%`}})),v.createElement(y4,null,i,a<1&&v.createElement(hL,{key:i})))}return v.createElement(uL,{"aria-label":"Content is loading...","aria-live":"polite",role:"status",size:r,...n})},"Loader"),B0="http://www.w3.org/2000/svg",gL=xt({"0%":{transform:"rotate(0deg)"},"100%":{transform:"rotate(360deg)"}}),b4=k.div(({size:e})=>({display:"inline-flex",alignItems:"center",justifyContent:"center",position:"relative",minWidth:e,minHeight:e})),R0=k.svg(({size:e,width:t})=>({position:"absolute",width:`${e}px!important`,height:`${e}px!important`,transform:"rotate(-90deg)",circle:{r:(e-Math.ceil(t))/2,cx:e/2,cy:e/2,opacity:.15,fill:"transparent",stroke:"currentColor",strokeWidth:t,strokeLinecap:"round",strokeDasharray:Math.PI*(e-Math.ceil(t))}}),({progress:e})=>e&&{circle:{opacity:.75}},({spinner:e})=>e&&{animation:`${gL} 1s linear infinite`,circle:{opacity:.25}}),MV=u(({percentage:e=void 0,running:t=!0,size:r=24,width:n=1.5,children:a=null,...o})=>typeof e=="number"?v.createElement(b4,{size:r,...o},a,v.createElement(R0,{size:r,width:n,xmlns:B0},v.createElement("circle",null)),t&&v.createElement(R0,{size:r,width:n,xmlns:B0,spinner:!0},v.createElement("circle",{strokeDashoffset:Math.PI*(r-Math.ceil(n))*(1-e/100)})),v.createElement(R0,{size:r,width:n,xmlns:B0,progress:!0},v.createElement("circle",{strokeDashoffset:Math.PI*(r-Math.ceil(n))*(1-e/100)}))):v.createElement(b4,{size:r,...o},a),"ProgressSpinner");function _E(e){let t={},r=e.split("&");for(let n=0;n{let[n,a]=e.split("?"),o=a?{..._E(a),...r,id:t}:{...r,id:t};return`${n}?${Object.entries(o).map(i=>`${i[0]}=${i[1]}`).join("&")}`},"getStoryHref"),yL=k.pre` - line-height: 18px; - padding: 11px 1rem; - white-space: pre-wrap; - background: rgba(0, 0, 0, 0.05); - color: ${V.darkest}; - border-radius: 3px; - margin: 1rem 0; - width: 100%; - display: block; - overflow: hidden; - font-family: ${Ht.fonts.mono}; - font-size: ${Ht.size.s2-1}px; -`,OV=u(({code:e,...t})=>v.createElement(yL,{id:"clipboard-code",...t},e),"ClipboardCode"),bL=jD,wL={};Object.keys(jD).forEach(e=>{wL[e]=l.forwardRef((t,r)=>l.createElement(e,{...t,ref:r}))});var DL=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M6 3.5a.5.5 0 01.5.5v1.5H8a.5.5 0 010 1H6.5V8a.5.5 0 01-1 0V6.5H4a.5.5 0 010-1h1.5V4a.5.5 0 01.5-.5z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.544 10.206a5.5 5.5 0 11.662-.662.5.5 0 01.148.102l3 3a.5.5 0 01-.708.708l-3-3a.5.5 0 01-.102-.148zM10.5 6a4.5 4.5 0 11-9 0 4.5 4.5 0 019 0z",fill:e}))),EL=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M4 5.5a.5.5 0 000 1h4a.5.5 0 000-1H4z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6 11.5c1.35 0 2.587-.487 3.544-1.294a.5.5 0 00.102.148l3 3a.5.5 0 00.708-.708l-3-3a.5.5 0 00-.148-.102A5.5 5.5 0 106 11.5zm0-1a4.5 4.5 0 100-9 4.5 4.5 0 000 9z",fill:e}))),CL=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M1.5 2.837V1.5a.5.5 0 00-1 0V4a.5.5 0 00.5.5h2.5a.5.5 0 000-1H2.258a4.5 4.5 0 11-.496 4.016.5.5 0 10-.942.337 5.502 5.502 0 008.724 2.353.5.5 0 00.102.148l3 3a.5.5 0 00.708-.708l-3-3a.5.5 0 00-.148-.102A5.5 5.5 0 101.5 2.837z",fill:e}))),xL=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M7 9.5a2.5 2.5 0 100-5 2.5 2.5 0 000 5z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14 7l-.21.293C13.669 7.465 10.739 11.5 7 11.5S.332 7.465.21 7.293L0 7l.21-.293C.331 6.536 3.261 2.5 7 2.5s6.668 4.036 6.79 4.207L14 7zM2.896 5.302A12.725 12.725 0 001.245 7c.296.37.874 1.04 1.65 1.698C4.043 9.67 5.482 10.5 7 10.5c1.518 0 2.958-.83 4.104-1.802A12.72 12.72 0 0012.755 7c-.297-.37-.875-1.04-1.65-1.698C9.957 4.33 8.517 3.5 7 3.5c-1.519 0-2.958.83-4.104 1.802z",fill:e}))),SL=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M1.854 1.146a.5.5 0 10-.708.708l11 11a.5.5 0 00.708-.708l-11-11zM11.104 8.698c-.177.15-.362.298-.553.439l.714.714a13.25 13.25 0 002.526-2.558L14 7l-.21-.293C13.669 6.536 10.739 2.5 7 2.5c-.89 0-1.735.229-2.506.58l.764.763A4.859 4.859 0 017 3.5c1.518 0 2.958.83 4.104 1.802A12.724 12.724 0 0112.755 7a12.72 12.72 0 01-1.65 1.698zM.21 6.707c.069-.096 1.03-1.42 2.525-2.558l.714.714c-.191.141-.376.288-.553.439A12.725 12.725 0 001.245 7c.296.37.874 1.04 1.65 1.698C4.043 9.67 5.482 10.5 7 10.5a4.86 4.86 0 001.742-.344l.764.764c-.772.351-1.616.58-2.506.58C3.262 11.5.332 7.465.21 7.293L0 7l.21-.293z",fill:e}),l.createElement("path",{d:"M4.5 7c0-.322.061-.63.172-.914l3.242 3.242A2.5 2.5 0 014.5 7zM9.328 7.914L6.086 4.672a2.5 2.5 0 013.241 3.241z",fill:e}))),FL=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M2.5 10a.5.5 0 100-1 .5.5 0 000 1z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0 4a2 2 0 012-2h6a2 2 0 012 2v.5l3.189-2.391A.5.5 0 0114 2.5v9a.5.5 0 01-.804.397L10 9.5v.5a2 2 0 01-2 2H2a2 2 0 01-2-2V4zm9 0v1.5a.5.5 0 00.8.4L13 3.5v7L9.8 8.1a.5.5 0 00-.8.4V10a1 1 0 01-1 1H2a1 1 0 01-1-1V4a1 1 0 011-1h6a1 1 0 011 1z",fill:e}))),L1=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M4 5.5a.5.5 0 01.5-.5h5a.5.5 0 010 1h-5a.5.5 0 01-.5-.5zM4.5 7.5a.5.5 0 000 1h5a.5.5 0 000-1h-5zM4 10.5a.5.5 0 01.5-.5h5a.5.5 0 010 1h-5a.5.5 0 01-.5-.5z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1.5 0a.5.5 0 00-.5.5v13a.5.5 0 00.5.5h11a.5.5 0 00.5-.5V3.207a.5.5 0 00-.146-.353L10.146.146A.5.5 0 009.793 0H1.5zM2 1h7.5v2a.5.5 0 00.5.5h2V13H2V1z",fill:e}))),PV=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M8.982 1.632a.5.5 0 00-.964-.263l-3 11a.5.5 0 10.964.263l3-11zM3.32 3.616a.5.5 0 01.064.704L1.151 7l2.233 2.68a.5.5 0 11-.768.64l-2.5-3a.5.5 0 010-.64l2.5-3a.5.5 0 01.704-.064zM10.68 3.616a.5.5 0 00-.064.704L12.849 7l-2.233 2.68a.5.5 0 00.768.64l2.5-3a.5.5 0 000-.64l-2.5-3a.5.5 0 00-.704-.064z",fill:e}))),AL=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M7 3a.5.5 0 01.5.5v3h3a.5.5 0 010 1h-3v3a.5.5 0 01-1 0v-3h-3a.5.5 0 010-1h3v-3A.5.5 0 017 3z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 14A7 7 0 107 0a7 7 0 000 14zm0-1A6 6 0 107 1a6 6 0 000 12z",fill:e}))),kL=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M3.5 6.5a.5.5 0 000 1h7a.5.5 0 000-1h-7z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14 7A7 7 0 110 7a7 7 0 0114 0zm-1 0A6 6 0 111 7a6 6 0 0112 0z",fill:e}))),_L=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M11.841 2.159a2.25 2.25 0 00-3.182 0l-2.5 2.5a2.25 2.25 0 000 3.182.5.5 0 01-.707.707 3.25 3.25 0 010-4.596l2.5-2.5a3.25 3.25 0 014.596 4.596l-2.063 2.063a4.27 4.27 0 00-.094-1.32l1.45-1.45a2.25 2.25 0 000-3.182z",fill:e}),l.createElement("path",{d:"M3.61 7.21c-.1-.434-.132-.88-.095-1.321L1.452 7.952a3.25 3.25 0 104.596 4.596l2.5-2.5a3.25 3.25 0 000-4.596.5.5 0 00-.707.707 2.25 2.25 0 010 3.182l-2.5 2.5A2.25 2.25 0 112.159 8.66l1.45-1.45z",fill:e}))),BL=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M1.146 4.604l5.5 5.5a.5.5 0 00.708 0l5.5-5.5a.5.5 0 00-.708-.708L7 9.043 1.854 3.896a.5.5 0 10-.708.708z",fill:e}))),RL=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M11.104 7.354l-5.5 5.5a.5.5 0 01-.708-.708L10.043 7 4.896 1.854a.5.5 0 11.708-.708l5.5 5.5a.5.5 0 010 .708z",fill:e}))),IL=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M3.854 9.104a.5.5 0 11-.708-.708l3.5-3.5a.5.5 0 01.708 0l3.5 3.5a.5.5 0 01-.708.708L7 5.957 3.854 9.104z",fill:e}))),BE=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M3.854 4.896a.5.5 0 10-.708.708l3.5 3.5a.5.5 0 00.708 0l3.5-3.5a.5.5 0 00-.708-.708L7 8.043 3.854 4.896z",fill:e}))),zL=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M1.146 3.854a.5.5 0 010-.708l2-2a.5.5 0 11.708.708L2.707 3h6.295A4 4 0 019 11H3a.5.5 0 010-1h6a3 3 0 100-6H2.707l1.147 1.146a.5.5 0 11-.708.708l-2-2z",fill:e})));const{deprecate:TL,once:LL,logger:dh}=__STORYBOOK_MODULE_CLIENT_LOGGER__,{filterArgTypes:w4,composeConfigs:NV,Preview:HV,DocsContext:$V}=__STORYBOOK_MODULE_PREVIEW_API__,{STORY_ARGS_UPDATED:D4,UPDATE_STORY_ARGS:ML,RESET_STORY_ARGS:OL,GLOBALS_UPDATED:E4,NAVIGATE_URL:RE}=__STORYBOOK_MODULE_CORE_EVENTS__;__STORYBOOK_MODULE_CHANNELS__;var IE=vn({"../../node_modules/memoizerific/memoizerific.js"(e,t){(function(r){if(typeof e=="object"&&typeof t<"u")t.exports=r();else if(typeof define=="function"&&define.amd)define([],r);else{var n;typeof window<"u"?n=window:typeof global<"u"?n=global:typeof self<"u"?n=self:n=this,n.memoizerific=r()}})(function(){return function r(n,a,o){function i(d,f){if(!a[d]){if(!n[d]){var m=typeof wi=="function"&&wi;if(!f&&m)return m(d,!0);if(s)return s(d,!0);var p=new Error("Cannot find module '"+d+"'");throw p.code="MODULE_NOT_FOUND",p}var h=a[d]={exports:{}};n[d][0].call(h.exports,function(g){var y=n[d][1][g];return i(y||g)},h,h.exports,r,n,a,o)}return a[d].exports}for(var s=typeof wi=="function"&&wi,c=0;c=0)return this.lastItem=this.list[s],this.list[s].val},o.prototype.set=function(i,s){var c;return this.lastItem&&this.isEqual(this.lastItem.key,i)?(this.lastItem.val=s,this):(c=this.indexOf(i),c>=0?(this.lastItem=this.list[c],this.list[c].val=s,this):(this.lastItem={key:i,val:s},this.list.push(this.lastItem),this.size++,this))},o.prototype.delete=function(i){var s;if(this.lastItem&&this.isEqual(this.lastItem.key,i)&&(this.lastItem=void 0),s=this.indexOf(i),s>=0)return this.size--,this.list.splice(s,1)[0]},o.prototype.has=function(i){var s;return this.lastItem&&this.isEqual(this.lastItem.key,i)?!0:(s=this.indexOf(i),s>=0?(this.lastItem=this.list[s],!0):!1)},o.prototype.forEach=function(i,s){var c;for(c=0;c0&&(E[C]={cacheItem:g,arg:arguments[C]},D?i(m,E):m.push(E),m.length>d&&s(m.shift())),h.wasMemoized=D,h.numArgs=C+1,b};return h.limit=d,h.wasMemoized=!1,h.cache=f,h.lru=m,h}};function i(d,f){var m=d.length,p=f.length,h,g,y;for(g=0;g=0&&(m=d[h],p=m.cacheItem.get(m.arg),!p||!p.size);h--)m.cacheItem.delete(m.arg)}function c(d,f){return d===f||d!==d&&f!==f}},{"map-or-similar":1}]},{},[3])(3)})}}),PL=vn({"../../node_modules/tocbot/src/js/default-options.js"(e,t){t.exports={tocSelector:".js-toc",contentSelector:".js-toc-content",headingSelector:"h1, h2, h3",ignoreSelector:".js-toc-ignore",hasInnerContainers:!1,linkClass:"toc-link",extraLinkClasses:"",activeLinkClass:"is-active-link",listClass:"toc-list",extraListClasses:"",isCollapsedClass:"is-collapsed",collapsibleClass:"is-collapsible",listItemClass:"toc-list-item",activeListItemClass:"is-active-li",collapseDepth:0,scrollSmooth:!0,scrollSmoothDuration:420,scrollSmoothOffset:0,scrollEndCallback:function(r){},headingsOffset:1,throttleTimeout:50,positionFixedSelector:null,positionFixedClass:"is-position-fixed",fixedSidebarOffset:"auto",includeHtml:!1,includeTitleTags:!1,onClick:function(r){},orderedList:!0,scrollContainer:null,skipRendering:!1,headingLabelCallback:!1,ignoreHiddenElements:!1,headingObjectCallback:null,basePath:"",disableTocScrollSync:!1,tocScrollOffset:0}}}),NL=vn({"../../node_modules/tocbot/src/js/build-html.js"(e,t){t.exports=function(r){var n=[].forEach,a=[].some,o=document.body,i,s=!0,c=" ";function d(w,x){var S=x.appendChild(m(w));if(w.children.length){var F=p(w.isCollapsed);w.children.forEach(function(A){d(A,F)}),S.appendChild(F)}}function f(w,x){var S=!1,F=p(S);if(x.forEach(function(A){d(A,F)}),i=w||i,i!==null)return i.firstChild&&i.removeChild(i.firstChild),x.length===0?i:i.appendChild(F)}function m(w){var x=document.createElement("li"),S=document.createElement("a");return r.listItemClass&&x.setAttribute("class",r.listItemClass),r.onClick&&(S.onclick=r.onClick),r.includeTitleTags&&S.setAttribute("title",w.textContent),r.includeHtml&&w.childNodes.length?n.call(w.childNodes,function(F){S.appendChild(F.cloneNode(!0))}):S.textContent=w.textContent,S.setAttribute("href",r.basePath+"#"+w.id),S.setAttribute("class",r.linkClass+c+"node-name--"+w.nodeName+c+r.extraLinkClasses),x.appendChild(S),x}function p(w){var x=r.orderedList?"ol":"ul",S=document.createElement(x),F=r.listClass+c+r.extraListClasses;return w&&(F=F+c+r.collapsibleClass,F=F+c+r.isCollapsedClass),S.setAttribute("class",F),S}function h(){if(r.scrollContainer&&document.querySelector(r.scrollContainer)){var w;w=document.querySelector(r.scrollContainer).scrollTop}else w=document.documentElement.scrollTop||o.scrollTop;var x=document.querySelector(r.positionFixedSelector);r.fixedSidebarOffset==="auto"&&(r.fixedSidebarOffset=i.offsetTop),w>r.fixedSidebarOffset?x.className.indexOf(r.positionFixedClass)===-1&&(x.className+=c+r.positionFixedClass):x.className=x.className.replace(c+r.positionFixedClass,"")}function g(w){var x=0;return w!==null&&(x=w.offsetTop,r.hasInnerContainers&&(x+=g(w.offsetParent))),x}function y(w,x){return w&&w.className!==x&&(w.className=x),w}function b(w){if(r.scrollContainer&&document.querySelector(r.scrollContainer)){var x;x=document.querySelector(r.scrollContainer).scrollTop}else x=document.documentElement.scrollTop||o.scrollTop;r.positionFixedSelector&&h();var S=w,F;if(s&&i!==null&&S.length>0){a.call(S,function(P,M){if(g(P)>x+r.headingsOffset+10){var N=M===0?M:M-1;return F=S[N],!0}else if(M===S.length-1)return F=S[S.length-1],!0});var A=i.querySelector("."+r.activeLinkClass),_=i.querySelector("."+r.linkClass+".node-name--"+F.nodeName+'[href="'+r.basePath+"#"+F.id.replace(/([ #;&,.+*~':"!^$[\]()=>|/\\@])/g,"\\$1")+'"]');if(A===_)return;var R=i.querySelectorAll("."+r.linkClass);n.call(R,function(P){y(P,P.className.replace(c+r.activeLinkClass,""))});var I=i.querySelectorAll("."+r.listItemClass);n.call(I,function(P){y(P,P.className.replace(c+r.activeListItemClass,""))}),_&&_.className.indexOf(r.activeLinkClass)===-1&&(_.className+=c+r.activeLinkClass);var T=_&&_.parentNode;T&&T.className.indexOf(r.activeListItemClass)===-1&&(T.className+=c+r.activeListItemClass);var L=i.querySelectorAll("."+r.listClass+"."+r.collapsibleClass);n.call(L,function(P){P.className.indexOf(r.isCollapsedClass)===-1&&(P.className+=c+r.isCollapsedClass)}),_&&_.nextSibling&&_.nextSibling.className.indexOf(r.isCollapsedClass)!==-1&&y(_.nextSibling,_.nextSibling.className.replace(c+r.isCollapsedClass,"")),C(_&&_.parentNode.parentNode)}}function C(w){return w&&w.className.indexOf(r.collapsibleClass)!==-1&&w.className.indexOf(r.isCollapsedClass)!==-1?(y(w,w.className.replace(c+r.isCollapsedClass,"")),C(w.parentNode.parentNode)):w}function E(w){var x=w.target||w.srcElement;typeof x.className!="string"||x.className.indexOf(r.linkClass)===-1||(s=!1)}function D(){s=!0}return{enableTocAnimation:D,disableTocAnimation:E,render:f,updateToc:b}}}}),HL=vn({"../../node_modules/tocbot/src/js/parse-content.js"(e,t){t.exports=function(r){var n=[].reduce;function a(m){return m[m.length-1]}function o(m){return+m.nodeName.toUpperCase().replace("H","")}function i(m){try{return m instanceof window.HTMLElement||m instanceof window.parent.HTMLElement}catch{return m instanceof window.HTMLElement}}function s(m){if(!i(m))return m;if(r.ignoreHiddenElements&&(!m.offsetHeight||!m.offsetParent))return null;let p=m.getAttribute("data-heading-label")||(r.headingLabelCallback?String(r.headingLabelCallback(m.innerText)):(m.innerText||m.textContent).trim());var h={id:m.id,children:[],nodeName:m.nodeName,headingLevel:o(m),textContent:p};return r.includeHtml&&(h.childNodes=m.childNodes),r.headingObjectCallback?r.headingObjectCallback(h,m):h}function c(m,p){for(var h=s(m),g=h.headingLevel,y=p,b=a(y),C=b?b.headingLevel:0,E=g-C;E>0&&(b=a(y),!(b&&g===b.headingLevel));)b&&b.children!==void 0&&(y=b.children),E--;return g>=r.collapseDepth&&(h.isCollapsed=!0),y.push(h),y}function d(m,p){var h=p;r.ignoreSelector&&(h=p.split(",").map(function(g){return g.trim()+":not("+r.ignoreSelector+")"}));try{return m.querySelectorAll(h)}catch{return console.warn("Headers not found with selector: "+h),null}}function f(m){return n.call(m,function(p,h){var g=s(h);return g&&c(g,p.nest),p},{nest:[]})}return{nestHeadingsArray:f,selectHeadings:d}}}}),$L=vn({"../../node_modules/tocbot/src/js/update-toc-scroll.js"(e,t){t.exports=function(r){var n=r.tocElement||document.querySelector(r.tocSelector);if(n&&n.scrollHeight>n.clientHeight){var a=n.querySelector("."+r.activeListItemClass);a&&(n.scrollTop=a.offsetTop-r.tocScrollOffset)}}}}),jL=vn({"../../node_modules/tocbot/src/js/scroll-smooth/index.js"(e){e.initSmoothScrolling=t;function t(n){var a=n.duration,o=n.offset,i=location.hash?d(location.href):location.href;s();function s(){document.body.addEventListener("click",m,!1);function m(p){!c(p.target)||p.target.className.indexOf("no-smooth-scroll")>-1||p.target.href.charAt(p.target.href.length-2)==="#"&&p.target.href.charAt(p.target.href.length-1)==="!"||p.target.className.indexOf(n.linkClass)===-1||r(p.target.hash,{duration:a,offset:o,callback:function(){f(p.target.hash)}})}}function c(m){return m.tagName.toLowerCase()==="a"&&(m.hash.length>0||m.href.charAt(m.href.length-1)==="#")&&(d(m.href)===i||d(m.href)+"#"===i)}function d(m){return m.slice(0,m.lastIndexOf("#"))}function f(m){var p=document.getElementById(m.substring(1));p&&(/^(?:a|select|input|button|textarea)$/i.test(p.tagName)||(p.tabIndex=-1),p.focus())}}function r(n,a){var o=window.pageYOffset,i={duration:a.duration,offset:a.offset||0,callback:a.callback,easing:a.easing||g},s=document.querySelector('[id="'+decodeURI(n).split("#").join("")+'"]')||document.querySelector('[id="'+n.split("#").join("")+'"]'),c=typeof n=="string"?i.offset+(n?s&&s.getBoundingClientRect().top||0:-(document.documentElement.scrollTop||document.body.scrollTop)):n,d=typeof i.duration=="function"?i.duration(c):i.duration,f,m;requestAnimationFrame(function(y){f=y,p(y)});function p(y){m=y-f,window.scrollTo(0,i.easing(m,o,c,d)),m"u"&&!m)return;var p,h=Object.prototype.hasOwnProperty;function g(){for(var E={},D=0;D=0&&a<1?(s=o,c=i):a>=1&&a<2?(s=i,c=o):a>=2&&a<3?(c=o,d=i):a>=3&&a<4?(c=i,d=o):a>=4&&a<5?(s=i,d=o):a>=5&&a<6&&(s=o,d=i);var f=r-o/2,m=s+f,p=c+f,h=d+f;return n(m,p,h)}var C4={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"00ffff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"0000ff",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"00ffff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"ff00ff",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"639",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"};function YL(e){if(typeof e!="string")return e;var t=e.toLowerCase();return C4[t]?"#"+C4[t]:e}var JL=/^#[a-fA-F0-9]{6}$/,ZL=/^#[a-fA-F0-9]{8}$/,XL=/^#[a-fA-F0-9]{3}$/,QL=/^#[a-fA-F0-9]{4}$/,z0=/^rgb\(\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*\)$/i,eM=/^rgb(?:a)?\(\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,|\/)\s*([-+]?\d*[.]?\d+[%]?)\s*\)$/i,tM=/^hsl\(\s*(\d{0,3}[.]?[0-9]+(?:deg)?)\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*\)$/i,rM=/^hsl(?:a)?\(\s*(\d{0,3}[.]?[0-9]+(?:deg)?)\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,|\/)\s*([-+]?\d*[.]?\d+[%]?)\s*\)$/i;function lu(e){if(typeof e!="string")throw new jt(3);var t=YL(e);if(t.match(JL))return{red:parseInt(""+t[1]+t[2],16),green:parseInt(""+t[3]+t[4],16),blue:parseInt(""+t[5]+t[6],16)};if(t.match(ZL)){var r=parseFloat((parseInt(""+t[7]+t[8],16)/255).toFixed(2));return{red:parseInt(""+t[1]+t[2],16),green:parseInt(""+t[3]+t[4],16),blue:parseInt(""+t[5]+t[6],16),alpha:r}}if(t.match(XL))return{red:parseInt(""+t[1]+t[1],16),green:parseInt(""+t[2]+t[2],16),blue:parseInt(""+t[3]+t[3],16)};if(t.match(QL)){var n=parseFloat((parseInt(""+t[4]+t[4],16)/255).toFixed(2));return{red:parseInt(""+t[1]+t[1],16),green:parseInt(""+t[2]+t[2],16),blue:parseInt(""+t[3]+t[3],16),alpha:n}}var a=z0.exec(t);if(a)return{red:parseInt(""+a[1],10),green:parseInt(""+a[2],10),blue:parseInt(""+a[3],10)};var o=eM.exec(t.substring(0,50));if(o)return{red:parseInt(""+o[1],10),green:parseInt(""+o[2],10),blue:parseInt(""+o[3],10),alpha:parseFloat(""+o[4])>1?parseFloat(""+o[4])/100:parseFloat(""+o[4])};var i=tM.exec(t);if(i){var s=parseInt(""+i[1],10),c=parseInt(""+i[2],10)/100,d=parseInt(""+i[3],10)/100,f="rgb("+Uo(s,c,d)+")",m=z0.exec(f);if(!m)throw new jt(4,t,f);return{red:parseInt(""+m[1],10),green:parseInt(""+m[2],10),blue:parseInt(""+m[3],10)}}var p=rM.exec(t.substring(0,50));if(p){var h=parseInt(""+p[1],10),g=parseInt(""+p[2],10)/100,y=parseInt(""+p[3],10)/100,b="rgb("+Uo(h,g,y)+")",C=z0.exec(b);if(!C)throw new jt(4,t,b);return{red:parseInt(""+C[1],10),green:parseInt(""+C[2],10),blue:parseInt(""+C[3],10),alpha:parseFloat(""+p[4])>1?parseFloat(""+p[4])/100:parseFloat(""+p[4])}}throw new jt(5)}function nM(e){var t=e.red/255,r=e.green/255,n=e.blue/255,a=Math.max(t,r,n),o=Math.min(t,r,n),i=(a+o)/2;if(a===o)return e.alpha!==void 0?{hue:0,saturation:0,lightness:i,alpha:e.alpha}:{hue:0,saturation:0,lightness:i};var s,c=a-o,d=i>.5?c/(2-a-o):c/(a+o);switch(a){case t:s=(r-n)/c+(r=1?hs(e,t,r):"rgba("+Uo(e,t,r)+","+n+")";if(typeof e=="object"&&t===void 0&&r===void 0&&n===void 0)return e.alpha>=1?hs(e.hue,e.saturation,e.lightness):"rgba("+Uo(e.hue,e.saturation,e.lightness)+","+e.alpha+")";throw new jt(2)}function N1(e,t,r){if(typeof e=="number"&&typeof t=="number"&&typeof r=="number")return P1("#"+Kr(e)+Kr(t)+Kr(r));if(typeof e=="object"&&t===void 0&&r===void 0)return P1("#"+Kr(e.red)+Kr(e.green)+Kr(e.blue));throw new jt(6)}function sr(e,t,r,n){if(typeof e=="string"&&typeof t=="number"){var a=lu(e);return"rgba("+a.red+","+a.green+","+a.blue+","+t+")"}else{if(typeof e=="number"&&typeof t=="number"&&typeof r=="number"&&typeof n=="number")return n>=1?N1(e,t,r):"rgba("+e+","+t+","+r+","+n+")";if(typeof e=="object"&&t===void 0&&r===void 0&&n===void 0)return e.alpha>=1?N1(e.red,e.green,e.blue):"rgba("+e.red+","+e.green+","+e.blue+","+e.alpha+")"}throw new jt(7)}var sM=function(e){return typeof e.red=="number"&&typeof e.green=="number"&&typeof e.blue=="number"&&(typeof e.alpha!="number"||typeof e.alpha>"u")},uM=function(e){return typeof e.red=="number"&&typeof e.green=="number"&&typeof e.blue=="number"&&typeof e.alpha=="number"},cM=function(e){return typeof e.hue=="number"&&typeof e.saturation=="number"&&typeof e.lightness=="number"&&(typeof e.alpha!="number"||typeof e.alpha>"u")},dM=function(e){return typeof e.hue=="number"&&typeof e.saturation=="number"&&typeof e.lightness=="number"&&typeof e.alpha=="number"};function LE(e){if(typeof e!="object")throw new jt(8);if(uM(e))return sr(e);if(sM(e))return N1(e);if(dM(e))return lM(e);if(cM(e))return iM(e);throw new jt(8)}function ME(e,t,r){return function(){var n=r.concat(Array.prototype.slice.call(arguments));return n.length>=t?e.apply(this,n):ME(e,t,n)}}function su(e){return ME(e,e.length,[])}function uu(e,t,r){return Math.max(e,Math.min(t,r))}function pM(e,t){if(t==="transparent")return t;var r=TE(t);return LE(Da({},r,{lightness:uu(0,1,r.lightness-parseFloat(e))}))}var fM=su(pM),Mt=fM;function hM(e,t){if(t==="transparent")return t;var r=TE(t);return LE(Da({},r,{lightness:uu(0,1,r.lightness+parseFloat(e))}))}var mM=su(hM),Yr=mM;function gM(e,t){if(t==="transparent")return t;var r=lu(t),n=typeof r.alpha=="number"?r.alpha:1,a=Da({},r,{alpha:uu(0,1,(n*100+parseFloat(e)*100)/100)});return sr(a)}var vM=su(gM),Ji=vM;function yM(e,t){if(t==="transparent")return t;var r=lu(t),n=typeof r.alpha=="number"?r.alpha:1,a=Da({},r,{alpha:uu(0,1,+(n*100-parseFloat(e)*100).toFixed(2)/100)});return sr(a)}var bM=su(yM),oe=bM,wM=k.div(se,({theme:e})=>({backgroundColor:e.base==="light"?"rgba(0,0,0,.01)":"rgba(255,255,255,.01)",borderRadius:e.appBorderRadius,border:`1px dashed ${e.appBorderColor}`,display:"flex",alignItems:"center",justifyContent:"center",padding:20,margin:"25px 0 40px",color:oe(.3,e.color.defaultText),fontSize:e.typography.size.s2})),OE=e=>v.createElement(wM,{...e,className:"docblock-emptyblock sb-unstyled"}),DM=k(Uf)(({theme:e})=>({fontSize:`${e.typography.size.s2-1}px`,lineHeight:"19px",margin:"25px 0 40px",borderRadius:e.appBorderRadius,boxShadow:e.base==="light"?"rgba(0, 0, 0, 0.10) 0 1px 3px 0":"rgba(0, 0, 0, 0.20) 0 2px 5px 0","pre.prismjs":{padding:20,background:"inherit"}})),EM=k.div(({theme:e})=>({background:e.background.content,borderRadius:e.appBorderRadius,border:`1px solid ${e.appBorderColor}`,boxShadow:e.base==="light"?"rgba(0, 0, 0, 0.10) 0 1px 3px 0":"rgba(0, 0, 0, 0.20) 0 2px 5px 0",margin:"25px 0 40px",padding:"20px 20px 20px 22px"})),Zi=k.div(({theme:e})=>({animation:`${e.animation.glow} 1.5s ease-in-out infinite`,background:e.appBorderColor,height:17,marginTop:1,width:"60%",[`&:first-child${Y0}`]:{margin:0}})),CM=()=>v.createElement(EM,null,v.createElement(Zi,null),v.createElement(Zi,{style:{width:"80%"}}),v.createElement(Zi,{style:{width:"30%"}}),v.createElement(Zi,{style:{width:"80%"}})),PE=({isLoading:e,error:t,language:r,code:n,dark:a,format:o=!1,...i})=>{let{typography:s}=F3();if(e)return v.createElement(CM,null);if(t)return v.createElement(OE,null,t);let c=v.createElement(DM,{bordered:!0,copyable:!0,format:o,language:r,className:"docblock-source sb-unstyled",...i},n);if(typeof a>"u")return c;let d=a?G0.dark:G0.light;return v.createElement(A3,{theme:K0({...d,fontCode:s.fonts.mono,fontBase:s.fonts.base})},c)},he=e=>`& :where(${e}:not(.sb-anchor, .sb-unstyled, .sb-unstyled ${e}))`,ph=600,xM=k.h1(se,({theme:e})=>({color:e.color.defaultText,fontSize:e.typography.size.m3,fontWeight:e.typography.weight.bold,lineHeight:"32px",[`@media (min-width: ${ph}px)`]:{fontSize:e.typography.size.l1,lineHeight:"36px",marginBottom:"16px"}})),SM=k.h2(se,({theme:e})=>({fontWeight:e.typography.weight.regular,fontSize:e.typography.size.s3,lineHeight:"20px",borderBottom:"none",marginBottom:15,[`@media (min-width: ${ph}px)`]:{fontSize:e.typography.size.m1,lineHeight:"28px",marginBottom:24},color:oe(.25,e.color.defaultText)})),FM=k.div(({theme:e})=>{let t={fontFamily:e.typography.fonts.base,fontSize:e.typography.size.s3,margin:0,WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",WebkitTapHighlightColor:"rgba(0, 0, 0, 0)",WebkitOverflowScrolling:"touch"},r={margin:"20px 0 8px",padding:0,cursor:"text",position:"relative",color:e.color.defaultText,"&:first-of-type":{marginTop:0,paddingTop:0},"&:hover a.anchor":{textDecoration:"none"},"& code":{fontSize:"inherit"}},n={lineHeight:1,margin:"0 2px",padding:"3px 5px",whiteSpace:"nowrap",borderRadius:3,fontSize:e.typography.size.s2-1,border:e.base==="light"?`1px solid ${e.color.mediumlight}`:`1px solid ${e.color.darker}`,color:e.base==="light"?oe(.1,e.color.defaultText):oe(.3,e.color.defaultText),backgroundColor:e.base==="light"?e.color.lighter:e.color.border};return{maxWidth:1e3,width:"100%",[he("a")]:{...t,fontSize:"inherit",lineHeight:"24px",color:e.color.secondary,textDecoration:"none","&.absent":{color:"#cc0000"},"&.anchor":{display:"block",paddingLeft:30,marginLeft:-30,cursor:"pointer",position:"absolute",top:0,left:0,bottom:0}},[he("blockquote")]:{...t,margin:"16px 0",borderLeft:`4px solid ${e.color.medium}`,padding:"0 15px",color:e.color.dark,"& > :first-of-type":{marginTop:0},"& > :last-child":{marginBottom:0}},[he("div")]:t,[he("dl")]:{...t,margin:"16px 0",padding:0,"& dt":{fontSize:"14px",fontWeight:"bold",fontStyle:"italic",padding:0,margin:"16px 0 4px"},"& dt:first-of-type":{padding:0},"& dt > :first-of-type":{marginTop:0},"& dt > :last-child":{marginBottom:0},"& dd":{margin:"0 0 16px",padding:"0 15px"},"& dd > :first-of-type":{marginTop:0},"& dd > :last-child":{marginBottom:0}},[he("h1")]:{...t,...r,fontSize:`${e.typography.size.l1}px`,fontWeight:e.typography.weight.bold},[he("h2")]:{...t,...r,fontSize:`${e.typography.size.m2}px`,paddingBottom:4,borderBottom:`1px solid ${e.appBorderColor}`},[he("h3")]:{...t,...r,fontSize:`${e.typography.size.m1}px`,fontWeight:e.typography.weight.bold},[he("h4")]:{...t,...r,fontSize:`${e.typography.size.s3}px`},[he("h5")]:{...t,...r,fontSize:`${e.typography.size.s2}px`},[he("h6")]:{...t,...r,fontSize:`${e.typography.size.s2}px`,color:e.color.dark},[he("hr")]:{border:"0 none",borderTop:`1px solid ${e.appBorderColor}`,height:4,padding:0},[he("img")]:{maxWidth:"100%"},[he("li")]:{...t,fontSize:e.typography.size.s2,color:e.color.defaultText,lineHeight:"24px","& + li":{marginTop:".25em"},"& ul, & ol":{marginTop:".25em",marginBottom:0},"& code":n},[he("ol")]:{...t,margin:"16px 0",paddingLeft:30,"& :first-of-type":{marginTop:0},"& :last-child":{marginBottom:0}},[he("p")]:{...t,margin:"16px 0",fontSize:e.typography.size.s2,lineHeight:"24px",color:e.color.defaultText,"& code":n},[he("pre")]:{...t,fontFamily:e.typography.fonts.mono,WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",lineHeight:"18px",padding:"11px 1rem",whiteSpace:"pre-wrap",color:"inherit",borderRadius:3,margin:"1rem 0","&:not(.prismjs)":{background:"transparent",border:"none",borderRadius:0,padding:0,margin:0},"& pre, &.prismjs":{padding:15,margin:0,whiteSpace:"pre-wrap",color:"inherit",fontSize:"13px",lineHeight:"19px",code:{color:"inherit",fontSize:"inherit"}},"& code":{whiteSpace:"pre"},"& code, & tt":{border:"none"}},[he("span")]:{...t,"&.frame":{display:"block",overflow:"hidden","& > span":{border:`1px solid ${e.color.medium}`,display:"block",float:"left",overflow:"hidden",margin:"13px 0 0",padding:7,width:"auto"},"& span img":{display:"block",float:"left"},"& span span":{clear:"both",color:e.color.darkest,display:"block",padding:"5px 0 0"}},"&.align-center":{display:"block",overflow:"hidden",clear:"both","& > span":{display:"block",overflow:"hidden",margin:"13px auto 0",textAlign:"center"},"& span img":{margin:"0 auto",textAlign:"center"}},"&.align-right":{display:"block",overflow:"hidden",clear:"both","& > span":{display:"block",overflow:"hidden",margin:"13px 0 0",textAlign:"right"},"& span img":{margin:0,textAlign:"right"}},"&.float-left":{display:"block",marginRight:13,overflow:"hidden",float:"left","& span":{margin:"13px 0 0"}},"&.float-right":{display:"block",marginLeft:13,overflow:"hidden",float:"right","& > span":{display:"block",overflow:"hidden",margin:"13px auto 0",textAlign:"right"}}},[he("table")]:{...t,margin:"16px 0",fontSize:e.typography.size.s2,lineHeight:"24px",padding:0,borderCollapse:"collapse","& tr":{borderTop:`1px solid ${e.appBorderColor}`,backgroundColor:e.appContentBg,margin:0,padding:0},"& tr:nth-of-type(2n)":{backgroundColor:e.base==="dark"?e.color.darker:e.color.lighter},"& tr th":{fontWeight:"bold",color:e.color.defaultText,border:`1px solid ${e.appBorderColor}`,margin:0,padding:"6px 13px"},"& tr td":{border:`1px solid ${e.appBorderColor}`,color:e.color.defaultText,margin:0,padding:"6px 13px"},"& tr th :first-of-type, & tr td :first-of-type":{marginTop:0},"& tr th :last-child, & tr td :last-child":{marginBottom:0}},[he("ul")]:{...t,margin:"16px 0",paddingLeft:30,"& :first-of-type":{marginTop:0},"& :last-child":{marginBottom:0},listStyle:"disc"}}}),AM=k.div(({theme:e})=>({background:e.background.content,display:"flex",justifyContent:"center",padding:"4rem 20px",minHeight:"100vh",boxSizing:"border-box",gap:"3rem",[`@media (min-width: ${ph}px)`]:{}})),kM=({children:e,toc:t})=>v.createElement(AM,{className:"sbdocs sbdocs-wrapper"},v.createElement(FM,{className:"sbdocs sbdocs-content"},e),t),cu=e=>({borderRadius:e.appBorderRadius,background:e.background.content,boxShadow:e.base==="light"?"rgba(0, 0, 0, 0.10) 0 1px 3px 0":"rgba(0, 0, 0, 0.20) 0 2px 5px 0",border:`1px solid ${e.appBorderColor}`}),{window:_M}=globalThis,BM=class extends l.Component{constructor(){super(...arguments),this.iframe=null}componentDidMount(){let{id:e}=this.props;this.iframe=_M.document.getElementById(e)}shouldComponentUpdate(e){let{scale:t}=e;return t!==this.props.scale&&this.setIframeBodyStyle({width:`${t*100}%`,height:`${t*100}%`,transform:`scale(${1/t})`,transformOrigin:"top left"}),!1}setIframeBodyStyle(e){return Object.assign(this.iframe.contentDocument.body.style,e)}render(){let{id:e,title:t,src:r,allowFullScreen:n,scale:a,...o}=this.props;return v.createElement("iframe",{id:e,title:t,src:r,...n?{allow:"fullscreen"}:{},loading:"lazy",...o})}},NE=l.createContext({scale:1}),{PREVIEW_URL:RM}=globalThis,IM=RM||"iframe.html",H1=({story:e,primary:t})=>`story--${e.id}${t?"--primary":""}`,zM=e=>{let t=l.useRef(),[r,n]=l.useState(!0),[a,o]=l.useState(),{story:i,height:s,autoplay:c,forceInitialArgs:d,renderStoryToElement:f}=e;return l.useEffect(()=>{if(!(i&&t.current))return()=>{};let m=t.current,p=f(i,m,{showMain:()=>{},showError:({title:h,description:g})=>o(new Error(`${h} - ${g}`)),showException:h=>o(h)},{autoplay:c,forceInitialArgs:d});return n(!1),()=>{Promise.resolve().then(()=>p())}},[c,f,i]),a?v.createElement("pre",null,v.createElement(Wz,{error:a})):v.createElement(v.Fragment,null,s?v.createElement("style",null,`#${H1(e)} { min-height: ${s}; transform: translateZ(0); overflow: auto }`):null,r&&v.createElement(HE,null),v.createElement("div",{ref:t,id:`${H1(e)}-inner`,"data-name":i.name}))},TM=({story:e,height:t="500px"})=>v.createElement("div",{style:{width:"100%",height:t}},v.createElement(NE.Consumer,null,({scale:r})=>v.createElement(BM,{key:"iframe",id:`iframe--${e.id}`,title:e.name,src:vL(IM,e.id,{viewMode:"story"}),allowFullScreen:!0,scale:r,style:{width:"100%",height:"100%",border:"0 none"}}))),LM=k.strong(({theme:e})=>({color:e.color.orange})),MM=e=>{let{inline:t,story:r}=e;return t&&!e.autoplay&&r.usesMount?v.createElement(LM,null,"This story mounts inside of play. Set"," ",v.createElement("a",{href:"https://storybook.js.org/docs/api/doc-blocks/doc-block-story#autoplay"},"autoplay")," ","to true to view this story."):v.createElement("div",{id:H1(e),className:"sb-story sb-unstyled","data-story-block":"true"},t?v.createElement(zM,{...e}):v.createElement(TM,{...e}))},HE=()=>v.createElement(mL,null),OM=k(ch)({position:"absolute",left:0,right:0,top:0,transition:"transform .2s linear"}),PM=k.div({display:"flex",alignItems:"center",gap:4}),NM=k.div(({theme:e})=>({width:14,height:14,borderRadius:2,margin:"0 7px",backgroundColor:e.appBorderColor,animation:`${e.animation.glow} 1.5s ease-in-out infinite`})),HM=({isLoading:e,storyId:t,baseUrl:r,zoom:n,resetZoom:a,...o})=>v.createElement(OM,{...o},v.createElement(PM,{key:"left"},e?[1,2,3].map(i=>v.createElement(NM,{key:i})):v.createElement(v.Fragment,null,v.createElement(un,{key:"zoomin",onClick:i=>{i.preventDefault(),n(.8)},title:"Zoom in"},v.createElement(DL,null)),v.createElement(un,{key:"zoomout",onClick:i=>{i.preventDefault(),n(1.25)},title:"Zoom out"},v.createElement(EL,null)),v.createElement(un,{key:"zoomreset",onClick:i=>{i.preventDefault(),a()},title:"Reset zoom"},v.createElement(CL,null))))),$M=k.div(({isColumn:e,columns:t,layout:r})=>({display:e||!t?"block":"flex",position:"relative",flexWrap:"wrap",overflow:"auto",flexDirection:e?"column":"row","& .innerZoomElementWrapper > *":e?{width:r!=="fullscreen"?"calc(100% - 20px)":"100%",display:"block"}:{maxWidth:r!=="fullscreen"?"calc(100% - 20px)":"100%",display:"inline-block"}}),({layout:e="padded"})=>e==="centered"||e==="padded"?{padding:"30px 20px","& .innerZoomElementWrapper > *":{width:"auto",border:"10px solid transparent!important"}}:{},({layout:e="padded"})=>e==="centered"?{display:"flex",justifyContent:"center",justifyItems:"center",alignContent:"center",alignItems:"center"}:{},({columns:e})=>e&&e>1?{".innerZoomElementWrapper > *":{minWidth:`calc(100% / ${e} - 20px)`}}:{}),x4=k(PE)(({theme:e})=>({margin:0,borderTopLeftRadius:0,borderTopRightRadius:0,borderBottomLeftRadius:e.appBorderRadius,borderBottomRightRadius:e.appBorderRadius,border:"none",background:e.base==="light"?"rgba(0, 0, 0, 0.85)":Mt(.05,e.background.content),color:e.color.lightest,button:{background:e.base==="light"?"rgba(0, 0, 0, 0.85)":Mt(.05,e.background.content)}})),jM=k.div(({theme:e,withSource:t,isExpanded:r})=>({position:"relative",overflow:"hidden",margin:"25px 0 40px",...cu(e),borderBottomLeftRadius:t&&r&&0,borderBottomRightRadius:t&&r&&0,borderBottomWidth:r&&0,"h3 + &":{marginTop:"16px"}}),({withToolbar:e})=>e&&{paddingTop:40}),VM=(e,t,r)=>{switch(!0){case!!(e&&e.error):return{source:null,actionItem:{title:"No code available",className:"docblock-code-toggle docblock-code-toggle--disabled",disabled:!0,onClick:()=>r(!1)}};case t:return{source:v.createElement(x4,{...e,dark:!0}),actionItem:{title:"Hide code",className:"docblock-code-toggle docblock-code-toggle--expanded",onClick:()=>r(!1)}};default:return{source:v.createElement(x4,{...e,dark:!0}),actionItem:{title:"Show code",className:"docblock-code-toggle",onClick:()=>r(!0)}}}};function UM(e){if(l.Children.count(e)===1){let t=e;if(t.props)return t.props.id}return null}var qM=k(HM)({position:"absolute",top:0,left:0,right:0,height:40}),WM=k.div({overflow:"hidden",position:"relative"}),$E=({isLoading:e,isColumn:t,columns:r,children:n,withSource:a,withToolbar:o=!1,isExpanded:i=!1,additionalActions:s,className:c,layout:d="padded",...f})=>{let[m,p]=l.useState(i),{source:h,actionItem:g}=VM(a,m,p),[y,b]=l.useState(1),C=[c].concat(["sbdocs","sbdocs-preview","sb-unstyled"]),E=a?[g]:[],[D,w]=l.useState(s?[...s]:[]),x=[...E,...D],{window:S}=globalThis,F=l.useCallback(async _=>{let{createCopyToClipboardFunction:R}=await Y1(()=>import("./index-c5425238.js"),["./index-c5425238.js","./iframe-145c4ff1.js","./index-93f6b7ae.js","./jsx-runtime-6d9837fe.js","./index-03a57050.js","./index-ba5305b1.js","./index-356e4a49.js","./react-18-ff0899e5.js"],import.meta.url);R()},[]),A=_=>{let R=S.getSelection();R&&R.type==="Range"||(_.preventDefault(),D.filter(I=>I.title==="Copied").length===0&&F(h.props.code).then(()=>{w([...D,{title:"Copied",onClick:()=>{}}]),S.setTimeout(()=>w(D.filter(I=>I.title!=="Copied")),1500)}))};return v.createElement(jM,{withSource:a,withToolbar:o,...f,className:C.join(" ")},o&&v.createElement(qM,{isLoading:e,border:!0,zoom:_=>b(y*_),resetZoom:()=>b(1),storyId:UM(n),baseUrl:"./iframe.html"}),v.createElement(NE.Provider,{value:{scale:y}},v.createElement(WM,{className:"docs-story",onCopyCapture:a&&A},v.createElement($M,{isColumn:t||!Array.isArray(n),columns:r,layout:d},v.createElement(Pz.Element,{scale:y},Array.isArray(n)?n.map((_,R)=>v.createElement("div",{key:R},_)):v.createElement("div",null,n))),v.createElement(xp,{actionItems:x}))),a&&m&&h)};k($E)(()=>({".docs-story":{paddingTop:32,paddingBottom:40}}));function Zr(){return Zr=Object.assign?Object.assign.bind():function(e){for(var t=1;t(e[t.toLowerCase()]=t,e),{class:"className",for:"htmlFor"}),A4={amp:"&",apos:"'",gt:">",lt:"<",nbsp:" ",quot:"“"},KM=["style","script"],YM=/([-A-Z0-9_:]+)(?:\s*=\s*(?:(?:"((?:\\.|[^"])*)")|(?:'((?:\\.|[^'])*)')|(?:\{((?:\\.|{[^}]*?}|[^}])*)\})))?/gi,JM=/mailto:/i,ZM=/\n{2,}$/,jE=/^(\s*>[\s\S]*?)(?=\n\n|$)/,XM=/^ *> ?/gm,QM=/^(?:\[!([^\]]*)\]\n)?([\s\S]*)/,eO=/^ {2,}\n/,tO=/^(?:( *[-*_])){3,} *(?:\n *)+\n/,VE=/^(?: {1,3})?(`{3,}|~{3,}) *(\S+)? *([^\n]*?)?\n([\s\S]*?)(?:\1\n?|$)/,UE=/^(?: {4}[^\n]+\n*)+(?:\n *)+\n?/,rO=/^(`+)\s*([\s\S]*?[^`])\s*\1(?!`)/,nO=/^(?:\n *)*\n/,aO=/\r\n?/g,oO=/^\[\^([^\]]+)](:(.*)((\n+ {4,}.*)|(\n(?!\[\^).+))*)/,iO=/^\[\^([^\]]+)]/,lO=/\f/g,sO=/^---[ \t]*\n(.|\n)*\n---[ \t]*\n/,uO=/^\s*?\[(x|\s)\]/,qE=/^ *(#{1,6}) *([^\n]+?)(?: +#*)?(?:\n *)*(?:\n|$)/,WE=/^ *(#{1,6}) +([^\n]+?)(?: +#*)?(?:\n *)*(?:\n|$)/,GE=/^([^\n]+)\n *(=|-){3,} *(?:\n *)+\n/,$1=/^ *(?!<[a-z][^ >/]* ?\/>)<([a-z][^ >/]*) ?((?:[^>]*[^/])?)>\n?(\s*(?:<\1[^>]*?>[\s\S]*?<\/\1>|(?!<\1\b)[\s\S])*?)<\/\1>(?!<\/\1>)\n*/i,cO=/&([a-z0-9]+|#[0-9]{1,6}|#x[0-9a-fA-F]{1,6});/gi,KE=/^)/,dO=/^(data|aria|x)-[a-z_][a-z\d_.-]*$/,j1=/^ *<([a-z][a-z0-9:]*)(?:\s+((?:<.*?>|[^>])*))?\/?>(?!<\/\1>)(\s*\n)?/i,pO=/^\{.*\}$/,fO=/^(https?:\/\/[^\s<]+[^<.,:;"')\]\s])/,hO=/^<([^ >]+@[^ >]+)>/,mO=/^<([^ >]+:\/[^ >]+)>/,gO=/-([a-z])?/gi,YE=/^(\|.*)\n(?: *(\|? *[-:]+ *\|[-| :]*)\n((?:.*\|.*\n)*))?\n?/,vO=/^\[([^\]]*)\]:\s+]+)>?\s*("([^"]*)")?/,yO=/^!\[([^\]]*)\] ?\[([^\]]*)\]/,bO=/^\[([^\]]*)\] ?\[([^\]]*)\]/,wO=/(\n|^[-*]\s|^#|^ {2,}|^-{2,}|^>\s)/,DO=/\t/g,EO=/(^ *\||\| *$)/g,CO=/^ *:-+: *$/,xO=/^ *:-+ *$/,SO=/^ *-+: *$/,du="((?:\\[.*?\\][([].*?[)\\]]|<.*?>(?:.*?<.*?>)?|`.*?`|~~.*?~~|==.*?==|.|\\n)*?)",FO=new RegExp(`^([*_])\\1${du}\\1\\1(?!\\1)`),AO=new RegExp(`^([*_])${du}\\1(?!\\1|\\w)`),kO=new RegExp(`^==${du}==`),_O=new RegExp(`^~~${du}~~`),BO=/^\\([^0-9A-Za-z\s])/,RO=/^[\s\S]+?(?=[^0-9A-Z\s\u00c0-\uffff&#;.()'"]|\d+\.|\n\n| {2,}\n|\w+:\S|$)/i,IO=/^\n+/,zO=/^([ \t]*)/,TO=/\\([^\\])/g,k4=/ *\n+$/,LO=/(?:^|\n)( *)$/,fh="(?:\\d+\\.)",hh="(?:[*+-])";function JE(e){return"( *)("+(e===1?fh:hh)+") +"}var ZE=JE(1),XE=JE(2);function QE(e){return new RegExp("^"+(e===1?ZE:XE))}var MO=QE(1),OO=QE(2);function e9(e){return new RegExp("^"+(e===1?ZE:XE)+"[^\\n]*(?:\\n(?!\\1"+(e===1?fh:hh)+" )[^\\n]*)*(\\n|$)","gm")}var t9=e9(1),r9=e9(2);function n9(e){let t=e===1?fh:hh;return new RegExp("^( *)("+t+") [\\s\\S]+?(?:\\n{2,}(?! )(?!\\1"+t+" (?!"+t+" ))\\n*|\\s*\\n*$)")}var a9=n9(1),o9=n9(2);function _4(e,t){let r=t===1,n=r?a9:o9,a=r?t9:r9,o=r?MO:OO;return{match(i,s){let c=LO.exec(s.prevCapture);return c&&(s.list||!s.inline&&!s.simple)?n.exec(i=c[1]+i):null},order:1,parse(i,s,c){let d=r?+i[2]:void 0,f=i[0].replace(ZM,` -`).match(a),m=!1;return{items:f.map(function(p,h){let g=o.exec(p)[0].length,y=new RegExp("^ {1,"+g+"}","gm"),b=p.replace(y,"").replace(o,""),C=h===f.length-1,E=b.indexOf(` - -`)!==-1||C&&m;m=E;let D=c.inline,w=c.list,x;c.list=!0,E?(c.inline=!1,x=b.replace(k4,` - -`)):(c.inline=!0,x=b.replace(k4,""));let S=s(x,c);return c.inline=D,c.list=w,S}),ordered:r,start:d}},render:(i,s,c)=>e(i.ordered?"ol":"ul",{key:c.key,start:i.type===j.orderedList?i.start:void 0},i.items.map(function(d,f){return e("li",{key:f},s(d,c))}))}}var PO=new RegExp(`^\\[((?:\\[[^\\]]*\\]|[^\\[\\]]|\\](?=[^\\[]*\\]))*)\\]\\(\\s*?(?:\\s+['"]([\\s\\S]*?)['"])?\\s*\\)`),NO=/^!\[(.*?)\]\( *((?:\([^)]*\)|[^() ])*) *"?([^)"]*)?"?\)/,i9=[jE,VE,UE,qE,GE,WE,KE,YE,t9,a9,r9,o9],HO=[...i9,/^[^\n]+(?: \n|\n{2,})/,$1,j1];function ro(e){return e.replace(/[ÀÁÂÃÄÅàáâãä忯]/g,"a").replace(/[çÇ]/g,"c").replace(/[ðÐ]/g,"d").replace(/[ÈÉÊËéèêë]/g,"e").replace(/[ÏïÎîÍíÌì]/g,"i").replace(/[Ññ]/g,"n").replace(/[øØœŒÕõÔôÓóÒò]/g,"o").replace(/[ÜüÛûÚúÙù]/g,"u").replace(/[ŸÿÝý]/g,"y").replace(/[^a-z0-9- ]/gi,"").replace(/ /gi,"-").toLowerCase()}function $O(e){return SO.test(e)?"right":CO.test(e)?"center":xO.test(e)?"left":null}function B4(e,t,r,n){let a=r.inTable;r.inTable=!0;let o=e.trim().split(/( *(?:`[^`]*`|\\\||\|) *)/).reduce((s,c)=>(c.trim()==="|"?s.push(n?{type:j.tableSeparator}:{type:j.text,text:c}):c!==""&&s.push.apply(s,t(c,r)),s),[]);r.inTable=a;let i=[[]];return o.forEach(function(s,c){s.type===j.tableSeparator?c!==0&&c!==o.length-1&&i.push([]):(s.type!==j.text||o[c+1]!=null&&o[c+1].type!==j.tableSeparator||(s.text=s.text.trimEnd()),i[i.length-1].push(s))}),i}function jO(e,t,r){r.inline=!0;let n=e[2]?e[2].replace(EO,"").split("|").map($O):[],a=e[3]?function(i,s,c){return i.trim().split(` -`).map(function(d){return B4(d,s,c,!0)})}(e[3],t,r):[],o=B4(e[1],t,r,!!a.length);return r.inline=!1,a.length?{align:n,cells:a,header:o,type:j.table}:{children:o,type:j.paragraph}}function R4(e,t){return e.align[t]==null?{}:{textAlign:e.align[t]}}function hr(e){return function(t,r){return r.inline?e.exec(t):null}}function mr(e){return function(t,r){return r.inline||r.simple?e.exec(t):null}}function or(e){return function(t,r){return r.inline||r.simple?null:e.exec(t)}}function no(e){return function(t){return e.exec(t)}}function VO(e,t){if(t.inline||t.simple)return null;let r="";e.split(` -`).every(a=>!i9.some(o=>o.test(a))&&(r+=a+` -`,a.trim()));let n=r.trimEnd();return n==""?null:[r,n]}function UO(e){try{if(decodeURIComponent(e).replace(/[^A-Za-z0-9/:]/g,"").match(/^\s*(javascript|vbscript|data(?!:image)):/i))return null}catch{return null}return e}function I4(e){return e.replace(TO,"$1")}function El(e,t,r){let n=r.inline||!1,a=r.simple||!1;r.inline=!0,r.simple=!0;let o=e(t,r);return r.inline=n,r.simple=a,o}function qO(e,t,r){let n=r.inline||!1,a=r.simple||!1;r.inline=!1,r.simple=!0;let o=e(t,r);return r.inline=n,r.simple=a,o}function WO(e,t,r){let n=r.inline||!1;r.inline=!1;let a=e(t,r);return r.inline=n,a}var L0=(e,t,r)=>({children:El(t,e[1],r)});function M0(){return{}}function O0(){return null}function GO(...e){return e.filter(Boolean).join(" ")}function P0(e,t,r){let n=e,a=t.split(".");for(;a.length&&(n=n[a[0]],n!==void 0);)a.shift();return n||r}function KO(e="",t={}){function r(p,h,...g){let y=P0(t.overrides,`${p}.props`,{});return t.createElement(function(b,C){let E=P0(C,b);return E?typeof E=="function"||typeof E=="object"&&"render"in E?E:P0(C,`${b}.component`,b):b}(p,t.overrides),Zr({},h,y,{className:GO(h==null?void 0:h.className,y.className)||void 0}),...g)}function n(p){p=p.replace(sO,"");let h=!1;t.forceInline?h=!0:t.forceBlock||(h=wO.test(p)===!1);let g=d(c(h?p:`${p.trimEnd().replace(IO,"")} - -`,{inline:h}));for(;typeof g[g.length-1]=="string"&&!g[g.length-1].trim();)g.pop();if(t.wrapper===null)return g;let y=t.wrapper||(h?"span":"div"),b;if(g.length>1||t.forceWrapper)b=g;else{if(g.length===1)return b=g[0],typeof b=="string"?r("span",{key:"outer"},b):b;b=null}return t.createElement(y,{key:"outer"},b)}function a(p,h){let g=h.match(YM);return g?g.reduce(function(y,b){let C=b.indexOf("=");if(C!==-1){let E=function(S){return S.indexOf("-")!==-1&&S.match(dO)===null&&(S=S.replace(gO,function(F,A){return A.toUpperCase()})),S}(b.slice(0,C)).trim(),D=function(S){let F=S[0];return(F==='"'||F==="'")&&S.length>=2&&S[S.length-1]===F?S.slice(1,-1):S}(b.slice(C+1).trim()),w=F4[E]||E;if(w==="ref")return y;let x=y[w]=function(S,F,A,_){return F==="style"?A.split(/;\s?/).reduce(function(R,I){let T=I.slice(0,I.indexOf(":"));return R[T.trim().replace(/(-[a-z])/g,L=>L[1].toUpperCase())]=I.slice(T.length+1).trim(),R},{}):F==="href"||F==="src"?_(A,S,F):(A.match(pO)&&(A=A.slice(1,A.length-1)),A==="true"||A!=="false"&&A)}(p,E,D,t.sanitizer);typeof x=="string"&&($1.test(x)||j1.test(x))&&(y[w]=n(x.trim()))}else b!=="style"&&(y[F4[b]||b]=!0);return y},{}):null}t.overrides=t.overrides||{},t.sanitizer=t.sanitizer||UO,t.slugify=t.slugify||ro,t.namedCodesToUnicode=t.namedCodesToUnicode?Zr({},A4,t.namedCodesToUnicode):A4,t.createElement=t.createElement||l.createElement;let o=[],i={},s={[j.blockQuote]:{match:or(jE),order:1,parse(p,h,g){let[,y,b]=p[0].replace(XM,"").match(QM);return{alert:y,children:h(b,g)}},render(p,h,g){let y={key:g.key};return p.alert&&(y.className="markdown-alert-"+t.slugify(p.alert.toLowerCase(),ro),p.children.unshift({attrs:{},children:[{type:j.text,text:p.alert}],noInnerParse:!0,type:j.htmlBlock,tag:"header"})),r("blockquote",y,h(p.children,g))}},[j.breakLine]:{match:no(eO),order:1,parse:M0,render:(p,h,g)=>r("br",{key:g.key})},[j.breakThematic]:{match:or(tO),order:1,parse:M0,render:(p,h,g)=>r("hr",{key:g.key})},[j.codeBlock]:{match:or(UE),order:0,parse:p=>({lang:void 0,text:p[0].replace(/^ {4}/gm,"").replace(/\n+$/,"")}),render:(p,h,g)=>r("pre",{key:g.key},r("code",Zr({},p.attrs,{className:p.lang?`lang-${p.lang}`:""}),p.text))},[j.codeFenced]:{match:or(VE),order:0,parse:p=>({attrs:a("code",p[3]||""),lang:p[2]||void 0,text:p[4],type:j.codeBlock})},[j.codeInline]:{match:mr(rO),order:3,parse:p=>({text:p[2]}),render:(p,h,g)=>r("code",{key:g.key},p.text)},[j.footnote]:{match:or(oO),order:0,parse:p=>(o.push({footnote:p[2],identifier:p[1]}),{}),render:O0},[j.footnoteReference]:{match:hr(iO),order:1,parse:p=>({target:`#${t.slugify(p[1],ro)}`,text:p[1]}),render:(p,h,g)=>r("a",{key:g.key,href:t.sanitizer(p.target,"a","href")},r("sup",{key:g.key},p.text))},[j.gfmTask]:{match:hr(uO),order:1,parse:p=>({completed:p[1].toLowerCase()==="x"}),render:(p,h,g)=>r("input",{checked:p.completed,key:g.key,readOnly:!0,type:"checkbox"})},[j.heading]:{match:or(t.enforceAtxHeadings?WE:qE),order:1,parse:(p,h,g)=>({children:El(h,p[2],g),id:t.slugify(p[2],ro),level:p[1].length}),render:(p,h,g)=>r(`h${p.level}`,{id:p.id,key:g.key},h(p.children,g))},[j.headingSetext]:{match:or(GE),order:0,parse:(p,h,g)=>({children:El(h,p[1],g),level:p[2]==="="?1:2,type:j.heading})},[j.htmlBlock]:{match:no($1),order:1,parse(p,h,g){let[,y]=p[3].match(zO),b=new RegExp(`^${y}`,"gm"),C=p[3].replace(b,""),E=(D=C,HO.some(A=>A.test(D))?WO:El);var D;let w=p[1].toLowerCase(),x=KM.indexOf(w)!==-1,S=(x?w:p[1]).trim(),F={attrs:a(S,p[2]),noInnerParse:x,tag:S};return g.inAnchor=g.inAnchor||w==="a",x?F.text=p[3]:F.children=E(h,C,g),g.inAnchor=!1,F},render:(p,h,g)=>r(p.tag,Zr({key:g.key},p.attrs),p.text||(p.children?h(p.children,g):""))},[j.htmlSelfClosing]:{match:no(j1),order:1,parse(p){let h=p[1].trim();return{attrs:a(h,p[2]||""),tag:h}},render:(p,h,g)=>r(p.tag,Zr({},p.attrs,{key:g.key}))},[j.htmlComment]:{match:no(KE),order:1,parse:()=>({}),render:O0},[j.image]:{match:mr(NO),order:1,parse:p=>({alt:p[1],target:I4(p[2]),title:p[3]}),render:(p,h,g)=>r("img",{key:g.key,alt:p.alt||void 0,title:p.title||void 0,src:t.sanitizer(p.target,"img","src")})},[j.link]:{match:hr(PO),order:3,parse:(p,h,g)=>({children:qO(h,p[1],g),target:I4(p[2]),title:p[3]}),render:(p,h,g)=>r("a",{key:g.key,href:t.sanitizer(p.target,"a","href"),title:p.title},h(p.children,g))},[j.linkAngleBraceStyleDetector]:{match:hr(mO),order:0,parse:p=>({children:[{text:p[1],type:j.text}],target:p[1],type:j.link})},[j.linkBareUrlDetector]:{match:(p,h)=>h.inAnchor||t.disableAutoLink?null:hr(fO)(p,h),order:0,parse:p=>({children:[{text:p[1],type:j.text}],target:p[1],title:void 0,type:j.link})},[j.linkMailtoDetector]:{match:hr(hO),order:0,parse(p){let h=p[1],g=p[1];return JM.test(g)||(g="mailto:"+g),{children:[{text:h.replace("mailto:",""),type:j.text}],target:g,type:j.link}}},[j.orderedList]:_4(r,1),[j.unorderedList]:_4(r,2),[j.newlineCoalescer]:{match:or(nO),order:3,parse:M0,render:()=>` -`},[j.paragraph]:{match:VO,order:3,parse:L0,render:(p,h,g)=>r("p",{key:g.key},h(p.children,g))},[j.ref]:{match:hr(vO),order:0,parse:p=>(i[p[1]]={target:p[2],title:p[4]},{}),render:O0},[j.refImage]:{match:mr(yO),order:0,parse:p=>({alt:p[1]||void 0,ref:p[2]}),render:(p,h,g)=>i[p.ref]?r("img",{key:g.key,alt:p.alt,src:t.sanitizer(i[p.ref].target,"img","src"),title:i[p.ref].title}):null},[j.refLink]:{match:hr(bO),order:0,parse:(p,h,g)=>({children:h(p[1],g),fallbackChildren:p[0],ref:p[2]}),render:(p,h,g)=>i[p.ref]?r("a",{key:g.key,href:t.sanitizer(i[p.ref].target,"a","href"),title:i[p.ref].title},h(p.children,g)):r("span",{key:g.key},p.fallbackChildren)},[j.table]:{match:or(YE),order:1,parse:jO,render(p,h,g){let y=p;return r("table",{key:g.key},r("thead",null,r("tr",null,y.header.map(function(b,C){return r("th",{key:C,style:R4(y,C)},h(b,g))}))),r("tbody",null,y.cells.map(function(b,C){return r("tr",{key:C},b.map(function(E,D){return r("td",{key:D,style:R4(y,D)},h(E,g))}))})))}},[j.text]:{match:no(RO),order:4,parse:p=>({text:p[0].replace(cO,(h,g)=>t.namedCodesToUnicode[g]?t.namedCodesToUnicode[g]:h)}),render:p=>p.text},[j.textBolded]:{match:mr(FO),order:2,parse:(p,h,g)=>({children:h(p[2],g)}),render:(p,h,g)=>r("strong",{key:g.key},h(p.children,g))},[j.textEmphasized]:{match:mr(AO),order:3,parse:(p,h,g)=>({children:h(p[2],g)}),render:(p,h,g)=>r("em",{key:g.key},h(p.children,g))},[j.textEscaped]:{match:mr(BO),order:1,parse:p=>({text:p[1],type:j.text})},[j.textMarked]:{match:mr(kO),order:3,parse:L0,render:(p,h,g)=>r("mark",{key:g.key},h(p.children,g))},[j.textStrikethroughed]:{match:mr(_O),order:3,parse:L0,render:(p,h,g)=>r("del",{key:g.key},h(p.children,g))}};t.disableParsingRawHTML===!0&&(delete s[j.htmlBlock],delete s[j.htmlSelfClosing]);let c=function(p){let h=Object.keys(p);function g(y,b){let C=[];for(b.prevCapture=b.prevCapture||"";y;){let E=0;for(;EC(g,y,b),g,y,b):C(g,y,b)}}(s,t.renderRule),function p(h,g={}){if(Array.isArray(h)){let y=g.key,b=[],C=!1;for(let E=0;E{let{children:t="",options:r}=e,n=function(a,o){if(a==null)return{};var i,s,c={},d=Object.keys(a);for(s=0;s=0||(c[i]=a[i]);return c}(e,GM);return l.cloneElement(KO(t,r),n)},YO=k.label(({theme:e})=>({lineHeight:"18px",alignItems:"center",marginBottom:8,display:"inline-block",position:"relative",whiteSpace:"nowrap",background:e.boolean.background,borderRadius:"3em",padding:1,'&[aria-disabled="true"]':{opacity:.5,input:{cursor:"not-allowed"}},input:{appearance:"none",width:"100%",height:"100%",position:"absolute",left:0,top:0,margin:0,padding:0,border:"none",background:"transparent",cursor:"pointer",borderRadius:"3em","&:focus":{outline:"none",boxShadow:`${e.color.secondary} 0 0 0 1px inset !important`}},span:{textAlign:"center",fontSize:e.typography.size.s1,fontWeight:e.typography.weight.bold,lineHeight:"1",cursor:"pointer",display:"inline-block",padding:"7px 15px",transition:"all 100ms ease-out",userSelect:"none",borderRadius:"3em",color:oe(.5,e.color.defaultText),background:"transparent","&:hover":{boxShadow:`${Ji(.3,e.appBorderColor)} 0 0 0 1px inset`},"&:active":{boxShadow:`${Ji(.05,e.appBorderColor)} 0 0 0 2px inset`,color:Ji(1,e.appBorderColor)},"&:first-of-type":{paddingRight:8},"&:last-of-type":{paddingLeft:8}},"input:checked ~ span:last-of-type, input:not(:checked) ~ span:first-of-type":{background:e.boolean.selectedBackground,boxShadow:e.base==="light"?`${Ji(.1,e.appBorderColor)} 0 0 2px`:`${e.appBorderColor} 0 0 0 1px`,color:e.color.defaultText,padding:"7px 15px"}})),JO=e=>e==="true",ZO=({name:e,value:t,onChange:r,onBlur:n,onFocus:a,argType:o})=>{var f;let i=l.useCallback(()=>r(!1),[r]),s=!!((f=o==null?void 0:o.table)!=null&&f.readonly);if(t===void 0)return v.createElement(Fn,{variant:"outline",size:"medium",id:ms(e),onClick:i,disabled:s},"Set boolean");let c=Ct(e),d=typeof t=="string"?JO(t):t;return v.createElement(YO,{"aria-disabled":s,htmlFor:c,"aria-label":e},v.createElement("input",{id:c,type:"checkbox",onChange:m=>r(m.target.checked),checked:d,role:"switch",disabled:s,name:e,onBlur:n,onFocus:a}),v.createElement("span",{"aria-hidden":"true"},"False"),v.createElement("span",{"aria-hidden":"true"},"True"))},XO=e=>{let[t,r,n]=e.split("-"),a=new Date;return a.setFullYear(parseInt(t,10),parseInt(r,10)-1,parseInt(n,10)),a},QO=e=>{let[t,r]=e.split(":"),n=new Date;return n.setHours(parseInt(t,10)),n.setMinutes(parseInt(r,10)),n},eP=e=>{let t=new Date(e),r=`000${t.getFullYear()}`.slice(-4),n=`0${t.getMonth()+1}`.slice(-2),a=`0${t.getDate()}`.slice(-2);return`${r}-${n}-${a}`},tP=e=>{let t=new Date(e),r=`0${t.getHours()}`.slice(-2),n=`0${t.getMinutes()}`.slice(-2);return`${r}:${n}`},z4=k(gi.Input)(({readOnly:e})=>({opacity:e?.5:1})),rP=k.div(({theme:e})=>({flex:1,display:"flex",input:{marginLeft:10,flex:1,height:32,"&::-webkit-calendar-picker-indicator":{opacity:.5,height:12,filter:e.base==="light"?void 0:"invert(1)"}},"input:first-of-type":{marginLeft:0,flexGrow:4},"input:last-of-type":{flexGrow:3}})),nP=({name:e,value:t,onChange:r,onFocus:n,onBlur:a,argType:o})=>{var g;let[i,s]=l.useState(!0),c=l.useRef(),d=l.useRef(),f=!!((g=o==null?void 0:o.table)!=null&&g.readonly);l.useEffect(()=>{i!==!1&&(c&&c.current&&(c.current.value=t?eP(t):""),d&&d.current&&(d.current.value=t?tP(t):""))},[t]);let m=y=>{if(!y.target.value)return r();let b=XO(y.target.value),C=new Date(t);C.setFullYear(b.getFullYear(),b.getMonth(),b.getDate());let E=C.getTime();E&&r(E),s(!!E)},p=y=>{if(!y.target.value)return r();let b=QO(y.target.value),C=new Date(t);C.setHours(b.getHours()),C.setMinutes(b.getMinutes());let E=C.getTime();E&&r(E),s(!!E)},h=Ct(e);return v.createElement(rP,null,v.createElement(z4,{type:"date",max:"9999-12-31",ref:c,id:`${h}-date`,name:`${h}-date`,readOnly:f,onChange:m,onFocus:n,onBlur:a}),v.createElement(z4,{type:"time",id:`${h}-time`,name:`${h}-time`,ref:d,onChange:p,readOnly:f,onFocus:n,onBlur:a}),i?null:v.createElement("div",null,"invalid"))},aP=k.label({display:"flex"}),oP=e=>{let t=parseFloat(e);return Number.isNaN(t)?void 0:t},iP=k(gi.Input)(({readOnly:e})=>({opacity:e?.5:1})),lP=({name:e,value:t,onChange:r,min:n,max:a,step:o,onBlur:i,onFocus:s,argType:c})=>{var D;let[d,f]=l.useState(typeof t=="number"?t:""),[m,p]=l.useState(!1),[h,g]=l.useState(null),y=!!((D=c==null?void 0:c.table)!=null&&D.readonly),b=l.useCallback(w=>{f(w.target.value);let x=parseFloat(w.target.value);Number.isNaN(x)?g(new Error(`'${w.target.value}' is not a number`)):(r(x),g(null))},[r,g]),C=l.useCallback(()=>{f("0"),r(0),p(!0)},[p]),E=l.useRef(null);return l.useEffect(()=>{m&&E.current&&E.current.select()},[m]),l.useEffect(()=>{d!==(typeof t=="number"?t:"")&&f(t)},[t]),t===void 0?v.createElement(Fn,{variant:"outline",size:"medium",id:ms(e),onClick:C,disabled:y},"Set number"):v.createElement(aP,null,v.createElement(iP,{ref:E,id:Ct(e),type:"number",onChange:b,size:"flex",placeholder:"Edit number...",value:d,valid:h?"error":null,autoFocus:m,readOnly:y,name:e,min:n,max:a,step:o,onFocus:s,onBlur:i}))},s9=(e,t)=>{let r=t&&Object.entries(t).find(([n,a])=>a===e);return r?r[0]:void 0},V1=(e,t)=>e&&t?Object.entries(t).filter(r=>e.includes(r[1])).map(r=>r[0]):[],u9=(e,t)=>e&&t&&e.map(r=>t[r]),sP=k.div(({isInline:e})=>e?{display:"flex",flexWrap:"wrap",alignItems:"flex-start",label:{display:"inline-flex",marginRight:15}}:{label:{display:"flex"}},e=>{if(e["aria-readonly"]==="true")return{input:{cursor:"not-allowed"}}}),uP=k.span({"[aria-readonly=true] &":{opacity:.5}}),cP=k.label({lineHeight:"20px",alignItems:"center",marginBottom:8,"&:last-child":{marginBottom:0},input:{margin:0,marginRight:6}}),T4=({name:e,options:t,value:r,onChange:n,isInline:a,argType:o})=>{var p;if(!t)return dh.warn(`Checkbox with no options: ${e}`),v.createElement(v.Fragment,null,"-");let i=V1(r,t),[s,c]=l.useState(i),d=!!((p=o==null?void 0:o.table)!=null&&p.readonly),f=h=>{let g=h.target.value,y=[...s];y.includes(g)?y.splice(y.indexOf(g),1):y.push(g),n(u9(y,t)),c(y)};l.useEffect(()=>{c(V1(r,t))},[r]);let m=Ct(e);return v.createElement(sP,{"aria-readonly":d,isInline:a},Object.keys(t).map((h,g)=>{let y=`${m}-${g}`;return v.createElement(cP,{key:y,htmlFor:y},v.createElement("input",{type:"checkbox",disabled:d,id:y,name:y,value:h,onChange:f,checked:s==null?void 0:s.includes(h)}),v.createElement(uP,null,h))}))},dP=k.div(({isInline:e})=>e?{display:"flex",flexWrap:"wrap",alignItems:"flex-start",label:{display:"inline-flex",marginRight:15}}:{label:{display:"flex"}},e=>{if(e["aria-readonly"]==="true")return{input:{cursor:"not-allowed"}}}),pP=k.span({"[aria-readonly=true] &":{opacity:.5}}),fP=k.label({lineHeight:"20px",alignItems:"center",marginBottom:8,"&:last-child":{marginBottom:0},input:{margin:0,marginRight:6}}),L4=({name:e,options:t,value:r,onChange:n,isInline:a,argType:o})=>{var d;if(!t)return dh.warn(`Radio with no options: ${e}`),v.createElement(v.Fragment,null,"-");let i=s9(r,t),s=Ct(e),c=!!((d=o==null?void 0:o.table)!=null&&d.readonly);return v.createElement(dP,{"aria-readonly":c,isInline:a},Object.keys(t).map((f,m)=>{let p=`${s}-${m}`;return v.createElement(fP,{key:p,htmlFor:p},v.createElement("input",{type:"radio",id:p,name:s,disabled:c,value:f,onChange:h=>n(t[h.currentTarget.value]),checked:f===i}),v.createElement(pP,null,f))}))},hP={appearance:"none",border:"0 none",boxSizing:"inherit",display:" block",margin:" 0",background:"transparent",padding:0,fontSize:"inherit",position:"relative"},c9=k.select(hP,({theme:e})=>({boxSizing:"border-box",position:"relative",padding:"6px 10px",width:"100%",color:e.input.color||"inherit",background:e.input.background,borderRadius:e.input.borderRadius,boxShadow:`${e.input.border} 0 0 0 1px inset`,fontSize:e.typography.size.s2-1,lineHeight:"20px","&:focus":{boxShadow:`${e.color.secondary} 0 0 0 1px inset`,outline:"none"},"&[disabled]":{cursor:"not-allowed",opacity:.5},"::placeholder":{color:e.textMutedColor},"&[multiple]":{overflow:"auto",padding:0,option:{display:"block",padding:"6px 10px",marginLeft:1,marginRight:1}}})),d9=k.span(({theme:e})=>({display:"inline-block",lineHeight:"normal",overflow:"hidden",position:"relative",verticalAlign:"top",width:"100%",svg:{position:"absolute",zIndex:1,pointerEvents:"none",height:"12px",marginTop:"-6px",right:"12px",top:"50%",fill:e.textMutedColor,path:{fill:e.textMutedColor}}})),M4="Choose option...",mP=({name:e,value:t,options:r,onChange:n,argType:a})=>{var d;let o=f=>{n(r[f.currentTarget.value])},i=s9(t,r)||M4,s=Ct(e),c=!!((d=a==null?void 0:a.table)!=null&&d.readonly);return v.createElement(d9,null,v.createElement(BE,null),v.createElement(c9,{disabled:c,id:s,value:i,onChange:o},v.createElement("option",{key:"no-selection",disabled:!0},M4),Object.keys(r).map(f=>v.createElement("option",{key:f,value:f},f))))},gP=({name:e,value:t,options:r,onChange:n,argType:a})=>{var d;let o=f=>{let m=Array.from(f.currentTarget.options).filter(p=>p.selected).map(p=>p.value);n(u9(m,r))},i=V1(t,r),s=Ct(e),c=!!((d=a==null?void 0:a.table)!=null&&d.readonly);return v.createElement(d9,null,v.createElement(c9,{disabled:c,id:s,multiple:!0,value:i,onChange:o},Object.keys(r).map(f=>v.createElement("option",{key:f,value:f},f))))},O4=e=>{let{name:t,options:r}=e;return r?e.isMulti?v.createElement(gP,{...e}):v.createElement(mP,{...e}):(dh.warn(`Select with no options: ${t}`),v.createElement(v.Fragment,null,"-"))},vP=(e,t)=>Array.isArray(e)?e.reduce((r,n)=>(r[(t==null?void 0:t[n])||String(n)]=n,r),{}):e,yP={check:T4,"inline-check":T4,radio:L4,"inline-radio":L4,select:O4,"multi-select":O4},Pn=e=>{let{type:t="select",labels:r,argType:n}=e,a={...e,argType:n,options:n?vP(n.options,r):{},isInline:t.includes("inline"),isMulti:t.includes("multi")},o=yP[t];if(o)return v.createElement(o,{...a});throw new Error(`Unknown options type: ${t}`)},bP="Error",wP="Object",DP="Array",EP="String",CP="Number",xP="Boolean",SP="Date",FP="Null",AP="Undefined",kP="Function",_P="Symbol",p9="ADD_DELTA_TYPE",f9="REMOVE_DELTA_TYPE",h9="UPDATE_DELTA_TYPE",mh="value",BP="key";function an(e){return e!==null&&typeof e=="object"&&!Array.isArray(e)&&typeof e[Symbol.iterator]=="function"?"Iterable":Object.prototype.toString.call(e).slice(8,-1)}function m9(e,t){let r=an(e),n=an(t);return(r==="Function"||n==="Function")&&n!==r}var gh=class extends l.Component{constructor(e){super(e),this.state={inputRefKey:null,inputRefValue:null},this.refInputValue=this.refInputValue.bind(this),this.refInputKey=this.refInputKey.bind(this),this.onKeydown=this.onKeydown.bind(this),this.onSubmit=this.onSubmit.bind(this)}componentDidMount(){let{inputRefKey:e,inputRefValue:t}=this.state,{onlyValue:r}=this.props;e&&typeof e.focus=="function"&&e.focus(),r&&t&&typeof t.focus=="function"&&t.focus(),document.addEventListener("keydown",this.onKeydown)}componentWillUnmount(){document.removeEventListener("keydown",this.onKeydown)}onKeydown(e){e.altKey||e.ctrlKey||e.metaKey||e.shiftKey||e.repeat||((e.code==="Enter"||e.key==="Enter")&&(e.preventDefault(),this.onSubmit()),(e.code==="Escape"||e.key==="Escape")&&(e.preventDefault(),this.props.handleCancel()))}onSubmit(){let{handleAdd:e,onlyValue:t,onSubmitValueParser:r,keyPath:n,deep:a}=this.props,{inputRefKey:o,inputRefValue:i}=this.state,s={};if(!t){if(!o.value)return;s.key=o.value}s.newValue=r(!1,n,a,s.key,i.value),e(s)}refInputKey(e){this.state.inputRefKey=e}refInputValue(e){this.state.inputRefValue=e}render(){let{handleCancel:e,onlyValue:t,addButtonElement:r,cancelButtonElement:n,inputElementGenerator:a,keyPath:o,deep:i}=this.props,s=l.cloneElement(r,{onClick:this.onSubmit}),c=l.cloneElement(n,{onClick:e}),d=a(mh,o,i),f=l.cloneElement(d,{placeholder:"Value",ref:this.refInputValue}),m=null;if(!t){let p=a(BP,o,i);m=l.cloneElement(p,{placeholder:"Key",ref:this.refInputKey})}return v.createElement("span",{className:"rejt-add-value-node"},m,f,c,s)}};gh.defaultProps={onlyValue:!1,addButtonElement:v.createElement("button",null,"+"),cancelButtonElement:v.createElement("button",null,"c")};var g9=class extends l.Component{constructor(e){super(e);let t=[...e.keyPath,e.name];this.state={data:e.data,name:e.name,keyPath:t,deep:e.deep,nextDeep:e.deep+1,collapsed:e.isCollapsed(t,e.deep,e.data),addFormVisible:!1},this.handleCollapseMode=this.handleCollapseMode.bind(this),this.handleRemoveItem=this.handleRemoveItem.bind(this),this.handleAddMode=this.handleAddMode.bind(this),this.handleAddValueAdd=this.handleAddValueAdd.bind(this),this.handleAddValueCancel=this.handleAddValueCancel.bind(this),this.handleEditValue=this.handleEditValue.bind(this),this.onChildUpdate=this.onChildUpdate.bind(this),this.renderCollapsed=this.renderCollapsed.bind(this),this.renderNotCollapsed=this.renderNotCollapsed.bind(this)}static getDerivedStateFromProps(e,t){return e.data!==t.data?{data:e.data}:null}onChildUpdate(e,t){let{data:r,keyPath:n}=this.state;r[e]=t,this.setState({data:r});let{onUpdate:a}=this.props,o=n.length;a(n[o-1],r)}handleAddMode(){this.setState({addFormVisible:!0})}handleCollapseMode(){this.setState(e=>({collapsed:!e.collapsed}))}handleRemoveItem(e){return()=>{let{beforeRemoveAction:t,logger:r}=this.props,{data:n,keyPath:a,nextDeep:o}=this.state,i=n[e];t(e,a,o,i).then(()=>{let s={keyPath:a,deep:o,key:e,oldValue:i,type:f9};n.splice(e,1),this.setState({data:n});let{onUpdate:c,onDeltaUpdate:d}=this.props;c(a[a.length-1],n),d(s)}).catch(r.error)}}handleAddValueAdd({newValue:e}){let{data:t,keyPath:r,nextDeep:n}=this.state,{beforeAddAction:a,logger:o}=this.props;a(t.length,r,n,e).then(()=>{let i=[...t,e];this.setState({data:i}),this.handleAddValueCancel();let{onUpdate:s,onDeltaUpdate:c}=this.props;s(r[r.length-1],i),c({type:p9,keyPath:r,deep:n,key:i.length-1,newValue:e})}).catch(o.error)}handleAddValueCancel(){this.setState({addFormVisible:!1})}handleEditValue({key:e,value:t}){return new Promise((r,n)=>{let{beforeUpdateAction:a}=this.props,{data:o,keyPath:i,nextDeep:s}=this.state,c=o[e];a(e,i,s,c,t).then(()=>{o[e]=t,this.setState({data:o});let{onUpdate:d,onDeltaUpdate:f}=this.props;d(i[i.length-1],o),f({type:h9,keyPath:i,deep:s,key:e,newValue:t,oldValue:c}),r(void 0)}).catch(n)})}renderCollapsed(){let{name:e,data:t,keyPath:r,deep:n}=this.state,{handleRemove:a,readOnly:o,getStyle:i,dataType:s,minusMenuElement:c}=this.props,{minus:d,collapsed:f}=i(e,t,r,n,s),m=o(e,t,r,n,s),p=l.cloneElement(c,{onClick:a,className:"rejt-minus-menu",style:d});return v.createElement("span",{className:"rejt-collapsed"},v.createElement("span",{className:"rejt-collapsed-text",style:f,onClick:this.handleCollapseMode},"[...] ",t.length," ",t.length===1?"item":"items"),!m&&p)}renderNotCollapsed(){let{name:e,data:t,keyPath:r,deep:n,addFormVisible:a,nextDeep:o}=this.state,{isCollapsed:i,handleRemove:s,onDeltaUpdate:c,readOnly:d,getStyle:f,dataType:m,addButtonElement:p,cancelButtonElement:h,editButtonElement:g,inputElementGenerator:y,textareaElementGenerator:b,minusMenuElement:C,plusMenuElement:E,beforeRemoveAction:D,beforeAddAction:w,beforeUpdateAction:x,logger:S,onSubmitValueParser:F}=this.props,{minus:A,plus:_,delimiter:R,ul:I,addForm:T}=f(e,t,r,n,m),L=d(e,t,r,n,m),P=l.cloneElement(E,{onClick:this.handleAddMode,className:"rejt-plus-menu",style:_}),M=l.cloneElement(C,{onClick:s,className:"rejt-minus-menu",style:A});return v.createElement("span",{className:"rejt-not-collapsed"},v.createElement("span",{className:"rejt-not-collapsed-delimiter",style:R},"["),!a&&P,v.createElement("ul",{className:"rejt-not-collapsed-list",style:I},t.map((N,q)=>v.createElement(pu,{key:q,name:q.toString(),data:N,keyPath:r,deep:o,isCollapsed:i,handleRemove:this.handleRemoveItem(q),handleUpdateValue:this.handleEditValue,onUpdate:this.onChildUpdate,onDeltaUpdate:c,readOnly:d,getStyle:f,addButtonElement:p,cancelButtonElement:h,editButtonElement:g,inputElementGenerator:y,textareaElementGenerator:b,minusMenuElement:C,plusMenuElement:E,beforeRemoveAction:D,beforeAddAction:w,beforeUpdateAction:x,logger:S,onSubmitValueParser:F}))),!L&&a&&v.createElement("div",{className:"rejt-add-form",style:T},v.createElement(gh,{handleAdd:this.handleAddValueAdd,handleCancel:this.handleAddValueCancel,onlyValue:!0,addButtonElement:p,cancelButtonElement:h,inputElementGenerator:y,keyPath:r,deep:n,onSubmitValueParser:F})),v.createElement("span",{className:"rejt-not-collapsed-delimiter",style:R},"]"),!L&&M)}render(){let{name:e,collapsed:t,data:r,keyPath:n,deep:a}=this.state,{dataType:o,getStyle:i}=this.props,s=t?this.renderCollapsed():this.renderNotCollapsed(),c=i(e,r,n,a,o);return v.createElement("div",{className:"rejt-array-node"},v.createElement("span",{onClick:this.handleCollapseMode},v.createElement("span",{className:"rejt-name",style:c.name},e," :"," ")),s)}};g9.defaultProps={keyPath:[],deep:0,minusMenuElement:v.createElement("span",null," - "),plusMenuElement:v.createElement("span",null," + ")};var v9=class extends l.Component{constructor(e){super(e);let t=[...e.keyPath,e.name];this.state={value:e.value,name:e.name,keyPath:t,deep:e.deep,editEnabled:!1,inputRef:null},this.handleEditMode=this.handleEditMode.bind(this),this.refInput=this.refInput.bind(this),this.handleCancelEdit=this.handleCancelEdit.bind(this),this.handleEdit=this.handleEdit.bind(this),this.onKeydown=this.onKeydown.bind(this)}static getDerivedStateFromProps(e,t){return e.value!==t.value?{value:e.value}:null}componentDidUpdate(){let{editEnabled:e,inputRef:t,name:r,value:n,keyPath:a,deep:o}=this.state,{readOnly:i,dataType:s}=this.props,c=i(r,n,a,o,s);e&&!c&&typeof t.focus=="function"&&t.focus()}componentDidMount(){document.addEventListener("keydown",this.onKeydown)}componentWillUnmount(){document.removeEventListener("keydown",this.onKeydown)}onKeydown(e){e.altKey||e.ctrlKey||e.metaKey||e.shiftKey||e.repeat||((e.code==="Enter"||e.key==="Enter")&&(e.preventDefault(),this.handleEdit()),(e.code==="Escape"||e.key==="Escape")&&(e.preventDefault(),this.handleCancelEdit()))}handleEdit(){let{handleUpdateValue:e,originalValue:t,logger:r,onSubmitValueParser:n,keyPath:a}=this.props,{inputRef:o,name:i,deep:s}=this.state;if(!o)return;let c=n(!0,a,s,i,o.value);e({value:c,key:i}).then(()=>{m9(t,c)||this.handleCancelEdit()}).catch(r.error)}handleEditMode(){this.setState({editEnabled:!0})}refInput(e){this.state.inputRef=e}handleCancelEdit(){this.setState({editEnabled:!1})}render(){let{name:e,value:t,editEnabled:r,keyPath:n,deep:a}=this.state,{handleRemove:o,originalValue:i,readOnly:s,dataType:c,getStyle:d,editButtonElement:f,cancelButtonElement:m,textareaElementGenerator:p,minusMenuElement:h,keyPath:g}=this.props,y=d(e,i,n,a,c),b=null,C=null,E=s(e,i,n,a,c);if(r&&!E){let D=p(mh,g,a,e,i,c),w=l.cloneElement(f,{onClick:this.handleEdit}),x=l.cloneElement(m,{onClick:this.handleCancelEdit}),S=l.cloneElement(D,{ref:this.refInput,defaultValue:i});b=v.createElement("span",{className:"rejt-edit-form",style:y.editForm},S," ",x,w),C=null}else{b=v.createElement("span",{className:"rejt-value",style:y.value,onClick:E?null:this.handleEditMode},t);let D=l.cloneElement(h,{onClick:o,className:"rejt-minus-menu",style:y.minus});C=E?null:D}return v.createElement("li",{className:"rejt-function-value-node",style:y.li},v.createElement("span",{className:"rejt-name",style:y.name},e," :"," "),b,C)}};v9.defaultProps={keyPath:[],deep:0,handleUpdateValue:()=>{},editButtonElement:v.createElement("button",null,"e"),cancelButtonElement:v.createElement("button",null,"c"),minusMenuElement:v.createElement("span",null," - ")};var pu=class extends l.Component{constructor(e){super(e),this.state={data:e.data,name:e.name,keyPath:e.keyPath,deep:e.deep}}static getDerivedStateFromProps(e,t){return e.data!==t.data?{data:e.data}:null}render(){let{data:e,name:t,keyPath:r,deep:n}=this.state,{isCollapsed:a,handleRemove:o,handleUpdateValue:i,onUpdate:s,onDeltaUpdate:c,readOnly:d,getStyle:f,addButtonElement:m,cancelButtonElement:p,editButtonElement:h,inputElementGenerator:g,textareaElementGenerator:y,minusMenuElement:b,plusMenuElement:C,beforeRemoveAction:E,beforeAddAction:D,beforeUpdateAction:w,logger:x,onSubmitValueParser:S}=this.props,F=()=>!0,A=an(e);switch(A){case bP:return v.createElement(U1,{data:e,name:t,isCollapsed:a,keyPath:r,deep:n,handleRemove:o,onUpdate:s,onDeltaUpdate:c,readOnly:F,dataType:A,getStyle:f,addButtonElement:m,cancelButtonElement:p,editButtonElement:h,inputElementGenerator:g,textareaElementGenerator:y,minusMenuElement:b,plusMenuElement:C,beforeRemoveAction:E,beforeAddAction:D,beforeUpdateAction:w,logger:x,onSubmitValueParser:S});case wP:return v.createElement(U1,{data:e,name:t,isCollapsed:a,keyPath:r,deep:n,handleRemove:o,onUpdate:s,onDeltaUpdate:c,readOnly:d,dataType:A,getStyle:f,addButtonElement:m,cancelButtonElement:p,editButtonElement:h,inputElementGenerator:g,textareaElementGenerator:y,minusMenuElement:b,plusMenuElement:C,beforeRemoveAction:E,beforeAddAction:D,beforeUpdateAction:w,logger:x,onSubmitValueParser:S});case DP:return v.createElement(g9,{data:e,name:t,isCollapsed:a,keyPath:r,deep:n,handleRemove:o,onUpdate:s,onDeltaUpdate:c,readOnly:d,dataType:A,getStyle:f,addButtonElement:m,cancelButtonElement:p,editButtonElement:h,inputElementGenerator:g,textareaElementGenerator:y,minusMenuElement:b,plusMenuElement:C,beforeRemoveAction:E,beforeAddAction:D,beforeUpdateAction:w,logger:x,onSubmitValueParser:S});case EP:return v.createElement(gr,{name:t,value:`"${e}"`,originalValue:e,keyPath:r,deep:n,handleRemove:o,handleUpdateValue:i,readOnly:d,dataType:A,getStyle:f,cancelButtonElement:p,editButtonElement:h,inputElementGenerator:g,minusMenuElement:b,logger:x,onSubmitValueParser:S});case CP:return v.createElement(gr,{name:t,value:e,originalValue:e,keyPath:r,deep:n,handleRemove:o,handleUpdateValue:i,readOnly:d,dataType:A,getStyle:f,cancelButtonElement:p,editButtonElement:h,inputElementGenerator:g,minusMenuElement:b,logger:x,onSubmitValueParser:S});case xP:return v.createElement(gr,{name:t,value:e?"true":"false",originalValue:e,keyPath:r,deep:n,handleRemove:o,handleUpdateValue:i,readOnly:d,dataType:A,getStyle:f,cancelButtonElement:p,editButtonElement:h,inputElementGenerator:g,minusMenuElement:b,logger:x,onSubmitValueParser:S});case SP:return v.createElement(gr,{name:t,value:e.toISOString(),originalValue:e,keyPath:r,deep:n,handleRemove:o,handleUpdateValue:i,readOnly:F,dataType:A,getStyle:f,cancelButtonElement:p,editButtonElement:h,inputElementGenerator:g,minusMenuElement:b,logger:x,onSubmitValueParser:S});case FP:return v.createElement(gr,{name:t,value:"null",originalValue:"null",keyPath:r,deep:n,handleRemove:o,handleUpdateValue:i,readOnly:d,dataType:A,getStyle:f,cancelButtonElement:p,editButtonElement:h,inputElementGenerator:g,minusMenuElement:b,logger:x,onSubmitValueParser:S});case AP:return v.createElement(gr,{name:t,value:"undefined",originalValue:"undefined",keyPath:r,deep:n,handleRemove:o,handleUpdateValue:i,readOnly:d,dataType:A,getStyle:f,cancelButtonElement:p,editButtonElement:h,inputElementGenerator:g,minusMenuElement:b,logger:x,onSubmitValueParser:S});case kP:return v.createElement(v9,{name:t,value:e.toString(),originalValue:e,keyPath:r,deep:n,handleRemove:o,handleUpdateValue:i,readOnly:d,dataType:A,getStyle:f,cancelButtonElement:p,editButtonElement:h,textareaElementGenerator:y,minusMenuElement:b,logger:x,onSubmitValueParser:S});case _P:return v.createElement(gr,{name:t,value:e.toString(),originalValue:e,keyPath:r,deep:n,handleRemove:o,handleUpdateValue:i,readOnly:F,dataType:A,getStyle:f,cancelButtonElement:p,editButtonElement:h,inputElementGenerator:g,minusMenuElement:b,logger:x,onSubmitValueParser:S});default:return null}}};pu.defaultProps={keyPath:[],deep:0};var U1=class extends l.Component{constructor(e){super(e);let t=e.deep===-1?[]:[...e.keyPath,e.name];this.state={name:e.name,data:e.data,keyPath:t,deep:e.deep,nextDeep:e.deep+1,collapsed:e.isCollapsed(t,e.deep,e.data),addFormVisible:!1},this.handleCollapseMode=this.handleCollapseMode.bind(this),this.handleRemoveValue=this.handleRemoveValue.bind(this),this.handleAddMode=this.handleAddMode.bind(this),this.handleAddValueAdd=this.handleAddValueAdd.bind(this),this.handleAddValueCancel=this.handleAddValueCancel.bind(this),this.handleEditValue=this.handleEditValue.bind(this),this.onChildUpdate=this.onChildUpdate.bind(this),this.renderCollapsed=this.renderCollapsed.bind(this),this.renderNotCollapsed=this.renderNotCollapsed.bind(this)}static getDerivedStateFromProps(e,t){return e.data!==t.data?{data:e.data}:null}onChildUpdate(e,t){let{data:r,keyPath:n}=this.state;r[e]=t,this.setState({data:r});let{onUpdate:a}=this.props,o=n.length;a(n[o-1],r)}handleAddMode(){this.setState({addFormVisible:!0})}handleAddValueCancel(){this.setState({addFormVisible:!1})}handleAddValueAdd({key:e,newValue:t}){let{data:r,keyPath:n,nextDeep:a}=this.state,{beforeAddAction:o,logger:i}=this.props;o(e,n,a,t).then(()=>{r[e]=t,this.setState({data:r}),this.handleAddValueCancel();let{onUpdate:s,onDeltaUpdate:c}=this.props;s(n[n.length-1],r),c({type:p9,keyPath:n,deep:a,key:e,newValue:t})}).catch(i.error)}handleRemoveValue(e){return()=>{let{beforeRemoveAction:t,logger:r}=this.props,{data:n,keyPath:a,nextDeep:o}=this.state,i=n[e];t(e,a,o,i).then(()=>{let s={keyPath:a,deep:o,key:e,oldValue:i,type:f9};delete n[e],this.setState({data:n});let{onUpdate:c,onDeltaUpdate:d}=this.props;c(a[a.length-1],n),d(s)}).catch(r.error)}}handleCollapseMode(){this.setState(e=>({collapsed:!e.collapsed}))}handleEditValue({key:e,value:t}){return new Promise((r,n)=>{let{beforeUpdateAction:a}=this.props,{data:o,keyPath:i,nextDeep:s}=this.state,c=o[e];a(e,i,s,c,t).then(()=>{o[e]=t,this.setState({data:o});let{onUpdate:d,onDeltaUpdate:f}=this.props;d(i[i.length-1],o),f({type:h9,keyPath:i,deep:s,key:e,newValue:t,oldValue:c}),r()}).catch(n)})}renderCollapsed(){let{name:e,keyPath:t,deep:r,data:n}=this.state,{handleRemove:a,readOnly:o,dataType:i,getStyle:s,minusMenuElement:c}=this.props,{minus:d,collapsed:f}=s(e,n,t,r,i),m=Object.getOwnPropertyNames(n),p=o(e,n,t,r,i),h=l.cloneElement(c,{onClick:a,className:"rejt-minus-menu",style:d});return v.createElement("span",{className:"rejt-collapsed"},v.createElement("span",{className:"rejt-collapsed-text",style:f,onClick:this.handleCollapseMode},"{...}"," ",m.length," ",m.length===1?"key":"keys"),!p&&h)}renderNotCollapsed(){let{name:e,data:t,keyPath:r,deep:n,nextDeep:a,addFormVisible:o}=this.state,{isCollapsed:i,handleRemove:s,onDeltaUpdate:c,readOnly:d,getStyle:f,dataType:m,addButtonElement:p,cancelButtonElement:h,editButtonElement:g,inputElementGenerator:y,textareaElementGenerator:b,minusMenuElement:C,plusMenuElement:E,beforeRemoveAction:D,beforeAddAction:w,beforeUpdateAction:x,logger:S,onSubmitValueParser:F}=this.props,{minus:A,plus:_,addForm:R,ul:I,delimiter:T}=f(e,t,r,n,m),L=Object.getOwnPropertyNames(t),P=d(e,t,r,n,m),M=l.cloneElement(E,{onClick:this.handleAddMode,className:"rejt-plus-menu",style:_}),N=l.cloneElement(C,{onClick:s,className:"rejt-minus-menu",style:A}),q=L.map(W=>v.createElement(pu,{key:W,name:W,data:t[W],keyPath:r,deep:a,isCollapsed:i,handleRemove:this.handleRemoveValue(W),handleUpdateValue:this.handleEditValue,onUpdate:this.onChildUpdate,onDeltaUpdate:c,readOnly:d,getStyle:f,addButtonElement:p,cancelButtonElement:h,editButtonElement:g,inputElementGenerator:y,textareaElementGenerator:b,minusMenuElement:C,plusMenuElement:E,beforeRemoveAction:D,beforeAddAction:w,beforeUpdateAction:x,logger:S,onSubmitValueParser:F}));return v.createElement("span",{className:"rejt-not-collapsed"},v.createElement("span",{className:"rejt-not-collapsed-delimiter",style:T},"{"),!P&&M,v.createElement("ul",{className:"rejt-not-collapsed-list",style:I},q),!P&&o&&v.createElement("div",{className:"rejt-add-form",style:R},v.createElement(gh,{handleAdd:this.handleAddValueAdd,handleCancel:this.handleAddValueCancel,addButtonElement:p,cancelButtonElement:h,inputElementGenerator:y,keyPath:r,deep:n,onSubmitValueParser:F})),v.createElement("span",{className:"rejt-not-collapsed-delimiter",style:T},"}"),!P&&N)}render(){let{name:e,collapsed:t,data:r,keyPath:n,deep:a}=this.state,{getStyle:o,dataType:i}=this.props,s=t?this.renderCollapsed():this.renderNotCollapsed(),c=o(e,r,n,a,i);return v.createElement("div",{className:"rejt-object-node"},v.createElement("span",{onClick:this.handleCollapseMode},v.createElement("span",{className:"rejt-name",style:c.name},e," :"," ")),s)}};U1.defaultProps={keyPath:[],deep:0,minusMenuElement:v.createElement("span",null," - "),plusMenuElement:v.createElement("span",null," + ")};var gr=class extends l.Component{constructor(e){super(e);let t=[...e.keyPath,e.name];this.state={value:e.value,name:e.name,keyPath:t,deep:e.deep,editEnabled:!1,inputRef:null},this.handleEditMode=this.handleEditMode.bind(this),this.refInput=this.refInput.bind(this),this.handleCancelEdit=this.handleCancelEdit.bind(this),this.handleEdit=this.handleEdit.bind(this),this.onKeydown=this.onKeydown.bind(this)}static getDerivedStateFromProps(e,t){return e.value!==t.value?{value:e.value}:null}componentDidUpdate(){let{editEnabled:e,inputRef:t,name:r,value:n,keyPath:a,deep:o}=this.state,{readOnly:i,dataType:s}=this.props,c=i(r,n,a,o,s);e&&!c&&typeof t.focus=="function"&&t.focus()}componentDidMount(){document.addEventListener("keydown",this.onKeydown)}componentWillUnmount(){document.removeEventListener("keydown",this.onKeydown)}onKeydown(e){e.altKey||e.ctrlKey||e.metaKey||e.shiftKey||e.repeat||((e.code==="Enter"||e.key==="Enter")&&(e.preventDefault(),this.handleEdit()),(e.code==="Escape"||e.key==="Escape")&&(e.preventDefault(),this.handleCancelEdit()))}handleEdit(){let{handleUpdateValue:e,originalValue:t,logger:r,onSubmitValueParser:n,keyPath:a}=this.props,{inputRef:o,name:i,deep:s}=this.state;if(!o)return;let c=n(!0,a,s,i,o.value);e({value:c,key:i}).then(()=>{m9(t,c)||this.handleCancelEdit()}).catch(r.error)}handleEditMode(){this.setState({editEnabled:!0})}refInput(e){this.state.inputRef=e}handleCancelEdit(){this.setState({editEnabled:!1})}render(){let{name:e,value:t,editEnabled:r,keyPath:n,deep:a}=this.state,{handleRemove:o,originalValue:i,readOnly:s,dataType:c,getStyle:d,editButtonElement:f,cancelButtonElement:m,inputElementGenerator:p,minusMenuElement:h,keyPath:g}=this.props,y=d(e,i,n,a,c),b=s(e,i,n,a,c),C=r&&!b,E=p(mh,g,a,e,i,c),D=l.cloneElement(f,{onClick:this.handleEdit}),w=l.cloneElement(m,{onClick:this.handleCancelEdit}),x=l.cloneElement(E,{ref:this.refInput,defaultValue:JSON.stringify(i)}),S=l.cloneElement(h,{onClick:o,className:"rejt-minus-menu",style:y.minus});return v.createElement("li",{className:"rejt-value-node",style:y.li},v.createElement("span",{className:"rejt-name",style:y.name},e," : "),C?v.createElement("span",{className:"rejt-edit-form",style:y.editForm},x," ",w,D):v.createElement("span",{className:"rejt-value",style:y.value,onClick:b?null:this.handleEditMode},String(t)),!b&&!C&&S)}};gr.defaultProps={keyPath:[],deep:0,handleUpdateValue:()=>Promise.resolve(),editButtonElement:v.createElement("button",null,"e"),cancelButtonElement:v.createElement("button",null,"c"),minusMenuElement:v.createElement("span",null," - ")};function RP(e){let t=e;if(t.indexOf("function")===0)return(0,eval)(`(${t})`);try{t=JSON.parse(e)}catch{}return t}var IP={minus:{color:"red"},plus:{color:"green"},collapsed:{color:"grey"},delimiter:{},ul:{padding:"0px",margin:"0 0 0 25px",listStyle:"none"},name:{color:"#2287CD"},addForm:{}},zP={minus:{color:"red"},plus:{color:"green"},collapsed:{color:"grey"},delimiter:{},ul:{padding:"0px",margin:"0 0 0 25px",listStyle:"none"},name:{color:"#2287CD"},addForm:{}},TP={minus:{color:"red"},editForm:{},value:{color:"#7bba3d"},li:{minHeight:"22px",lineHeight:"22px",outline:"0px"},name:{color:"#2287CD"}},y9=class extends l.Component{constructor(e){super(e),this.state={data:e.data,rootName:e.rootName},this.onUpdate=this.onUpdate.bind(this),this.removeRoot=this.removeRoot.bind(this)}static getDerivedStateFromProps(e,t){return e.data!==t.data||e.rootName!==t.rootName?{data:e.data,rootName:e.rootName}:null}onUpdate(e,t){this.setState({data:t}),this.props.onFullyUpdate(t)}removeRoot(){this.onUpdate(null,null)}render(){let{data:e,rootName:t}=this.state,{isCollapsed:r,onDeltaUpdate:n,readOnly:a,getStyle:o,addButtonElement:i,cancelButtonElement:s,editButtonElement:c,inputElement:d,textareaElement:f,minusMenuElement:m,plusMenuElement:p,beforeRemoveAction:h,beforeAddAction:g,beforeUpdateAction:y,logger:b,onSubmitValueParser:C,fallback:E=null}=this.props,D=an(e),w=a;an(a)==="Boolean"&&(w=()=>a);let x=d;d&&an(d)!=="Function"&&(x=()=>d);let S=f;return f&&an(f)!=="Function"&&(S=()=>f),D==="Object"||D==="Array"?v.createElement("div",{className:"rejt-tree"},v.createElement(pu,{data:e,name:t,deep:-1,isCollapsed:r,onUpdate:this.onUpdate,onDeltaUpdate:n,readOnly:w,getStyle:o,addButtonElement:i,cancelButtonElement:s,editButtonElement:c,inputElementGenerator:x,textareaElementGenerator:S,minusMenuElement:m,plusMenuElement:p,handleRemove:this.removeRoot,beforeRemoveAction:h,beforeAddAction:g,beforeUpdateAction:y,logger:b,onSubmitValueParser:C})):E}};y9.defaultProps={rootName:"root",isCollapsed:(e,t)=>t!==-1,getStyle:(e,t,r,n,a)=>{switch(a){case"Object":case"Error":return IP;case"Array":return zP;default:return TP}},readOnly:()=>!1,onFullyUpdate:()=>{},onDeltaUpdate:()=>{},beforeRemoveAction:()=>Promise.resolve(),beforeAddAction:()=>Promise.resolve(),beforeUpdateAction:()=>Promise.resolve(),logger:{error:()=>{}},onSubmitValueParser:(e,t,r,n,a)=>RP(a),inputElement:()=>v.createElement("input",null),textareaElement:()=>v.createElement("textarea",null),fallback:null};var{window:LP}=globalThis,MP=k.div(({theme:e})=>({position:"relative",display:"flex",'&[aria-readonly="true"]':{opacity:.5},".rejt-tree":{marginLeft:"1rem",fontSize:"13px"},".rejt-value-node, .rejt-object-node > .rejt-collapsed, .rejt-array-node > .rejt-collapsed, .rejt-object-node > .rejt-not-collapsed, .rejt-array-node > .rejt-not-collapsed":{"& > svg":{opacity:0,transition:"opacity 0.2s"}},".rejt-value-node:hover, .rejt-object-node:hover > .rejt-collapsed, .rejt-array-node:hover > .rejt-collapsed, .rejt-object-node:hover > .rejt-not-collapsed, .rejt-array-node:hover > .rejt-not-collapsed":{"& > svg":{opacity:1}},".rejt-edit-form button":{display:"none"},".rejt-add-form":{marginLeft:10},".rejt-add-value-node":{display:"inline-flex",alignItems:"center"},".rejt-name":{lineHeight:"22px"},".rejt-not-collapsed-delimiter":{lineHeight:"22px"},".rejt-plus-menu":{marginLeft:5},".rejt-object-node > span > *, .rejt-array-node > span > *":{position:"relative",zIndex:2},".rejt-object-node, .rejt-array-node":{position:"relative"},".rejt-object-node > span:first-of-type::after, .rejt-array-node > span:first-of-type::after, .rejt-collapsed::before, .rejt-not-collapsed::before":{content:'""',position:"absolute",top:0,display:"block",width:"100%",marginLeft:"-1rem",padding:"0 4px 0 1rem",height:22},".rejt-collapsed::before, .rejt-not-collapsed::before":{zIndex:1,background:"transparent",borderRadius:4,transition:"background 0.2s",pointerEvents:"none",opacity:.1},".rejt-object-node:hover, .rejt-array-node:hover":{"& > .rejt-collapsed::before, & > .rejt-not-collapsed::before":{background:e.color.secondary}},".rejt-collapsed::after, .rejt-not-collapsed::after":{content:'""',position:"absolute",display:"inline-block",pointerEvents:"none",width:0,height:0},".rejt-collapsed::after":{left:-8,top:8,borderTop:"3px solid transparent",borderBottom:"3px solid transparent",borderLeft:"3px solid rgba(153,153,153,0.6)"},".rejt-not-collapsed::after":{left:-10,top:10,borderTop:"3px solid rgba(153,153,153,0.6)",borderLeft:"3px solid transparent",borderRight:"3px solid transparent"},".rejt-value":{display:"inline-block",border:"1px solid transparent",borderRadius:4,margin:"1px 0",padding:"0 4px",cursor:"text",color:e.color.defaultText},".rejt-value-node:hover > .rejt-value":{background:e.color.lighter,borderColor:e.appBorderColor}})),N0=k.button(({theme:e,primary:t})=>({border:0,height:20,margin:1,borderRadius:4,background:t?e.color.secondary:"transparent",color:t?e.color.lightest:e.color.dark,fontWeight:t?"bold":"normal",cursor:"pointer",order:t?"initial":9})),OP=k(AL)(({theme:e,disabled:t})=>({display:"inline-block",verticalAlign:"middle",width:15,height:15,padding:3,marginLeft:5,cursor:t?"not-allowed":"pointer",color:e.textMutedColor,"&:hover":t?{}:{color:e.color.ancillary},"svg + &":{marginLeft:0}})),PP=k(kL)(({theme:e,disabled:t})=>({display:"inline-block",verticalAlign:"middle",width:15,height:15,padding:3,marginLeft:5,cursor:t?"not-allowed":"pointer",color:e.textMutedColor,"&:hover":t?{}:{color:e.color.negative},"svg + &":{marginLeft:0}})),P4=k.input(({theme:e,placeholder:t})=>({outline:0,margin:t?1:"1px 0",padding:"3px 4px",color:e.color.defaultText,background:e.background.app,border:`1px solid ${e.appBorderColor}`,borderRadius:4,lineHeight:"14px",width:t==="Key"?80:120,"&:focus":{border:`1px solid ${e.color.secondary}`}})),NP=k(un)(({theme:e})=>({position:"absolute",zIndex:2,top:2,right:2,height:21,padding:"0 3px",background:e.background.bar,border:`1px solid ${e.appBorderColor}`,borderRadius:3,color:e.textMutedColor,fontSize:"9px",fontWeight:"bold",textDecoration:"none",span:{marginLeft:3,marginTop:1}})),HP=k(gi.Textarea)(({theme:e})=>({flex:1,padding:"7px 6px",fontFamily:e.typography.fonts.mono,fontSize:"12px",lineHeight:"18px","&::placeholder":{fontFamily:e.typography.fonts.base,fontSize:"13px"},"&:placeholder-shown":{padding:"7px 10px"}})),$P={bubbles:!0,cancelable:!0,key:"Enter",code:"Enter",keyCode:13},jP=e=>{e.currentTarget.dispatchEvent(new LP.KeyboardEvent("keydown",$P))},VP=e=>{e.currentTarget.select()},UP=e=>()=>({name:{color:e.color.secondary},collapsed:{color:e.color.dark},ul:{listStyle:"none",margin:"0 0 0 1rem",padding:0},li:{outline:0}}),N4=({name:e,value:t,onChange:r,argType:n})=>{var D;let a=F3(),o=l.useMemo(()=>t&&uC(t),[t]),i=o!=null,[s,c]=l.useState(!i),[d,f]=l.useState(null),m=!!((D=n==null?void 0:n.table)!=null&&D.readonly),p=l.useCallback(w=>{try{w&&r(JSON.parse(w)),f(void 0)}catch(x){f(x)}},[r]),[h,g]=l.useState(!1),y=l.useCallback(()=>{r({}),g(!0)},[g]),b=l.useRef(null);if(l.useEffect(()=>{h&&b.current&&b.current.select()},[h]),!i)return v.createElement(Fn,{disabled:m,id:ms(e),onClick:y},"Set object");let C=v.createElement(HP,{ref:b,id:Ct(e),name:e,defaultValue:t===null?"":JSON.stringify(t,null,2),onBlur:w=>p(w.target.value),placeholder:"Edit JSON string...",autoFocus:h,valid:d?"error":null,readOnly:m}),E=Array.isArray(t)||typeof t=="object"&&(t==null?void 0:t.constructor)===Object;return v.createElement(MP,{"aria-readonly":m},E&&v.createElement(NP,{onClick:w=>{w.preventDefault(),c(x=>!x)}},s?v.createElement(SL,null):v.createElement(xL,null),v.createElement("span",null,"RAW")),s?C:v.createElement(y9,{readOnly:m||!E,isCollapsed:E?void 0:()=>!0,data:o,rootName:e,onFullyUpdate:r,getStyle:UP(a),cancelButtonElement:v.createElement(N0,{type:"button"},"Cancel"),editButtonElement:v.createElement(N0,{type:"submit"},"Save"),addButtonElement:v.createElement(N0,{type:"submit",primary:!0},"Save"),plusMenuElement:v.createElement(OP,null),minusMenuElement:v.createElement(PP,null),inputElement:(w,x,S,F)=>F?v.createElement(P4,{onFocus:VP,onBlur:jP}):v.createElement(P4,null),fallback:C}))},qP=k.input(({theme:e,min:t,max:r,value:n,disabled:a})=>({"&":{width:"100%",backgroundColor:"transparent",appearance:"none"},"&::-webkit-slider-runnable-track":{background:e.base==="light"?`linear-gradient(to right, - ${e.color.green} 0%, ${e.color.green} ${(n-t)/(r-t)*100}%, - ${Mt(.02,e.input.background)} ${(n-t)/(r-t)*100}%, - ${Mt(.02,e.input.background)} 100%)`:`linear-gradient(to right, - ${e.color.green} 0%, ${e.color.green} ${(n-t)/(r-t)*100}%, - ${Yr(.02,e.input.background)} ${(n-t)/(r-t)*100}%, - ${Yr(.02,e.input.background)} 100%)`,boxShadow:`${e.appBorderColor} 0 0 0 1px inset`,borderRadius:6,width:"100%",height:6,cursor:a?"not-allowed":"pointer"},"&::-webkit-slider-thumb":{marginTop:"-6px",width:16,height:16,border:`1px solid ${sr(e.appBorderColor,.2)}`,borderRadius:"50px",boxShadow:`0 1px 3px 0px ${sr(e.appBorderColor,.2)}`,cursor:a?"not-allowed":"grab",appearance:"none",background:`${e.input.background}`,transition:"all 150ms ease-out","&:hover":{background:`${Mt(.05,e.input.background)}`,transform:"scale3d(1.1, 1.1, 1.1) translateY(-1px)",transition:"all 50ms ease-out"},"&:active":{background:`${e.input.background}`,transform:"scale3d(1, 1, 1) translateY(0px)",cursor:a?"not-allowed":"grab"}},"&:focus":{outline:"none","&::-webkit-slider-runnable-track":{borderColor:sr(e.color.secondary,.4)},"&::-webkit-slider-thumb":{borderColor:e.color.secondary,boxShadow:`0 0px 5px 0px ${e.color.secondary}`}},"&::-moz-range-track":{background:e.base==="light"?`linear-gradient(to right, - ${e.color.green} 0%, ${e.color.green} ${(n-t)/(r-t)*100}%, - ${Mt(.02,e.input.background)} ${(n-t)/(r-t)*100}%, - ${Mt(.02,e.input.background)} 100%)`:`linear-gradient(to right, - ${e.color.green} 0%, ${e.color.green} ${(n-t)/(r-t)*100}%, - ${Yr(.02,e.input.background)} ${(n-t)/(r-t)*100}%, - ${Yr(.02,e.input.background)} 100%)`,boxShadow:`${e.appBorderColor} 0 0 0 1px inset`,borderRadius:6,width:"100%",height:6,cursor:a?"not-allowed":"pointer",outline:"none"},"&::-moz-range-thumb":{width:16,height:16,border:`1px solid ${sr(e.appBorderColor,.2)}`,borderRadius:"50px",boxShadow:`0 1px 3px 0px ${sr(e.appBorderColor,.2)}`,cursor:a?"not-allowed":"grap",background:`${e.input.background}`,transition:"all 150ms ease-out","&:hover":{background:`${Mt(.05,e.input.background)}`,transform:"scale3d(1.1, 1.1, 1.1) translateY(-1px)",transition:"all 50ms ease-out"},"&:active":{background:`${e.input.background}`,transform:"scale3d(1, 1, 1) translateY(0px)",cursor:"grabbing"}},"&::-ms-track":{background:e.base==="light"?`linear-gradient(to right, - ${e.color.green} 0%, ${e.color.green} ${(n-t)/(r-t)*100}%, - ${Mt(.02,e.input.background)} ${(n-t)/(r-t)*100}%, - ${Mt(.02,e.input.background)} 100%)`:`linear-gradient(to right, - ${e.color.green} 0%, ${e.color.green} ${(n-t)/(r-t)*100}%, - ${Yr(.02,e.input.background)} ${(n-t)/(r-t)*100}%, - ${Yr(.02,e.input.background)} 100%)`,boxShadow:`${e.appBorderColor} 0 0 0 1px inset`,color:"transparent",width:"100%",height:"6px",cursor:"pointer"},"&::-ms-fill-lower":{borderRadius:6},"&::-ms-fill-upper":{borderRadius:6},"&::-ms-thumb":{width:16,height:16,background:`${e.input.background}`,border:`1px solid ${sr(e.appBorderColor,.2)}`,borderRadius:50,cursor:"grab",marginTop:0},"@supports (-ms-ime-align:auto)":{"input[type=range]":{margin:"0"}}})),b9=k.span({paddingLeft:5,paddingRight:5,fontSize:12,whiteSpace:"nowrap",fontFeatureSettings:"tnum",fontVariantNumeric:"tabular-nums","[aria-readonly=true] &":{opacity:.5}}),WP=k(b9)(({numberOFDecimalsPlaces:e,max:t})=>({width:`${e+t.toString().length*2+3}ch`,textAlign:"right",flexShrink:0})),GP=k.div({display:"flex",alignItems:"center",width:"100%"});function KP(e){let t=e.toString().match(/(?:\.(\d+))?(?:[eE]([+-]?\d+))?$/);return t?Math.max(0,(t[1]?t[1].length:0)-(t[2]?+t[2]:0)):0}var YP=({name:e,value:t,onChange:r,min:n=0,max:a=100,step:o=1,onBlur:i,onFocus:s,argType:c})=>{var h;let d=g=>{r(oP(g.target.value))},f=t!==void 0,m=l.useMemo(()=>KP(o),[o]),p=!!((h=c==null?void 0:c.table)!=null&&h.readonly);return v.createElement(GP,{"aria-readonly":p},v.createElement(b9,null,n),v.createElement(qP,{id:Ct(e),type:"range",disabled:p,onChange:d,name:e,value:t,min:n,max:a,step:o,onFocus:s,onBlur:i}),v.createElement(WP,{numberOFDecimalsPlaces:m,max:a},f?t.toFixed(m):"--"," / ",a))},JP=k.label({display:"flex"}),ZP=k.div(({isMaxed:e})=>({marginLeft:"0.75rem",paddingTop:"0.35rem",color:e?"red":void 0})),XP=({name:e,value:t,onChange:r,onFocus:n,onBlur:a,maxLength:o,argType:i})=>{var h;let s=g=>{r(g.target.value)},c=!!((h=i==null?void 0:i.table)!=null&&h.readonly),[d,f]=l.useState(!1),m=l.useCallback(()=>{r(""),f(!0)},[f]);if(t===void 0)return v.createElement(Fn,{variant:"outline",size:"medium",disabled:c,id:ms(e),onClick:m},"Set string");let p=typeof t=="string";return v.createElement(JP,null,v.createElement(gi.Textarea,{id:Ct(e),maxLength:o,onChange:s,disabled:c,size:"flex",placeholder:"Edit string...",autoFocus:d,valid:p?null:"error",name:e,value:p?t:"",onFocus:n,onBlur:a}),o&&v.createElement(ZP,{isMaxed:(t==null?void 0:t.length)===o},(t==null?void 0:t.length)??0," / ",o))},QP=k(gi.Input)({padding:10});function eN(e){e.forEach(t=>{t.startsWith("blob:")&&URL.revokeObjectURL(t)})}var tN=({onChange:e,name:t,accept:r="image/*",value:n,argType:a})=>{var c;let o=l.useRef(null),i=(c=a==null?void 0:a.control)==null?void 0:c.readOnly;function s(d){if(!d.target.files)return;let f=Array.from(d.target.files).map(m=>URL.createObjectURL(m));e(f),eN(n)}return l.useEffect(()=>{n==null&&o.current&&(o.current.value=null)},[n,t]),v.createElement(QP,{ref:o,id:Ct(t),type:"file",name:t,multiple:!0,disabled:i,onChange:s,accept:r,size:"flex"})},rN=l.lazy(()=>Y1(()=>import("./Color-YHDXOIA2-04c9e855.js"),["./Color-YHDXOIA2-04c9e855.js","./index-93f6b7ae.js","./iframe-145c4ff1.js","./jsx-runtime-6d9837fe.js","./index-03a57050.js","./index-ba5305b1.js","./index-356e4a49.js","./react-18-ff0899e5.js"],import.meta.url)),nN=e=>v.createElement(l.Suspense,{fallback:v.createElement("div",null)},v.createElement(rN,{...e})),aN={array:N4,object:N4,boolean:ZO,color:nN,date:nP,number:lP,check:Pn,"inline-check":Pn,radio:Pn,"inline-radio":Pn,select:Pn,"multi-select":Pn,range:YP,text:XP,file:tN},H4=()=>v.createElement(v.Fragment,null,"-"),oN=({row:e,arg:t,updateArgs:r,isHovered:n})=>{var y;let{key:a,control:o}=e,[i,s]=l.useState(!1),[c,d]=l.useState({value:t});l.useEffect(()=>{i||d({value:t})},[i,t]);let f=l.useCallback(b=>(d({value:b}),r({[a]:b}),b),[r,a]),m=l.useCallback(()=>s(!1),[]),p=l.useCallback(()=>s(!0),[]);if(!o||o.disable){let b=(o==null?void 0:o.disable)!==!0&&((y=e==null?void 0:e.type)==null?void 0:y.name)!=="function";return n&&b?v.createElement(aa,{href:"https://storybook.js.org/docs/essentials/controls",target:"_blank",withArrow:!0},"Setup controls"):v.createElement(H4,null)}let h={name:a,argType:e,value:c.value,onChange:f,onBlur:m,onFocus:p},g=aN[o.type]||H4;return v.createElement(g,{...h,...o,controlType:o.type})},iN=k.table(({theme:e})=>({"&&":{borderCollapse:"collapse",borderSpacing:0,border:"none",tr:{border:"none !important",background:"none"},"td, th":{padding:0,border:"none",width:"auto!important"},marginTop:0,marginBottom:0,"th:first-of-type, td:first-of-type":{paddingLeft:0},"th:last-of-type, td:last-of-type":{paddingRight:0},td:{paddingTop:0,paddingBottom:4,"&:not(:first-of-type)":{paddingLeft:10,paddingRight:0}},tbody:{boxShadow:"none",border:"none"},code:Lr({theme:e}),div:{span:{fontWeight:"bold"}},"& code":{margin:0,display:"inline-block",fontSize:e.typography.size.s1}}})),lN=({tags:e})=>{let t=(e.params||[]).filter(o=>o.description),r=t.length!==0,n=e.deprecated!=null,a=e.returns!=null&&e.returns.description!=null;return!r&&!a&&!n?null:v.createElement(v.Fragment,null,v.createElement(iN,null,v.createElement("tbody",null,n&&v.createElement("tr",{key:"deprecated"},v.createElement("td",{colSpan:2},v.createElement("strong",null,"Deprecated"),": ",e.deprecated.toString())),r&&t.map(o=>v.createElement("tr",{key:o.name},v.createElement("td",null,v.createElement("code",null,o.name)),v.createElement("td",null,o.description))),a&&v.createElement("tr",{key:"returns"},v.createElement("td",null,v.createElement("code",null,"Returns")),v.createElement("td",null,e.returns.description)))))},sN=Z1(IE()),q1=8,$4=k.div(({isExpanded:e})=>({display:"flex",flexDirection:e?"column":"row",flexWrap:"wrap",alignItems:"flex-start",marginBottom:"-4px",minWidth:100})),uN=k.span(Lr,({theme:e,simple:t=!1})=>({flex:"0 0 auto",fontFamily:e.typography.fonts.mono,fontSize:e.typography.size.s1,wordBreak:"break-word",whiteSpace:"normal",maxWidth:"100%",margin:0,marginRight:"4px",marginBottom:"4px",paddingTop:"2px",paddingBottom:"2px",lineHeight:"13px",...t&&{background:"transparent",border:"0 none",paddingLeft:0}})),cN=k.button(({theme:e})=>({fontFamily:e.typography.fonts.mono,color:e.color.secondary,marginBottom:"4px",background:"none",border:"none"})),dN=k.div(Lr,({theme:e})=>({fontFamily:e.typography.fonts.mono,color:e.color.secondary,fontSize:e.typography.size.s1,margin:0,whiteSpace:"nowrap",display:"flex",alignItems:"center"})),pN=k.div(({theme:e,width:t})=>({width:t,minWidth:200,maxWidth:800,padding:15,fontFamily:e.typography.fonts.mono,fontSize:e.typography.size.s1,boxSizing:"content-box","& code":{padding:"0 !important"}})),fN=k(IL)({marginLeft:4}),hN=k(BE)({marginLeft:4}),mN=()=>v.createElement("span",null,"-"),w9=({text:e,simple:t})=>v.createElement(uN,{simple:t},e),gN=(0,sN.default)(1e3)(e=>{let t=e.split(/\r?\n/);return`${Math.max(...t.map(r=>r.length))}ch`}),vN=e=>{if(!e)return[e];let t=e.split("|").map(r=>r.trim());return tC(t)},j4=(e,t=!0)=>{let r=e;return t||(r=e.slice(0,q1)),r.map(n=>v.createElement(w9,{key:n,text:n===""?'""':n}))},yN=({value:e,initialExpandedArgs:t})=>{let{summary:r,detail:n}=e,[a,o]=l.useState(!1),[i,s]=l.useState(t||!1);if(r==null)return null;let c=typeof r.toString=="function"?r.toString():r;if(n==null){if(/[(){}[\]<>]/.test(c))return v.createElement(w9,{text:c});let d=vN(c),f=d.length;return f>q1?v.createElement($4,{isExpanded:i},j4(d,i),v.createElement(cN,{onClick:()=>s(!i)},i?"Show less...":`Show ${f-q1} more...`)):v.createElement($4,null,j4(d))}return v.createElement(yT,{closeOnOutsideClick:!0,placement:"bottom",visible:a,onVisibleChange:d=>{o(d)},tooltip:v.createElement(pN,{width:gN(n)},v.createElement(Uf,{language:"jsx",format:!1},n))},v.createElement(dN,{className:"sbdocs-expandable"},v.createElement("span",null,c),a?v.createElement(fN,null):v.createElement(hN,null)))},H0=({value:e,initialExpandedArgs:t})=>e==null?v.createElement(mN,null):v.createElement(yN,{value:e,initialExpandedArgs:t}),bN=k.span({fontWeight:"bold"}),wN=k.span(({theme:e})=>({color:e.color.negative,fontFamily:e.typography.fonts.mono,cursor:"help"})),DN=k.div(({theme:e})=>({"&&":{p:{margin:"0 0 10px 0"},a:{color:e.color.secondary}},code:{...Lr({theme:e}),fontSize:12,fontFamily:e.typography.fonts.mono},"& code":{margin:0,display:"inline-block"},"& pre > code":{whiteSpace:"pre-wrap"}})),EN=k.div(({theme:e,hasDescription:t})=>({color:e.base==="light"?oe(.1,e.color.defaultText):oe(.2,e.color.defaultText),marginTop:t?4:0})),CN=k.div(({theme:e,hasDescription:t})=>({color:e.base==="light"?oe(.1,e.color.defaultText):oe(.2,e.color.defaultText),marginTop:t?12:0,marginBottom:12})),xN=k.td(({theme:e,expandable:t})=>({paddingLeft:t?"40px !important":"20px !important"})),SN=e=>e&&{summary:typeof e=="string"?e:e.name},Xi=e=>{var y;let[t,r]=l.useState(!1),{row:n,updateArgs:a,compact:o,expandable:i,initialExpandedArgs:s}=e,{name:c,description:d}=n,f=n.table||{},m=f.type||SN(n.type),p=f.defaultValue||n.defaultValue,h=(y=n.type)==null?void 0:y.required,g=d!=null&&d!=="";return v.createElement("tr",{onMouseEnter:()=>r(!0),onMouseLeave:()=>r(!1)},v.createElement(xN,{expandable:i},v.createElement(bN,null,c),h?v.createElement(wN,{title:"Required"},"*"):null),o?null:v.createElement("td",null,g&&v.createElement(DN,null,v.createElement(l9,null,d)),f.jsDocTags!=null?v.createElement(v.Fragment,null,v.createElement(CN,{hasDescription:g},v.createElement(H0,{value:m,initialExpandedArgs:s})),v.createElement(lN,{tags:f.jsDocTags})):v.createElement(EN,{hasDescription:g},v.createElement(H0,{value:m,initialExpandedArgs:s}))),o?null:v.createElement("td",null,v.createElement(H0,{value:p,initialExpandedArgs:s})),a?v.createElement("td",null,v.createElement(oN,{...e,isHovered:t})):null)},FN=k.div(({inAddonPanel:e,theme:t})=>({height:e?"100%":"auto",display:"flex",border:e?"none":`1px solid ${t.appBorderColor}`,borderRadius:e?0:t.appBorderRadius,padding:e?0:40,alignItems:"center",justifyContent:"center",flexDirection:"column",gap:15,background:t.background.content,boxShadow:"rgba(0, 0, 0, 0.10) 0 1px 3px 0"})),AN=k.div(({theme:e})=>({display:"flex",fontSize:e.typography.size.s2-1,gap:25})),kN=k.div(({theme:e})=>({width:1,height:16,backgroundColor:e.appBorderColor})),_N=({inAddonPanel:e})=>{let[t,r]=l.useState(!0);return l.useEffect(()=>{let n=setTimeout(()=>{r(!1)},100);return()=>clearTimeout(n)},[]),t?null:v.createElement(FN,{inAddonPanel:e},v.createElement(CE,{title:e?"Interactive story playground":"Args table with interactive controls couldn't be auto-generated",description:v.createElement(v.Fragment,null,"Controls give you an easy to use interface to test your components. Set your story args and you'll see controls appearing here automatically."),footer:v.createElement(AN,null,e&&v.createElement(v.Fragment,null,v.createElement(aa,{href:"https://youtu.be/0gOfS6K0x0E",target:"_blank",withArrow:!0},v.createElement(FL,null)," Watch 5m video"),v.createElement(kN,null),v.createElement(aa,{href:"https://storybook.js.org/docs/essentials/controls",target:"_blank",withArrow:!0},v.createElement(L1,null)," Read docs")),!e&&v.createElement(aa,{href:"https://storybook.js.org/docs/essentials/controls",target:"_blank",withArrow:!0},v.createElement(L1,null)," Learn how to set that up"))}))},BN=k(BL)(({theme:e})=>({marginRight:8,marginLeft:-10,marginTop:-2,height:12,width:12,color:e.base==="light"?oe(.25,e.color.defaultText):oe(.3,e.color.defaultText),border:"none",display:"inline-block"})),RN=k(RL)(({theme:e})=>({marginRight:8,marginLeft:-10,marginTop:-2,height:12,width:12,color:e.base==="light"?oe(.25,e.color.defaultText):oe(.3,e.color.defaultText),border:"none",display:"inline-block"})),IN=k.span(({theme:e})=>({display:"flex",lineHeight:"20px",alignItems:"center"})),zN=k.td(({theme:e})=>({position:"relative",letterSpacing:"0.35em",textTransform:"uppercase",fontWeight:e.typography.weight.bold,fontSize:e.typography.size.s1-1,color:e.base==="light"?oe(.4,e.color.defaultText):oe(.6,e.color.defaultText),background:`${e.background.app} !important`,"& ~ td":{background:`${e.background.app} !important`}})),TN=k.td(({theme:e})=>({position:"relative",fontWeight:e.typography.weight.bold,fontSize:e.typography.size.s2-1,background:e.background.app})),LN=k.td({position:"relative"}),MN=k.tr(({theme:e})=>({"&:hover > td":{backgroundColor:`${Yr(.005,e.background.app)} !important`,boxShadow:`${e.color.mediumlight} 0 - 1px 0 0 inset`,cursor:"row-resize"}})),V4=k.button({background:"none",border:"none",padding:"0",font:"inherit",position:"absolute",top:0,bottom:0,left:0,right:0,height:"100%",width:"100%",color:"transparent",cursor:"row-resize !important"}),$0=({level:e="section",label:t,children:r,initialExpanded:n=!0,colSpan:a=3})=>{let[o,i]=l.useState(n),s=e==="subsection"?TN:zN,c=(r==null?void 0:r.length)||0,d=e==="subsection"?`${c} item${c!==1?"s":""}`:"",f=`${o?"Hide":"Show"} ${e==="subsection"?c:t} item${c!==1?"s":""}`;return v.createElement(v.Fragment,null,v.createElement(MN,{title:f},v.createElement(s,{colSpan:1},v.createElement(V4,{onClick:m=>i(!o),tabIndex:0},f),v.createElement(IN,null,o?v.createElement(BN,null):v.createElement(RN,null),t)),v.createElement(LN,{colSpan:a-1},v.createElement(V4,{onClick:m=>i(!o),tabIndex:-1,style:{outline:"none"}},f),o?null:d)),o?r:null)},Qi=k.div(({theme:e})=>({display:"flex",gap:16,borderBottom:`1px solid ${e.appBorderColor}`,"&:last-child":{borderBottom:0}})),Ae=k.div(({numColumn:e})=>({display:"flex",flexDirection:"column",flex:e||1,gap:5,padding:"12px 20px"})),me=k.div(({theme:e,width:t,height:r})=>({animation:`${e.animation.glow} 1.5s ease-in-out infinite`,background:e.appBorderColor,width:t||"100%",height:r||16,borderRadius:3})),ke=[2,4,2,2],ON=()=>v.createElement(v.Fragment,null,v.createElement(Qi,null,v.createElement(Ae,{numColumn:ke[0]},v.createElement(me,{width:"60%"})),v.createElement(Ae,{numColumn:ke[1]},v.createElement(me,{width:"30%"})),v.createElement(Ae,{numColumn:ke[2]},v.createElement(me,{width:"60%"})),v.createElement(Ae,{numColumn:ke[3]},v.createElement(me,{width:"60%"}))),v.createElement(Qi,null,v.createElement(Ae,{numColumn:ke[0]},v.createElement(me,{width:"60%"})),v.createElement(Ae,{numColumn:ke[1]},v.createElement(me,{width:"80%"}),v.createElement(me,{width:"30%"})),v.createElement(Ae,{numColumn:ke[2]},v.createElement(me,{width:"60%"})),v.createElement(Ae,{numColumn:ke[3]},v.createElement(me,{width:"60%"}))),v.createElement(Qi,null,v.createElement(Ae,{numColumn:ke[0]},v.createElement(me,{width:"60%"})),v.createElement(Ae,{numColumn:ke[1]},v.createElement(me,{width:"80%"}),v.createElement(me,{width:"30%"})),v.createElement(Ae,{numColumn:ke[2]},v.createElement(me,{width:"60%"})),v.createElement(Ae,{numColumn:ke[3]},v.createElement(me,{width:"60%"}))),v.createElement(Qi,null,v.createElement(Ae,{numColumn:ke[0]},v.createElement(me,{width:"60%"})),v.createElement(Ae,{numColumn:ke[1]},v.createElement(me,{width:"80%"}),v.createElement(me,{width:"30%"})),v.createElement(Ae,{numColumn:ke[2]},v.createElement(me,{width:"60%"})),v.createElement(Ae,{numColumn:ke[3]},v.createElement(me,{width:"60%"})))),PN=k.table(({theme:e,compact:t,inAddonPanel:r})=>({"&&":{borderSpacing:0,color:e.color.defaultText,"td, th":{padding:0,border:"none",verticalAlign:"top",textOverflow:"ellipsis"},fontSize:e.typography.size.s2-1,lineHeight:"20px",textAlign:"left",width:"100%",marginTop:r?0:25,marginBottom:r?0:40,"thead th:first-of-type, td:first-of-type":{width:"25%"},"th:first-of-type, td:first-of-type":{paddingLeft:20},"th:nth-of-type(2), td:nth-of-type(2)":{...t?null:{width:"35%"}},"td:nth-of-type(3)":{...t?null:{width:"15%"}},"th:last-of-type, td:last-of-type":{paddingRight:20,...t?null:{width:"25%"}},th:{color:e.base==="light"?oe(.25,e.color.defaultText):oe(.45,e.color.defaultText),paddingTop:10,paddingBottom:10,paddingLeft:15,paddingRight:15},td:{paddingTop:"10px",paddingBottom:"10px","&:not(:first-of-type)":{paddingLeft:15,paddingRight:15},"&:last-of-type":{paddingRight:20}},marginLeft:r?0:1,marginRight:r?0:1,tbody:{...r?null:{filter:e.base==="light"?"drop-shadow(0px 1px 3px rgba(0, 0, 0, 0.10))":"drop-shadow(0px 1px 3px rgba(0, 0, 0, 0.20))"},"> tr > *":{background:e.background.content,borderTop:`1px solid ${e.appBorderColor}`},...r?null:{"> tr:first-of-type > *":{borderBlockStart:`1px solid ${e.appBorderColor}`},"> tr:last-of-type > *":{borderBlockEnd:`1px solid ${e.appBorderColor}`},"> tr > *:first-of-type":{borderInlineStart:`1px solid ${e.appBorderColor}`},"> tr > *:last-of-type":{borderInlineEnd:`1px solid ${e.appBorderColor}`},"> tr:first-of-type > td:first-of-type":{borderTopLeftRadius:e.appBorderRadius},"> tr:first-of-type > td:last-of-type":{borderTopRightRadius:e.appBorderRadius},"> tr:last-of-type > td:first-of-type":{borderBottomLeftRadius:e.appBorderRadius},"> tr:last-of-type > td:last-of-type":{borderBottomRightRadius:e.appBorderRadius}}}}})),NN=k(un)(({theme:e})=>({margin:"-4px -12px -4px 0"})),HN=k.span({display:"flex",justifyContent:"space-between"}),$N={alpha:(e,t)=>e.name.localeCompare(t.name),requiredFirst:(e,t)=>{var r,n;return+!!((r=t.type)!=null&&r.required)-+!!((n=e.type)!=null&&n.required)||e.name.localeCompare(t.name)},none:void 0},jN=(e,t)=>{let r={ungrouped:[],ungroupedSubsections:{},sections:{}};if(!e)return r;Object.entries(e).forEach(([o,i])=>{let{category:s,subcategory:c}=(i==null?void 0:i.table)||{};if(s){let d=r.sections[s]||{ungrouped:[],subsections:{}};if(!c)d.ungrouped.push({key:o,...i});else{let f=d.subsections[c]||[];f.push({key:o,...i}),d.subsections[c]=f}r.sections[s]=d}else if(c){let d=r.ungroupedSubsections[c]||[];d.push({key:o,...i}),r.ungroupedSubsections[c]=d}else r.ungrouped.push({key:o,...i})});let n=$N[t],a=o=>n?Object.keys(o).reduce((i,s)=>({...i,[s]:o[s].sort(n)}),{}):o;return{ungrouped:r.ungrouped.sort(n),ungroupedSubsections:a(r.ungroupedSubsections),sections:Object.keys(r.sections).reduce((o,i)=>({...o,[i]:{ungrouped:r.sections[i].ungrouped.sort(n),subsections:a(r.sections[i].subsections)}}),{})}},VN=(e,t,r)=>{try{return q9(e,t,r)}catch(n){return LL.warn(n.message),!1}},W1=e=>{let{updateArgs:t,resetArgs:r,compact:n,inAddonPanel:a,initialExpandedArgs:o,sort:i="none",isLoading:s}=e;if("error"in e){let{error:E}=e;return v.createElement(OE,null,E," ",v.createElement(aa,{href:"http://storybook.js.org/docs/",target:"_blank",withArrow:!0},v.createElement(L1,null)," Read the docs"))}if(s)return v.createElement(ON,null);let{rows:c,args:d,globals:f}="rows"in e&&e,m=jN(rC(c||{},E=>{var D;return!((D=E==null?void 0:E.table)!=null&&D.disable)&&VN(E,d||{},f||{})}),i),p=m.ungrouped.length===0,h=Object.entries(m.sections).length===0,g=Object.entries(m.ungroupedSubsections).length===0;if(p&&h&&g)return v.createElement(_N,{inAddonPanel:a});let y=1;t&&(y+=1),n||(y+=2);let b=Object.keys(m.sections).length>0,C={updateArgs:t,compact:n,inAddonPanel:a,initialExpandedArgs:o};return v.createElement(PD,null,v.createElement(PN,{compact:n,inAddonPanel:a,className:"docblock-argstable sb-unstyled"},v.createElement("thead",{className:"docblock-argstable-head"},v.createElement("tr",null,v.createElement("th",null,v.createElement("span",null,"Name")),n?null:v.createElement("th",null,v.createElement("span",null,"Description")),n?null:v.createElement("th",null,v.createElement("span",null,"Default")),t?v.createElement("th",null,v.createElement(HN,null,"Control"," ",!s&&r&&v.createElement(NN,{onClick:()=>r(),title:"Reset controls"},v.createElement(zL,{"aria-hidden":!0})))):null)),v.createElement("tbody",{className:"docblock-argstable-body"},m.ungrouped.map(E=>v.createElement(Xi,{key:E.key,row:E,arg:d&&d[E.key],...C})),Object.entries(m.ungroupedSubsections).map(([E,D])=>v.createElement($0,{key:E,label:E,level:"subsection",colSpan:y},D.map(w=>v.createElement(Xi,{key:w.key,row:w,arg:d&&d[w.key],expandable:b,...C})))),Object.entries(m.sections).map(([E,D])=>v.createElement($0,{key:E,label:E,level:"section",colSpan:y},D.ungrouped.map(w=>v.createElement(Xi,{key:w.key,row:w,arg:d&&d[w.key],...C})),Object.entries(D.subsections).map(([w,x])=>v.createElement($0,{key:w,label:w,level:"subsection",colSpan:y},x.map(S=>v.createElement(Xi,{key:S.key,row:S,arg:d&&d[S.key],expandable:b,...C})))))))))},UN=({tabs:e,...t})=>{let r=Object.entries(e);return r.length===1?v.createElement(W1,{...r[0][1],...t}):v.createElement(tL,null,r.map((n,a)=>{let[o,i]=n,s=`prop_table_div_${o}`,c="div",d=a===0?t:{sort:t.sort};return v.createElement(c,{key:s,id:s,title:o},({active:f})=>f?v.createElement(W1,{key:`prop_table_${o}`,...i,...d}):null)}))};k.div(({theme:e})=>({marginRight:30,fontSize:`${e.typography.size.s1}px`,color:e.base==="light"?oe(.4,e.color.defaultText):oe(.6,e.color.defaultText)}));k.div({overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis"});k.div({display:"flex",flexDirection:"row",alignItems:"baseline","&:not(:last-child)":{marginBottom:"1rem"}});k.div(se,({theme:e})=>({...cu(e),margin:"25px 0 40px",padding:"30px 20px"}));k.div(({theme:e})=>({fontWeight:e.typography.weight.bold,color:e.color.defaultText}));k.div(({theme:e})=>({color:e.base==="light"?oe(.2,e.color.defaultText):oe(.6,e.color.defaultText)}));k.div({flex:"0 0 30%",lineHeight:"20px",marginTop:5});k.div(({theme:e})=>({flex:1,textAlign:"center",fontFamily:e.typography.fonts.mono,fontSize:e.typography.size.s1,lineHeight:1,overflow:"hidden",color:e.base==="light"?oe(.4,e.color.defaultText):oe(.6,e.color.defaultText),"> div":{display:"inline-block",overflow:"hidden",maxWidth:"100%",textOverflow:"ellipsis"},span:{display:"block",marginTop:2}}));k.div({display:"flex",flexDirection:"row"});k.div(({background:e})=>({position:"relative",flex:1,"&::before":{position:"absolute",top:0,left:0,width:"100%",height:"100%",background:e,content:'""'}}));k.div(({theme:e})=>({...cu(e),display:"flex",flexDirection:"row",height:50,marginBottom:5,overflow:"hidden",backgroundColor:"white",backgroundImage:"repeating-linear-gradient(-45deg, #ccc, #ccc 1px, #fff 1px, #fff 16px)",backgroundClip:"padding-box"}));k.div({display:"flex",flexDirection:"column",flex:1,position:"relative",marginBottom:30});k.div({flex:1,display:"flex",flexDirection:"row"});k.div({display:"flex",alignItems:"flex-start"});k.div({flex:"0 0 30%"});k.div({flex:1});k.div(({theme:e})=>({display:"flex",flexDirection:"row",alignItems:"center",paddingBottom:20,fontWeight:e.typography.weight.bold,color:e.base==="light"?oe(.4,e.color.defaultText):oe(.6,e.color.defaultText)}));k.div(({theme:e})=>({fontSize:e.typography.size.s2,lineHeight:"20px",display:"flex",flexDirection:"column"}));k.div(({theme:e})=>({fontFamily:e.typography.fonts.base,fontSize:e.typography.size.s2,color:e.color.defaultText,marginLeft:10,lineHeight:1.2}));k.div(({theme:e})=>({...cu(e),overflow:"hidden",height:40,width:40,display:"flex",alignItems:"center",justifyContent:"center",flex:"none","> img, > svg":{width:20,height:20}}));k.div({display:"inline-flex",flexDirection:"row",alignItems:"center",flex:"0 1 calc(20% - 10px)",minWidth:120,margin:"0px 10px 30px 0"});k.div({display:"flex",flexFlow:"row wrap"});var qN=e=>`anchor--${e}`,WN=({storyId:e,children:t})=>v.createElement("div",{id:qN(e),className:"sb-anchor"},t);globalThis&&globalThis.__DOCS_CONTEXT__===void 0&&(globalThis.__DOCS_CONTEXT__=l.createContext(null),globalThis.__DOCS_CONTEXT__.displayName="DocsContext");var er=globalThis?globalThis.__DOCS_CONTEXT__:l.createContext(null),An=(e,t)=>l.useContext(er).resolveOf(e,t),GN=e=>e.split("-").map(t=>t.charAt(0).toUpperCase()+t.slice(1)).join(""),KN=e=>{if(e)return typeof e=="string"?e.includes("-")?GN(e):e:e.__docgenInfo&&e.__docgenInfo.displayName?e.__docgenInfo.displayName:e.name};function YN(e,t="start"){e.scrollIntoView({behavior:"smooth",block:t,inline:"nearest"})}var JN=Object.create,D9=Object.defineProperty,ZN=Object.getOwnPropertyDescriptor,E9=Object.getOwnPropertyNames,XN=Object.getPrototypeOf,QN=Object.prototype.hasOwnProperty,at=(e,t)=>function(){return t||(0,e[E9(e)[0]])((t={exports:{}}).exports,t),t.exports},eH=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of E9(t))!QN.call(e,a)&&a!==r&&D9(e,a,{get:()=>t[a],enumerable:!(n=ZN(t,a))||n.enumerable});return e},vh=(e,t,r)=>(r=e!=null?JN(XN(e)):{},eH(t||!e||!e.__esModule?D9(r,"default",{value:e,enumerable:!0}):r,e)),tH=["bubbles","cancelBubble","cancelable","composed","currentTarget","defaultPrevented","eventPhase","isTrusted","returnValue","srcElement","target","timeStamp","type"],rH=["detail"];function nH(e){let t=tH.filter(r=>e[r]!==void 0).reduce((r,n)=>({...r,[n]:e[n]}),{});return e instanceof CustomEvent&&rH.filter(r=>e[r]!==void 0).forEach(r=>{t[r]=e[r]}),t}var aH=Z1(IE(),1),C9=at({"node_modules/has-symbols/shams.js"(e,t){t.exports=function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return!1;if(typeof Symbol.iterator=="symbol")return!0;var r={},n=Symbol("test"),a=Object(n);if(typeof n=="string"||Object.prototype.toString.call(n)!=="[object Symbol]"||Object.prototype.toString.call(a)!=="[object Symbol]")return!1;var o=42;r[n]=o;for(n in r)return!1;if(typeof Object.keys=="function"&&Object.keys(r).length!==0||typeof Object.getOwnPropertyNames=="function"&&Object.getOwnPropertyNames(r).length!==0)return!1;var i=Object.getOwnPropertySymbols(r);if(i.length!==1||i[0]!==n||!Object.prototype.propertyIsEnumerable.call(r,n))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var s=Object.getOwnPropertyDescriptor(r,n);if(s.value!==o||s.enumerable!==!0)return!1}return!0}}}),x9=at({"node_modules/has-symbols/index.js"(e,t){var r=typeof Symbol<"u"&&Symbol,n=C9();t.exports=function(){return typeof r!="function"||typeof Symbol!="function"||typeof r("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:n()}}}),oH=at({"node_modules/function-bind/implementation.js"(e,t){var r="Function.prototype.bind called on incompatible ",n=Array.prototype.slice,a=Object.prototype.toString,o="[object Function]";t.exports=function(i){var s=this;if(typeof s!="function"||a.call(s)!==o)throw new TypeError(r+s);for(var c=n.call(arguments,1),d,f=function(){if(this instanceof d){var y=s.apply(this,c.concat(n.call(arguments)));return Object(y)===y?y:this}else return s.apply(i,c.concat(n.call(arguments)))},m=Math.max(0,s.length-c.length),p=[],h=0;h"u"?r:m(Uint8Array),g={"%AggregateError%":typeof AggregateError>"u"?r:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?r:ArrayBuffer,"%ArrayIteratorPrototype%":f?m([][Symbol.iterator]()):r,"%AsyncFromSyncIteratorPrototype%":r,"%AsyncFunction%":p,"%AsyncGenerator%":p,"%AsyncGeneratorFunction%":p,"%AsyncIteratorPrototype%":p,"%Atomics%":typeof Atomics>"u"?r:Atomics,"%BigInt%":typeof BigInt>"u"?r:BigInt,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?r:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%eval%":eval,"%EvalError%":EvalError,"%Float32Array%":typeof Float32Array>"u"?r:Float32Array,"%Float64Array%":typeof Float64Array>"u"?r:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?r:FinalizationRegistry,"%Function%":a,"%GeneratorFunction%":p,"%Int8Array%":typeof Int8Array>"u"?r:Int8Array,"%Int16Array%":typeof Int16Array>"u"?r:Int16Array,"%Int32Array%":typeof Int32Array>"u"?r:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":f?m(m([][Symbol.iterator]())):r,"%JSON%":typeof JSON=="object"?JSON:r,"%Map%":typeof Map>"u"?r:Map,"%MapIteratorPrototype%":typeof Map>"u"||!f?r:m(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?r:Promise,"%Proxy%":typeof Proxy>"u"?r:Proxy,"%RangeError%":RangeError,"%ReferenceError%":ReferenceError,"%Reflect%":typeof Reflect>"u"?r:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?r:Set,"%SetIteratorPrototype%":typeof Set>"u"||!f?r:m(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?r:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":f?m(""[Symbol.iterator]()):r,"%Symbol%":f?Symbol:r,"%SyntaxError%":n,"%ThrowTypeError%":d,"%TypedArray%":h,"%TypeError%":o,"%Uint8Array%":typeof Uint8Array>"u"?r:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?r:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?r:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?r:Uint32Array,"%URIError%":URIError,"%WeakMap%":typeof WeakMap>"u"?r:WeakMap,"%WeakRef%":typeof WeakRef>"u"?r:WeakRef,"%WeakSet%":typeof WeakSet>"u"?r:WeakSet},y=function T(L){var P;if(L==="%AsyncFunction%")P=i("async function () {}");else if(L==="%GeneratorFunction%")P=i("function* () {}");else if(L==="%AsyncGeneratorFunction%")P=i("async function* () {}");else if(L==="%AsyncGenerator%"){var M=T("%AsyncGeneratorFunction%");M&&(P=M.prototype)}else if(L==="%AsyncIteratorPrototype%"){var N=T("%AsyncGenerator%");N&&(P=m(N.prototype))}return g[L]=P,P},b={"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},C=yh(),E=iH(),D=C.call(Function.call,Array.prototype.concat),w=C.call(Function.apply,Array.prototype.splice),x=C.call(Function.call,String.prototype.replace),S=C.call(Function.call,String.prototype.slice),F=C.call(Function.call,RegExp.prototype.exec),A=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,_=/\\(\\)?/g,R=function(T){var L=S(T,0,1),P=S(T,-1);if(L==="%"&&P!=="%")throw new n("invalid intrinsic syntax, expected closing `%`");if(P==="%"&&L!=="%")throw new n("invalid intrinsic syntax, expected opening `%`");var M=[];return x(T,A,function(N,q,W,G){M[M.length]=W?x(G,_,"$1"):q||N}),M},I=function(T,L){var P=T,M;if(E(b,P)&&(M=b[P],P="%"+M[0]+"%"),E(g,P)){var N=g[P];if(N===p&&(N=y(P)),typeof N>"u"&&!L)throw new o("intrinsic "+T+" exists, but is not available. Please file an issue!");return{alias:M,name:P,value:N}}throw new n("intrinsic "+T+" does not exist!")};t.exports=function(T,L){if(typeof T!="string"||T.length===0)throw new o("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof L!="boolean")throw new o('"allowMissing" argument must be a boolean');if(F(/^%?[^%]*%?$/,T)===null)throw new n("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var P=R(T),M=P.length>0?P[0]:"",N=I("%"+M+"%",L),q=N.name,W=N.value,G=!1,J=N.alias;J&&(M=J[0],w(P,D([0,1],J)));for(var te=1,ne=!0;te=P.length){var Z=s(W,X);ne=!!Z,ne&&"get"in Z&&!("originalValue"in Z.get)?W=Z.get:W=W[X]}else ne=E(W,X),W=W[X];ne&&!G&&(g[q]=W)}}return W}}}),lH=at({"node_modules/call-bind/index.js"(e,t){var r=yh(),n=S9(),a=n("%Function.prototype.apply%"),o=n("%Function.prototype.call%"),i=n("%Reflect.apply%",!0)||r.call(o,a),s=n("%Object.getOwnPropertyDescriptor%",!0),c=n("%Object.defineProperty%",!0),d=n("%Math.max%");if(c)try{c({},"a",{value:1})}catch{c=null}t.exports=function(m){var p=i(r,o,arguments);if(s&&c){var h=s(p,"length");h.configurable&&c(p,"length",{value:1+d(0,m.length-(arguments.length-1))})}return p};var f=function(){return i(r,a,arguments)};c?c(t.exports,"apply",{value:f}):t.exports.apply=f}}),sH=at({"node_modules/call-bind/callBound.js"(e,t){var r=S9(),n=lH(),a=n(r("String.prototype.indexOf"));t.exports=function(o,i){var s=r(o,!!i);return typeof s=="function"&&a(o,".prototype.")>-1?n(s):s}}}),uH=at({"node_modules/has-tostringtag/shams.js"(e,t){var r=C9();t.exports=function(){return r()&&!!Symbol.toStringTag}}}),cH=at({"node_modules/is-regex/index.js"(e,t){var r=sH(),n=uH()(),a,o,i,s;n&&(a=r("Object.prototype.hasOwnProperty"),o=r("RegExp.prototype.exec"),i={},c=function(){throw i},s={toString:c,valueOf:c},typeof Symbol.toPrimitive=="symbol"&&(s[Symbol.toPrimitive]=c));var c,d=r("Object.prototype.toString"),f=Object.getOwnPropertyDescriptor,m="[object RegExp]";t.exports=n?function(p){if(!p||typeof p!="object")return!1;var h=f(p,"lastIndex"),g=h&&a(h,"value");if(!g)return!1;try{o(p,s)}catch(y){return y===i}}:function(p){return!p||typeof p!="object"&&typeof p!="function"?!1:d(p)===m}}}),dH=at({"node_modules/is-function/index.js"(e,t){t.exports=n;var r=Object.prototype.toString;function n(a){if(!a)return!1;var o=r.call(a);return o==="[object Function]"||typeof a=="function"&&o!=="[object RegExp]"||typeof window<"u"&&(a===window.setTimeout||a===window.alert||a===window.confirm||a===window.prompt)}}}),pH=at({"node_modules/is-symbol/index.js"(e,t){var r=Object.prototype.toString,n=x9()();n?(a=Symbol.prototype.toString,o=/^Symbol\(.*\)$/,i=function(s){return typeof s.valueOf()!="symbol"?!1:o.test(a.call(s))},t.exports=function(s){if(typeof s=="symbol")return!0;if(r.call(s)!=="[object Symbol]")return!1;try{return i(s)}catch{return!1}}):t.exports=function(s){return!1};var a,o,i}}),fH=vh(cH()),hH=vh(dH()),mH=vh(pH());function gH(e){return e!=null&&typeof e=="object"&&Array.isArray(e)===!1}var vH=typeof global=="object"&&global&&global.Object===Object&&global,yH=vH,bH=typeof self=="object"&&self&&self.Object===Object&&self,wH=yH||bH||Function("return this")(),bh=wH,DH=bh.Symbol,Ea=DH,F9=Object.prototype,EH=F9.hasOwnProperty,CH=F9.toString,ao=Ea?Ea.toStringTag:void 0;function xH(e){var t=EH.call(e,ao),r=e[ao];try{e[ao]=void 0;var n=!0}catch{}var a=CH.call(e);return n&&(t?e[ao]=r:delete e[ao]),a}var SH=xH,FH=Object.prototype,AH=FH.toString;function kH(e){return AH.call(e)}var _H=kH,BH="[object Null]",RH="[object Undefined]",U4=Ea?Ea.toStringTag:void 0;function IH(e){return e==null?e===void 0?RH:BH:U4&&U4 in Object(e)?SH(e):_H(e)}var zH=IH,q4=Ea?Ea.prototype:void 0;q4&&q4.toString;function TH(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}var A9=TH,LH="[object AsyncFunction]",MH="[object Function]",OH="[object GeneratorFunction]",PH="[object Proxy]";function NH(e){if(!A9(e))return!1;var t=zH(e);return t==MH||t==OH||t==LH||t==PH}var HH=NH,$H=bh["__core-js_shared__"],j0=$H,W4=function(){var e=/[^.]+$/.exec(j0&&j0.keys&&j0.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();function jH(e){return!!W4&&W4 in e}var VH=jH,UH=Function.prototype,qH=UH.toString;function WH(e){if(e!=null){try{return qH.call(e)}catch{}try{return e+""}catch{}}return""}var GH=WH,KH=/[\\^$.*+?()[\]{}|]/g,YH=/^\[object .+?Constructor\]$/,JH=Function.prototype,ZH=Object.prototype,XH=JH.toString,QH=ZH.hasOwnProperty,e$=RegExp("^"+XH.call(QH).replace(KH,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function t$(e){if(!A9(e)||VH(e))return!1;var t=HH(e)?e$:YH;return t.test(GH(e))}var r$=t$;function n$(e,t){return e==null?void 0:e[t]}var a$=n$;function o$(e,t){var r=a$(e,t);return r$(r)?r:void 0}var k9=o$;function i$(e,t){return e===t||e!==e&&t!==t}var l$=i$,s$=k9(Object,"create"),qo=s$;function u$(){this.__data__=qo?qo(null):{},this.size=0}var c$=u$;function d$(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}var p$=d$,f$="__lodash_hash_undefined__",h$=Object.prototype,m$=h$.hasOwnProperty;function g$(e){var t=this.__data__;if(qo){var r=t[e];return r===f$?void 0:r}return m$.call(t,e)?t[e]:void 0}var v$=g$,y$=Object.prototype,b$=y$.hasOwnProperty;function w$(e){var t=this.__data__;return qo?t[e]!==void 0:b$.call(t,e)}var D$=w$,E$="__lodash_hash_undefined__";function C$(e,t){var r=this.__data__;return this.size+=this.has(e)?0:1,r[e]=qo&&t===void 0?E$:t,this}var x$=C$;function Ta(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t-1}var L$=T$;function M$(e,t){var r=this.__data__,n=fu(r,e);return n<0?(++this.size,r.push([e,t])):r[n][1]=t,this}var O$=M$;function La(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t{let t=null,r=!1,n=!1,a=!1,o="";if(e.indexOf("//")>=0||e.indexOf("/*")>=0)for(let i=0;isj(e).replace(/\n\s*/g,"").trim()),cj=function(e,t){let r=t.slice(0,t.indexOf("{")),n=t.slice(t.indexOf("{"));if(r.includes("=>")||r.includes("function"))return t;let a=r;return a=a.replace(e,"function"),a+n},dj=/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}(\.\d{3})?Z$/;function B9(e){if(!lj(e))return e;let t=e,r=!1;return typeof Event<"u"&&e instanceof Event&&(t=nH(t),r=!0),t=Object.keys(t).reduce((n,a)=>{try{t[a]&&t[a].toJSON,n[a]=t[a]}catch{r=!0}return n},{}),r?t:e}var pj=function(e){let t,r,n,a;return function(o,i){try{if(o==="")return a=[],t=new Map([[i,"[]"]]),r=new Map,n=[],i;let s=r.get(this)||this;for(;n.length&&s!==n[0];)n.shift(),a.pop();if(typeof i=="boolean")return i;if(i===void 0)return e.allowUndefined?"_undefined_":void 0;if(i===null)return null;if(typeof i=="number")return i===-1/0?"_-Infinity_":i===1/0?"_Infinity_":Number.isNaN(i)?"_NaN_":i;if(typeof i=="bigint")return`_bigint_${i.toString()}`;if(typeof i=="string")return dj.test(i)?e.allowDate?`_date_${i}`:void 0:i;if((0,fH.default)(i))return e.allowRegExp?`_regexp_${i.flags}|${i.source}`:void 0;if((0,hH.default)(i)){if(!e.allowFunction)return;let{name:d}=i,f=i.toString();return f.match(/(\[native code\]|WEBPACK_IMPORTED_MODULE|__webpack_exports__|__webpack_require__)/)?`_function_${d}|${(()=>{}).toString()}`:`_function_${d}|${uj(cj(o,f))}`}if((0,mH.default)(i)){if(!e.allowSymbol)return;let d=Symbol.keyFor(i);return d!==void 0?`_gsymbol_${d}`:`_symbol_${i.toString().slice(7,-1)}`}if(n.length>=e.maxDepth)return Array.isArray(i)?`[Array(${i.length})]`:"[Object]";if(i===this)return`_duplicate_${JSON.stringify(a)}`;if(i instanceof Error&&e.allowError)return{__isConvertedError__:!0,errorProperties:{...i.cause?{cause:i.cause}:{},...i,name:i.name,message:i.message,stack:i.stack,"_constructor-name_":i.constructor.name}};if(i.constructor&&i.constructor.name&&i.constructor.name!=="Object"&&!Array.isArray(i)&&!e.allowClass)return;let c=t.get(i);if(!c){let d=Array.isArray(i)?i:B9(i);if(i.constructor&&i.constructor.name&&i.constructor.name!=="Object"&&!Array.isArray(i)&&e.allowClass)try{Object.assign(d,{"_constructor-name_":i.constructor.name})}catch{}return a.push(o),n.unshift(d),t.set(i,JSON.stringify(a)),i!==d&&r.set(i,d),d}return`_duplicate_${c}`}catch{return}}},fj={maxDepth:10,space:void 0,allowFunction:!0,allowRegExp:!0,allowDate:!0,allowClass:!0,allowError:!0,allowUndefined:!0,allowSymbol:!0,lazyEval:!0},hj=(e,t={})=>{let r={...fj,...t};return JSON.stringify(B9(e),pj(r),t.space)};function R9(e){return hj(e,{allowFunction:!1})}var I9=l.createContext({sources:{}}),z9="--unknown--",mj=({children:e,channel:t})=>{let[r,n]=l.useState({});return l.useEffect(()=>{let a=(o,i=null,s=!1)=>{let{id:c,args:d=void 0,source:f,format:m}=typeof o=="string"?{id:o,source:i,format:s}:o,p=d?R9(d):z9;n(h=>({...h,[c]:{...h[c],[p]:{code:f,format:m}}}))};return t.on(Ah,a),()=>t.off(Ah,a)},[]),v.createElement(I9.Provider,{value:{sources:r}},e)},gj=(e,t,r)=>{let{sources:n}=r,a=n==null?void 0:n[e];return(a==null?void 0:a[R9(t)])||(a==null?void 0:a[z9])||{code:""}},vj=({snippet:e,storyContext:t,typeFromProps:r,transformFromProps:n})=>{var c,d;let{__isArgsStory:a}=t.parameters,o=((c=t.parameters.docs)==null?void 0:c.source)||{},i=r||o.type||vu.AUTO;if(o.code!==void 0)return o.code;let s=i===vu.DYNAMIC||i===vu.AUTO&&e&&a?e:o.originalSource||"";return((d=n??o.transform)==null?void 0:d(s,t))||s},yj=(e,t,r)=>{var h,g,y,b;let n,{of:a}=e;if("of"in e&&a===void 0)throw new Error("Unexpected `of={undefined}`, did you mistype a CSF file reference?");if(a)n=t.resolveOf(a,["story"]).story;else try{n=t.storyById()}catch{}let o=((g=(h=n==null?void 0:n.parameters)==null?void 0:h.docs)==null?void 0:g.source)||{},{code:i}=e,s=e.format??o.format,c=e.language??o.language??"jsx",d=e.dark??o.dark??!1;if(!i&&!n)return{error:"Oh no! The source is not available."};if(i)return{code:i,format:s,language:c,dark:d};let f=t.getStoryContext(n),m=e.__forceInitialArgs?f.initialArgs:f.unmappedArgs,p=gj(n.id,m,r);return s=p.format??((b=(y=n.parameters.docs)==null?void 0:y.source)==null?void 0:b.format)??!1,{code:vj({snippet:p.code,storyContext:{...f,args:m},typeFromProps:e.type,transformFromProps:e.transform}),format:s,language:c,dark:d}};function bj(e,t){let r=wj([e],t);return r&&r[0]}function wj(e,t){let[r,n]=l.useState({});return l.useEffect(()=>{Promise.all(e.map(async a=>{let o=await t.loadStory(a);n(i=>i[a]===o?i:{...i,[a]:o})}))}),e.map(a=>{if(r[a])return r[a];try{return t.storyById(a)}catch{return null}})}var Dj=(e,t)=>{let{of:r,meta:n}=e;if("of"in e&&r===void 0)throw new Error("Unexpected `of={undefined}`, did you mistype a CSF file reference?");return n&&t.referenceMeta(n,!1),t.resolveOf(r||"story",["story"]).story.id},Ej=(e,t,r)=>{let{parameters:n={}}=t||{},{docs:a={}}=n,o=a.story||{};if(a.disable)return null;if(e.inline??o.inline??!1){let s=e.height??o.height,c=e.autoplay??o.autoplay??!1;return{story:t,inline:!0,height:s,autoplay:c,forceInitialArgs:!!e.__forceInitialArgs,primary:!!e.__primary,renderStoryToElement:r.renderStoryToElement}}let i=e.height??o.height??o.iframeHeight??"100px";return{story:t,inline:!1,height:i,primary:!!e.__primary}},Cj=(e={__forceInitialArgs:!1,__primary:!1})=>{let t=l.useContext(er),r=Dj(e,t),n=bj(r,t);if(!n)return v.createElement(HE,null);let a=Ej(e,n,t);return a?v.createElement(MM,{...a}):null},xj=e=>{var p,h,g,y,b,C,E,D,w,x;let t=l.useContext(er),r=l.useContext(I9),{of:n,source:a}=e;if("of"in e&&n===void 0)throw new Error("Unexpected `of={undefined}`, did you mistype a CSF file reference?");let{story:o}=An(n||"story",["story"]),i=yj({...a,...n&&{of:n}},t,r),s=e.layout??o.parameters.layout??((h=(p=o.parameters.docs)==null?void 0:p.canvas)==null?void 0:h.layout)??"padded",c=e.withToolbar??((y=(g=o.parameters.docs)==null?void 0:g.canvas)==null?void 0:y.withToolbar)??!1,d=e.additionalActions??((C=(b=o.parameters.docs)==null?void 0:b.canvas)==null?void 0:C.additionalActions),f=e.sourceState??((D=(E=o.parameters.docs)==null?void 0:E.canvas)==null?void 0:D.sourceState)??"hidden",m=e.className??((x=(w=o.parameters.docs)==null?void 0:w.canvas)==null?void 0:x.className);return v.createElement($E,{withSource:f==="none"?void 0:i,isExpanded:f==="shown",withToolbar:c,additionalActions:d,className:m,layout:s},v.createElement(Cj,{of:n||o.moduleExport,meta:e.meta,...e.story}))},Sj=(e,t)=>{let r=Fj(e,t);if(!r)throw new Error("No result when story was defined");return r},Fj=(e,t)=>{let r=e?t.getStoryContext(e):{args:{}},{id:n}=e||{id:"none"},[a,o]=l.useState(r.args);l.useEffect(()=>{let c=d=>{d.storyId===n&&o(d.args)};return t.channel.on(D4,c),()=>t.channel.off(D4,c)},[n,t.channel]);let i=l.useCallback(c=>t.channel.emit(ML,{storyId:n,updatedArgs:c}),[n,t.channel]),s=l.useCallback(c=>t.channel.emit(OL,{storyId:n,argNames:c}),[n,t.channel]);return e&&[a,i,s]},Aj=(e,t)=>{let r=t.getStoryContext(e),[n,a]=l.useState(r.globals);return l.useEffect(()=>{let o=i=>{a(i.globals)};return t.channel.on(E4,o),()=>t.channel.off(E4,o)},[t.channel]),[n]};function kj(e,t){let{extractArgTypes:r}=t.docs||{};if(!r)throw new Error("Args unsupported. See Args documentation for your framework.");return r(e)}var _j=e=>{var w;let{of:t}=e;if("of"in e&&t===void 0)throw new Error("Unexpected `of={undefined}`, did you mistype a CSF file reference?");let r=l.useContext(er),{story:n}=r.resolveOf(t||"story",["story"]),{parameters:a,argTypes:o,component:i,subcomponents:s}=n,c=((w=a.docs)==null?void 0:w.controls)||{},d=e.include??c.include,f=e.exclude??c.exclude,m=e.sort??c.sort,[p,h,g]=Sj(n,r),[y]=Aj(n,r),b=w4(o,d,f);if(!(s&&Object.keys(s).length>0))return Object.keys(b).length>0||Object.keys(p).length>0?v.createElement(W1,{rows:b,sort:m,args:p,globals:y,updateArgs:h,resetArgs:g}):null;let C=KN(i),E=Object.fromEntries(Object.entries(s).map(([x,S])=>[x,{rows:w4(kj(S,a),d,f),sort:m}])),D={[C]:{rows:b,sort:m},...E};return v.createElement(UN,{tabs:D,sort:m,args:p,globals:y,updateArgs:h,resetArgs:g})},{document:T9}=globalThis,L9=({className:e,children:t,...r})=>{if(typeof e!="string"&&(typeof t!="string"||!t.match(/[\n\r]/g)))return v.createElement(ND,null,t);let n=e&&e.split("-");return v.createElement(PE,{language:n&&n[1]||"text",format:!1,code:t,...r})};function Dh(e,t){e.channel.emit(RE,t)}var G1=bL.a,Bj=({hash:e,children:t})=>{let r=l.useContext(er);return v.createElement(G1,{href:e,target:"_self",onClick:n=>{let a=e.substring(1);T9.getElementById(a)&&Dh(r,e)}},t)},M9=e=>{let{href:t,target:r,children:n,...a}=e,o=l.useContext(er);return!t||r==="_blank"||/^https?:\/\//.test(t)?v.createElement(G1,{...e}):t.startsWith("#")?v.createElement(Bj,{hash:t},n):v.createElement(G1,{href:t,onClick:i=>{i.button===0&&!i.altKey&&!i.ctrlKey&&!i.metaKey&&!i.shiftKey&&(i.preventDefault(),Dh(o,i.currentTarget.getAttribute("href")))},target:r,...a},n)},O9=["h1","h2","h3","h4","h5","h6"],Rj=O9.reduce((e,t)=>({...e,[t]:k(t)({"& svg":{position:"relative",top:"-0.1em",visibility:"hidden"},"&:hover svg":{visibility:"visible"}})}),{}),Ij=k.a(()=>({float:"left",lineHeight:"inherit",paddingRight:"10px",marginLeft:"-24px",color:"inherit"})),zj=({as:e,id:t,children:r,...n})=>{let a=l.useContext(er),o=Rj[e],i=`#${t}`;return v.createElement(o,{id:t,...n},v.createElement(Ij,{"aria-hidden":"true",href:i,tabIndex:-1,target:"_self",onClick:s=>{T9.getElementById(t)&&Dh(a,i)}},v.createElement(_L,null)),r)},Eh=e=>{let{as:t,id:r,children:n,...a}=e;if(r)return v.createElement(zj,{as:t,id:r,...a},n);let o=t,{as:i,...s}=e;return v.createElement(o,{...le(s,t)})},P9=O9.reduce((e,t)=>({...e,[t]:r=>v.createElement(Eh,{as:t,...r})}),{}),Tj=e=>{var t;if(!e.children)return null;if(typeof e.children!="string")throw new Error(W9`The Markdown block only accepts children as a single string, but children were of type: '${typeof e.children}' - This is often caused by not wrapping the child in a template string. - - This is invalid: - - # Some heading - A paragraph - - - Instead do: - - {\` - # Some heading - A paragraph - \`} - - `);return v.createElement(l9,{...e,options:{forceBlock:!0,overrides:{code:L9,a:M9,...P9,...(t=e==null?void 0:e.options)==null?void 0:t.overrides},...e==null?void 0:e.options}})},Lj=(e=>(e.INFO="info",e.NOTES="notes",e.DOCGEN="docgen",e.AUTO="auto",e))(Lj||{}),Mj=e=>{var t,r,n,a,o,i,s,c;switch(e.type){case"story":return((r=(t=e.story.parameters.docs)==null?void 0:t.description)==null?void 0:r.story)||null;case"meta":{let{parameters:d,component:f}=e.preparedMeta;return((a=(n=d.docs)==null?void 0:n.description)==null?void 0:a.component)||((i=(o=d.docs)==null?void 0:o.extractComponentDescription)==null?void 0:i.call(o,f,{component:f,parameters:d}))||null}case"component":{let{component:d,projectAnnotations:{parameters:f}}=e;return((c=(s=f.docs)==null?void 0:s.extractComponentDescription)==null?void 0:c.call(s,d,{component:d,parameters:f}))||null}default:throw new Error(`Unrecognized module type resolved from 'useOf', got: ${e.type}`)}},K1=e=>{let{of:t}=e;if("of"in e&&t===void 0)throw new Error("Unexpected `of={undefined}`, did you mistype a CSF file reference?");let r=An(t||"meta"),n=Mj(r);return n?v.createElement(Tj,null,n):null},K4=Z1(VL()),Oj=k.div(({theme:e})=>({width:"10rem","@media (max-width: 768px)":{display:"none"}})),Pj=k.div(({theme:e})=>({position:"fixed",bottom:0,top:0,width:"10rem",paddingTop:"4rem",paddingBottom:"2rem",overflowY:"auto",fontFamily:e.typography.fonts.base,fontSize:e.typography.size.s2,WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",WebkitTapHighlightColor:"rgba(0, 0, 0, 0)",WebkitOverflowScrolling:"touch","& *":{boxSizing:"border-box"},"& > .toc-wrapper > .toc-list":{paddingLeft:0,borderLeft:`solid 2px ${e.color.mediumlight}`,".toc-list":{paddingLeft:0,borderLeft:`solid 2px ${e.color.mediumlight}`,".toc-list":{paddingLeft:0,borderLeft:`solid 2px ${e.color.mediumlight}`}}},"& .toc-list-item":{position:"relative",listStyleType:"none",marginLeft:20,paddingTop:3,paddingBottom:3},"& .toc-list-item::before":{content:'""',position:"absolute",height:"100%",top:0,left:0,transform:"translateX(calc(-2px - 20px))",borderLeft:`solid 2px ${e.color.mediumdark}`,opacity:0,transition:"opacity 0.2s"},"& .toc-list-item.is-active-li::before":{opacity:1},"& .toc-list-item > a":{color:e.color.defaultText,textDecoration:"none"},"& .toc-list-item.is-active-li > a":{fontWeight:600,color:e.color.secondary,textDecoration:"none"}})),Nj=k.p(({theme:e})=>({fontWeight:600,fontSize:"0.875em",color:e.textColor,textTransform:"uppercase",marginBottom:10})),Hj=({title:e})=>e===null?null:typeof e=="string"?v.createElement(Nj,null,e):e,$j=({title:e,disable:t,headingSelector:r,contentsSelector:n,ignoreSelector:a,unsafeTocbotOptions:o,channel:i})=>(l.useEffect(()=>{if(t)return()=>{};let s={tocSelector:".toc-wrapper",contentSelector:n??".sbdocs-content",headingSelector:r??"h3",ignoreSelector:a??".docs-story *, .skip-toc",headingsOffset:40,scrollSmoothOffset:-40,orderedList:!1,onClick:d=>{if(d.preventDefault(),d.currentTarget instanceof HTMLAnchorElement){let[,f]=d.currentTarget.href.split("#");f&&i.emit(RE,`#${f}`)}},...o},c=setTimeout(()=>K4.init(s),100);return()=>{clearTimeout(c),K4.destroy()}},[i,t,a,n,r,o]),v.createElement(v.Fragment,null,v.createElement(Oj,null,t?null:v.createElement(Pj,null,v.createElement(Hj,{title:e||null}),v.createElement("div",{className:"toc-wrapper"}))))),{document:jj,window:Vj}=globalThis,Uj=({context:e,theme:t,children:r})=>{var a,o,i,s,c;let n;try{n=(o=(a=e.resolveOf("meta",["meta"]).preparedMeta.parameters)==null?void 0:a.docs)==null?void 0:o.toc}catch{n=(c=(s=(i=e==null?void 0:e.projectAnnotations)==null?void 0:i.parameters)==null?void 0:s.docs)==null?void 0:c.toc}return l.useEffect(()=>{let d;try{if(d=new URL(Vj.parent.location.toString()),d.hash){let f=jj.getElementById(decodeURIComponent(d.hash.substring(1)));f&&setTimeout(()=>{YN(f)},200)}}catch{}}),v.createElement(er.Provider,{value:e},v.createElement(mj,{channel:e.channel},v.createElement(A3,{theme:tS(t)},v.createElement(kM,{toc:n?v.createElement($j,{className:"sbdocs sbdocs-toc--custom",channel:e.channel,...n}):null},r))))},qj=/[\0-\x1F!-,\.\/:-@\[-\^`\{-\xA9\xAB-\xB4\xB6-\xB9\xBB-\xBF\xD7\xF7\u02C2-\u02C5\u02D2-\u02DF\u02E5-\u02EB\u02ED\u02EF-\u02FF\u0375\u0378\u0379\u037E\u0380-\u0385\u0387\u038B\u038D\u03A2\u03F6\u0482\u0530\u0557\u0558\u055A-\u055F\u0589-\u0590\u05BE\u05C0\u05C3\u05C6\u05C8-\u05CF\u05EB-\u05EE\u05F3-\u060F\u061B-\u061F\u066A-\u066D\u06D4\u06DD\u06DE\u06E9\u06FD\u06FE\u0700-\u070F\u074B\u074C\u07B2-\u07BF\u07F6-\u07F9\u07FB\u07FC\u07FE\u07FF\u082E-\u083F\u085C-\u085F\u086B-\u089F\u08B5\u08C8-\u08D2\u08E2\u0964\u0965\u0970\u0984\u098D\u098E\u0991\u0992\u09A9\u09B1\u09B3-\u09B5\u09BA\u09BB\u09C5\u09C6\u09C9\u09CA\u09CF-\u09D6\u09D8-\u09DB\u09DE\u09E4\u09E5\u09F2-\u09FB\u09FD\u09FF\u0A00\u0A04\u0A0B-\u0A0E\u0A11\u0A12\u0A29\u0A31\u0A34\u0A37\u0A3A\u0A3B\u0A3D\u0A43-\u0A46\u0A49\u0A4A\u0A4E-\u0A50\u0A52-\u0A58\u0A5D\u0A5F-\u0A65\u0A76-\u0A80\u0A84\u0A8E\u0A92\u0AA9\u0AB1\u0AB4\u0ABA\u0ABB\u0AC6\u0ACA\u0ACE\u0ACF\u0AD1-\u0ADF\u0AE4\u0AE5\u0AF0-\u0AF8\u0B00\u0B04\u0B0D\u0B0E\u0B11\u0B12\u0B29\u0B31\u0B34\u0B3A\u0B3B\u0B45\u0B46\u0B49\u0B4A\u0B4E-\u0B54\u0B58-\u0B5B\u0B5E\u0B64\u0B65\u0B70\u0B72-\u0B81\u0B84\u0B8B-\u0B8D\u0B91\u0B96-\u0B98\u0B9B\u0B9D\u0BA0-\u0BA2\u0BA5-\u0BA7\u0BAB-\u0BAD\u0BBA-\u0BBD\u0BC3-\u0BC5\u0BC9\u0BCE\u0BCF\u0BD1-\u0BD6\u0BD8-\u0BE5\u0BF0-\u0BFF\u0C0D\u0C11\u0C29\u0C3A-\u0C3C\u0C45\u0C49\u0C4E-\u0C54\u0C57\u0C5B-\u0C5F\u0C64\u0C65\u0C70-\u0C7F\u0C84\u0C8D\u0C91\u0CA9\u0CB4\u0CBA\u0CBB\u0CC5\u0CC9\u0CCE-\u0CD4\u0CD7-\u0CDD\u0CDF\u0CE4\u0CE5\u0CF0\u0CF3-\u0CFF\u0D0D\u0D11\u0D45\u0D49\u0D4F-\u0D53\u0D58-\u0D5E\u0D64\u0D65\u0D70-\u0D79\u0D80\u0D84\u0D97-\u0D99\u0DB2\u0DBC\u0DBE\u0DBF\u0DC7-\u0DC9\u0DCB-\u0DCE\u0DD5\u0DD7\u0DE0-\u0DE5\u0DF0\u0DF1\u0DF4-\u0E00\u0E3B-\u0E3F\u0E4F\u0E5A-\u0E80\u0E83\u0E85\u0E8B\u0EA4\u0EA6\u0EBE\u0EBF\u0EC5\u0EC7\u0ECE\u0ECF\u0EDA\u0EDB\u0EE0-\u0EFF\u0F01-\u0F17\u0F1A-\u0F1F\u0F2A-\u0F34\u0F36\u0F38\u0F3A-\u0F3D\u0F48\u0F6D-\u0F70\u0F85\u0F98\u0FBD-\u0FC5\u0FC7-\u0FFF\u104A-\u104F\u109E\u109F\u10C6\u10C8-\u10CC\u10CE\u10CF\u10FB\u1249\u124E\u124F\u1257\u1259\u125E\u125F\u1289\u128E\u128F\u12B1\u12B6\u12B7\u12BF\u12C1\u12C6\u12C7\u12D7\u1311\u1316\u1317\u135B\u135C\u1360-\u137F\u1390-\u139F\u13F6\u13F7\u13FE-\u1400\u166D\u166E\u1680\u169B-\u169F\u16EB-\u16ED\u16F9-\u16FF\u170D\u1715-\u171F\u1735-\u173F\u1754-\u175F\u176D\u1771\u1774-\u177F\u17D4-\u17D6\u17D8-\u17DB\u17DE\u17DF\u17EA-\u180A\u180E\u180F\u181A-\u181F\u1879-\u187F\u18AB-\u18AF\u18F6-\u18FF\u191F\u192C-\u192F\u193C-\u1945\u196E\u196F\u1975-\u197F\u19AC-\u19AF\u19CA-\u19CF\u19DA-\u19FF\u1A1C-\u1A1F\u1A5F\u1A7D\u1A7E\u1A8A-\u1A8F\u1A9A-\u1AA6\u1AA8-\u1AAF\u1AC1-\u1AFF\u1B4C-\u1B4F\u1B5A-\u1B6A\u1B74-\u1B7F\u1BF4-\u1BFF\u1C38-\u1C3F\u1C4A-\u1C4C\u1C7E\u1C7F\u1C89-\u1C8F\u1CBB\u1CBC\u1CC0-\u1CCF\u1CD3\u1CFB-\u1CFF\u1DFA\u1F16\u1F17\u1F1E\u1F1F\u1F46\u1F47\u1F4E\u1F4F\u1F58\u1F5A\u1F5C\u1F5E\u1F7E\u1F7F\u1FB5\u1FBD\u1FBF-\u1FC1\u1FC5\u1FCD-\u1FCF\u1FD4\u1FD5\u1FDC-\u1FDF\u1FED-\u1FF1\u1FF5\u1FFD-\u203E\u2041-\u2053\u2055-\u2070\u2072-\u207E\u2080-\u208F\u209D-\u20CF\u20F1-\u2101\u2103-\u2106\u2108\u2109\u2114\u2116-\u2118\u211E-\u2123\u2125\u2127\u2129\u212E\u213A\u213B\u2140-\u2144\u214A-\u214D\u214F-\u215F\u2189-\u24B5\u24EA-\u2BFF\u2C2F\u2C5F\u2CE5-\u2CEA\u2CF4-\u2CFF\u2D26\u2D28-\u2D2C\u2D2E\u2D2F\u2D68-\u2D6E\u2D70-\u2D7E\u2D97-\u2D9F\u2DA7\u2DAF\u2DB7\u2DBF\u2DC7\u2DCF\u2DD7\u2DDF\u2E00-\u2E2E\u2E30-\u3004\u3008-\u3020\u3030\u3036\u3037\u303D-\u3040\u3097\u3098\u309B\u309C\u30A0\u30FB\u3100-\u3104\u3130\u318F-\u319F\u31C0-\u31EF\u3200-\u33FF\u4DC0-\u4DFF\u9FFD-\u9FFF\uA48D-\uA4CF\uA4FE\uA4FF\uA60D-\uA60F\uA62C-\uA63F\uA673\uA67E\uA6F2-\uA716\uA720\uA721\uA789\uA78A\uA7C0\uA7C1\uA7CB-\uA7F4\uA828-\uA82B\uA82D-\uA83F\uA874-\uA87F\uA8C6-\uA8CF\uA8DA-\uA8DF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA954-\uA95F\uA97D-\uA97F\uA9C1-\uA9CE\uA9DA-\uA9DF\uA9FF\uAA37-\uAA3F\uAA4E\uAA4F\uAA5A-\uAA5F\uAA77-\uAA79\uAAC3-\uAADA\uAADE\uAADF\uAAF0\uAAF1\uAAF7-\uAB00\uAB07\uAB08\uAB0F\uAB10\uAB17-\uAB1F\uAB27\uAB2F\uAB5B\uAB6A-\uAB6F\uABEB\uABEE\uABEF\uABFA-\uABFF\uD7A4-\uD7AF\uD7C7-\uD7CA\uD7FC-\uD7FF\uE000-\uF8FF\uFA6E\uFA6F\uFADA-\uFAFF\uFB07-\uFB12\uFB18-\uFB1C\uFB29\uFB37\uFB3D\uFB3F\uFB42\uFB45\uFBB2-\uFBD2\uFD3E-\uFD4F\uFD90\uFD91\uFDC8-\uFDEF\uFDFC-\uFDFF\uFE10-\uFE1F\uFE30-\uFE32\uFE35-\uFE4C\uFE50-\uFE6F\uFE75\uFEFD-\uFF0F\uFF1A-\uFF20\uFF3B-\uFF3E\uFF40\uFF5B-\uFF65\uFFBF-\uFFC1\uFFC8\uFFC9\uFFD0\uFFD1\uFFD8\uFFD9\uFFDD-\uFFFF]|\uD800[\uDC0C\uDC27\uDC3B\uDC3E\uDC4E\uDC4F\uDC5E-\uDC7F\uDCFB-\uDD3F\uDD75-\uDDFC\uDDFE-\uDE7F\uDE9D-\uDE9F\uDED1-\uDEDF\uDEE1-\uDEFF\uDF20-\uDF2C\uDF4B-\uDF4F\uDF7B-\uDF7F\uDF9E\uDF9F\uDFC4-\uDFC7\uDFD0\uDFD6-\uDFFF]|\uD801[\uDC9E\uDC9F\uDCAA-\uDCAF\uDCD4-\uDCD7\uDCFC-\uDCFF\uDD28-\uDD2F\uDD64-\uDDFF\uDF37-\uDF3F\uDF56-\uDF5F\uDF68-\uDFFF]|\uD802[\uDC06\uDC07\uDC09\uDC36\uDC39-\uDC3B\uDC3D\uDC3E\uDC56-\uDC5F\uDC77-\uDC7F\uDC9F-\uDCDF\uDCF3\uDCF6-\uDCFF\uDD16-\uDD1F\uDD3A-\uDD7F\uDDB8-\uDDBD\uDDC0-\uDDFF\uDE04\uDE07-\uDE0B\uDE14\uDE18\uDE36\uDE37\uDE3B-\uDE3E\uDE40-\uDE5F\uDE7D-\uDE7F\uDE9D-\uDEBF\uDEC8\uDEE7-\uDEFF\uDF36-\uDF3F\uDF56-\uDF5F\uDF73-\uDF7F\uDF92-\uDFFF]|\uD803[\uDC49-\uDC7F\uDCB3-\uDCBF\uDCF3-\uDCFF\uDD28-\uDD2F\uDD3A-\uDE7F\uDEAA\uDEAD-\uDEAF\uDEB2-\uDEFF\uDF1D-\uDF26\uDF28-\uDF2F\uDF51-\uDFAF\uDFC5-\uDFDF\uDFF7-\uDFFF]|\uD804[\uDC47-\uDC65\uDC70-\uDC7E\uDCBB-\uDCCF\uDCE9-\uDCEF\uDCFA-\uDCFF\uDD35\uDD40-\uDD43\uDD48-\uDD4F\uDD74\uDD75\uDD77-\uDD7F\uDDC5-\uDDC8\uDDCD\uDDDB\uDDDD-\uDDFF\uDE12\uDE38-\uDE3D\uDE3F-\uDE7F\uDE87\uDE89\uDE8E\uDE9E\uDEA9-\uDEAF\uDEEB-\uDEEF\uDEFA-\uDEFF\uDF04\uDF0D\uDF0E\uDF11\uDF12\uDF29\uDF31\uDF34\uDF3A\uDF45\uDF46\uDF49\uDF4A\uDF4E\uDF4F\uDF51-\uDF56\uDF58-\uDF5C\uDF64\uDF65\uDF6D-\uDF6F\uDF75-\uDFFF]|\uD805[\uDC4B-\uDC4F\uDC5A-\uDC5D\uDC62-\uDC7F\uDCC6\uDCC8-\uDCCF\uDCDA-\uDD7F\uDDB6\uDDB7\uDDC1-\uDDD7\uDDDE-\uDDFF\uDE41-\uDE43\uDE45-\uDE4F\uDE5A-\uDE7F\uDEB9-\uDEBF\uDECA-\uDEFF\uDF1B\uDF1C\uDF2C-\uDF2F\uDF3A-\uDFFF]|\uD806[\uDC3B-\uDC9F\uDCEA-\uDCFE\uDD07\uDD08\uDD0A\uDD0B\uDD14\uDD17\uDD36\uDD39\uDD3A\uDD44-\uDD4F\uDD5A-\uDD9F\uDDA8\uDDA9\uDDD8\uDDD9\uDDE2\uDDE5-\uDDFF\uDE3F-\uDE46\uDE48-\uDE4F\uDE9A-\uDE9C\uDE9E-\uDEBF\uDEF9-\uDFFF]|\uD807[\uDC09\uDC37\uDC41-\uDC4F\uDC5A-\uDC71\uDC90\uDC91\uDCA8\uDCB7-\uDCFF\uDD07\uDD0A\uDD37-\uDD39\uDD3B\uDD3E\uDD48-\uDD4F\uDD5A-\uDD5F\uDD66\uDD69\uDD8F\uDD92\uDD99-\uDD9F\uDDAA-\uDEDF\uDEF7-\uDFAF\uDFB1-\uDFFF]|\uD808[\uDF9A-\uDFFF]|\uD809[\uDC6F-\uDC7F\uDD44-\uDFFF]|[\uD80A\uD80B\uD80E-\uD810\uD812-\uD819\uD824-\uD82B\uD82D\uD82E\uD830-\uD833\uD837\uD839\uD83D\uD83F\uD87B-\uD87D\uD87F\uD885-\uDB3F\uDB41-\uDBFF][\uDC00-\uDFFF]|\uD80D[\uDC2F-\uDFFF]|\uD811[\uDE47-\uDFFF]|\uD81A[\uDE39-\uDE3F\uDE5F\uDE6A-\uDECF\uDEEE\uDEEF\uDEF5-\uDEFF\uDF37-\uDF3F\uDF44-\uDF4F\uDF5A-\uDF62\uDF78-\uDF7C\uDF90-\uDFFF]|\uD81B[\uDC00-\uDE3F\uDE80-\uDEFF\uDF4B-\uDF4E\uDF88-\uDF8E\uDFA0-\uDFDF\uDFE2\uDFE5-\uDFEF\uDFF2-\uDFFF]|\uD821[\uDFF8-\uDFFF]|\uD823[\uDCD6-\uDCFF\uDD09-\uDFFF]|\uD82C[\uDD1F-\uDD4F\uDD53-\uDD63\uDD68-\uDD6F\uDEFC-\uDFFF]|\uD82F[\uDC6B-\uDC6F\uDC7D-\uDC7F\uDC89-\uDC8F\uDC9A-\uDC9C\uDC9F-\uDFFF]|\uD834[\uDC00-\uDD64\uDD6A-\uDD6C\uDD73-\uDD7A\uDD83\uDD84\uDD8C-\uDDA9\uDDAE-\uDE41\uDE45-\uDFFF]|\uD835[\uDC55\uDC9D\uDCA0\uDCA1\uDCA3\uDCA4\uDCA7\uDCA8\uDCAD\uDCBA\uDCBC\uDCC4\uDD06\uDD0B\uDD0C\uDD15\uDD1D\uDD3A\uDD3F\uDD45\uDD47-\uDD49\uDD51\uDEA6\uDEA7\uDEC1\uDEDB\uDEFB\uDF15\uDF35\uDF4F\uDF6F\uDF89\uDFA9\uDFC3\uDFCC\uDFCD]|\uD836[\uDC00-\uDDFF\uDE37-\uDE3A\uDE6D-\uDE74\uDE76-\uDE83\uDE85-\uDE9A\uDEA0\uDEB0-\uDFFF]|\uD838[\uDC07\uDC19\uDC1A\uDC22\uDC25\uDC2B-\uDCFF\uDD2D-\uDD2F\uDD3E\uDD3F\uDD4A-\uDD4D\uDD4F-\uDEBF\uDEFA-\uDFFF]|\uD83A[\uDCC5-\uDCCF\uDCD7-\uDCFF\uDD4C-\uDD4F\uDD5A-\uDFFF]|\uD83B[\uDC00-\uDDFF\uDE04\uDE20\uDE23\uDE25\uDE26\uDE28\uDE33\uDE38\uDE3A\uDE3C-\uDE41\uDE43-\uDE46\uDE48\uDE4A\uDE4C\uDE50\uDE53\uDE55\uDE56\uDE58\uDE5A\uDE5C\uDE5E\uDE60\uDE63\uDE65\uDE66\uDE6B\uDE73\uDE78\uDE7D\uDE7F\uDE8A\uDE9C-\uDEA0\uDEA4\uDEAA\uDEBC-\uDFFF]|\uD83C[\uDC00-\uDD2F\uDD4A-\uDD4F\uDD6A-\uDD6F\uDD8A-\uDFFF]|\uD83E[\uDC00-\uDFEF\uDFFA-\uDFFF]|\uD869[\uDEDE-\uDEFF]|\uD86D[\uDF35-\uDF3F]|\uD86E[\uDC1E\uDC1F]|\uD873[\uDEA2-\uDEAF]|\uD87A[\uDFE1-\uDFFF]|\uD87E[\uDE1E-\uDFFF]|\uD884[\uDF4B-\uDFFF]|\uDB40[\uDC00-\uDCFF\uDDF0-\uDFFF]/g,Wj=Object.hasOwnProperty,Gj=class{constructor(){this.occurrences,this.reset()}slug(e,t){let r=this,n=Kj(e,t===!0),a=n;for(;Wj.call(r.occurrences,n);)r.occurrences[a]++,n=a+"-"+r.occurrences[a];return r.occurrences[n]=0,n}reset(){this.occurrences=Object.create(null)}};function Kj(e,t){return typeof e!="string"?"":(t||(e=e.toLowerCase()),e.replace(qj,"").replace(/ /g,"-"))}var N9=new Gj,Yj=({children:e,disableAnchor:t,...r})=>{if(t||typeof e!="string")return v.createElement(HD,null,e);let n=N9.slug(e.toLowerCase());return v.createElement(Eh,{as:"h2",id:n,...r},e)},Jj=({children:e,disableAnchor:t})=>{if(t||typeof e!="string")return v.createElement($D,null,e);let r=N9.slug(e.toLowerCase());return v.createElement(Eh,{as:"h3",id:r},e)},H9=({of:e,expanded:t=!0,withToolbar:r=!1,__forceInitialArgs:n=!1,__primary:a=!1})=>{var s,c;let{story:o}=An(e||"story",["story"]),i=((c=(s=o.parameters.docs)==null?void 0:s.canvas)==null?void 0:c.withToolbar)??r;return v.createElement(WN,{storyId:o.id},t&&v.createElement(v.Fragment,null,v.createElement(Jj,null,o.name),v.createElement(K1,{of:e})),v.createElement(xj,{of:e,withToolbar:i,story:{__forceInitialArgs:n,__primary:a},source:{__forceInitialArgs:n}}))},Zj=e=>{let{of:t}=e;if("of"in e&&t===void 0)throw new Error("Unexpected `of={undefined}`, did you mistype a CSF file reference?");let{csfFile:r}=An(t||"meta",["meta"]),n=l.useContext(er).componentStoriesFromCSFFile(r)[0];return n?v.createElement(H9,{of:n.moduleExport,expanded:!1,__primary:!0,withToolbar:!0}):null},Xj=k(Yj)(({theme:e})=>({fontSize:`${e.typography.size.s2-1}px`,fontWeight:e.typography.weight.bold,lineHeight:"16px",letterSpacing:"0.35em",textTransform:"uppercase",color:e.textMutedColor,border:0,marginBottom:"12px","&:first-of-type":{marginTop:"56px"}})),Qj=({title:e="Stories",includePrimary:t=!0})=>{var s;let{componentStories:r,projectAnnotations:n,getStoryContext:a}=l.useContext(er),o=r(),{stories:{filter:i}={filter:void 0}}=((s=n.parameters)==null?void 0:s.docs)||{};return i&&(o=o.filter(c=>i(c,a(c)))),o.some(c=>{var d;return(d=c.tags)==null?void 0:d.includes("autodocs")})&&(o=o.filter(c=>{var d;return((d=c.tags)==null?void 0:d.includes("autodocs"))&&!c.usesMount})),t||(o=o.slice(1)),!o||o.length===0?null:v.createElement(v.Fragment,null,typeof e=="string"?v.createElement(Xj,null,e):e,o.map(c=>c&&v.createElement(H9,{key:c.id,of:c.moduleExport,expanded:!0,__forceInitialArgs:!0})))},eV="https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#subtitle-block-and-parameterscomponentsubtitle",tV=e=>{let{of:t,children:r}=e;if("of"in e&&t===void 0)throw new Error("Unexpected `of={undefined}`, did you mistype a CSF file reference?");let n;try{n=An(t||"meta",["meta"]).preparedMeta}catch(s){if(r&&!s.message.includes("did you forget to use ?"))throw s}let{componentSubtitle:a,docs:o}=(n==null?void 0:n.parameters)||{};a&&TL(`Using 'parameters.componentSubtitle' property to subtitle stories is deprecated. See ${eV}`);let i=r||(o==null?void 0:o.subtitle)||a;return i?v.createElement(SM,{className:"sbdocs-subtitle sb-unstyled"},i):null},rV=/\s*\/\s*/,nV=e=>{let t=e.trim().split(rV);return(t==null?void 0:t[(t==null?void 0:t.length)-1])||e},aV=e=>{let{children:t,of:r}=e;if("of"in e&&r===void 0)throw new Error("Unexpected `of={undefined}`, did you mistype a CSF file reference?");let n;try{n=An(r||"meta",["meta"]).preparedMeta}catch(o){if(t&&!o.message.includes("did you forget to use ?"))throw o}let a=t||nV(n==null?void 0:n.title);return a?v.createElement(xM,{className:"sbdocs-title sb-unstyled"},a):null},oV=()=>{let e=An("meta",["meta"]),{stories:t}=e.csfFile,r=Object.keys(t).length===1;return v.createElement(v.Fragment,null,v.createElement(aV,null),v.createElement(tV,null),v.createElement(K1,{of:"meta"}),r?v.createElement(K1,{of:"story"}):null,v.createElement(Zj,null),v.createElement(_j,null),r?null:v.createElement(Qj,null))};function iV({context:e,docsParameter:t}){let r=t.container||Uj,n=t.page||oV;return v.createElement(r,{context:e,theme:t.theme},v.createElement(n,null))}var $9={code:L9,a:M9,...P9},lV=class extends l.Component{constructor(){super(...arguments),this.state={hasError:!1}}static getDerivedStateFromError(){return{hasError:!0}}componentDidCatch(e){let{showException:t}=this.props;t(e)}render(){let{hasError:e}=this.state,{children:t}=this.props;return e?null:v.createElement(v.Fragment,null,t)}},sV=class{constructor(){this.render=async(e,t,r)=>{let n={...$9,...t==null?void 0:t.components},a=iV;return new Promise((o,i)=>{Y1(()=>import("./index-fc0741bd.js"),["./index-fc0741bd.js","./index-93f6b7ae.js"],import.meta.url).then(({MDXProvider:s})=>G9(v.createElement(lV,{showException:i,key:Math.random()},v.createElement(s,{components:n},v.createElement(a,{context:e,docsParameter:t}))),r)).then(()=>o())})},this.unmount=e=>{K9(e)}}};const jV=Object.freeze(Object.defineProperty({__proto__:null,DocsRenderer:sV,defaultComponents:$9},Symbol.toStringTag,{value:"Module"}));export{aa as $,LA as A,RV as B,RA as C,$D as D,IA as E,OA as F,wE as G,FE as H,$A as I,mL as J,iu as K,wV as L,Uf as M,Fn as N,kV as O,bV as P,jA as Q,zA as R,gi as S,HA as T,AE as U,TV as V,tL as W,CE as X,PT as Y,ch as Z,DV as _,ND as a,SV as a0,FV as a1,UA as a2,xV as a3,yT as a4,Pz as a5,Lr as a6,bL as a7,td as a8,vL as a9,T1 as aa,BV as ab,le as ac,wL as ad,se as ae,Z1 as af,k as ag,PV as ah,vV as ai,Ct as aj,vn as ak,jV as al,AA as b,_A as c,un as d,AV as e,IV as f,DA as g,TA as h,xp as i,TT as j,PA as k,EV as l,NA as m,yV as n,Wz as o,PD as p,Il as q,kE as r,OV as s,MV as t,LV as u,EA as v,kA as w,BA as x,HD as y,zV as z}; diff --git a/docs/storybook/assets/DpCustomIcons-ed1fec51.woff2 b/docs/storybook/assets/DpCustomIcons-ed1fec51.woff2 deleted file mode 100644 index b9cec7b..0000000 Binary files a/docs/storybook/assets/DpCustomIcons-ed1fec51.woff2 and /dev/null differ diff --git a/docs/storybook/assets/ExternalIconLink-aaade95d.js b/docs/storybook/assets/ExternalIconLink-aaade95d.js deleted file mode 100644 index b13aaa1..0000000 --- a/docs/storybook/assets/ExternalIconLink-aaade95d.js +++ /dev/null @@ -1,24 +0,0 @@ -import{j as e}from"./jsx-runtime-6d9837fe.js";import{d as o,g as t,S as i,e as l,l as d,R as c}from"./SPA-63b29876.js";import"./index-93f6b7ae.js";import"./index-03a57050.js";const p=o(i)` - align-items: center; - padding: 2px; -`,m=o.a` - display: inline-block; - border-radius: 10px; - border: 1px solid transparent; - color: ${({theme:r})=>r.colors.brandShade60}; -`,x=o(l)` - display: inline-block !important; - padding: 0 6px 0 0; - cursor: pointer; - - > svg { - width: 12px; - height: 12px; - margin-top: -2px; - } -`,h=o(c)` - border-color: ${({theme:r})=>r.colors.brandShade20}; - &:hover { - border-color: ${({theme:r})=>r.colors.brandShade60}; - } -`,s=({href:r,icon:n})=>{const a=d;return e.jsx(m,{target:"_blank",href:r,children:e.jsx(h,{size:"small",withClose:!1,backgroundColor:a.colors.brandShade20,textColor:a.colors.grey100,closeIcon:t,label:e.jsxs(p,{gap:5,children:[n&&e.jsx(x,{icon:n}),e.jsx(i,{children:e.jsx(l,{icon:t})})]})})})};try{s.displayName="ExternalIconLink",s.__docgenInfo={description:"",displayName:"ExternalIconLink",props:{href:{defaultValue:null,description:"",name:"href",required:!0,type:{name:"string"}},icon:{defaultValue:null,description:"",name:"icon",required:!1,type:{name:"AnyIcon"}}}}}catch{}export{s as E}; diff --git a/docs/storybook/assets/ExternalIconLink.stories-39a0927d.js b/docs/storybook/assets/ExternalIconLink.stories-39a0927d.js deleted file mode 100644 index 06e484e..0000000 --- a/docs/storybook/assets/ExternalIconLink.stories-39a0927d.js +++ /dev/null @@ -1,10 +0,0 @@ -import{j as c}from"./jsx-runtime-6d9837fe.js";import{E as n}from"./ExternalIconLink-aaade95d.js";import"./index-93f6b7ae.js";import"./SPA-63b29876.js";import"./index-03a57050.js";/*! - * Font Awesome Free 6.7.2 by @fontawesome - https://fontawesome.com - * License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License) - * Copyright 2024 Fonticons, Inc. - */const a={prefix:"fab",iconName:"apple",icon:[384,512,[],"f179","M318.7 268.7c-.2-36.7 16.4-64.4 50-84.8-18.8-26.9-47.2-41.7-84.7-44.6-35.5-2.8-74.3 20.7-88.5 20.7-15 0-49.4-19.7-76.4-19.7C63.3 141.2 4 184.8 4 273.5q0 39.3 14.4 81.2c12.8 36.7 59 126.7 107.2 125.2 25.2-.6 43-17.9 75.8-17.9 31.8 0 48.3 17.9 76.4 17.9 48.6-.7 90.4-82.5 102.6-119.3-65.2-30.7-61.7-90-61.7-91.9zm-56.6-164.2c27.3-32.4 24.8-61.9 24-72.5-24.1 1.4-52 16.4-67.9 34.9-17.5 19.8-27.8 44.3-25.6 71.9 26.1 2 49.9-11.4 69.5-34.3z"]},i={prefix:"fab",iconName:"react",icon:[512,512,[],"f41b","M418.2 177.2c-5.4-1.8-10.8-3.5-16.2-5.1.9-3.7 1.7-7.4 2.5-11.1 12.3-59.6 4.2-107.5-23.1-123.3-26.3-15.1-69.2.6-112.6 38.4-4.3 3.7-8.5 7.6-12.5 11.5-2.7-2.6-5.5-5.2-8.3-7.7-45.5-40.4-91.1-57.4-118.4-41.5-26.2 15.2-34 60.3-23 116.7 1.1 5.6 2.3 11.1 3.7 16.7-6.4 1.8-12.7 3.8-18.6 5.9C38.3 196.2 0 225.4 0 255.6c0 31.2 40.8 62.5 96.3 81.5 4.5 1.5 9 3 13.6 4.3-1.5 6-2.8 11.9-4 18-10.5 55.5-2.3 99.5 23.9 114.6 27 15.6 72.4-.4 116.6-39.1 3.5-3.1 7-6.3 10.5-9.7 4.4 4.3 9 8.4 13.6 12.4 42.8 36.8 85.1 51.7 111.2 36.6 27-15.6 35.8-62.9 24.4-120.5-.9-4.4-1.9-8.9-3-13.5 3.2-.9 6.3-1.9 9.4-2.9 57.7-19.1 99.5-50 99.5-81.7 0-30.3-39.4-59.7-93.8-78.4zM282.9 92.3c37.2-32.4 71.9-45.1 87.7-36 16.9 9.7 23.4 48.9 12.8 100.4-.7 3.4-1.4 6.7-2.3 10-22.2-5-44.7-8.6-67.3-10.6-13-18.6-27.2-36.4-42.6-53.1 3.9-3.7 7.7-7.2 11.7-10.7zM167.2 307.5c5.1 8.7 10.3 17.4 15.8 25.9-15.6-1.7-31.1-4.2-46.4-7.5 4.4-14.4 9.9-29.3 16.3-44.5 4.6 8.8 9.3 17.5 14.3 26.1zm-30.3-120.3c14.4-3.2 29.7-5.8 45.6-7.8-5.3 8.3-10.5 16.8-15.4 25.4-4.9 8.5-9.7 17.2-14.2 26-6.3-14.9-11.6-29.5-16-43.6zm27.4 68.9c6.6-13.8 13.8-27.3 21.4-40.6s15.8-26.2 24.4-38.9c15-1.1 30.3-1.7 45.9-1.7s31 .6 45.9 1.7c8.5 12.6 16.6 25.5 24.3 38.7s14.9 26.7 21.7 40.4c-6.7 13.8-13.9 27.4-21.6 40.8-7.6 13.3-15.7 26.2-24.2 39-14.9 1.1-30.4 1.6-46.1 1.6s-30.9-.5-45.6-1.4c-8.7-12.7-16.9-25.7-24.6-39s-14.8-26.8-21.5-40.6zm180.6 51.2c5.1-8.8 9.9-17.7 14.6-26.7 6.4 14.5 12 29.2 16.9 44.3-15.5 3.5-31.2 6.2-47 8 5.4-8.4 10.5-17 15.5-25.6zm14.4-76.5c-4.7-8.8-9.5-17.6-14.5-26.2-4.9-8.5-10-16.9-15.3-25.2 16.1 2 31.5 4.7 45.9 8-4.6 14.8-10 29.2-16.1 43.4zM256.2 118.3c10.5 11.4 20.4 23.4 29.6 35.8-19.8-.9-39.7-.9-59.5 0 9.8-12.9 19.9-24.9 29.9-35.8zM140.2 57c16.8-9.8 54.1 4.2 93.4 39 2.5 2.2 5 4.6 7.6 7-15.5 16.7-29.8 34.5-42.9 53.1-22.6 2-45 5.5-67.2 10.4-1.3-5.1-2.4-10.3-3.5-15.5-9.4-48.4-3.2-84.9 12.6-94zm-24.5 263.6c-4.2-1.2-8.3-2.5-12.4-3.9-21.3-6.7-45.5-17.3-63-31.2-10.1-7-16.9-17.8-18.8-29.9 0-18.3 31.6-41.7 77.2-57.6 5.7-2 11.5-3.8 17.3-5.5 6.8 21.7 15 43 24.5 63.6-9.6 20.9-17.9 42.5-24.8 64.5zm116.6 98c-16.5 15.1-35.6 27.1-56.4 35.3-11.1 5.3-23.9 5.8-35.3 1.3-15.9-9.2-22.5-44.5-13.5-92 1.1-5.6 2.3-11.2 3.7-16.7 22.4 4.8 45 8.1 67.9 9.8 13.2 18.7 27.7 36.6 43.2 53.4-3.2 3.1-6.4 6.1-9.6 8.9zm24.5-24.3c-10.2-11-20.4-23.2-30.3-36.3 9.6.4 19.5.6 29.5.6 10.3 0 20.4-.2 30.4-.7-9.2 12.7-19.1 24.8-29.6 36.4zm130.7 30c-.9 12.2-6.9 23.6-16.5 31.3-15.9 9.2-49.8-2.8-86.4-34.2-4.2-3.6-8.4-7.5-12.7-11.5 15.3-16.9 29.4-34.8 42.2-53.6 22.9-1.9 45.7-5.4 68.2-10.5 1 4.1 1.9 8.2 2.7 12.2 4.9 21.6 5.7 44.1 2.5 66.3zm18.2-107.5c-2.8.9-5.6 1.8-8.5 2.6-7-21.8-15.6-43.1-25.5-63.8 9.6-20.4 17.7-41.4 24.5-62.9 5.2 1.5 10.2 3.1 15 4.7 46.6 16 79.3 39.8 79.3 58 0 19.6-34.9 44.9-84.8 61.4zm-149.7-15c25.3 0 45.8-20.5 45.8-45.8s-20.5-45.8-45.8-45.8c-25.3 0-45.8 20.5-45.8 45.8s20.5 45.8 45.8 45.8z"]},r={prefix:"fab",iconName:"android",icon:[576,512,[],"f17b","M420.55,301.93a24,24,0,1,1,24-24,24,24,0,0,1-24,24m-265.1,0a24,24,0,1,1,24-24,24,24,0,0,1-24,24m273.7-144.48,47.94-83a10,10,0,1,0-17.27-10h0l-48.54,84.07a301.25,301.25,0,0,0-246.56,0L116.18,64.45a10,10,0,1,0-17.27,10h0l47.94,83C64.53,202.22,8.24,285.55,0,384H576c-8.24-98.45-64.54-181.78-146.85-226.55"]},l={prefix:"fab",iconName:"php",icon:[640,512,[],"f457","M320 104.5c171.4 0 303.2 72.2 303.2 151.5S491.3 407.5 320 407.5c-171.4 0-303.2-72.2-303.2-151.5S148.7 104.5 320 104.5m0-16.8C143.3 87.7 0 163 0 256s143.3 168.3 320 168.3S640 349 640 256 496.7 87.7 320 87.7zM218.2 242.5c-7.9 40.5-35.8 36.3-70.1 36.3l13.7-70.6c38 0 63.8-4.1 56.4 34.3zM97.4 350.3h36.7l8.7-44.8c41.1 0 66.6 3 90.2-19.1 26.1-24 32.9-66.7 14.3-88.1-9.7-11.2-25.3-16.7-46.5-16.7h-70.7L97.4 350.3zm185.7-213.6h36.5l-8.7 44.8c31.5 0 60.7-2.3 74.8 10.7 14.8 13.6 7.7 31-8.3 113.1h-37c15.4-79.4 18.3-86 12.7-92-5.4-5.8-17.7-4.6-47.4-4.6l-18.8 96.6h-36.5l32.7-168.6zM505 242.5c-8 41.1-36.7 36.3-70.1 36.3l13.7-70.6c38.2 0 63.8-4.1 56.4 34.3zM384.2 350.3H421l8.7-44.8c43.2 0 67.1 2.5 90.2-19.1 26.1-24 32.9-66.7 14.3-88.1-9.7-11.2-25.3-16.7-46.5-16.7H417l-32.8 168.7z"]},m=()=>c.jsx("svg",{viewBox:"0 0 27 28",version:"1.1",xmlns:"http://www.w3.org/2000/svg",children:c.jsx("g",{stroke:"none",strokeWidth:"1",fill:"none",fillRule:"evenodd",children:c.jsx("g",{fill:"#f95c35",children:c.jsx("path",{d:"M19.614233,20.1771162 C17.5228041,20.1771162 15.8274241,18.4993457 15.8274241,16.4299995 C15.8274241,14.3602937 17.5228041,12.6825232 19.614233,12.6825232 C21.7056619,12.6825232 23.4010418,14.3602937 23.4010418,16.4299995 C23.4010418,18.4993457 21.7056619,20.1771162 19.614233,20.1771162 M20.7478775,9.21551429 L20.7478775,5.88190722 C21.6271788,5.47091457 22.243053,4.59067833 22.243053,3.56912967 L22.243053,3.49218091 C22.243053,2.08229273 21.0774338,0.928780545 19.6527478,0.928780545 L19.5753548,0.928780545 C18.1506688,0.928780545 16.9850496,2.08229273 16.9850496,3.49218091 L16.9850496,3.56912967 C16.9850496,4.59067833 17.6009238,5.47127414 18.4802251,5.88226679 L18.4802251,9.21551429 C17.1710836,9.4157968 15.9749432,9.95012321 14.9884545,10.7365107 L5.73944086,3.61659339 C5.80048326,3.3846684 5.84335828,3.14591151 5.84372163,2.89492912 C5.84517502,1.29842223 4.53930368,0.00215931486 2.92531356,1.87311107e-06 C1.31205014,-0.00179599501 0.00181863138,1.29087118 1.8932965e-06,2.88773765 C-0.00181484479,4.48460412 1.30405649,5.78086703 2.91804661,5.7826649 C3.44381061,5.78338405 3.93069642,5.63559929 4.35726652,5.39540411 L13.4551275,12.3995387 C12.6815604,13.5552084 12.2281026,14.9395668 12.2281026,16.4299995 C12.2281026,17.9901894 12.7262522,19.433518 13.5677653,20.6204705 L10.8012365,23.3586237 C10.5825013,23.2935408 10.3557723,23.2482346 10.1152362,23.2482346 C8.78938076,23.2482346 7.71423516,24.3118533 7.71423516,25.6239375 C7.71423516,26.9363812 8.78938076,28 10.1152362,28 C11.441455,28 12.5162373,26.9363812 12.5162373,25.6239375 C12.5162373,25.3866189 12.4704555,25.1618854 12.4046896,24.9454221 L15.1414238,22.2371135 C16.3837093,23.1752411 17.9308435,23.7390526 19.614233,23.7390526 C23.6935367,23.7390526 27,20.466573 27,16.4299995 C27,12.7756527 24.2872467,9.7566726 20.7478775,9.21551429"})})})}),p=()=>c.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 496 512",children:c.jsx("path",{d:"M165.9 397.4c0 2-2.3 3.6-5.2 3.6-3.3.3-5.6-1.3-5.6-3.6 0-2 2.3-3.6 5.2-3.6 3-.3 5.6 1.3 5.6 3.6zm-31.1-4.5c-.7 2 1.3 4.3 4.3 4.9 2.6 1 5.6 0 6.2-2s-1.3-4.3-4.3-5.2c-2.6-.7-5.5.3-6.2 2.3zm44.2-1.7c-2.9.7-4.9 2.6-4.6 4.9.3 2 2.9 3.3 5.9 2.6 2.9-.7 4.9-2.6 4.6-4.6-.3-1.9-3-3.2-5.9-2.9zM244.8 8C106.1 8 0 113.3 0 252c0 110.9 69.8 205.8 169.5 239.2 12.8 2.3 17.3-5.6 17.3-12.1 0-6.2-.3-40.4-.3-61.4 0 0-70 15-84.7-29.8 0 0-11.4-29.1-27.8-36.6 0 0-22.9-15.7 1.6-15.4 0 0 24.9 2 38.6 25.8 21.9 38.6 58.6 27.5 72.9 20.9 2.3-16 8.8-27.1 16-33.7-55.9-6.2-112.3-14.3-112.3-110.5 0-27.5 7.6-41.3 23.6-58.9-2.6-6.5-11.1-33.3 2.6-67.9 20.9-6.5 69 27 69 27 20-5.6 41.5-8.5 62.8-8.5s42.8 2.9 62.8 8.5c0 0 48.1-33.6 69-27 13.7 34.7 5.2 61.4 2.6 67.9 16 17.7 25.8 31.5 25.8 58.9 0 96.5-58.9 104.2-114.8 110.5 9.2 7.9 17 22.9 17 46.4 0 33.7-.3 75.4-.3 83.6 0 6.5 4.6 14.4 17.3 12.1C428.2 457.8 496 362.9 496 252 496 113.3 383.5 8 244.8 8zM97.2 352.9c-1.3 1-1 3.3.7 5.2 1.6 1.6 3.9 2.3 5.2 1 1.3-1 1-3.3-.7-5.2-1.6-1.6-3.9-2.3-5.2-1zm-10.8-8.1c-.7 1.3.3 2.9 2.3 3.9 1.6 1 3.6.7 4.3-.7.7-1.3-.3-2.9-2.3-3.9-2-.6-3.6-.3-4.3.7zm32.4 35.6c-1.6 1.3-1 4.3 1.3 6.2 2.3 2.3 5.2 2.6 6.5 1 1.3-1.3.7-4.3-1.3-6.2-2.2-2.3-5.2-2.6-6.5-1zm-11.4-14.7c-1.6 1-1.6 3.6 0 5.9 1.6 2.3 4.3 3.3 5.6 2.3 1.6-1.3 1.6-3.9 0-6.2-1.4-2.3-4-3.3-5.6-2z"})}),f=()=>c.jsxs("svg",{viewBox:"0 0 25 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[c.jsx("path",{d:"m24.507 9.5-.034-.09L21.082.562a.896.896.0 00-1.694.091l-2.29 7.01H7.825L5.535.653A.898.898.0 003.841.563L.451 9.411.416 9.5a6.297 6.297.0 002.09 7.278l.012.01.03.022 5.16 3.867 2.56 1.935 1.554 1.176a1.051 1.051.0 001.268.0l1.555-1.176 2.56-1.935 5.197-3.89.014-.01A6.297 6.297.0 0024.507 9.5z",fill:"#e24329"}),c.jsx("path",{d:"m24.507 9.5-.034-.09a11.44 11.44.0 00-4.56 2.051l-7.447 5.632 4.742 3.584 5.197-3.89.014-.01A6.297 6.297.0 0024.507 9.5z",fill:"#fc6d26"}),c.jsx("path",{d:"m7.707 20.677 2.56 1.935 1.555 1.176a1.051 1.051.0 001.268.0l1.555-1.176 2.56-1.935-4.743-3.584-4.755 3.584z",fill:"#fca326"}),c.jsx("path",{d:"M5.01 11.461A11.43 11.43.0 00.45 9.411L.416 9.5a6.297 6.297.0 002.09 7.278l.012.01.03.022 5.16 3.867 4.745-3.584-7.444-5.632z",fill:"#fc6d26"})]}),g={title:"Core/ExternalIconLink",component:n,argTypes:{href:{control:"text"},icon:{control:{type:"select"},options:["none","faPhp","faReact","faApple","faAndroid","svgHubSpot","svgGithub","svgGitLab"],mapping:{none:void 0,faPhp:l,faReact:i,faApple:a,faAndroid:r,svgHubSpot:c.jsx(m,{}),svgGithub:c.jsx(p,{}),svgGitLab:c.jsx(f,{})}}}},o={args:{href:"https://some.url",icon:"svgGitLab"}};var s,t,e;o.parameters={...o.parameters,docs:{...(s=o.parameters)==null?void 0:s.docs,source:{originalSource:`{ - args: { - href: "https://some.url", - icon: "svgGitLab" as AnyIcon - } -}`,...(e=(t=o.parameters)==null?void 0:t.docs)==null?void 0:e.source}}};const L=["Default"];export{o as Default,L as __namedExportsOrder,g as default}; diff --git a/docs/storybook/assets/HorizontalDivider.stories-a24b4330.js b/docs/storybook/assets/HorizontalDivider.stories-a24b4330.js deleted file mode 100644 index 037f5a1..0000000 --- a/docs/storybook/assets/HorizontalDivider.stories-a24b4330.js +++ /dev/null @@ -1,3 +0,0 @@ -import{j as o}from"./jsx-runtime-6d9837fe.js";import{l as s}from"./SPA-63b29876.js";import"./index-93f6b7ae.js";import"./index-03a57050.js";import{D as p}from"./DeskproAppProvider-553f0e05.js";import{H as a}from"./Divider-a1a4b2e0.js";const h={title:"Core/Divider"},r=()=>o.jsx(p,{theme:s,children:o.jsx(a,{width:2})});var e,i,t;r.parameters={...r.parameters,docs:{...(e=r.parameters)==null?void 0:e.docs,source:{originalSource:`() => - - `,...(t=(i=r.parameters)==null?void 0:i.docs)==null?void 0:t.source}}};const v=["HorizontalDividerStory"];export{r as HorizontalDividerStory,v as __namedExportsOrder,h as default}; diff --git a/docs/storybook/assets/Infinite.stories-19498108.js b/docs/storybook/assets/Infinite.stories-19498108.js deleted file mode 100644 index a74b5df..0000000 --- a/docs/storybook/assets/Infinite.stories-19498108.js +++ /dev/null @@ -1,217 +0,0 @@ -import{j as f}from"./jsx-runtime-6d9837fe.js";import{d as It,aa as ee,S as te}from"./SPA-63b29876.js";import{r as l}from"./index-93f6b7ae.js";import"./index-03a57050.js";import{O as Kt}from"./ObservedDiv-d49201f3.js";class W extends Error{constructor(e=!1){super(),this.interruptExecution=e,this.footprint=W.SharedFootPrint}static isFailure(e){return e!=null&&e.footprint===W.SharedFootPrint}}W.SharedFootPrint=Symbol.for("fast-check/PreconditionFailure");class pe{[Symbol.iterator](){return this}next(e){return{value:e,done:!0}}}pe.nil=new pe;function Jt(){return pe.nil}function*Zt(t,e){for(const n of t)yield e(n)}function*Xt(t,e){for(const n of t)yield*e(n)}function*Yt(t,e){for(const n of t)e(n)&&(yield n)}function*Qt(t,e){for(let n=0;nthis.valueChainer(r,n.clonedMrng.clone(),n.clonedMrng,n.originalBias))).join(n.chainedArbitrary.shrink(e,n.chainedContext).map(r=>{const a=Me(Me({},n),{chainedContext:r.context,stoppedForOriginal:!0});return new p(r.value_,a)})):b.nil()}valueChainer(e,n,r,a){const s=this.chainer(e.value_),i=s.generate(n,a),x={originalBias:a,originalValue:e.value_,originalContext:e.context,stoppedForOriginal:!1,chainedArbitrary:s,chainedContext:i.context,clonedMrng:r};return new p(i.value_,x)}isSafeContext(e){return e!=null&&typeof e=="object"&&"originalBias"in e&&"originalValue"in e&&"originalContext"in e&&"stoppedForOriginal"in e&&"chainedArbitrary"in e&&"chainedContext"in e&&"clonedMrng"in e}}class sn extends M{constructor(e,n,r){super(),this.arb=e,this.mapper=n,this.unmapper=r,this.bindValueMapper=a=>this.valueMapper(a)}generate(e,n){const r=this.arb.generate(e,n);return this.valueMapper(r)}canShrinkWithoutContext(e){if(this.unmapper!==void 0)try{const n=this.unmapper(e);return this.arb.canShrinkWithoutContext(n)}catch{return!1}return!1}shrink(e,n){if(this.isSafeContext(n))return this.arb.shrink(n.originalValue,n.originalContext).map(this.bindValueMapper);if(this.unmapper!==void 0){const r=this.unmapper(e);return this.arb.shrink(r,void 0).map(this.bindValueMapper)}return b.nil()}mapperWithCloneIfNeeded(e){const n=e.value,r=this.mapper(n);return e.hasToBeCloned&&(typeof r=="object"&&r!==null||typeof r=="function")&&Object.isExtensible(r)&&!ne(r)&&Object.defineProperty(r,E,{get:()=>()=>this.mapperWithCloneIfNeeded(e)[0]}),[r,n]}valueMapper(e){const[n,r]=this.mapperWithCloneIfNeeded(e),a={originalValue:r,originalContext:e.context};return new p(n,a)}isSafeContext(e){return e!=null&&typeof e=="object"&&"originalValue"in e&&"originalContext"in e}}class xn extends M{constructor(e,n){super(),this.arb=e,this.refinement=n,this.bindRefinementOnValue=r=>this.refinementOnValue(r)}generate(e,n){for(;;){const r=this.arb.generate(e,n);if(this.refinementOnValue(r))return r}}canShrinkWithoutContext(e){return this.arb.canShrinkWithoutContext(e)&&this.refinement(e)}shrink(e,n){return this.arb.shrink(e,n).filter(this.bindRefinementOnValue)}refinementOnValue(e){return this.refinement(e.value)}}class on extends M{constructor(e){super(),this.arb=e}generate(e,n){return this.arb.generate(e,n)}canShrinkWithoutContext(e){return this.arb.canShrinkWithoutContext(e)}shrink(e,n){return b.nil()}noShrink(){return this}}class fn extends M{constructor(e){super(),this.arb=e}generate(e,n){return this.arb.generate(e,void 0)}canShrinkWithoutContext(e){return this.arb.canShrinkWithoutContext(e)}shrink(e,n){return this.arb.shrink(e,n)}noBias(){return this}}const Mt=Function.prototype.apply,ie=Symbol("apply");function un(t){try{return t.apply}catch{return}}function cn(t,e,n){const r=t;r[ie]=Mt;const a=r[ie](e,n);return delete r[ie],a}function S(t,e,n){return un(t)===Mt?t.apply(e,n):cn(t,e,n)}const y=typeof Error<"u"?Error:void 0,dn=typeof Number<"u"?Number:void 0,hn=typeof String<"u"?String:void 0,ln=typeof Set<"u"?Set:void 0,pn=Map,ke=Array.prototype.indexOf,Ce=Array.prototype.join,Ne=Array.prototype.map,Ee=Array.prototype.push,Ae=Array.prototype.pop,Te=Array.prototype.slice;function bn(t){try{return t.indexOf}catch{return}}function mn(t){try{return t.join}catch{return}}function gn(t){try{return t.map}catch{return}}function yn(t){try{return t.push}catch{return}}function Sn(t){try{return t.pop}catch{return}}function vn(t){try{return t.slice}catch{return}}function be(t,...e){return bn(t)===ke?t.indexOf(...e):S(ke,t,e)}function wn(t,...e){return mn(t)===Ce?t.join(...e):S(Ce,t,e)}function O(t,e){return gn(t)===Ne?t.map(e):S(Ne,t,[e])}function m(t,...e){return yn(t)===Ee?t.push(...e):S(Ee,t,e)}function kt(t){return Sn(t)===Ae?t.pop():S(Ae,t,[])}function A(t,...e){return vn(t)===Te?t.slice(...e):S(Te,t,e)}const Oe=Set.prototype.has;function In(t){try{return t.has}catch{return}}function Fe(t,e){return In(t)===Oe?t.has(e):S(Oe,t,[e])}const je=WeakMap.prototype.set,Re=WeakMap.prototype.get;function Mn(t){try{return t.set}catch{return}}function kn(t){try{return t.get}catch{return}}function Cn(t,e,n){return Mn(t)===je?t.set(e,n):S(je,t,[e,n])}function Nn(t,e){return kn(t)===Re?t.get(e):S(Re,t,[e])}const Pe=Map.prototype.set,Ve=Map.prototype.get;function En(t){try{return t.set}catch{return}}function An(t){try{return t.get}catch{return}}function Ct(t,e,n){return En(t)===Pe?t.set(e,n):S(Pe,t,[e,n])}function Nt(t,e){return An(t)===Ve?t.get(e):S(Ve,t,[e])}const De=String.prototype.substring,Le=String.prototype.padStart,We=String.prototype.normalize;function Tn(t){try{return t.substring}catch{return}}function On(t){try{return t.padStart}catch{return}}function Fn(t){try{return t.normalize}catch{return}}function N(t,...e){return Tn(t)===De?t.substring(...e):S(De,t,e)}function jn(t,...e){return On(t)===Le?t.padStart(...e):S(Le,t,e)}function Rn(t,e){return Fn(t)===We?t.normalize(e):S(We,t,[e])}const Ge=Number.prototype.toString;function Pn(t){try{return t.toString}catch{return}}function Vn(t,...e){return Pn(t)===Ge?t.toString(...e):S(Ge,t,e)}const Dn=Object.prototype.hasOwnProperty;function Ln(t,e){return S(Dn,t,[e])}class Wn{constructor(e){this.producer=e}[Symbol.iterator](){return this.it===void 0&&(this.it=this.producer()),this.it}next(){return this.it===void 0&&(this.it=this.producer()),this.it.next()}}function K(t){return new Wn(t)}const Et=Array.isArray,Gn=Object.defineProperty;function At(t,e){return Gn(t,E,{value:()=>{const n=[];for(let r=0;r!==e.length;++r)m(n,e[r].value);return At(n,e),n}})}function Tt(t){let e=!1;const n=[],r=[];for(let a=0;a!==t.length;++a){const s=t[a];e=e||s.hasToBeCloned,m(n,s.value),m(r,s.context)}return e&&At(n,t),new p(n,r)}function Un(t,e,n){const r=[],a=Et(n)?n:[];for(let s=0;s!==t.length;++s)m(r,K(()=>t[s].shrink(e[s],a[s]).map(i=>{const x=O(e,(o,u)=>new p(V(o),a[u]));return[...A(x,0,s),i,...A(x,s+1)]}).map(Tt)));return b.nil().join(...r)}class Bn extends M{constructor(e){super(),this.arbs=e;for(let n=0;n!==e.length;++n){const r=e[n];if(r==null||r.generate==null)throw new Error(`Invalid parameter encountered at index ${n}: expecting an Arbitrary`)}}generate(e,n){const r=[];for(let a=0;a!==this.arbs.length;++a)m(r,this.arbs[a].generate(e,n));return Tt(r)}canShrinkWithoutContext(e){if(!Et(e)||e.length!==this.arbs.length)return!1;for(let n=0;n!==this.arbs.length;++n)if(!this.arbs[n].canShrinkWithoutContext(e[n]))return!1;return!0}shrink(e,n){return Un(this.arbs,e,n)}}function Z(...t){return new Bn(t)}const $n=Math.log;function zn(t){return 2+~~($n(t+1)*.4342944819032518)}let _n={};function G(){return _n}const me=Symbol("UndefinedContextPlaceholder");function Ue(t){return t.context!==void 0?t:t.hasToBeCloned?new p(t.value_,me,()=>t.value):new p(t.value_,me)}class U{constructor(e,n){this.arb=e,this.predicate=n;const{beforeEach:r=U.dummyHook,afterEach:a=U.dummyHook,asyncBeforeEach:s,asyncAfterEach:i}=G()||{};if(s!==void 0)throw y(`"asyncBeforeEach" can't be set when running synchronous properties`);if(i!==void 0)throw y(`"asyncAfterEach" can't be set when running synchronous properties`);this.beforeEachHook=r,this.afterEachHook=a}isAsync(){return!1}generate(e,n){const r=this.arb.generate(e,n!=null?zn(n):void 0);return Ue(r)}shrink(e){if(e.context===void 0&&!this.arb.canShrinkWithoutContext(e.value_))return b.nil();const n=e.context!==me?e.context:void 0;return this.arb.shrink(e.value_,n).map(Ue)}runBeforeEach(){this.beforeEachHook()}runAfterEach(){this.afterEachHook()}run(e,n){n||this.beforeEachHook();try{const r=this.predicate(e);return r==null||r===!0?null:{error:new y("Property failed by returning false"),errorMessage:"Error: Property failed by returning false"}}catch(r){return W.isFailure(r)?r:r instanceof y&&r.stack?{error:r,errorMessage:r.stack}:{error:r,errorMessage:hn(r)}}finally{n||this.afterEachHook()}}beforeEach(e){const n=this.beforeEachHook;return this.beforeEachHook=()=>e(n),this}afterEach(e){const n=this.afterEachHook;return this.afterEachHook=()=>e(n),this}}U.dummyHook=()=>{};function Ot(t,e){for(var n=[],r=0;r!=e;++r)n.push(t.unsafeNext());return n}function qn(t,e){var n=t.clone(),r=Ot(n,e);return[r,n]}function ge(t,e){for(var n=0;n!=e;++n)t.unsafeNext()}function Ft(t,e){var n=t.clone();return ge(n,e),n}var Hn=214013,Kn=2531011,Jn=4294967295,Zn=(1<<31)-1,xe=function(t){return t*Hn+Kn&Jn},oe=function(t){return(t&Zn)>>16},jt=function(){function t(e){this.seed=e}return t.prototype.clone=function(){return new t(this.seed)},t.prototype.next=function(){var e=new t(this.seed),n=e.unsafeNext();return[n,e]},t.prototype.unsafeNext=function(){var e=xe(this.seed),n=oe(e),r=xe(e),a=oe(r);this.seed=xe(r);var s=oe(this.seed),i=s+(a+(n<<15)<<15);return i|0},t.prototype.getState=function(){return[this.seed]},t}();function Xn(t){var e=t.length===1;if(!e)throw new Error("The state must have been produced by a congruential32 RandomGenerator");return new jt(t[0])}var Yn=Object.assign(function(t){return new jt(t)},{fromState:Xn}),Qn=globalThis&&globalThis.__read||function(t,e){var n=typeof Symbol=="function"&&t[Symbol.iterator];if(!n)return t;var r=n.call(t),a,s=[],i;try{for(;(e===void 0||e-- >0)&&!(a=r.next()).done;)s.push(a.value)}catch(x){i={error:x}}finally{try{a&&!a.done&&(n=r.return)&&n.call(r)}finally{if(i)throw i.error}}return s},er=globalThis&&globalThis.__spreadArray||function(t,e,n){if(n||arguments.length===2)for(var r=0,a=e.length,s;r>>1^-(a&1)&t.A}for(var r=t.N-t.M;r!==t.N-1;++r){var s=(n[r]&t.MASK_UPPER)+(n[r+1]&t.MASK_LOWER);n[r]=n[r+t.M-t.N]^s>>>1^-(s&1)&t.A}var i=(n[t.N-1]&t.MASK_UPPER)+(n[0]&t.MASK_LOWER);return n[t.N-1]=n[t.M-1]^i>>>1^-(i&1)&t.A,n},t.seeded=function(e){var n=Array(t.N);n[0]=e;for(var r=1;r!==t.N;++r){var a=n[r-1]^n[r-1]>>>30;n[r]=Math.imul(t.F,a)+r|0}return n},t.from=function(e){return new t(t.twist(t.seeded(e)),0)},t.prototype.clone=function(){return new t(this.states,this.index)},t.prototype.next=function(){var e=new t(this.states,this.index),n=e.unsafeNext();return[n,e]},t.prototype.unsafeNext=function(){var e=this.states[this.index];return e^=this.states[this.index]>>>t.U,e^=e<>>t.L,++this.index>=t.N&&(this.states=t.twist(this.states),this.index=0),e},t.prototype.getState=function(){return er([this.index],Qn(this.states),!1)},t.fromState=function(e){var n=e.length===t.N+1&&e[0]>=0&&e[0]>>9),r=e^this.s10^(e>>>18|n<<14)^(this.s10>>>5|this.s11<<27),a=n^this.s11^n>>>18^this.s11>>>5,s=this.s00+this.s10|0;return this.s01=this.s11,this.s00=this.s10,this.s11=a,this.s10=r,s},t.prototype.jump=function(){var e=new t(this.s01,this.s00,this.s11,this.s10);return e.unsafeJump(),e},t.prototype.unsafeJump=function(){for(var e=0,n=0,r=0,a=0,s=[1667051007,2321340297,1548169110,304075285],i=0;i!==4;++i)for(var x=1;x;x<<=1)s[i]&x&&(e^=this.s01,n^=this.s00,r^=this.s11,a^=this.s10),this.unsafeNext();this.s01=e,this.s00=n,this.s11=r,this.s10=a},t.prototype.getState=function(){return[this.s01,this.s00,this.s11,this.s10]},t}();function rr(t){var e=t.length===4;if(!e)throw new Error("The state must have been produced by a xorshift128plus RandomGenerator");return new Pt(t[0],t[1],t[2],t[3])}var ar=Object.assign(function(t){return new Pt(-1,~t,t|0,0)},{fromState:rr}),Vt=function(){function t(e,n,r,a){this.s01=e,this.s00=n,this.s11=r,this.s10=a}return t.prototype.clone=function(){return new t(this.s01,this.s00,this.s11,this.s10)},t.prototype.next=function(){var e=new t(this.s01,this.s00,this.s11,this.s10),n=e.unsafeNext();return[n,e]},t.prototype.unsafeNext=function(){var e=this.s00+this.s10|0,n=this.s10^this.s00,r=this.s11^this.s01,a=this.s00,s=this.s01;return this.s00=a<<24^s>>>8^n^n<<16,this.s01=s<<24^a>>>8^r^(r<<16|n>>>16),this.s10=r<<5^n>>>27,this.s11=n<<5^r>>>27,e},t.prototype.jump=function(){var e=new t(this.s01,this.s00,this.s11,this.s10);return e.unsafeJump(),e},t.prototype.unsafeJump=function(){for(var e=0,n=0,r=0,a=0,s=[3639956645,3750757012,1261568508,386426335],i=0;i!==4;++i)for(var x=1;x;x<<=1)s[i]&x&&(e^=this.s01,n^=this.s00,r^=this.s11,a^=this.s10),this.unsafeNext();this.s01=e,this.s00=n,this.s11=r,this.s10=a},t.prototype.getState=function(){return[this.s01,this.s00,this.s11,this.s10]},t}();function sr(t){var e=t.length===4;if(!e)throw new Error("The state must have been produced by a xoroshiro128plus RandomGenerator");return new Vt(t[0],t[1],t[2],t[3])}var ir=Object.assign(function(t){return new Vt(-1,~t,t|0,0)},{fromState:sr});function Dt(t,e){if(t.sign!==e.sign)return ye(t,{sign:-e.sign,data:e.data});for(var n=[],r=0,a=t.data,s=e.data,i=a.length-1,x=s.length-1;i>=0||x>=0;--i,--x){var o=i>=0?a[i]:0,u=x>=0?s[x]:0,d=o+u+r;n.push(d>>>0),r=~~(d/4294967296)}return r!==0&&n.push(r),{sign:t.sign,data:n.reverse()}}function xr(t){t.sign=1;for(var e=t.data,n=e.length-1;n>=0;--n)if(e[n]===4294967295)e[n]=0;else return e[n]+=1,t;return e.unshift(1),t}function or(t,e){for(var n=Math.max(t.length,e.length),r=0;r=0?t[a]:0,x=s>=0?e[s]:0;if(ix)return!1}return!1}function ye(t,e){if(t.sign!==e.sign)return Dt(t,{sign:-e.sign,data:e.data});var n=t.data,r=e.data;if(or(n,r)){var a=ye(e,t);return a.sign=-a.sign,a}for(var s=[],i=0,x=n.length-1,o=r.length-1;x>=0||o>=0;--x,--o){var u=x>=0?n[x]:0,d=o>=0?r[o]:0,h=u-d-i;s.push(h>>>0),i=h<0?1:0}return{sign:t.sign,data:s.reverse()}}function Be(t){for(var e=t.data,n=0;n!==e.length&&e[n]===0;++n);return n===e.length?(t.sign=1,t.data=[0],t):(e.splice(0,n),t)}function fe(t,e){if(e<0){var n=-e;t.sign=-1,t.data[0]=~~(n/4294967296),t.data[1]=n>>>0}else t.sign=1,t.data[0]=~~(e/4294967296),t.data[1]=e>>>0;return t}function fr(t,e,n){var r=e.data[1],a=e.data[0],s=e.sign,i=n.data[1],x=n.data[0],o=n.sign;if(t.sign=1,s===1&&o===-1){var u=r+i,d=a+x+(u>4294967295?1:0);return t.data[0]=d>>>0,t.data[1]=u>>>0,t}var h=r,g=a,k=i,se=x;s===-1&&(h=i,g=x,k=r,se=a);var Ie=0,B=h-k;return B<0&&(Ie=1,B=B>>>0),t.data[0]=g-se-Ie,t.data[1]=B,t}function Lt(t,e){for(var n=t>2?~~(4294967296/t)*t:4294967296,r=e.unsafeNext()+2147483648;r>=n;)r=e.unsafeNext()+2147483648;return r%t}function Wt(t,e,n){for(var r=e.length;;){for(var a=0;a!==r;++a){var s=a===0?e[0]+1:4294967296,i=Lt(s,n);t[a]=i}for(var a=0;a!==r;++a){var x=t[a],o=e[a];if(xo)break}}}function X(t,e,n){var r=Be(xr(ye(e,t))),a=r.data.slice(0),s=Wt(a,r.data,n);return Be(Dt({sign:1,data:s},t))}function ur(t,e,n){if(n!=null){var r=n.clone();return[X(t,e,r),r]}return function(a){var s=a.clone();return[X(t,e,s),s]}}var j=typeof BigInt<"u"?BigInt:void 0;function Y(t,e,n){for(var r=e-t+j(1),a=j(-2147483648),s=j(4294967296),i=s,x=1;i{console.log(r)}),this.path=c.readOrDefault(n,"path",""),this.unbiased=c.readBoolean(n,"unbiased"),this.examples=c.readOrDefault(n,"examples",[]),this.endOnFailure=c.readBoolean(n,"endOnFailure"),this.reporter=c.readOrDefault(n,"reporter",null),this.asyncReporter=c.readOrDefault(n,"asyncReporter",null),this.errorWithCause=c.readBoolean(n,"errorWithCause")}toParameters(){const e=r=>r!==null?r:void 0;return{seed:this.seed,randomType:this.randomType,numRuns:this.numRuns,maxSkipsPerRun:this.maxSkipsPerRun,timeout:e(this.timeout),skipAllAfterTimeLimit:e(this.skipAllAfterTimeLimit),interruptAfterTimeLimit:e(this.interruptAfterTimeLimit),markInterruptAsFailure:this.markInterruptAsFailure,skipEqualValues:this.skipEqualValues,ignoreEqualValues:this.ignoreEqualValues,path:this.path,logger:this.logger,unbiased:this.unbiased,verbose:this.verbose,examples:this.examples,endOnFailure:this.endOnFailure,reporter:e(this.reporter),asyncReporter:e(this.asyncReporter),errorWithCause:this.errorWithCause}}static read(e){return new c(e)}}c.createQualifiedRandomGenerator=t=>e=>{const n=t(e);return n.unsafeJump===void 0&&(n.unsafeJump=()=>ge(n,42)),n};c.readSeed=t=>{if(t.seed==null)return Sr()^wr()*4294967296;const e=t.seed|0;if(t.seed===e)return e;const n=t.seed-e;return e^n*4294967296};c.readRandomType=t=>{if(t.randomType==null)return R.xorshift128plus;if(typeof t.randomType=="string")switch(t.randomType){case"mersenne":return c.createQualifiedRandomGenerator(R.mersenne);case"congruential":case"congruential32":return c.createQualifiedRandomGenerator(R.congruential32);case"xorshift128plus":return R.xorshift128plus;case"xoroshiro128plus":return R.xoroshiro128plus;default:throw new Error(`Invalid random specified: '${t.randomType}'`)}const e=t.randomType(0);if("min"in e&&e.min!==-2147483648)throw new Error(`Invalid random number generator: min must equal -0x80000000, got ${String(e.min)}`);if("max"in e&&e.max!==2147483647)throw new Error(`Invalid random number generator: max must equal 0x7fffffff, got ${String(e.max)}`);return"unsafeJump"in e?t.randomType:c.createQualifiedRandomGenerator(t.randomType)};c.readNumRuns=t=>t.numRuns!=null?t.numRuns:t.num_runs!=null?t.num_runs:100;c.readVerbose=t=>t.verbose==null?C.None:typeof t.verbose=="boolean"?t.verbose===!0?C.Verbose:C.None:t.verbose<=C.None?C.None:t.verbose>=C.VeryVerbose?C.VeryVerbose:t.verbose|0;c.readBoolean=(t,e)=>t[e]===!0;c.readOrDefault=(t,e,n)=>{const r=t[e];return r??n};c.safeTimeout=t=>t===null?null:vr(t,2147483647);class Ir{constructor(e){this.property=e,this.property.runBeforeEach!==void 0&&this.property.runAfterEach!==void 0&&(this.runBeforeEach=()=>this.property.runBeforeEach(),this.runAfterEach=()=>this.property.runAfterEach())}isAsync(){return this.property.isAsync()}generate(e,n){return this.property.generate(e,void 0)}shrink(e){return this.property.shrink(e)}run(e,n){return this.property.run(e,n)}}class v{constructor(e){this.internalRng=e.clone()}clone(){return new v(this.internalRng)}next(e){return F(0,(1<t.generate(new v(e),n)}function*Nr(t,e,n,r){yield*O(r,i=>()=>new p(i,void 0));let a=0,s=n(e);for(;;)s=s.jump?s.jump():Ft(s,42),yield Cr(t,s,a++)}function ze(t){return t()}function Er(t,e,n){const r=e,a=t.split(":").map(i=>+i);if(a.length===0)return r.map(ze);if(!a.every(i=>!Number.isNaN(i)))throw new Error(`Unable to replay, got invalid path=${t}`);let s=r.drop(a[0]).map(ze);for(const i of a.slice(1)){const x=s.getNthOrLast(0);if(x===null)throw new Error(`Unable to replay, got wrong path=${t}`);s=n(x).drop(i)}return s}function Ar(t,e){const n=Object.prototype.hasOwnProperty.call(t,"isAsync")?t:new U(t,()=>!0);return e.unbiased===!0?new Ir(n):n}function Tr(t,e){const n=typeof e=="number"?Object.assign(Object.assign({},G()),{numRuns:e}):Object.assign(Object.assign({},G()),e),r=c.read(n),a=Ar(t,r),s=a.shrink.bind(a);return(r.path.length===0?J(kr(a,r.seed,r.randomType,r.examples)):Er(r.path,J(Nr(a,r.seed,r.randomType,r.examples)),s)).take(r.numRuns).map(x=>x.value_)}function w(t,e){return[...Tr(t,e)]}const Or=Math.floor,_e=Math.log;function Fr(t){return Or(_e(t)/_e(2))}function jr(t,e,n){if(t===e)return[{min:t,max:e}];if(t<0&&e>0){const i=n(-t),x=n(e);return[{min:-i,max:x},{min:e-x,max:e},{min:t,max:t+i}]}const r=n(e-t),a={min:t,max:t+r},s={min:e-r,max:e};return t<0?[s,a]:[a,s]}const Rr=Math.ceil,Pr=Math.floor;function qe(t){return Pr(t/2)}function He(t){return Rr(t/2)}function Ke(t,e,n){const r=t-e;function*a(){let i=n?void 0:e;const x=n?r:qe(r);for(let o=x;o>0;o=qe(o)){const u=o===r?e:t-o;yield new p(u,i),i=u}}function*s(){let i=n?void 0:e;const x=n?r:He(r);for(let o=x;o<0;o=He(o)){const u=o===r?e:t-o;yield new p(u,i),i=u}}return r>0?J(a()):J(s())}const Je=Math.sign,Vr=Number.isInteger,Dr=Object.is;class re extends M{constructor(e,n){super(),this.min=e,this.max=n}generate(e,n){const r=this.computeGenerateRange(e,n);return new p(e.nextInt(r.min,r.max),void 0)}canShrinkWithoutContext(e){return typeof e=="number"&&Vr(e)&&!Dr(e,-0)&&this.min<=e&&e<=this.max}shrink(e,n){if(!re.isValidContext(e,n)){const r=this.defaultTarget();return Ke(e,r,!0)}return this.isLastChanceTry(e,n)?b.of(new p(n,void 0)):Ke(e,n,!1)}defaultTarget(){return this.min<=0&&this.max>=0?0:this.min<0?this.max:this.min}computeGenerateRange(e,n){if(n===void 0||e.nextInt(1,n)!==1)return{min:this.min,max:this.max};const r=jr(this.min,this.max,Fr);if(r.length===1)return r[0];const a=e.nextInt(-2*(r.length-1),r.length-2);return a<0?r[0]:r[a+1]}isLastChanceTry(e,n){return e>0?e===n+1&&e>this.min:e<0?e===n-1&&ee.max)throw new Error("fc.integer maximum value should be equal or greater than the minimum one");if(!Ze(e.min))throw new Error("fc.integer minimum value should be an integer");if(!Ze(e.max))throw new Error("fc.integer maximum value should be an integer");return new re(e.min,e.max)}const Xe=new Map;function Gt(t){if(t===void 0)return{depth:0};if(typeof t!="string")return t;const e=Nt(Xe,t);if(e!==void 0)return e;const n={depth:0};return Ct(Xe,t,n),n}class Wr{constructor(e,n,r){this.arb=e,this.mrng=n,this.biasFactor=r}attemptExact(){}next(){return this.arb.generate(this.mrng,this.biasFactor)}}const Gr=Math.min,Ur=Math.max;class Br{constructor(e,n,r,a){this.arb=e,this.mrng=n,this.slices=r,this.biasFactor=a,this.activeSliceIndex=0,this.nextIndexInSlice=0,this.lastIndexInSlice=-1}attemptExact(e){if(e!==0&&this.mrng.nextInt(1,this.biasFactor)===1){const n=[];for(let r=0;r!==this.slices.length;++r)this.slices[r].length===e&&m(n,r);if(n.length===0)return;this.activeSliceIndex=n[this.mrng.nextInt(0,n.length-1)],this.nextIndexInSlice=0,this.lastIndexInSlice=e-1}}next(){if(this.nextIndexInSlice<=this.lastIndexInSlice)return new p(this.slices[this.activeSliceIndex][this.nextIndexInSlice++],void 0);if(this.mrng.nextInt(1,this.biasFactor)!==1)return this.arb.generate(this.mrng,this.biasFactor);this.activeSliceIndex=this.mrng.nextInt(0,this.slices.length-1);const e=this.slices[this.activeSliceIndex];if(this.mrng.nextInt(1,this.biasFactor)!==1)return this.nextIndexInSlice=1,this.lastIndexInSlice=e.length-1,new p(e[0],void 0);const n=this.mrng.nextInt(0,e.length-1),r=this.mrng.nextInt(0,e.length-1);return this.nextIndexInSlice=Gr(n,r),this.lastIndexInSlice=Ur(n,r),new p(e[this.nextIndexInSlice++],void 0)}}function Ye(t,e,n,r){return r===void 0||n.length===0||e.nextInt(1,r)!==1?new Wr(t,e,r):new Br(t,e,n,r)}const $r=Math.floor,Qe=Math.log,et=Math.max,zr=Array.isArray;function ce(t,e){return t===e?t:t+$r(Qe(e-t)/Qe(2))}class Se extends M{constructor(e,n,r,a,s,i,x){super(),this.arb=e,this.minLength=n,this.maxGeneratedLength=r,this.maxLength=a,this.setBuilder=i,this.customSlices=x,this.lengthArb=Q({min:n,max:r}),this.depthContext=Gt(s)}preFilter(e){if(this.setBuilder===void 0)return e;const n=this.setBuilder();for(let r=0;r!==e.length;++r)n.tryAdd(e[r]);return n.getData()}static makeItCloneable(e,n){return e[E]=()=>{const r=[];for(let a=0;a!==n.length;++a)m(r,n[a].value);return this.makeItCloneable(r,n),r},e}generateNItemsNoDuplicates(e,n,r,a){let s=0;const i=e(),x=Ye(this.arb,r,this.customSlices,a);for(;i.size()e.length||e.length>this.maxLength)return!1;for(let r=0;r!==e.length;++r)if(!(r in e)||!this.arb.canShrinkWithoutContext(e[r]))return!1;return this.preFilter(O(e,r=>new p(r,void 0))).length===e.length}shrinkItemByItem(e,n,r){const a=[];for(let s=n.startIndex;sthis.arb.shrink(e[s],n.itemsContexts[s]).map(i=>{const x=O(A(e,0,s),(u,d)=>new p(V(u),n.itemsContexts[d])),o=O(A(e,s+1),(u,d)=>new p(V(u),n.itemsContexts[d+s+1]));return[[...x,i,...o],void 0,s]})));return b.nil().join(...a)}shrinkImpl(e,n){if(e.length===0)return b.nil();const r=n!==void 0?n:{shrunkOnce:!1,lengthContext:void 0,itemsContexts:[],startIndex:0};return this.lengthArb.shrink(e.length,r.lengthContext).drop(r.shrunkOnce&&r.lengthContext===void 0&&e.length>this.minLength+1?1:0).map(a=>{const s=e.length-a.value;return[O(A(e,s),(i,x)=>new p(V(i),r.itemsContexts[x+s])),a.context,0]}).join(K(()=>e.length>this.minLength?this.shrinkItemByItem(e,r,1):this.shrinkItemByItem(e,r,e.length))).join(e.length>this.minLength?K(()=>{const a={shrunkOnce:!1,lengthContext:void 0,itemsContexts:A(r.itemsContexts,1),startIndex:0};return this.shrinkImpl(A(e,1),a).filter(s=>this.minLength<=s[0].length+1).map(s=>[[new p(V(e[0]),r.itemsContexts[0]),...s[0]],void 0,0])}):b.nil())}shrink(e,n){return this.shrinkImpl(e,n).map(r=>this.wrapper(r[0],!0,r[1],r[2]))}}const _r=Math.floor,qr=Math.min,ve=2147483647,T=["xsmall","small","medium","large","xlarge"],Hr=["-4","-3","-2","-1","=","+1","+2","+3","+4"],Ut="small";function Kr(t,e){switch(e){case"xsmall":return _r(1.1*t)+1;case"small":return 2*t+10;case"medium":return 11*t+100;case"large":return 101*t+1e3;case"xlarge":return 1001*t+1e4;default:throw new Error(`Unable to compute lengths based on received size: ${e}`)}}function Bt(t,e){const n=be(Hr,t);if(n===-1)return t;const r=be(T,e);if(r===-1)throw new Error(`Unable to offset size based on the unknown defaulted one: ${e}`);const a=r+n-4;return a<0?T[0]:a>=T.length?T[T.length-1]:T[a]}function Jr(t,e,n,r){const{baseSize:a=Ut,defaultSizeToMaxWhenMaxSpecified:s}=G()||{},i=t!==void 0?t:r&&s?"max":a;if(i==="max")return n;const x=Bt(i,a);return qr(Kr(e,x),n)}function Zr(t,e){if(typeof t=="number")return 1/t;const{baseSize:n=Ut,defaultSizeToMaxWhenMaxSpecified:r}=G()||{},a=t!==void 0?t:e&&r?"max":n;if(a==="max")return 0;switch(Bt(a,n)){case"xsmall":return 1;case"small":return .5;case"medium":return .25;case"large":return .125;case"xlarge":return .0625}}function Xr(t,e={}){const n=e.size,r=e.minLength||0,a=e.maxLength,s=e.depthIdentifier,i=a!==void 0?a:ve,o=Jr(n,r,i,a!==void 0),u=e.experimentalCustomSlices||[];return new Se(t,r,o,i,s,void 0,u)}function Yr(t){return t.noBias()}function Qr(t){return t===1}function e0(t){if(typeof t!="boolean")throw new Error("Unsupported input type");return t===!0?1:0}function t0(){return Yr(Q({min:0,max:1}).map(Qr,e0))}const D=Object.is;class $t extends M{constructor(e){super(),this.values=e}generate(e,n){const r=this.values.length===1?0:e.nextInt(0,this.values.length-1),a=this.values[r];return ne(a)?new p(a,r,()=>a[E]()):new p(a,r)}canShrinkWithoutContext(e){return this.values.length===1?D(this.values[0],e):(this.fastValues===void 0&&(this.fastValues=new n0(this.values)),this.fastValues.has(e))}shrink(e,n){return n===0||D(e,this.values[0])?b.nil():b.of(new p(this.values[0],0))}}class n0{constructor(e){this.values=e,this.fastValues=new ln(this.values);let n=!1,r=!1;if(Fe(this.fastValues,0))for(let a=0;a!==this.values.length;++a){const s=this.values[a];n=n||D(s,-0),r=r||D(s,0)}this.hasMinusZero=n,this.hasPlusZero=r}has(e){return e===0?D(e,0)?this.hasPlusZero:this.hasMinusZero:Fe(this.fastValues,e)}}function r0(...t){if(t.length===0)throw new Error("fc.constantFrom expects at least one parameter");return new $t(t)}function L(t){return new $t([t])}const a0=Number.POSITIVE_INFINITY,s0=Number.MAX_SAFE_INTEGER,i0=Number.isInteger,x0=Math.floor,o0=Math.pow,f0=Math.min;class we extends M{static from(e,n,r){if(e.length===0)throw new Error(`${r} expects at least one weighted arbitrary`);let a=0;for(let i=0;i!==e.length;++i){if(e[i].arbitrary===void 0)throw new Error(`${r} expects arbitraries to be specified`);const o=e[i].weight;if(a+=o,!i0(o))throw new Error(`${r} expects weights to be integer values`);if(o<0)throw new Error(`${r} expects weights to be superior or equal to 0`)}if(a<=0)throw new Error(`${r} expects the sum of weights to be strictly superior to 0`);const s={depthBias:Zr(n.depthSize,n.maxDepth!==void 0),maxDepth:n.maxDepth!=null?n.maxDepth:a0,withCrossShrink:!!n.withCrossShrink};return new we(e,s,Gt(n.depthIdentifier))}constructor(e,n,r){super(),this.warbs=e,this.constraints=n,this.context=r;let a=0;this.cumulatedWeights=[];for(let s=0;s!==e.length;++s)a+=e[s].weight,m(this.cumulatedWeights,a);this.totalWeight=a}generate(e,n){if(this.mustGenerateFirst())return this.safeGenerateForIndex(e,0,n);const r=e.nextInt(this.computeNegDepthBenefit(),this.totalWeight-1);for(let a=0;a!==this.cumulatedWeights.length;++a)if(rthis.mapIntoValue(s,u,null,i));if(a.clonedMrngForFallbackFirst!==null){a.cachedGeneratedForFirst===void 0&&(a.cachedGeneratedForFirst=this.safeGenerateForIndex(a.clonedMrngForFallbackFirst,0,i));const u=a.cachedGeneratedForFirst;return b.of(u).join(o)}return o}const r=this.canShrinkWithoutContextIndex(e);return r===-1?b.nil():this.defaultShrinkForFirst(r).join(this.warbs[r].arbitrary.shrink(e,void 0).map(a=>this.mapIntoValue(r,a,null,void 0)))}defaultShrinkForFirst(e){++this.context.depth;try{if(!this.mustFallbackToFirstInShrink(e)||this.warbs[0].fallbackValue===void 0)return b.nil()}finally{--this.context.depth}const n=new p(this.warbs[0].fallbackValue.default,void 0);return b.of(this.mapIntoValue(0,n,null,void 0))}canShrinkWithoutContextIndex(e){if(this.mustGenerateFirst())return this.warbs[0].arbitrary.canShrinkWithoutContext(e)?0:-1;try{++this.context.depth;for(let n=0;n!==this.warbs.length;++n){const r=this.warbs[n];if(r.weight!==0&&r.arbitrary.canShrinkWithoutContext(e))return n}return-1}finally{--this.context.depth}}mapIntoValue(e,n,r,a){const s={selectedIndex:e,originalBias:a,originalContext:n.context,clonedMrngForFallbackFirst:r};return new p(n.value,s)}safeGenerateForIndex(e,n,r){++this.context.depth;try{const a=this.warbs[n].arbitrary.generate(e,r),s=this.mustFallbackToFirstInShrink(n)?e.clone():null;return this.mapIntoValue(n,a,s,r)}finally{--this.context.depth}}mustGenerateFirst(){return this.constraints.maxDepth<=this.context.depth}mustFallbackToFirstInShrink(e){return e!==0&&this.constraints.withCrossShrink&&this.warbs[0].weight!==0}computeNegDepthBenefit(){const e=this.constraints.depthBias;if(e<=0||this.warbs[0].weight===0)return 0;const n=x0(o0(1+e,this.context.depth))-1;return-f0(this.totalWeight*n,s0)||0}}const u0=Number.isInteger;function c0(t){const e=typeof t=="number"?t:t&&t.max!==void 0?t.max:2147483647;if(e<0)throw new Error("fc.nat value should be greater than or equal to 0");if(!u0(e))throw new Error("fc.nat maximum value should be an integer");return new re(0,e)}const d0=Object.is;function h0(t){let e=0;const n=[];for(const r of t){const a=e;e=a+r.num;const s=e-1;n.push({from:a,to:s,entry:r})}return n}function l0(t,e){let n=0,r=t.length;for(;r-n>1;){const a=~~((n+r)/2);e0?void 0:[];if(r<=0)return;const a=[{endIndexChunks:0,nextStartIndex:1,chunks:[]}];for(;a.length>0;){const s=kt(a);for(let i=s.nextStartIndex;i<=e.length;++i){const x=N(e,s.endIndexChunks,i);if(t.canShrinkWithoutContext(x)){const o=[...s.chunks,x];if(i===e.length){if(o.lengthn}}const e=t[0];return{num:t[1]-t[0]+1,build:n=>nt(e+n)}}function at(t,e){const n=[];let r=0,a=0;for(;r=1){const k=n[n.length-1];(k.length===1?k[0]:k[1])+1===h&&(h=k[0],kt(n))}m(n,h===g?[h]:[h,g]),x<=g&&(r+=1),d<=g&&(a+=1)}}return n}const st=Object.create(null);function j0(t){switch(t){case"full":return E0;case"ascii":return N0}}function R0(t,e){const n=`${t}:${e}`,r=st[n];if(r!==void 0)return r;const a=j0(e),s=t==="binary"?a:at(a,A0),i=[];for(const o of s)m(i,rt(o));if(t==="grapheme"){const o=at(a,T0);for(const u of o){const d=rt(u);m(i,{num:d.num,build:h=>Rn(d.build(h),"NFD")})}}const x=y0(...i);return st[n]=x,x}function P(t,e){return R0(t,e)}const it=Object.assign;function P0(t){if(typeof t.unit=="object")return t.unit;switch(t.unit){case"grapheme":return P("grapheme","full");case"grapheme-composite":return P("composite","full");case"grapheme-ascii":case void 0:return P("grapheme","ascii");case"binary":return P("binary","full");case"binary-ascii":return P("binary","ascii")}}function V0(t={}){const e=P0(t),n=I0(e,t),r=C0(e,t),a=it(it({},t),{experimentalCustomSlices:r});return Xr(e,a).map(v0,n)}const D0=Object.keys,L0=Object.getOwnPropertySymbols,W0=Object.getOwnPropertyDescriptor;function G0(t){const e=D0(t),n=L0(t);for(let r=0;r!==n.length;++r){const a=n[r],s=W0(t,a);s&&s.enumerable&&e.push(a)}return e}const U0=Object.create,B0=Object.defineProperty,$0=Object.getOwnPropertyDescriptor,z0=Object.getOwnPropertyNames,_0=Object.getOwnPropertySymbols;function q0(t,e){return function(r){const a=r[1]?U0(null):{};for(let s=0;s!==t.length;++s){const i=r[0][s];i!==e&&B0(a,t[s],{value:i,configurable:!0,enumerable:!0,writable:!0})}return a}}function H0(t,e){return function(r){if(typeof r!="object"||r===null)throw new Error("Incompatible instance received: should be a non-null object");const a=Object.getPrototypeOf(r)===null,s="constructor"in r&&r.constructor===Object;if(!a&&!s)throw new Error("Incompatible instance received: should be of exact type Object");let i=0;const x=[];for(let d=0;d!==t.length;++d){const h=$0(r,t[d]);if(h!==void 0){if(!h.configurable||!h.enumerable||!h.writable)throw new Error("Incompatible instance received: should contain only c/e/w properties");if(h.get!==void 0||h.set!==void 0)throw new Error("Incompatible instance received: should contain only no get/set properties");++i,m(x,h.value)}else m(x,e)}const o=z0(r).length,u=_0(r).length;if(i!==o+u)throw new Error("Incompatible instance received: should not contain extra properties");return[x,a]}}const de=Symbol("no-key");function he(t,e,n){const r=G0(t),a=[];for(let s=0;s!==r.length;++s){const i=r[s],x=t[i];e===void 0||be(e,i)!==-1?m(a,x):m(a,S0(x,{nil:de}))}return Z(Z(...a),n?L(!1):t0()).map(q0(r,de),H0(r,de))}function K0(t,e){const n=e===void 0||e.noNullPrototype===void 0||e.noNullPrototype;if(e==null)return he(t,void 0,n);if("withDeletedKeys"in e&&"requiredKeys"in e)throw new Error("requiredKeys and withDeletedKeys cannot be used together in fc.record");if(!("requiredKeys"in e&&e.requiredKeys!==void 0||"withDeletedKeys"in e&&!!e.withDeletedKeys))return he(t,void 0,n);const a=("requiredKeys"in e?e.requiredKeys:void 0)||[];for(let s=0;s!==a.length;++s){const i=Object.getOwnPropertyDescriptor(t,a[s]);if(i===void 0)throw new Error("requiredKeys cannot reference keys that have not been defined in recordModel");if(!i.enumerable)throw new Error("requiredKeys cannot reference keys that have are enumerable in recordModel")}return he(t,a,n)}function Ht(t){return jn(Vn(t,16),8,"0")}function J0(t){if(typeof t!="string")throw new Error("Unsupported type");if(t.length!==8)throw new Error("Unsupported value: invalid length");const e=parseInt(t,16);if(t!==Ht(e))throw new Error("Unsupported value: invalid content");return e}function le(t,e){return Q({min:t,max:e}).map(Ht,J0)}function Z0(t){return`${t[0]}-${N(t[1],4)}-${N(t[1],0,4)}-${N(t[2],0,4)}-${N(t[2],4)}${t[3]}`}const X0=/^([0-9a-f]{8})-([0-9a-f]{4})-([0-9a-f]{4})-([0-9a-f]{4})-([0-9a-f]{12})$/;function Y0(t){if(typeof t!="string")throw new Error("Unsupported type");const e=X0.exec(t);if(e===null)throw new Error("Unsupported type");return[e[1],e[3]+e[2],e[4]+N(e[5],0,4),N(e[5],4)]}const xt="0123456789abcdef";function Q0(t){const e={},n={};for(let s=0;s!==t.length;++s){const i=xt[s],x=xt[t[s]];e[i]=x,n[x]=i}function r(s){return e[s[0]]+N(s,1)}function a(s){if(typeof s!="string")throw new y("Cannot produce non-string values");const i=n[s[0]];if(i===void 0)throw new y("Cannot produce strings not starting by the version in hexa code");return i+N(s,1)}return{versionsApplierMapper:r,versionsApplierUnmapper:a}}function ea(t){const e={};for(const n of t){if(e[n])throw new y(`Version ${n} has been requested at least twice for uuid`);if(e[n]=!0,n<1||n>15)throw new y(`Version must be a value in [1-15] for uuid, but received ${n}`);if(~~n!==n)throw new y(`Version must be an integer value for uuid, but received ${n}`)}if(t.length===0)throw new y("Must provide at least one version for uuid")}function ta(t={}){const e=le(0,4294967295),n=t.version!==void 0?typeof t.version=="number"?[t.version]:t.version:[1,2,3,4,5];ea(n);const{versionsApplierMapper:r,versionsApplierUnmapper:a}=Q0(n),s=le(0,268435456*n.length-1).map(r,a),i=le(2147483648,3221225471);return Z(e,s,i,e).map(Z0,Y0)}const na=It.div` - height: 1400px; - width: 500px; - position: relative; - border: 1px solid black; - overflow: auto; -`,ae=It.div` - height: 500px; - width: 500px; - border: 1px solid black; - overflow: hidden; -`,ua={title:"Core/Infinite"},$=()=>{const[t,e]=l.useState(0),n=l.useCallback(()=>{e(r=>r+1)},[]);return f.jsxs(na,{children:["Scroll the top in and out of view. Observe count: ",t,f.jsx(Kt,{onIntersect:n})]})},I=Z(r0("Tom Nook","Chirs P","Chris G","Chris N"),V0({minLength:500,maxLength:500})).chain(([t,e])=>K0({id:ta(),name:L(t),email:L(`${t.toLowerCase().replace(" ","_")}@deskpro.com`),message:L(e)})),z=()=>{const[t,e]=l.useState(()=>w(I,{numRuns:4,seed:2324})),[n,r]=l.useState("hasNextPage"),a=l.useCallback(()=>{r("loading"),setTimeout(()=>{e(i=>[...i,...w(I,{numRuns:4})]),t.length>15?r("end-with-force"):r("hasNextPage")},1e3)},[t.length]),s=l.useCallback(()=>{setTimeout(()=>{e(i=>[...w(I,{numRuns:1}),...i])},500)},[]);return f.jsxs(f.Fragment,{children:[f.jsx("button",{onClick:s,children:"submit message"}),f.jsx(ae,{children:f.jsx(ee,{onFetchMore:a,status:n,fetchMoreText:"Fetch more",autoscrollText:"Jump to start",anchor:!0,children:f.jsx(te,{vertical:!0,align:"stretch",children:t.map(i=>f.jsxs("div",{style:{overflow:"hidden"},children:[f.jsxs("h1",{children:["Name: ",i.name]}),f.jsxs("p",{children:["Email: ",i.email]}),f.jsxs("p",{children:[" ",i.message]})]},i.id))})})})]})},_=()=>{const[t,e]=l.useState(()=>w(I,{numRuns:4,seed:2324})),[n,r]=l.useState("hasNextPage"),a=l.useCallback(()=>{r("loading"),setTimeout(()=>{e(i=>[...w(I,{numRuns:4}),...i]),t.length>15?r("end-with-force"):r("hasNextPage")},1e3)},[t.length]),s=l.useCallback(()=>{setTimeout(()=>{e(i=>[...i,...w(I,{numRuns:1})])},500)},[]);return f.jsxs(f.Fragment,{children:[f.jsx("button",{onClick:s,children:"submit message"}),f.jsx(ae,{children:f.jsx(ee,{onFetchMore:a,status:n,fetchMoreText:"Fetch more",autoscrollText:"Jump to start",reverse:!0,anchor:!0,children:f.jsx(te,{vertical:!0,align:"stretch",reverse:!0,padding:10,grow:!0,children:t.map(i=>f.jsxs("div",{style:{overflow:"hidden"},children:[f.jsxs("h1",{children:["Name: ",i.name]}),f.jsxs("p",{children:["Email: ",i.email]}),f.jsxs("p",{children:[" ",i.message]})]},i.id))})})})]})},q=()=>{const[t,e]=l.useState(()=>w(I,{numRuns:4,seed:2324})),[n,r]=l.useState("hasNextPage"),a=l.useCallback(()=>{r("loading"),setTimeout(()=>{e(x=>[...x,...w(I,{numRuns:4})]),t.length>15?r("end-with-force"):r("hasNextPage")},1e3)},[t.length]),s=l.useCallback(()=>{setTimeout(()=>{e(x=>[...w(I,{numRuns:1}),...x])},500)},[]),i=l.useRef(null);return l.useEffect(()=>{var x;t.length===4&&((x=i.current)==null||x.scrollIntoView())},[t.length]),f.jsxs(f.Fragment,{children:[f.jsx("button",{onClick:s,children:"submit message"}),f.jsx(ae,{children:f.jsx(ee,{onFetchMore:a,status:n,fetchMoreText:"Fetch more",autoscrollText:"Autoscroll",reverse:!0,children:f.jsx(te,{vertical:!0,align:"stretch",reverse:!0,children:t.map((x,o)=>f.jsxs("div",{style:{overflow:"hidden"},ref:o===0?i:void 0,children:[f.jsxs("h1",{children:["Name: ",x.name," - ",o]}),f.jsxs("p",{children:["Email: ",x.email]}),f.jsxs("p",{children:[" ",x.message]}),f.jsxs("p",{children:[" ",x.message]}),f.jsxs("p",{children:[" ",x.message]}),f.jsxs("p",{children:[" ",x.message]})]},x.id))})})})]})},ra=t=>{const[e,n]=l.useState(!1);return l.useEffect(()=>{const r=()=>n(!0);if(t.current&&!e){const a=t.current,s=i=>{["ArrowUp","ArrowDown"].includes(i.key)&&n(!0)};return a.addEventListener("wheel",r),a.addEventListener("mousedown",r),a.addEventListener("keyup",s),a.addEventListener("DOMMouseScroll",r),a.addEventListener("touchmove",r),()=>{a.removeEventListener("wheel",r),a.removeEventListener("mousedown",r),a.removeEventListener("keyup",s),a.removeEventListener("DOMMouseScroll",r),a.removeEventListener("touchmove",r)}}},[e,t]),{hasUserScrolled:e,reset:()=>n(!1)}},aa=({onFetchMore:t,status:e,startStatus:n,children:r,onFetchMoreStart:a})=>{const s=l.useRef(null),{hasUserScrolled:i}=ra(s),x=l.useRef(),o=l.useCallback(()=>{var g;clearTimeout(x.current);const h=(g=s.current)==null?void 0:g.querySelector(".message");!i&&h&&h.scrollIntoView()},[i]);l.useEffect(o,[o,e]);const u=l.useCallback(()=>{i&&(t==null||t())},[i,t]),d=l.useCallback(()=>{i&&(a==null||a())},[i,a]);return f.jsx(ee,{fetchMoreText:"Fetch more",autoscrollText:"Autoscroll",status:e,startStatus:n,reverse:!0,anchor:i,justify:"flex-end",onFetchMore:u,onFetchMoreStart:d,scrollRef:s,scrollSideEffect:o,onResize:o,width:"100%",children:r})},H=()=>{const[t,e]=l.useState(()=>w(I,{numRuns:4,seed:2324})),[n,r]=l.useState("hasNextPage"),[a,s]=l.useState("hasNextPage"),[i,x]=l.useState(1),[o,u]=l.useState(1),d=l.useCallback(()=>{n==="hasNextPage"&&(r("loading"),setTimeout(()=>{i>4?r("end-with-force"):(e(g=>[...g,...w(I,{numRuns:4})]),x(i+1),setTimeout(()=>r("hasNextPage"),100))},1e3))},[i,n]),h=l.useCallback(()=>{a==="hasNextPage"&&(s("loading"),setTimeout(()=>{o>4?s("end-with-force"):(e(g=>[...w(I,{numRuns:4}),...g]),u(o+1),setTimeout(()=>s("hasNextPage"),100))},1e3))},[o,a]);return f.jsx("div",{children:f.jsx(ae,{children:f.jsx(aa,{onFetchMore:d,onFetchMoreStart:h,status:n,startStatus:a,children:f.jsx(te,{vertical:!0,align:"stretch",reverse:!0,children:t.map((g,k)=>f.jsxs("div",{className:"message",style:{overflow:"hidden"},children:[f.jsxs("h1",{children:["Name: ",g.name," - ",k+1-(o-1)*4]}),f.jsxs("p",{children:["ID: ",g.id]}),f.jsxs("p",{children:["Email: ",g.email]}),f.jsx("p",{children:g.message})]},g.id))})})})})};var ot,ft,ut;$.parameters={...$.parameters,docs:{...(ot=$.parameters)==null?void 0:ot.docs,source:{originalSource:`() => { - const [state, setState] = useState(0); - const handleIntersect = useCallback(() => { - setState(prev => prev + 1); - }, []); - return - Scroll the top in and out of view. Observe count: {state} - - ; -}`,...(ut=(ft=$.parameters)==null?void 0:ft.docs)==null?void 0:ut.source}}};var ct,dt,ht;z.parameters={...z.parameters,docs:{...(ct=z.parameters)==null?void 0:ct.docs,source:{originalSource:`() => { - const [state, setState] = useState(() => fc.sample(messagesArbitary, { - numRuns: 4, - seed: 2324 - })); - const [infiniteState, setInfiniteState] = useState<"loading" | "hasNextPage" | "end" | "end-with-force">("hasNextPage"); - const handleFetchMore = useCallback(() => { - setInfiniteState("loading"); - setTimeout(() => { - setState(prev => [...prev, ...fc.sample(messagesArbitary, { - numRuns: 4 - })]); - if (state.length > 15) { - setInfiniteState("end-with-force"); - } else { - setInfiniteState("hasNextPage"); - } - }, 1000); - }, [state.length]); - const handleNewMessage = useCallback(() => { - setTimeout(() => { - setState(prev => [...fc.sample(messagesArbitary, { - numRuns: 1 - }), ...prev]); - }, 500); - }, []); - return <> - - - - - {state.map(message =>
-

Name: {message.name}

-

Email: {message.email}

-

{message.message}

-
)} -
-
-
- ; -}`,...(ht=(dt=z.parameters)==null?void 0:dt.docs)==null?void 0:ht.source}}};var lt,pt,bt;_.parameters={..._.parameters,docs:{...(lt=_.parameters)==null?void 0:lt.docs,source:{originalSource:`() => { - const [state, setState] = useState(() => fc.sample(messagesArbitary, { - numRuns: 4, - seed: 2324 - })); - const [infiniteState, setInfiniteState] = useState<"loading" | "hasNextPage" | "end" | "end-with-force">("hasNextPage"); - const handleFetchMore = useCallback(() => { - setInfiniteState("loading"); - setTimeout(() => { - setState(prev => [...fc.sample(messagesArbitary, { - numRuns: 4 - }), ...prev]); - if (state.length > 15) { - setInfiniteState("end-with-force"); - } else { - setInfiniteState("hasNextPage"); - } - }, 1000); - }, [state.length]); - const handleNewMessage = useCallback(() => { - setTimeout(() => { - setState(prev => [...prev, ...fc.sample(messagesArbitary, { - numRuns: 1 - })]); - }, 500); - }, []); - return <> - - - - - {state.map(message =>
-

Name: {message.name}

-

Email: {message.email}

-

{message.message}

-
)} -
-
-
- ; -}`,...(bt=(pt=_.parameters)==null?void 0:pt.docs)==null?void 0:bt.source}}};var mt,gt,yt;q.parameters={...q.parameters,docs:{...(mt=q.parameters)==null?void 0:mt.docs,source:{originalSource:`() => { - const [state, setState] = useState(() => fc.sample(messagesArbitary, { - numRuns: 4, - seed: 2324 - })); - const [infiniteState, setInfiniteState] = useState<"loading" | "hasNextPage" | "end" | "end-with-force">("hasNextPage"); - const handleFetchMore = useCallback(() => { - setInfiniteState("loading"); - setTimeout(() => { - setState(prev => [...prev, ...fc.sample(messagesArbitary, { - numRuns: 4 - })]); - if (state.length > 15) { - setInfiniteState("end-with-force"); - } else { - setInfiniteState("hasNextPage"); - } - }, 1000); - }, [state.length]); - const handleNewMessage = useCallback(() => { - setTimeout(() => { - setState(prev => [...fc.sample(messagesArbitary, { - numRuns: 1 - }), ...prev]); - }, 500); - }, []); - const lastMessageRef = useRef(null); - useEffect(() => { - if (state.length === 4) { - lastMessageRef.current?.scrollIntoView(); - } - }, [state.length]); - return <> - - - - - {state.map((message, i) =>
-

- Name: {message.name} - {i} -

-

Email: {message.email}

-

{message.message}

-

{message.message}

-

{message.message}

-

{message.message}

-
)} -
-
-
- ; -}`,...(yt=(gt=q.parameters)==null?void 0:gt.docs)==null?void 0:yt.source}}};var St,vt,wt;H.parameters={...H.parameters,docs:{...(St=H.parameters)==null?void 0:St.docs,source:{originalSource:`() => { - const [state, setState] = useState(() => fc.sample(messagesArbitary, { - numRuns: 4, - seed: 2324 - })); - const [status, setStatus] = useState<"loading" | "hasNextPage" | "end" | "end-with-force">("hasNextPage"); - const [startStatus, setStartStatus] = useState<"loading" | "hasNextPage" | "end" | "end-with-force">("hasNextPage"); - const [page, setPage] = useState(1); - const [startPage, setStartPage] = useState(1); - const handleFetchMore = useCallback(() => { - if (status === "hasNextPage") { - setStatus("loading"); - setTimeout(() => { - if (page > 4) { - setStatus("end-with-force"); - } else { - setState(prev => [...prev, ...fc.sample(messagesArbitary, { - numRuns: 4 - })]); - setPage(page + 1); - setTimeout(() => setStatus("hasNextPage"), 100); - } - }, 1000); - } - }, [page, status]); - const handleFetchMoreStart = useCallback(() => { - if (startStatus === "hasNextPage") { - setStartStatus("loading"); - setTimeout(() => { - if (startPage > 4) { - setStartStatus("end-with-force"); - } else { - setState(prev => [...fc.sample(messagesArbitary, { - numRuns: 4 - }), ...prev]); - setStartPage(startPage + 1); - setTimeout(() => setStartStatus("hasNextPage"), 100); - } - }, 1000); - } - }, [startPage, startStatus]); - return
- - - - {state.map((message, i) =>
-

- Name: {message.name} - {i + 1 - (startPage - 1) * 4} -

-

ID: {message.id}

-

Email: {message.email}

-

{message.message}

-
)} -
-
-
-
; -}`,...(wt=(vt=H.parameters)==null?void 0:vt.docs)==null?void 0:wt.source}}};const ca=["ObserverDiv","Example","ExampleReversed","ExampleReversedWithOffset","ExampleWithSideEffect"];export{z as Example,_ as ExampleReversed,q as ExampleReversedWithOffset,H as ExampleWithSideEffect,$ as ObserverDiv,ca as __namedExportsOrder,ua as default}; diff --git a/docs/storybook/assets/Inter-Black-fc10113c.woff2 b/docs/storybook/assets/Inter-Black-fc10113c.woff2 deleted file mode 100644 index 68f64c9..0000000 Binary files a/docs/storybook/assets/Inter-Black-fc10113c.woff2 and /dev/null differ diff --git a/docs/storybook/assets/Inter-BlackItalic-bc80081d.woff2 b/docs/storybook/assets/Inter-BlackItalic-bc80081d.woff2 deleted file mode 100644 index 1c9c7ca..0000000 Binary files a/docs/storybook/assets/Inter-BlackItalic-bc80081d.woff2 and /dev/null differ diff --git a/docs/storybook/assets/Inter-Bold-c63158ba.woff2 b/docs/storybook/assets/Inter-Bold-c63158ba.woff2 deleted file mode 100644 index 2846f29..0000000 Binary files a/docs/storybook/assets/Inter-Bold-c63158ba.woff2 and /dev/null differ diff --git a/docs/storybook/assets/Inter-BoldItalic-3f211964.woff2 b/docs/storybook/assets/Inter-BoldItalic-3f211964.woff2 deleted file mode 100644 index 0b1fe8e..0000000 Binary files a/docs/storybook/assets/Inter-BoldItalic-3f211964.woff2 and /dev/null differ diff --git a/docs/storybook/assets/Inter-ExtraBold-307d9809.woff2 b/docs/storybook/assets/Inter-ExtraBold-307d9809.woff2 deleted file mode 100644 index c24c2bd..0000000 Binary files a/docs/storybook/assets/Inter-ExtraBold-307d9809.woff2 and /dev/null differ diff --git a/docs/storybook/assets/Inter-ExtraBoldItalic-cf6b1d6c.woff2 b/docs/storybook/assets/Inter-ExtraBoldItalic-cf6b1d6c.woff2 deleted file mode 100644 index 4a81dc7..0000000 Binary files a/docs/storybook/assets/Inter-ExtraBoldItalic-cf6b1d6c.woff2 and /dev/null differ diff --git a/docs/storybook/assets/Inter-ExtraLight-b6cd094a.woff2 b/docs/storybook/assets/Inter-ExtraLight-b6cd094a.woff2 deleted file mode 100644 index f2ea706..0000000 Binary files a/docs/storybook/assets/Inter-ExtraLight-b6cd094a.woff2 and /dev/null differ diff --git a/docs/storybook/assets/Inter-ExtraLightItalic-db229bf3.woff2 b/docs/storybook/assets/Inter-ExtraLightItalic-db229bf3.woff2 deleted file mode 100644 index 9af717b..0000000 Binary files a/docs/storybook/assets/Inter-ExtraLightItalic-db229bf3.woff2 and /dev/null differ diff --git a/docs/storybook/assets/Inter-Italic-900058df.woff2 b/docs/storybook/assets/Inter-Italic-900058df.woff2 deleted file mode 100644 index a619fc5..0000000 Binary files a/docs/storybook/assets/Inter-Italic-900058df.woff2 and /dev/null differ diff --git a/docs/storybook/assets/Inter-Light-36b86832.woff2 b/docs/storybook/assets/Inter-Light-36b86832.woff2 deleted file mode 100644 index bc4be66..0000000 Binary files a/docs/storybook/assets/Inter-Light-36b86832.woff2 and /dev/null differ diff --git a/docs/storybook/assets/Inter-LightItalic-737ac201.woff2 b/docs/storybook/assets/Inter-LightItalic-737ac201.woff2 deleted file mode 100644 index 842b2df..0000000 Binary files a/docs/storybook/assets/Inter-LightItalic-737ac201.woff2 and /dev/null differ diff --git a/docs/storybook/assets/Inter-Medium-1b498b95.woff2 b/docs/storybook/assets/Inter-Medium-1b498b95.woff2 deleted file mode 100644 index f92498a..0000000 Binary files a/docs/storybook/assets/Inter-Medium-1b498b95.woff2 and /dev/null differ diff --git a/docs/storybook/assets/Inter-MediumItalic-81600858.woff2 b/docs/storybook/assets/Inter-MediumItalic-81600858.woff2 deleted file mode 100644 index 0e3019f..0000000 Binary files a/docs/storybook/assets/Inter-MediumItalic-81600858.woff2 and /dev/null differ diff --git a/docs/storybook/assets/Inter-Regular-d612f121.woff2 b/docs/storybook/assets/Inter-Regular-d612f121.woff2 deleted file mode 100644 index 6c2b689..0000000 Binary files a/docs/storybook/assets/Inter-Regular-d612f121.woff2 and /dev/null differ diff --git a/docs/storybook/assets/Inter-SemiBold-15226129.woff2 b/docs/storybook/assets/Inter-SemiBold-15226129.woff2 deleted file mode 100644 index 611e90c..0000000 Binary files a/docs/storybook/assets/Inter-SemiBold-15226129.woff2 and /dev/null differ diff --git a/docs/storybook/assets/Inter-SemiBoldItalic-3b6df7d0.woff2 b/docs/storybook/assets/Inter-SemiBoldItalic-3b6df7d0.woff2 deleted file mode 100644 index 545685b..0000000 Binary files a/docs/storybook/assets/Inter-SemiBoldItalic-3b6df7d0.woff2 and /dev/null differ diff --git a/docs/storybook/assets/Inter-Thin-77d96c1c.woff2 b/docs/storybook/assets/Inter-Thin-77d96c1c.woff2 deleted file mode 100644 index abbc3a5..0000000 Binary files a/docs/storybook/assets/Inter-Thin-77d96c1c.woff2 and /dev/null differ diff --git a/docs/storybook/assets/Inter-ThinItalic-d82beee8.woff2 b/docs/storybook/assets/Inter-ThinItalic-d82beee8.woff2 deleted file mode 100644 index ab0b200..0000000 Binary files a/docs/storybook/assets/Inter-ThinItalic-d82beee8.woff2 and /dev/null differ diff --git a/docs/storybook/assets/Inter-italic.var-d1401419.woff2 b/docs/storybook/assets/Inter-italic.var-d1401419.woff2 deleted file mode 100644 index b826d5a..0000000 Binary files a/docs/storybook/assets/Inter-italic.var-d1401419.woff2 and /dev/null differ diff --git a/docs/storybook/assets/Inter-roman.var-17fe38ab.woff2 b/docs/storybook/assets/Inter-roman.var-17fe38ab.woff2 deleted file mode 100644 index 6a256a0..0000000 Binary files a/docs/storybook/assets/Inter-roman.var-17fe38ab.woff2 and /dev/null differ diff --git a/docs/storybook/assets/IntlPhoneInput.stories-9d9c5b69.js b/docs/storybook/assets/IntlPhoneInput.stories-9d9c5b69.js deleted file mode 100644 index d081257..0000000 --- a/docs/storybook/assets/IntlPhoneInput.stories-9d9c5b69.js +++ /dev/null @@ -1,38 +0,0 @@ -import{j as T}from"./jsx-runtime-6d9837fe.js";import{ab as Ct,ac as Nr,e as Re,ad as mn,d as vn,S as ot,I as gn,X as En,f as _r,Y as Or,m as yt,ae as pn}from"./SPA-63b29876.js";import{r as I}from"./index-93f6b7ae.js";import"./index-03a57050.js";import{_ as $}from"./iframe-145c4ff1.js";var Pr={exports:{}},y={};/** @license React v16.13.1 - * react-is.production.min.js - * - * Copyright (c) Facebook, Inc. and its affiliates. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */var P=typeof Symbol=="function"&&Symbol.for,lt=P?Symbol.for("react.element"):60103,st=P?Symbol.for("react.portal"):60106,Ee=P?Symbol.for("react.fragment"):60107,pe=P?Symbol.for("react.strict_mode"):60108,Ce=P?Symbol.for("react.profiler"):60114,ye=P?Symbol.for("react.provider"):60109,Ae=P?Symbol.for("react.context"):60110,ct=P?Symbol.for("react.async_mode"):60111,Se=P?Symbol.for("react.concurrent_mode"):60111,Ie=P?Symbol.for("react.forward_ref"):60112,be=P?Symbol.for("react.suspense"):60113,Cn=P?Symbol.for("react.suspense_list"):60120,Ne=P?Symbol.for("react.memo"):60115,_e=P?Symbol.for("react.lazy"):60116,yn=P?Symbol.for("react.block"):60121,An=P?Symbol.for("react.fundamental"):60117,Sn=P?Symbol.for("react.responder"):60118,In=P?Symbol.for("react.scope"):60119;function x(e){if(typeof e=="object"&&e!==null){var r=e.$$typeof;switch(r){case lt:switch(e=e.type,e){case ct:case Se:case Ee:case Ce:case pe:case be:return e;default:switch(e=e&&e.$$typeof,e){case Ae:case Ie:case _e:case Ne:case ye:return e;default:return r}}case st:return r}}}function Fr(e){return x(e)===Se}y.AsyncMode=ct;y.ConcurrentMode=Se;y.ContextConsumer=Ae;y.ContextProvider=ye;y.Element=lt;y.ForwardRef=Ie;y.Fragment=Ee;y.Lazy=_e;y.Memo=Ne;y.Portal=st;y.Profiler=Ce;y.StrictMode=pe;y.Suspense=be;y.isAsyncMode=function(e){return Fr(e)||x(e)===ct};y.isConcurrentMode=Fr;y.isContextConsumer=function(e){return x(e)===Ae};y.isContextProvider=function(e){return x(e)===ye};y.isElement=function(e){return typeof e=="object"&&e!==null&&e.$$typeof===lt};y.isForwardRef=function(e){return x(e)===Ie};y.isFragment=function(e){return x(e)===Ee};y.isLazy=function(e){return x(e)===_e};y.isMemo=function(e){return x(e)===Ne};y.isPortal=function(e){return x(e)===st};y.isProfiler=function(e){return x(e)===Ce};y.isStrictMode=function(e){return x(e)===pe};y.isSuspense=function(e){return x(e)===be};y.isValidElementType=function(e){return typeof e=="string"||typeof e=="function"||e===Ee||e===Se||e===Ce||e===pe||e===be||e===Cn||typeof e=="object"&&e!==null&&(e.$$typeof===_e||e.$$typeof===Ne||e.$$typeof===ye||e.$$typeof===Ae||e.$$typeof===Ie||e.$$typeof===An||e.$$typeof===Sn||e.$$typeof===In||e.$$typeof===yn)};y.typeOf=x;Pr.exports=y;var bn=Pr.exports,Tr=bn,Nn={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},_n={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},Dr={};Dr[Tr.ForwardRef]=Nn;Dr[Tr.Memo]=_n;function U(e){return Array.isArray?Array.isArray(e):xr(e)==="[object Array]"}const On=1/0;function Pn(e){if(typeof e=="string")return e;let r=e+"";return r=="0"&&1/e==-On?"-0":r}function Fn(e){return e==null?"":Pn(e)}function k(e){return typeof e=="string"}function Mr(e){return typeof e=="number"}function Tn(e){return e===!0||e===!1||Dn(e)&&xr(e)=="[object Boolean]"}function Rr(e){return typeof e=="object"}function Dn(e){return Rr(e)&&e!==null}function R(e){return e!=null}function xe(e){return!e.trim().length}function xr(e){return e==null?e===void 0?"[object Undefined]":"[object Null]":Object.prototype.toString.call(e)}const Mn="Incorrect 'index' type",Rn=e=>`Invalid value for key ${e}`,xn=e=>`Pattern length exceeds max of ${e}.`,Ln=e=>`Missing ${e} property in key`,Bn=e=>`Property 'weight' in key '${e}' must be a positive integer`,At=Object.prototype.hasOwnProperty;class wn{constructor(r){this._keys=[],this._keyMap={};let t=0;r.forEach(n=>{let a=Lr(n);this._keys.push(a),this._keyMap[a.id]=a,t+=a.weight}),this._keys.forEach(n=>{n.weight/=t})}get(r){return this._keyMap[r]}keys(){return this._keys}toJSON(){return JSON.stringify(this._keys)}}function Lr(e){let r=null,t=null,n=null,a=1,u=null;if(k(e)||U(e))n=e,r=St(e),t=Ve(e);else{if(!At.call(e,"name"))throw new Error(Ln("name"));const i=e.name;if(n=i,At.call(e,"weight")&&(a=e.weight,a<=0))throw new Error(Bn(i));r=St(i),t=Ve(i),u=e.getFn}return{path:r,id:t,weight:a,src:n,getFn:u}}function St(e){return U(e)?e:e.split(".")}function Ve(e){return U(e)?e.join("."):e}function Gn(e,r){let t=[],n=!1;const a=(u,i,d)=>{if(R(u))if(!i[d])t.push(u);else{let o=i[d];const l=u[o];if(!R(l))return;if(d===i.length-1&&(k(l)||Mr(l)||Tn(l)))t.push(Fn(l));else if(U(l)){n=!0;for(let s=0,h=l.length;se.score===r.score?e.idx{this._keysMap[t.id]=n})}create(){this.isCreated||!this.docs.length||(this.isCreated=!0,k(this.docs[0])?this.docs.forEach((r,t)=>{this._addString(r,t)}):this.docs.forEach((r,t)=>{this._addObject(r,t)}),this.norm.clear())}add(r){const t=this.size();k(r)?this._addString(r,t):this._addObject(r,t)}removeAt(r){this.records.splice(r,1);for(let t=r,n=this.size();t{let i=a.getFn?a.getFn(r):this.getFn(r,a.path);if(R(i)){if(U(i)){let d=[];const o=[{nestedArrIndex:-1,value:i}];for(;o.length;){const{nestedArrIndex:l,value:s}=o.pop();if(R(s))if(k(s)&&!xe(s)){let h={v:s,i:l,n:this.norm.get(s)};d.push(h)}else U(s)&&s.forEach((h,f)=>{o.push({nestedArrIndex:f,value:h})})}n.$[u]=d}else if(k(i)&&!xe(i)){let d={v:i,n:this.norm.get(i)};n.$[u]=d}}}),this.records.push(n)}toJSON(){return{keys:this.keys,records:this.records}}}function Br(e,r,{getFn:t=g.getFn,fieldNormWeight:n=g.fieldNormWeight}={}){const a=new $t({getFn:t,fieldNormWeight:n});return a.setKeys(e.map(Lr)),a.setSources(r),a.create(),a}function Wn(e,{getFn:r=g.getFn,fieldNormWeight:t=g.fieldNormWeight}={}){const{keys:n,records:a}=e,u=new $t({getFn:r,fieldNormWeight:t});return u.setKeys(n),u.setIndexRecords(a),u}function ue(e,{errors:r=0,currentLocation:t=0,expectedLocation:n=0,distance:a=g.distance,ignoreLocation:u=g.ignoreLocation}={}){const i=r/e.length;if(u)return i;const d=Math.abs(n-t);return a?i+d/a:d?1:i}function Yn(e=[],r=g.minMatchCharLength){let t=[],n=-1,a=-1,u=0;for(let i=e.length;u=r&&t.push([n,a]),n=-1)}return e[u-1]&&u-n>=r&&t.push([n,u-1]),t}const Y=32;function Zn(e,r,t,{location:n=g.location,distance:a=g.distance,threshold:u=g.threshold,findAllMatches:i=g.findAllMatches,minMatchCharLength:d=g.minMatchCharLength,includeMatches:o=g.includeMatches,ignoreLocation:l=g.ignoreLocation}={}){if(r.length>Y)throw new Error(xn(Y));const s=r.length,h=e.length,f=Math.max(0,Math.min(n,h));let v=u,E=f;const A=d>1||o,b=A?Array(h):[];let D;for(;(D=e.indexOf(r,E))>-1;){let p=ue(r,{currentLocation:D,expectedLocation:f,distance:a,ignoreLocation:l});if(v=Math.min(p,v),E=D+s,A){let N=0;for(;N=_;L-=1){let ae=L-1,pt=t[e.charAt(ae)];if(A&&(b[ae]=+!!pt),J[L]=(J[L+1]<<1|1)&pt,p&&(J[L]|=(F[L+1]|F[L])<<1|1|F[L+1]),J[L]&c&&(G=ue(r,{errors:p,currentLocation:ae,expectedLocation:f,distance:a,ignoreLocation:l}),G<=v)){if(v=G,E=ae,E<=f)break;_=Math.max(1,2*f-E)}}if(ue(r,{errors:p+1,currentLocation:f,expectedLocation:f,distance:a,ignoreLocation:l})>v)break;F=J}const m={isMatch:E>=0,score:Math.max(.001,G)};if(A){const p=Yn(b,d);p.length?o&&(m.indices=p):m.isMatch=!1}return m}function Jn(e){let r={};for(let t=0,n=e.length;te.normalize("NFD").replace(/[\u0300-\u036F\u0483-\u0489\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u0610-\u061A\u064B-\u065F\u0670\u06D6-\u06DC\u06DF-\u06E4\u06E7\u06E8\u06EA-\u06ED\u0711\u0730-\u074A\u07A6-\u07B0\u07EB-\u07F3\u07FD\u0816-\u0819\u081B-\u0823\u0825-\u0827\u0829-\u082D\u0859-\u085B\u08D3-\u08E1\u08E3-\u0903\u093A-\u093C\u093E-\u094F\u0951-\u0957\u0962\u0963\u0981-\u0983\u09BC\u09BE-\u09C4\u09C7\u09C8\u09CB-\u09CD\u09D7\u09E2\u09E3\u09FE\u0A01-\u0A03\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A70\u0A71\u0A75\u0A81-\u0A83\u0ABC\u0ABE-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AE2\u0AE3\u0AFA-\u0AFF\u0B01-\u0B03\u0B3C\u0B3E-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B62\u0B63\u0B82\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD7\u0C00-\u0C04\u0C3E-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C62\u0C63\u0C81-\u0C83\u0CBC\u0CBE-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CE2\u0CE3\u0D00-\u0D03\u0D3B\u0D3C\u0D3E-\u0D44\u0D46-\u0D48\u0D4A-\u0D4D\u0D57\u0D62\u0D63\u0D82\u0D83\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DF2\u0DF3\u0E31\u0E34-\u0E3A\u0E47-\u0E4E\u0EB1\u0EB4-\u0EB9\u0EBB\u0EBC\u0EC8-\u0ECD\u0F18\u0F19\u0F35\u0F37\u0F39\u0F3E\u0F3F\u0F71-\u0F84\u0F86\u0F87\u0F8D-\u0F97\u0F99-\u0FBC\u0FC6\u102B-\u103E\u1056-\u1059\u105E-\u1060\u1062-\u1064\u1067-\u106D\u1071-\u1074\u1082-\u108D\u108F\u109A-\u109D\u135D-\u135F\u1712-\u1714\u1732-\u1734\u1752\u1753\u1772\u1773\u17B4-\u17D3\u17DD\u180B-\u180D\u1885\u1886\u18A9\u1920-\u192B\u1930-\u193B\u1A17-\u1A1B\u1A55-\u1A5E\u1A60-\u1A7C\u1A7F\u1AB0-\u1ABE\u1B00-\u1B04\u1B34-\u1B44\u1B6B-\u1B73\u1B80-\u1B82\u1BA1-\u1BAD\u1BE6-\u1BF3\u1C24-\u1C37\u1CD0-\u1CD2\u1CD4-\u1CE8\u1CED\u1CF2-\u1CF4\u1CF7-\u1CF9\u1DC0-\u1DF9\u1DFB-\u1DFF\u20D0-\u20F0\u2CEF-\u2CF1\u2D7F\u2DE0-\u2DFF\u302A-\u302F\u3099\u309A\uA66F-\uA672\uA674-\uA67D\uA69E\uA69F\uA6F0\uA6F1\uA802\uA806\uA80B\uA823-\uA827\uA880\uA881\uA8B4-\uA8C5\uA8E0-\uA8F1\uA8FF\uA926-\uA92D\uA947-\uA953\uA980-\uA983\uA9B3-\uA9C0\uA9E5\uAA29-\uAA36\uAA43\uAA4C\uAA4D\uAA7B-\uAA7D\uAAB0\uAAB2-\uAAB4\uAAB7\uAAB8\uAABE\uAABF\uAAC1\uAAEB-\uAAEF\uAAF5\uAAF6\uABE3-\uABEA\uABEC\uABED\uFB1E\uFE00-\uFE0F\uFE20-\uFE2F]/g,""):e=>e;class wr{constructor(r,{location:t=g.location,threshold:n=g.threshold,distance:a=g.distance,includeMatches:u=g.includeMatches,findAllMatches:i=g.findAllMatches,minMatchCharLength:d=g.minMatchCharLength,isCaseSensitive:o=g.isCaseSensitive,ignoreDiacritics:l=g.ignoreDiacritics,ignoreLocation:s=g.ignoreLocation}={}){if(this.options={location:t,threshold:n,distance:a,includeMatches:u,findAllMatches:i,minMatchCharLength:d,isCaseSensitive:o,ignoreDiacritics:l,ignoreLocation:s},r=o?r:r.toLowerCase(),r=l?$e(r):r,this.pattern=r,this.chunks=[],!this.pattern.length)return;const h=(v,E)=>{this.chunks.push({pattern:v,alphabet:Jn(v),startIndex:E})},f=this.pattern.length;if(f>Y){let v=0;const E=f%Y,A=f-E;for(;v{const{isMatch:F,score:G,indices:S}=Zn(r,A,b,{location:u+D,distance:i,threshold:d,findAllMatches:o,minMatchCharLength:l,includeMatches:a,ignoreLocation:s});F&&(v=!0),f+=G,F&&S&&(h=[...h,...S])});let E={isMatch:v,score:v?f/this.chunks.length:1};return v&&a&&(E.indices=h),E}}class j{constructor(r){this.pattern=r}static isMultiMatch(r){return It(r,this.multiRegex)}static isSingleMatch(r){return It(r,this.singleRegex)}search(){}}function It(e,r){const t=e.match(r);return t?t[1]:null}class Xn extends j{constructor(r){super(r)}static get type(){return"exact"}static get multiRegex(){return/^="(.*)"$/}static get singleRegex(){return/^=(.*)$/}search(r){const t=r===this.pattern;return{isMatch:t,score:t?0:1,indices:[0,this.pattern.length-1]}}}class zn extends j{constructor(r){super(r)}static get type(){return"inverse-exact"}static get multiRegex(){return/^!"(.*)"$/}static get singleRegex(){return/^!(.*)$/}search(r){const n=r.indexOf(this.pattern)===-1;return{isMatch:n,score:n?0:1,indices:[0,r.length-1]}}}class Qn extends j{constructor(r){super(r)}static get type(){return"prefix-exact"}static get multiRegex(){return/^\^"(.*)"$/}static get singleRegex(){return/^\^(.*)$/}search(r){const t=r.startsWith(this.pattern);return{isMatch:t,score:t?0:1,indices:[0,this.pattern.length-1]}}}class qn extends j{constructor(r){super(r)}static get type(){return"inverse-prefix-exact"}static get multiRegex(){return/^!\^"(.*)"$/}static get singleRegex(){return/^!\^(.*)$/}search(r){const t=!r.startsWith(this.pattern);return{isMatch:t,score:t?0:1,indices:[0,r.length-1]}}}class ea extends j{constructor(r){super(r)}static get type(){return"suffix-exact"}static get multiRegex(){return/^"(.*)"\$$/}static get singleRegex(){return/^(.*)\$$/}search(r){const t=r.endsWith(this.pattern);return{isMatch:t,score:t?0:1,indices:[r.length-this.pattern.length,r.length-1]}}}class ta extends j{constructor(r){super(r)}static get type(){return"inverse-suffix-exact"}static get multiRegex(){return/^!"(.*)"\$$/}static get singleRegex(){return/^!(.*)\$$/}search(r){const t=!r.endsWith(this.pattern);return{isMatch:t,score:t?0:1,indices:[0,r.length-1]}}}class Gr extends j{constructor(r,{location:t=g.location,threshold:n=g.threshold,distance:a=g.distance,includeMatches:u=g.includeMatches,findAllMatches:i=g.findAllMatches,minMatchCharLength:d=g.minMatchCharLength,isCaseSensitive:o=g.isCaseSensitive,ignoreDiacritics:l=g.ignoreDiacritics,ignoreLocation:s=g.ignoreLocation}={}){super(r),this._bitapSearch=new wr(r,{location:t,threshold:n,distance:a,includeMatches:u,findAllMatches:i,minMatchCharLength:d,isCaseSensitive:o,ignoreDiacritics:l,ignoreLocation:s})}static get type(){return"fuzzy"}static get multiRegex(){return/^"(.*)"$/}static get singleRegex(){return/^(.*)$/}search(r){return this._bitapSearch.searchIn(r)}}class kr extends j{constructor(r){super(r)}static get type(){return"include"}static get multiRegex(){return/^'"(.*)"$/}static get singleRegex(){return/^'(.*)$/}search(r){let t=0,n;const a=[],u=this.pattern.length;for(;(n=r.indexOf(this.pattern,t))>-1;)t=n+u,a.push([n,t-1]);const i=!!a.length;return{isMatch:i,score:i?0:1,indices:a}}}const Ue=[Xn,kr,Qn,qn,ta,ea,zn,Gr],bt=Ue.length,ra=/ +(?=(?:[^\"]*\"[^\"]*\")*[^\"]*$)/,na="|";function aa(e,r={}){return e.split(na).map(t=>{let n=t.trim().split(ra).filter(u=>u&&!!u.trim()),a=[];for(let u=0,i=n.length;u!!(e[fe.AND]||e[fe.OR]),oa=e=>!!e[je.PATH],la=e=>!U(e)&&Rr(e)&&!We(e),Nt=e=>({[fe.AND]:Object.keys(e).map(r=>({[r]:e[r]}))});function Vr(e,r,{auto:t=!0}={}){const n=a=>{let u=Object.keys(a);const i=oa(a);if(!i&&u.length>1&&!We(a))return n(Nt(a));if(la(a)){const o=i?a[je.PATH]:u[0],l=i?a[je.PATTERN]:a[o];if(!k(l))throw new Error(Rn(o));const s={keyId:Ve(o),pattern:l};return t&&(s.searcher=He(l,r)),s}let d={children:[],operator:u[0]};return u.forEach(o=>{const l=a[o];U(l)&&l.forEach(s=>{d.children.push(n(s))})}),d};return We(e)||(e=Nt(e)),n(e)}function sa(e,{ignoreFieldNorm:r=g.ignoreFieldNorm}){e.forEach(t=>{let n=1;t.matches.forEach(({key:a,norm:u,score:i})=>{const d=a?a.weight:null;n*=Math.pow(i===0&&d?Number.EPSILON:i,(d||1)*(r?1:u))}),t.score=n})}function ca(e,r){const t=e.matches;r.matches=[],R(t)&&t.forEach(n=>{if(!R(n.indices)||!n.indices.length)return;const{indices:a,value:u}=n;let i={indices:a,value:u};n.key&&(i.key=n.key.src),n.idx>-1&&(i.refIndex=n.idx),r.matches.push(i)})}function $a(e,r){r.score=e.score}function fa(e,r,{includeMatches:t=g.includeMatches,includeScore:n=g.includeScore}={}){const a=[];return t&&a.push(ca),n&&a.push($a),e.map(u=>{const{idx:i}=u,d={item:r[i],refIndex:i};return a.length&&a.forEach(o=>{o(u,d)}),d})}class Q{constructor(r,t={},n){this.options={...g,...t},this.options.useExtendedSearch,this._keyStore=new wn(this.options.keys),this.setCollection(r,n)}setCollection(r,t){if(this._docs=r,t&&!(t instanceof $t))throw new Error(Mn);this._myIndex=t||Br(this.options.keys,this._docs,{getFn:this.options.getFn,fieldNormWeight:this.options.fieldNormWeight})}add(r){R(r)&&(this._docs.push(r),this._myIndex.add(r))}remove(r=()=>!1){const t=[];for(let n=0,a=this._docs.length;n-1&&(o=o.slice(0,t)),fa(o,this._docs,{includeMatches:n,includeScore:a})}_searchStringList(r){const t=He(r,this.options),{records:n}=this._myIndex,a=[];return n.forEach(({v:u,i,n:d})=>{if(!R(u))return;const{isMatch:o,score:l,indices:s}=t.searchIn(u);o&&a.push({item:u,idx:i,matches:[{score:l,value:u,norm:d,indices:s}]})}),a}_searchLogical(r){const t=Vr(r,this.options),n=(d,o,l)=>{if(!d.children){const{keyId:h,searcher:f}=d,v=this._findMatches({key:this._keyStore.get(h),value:this._myIndex.getValueForItemAtKeyId(o,h),searcher:f});return v&&v.length?[{idx:l,item:o,matches:v}]:[]}const s=[];for(let h=0,f=d.children.length;h{if(R(d)){let l=n(t,d,o);l.length&&(u[o]||(u[o]={idx:o,item:d,matches:[]},i.push(u[o])),l.forEach(({matches:s})=>{u[o].matches.push(...s)}))}}),i}_searchObjectList(r){const t=He(r,this.options),{keys:n,records:a}=this._myIndex,u=[];return a.forEach(({$:i,i:d})=>{if(!R(i))return;let o=[];n.forEach((l,s)=>{o.push(...this._findMatches({key:l,value:i[s],searcher:t}))}),o.length&&u.push({idx:d,item:i,matches:o})}),u}_findMatches({key:r,value:t,searcher:n}){if(!R(t))return[];let a=[];if(U(t))t.forEach(({v:u,i,n:d})=>{if(!R(u))return;const{isMatch:o,score:l,indices:s}=n.searchIn(u);o&&a.push({score:l,key:r,value:u,idx:i,norm:d,indices:s})});else{const{v:u,n:i}=t,{isMatch:d,score:o,indices:l}=n.searchIn(u);d&&a.push({score:o,key:r,value:u,norm:i,indices:l})}return a}}Q.version="7.1.0";Q.createIndex=Br;Q.parseIndex=Wn;Q.config=g;Q.parseQuery=Vr;da(ia);const ha={version:4,country_calling_codes:{1:["US","AG","AI","AS","BB","BM","BS","CA","DM","DO","GD","GU","JM","KN","KY","LC","MP","MS","PR","SX","TC","TT","VC","VG","VI"],7:["RU","KZ"],20:["EG"],27:["ZA"],30:["GR"],31:["NL"],32:["BE"],33:["FR"],34:["ES"],36:["HU"],39:["IT","VA"],40:["RO"],41:["CH"],43:["AT"],44:["GB","GG","IM","JE"],45:["DK"],46:["SE"],47:["NO","SJ"],48:["PL"],49:["DE"],51:["PE"],52:["MX"],53:["CU"],54:["AR"],55:["BR"],56:["CL"],57:["CO"],58:["VE"],60:["MY"],61:["AU","CC","CX"],62:["ID"],63:["PH"],64:["NZ"],65:["SG"],66:["TH"],81:["JP"],82:["KR"],84:["VN"],86:["CN"],90:["TR"],91:["IN"],92:["PK"],93:["AF"],94:["LK"],95:["MM"],98:["IR"],211:["SS"],212:["MA","EH"],213:["DZ"],216:["TN"],218:["LY"],220:["GM"],221:["SN"],222:["MR"],223:["ML"],224:["GN"],225:["CI"],226:["BF"],227:["NE"],228:["TG"],229:["BJ"],230:["MU"],231:["LR"],232:["SL"],233:["GH"],234:["NG"],235:["TD"],236:["CF"],237:["CM"],238:["CV"],239:["ST"],240:["GQ"],241:["GA"],242:["CG"],243:["CD"],244:["AO"],245:["GW"],246:["IO"],247:["AC"],248:["SC"],249:["SD"],250:["RW"],251:["ET"],252:["SO"],253:["DJ"],254:["KE"],255:["TZ"],256:["UG"],257:["BI"],258:["MZ"],260:["ZM"],261:["MG"],262:["RE","YT"],263:["ZW"],264:["NA"],265:["MW"],266:["LS"],267:["BW"],268:["SZ"],269:["KM"],290:["SH","TA"],291:["ER"],297:["AW"],298:["FO"],299:["GL"],350:["GI"],351:["PT"],352:["LU"],353:["IE"],354:["IS"],355:["AL"],356:["MT"],357:["CY"],358:["FI","AX"],359:["BG"],370:["LT"],371:["LV"],372:["EE"],373:["MD"],374:["AM"],375:["BY"],376:["AD"],377:["MC"],378:["SM"],380:["UA"],381:["RS"],382:["ME"],383:["XK"],385:["HR"],386:["SI"],387:["BA"],389:["MK"],420:["CZ"],421:["SK"],423:["LI"],500:["FK"],501:["BZ"],502:["GT"],503:["SV"],504:["HN"],505:["NI"],506:["CR"],507:["PA"],508:["PM"],509:["HT"],590:["GP","BL","MF"],591:["BO"],592:["GY"],593:["EC"],594:["GF"],595:["PY"],596:["MQ"],597:["SR"],598:["UY"],599:["CW","BQ"],670:["TL"],672:["NF"],673:["BN"],674:["NR"],675:["PG"],676:["TO"],677:["SB"],678:["VU"],679:["FJ"],680:["PW"],681:["WF"],682:["CK"],683:["NU"],685:["WS"],686:["KI"],687:["NC"],688:["TV"],689:["PF"],690:["TK"],691:["FM"],692:["MH"],850:["KP"],852:["HK"],853:["MO"],855:["KH"],856:["LA"],880:["BD"],886:["TW"],960:["MV"],961:["LB"],962:["JO"],963:["SY"],964:["IQ"],965:["KW"],966:["SA"],967:["YE"],968:["OM"],970:["PS"],971:["AE"],972:["IL"],973:["BH"],974:["QA"],975:["BT"],976:["MN"],977:["NP"],992:["TJ"],993:["TM"],994:["AZ"],995:["GE"],996:["KG"],998:["UZ"]},countries:{AC:["247","00","(?:[01589]\\d|[46])\\d{4}",[5,6]],AD:["376","00","(?:1|6\\d)\\d{7}|[135-9]\\d{5}",[6,8,9],[["(\\d{3})(\\d{3})","$1 $2",["[135-9]"]],["(\\d{4})(\\d{4})","$1 $2",["1"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["6"]]]],AE:["971","00","(?:[4-7]\\d|9[0-689])\\d{7}|800\\d{2,9}|[2-4679]\\d{7}",[5,6,7,8,9,10,11,12],[["(\\d{3})(\\d{2,9})","$1 $2",["60|8"]],["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["[236]|[479][2-8]"],"0$1"],["(\\d{3})(\\d)(\\d{5})","$1 $2 $3",["[479]"]],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["5"],"0$1"]],"0"],AF:["93","00","[2-7]\\d{8}",[9],[["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[2-7]"],"0$1"]],"0"],AG:["1","011","(?:268|[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([457]\\d{6})$|1","268$1",0,"268"],AI:["1","011","(?:264|[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([2457]\\d{6})$|1","264$1",0,"264"],AL:["355","00","(?:700\\d\\d|900)\\d{3}|8\\d{5,7}|(?:[2-5]|6\\d)\\d{7}",[6,7,8,9],[["(\\d{3})(\\d{3,4})","$1 $2",["80|9"],"0$1"],["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["4[2-6]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[2358][2-5]|4"],"0$1"],["(\\d{3})(\\d{5})","$1 $2",["[23578]"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["6"],"0$1"]],"0"],AM:["374","00","(?:[1-489]\\d|55|60|77)\\d{6}",[8],[["(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["[89]0"],"0 $1"],["(\\d{3})(\\d{5})","$1 $2",["2|3[12]"],"(0$1)"],["(\\d{2})(\\d{6})","$1 $2",["1|47"],"(0$1)"],["(\\d{2})(\\d{6})","$1 $2",["[3-9]"],"0$1"]],"0"],AO:["244","00","[29]\\d{8}",[9],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[29]"]]]],AR:["54","00","(?:11|[89]\\d\\d)\\d{8}|[2368]\\d{9}",[10,11],[["(\\d{4})(\\d{2})(\\d{4})","$1 $2-$3",["2(?:2[024-9]|3[0-59]|47|6[245]|9[02-8])|3(?:3[28]|4[03-9]|5[2-46-8]|7[1-578]|8[2-9])","2(?:[23]02|6(?:[25]|4[6-8])|9(?:[02356]|4[02568]|72|8[23]))|3(?:3[28]|4(?:[04679]|3[5-8]|5[4-68]|8[2379])|5(?:[2467]|3[237]|8[2-5])|7[1-578]|8(?:[2469]|3[2578]|5[4-8]|7[36-8]|8[5-8]))|2(?:2[24-9]|3[1-59]|47)","2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3[78]|5(?:4[46]|8)|8[2379])|5(?:[2467]|3[237]|8[23])|7[1-578]|8(?:[2469]|3[278]|5[56][46]|86[3-6]))|2(?:2[24-9]|3[1-59]|47)|38(?:[58][78]|7[378])|3(?:4[35][56]|58[45]|8(?:[38]5|54|76))[4-6]","2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3(?:5(?:4[0-25689]|[56])|[78])|58|8[2379])|5(?:[2467]|3[237]|8(?:[23]|4(?:[45]|60)|5(?:4[0-39]|5|64)))|7[1-578]|8(?:[2469]|3[278]|54(?:4|5[13-7]|6[89])|86[3-6]))|2(?:2[24-9]|3[1-59]|47)|38(?:[58][78]|7[378])|3(?:454|85[56])[46]|3(?:4(?:36|5[56])|8(?:[38]5|76))[4-6]"],"0$1",1],["(\\d{2})(\\d{4})(\\d{4})","$1 $2-$3",["1"],"0$1",1],["(\\d{3})(\\d{3})(\\d{4})","$1-$2-$3",["[68]"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2-$3",["[23]"],"0$1",1],["(\\d)(\\d{4})(\\d{2})(\\d{4})","$2 15-$3-$4",["9(?:2[2-469]|3[3-578])","9(?:2(?:2[024-9]|3[0-59]|47|6[245]|9[02-8])|3(?:3[28]|4[03-9]|5[2-46-8]|7[1-578]|8[2-9]))","9(?:2(?:[23]02|6(?:[25]|4[6-8])|9(?:[02356]|4[02568]|72|8[23]))|3(?:3[28]|4(?:[04679]|3[5-8]|5[4-68]|8[2379])|5(?:[2467]|3[237]|8[2-5])|7[1-578]|8(?:[2469]|3[2578]|5[4-8]|7[36-8]|8[5-8])))|92(?:2[24-9]|3[1-59]|47)","9(?:2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3[78]|5(?:4[46]|8)|8[2379])|5(?:[2467]|3[237]|8[23])|7[1-578]|8(?:[2469]|3[278]|5(?:[56][46]|[78])|7[378]|8(?:6[3-6]|[78]))))|92(?:2[24-9]|3[1-59]|47)|93(?:4[35][56]|58[45]|8(?:[38]5|54|76))[4-6]","9(?:2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3(?:5(?:4[0-25689]|[56])|[78])|5(?:4[46]|8)|8[2379])|5(?:[2467]|3[237]|8(?:[23]|4(?:[45]|60)|5(?:4[0-39]|5|64)))|7[1-578]|8(?:[2469]|3[278]|5(?:4(?:4|5[13-7]|6[89])|[56][46]|[78])|7[378]|8(?:6[3-6]|[78]))))|92(?:2[24-9]|3[1-59]|47)|93(?:4(?:36|5[56])|8(?:[38]5|76))[4-6]"],"0$1",0,"$1 $2 $3-$4"],["(\\d)(\\d{2})(\\d{4})(\\d{4})","$2 15-$3-$4",["91"],"0$1",0,"$1 $2 $3-$4"],["(\\d{3})(\\d{3})(\\d{5})","$1-$2-$3",["8"],"0$1"],["(\\d)(\\d{3})(\\d{3})(\\d{4})","$2 15-$3-$4",["9"],"0$1",0,"$1 $2 $3-$4"]],"0",0,"0?(?:(11|2(?:2(?:02?|[13]|2[13-79]|4[1-6]|5[2457]|6[124-8]|7[1-4]|8[13-6]|9[1267])|3(?:02?|1[467]|2[03-6]|3[13-8]|[49][2-6]|5[2-8]|[67])|4(?:7[3-578]|9)|6(?:[0136]|2[24-6]|4[6-8]?|5[15-8])|80|9(?:0[1-3]|[19]|2\\d|3[1-6]|4[02568]?|5[2-4]|6[2-46]|72?|8[23]?))|3(?:3(?:2[79]|6|8[2578])|4(?:0[0-24-9]|[12]|3[5-8]?|4[24-7]|5[4-68]?|6[02-9]|7[126]|8[2379]?|9[1-36-8])|5(?:1|2[1245]|3[237]?|4[1-46-9]|6[2-4]|7[1-6]|8[2-5]?)|6[24]|7(?:[069]|1[1568]|2[15]|3[145]|4[13]|5[14-8]|7[2-57]|8[126])|8(?:[01]|2[15-7]|3[2578]?|4[13-6]|5[4-8]?|6[1-357-9]|7[36-8]?|8[5-8]?|9[124])))15)?","9$1"],AS:["1","011","(?:[58]\\d\\d|684|900)\\d{7}",[10],0,"1",0,"([267]\\d{6})$|1","684$1",0,"684"],AT:["43","00","1\\d{3,12}|2\\d{6,12}|43(?:(?:0\\d|5[02-9])\\d{3,9}|2\\d{4,5}|[3467]\\d{4}|8\\d{4,6}|9\\d{4,7})|5\\d{4,12}|8\\d{7,12}|9\\d{8,12}|(?:[367]\\d|4[0-24-9])\\d{4,11}",[4,5,6,7,8,9,10,11,12,13],[["(\\d)(\\d{3,12})","$1 $2",["1(?:11|[2-9])"],"0$1"],["(\\d{3})(\\d{2})","$1 $2",["517"],"0$1"],["(\\d{2})(\\d{3,5})","$1 $2",["5[079]"],"0$1"],["(\\d{3})(\\d{3,10})","$1 $2",["(?:31|4)6|51|6(?:5[0-3579]|[6-9])|7(?:20|32|8)|[89]"],"0$1"],["(\\d{4})(\\d{3,9})","$1 $2",["[2-467]|5[2-6]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["5"],"0$1"],["(\\d{2})(\\d{4})(\\d{4,7})","$1 $2 $3",["5"],"0$1"]],"0"],AU:["61","001[14-689]|14(?:1[14]|34|4[17]|[56]6|7[47]|88)0011","1(?:[0-79]\\d{7}(?:\\d(?:\\d{2})?)?|8[0-24-9]\\d{7})|[2-478]\\d{8}|1\\d{4,7}",[5,6,7,8,9,10,12],[["(\\d{2})(\\d{3,4})","$1 $2",["16"],"0$1"],["(\\d{2})(\\d{3})(\\d{2,4})","$1 $2 $3",["16"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["14|4"],"0$1"],["(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["[2378]"],"(0$1)"],["(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["1(?:30|[89])"]]],"0",0,"(183[12])|0",0,0,0,[["(?:(?:(?:2(?:[0-26-9]\\d|3[0-8]|4[02-9]|5[0135-9])|7(?:[013-57-9]\\d|2[0-8]))\\d|3(?:(?:[0-3589]\\d|6[1-9]|7[0-35-9])\\d|4(?:[0-578]\\d|90)))\\d\\d|8(?:51(?:0(?:0[03-9]|[12479]\\d|3[2-9]|5[0-8]|6[1-9]|8[0-7])|1(?:[0235689]\\d|1[0-69]|4[0-589]|7[0-47-9])|2(?:0[0-79]|[18][13579]|2[14-9]|3[0-46-9]|[4-6]\\d|7[89]|9[0-4])|3\\d\\d)|(?:6[0-8]|[78]\\d)\\d{3}|9(?:[02-9]\\d{3}|1(?:(?:[0-58]\\d|6[0135-9])\\d|7(?:0[0-24-9]|[1-9]\\d)|9(?:[0-46-9]\\d|5[0-79])))))\\d{3}",[9]],["4(?:79[01]|83[0-389]|94[0-4])\\d{5}|4(?:[0-36]\\d|4[047-9]|5[0-25-9]|7[02-8]|8[0-24-9]|9[0-37-9])\\d{6}",[9]],["180(?:0\\d{3}|2)\\d{3}",[7,10]],["190[0-26]\\d{6}",[10]],0,0,0,["163\\d{2,6}",[5,6,7,8,9]],["14(?:5(?:1[0458]|[23][458])|71\\d)\\d{4}",[9]],["13(?:00\\d{6}(?:\\d{2})?|45[0-4]\\d{3})|13\\d{4}",[6,8,10,12]]],"0011"],AW:["297","00","(?:[25-79]\\d\\d|800)\\d{4}",[7],[["(\\d{3})(\\d{4})","$1 $2",["[25-9]"]]]],AX:["358","00|99(?:[01469]|5(?:[14]1|3[23]|5[59]|77|88|9[09]))","2\\d{4,9}|35\\d{4,5}|(?:60\\d\\d|800)\\d{4,6}|7\\d{5,11}|(?:[14]\\d|3[0-46-9]|50)\\d{4,8}",[5,6,7,8,9,10,11,12],0,"0",0,0,0,0,"18",0,"00"],AZ:["994","00","365\\d{6}|(?:[124579]\\d|60|88)\\d{7}",[9],[["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["90"],"0$1"],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["1[28]|2|365|46","1[28]|2|365[45]|46","1[28]|2|365(?:4|5[02])|46"],"(0$1)"],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[13-9]"],"0$1"]],"0"],BA:["387","00","6\\d{8}|(?:[35689]\\d|49|70)\\d{6}",[8,9],[["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["6[1-3]|[7-9]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2-$3",["[3-5]|6[56]"],"0$1"],["(\\d{2})(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3 $4",["6"],"0$1"]],"0"],BB:["1","011","(?:246|[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([2-9]\\d{6})$|1","246$1",0,"246"],BD:["880","00","[1-469]\\d{9}|8[0-79]\\d{7,8}|[2-79]\\d{8}|[2-9]\\d{7}|[3-9]\\d{6}|[57-9]\\d{5}",[6,7,8,9,10],[["(\\d{2})(\\d{4,6})","$1-$2",["31[5-8]|[459]1"],"0$1"],["(\\d{3})(\\d{3,7})","$1-$2",["3(?:[67]|8[013-9])|4(?:6[168]|7|[89][18])|5(?:6[128]|9)|6(?:[15]|28|4[14])|7[2-589]|8(?:0[014-9]|[12])|9[358]|(?:3[2-5]|4[235]|5[2-578]|6[0389]|76|8[3-7]|9[24])1|(?:44|66)[01346-9]"],"0$1"],["(\\d{4})(\\d{3,6})","$1-$2",["[13-9]|2[23]"],"0$1"],["(\\d)(\\d{7,8})","$1-$2",["2"],"0$1"]],"0"],BE:["32","00","4\\d{8}|[1-9]\\d{7}",[8,9],[["(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["(?:80|9)0"],"0$1"],["(\\d)(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[239]|4[23]"],"0$1"],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[15-8]"],"0$1"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["4"],"0$1"]],"0"],BF:["226","00","[025-7]\\d{7}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[025-7]"]]]],BG:["359","00","00800\\d{7}|[2-7]\\d{6,7}|[89]\\d{6,8}|2\\d{5}",[6,7,8,9,12],[["(\\d)(\\d)(\\d{2})(\\d{2})","$1 $2 $3 $4",["2"],"0$1"],["(\\d{3})(\\d{4})","$1 $2",["43[1-6]|70[1-9]"],"0$1"],["(\\d)(\\d{3})(\\d{3,4})","$1 $2 $3",["2"],"0$1"],["(\\d{2})(\\d{3})(\\d{2,3})","$1 $2 $3",["[356]|4[124-7]|7[1-9]|8[1-6]|9[1-7]"],"0$1"],["(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["(?:70|8)0"],"0$1"],["(\\d{3})(\\d{3})(\\d{2})","$1 $2 $3",["43[1-7]|7"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[48]|9[08]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["9"],"0$1"]],"0"],BH:["973","00","[136-9]\\d{7}",[8],[["(\\d{4})(\\d{4})","$1 $2",["[13679]|8[02-4679]"]]]],BI:["257","00","(?:[267]\\d|31)\\d{6}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2367]"]]]],BJ:["229","00","(?:01\\d|[24-689])\\d{7}",[8,10],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[24-689]"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4 $5",["0"]]]],BL:["590","00","(?:590\\d|7090)\\d{5}|(?:69|80|9\\d)\\d{7}",[9],0,"0",0,0,0,0,0,[["590(?:2[7-9]|3[3-7]|5[12]|87)\\d{4}"],["(?:69(?:0\\d\\d|1(?:2[2-9]|3[0-5])|4(?:0[89]|1[2-6]|9\\d)|6(?:1[016-9]|5[0-4]|[67]\\d))|7090[0-4])\\d{4}"],["80[0-5]\\d{6}"],0,0,0,0,0,["9(?:(?:39[5-7]|76[018])\\d|475[0-6])\\d{4}"]]],BM:["1","011","(?:441|[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([2-9]\\d{6})$|1","441$1",0,"441"],BN:["673","00","[2-578]\\d{6}",[7],[["(\\d{3})(\\d{4})","$1 $2",["[2-578]"]]]],BO:["591","00(?:1\\d)?","8001\\d{5}|(?:[2-467]\\d|50)\\d{6}",[8,9],[["(\\d)(\\d{7})","$1 $2",["[235]|4[46]"]],["(\\d{8})","$1",["[67]"]],["(\\d{3})(\\d{2})(\\d{4})","$1 $2 $3",["8"]]],"0",0,"0(1\\d)?"],BQ:["599","00","(?:[34]1|7\\d)\\d{5}",[7],0,0,0,0,0,0,"[347]"],BR:["55","00(?:1[245]|2[1-35]|31|4[13]|[56]5|99)","(?:[1-46-9]\\d\\d|5(?:[0-46-9]\\d|5[0-46-9]))\\d{8}|[1-9]\\d{9}|[3589]\\d{8}|[34]\\d{7}",[8,9,10,11],[["(\\d{4})(\\d{4})","$1-$2",["300|4(?:0[02]|37)","4(?:02|37)0|[34]00"]],["(\\d{3})(\\d{2,3})(\\d{4})","$1 $2 $3",["(?:[358]|90)0"],"0$1"],["(\\d{2})(\\d{4})(\\d{4})","$1 $2-$3",["(?:[14689][1-9]|2[12478]|3[1-578]|5[13-5]|7[13-579])[2-57]"],"($1)"],["(\\d{2})(\\d{5})(\\d{4})","$1 $2-$3",["[16][1-9]|[2-57-9]"],"($1)"]],"0",0,"(?:0|90)(?:(1[245]|2[1-35]|31|4[13]|[56]5|99)(\\d{10,11}))?","$2"],BS:["1","011","(?:242|[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([3-8]\\d{6})$|1","242$1",0,"242"],BT:["975","00","[17]\\d{7}|[2-8]\\d{6}",[7,8],[["(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["[2-68]|7[246]"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["1[67]|7"]]]],BW:["267","00","(?:0800|(?:[37]|800)\\d)\\d{6}|(?:[2-6]\\d|90)\\d{5}",[7,8,10],[["(\\d{2})(\\d{5})","$1 $2",["90"]],["(\\d{3})(\\d{4})","$1 $2",["[24-6]|3[15-9]"]],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[37]"]],["(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["0"]],["(\\d{3})(\\d{4})(\\d{3})","$1 $2 $3",["8"]]]],BY:["375","810","(?:[12]\\d|33|44|902)\\d{7}|8(?:0[0-79]\\d{5,7}|[1-7]\\d{9})|8(?:1[0-489]|[5-79]\\d)\\d{7}|8[1-79]\\d{6,7}|8[0-79]\\d{5}|8\\d{5}",[6,7,8,9,10,11],[["(\\d{3})(\\d{3})","$1 $2",["800"],"8 $1"],["(\\d{3})(\\d{2})(\\d{2,4})","$1 $2 $3",["800"],"8 $1"],["(\\d{4})(\\d{2})(\\d{3})","$1 $2-$3",["1(?:5[169]|6[3-5]|7[179])|2(?:1[35]|2[34]|3[3-5])","1(?:5[169]|6(?:3[1-3]|4|5[125])|7(?:1[3-9]|7[0-24-6]|9[2-7]))|2(?:1[35]|2[34]|3[3-5])"],"8 0$1"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2-$3-$4",["1(?:[56]|7[467])|2[1-3]"],"8 0$1"],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2-$3-$4",["[1-4]"],"8 0$1"],["(\\d{3})(\\d{3,4})(\\d{4})","$1 $2 $3",["[89]"],"8 $1"]],"8",0,"0|80?",0,0,0,0,"8~10"],BZ:["501","00","(?:0800\\d|[2-8])\\d{6}",[7,11],[["(\\d{3})(\\d{4})","$1-$2",["[2-8]"]],["(\\d)(\\d{3})(\\d{4})(\\d{3})","$1-$2-$3-$4",["0"]]]],CA:["1","011","[2-9]\\d{9}|3\\d{6}",[7,10],0,"1",0,0,0,0,0,[["(?:2(?:04|[23]6|[48]9|50|63)|3(?:06|43|54|6[578]|82)|4(?:03|1[68]|[26]8|3[178]|50|74)|5(?:06|1[49]|48|79|8[147])|6(?:04|[18]3|39|47|72)|7(?:0[59]|42|53|78|8[02])|8(?:[06]7|19|25|7[39])|9(?:0[25]|42))[2-9]\\d{6}",[10]],["",[10]],["8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",[10]],["900[2-9]\\d{6}",[10]],["52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|(?:5(?:2[125-9]|33|44|66|77|88)|6(?:22|33))[2-9]\\d{6}",[10]],0,["310\\d{4}",[7]],0,["600[2-9]\\d{6}",[10]]]],CC:["61","001[14-689]|14(?:1[14]|34|4[17]|[56]6|7[47]|88)0011","1(?:[0-79]\\d{8}(?:\\d{2})?|8[0-24-9]\\d{7})|[148]\\d{8}|1\\d{5,7}",[6,7,8,9,10,12],0,"0",0,"([59]\\d{7})$|0","8$1",0,0,[["8(?:51(?:0(?:02|31|60|89)|1(?:18|76)|223)|91(?:0(?:1[0-2]|29)|1(?:[28]2|50|79)|2(?:10|64)|3(?:[06]8|22)|4[29]8|62\\d|70[23]|959))\\d{3}",[9]],["4(?:79[01]|83[0-389]|94[0-4])\\d{5}|4(?:[0-36]\\d|4[047-9]|5[0-25-9]|7[02-8]|8[0-24-9]|9[0-37-9])\\d{6}",[9]],["180(?:0\\d{3}|2)\\d{3}",[7,10]],["190[0-26]\\d{6}",[10]],0,0,0,0,["14(?:5(?:1[0458]|[23][458])|71\\d)\\d{4}",[9]],["13(?:00\\d{6}(?:\\d{2})?|45[0-4]\\d{3})|13\\d{4}",[6,8,10,12]]],"0011"],CD:["243","00","(?:(?:[189]|5\\d)\\d|2)\\d{7}|[1-68]\\d{6}",[7,8,9,10],[["(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3",["88"],"0$1"],["(\\d{2})(\\d{5})","$1 $2",["[1-6]"],"0$1"],["(\\d{2})(\\d{2})(\\d{4})","$1 $2 $3",["2"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["1"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[89]"],"0$1"],["(\\d{2})(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3 $4",["5"],"0$1"]],"0"],CF:["236","00","(?:[27]\\d{3}|8776)\\d{4}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[278]"]]]],CG:["242","00","222\\d{6}|(?:0\\d|80)\\d{7}",[9],[["(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["8"]],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[02]"]]]],CH:["41","00","8\\d{11}|[2-9]\\d{8}",[9,12],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["8[047]|90"],"0$1"],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2-79]|81"],"0$1"],["(\\d{3})(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4 $5",["8"],"0$1"]],"0"],CI:["225","00","[02]\\d{9}",[10],[["(\\d{2})(\\d{2})(\\d)(\\d{5})","$1 $2 $3 $4",["2"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{4})","$1 $2 $3 $4",["0"]]]],CK:["682","00","[2-578]\\d{4}",[5],[["(\\d{2})(\\d{3})","$1 $2",["[2-578]"]]]],CL:["56","(?:0|1(?:1[0-69]|2[02-5]|5[13-58]|69|7[0167]|8[018]))0","12300\\d{6}|6\\d{9,10}|[2-9]\\d{8}",[9,10,11],[["(\\d{5})(\\d{4})","$1 $2",["219","2196"],"($1)"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["44"]],["(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["2[1-36]"],"($1)"],["(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["9[2-9]"]],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["3[2-5]|[47]|5[1-3578]|6[13-57]|8(?:0[1-9]|[1-9])"],"($1)"],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["60|8"]],["(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["1"]],["(\\d{3})(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3 $4",["60"]]]],CM:["237","00","[26]\\d{8}|88\\d{6,7}",[8,9],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["88"]],["(\\d)(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4 $5",["[26]|88"]]]],CN:["86","00|1(?:[12]\\d|79)\\d\\d00","(?:(?:1[03-689]|2\\d)\\d\\d|6)\\d{8}|1\\d{10}|[126]\\d{6}(?:\\d(?:\\d{2})?)?|86\\d{5,6}|(?:[3-579]\\d|8[0-57-9])\\d{5,9}",[7,8,9,10,11,12],[["(\\d{2})(\\d{5,6})","$1 $2",["(?:10|2[0-57-9])[19]|3(?:[157]|35|49|9[1-68])|4(?:1[124-9]|2[179]|6[47-9]|7|8[23])|5(?:[1357]|2[37]|4[36]|6[1-46]|80)|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:07|1[236-8]|2[5-7]|[37]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|3|4[13]|5[1-5]|7[0-79]|9[0-35-9])|(?:4[35]|59|85)[1-9]","(?:10|2[0-57-9])(?:1[02]|9[56])|8078|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:1[124-9]|2[179]|[35][1-9]|6[47-9]|7\\d|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[1-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|3\\d|4[13]|5[1-5]|7[0-79]|9[0-35-9]))1","10(?:1(?:0|23)|9[56])|2[0-57-9](?:1(?:00|23)|9[56])|80781|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:1[124-9]|2[179]|[35][1-9]|6[47-9]|7\\d|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[1-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|3\\d|4[13]|5[1-5]|7[0-79]|9[0-35-9]))12","10(?:1(?:0|23)|9[56])|2[0-57-9](?:1(?:00|23)|9[56])|807812|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:1[124-9]|2[179]|[35][1-9]|6[47-9]|7\\d|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[1-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|3\\d|4[13]|5[1-5]|7[0-79]|9[0-35-9]))123","10(?:1(?:0|23)|9[56])|2[0-57-9](?:1(?:00|23)|9[56])|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:1[124-9]|2[179]|[35][1-9]|6[47-9]|7\\d|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:078|1[236-8]|2[5-7]|[37]\\d|5[1-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|3\\d|4[13]|5[1-5]|7[0-79]|9[0-35-9]))123"],"0$1"],["(\\d{3})(\\d{5,6})","$1 $2",["3(?:[157]|35|49|9[1-68])|4(?:[17]|2[179]|6[47-9]|8[23])|5(?:[1357]|2[37]|4[36]|6[1-46]|80)|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]|4[13]|5[1-5])|(?:4[35]|59|85)[1-9]","(?:3(?:[157]\\d|35|49|9[1-68])|4(?:[17]\\d|2[179]|[35][1-9]|6[47-9]|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[1-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]\\d|4[13]|5[1-5]))[19]","85[23](?:10|95)|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:[17]\\d|2[179]|[35][1-9]|6[47-9]|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[14-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]\\d|4[13]|5[1-5]))(?:10|9[56])","85[23](?:100|95)|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:[17]\\d|2[179]|[35][1-9]|6[47-9]|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[14-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]\\d|4[13]|5[1-5]))(?:100|9[56])"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["(?:4|80)0"]],["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["10|2(?:[02-57-9]|1[1-9])","10|2(?:[02-57-9]|1[1-9])","10[0-79]|2(?:[02-57-9]|1[1-79])|(?:10|21)8(?:0[1-9]|[1-9])"],"0$1",1],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["3(?:[3-59]|7[02-68])|4(?:[26-8]|3[3-9]|5[2-9])|5(?:3[03-9]|[468]|7[028]|9[2-46-9])|6|7(?:[0-247]|3[04-9]|5[0-4689]|6[2368])|8(?:[1-358]|9[1-7])|9(?:[013479]|5[1-5])|(?:[34]1|55|79|87)[02-9]"],"0$1",1],["(\\d{3})(\\d{7,8})","$1 $2",["9"]],["(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["80"],"0$1",1],["(\\d{3})(\\d{4})(\\d{4})","$1 $2 $3",["[3-578]"],"0$1",1],["(\\d{3})(\\d{4})(\\d{4})","$1 $2 $3",["1[3-9]"]],["(\\d{2})(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3 $4",["[12]"],"0$1",1]],"0",0,"(1(?:[12]\\d|79)\\d\\d)|0",0,0,0,0,"00"],CO:["57","00(?:4(?:[14]4|56)|[579])","(?:46|60\\d\\d)\\d{6}|(?:1\\d|[39])\\d{9}",[8,10,11],[["(\\d{4})(\\d{4})","$1 $2",["46"]],["(\\d{3})(\\d{7})","$1 $2",["6|90"],"($1)"],["(\\d{3})(\\d{7})","$1 $2",["3[0-357]|91"]],["(\\d)(\\d{3})(\\d{7})","$1-$2-$3",["1"],"0$1",0,"$1 $2 $3"]],"0",0,"0([3579]|4(?:[14]4|56))?"],CR:["506","00","(?:8\\d|90)\\d{8}|(?:[24-8]\\d{3}|3005)\\d{4}",[8,10],[["(\\d{4})(\\d{4})","$1 $2",["[2-7]|8[3-9]"]],["(\\d{3})(\\d{3})(\\d{4})","$1-$2-$3",["[89]"]]],0,0,"(19(?:0[0-2468]|1[09]|20|66|77|99))"],CU:["53","119","(?:[2-7]|8\\d\\d)\\d{7}|[2-47]\\d{6}|[34]\\d{5}",[6,7,8,10],[["(\\d{2})(\\d{4,6})","$1 $2",["2[1-4]|[34]"],"(0$1)"],["(\\d)(\\d{6,7})","$1 $2",["7"],"(0$1)"],["(\\d)(\\d{7})","$1 $2",["[56]"],"0$1"],["(\\d{3})(\\d{7})","$1 $2",["8"],"0$1"]],"0"],CV:["238","0","(?:[2-59]\\d\\d|800)\\d{4}",[7],[["(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3",["[2-589]"]]]],CW:["599","00","(?:[34]1|60|(?:7|9\\d)\\d)\\d{5}",[7,8],[["(\\d{3})(\\d{4})","$1 $2",["[3467]"]],["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["9[4-8]"]]],0,0,0,0,0,"[69]"],CX:["61","001[14-689]|14(?:1[14]|34|4[17]|[56]6|7[47]|88)0011","1(?:[0-79]\\d{8}(?:\\d{2})?|8[0-24-9]\\d{7})|[148]\\d{8}|1\\d{5,7}",[6,7,8,9,10,12],0,"0",0,"([59]\\d{7})$|0","8$1",0,0,[["8(?:51(?:0(?:01|30|59|88)|1(?:17|46|75)|2(?:22|35))|91(?:00[6-9]|1(?:[28]1|49|78)|2(?:09|63)|3(?:12|26|75)|4(?:56|97)|64\\d|7(?:0[01]|1[0-2])|958))\\d{3}",[9]],["4(?:79[01]|83[0-389]|94[0-4])\\d{5}|4(?:[0-36]\\d|4[047-9]|5[0-25-9]|7[02-8]|8[0-24-9]|9[0-37-9])\\d{6}",[9]],["180(?:0\\d{3}|2)\\d{3}",[7,10]],["190[0-26]\\d{6}",[10]],0,0,0,0,["14(?:5(?:1[0458]|[23][458])|71\\d)\\d{4}",[9]],["13(?:00\\d{6}(?:\\d{2})?|45[0-4]\\d{3})|13\\d{4}",[6,8,10,12]]],"0011"],CY:["357","00","(?:[279]\\d|[58]0)\\d{6}",[8],[["(\\d{2})(\\d{6})","$1 $2",["[257-9]"]]]],CZ:["420","00","(?:[2-578]\\d|60)\\d{7}|9\\d{8,11}",[9,10,11,12],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[2-8]|9[015-7]"]],["(\\d{2})(\\d{3})(\\d{3})(\\d{2})","$1 $2 $3 $4",["96"]],["(\\d{2})(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["9"]],["(\\d{3})(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["9"]]]],DE:["49","00","[2579]\\d{5,14}|49(?:[34]0|69|8\\d)\\d\\d?|49(?:37|49|60|7[089]|9\\d)\\d{1,3}|49(?:2[024-9]|3[2-689]|7[1-7])\\d{1,8}|(?:1|[368]\\d|4[0-8])\\d{3,13}|49(?:[015]\\d|2[13]|31|[46][1-8])\\d{1,9}",[4,5,6,7,8,9,10,11,12,13,14,15],[["(\\d{2})(\\d{3,13})","$1 $2",["3[02]|40|[68]9"],"0$1"],["(\\d{3})(\\d{3,12})","$1 $2",["2(?:0[1-389]|1[124]|2[18]|3[14])|3(?:[35-9][15]|4[015])|906|(?:2[4-9]|4[2-9]|[579][1-9]|[68][1-8])1","2(?:0[1-389]|12[0-8])|3(?:[35-9][15]|4[015])|906|2(?:[13][14]|2[18])|(?:2[4-9]|4[2-9]|[579][1-9]|[68][1-8])1"],"0$1"],["(\\d{4})(\\d{2,11})","$1 $2",["[24-6]|3(?:[3569][02-46-9]|4[2-4679]|7[2-467]|8[2-46-8])|70[2-8]|8(?:0[2-9]|[1-8])|90[7-9]|[79][1-9]","[24-6]|3(?:3(?:0[1-467]|2[127-9]|3[124578]|7[1257-9]|8[1256]|9[145])|4(?:2[135]|4[13578]|9[1346])|5(?:0[14]|2[1-3589]|6[1-4]|7[13468]|8[13568])|6(?:2[1-489]|3[124-6]|6[13]|7[12579]|8[1-356]|9[135])|7(?:2[1-7]|4[145]|6[1-5]|7[1-4])|8(?:21|3[1468]|6|7[1467]|8[136])|9(?:0[12479]|2[1358]|4[134679]|6[1-9]|7[136]|8[147]|9[1468]))|70[2-8]|8(?:0[2-9]|[1-8])|90[7-9]|[79][1-9]|3[68]4[1347]|3(?:47|60)[1356]|3(?:3[46]|46|5[49])[1246]|3[4579]3[1357]"],"0$1"],["(\\d{3})(\\d{4})","$1 $2",["138"],"0$1"],["(\\d{5})(\\d{2,10})","$1 $2",["3"],"0$1"],["(\\d{3})(\\d{5,11})","$1 $2",["181"],"0$1"],["(\\d{3})(\\d)(\\d{4,10})","$1 $2 $3",["1(?:3|80)|9"],"0$1"],["(\\d{3})(\\d{7,8})","$1 $2",["1[67]"],"0$1"],["(\\d{3})(\\d{7,12})","$1 $2",["8"],"0$1"],["(\\d{5})(\\d{6})","$1 $2",["185","1850","18500"],"0$1"],["(\\d{3})(\\d{4})(\\d{4})","$1 $2 $3",["7"],"0$1"],["(\\d{4})(\\d{7})","$1 $2",["18[68]"],"0$1"],["(\\d{4})(\\d{7})","$1 $2",["15[1279]"],"0$1"],["(\\d{5})(\\d{6})","$1 $2",["15[03568]","15(?:[0568]|31)"],"0$1"],["(\\d{3})(\\d{8})","$1 $2",["18"],"0$1"],["(\\d{3})(\\d{2})(\\d{7,8})","$1 $2 $3",["1(?:6[023]|7)"],"0$1"],["(\\d{4})(\\d{2})(\\d{7})","$1 $2 $3",["15[279]"],"0$1"],["(\\d{3})(\\d{2})(\\d{8})","$1 $2 $3",["15"],"0$1"]],"0"],DJ:["253","00","(?:2\\d|77)\\d{6}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[27]"]]]],DK:["45","00","[2-9]\\d{7}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2-9]"]]]],DM:["1","011","(?:[58]\\d\\d|767|900)\\d{7}",[10],0,"1",0,"([2-7]\\d{6})$|1","767$1",0,"767"],DO:["1","011","(?:[58]\\d\\d|900)\\d{7}",[10],0,"1",0,0,0,0,"8001|8[024]9"],DZ:["213","00","(?:[1-4]|[5-79]\\d|80)\\d{7}",[8,9],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[1-4]"],"0$1"],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["9"],"0$1"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[5-8]"],"0$1"]],"0"],EC:["593","00","1\\d{9,10}|(?:[2-7]|9\\d)\\d{7}",[8,9,10,11],[["(\\d)(\\d{3})(\\d{4})","$1 $2-$3",["[2-7]"],"(0$1)",0,"$1-$2-$3"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["9"],"0$1"],["(\\d{4})(\\d{3})(\\d{3,4})","$1 $2 $3",["1"]]],"0"],EE:["372","00","8\\d{9}|[4578]\\d{7}|(?:[3-8]\\d|90)\\d{5}",[7,8,10],[["(\\d{3})(\\d{4})","$1 $2",["[369]|4[3-8]|5(?:[0-2]|5[0-478]|6[45])|7[1-9]|88","[369]|4[3-8]|5(?:[02]|1(?:[0-8]|95)|5[0-478]|6(?:4[0-4]|5[1-589]))|7[1-9]|88"]],["(\\d{4})(\\d{3,4})","$1 $2",["[45]|8(?:00|[1-49])","[45]|8(?:00[1-9]|[1-49])"]],["(\\d{2})(\\d{2})(\\d{4})","$1 $2 $3",["7"]],["(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["8"]]]],EG:["20","00","[189]\\d{8,9}|[24-6]\\d{8}|[135]\\d{7}",[8,9,10],[["(\\d)(\\d{7,8})","$1 $2",["[23]"],"0$1"],["(\\d{2})(\\d{6,7})","$1 $2",["1[35]|[4-6]|8[2468]|9[235-7]"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["[89]"],"0$1"],["(\\d{2})(\\d{8})","$1 $2",["1"],"0$1"]],"0"],EH:["212","00","[5-8]\\d{8}",[9],0,"0",0,0,0,0,"528[89]"],ER:["291","00","[178]\\d{6}",[7],[["(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["[178]"],"0$1"]],"0"],ES:["34","00","[5-9]\\d{8}",[9],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[89]00"]],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[5-9]"]]]],ET:["251","00","(?:11|[2-579]\\d)\\d{7}",[9],[["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[1-579]"],"0$1"]],"0"],FI:["358","00|99(?:[01469]|5(?:[14]1|3[23]|5[59]|77|88|9[09]))","[1-35689]\\d{4}|7\\d{10,11}|(?:[124-7]\\d|3[0-46-9])\\d{8}|[1-9]\\d{5,8}",[5,6,7,8,9,10,11,12],[["(\\d{5})","$1",["20[2-59]"],"0$1"],["(\\d{3})(\\d{3,7})","$1 $2",["(?:[1-3]0|[68])0|70[07-9]"],"0$1"],["(\\d{2})(\\d{4,8})","$1 $2",["[14]|2[09]|50|7[135]"],"0$1"],["(\\d{2})(\\d{6,10})","$1 $2",["7"],"0$1"],["(\\d)(\\d{4,9})","$1 $2",["(?:19|[2568])[1-8]|3(?:0[1-9]|[1-9])|9"],"0$1"]],"0",0,0,0,0,"1[03-79]|[2-9]",0,"00"],FJ:["679","0(?:0|52)","45\\d{5}|(?:0800\\d|[235-9])\\d{6}",[7,11],[["(\\d{3})(\\d{4})","$1 $2",["[235-9]|45"]],["(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["0"]]],0,0,0,0,0,0,0,"00"],FK:["500","00","[2-7]\\d{4}",[5]],FM:["691","00","(?:[39]\\d\\d|820)\\d{4}",[7],[["(\\d{3})(\\d{4})","$1 $2",["[389]"]]]],FO:["298","00","[2-9]\\d{5}",[6],[["(\\d{6})","$1",["[2-9]"]]],0,0,"(10(?:01|[12]0|88))"],FR:["33","00","[1-9]\\d{8}",[9],[["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"],"0 $1"],["(\\d)(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4 $5",["[1-79]"],"0$1"]],"0"],GA:["241","00","(?:[067]\\d|11)\\d{6}|[2-7]\\d{6}",[7,8],[["(\\d)(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2-7]"],"0$1"],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["0"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["11|[67]"],"0$1"]],0,0,"0(11\\d{6}|60\\d{6}|61\\d{6}|6[256]\\d{6}|7[467]\\d{6})","$1"],GB:["44","00","[1-357-9]\\d{9}|[18]\\d{8}|8\\d{6}",[7,9,10],[["(\\d{3})(\\d{4})","$1 $2",["800","8001","80011","800111","8001111"],"0$1"],["(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3",["845","8454","84546","845464"],"0$1"],["(\\d{3})(\\d{6})","$1 $2",["800"],"0$1"],["(\\d{5})(\\d{4,5})","$1 $2",["1(?:38|5[23]|69|76|94)","1(?:(?:38|69)7|5(?:24|39)|768|946)","1(?:3873|5(?:242|39[4-6])|(?:697|768)[347]|9467)"],"0$1"],["(\\d{4})(\\d{5,6})","$1 $2",["1(?:[2-69][02-9]|[78])"],"0$1"],["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["[25]|7(?:0|6[02-9])","[25]|7(?:0|6(?:[03-9]|2[356]))"],"0$1"],["(\\d{4})(\\d{6})","$1 $2",["7"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["[1389]"],"0$1"]],"0",0,0,0,0,0,[["(?:1(?:1(?:3(?:[0-58]\\d\\d|73[0-35])|4(?:(?:[0-5]\\d|70)\\d|69[7-9])|(?:(?:5[0-26-9]|[78][0-49])\\d|6(?:[0-4]\\d|50))\\d)|(?:2(?:(?:0[024-9]|2[3-9]|3[3-79]|4[1-689]|[58][02-9]|6[0-47-9]|7[013-9]|9\\d)\\d|1(?:[0-7]\\d|8[0-3]))|(?:3(?:0\\d|1[0-8]|[25][02-9]|3[02-579]|[468][0-46-9]|7[1-35-79]|9[2-578])|4(?:0[03-9]|[137]\\d|[28][02-57-9]|4[02-69]|5[0-8]|[69][0-79])|5(?:0[1-35-9]|[16]\\d|2[024-9]|3[015689]|4[02-9]|5[03-9]|7[0-35-9]|8[0-468]|9[0-57-9])|6(?:0[034689]|1\\d|2[0-35689]|[38][013-9]|4[1-467]|5[0-69]|6[13-9]|7[0-8]|9[0-24578])|7(?:0[0246-9]|2\\d|3[0236-8]|4[03-9]|5[0-46-9]|6[013-9]|7[0-35-9]|8[024-9]|9[02-9])|8(?:0[35-9]|2[1-57-9]|3[02-578]|4[0-578]|5[124-9]|6[2-69]|7\\d|8[02-9]|9[02569])|9(?:0[02-589]|[18]\\d|2[02-689]|3[1-57-9]|4[2-9]|5[0-579]|6[2-47-9]|7[0-24578]|9[2-57]))\\d)\\d)|2(?:0[013478]|3[0189]|4[017]|8[0-46-9]|9[0-2])\\d{3})\\d{4}|1(?:2(?:0(?:46[1-4]|87[2-9])|545[1-79]|76(?:2\\d|3[1-8]|6[1-6])|9(?:7(?:2[0-4]|3[2-5])|8(?:2[2-8]|7[0-47-9]|8[3-5])))|3(?:6(?:38[2-5]|47[23])|8(?:47[04-9]|64[0157-9]))|4(?:044[1-7]|20(?:2[23]|8\\d)|6(?:0(?:30|5[2-57]|6[1-8]|7[2-8])|140)|8(?:052|87[1-3]))|5(?:2(?:4(?:3[2-79]|6\\d)|76\\d)|6(?:26[06-9]|686))|6(?:06(?:4\\d|7[4-79])|295[5-7]|35[34]\\d|47(?:24|61)|59(?:5[08]|6[67]|74)|9(?:55[0-4]|77[23]))|7(?:26(?:6[13-9]|7[0-7])|(?:442|688)\\d|50(?:2[0-3]|[3-68]2|76))|8(?:27[56]\\d|37(?:5[2-5]|8[239])|843[2-58])|9(?:0(?:0(?:6[1-8]|85)|52\\d)|3583|4(?:66[1-8]|9(?:2[01]|81))|63(?:23|3[1-4])|9561))\\d{3}",[9,10]],["7(?:457[0-57-9]|700[01]|911[028])\\d{5}|7(?:[1-3]\\d\\d|4(?:[0-46-9]\\d|5[0-689])|5(?:0[0-8]|[13-9]\\d|2[0-35-9])|7(?:0[1-9]|[1-7]\\d|8[02-9]|9[0-689])|8(?:[014-9]\\d|[23][0-8])|9(?:[024-9]\\d|1[02-9]|3[0-689]))\\d{6}",[10]],["80[08]\\d{7}|800\\d{6}|8001111"],["(?:8(?:4[2-5]|7[0-3])|9(?:[01]\\d|8[2-49]))\\d{7}|845464\\d",[7,10]],["70\\d{8}",[10]],0,["(?:3[0347]|55)\\d{8}",[10]],["76(?:464|652)\\d{5}|76(?:0[0-28]|2[356]|34|4[01347]|5[49]|6[0-369]|77|8[14]|9[139])\\d{6}",[10]],["56\\d{8}",[10]]],0," x"],GD:["1","011","(?:473|[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([2-9]\\d{6})$|1","473$1",0,"473"],GE:["995","00","(?:[3-57]\\d\\d|800)\\d{6}",[9],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["70"],"0$1"],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["32"],"0$1"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[57]"]],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[348]"],"0$1"]],"0"],GF:["594","00","(?:[56]94\\d|7093)\\d{5}|(?:80|9\\d)\\d{7}",[9],[["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[5-7]|9[47]"],"0$1"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[89]"],"0$1"]],"0"],GG:["44","00","(?:1481|[357-9]\\d{3})\\d{6}|8\\d{6}(?:\\d{2})?",[7,9,10],0,"0",0,"([25-9]\\d{5})$|0","1481$1",0,0,[["1481[25-9]\\d{5}",[10]],["7(?:(?:781|839)\\d|911[17])\\d{5}",[10]],["80[08]\\d{7}|800\\d{6}|8001111"],["(?:8(?:4[2-5]|7[0-3])|9(?:[01]\\d|8[0-3]))\\d{7}|845464\\d",[7,10]],["70\\d{8}",[10]],0,["(?:3[0347]|55)\\d{8}",[10]],["76(?:464|652)\\d{5}|76(?:0[0-28]|2[356]|34|4[01347]|5[49]|6[0-369]|77|8[14]|9[139])\\d{6}",[10]],["56\\d{8}",[10]]]],GH:["233","00","(?:[235]\\d{3}|800)\\d{5}",[8,9],[["(\\d{3})(\\d{5})","$1 $2",["8"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[235]"],"0$1"]],"0"],GI:["350","00","(?:[25]\\d|60)\\d{6}",[8],[["(\\d{3})(\\d{5})","$1 $2",["2"]]]],GL:["299","00","(?:19|[2-689]\\d|70)\\d{4}",[6],[["(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3",["19|[2-9]"]]]],GM:["220","00","[2-9]\\d{6}",[7],[["(\\d{3})(\\d{4})","$1 $2",["[2-9]"]]]],GN:["224","00","722\\d{6}|(?:3|6\\d)\\d{7}",[8,9],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["3"]],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[67]"]]]],GP:["590","00","(?:590\\d|7090)\\d{5}|(?:69|80|9\\d)\\d{7}",[9],[["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[5-79]"],"0$1"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"],"0$1"]],"0",0,0,0,0,0,[["590(?:0[1-68]|[14][0-24-9]|2[0-68]|3[1-9]|5[3-579]|[68][0-689]|7[08]|9\\d)\\d{4}"],["(?:69(?:0\\d\\d|1(?:2[2-9]|3[0-5])|4(?:0[89]|1[2-6]|9\\d)|6(?:1[016-9]|5[0-4]|[67]\\d))|7090[0-4])\\d{4}"],["80[0-5]\\d{6}"],0,0,0,0,0,["9(?:(?:39[5-7]|76[018])\\d|475[0-6])\\d{4}"]]],GQ:["240","00","222\\d{6}|(?:3\\d|55|[89]0)\\d{7}",[9],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[235]"]],["(\\d{3})(\\d{6})","$1 $2",["[89]"]]]],GR:["30","00","5005000\\d{3}|8\\d{9,11}|(?:[269]\\d|70)\\d{8}",[10,11,12],[["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["21|7"]],["(\\d{4})(\\d{6})","$1 $2",["2(?:2|3[2-57-9]|4[2-469]|5[2-59]|6[2-9]|7[2-69]|8[2-49])|5"]],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["[2689]"]],["(\\d{3})(\\d{3,4})(\\d{5})","$1 $2 $3",["8"]]]],GT:["502","00","80\\d{6}|(?:1\\d{3}|[2-7])\\d{7}",[8,11],[["(\\d{4})(\\d{4})","$1 $2",["[2-8]"]],["(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["1"]]]],GU:["1","011","(?:[58]\\d\\d|671|900)\\d{7}",[10],0,"1",0,"([2-9]\\d{6})$|1","671$1",0,"671"],GW:["245","00","[49]\\d{8}|4\\d{6}",[7,9],[["(\\d{3})(\\d{4})","$1 $2",["40"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[49]"]]]],GY:["592","001","(?:[2-8]\\d{3}|9008)\\d{3}",[7],[["(\\d{3})(\\d{4})","$1 $2",["[2-9]"]]]],HK:["852","00(?:30|5[09]|[126-9]?)","8[0-46-9]\\d{6,7}|9\\d{4,7}|(?:[2-7]|9\\d{3})\\d{7}",[5,6,7,8,9,11],[["(\\d{3})(\\d{2,5})","$1 $2",["900","9003"]],["(\\d{4})(\\d{4})","$1 $2",["[2-7]|8[1-4]|9(?:0[1-9]|[1-8])"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["8"]],["(\\d{3})(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3 $4",["9"]]],0,0,0,0,0,0,0,"00"],HN:["504","00","8\\d{10}|[237-9]\\d{7}",[8,11],[["(\\d{4})(\\d{4})","$1-$2",["[237-9]"]]]],HR:["385","00","(?:[24-69]\\d|3[0-79])\\d{7}|80\\d{5,7}|[1-79]\\d{7}|6\\d{5,6}",[6,7,8,9],[["(\\d{2})(\\d{2})(\\d{2,3})","$1 $2 $3",["6[01]"],"0$1"],["(\\d{3})(\\d{2})(\\d{2,3})","$1 $2 $3",["8"],"0$1"],["(\\d)(\\d{4})(\\d{3})","$1 $2 $3",["1"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["6|7[245]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["9"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[2-57]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["8"],"0$1"]],"0"],HT:["509","00","(?:[2-489]\\d|55)\\d{6}",[8],[["(\\d{2})(\\d{2})(\\d{4})","$1 $2 $3",["[2-589]"]]]],HU:["36","00","[235-7]\\d{8}|[1-9]\\d{7}",[8,9],[["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["1"],"(06 $1)"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[27][2-9]|3[2-7]|4[24-9]|5[2-79]|6|8[2-57-9]|9[2-69]"],"(06 $1)"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[2-9]"],"06 $1"]],"06"],ID:["62","00[89]","00[1-9]\\d{9,14}|(?:[1-36]|8\\d{5})\\d{6}|00\\d{9}|[1-9]\\d{8,10}|[2-9]\\d{7}",[7,8,9,10,11,12,13,14,15,16,17],[["(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["15"]],["(\\d{2})(\\d{5,9})","$1 $2",["2[124]|[36]1"],"(0$1)"],["(\\d{3})(\\d{5,7})","$1 $2",["800"],"0$1"],["(\\d{3})(\\d{5,8})","$1 $2",["[2-79]"],"(0$1)"],["(\\d{3})(\\d{3,4})(\\d{3})","$1-$2-$3",["8[1-35-9]"],"0$1"],["(\\d{3})(\\d{6,8})","$1 $2",["1"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["804"],"0$1"],["(\\d{3})(\\d)(\\d{3})(\\d{3})","$1 $2 $3 $4",["80"],"0$1"],["(\\d{3})(\\d{4})(\\d{4,5})","$1-$2-$3",["8"],"0$1"]],"0"],IE:["353","00","(?:1\\d|[2569])\\d{6,8}|4\\d{6,9}|7\\d{8}|8\\d{8,9}",[7,8,9,10],[["(\\d{2})(\\d{5})","$1 $2",["2[24-9]|47|58|6[237-9]|9[35-9]"],"(0$1)"],["(\\d{3})(\\d{5})","$1 $2",["[45]0"],"(0$1)"],["(\\d)(\\d{3,4})(\\d{4})","$1 $2 $3",["1"],"(0$1)"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[2569]|4[1-69]|7[14]"],"(0$1)"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["70"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["81"],"(0$1)"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[78]"],"0$1"],["(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["1"]],["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["4"],"(0$1)"],["(\\d{2})(\\d)(\\d{3})(\\d{4})","$1 $2 $3 $4",["8"],"0$1"]],"0"],IL:["972","0(?:0|1[2-9])","1\\d{6}(?:\\d{3,5})?|[57]\\d{8}|[1-489]\\d{7}",[7,8,9,10,11,12],[["(\\d{4})(\\d{3})","$1-$2",["125"]],["(\\d{4})(\\d{2})(\\d{2})","$1-$2-$3",["121"]],["(\\d)(\\d{3})(\\d{4})","$1-$2-$3",["[2-489]"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1-$2-$3",["[57]"],"0$1"],["(\\d{4})(\\d{3})(\\d{3})","$1-$2-$3",["12"]],["(\\d{4})(\\d{6})","$1-$2",["159"]],["(\\d)(\\d{3})(\\d{3})(\\d{3})","$1-$2-$3-$4",["1[7-9]"]],["(\\d{3})(\\d{1,2})(\\d{3})(\\d{4})","$1-$2 $3-$4",["15"]]],"0"],IM:["44","00","1624\\d{6}|(?:[3578]\\d|90)\\d{8}",[10],0,"0",0,"([25-8]\\d{5})$|0","1624$1",0,"74576|(?:16|7[56])24"],IN:["91","00","(?:000800|[2-9]\\d\\d)\\d{7}|1\\d{7,12}",[8,9,10,11,12,13],[["(\\d{8})","$1",["5(?:0|2[23]|3[03]|[67]1|88)","5(?:0|2(?:21|3)|3(?:0|3[23])|616|717|888)","5(?:0|2(?:21|3)|3(?:0|3[23])|616|717|8888)"],0,1],["(\\d{4})(\\d{4,5})","$1 $2",["180","1800"],0,1],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["140"],0,1],["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["11|2[02]|33|4[04]|79[1-7]|80[2-46]","11|2[02]|33|4[04]|79(?:[1-6]|7[19])|80(?:[2-4]|6[0-589])","11|2[02]|33|4[04]|79(?:[124-6]|3(?:[02-9]|1[0-24-9])|7(?:1|9[1-6]))|80(?:[2-4]|6[0-589])"],"0$1",1],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["1(?:2[0-249]|3[0-25]|4[145]|[68]|7[1257])|2(?:1[257]|3[013]|4[01]|5[0137]|6[0158]|78|8[1568])|3(?:26|4[1-3]|5[34]|6[01489]|7[02-46]|8[159])|4(?:1[36]|2[1-47]|5[12]|6[0-26-9]|7[0-24-9]|8[013-57]|9[014-7])|5(?:1[025]|22|[36][25]|4[28]|5[12]|[78]1)|6(?:12|[2-4]1|5[17]|6[13]|80)|7(?:12|3[134]|4[47]|61|88)|8(?:16|2[014]|3[126]|6[136]|7[078]|8[34]|91)|(?:43|59|75)[15]|(?:1[59]|29|67|72)[14]","1(?:2[0-24]|3[0-25]|4[145]|[59][14]|6[1-9]|7[1257]|8[1-57-9])|2(?:1[257]|3[013]|4[01]|5[0137]|6[058]|78|8[1568]|9[14])|3(?:26|4[1-3]|5[34]|6[01489]|7[02-46]|8[159])|4(?:1[36]|2[1-47]|3[15]|5[12]|6[0-26-9]|7[0-24-9]|8[013-57]|9[014-7])|5(?:1[025]|22|[36][25]|4[28]|[578]1|9[15])|674|7(?:(?:2[14]|3[34]|5[15])[2-6]|61[346]|88[0-8])|8(?:70[2-6]|84[235-7]|91[3-7])|(?:1(?:29|60|8[06])|261|552|6(?:12|[2-47]1|5[17]|6[13]|80)|7(?:12|31|4[47])|8(?:16|2[014]|3[126]|6[136]|7[78]|83))[2-7]","1(?:2[0-24]|3[0-25]|4[145]|[59][14]|6[1-9]|7[1257]|8[1-57-9])|2(?:1[257]|3[013]|4[01]|5[0137]|6[058]|78|8[1568]|9[14])|3(?:26|4[1-3]|5[34]|6[01489]|7[02-46]|8[159])|4(?:1[36]|2[1-47]|3[15]|5[12]|6[0-26-9]|7[0-24-9]|8[013-57]|9[014-7])|5(?:1[025]|22|[36][25]|4[28]|[578]1|9[15])|6(?:12(?:[2-6]|7[0-8])|74[2-7])|7(?:(?:2[14]|5[15])[2-6]|3171|61[346]|88(?:[2-7]|82))|8(?:70[2-6]|84(?:[2356]|7[19])|91(?:[3-6]|7[19]))|73[134][2-6]|(?:74[47]|8(?:16|2[014]|3[126]|6[136]|7[78]|83))(?:[2-6]|7[19])|(?:1(?:29|60|8[06])|261|552|6(?:[2-4]1|5[17]|6[13]|7(?:1|4[0189])|80)|7(?:12|88[01]))[2-7]"],"0$1",1],["(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["1(?:[2-479]|5[0235-9])|[2-5]|6(?:1[1358]|2[2457-9]|3[2-5]|4[235-7]|5[2-689]|6[24578]|7[235689]|8[1-6])|7(?:1[013-9]|28|3[129]|4[1-35689]|5[29]|6[02-5]|70)|807","1(?:[2-479]|5[0235-9])|[2-5]|6(?:1[1358]|2(?:[2457]|84|95)|3(?:[2-4]|55)|4[235-7]|5[2-689]|6[24578]|7[235689]|8[1-6])|7(?:1(?:[013-8]|9[6-9])|28[6-8]|3(?:17|2[0-49]|9[2-57])|4(?:1[2-4]|[29][0-7]|3[0-8]|[56]|8[0-24-7])|5(?:2[1-3]|9[0-6])|6(?:0[5689]|2[5-9]|3[02-8]|4|5[0-367])|70[13-7])|807[19]","1(?:[2-479]|5(?:[0236-9]|5[013-9]))|[2-5]|6(?:2(?:84|95)|355|83)|73179|807(?:1|9[1-3])|(?:1552|6(?:1[1358]|2[2457]|3[2-4]|4[235-7]|5[2-689]|6[24578]|7[235689]|8[124-6])\\d|7(?:1(?:[013-8]\\d|9[6-9])|28[6-8]|3(?:2[0-49]|9[2-57])|4(?:1[2-4]|[29][0-7]|3[0-8]|[56]\\d|8[0-24-7])|5(?:2[1-3]|9[0-6])|6(?:0[5689]|2[5-9]|3[02-8]|4\\d|5[0-367])|70[13-7]))[2-7]"],"0$1",1],["(\\d{5})(\\d{5})","$1 $2",["[6-9]"],"0$1",1],["(\\d{4})(\\d{2,4})(\\d{4})","$1 $2 $3",["1(?:6|8[06])","1(?:6|8[06]0)"],0,1],["(\\d{4})(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["18"],0,1]],"0"],IO:["246","00","3\\d{6}",[7],[["(\\d{3})(\\d{4})","$1 $2",["3"]]]],IQ:["964","00","(?:1|7\\d\\d)\\d{7}|[2-6]\\d{7,8}",[8,9,10],[["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["1"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[2-6]"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["7"],"0$1"]],"0"],IR:["98","00","[1-9]\\d{9}|(?:[1-8]\\d\\d|9)\\d{3,4}",[4,5,6,7,10],[["(\\d{4,5})","$1",["96"],"0$1"],["(\\d{2})(\\d{4,5})","$1 $2",["(?:1[137]|2[13-68]|3[1458]|4[145]|5[1468]|6[16]|7[1467]|8[13467])[12689]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["9"],"0$1"],["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["[1-8]"],"0$1"]],"0"],IS:["354","00|1(?:0(?:01|[12]0)|100)","(?:38\\d|[4-9])\\d{6}",[7,9],[["(\\d{3})(\\d{4})","$1 $2",["[4-9]"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["3"]]],0,0,0,0,0,0,0,"00"],IT:["39","00","0\\d{5,10}|1\\d{8,10}|3(?:[0-8]\\d{7,10}|9\\d{7,8})|(?:43|55|70)\\d{8}|8\\d{5}(?:\\d{2,4})?",[6,7,8,9,10,11,12],[["(\\d{2})(\\d{4,6})","$1 $2",["0[26]"]],["(\\d{3})(\\d{3,6})","$1 $2",["0[13-57-9][0159]|8(?:03|4[17]|9[2-5])","0[13-57-9][0159]|8(?:03|4[17]|9(?:2|3[04]|[45][0-4]))"]],["(\\d{4})(\\d{2,6})","$1 $2",["0(?:[13-579][2-46-8]|8[236-8])"]],["(\\d{4})(\\d{4})","$1 $2",["894"]],["(\\d{2})(\\d{3,4})(\\d{4})","$1 $2 $3",["0[26]|5"]],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["1(?:44|[679])|[378]|43"]],["(\\d{3})(\\d{3,4})(\\d{4})","$1 $2 $3",["0[13-57-9][0159]|14"]],["(\\d{2})(\\d{4})(\\d{5})","$1 $2 $3",["0[26]"]],["(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["0"]],["(\\d{3})(\\d{4})(\\d{4,5})","$1 $2 $3",["3"]]],0,0,0,0,0,0,[["0669[0-79]\\d{1,6}|0(?:1(?:[0159]\\d|[27][1-5]|31|4[1-4]|6[1356]|8[2-57])|2\\d\\d|3(?:[0159]\\d|2[1-4]|3[12]|[48][1-6]|6[2-59]|7[1-7])|4(?:[0159]\\d|[23][1-9]|4[245]|6[1-5]|7[1-4]|81)|5(?:[0159]\\d|2[1-5]|3[2-6]|4[1-79]|6[4-6]|7[1-578]|8[3-8])|6(?:[0-57-9]\\d|6[0-8])|7(?:[0159]\\d|2[12]|3[1-7]|4[2-46]|6[13569]|7[13-6]|8[1-59])|8(?:[0159]\\d|2[3-578]|3[1-356]|[6-8][1-5])|9(?:[0159]\\d|[238][1-5]|4[12]|6[1-8]|7[1-6]))\\d{2,7}",[6,7,8,9,10,11]],["3[2-9]\\d{7,8}|(?:31|43)\\d{8}",[9,10]],["80(?:0\\d{3}|3)\\d{3}",[6,9]],["(?:0878\\d{3}|89(?:2\\d|3[04]|4(?:[0-4]|[5-9]\\d\\d)|5[0-4]))\\d\\d|(?:1(?:44|6[346])|89(?:38|5[5-9]|9))\\d{6}",[6,8,9,10]],["1(?:78\\d|99)\\d{6}",[9,10]],["3[2-8]\\d{9,10}",[11,12]],0,0,["55\\d{8}",[10]],["84(?:[08]\\d{3}|[17])\\d{3}",[6,9]]]],JE:["44","00","1534\\d{6}|(?:[3578]\\d|90)\\d{8}",[10],0,"0",0,"([0-24-8]\\d{5})$|0","1534$1",0,0,[["1534[0-24-8]\\d{5}"],["7(?:(?:(?:50|82)9|937)\\d|7(?:00[378]|97\\d))\\d{5}"],["80(?:07(?:35|81)|8901)\\d{4}"],["(?:8(?:4(?:4(?:4(?:05|42|69)|703)|5(?:041|800))|7(?:0002|1206))|90(?:066[59]|1810|71(?:07|55)))\\d{4}"],["701511\\d{4}"],0,["(?:3(?:0(?:07(?:35|81)|8901)|3\\d{4}|4(?:4(?:4(?:05|42|69)|703)|5(?:041|800))|7(?:0002|1206))|55\\d{4})\\d{4}"],["76(?:464|652)\\d{5}|76(?:0[0-28]|2[356]|34|4[01347]|5[49]|6[0-369]|77|8[14]|9[139])\\d{6}"],["56\\d{8}"]]],JM:["1","011","(?:[58]\\d\\d|658|900)\\d{7}",[10],0,"1",0,0,0,0,"658|876"],JO:["962","00","(?:(?:[2689]|7\\d)\\d|32|53)\\d{6}",[8,9],[["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["[2356]|87"],"(0$1)"],["(\\d{3})(\\d{5,6})","$1 $2",["[89]"],"0$1"],["(\\d{2})(\\d{7})","$1 $2",["70"],"0$1"],["(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["7"],"0$1"]],"0"],JP:["81","010","00[1-9]\\d{6,14}|[257-9]\\d{9}|(?:00|[1-9]\\d\\d)\\d{6}",[8,9,10,11,12,13,14,15,16,17],[["(\\d{3})(\\d{3})(\\d{3})","$1-$2-$3",["(?:12|57|99)0"],"0$1"],["(\\d{4})(\\d)(\\d{4})","$1-$2-$3",["1(?:26|3[79]|4[56]|5[4-68]|6[3-5])|499|5(?:76|97)|746|8(?:3[89]|47|51)|9(?:80|9[16])","1(?:267|3(?:7[247]|9[278])|466|5(?:47|58|64)|6(?:3[245]|48|5[4-68]))|499[2468]|5(?:76|97)9|7468|8(?:3(?:8[7-9]|96)|477|51[2-9])|9(?:802|9(?:1[23]|69))|1(?:45|58)[67]","1(?:267|3(?:7[247]|9[278])|466|5(?:47|58|64)|6(?:3[245]|48|5[4-68]))|499[2468]|5(?:769|979[2-69])|7468|8(?:3(?:8[7-9]|96[2457-9])|477|51[2-9])|9(?:802|9(?:1[23]|69))|1(?:45|58)[67]"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1-$2-$3",["60"],"0$1"],["(\\d)(\\d{4})(\\d{4})","$1-$2-$3",["[36]|4(?:2[09]|7[01])","[36]|4(?:2(?:0|9[02-69])|7(?:0[019]|1))"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1-$2-$3",["1(?:1|5[45]|77|88|9[69])|2(?:2[1-37]|3[0-269]|4[59]|5|6[24]|7[1-358]|8[1369]|9[0-38])|4(?:[28][1-9]|3[0-57]|[45]|6[248]|7[2-579]|9[29])|5(?:2|3[0459]|4[0-369]|5[29]|8[02389]|9[0-389])|7(?:2[02-46-9]|34|[58]|6[0249]|7[57]|9[2-6])|8(?:2[124589]|3[26-9]|49|51|6|7[0-468]|8[68]|9[019])|9(?:[23][1-9]|4[15]|5[138]|6[1-3]|7[156]|8[189]|9[1-489])","1(?:1|5(?:4[018]|5[017])|77|88|9[69])|2(?:2(?:[127]|3[014-9])|3[0-269]|4[59]|5(?:[1-3]|5[0-69]|9[19])|62|7(?:[1-35]|8[0189])|8(?:[16]|3[0134]|9[0-5])|9(?:[028]|17))|4(?:2(?:[13-79]|8[014-6])|3[0-57]|[45]|6[248]|7[2-47]|8[1-9]|9[29])|5(?:2|3(?:[045]|9[0-8])|4[0-369]|5[29]|8[02389]|9[0-3])|7(?:2[02-46-9]|34|[58]|6[0249]|7[57]|9(?:[23]|4[0-59]|5[01569]|6[0167]))|8(?:2(?:[1258]|4[0-39]|9[0-2469])|3(?:[29]|60)|49|51|6(?:[0-24]|36|5[0-3589]|7[23]|9[01459])|7[0-468]|8[68])|9(?:[23][1-9]|4[15]|5[138]|6[1-3]|7[156]|8[189]|9(?:[1289]|3[34]|4[0178]))|(?:264|837)[016-9]|2(?:57|93)[015-9]|(?:25[0468]|422|838)[01]|(?:47[59]|59[89]|8(?:6[68]|9))[019]","1(?:1|5(?:4[018]|5[017])|77|88|9[69])|2(?:2[127]|3[0-269]|4[59]|5(?:[1-3]|5[0-69]|9(?:17|99))|6(?:2|4[016-9])|7(?:[1-35]|8[0189])|8(?:[16]|3[0134]|9[0-5])|9(?:[028]|17))|4(?:2(?:[13-79]|8[014-6])|3[0-57]|[45]|6[248]|7[2-47]|9[29])|5(?:2|3(?:[045]|9(?:[0-58]|6[4-9]|7[0-35689]))|4[0-369]|5[29]|8[02389]|9[0-3])|7(?:2[02-46-9]|34|[58]|6[0249]|7[57]|9(?:[23]|4[0-59]|5[01569]|6[0167]))|8(?:2(?:[1258]|4[0-39]|9[0169])|3(?:[29]|60|7(?:[017-9]|6[6-8]))|49|51|6(?:[0-24]|36[2-57-9]|5(?:[0-389]|5[23])|6(?:[01]|9[178])|7(?:2[2-468]|3[78])|9[0145])|7[0-468]|8[68])|9(?:4[15]|5[138]|7[156]|8[189]|9(?:[1289]|3(?:31|4[357])|4[0178]))|(?:8294|96)[1-3]|2(?:57|93)[015-9]|(?:223|8699)[014-9]|(?:25[0468]|422|838)[01]|(?:48|8292|9[23])[1-9]|(?:47[59]|59[89]|8(?:68|9))[019]"],"0$1"],["(\\d{3})(\\d{2})(\\d{4})","$1-$2-$3",["[14]|[289][2-9]|5[3-9]|7[2-4679]"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1-$2-$3",["800"],"0$1"],["(\\d{2})(\\d{4})(\\d{4})","$1-$2-$3",["[257-9]"],"0$1"]],"0",0,"(000[259]\\d{6})$|(?:(?:003768)0?)|0","$1"],KE:["254","000","(?:[17]\\d\\d|900)\\d{6}|(?:2|80)0\\d{6,7}|[4-6]\\d{6,8}",[7,8,9,10],[["(\\d{2})(\\d{5,7})","$1 $2",["[24-6]"],"0$1"],["(\\d{3})(\\d{6})","$1 $2",["[17]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["[89]"],"0$1"]],"0"],KG:["996","00","8\\d{9}|[235-9]\\d{8}",[9,10],[["(\\d{4})(\\d{5})","$1 $2",["3(?:1[346]|[24-79])"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[235-79]|88"],"0$1"],["(\\d{3})(\\d{3})(\\d)(\\d{2,3})","$1 $2 $3 $4",["8"],"0$1"]],"0"],KH:["855","00[14-9]","1\\d{9}|[1-9]\\d{7,8}",[8,9,10],[["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[1-9]"],"0$1"],["(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["1"]]],"0"],KI:["686","00","(?:[37]\\d|6[0-79])\\d{6}|(?:[2-48]\\d|50)\\d{3}",[5,8],0,"0"],KM:["269","00","[3478]\\d{6}",[7],[["(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3",["[3478]"]]]],KN:["1","011","(?:[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([2-7]\\d{6})$|1","869$1",0,"869"],KP:["850","00|99","85\\d{6}|(?:19\\d|[2-7])\\d{7}",[8,10],[["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["8"],"0$1"],["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["[2-7]"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["1"],"0$1"]],"0"],KR:["82","00(?:[125689]|3(?:[46]5|91)|7(?:00|27|3|55|6[126]))","00[1-9]\\d{8,11}|(?:[12]|5\\d{3})\\d{7}|[13-6]\\d{9}|(?:[1-6]\\d|80)\\d{7}|[3-6]\\d{4,5}|(?:00|7)0\\d{8}",[5,6,8,9,10,11,12,13,14],[["(\\d{2})(\\d{3,4})","$1-$2",["(?:3[1-3]|[46][1-4]|5[1-5])1"],"0$1"],["(\\d{4})(\\d{4})","$1-$2",["1"]],["(\\d)(\\d{3,4})(\\d{4})","$1-$2-$3",["2"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1-$2-$3",["[36]0|8"],"0$1"],["(\\d{2})(\\d{3,4})(\\d{4})","$1-$2-$3",["[1346]|5[1-5]"],"0$1"],["(\\d{2})(\\d{4})(\\d{4})","$1-$2-$3",["[57]"],"0$1"],["(\\d{2})(\\d{5})(\\d{4})","$1-$2-$3",["5"],"0$1"]],"0",0,"0(8(?:[1-46-8]|5\\d\\d))?"],KW:["965","00","18\\d{5}|(?:[2569]\\d|41)\\d{6}",[7,8],[["(\\d{4})(\\d{3,4})","$1 $2",["[169]|2(?:[235]|4[1-35-9])|52"]],["(\\d{3})(\\d{5})","$1 $2",["[245]"]]]],KY:["1","011","(?:345|[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([2-9]\\d{6})$|1","345$1",0,"345"],KZ:["7","810","(?:33622|8\\d{8})\\d{5}|[78]\\d{9}",[10,14],0,"8",0,0,0,0,"33|7",0,"8~10"],LA:["856","00","[23]\\d{9}|3\\d{8}|(?:[235-8]\\d|41)\\d{6}",[8,9,10],[["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["2[13]|3[14]|[4-8]"],"0$1"],["(\\d{2})(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3 $4",["30[0135-9]"],"0$1"],["(\\d{2})(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3 $4",["[23]"],"0$1"]],"0"],LB:["961","00","[27-9]\\d{7}|[13-9]\\d{6}",[7,8],[["(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["[13-69]|7(?:[2-57]|62|8[0-7]|9[04-9])|8[02-9]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[27-9]"]]],"0"],LC:["1","011","(?:[58]\\d\\d|758|900)\\d{7}",[10],0,"1",0,"([2-8]\\d{6})$|1","758$1",0,"758"],LI:["423","00","[68]\\d{8}|(?:[2378]\\d|90)\\d{5}",[7,9],[["(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3",["[2379]|8(?:0[09]|7)","[2379]|8(?:0(?:02|9)|7)"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["8"]],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["69"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["6"]]],"0",0,"(1001)|0"],LK:["94","00","[1-9]\\d{8}",[9],[["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["7"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[1-689]"],"0$1"]],"0"],LR:["231","00","(?:[245]\\d|33|77|88)\\d{7}|(?:2\\d|[4-6])\\d{6}",[7,8,9],[["(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["4[67]|[56]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["2"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[2-578]"],"0$1"]],"0"],LS:["266","00","(?:[256]\\d\\d|800)\\d{5}",[8],[["(\\d{4})(\\d{4})","$1 $2",["[2568]"]]]],LT:["370","00","(?:[3469]\\d|52|[78]0)\\d{6}",[8],[["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["52[0-7]"],"(0-$1)",1],["(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["[7-9]"],"0 $1",1],["(\\d{2})(\\d{6})","$1 $2",["37|4(?:[15]|6[1-8])"],"(0-$1)",1],["(\\d{3})(\\d{5})","$1 $2",["[3-6]"],"(0-$1)",1]],"0",0,"[08]"],LU:["352","00","35[013-9]\\d{4,8}|6\\d{8}|35\\d{2,4}|(?:[2457-9]\\d|3[0-46-9])\\d{2,9}",[4,5,6,7,8,9,10,11],[["(\\d{2})(\\d{3})","$1 $2",["2(?:0[2-689]|[2-9])|[3-57]|8(?:0[2-9]|[13-9])|9(?:0[89]|[2-579])"]],["(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3",["2(?:0[2-689]|[2-9])|[3-57]|8(?:0[2-9]|[13-9])|9(?:0[89]|[2-579])"]],["(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3",["20[2-689]"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{1,2})","$1 $2 $3 $4",["2(?:[0367]|4[3-8])"]],["(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["80[01]|90[015]"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3 $4",["20"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["6"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})(\\d{1,2})","$1 $2 $3 $4 $5",["2(?:[0367]|4[3-8])"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{1,5})","$1 $2 $3 $4",["[3-57]|8[13-9]|9(?:0[89]|[2-579])|(?:2|80)[2-9]"]]],0,0,"(15(?:0[06]|1[12]|[35]5|4[04]|6[26]|77|88|99)\\d)"],LV:["371","00","(?:[268]\\d|90)\\d{6}",[8],[["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[269]|8[01]"]]]],LY:["218","00","[2-9]\\d{8}",[9],[["(\\d{2})(\\d{7})","$1-$2",["[2-9]"],"0$1"]],"0"],MA:["212","00","[5-8]\\d{8}",[9],[["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["5[45]"],"0$1"],["(\\d{4})(\\d{5})","$1-$2",["5(?:2[2-46-9]|3[3-9]|9)|8(?:0[89]|92)"],"0$1"],["(\\d{2})(\\d{7})","$1-$2",["8"],"0$1"],["(\\d{3})(\\d{6})","$1-$2",["[5-7]"],"0$1"]],"0",0,0,0,0,0,[["5(?:2(?:[0-25-79]\\d|3[1-578]|4[02-46-8]|8[0235-7])|3(?:[0-47]\\d|5[02-9]|6[02-8]|8[014-9]|9[3-9])|(?:4[067]|5[03])\\d)\\d{5}"],["(?:6(?:[0-79]\\d|8[0-247-9])|7(?:[0167]\\d|2[0-467]|5[0-3]|8[0-5]))\\d{6}"],["80[0-7]\\d{6}"],["89\\d{7}"],0,0,0,0,["(?:592(?:4[0-2]|93)|80[89]\\d\\d)\\d{4}"]]],MC:["377","00","(?:[3489]|6\\d)\\d{7}",[8,9],[["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["4"],"0$1"],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[389]"]],["(\\d)(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4 $5",["6"],"0$1"]],"0"],MD:["373","00","(?:[235-7]\\d|[89]0)\\d{6}",[8],[["(\\d{3})(\\d{5})","$1 $2",["[89]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["22|3"],"0$1"],["(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["[25-7]"],"0$1"]],"0"],ME:["382","00","(?:20|[3-79]\\d)\\d{6}|80\\d{6,7}",[8,9],[["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[2-9]"],"0$1"]],"0"],MF:["590","00","(?:590\\d|7090)\\d{5}|(?:69|80|9\\d)\\d{7}",[9],0,"0",0,0,0,0,0,[["590(?:0[079]|[14]3|[27][79]|3[03-7]|5[0-268]|87)\\d{4}"],["(?:69(?:0\\d\\d|1(?:2[2-9]|3[0-5])|4(?:0[89]|1[2-6]|9\\d)|6(?:1[016-9]|5[0-4]|[67]\\d))|7090[0-4])\\d{4}"],["80[0-5]\\d{6}"],0,0,0,0,0,["9(?:(?:39[5-7]|76[018])\\d|475[0-6])\\d{4}"]]],MG:["261","00","[23]\\d{8}",[9],[["(\\d{2})(\\d{2})(\\d{3})(\\d{2})","$1 $2 $3 $4",["[23]"],"0$1"]],"0",0,"([24-9]\\d{6})$|0","20$1"],MH:["692","011","329\\d{4}|(?:[256]\\d|45)\\d{5}",[7],[["(\\d{3})(\\d{4})","$1-$2",["[2-6]"]]],"1"],MK:["389","00","[2-578]\\d{7}",[8],[["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["2|34[47]|4(?:[37]7|5[47]|64)"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[347]"],"0$1"],["(\\d{3})(\\d)(\\d{2})(\\d{2})","$1 $2 $3 $4",["[58]"],"0$1"]],"0"],ML:["223","00","[24-9]\\d{7}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[24-9]"]]]],MM:["95","00","1\\d{5,7}|95\\d{6}|(?:[4-7]|9[0-46-9])\\d{6,8}|(?:2|8\\d)\\d{5,8}",[6,7,8,9,10],[["(\\d)(\\d{2})(\\d{3})","$1 $2 $3",["16|2"],"0$1"],["(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3",["4(?:[2-46]|5[3-5])|5|6(?:[1-689]|7[235-7])|7(?:[0-4]|5[2-7])|8[1-5]|(?:60|86)[23]"],"0$1"],["(\\d)(\\d{3})(\\d{3,4})","$1 $2 $3",["[12]|452|678|86","[12]|452|6788|86"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[4-7]|8[1-35]"],"0$1"],["(\\d)(\\d{3})(\\d{4,6})","$1 $2 $3",["9(?:2[0-4]|[35-9]|4[137-9])"],"0$1"],["(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["2"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["8"],"0$1"],["(\\d)(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["92"],"0$1"],["(\\d)(\\d{5})(\\d{4})","$1 $2 $3",["9"],"0$1"]],"0"],MN:["976","001","[12]\\d{7,9}|[5-9]\\d{7}",[8,9,10],[["(\\d{2})(\\d{2})(\\d{4})","$1 $2 $3",["[12]1"],"0$1"],["(\\d{4})(\\d{4})","$1 $2",["[5-9]"]],["(\\d{3})(\\d{5,6})","$1 $2",["[12]2[1-3]"],"0$1"],["(\\d{4})(\\d{5,6})","$1 $2",["[12](?:27|3[2-8]|4[2-68]|5[1-4689])","[12](?:27|3[2-8]|4[2-68]|5[1-4689])[0-3]"],"0$1"],["(\\d{5})(\\d{4,5})","$1 $2",["[12]"],"0$1"]],"0"],MO:["853","00","0800\\d{3}|(?:28|[68]\\d)\\d{6}",[7,8],[["(\\d{4})(\\d{3})","$1 $2",["0"]],["(\\d{4})(\\d{4})","$1 $2",["[268]"]]]],MP:["1","011","[58]\\d{9}|(?:67|90)0\\d{7}",[10],0,"1",0,"([2-9]\\d{6})$|1","670$1",0,"670"],MQ:["596","00","(?:596\\d|7091)\\d{5}|(?:69|[89]\\d)\\d{7}",[9],[["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[5-79]|8(?:0[6-9]|[36])"],"0$1"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"],"0$1"]],"0"],MR:["222","00","(?:[2-4]\\d\\d|800)\\d{5}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2-48]"]]]],MS:["1","011","(?:[58]\\d\\d|664|900)\\d{7}",[10],0,"1",0,"([34]\\d{6})$|1","664$1",0,"664"],MT:["356","00","3550\\d{4}|(?:[2579]\\d\\d|800)\\d{5}",[8],[["(\\d{4})(\\d{4})","$1 $2",["[2357-9]"]]]],MU:["230","0(?:0|[24-7]0|3[03])","(?:[57]|8\\d\\d)\\d{7}|[2-468]\\d{6}",[7,8,10],[["(\\d{3})(\\d{4})","$1 $2",["[2-46]|8[013]"]],["(\\d{4})(\\d{4})","$1 $2",["[57]"]],["(\\d{5})(\\d{5})","$1 $2",["8"]]],0,0,0,0,0,0,0,"020"],MV:["960","0(?:0|19)","(?:800|9[0-57-9]\\d)\\d{7}|[34679]\\d{6}",[7,10],[["(\\d{3})(\\d{4})","$1-$2",["[34679]"]],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["[89]"]]],0,0,0,0,0,0,0,"00"],MW:["265","00","(?:[1289]\\d|31|77)\\d{7}|1\\d{6}",[7,9],[["(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["1[2-9]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["2"],"0$1"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[137-9]"],"0$1"]],"0"],MX:["52","0[09]","[2-9]\\d{9}",[10],[["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["33|5[56]|81"]],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["[2-9]"]]],0,0,0,0,0,0,0,"00"],MY:["60","00","1\\d{8,9}|(?:3\\d|[4-9])\\d{7}",[8,9,10],[["(\\d)(\\d{3})(\\d{4})","$1-$2 $3",["[4-79]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1-$2 $3",["1(?:[02469]|[378][1-9]|53)|8","1(?:[02469]|[37][1-9]|53|8(?:[1-46-9]|5[7-9]))|8"],"0$1"],["(\\d)(\\d{4})(\\d{4})","$1-$2 $3",["3"],"0$1"],["(\\d)(\\d{3})(\\d{2})(\\d{4})","$1-$2-$3-$4",["1(?:[367]|80)"]],["(\\d{3})(\\d{3})(\\d{4})","$1-$2 $3",["15"],"0$1"],["(\\d{2})(\\d{4})(\\d{4})","$1-$2 $3",["1"],"0$1"]],"0"],MZ:["258","00","(?:2|8\\d)\\d{7}",[8,9],[["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["2|8[2-79]"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["8"]]]],NA:["264","00","[68]\\d{7,8}",[8,9],[["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["88"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["6"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["87"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["8"],"0$1"]],"0"],NC:["687","00","(?:050|[2-57-9]\\d\\d)\\d{3}",[6],[["(\\d{2})(\\d{2})(\\d{2})","$1.$2.$3",["[02-57-9]"]]]],NE:["227","00","[027-9]\\d{7}",[8],[["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["08"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[089]|2[013]|7[0467]"]]]],NF:["672","00","[13]\\d{5}",[6],[["(\\d{2})(\\d{4})","$1 $2",["1[0-3]"]],["(\\d)(\\d{5})","$1 $2",["[13]"]]],0,0,"([0-258]\\d{4})$","3$1"],NG:["234","009","38\\d{6}|[78]\\d{9,13}|(?:20|9\\d)\\d{8}",[8,10,11,12,13,14],[["(\\d{2})(\\d{3})(\\d{2,3})","$1 $2 $3",["3"],"0$1"],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["[7-9]"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["20[129]"],"0$1"],["(\\d{4})(\\d{2})(\\d{4})","$1 $2 $3",["2"],"0$1"],["(\\d{3})(\\d{4})(\\d{4,5})","$1 $2 $3",["[78]"],"0$1"],["(\\d{3})(\\d{5})(\\d{5,6})","$1 $2 $3",["[78]"],"0$1"]],"0"],NI:["505","00","(?:1800|[25-8]\\d{3})\\d{4}",[8],[["(\\d{4})(\\d{4})","$1 $2",["[125-8]"]]]],NL:["31","00","(?:[124-7]\\d\\d|3(?:[02-9]\\d|1[0-8]))\\d{6}|8\\d{6,9}|9\\d{6,10}|1\\d{4,5}",[5,6,7,8,9,10,11],[["(\\d{3})(\\d{4,7})","$1 $2",["[89]0"],"0$1"],["(\\d{2})(\\d{7})","$1 $2",["66"],"0$1"],["(\\d)(\\d{8})","$1 $2",["6"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["1[16-8]|2[259]|3[124]|4[17-9]|5[124679]"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[1-578]|91"],"0$1"],["(\\d{3})(\\d{3})(\\d{5})","$1 $2 $3",["9"],"0$1"]],"0"],NO:["47","00","(?:0|[2-9]\\d{3})\\d{4}",[5,8],[["(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["8"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2-79]"]]],0,0,0,0,0,"[02-689]|7[0-8]"],NP:["977","00","(?:1\\d|9)\\d{9}|[1-9]\\d{7}",[8,10,11],[["(\\d)(\\d{7})","$1-$2",["1[2-6]"],"0$1"],["(\\d{2})(\\d{6})","$1-$2",["1[01]|[2-8]|9(?:[1-59]|[67][2-6])"],"0$1"],["(\\d{3})(\\d{7})","$1-$2",["9"]]],"0"],NR:["674","00","(?:444|(?:55|8\\d)\\d|666)\\d{4}",[7],[["(\\d{3})(\\d{4})","$1 $2",["[4-68]"]]]],NU:["683","00","(?:[4-7]|888\\d)\\d{3}",[4,7],[["(\\d{3})(\\d{4})","$1 $2",["8"]]]],NZ:["64","0(?:0|161)","[1289]\\d{9}|50\\d{5}(?:\\d{2,3})?|[27-9]\\d{7,8}|(?:[34]\\d|6[0-35-9])\\d{6}|8\\d{4,6}",[5,6,7,8,9,10],[["(\\d{2})(\\d{3,8})","$1 $2",["8[1-79]"],"0$1"],["(\\d{3})(\\d{2})(\\d{2,3})","$1 $2 $3",["50[036-8]|8|90","50(?:[0367]|88)|8|90"],"0$1"],["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["24|[346]|7[2-57-9]|9[2-9]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["2(?:10|74)|[589]"],"0$1"],["(\\d{2})(\\d{3,4})(\\d{4})","$1 $2 $3",["1|2[028]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,5})","$1 $2 $3",["2(?:[169]|7[0-35-9])|7"],"0$1"]],"0",0,0,0,0,0,0,"00"],OM:["968","00","(?:1505|[279]\\d{3}|500)\\d{4}|800\\d{5,6}",[7,8,9],[["(\\d{3})(\\d{4,6})","$1 $2",["[58]"]],["(\\d{2})(\\d{6})","$1 $2",["2"]],["(\\d{4})(\\d{4})","$1 $2",["[179]"]]]],PA:["507","00","(?:00800|8\\d{3})\\d{6}|[68]\\d{7}|[1-57-9]\\d{6}",[7,8,10,11],[["(\\d{3})(\\d{4})","$1-$2",["[1-57-9]"]],["(\\d{4})(\\d{4})","$1-$2",["[68]"]],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["8"]]]],PE:["51","00|19(?:1[124]|77|90)00","(?:[14-8]|9\\d)\\d{7}",[8,9],[["(\\d{3})(\\d{5})","$1 $2",["80"],"(0$1)"],["(\\d)(\\d{7})","$1 $2",["1"],"(0$1)"],["(\\d{2})(\\d{6})","$1 $2",["[4-8]"],"(0$1)"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["9"]]],"0",0,0,0,0,0,0,"00"," Anexo "],PF:["689","00","4\\d{5}(?:\\d{2})?|8\\d{7,8}",[6,8,9],[["(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3",["44"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["4|8[7-9]"]],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"]]]],PG:["675","00|140[1-3]","(?:180|[78]\\d{3})\\d{4}|(?:[2-589]\\d|64)\\d{5}",[7,8],[["(\\d{3})(\\d{4})","$1 $2",["18|[2-69]|85"]],["(\\d{4})(\\d{4})","$1 $2",["[78]"]]],0,0,0,0,0,0,0,"00"],PH:["63","00","(?:[2-7]|9\\d)\\d{8}|2\\d{5}|(?:1800|8)\\d{7,9}",[6,8,9,10,11,12,13],[["(\\d)(\\d{5})","$1 $2",["2"],"(0$1)"],["(\\d{4})(\\d{4,6})","$1 $2",["3(?:23|39|46)|4(?:2[3-6]|[35]9|4[26]|76)|544|88[245]|(?:52|64|86)2","3(?:230|397|461)|4(?:2(?:35|[46]4|51)|396|4(?:22|63)|59[347]|76[15])|5(?:221|446)|642[23]|8(?:622|8(?:[24]2|5[13]))"],"(0$1)"],["(\\d{5})(\\d{4})","$1 $2",["346|4(?:27|9[35])|883","3469|4(?:279|9(?:30|56))|8834"],"(0$1)"],["(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["2"],"(0$1)"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[3-7]|8[2-8]"],"(0$1)"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["[89]"],"0$1"],["(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["1"]],["(\\d{4})(\\d{1,2})(\\d{3})(\\d{4})","$1 $2 $3 $4",["1"]]],"0"],PK:["92","00","122\\d{6}|[24-8]\\d{10,11}|9(?:[013-9]\\d{8,10}|2(?:[01]\\d\\d|2(?:[06-8]\\d|1[01]))\\d{7})|(?:[2-8]\\d{3}|92(?:[0-7]\\d|8[1-9]))\\d{6}|[24-9]\\d{8}|[89]\\d{7}",[8,9,10,11,12],[["(\\d{3})(\\d{3})(\\d{2,7})","$1 $2 $3",["[89]0"],"0$1"],["(\\d{4})(\\d{5})","$1 $2",["1"]],["(\\d{3})(\\d{6,7})","$1 $2",["2(?:3[2358]|4[2-4]|9[2-8])|45[3479]|54[2-467]|60[468]|72[236]|8(?:2[2-689]|3[23578]|4[3478]|5[2356])|9(?:2[2-8]|3[27-9]|4[2-6]|6[3569]|9[25-8])","9(?:2[3-8]|98)|(?:2(?:3[2358]|4[2-4]|9[2-8])|45[3479]|54[2-467]|60[468]|72[236]|8(?:2[2-689]|3[23578]|4[3478]|5[2356])|9(?:22|3[27-9]|4[2-6]|6[3569]|9[25-7]))[2-9]"],"(0$1)"],["(\\d{2})(\\d{7,8})","$1 $2",["(?:2[125]|4[0-246-9]|5[1-35-7]|6[1-8]|7[14]|8[16]|91)[2-9]"],"(0$1)"],["(\\d{5})(\\d{5})","$1 $2",["58"],"(0$1)"],["(\\d{3})(\\d{7})","$1 $2",["3"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["2[125]|4[0-246-9]|5[1-35-7]|6[1-8]|7[14]|8[16]|91"],"(0$1)"],["(\\d{3})(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["[24-9]"],"(0$1)"]],"0"],PL:["48","00","(?:6|8\\d\\d)\\d{7}|[1-9]\\d{6}(?:\\d{2})?|[26]\\d{5}",[6,7,8,9,10],[["(\\d{5})","$1",["19"]],["(\\d{3})(\\d{3})","$1 $2",["11|20|64"]],["(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3",["(?:1[2-8]|2[2-69]|3[2-4]|4[1-468]|5[24-689]|6[1-3578]|7[14-7]|8[1-79]|9[145])1","(?:1[2-8]|2[2-69]|3[2-4]|4[1-468]|5[24-689]|6[1-3578]|7[14-7]|8[1-79]|9[145])19"]],["(\\d{3})(\\d{2})(\\d{2,3})","$1 $2 $3",["64"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["21|39|45|5[0137]|6[0469]|7[02389]|8(?:0[14]|8)"]],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["1[2-8]|[2-7]|8[1-79]|9[145]"]],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["8"]]]],PM:["508","00","[45]\\d{5}|(?:708|8\\d\\d)\\d{6}",[6,9],[["(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3",["[45]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["7"]],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"],"0$1"]],"0"],PR:["1","011","(?:[589]\\d\\d|787)\\d{7}",[10],0,"1",0,0,0,0,"787|939"],PS:["970","00","[2489]2\\d{6}|(?:1\\d|5)\\d{8}",[8,9,10],[["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["[2489]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["5"],"0$1"],["(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["1"]]],"0"],PT:["351","00","1693\\d{5}|(?:[26-9]\\d|30)\\d{7}",[9],[["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["2[12]"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["16|[236-9]"]]]],PW:["680","01[12]","(?:[24-8]\\d\\d|345|900)\\d{4}",[7],[["(\\d{3})(\\d{4})","$1 $2",["[2-9]"]]]],PY:["595","00","59\\d{4,6}|9\\d{5,10}|(?:[2-46-8]\\d|5[0-8])\\d{4,7}",[6,7,8,9,10,11],[["(\\d{3})(\\d{3,6})","$1 $2",["[2-9]0"],"0$1"],["(\\d{2})(\\d{5})","$1 $2",["[26]1|3[289]|4[1246-8]|7[1-3]|8[1-36]"],"(0$1)"],["(\\d{3})(\\d{4,5})","$1 $2",["2[279]|3[13-5]|4[359]|5|6(?:[34]|7[1-46-8])|7[46-8]|85"],"(0$1)"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["2[14-68]|3[26-9]|4[1246-8]|6(?:1|75)|7[1-35]|8[1-36]"],"(0$1)"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["87"]],["(\\d{3})(\\d{6})","$1 $2",["9(?:[5-79]|8[1-7])"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[2-8]"],"0$1"],["(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["9"]]],"0"],QA:["974","00","800\\d{4}|(?:2|800)\\d{6}|(?:0080|[3-7])\\d{7}",[7,8,9,11],[["(\\d{3})(\\d{4})","$1 $2",["2[16]|8"]],["(\\d{4})(\\d{4})","$1 $2",["[3-7]"]]]],RE:["262","00","709\\d{6}|(?:26|[689]\\d)\\d{7}",[9],[["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[26-9]"],"0$1"]],"0",0,0,0,0,0,[["26(?:2\\d\\d|3(?:0\\d|1[0-6]))\\d{4}"],["(?:69(?:2\\d\\d|3(?:[06][0-6]|1[013]|2[0-2]|3[0-39]|4\\d|5[0-5]|7[0-37]|8[0-8]|9[0-479]))|7092[0-3])\\d{4}"],["80\\d{7}"],["89[1-37-9]\\d{6}"],0,0,0,0,["9(?:399[0-3]|479[0-6]|76(?:2[278]|3[0-37]))\\d{4}"],["8(?:1[019]|2[0156]|84|90)\\d{6}"]]],RO:["40","00","(?:[236-8]\\d|90)\\d{7}|[23]\\d{5}",[6,9],[["(\\d{3})(\\d{3})","$1 $2",["2[3-6]","2[3-6]\\d9"],"0$1"],["(\\d{2})(\\d{4})","$1 $2",["219|31"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[23]1"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[236-9]"],"0$1"]],"0",0,0,0,0,0,0,0," int "],RS:["381","00","38[02-9]\\d{6,9}|6\\d{7,9}|90\\d{4,8}|38\\d{5,6}|(?:7\\d\\d|800)\\d{3,9}|(?:[12]\\d|3[0-79])\\d{5,10}",[6,7,8,9,10,11,12],[["(\\d{3})(\\d{3,9})","$1 $2",["(?:2[389]|39)0|[7-9]"],"0$1"],["(\\d{2})(\\d{5,10})","$1 $2",["[1-36]"],"0$1"]],"0"],RU:["7","810","8\\d{13}|[347-9]\\d{9}",[10,14],[["(\\d{4})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["7(?:1[0-8]|2[1-9])","7(?:1(?:[0-356]2|4[29]|7|8[27])|2(?:1[23]|[2-9]2))","7(?:1(?:[0-356]2|4[29]|7|8[27])|2(?:13[03-69]|62[013-9]))|72[1-57-9]2"],"8 ($1)",1],["(\\d{5})(\\d)(\\d{2})(\\d{2})","$1 $2 $3 $4",["7(?:1[0-68]|2[1-9])","7(?:1(?:[06][3-6]|[18]|2[35]|[3-5][3-5])|2(?:[13][3-5]|[24-689]|7[457]))","7(?:1(?:0(?:[356]|4[023])|[18]|2(?:3[013-9]|5)|3[45]|43[013-79]|5(?:3[1-8]|4[1-7]|5)|6(?:3[0-35-9]|[4-6]))|2(?:1(?:3[178]|[45])|[24-689]|3[35]|7[457]))|7(?:14|23)4[0-8]|71(?:33|45)[1-79]"],"8 ($1)",1],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["7"],"8 ($1)",1],["(\\d{3})(\\d{3})(\\d{2})(\\d{2})","$1 $2-$3-$4",["[349]|8(?:[02-7]|1[1-8])"],"8 ($1)",1],["(\\d{4})(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3 $4",["8"],"8 ($1)"]],"8",0,0,0,0,"3[04-689]|[489]",0,"8~10"],RW:["250","00","(?:06|[27]\\d\\d|[89]00)\\d{6}",[8,9],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["0"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["2"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[7-9]"],"0$1"]],"0"],SA:["966","00","92\\d{7}|(?:[15]|8\\d)\\d{8}",[9,10],[["(\\d{4})(\\d{5})","$1 $2",["9"]],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["1"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["5"],"0$1"],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["81"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["8"]]],"0"],SB:["677","0[01]","[6-9]\\d{6}|[1-6]\\d{4}",[5,7],[["(\\d{2})(\\d{5})","$1 $2",["6[89]|7|8[4-9]|9(?:[1-8]|9[0-8])"]]]],SC:["248","010|0[0-2]","(?:[2489]\\d|64)\\d{5}",[7],[["(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["[246]|9[57]"]]],0,0,0,0,0,0,0,"00"],SD:["249","00","[19]\\d{8}",[9],[["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[19]"],"0$1"]],"0"],SE:["46","00","(?:[26]\\d\\d|9)\\d{9}|[1-9]\\d{8}|[1-689]\\d{7}|[1-4689]\\d{6}|2\\d{5}",[6,7,8,9,10,12],[["(\\d{2})(\\d{2,3})(\\d{2})","$1-$2 $3",["20"],"0$1",0,"$1 $2 $3"],["(\\d{3})(\\d{4})","$1-$2",["9(?:00|39|44|9)"],"0$1",0,"$1 $2"],["(\\d{2})(\\d{3})(\\d{2})","$1-$2 $3",["[12][136]|3[356]|4[0246]|6[03]|90[1-9]"],"0$1",0,"$1 $2 $3"],["(\\d)(\\d{2,3})(\\d{2})(\\d{2})","$1-$2 $3 $4",["8"],"0$1",0,"$1 $2 $3 $4"],["(\\d{3})(\\d{2,3})(\\d{2})","$1-$2 $3",["1[2457]|2(?:[247-9]|5[0138])|3[0247-9]|4[1357-9]|5[0-35-9]|6(?:[125689]|4[02-57]|7[0-2])|9(?:[125-8]|3[02-5]|4[0-3])"],"0$1",0,"$1 $2 $3"],["(\\d{3})(\\d{2,3})(\\d{3})","$1-$2 $3",["9(?:00|39|44)"],"0$1",0,"$1 $2 $3"],["(\\d{2})(\\d{2,3})(\\d{2})(\\d{2})","$1-$2 $3 $4",["1[13689]|2[0136]|3[1356]|4[0246]|54|6[03]|90[1-9]"],"0$1",0,"$1 $2 $3 $4"],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1-$2 $3 $4",["10|7"],"0$1",0,"$1 $2 $3 $4"],["(\\d)(\\d{3})(\\d{3})(\\d{2})","$1-$2 $3 $4",["8"],"0$1",0,"$1 $2 $3 $4"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1-$2 $3 $4",["[13-5]|2(?:[247-9]|5[0138])|6(?:[124-689]|7[0-2])|9(?:[125-8]|3[02-5]|4[0-3])"],"0$1",0,"$1 $2 $3 $4"],["(\\d{3})(\\d{2})(\\d{2})(\\d{3})","$1-$2 $3 $4",["9"],"0$1",0,"$1 $2 $3 $4"],["(\\d{3})(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1-$2 $3 $4 $5",["[26]"],"0$1",0,"$1 $2 $3 $4 $5"]],"0"],SG:["65","0[0-3]\\d","(?:(?:1\\d|8)\\d\\d|7000)\\d{7}|[3689]\\d{7}",[8,10,11],[["(\\d{4})(\\d{4})","$1 $2",["[369]|8(?:0[1-9]|[1-9])"]],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["8"]],["(\\d{4})(\\d{4})(\\d{3})","$1 $2 $3",["7"]],["(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["1"]]]],SH:["290","00","(?:[256]\\d|8)\\d{3}",[4,5],0,0,0,0,0,0,"[256]"],SI:["386","00|10(?:22|66|88|99)","[1-7]\\d{7}|8\\d{4,7}|90\\d{4,6}",[5,6,7,8],[["(\\d{2})(\\d{3,6})","$1 $2",["8[09]|9"],"0$1"],["(\\d{3})(\\d{5})","$1 $2",["59|8"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[37][01]|4[0139]|51|6"],"0$1"],["(\\d)(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[1-57]"],"(0$1)"]],"0",0,0,0,0,0,0,"00"],SJ:["47","00","0\\d{4}|(?:[489]\\d|79)\\d{6}",[5,8],0,0,0,0,0,0,"79"],SK:["421","00","[2-689]\\d{8}|[2-59]\\d{6}|[2-5]\\d{5}",[6,7,9],[["(\\d)(\\d{2})(\\d{3,4})","$1 $2 $3",["21"],"0$1"],["(\\d{2})(\\d{2})(\\d{2,3})","$1 $2 $3",["[3-5][1-8]1","[3-5][1-8]1[67]"],"0$1"],["(\\d)(\\d{3})(\\d{3})(\\d{2})","$1/$2 $3 $4",["2"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[689]"],"0$1"],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1/$2 $3 $4",["[3-5]"],"0$1"]],"0"],SL:["232","00","(?:[237-9]\\d|66)\\d{6}",[8],[["(\\d{2})(\\d{6})","$1 $2",["[236-9]"],"(0$1)"]],"0"],SM:["378","00","(?:0549|[5-7]\\d)\\d{6}",[8,10],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[5-7]"]],["(\\d{4})(\\d{6})","$1 $2",["0"]]],0,0,"([89]\\d{5})$","0549$1"],SN:["221","00","(?:[378]\\d|93)\\d{7}",[9],[["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"]],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[379]"]]]],SO:["252","00","[346-9]\\d{8}|[12679]\\d{7}|[1-5]\\d{6}|[1348]\\d{5}",[6,7,8,9],[["(\\d{2})(\\d{4})","$1 $2",["8[125]"]],["(\\d{6})","$1",["[134]"]],["(\\d)(\\d{6})","$1 $2",["[15]|2[0-79]|3[0-46-8]|4[0-7]"]],["(\\d)(\\d{7})","$1 $2",["(?:2|90)4|[67]"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[348]|64|79|90"]],["(\\d{2})(\\d{5,7})","$1 $2",["1|28|6[0-35-9]|7[67]|9[2-9]"]]],"0"],SR:["597","00","(?:[2-5]|68|[78]\\d)\\d{5}",[6,7],[["(\\d{2})(\\d{2})(\\d{2})","$1-$2-$3",["56"]],["(\\d{3})(\\d{3})","$1-$2",["[2-5]"]],["(\\d{3})(\\d{4})","$1-$2",["[6-8]"]]]],SS:["211","00","[19]\\d{8}",[9],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[19]"],"0$1"]],"0"],ST:["239","00","(?:22|9\\d)\\d{5}",[7],[["(\\d{3})(\\d{4})","$1 $2",["[29]"]]]],SV:["503","00","[267]\\d{7}|(?:80\\d|900)\\d{4}(?:\\d{4})?",[7,8,11],[["(\\d{3})(\\d{4})","$1 $2",["[89]"]],["(\\d{4})(\\d{4})","$1 $2",["[267]"]],["(\\d{3})(\\d{4})(\\d{4})","$1 $2 $3",["[89]"]]]],SX:["1","011","7215\\d{6}|(?:[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"(5\\d{6})$|1","721$1",0,"721"],SY:["963","00","[1-359]\\d{8}|[1-5]\\d{7}",[8,9],[["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[1-4]|5[1-3]"],"0$1",1],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[59]"],"0$1",1]],"0"],SZ:["268","00","0800\\d{4}|(?:[237]\\d|900)\\d{6}",[8,9],[["(\\d{4})(\\d{4})","$1 $2",["[0237]"]],["(\\d{5})(\\d{4})","$1 $2",["9"]]]],TA:["290","00","8\\d{3}",[4],0,0,0,0,0,0,"8"],TC:["1","011","(?:[58]\\d\\d|649|900)\\d{7}",[10],0,"1",0,"([2-479]\\d{6})$|1","649$1",0,"649"],TD:["235","00|16","(?:22|[689]\\d|77)\\d{6}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[26-9]"]]],0,0,0,0,0,0,0,"00"],TG:["228","00","[279]\\d{7}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[279]"]]]],TH:["66","00[1-9]","(?:001800|[2-57]|[689]\\d)\\d{7}|1\\d{7,9}",[8,9,10,13],[["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["2"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[13-9]"],"0$1"],["(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["1"]]],"0"],TJ:["992","810","[0-57-9]\\d{8}",[9],[["(\\d{6})(\\d)(\\d{2})","$1 $2 $3",["331","3317"]],["(\\d{3})(\\d{2})(\\d{4})","$1 $2 $3",["44[02-479]|[34]7"]],["(\\d{4})(\\d)(\\d{4})","$1 $2 $3",["3(?:[1245]|3[12])"]],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[0-57-9]"]]],0,0,0,0,0,0,0,"8~10"],TK:["690","00","[2-47]\\d{3,6}",[4,5,6,7]],TL:["670","00","7\\d{7}|(?:[2-47]\\d|[89]0)\\d{5}",[7,8],[["(\\d{3})(\\d{4})","$1 $2",["[2-489]|70"]],["(\\d{4})(\\d{4})","$1 $2",["7"]]]],TM:["993","810","(?:[1-6]\\d|71)\\d{6}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2-$3-$4",["12"],"(8 $1)"],["(\\d{3})(\\d)(\\d{2})(\\d{2})","$1 $2-$3-$4",["[1-5]"],"(8 $1)"],["(\\d{2})(\\d{6})","$1 $2",["[67]"],"8 $1"]],"8",0,0,0,0,0,0,"8~10"],TN:["216","00","[2-57-9]\\d{7}",[8],[["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[2-57-9]"]]]],TO:["676","00","(?:0800|(?:[5-8]\\d\\d|999)\\d)\\d{3}|[2-8]\\d{4}",[5,7],[["(\\d{2})(\\d{3})","$1-$2",["[2-4]|50|6[09]|7[0-24-69]|8[05]"]],["(\\d{4})(\\d{3})","$1 $2",["0"]],["(\\d{3})(\\d{4})","$1 $2",["[5-9]"]]]],TR:["90","00","4\\d{6}|8\\d{11,12}|(?:[2-58]\\d\\d|900)\\d{7}",[7,10,12,13],[["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["512|8[01589]|90"],"0$1",1],["(\\d{3})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["5(?:[0-59]|61)","5(?:[0-59]|61[06])","5(?:[0-59]|61[06]1)"],"0$1",1],["(\\d{3})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[24][1-8]|3[1-9]"],"(0$1)",1],["(\\d{3})(\\d{3})(\\d{6,7})","$1 $2 $3",["80"],"0$1",1]],"0"],TT:["1","011","(?:[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([2-46-8]\\d{6})$|1","868$1",0,"868"],TV:["688","00","(?:2|7\\d\\d|90)\\d{4}",[5,6,7],[["(\\d{2})(\\d{3})","$1 $2",["2"]],["(\\d{2})(\\d{4})","$1 $2",["90"]],["(\\d{2})(\\d{5})","$1 $2",["7"]]]],TW:["886","0(?:0[25-79]|19)","[2-689]\\d{8}|7\\d{9,10}|[2-8]\\d{7}|2\\d{6}",[7,8,9,10,11],[["(\\d{2})(\\d)(\\d{4})","$1 $2 $3",["202"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[258]0"],"0$1"],["(\\d)(\\d{3,4})(\\d{4})","$1 $2 $3",["[23568]|4(?:0[02-48]|[1-47-9])|7[1-9]","[23568]|4(?:0[2-48]|[1-47-9])|(?:400|7)[1-9]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[49]"],"0$1"],["(\\d{2})(\\d{4})(\\d{4,5})","$1 $2 $3",["7"],"0$1"]],"0",0,0,0,0,0,0,0,"#"],TZ:["255","00[056]","(?:[25-8]\\d|41|90)\\d{7}",[9],[["(\\d{3})(\\d{2})(\\d{4})","$1 $2 $3",["[89]"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[24]"],"0$1"],["(\\d{2})(\\d{7})","$1 $2",["5"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[67]"],"0$1"]],"0"],UA:["380","00","[89]\\d{9}|[3-9]\\d{8}",[9,10],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["6[12][29]|(?:3[1-8]|4[136-8]|5[12457]|6[49])2|(?:56|65)[24]","6[12][29]|(?:35|4[1378]|5[12457]|6[49])2|(?:56|65)[24]|(?:3[1-46-8]|46)2[013-9]"],"0$1"],["(\\d{4})(\\d{5})","$1 $2",["3[1-8]|4(?:[1367]|[45][6-9]|8[4-6])|5(?:[1-5]|6[0135689]|7[4-6])|6(?:[12][3-7]|[459])","3[1-8]|4(?:[1367]|[45][6-9]|8[4-6])|5(?:[1-5]|6(?:[015689]|3[02389])|7[4-6])|6(?:[12][3-7]|[459])"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[3-7]|89|9[1-9]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["[89]"],"0$1"]],"0",0,0,0,0,0,0,"0~0"],UG:["256","00[057]","800\\d{6}|(?:[29]0|[347]\\d)\\d{7}",[9],[["(\\d{4})(\\d{5})","$1 $2",["202","2024"],"0$1"],["(\\d{3})(\\d{6})","$1 $2",["[27-9]|4(?:6[45]|[7-9])"],"0$1"],["(\\d{2})(\\d{7})","$1 $2",["[34]"],"0$1"]],"0"],US:["1","011","[2-9]\\d{9}|3\\d{6}",[10],[["(\\d{3})(\\d{4})","$1-$2",["310"],0,1],["(\\d{3})(\\d{3})(\\d{4})","($1) $2-$3",["[2-9]"],0,1,"$1-$2-$3"]],"1",0,0,0,0,0,[["(?:3052(?:0[0-8]|[1-9]\\d)|5056(?:[0-35-9]\\d|4[0-468]))\\d{4}|(?:2742|305[3-9]|472[247-9]|505[2-57-9]|983[2-47-9])\\d{6}|(?:2(?:0[1-35-9]|1[02-9]|2[03-57-9]|3[1459]|4[08]|5[1-46]|6[0279]|7[0269]|8[13])|3(?:0[1-47-9]|1[02-9]|2[0135-79]|3[0-24679]|4[167]|5[0-2]|6[01349]|8[056])|4(?:0[124-9]|1[02-579]|2[3-5]|3[0245]|4[023578]|58|6[349]|7[0589]|8[04])|5(?:0[1-47-9]|1[0235-8]|20|3[0149]|4[01]|5[179]|6[1-47]|7[0-5]|8[0256])|6(?:0[1-35-9]|1[024-9]|2[03689]|3[016]|4[0156]|5[01679]|6[0-279]|78|8[0-29])|7(?:0[1-46-8]|1[2-9]|2[04-8]|3[0-247]|4[037]|5[47]|6[02359]|7[0-59]|8[156])|8(?:0[1-68]|1[02-8]|2[068]|3[0-2589]|4[03578]|5[046-9]|6[02-5]|7[028])|9(?:0[1346-9]|1[02-9]|2[0589]|3[0146-8]|4[01357-9]|5[12469]|7[0-389]|8[04-69]))[2-9]\\d{6}"],[""],["8(?:00|33|44|55|66|77|88)[2-9]\\d{6}"],["900[2-9]\\d{6}"],["52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|33|44|66|77|88)[2-9]\\d{6}"],0,0,0,["305209\\d{4}"]]],UY:["598","0(?:0|1[3-9]\\d)","0004\\d{2,9}|[1249]\\d{7}|(?:[49]\\d|80)\\d{5}",[6,7,8,9,10,11,12,13],[["(\\d{3})(\\d{3,4})","$1 $2",["0"]],["(\\d{3})(\\d{4})","$1 $2",["[49]0|8"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["9"],"0$1"],["(\\d{4})(\\d{4})","$1 $2",["[124]"]],["(\\d{3})(\\d{3})(\\d{2,4})","$1 $2 $3",["0"]],["(\\d{3})(\\d{3})(\\d{3})(\\d{2,4})","$1 $2 $3 $4",["0"]]],"0",0,0,0,0,0,0,"00"," int. "],UZ:["998","00","(?:20|33|[5-9]\\d)\\d{7}",[9],[["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[235-9]"]]]],VA:["39","00","0\\d{5,10}|3[0-8]\\d{7,10}|55\\d{8}|8\\d{5}(?:\\d{2,4})?|(?:1\\d|39)\\d{7,8}",[6,7,8,9,10,11,12],0,0,0,0,0,0,"06698"],VC:["1","011","(?:[58]\\d\\d|784|900)\\d{7}",[10],0,"1",0,"([2-7]\\d{6})$|1","784$1",0,"784"],VE:["58","00","[68]00\\d{7}|(?:[24]\\d|[59]0)\\d{8}",[10],[["(\\d{3})(\\d{7})","$1-$2",["[24-689]"],"0$1"]],"0"],VG:["1","011","(?:284|[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([2-578]\\d{6})$|1","284$1",0,"284"],VI:["1","011","[58]\\d{9}|(?:34|90)0\\d{7}",[10],0,"1",0,"([2-9]\\d{6})$|1","340$1",0,"340"],VN:["84","00","[12]\\d{9}|[135-9]\\d{8}|[16]\\d{7}|[16-8]\\d{6}",[7,8,9,10],[["(\\d{2})(\\d{5})","$1 $2",["80"],"0$1",1],["(\\d{4})(\\d{4,6})","$1 $2",["1"],0,1],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["6"],"0$1",1],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[357-9]"],"0$1",1],["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["2[48]"],"0$1",1],["(\\d{3})(\\d{4})(\\d{3})","$1 $2 $3",["2"],"0$1",1]],"0"],VU:["678","00","[57-9]\\d{6}|(?:[238]\\d|48)\\d{3}",[5,7],[["(\\d{3})(\\d{4})","$1 $2",["[57-9]"]]]],WF:["681","00","(?:40|72|8\\d{4})\\d{4}|[89]\\d{5}",[6,9],[["(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3",["[47-9]"]],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"]]]],WS:["685","0","(?:[2-6]|8\\d{5})\\d{4}|[78]\\d{6}|[68]\\d{5}",[5,6,7,10],[["(\\d{5})","$1",["[2-5]|6[1-9]"]],["(\\d{3})(\\d{3,7})","$1 $2",["[68]"]],["(\\d{2})(\\d{5})","$1 $2",["7"]]]],XK:["383","00","2\\d{7,8}|3\\d{7,11}|(?:4\\d\\d|[89]00)\\d{5}",[8,9,10,11,12],[["(\\d{3})(\\d{5})","$1 $2",["[89]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[2-4]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["2|39"],"0$1"],["(\\d{2})(\\d{7,10})","$1 $2",["3"],"0$1"]],"0"],YE:["967","00","(?:1|7\\d)\\d{7}|[1-7]\\d{6}",[7,8,9],[["(\\d)(\\d{3})(\\d{3,4})","$1 $2 $3",["[1-6]|7(?:[24-6]|8[0-7])"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["7"],"0$1"]],"0"],YT:["262","00","7093\\d{5}|(?:80|9\\d)\\d{7}|(?:26|63)9\\d{6}",[9],0,"0",0,0,0,0,0,[["269(?:0[0-467]|15|5[0-4]|6\\d|[78]0)\\d{4}"],["(?:639(?:0[0-79]|1[019]|[267]\\d|3[09]|40|5[05-9]|9[04-79])|7093[5-7])\\d{4}"],["80\\d{7}"],0,0,0,0,0,["9(?:(?:39|47)8[01]|769\\d)\\d{4}"]]],ZA:["27","00","[1-79]\\d{8}|8\\d{4,9}",[5,6,7,8,9,10],[["(\\d{2})(\\d{3,4})","$1 $2",["8[1-4]"],"0$1"],["(\\d{2})(\\d{3})(\\d{2,3})","$1 $2 $3",["8[1-4]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["860"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[1-9]"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["8"],"0$1"]],"0"],ZM:["260","00","800\\d{6}|(?:21|[579]\\d|63)\\d{7}",[9],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[28]"],"0$1"],["(\\d{2})(\\d{7})","$1 $2",["[579]"],"0$1"]],"0"],ZW:["263","00","2(?:[0-57-9]\\d{6,8}|6[0-24-9]\\d{6,7})|[38]\\d{9}|[35-8]\\d{8}|[3-6]\\d{7}|[1-689]\\d{6}|[1-3569]\\d{5}|[1356]\\d{4}",[5,6,7,8,9,10],[["(\\d{3})(\\d{3,5})","$1 $2",["2(?:0[45]|2[278]|[49]8)|3(?:[09]8|17)|6(?:[29]8|37|75)|[23][78]|(?:33|5[15]|6[68])[78]"],"0$1"],["(\\d)(\\d{3})(\\d{2,4})","$1 $2 $3",["[49]"],"0$1"],["(\\d{3})(\\d{4})","$1 $2",["80"],"0$1"],["(\\d{2})(\\d{7})","$1 $2",["24|8[13-59]|(?:2[05-79]|39|5[45]|6[15-8])2","2(?:02[014]|4|[56]20|[79]2)|392|5(?:42|525)|6(?:[16-8]21|52[013])|8[13-59]"],"(0$1)"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["7"],"0$1"],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["2(?:1[39]|2[0157]|[378]|[56][14])|3(?:12|29)","2(?:1[39]|2[0157]|[378]|[56][14])|3(?:123|29)"],"0$1"],["(\\d{4})(\\d{6})","$1 $2",["8"],"0$1"],["(\\d{2})(\\d{3,5})","$1 $2",["1|2(?:0[0-36-9]|12|29|[56])|3(?:1[0-689]|[24-6])|5(?:[0236-9]|1[2-4])|6(?:[013-59]|7[0-46-9])|(?:33|55|6[68])[0-69]|(?:29|3[09]|62)[0-79]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["29[013-9]|39|54"],"0$1"],["(\\d{4})(\\d{3,5})","$1 $2",["(?:25|54)8","258|5483"],"0$1"]],"0"]},nonGeographic:{800:["800",0,"(?:00|[1-9]\\d)\\d{6}",[8],[["(\\d{4})(\\d{4})","$1 $2",["\\d"]]],0,0,0,0,0,0,[0,0,["(?:00|[1-9]\\d)\\d{6}"]]],808:["808",0,"[1-9]\\d{7}",[8],[["(\\d{4})(\\d{4})","$1 $2",["[1-9]"]]],0,0,0,0,0,0,[0,0,0,0,0,0,0,0,0,["[1-9]\\d{7}"]]],870:["870",0,"7\\d{11}|[235-7]\\d{8}",[9,12],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[235-7]"]]],0,0,0,0,0,0,[0,["(?:[356]|774[45])\\d{8}|7[6-8]\\d{7}"],0,0,0,0,0,0,["2\\d{8}",[9]]]],878:["878",0,"10\\d{10}",[12],[["(\\d{2})(\\d{5})(\\d{5})","$1 $2 $3",["1"]]],0,0,0,0,0,0,[0,0,0,0,0,0,0,0,["10\\d{10}"]]],881:["881",0,"6\\d{9}|[0-36-9]\\d{8}",[9,10],[["(\\d)(\\d{3})(\\d{5})","$1 $2 $3",["[0-37-9]"]],["(\\d)(\\d{3})(\\d{5,6})","$1 $2 $3",["6"]]],0,0,0,0,0,0,[0,["6\\d{9}|[0-36-9]\\d{8}"]]],882:["882",0,"[13]\\d{6}(?:\\d{2,5})?|[19]\\d{7}|(?:[25]\\d\\d|4)\\d{7}(?:\\d{2})?",[7,8,9,10,11,12],[["(\\d{2})(\\d{5})","$1 $2",["16|342"]],["(\\d{2})(\\d{6})","$1 $2",["49"]],["(\\d{2})(\\d{2})(\\d{4})","$1 $2 $3",["1[36]|9"]],["(\\d{2})(\\d{4})(\\d{3})","$1 $2 $3",["3[23]"]],["(\\d{2})(\\d{3,4})(\\d{4})","$1 $2 $3",["16"]],["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["10|23|3(?:[15]|4[57])|4|51"]],["(\\d{3})(\\d{4})(\\d{4})","$1 $2 $3",["34"]],["(\\d{2})(\\d{4,5})(\\d{5})","$1 $2 $3",["[1-35]"]]],0,0,0,0,0,0,[0,["342\\d{4}|(?:337|49)\\d{6}|(?:3(?:2|47|7\\d{3})|50\\d{3})\\d{7}",[7,8,9,10,12]],0,0,0,["348[57]\\d{7}",[11]],0,0,["1(?:3(?:0[0347]|[13][0139]|2[035]|4[013568]|6[0459]|7[06]|8[15-8]|9[0689])\\d{4}|6\\d{5,10})|(?:345\\d|9[89])\\d{6}|(?:10|2(?:3|85\\d)|3(?:[15]|[69]\\d\\d)|4[15-8]|51)\\d{8}"]]],883:["883",0,"(?:[1-4]\\d|51)\\d{6,10}",[8,9,10,11,12],[["(\\d{3})(\\d{3})(\\d{2,8})","$1 $2 $3",["[14]|2[24-689]|3[02-689]|51[24-9]"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["510"]],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["21"]],["(\\d{4})(\\d{4})(\\d{4})","$1 $2 $3",["51[13]"]],["(\\d{3})(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["[235]"]]],0,0,0,0,0,0,[0,0,0,0,0,0,0,0,["(?:2(?:00\\d\\d|10)|(?:370[1-9]|51\\d0)\\d)\\d{7}|51(?:00\\d{5}|[24-9]0\\d{4,7})|(?:1[0-79]|2[24-689]|3[02-689]|4[0-4])0\\d{5,9}"]]],888:["888",0,"\\d{11}",[11],[["(\\d{3})(\\d{3})(\\d{5})","$1 $2 $3"]],0,0,0,0,0,0,[0,0,0,0,0,0,["\\d{11}"]]],979:["979",0,"[1359]\\d{8}",[9],[["(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["[1359]"]]],0,0,0,0,0,0,[0,0,0,["[1359]\\d{8}"]]]}};function q(e,r){var t=Array.prototype.slice.call(r);return t.push(ha),e.apply(this,t)}function _t(e,r){e=e.split("-"),r=r.split("-");for(var t=e[0].split("."),n=r[0].split("."),a=0;a<3;a++){var u=Number(t[a]),i=Number(n[a]);if(u>i)return 1;if(i>u)return-1;if(!isNaN(u)&&isNaN(i))return 1;if(isNaN(u)&&!isNaN(i))return-1}return e[1]&&r[1]?e[1]>r[1]?1:e[1]=e.length?{done:!0}:{done:!1,value:e[n++]}}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. -In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Ia(e,r){if(e){if(typeof e=="string")return Dt(e,r);var t=Object.prototype.toString.call(e).slice(8,-1);if(t==="Object"&&e.constructor&&(t=e.constructor.name),t==="Map"||t==="Set")return Array.from(e);if(t==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return Dt(e,r)}}function Dt(e,r){(r==null||r>e.length)&&(r=e.length);for(var t=0,n=new Array(r);ti?"TOO_SHORT":a[a.length-1]=0?"IS_POSSIBLE":"INVALID_LENGTH"}function Na(e,r,t){if(r===void 0&&(r={}),t=new O(t),r.v2){if(!e.countryCallingCode)throw new Error("Invalid phone number object passed");t.selectNumberingPlan(e.countryCallingCode)}else{if(!e.phone)return!1;if(e.country){if(!t.hasCountry(e.country))throw new Error("Unknown country: ".concat(e.country));t.country(e.country)}else{if(!e.countryCallingCode)throw new Error("Invalid phone number object passed");t.selectNumberingPlan(e.countryCallingCode)}}if(t.possibleLengths())return Wr(e.phone||e.nationalNumber,t);if(e.countryCallingCode&&t.isNonGeographicCallingCode(e.countryCallingCode))return!0;throw new Error('Missing "possibleLengths" in metadata. Perhaps the metadata has been generated before v1.0.18.')}function Wr(e,r){switch(Te(e,r)){case"IS_POSSIBLE":return!0;default:return!1}}function K(e,r){return e=e||"",new RegExp("^(?:"+r+")$").test(e)}function _a(e,r){var t=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(t)return(t=t.call(e)).next.bind(t);if(Array.isArray(e)||(t=Oa(e))||r&&e&&typeof e.length=="number"){t&&(e=t);var n=0;return function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. -In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Oa(e,r){if(e){if(typeof e=="string")return Mt(e,r);var t=Object.prototype.toString.call(e).slice(8,-1);if(t==="Object"&&e.constructor&&(t=e.constructor.name),t==="Map"||t==="Set")return Array.from(e);if(t==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return Mt(e,r)}}function Mt(e,r){(r==null||r>e.length)&&(r=e.length);for(var t=0,n=new Array(r);t=0}var ht=2,Ma=17,Ra=3,M="0-90-9٠-٩۰-۹",xa="-‐-―−ー-",La="//",Ba="..",wa="  ­​⁠ ",Ga="()()[]\\[\\]",ka="~⁓∼~",w="".concat(xa).concat(La).concat(Ba).concat(wa).concat(Ga).concat(ka),De="++",Va=new RegExp("(["+M+"])");function Yr(e,r,t,n){if(r){var a=new O(n);a.selectNumberingPlan(r,t);var u=new RegExp(a.IDDPrefix());if(e.search(u)===0){e=e.slice(e.match(u)[0].length);var i=e.match(Va);if(!(i&&i[1]!=null&&i[1].length>0&&i[1]==="0"))return e}}}function Ze(e,r){if(e&&r.numberingPlan.nationalPrefixForParsing()){var t=new RegExp("^(?:"+r.numberingPlan.nationalPrefixForParsing()+")"),n=t.exec(e);if(n){var a,u,i=n.length-1,d=i>0&&n[i];if(r.nationalPrefixTransformRule()&&d)a=e.replace(t,r.nationalPrefixTransformRule()),i>1&&(u=n[1]);else{var o=n[0];a=e.slice(o.length),d&&(u=n[1])}var l;if(d){var s=e.indexOf(n[1]),h=e.slice(0,s);h===r.numberingPlan.nationalPrefix()&&(l=r.numberingPlan.nationalPrefix())}else l=n[0];return{nationalNumber:a,nationalPrefix:l,carrierCode:u}}}return{nationalNumber:e}}function Je(e,r){var t=Ze(e,r),n=t.carrierCode,a=t.nationalNumber;if(a!==e){if(!Ua(e,a,r))return{nationalNumber:e};if(r.possibleLengths()&&!Ka(a,r))return{nationalNumber:e}}return{nationalNumber:a,carrierCode:n}}function Ua(e,r,t){return!(K(e,t.nationalNumberPattern())&&!K(r,t.nationalNumberPattern()))}function Ka(e,r){switch(Te(e,r)){case"TOO_SHORT":case"INVALID_LENGTH":return!1;default:return!0}}function Zr(e,r,t,n){var a=r?Fe(r,n):t;if(e.indexOf(a)===0){n=new O(n),n.selectNumberingPlan(r,t);var u=e.slice(a.length),i=Je(u,n),d=i.nationalNumber,o=Je(e,n),l=o.nationalNumber;if(!K(l,n.nationalNumberPattern())&&K(d,n.nationalNumberPattern())||Te(l,n)==="TOO_LONG")return{countryCallingCode:a,number:u}}return{number:e}}function mt(e,r,t,n){if(!e)return{};var a;if(e[0]!=="+"){var u=Yr(e,r,t,n);if(u&&u!==e)a=!0,e="+"+u;else{if(r||t){var i=Zr(e,r,t,n),d=i.countryCallingCode,o=i.number;if(d)return{countryCallingCodeSource:"FROM_NUMBER_WITHOUT_PLUS_SIGN",countryCallingCode:d,number:o}}return{number:e}}}if(e[1]==="0")return{};n=new O(n);for(var l=2;l-1<=Ra&&l<=e.length;){var s=e.slice(1,l);if(n.hasCallingCode(s))return n.selectNumberingPlan(s),{countryCallingCodeSource:a?"FROM_NUMBER_WITH_IDD":"FROM_NUMBER_WITH_PLUS_SIGN",countryCallingCode:s,number:e.slice(l)};l++}return{}}function Jr(e){return e.replace(new RegExp("[".concat(w,"]+"),"g")," ").trim()}var Xr=/(\$\d)/;function zr(e,r,t){var n=t.useInternationalFormat,a=t.withNationalPrefix;t.carrierCode,t.metadata;var u=e.replace(new RegExp(r.pattern()),n?r.internationalFormat():a&&r.nationalPrefixFormattingRule()?r.format().replace(Xr,r.nationalPrefixFormattingRule()):r.format());return n?Jr(u):u}var Ha=/^[\d]+(?:[~\u2053\u223C\uFF5E][\d]+)?$/;function ja(e,r,t){var n=new O(t);if(n.selectNumberingPlan(e,r),n.defaultIDDPrefix())return n.defaultIDDPrefix();if(Ha.test(n.IDDPrefix()))return n.IDDPrefix()}var Wa=";ext=",X=function(r){return"([".concat(M,"]{1,").concat(r,"})")};function Qr(e){var r="20",t="15",n="9",a="6",u="[  \\t,]*",i="[:\\..]?[  \\t,-]*",d="#?",o="(?:e?xt(?:ensi(?:ó?|ó))?n?|e?xtn?|доб|anexo)",l="(?:[xx##~~]|int|int)",s="[- ]+",h="[  \\t]*",f="(?:,{2}|;)",v=Wa+X(r),E=u+o+i+X(r)+d,A=u+l+i+X(n)+d,b=s+X(a)+"#",D=h+f+i+X(t)+d,F=h+"(?:,)+"+i+X(n)+d;return v+"|"+E+"|"+A+"|"+b+"|"+D+"|"+F}var Ya="["+M+"]{"+ht+"}",Za="["+De+"]{0,1}(?:["+w+"]*["+M+"]){3,}["+w+M+"]*",Ja=new RegExp("^["+De+"]{0,1}(?:["+w+"]*["+M+"]){1,2}$","i"),Xa=Za+"(?:"+Qr()+")?",za=new RegExp("^"+Ya+"$|^"+Xa+"$","i");function Qa(e){return e.length>=ht&&za.test(e)}function qa(e){return Ja.test(e)}function eu(e){var r=e.number,t=e.ext;if(!r)return"";if(r[0]!=="+")throw new Error('"formatRFC3966()" expects "number" to be in E.164 format.');return"tel:".concat(r).concat(t?";ext="+t:"")}function tu(e,r){var t=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(t)return(t=t.call(e)).next.bind(t);if(Array.isArray(e)||(t=ru(e))||r&&e&&typeof e.length=="number"){t&&(e=t);var n=0;return function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. -In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function ru(e,r){if(e){if(typeof e=="string")return Rt(e,r);var t=Object.prototype.toString.call(e).slice(8,-1);if(t==="Object"&&e.constructor&&(t=e.constructor.name),t==="Map"||t==="Set")return Array.from(e);if(t==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return Rt(e,r)}}function Rt(e,r){(r==null||r>e.length)&&(r=e.length);for(var t=0,n=new Array(r);t0){var u=a.leadingDigitsPatterns()[a.leadingDigitsPatterns().length-1];if(r.search(u)!==0)continue}if(K(r,a.pattern()))return a}}function Be(e,r,t,n){return r?n(e,r,t):e}function iu(e,r,t,n,a){var u=Fe(n,a.metadata);if(u===t){var i=he(e,r,"NATIONAL",a);return t==="1"?t+" "+i:i}var d=ja(n,void 0,a.metadata);if(d)return"".concat(d," ").concat(t," ").concat(he(e,null,"INTERNATIONAL",a))}function wt(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),t.push.apply(t,n)}return t}function Gt(e){for(var r=1;r"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function Eu(e){return Function.toString.call(e).indexOf("[native code]")!==-1}function te(e,r){return te=Object.setPrototypeOf||function(n,a){return n.__proto__=a,n},te(e,r)}function re(e){return re=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)},re(e)}var V=function(e){mu(t,e);var r=vu(t);function t(n){var a;return hu(this,t),a=r.call(this,n),Object.setPrototypeOf(en(a),t.prototype),a.name=a.constructor.name,a}return fu(t)}(ze(Error)),Ut=new RegExp("(?:"+Qr()+")$","i");function pu(e){var r=e.search(Ut);if(r<0)return{};for(var t=e.slice(0,r),n=e.match(Ut),a=1;a=e.length?{done:!0}:{done:!1,value:e[n++]}}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. -In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function yu(e,r){if(e){if(typeof e=="string")return Kt(e,r);var t=Object.prototype.toString.call(e).slice(8,-1);if(t==="Object"&&e.constructor&&(t=e.constructor.name),t==="Map"||t==="Set")return Array.from(e);if(t==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return Kt(e,r)}}function Kt(e,r){(r==null||r>e.length)&&(r=e.length);for(var t=0,n=new Array(r);t=e.length?{done:!0}:{done:!1,value:e[n++]}}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. -In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Iu(e,r){if(e){if(typeof e=="string")return Ht(e,r);var t=Object.prototype.toString.call(e).slice(8,-1);if(t==="Object"&&e.constructor&&(t=e.constructor.name),t==="Map"||t==="Set")return Array.from(e);if(t==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return Ht(e,r)}}function Ht(e,r){(r==null||r>e.length)&&(r=e.length);for(var t=0,n=new Array(r);t=e.length?{done:!0}:{done:!1,value:e[n++]}}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. -In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function _u(e,r){if(e){if(typeof e=="string")return Wt(e,r);var t=Object.prototype.toString.call(e).slice(8,-1);if(t==="Object"&&e.constructor&&(t=e.constructor.name),t==="Map"||t==="Set")return Array.from(e);if(t==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return Wt(e,r)}}function Wt(e,r){(r==null||r>e.length)&&(r=e.length);for(var t=0,n=new Array(r);t=e.length)return"";var n=e.indexOf(";",t);return n>=0?e.substring(t,n):e.substring(t)}function Gu(e){return e===null?!0:e.length===0?!1:Tu.test(e)||Lu.test(e)}function ku(e,r){var t=r.extractFormattedPhoneNumber,n=wu(e);if(!Gu(n))throw new V("NOT_A_NUMBER");var a;if(n===null)a=t(e)||"";else{a="",n.charAt(0)===un&&(a+=n);var u=e.indexOf(Zt),i;u>=0?i=u+Zt.length:i=0;var d=e.indexOf(qe);a+=e.substring(i,d)}var o=a.indexOf(Bu);if(o>0&&(a=a.substring(0,o)),a!=="")return a}var Vu=250,Uu=new RegExp("["+De+M+"]"),Ku=new RegExp("[^"+M+"#]+$");function Hu(e,r,t){if(r=r||{},t=new O(t),r.defaultCountry&&!t.hasCountry(r.defaultCountry))throw r.v2?new V("INVALID_COUNTRY"):new Error("Unknown country: ".concat(r.defaultCountry));var n=Wu(e,r.v2,r.extract),a=n.number,u=n.ext,i=n.error;if(!a){if(r.v2)throw i==="TOO_SHORT"?new V("TOO_SHORT"):new V("NOT_A_NUMBER");return{}}var d=Zu(a,r.defaultCountry,r.defaultCallingCode,t),o=d.country,l=d.nationalNumber,s=d.countryCallingCode,h=d.countryCallingCodeSource,f=d.carrierCode;if(!t.hasSelectedNumberingPlan()){if(r.v2)throw new V("INVALID_COUNTRY");return{}}if(!l||l.lengthMa){if(r.v2)throw new V("TOO_LONG");return{}}if(r.v2){var v=new qr(s,l,t.metadata);return o&&(v.country=o),f&&(v.carrierCode=f),u&&(v.ext=u),v.__countryCallingCodeSource=h,v}var E=(r.extended?t.hasSelectedNumberingPlan():o)?K(l,t.nationalNumberPattern()):!1;return r.extended?{country:o,countryCallingCode:s,carrierCode:f,valid:E,possible:E?!0:!!(r.extended===!0&&t.possibleLengths()&&Wr(l,t)),phone:l,ext:u}:E?Yu(o,l,u):{}}function ju(e,r,t){if(e){if(e.length>Vu){if(t)throw new V("TOO_LONG");return}if(r===!1)return e;var n=e.search(Uu);if(!(n<0))return e.slice(n).replace(Ku,"")}}function Wu(e,r,t){var n=ku(e,{extractFormattedPhoneNumber:function(i){return ju(i,t,r)}});if(!n)return{};if(!Qa(n))return qa(n)?{error:"TOO_SHORT"}:{};var a=pu(n);return a.ext?a:{number:n}}function Yu(e,r,t){var n={country:e,phone:r};return t&&(n.ext=t),n}function Zu(e,r,t,n){var a=mt(jt(e),r,t,n.metadata),u=a.countryCallingCodeSource,i=a.countryCallingCode,d=a.number,o;if(i)n.selectNumberingPlan(i);else if(d&&(r||t))n.selectNumberingPlan(r,t),r&&(o=r),i=t||Fe(r,n.metadata);else return{};if(!d)return{countryCallingCodeSource:u,countryCallingCode:i};var l=Je(jt(d),n),s=l.nationalNumber,h=l.carrierCode,f=an(i,{nationalNumber:s,defaultCountry:r,metadata:n});return f&&(o=f,f==="001"||n.country(o)),{country:o,countryCallingCode:i,countryCallingCodeSource:u,nationalNumber:s,carrierCode:h}}function Jt(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),t.push.apply(t,n)}return t}function Xt(e){for(var r=1;re.length)&&(r=e.length);for(var t=0,n=new Array(r);t=e.length?{done:!0}:{done:!1,value:e[n++]}}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. -In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function $i(e,r){if(e){if(typeof e=="string")return ar(e,r);var t=Object.prototype.toString.call(e).slice(8,-1);if(t==="Object"&&e.constructor&&(t=e.constructor.name),t==="Map"||t==="Set")return Array.from(e);if(t==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return ar(e,r)}}function ar(e,r){(r==null||r>e.length)&&(r=e.length);for(var t=0,n=new Array(r);t1;)r&1&&(t+=e),r>>=1,e+=e;return t+e}function ur(e,r){return e[r]===")"&&r++,fi(e.slice(0,r))}function fi(e){for(var r=[],t=0;t=e.length?{done:!0}:{done:!1,value:e[n++]}}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. -In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function bi(e,r){if(e){if(typeof e=="string")return lr(e,r);var t=Object.prototype.toString.call(e).slice(8,-1);if(t==="Object"&&e.constructor&&(t=e.constructor.name),t==="Map"||t==="Set")return Array.from(e);if(t==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return lr(e,r)}}function lr(e,r){(r==null||r>e.length)&&(r=e.length);for(var t=0,n=new Array(r);t1&&arguments[1]!==void 0?arguments[1]:{},a=n.allowOverflow;if(!t)throw new Error("String is required");var u=et(t.split(""),this.matchTree,!0);if(u&&u.match&&delete u.matchedChars,!(u&&u.overflow&&!a))return u}}]),e}();function et(e,r,t){if(typeof r=="string"){var n=e.join("");return r.indexOf(n)===0?e.length===r.length?{match:!0,matchedChars:e}:{partialMatch:!0}:n.indexOf(r)===0?t&&e.length>r.length?{overflow:!0}:{match:!0,matchedChars:e.slice(0,r.length)}:void 0}if(Array.isArray(r)){for(var a=e.slice(),u=0;u=e.length?{done:!0}:{done:!1,value:e[n++]}}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. -In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Pi(e,r){if(e){if(typeof e=="string")return $r(e,r);var t=Object.prototype.toString.call(e).slice(8,-1);if(t==="Object"&&e.constructor&&(t=e.constructor.name),t==="Map"||t==="Set")return Array.from(e);if(t==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return $r(e,r)}}function $r(e,r){(r==null||r>e.length)&&(r=e.length);for(var t=0,n=new Array(r);t=0)){var a=this.getTemplateForFormat(t,n);if(a)return this.setNationalNumberTemplate(a,n),!0}}},{key:"getSeparatorAfterNationalPrefix",value:function(t){return this.isNANP||t&&t.nationalPrefixFormattingRule()&&Ri.test(t.nationalPrefixFormattingRule())?" ":""}},{key:"getInternationalPrefixBeforeCountryCallingCode",value:function(t,n){var a=t.IDDPrefix,u=t.missingPlus;return a?n&&n.spacing===!1?a:a+" ":u?"":"+"}},{key:"getTemplate",value:function(t){if(this.template){for(var n=-1,a=0,u=t.international?this.getInternationalPrefixBeforeCountryCallingCode(t,{spacing:!1}):"";al.length)){var s=new RegExp("^"+o+"$"),h=a.replace(/\d/g,tt);s.test(h)&&(l=h);var f=this.getFormatFormat(t,u),v;if(this.shouldTryNationalPrefixFormattingRule(t,{international:u,nationalPrefix:i})){var E=f.replace(Xr,t.nationalPrefixFormattingRule());if(me(t.nationalPrefixFormattingRule())===(i||"")+me("$1")&&(f=E,v=!0,i))for(var A=i.length;A>0;)f=f.replace(/\d/,B),A--}var b=l.replace(new RegExp(o),f).replace(new RegExp(tt,"g"),B);return v||(d?b=le(B,d.length)+" "+b:i&&(b=le(B,i.length)+this.getSeparatorAfterNationalPrefix(t)+b)),u&&(b=Jr(b)),b}}},{key:"formatNextNationalNumberDigits",value:function(t){var n=hi(this.populatedNationalNumberTemplate,this.populatedNationalNumberTemplatePosition,t);if(!n){this.resetFormat();return}return this.populatedNationalNumberTemplate=n[0],this.populatedNationalNumberTemplatePosition=n[1],ur(this.populatedNationalNumberTemplate,this.populatedNationalNumberTemplatePosition+1)}},{key:"shouldTryNationalPrefixFormattingRule",value:function(t,n){var a=n.international,u=n.nationalPrefix;if(t.nationalPrefixFormattingRule()){var i=t.usesNationalPrefix();if(i&&u||!i&&!a)return!0}}}]),e}();function ln(e,r){return Ui(e)||Vi(e,r)||ki(e,r)||Gi()}function Gi(){throw new TypeError(`Invalid attempt to destructure non-iterable instance. -In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function ki(e,r){if(e){if(typeof e=="string")return mr(e,r);var t=Object.prototype.toString.call(e).slice(8,-1);if(t==="Object"&&e.constructor&&(t=e.constructor.name),t==="Map"||t==="Set")return Array.from(e);if(t==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return mr(e,r)}}function mr(e,r){(r==null||r>e.length)&&(r=e.length);for(var t=0,n=new Array(r);t=3;if(n.appendDigits(t),u&&this.extractIddPrefix(n),this.isWaitingForCountryCallingCode(n)){if(!this.extractCountryCallingCode(n))return}else n.appendNationalSignificantNumberDigits(t);n.international||this.hasExtractedNationalSignificantNumber||this.extractNationalSignificantNumber(n.getNationalDigits(),function(i){return n.update(i)})}},{key:"isWaitingForCountryCallingCode",value:function(t){var n=t.international,a=t.callingCode;return n&&!a}},{key:"extractCountryCallingCode",value:function(t){var n=mt("+"+t.getDigitsWithoutInternationalPrefix(),this.defaultCountry,this.defaultCallingCode,this.metadata.metadata),a=n.countryCallingCode,u=n.number;if(a)return t.setCallingCode(a),t.update({nationalSignificantNumber:u}),!0}},{key:"reset",value:function(t){if(t){this.hasSelectedNumberingPlan=!0;var n=t._nationalPrefixForParsing();this.couldPossiblyExtractAnotherNationalSignificantNumber=n&&Ji.test(n)}else this.hasSelectedNumberingPlan=void 0,this.couldPossiblyExtractAnotherNationalSignificantNumber=void 0}},{key:"extractNationalSignificantNumber",value:function(t,n){if(this.hasSelectedNumberingPlan){var a=Ze(t,this.metadata),u=a.nationalPrefix,i=a.nationalNumber,d=a.carrierCode;if(i!==t)return this.onExtractedNationalNumber(u,d,i,t,n),!0}}},{key:"extractAnotherNationalSignificantNumber",value:function(t,n,a){if(!this.hasExtractedNationalSignificantNumber)return this.extractNationalSignificantNumber(t,a);if(this.couldPossiblyExtractAnotherNationalSignificantNumber){var u=Ze(t,this.metadata),i=u.nationalPrefix,d=u.nationalNumber,o=u.carrierCode;if(d!==n)return this.onExtractedNationalNumber(i,o,d,t,a),!0}}},{key:"onExtractedNationalNumber",value:function(t,n,a,u,i){var d,o,l=u.lastIndexOf(a);if(l>=0&&l===u.length-a.length){o=!0;var s=u.slice(0,l);s!==t&&(d=s)}i({nationalPrefix:t,carrierCode:n,nationalSignificantNumber:a,nationalSignificantNumberMatchesInput:o,complexPrefixBeforeNationalSignificantNumber:d}),this.hasExtractedNationalSignificantNumber=!0,this.onNationalSignificantNumberChange()}},{key:"reExtractNationalSignificantNumber",value:function(t){if(this.extractAnotherNationalSignificantNumber(t.getNationalDigits(),t.nationalSignificantNumber,function(n){return t.update(n)}))return!0;if(this.extractIddPrefix(t))return this.extractCallingCodeAndNationalSignificantNumber(t),!0;if(this.fixMissingPlus(t))return this.extractCallingCodeAndNationalSignificantNumber(t),!0}},{key:"extractIddPrefix",value:function(t){var n=t.international,a=t.IDDPrefix,u=t.digits;if(t.nationalSignificantNumber,!(n||a)){var i=Yr(u,this.defaultCountry,this.defaultCallingCode,this.metadata.metadata);if(i!==void 0&&i!==u)return t.update({IDDPrefix:u.slice(0,u.length-i.length)}),this.startInternationalNumber(t,{country:void 0,callingCode:void 0}),!0}}},{key:"fixMissingPlus",value:function(t){if(!t.international){var n=Zr(t.digits,this.defaultCountry,this.defaultCallingCode,this.metadata.metadata),a=n.countryCallingCode;if(n.number,a)return t.update({missingPlus:!0}),this.startInternationalNumber(t,{country:t.country,callingCode:a}),!0}}},{key:"startInternationalNumber",value:function(t,n){var a=n.country,u=n.callingCode;t.startInternationalNumber(a,u),t.nationalSignificantNumber&&(t.resetNationalSignificantNumber(),this.onNationalSignificantNumberChange(),this.hasExtractedNationalSignificantNumber=void 0)}},{key:"extractCallingCodeAndNationalSignificantNumber",value:function(t){this.extractCountryCallingCode(t)&&this.extractNationalSignificantNumber(t.getNationalDigits(),function(n){return t.update(n)})}}]),e}();function zi(e){var r=e.search(Yi);if(!(r<0)){e=e.slice(r);var t;return e[0]==="+"&&(t=!0,e=e.slice(1)),e=e.replace(Zi,""),t&&(e="+"+e),e}}function Qi(e){var r=zi(e)||"";return r[0]==="+"?[r.slice(1),!0]:[r]}function qi(e){var r=Qi(e),t=ln(r,2),n=t[0],a=t[1];return Wi.test(n)||(n=""),[n,a]}function e1(e,r){return a1(e)||n1(e,r)||r1(e,r)||t1()}function t1(){throw new TypeError(`Invalid attempt to destructure non-iterable instance. -In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function r1(e,r){if(e){if(typeof e=="string")return gr(e,r);var t=Object.prototype.toString.call(e).slice(8,-1);if(t==="Object"&&e.constructor&&(t=e.constructor.name),t==="Map"||t==="Set")return Array.from(e);if(t==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return gr(e,r)}}function gr(e,r){(r==null||r>e.length)&&(r=e.length);for(var t=0,n=new Array(r);t1}},{key:"determineTheCountry",value:function(){this.state.setCountry(an(this.isInternational()?this.state.callingCode:this.defaultCallingCode,{nationalNumber:this.state.nationalSignificantNumber,defaultCountry:this.defaultCountry,metadata:this.metadata}))}},{key:"getNumberValue",value:function(){var t=this.state,n=t.digits,a=t.callingCode,u=t.country,i=t.nationalSignificantNumber;if(n){if(this.isInternational())return a?"+"+a+i:"+"+n;if(u||a){var d=u?this.metadata.countryCallingCode():a;return"+"+d+i}}}},{key:"getNumber",value:function(){var t=this.state,n=t.nationalSignificantNumber,a=t.carrierCode,u=t.callingCode,i=this._getCountry();if(n&&!(!i&&!u)){if(i&&i===this.defaultCountry){var d=new O(this.metadata.metadata);d.selectNumberingPlan(i);var o=d.numberingPlan.callingCode(),l=this.metadata.getCountryCodesForCallingCode(o);if(l.length>1){var s=nn(n,{countries:l,defaultCountry:this.defaultCountry,metadata:this.metadata.metadata});s&&(i=s)}}var h=new qr(i||u,n,this.metadata.metadata);return a&&(h.carrierCode=a),h}}},{key:"isPossible",value:function(){var t=this.getNumber();return t?t.isPossible():!1}},{key:"isValid",value:function(){var t=this.getNumber();return t?t.isValid():!1}},{key:"getNationalNumber",value:function(){return this.state.nationalSignificantNumber}},{key:"getChars",value:function(){return(this.state.international?"+":"")+this.state.digits}},{key:"getTemplate",value:function(){return this.formatter.getTemplate(this.state)||this.getNonFormattedTemplate()||""}}]),e}();function o1(e){return new O(e).getCountries()}function l1(e,r,t){return t||(t=r,r=void 0),new d1(r,t).input(e)}function pr(){return q(ni,arguments)}function ve(){return q(di,arguments)}function rt(){return q(Kr,arguments)}function s1(){return q(o1,arguments)}function se(){return q(Fe,arguments)}function Cr(){return q(l1,arguments)}var H={};const c1=[["AF","AFG","004","ISO 3166-2:AF"],["AL","ALB","008","ISO 3166-2:AL"],["DZ","DZA","012","ISO 3166-2:DZ"],["AS","ASM","016","ISO 3166-2:AS"],["AD","AND","020","ISO 3166-2:AD"],["AO","AGO","024","ISO 3166-2:AO"],["AI","AIA","660","ISO 3166-2:AI"],["AQ","ATA","010","ISO 3166-2:AQ"],["AG","ATG","028","ISO 3166-2:AG"],["AR","ARG","032","ISO 3166-2:AR"],["AM","ARM","051","ISO 3166-2:AM"],["AW","ABW","533","ISO 3166-2:AW"],["AU","AUS","036","ISO 3166-2:AU"],["AT","AUT","040","ISO 3166-2:AT"],["AZ","AZE","031","ISO 3166-2:AZ"],["BS","BHS","044","ISO 3166-2:BS"],["BH","BHR","048","ISO 3166-2:BH"],["BD","BGD","050","ISO 3166-2:BD"],["BB","BRB","052","ISO 3166-2:BB"],["BY","BLR","112","ISO 3166-2:BY"],["BE","BEL","056","ISO 3166-2:BE"],["BZ","BLZ","084","ISO 3166-2:BZ"],["BJ","BEN","204","ISO 3166-2:BJ"],["BM","BMU","060","ISO 3166-2:BM"],["BT","BTN","064","ISO 3166-2:BT"],["BO","BOL","068","ISO 3166-2:BO"],["BA","BIH","070","ISO 3166-2:BA"],["BW","BWA","072","ISO 3166-2:BW"],["BV","BVT","074","ISO 3166-2:BV"],["BR","BRA","076","ISO 3166-2:BR"],["IO","IOT","086","ISO 3166-2:IO"],["BN","BRN","096","ISO 3166-2:BN"],["BG","BGR","100","ISO 3166-2:BG"],["BF","BFA","854","ISO 3166-2:BF"],["BI","BDI","108","ISO 3166-2:BI"],["KH","KHM","116","ISO 3166-2:KH"],["CM","CMR","120","ISO 3166-2:CM"],["CA","CAN","124","ISO 3166-2:CA"],["CV","CPV","132","ISO 3166-2:CV"],["KY","CYM","136","ISO 3166-2:KY"],["CF","CAF","140","ISO 3166-2:CF"],["TD","TCD","148","ISO 3166-2:TD"],["CL","CHL","152","ISO 3166-2:CL"],["CN","CHN","156","ISO 3166-2:CN"],["CX","CXR","162","ISO 3166-2:CX"],["CC","CCK","166","ISO 3166-2:CC"],["CO","COL","170","ISO 3166-2:CO"],["KM","COM","174","ISO 3166-2:KM"],["CG","COG","178","ISO 3166-2:CG"],["CD","COD","180","ISO 3166-2:CD"],["CK","COK","184","ISO 3166-2:CK"],["CR","CRI","188","ISO 3166-2:CR"],["CI","CIV","384","ISO 3166-2:CI"],["HR","HRV","191","ISO 3166-2:HR"],["CU","CUB","192","ISO 3166-2:CU"],["CY","CYP","196","ISO 3166-2:CY"],["CZ","CZE","203","ISO 3166-2:CZ"],["DK","DNK","208","ISO 3166-2:DK"],["DJ","DJI","262","ISO 3166-2:DJ"],["DM","DMA","212","ISO 3166-2:DM"],["DO","DOM","214","ISO 3166-2:DO"],["EC","ECU","218","ISO 3166-2:EC"],["EG","EGY","818","ISO 3166-2:EG"],["SV","SLV","222","ISO 3166-2:SV"],["GQ","GNQ","226","ISO 3166-2:GQ"],["ER","ERI","232","ISO 3166-2:ER"],["EE","EST","233","ISO 3166-2:EE"],["ET","ETH","231","ISO 3166-2:ET"],["FK","FLK","238","ISO 3166-2:FK"],["FO","FRO","234","ISO 3166-2:FO"],["FJ","FJI","242","ISO 3166-2:FJ"],["FI","FIN","246","ISO 3166-2:FI"],["FR","FRA","250","ISO 3166-2:FR"],["GF","GUF","254","ISO 3166-2:GF"],["PF","PYF","258","ISO 3166-2:PF"],["TF","ATF","260","ISO 3166-2:TF"],["GA","GAB","266","ISO 3166-2:GA"],["GM","GMB","270","ISO 3166-2:GM"],["GE","GEO","268","ISO 3166-2:GE"],["DE","DEU","276","ISO 3166-2:DE"],["GH","GHA","288","ISO 3166-2:GH"],["GI","GIB","292","ISO 3166-2:GI"],["GR","GRC","300","ISO 3166-2:GR"],["GL","GRL","304","ISO 3166-2:GL"],["GD","GRD","308","ISO 3166-2:GD"],["GP","GLP","312","ISO 3166-2:GP"],["GU","GUM","316","ISO 3166-2:GU"],["GT","GTM","320","ISO 3166-2:GT"],["GN","GIN","324","ISO 3166-2:GN"],["GW","GNB","624","ISO 3166-2:GW"],["GY","GUY","328","ISO 3166-2:GY"],["HT","HTI","332","ISO 3166-2:HT"],["HM","HMD","334","ISO 3166-2:HM"],["VA","VAT","336","ISO 3166-2:VA"],["HN","HND","340","ISO 3166-2:HN"],["HK","HKG","344","ISO 3166-2:HK"],["HU","HUN","348","ISO 3166-2:HU"],["IS","ISL","352","ISO 3166-2:IS"],["IN","IND","356","ISO 3166-2:IN"],["ID","IDN","360","ISO 3166-2:ID"],["IR","IRN","364","ISO 3166-2:IR"],["IQ","IRQ","368","ISO 3166-2:IQ"],["IE","IRL","372","ISO 3166-2:IE"],["IL","ISR","376","ISO 3166-2:IL"],["IT","ITA","380","ISO 3166-2:IT"],["JM","JAM","388","ISO 3166-2:JM"],["JP","JPN","392","ISO 3166-2:JP"],["JO","JOR","400","ISO 3166-2:JO"],["KZ","KAZ","398","ISO 3166-2:KZ"],["KE","KEN","404","ISO 3166-2:KE"],["KI","KIR","296","ISO 3166-2:KI"],["KP","PRK","408","ISO 3166-2:KP"],["KR","KOR","410","ISO 3166-2:KR"],["KW","KWT","414","ISO 3166-2:KW"],["KG","KGZ","417","ISO 3166-2:KG"],["LA","LAO","418","ISO 3166-2:LA"],["LV","LVA","428","ISO 3166-2:LV"],["LB","LBN","422","ISO 3166-2:LB"],["LS","LSO","426","ISO 3166-2:LS"],["LR","LBR","430","ISO 3166-2:LR"],["LY","LBY","434","ISO 3166-2:LY"],["LI","LIE","438","ISO 3166-2:LI"],["LT","LTU","440","ISO 3166-2:LT"],["LU","LUX","442","ISO 3166-2:LU"],["MO","MAC","446","ISO 3166-2:MO"],["MG","MDG","450","ISO 3166-2:MG"],["MW","MWI","454","ISO 3166-2:MW"],["MY","MYS","458","ISO 3166-2:MY"],["MV","MDV","462","ISO 3166-2:MV"],["ML","MLI","466","ISO 3166-2:ML"],["MT","MLT","470","ISO 3166-2:MT"],["MH","MHL","584","ISO 3166-2:MH"],["MQ","MTQ","474","ISO 3166-2:MQ"],["MR","MRT","478","ISO 3166-2:MR"],["MU","MUS","480","ISO 3166-2:MU"],["YT","MYT","175","ISO 3166-2:YT"],["MX","MEX","484","ISO 3166-2:MX"],["FM","FSM","583","ISO 3166-2:FM"],["MD","MDA","498","ISO 3166-2:MD"],["MC","MCO","492","ISO 3166-2:MC"],["MN","MNG","496","ISO 3166-2:MN"],["MS","MSR","500","ISO 3166-2:MS"],["MA","MAR","504","ISO 3166-2:MA"],["MZ","MOZ","508","ISO 3166-2:MZ"],["MM","MMR","104","ISO 3166-2:MM"],["NA","NAM","516","ISO 3166-2:NA"],["NR","NRU","520","ISO 3166-2:NR"],["NP","NPL","524","ISO 3166-2:NP"],["NL","NLD","528","ISO 3166-2:NL"],["NC","NCL","540","ISO 3166-2:NC"],["NZ","NZL","554","ISO 3166-2:NZ"],["NI","NIC","558","ISO 3166-2:NI"],["NE","NER","562","ISO 3166-2:NE"],["NG","NGA","566","ISO 3166-2:NG"],["NU","NIU","570","ISO 3166-2:NU"],["NF","NFK","574","ISO 3166-2:NF"],["MP","MNP","580","ISO 3166-2:MP"],["MK","MKD","807","ISO 3166-2:MK"],["NO","NOR","578","ISO 3166-2:NO"],["OM","OMN","512","ISO 3166-2:OM"],["PK","PAK","586","ISO 3166-2:PK"],["PW","PLW","585","ISO 3166-2:PW"],["PS","PSE","275","ISO 3166-2:PS"],["PA","PAN","591","ISO 3166-2:PA"],["PG","PNG","598","ISO 3166-2:PG"],["PY","PRY","600","ISO 3166-2:PY"],["PE","PER","604","ISO 3166-2:PE"],["PH","PHL","608","ISO 3166-2:PH"],["PN","PCN","612","ISO 3166-2:PN"],["PL","POL","616","ISO 3166-2:PL"],["PT","PRT","620","ISO 3166-2:PT"],["PR","PRI","630","ISO 3166-2:PR"],["QA","QAT","634","ISO 3166-2:QA"],["RE","REU","638","ISO 3166-2:RE"],["RO","ROU","642","ISO 3166-2:RO"],["RU","RUS","643","ISO 3166-2:RU"],["RW","RWA","646","ISO 3166-2:RW"],["SH","SHN","654","ISO 3166-2:SH"],["KN","KNA","659","ISO 3166-2:KN"],["LC","LCA","662","ISO 3166-2:LC"],["PM","SPM","666","ISO 3166-2:PM"],["VC","VCT","670","ISO 3166-2:VC"],["WS","WSM","882","ISO 3166-2:WS"],["SM","SMR","674","ISO 3166-2:SM"],["ST","STP","678","ISO 3166-2:ST"],["SA","SAU","682","ISO 3166-2:SA"],["SN","SEN","686","ISO 3166-2:SN"],["SC","SYC","690","ISO 3166-2:SC"],["SL","SLE","694","ISO 3166-2:SL"],["SG","SGP","702","ISO 3166-2:SG"],["SK","SVK","703","ISO 3166-2:SK"],["SI","SVN","705","ISO 3166-2:SI"],["SB","SLB","090","ISO 3166-2:SB"],["SO","SOM","706","ISO 3166-2:SO"],["ZA","ZAF","710","ISO 3166-2:ZA"],["GS","SGS","239","ISO 3166-2:GS"],["ES","ESP","724","ISO 3166-2:ES"],["LK","LKA","144","ISO 3166-2:LK"],["SD","SDN","729","ISO 3166-2:SD"],["SR","SUR","740","ISO 3166-2:SR"],["SJ","SJM","744","ISO 3166-2:SJ"],["SZ","SWZ","748","ISO 3166-2:SZ"],["SE","SWE","752","ISO 3166-2:SE"],["CH","CHE","756","ISO 3166-2:CH"],["SY","SYR","760","ISO 3166-2:SY"],["TW","TWN","158","ISO 3166-2:TW"],["TJ","TJK","762","ISO 3166-2:TJ"],["TZ","TZA","834","ISO 3166-2:TZ"],["TH","THA","764","ISO 3166-2:TH"],["TL","TLS","626","ISO 3166-2:TL"],["TG","TGO","768","ISO 3166-2:TG"],["TK","TKL","772","ISO 3166-2:TK"],["TO","TON","776","ISO 3166-2:TO"],["TT","TTO","780","ISO 3166-2:TT"],["TN","TUN","788","ISO 3166-2:TN"],["TR","TUR","792","ISO 3166-2:TR"],["TM","TKM","795","ISO 3166-2:TM"],["TC","TCA","796","ISO 3166-2:TC"],["TV","TUV","798","ISO 3166-2:TV"],["UG","UGA","800","ISO 3166-2:UG"],["UA","UKR","804","ISO 3166-2:UA"],["AE","ARE","784","ISO 3166-2:AE"],["GB","GBR","826","ISO 3166-2:GB"],["US","USA","840","ISO 3166-2:US"],["UM","UMI","581","ISO 3166-2:UM"],["UY","URY","858","ISO 3166-2:UY"],["UZ","UZB","860","ISO 3166-2:UZ"],["VU","VUT","548","ISO 3166-2:VU"],["VE","VEN","862","ISO 3166-2:VE"],["VN","VNM","704","ISO 3166-2:VN"],["VG","VGB","092","ISO 3166-2:VG"],["VI","VIR","850","ISO 3166-2:VI"],["WF","WLF","876","ISO 3166-2:WF"],["EH","ESH","732","ISO 3166-2:EH"],["YE","YEM","887","ISO 3166-2:YE"],["ZM","ZMB","894","ISO 3166-2:ZM"],["ZW","ZWE","716","ISO 3166-2:ZW"],["AX","ALA","248","ISO 3166-2:AX"],["BQ","BES","535","ISO 3166-2:BQ"],["CW","CUW","531","ISO 3166-2:CW"],["GG","GGY","831","ISO 3166-2:GG"],["IM","IMN","833","ISO 3166-2:IM"],["JE","JEY","832","ISO 3166-2:JE"],["ME","MNE","499","ISO 3166-2:ME"],["BL","BLM","652","ISO 3166-2:BL"],["MF","MAF","663","ISO 3166-2:MF"],["RS","SRB","688","ISO 3166-2:RS"],["SX","SXM","534","ISO 3166-2:SX"],["SS","SSD","728","ISO 3166-2:SS"],["XK","XKK","983","ISO 3166-2:XK"]],$1=["br","cy","dv","sw","eu","af","am","ha","ku","ml","mt","no","ps","sd","so","sq","ta","tg","tt","ug","ur","vi","ar","az","be","bg","bn","bs","ca","cs","da","de","el","en","es","et","fa","fi","fr","ga","gl","he","hi","hr","hu","hy","id","is","it","ja","ka","kk","km","ko","ky","lt","lv","mk","mn","mr","ms","nb","nl","nn","pl","pt","ro","ru","sk","sl","sr","sv","th","tk","tr","uk","uz","zh"];var Me={};Me.remove=f1;var ce=[{base:" ",chars:" "},{base:"0",chars:"߀"},{base:"A",chars:"ⒶAÀÁÂẦẤẪẨÃĀĂẰẮẴẲȦǠÄǞẢÅǺǍȀȂẠẬẶḀĄȺⱯ"},{base:"AA",chars:"Ꜳ"},{base:"AE",chars:"ÆǼǢ"},{base:"AO",chars:"Ꜵ"},{base:"AU",chars:"Ꜷ"},{base:"AV",chars:"ꜸꜺ"},{base:"AY",chars:"Ꜽ"},{base:"B",chars:"ⒷBḂḄḆɃƁ"},{base:"C",chars:"ⒸCꜾḈĆCĈĊČÇƇȻ"},{base:"D",chars:"ⒹDḊĎḌḐḒḎĐƊƉᴅꝹ"},{base:"Dh",chars:"Ð"},{base:"DZ",chars:"DZDŽ"},{base:"Dz",chars:"DzDž"},{base:"E",chars:"ɛⒺEÈÉÊỀẾỄỂẼĒḔḖĔĖËẺĚȄȆẸỆȨḜĘḘḚƐƎᴇ"},{base:"F",chars:"ꝼⒻFḞƑꝻ"},{base:"G",chars:"ⒼGǴĜḠĞĠǦĢǤƓꞠꝽꝾɢ"},{base:"H",chars:"ⒽHĤḢḦȞḤḨḪĦⱧⱵꞍ"},{base:"I",chars:"ⒾIÌÍÎĨĪĬİÏḮỈǏȈȊỊĮḬƗ"},{base:"J",chars:"ⒿJĴɈȷ"},{base:"K",chars:"ⓀKḰǨḲĶḴƘⱩꝀꝂꝄꞢ"},{base:"L",chars:"ⓁLĿĹĽḶḸĻḼḺŁȽⱢⱠꝈꝆꞀ"},{base:"LJ",chars:"LJ"},{base:"Lj",chars:"Lj"},{base:"M",chars:"ⓂMḾṀṂⱮƜϻ"},{base:"N",chars:"ꞤȠⓃNǸŃÑṄŇṆŅṊṈƝꞐᴎ"},{base:"NJ",chars:"NJ"},{base:"Nj",chars:"Nj"},{base:"O",chars:"ⓄOÒÓÔỒỐỖỔÕṌȬṎŌṐṒŎȮȰÖȪỎŐǑȌȎƠỜỚỠỞỢỌỘǪǬØǾƆƟꝊꝌ"},{base:"OE",chars:"Œ"},{base:"OI",chars:"Ƣ"},{base:"OO",chars:"Ꝏ"},{base:"OU",chars:"Ȣ"},{base:"P",chars:"ⓅPṔṖƤⱣꝐꝒꝔ"},{base:"Q",chars:"ⓆQꝖꝘɊ"},{base:"R",chars:"ⓇRŔṘŘȐȒṚṜŖṞɌⱤꝚꞦꞂ"},{base:"S",chars:"ⓈSẞŚṤŜṠŠṦṢṨȘŞⱾꞨꞄ"},{base:"T",chars:"ⓉTṪŤṬȚŢṰṮŦƬƮȾꞆ"},{base:"Th",chars:"Þ"},{base:"TZ",chars:"Ꜩ"},{base:"U",chars:"ⓊUÙÚÛŨṸŪṺŬÜǛǗǕǙỦŮŰǓȔȖƯỪỨỮỬỰỤṲŲṶṴɄ"},{base:"V",chars:"ⓋVṼṾƲꝞɅ"},{base:"VY",chars:"Ꝡ"},{base:"W",chars:"ⓌWẀẂŴẆẄẈⱲ"},{base:"X",chars:"ⓍXẊẌ"},{base:"Y",chars:"ⓎYỲÝŶỸȲẎŸỶỴƳɎỾ"},{base:"Z",chars:"ⓏZŹẐŻŽẒẔƵȤⱿⱫꝢ"},{base:"a",chars:"ⓐaẚàáâầấẫẩãāăằắẵẳȧǡäǟảåǻǎȁȃạậặḁąⱥɐɑ"},{base:"aa",chars:"ꜳ"},{base:"ae",chars:"æǽǣ"},{base:"ao",chars:"ꜵ"},{base:"au",chars:"ꜷ"},{base:"av",chars:"ꜹꜻ"},{base:"ay",chars:"ꜽ"},{base:"b",chars:"ⓑbḃḅḇƀƃɓƂ"},{base:"c",chars:"cⓒćĉċčçḉƈȼꜿↄ"},{base:"d",chars:"ⓓdḋďḍḑḓḏđƌɖɗƋᏧԁꞪ"},{base:"dh",chars:"ð"},{base:"dz",chars:"dzdž"},{base:"e",chars:"ⓔeèéêềếễểẽēḕḗĕėëẻěȅȇẹệȩḝęḙḛɇǝ"},{base:"f",chars:"ⓕfḟƒ"},{base:"ff",chars:"ff"},{base:"fi",chars:"fi"},{base:"fl",chars:"fl"},{base:"ffi",chars:"ffi"},{base:"ffl",chars:"ffl"},{base:"g",chars:"ⓖgǵĝḡğġǧģǥɠꞡꝿᵹ"},{base:"h",chars:"ⓗhĥḣḧȟḥḩḫẖħⱨⱶɥ"},{base:"hv",chars:"ƕ"},{base:"i",chars:"ⓘiìíîĩīĭïḯỉǐȉȋịįḭɨı"},{base:"j",chars:"ⓙjĵǰɉ"},{base:"k",chars:"ⓚkḱǩḳķḵƙⱪꝁꝃꝅꞣ"},{base:"l",chars:"ⓛlŀĺľḷḹļḽḻſłƚɫⱡꝉꞁꝇɭ"},{base:"lj",chars:"lj"},{base:"m",chars:"ⓜmḿṁṃɱɯ"},{base:"n",chars:"ⓝnǹńñṅňṇņṋṉƞɲʼnꞑꞥлԉ"},{base:"nj",chars:"nj"},{base:"o",chars:"ⓞoòóôồốỗổõṍȭṏōṑṓŏȯȱöȫỏőǒȍȏơờớỡởợọộǫǭøǿꝋꝍɵɔᴑ"},{base:"oe",chars:"œ"},{base:"oi",chars:"ƣ"},{base:"oo",chars:"ꝏ"},{base:"ou",chars:"ȣ"},{base:"p",chars:"ⓟpṕṗƥᵽꝑꝓꝕρ"},{base:"q",chars:"ⓠqɋꝗꝙ"},{base:"r",chars:"ⓡrŕṙřȑȓṛṝŗṟɍɽꝛꞧꞃ"},{base:"s",chars:"ⓢsśṥŝṡšṧṣṩșşȿꞩꞅẛʂ"},{base:"ss",chars:"ß"},{base:"t",chars:"ⓣtṫẗťṭțţṱṯŧƭʈⱦꞇ"},{base:"th",chars:"þ"},{base:"tz",chars:"ꜩ"},{base:"u",chars:"ⓤuùúûũṹūṻŭüǜǘǖǚủůűǔȕȗưừứữửựụṳųṷṵʉ"},{base:"v",chars:"ⓥvṽṿʋꝟʌ"},{base:"vy",chars:"ꝡ"},{base:"w",chars:"ⓦwẁẃŵẇẅẘẉⱳ"},{base:"x",chars:"ⓧxẋẍ"},{base:"y",chars:"ⓨyỳýŷỹȳẏÿỷẙỵƴɏỿ"},{base:"z",chars:"ⓩzźẑżžẓẕƶȥɀⱬꝣ"}],vt={};for(var ie=0;ieC.toLowerCase(),N=(C,_)=>p(C)===p(_);try{const C=a[m.toLowerCase()];for(const _ in C)if(s(C,_)){if(typeof C[_]=="string"&&N(C[_],c))return _;if(Array.isArray(C[_])){for(const W of C[_])if(N(W,c))return _}}return}catch{return}},e.getSimpleAlpha2Code=function(c,m){const p=C=>n(C.toLowerCase()),N=(C,_)=>p(C)===p(_);try{const C=a[m.toLowerCase()];for(const _ in C)if(s(C,_)){if(typeof C[_]=="string"&&N(C[_],c))return _;if(Array.isArray(C[_])){for(const W of C[_])if(N(W,c))return _}}return}catch{return}},e.getAlpha2Codes=function(){return u},e.getAlpha3Code=function(c,m){const p=e.getAlpha2Code(c,m);if(p)return e.toAlpha3(p)},e.getSimpleAlpha3Code=function(c,m){const p=e.getSimpleAlpha2Code(c,m);if(p)return e.toAlpha3(p)},e.getAlpha3Codes=function(){return i},e.getNumericCodes=function(){return d},e.langs=function(){return Object.keys(a)},e.getSupportedLanguages=function(){return t},e.isValid=function(c){if(!c)return!1;const m=c.toString().toUpperCase();return s(i,m)||s(u,m)||s(d,m)}})(H);const sn="en",cn={AF:"Afghanistan",AL:"Albania",DZ:"Algeria",AS:"American Samoa",AD:"Andorra",AO:"Angola",AI:"Anguilla",AQ:"Antarctica",AG:"Antigua and Barbuda",AR:"Argentina",AM:"Armenia",AW:"Aruba",AU:"Australia",AT:"Austria",AZ:"Azerbaijan",BS:"Bahamas",BH:"Bahrain",BD:"Bangladesh",BB:"Barbados",BY:"Belarus",BE:"Belgium",BZ:"Belize",BJ:"Benin",BM:"Bermuda",BT:"Bhutan",BO:"Bolivia",BA:"Bosnia and Herzegovina",BW:"Botswana",BV:"Bouvet Island",BR:"Brazil",IO:"British Indian Ocean Territory",BN:"Brunei Darussalam",BG:"Bulgaria",BF:"Burkina Faso",BI:"Burundi",KH:"Cambodia",CM:"Cameroon",CA:"Canada",CV:"Cape Verde",KY:"Cayman Islands",CF:"Central African Republic",TD:"Chad",CL:"Chile",CN:["People's Republic of China","China"],CX:"Christmas Island",CC:"Cocos (Keeling) Islands",CO:"Colombia",KM:"Comoros",CG:["Republic of the Congo","Congo"],CD:["Democratic Republic of the Congo","Congo"],CK:"Cook Islands",CR:"Costa Rica",CI:["Cote d'Ivoire","Côte d'Ivoire","Ivory Coast"],HR:"Croatia",CU:"Cuba",CY:"Cyprus",CZ:["Czech Republic","Czechia"],DK:"Denmark",DJ:"Djibouti",DM:"Dominica",DO:"Dominican Republic",EC:"Ecuador",EG:"Egypt",SV:"El Salvador",GQ:"Equatorial Guinea",ER:"Eritrea",EE:"Estonia",ET:"Ethiopia",FK:"Falkland Islands (Malvinas)",FO:"Faroe Islands",FJ:"Fiji",FI:"Finland",FR:"France",GF:"French Guiana",PF:"French Polynesia",TF:"French Southern Territories",GA:"Gabon",GM:["Republic of The Gambia","The Gambia","Gambia"],GE:"Georgia",DE:"Germany",GH:"Ghana",GI:"Gibraltar",GR:"Greece",GL:"Greenland",GD:"Grenada",GP:"Guadeloupe",GU:"Guam",GT:"Guatemala",GN:"Guinea",GW:"Guinea-Bissau",GY:"Guyana",HT:"Haiti",HM:"Heard Island and McDonald Islands",VA:"Holy See (Vatican City State)",HN:"Honduras",HK:"Hong Kong",HU:"Hungary",IS:"Iceland",IN:"India",ID:"Indonesia",IR:["Islamic Republic of Iran","Iran"],IQ:"Iraq",IE:"Ireland",IL:"Israel",IT:"Italy",JM:"Jamaica",JP:"Japan",JO:"Jordan",KZ:"Kazakhstan",KE:"Kenya",KI:"Kiribati",KP:"North Korea",KR:["South Korea","Korea, Republic of","Republic of Korea"],KW:"Kuwait",KG:"Kyrgyzstan",LA:"Lao People's Democratic Republic",LV:"Latvia",LB:"Lebanon",LS:"Lesotho",LR:"Liberia",LY:"Libya",LI:"Liechtenstein",LT:"Lithuania",LU:"Luxembourg",MO:"Macao",MG:"Madagascar",MW:"Malawi",MY:"Malaysia",MV:"Maldives",ML:"Mali",MT:"Malta",MH:"Marshall Islands",MQ:"Martinique",MR:"Mauritania",MU:"Mauritius",YT:"Mayotte",MX:"Mexico",FM:"Micronesia, Federated States of",MD:"Moldova, Republic of",MC:"Monaco",MN:"Mongolia",MS:"Montserrat",MA:"Morocco",MZ:"Mozambique",MM:"Myanmar",NA:"Namibia",NR:"Nauru",NP:"Nepal",NL:["Netherlands","The Netherlands","Netherlands (Kingdom of the)"],NC:"New Caledonia",NZ:"New Zealand",NI:"Nicaragua",NE:"Niger",NG:"Nigeria",NU:"Niue",NF:"Norfolk Island",MK:["The Republic of North Macedonia","North Macedonia"],MP:"Northern Mariana Islands",NO:"Norway",OM:"Oman",PK:"Pakistan",PW:"Palau",PS:["State of Palestine","Palestine"],PA:"Panama",PG:"Papua New Guinea",PY:"Paraguay",PE:"Peru",PH:"Philippines",PN:["Pitcairn","Pitcairn Islands"],PL:"Poland",PT:"Portugal",PR:"Puerto Rico",QA:"Qatar",RE:"Reunion",RO:"Romania",RU:["Russian Federation","Russia"],RW:"Rwanda",SH:"Saint Helena",KN:"Saint Kitts and Nevis",LC:"Saint Lucia",PM:"Saint Pierre and Miquelon",VC:"Saint Vincent and the Grenadines",WS:"Samoa",SM:"San Marino",ST:"Sao Tome and Principe",SA:"Saudi Arabia",SN:"Senegal",SC:"Seychelles",SL:"Sierra Leone",SG:"Singapore",SK:"Slovakia",SI:"Slovenia",SB:"Solomon Islands",SO:"Somalia",ZA:"South Africa",GS:"South Georgia and the South Sandwich Islands",ES:"Spain",LK:"Sri Lanka",SD:"Sudan",SR:"Suriname",SJ:"Svalbard and Jan Mayen",SZ:"Eswatini",SE:"Sweden",CH:"Switzerland",SY:"Syrian Arab Republic",TW:["Taiwan, Province of China","Taiwan"],TJ:"Tajikistan",TZ:["United Republic of Tanzania","Tanzania"],TH:"Thailand",TL:"Timor-Leste",TG:"Togo",TK:"Tokelau",TO:"Tonga",TT:"Trinidad and Tobago",TN:"Tunisia",TR:["Türkiye","Turkey"],TM:"Turkmenistan",TC:"Turks and Caicos Islands",TV:"Tuvalu",UG:"Uganda",UA:"Ukraine",AE:["United Arab Emirates","UAE"],GB:["United Kingdom","UK","Great Britain"],US:["United States of America","United States","USA","U.S.A.","US","U.S."],UM:"United States Minor Outlying Islands",UY:"Uruguay",UZ:"Uzbekistan",VU:"Vanuatu",VE:"Venezuela",VN:"Vietnam",VG:"Virgin Islands, British",VI:"Virgin Islands, U.S.",WF:"Wallis and Futuna",EH:"Western Sahara",YE:"Yemen",ZM:"Zambia",ZW:"Zimbabwe",AX:["Åland Islands","Aland Islands"],BQ:"Bonaire, Sint Eustatius and Saba",CW:"Curaçao",GG:"Guernsey",IM:"Isle of Man",JE:"Jersey",ME:"Montenegro",BL:"Saint Barthélemy",MF:"Saint Martin (French part)",RS:"Serbia",SX:"Sint Maarten (Dutch part)",SS:"South Sudan",XK:"Kosovo"},$n={locale:sn,countries:cn},h1=Object.freeze(Object.defineProperty({__proto__:null,countries:cn,default:$n,locale:sn},Symbol.toStringTag,{value:"Module"}));async function nt(e){if(H.langs().includes(e))return;const r=await at(e);H.registerLocale(r)}function at(e){switch(e){case"af":return $(()=>import("./af-efae30b6.js"),[],import.meta.url);case"az":return $(()=>import("./az-60267468.js"),[],import.meta.url);case"bn":return $(()=>import("./bn-776ec0f8.js"),[],import.meta.url);case"cs":return $(()=>import("./cs-37bc9e89.js"),[],import.meta.url);case"de":return $(()=>import("./de-e2596085.js"),[],import.meta.url);case"en":return $(()=>Promise.resolve().then(()=>h1),void 0,import.meta.url);case"eu":return $(()=>import("./eu-2514a651.js"),[],import.meta.url);case"fr":return $(()=>import("./fr-d18a46e4.js"),[],import.meta.url);case"he":return $(()=>import("./he-4e4bebd7.js"),[],import.meta.url);case"hu":return $(()=>import("./hu-d9db5acd.js"),[],import.meta.url);case"is":return $(()=>import("./is-1be6b344.js"),[],import.meta.url);case"ka":return $(()=>import("./ka-055da083.js"),[],import.meta.url);case"ko":return $(()=>import("./ko-d286d990.js"),[],import.meta.url);case"lt":return $(()=>import("./lt-e40af15a.js"),[],import.meta.url);case"ml":return $(()=>import("./ml-a9bf908b.js"),[],import.meta.url);case"nb":return $(()=>import("./nb-ec54ff10.js"),[],import.meta.url);case"no":return $(()=>import("./no-f7013253.js"),[],import.meta.url);case"pt":return $(()=>import("./pt-5085e3a9.js"),[],import.meta.url);case"sd":return $(()=>import("./sd-d75db8fd.js"),[],import.meta.url);case"so":return $(()=>import("./so-929be57c.js"),[],import.meta.url);case"sv":return $(()=>import("./sv-6aee90ea.js"),[],import.meta.url);case"tg":return $(()=>import("./tg-b13cd8e9.js"),[],import.meta.url);case"tt":return $(()=>import("./tt-7d750061.js"),[],import.meta.url);case"ur":return $(()=>import("./ur-5afbdc80.js"),[],import.meta.url);case"zh":return $(()=>import("./zh-f1b44971.js"),[],import.meta.url);case"am":return $(()=>import("./am-65b0ba6b.js"),[],import.meta.url);case"be":return $(()=>import("./be-9ead0d4f.js"),[],import.meta.url);case"bs":return $(()=>import("./bs-7cb05bde.js"),[],import.meta.url);case"cy":return $(()=>import("./cy-ba0c40e4.js"),[],import.meta.url);case"dv":return $(()=>import("./dv-e58a94b3.js"),[],import.meta.url);case"es":return $(()=>import("./es-be0cb381.js"),[],import.meta.url);case"fa":return $(()=>import("./fa-fbbadfa2.js"),[],import.meta.url);case"gl":return $(()=>import("./gl-f7ebdba6.js"),[],import.meta.url);case"hi":return $(()=>import("./hi-718bc71a.js"),[],import.meta.url);case"hy":return $(()=>import("./hy-d3870260.js"),[],import.meta.url);case"it":return $(()=>import("./it-9ab2bdd7.js"),[],import.meta.url);case"kk":return $(()=>import("./kk-bcc83554.js"),[],import.meta.url);case"ku":return $(()=>import("./ku-8e19f006.js"),[],import.meta.url);case"lv":return $(()=>import("./lv-fd817d01.js"),[],import.meta.url);case"mn":return $(()=>import("./mn-e5965355.js"),[],import.meta.url);case"nl":return $(()=>import("./nl-0568a744.js"),[],import.meta.url);case"pl":return $(()=>import("./pl-8df50cd7.js"),[],import.meta.url);case"ro":return $(()=>import("./ro-932a618e.js"),[],import.meta.url);case"sk":return $(()=>import("./sk-17e30744.js"),[],import.meta.url);case"sq":return $(()=>import("./sq-36c79e02.js"),[],import.meta.url);case"sw":return $(()=>import("./sw-bbcd1da0.js"),[],import.meta.url);case"th":return $(()=>import("./th-52af45e9.js"),[],import.meta.url);case"ug":return $(()=>import("./ug-99c3fa90.js"),[],import.meta.url);case"uz":return $(()=>import("./uz-2d5185e6.js"),[],import.meta.url);case"ar":return $(()=>import("./ar-5143a0bc.js"),[],import.meta.url);case"bg":return $(()=>import("./bg-71e575c1.js"),[],import.meta.url);case"ca":return $(()=>import("./ca-d854afba.js"),[],import.meta.url);case"da":return $(()=>import("./da-1e1416c5.js"),[],import.meta.url);case"el":return $(()=>import("./el-965cb4c5.js"),[],import.meta.url);case"et":return $(()=>import("./et-e3fdc91c.js"),[],import.meta.url);case"fi":return $(()=>import("./fi-2b08d5ad.js"),[],import.meta.url);case"ha":return $(()=>import("./ha-c8f928f4.js"),[],import.meta.url);case"hr":return $(()=>import("./hr-6cee9160.js"),[],import.meta.url);case"id":return $(()=>import("./id-cad59afe.js"),[],import.meta.url);case"ja":return $(()=>import("./ja-7d2e5087.js"),[],import.meta.url);case"km":return $(()=>import("./km-0ec62c82.js"),[],import.meta.url);case"ky":return $(()=>import("./ky-daae5e90.js"),[],import.meta.url);case"mk":return $(()=>import("./mk-4bfdea7e.js"),[],import.meta.url);case"ms":return $(()=>import("./ms-88c6f63d.js"),[],import.meta.url);case"nn":return $(()=>import("./nn-4bed35f7.js"),[],import.meta.url);case"ps":return $(()=>import("./ps-a604d96e.js"),[],import.meta.url);case"ru":return $(()=>import("./ru-9c3986ae.js"),[],import.meta.url);case"sl":return $(()=>import("./sl-3a00f5bb.js"),[],import.meta.url);case"sr":return $(()=>import("./sr-8f16043b.js"),[],import.meta.url);case"ta":return $(()=>import("./ta-aaf4ed8f.js"),[],import.meta.url);case"tr":return $(()=>import("./tr-8273165c.js"),[],import.meta.url);case"uk":return $(()=>import("./uk-8f1d546e.js"),[],import.meta.url);case"vi":return $(()=>import("./vi-604e5e8c.js"),[],import.meta.url);default:throw new Error("Unknown locale")}}try{nt.displayName="loadLocale",nt.__docgenInfo={description:"",displayName:"loadLocale",props:{}}}catch{}try{at.displayName="loadLocaleFile",at.__docgenInfo={description:"",displayName:"loadLocaleFile",props:{}}}catch{}function m1(e){const[r,t]=I.useState(!1),[n,a]=I.useState(H.getNames("en"));return I.useMemo(async()=>{t(!0),await nt(e),t(!1),a(H.getNames(e))},[e]),{loading:r,countryNames:n,getCountryName:i=>H.getName(i,e)}}const v1=["af","az","bn","cs","de","en","eu","fr","he","hu","is","ka","ko","lt","ml","nb","no","pt","sd","so","sv","tg","tt","ur","zh","am","be","bs","cy","dv","es","fa","gl","hi","hy","it","kk","ku","lv","mn","nl","pl","ro","sk","sq","sw","th","ug","uz","ar","bg","ca","da","el","et","fi","ha","hr","id","ja","km","ky","mk","ms","nn","ps","ru","sl","sr","ta","tr","uk","vi"];function g1(e,r="en"){let t=e;return(t.length===3||typeof t=="number")&&(t=H.toAlpha2(t)),t.length>3&&(t=t.split("-",1)[0]),t=t.toLowerCase(),v1.includes(t)?t:r}function E1(e,r,t){if(t===void 0&&(t=Error),!e)throw new t(r)}var p1=function(e){},C1=function(e){},y1={formats:{},messages:{},timeZone:void 0,defaultLocale:"en",defaultFormats:{},fallbackOnEmptyString:!0,onError:p1,onWarn:C1};function A1(e){E1(e,"[React Intl] Could not find required `intl` object. needs to exist in the component ancestry.")}Ct(Ct({},y1),{textComponent:I.Fragment});var gt=I.createContext(null);gt.Consumer;gt.Provider;var S1=gt;function Et(){var e=I.useContext(S1);return A1(e),e}var ut;(function(e){e.formatDate="FormattedDate",e.formatTime="FormattedTime",e.formatNumber="FormattedNumber",e.formatList="FormattedList",e.formatDisplayName="FormattedDisplayName"})(ut||(ut={}));var it;(function(e){e.formatDate="FormattedDateParts",e.formatTime="FormattedTimeParts",e.formatNumber="FormattedNumberParts",e.formatList="FormattedListParts"})(it||(it={}));function fn(e){var r=function(t){var n=Et(),a=t.value,u=t.children,i=Nr(t,["value","children"]),d=typeof a=="string"?new Date(a||0):a,o=e==="formatDate"?n.formatDateToParts(d,i):n.formatTimeToParts(d,i);return u(o)};return r.displayName=it[e],r}function ne(e){var r=function(t){var n=Et(),a=t.value,u=t.children,i=Nr(t,["value","children"]),d=n[e](a,i);if(typeof u=="function")return u(d);var o=n.textComponent||I.Fragment;return I.createElement(o,null,d)};return r.displayName=ut[e],r}ne("formatDate");ne("formatTime");ne("formatNumber");ne("formatList");ne("formatDisplayName");fn("formatDate");fn("formatTime");const hn={AD:"ad",AE:"ae",AF:"af",AG:"ag",AI:"ai",AL:"al",AM:"am",AO:"ao",AQ:"aq",AR:"ar",AS:"as",AT:"at",AU:"au",AW:"aw",AX:"ax",AZ:"az",BA:"ba",BB:"bb",BD:"bd",BE:"be",BF:"bf",BG:"bg",BH:"bh",BI:"bi",BJ:"bj",BL:"bl",BM:"bm",BN:"bn",BO:"bo",BQ:"bq",BR:"br",BS:"bs",BT:"bt",BV:"bv",BW:"bw",BY:"by",BZ:"bz",CA:"ca",CC:"cc",CD:"cd",CF:"cf",CG:"cg",CH:"ch",CI:"ci",CK:"ck",CL:"cl",CM:"cm",CN:"cn",CO:"co",CR:"cr",CU:"cu",CV:"cv",CW:"cw",CX:"cx",CY:"cy",CZ:"cz",DE:"de",DJ:"dj",DK:"dk",DM:"dm",DO:"do",DZ:"dz",EC:"ec",EE:"ee",EG:"eg",EH:"eh",ER:"er",ES:"es",ET:"et",FI:"fi",FJ:"fj",FK:"fk",FM:"fm",FO:"fo",FR:"fr",GA:"ga","GB-ENG":"gb-eng","GB-SCT":"gb-sct","GB-WLS":"gb-wls",GB:"gb",GD:"gd",GE:"ge",GF:"gf",GG:"gg",GH:"gh",GI:"gi",GL:"gl",GM:"gm",GN:"gn",GP:"gp",GQ:"gq",GR:"gr",GS:"gs",GT:"gt",GU:"gu",GW:"gw",GY:"gy",HK:"hk",HM:"hm",HN:"hn",HR:"hr",HT:"ht",HU:"hu",ID:"id",IE:"ie",IL:"il",IM:"im",IN:"in",IO:"io",IQ:"iq",IR:"ir",IS:"is",IT:"it",JE:"je",JM:"jm",JO:"jo",JP:"jp",KE:"ke",KG:"kg",KH:"kh",KI:"ki",KM:"km",KN:"kn",KP:"kp",KR:"kr",KW:"kw",KY:"ky",KZ:"kz",LA:"la",LB:"lb",LC:"lc",LI:"li",LK:"lk",LR:"lr",LS:"ls",LT:"lt",LU:"lu",LV:"lv",LY:"ly",MA:"ma",MC:"mc",MD:"md",ME:"me",MF:"mf",MG:"mg",MH:"mh",MK:"mk",ML:"ml",MM:"mm",MN:"mn",MO:"mo",MP:"mp",MQ:"mq",MR:"mr",MS:"ms",MT:"mt",MU:"mu",MV:"mv",MW:"mw",MX:"mx",MY:"my",MZ:"mz",NA:"na",NC:"nc",NE:"ne",NF:"nf",NG:"ng",NI:"ni",NL:"nl",NO:"no",NP:"np",NR:"nr",NU:"nu",NZ:"nz",OM:"om",PA:"pa",PE:"pe",PF:"pf",PG:"pg",PH:"ph",PK:"pk",PL:"pl",PM:"pm",PN:"pn",PR:"pr",PS:"ps",PT:"pt",PW:"pw",PY:"py",QA:"qa",RE:"re",RO:"ro",RS:"rs",RU:"ru",RW:"rw",SA:"sa",SB:"sb",SC:"sc",SD:"sd",SE:"se",SG:"sg",SH:"sh",SI:"si",SJ:"sj",SK:"sk",SL:"sl",SM:"sm",SN:"sn",SO:"so",SR:"sr",SS:"ss",ST:"st",SV:"sv",SX:"sx",SY:"sy",SZ:"sz",TC:"tc",TD:"td",TF:"tf",TG:"tg",TH:"th",TJ:"tj",TK:"tk",TL:"tl",TM:"tm",TN:"tn",TO:"to",TR:"tr",TT:"tt",TV:"tv",TW:"tw",TZ:"tz",UA:"ua",UG:"ug",UM:"um",US:"us",UY:"uy",UZ:"uz",JD:"jd",VC:"vc",VE:"ve",VG:"vg",VI:"vi",VN:"vn",VU:"vu",WF:"wf",WS:"ws",XK:"xk",YE:"ye",YT:"yt",ZA:"za",ZM:"zm",ZW:"zw"},I1=Object.keys(hn),b1=new Set(I1);function ge(e){return typeof e=="string"&&b1.has(e)}function ee({isoCode:e,squareRatio:r=!1,style:t}){const n=ge(e)?hn[e]:void 0;let a;return r?a=`fi fi-${n} fis`:a=`fi fi-${n}`,T.jsx("span",{"aria-disabled":!0,className:a,style:t})}try{ge.displayName="isISO3166",ge.__docgenInfo={description:"",displayName:"isISO3166",props:{}}}catch{}try{ee.displayName="FlagIcon",ee.__docgenInfo={description:`Renders img with high quality flag svg using ISO 3166 code. -Supports ISO 3166-1 alpha-2 codes (e.g. "US", "GB") and ISO 3166-2 codes -for Scotland, Wales, Northern Ireland, and England (e.g. "GB-SCT")`,displayName:"FlagIcon",props:{isoCode:{defaultValue:null,description:`ISO 3166-1 alpha-2 code or ISO 3166-2 codes for Scotland, Wales, Northern -Ireland, and England`,name:"isoCode",required:!0,type:{name:"enum",value:[{value:'"AD"'},{value:'"AE"'},{value:'"AF"'},{value:'"AG"'},{value:'"AI"'},{value:'"AL"'},{value:'"AM"'},{value:'"AO"'},{value:'"AQ"'},{value:'"AR"'},{value:'"AS"'},{value:'"AT"'},{value:'"AU"'},{value:'"AW"'},{value:'"AX"'},{value:'"AZ"'},{value:'"BA"'},{value:'"BB"'},{value:'"BD"'},{value:'"BE"'},{value:'"BF"'},{value:'"BG"'},{value:'"BH"'},{value:'"BI"'},{value:'"BJ"'},{value:'"BL"'},{value:'"BM"'},{value:'"BN"'},{value:'"BO"'},{value:'"BQ"'},{value:'"BR"'},{value:'"BS"'},{value:'"BT"'},{value:'"BV"'},{value:'"BW"'},{value:'"BY"'},{value:'"BZ"'},{value:'"CA"'},{value:'"CC"'},{value:'"CD"'},{value:'"CF"'},{value:'"CG"'},{value:'"CH"'},{value:'"CI"'},{value:'"CK"'},{value:'"CL"'},{value:'"CM"'},{value:'"CN"'},{value:'"CO"'},{value:'"CR"'},{value:'"CU"'},{value:'"CV"'},{value:'"CW"'},{value:'"CX"'},{value:'"CY"'},{value:'"CZ"'},{value:'"DE"'},{value:'"DJ"'},{value:'"DK"'},{value:'"DM"'},{value:'"DO"'},{value:'"DZ"'},{value:'"EC"'},{value:'"EE"'},{value:'"EG"'},{value:'"EH"'},{value:'"ER"'},{value:'"ES"'},{value:'"ET"'},{value:'"FI"'},{value:'"FJ"'},{value:'"FK"'},{value:'"FM"'},{value:'"FO"'},{value:'"FR"'},{value:'"GA"'},{value:'"GB-ENG"'},{value:'"GB-SCT"'},{value:'"GB-WLS"'},{value:'"GB"'},{value:'"GD"'},{value:'"GE"'},{value:'"GF"'},{value:'"GG"'},{value:'"GH"'},{value:'"GI"'},{value:'"GL"'},{value:'"GM"'},{value:'"GN"'},{value:'"GP"'},{value:'"GQ"'},{value:'"GR"'},{value:'"GS"'},{value:'"GT"'},{value:'"GU"'},{value:'"GW"'},{value:'"GY"'},{value:'"HK"'},{value:'"HM"'},{value:'"HN"'},{value:'"HR"'},{value:'"HT"'},{value:'"HU"'},{value:'"ID"'},{value:'"IE"'},{value:'"IL"'},{value:'"IM"'},{value:'"IN"'},{value:'"IO"'},{value:'"IQ"'},{value:'"IR"'},{value:'"IS"'},{value:'"IT"'},{value:'"JE"'},{value:'"JM"'},{value:'"JO"'},{value:'"JP"'},{value:'"KE"'},{value:'"KG"'},{value:'"KH"'},{value:'"KI"'},{value:'"KM"'},{value:'"KN"'},{value:'"KP"'},{value:'"KR"'},{value:'"KW"'},{value:'"KY"'},{value:'"KZ"'},{value:'"LA"'},{value:'"LB"'},{value:'"LC"'},{value:'"LI"'},{value:'"LK"'},{value:'"LR"'},{value:'"LS"'},{value:'"LT"'},{value:'"LU"'},{value:'"LV"'},{value:'"LY"'},{value:'"MA"'},{value:'"MC"'},{value:'"MD"'},{value:'"ME"'},{value:'"MF"'},{value:'"MG"'},{value:'"MH"'},{value:'"MK"'},{value:'"ML"'},{value:'"MM"'},{value:'"MN"'},{value:'"MO"'},{value:'"MP"'},{value:'"MQ"'},{value:'"MR"'},{value:'"MS"'},{value:'"MT"'},{value:'"MU"'},{value:'"MV"'},{value:'"MW"'},{value:'"MX"'},{value:'"MY"'},{value:'"MZ"'},{value:'"NA"'},{value:'"NC"'},{value:'"NE"'},{value:'"NF"'},{value:'"NG"'},{value:'"NI"'},{value:'"NL"'},{value:'"NO"'},{value:'"NP"'},{value:'"NR"'},{value:'"NU"'},{value:'"NZ"'},{value:'"OM"'},{value:'"PA"'},{value:'"PE"'},{value:'"PF"'},{value:'"PG"'},{value:'"PH"'},{value:'"PK"'},{value:'"PL"'},{value:'"PM"'},{value:'"PN"'},{value:'"PR"'},{value:'"PS"'},{value:'"PT"'},{value:'"PW"'},{value:'"PY"'},{value:'"QA"'},{value:'"RE"'},{value:'"RO"'},{value:'"RS"'},{value:'"RU"'},{value:'"RW"'},{value:'"SA"'},{value:'"SB"'},{value:'"SC"'},{value:'"SD"'},{value:'"SE"'},{value:'"SG"'},{value:'"SH"'},{value:'"SI"'},{value:'"SJ"'},{value:'"SK"'},{value:'"SL"'},{value:'"SM"'},{value:'"SN"'},{value:'"SO"'},{value:'"SR"'},{value:'"SS"'},{value:'"ST"'},{value:'"SV"'},{value:'"SX"'},{value:'"SY"'},{value:'"SZ"'},{value:'"TC"'},{value:'"TD"'},{value:'"TF"'},{value:'"TG"'},{value:'"TH"'},{value:'"TJ"'},{value:'"TK"'},{value:'"TL"'},{value:'"TM"'},{value:'"TN"'},{value:'"TO"'},{value:'"TR"'},{value:'"TT"'},{value:'"TV"'},{value:'"TW"'},{value:'"TZ"'},{value:'"UA"'},{value:'"UG"'},{value:'"UM"'},{value:'"US"'},{value:'"UY"'},{value:'"UZ"'},{value:'"JD"'},{value:'"VC"'},{value:'"VE"'},{value:'"VG"'},{value:'"VI"'},{value:'"VN"'},{value:'"VU"'},{value:'"WF"'},{value:'"WS"'},{value:'"XK"'},{value:'"YE"'},{value:'"YT"'},{value:'"ZA"'},{value:'"ZM"'},{value:'"ZW"'}]}},squareRatio:{defaultValue:{value:"false"},description:"If true render using cropped 1:1 ratio flags; default false",name:"squareRatio",required:!1,type:{name:"boolean"}},style:{defaultValue:null,description:"",name:"style",required:!1,type:{name:"CSSProperties"}}}}}catch{}const N1=()=>{const e=Et(),{countryNames:r,loading:t}=m1(g1(e.locale)),n=I.useMemo(()=>[{type:"value",key:"GB-pinned",value:"GB",label:`${r.GB} +${se("GB")}`,icon:T.jsx(Re,{icon:T.jsx(ee,{isoCode:"GB"})})},{type:"value",key:"US-pinned",value:"US",label:`${r.US} +${se("US")}`,icon:T.jsx(Re,{icon:T.jsx(ee,{isoCode:"US"})})},{type:"divider"},...s1().map(a=>{const u=r[a]??"";return{type:"value",key:a,label:`${u} +${se(a)}`,value:a,icon:ge(a)?T.jsx(Re,{icon:T.jsx(ee,{isoCode:a})}):mn}}).sort((a,u)=>a.value>u.value?1:-1)],[r]);return t?[]:n};H.registerLocale($n);function _1(e=!1){const[r,t]=I.useState(e),n=I.useCallback(()=>t(!0),[]),a=I.useCallback(()=>t(!1),[]),u=I.useCallback(()=>t(i=>!i),[]);return I.useMemo(()=>({value:r,setValue:t,setTrue:n,setFalse:a,toggle:u}),[a,n,u,r])}const O1=new RegExp(/^\+.+/),P1=new RegExp(/^[^0-9|+].*/),Ar=e=>e.formatInternational().replace(e.countryCallingCode,"").replace("+ ","").replace(" x"," ext. "),z=({phoneNumber:e,countryCode:r})=>{let t=e;if(!t)return{number:"",displayNumber:"",countryCode:r};if(t.toLowerCase().includes("(x")){const n=t.toLowerCase().split("(x");t=`${n[0]} x${n[1].replaceAll(")","")}`}if(t=["-","(",")"].reduce((n,a)=>n.replaceAll(a,""),t).replace("ext. ","x"),P1.test(t))return{number:t,displayNumber:t,countryCode:r};if(O1.test(t))if(ve(t)){const n=pr(t);return{number:n.number,displayNumber:Ar(n),countryCode:n.country,ext:n.ext}}else return{displayNumber:Cr(t),number:e,countryCode:r};else{const n=r;if(ve(t,n)){const a=pr(t,n);return{displayNumber:Ar(a),number:a.number,countryCode:r,ext:a.ext}}else return{displayNumber:Cr(t,n),number:t,countryCode:r}}},F1=vn(gn)` - border-bottom: 1px solid ${({theme:e})=>e.colors.white}; - :hover { - border-bottom: 1px solid ${({theme:e})=>e.colors.grey20}; - } - :active { - border-bottom: 1px solid ${({theme:e})=>e.colors.grey20}; - } -`,T1=({onChange:e,value:r})=>{const[t,n]=I.useState(""),a=N1(),u=I.useMemo(()=>new Q(a,{keys:["label"],includeScore:!0}),[a]),i=I.useMemo(()=>t?u.search(t).map(o=>o.item):a,[a,u,t]),d=I.useCallback(()=>n(""),[]);return T.jsx(En,{onClose:d,inputValue:t,showInternalSearch:!0,onInputChange:n,onSelectOption:({value:o})=>{o&&rt(o)&&e(o)},options:i,placement:"bottom-start",selectedIcon:_r,externalLinkIcon:Or,fetchMoreText:T.jsx(yt,{children:"Fetch more"}),autoscrollText:T.jsx(yt,{children:"Jump to most recent"}),layer:"modalPopover",children:({targetProps:o,targetRef:l})=>T.jsx(ot,{style:{width:40},ref:l,...o,onClick:s=>{s.preventDefault(),o.onClick&&o.onClick(s)},children:T.jsx(pn,{variant:"inline",value:r?"+"+se(r):"",role:"search"})})})};function dt({onChange:e,value:r,defaultCountryCode:t,selectedIcon:n,autoscrollText:a,externalLinkIcon:u,fetchMoreText:i,onBlur:d,onFocus:o,ext:l,...s}){const h=_1(!1),[f,v]=I.useState(()=>t&&rt(t)?t:"GB"),[E,A]=I.useState("");I.useEffect(()=>{if(!h.value){let S=r??"",c=f;if(ve(r)){const m=z({phoneNumber:l?`${r} x${l}`:r,countryCode:f});S=m.displayNumber,c=m.countryCode}S!==E&&A(S),c!==f&&v(c)}},[f,t,l,h.value,E,r]);const b=I.useCallback(S=>{if(S&&rt(S)){v(S);const{ext:c,number:m,displayNumber:p}=z({phoneNumber:E,countryCode:S});A(p),e(m,c)}},[E,e]),D=I.useCallback(S=>{const c=z({phoneNumber:S.target.value,countryCode:f});f!==c.countryCode&&v(c.countryCode),e(c.number,c.ext),A(S.target.value)},[f,e]),F=I.useCallback(S=>{const{displayNumber:c,number:m}=z({phoneNumber:E,countryCode:f});ve(m)&&A(c),d==null||d(S),h.setFalse()},[f,h,E,d]),G=I.useCallback(S=>{h.setTrue(),o==null||o(S)},[h,o]);return T.jsxs(ot,{align:"center",children:[T.jsx(T1,{onChange:b,value:f}),T.jsx(F1,{...s,onChange:D,value:E,onFocus:G,onBlur:F})]})}try{dt.displayName="IntlPhoneInput",dt.__docgenInfo={description:"",displayName:"IntlPhoneInput",props:{defaultCountryCode:{defaultValue:null,description:"",name:"defaultCountryCode",required:!1,type:{name:"string"}},onChange:{defaultValue:null,description:"",name:"onChange",required:!0,type:{name:"(phone: string, ext?: string | undefined) => void"}},fetchMoreText:{defaultValue:null,description:"",name:"fetchMoreText",required:!0,type:{name:"ReactNode"}},autoscrollText:{defaultValue:null,description:"",name:"autoscrollText",required:!0,type:{name:"ReactNode"}},selectedIcon:{defaultValue:null,description:"",name:"selectedIcon",required:!0,type:{name:"AnyIcon"}},externalLinkIcon:{defaultValue:null,description:"",name:"externalLinkIcon",required:!0,type:{name:"AnyIcon"}},ext:{defaultValue:null,description:"",name:"ext",required:!1,type:{name:"string | null"}}}}}catch{}try{z.displayName="getCallToValue",z.__docgenInfo={description:"",displayName:"getCallToValue",props:{phoneNumber:{defaultValue:null,description:"",name:"phoneNumber",required:!0,type:{name:"string"}},countryCode:{defaultValue:null,description:"",name:"countryCode",required:!0,type:{name:"enum",value:[{value:'"AD"'},{value:'"AE"'},{value:'"AF"'},{value:'"AG"'},{value:'"AI"'},{value:'"AL"'},{value:'"AM"'},{value:'"AO"'},{value:'"AQ"'},{value:'"AR"'},{value:'"AS"'},{value:'"AT"'},{value:'"AU"'},{value:'"AW"'},{value:'"AX"'},{value:'"AZ"'},{value:'"BA"'},{value:'"BB"'},{value:'"BD"'},{value:'"BE"'},{value:'"BF"'},{value:'"BG"'},{value:'"BH"'},{value:'"BI"'},{value:'"BJ"'},{value:'"BL"'},{value:'"BM"'},{value:'"BN"'},{value:'"BO"'},{value:'"BQ"'},{value:'"BR"'},{value:'"BS"'},{value:'"BT"'},{value:'"BV"'},{value:'"BW"'},{value:'"BY"'},{value:'"BZ"'},{value:'"CA"'},{value:'"CC"'},{value:'"CD"'},{value:'"CF"'},{value:'"CG"'},{value:'"CH"'},{value:'"CI"'},{value:'"CK"'},{value:'"CL"'},{value:'"CM"'},{value:'"CN"'},{value:'"CO"'},{value:'"CR"'},{value:'"CU"'},{value:'"CV"'},{value:'"CW"'},{value:'"CX"'},{value:'"CY"'},{value:'"CZ"'},{value:'"DE"'},{value:'"DJ"'},{value:'"DK"'},{value:'"DM"'},{value:'"DO"'},{value:'"DZ"'},{value:'"EC"'},{value:'"EE"'},{value:'"EG"'},{value:'"EH"'},{value:'"ER"'},{value:'"ES"'},{value:'"ET"'},{value:'"FI"'},{value:'"FJ"'},{value:'"FK"'},{value:'"FM"'},{value:'"FO"'},{value:'"FR"'},{value:'"GA"'},{value:'"GB-ENG"'},{value:'"GB-SCT"'},{value:'"GB-WLS"'},{value:'"GB"'},{value:'"GD"'},{value:'"GE"'},{value:'"GF"'},{value:'"GG"'},{value:'"GH"'},{value:'"GI"'},{value:'"GL"'},{value:'"GM"'},{value:'"GN"'},{value:'"GP"'},{value:'"GQ"'},{value:'"GR"'},{value:'"GS"'},{value:'"GT"'},{value:'"GU"'},{value:'"GW"'},{value:'"GY"'},{value:'"HK"'},{value:'"HM"'},{value:'"HN"'},{value:'"HR"'},{value:'"HT"'},{value:'"HU"'},{value:'"ID"'},{value:'"IE"'},{value:'"IL"'},{value:'"IM"'},{value:'"IN"'},{value:'"IO"'},{value:'"IQ"'},{value:'"IR"'},{value:'"IS"'},{value:'"IT"'},{value:'"JE"'},{value:'"JM"'},{value:'"JO"'},{value:'"JP"'},{value:'"KE"'},{value:'"KG"'},{value:'"KH"'},{value:'"KI"'},{value:'"KM"'},{value:'"KN"'},{value:'"KP"'},{value:'"KR"'},{value:'"KW"'},{value:'"KY"'},{value:'"KZ"'},{value:'"LA"'},{value:'"LB"'},{value:'"LC"'},{value:'"LI"'},{value:'"LK"'},{value:'"LR"'},{value:'"LS"'},{value:'"LT"'},{value:'"LU"'},{value:'"LV"'},{value:'"LY"'},{value:'"MA"'},{value:'"MC"'},{value:'"MD"'},{value:'"ME"'},{value:'"MF"'},{value:'"MG"'},{value:'"MH"'},{value:'"MK"'},{value:'"ML"'},{value:'"MM"'},{value:'"MN"'},{value:'"MO"'},{value:'"MP"'},{value:'"MQ"'},{value:'"MR"'},{value:'"MS"'},{value:'"MT"'},{value:'"MU"'},{value:'"MV"'},{value:'"MW"'},{value:'"MX"'},{value:'"MY"'},{value:'"MZ"'},{value:'"NA"'},{value:'"NC"'},{value:'"NE"'},{value:'"NF"'},{value:'"NG"'},{value:'"NI"'},{value:'"NL"'},{value:'"NO"'},{value:'"NP"'},{value:'"NR"'},{value:'"NU"'},{value:'"NZ"'},{value:'"OM"'},{value:'"PA"'},{value:'"PE"'},{value:'"PF"'},{value:'"PG"'},{value:'"PH"'},{value:'"PK"'},{value:'"PL"'},{value:'"PM"'},{value:'"PN"'},{value:'"PR"'},{value:'"PS"'},{value:'"PT"'},{value:'"PW"'},{value:'"PY"'},{value:'"QA"'},{value:'"RE"'},{value:'"RO"'},{value:'"RS"'},{value:'"RU"'},{value:'"RW"'},{value:'"SA"'},{value:'"SB"'},{value:'"SC"'},{value:'"SD"'},{value:'"SE"'},{value:'"SG"'},{value:'"SH"'},{value:'"SI"'},{value:'"SJ"'},{value:'"SK"'},{value:'"SL"'},{value:'"SM"'},{value:'"SN"'},{value:'"SO"'},{value:'"SR"'},{value:'"SS"'},{value:'"ST"'},{value:'"SV"'},{value:'"SX"'},{value:'"SY"'},{value:'"SZ"'},{value:'"TC"'},{value:'"TD"'},{value:'"TF"'},{value:'"TG"'},{value:'"TH"'},{value:'"TJ"'},{value:'"TK"'},{value:'"TL"'},{value:'"TM"'},{value:'"TN"'},{value:'"TO"'},{value:'"TR"'},{value:'"TT"'},{value:'"TV"'},{value:'"TW"'},{value:'"TZ"'},{value:'"UA"'},{value:'"UG"'},{value:'"UM"'},{value:'"US"'},{value:'"UY"'},{value:'"UZ"'},{value:'"JD"'},{value:'"VC"'},{value:'"VE"'},{value:'"VG"'},{value:'"VI"'},{value:'"VN"'},{value:'"VU"'},{value:'"WF"'},{value:'"WS"'},{value:'"XK"'},{value:'"YE"'},{value:'"YT"'},{value:'"ZA"'},{value:'"ZM"'},{value:'"ZW"'}]}}}}}catch{}const w1={title:"Core/IntlPhoneInput"},de=()=>{const[e,r]=I.useState("");return T.jsx(ot,{children:T.jsx(dt,{value:e,onChange:t=>r(t),fetchMoreText:"Fetch More",autoscrollText:"Jump to most recent",selectedIcon:_r,externalLinkIcon:Or})})};var Sr,Ir,br;de.parameters={...de.parameters,docs:{...(Sr=de.parameters)==null?void 0:Sr.docs,source:{originalSource:`() => { - const [value, setValue] = useState(""); - return - setValue(e)} fetchMoreText="Fetch More" autoscrollText="Jump to most recent" selectedIcon={faCheck} externalLinkIcon={faExternalLinkAlt}> - ; -}`,...(br=(Ir=de.parameters)==null?void 0:Ir.docs)==null?void 0:br.source}}};const G1=["Default"];export{de as Default,G1 as __namedExportsOrder,w1 as default}; diff --git a/docs/storybook/assets/Lato-Black-c1691198.woff2 b/docs/storybook/assets/Lato-Black-c1691198.woff2 deleted file mode 100644 index e4826d5..0000000 Binary files a/docs/storybook/assets/Lato-Black-c1691198.woff2 and /dev/null differ diff --git a/docs/storybook/assets/Lato-BlackItalic-ec8a298d.woff2 b/docs/storybook/assets/Lato-BlackItalic-ec8a298d.woff2 deleted file mode 100644 index 58f381c..0000000 Binary files a/docs/storybook/assets/Lato-BlackItalic-ec8a298d.woff2 and /dev/null differ diff --git a/docs/storybook/assets/Lato-Bold-e47c34e4.woff2 b/docs/storybook/assets/Lato-Bold-e47c34e4.woff2 deleted file mode 100644 index 50274ad..0000000 Binary files a/docs/storybook/assets/Lato-Bold-e47c34e4.woff2 and /dev/null differ diff --git a/docs/storybook/assets/Lato-BoldItalic-74b985fb.woff2 b/docs/storybook/assets/Lato-BoldItalic-74b985fb.woff2 deleted file mode 100644 index ccf622b..0000000 Binary files a/docs/storybook/assets/Lato-BoldItalic-74b985fb.woff2 and /dev/null differ diff --git a/docs/storybook/assets/Lato-Hairline-9d26e5ba.woff2 b/docs/storybook/assets/Lato-Hairline-9d26e5ba.woff2 deleted file mode 100644 index 61f7e7d..0000000 Binary files a/docs/storybook/assets/Lato-Hairline-9d26e5ba.woff2 and /dev/null differ diff --git a/docs/storybook/assets/Lato-HairlineItalic-f0144380.woff2 b/docs/storybook/assets/Lato-HairlineItalic-f0144380.woff2 deleted file mode 100644 index e0cc55d..0000000 Binary files a/docs/storybook/assets/Lato-HairlineItalic-f0144380.woff2 and /dev/null differ diff --git a/docs/storybook/assets/Lato-Italic-4eb89d70.woff2 b/docs/storybook/assets/Lato-Italic-4eb89d70.woff2 deleted file mode 100644 index f8e6622..0000000 Binary files a/docs/storybook/assets/Lato-Italic-4eb89d70.woff2 and /dev/null differ diff --git a/docs/storybook/assets/Lato-Light-bd4c2248.woff2 b/docs/storybook/assets/Lato-Light-bd4c2248.woff2 deleted file mode 100644 index 3f01ef9..0000000 Binary files a/docs/storybook/assets/Lato-Light-bd4c2248.woff2 and /dev/null differ diff --git a/docs/storybook/assets/Lato-LightItalic-8c603b0a.woff2 b/docs/storybook/assets/Lato-LightItalic-8c603b0a.woff2 deleted file mode 100644 index cedfaed..0000000 Binary files a/docs/storybook/assets/Lato-LightItalic-8c603b0a.woff2 and /dev/null differ diff --git a/docs/storybook/assets/Lato-Regular-76df5b67.woff2 b/docs/storybook/assets/Lato-Regular-76df5b67.woff2 deleted file mode 100644 index aff3c2f..0000000 Binary files a/docs/storybook/assets/Lato-Regular-76df5b67.woff2 and /dev/null differ diff --git a/docs/storybook/assets/Link-37e8c95d.js b/docs/storybook/assets/Link-37e8c95d.js deleted file mode 100644 index 05a80ce..0000000 --- a/docs/storybook/assets/Link-37e8c95d.js +++ /dev/null @@ -1,4 +0,0 @@ -import{j as a}from"./jsx-runtime-6d9837fe.js";import{d as o,e as i,g as s}from"./SPA-63b29876.js";import"./index-93f6b7ae.js";import"./index-03a57050.js";const u=o.a` - color: ${({theme:e,color:l="cyan100"})=>e.colors[l]}; - text-decoration: none; -`,v=({size:e=10,color:l="grey40",icon:n=s,href:r,...t})=>r?a.jsx(u,{target:"_blank",color:l,href:r,...t,children:a.jsx(i,{size:e,icon:n})}):a.jsx(a.Fragment,{});try{u.displayName="Link",u.__docgenInfo={description:"",displayName:"Link",props:{theme:{defaultValue:null,description:"",name:"theme",required:!1,type:{name:"DefaultTheme"}},as:{defaultValue:null,description:"",name:"as",required:!1,type:{name:"void | WebTarget"}},forwardedAs:{defaultValue:null,description:"",name:"forwardedAs",required:!1,type:{name:"void | WebTarget"}}}}}catch{}try{v.displayName="LinkIcon",v.__docgenInfo={description:"",displayName:"LinkIcon",props:{href:{defaultValue:null,description:"",name:"href",required:!1,type:{name:"string"}},color:{defaultValue:{value:"grey40"},description:"",name:"color",required:!1,type:{name:"enum",value:[{value:'"brandPrimary"'},{value:'"brandSecondary"'},{value:'"white"'},{value:'"systemShade100"'},{value:'"systemShade80"'},{value:'"systemShade40"'},{value:'"systemShade30"'},{value:'"systemShade20"'},{value:'"systemShade10"'},{value:'"grey500"'},{value:'"grey100"'},{value:'"grey80"'},{value:'"grey60"'},{value:'"grey40"'},{value:'"grey30"'},{value:'"grey20"'},{value:'"grey10"'},{value:'"grey5"'},{value:'"grey3"'},{value:'"brandShade100"'},{value:'"brandShade80"'},{value:'"brandShade60"'},{value:'"brandShade50"'},{value:'"brandShade40"'},{value:'"brandShade20"'},{value:'"brandShade10"'},{value:'"cyan120"'},{value:'"cyan100"'},{value:'"cyan90"'},{value:'"cyan80"'},{value:'"cyan40"'},{value:'"cyan20"'},{value:'"cyan10"'},{value:'"red100"'},{value:'"red80"'},{value:'"red60"'},{value:'"red40"'},{value:'"red20"'},{value:'"red10"'},{value:'"pink100"'},{value:'"pink80"'},{value:'"pink40"'},{value:'"pink20"'},{value:'"pink10"'},{value:'"orange100"'},{value:'"orange80"'},{value:'"orange40"'},{value:'"orange20"'},{value:'"orange10"'},{value:'"yellow100"'},{value:'"yellow80"'},{value:'"yellow40"'},{value:'"yellow20"'},{value:'"yellow10"'},{value:'"purple100"'},{value:'"purple80"'},{value:'"purple40"'},{value:'"purple20"'},{value:'"purple10"'},{value:'"amethyst100"'},{value:'"amethyst80"'},{value:'"amethyst40"'},{value:'"amethyst20"'},{value:'"amethyst10"'},{value:'"turquoise100"'},{value:'"turquoise80"'},{value:'"turquoise40"'},{value:'"turquoise20"'},{value:'"turquoise10"'},{value:'"green100"'},{value:'"green80"'},{value:'"green40"'},{value:'"green20"'},{value:'"green10"'},{value:'"jasper100"'},{value:'"jasper80"'},{value:'"jasper40"'},{value:'"jasper20"'},{value:'"jasper10"'},{value:'"ochre100"'},{value:'"ochre80"'},{value:'"ochre40"'},{value:'"ochre20"'},{value:'"ochre10"'},{value:'"scarlett100"'},{value:'"scarlett80"'},{value:'"scarlett40"'},{value:'"scarlett20"'},{value:'"scarlett10"'},{value:'"dark100"'},{value:'"dark80"'},{value:'"dark40"'},{value:'"amber100"'},{value:'"amber10"'},{value:'"beige100"'},{value:'"beige10"'},{value:'"brown100"'},{value:'"brown10"'},{value:'"burgundy100"'},{value:'"burgundy10"'},{value:'"coral100"'},{value:'"coral10"'},{value:'"grey_black100"'},{value:'"grey_black10"'},{value:'"lavender100"'},{value:'"lavender10"'},{value:'"lemon100"'},{value:'"lemon10"'},{value:'"lime100"'},{value:'"lime10"'},{value:'"magenta100"'},{value:'"magenta10"'},{value:'"myrtle100"'},{value:'"myrtle10"'},{value:'"olive100"'},{value:'"olive10"'},{value:'"pink_light100"'},{value:'"pink_light10"'},{value:'"purple_light100"'},{value:'"purple_light10"'},{value:'"rose_dawn100"'},{value:'"rose_dawn10"'},{value:'"sage100"'},{value:'"sage20"'},{value:'"sage10"'},{value:'"sky_blue100"'},{value:'"sky_blue10"'},{value:'"turquoise_light100"'},{value:'"turquoise_light10"'},{value:'"vermilion100"'},{value:'"vermilion10"'},{value:'"violet100"'},{value:'"violet10"'},{value:'"navy100"'},{value:'"ultramarine100"'},{value:'"ultramarine10"'},{value:'"emerald100"'},{value:'"emerald10"'}]}},size:{defaultValue:{value:"10"},description:"",name:"size",required:!1,type:{name:"number"}},icon:{defaultValue:null,description:"",name:"icon",required:!1,type:{name:"AnyIcon"}}}}}catch{}export{u as L,v as a}; diff --git a/docs/storybook/assets/Link.stories-bfc88875.js b/docs/storybook/assets/Link.stories-bfc88875.js deleted file mode 100644 index c48ac4a..0000000 --- a/docs/storybook/assets/Link.stories-bfc88875.js +++ /dev/null @@ -1,10 +0,0 @@ -import{j as o}from"./jsx-runtime-6d9837fe.js";import{S as g,c as m}from"./SPA-63b29876.js";import"./index-93f6b7ae.js";import"./index-03a57050.js";import{L as s,a as t}from"./Link-37e8c95d.js";import{T as h}from"./Title-44b6a96d.js";import"./ExternalIconLink-aaade95d.js";const S={title:"Core/Link"},e=()=>o.jsx(g,{vertical:!0,gap:6,children:[o.jsx(s,{href:"https://google.com",target:"_blank",children:"google.com"}),o.jsx(s,{href:"https://google.com",target:"_blank",color:"red100",children:"google.com"}),o.jsx(t,{href:"https://deskpro.com"}),o.jsx(t,{href:"https://deskpro.com",icon:m,color:"green100"})]}),r=()=>o.jsx(h,{title:o.jsxs(o.Fragment,{children:["Sales Invoices (5)"," ",o.jsx(t,{icon:m,href:"https://deskpro.com/apps"})]})});var a,c,n;e.parameters={...e.parameters,docs:{...(a=e.parameters)==null?void 0:a.docs,source:{originalSource:`() => - {[ - google.com - , - google.com - , , ]} - `,...(n=(c=e.parameters)==null?void 0:c.docs)==null?void 0:n.source}}};var i,p,l;r.parameters={...r.parameters,docs:{...(i=r.parameters)==null?void 0:i.docs,source:{originalSource:`() => - Sales Invoices (5){" "} - <LinkIcon icon={faPlus} href="https://deskpro.com/apps" /> - </>} />`,...(l=(p=r.parameters)==null?void 0:p.docs)==null?void 0:l.source}}};const _=["Default","ExampleWithTitle"];export{e as Default,r as ExampleWithTitle,_ as __namedExportsOrder,S as default}; diff --git a/docs/storybook/assets/Member-929cc282.js b/docs/storybook/assets/Member-929cc282.js deleted file mode 100644 index 987517b..0000000 --- a/docs/storybook/assets/Member-929cc282.js +++ /dev/null @@ -1 +0,0 @@ -import{j as r}from"./jsx-runtime-6d9837fe.js";import{S as i,A as l,i as p,j as o}from"./SPA-63b29876.js";import"./index-93f6b7ae.js";import"./index-03a57050.js";const s=({name:e,icon:n,avatarUrl:a})=>r.jsxs(i,{gap:6,children:[r.jsx(l,{size:18,name:e,backupIcon:n||p,...a?{imageUrl:a}:{}}),r.jsx(o,{children:e})]}),t=({members:e})=>!Array.isArray(e)||!e.length?null:r.jsx(i,{gap:12,wrap:"wrap",children:e.map((n,a)=>r.jsx(s,{...n},a))});try{s.displayName="Member",s.__docgenInfo={description:"",displayName:"Member",props:{name:{defaultValue:null,description:"",name:"name",required:!0,type:{name:"string | undefined"}},icon:{defaultValue:null,description:"",name:"icon",required:!1,type:{name:"AnyIcon"}},avatarUrl:{defaultValue:null,description:"",name:"avatarUrl",required:!1,type:{name:"Maybe<string | null>"}}}}}catch{}try{t.displayName="Members",t.__docgenInfo={description:"",displayName:"Members",props:{members:{defaultValue:null,description:"",name:"members",required:!1,type:{name:"Props[]"}}}}}catch{}export{s as M,t as a}; diff --git a/docs/storybook/assets/Member.stories-99abdb74.js b/docs/storybook/assets/Member.stories-99abdb74.js deleted file mode 100644 index dacc37a..0000000 --- a/docs/storybook/assets/Member.stories-99abdb74.js +++ /dev/null @@ -1 +0,0 @@ -import{j as o}from"./jsx-runtime-6d9837fe.js";import{h as x}from"./SPA-63b29876.js";import{M as A,a as j}from"./Member-929cc282.js";import"./index-93f6b7ae.js";import"./index-03a57050.js";const U={title:"Core/Member"},k=[{name:"Ezra Kris",avatarUrl:"https://deskpro-product-master.ci.next.deskprodemo.com/file.php/75AAAAAAAAAAAAAAA0/borat.jpg"},{name:"Estel Corwin",avatarUrl:"https://deskpro-product-master.ci.next.deskprodemo.com/file.php/65AAAAAAAAAAAAAAA0/150-2.jpg"},{name:"Janelle Rice"},{name:"Giovanna King",avatarUrl:"https://deskpro-product-master.ci.next.deskprodemo.com/file.php/69AAAAAAAAAAAAAAA0/150-6.jpg"},{name:"Asia Oberbrunner",avatarUrl:"https://deskpro-product-master.ci.next.deskprodemo.com/file.php/78AAAAAAAAAAAAAAA0/mathieu_kassovitz1.jpg"},{name:"Tristian Hoppe",avatarUrl:"https://deskpro-product-master.ci.next.deskprodemo.com/file.php/64AAAAAAAAAAAAAAA0/150-11.jpg"},{name:"Isidro Fahey",avatarUrl:"https://deskpro-product-master.ci.next.deskprodemo.com/file.php/72AAAAAAAAAAAAAAA0/150-9.jpg"}],e=()=>o.jsx(A,{...k[0]}),r=()=>o.jsx(A,{name:"William Shakespeare"}),a=()=>o.jsx(A,{name:"",icon:x}),s=()=>o.jsx(j,{members:k});var t,m,p;e.parameters={...e.parameters,docs:{...(t=e.parameters)==null?void 0:t.docs,source:{originalSource:"() => <Member {...members[0]} />",...(p=(m=e.parameters)==null?void 0:m.docs)==null?void 0:p.source}}};var c,i,n;r.parameters={...r.parameters,docs:{...(c=r.parameters)==null?void 0:c.docs,source:{originalSource:'() => <Member name="William Shakespeare" />',...(n=(i=r.parameters)==null?void 0:i.docs)==null?void 0:n.source}}};var d,u,l;a.parameters={...a.parameters,docs:{...(d=a.parameters)==null?void 0:d.docs,source:{originalSource:'() => <Member name="" icon={faCrown} />',...(l=(u=a.parameters)==null?void 0:u.docs)==null?void 0:l.source}}};var h,b,f;s.parameters={...s.parameters,docs:{...(h=s.parameters)==null?void 0:h.docs,source:{originalSource:"() => <Members members={members} />",...(f=(b=s.parameters)==null?void 0:b.docs)==null?void 0:f.source}}};const W=["Default","WithoutAvatar","WithCustomIcon","ListOfMembers"];export{e as Default,s as ListOfMembers,a as WithCustomIcon,r as WithoutAvatar,W as __namedExportsOrder,U as default}; diff --git a/docs/storybook/assets/NotoSans-Bold-4ec9a19e.woff2 b/docs/storybook/assets/NotoSans-Bold-4ec9a19e.woff2 deleted file mode 100644 index d667666..0000000 Binary files a/docs/storybook/assets/NotoSans-Bold-4ec9a19e.woff2 and /dev/null differ diff --git a/docs/storybook/assets/NotoSans-BoldItalic-e561a929.woff2 b/docs/storybook/assets/NotoSans-BoldItalic-e561a929.woff2 deleted file mode 100644 index 567f501..0000000 Binary files a/docs/storybook/assets/NotoSans-BoldItalic-e561a929.woff2 and /dev/null differ diff --git a/docs/storybook/assets/NotoSans-Italic-0f98eb37.woff2 b/docs/storybook/assets/NotoSans-Italic-0f98eb37.woff2 deleted file mode 100644 index fbec0c0..0000000 Binary files a/docs/storybook/assets/NotoSans-Italic-0f98eb37.woff2 and /dev/null differ diff --git a/docs/storybook/assets/NotoSans-Medium-b3246b06.woff2 b/docs/storybook/assets/NotoSans-Medium-b3246b06.woff2 deleted file mode 100644 index 03482c4..0000000 Binary files a/docs/storybook/assets/NotoSans-Medium-b3246b06.woff2 and /dev/null differ diff --git a/docs/storybook/assets/NotoSans-MediumItalic-de5c7542.woff2 b/docs/storybook/assets/NotoSans-MediumItalic-de5c7542.woff2 deleted file mode 100644 index fe92493..0000000 Binary files a/docs/storybook/assets/NotoSans-MediumItalic-de5c7542.woff2 and /dev/null differ diff --git a/docs/storybook/assets/NotoSans-Regular-0b6d4332.woff2 b/docs/storybook/assets/NotoSans-Regular-0b6d4332.woff2 deleted file mode 100644 index fbb16bc..0000000 Binary files a/docs/storybook/assets/NotoSans-Regular-0b6d4332.woff2 and /dev/null differ diff --git a/docs/storybook/assets/NotoSans-SemiBold-8ad4418f.woff2 b/docs/storybook/assets/NotoSans-SemiBold-8ad4418f.woff2 deleted file mode 100644 index 6c4a472..0000000 Binary files a/docs/storybook/assets/NotoSans-SemiBold-8ad4418f.woff2 and /dev/null differ diff --git a/docs/storybook/assets/NotoSans-SemiBoldItalic-c8dd6880.woff2 b/docs/storybook/assets/NotoSans-SemiBoldItalic-c8dd6880.woff2 deleted file mode 100644 index bfcbefb..0000000 Binary files a/docs/storybook/assets/NotoSans-SemiBoldItalic-c8dd6880.woff2 and /dev/null differ diff --git a/docs/storybook/assets/ObservedDiv-d49201f3.js b/docs/storybook/assets/ObservedDiv-d49201f3.js deleted file mode 100644 index 3d5d022..0000000 --- a/docs/storybook/assets/ObservedDiv-d49201f3.js +++ /dev/null @@ -1,4 +0,0 @@ -import{j as c}from"./jsx-runtime-6d9837fe.js";import{r as t}from"./index-93f6b7ae.js";import{d as u}from"./SPA-63b29876.js";const n=u.div` - height: 3px; - width: 100%; -`;try{n.displayName="Observed",n.__docgenInfo={description:"",displayName:"Observed",props:{theme:{defaultValue:null,description:"",name:"theme",required:!1,type:{name:"DefaultTheme"}},as:{defaultValue:null,description:"",name:"as",required:!1,type:{name:"void | WebTarget"}},forwardedAs:{defaultValue:null,description:"",name:"forwardedAs",required:!1,type:{name:"void | WebTarget"}}}}}catch{}function a({onIntersect:e}){const r=t.useRef(null),s=t.useRef(e);return t.useLayoutEffect(()=>{s.current=e},[e]),t.useLayoutEffect(()=>{if(!r.current)return;const o=new IntersectionObserver(i=>{i.some(d=>d.isIntersecting)&&s.current()});return o.observe(r.current),()=>o.disconnect()},[]),c.jsx(n,{"data-testid":"observer",ref:r})}try{a.displayName="ObservedDiv",a.__docgenInfo={description:"Component that positions absolutely to the top or bottom of the container\nand emits an event if it intersects with the view port using `IntersectionObserver`",displayName:"ObservedDiv",props:{onIntersect:{defaultValue:null,description:"Handler for when the component intersects with the viewport",name:"onIntersect",required:!0,type:{name:"() => void"}}}}}catch{}export{a as O}; diff --git a/docs/storybook/assets/Property-20d29019.js b/docs/storybook/assets/Property-20d29019.js deleted file mode 100644 index 02f3f4e..0000000 --- a/docs/storybook/assets/Property-20d29019.js +++ /dev/null @@ -1,35 +0,0 @@ -import{j as t}from"./jsx-runtime-6d9837fe.js";import{r as d}from"./index-93f6b7ae.js";import{d as r,L as m,a as u,b as y,j as s,T as f}from"./SPA-63b29876.js";import"./index-03a57050.js";import{C as x}from"./index-d14722d4.js";const h=r.div` - width: 1px; - height: 1rem; -`,g=m` - from { - opacity: 0; - transform: translate(100%, -15%); - } - to { - opacity: 1; - transform: translate(0, -15%); - } -`,l=r.div` - position: absolute; - top: 0; - right: 0; - transform: translateY(-15%); - border-radius: 4px; - opacity: 0; - transition: opacity 0.15s ease-in-out; - background: linear-gradient(to right, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 1) 100%); -`,_=r.div` - position: relative; - display: flex; - justify-content: space-between; - - &:hover ${l} { - opacity: 1; - animation: ${g} 0.15s ease-in-out; - } -`,j=({copyText:e})=>t.jsx(h,{children:t.jsx(l,{children:t.jsx(x,{text:e,children:t.jsx(u,{icon:y,size:"small",intent:"minimal"})})})}),n=({children:e,copyText:a})=>t.jsxs(_,{children:[e,t.jsx(j,{copyText:a})]});try{n.displayName="WithCopyButton",n.__docgenInfo={description:"",displayName:"WithCopyButton",props:{copyText:{defaultValue:null,description:"",name:"copyText",required:!0,type:{name:"string"}}}}}catch{}const b=r(f)` - color: ${({theme:e})=>e.colors.grey80}; -`,C=r.div` - margin-bottom: ${({marginBottom:e})=>`${e}px`}; -`,p=({text:e,label:a,copyText:i,marginBottom:c=10})=>{let o;return typeof e=="string"&&e||typeof e=="number"?o=t.jsx(s,{children:e}):d.isValidElement(e)&&(o=e),i&&o&&(o=t.jsx(n,{copyText:i,children:o})),t.jsxs(C,{marginBottom:c,children:[a&&t.jsx(b,{type:"p8",children:a}),o||t.jsx(s,{children:"-"})]})};try{p.displayName="Property",p.__docgenInfo={description:"",displayName:"Property",props:{label:{defaultValue:null,description:"",name:"label",required:!1,type:{name:"ReactNode"}},text:{defaultValue:null,description:"",name:"text",required:!1,type:{name:"ReactNode"}},copyText:{defaultValue:null,description:"",name:"copyText",required:!1,type:{name:"string"}},marginBottom:{defaultValue:{value:"10"},description:"",name:"marginBottom",required:!1,type:{name:"number"}}}}}catch{}export{p as P}; diff --git a/docs/storybook/assets/Property.stories-3fdf9c1e.js b/docs/storybook/assets/Property.stories-3fdf9c1e.js deleted file mode 100644 index 5a876c0..0000000 --- a/docs/storybook/assets/Property.stories-3fdf9c1e.js +++ /dev/null @@ -1,8 +0,0 @@ -import{P as p}from"./Property-20d29019.js";import"./jsx-runtime-6d9837fe.js";import"./index-93f6b7ae.js";import"./SPA-63b29876.js";import"./index-03a57050.js";import"./index-d14722d4.js";const l={title:"Core/Property",component:p,argTypes:{label:{control:"text"},text:{control:"text"}}},t={args:{label:"Deskpro ticket",text:"",copyText:"some text to copy",marginBottom:10}};var o,r,e;t.parameters={...t.parameters,docs:{...(o=t.parameters)==null?void 0:o.docs,source:{originalSource:`{ - args: { - label: "Deskpro ticket", - text: "", - copyText: "some text to copy", - marginBottom: 10 - } -}`,...(e=(r=t.parameters)==null?void 0:r.docs)==null?void 0:e.source}}};const x=["Property"];export{t as Property,x as __namedExportsOrder,l as default}; diff --git a/docs/storybook/assets/PropertyRow-1432eb20.js b/docs/storybook/assets/PropertyRow-1432eb20.js deleted file mode 100644 index 03184d2..0000000 --- a/docs/storybook/assets/PropertyRow-1432eb20.js +++ /dev/null @@ -1,25 +0,0 @@ -import{j as t}from"./jsx-runtime-6d9837fe.js";import{d as i}from"./SPA-63b29876.js";const l=i.div` - display: grid; - grid-template-columns: repeat(${({count:r})=>r}, ${({count:r})=>100/r}%); - width: 100%; - margin-bottom: ${({marginBottom:r})=>`${r}px`}; -`,p=i.div` - padding: 0 6px; - - &:first-child { - padding-left: 0; - } - - &:last-child { - padding-right: 0; - } - - &:not(:first-child) { - border-left: 1px solid ${({theme:r})=>r.colors.grey20}; - } -`,c=i.div` - overflow: hidden; - white-space: pre-wrap; - text-overflow: ellipsis; - word-wrap: break-word; -`,a=({style:r,children:o,marginBottom:d=10})=>{const e=Array.isArray(o)?o.filter(Boolean):o;return Array.isArray(e)?t.jsx(l,{count:e.length,marginBottom:d,style:r,children:e.map((s,n)=>t.jsx(p,{children:t.jsx(c,{children:s})},n))}):t.jsx("div",{style:r,children:e})};try{a.displayName="PropertyRow",a.__docgenInfo={description:"",displayName:"PropertyRow",props:{marginBottom:{defaultValue:{value:"10"},description:"",name:"marginBottom",required:!1,type:{name:"number"}},style:{defaultValue:null,description:"",name:"style",required:!1,type:{name:"CSSProperties"}}}}}catch{}export{a as P}; diff --git a/docs/storybook/assets/PropertyRow.stories-cf84015c.js b/docs/storybook/assets/PropertyRow.stories-cf84015c.js deleted file mode 100644 index 625d347..0000000 --- a/docs/storybook/assets/PropertyRow.stories-cf84015c.js +++ /dev/null @@ -1,43 +0,0 @@ -import{j as t}from"./jsx-runtime-6d9837fe.js";import{P as o}from"./PropertyRow-1432eb20.js";import{P as e}from"./Property-20d29019.js";import{S as p,P as i}from"./SPA-63b29876.js";import"./index-93f6b7ae.js";import"./index-03a57050.js";import"./index-d14722d4.js";const u={title:"Core/Property",component:o},r=()=>t.jsxs(p,{vertical:!0,gap:15,children:[t.jsx(o,{children:t.jsx(e,{label:"key",text:"value",marginBottom:0})}),t.jsxs(o,{children:[t.jsx(e,{label:"key",text:"value",marginBottom:0}),t.jsx(e,{label:"key",text:"value",marginBottom:0})]}),t.jsxs(o,{children:[t.jsx(e,{label:"key",text:"value",marginBottom:0}),t.jsx(e,{label:"key",text:"value",marginBottom:0}),t.jsx(e,{label:"key",text:"value",marginBottom:0})]}),t.jsxs(o,{children:[t.jsx(e,{label:"key",text:"value",marginBottom:0}),t.jsx(e,{label:"key",marginBottom:0}),t.jsx(e,{label:"key",text:"most popular programming",marginBottom:0}),t.jsx(e,{label:"key",text:"value",marginBottom:0})]}),t.jsxs(o,{children:[t.jsx(e,{label:"key",text:"value",marginBottom:0}),null,t.jsx(e,{label:"key",text:"most popular programming",marginBottom:0}),t.jsx(e,{label:"key",text:"value",marginBottom:0})]}),t.jsxs(o,{children:[t.jsx(e,{label:"key",text:"value",marginBottom:0}),t.jsx(e,{label:"key",text:"JavaScript",marginBottom:0}),t.jsx(e,{label:"key",text:"value",marginBottom:0}),t.jsx(e,{label:"key",text:"JavaScript it's the world",marginBottom:0}),t.jsx(e,{label:"key",text:"block with some copy text",marginBottom:0,copyText:"https://deskpro.com/apps"})]}),t.jsxs(o,{children:[t.jsx(e,{label:"key",text:"value",marginBottom:0}),t.jsx(e,{label:"key",text:t.jsx(i,{label:"Pill",textColor:"#FFFFFF",backgroundColor:"#000000"}),marginBottom:0})]}),t.jsxs(o,{children:[t.jsx(e,{label:"key",marginBottom:0,text:"JavaScript is the world's most popular programming language. JavaScript is the programming language of the Web. JavaScript is easy to learn."}),t.jsx(e,{label:"key",marginBottom:0,text:"JavaScript is the world's most popular programming language."})]})]});var a,l,m;r.parameters={...r.parameters,docs:{...(a=r.parameters)==null?void 0:a.docs,source:{originalSource:`() => { - return <Stack vertical gap={15}> - <PropertyRowCmp> - <Property label="key" text="value" marginBottom={0} /> - </PropertyRowCmp> - <PropertyRowCmp> - <Property label="key" text="value" marginBottom={0} /> - <Property label="key" text="value" marginBottom={0} /> - </PropertyRowCmp> - <PropertyRowCmp> - <Property label="key" text="value" marginBottom={0} /> - <Property label="key" text="value" marginBottom={0} /> - <Property label="key" text="value" marginBottom={0} /> - </PropertyRowCmp> - <PropertyRowCmp> - <Property label="key" text="value" marginBottom={0} /> - <Property label="key" marginBottom={0} /> - <Property label="key" text="most popular programming" marginBottom={0} /> - <Property label="key" text="value" marginBottom={0} /> - </PropertyRowCmp> - <PropertyRowCmp> - <Property label="key" text="value" marginBottom={0} /> - {null} - <Property label="key" text="most popular programming" marginBottom={0} /> - <Property label="key" text="value" marginBottom={0} /> - </PropertyRowCmp> - <PropertyRowCmp> - <Property label="key" text="value" marginBottom={0} /> - <Property label="key" text="JavaScript" marginBottom={0} /> - <Property label="key" text="value" marginBottom={0} /> - <Property label="key" text="JavaScript it's the world" marginBottom={0} /> - <Property label="key" text="block with some copy text" marginBottom={0} copyText="https://deskpro.com/apps" /> - </PropertyRowCmp> - <PropertyRowCmp> - <Property label="key" text="value" marginBottom={0} /> - <Property label="key" text={<Pill label="Pill" textColor="#FFFFFF" backgroundColor="#000000"></Pill>} marginBottom={0} /> - </PropertyRowCmp> - <PropertyRowCmp> - <Property label="key" marginBottom={0} text="JavaScript is the world's most popular programming language. JavaScript is the programming language of the Web. JavaScript is easy to learn." /> - <Property label="key" marginBottom={0} text="JavaScript is the world's most popular programming language." /> - </PropertyRowCmp> - </Stack>; -}`,...(m=(l=r.parameters)==null?void 0:l.docs)==null?void 0:m.source}}};const P=["PropertyRow"];export{r as PropertyRow,P as __namedExportsOrder,u as default}; diff --git a/docs/storybook/assets/Rubik-Medium-542fde66.woff2 b/docs/storybook/assets/Rubik-Medium-542fde66.woff2 deleted file mode 100644 index df84cc3..0000000 Binary files a/docs/storybook/assets/Rubik-Medium-542fde66.woff2 and /dev/null differ diff --git a/docs/storybook/assets/Rubik-Regular-2e9798a1.woff2 b/docs/storybook/assets/Rubik-Regular-2e9798a1.woff2 deleted file mode 100644 index 6a246bc..0000000 Binary files a/docs/storybook/assets/Rubik-Regular-2e9798a1.woff2 and /dev/null differ diff --git a/docs/storybook/assets/SPA-63b29876.js b/docs/storybook/assets/SPA-63b29876.js deleted file mode 100644 index a284da1..0000000 --- a/docs/storybook/assets/SPA-63b29876.js +++ /dev/null @@ -1,4863 +0,0 @@ -import{R as ye,r as f,g as Tr,c as et}from"./index-93f6b7ae.js";import{r as Ju}from"./index-03a57050.js";/*! - * Font Awesome Free 6.7.2 by @fontawesome - https://fontawesome.com - * License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License) - * Copyright 2024 Fonticons, Inc. - */const W9={prefix:"fas",iconName:"calendar-days",icon:[448,512,["calendar-alt"],"f073","M128 0c17.7 0 32 14.3 32 32l0 32 128 0 0-32c0-17.7 14.3-32 32-32s32 14.3 32 32l0 32 48 0c26.5 0 48 21.5 48 48l0 48L0 160l0-48C0 85.5 21.5 64 48 64l48 0 0-32c0-17.7 14.3-32 32-32zM0 192l448 0 0 272c0 26.5-21.5 48-48 48L48 512c-26.5 0-48-21.5-48-48L0 192zm64 80l0 32c0 8.8 7.2 16 16 16l32 0c8.8 0 16-7.2 16-16l0-32c0-8.8-7.2-16-16-16l-32 0c-8.8 0-16 7.2-16 16zm128 0l0 32c0 8.8 7.2 16 16 16l32 0c8.8 0 16-7.2 16-16l0-32c0-8.8-7.2-16-16-16l-32 0c-8.8 0-16 7.2-16 16zm144-16c-8.8 0-16 7.2-16 16l0 32c0 8.8 7.2 16 16 16l32 0c8.8 0 16-7.2 16-16l0-32c0-8.8-7.2-16-16-16l-32 0zM64 400l0 32c0 8.8 7.2 16 16 16l32 0c8.8 0 16-7.2 16-16l0-32c0-8.8-7.2-16-16-16l-32 0c-8.8 0-16 7.2-16 16zm144-16c-8.8 0-16 7.2-16 16l0 32c0 8.8 7.2 16 16 16l32 0c8.8 0 16-7.2 16-16l0-32c0-8.8-7.2-16-16-16l-32 0zm112 16l0 32c0 8.8 7.2 16 16 16l32 0c8.8 0 16-7.2 16-16l0-32c0-8.8-7.2-16-16-16l-32 0c-8.8 0-16 7.2-16 16z"]},zw={prefix:"fas",iconName:"angles-down",icon:[448,512,["angle-double-down"],"f103","M246.6 470.6c-12.5 12.5-32.8 12.5-45.3 0l-160-160c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0L224 402.7 361.4 265.4c12.5-12.5 32.8-12.5 45.3 0s12.5 32.8 0 45.3l-160 160zm160-352l-160 160c-12.5 12.5-32.8 12.5-45.3 0l-160-160c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0L224 210.7 361.4 73.4c12.5-12.5 32.8-12.5 45.3 0s12.5 32.8 0 45.3z"]},Kd=zw,_w={prefix:"fas",iconName:"caret-right",icon:[256,512,[],"f0da","M246.6 278.6c12.5-12.5 12.5-32.8 0-45.3l-128-128c-9.2-9.2-22.9-11.9-34.9-6.9s-19.8 16.6-19.8 29.6l0 256c0 12.9 7.8 24.6 19.8 29.6s25.7 2.2 34.9-6.9l128-128z"]},Iw={prefix:"fas",iconName:"lock",icon:[448,512,[128274],"f023","M144 144l0 48 160 0 0-48c0-44.2-35.8-80-80-80s-80 35.8-80 80zM80 192l0-48C80 64.5 144.5 0 224 0s144 64.5 144 144l0 48 16 0c35.3 0 64 28.7 64 64l0 192c0 35.3-28.7 64-64 64L64 512c-35.3 0-64-28.7-64-64L0 256c0-35.3 28.7-64 64-64l16 0z"]},Rw={prefix:"fas",iconName:"user",icon:[448,512,[128100,62144],"f007","M224 256A128 128 0 1 0 224 0a128 128 0 1 0 0 256zm-45.7 48C79.8 304 0 383.8 0 482.3C0 498.7 13.3 512 29.7 512l388.6 0c16.4 0 29.7-13.3 29.7-29.7C448 383.8 368.2 304 269.7 304l-91.4 0z"]},U9={prefix:"fas",iconName:"globe",icon:[512,512,[127760],"f0ac","M352 256c0 22.2-1.2 43.6-3.3 64l-185.3 0c-2.2-20.4-3.3-41.8-3.3-64s1.2-43.6 3.3-64l185.3 0c2.2 20.4 3.3 41.8 3.3 64zm28.8-64l123.1 0c5.3 20.5 8.1 41.9 8.1 64s-2.8 43.5-8.1 64l-123.1 0c2.1-20.6 3.2-42 3.2-64s-1.1-43.4-3.2-64zm112.6-32l-116.7 0c-10-63.9-29.8-117.4-55.3-151.6c78.3 20.7 142 77.5 171.9 151.6zm-149.1 0l-176.6 0c6.1-36.4 15.5-68.6 27-94.7c10.5-23.6 22.2-40.7 33.5-51.5C239.4 3.2 248.7 0 256 0s16.6 3.2 27.8 13.8c11.3 10.8 23 27.9 33.5 51.5c11.6 26 20.9 58.2 27 94.7zm-209 0L18.6 160C48.6 85.9 112.2 29.1 190.6 8.4C165.1 42.6 145.3 96.1 135.3 160zM8.1 192l123.1 0c-2.1 20.6-3.2 42-3.2 64s1.1 43.4 3.2 64L8.1 320C2.8 299.5 0 278.1 0 256s2.8-43.5 8.1-64zM194.7 446.6c-11.6-26-20.9-58.2-27-94.6l176.6 0c-6.1 36.4-15.5 68.6-27 94.6c-10.5 23.6-22.2 40.7-33.5 51.5C272.6 508.8 263.3 512 256 512s-16.6-3.2-27.8-13.8c-11.3-10.8-23-27.9-33.5-51.5zM135.3 352c10 63.9 29.8 117.4 55.3 151.6C112.2 482.9 48.6 426.1 18.6 352l116.7 0zm358.1 0c-30 74.1-93.6 130.9-171.9 151.6c25.5-34.2 45.2-87.7 55.3-151.6l116.7 0z"]},H9={prefix:"fas",iconName:"crown",icon:[576,512,[128081],"f521","M309 106c11.4-7 19-19.7 19-34c0-22.1-17.9-40-40-40s-40 17.9-40 40c0 14.4 7.6 27 19 34L209.7 220.6c-9.1 18.2-32.7 23.4-48.6 10.7L72 160c5-6.7 8-15 8-24c0-22.1-17.9-40-40-40S0 113.9 0 136s17.9 40 40 40c.2 0 .5 0 .7 0L86.4 427.4c5.5 30.4 32 52.6 63 52.6l277.2 0c30.9 0 57.4-22.1 63-52.6L535.3 176c.2 0 .5 0 .7 0c22.1 0 40-17.9 40-40s-17.9-40-40-40s-40 17.9-40 40c0 9 3 17.3 8 24l-89.1 71.3c-15.9 12.7-39.5 7.5-48.6-10.7L309 106z"]},G9={prefix:"fas",iconName:"arrow-up-right-from-square",icon:[512,512,["external-link"],"f08e","M320 0c-17.7 0-32 14.3-32 32s14.3 32 32 32l82.7 0L201.4 265.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L448 109.3l0 82.7c0 17.7 14.3 32 32 32s32-14.3 32-32l0-160c0-17.7-14.3-32-32-32L320 0zM80 32C35.8 32 0 67.8 0 112L0 432c0 44.2 35.8 80 80 80l320 0c44.2 0 80-35.8 80-80l0-112c0-17.7-14.3-32-32-32s-32 14.3-32 32l0 112c0 8.8-7.2 16-16 16L80 448c-8.8 0-16-7.2-16-16l0-320c0-8.8 7.2-16 16-16l112 0c17.7 0 32-14.3 32-32s-14.3-32-32-32L80 32z"]},Lw={prefix:"fas",iconName:"pen",icon:[512,512,[128394],"f304","M362.7 19.3L314.3 67.7 444.3 197.7l48.4-48.4c25-25 25-65.5 0-90.5L453.3 19.3c-25-25-65.5-25-90.5 0zm-71 71L58.6 323.5c-10.4 10.4-18 23.3-22.2 37.4L1 481.2C-1.5 489.7 .8 498.8 7 505s15.3 8.5 23.7 6.1l120.3-35.4c14.1-4.2 27-11.8 37.4-22.2L421.7 220.3 291.7 90.3z"]},Fw={prefix:"fas",iconName:"up-right-from-square",icon:[512,512,["external-link-alt"],"f35d","M352 0c-12.9 0-24.6 7.8-29.6 19.8s-2.2 25.7 6.9 34.9L370.7 96 201.4 265.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L416 141.3l41.4 41.4c9.2 9.2 22.9 11.9 34.9 6.9s19.8-16.6 19.8-29.6l0-128c0-17.7-14.3-32-32-32L352 0zM80 32C35.8 32 0 67.8 0 112L0 432c0 44.2 35.8 80 80 80l320 0c44.2 0 80-35.8 80-80l0-112c0-17.7-14.3-32-32-32s-32 14.3-32 32l0 112c0 8.8-7.2 16-16 16L80 448c-8.8 0-16-7.2-16-16l0-320c0-8.8 7.2-16 16-16l112 0c17.7 0 32-14.3 32-32s-14.3-32-32-32L80 32z"]},q9=Fw,Dw={prefix:"fas",iconName:"angles-up",icon:[448,512,["angle-double-up"],"f102","M246.6 41.4c-12.5-12.5-32.8-12.5-45.3 0l-160 160c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L224 109.3 361.4 246.6c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3l-160-160zm160 352l-160-160c-12.5-12.5-32.8-12.5-45.3 0l-160 160c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L224 301.3 361.4 438.6c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3z"]},Zd=Dw,Y9={prefix:"fas",iconName:"caret-down",icon:[320,512,[],"f0d7","M137.4 374.6c12.5 12.5 32.8 12.5 45.3 0l128-128c9.2-9.2 11.9-22.9 6.9-34.9s-16.6-19.8-29.6-19.8L32 192c-12.9 0-24.6 7.8-29.6 19.8s-2.2 25.7 6.9 34.9l128 128z"]},Mw={prefix:"fas",iconName:"magnifying-glass",icon:[512,512,[128269,"search"],"f002","M416 208c0 45.9-14.9 88.3-40 122.7L502.6 457.4c12.5 12.5 12.5 32.8 0 45.3s-32.8 12.5-45.3 0L330.7 376c-34.4 25.2-76.8 40-122.7 40C93.1 416 0 322.9 0 208S93.1 0 208 0S416 93.1 416 208zM208 352a144 144 0 1 0 0-288 144 144 0 1 0 0 288z"]},jw=Mw,X9={prefix:"fas",iconName:"copy",icon:[448,512,[],"f0c5","M208 0L332.1 0c12.7 0 24.9 5.1 33.9 14.1l67.9 67.9c9 9 14.1 21.2 14.1 33.9L448 336c0 26.5-21.5 48-48 48l-192 0c-26.5 0-48-21.5-48-48l0-288c0-26.5 21.5-48 48-48zM48 128l80 0 0 64-64 0 0 256 192 0 0-32 64 0 0 48c0 26.5-21.5 48-48 48L48 512c-26.5 0-48-21.5-48-48L0 176c0-26.5 21.5-48 48-48z"]},K9={prefix:"fas",iconName:"plus",icon:[448,512,[10133,61543,"add"],"2b","M256 80c0-17.7-14.3-32-32-32s-32 14.3-32 32l0 144L48 224c-17.7 0-32 14.3-32 32s14.3 32 32 32l144 0 0 144c0 17.7 14.3 32 32 32s32-14.3 32-32l0-144 144 0c17.7 0 32-14.3 32-32s-14.3-32-32-32l-144 0 0-144z"]},Wg={prefix:"fas",iconName:"xmark",icon:[384,512,[128473,10005,10006,10060,215,"close","multiply","remove","times"],"f00d","M342.6 150.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L192 210.7 86.6 105.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L146.7 256 41.4 361.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L192 301.3 297.4 406.6c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L237.3 256 342.6 150.6z"]},Nw=Wg,Ug=Wg,Z9={prefix:"fas",iconName:"spinner",icon:[512,512,[],"f110","M304 48a48 48 0 1 0 -96 0 48 48 0 1 0 96 0zm0 416a48 48 0 1 0 -96 0 48 48 0 1 0 96 0zM48 304a48 48 0 1 0 0-96 48 48 0 1 0 0 96zm464-48a48 48 0 1 0 -96 0 48 48 0 1 0 96 0zM142.9 437A48 48 0 1 0 75 369.1 48 48 0 1 0 142.9 437zm0-294.2A48 48 0 1 0 75 75a48 48 0 1 0 67.9 67.9zM369.1 437A48 48 0 1 0 437 369.1 48 48 0 1 0 369.1 437z"]},J9={prefix:"fas",iconName:"check",icon:[448,512,[10003,10004],"f00c","M438.6 105.4c12.5 12.5 12.5 32.8 0 45.3l-256 256c-12.5 12.5-32.8 12.5-45.3 0l-128-128c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0L160 338.7 393.4 105.4c12.5-12.5 32.8-12.5 45.3 0z"]};var Hg={exports:{}},Ee={};/** - * @license React - * react-is.production.min.js - * - * Copyright (c) Facebook, Inc. and its affiliates. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */var Qu=Symbol.for("react.element"),ef=Symbol.for("react.portal"),fs=Symbol.for("react.fragment"),ds=Symbol.for("react.strict_mode"),ps=Symbol.for("react.profiler"),hs=Symbol.for("react.provider"),vs=Symbol.for("react.context"),Bw=Symbol.for("react.server_context"),ms=Symbol.for("react.forward_ref"),gs=Symbol.for("react.suspense"),ys=Symbol.for("react.suspense_list"),bs=Symbol.for("react.memo"),xs=Symbol.for("react.lazy"),Vw=Symbol.for("react.offscreen"),Gg;Gg=Symbol.for("react.module.reference");function Ct(e){if(typeof e=="object"&&e!==null){var t=e.$$typeof;switch(t){case Qu:switch(e=e.type,e){case fs:case ps:case ds:case gs:case ys:return e;default:switch(e=e&&e.$$typeof,e){case Bw:case vs:case ms:case xs:case bs:case hs:return e;default:return t}}case ef:return t}}}Ee.ContextConsumer=vs;Ee.ContextProvider=hs;Ee.Element=Qu;Ee.ForwardRef=ms;Ee.Fragment=fs;Ee.Lazy=xs;Ee.Memo=bs;Ee.Portal=ef;Ee.Profiler=ps;Ee.StrictMode=ds;Ee.Suspense=gs;Ee.SuspenseList=ys;Ee.isAsyncMode=function(){return!1};Ee.isConcurrentMode=function(){return!1};Ee.isContextConsumer=function(e){return Ct(e)===vs};Ee.isContextProvider=function(e){return Ct(e)===hs};Ee.isElement=function(e){return typeof e=="object"&&e!==null&&e.$$typeof===Qu};Ee.isForwardRef=function(e){return Ct(e)===ms};Ee.isFragment=function(e){return Ct(e)===fs};Ee.isLazy=function(e){return Ct(e)===xs};Ee.isMemo=function(e){return Ct(e)===bs};Ee.isPortal=function(e){return Ct(e)===ef};Ee.isProfiler=function(e){return Ct(e)===ps};Ee.isStrictMode=function(e){return Ct(e)===ds};Ee.isSuspense=function(e){return Ct(e)===gs};Ee.isSuspenseList=function(e){return Ct(e)===ys};Ee.isValidElementType=function(e){return typeof e=="string"||typeof e=="function"||e===fs||e===ps||e===ds||e===gs||e===ys||e===Vw||typeof e=="object"&&e!==null&&(e.$$typeof===xs||e.$$typeof===bs||e.$$typeof===hs||e.$$typeof===vs||e.$$typeof===ms||e.$$typeof===Gg||e.getModuleId!==void 0)};Ee.typeOf=Ct;Hg.exports=Ee;var tf=Hg.exports,tt=function(){return tt=Object.assign||function(t){for(var r,n=1,o=arguments.length;n<o;n++){r=arguments[n];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(t[i]=r[i])}return t},tt.apply(this,arguments)};function Rn(e,t,r){if(r||arguments.length===2)for(var n=0,o=t.length,i;n<o;n++)(i||!(n in t))&&(i||(i=Array.prototype.slice.call(t,0,n)),i[n]=t[n]);return e.concat(i||Array.prototype.slice.call(t))}var Ie="-ms-",xo="-moz-",we="-webkit-",qg="comm",ws="rule",rf="decl",Ww="@import",Yg="@keyframes",Uw="@layer",Xg=Math.abs,nf=String.fromCharCode,zc=Object.assign;function Hw(e,t){return qe(e,0)^45?(((t<<2^qe(e,0))<<2^qe(e,1))<<2^qe(e,2))<<2^qe(e,3):0}function Kg(e){return e.trim()}function tr(e,t){return(e=t.exec(e))?e[0]:e}function ue(e,t,r){return e.replace(t,r)}function ra(e,t,r){return e.indexOf(t,r)}function qe(e,t){return e.charCodeAt(t)|0}function Ln(e,t,r){return e.slice(t,r)}function Ut(e){return e.length}function Zg(e){return e.length}function go(e,t){return t.push(e),e}function Gw(e,t){return e.map(t).join("")}function Jd(e,t){return e.filter(function(r){return!tr(r,t)})}var $s=1,Fn=1,Jg=0,$t=0,Ve=0,Yn="";function Es(e,t,r,n,o,i,a,s){return{value:e,root:t,parent:r,type:n,props:o,children:i,line:$s,column:Fn,length:a,return:"",siblings:s}}function vr(e,t){return zc(Es("",null,null,"",null,null,0,e.siblings),e,{length:-e.length},t)}function pn(e){for(;e.root;)e=vr(e.root,{children:[e]});go(e,e.siblings)}function qw(){return Ve}function Yw(){return Ve=$t>0?qe(Yn,--$t):0,Fn--,Ve===10&&(Fn=1,$s--),Ve}function It(){return Ve=$t<Jg?qe(Yn,$t++):0,Fn++,Ve===10&&(Fn=1,$s++),Ve}function Hr(){return qe(Yn,$t)}function na(){return $t}function Ss(e,t){return Ln(Yn,e,t)}function _c(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function Xw(e){return $s=Fn=1,Jg=Ut(Yn=e),$t=0,[]}function Kw(e){return Yn="",e}function dl(e){return Kg(Ss($t-1,Ic(e===91?e+2:e===40?e+1:e)))}function Zw(e){for(;(Ve=Hr())&&Ve<33;)It();return _c(e)>2||_c(Ve)>3?"":" "}function Jw(e,t){for(;--t&&It()&&!(Ve<48||Ve>102||Ve>57&&Ve<65||Ve>70&&Ve<97););return Ss(e,na()+(t<6&&Hr()==32&&It()==32))}function Ic(e){for(;It();)switch(Ve){case e:return $t;case 34:case 39:e!==34&&e!==39&&Ic(Ve);break;case 40:e===41&&Ic(e);break;case 92:It();break}return $t}function Qw(e,t){for(;It()&&e+Ve!==47+10;)if(e+Ve===42+42&&Hr()===47)break;return"/*"+Ss(t,$t-1)+"*"+nf(e===47?e:It())}function e$(e){for(;!_c(Hr());)It();return Ss(e,$t)}function t$(e){return Kw(oa("",null,null,null,[""],e=Xw(e),0,[0],e))}function oa(e,t,r,n,o,i,a,s,l){for(var c=0,u=0,d=a,p=0,v=0,h=0,m=1,y=1,x=1,b=0,$="",g=o,C=i,S=n,O=$;y;)switch(h=b,b=It()){case 40:if(h!=108&&qe(O,d-1)==58){ra(O+=ue(dl(b),"&","&\f"),"&\f",Xg(c?s[c-1]:0))!=-1&&(x=-1);break}case 34:case 39:case 91:O+=dl(b);break;case 9:case 10:case 13:case 32:O+=Zw(h);break;case 92:O+=Jw(na()-1,7);continue;case 47:switch(Hr()){case 42:case 47:go(r$(Qw(It(),na()),t,r,l),l);break;default:O+="/"}break;case 123*m:s[c++]=Ut(O)*x;case 125*m:case 59:case 0:switch(b){case 0:case 125:y=0;case 59+u:x==-1&&(O=ue(O,/\f/g,"")),v>0&&Ut(O)-d&&go(v>32?ep(O+";",n,r,d-1,l):ep(ue(O," ","")+";",n,r,d-2,l),l);break;case 59:O+=";";default:if(go(S=Qd(O,t,r,c,u,o,s,$,g=[],C=[],d,i),i),b===123)if(u===0)oa(O,t,S,S,g,i,d,s,C);else switch(p===99&&qe(O,3)===110?100:p){case 100:case 108:case 109:case 115:oa(e,S,S,n&&go(Qd(e,S,S,0,0,o,s,$,o,g=[],d,C),C),o,C,d,s,n?g:C);break;default:oa(O,S,S,S,[""],C,0,s,C)}}c=u=v=0,m=x=1,$=O="",d=a;break;case 58:d=1+Ut(O),v=h;default:if(m<1){if(b==123)--m;else if(b==125&&m++==0&&Yw()==125)continue}switch(O+=nf(b),b*m){case 38:x=u>0?1:(O+="\f",-1);break;case 44:s[c++]=(Ut(O)-1)*x,x=1;break;case 64:Hr()===45&&(O+=dl(It())),p=Hr(),u=d=Ut($=O+=e$(na())),b++;break;case 45:h===45&&Ut(O)==2&&(m=0)}}return i}function Qd(e,t,r,n,o,i,a,s,l,c,u,d){for(var p=o-1,v=o===0?i:[""],h=Zg(v),m=0,y=0,x=0;m<n;++m)for(var b=0,$=Ln(e,p+1,p=Xg(y=a[m])),g=e;b<h;++b)(g=Kg(y>0?v[b]+" "+$:ue($,/&\f/g,v[b])))&&(l[x++]=g);return Es(e,t,r,o===0?ws:s,l,c,u,d)}function r$(e,t,r,n){return Es(e,t,r,qg,nf(qw()),Ln(e,2,-2),0,n)}function ep(e,t,r,n,o){return Es(e,t,r,rf,Ln(e,0,n),Ln(e,n+1,-1),n,o)}function Qg(e,t,r){switch(Hw(e,t)){case 5103:return we+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return we+e+e;case 4789:return xo+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return we+e+xo+e+Ie+e+e;case 5936:switch(qe(e,t+11)){case 114:return we+e+Ie+ue(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return we+e+Ie+ue(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return we+e+Ie+ue(e,/[svh]\w+-[tblr]{2}/,"lr")+e}case 6828:case 4268:case 2903:return we+e+Ie+e+e;case 6165:return we+e+Ie+"flex-"+e+e;case 5187:return we+e+ue(e,/(\w+).+(:[^]+)/,we+"box-$1$2"+Ie+"flex-$1$2")+e;case 5443:return we+e+Ie+"flex-item-"+ue(e,/flex-|-self/g,"")+(tr(e,/flex-|baseline/)?"":Ie+"grid-row-"+ue(e,/flex-|-self/g,""))+e;case 4675:return we+e+Ie+"flex-line-pack"+ue(e,/align-content|flex-|-self/g,"")+e;case 5548:return we+e+Ie+ue(e,"shrink","negative")+e;case 5292:return we+e+Ie+ue(e,"basis","preferred-size")+e;case 6060:return we+"box-"+ue(e,"-grow","")+we+e+Ie+ue(e,"grow","positive")+e;case 4554:return we+ue(e,/([^-])(transform)/g,"$1"+we+"$2")+e;case 6187:return ue(ue(ue(e,/(zoom-|grab)/,we+"$1"),/(image-set)/,we+"$1"),e,"")+e;case 5495:case 3959:return ue(e,/(image-set\([^]*)/,we+"$1$`$1");case 4968:return ue(ue(e,/(.+:)(flex-)?(.*)/,we+"box-pack:$3"+Ie+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+we+e+e;case 4200:if(!tr(e,/flex-|baseline/))return Ie+"grid-column-align"+Ln(e,t)+e;break;case 2592:case 3360:return Ie+ue(e,"template-","")+e;case 4384:case 3616:return r&&r.some(function(n,o){return t=o,tr(n.props,/grid-\w+-end/)})?~ra(e+(r=r[t].value),"span",0)?e:Ie+ue(e,"-start","")+e+Ie+"grid-row-span:"+(~ra(r,"span",0)?tr(r,/\d+/):+tr(r,/\d+/)-+tr(e,/\d+/))+";":Ie+ue(e,"-start","")+e;case 4896:case 4128:return r&&r.some(function(n){return tr(n.props,/grid-\w+-start/)})?e:Ie+ue(ue(e,"-end","-span"),"span ","")+e;case 4095:case 3583:case 4068:case 2532:return ue(e,/(.+)-inline(.+)/,we+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(Ut(e)-1-t>6)switch(qe(e,t+1)){case 109:if(qe(e,t+4)!==45)break;case 102:return ue(e,/(.+:)(.+)-([^]+)/,"$1"+we+"$2-$3$1"+xo+(qe(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~ra(e,"stretch",0)?Qg(ue(e,"stretch","fill-available"),t,r)+e:e}break;case 5152:case 5920:return ue(e,/(.+?):(\d+)(\s*\/\s*(span)?\s*(\d+))?(.*)/,function(n,o,i,a,s,l,c){return Ie+o+":"+i+c+(a?Ie+o+"-span:"+(s?l:+l-+i)+c:"")+e});case 4949:if(qe(e,t+6)===121)return ue(e,":",":"+we)+e;break;case 6444:switch(qe(e,qe(e,14)===45?18:11)){case 120:return ue(e,/(.+:)([^;\s!]+)(;|(\s+)?!.+)?/,"$1"+we+(qe(e,14)===45?"inline-":"")+"box$3$1"+we+"$2$3$1"+Ie+"$2box$3")+e;case 100:return ue(e,":",":"+Ie)+e}break;case 5719:case 2647:case 2135:case 3927:case 2391:return ue(e,"scroll-","scroll-snap-")+e}return e}function Ta(e,t){for(var r="",n=0;n<e.length;n++)r+=t(e[n],n,e,t)||"";return r}function n$(e,t,r,n){switch(e.type){case Uw:if(e.children.length)break;case Ww:case rf:return e.return=e.return||e.value;case qg:return"";case Yg:return e.return=e.value+"{"+Ta(e.children,n)+"}";case ws:if(!Ut(e.value=e.props.join(",")))return""}return Ut(r=Ta(e.children,n))?e.return=e.value+"{"+r+"}":""}function o$(e){var t=Zg(e);return function(r,n,o,i){for(var a="",s=0;s<t;s++)a+=e[s](r,n,o,i)||"";return a}}function i$(e){return function(t){t.root||(t=t.return)&&e(t)}}function a$(e,t,r,n){if(e.length>-1&&!e.return)switch(e.type){case rf:e.return=Qg(e.value,e.length,r);return;case Yg:return Ta([vr(e,{value:ue(e.value,"@","@"+we)})],n);case ws:if(e.length)return Gw(r=e.props,function(o){switch(tr(o,n=/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":pn(vr(e,{props:[ue(o,/:(read-\w+)/,":"+xo+"$1")]})),pn(vr(e,{props:[o]})),zc(e,{props:Jd(r,n)});break;case"::placeholder":pn(vr(e,{props:[ue(o,/:(plac\w+)/,":"+we+"input-$1")]})),pn(vr(e,{props:[ue(o,/:(plac\w+)/,":"+xo+"$1")]})),pn(vr(e,{props:[ue(o,/:(plac\w+)/,Ie+"input-$1")]})),pn(vr(e,{props:[o]})),zc(e,{props:Jd(r,n)});break}return""})}}var s$={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},Dn=typeof process<"u"&&process.env!==void 0&&({}.REACT_APP_SC_ATTR||{}.SC_ATTR)||"data-styled",e0="active",t0="data-styled-version",Cs="6.1.15",of=`/*!sc*/ -`,ka=typeof window<"u"&&"HTMLElement"in window,l$=!!(typeof SC_DISABLE_SPEEDY=="boolean"?SC_DISABLE_SPEEDY:typeof process<"u"&&process.env!==void 0&&{}.REACT_APP_SC_DISABLE_SPEEDY!==void 0&&{}.REACT_APP_SC_DISABLE_SPEEDY!==""?{}.REACT_APP_SC_DISABLE_SPEEDY!=="false"&&{}.REACT_APP_SC_DISABLE_SPEEDY:typeof process<"u"&&process.env!==void 0&&{}.SC_DISABLE_SPEEDY!==void 0&&{}.SC_DISABLE_SPEEDY!==""&&{}.SC_DISABLE_SPEEDY!=="false"&&{}.SC_DISABLE_SPEEDY),c$={},Os=Object.freeze([]),Mn=Object.freeze({});function r0(e,t,r){return r===void 0&&(r=Mn),e.theme!==r.theme&&e.theme||t||r.theme}var n0=new Set(["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","track","u","ul","use","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","marker","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"]),u$=/[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g,f$=/(^-|-$)/g;function tp(e){return e.replace(u$,"-").replace(f$,"")}var d$=/(a)(d)/gi,$i=52,rp=function(e){return String.fromCharCode(e+(e>25?39:97))};function Rc(e){var t,r="";for(t=Math.abs(e);t>$i;t=t/$i|0)r=rp(t%$i)+r;return(rp(t%$i)+r).replace(d$,"$1-$2")}var pl,o0=5381,wn=function(e,t){for(var r=t.length;r;)e=33*e^t.charCodeAt(--r);return e},i0=function(e){return wn(o0,e)};function af(e){return Rc(i0(e)>>>0)}function p$(e){return e.displayName||e.name||"Component"}function hl(e){return typeof e=="string"&&!0}var a0=typeof Symbol=="function"&&Symbol.for,s0=a0?Symbol.for("react.memo"):60115,h$=a0?Symbol.for("react.forward_ref"):60112,v$={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},m$={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},l0={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},g$=((pl={})[h$]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},pl[s0]=l0,pl);function np(e){return("type"in(t=e)&&t.type.$$typeof)===s0?l0:"$$typeof"in e?g$[e.$$typeof]:v$;var t}var y$=Object.defineProperty,b$=Object.getOwnPropertyNames,op=Object.getOwnPropertySymbols,x$=Object.getOwnPropertyDescriptor,w$=Object.getPrototypeOf,ip=Object.prototype;function c0(e,t,r){if(typeof t!="string"){if(ip){var n=w$(t);n&&n!==ip&&c0(e,n,r)}var o=b$(t);op&&(o=o.concat(op(t)));for(var i=np(e),a=np(t),s=0;s<o.length;++s){var l=o[s];if(!(l in m$||r&&r[l]||a&&l in a||i&&l in i)){var c=x$(t,l);try{y$(e,l,c)}catch{}}}}return e}function jn(e){return typeof e=="function"}function sf(e){return typeof e=="object"&&"styledComponentId"in e}function Br(e,t){return e&&t?"".concat(e," ").concat(t):e||t||""}function Aa(e,t){if(e.length===0)return"";for(var r=e[0],n=1;n<e.length;n++)r+=t?t+e[n]:e[n];return r}function Lo(e){return e!==null&&typeof e=="object"&&e.constructor.name===Object.name&&!("props"in e&&e.$$typeof)}function Lc(e,t,r){if(r===void 0&&(r=!1),!r&&!Lo(e)&&!Array.isArray(e))return t;if(Array.isArray(t))for(var n=0;n<t.length;n++)e[n]=Lc(e[n],t[n]);else if(Lo(t))for(var n in t)e[n]=Lc(e[n],t[n]);return e}function lf(e,t){Object.defineProperty(e,"toString",{value:t})}function Xn(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];return new Error("An error occurred. See https://github.com/styled-components/styled-components/blob/main/packages/styled-components/src/utils/errors.md#".concat(e," for more information.").concat(t.length>0?" Args: ".concat(t.join(", ")):""))}var $$=function(){function e(t){this.groupSizes=new Uint32Array(512),this.length=512,this.tag=t}return e.prototype.indexOfGroup=function(t){for(var r=0,n=0;n<t;n++)r+=this.groupSizes[n];return r},e.prototype.insertRules=function(t,r){if(t>=this.groupSizes.length){for(var n=this.groupSizes,o=n.length,i=o;t>=i;)if((i<<=1)<0)throw Xn(16,"".concat(t));this.groupSizes=new Uint32Array(i),this.groupSizes.set(n),this.length=i;for(var a=o;a<i;a++)this.groupSizes[a]=0}for(var s=this.indexOfGroup(t+1),l=(a=0,r.length);a<l;a++)this.tag.insertRule(s,r[a])&&(this.groupSizes[t]++,s++)},e.prototype.clearGroup=function(t){if(t<this.length){var r=this.groupSizes[t],n=this.indexOfGroup(t),o=n+r;this.groupSizes[t]=0;for(var i=n;i<o;i++)this.tag.deleteRule(n)}},e.prototype.getGroup=function(t){var r="";if(t>=this.length||this.groupSizes[t]===0)return r;for(var n=this.groupSizes[t],o=this.indexOfGroup(t),i=o+n,a=o;a<i;a++)r+="".concat(this.tag.getRule(a)).concat(of);return r},e}(),ia=new Map,Pa=new Map,aa=1,Ei=function(e){if(ia.has(e))return ia.get(e);for(;Pa.has(aa);)aa++;var t=aa++;return ia.set(e,t),Pa.set(t,e),t},E$=function(e,t){aa=t+1,ia.set(e,t),Pa.set(t,e)},S$="style[".concat(Dn,"][").concat(t0,'="').concat(Cs,'"]'),C$=new RegExp("^".concat(Dn,'\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)')),O$=function(e,t,r){for(var n,o=r.split(","),i=0,a=o.length;i<a;i++)(n=o[i])&&e.registerName(t,n)},T$=function(e,t){for(var r,n=((r=t.textContent)!==null&&r!==void 0?r:"").split(of),o=[],i=0,a=n.length;i<a;i++){var s=n[i].trim();if(s){var l=s.match(C$);if(l){var c=0|parseInt(l[1],10),u=l[2];c!==0&&(E$(u,c),O$(e,u,l[3]),e.getTag().insertRules(c,o)),o.length=0}else o.push(s)}}},ap=function(e){for(var t=document.querySelectorAll(S$),r=0,n=t.length;r<n;r++){var o=t[r];o&&o.getAttribute(Dn)!==e0&&(T$(e,o),o.parentNode&&o.parentNode.removeChild(o))}};function k$(){return typeof __webpack_nonce__<"u"?__webpack_nonce__:null}var u0=function(e){var t=document.head,r=e||t,n=document.createElement("style"),o=function(s){var l=Array.from(s.querySelectorAll("style[".concat(Dn,"]")));return l[l.length-1]}(r),i=o!==void 0?o.nextSibling:null;n.setAttribute(Dn,e0),n.setAttribute(t0,Cs);var a=k$();return a&&n.setAttribute("nonce",a),r.insertBefore(n,i),n},A$=function(){function e(t){this.element=u0(t),this.element.appendChild(document.createTextNode("")),this.sheet=function(r){if(r.sheet)return r.sheet;for(var n=document.styleSheets,o=0,i=n.length;o<i;o++){var a=n[o];if(a.ownerNode===r)return a}throw Xn(17)}(this.element),this.length=0}return e.prototype.insertRule=function(t,r){try{return this.sheet.insertRule(r,t),this.length++,!0}catch{return!1}},e.prototype.deleteRule=function(t){this.sheet.deleteRule(t),this.length--},e.prototype.getRule=function(t){var r=this.sheet.cssRules[t];return r&&r.cssText?r.cssText:""},e}(),P$=function(){function e(t){this.element=u0(t),this.nodes=this.element.childNodes,this.length=0}return e.prototype.insertRule=function(t,r){if(t<=this.length&&t>=0){var n=document.createTextNode(r);return this.element.insertBefore(n,this.nodes[t]||null),this.length++,!0}return!1},e.prototype.deleteRule=function(t){this.element.removeChild(this.nodes[t]),this.length--},e.prototype.getRule=function(t){return t<this.length?this.nodes[t].textContent:""},e}(),z$=function(){function e(t){this.rules=[],this.length=0}return e.prototype.insertRule=function(t,r){return t<=this.length&&(this.rules.splice(t,0,r),this.length++,!0)},e.prototype.deleteRule=function(t){this.rules.splice(t,1),this.length--},e.prototype.getRule=function(t){return t<this.length?this.rules[t]:""},e}(),sp=ka,_$={isServer:!ka,useCSSOMInjection:!l$},za=function(){function e(t,r,n){t===void 0&&(t=Mn),r===void 0&&(r={});var o=this;this.options=tt(tt({},_$),t),this.gs=r,this.names=new Map(n),this.server=!!t.isServer,!this.server&&ka&&sp&&(sp=!1,ap(this)),lf(this,function(){return function(i){for(var a=i.getTag(),s=a.length,l="",c=function(d){var p=function(x){return Pa.get(x)}(d);if(p===void 0)return"continue";var v=i.names.get(p),h=a.getGroup(d);if(v===void 0||!v.size||h.length===0)return"continue";var m="".concat(Dn,".g").concat(d,'[id="').concat(p,'"]'),y="";v!==void 0&&v.forEach(function(x){x.length>0&&(y+="".concat(x,","))}),l+="".concat(h).concat(m,'{content:"').concat(y,'"}').concat(of)},u=0;u<s;u++)c(u);return l}(o)})}return e.registerId=function(t){return Ei(t)},e.prototype.rehydrate=function(){!this.server&&ka&&ap(this)},e.prototype.reconstructWithOptions=function(t,r){return r===void 0&&(r=!0),new e(tt(tt({},this.options),t),this.gs,r&&this.names||void 0)},e.prototype.allocateGSInstance=function(t){return this.gs[t]=(this.gs[t]||0)+1},e.prototype.getTag=function(){return this.tag||(this.tag=(t=function(r){var n=r.useCSSOMInjection,o=r.target;return r.isServer?new z$(o):n?new A$(o):new P$(o)}(this.options),new $$(t)));var t},e.prototype.hasNameForId=function(t,r){return this.names.has(t)&&this.names.get(t).has(r)},e.prototype.registerName=function(t,r){if(Ei(t),this.names.has(t))this.names.get(t).add(r);else{var n=new Set;n.add(r),this.names.set(t,n)}},e.prototype.insertRules=function(t,r,n){this.registerName(t,r),this.getTag().insertRules(Ei(t),n)},e.prototype.clearNames=function(t){this.names.has(t)&&this.names.get(t).clear()},e.prototype.clearRules=function(t){this.getTag().clearGroup(Ei(t)),this.clearNames(t)},e.prototype.clearTag=function(){this.tag=void 0},e}(),I$=/&/g,R$=/^\s*\/\/.*$/gm;function f0(e,t){return e.map(function(r){return r.type==="rule"&&(r.value="".concat(t," ").concat(r.value),r.value=r.value.replaceAll(",",",".concat(t," ")),r.props=r.props.map(function(n){return"".concat(t," ").concat(n)})),Array.isArray(r.children)&&r.type!=="@keyframes"&&(r.children=f0(r.children,t)),r})}function L$(e){var t,r,n,o=e===void 0?Mn:e,i=o.options,a=i===void 0?Mn:i,s=o.plugins,l=s===void 0?Os:s,c=function(p,v,h){return h.startsWith(r)&&h.endsWith(r)&&h.replaceAll(r,"").length>0?".".concat(t):p},u=l.slice();u.push(function(p){p.type===ws&&p.value.includes("&")&&(p.props[0]=p.props[0].replace(I$,r).replace(n,c))}),a.prefix&&u.push(a$),u.push(n$);var d=function(p,v,h,m){v===void 0&&(v=""),h===void 0&&(h=""),m===void 0&&(m="&"),t=m,r=v,n=new RegExp("\\".concat(r,"\\b"),"g");var y=p.replace(R$,""),x=t$(h||v?"".concat(h," ").concat(v," { ").concat(y," }"):y);a.namespace&&(x=f0(x,a.namespace));var b=[];return Ta(x,o$(u.concat(i$(function($){return b.push($)})))),b};return d.hash=l.length?l.reduce(function(p,v){return v.name||Xn(15),wn(p,v.name)},o0).toString():"",d}var F$=new za,Fc=L$(),d0=ye.createContext({shouldForwardProp:void 0,styleSheet:F$,stylis:Fc});d0.Consumer;ye.createContext(void 0);function Dc(){return f.useContext(d0)}var p0=function(){function e(t,r){var n=this;this.inject=function(o,i){i===void 0&&(i=Fc);var a=n.name+i.hash;o.hasNameForId(n.id,a)||o.insertRules(n.id,a,i(n.rules,a,"@keyframes"))},this.name=t,this.id="sc-keyframes-".concat(t),this.rules=r,lf(this,function(){throw Xn(12,String(n.name))})}return e.prototype.getName=function(t){return t===void 0&&(t=Fc),this.name+t.hash},e}(),D$=function(e){return e>="A"&&e<="Z"};function lp(e){for(var t="",r=0;r<e.length;r++){var n=e[r];if(r===1&&n==="-"&&e[0]==="-")return e;D$(n)?t+="-"+n.toLowerCase():t+=n}return t.startsWith("ms-")?"-"+t:t}var h0=function(e){return e==null||e===!1||e===""},v0=function(e){var t,r,n=[];for(var o in e){var i=e[o];e.hasOwnProperty(o)&&!h0(i)&&(Array.isArray(i)&&i.isCss||jn(i)?n.push("".concat(lp(o),":"),i,";"):Lo(i)?n.push.apply(n,Rn(Rn(["".concat(o," {")],v0(i),!1),["}"],!1)):n.push("".concat(lp(o),": ").concat((t=o,(r=i)==null||typeof r=="boolean"||r===""?"":typeof r!="number"||r===0||t in s$||t.startsWith("--")?String(r).trim():"".concat(r,"px")),";")))}return n};function $r(e,t,r,n){if(h0(e))return[];if(sf(e))return[".".concat(e.styledComponentId)];if(jn(e)){if(!jn(i=e)||i.prototype&&i.prototype.isReactComponent||!t)return[e];var o=e(t);return $r(o,t,r,n)}var i;return e instanceof p0?r?(e.inject(r,n),[e.getName(n)]):[e]:Lo(e)?v0(e):Array.isArray(e)?Array.prototype.concat.apply(Os,e.map(function(a){return $r(a,t,r,n)})):[e.toString()]}function m0(e){for(var t=0;t<e.length;t+=1){var r=e[t];if(jn(r)&&!sf(r))return!1}return!0}var M$=i0(Cs),j$=function(){function e(t,r,n){this.rules=t,this.staticRulesId="",this.isStatic=(n===void 0||n.isStatic)&&m0(t),this.componentId=r,this.baseHash=wn(M$,r),this.baseStyle=n,za.registerId(r)}return e.prototype.generateAndInjectStyles=function(t,r,n){var o=this.baseStyle?this.baseStyle.generateAndInjectStyles(t,r,n):"";if(this.isStatic&&!n.hash)if(this.staticRulesId&&r.hasNameForId(this.componentId,this.staticRulesId))o=Br(o,this.staticRulesId);else{var i=Aa($r(this.rules,t,r,n)),a=Rc(wn(this.baseHash,i)>>>0);if(!r.hasNameForId(this.componentId,a)){var s=n(i,".".concat(a),void 0,this.componentId);r.insertRules(this.componentId,a,s)}o=Br(o,a),this.staticRulesId=a}else{for(var l=wn(this.baseHash,n.hash),c="",u=0;u<this.rules.length;u++){var d=this.rules[u];if(typeof d=="string")c+=d;else if(d){var p=Aa($r(d,t,r,n));l=wn(l,p+u),c+=p}}if(c){var v=Rc(l>>>0);r.hasNameForId(this.componentId,v)||r.insertRules(this.componentId,v,n(c,".".concat(v),void 0,this.componentId)),o=Br(o,v)}}return o},e}(),Ts=ye.createContext(void 0);Ts.Consumer;function Kn(){var e=f.useContext(Ts);if(!e)throw Xn(18);return e}var vl={};function N$(e,t,r){var n=sf(e),o=e,i=!hl(e),a=t.attrs,s=a===void 0?Os:a,l=t.componentId,c=l===void 0?function(g,C){var S=typeof g!="string"?"sc":tp(g);vl[S]=(vl[S]||0)+1;var O="".concat(S,"-").concat(af(Cs+S+vl[S]));return C?"".concat(C,"-").concat(O):O}(t.displayName,t.parentComponentId):l,u=t.displayName,d=u===void 0?function(g){return hl(g)?"styled.".concat(g):"Styled(".concat(p$(g),")")}(e):u,p=t.displayName&&t.componentId?"".concat(tp(t.displayName),"-").concat(t.componentId):t.componentId||c,v=n&&o.attrs?o.attrs.concat(s).filter(Boolean):s,h=t.shouldForwardProp;if(n&&o.shouldForwardProp){var m=o.shouldForwardProp;if(t.shouldForwardProp){var y=t.shouldForwardProp;h=function(g,C){return m(g,C)&&y(g,C)}}else h=m}var x=new j$(r,p,n?o.componentStyle:void 0);function b(g,C){return function(S,O,T){var k=S.attrs,L=S.componentStyle,B=S.defaultProps,N=S.foldedComponentIds,W=S.styledComponentId,X=S.target,V=ye.useContext(Ts),te=Dc(),Y=S.shouldForwardProp||te.shouldForwardProp,J=r0(O,V,B)||Mn,H=function(_,D,Q){for(var G,U=tt(tt({},D),{className:void 0,theme:Q}),re=0;re<_.length;re+=1){var ne=jn(G=_[re])?G(U):G;for(var Z in ne)U[Z]=Z==="className"?Br(U[Z],ne[Z]):Z==="style"?tt(tt({},U[Z]),ne[Z]):ne[Z]}return D.className&&(U.className=Br(U.className,D.className)),U}(k,O,J),ce=H.as||X,xe={};for(var A in H)H[A]===void 0||A[0]==="$"||A==="as"||A==="theme"&&H.theme===J||(A==="forwardedAs"?xe.as=H.forwardedAs:Y&&!Y(A,ce)||(xe[A]=H[A]));var I=function(_,D){var Q=Dc(),G=_.generateAndInjectStyles(D,Q.styleSheet,Q.stylis);return G}(L,H),z=Br(N,W);return I&&(z+=" "+I),H.className&&(z+=" "+H.className),xe[hl(ce)&&!n0.has(ce)?"class":"className"]=z,T&&(xe.ref=T),f.createElement(ce,xe)}($,g,C)}b.displayName=d;var $=ye.forwardRef(b);return $.attrs=v,$.componentStyle=x,$.displayName=d,$.shouldForwardProp=h,$.foldedComponentIds=n?Br(o.foldedComponentIds,o.styledComponentId):"",$.styledComponentId=p,$.target=n?o.target:e,Object.defineProperty($,"defaultProps",{get:function(){return this._foldedDefaultProps},set:function(g){this._foldedDefaultProps=n?function(C){for(var S=[],O=1;O<arguments.length;O++)S[O-1]=arguments[O];for(var T=0,k=S;T<k.length;T++)Lc(C,k[T],!0);return C}({},o.defaultProps,g):g}}),lf($,function(){return".".concat($.styledComponentId)}),i&&c0($,e,{attrs:!0,componentStyle:!0,displayName:!0,foldedComponentIds:!0,shouldForwardProp:!0,styledComponentId:!0,target:!0}),$}function cp(e,t){for(var r=[e[0]],n=0,o=t.length;n<o;n+=1)r.push(t[n],e[n+1]);return r}var up=function(e){return Object.assign(e,{isCss:!0})};function E(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];if(jn(e)||Lo(e))return up($r(cp(Os,Rn([e],t,!0))));var n=e;return t.length===0&&n.length===1&&typeof n[0]=="string"?$r(n):up($r(cp(n,t)))}function Mc(e,t,r){if(r===void 0&&(r=Mn),!t)throw Xn(1,t);var n=function(o){for(var i=[],a=1;a<arguments.length;a++)i[a-1]=arguments[a];return e(t,r,E.apply(void 0,Rn([o],i,!1)))};return n.attrs=function(o){return Mc(e,t,tt(tt({},r),{attrs:Array.prototype.concat(r.attrs,o).filter(Boolean)}))},n.withConfig=function(o){return Mc(e,t,tt(tt({},r),o))},n}var g0=function(e){return Mc(N$,e)},w=g0;n0.forEach(function(e){w[e]=g0(e)});var B$=function(){function e(t,r){this.rules=t,this.componentId=r,this.isStatic=m0(t),za.registerId(this.componentId+1)}return e.prototype.createStyles=function(t,r,n,o){var i=o(Aa($r(this.rules,r,n,o)),""),a=this.componentId+t;n.insertRules(a,a,i)},e.prototype.removeStyles=function(t,r){r.clearRules(this.componentId+t)},e.prototype.renderStyles=function(t,r,n,o){t>2&&za.registerId(this.componentId+t),this.removeStyles(t,n),this.createStyles(t,r,n,o)},e}();function cf(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];var n=E.apply(void 0,Rn([e],t,!1)),o="sc-global-".concat(af(JSON.stringify(n))),i=new B$(n,o),a=function(l){var c=Dc(),u=ye.useContext(Ts),d=ye.useRef(c.styleSheet.allocateGSInstance(o)).current;return c.styleSheet.server&&s(d,l,c.styleSheet,u,c.stylis),ye.useLayoutEffect(function(){if(!c.styleSheet.server)return s(d,l,c.styleSheet,u,c.stylis),function(){return i.removeStyles(d,c.styleSheet)}},[d,l,c.styleSheet,u,c.stylis]),null};function s(l,c,u,d,p){if(i.isStatic)i.renderStyles(l,c$,u,p);else{var v=tt(tt({},c),{theme:r0(c,d,a.defaultProps)});i.renderStyles(l,v,u,p)}}return ye.memo(a)}function Q9(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];var n=Aa(E.apply(void 0,Rn([e],t,!1))),o=af(n);return new p0(o,n)}/*! - * Font Awesome Free 6.7.2 by @fontawesome - https://fontawesome.com - * License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License) - * Copyright 2024 Fonticons, Inc. - */function V$(e,t,r){return(t=U$(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function fp(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function F(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?fp(Object(r),!0).forEach(function(n){V$(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):fp(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function W$(e,t){if(typeof e!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t||"default");if(typeof n!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function U$(e){var t=W$(e,"string");return typeof t=="symbol"?t:t+""}const dp=()=>{};let uf={},y0={},b0=null,x0={mark:dp,measure:dp};try{typeof window<"u"&&(uf=window),typeof document<"u"&&(y0=document),typeof MutationObserver<"u"&&(b0=MutationObserver),typeof performance<"u"&&(x0=performance)}catch{}const{userAgent:pp=""}=uf.navigator||{},Er=uf,Re=y0,hp=b0,Si=x0;Er.document;const cr=!!Re.documentElement&&!!Re.head&&typeof Re.addEventListener=="function"&&typeof Re.createElement=="function",w0=~pp.indexOf("MSIE")||~pp.indexOf("Trident/");var H$=/fa(s|r|l|t|d|dr|dl|dt|b|k|kd|ss|sr|sl|st|sds|sdr|sdl|sdt)?[\-\ ]/,G$=/Font ?Awesome ?([56 ]*)(Solid|Regular|Light|Thin|Duotone|Brands|Free|Pro|Sharp Duotone|Sharp|Kit)?.*/i,$0={classic:{fa:"solid",fas:"solid","fa-solid":"solid",far:"regular","fa-regular":"regular",fal:"light","fa-light":"light",fat:"thin","fa-thin":"thin",fab:"brands","fa-brands":"brands"},duotone:{fa:"solid",fad:"solid","fa-solid":"solid","fa-duotone":"solid",fadr:"regular","fa-regular":"regular",fadl:"light","fa-light":"light",fadt:"thin","fa-thin":"thin"},sharp:{fa:"solid",fass:"solid","fa-solid":"solid",fasr:"regular","fa-regular":"regular",fasl:"light","fa-light":"light",fast:"thin","fa-thin":"thin"},"sharp-duotone":{fa:"solid",fasds:"solid","fa-solid":"solid",fasdr:"regular","fa-regular":"regular",fasdl:"light","fa-light":"light",fasdt:"thin","fa-thin":"thin"}},q$={GROUP:"duotone-group",SWAP_OPACITY:"swap-opacity",PRIMARY:"primary",SECONDARY:"secondary"},E0=["fa-classic","fa-duotone","fa-sharp","fa-sharp-duotone"],rt="classic",ks="duotone",Y$="sharp",X$="sharp-duotone",S0=[rt,ks,Y$,X$],K$={classic:{900:"fas",400:"far",normal:"far",300:"fal",100:"fat"},duotone:{900:"fad",400:"fadr",300:"fadl",100:"fadt"},sharp:{900:"fass",400:"fasr",300:"fasl",100:"fast"},"sharp-duotone":{900:"fasds",400:"fasdr",300:"fasdl",100:"fasdt"}},Z$={"Font Awesome 6 Free":{900:"fas",400:"far"},"Font Awesome 6 Pro":{900:"fas",400:"far",normal:"far",300:"fal",100:"fat"},"Font Awesome 6 Brands":{400:"fab",normal:"fab"},"Font Awesome 6 Duotone":{900:"fad",400:"fadr",normal:"fadr",300:"fadl",100:"fadt"},"Font Awesome 6 Sharp":{900:"fass",400:"fasr",normal:"fasr",300:"fasl",100:"fast"},"Font Awesome 6 Sharp Duotone":{900:"fasds",400:"fasdr",normal:"fasdr",300:"fasdl",100:"fasdt"}},J$=new Map([["classic",{defaultShortPrefixId:"fas",defaultStyleId:"solid",styleIds:["solid","regular","light","thin","brands"],futureStyleIds:[],defaultFontWeight:900}],["sharp",{defaultShortPrefixId:"fass",defaultStyleId:"solid",styleIds:["solid","regular","light","thin"],futureStyleIds:[],defaultFontWeight:900}],["duotone",{defaultShortPrefixId:"fad",defaultStyleId:"solid",styleIds:["solid","regular","light","thin"],futureStyleIds:[],defaultFontWeight:900}],["sharp-duotone",{defaultShortPrefixId:"fasds",defaultStyleId:"solid",styleIds:["solid","regular","light","thin"],futureStyleIds:[],defaultFontWeight:900}]]),Q$={classic:{solid:"fas",regular:"far",light:"fal",thin:"fat",brands:"fab"},duotone:{solid:"fad",regular:"fadr",light:"fadl",thin:"fadt"},sharp:{solid:"fass",regular:"fasr",light:"fasl",thin:"fast"},"sharp-duotone":{solid:"fasds",regular:"fasdr",light:"fasdl",thin:"fasdt"}},e2=["fak","fa-kit","fakd","fa-kit-duotone"],vp={kit:{fak:"kit","fa-kit":"kit"},"kit-duotone":{fakd:"kit-duotone","fa-kit-duotone":"kit-duotone"}},t2=["kit"],r2={kit:{"fa-kit":"fak"},"kit-duotone":{"fa-kit-duotone":"fakd"}},n2=["fak","fakd"],o2={kit:{fak:"fa-kit"},"kit-duotone":{fakd:"fa-kit-duotone"}},mp={kit:{kit:"fak"},"kit-duotone":{"kit-duotone":"fakd"}},Ci={GROUP:"duotone-group",SWAP_OPACITY:"swap-opacity",PRIMARY:"primary",SECONDARY:"secondary"},i2=["fa-classic","fa-duotone","fa-sharp","fa-sharp-duotone"],a2=["fak","fa-kit","fakd","fa-kit-duotone"],s2={"Font Awesome Kit":{400:"fak",normal:"fak"},"Font Awesome Kit Duotone":{400:"fakd",normal:"fakd"}},l2={classic:{"fa-brands":"fab","fa-duotone":"fad","fa-light":"fal","fa-regular":"far","fa-solid":"fas","fa-thin":"fat"},duotone:{"fa-regular":"fadr","fa-light":"fadl","fa-thin":"fadt"},sharp:{"fa-solid":"fass","fa-regular":"fasr","fa-light":"fasl","fa-thin":"fast"},"sharp-duotone":{"fa-solid":"fasds","fa-regular":"fasdr","fa-light":"fasdl","fa-thin":"fasdt"}},c2={classic:["fas","far","fal","fat","fad"],duotone:["fadr","fadl","fadt"],sharp:["fass","fasr","fasl","fast"],"sharp-duotone":["fasds","fasdr","fasdl","fasdt"]},jc={classic:{fab:"fa-brands",fad:"fa-duotone",fal:"fa-light",far:"fa-regular",fas:"fa-solid",fat:"fa-thin"},duotone:{fadr:"fa-regular",fadl:"fa-light",fadt:"fa-thin"},sharp:{fass:"fa-solid",fasr:"fa-regular",fasl:"fa-light",fast:"fa-thin"},"sharp-duotone":{fasds:"fa-solid",fasdr:"fa-regular",fasdl:"fa-light",fasdt:"fa-thin"}},u2=["fa-solid","fa-regular","fa-light","fa-thin","fa-duotone","fa-brands"],Nc=["fa","fas","far","fal","fat","fad","fadr","fadl","fadt","fab","fass","fasr","fasl","fast","fasds","fasdr","fasdl","fasdt",...i2,...u2],f2=["solid","regular","light","thin","duotone","brands"],C0=[1,2,3,4,5,6,7,8,9,10],d2=C0.concat([11,12,13,14,15,16,17,18,19,20]),p2=[...Object.keys(c2),...f2,"2xs","xs","sm","lg","xl","2xl","beat","border","fade","beat-fade","bounce","flip-both","flip-horizontal","flip-vertical","flip","fw","inverse","layers-counter","layers-text","layers","li","pull-left","pull-right","pulse","rotate-180","rotate-270","rotate-90","rotate-by","shake","spin-pulse","spin-reverse","spin","stack-1x","stack-2x","stack","ul",Ci.GROUP,Ci.SWAP_OPACITY,Ci.PRIMARY,Ci.SECONDARY].concat(C0.map(e=>"".concat(e,"x"))).concat(d2.map(e=>"w-".concat(e))),h2={"Font Awesome 5 Free":{900:"fas",400:"far"},"Font Awesome 5 Pro":{900:"fas",400:"far",normal:"far",300:"fal"},"Font Awesome 5 Brands":{400:"fab",normal:"fab"},"Font Awesome 5 Duotone":{900:"fad"}};const rr="___FONT_AWESOME___",Bc=16,O0="fa",T0="svg-inline--fa",Xr="data-fa-i2svg",Vc="data-fa-pseudo-element",v2="data-fa-pseudo-element-pending",ff="data-prefix",df="data-icon",gp="fontawesome-i2svg",m2="async",g2=["HTML","HEAD","STYLE","SCRIPT"],k0=(()=>{try{return!0}catch{return!1}})();function Ko(e){return new Proxy(e,{get(t,r){return r in t?t[r]:t[rt]}})}const A0=F({},$0);A0[rt]=F(F(F(F({},{"fa-duotone":"duotone"}),$0[rt]),vp.kit),vp["kit-duotone"]);const y2=Ko(A0),Wc=F({},Q$);Wc[rt]=F(F(F(F({},{duotone:"fad"}),Wc[rt]),mp.kit),mp["kit-duotone"]);const yp=Ko(Wc),Uc=F({},jc);Uc[rt]=F(F({},Uc[rt]),o2.kit);const pf=Ko(Uc),Hc=F({},l2);Hc[rt]=F(F({},Hc[rt]),r2.kit);Ko(Hc);const b2=H$,P0="fa-layers-text",x2=G$,w2=F({},K$);Ko(w2);const $2=["class","data-prefix","data-icon","data-fa-transform","data-fa-mask"],ml=q$,E2=[...t2,...p2],wo=Er.FontAwesomeConfig||{};function S2(e){var t=Re.querySelector("script["+e+"]");if(t)return t.getAttribute(e)}function C2(e){return e===""?!0:e==="false"?!1:e==="true"?!0:e}Re&&typeof Re.querySelector=="function"&&[["data-family-prefix","familyPrefix"],["data-css-prefix","cssPrefix"],["data-family-default","familyDefault"],["data-style-default","styleDefault"],["data-replacement-class","replacementClass"],["data-auto-replace-svg","autoReplaceSvg"],["data-auto-add-css","autoAddCss"],["data-auto-a11y","autoA11y"],["data-search-pseudo-elements","searchPseudoElements"],["data-observe-mutations","observeMutations"],["data-mutate-approach","mutateApproach"],["data-keep-original-source","keepOriginalSource"],["data-measure-performance","measurePerformance"],["data-show-missing-icons","showMissingIcons"]].forEach(t=>{let[r,n]=t;const o=C2(S2(r));o!=null&&(wo[n]=o)});const z0={styleDefault:"solid",familyDefault:rt,cssPrefix:O0,replacementClass:T0,autoReplaceSvg:!0,autoAddCss:!0,autoA11y:!0,searchPseudoElements:!1,observeMutations:!0,mutateApproach:"async",keepOriginalSource:!0,measurePerformance:!1,showMissingIcons:!0};wo.familyPrefix&&(wo.cssPrefix=wo.familyPrefix);const Nn=F(F({},z0),wo);Nn.autoReplaceSvg||(Nn.observeMutations=!1);const K={};Object.keys(z0).forEach(e=>{Object.defineProperty(K,e,{enumerable:!0,set:function(t){Nn[e]=t,$o.forEach(r=>r(K))},get:function(){return Nn[e]}})});Object.defineProperty(K,"familyPrefix",{enumerable:!0,set:function(e){Nn.cssPrefix=e,$o.forEach(t=>t(K))},get:function(){return Nn.cssPrefix}});Er.FontAwesomeConfig=K;const $o=[];function O2(e){return $o.push(e),()=>{$o.splice($o.indexOf(e),1)}}const dr=Bc,qt={size:16,x:0,y:0,rotate:0,flipX:!1,flipY:!1};function T2(e){if(!e||!cr)return;const t=Re.createElement("style");t.setAttribute("type","text/css"),t.innerHTML=e;const r=Re.head.childNodes;let n=null;for(let o=r.length-1;o>-1;o--){const i=r[o],a=(i.tagName||"").toUpperCase();["STYLE","LINK"].indexOf(a)>-1&&(n=i)}return Re.head.insertBefore(t,n),e}const k2="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ";function Fo(){let e=12,t="";for(;e-- >0;)t+=k2[Math.random()*62|0];return t}function Zn(e){const t=[];for(let r=(e||[]).length>>>0;r--;)t[r]=e[r];return t}function hf(e){return e.classList?Zn(e.classList):(e.getAttribute("class")||"").split(" ").filter(t=>t)}function _0(e){return"".concat(e).replace(/&/g,"&").replace(/"/g,""").replace(/'/g,"'").replace(/</g,"<").replace(/>/g,">")}function A2(e){return Object.keys(e||{}).reduce((t,r)=>t+"".concat(r,'="').concat(_0(e[r]),'" '),"").trim()}function As(e){return Object.keys(e||{}).reduce((t,r)=>t+"".concat(r,": ").concat(e[r].trim(),";"),"")}function vf(e){return e.size!==qt.size||e.x!==qt.x||e.y!==qt.y||e.rotate!==qt.rotate||e.flipX||e.flipY}function P2(e){let{transform:t,containerWidth:r,iconWidth:n}=e;const o={transform:"translate(".concat(r/2," 256)")},i="translate(".concat(t.x*32,", ").concat(t.y*32,") "),a="scale(".concat(t.size/16*(t.flipX?-1:1),", ").concat(t.size/16*(t.flipY?-1:1),") "),s="rotate(".concat(t.rotate," 0 0)"),l={transform:"".concat(i," ").concat(a," ").concat(s)},c={transform:"translate(".concat(n/2*-1," -256)")};return{outer:o,inner:l,path:c}}function z2(e){let{transform:t,width:r=Bc,height:n=Bc,startCentered:o=!1}=e,i="";return o&&w0?i+="translate(".concat(t.x/dr-r/2,"em, ").concat(t.y/dr-n/2,"em) "):o?i+="translate(calc(-50% + ".concat(t.x/dr,"em), calc(-50% + ").concat(t.y/dr,"em)) "):i+="translate(".concat(t.x/dr,"em, ").concat(t.y/dr,"em) "),i+="scale(".concat(t.size/dr*(t.flipX?-1:1),", ").concat(t.size/dr*(t.flipY?-1:1),") "),i+="rotate(".concat(t.rotate,"deg) "),i}var _2=`:root, :host { - --fa-font-solid: normal 900 1em/1 "Font Awesome 6 Free"; - --fa-font-regular: normal 400 1em/1 "Font Awesome 6 Free"; - --fa-font-light: normal 300 1em/1 "Font Awesome 6 Pro"; - --fa-font-thin: normal 100 1em/1 "Font Awesome 6 Pro"; - --fa-font-duotone: normal 900 1em/1 "Font Awesome 6 Duotone"; - --fa-font-duotone-regular: normal 400 1em/1 "Font Awesome 6 Duotone"; - --fa-font-duotone-light: normal 300 1em/1 "Font Awesome 6 Duotone"; - --fa-font-duotone-thin: normal 100 1em/1 "Font Awesome 6 Duotone"; - --fa-font-brands: normal 400 1em/1 "Font Awesome 6 Brands"; - --fa-font-sharp-solid: normal 900 1em/1 "Font Awesome 6 Sharp"; - --fa-font-sharp-regular: normal 400 1em/1 "Font Awesome 6 Sharp"; - --fa-font-sharp-light: normal 300 1em/1 "Font Awesome 6 Sharp"; - --fa-font-sharp-thin: normal 100 1em/1 "Font Awesome 6 Sharp"; - --fa-font-sharp-duotone-solid: normal 900 1em/1 "Font Awesome 6 Sharp Duotone"; - --fa-font-sharp-duotone-regular: normal 400 1em/1 "Font Awesome 6 Sharp Duotone"; - --fa-font-sharp-duotone-light: normal 300 1em/1 "Font Awesome 6 Sharp Duotone"; - --fa-font-sharp-duotone-thin: normal 100 1em/1 "Font Awesome 6 Sharp Duotone"; -} - -svg:not(:root).svg-inline--fa, svg:not(:host).svg-inline--fa { - overflow: visible; - box-sizing: content-box; -} - -.svg-inline--fa { - display: var(--fa-display, inline-block); - height: 1em; - overflow: visible; - vertical-align: -0.125em; -} -.svg-inline--fa.fa-2xs { - vertical-align: 0.1em; -} -.svg-inline--fa.fa-xs { - vertical-align: 0em; -} -.svg-inline--fa.fa-sm { - vertical-align: -0.0714285705em; -} -.svg-inline--fa.fa-lg { - vertical-align: -0.2em; -} -.svg-inline--fa.fa-xl { - vertical-align: -0.25em; -} -.svg-inline--fa.fa-2xl { - vertical-align: -0.3125em; -} -.svg-inline--fa.fa-pull-left { - margin-right: var(--fa-pull-margin, 0.3em); - width: auto; -} -.svg-inline--fa.fa-pull-right { - margin-left: var(--fa-pull-margin, 0.3em); - width: auto; -} -.svg-inline--fa.fa-li { - width: var(--fa-li-width, 2em); - top: 0.25em; -} -.svg-inline--fa.fa-fw { - width: var(--fa-fw-width, 1.25em); -} - -.fa-layers svg.svg-inline--fa { - bottom: 0; - left: 0; - margin: auto; - position: absolute; - right: 0; - top: 0; -} - -.fa-layers-counter, .fa-layers-text { - display: inline-block; - position: absolute; - text-align: center; -} - -.fa-layers { - display: inline-block; - height: 1em; - position: relative; - text-align: center; - vertical-align: -0.125em; - width: 1em; -} -.fa-layers svg.svg-inline--fa { - transform-origin: center center; -} - -.fa-layers-text { - left: 50%; - top: 50%; - transform: translate(-50%, -50%); - transform-origin: center center; -} - -.fa-layers-counter { - background-color: var(--fa-counter-background-color, #ff253a); - border-radius: var(--fa-counter-border-radius, 1em); - box-sizing: border-box; - color: var(--fa-inverse, #fff); - line-height: var(--fa-counter-line-height, 1); - max-width: var(--fa-counter-max-width, 5em); - min-width: var(--fa-counter-min-width, 1.5em); - overflow: hidden; - padding: var(--fa-counter-padding, 0.25em 0.5em); - right: var(--fa-right, 0); - text-overflow: ellipsis; - top: var(--fa-top, 0); - transform: scale(var(--fa-counter-scale, 0.25)); - transform-origin: top right; -} - -.fa-layers-bottom-right { - bottom: var(--fa-bottom, 0); - right: var(--fa-right, 0); - top: auto; - transform: scale(var(--fa-layers-scale, 0.25)); - transform-origin: bottom right; -} - -.fa-layers-bottom-left { - bottom: var(--fa-bottom, 0); - left: var(--fa-left, 0); - right: auto; - top: auto; - transform: scale(var(--fa-layers-scale, 0.25)); - transform-origin: bottom left; -} - -.fa-layers-top-right { - top: var(--fa-top, 0); - right: var(--fa-right, 0); - transform: scale(var(--fa-layers-scale, 0.25)); - transform-origin: top right; -} - -.fa-layers-top-left { - left: var(--fa-left, 0); - right: auto; - top: var(--fa-top, 0); - transform: scale(var(--fa-layers-scale, 0.25)); - transform-origin: top left; -} - -.fa-1x { - font-size: 1em; -} - -.fa-2x { - font-size: 2em; -} - -.fa-3x { - font-size: 3em; -} - -.fa-4x { - font-size: 4em; -} - -.fa-5x { - font-size: 5em; -} - -.fa-6x { - font-size: 6em; -} - -.fa-7x { - font-size: 7em; -} - -.fa-8x { - font-size: 8em; -} - -.fa-9x { - font-size: 9em; -} - -.fa-10x { - font-size: 10em; -} - -.fa-2xs { - font-size: 0.625em; - line-height: 0.1em; - vertical-align: 0.225em; -} - -.fa-xs { - font-size: 0.75em; - line-height: 0.0833333337em; - vertical-align: 0.125em; -} - -.fa-sm { - font-size: 0.875em; - line-height: 0.0714285718em; - vertical-align: 0.0535714295em; -} - -.fa-lg { - font-size: 1.25em; - line-height: 0.05em; - vertical-align: -0.075em; -} - -.fa-xl { - font-size: 1.5em; - line-height: 0.0416666682em; - vertical-align: -0.125em; -} - -.fa-2xl { - font-size: 2em; - line-height: 0.03125em; - vertical-align: -0.1875em; -} - -.fa-fw { - text-align: center; - width: 1.25em; -} - -.fa-ul { - list-style-type: none; - margin-left: var(--fa-li-margin, 2.5em); - padding-left: 0; -} -.fa-ul > li { - position: relative; -} - -.fa-li { - left: calc(-1 * var(--fa-li-width, 2em)); - position: absolute; - text-align: center; - width: var(--fa-li-width, 2em); - line-height: inherit; -} - -.fa-border { - border-color: var(--fa-border-color, #eee); - border-radius: var(--fa-border-radius, 0.1em); - border-style: var(--fa-border-style, solid); - border-width: var(--fa-border-width, 0.08em); - padding: var(--fa-border-padding, 0.2em 0.25em 0.15em); -} - -.fa-pull-left { - float: left; - margin-right: var(--fa-pull-margin, 0.3em); -} - -.fa-pull-right { - float: right; - margin-left: var(--fa-pull-margin, 0.3em); -} - -.fa-beat { - animation-name: fa-beat; - animation-delay: var(--fa-animation-delay, 0s); - animation-direction: var(--fa-animation-direction, normal); - animation-duration: var(--fa-animation-duration, 1s); - animation-iteration-count: var(--fa-animation-iteration-count, infinite); - animation-timing-function: var(--fa-animation-timing, ease-in-out); -} - -.fa-bounce { - animation-name: fa-bounce; - animation-delay: var(--fa-animation-delay, 0s); - animation-direction: var(--fa-animation-direction, normal); - animation-duration: var(--fa-animation-duration, 1s); - animation-iteration-count: var(--fa-animation-iteration-count, infinite); - animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.28, 0.84, 0.42, 1)); -} - -.fa-fade { - animation-name: fa-fade; - animation-delay: var(--fa-animation-delay, 0s); - animation-direction: var(--fa-animation-direction, normal); - animation-duration: var(--fa-animation-duration, 1s); - animation-iteration-count: var(--fa-animation-iteration-count, infinite); - animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1)); -} - -.fa-beat-fade { - animation-name: fa-beat-fade; - animation-delay: var(--fa-animation-delay, 0s); - animation-direction: var(--fa-animation-direction, normal); - animation-duration: var(--fa-animation-duration, 1s); - animation-iteration-count: var(--fa-animation-iteration-count, infinite); - animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1)); -} - -.fa-flip { - animation-name: fa-flip; - animation-delay: var(--fa-animation-delay, 0s); - animation-direction: var(--fa-animation-direction, normal); - animation-duration: var(--fa-animation-duration, 1s); - animation-iteration-count: var(--fa-animation-iteration-count, infinite); - animation-timing-function: var(--fa-animation-timing, ease-in-out); -} - -.fa-shake { - animation-name: fa-shake; - animation-delay: var(--fa-animation-delay, 0s); - animation-direction: var(--fa-animation-direction, normal); - animation-duration: var(--fa-animation-duration, 1s); - animation-iteration-count: var(--fa-animation-iteration-count, infinite); - animation-timing-function: var(--fa-animation-timing, linear); -} - -.fa-spin { - animation-name: fa-spin; - animation-delay: var(--fa-animation-delay, 0s); - animation-direction: var(--fa-animation-direction, normal); - animation-duration: var(--fa-animation-duration, 2s); - animation-iteration-count: var(--fa-animation-iteration-count, infinite); - animation-timing-function: var(--fa-animation-timing, linear); -} - -.fa-spin-reverse { - --fa-animation-direction: reverse; -} - -.fa-pulse, -.fa-spin-pulse { - animation-name: fa-spin; - animation-direction: var(--fa-animation-direction, normal); - animation-duration: var(--fa-animation-duration, 1s); - animation-iteration-count: var(--fa-animation-iteration-count, infinite); - animation-timing-function: var(--fa-animation-timing, steps(8)); -} - -@media (prefers-reduced-motion: reduce) { - .fa-beat, -.fa-bounce, -.fa-fade, -.fa-beat-fade, -.fa-flip, -.fa-pulse, -.fa-shake, -.fa-spin, -.fa-spin-pulse { - animation-delay: -1ms; - animation-duration: 1ms; - animation-iteration-count: 1; - transition-delay: 0s; - transition-duration: 0s; - } -} -@keyframes fa-beat { - 0%, 90% { - transform: scale(1); - } - 45% { - transform: scale(var(--fa-beat-scale, 1.25)); - } -} -@keyframes fa-bounce { - 0% { - transform: scale(1, 1) translateY(0); - } - 10% { - transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0); - } - 30% { - transform: scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em)); - } - 50% { - transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0); - } - 57% { - transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em)); - } - 64% { - transform: scale(1, 1) translateY(0); - } - 100% { - transform: scale(1, 1) translateY(0); - } -} -@keyframes fa-fade { - 50% { - opacity: var(--fa-fade-opacity, 0.4); - } -} -@keyframes fa-beat-fade { - 0%, 100% { - opacity: var(--fa-beat-fade-opacity, 0.4); - transform: scale(1); - } - 50% { - opacity: 1; - transform: scale(var(--fa-beat-fade-scale, 1.125)); - } -} -@keyframes fa-flip { - 50% { - transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg)); - } -} -@keyframes fa-shake { - 0% { - transform: rotate(-15deg); - } - 4% { - transform: rotate(15deg); - } - 8%, 24% { - transform: rotate(-18deg); - } - 12%, 28% { - transform: rotate(18deg); - } - 16% { - transform: rotate(-22deg); - } - 20% { - transform: rotate(22deg); - } - 32% { - transform: rotate(-12deg); - } - 36% { - transform: rotate(12deg); - } - 40%, 100% { - transform: rotate(0deg); - } -} -@keyframes fa-spin { - 0% { - transform: rotate(0deg); - } - 100% { - transform: rotate(360deg); - } -} -.fa-rotate-90 { - transform: rotate(90deg); -} - -.fa-rotate-180 { - transform: rotate(180deg); -} - -.fa-rotate-270 { - transform: rotate(270deg); -} - -.fa-flip-horizontal { - transform: scale(-1, 1); -} - -.fa-flip-vertical { - transform: scale(1, -1); -} - -.fa-flip-both, -.fa-flip-horizontal.fa-flip-vertical { - transform: scale(-1, -1); -} - -.fa-rotate-by { - transform: rotate(var(--fa-rotate-angle, 0)); -} - -.fa-stack { - display: inline-block; - vertical-align: middle; - height: 2em; - position: relative; - width: 2.5em; -} - -.fa-stack-1x, -.fa-stack-2x { - bottom: 0; - left: 0; - margin: auto; - position: absolute; - right: 0; - top: 0; - z-index: var(--fa-stack-z-index, auto); -} - -.svg-inline--fa.fa-stack-1x { - height: 1em; - width: 1.25em; -} -.svg-inline--fa.fa-stack-2x { - height: 2em; - width: 2.5em; -} - -.fa-inverse { - color: var(--fa-inverse, #fff); -} - -.sr-only, -.fa-sr-only { - position: absolute; - width: 1px; - height: 1px; - padding: 0; - margin: -1px; - overflow: hidden; - clip: rect(0, 0, 0, 0); - white-space: nowrap; - border-width: 0; -} - -.sr-only-focusable:not(:focus), -.fa-sr-only-focusable:not(:focus) { - position: absolute; - width: 1px; - height: 1px; - padding: 0; - margin: -1px; - overflow: hidden; - clip: rect(0, 0, 0, 0); - white-space: nowrap; - border-width: 0; -} - -.svg-inline--fa .fa-primary { - fill: var(--fa-primary-color, currentColor); - opacity: var(--fa-primary-opacity, 1); -} - -.svg-inline--fa .fa-secondary { - fill: var(--fa-secondary-color, currentColor); - opacity: var(--fa-secondary-opacity, 0.4); -} - -.svg-inline--fa.fa-swap-opacity .fa-primary { - opacity: var(--fa-secondary-opacity, 0.4); -} - -.svg-inline--fa.fa-swap-opacity .fa-secondary { - opacity: var(--fa-primary-opacity, 1); -} - -.svg-inline--fa mask .fa-primary, -.svg-inline--fa mask .fa-secondary { - fill: black; -}`;function I0(){const e=O0,t=T0,r=K.cssPrefix,n=K.replacementClass;let o=_2;if(r!==e||n!==t){const i=new RegExp("\\.".concat(e,"\\-"),"g"),a=new RegExp("\\--".concat(e,"\\-"),"g"),s=new RegExp("\\.".concat(t),"g");o=o.replace(i,".".concat(r,"-")).replace(a,"--".concat(r,"-")).replace(s,".".concat(n))}return o}let bp=!1;function gl(){K.autoAddCss&&!bp&&(T2(I0()),bp=!0)}var I2={mixout(){return{dom:{css:I0,insertCss:gl}}},hooks(){return{beforeDOMElementCreation(){gl()},beforeI2svg(){gl()}}}};const nr=Er||{};nr[rr]||(nr[rr]={});nr[rr].styles||(nr[rr].styles={});nr[rr].hooks||(nr[rr].hooks={});nr[rr].shims||(nr[rr].shims=[]);var Yt=nr[rr];const R0=[],L0=function(){Re.removeEventListener("DOMContentLoaded",L0),_a=1,R0.map(e=>e())};let _a=!1;cr&&(_a=(Re.documentElement.doScroll?/^loaded|^c/:/^loaded|^i|^c/).test(Re.readyState),_a||Re.addEventListener("DOMContentLoaded",L0));function R2(e){cr&&(_a?setTimeout(e,0):R0.push(e))}function Zo(e){const{tag:t,attributes:r={},children:n=[]}=e;return typeof e=="string"?_0(e):"<".concat(t," ").concat(A2(r),">").concat(n.map(Zo).join(""),"</").concat(t,">")}function xp(e,t,r){if(e&&e[t]&&e[t][r])return{prefix:t,iconName:r,icon:e[t][r]}}var L2=function(t,r){return function(n,o,i,a){return t.call(r,n,o,i,a)}},yl=function(t,r,n,o){var i=Object.keys(t),a=i.length,s=o!==void 0?L2(r,o):r,l,c,u;for(n===void 0?(l=1,u=t[i[0]]):(l=0,u=n);l<a;l++)c=i[l],u=s(u,t[c],c,t);return u};function F2(e){const t=[];let r=0;const n=e.length;for(;r<n;){const o=e.charCodeAt(r++);if(o>=55296&&o<=56319&&r<n){const i=e.charCodeAt(r++);(i&64512)==56320?t.push(((o&1023)<<10)+(i&1023)+65536):(t.push(o),r--)}else t.push(o)}return t}function Gc(e){const t=F2(e);return t.length===1?t[0].toString(16):null}function D2(e,t){const r=e.length;let n=e.charCodeAt(t),o;return n>=55296&&n<=56319&&r>t+1&&(o=e.charCodeAt(t+1),o>=56320&&o<=57343)?(n-55296)*1024+o-56320+65536:n}function wp(e){return Object.keys(e).reduce((t,r)=>{const n=e[r];return!!n.icon?t[n.iconName]=n.icon:t[r]=n,t},{})}function qc(e,t){let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};const{skipHooks:n=!1}=r,o=wp(t);typeof Yt.hooks.addPack=="function"&&!n?Yt.hooks.addPack(e,wp(t)):Yt.styles[e]=F(F({},Yt.styles[e]||{}),o),e==="fas"&&qc("fa",t)}const{styles:Do,shims:M2}=Yt,F0=Object.keys(pf),j2=F0.reduce((e,t)=>(e[t]=Object.keys(pf[t]),e),{});let mf=null,D0={},M0={},j0={},N0={},B0={};function N2(e){return~E2.indexOf(e)}function B2(e,t){const r=t.split("-"),n=r[0],o=r.slice(1).join("-");return n===e&&o!==""&&!N2(o)?o:null}const V0=()=>{const e=n=>yl(Do,(o,i,a)=>(o[a]=yl(i,n,{}),o),{});D0=e((n,o,i)=>(o[3]&&(n[o[3]]=i),o[2]&&o[2].filter(s=>typeof s=="number").forEach(s=>{n[s.toString(16)]=i}),n)),M0=e((n,o,i)=>(n[i]=i,o[2]&&o[2].filter(s=>typeof s=="string").forEach(s=>{n[s]=i}),n)),B0=e((n,o,i)=>{const a=o[2];return n[i]=i,a.forEach(s=>{n[s]=i}),n});const t="far"in Do||K.autoFetchSvg,r=yl(M2,(n,o)=>{const i=o[0];let a=o[1];const s=o[2];return a==="far"&&!t&&(a="fas"),typeof i=="string"&&(n.names[i]={prefix:a,iconName:s}),typeof i=="number"&&(n.unicodes[i.toString(16)]={prefix:a,iconName:s}),n},{names:{},unicodes:{}});j0=r.names,N0=r.unicodes,mf=Ps(K.styleDefault,{family:K.familyDefault})};O2(e=>{mf=Ps(e.styleDefault,{family:K.familyDefault})});V0();function gf(e,t){return(D0[e]||{})[t]}function V2(e,t){return(M0[e]||{})[t]}function Vr(e,t){return(B0[e]||{})[t]}function W0(e){return j0[e]||{prefix:null,iconName:null}}function W2(e){const t=N0[e],r=gf("fas",e);return t||(r?{prefix:"fas",iconName:r}:null)||{prefix:null,iconName:null}}function Sr(){return mf}const U0=()=>({prefix:null,iconName:null,rest:[]});function U2(e){let t=rt;const r=F0.reduce((n,o)=>(n[o]="".concat(K.cssPrefix,"-").concat(o),n),{});return S0.forEach(n=>{(e.includes(r[n])||e.some(o=>j2[n].includes(o)))&&(t=n)}),t}function Ps(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{family:r=rt}=t,n=y2[r][e];if(r===ks&&!e)return"fad";const o=yp[r][e]||yp[r][n],i=e in Yt.styles?e:null;return o||i||null}function H2(e){let t=[],r=null;return e.forEach(n=>{const o=B2(K.cssPrefix,n);o?r=o:n&&t.push(n)}),{iconName:r,rest:t}}function $p(e){return e.sort().filter((t,r,n)=>n.indexOf(t)===r)}function zs(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{skipLookups:r=!1}=t;let n=null;const o=Nc.concat(a2),i=$p(e.filter(d=>o.includes(d))),a=$p(e.filter(d=>!Nc.includes(d))),s=i.filter(d=>(n=d,!E0.includes(d))),[l=null]=s,c=U2(i),u=F(F({},H2(a)),{},{prefix:Ps(l,{family:c})});return F(F(F({},u),X2({values:e,family:c,styles:Do,config:K,canonical:u,givenPrefix:n})),G2(r,n,u))}function G2(e,t,r){let{prefix:n,iconName:o}=r;if(e||!n||!o)return{prefix:n,iconName:o};const i=t==="fa"?W0(o):{},a=Vr(n,o);return o=i.iconName||a||o,n=i.prefix||n,n==="far"&&!Do.far&&Do.fas&&!K.autoFetchSvg&&(n="fas"),{prefix:n,iconName:o}}const q2=S0.filter(e=>e!==rt||e!==ks),Y2=Object.keys(jc).filter(e=>e!==rt).map(e=>Object.keys(jc[e])).flat();function X2(e){const{values:t,family:r,canonical:n,givenPrefix:o="",styles:i={},config:a={}}=e,s=r===ks,l=t.includes("fa-duotone")||t.includes("fad"),c=a.familyDefault==="duotone",u=n.prefix==="fad"||n.prefix==="fa-duotone";if(!s&&(l||c||u)&&(n.prefix="fad"),(t.includes("fa-brands")||t.includes("fab"))&&(n.prefix="fab"),!n.prefix&&q2.includes(r)&&(Object.keys(i).find(p=>Y2.includes(p))||a.autoFetchSvg)){const p=J$.get(r).defaultShortPrefixId;n.prefix=p,n.iconName=Vr(n.prefix,n.iconName)||n.iconName}return(n.prefix==="fa"||o==="fa")&&(n.prefix=Sr()||"fas"),n}class K2{constructor(){this.definitions={}}add(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];const o=r.reduce(this._pullDefinitions,{});Object.keys(o).forEach(i=>{this.definitions[i]=F(F({},this.definitions[i]||{}),o[i]),qc(i,o[i]);const a=pf[rt][i];a&&qc(a,o[i]),V0()})}reset(){this.definitions={}}_pullDefinitions(t,r){const n=r.prefix&&r.iconName&&r.icon?{0:r}:r;return Object.keys(n).map(o=>{const{prefix:i,iconName:a,icon:s}=n[o],l=s[2];t[i]||(t[i]={}),l.length>0&&l.forEach(c=>{typeof c=="string"&&(t[i][c]=s)}),t[i][a]=s}),t}}let Ep=[],$n={};const Pn={},Z2=Object.keys(Pn);function J2(e,t){let{mixoutsTo:r}=t;return Ep=e,$n={},Object.keys(Pn).forEach(n=>{Z2.indexOf(n)===-1&&delete Pn[n]}),Ep.forEach(n=>{const o=n.mixout?n.mixout():{};if(Object.keys(o).forEach(i=>{typeof o[i]=="function"&&(r[i]=o[i]),typeof o[i]=="object"&&Object.keys(o[i]).forEach(a=>{r[i]||(r[i]={}),r[i][a]=o[i][a]})}),n.hooks){const i=n.hooks();Object.keys(i).forEach(a=>{$n[a]||($n[a]=[]),$n[a].push(i[a])})}n.provides&&n.provides(Pn)}),r}function Yc(e,t){for(var r=arguments.length,n=new Array(r>2?r-2:0),o=2;o<r;o++)n[o-2]=arguments[o];return($n[e]||[]).forEach(a=>{t=a.apply(null,[t,...n])}),t}function Kr(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];($n[e]||[]).forEach(i=>{i.apply(null,r)})}function Cr(){const e=arguments[0],t=Array.prototype.slice.call(arguments,1);return Pn[e]?Pn[e].apply(null,t):void 0}function Xc(e){e.prefix==="fa"&&(e.prefix="fas");let{iconName:t}=e;const r=e.prefix||Sr();if(t)return t=Vr(r,t)||t,xp(H0.definitions,r,t)||xp(Yt.styles,r,t)}const H0=new K2,Q2=()=>{K.autoReplaceSvg=!1,K.observeMutations=!1,Kr("noAuto")},eE={i2svg:function(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return cr?(Kr("beforeI2svg",e),Cr("pseudoElements2svg",e),Cr("i2svg",e)):Promise.reject(new Error("Operation requires a DOM of some kind."))},watch:function(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};const{autoReplaceSvgRoot:t}=e;K.autoReplaceSvg===!1&&(K.autoReplaceSvg=!0),K.observeMutations=!0,R2(()=>{rE({autoReplaceSvgRoot:t}),Kr("watch",e)})}},tE={icon:e=>{if(e===null)return null;if(typeof e=="object"&&e.prefix&&e.iconName)return{prefix:e.prefix,iconName:Vr(e.prefix,e.iconName)||e.iconName};if(Array.isArray(e)&&e.length===2){const t=e[1].indexOf("fa-")===0?e[1].slice(3):e[1],r=Ps(e[0]);return{prefix:r,iconName:Vr(r,t)||t}}if(typeof e=="string"&&(e.indexOf("".concat(K.cssPrefix,"-"))>-1||e.match(b2))){const t=zs(e.split(" "),{skipLookups:!0});return{prefix:t.prefix||Sr(),iconName:Vr(t.prefix,t.iconName)||t.iconName}}if(typeof e=="string"){const t=Sr();return{prefix:t,iconName:Vr(t,e)||e}}}},mt={noAuto:Q2,config:K,dom:eE,parse:tE,library:H0,findIconDefinition:Xc,toHtml:Zo},rE=function(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};const{autoReplaceSvgRoot:t=Re}=e;(Object.keys(Yt.styles).length>0||K.autoFetchSvg)&&cr&&K.autoReplaceSvg&&mt.dom.i2svg({node:t})};function _s(e,t){return Object.defineProperty(e,"abstract",{get:t}),Object.defineProperty(e,"html",{get:function(){return e.abstract.map(r=>Zo(r))}}),Object.defineProperty(e,"node",{get:function(){if(!cr)return;const r=Re.createElement("div");return r.innerHTML=e.html,r.children}}),e}function nE(e){let{children:t,main:r,mask:n,attributes:o,styles:i,transform:a}=e;if(vf(a)&&r.found&&!n.found){const{width:s,height:l}=r,c={x:s/l/2,y:.5};o.style=As(F(F({},i),{},{"transform-origin":"".concat(c.x+a.x/16,"em ").concat(c.y+a.y/16,"em")}))}return[{tag:"svg",attributes:o,children:t}]}function oE(e){let{prefix:t,iconName:r,children:n,attributes:o,symbol:i}=e;const a=i===!0?"".concat(t,"-").concat(K.cssPrefix,"-").concat(r):i;return[{tag:"svg",attributes:{style:"display: none;"},children:[{tag:"symbol",attributes:F(F({},o),{},{id:a}),children:n}]}]}function yf(e){const{icons:{main:t,mask:r},prefix:n,iconName:o,transform:i,symbol:a,title:s,maskId:l,titleId:c,extra:u,watchable:d=!1}=e,{width:p,height:v}=r.found?r:t,h=n2.includes(n),m=[K.replacementClass,o?"".concat(K.cssPrefix,"-").concat(o):""].filter(C=>u.classes.indexOf(C)===-1).filter(C=>C!==""||!!C).concat(u.classes).join(" ");let y={children:[],attributes:F(F({},u.attributes),{},{"data-prefix":n,"data-icon":o,class:m,role:u.attributes.role||"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 ".concat(p," ").concat(v)})};const x=h&&!~u.classes.indexOf("fa-fw")?{width:"".concat(p/v*16*.0625,"em")}:{};d&&(y.attributes[Xr]=""),s&&(y.children.push({tag:"title",attributes:{id:y.attributes["aria-labelledby"]||"title-".concat(c||Fo())},children:[s]}),delete y.attributes.title);const b=F(F({},y),{},{prefix:n,iconName:o,main:t,mask:r,maskId:l,transform:i,symbol:a,styles:F(F({},x),u.styles)}),{children:$,attributes:g}=r.found&&t.found?Cr("generateAbstractMask",b)||{children:[],attributes:{}}:Cr("generateAbstractIcon",b)||{children:[],attributes:{}};return b.children=$,b.attributes=g,a?oE(b):nE(b)}function Sp(e){const{content:t,width:r,height:n,transform:o,title:i,extra:a,watchable:s=!1}=e,l=F(F(F({},a.attributes),i?{title:i}:{}),{},{class:a.classes.join(" ")});s&&(l[Xr]="");const c=F({},a.styles);vf(o)&&(c.transform=z2({transform:o,startCentered:!0,width:r,height:n}),c["-webkit-transform"]=c.transform);const u=As(c);u.length>0&&(l.style=u);const d=[];return d.push({tag:"span",attributes:l,children:[t]}),i&&d.push({tag:"span",attributes:{class:"sr-only"},children:[i]}),d}function iE(e){const{content:t,title:r,extra:n}=e,o=F(F(F({},n.attributes),r?{title:r}:{}),{},{class:n.classes.join(" ")}),i=As(n.styles);i.length>0&&(o.style=i);const a=[];return a.push({tag:"span",attributes:o,children:[t]}),r&&a.push({tag:"span",attributes:{class:"sr-only"},children:[r]}),a}const{styles:bl}=Yt;function Kc(e){const t=e[0],r=e[1],[n]=e.slice(4);let o=null;return Array.isArray(n)?o={tag:"g",attributes:{class:"".concat(K.cssPrefix,"-").concat(ml.GROUP)},children:[{tag:"path",attributes:{class:"".concat(K.cssPrefix,"-").concat(ml.SECONDARY),fill:"currentColor",d:n[0]}},{tag:"path",attributes:{class:"".concat(K.cssPrefix,"-").concat(ml.PRIMARY),fill:"currentColor",d:n[1]}}]}:o={tag:"path",attributes:{fill:"currentColor",d:n}},{found:!0,width:t,height:r,icon:o}}const aE={found:!1,width:512,height:512};function sE(e,t){!k0&&!K.showMissingIcons&&e&&console.error('Icon with name "'.concat(e,'" and prefix "').concat(t,'" is missing.'))}function Zc(e,t){let r=t;return t==="fa"&&K.styleDefault!==null&&(t=Sr()),new Promise((n,o)=>{if(r==="fa"){const i=W0(e)||{};e=i.iconName||e,t=i.prefix||t}if(e&&t&&bl[t]&&bl[t][e]){const i=bl[t][e];return n(Kc(i))}sE(e,t),n(F(F({},aE),{},{icon:K.showMissingIcons&&e?Cr("missingIconAbstract")||{}:{}}))})}const Cp=()=>{},Jc=K.measurePerformance&&Si&&Si.mark&&Si.measure?Si:{mark:Cp,measure:Cp},yo='FA "6.7.2"',lE=e=>(Jc.mark("".concat(yo," ").concat(e," begins")),()=>G0(e)),G0=e=>{Jc.mark("".concat(yo," ").concat(e," ends")),Jc.measure("".concat(yo," ").concat(e),"".concat(yo," ").concat(e," begins"),"".concat(yo," ").concat(e," ends"))};var bf={begin:lE,end:G0};const sa=()=>{};function Op(e){return typeof(e.getAttribute?e.getAttribute(Xr):null)=="string"}function cE(e){const t=e.getAttribute?e.getAttribute(ff):null,r=e.getAttribute?e.getAttribute(df):null;return t&&r}function uE(e){return e&&e.classList&&e.classList.contains&&e.classList.contains(K.replacementClass)}function fE(){return K.autoReplaceSvg===!0?la.replace:la[K.autoReplaceSvg]||la.replace}function dE(e){return Re.createElementNS("http://www.w3.org/2000/svg",e)}function pE(e){return Re.createElement(e)}function q0(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{ceFn:r=e.tag==="svg"?dE:pE}=t;if(typeof e=="string")return Re.createTextNode(e);const n=r(e.tag);return Object.keys(e.attributes||[]).forEach(function(i){n.setAttribute(i,e.attributes[i])}),(e.children||[]).forEach(function(i){n.appendChild(q0(i,{ceFn:r}))}),n}function hE(e){let t=" ".concat(e.outerHTML," ");return t="".concat(t,"Font Awesome fontawesome.com "),t}const la={replace:function(e){const t=e[0];if(t.parentNode)if(e[1].forEach(r=>{t.parentNode.insertBefore(q0(r),t)}),t.getAttribute(Xr)===null&&K.keepOriginalSource){let r=Re.createComment(hE(t));t.parentNode.replaceChild(r,t)}else t.remove()},nest:function(e){const t=e[0],r=e[1];if(~hf(t).indexOf(K.replacementClass))return la.replace(e);const n=new RegExp("".concat(K.cssPrefix,"-.*"));if(delete r[0].attributes.id,r[0].attributes.class){const i=r[0].attributes.class.split(" ").reduce((a,s)=>(s===K.replacementClass||s.match(n)?a.toSvg.push(s):a.toNode.push(s),a),{toNode:[],toSvg:[]});r[0].attributes.class=i.toSvg.join(" "),i.toNode.length===0?t.removeAttribute("class"):t.setAttribute("class",i.toNode.join(" "))}const o=r.map(i=>Zo(i)).join(` -`);t.setAttribute(Xr,""),t.innerHTML=o}};function Tp(e){e()}function Y0(e,t){const r=typeof t=="function"?t:sa;if(e.length===0)r();else{let n=Tp;K.mutateApproach===m2&&(n=Er.requestAnimationFrame||Tp),n(()=>{const o=fE(),i=bf.begin("mutate");e.map(o),i(),r()})}}let xf=!1;function X0(){xf=!0}function Qc(){xf=!1}let Ia=null;function kp(e){if(!hp||!K.observeMutations)return;const{treeCallback:t=sa,nodeCallback:r=sa,pseudoElementsCallback:n=sa,observeMutationsRoot:o=Re}=e;Ia=new hp(i=>{if(xf)return;const a=Sr();Zn(i).forEach(s=>{if(s.type==="childList"&&s.addedNodes.length>0&&!Op(s.addedNodes[0])&&(K.searchPseudoElements&&n(s.target),t(s.target)),s.type==="attributes"&&s.target.parentNode&&K.searchPseudoElements&&n(s.target.parentNode),s.type==="attributes"&&Op(s.target)&&~$2.indexOf(s.attributeName))if(s.attributeName==="class"&&cE(s.target)){const{prefix:l,iconName:c}=zs(hf(s.target));s.target.setAttribute(ff,l||a),c&&s.target.setAttribute(df,c)}else uE(s.target)&&r(s.target)})}),cr&&Ia.observe(o,{childList:!0,attributes:!0,characterData:!0,subtree:!0})}function vE(){Ia&&Ia.disconnect()}function mE(e){const t=e.getAttribute("style");let r=[];return t&&(r=t.split(";").reduce((n,o)=>{const i=o.split(":"),a=i[0],s=i.slice(1);return a&&s.length>0&&(n[a]=s.join(":").trim()),n},{})),r}function gE(e){const t=e.getAttribute("data-prefix"),r=e.getAttribute("data-icon"),n=e.innerText!==void 0?e.innerText.trim():"";let o=zs(hf(e));return o.prefix||(o.prefix=Sr()),t&&r&&(o.prefix=t,o.iconName=r),o.iconName&&o.prefix||(o.prefix&&n.length>0&&(o.iconName=V2(o.prefix,e.innerText)||gf(o.prefix,Gc(e.innerText))),!o.iconName&&K.autoFetchSvg&&e.firstChild&&e.firstChild.nodeType===Node.TEXT_NODE&&(o.iconName=e.firstChild.data)),o}function yE(e){const t=Zn(e.attributes).reduce((o,i)=>(o.name!=="class"&&o.name!=="style"&&(o[i.name]=i.value),o),{}),r=e.getAttribute("title"),n=e.getAttribute("data-fa-title-id");return K.autoA11y&&(r?t["aria-labelledby"]="".concat(K.replacementClass,"-title-").concat(n||Fo()):(t["aria-hidden"]="true",t.focusable="false")),t}function bE(){return{iconName:null,title:null,titleId:null,prefix:null,transform:qt,symbol:!1,mask:{iconName:null,prefix:null,rest:[]},maskId:null,extra:{classes:[],styles:{},attributes:{}}}}function Ap(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{styleParser:!0};const{iconName:r,prefix:n,rest:o}=gE(e),i=yE(e),a=Yc("parseNodeAttributes",{},e);let s=t.styleParser?mE(e):[];return F({iconName:r,title:e.getAttribute("title"),titleId:e.getAttribute("data-fa-title-id"),prefix:n,transform:qt,mask:{iconName:null,prefix:null,rest:[]},maskId:null,symbol:!1,extra:{classes:o,styles:s,attributes:i}},a)}const{styles:xE}=Yt;function K0(e){const t=K.autoReplaceSvg==="nest"?Ap(e,{styleParser:!1}):Ap(e);return~t.extra.classes.indexOf(P0)?Cr("generateLayersText",e,t):Cr("generateSvgReplacementMutation",e,t)}function wE(){return[...e2,...Nc]}function Pp(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;if(!cr)return Promise.resolve();const r=Re.documentElement.classList,n=u=>r.add("".concat(gp,"-").concat(u)),o=u=>r.remove("".concat(gp,"-").concat(u)),i=K.autoFetchSvg?wE():E0.concat(Object.keys(xE));i.includes("fa")||i.push("fa");const a=[".".concat(P0,":not([").concat(Xr,"])")].concat(i.map(u=>".".concat(u,":not([").concat(Xr,"])"))).join(", ");if(a.length===0)return Promise.resolve();let s=[];try{s=Zn(e.querySelectorAll(a))}catch{}if(s.length>0)n("pending"),o("complete");else return Promise.resolve();const l=bf.begin("onTree"),c=s.reduce((u,d)=>{try{const p=K0(d);p&&u.push(p)}catch(p){k0||p.name==="MissingIcon"&&console.error(p)}return u},[]);return new Promise((u,d)=>{Promise.all(c).then(p=>{Y0(p,()=>{n("active"),n("complete"),o("pending"),typeof t=="function"&&t(),l(),u()})}).catch(p=>{l(),d(p)})})}function $E(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;K0(e).then(r=>{r&&Y0([r],t)})}function EE(e){return function(t){let r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const n=(t||{}).icon?t:Xc(t||{});let{mask:o}=r;return o&&(o=(o||{}).icon?o:Xc(o||{})),e(n,F(F({},r),{},{mask:o}))}}const SE=function(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{transform:r=qt,symbol:n=!1,mask:o=null,maskId:i=null,title:a=null,titleId:s=null,classes:l=[],attributes:c={},styles:u={}}=t;if(!e)return;const{prefix:d,iconName:p,icon:v}=e;return _s(F({type:"icon"},e),()=>(Kr("beforeDOMElementCreation",{iconDefinition:e,params:t}),K.autoA11y&&(a?c["aria-labelledby"]="".concat(K.replacementClass,"-title-").concat(s||Fo()):(c["aria-hidden"]="true",c.focusable="false")),yf({icons:{main:Kc(v),mask:o?Kc(o.icon):{found:!1,width:null,height:null,icon:{}}},prefix:d,iconName:p,transform:F(F({},qt),r),symbol:n,title:a,maskId:i,titleId:s,extra:{attributes:c,styles:u,classes:l}})))};var CE={mixout(){return{icon:EE(SE)}},hooks(){return{mutationObserverCallbacks(e){return e.treeCallback=Pp,e.nodeCallback=$E,e}}},provides(e){e.i2svg=function(t){const{node:r=Re,callback:n=()=>{}}=t;return Pp(r,n)},e.generateSvgReplacementMutation=function(t,r){const{iconName:n,title:o,titleId:i,prefix:a,transform:s,symbol:l,mask:c,maskId:u,extra:d}=r;return new Promise((p,v)=>{Promise.all([Zc(n,a),c.iconName?Zc(c.iconName,c.prefix):Promise.resolve({found:!1,width:512,height:512,icon:{}})]).then(h=>{let[m,y]=h;p([t,yf({icons:{main:m,mask:y},prefix:a,iconName:n,transform:s,symbol:l,maskId:u,title:o,titleId:i,extra:d,watchable:!0})])}).catch(v)})},e.generateAbstractIcon=function(t){let{children:r,attributes:n,main:o,transform:i,styles:a}=t;const s=As(a);s.length>0&&(n.style=s);let l;return vf(i)&&(l=Cr("generateAbstractTransformGrouping",{main:o,transform:i,containerWidth:o.width,iconWidth:o.width})),r.push(l||o.icon),{children:r,attributes:n}}}},OE={mixout(){return{layer(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{classes:r=[]}=t;return _s({type:"layer"},()=>{Kr("beforeDOMElementCreation",{assembler:e,params:t});let n=[];return e(o=>{Array.isArray(o)?o.map(i=>{n=n.concat(i.abstract)}):n=n.concat(o.abstract)}),[{tag:"span",attributes:{class:["".concat(K.cssPrefix,"-layers"),...r].join(" ")},children:n}]})}}}},TE={mixout(){return{counter(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{title:r=null,classes:n=[],attributes:o={},styles:i={}}=t;return _s({type:"counter",content:e},()=>(Kr("beforeDOMElementCreation",{content:e,params:t}),iE({content:e.toString(),title:r,extra:{attributes:o,styles:i,classes:["".concat(K.cssPrefix,"-layers-counter"),...n]}})))}}}},kE={mixout(){return{text(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{transform:r=qt,title:n=null,classes:o=[],attributes:i={},styles:a={}}=t;return _s({type:"text",content:e},()=>(Kr("beforeDOMElementCreation",{content:e,params:t}),Sp({content:e,transform:F(F({},qt),r),title:n,extra:{attributes:i,styles:a,classes:["".concat(K.cssPrefix,"-layers-text"),...o]}})))}}},provides(e){e.generateLayersText=function(t,r){const{title:n,transform:o,extra:i}=r;let a=null,s=null;if(w0){const l=parseInt(getComputedStyle(t).fontSize,10),c=t.getBoundingClientRect();a=c.width/l,s=c.height/l}return K.autoA11y&&!n&&(i.attributes["aria-hidden"]="true"),Promise.resolve([t,Sp({content:t.innerHTML,width:a,height:s,transform:o,title:n,extra:i,watchable:!0})])}}};const AE=new RegExp('"',"ug"),zp=[1105920,1112319],_p=F(F(F(F({},{FontAwesome:{normal:"fas",400:"fas"}}),Z$),h2),s2),eu=Object.keys(_p).reduce((e,t)=>(e[t.toLowerCase()]=_p[t],e),{}),PE=Object.keys(eu).reduce((e,t)=>{const r=eu[t];return e[t]=r[900]||[...Object.entries(r)][0][1],e},{});function zE(e){const t=e.replace(AE,""),r=D2(t,0),n=r>=zp[0]&&r<=zp[1],o=t.length===2?t[0]===t[1]:!1;return{value:Gc(o?t[0]:t),isSecondary:n||o}}function _E(e,t){const r=e.replace(/^['"]|['"]$/g,"").toLowerCase(),n=parseInt(t),o=isNaN(n)?"normal":n;return(eu[r]||{})[o]||PE[r]}function Ip(e,t){const r="".concat(v2).concat(t.replace(":","-"));return new Promise((n,o)=>{if(e.getAttribute(r)!==null)return n();const a=Zn(e.children).filter(p=>p.getAttribute(Vc)===t)[0],s=Er.getComputedStyle(e,t),l=s.getPropertyValue("font-family"),c=l.match(x2),u=s.getPropertyValue("font-weight"),d=s.getPropertyValue("content");if(a&&!c)return e.removeChild(a),n();if(c&&d!=="none"&&d!==""){const p=s.getPropertyValue("content");let v=_E(l,u);const{value:h,isSecondary:m}=zE(p),y=c[0].startsWith("FontAwesome");let x=gf(v,h),b=x;if(y){const $=W2(h);$.iconName&&$.prefix&&(x=$.iconName,v=$.prefix)}if(x&&!m&&(!a||a.getAttribute(ff)!==v||a.getAttribute(df)!==b)){e.setAttribute(r,b),a&&e.removeChild(a);const $=bE(),{extra:g}=$;g.attributes[Vc]=t,Zc(x,v).then(C=>{const S=yf(F(F({},$),{},{icons:{main:C,mask:U0()},prefix:v,iconName:b,extra:g,watchable:!0})),O=Re.createElementNS("http://www.w3.org/2000/svg","svg");t==="::before"?e.insertBefore(O,e.firstChild):e.appendChild(O),O.outerHTML=S.map(T=>Zo(T)).join(` -`),e.removeAttribute(r),n()}).catch(o)}else n()}else n()})}function IE(e){return Promise.all([Ip(e,"::before"),Ip(e,"::after")])}function RE(e){return e.parentNode!==document.head&&!~g2.indexOf(e.tagName.toUpperCase())&&!e.getAttribute(Vc)&&(!e.parentNode||e.parentNode.tagName!=="svg")}function Rp(e){if(cr)return new Promise((t,r)=>{const n=Zn(e.querySelectorAll("*")).filter(RE).map(IE),o=bf.begin("searchPseudoElements");X0(),Promise.all(n).then(()=>{o(),Qc(),t()}).catch(()=>{o(),Qc(),r()})})}var LE={hooks(){return{mutationObserverCallbacks(e){return e.pseudoElementsCallback=Rp,e}}},provides(e){e.pseudoElements2svg=function(t){const{node:r=Re}=t;K.searchPseudoElements&&Rp(r)}}};let Lp=!1;var FE={mixout(){return{dom:{unwatch(){X0(),Lp=!0}}}},hooks(){return{bootstrap(){kp(Yc("mutationObserverCallbacks",{}))},noAuto(){vE()},watch(e){const{observeMutationsRoot:t}=e;Lp?Qc():kp(Yc("mutationObserverCallbacks",{observeMutationsRoot:t}))}}}};const Fp=e=>{let t={size:16,x:0,y:0,flipX:!1,flipY:!1,rotate:0};return e.toLowerCase().split(" ").reduce((r,n)=>{const o=n.toLowerCase().split("-"),i=o[0];let a=o.slice(1).join("-");if(i&&a==="h")return r.flipX=!0,r;if(i&&a==="v")return r.flipY=!0,r;if(a=parseFloat(a),isNaN(a))return r;switch(i){case"grow":r.size=r.size+a;break;case"shrink":r.size=r.size-a;break;case"left":r.x=r.x-a;break;case"right":r.x=r.x+a;break;case"up":r.y=r.y-a;break;case"down":r.y=r.y+a;break;case"rotate":r.rotate=r.rotate+a;break}return r},t)};var DE={mixout(){return{parse:{transform:e=>Fp(e)}}},hooks(){return{parseNodeAttributes(e,t){const r=t.getAttribute("data-fa-transform");return r&&(e.transform=Fp(r)),e}}},provides(e){e.generateAbstractTransformGrouping=function(t){let{main:r,transform:n,containerWidth:o,iconWidth:i}=t;const a={transform:"translate(".concat(o/2," 256)")},s="translate(".concat(n.x*32,", ").concat(n.y*32,") "),l="scale(".concat(n.size/16*(n.flipX?-1:1),", ").concat(n.size/16*(n.flipY?-1:1),") "),c="rotate(".concat(n.rotate," 0 0)"),u={transform:"".concat(s," ").concat(l," ").concat(c)},d={transform:"translate(".concat(i/2*-1," -256)")},p={outer:a,inner:u,path:d};return{tag:"g",attributes:F({},p.outer),children:[{tag:"g",attributes:F({},p.inner),children:[{tag:r.icon.tag,children:r.icon.children,attributes:F(F({},r.icon.attributes),p.path)}]}]}}}};const xl={x:0,y:0,width:"100%",height:"100%"};function Dp(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;return e.attributes&&(e.attributes.fill||t)&&(e.attributes.fill="black"),e}function ME(e){return e.tag==="g"?e.children:[e]}var jE={hooks(){return{parseNodeAttributes(e,t){const r=t.getAttribute("data-fa-mask"),n=r?zs(r.split(" ").map(o=>o.trim())):U0();return n.prefix||(n.prefix=Sr()),e.mask=n,e.maskId=t.getAttribute("data-fa-mask-id"),e}}},provides(e){e.generateAbstractMask=function(t){let{children:r,attributes:n,main:o,mask:i,maskId:a,transform:s}=t;const{width:l,icon:c}=o,{width:u,icon:d}=i,p=P2({transform:s,containerWidth:u,iconWidth:l}),v={tag:"rect",attributes:F(F({},xl),{},{fill:"white"})},h=c.children?{children:c.children.map(Dp)}:{},m={tag:"g",attributes:F({},p.inner),children:[Dp(F({tag:c.tag,attributes:F(F({},c.attributes),p.path)},h))]},y={tag:"g",attributes:F({},p.outer),children:[m]},x="mask-".concat(a||Fo()),b="clip-".concat(a||Fo()),$={tag:"mask",attributes:F(F({},xl),{},{id:x,maskUnits:"userSpaceOnUse",maskContentUnits:"userSpaceOnUse"}),children:[v,y]},g={tag:"defs",children:[{tag:"clipPath",attributes:{id:b},children:ME(d)},$]};return r.push(g,{tag:"rect",attributes:F({fill:"currentColor","clip-path":"url(#".concat(b,")"),mask:"url(#".concat(x,")")},xl)}),{children:r,attributes:n}}}},NE={provides(e){let t=!1;Er.matchMedia&&(t=Er.matchMedia("(prefers-reduced-motion: reduce)").matches),e.missingIconAbstract=function(){const r=[],n={fill:"currentColor"},o={attributeType:"XML",repeatCount:"indefinite",dur:"2s"};r.push({tag:"path",attributes:F(F({},n),{},{d:"M156.5,447.7l-12.6,29.5c-18.7-9.5-35.9-21.2-51.5-34.9l22.7-22.7C127.6,430.5,141.5,440,156.5,447.7z M40.6,272H8.5 c1.4,21.2,5.4,41.7,11.7,61.1L50,321.2C45.1,305.5,41.8,289,40.6,272z M40.6,240c1.4-18.8,5.2-37,11.1-54.1l-29.5-12.6 C14.7,194.3,10,216.7,8.5,240H40.6z M64.3,156.5c7.8-14.9,17.2-28.8,28.1-41.5L69.7,92.3c-13.7,15.6-25.5,32.8-34.9,51.5 L64.3,156.5z M397,419.6c-13.9,12-29.4,22.3-46.1,30.4l11.9,29.8c20.7-9.9,39.8-22.6,56.9-37.6L397,419.6z M115,92.4 c13.9-12,29.4-22.3,46.1-30.4l-11.9-29.8c-20.7,9.9-39.8,22.6-56.8,37.6L115,92.4z M447.7,355.5c-7.8,14.9-17.2,28.8-28.1,41.5 l22.7,22.7c13.7-15.6,25.5-32.9,34.9-51.5L447.7,355.5z M471.4,272c-1.4,18.8-5.2,37-11.1,54.1l29.5,12.6 c7.5-21.1,12.2-43.5,13.6-66.8H471.4z M321.2,462c-15.7,5-32.2,8.2-49.2,9.4v32.1c21.2-1.4,41.7-5.4,61.1-11.7L321.2,462z M240,471.4c-18.8-1.4-37-5.2-54.1-11.1l-12.6,29.5c21.1,7.5,43.5,12.2,66.8,13.6V471.4z M462,190.8c5,15.7,8.2,32.2,9.4,49.2h32.1 c-1.4-21.2-5.4-41.7-11.7-61.1L462,190.8z M92.4,397c-12-13.9-22.3-29.4-30.4-46.1l-29.8,11.9c9.9,20.7,22.6,39.8,37.6,56.9 L92.4,397z M272,40.6c18.8,1.4,36.9,5.2,54.1,11.1l12.6-29.5C317.7,14.7,295.3,10,272,8.5V40.6z M190.8,50 c15.7-5,32.2-8.2,49.2-9.4V8.5c-21.2,1.4-41.7,5.4-61.1,11.7L190.8,50z M442.3,92.3L419.6,115c12,13.9,22.3,29.4,30.5,46.1 l29.8-11.9C470,128.5,457.3,109.4,442.3,92.3z M397,92.4l22.7-22.7c-15.6-13.7-32.8-25.5-51.5-34.9l-12.6,29.5 C370.4,72.1,384.4,81.5,397,92.4z"})});const i=F(F({},o),{},{attributeName:"opacity"}),a={tag:"circle",attributes:F(F({},n),{},{cx:"256",cy:"364",r:"28"}),children:[]};return t||a.children.push({tag:"animate",attributes:F(F({},o),{},{attributeName:"r",values:"28;14;28;28;14;28;"})},{tag:"animate",attributes:F(F({},i),{},{values:"1;0;1;1;0;1;"})}),r.push(a),r.push({tag:"path",attributes:F(F({},n),{},{opacity:"1",d:"M263.7,312h-16c-6.6,0-12-5.4-12-12c0-71,77.4-63.9,77.4-107.8c0-20-17.8-40.2-57.4-40.2c-29.1,0-44.3,9.6-59.2,28.7 c-3.9,5-11.1,6-16.2,2.4l-13.1-9.2c-5.6-3.9-6.9-11.8-2.6-17.2c21.2-27.2,46.4-44.7,91.2-44.7c52.3,0,97.4,29.8,97.4,80.2 c0,67.6-77.4,63.5-77.4,107.8C275.7,306.6,270.3,312,263.7,312z"}),children:t?[]:[{tag:"animate",attributes:F(F({},i),{},{values:"1;0;0;0;0;1;"})}]}),t||r.push({tag:"path",attributes:F(F({},n),{},{opacity:"0",d:"M232.5,134.5l7,168c0.3,6.4,5.6,11.5,12,11.5h9c6.4,0,11.7-5.1,12-11.5l7-168c0.3-6.8-5.2-12.5-12-12.5h-23 C237.7,122,232.2,127.7,232.5,134.5z"}),children:[{tag:"animate",attributes:F(F({},i),{},{values:"0;0;1;1;0;0;"})}]}),{tag:"g",attributes:{class:"missing"},children:r}}}},BE={hooks(){return{parseNodeAttributes(e,t){const r=t.getAttribute("data-fa-symbol"),n=r===null?!1:r===""?!0:r;return e.symbol=n,e}}}},VE=[I2,CE,OE,TE,kE,LE,FE,DE,jE,NE,BE];J2(VE,{mixoutsTo:mt});mt.noAuto;mt.config;mt.library;mt.dom;const tu=mt.parse;mt.findIconDefinition;const WE=mt.toHtml,Z0=mt.icon;mt.layer;mt.text;mt.counter;var J0={exports:{}},UE="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED",HE=UE,GE=HE;function Q0(){}function ey(){}ey.resetWarningCache=Q0;var qE=function(){function e(n,o,i,a,s,l){if(l!==GE){var c=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw c.name="Invariant Violation",c}}e.isRequired=e;function t(){return e}var r={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:ey,resetWarningCache:Q0};return r.PropTypes=r,r};J0.exports=qE();var YE=J0.exports;const se=Tr(YE);function Mp(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function Ht(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?Mp(Object(r),!0).forEach(function(n){En(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Mp(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function Ra(e){"@babel/helpers - typeof";return Ra=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Ra(e)}function En(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function XE(e,t){if(e==null)return{};var r={},n=Object.keys(e),o,i;for(i=0;i<n.length;i++)o=n[i],!(t.indexOf(o)>=0)&&(r[o]=e[o]);return r}function KE(e,t){if(e==null)return{};var r=XE(e,t),n,o;if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(o=0;o<i.length;o++)n=i[o],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function ru(e){return ZE(e)||JE(e)||QE(e)||eS()}function ZE(e){if(Array.isArray(e))return nu(e)}function JE(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function QE(e,t){if(e){if(typeof e=="string")return nu(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(e);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return nu(e,t)}}function nu(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function eS(){throw new TypeError(`Invalid attempt to spread non-iterable instance. -In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function tS(e){var t,r=e.beat,n=e.fade,o=e.beatFade,i=e.bounce,a=e.shake,s=e.flash,l=e.spin,c=e.spinPulse,u=e.spinReverse,d=e.pulse,p=e.fixedWidth,v=e.inverse,h=e.border,m=e.listItem,y=e.flip,x=e.size,b=e.rotation,$=e.pull,g=(t={"fa-beat":r,"fa-fade":n,"fa-beat-fade":o,"fa-bounce":i,"fa-shake":a,"fa-flash":s,"fa-spin":l,"fa-spin-reverse":u,"fa-spin-pulse":c,"fa-pulse":d,"fa-fw":p,"fa-inverse":v,"fa-border":h,"fa-li":m,"fa-flip":y===!0,"fa-flip-horizontal":y==="horizontal"||y==="both","fa-flip-vertical":y==="vertical"||y==="both"},En(t,"fa-".concat(x),typeof x<"u"&&x!==null),En(t,"fa-rotate-".concat(b),typeof b<"u"&&b!==null&&b!==0),En(t,"fa-pull-".concat($),typeof $<"u"&&$!==null),En(t,"fa-swap-opacity",e.swapOpacity),t);return Object.keys(g).map(function(C){return g[C]?C:null}).filter(function(C){return C})}function rS(e){return e=e-0,e===e}function ty(e){return rS(e)?e:(e=e.replace(/[\-_\s]+(.)?/g,function(t,r){return r?r.toUpperCase():""}),e.substr(0,1).toLowerCase()+e.substr(1))}var nS=["style"];function oS(e){return e.charAt(0).toUpperCase()+e.slice(1)}function iS(e){return e.split(";").map(function(t){return t.trim()}).filter(function(t){return t}).reduce(function(t,r){var n=r.indexOf(":"),o=ty(r.slice(0,n)),i=r.slice(n+1).trim();return o.startsWith("webkit")?t[oS(o)]=i:t[o]=i,t},{})}function ry(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};if(typeof t=="string")return t;var n=(t.children||[]).map(function(l){return ry(e,l)}),o=Object.keys(t.attributes||{}).reduce(function(l,c){var u=t.attributes[c];switch(c){case"class":l.attrs.className=u,delete t.attributes.class;break;case"style":l.attrs.style=iS(u);break;default:c.indexOf("aria-")===0||c.indexOf("data-")===0?l.attrs[c.toLowerCase()]=u:l.attrs[ty(c)]=u}return l},{attrs:{}}),i=r.style,a=i===void 0?{}:i,s=KE(r,nS);return o.attrs.style=Ht(Ht({},o.attrs.style),a),e.apply(void 0,[t.tag,Ht(Ht({},o.attrs),s)].concat(ru(n)))}var ny=!1;try{ny=!0}catch{}function aS(){if(!ny&&console&&typeof console.error=="function"){var e;(e=console).error.apply(e,arguments)}}function jp(e){if(e&&Ra(e)==="object"&&e.prefix&&e.iconName&&e.icon)return e;if(tu.icon)return tu.icon(e);if(e===null)return null;if(e&&Ra(e)==="object"&&e.prefix&&e.iconName)return e;if(Array.isArray(e)&&e.length===2)return{prefix:e[0],iconName:e[1]};if(typeof e=="string")return{prefix:"fas",iconName:e}}function wl(e,t){return Array.isArray(t)&&t.length>0||!Array.isArray(t)&&t?En({},e,t):{}}var Np={border:!1,className:"",mask:null,maskId:null,fixedWidth:!1,inverse:!1,flip:!1,icon:null,listItem:!1,pull:null,pulse:!1,rotation:null,size:null,spin:!1,spinPulse:!1,spinReverse:!1,beat:!1,fade:!1,beatFade:!1,bounce:!1,shake:!1,symbol:!1,title:"",titleId:null,transform:null,swapOpacity:!1},wf=ye.forwardRef(function(e,t){var r=Ht(Ht({},Np),e),n=r.icon,o=r.mask,i=r.symbol,a=r.className,s=r.title,l=r.titleId,c=r.maskId,u=jp(n),d=wl("classes",[].concat(ru(tS(r)),ru((a||"").split(" ")))),p=wl("transform",typeof r.transform=="string"?tu.transform(r.transform):r.transform),v=wl("mask",jp(o)),h=Z0(u,Ht(Ht(Ht(Ht({},d),p),v),{},{symbol:i,title:s,titleId:l,maskId:c}));if(!h)return aS("Could not find icon",u),null;var m=h.abstract,y={ref:t};return Object.keys(r).forEach(function(x){Np.hasOwnProperty(x)||(y[x]=r[x])}),sS(m[0],y)});wf.displayName="FontAwesomeIcon";wf.propTypes={beat:se.bool,border:se.bool,beatFade:se.bool,bounce:se.bool,className:se.string,fade:se.bool,flash:se.bool,mask:se.oneOfType([se.object,se.array,se.string]),maskId:se.string,fixedWidth:se.bool,inverse:se.bool,flip:se.oneOf([!0,!1,"horizontal","vertical","both"]),icon:se.oneOfType([se.object,se.array,se.string]),listItem:se.bool,pull:se.oneOf(["right","left"]),pulse:se.bool,rotation:se.oneOf([0,90,180,270]),shake:se.bool,size:se.oneOf(["2xs","xs","sm","lg","xl","2xl","1x","2x","3x","4x","5x","6x","7x","8x","9x","10x"]),spin:se.bool,spinPulse:se.bool,spinReverse:se.bool,symbol:se.oneOfType([se.bool,se.string]),title:se.string,titleId:se.string,transform:se.oneOfType([se.string,se.object]),swapOpacity:se.bool};var sS=ry.bind(null,ye.createElement);function $f(e){return e!=null}const $l={},le=(e,t)=>{const r=t?`${t[0]}=${t[1]}`:"",n=e+(r||"");if(typeof $l[n]<"u")return $l[n];const o={"data-dp-name":e};return t&&(o["data-dp-ident"]=r),$l[n]=o},lS={"active-call":"61697",admin:"61698","advanced-filter":"61699",agent:"61700",api:"61701",approval:"61702","apps-zapier":"61703",archived:"61704",arrow:"61705","awaiting-user":"61706",check:"61707","column-width":"61708",community:"61709",crown:"61710",deskpro:"61711",dot:"61712",drag:"61713","dual-card":"61714","dual-table":"61715","dual-view":"61716","email-primary":"61717",enter:"61718","export-alt":"61719",export:"61720","follow-up-new":"61721","follow-up":"61722",glossary:"61723","google-analytics":"61724",grip:"61725","hang-up":"61726","helping-hand":"61727",history:"61728","im-outline":"61729","im-send":"61730",im:"61731","inbound-call":"61732","kanban-view":"61733","level-down":"61734","linked-ticket-new":"61735","linked-ticket":"61736",live:"61737","location-arrow":"61738",merge:"61739",merge2:"61740","missed-call":"61741","mobile-rotate":"61742","organization-circle":"61743","outbound-call":"61744",read:"61745",record:"61746",sent:"61747","sip-address":"61748",sort:"61749","transfer-queue":"61750",triangle:"61751","user-edit":"61752","version-history":"61753","warm-add":"61754","warm-transfer":"61755",webhook:"61756",workspaces:"61757"},Bp=({icon:e,className:t,size:r,...n})=>{const o=`dp-custom-icon-${e} ${t}`;return f.createElement("i",{...n,...le("DeskproCustomIcon"),className:o,style:{lineHeight:1,height:"auto",fontSize:r}})},cS=new Set(Object.keys(lS)),Ef=e=>typeof e=="string"&&cS.has(e),oy=e=>typeof e=="function"||tf.isValidElementType(e)&&typeof e!="string",uS=({icon:e,...t})=>{const r=e;return f.createElement(r,{...t})},iy={"address-card":"\f101","align-justify":"\f102","align-left":"\f103","align-right":"\f104","arrow-circle-down":"\f105","arrow-circle-left":"\f106","arrow-circle-right":"\f107","arrow-circle-up":"\f108","arrow-down-to-square":"\f109","arrow-down":"\f10a","arrow-left":"\f10b","arrow-narrow-bottom-alignment":"\f10c","arrow-narrow-down":"\f10d","arrow-narrow-left-alignment":"\f10e","arrow-narrow-right-move":"\f10f","arrow-narrow-up-move":"\f110","arrow-narrow-up":"\f111","arrow-right":"\f112","arrow-sm-down":"\f113","arrow-sm-left":"\f114","arrow-sm-right":"\f115","arrow-sm-up":"\f116","arrow-up":"\f117",backward:"\f118","badge-check":"\f119","bag-shopping":"\f11a",ban:"\f11b",bank:"\f11c",bell:"\f11d",bolt:"\f11e","book-open":"\f11f",bookmark:"\f120","box-archive":"\f121","briefcase-alt-4":"\f122",building:"\f123","cake-christmas":"\f124",calculator:"\f125",calendar:"\f126",camera:"\f127","cart-shopping":"\f128","chart-line-down":"\f129","chart-line-up":"\f12a","chart-pie-simple":"\f12b","chart-simple":"\f12c",check:"\f12d","chevron-down-double":"\f12e","chevron-down":"\f12f","chevron-left-double":"\f130","chevron-left":"\f131","chevron-right-double":"\f132","chevron-right":"\f133","chevron-selector-vertical":"\f134","chevron-up-double":"\f135","chevron-up":"\f136","circle-check":"\f137","circle-dollar":"\f138","circle-dots-horizontal":"\f139","circle-exclamation":"\f13a","circle-information":"\f13b","circle-minus":"\f13c","circle-pause":"\f13d","circle-play":"\f13e","circle-plus":"\f13f","circle-question":"\f140","circle-stop":"\f141","circle-user":"\f142","circle-xmark":"\f143","circle-yen":"\f144","clipboard-list-alt":"\f145",clipboard:"\f146",clock:"\f147",clone:"\f148","cloud-arrow-down":"\f149","cloud-up-arrow":"\f14a",cloud:"\f14b",code:"\f14c","credit-card":"\f14d","cube-alt-1":"\f14e",cube:"\f14f",cursor:"\f150","delete-left":"\f151","desktop-computer":"\f152","dots-horizontal":"\f153","dots-vertical":"\f154","english-to-chinese":"\f155","euro-circle":"\f156","expand-alt":"\f157","eye-slash":"\f158",eye:"\f159","face-frown":"\f15a","face-smile":"\f15b","file-alt":"\f15c","file-arrow-down":"\f15d","file-arrow-left":"\f15e","file-chart-column":"\f15f","file-copy":"\f160","file-minus":"\f161","file-plus":"\f162","file-search-alt-1":"\f163",file:"\f164",film:"\f165",filter:"\f166",fingerprint:"\f167",flag:"\f168","flask-round-potion":"\f169","folder-arrow-down":"\f16a","folder-minus":"\f16b","folder-plus":"\f16c",folder:"\f16d","gear-alt":"\f16e",gift:"\f16f","globe-alt":"\f170","graduation-hat":"\f171","grid-plus":"\f172",grid:"\f173","grip-lines":"\f174",hashtag:"\f175","heart-alt":"\f176","house-floor":"\f177","image-square":"\f178","inbox-arrow-down":"\f179",inbox:"\f17a","key-alt":"\f17b","life-ring":"\f17c","lightbulb-alt":"\f17d","link-alt-1":"\f17e","location-pin":"\f17f","lock-alt":"\f180","mail-open":"\f181",mail:"\f182",map:"\f183","menu-alt-1":"\f184",menu:"\f185","message-circle-dots":"\f186","message-square-chat":"\f187","message-square-dots":"\f188","message-square-lines-alt":"\f189",microchip:"\f18a","microphone-alt-1":"\f18b",minus:"\f18c",mobile:"\f18d","money-bill":"\f18e","money-stack":"\f18f",moon:"\f190",music:"\f191",paperclip:"\f192","pen-square":"\f193",pen:"\f194",percent:"\f195","phone-alt":"\f196","phone-incoming-alt":"\f197","phone-outgoing-alt":"\f198","phone-xmark-alt":"\f199","plus-large":"\f19a",plus:"\f19b","pound-circle":"\f19c","presentation-chart-alt":"\f19d","presentation-line":"\f19e",printer:"\f19f","rectangle-terminal":"\f1a0","refresh-ccw-alt":"\f1a1",reply:"\f1a2",rss:"\f1a3","rupee-sign":"\f1a4","scale-balanced":"\f1a5",scissors:"\f1a6","screen-users":"\f1a7","search-minus":"\f1a8","search-plus":"\f1a9",search:"\f1aa","send-alt":"\f1ab",server:"\f1ac","shield-check":"\f1ad","shield-exclamation":"\f1ae","sliders-up":"\f1af","sort-amount-down":"\f1b0","sort-amount-up":"\f1b1",star:"\f1b2",stars:"\f1b3",sun:"\f1b4",swatchbook:"\f1b5","switch-horizontal":"\f1b6","switch-vertical":"\f1b7",table:"\f1b8",tablet:"\f1b9",tag:"\f1ba","ticket-simple":"\f1bb",trash:"\f1bc","triangle-exclamation":"\f1bd",truck:"\f1be","unlock-alt":"\f1bf","user-minus":"\f1c0","user-plus-alt-1":"\f1c1",user:"\f1c2",users:"\f1c3",video:"\f1c4","volume-max":"\f1c5","volume-xmark":"\f1c6",wifi:"\f1c7",xmark:"\f1c8"};cf` - -`;const fS=w.i` - font-style: normal; - font-weight: normal; - speak: never; - - display: inline-block; - text-decoration: inherit; - width: 1em; - text-align: center; - /* opacity: .8; */ - - /* For safety - reset parent styles, that can break glyph codes*/ - font-variant: normal; - text-transform: none; - - /* fix buttons height, for twitter bootstrap */ - line-height: 1em !important; - - /* you can be more comfortable with increased icons size */ - /* font-size: 120%; */ - - /* Font smoothing. That was taken from TWBS */ - -webkit-font-smoothing: antialiased; - -moz-osx-font-smoothing: grayscale; - - /* Uncomment for 3D effect */ - /* text-shadow: 1px 1px 1px rgba(127, 127, 127, 0.3); */ -`,dS=({icon:e})=>iy[e.split("-dazzle-")[1]],pS=({icon:e})=>e.startsWith("outline")?"outline-dazzle":"solid-dazzle",hS=w(fS)` - font-family: ${pS} !important; - :before { - content: "${dS}"; - } -`;function Sf(e){return typeof e=="object"&&$f(e)&&"prefix"in e&&"iconName"in e}function Te(e){return Ef(e)||Sf(e)||oy(e)||tf.isElement(e)||ay(e)}function ay(e){return typeof e=="string"&&Object.keys(iy).includes(e.split("-dazzle-")[1])&&(e.startsWith("outline-dazzle-")||e.startsWith("solid-dazzle-"))}function ke(e){return typeof e=="object"&&$f(e)&&"icon"in e&&Te(e.icon)}const j=w(function({icon:t,themeColor:r,size:n,...o}){return Sf(t)?f.createElement(wf,{"data-testid":"fa-icon",...le("FAIcon"),icon:t,...o}):Ef(t)?f.createElement(Bp,{"data-testid":"custom-icon",icon:t,...o,size:n}):ay(t)?f.createElement(hS,{"data-testid":"dazzle-icon",icon:t,...o}):oy(t)?f.createElement("span",{"data-testid":"svgr-icon",style:{display:"contents",fontSize:n}},f.createElement(uS,{icon:t,style:{fontSize:n},...o})):tf.isElement(t)?f.createElement("span",{"data-testid":"jsx-icon",className:o.className,style:{display:"flex",alignItems:"center",justifyContent:"center"}},t):f.createElement(Bp,{"data-testid":"custom-icon",icon:"dot",...o})})` - height: 1em; - color: ${e=>{var t;return(t=e.theme.colors[e.themeColor])!==null&&t!==void 0?t:"inherit"}}; - font-size: ${e=>typeof e.size=="number"?`${e.size}px`:"inherit"}; - user-select: none; -`,ae=E` - margin: 0; - padding: 0; -`,vS=E` - font-family: ${e=>e.theme.fonts.inter}; - font-style: normal; - font-weight: 600; - font-size: 28px; - line-height: 112%; -`,mS=E` - font-family: ${e=>e.theme.fonts.inter}; - font-style: normal; - font-weight: 600; - font-size: 28px; - line-height: 120%; -`,gS=E` - font-family: ${e=>e.theme.fonts.inter}; - font-style: normal; - font-weight: 600; - font-size: 18px; - line-height: 112%; -`,yS=E` - font-family: ${e=>e.theme.fonts.inter}; - font-style: normal; - font-weight: 600; - font-size: 18px; - line-height: 120%; -`,bS=E` - font-family: ${e=>e.theme.fonts.inter}; - font-style: normal; - font-weight: 600; - font-size: 16px; - line-height: 112%; -`,xS=E` - font-family: ${e=>e.theme.fonts.inter}; - font-style: normal; - font-weight: 600; - font-size: 16px; - line-height: 120%; -`,wS=E` - font-family: ${e=>e.theme.fonts.inter}; - font-style: normal; - font-weight: 600; - font-size: 14px; - line-height: 112%; -`,$S=E` - font-family: ${e=>e.theme.fonts.inter}; - font-style: normal; - font-weight: 600; - font-size: 14px; - line-height: 120%; -`,ES=E` - font-family: ${e=>e.theme.fonts.inter}; - font-style: normal; - font-weight: 600; - font-size: 12px; - line-height: 112%; -`,SS=E` - font-family: ${e=>e.theme.fonts.inter}; - font-style: normal; - font-weight: 600; - font-size: 12px; - line-height: 120%; -`,CS=E` - font-family: ${e=>e.theme.fonts.inter}; - font-style: normal; - font-weight: 600; - font-size: 11px; - line-height: 112%; -`,OS=E` - font-family: ${e=>e.theme.fonts.inter}; - font-style: normal; - font-weight: 600; - font-size: 11px; - line-height: 120%; -`,TS=E` - font-family: ${e=>e.theme.fonts.inter}; - font-style: normal; - font-weight: 600; - font-size: 11px; - line-height: 112%; - letter-spacing: 0.08em; - text-transform: uppercase; -`,kS=E` - font-family: ${e=>e.theme.fonts.inter}; - font-style: normal; - font-weight: 400; - font-size: 16px; - line-height: 120%; -`,AS=E` - font-family: ${e=>e.theme.fonts.inter}; - font-style: normal; - font-weight: 500; - font-size: 16px; - line-height: 120%; -`,PS=E` - font-family: ${e=>e.theme.fonts.inter}; - font-style: normal; - font-weight: 600; - font-size: 16px; - line-height: 120%; -`,zS=E` - font-family: ${e=>e.theme.fonts.inter}; - font-style: normal; - font-weight: 400; - font-size: 16px; - line-height: 150%; -`,_S=E` - font-family: ${e=>e.theme.fonts.inter}; - font-style: normal; - font-weight: 500; - font-size: 16px; - line-height: 150%; -`,IS=E` - font-family: ${e=>e.theme.fonts.inter}; - font-style: normal; - font-weight: 600; - font-size: 16px; - line-height: 150%; -`,RS=E` - font-family: ${e=>e.theme.fonts.inter}; - font-style: normal; - font-weight: 400; - font-size: 14px; - line-height: 120%; -`,LS=E` - font-family: ${e=>e.theme.fonts.inter}; - font-style: normal; - font-weight: 500; - font-size: 14px; - line-height: 120%; -`,FS=E` - font-family: ${e=>e.theme.fonts.inter}; - font-style: normal; - font-weight: 600; - font-size: 14px; - line-height: 120%; -`,DS=E` - font-family: ${e=>e.theme.fonts.inter}; - font-style: normal; - font-weight: 400; - font-size: 14px; - line-height: 150%; -`,MS=E` - font-family: ${e=>e.theme.fonts.inter}; - font-style: normal; - font-weight: 500; - font-size: 14px; - line-height: 150%; -`,jS=E` - font-family: ${e=>e.theme.fonts.inter}; - font-style: normal; - font-weight: 600; - font-size: 14px; - line-height: 150%; -`,NS=E` - font-family: ${e=>e.theme.fonts.inter}; - font-style: normal; - font-weight: 400; - font-size: 12px; - line-height: 120%; -`,BS=E` - font-family: ${e=>e.theme.fonts.inter}; - font-style: normal; - font-weight: 500; - font-size: 12px; - line-height: 120%; -`,VS=E` - font-family: ${e=>e.theme.fonts.inter}; - font-style: normal; - font-weight: 600; - font-size: 12px; - line-height: 120%; -`,WS=E` - font-family: ${e=>e.theme.fonts.inter}; - font-style: normal; - font-weight: 400; - font-size: 12px; - line-height: 150%; -`,US=E` - font-family: ${e=>e.theme.fonts.inter}; - font-style: normal; - font-weight: 500; - font-size: 12px; - line-height: 150%; -`,HS=E` - font-family: ${e=>e.theme.fonts.inter}; - font-style: normal; - font-weight: 600; - font-size: 12px; - line-height: 150%; -`,GS=E` - font-family: ${e=>e.theme.fonts.inter}; - font-style: normal; - font-weight: 400; - font-size: 11px; - line-height: 126%; -`,qS=E` - font-family: ${e=>e.theme.fonts.inter}; - font-style: normal; - font-weight: 500; - font-size: 11px; - line-height: 126%; -`,YS=E` - font-family: ${e=>e.theme.fonts.inter}; - font-style: normal; - font-weight: 600; - font-size: 11px; - line-height: 126%; -`,XS=E` - font-family: ${e=>e.theme.fonts.inter}; - font-style: normal; - font-weight: 400; - font-size: 11px; - line-height: 150%; -`,KS=E` - font-family: ${e=>e.theme.fonts.inter}; - font-style: normal; - font-weight: 500; - font-size: 11px; - line-height: 150%; -`,ZS=E` - font-family: ${e=>e.theme.fonts.inter}; - font-style: normal; - font-weight: 600; - font-size: 11px; - line-height: 150%; -`,JS=E` - font-family: ${e=>e.theme.fonts.inter}; - font-style: normal; - font-weight: 400; - font-size: 10px; - line-height: 140%; -`,QS=E` - font-family: ${e=>e.theme.fonts.inter}; - font-style: normal; - font-weight: 500; - font-size: 10px; - line-height: 140%; -`,eC=E` - font-family: ${e=>e.theme.fonts.inter}; - font-style: normal; - font-weight: 600; - font-size: 10px; - line-height: 140%; -`,tC=E` - font-family: ${e=>e.theme.fonts.inter}; - font-style: normal; - font-weight: 600; - font-size: 8px; - line-height: 140%; -`,rC=E` - font-family: ${e=>e.theme.fonts.monospace}; - font-style: normal; - font-weight: 400; - font-size: 11px; - line-height: 120%; -`,nC=E` - font-family: ${e=>e.theme.fonts.monospace}; - font-style: normal; - font-weight: 500; - font-size: 11px; - line-height: 120%; -`,oC=E` - font-family: ${e=>e.theme.fonts.monospace}; - font-style: normal; - font-weight: 600; - font-size: 11px; - line-height: 120%; -`,iC=E` - font-family: ${e=>e.theme.fonts.inter}; - font-style: normal; - font-weight: 500; - font-size: 11px; - line-height: 126%; - letter-spacing: 0.03em; -`,lt={h_h1:vS,h_h1_paragraph:mS,h_h2:gS,h_h2_paragraph:yS,h_h3:bS,h_h3_paragraph:xS,h_h4:wS,h_h4_paragraph:$S,h_h5:ES,h_h5_paragraph:SS,h_h6:CS,h_h6_paragraph:OS,h_h6_kerning:TS},Ae={p_p1:kS,p_p1_medium:AS,p_p1_semibold:PS,p_p1_paragraph:zS,p_p1_paragraph_medium:_S,p_p1_paragraph_semibold:IS,p_p2:RS,p_p2_medium:LS,p_p2_semibold:FS,p_p2_paragraph:DS,p_p2_paragraph_medium:MS,p_p2_paragraph_semibold:jS,p_p3:NS,p_p3_medium:BS,p_p3_semibold:VS,p_p3_paragraph:WS,p_p3_paragraph_medium:US,p_p3_paragraph_semibold:HS,p_p4:GS,p_p4_medium:qS,p_p4_semibold:YS,p_p4_paragraph:XS,p_p4_paragraph_medium:KS,p_p4_paragraph_semibold:ZS},ur={label1:JS,label1_medium:QS,label1_semibold:eC,label2:tC,monospace:rC,monospace_medium:nC,monospace_semibold:oC,shortcode:iC};w.h1.attrs({type:"h_h1"})` - ${ae}; - ${lt.h_h1} -`;w.h1.attrs({type:"h_h1_paragraph"})` - ${ae}; - ${lt.h_h1_paragraph} -`;w.h2.attrs({type:"h_h2"})` - ${ae}; - ${lt.h_h2} -`;w.h2.attrs({type:"h_h2_paragraph"})` - ${ae}; - ${lt.h_h2_paragraph} -`;w.h1.attrs({type:"h_h3"})` - ${ae}; - ${lt.h_h3} -`;w.h3.attrs({type:"h_h3_paragraph"})` - ${ae}; - ${lt.h_h3_paragraph} -`;w.h4.attrs({type:"h_h4"})` - ${ae}; - ${lt.h_h4} -`;w.h4.attrs({type:"h_h4_paragraph"})` - ${ae}; - ${lt.h_h4_paragraph} -`;w.h5.attrs({type:"h_h5"})` - ${ae}; - ${lt.h_h5} -`;w.h5.attrs({type:"h_h5_paragraph"})` - ${ae}; - ${lt.h_h5_paragraph} -`;w.h6.attrs({type:"h_h6"})` - ${ae}; - ${lt.h_h6} -`;w.h6.attrs({type:"h_h6_paragraph"})` - ${ae}; - ${lt.h_h6_paragraph} -`;w.h6.attrs({type:"h_h6_kerning"})` - ${ae}; - ${lt.h_h6_kerning} -`;w.p.attrs({type:"p_p1"})` - ${ae}; - ${Ae.p_p1} -`;w.p.attrs({type:"p_p1_medium"})` - ${ae}; - ${Ae.p_p1_medium} -`;w.p.attrs({type:"p_p1_semibold"})` - ${ae}; - ${Ae.p_p1_semibold} -`;w.p.attrs({type:"p_p1_paragraph"})` - ${ae}; - ${Ae.p_p1_paragraph} -`;w.p.attrs({type:"p_p1_paragraph_medium"})` - ${ae}; - ${Ae.p_p1_paragraph_medium} -`;w.p.attrs({type:"p_p1_paragraph_semibold"})` - ${ae}; - ${Ae.p_p1_paragraph_semibold} -`;w.p.attrs({type:"p_p2"})` - ${ae}; - ${Ae.p_p2} -`;w.p.attrs({type:"p_p2_medium"})` - ${ae}; - ${Ae.p_p2_medium} -`;w.p.attrs({type:"p_p2_semibold"})` - ${ae}; - ${Ae.p_p2_semibold} -`;w.p.attrs({type:"p_p2_paragraph"})` - ${ae}; - ${Ae.p_p2_paragraph} -`;w.p.attrs({type:"p_p2_paragraph_medium"})` - ${ae}; - ${Ae.p_p2_paragraph_medium} -`;w.p.attrs({type:"p_p2_paragraph_semibold"})` - ${ae}; - ${Ae.p_p2_paragraph_semibold} -`;w.p.attrs({type:"p_p3"})` - ${ae}; - ${Ae.p_p3} -`;w.p.attrs({type:"p_p3_medium"})` - ${ae}; - ${Ae.p_p3_medium} -`;w.p.attrs({type:"p_p3_semibold"})` - ${ae}; - ${Ae.p_p3_semibold} -`;w.p.attrs({type:"p_p3_paragraph"})` - ${ae}; - ${Ae.p_p3_paragraph} -`;w.p.attrs({type:"p_p3_paragraph_medium"})` - ${ae}; - ${Ae.p_p3_paragraph_medium} -`;w.p.attrs({type:"p_p3_paragraph_semibold"})` - ${ae}; - ${Ae.p_p3_paragraph_semibold} -`;w.p.attrs({type:"p_p4"})` - ${ae}; - ${Ae.p_p4} -`;w.p.attrs({type:"p_p4_medium"})` - ${ae}; - ${Ae.p_p4_medium} -`;w.p.attrs({type:"p_p4_semibold"})` - ${ae}; - ${Ae.p_p4_semibold} -`;w.p.attrs({type:"p_p4_paragraph"})` - ${ae}; - ${Ae.p_p4_paragraph} -`;w.p.attrs({type:"p_p4_paragraph_medium"})` - ${ae}; - ${Ae.p_p4_paragraph_medium} -`;w.p.attrs({type:"p_p4_paragraph_semibold"})` - ${ae}; - ${Ae.p_p4_paragraph_semibold} -`;w.p.attrs({type:"label1"})` - ${ae}; - ${ur.label1} -`;w.p.attrs({type:"label1medium"})` - ${ae}; - ${ur.label1_medium} -`;w.p.attrs({type:"label1semibold"})` - ${ae}; - ${ur.label1_semibold} -`;w.p.attrs({type:"label2"})` - ${ae}; - ${ur.label2} -`;w.p.attrs({type:"monospace"})` - ${ae}; - ${ur.monospace} -`;w.p.attrs({type:"monospace_medium"})` - ${ae}; - ${ur.monospace_medium} -`;w.p.attrs({type:"monospace_semibold"})` - ${ae}; - ${ur.monospace_semibold} -`;w.p.attrs({type:"shortcode"})` - ${ae}; - ${ur.shortcode} -`;const be=E` - margin: 0; - padding: 0; -`,aC=E` - font-size: 14px; - font-weight: 500; - font-family: ${e=>e.theme.fonts.headingPrimary}; - line-height: 110%; -`,sC=E` - font-size: 12px; - font-weight: 500; - font-family: ${e=>e.theme.fonts.headingPrimary}; - line-height: 110%; -`,lC=E` - font-size: 12px; - font-weight: normal; - font-family: ${e=>e.theme.fonts.headingPrimary}; - line-height: 110%; -`,cC=E` - font-size: 11px; - font-weight: 500; - font-family: ${e=>e.theme.fonts.headingPrimary}; - line-height: 110%; -`,uC=E` - font-size: 11px; - font-weight: normal; - font-family: ${e=>e.theme.fonts.headingPrimary}; - line-height: 110%; -`,fC=E` - font-size: 10px; - font-weight: 500; - font-family: ${e=>e.theme.fonts.headingPrimary}; - line-height: 110%; -`,dC=E` - font-size: 9px; - font-weight: 500; - font-family: ${e=>e.theme.fonts.headingPrimary}; - line-height: 110%; -`,pC=E` - font-size: 11px; - font-weight: 600; - font-family: ${e=>e.theme.fonts.headingPrimary}; - line-height: 150%; -`,hC=E` - font-size: 11px; - font-weight: 600; - font-family: ${e=>e.theme.fonts.inter}; - line-height: 150%; -`,vC=E` - font-size: 14px; - font-weight: 500; - font-family: ${e=>e.theme.fonts.inter}; - line-height: 100%; -`,mC=E` - font-size: 16px; - font-weight: 600; - font-family: ${e=>e.theme.fonts.inter}; - line-height: 112%; -`,gC=E` - font-size: 16px; - font-weight: 500; - font-family: ${e=>e.theme.fonts.headingPrimary}; - line-height: 120%; -`,nt={h0:aC,h1:sC,h2:lC,h3:cC,h4:uC,h5:fC,h6:dC,h7:pC,h8:hC,h9:vC,h10:mC,h11:gC},yC=E` - font-size: 12px; - font-weight: normal; - font-family: ${e=>e.theme.fonts.primary}; - line-height: 150%; -`,bC=E` - font-size: 12px; - font-weight: 500; - font-family: ${e=>e.theme.fonts.primary}; - line-height: 150%; -`,xC=E` - font-size: 12px; - font-weight: 600; - font-family: ${e=>e.theme.fonts.primary}; - line-height: 150%; -`,wC=E` - font-size: 12px; - font-weight: bold; - font-family: ${e=>e.theme.fonts.primary}; - line-height: 150%; -`,$C=E` - font-size: 11px; - font-weight: normal; - font-family: ${e=>e.theme.fonts.primary}; - line-height: 150%; -`,EC=E` - font-size: 11px; - font-weight: 500; - font-family: ${e=>e.theme.fonts.primary}; - line-height: 150%; -`,SC=E` - font-size: 11px; - font-weight: 600; - font-family: ${e=>e.theme.fonts.primary}; - line-height: 150%; -`,CC=E` - font-size: 10px; - font-weight: 500; - font-family: ${e=>e.theme.fonts.primary}; - line-height: 150%; -`,OC=E` - font-size: 10px; - font-weight: bold; - font-family: ${e=>e.theme.fonts.primary}; - line-height: 150%; -`,TC=E` - font-size: 9px; - font-weight: 600; - font-family: ${e=>e.theme.fonts.primary}; - line-height: 150%; -`,kC=E` - font-size: 9px; - font-weight: 500; - font-family: ${e=>e.theme.fonts.primary}; - line-height: 150%; -`,AC=E` - font-size: 9px; - font-weight: normal; - font-family: ${e=>e.theme.fonts.monospace}; - line-height: 150%; -`,PC=E` - font-size: 11px; - font-weight: normal; - font-family: ${e=>e.theme.fonts.monospace}; - line-height: 150%; -`,zC=E` - font-size: 9px; - font-weight: 600; - font-family: ${e=>e.theme.fonts.monospace}; - line-height: 150%; -`,_C=E` - font-size: 10px; - font-weight: 400; - font-family: ${e=>e.theme.fonts.primary}; - line-height: 150%; -`,IC=E` - font-size: 12px; - font-weight: 500; - font-family: ${e=>e.theme.fonts.inter}; - line-height: 150%; -`,RC=E` - font-size: 13px; - font-weight: 600; - font-family: ${e=>e.theme.fonts.inter}; - line-height: 100%; -`,LC=E` - font-size: 11px; - font-weight: 500; - font-family: ${e=>e.theme.fonts.primary}; - line-height: 120%; -`,Be={p1:yC,p2:bC,p3:xC,p4:wC,p5:$C,p6:EC,p7:SC,p8:CC,p9:OC,p10:TC,p11:kC,p12:AC,p13:PC,p14:zC,p15:_C,p16:IC,p17:RC,p18:LC},eV=w.h1.attrs({type:"h0"})` - ${be}; - ${nt.h0} -`,tV=w.h1.attrs({type:"h1"})` - ${be}; - ${nt.h1} -`,rV=w.h2.attrs({type:"h2"})` - ${be}; - ${nt.h2} -`,nV=w.h3.attrs({type:"h3"})` - ${be}; - ${nt.h3} -`,oV=w.h4.attrs({type:"h4"})` - ${be}; - ${nt.h4} -`,iV=w.h5.attrs({type:"h5"})` - ${be}; - ${nt.h5} -`,aV=w.h6.attrs({type:"h6"})` - ${be}; - ${nt.h6} -`,sV=w.h6.attrs({type:"h7"})` - ${be}; - ${nt.h7} -`,lV=w.h6.attrs({type:"h8"})` - ${be}; - ${nt.h8} -`,cV=w.h1.attrs({type:"h9"})` - ${be}; - ${nt.h9} -`,uV=w.h1.attrs({type:"h10"})` - ${be}; - ${nt.h10} -`,fV=w.h1.attrs({type:"h11"})` - ${be}; - ${nt.h11} -`,dV=w.p.attrs({type:"p1"})` - ${be}; - ${Be.p1} -`,pV=w.p.attrs({type:"p2"})` - ${be}; - ${Be.p2} -`,hV=w.p.attrs({type:"p3"})` - ${be}; - ${Be.p3} -`,vV=w.p.attrs({type:"p4"})` - ${be}; - ${Be.p4} -`,mV=w.p.attrs({type:"p5"})` - ${be}; - ${Be.p5} -`,gV=w.p.attrs({type:"p6"})` - ${be}; - ${Be.p6} -`,yV=w.p.attrs({type:"p7"})` - ${be}; - ${Be.p7} -`,bV=w.p.attrs({type:"p8"})` - ${be}; - ${Be.p8} -`,xV=w.p.attrs({type:"p9"})` - ${be}; - ${Be.p9} -`,wV=w.p.attrs({type:"p10"})` - ${be}; - ${Be.p10} -`,$V=w.p.attrs({type:"p11"})` - ${be}; - ${Be.p11} -`;w.p.attrs({type:"p12"})` - ${be}; - ${Be.p12} -`;w.p.attrs({type:"p13"})` - ${be}; - ${Be.p13} -`;w.code` - ${be}; - ${Be.p13} -`;w.code` - ${be}; - ${Be.p14} -`;w.code` - ${be}; - ${Be.p15} -`;w.p.attrs({type:"p16"})` - ${be}; - ${Be.p16} -`;w.p.attrs({type:"p17"})` - ${be}; - ${Be.p17} -`;w.p.attrs({type:"p18"})` - ${be}; - ${Be.p18} -`;const FC={...nt,...Be},Cf={...lt,...Ae,...ur},DC=["h0","h1","h2","h3","h4","h5","h6"],ve=w("span").attrs(e=>{const t=DC.find(r=>{var n;return((n=e.type)!==null&&n!==void 0?n:[]).includes(r)});return{as:t=="h0"?"h1":t??void 0}})` - ${ae}; - color: ${e=>{var t;return(t=e.theme.colors[e.themeColor])!==null&&t!==void 0?t:"inherit"}}; - flex: ${e=>e.flex?e.flex:void 0}; - ${e=>e.$fill?E` - flex-grow: 1; - `:E` - max-width: max-content; - `} - ${e=>e.overflow?E` - width: 100%; - overflow: hidden; - white-space: nowrap; - text-overflow: ${e.overflow}; - `:void 0} - - ${e=>FC[e.type]||Cf[e.type]} - ${e=>e.font&&E` - font-family: ${e.font}; - `}; - ${e=>e.transform&&E` - text-transform: ${e.transform}; - `} - - ${e=>e.textAlign&&E` - text-align: ${e.textAlign}; - `}; -`,Zr={...nt,...lt},Ne={...Be,...Ae};var Ft=Symbol("@ts-pattern/matcher"),La="@ts-pattern/anonymous-select-key",ou=function(e){return!!(e&&typeof e=="object")},ca=function(e){return e&&!!e[Ft]},tn=function e(t,r,n){if(ou(t)){if(ca(t)){var o=t[Ft]().match(r),i=o.matched,a=o.selections;return i&&a&&Object.keys(a).forEach(function(l){return n(l,a[l])}),i}if(!ou(r))return!1;if(Array.isArray(t))return!!Array.isArray(r)&&t.length===r.length&&t.every(function(l,c){return e(l,r[c],n)});if(t instanceof Map)return r instanceof Map&&Array.from(t.keys()).every(function(l){return e(t.get(l),r.get(l),n)});if(t instanceof Set){if(!(r instanceof Set))return!1;if(t.size===0)return r.size===0;if(t.size===1){var s=Array.from(t.values())[0];return ca(s)?Array.from(r.values()).every(function(l){return e(s,l,n)}):r.has(s)}return Array.from(t.values()).every(function(l){return r.has(l)})}return Object.keys(t).every(function(l){var c,u=t[l];return(l in r||ca(c=u)&&c[Ft]().matcherType==="optional")&&e(u,r[l],n)})}return Object.is(r,t)},Or=function e(t){var r,n,o;return ou(t)?ca(t)?(r=(n=(o=t[Ft]()).getSelectionKeys)==null?void 0:n.call(o))!=null?r:[]:Array.isArray(t)?Mo(t,e):Mo(Object.values(t),e):[]},Mo=function(e,t){return e.reduce(function(r,n){return r.concat(t(n))},[])};function Vp(e){var t;return(t={})[Ft]=function(){return{match:function(r){var n={},o=function(i,a){n[i]=a};return r===void 0?(Or(e).forEach(function(i){return o(i,void 0)}),{matched:!0,selections:n}):{matched:tn(e,r,o),selections:n}},getSelectionKeys:function(){return Or(e)},matcherType:"optional"}},t}function Wp(e){var t;return(t={})[Ft]=function(){return{match:function(r){if(!Array.isArray(r))return{matched:!1};var n={};if(r.length===0)return Or(e).forEach(function(i){n[i]=[]}),{matched:!0,selections:n};var o=function(i,a){n[i]=(n[i]||[]).concat([a])};return{matched:r.every(function(i){return tn(e,i,o)}),selections:n}},getSelectionKeys:function(){return Or(e)}}},t}function Up(){var e,t=[].slice.call(arguments);return(e={})[Ft]=function(){return{match:function(r){var n={},o=function(i,a){n[i]=a};return{matched:t.every(function(i){return tn(i,r,o)}),selections:n}},getSelectionKeys:function(){return Mo(t,Or)},matcherType:"and"}},e}function Hp(){var e,t=[].slice.call(arguments);return(e={})[Ft]=function(){return{match:function(r){var n={},o=function(i,a){n[i]=a};return Mo(t,Or).forEach(function(i){return o(i,void 0)}),{matched:t.some(function(i){return tn(i,r,o)}),selections:n}},getSelectionKeys:function(){return Mo(t,Or)},matcherType:"or"}},e}function Gp(e){var t;return(t={})[Ft]=function(){return{match:function(r){return{matched:!tn(e,r,function(){})}},getSelectionKeys:function(){return[]},matcherType:"not"}},t}function Xt(e){var t;return(t={})[Ft]=function(){return{match:function(r){return{matched:!!e(r)}}}},t}function qp(){var e,t=[].slice.call(arguments),r=typeof t[0]=="string"?t[0]:void 0,n=t.length===2?t[1]:typeof t[0]=="string"?void 0:t[0];return(e={})[Ft]=function(){return{match:function(o){var i,a=((i={})[r??La]=o,i);return{matched:n===void 0||tn(n,o,function(s,l){a[s]=l}),selections:a}},getSelectionKeys:function(){return[r??La].concat(n===void 0?[]:Or(n))}}},e}var sy=Xt(function(e){return!0}),MC=sy,jC=Xt(function(e){return typeof e=="string"}),NC=Xt(function(e){return typeof e=="number"}),BC=Xt(function(e){return typeof e=="boolean"}),VC=Xt(function(e){return typeof e=="bigint"}),WC=Xt(function(e){return typeof e=="symbol"}),UC=Xt(function(e){return e==null}),Yp={__proto__:null,optional:Vp,array:Wp,intersection:Up,union:Hp,not:Gp,when:Xt,select:qp,any:sy,_:MC,string:jC,number:NC,boolean:BC,bigint:VC,symbol:WC,nullish:UC,instanceOf:function(e){return Xt(function(t){return function(r){return r instanceof t}}(e))},typed:function(){return{array:Wp,optional:Vp,intersection:Up,union:Hp,not:Gp,select:qp,when:Xt}}};function pe(e){return new HC(e,[])}var HC=function(){function e(r,n){this.value=void 0,this.cases=void 0,this.value=r,this.cases=n}var t=e.prototype;return t.with=function(){var r=[].slice.call(arguments),n=r[r.length-1],o=[r[0]],i=[];return r.length===3&&typeof r[1]=="function"?(o.push(r[0]),i.push(r[1])):r.length>2&&o.push.apply(o,r.slice(1,r.length-1)),new e(this.value,this.cases.concat([{match:function(a){var s={},l=!!(o.some(function(c){return tn(c,a,function(u,d){s[u]=d})})&&i.every(function(c){return c(a)}));return{matched:l,value:l&&Object.keys(s).length?La in s?s[La]:s:a}},handler:n}]))},t.when=function(r,n){return new e(this.value,this.cases.concat([{match:function(o){return{matched:!!r(o),value:o}},handler:n}]))},t.otherwise=function(r){return new e(this.value,this.cases.concat([{match:function(n){return{matched:!0,value:n}},handler:r}])).run()},t.exhaustive=function(){return this.run()},t.run=function(){for(var r=this.value,n=void 0,o=0;o<this.cases.length;o++){var i=this.cases[o],a=i.match(this.value);if(a.matched){r=a.value,n=i.handler;break}}if(!n){var s;try{s=JSON.stringify(this.value)}catch{s=this.value}throw new Error("Pattern matching error: no pattern matches value "+s)}return n(r,this.value)},e}();const ot=w.span` - user-select: none; - flex: 0 1 auto; - ${Ne.p6}; - - ${e=>e.overflow?E` - width: 100%; - overflow: hidden; - white-space: nowrap; - text-overflow: ${e.overflow}; - `:void 0} -`,Jo=E` - position: relative; - transition: all 0.1s ease-in-out; - display: inline-flex; - border: none; - border-radius: 4px; - cursor: pointer; - padding: 4px 8px; - vertical-align: middle; - height: 24px; - max-height: 24px; - min-height: 24px; - min-width: 24px; - align-items: center; - gap: 7px; - - :disabled { - cursor: not-allowed; - } - - :focus { - outline-visible: 2px solid ${({theme:e})=>e.colors.cyan80}; - outline-offset: 1px; - } - - > * { - flex: 0; - } - - ${j} { - ${Ne.p6}; - flex: 0 0 auto; - } - - ${ot} { - flex: 0 1 auto; - text-overflow: ellipsis; - overflow: hidden; - white-space: nowrap; - } -`,Is=E` - min-height: 28px; - min-width: 28px; - padding: 6px 10px; - ${ot} { - ${Ne.p2}; - } - - ${j} { - ${Ne.p2} - } -`,GC=E` - min-height: 32px; - min-width: 28px; - padding: 4px 16px; - ${ot} { - ${Ne.p2}; - } - - ${j} { - ${Ne.p2} - } -`,Of=E` - height: 18px; - min-height: 18px; - min-width: 18px; - padding: 3px 8px; - ${ot} { - ${Ne.p11}; - } - - ${j} { - ${Ne.p11} - } -`,Rs=E` - height: 16px; - min-height: 16px; - max-height: 16px; - min-width: 28px; - justify-content: center; - padding: 1px 2px; - ${ot} { - ${Ne.p11}; - } - - ${j} { - ${Ne.p11}; - } -`,qC=E` - border-radius: 50%; - justify-content: center; - ${j} { - ${Ne.p1} - } -`,YC=E` - border-radius: 4px; - padding: 3px; - height: 20px; - min-height: 20px; - max-height: 20px; - width: 20px; - ${ot} { - ${Ne.p11}; - } - - ${j} { - ${Ne.p8} - } - - &:hover, - &:active, - &:focus { - ${j} { - color: inherit; - } - } -`,ly=E` - background-color: ${e=>e.theme.colors.cyan100}; - border: 1px solid ${e=>e.theme.colors.cyan100}; -`,XC=E` - background-color: ${e=>e.theme.colors.brandShade100}; - color: ${e=>e.theme.colors.white}; - border: 1px solid ${e=>e.theme.colors.brandShade100}; - - :hover { - background-color: ${e=>e.theme.colors.cyan100}; - border: 1px solid ${e=>e.theme.colors.cyan100}; - } - - :focus, - :active { - ${ly} - } - - :disabled { - border: 1px solid ${e=>e.theme.colors.grey20}; - background-color: ${e=>e.theme.colors.grey20}; - } -`,cy=E` - border-color: ${e=>e.theme.colors.brandShade100}; - background-color: ${e=>e.theme.colors.brandShade40}; -`,KC=E` - background-color: ${e=>e.theme.colors.white}; - border: 1px solid ${e=>e.theme.colors.grey20}; - color: ${e=>e.theme.colors.brandShade100}; - - :hover { - background-color: ${e=>e.theme.colors.brandShade20}; - border-color: ${e=>e.theme.colors.brandShade100}; - } - - :focus, - :active { - ${cy} - } - - :disabled { - color: ${e=>e.theme.colors.grey40}; - border-color: ${e=>e.theme.colors.grey20}; - background-color: ${e=>e.theme.colors.grey5}; - } -`,uy=E` - border-color: ${e=>e.theme.colors.brandShade100}; - background-color: ${e=>e.theme.colors.systemShade30}; - color: ${e=>e.theme.colors.brandShade100}; -`,ZC=E` - background-color: ${e=>e.theme.colors.systemShade10}; - border: 1px solid ${e=>e.theme.colors.systemShade40}; - color: ${e=>e.theme.colors.systemShade80}; - - :hover { - background-color: ${e=>e.theme.colors.brandShade20}; - border-color: ${e=>e.theme.colors.brandShade80}; - color: ${e=>e.theme.colors.systemShade80}; - } - - :focus, - :active { - ${uy} - } - - :disabled { - color: ${e=>e.theme.colors.systemShade40}; - border-color: ${e=>e.theme.colors.systemShade30}; - background-color: ${e=>e.theme.colors.systemShade10}; - } -`,iu=E` - background: none; - color: ${({theme:e})=>e.colors.grey20}; - border: none; - :active, - :hover, - :focus { - background: none; - color: ${({theme:e})=>e.colors.grey20}; - border: none; - cursor: not-allowed; - } -`,fy=E` - background: none; - color: ${({theme:e})=>e.colors.brandPrimary}; - border: none; - outline-visible: none; -`,dy=E` - background: none; - border: none; - border-radius: 0; - color: ${({theme:e})=>e.colors.grey80}; - padding-left: 2px; - padding-right: 2px; - ${Zr.h5}; - - :active, - :hover, - :focus { - ${fy} - } - - :disabled { - ${iu} - } -`,JC=E` - ${dy} - - border-bottom: 1px solid ${({theme:e})=>e.colors.grey40}; - - :disabled { - border-bottom: 1px solid ${({theme:e})=>e.colors.grey20}; - } - - :hover, - :active, - :focus { - border-bottom: 1px solid ${({theme:e})=>e.colors.brandPrimary}; - } -`,py=E` - color: ${e=>e.theme.colors.white}; - background-color: ${e=>e.theme.colors.cyan100}; - border: none; - &:hover { - color: ${e=>e.theme.colors.white}; - background-color: ${e=>e.theme.colors.cyan80}; - border: none; - } -`,QC=E` - padding: 0; - height: 22px; - min-height: 22px; - max-height: 22px; - min-width: 22px; - max-width: 22px; - width: 22px; - color: ${e=>e.theme.colors.grey80}; - background-color: transparent; - border: none; - border-radius: 4px; - :hover { - color: ${e=>e.theme.colors.brandShade100}; - background-color: ${e=>e.theme.colors.brandShade20}; - border: none; - } - :active { - &:hover { - color: ${e=>e.theme.colors.white}; - background-color: ${e=>e.theme.colors.cyan80}; - border: none; - } - } - :active, - :focus { - ${py} - } - :disabled { - background-color: ${e=>e.theme.colors.grey5}; - color: ${e=>e.theme.colors.grey80}; - border: none; - } - ${j} { - ${Zr.h0} - } -`,hy=E` - outline-visible: none; - background-color: ${e=>e.theme.colors.red100}; - border: 1px solid ${e=>e.theme.colors.red100}; -`,eO=E` - :hover { - background-color: ${e=>e.theme.colors.red100}; - border: 1px solid ${e=>e.theme.colors.red100}; - } - - :focus, - :active { - ${hy} - } -`,vy=E` - color: ${e=>e.theme.colors.red100}; - background-color: ${e=>e.theme.colors.red40}; - border: 1px solid ${e=>e.theme.colors.red100}; -`,tO=E` - :focus { - outline: none; - background-color: ${e=>e.theme.colors.white}; - border: 1px solid ${e=>e.theme.colors.grey20}; - } - - :active { - ${vy} - } - - :hover { - color: ${e=>e.theme.colors.red100}; - background-color: ${e=>e.theme.colors.red20}; - border: 1px solid ${e=>e.theme.colors.red100}; - } -`,rO=E` - border: 1px solid ${e=>e.theme.colors.grey20}; - background-color: ${e=>e.theme.colors.grey20}; - cursor: not-allowed; -`,nO=E` - color: ${e=>e.theme.colors.grey40}; - border-color: ${e=>e.theme.colors.grey20}; - background-color: ${e=>e.theme.colors.grey5}; - cursor: not-allowed; -`,oO=E` - color: ${e=>e.theme.colors.grey40}; - border-color: ${e=>e.theme.colors.grey20}; - background-color: ${e=>e.theme.colors.grey5}; - cursor: not-allowed; -`,Ls=E` - width: 100%; - & > * { - flex: 1; - } - - ${ot} { - width: 100%; - } -`;function Jn(e){switch(e.intent){case void 0:case"primary":return XC;case"secondary":return KC;case"tertiary":return ZC;case"minimal":return dy;case"minimalUnderline":return JC;case"minimalBlock":return QC}}function Fs(e){switch(e.intent){case void 0:case"primary":return eO;case"tertiary":case"secondary":return tO}}function Qo(e){if(e.danger)switch(e.intent){case void 0:case"primary":return hy;case"secondary":case"tertiary":return vy}switch(e.intent){case void 0:case"primary":return ly;case"secondary":return cy;case"tertiary":return uy;case"minimal":return fy;case"minimalBlock":return py}}const Fa=e=>{if(e.minimal)return iu;switch(e.intent){case void 0:case"primary":return rO;case"secondary":return nO;case"tertiary":return oO;case"minimal":case"minimalUnderline":return iu}},ei=w.div.attrs(le("ButtonLoader"))` - position: absolute; - display: flex; - align-items: center; - justify-content: center; - top: 0; - bottom: 0; - left: 0; - right: 0; - color: ${e=>e.theme.colors.brandPrimary}; - margin: 0 !important; - opacity: 0.8; -`,Ds=E` - &, - :hover, - :active, - :focus { - background-color: ${e=>e.theme.colors.grey10} !important; - color: transparent !important; - border-color: ${e=>e.theme.colors.grey10} !important; - } -`,iO=E` - position: relative; - transition: all 0.1s ease-in-out; - display: inline-flex; - flex-direction: column; - border: none; - border-radius: 4px; - cursor: pointer; - padding: 4px 8px; - vertical-align: middle; - height: 55px; - width: 90px; - overflow: hidden; - align-items: center; - justify-content: space-between; - - :disabled { - cursor: not-allowed; - } - - ${j} { - font-size: 20px; - flex: 1; - } - - ${ot} { - ${Ne.p8} - text-overflow: ellipsis; - overflow: hidden; - white-space: nowrap; - } -`,aO=E` - height: 50px; - width: 60px; - min-height: 50px; - min-width: 60px; -`,sO=E` - transition: color 0.2s ease-in-out, border-color 0.2s ease-in-out, - background-color 0.2s ease-in-out, fill 0.2s ease-in-out; - align-items: center; - background-color: ${e=>e.theme.colors.white}; - - cursor: pointer; - display: flex; - justify-content: center; - min-width: 25px; - height: 22px; - border-color: ${e=>e.theme.colors.grey40}; - border-style: solid; - color: ${e=>e.theme.colors.grey80}; - - &:hover { - color: ${e=>e.theme.colors.brandShade100}; - background-color: ${e=>e.theme.colors.brandShade10}; - border-color: ${e=>e.theme.colors.brandShade100}; - - ${j} { - color: ${e=>e.theme.colors.brandShade100}; - } - } - - &:active { - color: ${e=>e.theme.colors.brandShade100}; - border-color: ${e=>e.theme.colors.brandShade100}; - background-color: ${e=>e.theme.colors.brandShade40}; - - ${j} { - color: ${e=>e.theme.colors.brandShade100}; - } - } - - & > :not(:last-child) { - margin-right: 7px; - } -`,lO=E` - border-bottom-left-radius: 5px; - border-bottom-width: 1px; - border-left-width: 1px; - - border-top: 0; - border-right: 0; - top: 0; - right: 0; -`,cO=E` - border-top-left-radius: 5px; - border-top-width: 1px; - border-left-width: 1px; - border-bottom: 0; - border-right: 0; - bottom: 0; - right: 0; -`,uO=E` - border-bottom-right-radius: 5px; - border-bottom-width: 1px; - border-right-width: 1px; - border-left: 0; - border-top: 0; - top: 0; - left: 0; -`,fO=E` - border-top-right-radius: 5px; - border-top-width: 1px; - border-right-width: 1px; - border-left: 0; - border-bottom: 0; - top: 0; - left: 0; -`,dO=E` - border-radius: 5px; - border-width: 1px; - bottom: 10px; - left: 50%; - transform: translateX(-50%); - white-space: nowrap; -`,pO=E` - border-radius: 5px; - border-width: 1px; - top: 10px; - left: 50%; - transform: translateX(-50%); - white-space: nowrap; -`,hO=E` - min-width: 18px; - width: 18px; - ${j} { - width: 12px; - height: 12px; - } -`,Sn=w(j)``;function kr({size:e="large",color:t}){const{colors:r}=Kn(),n=pe(e).with("extra-small",()=>8).with("small",()=>16).with("medium",()=>30).with("large",()=>40).with("extra-large",()=>60).exhaustive();return f.createElement(vO,{size:n,color:typeof t=="string"?r[t]:r.cyan100,role:"alert","aria-live":"assertive",...le("Spinner")})}const vO=w.span` - background: transparent !important; - width: ${({size:e})=>e}px; - height: ${({size:e})=>e}px; - border-radius: 100%; - border: 2px solid; - border-color: ${({color:e})=>e}; - border-bottom-color: transparent; - display: inline-block; - animation: rotate 0.75s 0s infinite linear; - animation-fill-mode: both; - - @keyframes rotate { - 0% { - transform: rotate(0deg); - } - 50% { - transform: rotate(180deg); - } - 100% { - transform: rotate(360deg); - } - } -`,$e=(...[e,t])=>r=>{const n=typeof e=="function"?e(r)||t:typeof e=="string"?e:t;if(n)return r.theme.colors[n]},my=3.5,gy=2,mO=w.div` - position: absolute; - display: flex; - align-items: center; - left: ${({index:e,size:t})=>{const r=t+gy*2;return(r-r/my)*e}}px; - z-index: ${({index:e,length:t})=>t-e}; - background-color: ${({theme:e})=>e.colors.white}; - background-clip: content-box; - overflow: unset; - border: 2px solid - ${({theme:e,overlapBackgroundColor:t})=>t?e.colors[t]:e.colors.white}; - border-radius: 50%; - padding: 0; - margin: 0; -`,yy=w.div` - display: flex; - align-items: center; - height: ${({size:e})=>e}px; - color: ${({theme:e})=>e.colors.grey80}; - padding: ${({overflowPadding:e})=>e??"0 6px 0 0"}; -`,Ye=(...e)=>E` - background: ${$e(...e)}; - ${mO} { - border-color: ${$e(...e)}; - } -`,Xp=({round:e})=>pe(e).with(!0,()=>E` - border-radius: 20px; - `).with("left",()=>E` - border-radius: 0; - border-top-left-radius: 20px; - border-bottom-left-radius: 20px; - `).with("right",()=>E` - border-radius: 0; - border-top-right-radius: 20px; - border-bottom-right-radius: 20px; - `).otherwise(()=>""),gO=E` - ${Ye(e=>e.backgroundColor,"systemShade20")}; - :hover, - &.pseudo-hover { - ${Ye(e=>e.backgroundColor&&"brandShade10","systemShade30")}; - } - :focus, - &.pseudo-focus { - ${Ye(e=>e.backgroundColor&&"brandShade20","systemShade30")}; - } - :active, - &.pseudo-active, - :focus-visible, - &.pseudo-focus-visible { - ${Ye("brandShade20")}; - } - ${({active:e})=>e&&E` - ${Ye("brandShade20")}; - `} - :disabled,.pseudo-disabled { - ${Ye("systemShade10")}; - } -`,yO=E` - ${Ye(e=>e.backgroundColor,"systemShade10")}; - :hover, - &.pseudo-hover, - :focus-visible, - &.pseudo-focus-visible { - ${Ye("brandShade20")}; - } - :focus, - &.pseudo-focus, - :active, - &.pseudo-active { - ${Ye("systemShade30")}; - } - ${({active:e})=>e&&E` - ${Ye("systemShade30")}; - `} - :disabled,.pseudo-disabled { - ${Ye("systemShade10")}; - } -`,bO=E` - ${Ye(e=>e.backgroundColor,"white")}; - color: ${$e("grey100")}; - :hover, - &.pseudo-hover { - color: ${$e("grey_black100")}; - ${Ye("brandShade20")}; - } - :focus, - &.pseudo-focus { - color: ${$e("grey_black100")}; - ${Ye("systemShade30")}; - } - :active, - &.pseudo-active { - ${Ye("systemShade40")}; - ${yy} { - color: ${$e("grey100")}; - } - } - ${({active:e})=>e&&E` - color: ${$e("grey_black100")}; - ${Ye("systemShade40")}; - `} - :disabled,.pseudo-disabled { - color: ${$e("grey80")}; - ${Ye("grey5")}; - } - :focus-visible, - &.pseudo-focus-visible { - color: ${$e("grey_black100")}; - ${Ye("systemShade20")}; - } -`,xO=E` - background: none; - box-shadow: none; - color: ${$e("grey100")}; - min-width: 0; - :hover, - &.pseudo-hover { - color: ${$e("grey_black100")}; - background: none; - } - :focus, - &.pseudo-focus { - color: ${$e("grey_black100")}; - background: none; - } - :active, - &.pseudo-active { - background: none; - ${yy} { - color: ${$e("grey100")}; - } - } - ${({active:e})=>e&&E` - color: ${$e("grey_black100")}; - background: none; - `} - :disabled,.pseudo-disabled { - color: ${$e("grey80")}; - background: none; - :active, - :hover, - :focus { - color: ${({theme:e})=>e.colors.grey80}; - } - } - :focus-visible, - &.pseudo-focus-visible { - color: ${$e("grey_black100")}; - background: none; - } -`,Oi=({withBorder:e,borderColor:t})=>e||t?1:0,wO=E` - gap: 4px; - padding: 4px 7px; - border: ${$e(e=>e.borderColor,"brandShade100")} ${Oi}px solid !important; - border-radius: ${({padded:e})=>e?"6px":"3px"}; - - ${({padded:e})=>e&&E` - height: 30px; - min-height: 30px; - max-height: 30px; - `} - - ${Xp} - box-shadow: ${({withoutShadow:e})=>e?"none":"0px 1px 3px rgba(0, 0, 0, 0.1), 0px 1px 2px rgba(0, 0, 0, 0.06)"}; - color: ${$e("grey_black100")}; - ${Sn} { - color: ${$e(e=>e.borderColor,"grey_black100")}; - } - :hover, - &.pseudo-hover, - :focus, - &.pseudo-focus, - :active, - &.pseudo-active, - :focus-visible, - &.pseudo-focus-visible { - border: ${$e("brandShade100")} ${Oi}px solid !important; - color: ${$e(e=>e.backgroundColor&&"brandShade100","grey_black100")}; - ${Sn} { - color: ${$e(e=>e.backgroundColor&&"brandShade100","grey_black100")}; - } - } - :focus-visible, - &.pseudo-focus-visible, - :focus, - &.pseudo-focus { - box-shadow: none; - } - ${({active:e})=>e&&E` - color: ${$e(t=>t.backgroundColor&&"brandShade100","grey_black100")}; - border: ${$e("brandShade100")} ${Oi}px solid !important; - ${Sn} { - color: ${$e(t=>t.backgroundColor&&"brandShade100","grey_black100")}; - } - `} - :disabled,.pseudo-disabled { - color: ${$e("systemShade40")}; - border: ${$e("systemShade40")} ${Oi}px solid !important; - ${Sn} { - color: ${$e("systemShade40")}; - } - } - outline: none; - // using ::before instead of outline as outline does not have border-radius on safari - :focus-visible::before, - &.pseudo-focus-visible::before { - content: ""; - position: absolute; - top: -4px; - right: -4px; - bottom: -4px; - left: -4px; - border: 2px solid ${$e("cyan90")}; - border-radius: ${({padded:e})=>e?"10px":"6px"}; - ${Xp} - } - ${({icon:e,text:t,rightIcon:r})=>!!e&&!t&&!r&&E` - justify-content: center; - padding: 0; - width: 24px; - `} - ${e=>pe(e).with({intent:"secondary"},()=>yO).with({intent:"tertiary"},()=>bO).with({intent:"minimal"},()=>xO).otherwise(()=>gO)} - ${ot} { - ${Ne.p_p4_paragraph_medium} - } -`,by=w(f.forwardRef(function({text:t,icon:r,rightIcon:n,minimal:o,noMinimalUnderline:i,loading:a,disabled:s,danger:l,fill:c,active:u,alignText:d,type:p="button",borderColor:v,backgroundColor:h,round:m,padded:y,withoutShadow:x,withBorder:b,quickAction:$,...g},C){var S;return f.createElement("button",{type:p,...le("Button"),ref:C,disabled:s||a,"data-size":(S=g==null?void 0:g.size)!==null&&S!==void 0?S:"normal",...g},a&&f.createElement(ei,null,f.createElement(kr,{size:"small"})),Te(r)?f.createElement(Sn,{icon:r,size:$?12:void 0}):ke(r)?f.createElement(Sn,{...r,size:$?12:void 0}):r,t&&f.createElement(ot,null,t),Te(n)?f.createElement(j,{icon:n}):ke(n)?f.createElement(j,{...n}):n)}))` - text-align: ${e=>{var t;return(t=e.alignText)!==null&&t!==void 0?t:"left"}}; - ${Jo} - ${e=>e.size==="xlarge"&&GC} - ${e=>e.size==="large"&&Is} - ${e=>e.size==="small"&&Of} - ${e=>e.size==="tiny"&&Rs} - - ${e=>{const t=dt(e);return Jn({intent:t})}} - ${e=>{const t=dt(e);return e.danger&&Fs({intent:t})}} - ${e=>{const t=dt(e);return e.active&&Qo({intent:t,danger:e.danger})}} - ${e=>e.loading&&Ds}; - ${e=>e.fill&&Ls} - ${e=>e.quickAction&&wO} -`,rn=w(f.forwardRef(function({icon:t,rightIcon:r,minimal:n,active:o,danger:i,loading:a,themeColor:s,noMinimalUnderline:l,iconSubsection:c,type:u="button",disabled:d,...p},v){let h=p["aria-label"];if(!h){const m=ke(t)?t.icon:t;h=Ef(m)?m:Sf(m)?m.iconName:void 0}return f.createElement("button",{"data-testid":"dp-icon-button",...le("IconButton"),ref:v,type:u,...p,"aria-label":h,disabled:d||a},a?f.createElement(ei,null,f.createElement(kr,{size:"small"})):Te(t)?f.createElement(j,{themeColor:s,icon:t}):ke(t)?f.createElement(j,{themeColor:s,...t}):t)}))` - height: 28px; - max-height: 28px; - width: 28px; - ${Jo} - ${qC} - ${e=>e.size==="small"&&YC} - ${e=>e.size==="tiny"&&Rs} - ${e=>e.size==="large"&&Is} - ${e=>{const t=dt(e);return Jn({intent:t==="minimalUnderline"?"minimal":t})}} - ${e=>{const t=dt(e);return e.danger&&Fs({intent:t})}} - ${e=>{const t=dt(e);return e.active&&Qo({intent:t})}} - ${e=>e.loading&&Ds}; - ${e=>e.iconSubsection&&hO}; -`;w(f.forwardRef(function({avatarSize:t,type:r="button",...n},o){return f.createElement(rn,{ref:o,type:r,...n})}))` - width: ${({avatarSize:e})=>e+4}px; - height: ${({avatarSize:e})=>e+4}px; - max-height: ${({avatarSize:e})=>e+4}px; - min-height: ${({avatarSize:e})=>e+4}px; - max-width: ${({avatarSize:e})=>e+4}px; - min-width: ${({avatarSize:e})=>e+4}px; - border: 2px solid ${({theme:e})=>e.colors.white}; - border-radius: 50%; - position: relative; - :hover { - border: 2px solid ${({theme:e})=>e.colors.brandShade60}; - } - - ${({active:e,theme:t})=>e&&E` - border: 2px solid ${t.colors.cyan100}; - `}; - - :active, - :focus { - border: 2px solid ${({theme:e})=>e.colors.cyan100}; - } - - ${({disabled:e})=>e?"cursor: not-allowed;":""} - :disabled { - cursor: not-allowed; - } - - > div { - flex: 1; - max-height: ${({avatarSize:e})=>e}px; - min-height: ${({avatarSize:e})=>e}px; - max-width: ${({avatarSize:e})=>e}px; - min-width: ${({avatarSize:e})=>e}px; - } - & > :not(:last-child) { - margin-right: 0; - } -`;w(rn)` - max-height: initial; - min-height: initial; - max-width: initial; - min-width: initial; - width: auto; - height: auto; -`;const $O=w(f.forwardRef(function({icon:t,rightIcon:r,text:n,loading:o,fill:i,active:a,danger:s,href:l,onClick:c,disabled:u,alignText:d,...p},v){return f.createElement("a",{...le("AnchorButton"),ref:v,href:u?void 0:l,onClick:h=>{!u&&(c==null||c(h))},...p},o&&f.createElement(ei,null,f.createElement(kr,{size:"small"})),Te(t)?f.createElement(j,{icon:t}):ke(t)?f.createElement(j,{...t}):t,n&&f.createElement(ot,null,n),Te(r)?f.createElement(j,{icon:r}):ke(r)?f.createElement(j,{...r}):r)}))` - text-align: ${e=>{var t;return(t=e.alignText)!==null&&t!==void 0?t:"left"}}; - text-decoration: none; - ${Jo} - ${e=>e.size==="large"&&Is} - ${e=>e.size==="small"&&Of} - ${e=>e.size==="tiny"&&Rs} - ${e=>{const t=dt(e);return Jn({intent:t})}} - ${e=>{const t=dt(e);return e.danger&&Fs({intent:t})}} - ${e=>{const t=dt(e);return e.active&&Qo({intent:t})}} - ${e=>e.disabled&&Fa(e)}; - :active, - :focus, - :hover { - ${e=>e.disabled&&Fa(e)}; - } - ${e=>e.fill&&Ls} - ${e=>e.loading&&Ds}; -`;w(f.forwardRef(function({children:t,icon:r,rightIcon:n,fill:o,text:i,loading:a,active:s,danger:l,minimal:c,noMinimalUnderline:u,disabled:d,alignText:p,onClick:v,...h},m){return f.createElement("label",{...le("LabelButton"),ref:m,onClick:y=>{d?y.preventDefault():v==null||v(y)},...h},a&&f.createElement(ei,null,f.createElement(kr,{size:"small"})),t,Te(r)?f.createElement(j,{icon:r}):ke(r)?f.createElement(j,{...r}):r,i&&f.createElement(ot,null,i),Te(n)?f.createElement(j,{icon:n}):ke(n)?f.createElement(j,{...n}):n)}))` - text-align: ${e=>{var t;return(t=e.alignText)!==null&&t!==void 0?t:"left"}}; - ${Jo} - ${e=>e.size==="large"&&Is} - ${e=>e.size==="small"&&Of} - ${e=>e.size==="tiny"&&Rs} - ${e=>{const t=dt(e);return Jn({intent:t})}} - ${e=>{const t=dt(e);return e.danger&&Fs({intent:t})}} - ${e=>{const t=dt(e);return e.active&&Qo({intent:t})}} - ${e=>e.disabled&&Fa(e)}; - :active, - :focus, - :hover { - ${e=>e.disabled&&Fa(e)}; - } - ${e=>e.fill&&Ls} - ${e=>e.loading&&Ds}; -`;w.input.attrs({type:"file"})` - width: 0; - height: 0; - opacity: 0; - overflow: hidden; - position: absolute; - z-index: -1; -`;w(f.forwardRef(function({text:t,type:r="button",icon:n,active:o,alignText:i,reverse:a=!1,...s},l){return f.createElement("button",{type:r,ref:l,...le("NavButton"),...s},a&&f.createElement(f.Fragment,null,t&&f.createElement(ot,{overflow:"ellipsis"},t),Te(n)?f.createElement(j,{icon:n}):ke(n)?f.createElement(j,{...n}):n),!a&&f.createElement(f.Fragment,null,Te(n)?f.createElement(j,{icon:n}):ke(n)?f.createElement(j,{...n}):n,t&&f.createElement(ot,{overflow:"ellipsis"},t)))}))` - ${iO} - ${e=>{const t=dt(e);return Jn({intent:t})}} - ${e=>e.size==="small"&&aO} - ${e=>{const t=dt(e);return e.active&&Qo({intent:t})}} -`;const EO=w(f.forwardRef(function({icon:t,active:r,danger:n,loading:o,text:i,type:a="button",alignText:s,placement:l,rightIcon:c,...u},d){return f.createElement("button",{type:a,...le("OverlayButton"),ref:d,...u},o&&f.createElement(ei,null,f.createElement(kr,{size:"small"})),Te(t)?f.createElement(j,{icon:t,size:10}):ke(t)?f.createElement(j,{size:10,...t}):t,i&&f.createElement(ot,null,i),Te(c)?f.createElement(j,{icon:c,size:10}):ke(c)?f.createElement(j,{size:10,...c}):c)}))` - text-align: ${e=>{var t;return(t=e.alignText)!==null&&t!==void 0?t:"left"}}; - ${sO} - ${e=>{var t;return pe((t=e.placement)!==null&&t!==void 0?t:"right-top").with("right-top",()=>lO).with("right-bottom",()=>cO).with("left-top",()=>uO).with("left-bottom",()=>fO).with("middle-bottom",()=>dO).with("middle-top",()=>pO).exhaustive()}} - - position: ${({position:e})=>e||"absolute"}; -`,dt=({minimal:e,noMinimalUnderline:t,intent:r})=>{const n=e?t?"minimal":"minimalUnderline":r;return n??"primary"},SO=e=>pe(e).with({size:"xlarge"},()=>"6px 12px").with({size:"large"},()=>"5px 10px").with({size:"small"},()=>"4px 5px").with({size:"tiny"},()=>"4px 3px").otherwise(()=>"5px 6px"),xy=({theme:e,...t})=>pe(t).with({selected:!0,intent:"tertiary"},()=>e.colors.grey100).with({selected:!0,intent:"secondary"},()=>e.colors.brandShade10).with({selected:!0},()=>e.colors.cyan100).with({intent:"tertiary"},()=>e.colors.dark100).with({intent:"secondary"},()=>e.colors.systemShade30).otherwise(()=>e.colors.grey100),CO=({theme:e,...t})=>pe(t).with({intent:"tertiary"},()=>e.colors.dark40).with({intent:"secondary"},()=>e.colors.systemShade20).otherwise(()=>e.colors.grey80),Kp=({theme:e,...t})=>pe(t).with({size:"xlarge"},()=>"26px").with({size:"small"},{size:"tiny"},()=>"22px").otherwise(()=>"24px"),OO=({theme:e,...t})=>pe(t).with({intent:"tertiary",selected:!0},()=>e.colors.white).with({intent:"secondary",selected:!0},()=>e.colors.brandShade100).with({intent:"tertiary"},()=>e.colors.grey40).with({intent:"secondary"},()=>e.colors.systemShade80).otherwise(()=>e.colors.white),TO=w.button` - text-align: ${e=>{var t;return(t=e.alignText)!==null&&t!==void 0?t:"left"}}; - ${Jo} - ${Jn} - ${e=>e.fill&&Ls} - border-radius: 3px; - border: none; - height: unset; - padding: ${SO}; - height: ${Kp}; - max-height: ${Kp}; - color: ${OO}; - width: 100%; - &, - &:focus { - background: ${xy}; - } - - &:hover, - &:focus-visible, - &:focus { - border: none; - outline: none; - background: ${CO}; - ${({theme:e,intent:t})=>t==="tertiary"&&E` - color: ${e.colors.white}; - `} - } -`,kO=w.div.withConfig({shouldForwardProp:e=>!["fill"].includes(e)})` - border-radius: ${({side:e})=>pe(e).with("left",()=>"6px 0 0 6px").with("right",()=>"0 6px 6px 0").otherwise(()=>0)}; - padding: 3px; - width: 100%; - ${e=>e.fill&&E` - background: ${xy(e)}; - `}; -`,AO=({icon:e,text:t,fill:r,...n},o)=>f.createElement(kO,{fill:r,side:n.side,intent:n.intent},f.createElement(TO,{ref:o,...n},Te(e)?f.createElement(j,{icon:e}):ke(e)?f.createElement(j,{...e}):e,t&&f.createElement(ot,{style:{fontFamily:"Inter",fontSize:11}},t)));f.forwardRef(AO);const PO=["B","kB","MB","GB","TB","PB","EB","ZB","YB"],zO=["B","KiB","MiB","GiB","TiB","PiB","EiB","ZiB","YiB"],_O=["b","kbit","Mbit","Gbit","Tbit","Pbit","Ebit","Zbit","Ybit"],IO=["b","kibit","Mibit","Gibit","Tibit","Pibit","Eibit","Zibit","Yibit"],Zp=(e,t,r)=>{let n=e;return typeof t=="string"||Array.isArray(t)?n=e.toLocaleString(t,r):(t===!0||r!==void 0)&&(n=e.toLocaleString(void 0,r)),n};function RO(e,t){if(!Number.isFinite(e))throw new TypeError(`Expected a finite number, got ${typeof e}: ${e}`);t={bits:!1,binary:!1,space:!0,...t};const r=t.bits?t.binary?IO:_O:t.binary?zO:PO,n=t.space?" ":"";if(t.signed&&e===0)return` 0${n}${r[0]}`;const o=e<0,i=o?"-":t.signed?"+":"";o&&(e=-e);let a;if(t.minimumFractionDigits!==void 0&&(a={minimumFractionDigits:t.minimumFractionDigits}),t.maximumFractionDigits!==void 0&&(a={maximumFractionDigits:t.maximumFractionDigits,...a}),e<1){const u=Zp(e,t.locale,a);return i+u+n+r[0]}const s=Math.min(Math.floor(t.binary?Math.log(e)/Math.log(1024):Math.log10(e)/3),r.length-1);e/=(t.binary?1024:1e3)**s,a||(e=e.toPrecision(3));const l=Zp(Number(e),t.locale,a),c=r[s];return i+l+n+c}const LO=e=>{switch(e){case"start":return"flex-start";case"end":return"flex-end"}return e||"flex-start"},FO=e=>{switch(e){case"start":return"flex-start";case"end":return"flex-end"}return e||"flex-start"},br=e=>typeof e=="number"?e+"px":e,Da=e=>e===!0?1:e===!1?0:e||0,DO=e=>e==="reverse"?"wrap-reverse":e||"nowrap",Qn=w.div` - margin: 0; - padding: 0; - border: 0; - box-sizing: border-box; - outline: none; - list-style: none; - - ${e=>e.flex&&` - flex: ${e.flex}; - `} - ${e=>e.justifySelf&&` - justify-self: ${e.justifySelf}; - `} - - ${e=>e.alignSelf&&` - align-self: ${e.alignSelf}; - `} - - ${e=>e.grow&&` - flex-grow: ${Da(e.grow)}; - `} - ${e=>e.basis&&` - flex-basis: ${e.basis}; - `} - ${e=>e.shrink!==void 0&&` - flex-shrink: ${Da(e.shrink)}; - `} - ${e=>e.padding&&` - padding: ${br(e.padding)}; - `} - ${e=>e.gap&&` - margin: ${br(e.gap)}; - `} - ${e=>e.fixedHeight&&` - height: ${br(e.fixedHeight)}; - `} - ${e=>e.basis!==void 0&&` - flex-basis: ${e.basis}; - `} -`,he=w.div` - margin: 0; - padding: 0; - border: 0; - border-bottom: ${e=>e.borderBottom?`1px solid ${e.theme.colors.grey20}`:0}; - box-sizing: border-box; - outline: none; - list-style: none; - flex-direction: ${e=>e.vertical?e.reverse?"column-reverse":"column":e.reverse?"row-reverse":"row"}; - display: ${e=>e.inline?"inline-flex":"flex"}; - flex-wrap: ${e=>DO(e.wrap)}; - justify-content: ${e=>LO(e.justify)}; - align-items: ${e=>FO(e.align)}; - ${e=>e.maxWidth!==void 0&&` - max-width: ${br(e.maxWidth)}; - `} - ${e=>e.maxHeight!==void 0&&` - max-height: ${br(e.maxHeight)}; - `} - ${e=>e.padding!==void 0&&` - padding: ${br(e.padding)}; - `} - ${e=>e.grow!==void 0&&` - flex-grow: ${Da(e.grow)}; - `} - ${e=>e.basis!==void 0&&` - flex-basis: ${e.basis.toString()}; - `} - ${e=>e.shrink!==void 0&&` - flex-shrink: ${Da(e.shrink)}; - `} - ${e=>e.fixedHeight!==void 0&&` - height: ${br(e.fixedHeight)}; - `} - - ${e=>e.overflow&&` - overflow: ${e.overflow}; - `} - ${e=>e.gap!==void 0&&E` - gap: ${br(e.gap)}; - `} -`;he.displayName="Stack";const MO=w.div` - margin: 0; - padding: 0; - border: 0; - box-sizing: border-box; - outline: none; - flex-grow: 1; - flex-shrink: 1; - ${({width:e})=>e&&E` - width: ${typeof e=="string"?e:`${e}px`}; - `}; -`,wy=({width:e})=>f.createElement(MO,{width:e}),jO=w(he).attrs(e=>({...e,align:"center",justify:"start"}))``,NO=w(Qn).attrs(e=>({...e,shrink:1}))``;function BO(){return f.createElement(Qn,{grow:1}," ")}Object.assign(jO,{Item:NO,Spacer:BO});w.div` - ${Ne.p6} - box-sizing: border-box; - display: flex; - background-color: ${({theme:e})=>e.colors.grey5}; - color: ${({theme:e})=>e.colors.grey80}; - align-items: center; - justify-content: center; - border-radius: 10px; - height: 20px; - width: fit-content; - padding: 2px 8px; - gap: 6px; -`;const VO=()=>f.createElement(kr,{size:"small",color:"grey80"}),WO=w(he)` - background-color: ${({theme:e,variant:t})=>t==="default"?e.colors.brandShade20:e.colors.white}; - color: ${e=>e.theme.colors.brandShade100}; - border-radius: 10px; - padding: 2px 10px; - height: 20px; - max-width: ${({maxWidth:e})=>e??"250px"}; - text-decoration: none; - box-sizing: border-box; - display: flex; - align-items: center; - justify-content: center; - width: fit-content; - font-size: 11px; - color: ${e=>e.theme.colors.brandShade100}; - overflow: hidden; -`,UO=w.a` - color: ${e=>e.theme.colors.brandShade100}; - text-decoration: none; - box-sizing: border-box; - display: flex; - align-items: center; - justify-content: center; - width: fit-content; - font-size: 11px; - overflow: hidden; - gap: 6px; -`,HO=w(ve).attrs({type:"p6",as:"p"})` - color: ${({theme:e,variant:t})=>t==="default"?e.colors.cyan100:e.colors.brandShade100}; - overflow: hidden; - text-overflow: ellipsis; - white-space: nowrap; - width: inherit; -`,GO=w(ve).attrs({type:"p8",as:"p"})` - white-space: nowrap; -`;f.forwardRef(function({filename:t,fileSize:r,icon:n,onClose:o,withClose:i,variant:a="default",maxWidth:s,isLoading:l,...c},u){const d=r?RO(r,{locale:!0}):void 0;return f.createElement(WO,{...le("AttachmentTag"),gap:6,variant:a,style:{maxWidth:s}},f.createElement(UO,{ref:u,...c,title:t,target:"_blank",rel:"noopener nofollow noreferrer"},f.createElement(j,{icon:n}),f.createElement(HO,{variant:a},t),f.createElement(GO,null,d)),pe({withClose:i,isLoading:l}).with({isLoading:!0},()=>f.createElement(VO,null)).with({withClose:!0},()=>f.createElement(rn,{role:"button","aria-label":"close-attachment",minimal:!0,onClick:o,icon:Ug})).otherwise(()=>null))});let ua=!1;const qO=new Set,$y=e=>{ua!==e&&(ua=e,qO.forEach(t=>t(ua)))},Ey=()=>{document.addEventListener("pointerup",Sy),$y(!0)},Sy=e=>{e.pointerType==="mouse"&&(document.addEventListener("touchstart",Ey,{once:!0}),document.removeEventListener("pointerup",Sy),$y(!1))};document.addEventListener("touchstart",Ey,{once:!0});const au=()=>ua;function Cy(e,t,r={}){let n=0,o=null,i=null;const{leading:a=!0,trailing:s=!0}=r,l=c=>(n=c,o=null,e(...i??[]));return(...c)=>{const u=Date.now(),d=u-n>=t;if(i=c,d&&(o&&(clearTimeout(o),o=null),n=u,a))return e(...c);!o&&s&&(o=setTimeout(()=>{l(Date.now())},t))}}const Wr=16,xt=5,YO=(e,t,r)=>{switch(e){case"bottom":return{x:t.x-(r.width-t.width)/2,y:t.y+t.height};case"top":return{x:t.x-(r.width-t.width)/2,y:t.y-r.height};case"left":return{x:t.x-r.width,y:t.y-(r.height-t.height)/2};case"right":return{x:t.x+t.width,y:t.y-(r.height-t.height)/2};case"bottom-start":return{x:t.x,y:t.y+t.height};case"bottom-end":return{x:t.x+t.width-r.width,y:t.y+t.height};case"top-start":return{x:t.x,y:t.y-r.height};case"top-end":return{x:t.x+t.width-r.width,y:t.y-r.height};case"right-start":return{x:t.x+t.width,y:t.y};case"right-end":return{x:t.x+t.width,y:t.y+t.height-r.height};case"left-start":return{x:t.x-r.width,y:t.y};case"left-end":return{x:t.x-r.width,y:t.y+t.height-r.height}}},Jp={bottom:["bottom","top"],top:["top","bottom"],left:["left","right"],right:["right","left"],"bottom-start":["bottom-start","top-start","bottom-end","top-end"],"bottom-end":["bottom-end","top-end","bottom-start","top-start"],"top-start":["top-start","bottom-start","top-end","bottom-end"],"top-end":["top-end","bottom-end","top-start","bottom-start"],"right-start":["right-start","left-start","right-end","left-end"],"right-end":["right-end","left-end","right-start","left-start"],"left-start":["left-start","right-start","left-end","right-end"],"left-end":["left-end","right-end","left-start","right-start"],auto:["top","bottom","left","right"],"auto-start":["top-start","bottom-start","left-start","right-start"],"auto-end":["top-end","bottom-end","left-end","right-end"]},Qp=(e,t)=>t.x>=0&&t.x+e.width<=window.innerWidth&&t.y>=0&&t.y+e.height<=window.innerHeight,Oy=(e,t,r,n,o,i)=>{if(e.length===0){if(i)return o?{position:KO(r,i.position),calculatedPlacement:i.calculatedPlacement}:{...i};throw new Error("No placement found")}const a=YO(e[0],t,r);if(Qp(r,a))return{position:a,calculatedPlacement:e[0]};{const s=XO(e[0],r,a);return n&&s&&Qp(r,s)?{position:s,calculatedPlacement:e[0]}:Oy(e.slice(1),t,r,n,o,i??{position:a,calculatedPlacement:e[0]})}},XO=(e,t,r)=>{switch(e){case"bottom":case"bottom-start":case"bottom-end":case"top":case"top-start":case"top-end":return t.width+xt<window.innerWidth?r.x<0?{x:xt,y:r.y}:{x:window.innerWidth-t.width-xt,y:r.y}:!1;case"left":case"left-start":case"left-end":case"right":case"right-start":case"right-end":return t.height+xt<window.innerHeight?r.y<0?{x:r.x,y:xt}:{x:r.x,y:window.innerHeight-t.height-xt}:!1}},KO=(e,t)=>{const r=t.x<0,n=t.x+e.width>window.innerWidth,o=t.y<0,i=t.y+e.height>window.innerHeight;return{x:r?xt:n?window.innerWidth-e.width-xt:t.x,y:o?xt:i?window.innerHeight-e.height-xt:t.y}},ZO=(e,t,r)=>pe(e).when(n=>n.includes("top")||n.includes("bottom"),()=>({x:t.x>r.x?t.x-r.x+t.width/2-Wr/2:r.width/2-Wr/2,y:0})).when(n=>n.includes("left")||n.includes("right"),()=>({x:0,y:t.y>r.y?t.y-r.y+t.height/2-Wr/2:r.height/2-Wr/2})).otherwise(()=>({x:0,y:0}));function Ti(e,t,r,n,o,i){return Math.abs((e*(n-i)+r*(i-t)+o*(t-n))/2)}function JO({x1:e,y1:t,x2:r,y2:n,x3:o,y3:i,x:a,y:s}){const l=Ti(e,t,r,n,o,i),c=Ti(a,s,r,n,o,i),u=Ti(e,t,a,s,o,i),d=Ti(e,t,r,n,a,s);return l===c+u+d}const eh=(e,t,r)=>r?e>=r.x&&e<=r.x+r.width&&t>=r.y&&t<=r.y+r.height:!1,QO=({offset:e,offsetLeft:t,offsetTop:r,placement:n,isOpen:o,disabled:i,enableOnTouchDevices:a,triggerRef:s,tooltipRef:l,preventOverflow:c,allowReposition:u=!0,arrow:d,flip:p})=>{const[v,h]=f.useState(),[m,y]=f.useState({x:0,y:0}),[x,b]=f.useState({x:0,y:0}),[$,g]=f.useState(),[C,S]=f.useState(n),O=e||[t??0,r??0],T=i||au()&&!a,k=f.useCallback(()=>{var B,N,W;if(o&&!T){const X=(N=(B=s.current)===null||B===void 0?void 0:B.firstElementChild)===null||N===void 0?void 0:N.getBoundingClientRect(),V=(W=l.current)===null||W===void 0?void 0:W.getBoundingClientRect();if(X&&V){c&&g({width:window.innerWidth-2*xt,height:window.innerHeight-2*xt});const{position:te,calculatedPlacement:Y}=Oy(p?Jp[n]:[Jp[n][0]],X,V,u,c);if(y(te),S(Y),d){const J=ZO(Y,X,{x:te.x,y:te.y,width:V.width,height:V.height});b(J)}}}},[u,d,p,T,o,n,c,l,s]),L=f.useMemo(()=>Cy(k,100),[k]);return f.useLayoutEffect(()=>{k()},[k]),f.useEffect(()=>(window.addEventListener("resize",L),()=>window.removeEventListener("resize",L)),[L]),{position:m,maxDimensions:$,calculatedPlacement:C,calculatedOffset:O,positionTooltip:k,arrowPosition:x,isDisabled:T,tooltipTriggerMousePosition:v,setTooltipTriggerMousePosition:h}},eT=({delayOpenRef:e,delayCloseRef:t,closeDelay:r=0,interactive:n,visible:o,handleOpen:i,handleClose:a})=>{f.useEffect(()=>{const c=e.current,u=t.current;return()=>{c&&clearTimeout(c),u&&clearTimeout(u)}},[t,e]);const s=f.useCallback(()=>{n&&(t.current&&clearTimeout(t.current),t.current=void 0,i())},[t,i,n]),l=f.useCallback(()=>{o===void 0&&(e.current&&clearTimeout(e.current),t.current=window.setTimeout(()=>{a()},r))},[r,t,e,a,o]);return{onMouseEnterTooltip:s,onMouseLeaveTooltip:l}},tT=w.div` - position: absolute; - top: 0; - right: 0; - left: 0; -`,Tf=document.createElement("div");Tf.className="deskpro-modal-root";document.body.append(Tf);function Ms({children:e}){const t=f.useRef(!1);return e&&(t.current=!0),t.current?Ju.createPortal(f.createElement(tT,null,e),Tf):null}const ki=8,rT=w.div` - z-index: ${({zIndex:e,theme:t})=>e?t.layers[e]:9999}; - display: ${({isOpen:e})=>e?"block":"none"}; - visibility: ${({isVisible:e})=>e?"visible":"hidden"}; - position: absolute; - inset: 0px 0px auto auto; - margin: 0px; - top: ${({position:e})=>e.y}px; - left: ${({position:e})=>e.x}px; - width: fit-content; -`,nT=w.div` - padding: ${({placement:e})=>e&&oT(e)}; - width: ${({width:e})=>e}; - max-width: ${({maxWidth:e})=>e?typeof e=="string"?`${e} !important`:`${e}px !important`:void 0}; - max-height: ${({maxHeight:e})=>e?`${e}px !important`:void 0}; - visibility: ${({isVisible:e})=>e?"visible":"hidden"}; - - ${({styledCss:e})=>e} -`,oT=e=>e.includes("top")?`0 0 ${ki}px 0`:e.includes("bottom")?`${ki}px 0 0 0`:e.includes("left")?`0 ${ki}px 0 0`:`0 0 0 ${ki}px`,iT=w.div` - position: relative; - padding: ${({padding:e})=>e??"5px 9px"}; - z-index: 1; - - background-color: ${({theme:e,styleType:t="light"})=>Cn(t,e).backgroundColor}; - color: ${({theme:e,styleType:t="light"})=>Cn(t,e).color}; - box-shadow: ${({theme:e,styleType:t="light"})=>Cn(t,e).boxShadow}; - border: ${({theme:e,styleType:t="light"})=>Cn(t,e).border}; - border-radius: ${({borderRadius:e})=>e||3}px; - display: flex; - align-items: center; - justify-content: center; - font-family: ${e=>e.theme.fonts.primary}; - font-style: normal; - font-weight: normal; - font-size: 11px; - line-height: 150%; - word-break: break-word; - ${({offset:[,e]})=>e&&`top: ${e}px !important`}; - ${({offset:[e]})=>e&&`left: ${e}px !important`}; - transition-property: transform, visibility, opacity; - transition-duration: ${({duration:e=250})=>e}ms; -`,aT=w.div``,Ty=w.div` - display: contents; -`,sT=w.div` - position: absolute; - width: ${Wr}px; - height: ${Wr}px; - transform: ${({position:e})=>`translate(${e.x}px, ${e.y}px)`}; - ${({placement:e,arrowColor:t,theme:r,styleType:n})=>e&&lT(e,t,r,n)} - - &::before { - content: ""; - position: absolute; - ${({placement:e,arrowColor:t,theme:r,styleType:n})=>e&&th("before",e,t,r,n)} - } - - &::after { - content: ""; - z-index: -1; - position: absolute; - ${({placement:e,arrowColor:t,theme:r,styleType:n})=>e&&th("after",e,t,r,n)} - } -`,lT=(e,t,r,n="light")=>{const o=t?r.colors[t]:Cn(n,r).backgroundColor;return pe(e).when(i=>i==null?void 0:i.includes("bottom"),()=>E` - top: 0; - left: 0; - color: ${o}; - border-top-color: ${o}; - `).when(i=>i==null?void 0:i.includes("top"),()=>E` - bottom: 0; - left: 0; - color: ${o}; - border-bottom-color: ${o}; - `).when(i=>i==null?void 0:i.includes("left"),()=>E` - right: 0; - top: 0; - color: ${o}; - border-left-color: ${o}; - `).when(i=>i==null?void 0:i.includes("right"),()=>E` - left: 0; - top: 0; - color: ${o}; - border-right-color: ${o}; - `).otherwise(()=>{})},th=(e,t,r,n,o="light")=>{const i=e==="before"?"initial":r?n.colors[r]:Cn(o,n).borderColor,a=e==="before"?"-7px":"-8px",s=`${Wr/2}px`;return pe(t).when(l=>l.includes("bottom"),()=>E` - left: 0; - top: ${a}; - border-color: transparent; - border-bottom-color: ${i}; - border-width: 0 ${s} ${s}; - border-style: solid; - `).when(l=>l.includes("top"),()=>E` - left: 0; - bottom: ${a}; - border-color: transparent; - border-top-color: ${i}; - border-width: ${s} ${s} 0; - border-style: solid; - `).when(l=>l==null?void 0:l.includes("left"),()=>E` - top: 0; - right: ${a}; - border-color: transparent; - border-left-color: ${i}; - border-width: ${s} 0 ${s} ${s}; - border-style: solid; - `).when(l=>l==null?void 0:l.includes("right"),()=>E` - top: 0; - left: ${a}; - border-color: transparent; - border-right-color: ${i}; - border-width: ${s} ${s} ${s} 0; - border-style: solid; - `).otherwise(()=>{})},Cn=(e,t)=>{const r={light:{backgroundColor:t.colors.grey3,color:t.colors.grey_black100,border:`1px solid ${t.colors.systemShade30}`,borderColor:t.colors.systemShade30,boxShadow:"0px 4px 6px -1px rgba(0, 0, 0, 0.1), 0px 2px 4px -1px rgba(0, 0, 0, 0.06);"},lightBox:{backgroundColor:t.colors.white,color:t.colors.grey100,border:`1px solid ${t.colors.grey20}`,borderColor:t.colors.grey20,boxShadow:"0px 4px 6px -1px rgba(0, 0, 0, 0.1), 0px 2px 4px -1px rgba(0, 0, 0, 0.06);"},lightBoxModal:{backgroundColor:t.colors.white,color:t.colors.grey100,border:`1px solid ${t.colors.grey20}`,borderColor:t.colors.grey20,boxShadow:"0px 4px 16px rgba(0, 0, 0, 0.3)"},dark:{backgroundColor:t.colors.grey_black100,color:t.colors.white,border:`1px solid ${t.colors.grey_black100}`,borderColor:t.colors.grey_black100,boxShadow:"0px 4px 6px -1px rgba(0, 0, 0, 0.1), 0px 2px 4px -1px rgba(0, 0, 0, 0.06);"},extraDark:{backgroundColor:t.colors.grey100,color:t.colors.white,border:`1px solid ${t.colors.grey100}`,borderColor:t.colors.grey100,boxShadow:"0px 4px 6px -1px rgba(0, 0, 0, 0.1), 0px 2px 4px -1px rgba(0, 0, 0, 0.06);"},unstyled:{backgroundColor:"transparent",color:t.colors.grey_black100,border:"none",borderColor:"transparent",boxShadow:"none"}};return r[e]||r.dark},cT=(e,t)=>{switch(e){case"right":case"right-start":case"right-end":return`polygon(100% 0%, 0% ${t*100}%, 100% 100%)`;case"bottom":case"bottom-start":case"bottom-end":return`polygon(0% 100%, ${t*100}% 0%, 100% 100%)`;case"left":case"left-start":case"left-end":return`polygon(0% 0%, 100% ${t*100}%, 0% 100%)`;case"top":case"top-start":case"top-end":return`polygon(0% 0%, ${t*100}% 100%, 100% 0%)`}},uT=w.div` - position: absolute; - z-index: 9999; - top: ${({safePolygonRect:e})=>e.top}px; - left: ${({safePolygonRect:e})=>e.left}px; - width: ${({safePolygonRect:e})=>e.width}px; - height: ${({safePolygonRect:e})=>e.height}px; - - ${({debug:e,placement:t,safePolygonRect:r})=>e&&E` - background: red; - opacity: 0.5; - clip-path: ${cT(t,r.polygonPoint)}; - `}; -`;function fT(e,t){f.useEffect(()=>{if(!t)return;const r=n=>{const o=e.current;!o||o.contains(n.target)||t==null||t(n)};return document.addEventListener("mousedown",r),document.addEventListener("touchstart",r),()=>{document.removeEventListener("mousedown",r),document.removeEventListener("touchstart",r)}},[e,t])}var kf={};Object.defineProperty(kf,"__esModule",{value:!0});var Af=kf.default=void 0,Lr=dT(f);function dT(e){return e&&e.__esModule?e:{default:e}}function fa(e){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?fa=function(r){return typeof r}:fa=function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},fa(e)}function rh(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{},n=Object.keys(r);typeof Object.getOwnPropertySymbols=="function"&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(o){return Object.getOwnPropertyDescriptor(r,o).enumerable}))),n.forEach(function(o){Ze(e,o,r[o])})}return e}function pT(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function hT(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");Ma(e.prototype,t&&t.prototype),t&&Ma(e,t)}function Ma(e,t){return Ma=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ma(e,t)}function nh(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function vT(e,t,r){return t&&nh(e.prototype,t),r&&nh(e,r),e}function oh(e,t){return t&&(fa(t)==="object"||typeof t=="function")?t:ge(e)}function su(e){return su=Object.getPrototypeOf||function(r){return r.__proto__},su(e)}function ge(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ze(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var El={position:"absolute",left:0,top:0,right:0,bottom:0,overflow:"hidden",zIndex:-1,visibility:"hidden",pointerEvents:"none"},ih={position:"absolute",left:0,top:0,transition:"0s"};function mT(e,t){for(var r=e.parentNode;r;){if(r===t)return!0;r=r.parentNode}return!1}var ky=function(e){function t(){var r,n,o;pT(this,t);for(var i=arguments.length,a=new Array(i),s=0;s<i;s++)a[s]=arguments[s];return oh(o,(n=o=oh(this,(r=su(t)).call.apply(r,[this].concat(a))),Ze(ge(ge(o)),"_expandRef",null),Ze(ge(ge(o)),"_shrinkRef",null),Ze(ge(ge(o)),"_node",null),Ze(ge(ge(o)),"_lastWidth",void 0),Ze(ge(ge(o)),"_lastHeight",void 0),Ze(ge(ge(o)),"_lastRect",void 0),Ze(ge(ge(o)),"_hasResize",!1),Ze(ge(ge(o)),"_handleScroll",function(l){(o.props.onPosition||o.props.onReflow||o.props.onResize)&&(o._globalScollTarget(l.target)||o._refScrollTarget(l.target)||o._ancestorScollTarget(l.target))&&o._reflow()}),Ze(ge(ge(o)),"_globalScollTarget",function(l){return l instanceof Node&&(o.props.onPosition||o.props.onReflow)&&(l===document||l===document.documentElement||l===document.body)}),Ze(ge(ge(o)),"_refScrollTarget",function(l){if(l instanceof HTMLElement&&(l===o._expandRef||l===o._shrinkRef)){var c=l.offsetWidth,u=l.offsetHeight;if(c!==o._lastWidth||u!==o._lastHeight)return o._lastWidth=c,o._lastHeight=u,o._reset(o._expandRef),o._reset(o._shrinkRef),!0}return!1}),Ze(ge(ge(o)),"_ancestorScollTarget",function(l){return l instanceof Node&&(o.props.onPosition||o.props.onReflow)&&o._node&&mT(o._node,l)}),Ze(ge(ge(o)),"_reflow",function(){if(!(!o._node||!(o._node.parentNode instanceof Element))){var l=o._node.parentNode.getBoundingClientRect(),c=!0,u=!0;o._lastRect&&(c=l.width!==o._lastRect.width||l.height!==o._lastRect.height,u=l.top!==o._lastRect.top||l.left!==o._lastRect.left),o._lastRect=l,c&&o.props.onResize&&o.props.onResize(l),u&&o.props.onPosition&&o.props.onPosition(l),(c||u)&&o.props.onReflow&&o.props.onReflow(l)}}),Ze(ge(ge(o)),"_handleRef",function(l){o._node=l}),Ze(ge(ge(o)),"_handleExpandRef",function(l){o._reset(l),o._expandRef=l}),Ze(ge(ge(o)),"_handleShrinkRef",function(l){o._reset(l),o._shrinkRef=l}),n))}return vT(t,[{key:"componentDidMount",value:function(){this._reflow(),window.addEventListener("scroll",this._handleScroll,!0),(this.props.onPosition||this.props.onReflow)&&(window.addEventListener("resize",this._reflow,!0),this._hasResize=!0)}},{key:"componentDidUpdate",value:function(){(this.props.onPosition||this.props.onReflow)&&!this._hasResize?(window.addEventListener("resize",this._reflow,!0),this._hasResize=!0):!(this.props.onPosition||this.props.onReflow)&&this._hasResize&&(window.removeEventListener("resize",this._reflow,!0),this._hasResize=!1)}},{key:"componentWillUnmount",value:function(){window.removeEventListener("scroll",this._handleScroll,!0),this._hasResize&&window.removeEventListener("resize",this._reflow,!0)}},{key:"_reset",value:function(n){n&&(n.scrollLeft=1e5,n.scrollTop=1e5)}},{key:"render",value:function(){return this.props.onResize||this.props.onReflow?Lr.default.createElement("div",{style:El,ref:this._handleRef},Lr.default.createElement("div",{ref:this._handleExpandRef,style:El},Lr.default.createElement("div",{style:rh({},ih,{width:1e5,height:1e5})})),Lr.default.createElement("div",{ref:this._handleShrinkRef,style:El},Lr.default.createElement("div",{style:rh({},ih,{width:"200%",height:"200%"})}))):Lr.default.createElement("noscript",{ref:this._handleRef})}}]),hT(t,e),t}(Lr.default.Component);Ze(ky,"displayName","ResizeObserver");var gT=ky;Af=kf.default=gT;const yT=({onMouseEnterTooltip:e,onMouseLeaveTooltip:t,placement:r,tooltipRef:n,tooltipPosition:o,tooltipTriggerMousePosition:i,triggerRef:a,debug:s,...l})=>{const c=f.useMemo(()=>{var p,v;if(a.current)return(v=(p=a.current)===null||p===void 0?void 0:p.firstElementChild)===null||v===void 0?void 0:v.getBoundingClientRect()},[a]),u=f.useMemo(()=>{if(i&&o&&n.current)switch(r){case"right":case"right-start":case"right-end":return{top:o.y,left:i.x,width:o.x-i.x,height:n.current.offsetHeight,polygonPoint:Math.abs((o.y-i.y)/n.current.offsetHeight),polygonCoords:{x1:o.x,y1:o.y,x2:o.x,y2:o.y+n.current.offsetHeight,x3:i.x,y3:i.y}};case"bottom":case"bottom-start":case"bottom-end":return{top:i.y,left:o.x,width:n.current.offsetWidth,height:o.y-i.y,polygonPoint:Math.abs((o.x-i.x)/n.current.offsetWidth),polygonCoords:{x1:o.x,y1:o.y,x2:o.x+n.current.offsetWidth,y2:o.y,x3:i.x,y3:i.y}};case"left":case"left-start":case"left-end":return{top:o.y,left:o.x+n.current.offsetWidth,width:i.x-o.x-n.current.offsetWidth,height:n.current.offsetHeight,polygonPoint:Math.abs((o.y-i.y)/n.current.offsetHeight),polygonCoords:{x1:o.x+n.current.offsetWidth,y1:o.y,x2:o.x+n.current.offsetWidth,y2:o.y+n.current.offsetHeight,x3:i.x,y3:i.y}};case"top":case"top-start":case"top-end":return{top:o.y+n.current.offsetHeight,left:o.x,width:n.current.offsetWidth,height:i.y-o.y-n.current.offsetHeight,polygonPoint:Math.abs((o.x-i.x)/n.current.offsetWidth),polygonCoords:{x1:o.x,y1:o.y+n.current.offsetHeight,x2:o.x+n.current.offsetWidth,y2:o.y+n.current.offsetHeight,x3:i.x,y3:i.y}}}},[r,o,n,i]),d=f.useCallback(p=>{u&&(JO({...u.polygonCoords,x:p.clientX,y:p.clientY})||eh(p.clientX,p.clientY,c)?e():t())},[e,t,u,c]);return u&&i?f.createElement(Ms,null,f.createElement(uT,{onMouseEnter:e,onMouseLeave:p=>!eh(p.clientX,p.clientY,c)&&t(),onMouseMove:d,safePolygonRect:u,placement:r,debug:s,...le("SafePolygon"),...l})):null},ti=(...e)=>{const t=e.filter(Boolean);return t.length===0?null:r=>{for(const n of t)typeof n=="function"?n(r):n&&(n.current=r)}},Bn=({styleType:e,width:t,maxWidth:r=350,offsetTop:n,offsetLeft:o,offset:i,visible:a,interactive:s,safePolygon:l,styledCss:c,customComponent:u,borderRadius:d,onPressEsc:p,enableOnTouchDevices:v,placement:h="top",disabled:m,content:y,alwaysRenderContent:x,className:b,delay:$=[200,0],hideOnClick:g,onClickOutside:C,onShow:S,onHide:O,duration:T,arrow:k,arrowColor:L,children:B,preventOverflow:N,allowReposition:W=!0,flip:X=!0,debug:V,zIndex:te,triggerRef:Y})=>{var J;const[H,ce]=f.useState(!!a),xe=f.useRef(null),A=f.useRef(null),I=f.useRef(),z=f.useRef(),_=typeof $=="number"?$:$&&$.length?$[0]:0,D=typeof $=="number"?$:$&&$.length?$[1]:0,{position:Q,maxDimensions:G,calculatedPlacement:U,calculatedOffset:re,positionTooltip:ne,arrowPosition:Z,isDisabled:Se,tooltipTriggerMousePosition:Fe,setTooltipTriggerMousePosition:it}=QO({offset:i,offsetLeft:o,offsetTop:n,placement:h,isOpen:H,disabled:m,enableOnTouchDevices:v,triggerRef:xe,tooltipRef:A,preventOverflow:N,allowReposition:W,arrow:k,flip:X,debug:V}),at=f.useCallback(()=>{H||(ce(!0),S==null||S())},[H,S]),ze=f.useCallback(()=>{H&&(ce(!1),O==null||O())},[H,O]),jt=f.useCallback(()=>{g&&ze(),C==null||C()},[ze,g,C]);fT(A,H?jt:void 0),f.useEffect(()=>{!Se&&typeof a=="boolean"&&(a?at():ze())},[ze,at,Se,a]),f.useEffect(()=>{const Xe=We=>{We.key==="Escape"&&(p==null||p())};return H&&window.addEventListener("keydown",Xe),()=>{window.removeEventListener("keydown",Xe)}},[H,p]);const{onMouseEnterTooltip:_e,onMouseLeaveTooltip:Je}=eT({delayOpenRef:I,delayCloseRef:z,closeDelay:D,interactive:s,visible:a,handleOpen:at,handleClose:ze}),je=ti(Y??null,xe);return Se?f.createElement(Ty,{...le("TooltipTrigger"),ref:je},B):f.createElement(f.Fragment,null,H||x?f.createElement(Ms,null,f.createElement(rT,{isOpen:H,position:Q,zIndex:te,isVisible:!0,className:"tooltip-wrapper"},f.createElement(nT,{ref:A,width:t,maxHeight:G==null?void 0:G.height,maxWidth:(G==null?void 0:G.width)||r,placement:U,className:`tooltip-root ${b??""}`,onMouseEnter:_e,onMouseLeave:Je,isVisible:!!(!((J=A.current)===null||J===void 0)&&J.scrollHeight),styledCss:c},f.createElement(Af,{onResize:()=>{ne()}}),f.createElement(iT,{padding:u||e==="unstyled"?"0":void 0,styleType:e,borderRadius:d,offset:re,className:"tooltip-box",duration:T},f.createElement(aT,{className:"tooltip-content"},y),k?f.createElement(sT,{placement:U,position:Z,arrowColor:L,styleType:e,className:"tooltip-arrow"}):null)))):null,f.createElement(bT,{triggerRef:je,isOpen:H,interactive:s,visible:a,openDelay:_,closeDelay:D,delayOpenRef:I,delayCloseRef:z,handleOpen:at,handleClose:ze,setTooltipTriggerMousePosition:it,safePolygon:l},B),H&&s&&l&&U&&f.createElement(yT,{onMouseEnterTooltip:_e,onMouseLeaveTooltip:Je,placement:U,tooltipRef:A,tooltipPosition:Q,tooltipTriggerMousePosition:Fe,triggerRef:xe,debug:V}))},bT=({triggerRef:e,isOpen:t,interactive:r,visible:n,handleClose:o,handleOpen:i,openDelay:a=0,closeDelay:s=0,delayOpenRef:l={current:void 0},delayCloseRef:c={current:void 0},setTooltipTriggerMousePosition:u,safePolygon:d,dpName:p,children:v})=>{const h=f.useCallback(x=>{n===void 0&&(c.current&&clearTimeout(c.current),l.current=window.setTimeout(()=>{r&&d&&t&&u({x:x.clientX,y:x.clientY}),i()},a))},[c,l,i,r,t,a,d,u,n]),m=f.useCallback(()=>{n===void 0&&(l.current&&clearTimeout(l.current),l.current=void 0,c.current=window.setTimeout(()=>{o(),u(void 0)},s))},[s,c,l,o,u,n]),y=f.useCallback(x=>{r&&d&&!t&&u({x:x.clientX,y:x.clientY})},[r,t,d,u]);return f.createElement(Ty,{...le(p??"TooltipTrigger"),ref:e,onMouseEnter:h,onMouseLeave:m,onMouseMove:y},v)},xT=w.div` - box-sizing: border-box; - padding: ${({size:e})=>pe(e).with("large",()=>"8px 12px").with("medium",()=>"3px 8px").with("small",()=>"1px 4px").exhaustive()}; - margin: ${({addMargin:e})=>e?"2px 4px 2px 0":"0"}; - background-color: ${({theme:e,backgroundColor:t})=>t&&t in e.colors?e.colors[t]:t}; - border: 1px solid - ${({borderColor:e,theme:t})=>e&&e in t.colors?t.colors[e]:e}; - color: ${({theme:e,textColor:t})=>t?t in e.colors?e.colors[t]:t:e.colors.grey40}; - border-radius: 4px; - display: flex; - align-items: center; - ${({maxWidth:e})=>E` - max-width: ${e}px; - `} - gap: 6px; - max-height: ${({size:e})=>pe(e).with("large",()=>"28px").with("medium",()=>"26px").with("small",()=>"26px").exhaustive()}; - width: fit-content; -`,wT=w(xT)` - border-radius: 12px; -`;w(he)` - box-sizing: border-box; - padding: 1px 4px; - margin: ${({addMargin:e})=>e?"2px 4px 2px 0":"0"}; - background-color: ${({theme:e})=>e.colors.grey10}; - border: 1px solid ${({theme:e})=>e.colors.grey10}; - border-radius: 4px; - display: flex; - align-items: center; - width: fit-content; - gap: 6px; - height: 16px; - width: ${({width:e})=>e||"40px"}; -`;w.div` - box-sizing: border-box; - padding: 1px 8px; - margin: 0; - background-color: ${e=>e.backgroundColor}; - border: 1px solid ${e=>e.borderColor}; - color: ${e=>e.borderColor}; - border-radius: 4px; - display: flex; - align-items: center; - width: fit-content; - gap: 6px; -`;const $T=w(ve).attrs({type:"p8",as:"div"})` - color: ${({theme:e,color:t})=>t||e.colors.grey100}; - overflow: hidden; - white-space: nowrap; - text-overflow: ellipsis; - text-transform: ${({capitalize:e})=>e?"capitalize":"initial"}; - font-size: ${({size:e})=>pe(e).with("large",()=>"12px").with("medium",()=>"11px").with("small",()=>"10px").exhaustive()}; - display: block; - cursor: ${({onClick:e})=>e?"pointer":"default"}; -`;w.div` - font-family: ${({theme:e})=>e.fonts.primary}; - font-style: normal; - font-weight: 500; - font-size: 10px; - line-height: 150%; -`;const ET=w(rn)` - height: 10px; - width: 10px; - min-height: 10px; - min-width: 10px; -`,ST=w.div` - font-size: 9px; - display: flex; - align-items: center; -`,EV=({label:e,withClose:t,onCloseClick:r,onLabelClick:n,closeIcon:o=Nw,capitalize:i,className:a,addMargin:s,icon:l,size:c="small",backgroundColor:u,borderColor:d,textColor:p})=>f.createElement(wT,{backgroundColor:u,borderColor:d??u,textColor:p,className:a??"tag",addMargin:s,size:c},l&&f.createElement(ST,null,f.createElement(j,{icon:l,size:pe(c).with("large",()=>12).with("medium",()=>8).with("small",()=>{}).exhaustive()})),f.createElement($T,{size:c,capitalize:i,color:p,onClick:n},e),t&&f.createElement(ET,{"aria-label":"close",minimal:!0,icon:o,onClick:r,style:{color:p},type:"button"})),Ay=e=>{const r=Kn().standardLabelColors;switch(e.toUpperCase().charAt(0)){case"A":return r.amber;case"H":return r.beige;case"O":return r.brown;case"V":return r.burgundy;case"B":return r.coral;case"I":return r.cyan;case"P":return r.cyan_light;case"W":return r.green;case"C":return r.vermilion;case"J":return r.grey_black;case"Q":return r.yellow;case"X":return r.grey_black;case"D":return r.lemon;case"K":return r.lime;case"R":return r.magenta;case"Y":return r.myrtle;case"E":return r.olive;case"L":return r.orange;case"S":return r.pink;case"Z":return r.grey;case"F":return r.purple;case"M":return r.lavender;case"T":return r.red;case"G":return r.rose_dawn;case"N":return r.sage;case"U":return r.sky_blue;default:return r.turquoise}},Pf=E` - ${({liteAgent:e,size:t,theme:r})=>e&&E` - border: 2px solid ${r.colors.brandShade60}; - color: ${r.colors.brandShade60}; - border-radius: ${t/6}px; - filter: grayscale(0.9); - `} -`,CT=w.div` - box-sizing: border-box; - display: ${({isVisible:e})=>e?"flex":"none"}; - align-items: center; - justify-content: center; - color: ${e=>e.borderColor}; - padding: 0; - margin: 0; - font-weight: 600; - background-color: ${e=>e.backgroundColor}; - border: 1px solid ${e=>e.borderColor}; - border-radius: 50%; - min-height: ${({size:e})=>e}px; - min-width: ${({size:e})=>e}px; - height: ${({size:e})=>e}px; - width: ${({size:e})=>e}px; - user-select: none; - ${Pf} -`,OT=w.div` - box-sizing: border-box; - display: flex; - align-items: center; - justify-content: center; - color: ${e=>e.borderColor}; - padding: 0; - margin: 0; - font-weight: 600; - background-color: ${e=>e.backgroundColor}; - border: 1px solid ${e=>e.borderColor}; - border-radius: 50%; - height: ${({size:e})=>e}px; - width: ${({size:e})=>e}px; - user-select: none; - ${Pf} -`,TT=({color:e,icon:t,size:r,iconSize:n,isVisible:o=!0,name:i,showTooltip:a=!1,liteAgent:s=!1})=>{const l=Kn(),{borderColor:c,backgroundColor:u}=l.standardLabelColors[e];let d;switch(r){case 14:d=6;break;case 15:d=7;break;case 18:d=8;break;case 20:case 22:d=12;break;case 24:d=14;break;case 26:case 28:d=14;break;case 40:d=20;break;case 48:d=24;break;case 56:d=28;break;case 72:d=34;break;case 100:d=46;break;case 120:d=60;break;default:d=14}const p=f.createElement(CT,{...le("TagCircleIcon"),backgroundColor:u,borderColor:c,size:r,isVisible:o,liteAgent:s},f.createElement("div",{style:{fontSize:d,display:"flex"}},f.createElement(j,{icon:t,size:n})));return a&&i?f.createElement(Bn,{delay:[1e3,0],content:i},p):p},kT=({color:e,name:t,size:r,className:n,showTooltip:o=!1,liteAgent:i=!1})=>{const a=Kn();let s,l;const c=t.charAt(0).toUpperCase(),d=t.split(" ").map(h=>h.charAt(0).toUpperCase()).slice(0,2).join("");let p=c;if(r>=18&&(p=d),e){const{borderColor:h,backgroundColor:m}=a.standardLabelColors[e];s=h,l=m}else{const h=Ay(c);s=h.borderColor,l=h.backgroundColor}const v=f.createElement(OT,{backgroundColor:l,borderColor:s,size:r,className:n,liteAgent:i},r<26?f.createElement(ve,{overflow:"ellipsis",type:"p12"},p):f.createElement(ve,{type:"p6",overflow:"ellipsis"},p));return o?f.createElement(Bn,{delay:[1e3,0],content:t},v):v},AT=/\([^)]*\)|[\0-\u001F!-/:-@[-`{-\u00BF\u0250-\u036F\uD800-\uFFFF]/g,PT=/^\d+[\d\s]*(:?ext|x|)\s*\d+$/i,zT=/\s+/g,_T=/[\u0600-\u06FF\u0750-\u077F\u08A0-\u08FF\u1100-\u11FF\u3130-\u318F\uA960-\uA97F\uAC00-\uD7AF\uD7B0-\uD7FF\u3040-\u309F\u30A0-\u30FF\u3400-\u4DBF\u4E00-\u9FFF\uF900-\uFAFF]|[\uD840-\uD869][\uDC00-\uDED6]/;function IT(e,t){let r="";const n=e.split(" ");return n.length===2?(r+=n[0].charAt(0).toUpperCase(),r+=n[1].charAt(0).toUpperCase()):n.length===3?(r+=n[0].charAt(0).toUpperCase(),r+=n[2].charAt(0).toUpperCase()):n.length!==0&&(r+=n[0].charAt(0).toUpperCase()),t&&r.length>1?r.charAt(1)+r.charAt(0):r}function RT(e){return e=e.replace(AT,""),e=e.replace(zT," "),e=e.trim(),e}function LT(e,t,r){if(e&&(e=RT(e),!(_T.test(e)||!r&&PT.test(e))))return IT(e,t)}const FT=w.img` - display: flex; - background-size: cover; - background-repeat: no-repeat; - background-position: center center; - height: ${({size:e})=>e}px; - width: ${({size:e})=>e}px; - min-height: ${({size:e})=>e}px; - min-width: ${({size:e})=>e}px; - max-height: ${({size:e})=>e}px; - max-width: ${({size:e})=>e}px; - object-fit: cover; - ${({rounded:e})=>e?"border-radius: 50%;":""} - ${Pf} - color: red; -`,DT=w.i` - max-height: ${({size:e})=>e}px; - max-width: ${({size:e})=>e}px; - font-size: ${({size:e})=>e*.8}px; - - ${({rounded:e})=>e?"border-radius: 50%;":""} - &::before { - align-self: center; - } -`,MT=w.div` - height: ${({size:e})=>e}px; - width: ${({size:e})=>e}px; - ${({rounded:e})=>e?"border-radius: 50%;":""} -`,jT=w.div` - height: ${({size:e})=>e}px; - width: ${({size:e})=>e}px; - position: absolute; - background-color: ${e=>{var t;return(t=e.theme.colors[e.themeColor])!==null&&t!==void 0?t:e.themeColor}}; - right: ${({position:e})=>e.right}px; - bottom: ${({position:e})=>e.bottom}px; - ${({rounded:e=!0})=>e?"border-radius: 50%;":""}; - border: ${e=>e.borderWidth}px solid ${e=>e.theme.colors.white}; -`,NT={14:{size:6,position:{right:-1,bottom:-1},borderWidth:1},15:{size:7,position:{right:-1,bottom:-1},borderWidth:1},18:{size:8,position:{right:-1,bottom:-1},borderWidth:1},20:{size:8,position:{right:-1,bottom:-1},borderWidth:1},22:{size:8,position:{right:-1,bottom:-1},borderWidth:1},24:{size:8,position:{right:-1,bottom:-1},borderWidth:1},26:{size:8,position:{right:-1,bottom:-1},borderWidth:1},28:{size:9,position:{right:-1,bottom:-1},borderWidth:1},32:{size:9,position:{right:-1,bottom:-1},borderWidth:1},34:{size:10,position:{right:-1,bottom:-1},borderWidth:1},40:{size:12,position:{right:-1,bottom:-1},borderWidth:1},48:{size:12,position:{right:-1,bottom:-1},borderWidth:1},56:{size:14,position:{right:-1,bottom:-1},borderWidth:2},72:{size:18,position:{right:-1,bottom:-1},borderWidth:2},100:{size:24,position:{right:-1,bottom:-1},borderWidth:2},120:{size:30,position:{right:-1,bottom:-1},borderWidth:3}},SV=f.memo(({imageStyles:e,backupIcon:t=Rw,name:r,size:n=18,themeColor:o,onlineStatus:i,showOnlineBadge:a,showTooltip:s=!0,rounded:l=!0,liteAgent:c=!1,...u})=>{const[d,p]=f.useState(!1),v=f.useMemo(()=>{if(a)switch(i){case"online":return"turquoise100";case"offline":return"grey40";case"busy":return"yellow100";case"archived":return"grey80"}},[i,a]),h=f.useMemo(()=>r?LT(r,!1,!1):null,[r]),m=Ay(h??"X"),y=f.useMemo(()=>ah(u)?{...e||{},backgroundColor:m.backgroundColor}:{},[e,u,m.backgroundColor]),x=f.useMemo(()=>{if(BT(u))return f.createElement(MT,{title:r,size:n,style:u.emojiStyles,rounded:l});if(VT(u)){const b=f.createElement(DT,{title:r,size:n,className:u.faIconClassName,style:u.iconStyles,rounded:l,liteAgent:c});return s?f.createElement(Bn,{delay:[1e3,0],content:r},b):b}if(ah(u)&&!d&&u.imageUrl){const b=f.createElement(FT,{alt:r??"avatar",size:n,style:y,src:u.imageUrl,loading:"lazy",rounded:l,onError:()=>p(!0),liteAgent:c});return s?f.createElement(Bn,{delay:[1e3,0],content:r},b):b}return l?r&&h?f.createElement(kT,{showTooltip:s,name:r,size:n,liteAgent:c}):f.createElement(TT,{showTooltip:s,name:r,icon:t,color:o??"brandShade",size:n,liteAgent:c}):f.createElement(j,{icon:t,size:n})},[u,d,l,r,n,s,y,h,t,o,c]);return f.createElement(WT,{...le("Avatar"),size:n},f.createElement(he,{style:{position:"relative"}},x,v&&a&&f.createElement(jT,{themeColor:v,rounded:l,...NT[n]})))}),BT=e=>"emojiStyles"in e,VT=e=>"faIconClassName"in e,ah=e=>"imageUrl"in e,WT=w(he).attrs({inline:!0,align:"center",justify:"center"})` - height: ${({size:e})=>e}px; - width: ${({size:e})=>e}px; -`,UT=w.div` - display: flex; - font-size: 9px; - align-items: center; - height: 16px; - user-select: none; - position: relative; - z-index: 0; // SubStatus set to -1 in order to sit behind primary status, but that causes it to be hidden unless this is set to 0 -`,HT=w.div` - height: 100%; - display: flex; - align-items: center; - justify-content: center; - background-color: ${e=>e.backgroundColor}; - border: ${e=>e.border}; - color: ${e=>e.textColor}; - padding: ${({noLabel:e,noIcon:t})=>e?"0":t?"0 8px":"0 8px 0 4px"}; - width: 16px; - border-radius: 20px; - width: fit-content; - gap: 2px; -`,GT=w.div` - border-radius: 20px; - border: 1px solid ${e=>e.bordercolor}; - height: 100%; - color: ${e=>e.theme.colors.grey100}; - display: flex; - align-items: center; - justify-content: center; - background-color: ${e=>e.backgroundColor}; - padding-left: 18px; - padding-right: 8px; - position: relative; - margin-left: -14px; - z-index: -1; -`,qT=w(he)` - font-size: 8px; - width: 16px; -`,sh=w(ve)` - line-height: unset; - text-transform: capitalize; - white-space: nowrap; - ${({isCompact:e})=>e?` - max-width: 100px; - overflow: hidden; - text-overflow: ellipsis; - white-space: nowrap - `:""} -`;function CV({label:e,icon:t,subStatus:r,backgroundColor:n,textColor:o,subStatusBackgroudcolor:i,isCompact:a,border:s,themeColor:l,type:c="p11",...u}){return f.createElement(UT,{...le("Pill"),...u},f.createElement(HT,{backgroundColor:n,textColor:o,noLabel:!e||!!a,noIcon:!t,border:s},t&&f.createElement(qT,{align:"center",justify:"center"},f.createElement(j,{icon:t,themeColor:l})),!a&&e&&f.createElement(sh,{type:c},e)),r&&f.createElement(GT,{backgroundColor:i||"",bordercolor:n},f.createElement(sh,{type:c,isCompact:a},r)))}const YT=w.div` - display: flex; - align-items: center; - box-sizing: border-box; - display: flex; - align-items: center; - justify-content: center; - background-color: ${e=>e.backgroundColor}; - color: ${e=>e.textColor}; - border-radius: 20px; - height: ${({size:e})=>e}px; - width: ${({size:e})=>e}px; - text-decoration: ${e=>e.strikethrough?"solid !important":"inherit"}; -`;function lh({urgency:e,colors:t,urgencyColors:r}){let n=t.grey20,o=t.white;switch(e){case 1:n=r[1].background,o=t.grey100;break;case 2:n=r[2].background,o=t.grey100;break;case 3:n=r[3].background,o=t.grey100;break;case 4:n=r[4].background,o=t.grey100;break;case 5:n=r[5].background,o=t.grey100;break;case 6:n=r[6].background;break;case 7:n=r[7].background;break;case 8:n=r[8].background;break;case 9:n=r[9].background;break;case 10:n=r[10].background;break}return{backgroundColor:n,textColor:o}}function XT({urgency:e,size:t=18,className:r,strikethrough:n}){const{colors:o,urgencyColors:i}=Kn();return!e||e<1||e>10?f.createElement(f.Fragment,null):f.createElement(YT,{...le("UrgencyCircle"),backgroundColor:lh({urgency:e,colors:o,urgencyColors:i}).backgroundColor,textColor:lh({urgency:e,colors:o,urgencyColors:i}).textColor,size:t,className:r,strikethrough:n},f.createElement(ve,{type:"p11"},e))}w(XT)` - padding: 0 11px; - white-space: nowrap; -`;w(he)` - position: relative; - height: ${({size:e})=>e}px; - min-width: ${({size:e,length:t})=>{const r=e+gy*2,n=r-r/my,o=t-1;return r+n*o}}px; -`;w.span` - display: inline-flex; - position: relative; - vertical-align: middle; - flex-shrink: 0; - user-select: none; -`;w(ve).attrs({type:"p9",as:"p"})` - position: absolute; - top: 0; - right: 0; - transform: scale(1) translate(60%, -60%); - transform-origin: 100% 0%; - padding-left: 4px; - padding-right: 4px; - ${({theme:e,textColor:t})=>t&&E` - color: ${e.colors[t]}; - `} - - background: ${({themeColor:e,theme:t})=>t.colors[e]}; - border-radius: 10px; - height: 18px; - min-width: 18px; - display: flex; - flex-wrap: wrap; - flex-direction: row; - justify-content: center; - align-content: center; -`;w.div.attrs(le("ButtonGroup"))` - display: inline-flex; - ${({quickActions:e})=>e&&E` - filter: drop-shadow(rgba(0, 0, 0, 0.06) 0px 1px 2px) - drop-shadow(rgba(0, 0, 0, 0.06) 0px 1px 2px); - `} - ${by}, ${$O} { - flex: 0 1 auto; - position: relative; - - &:not(:last-child) { - border-bottom-right-radius: 0%; - border-top-right-radius: 0%; - } - - &:not(:first-child) { - border-bottom-left-radius: 0%; - border-top-left-radius: 0%; - border-left: none; - } - ${({quickActions:e})=>e&&E` - box-shadow: none; - &:not(:first-child) { - border-left: 1px solid ${$e("systemShade30")} !important; - } - `} - } -`;w(ve)` - ::before { - content: "<"; - } - - ::after { - content: ">"; - } -`;w(ve)` - ::before { - content: "#"; - } -`;w(he)` - box-sizing: border-box; - background-color: ${({theme:e})=>e.colors.brandShade20}; - border-radius: 10px; - height: 20px; - width: fit-content; - max-width: 100%; - overflow: hidden; - padding: 2px 5px 2px 10px; - font-size: 11px; - color: #1c3e55; -`;w.input` - display: none; -`;w.span` - position: absolute; - top: 0; - left: 0; - width: ${e=>e.size}px; - height: ${e=>e.size}px; - box-sizing: border-box; - background: ${({disabled:e,error:t,checked:r,theme:n})=>pe({disabled:e,error:t,checked:r}).with({disabled:!0,checked:!0},()=>n.colors.grey40).with({disabled:!0,checked:!1},()=>n.colors.grey10).with({error:!0,checked:!0},()=>n.colors.red100).with({checked:!0},()=>n.colors.brandShade100).otherwise(()=>n.colors.white)}; - border-radius: 3px; - transition: all 150ms; - cursor: ${e=>e.disabled?"not-allowed":"pointer"}; - border: ${({disabled:e,error:t,checked:r,theme:n})=>r?void 0:`solid 1px ${pe({disabled:e,error:t}).with({disabled:!0},()=>n.colors.grey20).with({error:!0},()=>n.colors.red100).otherwise(()=>n.colors.grey40)}`}; - display: flex; - align-items: center; - justify-content: center; - svg { - height: ${e=>e.size-3}px; - width: ${e=>e.size-3}px; - color: ${({theme:e})=>e.colors.white}; - visibility: ${e=>e.checked?"visible":"hidden"}; - } - - &:hover { - border: ${({disabled:e,error:t,checked:r,theme:n,isDisplayOnly:o})=>r||o?void 0:`solid 1px ${pe({disabled:e,error:t}).with({disabled:!0},()=>n.colors.grey20).with({error:!0},()=>n.colors.red100).otherwise(()=>n.colors.grey80)}`}; - } -`;w.div` - width: ${e=>e.size}px; - height: ${e=>e.size}px; - display: inline-flex; - align-items: center; - position: relative; - border-radius: 4px; - - &::before { - content: ""; - vertical-align: middle; - height: 100%; - } - &:focus { - outline: 2px solid ${({theme:e})=>e.colors.cyan90}; - } -`;w.label` - display: flex; - align-items: center; - gap: 8px; -`;w(j)` - color: ${({checked:e,disabled:t,error:r,theme:n})=>pe({checked:e,disabled:t,error:r}).with({disabled:!0},()=>n.colors.grey20).with({error:!0},()=>n.colors.red100).with({checked:!0},()=>n.colors.brandShade100).otherwise(()=>n.colors.grey40)}; -`;const KT=w(he)` - display: none; - position: absolute; - right: 0; - top: 0; - background-color: ${({theme:e})=>e.colors.white}; - border: 1px solid ${({theme:e})=>e.colors.brandShade20}; - border-radius: 0 0 0 5px; - padding: 6px 8px; - > button { - height: 10px; - width: 10px; - } -`;w.div` - position: relative; - :hover { - ${KT} { - display: block; - } - } -`;w.label` - background-color: ${({backgroundColor:e,theme:t})=>e??t.colors.white}; - display: flex; - :hover { - cursor: pointer; - background-color: ${({theme:e})=>e.colors.brandShade10}; - .hoverTextBlue { - color: ${({theme:e})=>e.colors.brandShade100}; - } - } -`;w.div` - display: flex; - padding: 10px 11px 10px 0; - width: 100%; - height: 100%; - border-bottom: 1px solid ${({theme:e})=>e.colors.grey20}; - margin-left: 10px; - min-width: 0; -`;w(he)` - width: 100%; - border-bottom: ${({theme:e,noBorder:t})=>t?"0px":`1px solid ${e.colors.grey10}`}; - padding: 6px 12px 6px 0; -`;w(he)` - position: relative; - width: 100%; - .textGrey { - color: ${({theme:e})=>e.colors.grey80}; - } - ${({noHover:e})=>!e&&E` - :hover { - cursor: pointer; - background-color: ${({theme:t})=>t.colors.brandShade10}; - .hoverTextBlue { - color: ${({theme:t})=>t.colors.brandShade100}; - } - } - `} -`;w(he)` - flex: 1 1 0; - min-width: 0; -`;w(ve).attrs({as:"p",type:"p6",overflow:"ellipsis"})` - flex: 2; - font-size: 10px; -`;w(ve).attrs({as:"p",type:"p8",overflow:"ellipsis"})` - color: ${e=>e.theme.colors.grey80}; - flex: 1; - font-size: 10px; - padding-left: 4px; - padding-right: 8px; -`;w(ve).attrs({as:"p",type:"p5",overflow:"ellipsis"})``;w(ve).attrs({as:"p",type:"p5",overflow:"ellipsis"})` - color: ${e=>e.theme.colors.grey80}; - margin-right: 4px; -`;w.span` - color: ${({theme:e})=>e.colors.grey80}; - font-family: monospace; - font-size: 9px; - word-break: normal; -`;w(he)` - ${({isLoading:e})=>!e&&E` - overflow: hidden; - `}; - transition: color 0.2s ease-in, background-color 0.2s ease-in, border-color 0.2s ease-in; - cursor: pointer; - background-color: ${({theme:e,isGreyed:t})=>t?e.colors.brandShade10:e.colors.white}; - border-bottom: 1px solid ${({theme:e})=>e.colors.grey20}; - border-top: 1px solid ${({theme:e})=>e.colors.white}; - min-height: ${({height:e,isLoading:t})=>t?"auto":e?`${e}px`:"0"}; - - ${({theme:e,isSelected:t,isOpening:r})=>!!(t||r)&&` - background-color: ${e.colors.brandShade10}; - border-bottom: 1px solid ${e.colors.brandShade100}; - border-top: 1px solid ${e.colors.brandShade100}; - `}; - - ${({theme:e,isNew:t})=>t&&` - background-color: ${e.colors.cyan10}; - border-bottom: 1px solid ${e.colors.cyan80}; - border-top: 1px solid ${e.colors.cyan80}; - `}; - - padding: 12px 8px; - padding-top: 11px; - width: ${({width:e})=>e}; - - ${({isLoading:e,isSelected:t,theme:r,isOpening:n})=>!e&&` - :hover { - background-color: ${r.colors.brandShade10}; - border-bottom: 1px solid - ${t||n?r.colors.brandShade100:r.colors.grey40}; - border-top: 1px solid - ${t||n?r.colors.brandShade100:r.colors.grey40}; - } - - `} -`;w.div` - background-color: ${({theme:e})=>e.colors.grey5}; - height: 16px; - width: ${({width:e})=>e}px; - min-width: 16px; - border-radius: ${({round:e})=>e?"100%":"4px"}; -`;w(he)` - background-color: ${({theme:e})=>e.colors.white}; - border: 1px solid ${({theme:e})=>e.colors.grey20}; - - ${({theme:e,isSelected:t})=>t&&` - background-color: ${e.colors.brandShade10}; - border: 1px solid ${e.colors.brandShade100}; - `}; - - ${({theme:e,isNew:t})=>t&&` - background-color: ${e.colors.cyan10}; - border: 1px solid ${e.colors.cyan80}; - `}; - - padding: 12px 11px; - width: ${({width:e})=>e}px; - border-radius: 6px; - - ${({isLoading:e,isSelected:t,theme:r})=>!e&&` - :hover { - background-color: ${r.colors.brandShade10}; - border: 1px solid - ${t?r.colors.brandShade100:r.colors.grey40}; - } - - `} -`;w.div` - position: relative; - margin-top: -14px; - margin-left: -12px; - border-radius: 6px 0 6px 0; -`;w.div` - background-color: ${({theme:e})=>e.colors.grey5}; - height: 16px; - width: ${({width:e})=>e}px; - min-width: 16px; - border-radius: 4px; -`;const ZT=E` - background-color: ${({theme:e})=>e.colors.yellow10}; -`,JT=E` - background-color: ${({theme:e})=>e.colors.white}; -`,QT=E` - background-color: ${({theme:e})=>e.colors.grey5}; - border-color: ${({theme:e})=>e.colors.grey20}; -`;w.div` - overflow: hidden; - width: 100%; - position: relative; - transition: border-color 0.2s ease-in-out; - border: 1px solid transparent; - border-radius: 8px; - box-shadow: 0px 3px 5px rgba(0, 0, 0, 0.1); - ${e=>{var t;return pe((t=e.messageType)!==null&&t!==void 0?t:"user").with("pending",()=>QT).with("agent",()=>ZT).with("user",()=>JT).exhaustive()}} - - ${e=>e.isOfficialResponse&&E` - border-color: ${({theme:t})=>t.colors.purple80}; - `} - - :focus-within { - border: 1px solid ${({theme:e})=>e.colors.cyan80}; - } -`;w(he)` - background-color: ${({theme:e})=>e.colors.white}; - border-top: 1px solid ${({theme:e})=>e.colors.grey10}; - border-bottom: 1px solid ${({theme:e})=>e.colors.grey10}; - - padding: 12px 11px; - - width: 100%; - - ${({theme:e,isSelected:t})=>t&&` - border-top: 1px solid ${e.colors.brandShade100}; - border-bottom: 1px solid ${e.colors.brandShade100}; - `}; - - ${({theme:e,isNew:t})=>t&&` - background-color: ${e.colors.cyan10}; - border-top: 1px solid ${e.colors.cyan80}; - border-bottom: 1px solid ${e.colors.cyan80}; - `}; - - ${({theme:e,isPending:t,isNew:r})=>t&&` - background-color: ${r?e.colors.cyan10:e.colors.grey5}; - `}; - - ${({isLoading:e,isSelected:t,theme:r})=>!e&&` - :hover { - background-color: ${r.colors.brandShade10}; - border-top: 1px solid - ${t?r.colors.brandShade100:r.colors.grey40}; - border-bottom: 1px solid - ${t?r.colors.brandShade100:r.colors.grey40}; - } - - `} -`;w.div` - position: relative; - border-radius: 6px 0 6px 0; - padding-right: 12px; - margin-top: 5px; -`;w.div` - background-color: ${({theme:e})=>e.colors.grey5}; - height: 16px; - width: ${({width:e})=>e}px; - min-width: 16px; - border-radius: 4px; -`;var lu=function(e,t){return lu=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,n){r.__proto__=n}||function(r,n){for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(r[o]=n[o])},lu(e,t)};function Py(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");lu(e,t);function r(){this.constructor=e}e.prototype=t===null?Object.create(t):(r.prototype=t.prototype,new r)}var M=function(){return M=Object.assign||function(t){for(var r,n=1,o=arguments.length;n<o;n++){r=arguments[n];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(t[i]=r[i])}return t},M.apply(this,arguments)};function Ot(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]]);return r}function ek(e){var t=typeof Symbol=="function"&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&typeof e.length=="number")return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function Me(e,t){var r=typeof Symbol=="function"&&e[Symbol.iterator];if(!r)return e;var n=r.call(e),o,i=[],a;try{for(;(t===void 0||t-- >0)&&!(o=n.next()).done;)i.push(o.value)}catch(s){a={error:s}}finally{try{o&&!o.done&&(r=n.return)&&r.call(n)}finally{if(a)throw a.error}}return i}function Rt(e,t,r){if(r||arguments.length===2)for(var n=0,o=t.length,i;n<o;n++)(i||!(n in t))&&(i||(i=Array.prototype.slice.call(t,0,n)),i[n]=t[n]);return e.concat(i||Array.prototype.slice.call(t))}var tk="production",zf=typeof process>"u"||process.env===void 0?tk:"production",er=function(e){return{isEnabled:function(t){return e.some(function(r){return!!t[r]})}}},jo={measureLayout:er(["layout","layoutId","drag"]),animation:er(["animate","exit","variants","whileHover","whileTap","whileFocus","whileDrag","whileInView"]),exit:er(["exit"]),drag:er(["drag","dragControls"]),focus:er(["whileFocus"]),hover:er(["whileHover","onHoverStart","onHoverEnd"]),tap:er(["whileTap","onTap","onTapStart","onTapCancel"]),pan:er(["onPan","onPanStart","onPanSessionStart","onPanEnd"]),inView:er(["whileInView","onViewportEnter","onViewportLeave"])};function rk(e){for(var t in e)e[t]!==null&&(t==="projectionNodeConstructor"?jo.projectionNodeConstructor=e[t]:jo[t].Component=e[t])}var nk=function(){},ja=function(){},zy=f.createContext({strict:!1}),_y=Object.keys(jo),ok=_y.length;function ik(e,t,r){var n=[],o=f.useContext(zy);if(!t)return null;zf!=="production"&&r&&o.strict;for(var i=0;i<ok;i++){var a=_y[i],s=jo[a],l=s.isEnabled,c=s.Component;l(e)&&c&&n.push(f.createElement(c,M({key:a},e,{visualElement:t})))}return n}var _f=f.createContext({transformPagePoint:function(e){return e},isStatic:!1,reducedMotion:"never"}),js=f.createContext({});function ak(){return f.useContext(js).visualElement}var ri=f.createContext(null),eo=typeof document<"u",Na=eo?f.useLayoutEffect:f.useEffect,cu={current:null},Iy=!1;function sk(){if(Iy=!0,!!eo)if(window.matchMedia){var e=window.matchMedia("(prefers-reduced-motion)"),t=function(){return cu.current=e.matches};e.addListener(t),t()}else cu.current=!1}function lk(){!Iy&&sk();var e=Me(f.useState(cu.current),1),t=e[0];return t}function ck(){var e=lk(),t=f.useContext(_f).reducedMotion;return t==="never"?!1:t==="always"?!0:e}function uk(e,t,r,n){var o=f.useContext(zy),i=ak(),a=f.useContext(ri),s=ck(),l=f.useRef(void 0);n||(n=o.renderer),!l.current&&n&&(l.current=n(e,{visualState:t,parent:i,props:r,presenceId:a==null?void 0:a.id,blockInitialAnimation:(a==null?void 0:a.initial)===!1,shouldReduceMotion:s}));var c=l.current;return Na(function(){c==null||c.syncRender()}),f.useEffect(function(){var u;(u=c==null?void 0:c.animationState)===null||u===void 0||u.animateChanges()}),Na(function(){return function(){return c==null?void 0:c.notifyUnmount()}},[]),c}function On(e){return typeof e=="object"&&Object.prototype.hasOwnProperty.call(e,"current")}function fk(e,t,r){return f.useCallback(function(n){var o;n&&((o=e.mount)===null||o===void 0||o.call(e,n)),t&&(n?t.mount(n):t.unmount()),r&&(typeof r=="function"?r(n):On(r)&&(r.current=n))},[t])}function Ry(e){return Array.isArray(e)}function Pt(e){return typeof e=="string"||Ry(e)}function dk(e){var t={};return e.forEachValue(function(r,n){return t[n]=r.get()}),t}function pk(e){var t={};return e.forEachValue(function(r,n){return t[n]=r.getVelocity()}),t}function Ly(e,t,r,n,o){var i;return n===void 0&&(n={}),o===void 0&&(o={}),typeof t=="function"&&(t=t(r??e.custom,n,o)),typeof t=="string"&&(t=(i=e.variants)===null||i===void 0?void 0:i[t]),typeof t=="function"&&(t=t(r??e.custom,n,o)),t}function Ns(e,t,r){var n=e.getProps();return Ly(n,t,r??n.custom,dk(e),pk(e))}function Bs(e){var t;return typeof((t=e.animate)===null||t===void 0?void 0:t.start)=="function"||Pt(e.initial)||Pt(e.animate)||Pt(e.whileHover)||Pt(e.whileDrag)||Pt(e.whileTap)||Pt(e.whileFocus)||Pt(e.exit)}function Fy(e){return!!(Bs(e)||e.variants)}function hk(e,t){if(Bs(e)){var r=e.initial,n=e.animate;return{initial:r===!1||Pt(r)?r:void 0,animate:Pt(n)?n:void 0}}return e.inherit!==!1?t:{}}function vk(e){var t=hk(e,f.useContext(js)),r=t.initial,n=t.animate;return f.useMemo(function(){return{initial:r,animate:n}},[ch(r),ch(n)])}function ch(e){return Array.isArray(e)?e.join(" "):e}function ni(e){var t=f.useRef(null);return t.current===null&&(t.current=e()),t.current}var Eo={hasAnimatedSinceResize:!0,hasEverUpdated:!1},mk=1;function gk(){return ni(function(){if(Eo.hasEverUpdated)return mk++})}var If=f.createContext({}),Dy=f.createContext({});function yk(e,t,r,n){var o,i=t.layoutId,a=t.layout,s=t.drag,l=t.dragConstraints,c=t.layoutScroll,u=f.useContext(Dy);!n||!r||r!=null&&r.projection||(r.projection=new n(e,r.getLatestValues(),(o=r.parent)===null||o===void 0?void 0:o.projection),r.projection.setOptions({layoutId:i,layout:a,alwaysMeasureLayout:!!s||l&&On(l),visualElement:r,scheduleRender:function(){return r.scheduleRender()},animationType:typeof a=="string"?a:"both",initialPromotionConfig:u,layoutScroll:c}))}var bk=function(e){Py(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t.prototype.getSnapshotBeforeUpdate=function(){return this.updateProps(),null},t.prototype.componentDidUpdate=function(){},t.prototype.updateProps=function(){var r=this.props,n=r.visualElement,o=r.props;n&&n.setProps(o)},t.prototype.render=function(){return this.props.children},t}(ye.Component);function xk(e){var t=e.preloadedFeatures,r=e.createVisualElement,n=e.projectionNodeConstructor,o=e.useRender,i=e.useVisualState,a=e.Component;t&&rk(t);function s(l,c){var u=wk(l);l=M(M({},l),{layoutId:u});var d=f.useContext(_f),p=null,v=vk(l),h=d.isStatic?void 0:gk(),m=i(l,d.isStatic);return!d.isStatic&&eo&&(v.visualElement=uk(a,m,M(M({},d),l),r),yk(h,l,v.visualElement,n||jo.projectionNodeConstructor),p=ik(l,v.visualElement,t)),f.createElement(bk,{visualElement:v.visualElement,props:M(M({},d),l)},p,f.createElement(js.Provider,{value:v},o(a,l,h,fk(m,v.visualElement,c),m,d.isStatic,v.visualElement)))}return f.forwardRef(s)}function wk(e){var t,r=e.layoutId,n=(t=f.useContext(If))===null||t===void 0?void 0:t.id;return n&&r!==void 0?n+"-"+r:r}function $k(e){function t(n,o){return o===void 0&&(o={}),xk(e(n,o))}if(typeof Proxy>"u")return t;var r=new Map;return new Proxy(t,{get:function(n,o){return r.has(o)||r.set(o,t(o)),r.get(o)}})}var Ek=["animate","circle","defs","desc","ellipse","g","image","line","filter","marker","mask","metadata","path","pattern","polygon","polyline","rect","stop","svg","switch","symbol","text","tspan","use","view"];function Rf(e){return typeof e!="string"||e.includes("-")?!1:!!(Ek.indexOf(e)>-1||/[A-Z]/.test(e))}var Ba={};function Sk(e){Object.assign(Ba,e)}var uu=["","X","Y","Z"],Ck=["translate","scale","rotate","skew"],No=["transformPerspective","x","y","z"];Ck.forEach(function(e){return uu.forEach(function(t){return No.push(e+t)})});function Ok(e,t){return No.indexOf(e)-No.indexOf(t)}var Tk=new Set(No);function oi(e){return Tk.has(e)}var kk=new Set(["originX","originY","originZ"]);function My(e){return kk.has(e)}function jy(e,t){var r=t.layout,n=t.layoutId;return oi(e)||My(e)||(r||n!==void 0)&&(!!Ba[e]||e==="opacity")}var or=function(e){return!!(e!==null&&typeof e=="object"&&e.getVelocity)},Ak={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"};function Pk(e,t,r,n){var o=e.transform,i=e.transformKeys,a=t.enableHardwareAcceleration,s=a===void 0?!0:a,l=t.allowTransformNone,c=l===void 0?!0:l,u="";i.sort(Ok);for(var d=!1,p=i.length,v=0;v<p;v++){var h=i[v];u+="".concat(Ak[h]||h,"(").concat(o[h],") "),h==="z"&&(d=!0)}return!d&&s?u+="translateZ(0)":u=u.trim(),n?u=n(o,r?"":u):c&&r&&(u="none"),u}function zk(e){var t=e.originX,r=t===void 0?"50%":t,n=e.originY,o=n===void 0?"50%":n,i=e.originZ,a=i===void 0?0:i;return"".concat(r," ").concat(o," ").concat(a)}function Ny(e){return e.startsWith("--")}var _k=function(e,t){return t&&typeof e=="number"?t.transform(e):e};const By=(e,t)=>r=>Math.max(Math.min(r,t),e),So=e=>e%1?Number(e.toFixed(5)):e,Bo=/(-)?([\d]*\.?[\d])+/g,fu=/(#[0-9a-f]{6}|#[0-9a-f]{3}|#(?:[0-9a-f]{2}){2,4}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2,3}\s*\/*\s*[\d\.]+%?\))/gi,Ik=/^(#[0-9a-f]{3}|#(?:[0-9a-f]{2}){2,4}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2,3}\s*\/*\s*[\d\.]+%?\))$/i;function ii(e){return typeof e=="string"}const nn={test:e=>typeof e=="number",parse:parseFloat,transform:e=>e},Co=Object.assign(Object.assign({},nn),{transform:By(0,1)}),Ai=Object.assign(Object.assign({},nn),{default:1}),ai=e=>({test:t=>ii(t)&&t.endsWith(e)&&t.split(" ").length===1,parse:parseFloat,transform:t=>`${t}${e}`}),mr=ai("deg"),Kt=ai("%"),oe=ai("px"),Rk=ai("vh"),Lk=ai("vw"),uh=Object.assign(Object.assign({},Kt),{parse:e=>Kt.parse(e)/100,transform:e=>Kt.transform(e*100)}),Lf=(e,t)=>r=>!!(ii(r)&&Ik.test(r)&&r.startsWith(e)||t&&Object.prototype.hasOwnProperty.call(r,t)),Vy=(e,t,r)=>n=>{if(!ii(n))return n;const[o,i,a,s]=n.match(Bo);return{[e]:parseFloat(o),[t]:parseFloat(i),[r]:parseFloat(a),alpha:s!==void 0?parseFloat(s):1}},Ur={test:Lf("hsl","hue"),parse:Vy("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:r,alpha:n=1})=>"hsla("+Math.round(e)+", "+Kt.transform(So(t))+", "+Kt.transform(So(r))+", "+So(Co.transform(n))+")"},Fk=By(0,255),Sl=Object.assign(Object.assign({},nn),{transform:e=>Math.round(Fk(e))}),xr={test:Lf("rgb","red"),parse:Vy("red","green","blue"),transform:({red:e,green:t,blue:r,alpha:n=1})=>"rgba("+Sl.transform(e)+", "+Sl.transform(t)+", "+Sl.transform(r)+", "+So(Co.transform(n))+")"};function Dk(e){let t="",r="",n="",o="";return e.length>5?(t=e.substr(1,2),r=e.substr(3,2),n=e.substr(5,2),o=e.substr(7,2)):(t=e.substr(1,1),r=e.substr(2,1),n=e.substr(3,1),o=e.substr(4,1),t+=t,r+=r,n+=n,o+=o),{red:parseInt(t,16),green:parseInt(r,16),blue:parseInt(n,16),alpha:o?parseInt(o,16)/255:1}}const du={test:Lf("#"),parse:Dk,transform:xr.transform},st={test:e=>xr.test(e)||du.test(e)||Ur.test(e),parse:e=>xr.test(e)?xr.parse(e):Ur.test(e)?Ur.parse(e):du.parse(e),transform:e=>ii(e)?e:e.hasOwnProperty("red")?xr.transform(e):Ur.transform(e)},Wy="${c}",Uy="${n}";function Mk(e){var t,r,n,o;return isNaN(e)&&ii(e)&&((r=(t=e.match(Bo))===null||t===void 0?void 0:t.length)!==null&&r!==void 0?r:0)+((o=(n=e.match(fu))===null||n===void 0?void 0:n.length)!==null&&o!==void 0?o:0)>0}function Hy(e){typeof e=="number"&&(e=`${e}`);const t=[];let r=0;const n=e.match(fu);n&&(r=n.length,e=e.replace(fu,Wy),t.push(...n.map(st.parse)));const o=e.match(Bo);return o&&(e=e.replace(Bo,Uy),t.push(...o.map(nn.parse))),{values:t,numColors:r,tokenised:e}}function Gy(e){return Hy(e).values}function qy(e){const{values:t,numColors:r,tokenised:n}=Hy(e),o=t.length;return i=>{let a=n;for(let s=0;s<o;s++)a=a.replace(s<r?Wy:Uy,s<r?st.transform(i[s]):So(i[s]));return a}}const jk=e=>typeof e=="number"?0:e;function Nk(e){const t=Gy(e);return qy(e)(t.map(jk))}const ir={test:Mk,parse:Gy,createTransformer:qy,getAnimatableNone:Nk},Bk=new Set(["brightness","contrast","saturate","opacity"]);function Vk(e){let[t,r]=e.slice(0,-1).split("(");if(t==="drop-shadow")return e;const[n]=r.match(Bo)||[];if(!n)return e;const o=r.replace(n,"");let i=Bk.has(t)?1:0;return n!==r&&(i*=100),t+"("+i+o+")"}const Wk=/([a-z-]*)\(.*?\)/g,pu=Object.assign(Object.assign({},ir),{getAnimatableNone:e=>{const t=e.match(Wk);return t?t.map(Vk).join(" "):e}});var fh=M(M({},nn),{transform:Math.round}),Yy={borderWidth:oe,borderTopWidth:oe,borderRightWidth:oe,borderBottomWidth:oe,borderLeftWidth:oe,borderRadius:oe,radius:oe,borderTopLeftRadius:oe,borderTopRightRadius:oe,borderBottomRightRadius:oe,borderBottomLeftRadius:oe,width:oe,maxWidth:oe,height:oe,maxHeight:oe,size:oe,top:oe,right:oe,bottom:oe,left:oe,padding:oe,paddingTop:oe,paddingRight:oe,paddingBottom:oe,paddingLeft:oe,margin:oe,marginTop:oe,marginRight:oe,marginBottom:oe,marginLeft:oe,rotate:mr,rotateX:mr,rotateY:mr,rotateZ:mr,scale:Ai,scaleX:Ai,scaleY:Ai,scaleZ:Ai,skew:mr,skewX:mr,skewY:mr,distance:oe,translateX:oe,translateY:oe,translateZ:oe,x:oe,y:oe,z:oe,perspective:oe,transformPerspective:oe,opacity:Co,originX:uh,originY:uh,originZ:oe,zIndex:fh,fillOpacity:Co,strokeOpacity:Co,numOctaves:fh};function Ff(e,t,r,n){var o,i=e.style,a=e.vars,s=e.transform,l=e.transformKeys,c=e.transformOrigin;l.length=0;var u=!1,d=!1,p=!0;for(var v in t){var h=t[v];if(Ny(v)){a[v]=h;continue}var m=Yy[v],y=_k(h,m);if(oi(v)){if(u=!0,s[v]=y,l.push(v),!p)continue;h!==((o=m.default)!==null&&o!==void 0?o:0)&&(p=!1)}else My(v)?(c[v]=y,d=!0):i[v]=y}u?i.transform=Pk(e,r,p,n):n?i.transform=n({},""):!t.transform&&i.transform&&(i.transform="none"),d&&(i.transformOrigin=zk(c))}var Df=function(){return{style:{},transform:{},transformKeys:[],transformOrigin:{},vars:{}}};function Xy(e,t,r){for(var n in t)!or(t[n])&&!jy(n,r)&&(e[n]=t[n])}function Uk(e,t,r){var n=e.transformTemplate;return f.useMemo(function(){var o=Df();Ff(o,t,{enableHardwareAcceleration:!r},n);var i=o.vars,a=o.style;return M(M({},i),a)},[t])}function Hk(e,t,r){var n=e.style||{},o={};return Xy(o,n,e),Object.assign(o,Uk(e,t,r)),e.transformValues&&(o=e.transformValues(o)),o}function Gk(e,t,r){var n={},o=Hk(e,t,r);return e.drag&&e.dragListener!==!1&&(n.draggable=!1,o.userSelect=o.WebkitUserSelect=o.WebkitTouchCallout="none",o.touchAction=e.drag===!0?"none":"pan-".concat(e.drag==="x"?"y":"x")),n.style=o,n}var qk=new Set(["initial","animate","exit","style","variants","transition","transformTemplate","transformValues","custom","inherit","layout","layoutId","layoutDependency","onLayoutAnimationStart","onLayoutAnimationComplete","onLayoutMeasure","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","drag","dragControls","dragListener","dragConstraints","dragDirectionLock","dragSnapToOrigin","_dragX","_dragY","dragElastic","dragMomentum","dragPropagation","dragTransition","whileDrag","onPan","onPanStart","onPanEnd","onPanSessionStart","onTap","onTapStart","onTapCancel","onHoverStart","onHoverEnd","whileFocus","whileTap","whileHover","whileInView","onViewportEnter","onViewportLeave","viewport","layoutScroll"]);function Va(e){return qk.has(e)}var Ky=function(e){return!Va(e)};function Yk(e){e&&(Ky=function(t){return t.startsWith("on")?!Va(t):e(t)})}try{Yk(require("@emotion/is-prop-valid").default)}catch{}function Xk(e,t,r){var n={};for(var o in e)(Ky(o)||r===!0&&Va(o)||!t&&!Va(o)||e.draggable&&o.startsWith("onDrag"))&&(n[o]=e[o]);return n}function dh(e,t,r){return typeof e=="string"?e:oe.transform(t+r*e)}function Kk(e,t,r){var n=dh(t,e.x,e.width),o=dh(r,e.y,e.height);return"".concat(n," ").concat(o)}var Zk={offset:"stroke-dashoffset",array:"stroke-dasharray"},Jk={offset:"strokeDashoffset",array:"strokeDasharray"};function Qk(e,t,r,n,o){r===void 0&&(r=1),n===void 0&&(n=0),o===void 0&&(o=!0),e.pathLength=1;var i=o?Zk:Jk;e[i.offset]=oe.transform(-n);var a=oe.transform(t),s=oe.transform(r);e[i.array]="".concat(a," ").concat(s)}function Mf(e,t,r,n){var o=t.attrX,i=t.attrY,a=t.originX,s=t.originY,l=t.pathLength,c=t.pathSpacing,u=c===void 0?1:c,d=t.pathOffset,p=d===void 0?0:d,v=Ot(t,["attrX","attrY","originX","originY","pathLength","pathSpacing","pathOffset"]);Ff(e,v,r,n),e.attrs=e.style,e.style={};var h=e.attrs,m=e.style,y=e.dimensions;h.transform&&(y&&(m.transform=h.transform),delete h.transform),y&&(a!==void 0||s!==void 0||m.transform)&&(m.transformOrigin=Kk(y,a!==void 0?a:.5,s!==void 0?s:.5)),o!==void 0&&(h.x=o),i!==void 0&&(h.y=i),l!==void 0&&Qk(h,l,u,p,!1)}var Zy=function(){return M(M({},Df()),{attrs:{}})};function eA(e,t){var r=f.useMemo(function(){var o=Zy();return Mf(o,t,{enableHardwareAcceleration:!1},e.transformTemplate),M(M({},o.attrs),{style:M({},o.style)})},[t]);if(e.style){var n={};Xy(n,e.style,e),r.style=M(M({},n),r.style)}return r}function tA(e){e===void 0&&(e=!1);var t=function(r,n,o,i,a,s){var l=a.latestValues,c=Rf(r)?eA:Gk,u=c(n,l,s),d=Xk(n,typeof r=="string",e),p=M(M(M({},d),u),{ref:i});return o&&(p["data-projection-id"]=o),f.createElement(r,p)};return t}var rA=/([a-z])([A-Z])/g,nA="$1-$2",Jy=function(e){return e.replace(rA,nA).toLowerCase()};function Qy(e,t,r,n){var o=t.style,i=t.vars;Object.assign(e.style,o,n&&n.getProjectionStyles(r));for(var a in i)e.style.setProperty(a,i[a])}var eb=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform","pathLength"]);function tb(e,t,r,n){Qy(e,t,void 0,n);for(var o in t.attrs)e.setAttribute(eb.has(o)?o:Jy(o),t.attrs[o])}function jf(e){var t=e.style,r={};for(var n in t)(or(t[n])||jy(n,e))&&(r[n]=t[n]);return r}function rb(e){var t=jf(e);for(var r in e)if(or(e[r])){var n=r==="x"||r==="y"?"attr"+r.toUpperCase():r;t[n]=e[r]}return t}function Nf(e){return typeof e=="object"&&typeof e.start=="function"}var Vo=function(e){return Array.isArray(e)},oA=function(e){return!!(e&&typeof e=="object"&&e.mix&&e.toValue)},nb=function(e){return Vo(e)?e[e.length-1]||0:e};function da(e){var t=or(e)?e.get():e;return oA(t)?t.toValue():t}function ph(e,t,r,n){var o=e.scrapeMotionValuesFromProps,i=e.createRenderState,a=e.onMount,s={latestValues:iA(t,r,n,o),renderState:i()};return a&&(s.mount=function(l){return a(t,l,s)}),s}var ob=function(e){return function(t,r){var n=f.useContext(js),o=f.useContext(ri);return r?ph(e,t,n,o):ni(function(){return ph(e,t,n,o)})}};function iA(e,t,r,n){var o={},i=(r==null?void 0:r.initial)===!1,a=n(e);for(var s in a)o[s]=da(a[s]);var l=e.initial,c=e.animate,u=Bs(e),d=Fy(e);t&&d&&!u&&e.inherit!==!1&&(l??(l=t.initial),c??(c=t.animate));var p=i||l===!1,v=p?c:l;if(v&&typeof v!="boolean"&&!Nf(v)){var h=Array.isArray(v)?v:[v];h.forEach(function(m){var y=Ly(e,m);if(y){var x=y.transitionEnd;y.transition;var b=Ot(y,["transitionEnd","transition"]);for(var $ in b){var g=b[$];if(Array.isArray(g)){var C=p?g.length-1:0;g=g[C]}g!==null&&(o[$]=g)}for(var $ in x)o[$]=x[$]}})}return o}var aA={useVisualState:ob({scrapeMotionValuesFromProps:rb,createRenderState:Zy,onMount:function(e,t,r){var n=r.renderState,o=r.latestValues;try{n.dimensions=typeof t.getBBox=="function"?t.getBBox():t.getBoundingClientRect()}catch{n.dimensions={x:0,y:0,width:0,height:0}}Mf(n,o,{enableHardwareAcceleration:!1},e.transformTemplate),tb(t,n)}})},sA={useVisualState:ob({scrapeMotionValuesFromProps:jf,createRenderState:Df})};function lA(e,t,r,n,o){var i=t.forwardMotionProps,a=i===void 0?!1:i,s=Rf(e)?aA:sA;return M(M({},s),{preloadedFeatures:r,useRender:tA(a),createVisualElement:n,projectionNodeConstructor:o,Component:e})}var Oe;(function(e){e.Animate="animate",e.Hover="whileHover",e.Tap="whileTap",e.Drag="whileDrag",e.Focus="whileFocus",e.InView="whileInView",e.Exit="exit"})(Oe||(Oe={}));function Vs(e,t,r,n){return n===void 0&&(n={passive:!0}),e.addEventListener(t,r,n),function(){return e.removeEventListener(t,r)}}function hu(e,t,r,n){f.useEffect(function(){var o=e.current;if(r&&o)return Vs(o,t,r,n)},[e,t,r,n])}function cA(e){var t=e.whileFocus,r=e.visualElement,n=function(){var i;(i=r.animationState)===null||i===void 0||i.setActive(Oe.Focus,!0)},o=function(){var i;(i=r.animationState)===null||i===void 0||i.setActive(Oe.Focus,!1)};hu(r,"focus",t?n:void 0),hu(r,"blur",t?o:void 0)}function ib(e){return typeof PointerEvent<"u"&&e instanceof PointerEvent?e.pointerType==="mouse":e instanceof MouseEvent}function ab(e){var t=!!e.touches;return t}function uA(e){return function(t){var r=t instanceof MouseEvent,n=!r||r&&t.button===0;n&&e(t)}}var fA={pageX:0,pageY:0};function dA(e,t){t===void 0&&(t="page");var r=e.touches[0]||e.changedTouches[0],n=r||fA;return{x:n[t+"X"],y:n[t+"Y"]}}function pA(e,t){return t===void 0&&(t="page"),{x:e[t+"X"],y:e[t+"Y"]}}function Bf(e,t){return t===void 0&&(t="page"),{point:ab(e)?dA(e,t):pA(e,t)}}var sb=function(e,t){t===void 0&&(t=!1);var r=function(n){return e(n,Bf(n))};return t?uA(r):r},hA=function(){return eo&&window.onpointerdown===null},vA=function(){return eo&&window.ontouchstart===null},mA=function(){return eo&&window.onmousedown===null},gA={pointerdown:"mousedown",pointermove:"mousemove",pointerup:"mouseup",pointercancel:"mousecancel",pointerover:"mouseover",pointerout:"mouseout",pointerenter:"mouseenter",pointerleave:"mouseleave"},yA={pointerdown:"touchstart",pointermove:"touchmove",pointerup:"touchend",pointercancel:"touchcancel"};function lb(e){return hA()?e:vA()?yA[e]:mA()?gA[e]:e}function zn(e,t,r,n){return Vs(e,lb(t),sb(r,t==="pointerdown"),n)}function Wa(e,t,r,n){return hu(e,lb(t),r&&sb(r,t==="pointerdown"),n)}function cb(e){var t=null;return function(){var r=function(){t=null};return t===null?(t=e,r):!1}}var hh=cb("dragHorizontal"),vh=cb("dragVertical");function ub(e){var t=!1;if(e==="y")t=vh();else if(e==="x")t=hh();else{var r=hh(),n=vh();r&&n?t=function(){r(),n()}:(r&&r(),n&&n())}return t}function fb(){var e=ub(!0);return e?(e(),!1):!0}function mh(e,t,r){return function(n,o){var i;!ib(n)||fb()||((i=e.animationState)===null||i===void 0||i.setActive(Oe.Hover,t),r==null||r(n,o))}}function bA(e){var t=e.onHoverStart,r=e.onHoverEnd,n=e.whileHover,o=e.visualElement;Wa(o,"pointerenter",t||n?mh(o,!0,t):void 0,{passive:!t}),Wa(o,"pointerleave",r||n?mh(o,!1,r):void 0,{passive:!r})}var db=function(e,t){return t?e===t?!0:db(e,t.parentElement):!1};function Vf(e){return f.useEffect(function(){return function(){return e()}},[])}const Ua=(e,t,r)=>Math.min(Math.max(r,e),t),Cl=.001,xA=.01,gh=10,wA=.05,$A=1;function EA({duration:e=800,bounce:t=.25,velocity:r=0,mass:n=1}){let o,i;nk(e<=gh*1e3);let a=1-t;a=Ua(wA,$A,a),e=Ua(xA,gh,e/1e3),a<1?(o=c=>{const u=c*a,d=u*e,p=u-r,v=vu(c,a),h=Math.exp(-d);return Cl-p/v*h},i=c=>{const d=c*a*e,p=d*r+r,v=Math.pow(a,2)*Math.pow(c,2)*e,h=Math.exp(-d),m=vu(Math.pow(c,2),a);return(-o(c)+Cl>0?-1:1)*((p-v)*h)/m}):(o=c=>{const u=Math.exp(-c*e),d=(c-r)*e+1;return-Cl+u*d},i=c=>{const u=Math.exp(-c*e),d=(r-c)*(e*e);return u*d});const s=5/e,l=CA(o,i,s);if(e=e*1e3,isNaN(l))return{stiffness:100,damping:10,duration:e};{const c=Math.pow(l,2)*n;return{stiffness:c,damping:a*2*Math.sqrt(n*c),duration:e}}}const SA=12;function CA(e,t,r){let n=r;for(let o=1;o<SA;o++)n=n-e(n)/t(n);return n}function vu(e,t){return e*Math.sqrt(1-t*t)}const OA=["duration","bounce"],TA=["stiffness","damping","mass"];function yh(e,t){return t.some(r=>e[r]!==void 0)}function kA(e){let t=Object.assign({velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1},e);if(!yh(e,TA)&&yh(e,OA)){const r=EA(e);t=Object.assign(Object.assign(Object.assign({},t),r),{velocity:0,mass:1}),t.isResolvedFromDuration=!0}return t}function Wf(e){var{from:t=0,to:r=1,restSpeed:n=2,restDelta:o}=e,i=Ot(e,["from","to","restSpeed","restDelta"]);const a={done:!1,value:t};let{stiffness:s,damping:l,mass:c,velocity:u,duration:d,isResolvedFromDuration:p}=kA(i),v=bh,h=bh;function m(){const y=u?-(u/1e3):0,x=r-t,b=l/(2*Math.sqrt(s*c)),$=Math.sqrt(s/c)/1e3;if(o===void 0&&(o=Math.min(Math.abs(r-t)/100,.4)),b<1){const g=vu($,b);v=C=>{const S=Math.exp(-b*$*C);return r-S*((y+b*$*x)/g*Math.sin(g*C)+x*Math.cos(g*C))},h=C=>{const S=Math.exp(-b*$*C);return b*$*S*(Math.sin(g*C)*(y+b*$*x)/g+x*Math.cos(g*C))-S*(Math.cos(g*C)*(y+b*$*x)-g*x*Math.sin(g*C))}}else if(b===1)v=g=>r-Math.exp(-$*g)*(x+(y+$*x)*g);else{const g=$*Math.sqrt(b*b-1);v=C=>{const S=Math.exp(-b*$*C),O=Math.min(g*C,300);return r-S*((y+b*$*x)*Math.sinh(O)+g*x*Math.cosh(O))/g}}}return m(),{next:y=>{const x=v(y);if(p)a.done=y>=d;else{const b=h(y)*1e3,$=Math.abs(b)<=n,g=Math.abs(r-x)<=o;a.done=$&&g}return a.value=a.done?r:x,a},flipTarget:()=>{u=-u,[t,r]=[r,t],m()}}}Wf.needsInterpolation=(e,t)=>typeof e=="string"||typeof t=="string";const bh=e=>0,Wo=(e,t,r)=>{const n=t-e;return n===0?1:(r-e)/n},De=(e,t,r)=>-r*e+r*t+e;function Ol(e,t,r){return r<0&&(r+=1),r>1&&(r-=1),r<1/6?e+(t-e)*6*r:r<1/2?t:r<2/3?e+(t-e)*(2/3-r)*6:e}function xh({hue:e,saturation:t,lightness:r,alpha:n}){e/=360,t/=100,r/=100;let o=0,i=0,a=0;if(!t)o=i=a=r;else{const s=r<.5?r*(1+t):r+t-r*t,l=2*r-s;o=Ol(l,s,e+1/3),i=Ol(l,s,e),a=Ol(l,s,e-1/3)}return{red:Math.round(o*255),green:Math.round(i*255),blue:Math.round(a*255),alpha:n}}const AA=(e,t,r)=>{const n=e*e,o=t*t;return Math.sqrt(Math.max(0,r*(o-n)+n))},PA=[du,xr,Ur],wh=e=>PA.find(t=>t.test(e)),pb=(e,t)=>{let r=wh(e),n=wh(t),o=r.parse(e),i=n.parse(t);r===Ur&&(o=xh(o),r=xr),n===Ur&&(i=xh(i),n=xr);const a=Object.assign({},o);return s=>{for(const l in a)l!=="alpha"&&(a[l]=AA(o[l],i[l],s));return a.alpha=De(o.alpha,i.alpha,s),r.transform(a)}},mu=e=>typeof e=="number",zA=(e,t)=>r=>t(e(r)),Ws=(...e)=>e.reduce(zA);function hb(e,t){return mu(e)?r=>De(e,t,r):st.test(e)?pb(e,t):mb(e,t)}const vb=(e,t)=>{const r=[...e],n=r.length,o=e.map((i,a)=>hb(i,t[a]));return i=>{for(let a=0;a<n;a++)r[a]=o[a](i);return r}},_A=(e,t)=>{const r=Object.assign(Object.assign({},e),t),n={};for(const o in r)e[o]!==void 0&&t[o]!==void 0&&(n[o]=hb(e[o],t[o]));return o=>{for(const i in n)r[i]=n[i](o);return r}};function $h(e){const t=ir.parse(e),r=t.length;let n=0,o=0,i=0;for(let a=0;a<r;a++)n||typeof t[a]=="number"?n++:t[a].hue!==void 0?i++:o++;return{parsed:t,numNumbers:n,numRGB:o,numHSL:i}}const mb=(e,t)=>{const r=ir.createTransformer(t),n=$h(e),o=$h(t);return n.numHSL===o.numHSL&&n.numRGB===o.numRGB&&n.numNumbers>=o.numNumbers?Ws(vb(n.parsed,o.parsed),r):a=>`${a>0?t:e}`},IA=(e,t)=>r=>De(e,t,r);function RA(e){if(typeof e=="number")return IA;if(typeof e=="string")return st.test(e)?pb:mb;if(Array.isArray(e))return vb;if(typeof e=="object")return _A}function LA(e,t,r){const n=[],o=r||RA(e[0]),i=e.length-1;for(let a=0;a<i;a++){let s=o(e[a],e[a+1]);if(t){const l=Array.isArray(t)?t[a]:t;s=Ws(l,s)}n.push(s)}return n}function FA([e,t],[r]){return n=>r(Wo(e,t,n))}function DA(e,t){const r=e.length,n=r-1;return o=>{let i=0,a=!1;if(o<=e[0]?a=!0:o>=e[n]&&(i=n-1,a=!0),!a){let l=1;for(;l<r&&!(e[l]>o||l===n);l++);i=l-1}const s=Wo(e[i],e[i+1],o);return t[i](s)}}function gb(e,t,{clamp:r=!0,ease:n,mixer:o}={}){const i=e.length;ja(i===t.length),ja(!n||!Array.isArray(n)||n.length===i-1),e[0]>e[i-1]&&(e=[].concat(e),t=[].concat(t),e.reverse(),t.reverse());const a=LA(t,n,o),s=i===2?FA(e,a):DA(e,a);return r?l=>s(Ua(e[0],e[i-1],l)):s}const Us=e=>t=>1-e(1-t),Uf=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,MA=e=>t=>Math.pow(t,e),yb=e=>t=>t*t*((e+1)*t-e),jA=e=>{const t=yb(e);return r=>(r*=2)<1?.5*t(r):.5*(2-Math.pow(2,-10*(r-1)))},bb=1.525,NA=4/11,BA=8/11,VA=9/10,Hf=e=>e,Gf=MA(2),WA=Us(Gf),xb=Uf(Gf),wb=e=>1-Math.sin(Math.acos(e)),qf=Us(wb),UA=Uf(qf),Yf=yb(bb),HA=Us(Yf),GA=Uf(Yf),qA=jA(bb),YA=4356/361,XA=35442/1805,KA=16061/1805,Ha=e=>{if(e===1||e===0)return e;const t=e*e;return e<NA?7.5625*t:e<BA?9.075*t-9.9*e+3.4:e<VA?YA*t-XA*e+KA:10.8*e*e-20.52*e+10.72},ZA=Us(Ha),JA=e=>e<.5?.5*(1-Ha(1-e*2)):.5*Ha(e*2-1)+.5;function QA(e,t){return e.map(()=>t||xb).splice(0,e.length-1)}function e4(e){const t=e.length;return e.map((r,n)=>n!==0?n/(t-1):0)}function t4(e,t){return e.map(r=>r*t)}function pa({from:e=0,to:t=1,ease:r,offset:n,duration:o=300}){const i={done:!1,value:e},a=Array.isArray(t)?t:[e,t],s=t4(n&&n.length===a.length?n:e4(a),o);function l(){return gb(s,a,{ease:Array.isArray(r)?r:QA(a,r)})}let c=l();return{next:u=>(i.value=c(u),i.done=u>=o,i),flipTarget:()=>{a.reverse(),c=l()}}}function r4({velocity:e=0,from:t=0,power:r=.8,timeConstant:n=350,restDelta:o=.5,modifyTarget:i}){const a={done:!1,value:t};let s=r*e;const l=t+s,c=i===void 0?l:i(l);return c!==l&&(s=c-t),{next:u=>{const d=-s*Math.exp(-u/n);return a.done=!(d>o||d<-o),a.value=a.done?c:c+d,a},flipTarget:()=>{}}}const Eh={keyframes:pa,spring:Wf,decay:r4};function n4(e){if(Array.isArray(e.to))return pa;if(Eh[e.type])return Eh[e.type];const t=new Set(Object.keys(e));return t.has("ease")||t.has("duration")&&!t.has("dampingRatio")?pa:t.has("dampingRatio")||t.has("stiffness")||t.has("mass")||t.has("damping")||t.has("restSpeed")||t.has("restDelta")?Wf:pa}const $b=1/60*1e3,o4=typeof performance<"u"?()=>performance.now():()=>Date.now(),Eb=typeof window<"u"?e=>window.requestAnimationFrame(e):e=>setTimeout(()=>e(o4()),$b);function i4(e){let t=[],r=[],n=0,o=!1,i=!1;const a=new WeakSet,s={schedule:(l,c=!1,u=!1)=>{const d=u&&o,p=d?t:r;return c&&a.add(l),p.indexOf(l)===-1&&(p.push(l),d&&o&&(n=t.length)),l},cancel:l=>{const c=r.indexOf(l);c!==-1&&r.splice(c,1),a.delete(l)},process:l=>{if(o){i=!0;return}if(o=!0,[t,r]=[r,t],r.length=0,n=t.length,n)for(let c=0;c<n;c++){const u=t[c];u(l),a.has(u)&&(s.schedule(u),e())}o=!1,i&&(i=!1,s.process(l))}};return s}const a4=40;let gu=!0,Uo=!1,yu=!1;const _n={delta:0,timestamp:0},si=["read","update","preRender","render","postRender"],Hs=si.reduce((e,t)=>(e[t]=i4(()=>Uo=!0),e),{}),Lt=si.reduce((e,t)=>{const r=Hs[t];return e[t]=(n,o=!1,i=!1)=>(Uo||l4(),r.schedule(n,o,i)),e},{}),Vn=si.reduce((e,t)=>(e[t]=Hs[t].cancel,e),{}),Tl=si.reduce((e,t)=>(e[t]=()=>Hs[t].process(_n),e),{}),s4=e=>Hs[e].process(_n),Sb=e=>{Uo=!1,_n.delta=gu?$b:Math.max(Math.min(e-_n.timestamp,a4),1),_n.timestamp=e,yu=!0,si.forEach(s4),yu=!1,Uo&&(gu=!1,Eb(Sb))},l4=()=>{Uo=!0,gu=!0,yu||Eb(Sb)},Ga=()=>_n;function Cb(e,t,r=0){return e-t-r}function c4(e,t,r=0,n=!0){return n?Cb(t+-e,t,r):t-(e-t)+r}function u4(e,t,r,n){return n?e>=t+r:e<=-r}const f4=e=>{const t=({delta:r})=>e(r);return{start:()=>Lt.update(t,!0),stop:()=>Vn.update(t)}};function Ob(e){var t,r,{from:n,autoplay:o=!0,driver:i=f4,elapsed:a=0,repeat:s=0,repeatType:l="loop",repeatDelay:c=0,onPlay:u,onStop:d,onComplete:p,onRepeat:v,onUpdate:h}=e,m=Ot(e,["from","autoplay","driver","elapsed","repeat","repeatType","repeatDelay","onPlay","onStop","onComplete","onRepeat","onUpdate"]);let{to:y}=m,x,b=0,$=m.duration,g,C=!1,S=!0,O;const T=n4(m);!((r=(t=T).needsInterpolation)===null||r===void 0)&&r.call(t,n,y)&&(O=gb([0,100],[n,y],{clamp:!1}),n=0,y=100);const k=T(Object.assign(Object.assign({},m),{from:n,to:y}));function L(){b++,l==="reverse"?(S=b%2===0,a=c4(a,$,c,S)):(a=Cb(a,$,c),l==="mirror"&&k.flipTarget()),C=!1,v&&v()}function B(){x.stop(),p&&p()}function N(X){if(S||(X=-X),a+=X,!C){const V=k.next(Math.max(0,a));g=V.value,O&&(g=O(g)),C=S?V.done:a<=0}h==null||h(g),C&&(b===0&&($??($=a)),b<s?u4(a,$,c,S)&&L():B())}function W(){u==null||u(),x=i(N),x.start()}return o&&W(),{stop:()=>{d==null||d(),x.stop()}}}function Tb(e,t){return t?e*(1e3/t):0}function d4({from:e=0,velocity:t=0,min:r,max:n,power:o=.8,timeConstant:i=750,bounceStiffness:a=500,bounceDamping:s=10,restDelta:l=1,modifyTarget:c,driver:u,onUpdate:d,onComplete:p,onStop:v}){let h;function m($){return r!==void 0&&$<r||n!==void 0&&$>n}function y($){return r===void 0?n:n===void 0||Math.abs(r-$)<Math.abs(n-$)?r:n}function x($){h==null||h.stop(),h=Ob(Object.assign(Object.assign({},$),{driver:u,onUpdate:g=>{var C;d==null||d(g),(C=$.onUpdate)===null||C===void 0||C.call($,g)},onComplete:p,onStop:v}))}function b($){x(Object.assign({type:"spring",stiffness:a,damping:s,restDelta:l},$))}if(m(e))b({from:e,velocity:t,to:y(e)});else{let $=o*t+e;typeof c<"u"&&($=c($));const g=y($),C=g===r?-1:1;let S,O;const T=k=>{S=O,O=k,t=Tb(k-S,Ga().delta),(C===1&&k>g||C===-1&&k<g)&&b({from:k,to:g,velocity:t})};x({type:"decay",from:e,velocity:t,timeConstant:i,power:o,restDelta:l,modifyTarget:c,onUpdate:m($)?T:void 0})}return{stop:()=>h==null?void 0:h.stop()}}const bu=e=>e.hasOwnProperty("x")&&e.hasOwnProperty("y"),Sh=e=>bu(e)&&e.hasOwnProperty("z"),Pi=(e,t)=>Math.abs(e-t);function kb(e,t){if(mu(e)&&mu(t))return Pi(e,t);if(bu(e)&&bu(t)){const r=Pi(e.x,t.x),n=Pi(e.y,t.y),o=Sh(e)&&Sh(t)?Pi(e.z,t.z):0;return Math.sqrt(Math.pow(r,2)+Math.pow(n,2)+Math.pow(o,2))}}const Ab=(e,t)=>1-3*t+3*e,Pb=(e,t)=>3*t-6*e,zb=e=>3*e,qa=(e,t,r)=>((Ab(t,r)*e+Pb(t,r))*e+zb(t))*e,_b=(e,t,r)=>3*Ab(t,r)*e*e+2*Pb(t,r)*e+zb(t),p4=1e-7,h4=10;function v4(e,t,r,n,o){let i,a,s=0;do a=t+(r-t)/2,i=qa(a,n,o)-e,i>0?r=a:t=a;while(Math.abs(i)>p4&&++s<h4);return a}const m4=8,g4=.001;function y4(e,t,r,n){for(let o=0;o<m4;++o){const i=_b(t,r,n);if(i===0)return t;const a=qa(t,r,n)-e;t-=a/i}return t}const ha=11,zi=1/(ha-1);function b4(e,t,r,n){if(e===t&&r===n)return Hf;const o=new Float32Array(ha);for(let a=0;a<ha;++a)o[a]=qa(a*zi,e,r);function i(a){let s=0,l=1;const c=ha-1;for(;l!==c&&o[l]<=a;++l)s+=zi;--l;const u=(a-o[l])/(o[l+1]-o[l]),d=s+u*zi,p=_b(d,e,r);return p>=g4?y4(a,d,e,r):p===0?d:v4(a,s,s+zi,e,r)}return a=>a===0||a===1?a:qa(i(a),t,n)}function x4(e){var t=e.onTap,r=e.onTapStart,n=e.onTapCancel,o=e.whileTap,i=e.visualElement,a=t||r||n||o,s=f.useRef(!1),l=f.useRef(null),c={passive:!(r||t||n||h)};function u(){var m;(m=l.current)===null||m===void 0||m.call(l),l.current=null}function d(){var m;return u(),s.current=!1,(m=i.animationState)===null||m===void 0||m.setActive(Oe.Tap,!1),!fb()}function p(m,y){d()&&(db(i.getInstance(),m.target)?t==null||t(m,y):n==null||n(m,y))}function v(m,y){d()&&(n==null||n(m,y))}function h(m,y){var x;u(),!s.current&&(s.current=!0,l.current=Ws(zn(window,"pointerup",p,c),zn(window,"pointercancel",v,c)),(x=i.animationState)===null||x===void 0||x.setActive(Oe.Tap,!0),r==null||r(m,y))}Wa(i,"pointerdown",a?h:void 0,c),Vf(u)}var Ch=new Set;function w4(e,t,r){e||Ch.has(t)||(console.warn(t),r&&console.warn(r),Ch.add(t))}var xu=new WeakMap,kl=new WeakMap,$4=function(e){var t;(t=xu.get(e.target))===null||t===void 0||t(e)},E4=function(e){e.forEach($4)};function S4(e){var t=e.root,r=Ot(e,["root"]),n=t||document;kl.has(n)||kl.set(n,{});var o=kl.get(n),i=JSON.stringify(r);return o[i]||(o[i]=new IntersectionObserver(E4,M({root:t},r))),o[i]}function C4(e,t,r){var n=S4(t);return xu.set(e,r),n.observe(e),function(){xu.delete(e),n.unobserve(e)}}function O4(e){var t=e.visualElement,r=e.whileInView,n=e.onViewportEnter,o=e.onViewportLeave,i=e.viewport,a=i===void 0?{}:i,s=f.useRef({hasEnteredView:!1,isInView:!1}),l=!!(r||n||o);a.once&&s.current.hasEnteredView&&(l=!1);var c=typeof IntersectionObserver>"u"?A4:k4;c(l,s.current,t,a)}var T4={some:0,all:1};function k4(e,t,r,n){var o=n.root,i=n.margin,a=n.amount,s=a===void 0?"some":a,l=n.once;f.useEffect(function(){if(e){var c={root:o==null?void 0:o.current,rootMargin:i,threshold:typeof s=="number"?s:T4[s]},u=function(d){var p,v=d.isIntersecting;if(t.isInView!==v&&(t.isInView=v,!(l&&!v&&t.hasEnteredView))){v&&(t.hasEnteredView=!0),(p=r.animationState)===null||p===void 0||p.setActive(Oe.InView,v);var h=r.getProps(),m=v?h.onViewportEnter:h.onViewportLeave;m==null||m(d)}};return C4(r.getInstance(),c,u)}},[e,o,i,s])}function A4(e,t,r,n){var o=n.fallback,i=o===void 0?!0:o;f.useEffect(function(){!e||!i||(zf!=="production"&&w4(!1,"IntersectionObserver not available on this device. whileInView animations will trigger on mount."),requestAnimationFrame(function(){var a;t.hasEnteredView=!0;var s=r.getProps().onViewportEnter;s==null||s(null),(a=r.animationState)===null||a===void 0||a.setActive(Oe.InView,!0)}))},[e])}var wr=function(e){return function(t){return e(t),null}},P4={inView:wr(O4),tap:wr(x4),focus:wr(cA),hover:wr(bA)},z4=0,_4=function(){return z4++},Ib=function(){return ni(_4)};function Rb(){var e=f.useContext(ri);if(e===null)return[!0,null];var t=e.isPresent,r=e.onExitComplete,n=e.register,o=Ib();f.useEffect(function(){return n(o)},[]);var i=function(){return r==null?void 0:r(o)};return!t&&r?[!1,i]:[!0]}function Lb(e,t){if(!Array.isArray(t))return!1;var r=t.length;if(r!==e.length)return!1;for(var n=0;n<r;n++)if(t[n]!==e[n])return!1;return!0}var Ya=function(e){return e*1e3},I4={linear:Hf,easeIn:Gf,easeInOut:xb,easeOut:WA,circIn:wb,circInOut:UA,circOut:qf,backIn:Yf,backInOut:GA,backOut:HA,anticipate:qA,bounceIn:ZA,bounceInOut:JA,bounceOut:Ha},Oh=function(e){if(Array.isArray(e)){ja(e.length===4);var t=Me(e,4),r=t[0],n=t[1],o=t[2],i=t[3];return b4(r,n,o,i)}else if(typeof e=="string")return I4[e];return e},R4=function(e){return Array.isArray(e)&&typeof e[0]!="number"},Th=function(e,t){return e==="zIndex"?!1:!!(typeof t=="number"||Array.isArray(t)||typeof t=="string"&&ir.test(t)&&!t.startsWith("url("))},Fr=function(){return{type:"spring",stiffness:500,damping:25,restSpeed:10}},_i=function(e){return{type:"spring",stiffness:550,damping:e===0?2*Math.sqrt(550):30,restSpeed:10}},Al=function(){return{type:"keyframes",ease:"linear",duration:.3}},L4=function(e){return{type:"keyframes",duration:.8,values:e}},kh={x:Fr,y:Fr,z:Fr,rotate:Fr,rotateX:Fr,rotateY:Fr,rotateZ:Fr,scaleX:_i,scaleY:_i,scale:_i,opacity:Al,backgroundColor:Al,color:Al,default:_i},F4=function(e,t){var r;return Vo(t)?r=L4:r=kh[e]||kh.default,M({to:t},r(t))},D4=M(M({},Yy),{color:st,backgroundColor:st,outlineColor:st,fill:st,stroke:st,borderColor:st,borderTopColor:st,borderRightColor:st,borderBottomColor:st,borderLeftColor:st,filter:pu,WebkitFilter:pu}),Xf=function(e){return D4[e]};function Kf(e,t){var r,n=Xf(e);return n!==pu&&(n=ir),(r=n.getAnimatableNone)===null||r===void 0?void 0:r.call(n,t)}function M4(e){e.when,e.delay,e.delayChildren,e.staggerChildren,e.staggerDirection,e.repeat,e.repeatType,e.repeatDelay,e.from;var t=Ot(e,["when","delay","delayChildren","staggerChildren","staggerDirection","repeat","repeatType","repeatDelay","from"]);return!!Object.keys(t).length}function j4(e){var t=e.ease,r=e.times,n=e.yoyo,o=e.flip,i=e.loop,a=Ot(e,["ease","times","yoyo","flip","loop"]),s=M({},a);return r&&(s.offset=r),a.duration&&(s.duration=Ya(a.duration)),a.repeatDelay&&(s.repeatDelay=Ya(a.repeatDelay)),t&&(s.ease=R4(t)?t.map(Oh):Oh(t)),a.type==="tween"&&(s.type="keyframes"),(n||i||o)&&(n?s.repeatType="reverse":i?s.repeatType="loop":o&&(s.repeatType="mirror"),s.repeat=i||n||o||a.repeat),a.type!=="spring"&&(s.type="keyframes"),s}function N4(e,t){var r,n,o=Zf(e,t)||{};return(n=(r=o.delay)!==null&&r!==void 0?r:e.delay)!==null&&n!==void 0?n:0}function B4(e){return Array.isArray(e.to)&&e.to[0]===null&&(e.to=Rt([],Me(e.to),!1),e.to[0]=e.from),e}function V4(e,t,r){var n;return Array.isArray(t.to)&&((n=e.duration)!==null&&n!==void 0||(e.duration=.8)),B4(t),M4(e)||(e=M(M({},e),F4(r,t.to))),M(M({},t),j4(e))}function W4(e,t,r,n,o){var i,a=Zf(n,e),s=(i=a.from)!==null&&i!==void 0?i:t.get(),l=Th(e,r);s==="none"&&l&&typeof r=="string"?s=Kf(e,r):Ah(s)&&typeof r=="string"?s=Ph(r):!Array.isArray(r)&&Ah(r)&&typeof s=="string"&&(r=Ph(s));var c=Th(e,s);function u(){var p={from:s,to:r,velocity:t.getVelocity(),onComplete:o,onUpdate:function(v){return t.set(v)}};return a.type==="inertia"||a.type==="decay"?d4(M(M({},p),a)):Ob(M(M({},V4(a,p,e)),{onUpdate:function(v){var h;p.onUpdate(v),(h=a.onUpdate)===null||h===void 0||h.call(a,v)},onComplete:function(){var v;p.onComplete(),(v=a.onComplete)===null||v===void 0||v.call(a)}}))}function d(){var p,v,h=nb(r);return t.set(h),o(),(p=a==null?void 0:a.onUpdate)===null||p===void 0||p.call(a,h),(v=a==null?void 0:a.onComplete)===null||v===void 0||v.call(a),{stop:function(){}}}return!c||!l||a.type===!1?d:u}function Ah(e){return e===0||typeof e=="string"&&parseFloat(e)===0&&e.indexOf(" ")===-1}function Ph(e){return typeof e=="number"?0:Kf("",e)}function Zf(e,t){return e[t]||e.default||e}function Jf(e,t,r,n){return n===void 0&&(n={}),t.start(function(o){var i,a,s=W4(e,t,r,n,o),l=N4(n,e),c=function(){return a=s()};return l?i=window.setTimeout(c,Ya(l)):c(),function(){clearTimeout(i),a==null||a.stop()}})}var U4=function(e){return/^\-?\d*\.?\d+$/.test(e)},H4=function(e){return/^0[^.\s]+$/.test(e)};function Qf(e,t){e.indexOf(t)===-1&&e.push(t)}function ed(e,t){var r=e.indexOf(t);r>-1&&e.splice(r,1)}var Oo=function(){function e(){this.subscriptions=[]}return e.prototype.add=function(t){var r=this;return Qf(this.subscriptions,t),function(){return ed(r.subscriptions,t)}},e.prototype.notify=function(t,r,n){var o=this.subscriptions.length;if(o)if(o===1)this.subscriptions[0](t,r,n);else for(var i=0;i<o;i++){var a=this.subscriptions[i];a&&a(t,r,n)}},e.prototype.getSize=function(){return this.subscriptions.length},e.prototype.clear=function(){this.subscriptions.length=0},e}(),G4=function(e){return!isNaN(parseFloat(e))},q4=function(){function e(t){var r=this;this.version="6.5.1",this.timeDelta=0,this.lastUpdated=0,this.updateSubscribers=new Oo,this.velocityUpdateSubscribers=new Oo,this.renderSubscribers=new Oo,this.canTrackVelocity=!1,this.updateAndNotify=function(n,o){o===void 0&&(o=!0),r.prev=r.current,r.current=n;var i=Ga(),a=i.delta,s=i.timestamp;r.lastUpdated!==s&&(r.timeDelta=a,r.lastUpdated=s,Lt.postRender(r.scheduleVelocityCheck)),r.prev!==r.current&&r.updateSubscribers.notify(r.current),r.velocityUpdateSubscribers.getSize()&&r.velocityUpdateSubscribers.notify(r.getVelocity()),o&&r.renderSubscribers.notify(r.current)},this.scheduleVelocityCheck=function(){return Lt.postRender(r.velocityCheck)},this.velocityCheck=function(n){var o=n.timestamp;o!==r.lastUpdated&&(r.prev=r.current,r.velocityUpdateSubscribers.notify(r.getVelocity()))},this.hasAnimated=!1,this.prev=this.current=t,this.canTrackVelocity=G4(this.current)}return e.prototype.onChange=function(t){return this.updateSubscribers.add(t)},e.prototype.clearListeners=function(){this.updateSubscribers.clear()},e.prototype.onRenderRequest=function(t){return t(this.get()),this.renderSubscribers.add(t)},e.prototype.attach=function(t){this.passiveEffect=t},e.prototype.set=function(t,r){r===void 0&&(r=!0),!r||!this.passiveEffect?this.updateAndNotify(t,r):this.passiveEffect(t,this.updateAndNotify)},e.prototype.get=function(){return this.current},e.prototype.getPrevious=function(){return this.prev},e.prototype.getVelocity=function(){return this.canTrackVelocity?Tb(parseFloat(this.current)-parseFloat(this.prev),this.timeDelta):0},e.prototype.start=function(t){var r=this;return this.stop(),new Promise(function(n){r.hasAnimated=!0,r.stopAnimation=t(n)}).then(function(){return r.clearAnimation()})},e.prototype.stop=function(){this.stopAnimation&&this.stopAnimation(),this.clearAnimation()},e.prototype.isAnimating=function(){return!!this.stopAnimation},e.prototype.clearAnimation=function(){this.stopAnimation=null},e.prototype.destroy=function(){this.updateSubscribers.clear(),this.renderSubscribers.clear(),this.stop()},e}();function Wn(e){return new q4(e)}var Fb=function(e){return function(t){return t.test(e)}},Y4={test:function(e){return e==="auto"},parse:function(e){return e}},Db=[nn,oe,Kt,mr,Lk,Rk,Y4],so=function(e){return Db.find(Fb(e))},X4=Rt(Rt([],Me(Db),!1),[st,ir],!1),K4=function(e){return X4.find(Fb(e))};function Z4(e,t,r){e.hasValue(t)?e.getValue(t).set(r):e.addValue(t,Wn(r))}function J4(e,t){var r=Ns(e,t),n=r?e.makeTargetAnimatable(r,!1):{},o=n.transitionEnd,i=o===void 0?{}:o;n.transition;var a=Ot(n,["transitionEnd","transition"]);a=M(M({},a),i);for(var s in a){var l=nb(a[s]);Z4(e,s,l)}}function Q4(e,t,r){var n,o,i,a,s=Object.keys(t).filter(function(v){return!e.hasValue(v)}),l=s.length;if(l)for(var c=0;c<l;c++){var u=s[c],d=t[u],p=null;Array.isArray(d)&&(p=d[0]),p===null&&(p=(o=(n=r[u])!==null&&n!==void 0?n:e.readValue(u))!==null&&o!==void 0?o:t[u]),p!=null&&(typeof p=="string"&&(U4(p)||H4(p))?p=parseFloat(p):!K4(p)&&ir.test(d)&&(p=Kf(u,d)),e.addValue(u,Wn(p)),(i=(a=r)[u])!==null&&i!==void 0||(a[u]=p),e.setBaseTarget(u,p))}}function eP(e,t){if(t){var r=t[e]||t.default||t;return r.from}}function tP(e,t,r){var n,o,i={};for(var a in e)i[a]=(n=eP(a,t))!==null&&n!==void 0?n:(o=r.getValue(a))===null||o===void 0?void 0:o.get();return i}function rP(e,t,r){r===void 0&&(r={}),e.notifyAnimationStart(t);var n;if(Array.isArray(t)){var o=t.map(function(a){return wu(e,a,r)});n=Promise.all(o)}else if(typeof t=="string")n=wu(e,t,r);else{var i=typeof t=="function"?Ns(e,t,r.custom):t;n=Mb(e,i,r)}return n.then(function(){return e.notifyAnimationComplete(t)})}function wu(e,t,r){var n;r===void 0&&(r={});var o=Ns(e,t,r.custom),i=(o||{}).transition,a=i===void 0?e.getDefaultTransition()||{}:i;r.transitionOverride&&(a=r.transitionOverride);var s=o?function(){return Mb(e,o,r)}:function(){return Promise.resolve()},l=!((n=e.variantChildren)===null||n===void 0)&&n.size?function(v){v===void 0&&(v=0);var h=a.delayChildren,m=h===void 0?0:h,y=a.staggerChildren,x=a.staggerDirection;return nP(e,t,m+v,y,x,r)}:function(){return Promise.resolve()},c=a.when;if(c){var u=Me(c==="beforeChildren"?[s,l]:[l,s],2),d=u[0],p=u[1];return d().then(p)}else return Promise.all([s(),l(r.delay)])}function Mb(e,t,r){var n,o=r===void 0?{}:r,i=o.delay,a=i===void 0?0:i,s=o.transitionOverride,l=o.type,c=e.makeTargetAnimatable(t),u=c.transition,d=u===void 0?e.getDefaultTransition():u,p=c.transitionEnd,v=Ot(c,["transition","transitionEnd"]);s&&(d=s);var h=[],m=l&&((n=e.animationState)===null||n===void 0?void 0:n.getState()[l]);for(var y in v){var x=e.getValue(y),b=v[y];if(!(!x||b===void 0||m&&iP(m,y))){var $=M({delay:a},d);e.shouldReduceMotion&&oi(y)&&($=M(M({},$),{type:!1,delay:0}));var g=Jf(y,x,b,$);h.push(g)}}return Promise.all(h).then(function(){p&&J4(e,p)})}function nP(e,t,r,n,o,i){r===void 0&&(r=0),n===void 0&&(n=0),o===void 0&&(o=1);var a=[],s=(e.variantChildren.size-1)*n,l=o===1?function(c){return c===void 0&&(c=0),c*n}:function(c){return c===void 0&&(c=0),s-c*n};return Array.from(e.variantChildren).sort(oP).forEach(function(c,u){a.push(wu(c,t,M(M({},i),{delay:r+l(u)})).then(function(){return c.notifyAnimationComplete(t)}))}),Promise.all(a)}function oP(e,t){return e.sortNodePosition(t)}function iP(e,t){var r=e.protectedKeys,n=e.needsAnimating,o=r.hasOwnProperty(t)&&n[t]!==!0;return n[t]=!1,o}var td=[Oe.Animate,Oe.InView,Oe.Focus,Oe.Hover,Oe.Tap,Oe.Drag,Oe.Exit],aP=Rt([],Me(td),!1).reverse(),sP=td.length;function lP(e){return function(t){return Promise.all(t.map(function(r){var n=r.animation,o=r.options;return rP(e,n,o)}))}}function cP(e){var t=lP(e),r=fP(),n={},o=!0,i=function(u,d){var p=Ns(e,d);if(p){p.transition;var v=p.transitionEnd,h=Ot(p,["transition","transitionEnd"]);u=M(M(M({},u),h),v)}return u};function a(u){return n[u]!==void 0}function s(u){t=u(e)}function l(u,d){for(var p,v=e.getProps(),h=e.getVariantContext(!0)||{},m=[],y=new Set,x={},b=1/0,$=function(O){var T=aP[O],k=r[T],L=(p=v[T])!==null&&p!==void 0?p:h[T],B=Pt(L),N=T===d?k.isActive:null;N===!1&&(b=O);var W=L===h[T]&&L!==v[T]&&B;if(W&&o&&e.manuallyAnimateOnMount&&(W=!1),k.protectedKeys=M({},x),!k.isActive&&N===null||!L&&!k.prevProp||Nf(L)||typeof L=="boolean")return"continue";var X=uP(k.prevProp,L),V=X||T===d&&k.isActive&&!W&&B||O>b&&B,te=Array.isArray(L)?L:[L],Y=te.reduce(i,{});N===!1&&(Y={});var J=k.prevResolvedValues,H=J===void 0?{}:J,ce=M(M({},H),Y),xe=function(_){V=!0,y.delete(_),k.needsAnimating[_]=!0};for(var A in ce){var I=Y[A],z=H[A];x.hasOwnProperty(A)||(I!==z?Vo(I)&&Vo(z)?!Lb(I,z)||X?xe(A):k.protectedKeys[A]=!0:I!==void 0?xe(A):y.add(A):I!==void 0&&y.has(A)?xe(A):k.protectedKeys[A]=!0)}k.prevProp=L,k.prevResolvedValues=Y,k.isActive&&(x=M(M({},x),Y)),o&&e.blockInitialAnimation&&(V=!1),V&&!W&&m.push.apply(m,Rt([],Me(te.map(function(_){return{animation:_,options:M({type:T},u)}})),!1))},g=0;g<sP;g++)$(g);if(n=M({},x),y.size){var C={};y.forEach(function(O){var T=e.getBaseTarget(O);T!==void 0&&(C[O]=T)}),m.push({animation:C})}var S=!!m.length;return o&&v.initial===!1&&!e.manuallyAnimateOnMount&&(S=!1),o=!1,S?t(m):Promise.resolve()}function c(u,d,p){var v;if(r[u].isActive===d)return Promise.resolve();(v=e.variantChildren)===null||v===void 0||v.forEach(function(y){var x;return(x=y.animationState)===null||x===void 0?void 0:x.setActive(u,d)}),r[u].isActive=d;var h=l(p,u);for(var m in r)r[m].protectedKeys={};return h}return{isAnimated:a,animateChanges:l,setActive:c,setAnimateFunction:s,getState:function(){return r}}}function uP(e,t){return typeof t=="string"?t!==e:Ry(t)?!Lb(t,e):!1}function Dr(e){return e===void 0&&(e=!1),{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function fP(){var e;return e={},e[Oe.Animate]=Dr(!0),e[Oe.InView]=Dr(),e[Oe.Hover]=Dr(),e[Oe.Tap]=Dr(),e[Oe.Drag]=Dr(),e[Oe.Focus]=Dr(),e[Oe.Exit]=Dr(),e}var dP={animation:wr(function(e){var t=e.visualElement,r=e.animate;t.animationState||(t.animationState=cP(t)),Nf(r)&&f.useEffect(function(){return r.subscribe(t)},[r])}),exit:wr(function(e){var t=e.custom,r=e.visualElement,n=Me(Rb(),2),o=n[0],i=n[1],a=f.useContext(ri);f.useEffect(function(){var s,l;r.isPresent=o;var c=(s=r.animationState)===null||s===void 0?void 0:s.setActive(Oe.Exit,!o,{custom:(l=a==null?void 0:a.custom)!==null&&l!==void 0?l:t});!o&&(c==null||c.then(i))},[o])})},jb=function(){function e(t,r,n){var o=this,i=n===void 0?{}:n,a=i.transformPagePoint;if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.updatePoint=function(){if(o.lastMoveEvent&&o.lastMoveEventInfo){var p=zl(o.lastMoveEventInfo,o.history),v=o.startEvent!==null,h=kb(p.offset,{x:0,y:0})>=3;if(!(!v&&!h)){var m=p.point,y=Ga().timestamp;o.history.push(M(M({},m),{timestamp:y}));var x=o.handlers,b=x.onStart,$=x.onMove;v||(b&&b(o.lastMoveEvent,p),o.startEvent=o.lastMoveEvent),$&&$(o.lastMoveEvent,p)}}},this.handlePointerMove=function(p,v){if(o.lastMoveEvent=p,o.lastMoveEventInfo=Pl(v,o.transformPagePoint),ib(p)&&p.buttons===0){o.handlePointerUp(p,v);return}Lt.update(o.updatePoint,!0)},this.handlePointerUp=function(p,v){o.end();var h=o.handlers,m=h.onEnd,y=h.onSessionEnd,x=zl(Pl(v,o.transformPagePoint),o.history);o.startEvent&&m&&m(p,x),y&&y(p,x)},!(ab(t)&&t.touches.length>1)){this.handlers=r,this.transformPagePoint=a;var s=Bf(t),l=Pl(s,this.transformPagePoint),c=l.point,u=Ga().timestamp;this.history=[M(M({},c),{timestamp:u})];var d=r.onSessionStart;d&&d(t,zl(l,this.history)),this.removeListeners=Ws(zn(window,"pointermove",this.handlePointerMove),zn(window,"pointerup",this.handlePointerUp),zn(window,"pointercancel",this.handlePointerUp))}}return e.prototype.updateHandlers=function(t){this.handlers=t},e.prototype.end=function(){this.removeListeners&&this.removeListeners(),Vn.update(this.updatePoint)},e}();function Pl(e,t){return t?{point:t(e.point)}:e}function zh(e,t){return{x:e.x-t.x,y:e.y-t.y}}function zl(e,t){var r=e.point;return{point:r,delta:zh(r,Nb(t)),offset:zh(r,pP(t)),velocity:hP(t,.1)}}function pP(e){return e[0]}function Nb(e){return e[e.length-1]}function hP(e,t){if(e.length<2)return{x:0,y:0};for(var r=e.length-1,n=null,o=Nb(e);r>=0&&(n=e[r],!(o.timestamp-n.timestamp>Ya(t)));)r--;if(!n)return{x:0,y:0};var i=(o.timestamp-n.timestamp)/1e3;if(i===0)return{x:0,y:0};var a={x:(o.x-n.x)/i,y:(o.y-n.y)/i};return a.x===1/0&&(a.x=0),a.y===1/0&&(a.y=0),a}function ar(e){return e.max-e.min}function _h(e,t,r){return t===void 0&&(t=0),r===void 0&&(r=.01),kb(e,t)<r}function Ih(e,t,r,n){n===void 0&&(n=.5),e.origin=n,e.originPoint=De(t.min,t.max,e.origin),e.scale=ar(r)/ar(t),(_h(e.scale,1,1e-4)||isNaN(e.scale))&&(e.scale=1),e.translate=De(r.min,r.max,e.origin)-e.originPoint,(_h(e.translate)||isNaN(e.translate))&&(e.translate=0)}function To(e,t,r,n){Ih(e.x,t.x,r.x,n==null?void 0:n.originX),Ih(e.y,t.y,r.y,n==null?void 0:n.originY)}function Rh(e,t,r){e.min=r.min+t.min,e.max=e.min+ar(t)}function vP(e,t,r){Rh(e.x,t.x,r.x),Rh(e.y,t.y,r.y)}function Lh(e,t,r){e.min=t.min-r.min,e.max=e.min+ar(t)}function ko(e,t,r){Lh(e.x,t.x,r.x),Lh(e.y,t.y,r.y)}function mP(e,t,r){var n=t.min,o=t.max;return n!==void 0&&e<n?e=r?De(n,e,r.min):Math.max(e,n):o!==void 0&&e>o&&(e=r?De(o,e,r.max):Math.min(e,o)),e}function Fh(e,t,r){return{min:t!==void 0?e.min+t:void 0,max:r!==void 0?e.max+r-(e.max-e.min):void 0}}function gP(e,t){var r=t.top,n=t.left,o=t.bottom,i=t.right;return{x:Fh(e.x,n,i),y:Fh(e.y,r,o)}}function Dh(e,t){var r,n=t.min-e.min,o=t.max-e.max;return t.max-t.min<e.max-e.min&&(r=Me([o,n],2),n=r[0],o=r[1]),{min:n,max:o}}function yP(e,t){return{x:Dh(e.x,t.x),y:Dh(e.y,t.y)}}function bP(e,t){var r=.5,n=ar(e),o=ar(t);return o>n?r=Wo(t.min,t.max-n,e.min):n>o&&(r=Wo(e.min,e.max-o,t.min)),Ua(0,1,r)}function xP(e,t){var r={};return t.min!==void 0&&(r.min=t.min-e.min),t.max!==void 0&&(r.max=t.max-e.min),r}var $u=.35;function wP(e){return e===void 0&&(e=$u),e===!1?e=0:e===!0&&(e=$u),{x:Mh(e,"left","right"),y:Mh(e,"top","bottom")}}function Mh(e,t,r){return{min:jh(e,t),max:jh(e,r)}}function jh(e,t){var r;return typeof e=="number"?e:(r=e[t])!==null&&r!==void 0?r:0}var Nh=function(){return{translate:0,scale:1,origin:0,originPoint:0}},Ao=function(){return{x:Nh(),y:Nh()}},Bh=function(){return{min:0,max:0}},Qe=function(){return{x:Bh(),y:Bh()}};function Wt(e){return[e("x"),e("y")]}function Bb(e){var t=e.top,r=e.left,n=e.right,o=e.bottom;return{x:{min:r,max:n},y:{min:t,max:o}}}function $P(e){var t=e.x,r=e.y;return{top:r.min,right:t.max,bottom:r.max,left:t.min}}function EP(e,t){if(!t)return e;var r=t({x:e.left,y:e.top}),n=t({x:e.right,y:e.bottom});return{top:r.y,left:r.x,bottom:n.y,right:n.x}}function _l(e){return e===void 0||e===1}function Vb(e){var t=e.scale,r=e.scaleX,n=e.scaleY;return!_l(t)||!_l(r)||!_l(n)}function gr(e){return Vb(e)||Vh(e.x)||Vh(e.y)||e.z||e.rotate||e.rotateX||e.rotateY}function Vh(e){return e&&e!=="0%"}function Xa(e,t,r){var n=e-r,o=t*n;return r+o}function Wh(e,t,r,n,o){return o!==void 0&&(e=Xa(e,o,n)),Xa(e,r,n)+t}function Eu(e,t,r,n,o){t===void 0&&(t=0),r===void 0&&(r=1),e.min=Wh(e.min,t,r,n,o),e.max=Wh(e.max,t,r,n,o)}function Wb(e,t){var r=t.x,n=t.y;Eu(e.x,r.translate,r.scale,r.originPoint),Eu(e.y,n.translate,n.scale,n.originPoint)}function SP(e,t,r,n){var o,i;n===void 0&&(n=!1);var a=r.length;if(a){t.x=t.y=1;for(var s,l,c=0;c<a;c++)s=r[c],l=s.projectionDelta,((i=(o=s.instance)===null||o===void 0?void 0:o.style)===null||i===void 0?void 0:i.display)!=="contents"&&(n&&s.options.layoutScroll&&s.scroll&&s!==s.root&&Tn(e,{x:-s.scroll.x,y:-s.scroll.y}),l&&(t.x*=l.x.scale,t.y*=l.y.scale,Wb(e,l)),n&&gr(s.latestValues)&&Tn(e,s.latestValues))}}function yr(e,t){e.min=e.min+t,e.max=e.max+t}function Uh(e,t,r){var n=Me(r,3),o=n[0],i=n[1],a=n[2],s=t[a]!==void 0?t[a]:.5,l=De(e.min,e.max,s);Eu(e,t[o],t[i],l,t.scale)}var CP=["x","scaleX","originX"],OP=["y","scaleY","originY"];function Tn(e,t){Uh(e.x,t,CP),Uh(e.y,t,OP)}function Ub(e,t){return Bb(EP(e.getBoundingClientRect(),t))}function TP(e,t,r){var n=Ub(e,r),o=t.scroll;return o&&(yr(n.x,o.x),yr(n.y,o.y)),n}var kP=new WeakMap,AP=function(){function e(t){this.openGlobalLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=Qe(),this.visualElement=t}return e.prototype.start=function(t,r){var n=this,o=r===void 0?{}:r,i=o.snapToCursor,a=i===void 0?!1:i;if(this.visualElement.isPresent!==!1){var s=function(d){n.stopAnimation(),a&&n.snapToCursor(Bf(d,"page").point)},l=function(d,p){var v,h=n.getProps(),m=h.drag,y=h.dragPropagation,x=h.onDragStart;m&&!y&&(n.openGlobalLock&&n.openGlobalLock(),n.openGlobalLock=ub(m),!n.openGlobalLock)||(n.isDragging=!0,n.currentDirection=null,n.resolveConstraints(),n.visualElement.projection&&(n.visualElement.projection.isAnimationBlocked=!0,n.visualElement.projection.target=void 0),Wt(function(b){var $,g,C=n.getAxisMotionValue(b).get()||0;if(Kt.test(C)){var S=(g=($=n.visualElement.projection)===null||$===void 0?void 0:$.layout)===null||g===void 0?void 0:g.actual[b];if(S){var O=ar(S);C=O*(parseFloat(C)/100)}}n.originPoint[b]=C}),x==null||x(d,p),(v=n.visualElement.animationState)===null||v===void 0||v.setActive(Oe.Drag,!0))},c=function(d,p){var v=n.getProps(),h=v.dragPropagation,m=v.dragDirectionLock,y=v.onDirectionLock,x=v.onDrag;if(!(!h&&!n.openGlobalLock)){var b=p.offset;if(m&&n.currentDirection===null){n.currentDirection=PP(b),n.currentDirection!==null&&(y==null||y(n.currentDirection));return}n.updateAxis("x",p.point,b),n.updateAxis("y",p.point,b),n.visualElement.syncRender(),x==null||x(d,p)}},u=function(d,p){return n.stop(d,p)};this.panSession=new jb(t,{onSessionStart:s,onStart:l,onMove:c,onSessionEnd:u},{transformPagePoint:this.visualElement.getTransformPagePoint()})}},e.prototype.stop=function(t,r){var n=this.isDragging;if(this.cancel(),!!n){var o=r.velocity;this.startAnimation(o);var i=this.getProps().onDragEnd;i==null||i(t,r)}},e.prototype.cancel=function(){var t,r;this.isDragging=!1,this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!1),(t=this.panSession)===null||t===void 0||t.end(),this.panSession=void 0;var n=this.getProps().dragPropagation;!n&&this.openGlobalLock&&(this.openGlobalLock(),this.openGlobalLock=null),(r=this.visualElement.animationState)===null||r===void 0||r.setActive(Oe.Drag,!1)},e.prototype.updateAxis=function(t,r,n){var o=this.getProps().drag;if(!(!n||!Ii(t,o,this.currentDirection))){var i=this.getAxisMotionValue(t),a=this.originPoint[t]+n[t];this.constraints&&this.constraints[t]&&(a=mP(a,this.constraints[t],this.elastic[t])),i.set(a)}},e.prototype.resolveConstraints=function(){var t=this,r=this.getProps(),n=r.dragConstraints,o=r.dragElastic,i=(this.visualElement.projection||{}).layout,a=this.constraints;n&&On(n)?this.constraints||(this.constraints=this.resolveRefConstraints()):n&&i?this.constraints=gP(i.actual,n):this.constraints=!1,this.elastic=wP(o),a!==this.constraints&&i&&this.constraints&&!this.hasMutatedConstraints&&Wt(function(s){t.getAxisMotionValue(s)&&(t.constraints[s]=xP(i.actual[s],t.constraints[s]))})},e.prototype.resolveRefConstraints=function(){var t=this.getProps(),r=t.dragConstraints,n=t.onMeasureDragConstraints;if(!r||!On(r))return!1;var o=r.current,i=this.visualElement.projection;if(!i||!i.layout)return!1;var a=TP(o,i.root,this.visualElement.getTransformPagePoint()),s=yP(i.layout.actual,a);if(n){var l=n($P(s));this.hasMutatedConstraints=!!l,l&&(s=Bb(l))}return s},e.prototype.startAnimation=function(t){var r=this,n=this.getProps(),o=n.drag,i=n.dragMomentum,a=n.dragElastic,s=n.dragTransition,l=n.dragSnapToOrigin,c=n.onDragTransitionEnd,u=this.constraints||{},d=Wt(function(p){var v;if(Ii(p,o,r.currentDirection)){var h=(v=u==null?void 0:u[p])!==null&&v!==void 0?v:{};l&&(h={min:0,max:0});var m=a?200:1e6,y=a?40:1e7,x=M(M({type:"inertia",velocity:i?t[p]:0,bounceStiffness:m,bounceDamping:y,timeConstant:750,restDelta:1,restSpeed:10},s),h);return r.startAxisValueAnimation(p,x)}});return Promise.all(d).then(c)},e.prototype.startAxisValueAnimation=function(t,r){var n=this.getAxisMotionValue(t);return Jf(t,n,0,r)},e.prototype.stopAnimation=function(){var t=this;Wt(function(r){return t.getAxisMotionValue(r).stop()})},e.prototype.getAxisMotionValue=function(t){var r,n,o="_drag"+t.toUpperCase(),i=this.visualElement.getProps()[o];return i||this.visualElement.getValue(t,(n=(r=this.visualElement.getProps().initial)===null||r===void 0?void 0:r[t])!==null&&n!==void 0?n:0)},e.prototype.snapToCursor=function(t){var r=this;Wt(function(n){var o=r.getProps().drag;if(Ii(n,o,r.currentDirection)){var i=r.visualElement.projection,a=r.getAxisMotionValue(n);if(i&&i.layout){var s=i.layout.actual[n],l=s.min,c=s.max;a.set(t[n]-De(l,c,.5))}}})},e.prototype.scalePositionWithinConstraints=function(){var t=this,r,n=this.getProps(),o=n.drag,i=n.dragConstraints,a=this.visualElement.projection;if(!(!On(i)||!a||!this.constraints)){this.stopAnimation();var s={x:0,y:0};Wt(function(c){var u=t.getAxisMotionValue(c);if(u){var d=u.get();s[c]=bP({min:d,max:d},t.constraints[c])}});var l=this.visualElement.getProps().transformTemplate;this.visualElement.getInstance().style.transform=l?l({},""):"none",(r=a.root)===null||r===void 0||r.updateScroll(),a.updateLayout(),this.resolveConstraints(),Wt(function(c){if(Ii(c,o,null)){var u=t.getAxisMotionValue(c),d=t.constraints[c],p=d.min,v=d.max;u.set(De(p,v,s[c]))}})}},e.prototype.addListeners=function(){var t=this,r;kP.set(this.visualElement,this);var n=this.visualElement.getInstance(),o=zn(n,"pointerdown",function(c){var u=t.getProps(),d=u.drag,p=u.dragListener,v=p===void 0?!0:p;d&&v&&t.start(c)}),i=function(){var c=t.getProps().dragConstraints;On(c)&&(t.constraints=t.resolveRefConstraints())},a=this.visualElement.projection,s=a.addEventListener("measure",i);a&&!a.layout&&((r=a.root)===null||r===void 0||r.updateScroll(),a.updateLayout()),i();var l=Vs(window,"resize",function(){return t.scalePositionWithinConstraints()});return a.addEventListener("didUpdate",function(c){var u=c.delta,d=c.hasLayoutChanged;t.isDragging&&d&&(Wt(function(p){var v=t.getAxisMotionValue(p);v&&(t.originPoint[p]+=u[p].translate,v.set(v.get()+u[p].translate))}),t.visualElement.syncRender())}),function(){l(),o(),s()}},e.prototype.getProps=function(){var t=this.visualElement.getProps(),r=t.drag,n=r===void 0?!1:r,o=t.dragDirectionLock,i=o===void 0?!1:o,a=t.dragPropagation,s=a===void 0?!1:a,l=t.dragConstraints,c=l===void 0?!1:l,u=t.dragElastic,d=u===void 0?$u:u,p=t.dragMomentum,v=p===void 0?!0:p;return M(M({},t),{drag:n,dragDirectionLock:i,dragPropagation:s,dragConstraints:c,dragElastic:d,dragMomentum:v})},e}();function Ii(e,t,r){return(t===!0||t===e)&&(r===null||r===e)}function PP(e,t){t===void 0&&(t=10);var r=null;return Math.abs(e.y)>t?r="y":Math.abs(e.x)>t&&(r="x"),r}function zP(e){var t=e.dragControls,r=e.visualElement,n=ni(function(){return new AP(r)});f.useEffect(function(){return t&&t.subscribe(n)},[n,t]),f.useEffect(function(){return n.addListeners()},[n])}function _P(e){var t=e.onPan,r=e.onPanStart,n=e.onPanEnd,o=e.onPanSessionStart,i=e.visualElement,a=t||r||n||o,s=f.useRef(null),l=f.useContext(_f).transformPagePoint,c={onSessionStart:o,onStart:r,onMove:t,onEnd:function(d,p){s.current=null,n&&n(d,p)}};f.useEffect(function(){s.current!==null&&s.current.updateHandlers(c)});function u(d){s.current=new jb(d,c,{transformPagePoint:l})}Wa(i,"pointerdown",a&&u),Vf(function(){return s.current&&s.current.end()})}var IP={pan:wr(_P),drag:wr(zP)},Ri=["LayoutMeasure","BeforeLayoutMeasure","LayoutUpdate","ViewportBoxUpdate","Update","Render","AnimationComplete","LayoutAnimationComplete","AnimationStart","LayoutAnimationStart","SetAxisTarget","Unmount"];function RP(){var e=Ri.map(function(){return new Oo}),t={},r={clearAllListeners:function(){return e.forEach(function(n){return n.clear()})},updatePropListeners:function(n){Ri.forEach(function(o){var i,a="on"+o,s=n[a];(i=t[o])===null||i===void 0||i.call(t),s&&(t[o]=r[a](s))})}};return e.forEach(function(n,o){r["on"+Ri[o]]=function(i){return n.add(i)},r["notify"+Ri[o]]=function(){for(var i=[],a=0;a<arguments.length;a++)i[a]=arguments[a];return n.notify.apply(n,Rt([],Me(i),!1))}}),r}function LP(e,t,r){var n;for(var o in t){var i=t[o],a=r[o];if(or(i))e.addValue(o,i);else if(or(a))e.addValue(o,Wn(i));else if(a!==i)if(e.hasValue(o)){var s=e.getValue(o);!s.hasAnimated&&s.set(i)}else e.addValue(o,Wn((n=e.getStaticValue(o))!==null&&n!==void 0?n:i))}for(var o in r)t[o]===void 0&&e.removeValue(o);return t}var Hb=function(e){var t=e.treeType,r=t===void 0?"":t,n=e.build,o=e.getBaseTarget,i=e.makeTargetAnimatable,a=e.measureViewportBox,s=e.render,l=e.readValueFromInstance,c=e.removeValueFromRenderState,u=e.sortNodePosition,d=e.scrapeMotionValuesFromProps;return function(p,v){var h=p.parent,m=p.props,y=p.presenceId,x=p.blockInitialAnimation,b=p.visualState,$=p.shouldReduceMotion;v===void 0&&(v={});var g=!1,C=b.latestValues,S=b.renderState,O,T=RP(),k=new Map,L=new Map,B={},N=M({},C),W;function X(){!O||!g||(V(),s(O,S,m.style,I.projection))}function V(){n(I,S,C,v,m)}function te(){T.notifyUpdate(C)}function Y(z,_){var D=_.onChange(function(G){C[z]=G,m.onUpdate&&Lt.update(te,!1,!0)}),Q=_.onRenderRequest(I.scheduleRender);L.set(z,function(){D(),Q()})}var J=d(m);for(var H in J){var ce=J[H];C[H]!==void 0&&or(ce)&&ce.set(C[H],!1)}var xe=Bs(m),A=Fy(m),I=M(M({treeType:r,current:null,depth:h?h.depth+1:0,parent:h,children:new Set,presenceId:y,shouldReduceMotion:$,variantChildren:A?new Set:void 0,isVisible:void 0,manuallyAnimateOnMount:!!(h!=null&&h.isMounted()),blockInitialAnimation:x,isMounted:function(){return!!O},mount:function(z){g=!0,O=I.current=z,I.projection&&I.projection.mount(z),A&&h&&!xe&&(W=h==null?void 0:h.addVariantChild(I)),k.forEach(function(_,D){return Y(D,_)}),h==null||h.children.add(I),I.setProps(m)},unmount:function(){var z;(z=I.projection)===null||z===void 0||z.unmount(),Vn.update(te),Vn.render(X),L.forEach(function(_){return _()}),W==null||W(),h==null||h.children.delete(I),T.clearAllListeners(),O=void 0,g=!1},addVariantChild:function(z){var _,D=I.getClosestVariantNode();if(D)return(_=D.variantChildren)===null||_===void 0||_.add(z),function(){return D.variantChildren.delete(z)}},sortNodePosition:function(z){return!u||r!==z.treeType?0:u(I.getInstance(),z.getInstance())},getClosestVariantNode:function(){return A?I:h==null?void 0:h.getClosestVariantNode()},getLayoutId:function(){return m.layoutId},getInstance:function(){return O},getStaticValue:function(z){return C[z]},setStaticValue:function(z,_){return C[z]=_},getLatestValues:function(){return C},setVisibility:function(z){I.isVisible!==z&&(I.isVisible=z,I.scheduleRender())},makeTargetAnimatable:function(z,_){return _===void 0&&(_=!0),i(I,z,m,_)},measureViewportBox:function(){return a(O,m)},addValue:function(z,_){I.hasValue(z)&&I.removeValue(z),k.set(z,_),C[z]=_.get(),Y(z,_)},removeValue:function(z){var _;k.delete(z),(_=L.get(z))===null||_===void 0||_(),L.delete(z),delete C[z],c(z,S)},hasValue:function(z){return k.has(z)},getValue:function(z,_){var D=k.get(z);return D===void 0&&_!==void 0&&(D=Wn(_),I.addValue(z,D)),D},forEachValue:function(z){return k.forEach(z)},readValue:function(z){var _;return(_=C[z])!==null&&_!==void 0?_:l(O,z,v)},setBaseTarget:function(z,_){N[z]=_},getBaseTarget:function(z){if(o){var _=o(m,z);if(_!==void 0&&!or(_))return _}return N[z]}},T),{build:function(){return V(),S},scheduleRender:function(){Lt.render(X,!1,!0)},syncRender:X,setProps:function(z){(z.transformTemplate||m.transformTemplate)&&I.scheduleRender(),m=z,T.updatePropListeners(z),B=LP(I,d(m),B)},getProps:function(){return m},getVariant:function(z){var _;return(_=m.variants)===null||_===void 0?void 0:_[z]},getDefaultTransition:function(){return m.transition},getTransformPagePoint:function(){return m.transformPagePoint},getVariantContext:function(z){if(z===void 0&&(z=!1),z)return h==null?void 0:h.getVariantContext();if(!xe){var _=(h==null?void 0:h.getVariantContext())||{};return m.initial!==void 0&&(_.initial=m.initial),_}for(var D={},Q=0;Q<FP;Q++){var G=Gb[Q],U=m[G];(Pt(U)||U===!1)&&(D[G]=U)}return D}});return I}},Gb=Rt(["initial"],Me(td),!1),FP=Gb.length;function Su(e){return typeof e=="string"&&e.startsWith("var(--")}var qb=/var\((--[a-zA-Z0-9-_]+),? ?([a-zA-Z0-9 ()%#.,-]+)?\)/;function DP(e){var t=qb.exec(e);if(!t)return[,];var r=Me(t,3),n=r[1],o=r[2];return[n,o]}function Cu(e,t,r){var n=Me(DP(e),2),o=n[0],i=n[1];if(o){var a=window.getComputedStyle(t).getPropertyValue(o);return a?a.trim():Su(i)?Cu(i,t):i}}function MP(e,t,r){var n,o=Ot(t,[]),i=e.getInstance();if(!(i instanceof Element))return{target:o,transitionEnd:r};r&&(r=M({},r)),e.forEachValue(function(c){var u=c.get();if(Su(u)){var d=Cu(u,i);d&&c.set(d)}});for(var a in o){var s=o[a];if(Su(s)){var l=Cu(s,i);l&&(o[a]=l,r&&((n=r[a])!==null&&n!==void 0||(r[a]=s)))}}return{target:o,transitionEnd:r}}var jP=new Set(["width","height","top","left","right","bottom","x","y"]),Yb=function(e){return jP.has(e)},NP=function(e){return Object.keys(e).some(Yb)},Xb=function(e,t){e.set(t,!1),e.set(t)},Hh=function(e){return e===nn||e===oe},Gh;(function(e){e.width="width",e.height="height",e.left="left",e.right="right",e.top="top",e.bottom="bottom"})(Gh||(Gh={}));var qh=function(e,t){return parseFloat(e.split(", ")[t])},Yh=function(e,t){return function(r,n){var o=n.transform;if(o==="none"||!o)return 0;var i=o.match(/^matrix3d\((.+)\)$/);if(i)return qh(i[1],t);var a=o.match(/^matrix\((.+)\)$/);return a?qh(a[1],e):0}},BP=new Set(["x","y","z"]),VP=No.filter(function(e){return!BP.has(e)});function WP(e){var t=[];return VP.forEach(function(r){var n=e.getValue(r);n!==void 0&&(t.push([r,n.get()]),n.set(r.startsWith("scale")?1:0))}),t.length&&e.syncRender(),t}var Xh={width:function(e,t){var r=e.x,n=t.paddingLeft,o=n===void 0?"0":n,i=t.paddingRight,a=i===void 0?"0":i;return r.max-r.min-parseFloat(o)-parseFloat(a)},height:function(e,t){var r=e.y,n=t.paddingTop,o=n===void 0?"0":n,i=t.paddingBottom,a=i===void 0?"0":i;return r.max-r.min-parseFloat(o)-parseFloat(a)},top:function(e,t){var r=t.top;return parseFloat(r)},left:function(e,t){var r=t.left;return parseFloat(r)},bottom:function(e,t){var r=e.y,n=t.top;return parseFloat(n)+(r.max-r.min)},right:function(e,t){var r=e.x,n=t.left;return parseFloat(n)+(r.max-r.min)},x:Yh(4,13),y:Yh(5,14)},UP=function(e,t,r){var n=t.measureViewportBox(),o=t.getInstance(),i=getComputedStyle(o),a=i.display,s={};a==="none"&&t.setStaticValue("display",e.display||"block"),r.forEach(function(c){s[c]=Xh[c](n,i)}),t.syncRender();var l=t.measureViewportBox();return r.forEach(function(c){var u=t.getValue(c);Xb(u,s[c]),e[c]=Xh[c](l,i)}),e},HP=function(e,t,r,n){r===void 0&&(r={}),n===void 0&&(n={}),t=M({},t),n=M({},n);var o=Object.keys(t).filter(Yb),i=[],a=!1,s=[];if(o.forEach(function(u){var d=e.getValue(u);if(e.hasValue(u)){var p=r[u],v=so(p),h=t[u],m;if(Vo(h)){var y=h.length,x=h[0]===null?1:0;p=h[x],v=so(p);for(var b=x;b<y;b++)m?ja(so(h[b])===m):m=so(h[b])}else m=so(h);if(v!==m)if(Hh(v)&&Hh(m)){var $=d.get();typeof $=="string"&&d.set(parseFloat($)),typeof h=="string"?t[u]=parseFloat(h):Array.isArray(h)&&m===oe&&(t[u]=h.map(parseFloat))}else v!=null&&v.transform&&(m!=null&&m.transform)&&(p===0||h===0)?p===0?d.set(m.transform(p)):t[u]=v.transform(h):(a||(i=WP(e),a=!0),s.push(u),n[u]=n[u]!==void 0?n[u]:t[u],Xb(d,h))}}),s.length){var l=s.indexOf("height")>=0?window.pageYOffset:null,c=UP(t,e,s);return i.length&&i.forEach(function(u){var d=Me(u,2),p=d[0],v=d[1];e.getValue(p).set(v)}),e.syncRender(),l!==null&&window.scrollTo({top:l}),{target:c,transitionEnd:n}}else return{target:t,transitionEnd:n}};function GP(e,t,r,n){return NP(t)?HP(e,t,r,n):{target:t,transitionEnd:n}}var qP=function(e,t,r,n){var o=MP(e,t,n);return t=o.target,n=o.transitionEnd,GP(e,t,r,n)};function YP(e){return window.getComputedStyle(e)}var Kb={treeType:"dom",readValueFromInstance:function(e,t){if(oi(t)){var r=Xf(t);return r&&r.default||0}else{var n=YP(e);return(Ny(t)?n.getPropertyValue(t):n[t])||0}},sortNodePosition:function(e,t){return e.compareDocumentPosition(t)&2?1:-1},getBaseTarget:function(e,t){var r;return(r=e.style)===null||r===void 0?void 0:r[t]},measureViewportBox:function(e,t){var r=t.transformPagePoint;return Ub(e,r)},resetTransform:function(e,t,r){var n=r.transformTemplate;t.style.transform=n?n({},""):"none",e.scheduleRender()},restoreTransform:function(e,t){e.style.transform=t.style.transform},removeValueFromRenderState:function(e,t){var r=t.vars,n=t.style;delete r[e],delete n[e]},makeTargetAnimatable:function(e,t,r,n){var o=r.transformValues;n===void 0&&(n=!0);var i=t.transition,a=t.transitionEnd,s=Ot(t,["transition","transitionEnd"]),l=tP(s,i||{},e);if(o&&(a&&(a=o(a)),s&&(s=o(s)),l&&(l=o(l))),n){Q4(e,s,l);var c=qP(e,s,l,a);a=c.transitionEnd,s=c.target}return M({transition:i,transitionEnd:a},s)},scrapeMotionValuesFromProps:jf,build:function(e,t,r,n,o){e.isVisible!==void 0&&(t.style.visibility=e.isVisible?"visible":"hidden"),Ff(t,r,n,o.transformTemplate)},render:Qy},XP=Hb(Kb),KP=Hb(M(M({},Kb),{getBaseTarget:function(e,t){return e[t]},readValueFromInstance:function(e,t){var r;return oi(t)?((r=Xf(t))===null||r===void 0?void 0:r.default)||0:(t=eb.has(t)?t:Jy(t),e.getAttribute(t))},scrapeMotionValuesFromProps:rb,build:function(e,t,r,n,o){Mf(t,r,n,o.transformTemplate)},render:tb})),ZP=function(e,t){return Rf(e)?KP(t,{enableHardwareAcceleration:!1}):XP(t,{enableHardwareAcceleration:!0})};function Kh(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}var lo={correct:function(e,t){if(!t.target)return e;if(typeof e=="string")if(oe.test(e))e=parseFloat(e);else return e;var r=Kh(e,t.target.x),n=Kh(e,t.target.y);return"".concat(r,"% ").concat(n,"%")}},Zh="_$css",JP={correct:function(e,t){var r=t.treeScale,n=t.projectionDelta,o=e,i=e.includes("var("),a=[];i&&(e=e.replace(qb,function(m){return a.push(m),Zh}));var s=ir.parse(e);if(s.length>5)return o;var l=ir.createTransformer(e),c=typeof s[0]!="number"?1:0,u=n.x.scale*r.x,d=n.y.scale*r.y;s[0+c]/=u,s[1+c]/=d;var p=De(u,d,.5);typeof s[2+c]=="number"&&(s[2+c]/=p),typeof s[3+c]=="number"&&(s[3+c]/=p);var v=l(s);if(i){var h=0;v=v.replace(Zh,function(){var m=a[h];return h++,m})}return v}},QP=function(e){Py(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t.prototype.componentDidMount=function(){var r=this,n=this.props,o=n.visualElement,i=n.layoutGroup,a=n.switchLayoutGroup,s=n.layoutId,l=o.projection;Sk(tz),l&&(i!=null&&i.group&&i.group.add(l),a!=null&&a.register&&s&&a.register(l),l.root.didUpdate(),l.addEventListener("animationComplete",function(){r.safeToRemove()}),l.setOptions(M(M({},l.options),{onExitComplete:function(){return r.safeToRemove()}}))),Eo.hasEverUpdated=!0},t.prototype.getSnapshotBeforeUpdate=function(r){var n=this,o=this.props,i=o.layoutDependency,a=o.visualElement,s=o.drag,l=o.isPresent,c=a.projection;return c&&(c.isPresent=l,s||r.layoutDependency!==i||i===void 0?c.willUpdate():this.safeToRemove(),r.isPresent!==l&&(l?c.promote():c.relegate()||Lt.postRender(function(){var u;!((u=c.getStack())===null||u===void 0)&&u.members.length||n.safeToRemove()}))),null},t.prototype.componentDidUpdate=function(){var r=this.props.visualElement.projection;r&&(r.root.didUpdate(),!r.currentAnimation&&r.isLead()&&this.safeToRemove())},t.prototype.componentWillUnmount=function(){var r=this.props,n=r.visualElement,o=r.layoutGroup,i=r.switchLayoutGroup,a=n.projection;a&&(a.scheduleCheckAfterUnmount(),o!=null&&o.group&&o.group.remove(a),i!=null&&i.deregister&&i.deregister(a))},t.prototype.safeToRemove=function(){var r=this.props.safeToRemove;r==null||r()},t.prototype.render=function(){return null},t}(ye.Component);function ez(e){var t=Me(Rb(),2),r=t[0],n=t[1],o=f.useContext(If);return ye.createElement(QP,M({},e,{layoutGroup:o,switchLayoutGroup:f.useContext(Dy),isPresent:r,safeToRemove:n}))}var tz={borderRadius:M(M({},lo),{applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]}),borderTopLeftRadius:lo,borderTopRightRadius:lo,borderBottomLeftRadius:lo,borderBottomRightRadius:lo,boxShadow:JP},rz={measureLayout:ez};function nz(e,t,r){r===void 0&&(r={});var n=or(e)?e:Wn(e);return Jf("",n,t,r),{stop:function(){return n.stop()},isAnimating:function(){return n.isAnimating()}}}var Zb=["TopLeft","TopRight","BottomLeft","BottomRight"],oz=Zb.length,Jh=function(e){return typeof e=="string"?parseFloat(e):e},Qh=function(e){return typeof e=="number"||oe.test(e)};function iz(e,t,r,n,o,i){var a,s,l,c;o?(e.opacity=De(0,(a=r.opacity)!==null&&a!==void 0?a:1,az(n)),e.opacityExit=De((s=t.opacity)!==null&&s!==void 0?s:1,0,sz(n))):i&&(e.opacity=De((l=t.opacity)!==null&&l!==void 0?l:1,(c=r.opacity)!==null&&c!==void 0?c:1,n));for(var u=0;u<oz;u++){var d="border".concat(Zb[u],"Radius"),p=ev(t,d),v=ev(r,d);if(!(p===void 0&&v===void 0)){p||(p=0),v||(v=0);var h=p===0||v===0||Qh(p)===Qh(v);h?(e[d]=Math.max(De(Jh(p),Jh(v),n),0),(Kt.test(v)||Kt.test(p))&&(e[d]+="%")):e[d]=v}}(t.rotate||r.rotate)&&(e.rotate=De(t.rotate||0,r.rotate||0,n))}function ev(e,t){var r;return(r=e[t])!==null&&r!==void 0?r:e.borderRadius}var az=Jb(0,.5,qf),sz=Jb(.5,.95,Hf);function Jb(e,t,r){return function(n){return n<e?0:n>t?1:r(Wo(e,t,n))}}function tv(e,t){e.min=t.min,e.max=t.max}function At(e,t){tv(e.x,t.x),tv(e.y,t.y)}function rv(e,t,r,n,o){return e-=t,e=Xa(e,1/r,n),o!==void 0&&(e=Xa(e,1/o,n)),e}function lz(e,t,r,n,o,i,a){if(t===void 0&&(t=0),r===void 0&&(r=1),n===void 0&&(n=.5),i===void 0&&(i=e),a===void 0&&(a=e),Kt.test(t)){t=parseFloat(t);var s=De(a.min,a.max,t/100);t=s-a.min}if(typeof t=="number"){var l=De(i.min,i.max,n);e===i&&(l-=t),e.min=rv(e.min,t,r,l,o),e.max=rv(e.max,t,r,l,o)}}function nv(e,t,r,n,o){var i=Me(r,3),a=i[0],s=i[1],l=i[2];lz(e,t[a],t[s],t[l],t.scale,n,o)}var cz=["x","scaleX","originX"],uz=["y","scaleY","originY"];function ov(e,t,r,n){nv(e.x,t,cz,r==null?void 0:r.x,n==null?void 0:n.x),nv(e.y,t,uz,r==null?void 0:r.y,n==null?void 0:n.y)}function iv(e){return e.translate===0&&e.scale===1}function Qb(e){return iv(e.x)&&iv(e.y)}function e1(e,t){return e.x.min===t.x.min&&e.x.max===t.x.max&&e.y.min===t.y.min&&e.y.max===t.y.max}var fz=function(){function e(){this.members=[]}return e.prototype.add=function(t){Qf(this.members,t),t.scheduleRender()},e.prototype.remove=function(t){if(ed(this.members,t),t===this.prevLead&&(this.prevLead=void 0),t===this.lead){var r=this.members[this.members.length-1];r&&this.promote(r)}},e.prototype.relegate=function(t){var r=this.members.findIndex(function(a){return t===a});if(r===0)return!1;for(var n,o=r;o>=0;o--){var i=this.members[o];if(i.isPresent!==!1){n=i;break}}return n?(this.promote(n),!0):!1},e.prototype.promote=function(t,r){var n,o=this.lead;if(t!==o&&(this.prevLead=o,this.lead=t,t.show(),o)){o.instance&&o.scheduleRender(),t.scheduleRender(),t.resumeFrom=o,r&&(t.resumeFrom.preserveOpacity=!0),o.snapshot&&(t.snapshot=o.snapshot,t.snapshot.latestValues=o.animationValues||o.latestValues,t.snapshot.isShared=!0),!((n=t.root)===null||n===void 0)&&n.isUpdating&&(t.isLayoutDirty=!0);var i=t.options.crossfade;i===!1&&o.hide()}},e.prototype.exitAnimationComplete=function(){this.members.forEach(function(t){var r,n,o,i,a;(n=(r=t.options).onExitComplete)===null||n===void 0||n.call(r),(a=(o=t.resumingFrom)===null||o===void 0?void 0:(i=o.options).onExitComplete)===null||a===void 0||a.call(i)})},e.prototype.scheduleRender=function(){this.members.forEach(function(t){t.instance&&t.scheduleRender(!1)})},e.prototype.removeLeadSnapshot=function(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)},e}(),dz="translate3d(0px, 0px, 0) scale(1, 1) scale(1, 1)";function av(e,t,r){var n=e.x.translate/t.x,o=e.y.translate/t.y,i="translate3d(".concat(n,"px, ").concat(o,"px, 0) ");if(i+="scale(".concat(1/t.x,", ").concat(1/t.y,") "),r){var a=r.rotate,s=r.rotateX,l=r.rotateY;a&&(i+="rotate(".concat(a,"deg) ")),s&&(i+="rotateX(".concat(s,"deg) ")),l&&(i+="rotateY(".concat(l,"deg) "))}var c=e.x.scale*t.x,u=e.y.scale*t.y;return i+="scale(".concat(c,", ").concat(u,")"),i===dz?"none":i}var pz=function(e,t){return e.depth-t.depth},hz=function(){function e(){this.children=[],this.isDirty=!1}return e.prototype.add=function(t){Qf(this.children,t),this.isDirty=!0},e.prototype.remove=function(t){ed(this.children,t),this.isDirty=!0},e.prototype.forEach=function(t){this.isDirty&&this.children.sort(pz),this.isDirty=!1,this.children.forEach(t)},e}(),sv=1e3;function t1(e){var t=e.attachResizeListener,r=e.defaultParent,n=e.measureScroll,o=e.checkIsScrollRoot,i=e.resetTransform;return function(){function a(s,l,c){var u=this;l===void 0&&(l={}),c===void 0&&(c=r==null?void 0:r()),this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.potentialNodes=new Map,this.checkUpdateFailed=function(){u.isUpdating&&(u.isUpdating=!1,u.clearAllSnapshots())},this.updateProjection=function(){u.nodes.forEach(xz),u.nodes.forEach(wz)},this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.id=s,this.latestValues=l,this.root=c?c.root||c:this,this.path=c?Rt(Rt([],Me(c.path),!1),[c],!1):[],this.parent=c,this.depth=c?c.depth+1:0,s&&this.root.registerPotentialNode(s,this);for(var d=0;d<this.path.length;d++)this.path[d].shouldResetTransform=!0;this.root===this&&(this.nodes=new hz)}return a.prototype.addEventListener=function(s,l){return this.eventHandlers.has(s)||this.eventHandlers.set(s,new Oo),this.eventHandlers.get(s).add(l)},a.prototype.notifyListeners=function(s){for(var l=[],c=1;c<arguments.length;c++)l[c-1]=arguments[c];var u=this.eventHandlers.get(s);u==null||u.notify.apply(u,Rt([],Me(l),!1))},a.prototype.hasListeners=function(s){return this.eventHandlers.has(s)},a.prototype.registerPotentialNode=function(s,l){this.potentialNodes.set(s,l)},a.prototype.mount=function(s,l){var c=this,u;if(l===void 0&&(l=!1),!this.instance){this.isSVG=s instanceof SVGElement&&s.tagName!=="svg",this.instance=s;var d=this.options,p=d.layoutId,v=d.layout,h=d.visualElement;if(h&&!h.getInstance()&&h.mount(s),this.root.nodes.add(this),(u=this.parent)===null||u===void 0||u.children.add(this),this.id&&this.root.potentialNodes.delete(this.id),l&&(v||p)&&(this.isLayoutDirty=!0),t){var m,y=function(){return c.root.updateBlockedByResize=!1};t(s,function(){c.root.updateBlockedByResize=!0,clearTimeout(m),m=window.setTimeout(y,250),Eo.hasAnimatedSinceResize&&(Eo.hasAnimatedSinceResize=!1,c.nodes.forEach(bz))})}p&&this.root.registerSharedNode(p,this),this.options.animate!==!1&&h&&(p||v)&&this.addEventListener("didUpdate",function(x){var b,$,g,C,S,O=x.delta,T=x.hasLayoutChanged,k=x.hasRelativeTargetChanged,L=x.layout;if(c.isTreeAnimationBlocked()){c.target=void 0,c.relativeTarget=void 0;return}var B=($=(b=c.options.transition)!==null&&b!==void 0?b:h.getDefaultTransition())!==null&&$!==void 0?$:Oz,N=h.getProps(),W=N.onLayoutAnimationStart,X=N.onLayoutAnimationComplete,V=!c.targetLayout||!e1(c.targetLayout,L)||k,te=!T&&k;if(!((g=c.resumeFrom)===null||g===void 0)&&g.instance||te||T&&(V||!c.currentAnimation)){c.resumeFrom&&(c.resumingFrom=c.resumeFrom,c.resumingFrom.resumingFrom=void 0),c.setAnimationOrigin(O,te);var Y=M(M({},Zf(B,"layout")),{onPlay:W,onComplete:X});h.shouldReduceMotion&&(Y.delay=0,Y.type=!1),c.startAnimation(Y)}else!T&&c.animationProgress===0&&c.finishAnimation(),c.isLead()&&((S=(C=c.options).onExitComplete)===null||S===void 0||S.call(C));c.targetLayout=L})}},a.prototype.unmount=function(){var s,l;this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this),(s=this.getStack())===null||s===void 0||s.remove(this),(l=this.parent)===null||l===void 0||l.children.delete(this),this.instance=void 0,Vn.preRender(this.updateProjection)},a.prototype.blockUpdate=function(){this.updateManuallyBlocked=!0},a.prototype.unblockUpdate=function(){this.updateManuallyBlocked=!1},a.prototype.isUpdateBlocked=function(){return this.updateManuallyBlocked||this.updateBlockedByResize},a.prototype.isTreeAnimationBlocked=function(){var s;return this.isAnimationBlocked||((s=this.parent)===null||s===void 0?void 0:s.isTreeAnimationBlocked())||!1},a.prototype.startUpdate=function(){var s;this.isUpdateBlocked()||(this.isUpdating=!0,(s=this.nodes)===null||s===void 0||s.forEach($z))},a.prototype.willUpdate=function(s){var l,c,u;if(s===void 0&&(s=!0),this.root.isUpdateBlocked()){(c=(l=this.options).onExitComplete)===null||c===void 0||c.call(l);return}if(!this.root.isUpdating&&this.root.startUpdate(),!this.isLayoutDirty){this.isLayoutDirty=!0;for(var d=0;d<this.path.length;d++){var p=this.path[d];p.shouldResetTransform=!0,p.updateScroll()}var v=this.options,h=v.layoutId,m=v.layout;if(!(h===void 0&&!m)){var y=(u=this.options.visualElement)===null||u===void 0?void 0:u.getProps().transformTemplate;this.prevTransformTemplateValue=y==null?void 0:y(this.latestValues,""),this.updateSnapshot(),s&&this.notifyListeners("willUpdate")}}},a.prototype.didUpdate=function(){var s=this.isUpdateBlocked();if(s){this.unblockUpdate(),this.clearAllSnapshots(),this.nodes.forEach(lv);return}this.isUpdating&&(this.isUpdating=!1,this.potentialNodes.size&&(this.potentialNodes.forEach(Tz),this.potentialNodes.clear()),this.nodes.forEach(yz),this.nodes.forEach(vz),this.nodes.forEach(mz),this.clearAllSnapshots(),Tl.update(),Tl.preRender(),Tl.render())},a.prototype.clearAllSnapshots=function(){this.nodes.forEach(gz),this.sharedNodes.forEach(Ez)},a.prototype.scheduleUpdateProjection=function(){Lt.preRender(this.updateProjection,!1,!0)},a.prototype.scheduleCheckAfterUnmount=function(){var s=this;Lt.postRender(function(){s.isLayoutDirty?s.root.didUpdate():s.root.checkUpdateFailed()})},a.prototype.updateSnapshot=function(){if(!(this.snapshot||!this.instance)){var s=this.measure(),l=this.removeTransform(this.removeElementScroll(s));dv(l),this.snapshot={measured:s,layout:l,latestValues:{}}}},a.prototype.updateLayout=function(){var s;if(this.instance&&(this.updateScroll(),!(!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))){if(this.resumeFrom&&!this.resumeFrom.instance)for(var l=0;l<this.path.length;l++){var c=this.path[l];c.updateScroll()}var u=this.measure();dv(u);var d=this.layout;this.layout={measured:u,actual:this.removeElementScroll(u)},this.layoutCorrected=Qe(),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.actual),(s=this.options.visualElement)===null||s===void 0||s.notifyLayoutMeasure(this.layout.actual,d==null?void 0:d.actual)}},a.prototype.updateScroll=function(){this.options.layoutScroll&&this.instance&&(this.isScrollRoot=o(this.instance),this.scroll=n(this.instance))},a.prototype.resetTransform=function(){var s;if(i){var l=this.isLayoutDirty||this.shouldResetTransform,c=this.projectionDelta&&!Qb(this.projectionDelta),u=(s=this.options.visualElement)===null||s===void 0?void 0:s.getProps().transformTemplate,d=u==null?void 0:u(this.latestValues,""),p=d!==this.prevTransformTemplateValue;l&&(c||gr(this.latestValues)||p)&&(i(this.instance,d),this.shouldResetTransform=!1,this.scheduleRender())}},a.prototype.measure=function(){var s=this.options.visualElement;if(!s)return Qe();var l=s.measureViewportBox(),c=this.root.scroll;return c&&(yr(l.x,c.x),yr(l.y,c.y)),l},a.prototype.removeElementScroll=function(s){var l=Qe();At(l,s);for(var c=0;c<this.path.length;c++){var u=this.path[c],d=u.scroll,p=u.options,v=u.isScrollRoot;if(u!==this.root&&d&&p.layoutScroll){if(v){At(l,s);var h=this.root.scroll;h&&(yr(l.x,-h.x),yr(l.y,-h.y))}yr(l.x,d.x),yr(l.y,d.y)}}return l},a.prototype.applyTransform=function(s,l){l===void 0&&(l=!1);var c=Qe();At(c,s);for(var u=0;u<this.path.length;u++){var d=this.path[u];!l&&d.options.layoutScroll&&d.scroll&&d!==d.root&&Tn(c,{x:-d.scroll.x,y:-d.scroll.y}),gr(d.latestValues)&&Tn(c,d.latestValues)}return gr(this.latestValues)&&Tn(c,this.latestValues),c},a.prototype.removeTransform=function(s){var l,c=Qe();At(c,s);for(var u=0;u<this.path.length;u++){var d=this.path[u];if(d.instance&&gr(d.latestValues)){Vb(d.latestValues)&&d.updateSnapshot();var p=Qe(),v=d.measure();At(p,v),ov(c,d.latestValues,(l=d.snapshot)===null||l===void 0?void 0:l.layout,p)}}return gr(this.latestValues)&&ov(c,this.latestValues),c},a.prototype.setTargetDelta=function(s){this.targetDelta=s,this.root.scheduleUpdateProjection()},a.prototype.setOptions=function(s){var l;this.options=M(M(M({},this.options),s),{crossfade:(l=s.crossfade)!==null&&l!==void 0?l:!0})},a.prototype.clearMeasurements=function(){this.scroll=void 0,this.layout=void 0,this.snapshot=void 0,this.prevTransformTemplateValue=void 0,this.targetDelta=void 0,this.target=void 0,this.isLayoutDirty=!1},a.prototype.resolveTargetDelta=function(){var s,l=this.options,c=l.layout,u=l.layoutId;!this.layout||!(c||u)||(!this.targetDelta&&!this.relativeTarget&&(this.relativeParent=this.getClosestProjectingParent(),this.relativeParent&&this.relativeParent.layout&&(this.relativeTarget=Qe(),this.relativeTargetOrigin=Qe(),ko(this.relativeTargetOrigin,this.layout.actual,this.relativeParent.layout.actual),At(this.relativeTarget,this.relativeTargetOrigin))),!(!this.relativeTarget&&!this.targetDelta)&&(this.target||(this.target=Qe(),this.targetWithTransforms=Qe()),this.relativeTarget&&this.relativeTargetOrigin&&(!((s=this.relativeParent)===null||s===void 0)&&s.target)?vP(this.target,this.relativeTarget,this.relativeParent.target):this.targetDelta?(this.resumingFrom?this.target=this.applyTransform(this.layout.actual):At(this.target,this.layout.actual),Wb(this.target,this.targetDelta)):At(this.target,this.layout.actual),this.attemptToResolveRelativeTarget&&(this.attemptToResolveRelativeTarget=!1,this.relativeParent=this.getClosestProjectingParent(),this.relativeParent&&!!this.relativeParent.resumingFrom==!!this.resumingFrom&&!this.relativeParent.options.layoutScroll&&this.relativeParent.target&&(this.relativeTarget=Qe(),this.relativeTargetOrigin=Qe(),ko(this.relativeTargetOrigin,this.target,this.relativeParent.target),At(this.relativeTarget,this.relativeTargetOrigin)))))},a.prototype.getClosestProjectingParent=function(){if(!(!this.parent||gr(this.parent.latestValues)))return(this.parent.relativeTarget||this.parent.targetDelta)&&this.parent.layout?this.parent:this.parent.getClosestProjectingParent()},a.prototype.calcProjection=function(){var s,l=this.options,c=l.layout,u=l.layoutId;if(this.isTreeAnimating=!!(!((s=this.parent)===null||s===void 0)&&s.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!(!this.layout||!(c||u))){var d=this.getLead();At(this.layoutCorrected,this.layout.actual),SP(this.layoutCorrected,this.treeScale,this.path,!!this.resumingFrom||this!==d);var p=d.target;if(p){this.projectionDelta||(this.projectionDelta=Ao(),this.projectionDeltaWithTransform=Ao());var v=this.treeScale.x,h=this.treeScale.y,m=this.projectionTransform;To(this.projectionDelta,this.layoutCorrected,p,this.latestValues),this.projectionTransform=av(this.projectionDelta,this.treeScale),(this.projectionTransform!==m||this.treeScale.x!==v||this.treeScale.y!==h)&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",p))}}},a.prototype.hide=function(){this.isVisible=!1},a.prototype.show=function(){this.isVisible=!0},a.prototype.scheduleRender=function(s){var l,c,u;s===void 0&&(s=!0),(c=(l=this.options).scheduleRender)===null||c===void 0||c.call(l),s&&((u=this.getStack())===null||u===void 0||u.scheduleRender()),this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)},a.prototype.setAnimationOrigin=function(s,l){var c=this,u;l===void 0&&(l=!1);var d=this.snapshot,p=(d==null?void 0:d.latestValues)||{},v=M({},this.latestValues),h=Ao();this.relativeTarget=this.relativeTargetOrigin=void 0,this.attemptToResolveRelativeTarget=!l;var m=Qe(),y=d==null?void 0:d.isShared,x=(((u=this.getStack())===null||u===void 0?void 0:u.members.length)||0)<=1,b=!!(y&&!x&&this.options.crossfade===!0&&!this.path.some(Cz));this.animationProgress=0,this.mixTargetDelta=function($){var g,C=$/1e3;cv(h.x,s.x,C),cv(h.y,s.y,C),c.setTargetDelta(h),c.relativeTarget&&c.relativeTargetOrigin&&c.layout&&(!((g=c.relativeParent)===null||g===void 0)&&g.layout)&&(ko(m,c.layout.actual,c.relativeParent.layout.actual),Sz(c.relativeTarget,c.relativeTargetOrigin,m,C)),y&&(c.animationValues=v,iz(v,p,c.latestValues,C,b,x)),c.root.scheduleUpdateProjection(),c.scheduleRender(),c.animationProgress=C},this.mixTargetDelta(0)},a.prototype.startAnimation=function(s){var l=this,c,u;this.notifyListeners("animationStart"),(c=this.currentAnimation)===null||c===void 0||c.stop(),this.resumingFrom&&((u=this.resumingFrom.currentAnimation)===null||u===void 0||u.stop()),this.pendingAnimation&&(Vn.update(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=Lt.update(function(){Eo.hasAnimatedSinceResize=!0,l.currentAnimation=nz(0,sv,M(M({},s),{onUpdate:function(d){var p;l.mixTargetDelta(d),(p=s.onUpdate)===null||p===void 0||p.call(s,d)},onComplete:function(){var d;(d=s.onComplete)===null||d===void 0||d.call(s),l.completeAnimation()}})),l.resumingFrom&&(l.resumingFrom.currentAnimation=l.currentAnimation),l.pendingAnimation=void 0})},a.prototype.completeAnimation=function(){var s;this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0),(s=this.getStack())===null||s===void 0||s.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")},a.prototype.finishAnimation=function(){var s;this.currentAnimation&&((s=this.mixTargetDelta)===null||s===void 0||s.call(this,sv),this.currentAnimation.stop()),this.completeAnimation()},a.prototype.applyTransformsToTarget=function(){var s=this.getLead(),l=s.targetWithTransforms,c=s.target,u=s.layout,d=s.latestValues;!l||!c||!u||(At(l,c),Tn(l,d),To(this.projectionDeltaWithTransform,this.layoutCorrected,l,d))},a.prototype.registerSharedNode=function(s,l){var c,u,d;this.sharedNodes.has(s)||this.sharedNodes.set(s,new fz);var p=this.sharedNodes.get(s);p.add(l),l.promote({transition:(c=l.options.initialPromotionConfig)===null||c===void 0?void 0:c.transition,preserveFollowOpacity:(d=(u=l.options.initialPromotionConfig)===null||u===void 0?void 0:u.shouldPreserveFollowOpacity)===null||d===void 0?void 0:d.call(u,l)})},a.prototype.isLead=function(){var s=this.getStack();return s?s.lead===this:!0},a.prototype.getLead=function(){var s,l=this.options.layoutId;return l?((s=this.getStack())===null||s===void 0?void 0:s.lead)||this:this},a.prototype.getPrevLead=function(){var s,l=this.options.layoutId;return l?(s=this.getStack())===null||s===void 0?void 0:s.prevLead:void 0},a.prototype.getStack=function(){var s=this.options.layoutId;if(s)return this.root.sharedNodes.get(s)},a.prototype.promote=function(s){var l=s===void 0?{}:s,c=l.needsReset,u=l.transition,d=l.preserveFollowOpacity,p=this.getStack();p&&p.promote(this,d),c&&(this.projectionDelta=void 0,this.needsReset=!0),u&&this.setOptions({transition:u})},a.prototype.relegate=function(){var s=this.getStack();return s?s.relegate(this):!1},a.prototype.resetRotation=function(){var s=this.options.visualElement;if(s){for(var l=!1,c={},u=0;u<uu.length;u++){var d=uu[u],p="rotate"+d;s.getStaticValue(p)&&(l=!0,c[p]=s.getStaticValue(p),s.setStaticValue(p,0))}if(l){s==null||s.syncRender();for(var p in c)s.setStaticValue(p,c[p]);s.scheduleRender()}}},a.prototype.getProjectionStyles=function(s){var l,c,u,d,p,v;s===void 0&&(s={});var h={};if(!this.instance||this.isSVG)return h;if(this.isVisible)h.visibility="";else return{visibility:"hidden"};var m=(l=this.options.visualElement)===null||l===void 0?void 0:l.getProps().transformTemplate;if(this.needsReset)return this.needsReset=!1,h.opacity="",h.pointerEvents=da(s.pointerEvents)||"",h.transform=m?m(this.latestValues,""):"none",h;var y=this.getLead();if(!this.projectionDelta||!this.layout||!y.target){var x={};return this.options.layoutId&&(x.opacity=(c=this.latestValues.opacity)!==null&&c!==void 0?c:1,x.pointerEvents=da(s.pointerEvents)||""),this.hasProjected&&!gr(this.latestValues)&&(x.transform=m?m({},""):"none",this.hasProjected=!1),x}var b=y.animationValues||y.latestValues;this.applyTransformsToTarget(),h.transform=av(this.projectionDeltaWithTransform,this.treeScale,b),m&&(h.transform=m(b,h.transform));var $=this.projectionDelta,g=$.x,C=$.y;h.transformOrigin="".concat(g.origin*100,"% ").concat(C.origin*100,"% 0"),y.animationValues?h.opacity=y===this?(d=(u=b.opacity)!==null&&u!==void 0?u:this.latestValues.opacity)!==null&&d!==void 0?d:1:this.preserveOpacity?this.latestValues.opacity:b.opacityExit:h.opacity=y===this?(p=b.opacity)!==null&&p!==void 0?p:"":(v=b.opacityExit)!==null&&v!==void 0?v:0;for(var S in Ba)if(b[S]!==void 0){var O=Ba[S],T=O.correct,k=O.applyTo,L=T(b[S],y);if(k)for(var B=k.length,N=0;N<B;N++)h[k[N]]=L;else h[S]=L}return this.options.layoutId&&(h.pointerEvents=y===this?da(s.pointerEvents)||"":"none"),h},a.prototype.clearSnapshot=function(){this.resumeFrom=this.snapshot=void 0},a.prototype.resetTree=function(){this.root.nodes.forEach(function(s){var l;return(l=s.currentAnimation)===null||l===void 0?void 0:l.stop()}),this.root.nodes.forEach(lv),this.root.sharedNodes.clear()},a}()}function vz(e){e.updateLayout()}function mz(e){var t,r,n,o,i=(r=(t=e.resumeFrom)===null||t===void 0?void 0:t.snapshot)!==null&&r!==void 0?r:e.snapshot;if(e.isLead()&&e.layout&&i&&e.hasListeners("didUpdate")){var a=e.layout,s=a.actual,l=a.measured;e.options.animationType==="size"?Wt(function(b){var $=i.isShared?i.measured[b]:i.layout[b],g=ar($);$.min=s[b].min,$.max=$.min+g}):e.options.animationType==="position"&&Wt(function(b){var $=i.isShared?i.measured[b]:i.layout[b],g=ar(s[b]);$.max=$.min+g});var c=Ao();To(c,s,i.layout);var u=Ao();i.isShared?To(u,e.applyTransform(l,!0),i.measured):To(u,s,i.layout);var d=!Qb(c),p=!1;if(!e.resumeFrom&&(e.relativeParent=e.getClosestProjectingParent(),e.relativeParent&&!e.relativeParent.resumeFrom)){var v=e.relativeParent,h=v.snapshot,m=v.layout;if(h&&m){var y=Qe();ko(y,i.layout,h.layout);var x=Qe();ko(x,s,m.actual),e1(y,x)||(p=!0)}}e.notifyListeners("didUpdate",{layout:s,snapshot:i,delta:u,layoutDelta:c,hasLayoutChanged:d,hasRelativeTargetChanged:p})}else e.isLead()&&((o=(n=e.options).onExitComplete)===null||o===void 0||o.call(n));e.options.transition=void 0}function gz(e){e.clearSnapshot()}function lv(e){e.clearMeasurements()}function yz(e){var t=e.options.visualElement;t!=null&&t.getProps().onBeforeLayoutMeasure&&t.notifyBeforeLayoutMeasure(),e.resetTransform()}function bz(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0}function xz(e){e.resolveTargetDelta()}function wz(e){e.calcProjection()}function $z(e){e.resetRotation()}function Ez(e){e.removeLeadSnapshot()}function cv(e,t,r){e.translate=De(t.translate,0,r),e.scale=De(t.scale,1,r),e.origin=t.origin,e.originPoint=t.originPoint}function uv(e,t,r,n){e.min=De(t.min,r.min,n),e.max=De(t.max,r.max,n)}function Sz(e,t,r,n){uv(e.x,t.x,r.x,n),uv(e.y,t.y,r.y,n)}function Cz(e){return e.animationValues&&e.animationValues.opacityExit!==void 0}var Oz={duration:.45,ease:[.4,0,.1,1]};function Tz(e,t){for(var r=e.root,n=e.path.length-1;n>=0;n--)if(e.path[n].instance){r=e.path[n];break}var o=r&&r!==e.root?r.instance:document,i=o.querySelector('[data-projection-id="'.concat(t,'"]'));i&&e.mount(i,!0)}function fv(e){e.min=Math.round(e.min),e.max=Math.round(e.max)}function dv(e){fv(e.x),fv(e.y)}var kz=t1({attachResizeListener:function(e,t){return Vs(e,"resize",t)},measureScroll:function(){return{x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}},checkIsScrollRoot:function(){return!0}}),Il={current:void 0},Az=t1({measureScroll:function(e){return{x:e.scrollLeft,y:e.scrollTop}},defaultParent:function(){if(!Il.current){var e=new kz(0,{});e.mount(window),e.setOptions({layoutScroll:!0}),Il.current=e}return Il.current},resetTransform:function(e,t){e.style.transform=t??"none"},checkIsScrollRoot:function(e){return window.getComputedStyle(e).position==="fixed"}}),Pz=M(M(M(M({},dP),P4),IP),rz),li=$k(function(e,t){return lA(e,t,Pz,ZP,Az)});function r1(){var e=f.useRef(!1);return Na(function(){return e.current=!0,function(){e.current=!1}},[]),e}function zz(){var e=r1(),t=Me(f.useState(0),2),r=t[0],n=t[1],o=f.useCallback(function(){e.current&&n(r+1)},[r]),i=f.useCallback(function(){return Lt.postRender(o)},[o]);return[i,r]}var Rl=function(e){var t=e.children,r=e.initial,n=e.isPresent,o=e.onExitComplete,i=e.custom,a=e.presenceAffectsLayout,s=ni(_z),l=Ib(),c=f.useMemo(function(){return{id:l,initial:r,isPresent:n,custom:i,onExitComplete:function(u){var d,p;s.set(u,!0);try{for(var v=ek(s.values()),h=v.next();!h.done;h=v.next()){var m=h.value;if(!m)return}}catch(y){d={error:y}}finally{try{h&&!h.done&&(p=v.return)&&p.call(v)}finally{if(d)throw d.error}}o==null||o()},register:function(u){return s.set(u,!1),function(){return s.delete(u)}}}},a?void 0:[n]);return f.useMemo(function(){s.forEach(function(u,d){return s.set(d,!1)})},[n]),f.useEffect(function(){!n&&!s.size&&(o==null||o())},[n]),f.createElement(ri.Provider,{value:c},t)};function _z(){return new Map}var gn=function(e){return e.key||""};function Iz(e,t){e.forEach(function(r){var n=gn(r);t.set(n,r)})}function Rz(e){var t=[];return f.Children.forEach(e,function(r){f.isValidElement(r)&&t.push(r)}),t}var Lz=function(e){var t=e.children,r=e.custom,n=e.initial,o=n===void 0?!0:n,i=e.onExitComplete,a=e.exitBeforeEnter,s=e.presenceAffectsLayout,l=s===void 0?!0:s,c=Me(zz(),1),u=c[0],d=f.useContext(If).forceRender;d&&(u=d);var p=r1(),v=Rz(t),h=v,m=new Set,y=f.useRef(h),x=f.useRef(new Map).current,b=f.useRef(!0);if(Na(function(){b.current=!1,Iz(v,x),y.current=h}),Vf(function(){b.current=!0,x.clear(),m.clear()}),b.current)return f.createElement(f.Fragment,null,h.map(function(T){return f.createElement(Rl,{key:gn(T),isPresent:!0,initial:o?void 0:!1,presenceAffectsLayout:l},T)}));h=Rt([],Me(h),!1);for(var $=y.current.map(gn),g=v.map(gn),C=$.length,S=0;S<C;S++){var O=$[S];g.indexOf(O)===-1&&m.add(O)}return a&&m.size&&(h=[]),m.forEach(function(T){if(g.indexOf(T)===-1){var k=x.get(T);if(k){var L=$.indexOf(T),B=function(){x.delete(T),m.delete(T);var N=y.current.findIndex(function(W){return W.key===T});if(y.current.splice(N,1),!m.size){if(y.current=v,p.current===!1)return;u(),i&&i()}};h.splice(L,0,f.createElement(Rl,{key:gn(k),isPresent:!1,onExitComplete:B,custom:r,presenceAffectsLayout:l},k))}}}),h=h.map(function(T){var k=T.key;return m.has(k)?T:f.createElement(Rl,{key:gn(T),isPresent:!0,presenceAffectsLayout:l},T)}),zf!=="production"&&a&&h.length>1&&console.warn("You're attempting to animate multiple children within AnimatePresence, but its exitBeforeEnter prop is set to true. This will lead to odd visual behaviour."),f.createElement(f.Fragment,null,m.size?h:h.map(function(T){return f.cloneElement(T)}))};const Fz=E` - overflow: auto; -`,Dz=E` - overflow: hidden; -`;w.div` - overflow: auto; - position: fixed; - top: 0; - bottom: 0; - left: 0; - right: 0; - z-index: ${({zIndex:e,theme:t})=>e?t.layers[e]:t.layers.modal}; - ${e=>e.scrollable?Fz:Dz} -`;const Mz=E` - background-color: ${e=>e.theme.colors.grey100}; -`;w(li.div)` - position: fixed; - top: 0; - bottom: 0; - left: 0; - right: 0; - ${e=>e.hasBackDrop&&Mz} -`;w.div` - padding-top: ${e=>e.size==="fullPage"?"57px":0}; - display: flex; - position: fixed; - justify-content: center; - height: 100vh; - width: 100vw; - pointer-events: none; -`;w.div` - padding: 0 - ${({size:e})=>pe(e).with("small",()=>"32px").with("medium",()=>"48px").otherwise(()=>"64px")}; - ${Cf.p_p2_paragraph} - color: ${({theme:e})=>e.colors.grey100}; - margin-bottom: 24px; - text-align: ${({align:e})=>e}; -`;w.div` - align-self: ${e=>e.size==="fullPage"?"flex-start":"center"}; - background-color: ${e=>e.theme.colors.white}; - - display: flex; - flex-direction: column; - pointer-events: all; - width: ${e=>pe(e.size).with("small",()=>"344px").with("medium",()=>"480px").with("large",()=>"640px").with("xLarge",()=>"840px").with("xxLarge",()=>"1000px").with("fullPage",()=>"calc(100vw - 96px)").with("overlay",()=>"100vw").exhaustive()}; - ${({size:e})=>e==="overlay"?E` - height: 100vh; - `:E` - border-radius: 8px; - max-width: 95vw; - max-height: calc(100vh - 96px); - `} - - filter: drop-shadow(0px 8px 20px rgba(0, 0, 0, 0.15)); - z-index: 20; - overflow-y: hidden; -`;w(he)` - border-top-left-radius: 8px; - border-top-right-radius: 8px; - border-top: 8px solid ${e=>e.theme.standardLabelColors[e.themeColor].borderColor}; - padding-top: 24px; - padding-bottom: 16px; -`;w(ve)` - font-size: 16px; -`;w(he).attrs({align:"center",justify:"center",gap:12})` - padding: 24px 0; -`;const jz=E` - border-right: 1px solid; - height: 100%; -`,Nz=E` - border-top: 1px solid; - width: 100%; -`;w.div.attrs(le("Divider"))` - transition: border-color 0.2s ease-in-out; - - ${e=>e.vertical?jz:Nz} - border-color: ${({theme:e,themeColor:t})=>t?e.colors[t]:e.colors.grey20} -`;var pv=function(t){return t.reduce(function(r,n){var o=n[0],i=n[1];return r[o]=i,r},{})},hv=typeof window<"u"&&window.document&&window.document.createElement?f.useLayoutEffect:f.useEffect,pt="top",Et="bottom",St="right",ht="left",rd="auto",ci=[pt,Et,St,ht],Un="start",Ho="end",Bz="clippingParents",n1="viewport",co="popper",Vz="reference",vv=ci.reduce(function(e,t){return e.concat([t+"-"+Un,t+"-"+Ho])},[]),o1=[].concat(ci,[rd]).reduce(function(e,t){return e.concat([t,t+"-"+Un,t+"-"+Ho])},[]),Wz="beforeRead",Uz="read",Hz="afterRead",Gz="beforeMain",qz="main",Yz="afterMain",Xz="beforeWrite",Kz="write",Zz="afterWrite",Jz=[Wz,Uz,Hz,Gz,qz,Yz,Xz,Kz,Zz];function Jt(e){return e?(e.nodeName||"").toLowerCase():null}function vt(e){if(e==null)return window;if(e.toString()!=="[object Window]"){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function Jr(e){var t=vt(e).Element;return e instanceof t||e instanceof Element}function wt(e){var t=vt(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function nd(e){if(typeof ShadowRoot>"u")return!1;var t=vt(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}function Qz(e){var t=e.state;Object.keys(t.elements).forEach(function(r){var n=t.styles[r]||{},o=t.attributes[r]||{},i=t.elements[r];!wt(i)||!Jt(i)||(Object.assign(i.style,n),Object.keys(o).forEach(function(a){var s=o[a];s===!1?i.removeAttribute(a):i.setAttribute(a,s===!0?"":s)}))})}function e5(e){var t=e.state,r={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,r.popper),t.styles=r,t.elements.arrow&&Object.assign(t.elements.arrow.style,r.arrow),function(){Object.keys(t.elements).forEach(function(n){var o=t.elements[n],i=t.attributes[n]||{},a=Object.keys(t.styles.hasOwnProperty(n)?t.styles[n]:r[n]),s=a.reduce(function(l,c){return l[c]="",l},{});!wt(o)||!Jt(o)||(Object.assign(o.style,s),Object.keys(i).forEach(function(l){o.removeAttribute(l)}))})}}const i1={name:"applyStyles",enabled:!0,phase:"write",fn:Qz,effect:e5,requires:["computeStyles"]};function Zt(e){return e.split("-")[0]}var Gr=Math.max,Ka=Math.min,Hn=Math.round;function Ou(){var e=navigator.userAgentData;return e!=null&&e.brands&&Array.isArray(e.brands)?e.brands.map(function(t){return t.brand+"/"+t.version}).join(" "):navigator.userAgent}function a1(){return!/^((?!chrome|android).)*safari/i.test(Ou())}function Gn(e,t,r){t===void 0&&(t=!1),r===void 0&&(r=!1);var n=e.getBoundingClientRect(),o=1,i=1;t&&wt(e)&&(o=e.offsetWidth>0&&Hn(n.width)/e.offsetWidth||1,i=e.offsetHeight>0&&Hn(n.height)/e.offsetHeight||1);var a=Jr(e)?vt(e):window,s=a.visualViewport,l=!a1()&&r,c=(n.left+(l&&s?s.offsetLeft:0))/o,u=(n.top+(l&&s?s.offsetTop:0))/i,d=n.width/o,p=n.height/i;return{width:d,height:p,top:u,right:c+d,bottom:u+p,left:c,x:c,y:u}}function od(e){var t=Gn(e),r=e.offsetWidth,n=e.offsetHeight;return Math.abs(t.width-r)<=1&&(r=t.width),Math.abs(t.height-n)<=1&&(n=t.height),{x:e.offsetLeft,y:e.offsetTop,width:r,height:n}}function s1(e,t){var r=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(r&&nd(r)){var n=t;do{if(n&&e.isSameNode(n))return!0;n=n.parentNode||n.host}while(n)}return!1}function sr(e){return vt(e).getComputedStyle(e)}function t5(e){return["table","td","th"].indexOf(Jt(e))>=0}function Ar(e){return((Jr(e)?e.ownerDocument:e.document)||window.document).documentElement}function Gs(e){return Jt(e)==="html"?e:e.assignedSlot||e.parentNode||(nd(e)?e.host:null)||Ar(e)}function mv(e){return!wt(e)||sr(e).position==="fixed"?null:e.offsetParent}function r5(e){var t=/firefox/i.test(Ou()),r=/Trident/i.test(Ou());if(r&&wt(e)){var n=sr(e);if(n.position==="fixed")return null}var o=Gs(e);for(nd(o)&&(o=o.host);wt(o)&&["html","body"].indexOf(Jt(o))<0;){var i=sr(o);if(i.transform!=="none"||i.perspective!=="none"||i.contain==="paint"||["transform","perspective"].indexOf(i.willChange)!==-1||t&&i.willChange==="filter"||t&&i.filter&&i.filter!=="none")return o;o=o.parentNode}return null}function ui(e){for(var t=vt(e),r=mv(e);r&&t5(r)&&sr(r).position==="static";)r=mv(r);return r&&(Jt(r)==="html"||Jt(r)==="body"&&sr(r).position==="static")?t:r||r5(e)||t}function id(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function Po(e,t,r){return Gr(e,Ka(t,r))}function n5(e,t,r){var n=Po(e,t,r);return n>r?r:n}function l1(){return{top:0,right:0,bottom:0,left:0}}function c1(e){return Object.assign({},l1(),e)}function u1(e,t){return t.reduce(function(r,n){return r[n]=e,r},{})}var o5=function(t,r){return t=typeof t=="function"?t(Object.assign({},r.rects,{placement:r.placement})):t,c1(typeof t!="number"?t:u1(t,ci))};function i5(e){var t,r=e.state,n=e.name,o=e.options,i=r.elements.arrow,a=r.modifiersData.popperOffsets,s=Zt(r.placement),l=id(s),c=[ht,St].indexOf(s)>=0,u=c?"height":"width";if(!(!i||!a)){var d=o5(o.padding,r),p=od(i),v=l==="y"?pt:ht,h=l==="y"?Et:St,m=r.rects.reference[u]+r.rects.reference[l]-a[l]-r.rects.popper[u],y=a[l]-r.rects.reference[l],x=ui(i),b=x?l==="y"?x.clientHeight||0:x.clientWidth||0:0,$=m/2-y/2,g=d[v],C=b-p[u]-d[h],S=b/2-p[u]/2+$,O=Po(g,S,C),T=l;r.modifiersData[n]=(t={},t[T]=O,t.centerOffset=O-S,t)}}function a5(e){var t=e.state,r=e.options,n=r.element,o=n===void 0?"[data-popper-arrow]":n;o!=null&&(typeof o=="string"&&(o=t.elements.popper.querySelector(o),!o)||s1(t.elements.popper,o)&&(t.elements.arrow=o))}const s5={name:"arrow",enabled:!0,phase:"main",fn:i5,effect:a5,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function qn(e){return e.split("-")[1]}var l5={top:"auto",right:"auto",bottom:"auto",left:"auto"};function c5(e,t){var r=e.x,n=e.y,o=t.devicePixelRatio||1;return{x:Hn(r*o)/o||0,y:Hn(n*o)/o||0}}function gv(e){var t,r=e.popper,n=e.popperRect,o=e.placement,i=e.variation,a=e.offsets,s=e.position,l=e.gpuAcceleration,c=e.adaptive,u=e.roundOffsets,d=e.isFixed,p=a.x,v=p===void 0?0:p,h=a.y,m=h===void 0?0:h,y=typeof u=="function"?u({x:v,y:m}):{x:v,y:m};v=y.x,m=y.y;var x=a.hasOwnProperty("x"),b=a.hasOwnProperty("y"),$=ht,g=pt,C=window;if(c){var S=ui(r),O="clientHeight",T="clientWidth";if(S===vt(r)&&(S=Ar(r),sr(S).position!=="static"&&s==="absolute"&&(O="scrollHeight",T="scrollWidth")),S=S,o===pt||(o===ht||o===St)&&i===Ho){g=Et;var k=d&&S===C&&C.visualViewport?C.visualViewport.height:S[O];m-=k-n.height,m*=l?1:-1}if(o===ht||(o===pt||o===Et)&&i===Ho){$=St;var L=d&&S===C&&C.visualViewport?C.visualViewport.width:S[T];v-=L-n.width,v*=l?1:-1}}var B=Object.assign({position:s},c&&l5),N=u===!0?c5({x:v,y:m},vt(r)):{x:v,y:m};if(v=N.x,m=N.y,l){var W;return Object.assign({},B,(W={},W[g]=b?"0":"",W[$]=x?"0":"",W.transform=(C.devicePixelRatio||1)<=1?"translate("+v+"px, "+m+"px)":"translate3d("+v+"px, "+m+"px, 0)",W))}return Object.assign({},B,(t={},t[g]=b?m+"px":"",t[$]=x?v+"px":"",t.transform="",t))}function u5(e){var t=e.state,r=e.options,n=r.gpuAcceleration,o=n===void 0?!0:n,i=r.adaptive,a=i===void 0?!0:i,s=r.roundOffsets,l=s===void 0?!0:s,c={placement:Zt(t.placement),variation:qn(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:o,isFixed:t.options.strategy==="fixed"};t.modifiersData.popperOffsets!=null&&(t.styles.popper=Object.assign({},t.styles.popper,gv(Object.assign({},c,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:a,roundOffsets:l})))),t.modifiersData.arrow!=null&&(t.styles.arrow=Object.assign({},t.styles.arrow,gv(Object.assign({},c,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:l})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})}const f5={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:u5,data:{}};var Li={passive:!0};function d5(e){var t=e.state,r=e.instance,n=e.options,o=n.scroll,i=o===void 0?!0:o,a=n.resize,s=a===void 0?!0:a,l=vt(t.elements.popper),c=[].concat(t.scrollParents.reference,t.scrollParents.popper);return i&&c.forEach(function(u){u.addEventListener("scroll",r.update,Li)}),s&&l.addEventListener("resize",r.update,Li),function(){i&&c.forEach(function(u){u.removeEventListener("scroll",r.update,Li)}),s&&l.removeEventListener("resize",r.update,Li)}}const p5={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:d5,data:{}};var h5={left:"right",right:"left",bottom:"top",top:"bottom"};function va(e){return e.replace(/left|right|bottom|top/g,function(t){return h5[t]})}var v5={start:"end",end:"start"};function yv(e){return e.replace(/start|end/g,function(t){return v5[t]})}function ad(e){var t=vt(e),r=t.pageXOffset,n=t.pageYOffset;return{scrollLeft:r,scrollTop:n}}function sd(e){return Gn(Ar(e)).left+ad(e).scrollLeft}function m5(e,t){var r=vt(e),n=Ar(e),o=r.visualViewport,i=n.clientWidth,a=n.clientHeight,s=0,l=0;if(o){i=o.width,a=o.height;var c=a1();(c||!c&&t==="fixed")&&(s=o.offsetLeft,l=o.offsetTop)}return{width:i,height:a,x:s+sd(e),y:l}}function g5(e){var t,r=Ar(e),n=ad(e),o=(t=e.ownerDocument)==null?void 0:t.body,i=Gr(r.scrollWidth,r.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),a=Gr(r.scrollHeight,r.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0),s=-n.scrollLeft+sd(e),l=-n.scrollTop;return sr(o||r).direction==="rtl"&&(s+=Gr(r.clientWidth,o?o.clientWidth:0)-i),{width:i,height:a,x:s,y:l}}function ld(e){var t=sr(e),r=t.overflow,n=t.overflowX,o=t.overflowY;return/auto|scroll|overlay|hidden/.test(r+o+n)}function f1(e){return["html","body","#document"].indexOf(Jt(e))>=0?e.ownerDocument.body:wt(e)&&ld(e)?e:f1(Gs(e))}function zo(e,t){var r;t===void 0&&(t=[]);var n=f1(e),o=n===((r=e.ownerDocument)==null?void 0:r.body),i=vt(n),a=o?[i].concat(i.visualViewport||[],ld(n)?n:[]):n,s=t.concat(a);return o?s:s.concat(zo(Gs(a)))}function Tu(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function y5(e,t){var r=Gn(e,!1,t==="fixed");return r.top=r.top+e.clientTop,r.left=r.left+e.clientLeft,r.bottom=r.top+e.clientHeight,r.right=r.left+e.clientWidth,r.width=e.clientWidth,r.height=e.clientHeight,r.x=r.left,r.y=r.top,r}function bv(e,t,r){return t===n1?Tu(m5(e,r)):Jr(t)?y5(t,r):Tu(g5(Ar(e)))}function b5(e){var t=zo(Gs(e)),r=["absolute","fixed"].indexOf(sr(e).position)>=0,n=r&&wt(e)?ui(e):e;return Jr(n)?t.filter(function(o){return Jr(o)&&s1(o,n)&&Jt(o)!=="body"}):[]}function x5(e,t,r,n){var o=t==="clippingParents"?b5(e):[].concat(t),i=[].concat(o,[r]),a=i[0],s=i.reduce(function(l,c){var u=bv(e,c,n);return l.top=Gr(u.top,l.top),l.right=Ka(u.right,l.right),l.bottom=Ka(u.bottom,l.bottom),l.left=Gr(u.left,l.left),l},bv(e,a,n));return s.width=s.right-s.left,s.height=s.bottom-s.top,s.x=s.left,s.y=s.top,s}function d1(e){var t=e.reference,r=e.element,n=e.placement,o=n?Zt(n):null,i=n?qn(n):null,a=t.x+t.width/2-r.width/2,s=t.y+t.height/2-r.height/2,l;switch(o){case pt:l={x:a,y:t.y-r.height};break;case Et:l={x:a,y:t.y+t.height};break;case St:l={x:t.x+t.width,y:s};break;case ht:l={x:t.x-r.width,y:s};break;default:l={x:t.x,y:t.y}}var c=o?id(o):null;if(c!=null){var u=c==="y"?"height":"width";switch(i){case Un:l[c]=l[c]-(t[u]/2-r[u]/2);break;case Ho:l[c]=l[c]+(t[u]/2-r[u]/2);break}}return l}function Go(e,t){t===void 0&&(t={});var r=t,n=r.placement,o=n===void 0?e.placement:n,i=r.strategy,a=i===void 0?e.strategy:i,s=r.boundary,l=s===void 0?Bz:s,c=r.rootBoundary,u=c===void 0?n1:c,d=r.elementContext,p=d===void 0?co:d,v=r.altBoundary,h=v===void 0?!1:v,m=r.padding,y=m===void 0?0:m,x=c1(typeof y!="number"?y:u1(y,ci)),b=p===co?Vz:co,$=e.rects.popper,g=e.elements[h?b:p],C=x5(Jr(g)?g:g.contextElement||Ar(e.elements.popper),l,u,a),S=Gn(e.elements.reference),O=d1({reference:S,element:$,strategy:"absolute",placement:o}),T=Tu(Object.assign({},$,O)),k=p===co?T:S,L={top:C.top-k.top+x.top,bottom:k.bottom-C.bottom+x.bottom,left:C.left-k.left+x.left,right:k.right-C.right+x.right},B=e.modifiersData.offset;if(p===co&&B){var N=B[o];Object.keys(L).forEach(function(W){var X=[St,Et].indexOf(W)>=0?1:-1,V=[pt,Et].indexOf(W)>=0?"y":"x";L[W]+=N[V]*X})}return L}function w5(e,t){t===void 0&&(t={});var r=t,n=r.placement,o=r.boundary,i=r.rootBoundary,a=r.padding,s=r.flipVariations,l=r.allowedAutoPlacements,c=l===void 0?o1:l,u=qn(n),d=u?s?vv:vv.filter(function(h){return qn(h)===u}):ci,p=d.filter(function(h){return c.indexOf(h)>=0});p.length===0&&(p=d);var v=p.reduce(function(h,m){return h[m]=Go(e,{placement:m,boundary:o,rootBoundary:i,padding:a})[Zt(m)],h},{});return Object.keys(v).sort(function(h,m){return v[h]-v[m]})}function $5(e){if(Zt(e)===rd)return[];var t=va(e);return[yv(e),t,yv(t)]}function E5(e){var t=e.state,r=e.options,n=e.name;if(!t.modifiersData[n]._skip){for(var o=r.mainAxis,i=o===void 0?!0:o,a=r.altAxis,s=a===void 0?!0:a,l=r.fallbackPlacements,c=r.padding,u=r.boundary,d=r.rootBoundary,p=r.altBoundary,v=r.flipVariations,h=v===void 0?!0:v,m=r.allowedAutoPlacements,y=t.options.placement,x=Zt(y),b=x===y,$=l||(b||!h?[va(y)]:$5(y)),g=[y].concat($).reduce(function(z,_){return z.concat(Zt(_)===rd?w5(t,{placement:_,boundary:u,rootBoundary:d,padding:c,flipVariations:h,allowedAutoPlacements:m}):_)},[]),C=t.rects.reference,S=t.rects.popper,O=new Map,T=!0,k=g[0],L=0;L<g.length;L++){var B=g[L],N=Zt(B),W=qn(B)===Un,X=[pt,Et].indexOf(N)>=0,V=X?"width":"height",te=Go(t,{placement:B,boundary:u,rootBoundary:d,altBoundary:p,padding:c}),Y=X?W?St:ht:W?Et:pt;C[V]>S[V]&&(Y=va(Y));var J=va(Y),H=[];if(i&&H.push(te[N]<=0),s&&H.push(te[Y]<=0,te[J]<=0),H.every(function(z){return z})){k=B,T=!1;break}O.set(B,H)}if(T)for(var ce=h?3:1,xe=function(_){var D=g.find(function(Q){var G=O.get(Q);if(G)return G.slice(0,_).every(function(U){return U})});if(D)return k=D,"break"},A=ce;A>0;A--){var I=xe(A);if(I==="break")break}t.placement!==k&&(t.modifiersData[n]._skip=!0,t.placement=k,t.reset=!0)}}const S5={name:"flip",enabled:!0,phase:"main",fn:E5,requiresIfExists:["offset"],data:{_skip:!1}};function xv(e,t,r){return r===void 0&&(r={x:0,y:0}),{top:e.top-t.height-r.y,right:e.right-t.width+r.x,bottom:e.bottom-t.height+r.y,left:e.left-t.width-r.x}}function wv(e){return[pt,St,Et,ht].some(function(t){return e[t]>=0})}function C5(e){var t=e.state,r=e.name,n=t.rects.reference,o=t.rects.popper,i=t.modifiersData.preventOverflow,a=Go(t,{elementContext:"reference"}),s=Go(t,{altBoundary:!0}),l=xv(a,n),c=xv(s,o,i),u=wv(l),d=wv(c);t.modifiersData[r]={referenceClippingOffsets:l,popperEscapeOffsets:c,isReferenceHidden:u,hasPopperEscaped:d},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":u,"data-popper-escaped":d})}const O5={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:C5};function T5(e,t,r){var n=Zt(e),o=[ht,pt].indexOf(n)>=0?-1:1,i=typeof r=="function"?r(Object.assign({},t,{placement:e})):r,a=i[0],s=i[1];return a=a||0,s=(s||0)*o,[ht,St].indexOf(n)>=0?{x:s,y:a}:{x:a,y:s}}function k5(e){var t=e.state,r=e.options,n=e.name,o=r.offset,i=o===void 0?[0,0]:o,a=o1.reduce(function(u,d){return u[d]=T5(d,t.rects,i),u},{}),s=a[t.placement],l=s.x,c=s.y;t.modifiersData.popperOffsets!=null&&(t.modifiersData.popperOffsets.x+=l,t.modifiersData.popperOffsets.y+=c),t.modifiersData[n]=a}const A5={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:k5};function P5(e){var t=e.state,r=e.name;t.modifiersData[r]=d1({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})}const z5={name:"popperOffsets",enabled:!0,phase:"read",fn:P5,data:{}};function _5(e){return e==="x"?"y":"x"}function I5(e){var t=e.state,r=e.options,n=e.name,o=r.mainAxis,i=o===void 0?!0:o,a=r.altAxis,s=a===void 0?!1:a,l=r.boundary,c=r.rootBoundary,u=r.altBoundary,d=r.padding,p=r.tether,v=p===void 0?!0:p,h=r.tetherOffset,m=h===void 0?0:h,y=Go(t,{boundary:l,rootBoundary:c,padding:d,altBoundary:u}),x=Zt(t.placement),b=qn(t.placement),$=!b,g=id(x),C=_5(g),S=t.modifiersData.popperOffsets,O=t.rects.reference,T=t.rects.popper,k=typeof m=="function"?m(Object.assign({},t.rects,{placement:t.placement})):m,L=typeof k=="number"?{mainAxis:k,altAxis:k}:Object.assign({mainAxis:0,altAxis:0},k),B=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,N={x:0,y:0};if(S){if(i){var W,X=g==="y"?pt:ht,V=g==="y"?Et:St,te=g==="y"?"height":"width",Y=S[g],J=Y+y[X],H=Y-y[V],ce=v?-T[te]/2:0,xe=b===Un?O[te]:T[te],A=b===Un?-T[te]:-O[te],I=t.elements.arrow,z=v&&I?od(I):{width:0,height:0},_=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:l1(),D=_[X],Q=_[V],G=Po(0,O[te],z[te]),U=$?O[te]/2-ce-G-D-L.mainAxis:xe-G-D-L.mainAxis,re=$?-O[te]/2+ce+G+Q+L.mainAxis:A+G+Q+L.mainAxis,ne=t.elements.arrow&&ui(t.elements.arrow),Z=ne?g==="y"?ne.clientTop||0:ne.clientLeft||0:0,Se=(W=B==null?void 0:B[g])!=null?W:0,Fe=Y+U-Se-Z,it=Y+re-Se,at=Po(v?Ka(J,Fe):J,Y,v?Gr(H,it):H);S[g]=at,N[g]=at-Y}if(s){var ze,jt=g==="x"?pt:ht,_e=g==="x"?Et:St,Je=S[C],je=C==="y"?"height":"width",Xe=Je+y[jt],We=Je-y[_e],fr=[pt,ht].indexOf(x)!==-1,un=(ze=B==null?void 0:B[C])!=null?ze:0,fn=fr?Xe:Je-O[je]-T[je]-un+L.altAxis,_r=fr?Je+O[je]+T[je]-un-L.altAxis:We,Ir=v&&fr?n5(fn,Je,_r):Po(v?fn:Xe,Je,v?_r:We);S[C]=Ir,N[C]=Ir-Je}t.modifiersData[n]=N}}const R5={name:"preventOverflow",enabled:!0,phase:"main",fn:I5,requiresIfExists:["offset"]};function L5(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function F5(e){return e===vt(e)||!wt(e)?ad(e):L5(e)}function D5(e){var t=e.getBoundingClientRect(),r=Hn(t.width)/e.offsetWidth||1,n=Hn(t.height)/e.offsetHeight||1;return r!==1||n!==1}function M5(e,t,r){r===void 0&&(r=!1);var n=wt(t),o=wt(t)&&D5(t),i=Ar(t),a=Gn(e,o,r),s={scrollLeft:0,scrollTop:0},l={x:0,y:0};return(n||!n&&!r)&&((Jt(t)!=="body"||ld(i))&&(s=F5(t)),wt(t)?(l=Gn(t,!0),l.x+=t.clientLeft,l.y+=t.clientTop):i&&(l.x=sd(i))),{x:a.left+s.scrollLeft-l.x,y:a.top+s.scrollTop-l.y,width:a.width,height:a.height}}function j5(e){var t=new Map,r=new Set,n=[];e.forEach(function(i){t.set(i.name,i)});function o(i){r.add(i.name);var a=[].concat(i.requires||[],i.requiresIfExists||[]);a.forEach(function(s){if(!r.has(s)){var l=t.get(s);l&&o(l)}}),n.push(i)}return e.forEach(function(i){r.has(i.name)||o(i)}),n}function N5(e){var t=j5(e);return Jz.reduce(function(r,n){return r.concat(t.filter(function(o){return o.phase===n}))},[])}function B5(e){var t;return function(){return t||(t=new Promise(function(r){Promise.resolve().then(function(){t=void 0,r(e())})})),t}}function V5(e){var t=e.reduce(function(r,n){var o=r[n.name];return r[n.name]=o?Object.assign({},o,n,{options:Object.assign({},o.options,n.options),data:Object.assign({},o.data,n.data)}):n,r},{});return Object.keys(t).map(function(r){return t[r]})}var $v={placement:"bottom",modifiers:[],strategy:"absolute"};function Ev(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return!t.some(function(n){return!(n&&typeof n.getBoundingClientRect=="function")})}function W5(e){e===void 0&&(e={});var t=e,r=t.defaultModifiers,n=r===void 0?[]:r,o=t.defaultOptions,i=o===void 0?$v:o;return function(s,l,c){c===void 0&&(c=i);var u={placement:"bottom",orderedModifiers:[],options:Object.assign({},$v,i),modifiersData:{},elements:{reference:s,popper:l},attributes:{},styles:{}},d=[],p=!1,v={state:u,setOptions:function(x){var b=typeof x=="function"?x(u.options):x;m(),u.options=Object.assign({},i,u.options,b),u.scrollParents={reference:Jr(s)?zo(s):s.contextElement?zo(s.contextElement):[],popper:zo(l)};var $=N5(V5([].concat(n,u.options.modifiers)));return u.orderedModifiers=$.filter(function(g){return g.enabled}),h(),v.update()},forceUpdate:function(){if(!p){var x=u.elements,b=x.reference,$=x.popper;if(Ev(b,$)){u.rects={reference:M5(b,ui($),u.options.strategy==="fixed"),popper:od($)},u.reset=!1,u.placement=u.options.placement,u.orderedModifiers.forEach(function(L){return u.modifiersData[L.name]=Object.assign({},L.data)});for(var g=0;g<u.orderedModifiers.length;g++){if(u.reset===!0){u.reset=!1,g=-1;continue}var C=u.orderedModifiers[g],S=C.fn,O=C.options,T=O===void 0?{}:O,k=C.name;typeof S=="function"&&(u=S({state:u,options:T,name:k,instance:v})||u)}}}},update:B5(function(){return new Promise(function(y){v.forceUpdate(),y(u)})}),destroy:function(){m(),p=!0}};if(!Ev(s,l))return v;v.setOptions(c).then(function(y){!p&&c.onFirstUpdate&&c.onFirstUpdate(y)});function h(){u.orderedModifiers.forEach(function(y){var x=y.name,b=y.options,$=b===void 0?{}:b,g=y.effect;if(typeof g=="function"){var C=g({state:u,name:x,instance:v,options:$}),S=function(){};d.push(C||S)}})}function m(){d.forEach(function(y){return y()}),d=[]}return v}}var U5=[p5,z5,f5,i1,A5,S5,R5,s5,O5],p1=W5({defaultModifiers:U5}),H5=typeof Element<"u",G5=typeof Map=="function",q5=typeof Set=="function",Y5=typeof ArrayBuffer=="function"&&!!ArrayBuffer.isView;function ma(e,t){if(e===t)return!0;if(e&&t&&typeof e=="object"&&typeof t=="object"){if(e.constructor!==t.constructor)return!1;var r,n,o;if(Array.isArray(e)){if(r=e.length,r!=t.length)return!1;for(n=r;n--!==0;)if(!ma(e[n],t[n]))return!1;return!0}var i;if(G5&&e instanceof Map&&t instanceof Map){if(e.size!==t.size)return!1;for(i=e.entries();!(n=i.next()).done;)if(!t.has(n.value[0]))return!1;for(i=e.entries();!(n=i.next()).done;)if(!ma(n.value[1],t.get(n.value[0])))return!1;return!0}if(q5&&e instanceof Set&&t instanceof Set){if(e.size!==t.size)return!1;for(i=e.entries();!(n=i.next()).done;)if(!t.has(n.value[0]))return!1;return!0}if(Y5&&ArrayBuffer.isView(e)&&ArrayBuffer.isView(t)){if(r=e.length,r!=t.length)return!1;for(n=r;n--!==0;)if(e[n]!==t[n])return!1;return!0}if(e.constructor===RegExp)return e.source===t.source&&e.flags===t.flags;if(e.valueOf!==Object.prototype.valueOf&&typeof e.valueOf=="function"&&typeof t.valueOf=="function")return e.valueOf()===t.valueOf();if(e.toString!==Object.prototype.toString&&typeof e.toString=="function"&&typeof t.toString=="function")return e.toString()===t.toString();if(o=Object.keys(e),r=o.length,r!==Object.keys(t).length)return!1;for(n=r;n--!==0;)if(!Object.prototype.hasOwnProperty.call(t,o[n]))return!1;if(H5&&e instanceof Element)return!1;for(n=r;n--!==0;)if(!((o[n]==="_owner"||o[n]==="__v"||o[n]==="__o")&&e.$$typeof)&&!ma(e[o[n]],t[o[n]]))return!1;return!0}return e!==e&&t!==t}var X5=function(t,r){try{return ma(t,r)}catch(n){if((n.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw n}};const K5=Tr(X5);var Z5=[],h1=function(t,r,n){n===void 0&&(n={});var o=f.useRef(null),i={onFirstUpdate:n.onFirstUpdate,placement:n.placement||"bottom",strategy:n.strategy||"absolute",modifiers:n.modifiers||Z5},a=f.useState({styles:{popper:{position:i.strategy,left:"0",top:"0"},arrow:{position:"absolute"}},attributes:{}}),s=a[0],l=a[1],c=f.useMemo(function(){return{name:"updateState",enabled:!0,phase:"write",fn:function(v){var h=v.state,m=Object.keys(h.elements);Ju.flushSync(function(){l({styles:pv(m.map(function(y){return[y,h.styles[y]||{}]})),attributes:pv(m.map(function(y){return[y,h.attributes[y]]}))})})},requires:["computeStyles"]}},[]),u=f.useMemo(function(){var p={onFirstUpdate:i.onFirstUpdate,placement:i.placement,strategy:i.strategy,modifiers:[].concat(i.modifiers,[c,{name:"applyStyles",enabled:!1}])};return K5(o.current,p)?o.current||p:(o.current=p,p)},[i.onFirstUpdate,i.placement,i.strategy,i.modifiers,c]),d=f.useRef();return hv(function(){d.current&&d.current.setOptions(u)},[u]),hv(function(){if(!(t==null||r==null)){var p=n.createPopper||p1,v=p(t,r,u);return d.current=v,function(){v.destroy(),d.current=null}}},[t,r,n.createPopper]),{state:d.current?d.current.state:null,styles:s.styles,attributes:s.attributes,update:d.current?d.current.update:null,forceUpdate:d.current?d.current.forceUpdate:null}};const J5={xs:0,sm:640,md:1e3,lg:1600,xl:2400},Q5=(e,t)=>`(${t}-width: ${J5[e]}px)`,qs=e=>`@media only screen and ${Q5(e,"max")}`;w(li.div).attrs(le("Drilldown"))` - overflow: hidden; - background: ${({theme:e})=>e.colors.white}; - box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.25); - border-radius: 4px; - z-index: ${({theme:e,layer:t})=>e.layers[t]}; - outline: none; - padding-top: 5px; - padding-bottom: 5px; - width: ${({containerWidth:e})=>e??200}px; - ${({containerHeight:e})=>e?`height: ${e}px;`:""} - user-select: none; -`;w.div` - width: 100%; - border-top: 1px solid ${({theme:e})=>e.colors.grey10}; -`;w.div` - font-family: ${({theme:e})=>e.fonts.inter}; - font-size: 12px; - font-weight: 500; - padding-top: 8px; - padding-bottom: 5px; - padding-left: 15px; - line-height: 110%; - user-select: none; - padding-right: 15px; -`;const e3=w.a` - transition: background-color 0.1s ease-in-out; - outline: none; - padding-left: ${({paddingLeft:e=!0})=>e?15:0}px; - padding-right: 15px; - display: flex; - user-select: none; - cursor: ${({disabled:e})=>e?"not-allowed":"pointer"}; - background-color: ${({theme:e,active:t})=>t?e.colors.brandShade40:""}; - width: 100%; - gap: 6px; - - &:active { - background-color: ${({theme:e})=>e.colors.brandShade40}; - } - - font-size: 12px; - font-family: ${({theme:e})=>e.fonts.inter}; - display: flex; - align-items: center; - justify-content: space-between; - position: relative; - opacity: ${({disabled:e})=>e?"0.5":"1"}; - text-decoration: none; -`;w.a` - outline: none; - padding-left: 15px; - padding-right: 15px; - display: flex; - user-select: none; - height: 32px; - cursor: pointer; - - svg { - color: ${({theme:e})=>e.colors.grey80}; - } - - &:focus { - svg { - color: ${({theme:e})=>e.colors.brandShade100}; - } - } - - &:active { - svg { - color: ${({theme:e})=>e.colors.brandShade100}; - } - } - - font-size: 12px; - font-family: ${({theme:e})=>e.fonts.inter}; - display: flex; - align-items: center; - position: relative; - text-decoration: none; - gap: 8px; -`;w(e3)` - justify-content: start; - div { - color: ${({theme:e})=>e.colors.cyan100}; - } -`;w(j)` - visibility: ${({$visible:e})=>e?"visible":"hidden"}; -`;w(rn)` - visibility: ${({$visible:e})=>e?"visible":"hidden"}; - padding: 0; - width: 28px; - min-width: 28px; - border-radius: 4px; - - && svg { - font-size: 14px; - color: ${({theme:e})=>e.colors.grey100}; - } - - ${qs("sm")} { - background: ${({theme:e})=>e.colors.brandShade10}; - } - - &:hover { - background: ${({theme:e})=>e.colors.brandShade20}; - } -`;w.div` - flex: 1 1; - min-width: 0px; - color: ${({theme:e,selected:t})=>t?e.colors.brandPrimary:e.colors.grey100}; - font-weight: ${({selected:e})=>e?500:400}; - display: flex; - align-items: center; - padding-top: 5px; - padding-bottom: 5px; - gap: 6px; - user-select: none; - - .resetButton & { - color: ${({theme:e})=>e.colors.grey100}; - font-size: 12px; - } - - min-height: 36px; -`;w.div` - padding-right: 5px; - min-width: ${({iconColumnWidth:e})=>(e||24)+"px"}; - max-width: ${({iconColumnWidth:e})=>(e||24)+"px"}; - display: flex; - justify-content: center; - - .resetButton & { - color: ${({theme:e})=>e.colors.grey40}; - } -`;w.div` - padding: 10px; - width: 100%; - box-sizing: border-box; -`;w(he)` - overflow: hidden; - height: 100%; - width: 100%; -`;w(he)` - width: 100%; - height: 100%; - - &.drilldown { - animation-duration: ${({animationDuration:e})=>`${e}s`}; - animation-name: drilldown; - } - - &.drillup { - animation-duration: ${({animationDuration:e})=>`${e}s`}; - animation-name: drillup; - } - - @keyframes drilldown { - from { - margin-left: 0%; - } - - to { - margin-left: -100%; - } - } - @keyframes drillup { - from { - margin-left: -100%; - } - - to { - margin-left: 0%; - } - } -`;w(he)` - width: ${({width:e})=>typeof e=="string"?e:`${e}px`}; - min-width: ${({width:e})=>typeof e=="string"?e:`${e}px`}; - order: ${({order:e})=>e??0}; -`;w.div` - cursor: pointer; - user-select: none; -`;w(ve)` - overflow: hidden; - text-overflow: ellipsis; - white-space: nowrap; -`;const t3={container:()=>E` - border-bottom: 1px solid ${({theme:e})=>e.colors.grey20}; - padding-left: 12px; - `,TabContainer:()=>E` - margin-bottom: -1px; - box-sizing: border-box; - align-items: center; - `,TabInner:({active:e})=>E` - border: 1px solid transparent; - border-color: ${({theme:t})=>e?`${t.colors.grey20} ${t.colors.grey20} ${t.colors.white}`:`transparent transparent ${t.colors.grey20} transparent`}; - padding: 9px 16px; - background: ${({theme:t})=>e?t.colors.white:t.colors.grey10}; - color: ${({theme:t})=>e?t.colors.grey_black100:t.colors.grey80}; - display: flex; - align-items: center; - cursor: pointer; - `},r3={container:()=>E` - border-bottom: none; - padding: 0; - justify-content: space-around; - appearance: auto; // Prevent Safari rendering as a button - `,TabContainer:({active:e,disabled:t,isTicketHistory:r})=>E` - font-family: ${({theme:n})=>n.fonts.headingPrimary}; - font-style: normal; - font-weight: ${e?"500":"400"}; - font-size: 11px; - line-height: 110%; - cursor: default; - pointer-events: ${t?"none":"initial"}; - color: ${({theme:n})=>e?n.colors.brandPrimary:t?n.colors.grey20:n.colors.grey40}; - border: 1px solid ${({theme:n})=>n.colors.grey20}; - border-bottom: ${({theme:n})=>`solid 1px ${e?n.colors.brandPrimary:n.colors.grey20}`}; - padding: 0 3px 6px 3px; - flex-grow: 1; - border-right-width: 0; - - :hover { - color: ${({theme:n})=>n.colors.grey100}; - cursor: pointer; - } - - :first-of-type { - border-left-width: 0; - } - - ${({theme:n})=>e&&E` - background-color: ${n.colors.brandShade20}; - `}; - padding: 7px; - ${e&&r?nt.h1:nt.h2} - appearance: auto; // Prevent Safari rendering as a button - `,TabInner:()=>E` - align-items: center; - justify-content: center; - appearance: auto; // Prevent Safari rendering as a button - `,label:()=>E` - appearance: auto; // Prevent Safari rendering as a button - `},n3={container:()=>E` - position: relative; - display: inline-flex; - flex-wrap: wrap; - gap: 3px; - align-items: center; - padding: 8px 5px 0px 5px; - background-color: ${e=>e.theme.colors.systemShade20}; - border-bottom: ${e=>`1px solid ${e.theme.colors.systemShade30}`}; - justify-content: flex-start; - width: 100%; - `,TabContainer:({active:e})=>E` - background: none; - padding: 8px; - padding-bottom: 6px; - box-sizing: border-box; - width: 82px; - position: relative; - z-index: 2; - border: 1px solid transparent; - - ${({theme:t})=>e&&` - z-index: 3; - border-radius: 8px 8px 0 0; - background-color: ${t.colors.systemShade10}; - border: 1px solid ${t.colors.systemShade30}; - border-bottom: 1px solid ${t.colors.systemShade10}; - margin-bottom: -2px; - - &::before, - &::after { - content: ' '; - display: block; - position: absolute; - bottom: -2px; - height: 5px; - width: 5px; - background-color: transparent; - z-index: 2; - clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 0% 100%); - } - - &::before { - left: -5px; - border-bottom: 1px solid ${t.colors.systemShade30}; - border-right: 1px solid ${t.colors.systemShade30}; - box-shadow: 1px 1px 0 0 ${t.colors.systemShade10}; - border-radius: 0 0 4px 0; - bottom: -1px; - } - - &::after { - right: -5px; - border-bottom: 1px solid ${t.colors.systemShade30}; - border-left: 1px solid ${t.colors.systemShade30}; - box-shadow: -1px 1px 0 0 ${t.colors.systemShade10}; - border-radius: 0 0 0 4px; - bottom: -1px; - } - `} - - &:hover { - cursor: pointer; - } - `,TabInner:()=>E` - align-items: center; - justify-content: center; - `,label:()=>E` - overflow-x: hidden; - text-overflow: ellipsis; - white-space: nowrap; - font-style: normal; - letter-spacing: 0.08em; - text-transform: uppercase; - ${Zr.h8} - color: ${e=>e.theme.colors.systemShade80}; - `},o3={container:()=>E` - border-bottom: ${({theme:e})=>`1px solid ${e.colors.grey5}`}; - padding: 6px 12px 0 12px; - justify-content: space-around; - `,TabContainer:({active:e,disabled:t,isTicketHistory:r})=>E` - font-family: ${({theme:n})=>n.fonts.headingPrimary}; - font-style: normal; - font-weight: ${e?"500":"400"}; - font-size: 11px; - line-height: 110%; - cursor: default; - pointer-events: ${t?"none":"initial"}; - color: ${({theme:n})=>e?n.colors.brandPrimary:t?n.colors.grey20:n.colors.grey40}; - border-bottom: ${({theme:n})=>e?`solid 2px ${n.colors.brandPrimary}`:"none"}; - padding: 0 3px 6px 3px; - :hover { - color: ${({theme:n})=>n.colors.grey100}; - cursor: pointer; - } - ${e&&r?Zr.h1:Zr.h2} - `,TabInner:()=>E` - align-items: center; - justify-content: center; - `},Ys={bar:t3,button:r3,nav:n3,tab:o3},i3=w(he)` - width: 100%; - ${({type:e})=>{var t,r,n;return(n=(r=(t=Ys[e]).container)===null||r===void 0?void 0:r.call(t))!==null&&n!==void 0?n:""}} -`,a3=w.div` - ${({type:e,active:t})=>{var r,n,o;return(o=(n=(r=Ys[e]).TabContainer)===null||n===void 0?void 0:n.call(r,{active:t}))!==null&&o!==void 0?o:""}} -`,s3=w(he)` - ${({type:e,active:t})=>{var r,n,o;return(o=(n=(r=Ys[e]).TabInner)===null||n===void 0?void 0:n.call(r,{active:t}))!==null&&o!==void 0?o:""}} -`,l3=w.span` - padding-right: 8px; - font-size: 11px; -`,c3=w(ve).attrs({type:"h4",as:"h4"})` - color: ${({theme:e,active:t})=>t?e.colors.grey_black100:e.colors.grey80}; - ${({tabType:e})=>{var t,r,n;return(n=(r=(t=Ys[e]).label)===null||r===void 0?void 0:r.call(t))!==null&&n!==void 0?n:""}} -`,u3=({tabs:e,activeIndex:t=0,onClickTab:r,type:n="bar",isTicketHistory:o,tooltipStyle:i,tooltipPlacement:a,containerStyles:s,className:l,...c})=>f.createElement(i3,{type:n,className:l,style:s,...le("TabBar"),...c},e.map((u,d)=>f.createElement(f3,{key:d,...u,active:t===d,onClick:()=>r(d),type:n,tooltipStyle:i,tooltipPlacement:a,isTicketHistory:o}))),f3=({icon:e,label:t,onClick:r,type:n,tooltip:o,tooltipStyle:i,tooltipPlacement:a,...s})=>f.createElement(Bn,{disabled:!o,styleType:i,placement:a,content:o},f.createElement(a3,{type:n,...le("TabBarTab"),...s,onClick:r},f.createElement(s3,{type:n,...s},e&&f.createElement(l3,null,f.createElement(j,{icon:e})),f.createElement(c3,{tabType:n,active:s.active},t)))),to=w.span` - display: inline-flex; - height: 100%; - align-items: center; - padding-left: ${({leftAlignLeftIcon:e})=>e?0:9}px; - padding-right: 5px; - position: absolute; - top: 0; - left: 0; - ${e=>pe(e.size).with("large","xLarge",()=>E` - font-size: 16px; - `).otherwise(()=>E` - font-size: 12px; - `)} -`,fi=w.span` - display: inline-flex; - height: 100%; - align-items: center; - position: absolute; - padding-right: 9px; - padding-left: 5px; - top: 0; - right: 0; - - ${e=>pe(e.size).with("large","xLarge",()=>E` - font-size: 16px; - `).otherwise(()=>E` - font-size: 12px; - `)} -`,di=w.div` - position: relative; - width: 100%; - ${Ne.p2}; - - :focus-within { - ${to} > ${j} { - transition: color 0.2s ease-in-out; - color: ${e=>e.theme.colors.cyan100}; - } - } - - ${({error:e,theme:t})=>!e&&`:hover input:not(:focus) { - border-color: ${t.colors.grey20}; - } - :hover ${v1} { - border-bottom: 1px solid ${t.colors.grey20}; - } - `} -`,d3=E` - ${Ne.p2}; - transition: color 0.2s ease-in-out, background-color 0.2s ease-in-out, - border-color 0.2s ease-in-out, box-shadow 0.2s ease-in-out; - color: ${({theme:e})=>e.colors.grey100}; - background-color: ${e=>e.theme.colors.white}; - height: 30px; - width: 100%; - border-radius: 4px; - border: 1px solid ${({theme:e})=>e.colors.grey20}; - outline: none; - padding: 0 10px; - box-sizing: border-box; - - :hover { - border-color: ${({theme:e})=>e.colors.grey40}; - } - - ::placeholder { - font-family: ${e=>e.theme.fonts.primary}; - color: ${e=>e.theme.colors.grey60}; - } - - :focus { - border-color: ${({theme:e})=>e.colors.cyan80}; - box-shadow: 0 0 0 2px ${({theme:e})=>e.colors.cyan20}; - } - - :disabled { - cursor: not-allowed; - background-color: ${e=>e.theme.colors.grey5}; - border-color: ${e=>e.theme.colors.grey20}; - } - - :read-only { - cursor: not-allowed; - } -`,Za=E` - height: 50px; - min-height: 50px; -`,Ja=E` - font-size: 16px; -`,Qa=E` - height: 24px; - min-height: 24px; -`,es=E` - height: 18px; - min-height: 18px; -`,ts=E` - && { - border-color: ${e=>e.theme.colors.red40}; - } - - :hover { - border-color: ${e=>e.theme.colors.red40}; - } - - :focus { - border-color: ${({theme:e})=>e.colors.red40}; - box-shadow: 0 0 0 2px ${({theme:e})=>e.colors.red20}; - } -`,Xs=E` - ${Ne.p2}; - transition: color 0.2s ease-in-out, background-color 0.2s ease-in-out, - border-color 0.2s ease-in-out, box-shadow 0.2s ease-in-out; - color: ${({theme:e})=>e.colors.grey100}; - outline: none; - height: 30px; - border: none; - border-bottom: 1px solid ${({theme:e})=>e.colors.grey10}; - width: 100%; - padding-left: 1px; - padding-right: 1px; - - box-shadow: none !important; - - :hover { - border-color: ${({theme:e})=>e.colors.grey20}; - } - - :focus { - border-color: ${({theme:e})=>e.colors.cyan80}; - } - - :disabled { - cursor: not-allowed; - background-color: ${e=>e.theme.colors.grey5}; - border-color: ${e=>e.theme.colors.grey10}; - } - - :read-only { - cursor: not-allowed; - } - - ::placeholder { - color: ${({theme:e})=>e.colors.grey60}; - font-weight: 400; - opacity: 1; - } -`,cd=E` - display: inline-flex; - align-items: center; - border-color: ${({isVisibleRightIcon:e,theme:t,error:r})=>e?t.colors.grey20:r?"":t.colors.white}; - - :read-only { - cursor: default; - } - - :hover { - cursor: pointer; - } - - :hover[data-disabled="true"], - :hover[data-readonly="true"] { - cursor: default; - border-color: ${({theme:e})=>e.colors.white}; - } - - span { - overflow: hidden; - white-space: nowrap; - text-overflow: ellipsis; - } -`,v1=w(ve)` - max-width: initial; - && { - color: ${({theme:e,value:t,defaultValue:r})=>t||r?e.colors.grey100:e.colors.grey40}; - } -`,m1=E` - display: inline-flex; - align-items: center; - height: auto; - min-height: 30px; - - :read-only { - cursor: default; - } -`,g1=w(ve)` - color: ${({theme:e})=>e.colors.grey60}; -`,ud=E` - &&& { - border-color: transparent; - :hover, - :focus { - border-color: transparent; - } - } -`;function fd(e){return e.variant==="normal"||e.variant===void 0?E` - ${d3}; - ${e.inputsize==="xLarge"&&Za}; - ${e.inputsize==="large"&&Ja}; - ${e.inputsize==="small"&&Qa}; - ${e.inputsize==="xSmall"&&es}; - ${(e.error||e.required)&&ts}; - `:E` - ${Xs} - ${e.inputsize==="xLarge"&&Za}; - ${e.inputsize==="large"&&Ja}; - ${e.inputsize==="small"&&Qa}; - ${e.inputsize==="xSmall"&&es}; - ${(e.error||e.required)&&ts}; - ${e.hideBorder&&ud} - `}const y1=w(f.forwardRef(function({leftIcon:t,rightIcon:r,type:n="text",inputsize:o,error:i,leftAlignLeftIcon:a,placeholder:s,required:l,isVisibleRightIconOnFocus:c,hideBorder:u,...d},p){const[v,h]=f.useState(),[m,y]=f.useState(),x=f.useRef(null),b=f.useRef(null);return f.useEffect(()=>{if(x.current){const{clientWidth:$}=x.current;(v===void 0||Math.abs($-v)>2)&&h($)}else h(void 0);if(b.current){const{clientWidth:$}=b.current;(m===void 0||Math.abs($-m)>2)&&y($)}else y(void 0)},[t,r]),f.createElement(di,{...le("Input"),error:i,type:"p2"},t&&f.createElement(to,{size:o,ref:x,leftAlignLeftIcon:a},Te(t)?f.createElement(j,{icon:t}):ke(t)?f.createElement(j,{...t}):t),f.createElement("input",{style:{paddingLeft:v,paddingRight:m},ref:p,type:n,...d,placeholder:l&&s?`${s}*`:s,...le("searchInputField")}),r&&f.createElement(fi,{size:o,ref:b},Te(r)?f.createElement(j,{icon:r}):ke(r)?f.createElement(j,{...r}):r))}))` - ${e=>fd(e)} -`;w(f.forwardRef(function({leftIcon:t,rightIcon:r,type:n="text",inputsize:o,error:i,isVisibleInput:a,isVisibleRightIconOnFocus:s=!0,isAlwaysVisibleRightIcon:l,leftAlignLeftIcon:c,required:u,hideBorder:d,onDisplayClick:p,isVisibleRightIcon:v,onClickInputGroup:h,hideAsterisk:m=!1,typographyType:y="p2",id:x,...b},$){var g;const C=f.useRef(null),S=ti($,C),[O,T]=f.useState(!1),k=typeof a=="boolean"?a:O,[L,B]=f.useState(!1),N=l??L,[W,X]=f.useState(),[V,te]=f.useState(),Y=f.useRef(null),J=f.useRef(null);return f.useLayoutEffect(()=>{if(Y.current){const{clientWidth:H}=Y.current;(W===void 0||Math.abs(H-W)>2)&&X(H)}else X(void 0);if(J.current){const{clientWidth:H}=J.current;(V===void 0||Math.abs(H-V)>2)&&te(H)}else te(void 0)},[t,r]),f.useEffect(()=>{b.autoFocus&&T(!0)},[b.autoFocus]),f.useEffect(()=>{k&&C.current&&C.current.focus()},[k]),f.createElement(di,{...le("InputWithDisplay"),"data-disabled":b.disabled,"data-readonly":b.readOnly,onClick:H=>{b.disabled||b.readOnly||(T(!0),B(s),h&&h(H))},onMouseEnter:()=>{b.disabled||b.readOnly||B(!0)},onMouseLeave:()=>{b.disabled||b.readOnly||B(!1)},type:y},t&&f.createElement(to,{ref:Y,leftAlignLeftIcon:c},Te(t)?f.createElement(j,{icon:t}):ke(t)?f.createElement(j,{...t}):t),f.createElement("input",{...b,id:x,autoFocus:!0,style:{...b.style,paddingLeft:W,paddingRight:V,display:k?"block":"none"},ref:S,type:n,onBlur:H=>{T(!1),B(!1),b.onBlur&&b.onBlur(H)}}),f.createElement(v1,{...b,style:{...b.style,paddingLeft:W||1,paddingRight:V||1,paddingTop:1,display:k?"none":(g=b.style)===null||g===void 0?void 0:g.display},"data-disabled":b.disabled,"data-readonly":b.readOnly,role:"textbox",type:y,onClick:p},b.value||b.defaultValue||f.createElement(f.Fragment,null,f.createElement("span",null,b.placeholder),u&&!m&&f.createElement(ve,{type:"p1",themeColor:"red100"},"*"))),r&&f.createElement(fi,{ref:J,style:{visibility:N||s&&k?"visible":"hidden"}},Te(r)?f.createElement(j,{icon:r}):ke(r)?f.createElement(j,{...r}):r))}))` - ${Xs}; - ${cd}; - ${e=>e.inputsize==="xLarge"&&Za}; - ${e=>e.inputsize==="large"&&Ja}; - ${e=>e.inputsize==="small"&&Qa}; - ${e=>e.inputsize==="xSmall"&&es}; - ${e=>(e.error||e.required)&&ts}; - ${e=>e.hideBorder&&ud}; -`;const b1=w(fi)` - display: none; -`,p3=w(di)` - &:hover { - ${b1} { - display: block; - } - } -`;w(f.forwardRef(function({leftIcon:t,rightIcon:r,type:n="text",inputsize:o,error:i,required:a,onFocus:s,leftAlignLeftIcon:l,isDatePickerOpen:c,...u},d){const[p,v]=f.useState(),[h,m]=f.useState(),y=f.useRef(null),x=f.useRef(null);return f.useLayoutEffect(()=>{if(y.current){const{clientWidth:b}=y.current;(p===void 0||Math.abs(b-p)>2)&&v(b)}else v(void 0);if(x.current){const{clientWidth:b}=x.current;(h===void 0||Math.abs(b-h)>2)&&m(b)}else m(void 0)},[t,r]),f.createElement(p3,{...le("DatePickerInputWithDisplay"),"data-disabled":u.disabled,"data-readonly":u.readOnly,onClick:u.onClick},t&&f.createElement(to,{ref:y,leftAlignLeftIcon:l},Te(t)?f.createElement(j,{icon:t}):ke(t)?f.createElement(j,{...t}):t),f.createElement("input",{style:{paddingLeft:p,paddingRight:h},ref:d,type:n,...u}),r&&f.createElement(b1,{ref:x},Te(r)?f.createElement(j,{icon:r}):ke(r)?f.createElement(j,{...r}):r))}))` - ${Xs}; - ${cd}; - ${e=>e.inputsize==="xLarge"&&Za}; - ${e=>e.inputsize==="large"&&Ja}; - ${e=>e.inputsize==="small"&&Qa}; - ${e=>e.inputsize==="xSmall"&&es}; - ${e=>(e.error||e.required)&&ts}; -`;const OV=w(f.forwardRef(function({leftIcon:t,rightIcon:r,inputsize:n,error:o,required:i,onFocus:a,children:s,value:l,placeholder:c,hideBorder:u,...d},p){const[v,h]=f.useState(),[m,y]=f.useState(),x=f.useRef(null),b=f.useRef(null);return f.useLayoutEffect(()=>{if(x.current){const{clientWidth:$}=x.current;(v===void 0||Math.abs($-v)>2)&&h($)}else h(void 0);if(b.current){const{clientWidth:$}=b.current;(m===void 0||Math.abs($-m)>2)&&y($)}else y(void 0)},[t,r]),f.createElement(di,{...le("DivAsInput"),ref:p,...d,"data-disabled":d.disabled,"data-readonly":d.readOnly},t&&f.createElement(to,{ref:x},Te(t)?f.createElement(j,{icon:t}):ke(t)?f.createElement(j,{...t}):t),f.createElement(ve,{style:{paddingLeft:v,paddingRight:m},type:"p2",as:"div"},l||!!c&&f.createElement(g1,{overflow:"ellipsis",type:"p1"},i?c+"*":c)),r&&f.createElement(fi,{ref:b},Te(r)?f.createElement(j,{icon:r}):ke(r)?f.createElement(j,{...r}):r))}))` - ${e=>fd(e)}; - ${m1}; - ${e=>e.hideBorder&&ud}; - ${({disabled:e,theme:t})=>e?E` - background-color: ${t.colors.grey10}; - border-radius: 3px; - pointer-events: none; - `:""} -`,TV=w(f.forwardRef(function({leftIcon:t,rightIcon:r,inputsize:n,error:o,required:i,onFocus:a,children:s,value:l,placeholder:c,leftAlignLeftIcon:u,isVisibleRightIcon:d,...p},v){const[h,m]=f.useState(),[y,x]=f.useState(),b=f.useRef(null),$=f.useRef(null),[g,C]=f.useState(d??!1);return f.useLayoutEffect(()=>{if(b.current){const{clientWidth:S}=b.current;(h===void 0||Math.abs(S-h)>2)&&m(S)}else m(void 0);if($.current){const{clientWidth:S}=$.current;(y===void 0||Math.abs(S-y)>2)&&x(S)}else x(void 0)},[t,r]),f.createElement(di,{"data-disabled":p.disabled,"data-readonly":p.readOnly,ref:v,...p,onMouseEnter:()=>{C(!0)},onMouseLeave:()=>{C(!1)}},t&&f.createElement(to,{ref:b,leftAlignLeftIcon:u},Te(t)?f.createElement(j,{icon:t}):ke(t)?f.createElement(j,{...t}):t),f.createElement(ve,{style:{paddingLeft:h,paddingRight:y},type:"p2",as:"div"},l||f.createElement(g1,{overflow:"ellipsis",type:"p1"},c)),r&&f.createElement(fi,{ref:$,style:{visibility:g||d?"visible":"hidden"}},Te(r)?f.createElement(j,{icon:r}):ke(r)?f.createElement(j,{...r}):r))}))` - ${e=>fd(e)}; - ${m1}; - ${cd}; - ${e=>e.inputsize==="small"&&E` - min-height: 24px; - `}; - ${e=>e.inputsize==="xSmall"&&E` - min-height: 18px; - `}; -`;function h3(e,t,r){var n=this,o=f.useRef(null),i=f.useRef(0),a=f.useRef(null),s=f.useRef([]),l=f.useRef(),c=f.useRef(),u=f.useRef(e),d=f.useRef(!0);u.current=e;var p=!t&&t!==0&&typeof window<"u";if(typeof e!="function")throw new TypeError("Expected a function");t=+t||0,r=r||{};var v=!!r.leading,h="trailing"in r?!!r.trailing:!0,m="maxWait"in r,y=m?Math.max(+r.maxWait||0,t):null;f.useEffect(function(){return d.current=!0,function(){d.current=!1}},[]);var x=f.useMemo(function(){var b=function(T){var k=s.current,L=l.current;return s.current=l.current=null,i.current=T,c.current=u.current.apply(L,k)},$=function(T,k){p&&cancelAnimationFrame(a.current),a.current=p?requestAnimationFrame(T):setTimeout(T,k)},g=function(T){if(!d.current)return!1;var k=T-o.current,L=T-i.current;return!o.current||k>=t||k<0||m&&L>=y},C=function(T){return a.current=null,h&&s.current?b(T):(s.current=l.current=null,c.current)},S=function(){var T=Date.now();if(g(T))return C(T);if(d.current){var k=T-o.current,L=T-i.current,B=t-k,N=m?Math.min(B,y-L):B;$(S,N)}},O=function(){for(var T=[],k=0;k<arguments.length;k++)T[k]=arguments[k];var L=Date.now(),B=g(L);if(s.current=T,l.current=n,o.current=L,B){if(!a.current&&d.current)return i.current=o.current,$(S,t),v?b(o.current):c.current;if(m)return $(S,t),b(o.current)}return a.current||$(S,t),c.current};return O.cancel=function(){a.current&&(p?cancelAnimationFrame(a.current):clearTimeout(a.current)),i.current=0,s.current=o.current=l.current=a.current=null},O.isPending=function(){return!!a.current},O.flush=function(){return a.current?C(Date.now()):c.current},O},[v,m,t,y,h,p]);return x}const Sv=w.div` - height: 3px; - width: 100%; -`;var uo=function(e){return e&&e.Math===Math&&e},Ue=uo(typeof globalThis=="object"&&globalThis)||uo(typeof window=="object"&&window)||uo(typeof self=="object"&&self)||uo(typeof et=="object"&&et)||uo(typeof et=="object"&&et)||function(){return this}()||Function("return this")(),dd={},Le=function(e){try{return!!e()}catch{return!0}},v3=Le,Dt=!v3(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!==7}),m3=Le,Ks=!m3(function(){var e=(function(){}).bind();return typeof e!="function"||e.hasOwnProperty("prototype")}),g3=Ks,Fi=Function.prototype.call,gt=g3?Fi.bind(Fi):function(){return Fi.apply(Fi,arguments)},pd={},x1={}.propertyIsEnumerable,w1=Object.getOwnPropertyDescriptor,y3=w1&&!x1.call({1:2},1);pd.f=y3?function(t){var r=w1(this,t);return!!r&&r.enumerable}:x1;var hd=function(e,t){return{enumerable:!(e&1),configurable:!(e&2),writable:!(e&4),value:t}},$1=Ks,E1=Function.prototype,ku=E1.call,b3=$1&&E1.bind.bind(ku,ku),Pe=$1?b3:function(e){return function(){return ku.apply(e,arguments)}},S1=Pe,x3=S1({}.toString),w3=S1("".slice),Pr=function(e){return w3(x3(e),8,-1)},$3=Pe,E3=Le,S3=Pr,Ll=Object,C3=$3("".split),Zs=E3(function(){return!Ll("z").propertyIsEnumerable(0)})?function(e){return S3(e)==="String"?C3(e,""):Ll(e)}:Ll,on=function(e){return e==null},O3=on,T3=TypeError,an=function(e){if(O3(e))throw new T3("Can't call method on "+e);return e},k3=Zs,A3=an,ro=function(e){return k3(A3(e))},Fl=typeof document=="object"&&document.all,He=typeof Fl>"u"&&Fl!==void 0?function(e){return typeof e=="function"||e===Fl}:function(e){return typeof e=="function"},P3=He,ct=function(e){return typeof e=="object"?e!==null:P3(e)},Dl=Ue,z3=He,_3=function(e){return z3(e)?e:void 0},Js=function(e,t){return arguments.length<2?_3(Dl[e]):Dl[e]&&Dl[e][t]},I3=Pe,vd=I3({}.isPrototypeOf),R3=Ue,Cv=R3.navigator,Ov=Cv&&Cv.userAgent,C1=Ov?String(Ov):"",O1=Ue,Ml=C1,Tv=O1.process,kv=O1.Deno,Av=Tv&&Tv.versions||kv&&kv.version,Pv=Av&&Av.v8,zt,rs;Pv&&(zt=Pv.split("."),rs=zt[0]>0&&zt[0]<4?1:+(zt[0]+zt[1]));!rs&&Ml&&(zt=Ml.match(/Edge\/(\d+)/),(!zt||zt[1]>=74)&&(zt=Ml.match(/Chrome\/(\d+)/),zt&&(rs=+zt[1])));var md=rs,zv=md,L3=Le,F3=Ue,D3=F3.String,T1=!!Object.getOwnPropertySymbols&&!L3(function(){var e=Symbol("symbol detection");return!D3(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&zv&&zv<41}),M3=T1,k1=M3&&!Symbol.sham&&typeof Symbol.iterator=="symbol",j3=Js,N3=He,B3=vd,V3=k1,W3=Object,A1=V3?function(e){return typeof e=="symbol"}:function(e){var t=j3("Symbol");return N3(t)&&B3(t.prototype,W3(e))},U3=String,gd=function(e){try{return U3(e)}catch{return"Object"}},H3=He,G3=gd,q3=TypeError,pi=function(e){if(H3(e))return e;throw new q3(G3(e)+" is not a function")},Y3=pi,X3=on,hi=function(e,t){var r=e[t];return X3(r)?void 0:Y3(r)},jl=gt,Nl=He,Bl=ct,K3=TypeError,Z3=function(e,t){var r,n;if(t==="string"&&Nl(r=e.toString)&&!Bl(n=jl(r,e))||Nl(r=e.valueOf)&&!Bl(n=jl(r,e))||t!=="string"&&Nl(r=e.toString)&&!Bl(n=jl(r,e)))return n;throw new K3("Can't convert object to primitive value")},P1={exports:{}},_v=Ue,J3=Object.defineProperty,yd=function(e,t){try{J3(_v,e,{value:t,configurable:!0,writable:!0})}catch{_v[e]=t}return t},Q3=Ue,e_=yd,Iv="__core-js_shared__",Rv=P1.exports=Q3[Iv]||e_(Iv,{});(Rv.versions||(Rv.versions=[])).push({version:"3.41.0",mode:"global",copyright:"© 2014-2025 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.41.0/LICENSE",source:"https://github.com/zloirock/core-js"});var bd=P1.exports,Lv=bd,xd=function(e,t){return Lv[e]||(Lv[e]=t||{})},t_=an,r_=Object,no=function(e){return r_(t_(e))},n_=Pe,o_=no,i_=n_({}.hasOwnProperty),Mt=Object.hasOwn||function(t,r){return i_(o_(t),r)},a_=Pe,s_=0,l_=Math.random(),c_=a_(1 .toString),wd=function(e){return"Symbol("+(e===void 0?"":e)+")_"+c_(++s_+l_,36)},u_=Ue,f_=xd,Fv=Mt,d_=wd,p_=T1,h_=k1,kn=u_.Symbol,Vl=f_("wks"),v_=h_?kn.for||kn:kn&&kn.withoutSetter||d_,ut=function(e){return Fv(Vl,e)||(Vl[e]=p_&&Fv(kn,e)?kn[e]:v_("Symbol."+e)),Vl[e]},m_=gt,Dv=ct,Mv=A1,g_=hi,y_=Z3,b_=ut,x_=TypeError,w_=b_("toPrimitive"),$_=function(e,t){if(!Dv(e)||Mv(e))return e;var r=g_(e,w_),n;if(r){if(t===void 0&&(t="default"),n=m_(r,e,t),!Dv(n)||Mv(n))return n;throw new x_("Can't convert object to primitive value")}return t===void 0&&(t="number"),y_(e,t)},E_=$_,S_=A1,z1=function(e){var t=E_(e,"string");return S_(t)?t:t+""},C_=Ue,jv=ct,Au=C_.document,O_=jv(Au)&&jv(Au.createElement),$d=function(e){return O_?Au.createElement(e):{}},T_=Dt,k_=Le,A_=$d,_1=!T_&&!k_(function(){return Object.defineProperty(A_("div"),"a",{get:function(){return 7}}).a!==7}),P_=Dt,z_=gt,__=pd,I_=hd,R_=ro,L_=z1,F_=Mt,D_=_1,Nv=Object.getOwnPropertyDescriptor;dd.f=P_?Nv:function(t,r){if(t=R_(t),r=L_(r),D_)try{return Nv(t,r)}catch{}if(F_(t,r))return I_(!z_(__.f,t,r),t[r])};var Qt={},M_=Dt,j_=Le,I1=M_&&j_(function(){return Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype!==42}),N_=ct,B_=String,V_=TypeError,Tt=function(e){if(N_(e))return e;throw new V_(B_(e)+" is not an object")},W_=Dt,U_=_1,H_=I1,Di=Tt,Bv=z1,G_=TypeError,Wl=Object.defineProperty,q_=Object.getOwnPropertyDescriptor,Ul="enumerable",Hl="configurable",Gl="writable";Qt.f=W_?H_?function(t,r,n){if(Di(t),r=Bv(r),Di(n),typeof t=="function"&&r==="prototype"&&"value"in n&&Gl in n&&!n[Gl]){var o=q_(t,r);o&&o[Gl]&&(t[r]=n.value,n={configurable:Hl in n?n[Hl]:o[Hl],enumerable:Ul in n?n[Ul]:o[Ul],writable:!1})}return Wl(t,r,n)}:Wl:function(t,r,n){if(Di(t),r=Bv(r),Di(n),U_)try{return Wl(t,r,n)}catch{}if("get"in n||"set"in n)throw new G_("Accessors not supported");return"value"in n&&(t[r]=n.value),t};var Y_=Dt,X_=Qt,K_=hd,vi=Y_?function(e,t,r){return X_.f(e,t,K_(1,r))}:function(e,t,r){return e[t]=r,e},R1={exports:{}},Pu=Dt,Z_=Mt,L1=Function.prototype,J_=Pu&&Object.getOwnPropertyDescriptor,Ed=Z_(L1,"name"),Q_=Ed&&(function(){}).name==="something",e6=Ed&&(!Pu||Pu&&J_(L1,"name").configurable),Sd={EXISTS:Ed,PROPER:Q_,CONFIGURABLE:e6},t6=Pe,r6=He,zu=bd,n6=t6(Function.toString);r6(zu.inspectSource)||(zu.inspectSource=function(e){return n6(e)});var F1=zu.inspectSource,o6=Ue,i6=He,Vv=o6.WeakMap,D1=i6(Vv)&&/native code/.test(String(Vv)),a6=xd,s6=wd,Wv=a6("keys"),Cd=function(e){return Wv[e]||(Wv[e]=s6(e))},Qs={},l6=D1,M1=Ue,c6=ct,u6=vi,ql=Mt,Yl=bd,f6=Cd,d6=Qs,Uv="Object already initialized",_u=M1.TypeError,p6=M1.WeakMap,ns,qo,os,h6=function(e){return os(e)?qo(e):ns(e,{})},v6=function(e){return function(t){var r;if(!c6(t)||(r=qo(t)).type!==e)throw new _u("Incompatible receiver, "+e+" required");return r}};if(l6||Yl.state){var Bt=Yl.state||(Yl.state=new p6);Bt.get=Bt.get,Bt.has=Bt.has,Bt.set=Bt.set,ns=function(e,t){if(Bt.has(e))throw new _u(Uv);return t.facade=e,Bt.set(e,t),t},qo=function(e){return Bt.get(e)||{}},os=function(e){return Bt.has(e)}}else{var hn=f6("state");d6[hn]=!0,ns=function(e,t){if(ql(e,hn))throw new _u(Uv);return t.facade=e,u6(e,hn,t),t},qo=function(e){return ql(e,hn)?e[hn]:{}},os=function(e){return ql(e,hn)}}var oo={set:ns,get:qo,has:os,enforce:h6,getterFor:v6},Od=Pe,m6=Le,g6=He,Mi=Mt,Iu=Dt,y6=Sd.CONFIGURABLE,b6=F1,j1=oo,x6=j1.enforce,w6=j1.get,Hv=String,ga=Object.defineProperty,$6=Od("".slice),E6=Od("".replace),S6=Od([].join),C6=Iu&&!m6(function(){return ga(function(){},"length",{value:8}).length!==8}),O6=String(String).split("String"),T6=R1.exports=function(e,t,r){$6(Hv(t),0,7)==="Symbol("&&(t="["+E6(Hv(t),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),r&&r.getter&&(t="get "+t),r&&r.setter&&(t="set "+t),(!Mi(e,"name")||y6&&e.name!==t)&&(Iu?ga(e,"name",{value:t,configurable:!0}):e.name=t),C6&&r&&Mi(r,"arity")&&e.length!==r.arity&&ga(e,"length",{value:r.arity});try{r&&Mi(r,"constructor")&&r.constructor?Iu&&ga(e,"prototype",{writable:!1}):e.prototype&&(e.prototype=void 0)}catch{}var n=x6(e);return Mi(n,"source")||(n.source=S6(O6,typeof t=="string"?t:"")),e};Function.prototype.toString=T6(function(){return g6(this)&&w6(this).source||b6(this)},"toString");var N1=R1.exports,k6=He,A6=Qt,P6=N1,z6=yd,sn=function(e,t,r,n){n||(n={});var o=n.enumerable,i=n.name!==void 0?n.name:t;if(k6(r)&&P6(r,i,n),n.global)o?e[t]=r:z6(t,r);else{try{n.unsafe?e[t]&&(o=!0):delete e[t]}catch{}o?e[t]=r:A6.f(e,t,{value:r,enumerable:!1,configurable:!n.nonConfigurable,writable:!n.nonWritable})}return e},el={},_6=Math.ceil,I6=Math.floor,R6=Math.trunc||function(t){var r=+t;return(r>0?I6:_6)(r)},L6=R6,tl=function(e){var t=+e;return t!==t||t===0?0:L6(t)},F6=tl,D6=Math.max,M6=Math.min,j6=function(e,t){var r=F6(e);return r<0?D6(r+t,0):M6(r,t)},N6=tl,B6=Math.min,Td=function(e){var t=N6(e);return t>0?B6(t,9007199254740991):0},V6=Td,rl=function(e){return V6(e.length)},W6=ro,U6=j6,H6=rl,Gv=function(e){return function(t,r,n){var o=W6(t),i=H6(o);if(i===0)return!e&&-1;var a=U6(n,i),s;if(e&&r!==r){for(;i>a;)if(s=o[a++],s!==s)return!0}else for(;i>a;a++)if((e||a in o)&&o[a]===r)return e||a||0;return!e&&-1}},G6={includes:Gv(!0),indexOf:Gv(!1)},q6=Pe,Xl=Mt,Y6=ro,X6=G6.indexOf,K6=Qs,qv=q6([].push),B1=function(e,t){var r=Y6(e),n=0,o=[],i;for(i in r)!Xl(K6,i)&&Xl(r,i)&&qv(o,i);for(;t.length>n;)Xl(r,i=t[n++])&&(~X6(o,i)||qv(o,i));return o},kd=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],Z6=B1,J6=kd,Q6=J6.concat("length","prototype");el.f=Object.getOwnPropertyNames||function(t){return Z6(t,Q6)};var Ad={};Ad.f=Object.getOwnPropertySymbols;var eI=Js,tI=Pe,rI=el,nI=Ad,oI=Tt,iI=tI([].concat),aI=eI("Reflect","ownKeys")||function(t){var r=rI.f(oI(t)),n=nI.f;return n?iI(r,n(t)):r},Yv=Mt,sI=aI,lI=dd,cI=Qt,uI=function(e,t,r){for(var n=sI(t),o=cI.f,i=lI.f,a=0;a<n.length;a++){var s=n[a];!Yv(e,s)&&!(r&&Yv(r,s))&&o(e,s,i(t,s))}},fI=Le,dI=He,pI=/#|\.prototype\./,mi=function(e,t){var r=vI[hI(e)];return r===gI?!0:r===mI?!1:dI(t)?fI(t):!!t},hI=mi.normalize=function(e){return String(e).replace(pI,".").toLowerCase()},vI=mi.data={},mI=mi.NATIVE="N",gI=mi.POLYFILL="P",V1=mi,ji=Ue,yI=dd.f,bI=vi,xI=sn,wI=yd,$I=uI,EI=V1,zr=function(e,t){var r=e.target,n=e.global,o=e.stat,i,a,s,l,c,u;if(n?a=ji:o?a=ji[r]||wI(r,{}):a=ji[r]&&ji[r].prototype,a)for(s in t){if(c=t[s],e.dontCallGetSet?(u=yI(a,s),l=u&&u.value):l=a[s],i=EI(n?s:r+(o?".":"#")+s,e.forced),!i&&l!==void 0){if(typeof c==typeof l)continue;$I(c,l)}(e.sham||l&&l.sham)&&bI(c,"sham",!0),xI(a,s,c,e)}},SI=ut,CI=SI("toStringTag"),W1={};W1[CI]="z";var Pd=String(W1)==="[object z]",OI=Pd,TI=He,ya=Pr,kI=ut,AI=kI("toStringTag"),PI=Object,zI=ya(function(){return arguments}())==="Arguments",_I=function(e,t){try{return e[t]}catch{}},nl=OI?ya:function(e){var t,r,n;return e===void 0?"Undefined":e===null?"Null":typeof(r=_I(t=PI(e),AI))=="string"?r:zI?ya(t):(n=ya(t))==="Object"&&TI(t.callee)?"Arguments":n},II=nl,RI=String,ln=function(e){if(II(e)==="Symbol")throw new TypeError("Cannot convert a Symbol value to a string");return RI(e)},U1=` -\v\f\r                 \u2028\u2029\uFEFF`,LI=Pe,FI=an,DI=ln,Ru=U1,Xv=LI("".replace),MI=RegExp("^["+Ru+"]+"),jI=RegExp("(^|[^"+Ru+"])["+Ru+"]+$"),Kl=function(e){return function(t){var r=DI(FI(t));return e&1&&(r=Xv(r,MI,"")),e&2&&(r=Xv(r,jI,"$1")),r}},NI={start:Kl(1),end:Kl(2),trim:Kl(3)},H1=Ue,BI=Le,VI=Pe,WI=ln,UI=NI.trim,Kv=U1,_o=H1.parseInt,Zv=H1.Symbol,Jv=Zv&&Zv.iterator,G1=/^[+-]?0x/i,HI=VI(G1.exec),GI=_o(Kv+"08")!==8||_o(Kv+"0x16")!==22||Jv&&!BI(function(){_o(Object(Jv))}),qI=GI?function(t,r){var n=UI(WI(t));return _o(n,r>>>0||(HI(G1,n)?16:10))}:_o,YI=zr,Qv=qI;YI({global:!0,forced:parseInt!==Qv},{parseInt:Qv});var XI=B1,KI=kd,q1=Object.keys||function(t){return XI(t,KI)},em=Dt,ZI=Pe,JI=gt,QI=Le,Zl=q1,e8=Ad,t8=pd,r8=no,n8=Zs,vn=Object.assign,tm=Object.defineProperty,o8=ZI([].concat),i8=!vn||QI(function(){if(em&&vn({b:1},vn(tm({},"a",{enumerable:!0,get:function(){tm(this,"b",{value:3,enumerable:!1})}}),{b:2})).b!==1)return!0;var e={},t={},r=Symbol("assign detection"),n="abcdefghijklmnopqrst";return e[r]=7,n.split("").forEach(function(o){t[o]=o}),vn({},e)[r]!==7||Zl(vn({},t)).join("")!==n})?function(t,r){for(var n=r8(t),o=arguments.length,i=1,a=e8.f,s=t8.f;o>i;)for(var l=n8(arguments[i++]),c=a?o8(Zl(l),a(l)):Zl(l),u=c.length,d=0,p;u>d;)p=c[d++],(!em||JI(s,l,p))&&(n[p]=l[p]);return n}:vn,a8=zr,rm=i8;a8({target:"Object",stat:!0,arity:2,forced:Object.assign!==rm},{assign:rm});var s8=Pr,l8=Pe,c8=function(e){if(s8(e)==="Function")return l8(e)},nm=c8,u8=pi,f8=Ks,d8=nm(nm.bind),Y1=function(e,t){return u8(e),t===void 0?e:f8?d8(e,t):function(){return e.apply(t,arguments)}},p8=Pr,h8=Array.isArray||function(t){return p8(t)==="Array"},v8=Pe,m8=Le,X1=He,g8=nl,y8=Js,b8=F1,K1=function(){},Z1=y8("Reflect","construct"),zd=/^\s*(?:class|function)\b/,x8=v8(zd.exec),w8=!zd.test(K1),fo=function(t){if(!X1(t))return!1;try{return Z1(K1,[],t),!0}catch{return!1}},J1=function(t){if(!X1(t))return!1;switch(g8(t)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return w8||!!x8(zd,b8(t))}catch{return!0}};J1.sham=!0;var $8=!Z1||m8(function(){var e;return fo(fo.call)||!fo(Object)||!fo(function(){e=!0})||e})?J1:fo,om=h8,E8=$8,S8=ct,C8=ut,O8=C8("species"),im=Array,T8=function(e){var t;return om(e)&&(t=e.constructor,E8(t)&&(t===im||om(t.prototype))?t=void 0:S8(t)&&(t=t[O8],t===null&&(t=void 0))),t===void 0?im:t},k8=T8,A8=function(e,t){return new(k8(e))(t===0?0:t)},P8=Y1,z8=Pe,_8=Zs,I8=no,R8=rl,L8=A8,am=z8([].push),pr=function(e){var t=e===1,r=e===2,n=e===3,o=e===4,i=e===6,a=e===7,s=e===5||i;return function(l,c,u,d){for(var p=I8(l),v=_8(p),h=R8(v),m=P8(c,u),y=0,x=d||L8,b=t?x(l,h):r||a?x(l,0):void 0,$,g;h>y;y++)if((s||y in v)&&($=v[y],g=m($,y,p),e))if(t)b[y]=g;else if(g)switch(e){case 3:return!0;case 5:return $;case 6:return y;case 2:am(b,$)}else switch(e){case 4:return!1;case 7:am(b,$)}return i?-1:n||o?o:b}},Q1={forEach:pr(0),map:pr(1),filter:pr(2),some:pr(3),every:pr(4),find:pr(5),findIndex:pr(6),filterReject:pr(7)},F8=Le,D8=ut,M8=md,j8=D8("species"),N8=function(e){return M8>=51||!F8(function(){var t=[],r=t.constructor={};return r[j8]=function(){return{foo:1}},t[e](Boolean).foo!==1})},B8=zr,V8=Q1.filter,W8=N8,U8=W8("filter");B8({target:"Array",proto:!0,forced:!U8},{filter:function(t){return V8(this,t,arguments.length>1?arguments[1]:void 0)}});var H8=Pd,G8=nl,q8=H8?{}.toString:function(){return"[object "+G8(this)+"]"},Y8=Pd,X8=sn,K8=q8;Y8||X8(Object.prototype,"toString",K8,{unsafe:!0});var ex={},Z8=Dt,J8=I1,Q8=Qt,eR=Tt,tR=ro,rR=q1;ex.f=Z8&&!J8?Object.defineProperties:function(t,r){eR(t);for(var n=tR(r),o=rR(r),i=o.length,a=0,s;i>a;)Q8.f(t,s=o[a++],n[s]);return t};var nR=Js,oR=nR("document","documentElement"),iR=Tt,aR=ex,sm=kd,sR=Qs,lR=oR,cR=$d,uR=Cd,lm=">",cm="<",Lu="prototype",Fu="script",tx=uR("IE_PROTO"),Jl=function(){},rx=function(e){return cm+Fu+lm+e+cm+"/"+Fu+lm},um=function(e){e.write(rx("")),e.close();var t=e.parentWindow.Object;return e=null,t},fR=function(){var e=cR("iframe"),t="java"+Fu+":",r;return e.style.display="none",lR.appendChild(e),e.src=String(t),r=e.contentWindow.document,r.open(),r.write(rx("document.F=Object")),r.close(),r.F},Ni,ba=function(){try{Ni=new ActiveXObject("htmlfile")}catch{}ba=typeof document<"u"?document.domain&&Ni?um(Ni):fR():um(Ni);for(var e=sm.length;e--;)delete ba[Lu][sm[e]];return ba()};sR[tx]=!0;var _d=Object.create||function(t,r){var n;return t!==null?(Jl[Lu]=iR(t),n=new Jl,Jl[Lu]=null,n[tx]=t):n=ba(),r===void 0?n:aR.f(n,r)},dR=ut,pR=_d,hR=Qt.f,Du=dR("unscopables"),Mu=Array.prototype;Mu[Du]===void 0&&hR(Mu,Du,{configurable:!0,value:pR(null)});var vR=function(e){Mu[Du][e]=!0},gi={},mR=Le,gR=!mR(function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}),yR=Mt,bR=He,xR=no,wR=Cd,$R=gR,fm=wR("IE_PROTO"),ju=Object,ER=ju.prototype,nx=$R?ju.getPrototypeOf:function(e){var t=xR(e);if(yR(t,fm))return t[fm];var r=t.constructor;return bR(r)&&t instanceof r?r.prototype:t instanceof ju?ER:null},SR=Le,CR=He,OR=ct,dm=nx,TR=sn,kR=ut,Nu=kR("iterator"),ox=!1,Qr,Ql,ec;[].keys&&(ec=[].keys(),"next"in ec?(Ql=dm(dm(ec)),Ql!==Object.prototype&&(Qr=Ql)):ox=!0);var AR=!OR(Qr)||SR(function(){var e={};return Qr[Nu].call(e)!==e});AR&&(Qr={});CR(Qr[Nu])||TR(Qr,Nu,function(){return this});var ix={IteratorPrototype:Qr,BUGGY_SAFARI_ITERATORS:ox},PR=Qt.f,zR=Mt,_R=ut,pm=_R("toStringTag"),ol=function(e,t,r){e&&!r&&(e=e.prototype),e&&!zR(e,pm)&&PR(e,pm,{configurable:!0,value:t})},IR=ix.IteratorPrototype,RR=_d,LR=hd,FR=ol,DR=gi,MR=function(){return this},jR=function(e,t,r,n){var o=t+" Iterator";return e.prototype=RR(IR,{next:LR(+!n,r)}),FR(e,o,!1),DR[o]=MR,e},NR=Pe,BR=pi,VR=function(e,t,r){try{return NR(BR(Object.getOwnPropertyDescriptor(e,t)[r]))}catch{}},WR=ct,UR=function(e){return WR(e)||e===null},HR=UR,GR=String,qR=TypeError,YR=function(e){if(HR(e))return e;throw new qR("Can't set "+GR(e)+" as a prototype")},XR=VR,KR=ct,ZR=an,JR=YR,ax=Object.setPrototypeOf||("__proto__"in{}?function(){var e=!1,t={},r;try{r=XR(Object.prototype,"__proto__","set"),r(t,[]),e=t instanceof Array}catch{}return function(o,i){return ZR(o),JR(i),KR(o)&&(e?r(o,i):o.__proto__=i),o}}():void 0),QR=zr,eL=gt,sx=Sd,tL=He,rL=jR,hm=nx,vm=ax,nL=ol,oL=vi,tc=sn,iL=ut,aL=gi,lx=ix,sL=sx.PROPER,lL=sx.CONFIGURABLE,mm=lx.IteratorPrototype,Bi=lx.BUGGY_SAFARI_ITERATORS,po=iL("iterator"),gm="keys",ho="values",ym="entries",cL=function(){return this},cx=function(e,t,r,n,o,i,a){rL(r,t,n);var s=function(x){if(x===o&&p)return p;if(!Bi&&x&&x in u)return u[x];switch(x){case gm:return function(){return new r(this,x)};case ho:return function(){return new r(this,x)};case ym:return function(){return new r(this,x)}}return function(){return new r(this)}},l=t+" Iterator",c=!1,u=e.prototype,d=u[po]||u["@@iterator"]||o&&u[o],p=!Bi&&d||s(o),v=t==="Array"&&u.entries||d,h,m,y;if(v&&(h=hm(v.call(new e)),h!==Object.prototype&&h.next&&(hm(h)!==mm&&(vm?vm(h,mm):tL(h[po])||tc(h,po,cL)),nL(h,l,!0))),sL&&o===ho&&d&&d.name!==ho&&(lL?oL(u,"name",ho):(c=!0,p=function(){return eL(d,this)})),o)if(m={values:s(ho),keys:i?p:s(gm),entries:s(ym)},a)for(y in m)(Bi||c||!(y in u))&&tc(u,y,m[y]);else QR({target:t,proto:!0,forced:Bi||c},m);return u[po]!==p&&tc(u,po,p,{name:o}),aL[t]=p,m},ux=function(e,t){return{value:e,done:t}},uL=ro,Id=vR,bm=gi,fx=oo,fL=Qt.f,dL=cx,Vi=ux,pL=Dt,dx="Array Iterator",hL=fx.set,vL=fx.getterFor(dx),mL=dL(Array,"Array",function(e,t){hL(this,{type:dx,target:uL(e),index:0,kind:t})},function(){var e=vL(this),t=e.target,r=e.index++;if(!t||r>=t.length)return e.target=null,Vi(void 0,!0);switch(e.kind){case"keys":return Vi(r,!1);case"values":return Vi(t[r],!1)}return Vi([r,t[r]],!1)},"values"),xm=bm.Arguments=bm.Array;Id("keys");Id("values");Id("entries");if(pL&&xm.name!=="values")try{fL(xm,"name",{value:"values"})}catch{}var Rd=Pe,gL=tl,yL=ln,bL=an,xL=Rd("".charAt),wm=Rd("".charCodeAt),wL=Rd("".slice),$m=function(e){return function(t,r){var n=yL(bL(t)),o=gL(r),i=n.length,a,s;return o<0||o>=i?e?"":void 0:(a=wm(n,o),a<55296||a>56319||o+1===i||(s=wm(n,o+1))<56320||s>57343?e?xL(n,o):a:e?wL(n,o,o+2):(a-55296<<10)+(s-56320)+65536)}},px={codeAt:$m(!1),charAt:$m(!0)},$L=px.charAt,EL=ln,hx=oo,SL=cx,Em=ux,vx="String Iterator",CL=hx.set,OL=hx.getterFor(vx);SL(String,"String",function(e){CL(this,{type:vx,string:EL(e),index:0})},function(){var t=OL(this),r=t.string,n=t.index,o;return n>=r.length?Em(void 0,!0):(o=$L(r,n),t.index+=o.length,Em(o,!1))});var TL=Le,mx=!TL(function(){return Object.isExtensible(Object.preventExtensions({}))}),kL=sn,gx=function(e,t,r){for(var n in t)kL(e,n,t[n],r);return e},yx={exports:{}},bx={},AL=Pe,PL=AL([].slice),zL=Pr,_L=ro,xx=el.f,IL=PL,wx=typeof window=="object"&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],RL=function(e){try{return xx(e)}catch{return IL(wx)}};bx.f=function(t){return wx&&zL(t)==="Window"?RL(t):xx(_L(t))};var LL=Le,FL=LL(function(){if(typeof ArrayBuffer=="function"){var e=new ArrayBuffer(8);Object.isExtensible(e)&&Object.defineProperty(e,"a",{value:8})}}),DL=Le,ML=ct,jL=Pr,Sm=FL,xa=Object.isExtensible,NL=DL(function(){xa(1)}),BL=NL||Sm?function(t){return!ML(t)||Sm&&jL(t)==="ArrayBuffer"?!1:xa?xa(t):!0}:xa,VL=zr,WL=Pe,UL=Qs,HL=ct,Ld=Mt,GL=Qt.f,Cm=el,qL=bx,Fd=BL,YL=wd,XL=mx,$x=!1,lr=YL("meta"),KL=0,Dd=function(e){GL(e,lr,{value:{objectID:"O"+KL++,weakData:{}}})},ZL=function(e,t){if(!HL(e))return typeof e=="symbol"?e:(typeof e=="string"?"S":"P")+e;if(!Ld(e,lr)){if(!Fd(e))return"F";if(!t)return"E";Dd(e)}return e[lr].objectID},JL=function(e,t){if(!Ld(e,lr)){if(!Fd(e))return!0;if(!t)return!1;Dd(e)}return e[lr].weakData},QL=function(e){return XL&&$x&&Fd(e)&&!Ld(e,lr)&&Dd(e),e},eF=function(){tF.enable=function(){},$x=!0;var e=Cm.f,t=WL([].splice),r={};r[lr]=1,e(r).length&&(Cm.f=function(n){for(var o=e(n),i=0,a=o.length;i<a;i++)if(o[i]===lr){t(o,i,1);break}return o},VL({target:"Object",stat:!0,forced:!0},{getOwnPropertyNames:qL.f}))},tF=yx.exports={enable:eF,fastKey:ZL,getWeakData:JL,onFreeze:QL};UL[lr]=!0;var Md=yx.exports,rF=ut,nF=gi,oF=rF("iterator"),iF=Array.prototype,aF=function(e){return e!==void 0&&(nF.Array===e||iF[oF]===e)},sF=nl,Om=hi,lF=on,cF=gi,uF=ut,fF=uF("iterator"),Ex=function(e){if(!lF(e))return Om(e,fF)||Om(e,"@@iterator")||cF[sF(e)]},dF=gt,pF=pi,hF=Tt,vF=gd,mF=Ex,gF=TypeError,yF=function(e,t){var r=arguments.length<2?mF(e):t;if(pF(r))return hF(dF(r,e));throw new gF(vF(e)+" is not iterable")},bF=gt,Tm=Tt,xF=hi,wF=function(e,t,r){var n,o;Tm(e);try{if(n=xF(e,"return"),!n){if(t==="throw")throw r;return r}n=bF(n,e)}catch(i){o=!0,n=i}if(t==="throw")throw r;if(o)throw n;return Tm(n),r},$F=Y1,EF=gt,SF=Tt,CF=gd,OF=aF,TF=rl,km=vd,kF=yF,AF=Ex,Am=wF,PF=TypeError,wa=function(e,t){this.stopped=e,this.result=t},Pm=wa.prototype,Sx=function(e,t,r){var n=r&&r.that,o=!!(r&&r.AS_ENTRIES),i=!!(r&&r.IS_RECORD),a=!!(r&&r.IS_ITERATOR),s=!!(r&&r.INTERRUPTED),l=$F(t,n),c,u,d,p,v,h,m,y=function(b){return c&&Am(c,"normal",b),new wa(!0,b)},x=function(b){return o?(SF(b),s?l(b[0],b[1],y):l(b[0],b[1])):s?l(b,y):l(b)};if(i)c=e.iterator;else if(a)c=e;else{if(u=AF(e),!u)throw new PF(CF(e)+" is not iterable");if(OF(u)){for(d=0,p=TF(e);p>d;d++)if(v=x(e[d]),v&&km(Pm,v))return v;return new wa(!1)}c=kF(e,u)}for(h=i?e.next:c.next;!(m=EF(h,c)).done;){try{v=x(m.value)}catch(b){Am(c,"throw",b)}if(typeof v=="object"&&v&&km(Pm,v))return v}return new wa(!1)},zF=vd,_F=TypeError,Cx=function(e,t){if(zF(t,e))return e;throw new _F("Incorrect invocation")},IF=ut,Ox=IF("iterator"),Tx=!1;try{var RF=0,zm={next:function(){return{done:!!RF++}},return:function(){Tx=!0}};zm[Ox]=function(){return this},Array.from(zm,function(){throw 2})}catch{}var LF=function(e,t){try{if(!t&&!Tx)return!1}catch{return!1}var r=!1;try{var n={};n[Ox]=function(){return{next:function(){return{done:r=!0}}}},e(n)}catch{}return r},FF=He,DF=ct,_m=ax,MF=function(e,t,r){var n,o;return _m&&FF(n=t.constructor)&&n!==r&&DF(o=n.prototype)&&o!==r.prototype&&_m(e,o),e},jF=zr,NF=Ue,BF=Pe,Im=V1,VF=sn,WF=Md,UF=Sx,HF=Cx,GF=He,qF=on,rc=ct,nc=Le,YF=LF,XF=ol,KF=MF,ZF=function(e,t,r){var n=e.indexOf("Map")!==-1,o=e.indexOf("Weak")!==-1,i=n?"set":"add",a=NF[e],s=a&&a.prototype,l=a,c={},u=function(x){var b=BF(s[x]);VF(s,x,x==="add"?function(g){return b(this,g===0?0:g),this}:x==="delete"?function($){return o&&!rc($)?!1:b(this,$===0?0:$)}:x==="get"?function(g){return o&&!rc(g)?void 0:b(this,g===0?0:g)}:x==="has"?function(g){return o&&!rc(g)?!1:b(this,g===0?0:g)}:function(g,C){return b(this,g===0?0:g,C),this})},d=Im(e,!GF(a)||!(o||s.forEach&&!nc(function(){new a().entries().next()})));if(d)l=r.getConstructor(t,e,n,i),WF.enable();else if(Im(e,!0)){var p=new l,v=p[i](o?{}:-0,1)!==p,h=nc(function(){p.has(1)}),m=YF(function(x){new a(x)}),y=!o&&nc(function(){for(var x=new a,b=5;b--;)x[i](b,b);return!x.has(-0)});m||(l=t(function(x,b){HF(x,s);var $=KF(new a,x,l);return qF(b)||UF(b,$[i],{that:$,AS_ENTRIES:n}),$}),l.prototype=s,s.constructor=l),(h||y)&&(u("delete"),u("has"),n&&u("get")),(y||v)&&u(i),o&&s.clear&&delete s.clear}return c[e]=l,jF({global:!0,constructor:!0,forced:l!==a},c),XF(l,e),o||r.setStrong(l,e,n),l},JF=Pe,Rm=gx,Wi=Md.getWeakData,QF=Cx,eD=Tt,tD=on,oc=ct,rD=Sx,kx=Q1,Lm=Mt,Ax=oo,nD=Ax.set,oD=Ax.getterFor,iD=kx.find,aD=kx.findIndex,sD=JF([].splice),lD=0,Ui=function(e){return e.frozen||(e.frozen=new Px)},Px=function(){this.entries=[]},ic=function(e,t){return iD(e.entries,function(r){return r[0]===t})};Px.prototype={get:function(e){var t=ic(this,e);if(t)return t[1]},has:function(e){return!!ic(this,e)},set:function(e,t){var r=ic(this,e);r?r[1]=t:this.entries.push([e,t])},delete:function(e){var t=aD(this.entries,function(r){return r[0]===e});return~t&&sD(this.entries,t,1),!!~t}};var cD={getConstructor:function(e,t,r,n){var o=e(function(l,c){QF(l,i),nD(l,{type:t,id:lD++,frozen:null}),tD(c)||rD(c,l[n],{that:l,AS_ENTRIES:r})}),i=o.prototype,a=oD(t),s=function(l,c,u){var d=a(l),p=Wi(eD(c),!0);return p===!0?Ui(d).set(c,u):p[d.id]=u,l};return Rm(i,{delete:function(l){var c=a(this);if(!oc(l))return!1;var u=Wi(l);return u===!0?Ui(c).delete(l):u&&Lm(u,c.id)&&delete u[c.id]},has:function(c){var u=a(this);if(!oc(c))return!1;var d=Wi(c);return d===!0?Ui(u).has(c):d&&Lm(d,u.id)}}),Rm(i,r?{get:function(c){var u=a(this);if(oc(c)){var d=Wi(c);if(d===!0)return Ui(u).get(c);if(d)return d[u.id]}},set:function(c,u){return s(this,c,u)}}:{add:function(c){return s(this,c,!0)}}),o}},uD=mx,Fm=Ue,$a=Pe,Dm=gx,fD=Md,dD=ZF,zx=cD,Hi=ct,Gi=oo.enforce,pD=Le,hD=D1,yi=Object,vD=Array.isArray,qi=yi.isExtensible,_x=yi.isFrozen,mD=yi.isSealed,Ix=yi.freeze,gD=yi.seal,yD=!Fm.ActiveXObject&&"ActiveXObject"in Fm,vo,Rx=function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}},Lx=dD("WeakMap",Rx,zx),yn=Lx.prototype,Ea=$a(yn.set),bD=function(){return uD&&pD(function(){var e=Ix([]);return Ea(new Lx,e,1),!_x(e)})};if(hD)if(yD){vo=zx.getConstructor(Rx,"WeakMap",!0),fD.enable();var Mm=$a(yn.delete),Yi=$a(yn.has),jm=$a(yn.get);Dm(yn,{delete:function(e){if(Hi(e)&&!qi(e)){var t=Gi(this);return t.frozen||(t.frozen=new vo),Mm(this,e)||t.frozen.delete(e)}return Mm(this,e)},has:function(t){if(Hi(t)&&!qi(t)){var r=Gi(this);return r.frozen||(r.frozen=new vo),Yi(this,t)||r.frozen.has(t)}return Yi(this,t)},get:function(t){if(Hi(t)&&!qi(t)){var r=Gi(this);return r.frozen||(r.frozen=new vo),Yi(this,t)?jm(this,t):r.frozen.get(t)}return jm(this,t)},set:function(t,r){if(Hi(t)&&!qi(t)){var n=Gi(this);n.frozen||(n.frozen=new vo),Yi(this,t)?Ea(this,t,r):n.frozen.set(t,r)}else Ea(this,t,r);return this}})}else bD()&&Dm(yn,{set:function(t,r){var n;return vD(t)&&(_x(t)?n=Ix:mD(t)&&(n=gD)),Ea(this,t,r),n&&n(t),this}});var xD={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0},wD=$d,ac=wD("span").classList,Nm=ac&&ac.constructor&&ac.constructor.prototype,$D=Nm===Object.prototype?void 0:Nm,Bm=Ue,Fx=xD,ED=$D,bo=mL,Vm=vi,SD=ol,CD=ut,sc=CD("iterator"),lc=bo.values,Dx=function(e,t){if(e){if(e[sc]!==lc)try{Vm(e,sc,lc)}catch{e[sc]=lc}if(SD(e,t,!0),Fx[t]){for(var r in bo)if(e[r]!==bo[r])try{Vm(e,r,bo[r])}catch{e[r]=bo[r]}}}};for(var cc in Fx)Dx(Bm[cc]&&Bm[cc].prototype,cc);Dx(ED,"DOMTokenList");var Mx="Expected a function",Wm=0/0,OD="[object Symbol]",TD=/^\s+|\s+$/g,kD=/^[-+]0x[0-9a-f]+$/i,AD=/^0b[01]+$/i,PD=/^0o[0-7]+$/i,zD=parseInt,_D=typeof et=="object"&&et&&et.Object===Object&&et,ID=typeof self=="object"&&self&&self.Object===Object&&self,RD=_D||ID||Function("return this")(),LD=Object.prototype,FD=LD.toString,DD=Math.max,MD=Math.min,uc=function(){return RD.Date.now()};function jD(e,t,r){var n,o,i,a,s,l,c=0,u=!1,d=!1,p=!0;if(typeof e!="function")throw new TypeError(Mx);t=Um(t)||0,is(r)&&(u=!!r.leading,d="maxWait"in r,i=d?DD(Um(r.maxWait)||0,t):i,p="trailing"in r?!!r.trailing:p);function v(S){var O=n,T=o;return n=o=void 0,c=S,a=e.apply(T,O),a}function h(S){return c=S,s=setTimeout(x,t),u?v(S):a}function m(S){var O=S-l,T=S-c,k=t-O;return d?MD(k,i-T):k}function y(S){var O=S-l,T=S-c;return l===void 0||O>=t||O<0||d&&T>=i}function x(){var S=uc();if(y(S))return b(S);s=setTimeout(x,m(S))}function b(S){return s=void 0,p&&n?v(S):(n=o=void 0,a)}function $(){s!==void 0&&clearTimeout(s),c=0,n=l=o=s=void 0}function g(){return s===void 0?a:b(uc())}function C(){var S=uc(),O=y(S);if(n=arguments,o=this,l=S,O){if(s===void 0)return h(l);if(d)return s=setTimeout(x,t),v(l)}return s===void 0&&(s=setTimeout(x,t)),a}return C.cancel=$,C.flush=g,C}function ND(e,t,r){var n=!0,o=!0;if(typeof e!="function")throw new TypeError(Mx);return is(r)&&(n="leading"in r?!!r.leading:n,o="trailing"in r?!!r.trailing:o),jD(e,t,{leading:n,maxWait:t,trailing:o})}function is(e){var t=typeof e;return!!e&&(t=="object"||t=="function")}function BD(e){return!!e&&typeof e=="object"}function VD(e){return typeof e=="symbol"||BD(e)&&FD.call(e)==OD}function Um(e){if(typeof e=="number")return e;if(VD(e))return Wm;if(is(e)){var t=typeof e.valueOf=="function"?e.valueOf():e;e=is(t)?t+"":t}if(typeof e!="string")return e===0?e:+e;e=e.replace(TD,"");var r=AD.test(e);return r||PD.test(e)?zD(e.slice(2),r?2:8):kD.test(e)?Wm:+e}var WD=ND;const Hm=Tr(WD);var UD="Expected a function",Gm=0/0,HD="[object Symbol]",GD=/^\s+|\s+$/g,qD=/^[-+]0x[0-9a-f]+$/i,YD=/^0b[01]+$/i,XD=/^0o[0-7]+$/i,KD=parseInt,ZD=typeof et=="object"&&et&&et.Object===Object&&et,JD=typeof self=="object"&&self&&self.Object===Object&&self,QD=ZD||JD||Function("return this")(),eM=Object.prototype,tM=eM.toString,rM=Math.max,nM=Math.min,fc=function(){return QD.Date.now()};function oM(e,t,r){var n,o,i,a,s,l,c=0,u=!1,d=!1,p=!0;if(typeof e!="function")throw new TypeError(UD);t=qm(t)||0,Bu(r)&&(u=!!r.leading,d="maxWait"in r,i=d?rM(qm(r.maxWait)||0,t):i,p="trailing"in r?!!r.trailing:p);function v(S){var O=n,T=o;return n=o=void 0,c=S,a=e.apply(T,O),a}function h(S){return c=S,s=setTimeout(x,t),u?v(S):a}function m(S){var O=S-l,T=S-c,k=t-O;return d?nM(k,i-T):k}function y(S){var O=S-l,T=S-c;return l===void 0||O>=t||O<0||d&&T>=i}function x(){var S=fc();if(y(S))return b(S);s=setTimeout(x,m(S))}function b(S){return s=void 0,p&&n?v(S):(n=o=void 0,a)}function $(){s!==void 0&&clearTimeout(s),c=0,n=l=o=s=void 0}function g(){return s===void 0?a:b(fc())}function C(){var S=fc(),O=y(S);if(n=arguments,o=this,l=S,O){if(s===void 0)return h(l);if(d)return s=setTimeout(x,t),v(l)}return s===void 0&&(s=setTimeout(x,t)),a}return C.cancel=$,C.flush=g,C}function Bu(e){var t=typeof e;return!!e&&(t=="object"||t=="function")}function iM(e){return!!e&&typeof e=="object"}function aM(e){return typeof e=="symbol"||iM(e)&&tM.call(e)==HD}function qm(e){if(typeof e=="number")return e;if(aM(e))return Gm;if(Bu(e)){var t=typeof e.valueOf=="function"?e.valueOf():e;e=Bu(t)?t+"":t}if(typeof e!="string")return e===0?e:+e;e=e.replace(GD,"");var r=YD.test(e);return r||XD.test(e)?KD(e.slice(2),r?2:8):qD.test(e)?Gm:+e}var sM=oM;const Ym=Tr(sM);var lM="Expected a function",jx="__lodash_hash_undefined__",cM="[object Function]",uM="[object GeneratorFunction]",fM=/[\\^$.*+?()[\]{}|]/g,dM=/^\[object .+?Constructor\]$/,pM=typeof et=="object"&&et&&et.Object===Object&&et,hM=typeof self=="object"&&self&&self.Object===Object&&self,Nx=pM||hM||Function("return this")();function vM(e,t){return e==null?void 0:e[t]}function mM(e){var t=!1;if(e!=null&&typeof e.toString!="function")try{t=!!(e+"")}catch{}return t}var gM=Array.prototype,yM=Function.prototype,Bx=Object.prototype,dc=Nx["__core-js_shared__"],Xm=function(){var e=/[^.]+$/.exec(dc&&dc.keys&&dc.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}(),Vx=yM.toString,jd=Bx.hasOwnProperty,bM=Bx.toString,xM=RegExp("^"+Vx.call(jd).replace(fM,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),wM=gM.splice,$M=Wx(Nx,"Map"),Yo=Wx(Object,"create");function en(e){var t=-1,r=e?e.length:0;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}function EM(){this.__data__=Yo?Yo(null):{}}function SM(e){return this.has(e)&&delete this.__data__[e]}function CM(e){var t=this.__data__;if(Yo){var r=t[e];return r===jx?void 0:r}return jd.call(t,e)?t[e]:void 0}function OM(e){var t=this.__data__;return Yo?t[e]!==void 0:jd.call(t,e)}function TM(e,t){var r=this.__data__;return r[e]=Yo&&t===void 0?jx:t,this}en.prototype.clear=EM;en.prototype.delete=SM;en.prototype.get=CM;en.prototype.has=OM;en.prototype.set=TM;function io(e){var t=-1,r=e?e.length:0;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}function kM(){this.__data__=[]}function AM(e){var t=this.__data__,r=il(t,e);if(r<0)return!1;var n=t.length-1;return r==n?t.pop():wM.call(t,r,1),!0}function PM(e){var t=this.__data__,r=il(t,e);return r<0?void 0:t[r][1]}function zM(e){return il(this.__data__,e)>-1}function _M(e,t){var r=this.__data__,n=il(r,e);return n<0?r.push([e,t]):r[n][1]=t,this}io.prototype.clear=kM;io.prototype.delete=AM;io.prototype.get=PM;io.prototype.has=zM;io.prototype.set=_M;function cn(e){var t=-1,r=e?e.length:0;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}function IM(){this.__data__={hash:new en,map:new($M||io),string:new en}}function RM(e){return al(this,e).delete(e)}function LM(e){return al(this,e).get(e)}function FM(e){return al(this,e).has(e)}function DM(e,t){return al(this,e).set(e,t),this}cn.prototype.clear=IM;cn.prototype.delete=RM;cn.prototype.get=LM;cn.prototype.has=FM;cn.prototype.set=DM;function il(e,t){for(var r=e.length;r--;)if(VM(e[r][0],t))return r;return-1}function MM(e){if(!Ux(e)||NM(e))return!1;var t=WM(e)||mM(e)?xM:dM;return t.test(BM(e))}function al(e,t){var r=e.__data__;return jM(t)?r[typeof t=="string"?"string":"hash"]:r.map}function Wx(e,t){var r=vM(e,t);return MM(r)?r:void 0}function jM(e){var t=typeof e;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?e!=="__proto__":e===null}function NM(e){return!!Xm&&Xm in e}function BM(e){if(e!=null){try{return Vx.call(e)}catch{}try{return e+""}catch{}}return""}function Nd(e,t){if(typeof e!="function"||t&&typeof t!="function")throw new TypeError(lM);var r=function(){var n=arguments,o=t?t.apply(this,n):n[0],i=r.cache;if(i.has(o))return i.get(o);var a=e.apply(this,n);return r.cache=i.set(o,a),a};return r.cache=new(Nd.Cache||cn),r}Nd.Cache=cn;function VM(e,t){return e===t||e!==e&&t!==t}function WM(e){var t=Ux(e)?bM.call(e):"";return t==cM||t==uM}function Ux(e){var t=typeof e;return!!e&&(t=="object"||t=="function")}var UM=Nd;const HM=Tr(UM);var qr=[],GM=function(){return qr.some(function(e){return e.activeTargets.length>0})},qM=function(){return qr.some(function(e){return e.skippedTargets.length>0})},Km="ResizeObserver loop completed with undelivered notifications.",YM=function(){var e;typeof ErrorEvent=="function"?e=new ErrorEvent("error",{message:Km}):(e=document.createEvent("Event"),e.initEvent("error",!1,!1),e.message=Km),window.dispatchEvent(e)},Xo;(function(e){e.BORDER_BOX="border-box",e.CONTENT_BOX="content-box",e.DEVICE_PIXEL_CONTENT_BOX="device-pixel-content-box"})(Xo||(Xo={}));var Yr=function(e){return Object.freeze(e)},XM=function(){function e(t,r){this.inlineSize=t,this.blockSize=r,Yr(this)}return e}(),Hx=function(){function e(t,r,n,o){return this.x=t,this.y=r,this.width=n,this.height=o,this.top=this.y,this.left=this.x,this.bottom=this.top+this.height,this.right=this.left+this.width,Yr(this)}return e.prototype.toJSON=function(){var t=this,r=t.x,n=t.y,o=t.top,i=t.right,a=t.bottom,s=t.left,l=t.width,c=t.height;return{x:r,y:n,top:o,right:i,bottom:a,left:s,width:l,height:c}},e.fromRect=function(t){return new e(t.x,t.y,t.width,t.height)},e}(),Bd=function(e){return e instanceof SVGElement&&"getBBox"in e},Gx=function(e){if(Bd(e)){var t=e.getBBox(),r=t.width,n=t.height;return!r&&!n}var o=e,i=o.offsetWidth,a=o.offsetHeight;return!(i||a||e.getClientRects().length)},Zm=function(e){var t;if(e instanceof Element)return!0;var r=(t=e==null?void 0:e.ownerDocument)===null||t===void 0?void 0:t.defaultView;return!!(r&&e instanceof r.Element)},KM=function(e){switch(e.tagName){case"INPUT":if(e.type!=="image")break;case"VIDEO":case"AUDIO":case"EMBED":case"OBJECT":case"CANVAS":case"IFRAME":case"IMG":return!0}return!1},Io=typeof window<"u"?window:{},Xi=new WeakMap,Jm=/auto|scroll/,ZM=/^tb|vertical/,JM=/msie|trident/i.test(Io.navigator&&Io.navigator.userAgent),Vt=function(e){return parseFloat(e||"0")},In=function(e,t,r){return e===void 0&&(e=0),t===void 0&&(t=0),r===void 0&&(r=!1),new XM((r?t:e)||0,(r?e:t)||0)},Qm=Yr({devicePixelContentBoxSize:In(),borderBoxSize:In(),contentBoxSize:In(),contentRect:new Hx(0,0,0,0)}),qx=function(e,t){if(t===void 0&&(t=!1),Xi.has(e)&&!t)return Xi.get(e);if(Gx(e))return Xi.set(e,Qm),Qm;var r=getComputedStyle(e),n=Bd(e)&&e.ownerSVGElement&&e.getBBox(),o=!JM&&r.boxSizing==="border-box",i=ZM.test(r.writingMode||""),a=!n&&Jm.test(r.overflowY||""),s=!n&&Jm.test(r.overflowX||""),l=n?0:Vt(r.paddingTop),c=n?0:Vt(r.paddingRight),u=n?0:Vt(r.paddingBottom),d=n?0:Vt(r.paddingLeft),p=n?0:Vt(r.borderTopWidth),v=n?0:Vt(r.borderRightWidth),h=n?0:Vt(r.borderBottomWidth),m=n?0:Vt(r.borderLeftWidth),y=d+c,x=l+u,b=m+v,$=p+h,g=s?e.offsetHeight-$-e.clientHeight:0,C=a?e.offsetWidth-b-e.clientWidth:0,S=o?y+b:0,O=o?x+$:0,T=n?n.width:Vt(r.width)-S-C,k=n?n.height:Vt(r.height)-O-g,L=T+y+C+b,B=k+x+g+$,N=Yr({devicePixelContentBoxSize:In(Math.round(T*devicePixelRatio),Math.round(k*devicePixelRatio),i),borderBoxSize:In(L,B,i),contentBoxSize:In(T,k,i),contentRect:new Hx(d,l,T,k)});return Xi.set(e,N),N},Yx=function(e,t,r){var n=qx(e,r),o=n.borderBoxSize,i=n.contentBoxSize,a=n.devicePixelContentBoxSize;switch(t){case Xo.DEVICE_PIXEL_CONTENT_BOX:return a;case Xo.BORDER_BOX:return o;default:return i}},QM=function(){function e(t){var r=qx(t);this.target=t,this.contentRect=r.contentRect,this.borderBoxSize=Yr([r.borderBoxSize]),this.contentBoxSize=Yr([r.contentBoxSize]),this.devicePixelContentBoxSize=Yr([r.devicePixelContentBoxSize])}return e}(),Xx=function(e){if(Gx(e))return 1/0;for(var t=0,r=e.parentNode;r;)t+=1,r=r.parentNode;return t},ej=function(){var e=1/0,t=[];qr.forEach(function(a){if(a.activeTargets.length!==0){var s=[];a.activeTargets.forEach(function(c){var u=new QM(c.target),d=Xx(c.target);s.push(u),c.lastReportedSize=Yx(c.target,c.observedBox),d<e&&(e=d)}),t.push(function(){a.callback.call(a.observer,s,a.observer)}),a.activeTargets.splice(0,a.activeTargets.length)}});for(var r=0,n=t;r<n.length;r++){var o=n[r];o()}return e},eg=function(e){qr.forEach(function(r){r.activeTargets.splice(0,r.activeTargets.length),r.skippedTargets.splice(0,r.skippedTargets.length),r.observationTargets.forEach(function(o){o.isActive()&&(Xx(o.target)>e?r.activeTargets.push(o):r.skippedTargets.push(o))})})},tj=function(){var e=0;for(eg(e);GM();)e=ej(),eg(e);return qM()&&YM(),e>0},pc,Kx=[],rj=function(){return Kx.splice(0).forEach(function(e){return e()})},nj=function(e){if(!pc){var t=0,r=document.createTextNode(""),n={characterData:!0};new MutationObserver(function(){return rj()}).observe(r,n),pc=function(){r.textContent="".concat(t?t--:t++)}}Kx.push(e),pc()},oj=function(e){nj(function(){requestAnimationFrame(e)})},Sa=0,ij=function(){return!!Sa},aj=250,sj={attributes:!0,characterData:!0,childList:!0,subtree:!0},tg=["resize","load","transitionend","animationend","animationstart","animationiteration","keyup","keydown","mouseup","mousedown","mouseover","mouseout","blur","focus"],rg=function(e){return e===void 0&&(e=0),Date.now()+e},hc=!1,lj=function(){function e(){var t=this;this.stopped=!0,this.listener=function(){return t.schedule()}}return e.prototype.run=function(t){var r=this;if(t===void 0&&(t=aj),!hc){hc=!0;var n=rg(t);oj(function(){var o=!1;try{o=tj()}finally{if(hc=!1,t=n-rg(),!ij())return;o?r.run(1e3):t>0?r.run(t):r.start()}})}},e.prototype.schedule=function(){this.stop(),this.run()},e.prototype.observe=function(){var t=this,r=function(){return t.observer&&t.observer.observe(document.body,sj)};document.body?r():Io.addEventListener("DOMContentLoaded",r)},e.prototype.start=function(){var t=this;this.stopped&&(this.stopped=!1,this.observer=new MutationObserver(this.listener),this.observe(),tg.forEach(function(r){return Io.addEventListener(r,t.listener,!0)}))},e.prototype.stop=function(){var t=this;this.stopped||(this.observer&&this.observer.disconnect(),tg.forEach(function(r){return Io.removeEventListener(r,t.listener,!0)}),this.stopped=!0)},e}(),Vu=new lj,ng=function(e){!Sa&&e>0&&Vu.start(),Sa+=e,!Sa&&Vu.stop()},cj=function(e){return!Bd(e)&&!KM(e)&&getComputedStyle(e).display==="inline"},uj=function(){function e(t,r){this.target=t,this.observedBox=r||Xo.CONTENT_BOX,this.lastReportedSize={inlineSize:0,blockSize:0}}return e.prototype.isActive=function(){var t=Yx(this.target,this.observedBox,!0);return cj(this.target)&&(this.lastReportedSize=t),this.lastReportedSize.inlineSize!==t.inlineSize||this.lastReportedSize.blockSize!==t.blockSize},e}(),fj=function(){function e(t,r){this.activeTargets=[],this.skippedTargets=[],this.observationTargets=[],this.observer=t,this.callback=r}return e}(),Ki=new WeakMap,og=function(e,t){for(var r=0;r<e.length;r+=1)if(e[r].target===t)return r;return-1},Zi=function(){function e(){}return e.connect=function(t,r){var n=new fj(t,r);Ki.set(t,n)},e.observe=function(t,r,n){var o=Ki.get(t),i=o.observationTargets.length===0;og(o.observationTargets,r)<0&&(i&&qr.push(o),o.observationTargets.push(new uj(r,n&&n.box)),ng(1),Vu.schedule())},e.unobserve=function(t,r){var n=Ki.get(t),o=og(n.observationTargets,r),i=n.observationTargets.length===1;o>=0&&(i&&qr.splice(qr.indexOf(n),1),n.observationTargets.splice(o,1),ng(-1))},e.disconnect=function(t){var r=this,n=Ki.get(t);n.observationTargets.slice().forEach(function(o){return r.unobserve(t,o.target)}),n.activeTargets.splice(0,n.activeTargets.length)},e}(),dj=function(){function e(t){if(arguments.length===0)throw new TypeError("Failed to construct 'ResizeObserver': 1 argument required, but only 0 present.");if(typeof t!="function")throw new TypeError("Failed to construct 'ResizeObserver': The callback provided as parameter 1 is not a function.");Zi.connect(this,t)}return e.prototype.observe=function(t,r){if(arguments.length===0)throw new TypeError("Failed to execute 'observe' on 'ResizeObserver': 1 argument required, but only 0 present.");if(!Zm(t))throw new TypeError("Failed to execute 'observe' on 'ResizeObserver': parameter 1 is not of type 'Element");Zi.observe(this,t,r)},e.prototype.unobserve=function(t){if(arguments.length===0)throw new TypeError("Failed to execute 'unobserve' on 'ResizeObserver': 1 argument required, but only 0 present.");if(!Zm(t))throw new TypeError("Failed to execute 'unobserve' on 'ResizeObserver': parameter 1 is not of type 'Element");Zi.unobserve(this,t)},e.prototype.disconnect=function(){Zi.disconnect(this)},e.toString=function(){return"function ResizeObserver () { [polyfill code] }"},e}(),pj=!!(typeof window<"u"&&window.document&&window.document.createElement),hj=pj;const Zx=Tr(hj);var vj=pi,mj=no,gj=Zs,yj=rl,ig=TypeError,ag="Reduce of empty array with no initial value",sg=function(e){return function(t,r,n,o){var i=mj(t),a=gj(i),s=yj(i);if(vj(r),s===0&&n<2)throw new ig(ag);var l=e?s-1:0,c=e?-1:1;if(n<2)for(;;){if(l in a){o=a[l],l+=c;break}if(l+=c,e?l<0:s<=l)throw new ig(ag)}for(;e?l>=0:s>l;l+=c)l in a&&(o=r(o,a[l],l,i));return o}},bj={left:sg(!1),right:sg(!0)},xj=Le,wj=function(e,t){var r=[][e];return!!r&&xj(function(){r.call(null,t||function(){return 1},1)})},mo=Ue,$j=C1,Ej=Pr,Ji=function(e){return $j.slice(0,e.length)===e},Sj=function(){return Ji("Bun/")?"BUN":Ji("Cloudflare-Workers")?"CLOUDFLARE":Ji("Deno/")?"DENO":Ji("Node.js/")?"NODE":mo.Bun&&typeof Bun.version=="string"?"BUN":mo.Deno&&typeof Deno.version=="object"?"DENO":Ej(mo.process)==="process"?"NODE":mo.window&&mo.document?"BROWSER":"REST"}(),Cj=Sj,Oj=Cj==="NODE",Tj=zr,kj=bj.left,Aj=wj,lg=md,Pj=Oj,zj=!Pj&&lg>79&&lg<83,_j=zj||!Aj("reduce");Tj({target:"Array",proto:!0,forced:_j},{reduce:function(t){var r=arguments.length;return kj(this,t,r,r>1?arguments[1]:void 0)}});var Ij=Tt,Rj=function(){var e=Ij(this),t="";return e.hasIndices&&(t+="d"),e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.dotAll&&(t+="s"),e.unicode&&(t+="u"),e.unicodeSets&&(t+="v"),e.sticky&&(t+="y"),t},Vd=Le,Lj=Ue,Wd=Lj.RegExp,Ud=Vd(function(){var e=Wd("a","y");return e.lastIndex=2,e.exec("abcd")!==null}),Fj=Ud||Vd(function(){return!Wd("a","y").sticky}),Dj=Ud||Vd(function(){var e=Wd("^r","gy");return e.lastIndex=2,e.exec("str")!==null}),Mj={BROKEN_CARET:Dj,MISSED_STICKY:Fj,UNSUPPORTED_Y:Ud},jj=Le,Nj=Ue,Bj=Nj.RegExp,Vj=jj(function(){var e=Bj(".","s");return!(e.dotAll&&e.test(` -`)&&e.flags==="s")}),Wj=Le,Uj=Ue,Hj=Uj.RegExp,Gj=Wj(function(){var e=Hj("(?<a>b)","g");return e.exec("b").groups.a!=="b"||"b".replace(e,"$<a>c")!=="bc"}),An=gt,sl=Pe,qj=ln,Yj=Rj,Xj=Mj,Kj=xd,Zj=_d,Jj=oo.get,Qj=Vj,eN=Gj,tN=Kj("native-string-replace",String.prototype.replace),as=RegExp.prototype.exec,Wu=as,rN=sl("".charAt),nN=sl("".indexOf),oN=sl("".replace),vc=sl("".slice),Uu=function(){var e=/a/,t=/b*/g;return An(as,e,"a"),An(as,t,"a"),e.lastIndex!==0||t.lastIndex!==0}(),Jx=Xj.BROKEN_CARET,Hu=/()??/.exec("")[1]!==void 0,iN=Uu||Hu||Jx||Qj||eN;iN&&(Wu=function(t){var r=this,n=Jj(r),o=qj(t),i=n.raw,a,s,l,c,u,d,p;if(i)return i.lastIndex=r.lastIndex,a=An(Wu,i,o),r.lastIndex=i.lastIndex,a;var v=n.groups,h=Jx&&r.sticky,m=An(Yj,r),y=r.source,x=0,b=o;if(h&&(m=oN(m,"y",""),nN(m,"g")===-1&&(m+="g"),b=vc(o,r.lastIndex),r.lastIndex>0&&(!r.multiline||r.multiline&&rN(o,r.lastIndex-1)!==` -`)&&(y="(?: "+y+")",b=" "+b,x++),s=new RegExp("^(?:"+y+")",m)),Hu&&(s=new RegExp("^"+y+"$(?!\\s)",m)),Uu&&(l=r.lastIndex),c=An(as,h?s:r,b),h?c?(c.input=vc(c.input,x),c[0]=vc(c[0],x),c.index=r.lastIndex,r.lastIndex+=c[0].length):r.lastIndex=0:Uu&&c&&(r.lastIndex=r.global?c.index+c[0].length:l),Hu&&c&&c.length>1&&An(tN,c[0],s,function(){for(u=1;u<arguments.length-2;u++)arguments[u]===void 0&&(c[u]=void 0)}),c&&v)for(c.groups=d=Zj(null),u=0;u<v.length;u++)p=v[u],d[p[0]]=c[p[1]];return c});var Hd=Wu,aN=zr,cg=Hd;aN({target:"RegExp",proto:!0,forced:/./.exec!==cg},{exec:cg});var ug=gt,fg=sn,sN=Hd,dg=Le,Qx=ut,lN=vi,cN=Qx("species"),mc=RegExp.prototype,ew=function(e,t,r,n){var o=Qx(e),i=!dg(function(){var c={};return c[o]=function(){return 7},""[e](c)!==7}),a=i&&!dg(function(){var c=!1,u=/a/;return e==="split"&&(u={},u.constructor={},u.constructor[cN]=function(){return u},u.flags="",u[o]=/./[o]),u.exec=function(){return c=!0,null},u[o](""),!c});if(!i||!a||r){var s=/./[o],l=t(o,""[e],function(c,u,d,p,v){var h=u.exec;return h===sN||h===mc.exec?i&&!v?{done:!0,value:ug(s,u,d,p)}:{done:!0,value:ug(c,d,u,p)}:{done:!1}});fg(String.prototype,e,l[0]),fg(mc,o,l[1])}n&&lN(mc[o],"sham",!0)},uN=px.charAt,tw=function(e,t,r){return t+(r?uN(e,t).length:1)},pg=gt,fN=Tt,dN=He,pN=Pr,hN=Hd,vN=TypeError,rw=function(e,t){var r=e.exec;if(dN(r)){var n=pg(r,e,t);return n!==null&&fN(n),n}if(pN(e)==="RegExp")return pg(hN,e,t);throw new vN("RegExp#exec called on incompatible receiver")},mN=gt,gN=ew,yN=Tt,bN=on,xN=Td,gc=ln,wN=an,$N=hi,EN=tw,hg=rw;gN("match",function(e,t,r){return[function(o){var i=wN(this),a=bN(o)?void 0:$N(o,e);return a?mN(a,o,i):new RegExp(o)[e](gc(i))},function(n){var o=yN(this),i=gc(n),a=r(t,o,i);if(a.done)return a.value;if(!o.global)return hg(o,i);var s=o.unicode;o.lastIndex=0;for(var l=[],c=0,u;(u=hg(o,i))!==null;){var d=gc(u[0]);l[c]=d,d===""&&(o.lastIndex=EN(i,xN(o.lastIndex),s)),c++}return c===0?null:l}]});var vg=N1,SN=Qt,CN=function(e,t,r){return r.get&&vg(r.get,t,{getter:!0}),r.set&&vg(r.set,t,{setter:!0}),SN.f(e,t,r)},ON=Dt,TN=Sd.EXISTS,nw=Pe,kN=CN,ow=Function.prototype,AN=nw(ow.toString),iw=/function\b(?:\s|\/\*[\S\s]*?\*\/|\/\/[^\n\r]*[\n\r]+)*([^\s(/]*)/,PN=nw(iw.exec),zN="name";ON&&!TN&&kN(ow,zN,{configurable:!0,get:function(){try{return PN(iw,AN(this))[1]}catch{return""}}});var _N=Ks,aw=Function.prototype,mg=aw.apply,gg=aw.call,IN=typeof Reflect=="object"&&Reflect.apply||(_N?gg.bind(mg):function(){return gg.apply(mg,arguments)}),Gd=Pe,RN=no,LN=Math.floor,yc=Gd("".charAt),FN=Gd("".replace),bc=Gd("".slice),DN=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,MN=/\$([$&'`]|\d{1,2})/g,jN=function(e,t,r,n,o,i){var a=r+e.length,s=n.length,l=MN;return o!==void 0&&(o=RN(o),l=DN),FN(i,l,function(c,u){var d;switch(yc(u,0)){case"$":return"$";case"&":return e;case"`":return bc(t,0,r);case"'":return bc(t,a);case"<":d=o[bc(u,1,-1)];break;default:var p=+u;if(p===0)return c;if(p>s){var v=LN(p/10);return v===0?c:v<=s?n[v-1]===void 0?yc(u,1):n[v-1]+yc(u,1):c}d=n[p-1]}return d===void 0?"":d})},NN=IN,yg=gt,ll=Pe,BN=ew,VN=Le,WN=Tt,UN=He,HN=on,GN=tl,qN=Td,mn=ln,YN=an,XN=tw,KN=hi,ZN=jN,JN=rw,QN=ut,Gu=QN("replace"),eB=Math.max,tB=Math.min,rB=ll([].concat),xc=ll([].push),bg=ll("".indexOf),xg=ll("".slice),nB=function(e){return e===void 0?e:String(e)},oB=function(){return"a".replace(/./,"$0")==="$0"}(),wg=function(){return/./[Gu]?/./[Gu]("a","$0")==="":!1}(),iB=!VN(function(){var e=/./;return e.exec=function(){var t=[];return t.groups={a:"7"},t},"".replace(e,"$<a>")!=="7"});BN("replace",function(e,t,r){var n=wg?"$":"$0";return[function(i,a){var s=YN(this),l=HN(i)?void 0:KN(i,Gu);return l?yg(l,i,s,a):yg(t,mn(s),i,a)},function(o,i){var a=WN(this),s=mn(o);if(typeof i=="string"&&bg(i,n)===-1&&bg(i,"$<")===-1){var l=r(t,a,s,i);if(l.done)return l.value}var c=UN(i);c||(i=mn(i));var u=a.global,d;u&&(d=a.unicode,a.lastIndex=0);for(var p=[],v;v=JN(a,s),!(v===null||(xc(p,v),!u));){var h=mn(v[0]);h===""&&(a.lastIndex=XN(s,qN(a.lastIndex),d))}for(var m="",y=0,x=0;x<p.length;x++){v=p[x];for(var b=mn(v[0]),$=eB(tB(GN(v.index),s.length),0),g=[],C,S=1;S<v.length;S++)xc(g,nB(v[S]));var O=v.groups;if(c){var T=rB([b],g,$,s);O!==void 0&&xc(T,O),C=mn(NN(i,void 0,T))}else C=ZN(b,s,$,g,O,i);$>=y&&(m+=xg(s,y,$)+C,y=$+b.length)}return m+xg(s,y)}]},!iB||!oB||wg);function hr(e){return!e||!e.ownerDocument||!e.ownerDocument.defaultView?window:e.ownerDocument.defaultView}function Ca(e){return!e||!e.ownerDocument?document:e.ownerDocument}var bn=null,$g=null;Zx&&window.addEventListener("resize",function(){$g!==window.devicePixelRatio&&($g=window.devicePixelRatio,bn=null)});function Eg(e){if(bn===null){var t=Ca(e);if(typeof t>"u")return bn=0,bn;var r=t.body,n=t.createElement("div");n.classList.add("simplebar-hide-scrollbar"),r.appendChild(n);var o=n.getBoundingClientRect().right;r.removeChild(n),bn=o}return bn}var ss=function(){function e(r,n){var o=this;this.onScroll=function(){var i=hr(o.el);o.scrollXTicking||(i.requestAnimationFrame(o.scrollX),o.scrollXTicking=!0),o.scrollYTicking||(i.requestAnimationFrame(o.scrollY),o.scrollYTicking=!0)},this.scrollX=function(){o.axis.x.isOverflowing&&(o.showScrollbar("x"),o.positionScrollbar("x")),o.scrollXTicking=!1},this.scrollY=function(){o.axis.y.isOverflowing&&(o.showScrollbar("y"),o.positionScrollbar("y")),o.scrollYTicking=!1},this.onMouseEnter=function(){o.showScrollbar("x"),o.showScrollbar("y")},this.onMouseMove=function(i){o.mouseX=i.clientX,o.mouseY=i.clientY,(o.axis.x.isOverflowing||o.axis.x.forceVisible)&&o.onMouseMoveForAxis("x"),(o.axis.y.isOverflowing||o.axis.y.forceVisible)&&o.onMouseMoveForAxis("y")},this.onMouseLeave=function(){o.onMouseMove.cancel(),(o.axis.x.isOverflowing||o.axis.x.forceVisible)&&o.onMouseLeaveForAxis("x"),(o.axis.y.isOverflowing||o.axis.y.forceVisible)&&o.onMouseLeaveForAxis("y"),o.mouseX=-1,o.mouseY=-1},this.onWindowResize=function(){o.scrollbarWidth=o.getScrollbarWidth(),o.hideNativeScrollbar()},this.hideScrollbars=function(){o.axis.x.track.rect=o.axis.x.track.el.getBoundingClientRect(),o.axis.y.track.rect=o.axis.y.track.el.getBoundingClientRect(),o.isWithinBounds(o.axis.y.track.rect)||(o.axis.y.scrollbar.el.classList.remove(o.classNames.visible),o.axis.y.isVisible=!1),o.isWithinBounds(o.axis.x.track.rect)||(o.axis.x.scrollbar.el.classList.remove(o.classNames.visible),o.axis.x.isVisible=!1)},this.onPointerEvent=function(i){var a,s;o.axis.x.track.rect=o.axis.x.track.el.getBoundingClientRect(),o.axis.y.track.rect=o.axis.y.track.el.getBoundingClientRect(),(o.axis.x.isOverflowing||o.axis.x.forceVisible)&&(a=o.isWithinBounds(o.axis.x.track.rect)),(o.axis.y.isOverflowing||o.axis.y.forceVisible)&&(s=o.isWithinBounds(o.axis.y.track.rect)),(a||s)&&(i.preventDefault(),i.stopPropagation(),i.type==="mousedown"&&(a&&(o.axis.x.scrollbar.rect=o.axis.x.scrollbar.el.getBoundingClientRect(),o.isWithinBounds(o.axis.x.scrollbar.rect)?o.onDragStart(i,"x"):o.onTrackClick(i,"x")),s&&(o.axis.y.scrollbar.rect=o.axis.y.scrollbar.el.getBoundingClientRect(),o.isWithinBounds(o.axis.y.scrollbar.rect)?o.onDragStart(i,"y"):o.onTrackClick(i,"y"))))},this.drag=function(i){var a,s=o.axis[o.draggedAxis].track,l=s.rect[o.axis[o.draggedAxis].sizeAttr],c=o.axis[o.draggedAxis].scrollbar,u=o.contentWrapperEl[o.axis[o.draggedAxis].scrollSizeAttr],d=parseInt(o.elStyles[o.axis[o.draggedAxis].sizeAttr],10);i.preventDefault(),i.stopPropagation(),o.draggedAxis==="y"?a=i.pageY:a=i.pageX;var p=a-s.rect[o.axis[o.draggedAxis].offsetAttr]-o.axis[o.draggedAxis].dragOffset,v=p/(l-c.size),h=v*(u-d);o.draggedAxis==="x"&&(h=o.isRtl&&e.getRtlHelpers().isRtlScrollbarInverted?h-(l+c.size):h,h=o.isRtl&&e.getRtlHelpers().isRtlScrollingInverted?-h:h),o.contentWrapperEl[o.axis[o.draggedAxis].scrollOffsetAttr]=h},this.onEndDrag=function(i){var a=Ca(o.el),s=hr(o.el);i.preventDefault(),i.stopPropagation(),o.el.classList.remove(o.classNames.dragging),a.removeEventListener("mousemove",o.drag,!0),a.removeEventListener("mouseup",o.onEndDrag,!0),o.removePreventClickId=s.setTimeout(function(){a.removeEventListener("click",o.preventClick,!0),a.removeEventListener("dblclick",o.preventClick,!0),o.removePreventClickId=null})},this.preventClick=function(i){i.preventDefault(),i.stopPropagation()},this.el=r,this.minScrollbarWidth=20,this.options=Object.assign({},e.defaultOptions,n),this.classNames=Object.assign({},e.defaultOptions.classNames,this.options.classNames),this.axis={x:{scrollOffsetAttr:"scrollLeft",sizeAttr:"width",scrollSizeAttr:"scrollWidth",offsetSizeAttr:"offsetWidth",offsetAttr:"left",overflowAttr:"overflowX",dragOffset:0,isOverflowing:!0,isVisible:!1,forceVisible:!1,track:{},scrollbar:{}},y:{scrollOffsetAttr:"scrollTop",sizeAttr:"height",scrollSizeAttr:"scrollHeight",offsetSizeAttr:"offsetHeight",offsetAttr:"top",overflowAttr:"overflowY",dragOffset:0,isOverflowing:!0,isVisible:!1,forceVisible:!1,track:{},scrollbar:{}}},this.removePreventClickId=null,!e.instances.has(this.el)&&(this.recalculate=Hm(this.recalculate.bind(this),64),this.onMouseMove=Hm(this.onMouseMove.bind(this),64),this.hideScrollbars=Ym(this.hideScrollbars.bind(this),this.options.timeout),this.onWindowResize=Ym(this.onWindowResize.bind(this),64,{leading:!0}),e.getRtlHelpers=HM(e.getRtlHelpers),this.init())}e.getRtlHelpers=function(){var n=document.createElement("div");n.innerHTML='<div class="hs-dummy-scrollbar-size"><div style="height: 200%; width: 200%; margin: 10px 0;"></div></div>';var o=n.firstElementChild;document.body.appendChild(o);var i=o.firstElementChild;o.scrollLeft=0;var a=e.getOffset(o),s=e.getOffset(i);o.scrollLeft=999;var l=e.getOffset(i);return{isRtlScrollingInverted:a.left!==s.left&&s.left-l.left!==0,isRtlScrollbarInverted:a.left!==s.left}},e.getOffset=function(n){var o=n.getBoundingClientRect(),i=Ca(n),a=hr(n);return{top:o.top+(a.pageYOffset||i.documentElement.scrollTop),left:o.left+(a.pageXOffset||i.documentElement.scrollLeft)}};var t=e.prototype;return t.init=function(){e.instances.set(this.el,this),Zx&&(this.initDOM(),this.setAccessibilityAttributes(),this.scrollbarWidth=this.getScrollbarWidth(),this.recalculate(),this.initListeners())},t.initDOM=function(){var n=this;if(Array.prototype.filter.call(this.el.children,function(a){return a.classList.contains(n.classNames.wrapper)}).length)this.wrapperEl=this.el.querySelector("."+this.classNames.wrapper),this.contentWrapperEl=this.options.scrollableNode||this.el.querySelector("."+this.classNames.contentWrapper),this.contentEl=this.options.contentNode||this.el.querySelector("."+this.classNames.contentEl),this.offsetEl=this.el.querySelector("."+this.classNames.offset),this.maskEl=this.el.querySelector("."+this.classNames.mask),this.placeholderEl=this.findChild(this.wrapperEl,"."+this.classNames.placeholder),this.heightAutoObserverWrapperEl=this.el.querySelector("."+this.classNames.heightAutoObserverWrapperEl),this.heightAutoObserverEl=this.el.querySelector("."+this.classNames.heightAutoObserverEl),this.axis.x.track.el=this.findChild(this.el,"."+this.classNames.track+"."+this.classNames.horizontal),this.axis.y.track.el=this.findChild(this.el,"."+this.classNames.track+"."+this.classNames.vertical);else{for(this.wrapperEl=document.createElement("div"),this.contentWrapperEl=document.createElement("div"),this.offsetEl=document.createElement("div"),this.maskEl=document.createElement("div"),this.contentEl=document.createElement("div"),this.placeholderEl=document.createElement("div"),this.heightAutoObserverWrapperEl=document.createElement("div"),this.heightAutoObserverEl=document.createElement("div"),this.wrapperEl.classList.add(this.classNames.wrapper),this.contentWrapperEl.classList.add(this.classNames.contentWrapper),this.offsetEl.classList.add(this.classNames.offset),this.maskEl.classList.add(this.classNames.mask),this.contentEl.classList.add(this.classNames.contentEl),this.placeholderEl.classList.add(this.classNames.placeholder),this.heightAutoObserverWrapperEl.classList.add(this.classNames.heightAutoObserverWrapperEl),this.heightAutoObserverEl.classList.add(this.classNames.heightAutoObserverEl);this.el.firstChild;)this.contentEl.appendChild(this.el.firstChild);this.contentWrapperEl.appendChild(this.contentEl),this.offsetEl.appendChild(this.contentWrapperEl),this.maskEl.appendChild(this.offsetEl),this.heightAutoObserverWrapperEl.appendChild(this.heightAutoObserverEl),this.wrapperEl.appendChild(this.heightAutoObserverWrapperEl),this.wrapperEl.appendChild(this.maskEl),this.wrapperEl.appendChild(this.placeholderEl),this.el.appendChild(this.wrapperEl)}if(!this.axis.x.track.el||!this.axis.y.track.el){var o=document.createElement("div"),i=document.createElement("div");o.classList.add(this.classNames.track),i.classList.add(this.classNames.scrollbar),o.appendChild(i),this.axis.x.track.el=o.cloneNode(!0),this.axis.x.track.el.classList.add(this.classNames.horizontal),this.axis.y.track.el=o.cloneNode(!0),this.axis.y.track.el.classList.add(this.classNames.vertical),this.el.appendChild(this.axis.x.track.el),this.el.appendChild(this.axis.y.track.el)}this.axis.x.scrollbar.el=this.axis.x.track.el.querySelector("."+this.classNames.scrollbar),this.axis.y.scrollbar.el=this.axis.y.track.el.querySelector("."+this.classNames.scrollbar),this.options.autoHide||(this.axis.x.scrollbar.el.classList.add(this.classNames.visible),this.axis.y.scrollbar.el.classList.add(this.classNames.visible)),this.el.setAttribute("data-simplebar","init")},t.setAccessibilityAttributes=function(){var n=this.options.ariaLabel||"scrollable content";this.contentWrapperEl.setAttribute("tabindex","0"),this.contentWrapperEl.setAttribute("role","region"),this.contentWrapperEl.setAttribute("aria-label",n)},t.initListeners=function(){var n=this,o=hr(this.el);this.options.autoHide&&this.el.addEventListener("mouseenter",this.onMouseEnter),["mousedown","click","dblclick"].forEach(function(l){n.el.addEventListener(l,n.onPointerEvent,!0)}),["touchstart","touchend","touchmove"].forEach(function(l){n.el.addEventListener(l,n.onPointerEvent,{capture:!0,passive:!0})}),this.el.addEventListener("mousemove",this.onMouseMove),this.el.addEventListener("mouseleave",this.onMouseLeave),this.contentWrapperEl.addEventListener("scroll",this.onScroll),o.addEventListener("resize",this.onWindowResize);var i=!1,a=null,s=o.ResizeObserver||dj;this.resizeObserver=new s(function(){!i||a!==null||(a=o.requestAnimationFrame(function(){n.recalculate(),a=null}))}),this.resizeObserver.observe(this.el),this.resizeObserver.observe(this.contentEl),o.requestAnimationFrame(function(){i=!0}),this.mutationObserver=new o.MutationObserver(this.recalculate),this.mutationObserver.observe(this.contentEl,{childList:!0,subtree:!0,characterData:!0})},t.recalculate=function(){var n=hr(this.el);this.elStyles=n.getComputedStyle(this.el),this.isRtl=this.elStyles.direction==="rtl";var o=this.heightAutoObserverEl.offsetHeight<=1,i=this.heightAutoObserverEl.offsetWidth<=1,a=this.contentEl.offsetWidth,s=this.contentWrapperEl.offsetWidth,l=this.elStyles.overflowX,c=this.elStyles.overflowY;this.contentEl.style.padding=this.elStyles.paddingTop+" "+this.elStyles.paddingRight+" "+this.elStyles.paddingBottom+" "+this.elStyles.paddingLeft,this.wrapperEl.style.margin="-"+this.elStyles.paddingTop+" -"+this.elStyles.paddingRight+" -"+this.elStyles.paddingBottom+" -"+this.elStyles.paddingLeft;var u=this.contentEl.scrollHeight,d=this.contentEl.scrollWidth;this.contentWrapperEl.style.height=o?"auto":"100%",this.placeholderEl.style.width=i?a+"px":"auto",this.placeholderEl.style.height=u+"px";var p=this.contentWrapperEl.offsetHeight;this.axis.x.isOverflowing=d>a,this.axis.y.isOverflowing=u>p,this.axis.x.isOverflowing=l==="hidden"?!1:this.axis.x.isOverflowing,this.axis.y.isOverflowing=c==="hidden"?!1:this.axis.y.isOverflowing,this.axis.x.forceVisible=this.options.forceVisible==="x"||this.options.forceVisible===!0,this.axis.y.forceVisible=this.options.forceVisible==="y"||this.options.forceVisible===!0,this.hideNativeScrollbar();var v=this.axis.x.isOverflowing?this.scrollbarWidth:0,h=this.axis.y.isOverflowing?this.scrollbarWidth:0;this.axis.x.isOverflowing=this.axis.x.isOverflowing&&d>s-h,this.axis.y.isOverflowing=this.axis.y.isOverflowing&&u>p-v,this.axis.x.scrollbar.size=this.getScrollbarSize("x"),this.axis.y.scrollbar.size=this.getScrollbarSize("y"),this.axis.x.scrollbar.el.style.width=this.axis.x.scrollbar.size+"px",this.axis.y.scrollbar.el.style.height=this.axis.y.scrollbar.size+"px",this.positionScrollbar("x"),this.positionScrollbar("y"),this.toggleTrackVisibility("x"),this.toggleTrackVisibility("y")},t.getScrollbarSize=function(n){if(n===void 0&&(n="y"),!this.axis[n].isOverflowing)return 0;var o=this.contentEl[this.axis[n].scrollSizeAttr],i=this.axis[n].track.el[this.axis[n].offsetSizeAttr],a,s=i/o;return a=Math.max(~~(s*i),this.options.scrollbarMinSize),this.options.scrollbarMaxSize&&(a=Math.min(a,this.options.scrollbarMaxSize)),a},t.positionScrollbar=function(n){if(n===void 0&&(n="y"),!!this.axis[n].isOverflowing){var o=this.contentWrapperEl[this.axis[n].scrollSizeAttr],i=this.axis[n].track.el[this.axis[n].offsetSizeAttr],a=parseInt(this.elStyles[this.axis[n].sizeAttr],10),s=this.axis[n].scrollbar,l=this.contentWrapperEl[this.axis[n].scrollOffsetAttr];l=n==="x"&&this.isRtl&&e.getRtlHelpers().isRtlScrollingInverted?-l:l;var c=l/(o-a),u=~~((i-s.size)*c);u=n==="x"&&this.isRtl&&e.getRtlHelpers().isRtlScrollbarInverted?u+(i-s.size):u,s.el.style.transform=n==="x"?"translate3d("+u+"px, 0, 0)":"translate3d(0, "+u+"px, 0)"}},t.toggleTrackVisibility=function(n){n===void 0&&(n="y");var o=this.axis[n].track.el,i=this.axis[n].scrollbar.el;this.axis[n].isOverflowing||this.axis[n].forceVisible?(o.style.visibility="visible",this.contentWrapperEl.style[this.axis[n].overflowAttr]="scroll"):(o.style.visibility="hidden",this.contentWrapperEl.style[this.axis[n].overflowAttr]="hidden"),this.axis[n].isOverflowing?i.style.display="block":i.style.display="none"},t.hideNativeScrollbar=function(){this.offsetEl.style[this.isRtl?"left":"right"]=this.axis.y.isOverflowing||this.axis.y.forceVisible?"-"+this.scrollbarWidth+"px":0,this.offsetEl.style.bottom=this.axis.x.isOverflowing||this.axis.x.forceVisible?"-"+this.scrollbarWidth+"px":0},t.onMouseMoveForAxis=function(n){n===void 0&&(n="y"),this.axis[n].track.rect=this.axis[n].track.el.getBoundingClientRect(),this.axis[n].scrollbar.rect=this.axis[n].scrollbar.el.getBoundingClientRect();var o=this.isWithinBounds(this.axis[n].scrollbar.rect);o?this.axis[n].scrollbar.el.classList.add(this.classNames.hover):this.axis[n].scrollbar.el.classList.remove(this.classNames.hover),this.isWithinBounds(this.axis[n].track.rect)?(this.showScrollbar(n),this.axis[n].track.el.classList.add(this.classNames.hover)):this.axis[n].track.el.classList.remove(this.classNames.hover)},t.onMouseLeaveForAxis=function(n){n===void 0&&(n="y"),this.axis[n].track.el.classList.remove(this.classNames.hover),this.axis[n].scrollbar.el.classList.remove(this.classNames.hover)},t.showScrollbar=function(n){n===void 0&&(n="y");var o=this.axis[n].scrollbar.el;this.axis[n].isVisible||(o.classList.add(this.classNames.visible),this.axis[n].isVisible=!0),this.options.autoHide&&this.hideScrollbars()},t.onDragStart=function(n,o){o===void 0&&(o="y");var i=Ca(this.el),a=hr(this.el),s=this.axis[o].scrollbar,l=o==="y"?n.pageY:n.pageX;this.axis[o].dragOffset=l-s.rect[this.axis[o].offsetAttr],this.draggedAxis=o,this.el.classList.add(this.classNames.dragging),i.addEventListener("mousemove",this.drag,!0),i.addEventListener("mouseup",this.onEndDrag,!0),this.removePreventClickId===null?(i.addEventListener("click",this.preventClick,!0),i.addEventListener("dblclick",this.preventClick,!0)):(a.clearTimeout(this.removePreventClickId),this.removePreventClickId=null)},t.onTrackClick=function(n,o){var i=this;if(o===void 0&&(o="y"),!!this.options.clickOnTrack){var a=hr(this.el);this.axis[o].scrollbar.rect=this.axis[o].scrollbar.el.getBoundingClientRect();var s=this.axis[o].scrollbar,l=s.rect[this.axis[o].offsetAttr],c=parseInt(this.elStyles[this.axis[o].sizeAttr],10),u=this.contentWrapperEl[this.axis[o].scrollOffsetAttr],d=o==="y"?this.mouseY-l:this.mouseX-l,p=d<0?-1:1,v=p===-1?u-c:u+c,h=function m(){if(p===-1){if(u>v){var y;u-=i.options.clickOnTrackSpeed,i.contentWrapperEl.scrollTo((y={},y[i.axis[o].offsetAttr]=u,y)),a.requestAnimationFrame(m)}}else if(u<v){var x;u+=i.options.clickOnTrackSpeed,i.contentWrapperEl.scrollTo((x={},x[i.axis[o].offsetAttr]=u,x)),a.requestAnimationFrame(m)}};h()}},t.getContentElement=function(){return this.contentEl},t.getScrollElement=function(){return this.contentWrapperEl},t.getScrollbarWidth=function(){try{return getComputedStyle(this.contentWrapperEl,"::-webkit-scrollbar").display==="none"||"scrollbarWidth"in document.documentElement.style||"-ms-overflow-style"in document.documentElement.style?0:Eg(this.el)}catch{return Eg(this.el)}},t.removeListeners=function(){var n=this,o=hr(this.el);this.options.autoHide&&this.el.removeEventListener("mouseenter",this.onMouseEnter),["mousedown","click","dblclick"].forEach(function(i){n.el.removeEventListener(i,n.onPointerEvent,!0)}),["touchstart","touchend","touchmove"].forEach(function(i){n.el.removeEventListener(i,n.onPointerEvent,{capture:!0,passive:!0})}),this.el.removeEventListener("mousemove",this.onMouseMove),this.el.removeEventListener("mouseleave",this.onMouseLeave),this.contentWrapperEl&&this.contentWrapperEl.removeEventListener("scroll",this.onScroll),o.removeEventListener("resize",this.onWindowResize),this.mutationObserver&&this.mutationObserver.disconnect(),this.resizeObserver&&this.resizeObserver.disconnect(),this.recalculate.cancel(),this.onMouseMove.cancel(),this.hideScrollbars.cancel(),this.onWindowResize.cancel()},t.unMount=function(){this.removeListeners(),e.instances.delete(this.el)},t.isWithinBounds=function(n){return this.mouseX>=n.left&&this.mouseX<=n.left+n.width&&this.mouseY>=n.top&&this.mouseY<=n.top+n.height},t.findChild=function(n,o){var i=n.matches||n.webkitMatchesSelector||n.mozMatchesSelector||n.msMatchesSelector;return Array.prototype.filter.call(n.children,function(a){return i.call(a,o)})[0]},e}();ss.defaultOptions={autoHide:!0,forceVisible:!1,clickOnTrack:!0,clickOnTrackSpeed:40,classNames:{contentEl:"simplebar-content",contentWrapper:"simplebar-content-wrapper",offset:"simplebar-offset",mask:"simplebar-mask",wrapper:"simplebar-wrapper",placeholder:"simplebar-placeholder",scrollbar:"simplebar-scrollbar",track:"simplebar-track",heightAutoObserverWrapperEl:"simplebar-height-auto-observer-wrapper",heightAutoObserverEl:"simplebar-height-auto-observer",visible:"simplebar-visible",horizontal:"simplebar-horizontal",vertical:"simplebar-vertical",hover:"simplebar-hover",dragging:"simplebar-dragging"},scrollbarMinSize:25,scrollbarMaxSize:0,timeout:1e3};ss.instances=new WeakMap;function Sg(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function Qi(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?Sg(Object(r),!0).forEach(function(n){aB(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Sg(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function aB(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ls(){return ls=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},ls.apply(this,arguments)}function sB(e,t){if(e==null)return{};var r={},n=Object.keys(e),o,i;for(i=0;i<n.length;i++)o=n[i],!(t.indexOf(o)>=0)&&(r[o]=e[o]);return r}function lB(e,t){if(e==null)return{};var r=sB(e,t),n,o;if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(o=0;o<i.length;o++)n=i[o],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}var cB=["children","scrollableNodeProps","tag"],uB=function(t){var r=Array.prototype.reduce.call(t,function(n,o){var i=o.name.match(/data-simplebar-(.+)/);if(i){var a=i[1].replace(/\W+(.)/g,function(s,l){return l.toUpperCase()});switch(o.value){case"true":n[a]=!0;break;case"false":n[a]=!1;break;case void 0:n[a]=!0;break;default:n[a]=o.value}}return n},{});return r},qd=ye.forwardRef(function(e,t){var r=e.children,n=e.scrollableNodeProps,o=n===void 0?{}:n,i=e.tag,a=i===void 0?"div":i,s=lB(e,cB),l=a,c,u=f.useRef(),d=f.useRef(),p=f.useRef(),v={},h={},m=[];return Object.keys(s).forEach(function(y){Object.prototype.hasOwnProperty.call(ss.defaultOptions,y)?v[y]=s[y]:y.match(/data-simplebar-(.+)/)&&y!=="data-simplebar-direction"?m.push({name:y,value:s[y]}):h[y]=s[y]}),m.length&&console.warn(`simplebar-react: this way of passing options is deprecated. Pass it like normal props instead: - 'data-simplebar-auto-hide="false"' —> 'autoHide="false"' - `),f.useEffect(function(){return u=o.ref||u,d.current&&(c=new ss(d.current,Qi(Qi(Qi(Qi({},uB(m)),v),u&&{scrollableNode:u.current}),p.current&&{contentNode:p.current})),typeof t=="function"?t(c):t&&(t.current=c)),function(){c.unMount(),c=null,typeof t=="function"&&t(null)}},[]),ye.createElement(l,ls({ref:d,"data-simplebar":!0},h),ye.createElement("div",{className:"simplebar-wrapper"},ye.createElement("div",{className:"simplebar-height-auto-observer-wrapper"},ye.createElement("div",{className:"simplebar-height-auto-observer"})),ye.createElement("div",{className:"simplebar-mask"},ye.createElement("div",{className:"simplebar-offset"},typeof r=="function"?r({scrollableNodeRef:u,contentNodeRef:p}):ye.createElement("div",ls({},o,{className:"simplebar-content-wrapper".concat(o.className?" ".concat(o.className):"")}),ye.createElement("div",{className:"simplebar-content"},r)))),ye.createElement("div",{className:"simplebar-placeholder"})),ye.createElement("div",{className:"simplebar-track simplebar-horizontal"},ye.createElement("div",{className:"simplebar-scrollbar"})),ye.createElement("div",{className:"simplebar-track simplebar-vertical"},ye.createElement("div",{className:"simplebar-scrollbar"})))});qd.displayName="SimpleBar";qd.propTypes={children:se.oneOfType([se.node,se.func]),scrollableNodeProps:se.object,tag:se.string};const sw=f.forwardRef(({children:e,height:t,width:r,style:n,...o},i)=>{const a=f.useMemo(()=>({minHeight:0,...n,...t?{height:t}:void 0,...r?{width:r}:void 0}),[n,t,r]);return f.createElement(fB,{ref:i,style:a,...o},e)}),fB=w(qd)` - // Prevent rendering double scrollbars on iOS - && ::-webkit-scrollbar { - display: none; - } -`,Cg=()=>{const[e,t]=f.useState(null),[r,n]=f.useState(!1),o=f.useMemo(()=>({root:null,threshold:[0,1]}),[]);return f.useEffect(()=>{if(!e)return;const i=new IntersectionObserver(a=>a.forEach(s=>{n(s.isIntersecting)}),o);return i.observe(e),()=>{n(!1),i.disconnect()}},[e,o]),f.useMemo(()=>({ref:t,inView:r}),[r])};function dB(e,t,r,n,o,i){const a=f.useRef(!0),s=f.useRef(!0),[l,c]=f.useState(!0),u=f.useRef();f.useEffect(()=>{t!=null&&t.current&&s.current&&(r?t.current.scrollTo({top:t.current.scrollHeight-t.current.clientHeight-4}):t==null||t.current.scrollTo({top:4}))},[r,t]);const d=f.useCallback(()=>{var m,y,x;!s.current&&typeof u.current=="number"&&e==="top"&&i!=="end"&&i!=="end-with-force"&&((m=t==null?void 0:t.current)===null||m===void 0||m.scrollTo({top:Math.abs(u.current-(((y=t==null?void 0:t.current)===null||y===void 0?void 0:y.scrollHeight)-((x=t==null?void 0:t.current)===null||x===void 0?void 0:x.clientHeight)))})),t!=null&&t.current&&(u.current=Math.abs((t==null?void 0:t.current.scrollTop)-((t==null?void 0:t.current.scrollHeight)-(t==null?void 0:t.current.clientHeight))))},[e,t,i]);f.useLayoutEffect(()=>{if(a.current||!n){a.current=!1;return}t!=null&&t.current&&d()});const p=h3(()=>{typeof u.current=="number"&&(t!=null&&t.current)&&(s.current!==l&&u.current>300||s.current!==l&&u.current<=10)&&c(s.current)},100,{trailing:!0,leading:!0}),v=f.useCallback(m=>{if(t!=null&&t.current&&!l&&t.current.scrollTop+t.current.offsetHeight>t.current.scrollHeight-2&&c(!0),!(t!=null&&t.current)){o==null||o(m);return}r?t.current.scrollTop<t.current.scrollHeight-t.current.clientHeight?s.current=!1:s.current=!0:t.current.scrollTop>0?s.current=!1:s.current=!0,d(),o==null||o(m),p()},[t,l,r,d,o,p]),h=f.useCallback(()=>{s.current=!0,c(!0),t!=null&&t.current&&(r?t.current.scrollTo({top:t.current.scrollHeight}):t.current.scrollTo(0,0))},[t,r]);return t!=null&&t.current&&t.current.scrollTop>t.current.scrollHeight-t.current.clientHeight?t.current.scrollTo({top:t.current.scrollHeight-t.current.clientHeight-4}):t!=null&&t.current&&t.current.scrollTop===0&&i==="hasNextPage"&&(t==null||t.current.scrollTo({top:4})),{ref:t,handleScroll:v,isAttached:l,reAttach:h}}const Og=({status:e,fetchMoreText:t,fetchMore:r,spinnerSize:n})=>pe({status:e,hasFetchMore:!!r}).with({hasFetchMore:!1},()=>null).with({status:"loading"},{status:"hasNextPage"},()=>f.createElement(he,{justify:"center",align:"center",padding:5,style:{minHeight:60,margin:"-1px 0"}},f.createElement(kr,{size:n}))).with({status:"end-with-force",hasFetchMore:!0},()=>f.createElement(he,{justify:"center",align:"center",padding:5},f.createElement(by,{intent:"tertiary",onClick:r,text:t}))).otherwise(()=>null);function pB({children:e,reverse:t=!1,anchor:r=!1,onFetchMore:n,onFetchMoreStart:o,status:i,startStatus:a,maxHeight:s="100%",scrollSideEffect:l,width:c,fetchMoreText:u,autoscrollText:d,scrollRef:p,justify:v,onResize:h,onJumpToStart:m,spinnerSize:y}){const x=!!o,[b,$]=f.useState(null),g=f.useMemo(()=>t?n:o,[n,o,t]),C=f.useMemo(()=>t?o:n,[n,o,t]),S=f.useMemo(()=>t?i:a,[t,a,i]),O=f.useMemo(()=>t?a:i,[t,a,i]),T=f.useRef(null),{ref:k,isAttached:L,handleScroll:B,reAttach:N}=dB(b,T,t,r,l,S),{inView:W,ref:X}=Cg(),{inView:V,ref:te}=Cg();f.useEffect(()=>{W&&$("top"),W&&S!=="loading"&&g&&(!S||S!=="end")&&g()},[n,o,t,a,i,g,W,S]),f.useEffect(()=>{$("bottom"),V&&O!=="loading"&&C&&(!O||O!=="end")&&C()},[C,V,O,n,o,t,S,i]);const{colors:Y}=Kn();return f.createElement(he,{...le("Infinite"),maxHeight:"100%",style:{position:"relative",overflow:"hidden",height:"100%",width:c},justify:v,align:"stretch",vertical:!0},f.createElement(sw,{autoHide:!0,style:{maxHeight:s},scrollableNodeProps:{ref:ti(k,p),onScroll:B}},f.createElement(Af,{onResize:h}),f.createElement(Sv,{ref:t||x?X:void 0}),f.createElement(Og,{status:t?i:a,fetchMoreText:u,fetchMore:t?n:o,spinnerSize:y}),e,f.createElement(Og,{status:t?a:i,fetchMoreText:u,fetchMore:t?o:n,spinnerSize:y}),f.createElement(Sv,{ref:!t||x?te:void 0})),r&&!L&&f.createElement(EO,{placement:t?"middle-bottom":"middle-top",text:d,onClick:()=>{N(),m==null||m()},icon:{icon:t?Kd:Zd,size:14},rightIcon:{icon:t?Kd:Zd,size:14},style:{color:Y.brandShade100}}))}var lw={exports:{}};(function(e){e.exports=function(t){var r={};function n(o){if(r[o])return r[o].exports;var i=r[o]={exports:{},id:o,loaded:!1};return t[o].call(i.exports,i,i.exports,n),i.loaded=!0,i.exports}return n.m=t,n.c=r,n.p="",n(0)}([function(t,r,n){t.exports=n(1)},function(t,r,n){Object.defineProperty(r,"__esModule",{value:!0});function o(s){return s&&s.__esModule?s:{default:s}}var i=n(2),a=o(i);r.default=a.default,t.exports=r.default},function(t,r,n){Object.defineProperty(r,"__esModule",{value:!0});var o=Object.assign||function(h){for(var m=1;m<arguments.length;m++){var y=arguments[m];for(var x in y)Object.prototype.hasOwnProperty.call(y,x)&&(h[x]=y[x])}return h};r.default=v;function i(h){return h&&h.__esModule?h:{default:h}}function a(h,m){var y={};for(var x in h)m.indexOf(x)>=0||Object.prototype.hasOwnProperty.call(h,x)&&(y[x]=h[x]);return y}var s=n(3),l=n(4),c=i(l),u=n(14),d=n(15),p=i(d);v.propTypes={activeClassName:c.default.string,activeIndex:c.default.number,activeStyle:c.default.object,autoEscape:c.default.bool,className:c.default.string,findChunks:c.default.func,highlightClassName:c.default.oneOfType([c.default.object,c.default.string]),highlightStyle:c.default.object,highlightTag:c.default.oneOfType([c.default.node,c.default.func,c.default.string]),sanitize:c.default.func,searchWords:c.default.arrayOf(c.default.oneOfType([c.default.string,c.default.instanceOf(RegExp)])).isRequired,textToHighlight:c.default.string.isRequired,unhighlightClassName:c.default.string,unhighlightStyle:c.default.object};function v(h){var m=h.activeClassName,y=m===void 0?"":m,x=h.activeIndex,b=x===void 0?-1:x,$=h.activeStyle,g=h.autoEscape,C=h.caseSensitive,S=C===void 0?!1:C,O=h.className,T=h.findChunks,k=h.highlightClassName,L=k===void 0?"":k,B=h.highlightStyle,N=B===void 0?{}:B,W=h.highlightTag,X=W===void 0?"mark":W,V=h.sanitize,te=h.searchWords,Y=h.textToHighlight,J=h.unhighlightClassName,H=J===void 0?"":J,ce=h.unhighlightStyle,xe=a(h,["activeClassName","activeIndex","activeStyle","autoEscape","caseSensitive","className","findChunks","highlightClassName","highlightStyle","highlightTag","sanitize","searchWords","textToHighlight","unhighlightClassName","unhighlightStyle"]),A=(0,s.findAll)({autoEscape:g,caseSensitive:S,findChunks:T,sanitize:V,searchWords:te,textToHighlight:Y}),I=X,z=-1,_="",D=void 0,Q=function(re){var ne={};for(var Z in re)ne[Z.toLowerCase()]=re[Z];return ne},G=(0,p.default)(Q);return(0,u.createElement)("span",o({className:O},xe,{children:A.map(function(U,re){var ne=Y.substr(U.start,U.end-U.start);if(U.highlight){z++;var Z=void 0;typeof L=="object"?S?Z=L[ne]:(L=G(L),Z=L[ne.toLowerCase()]):Z=L;var Se=z===+b;_=Z+" "+(Se?y:""),D=Se===!0&&$!=null?Object.assign({},N,$):N;var Fe={children:ne,className:_,key:re,style:D};return typeof I!="string"&&(Fe.highlightIndex=z),(0,u.createElement)(I,Fe)}else return(0,u.createElement)("span",{children:ne,className:H,key:re,style:ce})})}))}t.exports=r.default},function(t,r){t.exports=function(n){var o={};function i(a){if(o[a])return o[a].exports;var s=o[a]={exports:{},id:a,loaded:!1};return n[a].call(s.exports,s,s.exports,i),s.loaded=!0,s.exports}return i.m=n,i.c=o,i.p="",i(0)}([function(n,o,i){n.exports=i(1)},function(n,o,i){Object.defineProperty(o,"__esModule",{value:!0});var a=i(2);Object.defineProperty(o,"combineChunks",{enumerable:!0,get:function(){return a.combineChunks}}),Object.defineProperty(o,"fillInChunks",{enumerable:!0,get:function(){return a.fillInChunks}}),Object.defineProperty(o,"findAll",{enumerable:!0,get:function(){return a.findAll}}),Object.defineProperty(o,"findChunks",{enumerable:!0,get:function(){return a.findChunks}})},function(n,o){Object.defineProperty(o,"__esModule",{value:!0}),o.findAll=function(d){var p=d.autoEscape,v=d.caseSensitive,h=v===void 0?!1:v,m=d.findChunks,y=m===void 0?a:m,x=d.sanitize,b=d.searchWords,$=d.textToHighlight;return s({chunksToHighlight:i({chunks:y({autoEscape:p,caseSensitive:h,sanitize:x,searchWords:b,textToHighlight:$})}),totalLength:$?$.length:0})};var i=o.combineChunks=function(d){var p=d.chunks;return p=p.sort(function(v,h){return v.start-h.start}).reduce(function(v,h){if(v.length===0)return[h];var m=v.pop();if(h.start<=m.end){var y=Math.max(m.end,h.end);v.push({start:m.start,end:y})}else v.push(m,h);return v},[]),p},a=function(d){var p=d.autoEscape,v=d.caseSensitive,h=d.sanitize,m=h===void 0?l:h,y=d.searchWords,x=d.textToHighlight;return x=m(x),y.filter(function(b){return b}).reduce(function(b,$){$=m($),p&&($=c($));for(var g=new RegExp($,v?"g":"gi"),C=void 0;C=g.exec(x);){var S=C.index,O=g.lastIndex;O>S&&b.push({start:S,end:O}),C.index==g.lastIndex&&g.lastIndex++}return b},[])};o.findChunks=a;var s=o.fillInChunks=function(d){var p=d.chunksToHighlight,v=d.totalLength,h=[],m=function(b,$,g){$-b>0&&h.push({start:b,end:$,highlight:g})};if(p.length===0)m(0,v,!1);else{var y=0;p.forEach(function(x){m(y,x.start,!1),m(x.start,x.end,!0),y=x.end}),m(y,v,!1)}return h};function l(u){return u}function c(u){return u.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}}])},function(t,r,n){(function(o){t.exports=n(13)()}).call(r,n(5))},function(t,r){var n=t.exports={},o,i;function a(){throw new Error("setTimeout has not been defined")}function s(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?o=setTimeout:o=a}catch{o=a}try{typeof clearTimeout=="function"?i=clearTimeout:i=s}catch{i=s}})();function l(b){if(o===setTimeout)return setTimeout(b,0);if((o===a||!o)&&setTimeout)return o=setTimeout,setTimeout(b,0);try{return o(b,0)}catch{try{return o.call(null,b,0)}catch{return o.call(this,b,0)}}}function c(b){if(i===clearTimeout)return clearTimeout(b);if((i===s||!i)&&clearTimeout)return i=clearTimeout,clearTimeout(b);try{return i(b)}catch{try{return i.call(null,b)}catch{return i.call(this,b)}}}var u=[],d=!1,p,v=-1;function h(){!d||!p||(d=!1,p.length?u=p.concat(u):v=-1,u.length&&m())}function m(){if(!d){var b=l(h);d=!0;for(var $=u.length;$;){for(p=u,u=[];++v<$;)p&&p[v].run();v=-1,$=u.length}p=null,d=!1,c(b)}}n.nextTick=function(b){var $=new Array(arguments.length-1);if(arguments.length>1)for(var g=1;g<arguments.length;g++)$[g-1]=arguments[g];u.push(new y(b,$)),u.length===1&&!d&&l(m)};function y(b,$){this.fun=b,this.array=$}y.prototype.run=function(){this.fun.apply(null,this.array)},n.title="browser",n.browser=!0,n.env={},n.argv=[],n.version="",n.versions={};function x(){}n.on=x,n.addListener=x,n.once=x,n.off=x,n.removeListener=x,n.removeAllListeners=x,n.emit=x,n.prependListener=x,n.prependOnceListener=x,n.listeners=function(b){return[]},n.binding=function(b){throw new Error("process.binding is not supported")},n.cwd=function(){return"/"},n.chdir=function(b){throw new Error("process.chdir is not supported")},n.umask=function(){return 0}},function(t,r,n){(function(o){var i=n(7),a=n(8),s=n(9),l=n(10),c=n(11),u=n(12);t.exports=function(d,p){var v=typeof Symbol=="function"&&Symbol.iterator,h="@@iterator";function m(A){var I=A&&(v&&A[v]||A[h]);if(typeof I=="function")return I}var y="<<anonymous>>",x={array:C("array"),bool:C("boolean"),func:C("function"),number:C("number"),object:C("object"),string:C("string"),symbol:C("symbol"),any:S(),arrayOf:O,element:T(),instanceOf:k,node:W(),objectOf:B,oneOf:L,oneOfType:N,shape:X,exact:V};function b(A,I){return A===I?A!==0||1/A===1/I:A!==A&&I!==I}function $(A){this.message=A,this.stack=""}$.prototype=Error.prototype;function g(A){function I(_,D,Q,G,U,re,ne){return G=G||y,re=re||Q,ne!==c&&p&&a(!1,"Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types"),D[Q]==null?_?D[Q]===null?new $("The "+U+" `"+re+"` is marked as required "+("in `"+G+"`, but its value is `null`.")):new $("The "+U+" `"+re+"` is marked as required in "+("`"+G+"`, but its value is `undefined`.")):null:A(D,Q,G,U,re)}var z=I.bind(null,!1);return z.isRequired=I.bind(null,!0),z}function C(A){function I(z,_,D,Q,G,U){var re=z[_],ne=J(re);if(ne!==A){var Z=H(re);return new $("Invalid "+Q+" `"+G+"` of type "+("`"+Z+"` supplied to `"+D+"`, expected ")+("`"+A+"`."))}return null}return g(I)}function S(){return g(i.thatReturnsNull)}function O(A){function I(z,_,D,Q,G){if(typeof A!="function")return new $("Property `"+G+"` of component `"+D+"` has invalid PropType notation inside arrayOf.");var U=z[_];if(!Array.isArray(U)){var re=J(U);return new $("Invalid "+Q+" `"+G+"` of type "+("`"+re+"` supplied to `"+D+"`, expected an array."))}for(var ne=0;ne<U.length;ne++){var Z=A(U,ne,D,Q,G+"["+ne+"]",c);if(Z instanceof Error)return Z}return null}return g(I)}function T(){function A(I,z,_,D,Q){var G=I[z];if(!d(G)){var U=J(G);return new $("Invalid "+D+" `"+Q+"` of type "+("`"+U+"` supplied to `"+_+"`, expected a single ReactElement."))}return null}return g(A)}function k(A){function I(z,_,D,Q,G){if(!(z[_]instanceof A)){var U=A.name||y,re=xe(z[_]);return new $("Invalid "+Q+" `"+G+"` of type "+("`"+re+"` supplied to `"+D+"`, expected ")+("instance of `"+U+"`."))}return null}return g(I)}function L(A){if(!Array.isArray(A))return i.thatReturnsNull;function I(z,_,D,Q,G){for(var U=z[_],re=0;re<A.length;re++)if(b(U,A[re]))return null;var ne=JSON.stringify(A);return new $("Invalid "+Q+" `"+G+"` of value `"+U+"` "+("supplied to `"+D+"`, expected one of "+ne+"."))}return g(I)}function B(A){function I(z,_,D,Q,G){if(typeof A!="function")return new $("Property `"+G+"` of component `"+D+"` has invalid PropType notation inside objectOf.");var U=z[_],re=J(U);if(re!=="object")return new $("Invalid "+Q+" `"+G+"` of type "+("`"+re+"` supplied to `"+D+"`, expected an object."));for(var ne in U)if(U.hasOwnProperty(ne)){var Z=A(U,ne,D,Q,G+"."+ne,c);if(Z instanceof Error)return Z}return null}return g(I)}function N(A){if(!Array.isArray(A))return i.thatReturnsNull;for(var I=0;I<A.length;I++){var z=A[I];if(typeof z!="function")return s(!1,"Invalid argument supplied to oneOfType. Expected an array of check functions, but received %s at index %s.",ce(z),I),i.thatReturnsNull}function _(D,Q,G,U,re){for(var ne=0;ne<A.length;ne++){var Z=A[ne];if(Z(D,Q,G,U,re,c)==null)return null}return new $("Invalid "+U+" `"+re+"` supplied to "+("`"+G+"`."))}return g(_)}function W(){function A(I,z,_,D,Q){return te(I[z])?null:new $("Invalid "+D+" `"+Q+"` supplied to "+("`"+_+"`, expected a ReactNode."))}return g(A)}function X(A){function I(z,_,D,Q,G){var U=z[_],re=J(U);if(re!=="object")return new $("Invalid "+Q+" `"+G+"` of type `"+re+"` "+("supplied to `"+D+"`, expected `object`."));for(var ne in A){var Z=A[ne];if(Z){var Se=Z(U,ne,D,Q,G+"."+ne,c);if(Se)return Se}}return null}return g(I)}function V(A){function I(z,_,D,Q,G){var U=z[_],re=J(U);if(re!=="object")return new $("Invalid "+Q+" `"+G+"` of type `"+re+"` "+("supplied to `"+D+"`, expected `object`."));var ne=l({},z[_],A);for(var Z in ne){var Se=A[Z];if(!Se)return new $("Invalid "+Q+" `"+G+"` key `"+Z+"` supplied to `"+D+"`.\nBad object: "+JSON.stringify(z[_],null," ")+` -Valid keys: `+JSON.stringify(Object.keys(A),null," "));var Fe=Se(U,Z,D,Q,G+"."+Z,c);if(Fe)return Fe}return null}return g(I)}function te(A){switch(typeof A){case"number":case"string":case"undefined":return!0;case"boolean":return!A;case"object":if(Array.isArray(A))return A.every(te);if(A===null||d(A))return!0;var I=m(A);if(I){var z=I.call(A),_;if(I!==A.entries){for(;!(_=z.next()).done;)if(!te(_.value))return!1}else for(;!(_=z.next()).done;){var D=_.value;if(D&&!te(D[1]))return!1}}else return!1;return!0;default:return!1}}function Y(A,I){return A==="symbol"||I["@@toStringTag"]==="Symbol"||typeof Symbol=="function"&&I instanceof Symbol}function J(A){var I=typeof A;return Array.isArray(A)?"array":A instanceof RegExp?"object":Y(I,A)?"symbol":I}function H(A){if(typeof A>"u"||A===null)return""+A;var I=J(A);if(I==="object"){if(A instanceof Date)return"date";if(A instanceof RegExp)return"regexp"}return I}function ce(A){var I=H(A);switch(I){case"array":case"object":return"an "+I;case"boolean":case"date":case"regexp":return"a "+I;default:return I}}function xe(A){return!A.constructor||!A.constructor.name?y:A.constructor.name}return x.checkPropTypes=u,x.PropTypes=x,x}}).call(r,n(5))},function(t,r){function n(i){return function(){return i}}var o=function(){};o.thatReturns=n,o.thatReturnsFalse=n(!1),o.thatReturnsTrue=n(!0),o.thatReturnsNull=n(null),o.thatReturnsThis=function(){return this},o.thatReturnsArgument=function(i){return i},t.exports=o},function(t,r,n){(function(o){function i(a,s,l,c,u,d,p,v){if(!a){var h;if(s===void 0)h=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var m=[l,c,u,d,p,v],y=0;h=new Error(s.replace(/%s/g,function(){return m[y++]})),h.name="Invariant Violation"}throw h.framesToPop=1,h}}t.exports=i}).call(r,n(5))},function(t,r,n){(function(o){var i=n(7),a=i;t.exports=a}).call(r,n(5))},function(t,r){var n=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,i=Object.prototype.propertyIsEnumerable;function a(l){if(l==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(l)}function s(){try{if(!Object.assign)return!1;var l=new String("abc");if(l[5]="de",Object.getOwnPropertyNames(l)[0]==="5")return!1;for(var c={},u=0;u<10;u++)c["_"+String.fromCharCode(u)]=u;var d=Object.getOwnPropertyNames(c).map(function(v){return c[v]});if(d.join("")!=="0123456789")return!1;var p={};return"abcdefghijklmnopqrst".split("").forEach(function(v){p[v]=v}),Object.keys(Object.assign({},p)).join("")==="abcdefghijklmnopqrst"}catch{return!1}}t.exports=s()?Object.assign:function(l,c){for(var u,d=a(l),p,v=1;v<arguments.length;v++){u=Object(arguments[v]);for(var h in u)o.call(u,h)&&(d[h]=u[h]);if(n){p=n(u);for(var m=0;m<p.length;m++)i.call(u,p[m])&&(d[p[m]]=u[p[m]])}}return d}},function(t,r){var n="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";t.exports=n},function(t,r,n){(function(o){function i(a,s,l,c,u){}t.exports=i}).call(r,n(5))},function(t,r,n){var o=n(7),i=n(8),a=n(11);t.exports=function(){function s(u,d,p,v,h,m){m!==a&&i(!1,"Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types")}s.isRequired=s;function l(){return s}var c={array:s,bool:s,func:s,number:s,object:s,string:s,symbol:s,any:s,arrayOf:l,element:s,instanceOf:l,node:s,objectOf:l,oneOf:l,oneOfType:l,shape:l,exact:l};return c.checkPropTypes=o,c.PropTypes=c,c}},function(t,r){t.exports=f},function(t,r){var n=function(a,s){return a===s};function o(i){var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:n,s=void 0,l=[],c=void 0,u=!1,d=function(h,m){return a(h,l[m])},p=function(){for(var h=arguments.length,m=Array(h),y=0;y<h;y++)m[y]=arguments[y];return u&&s===this&&m.length===l.length&&m.every(d)||(u=!0,s=this,l=m,c=i.apply(this,m)),c};return p}t.exports=o}])})(lw);var hB=lw.exports;const vB=Tr(hB);w(j)` - font-size: 42px; - color: ${({theme:e})=>e.colors.grey40}; -`;w.div` - display: flex; - justify-content: center; - align-items: center; - height: 100%; -`;w.div` - display: flex; - justify-content: center; - align-items: center; - height: 100%; -`;var ea,mB=new Uint8Array(16);function gB(){if(!ea&&(ea=typeof crypto<"u"&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||typeof msCrypto<"u"&&typeof msCrypto.getRandomValues=="function"&&msCrypto.getRandomValues.bind(msCrypto),!ea))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return ea(mB)}const yB=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i;function bB(e){return typeof e=="string"&&yB.test(e)}var Ke=[];for(var wc=0;wc<256;++wc)Ke.push((wc+256).toString(16).substr(1));function xB(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,r=(Ke[e[t+0]]+Ke[e[t+1]]+Ke[e[t+2]]+Ke[e[t+3]]+"-"+Ke[e[t+4]]+Ke[e[t+5]]+"-"+Ke[e[t+6]]+Ke[e[t+7]]+"-"+Ke[e[t+8]]+Ke[e[t+9]]+"-"+Ke[e[t+10]]+Ke[e[t+11]]+Ke[e[t+12]]+Ke[e[t+13]]+Ke[e[t+14]]+Ke[e[t+15]]).toLowerCase();if(!bB(r))throw TypeError("Stringified UUID is invalid");return r}function wB(e,t,r){e=e||{};var n=e.random||(e.rng||gB)();if(n[6]=n[6]&15|64,n[8]=n[8]&63|128,t){r=r||0;for(var o=0;o<16;++o)t[r+o]=n[o];return t}return xB(n)}wB();const $B=w(li.div).attrs(le("Dropdown"))` - display: flex; - flex-direction: column; - overflow: hidden; - background: ${({theme:e})=>e.colors.white}; - box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.25); - border-radius: 4px; - z-index: ${({theme:e,layer:t})=>e.layers[t]}; - outline: none; - padding-top: 5px; - padding-bottom: 5px; - // TODO: allow menu contents to define width - // TODO: set min width based on ref of input trigger - width: ${({containerWidth:e})=>e??200}px; - ${({containerHeight:e})=>e?`height: ${e}px;`:""} - ${({containerMaxHeight:e})=>e?`max-height: ${e}px;`:""} - user-select: none; -`,Oa=w.div` - width: 100%; - border-top: 1px solid ${({theme:e})=>e.colors.grey10}; - margin-top: 5px; - margin-bottom: 5px; -`,EB=w.div` - font-family: ${({theme:e})=>e.fonts.inter}; - font-size: 12px; - font-weight: 500; - padding-top: 8px; - padding-bottom: 5px; - padding-left: 15px; - line-height: 110%; - user-select: none; - padding-right: 15px; -`,cw=w.a` - transition: background-color 0.1s ease-in-out; - outline: none; - padding-left: 15px; - padding-right: ${({hasExpandableItems:e})=>e?"5px":"15px"}; - display: flex; - user-select: none; - cursor: ${({disabled:e})=>e?"not-allowed":"pointer"}; - background-color: ${({theme:e,active:t})=>t?e.colors.brandShade40:""}; - &:active { - background-color: ${({theme:e})=>e.colors.brandShade40}; - } - font-size: 12px; - font-family: ${({theme:e})=>e.fonts.inter}; - display: flex; - align-items: center; - justify-content: space-evenly; - position: relative; - opacity: ${({disabled:e})=>e?"0.5":"1"}; - text-decoration: none; -`;w(cw)` - div { - color: ${({theme:e})=>e.colors.cyan100}; - } -`;const SB=w(j)` - visibility: ${({$visible:e})=>e?"visible":"hidden"}; -`,CB=w(rn)` - visibility: ${({$visible:e})=>e?"visible":"hidden"}; - padding: 0; - flex-shrink: 0; - border-radius: 4px; - - && svg { - font-size: 14px; - color: ${({theme:e})=>e.colors.grey100}; - } - - ${qs("sm")} { - background: ${({theme:e})=>e.colors.brandShade10}; - } - - &:hover { - background: ${({theme:e})=>e.colors.brandShade20}; - } -`,OB=w.div` - width: ${({hasSubItems:e})=>e?"calc(100% - 30px)":"100%"}; - color: ${({theme:e,selected:t})=>t?e.colors.brandPrimary:e.colors.grey100}; - font-weight: ${({selected:e})=>e?500:400}; - display: flex; - align-items: center; - padding-right: 10px; - padding-top: 5px; - padding-bottom: 5px; - gap: 6px; - user-select: none; - .resetButton & { - color: ${({theme:e})=>e.colors.grey100}; - font-size: 12px; - } - - min-height: 36px; -`,TB=w.div` - padding-right: 5px; - width: ${({iconColumnWidth:e})=>(e||24)+"px"}; - min-width: ${({iconColumnWidth:e})=>(e||24)+"px"}; - display: flex; - justify-content: center; - - .resetButton & { - color: ${({theme:e})=>e.colors.grey40}; - } -`,kB=w.div` - padding: 10px; - width: 100%; - box-sizing: border-box; -`;function $c(...e){return t=>{for(const r of e)typeof r=="function"?r(t):r!==null&&(r.current=t)}}const qu=f;function AB(e,t){return qu.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),qu.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M9 5l7 7-7 7"}))}const PB=qu.forwardRef(AB);var zB=PB;const _B=Tr(zB);w.div` - cursor: pointer; - user-select: none; -`;function Ec({handleSelectOption:e,activeItem:t,activeSubItem:r,setActiveSubItem:n,fetchMoreText:o,autoscrollText:i,selectedIcon:a,externalLinkIcon:s,hasSelectedItems:l,hasExpandableItems:c,hideIcons:u,iconColumnWidth:d,openChildrenOnMouseOver:p,layer:v,setActiveValueIndex:h,valueOptions:m,openSubmenuOnButtonHover:y}){return(x,b)=>{switch(x.type){case"value":return f.createElement(LB,{active:(t==null?void 0:t.key)===x.key,onSelect:e,onSelectIcon:x.onClickIcon,onClickSubItem:x.onClickSubItem,key:x.key,value:x,meta:{active:!1,input:""},activeSubItem:r,setActiveSubItem:n,hideIcons:u,iconColumnWidth:d,fetchMoreText:o,autoscrollText:i,selectedIcon:a,externalLinkIcon:s,openChildrenOnMouseOver:p,hasSelectedItems:l,hasExpandableItems:c,setActiveValueIndex:h,valueOptions:m,layer:v,openSubmenuOnButtonHover:y});case"header":return f.createElement(EB,{key:`header${b}`},x.label);case"divider":return f.createElement(Oa,{key:`divider${b}`});default:return null}}}function Tg(e,t,r,n){if(t===void 0)return 0;if(e.length===0)return n?"createNew":0;const o=e.length-1;if(t==="createNew")switch(r){case"down":return 0;case"up":return o}switch(r){case"down":return t>=o?n?"createNew":0:t+1;case"up":return t===0?n?"createNew":o:t-1;default:return 0}}function IB(e,t){const r=e.findIndex(n=>n.key===t);return r===-1?"createNew":r}const kg=236;function RB({children:e,options:t,stickyHeaderOptions:r,stickyFooterOptions:n,inputValue:o,searchPlaceholder:i,placement:a="bottom-start",showInternalSearch:s=!1,isLoading:l=!1,usePortal:c=!0,closeOnSelect:u=!0,isOpen:d,renderCreateNewOption:p,onCreateNewOption:v,hideIcons:h,iconColumnWidth:m,containerWidth:y,containerHeight:x,containerRef:b,onSelectOption:$,onInputChange:g,onFetchMore:C,onClear:S,onClose:O,onOpen:T,optionsRenderer:k,onInputReturn:L,tabProps:B,disabled:N,fetchMoreText:W,autoscrollText:X,externalLinkIcon:V,selectedIcon:te,layer:Y="popover",containerMaxHeight:J,openChildrenOnMouseOver:H,isSubItemDropdown:ce,openSubmenuOnButtonHover:xe}){var A;const I=f.useMemo(()=>(r??[]).filter(ee=>ee.type==="value"),[r]),z=f.useMemo(()=>(t??[]).filter(ee=>ee.type==="value"),[t]),_=f.useMemo(()=>(n??[]).filter(ee=>ee.type==="value"),[n]),D=f.useMemo(()=>[...I,...z,..._??[]],[_,I,z]),Q=f.useMemo(()=>D.some(ee=>ee.selected),[D]),G=f.useMemo(()=>D.some(ee=>{var fe,Ce;return((Ce=(fe=ee.subItems)===null||fe===void 0?void 0:fe.length)!==null&&Ce!==void 0?Ce:0)>0}),[D]),U=!!p,[re,ne]=f.useState(!1),[Z,Se]=f.useState(()=>D.length===0&&U?"createNew":0);f.useEffect(()=>{D.length===0&&U&&Se("createNew")},[U,D.length]);const[Fe,it]=f.useState(null),at=(A=Z!==void 0&&Z!=="createNew"?D[Z]:null)!==null&&A!==void 0?A:null,ze=d??re,jt=f.useCallback(()=>{N||(T==null||T(),ne(!0))},[N,T]),_e=f.useCallback(ee=>{function fe(){ne(!1),O==null||O(),Se(0),it(null)}if(ee==="select"){u&&fe();return}fe()},[u,O]),Je=f.useRef(null),je=f.useRef(null),Xe=f.useRef(null);f.useEffect(()=>{if(!ze)return;function ee(fe){window.document.activeElement!==je.current&&(Sc(Xe.current)&&Xe.current.contains(fe.target)||Sc(Je.current)&&Je.current.contains(fe.target)||Sc(je.current)&&je.current.contains(fe.target)||_e())}return document.addEventListener("click",ee),()=>{document.removeEventListener("click",ee)}},[_e,ze]),f.useEffect(()=>{ze&&N&&_e()},[ze,N,_e]),f.useEffect(()=>{function ee(){_e()}return window.addEventListener("hashchange",ee),()=>{window.removeEventListener("hashchange",ee)}},[_e]),f.useEffect(()=>{var ee,fe,Ce,kt;if(ze)if(je.current&&s)(ee=je.current)===null||ee===void 0||ee.focus({preventScroll:!0});else{const yt=(fe=Xe.current)===null||fe===void 0?void 0:fe.querySelector('a[role="listitem"]'),Nt=(Ce=Xe.current)===null||Ce===void 0?void 0:Ce.querySelector('[data-dp-name="dropdown-create-new"]');(kt=yt??Nt)===null||kt===void 0||kt.focus()}},[ze,s,B==null?void 0:B.activeTabIndex]),f.useEffect(()=>{function ee(fe){(fe.key==="Escape"||fe.keyCode===27)&&_e()}return document.addEventListener("keydown",ee),()=>document.removeEventListener("keydown",ee)},[_e]);const[We,fr]=f.useState(null),[un,fn]=f.useState(null),{styles:_r,attributes:Ir,update:ao}=h1(We,un,{placement:a,modifiers:[{name:"offset",options:{offset:[ce?-8:0,2]}}]});f.useEffect(()=>{ao&&ao()},[ao,t,r,n]);const ul=f.useCallback(()=>{ze?_e():jt()},[_e,jt,ze]),Rr=f.useCallback(()=>{v==null||v(),_e("createNew")},[_e,v]),xi=f.useCallback(Cy(ee=>{var fe,Ce;(Ce=(fe=Xe.current)===null||fe===void 0?void 0:fe.querySelector(ee==="createNew"?'[data-dp-name="dropdown-create-new"]':`a[role="listitem"]:nth-of-type(${ee+1})`))===null||Ce===void 0||Ce.scrollIntoView({behavior:"smooth",block:"center"})},175,{trailing:!0,leading:!0}),[]),dn=f.useCallback(ee=>{Se(ee),xi(ee)},[xi]),P=f.useCallback(ee=>{var fe,Ce,kt,yt;const Nt=ee.key;if(ze)switch(Nt){case"ArrowUp":if(ee.preventDefault(),!Fe){const bt=Tg(D,Z,"up",U);dn(bt)}break;case"ArrowDown":if(ee.preventDefault(),!Fe){const bt=Tg(D,Z,"down",U);dn(bt)}break;case"Enter":{if(l||Fe||Z===void 0)return;if(Z==="createNew"){Rr==null||Rr();break}const bt=D[Z];bt?($==null||$(bt),_e("select")):L&&o&&o.length>0&&(L==null||L(o),_e());break}case"ArrowRight":if(ee.preventDefault(),typeof Z=="number"&&!Fe){const bt=D[Z].subItems;bt!=null&&bt.length&&it(D[Z].key)}break;case"ArrowLeft":ee.preventDefault(),Fe&&(s?(fe=je.current)===null||fe===void 0||fe.focus({preventScroll:!0}):typeof Z=="number"&&((yt=(kt=(Ce=Xe.current)===null||Ce===void 0?void 0:Ce.querySelectorAll('a[role="listitem"]'))===null||kt===void 0?void 0:kt[Z])===null||yt===void 0||yt.focus()),it(null));break}},[ze,l,Fe,Z,D,U,dn,L,o,Rr,$,_e,s]);f.useEffect(()=>{z.length?dn(I.length):Se(U?"createNew":void 0)},[o]);const q=f.useCallback(ee=>{$==null||$(ee),_e("select")},[_e,$]),ie=f.useCallback(()=>{Se("createNew")},[]),me=f.useMemo(()=>We!=null&&We.scrollWidth&&We.scrollWidth>kg?We.scrollWidth:kg,[We==null?void 0:We.scrollWidth]),de=f.createElement(f.Fragment,null,k&&k(t,q,at,Fe,it,h),!k&&t.length>0&&f.createElement(pB,{maxHeight:x||J?void 0:"40vh",onFetchMore:C,anchor:!1,scrollSideEffect:()=>it(null),fetchMoreText:W,autoscrollText:X},t.map(Ec({handleSelectOption:q,activeItem:at,activeSubItem:Fe,setActiveSubItem:it,fetchMoreText:W,autoscrollText:X,selectedIcon:te,externalLinkIcon:V,hasSelectedItems:Q,hasExpandableItems:G,hideIcons:h,iconColumnWidth:m,openChildrenOnMouseOver:H,setActiveValueIndex:Se,valueOptions:D,layer:Y,openSubmenuOnButtonHover:xe}))),l&&f.createElement(kr,null)),Ge=f.createElement($B,{role:"list",layer:Y,initial:{opacity:0},animate:{opacity:1},transition:{type:"spring",mass:.5},onKeyDownCapture:P,"data-testid":"dropdown-container",ref:$c(fn,Xe,b??null),style:_r.popper,containerWidth:y||me,containerHeight:x,containerMaxHeight:J,...Ir.popper},r&&f.createElement(f.Fragment,null,r.map(Ec({handleSelectOption:q,activeItem:at,activeSubItem:Fe,setActiveSubItem:it,fetchMoreText:W,autoscrollText:X,selectedIcon:te,externalLinkIcon:V,hasSelectedItems:Q,hasExpandableItems:G,hideIcons:h,iconColumnWidth:m,openChildrenOnMouseOver:H,setActiveValueIndex:Se,valueOptions:D,layer:Y})),f.createElement(Oa,null)),s&&f.createElement(kB,null,f.createElement(y1,{inputsize:"small",leftIcon:{icon:jw,themeColor:"cyan100"},rightIcon:f.createElement(rn,{"aria-label":"clear",minimal:!0,icon:Ug,onClick:ee=>{var fe;ee.stopPropagation(),g==null||g(""),(fe=je.current)===null||fe===void 0||fe.focus()}}),value:o,onChange:ee=>g==null?void 0:g(ee.target.value),ref:je,placeholder:i,onClick:ee=>{ee.stopPropagation()}})),B&&f.createElement(he,{vertical:!0,padding:"6px 8px"},f.createElement(u3,{type:"tab",tabs:B.tabs,onClickTab:ee=>{var fe,Ce;(Ce=(fe=Xe.current)===null||fe===void 0?void 0:fe.querySelector('a[role="listitem"]'))===null||Ce===void 0||Ce.focus(),B.onTabChange(ee)},activeIndex:B.activeTabIndex,containerStyles:{padding:"0 8px",justifyContent:"flex-start",gap:5}})),de,n&&f.createElement(f.Fragment,null,f.createElement(Oa,null),n.map(Ec({handleSelectOption:q,activeItem:at,activeSubItem:Fe,setActiveSubItem:it,fetchMoreText:W,autoscrollText:X,selectedIcon:te,externalLinkIcon:V,hasSelectedItems:Q,hasExpandableItems:G,hideIcons:h,iconColumnWidth:m,openChildrenOnMouseOver:H,setActiveValueIndex:Se,valueOptions:D,layer:Y}))),U&&f.createElement(f.Fragment,null,f.createElement(Oa,null),f.createElement("div",{style:{display:"contents"},tabIndex:0,...le("dropdown-create-new")},p(Z==="createNew",Rr,ie)))),ft={active:ze,targetProps:{onClick:ul,..._r.reference,...Ir.reference,onKeyDown:P},targetRef:$c(fr,Je),inputRef:$c(fr,je),inputProps:{value:o,onFocus:jt,onChange:ee=>g==null?void 0:g(ee.target.value),placeholder:i,onKeyDown:P},handleOnClear:S};return f.createElement(f.Fragment,null,typeof e=="function"?e(ft):e,ze&&(c?f.createElement(Ms,null,Ge):Ge))}function LB({value:e,active:t,onSelect:r,onSelectIcon:n,onClickSubItem:o,activeSubItem:i,setActiveSubItem:a,hideIcons:s,iconColumnWidth:l,fetchMoreText:c,autoscrollText:u,selectedIcon:d,externalLinkIcon:p,openChildrenOnMouseOver:v,hasSelectedItems:h,hasExpandableItems:m,layer:y,setActiveValueIndex:x,valueOptions:b,openSubmenuOnButtonHover:$=!1}){var g,C,S;const O=((C=(g=e.subItems)===null||g===void 0?void 0:g.length)!==null&&C!==void 0?C:0)>0,T=L=>{L.stopPropagation(),L.preventDefault(),!e.disabled&&(e.subItems&&e.openSubmenuOnSelect?(a==null||a(e.key),o==null||o(e)):r==null||r(e))},k=f.useCallback(()=>{x(IB(b,e.key)),v&&O?a==null||a(e.key):a==null||a(null)},[O,v,a,x,e.key,b]);return f.createElement(RB,{isOpen:i===e.key,options:(S=e.subItems)!==null&&S!==void 0?S:[],placement:"right-start",onSelectOption:r,onFetchMore:e.onFetchMoreSubItems,fetchMoreText:c,autoscrollText:u,externalLinkIcon:p,selectedIcon:d,hideIcons:s,layer:y,isSubItemDropdown:!0,...e.subItemsDropdownOptions},({targetProps:L,targetRef:B})=>f.createElement(cw,{role:"listitem",ref:B,...L,"data-testid":"dropdown-value",active:t,onKeyDownCapture:N=>{N.key==="ArrowRight"&&(N.preventDefault(),N.stopPropagation())},tabIndex:0,href:e.href,rel:e.href?"noreferrer noopener":void 0,target:e.href?"_blank":void 0,onClick:e.href?void 0:T,disabled:e.disabled,hasExpandableItems:m,onMouseEnter:k,...le(`dropDownLabel.${e.key}`)},f.createElement(OB,{selected:e.selected,hasSubItems:O},!s&&f.createElement(TB,{iconColumnWidth:l,onClick:e.icon&&n?N=>{N.stopPropagation(),n(e.value)}:void 0},Te(e.icon)?f.createElement(j,{icon:e.icon}):ke(e.icon)?f.createElement(j,{...e.icon}):e.icon),e.label),h&&f.createElement(SB,{...le("dropdownItemCheck"),$visible:!!e.selected,icon:d}),e.href&&e.showHrefIcon&&f.createElement(j,{...le("dropdownItemLink"),icon:p,themeColor:"cyan100"}),m&&f.createElement(CB,{"aria-label":"expand",type:"button",onClick:N=>{N.preventDefault(),N.stopPropagation(),a==null||a(e.key),o==null||o(e)},onMouseEnter:$?()=>{a==null||a(e.key),o==null||o(e)}:void 0,icon:_B,intent:"minimal",$visible:O})))}function Sc(e){return typeof e=="object"&&$f(e)&&e instanceof HTMLElement}const FB=["dp-custom-im","dp-custom-linear-drag-drop","dp-custom-linear-emoji-meh","dp-custom-linear-level-down","dp-custom-linear-linked-tickets","dp-custom-linear-read","dp-custom-linear-unlink","dp-custom-solid-im","dp-custom-solid-agent","dp-custom-solid-api","dp-custom-solid-check-circle","dp-custom-solid-circle-user-slash","dp-custom-solid-clock-1","dp-custom-solid-clock","dp-custom-solid-dollar","dp-custom-solid-dot","dp-custom-solid-exclamation-circle","dp-custom-solid-exclamation-triangle-1","dp-custom-solid-exclamation-triangle","dp-custom-solid-grip-vertical","dp-custom-solid-information-1","dp-custom-solid-information","dp-custom-solid-linked-tickets","dp-custom-solid-manager","dp-custom-solid-message-circle-slash","dp-custom-solid-pause","dp-custom-solid-phone-hangup","dp-custom-solid-question-circle","dp-custom-solid-record","dp-custom-solid-robot","dp-custom-solid-sip","dp-custom-solid-slack","dp-custom-solid-user-clock","dp-custom-solid-user-slash","dp-custom-solid-view-dual-card","dp-custom-solid-view-dual-table","dp-custom-solid-view-kanban","dp-custom-solid-view-list-table","dp-custom-solid-webhook","dazzle-linear-align-center","dazzle-linear-align-justify","dazzle-linear-align-left","dazzle-linear-align-right","dazzle-linear-arrow-down-left","dazzle-linear-arrow-down","dazzle-linear-arrow-left","dazzle-linear-arrow-narrow-left-alignment","dazzle-linear-arrow-right-from-bracket","dazzle-linear-arrow-right-to-bracket","dazzle-linear-arrow-right","dazzle-linear-arrow-square-down-left","dazzle-linear-arrow-square-down-right","dazzle-linear-arrow-up-right","dazzle-linear-arrow-up","dazzle-linear-badge-check","dazzle-linear-ban","dazzle-linear-bold","dazzle-linear-brackets-curly","dazzle-linear-branch","dazzle-linear-check","dazzle-linear-chevron-down-double","dazzle-linear-chevron-right-double","dazzle-linear-code","dazzle-linear-column-width","dazzle-linear-compress","dazzle-linear-edit","dazzle-linear-enter","dazzle-linear-exclamation-alt","dazzle-linear-expand","dazzle-linear-export-1","dazzle-linear-export","dazzle-linear-filter-list","dazzle-linear-follow-up","dazzle-linear-font","dazzle-linear-history","dazzle-linear-import","dazzle-linear-infinity","dazzle-linear-italic","dazzle-linear-live","dazzle-linear-loop","dazzle-linear-merge","dazzle-linear-message-square-chat-1","dazzle-linear-message-square-chat","dazzle-linear-note","dazzle-linear-question","dazzle-linear-refresh-alt","dazzle-linear-refresh","dazzle-linear-ruler","dazzle-linear-search","dazzle-linear-send-im","dazzle-linear-sent","dazzle-linear-switch","dazzle-linear-tag","dazzle-linear-task-1","dazzle-linear-task","dazzle-linear-text-height","dazzle-linear-text-size","dazzle-linear-text","dazzle-linear-triangle","dazzle-linear-underline","dazzle-linear-undo","dazzle-linear-user-check","dazzle-linear-xmark","dazzle-monochrome-sort-down","dazzle-monochrome-sort-up","dazzle-solid-archive","dazzle-solid-arrow-narrow-left-alignment","dazzle-solid-article","dazzle-solid-audio","dazzle-solid-auto-attendant","dazzle-solid-backward-step","dazzle-solid-badge-check","dazzle-solid-bank","dazzle-solid-bolt","dazzle-solid-book","dazzle-solid-branding","dazzle-solid-browser","dazzle-solid-calendar-day","dazzle-solid-calendar","dazzle-solid-caret-down","dazzle-solid-caret-left","dazzle-solid-caret-right","dazzle-solid-caret-up","dazzle-solid-cc","dazzle-solid-chart-bar","dazzle-solid-chart-column","dazzle-solid-chart-pie","dazzle-solid-circle-play","dazzle-solid-circle-user","dazzle-solid-clone","dazzle-solid-code-alt","dazzle-solid-code-branch","dazzle-solid-credit-card","dazzle-solid-crown","dazzle-solid-debug-file","dazzle-solid-dialpad-circle","dazzle-solid-dollar-to-slot","dazzle-solid-download","dazzle-solid-edit","dazzle-solid-eye-slash","dazzle-solid-eye","dazzle-solid-file-alt","dazzle-solid-file-code","dazzle-solid-flag","dazzle-solid-folder","dazzle-solid-follow-up","dazzle-solid-forward-step","dazzle-solid-gear","dazzle-solid-glossary","dazzle-solid-grid-plus","dazzle-solid-grid","dazzle-solid-grip-lines","dazzle-solid-guide","dazzle-solid-heart","dazzle-solid-image-square","dazzle-solid-indent","dazzle-solid-key","dazzle-solid-knowledgebase","dazzle-solid-layer-group","dazzle-solid-list-dots","dazzle-solid-list-number","dazzle-solid-location-pin","dazzle-solid-lock","dazzle-solid-mail","dazzle-solid-menu","dazzle-solid-message-circle-chat","dazzle-solid-message-circle-dots","dazzle-solid-message-square-chat-1","dazzle-solid-message-square-chat","dazzle-solid-message-square-check","dazzle-solid-message-square-dots","dazzle-solid-microphone-alt-1","dazzle-solid-microphone-slash-alt-1","dazzle-solid-note","dazzle-solid-organisation","dazzle-solid-outbound-email","dazzle-solid-outdent","dazzle-solid-phone-alt","dazzle-solid-phone-call-alt","dazzle-solid-phone-flip-alt","dazzle-solid-phone-missed","dazzle-solid-phone-outgoing","dazzle-solid-phone-slash-alt","dazzle-solid-pin","dazzle-solid-play","dazzle-solid-portrait-user","dazzle-solid-printer","dazzle-solid-problem-open","dazzle-solid-rectangle-terminal","dazzle-solid-ruler","dazzle-solid-save","dazzle-solid-screen-users","dazzle-solid-shield","dazzle-solid-shopping-cart","dazzle-solid-sitemap","dazzle-solid-snippet","dazzle-solid-sort","dazzle-solid-star","dazzle-solid-tag","dazzle-solid-task-1","dazzle-solid-task","dazzle-solid-ticket","dazzle-solid-track","dazzle-solid-truck","dazzle-solid-unlock","dazzle-solid-upload","dazzle-solid-user-check-1","dazzle-solid-user-check","dazzle-solid-user-edit","dazzle-solid-user-gear","dazzle-solid-user-lock","dazzle-solid-user-plus","dazzle-solid-user","dazzle-solid-users","dazzle-solid-version-history","dazzle-solid-video","dazzle-solid-voicemail","dazzle-solid-volume-max","dazzle-solid-wand-magic-sparkles","dazzle-duotone-arrow-square-down-left","dazzle-duotone-arrow-square-down-right","flowbite-info","fontawesomev6-classic-solid-forward","fontawesomev6-classic-solid-highlight-colour","fontawesomev6-classic-solid-macro","fontawesomev6-classic-solid-paragraph","fontawesomev6-classic-solid-quote","fontawesomev6-classic-solid-remove-format","fontawesomev6-classic-solid-reply","fontawesomev6-classic-solid-strikethrough","heroicons-linear-bell","heroicons-linear-chevron-down","heroicons-linear-chevron-left","heroicons-linear-chevron-right","heroicons-linear-chevron-up","heroicons-linear-clock","heroicons-linear-dollar","heroicons-linear-emoji-happy","heroicons-linear-emoji-sad","heroicons-linear-exclamation-triangle","heroicons-linear-external-link","heroicons-linear-filter","heroicons-linear-information","heroicons-linear-latest-news","heroicons-linear-link","heroicons-linear-paper-clip","heroicons-linear-thumb-down","heroicons-linear-thumb-up","heroicons-solid-identification","heroicons-solid-badge-check","heroicons-solid-bell-1","heroicons-solid-bell","heroicons-solid-briefcase","heroicons-solid-broadcast","heroicons-solid-chevron-small-down","heroicons-solid-chevron-small-up","heroicons-solid-chip","heroicons-solid-collection","heroicons-solid-copy","heroicons-solid-dollar","heroicons-solid-dots-horizontal","heroicons-solid-dots-vertical","heroicons-solid-filter-1","heroicons-solid-filter","heroicons-solid-folder-open","heroicons-solid-folder","heroicons-solid-globe","heroicons-solid-inbox-in","heroicons-solid-integration","heroicons-solid-light-bulb","heroicons-solid-minus","heroicons-solid-mobile","heroicons-solid-news","heroicons-solid-plus","heroicons-solid-qr-code","heroicons-solid-queue","heroicons-solid-server","heroicons-solid-setting","heroicons-solid-site","heroicons-solid-social","heroicons-solid-table","heroicons-solid-thumb-down","heroicons-solid-thumb-up","heroicons-solid-translate","heroicons-solid-trash","heroicons-solid-view-calendar"];w(({icon:e,className:t,size:r,...n})=>{const o=`dp-icon-v2-${e} ${t}`;return f.createElement("i",{...n,...le("DeskproCustomIcon"),className:o,style:{lineHeight:1,height:"auto",fontSize:r}})}).withConfig({shouldForwardProp:e=>!["themeColor"].includes(e)})` - height: 1em; - color: ${e=>{var t;return(t=e.theme.colors[e.themeColor])!==null&&t!==void 0?t:"inherit"}}; - font-size: ${e=>typeof e.size=="number"?`${e.size}px`:"inherit"}; - user-select: none; -`;new Set(FB);const uw=w.div` - position: relative; - display: flex; - align-items: center; - gap: 2px; - flex-wrap: wrap; -`,fw=w(ve)` - ${e=>e.variant==="agent"?E` - color: ${e.error?e.theme.colors.red100:e.theme.colors.grey80}; - `:E` - color: ${e.error?e.theme.colors.red100:e.theme.colors.grey100}; - `} - text-overflow: ellipsis; - overflow: hidden; - white-space: nowrap; - flex: 2; - max-width: fit-content; -`,dw=w.span` - position: relative; - left: -2px; - top: -2px; - - ::after { - content: "*"; - color: ${e=>e.theme.colors.red100}; - } -`,pw=w(ve).attrs({as:"div"})` - color: ${e=>e.theme.colors.grey40}; - text-overflow: ellipsis; - overflow: hidden; - white-space: ${e=>e.multiLine?"initial":"nowrap"}; - min-width: 50px; - flex: ${e=>e.fullWidth?"flex: 0 0 100%":"1"}; - max-width: fit-content; -`,Yd=w(ve).attrs({as:"div"})` - ${e=>e.variant==="agent"?E` - ${Ne.p8} - `:E` - ${Ne.p1}; - `} - color: ${e=>e.theme.colors.grey40}; - text-overflow: ellipsis; - overflow: hidden; - white-space: nowrap; - min-width: 50px; - flex: 1; - max-width: fit-content; - align-self: baseline; -`,hw=w(Yd)` - color: ${e=>e.theme.colors.red100}; -`,vw=w.div` - display: flex; - flex-direction: column; - - & > :not(:last-child) { - margin-bottom: 4px; - } -`,mw=E` - width: 100%; - display: flex; - flex-direction: column; - - & > :not(:last-child) { - margin-bottom: 1px; - } -`,DB=f.forwardRef(({renderAs:e,...t},r)=>e==="label"?f.createElement("label",{ref:r,...t}):f.createElement("div",{ref:r,...t})),kV=w(f.forwardRef(function({label:t,children:r,error:n,errorMsg:o,labelInfo:i,labelInfoMultiLine:a=!1,labelAction:s,description:l,required:c,variant:u="agent",labelInfoFullWidth:d=!1,renderAs:p="label",...v},h){return f.createElement(DB,{renderAs:p,...le(`Label.${t}`),ref:h,...v},f.createElement(uw,null,t&&f.createElement(fw,{variant:u,type:u==="agent"?"p6":"h1",error:n},t),c&&f.createElement(dw,null),i&&f.createElement(pw,{multiLine:a,fullWidth:d,variant:u,type:u==="agent"?"p8":"p1"},i),s&&f.createElement(he,{align:"center",grow:!0,justify:"space-between",style:{height:"100%"}},s)),f.createElement(vw,null,r),l&&f.createElement(Yd,{type:u==="agent"?"p8":"p1",variant:u},l),n&&o&&f.createElement(hw,{type:u==="agent"?"p8":"p1",variant:u},o))}))` - ${mw} -`;w(f.forwardRef(function({label:t,children:r,error:n,errorMsg:o,labelInfo:i,labelInfoMultiLine:a=!1,labelAction:s,description:l,variant:c="agent",required:u,...d},p){return f.createElement("div",{...le(`LabelGroup.${t}`),role:"group",ref:p,...d},f.createElement(uw,null,f.createElement(fw,{type:c==="agent"?"p6":"h1",variant:c,error:n,title:typeof t=="string"?t:void 0},t),u&&f.createElement(dw,null),i&&f.createElement(pw,{multiLine:a,variant:c,type:c==="agent"?"p8":"p1"},i),s),f.createElement(vw,null,r),l&&f.createElement(Yd,{type:c==="agent"?"p8":"p1",variant:c},l),o&&f.createElement(hw,{type:c==="agent"?"p8":"p1",variant:c},o))}))` - ${mw} -`;w.a` - display: inline; - text-decoration: ${({underline:e})=>e?"underline":"none"}; - color: ${e=>e.theme.colors.cyan100}; - - :hover, - :hover :visited { - color: ${e=>e.theme.colors.cyan80}; - cursor: pointer; - } - - :active, - :active :visited { - color: ${e=>e.theme.colors.cyan80}; - } -`;w.a` - display: inline; - text-decoration: none; - - :hover, - :hover :visited { - cursor: pointer; - } -`;w.div.attrs(le("LoadingBlock"))` - background-color: ${({theme:e})=>e.colors.grey10}; - height: ${({height:e})=>e||16}px; - width: ${({width:e})=>pe(e).with("stretch",()=>"100%").with(Yp.string,t=>t).with(Yp.number,t=>`${t}px`).otherwise(()=>{})}; - border-radius: ${({round:e})=>e?"100%":"4px"}; - ${({animate:e=!0})=>e&&E` - animation: pulseAnimation 3s infinite ease-in-out; - `}; - - @keyframes pulseAnimation { - 0% { - opacity: 0.85; - } - 50% { - opacity: 0.3; - } - 100% { - opacity: 0.85; - } - } -`;const MB=w.span` - display: block; -`,jB=w(li.div)` - z-index: ${e=>e.setIndex?e.setIndex:"inherit"}; -`;function NB(e){const{children:t,content:r,placement:n="auto",isOpen:o,setIndex:i,disabled:a,interactionType:s="click",onRequestClose:l,usePortal:c=!0,modifiers:u,clickable:d=!1,interactionDelay:p,onOpenStateChange:v,style:h}=e,[m,y]=f.useState(!1),x=o??m;f.useEffect(()=>{v==null||v(m)},[m,v]);const[b,$]=f.useState(null),[g,C]=f.useState(null),{styles:S,attributes:O}=h1(b,g,{placement:n,modifiers:u});VB({popperElement:g,referenceElement:b,onRequestClose:l,setIsOpen:y,interactionType:s,clickable:d}),WB(l,y);const T=BB(s,m,y,a,p,g),k=f.createElement(jB,{transition:{duration:.2},initial:{opacity:.15},animate:{opacity:1},exit:{opacity:.15},style:{...S.popper,...h},...O.popper,ref:C,setIndex:i,onMouseEnter:T.onMouseEnter,onMouseLeave:T.onMouseLeave,onBlur:T.onBlur},r);return f.createElement(f.Fragment,null,typeof t=="function"&&t({isOpen:x,...T,ref:$}),typeof t!="function"&&f.createElement(MB,{...T,ref:$},t),f.createElement(Lz,null,x&&(c?f.createElement(Ms,null,k):k)))}function BB(e,t,r,n,o,i){const a=f.useRef(!1),s=f.useRef(0),l=f.useCallback(h=>{e==="contextMenu"&&h.preventDefault(),o?(clearTimeout(s.current),s.current=window.setTimeout(()=>{r(m=>!m)},Array.isArray(o)?o[t?1:0]:o)):r(m=>!m)},[e,o,t,r]),c=f.useCallback(h=>{a.current=!0,o?(clearTimeout(s.current),s.current=window.setTimeout(()=>{r(!0)},Array.isArray(o)?o[0]:o)):r(!0)},[a,o,r]),u=f.useCallback(h=>{a.current=!1,setTimeout(()=>{a.current||(clearTimeout(s.current),r(!1))},Array.isArray(o)?o[1]:300)},[o,r]),d=f.useCallback(h=>{a.current=!0,o?(clearTimeout(s.current),s.current=window.setTimeout(()=>{r(!0)},Array.isArray(o)?o[t?1:0]:o)):r(!0)},[o,t,r]),p=f.useCallback(h=>{i&&i.contains(h.relatedTarget)||(a.current=!1,setTimeout(()=>{a.current||(clearTimeout(s.current),r(!1))},300))},[a,i,r]);return f.useMemo(()=>{const h={};return n||(e==="click"&&(h.onClick=l),e==="contextMenu"&&(h.onContextMenu=l),e==="hover"&&(h.onMouseEnter=c,h.onMouseLeave=u,h.onFocus=d,h.onBlur=p)),h},[n,e,l,c,u,d,p])}function VB({popperElement:e,referenceElement:t,onRequestClose:r,setIsOpen:n,clickable:o}){f.useEffect(()=>{function i(a){(a.target instanceof HTMLElement||a.target instanceof SVGElement)&&(a.target!==document.body&&a.target!==document.querySelector("html")&&!document.body.contains(a.target)&&o||(e===a.target||e&&e.contains(a.target))&&o||t===a.target||t&&t.contains(a.target)||(r==null||r(),n(!1)))}return document.addEventListener("click",i),()=>{document.removeEventListener("click",i)}},[t,r,n,e,o])}function WB(e,t){f.useEffect(()=>{function r(n){n.key==="Escape"&&(e==null||e(),t(!1))}return document.addEventListener("keydown",r),()=>document.removeEventListener("keydown",r)},[e,t])}const jr=w.ul` - margin: 0; - gap: 5px; - background-color: ${({theme:e,$type:t})=>t==="nav"?e.colors.systemShade10:e.colors.white}; - border-radius: ${({$type:e})=>e==="nav"?"0":"4px"}; - list-style: none; - min-width: ${({$type:e})=>e==="nav"?"214px":"140px"}; - width: max-content; - padding: ${({$type:e})=>e==="nav"?"5px 8px":"5px"}; - text-align: left; - - user-select: none; - - ${e=>e.$fill?E` - width: 100%; - `:E` - max-width: 200px; - `} - - ${e=>e.$hasElevation&&E` - box-shadow: 0px 8px 20px rgba(0, 0, 0, 0.15); - `} - - ${({$type:e})=>e==="nav"&&E` - & & { - padding: 2px 8px; - background: ${({theme:t})=>t.colors.systemShade20}; - margin-left: -8px; - box-shadow: none; - } - `} -`;w.li` - display: block; - cursor: default; - user-select: none; - ${({$type:e,theme:t,hasTitle:r})=>e==="nav"?E` - padding: 7px 0px; - margin: ${r?"17px 10px 4px 10px":"0 15px"}; - color: ${t.colors.systemShade40}; - letter-spacing: 0.08em; - border-bottom: 1px solid ${t.colors.systemShade30}; - `:E` - border-top: 1px solid ${t.colors.grey20}; - margin: 5px; - > * { - padding-top: 10px; - display: inline-block; - } - - :first-of-type { - border-color: transparent; - > * { - padding-top: 0; - } - } - `} -`;const UB=w.a` - align-items: center; - overflow: hidden; - display: flex; - border-radius: ${({$type:e})=>e==="nav"?"3px":"2px"}; - padding: ${({$type:e})=>e==="nav"?"5px 12px":"5px 7px"}; - text-decoration: none; - user-select: none; - background-color: transparent; - text-decoration: none; - user-select: none; - cursor: pointer; - gap: 5px; - ${({$type:e,theme:t})=>e==="nav"&&E` - color: ${t.colors.systemShade80}; - margin: 2px 0; - `}; - - :hover, - :focus { - background-color: ${({$type:e,theme:t})=>e==="nav"?t.colors.systemShade20:t.colors.grey10}; - } - - ${jr} ${jr} &:not([disabled]):hover, - ${jr} ${jr} &:not([disabled]):focus { - ${({$type:e})=>e==="nav"&&E` - background: ${({theme:t})=>t.colors.systemShade30}; - `} - } - ${({useHoverState:e,$type:t,theme:r})=>e&&E` - background-color: ${t==="nav"?r.colors.systemShade20:r.colors.grey10}; - `} - - &[data-active="true"], - :active { - background-color: ${({$type:e,theme:t})=>e==="nav"?t.colors.systemShade30:t.colors.grey20}; - ${({$type:e})=>e=="nav"&&E` - color: ${({theme:t})=>t.colors.brandShade100}; - `} - } - ${jr} ${jr} &:not([disabled])[data-active="true"] { - ${({$type:e})=>e==="nav"&&E` - background: ${({theme:t})=>t.colors.systemShade30}; - `} - } - &[disabled] { - background-color: transparent; - color: ${e=>e.theme.colors.grey20}; - - &[data-active="true"], - :hover, - :focus, - :active { - cursor: default; - background-color: ${e=>e.theme.colors.white}; - color: ${e=>e.theme.colors.grey20}; - } - } -`,HB=w(ve)` - color: ${({iconColor:e,theme:t})=>e||t.colors.grey20}; - min-width: 15px; - max-width: 15px; - display: flex; - justify-content: center; -`;function GB({fill:e=!1,hasElevation:t=!0,children:r,type:n,...o}){return f.createElement(jr,{role:"menu",...le("Menu"),$fill:e,$hasElevation:t,$type:n,...o},r)}f.forwardRef(function({active:t,children:r,disabled:n,icon:o,rightIcon:i,label:a,htmlTitle:s,iconColor:l,type:c="normal",useHoverState:u,href:d,...p},v){const h=c==="nav"?"p16":"p5",m=f.createElement(UB,{...le("MenuItem"),ref:v,disabled:n,...p,title:s,useHoverState:u,active:t,$type:c,href:d,"data-active":t},f.createElement(f.Fragment,null,o&&f.createElement(HB,{type:h,iconColor:l},Te(o)?f.createElement(j,{icon:o}):ke(o)?f.createElement(j,{...o}):o),f.createElement(ve,{$fill:!0,overflow:"ellipsis",type:h},a),i&&f.createElement(ve,{type:h},Te(i)?f.createElement(j,{icon:i}):ke(i)?f.createElement(j,{...i}):i),r&&f.createElement(j,{icon:_w})));return r?f.createElement("li",{role:"menuitem"},f.createElement(NB,{modifiers:qB,placement:"right-start",clickable:!0,interactionType:"hover",content:f.createElement(GB,null,r),usePortal:!1},m)):f.createElement("li",{role:"menuitem"},m)});const qB=[{name:"flip",options:{rootBoundary:"viewport",padding:20}},{name:"offset",options:{offset:[-5,14]}},{name:"preventOverflow",options:{rootBoundary:"viewport",padding:20}}];w.div` - position: absolute; - ${({top:e})=>e?"top: "+e:""}; - ${({bottom:e})=>e?"bottom: "+e:""}; - ${({left:e})=>e?"left: "+e:""}; - ${({right:e})=>e?"right: "+e:""}; -`;w(li.div)` - display: flex; - justify-content: center; - align-items: center; - min-height: 100%; - width: 100%; - pointer-events: none; - position: relative; -`;w.div` - background-color: ${e=>e.theme.colors.white}; - - display: flex; - flex-direction: column; - pointer-events: all; - width: ${e=>e.width?e.width:pe(e.size).with("small",()=>"480px").with("medium",()=>"640px").with("large",()=>"840px").with("xlarge",()=>"1200px").with("overlay",()=>"100%").exhaustive()}; // Space for the close btn - - ${e=>e.height&&E` - height: ${e.height}; - `} - - ${({size:e})=>e!=="overlay"&&E` - border-radius: 8px; - max-width: calc(100vw - 96px); - max-height: calc(100vh - 96px); - ${qs("sm")} { - width: calc(100vw - 63px); - } - `} - - overflow: hidden; - z-index: 20; - filter: drop-shadow(0px 8px 20px rgba(0, 0, 0, 0.15)); -`;w.div` - ${({size:e})=>e!=="overlay"&&E` - padding: 0 38px; - ${qs("sm")} { - padding: 0 30px; - } - `} - position: relative; -`;w.div` - position: absolute; - right: 0; - background-color: ${({theme:e})=>e.colors.white}; - box-shadow: 0px 5px 8px rgba(0, 0, 0, 0.05); - padding: 10px; - border-radius: 100%; - width: 28px; - height: 28px; - box-sizing: border-box; - display: flex; - align-items: center; - justify-content: center; - cursor: pointer; - z-index: ${({theme:e})=>e.layers.modal}; - - button { - color: ${({theme:e})=>e.colors.brandShade100}; - } -`;w(he)` - background-color: ${e=>e.backgroundColor?e.theme.colors[e.backgroundColor]:e.theme.colors.grey5}; - color: ${e=>e.color?e.theme.colors[e.color]:e.theme.colors.grey100}; - padding: 16px 24px; - flex-shrink: 0; - border-bottom: 1px solid ${({theme:e})=>e.colors.grey20}; -`;w.div` - padding: 20px 24px; - ${Cf.p_p2_paragraph} -`;w.div` - padding: 16px; - border-top: 1px solid ${({theme:e})=>e.colors.grey20}; -`;w(ve).attrs({type:"p6",as:"label"})` - transition: all 0.2s ease-in-out; - box-sizing: border-box; - line-height: 1; - display: flex; - align-items: center; - justify-content: center; - border-radius: 40px; - padding: 2px 6px; - min-height: 20px; - width: fit-content; - gap: 6px; - color: ${e=>e.theme.colors.brandShade100}; - background-color: ${({theme:e})=>e.colors.brandShade20}; - - :hover { - background-color: ${({theme:e})=>e.colors.brandShade40}; - } -`;const Ag=w(j)` - visibility: hidden; - position: absolute; - right: 9px; - top: 10px; - pointer-events: none; - color: ${({theme:e})=>e.colors.grey40}; -`;w.div` - width: ${({fillWidth:e})=>e?"100%":"fit-content"}; - display: ${({fillWidth:e})=>e?"block":"inline-block"}; - position: relative; - - select { - border-radius: 4px; - border: 1px solid ${({theme:e,error:t})=>t?e.colors.red100:e.colors.grey20}; - color: ${({theme:e,hasSelectedValue:t,hasPlaceholder:r})=>!r||t?e.colors.grey100:e.colors.grey80}; - display: inline-flex; - flex-direction: row; - align-items: center; - cursor: pointer; - font-size: 12px; - justify-content: center; - text-align: left; - vertical-align: middle; - -moz-appearance: none; - -webkit-appearance: none; - height: 30px; - line-height: 25px; - padding: 0 25px 0 10px; - width: ${({fillWidth:e})=>e?"100%":"auto"}; - - > * { - flex-grow: 0; - flex-shrink: 0; - } - - option { - color: ${({theme:e})=>e.colors.grey100}; - } - - &:hover { - border-color: ${({theme:e,error:t})=>t?e.colors.red100:e.colors.grey40}; - color: ${({theme:e})=>e.colors.grey100}; - } - - &:focus { - border-color: ${({theme:e})=>e.colors.brandShade100}; - color: ${({theme:e})=>e.colors.brandShade100}; - background-color: ${({theme:e})=>e.colors.brandShade40}; - outline: none; - } - - &:disabled { - border-color: ${({theme:e})=>e.colors.grey20}; - color: ${({theme:e})=>e.colors.grey40}; - background-color: ${({theme:e})=>e.colors.grey5}; - } - - ${({theme:e,inline:t,required:r,error:n})=>t&&E` - border: none; - border-radius: 0; - border-bottom: 1px solid - ${n?e.colors.red100:r?e.colors.red20:"transparent"}; - - &:hover { - border-bottom-color: ${r?e.colors.red20:n?e.colors.red100:e.colors.grey20}; - } - - &:focus { - border-bottom-color: ${({theme:o})=>o.colors.cyan80}; - color: ${({theme:o})=>o.colors.grey100}; - background-color: ${e.colors.white}; - } - &:disabled { - background-color: ${({theme:o})=>o.colors.white}; - } - `}; - } - - // Control the dropdown icon color - :hover { - ${Ag} { - visibility: visible; - color: ${({theme:e,inline:t,disabled:r})=>t&&!r&&e.colors.brandShade100}; - } - } - &:focus-within { - ${Ag} { - color: ${({theme:e})=>e.colors.brandShade100}; - } - } -`;w(ve).attrs({as:"p",type:"p1"})` - color: ${({theme:e})=>e.colors.grey80}; - margin-right: 8px; -`;w(ve).attrs({as:"p",type:"p1"})` - margin-right: 8px; -`;w(Qn)` - margin-right: 16px; -`;w(Qn)` - margin-right: 8px; -`;w(Qn)` - margin-left: 8px; -`;w(Qn)` - margin-left: 12px; -`;w.input` - position: absolute; - top: 0; - left: 0; - margin: 0; - opacity: 0; -`;w.label` - display: flex; - align-items: center; - gap: 8px; -`;w.div` - width: ${e=>e.size}px; - height: ${e=>e.size}px; - display: flex; - align-items: center; - justify-content: center; - position: relative; - width: 12px; - height: 12px; -`;w.div` - position: absolute; - top: 0; - left: 0; - width: ${e=>e.size}px; - height: ${e=>e.size}px; - min-width: 12px; - min-height: 12px; - border: ${({disabled:e,error:t,checked:r,theme:n})=>r?void 0:`solid 1px ${pe({disabled:e,error:t}).with({disabled:!0},()=>n.colors.grey20).with({error:!0},()=>n.colors.red100).otherwise(()=>n.colors.grey20)}`}; - box-sizing: border-box; - opacity: ${e=>e.checked?"1":"0.7"}; - border-radius: 50%; - display: flex; - align-items: center; - background: ${({disabled:e,error:t,checked:r,theme:n})=>pe({disabled:e,error:t,checked:r}).with({disabled:!0,checked:!0},()=>n.colors.grey40).with({disabled:!0,checked:!1},()=>n.colors.grey10).with({error:!0,checked:!0},()=>n.colors.red100).with({checked:!0},()=>n.colors.brandShade100).otherwise(()=>n.colors.white)}; - cursor: ${({disabled:e})=>e?"not-allowed":"pointer"}; - &:hover { - border: ${({disabled:e,error:t,checked:r,theme:n,isDisplayOnly:o})=>r||o?void 0:`solid 1px ${pe({disabled:e,error:t}).with({disabled:!0},()=>n.colors.grey20).with({error:!0},()=>n.colors.red100).otherwise(()=>n.colors.grey40)}`}; - } -`;w.div` - display: ${e=>!e.checked&&"none"}; - width: 4px; - height: 4px; - background: ${e=>e.theme.colors.white}; - box-sizing: border-box; - border-radius: 50%; - margin: auto; -`;w.div` - font-family: ${({theme:e})=>e.fonts.headingPrimary}; - font-style: normal; - font-weight: 500; - font-size: 12px; - line-height: 110%; - padding: 6px 0; - display: flex; - align-items: center; -`;w(he)` - flex-direction: column; - padding: 6px 8px; -`;w(he).attrs({vertical:!0})` - padding: 6px 0; - width: 100%; -`;const YB=E` - ${({active:e,isTicketHistory:t})=>e&&t?Zr.h1:Zr.h2} -`;w(he)` - cursor: default; - align-items: center; - justify-content: center; - pointer-events: ${({disabled:e})=>e?"none":"initial"}; - color: ${e=>e.active?e.theme.colors.brandPrimary:e.disabled?e.theme.colors.grey20:e.theme.colors.grey40}; - border-bottom: ${e=>e.active?`solid 2px ${e.theme.colors.brandPrimary}`:"none"}; - padding: 0 3px 6px 3px; - - :hover { - color: ${e=>e.theme.colors.grey100}; - cursor: pointer; - } - - ${({active:e,tabStyle:t,theme:r})=>t==="button"&&E` - flex-grow: 1; - border: 1px solid ${r.colors.grey20}; - border-bottom: solid 1px ${e?r.colors.brandPrimary:r.colors.grey20}; - border-right-width: 0; - - :first-of-type { - border-left-width: 0; - } - - padding: 7px; - - ${e&&E` - background-color: ${r.colors.brandShade20}; - `}; - `}; - - ${YB}; -`;w(he)` - border-bottom: ${({tabStyle:e,theme:t})=>e==="button"?"none":`1px solid ${t.colors.grey5}`}; - width: 100%; - padding: ${({tabStyle:e})=>e==="button"?0:"6px 12px 0 12px"}; -`;w.ul` - margin: 0; - padding: 0; - - list-style: none; - display: flex; - overflow: hidden; - width: 100%; - flex-basis: 35px; - height: 35px; - flex-shrink: 0; -`;const XB=E` - background-color: ${e=>e.theme.colors.brandShade20}; - ${j} { - color: ${e=>e.theme.colors.brandShade100}; - } -`,KB=w.li` - flex-basis: ${({hasOptions:e})=>e?"60px":"36px"}; - height: 100%; - min-width: 40px; - display: flex; - justify-content: center; - overflow: hidden; - border-bottom: 1px solid transparent; - background-color: ${e=>e.theme.colors.white}; - - :hover { - background-color: ${e=>e.theme.colors.brandShade10}; - ${j} { - color: ${e=>e.theme.colors.brandShade100}; - } - .hoverTextBlue { - color: ${e=>e.theme.colors.brandShade100}; - } - } - - ${e=>e.$fill&&E` - border-bottom: 1px solid ${t=>t.theme.colors.grey20}; - background-color: ${t=>t.theme.colors.grey3}; - :hover { - background-color: ${t=>t.theme.colors.brandShade10}; - } - `} - - a { - width: 100%; - transition: all 0.1s ease-in-out; - display: flex; - justify-content: center; - overflow: hidden; - height: 100%; - cursor: pointer; - - :active { - background-color: ${e=>e.theme.colors.brandShade20}; - ${j} { - color: ${e=>e.theme.colors.brandShade100}; - } - } - } - :not(:last-child) { - border-right: 1px solid ${e=>e.theme.colors.grey20}; - } - - overflow: hidden; - - ${e=>e.$fill&&E` - a { - justify-content: flex-start; - } - flex: 1; - `} - ${e=>e.active&&XB}; -`;f.forwardRef(function({active:t,children:r,fill:n,hasOptions:o,...i},a){return f.createElement(KB,{...le("Tab"),$fill:n,active:t,hasOptions:o},f.createElement("a",{ref:a,...i},r))});const gw=w(ve).attrs({type:"p1",as:"div"})` - position: relative; - width: 100%; - line-height: 0; - outline: none; - max-width: initial; -`,ZB=w.span` - display: block; - position: absolute; - padding-right: 5px; - padding-left: 10px; - bottom: 3px; - right: 0; - background: ${({theme:e})=>e.colors.white}; - background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 1) 10px); -`,JB=w.span` - display: block; - position: absolute; - margin-right: 10px; - padding-left: 10px; - bottom: 3px; - right: 0; - background: ${({theme:e})=>e.colors.white}; - background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 1) 10px); -`,QB=E` - transition: color 0.2s ease-in-out, background-color 0.2s ease-in-out, - border-color 0.2s ease-in-out, box-shadow 0.2s ease-in-out; - color: ${({theme:e})=>e.colors.grey100}; - background-color: ${e=>e.theme.colors.white}; - width: 100%; - border-radius: 4px; - border: 1px solid ${({theme:e})=>e.colors.grey20}; - outline: none; - padding: 7px 10px; - box-sizing: border-box; - :hover { - border-color: ${({theme:e})=>e.colors.grey40}; - } - - ::placeholder { - font-family: ${e=>e.theme.fonts.primary}; - color: ${e=>e.theme.colors.grey80}; - } - - :focus { - border-color: ${({theme:e})=>e.colors.cyan80}; - box-shadow: 0 0 0 2px ${({theme:e})=>e.colors.cyan20}; - } - - :disabled { - cursor: not-allowed; - background-color: ${e=>e.theme.colors.grey5}; - border-color: ${e=>e.theme.colors.grey20}; - } - - :read-only { - cursor: not-allowed; - } -`,e7=E` - transition: color 0.2s ease-in-out, background-color 0.2s ease-in-out, - border-color 0.2s ease-in-out, box-shadow 0.2s ease-in-out; - color: ${({theme:e})=>e.colors.grey100}; - outline: none; - border: none; - border-bottom: 1px solid ${({theme:e})=>e.colors.grey10}; - width: 100%; - line-height: 150%; - box-shadow: none !important; - resize: none; - padding-left: 1px; - padding-right: 1px; - - :disabled { - cursor: not-allowed; - background-color: ${e=>e.theme.colors.grey5}; - border-color: ${e=>e.theme.colors.grey10}; - } - - :read-only { - cursor: not-allowed; - } - - ::placeholder { - color: ${({theme:e})=>e.colors.grey40}; - opacity: 1; - } -`,t7=E` - :hover { - border-color: ${({theme:e})=>e.colors.grey20}; - } - - :focus { - border-color: ${({theme:e})=>e.colors.cyan80}; - } -`,yw=E` - border-color: ${e=>e.theme.colors.red40}; - - :hover { - border-color: ${e=>e.theme.colors.red80}; - } - - :focus { - border-color: ${({theme:e})=>e.colors.red100}; - box-shadow: 0 0 0 2px ${({theme:e})=>e.colors.red20}; - } -`,r7=E` - display: inline-flex; - align-items: center; - border-color: ${({theme:e})=>e.colors.white}; - padding: 2px 1px; - - :read-only { - cursor: default; - } - :hover { - cursor: pointer; - } - :hover[data-disabled="true"], - :hover[data-readonly="true"] { - cursor: default; - border-color: ${({theme:e})=>e.colors.white}; - } -`,n7=w.span` - && { - color: ${({theme:e,value:t,defaultValue:r})=>t||r?e.colors.grey100:e.colors.grey40}; - } -`,o7=w.span` - display: -webkit-box; - -webkit-box-orient: vertical; - overflow: hidden; - overflow-wrap: break-word; - word-break: break-all; -`,i7=w.div` - white-space: pre-wrap; - - & span { - word-break: break-word; - } -`,cs=e=>{const t=e.style.height;e.style.height="0";const r=Math.floor(e.scrollHeight/parseInt(getComputedStyle(e).lineHeight));return e.style.height=t,r},a7=(e,t)=>Math.ceil(t*parseInt(getComputedStyle(e).lineHeight));function s7(e){return e.variant==="normal"||e.variant===void 0?E` - ${QB}; - `:E` - ${Xs} - `}w(f.forwardRef(function({error:t,onChange:r,rightIcon:n,calcRow:o=!0,...i},a){const s=f.useRef(null),[l,c]=f.useState();return f.useEffect(()=>{s.current&&c(cs(s.current))},[s,c]),f.createElement(gw,{...le("TextArea")},f.createElement("textarea",{...i,ref:ti(s,a),rows:o?l:void 0,onChange:u=>{r&&r(u),c(cs(u.target))}}),n&&f.createElement(JB,null,n))}))` - ${e=>s7(e)} - height: auto; - ${e=>(e.error||e.required)&&yw}; -`;w(f.forwardRef(function({error:t,isVisibleInput:r,onChange:n,maxRows:o,removeHoverStyle:i,disableEditOnClick:a,highlightWord:s,onClickInputGroup:l,id:c,...u},d){var p;const[v,h]=f.useState(1),[m,y]=f.useState(!1),[x,b]=f.useState(!1),[$,g]=f.useState();f.useEffect(()=>{typeof r<"u"&&y(r)},[r]);const C=f.useRef(null),S=f.useRef(null);f.useEffect(()=>{!m&&S.current&&h(cs(S.current))},[h,m]),f.useEffect(()=>{m&&C.current&&(C.current.focus({preventScroll:!0}),C.current.setSelectionRange(C.current.value.length,C.current.value.length))},[m]),f.useEffect(()=>{if(S.current){const T=o?a7(S.current,o):void 0;g(T)}},[o]);const O=$&&S.current&&$<((p=S.current)===null||p===void 0?void 0:p.scrollHeight)&&!m;return f.createElement(Bn,{content:u.value,disabled:!O,styleType:"light",hideOnClick:!0},f.createElement(i7,null,f.createElement(gw,{"data-disabled":u.disabled,"data-readonly":u.readOnly,onClick:T=>{u.disabled||u.readOnly||a||(y(!0),b(!0),l&&l(T))},onMouseEnter:()=>{u.disabled||u.readOnly||b(!0)},onMouseLeave:()=>{u.disabled||u.readOnly||b(!1)}},f.createElement("textarea",{...u,id:c,ref:ti(C,d),rows:v,onChange:T=>{n&&n(T),h(cs(T.target))},onBlur:T=>{y(!1),b(!1),u.onBlur&&u.onBlur(T)},onFocus:T=>u.onFocus&&u.onFocus(T),style:{display:m?void 0:"none"}}),f.createElement(n7,{...u,"data-disabled":u.disabled,"data-readonly":u.readOnly,style:{display:m?"none":void 0}},f.createElement(o7,{style:{maxHeight:$},ref:S},s&&typeof u.value=="string"?f.createElement(vB,{searchWords:[s],autoEscape:typeof s=="string",textToHighlight:u.value,highlightStyle:{fontWeight:"bold",background:"none"}}):u.value||u.defaultValue||u.placeholder),!i&&f.createElement(ZB,{style:{visibility:x?"visible":"hidden"}},f.createElement(j,{icon:Lw}))))))}))` - ${e7}; - ${({removeHoverStyle:e})=>!e&&t7}; - ${r7}; - ${e=>(e.error||e.required)&&yw}; -`;w.label` - display: flex; - flex-direction: column; -`;w.div` - padding: 3px 0; - margin-left: 4px; - position: relative; - top: 3px; -`;w(he)` - width: 30px; - margin-right: 3px; - - input::-webkit-outer-spin-button, - input::-webkit-inner-spin-button { - -webkit-appearance: none; - margin: 0; - } - - ${y1} { - border-bottom-color: transparent; - - :focus { - border-color: ${({theme:e})=>e.colors.cyan80}; - } - } - - input { - -moz-appearance: textfield; // To hide arrows on input with type="number" - } -`;w(he).attrs({gap:3})` - height: 26px; - align-items: center; - justify-content: center; -`;w.div` - padding: 3px 0; - margin-left: 4px; - position: relative; - top: -7px; -`;var l7="tippy-box",bw="tippy-content",c7="tippy-backdrop",xw="tippy-arrow",ww="tippy-svg-arrow",Nr={passive:!0,capture:!0},$w=function(){return document.body};function Cc(e,t,r){if(Array.isArray(e)){var n=e[t];return n??(Array.isArray(r)?r[t]:r)}return e}function Xd(e,t){var r={}.toString.call(e);return r.indexOf("[object")===0&&r.indexOf(t+"]")>-1}function Ew(e,t){return typeof e=="function"?e.apply(void 0,t):e}function Pg(e,t){if(t===0)return e;var r;return function(n){clearTimeout(r),r=setTimeout(function(){e(n)},t)}}function u7(e){return e.split(/\s+/).filter(Boolean)}function xn(e){return[].concat(e)}function zg(e,t){e.indexOf(t)===-1&&e.push(t)}function f7(e){return e.filter(function(t,r){return e.indexOf(t)===r})}function d7(e){return e.split("-")[0]}function us(e){return[].slice.call(e)}function _g(e){return Object.keys(e).reduce(function(t,r){return e[r]!==void 0&&(t[r]=e[r]),t},{})}function Ro(){return document.createElement("div")}function cl(e){return["Element","Fragment"].some(function(t){return Xd(e,t)})}function p7(e){return Xd(e,"NodeList")}function h7(e){return Xd(e,"MouseEvent")}function v7(e){return!!(e&&e._tippy&&e._tippy.reference===e)}function m7(e){return cl(e)?[e]:p7(e)?us(e):Array.isArray(e)?e:us(document.querySelectorAll(e))}function Oc(e,t){e.forEach(function(r){r&&(r.style.transitionDuration=t+"ms")})}function Ig(e,t){e.forEach(function(r){r&&r.setAttribute("data-state",t)})}function g7(e){var t,r=xn(e),n=r[0];return n!=null&&(t=n.ownerDocument)!=null&&t.body?n.ownerDocument:document}function y7(e,t){var r=t.clientX,n=t.clientY;return e.every(function(o){var i=o.popperRect,a=o.popperState,s=o.props,l=s.interactiveBorder,c=d7(a.placement),u=a.modifiersData.offset;if(!u)return!0;var d=c==="bottom"?u.top.y:0,p=c==="top"?u.bottom.y:0,v=c==="right"?u.left.x:0,h=c==="left"?u.right.x:0,m=i.top-n+d>l,y=n-i.bottom-p>l,x=i.left-r+v>l,b=r-i.right-h>l;return m||y||x||b})}function Tc(e,t,r){var n=t+"EventListener";["transitionend","webkitTransitionEnd"].forEach(function(o){e[n](o,r)})}function Rg(e,t){for(var r=t;r;){var n;if(e.contains(r))return!0;r=r.getRootNode==null||(n=r.getRootNode())==null?void 0:n.host}return!1}var Gt={isTouch:!1},Lg=0;function b7(){Gt.isTouch||(Gt.isTouch=!0,window.performance&&document.addEventListener("mousemove",Sw))}function Sw(){var e=performance.now();e-Lg<20&&(Gt.isTouch=!1,document.removeEventListener("mousemove",Sw)),Lg=e}function x7(){var e=document.activeElement;if(v7(e)){var t=e._tippy;e.blur&&!t.state.isVisible&&e.blur()}}function w7(){document.addEventListener("touchstart",b7,Nr),window.addEventListener("blur",x7)}var $7=typeof window<"u"&&typeof document<"u",E7=$7?!!window.msCrypto:!1,S7={animateFill:!1,followCursor:!1,inlinePositioning:!1,sticky:!1},C7={allowHTML:!1,animation:"fade",arrow:!0,content:"",inertia:!1,maxWidth:350,role:"tooltip",theme:"",zIndex:9999},_t=Object.assign({appendTo:$w,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},S7,C7),O7=Object.keys(_t),T7=function(t){var r=Object.keys(t);r.forEach(function(n){_t[n]=t[n]})};function Cw(e){var t=e.plugins||[],r=t.reduce(function(n,o){var i=o.name,a=o.defaultValue;if(i){var s;n[i]=e[i]!==void 0?e[i]:(s=_t[i])!=null?s:a}return n},{});return Object.assign({},e,r)}function k7(e,t){var r=t?Object.keys(Cw(Object.assign({},_t,{plugins:t}))):O7,n=r.reduce(function(o,i){var a=(e.getAttribute("data-tippy-"+i)||"").trim();if(!a)return o;if(i==="content")o[i]=a;else try{o[i]=JSON.parse(a)}catch{o[i]=a}return o},{});return n}function Fg(e,t){var r=Object.assign({},t,{content:Ew(t.content,[e])},t.ignoreAttributes?{}:k7(e,t.plugins));return r.aria=Object.assign({},_t.aria,r.aria),r.aria={expanded:r.aria.expanded==="auto"?t.interactive:r.aria.expanded,content:r.aria.content==="auto"?t.interactive?null:"describedby":r.aria.content},r}var A7=function(){return"innerHTML"};function Yu(e,t){e[A7()]=t}function Dg(e){var t=Ro();return e===!0?t.className=xw:(t.className=ww,cl(e)?t.appendChild(e):Yu(t,e)),t}function Mg(e,t){cl(t.content)?(Yu(e,""),e.appendChild(t.content)):typeof t.content!="function"&&(t.allowHTML?Yu(e,t.content):e.textContent=t.content)}function Xu(e){var t=e.firstElementChild,r=us(t.children);return{box:t,content:r.find(function(n){return n.classList.contains(bw)}),arrow:r.find(function(n){return n.classList.contains(xw)||n.classList.contains(ww)}),backdrop:r.find(function(n){return n.classList.contains(c7)})}}function Ow(e){var t=Ro(),r=Ro();r.className=l7,r.setAttribute("data-state","hidden"),r.setAttribute("tabindex","-1");var n=Ro();n.className=bw,n.setAttribute("data-state","hidden"),Mg(n,e.props),t.appendChild(r),r.appendChild(n),o(e.props,e.props);function o(i,a){var s=Xu(t),l=s.box,c=s.content,u=s.arrow;a.theme?l.setAttribute("data-theme",a.theme):l.removeAttribute("data-theme"),typeof a.animation=="string"?l.setAttribute("data-animation",a.animation):l.removeAttribute("data-animation"),a.inertia?l.setAttribute("data-inertia",""):l.removeAttribute("data-inertia"),l.style.maxWidth=typeof a.maxWidth=="number"?a.maxWidth+"px":a.maxWidth,a.role?l.setAttribute("role",a.role):l.removeAttribute("role"),(i.content!==a.content||i.allowHTML!==a.allowHTML)&&Mg(c,e.props),a.arrow?u?i.arrow!==a.arrow&&(l.removeChild(u),l.appendChild(Dg(a.arrow))):l.appendChild(Dg(a.arrow)):u&&l.removeChild(u)}return{popper:t,onUpdate:o}}Ow.$$tippy=!0;var P7=1,ta=[],kc=[];function z7(e,t){var r=Fg(e,Object.assign({},_t,Cw(_g(t)))),n,o,i,a=!1,s=!1,l=!1,c=!1,u,d,p,v=[],h=Pg(Fe,r.interactiveDebounce),m,y=P7++,x=null,b=f7(r.plugins),$={isEnabled:!0,isVisible:!1,isDestroyed:!1,isMounted:!1,isShown:!1},g={id:y,reference:e,popper:Ro(),popperInstance:x,props:r,state:$,plugins:b,clearDelayTimeouts:fn,setProps:_r,setContent:Ir,show:ao,hide:ul,hideWithInteractivity:Rr,enable:fr,disable:un,unmount:xi,destroy:dn};if(!r.render)return g;var C=r.render(g),S=C.popper,O=C.onUpdate;S.setAttribute("data-tippy-root",""),S.id="tippy-"+g.id,g.popper=S,e._tippy=g,S._tippy=g;var T=b.map(function(P){return P.fn(g)}),k=e.hasAttribute("aria-expanded");return ne(),ce(),Y(),J("onCreate",[g]),r.showOnCreate&&Xe(),S.addEventListener("mouseenter",function(){g.props.interactive&&g.state.isVisible&&g.clearDelayTimeouts()}),S.addEventListener("mouseleave",function(){g.props.interactive&&g.props.trigger.indexOf("mouseenter")>=0&&X().addEventListener("mousemove",h)}),g;function L(){var P=g.props.touch;return Array.isArray(P)?P:[P,0]}function B(){return L()[0]==="hold"}function N(){var P;return!!((P=g.props.render)!=null&&P.$$tippy)}function W(){return m||e}function X(){var P=W().parentNode;return P?g7(P):document}function V(){return Xu(S)}function te(P){return g.state.isMounted&&!g.state.isVisible||Gt.isTouch||u&&u.type==="focus"?0:Cc(g.props.delay,P?0:1,_t.delay)}function Y(P){P===void 0&&(P=!1),S.style.pointerEvents=g.props.interactive&&!P?"":"none",S.style.zIndex=""+g.props.zIndex}function J(P,q,ie){if(ie===void 0&&(ie=!0),T.forEach(function(de){de[P]&&de[P].apply(de,q)}),ie){var me;(me=g.props)[P].apply(me,q)}}function H(){var P=g.props.aria;if(P.content){var q="aria-"+P.content,ie=S.id,me=xn(g.props.triggerTarget||e);me.forEach(function(de){var Ge=de.getAttribute(q);if(g.state.isVisible)de.setAttribute(q,Ge?Ge+" "+ie:ie);else{var ft=Ge&&Ge.replace(ie,"").trim();ft?de.setAttribute(q,ft):de.removeAttribute(q)}})}}function ce(){if(!(k||!g.props.aria.expanded)){var P=xn(g.props.triggerTarget||e);P.forEach(function(q){g.props.interactive?q.setAttribute("aria-expanded",g.state.isVisible&&q===W()?"true":"false"):q.removeAttribute("aria-expanded")})}}function xe(){X().removeEventListener("mousemove",h),ta=ta.filter(function(P){return P!==h})}function A(P){if(!(Gt.isTouch&&(l||P.type==="mousedown"))){var q=P.composedPath&&P.composedPath()[0]||P.target;if(!(g.props.interactive&&Rg(S,q))){if(xn(g.props.triggerTarget||e).some(function(ie){return Rg(ie,q)})){if(Gt.isTouch||g.state.isVisible&&g.props.trigger.indexOf("click")>=0)return}else J("onClickOutside",[g,P]);g.props.hideOnClick===!0&&(g.clearDelayTimeouts(),g.hide(),s=!0,setTimeout(function(){s=!1}),g.state.isMounted||D())}}}function I(){l=!0}function z(){l=!1}function _(){var P=X();P.addEventListener("mousedown",A,!0),P.addEventListener("touchend",A,Nr),P.addEventListener("touchstart",z,Nr),P.addEventListener("touchmove",I,Nr)}function D(){var P=X();P.removeEventListener("mousedown",A,!0),P.removeEventListener("touchend",A,Nr),P.removeEventListener("touchstart",z,Nr),P.removeEventListener("touchmove",I,Nr)}function Q(P,q){U(P,function(){!g.state.isVisible&&S.parentNode&&S.parentNode.contains(S)&&q()})}function G(P,q){U(P,q)}function U(P,q){var ie=V().box;function me(de){de.target===ie&&(Tc(ie,"remove",me),q())}if(P===0)return q();Tc(ie,"remove",d),Tc(ie,"add",me),d=me}function re(P,q,ie){ie===void 0&&(ie=!1);var me=xn(g.props.triggerTarget||e);me.forEach(function(de){de.addEventListener(P,q,ie),v.push({node:de,eventType:P,handler:q,options:ie})})}function ne(){B()&&(re("touchstart",Se,{passive:!0}),re("touchend",it,{passive:!0})),u7(g.props.trigger).forEach(function(P){if(P!=="manual")switch(re(P,Se),P){case"mouseenter":re("mouseleave",it);break;case"focus":re(E7?"focusout":"blur",at);break;case"focusin":re("focusout",at);break}})}function Z(){v.forEach(function(P){var q=P.node,ie=P.eventType,me=P.handler,de=P.options;q.removeEventListener(ie,me,de)}),v=[]}function Se(P){var q,ie=!1;if(!(!g.state.isEnabled||ze(P)||s)){var me=((q=u)==null?void 0:q.type)==="focus";u=P,m=P.currentTarget,ce(),!g.state.isVisible&&h7(P)&&ta.forEach(function(de){return de(P)}),P.type==="click"&&(g.props.trigger.indexOf("mouseenter")<0||a)&&g.props.hideOnClick!==!1&&g.state.isVisible?ie=!0:Xe(P),P.type==="click"&&(a=!ie),ie&&!me&&We(P)}}function Fe(P){var q=P.target,ie=W().contains(q)||S.contains(q);if(!(P.type==="mousemove"&&ie)){var me=je().concat(S).map(function(de){var Ge,ft=de._tippy,ee=(Ge=ft.popperInstance)==null?void 0:Ge.state;return ee?{popperRect:de.getBoundingClientRect(),popperState:ee,props:r}:null}).filter(Boolean);y7(me,P)&&(xe(),We(P))}}function it(P){var q=ze(P)||g.props.trigger.indexOf("click")>=0&&a;if(!q){if(g.props.interactive){g.hideWithInteractivity(P);return}We(P)}}function at(P){g.props.trigger.indexOf("focusin")<0&&P.target!==W()||g.props.interactive&&P.relatedTarget&&S.contains(P.relatedTarget)||We(P)}function ze(P){return Gt.isTouch?B()!==P.type.indexOf("touch")>=0:!1}function jt(){_e();var P=g.props,q=P.popperOptions,ie=P.placement,me=P.offset,de=P.getReferenceClientRect,Ge=P.moveTransition,ft=N()?Xu(S).arrow:null,ee=de?{getBoundingClientRect:de,contextElement:de.contextElement||W()}:e,fe={name:"$$tippy",enabled:!0,phase:"beforeWrite",requires:["computeStyles"],fn:function(yt){var Nt=yt.state;if(N()){var bt=V(),fl=bt.box;["placement","reference-hidden","escaped"].forEach(function(wi){wi==="placement"?fl.setAttribute("data-placement",Nt.placement):Nt.attributes.popper["data-popper-"+wi]?fl.setAttribute("data-"+wi,""):fl.removeAttribute("data-"+wi)}),Nt.attributes.popper={}}}},Ce=[{name:"offset",options:{offset:me}},{name:"preventOverflow",options:{padding:{top:2,bottom:2,left:5,right:5}}},{name:"flip",options:{padding:5}},{name:"computeStyles",options:{adaptive:!Ge}},fe];N()&&ft&&Ce.push({name:"arrow",options:{element:ft,padding:3}}),Ce.push.apply(Ce,(q==null?void 0:q.modifiers)||[]),g.popperInstance=p1(ee,S,Object.assign({},q,{placement:ie,onFirstUpdate:p,modifiers:Ce}))}function _e(){g.popperInstance&&(g.popperInstance.destroy(),g.popperInstance=null)}function Je(){var P=g.props.appendTo,q,ie=W();g.props.interactive&&P===$w||P==="parent"?q=ie.parentNode:q=Ew(P,[ie]),q.contains(S)||q.appendChild(S),g.state.isMounted=!0,jt()}function je(){return us(S.querySelectorAll("[data-tippy-root]"))}function Xe(P){g.clearDelayTimeouts(),P&&J("onTrigger",[g,P]),_();var q=te(!0),ie=L(),me=ie[0],de=ie[1];Gt.isTouch&&me==="hold"&&de&&(q=de),q?n=setTimeout(function(){g.show()},q):g.show()}function We(P){if(g.clearDelayTimeouts(),J("onUntrigger",[g,P]),!g.state.isVisible){D();return}if(!(g.props.trigger.indexOf("mouseenter")>=0&&g.props.trigger.indexOf("click")>=0&&["mouseleave","mousemove"].indexOf(P.type)>=0&&a)){var q=te(!1);q?o=setTimeout(function(){g.state.isVisible&&g.hide()},q):i=requestAnimationFrame(function(){g.hide()})}}function fr(){g.state.isEnabled=!0}function un(){g.hide(),g.state.isEnabled=!1}function fn(){clearTimeout(n),clearTimeout(o),cancelAnimationFrame(i)}function _r(P){if(!g.state.isDestroyed){J("onBeforeUpdate",[g,P]),Z();var q=g.props,ie=Fg(e,Object.assign({},q,_g(P),{ignoreAttributes:!0}));g.props=ie,ne(),q.interactiveDebounce!==ie.interactiveDebounce&&(xe(),h=Pg(Fe,ie.interactiveDebounce)),q.triggerTarget&&!ie.triggerTarget?xn(q.triggerTarget).forEach(function(me){me.removeAttribute("aria-expanded")}):ie.triggerTarget&&e.removeAttribute("aria-expanded"),ce(),Y(),O&&O(q,ie),g.popperInstance&&(jt(),je().forEach(function(me){requestAnimationFrame(me._tippy.popperInstance.forceUpdate)})),J("onAfterUpdate",[g,P])}}function Ir(P){g.setProps({content:P})}function ao(){var P=g.state.isVisible,q=g.state.isDestroyed,ie=!g.state.isEnabled,me=Gt.isTouch&&!g.props.touch,de=Cc(g.props.duration,0,_t.duration);if(!(P||q||ie||me)&&!W().hasAttribute("disabled")&&(J("onShow",[g],!1),g.props.onShow(g)!==!1)){if(g.state.isVisible=!0,N()&&(S.style.visibility="visible"),Y(),_(),g.state.isMounted||(S.style.transition="none"),N()){var Ge=V(),ft=Ge.box,ee=Ge.content;Oc([ft,ee],0)}p=function(){var Ce;if(!(!g.state.isVisible||c)){if(c=!0,S.offsetHeight,S.style.transition=g.props.moveTransition,N()&&g.props.animation){var kt=V(),yt=kt.box,Nt=kt.content;Oc([yt,Nt],de),Ig([yt,Nt],"visible")}H(),ce(),zg(kc,g),(Ce=g.popperInstance)==null||Ce.forceUpdate(),J("onMount",[g]),g.props.animation&&N()&&G(de,function(){g.state.isShown=!0,J("onShown",[g])})}},Je()}}function ul(){var P=!g.state.isVisible,q=g.state.isDestroyed,ie=!g.state.isEnabled,me=Cc(g.props.duration,1,_t.duration);if(!(P||q||ie)&&(J("onHide",[g],!1),g.props.onHide(g)!==!1)){if(g.state.isVisible=!1,g.state.isShown=!1,c=!1,a=!1,N()&&(S.style.visibility="hidden"),xe(),D(),Y(!0),N()){var de=V(),Ge=de.box,ft=de.content;g.props.animation&&(Oc([Ge,ft],me),Ig([Ge,ft],"hidden"))}H(),ce(),g.props.animation?N()&&Q(me,g.unmount):g.unmount()}}function Rr(P){X().addEventListener("mousemove",h),zg(ta,h),h(P)}function xi(){g.state.isVisible&&g.hide(),g.state.isMounted&&(_e(),je().forEach(function(P){P._tippy.unmount()}),S.parentNode&&S.parentNode.removeChild(S),kc=kc.filter(function(P){return P!==g}),g.state.isMounted=!1,J("onHidden",[g]))}function dn(){g.state.isDestroyed||(g.clearDelayTimeouts(),g.unmount(),Z(),delete e._tippy,g.state.isDestroyed=!0,J("onDestroy",[g]))}}function bi(e,t){t===void 0&&(t={});var r=_t.plugins.concat(t.plugins||[]);w7();var n=Object.assign({},t,{plugins:r}),o=m7(e),i=o.reduce(function(a,s){var l=s&&z7(s,n);return l&&a.push(l),a},[]);return cl(e)?i[0]:i}bi.defaultProps=_t;bi.setDefaultProps=T7;bi.currentInput=Gt;Object.assign({},i1,{effect:function(t){var r=t.state,n={popper:{position:r.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};Object.assign(r.elements.popper.style,n.popper),r.styles=n,r.elements.arrow&&Object.assign(r.elements.arrow.style,n.arrow)}});bi.setDefaultProps({render:Ow});function Tw(e,t){if(e==null)return{};var r={},n=Object.keys(e),o,i;for(i=0;i<n.length;i++)o=n[i],!(t.indexOf(o)>=0)&&(r[o]=e[o]);return r}var kw=typeof window<"u"&&typeof document<"u";function Ku(e,t){e&&(typeof e=="function"&&e(t),{}.hasOwnProperty.call(e,"current")&&(e.current=t))}function jg(){return kw&&document.createElement("div")}function _7(e){var t={"data-placement":e.placement};return e.referenceHidden&&(t["data-reference-hidden"]=""),e.escaped&&(t["data-escaped"]=""),t}function Aw(e,t){if(e===t)return!0;if(typeof e=="object"&&e!=null&&typeof t=="object"&&t!=null){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(var r in e)if(t.hasOwnProperty(r)){if(!Aw(e[r],t[r]))return!1}else return!1;return!0}else return!1}function I7(e){var t=[];return e.forEach(function(r){t.find(function(n){return Aw(r,n)})||t.push(r)}),t}function R7(e,t){var r,n;return Object.assign({},t,{popperOptions:Object.assign({},e.popperOptions,t.popperOptions,{modifiers:I7([].concat(((r=e.popperOptions)==null?void 0:r.modifiers)||[],((n=t.popperOptions)==null?void 0:n.modifiers)||[]))})})}var Ac=kw?f.useLayoutEffect:f.useEffect;function L7(e){var t=f.useRef();return t.current||(t.current=typeof e=="function"?e():e),t.current}function Ng(e,t,r){r.split(/\s+/).forEach(function(n){n&&e.classList[t](n)})}var F7={name:"className",defaultValue:"",fn:function(t){var r=t.popper.firstElementChild,n=function(){var s;return!!((s=t.props.render)!=null&&s.$$tippy)};function o(){t.props.className&&!n()||Ng(r,"add",t.props.className)}function i(){n()&&Ng(r,"remove",t.props.className)}return{onCreate:o,onBeforeUpdate:i,onAfterUpdate:o}}};function D7(e){function t(r){var n=r.children,o=r.content,i=r.visible,a=r.singleton,s=r.render,l=r.reference,c=r.disabled,u=c===void 0?!1:c,d=r.ignoreAttributes,p=d===void 0?!0:d;r.__source,r.__self;var v=Tw(r,["children","content","visible","singleton","render","reference","disabled","ignoreAttributes","__source","__self"]),h=i!==void 0,m=a!==void 0,y=f.useState(!1),x=y[0],b=y[1],$=f.useState({}),g=$[0],C=$[1],S=f.useState(),O=S[0],T=S[1],k=L7(function(){return{container:jg(),renders:1}}),L=Object.assign({ignoreAttributes:p},v,{content:k.container});h&&(L.trigger="manual",L.hideOnClick=!1),m&&(u=!0);var B=L,N=L.plugins||[];s&&(B=Object.assign({},L,{plugins:m&&a.data!=null?[].concat(N,[{fn:function(){return{onTrigger:function(te,Y){var J=a.data.children.find(function(H){var ce=H.instance;return ce.reference===Y.currentTarget});te.state.$$activeSingletonInstance=J.instance,T(J.content)}}}}]):N,render:function(){return{popper:k.container}}}));var W=[l].concat(n?[n.type]:[]);return Ac(function(){var X=l;l&&l.hasOwnProperty("current")&&(X=l.current);var V=e(X||k.ref||jg(),Object.assign({},B,{plugins:[F7].concat(L.plugins||[])}));return k.instance=V,u&&V.disable(),i&&V.show(),m&&a.hook({instance:V,content:o,props:B,setSingletonContent:T}),b(!0),function(){V.destroy(),a==null||a.cleanup(V)}},W),Ac(function(){var X;if(k.renders===1){k.renders++;return}var V=k.instance;V.setProps(R7(V.props,B)),(X=V.popperInstance)==null||X.forceUpdate(),u?V.disable():V.enable(),h&&(i?V.show():V.hide()),m&&a.hook({instance:V,content:o,props:B,setSingletonContent:T})}),Ac(function(){var X;if(s){var V=k.instance;V.setProps({popperOptions:Object.assign({},V.props.popperOptions,{modifiers:[].concat((((X=V.props.popperOptions)==null?void 0:X.modifiers)||[]).filter(function(te){var Y=te.name;return Y!=="$$tippyReact"}),[{name:"$$tippyReact",enabled:!0,phase:"beforeWrite",requires:["computeStyles"],fn:function(Y){var J,H=Y.state,ce=(J=H.modifiersData)==null?void 0:J.hide;(g.placement!==H.placement||g.referenceHidden!==(ce==null?void 0:ce.isReferenceHidden)||g.escaped!==(ce==null?void 0:ce.hasPopperEscaped))&&C({placement:H.placement,referenceHidden:ce==null?void 0:ce.isReferenceHidden,escaped:ce==null?void 0:ce.hasPopperEscaped}),H.attributes.popper={}}}])})})}},[g.placement,g.referenceHidden,g.escaped].concat(W)),ye.createElement(ye.Fragment,null,n?f.cloneElement(n,{ref:function(V){k.ref=V,Ku(n.ref,V)}}):null,x&&Ju.createPortal(s?s(_7(g),O,k.instance):o,k.container))}return t}var M7=function(e,t){return f.forwardRef(function(n,o){var i=n.children,a=Tw(n,["children"]);return ye.createElement(e,Object.assign({},t,a),i?f.cloneElement(i,{ref:function(l){Ku(o,l),Ku(i.ref,l)}}):null)})},j7=M7(D7(bi));const N7=j7;function B7(e,t){return e.reduce((r,n)=>{if(!n)return r;if(typeof n=="function"){const o=n(t);return o?[...r,o]:r}return[...r,n]},[])}const V7={name:"data-dp-name",fn:()=>({})},W7=e=>{if(!(e!=null&&e.onPresEsc))return null;function t(r){r.keyCode===27&&(e!=null&&e.onPresEsc)&&e.onPresEsc()}return{name:"hideOnEsc",defaultValue:!0,fn:()=>({onShow:()=>document.addEventListener("keydown",t),onHide:()=>document.removeEventListener("keydown",t)})}},U7={fn:e=>({onShow:()=>{au()&&setTimeout(e.hide),e.popper.style.display=au()?"none":"block"}})},Mr=(e,t)=>{const r={light:{backgroundColor:t.colors.grey3,color:t.colors.grey_black100,border:`1px solid ${t.colors.systemShade30}`,boxShadow:"0px 4px 6px -1px rgba(0, 0, 0, 0.1), 0px 2px 4px -1px rgba(0, 0, 0, 0.06);"},lightBox:{backgroundColor:t.colors.white,color:t.colors.grey100,border:`1px solid ${t.colors.grey20}`,borderColor:t.colors.grey20,boxShadow:"0px 4px 6px -1px rgba(0, 0, 0, 0.1), 0px 2px 4px -1px rgba(0, 0, 0, 0.06);"},lightBoxModal:{backgroundColor:t.colors.white,color:t.colors.grey100,border:`1px solid ${t.colors.grey20}`,borderColor:t.colors.grey20,boxShadow:"0px 4px 16px rgba(0, 0, 0, 0.3)"},dark:{backgroundColor:t.colors.grey_black100,color:t.colors.white,border:"none",boxShadow:"0px 4px 6px -1px rgba(0, 0, 0, 0.1), 0px 2px 4px -1px rgba(0, 0, 0, 0.06);"},extraDark:{backgroundColor:t.colors.grey100,color:t.colors.white,border:"none",borderColor:t.colors.grey100,boxShadow:"0px 4px 6px -1px rgba(0, 0, 0, 0.1), 0px 2px 4px -1px rgba(0, 0, 0, 0.06);"}};return r[e]||r.dark};w(({suppressClassNameWarning:e,styleType:t,arrow:r=!1,width:n,offsetTop:o,styledCss:i,customComponent:a,arrowColor:s,offsetLeft:l,borderRadius:c,onPresEsc:u,enableOnTouchDevices:d,...p})=>{const v=f.useMemo(()=>B7([V7,W7,d?null:U7,...p.plugins||[]],{onPresEsc:u}),[d,u,p.plugins]);return f.createElement(N7,{arrow:r,...p,plugins:v})}).attrs({suppressClassNameWarning:!0})` - &.tippy-box { - background-color: ${({theme:e,styleType:t="light"})=>Mr(t,e).backgroundColor}; - color: ${({theme:e,styleType:t="light"})=>Mr(t,e).color}; - box-shadow: ${({theme:e,styleType:t="light"})=>Mr(t,e).boxShadow}; - border: ${({theme:e,styleType:t="light"})=>Mr(t,e).border}; - border-radius: ${({borderRadius:e})=>e||3}px; - display: flex; - align-items: center; - justify-content: center; - font-family: ${e=>e.theme.fonts.primary}; - font-style: normal; - font-weight: normal; - font-size: 11px; - line-height: 150%; - max-width: ${({maxWidth:e})=>e}px !important; - word-break: break-word; - width: ${({width:e})=>e}; - ${({offsetTop:e})=>e&&`top: ${e}px !important`}; - ${({offsetLeft:e})=>e&&`left: ${e}px !important`}; - } - ${({styledCss:e})=>e} - ${({customComponent:e})=>e&&E` - .tippy-content { - padding: 0; - } - `} - ${({arrowColor:e,theme:t,styleType:r="light"})=>E` - .tippy-arrow { - color: ${Mr(r,t).backgroundColor}; - border-top-color: ${e?t.colors[e]:Mr(r,t).backgroundColor} !important; - &::before { - color: ${e?t.colors[e]:Mr(r,t).backgroundColor}; - } - } - `} -`;const H7=(e,t)=>{const r=Z0(e).abstract[0];return t&&r&&r.children&&(r.children[0].attributes.fill=t),`data:image/svg+xml;base64,${btoa(WE(r))}`};w.span` - position: absolute; - cursor: ${({isLoading:e,isLocked:t})=>pe({isLoading:e,isLocked:t}).with({isLoading:!0,isLocked:!0},{isLoading:!0},()=>"progress").with({isLocked:!0},()=>"not-allowed").otherwise(()=>"pointer")}; - top: 0; - left: 0; - right: 0; - bottom: 0; - background-color: ${e=>e.indeterminate?e.theme.colors.yellow80:e.theme.colors.grey20}; - - transition: 0.4s; - border-radius: 34px; - &::before { - position: absolute; - content: ""; - background-image: ${({isLoading:e,isLocked:t,theme:r})=>pe({isLoading:e,isLocked:t}).with({isLoading:!0},{isLocked:!0},()=>`url(${H7(Iw,r.colors.grey80)})`).otherwise(()=>"none")}; - background-size: ${e=>e.size==="small"?5:6}px; - height: ${e=>e.size==="small"?6:8}px; - background-repeat: no-repeat; - background-position: center; - stroke: ${e=>e.theme.colors.white}; - height: ${e=>e.size==="small"?8:12}px; - width: ${e=>e.size==="small"?8:12}px; - left: ${e=>e.size==="small"?2:3}px; - bottom: ${e=>e.size==="small"?2:3}px; - background-color: white; - transition: 0.2s; - border-radius: 50%; - } -`;w.input.attrs({type:"checkbox"})` - opacity: 0; - width: 0; - height: 0; - display: block; -`;w.div` - position: relative; - display: inline-block; - width: ${e=>e.size==="small"?18:27}px; - height: ${e=>e.size==="small"?12:18}px; - - input:checked + span { - background-color: ${e=>e.indeterminate?"":e.theme.colors.turquoise100}; - } - input:focus + span { - box-shadow: 0 0 1px ${e=>e.indeterminate?"":e.theme.colors.turquoise100}; - } - input:checked + span:before { - transform: ${e=>e.indeterminate?"":e.size==="small"?"translateX(6px)":"translateX(9px)"}; - } - input + span:before { - transform: ${e=>e.indeterminate?e.size==="small"?"translateX(3px)":"translateX(4px)":""}; - } - span:hover { - ${({disabled:e})=>e&&E` - cursor: not-allowed; - `} - ${({readOnly:e})=>e&&E` - cursor: default; - `} - } -`;w.label` - display: flex; - align-items: center; - gap: 8px; -`;const G7=w.div` - display: flex; - align-items: center; - flex-grow: 0; - flex-shrink: 0; - height: 38px; - box-sizing: border-box; - margin: 0; - padding: 0; - border-bottom: 1px solid ${e=>e.theme.colors.grey20}; -`,q7=w(ve).attrs({type:"h0",as:"h2"})` - display: block; - text-overflow: ellipsis; - margin-left: 12px; - flex-shrink: 1; - flex-grow: 0; - line-height: normal; - overflow: hidden; - white-space: nowrap; - max-width: 600px; -`,Y7=w(ve).attrs({type:"h1",as:"h3"})` - display: block; - text-overflow: ellipsis; - margin-left: 12px; - flex-shrink: 1; - flex-grow: 0; - line-height: normal; -`,X7=w.div` - display: flex; - align-items: center; - flex-grow: 0; - flex-shrink: 0; - box-sizing: border-box; - margin: 0; - padding: 0; -`,K7=w.div` - display: flex; - align-items: center; - flex-shrink: 1; - flex-grow: 0; - margin-left: 10px; - padding: 10px 10px 6px 0; - border-bottom: 1px solid - ${e=>e.noBorder?"transparent":e.theme.colors.grey10}; - - > label { - width: 100%; - } -`,Zu=w.div` - display: flex; - margin: 0 8px 0 0; - flex-shrink: 0; - align-items: center; - font-size: 80%; - - > *:not(:first-child) { - margin-left: 6px; - } -`,Z7=w.div` - display: flex; - flex-direction: column; - width: 100%; - overflow: hidden; - height: 100%; - max-height: 100%; - margin: 0; - padding: 0; - border: none; - border-radius: 8px; -`,J7=w.div` - flex-grow: ${e=>e.isScrollEnabled?1:0}; - border-right: ${e=>e.borderRight?`1px solid ${e.theme.colors.grey20}`:"none"}; - overflow: hidden; -`,Q7=w.div` - flex-grow: 0; - flex-shrink: 0; - padding: ${({padding:e="10px"})=>e}; - border-top: 1px solid ${e=>e.theme.colors.grey20}; -`,AV=f.forwardRef(function(t,r){return f.createElement(Z7,{style:t.styles,ref:r},t.children)}),PV=({title:e,titleControls:t,controls:r,containerStyles:n})=>f.createElement(G7,{style:n},e&&f.createElement(q7,null,e),t&&f.createElement(Zu,null,t),r&&f.createElement(wy,null),r&&f.createElement(Zu,null,r)),zV=({title:e,controls:t})=>f.createElement(X7,null,e&&f.createElement(Y7,null,e),t&&f.createElement(wy,null),t&&f.createElement(Zu,null,t)),_V=({noBorder:e,children:t})=>f.createElement(K7,{noBorder:e},t),IV=({children:e,borderRight:t,isScrollEnabled:r=!0})=>f.createElement(J7,{borderRight:t,isScrollEnabled:r},f.createElement(sw,{style:{height:"100%"}},e)),RV=({children:e,padding:t})=>f.createElement(Q7,{padding:t},e),e9={systemShade100:"#011A2E",systemShade80:"#566672",systemShade40:"#9AA3A9",systemShade30:"#DCE1E5",systemShade20:"#ECEEF0",systemShade10:"#F7F7F8"},Bg={brandShade100:"#1C3E55",brandShade80:"#335166",brandShade60:"#8D9FAA",brandShade50:"#C6CED4",brandShade40:"#D2D8DD",brandShade20:"#E8EBEE",brandShade10:"#F3F5F7"},t9={grey500:"#6B7280",grey100:"#3D4448",grey80:"#7F8C93",grey60:"#99A3A9",grey40:"#A3ACB2",grey30:"#CCD1D4",grey20:"#DDE0E2",grey10:"#EEF0F1",grey5:"#F7F7F8",grey3:"#FBFBFB"},Vg={cyan120:"#237CD2",cyan100:"#3A8DDE",cyan90:"#55A1E3",cyan80:"#9FCCF3",cyan40:"#CFE5F9",cyan20:"#E1EEFB",cyan10:"#F5FAFE",cyan5:"#FAFDFF"},r9={red100:"#E84954",red80:"#FD667F",red60:"#FD8C9F",red40:"#FEB3BF",red20:"#FBE1E3",red10:"#FFF0F2"},n9={pink100:"#DF5E9C",pink80:"#EFAFCD",pink40:"#F7D7E6",pink20:"#FAE8F0",pink10:"#FDF6F9"},o9={orange100:"#EC6C4E",orange80:"#F5B5A7",orange40:"#FADAD3",orange20:"#F9E6E1",orange10:"#FDF8F7"},i9={yellow100:"#F8AF3C",yellow80:"#FBD79D",yellow40:"#FDEBCE",yellow20:"#FFF8E1",yellow10:"#FFFBF0"},a9={purple100:"#9384BD",purple80:"#C9C1DE",purple40:"#EBE4F2",purple20:"#F3EFF7",purple10:"#FBFAFC"},s9={amethyst100:"#7A56DE",amethyst80:"#9578E5",amethyst40:"#CABBF2",amethyst20:"#E4DDF8",amethyst10:"#F2EEFC"},l9={turquoise100:"#5BB6B1",turquoise80:"#ADDBD8",turquoise40:"#D6EDEB",turquoise20:"#E6F4F3",turquoise10:"#F3F9F9"},c9={green100:"#54B162",green80:"#76C181",green40:"#BBE0C0",green20:"#DDEFE0",green10:"#EEF7EF"},u9={jasper100:"#EA6548",jasper80:"#ED854A",jasper40:"#F39E4F",jasper20:"#F8C595",jasper10:"#FBE2CA"},f9={ochre100:"#F5B44D",ochre80:"#F8C474",ochre40:"#FBD79D",ochre20:"#FBF0DB",ochre10:"#FEF7ED"},d9={amber100:"#F3993D",amber10:"#FEF5EC"},p9={beige100:"#E7D3A2",beige10:"#FDFBF6"},h9={brown100:"#B98846",brown10:"#F8F3EC"},v9={burgundy100:"#912066",burgundy10:"#F4E9F0"},m9={coral100:"#F5B5A7",coral10:"#FDF8F7"},g9={grey_black100:"#3D4448",grey_black10:"#EEF0F1"},y9={lavender100:"#DCB7FD",lavender10:"#F8F1FF"},b9={lemon100:"#F3DF5A",lemon10:"#FEFCEF"},x9={lime100:"#BAD60B",lime10:"#F8FBE7"},w9={magenta100:"#9C27B0",magenta10:"#F5E9F7"},$9={myrtle100:"#2C787C",myrtle10:"#EAF1F2"},E9={olive100:"#B9BB72",olive10:"#F8F8F1"},S9={pink_light100:"#EFAFCD",pink_light10:"#FDF6F9"},C9={purple_light100:"#C9C1DE",purple_light10:"#FBFAFC"},O9={rose_dawn100:"#CD8376",rose_dawn10:"#FAF3F1"},T9={sage100:"#86A393",sage20:"#ECF2EE",sage10:"#F3F6F4"},k9={sky_blue100:"#30B3DE",sky_blue10:"#EAF7FC"},A9={turquoise_light100:"#ADDBD8",turquoise_light10:"#F3F9F9"},P9={vermilion100:"#CD4718",vermilion10:"#FAEDE8"},z9={violet100:"#9C5DF2",violet10:"#F5EFFE"},_9={navy100:"#003171"},I9={scarlett100:"#DF2633",scarlett80:"#E23C47",scarlett40:"#E5515C",scarlett20:"#EC7D85",scarlett10:"#F5BEC2"},R9={ultramarine100:"#1368E8",ultramarine10:"#F5FAFE"},L9={emerald100:"#29983A",emerald10:"#EEF7EF"},F9={dark100:"#16151A",dark80:"#1E2025",dark40:"#34373E"},R={brandPrimary:Bg.brandShade100,brandSecondary:Vg.cyan100,white:"#FFFFFF",...e9,...t9,...Bg,...Vg,...r9,...n9,...o9,...i9,...a9,...s9,...l9,...c9,...u9,...f9,...d9,...p9,...h9,...v9,...m9,...g9,...y9,...b9,...x9,...w9,...$9,...E9,...S9,...C9,...O9,...T9,...k9,...A9,...P9,...z9,..._9,...I9,...L9,...R9,...F9},Pw={brandShade:{backgroundColor:R.brandShade10,borderColor:R.brandShade100,textColor:R.grey100},amber:{backgroundColor:R.amber10,borderColor:R.amber100,textColor:R.grey100},beige:{backgroundColor:R.beige10,borderColor:R.beige100,textColor:R.grey100},brown:{backgroundColor:R.brown10,borderColor:R.brown100,textColor:R.grey100},burgundy:{backgroundColor:R.burgundy10,borderColor:R.burgundy100,textColor:R.grey100},coral:{backgroundColor:R.coral10,borderColor:R.coral100,textColor:R.grey100},cyan:{backgroundColor:R.cyan10,borderColor:R.cyan100,textColor:R.grey100},cyan_light:{backgroundColor:R.cyan10,borderColor:R.cyan80,textColor:R.grey100},green:{backgroundColor:R.green10,borderColor:R.green100,textColor:R.grey100},grey:{backgroundColor:R.grey5,borderColor:R.grey80,textColor:R.grey100},grey_black:{backgroundColor:R.grey_black10,borderColor:R.grey_black100,textColor:R.grey100},lavender:{backgroundColor:R.lavender10,borderColor:R.lavender100,textColor:R.grey100},lemon:{backgroundColor:R.lemon10,borderColor:R.lemon100,textColor:R.grey100},lime:{backgroundColor:R.lime10,borderColor:R.lime100,textColor:R.grey100},magenta:{backgroundColor:R.magenta10,borderColor:R.magenta100,textColor:R.grey100},myrtle:{backgroundColor:R.myrtle10,borderColor:R.myrtle100,textColor:R.grey100},olive:{backgroundColor:R.olive10,borderColor:R.olive100,textColor:R.grey100},orange:{backgroundColor:R.orange10,borderColor:R.orange100,textColor:R.grey100},pink:{backgroundColor:R.pink10,borderColor:R.pink100,textColor:R.grey100},pink_light:{backgroundColor:R.pink_light10,borderColor:R.pink_light100,textColor:R.grey100},purple:{backgroundColor:R.purple10,borderColor:R.purple100,textColor:R.grey100},purple_light:{backgroundColor:R.purple_light10,borderColor:R.purple_light100,textColor:R.grey100},red:{backgroundColor:R.red10,borderColor:R.red100,textColor:R.red100},rose_dawn:{backgroundColor:R.rose_dawn10,borderColor:R.rose_dawn100,textColor:R.grey100},sage:{backgroundColor:R.sage10,borderColor:R.sage100,textColor:R.grey100},sky_blue:{backgroundColor:R.sky_blue10,borderColor:R.sky_blue100,textColor:R.grey100},turquoise:{backgroundColor:R.turquoise10,borderColor:R.turquoise100,textColor:R.grey100},turquoise_light:{backgroundColor:R.turquoise_light10,borderColor:R.turquoise_light100,textColor:R.grey100},vermilion:{backgroundColor:R.vermilion10,borderColor:R.vermilion100,textColor:R.grey100},violet:{backgroundColor:R.violet10,borderColor:R.violet100,textColor:R.grey100},yellow:{backgroundColor:R.yellow10,borderColor:R.yellow100,textColor:R.grey100},jasper:{backgroundColor:R.jasper10,borderColor:R.jasper100,textColor:R.grey100},ochre:{backgroundColor:R.ochre10,borderColor:R.ochre100,textColor:R.grey100}},D9={1:{background:"#FFF8E1",textColor:"#4C4F50",subStatusBackgroundColor:"#FFFBF0"},2:{background:"#FFF8E1",textColor:"#4C4F50",subStatusBackgroundColor:"#FFFBF0"},3:{background:"#FBD79D",textColor:"#4C4F50",subStatusBackgroundColor:"#FFFBF0"},4:{background:"#F8C474",textColor:"#4C4F50",subStatusBackgroundColor:"#FEF7ED"},5:{background:"#F5B44D",textColor:"#4C4F50",subStatusBackgroundColor:"#FDF0DB"},6:{background:"#F39E4F",textColor:"#FFFFFF",subStatusBackgroundColor:"#FDF0DB"},7:{background:"#ED854A",textColor:"#FFFFFF",subStatusBackgroundColor:"#FBE2CA"},8:{background:"#EA6548",textColor:"#FFFFFF",subStatusBackgroundColor:"#FBE2CA"},9:{background:"#E84954",textColor:"#FFFFFF",subStatusBackgroundColor:"#FBE1E3"},10:{background:"#DF2633",textColor:"#FFFFFF",subStatusBackgroundColor:"#F5BEC2"}},M9=Object.keys(Pw),Pc='"Noto Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu,Cantarell, "Helvetica Neue", sans-serif',j9={primary:Pc,headingPrimary:`Rubik, ${Pc}`,monospace:'"Source Code Pro", monospace',inter:`Inter, ${Pc}`,baseSize:"14px"},N9={popover:3002,modal:4e3,modalPopover:4500},LV={type:"light",colors:R,urgencyColors:D9,standardLabelColors:Pw,standardLabelColorsKeys:M9,fonts:j9,layers:N9,dev:{placeholderBgColor:"#f00"}},FV=cf` - body { - color: ${e=>e.theme.colors.grey100}; - font-family: "Noto Sans", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, - sans-serif, "Apple Color Emoji", "Segoe UI Emoji"; - font-size: 14px; - } -`;cf` - - html, body, #root, #deskpro-agent-root { - height: 100vh; - width: 100vw; - overflow: hidden; - margin: 0; - padding: 0; - - @media only screen and (max-width: 640px) { - height: 100%; // https://developers.google.com/web/updates/2016/12/url-bar-resizing - } - } -`;export{AV as $,SV as A,by as B,gV as C,yV as D,bV as E,xV as F,wV as G,eV as H,y1 as I,$V as J,jw as K,Q9 as L,se as M,tu as N,Z0 as O,CV as P,kV as Q,EV as R,he as S,ve as T,Z9 as U,Ug as V,kr as W,RB as X,q9 as Y,OV as Z,Y9 as _,rn as a,PV as a0,zV as a1,_V as a2,IV as a3,RV as a4,YE as a5,cf as a6,W9 as a7,Ts as a8,FV as a9,pB as aa,M as ab,Ot as ac,U9 as ad,TV as ae,X9 as b,K9 as c,w as d,j as e,J9 as f,G9 as g,H9 as h,Rw as i,mV as j,tV as k,LV as l,rV as m,nV as n,oV as o,iV as p,aV as q,sV as r,lV as s,cV as t,uV as u,fV as v,dV as w,pV as x,hV as y,vV as z}; diff --git a/docs/storybook/assets/Search-5ebba4e3.js b/docs/storybook/assets/Search-5ebba4e3.js deleted file mode 100644 index 0cf685b..0000000 --- a/docs/storybook/assets/Search-5ebba4e3.js +++ /dev/null @@ -1,7 +0,0 @@ -import{j as v}from"./jsx-runtime-6d9837fe.js";import{R as L,r as w}from"./index-93f6b7ae.js";import{M as a,N as k,O as D,d as U,Q as $,I as B,U as K,K as M,a as H,V as Q}from"./SPA-63b29876.js";import"./index-03a57050.js";function R(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(s){return Object.getOwnPropertyDescriptor(e,s).enumerable})),r.push.apply(r,n)}return r}function c(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?R(Object(r),!0).forEach(function(n){y(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):R(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function P(e){"@babel/helpers - typeof";return P=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},P(e)}function y(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function G(e,t){if(e==null)return{};var r={},n=Object.keys(e),s,o;for(o=0;o<n.length;o++)s=n[o],!(t.indexOf(s)>=0)&&(r[s]=e[s]);return r}function W(e,t){if(e==null)return{};var r=G(e,t),n,s;if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(s=0;s<o.length;s++)n=o[s],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function N(e){return J(e)||X(e)||Y(e)||Z()}function J(e){if(Array.isArray(e))return C(e)}function X(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function Y(e,t){if(e){if(typeof e=="string")return C(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(e);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return C(e,t)}}function C(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function Z(){throw new TypeError(`Invalid attempt to spread non-iterable instance. -In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function ee(e){var t,r=e.beat,n=e.fade,s=e.beatFade,o=e.bounce,p=e.shake,d=e.flash,i=e.spin,l=e.spinPulse,f=e.spinReverse,h=e.pulse,m=e.fixedWidth,j=e.inverse,O=e.border,S=e.listItem,u=e.flip,b=e.size,x=e.rotation,A=e.pull,T=(t={"fa-beat":r,"fa-fade":n,"fa-beat-fade":s,"fa-bounce":o,"fa-shake":p,"fa-flash":d,"fa-spin":i,"fa-spin-reverse":f,"fa-spin-pulse":l,"fa-pulse":h,"fa-fw":m,"fa-inverse":j,"fa-border":O,"fa-li":S,"fa-flip":u===!0,"fa-flip-horizontal":u==="horizontal"||u==="both","fa-flip-vertical":u==="vertical"||u==="both"},y(t,"fa-".concat(b),typeof b<"u"&&b!==null),y(t,"fa-rotate-".concat(x),typeof x<"u"&&x!==null&&x!==0),y(t,"fa-pull-".concat(A),typeof A<"u"&&A!==null),y(t,"fa-swap-opacity",e.swapOpacity),t);return Object.keys(T).map(function(I){return T[I]?I:null}).filter(function(I){return I})}function te(e){return e=e-0,e===e}function q(e){return te(e)?e:(e=e.replace(/[\-_\s]+(.)?/g,function(t,r){return r?r.toUpperCase():""}),e.substr(0,1).toLowerCase()+e.substr(1))}var re=["style"];function ae(e){return e.charAt(0).toUpperCase()+e.slice(1)}function ne(e){return e.split(";").map(function(t){return t.trim()}).filter(function(t){return t}).reduce(function(t,r){var n=r.indexOf(":"),s=q(r.slice(0,n)),o=r.slice(n+1).trim();return s.startsWith("webkit")?t[ae(s)]=o:t[s]=o,t},{})}function V(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};if(typeof t=="string")return t;var n=(t.children||[]).map(function(i){return V(e,i)}),s=Object.keys(t.attributes||{}).reduce(function(i,l){var f=t.attributes[l];switch(l){case"class":i.attrs.className=f,delete t.attributes.class;break;case"style":i.attrs.style=ne(f);break;default:l.indexOf("aria-")===0||l.indexOf("data-")===0?i.attrs[l.toLowerCase()]=f:i.attrs[q(l)]=f}return i},{attrs:{}}),o=r.style,p=o===void 0?{}:o,d=W(r,re);return s.attrs.style=c(c({},s.attrs.style),p),e.apply(void 0,[t.tag,c(c({},s.attrs),d)].concat(N(n)))}var E=!1;try{E=!0}catch{}function se(){if(!E&&console&&typeof console.error=="function"){var e;(e=console).error.apply(e,arguments)}}function z(e){if(e&&P(e)==="object"&&e.prefix&&e.iconName&&e.icon)return e;if(k.icon)return k.icon(e);if(e===null)return null;if(e&&P(e)==="object"&&e.prefix&&e.iconName)return e;if(Array.isArray(e)&&e.length===2)return{prefix:e[0],iconName:e[1]};if(typeof e=="string")return{prefix:"fas",iconName:e}}function _(e,t){return Array.isArray(t)&&t.length>0||!Array.isArray(t)&&t?y({},e,t):{}}var oe=["forwardedRef"];function g(e){var t=e.forwardedRef,r=W(e,oe),n=r.icon,s=r.mask,o=r.symbol,p=r.className,d=r.title,i=r.titleId,l=r.maskId,f=z(n),h=_("classes",[].concat(N(ee(r)),N(p.split(" ")))),m=_("transform",typeof r.transform=="string"?k.transform(r.transform):r.transform),j=_("mask",z(s)),O=D(f,c(c(c(c({},h),m),j),{},{symbol:o,title:d,titleId:i,maskId:l}));if(!O)return se("Could not find icon",f),null;var S=O.abstract,u={ref:t};return Object.keys(r).forEach(function(b){g.defaultProps.hasOwnProperty(b)||(u[b]=r[b])}),ie(S[0],u)}g.displayName="FontAwesomeIcon";g.propTypes={beat:a.bool,border:a.bool,beatFade:a.bool,bounce:a.bool,className:a.string,fade:a.bool,flash:a.bool,mask:a.oneOfType([a.object,a.array,a.string]),maskId:a.string,fixedWidth:a.bool,inverse:a.bool,flip:a.oneOf([!0,!1,"horizontal","vertical","both"]),icon:a.oneOfType([a.object,a.array,a.string]),listItem:a.bool,pull:a.oneOf(["right","left"]),pulse:a.bool,rotation:a.oneOf([0,90,180,270]),shake:a.bool,size:a.oneOf(["2xs","xs","sm","lg","xl","2xl","1x","2x","3x","4x","5x","6x","7x","8x","9x","10x"]),spin:a.bool,spinPulse:a.bool,spinReverse:a.bool,symbol:a.oneOfType([a.bool,a.string]),title:a.string,titleId:a.string,transform:a.oneOfType([a.string,a.object]),swapOpacity:a.bool};g.defaultProps={border:!1,className:"",mask:null,maskId:null,fixedWidth:!1,inverse:!1,flip:!1,icon:null,listItem:!1,pull:null,pulse:!1,rotation:null,size:null,spin:!1,spinPulse:!1,spinReverse:!1,beat:!1,fade:!1,beatFade:!1,bounce:!1,shake:!1,symbol:!1,title:"",titleId:null,transform:null,swapOpacity:!1};var ie=V.bind(null,L.createElement);const le=U.div` - [data-dp-name=Input] { - display: flex; - margin-bottom: 10px; - } -`,F=w.forwardRef(({label:e,onChange:t,disabled:r=!1,required:n=!1,isFetching:s=!1,marginBottom:o=10,inputProps:p={}},d)=>{const[i,l]=w.useState(""),f=w.useCallback(({target:{value:m}})=>{l(m),t&&t(m)},[t]),h=w.useCallback(()=>{l(""),t&&t("")},[t]);return v.jsx(le,{children:v.jsx($,{required:n,label:e,htmlFor:"search",style:{marginBottom:o},children:v.jsx(B,{ref:d,id:"search",name:"search",value:i,inputsize:"small",disabled:r,onChange:f,placeholder:"Search",leftIcon:s?v.jsx(g,{icon:K,spin:!0}):M,rightIcon:v.jsx(H,{minimal:!0,"data-testid":"search-reset",icon:Q,onClick:h}),...p})})})});try{F.displayName="Search",F.__docgenInfo={description:"",displayName:"Search",props:{label:{defaultValue:null,description:"",name:"label",required:!1,type:{name:"string"}},onChange:{defaultValue:null,description:"",name:"onChange",required:!1,type:{name:"((search: string) => void)"}},disabled:{defaultValue:{value:"false"},description:"",name:"disabled",required:!1,type:{name:"boolean"}},required:{defaultValue:{value:"false"},description:"",name:"required",required:!1,type:{name:"boolean"}},isFetching:{defaultValue:{value:"false"},description:"",name:"isFetching",required:!1,type:{name:"boolean"}},marginBottom:{defaultValue:{value:"10"},description:"",name:"marginBottom",required:!1,type:{name:"number"}},inputProps:{defaultValue:{value:"{}"},description:"",name:"inputProps",required:!1,type:{name:"InputProps"}}}}}catch{}export{F as S}; diff --git a/docs/storybook/assets/Search.stories-67cb6491.js b/docs/storybook/assets/Search.stories-67cb6491.js deleted file mode 100644 index 50282b7..0000000 --- a/docs/storybook/assets/Search.stories-67cb6491.js +++ /dev/null @@ -1,5 +0,0 @@ -import{j as f}from"./jsx-runtime-6d9837fe.js";import{r as n}from"./index-93f6b7ae.js";import{S as s}from"./Search-5ebba4e3.js";import{a as h}from"./index-81a4e465.js";import"./SPA-63b29876.js";import"./index-03a57050.js";import"./v4-4a60fe23.js";const I={title:"Core/Search",component:s,argTypes:{label:{control:"text"},disabled:{control:"boolean"},required:{control:"boolean"},isFetching:{control:"boolean"},marginBottom:{control:"number"},onChange:{action:"change"},inputProps:{control:"object"}}},e=t=>f.jsx(s,{...t});e.args={label:"",disabled:!1,required:!1,isFetching:!1,marginBottom:10,onChange:h("onChange"),inputProps:{placeholder:"Enter the value"}};const o=t=>{const r=n.useRef(null);return n.useEffect(()=>{var a;return r&&((a=r.current)==null?void 0:a.focus())},[r]),f.jsx(s,{ref:r,...t})};var c,p,u;e.parameters={...e.parameters,docs:{...(c=e.parameters)==null?void 0:c.docs,source:{originalSource:"props => <Search {...props} />",...(u=(p=e.parameters)==null?void 0:p.docs)==null?void 0:u.source}}};var l,i,m;o.parameters={...o.parameters,docs:{...(l=o.parameters)==null?void 0:l.docs,source:{originalSource:`props => { - const searchInputRef = useRef<HTMLInputElement>(null); - useEffect(() => searchInputRef && searchInputRef.current?.focus(), [searchInputRef]); - return <Search ref={searchInputRef} {...props} />; -}`,...(m=(i=o.parameters)==null?void 0:i.docs)==null?void 0:m.source}}};const j=["Default","AutoFocus"];export{o as AutoFocus,e as Default,j as __namedExportsOrder,I as default}; diff --git a/docs/storybook/assets/Section-21310854.js b/docs/storybook/assets/Section-21310854.js deleted file mode 100644 index 2d2693d..0000000 --- a/docs/storybook/assets/Section-21310854.js +++ /dev/null @@ -1 +0,0 @@ -import{j as t}from"./jsx-runtime-6d9837fe.js";const o=({children:e})=>t.jsx("div",{style:{padding:"10px 10px 0"},children:e});try{o.displayName="Section",o.__docgenInfo={description:"",displayName:"Section",props:{}}}catch{}export{o as S}; diff --git a/docs/storybook/assets/Section.stories-6ff2b584.js b/docs/storybook/assets/Section.stories-6ff2b584.js deleted file mode 100644 index cf68233..0000000 --- a/docs/storybook/assets/Section.stories-6ff2b584.js +++ /dev/null @@ -1,3 +0,0 @@ -import{j as n}from"./jsx-runtime-6d9837fe.js";import{S as s}from"./Section-21310854.js";import"./index-93f6b7ae.js";const p={title:"Core/Section"},e=()=>n.jsx(s,{children:"App Section Content"});var t,o,r;e.parameters={...e.parameters,docs:{...(t=e.parameters)==null?void 0:t.docs,source:{originalSource:`() => { - return <Section>App Section Content</Section>; -}`,...(r=(o=e.parameters)==null?void 0:o.docs)==null?void 0:r.source}}};const m=["Default"];export{e as Default,m as __namedExportsOrder,p as default}; diff --git a/docs/storybook/assets/Select-89f08062.js b/docs/storybook/assets/Select-89f08062.js deleted file mode 100644 index 4ab0b14..0000000 --- a/docs/storybook/assets/Select-89f08062.js +++ /dev/null @@ -1 +0,0 @@ -import{j as y}from"./jsx-runtime-6d9837fe.js";import{r as h}from"./index-93f6b7ae.js";import{X as L,f as D,Y as F,Z as k,_ as C,S as E}from"./SPA-63b29876.js";import"./index-03a57050.js";const w="No items(s) found",M=e=>{if(e.length<=35)return e;const r=e.slice(0,35),t=r.lastIndexOf(" ");return(t>0?r.slice(0,t):r)+"..."},x=e=>typeof e=="string",_=e=>typeof e=="number"&&!isNaN(e),g=e=>x(e)||_(e),O=(e,l)=>{if(!Array.isArray(l)||!l.length||!_(e)&&!x(e)&&!Array.isArray(e))return"";if(Array.isArray(e)){const r=l.filter(t=>e.includes(t.value)).map(t=>t.label);return e.length?g(r[0])?r.map(t=>M(`${t}`)).join(", "):r:""}else{const r=l.find(t=>t.value===e);return(r==null?void 0:r.label)??""}},v=(e,l,r,t)=>{const o=r||"",i=t||w;if(!Array.isArray(e)||!e.length)return[{type:"header",label:i}];const c=e.filter(a=>{const d=a==null?void 0:a.label,m=a==null?void 0:a.description,u=g(d)?`${d}`:m||"";return u?(x(u)?u.toLowerCase():u).includes(o.toLowerCase()):!0}).map(a=>({...a,selected:Array.isArray(l)?l.includes(a.value):a.value===l}));return!Array.isArray(c)||!c.length?[{type:"header",label:i}]:c},b=({id:e,error:l,value:r,initValue:t,options:o,onChange:i,disabled:c,placeholder:a,showInternalSearch:d,noFoundText:m=w,children:u,...q})=>{const[A,V]=h.useState(""),[p,S]=h.useState(t),f=h.useMemo(()=>O(r||p,o),[r,p,o]),N=h.useMemo(()=>v(o,p,A,m),[o,p,A,m]),I=(n,s)=>{if(g(n))S(s.value),i&&i(s.value);else if(Array.isArray(n)){const T=n.includes(s.value)?n.filter(j=>j!==s.value):[...n,s.value];S(T),i&&i(T)}};return y.jsx(L,{disabled:c,showInternalSearch:d,fetchMoreText:"Fetch more",autoscrollText:"Autoscroll",selectedIcon:D,externalLinkIcon:F,placement:"bottom-start",hideIcons:!0,inputValue:A,onSelectOption:n=>{V(""),I(r||p,n)},onInputChange:n=>{d&&V(n)},options:N,...q,children:({targetRef:n,targetProps:s})=>u?y.jsx("div",{ref:n,...s,children:u}):y.jsx(k,{...e?{id:e}:{},placeholder:a||"Select Value",variant:"inline",rightIcon:C,error:l,ref:n,...s,value:Array.isArray(f)?g(f[0])?f[0]:y.jsx(E,{gap:6,wrap:"wrap",style:{marginBottom:6},children:f}):f,style:{paddingRight:0,cursor:c?"not-allowed":"pointer"}})})};try{b.displayName="Select",b.__docgenInfo={description:"",displayName:"Select",props:{value:{defaultValue:null,description:"",name:"value",required:!1,type:{name:"T | T[]"}},initValue:{defaultValue:null,description:"",name:"initValue",required:!1,type:{name:"T | T[]"}},id:{defaultValue:null,description:"",name:"id",required:!1,type:{name:"string"}},error:{defaultValue:null,description:"",name:"error",required:!1,type:{name:"boolean"}},options:{defaultValue:null,description:"",name:"options",required:!0,type:{name:"DropdownValueType<T>[]"}},onChange:{defaultValue:null,description:"",name:"onChange",required:!1,type:{name:"((value: T | T[]) => void)"}},placeholder:{defaultValue:null,description:"",name:"placeholder",required:!1,type:{name:"string"}},showInternalSearch:{defaultValue:null,description:"",name:"showInternalSearch",required:!1,type:{name:"boolean"}},noFoundText:{defaultValue:{value:"No items(s) found"},description:"",name:"noFoundText",required:!1,type:{name:"string"}}}}}catch{}export{b as S}; diff --git a/docs/storybook/assets/Select.stories-6f208aef.js b/docs/storybook/assets/Select.stories-6f208aef.js deleted file mode 100644 index d4d2ddb..0000000 --- a/docs/storybook/assets/Select.stories-6f208aef.js +++ /dev/null @@ -1,42 +0,0 @@ -import{j as e}from"./jsx-runtime-6d9837fe.js";import{r as P}from"./index-93f6b7ae.js";import{a as g}from"./index-81a4e465.js";import{B as T}from"./SPA-63b29876.js";import"./index-03a57050.js";import{M as t}from"./Member-929cc282.js";import{S as a}from"./Select-89f08062.js";import"./v4-4a60fe23.js";const ae={title:"Core/Select"},d=[{value:"1",label:"one",key:"1",type:"value"},{value:"2",label:"two",key:"2",type:"value"},{value:"3",label:"three",key:"3",type:"value"}],y=[{key:"1",value:"1",label:e.jsx(t,{name:"William Shakespeare"}),description:"William Shakespeare",type:"value"},{key:"2",value:"2",label:e.jsx(t,{name:"Taras Shevchenko"}),description:"Taras Shevchenko",type:"value"},{key:"3",value:"3",label:e.jsx(t,{name:"Henryk Sienkiewicz"}),description:"Henryk Sienkiewicz",type:"value"},{key:"4",value:"4",label:e.jsx(t,{name:"Rudyard Kipling"}),description:"Rudyard Kipling",type:"value"}],n=()=>e.jsx(a,{initValue:"",options:d,onChange:g("onChange")}),o=()=>{const[s,v]=P.useState("1");return e.jsx(a,{value:s,options:d,onChange:S=>v(S)})},r=()=>e.jsx(a,{initValue:[],closeOnSelect:!1,options:d,onChange:g("onChange")}),i=()=>e.jsx(a,{disabled:!0,initValue:"1",options:d}),l=()=>e.jsx(a,{initValue:[],showInternalSearch:!0,closeOnSelect:!1,options:y}),u=()=>e.jsx(a,{initValue:[],closeOnSelect:!1,options:[{value:"1",label:"Lorem ipsum dolor sit amet.",key:"1",type:"value"},{value:"2",label:"Aliquam aperiam debitis delectus dolorem, dolorum, earum in ipsa magnam minus nisi nulla quam quo repellat similique, tempora?",key:"2",type:"value"},{value:"3",label:"A alias, consequatur consequuntur distinctio dolorum ducimus ea eius harum magnam nam non quam quos reiciendis repellat sequi sint sit tempora ullam vitae voluptas.",key:"3",type:"value"},{value:"4",label:"Aliquid enim, eveniet laborum nihil possimus quia reiciendis tenetur voluptatibus.",key:"4",type:"value"},{value:"5",label:"Consequatur delectus dignissimos, facere impedit inventore nemo nobis qui rerum tenetur vitae!",key:"5",type:"value"}]}),c=()=>e.jsx(a,{initValue:"",options:[]}),m=()=>e.jsx(a,{initValue:"",options:y,children:e.jsx(T,{type:"button",text:"Open"}),onChange:g("onChange")}),p=()=>{const[s,v]=P.useState({writers:["1"]});return e.jsxs(e.Fragment,{children:[e.jsx(a,{initValue:["1"],closeOnSelect:!1,options:y,onChange:S=>{v({...s,writers:S})}}),e.jsx("pre",{children:JSON.stringify(s,null,2)})]})};var h,b,q;n.parameters={...n.parameters,docs:{...(h=n.parameters)==null?void 0:h.docs,source:{originalSource:'() => <Select initValue={""} options={options as never} onChange={action("onChange")} />',...(q=(b=n.parameters)==null?void 0:b.docs)==null?void 0:q.source}}};var k,C,V;o.parameters={...o.parameters,docs:{...(k=o.parameters)==null?void 0:k.docs,source:{originalSource:`() => { - const [value, setValue] = useState("1"); - return <Select value={value} options={options as never} onChange={e => setValue(e as string)} />; -}`,...(V=(C=o.parameters)==null?void 0:C.docs)==null?void 0:V.source}}};var f,x,O;r.parameters={...r.parameters,docs:{...(f=r.parameters)==null?void 0:f.docs,source:{originalSource:'() => <Select initValue={[]} closeOnSelect={false} options={options as never[]} onChange={action("onChange")} />',...(O=(x=r.parameters)==null?void 0:x.docs)==null?void 0:O.source}}};var j,w,A;i.parameters={...i.parameters,docs:{...(j=i.parameters)==null?void 0:j.docs,source:{originalSource:'() => <Select disabled initValue={"1"} options={options as never[]} />',...(A=(w=i.parameters)==null?void 0:w.docs)==null?void 0:A.source}}};var L,M,W;l.parameters={...l.parameters,docs:{...(L=l.parameters)==null?void 0:L.docs,source:{originalSource:"() => <Select initValue={[]} showInternalSearch closeOnSelect={false} options={memberOptions as never[]} />",...(W=(M=l.parameters)==null?void 0:M.docs)==null?void 0:W.source}}};var F,H,I;u.parameters={...u.parameters,docs:{...(F=u.parameters)==null?void 0:F.docs,source:{originalSource:`() => <Select initValue={[]} closeOnSelect={false} options={[{ - value: "1", - label: "Lorem ipsum dolor sit amet.", - key: "1", - type: "value" -}, { - value: "2", - label: "Aliquam aperiam debitis delectus dolorem, dolorum, earum in ipsa magnam minus nisi nulla quam quo repellat similique, tempora?", - key: "2", - type: "value" -}, { - value: "3", - label: "A alias, consequatur consequuntur distinctio dolorum ducimus ea eius harum magnam nam non quam quos reiciendis repellat sequi sint sit tempora ullam vitae voluptas.", - key: "3", - type: "value" -}, { - value: "4", - label: "Aliquid enim, eveniet laborum nihil possimus quia reiciendis tenetur voluptatibus.", - key: "4", - type: "value" -}, { - value: "5", - label: "Consequatur delectus dignissimos, facere impedit inventore nemo nobis qui rerum tenetur vitae!", - key: "5", - type: "value" -}]} />`,...(I=(H=u.parameters)==null?void 0:H.docs)==null?void 0:I.source}}};var B,E,R;c.parameters={...c.parameters,docs:{...(B=c.parameters)==null?void 0:B.docs,source:{originalSource:'() => <Select initValue={""} options={[]} />',...(R=(E=c.parameters)==null?void 0:E.docs)==null?void 0:R.source}}};var _,z,D;m.parameters={...m.parameters,docs:{...(_=m.parameters)==null?void 0:_.docs,source:{originalSource:'() => <Select initValue="" options={memberOptions} children={<Button type="button" text="Open" />} onChange={action("onChange")} />',...(D=(z=m.parameters)==null?void 0:z.docs)==null?void 0:D.source}}};var J,K,N;p.parameters={...p.parameters,docs:{...(J=p.parameters)==null?void 0:J.docs,source:{originalSource:`() => { - const [form, setForm] = useState({ - writers: ["1"] - }); - return <> - <Select initValue={["1"]} closeOnSelect={false} options={memberOptions as never[]} onChange={newValue => { - setForm({ - ...form, - writers: newValue as string[] - }); - }} /> - <pre>{JSON.stringify(form, null, 2)}</pre> - </>; -}`,...(N=(K=p.parameters)==null?void 0:K.docs)==null?void 0:N.source}}};const se=["SingleSelect","PassingValue","MultiplySelect","Disabled","CustomLabels","MultiplyLongItems","WithoutOptions","WithChildren","HandleChangedValue"];export{l as CustomLabels,i as Disabled,p as HandleChangedValue,u as MultiplyLongItems,r as MultiplySelect,o as PassingValue,n as SingleSelect,m as WithChildren,c as WithoutOptions,se as __namedExportsOrder,ae as default}; diff --git a/docs/storybook/assets/SourceCodePro-Bold-f5ea5f40.woff2 b/docs/storybook/assets/SourceCodePro-Bold-f5ea5f40.woff2 deleted file mode 100644 index df6fc5d..0000000 Binary files a/docs/storybook/assets/SourceCodePro-Bold-f5ea5f40.woff2 and /dev/null differ diff --git a/docs/storybook/assets/SourceCodePro-BoldIt-1c60abb7.woff2 b/docs/storybook/assets/SourceCodePro-BoldIt-1c60abb7.woff2 deleted file mode 100644 index 23e1823..0000000 Binary files a/docs/storybook/assets/SourceCodePro-BoldIt-1c60abb7.woff2 and /dev/null differ diff --git a/docs/storybook/assets/SourceCodePro-It-49e2814d.woff2 b/docs/storybook/assets/SourceCodePro-It-49e2814d.woff2 deleted file mode 100644 index d807ce6..0000000 Binary files a/docs/storybook/assets/SourceCodePro-It-49e2814d.woff2 and /dev/null differ diff --git a/docs/storybook/assets/SourceCodePro-Regular-88b300ce.woff2 b/docs/storybook/assets/SourceCodePro-Regular-88b300ce.woff2 deleted file mode 100644 index 7e90a28..0000000 Binary files a/docs/storybook/assets/SourceCodePro-Regular-88b300ce.woff2 and /dev/null differ diff --git a/docs/storybook/assets/Spinner.stories-00b34f0b.js b/docs/storybook/assets/Spinner.stories-00b34f0b.js deleted file mode 100644 index b70abd8..0000000 --- a/docs/storybook/assets/Spinner.stories-00b34f0b.js +++ /dev/null @@ -1,3 +0,0 @@ -import{j as r}from"./jsx-runtime-6d9837fe.js";import{S as i,W as a}from"./SPA-63b29876.js";import"./index-93f6b7ae.js";import"./index-03a57050.js";const o=()=>r.jsx(i,{justify:"center",align:"center",style:{height:"200px"},children:r.jsx(a,{size:"large"})}),d={title:"Core/Spinner",component:o},e=()=>r.jsx(i,{justify:"center",children:r.jsx(o,{})});var n,s,t;e.parameters={...e.parameters,docs:{...(n=e.parameters)==null?void 0:n.docs,source:{originalSource:`() => <Stack justify="center"> - <LoadingSpinner /> - </Stack>`,...(t=(s=e.parameters)==null?void 0:s.docs)==null?void 0:t.source}}};const j=["Spinners"];export{e as Spinners,j as __namedExportsOrder,d as default}; diff --git a/docs/storybook/assets/Title-44b6a96d.js b/docs/storybook/assets/Title-44b6a96d.js deleted file mode 100644 index 5bfb896..0000000 --- a/docs/storybook/assets/Title-44b6a96d.js +++ /dev/null @@ -1,3 +0,0 @@ -import{j as e}from"./jsx-runtime-6d9837fe.js";import{d as s,S as d,B as u,c as m,k as p}from"./SPA-63b29876.js";import"./index-93f6b7ae.js";import"./index-03a57050.js";import{E as c}from"./ExternalIconLink-aaade95d.js";const f=s(p)` - width: calc(100% - 50px); -`,r=({title:n,onClick:t,as:a,marginBottom:l=14,link:i,icon:o})=>e.jsxs(d,{align:"center",justify:"space-between",gap:6,style:{marginBottom:l},children:[e.jsxs(f,{...a?{as:a}:{},children:[n," ",t&&e.jsx(u,{icon:m,minimal:!0,noMinimalUnderline:!0,onClick:t})]}),i&&e.jsx(c,{href:i,icon:o})]});try{r.displayName="Title",r.__docgenInfo={description:"",displayName:"Title",props:{title:{defaultValue:null,description:"",name:"title",required:!0,type:{name:"ReactNode"}},onClick:{defaultValue:null,description:"",name:"onClick",required:!1,type:{name:"(() => void)"}},as:{defaultValue:null,description:"",name:"as",required:!1,type:{name:"string | ComponentType<unknown>"}},marginBottom:{defaultValue:{value:"14"},description:"",name:"marginBottom",required:!1,type:{name:"number"}},link:{defaultValue:null,description:"",name:"link",required:!1,type:{name:"string"}},icon:{defaultValue:null,description:"",name:"icon",required:!1,type:{name:"AnyIcon"}}}}}catch{}export{r as T}; diff --git a/docs/storybook/assets/Title.stories-15a04830.js b/docs/storybook/assets/Title.stories-15a04830.js deleted file mode 100644 index 62eb0f6..0000000 --- a/docs/storybook/assets/Title.stories-15a04830.js +++ /dev/null @@ -1,9 +0,0 @@ -import{j as t}from"./jsx-runtime-6d9837fe.js";import{H as m,k as p,m as f,n as u,o as x,p as d,q as h,r as H,s as k,t as g,u as j,v as w,w as P,x as C,y as b,z as y,j as L,C as O,D as T,E as z,F as A,G as v,J as _}from"./SPA-63b29876.js";import"./index-93f6b7ae.js";import"./index-03a57050.js";import{T as n}from"./Title-44b6a96d.js";import"./ExternalIconLink-aaade95d.js";const B=()=>t.jsxs("svg",{viewBox:"0 0 25 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[t.jsx("path",{d:"m24.507 9.5-.034-.09L21.082.562a.896.896.0 00-1.694.091l-2.29 7.01H7.825L5.535.653A.898.898.0 003.841.563L.451 9.411.416 9.5a6.297 6.297.0 002.09 7.278l.012.01.03.022 5.16 3.867 2.56 1.935 1.554 1.176a1.051 1.051.0 001.268.0l1.555-1.176 2.56-1.935 5.197-3.89.014-.01A6.297 6.297.0 0024.507 9.5z",fill:"#e24329"}),t.jsx("path",{d:"m24.507 9.5-.034-.09a11.44 11.44.0 00-4.56 2.051l-7.447 5.632 4.742 3.584 5.197-3.89.014-.01A6.297 6.297.0 0024.507 9.5z",fill:"#fc6d26"}),t.jsx("path",{d:"m7.707 20.677 2.56 1.935 1.555 1.176a1.051 1.051.0 001.268.0l1.555-1.176 2.56-1.935-4.743-3.584-4.755 3.584z",fill:"#fca326"}),t.jsx("path",{d:"M5.01 11.461A11.43 11.43.0 00.45 9.411L.416 9.5a6.297 6.297.0 002.09 7.278l.012.01.03.022 5.16 3.867 4.745-3.584-7.444-5.632z",fill:"#fc6d26"})]}),D=()=>t.jsx("a",{href:"http://some.link",target:"_blank",children:"link to somewhere"}),a={H0:m,H1:p,H2:f,H3:u,H4:x,H5:d,H6:h,H7:H,H8:k,H9:g,H10:j,H11:w,P1:P,P2:C,P3:b,P4:y,P5:L,P6:O,P7:T,P8:z,P9:A,P10:v,P11:_},R={title:"Core/Title",component:n,argTypes:{title:{control:"text"},as:{control:{type:"select"},mapping:{...a,custom:D},options:[...Object.keys(a),"custom"]},marginBottom:{control:"number"},link:{control:"text"},withOnClick:{control:"boolean"},onClick:{table:{disable:!0}},icon:{table:{disable:!0}}}},s=({onClick:l,withOnClick:i,...c})=>t.jsx(n,{...c,...i?{onClick:l}:{}});s.args={title:"from args",as:"H1",marginBottom:10,link:"",withOnClick:!1,icon:t.jsx(B,{})};var o,e,r;s.parameters={...s.parameters,docs:{...(o=s.parameters)==null?void 0:o.docs,source:{originalSource:`({ - onClick, - withOnClick, - ...props -}) => { - return <Title {...props} {...withOnClick ? { - onClick - } : {}} />; -}`,...(r=(e=s.parameters)==null?void 0:e.docs)==null?void 0:r.source}}};const S=["Default"];export{s as Default,S as __namedExportsOrder,R as default}; diff --git a/docs/storybook/assets/TwoButtonGroup-a846b546.js b/docs/storybook/assets/TwoButtonGroup-a846b546.js deleted file mode 100644 index 4340f16..0000000 --- a/docs/storybook/assets/TwoButtonGroup-a846b546.js +++ /dev/null @@ -1,15 +0,0 @@ -import{j as n}from"./jsx-runtime-6d9837fe.js";import{d as r,S as s,B as p}from"./SPA-63b29876.js";import"./index-93f6b7ae.js";import"./index-03a57050.js";const m=r(s)` - margin-bottom: 10px; - padding: 6px 6px 7px; - border-radius: 6px; - background-color: ${({theme:e})=>e.colors.grey10}; -`,t=r(p)` - flex-grow: 1; - justify-content: center; - - ${({selected:e})=>e?"":` - background-color: transparent; - border-color: transparent; - box-shadow: none; - `} -`,o=({selected:e,oneLabel:a,twoLabel:i,oneOnClick:l,twoOnClick:u,oneIcon:c,twoIcon:d})=>n.jsxs(m,{justify:"space-between",align:"center",gap:6,children:[n.jsx(t,{text:a,intent:"secondary",icon:c,size:"large",selected:e==="one",onClick:l}),n.jsx(t,{text:i,intent:"secondary",icon:d,size:"large",selected:e==="two",onClick:u})]});try{o.displayName="TwoButtonGroup",o.__docgenInfo={description:"",displayName:"TwoButtonGroup",props:{selected:{defaultValue:null,description:"",name:"selected",required:!0,type:{name:"enum",value:[{value:'"one"'},{value:'"two"'}]}},oneLabel:{defaultValue:null,description:"",name:"oneLabel",required:!0,type:{name:"string"}},twoLabel:{defaultValue:null,description:"",name:"twoLabel",required:!0,type:{name:"string"}},oneOnClick:{defaultValue:null,description:"",name:"oneOnClick",required:!0,type:{name:"() => void"}},twoOnClick:{defaultValue:null,description:"",name:"twoOnClick",required:!0,type:{name:"() => void"}},oneIcon:{defaultValue:null,description:"",name:"oneIcon",required:!1,type:{name:"IconDefinition"}},twoIcon:{defaultValue:null,description:"",name:"twoIcon",required:!1,type:{name:"IconDefinition"}}}}}catch{}export{o as T}; diff --git a/docs/storybook/assets/TwoButtonGroup.stories-5222a109.js b/docs/storybook/assets/TwoButtonGroup.stories-5222a109.js deleted file mode 100644 index f45ae50..0000000 --- a/docs/storybook/assets/TwoButtonGroup.stories-5222a109.js +++ /dev/null @@ -1,9 +0,0 @@ -import{j as l}from"./jsx-runtime-6d9837fe.js";import{K as p,c as i}from"./SPA-63b29876.js";import{T as r}from"./TwoButtonGroup-a846b546.js";import"./index-93f6b7ae.js";import"./index-03a57050.js";const b={title:"Core/TwoButtonGroup",component:r,argTypes:{selected:{control:{type:"radio"},options:["one","two"]},oneLabel:{control:"text"},twoLabel:{control:"text"},oneOnClick:{action:"clicked",table:{disable:!0}},twoOnClick:{action:"clicked",table:{disable:!0}},oneIcon:{control:"boolean"},twoIcon:{control:"boolean"}}},o=({oneIcon:a,twoIcon:c,...s})=>l.jsx(r,{...s,...a?{oneIcon:p}:{},...c?{twoIcon:i}:{}});o.args={selected:"one",oneLabel:"Find",twoLabel:"Create",oneIcon:!0,twoIcon:!0};var e,t,n;o.parameters={...o.parameters,docs:{...(e=o.parameters)==null?void 0:e.docs,source:{originalSource:`({ - oneIcon, - twoIcon, - ...props -}) => <TwoButtonGroup {...props} {...oneIcon ? { - oneIcon: faSearch -} : {}} {...twoIcon ? { - twoIcon: faPlus -} : {}} />`,...(n=(t=o.parameters)==null?void 0:t.docs)==null?void 0:n.source}}};const f=["Default"];export{o as Default,f as __namedExportsOrder,b as default}; diff --git a/docs/storybook/assets/TwoProperties-5f16b6f7.js b/docs/storybook/assets/TwoProperties-5f16b6f7.js deleted file mode 100644 index 5609bbd..0000000 --- a/docs/storybook/assets/TwoProperties-5f16b6f7.js +++ /dev/null @@ -1 +0,0 @@ -import{j as e}from"./jsx-runtime-6d9837fe.js";import{P as r}from"./Property-20d29019.js";import{P as d}from"./PropertyRow-1432eb20.js";const a=({leftLabel:t,leftText:l,leftCopyText:o,rightLabel:i,rightText:n,rightCopyText:p,marginBottom:s=10})=>e.jsxs(d,{marginBottom:s,children:[e.jsx(r,{marginBottom:0,label:t,text:l,copyText:o}),e.jsx(r,{marginBottom:0,label:i,text:n,copyText:p})]});try{a.displayName="TwoProperties",a.__docgenInfo={description:"",displayName:"TwoProperties",props:{marginBottom:{defaultValue:{value:"10"},description:"",name:"marginBottom",required:!1,type:{name:"number"}},leftLabel:{defaultValue:null,description:"",name:"leftLabel",required:!1,type:{name:"ReactNode"}},leftText:{defaultValue:null,description:"",name:"leftText",required:!1,type:{name:"ReactNode"}},leftCopyText:{defaultValue:null,description:"",name:"leftCopyText",required:!1,type:{name:"string"}},rightLabel:{defaultValue:null,description:"",name:"rightLabel",required:!1,type:{name:"ReactNode"}},rightText:{defaultValue:null,description:"",name:"rightText",required:!1,type:{name:"ReactNode"}},rightCopyText:{defaultValue:null,description:"",name:"rightCopyText",required:!1,type:{name:"string"}}}}}catch{}export{a as T}; diff --git a/docs/storybook/assets/TwoProperties.stories-753977ce.js b/docs/storybook/assets/TwoProperties.stories-753977ce.js deleted file mode 100644 index 5850238..0000000 --- a/docs/storybook/assets/TwoProperties.stories-753977ce.js +++ /dev/null @@ -1,4 +0,0 @@ -import{j as t}from"./jsx-runtime-6d9837fe.js";import{T as o}from"./TwoProperties-5f16b6f7.js";import"./index-93f6b7ae.js";import"./Property-20d29019.js";import"./SPA-63b29876.js";import"./index-03a57050.js";import"./index-d14722d4.js";import"./PropertyRow-1432eb20.js";const f={title:"Core/Property",component:o,argTypes:{leftLabel:{control:"text"},leftText:{control:"text"},rightLabel:{control:"text"},rightText:{control:"text"}}},e=()=>t.jsxs(t.Fragment,{children:[t.jsx(o,{leftLabel:"Due date",leftText:"01 Jan 2023",rightLabel:"Deskpro ticket",rightText:"3"}),t.jsx(o,{leftLabel:"Due date",leftText:"01 Jan 2023",rightLabel:"Deskpro ticket",rightText:"Aut corporis cupiditate dolore dolorem et hic id illo minus, natus, nisi officia, officiis.",rightCopyText:"https://deskpro.com/apps"})]});var r,i,s;e.parameters={...e.parameters,docs:{...(r=e.parameters)==null?void 0:r.docs,source:{originalSource:`() => <> - <TwoPropertiesCmp leftLabel={"Due date"} leftText={"01 Jan 2023"} rightLabel={"Deskpro ticket"} rightText={"3"} /> - <TwoPropertiesCmp leftLabel="Due date" leftText="01 Jan 2023" rightLabel="Deskpro ticket" rightText="Aut corporis cupiditate dolore dolorem et hic id illo minus, natus, nisi officia, officiis." rightCopyText="https://deskpro.com/apps" /> - </>`,...(s=(i=e.parameters)==null?void 0:i.docs)==null?void 0:s.source}}};const T=["TwoProperties"];export{e as TwoProperties,T as __namedExportsOrder,f as default}; diff --git a/docs/storybook/assets/VerticalDivider.stories-4dfd8594.js b/docs/storybook/assets/VerticalDivider.stories-4dfd8594.js deleted file mode 100644 index 4b27829..0000000 --- a/docs/storybook/assets/VerticalDivider.stories-4dfd8594.js +++ /dev/null @@ -1,5 +0,0 @@ -import{j as e}from"./jsx-runtime-6d9837fe.js";import{l as s}from"./SPA-63b29876.js";import"./index-93f6b7ae.js";import"./index-03a57050.js";import{D as p}from"./DeskproAppProvider-553f0e05.js";import{V as a}from"./Divider-a1a4b2e0.js";const v={title:"Core/Divider"},r=()=>e.jsx(p,{theme:s,children:e.jsx(a,{width:2,style:{height:"100vh"}})});var i,t,o;r.parameters={...r.parameters,docs:{...(i=r.parameters)==null?void 0:i.docs,source:{originalSource:`() => <DeskproAppProvider theme={lightTheme}> - <VerticalDividerComp width={2} style={{ - height: "100vh" - }} /> - </DeskproAppProvider>`,...(o=(t=r.parameters)==null?void 0:t.docs)==null?void 0:o.source}}};const D=["VerticalDividerStory"];export{r as VerticalDividerStory,D as __namedExportsOrder,v as default}; diff --git a/docs/storybook/assets/af-efae30b6.js b/docs/storybook/assets/af-efae30b6.js deleted file mode 100644 index bf7ca2d..0000000 --- a/docs/storybook/assets/af-efae30b6.js +++ /dev/null @@ -1 +0,0 @@ -const a="af",e={AF:"Afganistan",AL:"Albanië",DZ:"Algerië",AS:"Amerikaans-Samoa",AD:"Andorra",AO:"Angola",AI:"Anguilla",AQ:"Antarktika",AG:"Antigua en Barbuda",AR:"Argentinië",AM:"Armenië",AW:"Aruba",AU:"Australië",AT:"Oostenryk",AZ:"Azerbeidjan",BS:"Bahamas",BH:"Bahrein",BD:"Bangladesj",BB:"Barbados",BY:"Belarus",BE:"België",BZ:"Belize",BJ:"Benin",BM:"Bermuda",BT:"Bhoetan",BO:"Bolivië",BA:"Bosnië en Herzegowina",BW:"Botswana",BV:"Bouveteiland",BR:"Brasilië",IO:"Britse Indiese Oseaangebied",BN:"Broenei",BG:"Bulgarye",BF:"Burkina Faso",BI:"Burundi",KH:"Kambodja",CM:"Kameroen",CA:"Kanada",CV:"Kaap Verde",KY:"Kaaimanseilande",CF:"Sentraal-Afrikaanse Republiek",TD:"Tsjad",CL:"Chili",CN:"Sjina",CX:"Kerseiland",CC:"Cocos- (Keeling) eilande",CO:"Colombië",KM:"Comore",CG:"Republiek van die Kongo",CD:"Demokratiese Republiek van die Kongo",CK:"Cookeilande",CR:"Costa Rica",CI:"Ivoorkus",HR:"Kroasië",CU:"Kuba",CY:"Siprus",CZ:"Tjeggiese Republiek",DK:"Denemarke",DJ:"Djiboeti",DM:"Dominica",DO:"Dominikaanse Republiek",EC:"Ecuador",EG:"Egipte",SV:"El Salvador",GQ:"Ekwatoriaal-Guinee",ER:"Eritrea",EE:"Estland",ET:"Ethiopië",FK:"Falklandeilande",FO:"Faroëreilande",FJ:"Fidji",FI:"Finland",FR:"Frankryk",GF:"Frans-Guyana",PF:"Frans-Polinesië",TF:"Franse Suidelike Gebiede",GA:"Gaboen",GM:"Gambië",GE:"Georgië",DE:"Duitsland",GH:"Ghana",GI:"Gibraltar",GR:"Griekeland",GL:"Groenland",GD:"Grenada",GP:"Guadeloupe",GU:"Guam",GT:"Guatemala",GN:"Guinee",GW:"Guinee-Bissau",GY:"Guyana",HT:"Haïti",HM:"Heard en McDonaldeilande",VA:"Vatikaanstad",HN:"Honduras",HK:"Hongkong SAS Sjina",HU:"Hongarye",IS:"Ysland",IN:"Indië",ID:"Indonesië",IR:"Iran",IQ:"Irak",IE:"Ierland",IL:"Israel",IT:"Italië",JM:"Jamaika",JP:"Japan",JO:"Jordanië",KZ:"Kazakstan",KE:"Kenia",KI:"Kiribati",KP:"Noord-Korea",KR:"Suid-Korea",KW:"Koeweit",KG:"Kirgisië",LA:"Laos",LV:"Letland",LB:"Libanon",LS:"Lesotho",LR:"Liberië",LY:"Libië",LI:"Liechtenstein",LT:"Litaue",LU:"Luxemburg",MO:"Macau SAS Sjina",MG:"Madagaskar",MW:"Malawi",MY:"Maleisië",MV:"Maledive",ML:"Mali",MT:"Malta",MH:"Marshalleilande",MQ:"Martinique",MR:"Mauritanië",MU:"Mauritius",YT:"Mayotte",MX:"Meksiko",FM:"Mikronesië",MD:"Moldowa",MC:"Monaco",MN:"Mongolië",MS:"Montserrat",MA:"Marokko",MZ:"Mosambiek",MM:"Mianmar (Birma)",NA:"Namibië",NR:"Nauru",NP:"Nepal",NL:"Nederland",NC:"Nieu-Kaledonië",NZ:"Nieu-Seeland",NI:"Nicaragua",NE:"Niger",NG:"Nigerië",NU:"Niue",NF:"Norfolkeiland",MK:"Macedonië",MP:"Noordelike Mariana-eilande",NO:"Noorweë",OM:"Oman",PK:"Pakistan",PW:"Palau",PS:"Palestynse gebiede",PA:"Panama",PG:"Papoea-Nieu-Guinee",PY:"Paraguay",PE:"Peru",PH:"Filippyne",PN:"Pitcairneilande",PL:"Pole",PT:"Portugal",PR:"Puerto Rico",QA:"Katar",RE:"Réunion",RO:"Roemenië",RU:"Rusland",RW:"Rwanda",SH:"Sint Helena",KN:"Sint Kitts en Nevis",LC:"Sint Lucia",PM:"Sint Pierre en Miquelon",VC:"Sint Vincent en die Grenadine",WS:"Samoa",SM:"San Marino",ST:"Sao Tome en Principe",SA:"Saoedi-Arabië",SN:"Senegal",SC:"Seychelle",SL:"Sierra Leone",SG:"Singapoer",SK:"Slowakye",SI:"Slowenië",SB:"Solomoneilande",SO:"Somalië",ZA:"Suid-Afrika",GS:"Suid-Georgië en die Suidelike Sandwicheilande",ES:"Spanje",LK:"Sri Lanka",SD:"Soedan",SR:"Suriname",SJ:"Svalbard en Jan Mayen",SZ:"Swaziland",SE:"Swede",CH:"Switserland",SY:"Sirië",TW:"Taiwan",TJ:"Tadjikistan",TZ:"Tanzanië",TH:"Thailand",TL:"Oos-Timor",TG:"Togo",TK:"Tokelau",TO:"Tonga",TT:"Trinidad en Tobago",TN:"Tunisië",TR:"Turkye",TM:"Turkmenië",TC:"Turks- en Caicoseilande",TV:"Tuvalu",UG:"Uganda",UA:"Oekraïne",AE:"Verenigde Arabiese Emirate",GB:"Verenigde Koninkryk",US:"Verenigde State van Amerika",UM:"VS klein omliggende eilande",UY:"Uruguay",UZ:"Oesbekistan",VU:"Vanuatu",VE:"Venezuela",VN:"Viëtnam",VG:"Britse Maagde-eilande",VI:"Amerikaanse Maagde-eilande",WF:"Wallis en Futuna",EH:"Wes-Sahara",YE:"Jemen",ZM:"Zambië",ZW:"Zimbabwe",AX:"Ålandeilande",BQ:"Karibiese Nederland",CW:"Curaçao",GG:"Guernsey",IM:"Eiland Man",JE:"Jersey",ME:"Montenegro",BL:"Sint Barthélemy",MF:"Sint Martin",RS:"Serwië",SX:"Sint Maarten",SS:"Suid-Soedan",XK:"Kosovo"},i={locale:a,countries:e};export{e as countries,i as default,a as locale}; diff --git a/docs/storybook/assets/am-65b0ba6b.js b/docs/storybook/assets/am-65b0ba6b.js deleted file mode 100644 index 65550c7..0000000 --- a/docs/storybook/assets/am-65b0ba6b.js +++ /dev/null @@ -1 +0,0 @@ -const M="am",S={AF:"አፍጋኒስታን",AL:"አልባኒያ",DZ:"አልጄሪያ",AS:"የአሜሪካ ሳሞአ",AD:"አንዶራ",AO:"አንጐላ",AI:"አንጉኢላ",AQ:"አንታርክቲካ",AG:"አንቲጓ እና ባሩዳ",AR:"አርጀንቲና",AM:"አርሜኒያ",AW:"አሩባ",AU:"አውስትራልያ",AT:"ኦስትሪያ",AZ:"አዘርባጃን",BS:"ባሃማስ",BH:"ባህሬን",BD:"ባንግላዲሽ",BB:"ባርቤዶስ",BY:"ቤላሩስ",BE:"ቤልጄም",BZ:"ቤሊዘ",BJ:"ቤኒን",BM:"ቤርሙዳ",BT:"ቡህታን",BO:"ቦሊቪያ",BA:"ቦስኒያ እና ሄርዞጎቪኒያ",BW:"ቦትስዋና",BV:"ቡቬት ደሴት",BR:"ብራዚል",IO:"የብሪታኒያ ህንድ ውቂያኖስ ግዛት",BN:"ብሩኒ",BG:"ቡልጌሪያ",BF:"ቡርኪና ፋሶ",BI:"ብሩንዲ",KH:"ካምቦዲያ",CM:"ካሜሩን",CA:"ካናዳ",CV:"ኬፕ ቬርዴ",KY:"ካይማን ደሴቶች",CF:"የመካከለኛው አፍሪካ ሪፐብሊክ",TD:"ቻድ",CL:"ቺሊ",CN:"ቻይና",CX:"የገና ደሴት",CC:"ኮኮስ(ኬሊንግ) ደሴቶች",CO:"ኮሎምቢያ",KM:"ኮሞሮስ",CG:"ኮንጎ ብራዛቪል",CD:"ኮንጎ-ኪንሻሳ",CK:"ኩክ ደሴቶች",CR:"ኮስታ ሪካ",CI:"ኮት ዲቯር",HR:"ክሮኤሽያ",CU:"ኩባ",CY:"ሳይፕረስ",CZ:"ቼክ ሪፑብሊክ",DK:"ዴንማርክ",DJ:"ጂቡቲ",DM:"ዶሚኒካ",DO:"ዶሚኒክ ሪፑብሊክ",EC:"ኢኳዶር",EG:"ግብጽ",SV:"ኤል ሳልቫዶር",GQ:"ኢኳቶሪያል ጊኒ",ER:"ኤርትራ",EE:"ኤስቶኒያ",ET:"ኢትዮጵያ",FK:"የፎክላንድ ደሴቶች",FO:"የፋሮ ደሴቶች",FJ:"ፊጂ",FI:"ፊንላንድ",FR:"ፈረንሳይ",GF:"የፈረንሳይ ጉዊአና",PF:"የፈረንሳይ ፖሊኔዢያ",TF:"የፈረንሳይ ደቡባዊ ግዛቶች",GA:"ጋቦን",GM:"ጋምቢያ",GE:"ጆርጂያ",DE:"ጀርመን",GH:"ጋና",GI:"ጂብራልተር",GR:"ግሪክ",GL:"ግሪንላንድ",GD:"ግሬናዳ",GP:"ጉዋደሉፕ",GU:"ጉዋም",GT:"ጉዋቲማላ",GN:"ጊኒ",GW:"ጊኒ ቢሳኦ",GY:"ጉያና",HT:"ሀይቲ",HM:"ኽርድ ደሴቶችና ማክዶናልድ ደሴቶች",VA:"ቫቲካን ከተማ",HN:"ሆንዱራስ",HK:"ሆንግ ኮንግ SAR ቻይና",HU:"ሀንጋሪ",IS:"አይስላንድ",IN:"ህንድ",ID:"ኢንዶኔዢያ",IR:"ኢራን",IQ:"ኢራቅ",IE:"አየርላንድ",IL:"እስራኤል",IT:"ጣሊያን",JM:"ጃማይካ",JP:"ጃፓን",JO:"ጆርዳን",KZ:"ካዛኪስታን",KE:"ኬንያ",KI:"ኪሪባቲ",KP:"ሰሜን ኮሪያ",KR:"ደቡብ ኮሪያ",KW:"ክዌት",KG:"ኪርጊስታን",LA:"ላኦስ",LV:"ላትቪያ",LB:"ሊባኖስ",LS:"ሌሶቶ",LR:"ላይቤሪያ",LY:"ሊቢያ",LI:"ሊችተንስታይን",LT:"ሊቱዌኒያ",LU:"ሉክሰምበርግ",MO:"ማካኡ ልዩ የአስተዳደር ክልል ቻይና",MG:"ማዳጋስካር",MW:"ማላዊ",MY:"ማሌዢያ",MV:"ማልዲቭስ",ML:"ማሊ",MT:"ማልታ",MH:"ማርሻል አይላንድ",MQ:"ማርቲኒክ",MR:"ሞሪቴኒያ",MU:"ሞሪሸስ",YT:"ሜይኦቴ",MX:"ሜክሲኮ",FM:"ሚክሮኔዢያ",MD:"ሞልዶቫ",MC:"ሞናኮ",MN:"ሞንጎሊያ",MS:"ሞንትሴራት",MA:"ሞሮኮ",MZ:"ሞዛምቢክ",MM:"ማይናማር(በርማ)",NA:"ናሚቢያ",NR:"ናኡሩ",NP:"ኔፓል",NL:"ኔዘርላንድ",NC:"ኒው ካሌዶኒያ",NZ:"ኒው ዚላንድ",NI:"ኒካራጓ",NE:"ኒጀር",NG:"ናይጄሪያ",NU:"ኒኡይ",NF:"ኖርፎልክ ደሴት",MK:"መቄዶንያ",MP:"የሰሜናዊ ማሪያና ደሴቶች",NO:"ኖርዌ",OM:"ኦማን",PK:"ፓኪስታን",PW:"ፓላው",PS:"የፍልስጤም ግዛት",PA:"ፓናማ",PG:"ፓፑዋ ኒው ጊኒ",PY:"ፓራጓይ",PE:"ፔሩ",PH:"ፊሊፒንስ",PN:"ፒትካኢርን አይስላንድ",PL:"ፖላንድ",PT:"ፖርቱጋል",PR:"ፖርታ ሪኮ",QA:"ኳታር",RE:"ሪዩኒየን",RO:"ሮሜኒያ",RU:"ራሺያ",RW:"ሩዋንዳ",SH:"ሴንት ሄለና",KN:"ቅዱስ ኪትስ እና ኔቪስ",LC:"ሴንት ሉቺያ",PM:"ቅዱስ ፒዬር እና ሚኩኤሎን",VC:"ቅዱስ ቪንሴንት እና ግሬናዲንስ",WS:"ሳሞአ",SM:"ሳን ማሪኖ",ST:"ሳኦ ቶሜ እና ፕሪንሲፔ",SA:"ሳውድአረቢያ",SN:"ሴኔጋል",SC:"ሲሼልስ",SL:"ሴራሊዮን",SG:"ሲንጋፖር",SK:"ስሎቫኪያ",SI:"ስሎቬኒያ",SB:"ሰሎሞን ደሴት",SO:"ሱማሌ",ZA:"ደቡብ አፍሪካ",GS:"ደቡብ ጆርጂያ እና የደቡብ ሳንድዊች ደሴቶች",ES:"ስፔን",LK:"ሲሪላንካ",SD:"ሱዳን",SR:"ሱሪናም",SJ:"ስቫልባርድ እና ጃን ማየን",SZ:"ሱዋዚላንድ",SE:"ስዊድን",CH:"ስዊዘርላንድ",SY:"ሲሪያ",TW:"ታይዋን",TJ:"ታጃኪስታን",TZ:"ታንዛኒያ",TH:"ታይላንድ",TL:"ምስራቅ ሌስት",TG:"ቶጐ",TK:"ቶክላው",TO:"ቶንጋ",TT:"ትሪናዳድ እና ቶቤጎ",TN:"ቱኒዚያ",TR:"ቱርክ",TM:"ቱርክሜኒስታን",TC:"የቱርኮችና የካኢኮስ ደሴቶች",TV:"ቱቫሉ",UG:"ዩጋንዳ",UA:"ዩክሬን",AE:"የተባበሩት አረብ ኤምሬትስ",GB:"እንግሊዝ",US:"ዩናይትድ ስቴትስ",UM:"የዩ ኤስ ጠረፍ ላይ ያሉ ደሴቶች",UY:"ኡራጓይ",UZ:"ኡዝቤኪስታን",VU:"ቫኑአቱ",VE:"ቬንዙዌላ",VN:"ቬትናም",VG:"የእንግሊዝ ቨርጂን ደሴቶች",VI:"የአሜሪካ ቨርጂን ደሴቶች",WF:"ዋሊስ እና ፉቱና ደሴቶች",EH:"ምዕራባዊ ሳህራ",YE:"የመን",ZM:"ዛምቢያ",ZW:"ዚምቧቤ",AX:"የአላንድ ደሴቶች",BQ:"የካሪቢያን ኔዘርላንድስ",CW:"ኩራሳዎ",GG:"ጉርነሲ",IM:"አይል ኦፍ ማን",JE:"ጀርሲ",ME:"ሞንተኔግሮ",BL:"ቅዱስ በርቴሎሜ",MF:"ሴንት ማርቲን",RS:"ሰርብያ",SX:"ሲንት ማርተን",SS:"ደቡብ ሱዳን",XK:"ኮሶቮ"},G={locale:M,countries:S};export{S as countries,G as default,M as locale}; diff --git a/docs/storybook/assets/ar-5143a0bc.js b/docs/storybook/assets/ar-5143a0bc.js deleted file mode 100644 index 6da06e6..0000000 --- a/docs/storybook/assets/ar-5143a0bc.js +++ /dev/null @@ -1 +0,0 @@ -const M="ar",S={AF:"أفغانستان",AL:"ألبانيا",DZ:"الجزائر",AS:"ساموا الأمريكية",AD:"أندورا",AO:"أنغولا",AI:"أنغويلا",AQ:"القارة القطبية الجنوبية",AG:"أنتيغوا وباربودا",AR:"الأرجنتين",AM:"أرمينيا",AW:"أروبا",AU:"أستراليا",AT:"النمسا",AZ:"أذربيجان",BS:"باهاماس",BH:"البحرين",BD:"بنغلاديش",BB:"باربادوس",BY:"روسيا البيضاء",BE:"بلجيكا",BZ:"بليز",BJ:"بنين",BM:"برمودا",BT:"بوتان",BO:"بوليفيا",BA:"البوسنة والهرسك",BW:"بوتسوانا",BV:"جزيرة بوفيه",BR:"البرازيل",IO:"إقليم المحيط الهندي البريطاني",BN:"بروناي",BG:"بلغاريا",BF:"بوركينا فاسو",BI:"بوروندي",KH:"كمبوديا",CM:"الكاميرون",CA:"كندا",CV:"الرأس الأخضر",KY:"جزر كايمان",CF:"جمهورية أفريقيا الوسطى",TD:"تشاد",CL:"تشيلي",CN:"الصين",CX:"جزيرة عيد الميلاد",CC:"جزر كوكوس",CO:"كولومبيا",KM:"جزر القمر",CG:"جمهورية الكونغو",CD:"جمهورية الكونغو الديمقراطية",CK:"جزر كوك",CR:"كوستاريكا",CI:"ساحل العاج",HR:"كرواتيا",CU:"كوبا",CY:"قبرص",CZ:"جمهورية التشيك",DK:"الدنمارك",DJ:"جيبوتي",DM:"دومينيكا",DO:"جمهورية الدومينيكان",EC:"الإكوادور",EG:"مصر",SV:"السلفادور",GQ:"غينيا الاستوائية",ER:"إريتريا",EE:"إستونيا",ET:"إثيوبيا",FK:"جزر فوكلاند",FO:"جزر فارو",FJ:"فيجي",FI:"فنلندا",FR:"فرنسا",GF:"غويانا الفرنسية",PF:"بولينزيا الفرنسية",TF:"أراض فرنسية جنوبية وأنتارتيكية",GA:"الغابون",GM:"غامبيا",GE:"جورجيا",DE:"ألمانيا",GH:"غانا",GI:"جبل طارق",GR:"اليونان",GL:"جرينلاند",GD:"غرينادا",GP:"غوادلوب",GU:"غوام",GT:"غواتيمالا",GN:"غينيا",GW:"غينيا بيساو",GY:"غيانا",HT:"هايتي",HM:"جزيرة هيرد وجزر ماكدونالد",VA:"الفاتيكان",HN:"هندوراس",HK:"هونغ كونغ",HU:"المجر",IS:"آيسلندا",IN:"الهند",ID:"إندونيسيا",IR:"إيران",IQ:"العراق",IE:"أيرلندا",IL:"إسرائيل",IT:"إيطاليا",JM:"جامايكا",JP:"اليابان",JO:"الأردن",KZ:"كازاخستان",KE:"كينيا",KI:"كيريباتي",KP:"كوريا الشمالية",KR:"كوريا الجنوبية",KW:"الكويت",KG:"قيرغيزستان",LA:"لاوس",LV:"لاتفيا",LB:"لبنان",LS:"ليسوتو",LR:"ليبيريا",LY:"ليبيا",LI:"ليختنشتاين",LT:"ليتوانيا",LU:"لوكسمبورغ",MO:"ماكاو",MK:"مقدونيا الشمالية",MG:"مدغشقر",MW:"مالاوي",MY:"ماليزيا",MV:"جزر المالديف",ML:"مالي",MT:"مالطا",MH:"جزر مارشال",MQ:"مارتينيك",MR:"موريتانيا",MU:"موريشيوس",YT:"مايوت",MX:"المكسيك",FM:"ولايات ميكرونيسيا المتحدة",MD:"مولدوفا",MC:"موناكو",MN:"منغوليا",MS:"مونتسرات",MA:"المغرب",MZ:"موزمبيق",MM:"بورما",NA:"ناميبيا",NR:"ناورو",NP:"نيبال",NL:"هولندا",NC:"كاليدونيا الجديدة",NZ:"نيوزيلندا",NI:"نيكاراغوا",NE:"النيجر",NG:"نيجيريا",NU:"نييوي",NF:"جزيرة نورفولك",MP:"جزر ماريانا الشمالية",NO:"النرويج",OM:"عمان",PK:"باكستان",PW:"بالاو",PS:"فلسطين",PA:"بنما",PG:"بابوا غينيا الجديدة",PY:"باراغواي",PE:"بيرو",PH:"الفلبين",PN:"جزر بيتكيرن",PL:"بولندا",PT:"البرتغال",PR:"بورتوريكو",QA:"قطر",RE:"لا ريونيون",RO:"رومانيا",RU:"روسيا",RW:"رواندا",SH:"سانت هيلينا وأسينشين وتريستان دا كونا",KN:"سانت كيتس ونيفيس",LC:"سانت لوسيا",PM:"سان بيير وميكلون",VC:"سانت فينسنت والغرينادين",WS:"ساموا",SM:"سان مارينو",ST:"ساو تومي وبرينسيب",SA:"السعودية",SN:"السنغال",SC:"سيشل",SL:"سيراليون",SG:"سنغافورة",SK:"سلوفاكيا",SI:"سلوفينيا",SB:"جزر سليمان",SO:"الصومال",ZA:"جنوب أفريقيا",GS:"جورجيا الجنوبية وجزر ساندويتش الجنوبية",ES:"إسبانيا",LK:"سريلانكا",SD:"السودان",SR:"سورينام",SJ:"سفالبارد ويان ماين",SZ:"سوازيلاند",SE:"السويد",CH:"سويسرا",SY:"سوريا",TW:"تايوان",TJ:"طاجيكستان",TZ:"تانزانيا",TH:"تايلاند",TL:"تيمور الشرقية",TG:"توغو",TK:"توكيلاو",TO:"تونغا",TT:"ترينيداد وتوباغو",TN:"تونس",TR:"تركيا",TM:"تركمانستان",TC:"جزر توركس وكايكوس",TV:"توفالو",UG:"أوغندا",UA:"أوكرانيا",AE:"الإمارات العربية المتحدة",GB:"المملكة المتحدة",US:"الولايات المتحدة",UM:"جزر الولايات المتحدة",UY:"الأوروغواي",UZ:"أوزبكستان",VU:"فانواتو",VE:"فنزويلا",VN:"فيتنام",VG:"جزر العذراء البريطانية",VI:"جزر العذراء الأمريكية",WF:"والس وفوتونا",EH:"الصحراء الغربية",YE:"اليمن",ZM:"زامبيا",ZW:"زيمبابوي",AX:"جزر أولاند",BQ:"الجزر الكاريبية الهولندية",CW:"كوراساو",GG:"غيرنزي",IM:"جزيرة مان",JE:"جيرزي",ME:"الجبل الأسود",BL:"سان بارتيلمي",MF:"سانت مارتن (الجزء الفرنسي)",RS:"صربيا",SX:"سانت مارتن (الجزء الهولندي)",SS:"جنوب السودان",XK:"كوسوفو"},G={locale:M,countries:S};export{S as countries,G as default,M as locale}; diff --git a/docs/storybook/assets/az-60267468.js b/docs/storybook/assets/az-60267468.js deleted file mode 100644 index 7a9905b..0000000 --- a/docs/storybook/assets/az-60267468.js +++ /dev/null @@ -1 +0,0 @@ -const a="az",i={AD:"Andorra",AE:"Birləşmiş Ərəb Əmirlikləri",AF:"Əfqanıstan",AG:"Antiqua və Barbuda",AI:"Angilya",AL:"Albaniya",AM:"Ermənistan",AO:"Anqola",AQ:"Antarktika",AR:"Argentina",AS:"Amerika Samoası",AT:"Avstriya",AU:"Avstraliya",AW:"Aruba",AX:"Aland adaları",AZ:"Azərbaycan",BA:"Bosniya və Herseqovina",BB:"Barbados",BD:"Banqladeş",BE:"Belçika",BF:"Burkina Faso",BG:"Bolqarıstan",BH:"Bəhreyn",BI:"Burundi",BJ:"Benin",BL:"Sent-Bartelemi",BM:"Bermud adaları",BN:"Bruney",BO:"Boliviya",BQ:"Karib Niderlandı",BR:"Braziliya",BS:"Baham adaları",BT:"Butan",BV:"Buve adası",BW:"Botsvana",BY:"Belarus",BZ:"Beliz",CA:"Kanada",CC:"Kokos (Kilinq) adaları",CD:"Konqo - Kinşasa",CF:"Mərkəzi Afrika Respublikası",CG:"Konqo - Brazzavil",CH:"İsveçrə",CI:"Kotd’ivuar",CK:"Kuk adaları",CL:"Çili",CM:"Kamerun",CN:"Çin",CO:"Kolumbiya",CR:"Kosta Rika",CU:"Kuba",CV:"Kabo-Verde",CW:"Kurasao",CX:"Milad adası",CY:"Kipr",CZ:"Çex Respublikası",DE:"Almaniya",DJ:"Cibuti",DK:"Danimarka",DM:"Dominika",DO:"Dominikan Respublikası",DZ:"Əlcəzair",EC:"Ekvador",EE:"Estoniya",EG:"Misir",EH:"Qərbi Saxara",ER:"Eritreya",ES:"İspaniya",ET:"Efiopiya",FI:"Finlandiya",FJ:"Fici",FK:"Folklend adaları",FM:"Mikroneziya",FO:"Farer adaları",FR:"Fransa",GA:"Qabon",GB:"Birləşmiş Krallıq",GD:"Qrenada",GE:"Gürcüstan",GF:"Fransa Qvianası",GG:"Gernsi",GH:"Qana",GI:"Cəbəllütariq",GL:"Qrenlandiya",GM:"Qambiya",GN:"Qvineya",GP:"Qvadelupa",GQ:"Ekvatorial Qvineya",GR:"Yunanıstan",GS:"Cənubi Corciya və Cənubi Sendviç adaları",GT:"Qvatemala",GU:"Quam",GW:"Qvineya-Bisau",GY:"Qayana",HK:"Honq Konq",HM:"Herd və Makdonald adaları",HN:"Honduras",HR:"Xorvatiya",HT:"Haiti",HU:"Macarıstan",ID:"İndoneziya",IE:"İrlandiya",IL:"İsrail",IM:"Men adası",IN:"Hindistan",IO:"Britaniyanın Hind Okeanı Ərazisi",IQ:"İraq",IR:"İran",IS:"İslandiya",IT:"İtaliya",JE:"Cersi",JM:"Yamayka",JO:"İordaniya",JP:"Yaponiya",KE:"Keniya",KG:"Qırğızıstan",KH:"Kamboca",KI:"Kiribati",KM:"Komor adaları",KN:"Sent-Kits və Nevis",KP:"Şimali Koreya",KR:"Cənubi Koreya",KW:"Küveyt",KY:"Kayman adaları",KZ:"Qazaxıstan",LA:"Laos",LB:"Livan",LC:"Sent-Lusiya",LI:"Lixtenşteyn",LK:"Şri-Lanka",LR:"Liberiya",LS:"Lesoto",LT:"Litva",LU:"Lüksemburq",LV:"Latviya",LY:"Liviya",MA:"Mərakeş",MC:"Monako",MD:"Moldova",ME:"Monteneqro",MF:"Sent Martin",MG:"Madaqaskar",MH:"Marşal adaları",MK:"Şimali Makedoniya",ML:"Mali",MM:"Myanma",MN:"Monqolustan",MO:"Makao",MP:"Şimali Marian adaları",MQ:"Martinik",MR:"Mavritaniya",MS:"Monserat",MT:"Malta",MU:"Mavriki",MV:"Maldiv adaları",MW:"Malavi",MX:"Meksika",MY:"Malayziya",MZ:"Mozambik",NA:"Namibiya",NC:"Yeni Kaledoniya",NE:"Niger",NF:"Norfolk adası",NG:"Nigeriya",NI:"Nikaraqua",NL:"Niderland",NO:"Norveç",NP:"Nepal",NR:"Nauru",NU:"Niue",NZ:"Yeni Zelandiya",OM:"Oman",PA:"Panama",PE:"Peru",PF:"Fransa Polineziyası",PG:"Papua-Yeni Qvineya",PH:"Filippin",PK:"Pakistan",PL:"Polşa",PM:"Müqəddəs Pyer və Mikelon",PN:"Pitkern adaları",PR:"Puerto Riko",PS:"Fələstin Əraziləri",PT:"Portuqaliya",PW:"Palau",PY:"Paraqvay",QA:"Qətər",RE:"Reyunyon",RO:"Rumıniya",RS:"Serbiya",RU:"Rusiya",RW:"Ruanda",SA:"Səudiyyə Ərəbistanı",SB:"Solomon adaları",SC:"Seyşel adaları",SD:"Sudan",SE:"İsveç",SG:"Sinqapur",SH:"Müqəddəs Yelena",SI:"Sloveniya",SJ:"Svalbard və Yan-Mayen",SK:"Slovakiya",SL:"Syerra-Leone",SM:"San-Marino",SN:"Seneqal",SO:"Somali",SR:"Surinam",SS:"Cənubi Sudan",ST:"San-Tome və Prinsipi",SV:"Salvador",SX:"Sint-Marten",SY:"Suriya",SZ:"Svazilend",TC:"Törks və Kaykos adaları",TD:"Çad",TF:"Fransanın Cənub Əraziləri",TG:"Toqo",TH:"Tailand",TJ:"Tacikistan",TK:"Tokelau",TL:"Şərqi Timor",TM:"Türkmənistan",TN:"Tunis",TO:"Tonqa",TR:"Türkiyə",TT:"Trinidad və Tobaqo",TV:"Tuvalu",TW:"Tayvan",TZ:"Tanzaniya",UA:"Ukrayna",UG:"Uqanda",UM:"ABŞ-a bağlı kiçik adacıqlar",US:"Amerika Birləşmiş Ştatları",UY:"Uruqvay",UZ:"Özbəkistan",VA:"Vatikan",VC:"Sent-Vinsent və Qrenadinlər",VE:"Venesuela",VG:"Britaniyanın Virgin adaları",VI:"ABŞ Virgin adaları",VN:"Vyetnam",VU:"Vanuatu",WF:"Uollis və Futuna",WS:"Samoa",XK:"Kosovo",YE:"Yəmən",YT:"Mayot",ZA:"Cənub Afrika",ZM:"Zambiya",ZW:"Zimbabve"},n={locale:a,countries:i};export{i as countries,n as default,a as locale}; diff --git a/docs/storybook/assets/be-9ead0d4f.js b/docs/storybook/assets/be-9ead0d4f.js deleted file mode 100644 index c2b1271..0000000 --- a/docs/storybook/assets/be-9ead0d4f.js +++ /dev/null @@ -1 +0,0 @@ -const M="be",S={AD:"Андора",AE:"Аб’яднаныя Арабскія Эміраты",AF:"Афганістан",AG:"Антыгуа і Барбуда",AI:"Ангілья",AL:"Албанія",AM:"Арменія",AO:"Ангола",AQ:"Антарктыка",AR:"Аргенціна",AS:"Амерыканскае Самоа",AT:"Аўстрыя",AU:"Аўстралія",AW:"Аруба",AX:"Аландскія астравы",AZ:"Азербайджан",BA:"Боснія і Герцагавіна",BB:"Барбадас",BD:"Бангладэш",BE:"Бельгія",BF:"Буркіна-Фасо",BG:"Балгарыя",BH:"Бахрэйн",BI:"Бурундзі",BJ:"Бенін",BL:"Сен-Бартэльмі",BM:"Бермудскія астравы",BN:"Бруней",BO:"Балівія",BQ:"Карыбскія Нідэрланды",BR:"Бразілія",BS:"Багамы",BT:"Бутан",BV:"Востраў Бувэ",BW:"Батсвана",BY:"Беларусь",BZ:"Беліз",CA:"Канада",CC:"Какосавыя (Кілінг) астравы",CD:"Конга (Кіншаса)",CF:"Цэнтральнаафрыканская Рэспубліка",CG:"Конга - Бразавіль",CH:"Швейцарыя",CI:"Кот-д’Івуар",CK:"Астравы Кука",CL:"Чылі",CM:"Камерун",CN:"Кітай",CO:"Калумбія",CR:"Коста-Рыка",CU:"Куба",CV:"Каба-Вердэ",CW:"Кюрасаа",CX:"Востраў Каляд",CY:"Кіпр",CZ:"Чэхія",DE:"Германія",DJ:"Джыбуці",DK:"Данія",DM:"Дамініка",DO:"Дамініканская Рэспубліка",DZ:"Алжыр",EC:"Эквадор",EE:"Эстонія",EG:"Егіпет",EH:"Заходняя Сахара",ER:"Эрытрэя",ES:"Іспанія",ET:"Эфіопія",FI:"Фінляндыя",FJ:"Фіджы",FK:"Фалклендскія астравы",FM:"Мікранезія",FO:"Фарэрскія астравы",FR:"Францыя",GA:"Габон",GB:"Вялікабрытанія",GD:"Грэнада",GE:"Грузія",GF:"Французская Гвіяна",GG:"Гернсі",GH:"Гана",GI:"Гібралтар",GL:"Грэнландыя",GM:"Гамбія",GN:"Гвінея",GP:"Гвадэлупа",GQ:"Экватарыяльная Гвінея",GR:"Грэцыя",GS:"Паўднёвая Джорджыя і Паўднёвыя Сандвічавы астравы",GT:"Гватэмала",GU:"Гуам",GW:"Гвінея-Бісау",GY:"Гаяна",HK:"Ганконг, САР (Кітай)",HM:"Астравы Херд і Макдональд",HN:"Гандурас",HR:"Харватыя",HT:"Гаіці",HU:"Венгрыя",ID:"Інданезія",IE:"Ірландыя",IL:"Ізраіль",IM:"Востраў Мэн",IN:"Індыя",IO:"Брытанская тэрыторыя ў Індыйскім акіяне",IQ:"Ірак",IR:"Іран",IS:"Ісландыя",IT:"Італія",JE:"Джэрсі",JM:"Ямайка",JO:"Іарданія",JP:"Японія",KE:"Кенія",KG:"Кыргызстан",KH:"Камбоджа",KI:"Кірыбаці",KM:"Каморскія Астравы",KN:"Сент-Кітс і Невіс",KP:"Паўночная Карэя",KR:"Паўднёвая Карэя",KW:"Кувейт",KY:"Кайманавы астравы",KZ:"Казахстан",LA:"Лаос",LB:"Ліван",LC:"Сент-Люсія",LI:"Ліхтэнштэйн",LK:"Шры-Ланка",LR:"Ліберыя",LS:"Лесота",LT:"Літва",LU:"Люксембург",LV:"Латвія",LY:"Лівія",MA:"Марока",MC:"Манака",MD:"Малдова",ME:"Чарнагорыя",MF:"Сен-Мартэн",MG:"Мадагаскар",MH:"Маршалавы Астравы",MK:"Рэспубліка Македонія",ML:"Малі",MM:"М’янма (Бірма)",MN:"Манголія",MO:"Макаа, САР (Кітай)",MP:"Паўночныя Марыянскія астравы",MQ:"Марцініка",MR:"Маўрытанія",MS:"Мантсерат",MT:"Мальта",MU:"Маўрыкій",MV:"Мальдывы",MW:"Малаві",MX:"Мексіка",MY:"Малайзія",MZ:"Мазамбік",NA:"Намібія",NC:"Новая Каледонія",NE:"Нігер",NF:"Востраў Норфалк",NG:"Нігерыя",NI:"Нікарагуа",NL:"Нідэрланды",NO:"Нарвегія",NP:"Непал",NR:"Науру",NU:"Ніуэ",NZ:"Новая Зеландыя",OM:"Аман",PA:"Панама",PE:"Перу",PF:"Французская Палінезія",PG:"Папуа-Новая Гвінея",PH:"Філіпіны",PK:"Пакістан",PL:"Польшча",PM:"Сен-П’ер і Мікелон",PN:"Астравы Піткэрн",PR:"Пуэрта-Рыка",PS:"Палесцінскія Тэрыторыі",PT:"Партугалія",PW:"Палау",PY:"Парагвай",QA:"Катар",RE:"Рэюньён",RO:"Румынія",RS:"Сербія",RU:"Расія",RW:"Руанда",SA:"Саудаўская Аравія",SB:"Саламонавы Астравы",SC:"Сейшэльскія Астравы",SD:"Судан",SE:"Швецыя",SG:"Сінгапур",SH:"Востраў Святой Алены",SI:"Славенія",SJ:"Шпіцберген і Ян-Маен",SK:"Славакія",SL:"Сьера-Леонэ",SM:"Сан-Марына",SN:"Сенегал",SO:"Самалі",SR:"Сурынам",SS:"Паўднёвы Судан",ST:"Сан-Тамэ і Прынсіпі",SV:"Сальвадор",SX:"Сінт-Мартэн",SY:"Сірыя",SZ:"Свазіленд",TC:"Цёркс і Кайкас",TD:"Чад",TF:"Французскія Паўднёвыя тэрыторыі",TG:"Тога",TH:"Тайланд",TJ:"Таджыкістан",TK:"Такелау",TL:"Тымор-Лешці",TM:"Туркменістан",TN:"Туніс",TO:"Тонга",TR:"Турцыя",TT:"Трынідад і Табага",TV:"Тувалу",TW:"Тайвань",TZ:"Танзанія",UA:"Украіна",UG:"Уганда",UM:"Малыя Аддаленыя астравы ЗША",US:"Злучаныя Штаты Амерыкі",UY:"Уругвай",UZ:"Узбекістан",VA:"Ватыкан",VC:"Сент-Вінсент і Грэнадзіны",VE:"Венесуэла",VG:"Брытанскія Віргінскія астравы",VI:"Амерыканскія Віргінскія астравы",VN:"В’етнам",VU:"Вануату",WF:"Уоліс і Футуна",WS:"Самоа",XK:"Косава",YE:"Емен",YT:"Маёта",ZA:"Паўднёваафрыканская Рэспубліка",ZM:"Замбія",ZW:"Зімбабвэ"},G={locale:M,countries:S};export{S as countries,G as default,M as locale}; diff --git a/docs/storybook/assets/bg-71e575c1.js b/docs/storybook/assets/bg-71e575c1.js deleted file mode 100644 index ba47488..0000000 --- a/docs/storybook/assets/bg-71e575c1.js +++ /dev/null @@ -1 +0,0 @@ -const M="bg",S={AD:"Андора",AE:"Обединени арабски емирства",AF:"Афганистан",AG:"Антигуа и Барбуда",AI:"Ангуила",AL:"Албания",AM:"Армения",AO:"Ангола",AQ:"Антарктика",AR:"Аржентина",AS:"Американска Самоа",AT:"Австрия",AU:"Австралия",AW:"Аруба",AX:"Оландски острови",AZ:"Азербайджан",BA:"Босна и Херцеговина",BB:"Барбадос",BD:"Бангладеш",BE:"Белгия",BF:"Буркина Фасо",BG:"България",BH:"Бахрейн",BI:"Бурунди",BJ:"Бенин",BL:"Сен Бартелеми",BM:"Бермуда",BN:"Бруней Даруссалам",BO:"Боливия",BQ:"Карибска Нидерландия",BR:"Бразилия",BS:"Бахами",BT:"Бутан",BV:"остров Буве",BW:"Ботсвана",BY:"Беларус",BZ:"Белиз",CA:"Канада",CC:"Кокосови острови (острови Кийлинг)",CD:"Конго (Киншаса)",CF:"Централноафриканска република",CG:"Конго (Бразавил)",CH:"Швейцария",CI:"Кот д’Ивоар",CK:"острови Кук",CL:"Чили",CM:"Камерун",CN:"Китай",CO:"Колумбия",CR:"Коста Рика",CU:"Куба",CV:"Кабо Верде",CW:"Кюрасао",CX:"остров Рождество",CY:"Кипър",CZ:"Чехия",DE:"Германия",DJ:"Джибути",DK:"Дания",DM:"Доминика",DO:"Доминиканска република",DZ:"Алжир",EC:"Еквадор",EE:"Естония",EG:"Египет",EH:"Западна Сахара",ER:"Еритрея",ES:"Испания",ET:"Етиопия",FI:"Финландия",FJ:"Фиджи",FK:"Фолклендски острови",FM:"Микронезия",FO:"Фарьорски острови",FR:"Франция",GA:"Габон",GB:"Обединеното кралство",GD:"Гренада",GE:"Грузия",GF:"Френска Гвиана",GG:"Гърнзи",GH:"Гана",GI:"Гибралтар",GL:"Гренландия",GM:"Гамбия",GN:"Гвинея",GP:"Гваделупа",GQ:"Екваториална Гвинея",GR:"Гърция",GS:"Южна Джорджия и Южни Сандвичеви острови",GT:"Гватемала",GU:"Гуам",GW:"Гвинея-Бисау",GY:"Гаяна",HK:"Хонконг, САР на Китай",HM:"остров Хърд и острови Макдоналд",HN:"Хондурас",HR:"Хърватия",HT:"Хаити",HU:"Унгария",ID:"Индонезия",IE:"Ирландия",IL:"Израел",IM:"остров Ман",IN:"Индия",IO:"Британска територия в Индийския океан",IQ:"Ирак",IR:"Иран",IS:"Исландия",IT:"Италия",JE:"Джърси",JM:"Ямайка",JO:"Йордания",JP:"Япония",KE:"Кения",KG:"Киргизстан",KH:"Камбоджа",KI:"Кирибати",KM:"Коморски острови",KN:"Сейнт Китс и Невис",KP:"Северна Корея",KR:"Южна Корея",KW:"Кувейт",KY:"Кайманови острови",KZ:"Казахстан",LA:"Лаос",LB:"Ливан",LC:"Сейнт Лусия",LI:"Лихтенщайн",LK:"Шри Ланка",LR:"Либерия",LS:"Лесото",LT:"Литва",LU:"Люксембург",LV:"Латвия",LY:"Либия",MA:"Мароко",MC:"Монако",MD:"Молдова",ME:"Черна гора",MF:"Сен Мартен",MG:"Мадагаскар",MH:"Маршалови острови",MK:"Северна Македония",ML:"Мали",MM:"Мианмар (Бирма)",MN:"Монголия",MO:"Макао, САР на Китай",MP:"Северни Мариански острови",MQ:"Мартиника",MR:"Мавритания",MS:"Монтсерат",MT:"Малта",MU:"Мавриций",MV:"Малдиви",MW:"Малави",MX:"Мексико",MY:"Малайзия",MZ:"Мозамбик",NA:"Намибия",NC:"Нова Каледония",NE:"Нигер",NF:"остров Норфолк",NG:"Нигерия",NI:"Никарагуа",NL:"Нидерландия",NO:"Норвегия",NP:"Непал",NR:"Науру",NU:"Ниуе",NZ:"Нова Зеландия",OM:"Оман",PA:"Панама",PE:"Перу",PF:"Френска Полинезия",PG:"Папуа-Нова Гвинея",PH:"Филипини",PK:"Пакистан",PL:"Полша",PM:"Сен Пиер и Микелон",PN:"Острови Питкерн",PR:"Пуерто Рико",PS:"Палестински територии",PT:"Португалия",PW:"Палау",PY:"Парагвай",QA:"Катар",RE:"Реюнион",RO:"Румъния",RS:"Сърбия",RU:"Русия",RW:"Руанда",SA:"Саудитска Арабия",SB:"Соломонови острови",SC:"Сейшели",SD:"Судан",SE:"Швеция",SG:"Сингапур",SH:"Света Елена",SI:"Словения",SJ:"Свалбард и Ян Майен",SK:"Словакия",SL:"Сиера Леоне",SM:"Сан Марино",SN:"Сенегал",SO:"Сомалия",SR:"Суринам",SS:"Южен Судан",ST:"Сао Томе и Принсипи",SV:"Салвадор",SX:"Синт Мартен",SY:"Сирия",SZ:"Свазиленд",TC:"острови Търкс и Кайкос",TD:"Чад",TF:"Френски южни територии",TG:"Того",TH:"Тайланд",TJ:"Таджикистан",TK:"Токелау",TL:"Източен Тимор",TM:"Туркменистан",TN:"Тунис",TO:"Тонга",TR:"Турция",TT:"Тринидад и Тобаго",TV:"Тувалу",TW:"Тайван",TZ:"Танзания",UA:"Украйна",UG:"Уганда",UM:"Отдалечени острови на САЩ",US:"Съединени щати",UY:"Уругвай",UZ:"Узбекистан",VA:"Ватикан",VC:"Сейнт Винсънт и Гренадини",VE:"Венецуела",VG:"Британски Вирджински острови",VI:"Американски Вирджински острови",VN:"Виетнам",VU:"Вануату",WF:"Уолис и Футуна",WS:"Самоа",XK:"Косово",YE:"Йемен",YT:"Майот",ZA:"Южна Африка",ZM:"Замбия",ZW:"Зимбабве"},G={locale:M,countries:S};export{S as countries,G as default,M as locale}; diff --git a/docs/storybook/assets/bn-776ec0f8.js b/docs/storybook/assets/bn-776ec0f8.js deleted file mode 100644 index c94d21d..0000000 --- a/docs/storybook/assets/bn-776ec0f8.js +++ /dev/null @@ -1 +0,0 @@ -const M="bn",G={AD:"অ্যান্ডোরা",AE:"সংযুক্ত আরব আমিরাত",AF:"আফগানিস্তান",AG:"অ্যান্টিগুয়া ও বার্বুডা",AI:"এ্যাঙ্গুইলা",AL:"আলবেনিয়া",AM:"আর্মেনিয়া",AO:"অ্যাঙ্গোলা",AQ:"অ্যান্টার্কটিকা",AR:"আর্জেন্টিনা",AS:"আমেরিকান সামোয়া",AT:"অস্ট্রিয়া",AU:"অস্ট্রেলিয়া",AW:"আরুবা",AX:"অলান্দ দ্বীপপুঞ্জ",AZ:"আজারবাইজান",BA:"বসনিয়া ও হার্জেগোভিনা",BB:"বার্বাডোস",BD:"বাংলাদেশ",BE:"বেলজিয়াম",BF:"বুর্কিনা ফাসো",BG:"বুলগেরিয়া",BH:"বাহরাইন",BI:"বুরুন্ডি",BJ:"বেনিন",BL:"সেন্ট বার্থলেমি",BM:"বারমুডা",BN:"ব্রুনাই দারুসালাম",BO:"বলিভিয়া, বহুজাতিক রাষ্ট্র",BQ:"ক্যারিবীয় নেদারল্যান্ডস",BR:"ব্রাজিল",BS:"বাহামা দ্বীপপুঞ্জ",BT:"ভূটান",BV:"বোভেট দ্বীপ",BW:"বতসোয়ানা",BY:"বেলারুশ",BZ:"বেলিজ",CA:"কানাডা",CC:"কোকোস (কিলিং) দ্বীপপুঞ্জ",CD:"গণতান্ত্রিক কঙ্গো প্রজাতন্ত্র",CF:"মধ্য আফ্রিকান প্রজাতন্ত্র",CG:"কঙ্গো প্রজাতন্ত্র",CH:"সুইজারল্যান্ড",CI:"কোত দিভোয়ার",CK:"কুক দ্বীপপুঞ্জ",CL:"চিলি",CM:"ক্যামেরুন",CN:"গণচীন",CO:"কলম্বিয়া",CR:"কোস্টা রিকা",CU:"কিউবা",CV:"কেপ ভার্দ",CW:"কিউরাসাও",CX:"ক্রিস্টমাস দ্বীপ",CY:"সাইপ্রাস",CZ:"চেক প্রজাতন্ত্র",DE:"জার্মানি",DJ:"জিবুতি",DK:"ডেনমার্ক",DM:"ডোমিনিকা",DO:"ডোমিনিকান প্রজাতন্ত্র",DZ:"আলজেরিয়া",EC:"ইকুয়েডর",EE:"এস্তোনিয়া",EG:"মিশর",EH:"পশ্চিম সাহারা",ER:"ইরিত্রিয়া",ES:"স্পেন",ET:"ইথিওপিয়া",FI:"ফিনল্যান্ড",FJ:"ফিজি",FK:"ফক্‌ল্যান্ড দ্বীপপুঞ্জ (মালভিনাস)",FM:"মাইক্রোনেশিয়া যুক্তরাজ্য",FO:"ফারো দ্বীপপুঞ্জ",FR:"ফ্রান্স",GA:"গাবন",GB:"যুক্তরাজ্য এবং উত্তর আয়ারল্যান্ড",GD:"গ্রানাডা",GE:"জর্জিয়া",GF:"ফরাসি গায়ানা",GG:"Guernsey",GH:"ঘানা",GI:"জিব্রাল্টার",GL:"গ্রিনল্যান্ড",GM:"গাম্বিয়া",GN:"গিনি",GP:"গুয়াদলুপ",GQ:"বিষুবীয় গিনি",GR:"গ্রিস",GS:"দক্ষিণ জর্জিয়া ও দক্ষিণ স্যান্ডউইচ দ্বীপপুঞ্জ",GT:"গুয়াতেমালা",GU:"গুয়াম",GW:"গিনি-বিসাউ",GY:"গায়ানা",HK:"হংকং",HM:"হার্ড দ্বীপ এবং ম্যাকডোনাল্ড দ্বীপপুঞ্জ",HN:"হন্ডুরাস",HR:"ক্রোয়েশিয়া",HT:"হাইতি",HU:"হাঙ্গেরি",ID:"ইন্দোনেশিয়া",IE:"প্রজাতন্ত্রী আয়ারল্যান্ড",IL:"ইসরায়েল",IM:"আইল অব ম্যান",IN:"ভারত",IO:"ব্রিটিশ ভারত মহাসাগরীয় এলাকা",IQ:"ইরাক",IR:"ইরান",IS:"আইসল্যান্ড",IT:"ইতালি",JE:"Jersey",JM:"জামাইকা",JO:"জর্দান",JP:"জাপান",KE:"কেনিয়া",KG:"কির্গিজস্তান",KH:"কম্বোডিয়া",KI:"কিরিবাস",KM:"কোমোরোস",KN:"সেন্ট কিট্‌স ও নেভিস",KP:"কোরিয়া গণতান্ত্রিক গণপ্রজাতন্ত্রী",KR:"কোরিয়া প্রজাতন্ত্র",KW:"কুয়েত",KY:"কেইম্যান দ্বীপপুঞ্জ",KZ:"কাজাখস্তান",LA:"গণতান্ত্রিক গণপ্রজাতন্ত্রী লাওস",LB:"লেবানন",LC:"সেন্ট লুসিয়া",LI:"লিশটেনস্টাইন",LK:"শ্রীলঙ্কা",LR:"লাইবেরিয়া",LS:"লেসোথো",LT:"লিথুয়ানিয়া",LU:"লুক্সেমবুর্গ",LV:"লাতভিয়া",LY:"লিবিয়া",MA:"মরোক্কো",MC:"মোনাকো",MD:"মলদোভা প্রজাতন্ত্র",ME:"মন্টিনিগ্রো",MF:"সেন্ট মার্টিন (ফরাসি অংশ)",MG:"মাদাগাস্কার",MH:"মার্শাল দ্বীপপুঞ্জ",MK:"ম্যাসেডোনিয়ার প্রাক্তন যুগোস্লাভ প্রজাতন্ত্র",ML:"মালি",MM:"মায়ানমার",MN:"মঙ্গোলিয়া",MO:"মাকাও",MP:"উত্তর মারিয়ানা দ্বীপপুঞ্জ",MQ:"মার্তিনিক",MR:"মৌরিতানিয়া",MS:"মন্টসেরাট",MT:"মাল্টা",MU:"মরিশাস",MV:"মালদ্বীপ",MW:"মালাউই",MX:"মেক্সিকো",MY:"মালয়েশিয়া",MZ:"মোজাম্বিক",NA:"নামিবিয়া",NC:"নিউ ক্যালিডোনিয়া",NE:"নাইজার",NF:"নরফোক দ্বীপ",NG:"নাইজেরিয়া",NI:"নিকারাগুয়া",NL:"নেদারল্যান্ডস",NO:"নরওয়ে",NP:"নেপাল",NR:"নাউরু",NU:"নিউয়ে",NZ:"নিউজিল্যান্ড",OM:"ওমান",PA:"পানামা",PE:"পেরু",PF:"ফরাসি পলিনেশিয়া",PG:"পাপুয়া নিউগিনি",PH:"ফিলিপাইন",PK:"পাকিস্তান",PL:"পোল্যান্ড",PM:"সাঁ পিয়ের ও মিক‌লোঁ",PN:"পিটকেয়ার্ন",PR:"পুয়ের্তো রিকো",PS:"ফিলিস্তিন রাষ্ট্র",PT:"পর্তুগাল",PW:"পালাউ",PY:"প্যারাগুয়ে",QA:"কাতার",RE:"রেউনিওঁ",RO:"রোমানিয়া",RS:"সার্বিয়া",RU:"রাশিয়া",RW:"রুয়ান্ডা",SA:"সৌদি আরব",SB:"সলোমন দ্বীপপুঞ্জ",SC:"সেশেল",SD:"সুদান",SE:"সুইডেন",SG:"সিঙ্গাপুর",SH:"সেন্ট হেলেনা, অ্যাসেনশন ও ত্রিস্তান দা কুনহা",SI:"স্লোভেনিয়া",SJ:"স্বালবার্ড ও জান মায়েন",SK:"স্লোভাকিয়া",SL:"সিয়েরা লিওন",SM:"সান মারিনো",SN:"সেনেগাল",SO:"সোমালিয়া",SR:"সুরিনাম",SS:"দক্ষিণ সুদান",ST:"সাঁউ তুমি ও প্রিন্সিপি",SV:"এল সালভাদোর",SX:"সিন্ট মার্টেন (ওলন্দাজ অংশ)",SY:"আরব প্রজাতন্ত্র সিরিয়া",SZ:"সোয়াজিল্যান্ড",TC:"টার্কস্‌ ও কেইকোস দ্বীপপুঞ্জ",TD:"চাদ",TF:"ফরাসি সাউদার্ন টেরিটোরিজ",TG:"টোগো",TH:"থাইল্যান্ড",TJ:"তাজিকিস্তান",TK:"টোকেলাউ",TL:"তিমোর্‌ ল্যেশ্ত্যি",TM:"তুর্কমেনিস্তান",TN:"তিউনিসিয়া",TO:"টোঙ্গা",TR:"তুরস্ক",TT:"ত্রিনিদাদ ও টোবাগো",TV:"টুভালু",TW:"তাইওয়ান, চীনের প্রদেশ",TZ:"তানজানিয়া যুক্তপ্রজাতন্ত্র",UA:"ইউক্রেন",UG:"উগান্ডা",UM:"মার্কিন যুক্তরাষ্ট্রের ক্ষুদ্র পার্শ্ববর্তী দ্বীপপুঞ্জ",US:"মার্কিন যুক্তরাষ্ট্র",UY:"উরুগুয়ে",UZ:"উজবেকিস্তান",VA:"ভ্যাটিকান সিটি",VC:"সেন্ট ভিনসেন্ট ও গ্রেনাডাইন দ্বীপপুঞ্জ",VE:"ভেনেজুয়েলার বোলিভিয় প্রজাতন্ত্র",VG:"ব্রিটিশ ভার্জিন দ্বীপপুঞ্জ",VI:"মার্কিন ভার্জিন দ্বীপপুঞ্জ ",VN:"ভিয়েত নাম",VU:"ভানুয়াটু",WF:"ওয়ালিম ও ফুটুনা দ্বীপপুঞ্জের",WS:"সামোয়া",XK:"কসোভো",YE:"ইয়েমেন",YT:"মায়োত",ZA:"দক্ষিণ আফ্রিকা",ZM:"জাম্বিয়া",ZW:"জিম্বাবুয়ে"},S={locale:M,countries:G};export{G as countries,S as default,M as locale}; diff --git a/docs/storybook/assets/bs-7cb05bde.js b/docs/storybook/assets/bs-7cb05bde.js deleted file mode 100644 index 31f551f..0000000 --- a/docs/storybook/assets/bs-7cb05bde.js +++ /dev/null @@ -1 +0,0 @@ -const a="bs",i={AD:"Andora",AE:"Ujedinjeni Arapski Emirati",AF:"Afganistan",AG:"Antigva i Barbuda",AI:"Angvila",AL:"Albanija",AM:"Armenija",AO:"Angola",AQ:"Antarktika",AR:"Argentina",AS:"Američka Samoa",AT:"Austrija",AU:"Australija",AW:"Aruba",AX:"Olandska Ostrva",AZ:"Azerbejdžan",BA:"Bosna i Hercegovina",BB:"Barbados",BD:"Bangladeš",BE:"Belgija",BF:"Burkina Faso",BG:"Bugarska",BH:"Bahrein",BI:"Burundi",BJ:"Benin",BL:"Sveti Bartolomej",BM:"Bermuda",BN:"Brunej",BO:"Bolivija",BQ:"Karipska Holandija",BR:"Brazil",BS:"Bahami",BT:"Butan",BV:"Ostrvo Buve",BW:"Bocvana",BY:"Bjelorusija",BZ:"Belize",CA:"Kanada",CC:"Kokosova (Kilingova) Ostrva",CD:"Demokratska Republika Kongo",CF:"Centralnoafrička Republika",CG:"Kongo",CH:"Švicarska",CI:"Obala Slonovače",CK:"Kukova Ostrva",CL:"Čile",CM:"Kamerun",CN:"Kina",CO:"Kolumbija",CR:"Kostarika",CU:"Kuba",CV:"Kape Verde",CW:"Kurasao",CX:"Božićna Ostrva",CY:"Kipar",CZ:"Češka",DE:"Njemačka",DJ:"Džibuti",DK:"Danska",DM:"Dominika",DO:"Dominikanska Republika",DZ:"Alžir",EC:"Ekvador",EE:"Estonija",EG:"Egipat",EH:"Zapadna Sahara",ER:"Eritreja",ES:"Španija",ET:"Etiopija",FI:"Finska",FJ:"Fidži",FK:"Folklandska Ostrva",FM:"Mikronezija",FO:"Farska Ostrva",FR:"Francuska",GA:"Gabon",GB:"Velika Britanija",GD:"Grenada",GE:"Gruzija",GF:"Francuska Gvajana",GG:"Gernzi",GH:"Gana",GI:"Gibraltar",GL:"Grenland",GM:"Gambija",GN:"Gvineja",GP:"Gvadalupe",GQ:"Ekvatorijalna Gvineja",GR:"Grčka",GS:"Južna Džordžija i Južna Sendvička Ostrva",GT:"Gvatemala",GU:"Guam",GW:"Gvineja-Bisao",GY:"Gvajana",HK:"Hong Kong (SAR Kina)",HM:"Herd i arhipelag MekDonald",HN:"Honduras",HR:"Hrvatska",HT:"Haiti",HU:"Mađarska",ID:"Indonezija",IE:"Irska",IL:"Izrael",IM:"Ostrvo Man",IN:"Indija",IO:"Britanska Teritorija u Indijskom Okeanu",IQ:"Irak",IR:"Iran",IS:"Island",IT:"Italija",JE:"Džerzi",JM:"Jamajka",JO:"Jordan",JP:"Japan",KE:"Kenija",KG:"Kirgistan",KH:"Kambodža",KI:"Kiribati",KM:"Komorska Ostrva",KN:"Sveti Kits i Nevis",KP:"Sjeverna Koreja",KR:"Južna Koreja",KW:"Kuvajt",KY:"Kajmanska Ostrva",KZ:"Kazahstan",LA:"Laos",LB:"Liban",LC:"Sveta Lucija",LI:"Lihtenštajn",LK:"Šri Lanka",LR:"Liberija",LS:"Lesoto",LT:"Litvanija",LU:"Luksemburg",LV:"Latvija",LY:"Libija",MA:"Maroko",MC:"Monako",MD:"Moldavija",ME:"Crna Gora",MF:"Sv. Martin",MG:"Madagaskar",MH:"Maršalova Ostrva",MK:"Sjeverna Makedonija",ML:"Mali",MM:"Mijanmar",MN:"Mongolija",MO:"Makao (SAR Kina)",MP:"Sjeverna Marijanska Ostrva",MQ:"Martinik",MR:"Mauritanija",MS:"Monserat",MT:"Malta",MU:"Mauricijus",MV:"Maldivi",MW:"Malavi",MX:"Meksiko",MY:"Malezija",MZ:"Mozambik",NA:"Namibija",NC:"Nova Kaledonija",NE:"Niger",NF:"Ostrvo Norfolk",NG:"Nigerija",NI:"Nikaragva",NL:"Holandija",NO:"Norveška",NP:"Nepal",NR:"Nauru",NU:"Niue",NZ:"Novi Zeland",OM:"Oman",PA:"Panama",PE:"Peru",PF:"Francuska Polinezija",PG:"Papua Nova Gvineja",PH:"Filipini",PK:"Pakistan",PL:"Poljska",PM:"Sveti Petar i Mikelon",PN:"Pitkernska Ostrva",PR:"Porto Riko",PS:"Palestinska Teritorija",PT:"Portugal",PW:"Palau",PY:"Paragvaj",QA:"Katar",RE:"Reunion",RO:"Rumunija",RS:"Srbija",RU:"Rusija",RW:"Ruanda",SA:"Saudijska Arabija",SB:"Solomonska Ostrva",SC:"Sejšeli",SD:"Sudan",SE:"Švedska",SG:"Singapur",SH:"Sveta Helena",SI:"Slovenija",SJ:"Svalbard i Jan Majen",SK:"Slovačka",SL:"Sijera Leone",SM:"San Marino",SN:"Senegal",SO:"Somalija",SR:"Surinam",SS:"Južni Sudan",ST:"Sao Tome i Principe",SV:"Salvador",SX:"Sint Marten",SY:"Sirija",SZ:"Svazilend",TC:"Ostrva Turks i Kaikos",TD:"Čad",TF:"Francuske Južne Teritorije",TG:"Togo",TH:"Tajland",TJ:"Tadžikistan",TK:"Tokelau",TL:"Istočni Timor",TM:"Turkmenistan",TN:"Tunis",TO:"Tonga",TR:"Turska",TT:"Trinidad i Tobago",TV:"Tuvalu",TW:"Tajvan",TZ:"Tanzanija",UA:"Ukrajina",UG:"Uganda",UM:"Američka Vanjska Ostrva",US:"Sjedinjene Američke Države",UY:"Urugvaj",UZ:"Uzbekistan",VA:"Vatikan",VC:"Sveti Vinsent i Grenadin",VE:"Venecuela",VG:"Britanska Djevičanska Ostrva",VI:"Američka Djevičanska Ostrva",VN:"Vijetnam",VU:"Vanuatu",WF:"Ostrva Valis i Futuna",WS:"Samoa",XK:"Kosovo",YE:"Jemen",YT:"Majote",ZA:"Južnoafrička Republika",ZM:"Zambija",ZW:"Zimbabve"},n={locale:a,countries:i};export{i as countries,n as default,a as locale}; diff --git a/docs/storybook/assets/ca-d854afba.js b/docs/storybook/assets/ca-d854afba.js deleted file mode 100644 index 39824db..0000000 --- a/docs/storybook/assets/ca-d854afba.js +++ /dev/null @@ -1 +0,0 @@ -const a="ca",i={AF:"Afganistan",AX:"Åland, illes",AL:"Albània",DE:"Alemanya",DZ:"Algèria",AD:"Andorra",AO:"Angola",AI:"Anguilla",AQ:"Antàrtida",AG:"Antigua i Barbuda",SA:"Aràbia Saudita",AR:"Argentina",AM:"Armènia",AW:"Aruba",AU:"Austràlia",AT:"Àustria",AZ:"Azerbaidjan",BS:"Bahames",BH:"Bahrain",BD:"Bangla Desh",BB:"Barbados",BE:"Bèlgica",BZ:"Belize",BJ:"Benín",BM:"Bermudes",BT:"Bhutan",BY:"Bielorússia",BO:"Bolívia",BQ:"Bonaire, Sint Eustatius i Saba",BA:"Bòsnia i Hercegovina",BW:"Botswana",BV:"Bouvet",BR:"Brasil",BN:"Brunei",BG:"Bulgària",BF:"Burkina Faso",BI:"Burundi",KY:"Caiman, illes",KH:"Cambodja",CM:"Camerun",CA:"Canadà",CV:"Cap Verd",CF:"Centreafricana, República",CX:"Christmas, illa",CC:"Cocos, illes",CO:"Colòmbia",KM:"Comores",CG:"Congo, República del",CD:"Congo, República Democràtica del",CK:"Cook, illes",KP:"Corea del Nord",KR:"Corea del Sud",CI:"Costa d'Ivori",CR:"Costa Rica",HR:"Croàcia",CU:"Cuba",CW:"Curaçao",DK:"Dinamarca",DJ:"Djibouti",DM:"Dominica",DO:"Dominicana, República",EG:"Egipte",EC:"Equador",AE:"Emirats Àrabs Units",ER:"Eritrea",SK:"Eslovàquia",SI:"Eslovènia",ES:"Espanya",US:"Estats Units (EUA)",EE:"Estònia",ET:"Etiòpia",FO:"Fèroe, illes",FJ:"Fiji",PH:"Filipines",FI:"Finlàndia",FR:"França",GA:"Gabon",GM:"Gàmbia",GE:"Geòrgia",GS:"Geòrgia del Sud i Sandwich del Sud, illes",GH:"Ghana",GI:"Gibraltar",GR:"Grècia",GD:"Grenada",GL:"Groenlàndia",GP:"Guadeloupe",GF:"Guaiana Francesa",GU:"Guam",GT:"Guatemala",GG:"Guernsey",GN:"República de Guinea",GW:"Guinea Bissau",GQ:"Guinea Equatorial",GY:"Guyana",HT:"Haití",HM:"Heard, illa i McDonald, illes",HN:"Hondures",HK:"Hong Kong",HU:"Hongria",YE:"Iemen",IM:"Illa de Man",UM:"Illes Perifèriques Menors dels EUA",IN:"Índia",ID:"Indonèsia",IR:"Iran",IQ:"Iraq",IE:"Irlanda",IS:"Islàndia",IL:"Israel",IT:"Itàlia",JM:"Jamaica",JP:"Japó",JE:"Jersey",JO:"Jordània",KZ:"Kazakhstan",KE:"Kenya",KG:"Kirguizistan",KI:"Kiribati",KW:"Kuwait",LA:"Laos",LS:"Lesotho",LV:"Letònia",LB:"Líban",LR:"Libèria",LY:"Líbia",LI:"Liechtenstein",LT:"Lituània",LU:"Luxemburg",MO:"Macau",MK:"Macedònia del Nord",MG:"Madagascar",MY:"Malàisia",MW:"Malawi",MV:"Maldives",ML:"Mali",MT:"Malta",FK:"Malvines, illes",MP:"Mariannes Septentrionals, illes",MA:"Marroc",MH:"Marshall, illes",MQ:"Martinica",MU:"Maurici",MR:"Mauritània",YT:"Mayotte",MX:"Mèxic",FM:"Micronèsia, Estats Federats de",MZ:"Moçambic",MD:"Moldàvia",MC:"Mònaco",MN:"Mongòlia",ME:"Montenegro",MS:"Montserrat",MM:"Myanmar",NA:"Namíbia",NR:"Nauru",NP:"Nepal",NI:"Nicaragua",NE:"Níger",NG:"Nigèria",NU:"Niue",NF:"Norfolk, illa",NO:"Noruega",NC:"Nova Caledònia",NZ:"Nova Zelanda",OM:"Oman",NL:"Països Baixos",PK:"Pakistan",PW:"Palau",PS:"Palestina",PA:"Panamà",PG:"Papua Nova Guinea",PY:"Paraguai",PE:"Perú",PN:"Pitcairn, illes",PF:"Polinèsia Francesa",PL:"Polònia",PT:"Portugal",PR:"Puerto Rico",QA:"Qatar",GB:"Regne Unit",RE:"Reunió, illa de la",RO:"Romania",RU:"Rússia",RW:"Ruanda",EH:"Sàhara Occidental",KN:"Saint Kitts i Nevis",LC:"Saint Lucia",PM:"Saint-Pierre i Miquelon",VC:"Saint Vincent i les Grenadines",BL:"Saint-Barthélemy",MF:"Saint-Martin",SB:"Salomó",SV:"Salvador, El",WS:"Samoa",AS:"Samoa Nord-americana",SM:"San Marino",SH:"Santa Helena",ST:"São Tomé i Príncipe",SN:"Senegal",RS:"Sèrbia",SC:"Seychelles",SL:"Sierra Leone",SG:"Singapur",SX:"Sint Maarten",SY:"Síria",SO:"Somàlia",LK:"Sri Lanka",ZA:"Sud-àfrica",SD:"Sudan",SS:"Sudan del Sud",SE:"Suècia",CH:"Suïssa",SR:"Surinam",SJ:"Svalbard i Jan Mayen",SZ:"Swazilàndia",TJ:"Tadjikistan",TH:"Tailàndia",TW:"Taiwan",TZ:"Tanzània",IO:"Territori Britànic de l'Oceà Índic",TF:"Territoris Francesos del Sud",TL:"Timor Oriental",TG:"Togo",TK:"Tokelau",TO:"Tonga",TT:"Trinitat i Tobago",TN:"Tunísia",TM:"Turkmenistan",TC:"Turks i Caicos, illes",TR:"Turquia",TV:"Tuvalu",TD:"Txad",CZ:"Txèquia",UA:"Ucraïna",UG:"Uganda",UY:"Uruguai",UZ:"Uzbekistan",VU:"Vanuatu",VA:"Vaticà, Ciutat del",VE:"Veneçuela",VG:"Verges Britàniques, illes",VI:"Verges Nord-americanes, illes",VN:"Vietnam",WF:"Wallis i Futuna",CL:"Xile",CN:"Xina",CY:"Xipre",ZM:"Zàmbia",ZW:"Zimbabwe",XK:"Kosovo"},n={locale:a,countries:i};export{i as countries,n as default,a as locale}; diff --git a/docs/storybook/assets/chunk-XP5HYGXS-8b50b325.js b/docs/storybook/assets/chunk-XP5HYGXS-8b50b325.js deleted file mode 100644 index 222831f..0000000 --- a/docs/storybook/assets/chunk-XP5HYGXS-8b50b325.js +++ /dev/null @@ -1 +0,0 @@ -var c=Object.create,a=Object.defineProperty,s=Object.getOwnPropertyDescriptor,o=Object.getOwnPropertyNames,u=Object.getPrototypeOf,O=Object.prototype.hasOwnProperty,l=(e,r)=>function(){return e&&(r=(0,e[o(e)[0]])(e=0)),r},v=(e,r)=>function(){return r||(0,e[o(e)[0]])((r={exports:{}}).exports,r),r.exports},b=(e,r)=>{for(var t in r)a(e,t,{get:r[t],enumerable:!0})},n=(e,r,t,p)=>{if(r&&typeof r=="object"||typeof r=="function")for(let _ of o(r))!O.call(e,_)&&_!==t&&a(e,_,{get:()=>r[_],enumerable:!(p=s(r,_))||p.enumerable});return e},P=(e,r,t)=>(t=e!=null?c(u(e)):{},n(r||!e||!e.__esModule?a(t,"default",{value:e,enumerable:!0}):t,e)),y=e=>n(a({},"__esModule",{value:!0}),e);export{b as _,P as a,v as b,l as c,y as d}; diff --git a/docs/storybook/assets/cs-37bc9e89.js b/docs/storybook/assets/cs-37bc9e89.js deleted file mode 100644 index 9dc2af5..0000000 --- a/docs/storybook/assets/cs-37bc9e89.js +++ /dev/null @@ -1 +0,0 @@ -const a="cs",o={AF:"Afghánistán",AX:"Ålandy",AL:"Albánie",DZ:"Alžírsko",AS:"Americká Samoa",VI:"Americké Panenské ostrovy",AD:"Andorra",AO:"Angola",AI:"Anguilla",AQ:"Antarktida",AG:"Antigua a Barbuda",AR:"Argentina",AM:"Arménie",AW:"Aruba",AU:"Austrálie",AZ:"Ázerbájdžán",BS:"Bahamy",BH:"Bahrajn",BD:"Bangladéš",BB:"Barbados",BE:"Belgie",BZ:"Belize",BY:"Bělorusko",BJ:"Benin",BM:"Bermudy",BT:"Bhútán",BO:"Bolívie",BQ:"Bonaire, Svatý Eustach a Saba",BA:"Bosna a Hercegovina",BW:"Botswana",BV:"Bouvetův ostrov",BR:"Brazílie",IO:"Britské indickooceánské území",VG:"Britské Panenské ostrovy",BN:"Brunej",BG:"Bulharsko",BF:"Burkina Faso",BI:"Burundi",CK:"Cookovy ostrovy",CW:"Curaçao",TD:"Čad",ME:"Černá Hora",CZ:"Česká republika",CN:"Čína",DK:"Dánsko",CD:"Demokratická republika Kongo",DM:"Dominika",DO:"Dominikánská republika",DJ:"Džibutsko",EG:"Egypt",EC:"Ekvádor",ER:"Eritrea",EE:"Estonsko",ET:"Etiopie",FO:"Faerské ostrovy",FK:"Falklandy (Malvíny)",FJ:"Fidži",PH:"Filipíny",FI:"Finsko",FR:"Francie",GF:"Francouzská Guyana",TF:"Francouzská jižní a antarktická území",PF:"Francouzská Polynésie",GA:"Gabon",GM:"Gambie",GH:"Ghana",GI:"Gibraltar",GD:"Grenada",GL:"Grónsko",GE:"Gruzie",GP:"Guadeloupe",GU:"Guam",GT:"Guatemala",GN:"Guinea",GW:"Guinea-Bissau",GG:"Guernsey",GY:"Guyana",HT:"Haiti",HM:"Heardův ostrov a McDonaldovy ostrovy",HN:"Honduras",HK:"Hongkong",CL:"Chile",HR:"Chorvatsko",IN:"Indie",ID:"Indonésie",IQ:"Irák",IR:"Írán",IE:"Irsko",IS:"Island",IT:"Itálie",IL:"Izrael",JM:"Jamajka",JP:"Japonsko",YE:"Jemen",JE:"Jersey",ZA:"Jihoafrická republika",GS:"Jižní Georgie a Jižní Sandwichovy ostrovy",KR:"Jižní Korea",SS:"Jižní Súdán",JO:"Jordánsko",KY:"Kajmanské ostrovy",KH:"Kambodža",CM:"Kamerun",CA:"Kanada",CV:"Kapverdy",QA:"Katar",KZ:"Kazachstán",KE:"Keňa",KI:"Kiribati",CC:"Kokosové ostrovy",CO:"Kolumbie",KM:"Komory",CG:"Kongo",CR:"Kostarika",CU:"Kuba",KW:"Kuvajt",CY:"Kypr",KG:"Kyrgyzstán",LA:"Laos",LS:"Lesotho",LB:"Libanon",LR:"Libérie",LY:"Libye",LI:"Lichtenštejnsko",LT:"Litva",LV:"Lotyšsko",LU:"Lucembursko",MO:"Macao",MG:"Madagaskar",HU:"Maďarsko",MY:"Malajsie",MW:"Malawi",MV:"Maledivy",ML:"Mali",MT:"Malta",IM:"Ostrov Man",MA:"Maroko",MH:"Marshallovy ostrovy",MQ:"Martinik",MU:"Mauricius",MR:"Mauritánie",YT:"Mayotte",UM:"Menší odlehlé ostrovy USA",MX:"Mexiko",FM:"Mikronésie",MD:"Moldavsko",MC:"Monako",MN:"Mongolsko",MS:"Montserrat",MZ:"Mosambik",MM:"Myanmar",NA:"Namibie",NR:"Nauru",DE:"Německo",NP:"Nepál",NE:"Niger",NG:"Nigérie",NI:"Nikaragua",NU:"Niue",NL:"Nizozemsko",NF:"Norfolk",NO:"Norsko",NC:"Nová Kaledonie",NZ:"Nový Zéland",OM:"Omán",PK:"Pákistán",PW:"Palau",PS:"Palestinská autonomie",PA:"Panama",PG:"Papua-Nová Guinea",PY:"Paraguay",PE:"Peru",PN:"Pitcairnovy ostrovy",CI:"Pobřeží slonoviny",PL:"Polsko",PR:"Portoriko",PT:"Portugalsko",AT:"Rakousko",RE:"Réunion",GQ:"Rovníková Guinea",RO:"Rumunsko",RU:"Rusko",RW:"Rwanda",GR:"Řecko",PM:"Saint-Pierre a Miquelon",SV:"Salvador",WS:"Samoa",SM:"San Marino",SA:"Saúdská Arábie",SN:"Senegal",KP:"Severní Korea",MK:"Severní Makedonie",MP:"Severní Mariany",SC:"Seychely",SL:"Sierra Leone",SG:"Singapur",SK:"Slovensko",SI:"Slovinsko",SO:"Somálsko",AE:"Spojené arabské emiráty",GB:"Spojené království",US:"Spojené státy americké",RS:"Srbsko",CF:"Středoafrická republika",SD:"Súdán",SR:"Surinam",SH:"Svatá Helena, Ascension a Tristan da Cunha",LC:"Svatá Lucie",BL:"Svatý Bartoloměj",KN:"Svatý Kryštof a Nevis",MF:"Svatý Martin (francouzská část)",SX:"Svatý Martin (nizozemská část)",ST:"Svatý Tomáš a Princův ostrov",VC:"Svatý Vincenc a Grenadiny",SZ:"Svazijsko",SY:"Sýrie",SB:"Šalamounovy ostrovy",ES:"Španělsko",SJ:"Špicberky a Jan Mayen",LK:"Šrí Lanka",SE:"Švédsko",CH:"Švýcarsko",TJ:"Tádžikistán",TZ:"Tanzanie",TH:"Thajsko",TW:"Tchaj-wan",TG:"Togo",TK:"Tokelau",TO:"Tonga",TT:"Trinidad a Tobago",TN:"Tunisko",TR:"Turecko",TM:"Turkmenistán",TC:"Turks a Caicos",TV:"Tuvalu",UG:"Uganda",UA:"Ukrajina",UY:"Uruguay",UZ:"Uzbekistán",CX:"Vánoční ostrov",VU:"Vanuatu",VA:"Vatikán",VE:"Venezuela",VN:"Vietnam",TL:"Východní Timor",WF:"Wallis a Futuna",ZM:"Zambie",EH:"Západní Sahara",ZW:"Zimbabwe",XK:"Kosovo"},n={locale:a,countries:o};export{o as countries,n as default,a as locale}; diff --git a/docs/storybook/assets/cy-ba0c40e4.js b/docs/storybook/assets/cy-ba0c40e4.js deleted file mode 100644 index b0088e2..0000000 --- a/docs/storybook/assets/cy-ba0c40e4.js +++ /dev/null @@ -1 +0,0 @@ -const a="cy",i={AF:"Afghanistan",AL:"Albania",DZ:"Algeria",AS:"Samoa Americanaidd",AD:"Andorra",AO:"Angola",AI:"Anguilla",AQ:"Antarctica",AG:"Antigua a Barbuda",AR:"Yr Ariannin",AM:"Armenia",AW:"Aruba",AU:"Awstralia",AT:"Awstria",AZ:"Azerbaijan",BS:"Bahamas",BH:"Bahrain",BD:"Bangladesh",BB:"Barbados",BY:"Belarus",BE:"Gwlad Belg",BZ:"Belize",BJ:"Benin",BM:"Bermuda",BT:"Bhutan",BO:"Bolifia",BA:"Bosnia a Herzegovina",BW:"Botswana",BV:"Ynys Bouvet",BR:"Brasil",IO:"Tiriogaeth Cefnfor India Prydain",BN:"Brunei Darussalam",BG:"Bwlgaria",BF:"Burkina Faso",BI:"Burundi",KH:"Cambodia",CM:"Camerŵn",CA:"Canada",CV:"Cape Verde",KY:"Ynysoedd Cayman",CF:"Gweriniaeth Canolbarth Affrica",TD:"Chad",CL:"Chile",CN:"China",CX:"Ynys y Nadolig",CC:"Ynysoedd Cocos (Keeling)",CO:"Colombia",KM:"Comoros",CG:"Congo",CD:"Congo, Gweriniaeth Ddemocrataidd y",CK:"Ynysoedd Cook",CR:"Costa Rica",CI:["Cote d'Ivoire","Côte d'Ivoire"],HR:"Croatia",CU:"Cuba",CY:"Cyprus",CZ:"Gweriniaeth Tsiec",DK:"Denmarc",DJ:"Djibouti",DM:"Dominica",DO:"Gweriniaeth Ddominicaidd",EC:"Ecwador",EG:"Yr Aifft",SV:"El Salvador",GQ:"Gini Cyhydeddol",ER:"Eritrea",EE:"Estonia",ET:"Ethiopia",FK:"Ynysoedd y Falkland (Malvinas)",FO:"Ynysoedd Ffaro",FJ:"Ffiji",FI:"Y Ffindir",FR:"Ffrainc",GF:"Guiana Ffrengig",PF:"Polynesia Ffrainc",TF:"Tiriogaethau De Ffrainc",GA:"Gabon",GM:"Gambia",GE:"Georgia",DE:"Yr Almaen",GH:"Ghana",GI:"Gibraltar",GR:"Gwlad Groeg",GL:"Yr Ynys Las",GD:"Grenada",GP:"Guadeloupe",GU:"Guam",GT:"Guatemala",GN:"Gini",GW:"Guinea-Bissau",GY:"Guyana",HT:"Haiti",HM:"Ynys Heard ac Ynysoedd McDonald",VA:"Holy See (Dinas-wladwriaeth y Fatican)",HN:"Honduras",HK:"Hong Kong",HU:"Hwngari",IS:"Gwlad yr Iâ",IN:"India",ID:"Indonesia",IR:"Iran, Gweriniaeth Islamaidd",IQ:"Irac",IE:"Iwerddon",IL:"Israel",IT:"Yr Eidal",JM:"Jamaica",JP:"Japan",JO:"Jordan",KZ:"Kazakhstan",KE:"Kenya",KI:"Kiribati",KP:"Gogledd Corea",KR:"De Korea",KW:"Kuwait",KG:"Kyrgyzstan",LA:"Gweriniaeth Ddemocrataidd Pobl Lao",LV:"Latfia",LB:"Libanus",LS:"Lesotho",LR:"Liberia",LY:"Libya",LI:"Liechtenstein",LT:"Lithwania",LU:"Lwcsembwrg",MO:"Macao",MG:"Madagascar",MW:"Malawi",MY:"Malaysia",MV:"Maldives",ML:"Mali",MT:"Malta",MH:"Ynysoedd Marshall",MQ:"Martinique",MR:"Mauritania",MU:"Mauritius",YT:"Mayotte",MX:"Mecsico",FM:"Micronesia, Gwladwriaethau Ffederal o",MD:"Moldofa, Gweriniaeth",MC:"Monaco",MN:"Mongolia",MS:"Montserrat",MA:"Moroco",MZ:"Mozambique",MM:"Myanmar",NA:"Namibia",NR:"Nauru",NP:"Nepal",NL:"Yr Iseldiroedd",NC:"Caledonia Newydd",NZ:"Seland Newydd",NI:"Nicaragua",NE:"Niger",NG:"Nigeria",NU:"Niue",NF:"Ynys Norfolk",MK:"Gogledd Macedonia, Gweriniaeth",MP:"Ynysoedd Gogledd Mariana",NO:"Norwy",OM:"Oman",PK:"Pacistan",PW:"Palau",PS:["Cyflwr Palestina","Palestina"],PA:"Panama",PG:"Gini Newydd Papua",PY:"Paraguay",PE:"Periw",PH:"Philippines",PN:"Pitcairn",PL:"Gwlad Pwyl",PT:"Portiwgal",PR:"Puerto Rico",QA:"Qatar",RE:"Aduniad",RO:"Rwmania",RU:["Ffederasiwn Rwseg","Rwsia"],RW:"Rwanda",SH:"Saint Helena",KN:"Saint Kitts a Nevis",LC:"Saint Lucia",PM:"Saint Pierre a Miquelon",VC:"Saint Vincent and the Grenadines",WS:"Samoa",SM:"San Marino",ST:"Sao Tome a Principe",SA:"Saudi Arabia",SN:"Senegal",SC:"Seychelles",SL:"Sierra Leone",SG:"Singapore",SK:"Slofacia",SI:"Slofenia",SB:"Ynysoedd Solomon",SO:"Somalia",ZA:"De Affrica",GS:"De Georgia ac Ynysoedd De Sandwich",ES:"Sbaen",LK:"Sri Lanka",SD:"Sudan",SR:"Swrinam",SJ:"Svalbard a Jan Mayen",SZ:"Eswatini",SE:"Sweden",CH:"Y Swistir",SY:"Gweriniaeth Arabaidd Syria",TW:["Taiwan, Talaith China","Taiwan"],TJ:"Tajikistan",TZ:"Tanzania, Gweriniaeth Unedig",TH:"Gwlad Thai",TL:"Timor-Leste",TG:"Togo",TK:"Tokelau",TO:"Tonga",TT:"Trinidad a Tobago",TN:"Tiwnisia",TR:"Twrci",TM:"Turkmenistan",TC:"Ynysoedd y Twrciaid ac Ynysoedd Caicos",TV:"Tuvalu",UG:"Uganda",UA:"Wcráin",AE:"Emiradau Arabaidd Unedig",GB:["Y Deyrnas Unedig","DU","Prydain Fawr"],US:["Unol Daleithiau America","UDA"],UM:"Mân Ynysoedd Allanol yr Unol Daleithiau",UY:"Uruguay",UZ:"Uzbekistan",VU:"Vanuatu",VE:"Venezuela",VN:"Fietnam",VG:"Ynysoedd Virgin, Prydeinig",VI:"Ynysoedd Virgin, U.S.",WF:"Wallis a Futuna",EH:"Sahara Gorllewinol",YE:"Yemen",ZM:"Zambia",ZW:"Zimbabwe",AX:"Ynysoedd Åland",BQ:"Bonaire, Sint Eustatius a Saba",CW:"Curaçao",GG:"Guernsey",IM:"Ynys Manaw",JE:"Jersey",ME:"Montenegro",BL:"Saint Barthélemy",MF:"Saint Martin (rhan Ffrangeg)",RS:"Serbia",SX:"Sint Maarten (rhan Iseldireg)",SS:"De Swdan",XK:"Kosovo"},n={locale:a,countries:i};export{i as countries,n as default,a as locale}; diff --git a/docs/storybook/assets/da-1e1416c5.js b/docs/storybook/assets/da-1e1416c5.js deleted file mode 100644 index 308acc0..0000000 --- a/docs/storybook/assets/da-1e1416c5.js +++ /dev/null @@ -1 +0,0 @@ -const a="da",n={AF:"Afghanistan",AL:"Albanien",DZ:"Algeriet",AS:"Amerikansk Samoa",AD:"Andorra",AO:"Angola",AI:"Anguilla",AQ:"Antarktis",AG:"Antigua og Barbuda",AR:"Argentina",AM:"Armenien",AW:"Aruba",AU:"Australien",AT:"Østrig",AZ:"Aserbajdsjan",BS:"Bahamas",BH:"Bahrain",BD:"Bangladesh",BB:"Barbados",BY:"Hviderusland",BE:"Belgien",BZ:"Belize",BJ:"Benin",BM:"Bermuda",BT:"Bhutan",BO:"Bolivia",BA:"Bosnien-Hercegovina",BW:"Botswana",BV:"Bouvet Island",BR:"Brasilien",IO:"British Indian Ocean Territory",BN:"Brunei Darussalam",BG:"Bulgarien",BF:"Burkina Faso",BI:"Burundi",KH:"Cambodja",CM:"Cameroun",CA:"Canada",CV:"Kap Verde",KY:"Caymanøerne",CF:"Den Centralafrikanske Republik",TD:"Tchad",CL:"Chile",CN:"Kina",CX:"Juløen",CC:"Cocosøerne",CO:"Colombia",KM:"Comorerne",CG:"Congo",CD:"Demokratiske Republik Congo",CK:"Cookøerne",CR:"Costa Rica",CI:"Elfenbenskysten",HR:"Kroatien",CU:"Cuba",CY:"Cypern",CZ:"Tjekkiet",DK:"Danmark",DJ:"Djibouti",DM:"Dominica",DO:"Dominikanske Republik",EC:"Ecuador",EG:"Egypten",SV:"El Salvador",GQ:"Ækvatorialguinea",ER:"Eritrea",EE:"Estland",ET:"Etiopien",FK:"Falklandsøerne",FO:"Færøerne",FJ:"Fiji",FI:"Finland",FR:"Frankrig",GF:"Fransk Guiana",PF:"Fransk Polynesien",TF:"Franske Sydterritorier",GA:"Gabon",GM:"Gambia",GE:"Georgien",DE:"Tyskland",GH:"Ghana",GI:"Gibraltar",GR:"Grækenland",GL:"Grønland",GD:"Grenada",GP:"Guadeloupe",GU:"Guam",GT:"Guatemala",GN:"Guinea",GW:"Guinea-Bissau",GY:"Guyana",HT:"Haiti",HM:"Heard-øen og McDonald-øerne",VA:"Vatikanstaten",HN:"Honduras",HK:"Hong Kong",HU:"Ungarn",IS:"Island",IN:"Indien",ID:"Indonesien",IR:"Iran",IQ:"Irak",IE:"Irland",IL:"Israel",IT:"Italien",JM:"Jamaica",JP:"Japan",JO:"Jordan",KZ:"Kazakhstan",KE:"Kenya",KI:"Kiribati",KP:"Nordkorea",KR:"Sydkorea",KW:"Kuwait",KG:"Kirgisistan",LA:"Laos",LV:"Letland",LB:"Libanon",LS:"Lesotho",LR:"Liberia",LY:"Libyen",LI:"Liechtenstein",LT:"Litauen",LU:"Luxembourg",MO:"Macao",MK:"Nordmakedonien",MG:"Madagaskar",MW:"Malawi",MY:"Malaysia",MV:"Maldiverne",ML:"Mali",MT:"Malta",MH:"Marshalløerne",MQ:"Martinique",MR:"Mauretanien",MU:"Mauritius",YT:"Mayotte",MX:"Mexico",FM:"Mikronesien",MD:"Moldova",MC:"Monaco",MN:"Mongoliet",MS:"Montserrat",MA:"Marokko",MZ:"Mozambique",MM:"Myanmar (Burma)",NA:"Namibia",NR:"Nauru",NP:"Nepal",NL:"Holland",NC:"Ny Kaledonien",NZ:"New Zealand",NI:"Nicaragua",NE:"Niger",NG:"Nigeria",NU:"Niue",NF:"Norfolk Island",MP:"Nordmarianerne",NO:"Norge",OM:"Oman",PK:"Pakistan",PW:"Palau",PS:"Palæstina",PA:"Panama",PG:"Papua Ny Guinea",PY:"Paraguay",PE:"Peru",PH:"Filippinerne",PN:"Pitcairn",PL:"Polen",PT:"Portugal",PR:"Puerto Rico",QA:"Qatar",RE:"Réunion",RO:"Rumænien",RU:"Rusland",RW:"Rwanda",SH:"Sankt Helena",KN:"Saint Kitts og Nevis",LC:"Saint Lucia",PM:"Saint-Pierre og Miquelon",VC:"Saint Vincent og Grenadinerne",WS:"Samoa",SM:"San Marino",ST:"São Tomé og Príncipe",SA:"Saudi-Arabien",SN:"Senegal",SC:"Seychellerne",SL:"Sierra Leone",SG:"Singapore",SK:"Slovakiet",SI:"Slovenien",SB:"Salomonøerne",SO:"Somalia",ZA:"Sydafrika",GS:"South Georgia og South Sandwich Islands",ES:"Spanien",LK:"Sri Lanka",SD:"Sudan",SR:"Surinam",SJ:"Norge Svalbard og Jan Mayen",SZ:"Eswatini",SE:"Sverige",CH:"Schweiz",SY:"Syrien",TW:"Republikken Kina Taiwan",TJ:"Tadsjikistan",TZ:"Tanzania",TH:"Thailand",TL:"Østtimor",TG:"Togo",TK:"Tokelau",TO:"Tonga",TT:"Trinidad og Tobago",TN:"Tunesien",TR:"Tyrkiet",TM:"Turkmenistan",TC:"Turks- og Caicosøerne",TV:"Tuvalu",UG:"Uganda",UA:"Ukraine",AE:"Forenede Arabiske Emirater",GB:"Storbritannien",US:"USA",UM:"USA's ydre småøer",UY:"Uruguay",UZ:"Usbekistan",VU:"Vanuatu",VE:"Venezuela",VN:"Vietnam",VG:"Britiske Jomfruøer",VI:"Amerikanske Jomfruøer",WF:"Wallis og Futuna",EH:"Vestsahara",YE:"Yemen",ZM:"Zambia",ZW:"Zimbabwe",AX:"Ålandsøerne",BQ:"Nederlandske Antiller",CW:"Curaçao",GG:"Guernsey",IM:"Isle of Man",JE:"Jersey",ME:"Montenegro",BL:"Saint-Barthélemy",MF:"Saint Martin (fransk side)",RS:"Serbien",SX:"Saint Martin (hollandsk side)",SS:"Sydsudan",XK:"Kosovo"},e={locale:a,countries:n};export{n as countries,e as default,a as locale}; diff --git a/docs/storybook/assets/de-e2596085.js b/docs/storybook/assets/de-e2596085.js deleted file mode 100644 index d148af2..0000000 --- a/docs/storybook/assets/de-e2596085.js +++ /dev/null @@ -1 +0,0 @@ -const a="de",n={AF:"Afghanistan",EG:"Ägypten",AX:"Åland",AL:"Albanien",DZ:"Algerien",AS:"Amerikanisch-Samoa",VI:"Amerikanische Jungferninseln",AD:"Andorra",AO:"Angola",AI:"Anguilla",AQ:"Antarktis",AG:"Antigua und Barbuda",GQ:"Äquatorialguinea",AR:"Argentinien",AM:"Armenien",AW:"Aruba",AZ:"Aserbaidschan",ET:"Äthiopien",AU:"Australien",BS:"Bahamas",BH:"Bahrain",BD:"Bangladesch",BB:"Barbados",BY:"Belarus",BE:"Belgien",BZ:"Belize",BJ:"Benin",BM:"Bermuda",BT:"Bhutan",BO:"Bolivien",BQ:"Bonaire",BA:"Bosnien und Herzegowina",BW:"Botswana",BV:"Bouvetinsel",BR:"Brasilien",VG:"Britische Jungferninseln",IO:"Britisches Territorium im Indischen Ozean",BN:"Brunei Darussalam",BG:"Bulgarien",BF:"Burkina Faso",BI:"Burundi",CL:"Chile",CN:"China",CK:"Cookinseln",CR:"Costa Rica",CI:"Elfenbeinküste",CW:"Curaçao",DK:"Dänemark",DE:"Deutschland",DM:"Dominica",DO:"Dominikanische Republik",DJ:"Dschibuti",EC:"Ecuador",SV:"El Salvador",ER:"Eritrea",EE:"Estland",FK:"Falklandinseln",FO:"Färöer",FJ:"Fidschi",FI:"Finnland",FR:"Frankreich",GF:"Französisch-Guayana",PF:"Französisch-Polynesien",TF:"Französische Süd- und Antarktisgebiete",GA:"Gabun",GM:"Gambia",GE:"Georgien",GH:"Ghana",GI:"Gibraltar",GD:"Grenada",GR:"Griechenland",GL:"Grönland",GP:"Guadeloupe",GU:"Guam",GT:"Guatemala",GG:"Guernsey",GN:"Guinea",GW:"Guinea-Bissau",GY:"Guyana",HT:"Haiti",HM:"Heard und McDonaldinseln",HN:"Honduras",HK:["Hongkong","Hong Kong"],IN:"Indien",ID:"Indonesien",IM:"Insel Man",IQ:"Irak",IR:"Iran",IE:"Irland",IS:"Island",IL:"Israel",IT:"Italien",JM:"Jamaika",JP:"Japan",YE:"Jemen",JE:"Jersey",JO:"Jordanien",KY:"Kaimaninseln",KH:"Kambodscha",CM:"Kamerun",CA:"Kanada",CV:"Kap Verde",KZ:"Kasachstan",QA:"Katar",KE:"Kenia",KG:"Kirgisistan",KI:"Kiribati",CC:"Kokosinseln",CO:"Kolumbien",KM:"Komoren",CD:"Kongo",KP:"Nordkorea",KR:"Südkorea",HR:"Kroatien",CU:"Kuba",KW:"Kuwait",LA:"Laos",LS:"Lesotho",LV:"Lettland",LB:"Libanon",LR:"Liberia",LY:"Libyen",LI:"Liechtenstein",LT:"Litauen",LU:"Luxemburg",MO:"Macao",MG:"Madagaskar",MW:"Malawi",MY:"Malaysia",MV:"Malediven",ML:"Mali",MT:"Malta",MA:"Marokko",MH:"Marshallinseln",MQ:"Martinique",MR:"Mauretanien",MU:"Mauritius",YT:"Mayotte",MX:"Mexiko",FM:"Mikronesien",MD:"Moldawien",MC:"Monaco",MN:"Mongolei",ME:"Montenegro",MS:"Montserrat",MZ:"Mosambik",MM:"Myanmar",NA:"Namibia",NR:"Nauru",NP:"Nepal",NC:"Neukaledonien",NZ:"Neuseeland",NI:"Nicaragua",NL:"Niederlande",NE:"Niger",NG:"Nigeria",NU:"Niue",MK:"Nordmazedonien",MP:"Nördliche Marianen",NF:"Norfolkinsel",NO:"Norwegen",OM:"Oman",AT:"Österreich",TL:"Osttimor",PK:"Pakistan",PS:"Staat Palästina",PW:"Palau",PA:"Panama",PG:"Papua-Neuguinea",PY:"Paraguay",PE:"Peru",PH:"Philippinen",PN:"Pitcairninseln",PL:"Polen",PT:"Portugal",PR:"Puerto Rico",TW:"Taiwan",CG:"Republik Kongo",RE:"Réunion",RW:"Ruanda",RO:"Rumänien",RU:["Russische Föderation","Russland"],BL:"Saint-Barthélemy",MF:"Saint-Martin",SB:"Salomonen",ZM:"Sambia",WS:"Samoa",SM:"San Marino",ST:"São Tomé und Príncipe",SA:"Saudi-Arabien",SE:"Schweden",CH:"Schweiz",SN:"Senegal",RS:"Serbien",SC:"Seychellen",SL:"Sierra Leone",ZW:"Simbabwe",SG:"Singapur",SX:"Sint Maarten",SK:"Slowakei",SI:"Slowenien",SO:"Somalia",ES:"Spanien",LK:"Sri Lanka",SH:"St. Helena",KN:"St. Kitts und Nevis",LC:"St. Lucia",PM:"Saint-Pierre und Miquelon",VC:"St. Vincent und die Grenadinen",ZA:"Südafrika",SD:"Sudan",GS:"Südgeorgien und die Südlichen Sandwichinseln",SS:"Südsudan",SR:"Suriname",SJ:"Svalbard und Jan Mayen",SZ:"Eswatini",SY:"Syrien, Arabische Republik",TJ:"Tadschikistan",TZ:["Tansania, Vereinigte Republik","Tansania"],TH:"Thailand",TG:"Togo",TK:"Tokelau",TO:"Tonga",TT:"Trinidad und Tobago",TD:"Tschad",CZ:["Tschechische Republik","Tschechien"],TN:"Tunesien",TR:"Türkei",TM:"Turkmenistan",TC:"Turks- und Caicosinseln",TV:"Tuvalu",UG:"Uganda",UA:"Ukraine",HU:"Ungarn",UM:"United States Minor Outlying Islands",UY:"Uruguay",UZ:"Usbekistan",VU:"Vanuatu",VA:"Vatikanstadt",VE:"Venezuela",AE:"Vereinigte Arabische Emirate",US:["Vereinigte Staaten von Amerika","Vereinigte Staaten","USA"],GB:["Vereinigtes Königreich","Großbritannien"],VN:"Vietnam",WF:"Wallis und Futuna",CX:"Weihnachtsinsel",EH:"Westsahara",CF:"Zentralafrikanische Republik",CY:"Zypern",XK:"Kosovo"},e={locale:a,countries:n};export{n as countries,e as default,a as locale}; diff --git a/docs/storybook/assets/dv-e58a94b3.js b/docs/storybook/assets/dv-e58a94b3.js deleted file mode 100644 index afc8299..0000000 --- a/docs/storybook/assets/dv-e58a94b3.js +++ /dev/null @@ -1 +0,0 @@ -const M="dv",S={AF:"އަފްޣާނިސްތާން",AL:"އަލްބޭނިއާ",DZ:"އަލްޖީރިއާ",AS:"އެމެރިކަން ސަމޯއާ",AD:"އެންޑޯރާ",AO:"އެންގޯލާ",AI:"އެންގުއިލާ",AQ:"އެންޓަރްޓިކަ",AG:"އެންޓިގުއާ އެންޑް ބަރބުޑާ",AR:"އާޖެންޓީނާ",AM:"އަރްމީނިއާ",AW:"އަރޫބާ (ހޮލެންޑު)",AU:"އޮސްޓްރޭލިއާ",AT:"އޮސްޓްރިއާ",AZ:"އަޒަރުބައިޖާން",BS:"ބަހާމަސް",BH:"ބަޙްރައިން",BD:"ބަންގާޅު",BB:"ބާބަޑޮސް",BY:"ބެލަރޫސް",BE:"ބެލްޖިއަމް",BZ:"ބެލީޒު",BJ:"ބެނިން",BM:"ބާމިއުޑާ (ޔުނައިޓެޑް ކިންގްޑަމް)",BT:"ބޫޓާން",BO:"ބޮލީވިއާ",BA:"ބޮސްނިއާ އެންޑް ހާޒެގޮވީނާ",BW:"ބޮސްވާނާ",BV:"ބުވި ޖަޒީރާ",BR:"ބްރެޒިލް",IO:"ބްރިޓިޝް ހިންދު ކަނޑު ބިން",BN:"ބުރުނައީ",BG:"ބަލްގޭރިއާ",BF:"ބުރުކީނާ ފާސޯ",BI:"ބުރުންޑީ",KH:"ކެމްބޯޑިއާ",CM:"ކެމަރޫން",CA:"ކެނެޑާ",CV:"ކޭޕް ވާޑޭ",KY:"ކޭމަން އައިލެންޑްސް",CF:"ސެންޓްރަލް އެފްރިކަން ރިޕަބްލިކް",TD:"ޗާޑް",CL:"ޗިލީ",CN:"ޗައިނާ",CX:"ކްރިސްޓްމަސް ޖަޒީރާ",CC:"ކުކް ޖަޒީރާ",CO:"ކޮލަންބިއާ",KM:"ކޮމޮރޯސް",CG:"ކޮންގޯ (ޖުމްހޫރިއްޔާ)",CD:"ކޮންގޯ (ދިމިޤްރާޠީ ޖުމްހޫރިއްޔާ)",CK:"ކޫކް އައިލަންޑްސް",CR:"ކޮސްޓަ ރީކާ",CI:"ކޯޓް ޑްލްވޮއަރ",HR:"ކްރޮއޭޝިއާ",CU:"ކިޔުބާ",CY:"ސައިޕްރަސް",CZ:"ޗެޗް ރިޕަބްލިކް",DK:"ޑެންމާކު",DJ:"ޑްޖިބޯޓި",DM:"ޑޮމިނިކާ",DO:"ޑޮމިނިކަން ރިޕަބްލިކް",EC:"އީކުއެޑޯ",EG:"މިޞްރު",SV:"އެލް ސަލްވަޑޯރ",GQ:"އީކުއޭޓޯރިއަލް ގުއީނިއާ",ER:"އެރިޓްރިއާ",EE:"އެސްޓޯނިއާ",ET:"އެތިއޯޕިއާ",FK:"ފޯކްލޭންޑް އައިލޭންޑްސް",FO:"ފަރޯ އައިލެންޑްސް",FJ:"ފިޖީ",FI:"ފިންލޭންޑް",FR:"ފަރަނސޭސިވިލާތް، ފަރަންސާ",GF:"ފަރަންސޭސީ ގިޔާނާ",PF:"ފްރެންޗް ޕޮލިނީސިއާ",TF:"ފްރެންތް ސަދާން ޓެރިޓޮރީސް",GA:"ގެބޮން",GM:"ގެމްބިއާ",GE:"ޖޯޖިއާ",DE:"ޖަރުމަނުވިލާތް",GH:"ގާނާ",GI:"ގިބްރަލްޓަރ",GR:"ގްރީސް",GL:"ގުރީންލޭންޑު (ޑެންމާކު)",GD:"ގްރެނަޑާ",GP:"ގުވަދެލޫޕު",GU:"ގުއާމު",GT:"ގުއަޓެމާލާ",GN:"ގުއީނިއާ",GW:"ގުއީނިއާ ބިއްސައު",GY:"ގުޔާނާ",HT:"ހެއިޓީ",HM:"ާހޑް އައިލެންޑްސް މެކްޑޮނާލްޑް އައިފެންޑްސް",VA:"ހޮލީ ސީ",HN:"ހޮންޑިއުރާސް",HK:"ހޮންކޮންގު",HU:"ހަންގޭރީ",IS:"އައިސްލޭންޑް",IN:"ހިންދުސްތާން",ID:"އިންޑޮނީޝިޔާ",IR:"އީރާން",IQ:"ޢިރާޤު",IE:"އަޔަލޭންޑުގެ ޖުމްހޫރިއްޔާ",IL:"އިސްރާއީލު",IT:"އިޓަލީ",JM:"ޖެމޭއިކާ",JP:" ޖަޕާނު ",JO:"ޖޯޑަން",KZ:"ކަޒަކިސްތާން",KE:"ކެންޔާ",KI:"ކިރިބަޓި",KP:"ޑިމޮކްރޭޓތިކް ޕީޕަލްސް ރިޕަބްލިކް އޮފް ކޮރެއާ",KR:"ރިޕަބްލިކް އޮފް ކޮރެއާ",KW:"ކުވެއިތު",KG:"ކިރިގިސްތާން",LA:"ޕީޕަލްސް ޑިމޮކްރޭޓިކް ރިޕަބްލިކް އޮފް ލާއޯ",LV:"ލަޓްވިއާ",LB:"ލުބުނާން",LS:"ލެސޯތޯ",LR:"ލައިބީރިއާ",LY:"ލީބިޔަން އަރަބް ޖަމާހިރިއްޔާ",LI:"ލިއެޗެންސްޓެއިން",LT:"ލިތުއޭނިއާ",LU:"ލަގްޒެމްބާގް",MO:"މަކާއޯ",MK:"ޔޫގޮސްލާވިއާ",MG:"މަޑަގަސްކަރ",MW:"މެލޭޝިޔާ",MY:"މެލޭޝިޔާ",MV:"މާލީ",ML:"މޯލްޓާ",MT:"މަލްޓާ",MH:"މާޝަލް އައިލެންޑްސް",MQ:"މަރުތިނީކު",MR:"މައުރިޓޭނިއާ",MU:"މައުރިޓިއަސް",YT:"މެކްސިކޯ",MX:"މައިކްރޮނޭޝިއާ",FM:"މޮލްޑޯވާ",MD:"މޮނާކޯ",MC:"މޮންގޯލިއާ",MN:"މޮންގޯލިއާ",MS:"މޮރޮކޯ",MA:"މޮރޮކޯ",MZ:"މޮޒަންބީކް",MM:"މިޔަންމާ",NA:"ނައުރޫ",NR:"ނޭޕާލް",NP:"ނެދަލޭންޑު",NL:"ނެދަލޭންޑްސް",NC:"ނިއު ކެލިޑޯނިއާ",NZ:"ނިކަރާގުއާ",NI:"ނިޖަރު",NE:"ނައިޖީރިއާ",NG:"ނީއު",NU:"ނިއޫ",NF:"ނޯފޯކް އައިލެންޑް",MP:"ނޮދާން މަރިއާނާ އައިލަންޑްސް",NO:"ނޫރުވޭޖިއާ",OM:"އޯމާން",PK:"ޕާކިސްތާން",PW:"ޕަލާއޫ",PS:"ފަލަސްޠީނުގެ ދައުލަތް",PA:"ޕެނަމާ",PG:"ޕައުޕާ ނިއުގީނިއާ",PY:"ޕަރަގުއޭއީ",PE:"ޕެރޫ",PH:"ފިލިޕީންސް",PN:"ޕިޓްކެއާން",PL:"ޕޮލޭންޑް",PT:"ޕޯޗުގަލް",PR:"ޕުއަރޓޯ ރީކޯ",QA:"ޤަޠަރު",RE:"ރިޔޫނިއަން (ފަރަންސޭސިވިލާތް)",RO:"ރޮމޭނިއާ",RU:"ރަޝިއަން ފެޑޭރޭޝަން",RW:"ރުވާންޑާ",SH:"ސަންތި ހެލީނާ (ޔުނައިޓެޑް ކިންގްޑަމް)",KN:"ސައިންޓް ކިޓްސް އެންޑް ނެވީސް",LC:"ސައިންޓް ލޫސިއާ",PM:"ސަންތި ޕިއޭރޭ އާއި މިކުއެލޯން (ފަރަންސޭސިވިލާތް)",VC:"ސައިންޓް ވިންސެންޓް އެންޑް ދަ ގޮރެނޭޑިންސް",WS:"ސަމޯއާ",SM:"ސަން މެރީނޯ",ST:"ސައޯ ޓޯމީ އެންޑް ޕްރިންސިޕީ",SA:"ސައުދީ އެރޭބިއާ",SN:"ސެނެގާލް",SC:"ސީޝެލްސް",SL:"ސެރެލިއޯން",SG:"ސިންގަޕޯރ",SK:"ސްލޮވާކިއާ",SI:"ސްލޮވީނިއާ",SB:"ސޮލޮމޮން އައިލަންޑްސް",SO:"ސޯމާލިއާ",ZA:"ސައުތު އެފްރިކާ",GS:"ސައުތު ޖޯޖިއާ އަންޑް ދަ ސައުތު ސޭންޑްވިޗް އައިލެންޑްސް",ES:"ސްޕެއިން",LK:"އޮޅުދޫކަރަ",SD:"ސޫދާން",SR:"ސުރިނާމް",SJ:"ސްވަ ލްބަރްޑް އެންޑް ޖަން މަޔިން",SZ:"ސުވާޒިލޭންޑު",SE:"ސްވީޑަން",CH:"ސްވިޒަރލޭންޑް",SY:"ސީރިއަން އަރަބް ރިޕަބްލިކް",TW:"ޓައިވާން",TJ:"ޓަޖިކިސްތާން",TZ:"ޓާންޒޭނިއާ",TH:"ތައިލެންޑް",TL:"ޓީމޯ ލެސްޓޭ",TG:"ޓޯގޯ",TK:"ތޮކެލާއު",TO:"ޓޮންގާ",TT:"ޓްރިނިޑެޑް އެންޑް ޓޮބޭގޯ",TN:"ޓިއުނީޝިއާ",TR:"ތުރުކީވިލާތް",TM:"ތުރުކުމެނިސްތާން",TC:"ޓާކްސް އެންޑް ކެއިކޯސް އައިލެންޑްސް",TV:"ތުވާލޫ",UG:"ޔުގެންޑާ",UA:"ޔޫކްރޭން",AE:"އެކުވެރި ޢަރަބި އިމާރާތ",GB:"ޔުނައިޓަޑް ކިންގްޑޮމް",US:"ޔުނައިޓަޑް ސްޓޭޓްސް",UM:"ޔުނައިޓަޑް ސްޓޭޓްސް ކުޑާ ދެރެން އައިލޭންޑްސް",UY:"އުރުގުއޭއީ",UZ:"އުޒްބެކިސްތާން",VU:"ވަނުއާޓޫ",VE:"ވެނެޒުއޭލާ",VN:"ވިއެޓުނާމު",VG:"ވާރޖިން އައިލޭންޑްސް ބްރިޓިޝް",VI:"ވާރޖިން އައިލޭންޑްސް ޔޫއެސް",WF:"ވޯލިސް އެންޑް ފުޓުނަ",EH:"ހުޅަނގު ސަހަރާ",YE:"ޔަމަން",ZM:"ޒެމްބިއާ",ZW:"ޒިމްބާބުވޭ",AX:"އަލޭންޑް އައިލެންޑްސް",BQ:"ބުނިރް، ސިންޓް ޔުސްޓަޒިއުސ އެންޑް ސަބަ",CW:"ކުރަކާއޯ",GG:"ގުއާންސޭ (ބިރިޓިޝް ތާޖުގެ ހިޔާވަހިކަމުގައި)",IM:"އައިޒަލް އޮފް މޭން (ބިރިޓިޝް ތާޖުގެ ހިޔާވަހިކަމުގައި)",JE:"ޖާސޭ (ބިރިޓިޝް ތާޖުގެ ހިޔާވަހިކަމުގައި)",ME:"ކަޅުފަރުބަދަ",BL:"ސެއިންޓް ބާތެލެމީ",MF:"ސެއިންޓް މާޓީން",RS:"ސިރިބިއާ، ސިރިބިސްތާން، ސިރިބިވިލާތް",SX:"ސިންޓް މާޓީން",SS:"ސައުތު ސޫދާން",XK:"ކޮސޮވާ"},G={locale:M,countries:S};export{S as countries,G as default,M as locale}; diff --git a/docs/storybook/assets/el-965cb4c5.js b/docs/storybook/assets/el-965cb4c5.js deleted file mode 100644 index a2548e4..0000000 --- a/docs/storybook/assets/el-965cb4c5.js +++ /dev/null @@ -1 +0,0 @@ -const M="el",S={AF:"Αφγανιστάν",AL:"Αλβανία",DZ:"Αλγερία",AS:"Αμερικανική Σαμόα",AD:"Ανδόρρα",AO:"Ανγκόλα",AI:"Ανγκουίλα",AQ:"Ανταρκτική",AG:"Αντίγκουα και Μπαρμπούντα",AR:"Αργεντινή",AM:"Αρμενία",AW:"Αρούμπα",AU:"Αυστραλία",AT:"Αυστρία",AZ:"Αζερμπαϊτζάν",BS:"Μπαχάμες",BH:"Μπαχρέιν",BD:"Μπανγκλαντές",BB:"Μπαρμπάντος",BY:"Λευκορωσία",BE:"Βέλγιο",BZ:"Μπελίζ",BJ:"Μπενίν",BM:"Βερμούδες",BT:"Μπουτάν",BO:"Βολιβία",BA:"Βοσνία και Ερζεγοβίνη",BW:"Μποτσουάνα",BV:"Μπουβέ",BR:"Βραζιλία",IO:"Βρετανικό Έδαφος Ινδικού Ωκεανού",BN:"Σουλτανάτο του Μπρουνέι",BG:"Βουλγαρία",BF:"Μπουρκίνα Φάσο",BI:"Μπουρουντί",KH:"Καμπότζη",CM:"Καμερούν",CA:"Καναδάς",CV:["Δημοκρατία του Πράσινου Ακρωτηρίου","Πράσινο Ακρωτήριο"],KY:"Κέιμαν Νήσοι",CF:"Κεντροαφρικανική Δημοκρατία",TD:"Τσάντ",CL:"Χιλή",CN:"Κίνα",CX:"Νήσος των Χριστουγέννων",CC:"Νησιά Κόκος",CO:"Κολομβία",KM:"Ένωση των Κομορών",CG:["Δημοκρατία του Κονγκό","Κονγκό"],CD:"Λαϊκή Δημοκρατία του Κονγκό",CK:"Νήσοι Κουκ",CR:"Κόστα Ρίκα",CI:"Ακτή Ελεφαντοστού",HR:"Κροατία",CU:"Κούβα",CY:"Κύπρος",CZ:["Τσεχική Δημοκρατία","Τσεχία"],DK:"Δανία",DJ:"Τζιμπουτί",DM:["Κοινοπολιτεία της Δομινίκας","Ντομίνικα"],DO:"Δομινικανή Δημοκρατία",EC:"Εκουαδόρ",EG:"Αίγυπτος",SV:"Ελ Σαλβαδόρ",GQ:"Ισημερινή-Γουινέα",ER:["Κράτος της Ερυθραίας","Ερυθραία"],EE:"Εσθονία",ET:"Αιθιοπία",FK:"Νήσοι Φώκλαντ (Μαλβίνας)",FO:"Νήσοι Φερόες",FJ:"Δημοκρατία των Φίτζι",FI:"Φινλανδία",FR:"Γαλλία",GF:"Γαλλική Γουιάνα",PF:"Γαλλική Πολυνησία",TF:"Γαλλικά Νότια και Ανταρκτικά Εδάφη",GA:"Γκαμπόν",GM:"Γκάμπια",GE:"Γεωργία",DE:"Γερμανία",GH:"Γκάνα",GI:"Γιβραλτάρ",GR:"Ελλάδα",GL:"Γροιλανδία",GD:"Γρενάδα",GP:"Γουαδελούπη",GU:"Γκουάμ",GT:"Γουατεμάλα",GN:"Γουινέα",GW:"Γουινέα-Μπισσάου",GY:"Γουιάνα",HT:"Αϊτη",HM:"Νήσοι Χερντ και Μακντόναλντ",VA:["Κράτος της Πόλης του Βατικανού","Βατικανό"],HN:"Ονδούρα",HK:"Χονγκ Κόνγκ",HU:"Ουγγαρία",IS:"Ισλανδία",IN:"Ινδία",ID:"Ινδονησία",IR:["Ισλαμική Δημοκρατία του Ιράν","Ιράν"],IQ:"Ιράκ",IE:"Ιρλανδία",IL:"Ισραήλ",IT:"Ιταλία",JM:"Τζαμάικα",JP:"Ιαπωνία",JO:"Ιορδανία",KZ:"Καζακστάν",KE:"Κένυα",KI:"Κιριμπάτι",KP:["Λαοκρατική Δημοκρατία της Κορέας","Βόρεια Κορέα"],KR:["Δημοκρατία της Κορέας","Νότια Κορέα"],KW:"Κουβέιτ",KG:"Κιργιζία",LA:["Λαϊκή Δημοκρατία του Λάος","Λάος"],LV:"Λετονία",LB:"Λίβανο",LS:["Βασίλειο του Λεσότο","Λεσότο"],LR:"Λιβερία",LY:["Κράτος της Λιβύης","Λιβύη"],LI:["Πριγκιπάτο του Λίχτενσταϊν","Λίχτενσταϊν"],LT:"Λιθουανία",LU:"Λουξεμβούργο",MO:"Μακάου",MK:["Δημοκρατία της Βόρειας Μακεδονίας","Βόρεια Μακεδονία"],MG:"Μαδαγασκάρη",MW:"Μαλάουι",MY:"Μαλαισία",MV:"Μαλβίδες",ML:"Μαλί",MT:"Μάλτα",MH:"Νήσοι Μάρσαλ",MQ:"Μαρτινίκα",MR:"Μαυριτανία",MU:"Μαυρίκιος",YT:"Μαγιότ",MX:"Μεξικό",FM:["Ομόσπονδες Πολιτείες της Μικρονησίας","Μικρονησία"],MD:["Δημοκρατία της Μολδαβίας","Μολδαβία"],MC:["Πριγκιπάτο του Μονακό","Μονακό"],MN:"Μογγολία",MS:"Μοντσερράτ",MA:"Μαρόκο",MZ:"Μοζαμβίκη",MM:"Μιανμάρ",NA:"Ναμίμπια",NR:"Ναουρού",NP:"Νεπάλ",NL:"Ολλανδία",NC:"Νέα Καληδονία",NZ:"Νέα Ζηλανδία",NI:"Νικαράγουα",NE:"Νίγηρας",NG:"Νιγηρία",NU:"Νιούε",NF:"Νησί Νόρφολκ",MP:"Βόρειες Μαριάνες Νήσοι",NO:"Νορβηγία",OM:"Ομάν",PK:"Πακιστάν",PW:"Παλάου",PS:["Κράτος της Παλαιστίνης","Παλαιστίνη"],PA:"Παναμάς",PG:"Παπούα Νέα Γουινέα",PY:"Παραγουάη",PE:"Περού",PH:"Φιλιππίνες",PN:"Νήσοι Πίτκαιρν",PL:"Πολωνία",PT:"Πορτογαλία",PR:"Πουέρτο Ρίκο",QA:"Κατάρ",RE:"Ρεϋνιόν",RO:"Ρουμανία",RU:["Ρωσική Ομοσπονδία","Ρωσία"],RW:"Ρουάντα",SH:"Νήσος Αγίας Ελένης",KN:"Ομοσπονδία Αγίου Χριστόφορου και Νέβις",LC:"Αγία Λουκία",PM:"Σαιν Πιερ και Μικελόν",VC:"Άγιος Βικέντιος και Γρεναδίνες",WS:"Σαμόα",SM:"Άγιος Μαρίνος",ST:"Σάο Τομέ και Πρίνσιπε",SA:"Σαουδική Αραβία",SN:"Σενεγάλη",SC:"Σεϋχέλλες",SL:"Σιέρα Λεόνε",SG:"Σιγκαπούρη",SK:"Σλοβακία",SI:"Σλοβενία",SB:"Νήσοι Σολομώντα",SO:"Σομαλία",ZA:"Νότια Αφρική",GS:"Νότιος Γεωργία και Νότιοι Σάντουιτς Νήσοι",ES:"Ισπανία",LK:"Σρι Λάνκα",SD:"Σουδάν",SR:"Σουρινάμ",SJ:"Σβάλμπαρντ και Γιαν Μαγιέν",SZ:"Σουαζιλάνδη",SE:"Σουηδία",CH:"Ελβετία",SY:["Αραβική Δημοκρατία της Συρίας","Συρία"],TW:"Δημοκρατία της Κίνας",TJ:"Τατζικιστάν",TZ:["Ενωμένη Δημοκρατία της Τανζανίας","Τανζανία"],TH:"Ταϊλάνδη",TL:"Ανατολικό Τιμόρ",TG:"Τογκό",TK:"Τοκελάου",TO:"Τόνγκα",TT:"Τρινιντάντ και Τομπάγκο",TN:"Τυνησία",TR:"Τουρκία",TM:"Τουρκμενιστάν",TC:"Τερκς και Κέικος",TV:"Τουβαλού",UG:"Ουγκάντα",UA:"Ουκρανια",AE:"Ηνωμένα Αραβικά Εμιράτα",GB:"Ηνωμένο Βασίλειο",US:["Ηνωμένες Πολιτείες Αμερικής","Αμερική","ΗΠΑ"],UM:"Απομακρυσμένες Νησίδες των Ηνωμένων Πολιτειών",UY:"Ουρουγουάη",UZ:"Ουζμπεκιστάν",VU:"Βανουάτου",VE:"Βενεζουέλα",VN:"Βιετνάμ",VG:"Βρετανικές Παρθένοι Νήσοι",VI:"Αμερικανικές Παρθένοι Νήσοι",WF:"Ουαλίς και Φουτουνά",EH:"Δυτική Σαχάρα",YE:"Υεμένη",ZM:"Ζάμπια",ZW:"Ζιμπάμπουε",AX:"Νήσοι Ώλαντ",BQ:"Μποναίρ, Άγιος Ευστάθιος και Σάμπα",CW:"Κουρασάο",GG:"Γκουέρνσεϊ",IM:"Νήσος του Μαν",JE:"Βαϊλάτο του Τζέρσεϊ",ME:"Μαυροβούνιο",BL:"Άγιος Βαρθολομαίος",MF:"Άγιος Μαρτίνος (Γαλλία)",RS:"Σερβία",SX:"Άγιος Μαρτίνος (Ολλανδία)",SS:"Νότιο Σουδάν",XK:"Κόσοβο"},G={locale:M,countries:S};export{S as countries,G as default,M as locale}; diff --git a/docs/storybook/assets/entry-preview-1eb1b2bc.js b/docs/storybook/assets/entry-preview-1eb1b2bc.js deleted file mode 100644 index 3275762..0000000 --- a/docs/storybook/assets/entry-preview-1eb1b2bc.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as pe}from"./iframe-145c4ff1.js";import{_ as Te,a as Ae,b as O}from"./chunk-XP5HYGXS-8b50b325.js";import{R as Y,r as k,a as ge}from"./index-93f6b7ae.js";const{global:we}=__STORYBOOK_MODULE_GLOBAL__;var Q=O({"../../node_modules/semver/internal/constants.js"(m,o){var r="2.0.0",i=Number.MAX_SAFE_INTEGER||9007199254740991,n=16,t=250,u=["major","premajor","minor","preminor","patch","prepatch","prerelease"];o.exports={MAX_LENGTH:256,MAX_SAFE_COMPONENT_LENGTH:n,MAX_SAFE_BUILD_LENGTH:t,MAX_SAFE_INTEGER:i,RELEASE_TYPES:u,SEMVER_SPEC_VERSION:r,FLAG_INCLUDE_PRERELEASE:1,FLAG_LOOSE:2}}}),Z=O({"../../node_modules/semver/internal/debug.js"(m,o){var r=typeof process=="object"&&process.env&&{}.NODE_DEBUG&&/\bsemver\b/i.test({}.NODE_DEBUG)?(...i)=>console.error("SEMVER",...i):()=>{};o.exports=r}}),z=O({"../../node_modules/semver/internal/re.js"(m,o){var{MAX_SAFE_COMPONENT_LENGTH:r,MAX_SAFE_BUILD_LENGTH:i,MAX_LENGTH:n}=Q(),t=Z();m=o.exports={};var u=m.re=[],h=m.safeRe=[],e=m.src=[],v=m.safeSrc=[],a=m.t={},f=0,s="[a-zA-Z0-9-]",p=[["\\s",1],["\\d",n],[s,i]],E=I=>{for(let[T,A]of p)I=I.split(`${T}*`).join(`${T}{0,${A}}`).split(`${T}+`).join(`${T}{1,${A}}`);return I},l=(I,T,A)=>{let y=E(T),D=f++;t(I,D,T),a[I]=D,e[D]=T,v[D]=y,u[D]=new RegExp(T,A?"g":void 0),h[D]=new RegExp(y,A?"g":void 0)};l("NUMERICIDENTIFIER","0|[1-9]\\d*"),l("NUMERICIDENTIFIERLOOSE","\\d+"),l("NONNUMERICIDENTIFIER",`\\d*[a-zA-Z-]${s}*`),l("MAINVERSION",`(${e[a.NUMERICIDENTIFIER]})\\.(${e[a.NUMERICIDENTIFIER]})\\.(${e[a.NUMERICIDENTIFIER]})`),l("MAINVERSIONLOOSE",`(${e[a.NUMERICIDENTIFIERLOOSE]})\\.(${e[a.NUMERICIDENTIFIERLOOSE]})\\.(${e[a.NUMERICIDENTIFIERLOOSE]})`),l("PRERELEASEIDENTIFIER",`(?:${e[a.NUMERICIDENTIFIER]}|${e[a.NONNUMERICIDENTIFIER]})`),l("PRERELEASEIDENTIFIERLOOSE",`(?:${e[a.NUMERICIDENTIFIERLOOSE]}|${e[a.NONNUMERICIDENTIFIER]})`),l("PRERELEASE",`(?:-(${e[a.PRERELEASEIDENTIFIER]}(?:\\.${e[a.PRERELEASEIDENTIFIER]})*))`),l("PRERELEASELOOSE",`(?:-?(${e[a.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${e[a.PRERELEASEIDENTIFIERLOOSE]})*))`),l("BUILDIDENTIFIER",`${s}+`),l("BUILD",`(?:\\+(${e[a.BUILDIDENTIFIER]}(?:\\.${e[a.BUILDIDENTIFIER]})*))`),l("FULLPLAIN",`v?${e[a.MAINVERSION]}${e[a.PRERELEASE]}?${e[a.BUILD]}?`),l("FULL",`^${e[a.FULLPLAIN]}$`),l("LOOSEPLAIN",`[v=\\s]*${e[a.MAINVERSIONLOOSE]}${e[a.PRERELEASELOOSE]}?${e[a.BUILD]}?`),l("LOOSE",`^${e[a.LOOSEPLAIN]}$`),l("GTLT","((?:<|>)?=?)"),l("XRANGEIDENTIFIERLOOSE",`${e[a.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`),l("XRANGEIDENTIFIER",`${e[a.NUMERICIDENTIFIER]}|x|X|\\*`),l("XRANGEPLAIN",`[v=\\s]*(${e[a.XRANGEIDENTIFIER]})(?:\\.(${e[a.XRANGEIDENTIFIER]})(?:\\.(${e[a.XRANGEIDENTIFIER]})(?:${e[a.PRERELEASE]})?${e[a.BUILD]}?)?)?`),l("XRANGEPLAINLOOSE",`[v=\\s]*(${e[a.XRANGEIDENTIFIERLOOSE]})(?:\\.(${e[a.XRANGEIDENTIFIERLOOSE]})(?:\\.(${e[a.XRANGEIDENTIFIERLOOSE]})(?:${e[a.PRERELEASELOOSE]})?${e[a.BUILD]}?)?)?`),l("XRANGE",`^${e[a.GTLT]}\\s*${e[a.XRANGEPLAIN]}$`),l("XRANGELOOSE",`^${e[a.GTLT]}\\s*${e[a.XRANGEPLAINLOOSE]}$`),l("COERCEPLAIN",`(^|[^\\d])(\\d{1,${r}})(?:\\.(\\d{1,${r}}))?(?:\\.(\\d{1,${r}}))?`),l("COERCE",`${e[a.COERCEPLAIN]}(?:$|[^\\d])`),l("COERCEFULL",e[a.COERCEPLAIN]+`(?:${e[a.PRERELEASE]})?(?:${e[a.BUILD]})?(?:$|[^\\d])`),l("COERCERTL",e[a.COERCE],!0),l("COERCERTLFULL",e[a.COERCEFULL],!0),l("LONETILDE","(?:~>?)"),l("TILDETRIM",`(\\s*)${e[a.LONETILDE]}\\s+`,!0),m.tildeTrimReplace="$1~",l("TILDE",`^${e[a.LONETILDE]}${e[a.XRANGEPLAIN]}$`),l("TILDELOOSE",`^${e[a.LONETILDE]}${e[a.XRANGEPLAINLOOSE]}$`),l("LONECARET","(?:\\^)"),l("CARETTRIM",`(\\s*)${e[a.LONECARET]}\\s+`,!0),m.caretTrimReplace="$1^",l("CARET",`^${e[a.LONECARET]}${e[a.XRANGEPLAIN]}$`),l("CARETLOOSE",`^${e[a.LONECARET]}${e[a.XRANGEPLAINLOOSE]}$`),l("COMPARATORLOOSE",`^${e[a.GTLT]}\\s*(${e[a.LOOSEPLAIN]})$|^$`),l("COMPARATOR",`^${e[a.GTLT]}\\s*(${e[a.FULLPLAIN]})$|^$`),l("COMPARATORTRIM",`(\\s*)${e[a.GTLT]}\\s*(${e[a.LOOSEPLAIN]}|${e[a.XRANGEPLAIN]})`,!0),m.comparatorTrimReplace="$1$2$3",l("HYPHENRANGE",`^\\s*(${e[a.XRANGEPLAIN]})\\s+-\\s+(${e[a.XRANGEPLAIN]})\\s*$`),l("HYPHENRANGELOOSE",`^\\s*(${e[a.XRANGEPLAINLOOSE]})\\s+-\\s+(${e[a.XRANGEPLAINLOOSE]})\\s*$`),l("STAR","(<|>)?=?\\s*\\*"),l("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$"),l("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$")}}),Ee=O({"../../node_modules/semver/internal/parse-options.js"(m,o){var r=Object.freeze({loose:!0}),i=Object.freeze({}),n=t=>t?typeof t!="object"?r:t:i;o.exports=n}}),Ie=O({"../../node_modules/semver/internal/identifiers.js"(m,o){var r=/^[0-9]+$/,i=(t,u)=>{let h=r.test(t),e=r.test(u);return h&&e&&(t=+t,u=+u),t===u?0:h&&!e?-1:e&&!h?1:t<u?-1:1},n=(t,u)=>i(u,t);o.exports={compareIdentifiers:i,rcompareIdentifiers:n}}}),q=O({"../../node_modules/semver/classes/semver.js"(m,o){var r=Z(),{MAX_LENGTH:i,MAX_SAFE_INTEGER:n}=Q(),{safeRe:t,safeSrc:u,t:h}=z(),e=Ee(),{compareIdentifiers:v}=Ie(),a=class X{constructor(s,p){if(p=e(p),s instanceof X){if(s.loose===!!p.loose&&s.includePrerelease===!!p.includePrerelease)return s;s=s.version}else if(typeof s!="string")throw new TypeError(`Invalid version. Must be a string. Got type "${typeof s}".`);if(s.length>i)throw new TypeError(`version is longer than ${i} characters`);r("SemVer",s,p),this.options=p,this.loose=!!p.loose,this.includePrerelease=!!p.includePrerelease;let E=s.trim().match(p.loose?t[h.LOOSE]:t[h.FULL]);if(!E)throw new TypeError(`Invalid Version: ${s}`);if(this.raw=s,this.major=+E[1],this.minor=+E[2],this.patch=+E[3],this.major>n||this.major<0)throw new TypeError("Invalid major version");if(this.minor>n||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>n||this.patch<0)throw new TypeError("Invalid patch version");E[4]?this.prerelease=E[4].split(".").map(l=>{if(/^[0-9]+$/.test(l)){let I=+l;if(I>=0&&I<n)return I}return l}):this.prerelease=[],this.build=E[5]?E[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(s){if(r("SemVer.compare",this.version,this.options,s),!(s instanceof X)){if(typeof s=="string"&&s===this.version)return 0;s=new X(s,this.options)}return s.version===this.version?0:this.compareMain(s)||this.comparePre(s)}compareMain(s){return s instanceof X||(s=new X(s,this.options)),v(this.major,s.major)||v(this.minor,s.minor)||v(this.patch,s.patch)}comparePre(s){if(s instanceof X||(s=new X(s,this.options)),this.prerelease.length&&!s.prerelease.length)return-1;if(!this.prerelease.length&&s.prerelease.length)return 1;if(!this.prerelease.length&&!s.prerelease.length)return 0;let p=0;do{let E=this.prerelease[p],l=s.prerelease[p];if(r("prerelease compare",p,E,l),E===void 0&&l===void 0)return 0;if(l===void 0)return 1;if(E===void 0)return-1;if(E!==l)return v(E,l)}while(++p)}compareBuild(s){s instanceof X||(s=new X(s,this.options));let p=0;do{let E=this.build[p],l=s.build[p];if(r("build compare",p,E,l),E===void 0&&l===void 0)return 0;if(l===void 0)return 1;if(E===void 0)return-1;if(E!==l)return v(E,l)}while(++p)}inc(s,p,E){if(s.startsWith("pre")){if(!p&&E===!1)throw new Error("invalid increment argument: identifier is empty");if(p){let l=new RegExp(`^${this.options.loose?u[h.PRERELEASELOOSE]:u[h.PRERELEASE]}$`),I=`-${p}`.match(l);if(!I||I[1]!==p)throw new Error(`invalid identifier: ${p}`)}}switch(s){case"premajor":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc("pre",p,E);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",p,E);break;case"prepatch":this.prerelease.length=0,this.inc("patch",p,E),this.inc("pre",p,E);break;case"prerelease":this.prerelease.length===0&&this.inc("patch",p,E),this.inc("pre",p,E);break;case"release":if(this.prerelease.length===0)throw new Error(`version ${this.raw} is not a prerelease`);this.prerelease.length=0;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":{let l=Number(E)?1:0;if(this.prerelease.length===0)this.prerelease=[l];else{let I=this.prerelease.length;for(;--I>=0;)typeof this.prerelease[I]=="number"&&(this.prerelease[I]++,I=-2);if(I===-1){if(p===this.prerelease.join(".")&&E===!1)throw new Error("invalid increment argument: identifier already exists");this.prerelease.push(l)}}if(p){let I=[p,l];E===!1&&(I=[p]),v(this.prerelease[0],p)===0?isNaN(this.prerelease[1])&&(this.prerelease=I):this.prerelease=I}break}default:throw new Error(`invalid increment argument: ${s}`)}return this.raw=this.format(),this.build.length&&(this.raw+=`+${this.build.join(".")}`),this}};o.exports=a}}),H=O({"../../node_modules/semver/functions/parse.js"(m,o){var r=q(),i=(n,t,u=!1)=>{if(n instanceof r)return n;try{return new r(n,t)}catch(h){if(!u)return null;throw h}};o.exports=i}}),xe=O({"../../node_modules/semver/functions/valid.js"(m,o){var r=H(),i=(n,t)=>{let u=r(n,t);return u?u.version:null};o.exports=i}}),je=O({"../../node_modules/semver/functions/clean.js"(m,o){var r=H(),i=(n,t)=>{let u=r(n.trim().replace(/^[=v]+/,""),t);return u?u.version:null};o.exports=i}}),Pe=O({"../../node_modules/semver/functions/inc.js"(m,o){var r=q(),i=(n,t,u,h,e)=>{typeof u=="string"&&(e=h,h=u,u=void 0);try{return new r(n instanceof r?n.version:n,u).inc(t,h,e).version}catch{return null}};o.exports=i}}),Ce=O({"../../node_modules/semver/functions/diff.js"(m,o){var r=H(),i=(n,t)=>{let u=r(n,null,!0),h=r(t,null,!0),e=u.compare(h);if(e===0)return null;let v=e>0,a=v?u:h,f=v?h:u,s=!!a.prerelease.length;if(f.prerelease.length&&!s){if(!f.patch&&!f.minor)return"major";if(f.compareMain(a)===0)return f.minor&&!f.patch?"minor":"patch"}let p=s?"pre":"";return u.major!==h.major?p+"major":u.minor!==h.minor?p+"minor":u.patch!==h.patch?p+"patch":"prerelease"};o.exports=i}}),ye=O({"../../node_modules/semver/functions/major.js"(m,o){var r=q(),i=(n,t)=>new r(n,t).major;o.exports=i}}),De=O({"../../node_modules/semver/functions/minor.js"(m,o){var r=q(),i=(n,t)=>new r(n,t).minor;o.exports=i}}),Ge=O({"../../node_modules/semver/functions/patch.js"(m,o){var r=q(),i=(n,t)=>new r(n,t).patch;o.exports=i}}),qe=O({"../../node_modules/semver/functions/prerelease.js"(m,o){var r=H(),i=(n,t)=>{let u=r(n,t);return u&&u.prerelease.length?u.prerelease:null};o.exports=i}}),V=O({"../../node_modules/semver/functions/compare.js"(m,o){var r=q(),i=(n,t,u)=>new r(n,u).compare(new r(t,u));o.exports=i}}),Fe=O({"../../node_modules/semver/functions/rcompare.js"(m,o){var r=V(),i=(n,t,u)=>r(t,n,u);o.exports=i}}),Ve=O({"../../node_modules/semver/functions/compare-loose.js"(m,o){var r=V(),i=(n,t)=>r(n,t,!0);o.exports=i}}),me=O({"../../node_modules/semver/functions/compare-build.js"(m,o){var r=q(),i=(n,t,u)=>{let h=new r(n,u),e=new r(t,u);return h.compare(e)||h.compareBuild(e)};o.exports=i}}),Ue=O({"../../node_modules/semver/functions/sort.js"(m,o){var r=me(),i=(n,t)=>n.sort((u,h)=>r(u,h,t));o.exports=i}}),Xe=O({"../../node_modules/semver/functions/rsort.js"(m,o){var r=me(),i=(n,t)=>n.sort((u,h)=>r(h,u,t));o.exports=i}}),J=O({"../../node_modules/semver/functions/gt.js"(m,o){var r=V(),i=(n,t,u)=>r(n,t,u)>0;o.exports=i}}),ce=O({"../../node_modules/semver/functions/lt.js"(m,o){var r=V(),i=(n,t,u)=>r(n,t,u)<0;o.exports=i}}),Le=O({"../../node_modules/semver/functions/eq.js"(m,o){var r=V(),i=(n,t,u)=>r(n,t,u)===0;o.exports=i}}),_e=O({"../../node_modules/semver/functions/neq.js"(m,o){var r=V(),i=(n,t,u)=>r(n,t,u)!==0;o.exports=i}}),he=O({"../../node_modules/semver/functions/gte.js"(m,o){var r=V(),i=(n,t,u)=>r(n,t,u)>=0;o.exports=i}}),ve=O({"../../node_modules/semver/functions/lte.js"(m,o){var r=V(),i=(n,t,u)=>r(n,t,u)<=0;o.exports=i}}),Ne=O({"../../node_modules/semver/functions/cmp.js"(m,o){var r=Le(),i=_e(),n=J(),t=he(),u=ce(),h=ve(),e=(v,a,f,s)=>{switch(a){case"===":return typeof v=="object"&&(v=v.version),typeof f=="object"&&(f=f.version),v===f;case"!==":return typeof v=="object"&&(v=v.version),typeof f=="object"&&(f=f.version),v!==f;case"":case"=":case"==":return r(v,f,s);case"!=":return i(v,f,s);case">":return n(v,f,s);case">=":return t(v,f,s);case"<":return u(v,f,s);case"<=":return h(v,f,s);default:throw new TypeError(`Invalid operator: ${a}`)}};o.exports=e}}),be=O({"../../node_modules/semver/functions/coerce.js"(m,o){var r=q(),i=H(),{safeRe:n,t}=z(),u=(h,e)=>{if(h instanceof r)return h;if(typeof h=="number"&&(h=String(h)),typeof h!="string")return null;e=e||{};let v=null;if(!e.rtl)v=h.match(e.includePrerelease?n[t.COERCEFULL]:n[t.COERCE]);else{let l=e.includePrerelease?n[t.COERCERTLFULL]:n[t.COERCERTL],I;for(;(I=l.exec(h))&&(!v||v.index+v[0].length!==h.length);)(!v||I.index+I[0].length!==v.index+v[0].length)&&(v=I),l.lastIndex=I.index+I[1].length+I[2].length;l.lastIndex=-1}if(v===null)return null;let a=v[2],f=v[3]||"0",s=v[4]||"0",p=e.includePrerelease&&v[5]?`-${v[5]}`:"",E=e.includePrerelease&&v[6]?`+${v[6]}`:"";return i(`${a}.${f}.${s}${p}${E}`,e)};o.exports=u}}),ke=O({"../../node_modules/semver/internal/lrucache.js"(m,o){var r=class{constructor(){this.max=1e3,this.map=new Map}get(i){let n=this.map.get(i);if(n!==void 0)return this.map.delete(i),this.map.set(i,n),n}delete(i){return this.map.delete(i)}set(i,n){if(!this.delete(i)&&n!==void 0){if(this.map.size>=this.max){let t=this.map.keys().next().value;this.delete(t)}this.map.set(i,n)}return this}};o.exports=r}}),U=O({"../../node_modules/semver/classes/range.js"(m,o){var r=/\s+/g,i=class K{constructor(c,L){if(L=u(L),c instanceof K)return c.loose===!!L.loose&&c.includePrerelease===!!L.includePrerelease?c:new K(c.raw,L);if(c instanceof h)return this.raw=c.value,this.set=[[c]],this.formatted=void 0,this;if(this.options=L,this.loose=!!L.loose,this.includePrerelease=!!L.includePrerelease,this.raw=c.trim().replace(r," "),this.set=this.raw.split("||").map(R=>this.parseRange(R.trim())).filter(R=>R.length),!this.set.length)throw new TypeError(`Invalid SemVer Range: ${this.raw}`);if(this.set.length>1){let R=this.set[0];if(this.set=this.set.filter(_=>!T(_[0])),this.set.length===0)this.set=[R];else if(this.set.length>1){for(let _ of this.set)if(_.length===1&&A(_[0])){this.set=[_];break}}}this.formatted=void 0}get range(){if(this.formatted===void 0){this.formatted="";for(let c=0;c<this.set.length;c++){c>0&&(this.formatted+="||");let L=this.set[c];for(let R=0;R<L.length;R++)R>0&&(this.formatted+=" "),this.formatted+=L[R].toString().trim()}}return this.formatted}format(){return this.range}toString(){return this.range}parseRange(c){let L=((this.options.includePrerelease&&l)|(this.options.loose&&I))+":"+c,R=t.get(L);if(R)return R;let _=this.options.loose,$=_?a[f.HYPHENRANGELOOSE]:a[f.HYPHENRANGE];c=c.replace($,ae(this.options.includePrerelease)),e("hyphen replace",c),c=c.replace(a[f.COMPARATORTRIM],s),e("comparator trim",c),c=c.replace(a[f.TILDETRIM],p),e("tilde trim",c),c=c.replace(a[f.CARETTRIM],E),e("caret trim",c);let N=c.split(" ").map(j=>D(j,this.options)).join(" ").split(/\s+/).map(j=>se(j,this.options));_&&(N=N.filter(j=>(e("loose invalid filter",j,this.options),!!j.match(a[f.COMPARATORLOOSE])))),e("range list",N);let w=new Map,g=N.map(j=>new h(j,this.options));for(let j of g){if(T(j))return[j];w.set(j.value,j)}w.size>1&&w.has("")&&w.delete("");let x=[...w.values()];return t.set(L,x),x}intersects(c,L){if(!(c instanceof K))throw new TypeError("a Range is required");return this.set.some(R=>y(R,L)&&c.set.some(_=>y(_,L)&&R.every($=>_.every(N=>$.intersects(N,L)))))}test(c){if(!c)return!1;if(typeof c=="string")try{c=new v(c,this.options)}catch{return!1}for(let L=0;L<this.set.length;L++)if(ie(this.set[L],c,this.options))return!0;return!1}};o.exports=i;var n=ke(),t=new n,u=Ee(),h=ee(),e=Z(),v=q(),{safeRe:a,t:f,comparatorTrimReplace:s,tildeTrimReplace:p,caretTrimReplace:E}=z(),{FLAG_INCLUDE_PRERELEASE:l,FLAG_LOOSE:I}=Q(),T=d=>d.value==="<0.0.0-0",A=d=>d.value==="",y=(d,c)=>{let L=!0,R=d.slice(),_=R.pop();for(;L&&R.length;)L=R.every($=>_.intersects($,c)),_=R.pop();return L},D=(d,c)=>(e("comp",d,c),d=C(d,c),e("caret",d),d=b(d,c),e("tildes",d),d=S(d,c),e("xrange",d),d=te(d,c),e("stars",d),d),P=d=>!d||d.toLowerCase()==="x"||d==="*",b=(d,c)=>d.trim().split(/\s+/).map(L=>F(L,c)).join(" "),F=(d,c)=>{let L=c.loose?a[f.TILDELOOSE]:a[f.TILDE];return d.replace(L,(R,_,$,N,w)=>{e("tilde",d,R,_,$,N,w);let g;return P(_)?g="":P($)?g=`>=${_}.0.0 <${+_+1}.0.0-0`:P(N)?g=`>=${_}.${$}.0 <${_}.${+$+1}.0-0`:w?(e("replaceTilde pr",w),g=`>=${_}.${$}.${N}-${w} <${_}.${+$+1}.0-0`):g=`>=${_}.${$}.${N} <${_}.${+$+1}.0-0`,e("tilde return",g),g})},C=(d,c)=>d.trim().split(/\s+/).map(L=>G(L,c)).join(" "),G=(d,c)=>{e("caret",d,c);let L=c.loose?a[f.CARETLOOSE]:a[f.CARET],R=c.includePrerelease?"-0":"";return d.replace(L,(_,$,N,w,g)=>{e("caret",d,_,$,N,w,g);let x;return P($)?x="":P(N)?x=`>=${$}.0.0${R} <${+$+1}.0.0-0`:P(w)?$==="0"?x=`>=${$}.${N}.0${R} <${$}.${+N+1}.0-0`:x=`>=${$}.${N}.0${R} <${+$+1}.0.0-0`:g?(e("replaceCaret pr",g),$==="0"?N==="0"?x=`>=${$}.${N}.${w}-${g} <${$}.${N}.${+w+1}-0`:x=`>=${$}.${N}.${w}-${g} <${$}.${+N+1}.0-0`:x=`>=${$}.${N}.${w}-${g} <${+$+1}.0.0-0`):(e("no pr"),$==="0"?N==="0"?x=`>=${$}.${N}.${w}${R} <${$}.${N}.${+w+1}-0`:x=`>=${$}.${N}.${w}${R} <${$}.${+N+1}.0-0`:x=`>=${$}.${N}.${w} <${+$+1}.0.0-0`),e("caret return",x),x})},S=(d,c)=>(e("replaceXRanges",d,c),d.split(/\s+/).map(L=>B(L,c)).join(" ")),B=(d,c)=>{d=d.trim();let L=c.loose?a[f.XRANGELOOSE]:a[f.XRANGE];return d.replace(L,(R,_,$,N,w,g)=>{e("xRange",d,R,_,$,N,w,g);let x=P($),j=x||P(N),M=j||P(w),W=M;return _==="="&&W&&(_=""),g=c.includePrerelease?"-0":"",x?_===">"||_==="<"?R="<0.0.0-0":R="*":_&&W?(j&&(N=0),w=0,_===">"?(_=">=",j?($=+$+1,N=0,w=0):(N=+N+1,w=0)):_==="<="&&(_="<",j?$=+$+1:N=+N+1),_==="<"&&(g="-0"),R=`${_+$}.${N}.${w}${g}`):j?R=`>=${$}.0.0${g} <${+$+1}.0.0-0`:M&&(R=`>=${$}.${N}.0${g} <${$}.${+N+1}.0-0`),e("xRange return",R),R})},te=(d,c)=>(e("replaceStars",d,c),d.trim().replace(a[f.STAR],"")),se=(d,c)=>(e("replaceGTE0",d,c),d.trim().replace(a[c.includePrerelease?f.GTE0PRE:f.GTE0],"")),ae=d=>(c,L,R,_,$,N,w,g,x,j,M,W)=>(P(R)?L="":P(_)?L=`>=${R}.0.0${d?"-0":""}`:P($)?L=`>=${R}.${_}.0${d?"-0":""}`:N?L=`>=${L}`:L=`>=${L}${d?"-0":""}`,P(x)?g="":P(j)?g=`<${+x+1}.0.0-0`:P(M)?g=`<${x}.${+j+1}.0-0`:W?g=`<=${x}.${j}.${M}-${W}`:d?g=`<${x}.${j}.${+M+1}-0`:g=`<=${g}`,`${L} ${g}`.trim()),ie=(d,c,L)=>{for(let R=0;R<d.length;R++)if(!d[R].test(c))return!1;if(c.prerelease.length&&!L.includePrerelease){for(let R=0;R<d.length;R++)if(e(d[R].semver),d[R].semver!==h.ANY&&d[R].semver.prerelease.length>0){let _=d[R].semver;if(_.major===c.major&&_.minor===c.minor&&_.patch===c.patch)return!0}return!1}return!0}}}),ee=O({"../../node_modules/semver/classes/comparator.js"(m,o){var r=Symbol("SemVer ANY"),i=class le{static get ANY(){return r}constructor(s,p){if(p=n(p),s instanceof le){if(s.loose===!!p.loose)return s;s=s.value}s=s.trim().split(/\s+/).join(" "),e("comparator",s,p),this.options=p,this.loose=!!p.loose,this.parse(s),this.semver===r?this.value="":this.value=this.operator+this.semver.version,e("comp",this)}parse(s){let p=this.options.loose?t[u.COMPARATORLOOSE]:t[u.COMPARATOR],E=s.match(p);if(!E)throw new TypeError(`Invalid comparator: ${s}`);this.operator=E[1]!==void 0?E[1]:"",this.operator==="="&&(this.operator=""),E[2]?this.semver=new v(E[2],this.options.loose):this.semver=r}toString(){return this.value}test(s){if(e("Comparator.test",s,this.options.loose),this.semver===r||s===r)return!0;if(typeof s=="string")try{s=new v(s,this.options)}catch{return!1}return h(s,this.operator,this.semver,this.options)}intersects(s,p){if(!(s instanceof le))throw new TypeError("a Comparator is required");return this.operator===""?this.value===""?!0:new a(s.value,p).test(this.value):s.operator===""?s.value===""?!0:new a(this.value,p).test(s.semver):(p=n(p),p.includePrerelease&&(this.value==="<0.0.0-0"||s.value==="<0.0.0-0")||!p.includePrerelease&&(this.value.startsWith("<0.0.0")||s.value.startsWith("<0.0.0"))?!1:!!(this.operator.startsWith(">")&&s.operator.startsWith(">")||this.operator.startsWith("<")&&s.operator.startsWith("<")||this.semver.version===s.semver.version&&this.operator.includes("=")&&s.operator.includes("=")||h(this.semver,"<",s.semver,p)&&this.operator.startsWith(">")&&s.operator.startsWith("<")||h(this.semver,">",s.semver,p)&&this.operator.startsWith("<")&&s.operator.startsWith(">")))}};o.exports=i;var n=Ee(),{safeRe:t,t:u}=z(),h=Ne(),e=Z(),v=q(),a=U()}}),re=O({"../../node_modules/semver/functions/satisfies.js"(m,o){var r=U(),i=(n,t,u)=>{try{t=new r(t,u)}catch{return!1}return t.test(n)};o.exports=i}}),Me=O({"../../node_modules/semver/ranges/to-comparators.js"(m,o){var r=U(),i=(n,t)=>new r(n,t).set.map(u=>u.map(h=>h.value).join(" ").trim().split(" "));o.exports=i}}),He=O({"../../node_modules/semver/ranges/max-satisfying.js"(m,o){var r=q(),i=U(),n=(t,u,h)=>{let e=null,v=null,a=null;try{a=new i(u,h)}catch{return null}return t.forEach(f=>{a.test(f)&&(!e||v.compare(f)===-1)&&(e=f,v=new r(e,h))}),e};o.exports=n}}),Be=O({"../../node_modules/semver/ranges/min-satisfying.js"(m,o){var r=q(),i=U(),n=(t,u,h)=>{let e=null,v=null,a=null;try{a=new i(u,h)}catch{return null}return t.forEach(f=>{a.test(f)&&(!e||v.compare(f)===1)&&(e=f,v=new r(e,h))}),e};o.exports=n}}),We=O({"../../node_modules/semver/ranges/min-version.js"(m,o){var r=q(),i=U(),n=J(),t=(u,h)=>{u=new i(u,h);let e=new r("0.0.0");if(u.test(e)||(e=new r("0.0.0-0"),u.test(e)))return e;e=null;for(let v=0;v<u.set.length;++v){let a=u.set[v],f=null;a.forEach(s=>{let p=new r(s.semver.version);switch(s.operator){case">":p.prerelease.length===0?p.patch++:p.prerelease.push(0),p.raw=p.format();case"":case">=":(!f||n(p,f))&&(f=p);break;case"<":case"<=":break;default:throw new Error(`Unexpected operation: ${s.operator}`)}}),f&&(!e||n(e,f))&&(e=f)}return e&&u.test(e)?e:null};o.exports=t}}),Ye=O({"../../node_modules/semver/ranges/valid.js"(m,o){var r=U(),i=(n,t)=>{try{return new r(n,t).range||"*"}catch{return null}};o.exports=i}}),fe=O({"../../node_modules/semver/ranges/outside.js"(m,o){var r=q(),i=ee(),{ANY:n}=i,t=U(),u=re(),h=J(),e=ce(),v=ve(),a=he(),f=(s,p,E,l)=>{s=new r(s,l),p=new t(p,l);let I,T,A,y,D;switch(E){case">":I=h,T=v,A=e,y=">",D=">=";break;case"<":I=e,T=a,A=h,y="<",D="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(u(s,p,l))return!1;for(let P=0;P<p.set.length;++P){let b=p.set[P],F=null,C=null;if(b.forEach(G=>{G.semver===n&&(G=new i(">=0.0.0")),F=F||G,C=C||G,I(G.semver,F.semver,l)?F=G:A(G.semver,C.semver,l)&&(C=G)}),F.operator===y||F.operator===D||(!C.operator||C.operator===y)&&T(s,C.semver)||C.operator===D&&A(s,C.semver))return!1}return!0};o.exports=f}}),ze=O({"../../node_modules/semver/ranges/gtr.js"(m,o){var r=fe(),i=(n,t,u)=>r(n,t,">",u);o.exports=i}}),Ke=O({"../../node_modules/semver/ranges/ltr.js"(m,o){var r=fe(),i=(n,t,u)=>r(n,t,"<",u);o.exports=i}}),Qe=O({"../../node_modules/semver/ranges/intersects.js"(m,o){var r=U(),i=(n,t,u)=>(n=new r(n,u),t=new r(t,u),n.intersects(t,u));o.exports=i}}),Ze=O({"../../node_modules/semver/ranges/simplify.js"(m,o){var r=re(),i=V();o.exports=(n,t,u)=>{let h=[],e=null,v=null,a=n.sort((E,l)=>i(E,l,u));for(let E of a)r(E,t,u)?(v=E,e||(e=E)):(v&&h.push([e,v]),v=null,e=null);e&&h.push([e,null]);let f=[];for(let[E,l]of h)E===l?f.push(E):!l&&E===a[0]?f.push("*"):l?E===a[0]?f.push(`<=${l}`):f.push(`${E} - ${l}`):f.push(`>=${E}`);let s=f.join(" || "),p=typeof t.raw=="string"?t.raw:String(t);return s.length<p.length?s:t}}}),Je=O({"../../node_modules/semver/ranges/subset.js"(m,o){var r=U(),i=ee(),{ANY:n}=i,t=re(),u=V(),h=(p,E,l={})=>{if(p===E)return!0;p=new r(p,l),E=new r(E,l);let I=!1;e:for(let T of p.set){for(let A of E.set){let y=a(T,A,l);if(I=I||y!==null,y)continue e}if(I)return!1}return!0},e=[new i(">=0.0.0-0")],v=[new i(">=0.0.0")],a=(p,E,l)=>{if(p===E)return!0;if(p.length===1&&p[0].semver===n){if(E.length===1&&E[0].semver===n)return!0;l.includePrerelease?p=e:p=v}if(E.length===1&&E[0].semver===n){if(l.includePrerelease)return!0;E=v}let I=new Set,T,A;for(let S of p)S.operator===">"||S.operator===">="?T=f(T,S,l):S.operator==="<"||S.operator==="<="?A=s(A,S,l):I.add(S.semver);if(I.size>1)return null;let y;if(T&&A&&(y=u(T.semver,A.semver,l),y>0||y===0&&(T.operator!==">="||A.operator!=="<=")))return null;for(let S of I){if(T&&!t(S,String(T),l)||A&&!t(S,String(A),l))return null;for(let B of E)if(!t(S,String(B),l))return!1;return!0}let D,P,b,F,C=A&&!l.includePrerelease&&A.semver.prerelease.length?A.semver:!1,G=T&&!l.includePrerelease&&T.semver.prerelease.length?T.semver:!1;C&&C.prerelease.length===1&&A.operator==="<"&&C.prerelease[0]===0&&(C=!1);for(let S of E){if(F=F||S.operator===">"||S.operator===">=",b=b||S.operator==="<"||S.operator==="<=",T){if(G&&S.semver.prerelease&&S.semver.prerelease.length&&S.semver.major===G.major&&S.semver.minor===G.minor&&S.semver.patch===G.patch&&(G=!1),S.operator===">"||S.operator===">="){if(D=f(T,S,l),D===S&&D!==T)return!1}else if(T.operator===">="&&!t(T.semver,String(S),l))return!1}if(A){if(C&&S.semver.prerelease&&S.semver.prerelease.length&&S.semver.major===C.major&&S.semver.minor===C.minor&&S.semver.patch===C.patch&&(C=!1),S.operator==="<"||S.operator==="<="){if(P=s(A,S,l),P===S&&P!==A)return!1}else if(A.operator==="<="&&!t(A.semver,String(S),l))return!1}if(!S.operator&&(A||T)&&y!==0)return!1}return!(T&&b&&!A&&y!==0||A&&F&&!T&&y!==0||G||C)},f=(p,E,l)=>{if(!p)return E;let I=u(p.semver,E.semver,l);return I>0?p:I<0||E.operator===">"&&p.operator===">="?E:p},s=(p,E,l)=>{if(!p)return E;let I=u(p.semver,E.semver,l);return I<0?p:I>0||E.operator==="<"&&p.operator==="<="?E:p};o.exports=h}}),er=O({"../../node_modules/semver/index.js"(m,o){var r=z(),i=Q(),n=q(),t=Ie(),u=H(),h=xe(),e=je(),v=Pe(),a=Ce(),f=ye(),s=De(),p=Ge(),E=qe(),l=V(),I=Fe(),T=Ve(),A=me(),y=Ue(),D=Xe(),P=J(),b=ce(),F=Le(),C=_e(),G=he(),S=ve(),B=Ne(),te=be(),se=ee(),ae=U(),ie=re(),d=Me(),c=He(),L=Be(),R=We(),_=Ye(),$=fe(),N=ze(),w=Ke(),g=Qe(),x=Ze(),j=Je();o.exports={parse:u,valid:h,clean:e,inc:v,diff:a,major:f,minor:s,patch:p,prerelease:E,compare:l,rcompare:I,compareLoose:T,compareBuild:A,sort:y,rsort:D,gt:P,lt:b,eq:F,neq:C,gte:G,lte:S,cmp:B,coerce:te,Comparator:se,Range:ae,satisfies:ie,toComparators:d,maxSatisfying:c,minSatisfying:L,minVersion:R,validRange:_,outside:$,gtr:N,ltr:w,intersects:g,simplifyRange:x,subset:j,SemVer:n,re:r.re,src:r.src,tokens:r.t,SEMVER_SPEC_VERSION:i.SEMVER_SPEC_VERSION,RELEASE_TYPES:i.RELEASE_TYPES,compareIdentifiers:t.compareIdentifiers,rcompareIdentifiers:t.rcompareIdentifiers}}}),rr={};Te(rr,{beforeAll:()=>pr,decorators:()=>ur,mount:()=>or,parameters:()=>lr,render:()=>ar,renderToCanvas:()=>nr});var de=Ae(er()),tr={...ge};function Re(m){globalThis.IS_REACT_ACT_ENVIRONMENT=m}function sr(){return globalThis.IS_REACT_ACT_ENVIRONMENT}var Oe=async()=>{var m;if(typeof tr.act!="function"){let o=await pe(()=>import("./test-utils-906c0ddf.js").then(r=>r.t),["./test-utils-906c0ddf.js","./index-93f6b7ae.js","./index-03a57050.js"],import.meta.url);((m=o==null?void 0:o.default)==null?void 0:m.act)??o.act}return o=>o()},ar=(m,o)=>{let{id:r,component:i}=o;if(!i)throw new Error(`Unable to render story ${r} as the component annotation is missing from the default export`);return Y.createElement(i,{...m})},{FRAMEWORK_OPTIONS:ne}=we,ir=class extends k.Component{constructor(){super(...arguments),this.state={hasError:!1}}static getDerivedStateFromError(){return{hasError:!0}}componentDidMount(){let{hasError:m}=this.state,{showMain:o}=this.props;m||o()}componentDidCatch(m){let{showException:o}=this.props;o(m)}render(){let{hasError:m}=this.state,{children:o}=this.props;return m?null:o}},$e=ne!=null&&ne.strictMode?k.StrictMode:k.Fragment,ue=[],oe=!1,Se=async()=>{if(oe||ue.length===0)return;oe=!0;let m=ue.shift();m&&await m(),oe=!1,Se()};async function nr({storyContext:m,unboundStoryFn:o,showMain:r,showException:i,forceRemount:n},t){let{renderElement:u,unmountElement:h}=await pe(()=>import("./react-18-ff0899e5.js"),["./react-18-ff0899e5.js","./index-93f6b7ae.js","./index-03a57050.js"],import.meta.url),e=o,v=m.parameters.__isPortableStory?Y.createElement(e,{...m}):Y.createElement(ir,{showMain:r,showException:i},Y.createElement(e,{...m})),a=$e?Y.createElement($e,null,v):v;n&&h(t);let f=await Oe();return await new Promise(async(s,p)=>{ue.push(async()=>{try{await f(async()=>{var E,l;await u(a,t,(l=(E=m==null?void 0:m.parameters)==null?void 0:E.react)==null?void 0:l.rootOptions)}),s()}catch(E){p(E)}}),Se()}),async()=>{await f(()=>{h(t)})}}var or=m=>async o=>(o!=null&&(m.originalStoryFn=()=>o),await m.renderToCanvas(),m.canvas),lr={renderer:"react"},ur=[(m,o)=>{var n,t;if(!((t=(n=o.parameters)==null?void 0:n.react)!=null&&t.rsc))return m();let r=de.default.major(k.version),i=de.default.minor(k.version);if(r<18||r===18&&i<3)throw new Error("React Server Components require React >= 18.3");return k.createElement(k.Suspense,null,m())}],pr=async()=>{try{let{configure:m}=await pe(()=>import("./index-135b5535.js").then(r=>r.a),[],import.meta.url),o=await Oe();m({unstable_advanceTimersWrapper:r=>o(r),asyncWrapper:async r=>{let i=sr();Re(!1);try{let n=await r();return await new Promise(t=>{setTimeout(()=>{t()},0),Er()&&jest.advanceTimersByTime(0)}),n}finally{Re(i)}},eventWrapper:r=>{let i;return o(()=>(i=r(),i)),i}})}catch{}};function Er(){return typeof jest<"u"&&jest!==null?setTimeout._isMockFunction===!0||Object.prototype.hasOwnProperty.call(setTimeout,"clock"):!1}export{pr as beforeAll,ur as decorators,or as mount,lr as parameters,ar as render,nr as renderToCanvas}; diff --git a/docs/storybook/assets/entry-preview-docs-a923bc8c.js b/docs/storybook/assets/entry-preview-docs-a923bc8c.js deleted file mode 100644 index 66d5cf2..0000000 --- a/docs/storybook/assets/entry-preview-docs-a923bc8c.js +++ /dev/null @@ -1,46 +0,0 @@ -import{_ as Fr,a as rt,b as K,c as mu,d as Vn}from"./chunk-XP5HYGXS-8b50b325.js";import{n as Cu,c as gu,y as Eu,l as ee,Y as qn,g as Un,z as Fu,o as yu,j as Wn,a as mt,B as Bu}from"./index-ba5305b1.js";import{R as ft,r as Ge}from"./index-93f6b7ae.js";const{logger:xt}=__STORYBOOK_MODULE_CLIENT_LOGGER__,{defaultDecorateStory:xu,addons:vu,useEffect:_u}=__STORYBOOK_MODULE_PREVIEW_API__;var Su=K({"../../node_modules/prop-types/lib/ReactPropTypesSecret.js"(e,t){var n="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";t.exports=n}}),bu=K({"../../node_modules/prop-types/factoryWithThrowingShims.js"(e,t){var n=Su();function r(){}function i(){}i.resetWarningCache=r,t.exports=function(){function o(p,A,D,y,C,g){if(g!==n){var m=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw m.name="Invariant Violation",m}}o.isRequired=o;function s(){return o}var h={array:o,bigint:o,bool:o,func:o,number:o,object:o,string:o,symbol:o,any:o,arrayOf:s,element:o,elementType:o,instanceOf:s,node:o,objectOf:s,oneOf:s,oneOfType:s,shape:s,exact:s,checkPropTypes:i,resetWarningCache:r};return h.PropTypes=h,h}}}),wu=K({"../../node_modules/prop-types/index.js"(e,t){t.exports=bu()()}}),ku=K({"../../node_modules/html-tags/html-tags.json"(e,t){t.exports=["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","label","legend","li","link","main","map","mark","math","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rb","rp","rt","rtc","ruby","s","samp","script","search","section","select","slot","small","source","span","strong","style","sub","summary","sup","svg","table","tbody","td","template","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr"]}}),Iu=K({"../../node_modules/html-tags/index.js"(e,t){t.exports=ku()}}),Tu=K({"../../node_modules/estraverse/estraverse.js"(e){(function t(n){var r,i,o,s,h,p;function A(B){var F={},x,b;for(x in B)B.hasOwnProperty(x)&&(b=B[x],typeof b=="object"&&b!==null?F[x]=A(b):F[x]=b);return F}function D(B,F){var x,b,P,j;for(b=B.length,P=0;b;)x=b>>>1,j=P+x,F(B[j])?b=x:(P=j+1,b-=x+1);return P}r={AssignmentExpression:"AssignmentExpression",AssignmentPattern:"AssignmentPattern",ArrayExpression:"ArrayExpression",ArrayPattern:"ArrayPattern",ArrowFunctionExpression:"ArrowFunctionExpression",AwaitExpression:"AwaitExpression",BlockStatement:"BlockStatement",BinaryExpression:"BinaryExpression",BreakStatement:"BreakStatement",CallExpression:"CallExpression",CatchClause:"CatchClause",ChainExpression:"ChainExpression",ClassBody:"ClassBody",ClassDeclaration:"ClassDeclaration",ClassExpression:"ClassExpression",ComprehensionBlock:"ComprehensionBlock",ComprehensionExpression:"ComprehensionExpression",ConditionalExpression:"ConditionalExpression",ContinueStatement:"ContinueStatement",DebuggerStatement:"DebuggerStatement",DirectiveStatement:"DirectiveStatement",DoWhileStatement:"DoWhileStatement",EmptyStatement:"EmptyStatement",ExportAllDeclaration:"ExportAllDeclaration",ExportDefaultDeclaration:"ExportDefaultDeclaration",ExportNamedDeclaration:"ExportNamedDeclaration",ExportSpecifier:"ExportSpecifier",ExpressionStatement:"ExpressionStatement",ForStatement:"ForStatement",ForInStatement:"ForInStatement",ForOfStatement:"ForOfStatement",FunctionDeclaration:"FunctionDeclaration",FunctionExpression:"FunctionExpression",GeneratorExpression:"GeneratorExpression",Identifier:"Identifier",IfStatement:"IfStatement",ImportExpression:"ImportExpression",ImportDeclaration:"ImportDeclaration",ImportDefaultSpecifier:"ImportDefaultSpecifier",ImportNamespaceSpecifier:"ImportNamespaceSpecifier",ImportSpecifier:"ImportSpecifier",Literal:"Literal",LabeledStatement:"LabeledStatement",LogicalExpression:"LogicalExpression",MemberExpression:"MemberExpression",MetaProperty:"MetaProperty",MethodDefinition:"MethodDefinition",ModuleSpecifier:"ModuleSpecifier",NewExpression:"NewExpression",ObjectExpression:"ObjectExpression",ObjectPattern:"ObjectPattern",PrivateIdentifier:"PrivateIdentifier",Program:"Program",Property:"Property",PropertyDefinition:"PropertyDefinition",RestElement:"RestElement",ReturnStatement:"ReturnStatement",SequenceExpression:"SequenceExpression",SpreadElement:"SpreadElement",Super:"Super",SwitchStatement:"SwitchStatement",SwitchCase:"SwitchCase",TaggedTemplateExpression:"TaggedTemplateExpression",TemplateElement:"TemplateElement",TemplateLiteral:"TemplateLiteral",ThisExpression:"ThisExpression",ThrowStatement:"ThrowStatement",TryStatement:"TryStatement",UnaryExpression:"UnaryExpression",UpdateExpression:"UpdateExpression",VariableDeclaration:"VariableDeclaration",VariableDeclarator:"VariableDeclarator",WhileStatement:"WhileStatement",WithStatement:"WithStatement",YieldExpression:"YieldExpression"},o={AssignmentExpression:["left","right"],AssignmentPattern:["left","right"],ArrayExpression:["elements"],ArrayPattern:["elements"],ArrowFunctionExpression:["params","body"],AwaitExpression:["argument"],BlockStatement:["body"],BinaryExpression:["left","right"],BreakStatement:["label"],CallExpression:["callee","arguments"],CatchClause:["param","body"],ChainExpression:["expression"],ClassBody:["body"],ClassDeclaration:["id","superClass","body"],ClassExpression:["id","superClass","body"],ComprehensionBlock:["left","right"],ComprehensionExpression:["blocks","filter","body"],ConditionalExpression:["test","consequent","alternate"],ContinueStatement:["label"],DebuggerStatement:[],DirectiveStatement:[],DoWhileStatement:["body","test"],EmptyStatement:[],ExportAllDeclaration:["source"],ExportDefaultDeclaration:["declaration"],ExportNamedDeclaration:["declaration","specifiers","source"],ExportSpecifier:["exported","local"],ExpressionStatement:["expression"],ForStatement:["init","test","update","body"],ForInStatement:["left","right","body"],ForOfStatement:["left","right","body"],FunctionDeclaration:["id","params","body"],FunctionExpression:["id","params","body"],GeneratorExpression:["blocks","filter","body"],Identifier:[],IfStatement:["test","consequent","alternate"],ImportExpression:["source"],ImportDeclaration:["specifiers","source"],ImportDefaultSpecifier:["local"],ImportNamespaceSpecifier:["local"],ImportSpecifier:["imported","local"],Literal:[],LabeledStatement:["label","body"],LogicalExpression:["left","right"],MemberExpression:["object","property"],MetaProperty:["meta","property"],MethodDefinition:["key","value"],ModuleSpecifier:[],NewExpression:["callee","arguments"],ObjectExpression:["properties"],ObjectPattern:["properties"],PrivateIdentifier:[],Program:["body"],Property:["key","value"],PropertyDefinition:["key","value"],RestElement:["argument"],ReturnStatement:["argument"],SequenceExpression:["expressions"],SpreadElement:["argument"],Super:[],SwitchStatement:["discriminant","cases"],SwitchCase:["test","consequent"],TaggedTemplateExpression:["tag","quasi"],TemplateElement:[],TemplateLiteral:["quasis","expressions"],ThisExpression:[],ThrowStatement:["argument"],TryStatement:["block","handler","finalizer"],UnaryExpression:["argument"],UpdateExpression:["argument"],VariableDeclaration:["declarations"],VariableDeclarator:["id","init"],WhileStatement:["test","body"],WithStatement:["object","body"],YieldExpression:["argument"]},s={},h={},p={},i={Break:s,Skip:h,Remove:p};function y(B,F){this.parent=B,this.key=F}y.prototype.replace=function(B){this.parent[this.key]=B},y.prototype.remove=function(){return Array.isArray(this.parent)?(this.parent.splice(this.key,1),!0):(this.replace(null),!1)};function C(B,F,x,b){this.node=B,this.path=F,this.wrap=x,this.ref=b}function g(){}g.prototype.path=function(){var B,F,x,b,P,j;function M(V,U){if(Array.isArray(U))for(x=0,b=U.length;x<b;++x)V.push(U[x]);else V.push(U)}if(!this.__current.path)return null;for(P=[],B=2,F=this.__leavelist.length;B<F;++B)j=this.__leavelist[B],M(P,j.path);return M(P,this.__current.path),P},g.prototype.type=function(){var B=this.current();return B.type||this.__current.wrap},g.prototype.parents=function(){var B,F,x;for(x=[],B=1,F=this.__leavelist.length;B<F;++B)x.push(this.__leavelist[B].node);return x},g.prototype.current=function(){return this.__current.node},g.prototype.__execute=function(B,F){var x,b;return b=void 0,x=this.__current,this.__current=F,this.__state=null,B&&(b=B.call(this,F.node,this.__leavelist[this.__leavelist.length-1].node)),this.__current=x,b},g.prototype.notify=function(B){this.__state=B},g.prototype.skip=function(){this.notify(h)},g.prototype.break=function(){this.notify(s)},g.prototype.remove=function(){this.notify(p)},g.prototype.__initialize=function(B,F){this.visitor=F,this.root=B,this.__worklist=[],this.__leavelist=[],this.__current=null,this.__state=null,this.__fallback=null,F.fallback==="iteration"?this.__fallback=Object.keys:typeof F.fallback=="function"&&(this.__fallback=F.fallback),this.__keys=o,F.keys&&(this.__keys=Object.assign(Object.create(this.__keys),F.keys))};function m(B){return B==null?!1:typeof B=="object"&&typeof B.type=="string"}function E(B,F){return(B===r.ObjectExpression||B===r.ObjectPattern)&&F==="properties"}function w(B,F){for(var x=B.length-1;x>=0;--x)if(B[x].node===F)return!0;return!1}g.prototype.traverse=function(B,F){var x,b,P,j,M,V,U,H,re,ie,se,Z;for(this.__initialize(B,F),Z={},x=this.__worklist,b=this.__leavelist,x.push(new C(B,null,null,null)),b.push(new C(null,null,null,null));x.length;){if(P=x.pop(),P===Z){if(P=b.pop(),V=this.__execute(F.leave,P),this.__state===s||V===s)return;continue}if(P.node){if(V=this.__execute(F.enter,P),this.__state===s||V===s)return;if(x.push(Z),b.push(P),this.__state===h||V===h)continue;if(j=P.node,M=j.type||P.wrap,ie=this.__keys[M],!ie)if(this.__fallback)ie=this.__fallback(j);else throw new Error("Unknown node type "+M+".");for(H=ie.length;(H-=1)>=0;)if(U=ie[H],se=j[U],!!se){if(Array.isArray(se)){for(re=se.length;(re-=1)>=0;)if(se[re]&&!w(b,se[re])){if(E(M,ie[H]))P=new C(se[re],[U,re],"Property",null);else if(m(se[re]))P=new C(se[re],[U,re],null,null);else continue;x.push(P)}}else if(m(se)){if(w(b,se))continue;x.push(new C(se,U,null,null))}}}}},g.prototype.replace=function(B,F){var x,b,P,j,M,V,U,H,re,ie,se,Z,we;function it(Re){var R,Je,je,st;if(Re.ref.remove()){for(Je=Re.ref.key,st=Re.ref.parent,R=x.length;R--;)if(je=x[R],je.ref&&je.ref.parent===st){if(je.ref.key<Je)break;--je.ref.key}}}for(this.__initialize(B,F),se={},x=this.__worklist,b=this.__leavelist,Z={root:B},V=new C(B,null,null,new y(Z,"root")),x.push(V),b.push(V);x.length;){if(V=x.pop(),V===se){if(V=b.pop(),M=this.__execute(F.leave,V),M!==void 0&&M!==s&&M!==h&&M!==p&&V.ref.replace(M),(this.__state===p||M===p)&&it(V),this.__state===s||M===s)return Z.root;continue}if(M=this.__execute(F.enter,V),M!==void 0&&M!==s&&M!==h&&M!==p&&(V.ref.replace(M),V.node=M),(this.__state===p||M===p)&&(it(V),V.node=null),this.__state===s||M===s)return Z.root;if(P=V.node,!!P&&(x.push(se),b.push(V),!(this.__state===h||M===h))){if(j=P.type||V.wrap,re=this.__keys[j],!re)if(this.__fallback)re=this.__fallback(P);else throw new Error("Unknown node type "+j+".");for(U=re.length;(U-=1)>=0;)if(we=re[U],ie=P[we],!!ie)if(Array.isArray(ie)){for(H=ie.length;(H-=1)>=0;)if(ie[H]){if(E(j,re[U]))V=new C(ie[H],[we,H],"Property",new y(ie,H));else if(m(ie[H]))V=new C(ie[H],[we,H],null,new y(ie,H));else continue;x.push(V)}}else m(ie)&&x.push(new C(ie,we,null,new y(P,we)))}}return Z.root};function S(B,F){var x=new g;return x.traverse(B,F)}function _(B,F){var x=new g;return x.replace(B,F)}function L(B,F){var x;return x=D(F,function(b){return b.range[0]>B.range[0]}),B.extendedRange=[B.range[0],B.range[1]],x!==F.length&&(B.extendedRange[1]=F[x].range[0]),x-=1,x>=0&&(B.extendedRange[0]=F[x].range[1]),B}function v(B,F,x){var b=[],P,j,M,V;if(!B.range)throw new Error("attachComments needs range information");if(!x.length){if(F.length){for(M=0,j=F.length;M<j;M+=1)P=A(F[M]),P.extendedRange=[0,B.range[0]],b.push(P);B.leadingComments=b}return B}for(M=0,j=F.length;M<j;M+=1)b.push(L(A(F[M]),x));return V=0,S(B,{enter:function(U){for(var H;V<b.length&&(H=b[V],!(H.extendedRange[1]>U.range[0]));)H.extendedRange[1]===U.range[0]?(U.leadingComments||(U.leadingComments=[]),U.leadingComments.push(H),b.splice(V,1)):V+=1;if(V===b.length)return i.Break;if(b[V].extendedRange[0]>U.range[1])return i.Skip}}),V=0,S(B,{leave:function(U){for(var H;V<b.length&&(H=b[V],!(U.range[1]<H.extendedRange[0]));)U.range[1]===H.extendedRange[0]?(U.trailingComments||(U.trailingComments=[]),U.trailingComments.push(H),b.splice(V,1)):V+=1;if(V===b.length)return i.Break;if(b[V].extendedRange[0]>U.range[1])return i.Skip}}),B}return n.Syntax=r,n.traverse=S,n.replace=_,n.attachComments=v,n.VisitorKeys=o,n.VisitorOption=i,n.Controller=g,n.cloneEnvironment=function(){return t({})},n})(e)}}),Pu=K({"../../node_modules/esutils/lib/ast.js"(e,t){(function(){function n(p){if(p==null)return!1;switch(p.type){case"ArrayExpression":case"AssignmentExpression":case"BinaryExpression":case"CallExpression":case"ConditionalExpression":case"FunctionExpression":case"Identifier":case"Literal":case"LogicalExpression":case"MemberExpression":case"NewExpression":case"ObjectExpression":case"SequenceExpression":case"ThisExpression":case"UnaryExpression":case"UpdateExpression":return!0}return!1}function r(p){if(p==null)return!1;switch(p.type){case"DoWhileStatement":case"ForInStatement":case"ForStatement":case"WhileStatement":return!0}return!1}function i(p){if(p==null)return!1;switch(p.type){case"BlockStatement":case"BreakStatement":case"ContinueStatement":case"DebuggerStatement":case"DoWhileStatement":case"EmptyStatement":case"ExpressionStatement":case"ForInStatement":case"ForStatement":case"IfStatement":case"LabeledStatement":case"ReturnStatement":case"SwitchStatement":case"ThrowStatement":case"TryStatement":case"VariableDeclaration":case"WhileStatement":case"WithStatement":return!0}return!1}function o(p){return i(p)||p!=null&&p.type==="FunctionDeclaration"}function s(p){switch(p.type){case"IfStatement":return p.alternate!=null?p.alternate:p.consequent;case"LabeledStatement":case"ForStatement":case"ForInStatement":case"WhileStatement":case"WithStatement":return p.body}return null}function h(p){var A;if(p.type!=="IfStatement"||p.alternate==null)return!1;A=p.consequent;do{if(A.type==="IfStatement"&&A.alternate==null)return!0;A=s(A)}while(A);return!1}t.exports={isExpression:n,isStatement:i,isIterationStatement:r,isSourceElement:o,isProblematicIfStatement:h,trailingStatement:s}})()}}),yr=K({"../../node_modules/esutils/lib/code.js"(e,t){(function(){var n,r,i,o,s,h;r={NonAsciiIdentifierStart:/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0-\u08B4\u08B6-\u08BD\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]/,NonAsciiIdentifierPart:/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05F0-\u05F2\u0610-\u061A\u0620-\u0669\u066E-\u06D3\u06D5-\u06DC\u06DF-\u06E8\u06EA-\u06FC\u06FF\u0710-\u074A\u074D-\u07B1\u07C0-\u07F5\u07FA\u0800-\u082D\u0840-\u085B\u08A0-\u08B4\u08B6-\u08BD\u08D4-\u08E1\u08E3-\u0963\u0966-\u096F\u0971-\u0983\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BC-\u09C4\u09C7\u09C8\u09CB-\u09CE\u09D7\u09DC\u09DD\u09DF-\u09E3\u09E6-\u09F1\u0A01-\u0A03\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A59-\u0A5C\u0A5E\u0A66-\u0A75\u0A81-\u0A83\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABC-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AD0\u0AE0-\u0AE3\u0AE6-\u0AEF\u0AF9\u0B01-\u0B03\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3C-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B5C\u0B5D\u0B5F-\u0B63\u0B66-\u0B6F\u0B71\u0B82\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD0\u0BD7\u0BE6-\u0BEF\u0C00-\u0C03\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C58-\u0C5A\u0C60-\u0C63\u0C66-\u0C6F\u0C80-\u0C83\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBC-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CDE\u0CE0-\u0CE3\u0CE6-\u0CEF\u0CF1\u0CF2\u0D01-\u0D03\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D-\u0D44\u0D46-\u0D48\u0D4A-\u0D4E\u0D54-\u0D57\u0D5F-\u0D63\u0D66-\u0D6F\u0D7A-\u0D7F\u0D82\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E01-\u0E3A\u0E40-\u0E4E\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB9\u0EBB-\u0EBD\u0EC0-\u0EC4\u0EC6\u0EC8-\u0ECD\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E-\u0F47\u0F49-\u0F6C\u0F71-\u0F84\u0F86-\u0F97\u0F99-\u0FBC\u0FC6\u1000-\u1049\u1050-\u109D\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u135D-\u135F\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1714\u1720-\u1734\u1740-\u1753\u1760-\u176C\u176E-\u1770\u1772\u1773\u1780-\u17D3\u17D7\u17DC\u17DD\u17E0-\u17E9\u180B-\u180D\u1810-\u1819\u1820-\u1877\u1880-\u18AA\u18B0-\u18F5\u1900-\u191E\u1920-\u192B\u1930-\u193B\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19D9\u1A00-\u1A1B\u1A20-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AA7\u1AB0-\u1ABD\u1B00-\u1B4B\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1BF3\u1C00-\u1C37\u1C40-\u1C49\u1C4D-\u1C7D\u1C80-\u1C88\u1CD0-\u1CD2\u1CD4-\u1CF6\u1CF8\u1CF9\u1D00-\u1DF5\u1DFB-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u200C\u200D\u203F\u2040\u2054\u2071\u207F\u2090-\u209C\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D7F-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2DE0-\u2DFF\u2E2F\u3005-\u3007\u3021-\u302F\u3031-\u3035\u3038-\u303C\u3041-\u3096\u3099\u309A\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66F\uA674-\uA67D\uA67F-\uA6F1\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA827\uA840-\uA873\uA880-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F7\uA8FB\uA8FD\uA900-\uA92D\uA930-\uA953\uA960-\uA97C\uA980-\uA9C0\uA9CF-\uA9D9\uA9E0-\uA9FE\uAA00-\uAA36\uAA40-\uAA4D\uAA50-\uAA59\uAA60-\uAA76\uAA7A-\uAAC2\uAADB-\uAADD\uAAE0-\uAAEF\uAAF2-\uAAF6\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABEA\uABEC\uABED\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF3F\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]/},n={NonAsciiIdentifierStart:/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0-\u08B4\u08B6-\u08BD\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309B-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF30-\uDF4A\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC03-\uDC37\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDF00-\uDF19]|\uD806[\uDCA0-\uDCDF\uDCFF\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC72-\uDC8F]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50\uDF93-\uDF9F\uDFE0]|\uD821[\uDC00-\uDFEC]|\uD822[\uDC00-\uDEF2]|\uD82C[\uDC00\uDC01]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD83A[\uDC00-\uDCC4\uDD00-\uDD43]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1]|\uD87E[\uDC00-\uDE1D]/,NonAsciiIdentifierPart:/[\xAA\xB5\xB7\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05F0-\u05F2\u0610-\u061A\u0620-\u0669\u066E-\u06D3\u06D5-\u06DC\u06DF-\u06E8\u06EA-\u06FC\u06FF\u0710-\u074A\u074D-\u07B1\u07C0-\u07F5\u07FA\u0800-\u082D\u0840-\u085B\u08A0-\u08B4\u08B6-\u08BD\u08D4-\u08E1\u08E3-\u0963\u0966-\u096F\u0971-\u0983\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BC-\u09C4\u09C7\u09C8\u09CB-\u09CE\u09D7\u09DC\u09DD\u09DF-\u09E3\u09E6-\u09F1\u0A01-\u0A03\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A59-\u0A5C\u0A5E\u0A66-\u0A75\u0A81-\u0A83\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABC-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AD0\u0AE0-\u0AE3\u0AE6-\u0AEF\u0AF9\u0B01-\u0B03\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3C-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B5C\u0B5D\u0B5F-\u0B63\u0B66-\u0B6F\u0B71\u0B82\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD0\u0BD7\u0BE6-\u0BEF\u0C00-\u0C03\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C58-\u0C5A\u0C60-\u0C63\u0C66-\u0C6F\u0C80-\u0C83\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBC-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CDE\u0CE0-\u0CE3\u0CE6-\u0CEF\u0CF1\u0CF2\u0D01-\u0D03\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D-\u0D44\u0D46-\u0D48\u0D4A-\u0D4E\u0D54-\u0D57\u0D5F-\u0D63\u0D66-\u0D6F\u0D7A-\u0D7F\u0D82\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E01-\u0E3A\u0E40-\u0E4E\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB9\u0EBB-\u0EBD\u0EC0-\u0EC4\u0EC6\u0EC8-\u0ECD\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E-\u0F47\u0F49-\u0F6C\u0F71-\u0F84\u0F86-\u0F97\u0F99-\u0FBC\u0FC6\u1000-\u1049\u1050-\u109D\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u135D-\u135F\u1369-\u1371\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1714\u1720-\u1734\u1740-\u1753\u1760-\u176C\u176E-\u1770\u1772\u1773\u1780-\u17D3\u17D7\u17DC\u17DD\u17E0-\u17E9\u180B-\u180D\u1810-\u1819\u1820-\u1877\u1880-\u18AA\u18B0-\u18F5\u1900-\u191E\u1920-\u192B\u1930-\u193B\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19DA\u1A00-\u1A1B\u1A20-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AA7\u1AB0-\u1ABD\u1B00-\u1B4B\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1BF3\u1C00-\u1C37\u1C40-\u1C49\u1C4D-\u1C7D\u1C80-\u1C88\u1CD0-\u1CD2\u1CD4-\u1CF6\u1CF8\u1CF9\u1D00-\u1DF5\u1DFB-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u200C\u200D\u203F\u2040\u2054\u2071\u207F\u2090-\u209C\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D7F-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2DE0-\u2DFF\u3005-\u3007\u3021-\u302F\u3031-\u3035\u3038-\u303C\u3041-\u3096\u3099-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66F\uA674-\uA67D\uA67F-\uA6F1\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA827\uA840-\uA873\uA880-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F7\uA8FB\uA8FD\uA900-\uA92D\uA930-\uA953\uA960-\uA97C\uA980-\uA9C0\uA9CF-\uA9D9\uA9E0-\uA9FE\uAA00-\uAA36\uAA40-\uAA4D\uAA50-\uAA59\uAA60-\uAA76\uAA7A-\uAAC2\uAADB-\uAADD\uAAE0-\uAAEF\uAAF2-\uAAF6\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABEA\uABEC\uABED\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF3F\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDDFD\uDE80-\uDE9C\uDEA0-\uDED0\uDEE0\uDF00-\uDF1F\uDF30-\uDF4A\uDF50-\uDF7A\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCA0-\uDCA9\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00-\uDE03\uDE05\uDE06\uDE0C-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE38-\uDE3A\uDE3F\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE6\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC00-\uDC46\uDC66-\uDC6F\uDC7F-\uDCBA\uDCD0-\uDCE8\uDCF0-\uDCF9\uDD00-\uDD34\uDD36-\uDD3F\uDD50-\uDD73\uDD76\uDD80-\uDDC4\uDDCA-\uDDCC\uDDD0-\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE37\uDE3E\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEEA\uDEF0-\uDEF9\uDF00-\uDF03\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3C-\uDF44\uDF47\uDF48\uDF4B-\uDF4D\uDF50\uDF57\uDF5D-\uDF63\uDF66-\uDF6C\uDF70-\uDF74]|\uD805[\uDC00-\uDC4A\uDC50-\uDC59\uDC80-\uDCC5\uDCC7\uDCD0-\uDCD9\uDD80-\uDDB5\uDDB8-\uDDC0\uDDD8-\uDDDD\uDE00-\uDE40\uDE44\uDE50-\uDE59\uDE80-\uDEB7\uDEC0-\uDEC9\uDF00-\uDF19\uDF1D-\uDF2B\uDF30-\uDF39]|\uD806[\uDCA0-\uDCE9\uDCFF\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC36\uDC38-\uDC40\uDC50-\uDC59\uDC72-\uDC8F\uDC92-\uDCA7\uDCA9-\uDCB6]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE60-\uDE69\uDED0-\uDEED\uDEF0-\uDEF4\uDF00-\uDF36\uDF40-\uDF43\uDF50-\uDF59\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50-\uDF7E\uDF8F-\uDF9F\uDFE0]|\uD821[\uDC00-\uDFEC]|\uD822[\uDC00-\uDEF2]|\uD82C[\uDC00\uDC01]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99\uDC9D\uDC9E]|\uD834[\uDD65-\uDD69\uDD6D-\uDD72\uDD7B-\uDD82\uDD85-\uDD8B\uDDAA-\uDDAD\uDE42-\uDE44]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB\uDFCE-\uDFFF]|\uD836[\uDE00-\uDE36\uDE3B-\uDE6C\uDE75\uDE84\uDE9B-\uDE9F\uDEA1-\uDEAF]|\uD838[\uDC00-\uDC06\uDC08-\uDC18\uDC1B-\uDC21\uDC23\uDC24\uDC26-\uDC2A]|\uD83A[\uDC00-\uDCC4\uDCD0-\uDCD6\uDD00-\uDD4A\uDD50-\uDD59]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1]|\uD87E[\uDC00-\uDE1D]|\uDB40[\uDD00-\uDDEF]/};function p(_){return 48<=_&&_<=57}function A(_){return 48<=_&&_<=57||97<=_&&_<=102||65<=_&&_<=70}function D(_){return _>=48&&_<=55}i=[5760,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8239,8287,12288,65279];function y(_){return _===32||_===9||_===11||_===12||_===160||_>=5760&&i.indexOf(_)>=0}function C(_){return _===10||_===13||_===8232||_===8233}function g(_){if(_<=65535)return String.fromCharCode(_);var L=String.fromCharCode(Math.floor((_-65536)/1024)+55296),v=String.fromCharCode((_-65536)%1024+56320);return L+v}for(o=new Array(128),h=0;h<128;++h)o[h]=h>=97&&h<=122||h>=65&&h<=90||h===36||h===95;for(s=new Array(128),h=0;h<128;++h)s[h]=h>=97&&h<=122||h>=65&&h<=90||h>=48&&h<=57||h===36||h===95;function m(_){return _<128?o[_]:r.NonAsciiIdentifierStart.test(g(_))}function E(_){return _<128?s[_]:r.NonAsciiIdentifierPart.test(g(_))}function w(_){return _<128?o[_]:n.NonAsciiIdentifierStart.test(g(_))}function S(_){return _<128?s[_]:n.NonAsciiIdentifierPart.test(g(_))}t.exports={isDecimalDigit:p,isHexDigit:A,isOctalDigit:D,isWhiteSpace:y,isLineTerminator:C,isIdentifierStartES5:m,isIdentifierPartES5:E,isIdentifierStartES6:w,isIdentifierPartES6:S}})()}}),Nu=K({"../../node_modules/esutils/lib/keyword.js"(e,t){(function(){var n=yr();function r(m){switch(m){case"implements":case"interface":case"package":case"private":case"protected":case"public":case"static":case"let":return!0;default:return!1}}function i(m,E){return!E&&m==="yield"?!1:o(m,E)}function o(m,E){if(E&&r(m))return!0;switch(m.length){case 2:return m==="if"||m==="in"||m==="do";case 3:return m==="var"||m==="for"||m==="new"||m==="try";case 4:return m==="this"||m==="else"||m==="case"||m==="void"||m==="with"||m==="enum";case 5:return m==="while"||m==="break"||m==="catch"||m==="throw"||m==="const"||m==="yield"||m==="class"||m==="super";case 6:return m==="return"||m==="typeof"||m==="delete"||m==="switch"||m==="export"||m==="import";case 7:return m==="default"||m==="finally"||m==="extends";case 8:return m==="function"||m==="continue"||m==="debugger";case 10:return m==="instanceof";default:return!1}}function s(m,E){return m==="null"||m==="true"||m==="false"||i(m,E)}function h(m,E){return m==="null"||m==="true"||m==="false"||o(m,E)}function p(m){return m==="eval"||m==="arguments"}function A(m){var E,w,S;if(m.length===0||(S=m.charCodeAt(0),!n.isIdentifierStartES5(S)))return!1;for(E=1,w=m.length;E<w;++E)if(S=m.charCodeAt(E),!n.isIdentifierPartES5(S))return!1;return!0}function D(m,E){return(m-55296)*1024+(E-56320)+65536}function y(m){var E,w,S,_,L;if(m.length===0)return!1;for(L=n.isIdentifierStartES6,E=0,w=m.length;E<w;++E){if(S=m.charCodeAt(E),55296<=S&&S<=56319){if(++E,E>=w||(_=m.charCodeAt(E),!(56320<=_&&_<=57343)))return!1;S=D(S,_)}if(!L(S))return!1;L=n.isIdentifierPartES6}return!0}function C(m,E){return A(m)&&!s(m,E)}function g(m,E){return y(m)&&!h(m,E)}t.exports={isKeywordES5:i,isKeywordES6:o,isReservedWordES5:s,isReservedWordES6:h,isRestrictedWord:p,isIdentifierNameES5:A,isIdentifierNameES6:y,isIdentifierES5:C,isIdentifierES6:g}})()}}),Lu=K({"../../node_modules/esutils/lib/utils.js"(e){(function(){e.ast=Pu(),e.code=yr(),e.keyword=Nu()})()}}),Ou=K({"../../node_modules/escodegen/node_modules/source-map/lib/base64.js"(e){var t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split("");e.encode=function(n){if(0<=n&&n<t.length)return t[n];throw new TypeError("Must be between 0 and 63: "+n)},e.decode=function(n){var r=65,i=90,o=97,s=122,h=48,p=57,A=43,D=47,y=26,C=52;return r<=n&&n<=i?n-r:o<=n&&n<=s?n-o+y:h<=n&&n<=p?n-h+C:n==A?62:n==D?63:-1}}}),Br=K({"../../node_modules/escodegen/node_modules/source-map/lib/base64-vlq.js"(e){var t=Ou(),n=5,r=1<<n,i=r-1,o=r;function s(p){return p<0?(-p<<1)+1:(p<<1)+0}function h(p){var A=(p&1)===1,D=p>>1;return A?-D:D}e.encode=function(p){var A="",D,y=s(p);do D=y&i,y>>>=n,y>0&&(D|=o),A+=t.encode(D);while(y>0);return A},e.decode=function(p,A,D){var y=p.length,C=0,g=0,m,E;do{if(A>=y)throw new Error("Expected more digits in base 64 VLQ value.");if(E=t.decode(p.charCodeAt(A++)),E===-1)throw new Error("Invalid base64 digit: "+p.charAt(A-1));m=!!(E&o),E&=i,C=C+(E<<g),g+=n}while(m);D.value=h(C),D.rest=A}}}),Ct=K({"../../node_modules/escodegen/node_modules/source-map/lib/util.js"(e){function t(v,B,F){if(B in v)return v[B];if(arguments.length===3)return F;throw new Error('"'+B+'" is a required argument.')}e.getArg=t;var n=/^(?:([\w+\-.]+):)?\/\/(?:(\w+:\w+)@)?([\w.-]*)(?::(\d+))?(.*)$/,r=/^data:.+\,.+$/;function i(v){var B=v.match(n);return B?{scheme:B[1],auth:B[2],host:B[3],port:B[4],path:B[5]}:null}e.urlParse=i;function o(v){var B="";return v.scheme&&(B+=v.scheme+":"),B+="//",v.auth&&(B+=v.auth+"@"),v.host&&(B+=v.host),v.port&&(B+=":"+v.port),v.path&&(B+=v.path),B}e.urlGenerate=o;function s(v){var B=v,F=i(v);if(F){if(!F.path)return v;B=F.path}for(var x=e.isAbsolute(B),b=B.split(/\/+/),P,j=0,M=b.length-1;M>=0;M--)P=b[M],P==="."?b.splice(M,1):P===".."?j++:j>0&&(P===""?(b.splice(M+1,j),j=0):(b.splice(M,2),j--));return B=b.join("/"),B===""&&(B=x?"/":"."),F?(F.path=B,o(F)):B}e.normalize=s;function h(v,B){v===""&&(v="."),B===""&&(B=".");var F=i(B),x=i(v);if(x&&(v=x.path||"/"),F&&!F.scheme)return x&&(F.scheme=x.scheme),o(F);if(F||B.match(r))return B;if(x&&!x.host&&!x.path)return x.host=B,o(x);var b=B.charAt(0)==="/"?B:s(v.replace(/\/+$/,"")+"/"+B);return x?(x.path=b,o(x)):b}e.join=h,e.isAbsolute=function(v){return v.charAt(0)==="/"||n.test(v)};function p(v,B){v===""&&(v="."),v=v.replace(/\/$/,"");for(var F=0;B.indexOf(v+"/")!==0;){var x=v.lastIndexOf("/");if(x<0||(v=v.slice(0,x),v.match(/^([^\/]+:\/)?\/*$/)))return B;++F}return Array(F+1).join("../")+B.substr(v.length+1)}e.relative=p;var A=function(){var v=Object.create(null);return!("__proto__"in v)}();function D(v){return v}function y(v){return g(v)?"$"+v:v}e.toSetString=A?D:y;function C(v){return g(v)?v.slice(1):v}e.fromSetString=A?D:C;function g(v){if(!v)return!1;var B=v.length;if(B<9||v.charCodeAt(B-1)!==95||v.charCodeAt(B-2)!==95||v.charCodeAt(B-3)!==111||v.charCodeAt(B-4)!==116||v.charCodeAt(B-5)!==111||v.charCodeAt(B-6)!==114||v.charCodeAt(B-7)!==112||v.charCodeAt(B-8)!==95||v.charCodeAt(B-9)!==95)return!1;for(var F=B-10;F>=0;F--)if(v.charCodeAt(F)!==36)return!1;return!0}function m(v,B,F){var x=w(v.source,B.source);return x!==0||(x=v.originalLine-B.originalLine,x!==0)||(x=v.originalColumn-B.originalColumn,x!==0||F)||(x=v.generatedColumn-B.generatedColumn,x!==0)||(x=v.generatedLine-B.generatedLine,x!==0)?x:w(v.name,B.name)}e.compareByOriginalPositions=m;function E(v,B,F){var x=v.generatedLine-B.generatedLine;return x!==0||(x=v.generatedColumn-B.generatedColumn,x!==0||F)||(x=w(v.source,B.source),x!==0)||(x=v.originalLine-B.originalLine,x!==0)||(x=v.originalColumn-B.originalColumn,x!==0)?x:w(v.name,B.name)}e.compareByGeneratedPositionsDeflated=E;function w(v,B){return v===B?0:v===null?1:B===null?-1:v>B?1:-1}function S(v,B){var F=v.generatedLine-B.generatedLine;return F!==0||(F=v.generatedColumn-B.generatedColumn,F!==0)||(F=w(v.source,B.source),F!==0)||(F=v.originalLine-B.originalLine,F!==0)||(F=v.originalColumn-B.originalColumn,F!==0)?F:w(v.name,B.name)}e.compareByGeneratedPositionsInflated=S;function _(v){return JSON.parse(v.replace(/^\)]}'[^\n]*\n/,""))}e.parseSourceMapInput=_;function L(v,B,F){if(B=B||"",v&&(v[v.length-1]!=="/"&&B[0]!=="/"&&(v+="/"),B=v+B),F){var x=i(F);if(!x)throw new Error("sourceMapURL could not be parsed");if(x.path){var b=x.path.lastIndexOf("/");b>=0&&(x.path=x.path.substring(0,b+1))}B=h(o(x),B)}return s(B)}e.computeSourceURL=L}}),xr=K({"../../node_modules/escodegen/node_modules/source-map/lib/array-set.js"(e){var t=Ct(),n=Object.prototype.hasOwnProperty,r=typeof Map<"u";function i(){this._array=[],this._set=r?new Map:Object.create(null)}i.fromArray=function(o,s){for(var h=new i,p=0,A=o.length;p<A;p++)h.add(o[p],s);return h},i.prototype.size=function(){return r?this._set.size:Object.getOwnPropertyNames(this._set).length},i.prototype.add=function(o,s){var h=r?o:t.toSetString(o),p=r?this.has(o):n.call(this._set,h),A=this._array.length;(!p||s)&&this._array.push(o),p||(r?this._set.set(o,A):this._set[h]=A)},i.prototype.has=function(o){if(r)return this._set.has(o);var s=t.toSetString(o);return n.call(this._set,s)},i.prototype.indexOf=function(o){if(r){var s=this._set.get(o);if(s>=0)return s}else{var h=t.toSetString(o);if(n.call(this._set,h))return this._set[h]}throw new Error('"'+o+'" is not in the set.')},i.prototype.at=function(o){if(o>=0&&o<this._array.length)return this._array[o];throw new Error("No element indexed by "+o)},i.prototype.toArray=function(){return this._array.slice()},e.ArraySet=i}}),Ru=K({"../../node_modules/escodegen/node_modules/source-map/lib/mapping-list.js"(e){var t=Ct();function n(i,o){var s=i.generatedLine,h=o.generatedLine,p=i.generatedColumn,A=o.generatedColumn;return h>s||h==s&&A>=p||t.compareByGeneratedPositionsInflated(i,o)<=0}function r(){this._array=[],this._sorted=!0,this._last={generatedLine:-1,generatedColumn:0}}r.prototype.unsortedForEach=function(i,o){this._array.forEach(i,o)},r.prototype.add=function(i){n(this._last,i)?(this._last=i,this._array.push(i)):(this._sorted=!1,this._array.push(i))},r.prototype.toArray=function(){return this._sorted||(this._array.sort(t.compareByGeneratedPositionsInflated),this._sorted=!0),this._array},e.MappingList=r}}),vr=K({"../../node_modules/escodegen/node_modules/source-map/lib/source-map-generator.js"(e){var t=Br(),n=Ct(),r=xr().ArraySet,i=Ru().MappingList;function o(s){s||(s={}),this._file=n.getArg(s,"file",null),this._sourceRoot=n.getArg(s,"sourceRoot",null),this._skipValidation=n.getArg(s,"skipValidation",!1),this._sources=new r,this._names=new r,this._mappings=new i,this._sourcesContents=null}o.prototype._version=3,o.fromSourceMap=function(s){var h=s.sourceRoot,p=new o({file:s.file,sourceRoot:h});return s.eachMapping(function(A){var D={generated:{line:A.generatedLine,column:A.generatedColumn}};A.source!=null&&(D.source=A.source,h!=null&&(D.source=n.relative(h,D.source)),D.original={line:A.originalLine,column:A.originalColumn},A.name!=null&&(D.name=A.name)),p.addMapping(D)}),s.sources.forEach(function(A){var D=A;h!==null&&(D=n.relative(h,A)),p._sources.has(D)||p._sources.add(D);var y=s.sourceContentFor(A);y!=null&&p.setSourceContent(A,y)}),p},o.prototype.addMapping=function(s){var h=n.getArg(s,"generated"),p=n.getArg(s,"original",null),A=n.getArg(s,"source",null),D=n.getArg(s,"name",null);this._skipValidation||this._validateMapping(h,p,A,D),A!=null&&(A=String(A),this._sources.has(A)||this._sources.add(A)),D!=null&&(D=String(D),this._names.has(D)||this._names.add(D)),this._mappings.add({generatedLine:h.line,generatedColumn:h.column,originalLine:p!=null&&p.line,originalColumn:p!=null&&p.column,source:A,name:D})},o.prototype.setSourceContent=function(s,h){var p=s;this._sourceRoot!=null&&(p=n.relative(this._sourceRoot,p)),h!=null?(this._sourcesContents||(this._sourcesContents=Object.create(null)),this._sourcesContents[n.toSetString(p)]=h):this._sourcesContents&&(delete this._sourcesContents[n.toSetString(p)],Object.keys(this._sourcesContents).length===0&&(this._sourcesContents=null))},o.prototype.applySourceMap=function(s,h,p){var A=h;if(h==null){if(s.file==null)throw new Error(`SourceMapGenerator.prototype.applySourceMap requires either an explicit source file, or the source map's "file" property. Both were omitted.`);A=s.file}var D=this._sourceRoot;D!=null&&(A=n.relative(D,A));var y=new r,C=new r;this._mappings.unsortedForEach(function(g){if(g.source===A&&g.originalLine!=null){var m=s.originalPositionFor({line:g.originalLine,column:g.originalColumn});m.source!=null&&(g.source=m.source,p!=null&&(g.source=n.join(p,g.source)),D!=null&&(g.source=n.relative(D,g.source)),g.originalLine=m.line,g.originalColumn=m.column,m.name!=null&&(g.name=m.name))}var E=g.source;E!=null&&!y.has(E)&&y.add(E);var w=g.name;w!=null&&!C.has(w)&&C.add(w)},this),this._sources=y,this._names=C,s.sources.forEach(function(g){var m=s.sourceContentFor(g);m!=null&&(p!=null&&(g=n.join(p,g)),D!=null&&(g=n.relative(D,g)),this.setSourceContent(g,m))},this)},o.prototype._validateMapping=function(s,h,p,A){if(h&&typeof h.line!="number"&&typeof h.column!="number")throw new Error("original.line and original.column are not numbers -- you probably meant to omit the original mapping entirely and only map the generated position. If so, pass null for the original mapping instead of an object with empty or null values.");if(!(s&&"line"in s&&"column"in s&&s.line>0&&s.column>=0&&!h&&!p&&!A)){if(s&&"line"in s&&"column"in s&&h&&"line"in h&&"column"in h&&s.line>0&&s.column>=0&&h.line>0&&h.column>=0&&p)return;throw new Error("Invalid mapping: "+JSON.stringify({generated:s,source:p,original:h,name:A}))}},o.prototype._serializeMappings=function(){for(var s=0,h=1,p=0,A=0,D=0,y=0,C="",g,m,E,w,S=this._mappings.toArray(),_=0,L=S.length;_<L;_++){if(m=S[_],g="",m.generatedLine!==h)for(s=0;m.generatedLine!==h;)g+=";",h++;else if(_>0){if(!n.compareByGeneratedPositionsInflated(m,S[_-1]))continue;g+=","}g+=t.encode(m.generatedColumn-s),s=m.generatedColumn,m.source!=null&&(w=this._sources.indexOf(m.source),g+=t.encode(w-y),y=w,g+=t.encode(m.originalLine-1-A),A=m.originalLine-1,g+=t.encode(m.originalColumn-p),p=m.originalColumn,m.name!=null&&(E=this._names.indexOf(m.name),g+=t.encode(E-D),D=E)),C+=g}return C},o.prototype._generateSourcesContent=function(s,h){return s.map(function(p){if(!this._sourcesContents)return null;h!=null&&(p=n.relative(h,p));var A=n.toSetString(p);return Object.prototype.hasOwnProperty.call(this._sourcesContents,A)?this._sourcesContents[A]:null},this)},o.prototype.toJSON=function(){var s={version:this._version,sources:this._sources.toArray(),names:this._names.toArray(),mappings:this._serializeMappings()};return this._file!=null&&(s.file=this._file),this._sourceRoot!=null&&(s.sourceRoot=this._sourceRoot),this._sourcesContents&&(s.sourcesContent=this._generateSourcesContent(s.sources,s.sourceRoot)),s},o.prototype.toString=function(){return JSON.stringify(this.toJSON())},e.SourceMapGenerator=o}}),ju=K({"../../node_modules/escodegen/node_modules/source-map/lib/binary-search.js"(e){e.GREATEST_LOWER_BOUND=1,e.LEAST_UPPER_BOUND=2;function t(n,r,i,o,s,h){var p=Math.floor((r-n)/2)+n,A=s(i,o[p],!0);return A===0?p:A>0?r-p>1?t(p,r,i,o,s,h):h==e.LEAST_UPPER_BOUND?r<o.length?r:-1:p:p-n>1?t(n,p,i,o,s,h):h==e.LEAST_UPPER_BOUND?p:n<0?-1:n}e.search=function(n,r,i,o){if(r.length===0)return-1;var s=t(-1,r.length,n,r,i,o||e.GREATEST_LOWER_BOUND);if(s<0)return-1;for(;s-1>=0&&i(r[s],r[s-1],!0)===0;)--s;return s}}}),Mu=K({"../../node_modules/escodegen/node_modules/source-map/lib/quick-sort.js"(e){function t(i,o,s){var h=i[o];i[o]=i[s],i[s]=h}function n(i,o){return Math.round(i+Math.random()*(o-i))}function r(i,o,s,h){if(s<h){var p=n(s,h),A=s-1;t(i,p,h);for(var D=i[h],y=s;y<h;y++)o(i[y],D)<=0&&(A+=1,t(i,A,y));t(i,A+1,y);var C=A+1;r(i,o,s,C-1),r(i,o,C+1,h)}}e.quickSort=function(i,o){r(i,o,0,i.length-1)}}}),Vu=K({"../../node_modules/escodegen/node_modules/source-map/lib/source-map-consumer.js"(e){var t=Ct(),n=ju(),r=xr().ArraySet,i=Br(),o=Mu().quickSort;function s(D,y){var C=D;return typeof D=="string"&&(C=t.parseSourceMapInput(D)),C.sections!=null?new A(C,y):new h(C,y)}s.fromSourceMap=function(D,y){return h.fromSourceMap(D,y)},s.prototype._version=3,s.prototype.__generatedMappings=null,Object.defineProperty(s.prototype,"_generatedMappings",{configurable:!0,enumerable:!0,get:function(){return this.__generatedMappings||this._parseMappings(this._mappings,this.sourceRoot),this.__generatedMappings}}),s.prototype.__originalMappings=null,Object.defineProperty(s.prototype,"_originalMappings",{configurable:!0,enumerable:!0,get:function(){return this.__originalMappings||this._parseMappings(this._mappings,this.sourceRoot),this.__originalMappings}}),s.prototype._charIsMappingSeparator=function(D,y){var C=D.charAt(y);return C===";"||C===","},s.prototype._parseMappings=function(D,y){throw new Error("Subclasses must implement _parseMappings")},s.GENERATED_ORDER=1,s.ORIGINAL_ORDER=2,s.GREATEST_LOWER_BOUND=1,s.LEAST_UPPER_BOUND=2,s.prototype.eachMapping=function(D,y,C){var g=y||null,m=C||s.GENERATED_ORDER,E;switch(m){case s.GENERATED_ORDER:E=this._generatedMappings;break;case s.ORIGINAL_ORDER:E=this._originalMappings;break;default:throw new Error("Unknown order of iteration.")}var w=this.sourceRoot;E.map(function(S){var _=S.source===null?null:this._sources.at(S.source);return _=t.computeSourceURL(w,_,this._sourceMapURL),{source:_,generatedLine:S.generatedLine,generatedColumn:S.generatedColumn,originalLine:S.originalLine,originalColumn:S.originalColumn,name:S.name===null?null:this._names.at(S.name)}},this).forEach(D,g)},s.prototype.allGeneratedPositionsFor=function(D){var y=t.getArg(D,"line"),C={source:t.getArg(D,"source"),originalLine:y,originalColumn:t.getArg(D,"column",0)};if(C.source=this._findSourceIndex(C.source),C.source<0)return[];var g=[],m=this._findMapping(C,this._originalMappings,"originalLine","originalColumn",t.compareByOriginalPositions,n.LEAST_UPPER_BOUND);if(m>=0){var E=this._originalMappings[m];if(D.column===void 0)for(var w=E.originalLine;E&&E.originalLine===w;)g.push({line:t.getArg(E,"generatedLine",null),column:t.getArg(E,"generatedColumn",null),lastColumn:t.getArg(E,"lastGeneratedColumn",null)}),E=this._originalMappings[++m];else for(var S=E.originalColumn;E&&E.originalLine===y&&E.originalColumn==S;)g.push({line:t.getArg(E,"generatedLine",null),column:t.getArg(E,"generatedColumn",null),lastColumn:t.getArg(E,"lastGeneratedColumn",null)}),E=this._originalMappings[++m]}return g},e.SourceMapConsumer=s;function h(D,y){var C=D;typeof D=="string"&&(C=t.parseSourceMapInput(D));var g=t.getArg(C,"version"),m=t.getArg(C,"sources"),E=t.getArg(C,"names",[]),w=t.getArg(C,"sourceRoot",null),S=t.getArg(C,"sourcesContent",null),_=t.getArg(C,"mappings"),L=t.getArg(C,"file",null);if(g!=this._version)throw new Error("Unsupported version: "+g);w&&(w=t.normalize(w)),m=m.map(String).map(t.normalize).map(function(v){return w&&t.isAbsolute(w)&&t.isAbsolute(v)?t.relative(w,v):v}),this._names=r.fromArray(E.map(String),!0),this._sources=r.fromArray(m,!0),this._absoluteSources=this._sources.toArray().map(function(v){return t.computeSourceURL(w,v,y)}),this.sourceRoot=w,this.sourcesContent=S,this._mappings=_,this._sourceMapURL=y,this.file=L}h.prototype=Object.create(s.prototype),h.prototype.consumer=s,h.prototype._findSourceIndex=function(D){var y=D;if(this.sourceRoot!=null&&(y=t.relative(this.sourceRoot,y)),this._sources.has(y))return this._sources.indexOf(y);var C;for(C=0;C<this._absoluteSources.length;++C)if(this._absoluteSources[C]==D)return C;return-1},h.fromSourceMap=function(D,y){var C=Object.create(h.prototype),g=C._names=r.fromArray(D._names.toArray(),!0),m=C._sources=r.fromArray(D._sources.toArray(),!0);C.sourceRoot=D._sourceRoot,C.sourcesContent=D._generateSourcesContent(C._sources.toArray(),C.sourceRoot),C.file=D._file,C._sourceMapURL=y,C._absoluteSources=C._sources.toArray().map(function(F){return t.computeSourceURL(C.sourceRoot,F,y)});for(var E=D._mappings.toArray().slice(),w=C.__generatedMappings=[],S=C.__originalMappings=[],_=0,L=E.length;_<L;_++){var v=E[_],B=new p;B.generatedLine=v.generatedLine,B.generatedColumn=v.generatedColumn,v.source&&(B.source=m.indexOf(v.source),B.originalLine=v.originalLine,B.originalColumn=v.originalColumn,v.name&&(B.name=g.indexOf(v.name)),S.push(B)),w.push(B)}return o(C.__originalMappings,t.compareByOriginalPositions),C},h.prototype._version=3,Object.defineProperty(h.prototype,"sources",{get:function(){return this._absoluteSources.slice()}});function p(){this.generatedLine=0,this.generatedColumn=0,this.source=null,this.originalLine=null,this.originalColumn=null,this.name=null}h.prototype._parseMappings=function(D,y){for(var C=1,g=0,m=0,E=0,w=0,S=0,_=D.length,L=0,v={},B={},F=[],x=[],b,P,j,M,V;L<_;)if(D.charAt(L)===";")C++,L++,g=0;else if(D.charAt(L)===",")L++;else{for(b=new p,b.generatedLine=C,M=L;M<_&&!this._charIsMappingSeparator(D,M);M++);if(P=D.slice(L,M),j=v[P],j)L+=P.length;else{for(j=[];L<M;)i.decode(D,L,B),V=B.value,L=B.rest,j.push(V);if(j.length===2)throw new Error("Found a source, but no line and column");if(j.length===3)throw new Error("Found a source and line, but no column");v[P]=j}b.generatedColumn=g+j[0],g=b.generatedColumn,j.length>1&&(b.source=w+j[1],w+=j[1],b.originalLine=m+j[2],m=b.originalLine,b.originalLine+=1,b.originalColumn=E+j[3],E=b.originalColumn,j.length>4&&(b.name=S+j[4],S+=j[4])),x.push(b),typeof b.originalLine=="number"&&F.push(b)}o(x,t.compareByGeneratedPositionsDeflated),this.__generatedMappings=x,o(F,t.compareByOriginalPositions),this.__originalMappings=F},h.prototype._findMapping=function(D,y,C,g,m,E){if(D[C]<=0)throw new TypeError("Line must be greater than or equal to 1, got "+D[C]);if(D[g]<0)throw new TypeError("Column must be greater than or equal to 0, got "+D[g]);return n.search(D,y,m,E)},h.prototype.computeColumnSpans=function(){for(var D=0;D<this._generatedMappings.length;++D){var y=this._generatedMappings[D];if(D+1<this._generatedMappings.length){var C=this._generatedMappings[D+1];if(y.generatedLine===C.generatedLine){y.lastGeneratedColumn=C.generatedColumn-1;continue}}y.lastGeneratedColumn=1/0}},h.prototype.originalPositionFor=function(D){var y={generatedLine:t.getArg(D,"line"),generatedColumn:t.getArg(D,"column")},C=this._findMapping(y,this._generatedMappings,"generatedLine","generatedColumn",t.compareByGeneratedPositionsDeflated,t.getArg(D,"bias",s.GREATEST_LOWER_BOUND));if(C>=0){var g=this._generatedMappings[C];if(g.generatedLine===y.generatedLine){var m=t.getArg(g,"source",null);m!==null&&(m=this._sources.at(m),m=t.computeSourceURL(this.sourceRoot,m,this._sourceMapURL));var E=t.getArg(g,"name",null);return E!==null&&(E=this._names.at(E)),{source:m,line:t.getArg(g,"originalLine",null),column:t.getArg(g,"originalColumn",null),name:E}}}return{source:null,line:null,column:null,name:null}},h.prototype.hasContentsOfAllSources=function(){return this.sourcesContent?this.sourcesContent.length>=this._sources.size()&&!this.sourcesContent.some(function(D){return D==null}):!1},h.prototype.sourceContentFor=function(D,y){if(!this.sourcesContent)return null;var C=this._findSourceIndex(D);if(C>=0)return this.sourcesContent[C];var g=D;this.sourceRoot!=null&&(g=t.relative(this.sourceRoot,g));var m;if(this.sourceRoot!=null&&(m=t.urlParse(this.sourceRoot))){var E=g.replace(/^file:\/\//,"");if(m.scheme=="file"&&this._sources.has(E))return this.sourcesContent[this._sources.indexOf(E)];if((!m.path||m.path=="/")&&this._sources.has("/"+g))return this.sourcesContent[this._sources.indexOf("/"+g)]}if(y)return null;throw new Error('"'+g+'" is not in the SourceMap.')},h.prototype.generatedPositionFor=function(D){var y=t.getArg(D,"source");if(y=this._findSourceIndex(y),y<0)return{line:null,column:null,lastColumn:null};var C={source:y,originalLine:t.getArg(D,"line"),originalColumn:t.getArg(D,"column")},g=this._findMapping(C,this._originalMappings,"originalLine","originalColumn",t.compareByOriginalPositions,t.getArg(D,"bias",s.GREATEST_LOWER_BOUND));if(g>=0){var m=this._originalMappings[g];if(m.source===C.source)return{line:t.getArg(m,"generatedLine",null),column:t.getArg(m,"generatedColumn",null),lastColumn:t.getArg(m,"lastGeneratedColumn",null)}}return{line:null,column:null,lastColumn:null}},e.BasicSourceMapConsumer=h;function A(D,y){var C=D;typeof D=="string"&&(C=t.parseSourceMapInput(D));var g=t.getArg(C,"version"),m=t.getArg(C,"sections");if(g!=this._version)throw new Error("Unsupported version: "+g);this._sources=new r,this._names=new r;var E={line:-1,column:0};this._sections=m.map(function(w){if(w.url)throw new Error("Support for url field in sections not implemented.");var S=t.getArg(w,"offset"),_=t.getArg(S,"line"),L=t.getArg(S,"column");if(_<E.line||_===E.line&&L<E.column)throw new Error("Section offsets must be ordered and non-overlapping.");return E=S,{generatedOffset:{generatedLine:_+1,generatedColumn:L+1},consumer:new s(t.getArg(w,"map"),y)}})}A.prototype=Object.create(s.prototype),A.prototype.constructor=s,A.prototype._version=3,Object.defineProperty(A.prototype,"sources",{get:function(){for(var D=[],y=0;y<this._sections.length;y++)for(var C=0;C<this._sections[y].consumer.sources.length;C++)D.push(this._sections[y].consumer.sources[C]);return D}}),A.prototype.originalPositionFor=function(D){var y={generatedLine:t.getArg(D,"line"),generatedColumn:t.getArg(D,"column")},C=n.search(y,this._sections,function(m,E){var w=m.generatedLine-E.generatedOffset.generatedLine;return w||m.generatedColumn-E.generatedOffset.generatedColumn}),g=this._sections[C];return g?g.consumer.originalPositionFor({line:y.generatedLine-(g.generatedOffset.generatedLine-1),column:y.generatedColumn-(g.generatedOffset.generatedLine===y.generatedLine?g.generatedOffset.generatedColumn-1:0),bias:D.bias}):{source:null,line:null,column:null,name:null}},A.prototype.hasContentsOfAllSources=function(){return this._sections.every(function(D){return D.consumer.hasContentsOfAllSources()})},A.prototype.sourceContentFor=function(D,y){for(var C=0;C<this._sections.length;C++){var g=this._sections[C],m=g.consumer.sourceContentFor(D,!0);if(m)return m}if(y)return null;throw new Error('"'+D+'" is not in the SourceMap.')},A.prototype.generatedPositionFor=function(D){for(var y=0;y<this._sections.length;y++){var C=this._sections[y];if(C.consumer._findSourceIndex(t.getArg(D,"source"))!==-1){var g=C.consumer.generatedPositionFor(D);if(g){var m={line:g.line+(C.generatedOffset.generatedLine-1),column:g.column+(C.generatedOffset.generatedLine===g.line?C.generatedOffset.generatedColumn-1:0)};return m}}}return{line:null,column:null}},A.prototype._parseMappings=function(D,y){this.__generatedMappings=[],this.__originalMappings=[];for(var C=0;C<this._sections.length;C++)for(var g=this._sections[C],m=g.consumer._generatedMappings,E=0;E<m.length;E++){var w=m[E],S=g.consumer._sources.at(w.source);S=t.computeSourceURL(g.consumer.sourceRoot,S,this._sourceMapURL),this._sources.add(S),S=this._sources.indexOf(S);var _=null;w.name&&(_=g.consumer._names.at(w.name),this._names.add(_),_=this._names.indexOf(_));var L={source:S,generatedLine:w.generatedLine+(g.generatedOffset.generatedLine-1),generatedColumn:w.generatedColumn+(g.generatedOffset.generatedLine===w.generatedLine?g.generatedOffset.generatedColumn-1:0),originalLine:w.originalLine,originalColumn:w.originalColumn,name:_};this.__generatedMappings.push(L),typeof L.originalLine=="number"&&this.__originalMappings.push(L)}o(this.__generatedMappings,t.compareByGeneratedPositionsDeflated),o(this.__originalMappings,t.compareByOriginalPositions)},e.IndexedSourceMapConsumer=A}}),qu=K({"../../node_modules/escodegen/node_modules/source-map/lib/source-node.js"(e){var t=vr().SourceMapGenerator,n=Ct(),r=/(\r?\n)/,i=10,o="$$$isSourceNode$$$";function s(h,p,A,D,y){this.children=[],this.sourceContents={},this.line=h??null,this.column=p??null,this.source=A??null,this.name=y??null,this[o]=!0,D!=null&&this.add(D)}s.fromStringWithSourceMap=function(h,p,A){var D=new s,y=h.split(r),C=0,g=function(){var _=v(),L=v()||"";return _+L;function v(){return C<y.length?y[C++]:void 0}},m=1,E=0,w=null;return p.eachMapping(function(_){if(w!==null)if(m<_.generatedLine)S(w,g()),m++,E=0;else{var L=y[C]||"",v=L.substr(0,_.generatedColumn-E);y[C]=L.substr(_.generatedColumn-E),E=_.generatedColumn,S(w,v),w=_;return}for(;m<_.generatedLine;)D.add(g()),m++;if(E<_.generatedColumn){var L=y[C]||"";D.add(L.substr(0,_.generatedColumn)),y[C]=L.substr(_.generatedColumn),E=_.generatedColumn}w=_},this),C<y.length&&(w&&S(w,g()),D.add(y.splice(C).join(""))),p.sources.forEach(function(_){var L=p.sourceContentFor(_);L!=null&&(A!=null&&(_=n.join(A,_)),D.setSourceContent(_,L))}),D;function S(_,L){if(_===null||_.source===void 0)D.add(L);else{var v=A?n.join(A,_.source):_.source;D.add(new s(_.originalLine,_.originalColumn,v,L,_.name))}}},s.prototype.add=function(h){if(Array.isArray(h))h.forEach(function(p){this.add(p)},this);else if(h[o]||typeof h=="string")h&&this.children.push(h);else throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+h);return this},s.prototype.prepend=function(h){if(Array.isArray(h))for(var p=h.length-1;p>=0;p--)this.prepend(h[p]);else if(h[o]||typeof h=="string")this.children.unshift(h);else throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+h);return this},s.prototype.walk=function(h){for(var p,A=0,D=this.children.length;A<D;A++)p=this.children[A],p[o]?p.walk(h):p!==""&&h(p,{source:this.source,line:this.line,column:this.column,name:this.name})},s.prototype.join=function(h){var p,A,D=this.children.length;if(D>0){for(p=[],A=0;A<D-1;A++)p.push(this.children[A]),p.push(h);p.push(this.children[A]),this.children=p}return this},s.prototype.replaceRight=function(h,p){var A=this.children[this.children.length-1];return A[o]?A.replaceRight(h,p):typeof A=="string"?this.children[this.children.length-1]=A.replace(h,p):this.children.push("".replace(h,p)),this},s.prototype.setSourceContent=function(h,p){this.sourceContents[n.toSetString(h)]=p},s.prototype.walkSourceContents=function(h){for(var p=0,A=this.children.length;p<A;p++)this.children[p][o]&&this.children[p].walkSourceContents(h);for(var D=Object.keys(this.sourceContents),p=0,A=D.length;p<A;p++)h(n.fromSetString(D[p]),this.sourceContents[D[p]])},s.prototype.toString=function(){var h="";return this.walk(function(p){h+=p}),h},s.prototype.toStringWithSourceMap=function(h){var p={code:"",line:1,column:0},A=new t(h),D=!1,y=null,C=null,g=null,m=null;return this.walk(function(E,w){p.code+=E,w.source!==null&&w.line!==null&&w.column!==null?((y!==w.source||C!==w.line||g!==w.column||m!==w.name)&&A.addMapping({source:w.source,original:{line:w.line,column:w.column},generated:{line:p.line,column:p.column},name:w.name}),y=w.source,C=w.line,g=w.column,m=w.name,D=!0):D&&(A.addMapping({generated:{line:p.line,column:p.column}}),y=null,D=!1);for(var S=0,_=E.length;S<_;S++)E.charCodeAt(S)===i?(p.line++,p.column=0,S+1===_?(y=null,D=!1):D&&A.addMapping({source:w.source,original:{line:w.line,column:w.column},generated:{line:p.line,column:p.column},name:w.name})):p.column++}),this.walkSourceContents(function(E,w){A.setSourceContent(E,w)}),{code:p.code,map:A}},e.SourceNode=s}}),Uu=K({"../../node_modules/escodegen/node_modules/source-map/source-map.js"(e){e.SourceMapGenerator=vr().SourceMapGenerator,e.SourceMapConsumer=Vu().SourceMapConsumer,e.SourceNode=qu().SourceNode}}),Wu=K({"../../node_modules/escodegen/package.json"(e,t){t.exports={name:"escodegen",description:"ECMAScript code generator",homepage:"http://github.com/estools/escodegen",main:"escodegen.js",bin:{esgenerate:"./bin/esgenerate.js",escodegen:"./bin/escodegen.js"},files:["LICENSE.BSD","README.md","bin","escodegen.js","package.json"],version:"2.1.0",engines:{node:">=6.0"},maintainers:[{name:"Yusuke Suzuki",email:"utatane.tea@gmail.com",web:"http://github.com/Constellation"}],repository:{type:"git",url:"http://github.com/estools/escodegen.git"},dependencies:{estraverse:"^5.2.0",esutils:"^2.0.2",esprima:"^4.0.1"},optionalDependencies:{"source-map":"~0.6.1"},devDependencies:{acorn:"^8.0.4",bluebird:"^3.4.7","bower-registry-client":"^1.0.0",chai:"^4.2.0","chai-exclude":"^2.0.2","commonjs-everywhere":"^0.9.7",gulp:"^4.0.2","gulp-eslint":"^6.0.0","gulp-mocha":"^7.0.2",minimist:"^1.2.5",optionator:"^0.9.1",semver:"^7.3.4"},license:"BSD-2-Clause",scripts:{test:"gulp travis","unit-test":"gulp test",lint:"gulp lint",release:"node tools/release.js","build-min":"./node_modules/.bin/cjsify -ma path: tools/entry-point.js > escodegen.browser.min.js",build:"./node_modules/.bin/cjsify -a path: tools/entry-point.js > escodegen.browser.js"}}}}),zu=K({"../../node_modules/escodegen/escodegen.js"(e){(function(){var t,n,r,i,o,s,h,p,A,D,y,C,g,m,E,w,S,_,L,v,B,F,x,b,P,j;o=Tu(),s=Lu(),t=o.Syntax;function M(u){return oe.Expression.hasOwnProperty(u.type)}function V(u){return oe.Statement.hasOwnProperty(u.type)}n={Sequence:0,Yield:1,Assignment:1,Conditional:2,ArrowFunction:2,Coalesce:3,LogicalOR:4,LogicalAND:5,BitwiseOR:6,BitwiseXOR:7,BitwiseAND:8,Equality:9,Relational:10,BitwiseSHIFT:11,Additive:12,Multiplicative:13,Exponentiation:14,Await:15,Unary:15,Postfix:16,OptionalChaining:17,Call:18,New:19,TaggedTemplate:20,Member:21,Primary:22},r={"??":n.Coalesce,"||":n.LogicalOR,"&&":n.LogicalAND,"|":n.BitwiseOR,"^":n.BitwiseXOR,"&":n.BitwiseAND,"==":n.Equality,"!=":n.Equality,"===":n.Equality,"!==":n.Equality,is:n.Equality,isnt:n.Equality,"<":n.Relational,">":n.Relational,"<=":n.Relational,">=":n.Relational,in:n.Relational,instanceof:n.Relational,"<<":n.BitwiseSHIFT,">>":n.BitwiseSHIFT,">>>":n.BitwiseSHIFT,"+":n.Additive,"-":n.Additive,"*":n.Multiplicative,"%":n.Multiplicative,"/":n.Multiplicative,"**":n.Exponentiation};var U=1,H=2,re=4,ie=8,se=16,Z=32,we=64,it=H|re,Re=U|H,R=U|H|re,Je=U,je=re,st=U|re,ne=U,Be=U|Z,Ft=0,ru=U|se,uu=U|ie;function In(){return{indent:null,base:null,parse:null,comment:!1,format:{indent:{style:" ",base:0,adjustMultilineComment:!1},newline:` -`,space:" ",json:!1,renumber:!1,hexadecimal:!1,quotes:"single",escapeless:!1,compact:!1,parentheses:!0,semicolons:!0,safeConcatenation:!1,preserveBlankLines:!1},moz:{comprehensionExpressionStartsWithAssignment:!1,starlessGenerator:!1},sourceMap:null,sourceMapRoot:null,sourceMapWithCode:!1,directive:!1,raw:!0,verbatim:null,sourceCode:null}}function Me(u,l){var a="";for(l|=0;l>0;l>>>=1,u+=u)l&1&&(a+=u);return a}function iu(u){return/[\r\n]/g.test(u)}function he(u){var l=u.length;return l&&s.code.isLineTerminator(u.charCodeAt(l-1))}function Tn(u,l){var a;for(a in l)l.hasOwnProperty(a)&&(u[a]=l[a]);return u}function yt(u,l){var a,c;function d(k){return typeof k=="object"&&k instanceof Object&&!(k instanceof RegExp)}for(a in l)l.hasOwnProperty(a)&&(c=l[a],d(c)?d(u[a])?yt(u[a],c):u[a]=yt({},c):u[a]=c);return u}function su(u){var l,a,c,d,k;if(u!==u)throw new Error("Numeric literal whose value is NaN");if(u<0||u===0&&1/u<0)throw new Error("Numeric literal whose value is negative");if(u===1/0)return A?"null":D?"1e400":"1e+400";if(l=""+u,!D||l.length<3)return l;for(a=l.indexOf("."),!A&&l.charCodeAt(0)===48&&a===1&&(a=0,l=l.slice(1)),c=l,l=l.replace("e+","e"),d=0,(k=c.indexOf("e"))>0&&(d=+c.slice(k+1),c=c.slice(0,k)),a>=0&&(d-=c.length-a-1,c=+(c.slice(0,a)+c.slice(a+1))+""),k=0;c.charCodeAt(c.length+k-1)===48;)--k;return k!==0&&(d-=k,c=c.slice(0,k)),d!==0&&(c+="e"+d),(c.length<l.length||y&&u>1e12&&Math.floor(u)===u&&(c="0x"+u.toString(16)).length<l.length)&&+c===u&&(l=c),l}function Pn(u,l){return(u&-2)===8232?(l?"u":"\\u")+(u===8232?"2028":"2029"):u===10||u===13?(l?"":"\\")+(u===10?"n":"r"):String.fromCharCode(u)}function au(u){var l,a,c,d,k,I,T,O;if(a=u.toString(),u.source){if(l=a.match(/\/([^/]*)$/),!l)return a;for(c=l[1],a="",T=!1,O=!1,d=0,k=u.source.length;d<k;++d)I=u.source.charCodeAt(d),O?(a+=Pn(I,O),O=!1):(T?I===93&&(T=!1):I===47?a+="\\":I===91&&(T=!0),a+=Pn(I,O),O=I===92);return"/"+a+"/"+c}return a}function ou(u,l){var a;return u===8?"\\b":u===12?"\\f":u===9?"\\t":(a=u.toString(16).toUpperCase(),A||u>255?"\\u"+"0000".slice(a.length)+a:u===0&&!s.code.isDecimalDigit(l)?"\\0":u===11?"\\x0B":"\\x"+"00".slice(a.length)+a)}function lu(u){if(u===92)return"\\\\";if(u===10)return"\\n";if(u===13)return"\\r";if(u===8232)return"\\u2028";if(u===8233)return"\\u2029";throw new Error("Incorrectly classified character")}function cu(u){var l,a,c,d;for(d=C==="double"?'"':"'",l=0,a=u.length;l<a;++l)if(c=u.charCodeAt(l),c===39){d='"';break}else if(c===34){d="'";break}else c===92&&++l;return d+u+d}function hu(u){var l="",a,c,d,k=0,I=0,T,O;for(a=0,c=u.length;a<c;++a){if(d=u.charCodeAt(a),d===39)++k;else if(d===34)++I;else if(d===47&&A)l+="\\";else if(s.code.isLineTerminator(d)||d===92){l+=lu(d);continue}else if(!s.code.isIdentifierPartES5(d)&&(A&&d<32||!A&&!g&&(d<32||d>126))){l+=ou(d,u.charCodeAt(a+1));continue}l+=String.fromCharCode(d)}if(T=!(C==="double"||C==="auto"&&I<k),O=T?"'":'"',!(T?k:I))return O+l+O;for(u=l,l=O,a=0,c=u.length;a<c;++a)d=u.charCodeAt(a),(d===39&&T||d===34&&!T)&&(l+="\\"),l+=String.fromCharCode(d);return l+O}function Nn(u){var l,a,c,d="";for(l=0,a=u.length;l<a;++l)c=u[l],d+=Array.isArray(c)?Nn(c):c;return d}function Y(u,l){if(!F)return Array.isArray(u)?Nn(u):u;if(l==null){if(u instanceof i)return u;l={}}return l.loc==null?new i(null,null,F,u,l.name||null):new i(l.loc.start.line,l.loc.start.column,F===!0?l.loc.source||null:F,u,l.name||null)}function pe(){return E||" "}function W(u,l){var a,c,d,k;return a=Y(u).toString(),a.length===0?[l]:(c=Y(l).toString(),c.length===0?[u]:(d=a.charCodeAt(a.length-1),k=c.charCodeAt(0),(d===43||d===45)&&d===k||s.code.isIdentifierPartES5(d)&&s.code.isIdentifierPartES5(k)||d===47&&k===105?[u,pe(),l]:s.code.isWhiteSpace(d)||s.code.isLineTerminator(d)||s.code.isWhiteSpace(k)||s.code.isLineTerminator(k)?[u,l]:[u,E,l]))}function fe(u){return[h,u]}function ae(u){var l;l=h,h+=p,u(h),h=l}function pu(u){var l;for(l=u.length-1;l>=0&&!s.code.isLineTerminator(u.charCodeAt(l));--l);return u.length-1-l}function fu(u,l){var a,c,d,k,I,T,O,J;for(a=u.split(/\r\n|[\r\n]/),T=Number.MAX_VALUE,c=1,d=a.length;c<d;++c){for(k=a[c],I=0;I<k.length&&s.code.isWhiteSpace(k.charCodeAt(I));)++I;T>I&&(T=I)}for(typeof l<"u"?(O=h,a[1][T]==="*"&&(l+=" "),h=l):(T&1&&--T,O=h),c=1,d=a.length;c<d;++c)J=Y(fe(a[c].slice(T))),a[c]=F?J.join(""):J;return h=O,a.join(` -`)}function ke(u,l){if(u.type==="Line"){if(he(u.value))return"//"+u.value;var a="//"+u.value;return b||(a+=` -`),a}return v.format.indent.adjustMultilineComment&&/[\n\r]/.test(u.value)?fu("/*"+u.value+"*/",l):"/*"+u.value+"*/"}function Ln(u,l){var a,c,d,k,I,T,O,J,ce,Ve,He,jn,Mn,xe;if(u.leadingComments&&u.leadingComments.length>0){if(k=l,b){for(d=u.leadingComments[0],l=[],J=d.extendedRange,ce=d.range,He=x.substring(J[0],ce[0]),xe=(He.match(/\n/g)||[]).length,xe>0?(l.push(Me(` -`,xe)),l.push(fe(ke(d)))):(l.push(He),l.push(ke(d))),Ve=ce,a=1,c=u.leadingComments.length;a<c;a++)d=u.leadingComments[a],ce=d.range,jn=x.substring(Ve[1],ce[0]),xe=(jn.match(/\n/g)||[]).length,l.push(Me(` -`,xe)),l.push(fe(ke(d))),Ve=ce;Mn=x.substring(ce[1],J[1]),xe=(Mn.match(/\n/g)||[]).length,l.push(Me(` -`,xe))}else for(d=u.leadingComments[0],l=[],_&&u.type===t.Program&&u.body.length===0&&l.push(` -`),l.push(ke(d)),he(Y(l).toString())||l.push(` -`),a=1,c=u.leadingComments.length;a<c;++a)d=u.leadingComments[a],O=[ke(d)],he(Y(O).toString())||O.push(` -`),l.push(fe(O));l.push(fe(k))}if(u.trailingComments)if(b)d=u.trailingComments[0],J=d.extendedRange,ce=d.range,He=x.substring(J[0],ce[0]),xe=(He.match(/\n/g)||[]).length,xe>0?(l.push(Me(` -`,xe)),l.push(fe(ke(d)))):(l.push(He),l.push(ke(d)));else for(I=!he(Y(l).toString()),T=Me(" ",pu(Y([h,l,p]).toString())),a=0,c=u.trailingComments.length;a<c;++a)d=u.trailingComments[a],I?(a===0?l=[l,p]:l=[l,T],l.push(ke(d,T))):l=[l,fe(ke(d))],a!==c-1&&!he(Y(l).toString())&&(l=[l,` -`]);return l}function Xe(u,l,a){var c,d=0;for(c=u;c<l;c++)x[c]===` -`&&d++;for(c=1;c<d;c++)a.push(m)}function le(u,l,a){return l<a?["(",u,")"]:u}function On(u){var l,a,c;for(c=u.split(/\r\n|\n/),l=1,a=c.length;l<a;l++)c[l]=m+h+c[l];return c}function du(u,l){var a,c,d;return a=u[v.verbatim],typeof a=="string"?c=le(On(a),n.Sequence,l):(c=On(a.content),d=a.precedence!=null?a.precedence:n.Sequence,c=le(c,d,l)),Y(c,u)}function oe(){}oe.prototype.maybeBlock=function(u,l){var a,c,d=this;return c=!v.comment||!u.leadingComments,u.type===t.BlockStatement&&c?[E,this.generateStatement(u,l)]:u.type===t.EmptyStatement&&c?";":(ae(function(){a=[m,fe(d.generateStatement(u,l))]}),a)},oe.prototype.maybeBlockSuffix=function(u,l){var a=he(Y(l).toString());return u.type===t.BlockStatement&&(!v.comment||!u.leadingComments)&&!a?[l,E]:a?[l,h]:[l,m,h]};function Ce(u){return Y(u.name,u)}function at(u,l){return u.async?"async"+(l?pe():E):""}function Bt(u){var l=u.generator&&!v.moz.starlessGenerator;return l?"*"+E:""}function Rn(u){var l=u.value,a="";return l.async&&(a+=at(l,!u.computed)),l.generator&&(a+=Bt(l)?"*":""),a}oe.prototype.generatePattern=function(u,l,a){return u.type===t.Identifier?Ce(u):this.generateExpression(u,l,a)},oe.prototype.generateFunctionParams=function(u){var l,a,c,d;if(d=!1,u.type===t.ArrowFunctionExpression&&!u.rest&&(!u.defaults||u.defaults.length===0)&&u.params.length===1&&u.params[0].type===t.Identifier)c=[at(u,!0),Ce(u.params[0])];else{for(c=u.type===t.ArrowFunctionExpression?[at(u,!1)]:[],c.push("("),u.defaults&&(d=!0),l=0,a=u.params.length;l<a;++l)d&&u.defaults[l]?c.push(this.generateAssignment(u.params[l],u.defaults[l],"=",n.Assignment,R)):c.push(this.generatePattern(u.params[l],n.Assignment,R)),l+1<a&&c.push(","+E);u.rest&&(u.params.length&&c.push(","+E),c.push("..."),c.push(Ce(u.rest))),c.push(")")}return c},oe.prototype.generateFunctionBody=function(u){var l,a;return l=this.generateFunctionParams(u),u.type===t.ArrowFunctionExpression&&(l.push(E),l.push("=>")),u.expression?(l.push(E),a=this.generateExpression(u.body,n.Assignment,R),a.toString().charAt(0)==="{"&&(a=["(",a,")"]),l.push(a)):l.push(this.maybeBlock(u.body,uu)),l},oe.prototype.generateIterationForStatement=function(u,l,a){var c=["for"+(l.await?pe()+"await":"")+E+"("],d=this;return ae(function(){l.left.type===t.VariableDeclaration?ae(function(){c.push(l.left.kind+pe()),c.push(d.generateStatement(l.left.declarations[0],Ft))}):c.push(d.generateExpression(l.left,n.Call,R)),c=W(c,u),c=[W(c,d.generateExpression(l.right,n.Assignment,R)),")"]}),c.push(this.maybeBlock(l.body,a)),c},oe.prototype.generatePropertyKey=function(u,l){var a=[];return l&&a.push("["),a.push(this.generateExpression(u,n.Assignment,R)),l&&a.push("]"),a},oe.prototype.generateAssignment=function(u,l,a,c,d){return n.Assignment<c&&(d|=U),le([this.generateExpression(u,n.Call,d),E+a+E,this.generateExpression(l,n.Assignment,d)],n.Assignment,c)},oe.prototype.semicolon=function(u){return!S&&u&Z?"":";"},oe.Statement={BlockStatement:function(u,l){var a,c,d=["{",m],k=this;return ae(function(){u.body.length===0&&b&&(a=u.range,a[1]-a[0]>2&&(c=x.substring(a[0]+1,a[1]-1),c[0]===` -`&&(d=["{"]),d.push(c)));var I,T,O,J;for(J=ne,l&ie&&(J|=se),I=0,T=u.body.length;I<T;++I)b&&(I===0&&(u.body[0].leadingComments&&(a=u.body[0].leadingComments[0].extendedRange,c=x.substring(a[0],a[1]),c[0]===` -`&&(d=["{"])),u.body[0].leadingComments||Xe(u.range[0],u.body[0].range[0],d)),I>0&&!u.body[I-1].trailingComments&&!u.body[I].leadingComments&&Xe(u.body[I-1].range[1],u.body[I].range[0],d)),I===T-1&&(J|=Z),u.body[I].leadingComments&&b?O=k.generateStatement(u.body[I],J):O=fe(k.generateStatement(u.body[I],J)),d.push(O),he(Y(O).toString())||b&&I<T-1&&u.body[I+1].leadingComments||d.push(m),b&&I===T-1&&(u.body[I].trailingComments||Xe(u.body[I].range[1],u.range[1],d))}),d.push(fe("}")),d},BreakStatement:function(u,l){return u.label?"break "+u.label.name+this.semicolon(l):"break"+this.semicolon(l)},ContinueStatement:function(u,l){return u.label?"continue "+u.label.name+this.semicolon(l):"continue"+this.semicolon(l)},ClassBody:function(u,l){var a=["{",m],c=this;return ae(function(d){var k,I;for(k=0,I=u.body.length;k<I;++k)a.push(d),a.push(c.generateExpression(u.body[k],n.Sequence,R)),k+1<I&&a.push(m)}),he(Y(a).toString())||a.push(m),a.push(h),a.push("}"),a},ClassDeclaration:function(u,l){var a,c;return a=["class"],u.id&&(a=W(a,this.generateExpression(u.id,n.Sequence,R))),u.superClass&&(c=W("extends",this.generateExpression(u.superClass,n.Unary,R)),a=W(a,c)),a.push(E),a.push(this.generateStatement(u.body,Be)),a},DirectiveStatement:function(u,l){return v.raw&&u.raw?u.raw+this.semicolon(l):cu(u.directive)+this.semicolon(l)},DoWhileStatement:function(u,l){var a=W("do",this.maybeBlock(u.body,ne));return a=this.maybeBlockSuffix(u.body,a),W(a,["while"+E+"(",this.generateExpression(u.test,n.Sequence,R),")"+this.semicolon(l)])},CatchClause:function(u,l){var a,c=this;return ae(function(){var d;u.param?(a=["catch"+E+"(",c.generateExpression(u.param,n.Sequence,R),")"],u.guard&&(d=c.generateExpression(u.guard,n.Sequence,R),a.splice(2,0," if ",d))):a=["catch"]}),a.push(this.maybeBlock(u.body,ne)),a},DebuggerStatement:function(u,l){return"debugger"+this.semicolon(l)},EmptyStatement:function(u,l){return";"},ExportDefaultDeclaration:function(u,l){var a=["export"],c;return c=l&Z?Be:ne,a=W(a,"default"),V(u.declaration)?a=W(a,this.generateStatement(u.declaration,c)):a=W(a,this.generateExpression(u.declaration,n.Assignment,R)+this.semicolon(l)),a},ExportNamedDeclaration:function(u,l){var a=["export"],c,d=this;return c=l&Z?Be:ne,u.declaration?W(a,this.generateStatement(u.declaration,c)):(u.specifiers&&(u.specifiers.length===0?a=W(a,"{"+E+"}"):u.specifiers[0].type===t.ExportBatchSpecifier?a=W(a,this.generateExpression(u.specifiers[0],n.Sequence,R)):(a=W(a,"{"),ae(function(k){var I,T;for(a.push(m),I=0,T=u.specifiers.length;I<T;++I)a.push(k),a.push(d.generateExpression(u.specifiers[I],n.Sequence,R)),I+1<T&&a.push(","+m)}),he(Y(a).toString())||a.push(m),a.push(h+"}")),u.source?a=W(a,["from"+E,this.generateExpression(u.source,n.Sequence,R),this.semicolon(l)]):a.push(this.semicolon(l))),a)},ExportAllDeclaration:function(u,l){return["export"+E,"*"+E,"from"+E,this.generateExpression(u.source,n.Sequence,R),this.semicolon(l)]},ExpressionStatement:function(u,l){var a,c;function d(T){var O;return T.slice(0,5)!=="class"?!1:(O=T.charCodeAt(5),O===123||s.code.isWhiteSpace(O)||s.code.isLineTerminator(O))}function k(T){var O;return T.slice(0,8)!=="function"?!1:(O=T.charCodeAt(8),O===40||s.code.isWhiteSpace(O)||O===42||s.code.isLineTerminator(O))}function I(T){var O,J,ce;if(T.slice(0,5)!=="async"||!s.code.isWhiteSpace(T.charCodeAt(5)))return!1;for(J=6,ce=T.length;J<ce&&s.code.isWhiteSpace(T.charCodeAt(J));++J);return J===ce||T.slice(J,J+8)!=="function"?!1:(O=T.charCodeAt(J+8),O===40||s.code.isWhiteSpace(O)||O===42||s.code.isLineTerminator(O))}return a=[this.generateExpression(u.expression,n.Sequence,R)],c=Y(a).toString(),c.charCodeAt(0)===123||d(c)||k(c)||I(c)||L&&l&se&&u.expression.type===t.Literal&&typeof u.expression.value=="string"?a=["(",a,")"+this.semicolon(l)]:a.push(this.semicolon(l)),a},ImportDeclaration:function(u,l){var a,c,d=this;return u.specifiers.length===0?["import",E,this.generateExpression(u.source,n.Sequence,R),this.semicolon(l)]:(a=["import"],c=0,u.specifiers[c].type===t.ImportDefaultSpecifier&&(a=W(a,[this.generateExpression(u.specifiers[c],n.Sequence,R)]),++c),u.specifiers[c]&&(c!==0&&a.push(","),u.specifiers[c].type===t.ImportNamespaceSpecifier?a=W(a,[E,this.generateExpression(u.specifiers[c],n.Sequence,R)]):(a.push(E+"{"),u.specifiers.length-c===1?(a.push(E),a.push(this.generateExpression(u.specifiers[c],n.Sequence,R)),a.push(E+"}"+E)):(ae(function(k){var I,T;for(a.push(m),I=c,T=u.specifiers.length;I<T;++I)a.push(k),a.push(d.generateExpression(u.specifiers[I],n.Sequence,R)),I+1<T&&a.push(","+m)}),he(Y(a).toString())||a.push(m),a.push(h+"}"+E)))),a=W(a,["from"+E,this.generateExpression(u.source,n.Sequence,R),this.semicolon(l)]),a)},VariableDeclarator:function(u,l){var a=l&U?R:it;return u.init?[this.generateExpression(u.id,n.Assignment,a),E,"=",E,this.generateExpression(u.init,n.Assignment,a)]:this.generatePattern(u.id,n.Assignment,a)},VariableDeclaration:function(u,l){var a,c,d,k,I,T=this;a=[u.kind],I=l&U?ne:Ft;function O(){for(k=u.declarations[0],v.comment&&k.leadingComments?(a.push(` -`),a.push(fe(T.generateStatement(k,I)))):(a.push(pe()),a.push(T.generateStatement(k,I))),c=1,d=u.declarations.length;c<d;++c)k=u.declarations[c],v.comment&&k.leadingComments?(a.push(","+m),a.push(fe(T.generateStatement(k,I)))):(a.push(","+E),a.push(T.generateStatement(k,I)))}return u.declarations.length>1?ae(O):O(),a.push(this.semicolon(l)),a},ThrowStatement:function(u,l){return[W("throw",this.generateExpression(u.argument,n.Sequence,R)),this.semicolon(l)]},TryStatement:function(u,l){var a,c,d,k;if(a=["try",this.maybeBlock(u.block,ne)],a=this.maybeBlockSuffix(u.block,a),u.handlers)for(c=0,d=u.handlers.length;c<d;++c)a=W(a,this.generateStatement(u.handlers[c],ne)),(u.finalizer||c+1!==d)&&(a=this.maybeBlockSuffix(u.handlers[c].body,a));else{for(k=u.guardedHandlers||[],c=0,d=k.length;c<d;++c)a=W(a,this.generateStatement(k[c],ne)),(u.finalizer||c+1!==d)&&(a=this.maybeBlockSuffix(k[c].body,a));if(u.handler)if(Array.isArray(u.handler))for(c=0,d=u.handler.length;c<d;++c)a=W(a,this.generateStatement(u.handler[c],ne)),(u.finalizer||c+1!==d)&&(a=this.maybeBlockSuffix(u.handler[c].body,a));else a=W(a,this.generateStatement(u.handler,ne)),u.finalizer&&(a=this.maybeBlockSuffix(u.handler.body,a))}return u.finalizer&&(a=W(a,["finally",this.maybeBlock(u.finalizer,ne)])),a},SwitchStatement:function(u,l){var a,c,d,k,I,T=this;if(ae(function(){a=["switch"+E+"(",T.generateExpression(u.discriminant,n.Sequence,R),")"+E+"{"+m]}),u.cases)for(I=ne,d=0,k=u.cases.length;d<k;++d)d===k-1&&(I|=Z),c=fe(this.generateStatement(u.cases[d],I)),a.push(c),he(Y(c).toString())||a.push(m);return a.push(fe("}")),a},SwitchCase:function(u,l){var a,c,d,k,I,T=this;return ae(function(){for(u.test?a=[W("case",T.generateExpression(u.test,n.Sequence,R)),":"]:a=["default:"],d=0,k=u.consequent.length,k&&u.consequent[0].type===t.BlockStatement&&(c=T.maybeBlock(u.consequent[0],ne),a.push(c),d=1),d!==k&&!he(Y(a).toString())&&a.push(m),I=ne;d<k;++d)d===k-1&&l&Z&&(I|=Z),c=fe(T.generateStatement(u.consequent[d],I)),a.push(c),d+1!==k&&!he(Y(c).toString())&&a.push(m)}),a},IfStatement:function(u,l){var a,c,d,k=this;return ae(function(){a=["if"+E+"(",k.generateExpression(u.test,n.Sequence,R),")"]}),d=l&Z,c=ne,d&&(c|=Z),u.alternate?(a.push(this.maybeBlock(u.consequent,ne)),a=this.maybeBlockSuffix(u.consequent,a),u.alternate.type===t.IfStatement?a=W(a,["else ",this.generateStatement(u.alternate,c)]):a=W(a,W("else",this.maybeBlock(u.alternate,c)))):a.push(this.maybeBlock(u.consequent,c)),a},ForStatement:function(u,l){var a,c=this;return ae(function(){a=["for"+E+"("],u.init?u.init.type===t.VariableDeclaration?a.push(c.generateStatement(u.init,Ft)):(a.push(c.generateExpression(u.init,n.Sequence,it)),a.push(";")):a.push(";"),u.test&&(a.push(E),a.push(c.generateExpression(u.test,n.Sequence,R))),a.push(";"),u.update&&(a.push(E),a.push(c.generateExpression(u.update,n.Sequence,R))),a.push(")")}),a.push(this.maybeBlock(u.body,l&Z?Be:ne)),a},ForInStatement:function(u,l){return this.generateIterationForStatement("in",u,l&Z?Be:ne)},ForOfStatement:function(u,l){return this.generateIterationForStatement("of",u,l&Z?Be:ne)},LabeledStatement:function(u,l){return[u.label.name+":",this.maybeBlock(u.body,l&Z?Be:ne)]},Program:function(u,l){var a,c,d,k,I;for(k=u.body.length,a=[_&&k>0?` -`:""],I=ru,d=0;d<k;++d)!_&&d===k-1&&(I|=Z),b&&(d===0&&(u.body[0].leadingComments||Xe(u.range[0],u.body[d].range[0],a)),d>0&&!u.body[d-1].trailingComments&&!u.body[d].leadingComments&&Xe(u.body[d-1].range[1],u.body[d].range[0],a)),c=fe(this.generateStatement(u.body[d],I)),a.push(c),d+1<k&&!he(Y(c).toString())&&(b&&u.body[d+1].leadingComments||a.push(m)),b&&d===k-1&&(u.body[d].trailingComments||Xe(u.body[d].range[1],u.range[1],a));return a},FunctionDeclaration:function(u,l){return[at(u,!0),"function",Bt(u)||pe(),u.id?Ce(u.id):"",this.generateFunctionBody(u)]},ReturnStatement:function(u,l){return u.argument?[W("return",this.generateExpression(u.argument,n.Sequence,R)),this.semicolon(l)]:["return"+this.semicolon(l)]},WhileStatement:function(u,l){var a,c=this;return ae(function(){a=["while"+E+"(",c.generateExpression(u.test,n.Sequence,R),")"]}),a.push(this.maybeBlock(u.body,l&Z?Be:ne)),a},WithStatement:function(u,l){var a,c=this;return ae(function(){a=["with"+E+"(",c.generateExpression(u.object,n.Sequence,R),")"]}),a.push(this.maybeBlock(u.body,l&Z?Be:ne)),a}},Tn(oe.prototype,oe.Statement),oe.Expression={SequenceExpression:function(u,l,a){var c,d,k;for(n.Sequence<l&&(a|=U),c=[],d=0,k=u.expressions.length;d<k;++d)c.push(this.generateExpression(u.expressions[d],n.Assignment,a)),d+1<k&&c.push(","+E);return le(c,n.Sequence,l)},AssignmentExpression:function(u,l,a){return this.generateAssignment(u.left,u.right,u.operator,l,a)},ArrowFunctionExpression:function(u,l,a){return le(this.generateFunctionBody(u),n.ArrowFunction,l)},ConditionalExpression:function(u,l,a){return n.Conditional<l&&(a|=U),le([this.generateExpression(u.test,n.Coalesce,a),E+"?"+E,this.generateExpression(u.consequent,n.Assignment,a),E+":"+E,this.generateExpression(u.alternate,n.Assignment,a)],n.Conditional,l)},LogicalExpression:function(u,l,a){return u.operator==="??"&&(a|=we),this.BinaryExpression(u,l,a)},BinaryExpression:function(u,l,a){var c,d,k,I,T,O;return I=r[u.operator],d=u.operator==="**"?n.Postfix:I,k=u.operator==="**"?I:I+1,I<l&&(a|=U),T=this.generateExpression(u.left,d,a),O=T.toString(),O.charCodeAt(O.length-1)===47&&s.code.isIdentifierPartES5(u.operator.charCodeAt(0))?c=[T,pe(),u.operator]:c=W(T,u.operator),T=this.generateExpression(u.right,k,a),u.operator==="/"&&T.toString().charAt(0)==="/"||u.operator.slice(-1)==="<"&&T.toString().slice(0,3)==="!--"?(c.push(pe()),c.push(T)):c=W(c,T),u.operator==="in"&&!(a&U)?["(",c,")"]:(u.operator==="||"||u.operator==="&&")&&a&we?["(",c,")"]:le(c,I,l)},CallExpression:function(u,l,a){var c,d,k;for(c=[this.generateExpression(u.callee,n.Call,Re)],u.optional&&c.push("?."),c.push("("),d=0,k=u.arguments.length;d<k;++d)c.push(this.generateExpression(u.arguments[d],n.Assignment,R)),d+1<k&&c.push(","+E);return c.push(")"),a&H?le(c,n.Call,l):["(",c,")"]},ChainExpression:function(u,l,a){n.OptionalChaining<l&&(a|=H);var c=this.generateExpression(u.expression,n.OptionalChaining,a);return le(c,n.OptionalChaining,l)},NewExpression:function(u,l,a){var c,d,k,I,T;if(d=u.arguments.length,T=a&re&&!w&&d===0?st:Je,c=W("new",this.generateExpression(u.callee,n.New,T)),!(a&re)||w||d>0){for(c.push("("),k=0,I=d;k<I;++k)c.push(this.generateExpression(u.arguments[k],n.Assignment,R)),k+1<I&&c.push(","+E);c.push(")")}return le(c,n.New,l)},MemberExpression:function(u,l,a){var c,d;return c=[this.generateExpression(u.object,n.Call,a&H?Re:Je)],u.computed?(u.optional&&c.push("?."),c.push("["),c.push(this.generateExpression(u.property,n.Sequence,a&H?R:st)),c.push("]")):(!u.optional&&u.object.type===t.Literal&&typeof u.object.value=="number"&&(d=Y(c).toString(),d.indexOf(".")<0&&!/[eExX]/.test(d)&&s.code.isDecimalDigit(d.charCodeAt(d.length-1))&&!(d.length>=2&&d.charCodeAt(0)===48)&&c.push(" ")),c.push(u.optional?"?.":"."),c.push(Ce(u.property))),le(c,n.Member,l)},MetaProperty:function(u,l,a){var c;return c=[],c.push(typeof u.meta=="string"?u.meta:Ce(u.meta)),c.push("."),c.push(typeof u.property=="string"?u.property:Ce(u.property)),le(c,n.Member,l)},UnaryExpression:function(u,l,a){var c,d,k,I,T;return d=this.generateExpression(u.argument,n.Unary,R),E===""?c=W(u.operator,d):(c=[u.operator],u.operator.length>2?c=W(c,d):(I=Y(c).toString(),T=I.charCodeAt(I.length-1),k=d.toString().charCodeAt(0),((T===43||T===45)&&T===k||s.code.isIdentifierPartES5(T)&&s.code.isIdentifierPartES5(k))&&c.push(pe()),c.push(d))),le(c,n.Unary,l)},YieldExpression:function(u,l,a){var c;return u.delegate?c="yield*":c="yield",u.argument&&(c=W(c,this.generateExpression(u.argument,n.Yield,R))),le(c,n.Yield,l)},AwaitExpression:function(u,l,a){var c=W(u.all?"await*":"await",this.generateExpression(u.argument,n.Await,R));return le(c,n.Await,l)},UpdateExpression:function(u,l,a){return u.prefix?le([u.operator,this.generateExpression(u.argument,n.Unary,R)],n.Unary,l):le([this.generateExpression(u.argument,n.Postfix,R),u.operator],n.Postfix,l)},FunctionExpression:function(u,l,a){var c=[at(u,!0),"function"];return u.id?(c.push(Bt(u)||pe()),c.push(Ce(u.id))):c.push(Bt(u)||E),c.push(this.generateFunctionBody(u)),c},ArrayPattern:function(u,l,a){return this.ArrayExpression(u,l,a,!0)},ArrayExpression:function(u,l,a,c){var d,k,I=this;return u.elements.length?(k=c?!1:u.elements.length>1,d=["[",k?m:""],ae(function(T){var O,J;for(O=0,J=u.elements.length;O<J;++O)u.elements[O]?(d.push(k?T:""),d.push(I.generateExpression(u.elements[O],n.Assignment,R))):(k&&d.push(T),O+1===J&&d.push(",")),O+1<J&&d.push(","+(k?m:E))}),k&&!he(Y(d).toString())&&d.push(m),d.push(k?h:""),d.push("]"),d):"[]"},RestElement:function(u,l,a){return"..."+this.generatePattern(u.argument)},ClassExpression:function(u,l,a){var c,d;return c=["class"],u.id&&(c=W(c,this.generateExpression(u.id,n.Sequence,R))),u.superClass&&(d=W("extends",this.generateExpression(u.superClass,n.Unary,R)),c=W(c,d)),c.push(E),c.push(this.generateStatement(u.body,Be)),c},MethodDefinition:function(u,l,a){var c,d;return u.static?c=["static"+E]:c=[],u.kind==="get"||u.kind==="set"?d=[W(u.kind,this.generatePropertyKey(u.key,u.computed)),this.generateFunctionBody(u.value)]:d=[Rn(u),this.generatePropertyKey(u.key,u.computed),this.generateFunctionBody(u.value)],W(c,d)},Property:function(u,l,a){return u.kind==="get"||u.kind==="set"?[u.kind,pe(),this.generatePropertyKey(u.key,u.computed),this.generateFunctionBody(u.value)]:u.shorthand?u.value.type==="AssignmentPattern"?this.AssignmentPattern(u.value,n.Sequence,R):this.generatePropertyKey(u.key,u.computed):u.method?[Rn(u),this.generatePropertyKey(u.key,u.computed),this.generateFunctionBody(u.value)]:[this.generatePropertyKey(u.key,u.computed),":"+E,this.generateExpression(u.value,n.Assignment,R)]},ObjectExpression:function(u,l,a){var c,d,k,I=this;return u.properties.length?(c=u.properties.length>1,ae(function(){k=I.generateExpression(u.properties[0],n.Sequence,R)}),!c&&!iu(Y(k).toString())?["{",E,k,E,"}"]:(ae(function(T){var O,J;if(d=["{",m,T,k],c)for(d.push(","+m),O=1,J=u.properties.length;O<J;++O)d.push(T),d.push(I.generateExpression(u.properties[O],n.Sequence,R)),O+1<J&&d.push(","+m)}),he(Y(d).toString())||d.push(m),d.push(h),d.push("}"),d)):"{}"},AssignmentPattern:function(u,l,a){return this.generateAssignment(u.left,u.right,"=",l,a)},ObjectPattern:function(u,l,a){var c,d,k,I,T,O=this;if(!u.properties.length)return"{}";if(I=!1,u.properties.length===1)T=u.properties[0],T.type===t.Property&&T.value.type!==t.Identifier&&(I=!0);else for(d=0,k=u.properties.length;d<k;++d)if(T=u.properties[d],T.type===t.Property&&!T.shorthand){I=!0;break}return c=["{",I?m:""],ae(function(J){var ce,Ve;for(ce=0,Ve=u.properties.length;ce<Ve;++ce)c.push(I?J:""),c.push(O.generateExpression(u.properties[ce],n.Sequence,R)),ce+1<Ve&&c.push(","+(I?m:E))}),I&&!he(Y(c).toString())&&c.push(m),c.push(I?h:""),c.push("}"),c},ThisExpression:function(u,l,a){return"this"},Super:function(u,l,a){return"super"},Identifier:function(u,l,a){return Ce(u)},ImportDefaultSpecifier:function(u,l,a){return Ce(u.id||u.local)},ImportNamespaceSpecifier:function(u,l,a){var c=["*"],d=u.id||u.local;return d&&c.push(E+"as"+pe()+Ce(d)),c},ImportSpecifier:function(u,l,a){var c=u.imported,d=[c.name],k=u.local;return k&&k.name!==c.name&&d.push(pe()+"as"+pe()+Ce(k)),d},ExportSpecifier:function(u,l,a){var c=u.local,d=[c.name],k=u.exported;return k&&k.name!==c.name&&d.push(pe()+"as"+pe()+Ce(k)),d},Literal:function(u,l,a){var c;if(u.hasOwnProperty("raw")&&B&&v.raw)try{if(c=B(u.raw).body[0].expression,c.type===t.Literal&&c.value===u.value)return u.raw}catch{}return u.regex?"/"+u.regex.pattern+"/"+u.regex.flags:typeof u.value=="bigint"?u.value.toString()+"n":u.bigint?u.bigint+"n":u.value===null?"null":typeof u.value=="string"?hu(u.value):typeof u.value=="number"?su(u.value):typeof u.value=="boolean"?u.value?"true":"false":au(u.value)},GeneratorExpression:function(u,l,a){return this.ComprehensionExpression(u,l,a)},ComprehensionExpression:function(u,l,a){var c,d,k,I,T=this;return c=u.type===t.GeneratorExpression?["("]:["["],v.moz.comprehensionExpressionStartsWithAssignment&&(I=this.generateExpression(u.body,n.Assignment,R),c.push(I)),u.blocks&&ae(function(){for(d=0,k=u.blocks.length;d<k;++d)I=T.generateExpression(u.blocks[d],n.Sequence,R),d>0||v.moz.comprehensionExpressionStartsWithAssignment?c=W(c,I):c.push(I)}),u.filter&&(c=W(c,"if"+E),I=this.generateExpression(u.filter,n.Sequence,R),c=W(c,["(",I,")"])),v.moz.comprehensionExpressionStartsWithAssignment||(I=this.generateExpression(u.body,n.Assignment,R),c=W(c,I)),c.push(u.type===t.GeneratorExpression?")":"]"),c},ComprehensionBlock:function(u,l,a){var c;return u.left.type===t.VariableDeclaration?c=[u.left.kind,pe(),this.generateStatement(u.left.declarations[0],Ft)]:c=this.generateExpression(u.left,n.Call,R),c=W(c,u.of?"of":"in"),c=W(c,this.generateExpression(u.right,n.Sequence,R)),["for"+E+"(",c,")"]},SpreadElement:function(u,l,a){return["...",this.generateExpression(u.argument,n.Assignment,R)]},TaggedTemplateExpression:function(u,l,a){var c=Re;a&H||(c=Je);var d=[this.generateExpression(u.tag,n.Call,c),this.generateExpression(u.quasi,n.Primary,je)];return le(d,n.TaggedTemplate,l)},TemplateElement:function(u,l,a){return u.value.raw},TemplateLiteral:function(u,l,a){var c,d,k;for(c=["`"],d=0,k=u.quasis.length;d<k;++d)c.push(this.generateExpression(u.quasis[d],n.Primary,R)),d+1<k&&(c.push("${"+E),c.push(this.generateExpression(u.expressions[d],n.Sequence,R)),c.push(E+"}"));return c.push("`"),c},ModuleSpecifier:function(u,l,a){return this.Literal(u,l,a)},ImportExpression:function(u,l,a){return le(["import(",this.generateExpression(u.source,n.Assignment,R),")"],n.Call,l)}},Tn(oe.prototype,oe.Expression),oe.prototype.generateExpression=function(u,l,a){var c,d;return d=u.type||t.Property,v.verbatim&&u.hasOwnProperty(v.verbatim)?du(u,l):(c=this[d](u,l,a),v.comment&&(c=Ln(u,c)),Y(c,u))},oe.prototype.generateStatement=function(u,l){var a,c;return a=this[u.type](u,l),v.comment&&(a=Ln(u,a)),c=Y(a).toString(),u.type===t.Program&&!_&&m===""&&c.charAt(c.length-1)===` -`&&(a=F?Y(a).replaceRight(/\s+$/,""):c.replace(/\s+$/,"")),Y(a,u)};function Au(u){var l;if(l=new oe,V(u))return l.generateStatement(u,ne);if(M(u))return l.generateExpression(u,n.Sequence,R);throw new Error("Unknown node type: "+u.type)}function Du(u,l){var a=In(),c,d;return l!=null?(typeof l.indent=="string"&&(a.format.indent.style=l.indent),typeof l.base=="number"&&(a.format.indent.base=l.base),l=yt(a,l),p=l.format.indent.style,typeof l.base=="string"?h=l.base:h=Me(p,l.format.indent.base)):(l=a,p=l.format.indent.style,h=Me(p,l.format.indent.base)),A=l.format.json,D=l.format.renumber,y=A?!1:l.format.hexadecimal,C=A?"double":l.format.quotes,g=l.format.escapeless,m=l.format.newline,E=l.format.space,l.format.compact&&(m=E=p=h=""),w=l.format.parentheses,S=l.format.semicolons,_=l.format.safeConcatenation,L=l.directive,B=A?null:l.parse,F=l.sourceMap,x=l.sourceCode,b=l.format.preserveBlankLines&&x!==null,v=l,F&&(e.browser?i=global.sourceMap.SourceNode:i=Uu().SourceNode),c=Au(u),F?(d=c.toStringWithSourceMap({file:l.file,sourceRoot:l.sourceMapRoot}),l.sourceContent&&d.map.setSourceContent(l.sourceMap,l.sourceContent),l.sourceMapWithCode?d:d.map.toString()):(d={code:c.toString(),map:null},l.sourceMapWithCode?d:d.code)}P={indent:{style:"",base:0},renumber:!0,hexadecimal:!0,quotes:"auto",escapeless:!0,compact:!0,parentheses:!1,semicolons:!1},j=In().format,e.version=Wu().version,e.generate=Du,e.attachComments=o.attachComments,e.Precedence=yt({},n),e.browser=!1,e.FORMAT_MINIFY=P,e.FORMAT_DEFAULTS=j})()}}),on={};Fr(on,{Node:()=>ht,Parser:()=>te,Position:()=>Ue,SourceLocation:()=>et,TokContext:()=>Fe,Token:()=>pt,TokenType:()=>Q,defaultOptions:()=>At,getLineInfo:()=>cn,isIdentifierChar:()=>qe,isIdentifierStart:()=>Te,isNewLine:()=>Ke,keywordTypes:()=>dt,lineBreak:()=>me,lineBreakG:()=>ze,nonASCIIwhitespace:()=>Ot,parse:()=>Zu,parseExpressionAt:()=>ei,tokContexts:()=>ue,tokTypes:()=>f,tokenizer:()=>ti,version:()=>Dn});function ln(e,t){for(var n=65536,r=0;r<t.length;r+=2){if(n+=t[r],n>e)return!1;if(n+=t[r+1],n>=e)return!0}}function Te(e,t){return e<65?e===36:e<91?!0:e<97?e===95:e<123?!0:e<=65535?e>=170&&br.test(String.fromCharCode(e)):t===!1?!1:ln(e,xn)}function qe(e,t){return e<48?e===36:e<58?!0:e<65?!1:e<91?!0:e<97?e===95:e<123?!0:e<=65535?e>=170&&wr.test(String.fromCharCode(e)):t===!1?!1:ln(e,xn)||ln(e,kr)}function ye(e,t){return new Q(e,{beforeExpr:!0,binop:t})}function X(e,t){return t===void 0&&(t={}),t.keyword=e,dt[e]=new Q(e,t)}function Ke(e,t){return e===10||e===13||!t&&(e===8232||e===8233)}function Nt(e,t){return Ir.call(e,t)}function We(e){return new RegExp("^(?:"+e.replace(/ /g,"|")+")$")}function cn(e,t){for(var n=1,r=0;;){ze.lastIndex=r;var i=ze.exec(e);if(i&&i.index<t)++n,r=i.index+i[0].length;else return new Ue(n,t-r)}}function Gu(e){var t={};for(var n in At)t[n]=e&&Nt(e,n)?e[n]:At[n];if(t.ecmaVersion>=2015&&(t.ecmaVersion-=2009),t.allowReserved==null&&(t.allowReserved=t.ecmaVersion<5),hn(t.onToken)){var r=t.onToken;t.onToken=function(i){return r.push(i)}}return hn(t.onComment)&&(t.onComment=$u(t,t.onComment)),t}function $u(e,t){return function(n,r,i,o,s,h){var p={type:n?"Block":"Line",value:r,start:i,end:o};e.locations&&(p.loc=new et(this,s,h)),e.ranges&&(p.range=[i,o]),t.push(p)}}function Vt(e,t){return Ze|(e?pn:0)|(t?fn:0)}function vt(){this.shorthandAssign=this.trailingComma=this.parenthesizedAssign=this.parenthesizedBind=this.doubleProto=-1}function zn(e,t,n,r){return e.type=t,e.end=n,this.options.locations&&(e.loc.end=r),this.options.ranges&&(e.range[1]=n),e}function qt(e){var t=An[e]={binary:We(Tr[e]+" "+dn),nonBinary:{General_Category:We(dn),Script:We(Pr[e])}};t.nonBinary.Script_Extensions=t.nonBinary.Script,t.nonBinary.gc=t.nonBinary.General_Category,t.nonBinary.sc=t.nonBinary.Script,t.nonBinary.scx=t.nonBinary.Script_Extensions}function _t(e){return e<=65535?String.fromCharCode(e):(e-=65536,String.fromCharCode((e>>10)+55296,(e&1023)+56320))}function Gn(e){return e===36||e>=40&&e<=43||e===46||e===63||e>=91&&e<=94||e>=123&&e<=125}function Ju(e){return Te(e,!0)||e===36||e===95}function Xu(e){return qe(e,!0)||e===36||e===95||e===8204||e===8205}function _r(e){return e>=65&&e<=90||e>=97&&e<=122}function Hu(e){return e>=0&&e<=1114111}function Qu(e){return e===100||e===68||e===115||e===83||e===119||e===87}function Sr(e){return _r(e)||e===95}function Yu(e){return Sr(e)||Lt(e)}function Lt(e){return e>=48&&e<=57}function $n(e){return e>=48&&e<=57||e>=65&&e<=70||e>=97&&e<=102}function Jn(e){return e>=65&&e<=70?10+(e-65):e>=97&&e<=102?10+(e-97):e-48}function Xn(e){return e>=48&&e<=55}function Ku(e,t){return t?parseInt(e,8):parseFloat(e.replace(/_/g,""))}function Hn(e){return typeof BigInt!="function"?null:BigInt(e.replace(/_/g,""))}function Ut(e){return e<=65535?String.fromCharCode(e):(e-=65536,String.fromCharCode((e>>10)+55296,(e&1023)+56320))}function Zu(e,t){return te.parse(e,t)}function ei(e,t,n){return te.parseExpressionAt(e,t,n)}function ti(e,t){return te.tokenizer(e,t)}var St,bt,Qn,Yn,wt,Wt,br,wr,xn,kr,Q,ge,De,dt,f,me,ze,Ot,Ee,zt,Ir,Kn,hn,Ue,et,At,Qe,Ze,kt,pn,fn,Gt,$t,Jt,Xt,Ht,It,ve,Qt,Yt,Kt,te,Ne,de,Zn,z,Tt,er,tr,Ye,Pt,Zt,_e,G,nr,ot,Ie,rr,ht,lt,Fe,ue,ct,en,tn,ur,Tr,dn,nn,rn,ir,Pr,An,q,Se,pt,$,un,Dn,mn=mu({"../../node_modules/acorn/dist/acorn.mjs"(){St={3:"abstract boolean byte char class double enum export extends final float goto implements import int interface long native package private protected public short static super synchronized throws transient volatile",5:"class enum extends super const export import",6:"enum",strict:"implements interface let package private protected public static yield",strictBind:"eval arguments"},bt="break case catch continue debugger default do else finally for function if return switch throw try var while with null true false instanceof typeof void delete new in this",Qn={5:bt,"5module":bt+" export import",6:bt+" const class extends export import super"},Yn=/^in(stanceof)?$/,wt="ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࢠ-ࢴࢶ-ࣇऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഄ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-ᲈᲐ-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆿㇰ-ㇿ㐀-䶿一-鿼ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꞿꟂ-ꟊꟵ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭩꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ",Wt="‌‍·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛࣓-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-ໍ໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜔ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠐-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿᫀᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷹᷻-᷿‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_",br=new RegExp("["+wt+"]"),wr=new RegExp("["+wt+Wt+"]"),wt=Wt=null,xn=[0,11,2,25,2,18,2,1,2,14,3,13,35,122,70,52,268,28,4,48,48,31,14,29,6,37,11,29,3,35,5,7,2,4,43,157,19,35,5,35,5,39,9,51,157,310,10,21,11,7,153,5,3,0,2,43,2,1,4,0,3,22,11,22,10,30,66,18,2,1,11,21,11,25,71,55,7,1,65,0,16,3,2,2,2,28,43,28,4,28,36,7,2,27,28,53,11,21,11,18,14,17,111,72,56,50,14,50,14,35,349,41,7,1,79,28,11,0,9,21,107,20,28,22,13,52,76,44,33,24,27,35,30,0,3,0,9,34,4,0,13,47,15,3,22,0,2,0,36,17,2,24,85,6,2,0,2,3,2,14,2,9,8,46,39,7,3,1,3,21,2,6,2,1,2,4,4,0,19,0,13,4,159,52,19,3,21,2,31,47,21,1,2,0,185,46,42,3,37,47,21,0,60,42,14,0,72,26,230,43,117,63,32,7,3,0,3,7,2,1,2,23,16,0,2,0,95,7,3,38,17,0,2,0,29,0,11,39,8,0,22,0,12,45,20,0,35,56,264,8,2,36,18,0,50,29,113,6,2,1,2,37,22,0,26,5,2,1,2,31,15,0,328,18,190,0,80,921,103,110,18,195,2749,1070,4050,582,8634,568,8,30,114,29,19,47,17,3,32,20,6,18,689,63,129,74,6,0,67,12,65,1,2,0,29,6135,9,1237,43,8,8952,286,50,2,18,3,9,395,2309,106,6,12,4,8,8,9,5991,84,2,70,2,1,3,0,3,1,3,3,2,11,2,0,2,6,2,64,2,3,3,7,2,6,2,27,2,3,2,4,2,0,4,6,2,339,3,24,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,7,2357,44,11,6,17,0,370,43,1301,196,60,67,8,0,1205,3,2,26,2,1,2,0,3,0,2,9,2,3,2,0,2,0,7,0,5,0,2,0,2,0,2,2,2,1,2,0,3,0,2,0,2,0,2,0,2,0,2,1,2,0,3,3,2,6,2,3,2,3,2,0,2,9,2,16,6,2,2,4,2,16,4421,42717,35,4148,12,221,3,5761,15,7472,3104,541,1507,4938],kr=[509,0,227,0,150,4,294,9,1368,2,2,1,6,3,41,2,5,0,166,1,574,3,9,9,370,1,154,10,176,2,54,14,32,9,16,3,46,10,54,9,7,2,37,13,2,9,6,1,45,0,13,2,49,13,9,3,2,11,83,11,7,0,161,11,6,9,7,3,56,1,2,6,3,1,3,2,10,0,11,1,3,6,4,4,193,17,10,9,5,0,82,19,13,9,214,6,3,8,28,1,83,16,16,9,82,12,9,9,84,14,5,9,243,14,166,9,71,5,2,1,3,3,2,0,2,1,13,9,120,6,3,6,4,0,29,9,41,6,2,3,9,0,10,10,47,15,406,7,2,7,17,9,57,21,2,13,123,5,4,0,2,1,2,6,2,0,9,9,49,4,2,1,2,4,9,9,330,3,19306,9,135,4,60,6,26,9,1014,0,2,54,8,3,82,0,12,1,19628,1,5319,4,4,5,9,7,3,6,31,3,149,2,1418,49,513,54,5,49,9,0,15,0,23,4,2,14,1361,6,2,16,3,6,2,1,2,4,262,6,10,9,419,13,1495,6,110,6,6,9,4759,9,787719,239],Q=function(e,t){t===void 0&&(t={}),this.label=e,this.keyword=t.keyword,this.beforeExpr=!!t.beforeExpr,this.startsExpr=!!t.startsExpr,this.isLoop=!!t.isLoop,this.isAssign=!!t.isAssign,this.prefix=!!t.prefix,this.postfix=!!t.postfix,this.binop=t.binop||null,this.updateContext=null},ge={beforeExpr:!0},De={startsExpr:!0},dt={},f={num:new Q("num",De),regexp:new Q("regexp",De),string:new Q("string",De),name:new Q("name",De),eof:new Q("eof"),bracketL:new Q("[",{beforeExpr:!0,startsExpr:!0}),bracketR:new Q("]"),braceL:new Q("{",{beforeExpr:!0,startsExpr:!0}),braceR:new Q("}"),parenL:new Q("(",{beforeExpr:!0,startsExpr:!0}),parenR:new Q(")"),comma:new Q(",",ge),semi:new Q(";",ge),colon:new Q(":",ge),dot:new Q("."),question:new Q("?",ge),questionDot:new Q("?."),arrow:new Q("=>",ge),template:new Q("template"),invalidTemplate:new Q("invalidTemplate"),ellipsis:new Q("...",ge),backQuote:new Q("`",De),dollarBraceL:new Q("${",{beforeExpr:!0,startsExpr:!0}),eq:new Q("=",{beforeExpr:!0,isAssign:!0}),assign:new Q("_=",{beforeExpr:!0,isAssign:!0}),incDec:new Q("++/--",{prefix:!0,postfix:!0,startsExpr:!0}),prefix:new Q("!/~",{beforeExpr:!0,prefix:!0,startsExpr:!0}),logicalOR:ye("||",1),logicalAND:ye("&&",2),bitwiseOR:ye("|",3),bitwiseXOR:ye("^",4),bitwiseAND:ye("&",5),equality:ye("==/!=/===/!==",6),relational:ye("</>/<=/>=",7),bitShift:ye("<</>>/>>>",8),plusMin:new Q("+/-",{beforeExpr:!0,binop:9,prefix:!0,startsExpr:!0}),modulo:ye("%",10),star:ye("*",10),slash:ye("/",10),starstar:new Q("**",{beforeExpr:!0}),coalesce:ye("??",1),_break:X("break"),_case:X("case",ge),_catch:X("catch"),_continue:X("continue"),_debugger:X("debugger"),_default:X("default",ge),_do:X("do",{isLoop:!0,beforeExpr:!0}),_else:X("else",ge),_finally:X("finally"),_for:X("for",{isLoop:!0}),_function:X("function",De),_if:X("if"),_return:X("return",ge),_switch:X("switch"),_throw:X("throw",ge),_try:X("try"),_var:X("var"),_const:X("const"),_while:X("while",{isLoop:!0}),_with:X("with"),_new:X("new",{beforeExpr:!0,startsExpr:!0}),_this:X("this",De),_super:X("super",De),_class:X("class",De),_extends:X("extends",ge),_export:X("export"),_import:X("import",De),_null:X("null",De),_true:X("true",De),_false:X("false",De),_in:X("in",{beforeExpr:!0,binop:7}),_instanceof:X("instanceof",{beforeExpr:!0,binop:7}),_typeof:X("typeof",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_void:X("void",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_delete:X("delete",{beforeExpr:!0,prefix:!0,startsExpr:!0})},me=/\r\n?|\n|\u2028|\u2029/,ze=new RegExp(me.source,"g"),Ot=/[\u1680\u2000-\u200a\u202f\u205f\u3000\ufeff]/,Ee=/(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g,zt=Object.prototype,Ir=zt.hasOwnProperty,Kn=zt.toString,hn=Array.isArray||function(e){return Kn.call(e)==="[object Array]"},Ue=function(e,t){this.line=e,this.column=t},Ue.prototype.offset=function(e){return new Ue(this.line,this.column+e)},et=function(e,t,n){this.start=t,this.end=n,e.sourceFile!==null&&(this.source=e.sourceFile)},At={ecmaVersion:10,sourceType:"script",onInsertedSemicolon:null,onTrailingComma:null,allowReserved:null,allowReturnOutsideFunction:!1,allowImportExportEverywhere:!1,allowAwaitOutsideFunction:!1,allowHashBang:!1,locations:!1,onToken:null,onComment:null,ranges:!1,program:null,sourceFile:null,directSourceFile:null,preserveParens:!1},Qe=1,Ze=2,kt=Qe|Ze,pn=4,fn=8,Gt=16,$t=32,Jt=64,Xt=128,Ht=0,It=1,ve=2,Qt=3,Yt=4,Kt=5,te=function(e,t,n){this.options=e=Gu(e),this.sourceFile=e.sourceFile,this.keywords=We(Qn[e.ecmaVersion>=6?6:e.sourceType==="module"?"5module":5]);var r="";if(e.allowReserved!==!0){for(var i=e.ecmaVersion;!(r=St[i]);i--);e.sourceType==="module"&&(r+=" await")}this.reservedWords=We(r);var o=(r?r+" ":"")+St.strict;this.reservedWordsStrict=We(o),this.reservedWordsStrictBind=We(o+" "+St.strictBind),this.input=String(t),this.containsEsc=!1,n?(this.pos=n,this.lineStart=this.input.lastIndexOf(` -`,n-1)+1,this.curLine=this.input.slice(0,this.lineStart).split(me).length):(this.pos=this.lineStart=0,this.curLine=1),this.type=f.eof,this.value=null,this.start=this.end=this.pos,this.startLoc=this.endLoc=this.curPosition(),this.lastTokEndLoc=this.lastTokStartLoc=null,this.lastTokStart=this.lastTokEnd=this.pos,this.context=this.initialContext(),this.exprAllowed=!0,this.inModule=e.sourceType==="module",this.strict=this.inModule||this.strictDirective(this.pos),this.potentialArrowAt=-1,this.yieldPos=this.awaitPos=this.awaitIdentPos=0,this.labels=[],this.undefinedExports={},this.pos===0&&e.allowHashBang&&this.input.slice(0,2)==="#!"&&this.skipLineComment(2),this.scopeStack=[],this.enterScope(Qe),this.regexpState=null},Ne={inFunction:{configurable:!0},inGenerator:{configurable:!0},inAsync:{configurable:!0},allowSuper:{configurable:!0},allowDirectSuper:{configurable:!0},treatFunctionsAsVar:{configurable:!0}},te.prototype.parse=function(){var e=this.options.program||this.startNode();return this.nextToken(),this.parseTopLevel(e)},Ne.inFunction.get=function(){return(this.currentVarScope().flags&Ze)>0},Ne.inGenerator.get=function(){return(this.currentVarScope().flags&fn)>0},Ne.inAsync.get=function(){return(this.currentVarScope().flags&pn)>0},Ne.allowSuper.get=function(){return(this.currentThisScope().flags&Jt)>0},Ne.allowDirectSuper.get=function(){return(this.currentThisScope().flags&Xt)>0},Ne.treatFunctionsAsVar.get=function(){return this.treatFunctionsAsVarInScope(this.currentScope())},te.prototype.inNonArrowFunction=function(){return(this.currentThisScope().flags&Ze)>0},te.extend=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];for(var n=this,r=0;r<e.length;r++)n=e[r](n);return n},te.parse=function(e,t){return new this(t,e).parse()},te.parseExpressionAt=function(e,t,n){var r=new this(n,e,t);return r.nextToken(),r.parseExpression()},te.tokenizer=function(e,t){return new this(t,e)},Object.defineProperties(te.prototype,Ne),de=te.prototype,Zn=/^(?:'((?:\\.|[^'\\])*?)'|"((?:\\.|[^"\\])*?)")/,de.strictDirective=function(e){for(;;){Ee.lastIndex=e,e+=Ee.exec(this.input)[0].length;var t=Zn.exec(this.input.slice(e));if(!t)return!1;if((t[1]||t[2])==="use strict"){Ee.lastIndex=e+t[0].length;var n=Ee.exec(this.input),r=n.index+n[0].length,i=this.input.charAt(r);return i===";"||i==="}"||me.test(n[0])&&!(/[(`.[+\-/*%<>=,?^&]/.test(i)||i==="!"&&this.input.charAt(r+1)==="=")}e+=t[0].length,Ee.lastIndex=e,e+=Ee.exec(this.input)[0].length,this.input[e]===";"&&e++}},de.eat=function(e){return this.type===e?(this.next(),!0):!1},de.isContextual=function(e){return this.type===f.name&&this.value===e&&!this.containsEsc},de.eatContextual=function(e){return this.isContextual(e)?(this.next(),!0):!1},de.expectContextual=function(e){this.eatContextual(e)||this.unexpected()},de.canInsertSemicolon=function(){return this.type===f.eof||this.type===f.braceR||me.test(this.input.slice(this.lastTokEnd,this.start))},de.insertSemicolon=function(){if(this.canInsertSemicolon())return this.options.onInsertedSemicolon&&this.options.onInsertedSemicolon(this.lastTokEnd,this.lastTokEndLoc),!0},de.semicolon=function(){!this.eat(f.semi)&&!this.insertSemicolon()&&this.unexpected()},de.afterTrailingComma=function(e,t){if(this.type===e)return this.options.onTrailingComma&&this.options.onTrailingComma(this.lastTokStart,this.lastTokStartLoc),t||this.next(),!0},de.expect=function(e){this.eat(e)||this.unexpected()},de.unexpected=function(e){this.raise(e??this.start,"Unexpected token")},de.checkPatternErrors=function(e,t){if(e){e.trailingComma>-1&&this.raiseRecoverable(e.trailingComma,"Comma is not permitted after the rest element");var n=t?e.parenthesizedAssign:e.parenthesizedBind;n>-1&&this.raiseRecoverable(n,"Parenthesized pattern")}},de.checkExpressionErrors=function(e,t){if(!e)return!1;var n=e.shorthandAssign,r=e.doubleProto;if(!t)return n>=0||r>=0;n>=0&&this.raise(n,"Shorthand property assignments are valid only in destructuring patterns"),r>=0&&this.raiseRecoverable(r,"Redefinition of __proto__ property")},de.checkYieldAwaitInDefaultParams=function(){this.yieldPos&&(!this.awaitPos||this.yieldPos<this.awaitPos)&&this.raise(this.yieldPos,"Yield expression cannot be a default value"),this.awaitPos&&this.raise(this.awaitPos,"Await expression cannot be a default value")},de.isSimpleAssignTarget=function(e){return e.type==="ParenthesizedExpression"?this.isSimpleAssignTarget(e.expression):e.type==="Identifier"||e.type==="MemberExpression"},z=te.prototype,z.parseTopLevel=function(e){var t={};for(e.body||(e.body=[]);this.type!==f.eof;){var n=this.parseStatement(null,!0,t);e.body.push(n)}if(this.inModule)for(var r=0,i=Object.keys(this.undefinedExports);r<i.length;r+=1){var o=i[r];this.raiseRecoverable(this.undefinedExports[o].start,"Export '"+o+"' is not defined")}return this.adaptDirectivePrologue(e.body),this.next(),e.sourceType=this.options.sourceType,this.finishNode(e,"Program")},Tt={kind:"loop"},er={kind:"switch"},z.isLet=function(e){if(this.options.ecmaVersion<6||!this.isContextual("let"))return!1;Ee.lastIndex=this.pos;var t=Ee.exec(this.input),n=this.pos+t[0].length,r=this.input.charCodeAt(n);if(r===91)return!0;if(e)return!1;if(r===123)return!0;if(Te(r,!0)){for(var i=n+1;qe(this.input.charCodeAt(i),!0);)++i;var o=this.input.slice(n,i);if(!Yn.test(o))return!0}return!1},z.isAsyncFunction=function(){if(this.options.ecmaVersion<8||!this.isContextual("async"))return!1;Ee.lastIndex=this.pos;var e=Ee.exec(this.input),t=this.pos+e[0].length;return!me.test(this.input.slice(this.pos,t))&&this.input.slice(t,t+8)==="function"&&(t+8===this.input.length||!qe(this.input.charAt(t+8)))},z.parseStatement=function(e,t,n){var r=this.type,i=this.startNode(),o;switch(this.isLet(e)&&(r=f._var,o="let"),r){case f._break:case f._continue:return this.parseBreakContinueStatement(i,r.keyword);case f._debugger:return this.parseDebuggerStatement(i);case f._do:return this.parseDoStatement(i);case f._for:return this.parseForStatement(i);case f._function:return e&&(this.strict||e!=="if"&&e!=="label")&&this.options.ecmaVersion>=6&&this.unexpected(),this.parseFunctionStatement(i,!1,!e);case f._class:return e&&this.unexpected(),this.parseClass(i,!0);case f._if:return this.parseIfStatement(i);case f._return:return this.parseReturnStatement(i);case f._switch:return this.parseSwitchStatement(i);case f._throw:return this.parseThrowStatement(i);case f._try:return this.parseTryStatement(i);case f._const:case f._var:return o=o||this.value,e&&o!=="var"&&this.unexpected(),this.parseVarStatement(i,o);case f._while:return this.parseWhileStatement(i);case f._with:return this.parseWithStatement(i);case f.braceL:return this.parseBlock(!0,i);case f.semi:return this.parseEmptyStatement(i);case f._export:case f._import:if(this.options.ecmaVersion>10&&r===f._import){Ee.lastIndex=this.pos;var s=Ee.exec(this.input),h=this.pos+s[0].length,p=this.input.charCodeAt(h);if(p===40||p===46)return this.parseExpressionStatement(i,this.parseExpression())}return this.options.allowImportExportEverywhere||(t||this.raise(this.start,"'import' and 'export' may only appear at the top level"),this.inModule||this.raise(this.start,"'import' and 'export' may appear only with 'sourceType: module'")),r===f._import?this.parseImport(i):this.parseExport(i,n);default:if(this.isAsyncFunction())return e&&this.unexpected(),this.next(),this.parseFunctionStatement(i,!0,!e);var A=this.value,D=this.parseExpression();return r===f.name&&D.type==="Identifier"&&this.eat(f.colon)?this.parseLabeledStatement(i,A,D,e):this.parseExpressionStatement(i,D)}},z.parseBreakContinueStatement=function(e,t){var n=t==="break";this.next(),this.eat(f.semi)||this.insertSemicolon()?e.label=null:this.type!==f.name?this.unexpected():(e.label=this.parseIdent(),this.semicolon());for(var r=0;r<this.labels.length;++r){var i=this.labels[r];if((e.label==null||i.name===e.label.name)&&(i.kind!=null&&(n||i.kind==="loop")||e.label&&n))break}return r===this.labels.length&&this.raise(e.start,"Unsyntactic "+t),this.finishNode(e,n?"BreakStatement":"ContinueStatement")},z.parseDebuggerStatement=function(e){return this.next(),this.semicolon(),this.finishNode(e,"DebuggerStatement")},z.parseDoStatement=function(e){return this.next(),this.labels.push(Tt),e.body=this.parseStatement("do"),this.labels.pop(),this.expect(f._while),e.test=this.parseParenExpression(),this.options.ecmaVersion>=6?this.eat(f.semi):this.semicolon(),this.finishNode(e,"DoWhileStatement")},z.parseForStatement=function(e){this.next();var t=this.options.ecmaVersion>=9&&(this.inAsync||!this.inFunction&&this.options.allowAwaitOutsideFunction)&&this.eatContextual("await")?this.lastTokStart:-1;if(this.labels.push(Tt),this.enterScope(0),this.expect(f.parenL),this.type===f.semi)return t>-1&&this.unexpected(t),this.parseFor(e,null);var n=this.isLet();if(this.type===f._var||this.type===f._const||n){var r=this.startNode(),i=n?"let":this.value;return this.next(),this.parseVar(r,!0,i),this.finishNode(r,"VariableDeclaration"),(this.type===f._in||this.options.ecmaVersion>=6&&this.isContextual("of"))&&r.declarations.length===1?(this.options.ecmaVersion>=9&&(this.type===f._in?t>-1&&this.unexpected(t):e.await=t>-1),this.parseForIn(e,r)):(t>-1&&this.unexpected(t),this.parseFor(e,r))}var o=new vt,s=this.parseExpression(!0,o);return this.type===f._in||this.options.ecmaVersion>=6&&this.isContextual("of")?(this.options.ecmaVersion>=9&&(this.type===f._in?t>-1&&this.unexpected(t):e.await=t>-1),this.toAssignable(s,!1,o),this.checkLVal(s),this.parseForIn(e,s)):(this.checkExpressionErrors(o,!0),t>-1&&this.unexpected(t),this.parseFor(e,s))},z.parseFunctionStatement=function(e,t,n){return this.next(),this.parseFunction(e,Ye|(n?0:Pt),!1,t)},z.parseIfStatement=function(e){return this.next(),e.test=this.parseParenExpression(),e.consequent=this.parseStatement("if"),e.alternate=this.eat(f._else)?this.parseStatement("if"):null,this.finishNode(e,"IfStatement")},z.parseReturnStatement=function(e){return!this.inFunction&&!this.options.allowReturnOutsideFunction&&this.raise(this.start,"'return' outside of function"),this.next(),this.eat(f.semi)||this.insertSemicolon()?e.argument=null:(e.argument=this.parseExpression(),this.semicolon()),this.finishNode(e,"ReturnStatement")},z.parseSwitchStatement=function(e){this.next(),e.discriminant=this.parseParenExpression(),e.cases=[],this.expect(f.braceL),this.labels.push(er),this.enterScope(0);for(var t,n=!1;this.type!==f.braceR;)if(this.type===f._case||this.type===f._default){var r=this.type===f._case;t&&this.finishNode(t,"SwitchCase"),e.cases.push(t=this.startNode()),t.consequent=[],this.next(),r?t.test=this.parseExpression():(n&&this.raiseRecoverable(this.lastTokStart,"Multiple default clauses"),n=!0,t.test=null),this.expect(f.colon)}else t||this.unexpected(),t.consequent.push(this.parseStatement(null));return this.exitScope(),t&&this.finishNode(t,"SwitchCase"),this.next(),this.labels.pop(),this.finishNode(e,"SwitchStatement")},z.parseThrowStatement=function(e){return this.next(),me.test(this.input.slice(this.lastTokEnd,this.start))&&this.raise(this.lastTokEnd,"Illegal newline after throw"),e.argument=this.parseExpression(),this.semicolon(),this.finishNode(e,"ThrowStatement")},tr=[],z.parseTryStatement=function(e){if(this.next(),e.block=this.parseBlock(),e.handler=null,this.type===f._catch){var t=this.startNode();if(this.next(),this.eat(f.parenL)){t.param=this.parseBindingAtom();var n=t.param.type==="Identifier";this.enterScope(n?$t:0),this.checkLVal(t.param,n?Yt:ve),this.expect(f.parenR)}else this.options.ecmaVersion<10&&this.unexpected(),t.param=null,this.enterScope(0);t.body=this.parseBlock(!1),this.exitScope(),e.handler=this.finishNode(t,"CatchClause")}return e.finalizer=this.eat(f._finally)?this.parseBlock():null,!e.handler&&!e.finalizer&&this.raise(e.start,"Missing catch or finally clause"),this.finishNode(e,"TryStatement")},z.parseVarStatement=function(e,t){return this.next(),this.parseVar(e,!1,t),this.semicolon(),this.finishNode(e,"VariableDeclaration")},z.parseWhileStatement=function(e){return this.next(),e.test=this.parseParenExpression(),this.labels.push(Tt),e.body=this.parseStatement("while"),this.labels.pop(),this.finishNode(e,"WhileStatement")},z.parseWithStatement=function(e){return this.strict&&this.raise(this.start,"'with' in strict mode"),this.next(),e.object=this.parseParenExpression(),e.body=this.parseStatement("with"),this.finishNode(e,"WithStatement")},z.parseEmptyStatement=function(e){return this.next(),this.finishNode(e,"EmptyStatement")},z.parseLabeledStatement=function(e,t,n,r){for(var i=0,o=this.labels;i<o.length;i+=1){var s=o[i];s.name===t&&this.raise(n.start,"Label '"+t+"' is already declared")}for(var h=this.type.isLoop?"loop":this.type===f._switch?"switch":null,p=this.labels.length-1;p>=0;p--){var A=this.labels[p];if(A.statementStart===e.start)A.statementStart=this.start,A.kind=h;else break}return this.labels.push({name:t,kind:h,statementStart:this.start}),e.body=this.parseStatement(r?r.indexOf("label")===-1?r+"label":r:"label"),this.labels.pop(),e.label=n,this.finishNode(e,"LabeledStatement")},z.parseExpressionStatement=function(e,t){return e.expression=t,this.semicolon(),this.finishNode(e,"ExpressionStatement")},z.parseBlock=function(e,t,n){for(e===void 0&&(e=!0),t===void 0&&(t=this.startNode()),t.body=[],this.expect(f.braceL),e&&this.enterScope(0);this.type!==f.braceR;){var r=this.parseStatement(null);t.body.push(r)}return n&&(this.strict=!1),this.next(),e&&this.exitScope(),this.finishNode(t,"BlockStatement")},z.parseFor=function(e,t){return e.init=t,this.expect(f.semi),e.test=this.type===f.semi?null:this.parseExpression(),this.expect(f.semi),e.update=this.type===f.parenR?null:this.parseExpression(),this.expect(f.parenR),e.body=this.parseStatement("for"),this.exitScope(),this.labels.pop(),this.finishNode(e,"ForStatement")},z.parseForIn=function(e,t){var n=this.type===f._in;return this.next(),t.type==="VariableDeclaration"&&t.declarations[0].init!=null&&(!n||this.options.ecmaVersion<8||this.strict||t.kind!=="var"||t.declarations[0].id.type!=="Identifier")?this.raise(t.start,(n?"for-in":"for-of")+" loop variable declaration may not have an initializer"):t.type==="AssignmentPattern"&&this.raise(t.start,"Invalid left-hand side in for-loop"),e.left=t,e.right=n?this.parseExpression():this.parseMaybeAssign(),this.expect(f.parenR),e.body=this.parseStatement("for"),this.exitScope(),this.labels.pop(),this.finishNode(e,n?"ForInStatement":"ForOfStatement")},z.parseVar=function(e,t,n){for(e.declarations=[],e.kind=n;;){var r=this.startNode();if(this.parseVarId(r,n),this.eat(f.eq)?r.init=this.parseMaybeAssign(t):n==="const"&&!(this.type===f._in||this.options.ecmaVersion>=6&&this.isContextual("of"))?this.unexpected():r.id.type!=="Identifier"&&!(t&&(this.type===f._in||this.isContextual("of")))?this.raise(this.lastTokEnd,"Complex binding patterns require an initialization value"):r.init=null,e.declarations.push(this.finishNode(r,"VariableDeclarator")),!this.eat(f.comma))break}return e},z.parseVarId=function(e,t){e.id=this.parseBindingAtom(),this.checkLVal(e.id,t==="var"?It:ve,!1)},Ye=1,Pt=2,Zt=4,z.parseFunction=function(e,t,n,r){this.initFunction(e),(this.options.ecmaVersion>=9||this.options.ecmaVersion>=6&&!r)&&(this.type===f.star&&t&Pt&&this.unexpected(),e.generator=this.eat(f.star)),this.options.ecmaVersion>=8&&(e.async=!!r),t&Ye&&(e.id=t&Zt&&this.type!==f.name?null:this.parseIdent(),e.id&&!(t&Pt)&&this.checkLVal(e.id,this.strict||e.generator||e.async?this.treatFunctionsAsVar?It:ve:Qt));var i=this.yieldPos,o=this.awaitPos,s=this.awaitIdentPos;return this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,this.enterScope(Vt(e.async,e.generator)),t&Ye||(e.id=this.type===f.name?this.parseIdent():null),this.parseFunctionParams(e),this.parseFunctionBody(e,n,!1),this.yieldPos=i,this.awaitPos=o,this.awaitIdentPos=s,this.finishNode(e,t&Ye?"FunctionDeclaration":"FunctionExpression")},z.parseFunctionParams=function(e){this.expect(f.parenL),e.params=this.parseBindingList(f.parenR,!1,this.options.ecmaVersion>=8),this.checkYieldAwaitInDefaultParams()},z.parseClass=function(e,t){this.next();var n=this.strict;this.strict=!0,this.parseClassId(e,t),this.parseClassSuper(e);var r=this.startNode(),i=!1;for(r.body=[],this.expect(f.braceL);this.type!==f.braceR;){var o=this.parseClassElement(e.superClass!==null);o&&(r.body.push(o),o.type==="MethodDefinition"&&o.kind==="constructor"&&(i&&this.raise(o.start,"Duplicate constructor in the same class"),i=!0))}return this.strict=n,this.next(),e.body=this.finishNode(r,"ClassBody"),this.finishNode(e,t?"ClassDeclaration":"ClassExpression")},z.parseClassElement=function(e){var t=this;if(this.eat(f.semi))return null;var n=this.startNode(),r=function(p,A){A===void 0&&(A=!1);var D=t.start,y=t.startLoc;return t.eatContextual(p)?t.type!==f.parenL&&(!A||!t.canInsertSemicolon())?!0:(n.key&&t.unexpected(),n.computed=!1,n.key=t.startNodeAt(D,y),n.key.name=p,t.finishNode(n.key,"Identifier"),!1):!1};n.kind="method",n.static=r("static");var i=this.eat(f.star),o=!1;i||(this.options.ecmaVersion>=8&&r("async",!0)?(o=!0,i=this.options.ecmaVersion>=9&&this.eat(f.star)):r("get")?n.kind="get":r("set")&&(n.kind="set")),n.key||this.parsePropertyName(n);var s=n.key,h=!1;return!n.computed&&!n.static&&(s.type==="Identifier"&&s.name==="constructor"||s.type==="Literal"&&s.value==="constructor")?(n.kind!=="method"&&this.raise(s.start,"Constructor can't have get/set modifier"),i&&this.raise(s.start,"Constructor can't be a generator"),o&&this.raise(s.start,"Constructor can't be an async method"),n.kind="constructor",h=e):n.static&&s.type==="Identifier"&&s.name==="prototype"&&this.raise(s.start,"Classes may not have a static property named prototype"),this.parseClassMethod(n,i,o,h),n.kind==="get"&&n.value.params.length!==0&&this.raiseRecoverable(n.value.start,"getter should have no params"),n.kind==="set"&&n.value.params.length!==1&&this.raiseRecoverable(n.value.start,"setter should have exactly one param"),n.kind==="set"&&n.value.params[0].type==="RestElement"&&this.raiseRecoverable(n.value.params[0].start,"Setter cannot use rest params"),n},z.parseClassMethod=function(e,t,n,r){return e.value=this.parseMethod(t,n,r),this.finishNode(e,"MethodDefinition")},z.parseClassId=function(e,t){this.type===f.name?(e.id=this.parseIdent(),t&&this.checkLVal(e.id,ve,!1)):(t===!0&&this.unexpected(),e.id=null)},z.parseClassSuper=function(e){e.superClass=this.eat(f._extends)?this.parseExprSubscripts():null},z.parseExport=function(e,t){if(this.next(),this.eat(f.star))return this.options.ecmaVersion>=11&&(this.eatContextual("as")?(e.exported=this.parseIdent(!0),this.checkExport(t,e.exported.name,this.lastTokStart)):e.exported=null),this.expectContextual("from"),this.type!==f.string&&this.unexpected(),e.source=this.parseExprAtom(),this.semicolon(),this.finishNode(e,"ExportAllDeclaration");if(this.eat(f._default)){this.checkExport(t,"default",this.lastTokStart);var n;if(this.type===f._function||(n=this.isAsyncFunction())){var r=this.startNode();this.next(),n&&this.next(),e.declaration=this.parseFunction(r,Ye|Zt,!1,n)}else if(this.type===f._class){var i=this.startNode();e.declaration=this.parseClass(i,"nullableID")}else e.declaration=this.parseMaybeAssign(),this.semicolon();return this.finishNode(e,"ExportDefaultDeclaration")}if(this.shouldParseExportStatement())e.declaration=this.parseStatement(null),e.declaration.type==="VariableDeclaration"?this.checkVariableExport(t,e.declaration.declarations):this.checkExport(t,e.declaration.id.name,e.declaration.id.start),e.specifiers=[],e.source=null;else{if(e.declaration=null,e.specifiers=this.parseExportSpecifiers(t),this.eatContextual("from"))this.type!==f.string&&this.unexpected(),e.source=this.parseExprAtom();else{for(var o=0,s=e.specifiers;o<s.length;o+=1){var h=s[o];this.checkUnreserved(h.local),this.checkLocalExport(h.local)}e.source=null}this.semicolon()}return this.finishNode(e,"ExportNamedDeclaration")},z.checkExport=function(e,t,n){e&&(Nt(e,t)&&this.raiseRecoverable(n,"Duplicate export '"+t+"'"),e[t]=!0)},z.checkPatternExport=function(e,t){var n=t.type;if(n==="Identifier")this.checkExport(e,t.name,t.start);else if(n==="ObjectPattern")for(var r=0,i=t.properties;r<i.length;r+=1){var o=i[r];this.checkPatternExport(e,o)}else if(n==="ArrayPattern")for(var s=0,h=t.elements;s<h.length;s+=1){var p=h[s];p&&this.checkPatternExport(e,p)}else n==="Property"?this.checkPatternExport(e,t.value):n==="AssignmentPattern"?this.checkPatternExport(e,t.left):n==="RestElement"?this.checkPatternExport(e,t.argument):n==="ParenthesizedExpression"&&this.checkPatternExport(e,t.expression)},z.checkVariableExport=function(e,t){if(e)for(var n=0,r=t;n<r.length;n+=1){var i=r[n];this.checkPatternExport(e,i.id)}},z.shouldParseExportStatement=function(){return this.type.keyword==="var"||this.type.keyword==="const"||this.type.keyword==="class"||this.type.keyword==="function"||this.isLet()||this.isAsyncFunction()},z.parseExportSpecifiers=function(e){var t=[],n=!0;for(this.expect(f.braceL);!this.eat(f.braceR);){if(n)n=!1;else if(this.expect(f.comma),this.afterTrailingComma(f.braceR))break;var r=this.startNode();r.local=this.parseIdent(!0),r.exported=this.eatContextual("as")?this.parseIdent(!0):r.local,this.checkExport(e,r.exported.name,r.exported.start),t.push(this.finishNode(r,"ExportSpecifier"))}return t},z.parseImport=function(e){return this.next(),this.type===f.string?(e.specifiers=tr,e.source=this.parseExprAtom()):(e.specifiers=this.parseImportSpecifiers(),this.expectContextual("from"),e.source=this.type===f.string?this.parseExprAtom():this.unexpected()),this.semicolon(),this.finishNode(e,"ImportDeclaration")},z.parseImportSpecifiers=function(){var e=[],t=!0;if(this.type===f.name){var n=this.startNode();if(n.local=this.parseIdent(),this.checkLVal(n.local,ve),e.push(this.finishNode(n,"ImportDefaultSpecifier")),!this.eat(f.comma))return e}if(this.type===f.star){var r=this.startNode();return this.next(),this.expectContextual("as"),r.local=this.parseIdent(),this.checkLVal(r.local,ve),e.push(this.finishNode(r,"ImportNamespaceSpecifier")),e}for(this.expect(f.braceL);!this.eat(f.braceR);){if(t)t=!1;else if(this.expect(f.comma),this.afterTrailingComma(f.braceR))break;var i=this.startNode();i.imported=this.parseIdent(!0),this.eatContextual("as")?i.local=this.parseIdent():(this.checkUnreserved(i.imported),i.local=i.imported),this.checkLVal(i.local,ve),e.push(this.finishNode(i,"ImportSpecifier"))}return e},z.adaptDirectivePrologue=function(e){for(var t=0;t<e.length&&this.isDirectiveCandidate(e[t]);++t)e[t].directive=e[t].expression.raw.slice(1,-1)},z.isDirectiveCandidate=function(e){return e.type==="ExpressionStatement"&&e.expression.type==="Literal"&&typeof e.expression.value=="string"&&(this.input[e.start]==='"'||this.input[e.start]==="'")},_e=te.prototype,_e.toAssignable=function(e,t,n){if(this.options.ecmaVersion>=6&&e)switch(e.type){case"Identifier":this.inAsync&&e.name==="await"&&this.raise(e.start,"Cannot use 'await' as identifier inside an async function");break;case"ObjectPattern":case"ArrayPattern":case"RestElement":break;case"ObjectExpression":e.type="ObjectPattern",n&&this.checkPatternErrors(n,!0);for(var r=0,i=e.properties;r<i.length;r+=1){var o=i[r];this.toAssignable(o,t),o.type==="RestElement"&&(o.argument.type==="ArrayPattern"||o.argument.type==="ObjectPattern")&&this.raise(o.argument.start,"Unexpected token")}break;case"Property":e.kind!=="init"&&this.raise(e.key.start,"Object pattern can't contain getter or setter"),this.toAssignable(e.value,t);break;case"ArrayExpression":e.type="ArrayPattern",n&&this.checkPatternErrors(n,!0),this.toAssignableList(e.elements,t);break;case"SpreadElement":e.type="RestElement",this.toAssignable(e.argument,t),e.argument.type==="AssignmentPattern"&&this.raise(e.argument.start,"Rest elements cannot have a default value");break;case"AssignmentExpression":e.operator!=="="&&this.raise(e.left.end,"Only '=' operator can be used for specifying default value."),e.type="AssignmentPattern",delete e.operator,this.toAssignable(e.left,t);case"AssignmentPattern":break;case"ParenthesizedExpression":this.toAssignable(e.expression,t,n);break;case"ChainExpression":this.raiseRecoverable(e.start,"Optional chaining cannot appear in left-hand side");break;case"MemberExpression":if(!t)break;default:this.raise(e.start,"Assigning to rvalue")}else n&&this.checkPatternErrors(n,!0);return e},_e.toAssignableList=function(e,t){for(var n=e.length,r=0;r<n;r++){var i=e[r];i&&this.toAssignable(i,t)}if(n){var o=e[n-1];this.options.ecmaVersion===6&&t&&o&&o.type==="RestElement"&&o.argument.type!=="Identifier"&&this.unexpected(o.argument.start)}return e},_e.parseSpread=function(e){var t=this.startNode();return this.next(),t.argument=this.parseMaybeAssign(!1,e),this.finishNode(t,"SpreadElement")},_e.parseRestBinding=function(){var e=this.startNode();return this.next(),this.options.ecmaVersion===6&&this.type!==f.name&&this.unexpected(),e.argument=this.parseBindingAtom(),this.finishNode(e,"RestElement")},_e.parseBindingAtom=function(){if(this.options.ecmaVersion>=6)switch(this.type){case f.bracketL:var e=this.startNode();return this.next(),e.elements=this.parseBindingList(f.bracketR,!0,!0),this.finishNode(e,"ArrayPattern");case f.braceL:return this.parseObj(!0)}return this.parseIdent()},_e.parseBindingList=function(e,t,n){for(var r=[],i=!0;!this.eat(e);)if(i?i=!1:this.expect(f.comma),t&&this.type===f.comma)r.push(null);else{if(n&&this.afterTrailingComma(e))break;if(this.type===f.ellipsis){var o=this.parseRestBinding();this.parseBindingListItem(o),r.push(o),this.type===f.comma&&this.raise(this.start,"Comma is not permitted after the rest element"),this.expect(e);break}else{var s=this.parseMaybeDefault(this.start,this.startLoc);this.parseBindingListItem(s),r.push(s)}}return r},_e.parseBindingListItem=function(e){return e},_e.parseMaybeDefault=function(e,t,n){if(n=n||this.parseBindingAtom(),this.options.ecmaVersion<6||!this.eat(f.eq))return n;var r=this.startNodeAt(e,t);return r.left=n,r.right=this.parseMaybeAssign(),this.finishNode(r,"AssignmentPattern")},_e.checkLVal=function(e,t,n){switch(t===void 0&&(t=Ht),e.type){case"Identifier":t===ve&&e.name==="let"&&this.raiseRecoverable(e.start,"let is disallowed as a lexically bound name"),this.strict&&this.reservedWordsStrictBind.test(e.name)&&this.raiseRecoverable(e.start,(t?"Binding ":"Assigning to ")+e.name+" in strict mode"),n&&(Nt(n,e.name)&&this.raiseRecoverable(e.start,"Argument name clash"),n[e.name]=!0),t!==Ht&&t!==Kt&&this.declareName(e.name,t,e.start);break;case"ChainExpression":this.raiseRecoverable(e.start,"Optional chaining cannot appear in left-hand side");break;case"MemberExpression":t&&this.raiseRecoverable(e.start,"Binding member expression");break;case"ObjectPattern":for(var r=0,i=e.properties;r<i.length;r+=1){var o=i[r];this.checkLVal(o,t,n)}break;case"Property":this.checkLVal(e.value,t,n);break;case"ArrayPattern":for(var s=0,h=e.elements;s<h.length;s+=1){var p=h[s];p&&this.checkLVal(p,t,n)}break;case"AssignmentPattern":this.checkLVal(e.left,t,n);break;case"RestElement":this.checkLVal(e.argument,t,n);break;case"ParenthesizedExpression":this.checkLVal(e.expression,t,n);break;default:this.raise(e.start,(t?"Binding":"Assigning to")+" rvalue")}},G=te.prototype,G.checkPropClash=function(e,t,n){if(!(this.options.ecmaVersion>=9&&e.type==="SpreadElement")&&!(this.options.ecmaVersion>=6&&(e.computed||e.method||e.shorthand))){var r=e.key,i;switch(r.type){case"Identifier":i=r.name;break;case"Literal":i=String(r.value);break;default:return}var o=e.kind;if(this.options.ecmaVersion>=6){i==="__proto__"&&o==="init"&&(t.proto&&(n?n.doubleProto<0&&(n.doubleProto=r.start):this.raiseRecoverable(r.start,"Redefinition of __proto__ property")),t.proto=!0);return}i="$"+i;var s=t[i];if(s){var h;o==="init"?h=this.strict&&s.init||s.get||s.set:h=s.init||s[o],h&&this.raiseRecoverable(r.start,"Redefinition of property")}else s=t[i]={init:!1,get:!1,set:!1};s[o]=!0}},G.parseExpression=function(e,t){var n=this.start,r=this.startLoc,i=this.parseMaybeAssign(e,t);if(this.type===f.comma){var o=this.startNodeAt(n,r);for(o.expressions=[i];this.eat(f.comma);)o.expressions.push(this.parseMaybeAssign(e,t));return this.finishNode(o,"SequenceExpression")}return i},G.parseMaybeAssign=function(e,t,n){if(this.isContextual("yield")){if(this.inGenerator)return this.parseYield(e);this.exprAllowed=!1}var r=!1,i=-1,o=-1;t?(i=t.parenthesizedAssign,o=t.trailingComma,t.parenthesizedAssign=t.trailingComma=-1):(t=new vt,r=!0);var s=this.start,h=this.startLoc;(this.type===f.parenL||this.type===f.name)&&(this.potentialArrowAt=this.start);var p=this.parseMaybeConditional(e,t);if(n&&(p=n.call(this,p,s,h)),this.type.isAssign){var A=this.startNodeAt(s,h);return A.operator=this.value,A.left=this.type===f.eq?this.toAssignable(p,!1,t):p,r||(t.parenthesizedAssign=t.trailingComma=t.doubleProto=-1),t.shorthandAssign>=A.left.start&&(t.shorthandAssign=-1),this.checkLVal(p),this.next(),A.right=this.parseMaybeAssign(e),this.finishNode(A,"AssignmentExpression")}else r&&this.checkExpressionErrors(t,!0);return i>-1&&(t.parenthesizedAssign=i),o>-1&&(t.trailingComma=o),p},G.parseMaybeConditional=function(e,t){var n=this.start,r=this.startLoc,i=this.parseExprOps(e,t);if(this.checkExpressionErrors(t))return i;if(this.eat(f.question)){var o=this.startNodeAt(n,r);return o.test=i,o.consequent=this.parseMaybeAssign(),this.expect(f.colon),o.alternate=this.parseMaybeAssign(e),this.finishNode(o,"ConditionalExpression")}return i},G.parseExprOps=function(e,t){var n=this.start,r=this.startLoc,i=this.parseMaybeUnary(t,!1);return this.checkExpressionErrors(t)||i.start===n&&i.type==="ArrowFunctionExpression"?i:this.parseExprOp(i,n,r,-1,e)},G.parseExprOp=function(e,t,n,r,i){var o=this.type.binop;if(o!=null&&(!i||this.type!==f._in)&&o>r){var s=this.type===f.logicalOR||this.type===f.logicalAND,h=this.type===f.coalesce;h&&(o=f.logicalAND.binop);var p=this.value;this.next();var A=this.start,D=this.startLoc,y=this.parseExprOp(this.parseMaybeUnary(null,!1),A,D,o,i),C=this.buildBinary(t,n,e,y,p,s||h);return(s&&this.type===f.coalesce||h&&(this.type===f.logicalOR||this.type===f.logicalAND))&&this.raiseRecoverable(this.start,"Logical expressions and coalesce expressions cannot be mixed. Wrap either by parentheses"),this.parseExprOp(C,t,n,r,i)}return e},G.buildBinary=function(e,t,n,r,i,o){var s=this.startNodeAt(e,t);return s.left=n,s.operator=i,s.right=r,this.finishNode(s,o?"LogicalExpression":"BinaryExpression")},G.parseMaybeUnary=function(e,t){var n=this.start,r=this.startLoc,i;if(this.isContextual("await")&&(this.inAsync||!this.inFunction&&this.options.allowAwaitOutsideFunction))i=this.parseAwait(),t=!0;else if(this.type.prefix){var o=this.startNode(),s=this.type===f.incDec;o.operator=this.value,o.prefix=!0,this.next(),o.argument=this.parseMaybeUnary(null,!0),this.checkExpressionErrors(e,!0),s?this.checkLVal(o.argument):this.strict&&o.operator==="delete"&&o.argument.type==="Identifier"?this.raiseRecoverable(o.start,"Deleting local variable in strict mode"):t=!0,i=this.finishNode(o,s?"UpdateExpression":"UnaryExpression")}else{if(i=this.parseExprSubscripts(e),this.checkExpressionErrors(e))return i;for(;this.type.postfix&&!this.canInsertSemicolon();){var h=this.startNodeAt(n,r);h.operator=this.value,h.prefix=!1,h.argument=i,this.checkLVal(i),this.next(),i=this.finishNode(h,"UpdateExpression")}}return!t&&this.eat(f.starstar)?this.buildBinary(n,r,i,this.parseMaybeUnary(null,!1),"**",!1):i},G.parseExprSubscripts=function(e){var t=this.start,n=this.startLoc,r=this.parseExprAtom(e);if(r.type==="ArrowFunctionExpression"&&this.input.slice(this.lastTokStart,this.lastTokEnd)!==")")return r;var i=this.parseSubscripts(r,t,n);return e&&i.type==="MemberExpression"&&(e.parenthesizedAssign>=i.start&&(e.parenthesizedAssign=-1),e.parenthesizedBind>=i.start&&(e.parenthesizedBind=-1)),i},G.parseSubscripts=function(e,t,n,r){for(var i=this.options.ecmaVersion>=8&&e.type==="Identifier"&&e.name==="async"&&this.lastTokEnd===e.end&&!this.canInsertSemicolon()&&e.end-e.start===5&&this.potentialArrowAt===e.start,o=!1;;){var s=this.parseSubscript(e,t,n,r,i,o);if(s.optional&&(o=!0),s===e||s.type==="ArrowFunctionExpression"){if(o){var h=this.startNodeAt(t,n);h.expression=s,s=this.finishNode(h,"ChainExpression")}return s}e=s}},G.parseSubscript=function(e,t,n,r,i,o){var s=this.options.ecmaVersion>=11,h=s&&this.eat(f.questionDot);r&&h&&this.raise(this.lastTokStart,"Optional chaining cannot appear in the callee of new expressions");var p=this.eat(f.bracketL);if(p||h&&this.type!==f.parenL&&this.type!==f.backQuote||this.eat(f.dot)){var A=this.startNodeAt(t,n);A.object=e,A.property=p?this.parseExpression():this.parseIdent(this.options.allowReserved!=="never"),A.computed=!!p,p&&this.expect(f.bracketR),s&&(A.optional=h),e=this.finishNode(A,"MemberExpression")}else if(!r&&this.eat(f.parenL)){var D=new vt,y=this.yieldPos,C=this.awaitPos,g=this.awaitIdentPos;this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0;var m=this.parseExprList(f.parenR,this.options.ecmaVersion>=8,!1,D);if(i&&!h&&!this.canInsertSemicolon()&&this.eat(f.arrow))return this.checkPatternErrors(D,!1),this.checkYieldAwaitInDefaultParams(),this.awaitIdentPos>0&&this.raise(this.awaitIdentPos,"Cannot use 'await' as identifier inside an async function"),this.yieldPos=y,this.awaitPos=C,this.awaitIdentPos=g,this.parseArrowExpression(this.startNodeAt(t,n),m,!0);this.checkExpressionErrors(D,!0),this.yieldPos=y||this.yieldPos,this.awaitPos=C||this.awaitPos,this.awaitIdentPos=g||this.awaitIdentPos;var E=this.startNodeAt(t,n);E.callee=e,E.arguments=m,s&&(E.optional=h),e=this.finishNode(E,"CallExpression")}else if(this.type===f.backQuote){(h||o)&&this.raise(this.start,"Optional chaining cannot appear in the tag of tagged template expressions");var w=this.startNodeAt(t,n);w.tag=e,w.quasi=this.parseTemplate({isTagged:!0}),e=this.finishNode(w,"TaggedTemplateExpression")}return e},G.parseExprAtom=function(e){this.type===f.slash&&this.readRegexp();var t,n=this.potentialArrowAt===this.start;switch(this.type){case f._super:return this.allowSuper||this.raise(this.start,"'super' keyword outside a method"),t=this.startNode(),this.next(),this.type===f.parenL&&!this.allowDirectSuper&&this.raise(t.start,"super() call outside constructor of a subclass"),this.type!==f.dot&&this.type!==f.bracketL&&this.type!==f.parenL&&this.unexpected(),this.finishNode(t,"Super");case f._this:return t=this.startNode(),this.next(),this.finishNode(t,"ThisExpression");case f.name:var r=this.start,i=this.startLoc,o=this.containsEsc,s=this.parseIdent(!1);if(this.options.ecmaVersion>=8&&!o&&s.name==="async"&&!this.canInsertSemicolon()&&this.eat(f._function))return this.parseFunction(this.startNodeAt(r,i),0,!1,!0);if(n&&!this.canInsertSemicolon()){if(this.eat(f.arrow))return this.parseArrowExpression(this.startNodeAt(r,i),[s],!1);if(this.options.ecmaVersion>=8&&s.name==="async"&&this.type===f.name&&!o)return s=this.parseIdent(!1),(this.canInsertSemicolon()||!this.eat(f.arrow))&&this.unexpected(),this.parseArrowExpression(this.startNodeAt(r,i),[s],!0)}return s;case f.regexp:var h=this.value;return t=this.parseLiteral(h.value),t.regex={pattern:h.pattern,flags:h.flags},t;case f.num:case f.string:return this.parseLiteral(this.value);case f._null:case f._true:case f._false:return t=this.startNode(),t.value=this.type===f._null?null:this.type===f._true,t.raw=this.type.keyword,this.next(),this.finishNode(t,"Literal");case f.parenL:var p=this.start,A=this.parseParenAndDistinguishExpression(n);return e&&(e.parenthesizedAssign<0&&!this.isSimpleAssignTarget(A)&&(e.parenthesizedAssign=p),e.parenthesizedBind<0&&(e.parenthesizedBind=p)),A;case f.bracketL:return t=this.startNode(),this.next(),t.elements=this.parseExprList(f.bracketR,!0,!0,e),this.finishNode(t,"ArrayExpression");case f.braceL:return this.parseObj(!1,e);case f._function:return t=this.startNode(),this.next(),this.parseFunction(t,0);case f._class:return this.parseClass(this.startNode(),!1);case f._new:return this.parseNew();case f.backQuote:return this.parseTemplate();case f._import:return this.options.ecmaVersion>=11?this.parseExprImport():this.unexpected();default:this.unexpected()}},G.parseExprImport=function(){var e=this.startNode();this.containsEsc&&this.raiseRecoverable(this.start,"Escape sequence in keyword import");var t=this.parseIdent(!0);switch(this.type){case f.parenL:return this.parseDynamicImport(e);case f.dot:return e.meta=t,this.parseImportMeta(e);default:this.unexpected()}},G.parseDynamicImport=function(e){if(this.next(),e.source=this.parseMaybeAssign(),!this.eat(f.parenR)){var t=this.start;this.eat(f.comma)&&this.eat(f.parenR)?this.raiseRecoverable(t,"Trailing comma is not allowed in import()"):this.unexpected(t)}return this.finishNode(e,"ImportExpression")},G.parseImportMeta=function(e){this.next();var t=this.containsEsc;return e.property=this.parseIdent(!0),e.property.name!=="meta"&&this.raiseRecoverable(e.property.start,"The only valid meta property for import is 'import.meta'"),t&&this.raiseRecoverable(e.start,"'import.meta' must not contain escaped characters"),this.options.sourceType!=="module"&&this.raiseRecoverable(e.start,"Cannot use 'import.meta' outside a module"),this.finishNode(e,"MetaProperty")},G.parseLiteral=function(e){var t=this.startNode();return t.value=e,t.raw=this.input.slice(this.start,this.end),t.raw.charCodeAt(t.raw.length-1)===110&&(t.bigint=t.raw.slice(0,-1).replace(/_/g,"")),this.next(),this.finishNode(t,"Literal")},G.parseParenExpression=function(){this.expect(f.parenL);var e=this.parseExpression();return this.expect(f.parenR),e},G.parseParenAndDistinguishExpression=function(e){var t=this.start,n=this.startLoc,r,i=this.options.ecmaVersion>=8;if(this.options.ecmaVersion>=6){this.next();var o=this.start,s=this.startLoc,h=[],p=!0,A=!1,D=new vt,y=this.yieldPos,C=this.awaitPos,g;for(this.yieldPos=0,this.awaitPos=0;this.type!==f.parenR;)if(p?p=!1:this.expect(f.comma),i&&this.afterTrailingComma(f.parenR,!0)){A=!0;break}else if(this.type===f.ellipsis){g=this.start,h.push(this.parseParenItem(this.parseRestBinding())),this.type===f.comma&&this.raise(this.start,"Comma is not permitted after the rest element");break}else h.push(this.parseMaybeAssign(!1,D,this.parseParenItem));var m=this.start,E=this.startLoc;if(this.expect(f.parenR),e&&!this.canInsertSemicolon()&&this.eat(f.arrow))return this.checkPatternErrors(D,!1),this.checkYieldAwaitInDefaultParams(),this.yieldPos=y,this.awaitPos=C,this.parseParenArrowList(t,n,h);(!h.length||A)&&this.unexpected(this.lastTokStart),g&&this.unexpected(g),this.checkExpressionErrors(D,!0),this.yieldPos=y||this.yieldPos,this.awaitPos=C||this.awaitPos,h.length>1?(r=this.startNodeAt(o,s),r.expressions=h,this.finishNodeAt(r,"SequenceExpression",m,E)):r=h[0]}else r=this.parseParenExpression();if(this.options.preserveParens){var w=this.startNodeAt(t,n);return w.expression=r,this.finishNode(w,"ParenthesizedExpression")}else return r},G.parseParenItem=function(e){return e},G.parseParenArrowList=function(e,t,n){return this.parseArrowExpression(this.startNodeAt(e,t),n)},nr=[],G.parseNew=function(){this.containsEsc&&this.raiseRecoverable(this.start,"Escape sequence in keyword new");var e=this.startNode(),t=this.parseIdent(!0);if(this.options.ecmaVersion>=6&&this.eat(f.dot)){e.meta=t;var n=this.containsEsc;return e.property=this.parseIdent(!0),e.property.name!=="target"&&this.raiseRecoverable(e.property.start,"The only valid meta property for new is 'new.target'"),n&&this.raiseRecoverable(e.start,"'new.target' must not contain escaped characters"),this.inNonArrowFunction()||this.raiseRecoverable(e.start,"'new.target' can only be used in functions"),this.finishNode(e,"MetaProperty")}var r=this.start,i=this.startLoc,o=this.type===f._import;return e.callee=this.parseSubscripts(this.parseExprAtom(),r,i,!0),o&&e.callee.type==="ImportExpression"&&this.raise(r,"Cannot use new with import()"),this.eat(f.parenL)?e.arguments=this.parseExprList(f.parenR,this.options.ecmaVersion>=8,!1):e.arguments=nr,this.finishNode(e,"NewExpression")},G.parseTemplateElement=function(e){var t=e.isTagged,n=this.startNode();return this.type===f.invalidTemplate?(t||this.raiseRecoverable(this.start,"Bad escape sequence in untagged template literal"),n.value={raw:this.value,cooked:null}):n.value={raw:this.input.slice(this.start,this.end).replace(/\r\n?/g,` -`),cooked:this.value},this.next(),n.tail=this.type===f.backQuote,this.finishNode(n,"TemplateElement")},G.parseTemplate=function(e){e===void 0&&(e={});var t=e.isTagged;t===void 0&&(t=!1);var n=this.startNode();this.next(),n.expressions=[];var r=this.parseTemplateElement({isTagged:t});for(n.quasis=[r];!r.tail;)this.type===f.eof&&this.raise(this.pos,"Unterminated template literal"),this.expect(f.dollarBraceL),n.expressions.push(this.parseExpression()),this.expect(f.braceR),n.quasis.push(r=this.parseTemplateElement({isTagged:t}));return this.next(),this.finishNode(n,"TemplateLiteral")},G.isAsyncProp=function(e){return!e.computed&&e.key.type==="Identifier"&&e.key.name==="async"&&(this.type===f.name||this.type===f.num||this.type===f.string||this.type===f.bracketL||this.type.keyword||this.options.ecmaVersion>=9&&this.type===f.star)&&!me.test(this.input.slice(this.lastTokEnd,this.start))},G.parseObj=function(e,t){var n=this.startNode(),r=!0,i={};for(n.properties=[],this.next();!this.eat(f.braceR);){if(r)r=!1;else if(this.expect(f.comma),this.options.ecmaVersion>=5&&this.afterTrailingComma(f.braceR))break;var o=this.parseProperty(e,t);e||this.checkPropClash(o,i,t),n.properties.push(o)}return this.finishNode(n,e?"ObjectPattern":"ObjectExpression")},G.parseProperty=function(e,t){var n=this.startNode(),r,i,o,s;if(this.options.ecmaVersion>=9&&this.eat(f.ellipsis))return e?(n.argument=this.parseIdent(!1),this.type===f.comma&&this.raise(this.start,"Comma is not permitted after the rest element"),this.finishNode(n,"RestElement")):(this.type===f.parenL&&t&&(t.parenthesizedAssign<0&&(t.parenthesizedAssign=this.start),t.parenthesizedBind<0&&(t.parenthesizedBind=this.start)),n.argument=this.parseMaybeAssign(!1,t),this.type===f.comma&&t&&t.trailingComma<0&&(t.trailingComma=this.start),this.finishNode(n,"SpreadElement"));this.options.ecmaVersion>=6&&(n.method=!1,n.shorthand=!1,(e||t)&&(o=this.start,s=this.startLoc),e||(r=this.eat(f.star)));var h=this.containsEsc;return this.parsePropertyName(n),!e&&!h&&this.options.ecmaVersion>=8&&!r&&this.isAsyncProp(n)?(i=!0,r=this.options.ecmaVersion>=9&&this.eat(f.star),this.parsePropertyName(n,t)):i=!1,this.parsePropertyValue(n,e,r,i,o,s,t,h),this.finishNode(n,"Property")},G.parsePropertyValue=function(e,t,n,r,i,o,s,h){if((n||r)&&this.type===f.colon&&this.unexpected(),this.eat(f.colon))e.value=t?this.parseMaybeDefault(this.start,this.startLoc):this.parseMaybeAssign(!1,s),e.kind="init";else if(this.options.ecmaVersion>=6&&this.type===f.parenL)t&&this.unexpected(),e.kind="init",e.method=!0,e.value=this.parseMethod(n,r);else if(!t&&!h&&this.options.ecmaVersion>=5&&!e.computed&&e.key.type==="Identifier"&&(e.key.name==="get"||e.key.name==="set")&&this.type!==f.comma&&this.type!==f.braceR&&this.type!==f.eq){(n||r)&&this.unexpected(),e.kind=e.key.name,this.parsePropertyName(e),e.value=this.parseMethod(!1);var p=e.kind==="get"?0:1;if(e.value.params.length!==p){var A=e.value.start;e.kind==="get"?this.raiseRecoverable(A,"getter should have no params"):this.raiseRecoverable(A,"setter should have exactly one param")}else e.kind==="set"&&e.value.params[0].type==="RestElement"&&this.raiseRecoverable(e.value.params[0].start,"Setter cannot use rest params")}else this.options.ecmaVersion>=6&&!e.computed&&e.key.type==="Identifier"?((n||r)&&this.unexpected(),this.checkUnreserved(e.key),e.key.name==="await"&&!this.awaitIdentPos&&(this.awaitIdentPos=i),e.kind="init",t?e.value=this.parseMaybeDefault(i,o,e.key):this.type===f.eq&&s?(s.shorthandAssign<0&&(s.shorthandAssign=this.start),e.value=this.parseMaybeDefault(i,o,e.key)):e.value=e.key,e.shorthand=!0):this.unexpected()},G.parsePropertyName=function(e){if(this.options.ecmaVersion>=6){if(this.eat(f.bracketL))return e.computed=!0,e.key=this.parseMaybeAssign(),this.expect(f.bracketR),e.key;e.computed=!1}return e.key=this.type===f.num||this.type===f.string?this.parseExprAtom():this.parseIdent(this.options.allowReserved!=="never")},G.initFunction=function(e){e.id=null,this.options.ecmaVersion>=6&&(e.generator=e.expression=!1),this.options.ecmaVersion>=8&&(e.async=!1)},G.parseMethod=function(e,t,n){var r=this.startNode(),i=this.yieldPos,o=this.awaitPos,s=this.awaitIdentPos;return this.initFunction(r),this.options.ecmaVersion>=6&&(r.generator=e),this.options.ecmaVersion>=8&&(r.async=!!t),this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,this.enterScope(Vt(t,r.generator)|Jt|(n?Xt:0)),this.expect(f.parenL),r.params=this.parseBindingList(f.parenR,!1,this.options.ecmaVersion>=8),this.checkYieldAwaitInDefaultParams(),this.parseFunctionBody(r,!1,!0),this.yieldPos=i,this.awaitPos=o,this.awaitIdentPos=s,this.finishNode(r,"FunctionExpression")},G.parseArrowExpression=function(e,t,n){var r=this.yieldPos,i=this.awaitPos,o=this.awaitIdentPos;return this.enterScope(Vt(n,!1)|Gt),this.initFunction(e),this.options.ecmaVersion>=8&&(e.async=!!n),this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,e.params=this.toAssignableList(t,!0),this.parseFunctionBody(e,!0,!1),this.yieldPos=r,this.awaitPos=i,this.awaitIdentPos=o,this.finishNode(e,"ArrowFunctionExpression")},G.parseFunctionBody=function(e,t,n){var r=t&&this.type!==f.braceL,i=this.strict,o=!1;if(r)e.body=this.parseMaybeAssign(),e.expression=!0,this.checkParams(e,!1);else{var s=this.options.ecmaVersion>=7&&!this.isSimpleParamList(e.params);(!i||s)&&(o=this.strictDirective(this.end),o&&s&&this.raiseRecoverable(e.start,"Illegal 'use strict' directive in function with non-simple parameter list"));var h=this.labels;this.labels=[],o&&(this.strict=!0),this.checkParams(e,!i&&!o&&!t&&!n&&this.isSimpleParamList(e.params)),this.strict&&e.id&&this.checkLVal(e.id,Kt),e.body=this.parseBlock(!1,void 0,o&&!i),e.expression=!1,this.adaptDirectivePrologue(e.body.body),this.labels=h}this.exitScope()},G.isSimpleParamList=function(e){for(var t=0,n=e;t<n.length;t+=1){var r=n[t];if(r.type!=="Identifier")return!1}return!0},G.checkParams=function(e,t){for(var n={},r=0,i=e.params;r<i.length;r+=1){var o=i[r];this.checkLVal(o,It,t?null:n)}},G.parseExprList=function(e,t,n,r){for(var i=[],o=!0;!this.eat(e);){if(o)o=!1;else if(this.expect(f.comma),t&&this.afterTrailingComma(e))break;var s=void 0;n&&this.type===f.comma?s=null:this.type===f.ellipsis?(s=this.parseSpread(r),r&&this.type===f.comma&&r.trailingComma<0&&(r.trailingComma=this.start)):s=this.parseMaybeAssign(!1,r),i.push(s)}return i},G.checkUnreserved=function(e){var t=e.start,n=e.end,r=e.name;if(this.inGenerator&&r==="yield"&&this.raiseRecoverable(t,"Cannot use 'yield' as identifier inside a generator"),this.inAsync&&r==="await"&&this.raiseRecoverable(t,"Cannot use 'await' as identifier inside an async function"),this.keywords.test(r)&&this.raise(t,"Unexpected keyword '"+r+"'"),!(this.options.ecmaVersion<6&&this.input.slice(t,n).indexOf("\\")!==-1)){var i=this.strict?this.reservedWordsStrict:this.reservedWords;i.test(r)&&(!this.inAsync&&r==="await"&&this.raiseRecoverable(t,"Cannot use keyword 'await' outside an async function"),this.raiseRecoverable(t,"The keyword '"+r+"' is reserved"))}},G.parseIdent=function(e,t){var n=this.startNode();return this.type===f.name?n.name=this.value:this.type.keyword?(n.name=this.type.keyword,(n.name==="class"||n.name==="function")&&(this.lastTokEnd!==this.lastTokStart+1||this.input.charCodeAt(this.lastTokStart)!==46)&&this.context.pop()):this.unexpected(),this.next(!!e),this.finishNode(n,"Identifier"),e||(this.checkUnreserved(n),n.name==="await"&&!this.awaitIdentPos&&(this.awaitIdentPos=n.start)),n},G.parseYield=function(e){this.yieldPos||(this.yieldPos=this.start);var t=this.startNode();return this.next(),this.type===f.semi||this.canInsertSemicolon()||this.type!==f.star&&!this.type.startsExpr?(t.delegate=!1,t.argument=null):(t.delegate=this.eat(f.star),t.argument=this.parseMaybeAssign(e)),this.finishNode(t,"YieldExpression")},G.parseAwait=function(){this.awaitPos||(this.awaitPos=this.start);var e=this.startNode();return this.next(),e.argument=this.parseMaybeUnary(null,!1),this.finishNode(e,"AwaitExpression")},ot=te.prototype,ot.raise=function(e,t){var n=cn(this.input,e);t+=" ("+n.line+":"+n.column+")";var r=new SyntaxError(t);throw r.pos=e,r.loc=n,r.raisedAt=this.pos,r},ot.raiseRecoverable=ot.raise,ot.curPosition=function(){if(this.options.locations)return new Ue(this.curLine,this.pos-this.lineStart)},Ie=te.prototype,rr=function(e){this.flags=e,this.var=[],this.lexical=[],this.functions=[]},Ie.enterScope=function(e){this.scopeStack.push(new rr(e))},Ie.exitScope=function(){this.scopeStack.pop()},Ie.treatFunctionsAsVarInScope=function(e){return e.flags&Ze||!this.inModule&&e.flags&Qe},Ie.declareName=function(e,t,n){var r=!1;if(t===ve){var i=this.currentScope();r=i.lexical.indexOf(e)>-1||i.functions.indexOf(e)>-1||i.var.indexOf(e)>-1,i.lexical.push(e),this.inModule&&i.flags&Qe&&delete this.undefinedExports[e]}else if(t===Yt){var o=this.currentScope();o.lexical.push(e)}else if(t===Qt){var s=this.currentScope();this.treatFunctionsAsVar?r=s.lexical.indexOf(e)>-1:r=s.lexical.indexOf(e)>-1||s.var.indexOf(e)>-1,s.functions.push(e)}else for(var h=this.scopeStack.length-1;h>=0;--h){var p=this.scopeStack[h];if(p.lexical.indexOf(e)>-1&&!(p.flags&$t&&p.lexical[0]===e)||!this.treatFunctionsAsVarInScope(p)&&p.functions.indexOf(e)>-1){r=!0;break}if(p.var.push(e),this.inModule&&p.flags&Qe&&delete this.undefinedExports[e],p.flags&kt)break}r&&this.raiseRecoverable(n,"Identifier '"+e+"' has already been declared")},Ie.checkLocalExport=function(e){this.scopeStack[0].lexical.indexOf(e.name)===-1&&this.scopeStack[0].var.indexOf(e.name)===-1&&(this.undefinedExports[e.name]=e)},Ie.currentScope=function(){return this.scopeStack[this.scopeStack.length-1]},Ie.currentVarScope=function(){for(var e=this.scopeStack.length-1;;e--){var t=this.scopeStack[e];if(t.flags&kt)return t}},Ie.currentThisScope=function(){for(var e=this.scopeStack.length-1;;e--){var t=this.scopeStack[e];if(t.flags&kt&&!(t.flags&Gt))return t}},ht=function(e,t,n){this.type="",this.start=t,this.end=0,e.options.locations&&(this.loc=new et(e,n)),e.options.directSourceFile&&(this.sourceFile=e.options.directSourceFile),e.options.ranges&&(this.range=[t,0])},lt=te.prototype,lt.startNode=function(){return new ht(this,this.start,this.startLoc)},lt.startNodeAt=function(e,t){return new ht(this,e,t)},lt.finishNode=function(e,t){return zn.call(this,e,t,this.lastTokEnd,this.lastTokEndLoc)},lt.finishNodeAt=function(e,t,n,r){return zn.call(this,e,t,n,r)},Fe=function(e,t,n,r,i){this.token=e,this.isExpr=!!t,this.preserveSpace=!!n,this.override=r,this.generator=!!i},ue={b_stat:new Fe("{",!1),b_expr:new Fe("{",!0),b_tmpl:new Fe("${",!1),p_stat:new Fe("(",!1),p_expr:new Fe("(",!0),q_tmpl:new Fe("`",!0,!0,function(e){return e.tryReadTemplateToken()}),f_stat:new Fe("function",!1),f_expr:new Fe("function",!0),f_expr_gen:new Fe("function",!0,!1,null,!0),f_gen:new Fe("function",!1,!1,null,!0)},ct=te.prototype,ct.initialContext=function(){return[ue.b_stat]},ct.braceIsBlock=function(e){var t=this.curContext();return t===ue.f_expr||t===ue.f_stat?!0:e===f.colon&&(t===ue.b_stat||t===ue.b_expr)?!t.isExpr:e===f._return||e===f.name&&this.exprAllowed?me.test(this.input.slice(this.lastTokEnd,this.start)):e===f._else||e===f.semi||e===f.eof||e===f.parenR||e===f.arrow?!0:e===f.braceL?t===ue.b_stat:e===f._var||e===f._const||e===f.name?!1:!this.exprAllowed},ct.inGeneratorContext=function(){for(var e=this.context.length-1;e>=1;e--){var t=this.context[e];if(t.token==="function")return t.generator}return!1},ct.updateContext=function(e){var t,n=this.type;n.keyword&&e===f.dot?this.exprAllowed=!1:(t=n.updateContext)?t.call(this,e):this.exprAllowed=n.beforeExpr},f.parenR.updateContext=f.braceR.updateContext=function(){if(this.context.length===1){this.exprAllowed=!0;return}var e=this.context.pop();e===ue.b_stat&&this.curContext().token==="function"&&(e=this.context.pop()),this.exprAllowed=!e.isExpr},f.braceL.updateContext=function(e){this.context.push(this.braceIsBlock(e)?ue.b_stat:ue.b_expr),this.exprAllowed=!0},f.dollarBraceL.updateContext=function(){this.context.push(ue.b_tmpl),this.exprAllowed=!0},f.parenL.updateContext=function(e){var t=e===f._if||e===f._for||e===f._with||e===f._while;this.context.push(t?ue.p_stat:ue.p_expr),this.exprAllowed=!0},f.incDec.updateContext=function(){},f._function.updateContext=f._class.updateContext=function(e){e.beforeExpr&&e!==f.semi&&e!==f._else&&!(e===f._return&&me.test(this.input.slice(this.lastTokEnd,this.start)))&&!((e===f.colon||e===f.braceL)&&this.curContext()===ue.b_stat)?this.context.push(ue.f_expr):this.context.push(ue.f_stat),this.exprAllowed=!1},f.backQuote.updateContext=function(){this.curContext()===ue.q_tmpl?this.context.pop():this.context.push(ue.q_tmpl),this.exprAllowed=!1},f.star.updateContext=function(e){if(e===f._function){var t=this.context.length-1;this.context[t]===ue.f_expr?this.context[t]=ue.f_expr_gen:this.context[t]=ue.f_gen}this.exprAllowed=!0},f.name.updateContext=function(e){var t=!1;this.options.ecmaVersion>=6&&e!==f.dot&&(this.value==="of"&&!this.exprAllowed||this.value==="yield"&&this.inGeneratorContext())&&(t=!0),this.exprAllowed=t},en="ASCII ASCII_Hex_Digit AHex Alphabetic Alpha Any Assigned Bidi_Control Bidi_C Bidi_Mirrored Bidi_M Case_Ignorable CI Cased Changes_When_Casefolded CWCF Changes_When_Casemapped CWCM Changes_When_Lowercased CWL Changes_When_NFKC_Casefolded CWKCF Changes_When_Titlecased CWT Changes_When_Uppercased CWU Dash Default_Ignorable_Code_Point DI Deprecated Dep Diacritic Dia Emoji Emoji_Component Emoji_Modifier Emoji_Modifier_Base Emoji_Presentation Extender Ext Grapheme_Base Gr_Base Grapheme_Extend Gr_Ext Hex_Digit Hex IDS_Binary_Operator IDSB IDS_Trinary_Operator IDST ID_Continue IDC ID_Start IDS Ideographic Ideo Join_Control Join_C Logical_Order_Exception LOE Lowercase Lower Math Noncharacter_Code_Point NChar Pattern_Syntax Pat_Syn Pattern_White_Space Pat_WS Quotation_Mark QMark Radical Regional_Indicator RI Sentence_Terminal STerm Soft_Dotted SD Terminal_Punctuation Term Unified_Ideograph UIdeo Uppercase Upper Variation_Selector VS White_Space space XID_Continue XIDC XID_Start XIDS",tn=en+" Extended_Pictographic",ur=tn,Tr={9:en,10:tn,11:ur},dn="Cased_Letter LC Close_Punctuation Pe Connector_Punctuation Pc Control Cc cntrl Currency_Symbol Sc Dash_Punctuation Pd Decimal_Number Nd digit Enclosing_Mark Me Final_Punctuation Pf Format Cf Initial_Punctuation Pi Letter L Letter_Number Nl Line_Separator Zl Lowercase_Letter Ll Mark M Combining_Mark Math_Symbol Sm Modifier_Letter Lm Modifier_Symbol Sk Nonspacing_Mark Mn Number N Open_Punctuation Ps Other C Other_Letter Lo Other_Number No Other_Punctuation Po Other_Symbol So Paragraph_Separator Zp Private_Use Co Punctuation P punct Separator Z Space_Separator Zs Spacing_Mark Mc Surrogate Cs Symbol S Titlecase_Letter Lt Unassigned Cn Uppercase_Letter Lu",nn="Adlam Adlm Ahom Ahom Anatolian_Hieroglyphs Hluw Arabic Arab Armenian Armn Avestan Avst Balinese Bali Bamum Bamu Bassa_Vah Bass Batak Batk Bengali Beng Bhaiksuki Bhks Bopomofo Bopo Brahmi Brah Braille Brai Buginese Bugi Buhid Buhd Canadian_Aboriginal Cans Carian Cari Caucasian_Albanian Aghb Chakma Cakm Cham Cham Cherokee Cher Common Zyyy Coptic Copt Qaac Cuneiform Xsux Cypriot Cprt Cyrillic Cyrl Deseret Dsrt Devanagari Deva Duployan Dupl Egyptian_Hieroglyphs Egyp Elbasan Elba Ethiopic Ethi Georgian Geor Glagolitic Glag Gothic Goth Grantha Gran Greek Grek Gujarati Gujr Gurmukhi Guru Han Hani Hangul Hang Hanunoo Hano Hatran Hatr Hebrew Hebr Hiragana Hira Imperial_Aramaic Armi Inherited Zinh Qaai Inscriptional_Pahlavi Phli Inscriptional_Parthian Prti Javanese Java Kaithi Kthi Kannada Knda Katakana Kana Kayah_Li Kali Kharoshthi Khar Khmer Khmr Khojki Khoj Khudawadi Sind Lao Laoo Latin Latn Lepcha Lepc Limbu Limb Linear_A Lina Linear_B Linb Lisu Lisu Lycian Lyci Lydian Lydi Mahajani Mahj Malayalam Mlym Mandaic Mand Manichaean Mani Marchen Marc Masaram_Gondi Gonm Meetei_Mayek Mtei Mende_Kikakui Mend Meroitic_Cursive Merc Meroitic_Hieroglyphs Mero Miao Plrd Modi Modi Mongolian Mong Mro Mroo Multani Mult Myanmar Mymr Nabataean Nbat New_Tai_Lue Talu Newa Newa Nko Nkoo Nushu Nshu Ogham Ogam Ol_Chiki Olck Old_Hungarian Hung Old_Italic Ital Old_North_Arabian Narb Old_Permic Perm Old_Persian Xpeo Old_South_Arabian Sarb Old_Turkic Orkh Oriya Orya Osage Osge Osmanya Osma Pahawh_Hmong Hmng Palmyrene Palm Pau_Cin_Hau Pauc Phags_Pa Phag Phoenician Phnx Psalter_Pahlavi Phlp Rejang Rjng Runic Runr Samaritan Samr Saurashtra Saur Sharada Shrd Shavian Shaw Siddham Sidd SignWriting Sgnw Sinhala Sinh Sora_Sompeng Sora Soyombo Soyo Sundanese Sund Syloti_Nagri Sylo Syriac Syrc Tagalog Tglg Tagbanwa Tagb Tai_Le Tale Tai_Tham Lana Tai_Viet Tavt Takri Takr Tamil Taml Tangut Tang Telugu Telu Thaana Thaa Thai Thai Tibetan Tibt Tifinagh Tfng Tirhuta Tirh Ugaritic Ugar Vai Vaii Warang_Citi Wara Yi Yiii Zanabazar_Square Zanb",rn=nn+" Dogra Dogr Gunjala_Gondi Gong Hanifi_Rohingya Rohg Makasar Maka Medefaidrin Medf Old_Sogdian Sogo Sogdian Sogd",ir=rn+" Elymaic Elym Nandinagari Nand Nyiakeng_Puachue_Hmong Hmnp Wancho Wcho",Pr={9:nn,10:rn,11:ir},An={},qt(9),qt(10),qt(11),q=te.prototype,Se=function(e){this.parser=e,this.validFlags="gim"+(e.options.ecmaVersion>=6?"uy":"")+(e.options.ecmaVersion>=9?"s":""),this.unicodeProperties=An[e.options.ecmaVersion>=11?11:e.options.ecmaVersion],this.source="",this.flags="",this.start=0,this.switchU=!1,this.switchN=!1,this.pos=0,this.lastIntValue=0,this.lastStringValue="",this.lastAssertionIsQuantifiable=!1,this.numCapturingParens=0,this.maxBackReference=0,this.groupNames=[],this.backReferenceNames=[]},Se.prototype.reset=function(e,t,n){var r=n.indexOf("u")!==-1;this.start=e|0,this.source=t+"",this.flags=n,this.switchU=r&&this.parser.options.ecmaVersion>=6,this.switchN=r&&this.parser.options.ecmaVersion>=9},Se.prototype.raise=function(e){this.parser.raiseRecoverable(this.start,"Invalid regular expression: /"+this.source+"/: "+e)},Se.prototype.at=function(e,t){t===void 0&&(t=!1);var n=this.source,r=n.length;if(e>=r)return-1;var i=n.charCodeAt(e);if(!(t||this.switchU)||i<=55295||i>=57344||e+1>=r)return i;var o=n.charCodeAt(e+1);return o>=56320&&o<=57343?(i<<10)+o-56613888:i},Se.prototype.nextIndex=function(e,t){t===void 0&&(t=!1);var n=this.source,r=n.length;if(e>=r)return r;var i=n.charCodeAt(e),o;return!(t||this.switchU)||i<=55295||i>=57344||e+1>=r||(o=n.charCodeAt(e+1))<56320||o>57343?e+1:e+2},Se.prototype.current=function(e){return e===void 0&&(e=!1),this.at(this.pos,e)},Se.prototype.lookahead=function(e){return e===void 0&&(e=!1),this.at(this.nextIndex(this.pos,e),e)},Se.prototype.advance=function(e){e===void 0&&(e=!1),this.pos=this.nextIndex(this.pos,e)},Se.prototype.eat=function(e,t){return t===void 0&&(t=!1),this.current(t)===e?(this.advance(t),!0):!1},q.validateRegExpFlags=function(e){for(var t=e.validFlags,n=e.flags,r=0;r<n.length;r++){var i=n.charAt(r);t.indexOf(i)===-1&&this.raise(e.start,"Invalid regular expression flag"),n.indexOf(i,r+1)>-1&&this.raise(e.start,"Duplicate regular expression flag")}},q.validateRegExpPattern=function(e){this.regexp_pattern(e),!e.switchN&&this.options.ecmaVersion>=9&&e.groupNames.length>0&&(e.switchN=!0,this.regexp_pattern(e))},q.regexp_pattern=function(e){e.pos=0,e.lastIntValue=0,e.lastStringValue="",e.lastAssertionIsQuantifiable=!1,e.numCapturingParens=0,e.maxBackReference=0,e.groupNames.length=0,e.backReferenceNames.length=0,this.regexp_disjunction(e),e.pos!==e.source.length&&(e.eat(41)&&e.raise("Unmatched ')'"),(e.eat(93)||e.eat(125))&&e.raise("Lone quantifier brackets")),e.maxBackReference>e.numCapturingParens&&e.raise("Invalid escape");for(var t=0,n=e.backReferenceNames;t<n.length;t+=1){var r=n[t];e.groupNames.indexOf(r)===-1&&e.raise("Invalid named capture referenced")}},q.regexp_disjunction=function(e){for(this.regexp_alternative(e);e.eat(124);)this.regexp_alternative(e);this.regexp_eatQuantifier(e,!0)&&e.raise("Nothing to repeat"),e.eat(123)&&e.raise("Lone quantifier brackets")},q.regexp_alternative=function(e){for(;e.pos<e.source.length&&this.regexp_eatTerm(e););},q.regexp_eatTerm=function(e){return this.regexp_eatAssertion(e)?(e.lastAssertionIsQuantifiable&&this.regexp_eatQuantifier(e)&&e.switchU&&e.raise("Invalid quantifier"),!0):(e.switchU?this.regexp_eatAtom(e):this.regexp_eatExtendedAtom(e))?(this.regexp_eatQuantifier(e),!0):!1},q.regexp_eatAssertion=function(e){var t=e.pos;if(e.lastAssertionIsQuantifiable=!1,e.eat(94)||e.eat(36))return!0;if(e.eat(92)){if(e.eat(66)||e.eat(98))return!0;e.pos=t}if(e.eat(40)&&e.eat(63)){var n=!1;if(this.options.ecmaVersion>=9&&(n=e.eat(60)),e.eat(61)||e.eat(33))return this.regexp_disjunction(e),e.eat(41)||e.raise("Unterminated group"),e.lastAssertionIsQuantifiable=!n,!0}return e.pos=t,!1},q.regexp_eatQuantifier=function(e,t){return t===void 0&&(t=!1),this.regexp_eatQuantifierPrefix(e,t)?(e.eat(63),!0):!1},q.regexp_eatQuantifierPrefix=function(e,t){return e.eat(42)||e.eat(43)||e.eat(63)||this.regexp_eatBracedQuantifier(e,t)},q.regexp_eatBracedQuantifier=function(e,t){var n=e.pos;if(e.eat(123)){var r=0,i=-1;if(this.regexp_eatDecimalDigits(e)&&(r=e.lastIntValue,e.eat(44)&&this.regexp_eatDecimalDigits(e)&&(i=e.lastIntValue),e.eat(125)))return i!==-1&&i<r&&!t&&e.raise("numbers out of order in {} quantifier"),!0;e.switchU&&!t&&e.raise("Incomplete quantifier"),e.pos=n}return!1},q.regexp_eatAtom=function(e){return this.regexp_eatPatternCharacters(e)||e.eat(46)||this.regexp_eatReverseSolidusAtomEscape(e)||this.regexp_eatCharacterClass(e)||this.regexp_eatUncapturingGroup(e)||this.regexp_eatCapturingGroup(e)},q.regexp_eatReverseSolidusAtomEscape=function(e){var t=e.pos;if(e.eat(92)){if(this.regexp_eatAtomEscape(e))return!0;e.pos=t}return!1},q.regexp_eatUncapturingGroup=function(e){var t=e.pos;if(e.eat(40)){if(e.eat(63)&&e.eat(58)){if(this.regexp_disjunction(e),e.eat(41))return!0;e.raise("Unterminated group")}e.pos=t}return!1},q.regexp_eatCapturingGroup=function(e){if(e.eat(40)){if(this.options.ecmaVersion>=9?this.regexp_groupSpecifier(e):e.current()===63&&e.raise("Invalid group"),this.regexp_disjunction(e),e.eat(41))return e.numCapturingParens+=1,!0;e.raise("Unterminated group")}return!1},q.regexp_eatExtendedAtom=function(e){return e.eat(46)||this.regexp_eatReverseSolidusAtomEscape(e)||this.regexp_eatCharacterClass(e)||this.regexp_eatUncapturingGroup(e)||this.regexp_eatCapturingGroup(e)||this.regexp_eatInvalidBracedQuantifier(e)||this.regexp_eatExtendedPatternCharacter(e)},q.regexp_eatInvalidBracedQuantifier=function(e){return this.regexp_eatBracedQuantifier(e,!0)&&e.raise("Nothing to repeat"),!1},q.regexp_eatSyntaxCharacter=function(e){var t=e.current();return Gn(t)?(e.lastIntValue=t,e.advance(),!0):!1},q.regexp_eatPatternCharacters=function(e){for(var t=e.pos,n=0;(n=e.current())!==-1&&!Gn(n);)e.advance();return e.pos!==t},q.regexp_eatExtendedPatternCharacter=function(e){var t=e.current();return t!==-1&&t!==36&&!(t>=40&&t<=43)&&t!==46&&t!==63&&t!==91&&t!==94&&t!==124?(e.advance(),!0):!1},q.regexp_groupSpecifier=function(e){if(e.eat(63)){if(this.regexp_eatGroupName(e)){e.groupNames.indexOf(e.lastStringValue)!==-1&&e.raise("Duplicate capture group name"),e.groupNames.push(e.lastStringValue);return}e.raise("Invalid group")}},q.regexp_eatGroupName=function(e){if(e.lastStringValue="",e.eat(60)){if(this.regexp_eatRegExpIdentifierName(e)&&e.eat(62))return!0;e.raise("Invalid capture group name")}return!1},q.regexp_eatRegExpIdentifierName=function(e){if(e.lastStringValue="",this.regexp_eatRegExpIdentifierStart(e)){for(e.lastStringValue+=_t(e.lastIntValue);this.regexp_eatRegExpIdentifierPart(e);)e.lastStringValue+=_t(e.lastIntValue);return!0}return!1},q.regexp_eatRegExpIdentifierStart=function(e){var t=e.pos,n=this.options.ecmaVersion>=11,r=e.current(n);return e.advance(n),r===92&&this.regexp_eatRegExpUnicodeEscapeSequence(e,n)&&(r=e.lastIntValue),Ju(r)?(e.lastIntValue=r,!0):(e.pos=t,!1)},q.regexp_eatRegExpIdentifierPart=function(e){var t=e.pos,n=this.options.ecmaVersion>=11,r=e.current(n);return e.advance(n),r===92&&this.regexp_eatRegExpUnicodeEscapeSequence(e,n)&&(r=e.lastIntValue),Xu(r)?(e.lastIntValue=r,!0):(e.pos=t,!1)},q.regexp_eatAtomEscape=function(e){return this.regexp_eatBackReference(e)||this.regexp_eatCharacterClassEscape(e)||this.regexp_eatCharacterEscape(e)||e.switchN&&this.regexp_eatKGroupName(e)?!0:(e.switchU&&(e.current()===99&&e.raise("Invalid unicode escape"),e.raise("Invalid escape")),!1)},q.regexp_eatBackReference=function(e){var t=e.pos;if(this.regexp_eatDecimalEscape(e)){var n=e.lastIntValue;if(e.switchU)return n>e.maxBackReference&&(e.maxBackReference=n),!0;if(n<=e.numCapturingParens)return!0;e.pos=t}return!1},q.regexp_eatKGroupName=function(e){if(e.eat(107)){if(this.regexp_eatGroupName(e))return e.backReferenceNames.push(e.lastStringValue),!0;e.raise("Invalid named reference")}return!1},q.regexp_eatCharacterEscape=function(e){return this.regexp_eatControlEscape(e)||this.regexp_eatCControlLetter(e)||this.regexp_eatZero(e)||this.regexp_eatHexEscapeSequence(e)||this.regexp_eatRegExpUnicodeEscapeSequence(e,!1)||!e.switchU&&this.regexp_eatLegacyOctalEscapeSequence(e)||this.regexp_eatIdentityEscape(e)},q.regexp_eatCControlLetter=function(e){var t=e.pos;if(e.eat(99)){if(this.regexp_eatControlLetter(e))return!0;e.pos=t}return!1},q.regexp_eatZero=function(e){return e.current()===48&&!Lt(e.lookahead())?(e.lastIntValue=0,e.advance(),!0):!1},q.regexp_eatControlEscape=function(e){var t=e.current();return t===116?(e.lastIntValue=9,e.advance(),!0):t===110?(e.lastIntValue=10,e.advance(),!0):t===118?(e.lastIntValue=11,e.advance(),!0):t===102?(e.lastIntValue=12,e.advance(),!0):t===114?(e.lastIntValue=13,e.advance(),!0):!1},q.regexp_eatControlLetter=function(e){var t=e.current();return _r(t)?(e.lastIntValue=t%32,e.advance(),!0):!1},q.regexp_eatRegExpUnicodeEscapeSequence=function(e,t){t===void 0&&(t=!1);var n=e.pos,r=t||e.switchU;if(e.eat(117)){if(this.regexp_eatFixedHexDigits(e,4)){var i=e.lastIntValue;if(r&&i>=55296&&i<=56319){var o=e.pos;if(e.eat(92)&&e.eat(117)&&this.regexp_eatFixedHexDigits(e,4)){var s=e.lastIntValue;if(s>=56320&&s<=57343)return e.lastIntValue=(i-55296)*1024+(s-56320)+65536,!0}e.pos=o,e.lastIntValue=i}return!0}if(r&&e.eat(123)&&this.regexp_eatHexDigits(e)&&e.eat(125)&&Hu(e.lastIntValue))return!0;r&&e.raise("Invalid unicode escape"),e.pos=n}return!1},q.regexp_eatIdentityEscape=function(e){if(e.switchU)return this.regexp_eatSyntaxCharacter(e)?!0:e.eat(47)?(e.lastIntValue=47,!0):!1;var t=e.current();return t!==99&&(!e.switchN||t!==107)?(e.lastIntValue=t,e.advance(),!0):!1},q.regexp_eatDecimalEscape=function(e){e.lastIntValue=0;var t=e.current();if(t>=49&&t<=57){do e.lastIntValue=10*e.lastIntValue+(t-48),e.advance();while((t=e.current())>=48&&t<=57);return!0}return!1},q.regexp_eatCharacterClassEscape=function(e){var t=e.current();if(Qu(t))return e.lastIntValue=-1,e.advance(),!0;if(e.switchU&&this.options.ecmaVersion>=9&&(t===80||t===112)){if(e.lastIntValue=-1,e.advance(),e.eat(123)&&this.regexp_eatUnicodePropertyValueExpression(e)&&e.eat(125))return!0;e.raise("Invalid property name")}return!1},q.regexp_eatUnicodePropertyValueExpression=function(e){var t=e.pos;if(this.regexp_eatUnicodePropertyName(e)&&e.eat(61)){var n=e.lastStringValue;if(this.regexp_eatUnicodePropertyValue(e)){var r=e.lastStringValue;return this.regexp_validateUnicodePropertyNameAndValue(e,n,r),!0}}if(e.pos=t,this.regexp_eatLoneUnicodePropertyNameOrValue(e)){var i=e.lastStringValue;return this.regexp_validateUnicodePropertyNameOrValue(e,i),!0}return!1},q.regexp_validateUnicodePropertyNameAndValue=function(e,t,n){Nt(e.unicodeProperties.nonBinary,t)||e.raise("Invalid property name"),e.unicodeProperties.nonBinary[t].test(n)||e.raise("Invalid property value")},q.regexp_validateUnicodePropertyNameOrValue=function(e,t){e.unicodeProperties.binary.test(t)||e.raise("Invalid property name")},q.regexp_eatUnicodePropertyName=function(e){var t=0;for(e.lastStringValue="";Sr(t=e.current());)e.lastStringValue+=_t(t),e.advance();return e.lastStringValue!==""},q.regexp_eatUnicodePropertyValue=function(e){var t=0;for(e.lastStringValue="";Yu(t=e.current());)e.lastStringValue+=_t(t),e.advance();return e.lastStringValue!==""},q.regexp_eatLoneUnicodePropertyNameOrValue=function(e){return this.regexp_eatUnicodePropertyValue(e)},q.regexp_eatCharacterClass=function(e){if(e.eat(91)){if(e.eat(94),this.regexp_classRanges(e),e.eat(93))return!0;e.raise("Unterminated character class")}return!1},q.regexp_classRanges=function(e){for(;this.regexp_eatClassAtom(e);){var t=e.lastIntValue;if(e.eat(45)&&this.regexp_eatClassAtom(e)){var n=e.lastIntValue;e.switchU&&(t===-1||n===-1)&&e.raise("Invalid character class"),t!==-1&&n!==-1&&t>n&&e.raise("Range out of order in character class")}}},q.regexp_eatClassAtom=function(e){var t=e.pos;if(e.eat(92)){if(this.regexp_eatClassEscape(e))return!0;if(e.switchU){var n=e.current();(n===99||Xn(n))&&e.raise("Invalid class escape"),e.raise("Invalid escape")}e.pos=t}var r=e.current();return r!==93?(e.lastIntValue=r,e.advance(),!0):!1},q.regexp_eatClassEscape=function(e){var t=e.pos;if(e.eat(98))return e.lastIntValue=8,!0;if(e.switchU&&e.eat(45))return e.lastIntValue=45,!0;if(!e.switchU&&e.eat(99)){if(this.regexp_eatClassControlLetter(e))return!0;e.pos=t}return this.regexp_eatCharacterClassEscape(e)||this.regexp_eatCharacterEscape(e)},q.regexp_eatClassControlLetter=function(e){var t=e.current();return Lt(t)||t===95?(e.lastIntValue=t%32,e.advance(),!0):!1},q.regexp_eatHexEscapeSequence=function(e){var t=e.pos;if(e.eat(120)){if(this.regexp_eatFixedHexDigits(e,2))return!0;e.switchU&&e.raise("Invalid escape"),e.pos=t}return!1},q.regexp_eatDecimalDigits=function(e){var t=e.pos,n=0;for(e.lastIntValue=0;Lt(n=e.current());)e.lastIntValue=10*e.lastIntValue+(n-48),e.advance();return e.pos!==t},q.regexp_eatHexDigits=function(e){var t=e.pos,n=0;for(e.lastIntValue=0;$n(n=e.current());)e.lastIntValue=16*e.lastIntValue+Jn(n),e.advance();return e.pos!==t},q.regexp_eatLegacyOctalEscapeSequence=function(e){if(this.regexp_eatOctalDigit(e)){var t=e.lastIntValue;if(this.regexp_eatOctalDigit(e)){var n=e.lastIntValue;t<=3&&this.regexp_eatOctalDigit(e)?e.lastIntValue=t*64+n*8+e.lastIntValue:e.lastIntValue=t*8+n}else e.lastIntValue=t;return!0}return!1},q.regexp_eatOctalDigit=function(e){var t=e.current();return Xn(t)?(e.lastIntValue=t-48,e.advance(),!0):(e.lastIntValue=0,!1)},q.regexp_eatFixedHexDigits=function(e,t){var n=e.pos;e.lastIntValue=0;for(var r=0;r<t;++r){var i=e.current();if(!$n(i))return e.pos=n,!1;e.lastIntValue=16*e.lastIntValue+Jn(i),e.advance()}return!0},pt=function(e){this.type=e.type,this.value=e.value,this.start=e.start,this.end=e.end,e.options.locations&&(this.loc=new et(e,e.startLoc,e.endLoc)),e.options.ranges&&(this.range=[e.start,e.end])},$=te.prototype,$.next=function(e){!e&&this.type.keyword&&this.containsEsc&&this.raiseRecoverable(this.start,"Escape sequence in keyword "+this.type.keyword),this.options.onToken&&this.options.onToken(new pt(this)),this.lastTokEnd=this.end,this.lastTokStart=this.start,this.lastTokEndLoc=this.endLoc,this.lastTokStartLoc=this.startLoc,this.nextToken()},$.getToken=function(){return this.next(),new pt(this)},typeof Symbol<"u"&&($[Symbol.iterator]=function(){var e=this;return{next:function(){var t=e.getToken();return{done:t.type===f.eof,value:t}}}}),$.curContext=function(){return this.context[this.context.length-1]},$.nextToken=function(){var e=this.curContext();if((!e||!e.preserveSpace)&&this.skipSpace(),this.start=this.pos,this.options.locations&&(this.startLoc=this.curPosition()),this.pos>=this.input.length)return this.finishToken(f.eof);if(e.override)return e.override(this);this.readToken(this.fullCharCodeAtPos())},$.readToken=function(e){return Te(e,this.options.ecmaVersion>=6)||e===92?this.readWord():this.getTokenFromCode(e)},$.fullCharCodeAtPos=function(){var e=this.input.charCodeAt(this.pos);if(e<=55295||e>=57344)return e;var t=this.input.charCodeAt(this.pos+1);return(e<<10)+t-56613888},$.skipBlockComment=function(){var e=this.options.onComment&&this.curPosition(),t=this.pos,n=this.input.indexOf("*/",this.pos+=2);if(n===-1&&this.raise(this.pos-2,"Unterminated comment"),this.pos=n+2,this.options.locations){ze.lastIndex=t;for(var r;(r=ze.exec(this.input))&&r.index<this.pos;)++this.curLine,this.lineStart=r.index+r[0].length}this.options.onComment&&this.options.onComment(!0,this.input.slice(t+2,n),t,this.pos,e,this.curPosition())},$.skipLineComment=function(e){for(var t=this.pos,n=this.options.onComment&&this.curPosition(),r=this.input.charCodeAt(this.pos+=e);this.pos<this.input.length&&!Ke(r);)r=this.input.charCodeAt(++this.pos);this.options.onComment&&this.options.onComment(!1,this.input.slice(t+e,this.pos),t,this.pos,n,this.curPosition())},$.skipSpace=function(){e:for(;this.pos<this.input.length;){var e=this.input.charCodeAt(this.pos);switch(e){case 32:case 160:++this.pos;break;case 13:this.input.charCodeAt(this.pos+1)===10&&++this.pos;case 10:case 8232:case 8233:++this.pos,this.options.locations&&(++this.curLine,this.lineStart=this.pos);break;case 47:switch(this.input.charCodeAt(this.pos+1)){case 42:this.skipBlockComment();break;case 47:this.skipLineComment(2);break;default:break e}break;default:if(e>8&&e<14||e>=5760&&Ot.test(String.fromCharCode(e)))++this.pos;else break e}}},$.finishToken=function(e,t){this.end=this.pos,this.options.locations&&(this.endLoc=this.curPosition());var n=this.type;this.type=e,this.value=t,this.updateContext(n)},$.readToken_dot=function(){var e=this.input.charCodeAt(this.pos+1);if(e>=48&&e<=57)return this.readNumber(!0);var t=this.input.charCodeAt(this.pos+2);return this.options.ecmaVersion>=6&&e===46&&t===46?(this.pos+=3,this.finishToken(f.ellipsis)):(++this.pos,this.finishToken(f.dot))},$.readToken_slash=function(){var e=this.input.charCodeAt(this.pos+1);return this.exprAllowed?(++this.pos,this.readRegexp()):e===61?this.finishOp(f.assign,2):this.finishOp(f.slash,1)},$.readToken_mult_modulo_exp=function(e){var t=this.input.charCodeAt(this.pos+1),n=1,r=e===42?f.star:f.modulo;return this.options.ecmaVersion>=7&&e===42&&t===42&&(++n,r=f.starstar,t=this.input.charCodeAt(this.pos+2)),t===61?this.finishOp(f.assign,n+1):this.finishOp(r,n)},$.readToken_pipe_amp=function(e){var t=this.input.charCodeAt(this.pos+1);if(t===e){if(this.options.ecmaVersion>=12){var n=this.input.charCodeAt(this.pos+2);if(n===61)return this.finishOp(f.assign,3)}return this.finishOp(e===124?f.logicalOR:f.logicalAND,2)}return t===61?this.finishOp(f.assign,2):this.finishOp(e===124?f.bitwiseOR:f.bitwiseAND,1)},$.readToken_caret=function(){var e=this.input.charCodeAt(this.pos+1);return e===61?this.finishOp(f.assign,2):this.finishOp(f.bitwiseXOR,1)},$.readToken_plus_min=function(e){var t=this.input.charCodeAt(this.pos+1);return t===e?t===45&&!this.inModule&&this.input.charCodeAt(this.pos+2)===62&&(this.lastTokEnd===0||me.test(this.input.slice(this.lastTokEnd,this.pos)))?(this.skipLineComment(3),this.skipSpace(),this.nextToken()):this.finishOp(f.incDec,2):t===61?this.finishOp(f.assign,2):this.finishOp(f.plusMin,1)},$.readToken_lt_gt=function(e){var t=this.input.charCodeAt(this.pos+1),n=1;return t===e?(n=e===62&&this.input.charCodeAt(this.pos+2)===62?3:2,this.input.charCodeAt(this.pos+n)===61?this.finishOp(f.assign,n+1):this.finishOp(f.bitShift,n)):t===33&&e===60&&!this.inModule&&this.input.charCodeAt(this.pos+2)===45&&this.input.charCodeAt(this.pos+3)===45?(this.skipLineComment(4),this.skipSpace(),this.nextToken()):(t===61&&(n=2),this.finishOp(f.relational,n))},$.readToken_eq_excl=function(e){var t=this.input.charCodeAt(this.pos+1);return t===61?this.finishOp(f.equality,this.input.charCodeAt(this.pos+2)===61?3:2):e===61&&t===62&&this.options.ecmaVersion>=6?(this.pos+=2,this.finishToken(f.arrow)):this.finishOp(e===61?f.eq:f.prefix,1)},$.readToken_question=function(){var e=this.options.ecmaVersion;if(e>=11){var t=this.input.charCodeAt(this.pos+1);if(t===46){var n=this.input.charCodeAt(this.pos+2);if(n<48||n>57)return this.finishOp(f.questionDot,2)}if(t===63){if(e>=12){var r=this.input.charCodeAt(this.pos+2);if(r===61)return this.finishOp(f.assign,3)}return this.finishOp(f.coalesce,2)}}return this.finishOp(f.question,1)},$.getTokenFromCode=function(e){switch(e){case 46:return this.readToken_dot();case 40:return++this.pos,this.finishToken(f.parenL);case 41:return++this.pos,this.finishToken(f.parenR);case 59:return++this.pos,this.finishToken(f.semi);case 44:return++this.pos,this.finishToken(f.comma);case 91:return++this.pos,this.finishToken(f.bracketL);case 93:return++this.pos,this.finishToken(f.bracketR);case 123:return++this.pos,this.finishToken(f.braceL);case 125:return++this.pos,this.finishToken(f.braceR);case 58:return++this.pos,this.finishToken(f.colon);case 96:if(this.options.ecmaVersion<6)break;return++this.pos,this.finishToken(f.backQuote);case 48:var t=this.input.charCodeAt(this.pos+1);if(t===120||t===88)return this.readRadixNumber(16);if(this.options.ecmaVersion>=6){if(t===111||t===79)return this.readRadixNumber(8);if(t===98||t===66)return this.readRadixNumber(2)}case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return this.readNumber(!1);case 34:case 39:return this.readString(e);case 47:return this.readToken_slash();case 37:case 42:return this.readToken_mult_modulo_exp(e);case 124:case 38:return this.readToken_pipe_amp(e);case 94:return this.readToken_caret();case 43:case 45:return this.readToken_plus_min(e);case 60:case 62:return this.readToken_lt_gt(e);case 61:case 33:return this.readToken_eq_excl(e);case 63:return this.readToken_question();case 126:return this.finishOp(f.prefix,1)}this.raise(this.pos,"Unexpected character '"+Ut(e)+"'")},$.finishOp=function(e,t){var n=this.input.slice(this.pos,this.pos+t);return this.pos+=t,this.finishToken(e,n)},$.readRegexp=function(){for(var e,t,n=this.pos;;){this.pos>=this.input.length&&this.raise(n,"Unterminated regular expression");var r=this.input.charAt(this.pos);if(me.test(r)&&this.raise(n,"Unterminated regular expression"),e)e=!1;else{if(r==="[")t=!0;else if(r==="]"&&t)t=!1;else if(r==="/"&&!t)break;e=r==="\\"}++this.pos}var i=this.input.slice(n,this.pos);++this.pos;var o=this.pos,s=this.readWord1();this.containsEsc&&this.unexpected(o);var h=this.regexpState||(this.regexpState=new Se(this));h.reset(n,i,s),this.validateRegExpFlags(h),this.validateRegExpPattern(h);var p=null;try{p=new RegExp(i,s)}catch{}return this.finishToken(f.regexp,{pattern:i,flags:s,value:p})},$.readInt=function(e,t,n){for(var r=this.options.ecmaVersion>=12&&t===void 0,i=n&&this.input.charCodeAt(this.pos)===48,o=this.pos,s=0,h=0,p=0,A=t??1/0;p<A;++p,++this.pos){var D=this.input.charCodeAt(this.pos),y=void 0;if(r&&D===95){i&&this.raiseRecoverable(this.pos,"Numeric separator is not allowed in legacy octal numeric literals"),h===95&&this.raiseRecoverable(this.pos,"Numeric separator must be exactly one underscore"),p===0&&this.raiseRecoverable(this.pos,"Numeric separator is not allowed at the first of digits"),h=D;continue}if(D>=97?y=D-97+10:D>=65?y=D-65+10:D>=48&&D<=57?y=D-48:y=1/0,y>=e)break;h=D,s=s*e+y}return r&&h===95&&this.raiseRecoverable(this.pos-1,"Numeric separator is not allowed at the last of digits"),this.pos===o||t!=null&&this.pos-o!==t?null:s},$.readRadixNumber=function(e){var t=this.pos;this.pos+=2;var n=this.readInt(e);return n==null&&this.raise(this.start+2,"Expected number in radix "+e),this.options.ecmaVersion>=11&&this.input.charCodeAt(this.pos)===110?(n=Hn(this.input.slice(t,this.pos)),++this.pos):Te(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number"),this.finishToken(f.num,n)},$.readNumber=function(e){var t=this.pos;!e&&this.readInt(10,void 0,!0)===null&&this.raise(t,"Invalid number");var n=this.pos-t>=2&&this.input.charCodeAt(t)===48;n&&this.strict&&this.raise(t,"Invalid number");var r=this.input.charCodeAt(this.pos);if(!n&&!e&&this.options.ecmaVersion>=11&&r===110){var i=Hn(this.input.slice(t,this.pos));return++this.pos,Te(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number"),this.finishToken(f.num,i)}n&&/[89]/.test(this.input.slice(t,this.pos))&&(n=!1),r===46&&!n&&(++this.pos,this.readInt(10),r=this.input.charCodeAt(this.pos)),(r===69||r===101)&&!n&&(r=this.input.charCodeAt(++this.pos),(r===43||r===45)&&++this.pos,this.readInt(10)===null&&this.raise(t,"Invalid number")),Te(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number");var o=Ku(this.input.slice(t,this.pos),n);return this.finishToken(f.num,o)},$.readCodePoint=function(){var e=this.input.charCodeAt(this.pos),t;if(e===123){this.options.ecmaVersion<6&&this.unexpected();var n=++this.pos;t=this.readHexChar(this.input.indexOf("}",this.pos)-this.pos),++this.pos,t>1114111&&this.invalidStringToken(n,"Code point out of bounds")}else t=this.readHexChar(4);return t},$.readString=function(e){for(var t="",n=++this.pos;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated string constant");var r=this.input.charCodeAt(this.pos);if(r===e)break;r===92?(t+=this.input.slice(n,this.pos),t+=this.readEscapedChar(!1),n=this.pos):(Ke(r,this.options.ecmaVersion>=10)&&this.raise(this.start,"Unterminated string constant"),++this.pos)}return t+=this.input.slice(n,this.pos++),this.finishToken(f.string,t)},un={},$.tryReadTemplateToken=function(){this.inTemplateElement=!0;try{this.readTmplToken()}catch(e){if(e===un)this.readInvalidTemplateToken();else throw e}this.inTemplateElement=!1},$.invalidStringToken=function(e,t){if(this.inTemplateElement&&this.options.ecmaVersion>=9)throw un;this.raise(e,t)},$.readTmplToken=function(){for(var e="",t=this.pos;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated template");var n=this.input.charCodeAt(this.pos);if(n===96||n===36&&this.input.charCodeAt(this.pos+1)===123)return this.pos===this.start&&(this.type===f.template||this.type===f.invalidTemplate)?n===36?(this.pos+=2,this.finishToken(f.dollarBraceL)):(++this.pos,this.finishToken(f.backQuote)):(e+=this.input.slice(t,this.pos),this.finishToken(f.template,e));if(n===92)e+=this.input.slice(t,this.pos),e+=this.readEscapedChar(!0),t=this.pos;else if(Ke(n)){switch(e+=this.input.slice(t,this.pos),++this.pos,n){case 13:this.input.charCodeAt(this.pos)===10&&++this.pos;case 10:e+=` -`;break;default:e+=String.fromCharCode(n);break}this.options.locations&&(++this.curLine,this.lineStart=this.pos),t=this.pos}else++this.pos}},$.readInvalidTemplateToken=function(){for(;this.pos<this.input.length;this.pos++)switch(this.input[this.pos]){case"\\":++this.pos;break;case"$":if(this.input[this.pos+1]!=="{")break;case"`":return this.finishToken(f.invalidTemplate,this.input.slice(this.start,this.pos))}this.raise(this.start,"Unterminated template")},$.readEscapedChar=function(e){var t=this.input.charCodeAt(++this.pos);switch(++this.pos,t){case 110:return` -`;case 114:return"\r";case 120:return String.fromCharCode(this.readHexChar(2));case 117:return Ut(this.readCodePoint());case 116:return" ";case 98:return"\b";case 118:return"\v";case 102:return"\f";case 13:this.input.charCodeAt(this.pos)===10&&++this.pos;case 10:return this.options.locations&&(this.lineStart=this.pos,++this.curLine),"";case 56:case 57:if(e){var n=this.pos-1;return this.invalidStringToken(n,"Invalid escape sequence in template string"),null}default:if(t>=48&&t<=55){var r=this.input.substr(this.pos-1,3).match(/^[0-7]+/)[0],i=parseInt(r,8);return i>255&&(r=r.slice(0,-1),i=parseInt(r,8)),this.pos+=r.length-1,t=this.input.charCodeAt(this.pos),(r!=="0"||t===56||t===57)&&(this.strict||e)&&this.invalidStringToken(this.pos-1-r.length,e?"Octal literal in template string":"Octal literal in strict mode"),String.fromCharCode(i)}return Ke(t)?"":String.fromCharCode(t)}},$.readHexChar=function(e){var t=this.pos,n=this.readInt(16,e);return n===null&&this.invalidStringToken(t,"Bad character escape sequence"),n},$.readWord1=function(){this.containsEsc=!1;for(var e="",t=!0,n=this.pos,r=this.options.ecmaVersion>=6;this.pos<this.input.length;){var i=this.fullCharCodeAtPos();if(qe(i,r))this.pos+=i<=65535?1:2;else if(i===92){this.containsEsc=!0,e+=this.input.slice(n,this.pos);var o=this.pos;this.input.charCodeAt(++this.pos)!==117&&this.invalidStringToken(this.pos,"Expecting Unicode escape sequence \\uXXXX"),++this.pos;var s=this.readCodePoint();(t?Te:qe)(s,r)||this.invalidStringToken(o,"Invalid Unicode escape"),e+=Ut(s),n=this.pos}else break;t=!1}return e+this.input.slice(n,this.pos)},$.readWord=function(){var e=this.readWord1(),t=f.name;return this.keywords.test(e)&&(t=dt[e]),this.finishToken(t,e)},Dn="7.4.1",te.acorn={Parser:te,version:Dn,defaultOptions:At,Position:Ue,SourceLocation:et,getLineInfo:cn,Node:ht,TokenType:Q,tokTypes:f,keywordTypes:dt,TokContext:Fe,tokContexts:ue,isIdentifierChar:qe,isIdentifierStart:Te,Token:pt,isNewLine:Ke,lineBreak:me,lineBreakG:ze,nonASCIIwhitespace:Ot}}}),ni=K({"../../node_modules/acorn-jsx/xhtml.js"(e,t){t.exports={quot:'"',amp:"&",apos:"'",lt:"<",gt:">",nbsp:" ",iexcl:"¡",cent:"¢",pound:"£",curren:"¤",yen:"¥",brvbar:"¦",sect:"§",uml:"¨",copy:"©",ordf:"ª",laquo:"«",not:"¬",shy:"­",reg:"®",macr:"¯",deg:"°",plusmn:"±",sup2:"²",sup3:"³",acute:"´",micro:"µ",para:"¶",middot:"·",cedil:"¸",sup1:"¹",ordm:"º",raquo:"»",frac14:"¼",frac12:"½",frac34:"¾",iquest:"¿",Agrave:"À",Aacute:"Á",Acirc:"Â",Atilde:"Ã",Auml:"Ä",Aring:"Å",AElig:"Æ",Ccedil:"Ç",Egrave:"È",Eacute:"É",Ecirc:"Ê",Euml:"Ë",Igrave:"Ì",Iacute:"Í",Icirc:"Î",Iuml:"Ï",ETH:"Ð",Ntilde:"Ñ",Ograve:"Ò",Oacute:"Ó",Ocirc:"Ô",Otilde:"Õ",Ouml:"Ö",times:"×",Oslash:"Ø",Ugrave:"Ù",Uacute:"Ú",Ucirc:"Û",Uuml:"Ü",Yacute:"Ý",THORN:"Þ",szlig:"ß",agrave:"à",aacute:"á",acirc:"â",atilde:"ã",auml:"ä",aring:"å",aelig:"æ",ccedil:"ç",egrave:"è",eacute:"é",ecirc:"ê",euml:"ë",igrave:"ì",iacute:"í",icirc:"î",iuml:"ï",eth:"ð",ntilde:"ñ",ograve:"ò",oacute:"ó",ocirc:"ô",otilde:"õ",ouml:"ö",divide:"÷",oslash:"ø",ugrave:"ù",uacute:"ú",ucirc:"û",uuml:"ü",yacute:"ý",thorn:"þ",yuml:"ÿ",OElig:"Œ",oelig:"œ",Scaron:"Š",scaron:"š",Yuml:"Ÿ",fnof:"ƒ",circ:"ˆ",tilde:"˜",Alpha:"Α",Beta:"Β",Gamma:"Γ",Delta:"Δ",Epsilon:"Ε",Zeta:"Ζ",Eta:"Η",Theta:"Θ",Iota:"Ι",Kappa:"Κ",Lambda:"Λ",Mu:"Μ",Nu:"Ν",Xi:"Ξ",Omicron:"Ο",Pi:"Π",Rho:"Ρ",Sigma:"Σ",Tau:"Τ",Upsilon:"Υ",Phi:"Φ",Chi:"Χ",Psi:"Ψ",Omega:"Ω",alpha:"α",beta:"β",gamma:"γ",delta:"δ",epsilon:"ε",zeta:"ζ",eta:"η",theta:"θ",iota:"ι",kappa:"κ",lambda:"λ",mu:"μ",nu:"ν",xi:"ξ",omicron:"ο",pi:"π",rho:"ρ",sigmaf:"ς",sigma:"σ",tau:"τ",upsilon:"υ",phi:"φ",chi:"χ",psi:"ψ",omega:"ω",thetasym:"ϑ",upsih:"ϒ",piv:"ϖ",ensp:" ",emsp:" ",thinsp:" ",zwnj:"‌",zwj:"‍",lrm:"‎",rlm:"‏",ndash:"–",mdash:"—",lsquo:"‘",rsquo:"’",sbquo:"‚",ldquo:"“",rdquo:"”",bdquo:"„",dagger:"†",Dagger:"‡",bull:"•",hellip:"…",permil:"‰",prime:"′",Prime:"″",lsaquo:"‹",rsaquo:"›",oline:"‾",frasl:"⁄",euro:"€",image:"ℑ",weierp:"℘",real:"ℜ",trade:"™",alefsym:"ℵ",larr:"←",uarr:"↑",rarr:"→",darr:"↓",harr:"↔",crarr:"↵",lArr:"⇐",uArr:"⇑",rArr:"⇒",dArr:"⇓",hArr:"⇔",forall:"∀",part:"∂",exist:"∃",empty:"∅",nabla:"∇",isin:"∈",notin:"∉",ni:"∋",prod:"∏",sum:"∑",minus:"−",lowast:"∗",radic:"√",prop:"∝",infin:"∞",ang:"∠",and:"∧",or:"∨",cap:"∩",cup:"∪",int:"∫",there4:"∴",sim:"∼",cong:"≅",asymp:"≈",ne:"≠",equiv:"≡",le:"≤",ge:"≥",sub:"⊂",sup:"⊃",nsub:"⊄",sube:"⊆",supe:"⊇",oplus:"⊕",otimes:"⊗",perp:"⊥",sdot:"⋅",lceil:"⌈",rceil:"⌉",lfloor:"⌊",rfloor:"⌋",lang:"〈",rang:"〉",loz:"◊",spades:"♠",clubs:"♣",hearts:"♥",diams:"♦"}}}),ri=K({"../../node_modules/acorn-jsx/index.js"(e,t){var n=ni(),r=/^[\da-fA-F]+$/,i=/^\d+$/,o=new WeakMap;function s(A){A=A.Parser.acorn||A;let D=o.get(A);if(!D){let y=A.tokTypes,C=A.TokContext,g=A.TokenType,m=new C("<tag",!1),E=new C("</tag",!1),w=new C("<tag>...</tag>",!0,!0),S={tc_oTag:m,tc_cTag:E,tc_expr:w},_={jsxName:new g("jsxName"),jsxText:new g("jsxText",{beforeExpr:!0}),jsxTagStart:new g("jsxTagStart",{startsExpr:!0}),jsxTagEnd:new g("jsxTagEnd")};_.jsxTagStart.updateContext=function(){this.context.push(w),this.context.push(m),this.exprAllowed=!1},_.jsxTagEnd.updateContext=function(L){let v=this.context.pop();v===m&&L===y.slash||v===E?(this.context.pop(),this.exprAllowed=this.curContext()===w):this.exprAllowed=!0},D={tokContexts:S,tokTypes:_},o.set(A,D)}return D}function h(A){if(!A)return A;if(A.type==="JSXIdentifier")return A.name;if(A.type==="JSXNamespacedName")return A.namespace.name+":"+A.name.name;if(A.type==="JSXMemberExpression")return h(A.object)+"."+h(A.property)}t.exports=function(A){return A=A||{},function(D){return p({allowNamespaces:A.allowNamespaces!==!1,allowNamespacedObjects:!!A.allowNamespacedObjects},D)}},Object.defineProperty(t.exports,"tokTypes",{get:function(){return s((mn(),Vn(on))).tokTypes},configurable:!0,enumerable:!0});function p(A,D){let y=D.acorn||(mn(),Vn(on)),C=s(y),g=y.tokTypes,m=C.tokTypes,E=y.tokContexts,w=C.tokContexts.tc_oTag,S=C.tokContexts.tc_cTag,_=C.tokContexts.tc_expr,L=y.isNewLine,v=y.isIdentifierStart,B=y.isIdentifierChar;return class extends D{static get acornJsx(){return C}jsx_readToken(){let F="",x=this.pos;for(;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated JSX contents");let b=this.input.charCodeAt(this.pos);switch(b){case 60:case 123:return this.pos===this.start?b===60&&this.exprAllowed?(++this.pos,this.finishToken(m.jsxTagStart)):this.getTokenFromCode(b):(F+=this.input.slice(x,this.pos),this.finishToken(m.jsxText,F));case 38:F+=this.input.slice(x,this.pos),F+=this.jsx_readEntity(),x=this.pos;break;case 62:case 125:this.raise(this.pos,"Unexpected token `"+this.input[this.pos]+"`. Did you mean `"+(b===62?">":"}")+'` or `{"'+this.input[this.pos]+'"}`?');default:L(b)?(F+=this.input.slice(x,this.pos),F+=this.jsx_readNewLine(!0),x=this.pos):++this.pos}}}jsx_readNewLine(F){let x=this.input.charCodeAt(this.pos),b;return++this.pos,x===13&&this.input.charCodeAt(this.pos)===10?(++this.pos,b=F?` -`:`\r -`):b=String.fromCharCode(x),this.options.locations&&(++this.curLine,this.lineStart=this.pos),b}jsx_readString(F){let x="",b=++this.pos;for(;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated string constant");let P=this.input.charCodeAt(this.pos);if(P===F)break;P===38?(x+=this.input.slice(b,this.pos),x+=this.jsx_readEntity(),b=this.pos):L(P)?(x+=this.input.slice(b,this.pos),x+=this.jsx_readNewLine(!1),b=this.pos):++this.pos}return x+=this.input.slice(b,this.pos++),this.finishToken(g.string,x)}jsx_readEntity(){let F="",x=0,b,P=this.input[this.pos];P!=="&"&&this.raise(this.pos,"Entity must start with an ampersand");let j=++this.pos;for(;this.pos<this.input.length&&x++<10;){if(P=this.input[this.pos++],P===";"){F[0]==="#"?F[1]==="x"?(F=F.substr(2),r.test(F)&&(b=String.fromCharCode(parseInt(F,16)))):(F=F.substr(1),i.test(F)&&(b=String.fromCharCode(parseInt(F,10)))):b=n[F];break}F+=P}return b||(this.pos=j,"&")}jsx_readWord(){let F,x=this.pos;do F=this.input.charCodeAt(++this.pos);while(B(F)||F===45);return this.finishToken(m.jsxName,this.input.slice(x,this.pos))}jsx_parseIdentifier(){let F=this.startNode();return this.type===m.jsxName?F.name=this.value:this.type.keyword?F.name=this.type.keyword:this.unexpected(),this.next(),this.finishNode(F,"JSXIdentifier")}jsx_parseNamespacedName(){let F=this.start,x=this.startLoc,b=this.jsx_parseIdentifier();if(!A.allowNamespaces||!this.eat(g.colon))return b;var P=this.startNodeAt(F,x);return P.namespace=b,P.name=this.jsx_parseIdentifier(),this.finishNode(P,"JSXNamespacedName")}jsx_parseElementName(){if(this.type===m.jsxTagEnd)return"";let F=this.start,x=this.startLoc,b=this.jsx_parseNamespacedName();for(this.type===g.dot&&b.type==="JSXNamespacedName"&&!A.allowNamespacedObjects&&this.unexpected();this.eat(g.dot);){let P=this.startNodeAt(F,x);P.object=b,P.property=this.jsx_parseIdentifier(),b=this.finishNode(P,"JSXMemberExpression")}return b}jsx_parseAttributeValue(){switch(this.type){case g.braceL:let F=this.jsx_parseExpressionContainer();return F.expression.type==="JSXEmptyExpression"&&this.raise(F.start,"JSX attributes must only be assigned a non-empty expression"),F;case m.jsxTagStart:case g.string:return this.parseExprAtom();default:this.raise(this.start,"JSX value should be either an expression or a quoted JSX text")}}jsx_parseEmptyExpression(){let F=this.startNodeAt(this.lastTokEnd,this.lastTokEndLoc);return this.finishNodeAt(F,"JSXEmptyExpression",this.start,this.startLoc)}jsx_parseExpressionContainer(){let F=this.startNode();return this.next(),F.expression=this.type===g.braceR?this.jsx_parseEmptyExpression():this.parseExpression(),this.expect(g.braceR),this.finishNode(F,"JSXExpressionContainer")}jsx_parseAttribute(){let F=this.startNode();return this.eat(g.braceL)?(this.expect(g.ellipsis),F.argument=this.parseMaybeAssign(),this.expect(g.braceR),this.finishNode(F,"JSXSpreadAttribute")):(F.name=this.jsx_parseNamespacedName(),F.value=this.eat(g.eq)?this.jsx_parseAttributeValue():null,this.finishNode(F,"JSXAttribute"))}jsx_parseOpeningElementAt(F,x){let b=this.startNodeAt(F,x);b.attributes=[];let P=this.jsx_parseElementName();for(P&&(b.name=P);this.type!==g.slash&&this.type!==m.jsxTagEnd;)b.attributes.push(this.jsx_parseAttribute());return b.selfClosing=this.eat(g.slash),this.expect(m.jsxTagEnd),this.finishNode(b,P?"JSXOpeningElement":"JSXOpeningFragment")}jsx_parseClosingElementAt(F,x){let b=this.startNodeAt(F,x),P=this.jsx_parseElementName();return P&&(b.name=P),this.expect(m.jsxTagEnd),this.finishNode(b,P?"JSXClosingElement":"JSXClosingFragment")}jsx_parseElementAt(F,x){let b=this.startNodeAt(F,x),P=[],j=this.jsx_parseOpeningElementAt(F,x),M=null;if(!j.selfClosing){e:for(;;)switch(this.type){case m.jsxTagStart:if(F=this.start,x=this.startLoc,this.next(),this.eat(g.slash)){M=this.jsx_parseClosingElementAt(F,x);break e}P.push(this.jsx_parseElementAt(F,x));break;case m.jsxText:P.push(this.parseExprAtom());break;case g.braceL:P.push(this.jsx_parseExpressionContainer());break;default:this.unexpected()}h(M.name)!==h(j.name)&&this.raise(M.start,"Expected corresponding JSX closing tag for <"+h(j.name)+">")}let V=j.name?"Element":"Fragment";return b["opening"+V]=j,b["closing"+V]=M,b.children=P,this.type===g.relational&&this.value==="<"&&this.raise(this.start,"Adjacent JSX elements must be wrapped in an enclosing tag"),this.finishNode(b,"JSX"+V)}jsx_parseText(){let F=this.parseLiteral(this.value);return F.type="JSXText",F}jsx_parseElement(){let F=this.start,x=this.startLoc;return this.next(),this.jsx_parseElementAt(F,x)}parseExprAtom(F){return this.type===m.jsxText?this.jsx_parseText():this.type===m.jsxTagStart?this.jsx_parseElement():super.parseExprAtom(F)}readToken(F){let x=this.curContext();if(x===_)return this.jsx_readToken();if(x===w||x===S){if(v(F))return this.jsx_readWord();if(F==62)return++this.pos,this.finishToken(m.jsxTagEnd);if((F===34||F===39)&&x==w)return this.jsx_readString(F)}return F===60&&this.exprAllowed&&this.input.charCodeAt(this.pos+1)!==33?(++this.pos,this.finishToken(m.jsxTagStart)):super.readToken(F)}updateContext(F){if(this.type==g.braceL){var x=this.curContext();x==w?this.context.push(E.b_expr):x==_?this.context.push(E.b_tmpl):super.updateContext(F),this.exprAllowed=!0}else if(this.type===g.slash&&F===m.jsxTagStart)this.context.length-=2,this.context.push(S),this.exprAllowed=!1;else return super.updateContext(F)}}}}}),ui=K({"../../node_modules/@base2/pretty-print-object/dist/index.js"(e){var t=e&&e.__assign||function(){return t=Object.assign||function(p){for(var A,D=1,y=arguments.length;D<y;D++){A=arguments[D];for(var C in A)Object.prototype.hasOwnProperty.call(A,C)&&(p[C]=A[C])}return p},t.apply(this,arguments)},n=e&&e.__spreadArrays||function(){for(var p=0,A=0,D=arguments.length;A<D;A++)p+=arguments[A].length;for(var y=Array(p),C=0,A=0;A<D;A++)for(var g=arguments[A],m=0,E=g.length;m<E;m++,C++)y[C]=g[m];return y};Object.defineProperty(e,"__esModule",{value:!0});var r=[];function i(p){var A=typeof p;return p!==null&&(A==="object"||A==="function")}function o(p){return Object.prototype.toString.call(p)==="[object RegExp]"}function s(p){return Object.getOwnPropertySymbols(p).filter(function(A){return Object.prototype.propertyIsEnumerable.call(p,A)})}function h(p,A,D){D===void 0&&(D="");var y={indent:" ",singleQuotes:!0},C=t(t({},y),A),g;C.inlineCharacterLimit===void 0?g={newLine:` -`,newLineOrSpace:` -`,pad:D,indent:D+C.indent}:g={newLine:"@@__PRETTY_PRINT_NEW_LINE__@@",newLineOrSpace:"@@__PRETTY_PRINT_NEW_LINE_OR_SPACE__@@",pad:"@@__PRETTY_PRINT_PAD__@@",indent:"@@__PRETTY_PRINT_INDENT__@@"};var m=function(S){if(C.inlineCharacterLimit===void 0)return S;var _=S.replace(new RegExp(g.newLine,"g"),"").replace(new RegExp(g.newLineOrSpace,"g")," ").replace(new RegExp(g.pad+"|"+g.indent,"g"),"");return _.length<=C.inlineCharacterLimit?_:S.replace(new RegExp(g.newLine+"|"+g.newLineOrSpace,"g"),` -`).replace(new RegExp(g.pad,"g"),D).replace(new RegExp(g.indent,"g"),D+C.indent)};if(r.indexOf(p)!==-1)return'"[Circular]"';if(p==null||typeof p=="number"||typeof p=="boolean"||typeof p=="function"||typeof p=="symbol"||o(p))return String(p);if(p instanceof Date)return"new Date('"+p.toISOString()+"')";if(Array.isArray(p)){if(p.length===0)return"[]";r.push(p);var E="["+g.newLine+p.map(function(S,_){var L=p.length-1===_?g.newLine:","+g.newLineOrSpace,v=h(S,C,D+C.indent);return C.transform&&(v=C.transform(p,_,v)),g.indent+v+L}).join("")+g.pad+"]";return r.pop(),m(E)}if(i(p)){var w=n(Object.keys(p),s(p));if(C.filter&&(w=w.filter(function(_){return C.filter&&C.filter(p,_)})),w.length===0)return"{}";r.push(p);var E="{"+g.newLine+w.map(function(_,L){var v=w.length-1===L?g.newLine:","+g.newLineOrSpace,B=typeof _=="symbol",F=!B&&/^[a-z$_][a-z$_0-9]*$/i.test(_.toString()),x=B||F?_:h(_,C),b=h(p[_],C,D+C.indent);return C.transform&&(b=C.transform(p,_,b)),g.indent+String(x)+": "+b+v}).join("")+g.pad+"}";return r.pop(),m(E)}return p=String(p).replace(/[\r\n]/g,function(S){return S===` -`?"\\n":"\\r"}),C.singleQuotes?(p=p.replace(/\\?'/g,"\\'"),"'"+p+"'"):(p=p.replace(/"/g,'\\"'),'"'+p+'"')}e.prettyPrint=h}}),ii=K({"../../node_modules/react-element-to-jsx-string/node_modules/react-is/cjs/react-is.production.min.js"(e){var t=Symbol.for("react.element"),n=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),i=Symbol.for("react.strict_mode"),o=Symbol.for("react.profiler"),s=Symbol.for("react.provider"),h=Symbol.for("react.context"),p=Symbol.for("react.server_context"),A=Symbol.for("react.forward_ref"),D=Symbol.for("react.suspense"),y=Symbol.for("react.suspense_list"),C=Symbol.for("react.memo"),g=Symbol.for("react.lazy"),m=Symbol.for("react.offscreen"),E;E=Symbol.for("react.module.reference");function w(S){if(typeof S=="object"&&S!==null){var _=S.$$typeof;switch(_){case t:switch(S=S.type,S){case r:case o:case i:case D:case y:return S;default:switch(S=S&&S.$$typeof,S){case p:case h:case A:case g:case C:case s:return S;default:return _}}case n:return _}}}e.ContextConsumer=h,e.ContextProvider=s,e.Element=t,e.ForwardRef=A,e.Fragment=r,e.Lazy=g,e.Memo=C,e.Portal=n,e.Profiler=o,e.StrictMode=i,e.Suspense=D,e.SuspenseList=y,e.isAsyncMode=function(){return!1},e.isConcurrentMode=function(){return!1},e.isContextConsumer=function(S){return w(S)===h},e.isContextProvider=function(S){return w(S)===s},e.isElement=function(S){return typeof S=="object"&&S!==null&&S.$$typeof===t},e.isForwardRef=function(S){return w(S)===A},e.isFragment=function(S){return w(S)===r},e.isLazy=function(S){return w(S)===g},e.isMemo=function(S){return w(S)===C},e.isPortal=function(S){return w(S)===n},e.isProfiler=function(S){return w(S)===o},e.isStrictMode=function(S){return w(S)===i},e.isSuspense=function(S){return w(S)===D},e.isSuspenseList=function(S){return w(S)===y},e.isValidElementType=function(S){return typeof S=="string"||typeof S=="function"||S===r||S===o||S===i||S===D||S===y||S===m||typeof S=="object"&&S!==null&&(S.$$typeof===g||S.$$typeof===C||S.$$typeof===s||S.$$typeof===h||S.$$typeof===A||S.$$typeof===E||S.getModuleId!==void 0)},e.typeOf=w}}),si=K({"../../node_modules/react-element-to-jsx-string/node_modules/react-is/index.js"(e,t){t.exports=ii()}}),ai={};Fr(ai,{applyDecorators:()=>ta,argTypesEnhancers:()=>ua,decorators:()=>ra,parameters:()=>na});var sr=rt(wu()),Cn="custom",gt="object",vn="array",oi="class",tt="func",ut="element",li=rt(Iu());function _n(e){return li.default.includes(e.toLowerCase())}var ci=rt(zu());function hi(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];var r=Array.from(typeof e=="string"?[e]:e);r[r.length-1]=r[r.length-1].replace(/\r?\n([\t ]*)$/,"");var i=r.reduce(function(h,p){var A=p.match(/\n([\t ]+|(?!\s).)/g);return A?h.concat(A.map(function(D){var y,C;return(C=(y=D.match(/[\t ]/g))===null||y===void 0?void 0:y.length)!==null&&C!==void 0?C:0})):h},[]);if(i.length){var o=new RegExp(` -[ ]{`+Math.min.apply(Math,i)+"}","g");r=r.map(function(h){return h.replace(o,` -`)})}r[0]=r[0].replace(/^\r?\n/,"");var s=r[0];return t.forEach(function(h,p){var A=s.match(/(?:^|\n)( *)$/),D=A?A[1]:"",y=h;typeof h=="string"&&h.includes(` -`)&&(y=String(h).split(` -`).map(function(C,g){return g===0?C:""+D+C}).join(` -`)),s+=y+r[p+1]}),s}var Nr={format:{indent:{style:" "},semicolons:!1}},pi={...Nr,format:{newline:""}},fi={...Nr};function Le(e,t=!1){return(0,ci.generate)(e,t?pi:fi)}function gn(e,t=!1){return t?di(e):Le(e)}function di(e){let t=Le(e,!0);return t.endsWith(" }")||(t=`${t.slice(0,-1)} }`),t}function ar(e,t=!1){return t?Di(e):Ai(e)}function Ai(e){let t=Le(e);return t.endsWith(" }]")&&(t=hi(t)),t}function Di(e){let t=Le(e,!0);return t.startsWith("[ ")&&(t=t.replace("[ ","[")),t}var Lr=e=>e.$$typeof===Symbol.for("react.memo"),mi=e=>e.$$typeof===Symbol.for("react.forward_ref");mn();var Ci=rt(ri());function Or(e,t,n,r,i){n||(n=N),function o(s,h,p){var A=p||s.type,D=t[A];n[A](s,h,o),D&&D(s,h)}(e,r,i)}function gi(e,t,n,r,i){var o=[];n||(n=N),function s(h,p,A){var D=A||h.type,y=t[D],C=h!==o[o.length-1];C&&o.push(h),n[D](h,p,s),y&&y(h,p||o,o),C&&o.pop()}(e,r,i)}function Sn(e,t,n){n(e,t)}function $e(e,t,n){}var N={};N.Program=N.BlockStatement=function(e,t,n){for(var r=0,i=e.body;r<i.length;r+=1){var o=i[r];n(o,t,"Statement")}};N.Statement=Sn;N.EmptyStatement=$e;N.ExpressionStatement=N.ParenthesizedExpression=N.ChainExpression=function(e,t,n){return n(e.expression,t,"Expression")};N.IfStatement=function(e,t,n){n(e.test,t,"Expression"),n(e.consequent,t,"Statement"),e.alternate&&n(e.alternate,t,"Statement")};N.LabeledStatement=function(e,t,n){return n(e.body,t,"Statement")};N.BreakStatement=N.ContinueStatement=$e;N.WithStatement=function(e,t,n){n(e.object,t,"Expression"),n(e.body,t,"Statement")};N.SwitchStatement=function(e,t,n){n(e.discriminant,t,"Expression");for(var r=0,i=e.cases;r<i.length;r+=1){var o=i[r];o.test&&n(o.test,t,"Expression");for(var s=0,h=o.consequent;s<h.length;s+=1){var p=h[s];n(p,t,"Statement")}}};N.SwitchCase=function(e,t,n){e.test&&n(e.test,t,"Expression");for(var r=0,i=e.consequent;r<i.length;r+=1){var o=i[r];n(o,t,"Statement")}};N.ReturnStatement=N.YieldExpression=N.AwaitExpression=function(e,t,n){e.argument&&n(e.argument,t,"Expression")};N.ThrowStatement=N.SpreadElement=function(e,t,n){return n(e.argument,t,"Expression")};N.TryStatement=function(e,t,n){n(e.block,t,"Statement"),e.handler&&n(e.handler,t),e.finalizer&&n(e.finalizer,t,"Statement")};N.CatchClause=function(e,t,n){e.param&&n(e.param,t,"Pattern"),n(e.body,t,"Statement")};N.WhileStatement=N.DoWhileStatement=function(e,t,n){n(e.test,t,"Expression"),n(e.body,t,"Statement")};N.ForStatement=function(e,t,n){e.init&&n(e.init,t,"ForInit"),e.test&&n(e.test,t,"Expression"),e.update&&n(e.update,t,"Expression"),n(e.body,t,"Statement")};N.ForInStatement=N.ForOfStatement=function(e,t,n){n(e.left,t,"ForInit"),n(e.right,t,"Expression"),n(e.body,t,"Statement")};N.ForInit=function(e,t,n){e.type==="VariableDeclaration"?n(e,t):n(e,t,"Expression")};N.DebuggerStatement=$e;N.FunctionDeclaration=function(e,t,n){return n(e,t,"Function")};N.VariableDeclaration=function(e,t,n){for(var r=0,i=e.declarations;r<i.length;r+=1){var o=i[r];n(o,t)}};N.VariableDeclarator=function(e,t,n){n(e.id,t,"Pattern"),e.init&&n(e.init,t,"Expression")};N.Function=function(e,t,n){e.id&&n(e.id,t,"Pattern");for(var r=0,i=e.params;r<i.length;r+=1){var o=i[r];n(o,t,"Pattern")}n(e.body,t,e.expression?"Expression":"Statement")};N.Pattern=function(e,t,n){e.type==="Identifier"?n(e,t,"VariablePattern"):e.type==="MemberExpression"?n(e,t,"MemberPattern"):n(e,t)};N.VariablePattern=$e;N.MemberPattern=Sn;N.RestElement=function(e,t,n){return n(e.argument,t,"Pattern")};N.ArrayPattern=function(e,t,n){for(var r=0,i=e.elements;r<i.length;r+=1){var o=i[r];o&&n(o,t,"Pattern")}};N.ObjectPattern=function(e,t,n){for(var r=0,i=e.properties;r<i.length;r+=1){var o=i[r];o.type==="Property"?(o.computed&&n(o.key,t,"Expression"),n(o.value,t,"Pattern")):o.type==="RestElement"&&n(o.argument,t,"Pattern")}};N.Expression=Sn;N.ThisExpression=N.Super=N.MetaProperty=$e;N.ArrayExpression=function(e,t,n){for(var r=0,i=e.elements;r<i.length;r+=1){var o=i[r];o&&n(o,t,"Expression")}};N.ObjectExpression=function(e,t,n){for(var r=0,i=e.properties;r<i.length;r+=1){var o=i[r];n(o,t)}};N.FunctionExpression=N.ArrowFunctionExpression=N.FunctionDeclaration;N.SequenceExpression=function(e,t,n){for(var r=0,i=e.expressions;r<i.length;r+=1){var o=i[r];n(o,t,"Expression")}};N.TemplateLiteral=function(e,t,n){for(var r=0,i=e.quasis;r<i.length;r+=1){var o=i[r];n(o,t)}for(var s=0,h=e.expressions;s<h.length;s+=1){var p=h[s];n(p,t,"Expression")}};N.TemplateElement=$e;N.UnaryExpression=N.UpdateExpression=function(e,t,n){n(e.argument,t,"Expression")};N.BinaryExpression=N.LogicalExpression=function(e,t,n){n(e.left,t,"Expression"),n(e.right,t,"Expression")};N.AssignmentExpression=N.AssignmentPattern=function(e,t,n){n(e.left,t,"Pattern"),n(e.right,t,"Expression")};N.ConditionalExpression=function(e,t,n){n(e.test,t,"Expression"),n(e.consequent,t,"Expression"),n(e.alternate,t,"Expression")};N.NewExpression=N.CallExpression=function(e,t,n){if(n(e.callee,t,"Expression"),e.arguments)for(var r=0,i=e.arguments;r<i.length;r+=1){var o=i[r];n(o,t,"Expression")}};N.MemberExpression=function(e,t,n){n(e.object,t,"Expression"),e.computed&&n(e.property,t,"Expression")};N.ExportNamedDeclaration=N.ExportDefaultDeclaration=function(e,t,n){e.declaration&&n(e.declaration,t,e.type==="ExportNamedDeclaration"||e.declaration.id?"Statement":"Expression"),e.source&&n(e.source,t,"Expression")};N.ExportAllDeclaration=function(e,t,n){e.exported&&n(e.exported,t),n(e.source,t,"Expression")};N.ImportDeclaration=function(e,t,n){for(var r=0,i=e.specifiers;r<i.length;r+=1){var o=i[r];n(o,t)}n(e.source,t,"Expression")};N.ImportExpression=function(e,t,n){n(e.source,t,"Expression")};N.ImportSpecifier=N.ImportDefaultSpecifier=N.ImportNamespaceSpecifier=N.Identifier=N.Literal=$e;N.TaggedTemplateExpression=function(e,t,n){n(e.tag,t,"Expression"),n(e.quasi,t,"Expression")};N.ClassDeclaration=N.ClassExpression=function(e,t,n){return n(e,t,"Class")};N.Class=function(e,t,n){e.id&&n(e.id,t,"Pattern"),e.superClass&&n(e.superClass,t,"Expression"),n(e.body,t)};N.ClassBody=function(e,t,n){for(var r=0,i=e.body;r<i.length;r+=1){var o=i[r];n(o,t)}};N.MethodDefinition=N.Property=function(e,t,n){e.computed&&n(e.key,t,"Expression"),n(e.value,t,"Expression")};var bn={...N,JSXElement:()=>{}},Ei=te.extend((0,Ci.default)());function Et(e){return e!=null?e.name:null}function or(e){return e.filter(t=>t.type==="ObjectExpression"||t.type==="ArrayExpression")}function Rr(e){let t=[];return gi(e,{ObjectExpression(n,r){t.push(or(r).length)},ArrayExpression(n,r){t.push(or(r).length)}},bn),Math.max(...t)}function Fi(e){return{inferredType:{type:"Identifier",identifier:Et(e)},ast:e}}function yi(e){return{inferredType:{type:"Literal"},ast:e}}function Bi(e){let t;Or(e.body,{JSXElement(i){t=i}},bn);let n={type:t!=null?"Element":"Function",params:e.params,hasParams:e.params.length!==0},r=Et(e.id);return r!=null&&(n.identifier=r),{inferredType:n,ast:e}}function xi(e){let t;return Or(e.body,{JSXElement(n){t=n}},bn),{inferredType:{type:t!=null?"Element":"Class",identifier:Et(e.id)},ast:e}}function vi(e){let t={type:"Element"},n=Et(e.openingElement.name);return n!=null&&(t.identifier=n),{inferredType:t,ast:e}}function _i(e){let t=e.callee.type==="MemberExpression"?e.callee.property:e.callee;return Et(t)==="shape"?jr(e.arguments[0]):null}function jr(e){return{inferredType:{type:"Object",depth:Rr(e)},ast:e}}function Si(e){return{inferredType:{type:"Array",depth:Rr(e)},ast:e}}function bi(e){switch(e.type){case"Identifier":return Fi(e);case"Literal":return yi(e);case"FunctionExpression":case"ArrowFunctionExpression":return Bi(e);case"ClassExpression":return xi(e);case"JSXElement":return vi(e);case"CallExpression":return _i(e);case"ObjectExpression":return jr(e);case"ArrayExpression":return Si(e);default:return null}}function wi(e){let t=Ei.parse(`(${e})`,{ecmaVersion:2020}),n={inferredType:{type:"Unknown"},ast:t};if(t.body[0]!=null){let r=t.body[0];switch(r.type){case"ExpressionStatement":{let i=bi(r.expression);i!=null&&(n=i);break}}}return n}function Oe(e){try{return{...wi(e)}}catch{}return{inferredType:{type:"Unknown"}}}function Mr({inferredType:e,ast:t}){let{depth:n}=e;if(n<=2){let r=ar(t,!0);if(!mt(r))return ee(r)}return ee(vn,ar(t))}function Vr({inferredType:e,ast:t}){let{depth:n}=e;if(n===1){let r=gn(t,!0);if(!mt(r))return ee(r)}return ee(gt,gn(t))}function wn(e,t){return t?`${e}( ... )`:`${e}()`}function jt(e){return`<${e} />`}function qr(e){let{type:t,identifier:n}=e;switch(t){case"Function":return wn(n,e.hasParams);case"Element":return jt(n);default:return n}}function ki({inferredType:e,ast:t}){let{identifier:n}=e;if(n!=null)return ee(qr(e),Le(t));let r=Le(t,!0);return mt(r)?ee(tt,Le(t)):ee(r)}function Ii(e,t){let{inferredType:n}=t,{identifier:r}=n;if(r!=null&&!_n(r)){let i=qr(n);return ee(i,e)}return mt(e)?ee(ut,e):ee(e)}function Ur(e){try{let t=Oe(e);switch(t.inferredType.type){case"Object":return Vr(t);case"Function":return ki(t);case"Element":return Ii(e,t);case"Array":return Mr(t);default:return null}}catch(t){console.error(t)}return null}function lr(e){return typeof e=="function"}function Ti(e){return typeof e=="string"||e instanceof String}function Pi(e){var n;if(typeof e!="object"||e==null)return!1;if(Object.getPrototypeOf(e)===null)return!0;if(Object.prototype.toString.call(e)!=="[object Object]"){let r=e[Symbol.toStringTag];return r==null||!((n=Object.getOwnPropertyDescriptor(e,Symbol.toStringTag))!=null&&n.writable)?!1:e.toString()===`[object ${r}]`}let t=e;for(;Object.getPrototypeOf(t)!==null;)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}function cr(e){return Object.prototype.toString.call(e)==="[object Object]"}function Ni(e){var t,n;return cr(e)===!1?!1:(t=e.constructor,t===void 0?!0:(n=t.prototype,!(cr(n)===!1||n.hasOwnProperty("isPrototypeOf")===!1)))}var Li=rt(ui()),be=rt(si()),Pe=function(e,t){return e===0?"":new Array(e*t).fill(" ").join("")};function Dt(e){"@babel/helpers - typeof";return Dt=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Dt(e)}function Oi(e){return Ri(e)||ji(e)||Mi(e)||Vi()}function Ri(e){if(Array.isArray(e))return En(e)}function ji(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function Mi(e,t){if(e){if(typeof e=="string")return En(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return En(e,t)}}function En(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function Vi(){throw new TypeError(`Invalid attempt to spread non-iterable instance. -In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Fn(e,t){return e===null||Dt(e)!=="object"||e instanceof Date||e instanceof RegExp||Ge.isValidElement(e)?e:(t.add(e),Array.isArray(e)?e.map(function(n){return Fn(n,t)}):Object.keys(e).sort().reduce(function(n,r){return r==="_owner"||(r==="current"||t.has(e[r])?n[r]="[Circular]":n[r]=Fn(e[r],t)),n},{}))}function qi(e){return Fn(e,new WeakSet)}var Wr=function(e){return{type:"string",value:e}},Ui=function(e){return{type:"number",value:e}},Wi=function(e,t,n,r){return{type:"ReactElement",displayName:e,props:t,defaultProps:n,childrens:r}},zi=function(e,t){return{type:"ReactFragment",key:e,childrens:t}},Gi=!!Ge.Fragment,zr=function(e){return!e.name||e.name==="_default"?"No Display Name":e.name},$i=function e(t){switch(!0){case!!t.displayName:return t.displayName;case t.$$typeof===be.Memo:return e(t.type);case t.$$typeof===be.ForwardRef:return e(t.render);default:return zr(t)}},Ji=function(e){switch(!0){case typeof e.type=="string":return e.type;case typeof e.type=="function":return e.type.displayName?e.type.displayName:zr(e.type);case(0,be.isForwardRef)(e):case(0,be.isMemo)(e):return $i(e.type);case(0,be.isContextConsumer)(e):return"".concat(e.type._context.displayName||"Context",".Consumer");case(0,be.isContextProvider)(e):return"".concat(e.type._context.displayName||"Context",".Provider");case(0,be.isLazy)(e):return"Lazy";case(0,be.isProfiler)(e):return"Profiler";case(0,be.isStrictMode)(e):return"StrictMode";case(0,be.isSuspense)(e):return"Suspense";default:return"UnknownElementType"}},hr=function(e,t){return t!=="children"},Xi=function(e){return e!==!0&&e!==!1&&e!==null&&e!==""},pr=function(e,t){var n={};return Object.keys(e).filter(function(r){return t(e[r],r)}).forEach(function(r){return n[r]=e[r]}),n},kn=function e(t,n){var r=n.displayName,i=r===void 0?Ji:r;if(typeof t=="string")return Wr(t);if(typeof t=="number")return Ui(t);if(!ft.isValidElement(t))throw new Error("react-element-to-jsx-string: Expected a React.Element, got `".concat(Dt(t),"`"));var o=i(t),s=pr(t.props,hr);t.ref!==null&&(s.ref=t.ref);var h=t.key;typeof h=="string"&&h.search(/^\./)&&(s.key=h);var p=pr(t.type.defaultProps||{},hr),A=ft.Children.toArray(t.props.children).filter(Xi).map(function(D){return e(D,n)});return Gi&&t.type===Ge.Fragment?zi(h,A):Wi(o,s,p,A)};function Hi(){}var Qi=function(e){return e.toString().split(` -`).map(function(t){return t.trim()}).join("")},fr=Qi,Gr=function(e,t){var n=t.functionValue,r=n===void 0?fr:n,i=t.showFunctions;return r(!i&&r===fr?Hi:e)},Yi=function(e,t,n,r){var i=qi(e),o=(0,Li.prettyPrint)(i,{transform:function(s,h,p){var A=s[h];return A&&Ge.isValidElement(A)?Mt(kn(A,r),!0,n,r):typeof A=="function"?Gr(A,r):p}});return t?o.replace(/\s+/g," ").replace(/{ /g,"{").replace(/ }/g,"}").replace(/\[ /g,"[").replace(/ ]/g,"]"):o.replace(/\t/g,Pe(1,r.tabStop)).replace(/\n([^$])/g,` -`.concat(Pe(n+1,r.tabStop),"$1"))},Ki=function(e){return e.replace(/"/g,""")},Zi=function(e,t,n,r){if(typeof e=="number")return"{".concat(String(e),"}");if(typeof e=="string")return'"'.concat(Ki(e),'"');if(Dt(e)==="symbol"){var i=e.valueOf().toString().replace(/Symbol\((.*)\)/,"$1");return i?"{Symbol('".concat(i,"')}"):"{Symbol()}"}return typeof e=="function"?"{".concat(Gr(e,r),"}"):Ge.isValidElement(e)?"{".concat(Mt(kn(e,r),!0,n,r),"}"):e instanceof Date?isNaN(e.valueOf())?"{new Date(NaN)}":'{new Date("'.concat(e.toISOString(),'")}'):Ni(e)||Array.isArray(e)?"{".concat(Yi(e,t,n,r),"}"):"{".concat(String(e),"}")},es=function(e,t,n,r,i,o,s,h){if(!t&&!r)throw new Error('The prop "'.concat(e,'" has no value and no default: could not be formatted'));var p=t?n:i,A=h.useBooleanShorthandSyntax,D=h.tabStop,y=Zi(p,o,s,h),C=" ",g=` -`.concat(Pe(s+1,D)),m=y.includes(` -`);return A&&y==="{false}"&&!r?(C="",g=""):A&&y==="{true}"?(C+="".concat(e),g+="".concat(e)):(C+="".concat(e,"=").concat(y),g+="".concat(e,"=").concat(y)),{attributeFormattedInline:C,attributeFormattedMultiline:g,isMultilineAttribute:m}},ts=function(e,t){var n=e.slice(0,e.length>0?e.length-1:0),r=e[e.length-1];return r&&(t.type==="string"||t.type==="number")&&(r.type==="string"||r.type==="number")?n.push(Wr(String(r.value)+String(t.value))):(r&&n.push(r),n.push(t)),n},ns=function(e){return["key","ref"].includes(e)},rs=function(e){return function(t){var n=t.includes("key"),r=t.includes("ref"),i=t.filter(function(s){return!ns(s)}),o=Oi(e?i.sort():i);return r&&o.unshift("ref"),n&&o.unshift("key"),o}};function us(e,t){return Array.isArray(t)?function(n){return t.indexOf(n)===-1}:function(n){return t(e[n],n)}}var is=function(e,t,n,r,i){var o=i.tabStop;return e.type==="string"?t.split(` -`).map(function(s,h){return h===0?s:"".concat(Pe(r,o)).concat(s)}).join(` -`):t},ss=function(e,t,n){return function(r){return is(r,Mt(r,e,t,n),e,t,n)}},as=function(e,t){return function(n){var r=Object.keys(e).includes(n);return!r||r&&e[n]!==t[n]}},$r=function(e,t,n,r,i){return i?Pe(n,r).length+t.length>i:e.length>1},os=function(e,t,n,r,i,o,s){return($r(e,t,i,o,s)||n)&&!r},Jr=function(e,t,n,r){var i=e.type,o=e.displayName,s=o===void 0?"":o,h=e.childrens,p=e.props,A=p===void 0?{}:p,D=e.defaultProps,y=D===void 0?{}:D;if(i!=="ReactElement")throw new Error('The "formatReactElementNode" function could only format node of type "ReactElement". Given: '.concat(i));var C=r.filterProps,g=r.maxInlineAttributesLineLength,m=r.showDefaultProps,E=r.sortProps,w=r.tabStop,S="<".concat(s),_=S,L=S,v=!1,B=[],F=us(A,C);Object.keys(A).filter(F).filter(as(y,A)).forEach(function(P){return B.push(P)}),Object.keys(y).filter(F).filter(function(){return m}).filter(function(P){return!B.includes(P)}).forEach(function(P){return B.push(P)});var x=rs(E)(B);if(x.forEach(function(P){var j=es(P,Object.keys(A).includes(P),A[P],Object.keys(y).includes(P),y[P],t,n,r),M=j.attributeFormattedInline,V=j.attributeFormattedMultiline,U=j.isMultilineAttribute;U&&(v=!0),_+=M,L+=V}),L+=` -`.concat(Pe(n,w)),os(x,_,v,t,n,w,g)?S=L:S=_,h&&h.length>0){var b=n+1;S+=">",t||(S+=` -`,S+=Pe(b,w)),S+=h.reduce(ts,[]).map(ss(t,b,r)).join(t?"":` -`.concat(Pe(b,w))),t||(S+=` -`,S+=Pe(b-1,w)),S+="</".concat(s,">")}else $r(x,_,n,w,g)||(S+=" "),S+="/>";return S},ls="",dr="React.Fragment",cs=function(e,t,n){var r={};return t&&(r={key:t}),{type:"ReactElement",displayName:e,props:r,defaultProps:{},childrens:n}},hs=function(e){var t=e.key;return!!t},ps=function(e){var t=e.childrens;return t.length===0},fs=function(e,t,n,r){var i=e.type,o=e.key,s=e.childrens;if(i!=="ReactFragment")throw new Error('The "formatReactFragmentNode" function could only format node of type "ReactFragment". Given: '.concat(i));var h=r.useFragmentShortSyntax,p;return h?ps(e)||hs(e)?p=dr:p=ls:p=dr,Jr(cs(p,o,s),t,n,r)},ds=["<",">","{","}"],As=function(e){return ds.some(function(t){return e.includes(t)})},Ds=function(e){return As(e)?"{`".concat(e,"`}"):e},ms=function(e){var t=e;return t.endsWith(" ")&&(t=t.replace(/^(.*?)(\s+)$/,"$1{'$2'}")),t.startsWith(" ")&&(t=t.replace(/^(\s+)(.*)$/,"{'$1'}$2")),t},Mt=function(e,t,n,r){if(e.type==="number")return String(e.value);if(e.type==="string")return e.value?"".concat(ms(Ds(String(e.value)))):"";if(e.type==="ReactElement")return Jr(e,t,n,r);if(e.type==="ReactFragment")return fs(e,t,n,r);throw new TypeError('Unknow format type "'.concat(e.type,'"'))},Cs=function(e,t){return Mt(e,!1,0,t)},Xr=function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=t.filterProps,r=n===void 0?[]:n,i=t.showDefaultProps,o=i===void 0?!0:i,s=t.showFunctions,h=s===void 0?!1:s,p=t.functionValue,A=t.tabStop,D=A===void 0?2:A,y=t.useBooleanShorthandSyntax,C=y===void 0?!0:y,g=t.useFragmentShortSyntax,m=g===void 0?!0:g,E=t.sortProps,w=E===void 0?!0:E,S=t.maxInlineAttributesLineLength,_=t.displayName;if(!e)throw new Error("react-element-to-jsx-string: Expected a ReactElement");var L={filterProps:r,showDefaultProps:o,showFunctions:h,functionValue:p,tabStop:D,useBooleanShorthandSyntax:C,useFragmentShortSyntax:m,sortProps:w,maxInlineAttributesLineLength:S,displayName:_};return Cs(kn(e,L),L)},Ar=Xr;function Hr(e){return e.$$typeof!=null}function Qr(e,t){let{name:n}=e;return n!==""&&n!=="anonymous"&&n!==t?n:null}var gs=e=>ee(JSON.stringify(e));function Es(e){let{type:t}=e,{displayName:n}=t,r=Ar(e,{});if(n!=null){let i=jt(n);return ee(i,r)}if(Ti(t)&&_n(t)){let i=Ar(e,{tabStop:0}).replace(/\r?\n|\r/g,"");if(!mt(i))return ee(i)}return ee(ut,r)}var Fs=e=>{if(Hr(e)&&e.type!=null)return Es(e);if(Pi(e)){let t=Oe(JSON.stringify(e));return Vr(t)}if(Array.isArray(e)){let t=Oe(JSON.stringify(e));return Mr(t)}return ee(gt)},ys=(e,t)=>{let n=!1,r;if(lr(e.render))n=!0;else if(e.prototype!=null&&lr(e.prototype.render))n=!0;else{let o;try{r=Oe(e.toString());let{hasParams:s,params:h}=r.inferredType;s?h.length===1&&h[0].type==="ObjectPattern"&&(o=e({})):o=e(),o!=null&&Hr(o)&&(n=!0)}catch{}}let i=Qr(e,t.name);if(i!=null){if(n)return ee(jt(i));r!=null&&(r=Oe(e.toString()));let{hasParams:o}=r.inferredType;return ee(wn(i,o))}return ee(n?ut:tt)},Bs=e=>ee(e.toString()),Yr={string:gs,object:Fs,function:ys,default:Bs};function xs(e={}){return{...Yr,...e}}function Kr(e,t,n=Yr){try{switch(typeof e){case"string":return n.string(e,t);case"object":return n.object(e,t);case"function":return n.function(e,t);default:return n.default(e,t)}}catch(r){console.error(r)}return null}function vs(e,t){let n=e!=null,r=t!=null;if(!n&&!r)return"";let i=[];if(n){let o=e.map(s=>{let h=s.getPrettyName(),p=s.getTypeName();return p!=null?`${h}: ${p}`:h});i.push(`(${o.join(", ")})`)}else i.push("()");return r&&i.push(`=> ${t.getTypeName()}`),i.join(" ")}function _s(e,t){let n=e!=null,r=t!=null;if(!n&&!r)return"";let i=[];return n?i.push("( ... )"):i.push("()"),r&&i.push(`=> ${t.getTypeName()}`),i.join(" ")}function Ss(e){return e.replace(/,/g,`,\r -`)}var bs=150;function Ae({name:e,short:t,compact:n,full:r,inferredType:i}){return{name:e,short:t,compact:n,full:r??t,inferredType:i}}function Zr(e){return e.replace(/PropTypes./g,"").replace(/.isRequired/g,"")}function Dr(e){return e.split(/\r?\n/)}function Rt(e,t=!1){return Zr(gn(e,t))}function mr(e,t=!1){return Zr(Le(e,t))}function ws(e){switch(e){case"Object":return gt;case"Array":return vn;case"Class":return oi;case"Function":return tt;case"Element":return ut;default:return Cn}}function eu(e,t){let{inferredType:n,ast:r}=Oe(e),{type:i}=n,o,s,h;switch(i){case"Identifier":case"Literal":o=e,s=e;break;case"Object":{let{depth:p}=n;o=gt,s=p===1?Rt(r,!0):null,h=Rt(r);break}case"Element":{let{identifier:p}=n;o=p!=null&&!_n(p)?p:ut,s=Dr(e).length===1?e:null,h=e;break}case"Array":{let{depth:p}=n;o=vn,s=p<=2?mr(r,!0):null,h=mr(r);break}default:o=ws(i),s=Dr(e).length===1?e:null,h=e;break}return Ae({name:t,short:o,compact:s,full:h,inferredType:i})}function ks({raw:e}){return e!=null?eu(e,"custom"):Ae({name:"custom",short:Cn,compact:Cn})}function Is(e){let{jsDocTags:t}=e;return t!=null&&(t.params!=null||t.returns!=null)?Ae({name:"func",short:_s(t.params,t.returns),compact:null,full:vs(t.params,t.returns)}):Ae({name:"func",short:tt,compact:tt})}function Ts(e,t){let n=Object.keys(e.value).map(s=>`${s}: ${nt(e.value[s],t).full}`).join(", "),{inferredType:r,ast:i}=Oe(`{ ${n} }`),{depth:o}=r;return Ae({name:"shape",short:gt,compact:o===1&&i?Rt(i,!0):null,full:i?Rt(i):null})}function sn(e){return`objectOf(${e})`}function Ps(e,t){let{short:n,compact:r,full:i}=nt(e.value,t);return Ae({name:"objectOf",short:sn(n),compact:r!=null?sn(r):null,full:i&&sn(i)})}function Ns(e,t){if(Array.isArray(e.value)){let n=e.value.reduce((r,i)=>{let{short:o,compact:s,full:h}=nt(i,t);return r.short.push(o),r.compact.push(s),r.full.push(h),r},{short:[],compact:[],full:[]});return Ae({name:"union",short:n.short.join(" | "),compact:n.compact.every(r=>r!=null)?n.compact.join(" | "):null,full:n.full.join(" | ")})}return Ae({name:"union",short:e.value,compact:null})}function Ls({value:e,computed:t}){return t?eu(e,"enumvalue"):Ae({name:"enumvalue",short:e,compact:e})}function Os(e){if(Array.isArray(e.value)){let t=e.value.reduce((n,r)=>{let{short:i,compact:o,full:s}=Ls(r);return n.short.push(i),n.compact.push(o),n.full.push(s),n},{short:[],compact:[],full:[]});return Ae({name:"enum",short:t.short.join(" | "),compact:t.compact.every(n=>n!=null)?t.compact.join(" | "):null,full:t.full.join(" | ")})}return Ae({name:"enum",short:e.value,compact:e.value})}function yn(e){return`${e}[]`}function Cr(e){return`[${e}]`}function gr(e,t,n){return Ae({name:"arrayOf",short:yn(e),compact:t!=null?Cr(t):null,full:n&&Cr(n)})}function Rs(e,t){let{name:n,short:r,compact:i,full:o,inferredType:s}=nt(e.value,t);if(n==="custom"){if(s==="Object")return gr(r,i,o)}else if(n==="shape")return gr(r,i,o);return Ae({name:"arrayOf",short:yn(r),compact:yn(r)})}function nt(e,t){try{switch(e.name){case"custom":return ks(e);case"func":return Is(t);case"shape":return Ts(e,t);case"instanceOf":return Ae({name:"instanceOf",short:e.value,compact:e.value});case"objectOf":return Ps(e,t);case"union":return Ns(e,t);case"enum":return Os(e);case"arrayOf":return Rs(e,t);default:return Ae({name:e.name,short:e.name,compact:e.name})}}catch(n){console.error(n)}return Ae({name:"unknown",short:"unknown",compact:"unknown"})}function js(e){let{type:t}=e.docgenInfo;if(t==null)return null;try{switch(t.name){case"custom":case"shape":case"instanceOf":case"objectOf":case"union":case"enum":case"arrayOf":{let{short:n,compact:r,full:i}=nt(t,e);return r!=null&&!Bu(r)?ee(r):i?ee(n,i):ee(n)}case"func":{let{short:n,full:r}=nt(t,e),i=n,o;return r&&r.length<bs?i=r:r&&(o=Ss(r)),ee(i,o)}default:return null}}catch(n){console.error(n)}return null}var Ms=(e,{name:t,type:n})=>{let r=(n==null?void 0:n.summary)==="element"||(n==null?void 0:n.summary)==="elementType",i=Qr(e,t);if(i!=null){if(r)return ee(jt(i));let{hasParams:o}=Oe(e.toString()).inferredType;return ee(wn(i,o))}return ee(r?ut:tt)},Vs=xs({function:Ms});function qs(e,t){let{propTypes:n}=t;return n!=null?Object.keys(n).map(r=>e.find(i=>i.name===r)).filter(Boolean):e}function Us(e,t){let{propDef:n}=e,r=js(e);r!=null&&(n.type=r);let{defaultValue:i}=e.docgenInfo;if(i!=null&&i.value!=null){let o=Ur(i.value);o!=null&&(n.defaultValue=o)}else if(t!=null){let o=Kr(t,n,Vs);o!=null&&(n.defaultValue=o)}return n}function Ws(e,t){let n=t.defaultProps!=null?t.defaultProps:{},r=e.map(i=>Us(i,n[i.propDef.name]));return qs(r,t)}function zs(e,t){let{propDef:n}=e,{defaultValue:r}=e.docgenInfo;if(r!=null&&r.value!=null){let i=Ur(r.value);i!=null&&(n.defaultValue=i)}else if(t!=null){let i=Kr(t,n);i!=null&&(n.defaultValue=i)}return n}function Gs(e){return e.map(t=>zs(t))}var Er=new Map;Object.keys(sr.default).forEach(e=>{let t=sr.default[e];Er.set(t,e),Er.set(t.isRequired,e)});function $s(e,t){let n=e;!Fu(e)&&!e.propTypes&&Lr(e)&&(n=e.type);let r=yu(n,t);if(r.length===0)return[];switch(r[0].typeSystem){case Wn.JAVASCRIPT:return Ws(r,e);case Wn.TYPESCRIPT:return Gs(r);default:return r.map(i=>i.propDef)}}var Js=e=>({rows:$s(e,"props")}),Xs=e=>{if(e){let{rows:t}=Js(e);if(t)return t.reduce((n,r)=>{let{name:i,description:o,type:s,sbType:h,defaultValue:p,jsDocTags:A,required:D}=r;return n[i]={name:i,description:o,type:{required:D,...h},table:{type:s??void 0,jsDocTags:A,defaultValue:p??void 0}},n},{})}return null},an=Xr,Hs=e=>e.charAt(0).toUpperCase()+e.slice(1),Qs=e=>(e.$$typeof||e).toString().replace(/^Symbol\((.*)\)$/,"$1").split(".").map(t=>t.split("_").map(Hs).join("")).join(".");function Bn(e){if(Ge.isValidElement(e)){let t=Object.keys(e.props).reduce((n,r)=>(n[r]=Bn(e.props[r]),n),{});return{...e,props:t,_owner:null}}return Array.isArray(e)?e.map(Bn):e}var Ys=(e,t)=>{if(typeof e>"u")return xt.warn("Too many skip or undefined component"),null;let n=e,r=n.type;for(let s=0;s<(t==null?void 0:t.skip);s+=1){if(typeof n>"u")return xt.warn("Cannot skip undefined element"),null;if(ft.Children.count(n)>1)return xt.warn("Trying to skip an array of elements"),null;typeof n.props.children>"u"?(xt.warn("Not enough children to skip elements."),typeof n.type=="function"&&n.type.name===""&&(n=ft.createElement(r,{...n.props}))):typeof n.props.children=="function"?n=n.props.children():n=n.props.children}let i;typeof(t==null?void 0:t.displayName)=="string"?i={showFunctions:!0,displayName:()=>t.displayName}:i={displayName:s=>{var h;return s.type.displayName?s.type.displayName:qn(s.type,"displayName")?qn(s.type,"displayName"):(h=s.type.render)!=null&&h.displayName?s.type.render.displayName:typeof s.type=="symbol"||s.type.$$typeof&&typeof s.type.$$typeof=="symbol"?Qs(s.type):s.type.name&&s.type.name!=="_default"?s.type.name:typeof s.type=="function"?"No Display Name":mi(s.type)?s.type.render.name:Lr(s.type)?s.type.type.name:s.type}};let o={...i,filterProps:(s,h)=>s!==void 0,...t};return ft.Children.map(e,s=>{let h=typeof s=="number"?s.toString():s,p=(typeof an=="function"?an:an.default)(Bn(h),o);if(p.indexOf(""")>-1){let A=p.match(/\S+=\\"([^"]*)\\"/g);A&&A.forEach(D=>{p=p.replace(D,D.replace(/"/g,"'"))})}return p}).join(` -`).replace(/function\s+noRefCheck\(\)\s*\{\}/g,"() => {}")},Ks={skip:0,showFunctions:!1,enableBeautify:!0,showDefaultProps:!1},Zs=e=>{var r;let t=(r=e==null?void 0:e.parameters.docs)==null?void 0:r.source,n=e==null?void 0:e.parameters.__isArgsStory;return(t==null?void 0:t.type)===Un.DYNAMIC?!1:!n||(t==null?void 0:t.code)||(t==null?void 0:t.type)===Un.CODE},ea=e=>{var t,n;return((t=e.type)==null?void 0:t.displayName)==="MDXCreateElement"&&!!((n=e.props)!=null&&n.mdxType)},tu=e=>{if(!ea(e))return e;let{mdxType:t,originalType:n,children:r,...i}=e.props,o=[];return r&&(o=(Array.isArray(r)?r:[r]).map(tu)),Ge.createElement(n,i,...o)},nu=(e,t)=>{var D,y;let n=vu.getChannel(),r=Zs(t),i="";_u(()=>{if(!r){let{id:C,unmappedArgs:g}=t;n.emit(Eu,{id:C,source:i,args:g})}});let o=e();if(r)return o;let s={...Ks,...(t==null?void 0:t.parameters.jsx)||{}},h=(y=(D=t==null?void 0:t.parameters.docs)==null?void 0:D.source)!=null&&y.excludeDecorators?t.originalStoryFn(t.args,t):o,p=tu(h),A=Ys(p,s);return A&&(i=A),o},ta=(e,t)=>{let n=t.findIndex(i=>i.originalFn===nu),r=n===-1?t:[...t.splice(n,1),...t];return xu(e,r)},na={docs:{story:{inline:!0},extractArgTypes:Xs,extractComponentDescription:Cu}},ra=[nu],ua=[gu];export{ta as applyDecorators,ua as argTypesEnhancers,ra as decorators,na as parameters}; diff --git a/docs/storybook/assets/es-be0cb381.js b/docs/storybook/assets/es-be0cb381.js deleted file mode 100644 index 7ecc263..0000000 --- a/docs/storybook/assets/es-be0cb381.js +++ /dev/null @@ -1 +0,0 @@ -const a="es",i={AF:"Afganistán",AL:"Albania",DZ:"Argelia",AS:"Samoa Americana",AD:"Andorra",AO:"Angola",AI:"Anguila",AQ:"Antártida",AG:"Antigua y Barbuda",AR:"Argentina",AM:"Armenia",AW:"Aruba",AU:"Australia",AT:"Austria",AZ:"Azerbaiyán",BS:"Bahamas",BH:"Bahrein",BD:"Bangladesh",BB:"Barbados",BY:"Bielorrusia",BE:"Bélgica",BZ:"Belice",BJ:"Benin",BM:"Bermudas",BT:"Bután",BO:"Bolivia",BA:"Bosnia y Herzegovina",BW:"Botswana",BV:"Isla Bouvet",BR:"Brasil",IO:"Territorio Británico del Océano Índico",BN:"Brunei Darussalam",BG:"Bulgaria",BF:"Burkina Faso",BI:"Burundi",KH:"Camboya",CM:"Camerún",CA:"Canadá",CV:"Cabo Verde",KY:"Islas Caimán",CF:"República Centroafricana",TD:"Chad",CL:"Chile",CN:"China",CX:"Isla de Navidad",CC:"Islas Cocos (Keeling)",CO:"Colombia",KM:"Comoras",CG:"Congo",CD:"Congo (República Democrática del)",CK:"Islas Cook",CR:"Costa Rica",CI:"Costa de Marfil",HR:"Croacia",CU:"Cuba",CY:"Chipre",CZ:"República Checa",DK:"Dinamarca",DJ:"Yibuti",DM:"Dominica",DO:"República Dominicana",EC:"Ecuador",EG:"Egipto",SV:"El Salvador",GQ:"Guinea Ecuatorial",ER:"Eritrea",EE:"Estonia",ET:"Etiopía",FK:"Islas Malvinas",FO:"Islas Feroe",FJ:"Fiji",FI:"Finlandia",FR:"Francia",GF:"Guayana Francesa",PF:"Polinesia Francesa",TF:"Tierras Australes Francesas",GA:"Gabón",GM:"Gambia",GE:"Georgia",DE:"Alemania",GH:"Ghana",GI:"Gibraltar",GR:"Grecia",GL:"Groenlandia",GD:"Granada",GP:"Guadalupe",GU:"Guam",GT:"Guatemala",GN:"Guinea",GW:"Guinea Bissau",GY:"Guyana",HT:"Haití",HM:"Heard e Islas McDonald",VA:"Santa Sede",HN:"Honduras",HK:"Hong Kong",HU:"Hungría",IS:"Islandia",IN:"India",ID:"Indonesia",IR:["Irán","República Islámica de Irán"],IQ:"Iraq",IE:"Irlanda",IL:"Israel",IT:"Italia",JM:"Jamaica",JP:"Japón",JO:"Jordania",KZ:"Kazajistán",KE:"Kenia",KI:"Kiribati",KP:"República Popular Democrática de Corea",KR:"República de Corea",KW:"Kuwait",KG:"Kirguistán",LA:"República Democrática Popular de Lao",LV:"Letonia",LB:"Líbano",LS:"Lesoto",LR:"Liberia",LY:"Libia",LI:"Liechtenstein",LT:"Lituania",LU:"Luxemburgo",MO:"Macao",MK:"Macedonia del Norte",MG:"Madagascar",MW:"Malaui",MY:"Malasia",MV:"Maldivas",ML:"Malí",MT:"Malta",MH:"Islas Marshall",MQ:"Martinica",MR:"Mauritania",MU:"Mauricio",YT:"Mayotte",MX:"México",FM:"Micronesia",MD:"Moldavia",MC:"Mónaco",MN:"Mongolia",MS:"Montserrat",MA:"Marruecos",MZ:"Mozambique",MM:"Myanmar",NA:"Namibia",NR:"Nauru",NP:"Nepal",NL:"Países Bajos",NC:"Nueva Caledonia",NZ:"Nueva Zelanda",NI:"Nicaragua",NE:"Níger",NG:"Nigeria",NU:"Niue",NF:"Isla Norfolk",MP:"Islas Marianas del Norte",NO:"Noruega",OM:"Omán",PK:"Pakistán",PW:"Palau",PS:"Palestina",PA:"Panamá",PG:"Papua Nueva Guinea",PY:"Paraguay",PE:"Perú",PH:"Filipinas",PN:"Pitcairn",PL:"Polonia",PT:"Portugal",PR:"Puerto Rico",QA:"Catar",RE:"Reunión",RO:"Rumanía",RU:"Rusia",RW:"Ruanda",SH:"Santa Helena, Ascensión y Tristán de Acuña",KN:"Saint Kitts y Nevis",LC:"Santa Lucía",PM:"San Pedro y Miquelón",VC:"San Vicente y las Granadinas",WS:"Samoa",SM:"San Marino",ST:"Santo Tomé y Príncipe",SA:"Arabia Saudita",SN:"Senegal",SC:"Seychelles",SL:"Sierra Leona",SG:"Singapur",SK:"Eslovaquia",SI:"Eslovenia",SB:"Islas Salomón",SO:"Somalia",ZA:"Sudáfrica",GS:"Georgia del Sur y las Islas Sandwich del Sur",ES:"España",LK:"Sri Lanka",SD:"Sudán",SR:"Suriname",SJ:"Svalbard y Jan Mayen",SZ:"Esuatini",SE:"Suecia",CH:"Suiza",SY:"República Árabe Siria",TW:"Taiwán",TJ:"Tayikistán",TZ:"Tanzania",TH:"Tailandia",TL:"Timor-Leste",TG:"Togo",TK:"Tokelau",TO:"Tonga",TT:"Trinidad y Tobago",TN:"Túnez",TR:"Turquía",TM:"Turkmenistán",TC:"Islas Turcas y Caicos",TV:"Tuvalu",UG:"Uganda",UA:"Ucrania",AE:"Emiratos Árabes Unidos",GB:"Reino Unido",US:"Estados Unidos",UM:"Islas Ultramarinas Menores de los Estados Unidos",UY:"Uruguay",UZ:"Uzbekistán",VU:"Vanuatu",VE:"Venezuela",VN:"Vietnam",VG:"Islas Vírgenes británicas",VI:"Islas Vírgenes de los Estados Unidos",WF:"Wallis y Futuna",EH:"Sahara Occidental",YE:"Yemen",ZM:"Zambia",ZW:"Zimbabue",AX:"Islas Åland",BQ:"Bonaire, San Eustaquio y Saba",CW:"Curaçao",GG:"Guernsey",IM:"Isla de Man",JE:"Jersey",ME:"Montenegro",BL:"Saint Barthélemy",MF:"Saint Martin (francesa)",RS:"Serbia",SX:"Sint Maarten (neerlandesa)",SS:"Sudán del Sur",XK:"Kosovo"},n={locale:a,countries:i};export{i as countries,n as default,a as locale}; diff --git a/docs/storybook/assets/et-e3fdc91c.js b/docs/storybook/assets/et-e3fdc91c.js deleted file mode 100644 index 213746f..0000000 --- a/docs/storybook/assets/et-e3fdc91c.js +++ /dev/null @@ -1 +0,0 @@ -const a="et",i={AF:"Afganistan",AX:"Ahvenamaa",AL:"Albaania",DZ:"Alžeeria",AS:"Ameerika Samoa",US:"Ameerika Ühendriigid",AD:"Andorra",AO:"Angola",AI:"Anguilla",AQ:"Antarktis",AG:"Antigua ja Barbuda",MO:"Aomen - Hiina erihalduspiirkond",AE:"Araabia Ühendemiraadid",AR:"Argentina",AM:"Armeenia",AW:"Aruba",AZ:"Aserbaidžaan",AU:"Austraalia",AT:"Austria",BS:"Bahama",BH:"Bahrein",BD:"Bangladesh",BB:"Barbados",PW:"Belau",BE:"Belgia",BZ:"Belize",BJ:"Benin",BM:"Bermuda",BT:"Bhutan",BO:"Boliivia",BA:"Bosnia ja Hertsegoviina",BW:"Botswana",BV:"Bouvet’i saar",BR:"Brasiilia",BQ:"Bonaire, Sint Eustatius ja Saba",IO:"Briti India ookeani ala",VG:"Briti Neitsisaared",BN:"Brunei",BG:"Bulgaaria",BF:"Burkina Faso",BI:"Burundi",CO:"Colombia",CK:"Cooki saared",CR:"Costa Rica",CI:"Côte d'Ivoire",CW:"Curaçao",DJ:"Djibouti",DM:"Dominica",DO:"Dominikaani Vabariik",EC:"Ecuador",EE:"Eesti",EG:"Egiptus",GQ:"Ekvatoriaal-Guinea",SV:"El Salvador",ER:"Eritrea",ET:"Etioopia",FK:"Falklandi saared",FJ:"Fidži",PH:"Filipiinid",FO:"Fääri saared",GA:"Gabon",GM:"Gambia",GH:"Ghana",GI:"Gibraltar",GD:"Grenada",GE:"Gruusia",GL:"Gröönimaa",GP:"Guadeloupe",GU:"Guam",GT:"Guatemala",GG:"Guernsey",GN:"Guinea",GW:"Guinea-Bissau",GY:"Guyana",HT:"Haiti",HM:"Heard ja McDonald saared",CN:"Hiina",ES:"Hispaania",NL:"Holland",HN:"Honduras",HK:"Hongkong - Hiina erihalduspiirkond",HR:"Horvaatia",TL:"Ida-Timor",IE:"Iirimaa",IL:"Iisrael",IN:"India",ID:"Indoneesia",IQ:"Iraak",IR:"Iraan",IS:"Island",IT:"Itaalia",JP:"Jaapan",JM:"Jamaica",YE:"Jeemen",JE:"Jersey",JO:"Jordaania",CX:"Jõulusaar",KY:"Kaimanisaared",KH:"Kambodža",CM:"Kamerun",CA:"Kanada",KZ:"Kasahstan",QA:"Katar",KE:"Kenya",CF:"Kesk-Aafrika Vabariik",KI:"Kiribati",KM:"Komoorid",CD:"Kongo DV",CG:"Kongo-Brazzaville",CC:"Kookossaared",GR:"Kreeka",CU:"Kuuba",KW:"Kuveit",KG:"Kõrgõzstan",CY:"Küpros",LA:"Laos",LT:"Leedu",LS:"Lesotho",LR:"Libeeria",LI:"Liechtenstein",LB:"Liibanon",LY:"Liibüa",LU:"Luksemburg",ZA:"Lõuna-Aafrika Vabariik",GS:"Lõuna-Georgia ja Lõuna-Sandwichi saared",KR:"Lõuna-Korea",LV:"Läti",EH:"Lääne-Sahara",MG:"Madagaskar",MY:"Malaisia",MW:"Malawi",MV:"Maldiivid",ML:"Mali",MT:"Malta",IM:"Mani saar",MA:"Maroko",MH:"Marshalli saared",MQ:"Martinique",MR:"Mauritaania",MU:"Mauritius",YT:"Mayotte",MX:"Mehhiko",FM:"Mikroneesia Liiduriigid",MD:"Moldova",MC:"Monaco",MN:"Mongoolia",ME:"Montenegro",MS:"Montserrat",MZ:"Mosambiik",MM:"Myanmar",NA:"Namiibia",NR:"Nauru",NP:"Nepal",NI:"Nicaragua",NG:"Nigeeria",NE:"Niger",NU:"Niue",NF:"Norfolk",NO:"Norra",OM:"Omaan",PG:"Paapua Uus-Guinea",PK:"Pakistan",PS:"Palestiina ala",PA:"Panama",PY:"Paraguay",PE:"Peruu",PN:"Pitcairn",PL:"Poola",PT:"Portugal",GF:"Prantsuse Guajaana",TF:"Prantsuse Lõunaalad",PF:"Prantsuse Polüneesia",FR:"Prantsusmaa",PR:"Puerto Rico",KP:"Põhja-Korea",MK:"Põhja-Makedoonia",MP:"Põhja-Mariaanid",RE:"Réunion",CV:"Roheneemesaared",SE:"Rootsi",SX:"Sint Maarten",RO:"Rumeenia",RW:"Rwanda",SB:"Saalomoni Saared",BL:"Saint Barthélemy",SH:"Saint Helena",KN:"Saint Kitts ja Nevis",LC:"Saint Lucia",MF:"Saint Martin",PM:"Saint Pierre ja Miquelon",VC:"Saint Vincent ja Grenadiinid",DE:"Saksamaa",ZM:"Sambia",WS:"Samoa",SM:"San Marino",ST:"São Tomé ja Príncipe",SA:"Saudi Araabia",SC:"Seišellid",SN:"Senegal",RS:"Serbia",SL:"Sierra Leone",SG:"Singapur",SK:"Slovakkia",SI:"Sloveenia",SO:"Somaalia",FI:"Soome",LK:"Sri Lanka",SD:"Sudaan",SS:"Lõuna-Sudaan",SR:"Suriname",GB:"Suurbritannia",SZ:"Svaasimaa",SJ:"Svalbard ja Jan Mayen",SY:"Süüria",CH:"Šveits",ZW:"Zimbabwe",DK:"Taani",TJ:"Tadžikistan",TH:"Tai",TW:"Taiwan",TZ:"Tansaania",TG:"Togo",TK:"Tokelau",TO:"Tonga",TT:"Trinidad ja Tobago",TD:"Tšaad",CZ:"Tšehhi",CL:"Tšiili",TN:"Tuneesia",TC:"Turks ja Caicos",TV:"Tuvalu",TR:"Türgi",TM:"Türkmenistan",UG:"Uganda",UA:"Ukraina",HU:"Ungari",UY:"Uruguay",VI:"USA Neitsisaared",UZ:"Usbekistan",NC:"Uus-Kaledoonia",NZ:"Uus-Meremaa",BY:"Valgevene",WF:"Wallis ja Futuna",VU:"Vanuatu",VA:"Vatikan",RU:"Venemaa",VE:"Venezuela",VN:"Vietnam",UM:"Ühendriikide hajasaared",XK:"Kosovo"},n={locale:a,countries:i};export{i as countries,n as default,a as locale}; diff --git a/docs/storybook/assets/eu-2514a651.js b/docs/storybook/assets/eu-2514a651.js deleted file mode 100644 index 949b580..0000000 --- a/docs/storybook/assets/eu-2514a651.js +++ /dev/null @@ -1 +0,0 @@ -const a="eu",i={AF:"Afganistan",AL:"Albania",DZ:"Aljeria",AS:"Samoa Estatubatuarra",AD:"Andorra",AO:"Angola",AI:"Aingira",AQ:"Antartika",AG:"Antigua eta Barbuda",AR:"Argentina",AM:"Armenia",AW:"Aruba",AU:"Australia",AT:"Austria",AZ:"Azerbaijan",BS:"Bahamak",BH:"Bahrain",BD:"Bangladesh",BB:"Barbados",BY:"Bielorrusia",BE:"Belgika",BZ:"Belize",BJ:"Benin",BM:"Bermudas",BT:"Bhutan",BO:"Bolivia",BA:"Bosnia-Herzegovina",BW:"Botswana",BV:"Bouvet uhartea",BR:"Brasil",IO:"Indiako Ozeanoko Britainiar Lurraldea",BN:"Brunei Darussalam",BG:"Bulgaria",BF:"Burkina Faso",BI:"Burundi",KH:"Kanbodia",CM:"Kamerun",CA:"Kanada",CV:"Cabo Verde",KY:"Kaiman uharteak",CF:"Afrika Erdiko Errepublika",TD:"Txad",CL:"Txile",CN:"Txina",CX:"Christmas uhartea",CC:"Cocosak (Keeling uharteak)",CO:"Kolonbia",KM:"Komoreak",CG:"Kongo",CD:"Kongoko Errepublika Demokratikoa",CK:"Cook uharteak",CR:"Costa Rica",CI:"Boli Kosta",HR:"Kroazia",CU:"Kuba",CY:"Zipre",CZ:"Txekia",DK:"Danimarka",DJ:"Djibuti",DM:"Dominika",DO:"Dominikar Errepublika",EC:"Ekuador",EG:"Egipto",SV:"El Salvador",GQ:"Ekuatore Ginea",ER:"Eritrea",EE:"Estonia",ET:"Etiopia",FK:"Malvinak",FO:"Faroe uharteak",FJ:"Fiji",FI:"Finlandia",FR:"Frantzia",GF:"Guyana Frantsesa",PF:"Polinesia Frantsesa",TF:"Frantziaren Lurralde Australak",GA:"Gabon",GM:"Gambia",GE:"Georgia",DE:"Alemania",GH:"Ghana",GI:"Gibraltar",GR:"Grezia",GL:"Groenlandia",GD:"Grenada",GP:"Guadalupe",GU:"Guam",GT:"Guatemala",GN:"Ginea",GW:"Ginea Bissau",GY:"Guyana",HT:"Haiti",HM:"Heard eta McDonald uharteak",VA:"Vatikanoa (Egoitza Santua)",HN:"Honduras",HK:"Hong Kong",HU:"Hungaria",IS:"Islandia",IN:"India",ID:"Indonesia",IR:"Iran",IQ:"Irak",IE:"Irlanda",IL:"Israel",IT:"Italia",JM:"Jamaika",JP:"Japonia",JO:"Jordania",KZ:"Kazakhstan",KE:"Kenya",KI:"Kiribati",KP:"Ipar Korea",KR:"Hego Korea",KW:"Kuwait",KG:"Kirgizistan",LA:"Laos",LV:"Letonia",LB:"Libano",LS:"Lesotho",LR:"Liberia",LY:"Libia",LI:"Liechtenstein",LT:"Lituania",LU:"Luxenburgo",MO:"Macao",MK:"Ipar Mazedonia",MG:"Madagaskar",MW:"Malawi",MY:"Malaysia",MV:"Maldivak",ML:"Mali",MT:"Malta",MH:"Marshall Uharteak",MQ:"Martinika",MR:"Mauritania",MU:"Maurizio",YT:"Mayotte",MX:"Mexico",FM:"Mikronesia",MD:"Moldavia",MC:"Monako",MN:"Mongolia",MS:"Montserrat",MA:"Maroko",MZ:"Mozambike",MM:"Myanmar",NA:"Namibia",NR:"Nauru",NP:"Nepal",NL:"Herbehereak",NC:"Kaledonia Berria",NZ:"Zeelanda Berria",NI:"Nikaragua",NE:"Niger",NG:"Nigeria",NU:"Niue",NF:"Norfolk uhartea",MP:"Ipar Marianak",NO:"Norvegia",OM:"Oman",PK:"Pakistan",PW:"Palau",PS:"Palestina",PA:"Panama",PG:"Papua Ginea Berria",PY:"Paraguai",PE:"Peru",PH:"Filipinak",PN:"Pitcairn uharteak",PL:"Polonia",PT:"Portugal",PR:"Puerto Rico",QA:"Qatar",RE:"Réunion",RO:"Errumania",RU:"Errusia",RW:"Ruanda",SH:"Santa Helena, Ascension eta Tristan da Cunha",KN:"Saint Kitts eta Nevis",LC:"Santa Luzia",PM:"Saint-Pierre eta Mikelune",VC:"Saint Vincent eta Grenadinak",WS:"Samoa",SM:"San Marino",ST:"Sao Tome eta Principe",SA:"Saudi Arabia",SN:"Senegal",SC:"Seychelleak",SL:"Sierra Leona",SG:"Singapur",SK:"Eslovakia",SI:"Eslovenia",SB:"Salomon Uharteak",SO:"Somalia",ZA:"Hegoafrika",GS:"Hegoaldeko Georgiak eta Hegoaldeko Sandwichak",ES:"Espainia",LK:"Sri Lanka",SD:"Sudan",SR:"Surinam",SJ:"Svalbard eta Jan Mayen",SZ:"Swazilandia",SE:"Suedia",CH:"Suitza",SY:"Siriako Arabiar Errepublika",TW:"Taiwan",TJ:"Tajikistan",TZ:"Tanzania",TH:"Thailandia",TL:"Ekialdeko Timor",TG:"Togo",TK:"Tokelau",TO:"Tonga",TT:"Trinidad eta Tobago",TN:"Tunisia",TR:"Turkia",TM:"Turkmenistan",TC:"Turkak eta Caicoak",TV:"Tuvalu",UG:"Uganda",UA:"Ukraina",AE:"Arabiar Emirerri Batuak",GB:"Erresuma Batua",US:"Estatu Batuak",UM:"Ameriketako Estatu Batuetako itsasoz haraindiko uharteak",UY:"Uruguai",UZ:"Uzbekistan",VU:"Vanuatu",VE:"Venezuela",VN:"Vietnam",VG:"Birjina britainiar uharteak",VI:"Birjina Uharte Estatubatuarrak",WF:"Wallis eta Futuna",EH:"Mendebaldeko Sahara",YE:"Yemen",ZM:"Zambia",ZW:"Zimbabwe",AX:"Åland uharteak",BQ:"Bonaire, San Eustakio eta Saba",CW:"Curaçao",GG:"Guernsey",IM:"Man uhartea",JE:"Jersey",ME:"Montenegro",BL:"San Bartolome",MF:"San Martin (frantsesa)",RS:"Serbia",SX:"San Martin (herbeheretarra)",SS:"Hego Sudan",XK:"Kosovo"},r={locale:a,countries:i};export{i as countries,r as default,a as locale}; diff --git a/docs/storybook/assets/fa-fbbadfa2.js b/docs/storybook/assets/fa-fbbadfa2.js deleted file mode 100644 index 21b167a..0000000 --- a/docs/storybook/assets/fa-fbbadfa2.js +++ /dev/null @@ -1 +0,0 @@ -const M="fa",S={AD:"آندورا",AE:"امارات متحدهٔ عربی",AF:"افغانستان",AG:"آنتیگوا و باربودا",AI:"آنگویلا",AL:"آلبانی",AM:"ارمنستان",AO:"آنگولا",AQ:"جنوبگان",AR:"آرژانتین",AS:"ساموآی امریکا",AT:"اتریش",AU:"استرالیا",AW:"آروبا",AX:"جزایر آلاند",AZ:"جمهوری آذربایجان",BA:"بوسنی و هرزگوین",BB:"باربادوس",BD:"بنگلادش",BE:"بلژیک",BF:"بورکینافاسو",BG:"بلغارستان",BH:"بحرین",BI:"بوروندی",BJ:"بنین",BL:"سن بارتلمی",BM:"برمودا",BN:"برونئی",BO:"بولیوی",BQ:"جزایر کارائیب هلند",BR:"برزیل",BS:"باهاما",BT:"بوتان",BV:"جزیرهٔ بووه",BW:"بوتسوانا",BY:"بلاروس",BZ:"بلیز",CA:"کانادا",CC:"جزایر کوکوس",CD:"کنگو - کینشاسا",CF:"جمهوری افریقای مرکزی",CG:"کنگو - برازویل",CH:"سوئیس",CI:"ساحل عاج",CK:"جزایر کوک",CL:"شیلی",CM:"کامرون",CN:"چین",CO:"کلمبیا",CR:"کاستاریکا",CU:"کوبا",CV:"کیپ‌ورد",CW:"کوراسائو",CX:"جزیرهٔ کریسمس",CY:"قبرس",CZ:"جمهوری چک",DE:"آلمان",DJ:"جیبوتی",DK:"دانمارک",DM:"دومینیکا",DO:"جمهوری دومینیکن",DZ:"الجزایر",EC:"اکوادور",EE:"استونی",EG:"مصر",EH:"صحرای غربی",ER:"اریتره",ES:"اسپانیا",ET:"اتیوپی",FI:"فنلاند",FJ:"فیجی",FK:"جزایر فالکلند",FM:"میکرونزی",FO:"جزایر فارو",FR:"فرانسه",GA:"گابن",GB:"بریتانیا",GD:"گرنادا",GE:"گرجستان",GF:"گویان فرانسه",GG:"گرنزی",GH:"غنا",GI:"جبل‌الطارق",GL:"گرینلند",GM:"گامبیا",GN:"گینه",GP:"گوادلوپ",GQ:"گینهٔ استوایی",GR:"یونان",GS:"جزایر جورجیای جنوبی و ساندویچ جنوبی",GT:"گواتمالا",GU:"گوام",GW:"گینهٔ بیسائو",GY:"گویان",HK:"هنگ‌کنگ",HM:"جزیرهٔ هرد و جزایر مک‌دونالد",HN:"هندوراس",HR:"کرواسی",HT:"هائیتی",HU:"مجارستان",ID:"اندونزی",IE:"ایرلند",IL:"اسرائیل",IM:"جزیرهٔ من",IN:"هند",IO:"قلمرو بریتانیا در اقیانوس هند",IQ:"عراق",IR:"ایران",IS:"ایسلند",IT:"ایتالیا",JE:"جرزی",JM:"جامائیکا",JO:"اردن",JP:"ژاپن",KE:"کنیا",KG:"قرقیزستان",KH:"کامبوج",KI:"کیریباتی",KM:"کومورو",KN:"سنت کیتس و نویس",KP:"کرهٔ شمالی",KR:"کرهٔ جنوبی",KW:"کویت",KY:"جزایر کِیمن",KZ:"قزاقستان",LA:"لائوس",LB:"لبنان",LC:"سنت لوسیا",LI:"لیختن‌اشتاین",LK:"سری‌لانکا",LR:"لیبریا",LS:"لسوتو",LT:"لیتوانی",LU:"لوکزامبورگ",LV:"لتونی",LY:"لیبی",MA:"مراکش",MC:"موناکو",MD:"مولداوی",ME:"مونته‌نگرو",MF:"سنت مارتین",MG:"ماداگاسکار",MH:"جزایر مارشال",MK:"مقدونیه شمالی",ML:"مالی",MM:"میانمار (برمه)",MN:"مغولستان",MO:"ماکائو",MP:"جزایر ماریانای شمالی",MQ:"مارتینیک",MR:"موریتانی",MS:"مونت‌سرات",MT:"مالت",MU:"موریس",MV:"مالدیو",MW:"مالاوی",MX:"مکزیک",MY:"مالزی",MZ:"موزامبیک",NA:"نامیبیا",NC:"کالدونیای جدید",NE:"نیجر",NF:"جزیرهٔ نورفولک",NG:"نیجریه",NI:"نیکاراگوئه",NL:"هلند",NO:"نروژ",NP:"نپال",NR:"نائورو",NU:"نیوئه",NZ:"نیوزیلند",OM:"عمان",PA:"پاناما",PE:"پرو",PF:"پلی‌نزی فرانسه",PG:"پاپوا گینهٔ نو",PH:"فیلیپین",PK:"پاکستان",PL:"لهستان",PM:"سن پیر و میکلن",PN:"جزایر پیت‌کرن",PR:"پورتوریکو",PS:"سرزمین‌های فلسطینی",PT:"پرتغال",PW:"پالائو",PY:"پاراگوئه",QA:"قطر",RE:"رئونیون",RO:"رومانی",RS:"صربستان",RU:"روسیه",RW:"رواندا",SA:"عربستان سعودی",SB:"جزایر سلیمان",SC:"سیشل",SD:"سودان",SE:"سوئد",SG:"سنگاپور",SH:"سنت هلن",SI:"اسلوونی",SJ:"اسوالبارد و جان‌ماین",SK:"اسلواکی",SL:"سیرالئون",SM:"سان‌مارینو",SN:"سنگال",SO:"سومالی",SR:"سورینام",SS:"سودان جنوبی",ST:"سائوتومه و پرینسیپ",SV:"السالوادور",SX:"سنت مارتن",SY:"سوریه",SZ:"سوازیلند",TC:"جزایر تورکس و کایکوس",TD:"چاد",TF:"قلمروهای جنوبی فرانسه",TG:"توگو",TH:"تایلند",TJ:"تاجیکستان",TK:"توکلائو",TL:"تیمور-لسته",TM:"ترکمنستان",TN:"تونس",TO:"تونگا",TR:"ترکیه",TT:"ترینیداد و توباگو",TV:"تووالو",TW:"تایوان",TZ:"تانزانیا",UA:"اوکراین",UG:"اوگاندا",UM:"جزایر دورافتادهٔ ایالات متحده",US:"ایالات متحده",UY:"اروگوئه",UZ:"ازبکستان",VA:"واتیکان",VC:"سنت وینسنت و گرنادین",VE:"ونزوئلا",VG:"جزایر ویرجین بریتانیا",VI:"جزایر ویرجین ایالات متحده",VN:"ویتنام",VU:"وانواتو",WF:"والیس و فوتونا",WS:"ساموآ",XK:"کوزوو",YE:"یمن",YT:"مایوت",ZA:"افریقای جنوبی",ZM:"زامبیا",ZW:"زیمبابوه"},G={locale:M,countries:S};export{S as countries,G as default,M as locale}; diff --git a/docs/storybook/assets/fi-2b08d5ad.js b/docs/storybook/assets/fi-2b08d5ad.js deleted file mode 100644 index 51d2665..0000000 --- a/docs/storybook/assets/fi-2b08d5ad.js +++ /dev/null @@ -1 +0,0 @@ -const a="fi",i={AF:"Afganistan",AX:"Ahvenanmaa",NL:"Alankomaat",AL:"Albania",DZ:"Algeria",AS:"Amerikan Samoa",AD:"Andorra",AO:"Angola",AI:"Anguilla",AQ:"Antarktis",AG:"Antigua ja Barbuda",AE:"Arabiemiirikunnat",AR:"Argentiina",AM:"Armenia",AW:"Aruba",AU:"Australia",AZ:"Azerbaidžan",BS:"Bahama",BH:"Bahrain",BD:"Bangladesh",BB:"Barbados",BE:"Belgia",BZ:"Belize",BJ:"Benin",BM:"Bermuda",BT:"Bhutan",BO:"Bolivia",BQ:"Bonaire, Sint Eustatius ja Saba",BA:"Bosnia ja Hertsegovina",BW:"Botswana",BV:"Bouvet’nsaari",BR:"Brasilia",IO:"Brittiläinen Intian valtameren alue",VG:"Brittiläiset Neitsytsaaret",BN:"Brunei",BG:"Bulgaria",BF:"Burkina Faso",BI:"Burundi",KY:"Caymansaaret",CL:"Chile",CK:"Cookinsaaret",CR:"Costa Rica",CW:"Curaçao",DJ:"Djibouti",DM:"Dominica",DO:"Dominikaaninen tasavalta",EC:"Ecuador",EG:"Egypti",SV:"El Salvador",ER:"Eritrea",ES:"Espanja",ET:"Etiopia",ZA:"Etelä-Afrikka",GS:"Etelä-Georgia ja Eteläiset Sandwichsaaret",SS:"Etelä-Sudan",FK:"Falklandinsaaret",FO:"Färsaaret",FJ:"Fidži",PH:"Filippiinit",GA:"Gabon",GM:"Gambia",GE:"Georgia",GH:"Ghana",GI:"Gibraltar",GD:"Grenada",GL:"Grönlanti",GP:"Guadeloupe",GU:"Guam",GT:"Guatemala",GG:"Guernsey",GN:"Guinea",GW:"Guinea-Bissau",GY:"Guyana",HT:"Haiti",HM:"Heard ja McDonaldinsaaret",HN:"Honduras",HK:"Hongkong",ID:"Indonesia",IN:"Intia",IQ:"Irak",IR:"Iran",IE:"Irlanti",IS:"Islanti",IL:"Israel",IT:"Italia",TL:"Itä-Timor",AT:"Itävalta",JM:"Jamaika",JP:"Japani",YE:"Jemen",JE:"Jersey",JO:"Jordania",CX:"Joulusaari",KH:"Kambodža",CM:"Kamerun",CA:"Kanada",CV:"Kap Verde",KZ:"Kazakstan",KE:"Kenia",CF:"Keski-Afrikan tasavalta",CN:"Kiina",KG:"Kirgisia",KI:"Kiribati",CO:"Kolumbia",KM:"Komorit",CD:"Kongon demokraattinen tasavalta",CG:"Kongon tasavalta",CC:"Kookossaaret",KP:"Korean demokraattinen kansantasavalta",KR:"Korean tasavalta",GR:"Kreikka",HR:"Kroatia",CU:"Kuuba",KW:"Kuwait",CY:"Kypros",LA:"Laos",LV:"Latvia",LS:"Lesotho",LB:"Libanon",LR:"Liberia",LY:"Libya",LI:"Liechtenstein",LT:"Liettua",LU:"Luxemburg",EH:"Länsi-Sahara",MO:"Macao",MG:"Madagaskar",MW:"Malawi",MV:"Malediivit",MY:"Malesia",ML:"Mali",MT:"Malta",IM:"Mansaari",MA:"Marokko",MH:"Marshallinsaaret",MQ:"Martinique",MR:"Mauritania",MU:"Mauritius",YT:"Mayotte",MX:"Meksiko",FM:"Mikronesian liittovaltio",MD:"Moldova",MC:"Monaco",MN:"Mongolia",ME:"Montenegro",MS:"Montserrat",MZ:"Mosambik",MM:"Myanmar",NA:"Namibia",NR:"Nauru",NP:"Nepal",NI:"Nicaragua",NE:"Niger",NG:"Nigeria",NU:"Niue",NF:"Norfolkinsaari",NO:"Norja",CI:"Norsunluurannikko",OM:"Oman",PK:"Pakistan",PW:"Palau",PS:"Palestiina",PA:"Panama",PG:"Papua-Uusi-Guinea",PY:"Paraguay",PE:"Peru",MK:"Pohjois-Makedonia",MP:"Pohjois-Mariaanit",PN:"Pitcairn",PT:"Portugali",PR:"Puerto Rico",PL:"Puola",GQ:"Päiväntasaajan Guinea",QA:"Qatar",FR:"Ranska",TF:"Ranskan eteläiset alueet",GF:"Ranskan Guayana",PF:"Ranskan Polynesia",RE:"Réunion",RO:"Romania",RW:"Ruanda",SE:"Ruotsi",BL:"Saint-Barthélemy",SH:"Saint Helena",KN:"Saint Kitts ja Nevis",LC:"Saint Lucia",MF:"Saint-Martin",PM:"Saint-Pierre ja Miquelon",VC:"Saint Vincent ja Grenadiinit",DE:"Saksa",SB:"Salomonsaaret",ZM:"Sambia",WS:"Samoa",SM:"San Marino",ST:"São Tomé ja Príncipe",SA:"Saudi-Arabia",SN:"Senegal",RS:"Serbia",SC:"Seychellit",SL:"Sierra Leone",SG:"Singapore",SX:"Sint Maarten",SK:"Slovakia",SI:"Slovenia",SO:"Somalia",LK:"Sri Lanka",SD:"Sudan",FI:"Suomi",SR:"Suriname",SJ:"Svalbard ja Jan Mayen",SZ:"Swazimaa",CH:"Sveitsi",SY:"Syyria",TJ:"Tadžikistan",TW:"Taiwan",TZ:"Tansania",DK:"Tanska",TH:"Thaimaa",TG:"Togo",TK:"Tokelau",TO:"Tonga",TT:"Trinidad ja Tobago",TD:"Tšad",CZ:"Tšekki",TN:"Tunisia",TR:"Turkki",TM:"Turkmenistan",TC:"Turks- ja Caicossaaret",TV:"Tuvalu",UG:"Uganda",UA:"Ukraina",HU:"Unkari",UY:"Uruguay",NC:"Uusi-Kaledonia",NZ:"Uusi-Seelanti",UZ:"Uzbekistan",BY:"Valko-Venäjä",VU:"Vanuatu",VA:"Vatikaanivaltio",VE:"Venezuela",RU:"Venäjä",VN:"Vietnam",EE:"Viro",WF:"Wallis ja Futunasaaret",GB:"Yhdistynyt kuningaskunta",US:"Yhdysvallat",VI:"Yhdysvaltain Neitsytsaaret",UM:"Yhdysvaltain pienet erillissaaret",ZW:"Zimbabwe",XK:"Kosovo"},n={locale:a,countries:i};export{i as countries,n as default,a as locale}; diff --git a/docs/storybook/assets/fr-d18a46e4.js b/docs/storybook/assets/fr-d18a46e4.js deleted file mode 100644 index 8dcfa1f..0000000 --- a/docs/storybook/assets/fr-d18a46e4.js +++ /dev/null @@ -1 +0,0 @@ -const a="fr",e={AF:"Afghanistan",AL:"Albanie",DZ:"Algérie",AS:"Samoa américaines",AD:"Andorre",AO:"Angola",AI:"Anguilla",AQ:"Antarctique",AG:"Antigua-et-Barbuda",AR:"Argentine",AM:"Arménie",AW:"Aruba",AU:"Australie",AT:"Autriche",AZ:"Azerbaïdjan",BS:"Bahamas",BH:"Bahreïn",BD:"Bangladesh",BB:"Barbade",BY:"Biélorussie",BE:"Belgique",BZ:"Belize",BJ:"Bénin",BM:"Bermudes",BT:"Bhoutan",BO:"Bolivie",BA:"Bosnie-Herzégovine",BW:"Botswana",BV:"Île Bouvet",BR:"Brésil",IO:"Océan Indien Britannique",BN:"Brunei Darussalam",BG:"Bulgarie",BF:"Burkina Faso",BI:"Burundi",KH:"Cambodge",CM:"Cameroun",CA:"Canada",CV:"Cap-Vert",KY:"Îles Caïmans",CF:"République Centrafricaine",TD:"Tchad",CL:"Chili",CN:"Chine",CX:"Île Christmas",CC:"Îles Cocos",CO:"Colombie",KM:"Comores",CG:"République du Congo",CD:"République démocratique du Congo",CK:"Îles Cook",CR:"Costa Rica",CI:"Côte-d'Ivoire",HR:"Croatie",CU:"Cuba",CY:"Chypre",CZ:"République Tchèque",DK:"Danemark",DJ:"Djibouti",DM:"Dominique",DO:"République Dominicaine",EC:"Équateur",EG:"Égypte",SV:"El Salvador",GQ:"Guinée équatoriale",ER:"Érythrée",EE:"Estonie",ET:"Éthiopie",FK:"Îles Malouines",FO:"Îles Féroé",FJ:"Fidji",FI:"Finlande",FR:"France",GF:"Guyane française",PF:"Polynésie française",TF:"Terres australes françaises",GA:"Gabon",GM:"Gambie",GE:"Géorgie",DE:"Allemagne",GH:"Ghana",GI:"Gibraltar",GR:"Grèce",GL:"Groenland",GD:"Grenade",GP:"Guadeloupe",GU:"Guam",GT:"Guatemala",GN:"Guinée",GW:"Guinée-Bissau",GY:"Guyana",HT:"Haïti",HM:"Îles Heard-et-MacDonald",VA:"Saint-Siège (Vatican)",HN:"Honduras",HK:"Hong Kong",HU:"Hongrie",IS:"Islande",IN:"Inde",ID:"Indonésie",IR:"Iran",IQ:"Irak",IE:"Irlande",IL:"Israël",IT:"Italie",JM:"Jamaïque",JP:"Japon",JO:"Jordanie",KZ:"Kazakhstan",KE:"Kenya",KI:"Kiribati",KP:"Corée du Nord",KR:"Corée du Sud",KW:"Koweït",KG:"Kirghizistan",LA:"Laos",LV:"Lettonie",LB:"Liban",LS:"Lesotho",LR:"Libéria",LY:"Libye",LI:"Liechtenstein",LT:"Lituanie",LU:"Luxembourg",MO:"Macao",MK:"Macédoine du Nord",MG:"Madagascar",MW:"Malawi",MY:"Malaisie",MV:"Maldives",ML:"Mali",MT:"Malte",MH:"Îles Marshall",MQ:"Martinique",MR:"Mauritanie",MU:"Maurice",YT:"Mayotte",MX:"Mexique",FM:"Micronésie",MD:"Moldavie",MC:"Monaco",MN:"Mongolie",MS:"Montserrat",MA:"Maroc",MZ:"Mozambique",MM:"Myanmar",NA:"Namibie",NR:"Nauru",NP:"Népal",NL:"Pays-Bas",NC:"Nouvelle-Calédonie",NZ:"Nouvelle-Zélande",NI:"Nicaragua",NE:"Niger",NG:"Nigéria",NU:"Niué",NF:"Île Norfolk",MP:"Îles Mariannes du Nord",NO:"Norvège",OM:"Oman",PK:"Pakistan",PW:"Palaos",PS:"Palestine",PA:"Panama",PG:"Papouasie-Nouvelle-Guinée",PY:"Paraguay",PE:"Pérou",PH:"Philippines",PN:"Îles Pitcairn",PL:"Pologne",PT:"Portugal",PR:"Porto Rico",QA:"Qatar",RE:"Réunion",RO:"Roumanie",RU:"Russie",RW:"Rwanda",SH:"Sainte-Hélène",KN:"Saint-Christophe-et-Niévès",LC:"Sainte-Lucie",PM:"Saint-Pierre-et-Miquelon",VC:"Saint-Vincent-et-les-Grenadines",WS:"Samoa",SM:"Saint-Marin",ST:"São Tomé-et-Principe",SA:"Arabie Saoudite",SN:"Sénégal",SC:"Seychelles",SL:"Sierra Leone",SG:"Singapour",SK:"Slovaquie",SI:"Slovénie",SB:"Îles Salomon",SO:"Somalie",ZA:"Afrique du Sud",GS:"Géorgie du Sud-et-les Îles Sandwich du Sud",ES:"Espagne",LK:"Sri Lanka",SD:"Soudan",SR:"Suriname",SJ:"Svalbard et Île Jan Mayen",SZ:"Royaume d'Eswatini",SE:"Suède",CH:"Suisse",SY:"Syrie",TW:"Taïwan",TJ:"Tadjikistan",TZ:"République unie de Tanzanie",TH:"Thaïlande",TL:"Timor-Leste",TG:"Togo",TK:"Tokelau",TO:"Tonga",TT:"Trinité-et-Tobago",TN:"Tunisie",TR:"Turquie",TM:"Turkménistan",TC:"Îles Turques-et-Caïques",TV:"Tuvalu",UG:"Ouganda",UA:"Ukraine",AE:"Émirats Arabes Unis",GB:"Royaume-Uni",US:"États-Unis d'Amérique",UM:"Îles mineures éloignées des États-Unis",UY:"Uruguay",UZ:"Ouzbékistan",VU:"Vanuatu",VE:"Venezuela",VN:"Vietnam",VG:"Îles vierges britanniques",VI:"Îles vierges américaines",WF:"Wallis-et-Futuna",EH:"Sahara occidental",YE:"Yémen",ZM:"Zambie",ZW:"Zimbabwe",AX:"Åland",BQ:"Bonaire, Saint-Eustache et Saba",CW:"Curaçao",GG:"Guernesey",IM:"Île de Man",JE:"Jersey",ME:"Monténégro",BL:"Saint-Barthélemy",MF:"Saint-Martin (partie française)",RS:"Serbie",SX:"Saint-Martin (partie néerlandaise)",SS:"Soudan du Sud",XK:"Kosovo"},i={locale:a,countries:e};export{e as countries,i as default,a as locale}; diff --git a/docs/storybook/assets/gl-f7ebdba6.js b/docs/storybook/assets/gl-f7ebdba6.js deleted file mode 100644 index 7315c72..0000000 --- a/docs/storybook/assets/gl-f7ebdba6.js +++ /dev/null @@ -1 +0,0 @@ -const a="gl",i={AF:"Afganistán",AL:"Albania",DZ:"Alxeria",AS:"Samoa Americana",AD:"Andorra",AO:"Angola",AI:"Anguila",AQ:"Antártida",AG:"Antiga e Barbuda",AR:"Arxentina",AM:"Armenia",AW:"Aruba",AU:"Australia",AT:"Austria",AZ:"Acerbaixán",BS:"Bahamas",BH:"Bahrain",BD:"Bangladesh",BB:"Barbados",BY:"Belarús",BE:"Bélxica",BZ:"Belize",BJ:"Benín",BM:"Bermudas",BT:"Bhután",BO:"Bolivia",BA:"Bosnia e Hercegovina",BW:"Botswana",BV:"Illa Bouvet",BR:"Brasil",IO:"Territorio Británico do Océano Índico",BN:"Brunei",BG:"Bulgaria",BF:"Burkina Faso",BI:"Burundi",KH:"Camboxa",CM:"Camerún",CA:"Canadá",CV:"Cabo Verde",KY:"Illas Caimán",CF:"República Centroafricana",TD:"Chad",CL:"Chile",CN:"China",CX:"Territorio da Illa de Nadal",CC:"Illas Cocos (Keeling)",CO:"Colombia",KM:"Comores",CG:"Congo",CD:"Congo (República Democrática do)",CK:"Illas Cook",CR:"Costa Rica",CI:"Costa do Marfil",HR:"Croacia",CU:"Cuba",CY:"Chipre",CZ:"República Checa",DK:"Dinamarca",DJ:"Djibuti",DM:"Mancomunidade de Dominica",DO:"República Dominicana",EC:"Ecuador",EG:"Exipto",SV:"O Salvador",GQ:"Guinea Ecuatorial",ER:"Eritrea",EE:"Estonia",ET:"Etiopía",FK:"Illas Malvinas",FO:"Illas Feroe",FJ:"Fidxi",FI:"Finlandia",FR:"Francia",GF:"Güiana Francesa",PF:"Polinesia Francesa",TF:"Territorios Austrais Franceses",GA:"Gabón",GM:"Gambia",GE:"Xeorxia",DE:"Alemaña",GH:"Ghana",GI:"Xibraltar",GR:"Grecia",GL:"Groenlandia",GD:"Granada",GP:"Guadalupe",GU:"Territorio de Guam",GT:"Guatemala",GN:"Guinea",GW:"Guinea-Bissau",GY:"Güiana",HT:"República de Haití",HM:"Illas Heard e McDonald",VA:"Santa Sé",HN:"Honduras",HK:"Hong Kong",HU:"Hungría",IS:"Islandia",IN:"India",ID:"Indonesia",IR:"Irán (República Islámica de)",IQ:"Iraq",IE:"Irlanda",IL:"Israel",IT:"Italia",JM:"Xamaica",JP:"Xapón",JO:"Xordania",KZ:"Casaquistán",KE:"Kenya",KI:"Kiribati",KP:"República Popular e Democrática de Corea",KR:"Corea do Sur",KW:"Kuwait",KG:"Kirguizistán",LA:"República Democrática Popular Lao",LV:"Letonia",LB:"Líbano",LS:"Lesoto",LR:"Liberia",LY:"Libia",LI:"Liechtenstein",LT:"Lituania",LU:"Luxemburgo",MO:"Macau",MK:"Macedonia do Norte",MG:"Madagascar",MW:"Malawi",MY:"Malaisia",MV:"República das Maldivas",ML:"Malí",MT:"Malta",MH:"República das Illas Marshall",MQ:"Martinica",MR:"Mauritania",MU:"Mauricio",YT:"Mayotte",MX:"México",FM:"Estados Federados de Micronesia",MD:"Moldova",MC:"Mónaco",MN:"Mongolia",MS:"Montserrat",MA:"Marrocos",MZ:"Mozambique",MM:"Myanmar",NA:"Namibia",NR:"Nauru",NP:"Nepal",NL:"Países Baixos",NC:"Nova Caledonia",NZ:"Nova Zelandia",NI:"Nicaragua",NE:"Níxer",NG:"Nixeria",NU:"Niue",NF:"Illa Norfolk",MP:"Marianas do Norte",NO:"Noruega",OM:"Omán",PK:"Paquistán",PW:"Palau",PS:"Palestina",PA:"Panamá",PG:"Papúa Nova Guinea",PY:"Paraguai",PE:"Perú",PH:"Filipinas",PN:"Illas Pitcairn",PL:"Polonia",PT:"Portugal",PR:"Porto Rico",QA:"Qatar",RE:"Reunión",RO:"Romanía",RU:"Rusia",RW:"Ruanda",SH:"Santa Helena, Ascensión e Tristan da Cunha",KN:"Saint Kitts e Nevis",LC:"Santa Lucía",PM:"San Pedro e Miquelón",VC:"San Vicente e as Granadinas",WS:"Samoa",SM:"San Marino",ST:"San Tomé e Príncipe",SA:"Arabia Saudita",SN:"Senegal",SC:"Seychelles",SL:"Serra Leoa",SG:"Singapur",SK:"Eslovaquia",SI:"Eslovenia",SB:"Illas Salomón",SO:"Somalia",ZA:"Suráfrica",GS:"Illas Xeorxia do Sur e Sandwich do Sur",ES:"España",LK:"Sri Lanka",SD:"Sudán",SR:"Suriname",SJ:"Svalbard e Jan Mayen",SZ:"Swazilandia",SE:"Suecia",CH:"Suiza",SY:"República Árabe Siria",TW:"Taiwán",TJ:"Taxicon",TZ:"Tanzania",TH:"Tailandia",TL:"Timor Leste",TG:"Togo",TK:"Tokelau",TO:"Tonga",TT:"Trinidad e Tobago",TN:"Tunisia",TR:"Turquía",TM:"Turkmenistán",TC:"Illas Turks e Caicos",TV:"Tuvalu",UG:"Uganda",UA:"Ucraína",AE:"Emiratos Árabes Unidos",GB:"Reino Unido",US:"Estados Unidos",UM:"Illas Ultramarinas Menores dos Estados Unidos",UY:"Uruguai",UZ:"Uzbekistán",VU:"Vanuatu",VE:"Venezuela",VN:"Vietnam",VG:"Illas Virxes Británicas",VI:"Illas Virxes dos Estados Unidos",WF:"Wallis e Futuna",EH:"Sáhara Occidental",YE:"Iemen",ZM:"Zambia",ZW:"Zimbabwe",AX:"Illas Åland",BQ:"Bonaire, San Eustaquio e Saba",CW:"Curaçao",GG:"Guernsey",IM:"Illa de Man",JE:"Jersey",ME:"Montenegro",BL:"Saint Barthélemy",MF:"San Martiño (francesa)",RS:"Serbia",SX:"Sint Maarten (neerlandesa)",SS:"Sudán do Sur",XK:"Kosovo"},n={locale:a,countries:i};export{i as countries,n as default,a as locale}; diff --git a/docs/storybook/assets/ha-c8f928f4.js b/docs/storybook/assets/ha-c8f928f4.js deleted file mode 100644 index 25aedcf..0000000 --- a/docs/storybook/assets/ha-c8f928f4.js +++ /dev/null @@ -1 +0,0 @@ -const a="ha",i={AF:"Afaganistan",AL:"Albaniya",DZ:"Aljeriya",AS:"Samowa Ta Amurka",AD:"Andora",AO:"Angola",AI:"Angila",AQ:"Antarctica",AG:"Antigwa da Barbuba",AR:"Arjantiniya",AM:"Armeniya",AW:"Aruba",AU:"Ostareliya",AT:"Ostiriya",AZ:"Azarbaijan",BS:"Bahamas",BH:"Baharan",BD:"Bangiladas",BB:"Barbadas",BY:"Belarus",BE:"Belgiyom",BZ:"Beliz",BJ:"Binin",BM:"Barmuda",BT:"Butan",BO:"Bolibiya",BA:"Bosniya Harzagobina",BW:"Baswana",BV:"Tsibirin Bouvet",BR:"Birazil",IO:"Yankin Birtaniya Na Tekun Indiya",BN:"Burune",BG:"Bulgariya",BF:"Burkina Faso",BI:"Burundi",KH:"Kambodiya",CM:"Kamaru",CA:"Kanada",CV:"Tsibiran Kap Barde",KY:"Tsibiran Kaiman",CF:"Jamhuriyar Afirka Ta Tsakiya",TD:"Cadi",CL:"Cayile",CN:"Caina, Sin",CX:"Tsibirin Kirsimeti",CC:"Tsibiran Cocos (Keeling)",CO:"Kolambiya",KM:"Kwamoras",CG:"Kongo",CD:"Jamhuriyar Dimokuraɗiyyar Kongo",CK:"Tsibiran Kuku",CR:"Kwasta Rika",CI:"Aibari Kwas",HR:"Kurowaishiya",CU:"Kyuba",CY:"Sifurus",CZ:"Jamhuriyar Cak",DK:"Danmark",DJ:"Jibuti",DM:"Dominika",DO:"Jamhuriyar Dominika",EC:"Ekwador",EG:"Masar, Misira",SV:"El Salbador",GQ:"Gini Ta Ikwaita",ER:"Eritireya",EE:"Estoniya",ET:"Habasha",FK:"Tsibiran Falkilan",FO:"Tsibirin Faroe",FJ:"Fiji",FI:"Finlan",FR:"Faransa",GF:"Gini Ta Faransa",PF:"Folinesiya Ta Faransa",TF:"Southernasashen Kudancin Faransa",GA:"Gabon",GM:"Gambiya",GE:"Jiwarjiya",DE:"Jamus",GH:"Gana",GI:"Jibaraltar",GR:"Girka",GL:"Grinlan",GD:"Girnada",GP:"Gwadaluf",GU:"Gwam",GT:"Gwatamala",GN:"Gini",GW:"Gini Bisau",GY:"Guyana",HT:"Haiti",HM:"Tsibirin Heard da McDonald",VA:"Batikan",HN:"Honduras",HK:"Hong Kong",HU:"Hungari",IS:"Aisalan",IN:"Indiya",ID:"Indunusiya",IR:"Iran",IQ:"Iraƙi",IE:"Ayalan",IL:"Iziraʼila",IT:"Italiya",JM:"Jamaika",JP:"Japan",JO:"Jordan",KZ:"Kazakistan",KE:"Kenya",KI:"Kiribati",KP:"Koreya Ta Arewa",KR:"Koreya Ta Kudu",KW:"Kwiyat",KG:"Kirgizistan",LA:"Lawas",LV:"latibiya",LB:"Labanan",LS:"Lesoto",LR:"Laberiya",LY:"Libiya",LI:"Licansitan",LT:"Lituweniya",LU:"Lukusambur",MO:"Macao",MG:"Madagaskar",MW:"Malawi",MY:"Malaisiya",MV:"Maldibi",ML:"Mali",MT:"Malta",MH:"Tsibiran Marshal",MQ:"Martinik",MR:"Moritaniya",MU:"Moritus",YT:"Mayoti",MX:"Makasiko",FM:"Mikuronesiya",MD:"Maldoba",MC:"Monako",MN:"Mangoliya",MS:"Manserati",MA:"Maroko",MZ:"Mozambik",MM:"Burma, Miyamar",NA:"Namibiya",NR:"Nauru",NP:"Nefal",NL:"Holan",NC:"Kaledoniya Sabuwa",NZ:"Nuzilan",NI:"Nikaraguwa",NE:"Nijar",NG:"Najeriya",NU:"Niyu",NF:"Tsibirin Narfalk",MK:"Masedoniya",MP:"Tsibiran Mariyana Na Arewa",NO:"Norwe",OM:"Oman",PK:"Pakistan",PW:"Palau",PS:"Palasɗinu",PA:"Panama",PG:"Papuwa Nugini",PY:"Paragai",PE:"Peru",PH:"Filipin",PN:"Pitakarin",PL:"Polan",PT:"Portugal",PR:"Porto Riko",QA:"Kwatar",RE:"Rawuniyan",RO:"Romaniya",RU:"Rasha",RW:"Ruwanda",SH:"San Helena",KN:"San Kiti Da Nebis",LC:"San Lusiya",PM:"San Piyar Da Mikelan",VC:"San Binsan Da Girnadin",WS:"Samowa",SM:"San Marino",ST:"Sawo Tome Da Paransip",SA:"Ƙasar Makka",SN:"Sinigal",SC:"Saishal",SL:"Salewo",SG:"Singapur",SK:"Sulobakiya",SI:"Sulobeniya",SB:"Tsibiran Salaman",SO:"Somaliya",ZA:"Afirka Ta Kudu",GS:"Kudancin Georgia da Kudancin Sandwich Island",ES:"Sipen",LK:"Siri Lanka",SD:"Sudan",SR:"Suriname",SJ:"Svalbard da Jan Mayen",SZ:"Suwazilan",SE:"Suwedan",CH:"Suwizalan",SY:"Sham, Siriya",TW:"Taiwan",TJ:"Tajikistan",TZ:"Tanzaniya",TH:"Tailan",TL:"Timor Ta Gabas",TG:"Togo",TK:"Takelau",TO:"Tanga",TT:"Tirinidad Da Tobago",TN:"Tunisiya",TR:"Turkiyya",TM:"Turkumenistan",TC:"Turkis Da Tsibiran Kaikwas",TV:"Tubalu",UG:"Yuganda",UA:"Yukaran",AE:"Haɗaɗɗiyar Daular Larabawa",GB:"Birtaniya",US:"Amurka",UM:"Kananan Tsibiran Amurka",UY:"Yurugai",UZ:"Uzubekistan",VU:"Banuwatu",VE:"Benezuwela",VN:"Biyetinam",VG:"Tsibirin Birjin Na Birtaniya",VI:"Tsibiran Birjin Ta Amurka",WF:"Walis Da Futuna",EH:"Yammacin Sahara",YE:"Yamal",ZM:"Zambiya",ZW:"Zimbabuwe",AX:"Tsibirin Åland",BQ:"Bonaire, Sint Eustatius da Saba",CW:"Curaçao",GG:"Guernsey",IM:"Isle na Man",JE:"Jersey",ME:"Montenegro",BL:"Saint Barthélemy",MF:"Saint Martin (Bangaren Faransa)",RS:"Sabiya",SX:"Sint Maarten (Sashin Yaren mutanen Holland)",SS:"Sudan ta Kudu",XK:"Kosovo"},n={locale:a,countries:i};export{i as countries,n as default,a as locale}; diff --git a/docs/storybook/assets/he-4e4bebd7.js b/docs/storybook/assets/he-4e4bebd7.js deleted file mode 100644 index 55c262d..0000000 --- a/docs/storybook/assets/he-4e4bebd7.js +++ /dev/null @@ -1 +0,0 @@ -const M="he",S={AF:"אפגניסטן",AX:"איי אולנד",AL:"אלבניה",DZ:"אלג׳יריה",AS:"סמואה האמריקנית",AD:"אנדורה",AO:"אנגולה",AI:"אנגילה",AQ:"אנטארקטיקה",AG:"אנטיגואה וברבודה",AR:"ארגנטינה",AM:"ארמניה",AW:"ארובה",AU:"אוסטרליה",AT:"אוסטריה",AZ:"אזרבייג׳ן",BS:"איי בהאמה",BH:"בחריין",BD:"בנגלדש",BB:"ברבדוס",BY:"בלארוס",BE:"בלגיה",BZ:"בליז",BJ:"בנין",BM:"ברמודה",BT:"בהוטן",BO:"בוליביה",BQ:"האיים הקריביים ההולנדיים",BA:"בוסניה והרצגובינה",BW:"בוצוואנה",BV:"איי בובה",BR:"ברזיל",IO:"הטריטוריה הבריטית באוקיינוס ההודי",BN:"ברוניי",BG:"בולגריה",BF:"בורקינה פאסו",BI:"בורונדי",KH:"קמבודיה",CM:"קמרון",CA:"קנדה",CV:"כף ורדה",KY:"איי קיימן",CF:"הרפובליקה של מרכז אפריקה",TD:"צ׳אד",CL:"צ׳ילה",CN:"סין",CX:"האי כריסטמס",CC:"איי קוקוס (קילינג)",CO:"קולומביה",KM:"קומורו",CG:"קונגו - ברזאויל",CD:"קונגו - קינשאסה",CK:"איי קוק",CR:"קוסטה ריקה",CI:"חוף השנהב",HR:"קרואטיה",CU:"קובה",CW:"קוראסאו",CY:"קפריסין",CZ:"צ׳כיה",DK:"דנמרק",DJ:"ג׳יבוטי",DM:"דומיניקה",DO:"הרפובליקה הדומיניקנית",EC:"אקוודור",EG:"מצרים",SV:"אל סלבדור",GQ:"גינאה המשוונית",ER:"אריתריאה",EE:"אסטוניה",ET:"אתיופיה",FK:"איי פוקלנד",FO:"איי פארו",FJ:"פיג׳י",FI:"פינלנד",FR:"צרפת",GF:"גיאנה הצרפתית",PF:"פולינזיה הצרפתית",TF:"הטריטוריות הדרומיות של צרפת",GA:"גבון",GM:"גמביה",GE:"גאורגיה",DE:"גרמניה",GH:"גאנה",GI:"גיברלטר",GR:"יוון",GL:"גרינלנד",GD:"גרנדה",GP:"גוואדלופ",GU:"גואם",GT:"גואטמלה",GG:"גרנסי",GN:"גינאה",GW:"גינאה ביסאו",GY:"גיאנה",HT:"האיטי",HM:"איי הרד ומקדונלד",VA:"הוותיקן",HN:"הונדורס",HK:"הונג קונג (מחוז מנהלי מיוחד של סין)",HU:"הונגריה",IS:"איסלנד",IN:"הודו",ID:"אינדונזיה",IR:"איראן",IQ:"עיראק",IE:"אירלנד",IM:"האי מאן",IL:"ישראל",IT:"איטליה",JM:"ג׳מייקה",JP:"יפן",JE:"ג׳רסי",JO:"ירדן",KZ:"קזחסטן",KE:"קניה",KI:"קיריבאטי",KP:"קוריאה הצפונית",KR:"קוריאה הדרומית",KW:"כווית",KG:"קירגיזסטן",LA:"לאוס",LV:"לטביה",LB:"לבנון",LS:"לסוטו",LR:"ליבריה",LY:"לוב",LI:"ליכטנשטיין",LT:"ליטא",LU:"לוקסמבורג",MO:"מקאו (מחוז מנהלי מיוחד של סין)",MK:"מקדוניה הצפונית",MG:"מדגסקר",MW:"מלאווי",MY:"מלזיה",MV:"האיים המלדיביים",ML:"מאלי",MT:"מלטה",MH:"איי מרשל",MQ:"מרטיניק",MR:"מאוריטניה",MU:"מאוריציוס",YT:"מאיוט",MX:"מקסיקו",FM:"מיקרונזיה",MD:"מולדובה",MC:"מונקו",MN:"מונגוליה",ME:"מונטנגרו",MS:"מונסראט",MA:"מרוקו",MZ:"מוזמביק",MM:"מיאנמר (בורמה)",NA:"נמיביה",NR:"נאורו",NP:"נפאל",NL:"הולנד",NC:"קלדוניה החדשה",NZ:"ניו זילנד",NI:"ניקרגואה",NE:"ניז׳ר",NG:"ניגריה",NU:"ניווה",NF:"איי נורפוק",MP:"איי מריאנה הצפוניים",NO:"נורווגיה",OM:"עומאן",PK:"פקיסטן",PW:"פלאו",PS:"השטחים הפלסטיניים",PA:"פנמה",PG:"פפואה גינאה החדשה",PY:"פרגוואי",PE:"פרו",PH:"הפיליפינים",PN:"איי פיטקרן",PL:"פולין",PT:"פורטוגל",PR:"פוארטו ריקו",QA:"קטאר",RE:"ראוניון",RO:"רומניה",RU:"רוסיה",RW:"רואנדה",BL:"סנט ברתולומיאו",SH:"סנט הלנה",KN:"סנט קיטס ונוויס",LC:"סנט לוסיה",MF:"סן מרטן",PM:"סנט פייר ומיקלון",VC:"סנט וינסנט והגרנדינים",WS:"סמואה",SM:"סן מרינו",ST:"סאו טומה ופרינסיפה",SA:"ערב הסעודית",SN:"סנגל",RS:"סרביה",SC:"איי סיישל",SL:"סיירה לאונה",SG:"סינגפור",SX:"סנט מארטן",SK:"סלובקיה",SI:"סלובניה",SB:"איי שלמה",SO:"סומליה",ZA:"דרום אפריקה",GS:"ג׳ורג׳יה הדרומית ואיי סנדוויץ׳ הדרומיים",SS:"דרום סודן",ES:"ספרד",LK:"סרי לנקה",SD:"סודן",SR:"סורינם",SJ:"סוולבארד ויאן מאיין",SZ:"סווזילנד",SE:"שוודיה",CH:"שווייץ",SY:"סוריה",TW:"טייוואן",TJ:"טג׳יקיסטן",TZ:"טנזניה",TH:"תאילנד",TL:"טימור לסטה",TG:"טוגו",TK:"טוקלאו",TO:"טונגה",TT:"טרינידד וטובגו",TN:"טוניסיה",TR:"טורקיה",TM:"טורקמניסטן",TC:"איי טורקס וקאיקוס",TV:"טובאלו",UG:"אוגנדה",UA:"אוקראינה",AE:["איחוד האמירויות הערביות","איחוד האמירויות"],GB:"הממלכה המאוחדת",US:["ארצות הברית","ארהב","ארה״ב"],UM:"האיים המרוחקים הקטנים של ארה״ב",UY:"אורוגוואי",UZ:"אוזבקיסטן",VU:"ונואטו",VE:"ונצואלה",VN:"וייטנאם",VG:"איי הבתולה הבריטיים",VI:"איי הבתולה של ארצות הברית",WF:"איי ווליס ופוטונה",EH:"סהרה המערבית",YE:"תימן",ZM:"זמביה",ZW:"זימבבואה",XK:"קוסובו"},G={locale:M,countries:S};export{S as countries,G as default,M as locale}; diff --git a/docs/storybook/assets/hi-718bc71a.js b/docs/storybook/assets/hi-718bc71a.js deleted file mode 100644 index c99a02b..0000000 --- a/docs/storybook/assets/hi-718bc71a.js +++ /dev/null @@ -1 +0,0 @@ -const M="hi",S={AD:"अंडोरा",AE:"संयुक्त अरब अमीरात",AF:"अफगानिस्तान",AG:"एंटीगुआ और बारबूडा",AI:"अंग्विला",AL:"अल्बानिया",AM:"अर्मेनिया",AO:"अंगोला",AQ:"अंटार्टिका",AR:"अर्जेंटिना",AS:"अमेरिकान सामोआ",AT:"आस्ट्रिया",AU:"आस्ट्रेलिया",AW:"अरुबा",AX:"ऑलैण्ड द्वीपसमूह",AZ:"अजरबेजान",BA:"बोस्निया हर्जेगोविना",BB:"बार्बाडोस",BD:"बांग्लादेश",BE:"बेल्जियम",BF:"बुर्किना फासो",BG:"बल्गारिया",BH:"बहरीन",BI:"बुरुंडी",BJ:"बानिन",BL:"सेंट_बार्थेलेमी",BM:"बर्मूडा",BN:"ब्रुनेई",BO:"बोलिविया",BQ:"कैरिबियन नीदरलैंड",BR:"ब्राजील",BS:"बहामास",BT:"भूटान",BV:"बाउवेट",BW:"बोत्सवाना",BY:"बेलारुस",BZ:"बेलिजे",CA:"कनाडा",CC:"कोकोस (कीलिंग) द्वीप",CD:"कांगो लोकतान्त्रिक गणराज्य",CF:"सेंट्रल अफ्रीका गणतंत्र",CG:"कांगो",CH:"स्विट्जरलैंड",CI:"आइवरी कोस्ट",CK:"कुक द्वीप",CL:"चिली",CM:"कैमरून",CN:"चीन",CO:"कोलंबिया",CR:"कोस्टा रिका",CU:"क्यूबा",CV:"केप वर्दे",CW:"कुराकाओ",CX:"क्रिसमस द्वीप",CY:"साइप्रस",CZ:"चेक",DE:"जर्मनी",DJ:"जिबॉती",DK:"डैनमार्क",DM:"डोमिनिक",DO:"डोमिनिक गणतंत्र",DZ:"अल्जीरिया",EC:"इक्वाडोर",EE:"एस्तोनिया",EG:"मिस्र",EH:"पश्चिमी सहारा",ER:"एरिट्रेया",ES:"स्पेन",ET:"इथियोपिया",FI:"फिनलैंड",FJ:"फिजी",FK:"फाकलैंड द्वीप समूह (मालविनास)",FM:"माइक्रोनेशिया",FO:"फराओ द्वीप समूह",FR:"फ्रांस",GA:"गैबोन",GB:"ग्रेट ब्रिटेन",GD:"ग्रेनेडा",GE:"जॉर्जिया",GF:"फ्रेंच गुआना",GG:"ग्वेर्नसे",GH:"घाना",GI:"जिब्राल्टर",GL:"ग्रीनलैंड",GM:"गाम्बिया",GN:"गिनी",GP:"ग्वाडेलोप",GQ:"एक्वेटोरियल गिनी",GR:"यूनान",GS:"दक्षिण जॉर्जिया और दक्षिण सैंडविच द्वीप समूह",GT:"ग्वाटेमाला",GU:"ग्वाम",GW:"गिनी-बिसाउ",GY:"गुआना",HK:"हांग कांग",HM:"हर्ड एंड मैकडोनाल्ड द्वीपसमूह",HN:"होंडुरास",HR:"क्रोएशिया",HT:"हैती",HU:"हंगरी",ID:"इंडोनेशिया",IE:"आयरलैंड",IL:"इजराइल",IM:"आइसल ऑफ मैन",IN:"भारत",IO:"ब्रितानी हिंद महासागरीय क्षेत्र",IQ:"इराक",IR:"ईरान",IS:"आइसलैंड",IT:"इटली",JE:"जर्सी",JM:"जमैका",JO:"जॉर्डन",JP:"जापान",KE:"केन्या",KG:"किर्जिस्तान",KH:"कंबोडिया",KI:"किरिबिती",KM:"कोमोरोस",KN:"सेंट किट्स एंड नेविस",KP:"उत्तर कोरिया",KR:"दक्षिण कोरिया",KW:"कुवैत",KY:"केमैन आइसलैंड्स",KZ:"कज़ाखिस्तान",LA:"लाओस",LB:"लेबनान",LC:"सेंट लुसिया",LI:"लिक्टेनिस्टीन",LK:"श्री लंका",LR:"लाइबेरिया",LS:"लेसोथो",LT:"लिथुआनिया",LU:"लक्जमबर्ग",LV:"लात्विया",LY:"लीबिया",MA:"मोरक्को",MC:"मोनाको",MD:"मोलदोवा",ME:"मोंटेनेग्रो",MF:"सेंट मार्टिन की सामूहिकता",MG:"मैडागास्कर",MH:"मार्शल द्वीपसमूह",MK:"मकदूनिया",ML:"माली",MM:"म्यामांर (बर्मा)",MN:"मंगोलिया",MO:"मकाओ",MP:"उत्तर मैरिना द्वीपसमूह",MQ:"मार्टिनिक",MR:"मॉरितानिया",MS:"मोंटसेराट",MT:"माल्टा",MU:"मारीशस",MV:"मालदीव",MW:"मालावी",MX:"मेक्सिको",MY:"मलयेशिया",MZ:"मोजांबिक",NA:"नामीबिया",NC:"न्यू कैलेडोनिया",NE:"नाइजर",NF:"नोरफॉक द्वीप",NG:"नाइजीरिया",NI:"निकारागुआ",NL:"नीदरलैंड्स",NO:"नॉर्वे",NP:"नेपाल",NR:"नाउरू",NU:"नियू",NZ:"न्यूजीलैंड",OM:"ओमान",PA:"पनामा",PE:"पेरू",PF:"फ्रैंच गुआना",PG:"पापुआ न्यू गिनी",PH:"फिलीपींस",PK:"पाकिस्तान",PL:"पोलैंड",PM:"सेंट पिएरे एंड मिक्वेलॉन",PN:"पिटकैर्न द्वीपसमूह",PR:"पुएर्तो रिको",PS:"फिलिस्तीन राज्य",PT:"पुर्तगाल",PW:"पलाउ",PY:"पराग्वे",QA:"क़तार",RE:"रीयूनियन",RO:"रोमानिया",RS:"सर्बिया",RU:"रूस",RW:"रवांडा",SA:"सऊदी अरब",SB:"सोलोमन द्वीपसमूह",SC:"सेशेल्स",SD:"सूडान",SE:"स्वीडन",SG:"सिंगापुर",SH:"सेंट हेलेना",SI:"स्लोवानिया",SJ:"स्यालबार्ड (स्यालबार्ड एंड जन मावेम)",SK:"स्लोवाकिया",SL:"सियारा लिओन",SM:"सैन मारिनो",SN:"सेनेगल",SO:"सोमालिया",SR:"सूरीनाम",SS:"दक्षिण सूडान",ST:"साओ टॉम एंड प्रिंसिपी",SV:"सल्वाडोर",SX:"सिण्ट मार्टेन",SY:"सीरिया",SZ:"स्वाजीलैंड",TC:"तुर्क एंड कैकोस द्वीपसमूह",TD:"चाड",TF:"फ्रांसीसी दक्षिणी क्षेत्र",TG:"टोगो",TH:"थाईलैंड",TJ:"तज़ाकिस्तान",TK:"टोकेलू",TL:"पूर्वी तिमोर",TM:"तुर्कमेनिस्तान",TN:"ट्यूनीशिया",TO:"टोंगा",TR:"तुर्की",TT:"ट्रिनिडाड एंड टोबैगो",TV:"तुवालू",TW:"ताइवान",TZ:"तंजानिया",UA:"उक्रेन",UG:"उगांडा",UM:"यूएस माइनर आउटलाइंग द्वीपसमूह",US:"यूएसए (संयुक्त राज्य अमेरिका)",UY:"उरुग्वे",UZ:"उजबेकिस्तान",VA:"वेटिकन",VC:"सेंट विंसेंट एंड द ग्रेनेंडाइन्स",VE:"वेनेजुएला",VG:"ब्रितानी वर्जिन द्वीपसमूह",VI:"अमेरिकी वर्जिन द्वीपसमूह",VN:"विएतनाम",VU:"वनातू",WF:"वालीज एंड फुटुना",WS:"पश्चिमी सामोआ",XK:"कोसोवो",YE:"यमन",YT:"मायोते",ZA:"दक्षिण अफ्रीका",ZM:"जाम्बिया",ZW:"जिंबावे"},G={locale:M,countries:S};export{S as countries,G as default,M as locale}; diff --git a/docs/storybook/assets/hr-6cee9160.js b/docs/storybook/assets/hr-6cee9160.js deleted file mode 100644 index ffdf00c..0000000 --- a/docs/storybook/assets/hr-6cee9160.js +++ /dev/null @@ -1 +0,0 @@ -const a="hr",i={AD:"Andora",AE:"Ujedinjeni Arapski Emirati",AF:"Afganistan",AG:"Antigva i Barbuda",AI:"Angvila",AL:"Albanija",AM:"Armenija",AO:"Angola",AQ:"Antarktika",AR:"Argentina",AS:"Američka Samoa",AT:"Austrija",AU:"Australija",AW:"Aruba",AX:"Ålandski otoci",AZ:"Azerbajdžan",BA:"Bosna i Hercegovina",BB:"Barbados",BD:"Bangladeš",BE:"Belgija",BF:"Burkina Faso",BG:"Bugarska",BH:"Bahrein",BI:"Burundi",BJ:"Benin",BL:"Saint Barthélemy",BM:"Bermudi",BN:"Brunej",BO:"Bolivija",BQ:"Karipski otoci Nizozemske",BR:"Brazil",BS:"Bahami",BT:"Butan",BV:"Otok Bouvet",BW:"Bocvana",BY:"Bjelorusija",BZ:"Belize",CA:"Kanada",CC:"Kokosovi (Keelingovi) otoci",CD:"Kongo - Kinshasa",CF:"Srednjoafrička Republika",CG:"Kongo - Brazzaville",CH:"Švicarska",CI:"Obala Bjelokosti",CK:"Cookovi Otoci",CL:"Čile",CM:"Kamerun",CN:"Kina",CO:"Kolumbija",CR:"Kostarika",CU:"Kuba",CV:"Zelenortska Republika",CW:"Curaçao",CX:"Božićni otok",CY:"Cipar",CZ:"Češka",DE:"Njemačka",DJ:"Džibuti",DK:"Danska",DM:"Dominika",DO:"Dominikanska Republika",DZ:"Alžir",EC:"Ekvador",EE:"Estonija",EG:"Egipat",EH:"Zapadna Sahara",ER:"Eritreja",ES:"Španjolska",ET:"Etiopija",FI:"Finska",FJ:"Fidži",FK:"Falklandski otoci",FM:"Mikronezija",FO:"Farski otoci",FR:"Francuska",GA:"Gabon",GB:"Ujedinjeno Kraljevstvo",GD:"Grenada",GE:"Gruzija",GF:"Francuska Gijana",GG:"Guernsey",GH:"Gana",GI:"Gibraltar",GL:"Grenland",GM:"Gambija",GN:"Gvineja",GP:"Guadalupe",GQ:"Ekvatorska Gvineja",GR:"Grčka",GS:"Južna Georgija i Južni Sendvički Otoci",GT:"Gvatemala",GU:"Guam",GW:"Gvineja Bisau",GY:"Gvajana",HK:"PUP Hong Kong Kina",HM:"Otoci Heard i McDonald",HN:"Honduras",HR:"Hrvatska",HT:"Haiti",HU:"Mađarska",ID:"Indonezija",IE:"Irska",IL:"Izrael",IM:"Otok Man",IN:"Indija",IO:"Britanski Indijskooceanski teritorij",IQ:"Irak",IR:"Iran",IS:"Island",IT:"Italija",JE:"Jersey",JM:"Jamajka",JO:"Jordan",JP:"Japan",KE:"Kenija",KG:"Kirgistan",KH:"Kambodža",KI:"Kiribati",KM:"Komori",KN:"Sveti Kristofor i Nevis",KP:"Sjeverna Koreja",KR:"Južna Koreja",KW:"Kuvajt",KY:"Kajmanski otoci",KZ:"Kazahstan",LA:"Laos",LB:"Libanon",LC:"Sveta Lucija",LI:"Lihtenštajn",LK:"Šri Lanka",LR:"Liberija",LS:"Lesoto",LT:"Litva",LU:"Luksemburg",LV:"Latvija",LY:"Libija",MA:"Maroko",MC:"Monako",MD:"Moldavija",ME:"Crna Gora",MF:"Saint Martin",MG:"Madagaskar",MH:"Maršalovi Otoci",MK:"Sjeverna Makedonija",ML:"Mali",MM:"Mjanmar (Burma)",MN:"Mongolija",MO:"PUP Makao Kina",MP:"Sjevernomarijanski otoci",MQ:"Martinique",MR:"Mauretanija",MS:"Montserrat",MT:"Malta",MU:"Mauricijus",MV:"Maldivi",MW:"Malavi",MX:"Meksiko",MY:"Malezija",MZ:"Mozambik",NA:"Namibija",NC:"Nova Kaledonija",NE:"Niger",NF:"Otok Norfolk",NG:"Nigerija",NI:"Nikaragva",NL:"Nizozemska",NO:"Norveška",NP:"Nepal",NR:"Nauru",NU:"Niue",NZ:"Novi Zeland",OM:"Oman",PA:"Panama",PE:"Peru",PF:"Francuska Polinezija",PG:"Papua Nova Gvineja",PH:"Filipini",PK:"Pakistan",PL:"Poljska",PM:"Saint-Pierre-et-Miquelon",PN:"Otoci Pitcairn",PR:"Portoriko",PS:"Palestinsko Područje",PT:"Portugal",PW:"Palau",PY:"Paragvaj",QA:"Katar",RE:"Réunion",RO:"Rumunjska",RS:"Srbija",RU:"Rusija",RW:"Ruanda",SA:"Saudijska Arabija",SB:"Salomonski Otoci",SC:"Sejšeli",SD:"Sudan",SE:"Švedska",SG:"Singapur",SH:"Sveta Helena",SI:"Slovenija",SJ:"Svalbard i Jan Mayen",SK:"Slovačka",SL:"Sijera Leone",SM:"San Marino",SN:"Senegal",SO:"Somalija",SR:"Surinam",SS:"Južni Sudan",ST:"Sveti Toma i Princip",SV:"Salvador",SX:"Sint Maarten",SY:"Sirija",SZ:"Svazi",TC:"Otoci Turks i Caicos",TD:"Čad",TF:"Francuski južni i antarktički teritoriji",TG:"Togo",TH:"Tajland",TJ:"Tadžikistan",TK:"Tokelau",TL:"Timor-Leste",TM:"Turkmenistan",TN:"Tunis",TO:"Tonga",TR:"Turska",TT:"Trinidad i Tobago",TV:"Tuvalu",TW:"Tajvan",TZ:"Tanzanija",UA:"Ukrajina",UG:"Uganda",UM:"Mali udaljeni otoci SAD-a",US:"Sjedinjene Američke Države",UY:"Urugvaj",UZ:"Uzbekistan",VA:"Vatikanski Grad",VC:"Sveti Vincent i Grenadini",VE:"Venezuela",VG:"Britanski Djevičanski otoci",VI:"Američki Djevičanski otoci",VN:"Vijetnam",VU:"Vanuatu",WF:"Wallis i Futuna",WS:"Samoa",XK:"Kosovo",YE:"Jemen",YT:"Mayotte",ZA:"Južnoafrička Republika",ZM:"Zambija",ZW:"Zimbabve"},n={locale:a,countries:i};export{i as countries,n as default,a as locale}; diff --git a/docs/storybook/assets/hu-d9db5acd.js b/docs/storybook/assets/hu-d9db5acd.js deleted file mode 100644 index 4abbe61..0000000 --- a/docs/storybook/assets/hu-d9db5acd.js +++ /dev/null @@ -1 +0,0 @@ -const a="hu",i={AF:"Afganisztán",AL:"Albánia",DZ:"Algéria",AS:"Amerikai Szamoa",AD:"Andorra",AO:"Angola",AI:"Anguilla",AQ:"Antarktisz",AG:"Antigua és Barbuda",AR:"Argentína",AM:"Örményország",AW:"Aruba",AU:"Ausztrália",AT:"Ausztria",AZ:"Azerbajdzsán",BS:"Bahama-szigetek",BH:"Bahrein",BD:"Banglades",BB:"Barbados",BY:"Fehéroroszország",BE:"Belgium",BZ:"Belize",BJ:"Benin",BM:"Bermuda",BT:"Bhután",BO:"Bolívia",BA:"Bosznia-Hercegovina",BW:"Botswana",BV:"Bouvet-sziget",BR:"Brazília",IO:"Brit Indiai-óceáni Terület",BN:"Brunei",BG:"Bulgária",BF:"Burkina Faso",BI:"Burundi",KH:"Kambodzsa",CM:"Kamerun",CA:"Kanada",CV:"Zöld-foki Köztársaság",KY:"Kajmán-szigetek",CF:"Közép-afrikai Köztársaság",TD:"Csád",CL:"Chile",CN:"Kína",CX:"Karácsony-sziget",CC:"Kókusz (Keeling)-szigetek",CO:"Kolumbia",KM:"Comore-szigetek",CG:"Kongói Köztársaság",CD:"Kongói Demokratikus Köztársaság",CK:"Cook-szigetek",CR:"Costa Rica",CI:"Elefántcsontpart",HR:"Horvátország",CU:"Kuba",CY:"Ciprus",CZ:"Csehország",DK:"Dánia",DJ:"Dzsibuti",DM:"Dominikai Közösség",DO:"Dominikai Köztársaság",EC:"Ecuador",EG:"Egyiptom",SV:"Salvador",GQ:"Egyenlítői-Guinea",ER:"Eritrea",EE:"Észtország",ET:"Etiópia",FK:"Falkland-szigetek",FO:"Feröer",FJ:"Fidzsi-szigetek",FI:"Finnország",FR:"Franciaország",GF:"Francia Guyana",PF:"Francia Polinézia",TF:"Francia déli területek",GA:"Gabon",GM:"Gambia",GE:"Grúzia",DE:"Németország",GH:"Ghána",GI:"Gibraltár",GR:"Görögország",GL:"Grönland",GD:"Grenada",GP:"Guadeloupe",GU:"Guam",GT:"Guatemala",GN:"Guinea",GW:"Bissau-Guinea",GY:"Guyana",HT:"Haiti",HM:"Heard-sziget és McDonald-szigetek",VA:"Vatikán",HN:"Honduras",HK:"Hong Kong",HU:"Magyarország",IS:"Izland",IN:"India",ID:"Indonézia",IR:"Irán",IQ:"Irak",IE:"Írország",IL:"Izrael",IT:"Olaszország",JM:"Jamaica",JP:"Japán",JO:"Jordánia",KZ:"Kazahsztán",KE:"Kenya",KI:"Kiribati",KP:"Észak-Korea",KR:"Dél-Korea",KW:"Kuvait",KG:"Kirgizisztán",LA:"Laosz",LV:"Lettország",LB:"Libanon",LS:"Lesotho",LR:"Libéria",LY:"Líbia",LI:"Liechtenstein",LT:"Litvánia",LU:"Luxemburg",MO:"Makao",MK:"Észak-Macedónia",MG:"Madagaszkár",MW:"Malawi",MY:"Malajzia",MV:"Maldív-szigetek",ML:"Mali",MT:"Málta",MH:"Marshall-szigetek",MQ:"Martinique",MR:"Mauritánia",MU:"Mauritius",YT:"Mayotte",MX:"Mexikó",FM:"Mikronéziai Szövetségi Államok",MD:"Moldova",MC:"Monaco",MN:"Mongólia",MS:"Montserrat",MA:"Marokkó",MZ:"Mozambik",MM:"Mianmar",NA:"Namíbia",NR:"Nauru",NP:"Nepál",NL:"Hollandia",NC:"Új-Kaledónia",NZ:"Új-Zéland",NI:"Nicaragua",NE:"Niger",NG:"Nigéria",NU:"Niue",NF:"Norfolk-sziget",MP:"Északi-Mariana-szigetek",NO:"Norvégia",OM:"Omán",PK:"Pakisztán",PW:"Palau",PS:"Palesztina",PA:"Panama",PG:"Pápua Új-Guinea",PY:"Paraguay",PE:"Peru",PH:"Fülöp-szigetek",PN:"Pitcairn-szigetek",PL:"Lengyelország",PT:"Portugália",PR:"Puerto Rico",QA:"Katar",RE:"Réunion",RO:"Románia",RU:"Oroszország",RW:"Ruanda",SH:"Saint Helena",KN:"Saint Kitts és Nevis",LC:"Saint Lucia",PM:"Saint Pierre and Miquelon",VC:"Saint Vincent és a Grenadine-szigetek",WS:"Szamoa",SM:"San Marino",ST:"São Tomé és Príncipe",SA:"Szaudi-Arábia",SN:"Szenegál",SC:"Seychelle-szigetek",SL:"Sierra Leone",SG:"Szingapúr",SK:"Szlovákia",SI:"Szlovénia",SB:"Salamon-szigetek",SO:"Szomália",ZA:"Dél-Afrika",GS:"Déli-Georgia és Déli-Sandwich-szigetek",ES:"Spanyolország",LK:"Sri Lanka",SD:"Szudán",SR:"Suriname",SJ:"Spitzbergák és Jan Mayen",SZ:"Szváziföld",SE:"Svédország",CH:"Svájc",SY:"Szíria",TW:"Tajvan",TJ:"Tádzsikisztán",TZ:"Tanzánia",TH:"Thaiföld",TL:"Kelet-Timor",TG:"Togo",TK:"Tokelau-szigetek",TO:"Tonga",TT:"Trinidad és Tobago",TN:"Tunézia",TR:"Törökország",TM:"Türkmenisztán",TC:"Turks- és Caicos-szigetek",TV:"Tuvalu",UG:"Uganda",UA:"Ukrajna",AE:"Egyesült Arab Emírségek",GB:"Egyesült Királyság",US:"Amerikai Egyesült Államok",UM:"Az Amerikai Egyesült Államok lakatlan külbirtokai",UY:"Uruguay",UZ:"Üzbegisztán",VU:"Vanuatu",VE:"Venezuela",VN:"Vietnam",VG:"Brit Virgin-szigetek",VI:"Amerikai Virgin-szigetek",WF:"Wallis és Futuna",EH:"Nyugat-Szahara",YE:"Jemen",ZM:"Zambia",ZW:"Zimbabwe",AX:"Åland",BQ:"Karibi Hollandia",CW:"Curaçao",GG:"Guernsey",IM:"Man-sziget",JE:"Jersey",ME:"Montenegró",BL:"Saint Barthélemy",MF:"Szent Márton-sziget (francia rész)",RS:"Szerbia",SX:"Szent Márton-sziget (holland rész)",SS:"Dél-Szudán",XK:"Koszovó"},e={locale:a,countries:i};export{i as countries,e as default,a as locale}; diff --git a/docs/storybook/assets/hy-d3870260.js b/docs/storybook/assets/hy-d3870260.js deleted file mode 100644 index cf15c5b..0000000 --- a/docs/storybook/assets/hy-d3870260.js +++ /dev/null @@ -1 +0,0 @@ -const M="hy",S={AD:"Անդորրա",AE:"Արաբական Միացյալ Էմիրություններ",AF:"Աֆղանստան",AG:"Անտիգուա և Բարբուդա",AI:"Անգուիլա",AL:"Ալբանիա",AM:"Հայաստան",AO:"Անգոլա",AQ:"Անտարկտիդա",AR:"Արգենտինա",AS:"Ամերիկյան Սամոա",AT:"Ավստրիա",AU:"Ավստրալիա",AW:"Արուբա",AX:"Ալանդյան կղզիներ",AZ:"Ադրբեջան",BA:"Բոսնիա և Հերցեգովինա",BB:"Բարբադոս",BD:"Բանգլադեշ",BE:"Բելգիա",BF:"Բուրկինա Ֆասո",BG:"Բուլղարիա",BH:"Բահրեյն",BI:"Բուրունդի",BJ:"Բենին",BL:"Սեն Բարտելմի",BM:"Բերմուդներ",BN:"Բրունեյ",BO:"Բոլիվիա",BQ:"Կարիբյան Նիդեռլանդներ",BR:"Բրազիլիա",BS:"Բահամաներ",BT:"Բութան",BV:"Բուվե կղզի",BW:"Բոթսվանա",BY:"Բելառուս",BZ:"Բելիզ",CA:"Կանադա",CC:"Կոկոսյան (Քիլինգ) կղզիներ",CD:"Կոնգո - Կինշասա",CF:"Կենտրոնական Աֆրիկյան Հանրապետություն",CG:"Կոնգո - Բրազավիլ",CH:"Շվեյցարիա",CI:"Կոտ դ’Իվուար",CK:"Կուկի կղզիներ",CL:"Չիլի",CM:"Կամերուն",CN:"Չինաստան",CO:"Կոլումբիա",CR:"Կոստա Ռիկա",CU:"Կուբա",CV:"Կաբո Վերդե",CW:"Կյուրասաո",CX:"Սուրբ Ծննդյան կղզի",CY:"Կիպրոս",CZ:"Չեխիա",DE:"Գերմանիա",DJ:"Ջիբութի",DK:"Դանիա",DM:"Դոմինիկա",DO:"Դոմինիկյան Հանրապետություն",DZ:"Ալժիր",EC:"Էկվադոր",EE:"Էստոնիա",EG:"Եգիպտոս",EH:"Արևմտյան Սահարա",ER:"Էրիթրեա",ES:"Իսպանիա",ET:"Եթովպիա",FI:"Ֆինլանդիա",FJ:"Ֆիջի",FK:"Ֆոլքլենդյան կղզիներ",FM:"Միկրոնեզիա",FO:"Ֆարերյան կղզիներ",FR:"Ֆրանսիա",GA:"Գաբոն",GB:"Միացյալ Թագավորություն",GD:"Գրենադա",GE:"Վրաստան",GF:"Ֆրանսիական Գվիանա",GG:"Գերնսի",GH:"Գանա",GI:"Ջիբրալթար",GL:"Գրենլանդիա",GM:"Գամբիա",GN:"Գվինեա",GP:"Գվադելուպա",GQ:"Հասարակածային Գվինեա",GR:"Հունաստան",GS:"Հարավային Ջորջիա և Հարավային Սենդվիչյան կղզիներ",GT:"Գվատեմալա",GU:"Գուամ",GW:"Գվինեա-Բիսսաու",GY:"Գայանա",HK:"Հոնկոնգի ՀՎՇ",HM:"Հերդ կղզի և ՄակԴոնալդի կղզիներ",HN:"Հոնդուրաս",HR:"Խորվաթիա",HT:"Հայիթի",HU:"Հունգարիա",ID:"Ինդոնեզիա",IE:"Իռլանդիա",IL:"Իսրայել",IM:"Մեն կղզի",IN:"Հնդկաստան",IO:"Բրիտանական Տարածք Հնդկական Օվկիանոսում",IQ:"Իրաք",IR:"Իրան",IS:"Իսլանդիա",IT:"Իտալիա",JE:"Ջերսի",JM:"Ճամայկա",JO:"Հորդանան",JP:"Ճապոնիա",KE:"Քենիա",KG:"Ղրղզստան",KH:"Կամբոջա",KI:"Կիրիբատի",KM:"Կոմորյան կղզիներ",KN:"Սենտ Քիտս և Նևիս",KP:"Հյուսիսային Կորեա",KR:"Հարավային Կորեա",KW:"Քուվեյթ",KY:"Կայմանյան կղզիներ",KZ:"Ղազախստան",LA:"Լաոս",LB:"Լիբանան",LC:"Սենթ Լյուսիա",LI:"Լիխտենշտեյն",LK:"Շրի Լանկա",LR:"Լիբերիա",LS:"Լեսոտո",LT:"Լիտվա",LU:"Լյուքսեմբուրգ",LV:"Լատվիա",LY:"Լիբիա",MA:"Մարոկկո",MC:"Մոնակո",MD:"Մոլդովա",ME:"Չեռնոգորիա",MF:"Սեն Մարտեն",MG:"Մադագասկար",MH:"Մարշալյան կղզիներ",MK:"Հյուսիսային Մակեդոնիա",ML:"Մալի",MM:"Մյանմա (Բիրմա)",MN:"Մոնղոլիա",MO:"Չինաստանի Մակաո ՀՎՇ",MP:"Հյուսիսային Մարիանյան կղզիներ",MQ:"Մարտինիկա",MR:"Մավրիտանիա",MS:"Մոնսեռատ",MT:"Մալթա",MU:"Մավրիկիոս",MV:"Մալդիվներ",MW:"Մալավի",MX:"Մեքսիկա",MY:"Մալայզիա",MZ:"Մոզամբիկ",NA:"Նամիբիա",NC:"Նոր Կալեդոնիա",NE:"Նիգեր",NF:"Նորֆոլկ կղզի",NG:"Նիգերիա",NI:"Նիկարագուա",NL:"Նիդեռլանդներ",NO:"Նորվեգիա",NP:"Նեպալ",NR:"Նաուրու",NU:"Նիուե",NZ:"Նոր Զելանդիա",OM:"Օման",PA:"Պանամա",PE:"Պերու",PF:"Ֆրանսիական Պոլինեզիա",PG:"Պապուա Նոր Գվինեա",PH:"Ֆիլիպիններ",PK:"Պակիստան",PL:"Լեհաստան",PM:"Սեն Պիեռ և Միքելոն",PN:"Պիտկեռն կղզիներ",PR:"Պուերտո Ռիկո",PS:"Պաղեստինյան տարածքներ",PT:"Պորտուգալիա",PW:"Պալաու",PY:"Պարագվայ",QA:"Կատար",RE:"Ռեյունիոն",RO:"Ռումինիա",RS:"Սերբիա",RU:"Ռուսաստան",RW:"Ռուանդա",SA:"Սաուդյան Արաբիա",SB:"Սողոմոնյան կղզիներ",SC:"Սեյշելներ",SD:"Սուդան",SE:"Շվեդիա",SG:"Սինգապուր",SH:"Սուրբ Հեղինեի կղզի",SI:"Սլովենիա",SJ:"Սվալբարդ և Յան Մայեն",SK:"Սլովակիա",SL:"Սիեռա Լեոնե",SM:"Սան Մարինո",SN:"Սենեգալ",SO:"Սոմալի",SR:"Սուրինամ",SS:"Հարավային Սուդան",ST:"Սան Տոմե և Փրինսիպի",SV:"Սալվադոր",SX:"Սինտ Մարտեն",SY:"Սիրիա",SZ:"Սվազիլենդ",TC:"Թըրքս և Կայկոս կղզիներ",TD:"Չադ",TF:"Ֆրանսիական Հարավային Տարածքներ",TG:"Տոգո",TH:"Թայլանդ",TJ:"Տաջիկստան",TK:"Տոկելաու",TL:"Թիմոր Լեշտի",TM:"Թուրքմենստան",TN:"Թունիս",TO:"Տոնգա",TR:"Թուրքիա",TT:"Տրինիդադ և Տոբագո",TV:"Տուվալու",TW:"Թայվան",TZ:"Տանզանիա",UA:"Ուկրաինա",UG:"Ուգանդա",UM:"Արտաքին կղզիներ (ԱՄՆ)",US:"Միացյալ Նահանգներ",UY:"Ուրուգվայ",UZ:"Ուզբեկստան",VA:"Վատիկան",VC:"Սենթ Վինսենթ և Գրենադիններ",VE:"Վենեսուելա",VG:"Բրիտանական Վիրջինյան կղզիներ",VI:"ԱՄՆ Վիրջինյան կղզիներ",VN:"Վիետնամ",VU:"Վանուատու",WF:"Ուոլիս և Ֆուտունա",WS:"Սամոա",XK:"Կոսովո",YE:"Եմեն",YT:"Մայոտ",ZA:"Հարավաֆրիկյան Հանրապետություն",ZM:"Զամբիա",ZW:"Զիմբաբվե"},G={locale:M,countries:S};export{S as countries,G as default,M as locale}; diff --git a/docs/storybook/assets/id-cad59afe.js b/docs/storybook/assets/id-cad59afe.js deleted file mode 100644 index 65516c4..0000000 --- a/docs/storybook/assets/id-cad59afe.js +++ /dev/null @@ -1 +0,0 @@ -const a="id",i={AF:"Afghanistan",AL:"Albania",DZ:"Algeria",AS:"Samoa Amerika",AD:"Andorra",AO:"Angola",AI:"Anguilla",AQ:"Antarctica",AG:"Antigua dan Barbuda",AR:"Argentina",AM:"Armenia",AW:"Aruba",AU:"Australia",AT:"Austria",AZ:"Azerbaijan",BS:"Bahama",BH:"Bahrain",BD:"Bangladesh",BB:"Barbados",BY:"Belarusia",BE:"Belgia",BZ:"Belize",BJ:"Benin",BM:"Bermuda",BT:"Bhutan",BO:"Bolivia",BA:"Bosnia dan Herzegovina",BW:"Botswana",BV:"Kepulauan Bouvet",BR:"Brasil",IO:"Teritori Samudra Hindia Britania",BN:"Brunei Darussalam",BG:"Bulgaria",BF:"Burkina Faso",BI:"Burundi",KH:"Kamboja",CM:"Kamerun",CA:"Kanada",CV:"Tanjung Verde",KY:"Kepulauan Cayman",CF:"Afrika Tengah",TD:"Chad",CL:"Chile",CN:"China",CX:"Pulau Natal",CC:"Kepulauan Cocos (Keeling)",CO:"Kolombia",KM:"Komoro",CG:"Kongo",CD:"Republik Demokratik Kongo",CK:"Kepulauan Cook",CR:"Kosta Rika",CI:"Pantai Gading",HR:"Kroasia",CU:"Kuba",CY:"Siprus",CZ:"Republik Ceko",DK:"Denmark",DJ:"Djibouti",DM:"Dominika",DO:"Republik Dominika",EC:"Ekuador",EG:"Mesir",SV:"El Salvador",GQ:"Guinea Khatulistiwa",ER:"Eritrea",EE:"Estonia",ET:"Ethiopia",FK:"Kepulauan Falkland(Malvinas)",FO:"Kepulauan Faroe",FJ:"Fiji",FI:"Finlandia",FR:"Perancis",GF:"Guyana Perancis",PF:"Polinesia Perancis",TF:"Antartika Perancis",GA:"Gabon",GM:"Gambia",GE:"Georgia",DE:"Jerman",GH:"Ghana",GI:"Gibraltar",GR:"Yunani",GL:"Greenland",GD:"Grenada",GP:"Guadeloupe",GU:"Guam",GT:"Guatamala",GN:"Guinea",GW:"Guinea-Bissau",GY:"Guyana",HT:"Haiti",HM:"Pulau Heard dan Kepulauan McDonald",VA:"Vatikan",HN:"Honduras",HK:"Hong Kong",HU:"Hungaria",IS:"Islandia",IN:"India",ID:"Indonesia",IR:"Iran",IQ:"Irak",IE:"Irlandia",IL:"Israel",IT:"Italia",JM:"Jamaika",JP:"Jepang",JO:"Yordania",KZ:"Kazakhstan",KE:"Kenya",KI:"Kiribati",KP:"Korea Utara",KR:"Korea Selatan",KW:"Kuwait",KG:"Kyrgyzstan",LA:"Laos",LV:"Latvia",LB:"Lebanon",LS:"Lesotho",LR:"Liberia",LY:"Libya",LI:"Liechtenstein",LT:"Lithuania",LU:"Luxemburg",MO:"Makau",MK:"Makedonia Utara",MG:"Madagaskar",MW:"Malawi",MY:"Malaysia",MV:"Maldives",ML:"Mali",MT:"Malta",MH:"Kepulauan Marshall",MQ:"Martinik",MR:"Mauritania",MU:"Mauritius",YT:"Mayotte",MX:"Meksiko",FM:"Federasi Mikronesia",MD:"Moldova",MC:"Monako",MN:"Mongolia",MS:"Montserrat",MA:"Moroko",MZ:"Mozambik",MM:"Myanmar",NA:"Namibia",NR:"Nauru",NP:"Nepal",NL:"Belanda",NC:"Kaledonia Baru",NZ:"Selandia Baru",NI:"Nikaragua",NE:"Niger",NG:"Nigeria",NU:"Niue",NF:"Kepulauan Norfolk",MP:"Kepulauan Mariana Utara",NO:"Norwegia",OM:"Oman",PK:"Pakistan",PW:"Palau",PS:"Palestina",PA:"Panama",PG:"Papua Nugini",PY:"Paraguay",PE:"Peru",PH:"Filipina",PN:"Pitcairn",PL:"Polandia",PT:"Portugal",PR:"Puerto Riko",QA:"Qatar",RE:"Reunion",RO:"Rumania",RU:"Rusia",RW:"Rwanda",SH:"Saint Helena",KN:"Saint Kitts dan Nevis",LC:"Saint Lucia",PM:"Saint Pierre dan Miquelon",VC:"Saint Vincent dan the Grenadines",WS:"Samoa",SM:"San Marino",ST:"Sao Tome dan Principe",SA:"Arab Saudi",SN:"Senegal",SC:"Seychelles",SL:"Sierra Leone",SG:"Singapura",SK:"Slovakia",SI:"Slovenia",SB:"Kepulauan Solomon",SO:"Somalia",ZA:"Afrika Selatan",GS:"Georgia Selatan dan Kepulauan Sandwich Selatan",ES:"Spanyol",LK:"Sri Lanka",SD:"Sudan",SR:"Suriname",SJ:"Svalbard dan Jan Mayen",SZ:"Eswatini",SE:"Sweden",CH:"Swiss",SY:"Suriah",TW:"Taiwan",TJ:"Tajikistan",TZ:"Tanzania",TH:"Thailand",TL:"Timor-Leste",TG:"Togo",TK:"Tokelau",TO:"Tonga",TT:"Trinidad dan Tobago",TN:"Tunisia",TR:"Turki",TM:"Turkmenistan",TC:"Turks dan Caicos Islands",TV:"Tuvalu",UG:"Uganda",UA:"Ukraina",AE:"Uni Emirat Arab",GB:"Britania Raya",US:"Amerika Serikat",UM:"United States Minor Outlying Islands",UY:"Uruguay",UZ:"Uzbekistan",VU:"Vanuatu",VE:"Venezuela",VN:"Viet Nam",VG:"Virgin Islands, British",VI:"Virgin Islands, U.S.",WF:"Wallis and Futuna",EH:"Sahara Barat",YE:"Yaman",ZM:"Zambia",ZW:"Zimbabwe",AX:"Åland Islands",BQ:"Bonaire, Sint Eustatius and Saba",CW:"Curaçao",GG:"Guernsey",IM:"Isle of Man",JE:"Jersey",ME:"Montenegro",BL:"Saint Barthélemy",MF:"Saint Martin (French part)",RS:"Serbia",SX:"Sint Maarten (Dutch part)",SS:"Sudan Selatan",XK:"Kosovo"},n={locale:a,countries:i};export{i as countries,n as default,a as locale}; diff --git a/docs/storybook/assets/iframe-145c4ff1.js b/docs/storybook/assets/iframe-145c4ff1.js deleted file mode 100644 index 4595c11..0000000 --- a/docs/storybook/assets/iframe-145c4ff1.js +++ /dev/null @@ -1,210 +0,0 @@ -(function(){const e=document.createElement("link").relList;if(e&&e.supports&&e.supports("modulepreload"))return;for(const i of document.querySelectorAll('link[rel="modulepreload"]'))o(i);new MutationObserver(i=>{for(const a of i)if(a.type==="childList")for(const u of a.addedNodes)u.tagName==="LINK"&&u.rel==="modulepreload"&&o(u)}).observe(document,{childList:!0,subtree:!0});function r(i){const a={};return i.integrity&&(a.integrity=i.integrity),i.referrerPolicy&&(a.referrerPolicy=i.referrerPolicy),i.crossOrigin==="use-credentials"?a.credentials="include":i.crossOrigin==="anonymous"?a.credentials="omit":a.credentials="same-origin",a}function o(i){if(i.ep)return;i.ep=!0;const a=r(i);fetch(i.href,a)}})();const scriptRel="modulepreload",assetsURL=function(t,e){return new URL(t,e).href},seen={},__vitePreload=function(e,r,o){if(!r||r.length===0)return e();const i=document.getElementsByTagName("link");return Promise.all(r.map(a=>{if(a=assetsURL(a,o),a in seen)return;seen[a]=!0;const u=a.endsWith(".css"),l=u?'[rel="stylesheet"]':"";if(!!o)for(let m=i.length-1;m>=0;m--){const h=i[m];if(h.href===a&&(!u||h.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${a}"]${l}`))return;const p=document.createElement("link");if(p.rel=u?"stylesheet":scriptRel,u||(p.as="script",p.crossOrigin=""),p.href=a,document.head.appendChild(p),u)return new Promise((m,h)=>{p.addEventListener("load",m),p.addEventListener("error",()=>h(new Error(`Unable to preload CSS for ${a}`)))})})).then(()=>e()).catch(a=>{const u=new Event("vite:preloadError",{cancelable:!0});if(u.payload=a,window.dispatchEvent(u),!u.defaultPrevented)throw a})};var tl=Object.create,et=Object.defineProperty,ol=Object.getOwnPropertyDescriptor,nl=Object.getOwnPropertyNames,sl=Object.getPrototypeOf,il=Object.prototype.hasOwnProperty,n=(t,e)=>et(t,"name",{value:e,configurable:!0}),cr=(t=>typeof require<"u"?require:typeof Proxy<"u"?new Proxy(t,{get:(e,r)=>(typeof require<"u"?require:e)[r]}):t)(function(t){if(typeof require<"u")return require.apply(this,arguments);throw Error('Dynamic require of "'+t+'" is not supported')}),q=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),_e=(t,e)=>{for(var r in e)et(t,r,{get:e[r],enumerable:!0})},al=(t,e,r,o)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of nl(e))!il.call(t,i)&&i!==r&&et(t,i,{get:()=>e[i],enumerable:!(o=ol(e,i))||o.enumerable});return t},ue=(t,e,r)=>(r=t!=null?tl(sl(t)):{},al(e||!t||!t.__esModule?et(r,"default",{value:t,enumerable:!0}):r,t)),it=q((t,e)=>{(function(r){if(typeof t=="object"&&typeof e<"u")e.exports=r();else if(typeof define=="function"&&define.amd)define([],r);else{var o;typeof window<"u"?o=window:typeof global<"u"?o=global:typeof self<"u"?o=self:o=this,o.memoizerific=r()}})(function(){return n(function r(o,i,a){function u(p,m){if(!i[p]){if(!o[p]){var h=typeof cr=="function"&&cr;if(!m&&h)return h(p,!0);if(l)return l(p,!0);var g=new Error("Cannot find module '"+p+"'");throw g.code="MODULE_NOT_FOUND",g}var J=i[p]={exports:{}};o[p][0].call(J.exports,function(ne){var le=o[p][1][ne];return u(le||ne)},J,J.exports,r,o,i,a)}return i[p].exports}n(u,"s");for(var l=typeof cr=="function"&&cr,c=0;c<a.length;c++)u(a[c]);return u},"e")({1:[function(r,o,i){o.exports=function(a){if(typeof Map!="function"||a){var u=r("./similar");return new u}else return new Map}},{"./similar":2}],2:[function(r,o,i){function a(){return this.list=[],this.lastItem=void 0,this.size=0,this}n(a,"Similar"),a.prototype.get=function(u){var l;if(this.lastItem&&this.isEqual(this.lastItem.key,u))return this.lastItem.val;if(l=this.indexOf(u),l>=0)return this.lastItem=this.list[l],this.list[l].val},a.prototype.set=function(u,l){var c;return this.lastItem&&this.isEqual(this.lastItem.key,u)?(this.lastItem.val=l,this):(c=this.indexOf(u),c>=0?(this.lastItem=this.list[c],this.list[c].val=l,this):(this.lastItem={key:u,val:l},this.list.push(this.lastItem),this.size++,this))},a.prototype.delete=function(u){var l;if(this.lastItem&&this.isEqual(this.lastItem.key,u)&&(this.lastItem=void 0),l=this.indexOf(u),l>=0)return this.size--,this.list.splice(l,1)[0]},a.prototype.has=function(u){var l;return this.lastItem&&this.isEqual(this.lastItem.key,u)?!0:(l=this.indexOf(u),l>=0?(this.lastItem=this.list[l],!0):!1)},a.prototype.forEach=function(u,l){var c;for(c=0;c<this.size;c++)u.call(l||this,this.list[c].val,this.list[c].key,this)},a.prototype.indexOf=function(u){var l;for(l=0;l<this.size;l++)if(this.isEqual(this.list[l].key,u))return l;return-1},a.prototype.isEqual=function(u,l){return u===l||u!==u&&l!==l},o.exports=a},{}],3:[function(r,o,i){var a=r("map-or-similar");o.exports=function(p){var m=new a(!1),h=[];return function(g){var J=n(function(){var ne=m,le,re,ce=arguments.length-1,F=Array(ce+1),se=!0,he;if((J.numArgs||J.numArgs===0)&&J.numArgs!==ce+1)throw new Error("Memoizerific functions should always be called with the same number of arguments");for(he=0;he<ce;he++){if(F[he]={cacheItem:ne,arg:arguments[he]},ne.has(arguments[he])){ne=ne.get(arguments[he]);continue}se=!1,le=new a(!1),ne.set(arguments[he],le),ne=le}return se&&(ne.has(arguments[ce])?re=ne.get(arguments[ce]):se=!1),se||(re=g.apply(null,arguments),ne.set(arguments[ce],re)),p>0&&(F[ce]={cacheItem:ne,arg:arguments[ce]},se?u(h,F):h.push(F),h.length>p&&l(h.shift())),J.wasMemoized=se,J.numArgs=ce+1,re},"memoizerific");return J.limit=p,J.wasMemoized=!1,J.cache=m,J.lru=h,J}};function u(p,m){var h=p.length,g=m.length,J,ne,le;for(ne=0;ne<h;ne++){for(J=!0,le=0;le<g;le++)if(!c(p[ne][le].arg,m[le].arg)){J=!1;break}if(J)break}p.push(p.splice(ne,1)[0])}n(u,"moveToMostRecentLru");function l(p){var m=p.length,h=p[m-1],g,J;for(h.cacheItem.delete(h.arg),J=m-2;J>=0&&(h=p[J],g=h.cacheItem.get(h.arg),!g||!g.size);J--)h.cacheItem.delete(h.arg)}n(l,"removeCachedResult");function c(p,m){return p===m||p!==p&&m!==m}n(c,"isEqual")},{"map-or-similar":1}]},{},[3])(3)})}),wi=q(t=>{Object.defineProperty(t,"__esModule",{value:!0}),t.isEqual=function(){var e=Object.prototype.toString,r=Object.getPrototypeOf,o=Object.getOwnPropertySymbols?function(i){return Object.keys(i).concat(Object.getOwnPropertySymbols(i))}:Object.keys;return function(i,a){return n(function u(l,c,p){var m,h,g,J=e.call(l),ne=e.call(c);if(l===c)return!0;if(l==null||c==null)return!1;if(p.indexOf(l)>-1&&p.indexOf(c)>-1)return!0;if(p.push(l,c),J!=ne||(m=o(l),h=o(c),m.length!=h.length||m.some(function(le){return!u(l[le],c[le],p)})))return!1;switch(J.slice(8,-1)){case"Symbol":return l.valueOf()==c.valueOf();case"Date":case"Number":return+l==+c||+l!=+l&&+c!=+c;case"RegExp":case"Function":case"String":case"Boolean":return""+l==""+c;case"Set":case"Map":m=l.entries(),h=c.entries();do if(!u((g=m.next()).value,h.next().value,p))return!1;while(!g.done);return!0;case"ArrayBuffer":l=new Uint8Array(l),c=new Uint8Array(c);case"DataView":l=new Uint8Array(l.buffer),c=new Uint8Array(c.buffer);case"Float32Array":case"Float64Array":case"Int8Array":case"Int16Array":case"Int32Array":case"Uint8Array":case"Uint16Array":case"Uint32Array":case"Uint8ClampedArray":case"Arguments":case"Array":if(l.length!=c.length)return!1;for(g=0;g<l.length;g++)if((g in l||g in c)&&(g in l!=g in c||!u(l[g],c[g],p)))return!1;return!0;case"Object":return u(r(l),r(c),p);default:return!1}},"n")(i,a,[])}}()}),qn=q(t=>{Object.defineProperty(t,"__esModule",{value:!0}),t.encodeString=o;var e=Array.from({length:256},(i,a)=>"%"+((a<16?"0":"")+a.toString(16)).toUpperCase()),r=new Int8Array([0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,1,1,1,1,0,0,1,1,0,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,1,0]);function o(i){let a=i.length;if(a===0)return"";let u="",l=0,c=0;e:for(;c<a;c++){let p=i.charCodeAt(c);for(;p<128;){if(r[p]!==1&&(l<c&&(u+=i.slice(l,c)),l=c+1,u+=e[p]),++c===a)break e;p=i.charCodeAt(c)}if(l<c&&(u+=i.slice(l,c)),p<2048){l=c+1,u+=e[192|p>>6]+e[128|p&63];continue}if(p<55296||p>=57344){l=c+1,u+=e[224|p>>12]+e[128|p>>6&63]+e[128|p&63];continue}if(++c,c>=a)throw new Error("URI malformed");let m=i.charCodeAt(c)&1023;l=c+1,p=65536+((p&1023)<<10|m),u+=e[240|p>>18]+e[128|p>>12&63]+e[128|p>>6&63]+e[128|p&63]}return l===0?i:l<a?u+i.slice(l):u}n(o,"encodeString")}),It=q(t=>{Object.defineProperty(t,"__esModule",{value:!0}),t.defaultOptions=t.defaultShouldSerializeObject=t.defaultValueSerializer=void 0;var e=qn(),r=n(a=>{switch(typeof a){case"string":return(0,e.encodeString)(a);case"bigint":case"boolean":return""+a;case"number":if(Number.isFinite(a))return a<1e21?""+a:(0,e.encodeString)(""+a);break}return a instanceof Date?(0,e.encodeString)(a.toISOString()):""},"defaultValueSerializer");t.defaultValueSerializer=r;var o=n(a=>a instanceof Date,"defaultShouldSerializeObject");t.defaultShouldSerializeObject=o;var i=n(a=>a,"identityFunc");t.defaultOptions={nesting:!0,nestingSyntax:"dot",arrayRepeat:!1,arrayRepeatSyntax:"repeat",delimiter:38,valueDeserializer:i,valueSerializer:t.defaultValueSerializer,keyDeserializer:i,shouldSerializeObject:t.defaultShouldSerializeObject}}),Vn=q(t=>{Object.defineProperty(t,"__esModule",{value:!0}),t.getDeepObject=i,t.stringifyObject=m;var e=It(),r=qn();function o(h){return h==="__proto__"||h==="constructor"||h==="prototype"}n(o,"isPrototypeKey");function i(h,g,J,ne,le){if(o(g))return h;let re=h[g];return typeof re=="object"&&re!==null?re:!ne&&(le||typeof J=="number"||typeof J=="string"&&J*0===0&&J.indexOf(".")===-1)?h[g]=[]:h[g]={}}n(i,"getDeepObject");var a=20,u="[]",l="[",c="]",p=".";function m(h,g,J=0,ne,le){let{nestingSyntax:re=e.defaultOptions.nestingSyntax,arrayRepeat:ce=e.defaultOptions.arrayRepeat,arrayRepeatSyntax:F=e.defaultOptions.arrayRepeatSyntax,nesting:se=e.defaultOptions.nesting,delimiter:he=e.defaultOptions.delimiter,valueSerializer:Ve=e.defaultOptions.valueSerializer,shouldSerializeObject:ve=e.defaultOptions.shouldSerializeObject}=g,we=typeof he=="number"?String.fromCharCode(he):he,Nt=le===!0&&ce,Bt=re==="dot"||re==="js"&&!le;if(J>a)return"";let Ft="",jt=!0,qe=!1;for(let Dt in h){let d=h[Dt],A;ne?(A=ne,Nt?F==="bracket"&&(A+=u):Bt?(A+=p,A+=Dt):(A+=l,A+=Dt,A+=c)):A=Dt,jt||(Ft+=we),typeof d=="object"&&d!==null&&!ve(d)?(qe=d.pop!==void 0,(se||ce&&qe)&&(Ft+=m(d,g,J+1,A,qe))):(Ft+=(0,r.encodeString)(A),Ft+="=",Ft+=Ve(d,Dt)),jt&&(jt=!1)}return Ft}n(m,"stringifyObject")}),na=q((t,e)=>{var r=12,o=0,i=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,4,4,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,6,7,7,7,7,7,7,7,7,7,7,7,7,8,7,7,10,9,9,9,11,4,4,4,4,4,4,4,4,4,4,4,0,0,0,0,0,0,0,0,0,0,0,0,12,0,0,0,0,24,36,48,60,72,84,96,0,12,12,12,0,0,0,0,0,0,0,0,0,0,0,24,0,0,0,0,0,0,0,0,0,24,24,24,0,0,0,0,0,0,0,0,0,24,24,0,0,0,0,0,0,0,0,0,0,48,48,48,0,0,0,0,0,0,0,0,0,0,48,48,0,0,0,0,0,0,0,0,0,48,0,0,0,0,0,0,0,0,0,0,127,63,63,63,0,31,15,15,15,7,7,7];function a(c){var p=c.indexOf("%");if(p===-1)return c;for(var m=c.length,h="",g=0,J=0,ne=p,le=r;p>-1&&p<m;){var re=l(c[p+1],4),ce=l(c[p+2],0),F=re|ce,se=i[F];if(le=i[256+le+se],J=J<<6|F&i[364+se],le===r)h+=c.slice(g,ne),h+=J<=65535?String.fromCharCode(J):String.fromCharCode(55232+(J>>10),56320+(J&1023)),J=0,g=p+3,p=ne=c.indexOf("%",g);else{if(le===o)return null;if(p+=3,p<m&&c.charCodeAt(p)===37)continue;return null}}return h+c.slice(g)}n(a,"decodeURIComponent");var u={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9,a:10,A:10,b:11,B:11,c:12,C:12,d:13,D:13,e:14,E:14,f:15,F:15};function l(c,p){var m=u[c];return m===void 0?255:m<<p}n(l,"hexCodeToInt"),e.exports=a}),la=q(t=>{var e=t&&t.__importDefault||function(h){return h&&h.__esModule?h:{default:h}};Object.defineProperty(t,"__esModule",{value:!0}),t.numberValueDeserializer=t.numberKeyDeserializer=void 0,t.parse=m;var r=Vn(),o=It(),i=e(na()),a=n(h=>{let g=Number(h);return Number.isNaN(g)?h:g},"numberKeyDeserializer");t.numberKeyDeserializer=a;var u=n(h=>{let g=Number(h);return Number.isNaN(g)?h:g},"numberValueDeserializer");t.numberValueDeserializer=u;var l=/\+/g,c=n(function(){},"Empty");c.prototype=Object.create(null);function p(h,g,J,ne,le){let re=h.substring(g,J);return ne&&(re=re.replace(l," ")),le&&(re=(0,i.default)(re)||re),re}n(p,"computeKeySlice");function m(h,g){let{valueDeserializer:J=o.defaultOptions.valueDeserializer,keyDeserializer:ne=o.defaultOptions.keyDeserializer,arrayRepeatSyntax:le=o.defaultOptions.arrayRepeatSyntax,nesting:re=o.defaultOptions.nesting,arrayRepeat:ce=o.defaultOptions.arrayRepeat,nestingSyntax:F=o.defaultOptions.nestingSyntax,delimiter:se=o.defaultOptions.delimiter}=g??{},he=typeof se=="string"?se.charCodeAt(0):se,Ve=F==="js",ve=new c;if(typeof h!="string")return ve;let we=h.length,Nt="",Bt=-1,Ft=-1,jt=-1,qe=ve,Dt,d="",A="",B=!1,pe=!1,de=!1,Lt=!1,qt=!1,Ut=!1,Mt=!1,Gt=0,lr=-1,zr=-1,Qr=-1;for(let Vt=0;Vt<we+1;Vt++){if(Gt=Vt!==we?h.charCodeAt(Vt):he,Gt===he){if(Mt=Ft>Bt,Mt||(Ft=Vt),jt!==Ft-1&&(A=p(h,jt+1,lr>-1?lr:Ft,de,B),d=ne(A),Dt!==void 0&&(qe=(0,r.getDeepObject)(qe,Dt,d,Ve&&qt,Ve&&Ut))),Mt||d!==""){Mt&&(Nt=h.slice(Ft+1,Vt),Lt&&(Nt=Nt.replace(l," ")),pe&&(Nt=(0,i.default)(Nt)||Nt));let Jr=J(Nt,d);if(ce){let Zr=qe[d];Zr===void 0?lr>-1?qe[d]=[Jr]:qe[d]=Jr:Zr.pop?Zr.push(Jr):qe[d]=[Zr,Jr]}else qe[d]=Jr}Nt="",Bt=Vt,Ft=Vt,B=!1,pe=!1,de=!1,Lt=!1,qt=!1,Ut=!1,lr=-1,jt=Vt,qe=ve,Dt=void 0,d=""}else Gt===93?(ce&&le==="bracket"&&Qr===91&&(lr=zr),re&&(F==="index"||Ve)&&Ft<=Bt&&(jt!==zr&&(A=p(h,jt+1,Vt,de,B),d=ne(A),Dt!==void 0&&(qe=(0,r.getDeepObject)(qe,Dt,d,void 0,Ve)),Dt=d,de=!1,B=!1),jt=Vt,Ut=!0,qt=!1)):Gt===46?re&&(F==="dot"||Ve)&&Ft<=Bt&&(jt!==zr&&(A=p(h,jt+1,Vt,de,B),d=ne(A),Dt!==void 0&&(qe=(0,r.getDeepObject)(qe,Dt,d,Ve)),Dt=d,de=!1,B=!1),qt=!0,Ut=!1,jt=Vt):Gt===91?re&&(F==="index"||Ve)&&Ft<=Bt&&(jt!==zr&&(A=p(h,jt+1,Vt,de,B),d=ne(A),Ve&&Dt!==void 0&&(qe=(0,r.getDeepObject)(qe,Dt,d,Ve)),Dt=d,de=!1,B=!1,qt=!1,Ut=!0),jt=Vt):Gt===61?Ft<=Bt?Ft=Vt:pe=!0:Gt===43?Ft>Bt?Lt=!0:de=!0:Gt===37&&(Ft>Bt?pe=!0:B=!0);zr=Vt,Qr=Gt}return ve}n(m,"parse")}),ca=q(t=>{Object.defineProperty(t,"__esModule",{value:!0}),t.stringify=r;var e=Vn();function r(o,i){if(o===null||typeof o!="object")return"";let a=i??{};return(0,e.stringifyObject)(o,a)}n(r,"stringify")}),kt=q(t=>{var e=t&&t.__createBinding||(Object.create?function(a,u,l,c){c===void 0&&(c=l);var p=Object.getOwnPropertyDescriptor(u,l);(!p||("get"in p?!u.__esModule:p.writable||p.configurable))&&(p={enumerable:!0,get:n(function(){return u[l]},"get")}),Object.defineProperty(a,c,p)}:function(a,u,l,c){c===void 0&&(c=l),a[c]=u[l]}),r=t&&t.__exportStar||function(a,u){for(var l in a)l!=="default"&&!Object.prototype.hasOwnProperty.call(u,l)&&e(u,a,l)};Object.defineProperty(t,"__esModule",{value:!0}),t.stringify=t.parse=void 0;var o=la();Object.defineProperty(t,"parse",{enumerable:!0,get:n(function(){return o.parse},"get")});var i=ca();Object.defineProperty(t,"stringify",{enumerable:!0,get:n(function(){return i.stringify},"get")}),r(It(),t)}),Kn=q((t,e)=>{e.exports={Aacute:"Á",aacute:"á",Abreve:"Ă",abreve:"ă",ac:"∾",acd:"∿",acE:"∾̳",Acirc:"Â",acirc:"â",acute:"´",Acy:"А",acy:"а",AElig:"Æ",aelig:"æ",af:"⁡",Afr:"𝔄",afr:"𝔞",Agrave:"À",agrave:"à",alefsym:"ℵ",aleph:"ℵ",Alpha:"Α",alpha:"α",Amacr:"Ā",amacr:"ā",amalg:"⨿",amp:"&",AMP:"&",andand:"⩕",And:"⩓",and:"∧",andd:"⩜",andslope:"⩘",andv:"⩚",ang:"∠",ange:"⦤",angle:"∠",angmsdaa:"⦨",angmsdab:"⦩",angmsdac:"⦪",angmsdad:"⦫",angmsdae:"⦬",angmsdaf:"⦭",angmsdag:"⦮",angmsdah:"⦯",angmsd:"∡",angrt:"∟",angrtvb:"⊾",angrtvbd:"⦝",angsph:"∢",angst:"Å",angzarr:"⍼",Aogon:"Ą",aogon:"ą",Aopf:"𝔸",aopf:"𝕒",apacir:"⩯",ap:"≈",apE:"⩰",ape:"≊",apid:"≋",apos:"'",ApplyFunction:"⁡",approx:"≈",approxeq:"≊",Aring:"Å",aring:"å",Ascr:"𝒜",ascr:"𝒶",Assign:"≔",ast:"*",asymp:"≈",asympeq:"≍",Atilde:"Ã",atilde:"ã",Auml:"Ä",auml:"ä",awconint:"∳",awint:"⨑",backcong:"≌",backepsilon:"϶",backprime:"‵",backsim:"∽",backsimeq:"⋍",Backslash:"∖",Barv:"⫧",barvee:"⊽",barwed:"⌅",Barwed:"⌆",barwedge:"⌅",bbrk:"⎵",bbrktbrk:"⎶",bcong:"≌",Bcy:"Б",bcy:"б",bdquo:"„",becaus:"∵",because:"∵",Because:"∵",bemptyv:"⦰",bepsi:"϶",bernou:"ℬ",Bernoullis:"ℬ",Beta:"Β",beta:"β",beth:"ℶ",between:"≬",Bfr:"𝔅",bfr:"𝔟",bigcap:"⋂",bigcirc:"◯",bigcup:"⋃",bigodot:"⨀",bigoplus:"⨁",bigotimes:"⨂",bigsqcup:"⨆",bigstar:"★",bigtriangledown:"▽",bigtriangleup:"△",biguplus:"⨄",bigvee:"⋁",bigwedge:"⋀",bkarow:"⤍",blacklozenge:"⧫",blacksquare:"▪",blacktriangle:"▴",blacktriangledown:"▾",blacktriangleleft:"◂",blacktriangleright:"▸",blank:"␣",blk12:"▒",blk14:"░",blk34:"▓",block:"█",bne:"=⃥",bnequiv:"≡⃥",bNot:"⫭",bnot:"⌐",Bopf:"𝔹",bopf:"𝕓",bot:"⊥",bottom:"⊥",bowtie:"⋈",boxbox:"⧉",boxdl:"┐",boxdL:"╕",boxDl:"╖",boxDL:"╗",boxdr:"┌",boxdR:"╒",boxDr:"╓",boxDR:"╔",boxh:"─",boxH:"═",boxhd:"┬",boxHd:"╤",boxhD:"╥",boxHD:"╦",boxhu:"┴",boxHu:"╧",boxhU:"╨",boxHU:"╩",boxminus:"⊟",boxplus:"⊞",boxtimes:"⊠",boxul:"┘",boxuL:"╛",boxUl:"╜",boxUL:"╝",boxur:"└",boxuR:"╘",boxUr:"╙",boxUR:"╚",boxv:"│",boxV:"║",boxvh:"┼",boxvH:"╪",boxVh:"╫",boxVH:"╬",boxvl:"┤",boxvL:"╡",boxVl:"╢",boxVL:"╣",boxvr:"├",boxvR:"╞",boxVr:"╟",boxVR:"╠",bprime:"‵",breve:"˘",Breve:"˘",brvbar:"¦",bscr:"𝒷",Bscr:"ℬ",bsemi:"⁏",bsim:"∽",bsime:"⋍",bsolb:"⧅",bsol:"\\",bsolhsub:"⟈",bull:"•",bullet:"•",bump:"≎",bumpE:"⪮",bumpe:"≏",Bumpeq:"≎",bumpeq:"≏",Cacute:"Ć",cacute:"ć",capand:"⩄",capbrcup:"⩉",capcap:"⩋",cap:"∩",Cap:"⋒",capcup:"⩇",capdot:"⩀",CapitalDifferentialD:"ⅅ",caps:"∩︀",caret:"⁁",caron:"ˇ",Cayleys:"ℭ",ccaps:"⩍",Ccaron:"Č",ccaron:"č",Ccedil:"Ç",ccedil:"ç",Ccirc:"Ĉ",ccirc:"ĉ",Cconint:"∰",ccups:"⩌",ccupssm:"⩐",Cdot:"Ċ",cdot:"ċ",cedil:"¸",Cedilla:"¸",cemptyv:"⦲",cent:"¢",centerdot:"·",CenterDot:"·",cfr:"𝔠",Cfr:"ℭ",CHcy:"Ч",chcy:"ч",check:"✓",checkmark:"✓",Chi:"Χ",chi:"χ",circ:"ˆ",circeq:"≗",circlearrowleft:"↺",circlearrowright:"↻",circledast:"⊛",circledcirc:"⊚",circleddash:"⊝",CircleDot:"⊙",circledR:"®",circledS:"Ⓢ",CircleMinus:"⊖",CirclePlus:"⊕",CircleTimes:"⊗",cir:"○",cirE:"⧃",cire:"≗",cirfnint:"⨐",cirmid:"⫯",cirscir:"⧂",ClockwiseContourIntegral:"∲",CloseCurlyDoubleQuote:"”",CloseCurlyQuote:"’",clubs:"♣",clubsuit:"♣",colon:":",Colon:"∷",Colone:"⩴",colone:"≔",coloneq:"≔",comma:",",commat:"@",comp:"∁",compfn:"∘",complement:"∁",complexes:"ℂ",cong:"≅",congdot:"⩭",Congruent:"≡",conint:"∮",Conint:"∯",ContourIntegral:"∮",copf:"𝕔",Copf:"ℂ",coprod:"∐",Coproduct:"∐",copy:"©",COPY:"©",copysr:"℗",CounterClockwiseContourIntegral:"∳",crarr:"↵",cross:"✗",Cross:"⨯",Cscr:"𝒞",cscr:"𝒸",csub:"⫏",csube:"⫑",csup:"⫐",csupe:"⫒",ctdot:"⋯",cudarrl:"⤸",cudarrr:"⤵",cuepr:"⋞",cuesc:"⋟",cularr:"↶",cularrp:"⤽",cupbrcap:"⩈",cupcap:"⩆",CupCap:"≍",cup:"∪",Cup:"⋓",cupcup:"⩊",cupdot:"⊍",cupor:"⩅",cups:"∪︀",curarr:"↷",curarrm:"⤼",curlyeqprec:"⋞",curlyeqsucc:"⋟",curlyvee:"⋎",curlywedge:"⋏",curren:"¤",curvearrowleft:"↶",curvearrowright:"↷",cuvee:"⋎",cuwed:"⋏",cwconint:"∲",cwint:"∱",cylcty:"⌭",dagger:"†",Dagger:"‡",daleth:"ℸ",darr:"↓",Darr:"↡",dArr:"⇓",dash:"‐",Dashv:"⫤",dashv:"⊣",dbkarow:"⤏",dblac:"˝",Dcaron:"Ď",dcaron:"ď",Dcy:"Д",dcy:"д",ddagger:"‡",ddarr:"⇊",DD:"ⅅ",dd:"ⅆ",DDotrahd:"⤑",ddotseq:"⩷",deg:"°",Del:"∇",Delta:"Δ",delta:"δ",demptyv:"⦱",dfisht:"⥿",Dfr:"𝔇",dfr:"𝔡",dHar:"⥥",dharl:"⇃",dharr:"⇂",DiacriticalAcute:"´",DiacriticalDot:"˙",DiacriticalDoubleAcute:"˝",DiacriticalGrave:"`",DiacriticalTilde:"˜",diam:"⋄",diamond:"⋄",Diamond:"⋄",diamondsuit:"♦",diams:"♦",die:"¨",DifferentialD:"ⅆ",digamma:"ϝ",disin:"⋲",div:"÷",divide:"÷",divideontimes:"⋇",divonx:"⋇",DJcy:"Ђ",djcy:"ђ",dlcorn:"⌞",dlcrop:"⌍",dollar:"$",Dopf:"𝔻",dopf:"𝕕",Dot:"¨",dot:"˙",DotDot:"⃜",doteq:"≐",doteqdot:"≑",DotEqual:"≐",dotminus:"∸",dotplus:"∔",dotsquare:"⊡",doublebarwedge:"⌆",DoubleContourIntegral:"∯",DoubleDot:"¨",DoubleDownArrow:"⇓",DoubleLeftArrow:"⇐",DoubleLeftRightArrow:"⇔",DoubleLeftTee:"⫤",DoubleLongLeftArrow:"⟸",DoubleLongLeftRightArrow:"⟺",DoubleLongRightArrow:"⟹",DoubleRightArrow:"⇒",DoubleRightTee:"⊨",DoubleUpArrow:"⇑",DoubleUpDownArrow:"⇕",DoubleVerticalBar:"∥",DownArrowBar:"⤓",downarrow:"↓",DownArrow:"↓",Downarrow:"⇓",DownArrowUpArrow:"⇵",DownBreve:"̑",downdownarrows:"⇊",downharpoonleft:"⇃",downharpoonright:"⇂",DownLeftRightVector:"⥐",DownLeftTeeVector:"⥞",DownLeftVectorBar:"⥖",DownLeftVector:"↽",DownRightTeeVector:"⥟",DownRightVectorBar:"⥗",DownRightVector:"⇁",DownTeeArrow:"↧",DownTee:"⊤",drbkarow:"⤐",drcorn:"⌟",drcrop:"⌌",Dscr:"𝒟",dscr:"𝒹",DScy:"Ѕ",dscy:"ѕ",dsol:"⧶",Dstrok:"Đ",dstrok:"đ",dtdot:"⋱",dtri:"▿",dtrif:"▾",duarr:"⇵",duhar:"⥯",dwangle:"⦦",DZcy:"Џ",dzcy:"џ",dzigrarr:"⟿",Eacute:"É",eacute:"é",easter:"⩮",Ecaron:"Ě",ecaron:"ě",Ecirc:"Ê",ecirc:"ê",ecir:"≖",ecolon:"≕",Ecy:"Э",ecy:"э",eDDot:"⩷",Edot:"Ė",edot:"ė",eDot:"≑",ee:"ⅇ",efDot:"≒",Efr:"𝔈",efr:"𝔢",eg:"⪚",Egrave:"È",egrave:"è",egs:"⪖",egsdot:"⪘",el:"⪙",Element:"∈",elinters:"⏧",ell:"ℓ",els:"⪕",elsdot:"⪗",Emacr:"Ē",emacr:"ē",empty:"∅",emptyset:"∅",EmptySmallSquare:"◻",emptyv:"∅",EmptyVerySmallSquare:"▫",emsp13:" ",emsp14:" ",emsp:" ",ENG:"Ŋ",eng:"ŋ",ensp:" ",Eogon:"Ę",eogon:"ę",Eopf:"𝔼",eopf:"𝕖",epar:"⋕",eparsl:"⧣",eplus:"⩱",epsi:"ε",Epsilon:"Ε",epsilon:"ε",epsiv:"ϵ",eqcirc:"≖",eqcolon:"≕",eqsim:"≂",eqslantgtr:"⪖",eqslantless:"⪕",Equal:"⩵",equals:"=",EqualTilde:"≂",equest:"≟",Equilibrium:"⇌",equiv:"≡",equivDD:"⩸",eqvparsl:"⧥",erarr:"⥱",erDot:"≓",escr:"ℯ",Escr:"ℰ",esdot:"≐",Esim:"⩳",esim:"≂",Eta:"Η",eta:"η",ETH:"Ð",eth:"ð",Euml:"Ë",euml:"ë",euro:"€",excl:"!",exist:"∃",Exists:"∃",expectation:"ℰ",exponentiale:"ⅇ",ExponentialE:"ⅇ",fallingdotseq:"≒",Fcy:"Ф",fcy:"ф",female:"♀",ffilig:"ffi",fflig:"ff",ffllig:"ffl",Ffr:"𝔉",ffr:"𝔣",filig:"fi",FilledSmallSquare:"◼",FilledVerySmallSquare:"▪",fjlig:"fj",flat:"♭",fllig:"fl",fltns:"▱",fnof:"ƒ",Fopf:"𝔽",fopf:"𝕗",forall:"∀",ForAll:"∀",fork:"⋔",forkv:"⫙",Fouriertrf:"ℱ",fpartint:"⨍",frac12:"½",frac13:"⅓",frac14:"¼",frac15:"⅕",frac16:"⅙",frac18:"⅛",frac23:"⅔",frac25:"⅖",frac34:"¾",frac35:"⅗",frac38:"⅜",frac45:"⅘",frac56:"⅚",frac58:"⅝",frac78:"⅞",frasl:"⁄",frown:"⌢",fscr:"𝒻",Fscr:"ℱ",gacute:"ǵ",Gamma:"Γ",gamma:"γ",Gammad:"Ϝ",gammad:"ϝ",gap:"⪆",Gbreve:"Ğ",gbreve:"ğ",Gcedil:"Ģ",Gcirc:"Ĝ",gcirc:"ĝ",Gcy:"Г",gcy:"г",Gdot:"Ġ",gdot:"ġ",ge:"≥",gE:"≧",gEl:"⪌",gel:"⋛",geq:"≥",geqq:"≧",geqslant:"⩾",gescc:"⪩",ges:"⩾",gesdot:"⪀",gesdoto:"⪂",gesdotol:"⪄",gesl:"⋛︀",gesles:"⪔",Gfr:"𝔊",gfr:"𝔤",gg:"≫",Gg:"⋙",ggg:"⋙",gimel:"ℷ",GJcy:"Ѓ",gjcy:"ѓ",gla:"⪥",gl:"≷",glE:"⪒",glj:"⪤",gnap:"⪊",gnapprox:"⪊",gne:"⪈",gnE:"≩",gneq:"⪈",gneqq:"≩",gnsim:"⋧",Gopf:"𝔾",gopf:"𝕘",grave:"`",GreaterEqual:"≥",GreaterEqualLess:"⋛",GreaterFullEqual:"≧",GreaterGreater:"⪢",GreaterLess:"≷",GreaterSlantEqual:"⩾",GreaterTilde:"≳",Gscr:"𝒢",gscr:"ℊ",gsim:"≳",gsime:"⪎",gsiml:"⪐",gtcc:"⪧",gtcir:"⩺",gt:">",GT:">",Gt:"≫",gtdot:"⋗",gtlPar:"⦕",gtquest:"⩼",gtrapprox:"⪆",gtrarr:"⥸",gtrdot:"⋗",gtreqless:"⋛",gtreqqless:"⪌",gtrless:"≷",gtrsim:"≳",gvertneqq:"≩︀",gvnE:"≩︀",Hacek:"ˇ",hairsp:" ",half:"½",hamilt:"ℋ",HARDcy:"Ъ",hardcy:"ъ",harrcir:"⥈",harr:"↔",hArr:"⇔",harrw:"↭",Hat:"^",hbar:"ℏ",Hcirc:"Ĥ",hcirc:"ĥ",hearts:"♥",heartsuit:"♥",hellip:"…",hercon:"⊹",hfr:"𝔥",Hfr:"ℌ",HilbertSpace:"ℋ",hksearow:"⤥",hkswarow:"⤦",hoarr:"⇿",homtht:"∻",hookleftarrow:"↩",hookrightarrow:"↪",hopf:"𝕙",Hopf:"ℍ",horbar:"―",HorizontalLine:"─",hscr:"𝒽",Hscr:"ℋ",hslash:"ℏ",Hstrok:"Ħ",hstrok:"ħ",HumpDownHump:"≎",HumpEqual:"≏",hybull:"⁃",hyphen:"‐",Iacute:"Í",iacute:"í",ic:"⁣",Icirc:"Î",icirc:"î",Icy:"И",icy:"и",Idot:"İ",IEcy:"Е",iecy:"е",iexcl:"¡",iff:"⇔",ifr:"𝔦",Ifr:"ℑ",Igrave:"Ì",igrave:"ì",ii:"ⅈ",iiiint:"⨌",iiint:"∭",iinfin:"⧜",iiota:"℩",IJlig:"IJ",ijlig:"ij",Imacr:"Ī",imacr:"ī",image:"ℑ",ImaginaryI:"ⅈ",imagline:"ℐ",imagpart:"ℑ",imath:"ı",Im:"ℑ",imof:"⊷",imped:"Ƶ",Implies:"⇒",incare:"℅",in:"∈",infin:"∞",infintie:"⧝",inodot:"ı",intcal:"⊺",int:"∫",Int:"∬",integers:"ℤ",Integral:"∫",intercal:"⊺",Intersection:"⋂",intlarhk:"⨗",intprod:"⨼",InvisibleComma:"⁣",InvisibleTimes:"⁢",IOcy:"Ё",iocy:"ё",Iogon:"Į",iogon:"į",Iopf:"𝕀",iopf:"𝕚",Iota:"Ι",iota:"ι",iprod:"⨼",iquest:"¿",iscr:"𝒾",Iscr:"ℐ",isin:"∈",isindot:"⋵",isinE:"⋹",isins:"⋴",isinsv:"⋳",isinv:"∈",it:"⁢",Itilde:"Ĩ",itilde:"ĩ",Iukcy:"І",iukcy:"і",Iuml:"Ï",iuml:"ï",Jcirc:"Ĵ",jcirc:"ĵ",Jcy:"Й",jcy:"й",Jfr:"𝔍",jfr:"𝔧",jmath:"ȷ",Jopf:"𝕁",jopf:"𝕛",Jscr:"𝒥",jscr:"𝒿",Jsercy:"Ј",jsercy:"ј",Jukcy:"Є",jukcy:"є",Kappa:"Κ",kappa:"κ",kappav:"ϰ",Kcedil:"Ķ",kcedil:"ķ",Kcy:"К",kcy:"к",Kfr:"𝔎",kfr:"𝔨",kgreen:"ĸ",KHcy:"Х",khcy:"х",KJcy:"Ќ",kjcy:"ќ",Kopf:"𝕂",kopf:"𝕜",Kscr:"𝒦",kscr:"𝓀",lAarr:"⇚",Lacute:"Ĺ",lacute:"ĺ",laemptyv:"⦴",lagran:"ℒ",Lambda:"Λ",lambda:"λ",lang:"⟨",Lang:"⟪",langd:"⦑",langle:"⟨",lap:"⪅",Laplacetrf:"ℒ",laquo:"«",larrb:"⇤",larrbfs:"⤟",larr:"←",Larr:"↞",lArr:"⇐",larrfs:"⤝",larrhk:"↩",larrlp:"↫",larrpl:"⤹",larrsim:"⥳",larrtl:"↢",latail:"⤙",lAtail:"⤛",lat:"⪫",late:"⪭",lates:"⪭︀",lbarr:"⤌",lBarr:"⤎",lbbrk:"❲",lbrace:"{",lbrack:"[",lbrke:"⦋",lbrksld:"⦏",lbrkslu:"⦍",Lcaron:"Ľ",lcaron:"ľ",Lcedil:"Ļ",lcedil:"ļ",lceil:"⌈",lcub:"{",Lcy:"Л",lcy:"л",ldca:"⤶",ldquo:"“",ldquor:"„",ldrdhar:"⥧",ldrushar:"⥋",ldsh:"↲",le:"≤",lE:"≦",LeftAngleBracket:"⟨",LeftArrowBar:"⇤",leftarrow:"←",LeftArrow:"←",Leftarrow:"⇐",LeftArrowRightArrow:"⇆",leftarrowtail:"↢",LeftCeiling:"⌈",LeftDoubleBracket:"⟦",LeftDownTeeVector:"⥡",LeftDownVectorBar:"⥙",LeftDownVector:"⇃",LeftFloor:"⌊",leftharpoondown:"↽",leftharpoonup:"↼",leftleftarrows:"⇇",leftrightarrow:"↔",LeftRightArrow:"↔",Leftrightarrow:"⇔",leftrightarrows:"⇆",leftrightharpoons:"⇋",leftrightsquigarrow:"↭",LeftRightVector:"⥎",LeftTeeArrow:"↤",LeftTee:"⊣",LeftTeeVector:"⥚",leftthreetimes:"⋋",LeftTriangleBar:"⧏",LeftTriangle:"⊲",LeftTriangleEqual:"⊴",LeftUpDownVector:"⥑",LeftUpTeeVector:"⥠",LeftUpVectorBar:"⥘",LeftUpVector:"↿",LeftVectorBar:"⥒",LeftVector:"↼",lEg:"⪋",leg:"⋚",leq:"≤",leqq:"≦",leqslant:"⩽",lescc:"⪨",les:"⩽",lesdot:"⩿",lesdoto:"⪁",lesdotor:"⪃",lesg:"⋚︀",lesges:"⪓",lessapprox:"⪅",lessdot:"⋖",lesseqgtr:"⋚",lesseqqgtr:"⪋",LessEqualGreater:"⋚",LessFullEqual:"≦",LessGreater:"≶",lessgtr:"≶",LessLess:"⪡",lesssim:"≲",LessSlantEqual:"⩽",LessTilde:"≲",lfisht:"⥼",lfloor:"⌊",Lfr:"𝔏",lfr:"𝔩",lg:"≶",lgE:"⪑",lHar:"⥢",lhard:"↽",lharu:"↼",lharul:"⥪",lhblk:"▄",LJcy:"Љ",ljcy:"љ",llarr:"⇇",ll:"≪",Ll:"⋘",llcorner:"⌞",Lleftarrow:"⇚",llhard:"⥫",lltri:"◺",Lmidot:"Ŀ",lmidot:"ŀ",lmoustache:"⎰",lmoust:"⎰",lnap:"⪉",lnapprox:"⪉",lne:"⪇",lnE:"≨",lneq:"⪇",lneqq:"≨",lnsim:"⋦",loang:"⟬",loarr:"⇽",lobrk:"⟦",longleftarrow:"⟵",LongLeftArrow:"⟵",Longleftarrow:"⟸",longleftrightarrow:"⟷",LongLeftRightArrow:"⟷",Longleftrightarrow:"⟺",longmapsto:"⟼",longrightarrow:"⟶",LongRightArrow:"⟶",Longrightarrow:"⟹",looparrowleft:"↫",looparrowright:"↬",lopar:"⦅",Lopf:"𝕃",lopf:"𝕝",loplus:"⨭",lotimes:"⨴",lowast:"∗",lowbar:"_",LowerLeftArrow:"↙",LowerRightArrow:"↘",loz:"◊",lozenge:"◊",lozf:"⧫",lpar:"(",lparlt:"⦓",lrarr:"⇆",lrcorner:"⌟",lrhar:"⇋",lrhard:"⥭",lrm:"‎",lrtri:"⊿",lsaquo:"‹",lscr:"𝓁",Lscr:"ℒ",lsh:"↰",Lsh:"↰",lsim:"≲",lsime:"⪍",lsimg:"⪏",lsqb:"[",lsquo:"‘",lsquor:"‚",Lstrok:"Ł",lstrok:"ł",ltcc:"⪦",ltcir:"⩹",lt:"<",LT:"<",Lt:"≪",ltdot:"⋖",lthree:"⋋",ltimes:"⋉",ltlarr:"⥶",ltquest:"⩻",ltri:"◃",ltrie:"⊴",ltrif:"◂",ltrPar:"⦖",lurdshar:"⥊",luruhar:"⥦",lvertneqq:"≨︀",lvnE:"≨︀",macr:"¯",male:"♂",malt:"✠",maltese:"✠",Map:"⤅",map:"↦",mapsto:"↦",mapstodown:"↧",mapstoleft:"↤",mapstoup:"↥",marker:"▮",mcomma:"⨩",Mcy:"М",mcy:"м",mdash:"—",mDDot:"∺",measuredangle:"∡",MediumSpace:" ",Mellintrf:"ℳ",Mfr:"𝔐",mfr:"𝔪",mho:"℧",micro:"µ",midast:"*",midcir:"⫰",mid:"∣",middot:"·",minusb:"⊟",minus:"−",minusd:"∸",minusdu:"⨪",MinusPlus:"∓",mlcp:"⫛",mldr:"…",mnplus:"∓",models:"⊧",Mopf:"𝕄",mopf:"𝕞",mp:"∓",mscr:"𝓂",Mscr:"ℳ",mstpos:"∾",Mu:"Μ",mu:"μ",multimap:"⊸",mumap:"⊸",nabla:"∇",Nacute:"Ń",nacute:"ń",nang:"∠⃒",nap:"≉",napE:"⩰̸",napid:"≋̸",napos:"ʼn",napprox:"≉",natural:"♮",naturals:"ℕ",natur:"♮",nbsp:" ",nbump:"≎̸",nbumpe:"≏̸",ncap:"⩃",Ncaron:"Ň",ncaron:"ň",Ncedil:"Ņ",ncedil:"ņ",ncong:"≇",ncongdot:"⩭̸",ncup:"⩂",Ncy:"Н",ncy:"н",ndash:"–",nearhk:"⤤",nearr:"↗",neArr:"⇗",nearrow:"↗",ne:"≠",nedot:"≐̸",NegativeMediumSpace:"​",NegativeThickSpace:"​",NegativeThinSpace:"​",NegativeVeryThinSpace:"​",nequiv:"≢",nesear:"⤨",nesim:"≂̸",NestedGreaterGreater:"≫",NestedLessLess:"≪",NewLine:` -`,nexist:"∄",nexists:"∄",Nfr:"𝔑",nfr:"𝔫",ngE:"≧̸",nge:"≱",ngeq:"≱",ngeqq:"≧̸",ngeqslant:"⩾̸",nges:"⩾̸",nGg:"⋙̸",ngsim:"≵",nGt:"≫⃒",ngt:"≯",ngtr:"≯",nGtv:"≫̸",nharr:"↮",nhArr:"⇎",nhpar:"⫲",ni:"∋",nis:"⋼",nisd:"⋺",niv:"∋",NJcy:"Њ",njcy:"њ",nlarr:"↚",nlArr:"⇍",nldr:"‥",nlE:"≦̸",nle:"≰",nleftarrow:"↚",nLeftarrow:"⇍",nleftrightarrow:"↮",nLeftrightarrow:"⇎",nleq:"≰",nleqq:"≦̸",nleqslant:"⩽̸",nles:"⩽̸",nless:"≮",nLl:"⋘̸",nlsim:"≴",nLt:"≪⃒",nlt:"≮",nltri:"⋪",nltrie:"⋬",nLtv:"≪̸",nmid:"∤",NoBreak:"⁠",NonBreakingSpace:" ",nopf:"𝕟",Nopf:"ℕ",Not:"⫬",not:"¬",NotCongruent:"≢",NotCupCap:"≭",NotDoubleVerticalBar:"∦",NotElement:"∉",NotEqual:"≠",NotEqualTilde:"≂̸",NotExists:"∄",NotGreater:"≯",NotGreaterEqual:"≱",NotGreaterFullEqual:"≧̸",NotGreaterGreater:"≫̸",NotGreaterLess:"≹",NotGreaterSlantEqual:"⩾̸",NotGreaterTilde:"≵",NotHumpDownHump:"≎̸",NotHumpEqual:"≏̸",notin:"∉",notindot:"⋵̸",notinE:"⋹̸",notinva:"∉",notinvb:"⋷",notinvc:"⋶",NotLeftTriangleBar:"⧏̸",NotLeftTriangle:"⋪",NotLeftTriangleEqual:"⋬",NotLess:"≮",NotLessEqual:"≰",NotLessGreater:"≸",NotLessLess:"≪̸",NotLessSlantEqual:"⩽̸",NotLessTilde:"≴",NotNestedGreaterGreater:"⪢̸",NotNestedLessLess:"⪡̸",notni:"∌",notniva:"∌",notnivb:"⋾",notnivc:"⋽",NotPrecedes:"⊀",NotPrecedesEqual:"⪯̸",NotPrecedesSlantEqual:"⋠",NotReverseElement:"∌",NotRightTriangleBar:"⧐̸",NotRightTriangle:"⋫",NotRightTriangleEqual:"⋭",NotSquareSubset:"⊏̸",NotSquareSubsetEqual:"⋢",NotSquareSuperset:"⊐̸",NotSquareSupersetEqual:"⋣",NotSubset:"⊂⃒",NotSubsetEqual:"⊈",NotSucceeds:"⊁",NotSucceedsEqual:"⪰̸",NotSucceedsSlantEqual:"⋡",NotSucceedsTilde:"≿̸",NotSuperset:"⊃⃒",NotSupersetEqual:"⊉",NotTilde:"≁",NotTildeEqual:"≄",NotTildeFullEqual:"≇",NotTildeTilde:"≉",NotVerticalBar:"∤",nparallel:"∦",npar:"∦",nparsl:"⫽⃥",npart:"∂̸",npolint:"⨔",npr:"⊀",nprcue:"⋠",nprec:"⊀",npreceq:"⪯̸",npre:"⪯̸",nrarrc:"⤳̸",nrarr:"↛",nrArr:"⇏",nrarrw:"↝̸",nrightarrow:"↛",nRightarrow:"⇏",nrtri:"⋫",nrtrie:"⋭",nsc:"⊁",nsccue:"⋡",nsce:"⪰̸",Nscr:"𝒩",nscr:"𝓃",nshortmid:"∤",nshortparallel:"∦",nsim:"≁",nsime:"≄",nsimeq:"≄",nsmid:"∤",nspar:"∦",nsqsube:"⋢",nsqsupe:"⋣",nsub:"⊄",nsubE:"⫅̸",nsube:"⊈",nsubset:"⊂⃒",nsubseteq:"⊈",nsubseteqq:"⫅̸",nsucc:"⊁",nsucceq:"⪰̸",nsup:"⊅",nsupE:"⫆̸",nsupe:"⊉",nsupset:"⊃⃒",nsupseteq:"⊉",nsupseteqq:"⫆̸",ntgl:"≹",Ntilde:"Ñ",ntilde:"ñ",ntlg:"≸",ntriangleleft:"⋪",ntrianglelefteq:"⋬",ntriangleright:"⋫",ntrianglerighteq:"⋭",Nu:"Ν",nu:"ν",num:"#",numero:"№",numsp:" ",nvap:"≍⃒",nvdash:"⊬",nvDash:"⊭",nVdash:"⊮",nVDash:"⊯",nvge:"≥⃒",nvgt:">⃒",nvHarr:"⤄",nvinfin:"⧞",nvlArr:"⤂",nvle:"≤⃒",nvlt:"<⃒",nvltrie:"⊴⃒",nvrArr:"⤃",nvrtrie:"⊵⃒",nvsim:"∼⃒",nwarhk:"⤣",nwarr:"↖",nwArr:"⇖",nwarrow:"↖",nwnear:"⤧",Oacute:"Ó",oacute:"ó",oast:"⊛",Ocirc:"Ô",ocirc:"ô",ocir:"⊚",Ocy:"О",ocy:"о",odash:"⊝",Odblac:"Ő",odblac:"ő",odiv:"⨸",odot:"⊙",odsold:"⦼",OElig:"Œ",oelig:"œ",ofcir:"⦿",Ofr:"𝔒",ofr:"𝔬",ogon:"˛",Ograve:"Ò",ograve:"ò",ogt:"⧁",ohbar:"⦵",ohm:"Ω",oint:"∮",olarr:"↺",olcir:"⦾",olcross:"⦻",oline:"‾",olt:"⧀",Omacr:"Ō",omacr:"ō",Omega:"Ω",omega:"ω",Omicron:"Ο",omicron:"ο",omid:"⦶",ominus:"⊖",Oopf:"𝕆",oopf:"𝕠",opar:"⦷",OpenCurlyDoubleQuote:"“",OpenCurlyQuote:"‘",operp:"⦹",oplus:"⊕",orarr:"↻",Or:"⩔",or:"∨",ord:"⩝",order:"ℴ",orderof:"ℴ",ordf:"ª",ordm:"º",origof:"⊶",oror:"⩖",orslope:"⩗",orv:"⩛",oS:"Ⓢ",Oscr:"𝒪",oscr:"ℴ",Oslash:"Ø",oslash:"ø",osol:"⊘",Otilde:"Õ",otilde:"õ",otimesas:"⨶",Otimes:"⨷",otimes:"⊗",Ouml:"Ö",ouml:"ö",ovbar:"⌽",OverBar:"‾",OverBrace:"⏞",OverBracket:"⎴",OverParenthesis:"⏜",para:"¶",parallel:"∥",par:"∥",parsim:"⫳",parsl:"⫽",part:"∂",PartialD:"∂",Pcy:"П",pcy:"п",percnt:"%",period:".",permil:"‰",perp:"⊥",pertenk:"‱",Pfr:"𝔓",pfr:"𝔭",Phi:"Φ",phi:"φ",phiv:"ϕ",phmmat:"ℳ",phone:"☎",Pi:"Π",pi:"π",pitchfork:"⋔",piv:"ϖ",planck:"ℏ",planckh:"ℎ",plankv:"ℏ",plusacir:"⨣",plusb:"⊞",pluscir:"⨢",plus:"+",plusdo:"∔",plusdu:"⨥",pluse:"⩲",PlusMinus:"±",plusmn:"±",plussim:"⨦",plustwo:"⨧",pm:"±",Poincareplane:"ℌ",pointint:"⨕",popf:"𝕡",Popf:"ℙ",pound:"£",prap:"⪷",Pr:"⪻",pr:"≺",prcue:"≼",precapprox:"⪷",prec:"≺",preccurlyeq:"≼",Precedes:"≺",PrecedesEqual:"⪯",PrecedesSlantEqual:"≼",PrecedesTilde:"≾",preceq:"⪯",precnapprox:"⪹",precneqq:"⪵",precnsim:"⋨",pre:"⪯",prE:"⪳",precsim:"≾",prime:"′",Prime:"″",primes:"ℙ",prnap:"⪹",prnE:"⪵",prnsim:"⋨",prod:"∏",Product:"∏",profalar:"⌮",profline:"⌒",profsurf:"⌓",prop:"∝",Proportional:"∝",Proportion:"∷",propto:"∝",prsim:"≾",prurel:"⊰",Pscr:"𝒫",pscr:"𝓅",Psi:"Ψ",psi:"ψ",puncsp:" ",Qfr:"𝔔",qfr:"𝔮",qint:"⨌",qopf:"𝕢",Qopf:"ℚ",qprime:"⁗",Qscr:"𝒬",qscr:"𝓆",quaternions:"ℍ",quatint:"⨖",quest:"?",questeq:"≟",quot:'"',QUOT:'"',rAarr:"⇛",race:"∽̱",Racute:"Ŕ",racute:"ŕ",radic:"√",raemptyv:"⦳",rang:"⟩",Rang:"⟫",rangd:"⦒",range:"⦥",rangle:"⟩",raquo:"»",rarrap:"⥵",rarrb:"⇥",rarrbfs:"⤠",rarrc:"⤳",rarr:"→",Rarr:"↠",rArr:"⇒",rarrfs:"⤞",rarrhk:"↪",rarrlp:"↬",rarrpl:"⥅",rarrsim:"⥴",Rarrtl:"⤖",rarrtl:"↣",rarrw:"↝",ratail:"⤚",rAtail:"⤜",ratio:"∶",rationals:"ℚ",rbarr:"⤍",rBarr:"⤏",RBarr:"⤐",rbbrk:"❳",rbrace:"}",rbrack:"]",rbrke:"⦌",rbrksld:"⦎",rbrkslu:"⦐",Rcaron:"Ř",rcaron:"ř",Rcedil:"Ŗ",rcedil:"ŗ",rceil:"⌉",rcub:"}",Rcy:"Р",rcy:"р",rdca:"⤷",rdldhar:"⥩",rdquo:"”",rdquor:"”",rdsh:"↳",real:"ℜ",realine:"ℛ",realpart:"ℜ",reals:"ℝ",Re:"ℜ",rect:"▭",reg:"®",REG:"®",ReverseElement:"∋",ReverseEquilibrium:"⇋",ReverseUpEquilibrium:"⥯",rfisht:"⥽",rfloor:"⌋",rfr:"𝔯",Rfr:"ℜ",rHar:"⥤",rhard:"⇁",rharu:"⇀",rharul:"⥬",Rho:"Ρ",rho:"ρ",rhov:"ϱ",RightAngleBracket:"⟩",RightArrowBar:"⇥",rightarrow:"→",RightArrow:"→",Rightarrow:"⇒",RightArrowLeftArrow:"⇄",rightarrowtail:"↣",RightCeiling:"⌉",RightDoubleBracket:"⟧",RightDownTeeVector:"⥝",RightDownVectorBar:"⥕",RightDownVector:"⇂",RightFloor:"⌋",rightharpoondown:"⇁",rightharpoonup:"⇀",rightleftarrows:"⇄",rightleftharpoons:"⇌",rightrightarrows:"⇉",rightsquigarrow:"↝",RightTeeArrow:"↦",RightTee:"⊢",RightTeeVector:"⥛",rightthreetimes:"⋌",RightTriangleBar:"⧐",RightTriangle:"⊳",RightTriangleEqual:"⊵",RightUpDownVector:"⥏",RightUpTeeVector:"⥜",RightUpVectorBar:"⥔",RightUpVector:"↾",RightVectorBar:"⥓",RightVector:"⇀",ring:"˚",risingdotseq:"≓",rlarr:"⇄",rlhar:"⇌",rlm:"‏",rmoustache:"⎱",rmoust:"⎱",rnmid:"⫮",roang:"⟭",roarr:"⇾",robrk:"⟧",ropar:"⦆",ropf:"𝕣",Ropf:"ℝ",roplus:"⨮",rotimes:"⨵",RoundImplies:"⥰",rpar:")",rpargt:"⦔",rppolint:"⨒",rrarr:"⇉",Rrightarrow:"⇛",rsaquo:"›",rscr:"𝓇",Rscr:"ℛ",rsh:"↱",Rsh:"↱",rsqb:"]",rsquo:"’",rsquor:"’",rthree:"⋌",rtimes:"⋊",rtri:"▹",rtrie:"⊵",rtrif:"▸",rtriltri:"⧎",RuleDelayed:"⧴",ruluhar:"⥨",rx:"℞",Sacute:"Ś",sacute:"ś",sbquo:"‚",scap:"⪸",Scaron:"Š",scaron:"š",Sc:"⪼",sc:"≻",sccue:"≽",sce:"⪰",scE:"⪴",Scedil:"Ş",scedil:"ş",Scirc:"Ŝ",scirc:"ŝ",scnap:"⪺",scnE:"⪶",scnsim:"⋩",scpolint:"⨓",scsim:"≿",Scy:"С",scy:"с",sdotb:"⊡",sdot:"⋅",sdote:"⩦",searhk:"⤥",searr:"↘",seArr:"⇘",searrow:"↘",sect:"§",semi:";",seswar:"⤩",setminus:"∖",setmn:"∖",sext:"✶",Sfr:"𝔖",sfr:"𝔰",sfrown:"⌢",sharp:"♯",SHCHcy:"Щ",shchcy:"щ",SHcy:"Ш",shcy:"ш",ShortDownArrow:"↓",ShortLeftArrow:"←",shortmid:"∣",shortparallel:"∥",ShortRightArrow:"→",ShortUpArrow:"↑",shy:"­",Sigma:"Σ",sigma:"σ",sigmaf:"ς",sigmav:"ς",sim:"∼",simdot:"⩪",sime:"≃",simeq:"≃",simg:"⪞",simgE:"⪠",siml:"⪝",simlE:"⪟",simne:"≆",simplus:"⨤",simrarr:"⥲",slarr:"←",SmallCircle:"∘",smallsetminus:"∖",smashp:"⨳",smeparsl:"⧤",smid:"∣",smile:"⌣",smt:"⪪",smte:"⪬",smtes:"⪬︀",SOFTcy:"Ь",softcy:"ь",solbar:"⌿",solb:"⧄",sol:"/",Sopf:"𝕊",sopf:"𝕤",spades:"♠",spadesuit:"♠",spar:"∥",sqcap:"⊓",sqcaps:"⊓︀",sqcup:"⊔",sqcups:"⊔︀",Sqrt:"√",sqsub:"⊏",sqsube:"⊑",sqsubset:"⊏",sqsubseteq:"⊑",sqsup:"⊐",sqsupe:"⊒",sqsupset:"⊐",sqsupseteq:"⊒",square:"□",Square:"□",SquareIntersection:"⊓",SquareSubset:"⊏",SquareSubsetEqual:"⊑",SquareSuperset:"⊐",SquareSupersetEqual:"⊒",SquareUnion:"⊔",squarf:"▪",squ:"□",squf:"▪",srarr:"→",Sscr:"𝒮",sscr:"𝓈",ssetmn:"∖",ssmile:"⌣",sstarf:"⋆",Star:"⋆",star:"☆",starf:"★",straightepsilon:"ϵ",straightphi:"ϕ",strns:"¯",sub:"⊂",Sub:"⋐",subdot:"⪽",subE:"⫅",sube:"⊆",subedot:"⫃",submult:"⫁",subnE:"⫋",subne:"⊊",subplus:"⪿",subrarr:"⥹",subset:"⊂",Subset:"⋐",subseteq:"⊆",subseteqq:"⫅",SubsetEqual:"⊆",subsetneq:"⊊",subsetneqq:"⫋",subsim:"⫇",subsub:"⫕",subsup:"⫓",succapprox:"⪸",succ:"≻",succcurlyeq:"≽",Succeeds:"≻",SucceedsEqual:"⪰",SucceedsSlantEqual:"≽",SucceedsTilde:"≿",succeq:"⪰",succnapprox:"⪺",succneqq:"⪶",succnsim:"⋩",succsim:"≿",SuchThat:"∋",sum:"∑",Sum:"∑",sung:"♪",sup1:"¹",sup2:"²",sup3:"³",sup:"⊃",Sup:"⋑",supdot:"⪾",supdsub:"⫘",supE:"⫆",supe:"⊇",supedot:"⫄",Superset:"⊃",SupersetEqual:"⊇",suphsol:"⟉",suphsub:"⫗",suplarr:"⥻",supmult:"⫂",supnE:"⫌",supne:"⊋",supplus:"⫀",supset:"⊃",Supset:"⋑",supseteq:"⊇",supseteqq:"⫆",supsetneq:"⊋",supsetneqq:"⫌",supsim:"⫈",supsub:"⫔",supsup:"⫖",swarhk:"⤦",swarr:"↙",swArr:"⇙",swarrow:"↙",swnwar:"⤪",szlig:"ß",Tab:" ",target:"⌖",Tau:"Τ",tau:"τ",tbrk:"⎴",Tcaron:"Ť",tcaron:"ť",Tcedil:"Ţ",tcedil:"ţ",Tcy:"Т",tcy:"т",tdot:"⃛",telrec:"⌕",Tfr:"𝔗",tfr:"𝔱",there4:"∴",therefore:"∴",Therefore:"∴",Theta:"Θ",theta:"θ",thetasym:"ϑ",thetav:"ϑ",thickapprox:"≈",thicksim:"∼",ThickSpace:"  ",ThinSpace:" ",thinsp:" ",thkap:"≈",thksim:"∼",THORN:"Þ",thorn:"þ",tilde:"˜",Tilde:"∼",TildeEqual:"≃",TildeFullEqual:"≅",TildeTilde:"≈",timesbar:"⨱",timesb:"⊠",times:"×",timesd:"⨰",tint:"∭",toea:"⤨",topbot:"⌶",topcir:"⫱",top:"⊤",Topf:"𝕋",topf:"𝕥",topfork:"⫚",tosa:"⤩",tprime:"‴",trade:"™",TRADE:"™",triangle:"▵",triangledown:"▿",triangleleft:"◃",trianglelefteq:"⊴",triangleq:"≜",triangleright:"▹",trianglerighteq:"⊵",tridot:"◬",trie:"≜",triminus:"⨺",TripleDot:"⃛",triplus:"⨹",trisb:"⧍",tritime:"⨻",trpezium:"⏢",Tscr:"𝒯",tscr:"𝓉",TScy:"Ц",tscy:"ц",TSHcy:"Ћ",tshcy:"ћ",Tstrok:"Ŧ",tstrok:"ŧ",twixt:"≬",twoheadleftarrow:"↞",twoheadrightarrow:"↠",Uacute:"Ú",uacute:"ú",uarr:"↑",Uarr:"↟",uArr:"⇑",Uarrocir:"⥉",Ubrcy:"Ў",ubrcy:"ў",Ubreve:"Ŭ",ubreve:"ŭ",Ucirc:"Û",ucirc:"û",Ucy:"У",ucy:"у",udarr:"⇅",Udblac:"Ű",udblac:"ű",udhar:"⥮",ufisht:"⥾",Ufr:"𝔘",ufr:"𝔲",Ugrave:"Ù",ugrave:"ù",uHar:"⥣",uharl:"↿",uharr:"↾",uhblk:"▀",ulcorn:"⌜",ulcorner:"⌜",ulcrop:"⌏",ultri:"◸",Umacr:"Ū",umacr:"ū",uml:"¨",UnderBar:"_",UnderBrace:"⏟",UnderBracket:"⎵",UnderParenthesis:"⏝",Union:"⋃",UnionPlus:"⊎",Uogon:"Ų",uogon:"ų",Uopf:"𝕌",uopf:"𝕦",UpArrowBar:"⤒",uparrow:"↑",UpArrow:"↑",Uparrow:"⇑",UpArrowDownArrow:"⇅",updownarrow:"↕",UpDownArrow:"↕",Updownarrow:"⇕",UpEquilibrium:"⥮",upharpoonleft:"↿",upharpoonright:"↾",uplus:"⊎",UpperLeftArrow:"↖",UpperRightArrow:"↗",upsi:"υ",Upsi:"ϒ",upsih:"ϒ",Upsilon:"Υ",upsilon:"υ",UpTeeArrow:"↥",UpTee:"⊥",upuparrows:"⇈",urcorn:"⌝",urcorner:"⌝",urcrop:"⌎",Uring:"Ů",uring:"ů",urtri:"◹",Uscr:"𝒰",uscr:"𝓊",utdot:"⋰",Utilde:"Ũ",utilde:"ũ",utri:"▵",utrif:"▴",uuarr:"⇈",Uuml:"Ü",uuml:"ü",uwangle:"⦧",vangrt:"⦜",varepsilon:"ϵ",varkappa:"ϰ",varnothing:"∅",varphi:"ϕ",varpi:"ϖ",varpropto:"∝",varr:"↕",vArr:"⇕",varrho:"ϱ",varsigma:"ς",varsubsetneq:"⊊︀",varsubsetneqq:"⫋︀",varsupsetneq:"⊋︀",varsupsetneqq:"⫌︀",vartheta:"ϑ",vartriangleleft:"⊲",vartriangleright:"⊳",vBar:"⫨",Vbar:"⫫",vBarv:"⫩",Vcy:"В",vcy:"в",vdash:"⊢",vDash:"⊨",Vdash:"⊩",VDash:"⊫",Vdashl:"⫦",veebar:"⊻",vee:"∨",Vee:"⋁",veeeq:"≚",vellip:"⋮",verbar:"|",Verbar:"‖",vert:"|",Vert:"‖",VerticalBar:"∣",VerticalLine:"|",VerticalSeparator:"❘",VerticalTilde:"≀",VeryThinSpace:" ",Vfr:"𝔙",vfr:"𝔳",vltri:"⊲",vnsub:"⊂⃒",vnsup:"⊃⃒",Vopf:"𝕍",vopf:"𝕧",vprop:"∝",vrtri:"⊳",Vscr:"𝒱",vscr:"𝓋",vsubnE:"⫋︀",vsubne:"⊊︀",vsupnE:"⫌︀",vsupne:"⊋︀",Vvdash:"⊪",vzigzag:"⦚",Wcirc:"Ŵ",wcirc:"ŵ",wedbar:"⩟",wedge:"∧",Wedge:"⋀",wedgeq:"≙",weierp:"℘",Wfr:"𝔚",wfr:"𝔴",Wopf:"𝕎",wopf:"𝕨",wp:"℘",wr:"≀",wreath:"≀",Wscr:"𝒲",wscr:"𝓌",xcap:"⋂",xcirc:"◯",xcup:"⋃",xdtri:"▽",Xfr:"𝔛",xfr:"𝔵",xharr:"⟷",xhArr:"⟺",Xi:"Ξ",xi:"ξ",xlarr:"⟵",xlArr:"⟸",xmap:"⟼",xnis:"⋻",xodot:"⨀",Xopf:"𝕏",xopf:"𝕩",xoplus:"⨁",xotime:"⨂",xrarr:"⟶",xrArr:"⟹",Xscr:"𝒳",xscr:"𝓍",xsqcup:"⨆",xuplus:"⨄",xutri:"△",xvee:"⋁",xwedge:"⋀",Yacute:"Ý",yacute:"ý",YAcy:"Я",yacy:"я",Ycirc:"Ŷ",ycirc:"ŷ",Ycy:"Ы",ycy:"ы",yen:"¥",Yfr:"𝔜",yfr:"𝔶",YIcy:"Ї",yicy:"ї",Yopf:"𝕐",yopf:"𝕪",Yscr:"𝒴",yscr:"𝓎",YUcy:"Ю",yucy:"ю",yuml:"ÿ",Yuml:"Ÿ",Zacute:"Ź",zacute:"ź",Zcaron:"Ž",zcaron:"ž",Zcy:"З",zcy:"з",Zdot:"Ż",zdot:"ż",zeetrf:"ℨ",ZeroWidthSpace:"​",Zeta:"Ζ",zeta:"ζ",zfr:"𝔷",Zfr:"ℨ",ZHcy:"Ж",zhcy:"ж",zigrarr:"⇝",zopf:"𝕫",Zopf:"ℤ",Zscr:"𝒵",zscr:"𝓏",zwj:"‍",zwnj:"‌"}}),ha=q((t,e)=>{e.exports={Aacute:"Á",aacute:"á",Acirc:"Â",acirc:"â",acute:"´",AElig:"Æ",aelig:"æ",Agrave:"À",agrave:"à",amp:"&",AMP:"&",Aring:"Å",aring:"å",Atilde:"Ã",atilde:"ã",Auml:"Ä",auml:"ä",brvbar:"¦",Ccedil:"Ç",ccedil:"ç",cedil:"¸",cent:"¢",copy:"©",COPY:"©",curren:"¤",deg:"°",divide:"÷",Eacute:"É",eacute:"é",Ecirc:"Ê",ecirc:"ê",Egrave:"È",egrave:"è",ETH:"Ð",eth:"ð",Euml:"Ë",euml:"ë",frac12:"½",frac14:"¼",frac34:"¾",gt:">",GT:">",Iacute:"Í",iacute:"í",Icirc:"Î",icirc:"î",iexcl:"¡",Igrave:"Ì",igrave:"ì",iquest:"¿",Iuml:"Ï",iuml:"ï",laquo:"«",lt:"<",LT:"<",macr:"¯",micro:"µ",middot:"·",nbsp:" ",not:"¬",Ntilde:"Ñ",ntilde:"ñ",Oacute:"Ó",oacute:"ó",Ocirc:"Ô",ocirc:"ô",Ograve:"Ò",ograve:"ò",ordf:"ª",ordm:"º",Oslash:"Ø",oslash:"ø",Otilde:"Õ",otilde:"õ",Ouml:"Ö",ouml:"ö",para:"¶",plusmn:"±",pound:"£",quot:'"',QUOT:'"',raquo:"»",reg:"®",REG:"®",sect:"§",shy:"­",sup1:"¹",sup2:"²",sup3:"³",szlig:"ß",THORN:"Þ",thorn:"þ",times:"×",Uacute:"Ú",uacute:"ú",Ucirc:"Û",ucirc:"û",Ugrave:"Ù",ugrave:"ù",uml:"¨",Uuml:"Ü",uuml:"ü",Yacute:"Ý",yacute:"ý",yen:"¥",yuml:"ÿ"}}),Xn=q((t,e)=>{e.exports={amp:"&",apos:"'",gt:">",lt:"<",quot:'"'}}),ga=q((t,e)=>{e.exports={0:65533,128:8364,130:8218,131:402,132:8222,133:8230,134:8224,135:8225,136:710,137:8240,138:352,139:8249,140:338,142:381,145:8216,146:8217,147:8220,148:8221,149:8226,150:8211,151:8212,152:732,153:8482,154:353,155:8250,156:339,158:382,159:376}}),ba=q(t=>{var e=t&&t.__importDefault||function(a){return a&&a.__esModule?a:{default:a}};Object.defineProperty(t,"__esModule",{value:!0});var r=e(ga()),o=String.fromCodePoint||function(a){var u="";return a>65535&&(a-=65536,u+=String.fromCharCode(a>>>10&1023|55296),a=56320|a&1023),u+=String.fromCharCode(a),u};function i(a){return a>=55296&&a<=57343||a>1114111?"�":(a in r.default&&(a=r.default[a]),o(a))}n(i,"decodeCodePoint"),t.default=i}),Qn=q(t=>{var e=t&&t.__importDefault||function(m){return m&&m.__esModule?m:{default:m}};Object.defineProperty(t,"__esModule",{value:!0}),t.decodeHTML=t.decodeHTMLStrict=t.decodeXML=void 0;var r=e(Kn()),o=e(ha()),i=e(Xn()),a=e(ba()),u=/&(?:[a-zA-Z0-9]+|#[xX][\da-fA-F]+|#\d+);/g;t.decodeXML=l(i.default),t.decodeHTMLStrict=l(r.default);function l(m){var h=p(m);return function(g){return String(g).replace(u,h)}}n(l,"getStrictDecoder");var c=n(function(m,h){return m<h?1:-1},"sorter");t.decodeHTML=function(){for(var m=Object.keys(o.default).sort(c),h=Object.keys(r.default).sort(c),g=0,J=0;g<h.length;g++)m[J]===h[g]?(h[g]+=";?",J++):h[g]+=";";var ne=new RegExp("&(?:"+h.join("|")+"|#[xX][\\da-fA-F]+;?|#\\d+;?)","g"),le=p(r.default);function re(ce){return ce.substr(-1)!==";"&&(ce+=";"),le(ce)}return n(re,"replacer"),function(ce){return String(ce).replace(ne,re)}}();function p(m){return n(function(h){if(h.charAt(1)==="#"){var g=h.charAt(2);return g==="X"||g==="x"?a.default(parseInt(h.substr(3),16)):a.default(parseInt(h.substr(2),10))}return m[h.slice(1,-1)]||h},"replace")}n(p,"getReplacer")}),es=q(t=>{var e=t&&t.__importDefault||function(F){return F&&F.__esModule?F:{default:F}};Object.defineProperty(t,"__esModule",{value:!0}),t.escapeUTF8=t.escape=t.encodeNonAsciiHTML=t.encodeHTML=t.encodeXML=void 0;var r=e(Xn()),o=c(r.default),i=p(o);t.encodeXML=ce(o);var a=e(Kn()),u=c(a.default),l=p(u);t.encodeHTML=J(u,l),t.encodeNonAsciiHTML=ce(u);function c(F){return Object.keys(F).sort().reduce(function(se,he){return se[F[he]]="&"+he+";",se},{})}n(c,"getInverseObj");function p(F){for(var se=[],he=[],Ve=0,ve=Object.keys(F);Ve<ve.length;Ve++){var we=ve[Ve];we.length===1?se.push("\\"+we):he.push(we)}se.sort();for(var Nt=0;Nt<se.length-1;Nt++){for(var Bt=Nt;Bt<se.length-1&&se[Bt].charCodeAt(1)+1===se[Bt+1].charCodeAt(1);)Bt+=1;var Ft=1+Bt-Nt;Ft<3||se.splice(Nt,Ft,se[Nt]+"-"+se[Bt])}return he.unshift("["+se.join("")+"]"),new RegExp(he.join("|"),"g")}n(p,"getInverseReplacer");var m=/(?:[\x80-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])/g,h=String.prototype.codePointAt!=null?function(F){return F.codePointAt(0)}:function(F){return(F.charCodeAt(0)-55296)*1024+F.charCodeAt(1)-56320+65536};function g(F){return"&#x"+(F.length>1?h(F):F.charCodeAt(0)).toString(16).toUpperCase()+";"}n(g,"singleCharReplacer");function J(F,se){return function(he){return he.replace(se,function(Ve){return F[Ve]}).replace(m,g)}}n(J,"getInverse");var ne=new RegExp(i.source+"|"+m.source,"g");function le(F){return F.replace(ne,g)}n(le,"escape"),t.escape=le;function re(F){return F.replace(i,g)}n(re,"escapeUTF8"),t.escapeUTF8=re;function ce(F){return function(se){return se.replace(ne,function(he){return F[he]||g(he)})}}n(ce,"getASCIIEncoder")}),Da=q(t=>{Object.defineProperty(t,"__esModule",{value:!0}),t.decodeXMLStrict=t.decodeHTML5Strict=t.decodeHTML4Strict=t.decodeHTML5=t.decodeHTML4=t.decodeHTMLStrict=t.decodeHTML=t.decodeXML=t.encodeHTML5=t.encodeHTML4=t.escapeUTF8=t.escape=t.encodeNonAsciiHTML=t.encodeHTML=t.encodeXML=t.encode=t.decodeStrict=t.decode=void 0;var e=Qn(),r=es();function o(c,p){return(!p||p<=0?e.decodeXML:e.decodeHTML)(c)}n(o,"decode"),t.decode=o;function i(c,p){return(!p||p<=0?e.decodeXML:e.decodeHTMLStrict)(c)}n(i,"decodeStrict"),t.decodeStrict=i;function a(c,p){return(!p||p<=0?r.encodeXML:r.encodeHTML)(c)}n(a,"encode"),t.encode=a;var u=es();Object.defineProperty(t,"encodeXML",{enumerable:!0,get:n(function(){return u.encodeXML},"get")}),Object.defineProperty(t,"encodeHTML",{enumerable:!0,get:n(function(){return u.encodeHTML},"get")}),Object.defineProperty(t,"encodeNonAsciiHTML",{enumerable:!0,get:n(function(){return u.encodeNonAsciiHTML},"get")}),Object.defineProperty(t,"escape",{enumerable:!0,get:n(function(){return u.escape},"get")}),Object.defineProperty(t,"escapeUTF8",{enumerable:!0,get:n(function(){return u.escapeUTF8},"get")}),Object.defineProperty(t,"encodeHTML4",{enumerable:!0,get:n(function(){return u.encodeHTML},"get")}),Object.defineProperty(t,"encodeHTML5",{enumerable:!0,get:n(function(){return u.encodeHTML},"get")});var l=Qn();Object.defineProperty(t,"decodeXML",{enumerable:!0,get:n(function(){return l.decodeXML},"get")}),Object.defineProperty(t,"decodeHTML",{enumerable:!0,get:n(function(){return l.decodeHTML},"get")}),Object.defineProperty(t,"decodeHTMLStrict",{enumerable:!0,get:n(function(){return l.decodeHTMLStrict},"get")}),Object.defineProperty(t,"decodeHTML4",{enumerable:!0,get:n(function(){return l.decodeHTML},"get")}),Object.defineProperty(t,"decodeHTML5",{enumerable:!0,get:n(function(){return l.decodeHTML},"get")}),Object.defineProperty(t,"decodeHTML4Strict",{enumerable:!0,get:n(function(){return l.decodeHTMLStrict},"get")}),Object.defineProperty(t,"decodeHTML5Strict",{enumerable:!0,get:n(function(){return l.decodeHTMLStrict},"get")}),Object.defineProperty(t,"decodeXMLStrict",{enumerable:!0,get:n(function(){return l.decodeXML},"get")})}),Ha=q((t,e)=>{function r(d,A){if(!(d instanceof A))throw new TypeError("Cannot call a class as a function")}n(r,"_classCallCheck");function o(d,A){for(var B=0;B<A.length;B++){var pe=A[B];pe.enumerable=pe.enumerable||!1,pe.configurable=!0,"value"in pe&&(pe.writable=!0),Object.defineProperty(d,pe.key,pe)}}n(o,"_defineProperties");function i(d,A,B){return A&&o(d.prototype,A),B&&o(d,B),d}n(i,"_createClass");function a(d,A){var B=typeof Symbol<"u"&&d[Symbol.iterator]||d["@@iterator"];if(!B){if(Array.isArray(d)||(B=u(d))||A&&d&&typeof d.length=="number"){B&&(d=B);var pe=0,de=n(function(){},"F");return{s:de,n:n(function(){return pe>=d.length?{done:!0}:{done:!1,value:d[pe++]}},"n"),e:n(function(Mt){throw Mt},"e"),f:de}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. -In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var Lt=!0,qt=!1,Ut;return{s:n(function(){B=B.call(d)},"s"),n:n(function(){var Mt=B.next();return Lt=Mt.done,Mt},"n"),e:n(function(Mt){qt=!0,Ut=Mt},"e"),f:n(function(){try{!Lt&&B.return!=null&&B.return()}finally{if(qt)throw Ut}},"f")}}n(a,"_createForOfIteratorHelper");function u(d,A){if(d){if(typeof d=="string")return l(d,A);var B=Object.prototype.toString.call(d).slice(8,-1);if(B==="Object"&&d.constructor&&(B=d.constructor.name),B==="Map"||B==="Set")return Array.from(d);if(B==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(B))return l(d,A)}}n(u,"_unsupportedIterableToArray");function l(d,A){(A==null||A>d.length)&&(A=d.length);for(var B=0,pe=new Array(A);B<A;B++)pe[B]=d[B];return pe}n(l,"_arrayLikeToArray");var c=Da(),p={fg:"#FFF",bg:"#000",newline:!1,escapeXML:!1,stream:!1,colors:m()};function m(){var d={0:"#000",1:"#A00",2:"#0A0",3:"#A50",4:"#00A",5:"#A0A",6:"#0AA",7:"#AAA",8:"#555",9:"#F55",10:"#5F5",11:"#FF5",12:"#55F",13:"#F5F",14:"#5FF",15:"#FFF"};return F(0,5).forEach(function(A){F(0,5).forEach(function(B){F(0,5).forEach(function(pe){return h(A,B,pe,d)})})}),F(0,23).forEach(function(A){var B=A+232,pe=g(A*10+8);d[B]="#"+pe+pe+pe}),d}n(m,"getDefaultColors");function h(d,A,B,pe){var de=16+d*36+A*6+B,Lt=d>0?d*40+55:0,qt=A>0?A*40+55:0,Ut=B>0?B*40+55:0;pe[de]=J([Lt,qt,Ut])}n(h,"setStyleColor");function g(d){for(var A=d.toString(16);A.length<2;)A="0"+A;return A}n(g,"toHexString");function J(d){var A=[],B=a(d),pe;try{for(B.s();!(pe=B.n()).done;){var de=pe.value;A.push(g(de))}}catch(Lt){B.e(Lt)}finally{B.f()}return"#"+A.join("")}n(J,"toColorHexString");function ne(d,A,B,pe){var de;return A==="text"?de=Ve(B,pe):A==="display"?de=re(d,B,pe):A==="xterm256Foreground"?de=Nt(d,pe.colors[B]):A==="xterm256Background"?de=Bt(d,pe.colors[B]):A==="rgb"&&(de=le(d,B)),de}n(ne,"generateOutput");function le(d,A){A=A.substring(2).slice(0,-1);var B=+A.substr(0,2),pe=A.substring(5).split(";"),de=pe.map(function(Lt){return("0"+Number(Lt).toString(16)).substr(-2)}).join("");return we(d,(B===38?"color:#":"background-color:#")+de)}n(le,"handleRgb");function re(d,A,B){A=parseInt(A,10);var pe={"-1":n(function(){return"<br/>"},"_"),0:n(function(){return d.length&&ce(d)},"_"),1:n(function(){return ve(d,"b")},"_"),3:n(function(){return ve(d,"i")},"_"),4:n(function(){return ve(d,"u")},"_"),8:n(function(){return we(d,"display:none")},"_"),9:n(function(){return ve(d,"strike")},"_"),22:n(function(){return we(d,"font-weight:normal;text-decoration:none;font-style:normal")},"_"),23:n(function(){return Ft(d,"i")},"_"),24:n(function(){return Ft(d,"u")},"_"),39:n(function(){return Nt(d,B.fg)},"_"),49:n(function(){return Bt(d,B.bg)},"_"),53:n(function(){return we(d,"text-decoration:overline")},"_")},de;return pe[A]?de=pe[A]():4<A&&A<7?de=ve(d,"blink"):29<A&&A<38?de=Nt(d,B.colors[A-30]):39<A&&A<48?de=Bt(d,B.colors[A-40]):89<A&&A<98?de=Nt(d,B.colors[8+(A-90)]):99<A&&A<108&&(de=Bt(d,B.colors[8+(A-100)])),de}n(re,"handleDisplay");function ce(d){var A=d.slice(0);return d.length=0,A.reverse().map(function(B){return"</"+B+">"}).join("")}n(ce,"resetStyles");function F(d,A){for(var B=[],pe=d;pe<=A;pe++)B.push(pe);return B}n(F,"range");function se(d){return function(A){return(d===null||A.category!==d)&&d!=="all"}}n(se,"notCategory");function he(d){d=parseInt(d,10);var A=null;return d===0?A="all":d===1?A="bold":2<d&&d<5?A="underline":4<d&&d<7?A="blink":d===8?A="hide":d===9?A="strike":29<d&&d<38||d===39||89<d&&d<98?A="foreground-color":(39<d&&d<48||d===49||99<d&&d<108)&&(A="background-color"),A}n(he,"categoryForCode");function Ve(d,A){return A.escapeXML?c.encodeXML(d):d}n(Ve,"pushText");function ve(d,A,B){return B||(B=""),d.push(A),"<".concat(A).concat(B?' style="'.concat(B,'"'):"",">")}n(ve,"pushTag");function we(d,A){return ve(d,"span",A)}n(we,"pushStyle");function Nt(d,A){return ve(d,"span","color:"+A)}n(Nt,"pushForegroundColor");function Bt(d,A){return ve(d,"span","background-color:"+A)}n(Bt,"pushBackgroundColor");function Ft(d,A){var B;if(d.slice(-1)[0]===A&&(B=d.pop()),B)return"</"+A+">"}n(Ft,"closeTag");function jt(d,A,B){var pe=!1,de=3;function Lt(){return""}n(Lt,"remove");function qt(Kr,Xr){return B("xterm256Foreground",Xr),""}n(qt,"removeXterm256Foreground");function Ut(Kr,Xr){return B("xterm256Background",Xr),""}n(Ut,"removeXterm256Background");function Mt(Kr){return A.newline?B("display",-1):B("text",Kr),""}n(Mt,"newline");function Gt(Kr,Xr){pe=!0,Xr.trim().length===0&&(Xr="0"),Xr=Xr.trimRight(";").split(";");var Bn=a(Xr),zn;try{for(Bn.s();!(zn=Bn.n()).done;){var as=zn.value;B("display",as)}}catch(ys){Bn.e(ys)}finally{Bn.f()}return""}n(Gt,"ansiMess");function lr(Kr){return B("text",Kr),""}n(lr,"realText");function zr(Kr){return B("rgb",Kr),""}n(zr,"rgb");var Qr=[{pattern:/^\x08+/,sub:Lt},{pattern:/^\x1b\[[012]?K/,sub:Lt},{pattern:/^\x1b\[\(B/,sub:Lt},{pattern:/^\x1b\[[34]8;2;\d+;\d+;\d+m/,sub:zr},{pattern:/^\x1b\[38;5;(\d+)m/,sub:qt},{pattern:/^\x1b\[48;5;(\d+)m/,sub:Ut},{pattern:/^\n/,sub:Mt},{pattern:/^\r+\n/,sub:Mt},{pattern:/^\r/,sub:Mt},{pattern:/^\x1b\[((?:\d{1,3};?)+|)m/,sub:Gt},{pattern:/^\x1b\[\d?J/,sub:Lt},{pattern:/^\x1b\[\d{0,3};\d{0,3}f/,sub:Lt},{pattern:/^\x1b\[?[\d;]{0,3}/,sub:Lt},{pattern:/^(([^\x1b\x08\r\n])+)/,sub:lr}];function Vt(Kr,Xr){Xr>de&&pe||(pe=!1,d=d.replace(Kr.pattern,Kr.sub))}n(Vt,"process");var Jr=[],Zr=d,Tn=Zr.length;e:for(;Tn>0;){for(var Gn=0,Hn=0,So=Qr.length;Hn<So;Gn=++Hn){var is=Qr[Gn];if(Vt(is,Gn),d.length!==Tn){Tn=d.length;continue e}}if(d.length===Tn)break;Jr.push(0),Tn=d.length}return Jr}n(jt,"tokenize");function qe(d,A,B){return A!=="text"&&(d=d.filter(se(he(B))),d.push({token:A,data:B,category:he(B)})),d}n(qe,"updateStickyStack");var Dt=function(){function d(A){r(this,d),A=A||{},A.colors&&(A.colors=Object.assign({},p.colors,A.colors)),this.options=Object.assign({},p,A),this.stack=[],this.stickyStack=[]}return n(d,"Filter"),i(d,[{key:"toHtml",value:n(function(A){var B=this;A=typeof A=="string"?[A]:A;var pe=this.stack,de=this.options,Lt=[];return this.stickyStack.forEach(function(qt){var Ut=ne(pe,qt.token,qt.data,de);Ut&&Lt.push(Ut)}),jt(A.join(""),de,function(qt,Ut){var Mt=ne(pe,qt,Ut,de);Mt&&Lt.push(Mt),de.stream&&(B.stickyStack=qe(B.stickyStack,qt,Ut))}),pe.length&&Lt.push(ce(pe)),Lt.join("")},"toHtml")}]),d}();e.exports=Dt}),Za=q((t,e)=>{(function(r,o){typeof t=="object"&&typeof e<"u"?e.exports=o():typeof define=="function"&&define.amd?define(o):(r=typeof globalThis<"u"?globalThis:r||self).BrowserDetector=o()})(t,function(){function r(c,p){for(var m=0;m<p.length;m++){var h=p[m];h.enumerable=h.enumerable||!1,h.configurable=!0,"value"in h&&(h.writable=!0),Object.defineProperty(c,(g=h.key,J=void 0,typeof(J=function(ne,le){if(typeof ne!="object"||ne===null)return ne;var re=ne[Symbol.toPrimitive];if(re!==void 0){var ce=re.call(ne,le||"default");if(typeof ce!="object")return ce;throw new TypeError("@@toPrimitive must return a primitive value.")}return(le==="string"?String:Number)(ne)}(g,"string"))=="symbol"?J:String(J)),h)}var g,J}n(r,"e");var o={chrome:"Google Chrome",brave:"Brave",crios:"Google Chrome",edge:"Microsoft Edge",edg:"Microsoft Edge",edgios:"Microsoft Edge",fennec:"Mozilla Firefox",jsdom:"JsDOM",mozilla:"Mozilla Firefox",fxios:"Mozilla Firefox",msie:"Microsoft Internet Explorer",opera:"Opera",opios:"Opera",opr:"Opera",opt:"Opera",rv:"Microsoft Internet Explorer",safari:"Safari",samsungbrowser:"Samsung Browser",electron:"Electron"},i={android:"Android",androidTablet:"Android Tablet",cros:"Chrome OS",fennec:"Android Tablet",ipad:"IPad",iphone:"IPhone",jsdom:"JsDOM",linux:"Linux",mac:"Macintosh",tablet:"Android Tablet",win:"Windows","windows phone":"Windows Phone",xbox:"Microsoft Xbox"},a=n(function(c){var p=new RegExp("^-?\\d+(?:.\\d{0,".concat(arguments.length>1&&arguments[1]!==void 0?arguments[1]:-1,"})?")),m=Number(c).toString().match(p);return m?m[0]:null},"n"),u=n(function(){return typeof window<"u"?window.navigator:null},"i"),l=function(){function c(g){var J;(function(ne,le){if(!(ne instanceof le))throw new TypeError("Cannot call a class as a function")})(this,c),this.userAgent=g||((J=u())===null||J===void 0?void 0:J.userAgent)||null}n(c,"t");var p,m,h;return p=c,m=[{key:"parseUserAgent",value:n(function(g){var J,ne,le,re={},ce=g||this.userAgent||"",F=ce.toLowerCase().replace(/\s\s+/g," "),se=/(edge)\/([\w.]+)/.exec(F)||/(edg)[/]([\w.]+)/.exec(F)||/(opr)[/]([\w.]+)/.exec(F)||/(opt)[/]([\w.]+)/.exec(F)||/(fxios)[/]([\w.]+)/.exec(F)||/(edgios)[/]([\w.]+)/.exec(F)||/(jsdom)[/]([\w.]+)/.exec(F)||/(samsungbrowser)[/]([\w.]+)/.exec(F)||/(electron)[/]([\w.]+)/.exec(F)||/(chrome)[/]([\w.]+)/.exec(F)||/(crios)[/]([\w.]+)/.exec(F)||/(opios)[/]([\w.]+)/.exec(F)||/(version)(applewebkit)[/]([\w.]+).*(safari)[/]([\w.]+)/.exec(F)||/(webkit)[/]([\w.]+).*(version)[/]([\w.]+).*(safari)[/]([\w.]+)/.exec(F)||/(applewebkit)[/]([\w.]+).*(safari)[/]([\w.]+)/.exec(F)||/(webkit)[/]([\w.]+)/.exec(F)||/(opera)(?:.*version|)[/]([\w.]+)/.exec(F)||/(msie) ([\w.]+)/.exec(F)||/(fennec)[/]([\w.]+)/.exec(F)||F.indexOf("trident")>=0&&/(rv)(?::| )([\w.]+)/.exec(F)||F.indexOf("compatible")<0&&/(mozilla)(?:.*? rv:([\w.]+)|)/.exec(F)||[],he=/(ipad)/.exec(F)||/(ipod)/.exec(F)||/(iphone)/.exec(F)||/(jsdom)/.exec(F)||/(windows phone)/.exec(F)||/(xbox)/.exec(F)||/(win)/.exec(F)||/(tablet)/.exec(F)||/(android)/.test(F)&&/(mobile)/.test(F)===!1&&["androidTablet"]||/(android)/.exec(F)||/(mac)/.exec(F)||/(linux)/.exec(F)||/(cros)/.exec(F)||[],Ve=se[5]||se[3]||se[1]||null,ve=he[0]||null,we=se[4]||se[2]||null,Nt=u();Ve==="chrome"&&typeof(Nt==null||(J=Nt.brave)===null||J===void 0?void 0:J.isBrave)=="function"&&(Ve="brave"),Ve&&(re[Ve]=!0),ve&&(re[ve]=!0);var Bt=!!(re.tablet||re.android||re.androidTablet),Ft=!!(re.ipad||re.tablet||re.androidTablet),jt=!!(re.android||re.androidTablet||re.tablet||re.ipad||re.ipod||re.iphone||re["windows phone"]),qe=!!(re.cros||re.mac||re.linux||re.win),Dt=!!(re.brave||re.chrome||re.crios||re.opr||re.safari||re.edg||re.electron),d=!!(re.msie||re.rv);return{name:(ne=o[Ve])!==null&&ne!==void 0?ne:null,platform:(le=i[ve])!==null&&le!==void 0?le:null,userAgent:ce,version:we,shortVersion:we?a(parseFloat(we),2):null,isAndroid:Bt,isTablet:Ft,isMobile:jt,isDesktop:qe,isWebkit:Dt,isIE:d}},"value")},{key:"getBrowserInfo",value:n(function(){var g=this.parseUserAgent();return{name:g.name,platform:g.platform,userAgent:g.userAgent,version:g.version,shortVersion:g.shortVersion}},"value")}],h=[{key:"VERSION",get:n(function(){return"3.4.0"},"get")}],m&&r(p.prototype,m),h&&r(p,h),Object.defineProperty(p,"prototype",{writable:!1}),c}();return l})}),Ht={};_e(Ht,{global:()=>E$1});var E$1=(()=>{let t;return typeof window<"u"?t=window:typeof globalThis<"u"?t=globalThis:typeof global<"u"?t=global:typeof self<"u"?t=self:t={},t})(),ge={};_e(ge,{ARGTYPES_INFO_REQUEST:()=>fo,ARGTYPES_INFO_RESPONSE:()=>nt,CHANNEL_CREATED:()=>cl,CHANNEL_WS_DISCONNECT:()=>Wt,CONFIG_ERROR:()=>$t,CREATE_NEW_STORYFILE_REQUEST:()=>pl,CREATE_NEW_STORYFILE_RESPONSE:()=>dl,CURRENT_STORY_WAS_SET:()=>rt,DOCS_PREPARED:()=>Yt,DOCS_RENDERED:()=>pr,FILE_COMPONENT_SEARCH_REQUEST:()=>ul,FILE_COMPONENT_SEARCH_RESPONSE:()=>fl,FORCE_REMOUNT:()=>Kt,FORCE_RE_RENDER:()=>dr,GLOBALS_UPDATED:()=>Ce,NAVIGATE_URL:()=>yl,PLAY_FUNCTION_THREW_EXCEPTION:()=>Xt,PRELOAD_ENTRIES:()=>Qt,PREVIEW_BUILDER_PROGRESS:()=>ml,PREVIEW_KEYDOWN:()=>Zt,REGISTER_SUBSCRIPTION:()=>hl,REQUEST_WHATS_NEW_DATA:()=>wl,RESET_STORY_ARGS:()=>ur,RESULT_WHATS_NEW_DATA:()=>_l,SAVE_STORY_REQUEST:()=>Ol,SAVE_STORY_RESPONSE:()=>Il,SELECT_STORY:()=>gl,SET_CONFIG:()=>Sl,SET_CURRENT_STORY:()=>eo,SET_FILTER:()=>bl,SET_GLOBALS:()=>ro,SET_INDEX:()=>Tl,SET_STORIES:()=>El,SET_WHATS_NEW_CACHE:()=>Cl,SHARED_STATE_CHANGED:()=>Rl,SHARED_STATE_SET:()=>Al,STORIES_COLLAPSE_ALL:()=>xl,STORIES_EXPAND_ALL:()=>vl,STORY_ARGS_UPDATED:()=>to,STORY_CHANGED:()=>oo,STORY_ERRORED:()=>no,STORY_FINISHED:()=>ot,STORY_INDEX_INVALIDATED:()=>so,STORY_MISSING:()=>tt,STORY_PREPARED:()=>io,STORY_RENDERED:()=>We,STORY_RENDER_PHASE_CHANGED:()=>Pe,STORY_SPECIFIED:()=>ao,STORY_THREW_EXCEPTION:()=>lo,STORY_UNCHANGED:()=>co,TELEMETRY_ERROR:()=>uo,TESTING_MODULE_CANCEL_TEST_RUN_REQUEST:()=>Ll,TESTING_MODULE_CANCEL_TEST_RUN_RESPONSE:()=>jl,TESTING_MODULE_CRASH_REPORT:()=>Fl,TESTING_MODULE_PROGRESS_REPORT:()=>Dl,TESTING_MODULE_RUN_ALL_REQUEST:()=>kl,TESTING_MODULE_RUN_REQUEST:()=>Nl,TOGGLE_WHATS_NEW_NOTIFICATIONS:()=>Pl,UNHANDLED_ERRORS_WHILE_PLAYING:()=>Jt,UPDATE_GLOBALS:()=>fr,UPDATE_QUERY_PARAMS:()=>po,UPDATE_STORY_ARGS:()=>yr,default:()=>ll});var zt=(t=>(t.CHANNEL_WS_DISCONNECT="channelWSDisconnect",t.CHANNEL_CREATED="channelCreated",t.CONFIG_ERROR="configError",t.STORY_INDEX_INVALIDATED="storyIndexInvalidated",t.STORY_SPECIFIED="storySpecified",t.SET_CONFIG="setConfig",t.SET_STORIES="setStories",t.SET_INDEX="setIndex",t.SET_CURRENT_STORY="setCurrentStory",t.CURRENT_STORY_WAS_SET="currentStoryWasSet",t.FORCE_RE_RENDER="forceReRender",t.FORCE_REMOUNT="forceRemount",t.PRELOAD_ENTRIES="preloadStories",t.STORY_PREPARED="storyPrepared",t.DOCS_PREPARED="docsPrepared",t.STORY_CHANGED="storyChanged",t.STORY_UNCHANGED="storyUnchanged",t.STORY_RENDERED="storyRendered",t.STORY_FINISHED="storyFinished",t.STORY_MISSING="storyMissing",t.STORY_ERRORED="storyErrored",t.STORY_THREW_EXCEPTION="storyThrewException",t.STORY_RENDER_PHASE_CHANGED="storyRenderPhaseChanged",t.PLAY_FUNCTION_THREW_EXCEPTION="playFunctionThrewException",t.UNHANDLED_ERRORS_WHILE_PLAYING="unhandledErrorsWhilePlaying",t.UPDATE_STORY_ARGS="updateStoryArgs",t.STORY_ARGS_UPDATED="storyArgsUpdated",t.RESET_STORY_ARGS="resetStoryArgs",t.SET_FILTER="setFilter",t.SET_GLOBALS="setGlobals",t.UPDATE_GLOBALS="updateGlobals",t.GLOBALS_UPDATED="globalsUpdated",t.REGISTER_SUBSCRIPTION="registerSubscription",t.PREVIEW_KEYDOWN="previewKeydown",t.PREVIEW_BUILDER_PROGRESS="preview_builder_progress",t.SELECT_STORY="selectStory",t.STORIES_COLLAPSE_ALL="storiesCollapseAll",t.STORIES_EXPAND_ALL="storiesExpandAll",t.DOCS_RENDERED="docsRendered",t.SHARED_STATE_CHANGED="sharedStateChanged",t.SHARED_STATE_SET="sharedStateSet",t.NAVIGATE_URL="navigateUrl",t.UPDATE_QUERY_PARAMS="updateQueryParams",t.REQUEST_WHATS_NEW_DATA="requestWhatsNewData",t.RESULT_WHATS_NEW_DATA="resultWhatsNewData",t.SET_WHATS_NEW_CACHE="setWhatsNewCache",t.TOGGLE_WHATS_NEW_NOTIFICATIONS="toggleWhatsNewNotifications",t.TELEMETRY_ERROR="telemetryError",t.FILE_COMPONENT_SEARCH_REQUEST="fileComponentSearchRequest",t.FILE_COMPONENT_SEARCH_RESPONSE="fileComponentSearchResponse",t.SAVE_STORY_REQUEST="saveStoryRequest",t.SAVE_STORY_RESPONSE="saveStoryResponse",t.ARGTYPES_INFO_REQUEST="argtypesInfoRequest",t.ARGTYPES_INFO_RESPONSE="argtypesInfoResponse",t.CREATE_NEW_STORYFILE_REQUEST="createNewStoryfileRequest",t.CREATE_NEW_STORYFILE_RESPONSE="createNewStoryfileResponse",t.TESTING_MODULE_CRASH_REPORT="testingModuleCrashReport",t.TESTING_MODULE_PROGRESS_REPORT="testingModuleProgressReport",t.TESTING_MODULE_RUN_REQUEST="testingModuleRunRequest",t.TESTING_MODULE_RUN_ALL_REQUEST="testingModuleRunAllRequest",t.TESTING_MODULE_CANCEL_TEST_RUN_REQUEST="testingModuleCancelTestRunRequest",t.TESTING_MODULE_CANCEL_TEST_RUN_RESPONSE="testingModuleCancelTestRunResponse",t))(zt||{}),ll=zt,{CHANNEL_WS_DISCONNECT:Wt,CHANNEL_CREATED:cl,CONFIG_ERROR:$t,CREATE_NEW_STORYFILE_REQUEST:pl,CREATE_NEW_STORYFILE_RESPONSE:dl,CURRENT_STORY_WAS_SET:rt,DOCS_PREPARED:Yt,DOCS_RENDERED:pr,FILE_COMPONENT_SEARCH_REQUEST:ul,FILE_COMPONENT_SEARCH_RESPONSE:fl,FORCE_RE_RENDER:dr,FORCE_REMOUNT:Kt,GLOBALS_UPDATED:Ce,NAVIGATE_URL:yl,PLAY_FUNCTION_THREW_EXCEPTION:Xt,UNHANDLED_ERRORS_WHILE_PLAYING:Jt,PRELOAD_ENTRIES:Qt,PREVIEW_BUILDER_PROGRESS:ml,PREVIEW_KEYDOWN:Zt,REGISTER_SUBSCRIPTION:hl,RESET_STORY_ARGS:ur,SELECT_STORY:gl,SET_CONFIG:Sl,SET_CURRENT_STORY:eo,SET_FILTER:bl,SET_GLOBALS:ro,SET_INDEX:Tl,SET_STORIES:El,SHARED_STATE_CHANGED:Rl,SHARED_STATE_SET:Al,STORIES_COLLAPSE_ALL:xl,STORIES_EXPAND_ALL:vl,STORY_ARGS_UPDATED:to,STORY_CHANGED:oo,STORY_ERRORED:no,STORY_INDEX_INVALIDATED:so,STORY_MISSING:tt,STORY_PREPARED:io,STORY_RENDER_PHASE_CHANGED:Pe,STORY_RENDERED:We,STORY_FINISHED:ot,STORY_SPECIFIED:ao,STORY_THREW_EXCEPTION:lo,STORY_UNCHANGED:co,UPDATE_GLOBALS:fr,UPDATE_QUERY_PARAMS:po,UPDATE_STORY_ARGS:yr,REQUEST_WHATS_NEW_DATA:wl,RESULT_WHATS_NEW_DATA:_l,SET_WHATS_NEW_CACHE:Cl,TOGGLE_WHATS_NEW_NOTIFICATIONS:Pl,TELEMETRY_ERROR:uo,SAVE_STORY_REQUEST:Ol,SAVE_STORY_RESPONSE:Il,ARGTYPES_INFO_REQUEST:fo,ARGTYPES_INFO_RESPONSE:nt,TESTING_MODULE_CRASH_REPORT:Fl,TESTING_MODULE_PROGRESS_REPORT:Dl,TESTING_MODULE_RUN_REQUEST:Nl,TESTING_MODULE_RUN_ALL_REQUEST:kl,TESTING_MODULE_CANCEL_TEST_RUN_REQUEST:Ll,TESTING_MODULE_CANCEL_TEST_RUN_RESPONSE:jl}=zt,yo={"@storybook/global":"__STORYBOOK_MODULE_GLOBAL__","storybook/internal/channels":"__STORYBOOK_MODULE_CHANNELS__","@storybook/channels":"__STORYBOOK_MODULE_CHANNELS__","@storybook/core/channels":"__STORYBOOK_MODULE_CHANNELS__","storybook/internal/client-logger":"__STORYBOOK_MODULE_CLIENT_LOGGER__","@storybook/client-logger":"__STORYBOOK_MODULE_CLIENT_LOGGER__","@storybook/core/client-logger":"__STORYBOOK_MODULE_CLIENT_LOGGER__","storybook/internal/core-events":"__STORYBOOK_MODULE_CORE_EVENTS__","@storybook/core-events":"__STORYBOOK_MODULE_CORE_EVENTS__","@storybook/core/core-events":"__STORYBOOK_MODULE_CORE_EVENTS__","storybook/internal/preview-errors":"__STORYBOOK_MODULE_CORE_EVENTS_PREVIEW_ERRORS__","@storybook/core-events/preview-errors":"__STORYBOOK_MODULE_CORE_EVENTS_PREVIEW_ERRORS__","@storybook/core/preview-errors":"__STORYBOOK_MODULE_CORE_EVENTS_PREVIEW_ERRORS__","storybook/internal/preview-api":"__STORYBOOK_MODULE_PREVIEW_API__","@storybook/preview-api":"__STORYBOOK_MODULE_PREVIEW_API__","@storybook/core/preview-api":"__STORYBOOK_MODULE_PREVIEW_API__","storybook/internal/types":"__STORYBOOK_MODULE_TYPES__","@storybook/types":"__STORYBOOK_MODULE_TYPES__","@storybook/core/types":"__STORYBOOK_MODULE_TYPES__"},cs=Object.keys(yo),br={};_e(br,{Channel:()=>ie,HEARTBEAT_INTERVAL:()=>Po,HEARTBEAT_MAX_LATENCY:()=>Oo,PostMessageTransport:()=>Qe,WebsocketTransport:()=>Ze,createBrowserChannel:()=>kd,default:()=>Nd});function _$1(t){for(var e=[],r=1;r<arguments.length;r++)e[r-1]=arguments[r];var o=Array.from(typeof t=="string"?[t]:t);o[o.length-1]=o[o.length-1].replace(/\r?\n([\t ]*)$/,"");var i=o.reduce(function(l,c){var p=c.match(/\n([\t ]+|(?!\s).)/g);return p?l.concat(p.map(function(m){var h,g;return(g=(h=m.match(/[\t ]/g))===null||h===void 0?void 0:h.length)!==null&&g!==void 0?g:0})):l},[]);if(i.length){var a=new RegExp(` -[ ]{`+Math.min.apply(Math,i)+"}","g");o=o.map(function(l){return l.replace(a,` -`)})}o[0]=o[0].replace(/^\r?\n/,"");var u=o[0];return e.forEach(function(l,c){var p=u.match(/(?:^|\n)( *)$/),m=p?p[1]:"",h=l;typeof l=="string"&&l.includes(` -`)&&(h=String(l).split(` -`).map(function(g,J){return J===0?g:""+m+g}).join(` -`)),u+=h+o[c+1]}),u}n(_$1,"dedent");var ps=_$1,mo=new Map,Ml="UNIVERSAL_STORE:",ee={PENDING:"PENDING",RESOLVED:"RESOLVED",REJECTED:"REJECTED"},w=class Ge{constructor(e,r){if(this.debugging=!1,this.listeners=new Map([["*",new Set]]),this.getState=n(()=>(this.debug("getState",{state:this.state}),this.state),"getState"),this.subscribe=n((o,i)=>{let a=typeof o=="function",u=a?"*":o,l=a?o:i;if(this.debug("subscribe",{eventType:u,listener:l}),!l)throw new TypeError(`Missing first subscribe argument, or second if first is the event type, when subscribing to a UniversalStore with id '${this.id}'`);return this.listeners.has(u)||this.listeners.set(u,new Set),this.listeners.get(u).add(l),()=>{var c;this.debug("unsubscribe",{eventType:u,listener:l}),this.listeners.has(u)&&(this.listeners.get(u).delete(l),((c=this.listeners.get(u))==null?void 0:c.size)===0&&this.listeners.delete(u))}},"subscribe"),this.send=n(o=>{if(this.debug("send",{event:o}),this.status!==Ge.Status.READY)throw new TypeError(_$1`Cannot send event before store is ready. You can get the current status with store.status, - or await store.readyPromise to wait for the store to be ready before sending events. - ${JSON.stringify({event:o,id:this.id,actor:this.actor,environment:this.environment},null,2)}`);this.emitToListeners(o,{actor:this.actor}),this.emitToChannel(o,{actor:this.actor})},"send"),this.debugging=e.debug??!1,!Ge.isInternalConstructing)throw new TypeError("UniversalStore is not constructable - use UniversalStore.create() instead");if(Ge.isInternalConstructing=!1,this.id=e.id,this.actorId=Date.now().toString(36)+Math.random().toString(36).substring(2),this.actorType=e.leader?Ge.ActorType.LEADER:Ge.ActorType.FOLLOWER,this.state=e.initialState,this.channelEventName=`${Ml}${this.id}`,this.debug("constructor",{options:e,environmentOverrides:r,channelEventName:this.channelEventName}),this.actor.type===Ge.ActorType.LEADER)this.syncing={state:ee.RESOLVED,promise:Promise.resolve()};else{let o,i,a=new Promise((u,l)=>{o=n(()=>{this.syncing.state===ee.PENDING&&(this.syncing.state=ee.RESOLVED,u())},"syncingResolve"),i=n(c=>{this.syncing.state===ee.PENDING&&(this.syncing.state=ee.REJECTED,l(c))},"syncingReject")});this.syncing={state:ee.PENDING,promise:a,resolve:o,reject:i}}this.getState=this.getState.bind(this),this.setState=this.setState.bind(this),this.subscribe=this.subscribe.bind(this),this.onStateChange=this.onStateChange.bind(this),this.send=this.send.bind(this),this.emitToChannel=this.emitToChannel.bind(this),this.prepareThis=this.prepareThis.bind(this),this.emitToListeners=this.emitToListeners.bind(this),this.handleChannelEvents=this.handleChannelEvents.bind(this),this.debug=this.debug.bind(this),this.channel=(r==null?void 0:r.channel)??Ge.preparation.channel,this.environment=(r==null?void 0:r.environment)??Ge.preparation.environment,this.channel&&this.environment?this.prepareThis({channel:this.channel,environment:this.environment}):Ge.preparation.promise.then(this.prepareThis)}static setupPreparationPromise(){let e,r,o=new Promise((i,a)=>{e=n(u=>{i(u)},"resolveRef"),r=n((...u)=>{a(u)},"rejectRef")});Ge.preparation={resolve:e,reject:r,promise:o}}get actor(){return Object.freeze({id:this.actorId,type:this.actorType,environment:this.environment??Ge.Environment.UNKNOWN})}get status(){var e;if(!this.channel||!this.environment)return Ge.Status.UNPREPARED;switch((e=this.syncing)==null?void 0:e.state){case ee.PENDING:case void 0:return Ge.Status.SYNCING;case ee.REJECTED:return Ge.Status.ERROR;case ee.RESOLVED:default:return Ge.Status.READY}}untilReady(){var e;return Promise.all([Ge.preparation.promise,(e=this.syncing)==null?void 0:e.promise])}static create(e){if(!e||typeof(e==null?void 0:e.id)!="string")throw new TypeError("id is required and must be a string, when creating a UniversalStore");e.debug&&console.debug(_$1`[UniversalStore] - create`,{options:e});let r=mo.get(e.id);if(r)return console.warn(_$1`UniversalStore with id "${e.id}" already exists in this environment, re-using existing. - You should reuse the existing instance instead of trying to create a new one.`),r;Ge.isInternalConstructing=!0;let o=new Ge(e);return mo.set(e.id,o),o}static __prepare(e,r){Ge.preparation.channel=e,Ge.preparation.environment=r,Ge.preparation.resolve({channel:e,environment:r})}setState(e){let r=this.state,o=typeof e=="function"?e(r):e;if(this.debug("setState",{newState:o,previousState:r,updater:e}),this.status!==Ge.Status.READY)throw new TypeError(_$1`Cannot set state before store is ready. You can get the current status with store.status, - or await store.readyPromise to wait for the store to be ready before sending events. - ${JSON.stringify({newState:o,id:this.id,actor:this.actor,environment:this.environment},null,2)}`);this.state=o;let i={type:Ge.InternalEventType.SET_STATE,payload:{state:o,previousState:r}};this.emitToChannel(i,{actor:this.actor}),this.emitToListeners(i,{actor:this.actor})}onStateChange(e){return this.debug("onStateChange",{listener:e}),this.subscribe(Ge.InternalEventType.SET_STATE,({payload:r},o)=>{e(r.state,r.previousState,o)})}emitToChannel(e,r){var o;this.debug("emitToChannel",{event:e,eventInfo:r,channel:this.channel}),(o=this.channel)==null||o.emit(this.channelEventName,{event:e,eventInfo:r})}prepareThis({channel:e,environment:r}){this.channel=e,this.environment=r,this.debug("prepared",{channel:e,environment:r}),this.channel.on(this.channelEventName,this.handleChannelEvents),this.actor.type===Ge.ActorType.LEADER?this.emitToChannel({type:Ge.InternalEventType.LEADER_CREATED},{actor:this.actor}):(this.emitToChannel({type:Ge.InternalEventType.FOLLOWER_CREATED},{actor:this.actor}),this.emitToChannel({type:Ge.InternalEventType.EXISTING_STATE_REQUEST},{actor:this.actor}),setTimeout(()=>{this.syncing.reject(new TypeError(`No existing state found for follower with id: '${this.id}'. Make sure a leader with the same id exists before creating a follower.`))},1e3))}emitToListeners(e,r){let o=this.listeners.get(e.type),i=this.listeners.get("*");this.debug("emitToListeners",{event:e,eventInfo:r,eventTypeListeners:o,everythingListeners:i}),[...o??[],...i??[]].forEach(a=>a(e,r))}handleChannelEvents(e){var i,a,u,l,c;let{event:r,eventInfo:o}=e;if([o.actor.id,(i=o.forwardingActor)==null?void 0:i.id].includes(this.actor.id)){this.debug("handleChannelEvents: Ignoring event from self",{channelEvent:e});return}else if(((a=this.syncing)==null?void 0:a.state)===ee.PENDING&&r.type!==Ge.InternalEventType.EXISTING_STATE_RESPONSE){this.debug("handleChannelEvents: Ignoring event while syncing",{channelEvent:e});return}if(this.debug("handleChannelEvents",{channelEvent:e}),this.actor.type===Ge.ActorType.LEADER){let p=!0;switch(r.type){case Ge.InternalEventType.EXISTING_STATE_REQUEST:p=!1;let m={type:Ge.InternalEventType.EXISTING_STATE_RESPONSE,payload:this.state};this.debug("handleChannelEvents: responding to existing state request",{responseEvent:m}),this.emitToChannel(m,{actor:this.actor});break;case Ge.InternalEventType.LEADER_CREATED:p=!1,this.syncing.state=ee.REJECTED,this.debug("handleChannelEvents: erroring due to second leader being created",{event:r}),console.error(_$1`Detected multiple UniversalStore leaders created with the same id "${this.id}". - Only one leader can exists at a time, your stores are now in an invalid state. - Leaders detected: - this: ${JSON.stringify(this.actor,null,2)} - other: ${JSON.stringify(o.actor,null,2)}`);break}p&&(this.debug("handleChannelEvents: forwarding event",{channelEvent:e}),this.emitToChannel(r,{actor:o.actor,forwardingActor:this.actor}))}if(this.actor.type===Ge.ActorType.FOLLOWER)switch(r.type){case Ge.InternalEventType.EXISTING_STATE_RESPONSE:if(this.debug("handleChannelEvents: Setting state from leader's existing state response",{event:r}),((u=this.syncing)==null?void 0:u.state)!==ee.PENDING)break;(c=(l=this.syncing).resolve)==null||c.call(l);let p={type:Ge.InternalEventType.SET_STATE,payload:{state:r.payload,previousState:this.state}};this.state=r.payload,this.emitToListeners(p,o);break}switch(r.type){case Ge.InternalEventType.SET_STATE:this.debug("handleChannelEvents: Setting state",{event:r}),this.state=r.payload.state;break}this.emitToListeners(r,{actor:o.actor})}debug(e,r){this.debugging&&console.debug(_$1`[UniversalStore::${this.id}::${this.environment??Ge.Environment.UNKNOWN}] - ${e}`,JSON.stringify({data:r,actor:this.actor,state:this.state,status:this.status},null,2))}static __reset(){Ge.preparation.reject(new Error("reset")),Ge.setupPreparationPromise(),Ge.isInternalConstructing=!1}};n(w,"UniversalStore"),w.ActorType={LEADER:"LEADER",FOLLOWER:"FOLLOWER"},w.Environment={SERVER:"SERVER",MANAGER:"MANAGER",PREVIEW:"PREVIEW",UNKNOWN:"UNKNOWN",MOCK:"MOCK"},w.InternalEventType={EXISTING_STATE_REQUEST:"__EXISTING_STATE_REQUEST",EXISTING_STATE_RESPONSE:"__EXISTING_STATE_RESPONSE",SET_STATE:"__SET_STATE",LEADER_CREATED:"__LEADER_CREATED",FOLLOWER_CREATED:"__FOLLOWER_CREATED"},w.Status={UNPREPARED:"UNPREPARED",SYNCING:"SYNCING",READY:"READY",ERROR:"ERROR"},w.isInternalConstructing=!1,w.setupPreparationPromise();var Q=w,Ul=n(t=>t.transports!==void 0,"isMulti"),Gl=n(()=>Math.random().toString(16).slice(2),"generateRandomId"),ho=class{constructor(e={}){this.sender=Gl(),this.events={},this.data={},this.transports=[],this.isAsync=e.async||!1,Ul(e)?(this.transports=e.transports||[],this.transports.forEach(r=>{r.setHandler(o=>this.handleEvent(o))})):this.transports=e.transport?[e.transport]:[],this.transports.forEach(r=>{r.setHandler(o=>this.handleEvent(o))})}get hasTransport(){return this.transports.length>0}addListener(e,r){this.events[e]=this.events[e]||[],this.events[e].push(r)}emit(e,...r){let o={type:e,args:r,from:this.sender},i={};r.length>=1&&r[0]&&r[0].options&&(i=r[0].options);let a=n(()=>{this.transports.forEach(u=>{u.send(o,i)}),this.handleEvent(o)},"handler");this.isAsync?setImmediate(a):a()}last(e){return this.data[e]}eventNames(){return Object.keys(this.events)}listenerCount(e){let r=this.listeners(e);return r?r.length:0}listeners(e){return this.events[e]||void 0}once(e,r){let o=this.onceListener(e,r);this.addListener(e,o)}removeAllListeners(e){e?this.events[e]&&delete this.events[e]:this.events={}}removeListener(e,r){let o=this.listeners(e);o&&(this.events[e]=o.filter(i=>i!==r))}on(e,r){this.addListener(e,r)}off(e,r){this.removeListener(e,r)}handleEvent(e){let r=this.listeners(e.type);r&&r.length&&r.forEach(o=>{o.apply(e,e.args)}),this.data[e.type]=e.args}onceListener(e,r){let o=n((...i)=>(this.removeListener(e,o),r(...i)),"onceListener");return o}};n(ho,"Channel");var ie=ho,mr={};_e(mr,{deprecate:()=>ae,logger:()=>I$1,once:()=>j$1,pretty:()=>X});var{LOGLEVEL:ql}=E$1,Se={trace:1,debug:2,info:3,warn:4,error:5,silent:10},Bl=ql,$e=Se[Bl]||Se.info,I$1={trace:n((t,...e)=>{$e<=Se.trace&&console.trace(t,...e)},"trace"),debug:n((t,...e)=>{$e<=Se.debug&&console.debug(t,...e)},"debug"),info:n((t,...e)=>{$e<=Se.info&&console.info(t,...e)},"info"),warn:n((t,...e)=>{$e<=Se.warn&&console.warn(t,...e)},"warn"),error:n((t,...e)=>{$e<=Se.error&&console.error(t,...e)},"error"),log:n((t,...e)=>{$e<Se.silent&&console.log(t,...e)},"log")},go=new Set,j$1=n(t=>(e,...r)=>{if(!go.has(e))return go.add(e),I$1[t](e,...r)},"once");j$1.clear=()=>go.clear();j$1.trace=j$1("trace");j$1.debug=j$1("debug");j$1.info=j$1("info");j$1.warn=j$1("warn");j$1.error=j$1("error");j$1.log=j$1("log");var ae=j$1("warn"),X=n(t=>(...e)=>{let r=[];if(e.length){let o=/<span\s+style=(['"])([^'"]*)\1\s*>/gi,i=/<\/span>/gi,a;for(r.push(e[0].replace(o,"%c").replace(i,"%c"));a=o.exec(e[0]);)r.push(a[2]),r.push("");for(let u=1;u<e.length;u++)r.push(e[u])}I$1[t].apply(I$1,r)},"pretty");X.trace=X("trace");X.debug=X("debug");X.info=X("info");X.warn=X("warn");X.error=X("error");var Vl=Object.create,ds=Object.defineProperty,Hl=Object.getOwnPropertyDescriptor,us=Object.getOwnPropertyNames,zl=Object.getPrototypeOf,Wl=Object.prototype.hasOwnProperty,Z=n((t,e)=>n(function(){return e||(0,t[us(t)[0]])((e={exports:{}}).exports,e),e.exports},"__require"),"__commonJS"),$l=n((t,e,r,o)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of us(e))!Wl.call(t,i)&&i!==r&&ds(t,i,{get:n(()=>e[i],"get"),enumerable:!(o=Hl(e,i))||o.enumerable});return t},"__copyProps"),st=n((t,e,r)=>(r=t!=null?Vl(zl(t)):{},$l(e||!t||!t.__esModule?ds(r,"default",{value:t,enumerable:!0}):r,t)),"__toESM"),Yl=["bubbles","cancelBubble","cancelable","composed","currentTarget","defaultPrevented","eventPhase","isTrusted","returnValue","srcElement","target","timeStamp","type"],Kl=["detail"];function fs(t){let e=Yl.filter(r=>t[r]!==void 0).reduce((r,o)=>({...r,[o]:t[o]}),{});return t instanceof CustomEvent&&Kl.filter(r=>t[r]!==void 0).forEach(r=>{e[r]=t[r]}),e}n(fs,"extractEventHiddenProperties");var Ps=ue(it(),1),Ts=Z({"node_modules/has-symbols/shams.js"(t,e){e.exports=n(function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return!1;if(typeof Symbol.iterator=="symbol")return!0;var r={},o=Symbol("test"),i=Object(o);if(typeof o=="string"||Object.prototype.toString.call(o)!=="[object Symbol]"||Object.prototype.toString.call(i)!=="[object Symbol]")return!1;var a=42;r[o]=a;for(o in r)return!1;if(typeof Object.keys=="function"&&Object.keys(r).length!==0||typeof Object.getOwnPropertyNames=="function"&&Object.getOwnPropertyNames(r).length!==0)return!1;var u=Object.getOwnPropertySymbols(r);if(u.length!==1||u[0]!==o||!Object.prototype.propertyIsEnumerable.call(r,o))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var l=Object.getOwnPropertyDescriptor(r,o);if(l.value!==a||l.enumerable!==!0)return!1}return!0},"hasSymbols")}}),Es=Z({"node_modules/has-symbols/index.js"(t,e){var r=typeof Symbol<"u"&&Symbol,o=Ts();e.exports=n(function(){return typeof r!="function"||typeof Symbol!="function"||typeof r("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:o()},"hasNativeSymbols")}}),Xl=Z({"node_modules/function-bind/implementation.js"(t,e){var r="Function.prototype.bind called on incompatible ",o=Array.prototype.slice,i=Object.prototype.toString,a="[object Function]";e.exports=n(function(u){var l=this;if(typeof l!="function"||i.call(l)!==a)throw new TypeError(r+l);for(var c=o.call(arguments,1),p,m=n(function(){if(this instanceof p){var le=l.apply(this,c.concat(o.call(arguments)));return Object(le)===le?le:this}else return l.apply(u,c.concat(o.call(arguments)))},"binder"),h=Math.max(0,l.length-c.length),g=[],J=0;J<h;J++)g.push("$"+J);if(p=Function("binder","return function ("+g.join(",")+"){ return binder.apply(this,arguments); }")(m),l.prototype){var ne=n(function(){},"Empty2");ne.prototype=l.prototype,p.prototype=new ne,ne.prototype=null}return p},"bind")}}),To=Z({"node_modules/function-bind/index.js"(t,e){var r=Xl();e.exports=Function.prototype.bind||r}}),Jl=Z({"node_modules/has/src/index.js"(t,e){var r=To();e.exports=r.call(Function.call,Object.prototype.hasOwnProperty)}}),Rs=Z({"node_modules/get-intrinsic/index.js"(t,e){var r,o=SyntaxError,i=Function,a=TypeError,u=n(function(qe){try{return i('"use strict"; return ('+qe+").constructor;")()}catch{}},"getEvalledConstructor"),l=Object.getOwnPropertyDescriptor;if(l)try{l({},"")}catch{l=null}var c=n(function(){throw new a},"throwTypeError"),p=l?function(){try{return arguments.callee,c}catch{try{return l(arguments,"callee").get}catch{return c}}}():c,m=Es()(),h=Object.getPrototypeOf||function(qe){return qe.__proto__},g={},J=typeof Uint8Array>"u"?r:h(Uint8Array),ne={"%AggregateError%":typeof AggregateError>"u"?r:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?r:ArrayBuffer,"%ArrayIteratorPrototype%":m?h([][Symbol.iterator]()):r,"%AsyncFromSyncIteratorPrototype%":r,"%AsyncFunction%":g,"%AsyncGenerator%":g,"%AsyncGeneratorFunction%":g,"%AsyncIteratorPrototype%":g,"%Atomics%":typeof Atomics>"u"?r:Atomics,"%BigInt%":typeof BigInt>"u"?r:BigInt,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?r:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%eval%":eval,"%EvalError%":EvalError,"%Float32Array%":typeof Float32Array>"u"?r:Float32Array,"%Float64Array%":typeof Float64Array>"u"?r:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?r:FinalizationRegistry,"%Function%":i,"%GeneratorFunction%":g,"%Int8Array%":typeof Int8Array>"u"?r:Int8Array,"%Int16Array%":typeof Int16Array>"u"?r:Int16Array,"%Int32Array%":typeof Int32Array>"u"?r:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":m?h(h([][Symbol.iterator]())):r,"%JSON%":typeof JSON=="object"?JSON:r,"%Map%":typeof Map>"u"?r:Map,"%MapIteratorPrototype%":typeof Map>"u"||!m?r:h(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?r:Promise,"%Proxy%":typeof Proxy>"u"?r:Proxy,"%RangeError%":RangeError,"%ReferenceError%":ReferenceError,"%Reflect%":typeof Reflect>"u"?r:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?r:Set,"%SetIteratorPrototype%":typeof Set>"u"||!m?r:h(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?r:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":m?h(""[Symbol.iterator]()):r,"%Symbol%":m?Symbol:r,"%SyntaxError%":o,"%ThrowTypeError%":p,"%TypedArray%":J,"%TypeError%":a,"%Uint8Array%":typeof Uint8Array>"u"?r:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?r:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?r:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?r:Uint32Array,"%URIError%":URIError,"%WeakMap%":typeof WeakMap>"u"?r:WeakMap,"%WeakRef%":typeof WeakRef>"u"?r:WeakRef,"%WeakSet%":typeof WeakSet>"u"?r:WeakSet},le=n(function qe(Dt){var d;if(Dt==="%AsyncFunction%")d=u("async function () {}");else if(Dt==="%GeneratorFunction%")d=u("function* () {}");else if(Dt==="%AsyncGeneratorFunction%")d=u("async function* () {}");else if(Dt==="%AsyncGenerator%"){var A=qe("%AsyncGeneratorFunction%");A&&(d=A.prototype)}else if(Dt==="%AsyncIteratorPrototype%"){var B=qe("%AsyncGenerator%");B&&(d=h(B.prototype))}return ne[Dt]=d,d},"doEval2"),re={"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},ce=To(),F=Jl(),se=ce.call(Function.call,Array.prototype.concat),he=ce.call(Function.apply,Array.prototype.splice),Ve=ce.call(Function.call,String.prototype.replace),ve=ce.call(Function.call,String.prototype.slice),we=ce.call(Function.call,RegExp.prototype.exec),Nt=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,Bt=/\\(\\)?/g,Ft=n(function(qe){var Dt=ve(qe,0,1),d=ve(qe,-1);if(Dt==="%"&&d!=="%")throw new o("invalid intrinsic syntax, expected closing `%`");if(d==="%"&&Dt!=="%")throw new o("invalid intrinsic syntax, expected opening `%`");var A=[];return Ve(qe,Nt,function(B,pe,de,Lt){A[A.length]=de?Ve(Lt,Bt,"$1"):pe||B}),A},"stringToPath3"),jt=n(function(qe,Dt){var d=qe,A;if(F(re,d)&&(A=re[d],d="%"+A[0]+"%"),F(ne,d)){var B=ne[d];if(B===g&&(B=le(d)),typeof B>"u"&&!Dt)throw new a("intrinsic "+qe+" exists, but is not available. Please file an issue!");return{alias:A,name:d,value:B}}throw new o("intrinsic "+qe+" does not exist!")},"getBaseIntrinsic2");e.exports=n(function(qe,Dt){if(typeof qe!="string"||qe.length===0)throw new a("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof Dt!="boolean")throw new a('"allowMissing" argument must be a boolean');if(we(/^%?[^%]*%?$/,qe)===null)throw new o("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var d=Ft(qe),A=d.length>0?d[0]:"",B=jt("%"+A+"%",Dt),pe=B.name,de=B.value,Lt=!1,qt=B.alias;qt&&(A=qt[0],he(d,se([0,1],qt)));for(var Ut=1,Mt=!0;Ut<d.length;Ut+=1){var Gt=d[Ut],lr=ve(Gt,0,1),zr=ve(Gt,-1);if((lr==='"'||lr==="'"||lr==="`"||zr==='"'||zr==="'"||zr==="`")&&lr!==zr)throw new o("property names with quotes must have matching quotes");if((Gt==="constructor"||!Mt)&&(Lt=!0),A+="."+Gt,pe="%"+A+"%",F(ne,pe))de=ne[pe];else if(de!=null){if(!(Gt in de)){if(!Dt)throw new a("base intrinsic for "+qe+" exists, but the property is not available.");return}if(l&&Ut+1>=d.length){var Qr=l(de,Gt);Mt=!!Qr,Mt&&"get"in Qr&&!("originalValue"in Qr.get)?de=Qr.get:de=de[Gt]}else Mt=F(de,Gt),de=de[Gt];Mt&&!Lt&&(ne[pe]=de)}}return de},"GetIntrinsic")}}),Ql=Z({"node_modules/call-bind/index.js"(t,e){var r=To(),o=Rs(),i=o("%Function.prototype.apply%"),a=o("%Function.prototype.call%"),u=o("%Reflect.apply%",!0)||r.call(a,i),l=o("%Object.getOwnPropertyDescriptor%",!0),c=o("%Object.defineProperty%",!0),p=o("%Math.max%");if(c)try{c({},"a",{value:1})}catch{c=null}e.exports=n(function(h){var g=u(r,a,arguments);if(l&&c){var J=l(g,"length");J.configurable&&c(g,"length",{value:1+p(0,h.length-(arguments.length-1))})}return g},"callBind");var m=n(function(){return u(r,i,arguments)},"applyBind2");c?c(e.exports,"apply",{value:m}):e.exports.apply=m}}),Zl=Z({"node_modules/call-bind/callBound.js"(t,e){var r=Rs(),o=Ql(),i=o(r("String.prototype.indexOf"));e.exports=n(function(a,u){var l=r(a,!!u);return typeof l=="function"&&i(a,".prototype.")>-1?o(l):l},"callBoundIntrinsic")}}),ec=Z({"node_modules/has-tostringtag/shams.js"(t,e){var r=Ts();e.exports=n(function(){return r()&&!!Symbol.toStringTag},"hasToStringTagShams")}}),rc=Z({"node_modules/is-regex/index.js"(t,e){var r=Zl(),o=ec()(),i,a,u,l;o&&(i=r("Object.prototype.hasOwnProperty"),a=r("RegExp.prototype.exec"),u={},c=n(function(){throw u},"throwRegexMarker"),l={toString:c,valueOf:c},typeof Symbol.toPrimitive=="symbol"&&(l[Symbol.toPrimitive]=c));var c,p=r("Object.prototype.toString"),m=Object.getOwnPropertyDescriptor,h="[object RegExp]";e.exports=n(o?function(g){if(!g||typeof g!="object")return!1;var J=m(g,"lastIndex"),ne=J&&i(J,"value");if(!ne)return!1;try{a(g,l)}catch(le){return le===u}}:function(g){return!g||typeof g!="object"&&typeof g!="function"?!1:p(g)===h},"isRegex")}}),tc=Z({"node_modules/is-function/index.js"(t,e){e.exports=o;var r=Object.prototype.toString;function o(i){if(!i)return!1;var a=r.call(i);return a==="[object Function]"||typeof i=="function"&&a!=="[object RegExp]"||typeof window<"u"&&(i===window.setTimeout||i===window.alert||i===window.confirm||i===window.prompt)}n(o,"isFunction3")}}),oc=Z({"node_modules/is-symbol/index.js"(t,e){var r=Object.prototype.toString,o=Es()();o?(i=Symbol.prototype.toString,a=/^Symbol\(.*\)$/,u=n(function(l){return typeof l.valueOf()!="symbol"?!1:a.test(i.call(l))},"isRealSymbolObject"),e.exports=n(function(l){if(typeof l=="symbol")return!0;if(r.call(l)!=="[object Symbol]")return!1;try{return u(l)}catch{return!1}},"isSymbol3")):e.exports=n(function(l){return!1},"isSymbol3");var i,a,u}}),nc=st(rc()),sc=st(tc()),ic=st(oc());function ac(t){return t!=null&&typeof t=="object"&&Array.isArray(t)===!1}n(ac,"isObject");var lc=typeof global=="object"&&global&&global.Object===Object&&global,cc=lc,pc=typeof self=="object"&&self&&self.Object===Object&&self,dc=cc||pc||Function("return this")(),Eo=dc,uc=Eo.Symbol,Ye=uc,As=Object.prototype,fc=As.hasOwnProperty,yc=As.toString,hr=Ye?Ye.toStringTag:void 0;function mc(t){var e=fc.call(t,hr),r=t[hr];try{t[hr]=void 0;var o=!0}catch{}var i=yc.call(t);return o&&(e?t[hr]=r:delete t[hr]),i}n(mc,"getRawTag");var hc=mc,gc=Object.prototype,Sc=gc.toString;function bc(t){return Sc.call(t)}n(bc,"objectToString");var Tc=bc,Ec="[object Null]",Rc="[object Undefined]",ms=Ye?Ye.toStringTag:void 0;function Ac(t){return t==null?t===void 0?Rc:Ec:ms&&ms in Object(t)?hc(t):Tc(t)}n(Ac,"baseGetTag");var xs=Ac;function xc(t){return t!=null&&typeof t=="object"}n(xc,"isObjectLike");var vc=xc,wc="[object Symbol]";function _c(t){return typeof t=="symbol"||vc(t)&&xs(t)==wc}n(_c,"isSymbol");var Ro=_c;function Cc(t,e){for(var r=-1,o=t==null?0:t.length,i=Array(o);++r<o;)i[r]=e(t[r],r,t);return i}n(Cc,"arrayMap");var Pc=Cc,Oc=Array.isArray,Ao=Oc,Ic=1/0,hs=Ye?Ye.prototype:void 0,gs=hs?hs.toString:void 0;function vs(t){if(typeof t=="string")return t;if(Ao(t))return Pc(t,vs)+"";if(Ro(t))return gs?gs.call(t):"";var e=t+"";return e=="0"&&1/t==-Ic?"-0":e}n(vs,"baseToString");var Fc=vs;function Dc(t){var e=typeof t;return t!=null&&(e=="object"||e=="function")}n(Dc,"isObject2");var ws=Dc,Nc="[object AsyncFunction]",kc="[object Function]",Lc="[object GeneratorFunction]",jc="[object Proxy]";function Mc(t){if(!ws(t))return!1;var e=xs(t);return e==kc||e==Lc||e==Nc||e==jc}n(Mc,"isFunction");var Uc=Mc,Gc=Eo["__core-js_shared__"],bo=Gc,Ss=function(){var t=/[^.]+$/.exec(bo&&bo.keys&&bo.keys.IE_PROTO||"");return t?"Symbol(src)_1."+t:""}();function qc(t){return!!Ss&&Ss in t}n(qc,"isMasked");var Bc=qc,Vc=Function.prototype,Hc=Vc.toString;function zc(t){if(t!=null){try{return Hc.call(t)}catch{}try{return t+""}catch{}}return""}n(zc,"toSource");var Wc=zc,$c=/[\\^$.*+?()[\]{}|]/g,Yc=/^\[object .+?Constructor\]$/,Kc=Function.prototype,Xc=Object.prototype,Jc=Kc.toString,Qc=Xc.hasOwnProperty,Zc=RegExp("^"+Jc.call(Qc).replace($c,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function ep(t){if(!ws(t)||Bc(t))return!1;var e=Uc(t)?Zc:Yc;return e.test(Wc(t))}n(ep,"baseIsNative");var rp=ep;function tp(t,e){return t==null?void 0:t[e]}n(tp,"getValue");var op=tp;function np(t,e){var r=op(t,e);return rp(r)?r:void 0}n(np,"getNative");var _s=np;function sp(t,e){return t===e||t!==t&&e!==e}n(sp,"eq");var ip=sp,ap=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,lp=/^\w*$/;function cp(t,e){if(Ao(t))return!1;var r=typeof t;return r=="number"||r=="symbol"||r=="boolean"||t==null||Ro(t)?!0:lp.test(t)||!ap.test(t)||e!=null&&t in Object(e)}n(cp,"isKey");var pp=cp,dp=_s(Object,"create"),gr=dp;function up(){this.__data__=gr?gr(null):{},this.size=0}n(up,"hashClear");var fp=up;function yp(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e}n(yp,"hashDelete");var mp=yp,hp="__lodash_hash_undefined__",gp=Object.prototype,Sp=gp.hasOwnProperty;function bp(t){var e=this.__data__;if(gr){var r=e[t];return r===hp?void 0:r}return Sp.call(e,t)?e[t]:void 0}n(bp,"hashGet");var Tp=bp,Ep=Object.prototype,Rp=Ep.hasOwnProperty;function Ap(t){var e=this.__data__;return gr?e[t]!==void 0:Rp.call(e,t)}n(Ap,"hashHas");var xp=Ap,vp="__lodash_hash_undefined__";function wp(t,e){var r=this.__data__;return this.size+=this.has(t)?0:1,r[t]=gr&&e===void 0?vp:e,this}n(wp,"hashSet");var _p=wp;function Ke(t){var e=-1,r=t==null?0:t.length;for(this.clear();++e<r;){var o=t[e];this.set(o[0],o[1])}}n(Ke,"Hash");Ke.prototype.clear=fp;Ke.prototype.delete=mp;Ke.prototype.get=Tp;Ke.prototype.has=xp;Ke.prototype.set=_p;var bs=Ke;function Cp(){this.__data__=[],this.size=0}n(Cp,"listCacheClear");var Pp=Cp;function Op(t,e){for(var r=t.length;r--;)if(ip(t[r][0],e))return r;return-1}n(Op,"assocIndexOf");var lt=Op,Ip=Array.prototype,Fp=Ip.splice;function Dp(t){var e=this.__data__,r=lt(e,t);if(r<0)return!1;var o=e.length-1;return r==o?e.pop():Fp.call(e,r,1),--this.size,!0}n(Dp,"listCacheDelete");var Np=Dp;function kp(t){var e=this.__data__,r=lt(e,t);return r<0?void 0:e[r][1]}n(kp,"listCacheGet");var Lp=kp;function jp(t){return lt(this.__data__,t)>-1}n(jp,"listCacheHas");var Mp=jp;function Up(t,e){var r=this.__data__,o=lt(r,t);return o<0?(++this.size,r.push([t,e])):r[o][1]=e,this}n(Up,"listCacheSet");var Gp=Up;function Xe(t){var e=-1,r=t==null?0:t.length;for(this.clear();++e<r;){var o=t[e];this.set(o[0],o[1])}}n(Xe,"ListCache");Xe.prototype.clear=Pp;Xe.prototype.delete=Np;Xe.prototype.get=Lp;Xe.prototype.has=Mp;Xe.prototype.set=Gp;var qp=Xe,Bp=_s(Eo,"Map"),Vp=Bp;function Hp(){this.size=0,this.__data__={hash:new bs,map:new(Vp||qp),string:new bs}}n(Hp,"mapCacheClear");var zp=Hp;function Wp(t){var e=typeof t;return e=="string"||e=="number"||e=="symbol"||e=="boolean"?t!=="__proto__":t===null}n(Wp,"isKeyable");var $p=Wp;function Yp(t,e){var r=t.__data__;return $p(e)?r[typeof e=="string"?"string":"hash"]:r.map}n(Yp,"getMapData");var ct=Yp;function Kp(t){var e=ct(this,t).delete(t);return this.size-=e?1:0,e}n(Kp,"mapCacheDelete");var Xp=Kp;function Jp(t){return ct(this,t).get(t)}n(Jp,"mapCacheGet");var Qp=Jp;function Zp(t){return ct(this,t).has(t)}n(Zp,"mapCacheHas");var ed=Zp;function rd(t,e){var r=ct(this,t),o=r.size;return r.set(t,e),this.size+=r.size==o?0:1,this}n(rd,"mapCacheSet");var td=rd;function Je(t){var e=-1,r=t==null?0:t.length;for(this.clear();++e<r;){var o=t[e];this.set(o[0],o[1])}}n(Je,"MapCache");Je.prototype.clear=zp;Je.prototype.delete=Xp;Je.prototype.get=Qp;Je.prototype.has=ed;Je.prototype.set=td;var Cs=Je,od="Expected a function";function xo(t,e){if(typeof t!="function"||e!=null&&typeof e!="function")throw new TypeError(od);var r=n(function(){var o=arguments,i=e?e.apply(this,o):o[0],a=r.cache;if(a.has(i))return a.get(i);var u=t.apply(this,o);return r.cache=a.set(i,u)||a,u},"memoized");return r.cache=new(xo.Cache||Cs),r}n(xo,"memoize");xo.Cache=Cs;var nd=xo,sd=500;function id(t){var e=nd(t,function(o){return r.size===sd&&r.clear(),o}),r=e.cache;return e}n(id,"memoizeCapped");var ad=id,ld=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,cd=/\\(\\)?/g,pd=ad(function(t){var e=[];return t.charCodeAt(0)===46&&e.push(""),t.replace(ld,function(r,o,i,a){e.push(i?a.replace(cd,"$1"):o||r)}),e}),dd=pd;function ud(t){return t==null?"":Fc(t)}n(ud,"toString");var fd=ud;function yd(t,e){return Ao(t)?t:pp(t,e)?[t]:dd(fd(t))}n(yd,"castPath");var md=yd,hd=1/0;function gd(t){if(typeof t=="string"||Ro(t))return t;var e=t+"";return e=="0"&&1/t==-hd?"-0":e}n(gd,"toKey");var Sd=gd;function bd(t,e){e=md(e,t);for(var r=0,o=e.length;t!=null&&r<o;)t=t[Sd(e[r++])];return r&&r==o?t:void 0}n(bd,"baseGet");var Td=bd;function Ed(t,e,r){var o=t==null?void 0:Td(t,e);return o===void 0?r:o}n(Ed,"get");var Rd=Ed,at=ac,Ad=n(t=>{let e=null,r=!1,o=!1,i=!1,a="";if(t.indexOf("//")>=0||t.indexOf("/*")>=0)for(let u=0;u<t.length;u+=1)!e&&!r&&!o&&!i?t[u]==='"'||t[u]==="'"||t[u]==="`"?e=t[u]:t[u]==="/"&&t[u+1]==="*"?r=!0:t[u]==="/"&&t[u+1]==="/"?o=!0:t[u]==="/"&&t[u+1]!=="/"&&(i=!0):(e&&(t[u]===e&&t[u-1]!=="\\"||t[u]===` -`&&e!=="`")&&(e=null),i&&(t[u]==="/"&&t[u-1]!=="\\"||t[u]===` -`)&&(i=!1),r&&t[u-1]==="/"&&t[u-2]==="*"&&(r=!1),o&&t[u]===` -`&&(o=!1)),!r&&!o&&(a+=t[u]);else a=t;return a},"removeCodeComments"),xd=(0,Ps.default)(1e4)(t=>Ad(t).replace(/\n\s*/g,"").trim()),vd=n(function(t,e){let r=e.slice(0,e.indexOf("{")),o=e.slice(e.indexOf("{"));if(r.includes("=>")||r.includes("function"))return e;let i=r;return i=i.replace(t,"function"),i+o},"convertShorthandMethods2"),wd=/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}(\.\d{3})?Z$/,Sr=n(t=>t.match(/^[\[\{\"\}].*[\]\}\"]$/),"isJSON");function Os(t){if(!at(t))return t;let e=t,r=!1;return typeof Event<"u"&&t instanceof Event&&(e=fs(e),r=!0),e=Object.keys(e).reduce((o,i)=>{try{e[i]&&e[i].toJSON,o[i]=e[i]}catch{r=!0}return o},{}),r?e:t}n(Os,"convertUnconventionalData");var _d=n(function(t){let e,r,o,i;return n(function(a,u){try{if(a==="")return i=[],e=new Map([[u,"[]"]]),r=new Map,o=[],u;let l=r.get(this)||this;for(;o.length&&l!==o[0];)o.shift(),i.pop();if(typeof u=="boolean")return u;if(u===void 0)return t.allowUndefined?"_undefined_":void 0;if(u===null)return null;if(typeof u=="number")return u===-1/0?"_-Infinity_":u===1/0?"_Infinity_":Number.isNaN(u)?"_NaN_":u;if(typeof u=="bigint")return`_bigint_${u.toString()}`;if(typeof u=="string")return wd.test(u)?t.allowDate?`_date_${u}`:void 0:u;if((0,nc.default)(u))return t.allowRegExp?`_regexp_${u.flags}|${u.source}`:void 0;if((0,sc.default)(u)){if(!t.allowFunction)return;let{name:p}=u,m=u.toString();return m.match(/(\[native code\]|WEBPACK_IMPORTED_MODULE|__webpack_exports__|__webpack_require__)/)?`_function_${p}|${(()=>{}).toString()}`:`_function_${p}|${xd(vd(a,m))}`}if((0,ic.default)(u)){if(!t.allowSymbol)return;let p=Symbol.keyFor(u);return p!==void 0?`_gsymbol_${p}`:`_symbol_${u.toString().slice(7,-1)}`}if(o.length>=t.maxDepth)return Array.isArray(u)?`[Array(${u.length})]`:"[Object]";if(u===this)return`_duplicate_${JSON.stringify(i)}`;if(u instanceof Error&&t.allowError)return{__isConvertedError__:!0,errorProperties:{...u.cause?{cause:u.cause}:{},...u,name:u.name,message:u.message,stack:u.stack,"_constructor-name_":u.constructor.name}};if(u.constructor&&u.constructor.name&&u.constructor.name!=="Object"&&!Array.isArray(u)&&!t.allowClass)return;let c=e.get(u);if(!c){let p=Array.isArray(u)?u:Os(u);if(u.constructor&&u.constructor.name&&u.constructor.name!=="Object"&&!Array.isArray(u)&&t.allowClass)try{Object.assign(p,{"_constructor-name_":u.constructor.name})}catch{}return i.push(a),o.unshift(p),e.set(u,JSON.stringify(i)),u!==p&&r.set(u,p),p}return`_duplicate_${c}`}catch{return}},"replace")},"replacer2"),Cd=n(function reviver(options){let refs=[],root;return n(function revive(key,value){if(key===""&&(root=value,refs.forEach(({target:t,container:e,replacement:r})=>{let o=Sr(r)?JSON.parse(r):r.split(".");o.length===0?e[t]=root:e[t]=Rd(root,o)})),key==="_constructor-name_")return value;if(at(value)&&value.__isConvertedError__){let{message:t,...e}=value.errorProperties,r=new Error(t);return Object.assign(r,e),r}if(at(value)&&value["_constructor-name_"]&&options.allowFunction){let t=value["_constructor-name_"];if(t!=="Object"){let e=new Function(`return function ${t.replace(/[^a-zA-Z0-9$_]+/g,"")}(){}`)();Object.setPrototypeOf(value,new e)}return delete value["_constructor-name_"],value}if(typeof value=="string"&&value.startsWith("_function_")&&options.allowFunction){let[,name,source]=value.match(/_function_([^|]*)\|(.*)/)||[],sourceSanitized=source.replace(/[(\(\))|\\| |\]|`]*$/,"");if(!options.lazyEval)return eval(`(${sourceSanitized})`);let result=n((...args)=>{let f=eval(`(${sourceSanitized})`);return f(...args)},"result");return Object.defineProperty(result,"toString",{value:n(()=>sourceSanitized,"value")}),Object.defineProperty(result,"name",{value:name}),result}if(typeof value=="string"&&value.startsWith("_regexp_")&&options.allowRegExp){let[,t,e]=value.match(/_regexp_([^|]*)\|(.*)/)||[];return new RegExp(e,t)}return typeof value=="string"&&value.startsWith("_date_")&&options.allowDate?new Date(value.replace("_date_","")):typeof value=="string"&&value.startsWith("_duplicate_")?(refs.push({target:key,container:this,replacement:value.replace(/^_duplicate_/,"")}),null):typeof value=="string"&&value.startsWith("_symbol_")&&options.allowSymbol?Symbol(value.replace("_symbol_","")):typeof value=="string"&&value.startsWith("_gsymbol_")&&options.allowSymbol?Symbol.for(value.replace("_gsymbol_","")):typeof value=="string"&&value==="_-Infinity_"?-1/0:typeof value=="string"&&value==="_Infinity_"?1/0:typeof value=="string"&&value==="_NaN_"?NaN:typeof value=="string"&&value.startsWith("_bigint_")&&typeof BigInt=="function"?BigInt(value.replace("_bigint_","")):value},"revive")},"reviver"),Is={maxDepth:10,space:void 0,allowFunction:!0,allowRegExp:!0,allowDate:!0,allowClass:!0,allowError:!0,allowUndefined:!0,allowSymbol:!0,lazyEval:!0},pt=n((t,e={})=>{let r={...Is,...e};return JSON.stringify(Os(t),_d(r),e.space)},"stringify"),Pd=n(()=>{let t=new Map;return n(function e(r){at(r)&&Object.entries(r).forEach(([o,i])=>{i==="_undefined_"?r[o]=void 0:t.get(i)||(t.set(i,!0),e(i))}),Array.isArray(r)&&r.forEach((o,i)=>{o==="_undefined_"?(t.set(o,!0),r[i]=void 0):t.get(o)||(t.set(o,!0),e(o))})},"mutateUndefined")},"mutator"),dt=n((t,e={})=>{let r={...Is,...e},o=JSON.parse(t,Cd(r));return Pd()(o),o},"parse"),vo="Invariant failed";function fe(t,e){if(!t)throw new Error(vo)}n(fe,"invariant");var Fs=n(t=>{let e=Array.from(document.querySelectorAll("iframe[data-is-storybook]")),[r,...o]=e.filter(a=>{var c,p;try{return((c=a.contentWindow)==null?void 0:c.location.origin)===t.source.location.origin&&((p=a.contentWindow)==null?void 0:p.location.pathname)===t.source.location.pathname}catch{}try{return a.contentWindow===t.source}catch{}let u=a.getAttribute("src"),l;try{if(!u)return!1;({origin:l}=new URL(u,document.location.toString()))}catch{return!1}return l===t.origin}),i=r==null?void 0:r.getAttribute("src");if(i&&o.length===0){let{protocol:a,host:u,pathname:l}=new URL(i,document.location.toString());return`${a}//${u}${l}`}return o.length>0&&I$1.error("found multiple candidates for event source"),null},"getEventSourceUrl"),{document:wo,location:_o}=E$1,Ds="storybook-channel",Id={allowFunction:!1,maxDepth:25},Co=class{constructor(e){if(this.config=e,this.connected=!1,this.buffer=[],typeof(E$1==null?void 0:E$1.addEventListener)=="function"&&E$1.addEventListener("message",this.handleEvent.bind(this),!1),e.page!=="manager"&&e.page!=="preview")throw new Error(`postmsg-channel: "config.page" cannot be "${e.page}"`)}setHandler(e){this.handler=(...r)=>{e.apply(this,r),!this.connected&&this.getLocalFrame().length&&(this.flush(),this.connected=!0)}}send(e,r){let{target:o,allowRegExp:i,allowFunction:a,allowSymbol:u,allowDate:l,allowError:c,allowUndefined:p,allowClass:m,maxDepth:h,space:g,lazyEval:J}=r||{},ne=Object.fromEntries(Object.entries({allowRegExp:i,allowFunction:a,allowSymbol:u,allowDate:l,allowError:c,allowUndefined:p,allowClass:m,maxDepth:h,space:g,lazyEval:J}).filter(([se,he])=>typeof he<"u")),le={...Id,...E$1.CHANNEL_OPTIONS||{},...ne},re=this.getFrames(o),ce=new URLSearchParams((_o==null?void 0:_o.search)||""),F=pt({key:Ds,event:e,refId:ce.get("refId")},le);return re.length?(this.buffer.length&&this.flush(),re.forEach(se=>{try{se.postMessage(F,"*")}catch{I$1.error("sending over postmessage fail")}}),Promise.resolve(null)):new Promise((se,he)=>{this.buffer.push({event:e,resolve:se,reject:he})})}flush(){let{buffer:e}=this;this.buffer=[],e.forEach(r=>{this.send(r.event).then(r.resolve).catch(r.reject)})}getFrames(e){if(this.config.page==="manager"){let r=Array.from(wo.querySelectorAll("iframe[data-is-storybook][data-is-loaded]")).flatMap(o=>{try{return o.contentWindow&&o.dataset.isStorybook!==void 0&&o.id===e?[o.contentWindow]:[]}catch{return[]}});return r!=null&&r.length?r:this.getCurrentFrames()}return E$1&&E$1.parent&&E$1.parent!==E$1.self?[E$1.parent]:[]}getCurrentFrames(){return this.config.page==="manager"?Array.from(wo.querySelectorAll('[data-is-storybook="true"]')).flatMap(e=>e.contentWindow?[e.contentWindow]:[]):E$1&&E$1.parent?[E$1.parent]:[]}getLocalFrame(){return this.config.page==="manager"?Array.from(wo.querySelectorAll("#storybook-preview-iframe")).flatMap(e=>e.contentWindow?[e.contentWindow]:[]):E$1&&E$1.parent?[E$1.parent]:[]}handleEvent(e){try{let{data:r}=e,{key:o,event:i,refId:a}=typeof r=="string"&&Sr(r)?dt(r,E$1.CHANNEL_OPTIONS||{}):r;if(o===Ds){let u=this.config.page==="manager"?'<span style="color: #37D5D3; background: black"> manager </span>':'<span style="color: #1EA7FD; background: black"> preview </span>',l=Object.values(ge).includes(i.type)?`<span style="color: #FF4785">${i.type}</span>`:`<span style="color: #FFAE00">${i.type}</span>`;if(a&&(i.refId=a),i.source=this.config.page==="preview"?e.origin:Fs(e),!i.source){X.error(`${u} received ${l} but was unable to determine the source of the event`);return}let c=`${u} received ${l} (${r.length})`;X.debug(_o.origin!==i.source?c:`${c} <span style="color: gray">(on ${_o.origin} from ${i.source})</span>`,...i.args),fe(this.handler,"ChannelHandler should be set"),this.handler(i)}}catch(r){I$1.error(r)}}};n(Co,"PostMessageTransport");var Qe=Co,{WebSocket:Fd}=E$1,Po=15e3,Oo=5e3,Io=class{constructor({url:e,onError:r,page:o}){this.buffer=[],this.isReady=!1,this.isClosed=!1,this.pingTimeout=0,this.socket=new Fd(e),this.socket.onopen=()=>{this.isReady=!0,this.heartbeat(),this.flush()},this.socket.onmessage=({data:i})=>{let a=typeof i=="string"&&Sr(i)?dt(i):i;fe(this.handler),this.handler(a),a.type==="ping"&&(this.heartbeat(),this.send({type:"pong"}))},this.socket.onerror=i=>{r&&r(i)},this.socket.onclose=i=>{fe(this.handler),this.handler({type:Wt,args:[{reason:i.reason,code:i.code}],from:o||"preview"}),this.isClosed=!0,clearTimeout(this.pingTimeout)}}heartbeat(){clearTimeout(this.pingTimeout),this.pingTimeout=setTimeout(()=>{this.socket.close(3008,"timeout")},Po+Oo)}setHandler(e){this.handler=e}send(e){this.isClosed||(this.isReady?this.sendNow(e):this.sendLater(e))}sendLater(e){this.buffer.push(e)}sendNow(e){let r=pt(e,{maxDepth:15,allowFunction:!1,...E$1.CHANNEL_OPTIONS});this.socket.send(r)}flush(){let{buffer:e}=this;this.buffer=[],e.forEach(r=>this.send(r))}};n(Io,"WebsocketTransport");var Ze=Io,{CONFIG_TYPE:Dd}=E$1,Nd=ie;function kd({page:t,extraTransports:e=[]}){let r=[new Qe({page:t}),...e];if(Dd==="DEVELOPMENT"){let i=window.location.protocol==="http:"?"ws":"wss",{hostname:a,port:u}=window.location,l=`${i}://${a}:${u}/storybook-server-channel`;r.push(new Ze({url:l,onError:n(()=>{},"onError"),page:t}))}let o=new ie({transports:r});return Q.__prepare(o,t==="manager"?Q.Environment.MANAGER:Q.Environment.PREVIEW),o}n(kd,"createBrowserChannel");var Tr={};_e(Tr,{Addon_TypesEnum:()=>Ns});var Ns=(t=>(t.TAB="tab",t.PANEL="panel",t.TOOL="tool",t.TOOLEXTRA="toolextra",t.PREVIEW="preview",t.experimental_PAGE="page",t.experimental_SIDEBAR_BOTTOM="sidebar-bottom",t.experimental_SIDEBAR_TOP="sidebar-top",t.experimental_TEST_PROVIDER="test-provider",t))(Ns||{}),Yr={};_e(Yr,{DocsContext:()=>me,HooksContext:()=>be,Preview:()=>Me,PreviewWeb:()=>Wr,PreviewWithSelection:()=>Ue,ReporterAPI:()=>Ee,StoryStore:()=>Le,UrlStore:()=>Be,WebView:()=>He,addons:()=>te$1,applyHooks:()=>ft,combineArgs:()=>tr,combineParameters:()=>Y,composeConfigs:()=>ke,composeStepRunners:()=>Ct,composeStories:()=>qi,composeStory:()=>Pn,createPlaywrightTest:()=>Bi,decorateStory:()=>xn,defaultDecorateStory:()=>vt,definePreview:()=>ks,experimental_MockUniversalStore:()=>gt,experimental_UniversalStore:()=>Q,experimental_useUniversalStore:()=>Si,filterArgTypes:()=>Mr,getCsfFactoryAnnotations:()=>Pt,inferControls:()=>ir,makeDecorator:()=>$s,mockChannel:()=>ut,normalizeProjectAnnotations:()=>Ne,normalizeStory:()=>De,prepareMeta:()=>wt,prepareStory:()=>sr,sanitizeStoryContextUpdate:()=>vn,setDefaultProjectAnnotations:()=>Ui,setProjectAnnotations:()=>Gi,simulateDOMContentLoaded:()=>$r,simulatePageLoad:()=>ss,sortStoriesV7:()=>Ki,useArgs:()=>zs,useCallback:()=>er,useChannel:()=>Vs,useEffect:()=>Er,useGlobals:()=>Ws,useMemo:()=>Ms,useParameter:()=>Hs,useReducer:()=>Bs,useRef:()=>Gs,useState:()=>mt,useStoryContext:()=>Rr,userOrAutoTitle:()=>Wi,userOrAutoTitleFromSpecifier:()=>Fn});function ut(){let t={setHandler:n(()=>{},"setHandler"),send:n(()=>{},"send")};return new ie({transport:t})}n(ut,"mockChannel");var No=class{constructor(){this.getChannel=n(()=>{if(!this.channel){let e=ut();return this.setChannel(e),e}return this.channel},"getChannel"),this.ready=n(()=>this.promise,"ready"),this.hasChannel=n(()=>!!this.channel,"hasChannel"),this.setChannel=n(e=>{this.channel=e,this.resolve()},"setChannel"),this.promise=new Promise(e=>{this.resolve=()=>e(this.getChannel())})}};n(No,"AddonStore");var Do=No,Fo="__STORYBOOK_ADDONS_PREVIEW";function Ld(){return E$1[Fo]||(E$1[Fo]=new Do),E$1[Fo]}n(Ld,"getAddonsStore");var te$1=Ld();function ks(t){return t}n(ks,"definePreview");var Mo=class{constructor(){this.hookListsMap=void 0,this.mountedDecorators=void 0,this.prevMountedDecorators=void 0,this.currentHooks=void 0,this.nextHookIndex=void 0,this.currentPhase=void 0,this.currentEffects=void 0,this.prevEffects=void 0,this.currentDecoratorName=void 0,this.hasUpdates=void 0,this.currentContext=void 0,this.renderListener=n(e=>{var r;e===((r=this.currentContext)==null?void 0:r.id)&&(this.triggerEffects(),this.currentContext=null,this.removeRenderListeners())},"renderListener"),this.init()}init(){this.hookListsMap=new WeakMap,this.mountedDecorators=new Set,this.prevMountedDecorators=new Set,this.currentHooks=[],this.nextHookIndex=0,this.currentPhase="NONE",this.currentEffects=[],this.prevEffects=[],this.currentDecoratorName=null,this.hasUpdates=!1,this.currentContext=null}clean(){this.prevEffects.forEach(e=>{e.destroy&&e.destroy()}),this.init(),this.removeRenderListeners()}getNextHook(){let e=this.currentHooks[this.nextHookIndex];return this.nextHookIndex+=1,e}triggerEffects(){this.prevEffects.forEach(e=>{!this.currentEffects.includes(e)&&e.destroy&&e.destroy()}),this.currentEffects.forEach(e=>{this.prevEffects.includes(e)||(e.destroy=e.create())}),this.prevEffects=this.currentEffects,this.currentEffects=[]}addRenderListeners(){this.removeRenderListeners(),te$1.getChannel().on(We,this.renderListener)}removeRenderListeners(){te$1.getChannel().removeListener(We,this.renderListener)}};n(Mo,"HooksContext");var be=Mo;function Ls(t){let e=n((...r)=>{let{hooks:o}=typeof r[0]=="function"?r[1]:r[0],i=o.currentPhase,a=o.currentHooks,u=o.nextHookIndex,l=o.currentDecoratorName;o.currentDecoratorName=t.name,o.prevMountedDecorators.has(t)?(o.currentPhase="UPDATE",o.currentHooks=o.hookListsMap.get(t)||[]):(o.currentPhase="MOUNT",o.currentHooks=[],o.hookListsMap.set(t,o.currentHooks),o.prevMountedDecorators.add(t)),o.nextHookIndex=0;let c=E$1.STORYBOOK_HOOKS_CONTEXT;E$1.STORYBOOK_HOOKS_CONTEXT=o;let p=t(...r);if(E$1.STORYBOOK_HOOKS_CONTEXT=c,o.currentPhase==="UPDATE"&&o.getNextHook()!=null)throw new Error("Rendered fewer hooks than expected. This may be caused by an accidental early return statement.");return o.currentPhase=i,o.currentHooks=a,o.nextHookIndex=u,o.currentDecoratorName=l,p},"hookified");return e.originalFn=t,e}n(Ls,"hookify");var ko=0,jd=25,ft=n(t=>(e,r)=>{let o=t(Ls(e),r.map(i=>Ls(i)));return i=>{let{hooks:a}=i;a.prevMountedDecorators??(a.prevMountedDecorators=new Set),a.mountedDecorators=new Set([e,...r]),a.currentContext=i,a.hasUpdates=!1;let u=o(i);for(ko=1;a.hasUpdates;)if(a.hasUpdates=!1,a.currentEffects=[],u=o(i),ko+=1,ko>jd)throw new Error("Too many re-renders. Storybook limits the number of renders to prevent an infinite loop.");return a.addRenderListeners(),u}},"applyHooks"),Md=n((t,e)=>t.length===e.length&&t.every((r,o)=>r===e[o]),"areDepsEqual"),Lo=n(()=>new Error("Storybook preview hooks can only be called inside decorators and story functions."),"invalidHooksError");function js(){return E$1.STORYBOOK_HOOKS_CONTEXT||null}n(js,"getHooksContextOrNull");function jo(){let t=js();if(t==null)throw Lo();return t}n(jo,"getHooksContextOrThrow");function Ud(t,e,r){let o=jo();if(o.currentPhase==="MOUNT"){r!=null&&!Array.isArray(r)&&I$1.warn(`${t} received a final argument that is not an array (instead, received ${r}). When specified, the final argument must be an array.`);let i={name:t,deps:r};return o.currentHooks.push(i),e(i),i}if(o.currentPhase==="UPDATE"){let i=o.getNextHook();if(i==null)throw new Error("Rendered more hooks than during the previous render.");return i.name!==t&&I$1.warn(`Storybook has detected a change in the order of Hooks${o.currentDecoratorName?` called by ${o.currentDecoratorName}`:""}. This will lead to bugs and errors if not fixed.`),r!=null&&i.deps==null&&I$1.warn(`${t} received a final argument during this render, but not during the previous render. Even though the final argument is optional, its type cannot change between renders.`),r!=null&&i.deps!=null&&r.length!==i.deps.length&&I$1.warn(`The final argument passed to ${t} changed size between renders. The order and size of this array must remain constant. -Previous: ${i.deps} -Incoming: ${r}`),(r==null||i.deps==null||!Md(r,i.deps))&&(e(i),i.deps=r),i}throw Lo()}n(Ud,"useHook");function yt(t,e,r){let{memoizedState:o}=Ud(t,i=>{i.memoizedState=e()},r);return o}n(yt,"useMemoLike");function Ms(t,e){return yt("useMemo",t,e)}n(Ms,"useMemo");function er(t,e){return yt("useCallback",()=>t,e)}n(er,"useCallback");function Us(t,e){return yt(t,()=>({current:e}),[])}n(Us,"useRefLike");function Gs(t){return Us("useRef",t)}n(Gs,"useRef");function Gd(){let t=js();if(t!=null&&t.currentPhase!=="NONE")t.hasUpdates=!0;else try{te$1.getChannel().emit(dr)}catch{I$1.warn("State updates of Storybook preview hooks work only in browser")}}n(Gd,"triggerUpdate");function qs(t,e){let r=Us(t,typeof e=="function"?e():e),o=n(i=>{r.current=typeof i=="function"?i(r.current):i,Gd()},"setState");return[r.current,o]}n(qs,"useStateLike");function mt(t){return qs("useState",t)}n(mt,"useState");function Bs(t,e,r){let o=r!=null?()=>r(e):e,[i,a]=qs("useReducer",o);return[i,n(u=>a(l=>t(l,u)),"dispatch")]}n(Bs,"useReducer");function Er(t,e){let r=jo(),o=yt("useEffect",()=>({create:t}),e);r.currentEffects.includes(o)||r.currentEffects.push(o)}n(Er,"useEffect");function Vs(t,e=[]){let r=te$1.getChannel();return Er(()=>(Object.entries(t).forEach(([o,i])=>r.on(o,i)),()=>{Object.entries(t).forEach(([o,i])=>r.removeListener(o,i))}),[...Object.keys(t),...e]),er(r.emit.bind(r),[r])}n(Vs,"useChannel");function Rr(){let{currentContext:t}=jo();if(t==null)throw Lo();return t}n(Rr,"useStoryContext");function Hs(t,e){let{parameters:r}=Rr();if(t)return r[t]??e}n(Hs,"useParameter");function zs(){let t=te$1.getChannel(),{id:e,args:r}=Rr(),o=er(a=>t.emit(yr,{storyId:e,updatedArgs:a}),[t,e]),i=er(a=>t.emit(ur,{storyId:e,argNames:a}),[t,e]);return[r,o,i]}n(zs,"useArgs");function Ws(){let t=te$1.getChannel(),{globals:e}=Rr(),r=er(o=>t.emit(fr,{globals:o}),[t]);return[e,r]}n(Ws,"useGlobals");var $s=n(({name:t,parameterName:e,wrapper:r,skipIfNoParametersOrOptions:o=!1})=>{let i=n(a=>(u,l)=>{let c=l.parameters&&l.parameters[e];return c&&c.disable||o&&!a&&!c?u(l):r(u,l,{options:a,parameters:c})},"decorator");return(...a)=>typeof a[0]=="function"?i()(...a):(...u)=>{if(u.length>1)return a.length>1?i(a)(...u):i(...a)(...u);throw new Error(`Passing stories directly into ${t}() is not allowed, - instead use addDecorator(${t}) and pass options with the '${e}' parameter`)}},"makeDecorator");function Uo(t,e){let r={},o=Object.entries(t);for(let i=0;i<o.length;i++){let[a,u]=o[i];e(u,a)||(r[a]=u)}return r}n(Uo,"omitBy");function Go(t,e){let r={};for(let o=0;o<e.length;o++){let i=e[o];Object.prototype.hasOwnProperty.call(t,i)&&(r[i]=t[i])}return r}n(Go,"pick");function qo(t,e){let r={},o=Object.entries(t);for(let i=0;i<o.length;i++){let[a,u]=o[i];e(u,a)&&(r[a]=u)}return r}n(qo,"pickBy");function $$1(t){if(typeof t!="object"||t==null)return!1;if(Object.getPrototypeOf(t)===null)return!0;if(t.toString()!=="[object Object]")return!1;let e=t;for(;Object.getPrototypeOf(e)!==null;)e=Object.getPrototypeOf(e);return Object.getPrototypeOf(t)===e}n($$1,"isPlainObject");function oe(t,e){let r={},o=Object.keys(t);for(let i=0;i<o.length;i++){let a=o[i],u=t[a];r[a]=e(u,a,t)}return r}n(oe,"mapValues");var Ys="[object RegExp]",Ks="[object String]",Xs="[object Number]",Js="[object Boolean]",Bo="[object Arguments]",Qs="[object Symbol]",Zs="[object Date]",ei="[object Map]",ri="[object Set]",ti="[object Array]",oi="[object Function]",ni="[object ArrayBuffer]",ht="[object Object]",si="[object Error]",ii="[object DataView]",ai="[object Uint8Array]",li="[object Uint8ClampedArray]",ci="[object Uint16Array]",pi="[object Uint32Array]",di="[object BigUint64Array]",ui="[object Int8Array]",fi="[object Int16Array]",yi="[object Int32Array]",mi="[object BigInt64Array]",hi="[object Float32Array]",gi="[object Float64Array]";function Vo(t){return Object.getOwnPropertySymbols(t).filter(e=>Object.prototype.propertyIsEnumerable.call(t,e))}n(Vo,"getSymbols");function Ho(t){return t==null?t===void 0?"[object Undefined]":"[object Null]":Object.prototype.toString.call(t)}n(Ho,"getTag");function Ar(t,e){if(typeof t==typeof e)switch(typeof t){case"bigint":case"string":case"boolean":case"symbol":case"undefined":return t===e;case"number":return t===e||Object.is(t,e);case"function":return t===e;case"object":return ye(t,e)}return ye(t,e)}n(Ar,"isEqual");function ye(t,e,r){if(Object.is(t,e))return!0;let o=Ho(t),i=Ho(e);if(o===Bo&&(o=ht),i===Bo&&(i=ht),o!==i)return!1;switch(o){case Ks:return t.toString()===e.toString();case Xs:{let l=t.valueOf(),c=e.valueOf();return l===c||Number.isNaN(l)&&Number.isNaN(c)}case Js:case Zs:case Qs:return Object.is(t.valueOf(),e.valueOf());case Ys:return t.source===e.source&&t.flags===e.flags;case oi:return t===e}r=r??new Map;let a=r.get(t),u=r.get(e);if(a!=null&&u!=null)return a===e;r.set(t,e),r.set(e,t);try{switch(o){case ei:{if(t.size!==e.size)return!1;for(let[l,c]of t.entries())if(!e.has(l)||!ye(c,e.get(l),r))return!1;return!0}case ri:{if(t.size!==e.size)return!1;let l=Array.from(t.values()),c=Array.from(e.values());for(let p=0;p<l.length;p++){let m=l[p],h=c.findIndex(g=>ye(m,g,r));if(h===-1)return!1;c.splice(h,1)}return!0}case ti:case ai:case li:case ci:case pi:case di:case ui:case fi:case yi:case mi:case hi:case gi:{if(typeof Buffer<"u"&&Buffer.isBuffer(t)!==Buffer.isBuffer(e)||t.length!==e.length)return!1;for(let l=0;l<t.length;l++)if(!ye(t[l],e[l],r))return!1;return!0}case ni:return t.byteLength!==e.byteLength?!1:ye(new Uint8Array(t),new Uint8Array(e),r);case ii:return t.byteLength!==e.byteLength||t.byteOffset!==e.byteOffset?!1:ye(t.buffer,e.buffer,r);case si:return t.name===e.name&&t.message===e.message;case ht:{if(!(ye(t.constructor,e.constructor,r)||$$1(t)&&$$1(e)))return!1;let l=[...Object.keys(t),...Vo(t)],c=[...Object.keys(e),...Vo(e)];if(l.length!==c.length)return!1;for(let p=0;p<l.length;p++){let m=l[p],h=t[m];if(!Object.prototype.hasOwnProperty.call(e,m))return!1;let g=e[m];if(!ye(h,g,r))return!1}return!0}default:return!1}}finally{r.delete(t),r.delete(e)}}n(ye,"areObjectsEqual");var Si=n((t,e)=>{let[r,o]=mt(e?e(t.getState()):t.getState());return Er(()=>t.onStateChange((i,a)=>{if(!e){o(i);return}let u=e(i),l=e(a);!Ar(u,l)&&o(u)}),[t,o,e]),[r,t.setState]},"useUniversalStore"),St=class Jn extends Q{constructor(e,r){Q.isInternalConstructing=!0,super({...e,leader:!0},{channel:new ie({}),environment:Q.Environment.MOCK}),Q.isInternalConstructing=!1,typeof(r==null?void 0:r.fn)=="function"&&(this.testUtils=r,this.getState=r.fn(this.getState),this.setState=r.fn(this.setState),this.subscribe=r.fn(this.subscribe),this.onStateChange=r.fn(this.onStateChange),this.send=r.fn(this.send))}static create(e,r){return new Jn(e,r)}unsubscribeAll(){var r,o;if(!this.testUtils)throw new Error(ps`Cannot call unsubscribeAll on a store that does not have testUtils. - Please provide testUtils as the second argument when creating the store.`);let e=n(i=>{try{i.value()}catch{}},"callReturnedUnsubscribeFn");(r=this.subscribe.mock)==null||r.results.forEach(e),(o=this.onStateChange.mock)==null||o.results.forEach(e)}};n(St,"MockUniversalStore");var gt=St,kr={};_e(kr,{CalledExtractOnStoreError:()=>vr,CalledPreviewMethodBeforeInitializationError:()=>V,Category:()=>Ti,EmptyIndexError:()=>Pr,ImplicitActionsDuringRendering:()=>zo,MdxFileWithNoCsfReferencesError:()=>Cr,MissingRenderToCanvasError:()=>wr,MissingStoryAfterHmrError:()=>xr,MissingStoryFromCsfFileError:()=>Ir,MountMustBeDestructuredError:()=>Oe,NextJsSharpError:()=>Wo,NextjsRouterMocksNotAvailable:()=>$o,NoRenderFunctionError:()=>Dr,NoStoryMatchError:()=>Or,NoStoryMountedError:()=>Nr,StoryIndexFetchError:()=>_r,StoryStoreAccessedBeforeInitializationError:()=>Fr,UnknownArgTypesError:()=>Yo,UnsupportedViewportDimensionError:()=>Ko});function bi({code:t,category:e}){let r=String(t).padStart(4,"0");return`SB_${e}_${r}`}n(bi,"parseErrorCode");var bt=class Zn extends Error{constructor(e){super(Zn.getFullMessage(e)),this.data={},this.fromStorybook=!0,this.category=e.category,this.documentation=e.documentation??!1,this.code=e.code}get fullErrorCode(){return bi({code:this.code,category:this.category})}get name(){let e=this.constructor.name;return`${this.fullErrorCode} (${e})`}static getFullMessage({documentation:e,code:r,category:o,message:i}){let a;return e===!0?a=`https://storybook.js.org/error/${bi({code:r,category:o})}`:typeof e=="string"?a=e:Array.isArray(e)&&(a=` -${e.map(u=>` - ${u}`).join(` -`)}`),`${i}${a!=null?` - -More info: ${a} -`:""}`}};n(bt,"StorybookError");var G=bt,Ti=(t=>(t.BLOCKS="BLOCKS",t.DOCS_TOOLS="DOCS-TOOLS",t.PREVIEW_CLIENT_LOGGER="PREVIEW_CLIENT-LOGGER",t.PREVIEW_CHANNELS="PREVIEW_CHANNELS",t.PREVIEW_CORE_EVENTS="PREVIEW_CORE-EVENTS",t.PREVIEW_INSTRUMENTER="PREVIEW_INSTRUMENTER",t.PREVIEW_API="PREVIEW_API",t.PREVIEW_REACT_DOM_SHIM="PREVIEW_REACT-DOM-SHIM",t.PREVIEW_ROUTER="PREVIEW_ROUTER",t.PREVIEW_THEMING="PREVIEW_THEMING",t.RENDERER_HTML="RENDERER_HTML",t.RENDERER_PREACT="RENDERER_PREACT",t.RENDERER_REACT="RENDERER_REACT",t.RENDERER_SERVER="RENDERER_SERVER",t.RENDERER_SVELTE="RENDERER_SVELTE",t.RENDERER_VUE="RENDERER_VUE",t.RENDERER_VUE3="RENDERER_VUE3",t.RENDERER_WEB_COMPONENTS="RENDERER_WEB-COMPONENTS",t.FRAMEWORK_NEXTJS="FRAMEWORK_NEXTJS",t.ADDON_VITEST="ADDON_VITEST",t))(Ti||{}),Xo=class extends G{constructor(e){super({category:"PREVIEW_API",code:1,message:_$1` - Couldn't find story matching id '${e.storyId}' after HMR. - - Did you just rename a story? - - Did you remove it from your CSF file? - - Are you sure a story with the id '${e.storyId}' exists? - - Please check the values in the stories field of your main.js config and see if they would match your CSF File. - - Also check the browser console and terminal for potential error messages.`}),this.data=e}};n(Xo,"MissingStoryAfterHmrError");var xr=Xo,Jo=class extends G{constructor(e){super({category:"PREVIEW_API",code:2,documentation:"https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#using-implicit-actions-during-rendering-is-deprecated-for-example-in-the-play-function",message:_$1` - We detected that you use an implicit action arg while ${e.phase} of your story. - ${e.deprecated?` -This is deprecated and won't work in Storybook 8 anymore. -`:""} - Please provide an explicit spy to your args like this: - import { fn } from '@storybook/test'; - ... - args: { - ${e.name}: fn() - }`}),this.data=e}};n(Jo,"ImplicitActionsDuringRendering");var zo=Jo,Qo=class extends G{constructor(){super({category:"PREVIEW_API",code:3,message:_$1` - Cannot call \`storyStore.extract()\` without calling \`storyStore.cacheAllCsfFiles()\` first. - - You probably meant to call \`await preview.extract()\` which does the above for you.`})}};n(Qo,"CalledExtractOnStoreError");var vr=Qo,Zo=class extends G{constructor(){super({category:"PREVIEW_API",code:4,message:_$1` - Expected your framework's preset to export a \`renderToCanvas\` field. - - Perhaps it needs to be upgraded for Storybook 7.0?`,documentation:"https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#mainjs-framework-field"})}};n(Zo,"MissingRenderToCanvasError");var wr=Zo,en=class extends G{constructor(e){super({category:"PREVIEW_API",code:5,message:_$1` - Called \`Preview.${e.methodName}()\` before initialization. - - The preview needs to load the story index before most methods can be called. If you want - to call \`${e.methodName}\`, try \`await preview.initializationPromise;\` first. - - If you didn't call the above code, then likely it was called by an addon that needs to - do the above.`}),this.data=e}};n(en,"CalledPreviewMethodBeforeInitializationError");var V=en,rn=class extends G{constructor(e){super({category:"PREVIEW_API",code:6,message:_$1` - Error fetching \`/index.json\`: - - ${e.text} - - If you are in development, this likely indicates a problem with your Storybook process, - check the terminal for errors. - - If you are in a deployed Storybook, there may have been an issue deploying the full Storybook - build.`}),this.data=e}};n(rn,"StoryIndexFetchError");var _r=rn,tn=class extends G{constructor(e){super({category:"PREVIEW_API",code:7,message:_$1` - Tried to render docs entry ${e.storyId} but it is a MDX file that has no CSF - references, or autodocs for a CSF file that some doesn't refer to itself. - - This likely is an internal error in Storybook's indexing, or you've attached the - \`attached-mdx\` tag to an MDX file that is not attached.`}),this.data=e}};n(tn,"MdxFileWithNoCsfReferencesError");var Cr=tn,on=class extends G{constructor(){super({category:"PREVIEW_API",code:8,message:_$1` - Couldn't find any stories in your Storybook. - - - Please check your stories field of your main.js config: does it match correctly? - - Also check the browser console and terminal for error messages.`})}};n(on,"EmptyIndexError");var Pr=on,nn=class extends G{constructor(e){super({category:"PREVIEW_API",code:9,message:_$1` - Couldn't find story matching '${e.storySpecifier}'. - - - Are you sure a story with that id exists? - - Please check your stories field of your main.js config. - - Also check the browser console and terminal for error messages.`}),this.data=e}};n(nn,"NoStoryMatchError");var Or=nn,sn=class extends G{constructor(e){super({category:"PREVIEW_API",code:10,message:_$1` - Couldn't find story matching id '${e.storyId}' after importing a CSF file. - - The file was indexed as if the story was there, but then after importing the file in the browser - we didn't find the story. Possible reasons: - - You are using a custom story indexer that is misbehaving. - - You have a custom file loader that is removing or renaming exports. - - Please check your browser console and terminal for errors that may explain the issue.`}),this.data=e}};n(sn,"MissingStoryFromCsfFileError");var Ir=sn,an=class extends G{constructor(){super({category:"PREVIEW_API",code:11,message:_$1` - Cannot access the Story Store until the index is ready. - - It is not recommended to use methods directly on the Story Store anyway, in Storybook 9 we will - remove access to the store entirely`})}};n(an,"StoryStoreAccessedBeforeInitializationError");var Fr=an,ln=class extends G{constructor(e){super({category:"PREVIEW_API",code:12,message:_$1` - Incorrect use of mount in the play function. - - To use mount in the play function, you must satisfy the following two requirements: - - 1. You *must* destructure the mount property from the \`context\` (the argument passed to your play function). - This makes sure that Storybook does not start rendering the story before the play function begins. - - 2. Your Storybook framework or builder must be configured to transpile to ES2017 or newer. - This is because destructuring statements and async/await usages are otherwise transpiled away, - which prevents Storybook from recognizing your usage of \`mount\`. - - Note that Angular is not supported. As async/await is transpiled to support the zone.js polyfill. - - More info: https://storybook.js.org/docs/writing-tests/interaction-testing#run-code-before-the-component-gets-rendered - - Received the following play function: - ${e.playFunction}`}),this.data=e}};n(ln,"MountMustBeDestructuredError");var Oe=ln,cn=class extends G{constructor(e){super({category:"PREVIEW_API",code:14,message:_$1` - No render function available for storyId '${e.id}' - `}),this.data=e}};n(cn,"NoRenderFunctionError");var Dr=cn,pn=class extends G{constructor(){super({category:"PREVIEW_API",code:15,message:_$1` - No component is mounted in your story. - - This usually occurs when you destructure mount in the play function, but forget to call it. - - For example: - - async play({ mount, canvasElement }) { - // 👈 mount should be called: await mount(); - const canvas = within(canvasElement); - const button = await canvas.findByRole('button'); - await userEvent.click(button); - }; - - Make sure to either remove it or call mount in your play function. - `})}};n(pn,"NoStoryMountedError");var Nr=pn,dn=class extends G{constructor(){super({category:"FRAMEWORK_NEXTJS",code:1,documentation:"https://storybook.js.org/docs/get-started/nextjs#faq",message:_$1` - You are importing avif images, but you don't have sharp installed. - - You have to install sharp in order to use image optimization features in Next.js. - `})}};n(dn,"NextJsSharpError");var Wo=dn,un=class extends G{constructor(e){super({category:"FRAMEWORK_NEXTJS",code:2,message:_$1` - Tried to access router mocks from "${e.importType}" but they were not created yet. You might be running code in an unsupported environment. - `}),this.data=e}};n(un,"NextjsRouterMocksNotAvailable");var $o=un,fn=class extends G{constructor(e){super({category:"DOCS-TOOLS",code:1,documentation:"https://github.com/storybookjs/storybook/issues/26606",message:_$1` - There was a failure when generating detailed ArgTypes in ${e.language} for: - ${JSON.stringify(e.type,null,2)} - - Storybook will fall back to use a generic type description instead. - - This type is either not supported or it is a bug in the docgen generation in Storybook. - If you think this is a bug, please detail it as much as possible in the Github issue. - `}),this.data=e}};n(fn,"UnknownArgTypesError");var Yo=fn,yn=class extends G{constructor(e){super({category:"ADDON_VITEST",code:1,message:_$1` - Encountered an unsupported value "${e.value}" when setting the viewport ${e.dimension} dimension. - - The Storybook plugin only supports values in the following units: - - px, vh, vw, em, rem and %. - - You can either change the viewport for this story to use one of the supported units or skip the test by adding '!test' to the story's tags per https://storybook.js.org/docs/writing-stories/tags - `}),this.data=e}};n(yn,"UnsupportedViewportDimensionError");var Ko=yn,Ot=ue(it(),1),rr=Symbol("incompatible"),mn=n((t,e)=>{let r=e.type;if(t==null||!r||e.mapping)return t;switch(r.name){case"string":return String(t);case"enum":return t;case"number":return Number(t);case"boolean":return String(t)==="true";case"array":return!r.value||!Array.isArray(t)?rr:t.reduce((o,i,a)=>{let u=mn(i,{type:r.value});return u!==rr&&(o[a]=u),o},new Array(t.length));case"object":return typeof t=="string"||typeof t=="number"?t:!r.value||typeof t!="object"?rr:Object.entries(t).reduce((o,[i,a])=>{let u=mn(a,{type:r.value[i]});return u===rr?o:Object.assign(o,{[i]:u})},{});default:return rr}},"map"),Ei=n((t,e)=>Object.entries(t).reduce((r,[o,i])=>{if(!e[o])return r;let a=mn(i,e[o]);return a===rr?r:Object.assign(r,{[o]:a})},{}),"mapArgsToTypes"),tr=n((t,e)=>Array.isArray(t)&&Array.isArray(e)?e.reduce((r,o,i)=>(r[i]=tr(t[i],e[i]),r),[...t]).filter(r=>r!==void 0):!$$1(t)||!$$1(e)?e:Object.keys({...t,...e}).reduce((r,o)=>{if(o in e){let i=tr(t[o],e[o]);i!==void 0&&(r[o]=i)}else r[o]=t[o];return r},{}),"combineArgs"),Ri=n((t,e)=>Object.entries(e).reduce((r,[o,{options:i}])=>{function a(){return o in t&&(r[o]=t[o]),r}if(n(a,"allowArg"),!i)return a();if(!Array.isArray(i))return j$1.error(_$1` - Invalid argType: '${o}.options' should be an array. - - More info: https://storybook.js.org/docs/api/arg-types - `),a();if(i.some(h=>h&&["object","function"].includes(typeof h)))return j$1.error(_$1` - Invalid argType: '${o}.options' should only contain primitives. Use a 'mapping' for complex values. - - More info: https://storybook.js.org/docs/writing-stories/args#mapping-to-complex-arg-values - `),a();let u=Array.isArray(t[o]),l=u&&t[o].findIndex(h=>!i.includes(h)),c=u&&l===-1;if(t[o]===void 0||i.includes(t[o])||c)return a();let p=u?`${o}[${l}]`:o,m=i.map(h=>typeof h=="string"?`'${h}'`:String(h)).join(", ");return j$1.warn(`Received illegal value for '${p}'. Supported options: ${m}`),r},{}),"validateOptions"),Ie=Symbol("Deeply equal"),or=n((t,e)=>{if(typeof t!=typeof e)return e;if(Ar(t,e))return Ie;if(Array.isArray(t)&&Array.isArray(e)){let r=e.reduce((o,i,a)=>{let u=or(t[a],i);return u!==Ie&&(o[a]=u),o},new Array(e.length));return e.length>=t.length?r:r.concat(new Array(t.length-e.length).fill(void 0))}return $$1(t)&&$$1(e)?Object.keys({...t,...e}).reduce((r,o)=>{let i=or(t==null?void 0:t[o],e==null?void 0:e[o]);return i===Ie?r:Object.assign(r,{[o]:i})},{}):e},"deepDiff"),hn="UNTARGETED";function Ai({args:t,argTypes:e}){let r={};return Object.entries(t).forEach(([o,i])=>{let{target:a=hn}=e[o]||{};r[a]=r[a]||{},r[a][o]=i}),r}n(Ai,"groupArgsByTarget");function qd(t){return Object.keys(t).forEach(e=>t[e]===void 0&&delete t[e]),t}n(qd,"deleteUndefined");var gn=class{constructor(){this.initialArgsByStoryId={},this.argsByStoryId={}}get(e){if(!(e in this.argsByStoryId))throw new Error(`No args known for ${e} -- has it been rendered yet?`);return this.argsByStoryId[e]}setInitial(e){if(!this.initialArgsByStoryId[e.id])this.initialArgsByStoryId[e.id]=e.initialArgs,this.argsByStoryId[e.id]=e.initialArgs;else if(this.initialArgsByStoryId[e.id]!==e.initialArgs){let r=or(this.initialArgsByStoryId[e.id],this.argsByStoryId[e.id]);this.initialArgsByStoryId[e.id]=e.initialArgs,this.argsByStoryId[e.id]=e.initialArgs,r!==Ie&&this.updateFromDelta(e,r)}}updateFromDelta(e,r){let o=Ri(r,e.argTypes);this.argsByStoryId[e.id]=tr(this.argsByStoryId[e.id],o)}updateFromPersisted(e,r){let o=Ei(r,e.argTypes);return this.updateFromDelta(e,o)}update(e,r){if(!(e in this.argsByStoryId))throw new Error(`No args known for ${e} -- has it been rendered yet?`);this.argsByStoryId[e]=qd({...this.argsByStoryId[e],...r})}};n(gn,"ArgsStore");var Tt=gn,Et=n((t={})=>Object.entries(t).reduce((e,[r,{defaultValue:o}])=>(typeof o<"u"&&(e[r]=o),e),{}),"getValuesFromArgTypes"),Sn=class{constructor({globals:e={},globalTypes:r={}}){this.set({globals:e,globalTypes:r})}set({globals:e={},globalTypes:r={}}){let o=this.initialGlobals&&or(this.initialGlobals,this.globals);this.allowedGlobalNames=new Set([...Object.keys(e),...Object.keys(r)]);let i=Et(r);this.initialGlobals={...i,...e},this.globals=this.initialGlobals,o&&o!==Ie&&this.updateFromPersisted(o)}filterAllowedGlobals(e){return Object.entries(e).reduce((r,[o,i])=>(this.allowedGlobalNames.has(o)?r[o]=i:I$1.warn(`Attempted to set a global (${o}) that is not defined in initial globals or globalTypes`),r),{})}updateFromPersisted(e){let r=this.filterAllowedGlobals(e);this.globals={...this.globals,...r}}get(){return this.globals}update(e){this.globals={...this.globals,...this.filterAllowedGlobals(e)}}};n(Sn,"GlobalsStore");var Rt=Sn,xi=ue(it(),1),Bd=(0,xi.default)(1)(t=>Object.values(t).reduce((e,r)=>(e[r.importPath]=e[r.importPath]||r,e),{})),bn=class{constructor({entries:e}={v:5,entries:{}}){this.entries=e}entryFromSpecifier(e){let r=Object.values(this.entries);if(e==="*")return r[0];if(typeof e=="string")return this.entries[e]?this.entries[e]:r.find(a=>a.id.startsWith(e));let{name:o,title:i}=e;return r.find(a=>a.name===o&&a.title===i)}storyIdToEntry(e){let r=this.entries[e];if(!r)throw new xr({storyId:e});return r}importPathToEntry(e){return Bd(this.entries)[e]}};n(bn,"StoryIndexStore");var At=bn,Vd=n(t=>typeof t=="string"?{name:t}:t,"normalizeType"),Hd=n(t=>typeof t=="string"?{type:t}:t,"normalizeControl"),zd=n((t,e)=>{let{type:r,control:o,...i}=t,a={name:e,...i};return r&&(a.type=Vd(r)),o?a.control=Hd(o):o===!1&&(a.control={disable:!0}),a},"normalizeInputType"),Fe=n(t=>oe(t,zd),"normalizeInputTypes");function vi(t){return t.replace(/_/g," ").replace(/-/g," ").replace(/\./g," ").replace(/([^\n])([A-Z])([a-z])/g,(e,r,o,i)=>`${r} ${o}${i}`).replace(/([a-z])([A-Z])/g,(e,r,o)=>`${r} ${o}`).replace(/([a-z])([0-9])/gi,(e,r,o)=>`${r} ${o}`).replace(/([0-9])([a-z])/gi,(e,r,o)=>`${r} ${o}`).replace(/(\s|^)(\w)/g,(e,r,o)=>`${r}${o.toUpperCase()}`).replace(/ +/g," ").trim()}n(vi,"toStartCaseStr");var En=ue(wi(),1),_i=n(t=>t.map(e=>typeof e<"u").filter(Boolean).length,"count"),Wd=n((t,e)=>{let{exists:r,eq:o,neq:i,truthy:a}=t;if(_i([r,o,i,a])>1)throw new Error(`Invalid conditional test ${JSON.stringify({exists:r,eq:o,neq:i})}`);if(typeof o<"u")return(0,En.isEqual)(e,o);if(typeof i<"u")return!(0,En.isEqual)(e,i);if(typeof r<"u"){let u=typeof e<"u";return r?u:!u}return typeof a>"u"||a?!!e:!e},"testValue"),Rn=n((t,e,r)=>{if(!t.if)return!0;let{arg:o,global:i}=t.if;if(_i([o,i])!==1)throw new Error(`Invalid conditional value ${JSON.stringify({arg:o,global:i})}`);let a=o?e[o]:r[i];return Wd(t.if,a)},"includeConditionalArg");function nr(t){return t!=null&&typeof t=="object"&&"_tag"in t&&(t==null?void 0:t._tag)==="Story"}n(nr,"isStory");var An=n(t=>t.toLowerCase().replace(/[ ’–—―′¿'`~!@#$%^&*()_|+\-=?;:'",.<>\{\}\[\]\\\/]/gi,"-").replace(/-+/g,"-").replace(/^-+/,"").replace(/-+$/,""),"sanitize"),Ci=n((t,e)=>{let r=An(t);if(r==="")throw new Error(`Invalid ${e} '${t}', must include alphanumeric characters`);return r},"sanitizeSafe"),Oi=n((t,e)=>`${Ci(t,"kind")}${e?`--${Ci(e,"name")}`:""}`,"toId"),Ii=n(t=>vi(t),"storyNameFromExport");function Pi(t,e){return Array.isArray(e)?e.includes(t):t.match(e)}n(Pi,"matches");function Lr(t,{includeStories:e,excludeStories:r}){return t!=="__esModule"&&(!e||Pi(t,e))&&(!r||!Pi(t,r))}n(Lr,"isExportStory");var Fi=n((...t)=>{let e=t.reduce((r,o)=>(o.startsWith("!")?r.delete(o.slice(1)):r.add(o),r),new Set);return Array.from(e)},"combineTags"),k=n(t=>Array.isArray(t)?t:t?[t]:[],"normalizeArrays"),$d=_$1` -CSF .story annotations deprecated; annotate story functions directly: -- StoryFn.story.name => StoryFn.storyName -- StoryFn.story.(parameters|decorators) => StoryFn.(parameters|decorators) -See https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#hoisted-csf-annotations for details and codemod. -`;function De(t,e,r){let o=e,i=typeof e=="function"?e:null,{story:a}=o;a&&(I$1.debug("deprecated story",a),ae($d));let u=Ii(t),l=typeof o!="function"&&o.name||o.storyName||(a==null?void 0:a.name)||u,c=[...k(o.decorators),...k(a==null?void 0:a.decorators)],p={...a==null?void 0:a.parameters,...o.parameters},m={...a==null?void 0:a.args,...o.args},h={...a==null?void 0:a.argTypes,...o.argTypes},g=[...k(o.loaders),...k(a==null?void 0:a.loaders)],J=[...k(o.beforeEach),...k(a==null?void 0:a.beforeEach)],ne=[...k(o.experimental_afterEach),...k(a==null?void 0:a.experimental_afterEach)],{render:le,play:re,tags:ce=[],globals:F={}}=o,se=p.__id||Oi(r.id,u);return{moduleExport:e,id:se,name:l,tags:ce,decorators:c,parameters:p,args:m,argTypes:Fe(h),loaders:g,beforeEach:J,experimental_afterEach:ne,globals:F,...le&&{render:le},...i&&{userStoryFn:i},...re&&{play:re}}}n(De,"normalizeStory");function jr(t,e=t.title,r){let{id:o,argTypes:i}=t;return{id:An(o||e),...t,title:e,...i&&{argTypes:Fe(i)},parameters:{fileName:r,...t.parameters}}}n(jr,"normalizeComponentAnnotations");var Yd=n(t=>{let{globals:e,globalTypes:r}=t;(e||r)&&I$1.error("Global args/argTypes can only be set globally",JSON.stringify({globals:e,globalTypes:r}))},"checkGlobals"),Kd=n(t=>{let{options:e}=t;e!=null&&e.storySort&&I$1.error("The storySort option parameter can only be set globally")},"checkStorySort"),xt=n(t=>{t&&(Yd(t),Kd(t))},"checkDisallowedParameters");function Di(t,e,r){let{default:o,__namedExportsOrder:i,...a}=t,u=Object.values(a)[0];if(nr(u)){let p=jr(u.meta.input,r,e);xt(p.parameters);let m={meta:p,stories:{},moduleExports:t};return Object.keys(a).forEach(h=>{if(Lr(h,p)){let g=De(h,a[h].input,p);xt(g.parameters),m.stories[g.id]=g}}),m.projectAnnotations=u.meta.preview.composed,m}let l=jr(o,r,e);xt(l.parameters);let c={meta:l,stories:{},moduleExports:t};return Object.keys(a).forEach(p=>{if(Lr(p,l)){let m=De(p,a[p],l);xt(m.parameters),c.stories[m.id]=m}}),c}n(Di,"processCSFFile");function ki(t){return t!=null&&Xd(t).includes("mount")}n(ki,"mountDestructured");function Xd(t){let e=t.toString().match(/[^(]*\(([^)]*)/);if(!e)return[];let r=Ni(e[1]);if(!r.length)return[];let o=r[0];return o.startsWith("{")&&o.endsWith("}")?Ni(o.slice(1,-1).replace(/\s/g,"")).map(i=>i.replace(/:.*|=.*/g,"")):[]}n(Xd,"getUsedProps");function Ni(t){let e=[],r=[],o=0;for(let a=0;a<t.length;a++)if(t[a]==="{"||t[a]==="[")r.push(t[a]==="{"?"}":"]");else if(t[a]===r[r.length-1])r.pop();else if(!r.length&&t[a]===","){let u=t.substring(o,a).trim();u&&e.push(u),o=a+1}let i=t.substring(o).trim();return i&&e.push(i),e}n(Ni,"splitByComma");function xn(t,e,r){let o=r(t);return i=>e(o,i)}n(xn,"decorateStory");function vn({componentId:t,title:e,kind:r,id:o,name:i,story:a,parameters:u,initialArgs:l,argTypes:c,...p}={}){return p}n(vn,"sanitizeStoryContextUpdate");function vt(t,e){let r={},o=n(a=>u=>{if(!r.value)throw new Error("Decorated function called without init");return r.value={...r.value,...vn(u)},a(r.value)},"bindWithContext"),i=e.reduce((a,u)=>xn(a,u,o),t);return a=>(r.value=a,i(a))}n(vt,"defaultDecorateStory");var Y=n((...t)=>{let e={},r=t.filter(Boolean),o=r.reduce((i,a)=>(Object.entries(a).forEach(([u,l])=>{let c=i[u];Array.isArray(l)||typeof c>"u"?i[u]=l:$$1(l)&&$$1(c)?e[u]=!0:typeof l<"u"&&(i[u]=l)}),i),{});return Object.keys(e).forEach(i=>{let a=r.filter(Boolean).map(u=>u[i]).filter(u=>typeof u<"u");a.every(u=>$$1(u))?o[i]=Y(...a):o[i]=a[a.length-1]}),o},"combineParameters");function sr(t,e,r){let{moduleExport:o,id:i,name:a}=t||{},u=Li(t,e,r),l=n(async ve=>{let we={};for(let Nt of[..."__STORYBOOK_TEST_LOADERS__"in E$1&&Array.isArray(E$1.__STORYBOOK_TEST_LOADERS__)?[E$1.__STORYBOOK_TEST_LOADERS__]:[],k(r.loaders),k(e.loaders),k(t.loaders)]){if(ve.abortSignal.aborted)return we;let Bt=await Promise.all(Nt.map(Ft=>Ft(ve)));Object.assign(we,...Bt)}return we},"applyLoaders"),c=n(async ve=>{let we=new Array;for(let Nt of[...k(r.beforeEach),...k(e.beforeEach),...k(t.beforeEach)]){if(ve.abortSignal.aborted)return we;let Bt=await Nt(ve);Bt&&we.push(Bt)}return we},"applyBeforeEach"),p=n(async ve=>{let we=[...k(r.experimental_afterEach),...k(e.experimental_afterEach),...k(t.experimental_afterEach)].reverse();for(let Nt of we){if(ve.abortSignal.aborted)return;await Nt(ve)}},"applyAfterEach"),m=n(ve=>ve.originalStoryFn(ve.args,ve),"undecoratedStoryFn"),{applyDecorators:h=vt,runStep:g}=r,J=[...k(t==null?void 0:t.decorators),...k(e==null?void 0:e.decorators),...k(r==null?void 0:r.decorators)],ne=(t==null?void 0:t.userStoryFn)||(t==null?void 0:t.render)||e.render||r.render,le=ft(h)(m,J),re=n(ve=>le(ve),"unboundStoryFn"),ce=(t==null?void 0:t.play)??(e==null?void 0:e.play),F=ki(ce);if(!ne&&!F)throw new Dr({id:i});let se=n(ve=>async()=>(await ve.renderToCanvas(),ve.canvas),"defaultMount"),he=t.mount??e.mount??r.mount??se,Ve=r.testingLibraryRender;return{storyGlobals:{},...u,moduleExport:o,id:i,name:a,story:a,originalStoryFn:ne,undecoratedStoryFn:m,unboundStoryFn:re,applyLoaders:l,applyBeforeEach:c,applyAfterEach:p,playFunction:ce,runStep:g,mount:he,testingLibraryRender:Ve,renderToCanvas:r.renderToCanvas,usesMount:F}}n(sr,"prepareStory");function wt(t,e,r){return{...Li(void 0,t,e),moduleExport:r}}n(wt,"prepareMeta");function Li(t,e,r){var ce;let o=["dev","test"],i=((ce=E$1.DOCS_OPTIONS)==null?void 0:ce.autodocs)===!0?["autodocs"]:[],a=Fi(...o,...i,...r.tags??[],...e.tags??[],...(t==null?void 0:t.tags)??[]),u=Y(r.parameters,e.parameters,t==null?void 0:t.parameters),{argTypesEnhancers:l=[],argsEnhancers:c=[]}=r,p=Y(r.argTypes,e.argTypes,t==null?void 0:t.argTypes);if(t){let F=(t==null?void 0:t.userStoryFn)||(t==null?void 0:t.render)||e.render||r.render;u.__isArgsStory=F&&F.length>0}let m={...r.args,...e.args,...t==null?void 0:t.args},h={...e.globals,...t==null?void 0:t.globals},g={componentId:e.id,title:e.title,kind:e.title,id:(t==null?void 0:t.id)||e.id,name:(t==null?void 0:t.name)||"__meta",story:(t==null?void 0:t.name)||"__meta",component:e.component,subcomponents:e.subcomponents,tags:a,parameters:u,initialArgs:m,argTypes:p,storyGlobals:h};g.argTypes=l.reduce((F,se)=>se({...g,argTypes:F}),g.argTypes);let J={...m};g.initialArgs=c.reduce((F,se)=>({...F,...se({...g,initialArgs:F})}),J);let{name:ne,story:le,...re}=g;return re}n(Li,"preparePartialAnnotations");function _t(t){var a;let{args:e}=t,r={...t,allArgs:void 0,argsByTarget:void 0};if((a=E$1.FEATURES)!=null&&a.argTypeTargetsV7){let u=Ai(t);r={...t,allArgs:t.args,argsByTarget:u,args:u[hn]||{}}}let o=Object.entries(r.args).reduce((u,[l,c])=>{var m;if(!((m=r.argTypes[l])!=null&&m.mapping))return u[l]=c,u;let p=n(h=>{let g=r.argTypes[l].mapping;return g&&h in g?g[h]:h},"mappingFn");return u[l]=Array.isArray(c)?c.map(p):p(c),u},{}),i=Object.entries(o).reduce((u,[l,c])=>{let p=r.argTypes[l]||{};return Rn(p,o,r.globals)&&(u[l]=c),u},{});return{...r,unmappedArgs:e,args:i}}n(_t,"prepareContext");var wn=n((t,e,r)=>{let o=typeof t;switch(o){case"boolean":case"string":case"number":case"function":case"symbol":return{name:o}}return t?r.has(t)?(I$1.warn(_$1` - We've detected a cycle in arg '${e}'. Args should be JSON-serializable. - - Consider using the mapping feature or fully custom args: - - Mapping: https://storybook.js.org/docs/writing-stories/args#mapping-to-complex-arg-values - - Custom args: https://storybook.js.org/docs/essentials/controls#fully-custom-args - `),{name:"other",value:"cyclic object"}):(r.add(t),Array.isArray(t)?{name:"array",value:t.length>0?wn(t[0],e,new Set(r)):{name:"other",value:"unknown"}}:{name:"object",value:oe(t,i=>wn(i,e,new Set(r)))}):{name:"object",value:{}}},"inferType"),_n=n(t=>{let{id:e,argTypes:r={},initialArgs:o={}}=t,i=oe(o,(u,l)=>({name:l,type:wn(u,`${e}.${l}`,new Set)})),a=oe(r,(u,l)=>({name:l}));return Y(i,a,r)},"inferArgTypes");_n.secondPass=!0;var ji=n((t,e)=>Array.isArray(e)?e.includes(t):t.match(e),"matches"),Mr=n((t,e,r)=>!e&&!r?t:t&&qo(t,(o,i)=>{let a=o.name||i.toString();return!!(!e||ji(a,e))&&(!r||!ji(a,r))}),"filterArgTypes"),Jd=n((t,e,r)=>{let{type:o,options:i}=t;if(o){if(r.color&&r.color.test(e)){let a=o.name;if(a==="string")return{control:{type:"color"}};a!=="enum"&&I$1.warn(`Addon controls: Control of type color only supports string, received "${a}" instead`)}if(r.date&&r.date.test(e))return{control:{type:"date"}};switch(o.name){case"array":return{control:{type:"object"}};case"boolean":return{control:{type:"boolean"}};case"string":return{control:{type:"text"}};case"number":return{control:{type:"number"}};case"enum":{let{value:a}=o;return{control:{type:(a==null?void 0:a.length)<=5?"radio":"select"},options:a}}case"function":case"symbol":return null;default:return{control:{type:i?"select":"object"}}}}},"inferControl"),ir=n(t=>{let{argTypes:e,parameters:{__isArgsStory:r,controls:{include:o=null,exclude:i=null,matchers:a={}}={}}}=t;if(!r)return e;let u=Mr(e,o,i),l=oe(u,(c,p)=>(c==null?void 0:c.type)&&Jd(c,p.toString(),a));return Y(l,u)},"inferControls");ir.secondPass=!0;function Ne({argTypes:t,globalTypes:e,argTypesEnhancers:r,decorators:o,loaders:i,beforeEach:a,experimental_afterEach:u,globals:l,initialGlobals:c,...p}){return l&&Object.keys(l).length>0&&ae(_$1` - The preview.js 'globals' field is deprecated and will be removed in Storybook 9.0. - Please use 'initialGlobals' instead. Learn more: - - https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#previewjs-globals-renamed-to-initialglobals - `),{...t&&{argTypes:Fe(t)},...e&&{globalTypes:Fe(e)},decorators:k(o),loaders:k(i),beforeEach:k(a),experimental_afterEach:k(u),argTypesEnhancers:[...r||[],_n,ir],initialGlobals:Y(c,l),...p}}n(Ne,"normalizeProjectAnnotations");var Mi=n(t=>async()=>{let e=[];for(let r of t){let o=await r();o&&e.unshift(o)}return async()=>{for(let r of e)await r()}},"composeBeforeAllHooks");function Ct(t){return async(e,r,o)=>{await t.reduceRight((i,a)=>async()=>a(e,i,o),async()=>r(o))()}}n(Ct,"composeStepRunners");function Gr(t,e){return t.map(r=>{var o;return((o=r.default)==null?void 0:o[e])??r[e]}).filter(Boolean)}n(Gr,"getField");function Te(t,e,r={}){return Gr(t,e).reduce((o,i)=>{let a=k(i);return r.reverseFileOrder?[...a,...o]:[...o,...a]},[])}n(Te,"getArrayField");function Ur(t,e){return Object.assign({},...Gr(t,e))}n(Ur,"getObjectField");function ar(t,e){return Gr(t,e).pop()}n(ar,"getSingletonField");function ke(t){var i;let e=Te(t,"argTypesEnhancers"),r=Gr(t,"runStep"),o=Te(t,"beforeAll");return{parameters:Y(...Gr(t,"parameters")),decorators:Te(t,"decorators",{reverseFileOrder:!(((i=E$1.FEATURES)==null?void 0:i.legacyDecoratorFileOrder)??!1)}),args:Ur(t,"args"),argsEnhancers:Te(t,"argsEnhancers"),argTypes:Ur(t,"argTypes"),argTypesEnhancers:[...e.filter(a=>!a.secondPass),...e.filter(a=>a.secondPass)],globals:Ur(t,"globals"),initialGlobals:Ur(t,"initialGlobals"),globalTypes:Ur(t,"globalTypes"),loaders:Te(t,"loaders"),beforeAll:Mi(o),beforeEach:Te(t,"beforeEach"),experimental_afterEach:Te(t,"experimental_afterEach"),render:ar(t,"render"),renderToCanvas:ar(t,"renderToCanvas"),renderToDOM:ar(t,"renderToDOM"),applyDecorators:ar(t,"applyDecorators"),runStep:Ct(r),tags:Te(t,"tags"),mount:ar(t,"mount"),testingLibraryRender:ar(t,"testingLibraryRender")}}n(ke,"composeConfigs");var Cn=class{constructor(){this.reports=[]}async addReport(e){this.reports.push(e)}};n(Cn,"ReporterAPI");var Ee=Cn;function Pt(t,e,r){return nr(t)?{story:t.input,meta:t.meta.input,preview:t.meta.preview.composed}:{story:t,meta:e,preview:r}}n(Pt,"getCsfFactoryAnnotations");function Ui(t){globalThis.defaultProjectAnnotations=t}n(Ui,"setDefaultProjectAnnotations");var Qd="ComposedStory",Zd="Unnamed Story";function eu(t){return t?ke([t]):{}}n(eu,"extractAnnotation");function Gi(t){let e=Array.isArray(t)?t:[t];return globalThis.globalProjectAnnotations=ke([globalThis.defaultProjectAnnotations??{},ke(e.map(eu))]),globalThis.globalProjectAnnotations??{}}n(Gi,"setProjectAnnotations");var Re=[];function Pn(t,e,r,o,i){var ce;if(t===void 0)throw new Error("Expected a story but received undefined.");e.title=e.title??Qd;let a=jr(e),u=i||t.storyName||((ce=t.story)==null?void 0:ce.name)||t.name||Zd,l=De(u,t,a),c=Ne(ke([o??globalThis.globalProjectAnnotations??{},r??{}])),p=sr(l,a,c),m={...Et(c.globalTypes),...c.initialGlobals,...p.storyGlobals},h=new Ee,g=n(()=>{let F=_t({hooks:new be,globals:m,args:{...p.initialArgs},viewMode:"story",reporting:h,loaded:{},abortSignal:new AbortController().signal,step:n((se,he)=>p.runStep(se,he,F),"step"),canvasElement:null,canvas:{},globalTypes:c.globalTypes,...p,context:null,mount:null});return F.parameters.__isPortableStory=!0,F.context=F,p.renderToCanvas&&(F.renderToCanvas=async()=>{var he;let se=await((he=p.renderToCanvas)==null?void 0:he.call(p,{componentId:p.componentId,title:p.title,id:p.id,name:p.name,tags:p.tags,showMain:n(()=>{},"showMain"),showError:n(Ve=>{throw new Error(`${Ve.title} -${Ve.description}`)},"showError"),showException:n(Ve=>{throw Ve},"showException"),forceRemount:!0,storyContext:F,storyFn:n(()=>p.unboundStoryFn(F),"storyFn"),unboundStoryFn:p.unboundStoryFn},F.canvasElement));se&&Re.push(se)}),F.mount=p.mount(F),F},"initializeContext"),J,ne=n(async F=>{var he;let se=g();return se.canvasElement??(se.canvasElement=(he=globalThis==null?void 0:globalThis.document)==null?void 0:he.body),J&&(se.loaded=J.loaded),Object.assign(se,F),p.playFunction(se)},"play"),le=n(F=>{let se=g();return Object.assign(se,F),tu(p,se)},"run"),re=p.playFunction?ne:void 0;return Object.assign(n(function(F){let se=g();return J&&(se.loaded=J.loaded),se.args={...se.initialArgs,...F},p.unboundStoryFn(se)},"storyFn"),{id:p.id,storyName:u,load:n(async()=>{for(let se of[...Re].reverse())await se();Re.length=0;let F=g();F.loaded=await p.applyLoaders(F),Re.push(...(await p.applyBeforeEach(F)).filter(Boolean)),J=F},"load"),globals:m,args:p.initialArgs,parameters:p.parameters,argTypes:p.argTypes,play:re,run:le,reporting:h,tags:p.tags})}n(Pn,"composeStory");var ru=n((t,e,r,o)=>Pn(t,e,r,{},o),"defaultComposeStory");function qi(t,e,r=ru){let{default:o,__esModule:i,__namedExportsOrder:a,...u}=t,l=o;return Object.entries(u).reduce((c,[p,m])=>{let{story:h,meta:g}=Pt(m);return!l&&g&&(l=g),Lr(p,l)?Object.assign(c,{[p]:r(h,l,e,p)}):c},{})}n(qi,"composeStories");function Bi(t){return t.extend({mount:n(async({mount:e,page:r},o)=>{await o(async(i,...a)=>{if(!("__pw_type"in i)||"__pw_type"in i&&i.__pw_type!=="jsx")throw new Error(_$1` - Portable stories in Playwright CT only work when referencing JSX elements. - Please use JSX format for your components such as: - - instead of: - await mount(MyComponent, { props: { foo: 'bar' } }) - - do: - await mount(<MyComponent foo="bar"/>) - - More info: https://storybook.js.org/docs/api/portable-stories-playwright - `);await r.evaluate(async l=>{var p,m,h;let c=await((p=globalThis.__pwUnwrapObject)==null?void 0:p.call(globalThis,l));return(h=(m="__pw_type"in c?c.type:c)==null?void 0:m.load)==null?void 0:h.call(m)},i);let u=await e(i,...a);return await r.evaluate(async l=>{var h,g;let c=await((h=globalThis.__pwUnwrapObject)==null?void 0:h.call(globalThis,l)),p="__pw_type"in c?c.type:c,m=document.querySelector("#root");return(g=p==null?void 0:p.play)==null?void 0:g.call(p,{canvasElement:m})},i),u})},"mount")})}n(Bi,"createPlaywrightTest");async function tu(t,e){var i,a;for(let u of[...Re].reverse())await u();if(Re.length=0,!e.canvasElement){let u=document.createElement("div");(a=(i=globalThis==null?void 0:globalThis.document)==null?void 0:i.body)==null||a.appendChild(u),e.canvasElement=u,Re.push(()=>{var l,c,p,m;(c=(l=globalThis==null?void 0:globalThis.document)==null?void 0:l.body)!=null&&c.contains(u)&&((m=(p=globalThis==null?void 0:globalThis.document)==null?void 0:p.body)==null||m.removeChild(u))})}if(e.loaded=await t.applyLoaders(e),e.abortSignal.aborted)return;Re.push(...(await t.applyBeforeEach(e)).filter(Boolean));let r=t.playFunction,o=t.usesMount;o||await e.mount(),!e.abortSignal.aborted&&(r&&(o||(e.mount=async()=>{throw new Oe({playFunction:r.toString()})}),await r(e)),await t.applyAfterEach(e))}n(tu,"runStory");function Vi(t,e){return Uo(Go(t,e),r=>r===void 0)}n(Vi,"picky");var Hi=1e3,ou=1e4,On=class{constructor(e,r,o){this.importFn=r,this.getStoriesJsonData=n(()=>{let u=this.getSetStoriesPayload(),l=["fileName","docsOnly","framework","__id","__isArgsStory"];return{v:3,stories:oe(u.stories,c=>{let{importPath:p}=this.storyIndex.entries[c.id];return{...Vi(c,["id","name","title"]),importPath:p,kind:c.title,story:c.name,parameters:{...Vi(c.parameters,l),fileName:p}}})}},"getStoriesJsonData"),this.storyIndex=new At(e),this.projectAnnotations=Ne(o);let{initialGlobals:i,globalTypes:a}=this.projectAnnotations;this.args=new Tt,this.userGlobals=new Rt({globals:i,globalTypes:a}),this.hooks={},this.cleanupCallbacks={},this.processCSFFileWithCache=(0,Ot.default)(Hi)(Di),this.prepareMetaWithCache=(0,Ot.default)(Hi)(wt),this.prepareStoryWithCache=(0,Ot.default)(ou)(sr)}setProjectAnnotations(e){this.projectAnnotations=Ne(e);let{initialGlobals:r,globalTypes:o}=e;this.userGlobals.set({globals:r,globalTypes:o})}async onStoriesChanged({importFn:e,storyIndex:r}){e&&(this.importFn=e),r&&(this.storyIndex.entries=r.entries),this.cachedCSFFiles&&await this.cacheAllCSFFiles()}async storyIdToEntry(e){return this.storyIndex.storyIdToEntry(e)}async loadCSFFileByStoryId(e){let{importPath:r,title:o}=this.storyIndex.storyIdToEntry(e),i=await this.importFn(r);return this.processCSFFileWithCache(i,r,o)}async loadAllCSFFiles(){let e={};return Object.entries(this.storyIndex.entries).forEach(([r,{importPath:o}])=>{e[o]=r}),(await Promise.all(Object.entries(e).map(async([r,o])=>({importPath:r,csfFile:await this.loadCSFFileByStoryId(o)})))).reduce((r,{importPath:o,csfFile:i})=>(r[o]=i,r),{})}async cacheAllCSFFiles(){this.cachedCSFFiles=await this.loadAllCSFFiles()}preparedMetaFromCSFFile({csfFile:e}){let r=e.meta;return this.prepareMetaWithCache(r,this.projectAnnotations,e.moduleExports.default)}async loadStory({storyId:e}){let r=await this.loadCSFFileByStoryId(e);return this.storyFromCSFFile({storyId:e,csfFile:r})}storyFromCSFFile({storyId:e,csfFile:r}){let o=r.stories[e];if(!o)throw new Ir({storyId:e});let i=r.meta,a=this.prepareStoryWithCache(o,i,r.projectAnnotations??this.projectAnnotations);return this.args.setInitial(a),this.hooks[a.id]=this.hooks[a.id]||new be,a}componentStoriesFromCSFFile({csfFile:e}){return Object.keys(this.storyIndex.entries).filter(r=>!!e.stories[r]).map(r=>this.storyFromCSFFile({storyId:r,csfFile:e}))}async loadEntry(e){let r=await this.storyIdToEntry(e),o=r.type==="docs"?r.storiesImports:[],[i,...a]=await Promise.all([this.importFn(r.importPath),...o.map(u=>{let l=this.storyIndex.importPathToEntry(u);return this.loadCSFFileByStoryId(l.id)})]);return{entryExports:i,csfFiles:a}}getStoryContext(e,{forceInitialArgs:r=!1}={}){let o=this.userGlobals.get(),{initialGlobals:i}=this.userGlobals,a=new Ee;return _t({...e,args:r?e.initialArgs:this.args.get(e.id),initialGlobals:i,globalTypes:this.projectAnnotations.globalTypes,userGlobals:o,reporting:a,globals:{...o,...e.storyGlobals},hooks:this.hooks[e.id]})}addCleanupCallbacks(e,r){this.cleanupCallbacks[e.id]=r}async cleanupStory(e){this.hooks[e.id].clean();let r=this.cleanupCallbacks[e.id];if(r)for(let o of[...r].reverse())await o();delete this.cleanupCallbacks[e.id]}extract(e={includeDocsOnly:!1}){let{cachedCSFFiles:r}=this;if(!r)throw new vr;return Object.entries(this.storyIndex.entries).reduce((o,[i,{type:a,importPath:u}])=>{if(a==="docs")return o;let l=r[u],c=this.storyFromCSFFile({storyId:i,csfFile:l});return!e.includeDocsOnly&&c.parameters.docsOnly||(o[i]=Object.entries(c).reduce((p,[m,h])=>m==="moduleExport"||typeof h=="function"?p:Array.isArray(h)?Object.assign(p,{[m]:h.slice().sort()}):Object.assign(p,{[m]:h}),{args:c.initialArgs,globals:{...this.userGlobals.initialGlobals,...this.userGlobals.globals,...c.storyGlobals}})),o},{})}getSetStoriesPayload(){let e=this.extract({includeDocsOnly:!0}),r=Object.values(e).reduce((o,{title:i})=>(o[i]={},o),{});return{v:2,globals:this.userGlobals.get(),globalParameters:{},kindParameters:r,stories:e}}raw(){return ae("StoryStore.raw() is deprecated and will be removed in 9.0, please use extract() instead"),Object.values(this.extract()).map(({id:e})=>this.fromId(e)).filter(Boolean)}fromId(e){if(ae("StoryStore.fromId() is deprecated and will be removed in 9.0, please use loadStory() instead"),!this.cachedCSFFiles)throw new Error("Cannot call fromId/raw() unless you call cacheAllCSFFiles() first.");let r;try{({importPath:r}=this.storyIndex.storyIdToEntry(e))}catch{return null}let o=this.cachedCSFFiles[r],i=this.storyFromCSFFile({storyId:e,csfFile:o});return{...i,storyFn:n(a=>{let u={...this.getStoryContext(i),abortSignal:new AbortController().signal,canvasElement:null,loaded:{},step:n((l,c)=>i.runStep(l,c,u),"step"),context:null,mount:null,canvas:{},viewMode:"story"};return i.unboundStoryFn({...u,...a})},"storyFn")}}};n(On,"StoryStore");var Le=On;function In(t){return t.startsWith("\\\\?\\")?t:t.replace(/\\/g,"/")}n(In,"slash");var nu=n(t=>{if(t.length===0)return t;let e=t[t.length-1],r=e==null?void 0:e.replace(/(?:[.](?:story|stories))?([.][^.]+)$/i,"");if(t.length===1)return[r];let o=t[t.length-2];return r&&o&&r.toLowerCase()===o.toLowerCase()?[...t.slice(0,-2),r]:r&&(/^(story|stories)([.][^.]+)$/i.test(e)||/^index$/i.test(r))?t.slice(0,-1):[...t.slice(0,-1),r]},"sanitize");function zi(t){return t.flatMap(e=>e.split("/")).filter(Boolean).join("/")}n(zi,"pathJoin");var Fn=n((t,e,r)=>{let{directory:o,importPathMatcher:i,titlePrefix:a=""}=e||{};typeof t=="number"&&j$1.warn(_$1` - CSF Auto-title received a numeric fileName. This typically happens when - webpack is mis-configured in production mode. To force webpack to produce - filenames, set optimization.moduleIds = "named" in your webpack config. - `);let u=In(String(t));if(i.exec(u)){if(!r){let l=u.replace(o,""),c=zi([a,l]).split("/");return c=nu(c),c.join("/")}return a?zi([a,r]):r}},"userOrAutoTitleFromSpecifier"),Wi=n((t,e,r)=>{for(let o=0;o<e.length;o+=1){let i=Fn(t,e[o],r);if(i)return i}return r||void 0},"userOrAutoTitle"),$i=/\s*\/\s*/,Yi=n((t={})=>(e,r)=>{if(e.title===r.title&&!t.includeNames)return 0;let o=t.method||"configure",i=t.order||[],a=e.title.trim().split($i),u=r.title.trim().split($i);t.includeNames&&(a.push(e.name),u.push(r.name));let l=0;for(;a[l]||u[l];){if(!a[l])return-1;if(!u[l])return 1;let c=a[l],p=u[l];if(c!==p){let h=i.indexOf(c),g=i.indexOf(p),J=i.indexOf("*");return h!==-1||g!==-1?(h===-1&&(J!==-1?h=J:h=i.length),g===-1&&(J!==-1?g=J:g=i.length),h-g):o==="configure"?0:c.localeCompare(p,t.locales?t.locales:void 0,{numeric:!0,sensitivity:"accent"})}let m=i.indexOf(c);m===-1&&(m=i.indexOf("*")),i=m!==-1&&Array.isArray(i[m+1])?i[m+1]:[],l+=1}return 0},"storySort"),su=n((t,e,r)=>{if(e){let o;typeof e=="function"?o=e:o=Yi(e),t.sort(o)}else t.sort((o,i)=>r.indexOf(o.importPath)-r.indexOf(i.importPath));return t},"sortStoriesCommon"),Ki=n((t,e,r)=>{try{return su(t,e,r)}catch(o){throw new Error(_$1` - Error sorting stories with sort parameter ${e}: - - > ${o.message} - - Are you using a V6-style sort function in V7 mode? - - More info: https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#v7-style-story-sort - `)}},"sortStoriesV7"),Ae=new Error("prepareAborted"),{AbortController:Xi}=globalThis;function Ji(t){try{let{name:e="Error",message:r=String(t),stack:o}=t;return{name:e,message:r,stack:o}}catch{return{name:"Error",message:String(t)}}}n(Ji,"serializeError");var Dn=class{constructor(e,r,o,i,a,u,l={autoplay:!0,forceInitialArgs:!1},c){this.channel=e,this.store=r,this.renderToScreen=o,this.callbacks=i,this.id=a,this.viewMode=u,this.renderOptions=l,this.type="story",this.notYetRendered=!0,this.rerenderEnqueued=!1,this.disableKeyListeners=!1,this.teardownRender=n(()=>{},"teardownRender"),this.torndown=!1,this.abortController=new Xi,c&&(this.story=c,this.phase="preparing")}async runPhase(e,r,o){this.phase=r,this.channel.emit(Pe,{newPhase:this.phase,storyId:this.id}),o&&(await o(),this.checkIfAborted(e))}checkIfAborted(e){return e.aborted?(this.phase="aborted",this.channel.emit(Pe,{newPhase:this.phase,storyId:this.id}),!0):!1}async prepare(){if(await this.runPhase(this.abortController.signal,"preparing",async()=>{this.story=await this.store.loadStory({storyId:this.id})}),this.abortController.signal.aborted)throw await this.store.cleanupStory(this.story),Ae}isEqual(e){return!!(this.id===e.id&&this.story&&this.story===e.story)}isPreparing(){return["preparing"].includes(this.phase)}isPending(){return["loading","beforeEach","rendering","playing","afterEach"].includes(this.phase)}async renderToElement(e){return this.canvasElement=e,this.render({initial:!0,forceRemount:!0})}storyContext(){if(!this.story)throw new Error("Cannot call storyContext before preparing");let{forceInitialArgs:e}=this.renderOptions;return this.store.getStoryContext(this.story,{forceInitialArgs:e})}async render({initial:e=!1,forceRemount:r=!1}={}){var se,he,Ve,ve;let{canvasElement:o}=this;if(!this.story)throw new Error("cannot render when not prepared");let i=this.story;if(!o)throw new Error("cannot render when canvasElement is unset");let{id:a,componentId:u,title:l,name:c,tags:p,applyLoaders:m,applyBeforeEach:h,applyAfterEach:g,unboundStoryFn:J,playFunction:ne,runStep:le}=i;r&&!e&&(this.cancelRender(),this.abortController=new Xi);let re=this.abortController.signal,ce=!1,F=i.usesMount;try{let we={...this.storyContext(),viewMode:this.viewMode,abortSignal:re,canvasElement:o,loaded:{},step:n((B,pe)=>le(B,pe,we),"step"),context:null,canvas:{},renderToCanvas:n(async()=>{let B=await this.renderToScreen(Nt,o);this.teardownRender=B||(()=>{}),ce=!0},"renderToCanvas"),mount:n(async(...B)=>{var de,Lt;(Lt=(de=this.callbacks).showStoryDuringRender)==null||Lt.call(de);let pe=null;return await this.runPhase(re,"rendering",async()=>{pe=await i.mount(we)(...B)}),F&&await this.runPhase(re,"playing"),pe},"mount")};we.context=we;let Nt={componentId:u,title:l,kind:l,id:a,name:c,story:c,tags:p,...this.callbacks,showError:n(B=>(this.phase="errored",this.callbacks.showError(B)),"showError"),showException:n(B=>(this.phase="errored",this.callbacks.showException(B)),"showException"),forceRemount:r||this.notYetRendered,storyContext:we,storyFn:n(()=>J(we),"storyFn"),unboundStoryFn:J};if(await this.runPhase(re,"loading",async()=>{we.loaded=await m(we)}),re.aborted)return;let Bt=await h(we);if(this.store.addCleanupCallbacks(i,Bt),this.checkIfAborted(re)||(!ce&&!F&&await we.mount(),this.notYetRendered=!1,re.aborted))return;let Ft=((he=(se=this.story.parameters)==null?void 0:se.test)==null?void 0:he.dangerouslyIgnoreUnhandledErrors)===!0,jt=new Set,qe=n(B=>jt.add("error"in B?B.error:B.reason),"onError");if(this.renderOptions.autoplay&&r&&ne&&this.phase!=="errored"){window.addEventListener("error",qe),window.addEventListener("unhandledrejection",qe),this.disableKeyListeners=!0;try{if(F?await ne(we):(we.mount=async()=>{throw new Oe({playFunction:ne.toString()})},await this.runPhase(re,"playing",async()=>ne(we))),!ce)throw new Nr;this.checkIfAborted(re),!Ft&&jt.size>0?await this.runPhase(re,"errored"):await this.runPhase(re,"played")}catch(B){if((ve=(Ve=this.callbacks).showStoryDuringRender)==null||ve.call(Ve),await this.runPhase(re,"errored",async()=>{this.channel.emit(Xt,Ji(B))}),this.story.parameters.throwPlayFunctionExceptions!==!1)throw B;console.error(B)}if(!Ft&&jt.size>0&&this.channel.emit(Jt,Array.from(jt).map(Ji)),this.disableKeyListeners=!1,window.removeEventListener("unhandledrejection",qe),window.removeEventListener("error",qe),re.aborted)return}await this.runPhase(re,"completed",async()=>this.channel.emit(We,a)),this.phase!=="errored"&&await this.runPhase(re,"afterEach",async()=>{await g(we)});let Dt=!Ft&&jt.size>0,d=we.reporting.reports.some(B=>B.status==="failed"),A=Dt||d;await this.runPhase(re,"finished",async()=>this.channel.emit(ot,{storyId:a,status:A?"error":"success",reporters:we.reporting.reports}))}catch(we){this.phase="errored",this.callbacks.showException(we),await this.runPhase(re,"finished",async()=>this.channel.emit(ot,{storyId:a,status:"error",reporters:[]}))}this.rerenderEnqueued&&(this.rerenderEnqueued=!1,this.render())}async rerender(){if(this.isPending()&&this.phase!=="playing")this.rerenderEnqueued=!0;else return this.render()}async remount(){return await this.teardown(),this.render({forceRemount:!0})}cancelRender(){var e;(e=this.abortController)==null||e.abort()}async teardown(){this.torndown=!0,this.cancelRender(),this.story&&await this.store.cleanupStory(this.story);for(let e=0;e<3;e+=1){if(!this.isPending()){await this.teardownRender();return}await new Promise(r=>setTimeout(r,0))}window.location.reload(),await new Promise(()=>{})}};n(Dn,"StoryRender");var je=Dn,{fetch:iu}=E$1,au="./index.json",Nn=class{constructor(e,r,o=te$1.getChannel(),i=!0){this.importFn=e,this.getProjectAnnotations=r,this.channel=o,this.storyRenders=[],this.storeInitializationPromise=new Promise((a,u)=>{this.resolveStoreInitializationPromise=a,this.rejectStoreInitializationPromise=u}),i&&this.initialize()}get storyStore(){return new Proxy({},{get:n((e,r)=>{if(this.storyStoreValue)return ae("Accessing the Story Store is deprecated and will be removed in 9.0"),this.storyStoreValue[r];throw new Fr},"get")})}async initialize(){this.setupListeners();try{let e=await this.getProjectAnnotationsOrRenderError();await this.runBeforeAllHook(e),await this.initializeWithProjectAnnotations(e)}catch(e){this.rejectStoreInitializationPromise(e)}}ready(){return this.storeInitializationPromise}setupListeners(){this.channel.on(so,this.onStoryIndexChanged.bind(this)),this.channel.on(fr,this.onUpdateGlobals.bind(this)),this.channel.on(yr,this.onUpdateArgs.bind(this)),this.channel.on(fo,this.onRequestArgTypesInfo.bind(this)),this.channel.on(ur,this.onResetArgs.bind(this)),this.channel.on(dr,this.onForceReRender.bind(this)),this.channel.on(Kt,this.onForceRemount.bind(this))}async getProjectAnnotationsOrRenderError(){try{let e=await this.getProjectAnnotations();if(this.renderToCanvas=e.renderToCanvas,!this.renderToCanvas)throw new wr;return e}catch(e){throw this.renderPreviewEntryError("Error reading preview.js:",e),e}}async initializeWithProjectAnnotations(e){this.projectAnnotationsBeforeInitialization=e;try{let r=await this.getStoryIndexFromServer();return this.initializeWithStoryIndex(r)}catch(r){throw this.renderPreviewEntryError("Error loading story index:",r),r}}async runBeforeAllHook(e){var r,o;try{await((r=this.beforeAllCleanup)==null?void 0:r.call(this)),this.beforeAllCleanup=await((o=e.beforeAll)==null?void 0:o.call(e))}catch(i){throw this.renderPreviewEntryError("Error in beforeAll hook:",i),i}}async getStoryIndexFromServer(){let e=await iu(au);if(e.status===200)return e.json();throw new _r({text:await e.text()})}initializeWithStoryIndex(e){if(!this.projectAnnotationsBeforeInitialization)throw new Error("Cannot call initializeWithStoryIndex until project annotations resolve");this.storyStoreValue=new Le(e,this.importFn,this.projectAnnotationsBeforeInitialization),delete this.projectAnnotationsBeforeInitialization,this.setInitialGlobals(),this.resolveStoreInitializationPromise()}async setInitialGlobals(){this.emitGlobals()}emitGlobals(){if(!this.storyStoreValue)throw new V({methodName:"emitGlobals"});let e={globals:this.storyStoreValue.userGlobals.get()||{},globalTypes:this.storyStoreValue.projectAnnotations.globalTypes||{}};this.channel.emit(ro,e)}async onGetProjectAnnotationsChanged({getProjectAnnotations:e}){delete this.previewEntryError,this.getProjectAnnotations=e;let r=await this.getProjectAnnotationsOrRenderError();if(await this.runBeforeAllHook(r),!this.storyStoreValue){await this.initializeWithProjectAnnotations(r);return}this.storyStoreValue.setProjectAnnotations(r),this.emitGlobals()}async onStoryIndexChanged(){if(delete this.previewEntryError,!(!this.storyStoreValue&&!this.projectAnnotationsBeforeInitialization))try{let e=await this.getStoryIndexFromServer();if(this.projectAnnotationsBeforeInitialization){this.initializeWithStoryIndex(e);return}await this.onStoriesChanged({storyIndex:e})}catch(e){throw this.renderPreviewEntryError("Error loading story index:",e),e}}async onStoriesChanged({importFn:e,storyIndex:r}){if(!this.storyStoreValue)throw new V({methodName:"onStoriesChanged"});await this.storyStoreValue.onStoriesChanged({importFn:e,storyIndex:r})}async onUpdateGlobals({globals:e,currentStory:r}){if(this.storyStoreValue||await this.storeInitializationPromise,!this.storyStoreValue)throw new V({methodName:"onUpdateGlobals"});if(this.storyStoreValue.userGlobals.update(e),r){let{initialGlobals:o,storyGlobals:i,userGlobals:a,globals:u}=this.storyStoreValue.getStoryContext(r);this.channel.emit(Ce,{initialGlobals:o,userGlobals:a,storyGlobals:i,globals:u})}else{let{initialGlobals:o,globals:i}=this.storyStoreValue.userGlobals;this.channel.emit(Ce,{initialGlobals:o,userGlobals:i,storyGlobals:{},globals:i})}await Promise.all(this.storyRenders.map(o=>o.rerender()))}async onUpdateArgs({storyId:e,updatedArgs:r}){if(!this.storyStoreValue)throw new V({methodName:"onUpdateArgs"});this.storyStoreValue.args.update(e,r),await Promise.all(this.storyRenders.filter(o=>o.id===e&&!o.renderOptions.forceInitialArgs).map(o=>o.story&&o.story.usesMount?o.remount():o.rerender())),this.channel.emit(to,{storyId:e,args:this.storyStoreValue.args.get(e)})}async onRequestArgTypesInfo({id:e,payload:r}){var o;try{await this.storeInitializationPromise;let i=await((o=this.storyStoreValue)==null?void 0:o.loadStory(r));this.channel.emit(nt,{id:e,success:!0,payload:{argTypes:(i==null?void 0:i.argTypes)||{}},error:null})}catch(i){this.channel.emit(nt,{id:e,success:!1,error:i==null?void 0:i.message})}}async onResetArgs({storyId:e,argNames:r}){var a;if(!this.storyStoreValue)throw new V({methodName:"onResetArgs"});let o=((a=this.storyRenders.find(u=>u.id===e))==null?void 0:a.story)||await this.storyStoreValue.loadStory({storyId:e}),i=(r||[...new Set([...Object.keys(o.initialArgs),...Object.keys(this.storyStoreValue.args.get(e))])]).reduce((u,l)=>(u[l]=o.initialArgs[l],u),{});await this.onUpdateArgs({storyId:e,updatedArgs:i})}async onForceReRender(){await Promise.all(this.storyRenders.map(e=>e.rerender()))}async onForceRemount({storyId:e}){await Promise.all(this.storyRenders.filter(r=>r.id===e).map(r=>r.remount()))}renderStoryToElement(e,r,o,i){if(!this.renderToCanvas||!this.storyStoreValue)throw new V({methodName:"renderStoryToElement"});let a=new je(this.channel,this.storyStoreValue,this.renderToCanvas,o,e.id,"docs",i,e);return a.renderToElement(r),this.storyRenders.push(a),async()=>{await this.teardownRender(a)}}async teardownRender(e,{viewModeChanged:r}={}){var o;this.storyRenders=this.storyRenders.filter(i=>i!==e),await((o=e==null?void 0:e.teardown)==null?void 0:o.call(e,{viewModeChanged:r}))}async loadStory({storyId:e}){if(!this.storyStoreValue)throw new V({methodName:"loadStory"});return this.storyStoreValue.loadStory({storyId:e})}getStoryContext(e,{forceInitialArgs:r=!1}={}){if(!this.storyStoreValue)throw new V({methodName:"getStoryContext"});return this.storyStoreValue.getStoryContext(e,{forceInitialArgs:r})}async extract(e){if(!this.storyStoreValue)throw new V({methodName:"extract"});if(this.previewEntryError)throw this.previewEntryError;return await this.storyStoreValue.cacheAllCSFFiles(),this.storyStoreValue.extract(e)}renderPreviewEntryError(e,r){this.previewEntryError=r,I$1.error(e),I$1.error(r),this.channel.emit($t,r)}};n(Nn,"Preview");var Me=Nn,kn=class{constructor(e,r,o,i){this.channel=e,this.store=r,this.renderStoryToElement=o,this.storyIdByName=n(a=>{let u=this.nameToStoryId.get(a);if(u)return u;throw new Error(`No story found with that name: ${a}`)},"storyIdByName"),this.componentStories=n(()=>this.componentStoriesValue,"componentStories"),this.componentStoriesFromCSFFile=n(a=>this.store.componentStoriesFromCSFFile({csfFile:a}),"componentStoriesFromCSFFile"),this.storyById=n(a=>{if(!a){if(!this.primaryStory)throw new Error("No primary story defined for docs entry. Did you forget to use `<Meta>`?");return this.primaryStory}let u=this.storyIdToCSFFile.get(a);if(!u)throw new Error(`Called \`storyById\` for story that was never loaded: ${a}`);return this.store.storyFromCSFFile({storyId:a,csfFile:u})},"storyById"),this.getStoryContext=n(a=>({...this.store.getStoryContext(a),loaded:{},viewMode:"docs"}),"getStoryContext"),this.loadStory=n(a=>this.store.loadStory({storyId:a}),"loadStory"),this.componentStoriesValue=[],this.storyIdToCSFFile=new Map,this.exportToStory=new Map,this.exportsToCSFFile=new Map,this.nameToStoryId=new Map,this.attachedCSFFiles=new Set,i.forEach((a,u)=>{this.referenceCSFFile(a)})}referenceCSFFile(e){this.exportsToCSFFile.set(e.moduleExports,e),this.exportsToCSFFile.set(e.moduleExports.default,e),this.store.componentStoriesFromCSFFile({csfFile:e}).forEach(r=>{let o=e.stories[r.id];this.storyIdToCSFFile.set(o.id,e),this.exportToStory.set(o.moduleExport,r)})}attachCSFFile(e){if(!this.exportsToCSFFile.has(e.moduleExports))throw new Error("Cannot attach a CSF file that has not been referenced");this.attachedCSFFiles.has(e)||(this.attachedCSFFiles.add(e),this.store.componentStoriesFromCSFFile({csfFile:e}).forEach(r=>{this.nameToStoryId.set(r.name,r.id),this.componentStoriesValue.push(r),this.primaryStory||(this.primaryStory=r)}))}referenceMeta(e,r){let o=this.resolveModuleExport(e);if(o.type!=="meta")throw new Error("<Meta of={} /> must reference a CSF file module export or meta export. Did you mistakenly reference your component instead of your CSF file?");r&&this.attachCSFFile(o.csfFile)}get projectAnnotations(){let{projectAnnotations:e}=this.store;if(!e)throw new Error("Can't get projectAnnotations from DocsContext before they are initialized");return e}resolveAttachedModuleExportType(e){if(e==="story"){if(!this.primaryStory)throw new Error("No primary story attached to this docs file, did you forget to use <Meta of={} />?");return{type:"story",story:this.primaryStory}}if(this.attachedCSFFiles.size===0)throw new Error("No CSF file attached to this docs file, did you forget to use <Meta of={} />?");let r=Array.from(this.attachedCSFFiles)[0];if(e==="meta")return{type:"meta",csfFile:r};let{component:o}=r.meta;if(!o)throw new Error("Attached CSF file does not defined a component, did you forget to export one?");return{type:"component",component:o}}resolveModuleExport(e){let r=this.exportsToCSFFile.get(e);if(r)return{type:"meta",csfFile:r};let o=this.exportToStory.get(nr(e)?e.input:e);return o?{type:"story",story:o}:{type:"component",component:e}}resolveOf(e,r=[]){let o;if(["component","meta","story"].includes(e)){let i=e;o=this.resolveAttachedModuleExportType(i)}else o=this.resolveModuleExport(e);if(r.length&&!r.includes(o.type)){let i=o.type==="component"?"component or unknown":o.type;throw new Error(_$1`Invalid value passed to the 'of' prop. The value was resolved to a '${i}' type but the only types for this block are: ${r.join(", ")}. - - Did you pass a component to the 'of' prop when the block only supports a story or a meta? - - ... or vice versa? - - Did you pass a story, CSF file or meta to the 'of' prop that is not indexed, ie. is not targeted by the 'stories' globs in the main configuration?`)}switch(o.type){case"component":return{...o,projectAnnotations:this.projectAnnotations};case"meta":return{...o,preparedMeta:this.store.preparedMetaFromCSFFile({csfFile:o.csfFile})};case"story":default:return o}}};n(kn,"DocsContext");var me=kn,Ln=class{constructor(e,r,o,i){this.channel=e,this.store=r,this.entry=o,this.callbacks=i,this.type="docs",this.subtype="csf",this.torndown=!1,this.disableKeyListeners=!1,this.preparing=!1,this.id=o.id}isPreparing(){return this.preparing}async prepare(){this.preparing=!0;let{entryExports:e,csfFiles:r=[]}=await this.store.loadEntry(this.id);if(this.torndown)throw Ae;let{importPath:o,title:i}=this.entry,a=this.store.processCSFFileWithCache(e,o,i),u=Object.keys(a.stories)[0];this.story=this.store.storyFromCSFFile({storyId:u,csfFile:a}),this.csfFiles=[a,...r],this.preparing=!1}isEqual(e){return!!(this.id===e.id&&this.story&&this.story===e.story)}docsContext(e){if(!this.csfFiles)throw new Error("Cannot render docs before preparing");let r=new me(this.channel,this.store,e,this.csfFiles);return this.csfFiles.forEach(o=>r.attachCSFFile(o)),r}async renderToElement(e,r){if(!this.story||!this.csfFiles)throw new Error("Cannot render docs before preparing");let o=this.docsContext(r),{docs:i}=this.story.parameters||{};if(!i)throw new Error("Cannot render a story in viewMode=docs if `@storybook/addon-docs` is not installed");let a=await i.renderer(),{render:u}=a,l=n(async()=>{try{await u(o,i,e),this.channel.emit(pr,this.id)}catch(c){this.callbacks.showException(c)}},"renderDocs");return this.rerender=async()=>l(),this.teardownRender=async({viewModeChanged:c})=>{!c||!e||a.unmount(e)},l()}async teardown({viewModeChanged:e}={}){var r;(r=this.teardownRender)==null||r.call(this,{viewModeChanged:e}),this.torndown=!0}};n(Ln,"CsfDocsRender");var qr=Ln,jn=class{constructor(e,r,o,i){this.channel=e,this.store=r,this.entry=o,this.callbacks=i,this.type="docs",this.subtype="mdx",this.torndown=!1,this.disableKeyListeners=!1,this.preparing=!1,this.id=o.id}isPreparing(){return this.preparing}async prepare(){this.preparing=!0;let{entryExports:e,csfFiles:r=[]}=await this.store.loadEntry(this.id);if(this.torndown)throw Ae;this.csfFiles=r,this.exports=e,this.preparing=!1}isEqual(e){return!!(this.id===e.id&&this.exports&&this.exports===e.exports)}docsContext(e){if(!this.csfFiles)throw new Error("Cannot render docs before preparing");return new me(this.channel,this.store,e,this.csfFiles)}async renderToElement(e,r){if(!this.exports||!this.csfFiles||!this.store.projectAnnotations)throw new Error("Cannot render docs before preparing");let o=this.docsContext(r),{docs:i}=this.store.projectAnnotations.parameters||{};if(!i)throw new Error("Cannot render a story in viewMode=docs if `@storybook/addon-docs` is not installed");let a={...i,page:this.exports.default},u=await i.renderer(),{render:l}=u,c=n(async()=>{try{await l(o,a,e),this.channel.emit(pr,this.id)}catch(p){this.callbacks.showException(p)}},"renderDocs");return this.rerender=async()=>c(),this.teardownRender=async({viewModeChanged:p}={})=>{!p||!e||(u.unmount(e),this.torndown=!0)},c()}async teardown({viewModeChanged:e}={}){var r;(r=this.teardownRender)==null||r.call(this,{viewModeChanged:e}),this.torndown=!0}};n(jn,"MdxDocsRender");var Br=jn,lu=globalThis;function cu(t){let e=t.composedPath&&t.composedPath()[0]||t.target;return/input|textarea/i.test(e.tagName)||e.getAttribute("contenteditable")!==null}n(cu,"focusInInput");var Qi="attached-mdx",pu="unattached-mdx";function du({tags:t}){return(t==null?void 0:t.includes(pu))||(t==null?void 0:t.includes(Qi))}n(du,"isMdxEntry");function Mn(t){return t.type==="story"}n(Mn,"isStoryRender");function uu(t){return t.type==="docs"}n(uu,"isDocsRender");function fu(t){return uu(t)&&t.subtype==="csf"}n(fu,"isCsfDocsRender");var Un=class extends Me{constructor(e,r,o,i){super(e,r,void 0,!1),this.importFn=e,this.getProjectAnnotations=r,this.selectionStore=o,this.view=i,this.initialize()}setupListeners(){super.setupListeners(),lu.onkeydown=this.onKeydown.bind(this),this.channel.on(eo,this.onSetCurrentStory.bind(this)),this.channel.on(po,this.onUpdateQueryParams.bind(this)),this.channel.on(Qt,this.onPreloadStories.bind(this))}async setInitialGlobals(){if(!this.storyStoreValue)throw new V({methodName:"setInitialGlobals"});let{globals:e}=this.selectionStore.selectionSpecifier||{};e&&this.storyStoreValue.userGlobals.updateFromPersisted(e),this.emitGlobals()}async initializeWithStoryIndex(e){return await super.initializeWithStoryIndex(e),this.selectSpecifiedStory()}async selectSpecifiedStory(){if(!this.storyStoreValue)throw new V({methodName:"selectSpecifiedStory"});if(this.selectionStore.selection){await this.renderSelection();return}if(!this.selectionStore.selectionSpecifier){this.renderMissingStory();return}let{storySpecifier:e,args:r}=this.selectionStore.selectionSpecifier,o=this.storyStoreValue.storyIndex.entryFromSpecifier(e);if(!o){e==="*"?this.renderStoryLoadingException(e,new Pr):this.renderStoryLoadingException(e,new Or({storySpecifier:e.toString()}));return}let{id:i,type:a}=o;this.selectionStore.setSelection({storyId:i,viewMode:a}),this.channel.emit(ao,this.selectionStore.selection),this.channel.emit(rt,this.selectionStore.selection),await this.renderSelection({persistedArgs:r})}async onGetProjectAnnotationsChanged({getProjectAnnotations:e}){await super.onGetProjectAnnotationsChanged({getProjectAnnotations:e}),this.selectionStore.selection&&this.renderSelection()}async onStoriesChanged({importFn:e,storyIndex:r}){await super.onStoriesChanged({importFn:e,storyIndex:r}),this.selectionStore.selection?await this.renderSelection():await this.selectSpecifiedStory()}onKeydown(e){if(!this.storyRenders.find(r=>r.disableKeyListeners)&&!cu(e)){let{altKey:r,ctrlKey:o,metaKey:i,shiftKey:a,key:u,code:l,keyCode:c}=e;this.channel.emit(Zt,{event:{altKey:r,ctrlKey:o,metaKey:i,shiftKey:a,key:u,code:l,keyCode:c}})}}async onSetCurrentStory(e){this.selectionStore.setSelection({viewMode:"story",...e}),await this.storeInitializationPromise,this.channel.emit(rt,this.selectionStore.selection),this.renderSelection()}onUpdateQueryParams(e){this.selectionStore.setQueryParams(e)}async onUpdateGlobals({globals:e}){var o,i;let r=this.currentRender instanceof je&&this.currentRender.story||void 0;super.onUpdateGlobals({globals:e,currentStory:r}),(this.currentRender instanceof Br||this.currentRender instanceof qr)&&await((i=(o=this.currentRender).rerender)==null?void 0:i.call(o))}async onUpdateArgs({storyId:e,updatedArgs:r}){super.onUpdateArgs({storyId:e,updatedArgs:r})}async onPreloadStories({ids:e}){await this.storeInitializationPromise,this.storyStoreValue&&await Promise.allSettled(e.map(r=>{var o;return(o=this.storyStoreValue)==null?void 0:o.loadEntry(r)}))}async renderSelection({persistedArgs:e}={}){var g,J,ne,le;let{renderToCanvas:r}=this;if(!this.storyStoreValue||!r)throw new V({methodName:"renderSelection"});let{selection:o}=this.selectionStore;if(!o)throw new Error("Cannot call renderSelection as no selection was made");let{storyId:i}=o,a;try{a=await this.storyStoreValue.storyIdToEntry(i)}catch(re){this.currentRender&&await this.teardownRender(this.currentRender),this.renderStoryLoadingException(i,re);return}let u=((g=this.currentSelection)==null?void 0:g.storyId)!==i,l=((J=this.currentRender)==null?void 0:J.type)!==a.type;a.type==="story"?this.view.showPreparingStory({immediate:l}):this.view.showPreparingDocs({immediate:l}),(ne=this.currentRender)!=null&&ne.isPreparing()&&await this.teardownRender(this.currentRender);let c;a.type==="story"?c=new je(this.channel,this.storyStoreValue,r,this.mainStoryCallbacks(i),i,"story"):du(a)?c=new Br(this.channel,this.storyStoreValue,a,this.mainStoryCallbacks(i)):c=new qr(this.channel,this.storyStoreValue,a,this.mainStoryCallbacks(i));let p=this.currentSelection;this.currentSelection=o;let m=this.currentRender;this.currentRender=c;try{await c.prepare()}catch(re){m&&await this.teardownRender(m),re!==Ae&&this.renderStoryLoadingException(i,re);return}let h=!u&&m&&!c.isEqual(m);if(e&&Mn(c)&&(fe(!!c.story),this.storyStoreValue.args.updateFromPersisted(c.story,e)),m&&!m.torndown&&!u&&!h&&!l){this.currentRender=m,this.channel.emit(co,i),this.view.showMain();return}if(m&&await this.teardownRender(m,{viewModeChanged:l}),p&&(u||l)&&this.channel.emit(oo,i),Mn(c)){fe(!!c.story);let{parameters:re,initialArgs:ce,argTypes:F,unmappedArgs:se,initialGlobals:he,userGlobals:Ve,storyGlobals:ve,globals:we}=this.storyStoreValue.getStoryContext(c.story);this.channel.emit(io,{id:i,parameters:re,initialArgs:ce,argTypes:F,args:se}),this.channel.emit(Ce,{userGlobals:Ve,storyGlobals:ve,globals:we,initialGlobals:he})}else{let{parameters:re}=this.storyStoreValue.projectAnnotations,{initialGlobals:ce,globals:F}=this.storyStoreValue.userGlobals;if(this.channel.emit(Ce,{globals:F,initialGlobals:ce,storyGlobals:{},userGlobals:F}),fu(c)||((le=c.entry.tags)==null?void 0:le.includes(Qi))){if(!c.csfFiles)throw new Cr({storyId:i});({parameters:re}=this.storyStoreValue.preparedMetaFromCSFFile({csfFile:c.csfFiles[0]}))}this.channel.emit(Yt,{id:i,parameters:re})}Mn(c)?(fe(!!c.story),this.storyRenders.push(c),this.currentRender.renderToElement(this.view.prepareForStory(c.story))):this.currentRender.renderToElement(this.view.prepareForDocs(),this.renderStoryToElement.bind(this))}async teardownRender(e,{viewModeChanged:r=!1}={}){var o;this.storyRenders=this.storyRenders.filter(i=>i!==e),await((o=e==null?void 0:e.teardown)==null?void 0:o.call(e,{viewModeChanged:r}))}mainStoryCallbacks(e){return{showStoryDuringRender:n(()=>this.view.showStoryDuringRender(),"showStoryDuringRender"),showMain:n(()=>this.view.showMain(),"showMain"),showError:n(r=>this.renderError(e,r),"showError"),showException:n(r=>this.renderException(e,r),"showException")}}renderPreviewEntryError(e,r){super.renderPreviewEntryError(e,r),this.view.showErrorDisplay(r)}renderMissingStory(){this.view.showNoPreview(),this.channel.emit(tt)}renderStoryLoadingException(e,r){I$1.error(r),this.view.showErrorDisplay(r),this.channel.emit(tt,e)}renderException(e,r){let{name:o="Error",message:i=String(r),stack:a}=r;this.channel.emit(lo,{name:o,message:i,stack:a}),this.channel.emit(Pe,{newPhase:"errored",storyId:e}),this.view.showErrorDisplay(r),I$1.error(`Error rendering story '${e}':`),I$1.error(r)}renderError(e,{title:r,description:o}){I$1.error(`Error rendering story ${r}: ${o}`),this.channel.emit(no,{title:r,description:o}),this.channel.emit(Pe,{newPhase:"errored",storyId:e}),this.view.showErrorDisplay({message:r,stack:o})}};n(Un,"PreviewWithSelection");var Ue=Un,Hr=ue(kt(),1),da=ue(kt(),1),pa=/^[a-zA-Z0-9 _-]*$/,ua=/^-?[0-9]+(\.[0-9]+)?$/,Uu=/^#([a-f0-9]{3,4}|[a-f0-9]{6}|[a-f0-9]{8})$/i,fa=/^(rgba?|hsla?)\(([0-9]{1,3}),\s?([0-9]{1,3})%?,\s?([0-9]{1,3})%?,?\s?([0-9](\.[0-9]{1,2})?)?\)$/i,Wn=n((t="",e)=>t===null||t===""||!pa.test(t)?!1:e==null||e instanceof Date||typeof e=="number"||typeof e=="boolean"?!0:typeof e=="string"?pa.test(e)||ua.test(e)||Uu.test(e)||fa.test(e):Array.isArray(e)?e.every(r=>Wn(t,r)):$$1(e)?Object.entries(e).every(([r,o])=>Wn(r,o)):!1,"validateArgs"),Gu={delimiter:";",nesting:!0,arrayRepeat:!0,arrayRepeatSyntax:"bracket",nestingSyntax:"js",valueDeserializer(t){if(t.startsWith("!")){if(t==="!undefined")return;if(t==="!null")return null;if(t==="!true")return!0;if(t==="!false")return!1;if(t.startsWith("!date(")&&t.endsWith(")"))return new Date(t.replaceAll(" ","+").slice(6,-1));if(t.startsWith("!hex(")&&t.endsWith(")"))return`#${t.slice(5,-1)}`;let e=t.slice(1).match(fa);if(e)return t.startsWith("!rgba")||t.startsWith("!RGBA")?`${e[1]}(${e[2]}, ${e[3]}, ${e[4]}, ${e[5]})`:t.startsWith("!hsla")||t.startsWith("!HSLA")?`${e[1]}(${e[2]}, ${e[3]}%, ${e[4]}%, ${e[5]})`:t.startsWith("!rgb")||t.startsWith("!RGB")?`${e[1]}(${e[2]}, ${e[3]}, ${e[4]})`:`${e[1]}(${e[2]}, ${e[3]}%, ${e[4]}%)`}return ua.test(t)?Number(t):t}},$n=n(t=>{let e=t.split(";").map(r=>r.replace("=","~").replace(":","="));return Object.entries((0,da.parse)(e.join(";"),Gu)).reduce((r,[o,i])=>Wn(o,i)?Object.assign(r,{[o]:i}):(j$1.warn(_$1` - Omitted potentially unsafe URL args. - - More info: https://storybook.js.org/docs/writing-stories/args#setting-args-through-the-url - `),r),{})},"parseArgsParam"),{history:ya,document:xe}=E$1;function qu(t){let e=(t||"").match(/^\/story\/(.+)/);if(!e)throw new Error(`Invalid path '${t}', must start with '/story/'`);return e[1]}n(qu,"pathToId");var ma=n(({selection:t,extraParams:e})=>{let r=xe==null?void 0:xe.location.search.slice(1),{path:o,selectedKind:i,selectedStory:a,...u}=(0,Hr.parse)(r);return`?${(0,Hr.stringify)({...u,...e,...t&&{id:t.storyId,viewMode:t.viewMode}})}`},"getQueryString"),Bu=n(t=>{if(!t)return;let e=ma({selection:t}),{hash:r=""}=xe.location;xe.title=t.storyId,ya.replaceState({},"",`${xe.location.pathname}${e}${r}`)},"setPath"),Vu=n(t=>t!=null&&typeof t=="object"&&Array.isArray(t)===!1,"isObject"),Vr=n(t=>{if(t!==void 0){if(typeof t=="string")return t;if(Array.isArray(t))return Vr(t[0]);if(Vu(t))return Vr(Object.values(t).filter(Boolean))}},"getFirstString"),Hu=n(()=>{if(typeof xe<"u"){let t=xe.location.search.slice(1),e=(0,Hr.parse)(t),r=typeof e.args=="string"?$n(e.args):void 0,o=typeof e.globals=="string"?$n(e.globals):void 0,i=Vr(e.viewMode);(typeof i!="string"||!i.match(/docs|story/))&&(i="story");let a=Vr(e.path),u=a?qu(a):Vr(e.id);if(u)return{storySpecifier:u,args:r,globals:o,viewMode:i}}return null},"getSelectionSpecifierFromPath"),Yn=class{constructor(){this.selectionSpecifier=Hu()}setSelection(e){this.selection=e,Bu(this.selection)}setQueryParams(e){let r=ma({extraParams:e}),{hash:o=""}=xe.location;ya.replaceState({},"",`${xe.location.pathname}${r}${o}`)}};n(Yn,"UrlStore");var Be=Yn,$a=ue(Ha(),1),Ya=ue(kt(),1),{document:z$1}=E$1,za=100,Ka=(t=>(t.MAIN="MAIN",t.NOPREVIEW="NOPREVIEW",t.PREPARING_STORY="PREPARING_STORY",t.PREPARING_DOCS="PREPARING_DOCS",t.ERROR="ERROR",t))(Ka||{}),rs={PREPARING_STORY:"sb-show-preparing-story",PREPARING_DOCS:"sb-show-preparing-docs",MAIN:"sb-show-main",NOPREVIEW:"sb-show-nopreview",ERROR:"sb-show-errordisplay"},ts={centered:"sb-main-centered",fullscreen:"sb-main-fullscreen",padded:"sb-main-padded"},Wa=new $a.default({escapeXML:!0}),os=class{constructor(){if(this.testing=!1,typeof z$1<"u"){let{__SPECIAL_TEST_PARAMETER__:e}=(0,Ya.parse)(z$1.location.search.slice(1));switch(e){case"preparing-story":{this.showPreparingStory(),this.testing=!0;break}case"preparing-docs":{this.showPreparingDocs(),this.testing=!0;break}}}}prepareForStory(e){return this.showStory(),this.applyLayout(e.parameters.layout),z$1.documentElement.scrollTop=0,z$1.documentElement.scrollLeft=0,this.storyRoot()}storyRoot(){return z$1.getElementById("storybook-root")}prepareForDocs(){return this.showMain(),this.showDocs(),this.applyLayout("fullscreen"),z$1.documentElement.scrollTop=0,z$1.documentElement.scrollLeft=0,this.docsRoot()}docsRoot(){return z$1.getElementById("storybook-docs")}applyLayout(e="padded"){if(e==="none"){z$1.body.classList.remove(this.currentLayoutClass),this.currentLayoutClass=null;return}this.checkIfLayoutExists(e);let r=ts[e];z$1.body.classList.remove(this.currentLayoutClass),z$1.body.classList.add(r),this.currentLayoutClass=r}checkIfLayoutExists(e){ts[e]||I$1.warn(_$1` - The desired layout: ${e} is not a valid option. - The possible options are: ${Object.keys(ts).join(", ")}, none. - `)}showMode(e){clearTimeout(this.preparingTimeout),Object.keys(Ka).forEach(r=>{r===e?z$1.body.classList.add(rs[r]):z$1.body.classList.remove(rs[r])})}showErrorDisplay({message:e="",stack:r=""}){let o=e,i=r,a=e.split(` -`);a.length>1&&([o]=a,i=a.slice(1).join(` -`).replace(/^\n/,"")),z$1.getElementById("error-message").innerHTML=Wa.toHtml(o),z$1.getElementById("error-stack").innerHTML=Wa.toHtml(i),this.showMode("ERROR")}showNoPreview(){var e,r;this.testing||(this.showMode("NOPREVIEW"),(e=this.storyRoot())==null||e.setAttribute("hidden","true"),(r=this.docsRoot())==null||r.setAttribute("hidden","true"))}showPreparingStory({immediate:e=!1}={}){clearTimeout(this.preparingTimeout),e?this.showMode("PREPARING_STORY"):this.preparingTimeout=setTimeout(()=>this.showMode("PREPARING_STORY"),za)}showPreparingDocs({immediate:e=!1}={}){clearTimeout(this.preparingTimeout),e?this.showMode("PREPARING_DOCS"):this.preparingTimeout=setTimeout(()=>this.showMode("PREPARING_DOCS"),za)}showMain(){this.showMode("MAIN")}showDocs(){this.storyRoot().setAttribute("hidden","true"),this.docsRoot().removeAttribute("hidden")}showStory(){this.docsRoot().setAttribute("hidden","true"),this.storyRoot().removeAttribute("hidden")}showStoryDuringRender(){z$1.body.classList.add(rs.MAIN)}};n(os,"WebView");var He=os,ns=class extends Ue{constructor(e,r){super(e,r,new Be,new He),this.importFn=e,this.getProjectAnnotations=r,E$1.__STORYBOOK_PREVIEW__=this}};n(ns,"PreviewWeb");var Wr=ns,{document:ze}=E$1,wf=["application/javascript","application/ecmascript","application/x-ecmascript","application/x-javascript","text/ecmascript","text/javascript","text/javascript1.0","text/javascript1.1","text/javascript1.2","text/javascript1.3","text/javascript1.4","text/javascript1.5","text/jscript","text/livescript","text/x-ecmascript","text/x-javascript","module"],_f="script",Xa="scripts-root";function $r(){let t=ze.createEvent("Event");t.initEvent("DOMContentLoaded",!0,!0),ze.dispatchEvent(t)}n($r,"simulateDOMContentLoaded");function Cf(t,e,r){let o=ze.createElement("script");o.type=t.type==="module"?"module":"text/javascript",t.src?(o.onload=e,o.onerror=e,o.src=t.src):o.textContent=t.innerText,r?r.appendChild(o):ze.head.appendChild(o),t.parentNode.removeChild(t),t.src||e()}n(Cf,"insertScript");function Ja(t,e,r=0){t[r](()=>{r++,r===t.length?e():Ja(t,e,r)})}n(Ja,"insertScriptsSequentially");function ss(t){let e=ze.getElementById(Xa);e?e.innerHTML="":(e=ze.createElement("div"),e.id=Xa,ze.body.appendChild(e));let r=Array.from(t.querySelectorAll(_f));if(r.length){let o=[];r.forEach(i=>{let a=i.getAttribute("type");(!a||wf.includes(a))&&o.push(u=>Cf(i,u,e))}),o.length&&Ja(o,$r,void 0)}else $r()}n(ss,"simulatePageLoad");var Qa={"@storybook/global":Ht,"storybook/internal/channels":br,"@storybook/channels":br,"@storybook/core/channels":br,"storybook/internal/client-logger":mr,"@storybook/client-logger":mr,"@storybook/core/client-logger":mr,"storybook/internal/core-events":ge,"@storybook/core-events":ge,"@storybook/core/core-events":ge,"storybook/internal/preview-errors":kr,"@storybook/core-events/preview-errors":kr,"@storybook/core/preview-errors":kr,"storybook/internal/preview-api":Yr,"@storybook/preview-api":Yr,"@storybook/core/preview-api":Yr,"storybook/internal/types":Tr,"@storybook/types":Tr,"@storybook/core/types":Tr},el=ue(Za(),1),ls;function Pf(){var t;return ls||(ls=new el.default((t=E$1.navigator)==null?void 0:t.userAgent).getBrowserInfo()),ls}n(Pf,"getBrowserInfo");function rl(t){return t.browserInfo=Pf(),t}n(rl,"prepareForTelemetry");function Of(t){let e=t.error||t;e.fromStorybook&&E$1.sendTelemetryError(e)}n(Of,"errorListener");function If({reason:t}){t.fromStorybook&&E$1.sendTelemetryError(t)}n(If,"unhandledRejectionListener");function Ff(){cs.forEach(t=>{E$1[yo[t]]=Qa[t]}),E$1.sendTelemetryError=t=>{E$1.__STORYBOOK_ADDONS_CHANNEL__.emit(uo,rl(t))},E$1.addEventListener("error",Of),E$1.addEventListener("unhandledrejection",If)}n(Ff,"setup");Ff();const{createBrowserChannel}=__STORYBOOK_MODULE_CHANNELS__,{addons}=__STORYBOOK_MODULE_PREVIEW_API__,channel=createBrowserChannel({page:"preview"});addons.setChannel(channel);window.__STORYBOOK_ADDONS_CHANNEL__=channel;window.CONFIG_TYPE==="DEVELOPMENT"&&(window.__STORYBOOK_SERVER_CHANNEL__=channel);var b=Object.create,f=Object.defineProperty,v=Object.getOwnPropertyDescriptor,P=Object.getOwnPropertyNames,O=Object.getPrototypeOf,_=Object.prototype.hasOwnProperty,s=(t,e)=>f(t,"name",{value:e,configurable:!0}),$=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),j=(t,e,r,o)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of P(e))!_.call(t,i)&&i!==r&&f(t,i,{get:()=>e[i],enumerable:!(o=v(e,i))||o.enumerable});return t},C=(t,e,r)=>(r=t!=null?b(O(t)):{},j(e||!t||!t.__esModule?f(r,"default",{value:t,enumerable:!0}):r,t)),T=$(t=>{Object.defineProperty(t,"__esModule",{value:!0}),t.isEqual=function(){var e=Object.prototype.toString,r=Object.getPrototypeOf,o=Object.getOwnPropertySymbols?function(i){return Object.keys(i).concat(Object.getOwnPropertySymbols(i))}:Object.keys;return function(i,a){return s(function u(l,c,p){var m,h,g,J=e.call(l),ne=e.call(c);if(l===c)return!0;if(l==null||c==null)return!1;if(p.indexOf(l)>-1&&p.indexOf(c)>-1)return!0;if(p.push(l,c),J!=ne||(m=o(l),h=o(c),m.length!=h.length||m.some(function(le){return!u(l[le],c[le],p)})))return!1;switch(J.slice(8,-1)){case"Symbol":return l.valueOf()==c.valueOf();case"Date":case"Number":return+l==+c||+l!=+l&&+c!=+c;case"RegExp":case"Function":case"String":case"Boolean":return""+l==""+c;case"Set":case"Map":m=l.entries(),h=c.entries();do if(!u((g=m.next()).value,h.next().value,p))return!1;while(!g.done);return!0;case"ArrayBuffer":l=new Uint8Array(l),c=new Uint8Array(c);case"DataView":l=new Uint8Array(l.buffer),c=new Uint8Array(c.buffer);case"Float32Array":case"Float64Array":case"Int8Array":case"Int16Array":case"Int32Array":case"Uint8Array":case"Uint16Array":case"Uint32Array":case"Uint8ClampedArray":case"Arguments":case"Array":if(l.length!=c.length)return!1;for(g=0;g<l.length;g++)if((g in l||g in c)&&(g in l!=g in c||!u(l[g],c[g],p)))return!1;return!0;case"Object":return u(r(l),r(c),p);default:return!1}},"n")(i,a,[])}}()});function R(t){return t.replace(/_/g," ").replace(/-/g," ").replace(/\./g," ").replace(/([^\n])([A-Z])([a-z])/g,(e,r,o,i)=>`${r} ${o}${i}`).replace(/([a-z])([A-Z])/g,(e,r,o)=>`${r} ${o}`).replace(/([a-z])([0-9])/gi,(e,r,o)=>`${r} ${o}`).replace(/([0-9])([a-z])/gi,(e,r,o)=>`${r} ${o}`).replace(/(\s|^)(\w)/g,(e,r,o)=>`${r}${o.toUpperCase()}`).replace(/ +/g," ").trim()}s(R,"toStartCaseStr");var y=C(T(),1),x=s(t=>t.map(e=>typeof e<"u").filter(Boolean).length,"count"),E=s((t,e)=>{let{exists:r,eq:o,neq:i,truthy:a}=t;if(x([r,o,i,a])>1)throw new Error(`Invalid conditional test ${JSON.stringify({exists:r,eq:o,neq:i})}`);if(typeof o<"u")return(0,y.isEqual)(e,o);if(typeof i<"u")return!(0,y.isEqual)(e,i);if(typeof r<"u"){let u=typeof e<"u";return r?u:!u}return typeof a>"u"||a?!!e:!e},"testValue"),z=s((t,e,r)=>{if(!t.if)return!0;let{arg:o,global:i}=t.if;if(x([o,i])!==1)throw new Error(`Invalid conditional value ${JSON.stringify({arg:o,global:i})}`);let a=o?e[o]:r[i];return E(t.if,a)},"includeConditionalArg");const{composeConfigs:M,normalizeProjectAnnotations:N}=__STORYBOOK_MODULE_PREVIEW_API__;function L(t){let e,r={_tag:"Preview",input:t,get composed(){if(e)return e;let{addons:o,...i}=t;return e=N(M([...o??[],i])),e},meta(o){return I(o,this)}};return globalThis.globalProjectAnnotations=r.composed,r}s(L,"__definePreview");function W(t){return t!=null&&typeof t=="object"&&"_tag"in t&&(t==null?void 0:t._tag)==="Preview"}s(W,"isPreview");function H(t){return t!=null&&typeof t=="object"&&"_tag"in t&&(t==null?void 0:t._tag)==="Meta"}s(H,"isMeta");function I(t,e){return{_tag:"Meta",input:t,preview:e,get composed(){throw new Error("Not implemented")},story(r){return U(r,this)}}}s(I,"defineMeta");function U(t,e){return{_tag:"Story",input:t,meta:e,get composed(){throw new Error("Not implemented")}}}s(U,"defineStory");function K(t){return t!=null&&typeof t=="object"&&"_tag"in t&&(t==null?void 0:t._tag)==="Story"}s(K,"isStory");var D=s(t=>t.toLowerCase().replace(/[ ’–—―′¿'`~!@#$%^&*()_|+\-=?;:'",.<>\{\}\[\]\\\/]/gi,"-").replace(/-+/g,"-").replace(/^-+/,"").replace(/-+$/,""),"sanitize");function S(t,e){return Array.isArray(e)?e.includes(t):t.match(e)}s(S,"matches");function te(t,{includeStories:e,excludeStories:r}){return t!=="__esModule"&&(!e||S(t,e))&&(!r||!S(t,r))}s(te,"isExportStory");const importers={"./src/ui/components/CopyToClipboardInput/CopyToClipboardInput.stories.tsx":()=>__vitePreload(()=>import("./CopyToClipboardInput.stories-02f7f382.js"),["./CopyToClipboardInput.stories-02f7f382.js","./CopyToClipboardInput-3d8bb04a.js","./jsx-runtime-6d9837fe.js","./index-93f6b7ae.js","./index-d14722d4.js","./SPA-63b29876.js","./index-03a57050.js"],import.meta.url),"./src/ui/components/DateInput/DateInput.stories.tsx":()=>__vitePreload(()=>import("./DateInput.stories-ad49363a.js"),["./DateInput.stories-ad49363a.js","./jsx-runtime-6d9837fe.js","./index-93f6b7ae.js","./DateInput-b0288ce0.js","./SPA-63b29876.js","./index-03a57050.js","./DeskproAppProvider-553f0e05.js","./index-81a4e465.js","./v4-4a60fe23.js"],import.meta.url),"./src/ui/components/Divider/HorizontalDivider.stories.tsx":()=>__vitePreload(()=>import("./HorizontalDivider.stories-a24b4330.js"),["./HorizontalDivider.stories-a24b4330.js","./jsx-runtime-6d9837fe.js","./index-93f6b7ae.js","./SPA-63b29876.js","./index-03a57050.js","./DeskproAppProvider-553f0e05.js","./Divider-a1a4b2e0.js"],import.meta.url),"./src/ui/components/Divider/VerticalDivider.stories.tsx":()=>__vitePreload(()=>import("./VerticalDivider.stories-4dfd8594.js"),["./VerticalDivider.stories-4dfd8594.js","./jsx-runtime-6d9837fe.js","./index-93f6b7ae.js","./SPA-63b29876.js","./index-03a57050.js","./DeskproAppProvider-553f0e05.js","./Divider-a1a4b2e0.js"],import.meta.url),"./src/ui/components/ExternalIconLink/ExternalIconLink.stories.tsx":()=>__vitePreload(()=>import("./ExternalIconLink.stories-39a0927d.js"),["./ExternalIconLink.stories-39a0927d.js","./jsx-runtime-6d9837fe.js","./index-93f6b7ae.js","./ExternalIconLink-aaade95d.js","./SPA-63b29876.js","./index-03a57050.js"],import.meta.url),"./src/ui/components/Infinite/Infinite.stories.tsx":()=>__vitePreload(()=>import("./Infinite.stories-19498108.js"),["./Infinite.stories-19498108.js","./jsx-runtime-6d9837fe.js","./index-93f6b7ae.js","./SPA-63b29876.js","./index-03a57050.js","./ObservedDiv-d49201f3.js"],import.meta.url),"./src/ui/components/IntlPhoneInput/IntlPhoneInput.stories.tsx":()=>__vitePreload(()=>import("./IntlPhoneInput.stories-9d9c5b69.js"),["./IntlPhoneInput.stories-9d9c5b69.js","./jsx-runtime-6d9837fe.js","./index-93f6b7ae.js","./SPA-63b29876.js","./index-03a57050.js"],import.meta.url),"./src/ui/components/Link/Link.stories.tsx":()=>__vitePreload(()=>import("./Link.stories-bfc88875.js"),["./Link.stories-bfc88875.js","./jsx-runtime-6d9837fe.js","./index-93f6b7ae.js","./SPA-63b29876.js","./index-03a57050.js","./Link-37e8c95d.js","./Title-44b6a96d.js","./ExternalIconLink-aaade95d.js"],import.meta.url),"./src/ui/components/Member/Member.stories.tsx":()=>__vitePreload(()=>import("./Member.stories-99abdb74.js"),["./Member.stories-99abdb74.js","./jsx-runtime-6d9837fe.js","./index-93f6b7ae.js","./SPA-63b29876.js","./index-03a57050.js","./Member-929cc282.js"],import.meta.url),"./src/ui/components/Property/__stories__/Property.stories.tsx":()=>__vitePreload(()=>import("./Property.stories-3fdf9c1e.js"),["./Property.stories-3fdf9c1e.js","./Property-20d29019.js","./jsx-runtime-6d9837fe.js","./index-93f6b7ae.js","./SPA-63b29876.js","./index-03a57050.js","./index-d14722d4.js"],import.meta.url),"./src/ui/components/Property/__stories__/PropertyRow.stories.tsx":()=>__vitePreload(()=>import("./PropertyRow.stories-cf84015c.js"),["./PropertyRow.stories-cf84015c.js","./jsx-runtime-6d9837fe.js","./index-93f6b7ae.js","./PropertyRow-1432eb20.js","./SPA-63b29876.js","./index-03a57050.js","./Property-20d29019.js","./index-d14722d4.js"],import.meta.url),"./src/ui/components/Property/__stories__/TwoProperties.stories.tsx":()=>__vitePreload(()=>import("./TwoProperties.stories-753977ce.js"),["./TwoProperties.stories-753977ce.js","./jsx-runtime-6d9837fe.js","./index-93f6b7ae.js","./TwoProperties-5f16b6f7.js","./Property-20d29019.js","./SPA-63b29876.js","./index-03a57050.js","./index-d14722d4.js","./PropertyRow-1432eb20.js"],import.meta.url),"./src/ui/components/Search/Search.stories.tsx":()=>__vitePreload(()=>import("./Search.stories-67cb6491.js"),["./Search.stories-67cb6491.js","./jsx-runtime-6d9837fe.js","./index-93f6b7ae.js","./Search-5ebba4e3.js","./SPA-63b29876.js","./index-03a57050.js","./index-81a4e465.js","./v4-4a60fe23.js"],import.meta.url),"./src/ui/components/Section/Section.stories.tsx":()=>__vitePreload(()=>import("./Section.stories-6ff2b584.js"),["./Section.stories-6ff2b584.js","./jsx-runtime-6d9837fe.js","./index-93f6b7ae.js","./Section-21310854.js"],import.meta.url),"./src/ui/components/Select/__stories__/Select.stories.tsx":()=>__vitePreload(()=>import("./Select.stories-6f208aef.js"),["./Select.stories-6f208aef.js","./jsx-runtime-6d9837fe.js","./index-93f6b7ae.js","./index-81a4e465.js","./v4-4a60fe23.js","./SPA-63b29876.js","./index-03a57050.js","./Member-929cc282.js","./Select-89f08062.js"],import.meta.url),"./src/ui/components/Spinner/Spinner.stories.tsx":()=>__vitePreload(()=>import("./Spinner.stories-00b34f0b.js"),["./Spinner.stories-00b34f0b.js","./jsx-runtime-6d9837fe.js","./index-93f6b7ae.js","./SPA-63b29876.js","./index-03a57050.js"],import.meta.url),"./src/ui/components/Title/Title.stories.tsx":()=>__vitePreload(()=>import("./Title.stories-15a04830.js"),["./Title.stories-15a04830.js","./jsx-runtime-6d9837fe.js","./index-93f6b7ae.js","./SPA-63b29876.js","./index-03a57050.js","./Title-44b6a96d.js","./ExternalIconLink-aaade95d.js"],import.meta.url),"./src/ui/components/TwoButtonGroup/TwoButtonGroup.stories.tsx":()=>__vitePreload(()=>import("./TwoButtonGroup.stories-5222a109.js"),["./TwoButtonGroup.stories-5222a109.js","./jsx-runtime-6d9837fe.js","./index-93f6b7ae.js","./SPA-63b29876.js","./index-03a57050.js","./TwoButtonGroup-a846b546.js"],import.meta.url)};async function importFn(t){return await importers[t]()}Ff();const{composeConfigs,PreviewWeb}=__STORYBOOK_MODULE_PREVIEW_API__,getProjectAnnotations=async(t=[])=>{const e=await __vitePreload(()=>import("./preview-7da29431.js"),["./preview-7da29431.js","./jsx-runtime-6d9837fe.js","./index-93f6b7ae.js","./DeskproAppProvider-553f0e05.js","./SPA-63b29876.js","./index-03a57050.js","./CopyToClipboardInput-3d8bb04a.js","./index-d14722d4.js","./Divider-a1a4b2e0.js","./ExternalIconLink-aaade95d.js","./ObservedDiv-d49201f3.js","./Property-20d29019.js","./PropertyRow-1432eb20.js","./TwoProperties-5f16b6f7.js","./Section-21310854.js","./Title-44b6a96d.js","./TwoButtonGroup-a846b546.js","./DateInput-b0288ce0.js","./Search-5ebba4e3.js","./Select-89f08062.js","./Link-37e8c95d.js","./Member-929cc282.js","./preview-68a5005d.css"],import.meta.url);if(W(e.default))return e.default.composed;const r=await Promise.all([t[0]??__vitePreload(()=>import("./entry-preview-1eb1b2bc.js"),["./entry-preview-1eb1b2bc.js","./chunk-XP5HYGXS-8b50b325.js","./index-93f6b7ae.js"],import.meta.url),t[1]??__vitePreload(()=>import("./entry-preview-docs-a923bc8c.js"),["./entry-preview-docs-a923bc8c.js","./chunk-XP5HYGXS-8b50b325.js","./index-ba5305b1.js","./index-93f6b7ae.js"],import.meta.url),t[2]??__vitePreload(()=>import("./preview-31cb6d83.js"),[],import.meta.url),t[3]??__vitePreload(()=>import("./preview-7c4b96a2.js"),["./preview-7c4b96a2.js","./v4-4a60fe23.js"],import.meta.url),t[4]??__vitePreload(()=>import("./preview-fa9b2a83.js"),[],import.meta.url),t[5]??__vitePreload(()=>import("./preview-fad4d79b.js"),["./preview-fad4d79b.js","./index-356e4a49.js"],import.meta.url),t[6]??__vitePreload(()=>import("./preview-d0ce5b67.js"),[],import.meta.url),t[7]??__vitePreload(()=>import("./preview-9e19507e.js"),[],import.meta.url),t[8]??__vitePreload(()=>import("./preview-0a3d7b22.js"),["./preview-0a3d7b22.js","./index-356e4a49.js"],import.meta.url),t[9]??__vitePreload(()=>import("./preview-8c2b145e.js"),[],import.meta.url),t[10]??__vitePreload(()=>import("./preview-f84df002.js"),["./preview-f84df002.js","./index-135b5535.js"],import.meta.url)]);return composeConfigs([...r,e])};window.__STORYBOOK_PREVIEW__=window.__STORYBOOK_PREVIEW__||new PreviewWeb(importFn,getProjectAnnotations);window.__STORYBOOK_STORY_STORE__=window.__STORYBOOK_STORY_STORE__||window.__STORYBOOK_PREVIEW__.storyStore;export{D,__vitePreload as _,z}; diff --git a/docs/storybook/assets/index-03a57050.js b/docs/storybook/assets/index-03a57050.js deleted file mode 100644 index 6f38971..0000000 --- a/docs/storybook/assets/index-03a57050.js +++ /dev/null @@ -1,24 +0,0 @@ -import{r as _a,g as Na}from"./index-93f6b7ae.js";var Co={exports:{}},ve={},xo={exports:{}},_o={};/** - * @license React - * scheduler.production.min.js - * - * Copyright (c) Facebook, Inc. and its affiliates. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */(function(e){function n(C,z){var P=C.length;C.push(z);e:for(;0<P;){var H=P-1>>>1,Y=C[H];if(0<l(Y,z))C[H]=z,C[P]=Y,P=H;else break e}}function t(C){return C.length===0?null:C[0]}function r(C){if(C.length===0)return null;var z=C[0],P=C.pop();if(P!==z){C[0]=P;e:for(var H=0,Y=C.length,Yt=Y>>>1;H<Yt;){var pn=2*(H+1)-1,sl=C[pn],mn=pn+1,Xt=C[mn];if(0>l(sl,P))mn<Y&&0>l(Xt,sl)?(C[H]=Xt,C[mn]=P,H=mn):(C[H]=sl,C[pn]=P,H=pn);else if(mn<Y&&0>l(Xt,P))C[H]=Xt,C[mn]=P,H=mn;else break e}}return z}function l(C,z){var P=C.sortIndex-z.sortIndex;return P!==0?P:C.id-z.id}if(typeof performance=="object"&&typeof performance.now=="function"){var i=performance;e.unstable_now=function(){return i.now()}}else{var u=Date,o=u.now();e.unstable_now=function(){return u.now()-o}}var s=[],d=[],v=1,m=null,p=3,g=!1,w=!1,k=!1,O=typeof setTimeout=="function"?setTimeout:null,c=typeof clearTimeout=="function"?clearTimeout:null,a=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function f(C){for(var z=t(d);z!==null;){if(z.callback===null)r(d);else if(z.startTime<=C)r(d),z.sortIndex=z.expirationTime,n(s,z);else break;z=t(d)}}function h(C){if(k=!1,f(C),!w)if(t(s)!==null)w=!0,ul(E);else{var z=t(d);z!==null&&ol(h,z.startTime-C)}}function E(C,z){w=!1,k&&(k=!1,c(N),N=-1),g=!0;var P=p;try{for(f(z),m=t(s);m!==null&&(!(m.expirationTime>z)||C&&!Ce());){var H=m.callback;if(typeof H=="function"){m.callback=null,p=m.priorityLevel;var Y=H(m.expirationTime<=z);z=e.unstable_now(),typeof Y=="function"?m.callback=Y:m===t(s)&&r(s),f(z)}else r(s);m=t(s)}if(m!==null)var Yt=!0;else{var pn=t(d);pn!==null&&ol(h,pn.startTime-z),Yt=!1}return Yt}finally{m=null,p=P,g=!1}}var x=!1,_=null,N=-1,B=5,L=-1;function Ce(){return!(e.unstable_now()-L<B)}function rt(){if(_!==null){var C=e.unstable_now();L=C;var z=!0;try{z=_(!0,C)}finally{z?lt():(x=!1,_=null)}}else x=!1}var lt;if(typeof a=="function")lt=function(){a(rt)};else if(typeof MessageChannel<"u"){var hu=new MessageChannel,xa=hu.port2;hu.port1.onmessage=rt,lt=function(){xa.postMessage(null)}}else lt=function(){O(rt,0)};function ul(C){_=C,x||(x=!0,lt())}function ol(C,z){N=O(function(){C(e.unstable_now())},z)}e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(C){C.callback=null},e.unstable_continueExecution=function(){w||g||(w=!0,ul(E))},e.unstable_forceFrameRate=function(C){0>C||125<C?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):B=0<C?Math.floor(1e3/C):5},e.unstable_getCurrentPriorityLevel=function(){return p},e.unstable_getFirstCallbackNode=function(){return t(s)},e.unstable_next=function(C){switch(p){case 1:case 2:case 3:var z=3;break;default:z=p}var P=p;p=z;try{return C()}finally{p=P}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=function(){},e.unstable_runWithPriority=function(C,z){switch(C){case 1:case 2:case 3:case 4:case 5:break;default:C=3}var P=p;p=C;try{return z()}finally{p=P}},e.unstable_scheduleCallback=function(C,z,P){var H=e.unstable_now();switch(typeof P=="object"&&P!==null?(P=P.delay,P=typeof P=="number"&&0<P?H+P:H):P=H,C){case 1:var Y=-1;break;case 2:Y=250;break;case 5:Y=1073741823;break;case 4:Y=1e4;break;default:Y=5e3}return Y=P+Y,C={id:v++,callback:z,priorityLevel:C,startTime:P,expirationTime:Y,sortIndex:-1},P>H?(C.sortIndex=P,n(d,C),t(s)===null&&C===t(d)&&(k?(c(N),N=-1):k=!0,ol(h,P-H))):(C.sortIndex=Y,n(s,C),w||g||(w=!0,ul(E))),C},e.unstable_shouldYield=Ce,e.unstable_wrapCallback=function(C){var z=p;return function(){var P=p;p=z;try{return C.apply(this,arguments)}finally{p=P}}}})(_o);xo.exports=_o;var za=xo.exports;/** - * @license React - * react-dom.production.min.js - * - * Copyright (c) Facebook, Inc. and its affiliates. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */var Pa=_a,me=za;function y(e){for(var n="https://reactjs.org/docs/error-decoder.html?invariant="+e,t=1;t<arguments.length;t++)n+="&args[]="+encodeURIComponent(arguments[t]);return"Minified React error #"+e+"; visit "+n+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var No=new Set,Nt={};function zn(e,n){Xn(e,n),Xn(e+"Capture",n)}function Xn(e,n){for(Nt[e]=n,e=0;e<n.length;e++)No.add(n[e])}var Be=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Fl=Object.prototype.hasOwnProperty,La=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,yu={},gu={};function Ta(e){return Fl.call(gu,e)?!0:Fl.call(yu,e)?!1:La.test(e)?gu[e]=!0:(yu[e]=!0,!1)}function Ma(e,n,t,r){if(t!==null&&t.type===0)return!1;switch(typeof n){case"function":case"symbol":return!0;case"boolean":return r?!1:t!==null?!t.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function Da(e,n,t,r){if(n===null||typeof n>"u"||Ma(e,n,t,r))return!0;if(r)return!1;if(t!==null)switch(t.type){case 3:return!n;case 4:return n===!1;case 5:return isNaN(n);case 6:return isNaN(n)||1>n}return!1}function ie(e,n,t,r,l,i,u){this.acceptsBooleans=n===2||n===3||n===4,this.attributeName=r,this.attributeNamespace=l,this.mustUseProperty=t,this.propertyName=e,this.type=n,this.sanitizeURL=i,this.removeEmptyString=u}var q={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){q[e]=new ie(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var n=e[0];q[n]=new ie(n,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){q[e]=new ie(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){q[e]=new ie(e,2,!1,e,null,!1,!1)});"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){q[e]=new ie(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){q[e]=new ie(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){q[e]=new ie(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){q[e]=new ie(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){q[e]=new ie(e,5,!1,e.toLowerCase(),null,!1,!1)});var Ni=/[\-:]([a-z])/g;function zi(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var n=e.replace(Ni,zi);q[n]=new ie(n,1,!1,e,null,!1,!1)});"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var n=e.replace(Ni,zi);q[n]=new ie(n,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)});["xml:base","xml:lang","xml:space"].forEach(function(e){var n=e.replace(Ni,zi);q[n]=new ie(n,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){q[e]=new ie(e,1,!1,e.toLowerCase(),null,!1,!1)});q.xlinkHref=new ie("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){q[e]=new ie(e,1,!1,e.toLowerCase(),null,!0,!0)});function Pi(e,n,t,r){var l=q.hasOwnProperty(n)?q[n]:null;(l!==null?l.type!==0:r||!(2<n.length)||n[0]!=="o"&&n[0]!=="O"||n[1]!=="n"&&n[1]!=="N")&&(Da(n,t,l,r)&&(t=null),r||l===null?Ta(n)&&(t===null?e.removeAttribute(n):e.setAttribute(n,""+t)):l.mustUseProperty?e[l.propertyName]=t===null?l.type===3?!1:"":t:(n=l.attributeName,r=l.attributeNamespace,t===null?e.removeAttribute(n):(l=l.type,t=l===3||l===4&&t===!0?"":""+t,r?e.setAttributeNS(r,n,t):e.setAttribute(n,t))))}var $e=Pa.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,Gt=Symbol.for("react.element"),Tn=Symbol.for("react.portal"),Mn=Symbol.for("react.fragment"),Li=Symbol.for("react.strict_mode"),Ol=Symbol.for("react.profiler"),zo=Symbol.for("react.provider"),Po=Symbol.for("react.context"),Ti=Symbol.for("react.forward_ref"),Il=Symbol.for("react.suspense"),jl=Symbol.for("react.suspense_list"),Mi=Symbol.for("react.memo"),Ye=Symbol.for("react.lazy"),Lo=Symbol.for("react.offscreen"),wu=Symbol.iterator;function it(e){return e===null||typeof e!="object"?null:(e=wu&&e[wu]||e["@@iterator"],typeof e=="function"?e:null)}var V=Object.assign,al;function pt(e){if(al===void 0)try{throw Error()}catch(t){var n=t.stack.trim().match(/\n( *(at )?)/);al=n&&n[1]||""}return` -`+al+e}var cl=!1;function fl(e,n){if(!e||cl)return"";cl=!0;var t=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(n)if(n=function(){throw Error()},Object.defineProperty(n.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(n,[])}catch(d){var r=d}Reflect.construct(e,[],n)}else{try{n.call()}catch(d){r=d}e.call(n.prototype)}else{try{throw Error()}catch(d){r=d}e()}}catch(d){if(d&&r&&typeof d.stack=="string"){for(var l=d.stack.split(` -`),i=r.stack.split(` -`),u=l.length-1,o=i.length-1;1<=u&&0<=o&&l[u]!==i[o];)o--;for(;1<=u&&0<=o;u--,o--)if(l[u]!==i[o]){if(u!==1||o!==1)do if(u--,o--,0>o||l[u]!==i[o]){var s=` -`+l[u].replace(" at new "," at ");return e.displayName&&s.includes("<anonymous>")&&(s=s.replace("<anonymous>",e.displayName)),s}while(1<=u&&0<=o);break}}}finally{cl=!1,Error.prepareStackTrace=t}return(e=e?e.displayName||e.name:"")?pt(e):""}function Ra(e){switch(e.tag){case 5:return pt(e.type);case 16:return pt("Lazy");case 13:return pt("Suspense");case 19:return pt("SuspenseList");case 0:case 2:case 15:return e=fl(e.type,!1),e;case 11:return e=fl(e.type.render,!1),e;case 1:return e=fl(e.type,!0),e;default:return""}}function Ul(e){if(e==null)return null;if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case Mn:return"Fragment";case Tn:return"Portal";case Ol:return"Profiler";case Li:return"StrictMode";case Il:return"Suspense";case jl:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case Po:return(e.displayName||"Context")+".Consumer";case zo:return(e._context.displayName||"Context")+".Provider";case Ti:var n=e.render;return e=e.displayName,e||(e=n.displayName||n.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case Mi:return n=e.displayName||null,n!==null?n:Ul(e.type)||"Memo";case Ye:n=e._payload,e=e._init;try{return Ul(e(n))}catch{}}return null}function Fa(e){var n=e.type;switch(e.tag){case 24:return"Cache";case 9:return(n.displayName||"Context")+".Consumer";case 10:return(n._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=n.render,e=e.displayName||e.name||"",n.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return n;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return Ul(n);case 8:return n===Li?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof n=="function")return n.displayName||n.name||null;if(typeof n=="string")return n}return null}function sn(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function To(e){var n=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(n==="checkbox"||n==="radio")}function Oa(e){var n=To(e)?"checked":"value",t=Object.getOwnPropertyDescriptor(e.constructor.prototype,n),r=""+e[n];if(!e.hasOwnProperty(n)&&typeof t<"u"&&typeof t.get=="function"&&typeof t.set=="function"){var l=t.get,i=t.set;return Object.defineProperty(e,n,{configurable:!0,get:function(){return l.call(this)},set:function(u){r=""+u,i.call(this,u)}}),Object.defineProperty(e,n,{enumerable:t.enumerable}),{getValue:function(){return r},setValue:function(u){r=""+u},stopTracking:function(){e._valueTracker=null,delete e[n]}}}}function Zt(e){e._valueTracker||(e._valueTracker=Oa(e))}function Mo(e){if(!e)return!1;var n=e._valueTracker;if(!n)return!0;var t=n.getValue(),r="";return e&&(r=To(e)?e.checked?"true":"false":e.value),e=r,e!==t?(n.setValue(e),!0):!1}function Sr(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}function Vl(e,n){var t=n.checked;return V({},n,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:t??e._wrapperState.initialChecked})}function ku(e,n){var t=n.defaultValue==null?"":n.defaultValue,r=n.checked!=null?n.checked:n.defaultChecked;t=sn(n.value!=null?n.value:t),e._wrapperState={initialChecked:r,initialValue:t,controlled:n.type==="checkbox"||n.type==="radio"?n.checked!=null:n.value!=null}}function Do(e,n){n=n.checked,n!=null&&Pi(e,"checked",n,!1)}function Al(e,n){Do(e,n);var t=sn(n.value),r=n.type;if(t!=null)r==="number"?(t===0&&e.value===""||e.value!=t)&&(e.value=""+t):e.value!==""+t&&(e.value=""+t);else if(r==="submit"||r==="reset"){e.removeAttribute("value");return}n.hasOwnProperty("value")?Bl(e,n.type,t):n.hasOwnProperty("defaultValue")&&Bl(e,n.type,sn(n.defaultValue)),n.checked==null&&n.defaultChecked!=null&&(e.defaultChecked=!!n.defaultChecked)}function Su(e,n,t){if(n.hasOwnProperty("value")||n.hasOwnProperty("defaultValue")){var r=n.type;if(!(r!=="submit"&&r!=="reset"||n.value!==void 0&&n.value!==null))return;n=""+e._wrapperState.initialValue,t||n===e.value||(e.value=n),e.defaultValue=n}t=e.name,t!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,t!==""&&(e.name=t)}function Bl(e,n,t){(n!=="number"||Sr(e.ownerDocument)!==e)&&(t==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+t&&(e.defaultValue=""+t))}var mt=Array.isArray;function Hn(e,n,t,r){if(e=e.options,n){n={};for(var l=0;l<t.length;l++)n["$"+t[l]]=!0;for(t=0;t<e.length;t++)l=n.hasOwnProperty("$"+e[t].value),e[t].selected!==l&&(e[t].selected=l),l&&r&&(e[t].defaultSelected=!0)}else{for(t=""+sn(t),n=null,l=0;l<e.length;l++){if(e[l].value===t){e[l].selected=!0,r&&(e[l].defaultSelected=!0);return}n!==null||e[l].disabled||(n=e[l])}n!==null&&(n.selected=!0)}}function Hl(e,n){if(n.dangerouslySetInnerHTML!=null)throw Error(y(91));return V({},n,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function Eu(e,n){var t=n.value;if(t==null){if(t=n.children,n=n.defaultValue,t!=null){if(n!=null)throw Error(y(92));if(mt(t)){if(1<t.length)throw Error(y(93));t=t[0]}n=t}n==null&&(n=""),t=n}e._wrapperState={initialValue:sn(t)}}function Ro(e,n){var t=sn(n.value),r=sn(n.defaultValue);t!=null&&(t=""+t,t!==e.value&&(e.value=t),n.defaultValue==null&&e.defaultValue!==t&&(e.defaultValue=t)),r!=null&&(e.defaultValue=""+r)}function Cu(e){var n=e.textContent;n===e._wrapperState.initialValue&&n!==""&&n!==null&&(e.value=n)}function Fo(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function Ql(e,n){return e==null||e==="http://www.w3.org/1999/xhtml"?Fo(n):e==="http://www.w3.org/2000/svg"&&n==="foreignObject"?"http://www.w3.org/1999/xhtml":e}var Jt,Oo=function(e){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(n,t,r,l){MSApp.execUnsafeLocalFunction(function(){return e(n,t,r,l)})}:e}(function(e,n){if(e.namespaceURI!=="http://www.w3.org/2000/svg"||"innerHTML"in e)e.innerHTML=n;else{for(Jt=Jt||document.createElement("div"),Jt.innerHTML="<svg>"+n.valueOf().toString()+"</svg>",n=Jt.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;n.firstChild;)e.appendChild(n.firstChild)}});function zt(e,n){if(n){var t=e.firstChild;if(t&&t===e.lastChild&&t.nodeType===3){t.nodeValue=n;return}}e.textContent=n}var yt={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},Ia=["Webkit","ms","Moz","O"];Object.keys(yt).forEach(function(e){Ia.forEach(function(n){n=n+e.charAt(0).toUpperCase()+e.substring(1),yt[n]=yt[e]})});function Io(e,n,t){return n==null||typeof n=="boolean"||n===""?"":t||typeof n!="number"||n===0||yt.hasOwnProperty(e)&&yt[e]?(""+n).trim():n+"px"}function jo(e,n){e=e.style;for(var t in n)if(n.hasOwnProperty(t)){var r=t.indexOf("--")===0,l=Io(t,n[t],r);t==="float"&&(t="cssFloat"),r?e.setProperty(t,l):e[t]=l}}var ja=V({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function Wl(e,n){if(n){if(ja[e]&&(n.children!=null||n.dangerouslySetInnerHTML!=null))throw Error(y(137,e));if(n.dangerouslySetInnerHTML!=null){if(n.children!=null)throw Error(y(60));if(typeof n.dangerouslySetInnerHTML!="object"||!("__html"in n.dangerouslySetInnerHTML))throw Error(y(61))}if(n.style!=null&&typeof n.style!="object")throw Error(y(62))}}function $l(e,n){if(e.indexOf("-")===-1)return typeof n.is=="string";switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var Kl=null;function Di(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var Yl=null,Qn=null,Wn=null;function xu(e){if(e=$t(e)){if(typeof Yl!="function")throw Error(y(280));var n=e.stateNode;n&&(n=Gr(n),Yl(e.stateNode,e.type,n))}}function Uo(e){Qn?Wn?Wn.push(e):Wn=[e]:Qn=e}function Vo(){if(Qn){var e=Qn,n=Wn;if(Wn=Qn=null,xu(e),n)for(e=0;e<n.length;e++)xu(n[e])}}function Ao(e,n){return e(n)}function Bo(){}var dl=!1;function Ho(e,n,t){if(dl)return e(n,t);dl=!0;try{return Ao(e,n,t)}finally{dl=!1,(Qn!==null||Wn!==null)&&(Bo(),Vo())}}function Pt(e,n){var t=e.stateNode;if(t===null)return null;var r=Gr(t);if(r===null)return null;t=r[n];e:switch(n){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(r=!r.disabled)||(e=e.type,r=!(e==="button"||e==="input"||e==="select"||e==="textarea")),e=!r;break e;default:e=!1}if(e)return null;if(t&&typeof t!="function")throw Error(y(231,n,typeof t));return t}var Xl=!1;if(Be)try{var ut={};Object.defineProperty(ut,"passive",{get:function(){Xl=!0}}),window.addEventListener("test",ut,ut),window.removeEventListener("test",ut,ut)}catch{Xl=!1}function Ua(e,n,t,r,l,i,u,o,s){var d=Array.prototype.slice.call(arguments,3);try{n.apply(t,d)}catch(v){this.onError(v)}}var gt=!1,Er=null,Cr=!1,Gl=null,Va={onError:function(e){gt=!0,Er=e}};function Aa(e,n,t,r,l,i,u,o,s){gt=!1,Er=null,Ua.apply(Va,arguments)}function Ba(e,n,t,r,l,i,u,o,s){if(Aa.apply(this,arguments),gt){if(gt){var d=Er;gt=!1,Er=null}else throw Error(y(198));Cr||(Cr=!0,Gl=d)}}function Pn(e){var n=e,t=e;if(e.alternate)for(;n.return;)n=n.return;else{e=n;do n=e,n.flags&4098&&(t=n.return),e=n.return;while(e)}return n.tag===3?t:null}function Qo(e){if(e.tag===13){var n=e.memoizedState;if(n===null&&(e=e.alternate,e!==null&&(n=e.memoizedState)),n!==null)return n.dehydrated}return null}function _u(e){if(Pn(e)!==e)throw Error(y(188))}function Ha(e){var n=e.alternate;if(!n){if(n=Pn(e),n===null)throw Error(y(188));return n!==e?null:e}for(var t=e,r=n;;){var l=t.return;if(l===null)break;var i=l.alternate;if(i===null){if(r=l.return,r!==null){t=r;continue}break}if(l.child===i.child){for(i=l.child;i;){if(i===t)return _u(l),e;if(i===r)return _u(l),n;i=i.sibling}throw Error(y(188))}if(t.return!==r.return)t=l,r=i;else{for(var u=!1,o=l.child;o;){if(o===t){u=!0,t=l,r=i;break}if(o===r){u=!0,r=l,t=i;break}o=o.sibling}if(!u){for(o=i.child;o;){if(o===t){u=!0,t=i,r=l;break}if(o===r){u=!0,r=i,t=l;break}o=o.sibling}if(!u)throw Error(y(189))}}if(t.alternate!==r)throw Error(y(190))}if(t.tag!==3)throw Error(y(188));return t.stateNode.current===t?e:n}function Wo(e){return e=Ha(e),e!==null?$o(e):null}function $o(e){if(e.tag===5||e.tag===6)return e;for(e=e.child;e!==null;){var n=$o(e);if(n!==null)return n;e=e.sibling}return null}var Ko=me.unstable_scheduleCallback,Nu=me.unstable_cancelCallback,Qa=me.unstable_shouldYield,Wa=me.unstable_requestPaint,Q=me.unstable_now,$a=me.unstable_getCurrentPriorityLevel,Ri=me.unstable_ImmediatePriority,Yo=me.unstable_UserBlockingPriority,xr=me.unstable_NormalPriority,Ka=me.unstable_LowPriority,Xo=me.unstable_IdlePriority,$r=null,Fe=null;function Ya(e){if(Fe&&typeof Fe.onCommitFiberRoot=="function")try{Fe.onCommitFiberRoot($r,e,void 0,(e.current.flags&128)===128)}catch{}}var Pe=Math.clz32?Math.clz32:Za,Xa=Math.log,Ga=Math.LN2;function Za(e){return e>>>=0,e===0?32:31-(Xa(e)/Ga|0)|0}var qt=64,bt=4194304;function vt(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return e&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return e&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function _r(e,n){var t=e.pendingLanes;if(t===0)return 0;var r=0,l=e.suspendedLanes,i=e.pingedLanes,u=t&268435455;if(u!==0){var o=u&~l;o!==0?r=vt(o):(i&=u,i!==0&&(r=vt(i)))}else u=t&~l,u!==0?r=vt(u):i!==0&&(r=vt(i));if(r===0)return 0;if(n!==0&&n!==r&&!(n&l)&&(l=r&-r,i=n&-n,l>=i||l===16&&(i&4194240)!==0))return n;if(r&4&&(r|=t&16),n=e.entangledLanes,n!==0)for(e=e.entanglements,n&=r;0<n;)t=31-Pe(n),l=1<<t,r|=e[t],n&=~l;return r}function Ja(e,n){switch(e){case 1:case 2:case 4:return n+250;case 8:case 16:case 32:case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return n+5e3;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return-1;case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function qa(e,n){for(var t=e.suspendedLanes,r=e.pingedLanes,l=e.expirationTimes,i=e.pendingLanes;0<i;){var u=31-Pe(i),o=1<<u,s=l[u];s===-1?(!(o&t)||o&r)&&(l[u]=Ja(o,n)):s<=n&&(e.expiredLanes|=o),i&=~o}}function Zl(e){return e=e.pendingLanes&-1073741825,e!==0?e:e&1073741824?1073741824:0}function Go(){var e=qt;return qt<<=1,!(qt&4194240)&&(qt=64),e}function pl(e){for(var n=[],t=0;31>t;t++)n.push(e);return n}function Qt(e,n,t){e.pendingLanes|=n,n!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,n=31-Pe(n),e[n]=t}function ba(e,n){var t=e.pendingLanes&~n;e.pendingLanes=n,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=n,e.mutableReadLanes&=n,e.entangledLanes&=n,n=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0<t;){var l=31-Pe(t),i=1<<l;n[l]=0,r[l]=-1,e[l]=-1,t&=~i}}function Fi(e,n){var t=e.entangledLanes|=n;for(e=e.entanglements;t;){var r=31-Pe(t),l=1<<r;l&n|e[r]&n&&(e[r]|=n),t&=~l}}var M=0;function Zo(e){return e&=-e,1<e?4<e?e&268435455?16:536870912:4:1}var Jo,Oi,qo,bo,es,Jl=!1,er=[],be=null,en=null,nn=null,Lt=new Map,Tt=new Map,Ge=[],ec="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit".split(" ");function zu(e,n){switch(e){case"focusin":case"focusout":be=null;break;case"dragenter":case"dragleave":en=null;break;case"mouseover":case"mouseout":nn=null;break;case"pointerover":case"pointerout":Lt.delete(n.pointerId);break;case"gotpointercapture":case"lostpointercapture":Tt.delete(n.pointerId)}}function ot(e,n,t,r,l,i){return e===null||e.nativeEvent!==i?(e={blockedOn:n,domEventName:t,eventSystemFlags:r,nativeEvent:i,targetContainers:[l]},n!==null&&(n=$t(n),n!==null&&Oi(n)),e):(e.eventSystemFlags|=r,n=e.targetContainers,l!==null&&n.indexOf(l)===-1&&n.push(l),e)}function nc(e,n,t,r,l){switch(n){case"focusin":return be=ot(be,e,n,t,r,l),!0;case"dragenter":return en=ot(en,e,n,t,r,l),!0;case"mouseover":return nn=ot(nn,e,n,t,r,l),!0;case"pointerover":var i=l.pointerId;return Lt.set(i,ot(Lt.get(i)||null,e,n,t,r,l)),!0;case"gotpointercapture":return i=l.pointerId,Tt.set(i,ot(Tt.get(i)||null,e,n,t,r,l)),!0}return!1}function ns(e){var n=yn(e.target);if(n!==null){var t=Pn(n);if(t!==null){if(n=t.tag,n===13){if(n=Qo(t),n!==null){e.blockedOn=n,es(e.priority,function(){qo(t)});return}}else if(n===3&&t.stateNode.current.memoizedState.isDehydrated){e.blockedOn=t.tag===3?t.stateNode.containerInfo:null;return}}}e.blockedOn=null}function fr(e){if(e.blockedOn!==null)return!1;for(var n=e.targetContainers;0<n.length;){var t=ql(e.domEventName,e.eventSystemFlags,n[0],e.nativeEvent);if(t===null){t=e.nativeEvent;var r=new t.constructor(t.type,t);Kl=r,t.target.dispatchEvent(r),Kl=null}else return n=$t(t),n!==null&&Oi(n),e.blockedOn=t,!1;n.shift()}return!0}function Pu(e,n,t){fr(e)&&t.delete(n)}function tc(){Jl=!1,be!==null&&fr(be)&&(be=null),en!==null&&fr(en)&&(en=null),nn!==null&&fr(nn)&&(nn=null),Lt.forEach(Pu),Tt.forEach(Pu)}function st(e,n){e.blockedOn===n&&(e.blockedOn=null,Jl||(Jl=!0,me.unstable_scheduleCallback(me.unstable_NormalPriority,tc)))}function Mt(e){function n(l){return st(l,e)}if(0<er.length){st(er[0],e);for(var t=1;t<er.length;t++){var r=er[t];r.blockedOn===e&&(r.blockedOn=null)}}for(be!==null&&st(be,e),en!==null&&st(en,e),nn!==null&&st(nn,e),Lt.forEach(n),Tt.forEach(n),t=0;t<Ge.length;t++)r=Ge[t],r.blockedOn===e&&(r.blockedOn=null);for(;0<Ge.length&&(t=Ge[0],t.blockedOn===null);)ns(t),t.blockedOn===null&&Ge.shift()}var $n=$e.ReactCurrentBatchConfig,Nr=!0;function rc(e,n,t,r){var l=M,i=$n.transition;$n.transition=null;try{M=1,Ii(e,n,t,r)}finally{M=l,$n.transition=i}}function lc(e,n,t,r){var l=M,i=$n.transition;$n.transition=null;try{M=4,Ii(e,n,t,r)}finally{M=l,$n.transition=i}}function Ii(e,n,t,r){if(Nr){var l=ql(e,n,t,r);if(l===null)Cl(e,n,r,zr,t),zu(e,r);else if(nc(l,e,n,t,r))r.stopPropagation();else if(zu(e,r),n&4&&-1<ec.indexOf(e)){for(;l!==null;){var i=$t(l);if(i!==null&&Jo(i),i=ql(e,n,t,r),i===null&&Cl(e,n,r,zr,t),i===l)break;l=i}l!==null&&r.stopPropagation()}else Cl(e,n,r,null,t)}}var zr=null;function ql(e,n,t,r){if(zr=null,e=Di(r),e=yn(e),e!==null)if(n=Pn(e),n===null)e=null;else if(t=n.tag,t===13){if(e=Qo(n),e!==null)return e;e=null}else if(t===3){if(n.stateNode.current.memoizedState.isDehydrated)return n.tag===3?n.stateNode.containerInfo:null;e=null}else n!==e&&(e=null);return zr=e,null}function ts(e){switch(e){case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 1;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"toggle":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 4;case"message":switch($a()){case Ri:return 1;case Yo:return 4;case xr:case Ka:return 16;case Xo:return 536870912;default:return 16}default:return 16}}var Je=null,ji=null,dr=null;function rs(){if(dr)return dr;var e,n=ji,t=n.length,r,l="value"in Je?Je.value:Je.textContent,i=l.length;for(e=0;e<t&&n[e]===l[e];e++);var u=t-e;for(r=1;r<=u&&n[t-r]===l[i-r];r++);return dr=l.slice(e,1<r?1-r:void 0)}function pr(e){var n=e.keyCode;return"charCode"in e?(e=e.charCode,e===0&&n===13&&(e=13)):e=n,e===10&&(e=13),32<=e||e===13?e:0}function nr(){return!0}function Lu(){return!1}function he(e){function n(t,r,l,i,u){this._reactName=t,this._targetInst=l,this.type=r,this.nativeEvent=i,this.target=u,this.currentTarget=null;for(var o in e)e.hasOwnProperty(o)&&(t=e[o],this[o]=t?t(i):i[o]);return this.isDefaultPrevented=(i.defaultPrevented!=null?i.defaultPrevented:i.returnValue===!1)?nr:Lu,this.isPropagationStopped=Lu,this}return V(n.prototype,{preventDefault:function(){this.defaultPrevented=!0;var t=this.nativeEvent;t&&(t.preventDefault?t.preventDefault():typeof t.returnValue!="unknown"&&(t.returnValue=!1),this.isDefaultPrevented=nr)},stopPropagation:function(){var t=this.nativeEvent;t&&(t.stopPropagation?t.stopPropagation():typeof t.cancelBubble!="unknown"&&(t.cancelBubble=!0),this.isPropagationStopped=nr)},persist:function(){},isPersistent:nr}),n}var nt={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Ui=he(nt),Wt=V({},nt,{view:0,detail:0}),ic=he(Wt),ml,vl,at,Kr=V({},Wt,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Vi,button:0,buttons:0,relatedTarget:function(e){return e.relatedTarget===void 0?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==at&&(at&&e.type==="mousemove"?(ml=e.screenX-at.screenX,vl=e.screenY-at.screenY):vl=ml=0,at=e),ml)},movementY:function(e){return"movementY"in e?e.movementY:vl}}),Tu=he(Kr),uc=V({},Kr,{dataTransfer:0}),oc=he(uc),sc=V({},Wt,{relatedTarget:0}),hl=he(sc),ac=V({},nt,{animationName:0,elapsedTime:0,pseudoElement:0}),cc=he(ac),fc=V({},nt,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),dc=he(fc),pc=V({},nt,{data:0}),Mu=he(pc),mc={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},vc={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},hc={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function yc(e){var n=this.nativeEvent;return n.getModifierState?n.getModifierState(e):(e=hc[e])?!!n[e]:!1}function Vi(){return yc}var gc=V({},Wt,{key:function(e){if(e.key){var n=mc[e.key]||e.key;if(n!=="Unidentified")return n}return e.type==="keypress"?(e=pr(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?vc[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Vi,charCode:function(e){return e.type==="keypress"?pr(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?pr(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),wc=he(gc),kc=V({},Kr,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Du=he(kc),Sc=V({},Wt,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Vi}),Ec=he(Sc),Cc=V({},nt,{propertyName:0,elapsedTime:0,pseudoElement:0}),xc=he(Cc),_c=V({},Kr,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0}),Nc=he(_c),zc=[9,13,27,32],Ai=Be&&"CompositionEvent"in window,wt=null;Be&&"documentMode"in document&&(wt=document.documentMode);var Pc=Be&&"TextEvent"in window&&!wt,ls=Be&&(!Ai||wt&&8<wt&&11>=wt),Ru=String.fromCharCode(32),Fu=!1;function is(e,n){switch(e){case"keyup":return zc.indexOf(n.keyCode)!==-1;case"keydown":return n.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function us(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Dn=!1;function Lc(e,n){switch(e){case"compositionend":return us(n);case"keypress":return n.which!==32?null:(Fu=!0,Ru);case"textInput":return e=n.data,e===Ru&&Fu?null:e;default:return null}}function Tc(e,n){if(Dn)return e==="compositionend"||!Ai&&is(e,n)?(e=rs(),dr=ji=Je=null,Dn=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(n.ctrlKey||n.altKey||n.metaKey)||n.ctrlKey&&n.altKey){if(n.char&&1<n.char.length)return n.char;if(n.which)return String.fromCharCode(n.which)}return null;case"compositionend":return ls&&n.locale!=="ko"?null:n.data;default:return null}}var Mc={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function Ou(e){var n=e&&e.nodeName&&e.nodeName.toLowerCase();return n==="input"?!!Mc[e.type]:n==="textarea"}function os(e,n,t,r){Uo(r),n=Pr(n,"onChange"),0<n.length&&(t=new Ui("onChange","change",null,t,r),e.push({event:t,listeners:n}))}var kt=null,Dt=null;function Dc(e){gs(e,0)}function Yr(e){var n=On(e);if(Mo(n))return e}function Rc(e,n){if(e==="change")return n}var ss=!1;if(Be){var yl;if(Be){var gl="oninput"in document;if(!gl){var Iu=document.createElement("div");Iu.setAttribute("oninput","return;"),gl=typeof Iu.oninput=="function"}yl=gl}else yl=!1;ss=yl&&(!document.documentMode||9<document.documentMode)}function ju(){kt&&(kt.detachEvent("onpropertychange",as),Dt=kt=null)}function as(e){if(e.propertyName==="value"&&Yr(Dt)){var n=[];os(n,Dt,e,Di(e)),Ho(Dc,n)}}function Fc(e,n,t){e==="focusin"?(ju(),kt=n,Dt=t,kt.attachEvent("onpropertychange",as)):e==="focusout"&&ju()}function Oc(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return Yr(Dt)}function Ic(e,n){if(e==="click")return Yr(n)}function jc(e,n){if(e==="input"||e==="change")return Yr(n)}function Uc(e,n){return e===n&&(e!==0||1/e===1/n)||e!==e&&n!==n}var Te=typeof Object.is=="function"?Object.is:Uc;function Rt(e,n){if(Te(e,n))return!0;if(typeof e!="object"||e===null||typeof n!="object"||n===null)return!1;var t=Object.keys(e),r=Object.keys(n);if(t.length!==r.length)return!1;for(r=0;r<t.length;r++){var l=t[r];if(!Fl.call(n,l)||!Te(e[l],n[l]))return!1}return!0}function Uu(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function Vu(e,n){var t=Uu(e);e=0;for(var r;t;){if(t.nodeType===3){if(r=e+t.textContent.length,e<=n&&r>=n)return{node:t,offset:n-e};e=r}e:{for(;t;){if(t.nextSibling){t=t.nextSibling;break e}t=t.parentNode}t=void 0}t=Uu(t)}}function cs(e,n){return e&&n?e===n?!0:e&&e.nodeType===3?!1:n&&n.nodeType===3?cs(e,n.parentNode):"contains"in e?e.contains(n):e.compareDocumentPosition?!!(e.compareDocumentPosition(n)&16):!1:!1}function fs(){for(var e=window,n=Sr();n instanceof e.HTMLIFrameElement;){try{var t=typeof n.contentWindow.location.href=="string"}catch{t=!1}if(t)e=n.contentWindow;else break;n=Sr(e.document)}return n}function Bi(e){var n=e&&e.nodeName&&e.nodeName.toLowerCase();return n&&(n==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||n==="textarea"||e.contentEditable==="true")}function Vc(e){var n=fs(),t=e.focusedElem,r=e.selectionRange;if(n!==t&&t&&t.ownerDocument&&cs(t.ownerDocument.documentElement,t)){if(r!==null&&Bi(t)){if(n=r.start,e=r.end,e===void 0&&(e=n),"selectionStart"in t)t.selectionStart=n,t.selectionEnd=Math.min(e,t.value.length);else if(e=(n=t.ownerDocument||document)&&n.defaultView||window,e.getSelection){e=e.getSelection();var l=t.textContent.length,i=Math.min(r.start,l);r=r.end===void 0?i:Math.min(r.end,l),!e.extend&&i>r&&(l=r,r=i,i=l),l=Vu(t,i);var u=Vu(t,r);l&&u&&(e.rangeCount!==1||e.anchorNode!==l.node||e.anchorOffset!==l.offset||e.focusNode!==u.node||e.focusOffset!==u.offset)&&(n=n.createRange(),n.setStart(l.node,l.offset),e.removeAllRanges(),i>r?(e.addRange(n),e.extend(u.node,u.offset)):(n.setEnd(u.node,u.offset),e.addRange(n)))}}for(n=[],e=t;e=e.parentNode;)e.nodeType===1&&n.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof t.focus=="function"&&t.focus(),t=0;t<n.length;t++)e=n[t],e.element.scrollLeft=e.left,e.element.scrollTop=e.top}}var Ac=Be&&"documentMode"in document&&11>=document.documentMode,Rn=null,bl=null,St=null,ei=!1;function Au(e,n,t){var r=t.window===t?t.document:t.nodeType===9?t:t.ownerDocument;ei||Rn==null||Rn!==Sr(r)||(r=Rn,"selectionStart"in r&&Bi(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset}),St&&Rt(St,r)||(St=r,r=Pr(bl,"onSelect"),0<r.length&&(n=new Ui("onSelect","select",null,n,t),e.push({event:n,listeners:r}),n.target=Rn)))}function tr(e,n){var t={};return t[e.toLowerCase()]=n.toLowerCase(),t["Webkit"+e]="webkit"+n,t["Moz"+e]="moz"+n,t}var Fn={animationend:tr("Animation","AnimationEnd"),animationiteration:tr("Animation","AnimationIteration"),animationstart:tr("Animation","AnimationStart"),transitionend:tr("Transition","TransitionEnd")},wl={},ds={};Be&&(ds=document.createElement("div").style,"AnimationEvent"in window||(delete Fn.animationend.animation,delete Fn.animationiteration.animation,delete Fn.animationstart.animation),"TransitionEvent"in window||delete Fn.transitionend.transition);function Xr(e){if(wl[e])return wl[e];if(!Fn[e])return e;var n=Fn[e],t;for(t in n)if(n.hasOwnProperty(t)&&t in ds)return wl[e]=n[t];return e}var ps=Xr("animationend"),ms=Xr("animationiteration"),vs=Xr("animationstart"),hs=Xr("transitionend"),ys=new Map,Bu="abort auxClick cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");function cn(e,n){ys.set(e,n),zn(n,[e])}for(var kl=0;kl<Bu.length;kl++){var Sl=Bu[kl],Bc=Sl.toLowerCase(),Hc=Sl[0].toUpperCase()+Sl.slice(1);cn(Bc,"on"+Hc)}cn(ps,"onAnimationEnd");cn(ms,"onAnimationIteration");cn(vs,"onAnimationStart");cn("dblclick","onDoubleClick");cn("focusin","onFocus");cn("focusout","onBlur");cn(hs,"onTransitionEnd");Xn("onMouseEnter",["mouseout","mouseover"]);Xn("onMouseLeave",["mouseout","mouseover"]);Xn("onPointerEnter",["pointerout","pointerover"]);Xn("onPointerLeave",["pointerout","pointerover"]);zn("onChange","change click focusin focusout input keydown keyup selectionchange".split(" "));zn("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" "));zn("onBeforeInput",["compositionend","keypress","textInput","paste"]);zn("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" "));zn("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" "));zn("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var ht="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),Qc=new Set("cancel close invalid load scroll toggle".split(" ").concat(ht));function Hu(e,n,t){var r=e.type||"unknown-event";e.currentTarget=t,Ba(r,n,void 0,e),e.currentTarget=null}function gs(e,n){n=(n&4)!==0;for(var t=0;t<e.length;t++){var r=e[t],l=r.event;r=r.listeners;e:{var i=void 0;if(n)for(var u=r.length-1;0<=u;u--){var o=r[u],s=o.instance,d=o.currentTarget;if(o=o.listener,s!==i&&l.isPropagationStopped())break e;Hu(l,o,d),i=s}else for(u=0;u<r.length;u++){if(o=r[u],s=o.instance,d=o.currentTarget,o=o.listener,s!==i&&l.isPropagationStopped())break e;Hu(l,o,d),i=s}}}if(Cr)throw e=Gl,Cr=!1,Gl=null,e}function R(e,n){var t=n[ii];t===void 0&&(t=n[ii]=new Set);var r=e+"__bubble";t.has(r)||(ws(n,e,2,!1),t.add(r))}function El(e,n,t){var r=0;n&&(r|=4),ws(t,e,r,n)}var rr="_reactListening"+Math.random().toString(36).slice(2);function Ft(e){if(!e[rr]){e[rr]=!0,No.forEach(function(t){t!=="selectionchange"&&(Qc.has(t)||El(t,!1,e),El(t,!0,e))});var n=e.nodeType===9?e:e.ownerDocument;n===null||n[rr]||(n[rr]=!0,El("selectionchange",!1,n))}}function ws(e,n,t,r){switch(ts(n)){case 1:var l=rc;break;case 4:l=lc;break;default:l=Ii}t=l.bind(null,n,t,e),l=void 0,!Xl||n!=="touchstart"&&n!=="touchmove"&&n!=="wheel"||(l=!0),r?l!==void 0?e.addEventListener(n,t,{capture:!0,passive:l}):e.addEventListener(n,t,!0):l!==void 0?e.addEventListener(n,t,{passive:l}):e.addEventListener(n,t,!1)}function Cl(e,n,t,r,l){var i=r;if(!(n&1)&&!(n&2)&&r!==null)e:for(;;){if(r===null)return;var u=r.tag;if(u===3||u===4){var o=r.stateNode.containerInfo;if(o===l||o.nodeType===8&&o.parentNode===l)break;if(u===4)for(u=r.return;u!==null;){var s=u.tag;if((s===3||s===4)&&(s=u.stateNode.containerInfo,s===l||s.nodeType===8&&s.parentNode===l))return;u=u.return}for(;o!==null;){if(u=yn(o),u===null)return;if(s=u.tag,s===5||s===6){r=i=u;continue e}o=o.parentNode}}r=r.return}Ho(function(){var d=i,v=Di(t),m=[];e:{var p=ys.get(e);if(p!==void 0){var g=Ui,w=e;switch(e){case"keypress":if(pr(t)===0)break e;case"keydown":case"keyup":g=wc;break;case"focusin":w="focus",g=hl;break;case"focusout":w="blur",g=hl;break;case"beforeblur":case"afterblur":g=hl;break;case"click":if(t.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":g=Tu;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":g=oc;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":g=Ec;break;case ps:case ms:case vs:g=cc;break;case hs:g=xc;break;case"scroll":g=ic;break;case"wheel":g=Nc;break;case"copy":case"cut":case"paste":g=dc;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":g=Du}var k=(n&4)!==0,O=!k&&e==="scroll",c=k?p!==null?p+"Capture":null:p;k=[];for(var a=d,f;a!==null;){f=a;var h=f.stateNode;if(f.tag===5&&h!==null&&(f=h,c!==null&&(h=Pt(a,c),h!=null&&k.push(Ot(a,h,f)))),O)break;a=a.return}0<k.length&&(p=new g(p,w,null,t,v),m.push({event:p,listeners:k}))}}if(!(n&7)){e:{if(p=e==="mouseover"||e==="pointerover",g=e==="mouseout"||e==="pointerout",p&&t!==Kl&&(w=t.relatedTarget||t.fromElement)&&(yn(w)||w[He]))break e;if((g||p)&&(p=v.window===v?v:(p=v.ownerDocument)?p.defaultView||p.parentWindow:window,g?(w=t.relatedTarget||t.toElement,g=d,w=w?yn(w):null,w!==null&&(O=Pn(w),w!==O||w.tag!==5&&w.tag!==6)&&(w=null)):(g=null,w=d),g!==w)){if(k=Tu,h="onMouseLeave",c="onMouseEnter",a="mouse",(e==="pointerout"||e==="pointerover")&&(k=Du,h="onPointerLeave",c="onPointerEnter",a="pointer"),O=g==null?p:On(g),f=w==null?p:On(w),p=new k(h,a+"leave",g,t,v),p.target=O,p.relatedTarget=f,h=null,yn(v)===d&&(k=new k(c,a+"enter",w,t,v),k.target=f,k.relatedTarget=O,h=k),O=h,g&&w)n:{for(k=g,c=w,a=0,f=k;f;f=Ln(f))a++;for(f=0,h=c;h;h=Ln(h))f++;for(;0<a-f;)k=Ln(k),a--;for(;0<f-a;)c=Ln(c),f--;for(;a--;){if(k===c||c!==null&&k===c.alternate)break n;k=Ln(k),c=Ln(c)}k=null}else k=null;g!==null&&Qu(m,p,g,k,!1),w!==null&&O!==null&&Qu(m,O,w,k,!0)}}e:{if(p=d?On(d):window,g=p.nodeName&&p.nodeName.toLowerCase(),g==="select"||g==="input"&&p.type==="file")var E=Rc;else if(Ou(p))if(ss)E=jc;else{E=Oc;var x=Fc}else(g=p.nodeName)&&g.toLowerCase()==="input"&&(p.type==="checkbox"||p.type==="radio")&&(E=Ic);if(E&&(E=E(e,d))){os(m,E,t,v);break e}x&&x(e,p,d),e==="focusout"&&(x=p._wrapperState)&&x.controlled&&p.type==="number"&&Bl(p,"number",p.value)}switch(x=d?On(d):window,e){case"focusin":(Ou(x)||x.contentEditable==="true")&&(Rn=x,bl=d,St=null);break;case"focusout":St=bl=Rn=null;break;case"mousedown":ei=!0;break;case"contextmenu":case"mouseup":case"dragend":ei=!1,Au(m,t,v);break;case"selectionchange":if(Ac)break;case"keydown":case"keyup":Au(m,t,v)}var _;if(Ai)e:{switch(e){case"compositionstart":var N="onCompositionStart";break e;case"compositionend":N="onCompositionEnd";break e;case"compositionupdate":N="onCompositionUpdate";break e}N=void 0}else Dn?is(e,t)&&(N="onCompositionEnd"):e==="keydown"&&t.keyCode===229&&(N="onCompositionStart");N&&(ls&&t.locale!=="ko"&&(Dn||N!=="onCompositionStart"?N==="onCompositionEnd"&&Dn&&(_=rs()):(Je=v,ji="value"in Je?Je.value:Je.textContent,Dn=!0)),x=Pr(d,N),0<x.length&&(N=new Mu(N,e,null,t,v),m.push({event:N,listeners:x}),_?N.data=_:(_=us(t),_!==null&&(N.data=_)))),(_=Pc?Lc(e,t):Tc(e,t))&&(d=Pr(d,"onBeforeInput"),0<d.length&&(v=new Mu("onBeforeInput","beforeinput",null,t,v),m.push({event:v,listeners:d}),v.data=_))}gs(m,n)})}function Ot(e,n,t){return{instance:e,listener:n,currentTarget:t}}function Pr(e,n){for(var t=n+"Capture",r=[];e!==null;){var l=e,i=l.stateNode;l.tag===5&&i!==null&&(l=i,i=Pt(e,t),i!=null&&r.unshift(Ot(e,i,l)),i=Pt(e,n),i!=null&&r.push(Ot(e,i,l))),e=e.return}return r}function Ln(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5);return e||null}function Qu(e,n,t,r,l){for(var i=n._reactName,u=[];t!==null&&t!==r;){var o=t,s=o.alternate,d=o.stateNode;if(s!==null&&s===r)break;o.tag===5&&d!==null&&(o=d,l?(s=Pt(t,i),s!=null&&u.unshift(Ot(t,s,o))):l||(s=Pt(t,i),s!=null&&u.push(Ot(t,s,o)))),t=t.return}u.length!==0&&e.push({event:n,listeners:u})}var Wc=/\r\n?/g,$c=/\u0000|\uFFFD/g;function Wu(e){return(typeof e=="string"?e:""+e).replace(Wc,` -`).replace($c,"")}function lr(e,n,t){if(n=Wu(n),Wu(e)!==n&&t)throw Error(y(425))}function Lr(){}var ni=null,ti=null;function ri(e,n){return e==="textarea"||e==="noscript"||typeof n.children=="string"||typeof n.children=="number"||typeof n.dangerouslySetInnerHTML=="object"&&n.dangerouslySetInnerHTML!==null&&n.dangerouslySetInnerHTML.__html!=null}var li=typeof setTimeout=="function"?setTimeout:void 0,Kc=typeof clearTimeout=="function"?clearTimeout:void 0,$u=typeof Promise=="function"?Promise:void 0,Yc=typeof queueMicrotask=="function"?queueMicrotask:typeof $u<"u"?function(e){return $u.resolve(null).then(e).catch(Xc)}:li;function Xc(e){setTimeout(function(){throw e})}function xl(e,n){var t=n,r=0;do{var l=t.nextSibling;if(e.removeChild(t),l&&l.nodeType===8)if(t=l.data,t==="/$"){if(r===0){e.removeChild(l),Mt(n);return}r--}else t!=="$"&&t!=="$?"&&t!=="$!"||r++;t=l}while(t);Mt(n)}function tn(e){for(;e!=null;e=e.nextSibling){var n=e.nodeType;if(n===1||n===3)break;if(n===8){if(n=e.data,n==="$"||n==="$!"||n==="$?")break;if(n==="/$")return null}}return e}function Ku(e){e=e.previousSibling;for(var n=0;e;){if(e.nodeType===8){var t=e.data;if(t==="$"||t==="$!"||t==="$?"){if(n===0)return e;n--}else t==="/$"&&n++}e=e.previousSibling}return null}var tt=Math.random().toString(36).slice(2),Re="__reactFiber$"+tt,It="__reactProps$"+tt,He="__reactContainer$"+tt,ii="__reactEvents$"+tt,Gc="__reactListeners$"+tt,Zc="__reactHandles$"+tt;function yn(e){var n=e[Re];if(n)return n;for(var t=e.parentNode;t;){if(n=t[He]||t[Re]){if(t=n.alternate,n.child!==null||t!==null&&t.child!==null)for(e=Ku(e);e!==null;){if(t=e[Re])return t;e=Ku(e)}return n}e=t,t=e.parentNode}return null}function $t(e){return e=e[Re]||e[He],!e||e.tag!==5&&e.tag!==6&&e.tag!==13&&e.tag!==3?null:e}function On(e){if(e.tag===5||e.tag===6)return e.stateNode;throw Error(y(33))}function Gr(e){return e[It]||null}var ui=[],In=-1;function fn(e){return{current:e}}function F(e){0>In||(e.current=ui[In],ui[In]=null,In--)}function D(e,n){In++,ui[In]=e.current,e.current=n}var an={},te=fn(an),se=fn(!1),En=an;function Gn(e,n){var t=e.type.contextTypes;if(!t)return an;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===n)return r.__reactInternalMemoizedMaskedChildContext;var l={},i;for(i in t)l[i]=n[i];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=n,e.__reactInternalMemoizedMaskedChildContext=l),l}function ae(e){return e=e.childContextTypes,e!=null}function Tr(){F(se),F(te)}function Yu(e,n,t){if(te.current!==an)throw Error(y(168));D(te,n),D(se,t)}function ks(e,n,t){var r=e.stateNode;if(n=n.childContextTypes,typeof r.getChildContext!="function")return t;r=r.getChildContext();for(var l in r)if(!(l in n))throw Error(y(108,Fa(e)||"Unknown",l));return V({},t,r)}function Mr(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||an,En=te.current,D(te,e),D(se,se.current),!0}function Xu(e,n,t){var r=e.stateNode;if(!r)throw Error(y(169));t?(e=ks(e,n,En),r.__reactInternalMemoizedMergedChildContext=e,F(se),F(te),D(te,e)):F(se),D(se,t)}var je=null,Zr=!1,_l=!1;function Ss(e){je===null?je=[e]:je.push(e)}function Jc(e){Zr=!0,Ss(e)}function dn(){if(!_l&&je!==null){_l=!0;var e=0,n=M;try{var t=je;for(M=1;e<t.length;e++){var r=t[e];do r=r(!0);while(r!==null)}je=null,Zr=!1}catch(l){throw je!==null&&(je=je.slice(e+1)),Ko(Ri,dn),l}finally{M=n,_l=!1}}return null}var jn=[],Un=0,Dr=null,Rr=0,ye=[],ge=0,Cn=null,Ue=1,Ve="";function vn(e,n){jn[Un++]=Rr,jn[Un++]=Dr,Dr=e,Rr=n}function Es(e,n,t){ye[ge++]=Ue,ye[ge++]=Ve,ye[ge++]=Cn,Cn=e;var r=Ue;e=Ve;var l=32-Pe(r)-1;r&=~(1<<l),t+=1;var i=32-Pe(n)+l;if(30<i){var u=l-l%5;i=(r&(1<<u)-1).toString(32),r>>=u,l-=u,Ue=1<<32-Pe(n)+l|t<<l|r,Ve=i+e}else Ue=1<<i|t<<l|r,Ve=e}function Hi(e){e.return!==null&&(vn(e,1),Es(e,1,0))}function Qi(e){for(;e===Dr;)Dr=jn[--Un],jn[Un]=null,Rr=jn[--Un],jn[Un]=null;for(;e===Cn;)Cn=ye[--ge],ye[ge]=null,Ve=ye[--ge],ye[ge]=null,Ue=ye[--ge],ye[ge]=null}var pe=null,de=null,I=!1,ze=null;function Cs(e,n){var t=we(5,null,null,0);t.elementType="DELETED",t.stateNode=n,t.return=e,n=e.deletions,n===null?(e.deletions=[t],e.flags|=16):n.push(t)}function Gu(e,n){switch(e.tag){case 5:var t=e.type;return n=n.nodeType!==1||t.toLowerCase()!==n.nodeName.toLowerCase()?null:n,n!==null?(e.stateNode=n,pe=e,de=tn(n.firstChild),!0):!1;case 6:return n=e.pendingProps===""||n.nodeType!==3?null:n,n!==null?(e.stateNode=n,pe=e,de=null,!0):!1;case 13:return n=n.nodeType!==8?null:n,n!==null?(t=Cn!==null?{id:Ue,overflow:Ve}:null,e.memoizedState={dehydrated:n,treeContext:t,retryLane:1073741824},t=we(18,null,null,0),t.stateNode=n,t.return=e,e.child=t,pe=e,de=null,!0):!1;default:return!1}}function oi(e){return(e.mode&1)!==0&&(e.flags&128)===0}function si(e){if(I){var n=de;if(n){var t=n;if(!Gu(e,n)){if(oi(e))throw Error(y(418));n=tn(t.nextSibling);var r=pe;n&&Gu(e,n)?Cs(r,t):(e.flags=e.flags&-4097|2,I=!1,pe=e)}}else{if(oi(e))throw Error(y(418));e.flags=e.flags&-4097|2,I=!1,pe=e}}}function Zu(e){for(e=e.return;e!==null&&e.tag!==5&&e.tag!==3&&e.tag!==13;)e=e.return;pe=e}function ir(e){if(e!==pe)return!1;if(!I)return Zu(e),I=!0,!1;var n;if((n=e.tag!==3)&&!(n=e.tag!==5)&&(n=e.type,n=n!=="head"&&n!=="body"&&!ri(e.type,e.memoizedProps)),n&&(n=de)){if(oi(e))throw xs(),Error(y(418));for(;n;)Cs(e,n),n=tn(n.nextSibling)}if(Zu(e),e.tag===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(y(317));e:{for(e=e.nextSibling,n=0;e;){if(e.nodeType===8){var t=e.data;if(t==="/$"){if(n===0){de=tn(e.nextSibling);break e}n--}else t!=="$"&&t!=="$!"&&t!=="$?"||n++}e=e.nextSibling}de=null}}else de=pe?tn(e.stateNode.nextSibling):null;return!0}function xs(){for(var e=de;e;)e=tn(e.nextSibling)}function Zn(){de=pe=null,I=!1}function Wi(e){ze===null?ze=[e]:ze.push(e)}var qc=$e.ReactCurrentBatchConfig;function ct(e,n,t){if(e=t.ref,e!==null&&typeof e!="function"&&typeof e!="object"){if(t._owner){if(t=t._owner,t){if(t.tag!==1)throw Error(y(309));var r=t.stateNode}if(!r)throw Error(y(147,e));var l=r,i=""+e;return n!==null&&n.ref!==null&&typeof n.ref=="function"&&n.ref._stringRef===i?n.ref:(n=function(u){var o=l.refs;u===null?delete o[i]:o[i]=u},n._stringRef=i,n)}if(typeof e!="string")throw Error(y(284));if(!t._owner)throw Error(y(290,e))}return e}function ur(e,n){throw e=Object.prototype.toString.call(n),Error(y(31,e==="[object Object]"?"object with keys {"+Object.keys(n).join(", ")+"}":e))}function Ju(e){var n=e._init;return n(e._payload)}function _s(e){function n(c,a){if(e){var f=c.deletions;f===null?(c.deletions=[a],c.flags|=16):f.push(a)}}function t(c,a){if(!e)return null;for(;a!==null;)n(c,a),a=a.sibling;return null}function r(c,a){for(c=new Map;a!==null;)a.key!==null?c.set(a.key,a):c.set(a.index,a),a=a.sibling;return c}function l(c,a){return c=on(c,a),c.index=0,c.sibling=null,c}function i(c,a,f){return c.index=f,e?(f=c.alternate,f!==null?(f=f.index,f<a?(c.flags|=2,a):f):(c.flags|=2,a)):(c.flags|=1048576,a)}function u(c){return e&&c.alternate===null&&(c.flags|=2),c}function o(c,a,f,h){return a===null||a.tag!==6?(a=Dl(f,c.mode,h),a.return=c,a):(a=l(a,f),a.return=c,a)}function s(c,a,f,h){var E=f.type;return E===Mn?v(c,a,f.props.children,h,f.key):a!==null&&(a.elementType===E||typeof E=="object"&&E!==null&&E.$$typeof===Ye&&Ju(E)===a.type)?(h=l(a,f.props),h.ref=ct(c,a,f),h.return=c,h):(h=kr(f.type,f.key,f.props,null,c.mode,h),h.ref=ct(c,a,f),h.return=c,h)}function d(c,a,f,h){return a===null||a.tag!==4||a.stateNode.containerInfo!==f.containerInfo||a.stateNode.implementation!==f.implementation?(a=Rl(f,c.mode,h),a.return=c,a):(a=l(a,f.children||[]),a.return=c,a)}function v(c,a,f,h,E){return a===null||a.tag!==7?(a=Sn(f,c.mode,h,E),a.return=c,a):(a=l(a,f),a.return=c,a)}function m(c,a,f){if(typeof a=="string"&&a!==""||typeof a=="number")return a=Dl(""+a,c.mode,f),a.return=c,a;if(typeof a=="object"&&a!==null){switch(a.$$typeof){case Gt:return f=kr(a.type,a.key,a.props,null,c.mode,f),f.ref=ct(c,null,a),f.return=c,f;case Tn:return a=Rl(a,c.mode,f),a.return=c,a;case Ye:var h=a._init;return m(c,h(a._payload),f)}if(mt(a)||it(a))return a=Sn(a,c.mode,f,null),a.return=c,a;ur(c,a)}return null}function p(c,a,f,h){var E=a!==null?a.key:null;if(typeof f=="string"&&f!==""||typeof f=="number")return E!==null?null:o(c,a,""+f,h);if(typeof f=="object"&&f!==null){switch(f.$$typeof){case Gt:return f.key===E?s(c,a,f,h):null;case Tn:return f.key===E?d(c,a,f,h):null;case Ye:return E=f._init,p(c,a,E(f._payload),h)}if(mt(f)||it(f))return E!==null?null:v(c,a,f,h,null);ur(c,f)}return null}function g(c,a,f,h,E){if(typeof h=="string"&&h!==""||typeof h=="number")return c=c.get(f)||null,o(a,c,""+h,E);if(typeof h=="object"&&h!==null){switch(h.$$typeof){case Gt:return c=c.get(h.key===null?f:h.key)||null,s(a,c,h,E);case Tn:return c=c.get(h.key===null?f:h.key)||null,d(a,c,h,E);case Ye:var x=h._init;return g(c,a,f,x(h._payload),E)}if(mt(h)||it(h))return c=c.get(f)||null,v(a,c,h,E,null);ur(a,h)}return null}function w(c,a,f,h){for(var E=null,x=null,_=a,N=a=0,B=null;_!==null&&N<f.length;N++){_.index>N?(B=_,_=null):B=_.sibling;var L=p(c,_,f[N],h);if(L===null){_===null&&(_=B);break}e&&_&&L.alternate===null&&n(c,_),a=i(L,a,N),x===null?E=L:x.sibling=L,x=L,_=B}if(N===f.length)return t(c,_),I&&vn(c,N),E;if(_===null){for(;N<f.length;N++)_=m(c,f[N],h),_!==null&&(a=i(_,a,N),x===null?E=_:x.sibling=_,x=_);return I&&vn(c,N),E}for(_=r(c,_);N<f.length;N++)B=g(_,c,N,f[N],h),B!==null&&(e&&B.alternate!==null&&_.delete(B.key===null?N:B.key),a=i(B,a,N),x===null?E=B:x.sibling=B,x=B);return e&&_.forEach(function(Ce){return n(c,Ce)}),I&&vn(c,N),E}function k(c,a,f,h){var E=it(f);if(typeof E!="function")throw Error(y(150));if(f=E.call(f),f==null)throw Error(y(151));for(var x=E=null,_=a,N=a=0,B=null,L=f.next();_!==null&&!L.done;N++,L=f.next()){_.index>N?(B=_,_=null):B=_.sibling;var Ce=p(c,_,L.value,h);if(Ce===null){_===null&&(_=B);break}e&&_&&Ce.alternate===null&&n(c,_),a=i(Ce,a,N),x===null?E=Ce:x.sibling=Ce,x=Ce,_=B}if(L.done)return t(c,_),I&&vn(c,N),E;if(_===null){for(;!L.done;N++,L=f.next())L=m(c,L.value,h),L!==null&&(a=i(L,a,N),x===null?E=L:x.sibling=L,x=L);return I&&vn(c,N),E}for(_=r(c,_);!L.done;N++,L=f.next())L=g(_,c,N,L.value,h),L!==null&&(e&&L.alternate!==null&&_.delete(L.key===null?N:L.key),a=i(L,a,N),x===null?E=L:x.sibling=L,x=L);return e&&_.forEach(function(rt){return n(c,rt)}),I&&vn(c,N),E}function O(c,a,f,h){if(typeof f=="object"&&f!==null&&f.type===Mn&&f.key===null&&(f=f.props.children),typeof f=="object"&&f!==null){switch(f.$$typeof){case Gt:e:{for(var E=f.key,x=a;x!==null;){if(x.key===E){if(E=f.type,E===Mn){if(x.tag===7){t(c,x.sibling),a=l(x,f.props.children),a.return=c,c=a;break e}}else if(x.elementType===E||typeof E=="object"&&E!==null&&E.$$typeof===Ye&&Ju(E)===x.type){t(c,x.sibling),a=l(x,f.props),a.ref=ct(c,x,f),a.return=c,c=a;break e}t(c,x);break}else n(c,x);x=x.sibling}f.type===Mn?(a=Sn(f.props.children,c.mode,h,f.key),a.return=c,c=a):(h=kr(f.type,f.key,f.props,null,c.mode,h),h.ref=ct(c,a,f),h.return=c,c=h)}return u(c);case Tn:e:{for(x=f.key;a!==null;){if(a.key===x)if(a.tag===4&&a.stateNode.containerInfo===f.containerInfo&&a.stateNode.implementation===f.implementation){t(c,a.sibling),a=l(a,f.children||[]),a.return=c,c=a;break e}else{t(c,a);break}else n(c,a);a=a.sibling}a=Rl(f,c.mode,h),a.return=c,c=a}return u(c);case Ye:return x=f._init,O(c,a,x(f._payload),h)}if(mt(f))return w(c,a,f,h);if(it(f))return k(c,a,f,h);ur(c,f)}return typeof f=="string"&&f!==""||typeof f=="number"?(f=""+f,a!==null&&a.tag===6?(t(c,a.sibling),a=l(a,f),a.return=c,c=a):(t(c,a),a=Dl(f,c.mode,h),a.return=c,c=a),u(c)):t(c,a)}return O}var Jn=_s(!0),Ns=_s(!1),Fr=fn(null),Or=null,Vn=null,$i=null;function Ki(){$i=Vn=Or=null}function Yi(e){var n=Fr.current;F(Fr),e._currentValue=n}function ai(e,n,t){for(;e!==null;){var r=e.alternate;if((e.childLanes&n)!==n?(e.childLanes|=n,r!==null&&(r.childLanes|=n)):r!==null&&(r.childLanes&n)!==n&&(r.childLanes|=n),e===t)break;e=e.return}}function Kn(e,n){Or=e,$i=Vn=null,e=e.dependencies,e!==null&&e.firstContext!==null&&(e.lanes&n&&(oe=!0),e.firstContext=null)}function Se(e){var n=e._currentValue;if($i!==e)if(e={context:e,memoizedValue:n,next:null},Vn===null){if(Or===null)throw Error(y(308));Vn=e,Or.dependencies={lanes:0,firstContext:e}}else Vn=Vn.next=e;return n}var gn=null;function Xi(e){gn===null?gn=[e]:gn.push(e)}function zs(e,n,t,r){var l=n.interleaved;return l===null?(t.next=t,Xi(n)):(t.next=l.next,l.next=t),n.interleaved=t,Qe(e,r)}function Qe(e,n){e.lanes|=n;var t=e.alternate;for(t!==null&&(t.lanes|=n),t=e,e=e.return;e!==null;)e.childLanes|=n,t=e.alternate,t!==null&&(t.childLanes|=n),t=e,e=e.return;return t.tag===3?t.stateNode:null}var Xe=!1;function Gi(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function Ps(e,n){e=e.updateQueue,n.updateQueue===e&&(n.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function Ae(e,n){return{eventTime:e,lane:n,tag:0,payload:null,callback:null,next:null}}function rn(e,n,t){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,T&2){var l=r.pending;return l===null?n.next=n:(n.next=l.next,l.next=n),r.pending=n,Qe(e,t)}return l=r.interleaved,l===null?(n.next=n,Xi(r)):(n.next=l.next,l.next=n),r.interleaved=n,Qe(e,t)}function mr(e,n,t){if(n=n.updateQueue,n!==null&&(n=n.shared,(t&4194240)!==0)){var r=n.lanes;r&=e.pendingLanes,t|=r,n.lanes=t,Fi(e,t)}}function qu(e,n){var t=e.updateQueue,r=e.alternate;if(r!==null&&(r=r.updateQueue,t===r)){var l=null,i=null;if(t=t.firstBaseUpdate,t!==null){do{var u={eventTime:t.eventTime,lane:t.lane,tag:t.tag,payload:t.payload,callback:t.callback,next:null};i===null?l=i=u:i=i.next=u,t=t.next}while(t!==null);i===null?l=i=n:i=i.next=n}else l=i=n;t={baseState:r.baseState,firstBaseUpdate:l,lastBaseUpdate:i,shared:r.shared,effects:r.effects},e.updateQueue=t;return}e=t.lastBaseUpdate,e===null?t.firstBaseUpdate=n:e.next=n,t.lastBaseUpdate=n}function Ir(e,n,t,r){var l=e.updateQueue;Xe=!1;var i=l.firstBaseUpdate,u=l.lastBaseUpdate,o=l.shared.pending;if(o!==null){l.shared.pending=null;var s=o,d=s.next;s.next=null,u===null?i=d:u.next=d,u=s;var v=e.alternate;v!==null&&(v=v.updateQueue,o=v.lastBaseUpdate,o!==u&&(o===null?v.firstBaseUpdate=d:o.next=d,v.lastBaseUpdate=s))}if(i!==null){var m=l.baseState;u=0,v=d=s=null,o=i;do{var p=o.lane,g=o.eventTime;if((r&p)===p){v!==null&&(v=v.next={eventTime:g,lane:0,tag:o.tag,payload:o.payload,callback:o.callback,next:null});e:{var w=e,k=o;switch(p=n,g=t,k.tag){case 1:if(w=k.payload,typeof w=="function"){m=w.call(g,m,p);break e}m=w;break e;case 3:w.flags=w.flags&-65537|128;case 0:if(w=k.payload,p=typeof w=="function"?w.call(g,m,p):w,p==null)break e;m=V({},m,p);break e;case 2:Xe=!0}}o.callback!==null&&o.lane!==0&&(e.flags|=64,p=l.effects,p===null?l.effects=[o]:p.push(o))}else g={eventTime:g,lane:p,tag:o.tag,payload:o.payload,callback:o.callback,next:null},v===null?(d=v=g,s=m):v=v.next=g,u|=p;if(o=o.next,o===null){if(o=l.shared.pending,o===null)break;p=o,o=p.next,p.next=null,l.lastBaseUpdate=p,l.shared.pending=null}}while(1);if(v===null&&(s=m),l.baseState=s,l.firstBaseUpdate=d,l.lastBaseUpdate=v,n=l.shared.interleaved,n!==null){l=n;do u|=l.lane,l=l.next;while(l!==n)}else i===null&&(l.shared.lanes=0);_n|=u,e.lanes=u,e.memoizedState=m}}function bu(e,n,t){if(e=n.effects,n.effects=null,e!==null)for(n=0;n<e.length;n++){var r=e[n],l=r.callback;if(l!==null){if(r.callback=null,r=t,typeof l!="function")throw Error(y(191,l));l.call(r)}}}var Kt={},Oe=fn(Kt),jt=fn(Kt),Ut=fn(Kt);function wn(e){if(e===Kt)throw Error(y(174));return e}function Zi(e,n){switch(D(Ut,n),D(jt,e),D(Oe,Kt),e=n.nodeType,e){case 9:case 11:n=(n=n.documentElement)?n.namespaceURI:Ql(null,"");break;default:e=e===8?n.parentNode:n,n=e.namespaceURI||null,e=e.tagName,n=Ql(n,e)}F(Oe),D(Oe,n)}function qn(){F(Oe),F(jt),F(Ut)}function Ls(e){wn(Ut.current);var n=wn(Oe.current),t=Ql(n,e.type);n!==t&&(D(jt,e),D(Oe,t))}function Ji(e){jt.current===e&&(F(Oe),F(jt))}var j=fn(0);function jr(e){for(var n=e;n!==null;){if(n.tag===13){var t=n.memoizedState;if(t!==null&&(t=t.dehydrated,t===null||t.data==="$?"||t.data==="$!"))return n}else if(n.tag===19&&n.memoizedProps.revealOrder!==void 0){if(n.flags&128)return n}else if(n.child!==null){n.child.return=n,n=n.child;continue}if(n===e)break;for(;n.sibling===null;){if(n.return===null||n.return===e)return null;n=n.return}n.sibling.return=n.return,n=n.sibling}return null}var Nl=[];function qi(){for(var e=0;e<Nl.length;e++)Nl[e]._workInProgressVersionPrimary=null;Nl.length=0}var vr=$e.ReactCurrentDispatcher,zl=$e.ReactCurrentBatchConfig,xn=0,U=null,$=null,X=null,Ur=!1,Et=!1,Vt=0,bc=0;function b(){throw Error(y(321))}function bi(e,n){if(n===null)return!1;for(var t=0;t<n.length&&t<e.length;t++)if(!Te(e[t],n[t]))return!1;return!0}function eu(e,n,t,r,l,i){if(xn=i,U=n,n.memoizedState=null,n.updateQueue=null,n.lanes=0,vr.current=e===null||e.memoizedState===null?rf:lf,e=t(r,l),Et){i=0;do{if(Et=!1,Vt=0,25<=i)throw Error(y(301));i+=1,X=$=null,n.updateQueue=null,vr.current=uf,e=t(r,l)}while(Et)}if(vr.current=Vr,n=$!==null&&$.next!==null,xn=0,X=$=U=null,Ur=!1,n)throw Error(y(300));return e}function nu(){var e=Vt!==0;return Vt=0,e}function De(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return X===null?U.memoizedState=X=e:X=X.next=e,X}function Ee(){if($===null){var e=U.alternate;e=e!==null?e.memoizedState:null}else e=$.next;var n=X===null?U.memoizedState:X.next;if(n!==null)X=n,$=e;else{if(e===null)throw Error(y(310));$=e,e={memoizedState:$.memoizedState,baseState:$.baseState,baseQueue:$.baseQueue,queue:$.queue,next:null},X===null?U.memoizedState=X=e:X=X.next=e}return X}function At(e,n){return typeof n=="function"?n(e):n}function Pl(e){var n=Ee(),t=n.queue;if(t===null)throw Error(y(311));t.lastRenderedReducer=e;var r=$,l=r.baseQueue,i=t.pending;if(i!==null){if(l!==null){var u=l.next;l.next=i.next,i.next=u}r.baseQueue=l=i,t.pending=null}if(l!==null){i=l.next,r=r.baseState;var o=u=null,s=null,d=i;do{var v=d.lane;if((xn&v)===v)s!==null&&(s=s.next={lane:0,action:d.action,hasEagerState:d.hasEagerState,eagerState:d.eagerState,next:null}),r=d.hasEagerState?d.eagerState:e(r,d.action);else{var m={lane:v,action:d.action,hasEagerState:d.hasEagerState,eagerState:d.eagerState,next:null};s===null?(o=s=m,u=r):s=s.next=m,U.lanes|=v,_n|=v}d=d.next}while(d!==null&&d!==i);s===null?u=r:s.next=o,Te(r,n.memoizedState)||(oe=!0),n.memoizedState=r,n.baseState=u,n.baseQueue=s,t.lastRenderedState=r}if(e=t.interleaved,e!==null){l=e;do i=l.lane,U.lanes|=i,_n|=i,l=l.next;while(l!==e)}else l===null&&(t.lanes=0);return[n.memoizedState,t.dispatch]}function Ll(e){var n=Ee(),t=n.queue;if(t===null)throw Error(y(311));t.lastRenderedReducer=e;var r=t.dispatch,l=t.pending,i=n.memoizedState;if(l!==null){t.pending=null;var u=l=l.next;do i=e(i,u.action),u=u.next;while(u!==l);Te(i,n.memoizedState)||(oe=!0),n.memoizedState=i,n.baseQueue===null&&(n.baseState=i),t.lastRenderedState=i}return[i,r]}function Ts(){}function Ms(e,n){var t=U,r=Ee(),l=n(),i=!Te(r.memoizedState,l);if(i&&(r.memoizedState=l,oe=!0),r=r.queue,tu(Fs.bind(null,t,r,e),[e]),r.getSnapshot!==n||i||X!==null&&X.memoizedState.tag&1){if(t.flags|=2048,Bt(9,Rs.bind(null,t,r,l,n),void 0,null),G===null)throw Error(y(349));xn&30||Ds(t,n,l)}return l}function Ds(e,n,t){e.flags|=16384,e={getSnapshot:n,value:t},n=U.updateQueue,n===null?(n={lastEffect:null,stores:null},U.updateQueue=n,n.stores=[e]):(t=n.stores,t===null?n.stores=[e]:t.push(e))}function Rs(e,n,t,r){n.value=t,n.getSnapshot=r,Os(n)&&Is(e)}function Fs(e,n,t){return t(function(){Os(n)&&Is(e)})}function Os(e){var n=e.getSnapshot;e=e.value;try{var t=n();return!Te(e,t)}catch{return!0}}function Is(e){var n=Qe(e,1);n!==null&&Le(n,e,1,-1)}function eo(e){var n=De();return typeof e=="function"&&(e=e()),n.memoizedState=n.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:At,lastRenderedState:e},n.queue=e,e=e.dispatch=tf.bind(null,U,e),[n.memoizedState,e]}function Bt(e,n,t,r){return e={tag:e,create:n,destroy:t,deps:r,next:null},n=U.updateQueue,n===null?(n={lastEffect:null,stores:null},U.updateQueue=n,n.lastEffect=e.next=e):(t=n.lastEffect,t===null?n.lastEffect=e.next=e:(r=t.next,t.next=e,e.next=r,n.lastEffect=e)),e}function js(){return Ee().memoizedState}function hr(e,n,t,r){var l=De();U.flags|=e,l.memoizedState=Bt(1|n,t,void 0,r===void 0?null:r)}function Jr(e,n,t,r){var l=Ee();r=r===void 0?null:r;var i=void 0;if($!==null){var u=$.memoizedState;if(i=u.destroy,r!==null&&bi(r,u.deps)){l.memoizedState=Bt(n,t,i,r);return}}U.flags|=e,l.memoizedState=Bt(1|n,t,i,r)}function no(e,n){return hr(8390656,8,e,n)}function tu(e,n){return Jr(2048,8,e,n)}function Us(e,n){return Jr(4,2,e,n)}function Vs(e,n){return Jr(4,4,e,n)}function As(e,n){if(typeof n=="function")return e=e(),n(e),function(){n(null)};if(n!=null)return e=e(),n.current=e,function(){n.current=null}}function Bs(e,n,t){return t=t!=null?t.concat([e]):null,Jr(4,4,As.bind(null,n,e),t)}function ru(){}function Hs(e,n){var t=Ee();n=n===void 0?null:n;var r=t.memoizedState;return r!==null&&n!==null&&bi(n,r[1])?r[0]:(t.memoizedState=[e,n],e)}function Qs(e,n){var t=Ee();n=n===void 0?null:n;var r=t.memoizedState;return r!==null&&n!==null&&bi(n,r[1])?r[0]:(e=e(),t.memoizedState=[e,n],e)}function Ws(e,n,t){return xn&21?(Te(t,n)||(t=Go(),U.lanes|=t,_n|=t,e.baseState=!0),n):(e.baseState&&(e.baseState=!1,oe=!0),e.memoizedState=t)}function ef(e,n){var t=M;M=t!==0&&4>t?t:4,e(!0);var r=zl.transition;zl.transition={};try{e(!1),n()}finally{M=t,zl.transition=r}}function $s(){return Ee().memoizedState}function nf(e,n,t){var r=un(e);if(t={lane:r,action:t,hasEagerState:!1,eagerState:null,next:null},Ks(e))Ys(n,t);else if(t=zs(e,n,t,r),t!==null){var l=le();Le(t,e,r,l),Xs(t,n,r)}}function tf(e,n,t){var r=un(e),l={lane:r,action:t,hasEagerState:!1,eagerState:null,next:null};if(Ks(e))Ys(n,l);else{var i=e.alternate;if(e.lanes===0&&(i===null||i.lanes===0)&&(i=n.lastRenderedReducer,i!==null))try{var u=n.lastRenderedState,o=i(u,t);if(l.hasEagerState=!0,l.eagerState=o,Te(o,u)){var s=n.interleaved;s===null?(l.next=l,Xi(n)):(l.next=s.next,s.next=l),n.interleaved=l;return}}catch{}finally{}t=zs(e,n,l,r),t!==null&&(l=le(),Le(t,e,r,l),Xs(t,n,r))}}function Ks(e){var n=e.alternate;return e===U||n!==null&&n===U}function Ys(e,n){Et=Ur=!0;var t=e.pending;t===null?n.next=n:(n.next=t.next,t.next=n),e.pending=n}function Xs(e,n,t){if(t&4194240){var r=n.lanes;r&=e.pendingLanes,t|=r,n.lanes=t,Fi(e,t)}}var Vr={readContext:Se,useCallback:b,useContext:b,useEffect:b,useImperativeHandle:b,useInsertionEffect:b,useLayoutEffect:b,useMemo:b,useReducer:b,useRef:b,useState:b,useDebugValue:b,useDeferredValue:b,useTransition:b,useMutableSource:b,useSyncExternalStore:b,useId:b,unstable_isNewReconciler:!1},rf={readContext:Se,useCallback:function(e,n){return De().memoizedState=[e,n===void 0?null:n],e},useContext:Se,useEffect:no,useImperativeHandle:function(e,n,t){return t=t!=null?t.concat([e]):null,hr(4194308,4,As.bind(null,n,e),t)},useLayoutEffect:function(e,n){return hr(4194308,4,e,n)},useInsertionEffect:function(e,n){return hr(4,2,e,n)},useMemo:function(e,n){var t=De();return n=n===void 0?null:n,e=e(),t.memoizedState=[e,n],e},useReducer:function(e,n,t){var r=De();return n=t!==void 0?t(n):n,r.memoizedState=r.baseState=n,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:n},r.queue=e,e=e.dispatch=nf.bind(null,U,e),[r.memoizedState,e]},useRef:function(e){var n=De();return e={current:e},n.memoizedState=e},useState:eo,useDebugValue:ru,useDeferredValue:function(e){return De().memoizedState=e},useTransition:function(){var e=eo(!1),n=e[0];return e=ef.bind(null,e[1]),De().memoizedState=e,[n,e]},useMutableSource:function(){},useSyncExternalStore:function(e,n,t){var r=U,l=De();if(I){if(t===void 0)throw Error(y(407));t=t()}else{if(t=n(),G===null)throw Error(y(349));xn&30||Ds(r,n,t)}l.memoizedState=t;var i={value:t,getSnapshot:n};return l.queue=i,no(Fs.bind(null,r,i,e),[e]),r.flags|=2048,Bt(9,Rs.bind(null,r,i,t,n),void 0,null),t},useId:function(){var e=De(),n=G.identifierPrefix;if(I){var t=Ve,r=Ue;t=(r&~(1<<32-Pe(r)-1)).toString(32)+t,n=":"+n+"R"+t,t=Vt++,0<t&&(n+="H"+t.toString(32)),n+=":"}else t=bc++,n=":"+n+"r"+t.toString(32)+":";return e.memoizedState=n},unstable_isNewReconciler:!1},lf={readContext:Se,useCallback:Hs,useContext:Se,useEffect:tu,useImperativeHandle:Bs,useInsertionEffect:Us,useLayoutEffect:Vs,useMemo:Qs,useReducer:Pl,useRef:js,useState:function(){return Pl(At)},useDebugValue:ru,useDeferredValue:function(e){var n=Ee();return Ws(n,$.memoizedState,e)},useTransition:function(){var e=Pl(At)[0],n=Ee().memoizedState;return[e,n]},useMutableSource:Ts,useSyncExternalStore:Ms,useId:$s,unstable_isNewReconciler:!1},uf={readContext:Se,useCallback:Hs,useContext:Se,useEffect:tu,useImperativeHandle:Bs,useInsertionEffect:Us,useLayoutEffect:Vs,useMemo:Qs,useReducer:Ll,useRef:js,useState:function(){return Ll(At)},useDebugValue:ru,useDeferredValue:function(e){var n=Ee();return $===null?n.memoizedState=e:Ws(n,$.memoizedState,e)},useTransition:function(){var e=Ll(At)[0],n=Ee().memoizedState;return[e,n]},useMutableSource:Ts,useSyncExternalStore:Ms,useId:$s,unstable_isNewReconciler:!1};function _e(e,n){if(e&&e.defaultProps){n=V({},n),e=e.defaultProps;for(var t in e)n[t]===void 0&&(n[t]=e[t]);return n}return n}function ci(e,n,t,r){n=e.memoizedState,t=t(r,n),t=t==null?n:V({},n,t),e.memoizedState=t,e.lanes===0&&(e.updateQueue.baseState=t)}var qr={isMounted:function(e){return(e=e._reactInternals)?Pn(e)===e:!1},enqueueSetState:function(e,n,t){e=e._reactInternals;var r=le(),l=un(e),i=Ae(r,l);i.payload=n,t!=null&&(i.callback=t),n=rn(e,i,l),n!==null&&(Le(n,e,l,r),mr(n,e,l))},enqueueReplaceState:function(e,n,t){e=e._reactInternals;var r=le(),l=un(e),i=Ae(r,l);i.tag=1,i.payload=n,t!=null&&(i.callback=t),n=rn(e,i,l),n!==null&&(Le(n,e,l,r),mr(n,e,l))},enqueueForceUpdate:function(e,n){e=e._reactInternals;var t=le(),r=un(e),l=Ae(t,r);l.tag=2,n!=null&&(l.callback=n),n=rn(e,l,r),n!==null&&(Le(n,e,r,t),mr(n,e,r))}};function to(e,n,t,r,l,i,u){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(r,i,u):n.prototype&&n.prototype.isPureReactComponent?!Rt(t,r)||!Rt(l,i):!0}function Gs(e,n,t){var r=!1,l=an,i=n.contextType;return typeof i=="object"&&i!==null?i=Se(i):(l=ae(n)?En:te.current,r=n.contextTypes,i=(r=r!=null)?Gn(e,l):an),n=new n(t,i),e.memoizedState=n.state!==null&&n.state!==void 0?n.state:null,n.updater=qr,e.stateNode=n,n._reactInternals=e,r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=l,e.__reactInternalMemoizedMaskedChildContext=i),n}function ro(e,n,t,r){e=n.state,typeof n.componentWillReceiveProps=="function"&&n.componentWillReceiveProps(t,r),typeof n.UNSAFE_componentWillReceiveProps=="function"&&n.UNSAFE_componentWillReceiveProps(t,r),n.state!==e&&qr.enqueueReplaceState(n,n.state,null)}function fi(e,n,t,r){var l=e.stateNode;l.props=t,l.state=e.memoizedState,l.refs={},Gi(e);var i=n.contextType;typeof i=="object"&&i!==null?l.context=Se(i):(i=ae(n)?En:te.current,l.context=Gn(e,i)),l.state=e.memoizedState,i=n.getDerivedStateFromProps,typeof i=="function"&&(ci(e,n,i,t),l.state=e.memoizedState),typeof n.getDerivedStateFromProps=="function"||typeof l.getSnapshotBeforeUpdate=="function"||typeof l.UNSAFE_componentWillMount!="function"&&typeof l.componentWillMount!="function"||(n=l.state,typeof l.componentWillMount=="function"&&l.componentWillMount(),typeof l.UNSAFE_componentWillMount=="function"&&l.UNSAFE_componentWillMount(),n!==l.state&&qr.enqueueReplaceState(l,l.state,null),Ir(e,t,l,r),l.state=e.memoizedState),typeof l.componentDidMount=="function"&&(e.flags|=4194308)}function bn(e,n){try{var t="",r=n;do t+=Ra(r),r=r.return;while(r);var l=t}catch(i){l=` -Error generating stack: `+i.message+` -`+i.stack}return{value:e,source:n,stack:l,digest:null}}function Tl(e,n,t){return{value:e,source:null,stack:t??null,digest:n??null}}function di(e,n){try{console.error(n.value)}catch(t){setTimeout(function(){throw t})}}var of=typeof WeakMap=="function"?WeakMap:Map;function Zs(e,n,t){t=Ae(-1,t),t.tag=3,t.payload={element:null};var r=n.value;return t.callback=function(){Br||(Br=!0,Ei=r),di(e,n)},t}function Js(e,n,t){t=Ae(-1,t),t.tag=3;var r=e.type.getDerivedStateFromError;if(typeof r=="function"){var l=n.value;t.payload=function(){return r(l)},t.callback=function(){di(e,n)}}var i=e.stateNode;return i!==null&&typeof i.componentDidCatch=="function"&&(t.callback=function(){di(e,n),typeof r!="function"&&(ln===null?ln=new Set([this]):ln.add(this));var u=n.stack;this.componentDidCatch(n.value,{componentStack:u!==null?u:""})}),t}function lo(e,n,t){var r=e.pingCache;if(r===null){r=e.pingCache=new of;var l=new Set;r.set(n,l)}else l=r.get(n),l===void 0&&(l=new Set,r.set(n,l));l.has(t)||(l.add(t),e=Sf.bind(null,e,n,t),n.then(e,e))}function io(e){do{var n;if((n=e.tag===13)&&(n=e.memoizedState,n=n!==null?n.dehydrated!==null:!0),n)return e;e=e.return}while(e!==null);return null}function uo(e,n,t,r,l){return e.mode&1?(e.flags|=65536,e.lanes=l,e):(e===n?e.flags|=65536:(e.flags|=128,t.flags|=131072,t.flags&=-52805,t.tag===1&&(t.alternate===null?t.tag=17:(n=Ae(-1,1),n.tag=2,rn(t,n,1))),t.lanes|=1),e)}var sf=$e.ReactCurrentOwner,oe=!1;function re(e,n,t,r){n.child=e===null?Ns(n,null,t,r):Jn(n,e.child,t,r)}function oo(e,n,t,r,l){t=t.render;var i=n.ref;return Kn(n,l),r=eu(e,n,t,r,i,l),t=nu(),e!==null&&!oe?(n.updateQueue=e.updateQueue,n.flags&=-2053,e.lanes&=~l,We(e,n,l)):(I&&t&&Hi(n),n.flags|=1,re(e,n,r,l),n.child)}function so(e,n,t,r,l){if(e===null){var i=t.type;return typeof i=="function"&&!fu(i)&&i.defaultProps===void 0&&t.compare===null&&t.defaultProps===void 0?(n.tag=15,n.type=i,qs(e,n,i,r,l)):(e=kr(t.type,null,r,n,n.mode,l),e.ref=n.ref,e.return=n,n.child=e)}if(i=e.child,!(e.lanes&l)){var u=i.memoizedProps;if(t=t.compare,t=t!==null?t:Rt,t(u,r)&&e.ref===n.ref)return We(e,n,l)}return n.flags|=1,e=on(i,r),e.ref=n.ref,e.return=n,n.child=e}function qs(e,n,t,r,l){if(e!==null){var i=e.memoizedProps;if(Rt(i,r)&&e.ref===n.ref)if(oe=!1,n.pendingProps=r=i,(e.lanes&l)!==0)e.flags&131072&&(oe=!0);else return n.lanes=e.lanes,We(e,n,l)}return pi(e,n,t,r,l)}function bs(e,n,t){var r=n.pendingProps,l=r.children,i=e!==null?e.memoizedState:null;if(r.mode==="hidden")if(!(n.mode&1))n.memoizedState={baseLanes:0,cachePool:null,transitions:null},D(Bn,fe),fe|=t;else{if(!(t&1073741824))return e=i!==null?i.baseLanes|t:t,n.lanes=n.childLanes=1073741824,n.memoizedState={baseLanes:e,cachePool:null,transitions:null},n.updateQueue=null,D(Bn,fe),fe|=e,null;n.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=i!==null?i.baseLanes:t,D(Bn,fe),fe|=r}else i!==null?(r=i.baseLanes|t,n.memoizedState=null):r=t,D(Bn,fe),fe|=r;return re(e,n,l,t),n.child}function ea(e,n){var t=n.ref;(e===null&&t!==null||e!==null&&e.ref!==t)&&(n.flags|=512,n.flags|=2097152)}function pi(e,n,t,r,l){var i=ae(t)?En:te.current;return i=Gn(n,i),Kn(n,l),t=eu(e,n,t,r,i,l),r=nu(),e!==null&&!oe?(n.updateQueue=e.updateQueue,n.flags&=-2053,e.lanes&=~l,We(e,n,l)):(I&&r&&Hi(n),n.flags|=1,re(e,n,t,l),n.child)}function ao(e,n,t,r,l){if(ae(t)){var i=!0;Mr(n)}else i=!1;if(Kn(n,l),n.stateNode===null)yr(e,n),Gs(n,t,r),fi(n,t,r,l),r=!0;else if(e===null){var u=n.stateNode,o=n.memoizedProps;u.props=o;var s=u.context,d=t.contextType;typeof d=="object"&&d!==null?d=Se(d):(d=ae(t)?En:te.current,d=Gn(n,d));var v=t.getDerivedStateFromProps,m=typeof v=="function"||typeof u.getSnapshotBeforeUpdate=="function";m||typeof u.UNSAFE_componentWillReceiveProps!="function"&&typeof u.componentWillReceiveProps!="function"||(o!==r||s!==d)&&ro(n,u,r,d),Xe=!1;var p=n.memoizedState;u.state=p,Ir(n,r,u,l),s=n.memoizedState,o!==r||p!==s||se.current||Xe?(typeof v=="function"&&(ci(n,t,v,r),s=n.memoizedState),(o=Xe||to(n,t,o,r,p,s,d))?(m||typeof u.UNSAFE_componentWillMount!="function"&&typeof u.componentWillMount!="function"||(typeof u.componentWillMount=="function"&&u.componentWillMount(),typeof u.UNSAFE_componentWillMount=="function"&&u.UNSAFE_componentWillMount()),typeof u.componentDidMount=="function"&&(n.flags|=4194308)):(typeof u.componentDidMount=="function"&&(n.flags|=4194308),n.memoizedProps=r,n.memoizedState=s),u.props=r,u.state=s,u.context=d,r=o):(typeof u.componentDidMount=="function"&&(n.flags|=4194308),r=!1)}else{u=n.stateNode,Ps(e,n),o=n.memoizedProps,d=n.type===n.elementType?o:_e(n.type,o),u.props=d,m=n.pendingProps,p=u.context,s=t.contextType,typeof s=="object"&&s!==null?s=Se(s):(s=ae(t)?En:te.current,s=Gn(n,s));var g=t.getDerivedStateFromProps;(v=typeof g=="function"||typeof u.getSnapshotBeforeUpdate=="function")||typeof u.UNSAFE_componentWillReceiveProps!="function"&&typeof u.componentWillReceiveProps!="function"||(o!==m||p!==s)&&ro(n,u,r,s),Xe=!1,p=n.memoizedState,u.state=p,Ir(n,r,u,l);var w=n.memoizedState;o!==m||p!==w||se.current||Xe?(typeof g=="function"&&(ci(n,t,g,r),w=n.memoizedState),(d=Xe||to(n,t,d,r,p,w,s)||!1)?(v||typeof u.UNSAFE_componentWillUpdate!="function"&&typeof u.componentWillUpdate!="function"||(typeof u.componentWillUpdate=="function"&&u.componentWillUpdate(r,w,s),typeof u.UNSAFE_componentWillUpdate=="function"&&u.UNSAFE_componentWillUpdate(r,w,s)),typeof u.componentDidUpdate=="function"&&(n.flags|=4),typeof u.getSnapshotBeforeUpdate=="function"&&(n.flags|=1024)):(typeof u.componentDidUpdate!="function"||o===e.memoizedProps&&p===e.memoizedState||(n.flags|=4),typeof u.getSnapshotBeforeUpdate!="function"||o===e.memoizedProps&&p===e.memoizedState||(n.flags|=1024),n.memoizedProps=r,n.memoizedState=w),u.props=r,u.state=w,u.context=s,r=d):(typeof u.componentDidUpdate!="function"||o===e.memoizedProps&&p===e.memoizedState||(n.flags|=4),typeof u.getSnapshotBeforeUpdate!="function"||o===e.memoizedProps&&p===e.memoizedState||(n.flags|=1024),r=!1)}return mi(e,n,t,r,i,l)}function mi(e,n,t,r,l,i){ea(e,n);var u=(n.flags&128)!==0;if(!r&&!u)return l&&Xu(n,t,!1),We(e,n,i);r=n.stateNode,sf.current=n;var o=u&&typeof t.getDerivedStateFromError!="function"?null:r.render();return n.flags|=1,e!==null&&u?(n.child=Jn(n,e.child,null,i),n.child=Jn(n,null,o,i)):re(e,n,o,i),n.memoizedState=r.state,l&&Xu(n,t,!0),n.child}function na(e){var n=e.stateNode;n.pendingContext?Yu(e,n.pendingContext,n.pendingContext!==n.context):n.context&&Yu(e,n.context,!1),Zi(e,n.containerInfo)}function co(e,n,t,r,l){return Zn(),Wi(l),n.flags|=256,re(e,n,t,r),n.child}var vi={dehydrated:null,treeContext:null,retryLane:0};function hi(e){return{baseLanes:e,cachePool:null,transitions:null}}function ta(e,n,t){var r=n.pendingProps,l=j.current,i=!1,u=(n.flags&128)!==0,o;if((o=u)||(o=e!==null&&e.memoizedState===null?!1:(l&2)!==0),o?(i=!0,n.flags&=-129):(e===null||e.memoizedState!==null)&&(l|=1),D(j,l&1),e===null)return si(n),e=n.memoizedState,e!==null&&(e=e.dehydrated,e!==null)?(n.mode&1?e.data==="$!"?n.lanes=8:n.lanes=1073741824:n.lanes=1,null):(u=r.children,e=r.fallback,i?(r=n.mode,i=n.child,u={mode:"hidden",children:u},!(r&1)&&i!==null?(i.childLanes=0,i.pendingProps=u):i=nl(u,r,0,null),e=Sn(e,r,t,null),i.return=n,e.return=n,i.sibling=e,n.child=i,n.child.memoizedState=hi(t),n.memoizedState=vi,e):lu(n,u));if(l=e.memoizedState,l!==null&&(o=l.dehydrated,o!==null))return af(e,n,u,r,o,l,t);if(i){i=r.fallback,u=n.mode,l=e.child,o=l.sibling;var s={mode:"hidden",children:r.children};return!(u&1)&&n.child!==l?(r=n.child,r.childLanes=0,r.pendingProps=s,n.deletions=null):(r=on(l,s),r.subtreeFlags=l.subtreeFlags&14680064),o!==null?i=on(o,i):(i=Sn(i,u,t,null),i.flags|=2),i.return=n,r.return=n,r.sibling=i,n.child=r,r=i,i=n.child,u=e.child.memoizedState,u=u===null?hi(t):{baseLanes:u.baseLanes|t,cachePool:null,transitions:u.transitions},i.memoizedState=u,i.childLanes=e.childLanes&~t,n.memoizedState=vi,r}return i=e.child,e=i.sibling,r=on(i,{mode:"visible",children:r.children}),!(n.mode&1)&&(r.lanes=t),r.return=n,r.sibling=null,e!==null&&(t=n.deletions,t===null?(n.deletions=[e],n.flags|=16):t.push(e)),n.child=r,n.memoizedState=null,r}function lu(e,n){return n=nl({mode:"visible",children:n},e.mode,0,null),n.return=e,e.child=n}function or(e,n,t,r){return r!==null&&Wi(r),Jn(n,e.child,null,t),e=lu(n,n.pendingProps.children),e.flags|=2,n.memoizedState=null,e}function af(e,n,t,r,l,i,u){if(t)return n.flags&256?(n.flags&=-257,r=Tl(Error(y(422))),or(e,n,u,r)):n.memoizedState!==null?(n.child=e.child,n.flags|=128,null):(i=r.fallback,l=n.mode,r=nl({mode:"visible",children:r.children},l,0,null),i=Sn(i,l,u,null),i.flags|=2,r.return=n,i.return=n,r.sibling=i,n.child=r,n.mode&1&&Jn(n,e.child,null,u),n.child.memoizedState=hi(u),n.memoizedState=vi,i);if(!(n.mode&1))return or(e,n,u,null);if(l.data==="$!"){if(r=l.nextSibling&&l.nextSibling.dataset,r)var o=r.dgst;return r=o,i=Error(y(419)),r=Tl(i,r,void 0),or(e,n,u,r)}if(o=(u&e.childLanes)!==0,oe||o){if(r=G,r!==null){switch(u&-u){case 4:l=2;break;case 16:l=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:l=32;break;case 536870912:l=268435456;break;default:l=0}l=l&(r.suspendedLanes|u)?0:l,l!==0&&l!==i.retryLane&&(i.retryLane=l,Qe(e,l),Le(r,e,l,-1))}return cu(),r=Tl(Error(y(421))),or(e,n,u,r)}return l.data==="$?"?(n.flags|=128,n.child=e.child,n=Ef.bind(null,e),l._reactRetry=n,null):(e=i.treeContext,de=tn(l.nextSibling),pe=n,I=!0,ze=null,e!==null&&(ye[ge++]=Ue,ye[ge++]=Ve,ye[ge++]=Cn,Ue=e.id,Ve=e.overflow,Cn=n),n=lu(n,r.children),n.flags|=4096,n)}function fo(e,n,t){e.lanes|=n;var r=e.alternate;r!==null&&(r.lanes|=n),ai(e.return,n,t)}function Ml(e,n,t,r,l){var i=e.memoizedState;i===null?e.memoizedState={isBackwards:n,rendering:null,renderingStartTime:0,last:r,tail:t,tailMode:l}:(i.isBackwards=n,i.rendering=null,i.renderingStartTime=0,i.last=r,i.tail=t,i.tailMode=l)}function ra(e,n,t){var r=n.pendingProps,l=r.revealOrder,i=r.tail;if(re(e,n,r.children,t),r=j.current,r&2)r=r&1|2,n.flags|=128;else{if(e!==null&&e.flags&128)e:for(e=n.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&fo(e,t,n);else if(e.tag===19)fo(e,t,n);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===n)break e;for(;e.sibling===null;){if(e.return===null||e.return===n)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}if(D(j,r),!(n.mode&1))n.memoizedState=null;else switch(l){case"forwards":for(t=n.child,l=null;t!==null;)e=t.alternate,e!==null&&jr(e)===null&&(l=t),t=t.sibling;t=l,t===null?(l=n.child,n.child=null):(l=t.sibling,t.sibling=null),Ml(n,!1,l,t,i);break;case"backwards":for(t=null,l=n.child,n.child=null;l!==null;){if(e=l.alternate,e!==null&&jr(e)===null){n.child=l;break}e=l.sibling,l.sibling=t,t=l,l=e}Ml(n,!0,t,null,i);break;case"together":Ml(n,!1,null,null,void 0);break;default:n.memoizedState=null}return n.child}function yr(e,n){!(n.mode&1)&&e!==null&&(e.alternate=null,n.alternate=null,n.flags|=2)}function We(e,n,t){if(e!==null&&(n.dependencies=e.dependencies),_n|=n.lanes,!(t&n.childLanes))return null;if(e!==null&&n.child!==e.child)throw Error(y(153));if(n.child!==null){for(e=n.child,t=on(e,e.pendingProps),n.child=t,t.return=n;e.sibling!==null;)e=e.sibling,t=t.sibling=on(e,e.pendingProps),t.return=n;t.sibling=null}return n.child}function cf(e,n,t){switch(n.tag){case 3:na(n),Zn();break;case 5:Ls(n);break;case 1:ae(n.type)&&Mr(n);break;case 4:Zi(n,n.stateNode.containerInfo);break;case 10:var r=n.type._context,l=n.memoizedProps.value;D(Fr,r._currentValue),r._currentValue=l;break;case 13:if(r=n.memoizedState,r!==null)return r.dehydrated!==null?(D(j,j.current&1),n.flags|=128,null):t&n.child.childLanes?ta(e,n,t):(D(j,j.current&1),e=We(e,n,t),e!==null?e.sibling:null);D(j,j.current&1);break;case 19:if(r=(t&n.childLanes)!==0,e.flags&128){if(r)return ra(e,n,t);n.flags|=128}if(l=n.memoizedState,l!==null&&(l.rendering=null,l.tail=null,l.lastEffect=null),D(j,j.current),r)break;return null;case 22:case 23:return n.lanes=0,bs(e,n,t)}return We(e,n,t)}var la,yi,ia,ua;la=function(e,n){for(var t=n.child;t!==null;){if(t.tag===5||t.tag===6)e.appendChild(t.stateNode);else if(t.tag!==4&&t.child!==null){t.child.return=t,t=t.child;continue}if(t===n)break;for(;t.sibling===null;){if(t.return===null||t.return===n)return;t=t.return}t.sibling.return=t.return,t=t.sibling}};yi=function(){};ia=function(e,n,t,r){var l=e.memoizedProps;if(l!==r){e=n.stateNode,wn(Oe.current);var i=null;switch(t){case"input":l=Vl(e,l),r=Vl(e,r),i=[];break;case"select":l=V({},l,{value:void 0}),r=V({},r,{value:void 0}),i=[];break;case"textarea":l=Hl(e,l),r=Hl(e,r),i=[];break;default:typeof l.onClick!="function"&&typeof r.onClick=="function"&&(e.onclick=Lr)}Wl(t,r);var u;t=null;for(d in l)if(!r.hasOwnProperty(d)&&l.hasOwnProperty(d)&&l[d]!=null)if(d==="style"){var o=l[d];for(u in o)o.hasOwnProperty(u)&&(t||(t={}),t[u]="")}else d!=="dangerouslySetInnerHTML"&&d!=="children"&&d!=="suppressContentEditableWarning"&&d!=="suppressHydrationWarning"&&d!=="autoFocus"&&(Nt.hasOwnProperty(d)?i||(i=[]):(i=i||[]).push(d,null));for(d in r){var s=r[d];if(o=l!=null?l[d]:void 0,r.hasOwnProperty(d)&&s!==o&&(s!=null||o!=null))if(d==="style")if(o){for(u in o)!o.hasOwnProperty(u)||s&&s.hasOwnProperty(u)||(t||(t={}),t[u]="");for(u in s)s.hasOwnProperty(u)&&o[u]!==s[u]&&(t||(t={}),t[u]=s[u])}else t||(i||(i=[]),i.push(d,t)),t=s;else d==="dangerouslySetInnerHTML"?(s=s?s.__html:void 0,o=o?o.__html:void 0,s!=null&&o!==s&&(i=i||[]).push(d,s)):d==="children"?typeof s!="string"&&typeof s!="number"||(i=i||[]).push(d,""+s):d!=="suppressContentEditableWarning"&&d!=="suppressHydrationWarning"&&(Nt.hasOwnProperty(d)?(s!=null&&d==="onScroll"&&R("scroll",e),i||o===s||(i=[])):(i=i||[]).push(d,s))}t&&(i=i||[]).push("style",t);var d=i;(n.updateQueue=d)&&(n.flags|=4)}};ua=function(e,n,t,r){t!==r&&(n.flags|=4)};function ft(e,n){if(!I)switch(e.tailMode){case"hidden":n=e.tail;for(var t=null;n!==null;)n.alternate!==null&&(t=n),n=n.sibling;t===null?e.tail=null:t.sibling=null;break;case"collapsed":t=e.tail;for(var r=null;t!==null;)t.alternate!==null&&(r=t),t=t.sibling;r===null?n||e.tail===null?e.tail=null:e.tail.sibling=null:r.sibling=null}}function ee(e){var n=e.alternate!==null&&e.alternate.child===e.child,t=0,r=0;if(n)for(var l=e.child;l!==null;)t|=l.lanes|l.childLanes,r|=l.subtreeFlags&14680064,r|=l.flags&14680064,l.return=e,l=l.sibling;else for(l=e.child;l!==null;)t|=l.lanes|l.childLanes,r|=l.subtreeFlags,r|=l.flags,l.return=e,l=l.sibling;return e.subtreeFlags|=r,e.childLanes=t,n}function ff(e,n,t){var r=n.pendingProps;switch(Qi(n),n.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return ee(n),null;case 1:return ae(n.type)&&Tr(),ee(n),null;case 3:return r=n.stateNode,qn(),F(se),F(te),qi(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),(e===null||e.child===null)&&(ir(n)?n.flags|=4:e===null||e.memoizedState.isDehydrated&&!(n.flags&256)||(n.flags|=1024,ze!==null&&(_i(ze),ze=null))),yi(e,n),ee(n),null;case 5:Ji(n);var l=wn(Ut.current);if(t=n.type,e!==null&&n.stateNode!=null)ia(e,n,t,r,l),e.ref!==n.ref&&(n.flags|=512,n.flags|=2097152);else{if(!r){if(n.stateNode===null)throw Error(y(166));return ee(n),null}if(e=wn(Oe.current),ir(n)){r=n.stateNode,t=n.type;var i=n.memoizedProps;switch(r[Re]=n,r[It]=i,e=(n.mode&1)!==0,t){case"dialog":R("cancel",r),R("close",r);break;case"iframe":case"object":case"embed":R("load",r);break;case"video":case"audio":for(l=0;l<ht.length;l++)R(ht[l],r);break;case"source":R("error",r);break;case"img":case"image":case"link":R("error",r),R("load",r);break;case"details":R("toggle",r);break;case"input":ku(r,i),R("invalid",r);break;case"select":r._wrapperState={wasMultiple:!!i.multiple},R("invalid",r);break;case"textarea":Eu(r,i),R("invalid",r)}Wl(t,i),l=null;for(var u in i)if(i.hasOwnProperty(u)){var o=i[u];u==="children"?typeof o=="string"?r.textContent!==o&&(i.suppressHydrationWarning!==!0&&lr(r.textContent,o,e),l=["children",o]):typeof o=="number"&&r.textContent!==""+o&&(i.suppressHydrationWarning!==!0&&lr(r.textContent,o,e),l=["children",""+o]):Nt.hasOwnProperty(u)&&o!=null&&u==="onScroll"&&R("scroll",r)}switch(t){case"input":Zt(r),Su(r,i,!0);break;case"textarea":Zt(r),Cu(r);break;case"select":case"option":break;default:typeof i.onClick=="function"&&(r.onclick=Lr)}r=l,n.updateQueue=r,r!==null&&(n.flags|=4)}else{u=l.nodeType===9?l:l.ownerDocument,e==="http://www.w3.org/1999/xhtml"&&(e=Fo(t)),e==="http://www.w3.org/1999/xhtml"?t==="script"?(e=u.createElement("div"),e.innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=u.createElement(t,{is:r.is}):(e=u.createElement(t),t==="select"&&(u=e,r.multiple?u.multiple=!0:r.size&&(u.size=r.size))):e=u.createElementNS(e,t),e[Re]=n,e[It]=r,la(e,n,!1,!1),n.stateNode=e;e:{switch(u=$l(t,r),t){case"dialog":R("cancel",e),R("close",e),l=r;break;case"iframe":case"object":case"embed":R("load",e),l=r;break;case"video":case"audio":for(l=0;l<ht.length;l++)R(ht[l],e);l=r;break;case"source":R("error",e),l=r;break;case"img":case"image":case"link":R("error",e),R("load",e),l=r;break;case"details":R("toggle",e),l=r;break;case"input":ku(e,r),l=Vl(e,r),R("invalid",e);break;case"option":l=r;break;case"select":e._wrapperState={wasMultiple:!!r.multiple},l=V({},r,{value:void 0}),R("invalid",e);break;case"textarea":Eu(e,r),l=Hl(e,r),R("invalid",e);break;default:l=r}Wl(t,l),o=l;for(i in o)if(o.hasOwnProperty(i)){var s=o[i];i==="style"?jo(e,s):i==="dangerouslySetInnerHTML"?(s=s?s.__html:void 0,s!=null&&Oo(e,s)):i==="children"?typeof s=="string"?(t!=="textarea"||s!=="")&&zt(e,s):typeof s=="number"&&zt(e,""+s):i!=="suppressContentEditableWarning"&&i!=="suppressHydrationWarning"&&i!=="autoFocus"&&(Nt.hasOwnProperty(i)?s!=null&&i==="onScroll"&&R("scroll",e):s!=null&&Pi(e,i,s,u))}switch(t){case"input":Zt(e),Su(e,r,!1);break;case"textarea":Zt(e),Cu(e);break;case"option":r.value!=null&&e.setAttribute("value",""+sn(r.value));break;case"select":e.multiple=!!r.multiple,i=r.value,i!=null?Hn(e,!!r.multiple,i,!1):r.defaultValue!=null&&Hn(e,!!r.multiple,r.defaultValue,!0);break;default:typeof l.onClick=="function"&&(e.onclick=Lr)}switch(t){case"button":case"input":case"select":case"textarea":r=!!r.autoFocus;break e;case"img":r=!0;break e;default:r=!1}}r&&(n.flags|=4)}n.ref!==null&&(n.flags|=512,n.flags|=2097152)}return ee(n),null;case 6:if(e&&n.stateNode!=null)ua(e,n,e.memoizedProps,r);else{if(typeof r!="string"&&n.stateNode===null)throw Error(y(166));if(t=wn(Ut.current),wn(Oe.current),ir(n)){if(r=n.stateNode,t=n.memoizedProps,r[Re]=n,(i=r.nodeValue!==t)&&(e=pe,e!==null))switch(e.tag){case 3:lr(r.nodeValue,t,(e.mode&1)!==0);break;case 5:e.memoizedProps.suppressHydrationWarning!==!0&&lr(r.nodeValue,t,(e.mode&1)!==0)}i&&(n.flags|=4)}else r=(t.nodeType===9?t:t.ownerDocument).createTextNode(r),r[Re]=n,n.stateNode=r}return ee(n),null;case 13:if(F(j),r=n.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(I&&de!==null&&n.mode&1&&!(n.flags&128))xs(),Zn(),n.flags|=98560,i=!1;else if(i=ir(n),r!==null&&r.dehydrated!==null){if(e===null){if(!i)throw Error(y(318));if(i=n.memoizedState,i=i!==null?i.dehydrated:null,!i)throw Error(y(317));i[Re]=n}else Zn(),!(n.flags&128)&&(n.memoizedState=null),n.flags|=4;ee(n),i=!1}else ze!==null&&(_i(ze),ze=null),i=!0;if(!i)return n.flags&65536?n:null}return n.flags&128?(n.lanes=t,n):(r=r!==null,r!==(e!==null&&e.memoizedState!==null)&&r&&(n.child.flags|=8192,n.mode&1&&(e===null||j.current&1?K===0&&(K=3):cu())),n.updateQueue!==null&&(n.flags|=4),ee(n),null);case 4:return qn(),yi(e,n),e===null&&Ft(n.stateNode.containerInfo),ee(n),null;case 10:return Yi(n.type._context),ee(n),null;case 17:return ae(n.type)&&Tr(),ee(n),null;case 19:if(F(j),i=n.memoizedState,i===null)return ee(n),null;if(r=(n.flags&128)!==0,u=i.rendering,u===null)if(r)ft(i,!1);else{if(K!==0||e!==null&&e.flags&128)for(e=n.child;e!==null;){if(u=jr(e),u!==null){for(n.flags|=128,ft(i,!1),r=u.updateQueue,r!==null&&(n.updateQueue=r,n.flags|=4),n.subtreeFlags=0,r=t,t=n.child;t!==null;)i=t,e=r,i.flags&=14680066,u=i.alternate,u===null?(i.childLanes=0,i.lanes=e,i.child=null,i.subtreeFlags=0,i.memoizedProps=null,i.memoizedState=null,i.updateQueue=null,i.dependencies=null,i.stateNode=null):(i.childLanes=u.childLanes,i.lanes=u.lanes,i.child=u.child,i.subtreeFlags=0,i.deletions=null,i.memoizedProps=u.memoizedProps,i.memoizedState=u.memoizedState,i.updateQueue=u.updateQueue,i.type=u.type,e=u.dependencies,i.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext}),t=t.sibling;return D(j,j.current&1|2),n.child}e=e.sibling}i.tail!==null&&Q()>et&&(n.flags|=128,r=!0,ft(i,!1),n.lanes=4194304)}else{if(!r)if(e=jr(u),e!==null){if(n.flags|=128,r=!0,t=e.updateQueue,t!==null&&(n.updateQueue=t,n.flags|=4),ft(i,!0),i.tail===null&&i.tailMode==="hidden"&&!u.alternate&&!I)return ee(n),null}else 2*Q()-i.renderingStartTime>et&&t!==1073741824&&(n.flags|=128,r=!0,ft(i,!1),n.lanes=4194304);i.isBackwards?(u.sibling=n.child,n.child=u):(t=i.last,t!==null?t.sibling=u:n.child=u,i.last=u)}return i.tail!==null?(n=i.tail,i.rendering=n,i.tail=n.sibling,i.renderingStartTime=Q(),n.sibling=null,t=j.current,D(j,r?t&1|2:t&1),n):(ee(n),null);case 22:case 23:return au(),r=n.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(n.flags|=8192),r&&n.mode&1?fe&1073741824&&(ee(n),n.subtreeFlags&6&&(n.flags|=8192)):ee(n),null;case 24:return null;case 25:return null}throw Error(y(156,n.tag))}function df(e,n){switch(Qi(n),n.tag){case 1:return ae(n.type)&&Tr(),e=n.flags,e&65536?(n.flags=e&-65537|128,n):null;case 3:return qn(),F(se),F(te),qi(),e=n.flags,e&65536&&!(e&128)?(n.flags=e&-65537|128,n):null;case 5:return Ji(n),null;case 13:if(F(j),e=n.memoizedState,e!==null&&e.dehydrated!==null){if(n.alternate===null)throw Error(y(340));Zn()}return e=n.flags,e&65536?(n.flags=e&-65537|128,n):null;case 19:return F(j),null;case 4:return qn(),null;case 10:return Yi(n.type._context),null;case 22:case 23:return au(),null;case 24:return null;default:return null}}var sr=!1,ne=!1,pf=typeof WeakSet=="function"?WeakSet:Set,S=null;function An(e,n){var t=e.ref;if(t!==null)if(typeof t=="function")try{t(null)}catch(r){A(e,n,r)}else t.current=null}function gi(e,n,t){try{t()}catch(r){A(e,n,r)}}var po=!1;function mf(e,n){if(ni=Nr,e=fs(),Bi(e)){if("selectionStart"in e)var t={start:e.selectionStart,end:e.selectionEnd};else e:{t=(t=e.ownerDocument)&&t.defaultView||window;var r=t.getSelection&&t.getSelection();if(r&&r.rangeCount!==0){t=r.anchorNode;var l=r.anchorOffset,i=r.focusNode;r=r.focusOffset;try{t.nodeType,i.nodeType}catch{t=null;break e}var u=0,o=-1,s=-1,d=0,v=0,m=e,p=null;n:for(;;){for(var g;m!==t||l!==0&&m.nodeType!==3||(o=u+l),m!==i||r!==0&&m.nodeType!==3||(s=u+r),m.nodeType===3&&(u+=m.nodeValue.length),(g=m.firstChild)!==null;)p=m,m=g;for(;;){if(m===e)break n;if(p===t&&++d===l&&(o=u),p===i&&++v===r&&(s=u),(g=m.nextSibling)!==null)break;m=p,p=m.parentNode}m=g}t=o===-1||s===-1?null:{start:o,end:s}}else t=null}t=t||{start:0,end:0}}else t=null;for(ti={focusedElem:e,selectionRange:t},Nr=!1,S=n;S!==null;)if(n=S,e=n.child,(n.subtreeFlags&1028)!==0&&e!==null)e.return=n,S=e;else for(;S!==null;){n=S;try{var w=n.alternate;if(n.flags&1024)switch(n.tag){case 0:case 11:case 15:break;case 1:if(w!==null){var k=w.memoizedProps,O=w.memoizedState,c=n.stateNode,a=c.getSnapshotBeforeUpdate(n.elementType===n.type?k:_e(n.type,k),O);c.__reactInternalSnapshotBeforeUpdate=a}break;case 3:var f=n.stateNode.containerInfo;f.nodeType===1?f.textContent="":f.nodeType===9&&f.documentElement&&f.removeChild(f.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(y(163))}}catch(h){A(n,n.return,h)}if(e=n.sibling,e!==null){e.return=n.return,S=e;break}S=n.return}return w=po,po=!1,w}function Ct(e,n,t){var r=n.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var l=r=r.next;do{if((l.tag&e)===e){var i=l.destroy;l.destroy=void 0,i!==void 0&&gi(n,t,i)}l=l.next}while(l!==r)}}function br(e,n){if(n=n.updateQueue,n=n!==null?n.lastEffect:null,n!==null){var t=n=n.next;do{if((t.tag&e)===e){var r=t.create;t.destroy=r()}t=t.next}while(t!==n)}}function wi(e){var n=e.ref;if(n!==null){var t=e.stateNode;switch(e.tag){case 5:e=t;break;default:e=t}typeof n=="function"?n(e):n.current=e}}function oa(e){var n=e.alternate;n!==null&&(e.alternate=null,oa(n)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(n=e.stateNode,n!==null&&(delete n[Re],delete n[It],delete n[ii],delete n[Gc],delete n[Zc])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function sa(e){return e.tag===5||e.tag===3||e.tag===4}function mo(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||sa(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function ki(e,n,t){var r=e.tag;if(r===5||r===6)e=e.stateNode,n?t.nodeType===8?t.parentNode.insertBefore(e,n):t.insertBefore(e,n):(t.nodeType===8?(n=t.parentNode,n.insertBefore(e,t)):(n=t,n.appendChild(e)),t=t._reactRootContainer,t!=null||n.onclick!==null||(n.onclick=Lr));else if(r!==4&&(e=e.child,e!==null))for(ki(e,n,t),e=e.sibling;e!==null;)ki(e,n,t),e=e.sibling}function Si(e,n,t){var r=e.tag;if(r===5||r===6)e=e.stateNode,n?t.insertBefore(e,n):t.appendChild(e);else if(r!==4&&(e=e.child,e!==null))for(Si(e,n,t),e=e.sibling;e!==null;)Si(e,n,t),e=e.sibling}var Z=null,Ne=!1;function Ke(e,n,t){for(t=t.child;t!==null;)aa(e,n,t),t=t.sibling}function aa(e,n,t){if(Fe&&typeof Fe.onCommitFiberUnmount=="function")try{Fe.onCommitFiberUnmount($r,t)}catch{}switch(t.tag){case 5:ne||An(t,n);case 6:var r=Z,l=Ne;Z=null,Ke(e,n,t),Z=r,Ne=l,Z!==null&&(Ne?(e=Z,t=t.stateNode,e.nodeType===8?e.parentNode.removeChild(t):e.removeChild(t)):Z.removeChild(t.stateNode));break;case 18:Z!==null&&(Ne?(e=Z,t=t.stateNode,e.nodeType===8?xl(e.parentNode,t):e.nodeType===1&&xl(e,t),Mt(e)):xl(Z,t.stateNode));break;case 4:r=Z,l=Ne,Z=t.stateNode.containerInfo,Ne=!0,Ke(e,n,t),Z=r,Ne=l;break;case 0:case 11:case 14:case 15:if(!ne&&(r=t.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){l=r=r.next;do{var i=l,u=i.destroy;i=i.tag,u!==void 0&&(i&2||i&4)&&gi(t,n,u),l=l.next}while(l!==r)}Ke(e,n,t);break;case 1:if(!ne&&(An(t,n),r=t.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=t.memoizedProps,r.state=t.memoizedState,r.componentWillUnmount()}catch(o){A(t,n,o)}Ke(e,n,t);break;case 21:Ke(e,n,t);break;case 22:t.mode&1?(ne=(r=ne)||t.memoizedState!==null,Ke(e,n,t),ne=r):Ke(e,n,t);break;default:Ke(e,n,t)}}function vo(e){var n=e.updateQueue;if(n!==null){e.updateQueue=null;var t=e.stateNode;t===null&&(t=e.stateNode=new pf),n.forEach(function(r){var l=Cf.bind(null,e,r);t.has(r)||(t.add(r),r.then(l,l))})}}function xe(e,n){var t=n.deletions;if(t!==null)for(var r=0;r<t.length;r++){var l=t[r];try{var i=e,u=n,o=u;e:for(;o!==null;){switch(o.tag){case 5:Z=o.stateNode,Ne=!1;break e;case 3:Z=o.stateNode.containerInfo,Ne=!0;break e;case 4:Z=o.stateNode.containerInfo,Ne=!0;break e}o=o.return}if(Z===null)throw Error(y(160));aa(i,u,l),Z=null,Ne=!1;var s=l.alternate;s!==null&&(s.return=null),l.return=null}catch(d){A(l,n,d)}}if(n.subtreeFlags&12854)for(n=n.child;n!==null;)ca(n,e),n=n.sibling}function ca(e,n){var t=e.alternate,r=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(xe(n,e),Me(e),r&4){try{Ct(3,e,e.return),br(3,e)}catch(k){A(e,e.return,k)}try{Ct(5,e,e.return)}catch(k){A(e,e.return,k)}}break;case 1:xe(n,e),Me(e),r&512&&t!==null&&An(t,t.return);break;case 5:if(xe(n,e),Me(e),r&512&&t!==null&&An(t,t.return),e.flags&32){var l=e.stateNode;try{zt(l,"")}catch(k){A(e,e.return,k)}}if(r&4&&(l=e.stateNode,l!=null)){var i=e.memoizedProps,u=t!==null?t.memoizedProps:i,o=e.type,s=e.updateQueue;if(e.updateQueue=null,s!==null)try{o==="input"&&i.type==="radio"&&i.name!=null&&Do(l,i),$l(o,u);var d=$l(o,i);for(u=0;u<s.length;u+=2){var v=s[u],m=s[u+1];v==="style"?jo(l,m):v==="dangerouslySetInnerHTML"?Oo(l,m):v==="children"?zt(l,m):Pi(l,v,m,d)}switch(o){case"input":Al(l,i);break;case"textarea":Ro(l,i);break;case"select":var p=l._wrapperState.wasMultiple;l._wrapperState.wasMultiple=!!i.multiple;var g=i.value;g!=null?Hn(l,!!i.multiple,g,!1):p!==!!i.multiple&&(i.defaultValue!=null?Hn(l,!!i.multiple,i.defaultValue,!0):Hn(l,!!i.multiple,i.multiple?[]:"",!1))}l[It]=i}catch(k){A(e,e.return,k)}}break;case 6:if(xe(n,e),Me(e),r&4){if(e.stateNode===null)throw Error(y(162));l=e.stateNode,i=e.memoizedProps;try{l.nodeValue=i}catch(k){A(e,e.return,k)}}break;case 3:if(xe(n,e),Me(e),r&4&&t!==null&&t.memoizedState.isDehydrated)try{Mt(n.containerInfo)}catch(k){A(e,e.return,k)}break;case 4:xe(n,e),Me(e);break;case 13:xe(n,e),Me(e),l=e.child,l.flags&8192&&(i=l.memoizedState!==null,l.stateNode.isHidden=i,!i||l.alternate!==null&&l.alternate.memoizedState!==null||(ou=Q())),r&4&&vo(e);break;case 22:if(v=t!==null&&t.memoizedState!==null,e.mode&1?(ne=(d=ne)||v,xe(n,e),ne=d):xe(n,e),Me(e),r&8192){if(d=e.memoizedState!==null,(e.stateNode.isHidden=d)&&!v&&e.mode&1)for(S=e,v=e.child;v!==null;){for(m=S=v;S!==null;){switch(p=S,g=p.child,p.tag){case 0:case 11:case 14:case 15:Ct(4,p,p.return);break;case 1:An(p,p.return);var w=p.stateNode;if(typeof w.componentWillUnmount=="function"){r=p,t=p.return;try{n=r,w.props=n.memoizedProps,w.state=n.memoizedState,w.componentWillUnmount()}catch(k){A(r,t,k)}}break;case 5:An(p,p.return);break;case 22:if(p.memoizedState!==null){yo(m);continue}}g!==null?(g.return=p,S=g):yo(m)}v=v.sibling}e:for(v=null,m=e;;){if(m.tag===5){if(v===null){v=m;try{l=m.stateNode,d?(i=l.style,typeof i.setProperty=="function"?i.setProperty("display","none","important"):i.display="none"):(o=m.stateNode,s=m.memoizedProps.style,u=s!=null&&s.hasOwnProperty("display")?s.display:null,o.style.display=Io("display",u))}catch(k){A(e,e.return,k)}}}else if(m.tag===6){if(v===null)try{m.stateNode.nodeValue=d?"":m.memoizedProps}catch(k){A(e,e.return,k)}}else if((m.tag!==22&&m.tag!==23||m.memoizedState===null||m===e)&&m.child!==null){m.child.return=m,m=m.child;continue}if(m===e)break e;for(;m.sibling===null;){if(m.return===null||m.return===e)break e;v===m&&(v=null),m=m.return}v===m&&(v=null),m.sibling.return=m.return,m=m.sibling}}break;case 19:xe(n,e),Me(e),r&4&&vo(e);break;case 21:break;default:xe(n,e),Me(e)}}function Me(e){var n=e.flags;if(n&2){try{e:{for(var t=e.return;t!==null;){if(sa(t)){var r=t;break e}t=t.return}throw Error(y(160))}switch(r.tag){case 5:var l=r.stateNode;r.flags&32&&(zt(l,""),r.flags&=-33);var i=mo(e);Si(e,i,l);break;case 3:case 4:var u=r.stateNode.containerInfo,o=mo(e);ki(e,o,u);break;default:throw Error(y(161))}}catch(s){A(e,e.return,s)}e.flags&=-3}n&4096&&(e.flags&=-4097)}function vf(e,n,t){S=e,fa(e)}function fa(e,n,t){for(var r=(e.mode&1)!==0;S!==null;){var l=S,i=l.child;if(l.tag===22&&r){var u=l.memoizedState!==null||sr;if(!u){var o=l.alternate,s=o!==null&&o.memoizedState!==null||ne;o=sr;var d=ne;if(sr=u,(ne=s)&&!d)for(S=l;S!==null;)u=S,s=u.child,u.tag===22&&u.memoizedState!==null?go(l):s!==null?(s.return=u,S=s):go(l);for(;i!==null;)S=i,fa(i),i=i.sibling;S=l,sr=o,ne=d}ho(e)}else l.subtreeFlags&8772&&i!==null?(i.return=l,S=i):ho(e)}}function ho(e){for(;S!==null;){var n=S;if(n.flags&8772){var t=n.alternate;try{if(n.flags&8772)switch(n.tag){case 0:case 11:case 15:ne||br(5,n);break;case 1:var r=n.stateNode;if(n.flags&4&&!ne)if(t===null)r.componentDidMount();else{var l=n.elementType===n.type?t.memoizedProps:_e(n.type,t.memoizedProps);r.componentDidUpdate(l,t.memoizedState,r.__reactInternalSnapshotBeforeUpdate)}var i=n.updateQueue;i!==null&&bu(n,i,r);break;case 3:var u=n.updateQueue;if(u!==null){if(t=null,n.child!==null)switch(n.child.tag){case 5:t=n.child.stateNode;break;case 1:t=n.child.stateNode}bu(n,u,t)}break;case 5:var o=n.stateNode;if(t===null&&n.flags&4){t=o;var s=n.memoizedProps;switch(n.type){case"button":case"input":case"select":case"textarea":s.autoFocus&&t.focus();break;case"img":s.src&&(t.src=s.src)}}break;case 6:break;case 4:break;case 12:break;case 13:if(n.memoizedState===null){var d=n.alternate;if(d!==null){var v=d.memoizedState;if(v!==null){var m=v.dehydrated;m!==null&&Mt(m)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(y(163))}ne||n.flags&512&&wi(n)}catch(p){A(n,n.return,p)}}if(n===e){S=null;break}if(t=n.sibling,t!==null){t.return=n.return,S=t;break}S=n.return}}function yo(e){for(;S!==null;){var n=S;if(n===e){S=null;break}var t=n.sibling;if(t!==null){t.return=n.return,S=t;break}S=n.return}}function go(e){for(;S!==null;){var n=S;try{switch(n.tag){case 0:case 11:case 15:var t=n.return;try{br(4,n)}catch(s){A(n,t,s)}break;case 1:var r=n.stateNode;if(typeof r.componentDidMount=="function"){var l=n.return;try{r.componentDidMount()}catch(s){A(n,l,s)}}var i=n.return;try{wi(n)}catch(s){A(n,i,s)}break;case 5:var u=n.return;try{wi(n)}catch(s){A(n,u,s)}}}catch(s){A(n,n.return,s)}if(n===e){S=null;break}var o=n.sibling;if(o!==null){o.return=n.return,S=o;break}S=n.return}}var hf=Math.ceil,Ar=$e.ReactCurrentDispatcher,iu=$e.ReactCurrentOwner,ke=$e.ReactCurrentBatchConfig,T=0,G=null,W=null,J=0,fe=0,Bn=fn(0),K=0,Ht=null,_n=0,el=0,uu=0,xt=null,ue=null,ou=0,et=1/0,Ie=null,Br=!1,Ei=null,ln=null,ar=!1,qe=null,Hr=0,_t=0,Ci=null,gr=-1,wr=0;function le(){return T&6?Q():gr!==-1?gr:gr=Q()}function un(e){return e.mode&1?T&2&&J!==0?J&-J:qc.transition!==null?(wr===0&&(wr=Go()),wr):(e=M,e!==0||(e=window.event,e=e===void 0?16:ts(e.type)),e):1}function Le(e,n,t,r){if(50<_t)throw _t=0,Ci=null,Error(y(185));Qt(e,t,r),(!(T&2)||e!==G)&&(e===G&&(!(T&2)&&(el|=t),K===4&&Ze(e,J)),ce(e,r),t===1&&T===0&&!(n.mode&1)&&(et=Q()+500,Zr&&dn()))}function ce(e,n){var t=e.callbackNode;qa(e,n);var r=_r(e,e===G?J:0);if(r===0)t!==null&&Nu(t),e.callbackNode=null,e.callbackPriority=0;else if(n=r&-r,e.callbackPriority!==n){if(t!=null&&Nu(t),n===1)e.tag===0?Jc(wo.bind(null,e)):Ss(wo.bind(null,e)),Yc(function(){!(T&6)&&dn()}),t=null;else{switch(Zo(r)){case 1:t=Ri;break;case 4:t=Yo;break;case 16:t=xr;break;case 536870912:t=Xo;break;default:t=xr}t=wa(t,da.bind(null,e))}e.callbackPriority=n,e.callbackNode=t}}function da(e,n){if(gr=-1,wr=0,T&6)throw Error(y(327));var t=e.callbackNode;if(Yn()&&e.callbackNode!==t)return null;var r=_r(e,e===G?J:0);if(r===0)return null;if(r&30||r&e.expiredLanes||n)n=Qr(e,r);else{n=r;var l=T;T|=2;var i=ma();(G!==e||J!==n)&&(Ie=null,et=Q()+500,kn(e,n));do try{wf();break}catch(o){pa(e,o)}while(1);Ki(),Ar.current=i,T=l,W!==null?n=0:(G=null,J=0,n=K)}if(n!==0){if(n===2&&(l=Zl(e),l!==0&&(r=l,n=xi(e,l))),n===1)throw t=Ht,kn(e,0),Ze(e,r),ce(e,Q()),t;if(n===6)Ze(e,r);else{if(l=e.current.alternate,!(r&30)&&!yf(l)&&(n=Qr(e,r),n===2&&(i=Zl(e),i!==0&&(r=i,n=xi(e,i))),n===1))throw t=Ht,kn(e,0),Ze(e,r),ce(e,Q()),t;switch(e.finishedWork=l,e.finishedLanes=r,n){case 0:case 1:throw Error(y(345));case 2:hn(e,ue,Ie);break;case 3:if(Ze(e,r),(r&130023424)===r&&(n=ou+500-Q(),10<n)){if(_r(e,0)!==0)break;if(l=e.suspendedLanes,(l&r)!==r){le(),e.pingedLanes|=e.suspendedLanes&l;break}e.timeoutHandle=li(hn.bind(null,e,ue,Ie),n);break}hn(e,ue,Ie);break;case 4:if(Ze(e,r),(r&4194240)===r)break;for(n=e.eventTimes,l=-1;0<r;){var u=31-Pe(r);i=1<<u,u=n[u],u>l&&(l=u),r&=~i}if(r=l,r=Q()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*hf(r/1960))-r,10<r){e.timeoutHandle=li(hn.bind(null,e,ue,Ie),r);break}hn(e,ue,Ie);break;case 5:hn(e,ue,Ie);break;default:throw Error(y(329))}}}return ce(e,Q()),e.callbackNode===t?da.bind(null,e):null}function xi(e,n){var t=xt;return e.current.memoizedState.isDehydrated&&(kn(e,n).flags|=256),e=Qr(e,n),e!==2&&(n=ue,ue=t,n!==null&&_i(n)),e}function _i(e){ue===null?ue=e:ue.push.apply(ue,e)}function yf(e){for(var n=e;;){if(n.flags&16384){var t=n.updateQueue;if(t!==null&&(t=t.stores,t!==null))for(var r=0;r<t.length;r++){var l=t[r],i=l.getSnapshot;l=l.value;try{if(!Te(i(),l))return!1}catch{return!1}}}if(t=n.child,n.subtreeFlags&16384&&t!==null)t.return=n,n=t;else{if(n===e)break;for(;n.sibling===null;){if(n.return===null||n.return===e)return!0;n=n.return}n.sibling.return=n.return,n=n.sibling}}return!0}function Ze(e,n){for(n&=~uu,n&=~el,e.suspendedLanes|=n,e.pingedLanes&=~n,e=e.expirationTimes;0<n;){var t=31-Pe(n),r=1<<t;e[t]=-1,n&=~r}}function wo(e){if(T&6)throw Error(y(327));Yn();var n=_r(e,0);if(!(n&1))return ce(e,Q()),null;var t=Qr(e,n);if(e.tag!==0&&t===2){var r=Zl(e);r!==0&&(n=r,t=xi(e,r))}if(t===1)throw t=Ht,kn(e,0),Ze(e,n),ce(e,Q()),t;if(t===6)throw Error(y(345));return e.finishedWork=e.current.alternate,e.finishedLanes=n,hn(e,ue,Ie),ce(e,Q()),null}function su(e,n){var t=T;T|=1;try{return e(n)}finally{T=t,T===0&&(et=Q()+500,Zr&&dn())}}function Nn(e){qe!==null&&qe.tag===0&&!(T&6)&&Yn();var n=T;T|=1;var t=ke.transition,r=M;try{if(ke.transition=null,M=1,e)return e()}finally{M=r,ke.transition=t,T=n,!(T&6)&&dn()}}function au(){fe=Bn.current,F(Bn)}function kn(e,n){e.finishedWork=null,e.finishedLanes=0;var t=e.timeoutHandle;if(t!==-1&&(e.timeoutHandle=-1,Kc(t)),W!==null)for(t=W.return;t!==null;){var r=t;switch(Qi(r),r.tag){case 1:r=r.type.childContextTypes,r!=null&&Tr();break;case 3:qn(),F(se),F(te),qi();break;case 5:Ji(r);break;case 4:qn();break;case 13:F(j);break;case 19:F(j);break;case 10:Yi(r.type._context);break;case 22:case 23:au()}t=t.return}if(G=e,W=e=on(e.current,null),J=fe=n,K=0,Ht=null,uu=el=_n=0,ue=xt=null,gn!==null){for(n=0;n<gn.length;n++)if(t=gn[n],r=t.interleaved,r!==null){t.interleaved=null;var l=r.next,i=t.pending;if(i!==null){var u=i.next;i.next=l,r.next=u}t.pending=r}gn=null}return e}function pa(e,n){do{var t=W;try{if(Ki(),vr.current=Vr,Ur){for(var r=U.memoizedState;r!==null;){var l=r.queue;l!==null&&(l.pending=null),r=r.next}Ur=!1}if(xn=0,X=$=U=null,Et=!1,Vt=0,iu.current=null,t===null||t.return===null){K=1,Ht=n,W=null;break}e:{var i=e,u=t.return,o=t,s=n;if(n=J,o.flags|=32768,s!==null&&typeof s=="object"&&typeof s.then=="function"){var d=s,v=o,m=v.tag;if(!(v.mode&1)&&(m===0||m===11||m===15)){var p=v.alternate;p?(v.updateQueue=p.updateQueue,v.memoizedState=p.memoizedState,v.lanes=p.lanes):(v.updateQueue=null,v.memoizedState=null)}var g=io(u);if(g!==null){g.flags&=-257,uo(g,u,o,i,n),g.mode&1&&lo(i,d,n),n=g,s=d;var w=n.updateQueue;if(w===null){var k=new Set;k.add(s),n.updateQueue=k}else w.add(s);break e}else{if(!(n&1)){lo(i,d,n),cu();break e}s=Error(y(426))}}else if(I&&o.mode&1){var O=io(u);if(O!==null){!(O.flags&65536)&&(O.flags|=256),uo(O,u,o,i,n),Wi(bn(s,o));break e}}i=s=bn(s,o),K!==4&&(K=2),xt===null?xt=[i]:xt.push(i),i=u;do{switch(i.tag){case 3:i.flags|=65536,n&=-n,i.lanes|=n;var c=Zs(i,s,n);qu(i,c);break e;case 1:o=s;var a=i.type,f=i.stateNode;if(!(i.flags&128)&&(typeof a.getDerivedStateFromError=="function"||f!==null&&typeof f.componentDidCatch=="function"&&(ln===null||!ln.has(f)))){i.flags|=65536,n&=-n,i.lanes|=n;var h=Js(i,o,n);qu(i,h);break e}}i=i.return}while(i!==null)}ha(t)}catch(E){n=E,W===t&&t!==null&&(W=t=t.return);continue}break}while(1)}function ma(){var e=Ar.current;return Ar.current=Vr,e===null?Vr:e}function cu(){(K===0||K===3||K===2)&&(K=4),G===null||!(_n&268435455)&&!(el&268435455)||Ze(G,J)}function Qr(e,n){var t=T;T|=2;var r=ma();(G!==e||J!==n)&&(Ie=null,kn(e,n));do try{gf();break}catch(l){pa(e,l)}while(1);if(Ki(),T=t,Ar.current=r,W!==null)throw Error(y(261));return G=null,J=0,K}function gf(){for(;W!==null;)va(W)}function wf(){for(;W!==null&&!Qa();)va(W)}function va(e){var n=ga(e.alternate,e,fe);e.memoizedProps=e.pendingProps,n===null?ha(e):W=n,iu.current=null}function ha(e){var n=e;do{var t=n.alternate;if(e=n.return,n.flags&32768){if(t=df(t,n),t!==null){t.flags&=32767,W=t;return}if(e!==null)e.flags|=32768,e.subtreeFlags=0,e.deletions=null;else{K=6,W=null;return}}else if(t=ff(t,n,fe),t!==null){W=t;return}if(n=n.sibling,n!==null){W=n;return}W=n=e}while(n!==null);K===0&&(K=5)}function hn(e,n,t){var r=M,l=ke.transition;try{ke.transition=null,M=1,kf(e,n,t,r)}finally{ke.transition=l,M=r}return null}function kf(e,n,t,r){do Yn();while(qe!==null);if(T&6)throw Error(y(327));t=e.finishedWork;var l=e.finishedLanes;if(t===null)return null;if(e.finishedWork=null,e.finishedLanes=0,t===e.current)throw Error(y(177));e.callbackNode=null,e.callbackPriority=0;var i=t.lanes|t.childLanes;if(ba(e,i),e===G&&(W=G=null,J=0),!(t.subtreeFlags&2064)&&!(t.flags&2064)||ar||(ar=!0,wa(xr,function(){return Yn(),null})),i=(t.flags&15990)!==0,t.subtreeFlags&15990||i){i=ke.transition,ke.transition=null;var u=M;M=1;var o=T;T|=4,iu.current=null,mf(e,t),ca(t,e),Vc(ti),Nr=!!ni,ti=ni=null,e.current=t,vf(t),Wa(),T=o,M=u,ke.transition=i}else e.current=t;if(ar&&(ar=!1,qe=e,Hr=l),i=e.pendingLanes,i===0&&(ln=null),Ya(t.stateNode),ce(e,Q()),n!==null)for(r=e.onRecoverableError,t=0;t<n.length;t++)l=n[t],r(l.value,{componentStack:l.stack,digest:l.digest});if(Br)throw Br=!1,e=Ei,Ei=null,e;return Hr&1&&e.tag!==0&&Yn(),i=e.pendingLanes,i&1?e===Ci?_t++:(_t=0,Ci=e):_t=0,dn(),null}function Yn(){if(qe!==null){var e=Zo(Hr),n=ke.transition,t=M;try{if(ke.transition=null,M=16>e?16:e,qe===null)var r=!1;else{if(e=qe,qe=null,Hr=0,T&6)throw Error(y(331));var l=T;for(T|=4,S=e.current;S!==null;){var i=S,u=i.child;if(S.flags&16){var o=i.deletions;if(o!==null){for(var s=0;s<o.length;s++){var d=o[s];for(S=d;S!==null;){var v=S;switch(v.tag){case 0:case 11:case 15:Ct(8,v,i)}var m=v.child;if(m!==null)m.return=v,S=m;else for(;S!==null;){v=S;var p=v.sibling,g=v.return;if(oa(v),v===d){S=null;break}if(p!==null){p.return=g,S=p;break}S=g}}}var w=i.alternate;if(w!==null){var k=w.child;if(k!==null){w.child=null;do{var O=k.sibling;k.sibling=null,k=O}while(k!==null)}}S=i}}if(i.subtreeFlags&2064&&u!==null)u.return=i,S=u;else e:for(;S!==null;){if(i=S,i.flags&2048)switch(i.tag){case 0:case 11:case 15:Ct(9,i,i.return)}var c=i.sibling;if(c!==null){c.return=i.return,S=c;break e}S=i.return}}var a=e.current;for(S=a;S!==null;){u=S;var f=u.child;if(u.subtreeFlags&2064&&f!==null)f.return=u,S=f;else e:for(u=a;S!==null;){if(o=S,o.flags&2048)try{switch(o.tag){case 0:case 11:case 15:br(9,o)}}catch(E){A(o,o.return,E)}if(o===u){S=null;break e}var h=o.sibling;if(h!==null){h.return=o.return,S=h;break e}S=o.return}}if(T=l,dn(),Fe&&typeof Fe.onPostCommitFiberRoot=="function")try{Fe.onPostCommitFiberRoot($r,e)}catch{}r=!0}return r}finally{M=t,ke.transition=n}}return!1}function ko(e,n,t){n=bn(t,n),n=Zs(e,n,1),e=rn(e,n,1),n=le(),e!==null&&(Qt(e,1,n),ce(e,n))}function A(e,n,t){if(e.tag===3)ko(e,e,t);else for(;n!==null;){if(n.tag===3){ko(n,e,t);break}else if(n.tag===1){var r=n.stateNode;if(typeof n.type.getDerivedStateFromError=="function"||typeof r.componentDidCatch=="function"&&(ln===null||!ln.has(r))){e=bn(t,e),e=Js(n,e,1),n=rn(n,e,1),e=le(),n!==null&&(Qt(n,1,e),ce(n,e));break}}n=n.return}}function Sf(e,n,t){var r=e.pingCache;r!==null&&r.delete(n),n=le(),e.pingedLanes|=e.suspendedLanes&t,G===e&&(J&t)===t&&(K===4||K===3&&(J&130023424)===J&&500>Q()-ou?kn(e,0):uu|=t),ce(e,n)}function ya(e,n){n===0&&(e.mode&1?(n=bt,bt<<=1,!(bt&130023424)&&(bt=4194304)):n=1);var t=le();e=Qe(e,n),e!==null&&(Qt(e,n,t),ce(e,t))}function Ef(e){var n=e.memoizedState,t=0;n!==null&&(t=n.retryLane),ya(e,t)}function Cf(e,n){var t=0;switch(e.tag){case 13:var r=e.stateNode,l=e.memoizedState;l!==null&&(t=l.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(y(314))}r!==null&&r.delete(n),ya(e,t)}var ga;ga=function(e,n,t){if(e!==null)if(e.memoizedProps!==n.pendingProps||se.current)oe=!0;else{if(!(e.lanes&t)&&!(n.flags&128))return oe=!1,cf(e,n,t);oe=!!(e.flags&131072)}else oe=!1,I&&n.flags&1048576&&Es(n,Rr,n.index);switch(n.lanes=0,n.tag){case 2:var r=n.type;yr(e,n),e=n.pendingProps;var l=Gn(n,te.current);Kn(n,t),l=eu(null,n,r,e,l,t);var i=nu();return n.flags|=1,typeof l=="object"&&l!==null&&typeof l.render=="function"&&l.$$typeof===void 0?(n.tag=1,n.memoizedState=null,n.updateQueue=null,ae(r)?(i=!0,Mr(n)):i=!1,n.memoizedState=l.state!==null&&l.state!==void 0?l.state:null,Gi(n),l.updater=qr,n.stateNode=l,l._reactInternals=n,fi(n,r,e,t),n=mi(null,n,r,!0,i,t)):(n.tag=0,I&&i&&Hi(n),re(null,n,l,t),n=n.child),n;case 16:r=n.elementType;e:{switch(yr(e,n),e=n.pendingProps,l=r._init,r=l(r._payload),n.type=r,l=n.tag=_f(r),e=_e(r,e),l){case 0:n=pi(null,n,r,e,t);break e;case 1:n=ao(null,n,r,e,t);break e;case 11:n=oo(null,n,r,e,t);break e;case 14:n=so(null,n,r,_e(r.type,e),t);break e}throw Error(y(306,r,""))}return n;case 0:return r=n.type,l=n.pendingProps,l=n.elementType===r?l:_e(r,l),pi(e,n,r,l,t);case 1:return r=n.type,l=n.pendingProps,l=n.elementType===r?l:_e(r,l),ao(e,n,r,l,t);case 3:e:{if(na(n),e===null)throw Error(y(387));r=n.pendingProps,i=n.memoizedState,l=i.element,Ps(e,n),Ir(n,r,null,t);var u=n.memoizedState;if(r=u.element,i.isDehydrated)if(i={element:r,isDehydrated:!1,cache:u.cache,pendingSuspenseBoundaries:u.pendingSuspenseBoundaries,transitions:u.transitions},n.updateQueue.baseState=i,n.memoizedState=i,n.flags&256){l=bn(Error(y(423)),n),n=co(e,n,r,t,l);break e}else if(r!==l){l=bn(Error(y(424)),n),n=co(e,n,r,t,l);break e}else for(de=tn(n.stateNode.containerInfo.firstChild),pe=n,I=!0,ze=null,t=Ns(n,null,r,t),n.child=t;t;)t.flags=t.flags&-3|4096,t=t.sibling;else{if(Zn(),r===l){n=We(e,n,t);break e}re(e,n,r,t)}n=n.child}return n;case 5:return Ls(n),e===null&&si(n),r=n.type,l=n.pendingProps,i=e!==null?e.memoizedProps:null,u=l.children,ri(r,l)?u=null:i!==null&&ri(r,i)&&(n.flags|=32),ea(e,n),re(e,n,u,t),n.child;case 6:return e===null&&si(n),null;case 13:return ta(e,n,t);case 4:return Zi(n,n.stateNode.containerInfo),r=n.pendingProps,e===null?n.child=Jn(n,null,r,t):re(e,n,r,t),n.child;case 11:return r=n.type,l=n.pendingProps,l=n.elementType===r?l:_e(r,l),oo(e,n,r,l,t);case 7:return re(e,n,n.pendingProps,t),n.child;case 8:return re(e,n,n.pendingProps.children,t),n.child;case 12:return re(e,n,n.pendingProps.children,t),n.child;case 10:e:{if(r=n.type._context,l=n.pendingProps,i=n.memoizedProps,u=l.value,D(Fr,r._currentValue),r._currentValue=u,i!==null)if(Te(i.value,u)){if(i.children===l.children&&!se.current){n=We(e,n,t);break e}}else for(i=n.child,i!==null&&(i.return=n);i!==null;){var o=i.dependencies;if(o!==null){u=i.child;for(var s=o.firstContext;s!==null;){if(s.context===r){if(i.tag===1){s=Ae(-1,t&-t),s.tag=2;var d=i.updateQueue;if(d!==null){d=d.shared;var v=d.pending;v===null?s.next=s:(s.next=v.next,v.next=s),d.pending=s}}i.lanes|=t,s=i.alternate,s!==null&&(s.lanes|=t),ai(i.return,t,n),o.lanes|=t;break}s=s.next}}else if(i.tag===10)u=i.type===n.type?null:i.child;else if(i.tag===18){if(u=i.return,u===null)throw Error(y(341));u.lanes|=t,o=u.alternate,o!==null&&(o.lanes|=t),ai(u,t,n),u=i.sibling}else u=i.child;if(u!==null)u.return=i;else for(u=i;u!==null;){if(u===n){u=null;break}if(i=u.sibling,i!==null){i.return=u.return,u=i;break}u=u.return}i=u}re(e,n,l.children,t),n=n.child}return n;case 9:return l=n.type,r=n.pendingProps.children,Kn(n,t),l=Se(l),r=r(l),n.flags|=1,re(e,n,r,t),n.child;case 14:return r=n.type,l=_e(r,n.pendingProps),l=_e(r.type,l),so(e,n,r,l,t);case 15:return qs(e,n,n.type,n.pendingProps,t);case 17:return r=n.type,l=n.pendingProps,l=n.elementType===r?l:_e(r,l),yr(e,n),n.tag=1,ae(r)?(e=!0,Mr(n)):e=!1,Kn(n,t),Gs(n,r,l),fi(n,r,l,t),mi(null,n,r,!0,e,t);case 19:return ra(e,n,t);case 22:return bs(e,n,t)}throw Error(y(156,n.tag))};function wa(e,n){return Ko(e,n)}function xf(e,n,t,r){this.tag=e,this.key=t,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=n,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function we(e,n,t,r){return new xf(e,n,t,r)}function fu(e){return e=e.prototype,!(!e||!e.isReactComponent)}function _f(e){if(typeof e=="function")return fu(e)?1:0;if(e!=null){if(e=e.$$typeof,e===Ti)return 11;if(e===Mi)return 14}return 2}function on(e,n){var t=e.alternate;return t===null?(t=we(e.tag,n,e.key,e.mode),t.elementType=e.elementType,t.type=e.type,t.stateNode=e.stateNode,t.alternate=e,e.alternate=t):(t.pendingProps=n,t.type=e.type,t.flags=0,t.subtreeFlags=0,t.deletions=null),t.flags=e.flags&14680064,t.childLanes=e.childLanes,t.lanes=e.lanes,t.child=e.child,t.memoizedProps=e.memoizedProps,t.memoizedState=e.memoizedState,t.updateQueue=e.updateQueue,n=e.dependencies,t.dependencies=n===null?null:{lanes:n.lanes,firstContext:n.firstContext},t.sibling=e.sibling,t.index=e.index,t.ref=e.ref,t}function kr(e,n,t,r,l,i){var u=2;if(r=e,typeof e=="function")fu(e)&&(u=1);else if(typeof e=="string")u=5;else e:switch(e){case Mn:return Sn(t.children,l,i,n);case Li:u=8,l|=8;break;case Ol:return e=we(12,t,n,l|2),e.elementType=Ol,e.lanes=i,e;case Il:return e=we(13,t,n,l),e.elementType=Il,e.lanes=i,e;case jl:return e=we(19,t,n,l),e.elementType=jl,e.lanes=i,e;case Lo:return nl(t,l,i,n);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case zo:u=10;break e;case Po:u=9;break e;case Ti:u=11;break e;case Mi:u=14;break e;case Ye:u=16,r=null;break e}throw Error(y(130,e==null?e:typeof e,""))}return n=we(u,t,n,l),n.elementType=e,n.type=r,n.lanes=i,n}function Sn(e,n,t,r){return e=we(7,e,r,n),e.lanes=t,e}function nl(e,n,t,r){return e=we(22,e,r,n),e.elementType=Lo,e.lanes=t,e.stateNode={isHidden:!1},e}function Dl(e,n,t){return e=we(6,e,null,n),e.lanes=t,e}function Rl(e,n,t){return n=we(4,e.children!==null?e.children:[],e.key,n),n.lanes=t,n.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},n}function Nf(e,n,t,r,l){this.tag=n,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=pl(0),this.expirationTimes=pl(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=pl(0),this.identifierPrefix=r,this.onRecoverableError=l,this.mutableSourceEagerHydrationData=null}function du(e,n,t,r,l,i,u,o,s){return e=new Nf(e,n,t,o,s),n===1?(n=1,i===!0&&(n|=8)):n=0,i=we(3,null,null,n),e.current=i,i.stateNode=e,i.memoizedState={element:r,isDehydrated:t,cache:null,transitions:null,pendingSuspenseBoundaries:null},Gi(i),e}function zf(e,n,t){var r=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:Tn,key:r==null?null:""+r,children:e,containerInfo:n,implementation:t}}function ka(e){if(!e)return an;e=e._reactInternals;e:{if(Pn(e)!==e||e.tag!==1)throw Error(y(170));var n=e;do{switch(n.tag){case 3:n=n.stateNode.context;break e;case 1:if(ae(n.type)){n=n.stateNode.__reactInternalMemoizedMergedChildContext;break e}}n=n.return}while(n!==null);throw Error(y(171))}if(e.tag===1){var t=e.type;if(ae(t))return ks(e,t,n)}return n}function Sa(e,n,t,r,l,i,u,o,s){return e=du(t,r,!0,e,l,i,u,o,s),e.context=ka(null),t=e.current,r=le(),l=un(t),i=Ae(r,l),i.callback=n??null,rn(t,i,l),e.current.lanes=l,Qt(e,l,r),ce(e,r),e}function tl(e,n,t,r){var l=n.current,i=le(),u=un(l);return t=ka(t),n.context===null?n.context=t:n.pendingContext=t,n=Ae(i,u),n.payload={element:e},r=r===void 0?null:r,r!==null&&(n.callback=r),e=rn(l,n,u),e!==null&&(Le(e,l,u,i),mr(e,l,u)),u}function Wr(e){if(e=e.current,!e.child)return null;switch(e.child.tag){case 5:return e.child.stateNode;default:return e.child.stateNode}}function So(e,n){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var t=e.retryLane;e.retryLane=t!==0&&t<n?t:n}}function pu(e,n){So(e,n),(e=e.alternate)&&So(e,n)}function Pf(){return null}var Ea=typeof reportError=="function"?reportError:function(e){console.error(e)};function mu(e){this._internalRoot=e}rl.prototype.render=mu.prototype.render=function(e){var n=this._internalRoot;if(n===null)throw Error(y(409));tl(e,n,null,null)};rl.prototype.unmount=mu.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var n=e.containerInfo;Nn(function(){tl(null,e,null,null)}),n[He]=null}};function rl(e){this._internalRoot=e}rl.prototype.unstable_scheduleHydration=function(e){if(e){var n=bo();e={blockedOn:null,target:e,priority:n};for(var t=0;t<Ge.length&&n!==0&&n<Ge[t].priority;t++);Ge.splice(t,0,e),t===0&&ns(e)}};function vu(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function ll(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11&&(e.nodeType!==8||e.nodeValue!==" react-mount-point-unstable "))}function Eo(){}function Lf(e,n,t,r,l){if(l){if(typeof r=="function"){var i=r;r=function(){var d=Wr(u);i.call(d)}}var u=Sa(n,r,e,0,null,!1,!1,"",Eo);return e._reactRootContainer=u,e[He]=u.current,Ft(e.nodeType===8?e.parentNode:e),Nn(),u}for(;l=e.lastChild;)e.removeChild(l);if(typeof r=="function"){var o=r;r=function(){var d=Wr(s);o.call(d)}}var s=du(e,0,!1,null,null,!1,!1,"",Eo);return e._reactRootContainer=s,e[He]=s.current,Ft(e.nodeType===8?e.parentNode:e),Nn(function(){tl(n,s,t,r)}),s}function il(e,n,t,r,l){var i=t._reactRootContainer;if(i){var u=i;if(typeof l=="function"){var o=l;l=function(){var s=Wr(u);o.call(s)}}tl(n,u,e,l)}else u=Lf(t,n,e,l,r);return Wr(u)}Jo=function(e){switch(e.tag){case 3:var n=e.stateNode;if(n.current.memoizedState.isDehydrated){var t=vt(n.pendingLanes);t!==0&&(Fi(n,t|1),ce(n,Q()),!(T&6)&&(et=Q()+500,dn()))}break;case 13:Nn(function(){var r=Qe(e,1);if(r!==null){var l=le();Le(r,e,1,l)}}),pu(e,1)}};Oi=function(e){if(e.tag===13){var n=Qe(e,134217728);if(n!==null){var t=le();Le(n,e,134217728,t)}pu(e,134217728)}};qo=function(e){if(e.tag===13){var n=un(e),t=Qe(e,n);if(t!==null){var r=le();Le(t,e,n,r)}pu(e,n)}};bo=function(){return M};es=function(e,n){var t=M;try{return M=e,n()}finally{M=t}};Yl=function(e,n,t){switch(n){case"input":if(Al(e,t),n=t.name,t.type==="radio"&&n!=null){for(t=e;t.parentNode;)t=t.parentNode;for(t=t.querySelectorAll("input[name="+JSON.stringify(""+n)+'][type="radio"]'),n=0;n<t.length;n++){var r=t[n];if(r!==e&&r.form===e.form){var l=Gr(r);if(!l)throw Error(y(90));Mo(r),Al(r,l)}}}break;case"textarea":Ro(e,t);break;case"select":n=t.value,n!=null&&Hn(e,!!t.multiple,n,!1)}};Ao=su;Bo=Nn;var Tf={usingClientEntryPoint:!1,Events:[$t,On,Gr,Uo,Vo,su]},dt={findFiberByHostInstance:yn,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},Mf={bundleType:dt.bundleType,version:dt.version,rendererPackageName:dt.rendererPackageName,rendererConfig:dt.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:$e.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return e=Wo(e),e===null?null:e.stateNode},findFiberByHostInstance:dt.findFiberByHostInstance||Pf,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.3.1-next-f1338f8080-20240426"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var cr=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!cr.isDisabled&&cr.supportsFiber)try{$r=cr.inject(Mf),Fe=cr}catch{}}ve.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=Tf;ve.createPortal=function(e,n){var t=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!vu(n))throw Error(y(200));return zf(e,n,null,t)};ve.createRoot=function(e,n){if(!vu(e))throw Error(y(299));var t=!1,r="",l=Ea;return n!=null&&(n.unstable_strictMode===!0&&(t=!0),n.identifierPrefix!==void 0&&(r=n.identifierPrefix),n.onRecoverableError!==void 0&&(l=n.onRecoverableError)),n=du(e,1,!1,null,null,t,!1,r,l),e[He]=n.current,Ft(e.nodeType===8?e.parentNode:e),new mu(n)};ve.findDOMNode=function(e){if(e==null)return null;if(e.nodeType===1)return e;var n=e._reactInternals;if(n===void 0)throw typeof e.render=="function"?Error(y(188)):(e=Object.keys(e).join(","),Error(y(268,e)));return e=Wo(n),e=e===null?null:e.stateNode,e};ve.flushSync=function(e){return Nn(e)};ve.hydrate=function(e,n,t){if(!ll(n))throw Error(y(200));return il(null,e,n,!0,t)};ve.hydrateRoot=function(e,n,t){if(!vu(e))throw Error(y(405));var r=t!=null&&t.hydratedSources||null,l=!1,i="",u=Ea;if(t!=null&&(t.unstable_strictMode===!0&&(l=!0),t.identifierPrefix!==void 0&&(i=t.identifierPrefix),t.onRecoverableError!==void 0&&(u=t.onRecoverableError)),n=Sa(n,null,e,1,t??null,l,!1,i,u),e[He]=n.current,Ft(e),r)for(e=0;e<r.length;e++)t=r[e],l=t._getVersion,l=l(t._source),n.mutableSourceEagerHydrationData==null?n.mutableSourceEagerHydrationData=[t,l]:n.mutableSourceEagerHydrationData.push(t,l);return new rl(n)};ve.render=function(e,n,t){if(!ll(n))throw Error(y(200));return il(null,e,n,!1,t)};ve.unmountComponentAtNode=function(e){if(!ll(e))throw Error(y(40));return e._reactRootContainer?(Nn(function(){il(null,null,e,!1,function(){e._reactRootContainer=null,e[He]=null})}),!0):!1};ve.unstable_batchedUpdates=su;ve.unstable_renderSubtreeIntoContainer=function(e,n,t,r){if(!ll(t))throw Error(y(200));if(e==null||e._reactInternals===void 0)throw Error(y(38));return il(e,n,t,!1,r)};ve.version="18.3.1-next-f1338f8080-20240426";function Ca(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(Ca)}catch(e){console.error(e)}}Ca(),Co.exports=ve;var Df=Co.exports;const Ff=Na(Df);export{Ff as h,Df as r}; diff --git a/docs/storybook/assets/index-135b5535.js b/docs/storybook/assets/index-135b5535.js deleted file mode 100644 index 2ee3d9e..0000000 --- a/docs/storybook/assets/index-135b5535.js +++ /dev/null @@ -1,240 +0,0 @@ -var wy=Object.defineProperty;var Cy=(e,t,r)=>t in e?wy(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;var he=(e,t,r)=>(Cy(e,typeof t!="symbol"?t+"":t,r),r);const{once:qy}=__STORYBOOK_MODULE_CLIENT_LOGGER__,{FORCE_REMOUNT:Ms,STORY_RENDER_PHASE_CHANGED:Ey,SET_CURRENT_STORY:Py}=__STORYBOOK_MODULE_CORE_EVENTS__,{addons:Oy}=__STORYBOOK_MODULE_PREVIEW_API__,{global:$e}=__STORYBOOK_MODULE_GLOBAL__;var Ty=(e=>typeof require<"u"?require:typeof Proxy<"u"?new Proxy(e,{get:(t,r)=>(typeof require<"u"?require:t)[r]}):e)(function(e){if(typeof require<"u")return require.apply(this,arguments);throw Error('Dynamic require of "'+e+'" is not supported')}),Sy={reset:[0,0],bold:[1,22,"\x1B[22m\x1B[1m"],dim:[2,22,"\x1B[22m\x1B[2m"],italic:[3,23],underline:[4,24],inverse:[7,27],hidden:[8,28],strikethrough:[9,29],black:[30,39],red:[31,39],green:[32,39],yellow:[33,39],blue:[34,39],magenta:[35,39],cyan:[36,39],white:[37,39],gray:[90,39],bgBlack:[40,49],bgRed:[41,49],bgGreen:[42,49],bgYellow:[43,49],bgBlue:[44,49],bgMagenta:[45,49],bgCyan:[46,49],bgWhite:[47,49],blackBright:[90,39],redBright:[91,39],greenBright:[92,39],yellowBright:[93,39],blueBright:[94,39],magentaBright:[95,39],cyanBright:[96,39],whiteBright:[97,39],bgBlackBright:[100,49],bgRedBright:[101,49],bgGreenBright:[102,49],bgYellowBright:[103,49],bgBlueBright:[104,49],bgMagentaBright:[105,49],bgCyanBright:[106,49],bgWhiteBright:[107,49]},Ay=Object.entries(Sy);function Ji(e){return String(e)}Ji.open="";Ji.close="";function My(e=!1){let t=typeof process<"u"?process:void 0,r=(t==null?void 0:t.env)||{},n=(t==null?void 0:t.argv)||[];return!("NO_COLOR"in r||n.includes("--no-color"))&&("FORCE_COLOR"in r||n.includes("--color")||(t==null?void 0:t.platform)==="win32"||e&&r.TERM!=="dumb"||"CI"in r)||typeof window<"u"&&!!window.chrome}function xy(e=!1){let t=My(e),r=(i,l,u,c)=>{let s="",d=0;do s+=i.substring(d,c)+u,d=c+l.length,c=i.indexOf(l,d);while(~c);return s+i.substring(d)},n=(i,l,u=i)=>{let c=s=>{let d=String(s),m=d.indexOf(l,i.length);return~m?i+r(d,l,u,m)+l:i+d+l};return c.open=i,c.close=l,c},o={isColorSupported:t},a=i=>`\x1B[${i}m`;for(let[i,l]of Ay)o[i]=t?n(a(l[0]),a(l[1]),l[2]):Ji;return o}var ft=xy(!1);function jy(e,t){let r=Object.keys(e),n=t===null?r:r.sort(t);if(Object.getOwnPropertySymbols)for(let o of Object.getOwnPropertySymbols(e))Object.getOwnPropertyDescriptor(e,o).enumerable&&n.push(o);return n}function co(e,t,r,n,o,a,i=": "){let l="",u=0,c=e.next();if(!c.done){l+=t.spacingOuter;let s=r+t.indent;for(;!c.done;){if(l+=s,u++===t.maxWidth){l+="…";break}let d=a(c.value[0],t,s,n,o),m=a(c.value[1],t,s,n,o);l+=d+i+m,c=e.next(),c.done?t.min||(l+=","):l+=`,${t.spacingInner}`}l+=t.spacingOuter+r}return l}function Xi(e,t,r,n,o,a){let i="",l=0,u=e.next();if(!u.done){i+=t.spacingOuter;let c=r+t.indent;for(;!u.done;){if(i+=c,l++===t.maxWidth){i+="…";break}i+=a(u.value,t,c,n,o),u=e.next(),u.done?t.min||(i+=","):i+=`,${t.spacingInner}`}i+=t.spacingOuter+r}return i}function Hn(e,t,r,n,o,a){let i="";e=e instanceof ArrayBuffer?new DataView(e):e;let l=c=>c instanceof DataView,u=l(e)?e.byteLength:e.length;if(u>0){i+=t.spacingOuter;let c=r+t.indent;for(let s=0;s<u;s++){if(i+=c,s===t.maxWidth){i+="…";break}(l(e)||s in e)&&(i+=a(l(e)?e.getInt8(s):e[s],t,c,n,o)),s<u-1?i+=`,${t.spacingInner}`:t.min||(i+=",")}i+=t.spacingOuter+r}return i}function Qi(e,t,r,n,o,a){let i="",l=jy(e,t.compareKeys);if(l.length>0){i+=t.spacingOuter;let u=r+t.indent;for(let c=0;c<l.length;c++){let s=l[c],d=a(s,t,u,n,o),m=a(e[s],t,u,n,o);i+=`${u+d}: ${m}`,c<l.length-1?i+=`,${t.spacingInner}`:t.min||(i+=",")}i+=t.spacingOuter+r}return i}var Ny=typeof Symbol=="function"&&Symbol.for?Symbol.for("jest.asymmetricMatcher"):1267621,ga=" ",$y=(e,t,r,n,o,a)=>{let i=e.toString();if(i==="ArrayContaining"||i==="ArrayNotContaining")return++n>t.maxDepth?`[${i}]`:`${i+ga}[${Hn(e.sample,t,r,n,o,a)}]`;if(i==="ObjectContaining"||i==="ObjectNotContaining")return++n>t.maxDepth?`[${i}]`:`${i+ga}{${Qi(e.sample,t,r,n,o,a)}}`;if(i==="StringMatching"||i==="StringNotMatching"||i==="StringContaining"||i==="StringNotContaining")return i+ga+a(e.sample,t,r,n,o);if(typeof e.toAsymmetricMatcher!="function")throw new TypeError(`Asymmetric matcher ${e.constructor.name} does not implement toAsymmetricMatcher()`);return e.toAsymmetricMatcher()},Iy=e=>e&&e.$$typeof===Ny,By={serialize:$y,test:Iy},ky=" ",Od=new Set(["DOMStringMap","NamedNodeMap"]),Ly=/^(?:HTML\w*Collection|NodeList)$/;function Dy(e){return Od.has(e)||Ly.test(e)}var Fy=e=>e&&e.constructor&&!!e.constructor.name&&Dy(e.constructor.name);function Hy(e){return e.constructor.name==="NamedNodeMap"}var Uy=(e,t,r,n,o,a)=>{let i=e.constructor.name;return++n>t.maxDepth?`[${i}]`:(t.min?"":i+ky)+(Od.has(i)?`{${Qi(Hy(e)?[...e].reduce((l,u)=>(l[u.name]=u.value,l),{}):{...e},t,r,n,o,a)}}`:`[${Hn([...e],t,r,n,o,a)}]`)},Vy={serialize:Uy,test:Fy};function Td(e){return e.replaceAll("<","<").replaceAll(">",">")}function Zi(e,t,r,n,o,a,i){let l=n+r.indent,u=r.colors;return e.map(c=>{let s=t[c],d=i(s,r,l,o,a);return typeof s!="string"&&(d.includes(` -`)&&(d=r.spacingOuter+l+d+r.spacingOuter+n),d=`{${d}}`),`${r.spacingInner+n+u.prop.open+c+u.prop.close}=${u.value.open}${d}${u.value.close}`}).join("")}function el(e,t,r,n,o,a){return e.map(i=>t.spacingOuter+r+(typeof i=="string"?Sd(i,t):a(i,t,r,n,o))).join("")}function Sd(e,t){let r=t.colors.content;return r.open+Td(e)+r.close}function zy(e,t){let r=t.colors.comment;return`${r.open}<!--${Td(e)}-->${r.close}`}function tl(e,t,r,n,o){let a=n.colors.tag;return`${a.open}<${e}${t&&a.close+t+n.spacingOuter+o+a.open}${r?`>${a.close}${r}${n.spacingOuter}${o}${a.open}</${e}`:`${t&&!n.min?"":" "}/`}>${a.close}`}function rl(e,t){let r=t.colors.tag;return`${r.open}<${e}${r.close} …${r.open} />${r.close}`}var Gy=1,Ad=3,Md=8,xd=11,Wy=/^(?:(?:HTML|SVG)\w*)?Element$/;function Ky(e){try{return typeof e.hasAttribute=="function"&&e.hasAttribute("is")}catch{return!1}}function Yy(e){let t=e.constructor.name,{nodeType:r,tagName:n}=e,o=typeof n=="string"&&n.includes("-")||Ky(e);return r===Gy&&(Wy.test(t)||o)||r===Ad&&t==="Text"||r===Md&&t==="Comment"||r===xd&&t==="DocumentFragment"}var Jy=e=>{var t;return((t=e==null?void 0:e.constructor)==null?void 0:t.name)&&Yy(e)};function Xy(e){return e.nodeType===Ad}function Qy(e){return e.nodeType===Md}function va(e){return e.nodeType===xd}var Zy=(e,t,r,n,o,a)=>{if(Xy(e))return Sd(e.data,t);if(Qy(e))return zy(e.data,t);let i=va(e)?"DocumentFragment":e.tagName.toLowerCase();return++n>t.maxDepth?rl(i,t):tl(i,Zi(va(e)?[]:Array.from(e.attributes,l=>l.name).sort(),va(e)?{}:[...e.attributes].reduce((l,u)=>(l[u.name]=u.value,l),{}),t,r+t.indent,n,o,a),el(Array.prototype.slice.call(e.childNodes||e.children),t,r+t.indent,n,o,a),t,r)},eg={serialize:Zy,test:Jy},tg="@@__IMMUTABLE_ITERABLE__@@",rg="@@__IMMUTABLE_LIST__@@",ng="@@__IMMUTABLE_KEYED__@@",og="@@__IMMUTABLE_MAP__@@",xs="@@__IMMUTABLE_ORDERED__@@",ag="@@__IMMUTABLE_RECORD__@@",ig="@@__IMMUTABLE_SEQ__@@",lg="@@__IMMUTABLE_SET__@@",sg="@@__IMMUTABLE_STACK__@@",br=e=>`Immutable.${e}`,po=e=>`[${e}]`,Gr=" ",js="…";function ug(e,t,r,n,o,a,i){return++n>t.maxDepth?po(br(i)):`${br(i)+Gr}{${co(e.entries(),t,r,n,o,a)}}`}function cg(e){let t=0;return{next(){if(t<e._keys.length){let r=e._keys[t++];return{done:!1,value:[r,e.get(r)]}}return{done:!0,value:void 0}}}}function dg(e,t,r,n,o,a){let i=br(e._name||"Record");return++n>t.maxDepth?po(i):`${i+Gr}{${co(cg(e),t,r,n,o,a)}}`}function pg(e,t,r,n,o,a){let i=br("Seq");return++n>t.maxDepth?po(i):e[ng]?`${i+Gr}{${e._iter||e._object?co(e.entries(),t,r,n,o,a):js}}`:`${i+Gr}[${e._iter||e._array||e._collection||e._iterable?Xi(e.values(),t,r,n,o,a):js}]`}function _a(e,t,r,n,o,a,i){return++n>t.maxDepth?po(br(i)):`${br(i)+Gr}[${Xi(e.values(),t,r,n,o,a)}]`}var mg=(e,t,r,n,o,a)=>e[og]?ug(e,t,r,n,o,a,e[xs]?"OrderedMap":"Map"):e[rg]?_a(e,t,r,n,o,a,"List"):e[lg]?_a(e,t,r,n,o,a,e[xs]?"OrderedSet":"Set"):e[sg]?_a(e,t,r,n,o,a,"Stack"):e[ig]?pg(e,t,r,n,o,a):dg(e,t,r,n,o,a),fg=e=>e&&(e[tg]===!0||e[ag]===!0),hg={serialize:mg,test:fg},Ns={exports:{}},ne={},$s;function bg(){if($s)return ne;$s=1;var e=Symbol.for("react.element"),t=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),n=Symbol.for("react.strict_mode"),o=Symbol.for("react.profiler"),a=Symbol.for("react.provider"),i=Symbol.for("react.context"),l=Symbol.for("react.server_context"),u=Symbol.for("react.forward_ref"),c=Symbol.for("react.suspense"),s=Symbol.for("react.suspense_list"),d=Symbol.for("react.memo"),m=Symbol.for("react.lazy"),p=Symbol.for("react.offscreen"),f;f=Symbol.for("react.module.reference");function b(h){if(typeof h=="object"&&h!==null){var y=h.$$typeof;switch(y){case e:switch(h=h.type,h){case r:case o:case n:case c:case s:return h;default:switch(h=h&&h.$$typeof,h){case l:case i:case u:case m:case d:case a:return h;default:return y}}case t:return y}}}return ne.ContextConsumer=i,ne.ContextProvider=a,ne.Element=e,ne.ForwardRef=u,ne.Fragment=r,ne.Lazy=m,ne.Memo=d,ne.Portal=t,ne.Profiler=o,ne.StrictMode=n,ne.Suspense=c,ne.SuspenseList=s,ne.isAsyncMode=function(){return!1},ne.isConcurrentMode=function(){return!1},ne.isContextConsumer=function(h){return b(h)===i},ne.isContextProvider=function(h){return b(h)===a},ne.isElement=function(h){return typeof h=="object"&&h!==null&&h.$$typeof===e},ne.isForwardRef=function(h){return b(h)===u},ne.isFragment=function(h){return b(h)===r},ne.isLazy=function(h){return b(h)===m},ne.isMemo=function(h){return b(h)===d},ne.isPortal=function(h){return b(h)===t},ne.isProfiler=function(h){return b(h)===o},ne.isStrictMode=function(h){return b(h)===n},ne.isSuspense=function(h){return b(h)===c},ne.isSuspenseList=function(h){return b(h)===s},ne.isValidElementType=function(h){return typeof h=="string"||typeof h=="function"||h===r||h===o||h===n||h===c||h===s||h===p||typeof h=="object"&&h!==null&&(h.$$typeof===m||h.$$typeof===d||h.$$typeof===a||h.$$typeof===i||h.$$typeof===u||h.$$typeof===f||h.getModuleId!==void 0)},ne.typeOf=b,ne}var Is;function yg(){return Is||(Is=1,Ns.exports=bg()),Ns.exports}var Ft=yg();function jd(e,t=[]){if(Array.isArray(e))for(let r of e)jd(r,t);else e!=null&&e!==!1&&e!==""&&t.push(e);return t}function Bs(e){let t=e.type;if(typeof t=="string")return t;if(typeof t=="function")return t.displayName||t.name||"Unknown";if(Ft.isFragment(e))return"React.Fragment";if(Ft.isSuspense(e))return"React.Suspense";if(typeof t=="object"&&t!==null){if(Ft.isContextProvider(e))return"Context.Provider";if(Ft.isContextConsumer(e))return"Context.Consumer";if(Ft.isForwardRef(e)){if(t.displayName)return t.displayName;let r=t.render.displayName||t.render.name||"";return r===""?"ForwardRef":`ForwardRef(${r})`}if(Ft.isMemo(e)){let r=t.displayName||t.type.displayName||t.type.name||"";return r===""?"Memo":`Memo(${r})`}}return"UNDEFINED"}function gg(e){let{props:t}=e;return Object.keys(t).filter(r=>r!=="children"&&t[r]!==void 0).sort()}var vg=(e,t,r,n,o,a)=>++n>t.maxDepth?rl(Bs(e),t):tl(Bs(e),Zi(gg(e),e.props,t,r+t.indent,n,o,a),el(jd(e.props.children),t,r+t.indent,n,o,a),t,r),_g=e=>e!=null&&Ft.isElement(e),Rg={serialize:vg,test:_g},wg=typeof Symbol=="function"&&Symbol.for?Symbol.for("react.test.json"):245830487;function Cg(e){let{props:t}=e;return t?Object.keys(t).filter(r=>t[r]!==void 0).sort():[]}var qg=(e,t,r,n,o,a)=>++n>t.maxDepth?rl(e.type,t):tl(e.type,e.props?Zi(Cg(e),e.props,t,r+t.indent,n,o,a):"",e.children?el(e.children,t,r+t.indent,n,o,a):"",t,r),Eg=e=>e&&e.$$typeof===wg,Pg={serialize:qg,test:Eg},Nd=Object.prototype.toString,Og=Date.prototype.toISOString,Tg=Error.prototype.toString,ks=RegExp.prototype.toString;function Ra(e){return typeof e.constructor=="function"&&e.constructor.name||"Object"}function Sg(e){return typeof window<"u"&&e===window}var Ag=/^Symbol\((.*)\)(.*)$/,Mg=/\n/g,$d=class extends Error{constructor(t,r){super(t),this.stack=r,this.name=this.constructor.name}};function xg(e){return e==="[object Array]"||e==="[object ArrayBuffer]"||e==="[object DataView]"||e==="[object Float32Array]"||e==="[object Float64Array]"||e==="[object Int8Array]"||e==="[object Int16Array]"||e==="[object Int32Array]"||e==="[object Uint8Array]"||e==="[object Uint8ClampedArray]"||e==="[object Uint16Array]"||e==="[object Uint32Array]"}function jg(e){return Object.is(e,-0)?"-0":String(e)}function Ng(e){return`${e}n`}function Ls(e,t){return t?`[Function ${e.name||"anonymous"}]`:"[Function]"}function Ds(e){return String(e).replace(Ag,"Symbol($1)")}function Fs(e){return`[${Tg.call(e)}]`}function Id(e,t,r,n){if(e===!0||e===!1)return`${e}`;if(e===void 0)return"undefined";if(e===null)return"null";let o=typeof e;if(o==="number")return jg(e);if(o==="bigint")return Ng(e);if(o==="string")return n?`"${e.replaceAll(/"|\\/g,"\\$&")}"`:`"${e}"`;if(o==="function")return Ls(e,t);if(o==="symbol")return Ds(e);let a=Nd.call(e);return a==="[object WeakMap]"?"WeakMap {}":a==="[object WeakSet]"?"WeakSet {}":a==="[object Function]"||a==="[object GeneratorFunction]"?Ls(e,t):a==="[object Symbol]"?Ds(e):a==="[object Date]"?Number.isNaN(+e)?"Date { NaN }":Og.call(e):a==="[object Error]"?Fs(e):a==="[object RegExp]"?r?ks.call(e).replaceAll(/[$()*+.?[\\\]^{|}]/g,"\\$&"):ks.call(e):e instanceof Error?Fs(e):null}function Bd(e,t,r,n,o,a){if(o.includes(e))return"[Circular]";o=[...o],o.push(e);let i=++n>t.maxDepth,l=t.min;if(t.callToJSON&&!i&&e.toJSON&&typeof e.toJSON=="function"&&!a)return St(e.toJSON(),t,r,n,o,!0);let u=Nd.call(e);return u==="[object Arguments]"?i?"[Arguments]":`${l?"":"Arguments "}[${Hn(e,t,r,n,o,St)}]`:xg(u)?i?`[${e.constructor.name}]`:`${l||!t.printBasicPrototype&&e.constructor.name==="Array"?"":`${e.constructor.name} `}[${Hn(e,t,r,n,o,St)}]`:u==="[object Map]"?i?"[Map]":`Map {${co(e.entries(),t,r,n,o,St," => ")}}`:u==="[object Set]"?i?"[Set]":`Set {${Xi(e.values(),t,r,n,o,St)}}`:i||Sg(e)?`[${Ra(e)}]`:`${l||!t.printBasicPrototype&&Ra(e)==="Object"?"":`${Ra(e)} `}{${Qi(e,t,r,n,o,St)}}`}function $g(e){return e.serialize!=null}function kd(e,t,r,n,o,a){let i;try{i=$g(e)?e.serialize(t,r,n,o,a,St):e.print(t,l=>St(l,r,n,o,a),l=>{let u=n+r.indent;return u+l.replaceAll(Mg,` -${u}`)},{edgeSpacing:r.spacingOuter,min:r.min,spacing:r.spacingInner},r.colors)}catch(l){throw new $d(l.message,l.stack)}if(typeof i!="string")throw new TypeError(`pretty-format: Plugin must return type "string" but instead returned "${typeof i}".`);return i}function Ld(e,t){for(let r of e)try{if(r.test(t))return r}catch(n){throw new $d(n.message,n.stack)}return null}function St(e,t,r,n,o,a){let i=Ld(t.plugins,e);if(i!==null)return kd(i,e,t,r,n,o);let l=Id(e,t.printFunctionName,t.escapeRegex,t.escapeString);return l!==null?l:Bd(e,t,r,n,o,a)}var nl={comment:"gray",content:"reset",prop:"yellow",tag:"cyan",value:"green"},Dd=Object.keys(nl),Ke={callToJSON:!0,compareKeys:void 0,escapeRegex:!1,escapeString:!0,highlight:!1,indent:2,maxDepth:Number.POSITIVE_INFINITY,maxWidth:Number.POSITIVE_INFINITY,min:!1,plugins:[],printBasicPrototype:!0,printFunctionName:!0,theme:nl};function Ig(e){for(let t of Object.keys(e))if(!Object.prototype.hasOwnProperty.call(Ke,t))throw new Error(`pretty-format: Unknown option "${t}".`);if(e.min&&e.indent!==void 0&&e.indent!==0)throw new Error('pretty-format: Options "min" and "indent" cannot be used together.')}function Bg(){return Dd.reduce((e,t)=>{let r=nl[t],n=r&&ft[r];if(n&&typeof n.close=="string"&&typeof n.open=="string")e[t]=n;else throw new Error(`pretty-format: Option "theme" has a key "${t}" whose value "${r}" is undefined in ansi-styles.`);return e},Object.create(null))}function kg(){return Dd.reduce((e,t)=>(e[t]={close:"",open:""},e),Object.create(null))}function Fd(e){return(e==null?void 0:e.printFunctionName)??Ke.printFunctionName}function Hd(e){return(e==null?void 0:e.escapeRegex)??Ke.escapeRegex}function Ud(e){return(e==null?void 0:e.escapeString)??Ke.escapeString}function Hs(e){return{callToJSON:(e==null?void 0:e.callToJSON)??Ke.callToJSON,colors:e!=null&&e.highlight?Bg():kg(),compareKeys:typeof(e==null?void 0:e.compareKeys)=="function"||(e==null?void 0:e.compareKeys)===null?e.compareKeys:Ke.compareKeys,escapeRegex:Hd(e),escapeString:Ud(e),indent:e!=null&&e.min?"":Lg((e==null?void 0:e.indent)??Ke.indent),maxDepth:(e==null?void 0:e.maxDepth)??Ke.maxDepth,maxWidth:(e==null?void 0:e.maxWidth)??Ke.maxWidth,min:(e==null?void 0:e.min)??Ke.min,plugins:(e==null?void 0:e.plugins)??Ke.plugins,printBasicPrototype:(e==null?void 0:e.printBasicPrototype)??!0,printFunctionName:Fd(e),spacingInner:e!=null&&e.min?" ":` -`,spacingOuter:e!=null&&e.min?"":` -`}}function Lg(e){return Array.from({length:e+1}).join(" ")}function nt(e,t){if(t&&(Ig(t),t.plugins)){let n=Ld(t.plugins,e);if(n!==null)return kd(n,e,Hs(t),"",0,[])}let r=Id(e,Fd(t),Hd(t),Ud(t));return r!==null?r:Bd(e,Hs(t),"",0,[])}var Vd={AsymmetricMatcher:By,DOMCollection:Vy,DOMElement:eg,Immutable:hg,ReactElement:Rg,ReactTestComponent:Pg},Us={bold:["1","22"],dim:["2","22"],italic:["3","23"],underline:["4","24"],inverse:["7","27"],hidden:["8","28"],strike:["9","29"],black:["30","39"],red:["31","39"],green:["32","39"],yellow:["33","39"],blue:["34","39"],magenta:["35","39"],cyan:["36","39"],white:["37","39"],brightblack:["30;1","39"],brightred:["31;1","39"],brightgreen:["32;1","39"],brightyellow:["33;1","39"],brightblue:["34;1","39"],brightmagenta:["35;1","39"],brightcyan:["36;1","39"],brightwhite:["37;1","39"],grey:["90","39"]},Dg={special:"cyan",number:"yellow",bigint:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",symbol:"green",date:"magenta",regexp:"red"},yr="…";function Fg(e,t){let r=Us[Dg[t]]||Us[t]||"";return r?`\x1B[${r[0]}m${String(e)}\x1B[${r[1]}m`:String(e)}function Hg({showHidden:e=!1,depth:t=2,colors:r=!1,customInspect:n=!0,showProxy:o=!1,maxArrayLength:a=1/0,breakLength:i=1/0,seen:l=[],truncate:u=1/0,stylize:c=String}={},s){let d={showHidden:!!e,depth:Number(t),colors:!!r,customInspect:!!n,showProxy:!!o,maxArrayLength:Number(a),breakLength:Number(i),truncate:Number(u),seen:l,inspect:s,stylize:c};return d.colors&&(d.stylize=Fg),d}function Ug(e){return e>="\uD800"&&e<="\uDBFF"}function Bt(e,t,r=yr){e=String(e);let n=r.length,o=e.length;if(n>t&&o>n)return r;if(o>t&&o>n){let a=t-n;return a>0&&Ug(e[a-1])&&(a=a-1),`${e.slice(0,a)}${r}`}return e}function Ze(e,t,r,n=", "){r=r||t.inspect;let o=e.length;if(o===0)return"";let a=t.truncate,i="",l="",u="";for(let c=0;c<o;c+=1){let s=c+1===e.length,d=c+2===e.length;u=`${yr}(${e.length-c})`;let m=e[c];t.truncate=a-i.length-(s?0:n.length);let p=l||r(m,t)+(s?"":n),f=i.length+p.length,b=f+u.length;if(s&&f>a&&i.length+u.length<=a||!s&&!d&&b>a||(l=s?"":r(e[c+1],t)+(d?"":n),!s&&d&&b>a&&f+l.length>a))break;if(i+=p,!s&&!d&&f+l.length>=a){u=`${yr}(${e.length-c-1})`;break}u=""}return`${i}${u}`}function Vg(e){return e.match(/^[a-zA-Z_][a-zA-Z_0-9]*$/)?e:JSON.stringify(e).replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'")}function Wr([e,t],r){return r.truncate-=2,typeof e=="string"?e=Vg(e):typeof e!="number"&&(e=`[${r.inspect(e,r)}]`),r.truncate-=e.length,t=r.inspect(t,r),`${e}: ${t}`}function zg(e,t){let r=Object.keys(e).slice(e.length);if(!e.length&&!r.length)return"[]";t.truncate-=4;let n=Ze(e,t);t.truncate-=n.length;let o="";return r.length&&(o=Ze(r.map(a=>[a,e[a]]),t,Wr)),`[ ${n}${o?`, ${o}`:""} ]`}var Gg=e=>typeof Buffer=="function"&&e instanceof Buffer?"Buffer":e[Symbol.toStringTag]?e[Symbol.toStringTag]:e.constructor.name;function ct(e,t){let r=Gg(e);t.truncate-=r.length+4;let n=Object.keys(e).slice(e.length);if(!e.length&&!n.length)return`${r}[]`;let o="";for(let i=0;i<e.length;i++){let l=`${t.stylize(Bt(e[i],t.truncate),"number")}${i===e.length-1?"":", "}`;if(t.truncate-=l.length,e[i]!==e.length&&t.truncate<=3){o+=`${yr}(${e.length-e[i]+1})`;break}o+=l}let a="";return n.length&&(a=Ze(n.map(i=>[i,e[i]]),t,Wr)),`${r}[ ${o}${a?`, ${a}`:""} ]`}function Wg(e,t){let r=e.toJSON();if(r===null)return"Invalid Date";let n=r.split("T"),o=n[0];return t.stylize(`${o}T${Bt(n[1],t.truncate-o.length-1)}`,"date")}function Vs(e,t){let r=e[Symbol.toStringTag]||"Function",n=e.name;return n?t.stylize(`[${r} ${Bt(n,t.truncate-11)}]`,"special"):t.stylize(`[${r}]`,"special")}function Kg([e,t],r){return r.truncate-=4,e=r.inspect(e,r),r.truncate-=e.length,t=r.inspect(t,r),`${e} => ${t}`}function Yg(e){let t=[];return e.forEach((r,n)=>{t.push([n,r])}),t}function Jg(e,t){return e.size-1<=0?"Map{}":(t.truncate-=7,`Map{ ${Ze(Yg(e),t,Kg)} }`)}var Xg=Number.isNaN||(e=>e!==e);function zs(e,t){return Xg(e)?t.stylize("NaN","number"):e===1/0?t.stylize("Infinity","number"):e===-1/0?t.stylize("-Infinity","number"):e===0?t.stylize(1/e===1/0?"+0":"-0","number"):t.stylize(Bt(String(e),t.truncate),"number")}function Gs(e,t){let r=Bt(e.toString(),t.truncate-1);return r!==yr&&(r+="n"),t.stylize(r,"bigint")}function Qg(e,t){let r=e.toString().split("/")[2],n=t.truncate-(2+r.length),o=e.source;return t.stylize(`/${Bt(o,n)}/${r}`,"regexp")}function Zg(e){let t=[];return e.forEach(r=>{t.push(r)}),t}function ev(e,t){return e.size===0?"Set{}":(t.truncate-=7,`Set{ ${Ze(Zg(e),t)} }`)}var Ws=new RegExp("['\\u0000-\\u001f\\u007f-\\u009f\\u00ad\\u0600-\\u0604\\u070f\\u17b4\\u17b5\\u200c-\\u200f\\u2028-\\u202f\\u2060-\\u206f\\ufeff\\ufff0-\\uffff]","g"),tv={"\b":"\\b"," ":"\\t","\n":"\\n","\f":"\\f","\r":"\\r","'":"\\'","\\":"\\\\"},rv=16,nv=4;function ov(e){return tv[e]||`\\u${`0000${e.charCodeAt(0).toString(rv)}`.slice(-nv)}`}function Ks(e,t){return Ws.test(e)&&(e=e.replace(Ws,ov)),t.stylize(`'${Bt(e,t.truncate-2)}'`,"string")}function Ys(e){return"description"in Symbol.prototype?e.description?`Symbol(${e.description})`:"Symbol()":e.toString()}var zd=()=>"Promise{…}";try{let{getPromiseDetails:e,kPending:t,kRejected:r}=process.binding("util");Array.isArray(e(Promise.resolve()))&&(zd=(n,o)=>{let[a,i]=e(n);return a===t?"Promise{<pending>}":`Promise${a===r?"!":""}{${o.inspect(i,o)}}`})}catch{}var av=zd;function jn(e,t){let r=Object.getOwnPropertyNames(e),n=Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e):[];if(r.length===0&&n.length===0)return"{}";if(t.truncate-=4,t.seen=t.seen||[],t.seen.includes(e))return"[Circular]";t.seen.push(e);let o=Ze(r.map(l=>[l,e[l]]),t,Wr),a=Ze(n.map(l=>[l,e[l]]),t,Wr);t.seen.pop();let i="";return o&&a&&(i=", "),`{ ${o}${i}${a} }`}var wa=typeof Symbol<"u"&&Symbol.toStringTag?Symbol.toStringTag:!1;function iv(e,t){let r="";return wa&&wa in e&&(r=e[wa]),r=r||e.constructor.name,(!r||r==="_class")&&(r="<Anonymous Class>"),t.truncate-=r.length,`${r}${jn(e,t)}`}function lv(e,t){return e.length===0?"Arguments[]":(t.truncate-=13,`Arguments[ ${Ze(e,t)} ]`)}var sv=["stack","line","column","name","message","fileName","lineNumber","columnNumber","number","description","cause"];function uv(e,t){let r=Object.getOwnPropertyNames(e).filter(i=>sv.indexOf(i)===-1),n=e.name;t.truncate-=n.length;let o="";if(typeof e.message=="string"?o=Bt(e.message,t.truncate):r.unshift("message"),o=o?`: ${o}`:"",t.truncate-=o.length+5,t.seen=t.seen||[],t.seen.includes(e))return"[Circular]";t.seen.push(e);let a=Ze(r.map(i=>[i,e[i]]),t,Wr);return`${n}${o}${a?` { ${a} }`:""}`}function cv([e,t],r){return r.truncate-=3,t?`${r.stylize(String(e),"yellow")}=${r.stylize(`"${t}"`,"string")}`:`${r.stylize(String(e),"yellow")}`}function Wa(e,t){return Ze(e,t,Gd,` -`)}function Gd(e,t){let r=e.getAttributeNames(),n=e.tagName.toLowerCase(),o=t.stylize(`<${n}`,"special"),a=t.stylize(">","special"),i=t.stylize(`</${n}>`,"special");t.truncate-=n.length*2+5;let l="";r.length>0&&(l+=" ",l+=Ze(r.map(s=>[s,e.getAttribute(s)]),t,cv," ")),t.truncate-=l.length;let u=t.truncate,c=Wa(e.children,t);return c&&c.length>u&&(c=`${yr}(${e.children.length})`),`${o}${l}${a}${c}${i}`}var dv=typeof Symbol=="function"&&typeof Symbol.for=="function",Ca=dv?Symbol.for("chai/inspect"):"@@chai/inspect",nr=!1;try{let e=Ty("util");nr=e.inspect?e.inspect.custom:!1}catch{nr=!1}var Js=new WeakMap,Xs={},Qs={undefined:(e,t)=>t.stylize("undefined","undefined"),null:(e,t)=>t.stylize("null","null"),boolean:(e,t)=>t.stylize(String(e),"boolean"),Boolean:(e,t)=>t.stylize(String(e),"boolean"),number:zs,Number:zs,bigint:Gs,BigInt:Gs,string:Ks,String:Ks,function:Vs,Function:Vs,symbol:Ys,Symbol:Ys,Array:zg,Date:Wg,Map:Jg,Set:ev,RegExp:Qg,Promise:av,WeakSet:(e,t)=>t.stylize("WeakSet{…}","special"),WeakMap:(e,t)=>t.stylize("WeakMap{…}","special"),Arguments:lv,Int8Array:ct,Uint8Array:ct,Uint8ClampedArray:ct,Int16Array:ct,Uint16Array:ct,Int32Array:ct,Uint32Array:ct,Float32Array:ct,Float64Array:ct,Generator:()=>"",DataView:()=>"",ArrayBuffer:()=>"",Error:uv,HTMLCollection:Wa,NodeList:Wa},pv=(e,t,r)=>Ca in e&&typeof e[Ca]=="function"?e[Ca](t):nr&&nr in e&&typeof e[nr]=="function"?e[nr](t.depth,t):"inspect"in e&&typeof e.inspect=="function"?e.inspect(t.depth,t):"constructor"in e&&Js.has(e.constructor)?Js.get(e.constructor)(e,t):Xs[r]?Xs[r](e,t):"",mv=Object.prototype.toString;function Ka(e,t={}){let r=Hg(t,Ka),{customInspect:n}=r,o=e===null?"null":typeof e;if(o==="object"&&(o=mv.call(e).slice(8,-1)),o in Qs)return Qs[o](e,r);if(n&&e){let i=pv(e,r,o);if(i)return typeof i=="string"?i:Ka(i,r)}let a=e?Object.getPrototypeOf(e):!1;return a===Object.prototype||a===null?jn(e,r):e&&typeof HTMLElement=="function"&&e instanceof HTMLElement?Gd(e,r):"constructor"in e?e.constructor!==Object?iv(e,r):jn(e,r):e===Object(e)?jn(e,r):r.stylize(String(e),o)}var{AsymmetricMatcher:fv,DOMCollection:hv,DOMElement:bv,Immutable:yv,ReactElement:gv,ReactTestComponent:vv}=Vd,Zs=[vv,gv,bv,hv,yv,fv];function Kr(e,t=10,{maxLength:r,...n}={}){let o=r??1e4,a;try{a=nt(e,{maxDepth:t,escapeString:!1,plugins:Zs,...n})}catch{a=nt(e,{callToJSON:!1,maxDepth:t,escapeString:!1,plugins:Zs,...n})}return a.length>=o&&t>1?Kr(e,Math.floor(t/2)):a}var _v=/%[sdjifoOc%]/g;function Rv(...e){if(typeof e[0]!="string"){let a=[];for(let i=0;i<e.length;i++)a.push($r(e[i],{depth:0,colors:!1}));return a.join(" ")}let t=e.length,r=1,n=e[0],o=String(n).replace(_v,a=>{if(a==="%%")return"%";if(r>=t)return a;switch(a){case"%s":{let i=e[r++];return typeof i=="bigint"?`${i.toString()}n`:typeof i=="number"&&i===0&&1/i<0?"-0":typeof i=="object"&&i!==null?$r(i,{depth:0,colors:!1}):String(i)}case"%d":{let i=e[r++];return typeof i=="bigint"?`${i.toString()}n`:Number(i).toString()}case"%i":{let i=e[r++];return typeof i=="bigint"?`${i.toString()}n`:Number.parseInt(String(i)).toString()}case"%f":return Number.parseFloat(String(e[r++])).toString();case"%o":return $r(e[r++],{showHidden:!0,showProxy:!0});case"%O":return $r(e[r++]);case"%c":return r++,"";case"%j":try{return JSON.stringify(e[r++])}catch(i){let l=i.message;if(l.includes("circular structure")||l.includes("cyclic structures")||l.includes("cyclic object"))return"[Circular]";throw i}default:return a}});for(let a=e[r];r<t;a=e[++r])a===null||typeof a!="object"?o+=` ${a}`:o+=` ${$r(a)}`;return o}function $r(e,t={}){return t.truncate===0&&(t.truncate=Number.POSITIVE_INFINITY),Ka(e,t)}function wv(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function Cv(e){return e===Object.prototype||e===Function.prototype||e===RegExp.prototype}function Ya(e){return Object.prototype.toString.apply(e).slice(8,-1)}function qv(e,t){let r=typeof t=="function"?t:n=>t.add(n);Object.getOwnPropertyNames(e).forEach(r),Object.getOwnPropertySymbols(e).forEach(r)}function Wd(e){let t=new Set;return Cv(e)?[]:(qv(e,t),Array.from(t))}var Kd={forceWritable:!1};function eu(e,t=Kd){return Ja(e,new WeakMap,t)}function Ja(e,t,r=Kd){let n,o;if(t.has(e))return t.get(e);if(Array.isArray(e)){for(o=Array.from({length:n=e.length}),t.set(e,o);n--;)o[n]=Ja(e[n],t,r);return o}if(Object.prototype.toString.call(e)==="[object Object]"){o=Object.create(Object.getPrototypeOf(e)),t.set(e,o);let a=Wd(e);for(let i of a){let l=Object.getOwnPropertyDescriptor(e,i);if(!l)continue;let u=Ja(e[i],t,r);r.forceWritable?Object.defineProperty(o,i,{enumerable:l.enumerable,configurable:!0,writable:!0,value:u}):"get"in l?Object.defineProperty(o,i,{...l,get(){return u}}):Object.defineProperty(o,i,{...l,value:u})}return o}return e}function tu(e){if(e===void 0)return"undefined";if(e===null)return"null";if(Array.isArray(e))return"array";if(typeof e=="boolean")return"boolean";if(typeof e=="function")return"function";if(typeof e=="number")return"number";if(typeof e=="string")return"string";if(typeof e=="bigint")return"bigint";if(typeof e=="object"){if(e!=null){if(e.constructor===RegExp)return"regexp";if(e.constructor===Map)return"map";if(e.constructor===Set)return"set";if(e.constructor===Date)return"date"}return"object"}else if(typeof e=="symbol")return"symbol";throw new Error(`value of unknown type: ${e}`)}var Se=-1,Pe=1,ye=0,me=class{constructor(t,r){he(this,0);he(this,1);this[0]=t,this[1]=r}},Ev=function(e,t){if(!e||!t||e.charAt(0)!==t.charAt(0))return 0;let r=0,n=Math.min(e.length,t.length),o=n,a=0;for(;r<o;)e.substring(a,o)===t.substring(a,o)?(r=o,a=r):n=o,o=Math.floor((n-r)/2+r);return o},Yd=function(e,t){if(!e||!t||e.charAt(e.length-1)!==t.charAt(t.length-1))return 0;let r=0,n=Math.min(e.length,t.length),o=n,a=0;for(;r<o;)e.substring(e.length-o,e.length-a)===t.substring(t.length-o,t.length-a)?(r=o,a=r):n=o,o=Math.floor((n-r)/2+r);return o},ru=function(e,t){let r=e.length,n=t.length;if(r===0||n===0)return 0;r>n?e=e.substring(r-n):r<n&&(t=t.substring(0,r));let o=Math.min(r,n);if(e===t)return o;let a=0,i=1;for(;;){let l=e.substring(o-i),u=t.indexOf(l);if(u===-1)return a;i+=u,(u===0||e.substring(o-i)===t.substring(0,i))&&(a=i,i++)}},Pv=function(e){let t=!1,r=[],n=0,o=null,a=0,i=0,l=0,u=0,c=0;for(;a<e.length;)e[a][0]===ye?(r[n++]=a,i=u,l=c,u=0,c=0,o=e[a][1]):(e[a][0]===Pe?u+=e[a][1].length:c+=e[a][1].length,o&&o.length<=Math.max(i,l)&&o.length<=Math.max(u,c)&&(e.splice(r[n-1],0,new me(Se,o)),e[r[n-1]+1][0]=Pe,n--,n--,a=n>0?r[n-1]:-1,i=0,l=0,u=0,c=0,o=null,t=!0)),a++;for(t&&Jd(e),Sv(e),a=1;a<e.length;){if(e[a-1][0]===Se&&e[a][0]===Pe){let s=e[a-1][1],d=e[a][1],m=ru(s,d),p=ru(d,s);m>=p?(m>=s.length/2||m>=d.length/2)&&(e.splice(a,0,new me(ye,d.substring(0,m))),e[a-1][1]=s.substring(0,s.length-m),e[a+1][1]=d.substring(m),a++):(p>=s.length/2||p>=d.length/2)&&(e.splice(a,0,new me(ye,s.substring(0,p))),e[a-1][0]=Pe,e[a-1][1]=d.substring(0,d.length-p),e[a+1][0]=Se,e[a+1][1]=s.substring(p),a++),a++}a++}},nu=/[^a-z0-9]/i,ou=/\s/,au=/[\r\n]/,Ov=/\n\r?\n$/,Tv=/^\r?\n\r?\n/;function Sv(e){let t=1;for(;t<e.length-1;){if(e[t-1][0]===ye&&e[t+1][0]===ye){let r=e[t-1][1],n=e[t][1],o=e[t+1][1],a=Yd(r,n);if(a){let s=n.substring(n.length-a);r=r.substring(0,r.length-a),n=s+n.substring(0,n.length-a),o=s+o}let i=r,l=n,u=o,c=qn(r,n)+qn(n,o);for(;n.charAt(0)===o.charAt(0);){r+=n.charAt(0),n=n.substring(1)+o.charAt(0),o=o.substring(1);let s=qn(r,n)+qn(n,o);s>=c&&(c=s,i=r,l=n,u=o)}e[t-1][1]!==i&&(i?e[t-1][1]=i:(e.splice(t-1,1),t--),e[t][1]=l,u?e[t+1][1]=u:(e.splice(t+1,1),t--))}t++}}function Jd(e){e.push(new me(ye,""));let t=0,r=0,n=0,o="",a="",i;for(;t<e.length;)switch(e[t][0]){case Pe:n++,a+=e[t][1],t++;break;case Se:r++,o+=e[t][1],t++;break;case ye:r+n>1?(r!==0&&n!==0&&(i=Ev(a,o),i!==0&&(t-r-n>0&&e[t-r-n-1][0]===ye?e[t-r-n-1][1]+=a.substring(0,i):(e.splice(0,0,new me(ye,a.substring(0,i))),t++),a=a.substring(i),o=o.substring(i)),i=Yd(a,o),i!==0&&(e[t][1]=a.substring(a.length-i)+e[t][1],a=a.substring(0,a.length-i),o=o.substring(0,o.length-i))),t-=r+n,e.splice(t,r+n),o.length&&(e.splice(t,0,new me(Se,o)),t++),a.length&&(e.splice(t,0,new me(Pe,a)),t++),t++):t!==0&&e[t-1][0]===ye?(e[t-1][1]+=e[t][1],e.splice(t,1)):t++,n=0,r=0,o="",a="";break}e[e.length-1][1]===""&&e.pop();let l=!1;for(t=1;t<e.length-1;)e[t-1][0]===ye&&e[t+1][0]===ye&&(e[t][1].substring(e[t][1].length-e[t-1][1].length)===e[t-1][1]?(e[t][1]=e[t-1][1]+e[t][1].substring(0,e[t][1].length-e[t-1][1].length),e[t+1][1]=e[t-1][1]+e[t+1][1],e.splice(t-1,1),l=!0):e[t][1].substring(0,e[t+1][1].length)===e[t+1][1]&&(e[t-1][1]+=e[t+1][1],e[t][1]=e[t][1].substring(e[t+1][1].length)+e[t+1][1],e.splice(t+1,1),l=!0)),t++;l&&Jd(e)}function qn(e,t){if(!e||!t)return 6;let r=e.charAt(e.length-1),n=t.charAt(0),o=r.match(nu),a=n.match(nu),i=o&&r.match(ou),l=a&&n.match(ou),u=i&&r.match(au),c=l&&n.match(au),s=u&&e.match(Ov),d=c&&t.match(Tv);return s||d?5:u||c?4:o&&!i&&l?3:i||l?2:o||a?1:0}var Xd="Compared values have no visual difference.",Av="Compared values serialize to the same structure.\nPrinting internal object structure without calling `toJSON` instead.",En={},iu;function Mv(){if(iu)return En;iu=1,Object.defineProperty(En,"__esModule",{value:!0}),En.default=m;let e="diff-sequences",t=0,r=(p,f,b,h,y)=>{let g=0;for(;p<f&&b<h&&y(p,b);)p+=1,b+=1,g+=1;return g},n=(p,f,b,h,y)=>{let g=0;for(;p<=f&&b<=h&&y(f,h);)f-=1,h-=1,g+=1;return g},o=(p,f,b,h,y,g,E)=>{let C=0,q=-p,_=g[C],v=_;g[C]+=r(_+1,f,h+_-q+1,b,y);let w=p<E?p:E;for(C+=1,q+=2;C<=w;C+=1,q+=2){if(C!==p&&v<g[C])_=g[C];else if(_=v+1,f<=_)return C-1;v=g[C],g[C]=_+r(_+1,f,h+_-q+1,b,y)}return E},a=(p,f,b,h,y,g,E)=>{let C=0,q=p,_=g[C],v=_;g[C]-=n(f,_-1,b,h+_-q-1,y);let w=p<E?p:E;for(C+=1,q-=2;C<=w;C+=1,q-=2){if(C!==p&&g[C]<v)_=g[C];else if(_=v-1,_<f)return C-1;v=g[C],g[C]=_-n(f,_-1,b,h+_-q-1,y)}return E},i=(p,f,b,h,y,g,E,C,q,_,v)=>{let w=h-f,P=b-f,j=y-h-P,$=-j-(p-1),B=-j+(p-1),I=t,A=p<C?p:C;for(let k=0,U=-p;k<=A;k+=1,U+=2){let W=k===0||k!==p&&I<E[k],G=W?E[k]:I,se=W?G:G+1,ve=w+se-U,pe=r(se+1,b,ve+1,y,g),F=se+pe;if(I=E[k],E[k]=F,$<=U&&U<=B){let L=(p-1-(U+j))/2;if(L<=_&&q[L]-1<=F){let D=w+G-(W?U+1:U-1),z=n(f,G,h,D,g),H=G-z,ae=D-z,ue=H+1,ut=ae+1;v.nChangePreceding=p-1,p-1===ue+ut-f-h?(v.aEndPreceding=f,v.bEndPreceding=h):(v.aEndPreceding=ue,v.bEndPreceding=ut),v.nCommonPreceding=z,z!==0&&(v.aCommonPreceding=ue,v.bCommonPreceding=ut),v.nCommonFollowing=pe,pe!==0&&(v.aCommonFollowing=se+1,v.bCommonFollowing=ve+1);let M=F+1,V=ve+pe+1;return v.nChangeFollowing=p-1,p-1===b+y-M-V?(v.aStartFollowing=b,v.bStartFollowing=y):(v.aStartFollowing=M,v.bStartFollowing=V),!0}}}return!1},l=(p,f,b,h,y,g,E,C,q,_,v)=>{let w=y-b,P=b-f,j=y-h-P,$=j-p,B=j+p,I=t,A=p<_?p:_;for(let k=0,U=p;k<=A;k+=1,U-=2){let W=k===0||k!==p&&q[k]<I,G=W?q[k]:I,se=W?G:G-1,ve=w+se-U,pe=n(f,se-1,h,ve-1,g),F=se-pe;if(I=q[k],q[k]=F,$<=U&&U<=B){let L=(p+(U-j))/2;if(L<=C&&F-1<=E[L]){let D=ve-pe;if(v.nChangePreceding=p,p===F+D-f-h?(v.aEndPreceding=f,v.bEndPreceding=h):(v.aEndPreceding=F,v.bEndPreceding=D),v.nCommonPreceding=pe,pe!==0&&(v.aCommonPreceding=F,v.bCommonPreceding=D),v.nChangeFollowing=p-1,p===1)v.nCommonFollowing=0,v.aStartFollowing=b,v.bStartFollowing=y;else{let z=w+G-(W?U-1:U+1),H=r(G,b,z,y,g);v.nCommonFollowing=H,H!==0&&(v.aCommonFollowing=G,v.bCommonFollowing=z);let ae=G+H,ue=z+H;p-1===b+y-ae-ue?(v.aStartFollowing=b,v.bStartFollowing=y):(v.aStartFollowing=ae,v.bStartFollowing=ue)}return!0}}}return!1},u=(p,f,b,h,y,g,E,C,q)=>{let _=h-f,v=y-b,w=b-f,P=y-h,j=P-w,$=w,B=w;if(E[0]=f-1,C[0]=b,j%2===0){let I=(p||j)/2,A=(w+P)/2;for(let k=1;k<=A;k+=1)if($=o(k,b,y,_,g,E,$),k<I)B=a(k,f,h,v,g,C,B);else if(l(k,f,b,h,y,g,E,$,C,B,q))return}else{let I=((p||j)+1)/2,A=(w+P+1)/2,k=1;for($=o(k,b,y,_,g,E,$),k+=1;k<=A;k+=1)if(B=a(k-1,f,h,v,g,C,B),k<I)$=o(k,b,y,_,g,E,$);else if(i(k,f,b,h,y,g,E,$,C,B,q))return}throw new Error(`${e}: no overlap aStart=${f} aEnd=${b} bStart=${h} bEnd=${y}`)},c=(p,f,b,h,y,g,E,C,q,_)=>{if(y-h<b-f){if(g=!g,g&&E.length===1){let{foundSubsequence:L,isCommon:D}=E[0];E[1]={foundSubsequence:(z,H,ae)=>{L(z,ae,H)},isCommon:(z,H)=>D(H,z)}}let pe=f,F=b;f=h,b=y,h=pe,y=F}let{foundSubsequence:v,isCommon:w}=E[g?1:0];u(p,f,b,h,y,w,C,q,_);let{nChangePreceding:P,aEndPreceding:j,bEndPreceding:$,nCommonPreceding:B,aCommonPreceding:I,bCommonPreceding:A,nCommonFollowing:k,aCommonFollowing:U,bCommonFollowing:W,nChangeFollowing:G,aStartFollowing:se,bStartFollowing:ve}=_;f<j&&h<$&&c(P,f,j,h,$,g,E,C,q,_),B!==0&&v(B,I,A),k!==0&&v(k,U,W),se<b&&ve<y&&c(G,se,b,ve,y,g,E,C,q,_)},s=(p,f)=>{if(typeof f!="number")throw new TypeError(`${e}: ${p} typeof ${typeof f} is not a number`);if(!Number.isSafeInteger(f))throw new RangeError(`${e}: ${p} value ${f} is not a safe integer`);if(f<0)throw new RangeError(`${e}: ${p} value ${f} is a negative integer`)},d=(p,f)=>{let b=typeof f;if(b!=="function")throw new TypeError(`${e}: ${p} typeof ${b} is not a function`)};function m(p,f,b,h){s("aLength",p),s("bLength",f),d("isCommon",b),d("foundSubsequence",h);let y=r(0,p,0,f,b);if(y!==0&&h(y,0,0),p!==y||f!==y){let g=y,E=y,C=n(g,p-1,E,f-1,b),q=p-C,_=f-C,v=y+C;p!==v&&f!==v&&c(0,g,q,E,_,!1,[{foundSubsequence:h,isCommon:b}],[t],[t],{aCommonFollowing:t,aCommonPreceding:t,aEndPreceding:t,aStartFollowing:t,bCommonFollowing:t,bCommonPreceding:t,bEndPreceding:t,bStartFollowing:t,nChangeFollowing:t,nChangePreceding:t,nCommonFollowing:t,nCommonPreceding:t}),C!==0&&h(C,q,_)}}return En}var xv=Mv(),Qd=wv(xv);function jv(e,t){return e.replace(/\s+$/,r=>t(r))}function ol(e,t,r,n,o,a){return e.length!==0?r(`${n} ${jv(e,o)}`):n!==" "?r(n):t&&a.length!==0?r(`${n} ${a}`):""}function Zd(e,t,{aColor:r,aIndicator:n,changeLineTrailingSpaceColor:o,emptyFirstOrLastLinePlaceholder:a}){return ol(e,t,r,n,o,a)}function ep(e,t,{bColor:r,bIndicator:n,changeLineTrailingSpaceColor:o,emptyFirstOrLastLinePlaceholder:a}){return ol(e,t,r,n,o,a)}function tp(e,t,{commonColor:r,commonIndicator:n,commonLineTrailingSpaceColor:o,emptyFirstOrLastLinePlaceholder:a}){return ol(e,t,r,n,o,a)}function lu(e,t,r,n,{patchColor:o}){return o(`@@ -${e+1},${t-e} +${r+1},${n-r} @@`)}function Nv(e,t){let r=e.length,n=t.contextLines,o=n+n,a=r,i=!1,l=0,u=0;for(;u!==r;){let C=u;for(;u!==r&&e[u][0]===ye;)u+=1;if(C!==u)if(C===0)u>n&&(a-=u-n,i=!0);else if(u===r){let q=u-C;q>n&&(a-=q-n,i=!0)}else{let q=u-C;q>o&&(a-=q-o,l+=1)}for(;u!==r&&e[u][0]!==ye;)u+=1}let c=l!==0||i;l!==0?a+=l+1:i&&(a+=1);let s=a-1,d=[],m=0;c&&d.push("");let p=0,f=0,b=0,h=0,y=C=>{let q=d.length;d.push(tp(C,q===0||q===s,t)),b+=1,h+=1},g=C=>{let q=d.length;d.push(Zd(C,q===0||q===s,t)),b+=1},E=C=>{let q=d.length;d.push(ep(C,q===0||q===s,t)),h+=1};for(u=0;u!==r;){let C=u;for(;u!==r&&e[u][0]===ye;)u+=1;if(C!==u)if(C===0){u>n&&(C=u-n,p=C,f=C,b=p,h=f);for(let q=C;q!==u;q+=1)y(e[q][1])}else if(u===r){let q=u-C>n?C+n:u;for(let _=C;_!==q;_+=1)y(e[_][1])}else{let q=u-C;if(q>o){let _=C+n;for(let w=C;w!==_;w+=1)y(e[w][1]);d[m]=lu(p,b,f,h,t),m=d.length,d.push("");let v=q-o;p=b+v,f=h+v,b=p,h=f;for(let w=u-n;w!==u;w+=1)y(e[w][1])}else for(let _=C;_!==u;_+=1)y(e[_][1])}for(;u!==r&&e[u][0]===Se;)g(e[u][1]),u+=1;for(;u!==r&&e[u][0]===Pe;)E(e[u][1]),u+=1}return c&&(d[m]=lu(p,b,f,h,t)),d.join(` -`)}function $v(e,t){return e.map((r,n,o)=>{let a=r[1],i=n===0||n===o.length-1;switch(r[0]){case Se:return Zd(a,i,t);case Pe:return ep(a,i,t);default:return tp(a,i,t)}}).join(` -`)}var qa=e=>e,rp=5,Iv=0;function Bv(){return{aAnnotation:"Expected",aColor:ft.green,aIndicator:"-",bAnnotation:"Received",bColor:ft.red,bIndicator:"+",changeColor:ft.inverse,changeLineTrailingSpaceColor:qa,commonColor:ft.dim,commonIndicator:" ",commonLineTrailingSpaceColor:qa,compareKeys:void 0,contextLines:rp,emptyFirstOrLastLinePlaceholder:"",expand:!0,includeChangeCounts:!1,omitAnnotationLines:!1,patchColor:ft.yellow,truncateThreshold:Iv,truncateAnnotation:"... Diff result is truncated",truncateAnnotationColor:qa}}function kv(e){return e&&typeof e=="function"?e:void 0}function Lv(e){return typeof e=="number"&&Number.isSafeInteger(e)&&e>=0?e:rp}function Jt(e={}){return{...Bv(),...e,compareKeys:kv(e.compareKeys),contextLines:Lv(e.contextLines)}}function or(e){return e.length===1&&e[0].length===0}function Dv(e){let t=0,r=0;return e.forEach(n=>{switch(n[0]){case Se:t+=1;break;case Pe:r+=1;break}}),{a:t,b:r}}function Fv({aAnnotation:e,aColor:t,aIndicator:r,bAnnotation:n,bColor:o,bIndicator:a,includeChangeCounts:i,omitAnnotationLines:l},u){if(l)return"";let c="",s="";if(i){let p=String(u.a),f=String(u.b),b=n.length-e.length,h=" ".repeat(Math.max(0,b)),y=" ".repeat(Math.max(0,-b)),g=f.length-p.length,E=" ".repeat(Math.max(0,g)),C=" ".repeat(Math.max(0,-g));c=`${h} ${r} ${E}${p}`,s=`${y} ${a} ${C}${f}`}let d=`${r} ${e}${c}`,m=`${a} ${n}${s}`;return`${t(d)} -${o(m)} - -`}function al(e,t,r){return Fv(r,Dv(e))+(r.expand?$v(e,r):Nv(e,r))+(t?r.truncateAnnotationColor(` -${r.truncateAnnotation}`):"")}function mo(e,t,r){let n=Jt(r),[o,a]=np(or(e)?[]:e,or(t)?[]:t,n);return al(o,a,n)}function Hv(e,t,r,n,o){if(or(e)&&or(r)&&(e=[],r=[]),or(t)&&or(n)&&(t=[],n=[]),e.length!==r.length||t.length!==n.length)return mo(e,t,o);let[a,i]=np(r,n,o),l=0,u=0;return a.forEach(c=>{switch(c[0]){case Se:c[1]=e[l],l+=1;break;case Pe:c[1]=t[u],u+=1;break;default:c[1]=t[u],l+=1,u+=1}}),al(a,i,Jt(o))}function np(e,t,r){let n=(r==null?void 0:r.truncateThreshold)??!1,o=Math.max(Math.floor((r==null?void 0:r.truncateThreshold)??0),0),a=n?Math.min(e.length,o):e.length,i=n?Math.min(t.length,o):t.length,l=a!==e.length||i!==t.length,u=(m,p)=>e[m]===t[p],c=[],s=0,d=0;for(Qd(a,i,u,(m,p,f)=>{for(;s!==p;s+=1)c.push(new me(Se,e[s]));for(;d!==f;d+=1)c.push(new me(Pe,t[d]));for(;m!==0;m-=1,s+=1,d+=1)c.push(new me(ye,t[d]))});s!==a;s+=1)c.push(new me(Se,e[s]));for(;d!==i;d+=1)c.push(new me(Pe,t[d]));return[c,l]}function su(e){return e.includes(`\r -`)?`\r -`:` -`}function Uv(e,t,r){let n=(r==null?void 0:r.truncateThreshold)??!1,o=Math.max(Math.floor((r==null?void 0:r.truncateThreshold)??0),0),a=e.length,i=t.length;if(n){let m=e.includes(` -`),p=t.includes(` -`),f=su(e),b=su(t),h=m?`${e.split(f,o).join(f)} -`:e,y=p?`${t.split(b,o).join(b)} -`:t;a=h.length,i=y.length}let l=a!==e.length||i!==t.length,u=(m,p)=>e[m]===t[p],c=0,s=0,d=[];return Qd(a,i,u,(m,p,f)=>{c!==p&&d.push(new me(Se,e.slice(c,p))),s!==f&&d.push(new me(Pe,t.slice(s,f))),c=p+m,s=f+m,d.push(new me(ye,t.slice(f,s)))}),c!==a&&d.push(new me(Se,e.slice(c))),s!==i&&d.push(new me(Pe,t.slice(s))),[d,l]}function Vv(e,t,r){return t.reduce((n,o)=>n+(o[0]===ye?o[1]:o[0]===e&&o[1].length!==0?r(o[1]):""),"")}var uu=class{constructor(t,r){he(this,"op");he(this,"line");he(this,"lines");he(this,"changeColor");this.op=t,this.line=[],this.lines=[],this.changeColor=r}pushSubstring(t){this.pushDiff(new me(this.op,t))}pushLine(){this.lines.push(this.line.length!==1?new me(this.op,Vv(this.op,this.line,this.changeColor)):this.line[0][0]===this.op?this.line[0]:new me(this.op,this.line[0][1])),this.line.length=0}isLineEmpty(){return this.line.length===0}pushDiff(t){this.line.push(t)}align(t){let r=t[1];if(r.includes(` -`)){let n=r.split(` -`),o=n.length-1;n.forEach((a,i)=>{i<o?(this.pushSubstring(a),this.pushLine()):a.length!==0&&this.pushSubstring(a)})}else this.pushDiff(t)}moveLinesTo(t){this.isLineEmpty()||this.pushLine(),t.push(...this.lines),this.lines.length=0}},zv=class{constructor(t,r){he(this,"deleteBuffer");he(this,"insertBuffer");he(this,"lines");this.deleteBuffer=t,this.insertBuffer=r,this.lines=[]}pushDiffCommonLine(t){this.lines.push(t)}pushDiffChangeLines(t){let r=t[1].length===0;(!r||this.deleteBuffer.isLineEmpty())&&this.deleteBuffer.pushDiff(t),(!r||this.insertBuffer.isLineEmpty())&&this.insertBuffer.pushDiff(t)}flushChangeLines(){this.deleteBuffer.moveLinesTo(this.lines),this.insertBuffer.moveLinesTo(this.lines)}align(t){let r=t[0],n=t[1];if(n.includes(` -`)){let o=n.split(` -`),a=o.length-1;o.forEach((i,l)=>{if(l===0){let u=new me(r,i);this.deleteBuffer.isLineEmpty()&&this.insertBuffer.isLineEmpty()?(this.flushChangeLines(),this.pushDiffCommonLine(u)):(this.pushDiffChangeLines(u),this.flushChangeLines())}else l<a?this.pushDiffCommonLine(new me(r,i)):i.length!==0&&this.pushDiffChangeLines(new me(r,i))})}else this.pushDiffChangeLines(t)}getLines(){return this.flushChangeLines(),this.lines}};function Gv(e,t){let r=new uu(Se,t),n=new uu(Pe,t),o=new zv(r,n);return e.forEach(a=>{switch(a[0]){case Se:r.align(a);break;case Pe:n.align(a);break;default:o.align(a)}}),o.getLines()}function Wv(e,t){if(t){let r=e.length-1;return e.some((n,o)=>n[0]===ye&&(o!==r||n[1]!==` -`))}return e.some(r=>r[0]===ye)}function Kv(e,t,r){if(e!==t&&e.length!==0&&t.length!==0){let n=e.includes(` -`)||t.includes(` -`),[o,a]=op(n?`${e} -`:e,n?`${t} -`:t,!0,r);if(Wv(o,n)){let i=Jt(r),l=Gv(o,i.changeColor);return al(l,a,i)}}return mo(e.split(` -`),t.split(` -`),r)}function op(e,t,r,n){let[o,a]=Uv(e,t,n);return r&&Pv(o),[o,a]}function Xa(e,t){let{commonColor:r}=Jt(t);return r(e)}var{AsymmetricMatcher:Yv,DOMCollection:Jv,DOMElement:Xv,Immutable:Qv,ReactElement:Zv,ReactTestComponent:e0}=Vd,ap=[e0,Zv,Xv,Jv,Qv,Yv],Qa={plugins:ap},ip={callToJSON:!1,maxDepth:10,plugins:ap};function t0(e,t,r){if(Object.is(e,t))return"";let n=tu(e),o=n,a=!1;if(n==="object"&&typeof e.asymmetricMatch=="function"){if(e.$$typeof!==Symbol.for("jest.asymmetricMatcher")||typeof e.getExpectedType!="function")return;o=e.getExpectedType(),a=o==="string"}if(o!==tu(t)){let{aAnnotation:i,aColor:l,aIndicator:u,bAnnotation:c,bColor:s,bIndicator:d}=Jt(r),m=Za(ip,r),p=nt(e,m),f=nt(t,m),b=`${l(`${u} ${i}:`)} -${p}`,h=`${s(`${d} ${c}:`)} -${f}`;return`${b} - -${h}`}if(!a)switch(n){case"string":return mo(e.split(` -`),t.split(` -`),r);case"boolean":case"number":return r0(e,t,r);case"map":return Ea(cu(e),cu(t),r);case"set":return Ea(du(e),du(t),r);default:return Ea(e,t,r)}}function r0(e,t,r){let n=nt(e,Qa),o=nt(t,Qa);return n===o?"":mo(n.split(` -`),o.split(` -`),r)}function cu(e){return new Map(Array.from(e.entries()).sort())}function du(e){return new Set(Array.from(e.values()).sort())}function Ea(e,t,r){let n,o=!1;try{let i=Za(Qa,r);n=pu(e,t,i,r)}catch{o=!0}let a=Xa(Xd,r);if(n===void 0||n===a){let i=Za(ip,r);n=pu(e,t,i,r),n!==a&&!o&&(n=`${Xa(Av,r)} - -${n}`)}return n}function Za(e,t){let{compareKeys:r}=Jt(t);return{...e,compareKeys:r}}function pu(e,t,r,n){let o={...r,indent:0},a=nt(e,o),i=nt(t,o);if(a===i)return Xa(Xd,n);{let l=nt(e,r),u=nt(t,r);return Hv(l.split(` -`),u.split(` -`),a.split(` -`),i.split(` -`),n)}}var mu=2e4;function fu(e){return Ya(e)==="Object"&&typeof e.asymmetricMatch=="function"}function hu(e,t){let r=Ya(e),n=Ya(t);return r===n&&(r==="Object"||r==="Array")}function n0(e,t,r){let{aAnnotation:n,bAnnotation:o}=Jt(r);if(typeof e=="string"&&typeof t=="string"&&e.length>0&&t.length>0&&e.length<=mu&&t.length<=mu&&e!==t){if(e.includes(` -`)||t.includes(` -`))return Kv(t,e,r);let[c]=op(t,e,!0),s=c.some(f=>f[0]===ye),d=o0(n,o),m=d(n)+l0(bu(c,Se,s)),p=d(o)+i0(bu(c,Pe,s));return`${m} -${p}`}let a=eu(e,{forceWritable:!0}),i=eu(t,{forceWritable:!0}),{replacedExpected:l,replacedActual:u}=lp(a,i);return t0(l,u,r)}function lp(e,t,r=new WeakSet,n=new WeakSet){return hu(e,t)?r.has(e)||n.has(t)?{replacedActual:e,replacedExpected:t}:(r.add(e),n.add(t),Wd(t).forEach(o=>{let a=t[o],i=e[o];if(fu(a))a.asymmetricMatch(i)&&(e[o]=a);else if(fu(i))i.asymmetricMatch(a)&&(t[o]=i);else if(hu(i,a)){let l=lp(i,a,r,n);e[o]=l.replacedActual,t[o]=l.replacedExpected}}),{replacedActual:e,replacedExpected:t}):{replacedActual:e,replacedExpected:t}}function o0(...e){let t=e.reduce((r,n)=>n.length>r?n.length:r,0);return r=>`${r}: ${" ".repeat(t-r.length)}`}var a0="·";function sp(e){return e.replace(/\s+$/gm,t=>a0.repeat(t.length))}function i0(e){return ft.red(sp(Kr(e)))}function l0(e){return ft.green(sp(Kr(e)))}function bu(e,t,r){return e.reduce((n,o)=>n+(o[0]===ye?o[1]:o[0]===t?r?ft.inverse(o[1]):o[1]:""),"")}var s0="@@__IMMUTABLE_RECORD__@@",u0="@@__IMMUTABLE_ITERABLE__@@";function c0(e){return e&&(e[u0]||e[s0])}var d0=Object.getPrototypeOf({});function yu(e){return e instanceof Error?`<unserializable>: ${e.message}`:typeof e=="string"?`<unserializable>: ${e}`:"<unserializable>"}function ar(e,t=new WeakMap){if(!e||typeof e=="string")return e;if(typeof e=="function")return`Function<${e.name||"anonymous"}>`;if(typeof e=="symbol")return e.toString();if(typeof e!="object")return e;if(c0(e))return ar(e.toJSON(),t);if(e instanceof Promise||e.constructor&&e.constructor.prototype==="AsyncFunction")return"Promise";if(typeof Element<"u"&&e instanceof Element)return e.tagName;if(typeof e.asymmetricMatch=="function")return`${e.toString()} ${Rv(e.sample)}`;if(typeof e.toJSON=="function")return ar(e.toJSON(),t);if(t.has(e))return t.get(e);if(Array.isArray(e)){let r=new Array(e.length);return t.set(e,r),e.forEach((n,o)=>{try{r[o]=ar(n,t)}catch(a){r[o]=yu(a)}}),r}else{let r=Object.create(null);t.set(e,r);let n=e;for(;n&&n!==d0;)Object.getOwnPropertyNames(n).forEach(o=>{if(!(o in r))try{r[o]=ar(e[o],t)}catch(a){delete r[o],r[o]=yu(a)}}),n=Object.getPrototypeOf(n);return r}}function p0(e){return e.replace(/__(vite_ssr_import|vi_import)_\d+__\./g,"")}function up(e,t,r=new WeakSet){if(!e||typeof e!="object")return{message:String(e)};let n=e;n.stack&&(n.stackStr=String(n.stack)),n.name&&(n.nameStr=String(n.name)),(n.showDiff||n.showDiff===void 0&&n.expected!==void 0&&n.actual!==void 0)&&(n.diff=n0(n.actual,n.expected,{...t,...n.diffOptions})),typeof n.expected!="string"&&(n.expected=Kr(n.expected,10)),typeof n.actual!="string"&&(n.actual=Kr(n.actual,10));try{typeof n.message=="string"&&(n.message=p0(n.message))}catch{}try{!r.has(n)&&typeof n.cause=="object"&&(r.add(n),n.cause=up(n.cause,t,r))}catch{}try{return ar(n)}catch(o){return ar(new Error(`Failed to fully serialize error: ${o==null?void 0:o.message} -Inner error message: ${n==null?void 0:n.message}`))}}var m0=(e=>(e.DONE="done",e.ERROR="error",e.ACTIVE="active",e.WAITING="waiting",e))(m0||{}),dt={CALL:"storybook/instrumenter/call",SYNC:"storybook/instrumenter/sync",START:"storybook/instrumenter/start",BACK:"storybook/instrumenter/back",GOTO:"storybook/instrumenter/goto",NEXT:"storybook/instrumenter/next",END:"storybook/instrumenter/end"},gu={start:!1,back:!1,goto:!1,next:!1,end:!1},f0=new Error("This function ran after the play function completed. Did you forget to `await` it?"),vu=e=>Object.prototype.toString.call(e)==="[object Object]",h0=e=>Object.prototype.toString.call(e)==="[object Module]",b0=e=>{if(!vu(e)&&!h0(e))return!1;if(e.constructor===void 0)return!0;let t=e.constructor.prototype;return!!vu(t)},y0=e=>{try{return new e.constructor}catch{return{}}},Pa=()=>({renderPhase:void 0,isDebugging:!1,isPlaying:!1,isLocked:!1,cursor:0,calls:[],shadowCalls:[],callRefsByResult:new Map,chainedCallIds:new Set,ancestors:[],playUntil:void 0,resolvers:{},syncTimeout:void 0}),_u=(e,t=!1)=>{let r=(t?e.shadowCalls:e.calls).filter(o=>o.retain);if(!r.length)return;let n=new Map(Array.from(e.callRefsByResult.entries()).filter(([,o])=>o.retain));return{cursor:r.length,calls:r,callRefsByResult:n}},g0=class{constructor(){var i;this.initialized=!1,this.channel=Oy.getChannel(),this.state=((i=$e.window)==null?void 0:i.parent.__STORYBOOK_ADDON_INTERACTIONS_INSTRUMENTER_STATE__)||{};let e=({storyId:l,isPlaying:u=!0,isDebugging:c=!1})=>{let s=this.getState(l);this.setState(l,{...Pa(),..._u(s,c),shadowCalls:c?s.shadowCalls:[],chainedCallIds:c?s.chainedCallIds:new Set,playUntil:c?s.playUntil:void 0,isPlaying:u,isDebugging:c}),this.sync(l)};this.channel.on(Ms,e),this.channel.on(Ey,({storyId:l,newPhase:u})=>{let{isDebugging:c}=this.getState(l);this.setState(l,{renderPhase:u}),u==="preparing"&&c&&e({storyId:l}),u==="playing"&&e({storyId:l,isDebugging:c}),u==="played"&&this.setState(l,{isLocked:!1,isPlaying:!1,isDebugging:!1}),u==="errored"&&this.setState(l,{isLocked:!1,isPlaying:!1})}),this.channel.on(Py,()=>{this.initialized?this.cleanup():this.initialized=!0});let t=({storyId:l,playUntil:u})=>{this.getState(l).isDebugging||this.setState(l,({calls:s})=>({calls:[],shadowCalls:s.map(d=>({...d,status:"waiting"})),isDebugging:!0}));let c=this.getLog(l);this.setState(l,({shadowCalls:s})=>{var m;if(u||!c.length)return{playUntil:u};let d=s.findIndex(p=>p.id===c[0].callId);return{playUntil:(m=s.slice(0,d).filter(p=>{var f;return p.interceptable&&!((f=p.ancestors)!=null&&f.length)}).slice(-1)[0])==null?void 0:m.id}}),this.channel.emit(Ms,{storyId:l,isDebugging:!0})},r=({storyId:l})=>{var s;let u=this.getLog(l).filter(d=>{var m;return!((m=d.ancestors)!=null&&m.length)}),c=u.reduceRight((d,m,p)=>d>=0||m.status==="waiting"?d:p,-1);t({storyId:l,playUntil:(s=u[c-1])==null?void 0:s.callId})},n=({storyId:l,callId:u})=>{var f;let{calls:c,shadowCalls:s,resolvers:d}=this.getState(l),m=c.find(({id:b})=>b===u),p=s.find(({id:b})=>b===u);if(!m&&p&&Object.values(d).length>0){let b=(f=this.getLog(l).find(h=>h.status==="waiting"))==null?void 0:f.callId;p.id!==b&&this.setState(l,{playUntil:p.id}),Object.values(d).forEach(h=>h())}else t({storyId:l,playUntil:u})},o=({storyId:l})=>{var c;let{resolvers:u}=this.getState(l);if(Object.values(u).length>0)Object.values(u).forEach(s=>s());else{let s=(c=this.getLog(l).find(d=>d.status==="waiting"))==null?void 0:c.callId;s?t({storyId:l,playUntil:s}):a({storyId:l})}},a=({storyId:l})=>{this.setState(l,{playUntil:void 0,isDebugging:!1}),Object.values(this.getState(l).resolvers).forEach(u=>u())};this.channel.on(dt.START,t),this.channel.on(dt.BACK,r),this.channel.on(dt.GOTO,n),this.channel.on(dt.NEXT,o),this.channel.on(dt.END,a)}getState(e){return this.state[e]||Pa()}setState(e,t){var o;let r=this.getState(e),n=typeof t=="function"?t(r):t;this.state={...this.state,[e]:{...r,...n}},(o=$e.window)!=null&&o.parent&&($e.window.parent.__STORYBOOK_ADDON_INTERACTIONS_INSTRUMENTER_STATE__=this.state)}cleanup(){var t;this.state=Object.entries(this.state).reduce((r,[n,o])=>{let a=_u(o);return a&&(r[n]=Object.assign(Pa(),a)),r},{});let e={controlStates:gu,logItems:[]};this.channel.emit(dt.SYNC,e),(t=$e.window)!=null&&t.parent&&($e.window.parent.__STORYBOOK_ADDON_INTERACTIONS_INSTRUMENTER_STATE__=this.state)}getLog(e){let{calls:t,shadowCalls:r}=this.getState(e),n=[...r];t.forEach((a,i)=>{n[i]=a});let o=new Set;return n.reduceRight((a,i)=>(i.args.forEach(l=>{l!=null&&l.__callId__&&o.add(l.__callId__)}),i.path.forEach(l=>{l.__callId__&&o.add(l.__callId__)}),(i.interceptable||i.exception)&&!o.has(i.id)&&(a.unshift({callId:i.id,status:i.status,ancestors:i.ancestors}),o.add(i.id)),a),[])}instrument(e,t,r=0){if(!b0(e))return e;let{mutate:n=!1,path:o=[]}=t,a=t.getKeys?t.getKeys(e,r):Object.keys(e);return r+=1,a.reduce((i,l)=>{let u=v0(e,l);if(typeof(u==null?void 0:u.get)=="function"){let s=()=>{var d,m;return(m=(d=u==null?void 0:u.get)==null?void 0:d.bind(e))==null?void 0:m()};return Object.defineProperty(i,l,{get:()=>this.instrument(s(),{...t,path:o.concat(l)},r)}),i}let c=e[l];return typeof c!="function"?(i[l]=this.instrument(c,{...t,path:o.concat(l)},r),i):"__originalFn__"in c&&typeof c.__originalFn__=="function"?(i[l]=c,i):(i[l]=(...s)=>this.track(l,c,e,s,t),i[l].__originalFn__=c,Object.defineProperty(i[l],"name",{value:l,writable:!1}),Object.keys(c).length>0&&Object.assign(i[l],this.instrument({...c},{...t,path:o.concat(l)},r)),i)},n?e:y0(e))}track(e,t,r,n,o){var b,h,y,g;let a=((b=n==null?void 0:n[0])==null?void 0:b.__storyId__)||((g=(y=(h=$e.__STORYBOOK_PREVIEW__)==null?void 0:h.selectionStore)==null?void 0:y.selection)==null?void 0:g.storyId),{cursor:i,ancestors:l}=this.getState(a);this.setState(a,{cursor:i+1});let u=`${l.slice(-1)[0]||a} [${i}] ${e}`,{path:c=[],intercept:s=!1,retain:d=!1}=o,m=typeof s=="function"?s(e,c):s,p={id:u,cursor:i,storyId:a,ancestors:l,path:c,method:e,args:n,interceptable:m,retain:d},f=(m&&!l.length?this.intercept:this.invoke).call(this,t,r,p,o);return this.instrument(f,{...o,mutate:!0,path:[{__callId__:p.id}]})}intercept(e,t,r,n){let{chainedCallIds:o,isDebugging:a,playUntil:i}=this.getState(r.storyId),l=o.has(r.id);return!a||l||i?(i===r.id&&this.setState(r.storyId,{playUntil:void 0}),this.invoke(e,t,r,n)):new Promise(u=>{this.setState(r.storyId,({resolvers:c})=>({isLocked:!1,resolvers:{...c,[r.id]:u}}))}).then(()=>(this.setState(r.storyId,u=>{let{[r.id]:c,...s}=u.resolvers;return{isLocked:!0,resolvers:s}}),this.invoke(e,t,r,n)))}invoke(e,t,r,n){let{callRefsByResult:o,renderPhase:a}=this.getState(r.storyId),i=25,l=(s,d,m)=>{var p,f,b;if(m.includes(s))return"[Circular]";if(m=[...m,s],d>i)return"...";if(o.has(s))return o.get(s);if(s instanceof Array)return s.map(h=>l(h,++d,m));if(s instanceof Date)return{__date__:{value:s.toISOString()}};if(s instanceof Error){let{name:h,message:y,stack:g}=s;return{__error__:{name:h,message:y,stack:g}}}if(s instanceof RegExp){let{flags:h,source:y}=s;return{__regexp__:{flags:h,source:y}}}if(s instanceof((p=$e.window)==null?void 0:p.HTMLElement)){let{prefix:h,localName:y,id:g,classList:E,innerText:C}=s,q=Array.from(E);return{__element__:{prefix:h,localName:y,id:g,classNames:q,innerText:C}}}return typeof s=="function"?{__function__:{name:"getMockName"in s?s.getMockName():s.name}}:typeof s=="symbol"?{__symbol__:{description:s.description}}:typeof s=="object"&&((f=s==null?void 0:s.constructor)!=null&&f.name)&&((b=s==null?void 0:s.constructor)==null?void 0:b.name)!=="Object"?{__class__:{name:s.constructor.name}}:Object.prototype.toString.call(s)==="[object Object]"?Object.fromEntries(Object.entries(s).map(([h,y])=>[h,l(y,++d,m)])):s},u={...r,args:r.args.map(s=>l(s,0,[]))};r.path.forEach(s=>{s!=null&&s.__callId__&&this.setState(r.storyId,({chainedCallIds:d})=>({chainedCallIds:new Set(Array.from(d).concat(s.__callId__))}))});let c=s=>{var d;if(s instanceof Error){let{name:m,message:p,stack:f,callId:b=r.id}=s,{showDiff:h=void 0,diff:y=void 0,actual:g=void 0,expected:E=void 0}=s.name==="AssertionError"?up(s):s,C={name:m,message:p,stack:f,callId:b,showDiff:h,diff:y,actual:g,expected:E};if(this.update({...u,status:"error",exception:C}),this.setState(r.storyId,q=>({callRefsByResult:new Map([...Array.from(q.callRefsByResult.entries()),[s,{__callId__:r.id,retain:r.retain}]])})),(d=r.ancestors)==null?void 0:d.length)throw Object.prototype.hasOwnProperty.call(s,"callId")||Object.defineProperty(s,"callId",{value:r.id}),s}throw s};try{if(a==="played"&&!r.retain)throw f0;let s=(n.getArgs?n.getArgs(r,this.getState(r.storyId)):r.args).map(m=>typeof m!="function"||Object.keys(m).length?m:(...p)=>{let{cursor:f,ancestors:b}=this.getState(r.storyId);this.setState(r.storyId,{cursor:0,ancestors:[...b,r.id]});let h=()=>this.setState(r.storyId,{cursor:f,ancestors:b}),y=!1;try{let g=m(...p);return g instanceof Promise?(y=!0,g.finally(h)):g}finally{y||h()}}),d=e.apply(t,s);return d&&["object","function","symbol"].includes(typeof d)&&this.setState(r.storyId,m=>({callRefsByResult:new Map([...Array.from(m.callRefsByResult.entries()),[d,{__callId__:r.id,retain:r.retain}]])})),this.update({...u,status:d instanceof Promise?"active":"done"}),d instanceof Promise?d.then(m=>(this.update({...u,status:"done"}),m),c):d}catch(s){return c(s)}}update(e){this.channel.emit(dt.CALL,e),this.setState(e.storyId,({calls:t})=>{let r=t.concat(e).reduce((n,o)=>Object.assign(n,{[o.id]:o}),{});return{calls:Object.values(r).sort((n,o)=>n.id.localeCompare(o.id,void 0,{numeric:!0}))}}),this.sync(e.storyId)}sync(e){let t=()=>{var c;let{isLocked:r,isPlaying:n}=this.getState(e),o=this.getLog(e),a=(c=o.filter(({ancestors:s})=>!s.length).find(s=>s.status==="waiting"))==null?void 0:c.callId,i=o.some(s=>s.status==="active");if(r||i||o.length===0){let s={controlStates:gu,logItems:o};this.channel.emit(dt.SYNC,s);return}let l=o.some(s=>s.status==="done"||s.status==="error"),u={controlStates:{start:l,back:l,goto:!0,next:n,end:n},logItems:o,pausedAt:a};this.channel.emit(dt.SYNC,u)};this.setState(e,({syncTimeout:r})=>(clearTimeout(r),{syncTimeout:setTimeout(t,0)}))}};function il(e,t={}){var r,n,o,a,i,l,u,c;try{let s=!1,d=!1;return(o=(n=(r=$e.window)==null?void 0:r.location)==null?void 0:n.search)!=null&&o.includes("instrument=true")?s=!0:(l=(i=(a=$e.window)==null?void 0:a.location)==null?void 0:i.search)!=null&&l.includes("instrument=false")&&(d=!0),((u=$e.window)==null?void 0:u.parent)===$e.window&&!s||d?e:($e.window&&!$e.window.__STORYBOOK_ADDON_INTERACTIONS_INSTRUMENTER__&&($e.window.__STORYBOOK_ADDON_INTERACTIONS_INSTRUMENTER__=new g0),((c=$e.window)==null?void 0:c.__STORYBOOK_ADDON_INTERACTIONS_INSTRUMENTER__).instrument(e,t))}catch(s){return qy.warn(s),e}}function v0(e,t){let r=e;for(;r!=null;){let n=Object.getOwnPropertyDescriptor(r,t);if(n)return n;r=Object.getPrototypeOf(r)}}const{global:cp}=__STORYBOOK_MODULE_GLOBAL__,{once:_0}=__STORYBOOK_MODULE_CLIENT_LOGGER__;var R0=Object.create,ll=Object.defineProperty,w0=Object.getOwnPropertyDescriptor,dp=Object.getOwnPropertyNames,C0=Object.getPrototypeOf,q0=Object.prototype.hasOwnProperty,E0=(e=>typeof require<"u"?require:typeof Proxy<"u"?new Proxy(e,{get:(t,r)=>(typeof require<"u"?require:t)[r]}):e)(function(e){if(typeof require<"u")return require.apply(this,arguments);throw Error('Dynamic require of "'+e+'" is not supported')}),R=(e,t)=>function(){return t||(0,e[dp(e)[0]])((t={exports:{}}).exports,t),t.exports},sl=(e,t)=>{for(var r in t)ll(e,r,{get:t[r],enumerable:!0})},P0=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of dp(t))!q0.call(e,o)&&o!==r&&ll(e,o,{get:()=>t[o],enumerable:!(n=w0(t,o))||n.enumerable});return e},Fe=(e,t,r)=>(r=e!=null?R0(C0(e)):{},P0(t||!e||!e.__esModule?ll(r,"default",{value:e,enumerable:!0}):r,e)),O0=R({"../../node_modules/min-indent/index.js"(e,t){t.exports=r=>{let n=r.match(/^[ \t]*(?=\S)/gm);return n?n.reduce((o,a)=>Math.min(o,a.length),1/0):0}}}),T0=R({"../../node_modules/strip-indent/index.js"(e,t){var r=O0();t.exports=n=>{let o=r(n);if(o===0)return n;let a=new RegExp(`^[ \\t]{${o}}`,"gm");return n.replace(a,"")}}}),S0=R({"../../node_modules/indent-string/index.js"(e,t){t.exports=(r,n=1,o)=>{if(o={indent:" ",includeEmptyLines:!1,...o},typeof r!="string")throw new TypeError(`Expected \`input\` to be a \`string\`, got \`${typeof r}\``);if(typeof n!="number")throw new TypeError(`Expected \`count\` to be a \`number\`, got \`${typeof n}\``);if(typeof o.indent!="string")throw new TypeError(`Expected \`options.indent\` to be a \`string\`, got \`${typeof o.indent}\``);if(n===0)return r;let a=o.includeEmptyLines?/^/gm:/^(?!\s*$)/gm;return r.replace(a,o.indent.repeat(n))}}}),pp=R({"../../node_modules/redent/index.js"(e,t){var r=T0(),n=S0();t.exports=(o,a=0,i)=>n(r(o),a,i)}}),A0=R({"../../node_modules/aria-query/lib/util/iteratorProxy.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;function t(){var r=this,n=0,o={"@@iterator":function(){return o},next:function(){if(n<r.length){var a=r[n];return n=n+1,{done:!1,value:a}}else return{done:!0}}};return o}e.default=t}}),pn=R({"../../node_modules/aria-query/lib/util/iterationDecorator.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=o;var t=r(A0());function r(a){return a&&a.__esModule?a:{default:a}}function n(a){"@babel/helpers - typeof";return n=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(i){return typeof i}:function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},n(a)}function o(a,i){return typeof Symbol=="function"&&n(Symbol.iterator)==="symbol"&&Object.defineProperty(a,Symbol.iterator,{value:t.default.bind(i)}),a}}}),M0=R({"../../node_modules/aria-query/lib/ariaPropsMap.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=r(pn());function r(d){return d&&d.__esModule?d:{default:d}}function n(d,m){return u(d)||l(d,m)||a(d,m)||o()}function o(){throw new TypeError(`Invalid attempt to destructure non-iterable instance. -In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function a(d,m){if(d){if(typeof d=="string")return i(d,m);var p={}.toString.call(d).slice(8,-1);return p==="Object"&&d.constructor&&(p=d.constructor.name),p==="Map"||p==="Set"?Array.from(d):p==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(p)?i(d,m):void 0}}function i(d,m){(m==null||m>d.length)&&(m=d.length);for(var p=0,f=Array(m);p<m;p++)f[p]=d[p];return f}function l(d,m){var p=d==null?null:typeof Symbol<"u"&&d[Symbol.iterator]||d["@@iterator"];if(p!=null){var f,b,h,y,g=[],E=!0,C=!1;try{if(h=(p=p.call(d)).next,m===0){if(Object(p)!==p)return;E=!1}else for(;!(E=(f=h.call(p)).done)&&(g.push(f.value),g.length!==m);E=!0);}catch(q){C=!0,b=q}finally{try{if(!E&&p.return!=null&&(y=p.return(),Object(y)!==y))return}finally{if(C)throw b}}return g}}function u(d){if(Array.isArray(d))return d}var c=[["aria-activedescendant",{type:"id"}],["aria-atomic",{type:"boolean"}],["aria-autocomplete",{type:"token",values:["inline","list","both","none"]}],["aria-braillelabel",{type:"string"}],["aria-brailleroledescription",{type:"string"}],["aria-busy",{type:"boolean"}],["aria-checked",{type:"tristate"}],["aria-colcount",{type:"integer"}],["aria-colindex",{type:"integer"}],["aria-colspan",{type:"integer"}],["aria-controls",{type:"idlist"}],["aria-current",{type:"token",values:["page","step","location","date","time",!0,!1]}],["aria-describedby",{type:"idlist"}],["aria-description",{type:"string"}],["aria-details",{type:"id"}],["aria-disabled",{type:"boolean"}],["aria-dropeffect",{type:"tokenlist",values:["copy","execute","link","move","none","popup"]}],["aria-errormessage",{type:"id"}],["aria-expanded",{type:"boolean",allowundefined:!0}],["aria-flowto",{type:"idlist"}],["aria-grabbed",{type:"boolean",allowundefined:!0}],["aria-haspopup",{type:"token",values:[!1,!0,"menu","listbox","tree","grid","dialog"]}],["aria-hidden",{type:"boolean",allowundefined:!0}],["aria-invalid",{type:"token",values:["grammar",!1,"spelling",!0]}],["aria-keyshortcuts",{type:"string"}],["aria-label",{type:"string"}],["aria-labelledby",{type:"idlist"}],["aria-level",{type:"integer"}],["aria-live",{type:"token",values:["assertive","off","polite"]}],["aria-modal",{type:"boolean"}],["aria-multiline",{type:"boolean"}],["aria-multiselectable",{type:"boolean"}],["aria-orientation",{type:"token",values:["vertical","undefined","horizontal"]}],["aria-owns",{type:"idlist"}],["aria-placeholder",{type:"string"}],["aria-posinset",{type:"integer"}],["aria-pressed",{type:"tristate"}],["aria-readonly",{type:"boolean"}],["aria-relevant",{type:"tokenlist",values:["additions","all","removals","text"]}],["aria-required",{type:"boolean"}],["aria-roledescription",{type:"string"}],["aria-rowcount",{type:"integer"}],["aria-rowindex",{type:"integer"}],["aria-rowspan",{type:"integer"}],["aria-selected",{type:"boolean",allowundefined:!0}],["aria-setsize",{type:"integer"}],["aria-sort",{type:"token",values:["ascending","descending","none","other"]}],["aria-valuemax",{type:"number"}],["aria-valuemin",{type:"number"}],["aria-valuenow",{type:"number"}],["aria-valuetext",{type:"string"}]],s={entries:function(){return c},forEach:function(d){for(var m=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,p=0,f=c;p<f.length;p++){var b=n(f[p],2),h=b[0],y=b[1];d.call(m,y,h,c)}},get:function(d){var m=c.filter(function(p){return p[0]===d})[0];return m&&m[1]},has:function(d){return!!s.get(d)},keys:function(){return c.map(function(d){var m=n(d,1),p=m[0];return p})},values:function(){return c.map(function(d){var m=n(d,2),p=m[1];return p})}};e.default=(0,t.default)(s,s.entries())}}),x0=R({"../../node_modules/aria-query/lib/domMap.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=r(pn());function r(d){return d&&d.__esModule?d:{default:d}}function n(d,m){return u(d)||l(d,m)||a(d,m)||o()}function o(){throw new TypeError(`Invalid attempt to destructure non-iterable instance. -In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function a(d,m){if(d){if(typeof d=="string")return i(d,m);var p={}.toString.call(d).slice(8,-1);return p==="Object"&&d.constructor&&(p=d.constructor.name),p==="Map"||p==="Set"?Array.from(d):p==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(p)?i(d,m):void 0}}function i(d,m){(m==null||m>d.length)&&(m=d.length);for(var p=0,f=Array(m);p<m;p++)f[p]=d[p];return f}function l(d,m){var p=d==null?null:typeof Symbol<"u"&&d[Symbol.iterator]||d["@@iterator"];if(p!=null){var f,b,h,y,g=[],E=!0,C=!1;try{if(h=(p=p.call(d)).next,m===0){if(Object(p)!==p)return;E=!1}else for(;!(E=(f=h.call(p)).done)&&(g.push(f.value),g.length!==m);E=!0);}catch(q){C=!0,b=q}finally{try{if(!E&&p.return!=null&&(y=p.return(),Object(y)!==y))return}finally{if(C)throw b}}return g}}function u(d){if(Array.isArray(d))return d}var c=[["a",{reserved:!1}],["abbr",{reserved:!1}],["acronym",{reserved:!1}],["address",{reserved:!1}],["applet",{reserved:!1}],["area",{reserved:!1}],["article",{reserved:!1}],["aside",{reserved:!1}],["audio",{reserved:!1}],["b",{reserved:!1}],["base",{reserved:!0}],["bdi",{reserved:!1}],["bdo",{reserved:!1}],["big",{reserved:!1}],["blink",{reserved:!1}],["blockquote",{reserved:!1}],["body",{reserved:!1}],["br",{reserved:!1}],["button",{reserved:!1}],["canvas",{reserved:!1}],["caption",{reserved:!1}],["center",{reserved:!1}],["cite",{reserved:!1}],["code",{reserved:!1}],["col",{reserved:!0}],["colgroup",{reserved:!0}],["content",{reserved:!1}],["data",{reserved:!1}],["datalist",{reserved:!1}],["dd",{reserved:!1}],["del",{reserved:!1}],["details",{reserved:!1}],["dfn",{reserved:!1}],["dialog",{reserved:!1}],["dir",{reserved:!1}],["div",{reserved:!1}],["dl",{reserved:!1}],["dt",{reserved:!1}],["em",{reserved:!1}],["embed",{reserved:!1}],["fieldset",{reserved:!1}],["figcaption",{reserved:!1}],["figure",{reserved:!1}],["font",{reserved:!1}],["footer",{reserved:!1}],["form",{reserved:!1}],["frame",{reserved:!1}],["frameset",{reserved:!1}],["h1",{reserved:!1}],["h2",{reserved:!1}],["h3",{reserved:!1}],["h4",{reserved:!1}],["h5",{reserved:!1}],["h6",{reserved:!1}],["head",{reserved:!0}],["header",{reserved:!1}],["hgroup",{reserved:!1}],["hr",{reserved:!1}],["html",{reserved:!0}],["i",{reserved:!1}],["iframe",{reserved:!1}],["img",{reserved:!1}],["input",{reserved:!1}],["ins",{reserved:!1}],["kbd",{reserved:!1}],["keygen",{reserved:!1}],["label",{reserved:!1}],["legend",{reserved:!1}],["li",{reserved:!1}],["link",{reserved:!0}],["main",{reserved:!1}],["map",{reserved:!1}],["mark",{reserved:!1}],["marquee",{reserved:!1}],["menu",{reserved:!1}],["menuitem",{reserved:!1}],["meta",{reserved:!0}],["meter",{reserved:!1}],["nav",{reserved:!1}],["noembed",{reserved:!0}],["noscript",{reserved:!0}],["object",{reserved:!1}],["ol",{reserved:!1}],["optgroup",{reserved:!1}],["option",{reserved:!1}],["output",{reserved:!1}],["p",{reserved:!1}],["param",{reserved:!0}],["picture",{reserved:!0}],["pre",{reserved:!1}],["progress",{reserved:!1}],["q",{reserved:!1}],["rp",{reserved:!1}],["rt",{reserved:!1}],["rtc",{reserved:!1}],["ruby",{reserved:!1}],["s",{reserved:!1}],["samp",{reserved:!1}],["script",{reserved:!0}],["section",{reserved:!1}],["select",{reserved:!1}],["small",{reserved:!1}],["source",{reserved:!0}],["spacer",{reserved:!1}],["span",{reserved:!1}],["strike",{reserved:!1}],["strong",{reserved:!1}],["style",{reserved:!0}],["sub",{reserved:!1}],["summary",{reserved:!1}],["sup",{reserved:!1}],["table",{reserved:!1}],["tbody",{reserved:!1}],["td",{reserved:!1}],["textarea",{reserved:!1}],["tfoot",{reserved:!1}],["th",{reserved:!1}],["thead",{reserved:!1}],["time",{reserved:!1}],["title",{reserved:!0}],["tr",{reserved:!1}],["track",{reserved:!0}],["tt",{reserved:!1}],["u",{reserved:!1}],["ul",{reserved:!1}],["var",{reserved:!1}],["video",{reserved:!1}],["wbr",{reserved:!1}],["xmp",{reserved:!1}]],s={entries:function(){return c},forEach:function(d){for(var m=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,p=0,f=c;p<f.length;p++){var b=n(f[p],2),h=b[0],y=b[1];d.call(m,y,h,c)}},get:function(d){var m=c.filter(function(p){return p[0]===d})[0];return m&&m[1]},has:function(d){return!!s.get(d)},keys:function(){return c.map(function(d){var m=n(d,1),p=m[0];return p})},values:function(){return c.map(function(d){var m=n(d,2),p=m[1];return p})}};e.default=(0,t.default)(s,s.entries())}}),j0=R({"../../node_modules/aria-query/lib/etc/roles/abstract/commandRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget"]]};e.default=t}}),N0=R({"../../node_modules/aria-query/lib/etc/roles/abstract/compositeRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-activedescendant":null,"aria-disabled":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget"]]};e.default=t}}),$0=R({"../../node_modules/aria-query/lib/etc/roles/abstract/inputRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null},relatedConcepts:[{concept:{name:"input"},module:"XForms"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget"]]};e.default=t}}),I0=R({"../../node_modules/aria-query/lib/etc/roles/abstract/landmarkRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),B0=R({"../../node_modules/aria-query/lib/etc/roles/abstract/rangeRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-valuemax":null,"aria-valuemin":null,"aria-valuenow":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]};e.default=t}}),k0=R({"../../node_modules/aria-query/lib/etc/roles/abstract/roletypeRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{"aria-atomic":null,"aria-busy":null,"aria-controls":null,"aria-current":null,"aria-describedby":null,"aria-details":null,"aria-dropeffect":null,"aria-flowto":null,"aria-grabbed":null,"aria-hidden":null,"aria-keyshortcuts":null,"aria-label":null,"aria-labelledby":null,"aria-live":null,"aria-owns":null,"aria-relevant":null,"aria-roledescription":null},relatedConcepts:[{concept:{name:"role"},module:"XHTML"},{concept:{name:"type"},module:"Dublin Core"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[]};e.default=t}}),L0=R({"../../node_modules/aria-query/lib/etc/roles/abstract/sectionRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"frontmatter"},module:"DTB"},{concept:{name:"level"},module:"DTB"},{concept:{name:"level"},module:"SMIL"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]};e.default=t}}),D0=R({"../../node_modules/aria-query/lib/etc/roles/abstract/sectionheadRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]};e.default=t}}),F0=R({"../../node_modules/aria-query/lib/etc/roles/abstract/selectRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-orientation":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","composite"],["roletype","structure","section","group"]]};e.default=t}}),H0=R({"../../node_modules/aria-query/lib/etc/roles/abstract/structureRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype"]]};e.default=t}}),U0=R({"../../node_modules/aria-query/lib/etc/roles/abstract/widgetRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype"]]};e.default=t}}),V0=R({"../../node_modules/aria-query/lib/etc/roles/abstract/windowRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-modal":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype"]]};e.default=t}}),z0=R({"../../node_modules/aria-query/lib/etc/roles/ariaAbstractRoles.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=p(j0()),r=p(N0()),n=p($0()),o=p(I0()),a=p(B0()),i=p(k0()),l=p(L0()),u=p(D0()),c=p(F0()),s=p(H0()),d=p(U0()),m=p(V0());function p(b){return b&&b.__esModule?b:{default:b}}var f=[["command",t.default],["composite",r.default],["input",n.default],["landmark",o.default],["range",a.default],["roletype",i.default],["section",l.default],["sectionhead",u.default],["select",c.default],["structure",s.default],["widget",d.default],["window",m.default]];e.default=f}}),G0=R({"../../node_modules/aria-query/lib/etc/roles/literal/alertRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-atomic":"true","aria-live":"assertive"},relatedConcepts:[{concept:{name:"alert"},module:"XForms"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),W0=R({"../../node_modules/aria-query/lib/etc/roles/literal/alertdialogRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"alert"},module:"XForms"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","alert"],["roletype","window","dialog"]]};e.default=t}}),K0=R({"../../node_modules/aria-query/lib/etc/roles/literal/applicationRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-activedescendant":null,"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"Device Independence Delivery Unit"}}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]};e.default=t}}),Y0=R({"../../node_modules/aria-query/lib/etc/roles/literal/articleRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-posinset":null,"aria-setsize":null},relatedConcepts:[{concept:{name:"article"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","document"]]};e.default=t}}),J0=R({"../../node_modules/aria-query/lib/etc/roles/literal/bannerRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{constraints:["scoped to the body element"],name:"header"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}}),X0=R({"../../node_modules/aria-query/lib/etc/roles/literal/blockquoteRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"blockquote"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),Q0=R({"../../node_modules/aria-query/lib/etc/roles/literal/buttonRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-disabled":null,"aria-expanded":null,"aria-haspopup":null,"aria-pressed":null},relatedConcepts:[{concept:{attributes:[{name:"type",value:"button"}],name:"input"},module:"HTML"},{concept:{attributes:[{name:"type",value:"image"}],name:"input"},module:"HTML"},{concept:{attributes:[{name:"type",value:"reset"}],name:"input"},module:"HTML"},{concept:{attributes:[{name:"type",value:"submit"}],name:"input"},module:"HTML"},{concept:{name:"button"},module:"HTML"},{concept:{name:"trigger"},module:"XForms"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command"]]};e.default=t}}),Z0=R({"../../node_modules/aria-query/lib/etc/roles/literal/captionRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"caption"},module:"HTML"}],requireContextRole:["figure","grid","table"],requiredContextRole:["figure","grid","table"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),e1=R({"../../node_modules/aria-query/lib/etc/roles/literal/cellRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-colindex":null,"aria-colspan":null,"aria-rowindex":null,"aria-rowspan":null},relatedConcepts:[{concept:{constraints:["ancestor table element has table role"],name:"td"},module:"HTML"}],requireContextRole:["row"],requiredContextRole:["row"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),t1=R({"../../node_modules/aria-query/lib/etc/roles/literal/checkboxRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-checked":null,"aria-errormessage":null,"aria-expanded":null,"aria-invalid":null,"aria-readonly":null,"aria-required":null},relatedConcepts:[{concept:{attributes:[{name:"type",value:"checkbox"}],name:"input"},module:"HTML"},{concept:{name:"option"},module:"ARIA"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-checked":null},superClass:[["roletype","widget","input"]]};e.default=t}}),r1=R({"../../node_modules/aria-query/lib/etc/roles/literal/codeRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"code"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),n1=R({"../../node_modules/aria-query/lib/etc/roles/literal/columnheaderRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-sort":null},relatedConcepts:[{concept:{name:"th"},module:"HTML"},{concept:{attributes:[{name:"scope",value:"col"}],name:"th"},module:"HTML"},{concept:{attributes:[{name:"scope",value:"colgroup"}],name:"th"},module:"HTML"}],requireContextRole:["row"],requiredContextRole:["row"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","cell"],["roletype","structure","section","cell","gridcell"],["roletype","widget","gridcell"],["roletype","structure","sectionhead"]]};e.default=t}}),o1=R({"../../node_modules/aria-query/lib/etc/roles/literal/comboboxRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-activedescendant":null,"aria-autocomplete":null,"aria-errormessage":null,"aria-invalid":null,"aria-readonly":null,"aria-required":null,"aria-expanded":"false","aria-haspopup":"listbox"},relatedConcepts:[{concept:{attributes:[{constraints:["set"],name:"list"},{name:"type",value:"email"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"list"},{name:"type",value:"search"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"list"},{name:"type",value:"tel"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"list"},{name:"type",value:"text"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"list"},{name:"type",value:"url"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"list"},{name:"type",value:"url"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"multiple"},{constraints:["undefined"],name:"size"}],constraints:["the multiple attribute is not set and the size attribute does not have a value greater than 1"],name:"select"},module:"HTML"},{concept:{name:"select"},module:"XForms"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-controls":null,"aria-expanded":"false"},superClass:[["roletype","widget","input"]]};e.default=t}}),a1=R({"../../node_modules/aria-query/lib/etc/roles/literal/complementaryRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{constraints:["scoped to the body element","scoped to the main element"],name:"aside"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"aria-label"}],constraints:["scoped to a sectioning content element","scoped to a sectioning root element other than body"],name:"aside"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"aria-labelledby"}],constraints:["scoped to a sectioning content element","scoped to a sectioning root element other than body"],name:"aside"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}}),i1=R({"../../node_modules/aria-query/lib/etc/roles/literal/contentinfoRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{constraints:["scoped to the body element"],name:"footer"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}}),l1=R({"../../node_modules/aria-query/lib/etc/roles/literal/definitionRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"dd"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),s1=R({"../../node_modules/aria-query/lib/etc/roles/literal/deletionRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"del"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),u1=R({"../../node_modules/aria-query/lib/etc/roles/literal/dialogRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"dialog"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","window"]]};e.default=t}}),c1=R({"../../node_modules/aria-query/lib/etc/roles/literal/directoryRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{module:"DAISY Guide"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","list"]]};e.default=t}}),d1=R({"../../node_modules/aria-query/lib/etc/roles/literal/documentRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"Device Independence Delivery Unit"}},{concept:{name:"html"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]};e.default=t}}),p1=R({"../../node_modules/aria-query/lib/etc/roles/literal/emphasisRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"em"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),m1=R({"../../node_modules/aria-query/lib/etc/roles/literal/feedRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["article"]],requiredProps:{},superClass:[["roletype","structure","section","list"]]};e.default=t}}),f1=R({"../../node_modules/aria-query/lib/etc/roles/literal/figureRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"figure"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),h1=R({"../../node_modules/aria-query/lib/etc/roles/literal/formRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{attributes:[{constraints:["set"],name:"aria-label"}],name:"form"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"aria-labelledby"}],name:"form"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"name"}],name:"form"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}}),b1=R({"../../node_modules/aria-query/lib/etc/roles/literal/genericRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"a"},module:"HTML"},{concept:{name:"area"},module:"HTML"},{concept:{name:"aside"},module:"HTML"},{concept:{name:"b"},module:"HTML"},{concept:{name:"bdo"},module:"HTML"},{concept:{name:"body"},module:"HTML"},{concept:{name:"data"},module:"HTML"},{concept:{name:"div"},module:"HTML"},{concept:{constraints:["scoped to the main element","scoped to a sectioning content element","scoped to a sectioning root element other than body"],name:"footer"},module:"HTML"},{concept:{constraints:["scoped to the main element","scoped to a sectioning content element","scoped to a sectioning root element other than body"],name:"header"},module:"HTML"},{concept:{name:"hgroup"},module:"HTML"},{concept:{name:"i"},module:"HTML"},{concept:{name:"pre"},module:"HTML"},{concept:{name:"q"},module:"HTML"},{concept:{name:"samp"},module:"HTML"},{concept:{name:"section"},module:"HTML"},{concept:{name:"small"},module:"HTML"},{concept:{name:"span"},module:"HTML"},{concept:{name:"u"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]};e.default=t}}),y1=R({"../../node_modules/aria-query/lib/etc/roles/literal/gridRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-multiselectable":null,"aria-readonly":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["row"],["row","rowgroup"]],requiredProps:{},superClass:[["roletype","widget","composite"],["roletype","structure","section","table"]]};e.default=t}}),g1=R({"../../node_modules/aria-query/lib/etc/roles/literal/gridcellRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null,"aria-readonly":null,"aria-required":null,"aria-selected":null},relatedConcepts:[{concept:{constraints:["ancestor table element has grid role","ancestor table element has treegrid role"],name:"td"},module:"HTML"}],requireContextRole:["row"],requiredContextRole:["row"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","cell"],["roletype","widget"]]};e.default=t}}),v1=R({"../../node_modules/aria-query/lib/etc/roles/literal/groupRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-activedescendant":null,"aria-disabled":null},relatedConcepts:[{concept:{name:"details"},module:"HTML"},{concept:{name:"fieldset"},module:"HTML"},{concept:{name:"optgroup"},module:"HTML"},{concept:{name:"address"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),_1=R({"../../node_modules/aria-query/lib/etc/roles/literal/headingRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-level":"2"},relatedConcepts:[{concept:{name:"h1"},module:"HTML"},{concept:{name:"h2"},module:"HTML"},{concept:{name:"h3"},module:"HTML"},{concept:{name:"h4"},module:"HTML"},{concept:{name:"h5"},module:"HTML"},{concept:{name:"h6"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-level":"2"},superClass:[["roletype","structure","sectionhead"]]};e.default=t}}),R1=R({"../../node_modules/aria-query/lib/etc/roles/literal/imgRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{attributes:[{constraints:["set"],name:"alt"}],name:"img"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"alt"}],name:"img"},module:"HTML"},{concept:{name:"imggroup"},module:"DTB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),w1=R({"../../node_modules/aria-query/lib/etc/roles/literal/insertionRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"ins"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),C1=R({"../../node_modules/aria-query/lib/etc/roles/literal/linkRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-disabled":null,"aria-expanded":null,"aria-haspopup":null},relatedConcepts:[{concept:{attributes:[{constraints:["set"],name:"href"}],name:"a"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"href"}],name:"area"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command"]]};e.default=t}}),q1=R({"../../node_modules/aria-query/lib/etc/roles/literal/listRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"menu"},module:"HTML"},{concept:{name:"ol"},module:"HTML"},{concept:{name:"ul"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["listitem"]],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),E1=R({"../../node_modules/aria-query/lib/etc/roles/literal/listboxRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-expanded":null,"aria-invalid":null,"aria-multiselectable":null,"aria-readonly":null,"aria-required":null,"aria-orientation":"vertical"},relatedConcepts:[{concept:{attributes:[{constraints:[">1"],name:"size"}],constraints:["the size attribute value is greater than 1"],name:"select"},module:"HTML"},{concept:{attributes:[{name:"multiple"}],name:"select"},module:"HTML"},{concept:{name:"datalist"},module:"HTML"},{concept:{name:"list"},module:"ARIA"},{concept:{name:"select"},module:"XForms"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["option","group"],["option"]],requiredProps:{},superClass:[["roletype","widget","composite","select"],["roletype","structure","section","group","select"]]};e.default=t}}),P1=R({"../../node_modules/aria-query/lib/etc/roles/literal/listitemRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-level":null,"aria-posinset":null,"aria-setsize":null},relatedConcepts:[{concept:{constraints:["direct descendant of ol","direct descendant of ul","direct descendant of menu"],name:"li"},module:"HTML"},{concept:{name:"item"},module:"XForms"}],requireContextRole:["directory","list"],requiredContextRole:["directory","list"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),O1=R({"../../node_modules/aria-query/lib/etc/roles/literal/logRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-live":"polite"},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),T1=R({"../../node_modules/aria-query/lib/etc/roles/literal/mainRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"main"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}}),S1=R({"../../node_modules/aria-query/lib/etc/roles/literal/markRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:[],props:{"aria-braillelabel":null,"aria-brailleroledescription":null,"aria-description":null},relatedConcepts:[{concept:{name:"mark"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),A1=R({"../../node_modules/aria-query/lib/etc/roles/literal/marqueeRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),M1=R({"../../node_modules/aria-query/lib/etc/roles/literal/mathRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"math"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),x1=R({"../../node_modules/aria-query/lib/etc/roles/literal/menuRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-orientation":"vertical"},relatedConcepts:[{concept:{name:"MENU"},module:"JAPI"},{concept:{name:"list"},module:"ARIA"},{concept:{name:"select"},module:"XForms"},{concept:{name:"sidebar"},module:"DTB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["menuitem","group"],["menuitemradio","group"],["menuitemcheckbox","group"],["menuitem"],["menuitemcheckbox"],["menuitemradio"]],requiredProps:{},superClass:[["roletype","widget","composite","select"],["roletype","structure","section","group","select"]]};e.default=t}}),j1=R({"../../node_modules/aria-query/lib/etc/roles/literal/menubarRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-orientation":"horizontal"},relatedConcepts:[{concept:{name:"toolbar"},module:"ARIA"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["menuitem","group"],["menuitemradio","group"],["menuitemcheckbox","group"],["menuitem"],["menuitemcheckbox"],["menuitemradio"]],requiredProps:{},superClass:[["roletype","widget","composite","select","menu"],["roletype","structure","section","group","select","menu"]]};e.default=t}}),N1=R({"../../node_modules/aria-query/lib/etc/roles/literal/menuitemRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-disabled":null,"aria-expanded":null,"aria-haspopup":null,"aria-posinset":null,"aria-setsize":null},relatedConcepts:[{concept:{name:"MENU_ITEM"},module:"JAPI"},{concept:{name:"listitem"},module:"ARIA"},{concept:{name:"option"},module:"ARIA"}],requireContextRole:["group","menu","menubar"],requiredContextRole:["group","menu","menubar"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command"]]};e.default=t}}),$1=R({"../../node_modules/aria-query/lib/etc/roles/literal/menuitemcheckboxRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"menuitem"},module:"ARIA"}],requireContextRole:["group","menu","menubar"],requiredContextRole:["group","menu","menubar"],requiredOwnedElements:[],requiredProps:{"aria-checked":null},superClass:[["roletype","widget","input","checkbox"],["roletype","widget","command","menuitem"]]};e.default=t}}),I1=R({"../../node_modules/aria-query/lib/etc/roles/literal/menuitemradioRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"menuitem"},module:"ARIA"}],requireContextRole:["group","menu","menubar"],requiredContextRole:["group","menu","menubar"],requiredOwnedElements:[],requiredProps:{"aria-checked":null},superClass:[["roletype","widget","input","checkbox","menuitemcheckbox"],["roletype","widget","command","menuitem","menuitemcheckbox"],["roletype","widget","input","radio"]]};e.default=t}}),B1=R({"../../node_modules/aria-query/lib/etc/roles/literal/meterRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-valuetext":null,"aria-valuemax":"100","aria-valuemin":"0"},relatedConcepts:[{concept:{name:"meter"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-valuenow":null},superClass:[["roletype","structure","range"]]};e.default=t}}),k1=R({"../../node_modules/aria-query/lib/etc/roles/literal/navigationRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"nav"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}}),L1=R({"../../node_modules/aria-query/lib/etc/roles/literal/noneRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[]};e.default=t}}),D1=R({"../../node_modules/aria-query/lib/etc/roles/literal/noteRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),F1=R({"../../node_modules/aria-query/lib/etc/roles/literal/optionRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-checked":null,"aria-posinset":null,"aria-setsize":null,"aria-selected":"false"},relatedConcepts:[{concept:{name:"item"},module:"XForms"},{concept:{name:"listitem"},module:"ARIA"},{concept:{name:"option"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-selected":"false"},superClass:[["roletype","widget","input"]]};e.default=t}}),H1=R({"../../node_modules/aria-query/lib/etc/roles/literal/paragraphRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"p"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),U1=R({"../../node_modules/aria-query/lib/etc/roles/literal/presentationRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{attributes:[{name:"alt",value:""}],name:"img"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]};e.default=t}}),V1=R({"../../node_modules/aria-query/lib/etc/roles/literal/progressbarRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-valuetext":null},relatedConcepts:[{concept:{name:"progress"},module:"HTML"},{concept:{name:"status"},module:"ARIA"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","range"],["roletype","widget"]]};e.default=t}}),z1=R({"../../node_modules/aria-query/lib/etc/roles/literal/radioRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-checked":null,"aria-posinset":null,"aria-setsize":null},relatedConcepts:[{concept:{attributes:[{name:"type",value:"radio"}],name:"input"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-checked":null},superClass:[["roletype","widget","input"]]};e.default=t}}),G1=R({"../../node_modules/aria-query/lib/etc/roles/literal/radiogroupRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null,"aria-readonly":null,"aria-required":null},relatedConcepts:[{concept:{name:"list"},module:"ARIA"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["radio"]],requiredProps:{},superClass:[["roletype","widget","composite","select"],["roletype","structure","section","group","select"]]};e.default=t}}),W1=R({"../../node_modules/aria-query/lib/etc/roles/literal/regionRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{attributes:[{constraints:["set"],name:"aria-label"}],name:"section"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"aria-labelledby"}],name:"section"},module:"HTML"},{concept:{name:"Device Independence Glossart perceivable unit"}}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}}),K1=R({"../../node_modules/aria-query/lib/etc/roles/literal/rowRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-colindex":null,"aria-expanded":null,"aria-level":null,"aria-posinset":null,"aria-rowindex":null,"aria-selected":null,"aria-setsize":null},relatedConcepts:[{concept:{name:"tr"},module:"HTML"}],requireContextRole:["grid","rowgroup","table","treegrid"],requiredContextRole:["grid","rowgroup","table","treegrid"],requiredOwnedElements:[["cell"],["columnheader"],["gridcell"],["rowheader"]],requiredProps:{},superClass:[["roletype","structure","section","group"],["roletype","widget"]]};e.default=t}}),Y1=R({"../../node_modules/aria-query/lib/etc/roles/literal/rowgroupRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"tbody"},module:"HTML"},{concept:{name:"tfoot"},module:"HTML"},{concept:{name:"thead"},module:"HTML"}],requireContextRole:["grid","table","treegrid"],requiredContextRole:["grid","table","treegrid"],requiredOwnedElements:[["row"]],requiredProps:{},superClass:[["roletype","structure"]]};e.default=t}}),J1=R({"../../node_modules/aria-query/lib/etc/roles/literal/rowheaderRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-sort":null},relatedConcepts:[{concept:{attributes:[{name:"scope",value:"row"}],name:"th"},module:"HTML"},{concept:{attributes:[{name:"scope",value:"rowgroup"}],name:"th"},module:"HTML"}],requireContextRole:["row","rowgroup"],requiredContextRole:["row","rowgroup"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","cell"],["roletype","structure","section","cell","gridcell"],["roletype","widget","gridcell"],["roletype","structure","sectionhead"]]};e.default=t}}),X1=R({"../../node_modules/aria-query/lib/etc/roles/literal/scrollbarRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-valuetext":null,"aria-orientation":"vertical","aria-valuemax":"100","aria-valuemin":"0"},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-controls":null,"aria-valuenow":null},superClass:[["roletype","structure","range"],["roletype","widget"]]};e.default=t}}),Q1=R({"../../node_modules/aria-query/lib/etc/roles/literal/searchRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}}),Z1=R({"../../node_modules/aria-query/lib/etc/roles/literal/searchboxRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{attributes:[{constraints:["undefined"],name:"list"},{name:"type",value:"search"}],constraints:["the list attribute is not set"],name:"input"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","input","textbox"]]};e.default=t}}),e_=R({"../../node_modules/aria-query/lib/etc/roles/literal/separatorRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-orientation":"horizontal","aria-valuemax":"100","aria-valuemin":"0","aria-valuenow":null,"aria-valuetext":null},relatedConcepts:[{concept:{name:"hr"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]};e.default=t}}),t_=R({"../../node_modules/aria-query/lib/etc/roles/literal/sliderRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-haspopup":null,"aria-invalid":null,"aria-readonly":null,"aria-valuetext":null,"aria-orientation":"horizontal","aria-valuemax":"100","aria-valuemin":"0"},relatedConcepts:[{concept:{attributes:[{name:"type",value:"range"}],name:"input"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-valuenow":null},superClass:[["roletype","widget","input"],["roletype","structure","range"]]};e.default=t}}),r_=R({"../../node_modules/aria-query/lib/etc/roles/literal/spinbuttonRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null,"aria-readonly":null,"aria-required":null,"aria-valuetext":null,"aria-valuenow":"0"},relatedConcepts:[{concept:{attributes:[{name:"type",value:"number"}],name:"input"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","composite"],["roletype","widget","input"],["roletype","structure","range"]]};e.default=t}}),n_=R({"../../node_modules/aria-query/lib/etc/roles/literal/statusRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-atomic":"true","aria-live":"polite"},relatedConcepts:[{concept:{name:"output"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),o_=R({"../../node_modules/aria-query/lib/etc/roles/literal/strongRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"strong"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),a_=R({"../../node_modules/aria-query/lib/etc/roles/literal/subscriptRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"sub"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),i_=R({"../../node_modules/aria-query/lib/etc/roles/literal/superscriptRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"sup"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),l_=R({"../../node_modules/aria-query/lib/etc/roles/literal/switchRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"button"},module:"ARIA"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-checked":null},superClass:[["roletype","widget","input","checkbox"]]};e.default=t}}),s_=R({"../../node_modules/aria-query/lib/etc/roles/literal/tabRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-disabled":null,"aria-expanded":null,"aria-haspopup":null,"aria-posinset":null,"aria-setsize":null,"aria-selected":"false"},relatedConcepts:[],requireContextRole:["tablist"],requiredContextRole:["tablist"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","sectionhead"],["roletype","widget"]]};e.default=t}}),u_=R({"../../node_modules/aria-query/lib/etc/roles/literal/tableRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-colcount":null,"aria-rowcount":null},relatedConcepts:[{concept:{name:"table"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["row"],["row","rowgroup"]],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),c_=R({"../../node_modules/aria-query/lib/etc/roles/literal/tablistRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-level":null,"aria-multiselectable":null,"aria-orientation":"horizontal"},relatedConcepts:[{module:"DAISY",concept:{name:"guide"}}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["tab"]],requiredProps:{},superClass:[["roletype","widget","composite"]]};e.default=t}}),d_=R({"../../node_modules/aria-query/lib/etc/roles/literal/tabpanelRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),p_=R({"../../node_modules/aria-query/lib/etc/roles/literal/termRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"dfn"},module:"HTML"},{concept:{name:"dt"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),m_=R({"../../node_modules/aria-query/lib/etc/roles/literal/textboxRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-activedescendant":null,"aria-autocomplete":null,"aria-errormessage":null,"aria-haspopup":null,"aria-invalid":null,"aria-multiline":null,"aria-placeholder":null,"aria-readonly":null,"aria-required":null},relatedConcepts:[{concept:{attributes:[{constraints:["undefined"],name:"type"},{constraints:["undefined"],name:"list"}],constraints:["the list attribute is not set"],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"list"},{name:"type",value:"email"}],constraints:["the list attribute is not set"],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"list"},{name:"type",value:"tel"}],constraints:["the list attribute is not set"],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"list"},{name:"type",value:"text"}],constraints:["the list attribute is not set"],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"list"},{name:"type",value:"url"}],constraints:["the list attribute is not set"],name:"input"},module:"HTML"},{concept:{name:"input"},module:"XForms"},{concept:{name:"textarea"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","input"]]};e.default=t}}),f_=R({"../../node_modules/aria-query/lib/etc/roles/literal/timeRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"time"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),h_=R({"../../node_modules/aria-query/lib/etc/roles/literal/timerRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","status"]]};e.default=t}}),b_=R({"../../node_modules/aria-query/lib/etc/roles/literal/toolbarRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-orientation":"horizontal"},relatedConcepts:[{concept:{name:"menubar"},module:"ARIA"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","group"]]};e.default=t}}),y_=R({"../../node_modules/aria-query/lib/etc/roles/literal/tooltipRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),g_=R({"../../node_modules/aria-query/lib/etc/roles/literal/treeRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null,"aria-multiselectable":null,"aria-required":null,"aria-orientation":"vertical"},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["treeitem","group"],["treeitem"]],requiredProps:{},superClass:[["roletype","widget","composite","select"],["roletype","structure","section","group","select"]]};e.default=t}}),v_=R({"../../node_modules/aria-query/lib/etc/roles/literal/treegridRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["row"],["row","rowgroup"]],requiredProps:{},superClass:[["roletype","widget","composite","grid"],["roletype","structure","section","table","grid"],["roletype","widget","composite","select","tree"],["roletype","structure","section","group","select","tree"]]};e.default=t}}),__=R({"../../node_modules/aria-query/lib/etc/roles/literal/treeitemRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-expanded":null,"aria-haspopup":null},relatedConcepts:[],requireContextRole:["group","tree"],requiredContextRole:["group","tree"],requiredOwnedElements:[],requiredProps:{"aria-selected":null},superClass:[["roletype","structure","section","listitem"],["roletype","widget","input","option"]]};e.default=t}}),R_=R({"../../node_modules/aria-query/lib/etc/roles/ariaLiteralRoles.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=x(G0()),r=x(W0()),n=x(K0()),o=x(Y0()),a=x(J0()),i=x(X0()),l=x(Q0()),u=x(Z0()),c=x(e1()),s=x(t1()),d=x(r1()),m=x(n1()),p=x(o1()),f=x(a1()),b=x(i1()),h=x(l1()),y=x(s1()),g=x(u1()),E=x(c1()),C=x(d1()),q=x(p1()),_=x(m1()),v=x(f1()),w=x(h1()),P=x(b1()),j=x(y1()),$=x(g1()),B=x(v1()),I=x(_1()),A=x(R1()),k=x(w1()),U=x(C1()),W=x(q1()),G=x(E1()),se=x(P1()),ve=x(O1()),pe=x(T1()),F=x(S1()),L=x(A1()),D=x(M1()),z=x(x1()),H=x(j1()),ae=x(N1()),ue=x($1()),ut=x(I1()),M=x(B1()),V=x(k1()),J=x(L1()),re=x(D1()),te=x(F1()),Re=x(H1()),we=x(U1()),Ee=x(V1()),We=x(z1()),Ho=x(G1()),Uo=x(W1()),Vo=x(K1()),zo=x(Y1()),Go=x(J1()),Wo=x(X1()),Ko=x(Q1()),Yo=x(Z1()),Jo=x(e_()),Xo=x(t_()),Qo=x(r_()),Zo=x(n_()),ea=x(o_()),ta=x(a_()),ra=x(i_()),na=x(l_()),oa=x(s_()),aa=x(u_()),ia=x(c_()),la=x(d_()),sa=x(p_()),ua=x(m_()),ca=x(f_()),da=x(h_()),pa=x(b_()),ma=x(y_()),fa=x(g_()),ha=x(v_()),ba=x(__());function x(tr){return tr&&tr.__esModule?tr:{default:tr}}var ya=[["alert",t.default],["alertdialog",r.default],["application",n.default],["article",o.default],["banner",a.default],["blockquote",i.default],["button",l.default],["caption",u.default],["cell",c.default],["checkbox",s.default],["code",d.default],["columnheader",m.default],["combobox",p.default],["complementary",f.default],["contentinfo",b.default],["definition",h.default],["deletion",y.default],["dialog",g.default],["directory",E.default],["document",C.default],["emphasis",q.default],["feed",_.default],["figure",v.default],["form",w.default],["generic",P.default],["grid",j.default],["gridcell",$.default],["group",B.default],["heading",I.default],["img",A.default],["insertion",k.default],["link",U.default],["list",W.default],["listbox",G.default],["listitem",se.default],["log",ve.default],["main",pe.default],["mark",F.default],["marquee",L.default],["math",D.default],["menu",z.default],["menubar",H.default],["menuitem",ae.default],["menuitemcheckbox",ue.default],["menuitemradio",ut.default],["meter",M.default],["navigation",V.default],["none",J.default],["note",re.default],["option",te.default],["paragraph",Re.default],["presentation",we.default],["progressbar",Ee.default],["radio",We.default],["radiogroup",Ho.default],["region",Uo.default],["row",Vo.default],["rowgroup",zo.default],["rowheader",Go.default],["scrollbar",Wo.default],["search",Ko.default],["searchbox",Yo.default],["separator",Jo.default],["slider",Xo.default],["spinbutton",Qo.default],["status",Zo.default],["strong",ea.default],["subscript",ta.default],["superscript",ra.default],["switch",na.default],["tab",oa.default],["table",aa.default],["tablist",ia.default],["tabpanel",la.default],["term",sa.default],["textbox",ua.default],["time",ca.default],["timer",da.default],["toolbar",pa.default],["tooltip",ma.default],["tree",fa.default],["treegrid",ha.default],["treeitem",ba.default]];e.default=ya}}),w_=R({"../../node_modules/aria-query/lib/etc/roles/dpub/docAbstractRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"abstract [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),C_=R({"../../node_modules/aria-query/lib/etc/roles/dpub/docAcknowledgmentsRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"acknowledgments [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}}),q_=R({"../../node_modules/aria-query/lib/etc/roles/dpub/docAfterwordRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"afterword [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}}),E_=R({"../../node_modules/aria-query/lib/etc/roles/dpub/docAppendixRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"appendix [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}}),P_=R({"../../node_modules/aria-query/lib/etc/roles/dpub/docBacklinkRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"referrer [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command","link"]]};e.default=t}}),O_=R({"../../node_modules/aria-query/lib/etc/roles/dpub/docBiblioentryRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"EPUB biblioentry [EPUB-SSV]"},module:"EPUB"}],requireContextRole:["doc-bibliography"],requiredContextRole:["doc-bibliography"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","listitem"]]};e.default=t}}),T_=R({"../../node_modules/aria-query/lib/etc/roles/dpub/docBibliographyRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"bibliography [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["doc-biblioentry"]],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}}),S_=R({"../../node_modules/aria-query/lib/etc/roles/dpub/docBibliorefRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"biblioref [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command","link"]]};e.default=t}}),A_=R({"../../node_modules/aria-query/lib/etc/roles/dpub/docChapterRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"chapter [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}}),M_=R({"../../node_modules/aria-query/lib/etc/roles/dpub/docColophonRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"colophon [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),x_=R({"../../node_modules/aria-query/lib/etc/roles/dpub/docConclusionRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"conclusion [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}}),j_=R({"../../node_modules/aria-query/lib/etc/roles/dpub/docCoverRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"cover [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","img"]]};e.default=t}}),N_=R({"../../node_modules/aria-query/lib/etc/roles/dpub/docCreditRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"credit [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),$_=R({"../../node_modules/aria-query/lib/etc/roles/dpub/docCreditsRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"credits [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}}),I_=R({"../../node_modules/aria-query/lib/etc/roles/dpub/docDedicationRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"dedication [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),B_=R({"../../node_modules/aria-query/lib/etc/roles/dpub/docEndnoteRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"rearnote [EPUB-SSV]"},module:"EPUB"}],requireContextRole:["doc-endnotes"],requiredContextRole:["doc-endnotes"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","listitem"]]};e.default=t}}),k_=R({"../../node_modules/aria-query/lib/etc/roles/dpub/docEndnotesRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"rearnotes [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["doc-endnote"]],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}}),L_=R({"../../node_modules/aria-query/lib/etc/roles/dpub/docEpigraphRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"epigraph [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),D_=R({"../../node_modules/aria-query/lib/etc/roles/dpub/docEpilogueRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"epilogue [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}}),F_=R({"../../node_modules/aria-query/lib/etc/roles/dpub/docErrataRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"errata [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}}),H_=R({"../../node_modules/aria-query/lib/etc/roles/dpub/docExampleRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),U_=R({"../../node_modules/aria-query/lib/etc/roles/dpub/docFootnoteRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"footnote [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),V_=R({"../../node_modules/aria-query/lib/etc/roles/dpub/docForewordRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"foreword [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}}),z_=R({"../../node_modules/aria-query/lib/etc/roles/dpub/docGlossaryRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"glossary [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["definition"],["term"]],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}}),G_=R({"../../node_modules/aria-query/lib/etc/roles/dpub/docGlossrefRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"glossref [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command","link"]]};e.default=t}}),W_=R({"../../node_modules/aria-query/lib/etc/roles/dpub/docIndexRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"index [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark","navigation"]]};e.default=t}}),K_=R({"../../node_modules/aria-query/lib/etc/roles/dpub/docIntroductionRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"introduction [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}}),Y_=R({"../../node_modules/aria-query/lib/etc/roles/dpub/docNoterefRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"noteref [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command","link"]]};e.default=t}}),J_=R({"../../node_modules/aria-query/lib/etc/roles/dpub/docNoticeRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"notice [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","note"]]};e.default=t}}),X_=R({"../../node_modules/aria-query/lib/etc/roles/dpub/docPagebreakRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"pagebreak [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","separator"]]};e.default=t}}),Q_=R({"../../node_modules/aria-query/lib/etc/roles/dpub/docPagefooterRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:[],props:{"aria-braillelabel":null,"aria-brailleroledescription":null,"aria-description":null,"aria-disabled":null,"aria-errormessage":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),Z_=R({"../../node_modules/aria-query/lib/etc/roles/dpub/docPageheaderRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:[],props:{"aria-braillelabel":null,"aria-brailleroledescription":null,"aria-description":null,"aria-disabled":null,"aria-errormessage":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),eR=R({"../../node_modules/aria-query/lib/etc/roles/dpub/docPagelistRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"page-list [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark","navigation"]]};e.default=t}}),tR=R({"../../node_modules/aria-query/lib/etc/roles/dpub/docPartRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"part [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}}),rR=R({"../../node_modules/aria-query/lib/etc/roles/dpub/docPrefaceRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"preface [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}}),nR=R({"../../node_modules/aria-query/lib/etc/roles/dpub/docPrologueRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"prologue [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}}),oR=R({"../../node_modules/aria-query/lib/etc/roles/dpub/docPullquoteRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"pullquote [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["none"]]};e.default=t}}),aR=R({"../../node_modules/aria-query/lib/etc/roles/dpub/docQnaRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"qna [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),iR=R({"../../node_modules/aria-query/lib/etc/roles/dpub/docSubtitleRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"subtitle [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","sectionhead"]]};e.default=t}}),lR=R({"../../node_modules/aria-query/lib/etc/roles/dpub/docTipRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"help [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","note"]]};e.default=t}}),sR=R({"../../node_modules/aria-query/lib/etc/roles/dpub/docTocRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"toc [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark","navigation"]]};e.default=t}}),uR=R({"../../node_modules/aria-query/lib/etc/roles/ariaDpubRoles.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=H(w_()),r=H(C_()),n=H(q_()),o=H(E_()),a=H(P_()),i=H(O_()),l=H(T_()),u=H(S_()),c=H(A_()),s=H(M_()),d=H(x_()),m=H(j_()),p=H(N_()),f=H($_()),b=H(I_()),h=H(B_()),y=H(k_()),g=H(L_()),E=H(D_()),C=H(F_()),q=H(H_()),_=H(U_()),v=H(V_()),w=H(z_()),P=H(G_()),j=H(W_()),$=H(K_()),B=H(Y_()),I=H(J_()),A=H(X_()),k=H(Q_()),U=H(Z_()),W=H(eR()),G=H(tR()),se=H(rR()),ve=H(nR()),pe=H(oR()),F=H(aR()),L=H(iR()),D=H(lR()),z=H(sR());function H(ue){return ue&&ue.__esModule?ue:{default:ue}}var ae=[["doc-abstract",t.default],["doc-acknowledgments",r.default],["doc-afterword",n.default],["doc-appendix",o.default],["doc-backlink",a.default],["doc-biblioentry",i.default],["doc-bibliography",l.default],["doc-biblioref",u.default],["doc-chapter",c.default],["doc-colophon",s.default],["doc-conclusion",d.default],["doc-cover",m.default],["doc-credit",p.default],["doc-credits",f.default],["doc-dedication",b.default],["doc-endnote",h.default],["doc-endnotes",y.default],["doc-epigraph",g.default],["doc-epilogue",E.default],["doc-errata",C.default],["doc-example",q.default],["doc-footnote",_.default],["doc-foreword",v.default],["doc-glossary",w.default],["doc-glossref",P.default],["doc-index",j.default],["doc-introduction",$.default],["doc-noteref",B.default],["doc-notice",I.default],["doc-pagebreak",A.default],["doc-pagefooter",k.default],["doc-pageheader",U.default],["doc-pagelist",W.default],["doc-part",G.default],["doc-preface",se.default],["doc-prologue",ve.default],["doc-pullquote",pe.default],["doc-qna",F.default],["doc-subtitle",L.default],["doc-tip",D.default],["doc-toc",z.default]];e.default=ae}}),cR=R({"../../node_modules/aria-query/lib/etc/roles/graphics/graphicsDocumentRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{module:"GRAPHICS",concept:{name:"graphics-object"}},{module:"ARIA",concept:{name:"img"}},{module:"ARIA",concept:{name:"article"}}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","document"]]};e.default=t}}),dR=R({"../../node_modules/aria-query/lib/etc/roles/graphics/graphicsObjectRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{module:"GRAPHICS",concept:{name:"graphics-document"}},{module:"ARIA",concept:{name:"group"}},{module:"ARIA",concept:{name:"img"}},{module:"GRAPHICS",concept:{name:"graphics-symbol"}}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","group"]]};e.default=t}}),pR=R({"../../node_modules/aria-query/lib/etc/roles/graphics/graphicsSymbolRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","img"]]};e.default=t}}),mR=R({"../../node_modules/aria-query/lib/etc/roles/ariaGraphicsRoles.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=o(cR()),r=o(dR()),n=o(pR());function o(i){return i&&i.__esModule?i:{default:i}}var a=[["graphics-document",t.default],["graphics-object",r.default],["graphics-symbol",n.default]];e.default=a}}),ul=R({"../../node_modules/aria-query/lib/rolesMap.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=i(z0()),r=i(R_()),n=i(uR()),o=i(mR()),a=i(pn());function i(h){return h&&h.__esModule?h:{default:h}}function l(h,y){var g=typeof Symbol<"u"&&h[Symbol.iterator]||h["@@iterator"];if(!g){if(Array.isArray(h)||(g=s(h))||y&&h&&typeof h.length=="number"){g&&(h=g);var E=0,C=function(){};return{s:C,n:function(){return E>=h.length?{done:!0}:{done:!1,value:h[E++]}},e:function(w){throw w},f:C}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. -In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var q,_=!0,v=!1;return{s:function(){g=g.call(h)},n:function(){var w=g.next();return _=w.done,w},e:function(w){v=!0,q=w},f:function(){try{_||g.return==null||g.return()}finally{if(v)throw q}}}}function u(h,y){return p(h)||m(h,y)||s(h,y)||c()}function c(){throw new TypeError(`Invalid attempt to destructure non-iterable instance. -In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function s(h,y){if(h){if(typeof h=="string")return d(h,y);var g={}.toString.call(h).slice(8,-1);return g==="Object"&&h.constructor&&(g=h.constructor.name),g==="Map"||g==="Set"?Array.from(h):g==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(g)?d(h,y):void 0}}function d(h,y){(y==null||y>h.length)&&(y=h.length);for(var g=0,E=Array(y);g<y;g++)E[g]=h[g];return E}function m(h,y){var g=h==null?null:typeof Symbol<"u"&&h[Symbol.iterator]||h["@@iterator"];if(g!=null){var E,C,q,_,v=[],w=!0,P=!1;try{if(q=(g=g.call(h)).next,y===0){if(Object(g)!==g)return;w=!1}else for(;!(w=(E=q.call(g)).done)&&(v.push(E.value),v.length!==y);w=!0);}catch(j){P=!0,C=j}finally{try{if(!w&&g.return!=null&&(_=g.return(),Object(_)!==_))return}finally{if(P)throw C}}return v}}function p(h){if(Array.isArray(h))return h}var f=[].concat(t.default,r.default,n.default,o.default);f.forEach(function(h){var y=u(h,2),g=y[1],E=l(g.superClass),C;try{for(E.s();!(C=E.n()).done;){var q=C.value,_=l(q),v;try{var w=function(){var P=v.value,j=f.filter(function(k){var U=u(k,1),W=U[0];return W===P})[0];if(j)for(var $=j[1],B=0,I=Object.keys($.props);B<I.length;B++){var A=I[B];Object.prototype.hasOwnProperty.call(g.props,A)||(g.props[A]=$.props[A])}};for(_.s();!(v=_.n()).done;)w()}catch(P){_.e(P)}finally{_.f()}}}catch(P){E.e(P)}finally{E.f()}});var b={entries:function(){return f},forEach:function(h){var y=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,g=l(f),E;try{for(g.s();!(E=g.n()).done;){var C=u(E.value,2),q=C[0],_=C[1];h.call(y,_,q,f)}}catch(v){g.e(v)}finally{g.f()}},get:function(h){var y=f.filter(function(g){return g[0]===h})[0];return y&&y[1]},has:function(h){return!!b.get(h)},keys:function(){return f.map(function(h){var y=u(h,1),g=y[0];return g})},values:function(){return f.map(function(h){var y=u(h,2),g=y[1];return g})}};e.default=(0,a.default)(b,b.entries())}}),fR=R({"../../node_modules/aria-query/lib/elementRoleMap.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=n(pn()),r=n(ul());function n(_){return _&&_.__esModule?_:{default:_}}function o(_,v){return c(_)||u(_,v)||i(_,v)||a()}function a(){throw new TypeError(`Invalid attempt to destructure non-iterable instance. -In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function i(_,v){if(_){if(typeof _=="string")return l(_,v);var w={}.toString.call(_).slice(8,-1);return w==="Object"&&_.constructor&&(w=_.constructor.name),w==="Map"||w==="Set"?Array.from(_):w==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(w)?l(_,v):void 0}}function l(_,v){(v==null||v>_.length)&&(v=_.length);for(var w=0,P=Array(v);w<v;w++)P[w]=_[w];return P}function u(_,v){var w=_==null?null:typeof Symbol<"u"&&_[Symbol.iterator]||_["@@iterator"];if(w!=null){var P,j,$,B,I=[],A=!0,k=!1;try{if($=(w=w.call(_)).next,v===0){if(Object(w)!==w)return;A=!1}else for(;!(A=(P=$.call(w)).done)&&(I.push(P.value),I.length!==v);A=!0);}catch(U){k=!0,j=U}finally{try{if(!A&&w.return!=null&&(B=w.return(),Object(B)!==B))return}finally{if(k)throw j}}return I}}function c(_){if(Array.isArray(_))return _}var s=[],d=r.default.keys();for(y=0;y<d.length;y++)if(m=d[y],p=r.default.get(m),p)for(f=[].concat(p.baseConcepts,p.relatedConcepts),b=function(){var _=f[h];if(_.module==="HTML"){var v=_.concept;if(v){var w=s.filter(function(B){return E(B[0],v)})[0],P;w?P=w[1]:P=[];for(var j=!0,$=0;$<P.length;$++)if(P[$]===m){j=!1;break}j&&P.push(m),w||s.push([v,P])}}},h=0;h<f.length;h++)b();var m,p,f,b,h,y,g={entries:function(){return s},forEach:function(_){for(var v=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,w=0,P=s;w<P.length;w++){var j=o(P[w],2),$=j[0],B=j[1];_.call(v,B,$,s)}},get:function(_){var v=s.filter(function(w){return _.name===w[0].name&&q(_.attributes,w[0].attributes)})[0];return v&&v[1]},has:function(_){return!!g.get(_)},keys:function(){return s.map(function(_){var v=o(_,1),w=v[0];return w})},values:function(){return s.map(function(_){var v=o(_,2),w=v[1];return w})}};function E(_,v){return _.name===v.name&&C(_.constraints,v.constraints)&&q(_.attributes,v.attributes)}function C(_,v){if(_===void 0&&v!==void 0||_!==void 0&&v===void 0)return!1;if(_!==void 0&&v!==void 0){if(_.length!==v.length)return!1;for(var w=0;w<_.length;w++)if(_[w]!==v[w])return!1}return!0}function q(_,v){if(_===void 0&&v!==void 0||_!==void 0&&v===void 0)return!1;if(_!==void 0&&v!==void 0){if(_.length!==v.length)return!1;for(var w=0;w<_.length;w++){if(_[w].name!==v[w].name||_[w].value!==v[w].value||_[w].constraints===void 0&&v[w].constraints!==void 0||_[w].constraints!==void 0&&v[w].constraints===void 0)return!1;if(_[w].constraints!==void 0&&v[w].constraints!==void 0){if(_[w].constraints.length!==v[w].constraints.length)return!1;for(var P=0;P<_[w].constraints.length;P++)if(_[w].constraints[P]!==v[w].constraints[P])return!1}}}return!0}e.default=(0,t.default)(g,g.entries())}}),hR=R({"../../node_modules/aria-query/lib/roleElementMap.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=n(pn()),r=n(ul());function n(q){return q&&q.__esModule?q:{default:q}}function o(q,_){return c(q)||u(q,_)||i(q,_)||a()}function a(){throw new TypeError(`Invalid attempt to destructure non-iterable instance. -In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function i(q,_){if(q){if(typeof q=="string")return l(q,_);var v={}.toString.call(q).slice(8,-1);return v==="Object"&&q.constructor&&(v=q.constructor.name),v==="Map"||v==="Set"?Array.from(q):v==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(v)?l(q,_):void 0}}function l(q,_){(_==null||_>q.length)&&(_=q.length);for(var v=0,w=Array(_);v<_;v++)w[v]=q[v];return w}function u(q,_){var v=q==null?null:typeof Symbol<"u"&&q[Symbol.iterator]||q["@@iterator"];if(v!=null){var w,P,j,$,B=[],I=!0,A=!1;try{if(j=(v=v.call(q)).next,_===0){if(Object(v)!==v)return;I=!1}else for(;!(I=(w=j.call(v)).done)&&(B.push(w.value),B.length!==_);I=!0);}catch(k){A=!0,P=k}finally{try{if(!I&&v.return!=null&&($=v.return(),Object($)!==$))return}finally{if(A)throw P}}return B}}function c(q){if(Array.isArray(q))return q}var s=[],d=r.default.keys();for(E=0;E<d.length;E++)if(m=d[E],p=r.default.get(m),f=[],p){for(b=[].concat(p.baseConcepts,p.relatedConcepts),g=0;g<b.length;g++)h=b[g],h.module==="HTML"&&(y=h.concept,y!=null&&f.push(y));f.length>0&&s.push([m,f])}var m,p,f,b,h,y,g,E,C={entries:function(){return s},forEach:function(q){for(var _=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,v=0,w=s;v<w.length;v++){var P=o(w[v],2),j=P[0],$=P[1];q.call(_,$,j,s)}},get:function(q){var _=s.filter(function(v){return v[0]===q})[0];return _&&_[1]},has:function(q){return!!C.get(q)},keys:function(){return s.map(function(q){var _=o(q,1),v=_[0];return v})},values:function(){return s.map(function(q){var _=o(q,2),v=_[1];return v})}};e.default=(0,t.default)(C,C.entries())}}),mp=R({"../../node_modules/aria-query/lib/index.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.roles=e.roleElements=e.elementRoles=e.dom=e.aria=void 0;var t=i(M0()),r=i(x0()),n=i(ul()),o=i(fR()),a=i(hR());function i(l){return l&&l.__esModule?l:{default:l}}e.aria=t.default,e.dom=r.default,e.roles=n.default,e.elementRoles=o.default,e.roleElements=a.default}}),bR=R({"../../node_modules/color-name/index.js"(e,t){t.exports={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]}}}),fp=R({"../../node_modules/color-convert/conversions.js"(e,t){var r=bR(),n={};for(let i of Object.keys(r))n[r[i]]=i;var o={rgb:{channels:3,labels:"rgb"},hsl:{channels:3,labels:"hsl"},hsv:{channels:3,labels:"hsv"},hwb:{channels:3,labels:"hwb"},cmyk:{channels:4,labels:"cmyk"},xyz:{channels:3,labels:"xyz"},lab:{channels:3,labels:"lab"},lch:{channels:3,labels:"lch"},hex:{channels:1,labels:["hex"]},keyword:{channels:1,labels:["keyword"]},ansi16:{channels:1,labels:["ansi16"]},ansi256:{channels:1,labels:["ansi256"]},hcg:{channels:3,labels:["h","c","g"]},apple:{channels:3,labels:["r16","g16","b16"]},gray:{channels:1,labels:["gray"]}};t.exports=o;for(let i of Object.keys(o)){if(!("channels"in o[i]))throw new Error("missing channels property: "+i);if(!("labels"in o[i]))throw new Error("missing channel labels property: "+i);if(o[i].labels.length!==o[i].channels)throw new Error("channel and label counts mismatch: "+i);let{channels:l,labels:u}=o[i];delete o[i].channels,delete o[i].labels,Object.defineProperty(o[i],"channels",{value:l}),Object.defineProperty(o[i],"labels",{value:u})}o.rgb.hsl=function(i){let l=i[0]/255,u=i[1]/255,c=i[2]/255,s=Math.min(l,u,c),d=Math.max(l,u,c),m=d-s,p,f;d===s?p=0:l===d?p=(u-c)/m:u===d?p=2+(c-l)/m:c===d&&(p=4+(l-u)/m),p=Math.min(p*60,360),p<0&&(p+=360);let b=(s+d)/2;return d===s?f=0:b<=.5?f=m/(d+s):f=m/(2-d-s),[p,f*100,b*100]},o.rgb.hsv=function(i){let l,u,c,s,d,m=i[0]/255,p=i[1]/255,f=i[2]/255,b=Math.max(m,p,f),h=b-Math.min(m,p,f),y=function(g){return(b-g)/6/h+1/2};return h===0?(s=0,d=0):(d=h/b,l=y(m),u=y(p),c=y(f),m===b?s=c-u:p===b?s=1/3+l-c:f===b&&(s=2/3+u-l),s<0?s+=1:s>1&&(s-=1)),[s*360,d*100,b*100]},o.rgb.hwb=function(i){let l=i[0],u=i[1],c=i[2],s=o.rgb.hsl(i)[0],d=1/255*Math.min(l,Math.min(u,c));return c=1-1/255*Math.max(l,Math.max(u,c)),[s,d*100,c*100]},o.rgb.cmyk=function(i){let l=i[0]/255,u=i[1]/255,c=i[2]/255,s=Math.min(1-l,1-u,1-c),d=(1-l-s)/(1-s)||0,m=(1-u-s)/(1-s)||0,p=(1-c-s)/(1-s)||0;return[d*100,m*100,p*100,s*100]};function a(i,l){return(i[0]-l[0])**2+(i[1]-l[1])**2+(i[2]-l[2])**2}o.rgb.keyword=function(i){let l=n[i];if(l)return l;let u=1/0,c;for(let s of Object.keys(r)){let d=r[s],m=a(i,d);m<u&&(u=m,c=s)}return c},o.keyword.rgb=function(i){return r[i]},o.rgb.xyz=function(i){let l=i[0]/255,u=i[1]/255,c=i[2]/255;l=l>.04045?((l+.055)/1.055)**2.4:l/12.92,u=u>.04045?((u+.055)/1.055)**2.4:u/12.92,c=c>.04045?((c+.055)/1.055)**2.4:c/12.92;let s=l*.4124+u*.3576+c*.1805,d=l*.2126+u*.7152+c*.0722,m=l*.0193+u*.1192+c*.9505;return[s*100,d*100,m*100]},o.rgb.lab=function(i){let l=o.rgb.xyz(i),u=l[0],c=l[1],s=l[2];u/=95.047,c/=100,s/=108.883,u=u>.008856?u**(1/3):7.787*u+16/116,c=c>.008856?c**(1/3):7.787*c+16/116,s=s>.008856?s**(1/3):7.787*s+16/116;let d=116*c-16,m=500*(u-c),p=200*(c-s);return[d,m,p]},o.hsl.rgb=function(i){let l=i[0]/360,u=i[1]/100,c=i[2]/100,s,d,m;if(u===0)return m=c*255,[m,m,m];c<.5?s=c*(1+u):s=c+u-c*u;let p=2*c-s,f=[0,0,0];for(let b=0;b<3;b++)d=l+1/3*-(b-1),d<0&&d++,d>1&&d--,6*d<1?m=p+(s-p)*6*d:2*d<1?m=s:3*d<2?m=p+(s-p)*(2/3-d)*6:m=p,f[b]=m*255;return f},o.hsl.hsv=function(i){let l=i[0],u=i[1]/100,c=i[2]/100,s=u,d=Math.max(c,.01);c*=2,u*=c<=1?c:2-c,s*=d<=1?d:2-d;let m=(c+u)/2,p=c===0?2*s/(d+s):2*u/(c+u);return[l,p*100,m*100]},o.hsv.rgb=function(i){let l=i[0]/60,u=i[1]/100,c=i[2]/100,s=Math.floor(l)%6,d=l-Math.floor(l),m=255*c*(1-u),p=255*c*(1-u*d),f=255*c*(1-u*(1-d));switch(c*=255,s){case 0:return[c,f,m];case 1:return[p,c,m];case 2:return[m,c,f];case 3:return[m,p,c];case 4:return[f,m,c];case 5:return[c,m,p]}},o.hsv.hsl=function(i){let l=i[0],u=i[1]/100,c=i[2]/100,s=Math.max(c,.01),d,m;m=(2-u)*c;let p=(2-u)*s;return d=u*s,d/=p<=1?p:2-p,d=d||0,m/=2,[l,d*100,m*100]},o.hwb.rgb=function(i){let l=i[0]/360,u=i[1]/100,c=i[2]/100,s=u+c,d;s>1&&(u/=s,c/=s);let m=Math.floor(6*l),p=1-c;d=6*l-m,m&1&&(d=1-d);let f=u+d*(p-u),b,h,y;switch(m){default:case 6:case 0:b=p,h=f,y=u;break;case 1:b=f,h=p,y=u;break;case 2:b=u,h=p,y=f;break;case 3:b=u,h=f,y=p;break;case 4:b=f,h=u,y=p;break;case 5:b=p,h=u,y=f;break}return[b*255,h*255,y*255]},o.cmyk.rgb=function(i){let l=i[0]/100,u=i[1]/100,c=i[2]/100,s=i[3]/100,d=1-Math.min(1,l*(1-s)+s),m=1-Math.min(1,u*(1-s)+s),p=1-Math.min(1,c*(1-s)+s);return[d*255,m*255,p*255]},o.xyz.rgb=function(i){let l=i[0]/100,u=i[1]/100,c=i[2]/100,s,d,m;return s=l*3.2406+u*-1.5372+c*-.4986,d=l*-.9689+u*1.8758+c*.0415,m=l*.0557+u*-.204+c*1.057,s=s>.0031308?1.055*s**(1/2.4)-.055:s*12.92,d=d>.0031308?1.055*d**(1/2.4)-.055:d*12.92,m=m>.0031308?1.055*m**(1/2.4)-.055:m*12.92,s=Math.min(Math.max(0,s),1),d=Math.min(Math.max(0,d),1),m=Math.min(Math.max(0,m),1),[s*255,d*255,m*255]},o.xyz.lab=function(i){let l=i[0],u=i[1],c=i[2];l/=95.047,u/=100,c/=108.883,l=l>.008856?l**(1/3):7.787*l+16/116,u=u>.008856?u**(1/3):7.787*u+16/116,c=c>.008856?c**(1/3):7.787*c+16/116;let s=116*u-16,d=500*(l-u),m=200*(u-c);return[s,d,m]},o.lab.xyz=function(i){let l=i[0],u=i[1],c=i[2],s,d,m;d=(l+16)/116,s=u/500+d,m=d-c/200;let p=d**3,f=s**3,b=m**3;return d=p>.008856?p:(d-16/116)/7.787,s=f>.008856?f:(s-16/116)/7.787,m=b>.008856?b:(m-16/116)/7.787,s*=95.047,d*=100,m*=108.883,[s,d,m]},o.lab.lch=function(i){let l=i[0],u=i[1],c=i[2],s;s=Math.atan2(c,u)*360/2/Math.PI,s<0&&(s+=360);let d=Math.sqrt(u*u+c*c);return[l,d,s]},o.lch.lab=function(i){let l=i[0],u=i[1],c=i[2]/360*2*Math.PI,s=u*Math.cos(c),d=u*Math.sin(c);return[l,s,d]},o.rgb.ansi16=function(i,l=null){let[u,c,s]=i,d=l===null?o.rgb.hsv(i)[2]:l;if(d=Math.round(d/50),d===0)return 30;let m=30+(Math.round(s/255)<<2|Math.round(c/255)<<1|Math.round(u/255));return d===2&&(m+=60),m},o.hsv.ansi16=function(i){return o.rgb.ansi16(o.hsv.rgb(i),i[2])},o.rgb.ansi256=function(i){let l=i[0],u=i[1],c=i[2];return l===u&&u===c?l<8?16:l>248?231:Math.round((l-8)/247*24)+232:16+36*Math.round(l/255*5)+6*Math.round(u/255*5)+Math.round(c/255*5)},o.ansi16.rgb=function(i){let l=i%10;if(l===0||l===7)return i>50&&(l+=3.5),l=l/10.5*255,[l,l,l];let u=(~~(i>50)+1)*.5,c=(l&1)*u*255,s=(l>>1&1)*u*255,d=(l>>2&1)*u*255;return[c,s,d]},o.ansi256.rgb=function(i){if(i>=232){let d=(i-232)*10+8;return[d,d,d]}i-=16;let l,u=Math.floor(i/36)/5*255,c=Math.floor((l=i%36)/6)/5*255,s=l%6/5*255;return[u,c,s]},o.rgb.hex=function(i){let l=(((Math.round(i[0])&255)<<16)+((Math.round(i[1])&255)<<8)+(Math.round(i[2])&255)).toString(16).toUpperCase();return"000000".substring(l.length)+l},o.hex.rgb=function(i){let l=i.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!l)return[0,0,0];let u=l[0];l[0].length===3&&(u=u.split("").map(p=>p+p).join(""));let c=parseInt(u,16),s=c>>16&255,d=c>>8&255,m=c&255;return[s,d,m]},o.rgb.hcg=function(i){let l=i[0]/255,u=i[1]/255,c=i[2]/255,s=Math.max(Math.max(l,u),c),d=Math.min(Math.min(l,u),c),m=s-d,p,f;return m<1?p=d/(1-m):p=0,m<=0?f=0:s===l?f=(u-c)/m%6:s===u?f=2+(c-l)/m:f=4+(l-u)/m,f/=6,f%=1,[f*360,m*100,p*100]},o.hsl.hcg=function(i){let l=i[1]/100,u=i[2]/100,c=u<.5?2*l*u:2*l*(1-u),s=0;return c<1&&(s=(u-.5*c)/(1-c)),[i[0],c*100,s*100]},o.hsv.hcg=function(i){let l=i[1]/100,u=i[2]/100,c=l*u,s=0;return c<1&&(s=(u-c)/(1-c)),[i[0],c*100,s*100]},o.hcg.rgb=function(i){let l=i[0]/360,u=i[1]/100,c=i[2]/100;if(u===0)return[c*255,c*255,c*255];let s=[0,0,0],d=l%1*6,m=d%1,p=1-m,f=0;switch(Math.floor(d)){case 0:s[0]=1,s[1]=m,s[2]=0;break;case 1:s[0]=p,s[1]=1,s[2]=0;break;case 2:s[0]=0,s[1]=1,s[2]=m;break;case 3:s[0]=0,s[1]=p,s[2]=1;break;case 4:s[0]=m,s[1]=0,s[2]=1;break;default:s[0]=1,s[1]=0,s[2]=p}return f=(1-u)*c,[(u*s[0]+f)*255,(u*s[1]+f)*255,(u*s[2]+f)*255]},o.hcg.hsv=function(i){let l=i[1]/100,u=i[2]/100,c=l+u*(1-l),s=0;return c>0&&(s=l/c),[i[0],s*100,c*100]},o.hcg.hsl=function(i){let l=i[1]/100,u=i[2]/100*(1-l)+.5*l,c=0;return u>0&&u<.5?c=l/(2*u):u>=.5&&u<1&&(c=l/(2*(1-u))),[i[0],c*100,u*100]},o.hcg.hwb=function(i){let l=i[1]/100,u=i[2]/100,c=l+u*(1-l);return[i[0],(c-l)*100,(1-c)*100]},o.hwb.hcg=function(i){let l=i[1]/100,u=1-i[2]/100,c=u-l,s=0;return c<1&&(s=(u-c)/(1-c)),[i[0],c*100,s*100]},o.apple.rgb=function(i){return[i[0]/65535*255,i[1]/65535*255,i[2]/65535*255]},o.rgb.apple=function(i){return[i[0]/255*65535,i[1]/255*65535,i[2]/255*65535]},o.gray.rgb=function(i){return[i[0]/100*255,i[0]/100*255,i[0]/100*255]},o.gray.hsl=function(i){return[0,0,i[0]]},o.gray.hsv=o.gray.hsl,o.gray.hwb=function(i){return[0,100,i[0]]},o.gray.cmyk=function(i){return[0,0,0,i[0]]},o.gray.lab=function(i){return[i[0],0,0]},o.gray.hex=function(i){let l=Math.round(i[0]/100*255)&255,u=((l<<16)+(l<<8)+l).toString(16).toUpperCase();return"000000".substring(u.length)+u},o.rgb.gray=function(i){return[(i[0]+i[1]+i[2])/3/255*100]}}}),yR=R({"../../node_modules/color-convert/route.js"(e,t){var r=fp();function n(){let l={},u=Object.keys(r);for(let c=u.length,s=0;s<c;s++)l[u[s]]={distance:-1,parent:null};return l}function o(l){let u=n(),c=[l];for(u[l].distance=0;c.length;){let s=c.pop(),d=Object.keys(r[s]);for(let m=d.length,p=0;p<m;p++){let f=d[p],b=u[f];b.distance===-1&&(b.distance=u[s].distance+1,b.parent=s,c.unshift(f))}}return u}function a(l,u){return function(c){return u(l(c))}}function i(l,u){let c=[u[l].parent,l],s=r[u[l].parent][l],d=u[l].parent;for(;u[d].parent;)c.unshift(u[d].parent),s=a(r[u[d].parent][d],s),d=u[d].parent;return s.conversion=c,s}t.exports=function(l){let u=o(l),c={},s=Object.keys(u);for(let d=s.length,m=0;m<d;m++){let p=s[m];u[p].parent!==null&&(c[p]=i(p,u))}return c}}}),gR=R({"../../node_modules/color-convert/index.js"(e,t){var r=fp(),n=yR(),o={},a=Object.keys(r);function i(u){let c=function(...s){let d=s[0];return d==null?d:(d.length>1&&(s=d),u(s))};return"conversion"in u&&(c.conversion=u.conversion),c}function l(u){let c=function(...s){let d=s[0];if(d==null)return d;d.length>1&&(s=d);let m=u(s);if(typeof m=="object")for(let p=m.length,f=0;f<p;f++)m[f]=Math.round(m[f]);return m};return"conversion"in u&&(c.conversion=u.conversion),c}a.forEach(u=>{o[u]={},Object.defineProperty(o[u],"channels",{value:r[u].channels}),Object.defineProperty(o[u],"labels",{value:r[u].labels});let c=n(u);Object.keys(c).forEach(s=>{let d=c[s];o[u][s]=l(d),o[u][s].raw=i(d)})}),t.exports=o}}),vR=R({"../../node_modules/ansi-styles/index.js"(e,t){var r=(d,m)=>(...p)=>`\x1B[${d(...p)+m}m`,n=(d,m)=>(...p)=>{let f=d(...p);return`\x1B[${38+m};5;${f}m`},o=(d,m)=>(...p)=>{let f=d(...p);return`\x1B[${38+m};2;${f[0]};${f[1]};${f[2]}m`},a=d=>d,i=(d,m,p)=>[d,m,p],l=(d,m,p)=>{Object.defineProperty(d,m,{get:()=>{let f=p();return Object.defineProperty(d,m,{value:f,enumerable:!0,configurable:!0}),f},enumerable:!0,configurable:!0})},u,c=(d,m,p,f)=>{u===void 0&&(u=gR());let b=f?10:0,h={};for(let[y,g]of Object.entries(u)){let E=y==="ansi16"?"ansi":y;y===m?h[E]=d(p,b):typeof g=="object"&&(h[E]=d(g[m],b))}return h};function s(){let d=new Map,m={modifier:{reset:[0,0],bold:[1,22],dim:[2,22],italic:[3,23],underline:[4,24],inverse:[7,27],hidden:[8,28],strikethrough:[9,29]},color:{black:[30,39],red:[31,39],green:[32,39],yellow:[33,39],blue:[34,39],magenta:[35,39],cyan:[36,39],white:[37,39],blackBright:[90,39],redBright:[91,39],greenBright:[92,39],yellowBright:[93,39],blueBright:[94,39],magentaBright:[95,39],cyanBright:[96,39],whiteBright:[97,39]},bgColor:{bgBlack:[40,49],bgRed:[41,49],bgGreen:[42,49],bgYellow:[43,49],bgBlue:[44,49],bgMagenta:[45,49],bgCyan:[46,49],bgWhite:[47,49],bgBlackBright:[100,49],bgRedBright:[101,49],bgGreenBright:[102,49],bgYellowBright:[103,49],bgBlueBright:[104,49],bgMagentaBright:[105,49],bgCyanBright:[106,49],bgWhiteBright:[107,49]}};m.color.gray=m.color.blackBright,m.bgColor.bgGray=m.bgColor.bgBlackBright,m.color.grey=m.color.blackBright,m.bgColor.bgGrey=m.bgColor.bgBlackBright;for(let[p,f]of Object.entries(m)){for(let[b,h]of Object.entries(f))m[b]={open:`\x1B[${h[0]}m`,close:`\x1B[${h[1]}m`},f[b]=m[b],d.set(h[0],h[1]);Object.defineProperty(m,p,{value:f,enumerable:!1})}return Object.defineProperty(m,"codes",{value:d,enumerable:!1}),m.color.close="\x1B[39m",m.bgColor.close="\x1B[49m",l(m.color,"ansi",()=>c(r,"ansi16",a,!1)),l(m.color,"ansi256",()=>c(n,"ansi256",a,!1)),l(m.color,"ansi16m",()=>c(o,"rgb",i,!1)),l(m.bgColor,"ansi",()=>c(r,"ansi16",a,!0)),l(m.bgColor,"ansi256",()=>c(n,"ansi256",a,!0)),l(m.bgColor,"ansi16m",()=>c(o,"rgb",i,!0)),m}Object.defineProperty(t,"exports",{enumerable:!0,get:s})}}),_R=R({"../../node_modules/supports-color/browser.js"(e,t){t.exports={stdout:!1,stderr:!1}}}),RR=R({"../../node_modules/@testing-library/jest-dom/node_modules/chalk/source/util.js"(e,t){var r=(o,a,i)=>{let l=o.indexOf(a);if(l===-1)return o;let u=a.length,c=0,s="";do s+=o.substr(c,l-c)+a+i,c=l+u,l=o.indexOf(a,c);while(l!==-1);return s+=o.substr(c),s},n=(o,a,i,l)=>{let u=0,c="";do{let s=o[l-1]==="\r";c+=o.substr(u,(s?l-1:l)-u)+a+(s?`\r -`:` -`)+i,u=l+1,l=o.indexOf(` -`,u)}while(l!==-1);return c+=o.substr(u),c};t.exports={stringReplaceAll:r,stringEncaseCRLFWithFirstIndex:n}}}),wR=R({"../../node_modules/@testing-library/jest-dom/node_modules/chalk/source/templates.js"(e,t){var r=/(?:\\(u(?:[a-f\d]{4}|\{[a-f\d]{1,6}\})|x[a-f\d]{2}|.))|(?:\{(~)?(\w+(?:\([^)]*\))?(?:\.\w+(?:\([^)]*\))?)*)(?:[ \t]|(?=\r?\n)))|(\})|((?:.|[\r\n\f])+?)/gi,n=/(?:^|\.)(\w+)(?:\(([^)]*)\))?/g,o=/^(['"])((?:\\.|(?!\1)[^\\])*)\1$/,a=/\\(u(?:[a-f\d]{4}|\{[a-f\d]{1,6}\})|x[a-f\d]{2}|.)|([^\\])/gi,i=new Map([["n",` -`],["r","\r"],["t"," "],["b","\b"],["f","\f"],["v","\v"],["0","\0"],["\\","\\"],["e","\x1B"],["a","\x07"]]);function l(d){let m=d[0]==="u",p=d[1]==="{";return m&&!p&&d.length===5||d[0]==="x"&&d.length===3?String.fromCharCode(parseInt(d.slice(1),16)):m&&p?String.fromCodePoint(parseInt(d.slice(2,-1),16)):i.get(d)||d}function u(d,m){let p=[],f=m.trim().split(/\s*,\s*/g),b;for(let h of f){let y=Number(h);if(!Number.isNaN(y))p.push(y);else if(b=h.match(o))p.push(b[2].replace(a,(g,E,C)=>E?l(E):C));else throw new Error(`Invalid Chalk template style argument: ${h} (in style '${d}')`)}return p}function c(d){n.lastIndex=0;let m=[],p;for(;(p=n.exec(d))!==null;){let f=p[1];if(p[2]){let b=u(f,p[2]);m.push([f].concat(b))}else m.push([f])}return m}function s(d,m){let p={};for(let b of m)for(let h of b.styles)p[h[0]]=b.inverse?null:h.slice(1);let f=d;for(let[b,h]of Object.entries(p))if(Array.isArray(h)){if(!(b in f))throw new Error(`Unknown Chalk style: ${b}`);f=h.length>0?f[b](...h):f[b]}return f}t.exports=(d,m)=>{let p=[],f=[],b=[];if(m.replace(r,(h,y,g,E,C,q)=>{if(y)b.push(l(y));else if(E){let _=b.join("");b=[],f.push(p.length===0?_:s(d,p)(_)),p.push({inverse:g,styles:c(E)})}else if(C){if(p.length===0)throw new Error("Found extraneous } in Chalk template literal");f.push(s(d,p)(b.join(""))),b=[],p.pop()}else b.push(q)}),f.push(b.join("")),p.length>0){let h=`Chalk template literal is missing ${p.length} closing bracket${p.length===1?"":"s"} (\`}\`)`;throw new Error(h)}return f.join("")}}}),hp=R({"../../node_modules/@testing-library/jest-dom/node_modules/chalk/source/index.js"(e,t){var r=vR(),{stdout:n,stderr:o}=_R(),{stringReplaceAll:a,stringEncaseCRLFWithFirstIndex:i}=RR(),l=["ansi","ansi","ansi256","ansi16m"],u=Object.create(null),c=(q,_={})=>{if(_.level>3||_.level<0)throw new Error("The `level` option should be an integer from 0 to 3");let v=n?n.level:0;q.level=_.level===void 0?v:_.level},s=class{constructor(q){return d(q)}},d=q=>{let _={};return c(_,q),_.template=(...v)=>E(_.template,...v),Object.setPrototypeOf(_,m.prototype),Object.setPrototypeOf(_.template,_),_.template.constructor=()=>{throw new Error("`chalk.constructor()` is deprecated. Use `new chalk.Instance()` instead.")},_.template.Instance=s,_.template};function m(q){return d(q)}for(let[q,_]of Object.entries(r))u[q]={get(){let v=h(this,b(_.open,_.close,this._styler),this._isEmpty);return Object.defineProperty(this,q,{value:v}),v}};u.visible={get(){let q=h(this,this._styler,!0);return Object.defineProperty(this,"visible",{value:q}),q}};var p=["rgb","hex","keyword","hsl","hsv","hwb","ansi","ansi256"];for(let q of p)u[q]={get(){let{level:_}=this;return function(...v){let w=b(r.color[l[_]][q](...v),r.color.close,this._styler);return h(this,w,this._isEmpty)}}};for(let q of p){let _="bg"+q[0].toUpperCase()+q.slice(1);u[_]={get(){let{level:v}=this;return function(...w){let P=b(r.bgColor[l[v]][q](...w),r.bgColor.close,this._styler);return h(this,P,this._isEmpty)}}}}var f=Object.defineProperties(()=>{},{...u,level:{enumerable:!0,get(){return this._generator.level},set(q){this._generator.level=q}}}),b=(q,_,v)=>{let w,P;return v===void 0?(w=q,P=_):(w=v.openAll+q,P=_+v.closeAll),{open:q,close:_,openAll:w,closeAll:P,parent:v}},h=(q,_,v)=>{let w=(...P)=>y(w,P.length===1?""+P[0]:P.join(" "));return w.__proto__=f,w._generator=q,w._styler=_,w._isEmpty=v,w},y=(q,_)=>{if(q.level<=0||!_)return q._isEmpty?"":_;let v=q._styler;if(v===void 0)return _;let{openAll:w,closeAll:P}=v;if(_.indexOf("\x1B")!==-1)for(;v!==void 0;)_=a(_,v.close,v.open),v=v.parent;let j=_.indexOf(` -`);return j!==-1&&(_=i(_,P,w,j)),w+_+P},g,E=(q,..._)=>{let[v]=_;if(!Array.isArray(v))return _.join(" ");let w=_.slice(1),P=[v.raw[0]];for(let j=1;j<v.length;j++)P.push(String(w[j-1]).replace(/[{}\\]/g,"\\$&"),String(v.raw[j]));return g===void 0&&(g=wR()),g(q,P.join(""))};Object.defineProperties(m.prototype,u);var C=m();C.supportsColor=n,C.stderr=m({level:o?o.level:0}),C.stderr.supportsColor=o,C.Level={None:0,Basic:1,Ansi256:2,TrueColor:3,0:"None",1:"Basic",2:"Ansi256",3:"TrueColor"},t.exports=C}}),CR=R({"../../node_modules/lodash/_listCacheClear.js"(e,t){function r(){this.__data__=[],this.size=0}t.exports=r}}),bp=R({"../../node_modules/lodash/eq.js"(e,t){function r(n,o){return n===o||n!==n&&o!==o}t.exports=r}}),fo=R({"../../node_modules/lodash/_assocIndexOf.js"(e,t){var r=bp();function n(o,a){for(var i=o.length;i--;)if(r(o[i][0],a))return i;return-1}t.exports=n}}),qR=R({"../../node_modules/lodash/_listCacheDelete.js"(e,t){var r=fo(),n=Array.prototype,o=n.splice;function a(i){var l=this.__data__,u=r(l,i);if(u<0)return!1;var c=l.length-1;return u==c?l.pop():o.call(l,u,1),--this.size,!0}t.exports=a}}),ER=R({"../../node_modules/lodash/_listCacheGet.js"(e,t){var r=fo();function n(o){var a=this.__data__,i=r(a,o);return i<0?void 0:a[i][1]}t.exports=n}}),PR=R({"../../node_modules/lodash/_listCacheHas.js"(e,t){var r=fo();function n(o){return r(this.__data__,o)>-1}t.exports=n}}),OR=R({"../../node_modules/lodash/_listCacheSet.js"(e,t){var r=fo();function n(o,a){var i=this.__data__,l=r(i,o);return l<0?(++this.size,i.push([o,a])):i[l][1]=a,this}t.exports=n}}),ho=R({"../../node_modules/lodash/_ListCache.js"(e,t){var r=CR(),n=qR(),o=ER(),a=PR(),i=OR();function l(u){var c=-1,s=u==null?0:u.length;for(this.clear();++c<s;){var d=u[c];this.set(d[0],d[1])}}l.prototype.clear=r,l.prototype.delete=n,l.prototype.get=o,l.prototype.has=a,l.prototype.set=i,t.exports=l}}),TR=R({"../../node_modules/lodash/_stackClear.js"(e,t){var r=ho();function n(){this.__data__=new r,this.size=0}t.exports=n}}),SR=R({"../../node_modules/lodash/_stackDelete.js"(e,t){function r(n){var o=this.__data__,a=o.delete(n);return this.size=o.size,a}t.exports=r}}),AR=R({"../../node_modules/lodash/_stackGet.js"(e,t){function r(n){return this.__data__.get(n)}t.exports=r}}),MR=R({"../../node_modules/lodash/_stackHas.js"(e,t){function r(n){return this.__data__.has(n)}t.exports=r}}),yp=R({"../../node_modules/lodash/_freeGlobal.js"(e,t){var r=typeof global=="object"&&global&&global.Object===Object&&global;t.exports=r}}),_t=R({"../../node_modules/lodash/_root.js"(e,t){var r=yp(),n=typeof self=="object"&&self&&self.Object===Object&&self,o=r||n||Function("return this")();t.exports=o}}),cl=R({"../../node_modules/lodash/_Symbol.js"(e,t){var r=_t(),n=r.Symbol;t.exports=n}}),xR=R({"../../node_modules/lodash/_getRawTag.js"(e,t){var r=cl(),n=Object.prototype,o=n.hasOwnProperty,a=n.toString,i=r?r.toStringTag:void 0;function l(u){var c=o.call(u,i),s=u[i];try{u[i]=void 0;var d=!0}catch{}var m=a.call(u);return d&&(c?u[i]=s:delete u[i]),m}t.exports=l}}),jR=R({"../../node_modules/lodash/_objectToString.js"(e,t){var r=Object.prototype,n=r.toString;function o(a){return n.call(a)}t.exports=o}}),bo=R({"../../node_modules/lodash/_baseGetTag.js"(e,t){var r=cl(),n=xR(),o=jR(),a="[object Null]",i="[object Undefined]",l=r?r.toStringTag:void 0;function u(c){return c==null?c===void 0?i:a:l&&l in Object(c)?n(c):o(c)}t.exports=u}}),gp=R({"../../node_modules/lodash/isObject.js"(e,t){function r(n){var o=typeof n;return n!=null&&(o=="object"||o=="function")}t.exports=r}}),vp=R({"../../node_modules/lodash/isFunction.js"(e,t){var r=bo(),n=gp(),o="[object AsyncFunction]",a="[object Function]",i="[object GeneratorFunction]",l="[object Proxy]";function u(c){if(!n(c))return!1;var s=r(c);return s==a||s==i||s==o||s==l}t.exports=u}}),NR=R({"../../node_modules/lodash/_coreJsData.js"(e,t){var r=_t(),n=r["__core-js_shared__"];t.exports=n}}),$R=R({"../../node_modules/lodash/_isMasked.js"(e,t){var r=NR(),n=function(){var a=/[^.]+$/.exec(r&&r.keys&&r.keys.IE_PROTO||"");return a?"Symbol(src)_1."+a:""}();function o(a){return!!n&&n in a}t.exports=o}}),_p=R({"../../node_modules/lodash/_toSource.js"(e,t){var r=Function.prototype,n=r.toString;function o(a){if(a!=null){try{return n.call(a)}catch{}try{return a+""}catch{}}return""}t.exports=o}}),IR=R({"../../node_modules/lodash/_baseIsNative.js"(e,t){var r=vp(),n=$R(),o=gp(),a=_p(),i=/[\\^$.*+?()[\]{}|]/g,l=/^\[object .+?Constructor\]$/,u=Function.prototype,c=Object.prototype,s=u.toString,d=c.hasOwnProperty,m=RegExp("^"+s.call(d).replace(i,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function p(f){if(!o(f)||n(f))return!1;var b=r(f)?m:l;return b.test(a(f))}t.exports=p}}),BR=R({"../../node_modules/lodash/_getValue.js"(e,t){function r(n,o){return n==null?void 0:n[o]}t.exports=r}}),Mr=R({"../../node_modules/lodash/_getNative.js"(e,t){var r=IR(),n=BR();function o(a,i){var l=n(a,i);return r(l)?l:void 0}t.exports=o}}),dl=R({"../../node_modules/lodash/_Map.js"(e,t){var r=Mr(),n=_t(),o=r(n,"Map");t.exports=o}}),yo=R({"../../node_modules/lodash/_nativeCreate.js"(e,t){var r=Mr(),n=r(Object,"create");t.exports=n}}),kR=R({"../../node_modules/lodash/_hashClear.js"(e,t){var r=yo();function n(){this.__data__=r?r(null):{},this.size=0}t.exports=n}}),LR=R({"../../node_modules/lodash/_hashDelete.js"(e,t){function r(n){var o=this.has(n)&&delete this.__data__[n];return this.size-=o?1:0,o}t.exports=r}}),DR=R({"../../node_modules/lodash/_hashGet.js"(e,t){var r=yo(),n="__lodash_hash_undefined__",o=Object.prototype,a=o.hasOwnProperty;function i(l){var u=this.__data__;if(r){var c=u[l];return c===n?void 0:c}return a.call(u,l)?u[l]:void 0}t.exports=i}}),FR=R({"../../node_modules/lodash/_hashHas.js"(e,t){var r=yo(),n=Object.prototype,o=n.hasOwnProperty;function a(i){var l=this.__data__;return r?l[i]!==void 0:o.call(l,i)}t.exports=a}}),HR=R({"../../node_modules/lodash/_hashSet.js"(e,t){var r=yo(),n="__lodash_hash_undefined__";function o(a,i){var l=this.__data__;return this.size+=this.has(a)?0:1,l[a]=r&&i===void 0?n:i,this}t.exports=o}}),UR=R({"../../node_modules/lodash/_Hash.js"(e,t){var r=kR(),n=LR(),o=DR(),a=FR(),i=HR();function l(u){var c=-1,s=u==null?0:u.length;for(this.clear();++c<s;){var d=u[c];this.set(d[0],d[1])}}l.prototype.clear=r,l.prototype.delete=n,l.prototype.get=o,l.prototype.has=a,l.prototype.set=i,t.exports=l}}),VR=R({"../../node_modules/lodash/_mapCacheClear.js"(e,t){var r=UR(),n=ho(),o=dl();function a(){this.size=0,this.__data__={hash:new r,map:new(o||n),string:new r}}t.exports=a}}),zR=R({"../../node_modules/lodash/_isKeyable.js"(e,t){function r(n){var o=typeof n;return o=="string"||o=="number"||o=="symbol"||o=="boolean"?n!=="__proto__":n===null}t.exports=r}}),go=R({"../../node_modules/lodash/_getMapData.js"(e,t){var r=zR();function n(o,a){var i=o.__data__;return r(a)?i[typeof a=="string"?"string":"hash"]:i.map}t.exports=n}}),GR=R({"../../node_modules/lodash/_mapCacheDelete.js"(e,t){var r=go();function n(o){var a=r(this,o).delete(o);return this.size-=a?1:0,a}t.exports=n}}),WR=R({"../../node_modules/lodash/_mapCacheGet.js"(e,t){var r=go();function n(o){return r(this,o).get(o)}t.exports=n}}),KR=R({"../../node_modules/lodash/_mapCacheHas.js"(e,t){var r=go();function n(o){return r(this,o).has(o)}t.exports=n}}),YR=R({"../../node_modules/lodash/_mapCacheSet.js"(e,t){var r=go();function n(o,a){var i=r(this,o),l=i.size;return i.set(o,a),this.size+=i.size==l?0:1,this}t.exports=n}}),Rp=R({"../../node_modules/lodash/_MapCache.js"(e,t){var r=VR(),n=GR(),o=WR(),a=KR(),i=YR();function l(u){var c=-1,s=u==null?0:u.length;for(this.clear();++c<s;){var d=u[c];this.set(d[0],d[1])}}l.prototype.clear=r,l.prototype.delete=n,l.prototype.get=o,l.prototype.has=a,l.prototype.set=i,t.exports=l}}),JR=R({"../../node_modules/lodash/_stackSet.js"(e,t){var r=ho(),n=dl(),o=Rp(),a=200;function i(l,u){var c=this.__data__;if(c instanceof r){var s=c.__data__;if(!n||s.length<a-1)return s.push([l,u]),this.size=++c.size,this;c=this.__data__=new o(s)}return c.set(l,u),this.size=c.size,this}t.exports=i}}),XR=R({"../../node_modules/lodash/_Stack.js"(e,t){var r=ho(),n=TR(),o=SR(),a=AR(),i=MR(),l=JR();function u(c){var s=this.__data__=new r(c);this.size=s.size}u.prototype.clear=n,u.prototype.delete=o,u.prototype.get=a,u.prototype.has=i,u.prototype.set=l,t.exports=u}}),QR=R({"../../node_modules/lodash/_setCacheAdd.js"(e,t){var r="__lodash_hash_undefined__";function n(o){return this.__data__.set(o,r),this}t.exports=n}}),ZR=R({"../../node_modules/lodash/_setCacheHas.js"(e,t){function r(n){return this.__data__.has(n)}t.exports=r}}),ew=R({"../../node_modules/lodash/_SetCache.js"(e,t){var r=Rp(),n=QR(),o=ZR();function a(i){var l=-1,u=i==null?0:i.length;for(this.__data__=new r;++l<u;)this.add(i[l])}a.prototype.add=a.prototype.push=n,a.prototype.has=o,t.exports=a}}),tw=R({"../../node_modules/lodash/_arraySome.js"(e,t){function r(n,o){for(var a=-1,i=n==null?0:n.length;++a<i;)if(o(n[a],a,n))return!0;return!1}t.exports=r}}),rw=R({"../../node_modules/lodash/_cacheHas.js"(e,t){function r(n,o){return n.has(o)}t.exports=r}}),wp=R({"../../node_modules/lodash/_equalArrays.js"(e,t){var r=ew(),n=tw(),o=rw(),a=1,i=2;function l(u,c,s,d,m,p){var f=s&a,b=u.length,h=c.length;if(b!=h&&!(f&&h>b))return!1;var y=p.get(u),g=p.get(c);if(y&&g)return y==c&&g==u;var E=-1,C=!0,q=s&i?new r:void 0;for(p.set(u,c),p.set(c,u);++E<b;){var _=u[E],v=c[E];if(d)var w=f?d(v,_,E,c,u,p):d(_,v,E,u,c,p);if(w!==void 0){if(w)continue;C=!1;break}if(q){if(!n(c,function(P,j){if(!o(q,j)&&(_===P||m(_,P,s,d,p)))return q.push(j)})){C=!1;break}}else if(!(_===v||m(_,v,s,d,p))){C=!1;break}}return p.delete(u),p.delete(c),C}t.exports=l}}),nw=R({"../../node_modules/lodash/_Uint8Array.js"(e,t){var r=_t(),n=r.Uint8Array;t.exports=n}}),ow=R({"../../node_modules/lodash/_mapToArray.js"(e,t){function r(n){var o=-1,a=Array(n.size);return n.forEach(function(i,l){a[++o]=[l,i]}),a}t.exports=r}}),aw=R({"../../node_modules/lodash/_setToArray.js"(e,t){function r(n){var o=-1,a=Array(n.size);return n.forEach(function(i){a[++o]=i}),a}t.exports=r}}),iw=R({"../../node_modules/lodash/_equalByTag.js"(e,t){var r=cl(),n=nw(),o=bp(),a=wp(),i=ow(),l=aw(),u=1,c=2,s="[object Boolean]",d="[object Date]",m="[object Error]",p="[object Map]",f="[object Number]",b="[object RegExp]",h="[object Set]",y="[object String]",g="[object Symbol]",E="[object ArrayBuffer]",C="[object DataView]",q=r?r.prototype:void 0,_=q?q.valueOf:void 0;function v(w,P,j,$,B,I,A){switch(j){case C:if(w.byteLength!=P.byteLength||w.byteOffset!=P.byteOffset)return!1;w=w.buffer,P=P.buffer;case E:return!(w.byteLength!=P.byteLength||!I(new n(w),new n(P)));case s:case d:case f:return o(+w,+P);case m:return w.name==P.name&&w.message==P.message;case b:case y:return w==P+"";case p:var k=i;case h:var U=$&u;if(k||(k=l),w.size!=P.size&&!U)return!1;var W=A.get(w);if(W)return W==P;$|=c,A.set(w,P);var G=a(k(w),k(P),$,B,I,A);return A.delete(w),G;case g:if(_)return _.call(w)==_.call(P)}return!1}t.exports=v}}),lw=R({"../../node_modules/lodash/_arrayPush.js"(e,t){function r(n,o){for(var a=-1,i=o.length,l=n.length;++a<i;)n[l+a]=o[a];return n}t.exports=r}}),pl=R({"../../node_modules/lodash/isArray.js"(e,t){var r=Array.isArray;t.exports=r}}),sw=R({"../../node_modules/lodash/_baseGetAllKeys.js"(e,t){var r=lw(),n=pl();function o(a,i,l){var u=i(a);return n(a)?u:r(u,l(a))}t.exports=o}}),uw=R({"../../node_modules/lodash/_arrayFilter.js"(e,t){function r(n,o){for(var a=-1,i=n==null?0:n.length,l=0,u=[];++a<i;){var c=n[a];o(c,a,n)&&(u[l++]=c)}return u}t.exports=r}}),cw=R({"../../node_modules/lodash/stubArray.js"(e,t){function r(){return[]}t.exports=r}}),dw=R({"../../node_modules/lodash/_getSymbols.js"(e,t){var r=uw(),n=cw(),o=Object.prototype,a=o.propertyIsEnumerable,i=Object.getOwnPropertySymbols,l=i?function(u){return u==null?[]:(u=Object(u),r(i(u),function(c){return a.call(u,c)}))}:n;t.exports=l}}),pw=R({"../../node_modules/lodash/_baseTimes.js"(e,t){function r(n,o){for(var a=-1,i=Array(n);++a<n;)i[a]=o(a);return i}t.exports=r}}),vo=R({"../../node_modules/lodash/isObjectLike.js"(e,t){function r(n){return n!=null&&typeof n=="object"}t.exports=r}}),mw=R({"../../node_modules/lodash/_baseIsArguments.js"(e,t){var r=bo(),n=vo(),o="[object Arguments]";function a(i){return n(i)&&r(i)==o}t.exports=a}}),fw=R({"../../node_modules/lodash/isArguments.js"(e,t){var r=mw(),n=vo(),o=Object.prototype,a=o.hasOwnProperty,i=o.propertyIsEnumerable,l=r(function(){return arguments}())?r:function(u){return n(u)&&a.call(u,"callee")&&!i.call(u,"callee")};t.exports=l}}),hw=R({"../../node_modules/lodash/stubFalse.js"(e,t){function r(){return!1}t.exports=r}}),Cp=R({"../../node_modules/lodash/isBuffer.js"(e,t){var r=_t(),n=hw(),o=typeof e=="object"&&e&&!e.nodeType&&e,a=o&&typeof t=="object"&&t&&!t.nodeType&&t,i=a&&a.exports===o,l=i?r.Buffer:void 0,u=l?l.isBuffer:void 0,c=u||n;t.exports=c}}),bw=R({"../../node_modules/lodash/_isIndex.js"(e,t){var r=9007199254740991,n=/^(?:0|[1-9]\d*)$/;function o(a,i){var l=typeof a;return i=i??r,!!i&&(l=="number"||l!="symbol"&&n.test(a))&&a>-1&&a%1==0&&a<i}t.exports=o}}),qp=R({"../../node_modules/lodash/isLength.js"(e,t){var r=9007199254740991;function n(o){return typeof o=="number"&&o>-1&&o%1==0&&o<=r}t.exports=n}}),yw=R({"../../node_modules/lodash/_baseIsTypedArray.js"(e,t){var r=bo(),n=qp(),o=vo(),a="[object Arguments]",i="[object Array]",l="[object Boolean]",u="[object Date]",c="[object Error]",s="[object Function]",d="[object Map]",m="[object Number]",p="[object Object]",f="[object RegExp]",b="[object Set]",h="[object String]",y="[object WeakMap]",g="[object ArrayBuffer]",E="[object DataView]",C="[object Float32Array]",q="[object Float64Array]",_="[object Int8Array]",v="[object Int16Array]",w="[object Int32Array]",P="[object Uint8Array]",j="[object Uint8ClampedArray]",$="[object Uint16Array]",B="[object Uint32Array]",I={};I[C]=I[q]=I[_]=I[v]=I[w]=I[P]=I[j]=I[$]=I[B]=!0,I[a]=I[i]=I[g]=I[l]=I[E]=I[u]=I[c]=I[s]=I[d]=I[m]=I[p]=I[f]=I[b]=I[h]=I[y]=!1;function A(k){return o(k)&&n(k.length)&&!!I[r(k)]}t.exports=A}}),gw=R({"../../node_modules/lodash/_baseUnary.js"(e,t){function r(n){return function(o){return n(o)}}t.exports=r}}),vw=R({"../../node_modules/lodash/_nodeUtil.js"(e,t){var r=yp(),n=typeof e=="object"&&e&&!e.nodeType&&e,o=n&&typeof t=="object"&&t&&!t.nodeType&&t,a=o&&o.exports===n,i=a&&r.process,l=function(){try{var u=o&&o.require&&o.require("util").types;return u||i&&i.binding&&i.binding("util")}catch{}}();t.exports=l}}),Ep=R({"../../node_modules/lodash/isTypedArray.js"(e,t){var r=yw(),n=gw(),o=vw(),a=o&&o.isTypedArray,i=a?n(a):r;t.exports=i}}),_w=R({"../../node_modules/lodash/_arrayLikeKeys.js"(e,t){var r=pw(),n=fw(),o=pl(),a=Cp(),i=bw(),l=Ep(),u=Object.prototype,c=u.hasOwnProperty;function s(d,m){var p=o(d),f=!p&&n(d),b=!p&&!f&&a(d),h=!p&&!f&&!b&&l(d),y=p||f||b||h,g=y?r(d.length,String):[],E=g.length;for(var C in d)(m||c.call(d,C))&&!(y&&(C=="length"||b&&(C=="offset"||C=="parent")||h&&(C=="buffer"||C=="byteLength"||C=="byteOffset")||i(C,E)))&&g.push(C);return g}t.exports=s}}),Rw=R({"../../node_modules/lodash/_isPrototype.js"(e,t){var r=Object.prototype;function n(o){var a=o&&o.constructor,i=typeof a=="function"&&a.prototype||r;return o===i}t.exports=n}}),ww=R({"../../node_modules/lodash/_overArg.js"(e,t){function r(n,o){return function(a){return n(o(a))}}t.exports=r}}),Cw=R({"../../node_modules/lodash/_nativeKeys.js"(e,t){var r=ww(),n=r(Object.keys,Object);t.exports=n}}),qw=R({"../../node_modules/lodash/_baseKeys.js"(e,t){var r=Rw(),n=Cw(),o=Object.prototype,a=o.hasOwnProperty;function i(l){if(!r(l))return n(l);var u=[];for(var c in Object(l))a.call(l,c)&&c!="constructor"&&u.push(c);return u}t.exports=i}}),Ew=R({"../../node_modules/lodash/isArrayLike.js"(e,t){var r=vp(),n=qp();function o(a){return a!=null&&n(a.length)&&!r(a)}t.exports=o}}),Pw=R({"../../node_modules/lodash/keys.js"(e,t){var r=_w(),n=qw(),o=Ew();function a(i){return o(i)?r(i):n(i)}t.exports=a}}),Ow=R({"../../node_modules/lodash/_getAllKeys.js"(e,t){var r=sw(),n=dw(),o=Pw();function a(i){return r(i,o,n)}t.exports=a}}),Tw=R({"../../node_modules/lodash/_equalObjects.js"(e,t){var r=Ow(),n=1,o=Object.prototype,a=o.hasOwnProperty;function i(l,u,c,s,d,m){var p=c&n,f=r(l),b=f.length,h=r(u),y=h.length;if(b!=y&&!p)return!1;for(var g=b;g--;){var E=f[g];if(!(p?E in u:a.call(u,E)))return!1}var C=m.get(l),q=m.get(u);if(C&&q)return C==u&&q==l;var _=!0;m.set(l,u),m.set(u,l);for(var v=p;++g<b;){E=f[g];var w=l[E],P=u[E];if(s)var j=p?s(P,w,E,u,l,m):s(w,P,E,l,u,m);if(!(j===void 0?w===P||d(w,P,c,s,m):j)){_=!1;break}v||(v=E=="constructor")}if(_&&!v){var $=l.constructor,B=u.constructor;$!=B&&"constructor"in l&&"constructor"in u&&!(typeof $=="function"&&$ instanceof $&&typeof B=="function"&&B instanceof B)&&(_=!1)}return m.delete(l),m.delete(u),_}t.exports=i}}),Sw=R({"../../node_modules/lodash/_DataView.js"(e,t){var r=Mr(),n=_t(),o=r(n,"DataView");t.exports=o}}),Aw=R({"../../node_modules/lodash/_Promise.js"(e,t){var r=Mr(),n=_t(),o=r(n,"Promise");t.exports=o}}),Mw=R({"../../node_modules/lodash/_Set.js"(e,t){var r=Mr(),n=_t(),o=r(n,"Set");t.exports=o}}),xw=R({"../../node_modules/lodash/_WeakMap.js"(e,t){var r=Mr(),n=_t(),o=r(n,"WeakMap");t.exports=o}}),jw=R({"../../node_modules/lodash/_getTag.js"(e,t){var r=Sw(),n=dl(),o=Aw(),a=Mw(),i=xw(),l=bo(),u=_p(),c="[object Map]",s="[object Object]",d="[object Promise]",m="[object Set]",p="[object WeakMap]",f="[object DataView]",b=u(r),h=u(n),y=u(o),g=u(a),E=u(i),C=l;(r&&C(new r(new ArrayBuffer(1)))!=f||n&&C(new n)!=c||o&&C(o.resolve())!=d||a&&C(new a)!=m||i&&C(new i)!=p)&&(C=function(q){var _=l(q),v=_==s?q.constructor:void 0,w=v?u(v):"";if(w)switch(w){case b:return f;case h:return c;case y:return d;case g:return m;case E:return p}return _}),t.exports=C}}),Nw=R({"../../node_modules/lodash/_baseIsEqualDeep.js"(e,t){var r=XR(),n=wp(),o=iw(),a=Tw(),i=jw(),l=pl(),u=Cp(),c=Ep(),s=1,d="[object Arguments]",m="[object Array]",p="[object Object]",f=Object.prototype,b=f.hasOwnProperty;function h(y,g,E,C,q,_){var v=l(y),w=l(g),P=v?m:i(y),j=w?m:i(g);P=P==d?p:P,j=j==d?p:j;var $=P==p,B=j==p,I=P==j;if(I&&u(y)){if(!u(g))return!1;v=!0,$=!1}if(I&&!$)return _||(_=new r),v||c(y)?n(y,g,E,C,q,_):o(y,g,P,E,C,q,_);if(!(E&s)){var A=$&&b.call(y,"__wrapped__"),k=B&&b.call(g,"__wrapped__");if(A||k){var U=A?y.value():y,W=k?g.value():g;return _||(_=new r),q(U,W,E,C,_)}}return I?(_||(_=new r),a(y,g,E,C,q,_)):!1}t.exports=h}}),$w=R({"../../node_modules/lodash/_baseIsEqual.js"(e,t){var r=Nw(),n=vo();function o(a,i,l,u,c){return a===i?!0:a==null||i==null||!n(a)&&!n(i)?a!==a&&i!==i:r(a,i,l,u,o,c)}t.exports=o}}),Pp=R({"../../node_modules/lodash/isEqualWith.js"(e,t){var r=$w();function n(o,a,i){i=typeof i=="function"?i:void 0;var l=i?i(o,a):void 0;return l===void 0?r(o,a,void 0,i):!!l}t.exports=n}}),Op=R({"../../node_modules/css.escape/css.escape.js"(e,t){(function(r,n){typeof e=="object"?t.exports=n(r):typeof define=="function"&&define.amd?define([],n.bind(r,r)):n(r)})(typeof global<"u"?global:e,function(r){if(r.CSS&&r.CSS.escape)return r.CSS.escape;var n=function(o){if(arguments.length==0)throw new TypeError("`CSS.escape` requires an argument.");for(var a=String(o),i=a.length,l=-1,u,c="",s=a.charCodeAt(0);++l<i;){if(u=a.charCodeAt(l),u==0){c+="�";continue}if(u>=1&&u<=31||u==127||l==0&&u>=48&&u<=57||l==1&&u>=48&&u<=57&&s==45){c+="\\"+u.toString(16)+" ";continue}if(l==0&&i==1&&u==45){c+="\\"+a.charAt(l);continue}if(u>=128||u==45||u==95||u>=48&&u<=57||u>=65&&u<=90||u>=97&&u<=122){c+=a.charAt(l);continue}c+="\\"+a.charAt(l)}return c};return r.CSS||(r.CSS={}),r.CSS.escape=n,n})}}),Tp=R({"../../node_modules/@testing-library/dom/node_modules/ansi-styles/index.js"(e,t){var r=(a=0)=>i=>`\x1B[${38+a};5;${i}m`,n=(a=0)=>(i,l,u)=>`\x1B[${38+a};2;${i};${l};${u}m`;function o(){let a=new Map,i={modifier:{reset:[0,0],bold:[1,22],dim:[2,22],italic:[3,23],underline:[4,24],overline:[53,55],inverse:[7,27],hidden:[8,28],strikethrough:[9,29]},color:{black:[30,39],red:[31,39],green:[32,39],yellow:[33,39],blue:[34,39],magenta:[35,39],cyan:[36,39],white:[37,39],blackBright:[90,39],redBright:[91,39],greenBright:[92,39],yellowBright:[93,39],blueBright:[94,39],magentaBright:[95,39],cyanBright:[96,39],whiteBright:[97,39]},bgColor:{bgBlack:[40,49],bgRed:[41,49],bgGreen:[42,49],bgYellow:[43,49],bgBlue:[44,49],bgMagenta:[45,49],bgCyan:[46,49],bgWhite:[47,49],bgBlackBright:[100,49],bgRedBright:[101,49],bgGreenBright:[102,49],bgYellowBright:[103,49],bgBlueBright:[104,49],bgMagentaBright:[105,49],bgCyanBright:[106,49],bgWhiteBright:[107,49]}};i.color.gray=i.color.blackBright,i.bgColor.bgGray=i.bgColor.bgBlackBright,i.color.grey=i.color.blackBright,i.bgColor.bgGrey=i.bgColor.bgBlackBright;for(let[l,u]of Object.entries(i)){for(let[c,s]of Object.entries(u))i[c]={open:`\x1B[${s[0]}m`,close:`\x1B[${s[1]}m`},u[c]=i[c],a.set(s[0],s[1]);Object.defineProperty(i,l,{value:u,enumerable:!1})}return Object.defineProperty(i,"codes",{value:a,enumerable:!1}),i.color.close="\x1B[39m",i.bgColor.close="\x1B[49m",i.color.ansi256=r(),i.color.ansi16m=n(),i.bgColor.ansi256=r(10),i.bgColor.ansi16m=n(10),Object.defineProperties(i,{rgbToAnsi256:{value:(l,u,c)=>l===u&&u===c?l<8?16:l>248?231:Math.round((l-8)/247*24)+232:16+36*Math.round(l/255*5)+6*Math.round(u/255*5)+Math.round(c/255*5),enumerable:!1},hexToRgb:{value:l=>{let u=/(?<colorString>[a-f\d]{6}|[a-f\d]{3})/i.exec(l.toString(16));if(!u)return[0,0,0];let{colorString:c}=u.groups;c.length===3&&(c=c.split("").map(d=>d+d).join(""));let s=Number.parseInt(c,16);return[s>>16&255,s>>8&255,s&255]},enumerable:!1},hexToAnsi256:{value:l=>i.rgbToAnsi256(...i.hexToRgb(l)),enumerable:!1}}),i}Object.defineProperty(t,"exports",{enumerable:!0,get:o})}}),_o=R({"../../node_modules/@testing-library/dom/node_modules/pretty-format/build/collections.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.printIteratorEntries=r,e.printIteratorValues=n,e.printListItems=o,e.printObjectProperties=a;var t=(i,l)=>{let u=Object.keys(i).sort(l);return Object.getOwnPropertySymbols&&Object.getOwnPropertySymbols(i).forEach(c=>{Object.getOwnPropertyDescriptor(i,c).enumerable&&u.push(c)}),u};function r(i,l,u,c,s,d,m=": "){let p="",f=i.next();if(!f.done){p+=l.spacingOuter;let b=u+l.indent;for(;!f.done;){let h=d(f.value[0],l,b,c,s),y=d(f.value[1],l,b,c,s);p+=b+h+m+y,f=i.next(),f.done?l.min||(p+=","):p+=","+l.spacingInner}p+=l.spacingOuter+u}return p}function n(i,l,u,c,s,d){let m="",p=i.next();if(!p.done){m+=l.spacingOuter;let f=u+l.indent;for(;!p.done;)m+=f+d(p.value,l,f,c,s),p=i.next(),p.done?l.min||(m+=","):m+=","+l.spacingInner;m+=l.spacingOuter+u}return m}function o(i,l,u,c,s,d){let m="";if(i.length){m+=l.spacingOuter;let p=u+l.indent;for(let f=0;f<i.length;f++)m+=p,f in i&&(m+=d(i[f],l,p,c,s)),f<i.length-1?m+=","+l.spacingInner:l.min||(m+=",");m+=l.spacingOuter+u}return m}function a(i,l,u,c,s,d){let m="",p=t(i,l.compareKeys);if(p.length){m+=l.spacingOuter;let f=u+l.indent;for(let b=0;b<p.length;b++){let h=p[b],y=d(h,l,f,c,s),g=d(i[h],l,f,c,s);m+=f+y+": "+g,b<p.length-1?m+=","+l.spacingInner:l.min||(m+=",")}m+=l.spacingOuter+u}return m}}}),Iw=R({"../../node_modules/@testing-library/dom/node_modules/pretty-format/build/plugins/AsymmetricMatcher.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.test=e.serialize=e.default=void 0;var t=_o(),r=function(){return typeof globalThis<"u"?globalThis:typeof r<"u"?r:typeof self<"u"?self:typeof window<"u"?window:Function("return this")()}(),n=r["jest-symbol-do-not-touch"]||r.Symbol,o=typeof n=="function"&&n.for?n.for("jest.asymmetricMatcher"):1267621,a=" ",i=(s,d,m,p,f,b)=>{let h=s.toString();return h==="ArrayContaining"||h==="ArrayNotContaining"?++p>d.maxDepth?"["+h+"]":h+a+"["+(0,t.printListItems)(s.sample,d,m,p,f,b)+"]":h==="ObjectContaining"||h==="ObjectNotContaining"?++p>d.maxDepth?"["+h+"]":h+a+"{"+(0,t.printObjectProperties)(s.sample,d,m,p,f,b)+"}":h==="StringMatching"||h==="StringNotMatching"||h==="StringContaining"||h==="StringNotContaining"?h+a+b(s.sample,d,m,p,f):s.toAsymmetricMatcher()};e.serialize=i;var l=s=>s&&s.$$typeof===o;e.test=l;var u={serialize:i,test:l},c=u;e.default=c}}),Bw=R({"../../node_modules/@testing-library/dom/node_modules/ansi-regex/index.js"(e,t){t.exports=({onlyFirst:r=!1}={})=>{let n=["[\\u001B\\u009B][[\\]()#;?]*(?:(?:(?:(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]+)*|[a-zA-Z\\d]+(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]*)*)?\\u0007)","(?:(?:\\d{1,4}(?:;\\d{0,4})*)?[\\dA-PR-TZcf-ntqry=><~]))"].join("|");return new RegExp(n,r?void 0:"g")}}}),kw=R({"../../node_modules/@testing-library/dom/node_modules/pretty-format/build/plugins/ConvertAnsi.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.test=e.serialize=e.default=void 0;var t=n(Bw()),r=n(Tp());function n(c){return c&&c.__esModule?c:{default:c}}var o=c=>c.replace((0,t.default)(),s=>{switch(s){case r.default.red.close:case r.default.green.close:case r.default.cyan.close:case r.default.gray.close:case r.default.white.close:case r.default.yellow.close:case r.default.bgRed.close:case r.default.bgGreen.close:case r.default.bgYellow.close:case r.default.inverse.close:case r.default.dim.close:case r.default.bold.close:case r.default.reset.open:case r.default.reset.close:return"</>";case r.default.red.open:return"<red>";case r.default.green.open:return"<green>";case r.default.cyan.open:return"<cyan>";case r.default.gray.open:return"<gray>";case r.default.white.open:return"<white>";case r.default.yellow.open:return"<yellow>";case r.default.bgRed.open:return"<bgRed>";case r.default.bgGreen.open:return"<bgGreen>";case r.default.bgYellow.open:return"<bgYellow>";case r.default.inverse.open:return"<inverse>";case r.default.dim.open:return"<dim>";case r.default.bold.open:return"<bold>";default:return""}}),a=c=>typeof c=="string"&&!!c.match((0,t.default)());e.test=a;var i=(c,s,d,m,p,f)=>f(o(c),s,d,m,p);e.serialize=i;var l={serialize:i,test:a},u=l;e.default=u}}),Lw=R({"../../node_modules/@testing-library/dom/node_modules/pretty-format/build/plugins/DOMCollection.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.test=e.serialize=e.default=void 0;var t=_o(),r=" ",n=["DOMStringMap","NamedNodeMap"],o=/^(HTML\w*Collection|NodeList)$/,a=d=>n.indexOf(d)!==-1||o.test(d),i=d=>d&&d.constructor&&!!d.constructor.name&&a(d.constructor.name);e.test=i;var l=d=>d.constructor.name==="NamedNodeMap",u=(d,m,p,f,b,h)=>{let y=d.constructor.name;return++f>m.maxDepth?"["+y+"]":(m.min?"":y+r)+(n.indexOf(y)!==-1?"{"+(0,t.printObjectProperties)(l(d)?Array.from(d).reduce((g,E)=>(g[E.name]=E.value,g),{}):{...d},m,p,f,b,h)+"}":"["+(0,t.printListItems)(Array.from(d),m,p,f,b,h)+"]")};e.serialize=u;var c={serialize:u,test:i},s=c;e.default=s}}),Dw=R({"../../node_modules/@testing-library/dom/node_modules/pretty-format/build/plugins/lib/escapeHTML.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=t;function t(r){return r.replace(/</g,"<").replace(/>/g,">")}}}),ml=R({"../../node_modules/@testing-library/dom/node_modules/pretty-format/build/plugins/lib/markup.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.printText=e.printProps=e.printElementAsLeaf=e.printElement=e.printComment=e.printChildren=void 0;var t=r(Dw());function r(c){return c&&c.__esModule?c:{default:c}}var n=(c,s,d,m,p,f,b)=>{let h=m+d.indent,y=d.colors;return c.map(g=>{let E=s[g],C=b(E,d,h,p,f);return typeof E!="string"&&(C.indexOf(` -`)!==-1&&(C=d.spacingOuter+h+C+d.spacingOuter+m),C="{"+C+"}"),d.spacingInner+m+y.prop.open+g+y.prop.close+"="+y.value.open+C+y.value.close}).join("")};e.printProps=n;var o=(c,s,d,m,p,f)=>c.map(b=>s.spacingOuter+d+(typeof b=="string"?a(b,s):f(b,s,d,m,p))).join("");e.printChildren=o;var a=(c,s)=>{let d=s.colors.content;return d.open+(0,t.default)(c)+d.close};e.printText=a;var i=(c,s)=>{let d=s.colors.comment;return d.open+"<!--"+(0,t.default)(c)+"-->"+d.close};e.printComment=i;var l=(c,s,d,m,p)=>{let f=m.colors.tag;return f.open+"<"+c+(s&&f.close+s+m.spacingOuter+p+f.open)+(d?">"+f.close+d+m.spacingOuter+p+f.open+"</"+c:(s&&!m.min?"":" ")+"/")+">"+f.close};e.printElement=l;var u=(c,s)=>{let d=s.colors.tag;return d.open+"<"+c+d.close+" …"+d.open+" />"+d.close};e.printElementAsLeaf=u}}),Fw=R({"../../node_modules/@testing-library/dom/node_modules/pretty-format/build/plugins/DOMElement.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.test=e.serialize=e.default=void 0;var t=ml(),r=1,n=3,o=8,a=11,i=/^((HTML|SVG)\w*)?Element$/,l=h=>{try{return typeof h.hasAttribute=="function"&&h.hasAttribute("is")}catch{return!1}},u=h=>{let y=h.constructor.name,{nodeType:g,tagName:E}=h,C=typeof E=="string"&&E.includes("-")||l(h);return g===r&&(i.test(y)||C)||g===n&&y==="Text"||g===o&&y==="Comment"||g===a&&y==="DocumentFragment"},c=h=>{var y;return(h==null||(y=h.constructor)===null||y===void 0?void 0:y.name)&&u(h)};e.test=c;function s(h){return h.nodeType===n}function d(h){return h.nodeType===o}function m(h){return h.nodeType===a}var p=(h,y,g,E,C,q)=>{if(s(h))return(0,t.printText)(h.data,y);if(d(h))return(0,t.printComment)(h.data,y);let _=m(h)?"DocumentFragment":h.tagName.toLowerCase();return++E>y.maxDepth?(0,t.printElementAsLeaf)(_,y):(0,t.printElement)(_,(0,t.printProps)(m(h)?[]:Array.from(h.attributes).map(v=>v.name).sort(),m(h)?{}:Array.from(h.attributes).reduce((v,w)=>(v[w.name]=w.value,v),{}),y,g+y.indent,E,C,q),(0,t.printChildren)(Array.prototype.slice.call(h.childNodes||h.children),y,g+y.indent,E,C,q),y,g)};e.serialize=p;var f={serialize:p,test:c},b=f;e.default=b}}),Hw=R({"../../node_modules/@testing-library/dom/node_modules/pretty-format/build/plugins/Immutable.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.test=e.serialize=e.default=void 0;var t=_o(),r="@@__IMMUTABLE_ITERABLE__@@",n="@@__IMMUTABLE_LIST__@@",o="@@__IMMUTABLE_KEYED__@@",a="@@__IMMUTABLE_MAP__@@",i="@@__IMMUTABLE_ORDERED__@@",l="@@__IMMUTABLE_RECORD__@@",u="@@__IMMUTABLE_SEQ__@@",c="@@__IMMUTABLE_SET__@@",s="@@__IMMUTABLE_STACK__@@",d=w=>"Immutable."+w,m=w=>"["+w+"]",p=" ",f="…",b=(w,P,j,$,B,I,A)=>++$>P.maxDepth?m(d(A)):d(A)+p+"{"+(0,t.printIteratorEntries)(w.entries(),P,j,$,B,I)+"}";function h(w){let P=0;return{next(){if(P<w._keys.length){let j=w._keys[P++];return{done:!1,value:[j,w.get(j)]}}return{done:!0,value:void 0}}}}var y=(w,P,j,$,B,I)=>{let A=d(w._name||"Record");return++$>P.maxDepth?m(A):A+p+"{"+(0,t.printIteratorEntries)(h(w),P,j,$,B,I)+"}"},g=(w,P,j,$,B,I)=>{let A=d("Seq");return++$>P.maxDepth?m(A):w[o]?A+p+"{"+(w._iter||w._object?(0,t.printIteratorEntries)(w.entries(),P,j,$,B,I):f)+"}":A+p+"["+(w._iter||w._array||w._collection||w._iterable?(0,t.printIteratorValues)(w.values(),P,j,$,B,I):f)+"]"},E=(w,P,j,$,B,I,A)=>++$>P.maxDepth?m(d(A)):d(A)+p+"["+(0,t.printIteratorValues)(w.values(),P,j,$,B,I)+"]",C=(w,P,j,$,B,I)=>w[a]?b(w,P,j,$,B,I,w[i]?"OrderedMap":"Map"):w[n]?E(w,P,j,$,B,I,"List"):w[c]?E(w,P,j,$,B,I,w[i]?"OrderedSet":"Set"):w[s]?E(w,P,j,$,B,I,"Stack"):w[u]?g(w,P,j,$,B,I):y(w,P,j,$,B,I);e.serialize=C;var q=w=>w&&(w[r]===!0||w[l]===!0);e.test=q;var _={serialize:C,test:q},v=_;e.default=v}}),Uw=R({"../../node_modules/@testing-library/dom/node_modules/react-is/cjs/react-is.production.min.js"(e){var t=60103,r=60106,n=60107,o=60108,a=60114,i=60109,l=60110,u=60112,c=60113,s=60120,d=60115,m=60116,p=60121,f=60122,b=60117,h=60129,y=60131;typeof Symbol=="function"&&Symbol.for&&(g=Symbol.for,t=g("react.element"),r=g("react.portal"),n=g("react.fragment"),o=g("react.strict_mode"),a=g("react.profiler"),i=g("react.provider"),l=g("react.context"),u=g("react.forward_ref"),c=g("react.suspense"),s=g("react.suspense_list"),d=g("react.memo"),m=g("react.lazy"),p=g("react.block"),f=g("react.server.block"),b=g("react.fundamental"),h=g("react.debug_trace_mode"),y=g("react.legacy_hidden"));var g;function E(A){if(typeof A=="object"&&A!==null){var k=A.$$typeof;switch(k){case t:switch(A=A.type,A){case n:case a:case o:case c:case s:return A;default:switch(A=A&&A.$$typeof,A){case l:case u:case m:case d:case i:return A;default:return k}}case r:return k}}}var C=i,q=t,_=u,v=n,w=m,P=d,j=r,$=a,B=o,I=c;e.ContextConsumer=l,e.ContextProvider=C,e.Element=q,e.ForwardRef=_,e.Fragment=v,e.Lazy=w,e.Memo=P,e.Portal=j,e.Profiler=$,e.StrictMode=B,e.Suspense=I,e.isAsyncMode=function(){return!1},e.isConcurrentMode=function(){return!1},e.isContextConsumer=function(A){return E(A)===l},e.isContextProvider=function(A){return E(A)===i},e.isElement=function(A){return typeof A=="object"&&A!==null&&A.$$typeof===t},e.isForwardRef=function(A){return E(A)===u},e.isFragment=function(A){return E(A)===n},e.isLazy=function(A){return E(A)===m},e.isMemo=function(A){return E(A)===d},e.isPortal=function(A){return E(A)===r},e.isProfiler=function(A){return E(A)===a},e.isStrictMode=function(A){return E(A)===o},e.isSuspense=function(A){return E(A)===c},e.isValidElementType=function(A){return typeof A=="string"||typeof A=="function"||A===n||A===a||A===h||A===o||A===c||A===s||A===y||typeof A=="object"&&A!==null&&(A.$$typeof===m||A.$$typeof===d||A.$$typeof===i||A.$$typeof===l||A.$$typeof===u||A.$$typeof===b||A.$$typeof===p||A[0]===f)},e.typeOf=E}}),Vw=R({"../../node_modules/@testing-library/dom/node_modules/react-is/index.js"(e,t){t.exports=Uw()}}),zw=R({"../../node_modules/@testing-library/dom/node_modules/pretty-format/build/plugins/ReactElement.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.test=e.serialize=e.default=void 0;var t=o(Vw()),r=ml();function n(m){if(typeof WeakMap!="function")return null;var p=new WeakMap,f=new WeakMap;return(n=function(b){return b?f:p})(m)}function o(m,p){if(!p&&m&&m.__esModule)return m;if(m===null||typeof m!="object"&&typeof m!="function")return{default:m};var f=n(p);if(f&&f.has(m))return f.get(m);var b={},h=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var y in m)if(y!=="default"&&Object.prototype.hasOwnProperty.call(m,y)){var g=h?Object.getOwnPropertyDescriptor(m,y):null;g&&(g.get||g.set)?Object.defineProperty(b,y,g):b[y]=m[y]}return b.default=m,f&&f.set(m,b),b}var a=(m,p=[])=>(Array.isArray(m)?m.forEach(f=>{a(f,p)}):m!=null&&m!==!1&&p.push(m),p),i=m=>{let p=m.type;if(typeof p=="string")return p;if(typeof p=="function")return p.displayName||p.name||"Unknown";if(t.isFragment(m))return"React.Fragment";if(t.isSuspense(m))return"React.Suspense";if(typeof p=="object"&&p!==null){if(t.isContextProvider(m))return"Context.Provider";if(t.isContextConsumer(m))return"Context.Consumer";if(t.isForwardRef(m)){if(p.displayName)return p.displayName;let f=p.render.displayName||p.render.name||"";return f!==""?"ForwardRef("+f+")":"ForwardRef"}if(t.isMemo(m)){let f=p.displayName||p.type.displayName||p.type.name||"";return f!==""?"Memo("+f+")":"Memo"}}return"UNDEFINED"},l=m=>{let{props:p}=m;return Object.keys(p).filter(f=>f!=="children"&&p[f]!==void 0).sort()},u=(m,p,f,b,h,y)=>++b>p.maxDepth?(0,r.printElementAsLeaf)(i(m),p):(0,r.printElement)(i(m),(0,r.printProps)(l(m),m.props,p,f+p.indent,b,h,y),(0,r.printChildren)(a(m.props.children),p,f+p.indent,b,h,y),p,f);e.serialize=u;var c=m=>m!=null&&t.isElement(m);e.test=c;var s={serialize:u,test:c},d=s;e.default=d}}),Gw=R({"../../node_modules/@testing-library/dom/node_modules/pretty-format/build/plugins/ReactTestComponent.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.test=e.serialize=e.default=void 0;var t=ml(),r=function(){return typeof globalThis<"u"?globalThis:typeof r<"u"?r:typeof self<"u"?self:typeof window<"u"?window:Function("return this")()}(),n=r["jest-symbol-do-not-touch"]||r.Symbol,o=typeof n=="function"&&n.for?n.for("react.test.json"):245830487,a=s=>{let{props:d}=s;return d?Object.keys(d).filter(m=>d[m]!==void 0).sort():[]},i=(s,d,m,p,f,b)=>++p>d.maxDepth?(0,t.printElementAsLeaf)(s.type,d):(0,t.printElement)(s.type,s.props?(0,t.printProps)(a(s),s.props,d,m+d.indent,p,f,b):"",s.children?(0,t.printChildren)(s.children,d,m+d.indent,p,f,b):"",d,m);e.serialize=i;var l=s=>s&&s.$$typeof===o;e.test=l;var u={serialize:i,test:l},c=u;e.default=c}}),Ww=R({"../../node_modules/@testing-library/dom/node_modules/pretty-format/build/index.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.DEFAULT_OPTIONS=void 0,e.format=ae,e.plugins=void 0;var t=s(Tp()),r=_o(),n=s(Iw()),o=s(kw()),a=s(Lw()),i=s(Fw()),l=s(Hw()),u=s(zw()),c=s(Gw());function s(M){return M&&M.__esModule?M:{default:M}}var d=Object.prototype.toString,m=Date.prototype.toISOString,p=Error.prototype.toString,f=RegExp.prototype.toString,b=M=>typeof M.constructor=="function"&&M.constructor.name||"Object",h=M=>typeof window<"u"&&M===window,y=/^Symbol\((.*)\)(.*)$/,g=/\n/gi,E=class extends Error{constructor(M,V){super(M),this.stack=V,this.name=this.constructor.name}};function C(M){return M==="[object Array]"||M==="[object ArrayBuffer]"||M==="[object DataView]"||M==="[object Float32Array]"||M==="[object Float64Array]"||M==="[object Int8Array]"||M==="[object Int16Array]"||M==="[object Int32Array]"||M==="[object Uint8Array]"||M==="[object Uint8ClampedArray]"||M==="[object Uint16Array]"||M==="[object Uint32Array]"}function q(M){return Object.is(M,-0)?"-0":String(M)}function _(M){return`${M}n`}function v(M,V){return V?"[Function "+(M.name||"anonymous")+"]":"[Function]"}function w(M){return String(M).replace(y,"Symbol($1)")}function P(M){return"["+p.call(M)+"]"}function j(M,V,J,re){if(M===!0||M===!1)return""+M;if(M===void 0)return"undefined";if(M===null)return"null";let te=typeof M;if(te==="number")return q(M);if(te==="bigint")return _(M);if(te==="string")return re?'"'+M.replace(/"|\\/g,"\\$&")+'"':'"'+M+'"';if(te==="function")return v(M,V);if(te==="symbol")return w(M);let Re=d.call(M);return Re==="[object WeakMap]"?"WeakMap {}":Re==="[object WeakSet]"?"WeakSet {}":Re==="[object Function]"||Re==="[object GeneratorFunction]"?v(M,V):Re==="[object Symbol]"?w(M):Re==="[object Date]"?isNaN(+M)?"Date { NaN }":m.call(M):Re==="[object Error]"?P(M):Re==="[object RegExp]"?J?f.call(M).replace(/[\\^$*+?.()|[\]{}]/g,"\\$&"):f.call(M):M instanceof Error?P(M):null}function $(M,V,J,re,te,Re){if(te.indexOf(M)!==-1)return"[Circular]";te=te.slice(),te.push(M);let we=++re>V.maxDepth,Ee=V.min;if(V.callToJSON&&!we&&M.toJSON&&typeof M.toJSON=="function"&&!Re)return k(M.toJSON(),V,J,re,te,!0);let We=d.call(M);return We==="[object Arguments]"?we?"[Arguments]":(Ee?"":"Arguments ")+"["+(0,r.printListItems)(M,V,J,re,te,k)+"]":C(We)?we?"["+M.constructor.name+"]":(Ee||!V.printBasicPrototype&&M.constructor.name==="Array"?"":M.constructor.name+" ")+"["+(0,r.printListItems)(M,V,J,re,te,k)+"]":We==="[object Map]"?we?"[Map]":"Map {"+(0,r.printIteratorEntries)(M.entries(),V,J,re,te,k," => ")+"}":We==="[object Set]"?we?"[Set]":"Set {"+(0,r.printIteratorValues)(M.values(),V,J,re,te,k)+"}":we||h(M)?"["+b(M)+"]":(Ee||!V.printBasicPrototype&&b(M)==="Object"?"":b(M)+" ")+"{"+(0,r.printObjectProperties)(M,V,J,re,te,k)+"}"}function B(M){return M.serialize!=null}function I(M,V,J,re,te,Re){let we;try{we=B(M)?M.serialize(V,J,re,te,Re,k):M.print(V,Ee=>k(Ee,J,re,te,Re),Ee=>{let We=re+J.indent;return We+Ee.replace(g,` -`+We)},{edgeSpacing:J.spacingOuter,min:J.min,spacing:J.spacingInner},J.colors)}catch(Ee){throw new E(Ee.message,Ee.stack)}if(typeof we!="string")throw new Error(`pretty-format: Plugin must return type "string" but instead returned "${typeof we}".`);return we}function A(M,V){for(let J=0;J<M.length;J++)try{if(M[J].test(V))return M[J]}catch(re){throw new E(re.message,re.stack)}return null}function k(M,V,J,re,te,Re){let we=A(V.plugins,M);if(we!==null)return I(we,M,V,J,re,te);let Ee=j(M,V.printFunctionName,V.escapeRegex,V.escapeString);return Ee!==null?Ee:$(M,V,J,re,te,Re)}var U={comment:"gray",content:"reset",prop:"yellow",tag:"cyan",value:"green"},W=Object.keys(U),G={callToJSON:!0,compareKeys:void 0,escapeRegex:!1,escapeString:!0,highlight:!1,indent:2,maxDepth:1/0,min:!1,plugins:[],printBasicPrototype:!0,printFunctionName:!0,theme:U};e.DEFAULT_OPTIONS=G;function se(M){if(Object.keys(M).forEach(V=>{if(!G.hasOwnProperty(V))throw new Error(`pretty-format: Unknown option "${V}".`)}),M.min&&M.indent!==void 0&&M.indent!==0)throw new Error('pretty-format: Options "min" and "indent" cannot be used together.');if(M.theme!==void 0){if(M.theme===null)throw new Error('pretty-format: Option "theme" must not be null.');if(typeof M.theme!="object")throw new Error(`pretty-format: Option "theme" must be of type "object" but instead received "${typeof M.theme}".`)}}var ve=M=>W.reduce((V,J)=>{let re=M.theme&&M.theme[J]!==void 0?M.theme[J]:U[J],te=re&&t.default[re];if(te&&typeof te.close=="string"&&typeof te.open=="string")V[J]=te;else throw new Error(`pretty-format: Option "theme" has a key "${J}" whose value "${re}" is undefined in ansi-styles.`);return V},Object.create(null)),pe=()=>W.reduce((M,V)=>(M[V]={close:"",open:""},M),Object.create(null)),F=M=>M&&M.printFunctionName!==void 0?M.printFunctionName:G.printFunctionName,L=M=>M&&M.escapeRegex!==void 0?M.escapeRegex:G.escapeRegex,D=M=>M&&M.escapeString!==void 0?M.escapeString:G.escapeString,z=M=>{var V;return{callToJSON:M&&M.callToJSON!==void 0?M.callToJSON:G.callToJSON,colors:M&&M.highlight?ve(M):pe(),compareKeys:M&&typeof M.compareKeys=="function"?M.compareKeys:G.compareKeys,escapeRegex:L(M),escapeString:D(M),indent:M&&M.min?"":H(M&&M.indent!==void 0?M.indent:G.indent),maxDepth:M&&M.maxDepth!==void 0?M.maxDepth:G.maxDepth,min:M&&M.min!==void 0?M.min:G.min,plugins:M&&M.plugins!==void 0?M.plugins:G.plugins,printBasicPrototype:(V=M==null?void 0:M.printBasicPrototype)!==null&&V!==void 0?V:!0,printFunctionName:F(M),spacingInner:M&&M.min?" ":` -`,spacingOuter:M&&M.min?"":` -`}};function H(M){return new Array(M+1).join(" ")}function ae(M,V){if(V&&(se(V),V.plugins)){let re=A(V.plugins,M);if(re!==null)return I(re,M,z(V),"",0,[])}let J=j(M,F(V),L(V),D(V));return J!==null?J:$(M,z(V),"",0,[])}var ue={AsymmetricMatcher:n.default,ConvertAnsi:o.default,DOMCollection:a.default,DOMElement:i.default,Immutable:l.default,ReactElement:u.default,ReactTestComponent:c.default};e.plugins=ue;var ut=ae;e.default=ut}}),Kw=R({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/util/iteratorProxy.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;function t(){var n=this,o=0,a={"@@iterator":function(){return a},next:function(){if(o<n.length){var i=n[o];return o=o+1,{done:!1,value:i}}else return{done:!0}}};return a}var r=t;e.default=r}}),mn=R({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/util/iterationDecorator.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=o;var t=r(Kw());function r(a){return a&&a.__esModule?a:{default:a}}function n(a){"@babel/helpers - typeof";return n=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(i){return typeof i}:function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},n(a)}function o(a,i){return typeof Symbol=="function"&&n(Symbol.iterator)==="symbol"&&Object.defineProperty(a,Symbol.iterator,{value:t.default.bind(i)}),a}}}),Yw=R({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/ariaPropsMap.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=r(mn());function r(p){return p&&p.__esModule?p:{default:p}}function n(p,f){return i(p)||a(p,f)||u(p,f)||o()}function o(){throw new TypeError(`Invalid attempt to destructure non-iterable instance. -In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function a(p,f){var b=p==null?null:typeof Symbol<"u"&&p[Symbol.iterator]||p["@@iterator"];if(b!=null){var h=[],y=!0,g=!1,E,C;try{for(b=b.call(p);!(y=(E=b.next()).done)&&(h.push(E.value),!(f&&h.length===f));y=!0);}catch(q){g=!0,C=q}finally{try{!y&&b.return!=null&&b.return()}finally{if(g)throw C}}return h}}function i(p){if(Array.isArray(p))return p}function l(p,f){var b=typeof Symbol<"u"&&p[Symbol.iterator]||p["@@iterator"];if(!b){if(Array.isArray(p)||(b=u(p))||f&&p&&typeof p.length=="number"){b&&(p=b);var h=0,y=function(){};return{s:y,n:function(){return h>=p.length?{done:!0}:{done:!1,value:p[h++]}},e:function(q){throw q},f:y}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. -In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var g=!0,E=!1,C;return{s:function(){b=b.call(p)},n:function(){var q=b.next();return g=q.done,q},e:function(q){E=!0,C=q},f:function(){try{!g&&b.return!=null&&b.return()}finally{if(E)throw C}}}}function u(p,f){if(p){if(typeof p=="string")return c(p,f);var b=Object.prototype.toString.call(p).slice(8,-1);if(b==="Object"&&p.constructor&&(b=p.constructor.name),b==="Map"||b==="Set")return Array.from(p);if(b==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(b))return c(p,f)}}function c(p,f){(f==null||f>p.length)&&(f=p.length);for(var b=0,h=new Array(f);b<f;b++)h[b]=p[b];return h}var s=[["aria-activedescendant",{type:"id"}],["aria-atomic",{type:"boolean"}],["aria-autocomplete",{type:"token",values:["inline","list","both","none"]}],["aria-braillelabel",{type:"string"}],["aria-brailleroledescription",{type:"string"}],["aria-busy",{type:"boolean"}],["aria-checked",{type:"tristate"}],["aria-colcount",{type:"integer"}],["aria-colindex",{type:"integer"}],["aria-colspan",{type:"integer"}],["aria-controls",{type:"idlist"}],["aria-current",{type:"token",values:["page","step","location","date","time",!0,!1]}],["aria-describedby",{type:"idlist"}],["aria-description",{type:"string"}],["aria-details",{type:"id"}],["aria-disabled",{type:"boolean"}],["aria-dropeffect",{type:"tokenlist",values:["copy","execute","link","move","none","popup"]}],["aria-errormessage",{type:"id"}],["aria-expanded",{type:"boolean",allowundefined:!0}],["aria-flowto",{type:"idlist"}],["aria-grabbed",{type:"boolean",allowundefined:!0}],["aria-haspopup",{type:"token",values:[!1,!0,"menu","listbox","tree","grid","dialog"]}],["aria-hidden",{type:"boolean",allowundefined:!0}],["aria-invalid",{type:"token",values:["grammar",!1,"spelling",!0]}],["aria-keyshortcuts",{type:"string"}],["aria-label",{type:"string"}],["aria-labelledby",{type:"idlist"}],["aria-level",{type:"integer"}],["aria-live",{type:"token",values:["assertive","off","polite"]}],["aria-modal",{type:"boolean"}],["aria-multiline",{type:"boolean"}],["aria-multiselectable",{type:"boolean"}],["aria-orientation",{type:"token",values:["vertical","undefined","horizontal"]}],["aria-owns",{type:"idlist"}],["aria-placeholder",{type:"string"}],["aria-posinset",{type:"integer"}],["aria-pressed",{type:"tristate"}],["aria-readonly",{type:"boolean"}],["aria-relevant",{type:"tokenlist",values:["additions","all","removals","text"]}],["aria-required",{type:"boolean"}],["aria-roledescription",{type:"string"}],["aria-rowcount",{type:"integer"}],["aria-rowindex",{type:"integer"}],["aria-rowspan",{type:"integer"}],["aria-selected",{type:"boolean",allowundefined:!0}],["aria-setsize",{type:"integer"}],["aria-sort",{type:"token",values:["ascending","descending","none","other"]}],["aria-valuemax",{type:"number"}],["aria-valuemin",{type:"number"}],["aria-valuenow",{type:"number"}],["aria-valuetext",{type:"string"}]],d={entries:function(){return s},forEach:function(p){var f=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,b=l(s),h;try{for(b.s();!(h=b.n()).done;){var y=n(h.value,2),g=y[0],E=y[1];p.call(f,E,g,s)}}catch(C){b.e(C)}finally{b.f()}},get:function(p){var f=s.find(function(b){return b[0]===p});return f&&f[1]},has:function(p){return!!d.get(p)},keys:function(){return s.map(function(p){var f=n(p,1),b=f[0];return b})},values:function(){return s.map(function(p){var f=n(p,2),b=f[1];return b})}},m=(0,t.default)(d,d.entries());e.default=m}}),Jw=R({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/domMap.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=r(mn());function r(p){return p&&p.__esModule?p:{default:p}}function n(p,f){return i(p)||a(p,f)||u(p,f)||o()}function o(){throw new TypeError(`Invalid attempt to destructure non-iterable instance. -In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function a(p,f){var b=p==null?null:typeof Symbol<"u"&&p[Symbol.iterator]||p["@@iterator"];if(b!=null){var h=[],y=!0,g=!1,E,C;try{for(b=b.call(p);!(y=(E=b.next()).done)&&(h.push(E.value),!(f&&h.length===f));y=!0);}catch(q){g=!0,C=q}finally{try{!y&&b.return!=null&&b.return()}finally{if(g)throw C}}return h}}function i(p){if(Array.isArray(p))return p}function l(p,f){var b=typeof Symbol<"u"&&p[Symbol.iterator]||p["@@iterator"];if(!b){if(Array.isArray(p)||(b=u(p))||f&&p&&typeof p.length=="number"){b&&(p=b);var h=0,y=function(){};return{s:y,n:function(){return h>=p.length?{done:!0}:{done:!1,value:p[h++]}},e:function(q){throw q},f:y}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. -In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var g=!0,E=!1,C;return{s:function(){b=b.call(p)},n:function(){var q=b.next();return g=q.done,q},e:function(q){E=!0,C=q},f:function(){try{!g&&b.return!=null&&b.return()}finally{if(E)throw C}}}}function u(p,f){if(p){if(typeof p=="string")return c(p,f);var b=Object.prototype.toString.call(p).slice(8,-1);if(b==="Object"&&p.constructor&&(b=p.constructor.name),b==="Map"||b==="Set")return Array.from(p);if(b==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(b))return c(p,f)}}function c(p,f){(f==null||f>p.length)&&(f=p.length);for(var b=0,h=new Array(f);b<f;b++)h[b]=p[b];return h}var s=[["a",{reserved:!1}],["abbr",{reserved:!1}],["acronym",{reserved:!1}],["address",{reserved:!1}],["applet",{reserved:!1}],["area",{reserved:!1}],["article",{reserved:!1}],["aside",{reserved:!1}],["audio",{reserved:!1}],["b",{reserved:!1}],["base",{reserved:!0}],["bdi",{reserved:!1}],["bdo",{reserved:!1}],["big",{reserved:!1}],["blink",{reserved:!1}],["blockquote",{reserved:!1}],["body",{reserved:!1}],["br",{reserved:!1}],["button",{reserved:!1}],["canvas",{reserved:!1}],["caption",{reserved:!1}],["center",{reserved:!1}],["cite",{reserved:!1}],["code",{reserved:!1}],["col",{reserved:!0}],["colgroup",{reserved:!0}],["content",{reserved:!1}],["data",{reserved:!1}],["datalist",{reserved:!1}],["dd",{reserved:!1}],["del",{reserved:!1}],["details",{reserved:!1}],["dfn",{reserved:!1}],["dialog",{reserved:!1}],["dir",{reserved:!1}],["div",{reserved:!1}],["dl",{reserved:!1}],["dt",{reserved:!1}],["em",{reserved:!1}],["embed",{reserved:!1}],["fieldset",{reserved:!1}],["figcaption",{reserved:!1}],["figure",{reserved:!1}],["font",{reserved:!1}],["footer",{reserved:!1}],["form",{reserved:!1}],["frame",{reserved:!1}],["frameset",{reserved:!1}],["h1",{reserved:!1}],["h2",{reserved:!1}],["h3",{reserved:!1}],["h4",{reserved:!1}],["h5",{reserved:!1}],["h6",{reserved:!1}],["head",{reserved:!0}],["header",{reserved:!1}],["hgroup",{reserved:!1}],["hr",{reserved:!1}],["html",{reserved:!0}],["i",{reserved:!1}],["iframe",{reserved:!1}],["img",{reserved:!1}],["input",{reserved:!1}],["ins",{reserved:!1}],["kbd",{reserved:!1}],["keygen",{reserved:!1}],["label",{reserved:!1}],["legend",{reserved:!1}],["li",{reserved:!1}],["link",{reserved:!0}],["main",{reserved:!1}],["map",{reserved:!1}],["mark",{reserved:!1}],["marquee",{reserved:!1}],["menu",{reserved:!1}],["menuitem",{reserved:!1}],["meta",{reserved:!0}],["meter",{reserved:!1}],["nav",{reserved:!1}],["noembed",{reserved:!0}],["noscript",{reserved:!0}],["object",{reserved:!1}],["ol",{reserved:!1}],["optgroup",{reserved:!1}],["option",{reserved:!1}],["output",{reserved:!1}],["p",{reserved:!1}],["param",{reserved:!0}],["picture",{reserved:!0}],["pre",{reserved:!1}],["progress",{reserved:!1}],["q",{reserved:!1}],["rp",{reserved:!1}],["rt",{reserved:!1}],["rtc",{reserved:!1}],["ruby",{reserved:!1}],["s",{reserved:!1}],["samp",{reserved:!1}],["script",{reserved:!0}],["section",{reserved:!1}],["select",{reserved:!1}],["small",{reserved:!1}],["source",{reserved:!0}],["spacer",{reserved:!1}],["span",{reserved:!1}],["strike",{reserved:!1}],["strong",{reserved:!1}],["style",{reserved:!0}],["sub",{reserved:!1}],["summary",{reserved:!1}],["sup",{reserved:!1}],["table",{reserved:!1}],["tbody",{reserved:!1}],["td",{reserved:!1}],["textarea",{reserved:!1}],["tfoot",{reserved:!1}],["th",{reserved:!1}],["thead",{reserved:!1}],["time",{reserved:!1}],["title",{reserved:!0}],["tr",{reserved:!1}],["track",{reserved:!0}],["tt",{reserved:!1}],["u",{reserved:!1}],["ul",{reserved:!1}],["var",{reserved:!1}],["video",{reserved:!1}],["wbr",{reserved:!1}],["xmp",{reserved:!1}]],d={entries:function(){return s},forEach:function(p){var f=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,b=l(s),h;try{for(b.s();!(h=b.n()).done;){var y=n(h.value,2),g=y[0],E=y[1];p.call(f,E,g,s)}}catch(C){b.e(C)}finally{b.f()}},get:function(p){var f=s.find(function(b){return b[0]===p});return f&&f[1]},has:function(p){return!!d.get(p)},keys:function(){return s.map(function(p){var f=n(p,1),b=f[0];return b})},values:function(){return s.map(function(p){var f=n(p,2),b=f[1];return b})}},m=(0,t.default)(d,d.entries());e.default=m}}),Xw=R({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/abstract/commandRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget"]]},r=t;e.default=r}}),Qw=R({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/abstract/compositeRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-activedescendant":null,"aria-disabled":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget"]]},r=t;e.default=r}}),Zw=R({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/abstract/inputRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null},relatedConcepts:[{concept:{name:"input"},module:"XForms"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget"]]},r=t;e.default=r}}),eC=R({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/abstract/landmarkRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),tC=R({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/abstract/rangeRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-valuemax":null,"aria-valuemin":null,"aria-valuenow":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]},r=t;e.default=r}}),rC=R({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/abstract/roletypeRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{"aria-atomic":null,"aria-busy":null,"aria-controls":null,"aria-current":null,"aria-describedby":null,"aria-details":null,"aria-dropeffect":null,"aria-flowto":null,"aria-grabbed":null,"aria-hidden":null,"aria-keyshortcuts":null,"aria-label":null,"aria-labelledby":null,"aria-live":null,"aria-owns":null,"aria-relevant":null,"aria-roledescription":null},relatedConcepts:[{concept:{name:"role"},module:"XHTML"},{concept:{name:"type"},module:"Dublin Core"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[]},r=t;e.default=r}}),nC=R({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/abstract/sectionRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"frontmatter"},module:"DTB"},{concept:{name:"level"},module:"DTB"},{concept:{name:"level"},module:"SMIL"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]},r=t;e.default=r}}),oC=R({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/abstract/sectionheadRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]},r=t;e.default=r}}),aC=R({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/abstract/selectRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-orientation":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","composite"],["roletype","structure","section","group"]]},r=t;e.default=r}}),iC=R({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/abstract/structureRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype"]]},r=t;e.default=r}}),lC=R({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/abstract/widgetRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype"]]},r=t;e.default=r}}),sC=R({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/abstract/windowRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-modal":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype"]]},r=t;e.default=r}}),uC=R({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/ariaAbstractRoles.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=p(Xw()),r=p(Qw()),n=p(Zw()),o=p(eC()),a=p(tC()),i=p(rC()),l=p(nC()),u=p(oC()),c=p(aC()),s=p(iC()),d=p(lC()),m=p(sC());function p(h){return h&&h.__esModule?h:{default:h}}var f=[["command",t.default],["composite",r.default],["input",n.default],["landmark",o.default],["range",a.default],["roletype",i.default],["section",l.default],["sectionhead",u.default],["select",c.default],["structure",s.default],["widget",d.default],["window",m.default]],b=f;e.default=b}}),cC=R({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/alertRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-atomic":"true","aria-live":"assertive"},relatedConcepts:[{concept:{name:"alert"},module:"XForms"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),dC=R({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/alertdialogRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"alert"},module:"XForms"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","alert"],["roletype","window","dialog"]]},r=t;e.default=r}}),pC=R({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/applicationRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-activedescendant":null,"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"Device Independence Delivery Unit"}}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]},r=t;e.default=r}}),mC=R({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/articleRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-posinset":null,"aria-setsize":null},relatedConcepts:[{concept:{name:"article"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","document"]]},r=t;e.default=r}}),fC=R({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/bannerRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{constraints:["scoped to the body element"],name:"header"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}}),hC=R({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/blockquoteRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"blockquote"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),bC=R({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/buttonRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-disabled":null,"aria-expanded":null,"aria-haspopup":null,"aria-pressed":null},relatedConcepts:[{concept:{attributes:[{name:"type",value:"button"}],name:"input"},module:"HTML"},{concept:{attributes:[{name:"type",value:"image"}],name:"input"},module:"HTML"},{concept:{attributes:[{name:"type",value:"reset"}],name:"input"},module:"HTML"},{concept:{attributes:[{name:"type",value:"submit"}],name:"input"},module:"HTML"},{concept:{name:"button"},module:"HTML"},{concept:{name:"trigger"},module:"XForms"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command"]]},r=t;e.default=r}}),yC=R({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/captionRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"caption"},module:"HTML"}],requireContextRole:["figure","grid","table"],requiredContextRole:["figure","grid","table"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),gC=R({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/cellRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-colindex":null,"aria-colspan":null,"aria-rowindex":null,"aria-rowspan":null},relatedConcepts:[{concept:{constraints:["ancestor table element has table role"],name:"td"},module:"HTML"}],requireContextRole:["row"],requiredContextRole:["row"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),vC=R({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/checkboxRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-checked":null,"aria-errormessage":null,"aria-expanded":null,"aria-invalid":null,"aria-readonly":null,"aria-required":null},relatedConcepts:[{concept:{attributes:[{name:"type",value:"checkbox"}],name:"input"},module:"HTML"},{concept:{name:"option"},module:"ARIA"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-checked":null},superClass:[["roletype","widget","input"]]},r=t;e.default=r}}),_C=R({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/codeRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"code"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),RC=R({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/columnheaderRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-sort":null},relatedConcepts:[{concept:{name:"th"},module:"HTML"},{concept:{attributes:[{name:"scope",value:"col"}],name:"th"},module:"HTML"},{concept:{attributes:[{name:"scope",value:"colgroup"}],name:"th"},module:"HTML"}],requireContextRole:["row"],requiredContextRole:["row"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","cell"],["roletype","structure","section","cell","gridcell"],["roletype","widget","gridcell"],["roletype","structure","sectionhead"]]},r=t;e.default=r}}),wC=R({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/comboboxRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-activedescendant":null,"aria-autocomplete":null,"aria-errormessage":null,"aria-invalid":null,"aria-readonly":null,"aria-required":null,"aria-expanded":"false","aria-haspopup":"listbox"},relatedConcepts:[{concept:{attributes:[{constraints:["set"],name:"list"},{name:"type",value:"email"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"list"},{name:"type",value:"search"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"list"},{name:"type",value:"tel"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"list"},{name:"type",value:"text"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"list"},{name:"type",value:"url"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"list"},{name:"type",value:"url"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"multiple"},{constraints:["undefined"],name:"size"}],constraints:["the multiple attribute is not set and the size attribute does not have a value greater than 1"],name:"select"},module:"HTML"},{concept:{name:"select"},module:"XForms"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-controls":null,"aria-expanded":"false"},superClass:[["roletype","widget","input"]]},r=t;e.default=r}}),CC=R({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/complementaryRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"aside"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"aria-label"}],constraints:["scoped to a sectioning content element","scoped to a sectioning root element other than body"],name:"aside"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"aria-labelledby"}],constraints:["scoped to a sectioning content element","scoped to a sectioning root element other than body"],name:"aside"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}}),qC=R({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/contentinfoRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{constraints:["scoped to the body element"],name:"footer"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}}),EC=R({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/definitionRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"dd"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),PC=R({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/deletionRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"del"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),OC=R({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/dialogRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"dialog"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","window"]]},r=t;e.default=r}}),TC=R({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/directoryRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{module:"DAISY Guide"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","list"]]},r=t;e.default=r}}),SC=R({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/documentRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"Device Independence Delivery Unit"}},{concept:{name:"html"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]},r=t;e.default=r}}),AC=R({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/emphasisRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"em"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),MC=R({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/feedRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["article"]],requiredProps:{},superClass:[["roletype","structure","section","list"]]},r=t;e.default=r}}),xC=R({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/figureRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"figure"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),jC=R({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/formRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{attributes:[{constraints:["set"],name:"aria-label"}],name:"form"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"aria-labelledby"}],name:"form"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"name"}],name:"form"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}}),NC=R({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/genericRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"a"},module:"HTML"},{concept:{name:"area"},module:"HTML"},{concept:{name:"aside"},module:"HTML"},{concept:{name:"b"},module:"HTML"},{concept:{name:"bdo"},module:"HTML"},{concept:{name:"body"},module:"HTML"},{concept:{name:"data"},module:"HTML"},{concept:{name:"div"},module:"HTML"},{concept:{constraints:["scoped to the main element","scoped to a sectioning content element","scoped to a sectioning root element other than body"],name:"footer"},module:"HTML"},{concept:{constraints:["scoped to the main element","scoped to a sectioning content element","scoped to a sectioning root element other than body"],name:"header"},module:"HTML"},{concept:{name:"hgroup"},module:"HTML"},{concept:{name:"i"},module:"HTML"},{concept:{name:"pre"},module:"HTML"},{concept:{name:"q"},module:"HTML"},{concept:{name:"samp"},module:"HTML"},{concept:{name:"section"},module:"HTML"},{concept:{name:"small"},module:"HTML"},{concept:{name:"span"},module:"HTML"},{concept:{name:"u"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]},r=t;e.default=r}}),$C=R({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/gridRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-multiselectable":null,"aria-readonly":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["row"],["row","rowgroup"]],requiredProps:{},superClass:[["roletype","widget","composite"],["roletype","structure","section","table"]]},r=t;e.default=r}}),IC=R({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/gridcellRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null,"aria-readonly":null,"aria-required":null,"aria-selected":null},relatedConcepts:[{concept:{constraints:["ancestor table element has grid role","ancestor table element has treegrid role"],name:"td"},module:"HTML"}],requireContextRole:["row"],requiredContextRole:["row"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","cell"],["roletype","widget"]]},r=t;e.default=r}}),BC=R({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/groupRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-activedescendant":null,"aria-disabled":null},relatedConcepts:[{concept:{name:"details"},module:"HTML"},{concept:{name:"fieldset"},module:"HTML"},{concept:{name:"optgroup"},module:"HTML"},{concept:{name:"address"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),kC=R({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/headingRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-level":"2"},relatedConcepts:[{concept:{name:"h1"},module:"HTML"},{concept:{name:"h2"},module:"HTML"},{concept:{name:"h3"},module:"HTML"},{concept:{name:"h4"},module:"HTML"},{concept:{name:"h5"},module:"HTML"},{concept:{name:"h6"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-level":"2"},superClass:[["roletype","structure","sectionhead"]]},r=t;e.default=r}}),LC=R({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/imgRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{attributes:[{constraints:["set"],name:"alt"}],name:"img"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"alt"}],name:"img"},module:"HTML"},{concept:{name:"imggroup"},module:"DTB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),DC=R({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/insertionRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"ins"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),FC=R({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/linkRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-disabled":null,"aria-expanded":null,"aria-haspopup":null},relatedConcepts:[{concept:{attributes:[{constraints:["set"],name:"href"}],name:"a"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"href"}],name:"area"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command"]]},r=t;e.default=r}}),HC=R({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/listRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"menu"},module:"HTML"},{concept:{name:"ol"},module:"HTML"},{concept:{name:"ul"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["listitem"]],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),UC=R({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/listboxRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-expanded":null,"aria-invalid":null,"aria-multiselectable":null,"aria-readonly":null,"aria-required":null,"aria-orientation":"vertical"},relatedConcepts:[{concept:{attributes:[{constraints:[">1"],name:"size"}],constraints:["the size attribute value is greater than 1"],name:"select"},module:"HTML"},{concept:{attributes:[{name:"multiple"}],name:"select"},module:"HTML"},{concept:{name:"datalist"},module:"HTML"},{concept:{name:"list"},module:"ARIA"},{concept:{name:"select"},module:"XForms"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["option","group"],["option"]],requiredProps:{},superClass:[["roletype","widget","composite","select"],["roletype","structure","section","group","select"]]},r=t;e.default=r}}),VC=R({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/listitemRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-level":null,"aria-posinset":null,"aria-setsize":null},relatedConcepts:[{concept:{constraints:["direct descendant of ol","direct descendant of ul","direct descendant of menu"],name:"li"},module:"HTML"},{concept:{name:"item"},module:"XForms"}],requireContextRole:["directory","list"],requiredContextRole:["directory","list"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),zC=R({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/logRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-live":"polite"},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),GC=R({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/mainRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"main"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}}),WC=R({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/markRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:[],props:{"aria-braillelabel":null,"aria-brailleroledescription":null,"aria-description":null},relatedConcepts:[{concept:{name:"mark"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),KC=R({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/marqueeRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),YC=R({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/mathRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"math"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),JC=R({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/menuRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-orientation":"vertical"},relatedConcepts:[{concept:{name:"MENU"},module:"JAPI"},{concept:{name:"list"},module:"ARIA"},{concept:{name:"select"},module:"XForms"},{concept:{name:"sidebar"},module:"DTB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["menuitem","group"],["menuitemradio","group"],["menuitemcheckbox","group"],["menuitem"],["menuitemcheckbox"],["menuitemradio"]],requiredProps:{},superClass:[["roletype","widget","composite","select"],["roletype","structure","section","group","select"]]},r=t;e.default=r}}),XC=R({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/menubarRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-orientation":"horizontal"},relatedConcepts:[{concept:{name:"toolbar"},module:"ARIA"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["menuitem","group"],["menuitemradio","group"],["menuitemcheckbox","group"],["menuitem"],["menuitemcheckbox"],["menuitemradio"]],requiredProps:{},superClass:[["roletype","widget","composite","select","menu"],["roletype","structure","section","group","select","menu"]]},r=t;e.default=r}}),QC=R({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/menuitemRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-disabled":null,"aria-expanded":null,"aria-haspopup":null,"aria-posinset":null,"aria-setsize":null},relatedConcepts:[{concept:{name:"MENU_ITEM"},module:"JAPI"},{concept:{name:"listitem"},module:"ARIA"},{concept:{name:"option"},module:"ARIA"}],requireContextRole:["group","menu","menubar"],requiredContextRole:["group","menu","menubar"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command"]]},r=t;e.default=r}}),ZC=R({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/menuitemcheckboxRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"menuitem"},module:"ARIA"}],requireContextRole:["group","menu","menubar"],requiredContextRole:["group","menu","menubar"],requiredOwnedElements:[],requiredProps:{"aria-checked":null},superClass:[["roletype","widget","input","checkbox"],["roletype","widget","command","menuitem"]]},r=t;e.default=r}}),eq=R({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/menuitemradioRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"menuitem"},module:"ARIA"}],requireContextRole:["group","menu","menubar"],requiredContextRole:["group","menu","menubar"],requiredOwnedElements:[],requiredProps:{"aria-checked":null},superClass:[["roletype","widget","input","checkbox","menuitemcheckbox"],["roletype","widget","command","menuitem","menuitemcheckbox"],["roletype","widget","input","radio"]]},r=t;e.default=r}}),tq=R({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/meterRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-valuetext":null,"aria-valuemax":"100","aria-valuemin":"0"},relatedConcepts:[{concept:{name:"meter"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-valuenow":null},superClass:[["roletype","structure","range"]]},r=t;e.default=r}}),rq=R({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/navigationRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"nav"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}}),nq=R({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/noneRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[]},r=t;e.default=r}}),oq=R({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/noteRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),aq=R({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/optionRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-checked":null,"aria-posinset":null,"aria-setsize":null,"aria-selected":"false"},relatedConcepts:[{concept:{name:"item"},module:"XForms"},{concept:{name:"listitem"},module:"ARIA"},{concept:{name:"option"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-selected":"false"},superClass:[["roletype","widget","input"]]},r=t;e.default=r}}),iq=R({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/paragraphRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"p"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),lq=R({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/presentationRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{attributes:[{name:"alt",value:""}],name:"img"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]},r=t;e.default=r}}),sq=R({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/progressbarRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-valuetext":null},relatedConcepts:[{concept:{name:"progress"},module:"HTML"},{concept:{name:"status"},module:"ARIA"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","range"],["roletype","widget"]]},r=t;e.default=r}}),uq=R({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/radioRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-checked":null,"aria-posinset":null,"aria-setsize":null},relatedConcepts:[{concept:{attributes:[{name:"type",value:"radio"}],name:"input"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-checked":null},superClass:[["roletype","widget","input"]]},r=t;e.default=r}}),cq=R({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/radiogroupRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null,"aria-readonly":null,"aria-required":null},relatedConcepts:[{concept:{name:"list"},module:"ARIA"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["radio"]],requiredProps:{},superClass:[["roletype","widget","composite","select"],["roletype","structure","section","group","select"]]},r=t;e.default=r}}),dq=R({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/regionRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{attributes:[{constraints:["set"],name:"aria-label"}],name:"section"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"aria-labelledby"}],name:"section"},module:"HTML"},{concept:{name:"Device Independence Glossart perceivable unit"}}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}}),pq=R({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/rowRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-colindex":null,"aria-expanded":null,"aria-level":null,"aria-posinset":null,"aria-rowindex":null,"aria-selected":null,"aria-setsize":null},relatedConcepts:[{concept:{name:"tr"},module:"HTML"}],requireContextRole:["grid","rowgroup","table","treegrid"],requiredContextRole:["grid","rowgroup","table","treegrid"],requiredOwnedElements:[["cell"],["columnheader"],["gridcell"],["rowheader"]],requiredProps:{},superClass:[["roletype","structure","section","group"],["roletype","widget"]]},r=t;e.default=r}}),mq=R({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/rowgroupRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"tbody"},module:"HTML"},{concept:{name:"tfoot"},module:"HTML"},{concept:{name:"thead"},module:"HTML"}],requireContextRole:["grid","table","treegrid"],requiredContextRole:["grid","table","treegrid"],requiredOwnedElements:[["row"]],requiredProps:{},superClass:[["roletype","structure"]]},r=t;e.default=r}}),fq=R({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/rowheaderRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-sort":null},relatedConcepts:[{concept:{attributes:[{name:"scope",value:"row"}],name:"th"},module:"HTML"},{concept:{attributes:[{name:"scope",value:"rowgroup"}],name:"th"},module:"HTML"}],requireContextRole:["row","rowgroup"],requiredContextRole:["row","rowgroup"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","cell"],["roletype","structure","section","cell","gridcell"],["roletype","widget","gridcell"],["roletype","structure","sectionhead"]]},r=t;e.default=r}}),hq=R({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/scrollbarRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-valuetext":null,"aria-orientation":"vertical","aria-valuemax":"100","aria-valuemin":"0"},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-controls":null,"aria-valuenow":null},superClass:[["roletype","structure","range"],["roletype","widget"]]},r=t;e.default=r}}),bq=R({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/searchRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}}),yq=R({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/searchboxRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{attributes:[{constraints:["undefined"],name:"list"},{name:"type",value:"search"}],constraints:["the list attribute is not set"],name:"input"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","input","textbox"]]},r=t;e.default=r}}),gq=R({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/separatorRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-orientation":"horizontal","aria-valuemax":"100","aria-valuemin":"0","aria-valuenow":null,"aria-valuetext":null},relatedConcepts:[{concept:{name:"hr"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]},r=t;e.default=r}}),vq=R({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/sliderRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-haspopup":null,"aria-invalid":null,"aria-readonly":null,"aria-valuetext":null,"aria-orientation":"horizontal","aria-valuemax":"100","aria-valuemin":"0"},relatedConcepts:[{concept:{attributes:[{name:"type",value:"range"}],name:"input"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-valuenow":null},superClass:[["roletype","widget","input"],["roletype","structure","range"]]},r=t;e.default=r}}),_q=R({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/spinbuttonRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null,"aria-readonly":null,"aria-required":null,"aria-valuetext":null,"aria-valuenow":"0"},relatedConcepts:[{concept:{attributes:[{name:"type",value:"number"}],name:"input"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","composite"],["roletype","widget","input"],["roletype","structure","range"]]},r=t;e.default=r}}),Rq=R({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/statusRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-atomic":"true","aria-live":"polite"},relatedConcepts:[{concept:{name:"output"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),wq=R({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/strongRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"strong"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),Cq=R({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/subscriptRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"sub"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),qq=R({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/superscriptRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"sup"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),Eq=R({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/switchRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"button"},module:"ARIA"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-checked":null},superClass:[["roletype","widget","input","checkbox"]]},r=t;e.default=r}}),Pq=R({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/tabRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-disabled":null,"aria-expanded":null,"aria-haspopup":null,"aria-posinset":null,"aria-setsize":null,"aria-selected":"false"},relatedConcepts:[],requireContextRole:["tablist"],requiredContextRole:["tablist"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","sectionhead"],["roletype","widget"]]},r=t;e.default=r}}),Oq=R({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/tableRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-colcount":null,"aria-rowcount":null},relatedConcepts:[{concept:{name:"table"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["row"],["row","rowgroup"]],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),Tq=R({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/tablistRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-level":null,"aria-multiselectable":null,"aria-orientation":"horizontal"},relatedConcepts:[{module:"DAISY",concept:{name:"guide"}}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["tab"]],requiredProps:{},superClass:[["roletype","widget","composite"]]},r=t;e.default=r}}),Sq=R({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/tabpanelRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),Aq=R({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/termRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"dfn"},module:"HTML"},{concept:{name:"dt"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),Mq=R({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/textboxRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-activedescendant":null,"aria-autocomplete":null,"aria-errormessage":null,"aria-haspopup":null,"aria-invalid":null,"aria-multiline":null,"aria-placeholder":null,"aria-readonly":null,"aria-required":null},relatedConcepts:[{concept:{attributes:[{constraints:["undefined"],name:"type"},{constraints:["undefined"],name:"list"}],constraints:["the list attribute is not set"],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"list"},{name:"type",value:"email"}],constraints:["the list attribute is not set"],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"list"},{name:"type",value:"tel"}],constraints:["the list attribute is not set"],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"list"},{name:"type",value:"text"}],constraints:["the list attribute is not set"],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"list"},{name:"type",value:"url"}],constraints:["the list attribute is not set"],name:"input"},module:"HTML"},{concept:{name:"input"},module:"XForms"},{concept:{name:"textarea"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","input"]]},r=t;e.default=r}}),xq=R({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/timeRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"time"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),jq=R({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/timerRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","status"]]},r=t;e.default=r}}),Nq=R({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/toolbarRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-orientation":"horizontal"},relatedConcepts:[{concept:{name:"menubar"},module:"ARIA"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","group"]]},r=t;e.default=r}}),$q=R({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/tooltipRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),Iq=R({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/treeRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null,"aria-multiselectable":null,"aria-required":null,"aria-orientation":"vertical"},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["treeitem","group"],["treeitem"]],requiredProps:{},superClass:[["roletype","widget","composite","select"],["roletype","structure","section","group","select"]]},r=t;e.default=r}}),Bq=R({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/treegridRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["row"],["row","rowgroup"]],requiredProps:{},superClass:[["roletype","widget","composite","grid"],["roletype","structure","section","table","grid"],["roletype","widget","composite","select","tree"],["roletype","structure","section","group","select","tree"]]},r=t;e.default=r}}),kq=R({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/treeitemRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-expanded":null,"aria-haspopup":null},relatedConcepts:[],requireContextRole:["group","tree"],requiredContextRole:["group","tree"],requiredOwnedElements:[],requiredProps:{"aria-selected":null},superClass:[["roletype","structure","section","listitem"],["roletype","widget","input","option"]]},r=t;e.default=r}}),Lq=R({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/ariaLiteralRoles.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=x(cC()),r=x(dC()),n=x(pC()),o=x(mC()),a=x(fC()),i=x(hC()),l=x(bC()),u=x(yC()),c=x(gC()),s=x(vC()),d=x(_C()),m=x(RC()),p=x(wC()),f=x(CC()),b=x(qC()),h=x(EC()),y=x(PC()),g=x(OC()),E=x(TC()),C=x(SC()),q=x(AC()),_=x(MC()),v=x(xC()),w=x(jC()),P=x(NC()),j=x($C()),$=x(IC()),B=x(BC()),I=x(kC()),A=x(LC()),k=x(DC()),U=x(FC()),W=x(HC()),G=x(UC()),se=x(VC()),ve=x(zC()),pe=x(GC()),F=x(WC()),L=x(KC()),D=x(YC()),z=x(JC()),H=x(XC()),ae=x(QC()),ue=x(ZC()),ut=x(eq()),M=x(tq()),V=x(rq()),J=x(nq()),re=x(oq()),te=x(aq()),Re=x(iq()),we=x(lq()),Ee=x(sq()),We=x(uq()),Ho=x(cq()),Uo=x(dq()),Vo=x(pq()),zo=x(mq()),Go=x(fq()),Wo=x(hq()),Ko=x(bq()),Yo=x(yq()),Jo=x(gq()),Xo=x(vq()),Qo=x(_q()),Zo=x(Rq()),ea=x(wq()),ta=x(Cq()),ra=x(qq()),na=x(Eq()),oa=x(Pq()),aa=x(Oq()),ia=x(Tq()),la=x(Sq()),sa=x(Aq()),ua=x(Mq()),ca=x(xq()),da=x(jq()),pa=x(Nq()),ma=x($q()),fa=x(Iq()),ha=x(Bq()),ba=x(kq());function x(Cn){return Cn&&Cn.__esModule?Cn:{default:Cn}}var ya=[["alert",t.default],["alertdialog",r.default],["application",n.default],["article",o.default],["banner",a.default],["blockquote",i.default],["button",l.default],["caption",u.default],["cell",c.default],["checkbox",s.default],["code",d.default],["columnheader",m.default],["combobox",p.default],["complementary",f.default],["contentinfo",b.default],["definition",h.default],["deletion",y.default],["dialog",g.default],["directory",E.default],["document",C.default],["emphasis",q.default],["feed",_.default],["figure",v.default],["form",w.default],["generic",P.default],["grid",j.default],["gridcell",$.default],["group",B.default],["heading",I.default],["img",A.default],["insertion",k.default],["link",U.default],["list",W.default],["listbox",G.default],["listitem",se.default],["log",ve.default],["main",pe.default],["mark",F.default],["marquee",L.default],["math",D.default],["menu",z.default],["menubar",H.default],["menuitem",ae.default],["menuitemcheckbox",ue.default],["menuitemradio",ut.default],["meter",M.default],["navigation",V.default],["none",J.default],["note",re.default],["option",te.default],["paragraph",Re.default],["presentation",we.default],["progressbar",Ee.default],["radio",We.default],["radiogroup",Ho.default],["region",Uo.default],["row",Vo.default],["rowgroup",zo.default],["rowheader",Go.default],["scrollbar",Wo.default],["search",Ko.default],["searchbox",Yo.default],["separator",Jo.default],["slider",Xo.default],["spinbutton",Qo.default],["status",Zo.default],["strong",ea.default],["subscript",ta.default],["superscript",ra.default],["switch",na.default],["tab",oa.default],["table",aa.default],["tablist",ia.default],["tabpanel",la.default],["term",sa.default],["textbox",ua.default],["time",ca.default],["timer",da.default],["toolbar",pa.default],["tooltip",ma.default],["tree",fa.default],["treegrid",ha.default],["treeitem",ba.default]],tr=ya;e.default=tr}}),Dq=R({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docAbstractRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"abstract [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),Fq=R({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docAcknowledgmentsRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"acknowledgments [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}}),Hq=R({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docAfterwordRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"afterword [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}}),Uq=R({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docAppendixRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"appendix [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}}),Vq=R({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docBacklinkRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"referrer [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command","link"]]},r=t;e.default=r}}),zq=R({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docBiblioentryRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"EPUB biblioentry [EPUB-SSV]"},module:"EPUB"}],requireContextRole:["doc-bibliography"],requiredContextRole:["doc-bibliography"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","listitem"]]},r=t;e.default=r}}),Gq=R({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docBibliographyRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"bibliography [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["doc-biblioentry"]],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}}),Wq=R({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docBibliorefRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"biblioref [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command","link"]]},r=t;e.default=r}}),Kq=R({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docChapterRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"chapter [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}}),Yq=R({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docColophonRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"colophon [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),Jq=R({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docConclusionRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"conclusion [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}}),Xq=R({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docCoverRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"cover [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","img"]]},r=t;e.default=r}}),Qq=R({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docCreditRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"credit [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),Zq=R({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docCreditsRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"credits [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}}),eE=R({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docDedicationRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"dedication [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),tE=R({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docEndnoteRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"rearnote [EPUB-SSV]"},module:"EPUB"}],requireContextRole:["doc-endnotes"],requiredContextRole:["doc-endnotes"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","listitem"]]},r=t;e.default=r}}),rE=R({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docEndnotesRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"rearnotes [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["doc-endnote"]],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}}),nE=R({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docEpigraphRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"epigraph [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),oE=R({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docEpilogueRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"epilogue [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}}),aE=R({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docErrataRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"errata [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}}),iE=R({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docExampleRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),lE=R({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docFootnoteRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"footnote [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),sE=R({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docForewordRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"foreword [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}}),uE=R({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docGlossaryRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"glossary [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["definition"],["term"]],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}}),cE=R({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docGlossrefRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"glossref [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command","link"]]},r=t;e.default=r}}),dE=R({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docIndexRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"index [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark","navigation"]]},r=t;e.default=r}}),pE=R({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docIntroductionRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"introduction [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}}),mE=R({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docNoterefRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"noteref [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command","link"]]},r=t;e.default=r}}),fE=R({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docNoticeRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"notice [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","note"]]},r=t;e.default=r}}),hE=R({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docPagebreakRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"pagebreak [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","separator"]]},r=t;e.default=r}}),bE=R({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docPagelistRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"page-list [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark","navigation"]]},r=t;e.default=r}}),yE=R({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docPartRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"part [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}}),gE=R({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docPrefaceRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"preface [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}}),vE=R({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docPrologueRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"prologue [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}}),_E=R({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docPullquoteRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"pullquote [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["none"]]},r=t;e.default=r}}),RE=R({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docQnaRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"qna [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),wE=R({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docSubtitleRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"subtitle [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","sectionhead"]]},r=t;e.default=r}}),CE=R({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docTipRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"help [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","note"]]},r=t;e.default=r}}),qE=R({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docTocRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"toc [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark","navigation"]]},r=t;e.default=r}}),EE=R({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/ariaDpubRoles.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=D(Dq()),r=D(Fq()),n=D(Hq()),o=D(Uq()),a=D(Vq()),i=D(zq()),l=D(Gq()),u=D(Wq()),c=D(Kq()),s=D(Yq()),d=D(Jq()),m=D(Xq()),p=D(Qq()),f=D(Zq()),b=D(eE()),h=D(tE()),y=D(rE()),g=D(nE()),E=D(oE()),C=D(aE()),q=D(iE()),_=D(lE()),v=D(sE()),w=D(uE()),P=D(cE()),j=D(dE()),$=D(pE()),B=D(mE()),I=D(fE()),A=D(hE()),k=D(bE()),U=D(yE()),W=D(gE()),G=D(vE()),se=D(_E()),ve=D(RE()),pe=D(wE()),F=D(CE()),L=D(qE());function D(ae){return ae&&ae.__esModule?ae:{default:ae}}var z=[["doc-abstract",t.default],["doc-acknowledgments",r.default],["doc-afterword",n.default],["doc-appendix",o.default],["doc-backlink",a.default],["doc-biblioentry",i.default],["doc-bibliography",l.default],["doc-biblioref",u.default],["doc-chapter",c.default],["doc-colophon",s.default],["doc-conclusion",d.default],["doc-cover",m.default],["doc-credit",p.default],["doc-credits",f.default],["doc-dedication",b.default],["doc-endnote",h.default],["doc-endnotes",y.default],["doc-epigraph",g.default],["doc-epilogue",E.default],["doc-errata",C.default],["doc-example",q.default],["doc-footnote",_.default],["doc-foreword",v.default],["doc-glossary",w.default],["doc-glossref",P.default],["doc-index",j.default],["doc-introduction",$.default],["doc-noteref",B.default],["doc-notice",I.default],["doc-pagebreak",A.default],["doc-pagelist",k.default],["doc-part",U.default],["doc-preface",W.default],["doc-prologue",G.default],["doc-pullquote",se.default],["doc-qna",ve.default],["doc-subtitle",pe.default],["doc-tip",F.default],["doc-toc",L.default]],H=z;e.default=H}}),PE=R({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/graphics/graphicsDocumentRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{module:"GRAPHICS",concept:{name:"graphics-object"}},{module:"ARIA",concept:{name:"img"}},{module:"ARIA",concept:{name:"article"}}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","document"]]},r=t;e.default=r}}),OE=R({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/graphics/graphicsObjectRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{module:"GRAPHICS",concept:{name:"graphics-document"}},{module:"ARIA",concept:{name:"group"}},{module:"ARIA",concept:{name:"img"}},{module:"GRAPHICS",concept:{name:"graphics-symbol"}}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","group"]]},r=t;e.default=r}}),TE=R({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/graphics/graphicsSymbolRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","img"]]},r=t;e.default=r}}),SE=R({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/ariaGraphicsRoles.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=o(PE()),r=o(OE()),n=o(TE());function o(l){return l&&l.__esModule?l:{default:l}}var a=[["graphics-document",t.default],["graphics-object",r.default],["graphics-symbol",n.default]],i=a;e.default=i}}),fl=R({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/rolesMap.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=i(uC()),r=i(Lq()),n=i(EE()),o=i(SE()),a=i(mn());function i(g){return g&&g.__esModule?g:{default:g}}function l(g,E,C){return E in g?Object.defineProperty(g,E,{value:C,enumerable:!0,configurable:!0,writable:!0}):g[E]=C,g}function u(g,E){var C=typeof Symbol<"u"&&g[Symbol.iterator]||g["@@iterator"];if(!C){if(Array.isArray(g)||(C=d(g))||E&&g&&typeof g.length=="number"){C&&(g=C);var q=0,_=function(){};return{s:_,n:function(){return q>=g.length?{done:!0}:{done:!1,value:g[q++]}},e:function(j){throw j},f:_}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. -In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var v=!0,w=!1,P;return{s:function(){C=C.call(g)},n:function(){var j=C.next();return v=j.done,j},e:function(j){w=!0,P=j},f:function(){try{!v&&C.return!=null&&C.return()}finally{if(w)throw P}}}}function c(g,E){return f(g)||p(g,E)||d(g,E)||s()}function s(){throw new TypeError(`Invalid attempt to destructure non-iterable instance. -In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function d(g,E){if(g){if(typeof g=="string")return m(g,E);var C=Object.prototype.toString.call(g).slice(8,-1);if(C==="Object"&&g.constructor&&(C=g.constructor.name),C==="Map"||C==="Set")return Array.from(g);if(C==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(C))return m(g,E)}}function m(g,E){(E==null||E>g.length)&&(E=g.length);for(var C=0,q=new Array(E);C<E;C++)q[C]=g[C];return q}function p(g,E){var C=g==null?null:typeof Symbol<"u"&&g[Symbol.iterator]||g["@@iterator"];if(C!=null){var q=[],_=!0,v=!1,w,P;try{for(C=C.call(g);!(_=(w=C.next()).done)&&(q.push(w.value),!(E&&q.length===E));_=!0);}catch(j){v=!0,P=j}finally{try{!_&&C.return!=null&&C.return()}finally{if(v)throw P}}return q}}function f(g){if(Array.isArray(g))return g}var b=[].concat(t.default,r.default,n.default,o.default);b.forEach(function(g){var E=c(g,2),C=E[1],q=u(C.superClass),_;try{for(q.s();!(_=q.n()).done;){var v=_.value,w=u(v),P;try{var j=function(){var $=P.value,B=b.find(function(W){var G=c(W,1),se=G[0];return se===$});if(B)for(var I=B[1],A=0,k=Object.keys(I.props);A<k.length;A++){var U=k[A];Object.prototype.hasOwnProperty.call(C.props,U)||Object.assign(C.props,l({},U,I.props[U]))}};for(w.s();!(P=w.n()).done;)j()}catch($){w.e($)}finally{w.f()}}}catch($){q.e($)}finally{q.f()}});var h={entries:function(){return b},forEach:function(g){var E=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,C=u(b),q;try{for(C.s();!(q=C.n()).done;){var _=c(q.value,2),v=_[0],w=_[1];g.call(E,w,v,b)}}catch(P){C.e(P)}finally{C.f()}},get:function(g){var E=b.find(function(C){return C[0]===g});return E&&E[1]},has:function(g){return!!h.get(g)},keys:function(){return b.map(function(g){var E=c(g,1),C=E[0];return C})},values:function(){return b.map(function(g){var E=c(g,2),C=E[1];return C})}},y=(0,a.default)(h,h.entries());e.default=y}}),AE=R({"../../node_modules/dequal/lite/index.js"(e){var t=Object.prototype.hasOwnProperty;function r(n,o){var a,i;if(n===o)return!0;if(n&&o&&(a=n.constructor)===o.constructor){if(a===Date)return n.getTime()===o.getTime();if(a===RegExp)return n.toString()===o.toString();if(a===Array){if((i=n.length)===o.length)for(;i--&&r(n[i],o[i]););return i===-1}if(!a||typeof n=="object"){i=0;for(a in n)if(t.call(n,a)&&++i&&!t.call(o,a)||!(a in o)||!r(n[a],o[a]))return!1;return Object.keys(o).length===i}}return n!==n&&o!==o}e.dequal=r}}),ME=R({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/elementRoleMap.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=AE(),r=o(mn()),n=o(fl());function o(_){return _&&_.__esModule?_:{default:_}}function a(_,v){return u(_)||l(_,v)||s(_,v)||i()}function i(){throw new TypeError(`Invalid attempt to destructure non-iterable instance. -In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function l(_,v){var w=_==null?null:typeof Symbol<"u"&&_[Symbol.iterator]||_["@@iterator"];if(w!=null){var P=[],j=!0,$=!1,B,I;try{for(w=w.call(_);!(j=(B=w.next()).done)&&(P.push(B.value),!(v&&P.length===v));j=!0);}catch(A){$=!0,I=A}finally{try{!j&&w.return!=null&&w.return()}finally{if($)throw I}}return P}}function u(_){if(Array.isArray(_))return _}function c(_,v){var w=typeof Symbol<"u"&&_[Symbol.iterator]||_["@@iterator"];if(!w){if(Array.isArray(_)||(w=s(_))||v&&_&&typeof _.length=="number"){w&&(_=w);var P=0,j=function(){};return{s:j,n:function(){return P>=_.length?{done:!0}:{done:!1,value:_[P++]}},e:function(A){throw A},f:j}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. -In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var $=!0,B=!1,I;return{s:function(){w=w.call(_)},n:function(){var A=w.next();return $=A.done,A},e:function(A){B=!0,I=A},f:function(){try{!$&&w.return!=null&&w.return()}finally{if(B)throw I}}}}function s(_,v){if(_){if(typeof _=="string")return d(_,v);var w=Object.prototype.toString.call(_).slice(8,-1);if(w==="Object"&&_.constructor&&(w=_.constructor.name),w==="Map"||w==="Set")return Array.from(_);if(w==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(w))return d(_,v)}}function d(_,v){(v==null||v>_.length)&&(v=_.length);for(var w=0,P=new Array(v);w<v;w++)P[w]=_[w];return P}var m=[],p=n.default.keys();for(E=0;E<p.length;E++)if(f=p[E],b=n.default.get(f),b)for(h=[].concat(b.baseConcepts,b.relatedConcepts),g=0;g<h.length;g++)y=h[g],y.module==="HTML"&&function(){var _=y.concept;if(_){var v=m.find(function($){return(0,t.dequal)($,_)}),w;v?w=v[1]:w=[];for(var P=!0,j=0;j<w.length;j++)if(w[j]===f){P=!1;break}P&&w.push(f),m.push([_,w])}}();var f,b,h,y,g,E,C={entries:function(){return m},forEach:function(_){var v=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,w=c(m),P;try{for(w.s();!(P=w.n()).done;){var j=a(P.value,2),$=j[0],B=j[1];_.call(v,B,$,m)}}catch(I){w.e(I)}finally{w.f()}},get:function(_){var v=m.find(function(w){return _.name===w[0].name&&(0,t.dequal)(_.attributes,w[0].attributes)});return v&&v[1]},has:function(_){return!!C.get(_)},keys:function(){return m.map(function(_){var v=a(_,1),w=v[0];return w})},values:function(){return m.map(function(_){var v=a(_,2),w=v[1];return w})}},q=(0,r.default)(C,C.entries());e.default=q}}),xE=R({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/roleElementMap.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=n(mn()),r=n(fl());function n(v){return v&&v.__esModule?v:{default:v}}function o(v,w){return l(v)||i(v,w)||c(v,w)||a()}function a(){throw new TypeError(`Invalid attempt to destructure non-iterable instance. -In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function i(v,w){var P=v==null?null:typeof Symbol<"u"&&v[Symbol.iterator]||v["@@iterator"];if(P!=null){var j=[],$=!0,B=!1,I,A;try{for(P=P.call(v);!($=(I=P.next()).done)&&(j.push(I.value),!(w&&j.length===w));$=!0);}catch(k){B=!0,A=k}finally{try{!$&&P.return!=null&&P.return()}finally{if(B)throw A}}return j}}function l(v){if(Array.isArray(v))return v}function u(v,w){var P=typeof Symbol<"u"&&v[Symbol.iterator]||v["@@iterator"];if(!P){if(Array.isArray(v)||(P=c(v))||w&&v&&typeof v.length=="number"){P&&(v=P);var j=0,$=function(){};return{s:$,n:function(){return j>=v.length?{done:!0}:{done:!1,value:v[j++]}},e:function(k){throw k},f:$}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. -In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var B=!0,I=!1,A;return{s:function(){P=P.call(v)},n:function(){var k=P.next();return B=k.done,k},e:function(k){I=!0,A=k},f:function(){try{!B&&P.return!=null&&P.return()}finally{if(I)throw A}}}}function c(v,w){if(v){if(typeof v=="string")return s(v,w);var P=Object.prototype.toString.call(v).slice(8,-1);if(P==="Object"&&v.constructor&&(P=v.constructor.name),P==="Map"||P==="Set")return Array.from(v);if(P==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(P))return s(v,w)}}function s(v,w){(w==null||w>v.length)&&(w=v.length);for(var P=0,j=new Array(w);P<w;P++)j[P]=v[P];return j}var d=[],m=r.default.keys();for(C=0;C<m.length;C++)if(p=m[C],f=r.default.get(p),b=[],f){for(h=[].concat(f.baseConcepts,f.relatedConcepts),E=0;E<h.length;E++)y=h[E],y.module==="HTML"&&(g=y.concept,g!=null&&b.push(g));b.length>0&&d.push([p,b])}var p,f,b,h,y,g,E,C,q={entries:function(){return d},forEach:function(v){var w=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,P=u(d),j;try{for(P.s();!(j=P.n()).done;){var $=o(j.value,2),B=$[0],I=$[1];v.call(w,I,B,d)}}catch(A){P.e(A)}finally{P.f()}},get:function(v){var w=d.find(function(P){return P[0]===v});return w&&w[1]},has:function(v){return!!q.get(v)},keys:function(){return d.map(function(v){var w=o(v,1),P=w[0];return P})},values:function(){return d.map(function(v){var w=o(v,2),P=w[1];return P})}},_=(0,t.default)(q,q.entries());e.default=_}}),jE=R({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/index.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.roles=e.roleElements=e.elementRoles=e.dom=e.aria=void 0;var t=i(Yw()),r=i(Jw()),n=i(fl()),o=i(ME()),a=i(xE());function i(m){return m&&m.__esModule?m:{default:m}}var l=t.default;e.aria=l;var u=r.default;e.dom=u;var c=n.default;e.roles=c;var s=o.default;e.elementRoles=s;var d=a.default;e.roleElements=d}}),NE=R({"../../node_modules/lz-string/libs/lz-string.js"(e,t){var r=function(){var n=String.fromCharCode,o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+-$",i={};function l(c,s){if(!i[c]){i[c]={};for(var d=0;d<c.length;d++)i[c][c.charAt(d)]=d}return i[c][s]}var u={compressToBase64:function(c){if(c==null)return"";var s=u._compress(c,6,function(d){return o.charAt(d)});switch(s.length%4){default:case 0:return s;case 1:return s+"===";case 2:return s+"==";case 3:return s+"="}},decompressFromBase64:function(c){return c==null?"":c==""?null:u._decompress(c.length,32,function(s){return l(o,c.charAt(s))})},compressToUTF16:function(c){return c==null?"":u._compress(c,15,function(s){return n(s+32)})+" "},decompressFromUTF16:function(c){return c==null?"":c==""?null:u._decompress(c.length,16384,function(s){return c.charCodeAt(s)-32})},compressToUint8Array:function(c){for(var s=u.compress(c),d=new Uint8Array(s.length*2),m=0,p=s.length;m<p;m++){var f=s.charCodeAt(m);d[m*2]=f>>>8,d[m*2+1]=f%256}return d},decompressFromUint8Array:function(c){if(c==null)return u.decompress(c);for(var s=new Array(c.length/2),d=0,m=s.length;d<m;d++)s[d]=c[d*2]*256+c[d*2+1];var p=[];return s.forEach(function(f){p.push(n(f))}),u.decompress(p.join(""))},compressToEncodedURIComponent:function(c){return c==null?"":u._compress(c,6,function(s){return a.charAt(s)})},decompressFromEncodedURIComponent:function(c){return c==null?"":c==""?null:(c=c.replace(/ /g,"+"),u._decompress(c.length,32,function(s){return l(a,c.charAt(s))}))},compress:function(c){return u._compress(c,16,function(s){return n(s)})},_compress:function(c,s,d){if(c==null)return"";var m,p,f={},b={},h="",y="",g="",E=2,C=3,q=2,_=[],v=0,w=0,P;for(P=0;P<c.length;P+=1)if(h=c.charAt(P),Object.prototype.hasOwnProperty.call(f,h)||(f[h]=C++,b[h]=!0),y=g+h,Object.prototype.hasOwnProperty.call(f,y))g=y;else{if(Object.prototype.hasOwnProperty.call(b,g)){if(g.charCodeAt(0)<256){for(m=0;m<q;m++)v=v<<1,w==s-1?(w=0,_.push(d(v)),v=0):w++;for(p=g.charCodeAt(0),m=0;m<8;m++)v=v<<1|p&1,w==s-1?(w=0,_.push(d(v)),v=0):w++,p=p>>1}else{for(p=1,m=0;m<q;m++)v=v<<1|p,w==s-1?(w=0,_.push(d(v)),v=0):w++,p=0;for(p=g.charCodeAt(0),m=0;m<16;m++)v=v<<1|p&1,w==s-1?(w=0,_.push(d(v)),v=0):w++,p=p>>1}E--,E==0&&(E=Math.pow(2,q),q++),delete b[g]}else for(p=f[g],m=0;m<q;m++)v=v<<1|p&1,w==s-1?(w=0,_.push(d(v)),v=0):w++,p=p>>1;E--,E==0&&(E=Math.pow(2,q),q++),f[y]=C++,g=String(h)}if(g!==""){if(Object.prototype.hasOwnProperty.call(b,g)){if(g.charCodeAt(0)<256){for(m=0;m<q;m++)v=v<<1,w==s-1?(w=0,_.push(d(v)),v=0):w++;for(p=g.charCodeAt(0),m=0;m<8;m++)v=v<<1|p&1,w==s-1?(w=0,_.push(d(v)),v=0):w++,p=p>>1}else{for(p=1,m=0;m<q;m++)v=v<<1|p,w==s-1?(w=0,_.push(d(v)),v=0):w++,p=0;for(p=g.charCodeAt(0),m=0;m<16;m++)v=v<<1|p&1,w==s-1?(w=0,_.push(d(v)),v=0):w++,p=p>>1}E--,E==0&&(E=Math.pow(2,q),q++),delete b[g]}else for(p=f[g],m=0;m<q;m++)v=v<<1|p&1,w==s-1?(w=0,_.push(d(v)),v=0):w++,p=p>>1;E--,E==0&&(E=Math.pow(2,q),q++)}for(p=2,m=0;m<q;m++)v=v<<1|p&1,w==s-1?(w=0,_.push(d(v)),v=0):w++,p=p>>1;for(;;)if(v=v<<1,w==s-1){_.push(d(v));break}else w++;return _.join("")},decompress:function(c){return c==null?"":c==""?null:u._decompress(c.length,32768,function(s){return c.charCodeAt(s)})},_decompress:function(c,s,d){var m=[],p=4,f=4,b=3,h="",y=[],g,E,C,q,_,v,w,P={val:d(0),position:s,index:1};for(g=0;g<3;g+=1)m[g]=g;for(C=0,_=Math.pow(2,2),v=1;v!=_;)q=P.val&P.position,P.position>>=1,P.position==0&&(P.position=s,P.val=d(P.index++)),C|=(q>0?1:0)*v,v<<=1;switch(C){case 0:for(C=0,_=Math.pow(2,8),v=1;v!=_;)q=P.val&P.position,P.position>>=1,P.position==0&&(P.position=s,P.val=d(P.index++)),C|=(q>0?1:0)*v,v<<=1;w=n(C);break;case 1:for(C=0,_=Math.pow(2,16),v=1;v!=_;)q=P.val&P.position,P.position>>=1,P.position==0&&(P.position=s,P.val=d(P.index++)),C|=(q>0?1:0)*v,v<<=1;w=n(C);break;case 2:return""}for(m[3]=w,E=w,y.push(w);;){if(P.index>c)return"";for(C=0,_=Math.pow(2,b),v=1;v!=_;)q=P.val&P.position,P.position>>=1,P.position==0&&(P.position=s,P.val=d(P.index++)),C|=(q>0?1:0)*v,v<<=1;switch(w=C){case 0:for(C=0,_=Math.pow(2,8),v=1;v!=_;)q=P.val&P.position,P.position>>=1,P.position==0&&(P.position=s,P.val=d(P.index++)),C|=(q>0?1:0)*v,v<<=1;m[f++]=n(C),w=f-1,p--;break;case 1:for(C=0,_=Math.pow(2,16),v=1;v!=_;)q=P.val&P.position,P.position>>=1,P.position==0&&(P.position=s,P.val=d(P.index++)),C|=(q>0?1:0)*v,v<<=1;m[f++]=n(C),w=f-1,p--;break;case 2:return y.join("")}if(p==0&&(p=Math.pow(2,b),b++),m[w])h=m[w];else if(w===f)h=E+E.charAt(0);else return null;y.push(h),m[f++]=E+h.charAt(0),p--,E=h,p==0&&(p=Math.pow(2,b),b++)}}};return u}();typeof define=="function"&&define.amd?define(function(){return r}):typeof t<"u"&&t!=null?t.exports=r:typeof angular<"u"&&angular!=null&&angular.module("LZString",[]).factory("LZString",function(){return r})}}),Sp=Object.defineProperty,$E=Object.getOwnPropertyNames,N=(e,t)=>Sp(e,"name",{value:t,configurable:!0}),IE=(e,t)=>function(){return t||(0,e[$E(e)[0]])((t={exports:{}}).exports,t),t.exports},hl=(e,t)=>{for(var r in t)Sp(e,r,{get:t[r],enumerable:!0})},BE=IE({"(disabled):util"(){}}),ot={};hl(ot,{addChainableMethod:()=>Ol,addLengthGuard:()=>bn,addMethod:()=>ql,addProperty:()=>Cl,checkError:()=>Le,compareByInspect:()=>Gn,eql:()=>rm,expectTypes:()=>Ip,flag:()=>K,getActual:()=>wo,getMessage:()=>gl,getName:()=>qo,getOperator:()=>Ml,getOwnEnumerableProperties:()=>Al,getOwnEnumerablePropertySymbols:()=>Sl,getPathInfo:()=>wl,hasProperty:()=>Co,inspect:()=>Q,isNaN:()=>Wn,isNumeric:()=>qe,isProxyEnabled:()=>hn,isRegExp:()=>Kn,objDisplay:()=>Ut,overwriteChainableMethod:()=>Tl,overwriteMethod:()=>Pl,overwriteProperty:()=>El,proxify:()=>xr,test:()=>bl,transferFlags:()=>et,type:()=>le});var Le={};hl(Le,{compatibleConstructor:()=>xp,compatibleInstance:()=>Mp,compatibleMessage:()=>jp,getConstructorName:()=>Np,getMessage:()=>$p});function Ro(e){return e instanceof Error||Object.prototype.toString.call(e)==="[object Error]"}N(Ro,"isErrorInstance");function Ap(e){return Object.prototype.toString.call(e)==="[object RegExp]"}N(Ap,"isRegExp");function Mp(e,t){return Ro(t)&&e===t}N(Mp,"compatibleInstance");function xp(e,t){return Ro(t)?e.constructor===t.constructor||e instanceof t.constructor:(typeof t=="object"||typeof t=="function")&&t.prototype?e.constructor===t||e instanceof t:!1}N(xp,"compatibleConstructor");function jp(e,t){let r=typeof e=="string"?e:e.message;return Ap(t)?t.test(r):typeof t=="string"?r.indexOf(t)!==-1:!1}N(jp,"compatibleMessage");function Np(e){let t=e;return Ro(e)?t=e.constructor.name:typeof e=="function"&&(t=e.name,t===""&&(t=new e().name||t)),t}N(Np,"getConstructorName");function $p(e){let t="";return e&&e.message?t=e.message:typeof e=="string"&&(t=e),t}N($p,"getMessage");function K(e,t,r){var n=e.__flags||(e.__flags=Object.create(null));if(arguments.length===3)n[t]=r;else return n[t]}N(K,"flag");function bl(e,t){var r=K(e,"negate"),n=t[0];return r?!n:n}N(bl,"test");function le(e){if(typeof e>"u")return"undefined";if(e===null)return"null";let t=e[Symbol.toStringTag];return typeof t=="string"?t:Object.prototype.toString.call(e).slice(8,-1)}N(le,"type");var kE="captureStackTrace"in Error,Pn,ee=(Pn=class extends Error{constructor(t="Unspecified AssertionError",r,n){super(t);he(this,"message");this.message=t,kE&&Error.captureStackTrace(this,n||Pn);for(let o in r)o in this||(this[o]=r[o])}get name(){return"AssertionError"}get ok(){return!1}toJSON(t){return{...this,name:this.name,message:this.message,ok:!1,stack:t!==!1?this.stack:void 0}}},N(Pn,"AssertionError"),Pn);function Ip(e,t){var r=K(e,"message"),n=K(e,"ssfi");r=r?r+": ":"",e=K(e,"object"),t=t.map(function(i){return i.toLowerCase()}),t.sort();var o=t.map(function(i,l){var u=~["a","e","i","o","u"].indexOf(i.charAt(0))?"an":"a",c=t.length>1&&l===t.length-1?"or ":"";return c+u+" "+i}).join(", "),a=le(e).toLowerCase();if(!t.some(function(i){return a===i}))throw new ee(r+"object tested must be "+o+", but "+a+" given",void 0,n)}N(Ip,"expectTypes");function wo(e,t){return t.length>4?t[4]:e._obj}N(wo,"getActual");var Ru={bold:["1","22"],dim:["2","22"],italic:["3","23"],underline:["4","24"],inverse:["7","27"],hidden:["8","28"],strike:["9","29"],black:["30","39"],red:["31","39"],green:["32","39"],yellow:["33","39"],blue:["34","39"],magenta:["35","39"],cyan:["36","39"],white:["37","39"],brightblack:["30;1","39"],brightred:["31;1","39"],brightgreen:["32;1","39"],brightyellow:["33;1","39"],brightblue:["34;1","39"],brightmagenta:["35;1","39"],brightcyan:["36;1","39"],brightwhite:["37;1","39"],grey:["90","39"]},LE={special:"cyan",number:"yellow",bigint:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",symbol:"green",date:"magenta",regexp:"red"},gr="…";function Bp(e,t){let r=Ru[LE[t]]||Ru[t]||"";return r?`\x1B[${r[0]}m${String(e)}\x1B[${r[1]}m`:String(e)}N(Bp,"colorise");function kp({showHidden:e=!1,depth:t=2,colors:r=!1,customInspect:n=!0,showProxy:o=!1,maxArrayLength:a=1/0,breakLength:i=1/0,seen:l=[],truncate:u=1/0,stylize:c=String}={},s){let d={showHidden:!!e,depth:Number(t),colors:!!r,customInspect:!!n,showProxy:!!o,maxArrayLength:Number(a),breakLength:Number(i),truncate:Number(u),seen:l,inspect:s,stylize:c};return d.colors&&(d.stylize=Bp),d}N(kp,"normaliseOptions");function Lp(e){return e>="\uD800"&&e<="\uDBFF"}N(Lp,"isHighSurrogate");function Rt(e,t,r=gr){e=String(e);let n=r.length,o=e.length;if(n>t&&o>n)return r;if(o>t&&o>n){let a=t-n;return a>0&&Lp(e[a-1])&&(a=a-1),`${e.slice(0,a)}${r}`}return e}N(Rt,"truncate");function ze(e,t,r,n=", "){r=r||t.inspect;let o=e.length;if(o===0)return"";let a=t.truncate,i="",l="",u="";for(let c=0;c<o;c+=1){let s=c+1===e.length,d=c+2===e.length;u=`${gr}(${e.length-c})`;let m=e[c];t.truncate=a-i.length-(s?0:n.length);let p=l||r(m,t)+(s?"":n),f=i.length+p.length,b=f+u.length;if(s&&f>a&&i.length+u.length<=a||!s&&!d&&b>a||(l=s?"":r(e[c+1],t)+(d?"":n),!s&&d&&b>a&&f+l.length>a))break;if(i+=p,!s&&!d&&f+l.length>=a){u=`${gr}(${e.length-c-1})`;break}u=""}return`${i}${u}`}N(ze,"inspectList");function Dp(e){return e.match(/^[a-zA-Z_][a-zA-Z_0-9]*$/)?e:JSON.stringify(e).replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'")}N(Dp,"quoteComplexKey");function vr([e,t],r){return r.truncate-=2,typeof e=="string"?e=Dp(e):typeof e!="number"&&(e=`[${r.inspect(e,r)}]`),r.truncate-=e.length,t=r.inspect(t,r),`${e}: ${t}`}N(vr,"inspectProperty");function Fp(e,t){let r=Object.keys(e).slice(e.length);if(!e.length&&!r.length)return"[]";t.truncate-=4;let n=ze(e,t);t.truncate-=n.length;let o="";return r.length&&(o=ze(r.map(a=>[a,e[a]]),t,vr)),`[ ${n}${o?`, ${o}`:""} ]`}N(Fp,"inspectArray");var DE=N(e=>typeof Buffer=="function"&&e instanceof Buffer?"Buffer":e[Symbol.toStringTag]?e[Symbol.toStringTag]:e.constructor.name,"getArrayName");function rt(e,t){let r=DE(e);t.truncate-=r.length+4;let n=Object.keys(e).slice(e.length);if(!e.length&&!n.length)return`${r}[]`;let o="";for(let i=0;i<e.length;i++){let l=`${t.stylize(Rt(e[i],t.truncate),"number")}${i===e.length-1?"":", "}`;if(t.truncate-=l.length,e[i]!==e.length&&t.truncate<=3){o+=`${gr}(${e.length-e[i]+1})`;break}o+=l}let a="";return n.length&&(a=ze(n.map(i=>[i,e[i]]),t,vr)),`${r}[ ${o}${a?`, ${a}`:""} ]`}N(rt,"inspectTypedArray");function Hp(e,t){let r=e.toJSON();if(r===null)return"Invalid Date";let n=r.split("T"),o=n[0];return t.stylize(`${o}T${Rt(n[1],t.truncate-o.length-1)}`,"date")}N(Hp,"inspectDate");function ei(e,t){let r=e[Symbol.toStringTag]||"Function",n=e.name;return n?t.stylize(`[${r} ${Rt(n,t.truncate-11)}]`,"special"):t.stylize(`[${r}]`,"special")}N(ei,"inspectFunction");function Up([e,t],r){return r.truncate-=4,e=r.inspect(e,r),r.truncate-=e.length,t=r.inspect(t,r),`${e} => ${t}`}N(Up,"inspectMapEntry");function Vp(e){let t=[];return e.forEach((r,n)=>{t.push([n,r])}),t}N(Vp,"mapToEntries");function zp(e,t){return e.size-1<=0?"Map{}":(t.truncate-=7,`Map{ ${ze(Vp(e),t,Up)} }`)}N(zp,"inspectMap");var FE=Number.isNaN||(e=>e!==e);function ti(e,t){return FE(e)?t.stylize("NaN","number"):e===1/0?t.stylize("Infinity","number"):e===-1/0?t.stylize("-Infinity","number"):e===0?t.stylize(1/e===1/0?"+0":"-0","number"):t.stylize(Rt(String(e),t.truncate),"number")}N(ti,"inspectNumber");function ri(e,t){let r=Rt(e.toString(),t.truncate-1);return r!==gr&&(r+="n"),t.stylize(r,"bigint")}N(ri,"inspectBigInt");function Gp(e,t){let r=e.toString().split("/")[2],n=t.truncate-(2+r.length),o=e.source;return t.stylize(`/${Rt(o,n)}/${r}`,"regexp")}N(Gp,"inspectRegExp");function Wp(e){let t=[];return e.forEach(r=>{t.push(r)}),t}N(Wp,"arrayFromSet");function Kp(e,t){return e.size===0?"Set{}":(t.truncate-=7,`Set{ ${ze(Wp(e),t)} }`)}N(Kp,"inspectSet");var wu=new RegExp("['\\u0000-\\u001f\\u007f-\\u009f\\u00ad\\u0600-\\u0604\\u070f\\u17b4\\u17b5\\u200c-\\u200f\\u2028-\\u202f\\u2060-\\u206f\\ufeff\\ufff0-\\uffff]","g"),HE={"\b":"\\b"," ":"\\t","\n":"\\n","\f":"\\f","\r":"\\r","'":"\\'","\\":"\\\\"},UE=16,VE=4;function Yp(e){return HE[e]||`\\u${`0000${e.charCodeAt(0).toString(UE)}`.slice(-VE)}`}N(Yp,"escape");function ni(e,t){return wu.test(e)&&(e=e.replace(wu,Yp)),t.stylize(`'${Rt(e,t.truncate-2)}'`,"string")}N(ni,"inspectString");function oi(e){return"description"in Symbol.prototype?e.description?`Symbol(${e.description})`:"Symbol()":e.toString()}N(oi,"inspectSymbol");var Jp=N(()=>"Promise{…}","getPromiseValue");try{let{getPromiseDetails:e,kPending:t,kRejected:r}=process.binding("util");Array.isArray(e(Promise.resolve()))&&(Jp=N((n,o)=>{let[a,i]=e(n);return a===t?"Promise{<pending>}":`Promise${a===r?"!":""}{${o.inspect(i,o)}}`},"getPromiseValue"))}catch{}var zE=Jp;function Hr(e,t){let r=Object.getOwnPropertyNames(e),n=Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e):[];if(r.length===0&&n.length===0)return"{}";if(t.truncate-=4,t.seen=t.seen||[],t.seen.includes(e))return"[Circular]";t.seen.push(e);let o=ze(r.map(l=>[l,e[l]]),t,vr),a=ze(n.map(l=>[l,e[l]]),t,vr);t.seen.pop();let i="";return o&&a&&(i=", "),`{ ${o}${i}${a} }`}N(Hr,"inspectObject");var Oa=typeof Symbol<"u"&&Symbol.toStringTag?Symbol.toStringTag:!1;function Xp(e,t){let r="";return Oa&&Oa in e&&(r=e[Oa]),r=r||e.constructor.name,(!r||r==="_class")&&(r="<Anonymous Class>"),t.truncate-=r.length,`${r}${Hr(e,t)}`}N(Xp,"inspectClass");function Qp(e,t){return e.length===0?"Arguments[]":(t.truncate-=13,`Arguments[ ${ze(e,t)} ]`)}N(Qp,"inspectArguments");var GE=["stack","line","column","name","message","fileName","lineNumber","columnNumber","number","description","cause"];function Zp(e,t){let r=Object.getOwnPropertyNames(e).filter(i=>GE.indexOf(i)===-1),n=e.name;t.truncate-=n.length;let o="";if(typeof e.message=="string"?o=Rt(e.message,t.truncate):r.unshift("message"),o=o?`: ${o}`:"",t.truncate-=o.length+5,t.seen=t.seen||[],t.seen.includes(e))return"[Circular]";t.seen.push(e);let a=ze(r.map(i=>[i,e[i]]),t,vr);return`${n}${o}${a?` { ${a} }`:""}`}N(Zp,"inspectObject");function em([e,t],r){return r.truncate-=3,t?`${r.stylize(String(e),"yellow")}=${r.stylize(`"${t}"`,"string")}`:`${r.stylize(String(e),"yellow")}`}N(em,"inspectAttribute");function Un(e,t){return ze(e,t,yl,` -`)}N(Un,"inspectHTMLCollection");function yl(e,t){let r=e.getAttributeNames(),n=e.tagName.toLowerCase(),o=t.stylize(`<${n}`,"special"),a=t.stylize(">","special"),i=t.stylize(`</${n}>`,"special");t.truncate-=n.length*2+5;let l="";r.length>0&&(l+=" ",l+=ze(r.map(s=>[s,e.getAttribute(s)]),t,em," ")),t.truncate-=l.length;let u=t.truncate,c=Un(e.children,t);return c&&c.length>u&&(c=`${gr}(${e.children.length})`),`${o}${l}${a}${c}${i}`}N(yl,"inspectHTML");var WE=typeof Symbol=="function"&&typeof Symbol.for=="function",Ta=WE?Symbol.for("chai/inspect"):"@@chai/inspect",ir=!1;try{let e=BE();ir=e.inspect?e.inspect.custom:!1}catch{ir=!1}var Cu=new WeakMap,qu={},Eu={undefined:(e,t)=>t.stylize("undefined","undefined"),null:(e,t)=>t.stylize("null","null"),boolean:(e,t)=>t.stylize(String(e),"boolean"),Boolean:(e,t)=>t.stylize(String(e),"boolean"),number:ti,Number:ti,bigint:ri,BigInt:ri,string:ni,String:ni,function:ei,Function:ei,symbol:oi,Symbol:oi,Array:Fp,Date:Hp,Map:zp,Set:Kp,RegExp:Gp,Promise:zE,WeakSet:(e,t)=>t.stylize("WeakSet{…}","special"),WeakMap:(e,t)=>t.stylize("WeakMap{…}","special"),Arguments:Qp,Int8Array:rt,Uint8Array:rt,Uint8ClampedArray:rt,Int16Array:rt,Uint16Array:rt,Int32Array:rt,Uint32Array:rt,Float32Array:rt,Float64Array:rt,Generator:()=>"",DataView:()=>"",ArrayBuffer:()=>"",Error:Zp,HTMLCollection:Un,NodeList:Un},KE=N((e,t,r)=>Ta in e&&typeof e[Ta]=="function"?e[Ta](t):ir&&ir in e&&typeof e[ir]=="function"?e[ir](t.depth,t):"inspect"in e&&typeof e.inspect=="function"?e.inspect(t.depth,t):"constructor"in e&&Cu.has(e.constructor)?Cu.get(e.constructor)(e,t):qu[r]?qu[r](e,t):"","inspectCustom"),YE=Object.prototype.toString;function Vn(e,t={}){let r=kp(t,Vn),{customInspect:n}=r,o=e===null?"null":typeof e;if(o==="object"&&(o=YE.call(e).slice(8,-1)),o in Eu)return Eu[o](e,r);if(n&&e){let i=KE(e,r,o);if(i)return typeof i=="string"?i:Vn(i,r)}let a=e?Object.getPrototypeOf(e):!1;return a===Object.prototype||a===null?Hr(e,r):e&&typeof HTMLElement=="function"&&e instanceof HTMLElement?yl(e,r):"constructor"in e?e.constructor!==Object?Xp(e,r):Hr(e,r):e===Object(e)?Hr(e,r):r.stylize(String(e),o)}N(Vn,"inspect");var Be={includeStack:!1,showDiff:!0,truncateThreshold:40,useProxy:!0,proxyExcludedKeys:["then","catch","inspect","toJSON"],deepEqual:null};function Q(e,t,r,n){var o={colors:n,depth:typeof r>"u"?2:r,showHidden:t,truncate:Be.truncateThreshold?Be.truncateThreshold:1/0};return Vn(e,o)}N(Q,"inspect");function Ut(e){var t=Q(e),r=Object.prototype.toString.call(e);if(Be.truncateThreshold&&t.length>=Be.truncateThreshold){if(r==="[object Function]")return!e.name||e.name===""?"[Function]":"[Function: "+e.name+"]";if(r==="[object Array]")return"[ Array("+e.length+") ]";if(r==="[object Object]"){var n=Object.keys(e),o=n.length>2?n.splice(0,2).join(", ")+", ...":n.join(", ");return"{ Object ("+o+") }"}else return t}else return t}N(Ut,"objDisplay");function gl(e,t){var r=K(e,"negate"),n=K(e,"object"),o=t[3],a=wo(e,t),i=r?t[2]:t[1],l=K(e,"message");return typeof i=="function"&&(i=i()),i=i||"",i=i.replace(/#\{this\}/g,function(){return Ut(n)}).replace(/#\{act\}/g,function(){return Ut(a)}).replace(/#\{exp\}/g,function(){return Ut(o)}),l?l+": "+i:i}N(gl,"getMessage");function et(e,t,r){var n=e.__flags||(e.__flags=Object.create(null));t.__flags||(t.__flags=Object.create(null)),r=arguments.length===3?r:!0;for(var o in n)(r||o!=="object"&&o!=="ssfi"&&o!=="lockSsfi"&&o!="message")&&(t.__flags[o]=n[o])}N(et,"transferFlags");function ai(e){if(typeof e>"u")return"undefined";if(e===null)return"null";let t=e[Symbol.toStringTag];return typeof t=="string"?t:Object.prototype.toString.call(e).slice(8,-1)}N(ai,"type");function vl(){this._key="chai/deep-eql__"+Math.random()+Date.now()}N(vl,"FakeMap");vl.prototype={get:N(function(e){return e[this._key]},"get"),set:N(function(e,t){Object.isExtensible(e)&&Object.defineProperty(e,this._key,{value:t,configurable:!0})},"set")};var tm=typeof WeakMap=="function"?WeakMap:vl;function ii(e,t,r){if(!r||Gt(e)||Gt(t))return null;var n=r.get(e);if(n){var o=n.get(t);if(typeof o=="boolean")return o}return null}N(ii,"memoizeCompare");function kr(e,t,r,n){if(!(!r||Gt(e)||Gt(t))){var o=r.get(e);o?o.set(t,n):(o=new tm,o.set(t,n),r.set(e,o))}}N(kr,"memoizeSet");var rm=fn;function fn(e,t,r){if(r&&r.comparator)return li(e,t,r);var n=_l(e,t);return n!==null?n:li(e,t,r)}N(fn,"deepEqual");function _l(e,t){return e===t?e!==0||1/e===1/t:e!==e&&t!==t?!0:Gt(e)||Gt(t)?!1:null}N(_l,"simpleEqual");function li(e,t,r){r=r||{},r.memoize=r.memoize===!1?!1:r.memoize||new tm;var n=r&&r.comparator,o=ii(e,t,r.memoize);if(o!==null)return o;var a=ii(t,e,r.memoize);if(a!==null)return a;if(n){var i=n(e,t);if(i===!1||i===!0)return kr(e,t,r.memoize,i),i;var l=_l(e,t);if(l!==null)return l}var u=ai(e);if(u!==ai(t))return kr(e,t,r.memoize,!1),!1;kr(e,t,r.memoize,!0);var c=nm(e,t,u,r);return kr(e,t,r.memoize,c),c}N(li,"extensiveDeepEqual");function nm(e,t,r,n){switch(r){case"String":case"Number":case"Boolean":case"Date":return fn(e.valueOf(),t.valueOf());case"Promise":case"Symbol":case"function":case"WeakMap":case"WeakSet":return e===t;case"Error":return Rl(e,t,["name","message","code"],n);case"Arguments":case"Int8Array":case"Uint8Array":case"Uint8ClampedArray":case"Int16Array":case"Uint16Array":case"Int32Array":case"Uint32Array":case"Float32Array":case"Float64Array":case"Array":return xt(e,t,n);case"RegExp":return om(e,t);case"Generator":return am(e,t,n);case"DataView":return xt(new Uint8Array(e.buffer),new Uint8Array(t.buffer),n);case"ArrayBuffer":return xt(new Uint8Array(e),new Uint8Array(t),n);case"Set":return si(e,t,n);case"Map":return si(e,t,n);case"Temporal.PlainDate":case"Temporal.PlainTime":case"Temporal.PlainDateTime":case"Temporal.Instant":case"Temporal.ZonedDateTime":case"Temporal.PlainYearMonth":case"Temporal.PlainMonthDay":return e.equals(t);case"Temporal.Duration":return e.total("nanoseconds")===t.total("nanoseconds");case"Temporal.TimeZone":case"Temporal.Calendar":return e.toString()===t.toString();default:return lm(e,t,n)}}N(nm,"extensiveDeepEqualByType");function om(e,t){return e.toString()===t.toString()}N(om,"regexpEqual");function si(e,t,r){try{if(e.size!==t.size)return!1;if(e.size===0)return!0}catch{return!1}var n=[],o=[];return e.forEach(N(function(a,i){n.push([a,i])},"gatherEntries")),t.forEach(N(function(a,i){o.push([a,i])},"gatherEntries")),xt(n.sort(),o.sort(),r)}N(si,"entriesEqual");function xt(e,t,r){var n=e.length;if(n!==t.length)return!1;if(n===0)return!0;for(var o=-1;++o<n;)if(fn(e[o],t[o],r)===!1)return!1;return!0}N(xt,"iterableEqual");function am(e,t,r){return xt(zn(e),zn(t),r)}N(am,"generatorEqual");function im(e){return typeof Symbol<"u"&&typeof e=="object"&&typeof Symbol.iterator<"u"&&typeof e[Symbol.iterator]=="function"}N(im,"hasIteratorFunction");function ui(e){if(im(e))try{return zn(e[Symbol.iterator]())}catch{return[]}return[]}N(ui,"getIteratorEntries");function zn(e){for(var t=e.next(),r=[t.value];t.done===!1;)t=e.next(),r.push(t.value);return r}N(zn,"getGeneratorEntries");function ci(e){var t=[];for(var r in e)t.push(r);return t}N(ci,"getEnumerableKeys");function di(e){for(var t=[],r=Object.getOwnPropertySymbols(e),n=0;n<r.length;n+=1){var o=r[n];Object.getOwnPropertyDescriptor(e,o).enumerable&&t.push(o)}return t}N(di,"getEnumerableSymbols");function Rl(e,t,r,n){var o=r.length;if(o===0)return!0;for(var a=0;a<o;a+=1)if(fn(e[r[a]],t[r[a]],n)===!1)return!1;return!0}N(Rl,"keysEqual");function lm(e,t,r){var n=ci(e),o=ci(t),a=di(e),i=di(t);if(n=n.concat(a),o=o.concat(i),n.length&&n.length===o.length)return xt(pi(n).sort(),pi(o).sort())===!1?!1:Rl(e,t,n,r);var l=ui(e),u=ui(t);return l.length&&l.length===u.length?(l.sort(),u.sort(),xt(l,u,r)):n.length===0&&l.length===0&&o.length===0&&u.length===0}N(lm,"objectEqual");function Gt(e){return e===null||typeof e!="object"}N(Gt,"isPrimitive");function pi(e){return e.map(N(function(t){return typeof t=="symbol"?t.toString():t},"mapSymbol"))}N(pi,"mapSymbols");function Co(e,t){return typeof e>"u"||e===null?!1:t in Object(e)}N(Co,"hasProperty");function sm(e){return e.replace(/([^\\])\[/g,"$1.[").match(/(\\\.|[^.]+?)+/g).map(t=>{if(t==="constructor"||t==="__proto__"||t==="prototype")return{};let r=/^\[(\d+)\]$/.exec(t),n=null;return r?n={i:parseFloat(r[1])}:n={p:t.replace(/\\([.[\]])/g,"$1")},n})}N(sm,"parsePath");function mi(e,t,r){let n=e,o=null;r=typeof r>"u"?t.length:r;for(let a=0;a<r;a++){let i=t[a];n&&(typeof i.p>"u"?n=n[i.i]:n=n[i.p],a===r-1&&(o=n))}return o}N(mi,"internalGetPathValue");function wl(e,t){let r=sm(t),n=r[r.length-1],o={parent:r.length>1?mi(e,r,r.length-1):e,name:n.p||n.i,value:mi(e,r)};return o.exists=Co(o.parent,o.name),o}N(wl,"getPathInfo");function T(e,t,r,n){return K(this,"ssfi",r||T),K(this,"lockSsfi",n),K(this,"object",e),K(this,"message",t),K(this,"eql",Be.deepEqual||rm),xr(this)}N(T,"Assertion");Object.defineProperty(T,"includeStack",{get:function(){return console.warn("Assertion.includeStack is deprecated, use chai.config.includeStack instead."),Be.includeStack},set:function(e){console.warn("Assertion.includeStack is deprecated, use chai.config.includeStack instead."),Be.includeStack=e}});Object.defineProperty(T,"showDiff",{get:function(){return console.warn("Assertion.showDiff is deprecated, use chai.config.showDiff instead."),Be.showDiff},set:function(e){console.warn("Assertion.showDiff is deprecated, use chai.config.showDiff instead."),Be.showDiff=e}});T.addProperty=function(e,t){Cl(this.prototype,e,t)};T.addMethod=function(e,t){ql(this.prototype,e,t)};T.addChainableMethod=function(e,t,r){Ol(this.prototype,e,t,r)};T.overwriteProperty=function(e,t){El(this.prototype,e,t)};T.overwriteMethod=function(e,t){Pl(this.prototype,e,t)};T.overwriteChainableMethod=function(e,t,r){Tl(this.prototype,e,t,r)};T.prototype.assert=function(e,t,r,n,o,a){var i=bl(this,arguments);if(a!==!1&&(a=!0),n===void 0&&o===void 0&&(a=!1),Be.showDiff!==!0&&(a=!1),!i){t=gl(this,arguments);var l=wo(this,arguments),u={actual:l,expected:n,showDiff:a},c=Ml(this,arguments);throw c&&(u.operator=c),new ee(t,u,Be.includeStack?this.assert:K(this,"ssfi"))}};Object.defineProperty(T.prototype,"_obj",{get:function(){return K(this,"object")},set:function(e){K(this,"object",e)}});function hn(){return Be.useProxy&&typeof Proxy<"u"&&typeof Reflect<"u"}N(hn,"isProxyEnabled");function Cl(e,t,r){r=r===void 0?function(){}:r,Object.defineProperty(e,t,{get:N(function n(){!hn()&&!K(this,"lockSsfi")&&K(this,"ssfi",n);var o=r.call(this);if(o!==void 0)return o;var a=new T;return et(this,a),a},"propertyGetter"),configurable:!0})}N(Cl,"addProperty");var JE=Object.getOwnPropertyDescriptor(function(){},"length");function bn(e,t,r){return JE.configurable&&Object.defineProperty(e,"length",{get:function(){throw Error(r?"Invalid Chai property: "+t+'.length. Due to a compatibility issue, "length" cannot directly follow "'+t+'". Use "'+t+'.lengthOf" instead.':"Invalid Chai property: "+t+'.length. See docs for proper usage of "'+t+'".')}}),e}N(bn,"addLengthGuard");function um(e){var t=Object.getOwnPropertyNames(e);function r(o){t.indexOf(o)===-1&&t.push(o)}N(r,"addProperty");for(var n=Object.getPrototypeOf(e);n!==null;)Object.getOwnPropertyNames(n).forEach(r),n=Object.getPrototypeOf(n);return t}N(um,"getProperties");var Pu=["__flags","__methods","_obj","assert"];function xr(e,t){return hn()?new Proxy(e,{get:N(function r(n,o){if(typeof o=="string"&&Be.proxyExcludedKeys.indexOf(o)===-1&&!Reflect.has(n,o)){if(t)throw Error("Invalid Chai property: "+t+"."+o+'. See docs for proper usage of "'+t+'".');var a=null,i=4;throw um(n).forEach(function(l){if(!Object.prototype.hasOwnProperty(l)&&Pu.indexOf(l)===-1){var u=cm(o,l,i);u<i&&(a=l,i=u)}}),Error(a!==null?"Invalid Chai property: "+o+'. Did you mean "'+a+'"?':"Invalid Chai property: "+o)}return Pu.indexOf(o)===-1&&!K(n,"lockSsfi")&&K(n,"ssfi",r),Reflect.get(n,o)},"proxyGetter")}):e}N(xr,"proxify");function cm(e,t,r){if(Math.abs(e.length-t.length)>=r)return r;var n=[];for(let a=0;a<=e.length;a++)n[a]=Array(t.length+1).fill(0),n[a][0]=a;for(let a=0;a<t.length;a++)n[0][a]=a;for(let a=1;a<=e.length;a++){var o=e.charCodeAt(a-1);for(let i=1;i<=t.length;i++){if(Math.abs(a-i)>=r){n[a][i]=r;continue}n[a][i]=Math.min(n[a-1][i]+1,n[a][i-1]+1,n[a-1][i-1]+(o===t.charCodeAt(i-1)?0:1))}}return n[e.length][t.length]}N(cm,"stringDistanceCapped");function ql(e,t,r){var n=N(function(){K(this,"lockSsfi")||K(this,"ssfi",n);var o=r.apply(this,arguments);if(o!==void 0)return o;var a=new T;return et(this,a),a},"methodWrapper");bn(n,t,!1),e[t]=xr(n,t)}N(ql,"addMethod");function El(e,t,r){var n=Object.getOwnPropertyDescriptor(e,t),o=N(function(){},"_super");n&&typeof n.get=="function"&&(o=n.get),Object.defineProperty(e,t,{get:N(function a(){!hn()&&!K(this,"lockSsfi")&&K(this,"ssfi",a);var i=K(this,"lockSsfi");K(this,"lockSsfi",!0);var l=r(o).call(this);if(K(this,"lockSsfi",i),l!==void 0)return l;var u=new T;return et(this,u),u},"overwritingPropertyGetter"),configurable:!0})}N(El,"overwriteProperty");function Pl(e,t,r){var n=e[t],o=N(function(){throw new Error(t+" is not a function")},"_super");n&&typeof n=="function"&&(o=n);var a=N(function(){K(this,"lockSsfi")||K(this,"ssfi",a);var i=K(this,"lockSsfi");K(this,"lockSsfi",!0);var l=r(o).apply(this,arguments);if(K(this,"lockSsfi",i),l!==void 0)return l;var u=new T;return et(this,u),u},"overwritingMethodWrapper");bn(a,t,!1),e[t]=xr(a,t)}N(Pl,"overwriteMethod");var XE=typeof Object.setPrototypeOf=="function",Ou=N(function(){},"testFn"),QE=Object.getOwnPropertyNames(Ou).filter(function(e){var t=Object.getOwnPropertyDescriptor(Ou,e);return typeof t!="object"?!0:!t.configurable}),ZE=Function.prototype.call,eP=Function.prototype.apply;function Ol(e,t,r,n){typeof n!="function"&&(n=N(function(){},"chainingBehavior"));var o={method:r,chainingBehavior:n};e.__methods||(e.__methods={}),e.__methods[t]=o,Object.defineProperty(e,t,{get:N(function(){o.chainingBehavior.call(this);var a=N(function(){K(this,"lockSsfi")||K(this,"ssfi",a);var u=o.method.apply(this,arguments);if(u!==void 0)return u;var c=new T;return et(this,c),c},"chainableMethodWrapper");if(bn(a,t,!0),XE){var i=Object.create(this);i.call=ZE,i.apply=eP,Object.setPrototypeOf(a,i)}else{var l=Object.getOwnPropertyNames(e);l.forEach(function(u){if(QE.indexOf(u)===-1){var c=Object.getOwnPropertyDescriptor(e,u);Object.defineProperty(a,u,c)}})}return et(this,a),xr(a)},"chainableMethodGetter"),configurable:!0})}N(Ol,"addChainableMethod");function Tl(e,t,r,n){var o=e.__methods[t],a=o.chainingBehavior;o.chainingBehavior=N(function(){var l=n(a).call(this);if(l!==void 0)return l;var u=new T;return et(this,u),u},"overwritingChainableMethodGetter");var i=o.method;o.method=N(function(){var l=r(i).apply(this,arguments);if(l!==void 0)return l;var u=new T;return et(this,u),u},"overwritingChainableMethodWrapper")}N(Tl,"overwriteChainableMethod");function Gn(e,t){return Q(e)<Q(t)?-1:1}N(Gn,"compareByInspect");function Sl(e){return typeof Object.getOwnPropertySymbols!="function"?[]:Object.getOwnPropertySymbols(e).filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})}N(Sl,"getOwnEnumerablePropertySymbols");function Al(e){return Object.keys(e).concat(Sl(e))}N(Al,"getOwnEnumerableProperties");var Wn=Number.isNaN;function dm(e){var t=le(e),r=["Array","Object","Function"];return r.indexOf(t)!==-1}N(dm,"isObjectType");function Ml(e,t){var r=K(e,"operator"),n=K(e,"negate"),o=t[3],a=n?t[2]:t[1];if(r)return r;if(typeof a=="function"&&(a=a()),a=a||"",!!a&&!/\shave\s/.test(a)){var i=dm(o);return/\snot\s/.test(a)?i?"notDeepStrictEqual":"notStrictEqual":i?"deepStrictEqual":"strictEqual"}}N(Ml,"getOperator");function qo(e){return e.name}N(qo,"getName");function Kn(e){return Object.prototype.toString.call(e)==="[object RegExp]"}N(Kn,"isRegExp");function qe(e){return["Number","BigInt"].includes(le(e))}N(qe,"isNumeric");var{flag:S}=ot;["to","be","been","is","and","has","have","with","that","which","at","of","same","but","does","still","also"].forEach(function(e){T.addProperty(e)});T.addProperty("not",function(){S(this,"negate",!0)});T.addProperty("deep",function(){S(this,"deep",!0)});T.addProperty("nested",function(){S(this,"nested",!0)});T.addProperty("own",function(){S(this,"own",!0)});T.addProperty("ordered",function(){S(this,"ordered",!0)});T.addProperty("any",function(){S(this,"any",!0),S(this,"all",!1)});T.addProperty("all",function(){S(this,"all",!0),S(this,"any",!1)});var Tu={function:["function","asyncfunction","generatorfunction","asyncgeneratorfunction"],asyncfunction:["asyncfunction","asyncgeneratorfunction"],generatorfunction:["generatorfunction","asyncgeneratorfunction"],asyncgeneratorfunction:["asyncgeneratorfunction"]};function xl(e,t){t&&S(this,"message",t),e=e.toLowerCase();var r=S(this,"object"),n=~["a","e","i","o","u"].indexOf(e.charAt(0))?"an ":"a ";let o=le(r).toLowerCase();Tu.function.includes(e)?this.assert(Tu[e].includes(o),"expected #{this} to be "+n+e,"expected #{this} not to be "+n+e):this.assert(e===o,"expected #{this} to be "+n+e,"expected #{this} not to be "+n+e)}N(xl,"an");T.addChainableMethod("an",xl);T.addChainableMethod("a",xl);function pm(e,t){return Wn(e)&&Wn(t)||e===t}N(pm,"SameValueZero");function yn(){S(this,"contains",!0)}N(yn,"includeChainingBehavior");function gn(e,t){t&&S(this,"message",t);var r=S(this,"object"),n=le(r).toLowerCase(),o=S(this,"message"),a=S(this,"negate"),i=S(this,"ssfi"),l=S(this,"deep"),u=l?"deep ":"",c=l?S(this,"eql"):pm;o=o?o+": ":"";var s=!1;switch(n){case"string":s=r.indexOf(e)!==-1;break;case"weakset":if(l)throw new ee(o+"unable to use .deep.include with WeakSet",void 0,i);s=r.has(e);break;case"map":r.forEach(function(f){s=s||c(f,e)});break;case"set":l?r.forEach(function(f){s=s||c(f,e)}):s=r.has(e);break;case"array":l?s=r.some(function(f){return c(f,e)}):s=r.indexOf(e)!==-1;break;default:if(e!==Object(e))throw new ee(o+"the given combination of arguments ("+n+" and "+le(e).toLowerCase()+") is invalid for this assertion. You can use an array, a map, an object, a set, a string, or a weakset instead of a "+le(e).toLowerCase(),void 0,i);var d=Object.keys(e),m=null,p=0;if(d.forEach(function(f){var b=new T(r);if(et(this,b,!0),S(b,"lockSsfi",!0),!a||d.length===1){b.property(f,e[f]);return}try{b.property(f,e[f])}catch(h){if(!Le.compatibleConstructor(h,ee))throw h;m===null&&(m=h),p++}},this),a&&d.length>1&&p===d.length)throw m;return}this.assert(s,"expected #{this} to "+u+"include "+Q(e),"expected #{this} to not "+u+"include "+Q(e))}N(gn,"include");T.addChainableMethod("include",gn,yn);T.addChainableMethod("contain",gn,yn);T.addChainableMethod("contains",gn,yn);T.addChainableMethod("includes",gn,yn);T.addProperty("ok",function(){this.assert(S(this,"object"),"expected #{this} to be truthy","expected #{this} to be falsy")});T.addProperty("true",function(){this.assert(S(this,"object")===!0,"expected #{this} to be true","expected #{this} to be false",!S(this,"negate"))});T.addProperty("numeric",function(){let e=S(this,"object");this.assert(["Number","BigInt"].includes(le(e)),"expected #{this} to be numeric","expected #{this} to not be numeric",!S(this,"negate"))});T.addProperty("callable",function(){let e=S(this,"object"),t=S(this,"ssfi"),r=S(this,"message"),n=r?`${r}: `:"",o=S(this,"negate"),a=o?`${n}expected ${Q(e)} not to be a callable function`:`${n}expected ${Q(e)} to be a callable function`,i=["Function","AsyncFunction","GeneratorFunction","AsyncGeneratorFunction"].includes(le(e));if(i&&o||!i&&!o)throw new ee(a,void 0,t)});T.addProperty("false",function(){this.assert(S(this,"object")===!1,"expected #{this} to be false","expected #{this} to be true",!!S(this,"negate"))});T.addProperty("null",function(){this.assert(S(this,"object")===null,"expected #{this} to be null","expected #{this} not to be null")});T.addProperty("undefined",function(){this.assert(S(this,"object")===void 0,"expected #{this} to be undefined","expected #{this} not to be undefined")});T.addProperty("NaN",function(){this.assert(Wn(S(this,"object")),"expected #{this} to be NaN","expected #{this} not to be NaN")});function jl(){var e=S(this,"object");this.assert(e!=null,"expected #{this} to exist","expected #{this} to not exist")}N(jl,"assertExist");T.addProperty("exist",jl);T.addProperty("exists",jl);T.addProperty("empty",function(){var e=S(this,"object"),t=S(this,"ssfi"),r=S(this,"message"),n;switch(r=r?r+": ":"",le(e).toLowerCase()){case"array":case"string":n=e.length;break;case"map":case"set":n=e.size;break;case"weakmap":case"weakset":throw new ee(r+".empty was passed a weak collection",void 0,t);case"function":var o=r+".empty was passed a function "+qo(e);throw new ee(o.trim(),void 0,t);default:if(e!==Object(e))throw new ee(r+".empty was passed non-string primitive "+Q(e),void 0,t);n=Object.keys(e).length}this.assert(n===0,"expected #{this} to be empty","expected #{this} not to be empty")});function Nl(){var e=S(this,"object"),t=le(e);this.assert(t==="Arguments","expected #{this} to be arguments but got "+t,"expected #{this} to not be arguments")}N(Nl,"checkArguments");T.addProperty("arguments",Nl);T.addProperty("Arguments",Nl);function Eo(e,t){t&&S(this,"message",t);var r=S(this,"object");if(S(this,"deep")){var n=S(this,"lockSsfi");S(this,"lockSsfi",!0),this.eql(e),S(this,"lockSsfi",n)}else this.assert(e===r,"expected #{this} to equal #{exp}","expected #{this} to not equal #{exp}",e,this._obj,!0)}N(Eo,"assertEqual");T.addMethod("equal",Eo);T.addMethod("equals",Eo);T.addMethod("eq",Eo);function $l(e,t){t&&S(this,"message",t);var r=S(this,"eql");this.assert(r(e,S(this,"object")),"expected #{this} to deeply equal #{exp}","expected #{this} to not deeply equal #{exp}",e,this._obj,!0)}N($l,"assertEql");T.addMethod("eql",$l);T.addMethod("eqls",$l);function Po(e,t){t&&S(this,"message",t);var r=S(this,"object"),n=S(this,"doLength"),o=S(this,"message"),a=o?o+": ":"",i=S(this,"ssfi"),l=le(r).toLowerCase(),u=le(e).toLowerCase();if(n&&l!=="map"&&l!=="set"&&new T(r,o,i,!0).to.have.property("length"),!n&&l==="date"&&u!=="date")throw new ee(a+"the argument to above must be a date",void 0,i);if(!qe(e)&&(n||qe(r)))throw new ee(a+"the argument to above must be a number",void 0,i);if(!n&&l!=="date"&&!qe(r)){var c=l==="string"?"'"+r+"'":r;throw new ee(a+"expected "+c+" to be a number or a date",void 0,i)}if(n){var s="length",d;l==="map"||l==="set"?(s="size",d=r.size):d=r.length,this.assert(d>e,"expected #{this} to have a "+s+" above #{exp} but got #{act}","expected #{this} to not have a "+s+" above #{exp}",e,d)}else this.assert(r>e,"expected #{this} to be above #{exp}","expected #{this} to be at most #{exp}",e)}N(Po,"assertAbove");T.addMethod("above",Po);T.addMethod("gt",Po);T.addMethod("greaterThan",Po);function Oo(e,t){t&&S(this,"message",t);var r=S(this,"object"),n=S(this,"doLength"),o=S(this,"message"),a=o?o+": ":"",i=S(this,"ssfi"),l=le(r).toLowerCase(),u=le(e).toLowerCase(),c,s=!0;if(n&&l!=="map"&&l!=="set"&&new T(r,o,i,!0).to.have.property("length"),!n&&l==="date"&&u!=="date")c=a+"the argument to least must be a date";else if(!qe(e)&&(n||qe(r)))c=a+"the argument to least must be a number";else if(!n&&l!=="date"&&!qe(r)){var d=l==="string"?"'"+r+"'":r;c=a+"expected "+d+" to be a number or a date"}else s=!1;if(s)throw new ee(c,void 0,i);if(n){var m="length",p;l==="map"||l==="set"?(m="size",p=r.size):p=r.length,this.assert(p>=e,"expected #{this} to have a "+m+" at least #{exp} but got #{act}","expected #{this} to have a "+m+" below #{exp}",e,p)}else this.assert(r>=e,"expected #{this} to be at least #{exp}","expected #{this} to be below #{exp}",e)}N(Oo,"assertLeast");T.addMethod("least",Oo);T.addMethod("gte",Oo);T.addMethod("greaterThanOrEqual",Oo);function To(e,t){t&&S(this,"message",t);var r=S(this,"object"),n=S(this,"doLength"),o=S(this,"message"),a=o?o+": ":"",i=S(this,"ssfi"),l=le(r).toLowerCase(),u=le(e).toLowerCase(),c,s=!0;if(n&&l!=="map"&&l!=="set"&&new T(r,o,i,!0).to.have.property("length"),!n&&l==="date"&&u!=="date")c=a+"the argument to below must be a date";else if(!qe(e)&&(n||qe(r)))c=a+"the argument to below must be a number";else if(!n&&l!=="date"&&!qe(r)){var d=l==="string"?"'"+r+"'":r;c=a+"expected "+d+" to be a number or a date"}else s=!1;if(s)throw new ee(c,void 0,i);if(n){var m="length",p;l==="map"||l==="set"?(m="size",p=r.size):p=r.length,this.assert(p<e,"expected #{this} to have a "+m+" below #{exp} but got #{act}","expected #{this} to not have a "+m+" below #{exp}",e,p)}else this.assert(r<e,"expected #{this} to be below #{exp}","expected #{this} to be at least #{exp}",e)}N(To,"assertBelow");T.addMethod("below",To);T.addMethod("lt",To);T.addMethod("lessThan",To);function So(e,t){t&&S(this,"message",t);var r=S(this,"object"),n=S(this,"doLength"),o=S(this,"message"),a=o?o+": ":"",i=S(this,"ssfi"),l=le(r).toLowerCase(),u=le(e).toLowerCase(),c,s=!0;if(n&&l!=="map"&&l!=="set"&&new T(r,o,i,!0).to.have.property("length"),!n&&l==="date"&&u!=="date")c=a+"the argument to most must be a date";else if(!qe(e)&&(n||qe(r)))c=a+"the argument to most must be a number";else if(!n&&l!=="date"&&!qe(r)){var d=l==="string"?"'"+r+"'":r;c=a+"expected "+d+" to be a number or a date"}else s=!1;if(s)throw new ee(c,void 0,i);if(n){var m="length",p;l==="map"||l==="set"?(m="size",p=r.size):p=r.length,this.assert(p<=e,"expected #{this} to have a "+m+" at most #{exp} but got #{act}","expected #{this} to have a "+m+" above #{exp}",e,p)}else this.assert(r<=e,"expected #{this} to be at most #{exp}","expected #{this} to be above #{exp}",e)}N(So,"assertMost");T.addMethod("most",So);T.addMethod("lte",So);T.addMethod("lessThanOrEqual",So);T.addMethod("within",function(e,t,r){r&&S(this,"message",r);var n=S(this,"object"),o=S(this,"doLength"),a=S(this,"message"),i=a?a+": ":"",l=S(this,"ssfi"),u=le(n).toLowerCase(),c=le(e).toLowerCase(),s=le(t).toLowerCase(),d,m=!0,p=c==="date"&&s==="date"?e.toISOString()+".."+t.toISOString():e+".."+t;if(o&&u!=="map"&&u!=="set"&&new T(n,a,l,!0).to.have.property("length"),!o&&u==="date"&&(c!=="date"||s!=="date"))d=i+"the arguments to within must be dates";else if((!qe(e)||!qe(t))&&(o||qe(n)))d=i+"the arguments to within must be numbers";else if(!o&&u!=="date"&&!qe(n)){var f=u==="string"?"'"+n+"'":n;d=i+"expected "+f+" to be a number or a date"}else m=!1;if(m)throw new ee(d,void 0,l);if(o){var b="length",h;u==="map"||u==="set"?(b="size",h=n.size):h=n.length,this.assert(h>=e&&h<=t,"expected #{this} to have a "+b+" within "+p,"expected #{this} to not have a "+b+" within "+p)}else this.assert(n>=e&&n<=t,"expected #{this} to be within "+p,"expected #{this} to not be within "+p)});function Il(e,t){t&&S(this,"message",t);var r=S(this,"object"),n=S(this,"ssfi"),o=S(this,"message");try{var a=r instanceof e}catch(l){throw l instanceof TypeError?(o=o?o+": ":"",new ee(o+"The instanceof assertion needs a constructor but "+le(e)+" was given.",void 0,n)):l}var i=qo(e);i==null&&(i="an unnamed constructor"),this.assert(a,"expected #{this} to be an instance of "+i,"expected #{this} to not be an instance of "+i)}N(Il,"assertInstanceOf");T.addMethod("instanceof",Il);T.addMethod("instanceOf",Il);function Bl(e,t,r){r&&S(this,"message",r);var n=S(this,"nested"),o=S(this,"own"),a=S(this,"message"),i=S(this,"object"),l=S(this,"ssfi"),u=typeof e;if(a=a?a+": ":"",n){if(u!=="string")throw new ee(a+"the argument to property must be a string when using nested syntax",void 0,l)}else if(u!=="string"&&u!=="number"&&u!=="symbol")throw new ee(a+"the argument to property must be a string, number, or symbol",void 0,l);if(n&&o)throw new ee(a+'The "nested" and "own" flags cannot be combined.',void 0,l);if(i==null)throw new ee(a+"Target cannot be null or undefined.",void 0,l);var c=S(this,"deep"),s=S(this,"negate"),d=n?wl(i,e):null,m=n?d.value:i[e],p=c?S(this,"eql"):(h,y)=>h===y,f="";c&&(f+="deep "),o&&(f+="own "),n&&(f+="nested "),f+="property ";var b;o?b=Object.prototype.hasOwnProperty.call(i,e):n?b=d.exists:b=Co(i,e),(!s||arguments.length===1)&&this.assert(b,"expected #{this} to have "+f+Q(e),"expected #{this} to not have "+f+Q(e)),arguments.length>1&&this.assert(b&&p(t,m),"expected #{this} to have "+f+Q(e)+" of #{exp}, but got #{act}","expected #{this} to not have "+f+Q(e)+" of #{act}",t,m),S(this,"object",m)}N(Bl,"assertProperty");T.addMethod("property",Bl);function kl(e,t,r){S(this,"own",!0),Bl.apply(this,arguments)}N(kl,"assertOwnProperty");T.addMethod("ownProperty",kl);T.addMethod("haveOwnProperty",kl);function Ll(e,t,r){typeof t=="string"&&(r=t,t=null),r&&S(this,"message",r);var n=S(this,"object"),o=Object.getOwnPropertyDescriptor(Object(n),e),a=S(this,"eql");o&&t?this.assert(a(t,o),"expected the own property descriptor for "+Q(e)+" on #{this} to match "+Q(t)+", got "+Q(o),"expected the own property descriptor for "+Q(e)+" on #{this} to not match "+Q(t),t,o,!0):this.assert(o,"expected #{this} to have an own property descriptor for "+Q(e),"expected #{this} to not have an own property descriptor for "+Q(e)),S(this,"object",o)}N(Ll,"assertOwnPropertyDescriptor");T.addMethod("ownPropertyDescriptor",Ll);T.addMethod("haveOwnPropertyDescriptor",Ll);function Dl(){S(this,"doLength",!0)}N(Dl,"assertLengthChain");function Fl(e,t){t&&S(this,"message",t);var r=S(this,"object"),n=le(r).toLowerCase(),o=S(this,"message"),a=S(this,"ssfi"),i="length",l;switch(n){case"map":case"set":i="size",l=r.size;break;default:new T(r,o,a,!0).to.have.property("length"),l=r.length}this.assert(l==e,"expected #{this} to have a "+i+" of #{exp} but got #{act}","expected #{this} to not have a "+i+" of #{act}",e,l)}N(Fl,"assertLength");T.addChainableMethod("length",Fl,Dl);T.addChainableMethod("lengthOf",Fl,Dl);function Hl(e,t){t&&S(this,"message",t);var r=S(this,"object");this.assert(e.exec(r),"expected #{this} to match "+e,"expected #{this} not to match "+e)}N(Hl,"assertMatch");T.addMethod("match",Hl);T.addMethod("matches",Hl);T.addMethod("string",function(e,t){t&&S(this,"message",t);var r=S(this,"object"),n=S(this,"message"),o=S(this,"ssfi");new T(r,n,o,!0).is.a("string"),this.assert(~r.indexOf(e),"expected #{this} to contain "+Q(e),"expected #{this} to not contain "+Q(e))});function Ul(e){var t=S(this,"object"),r=le(t),n=le(e),o=S(this,"ssfi"),a=S(this,"deep"),i,l="",u,c=!0,s=S(this,"message");s=s?s+": ":"";var d=s+"when testing keys against an object or an array you must give a single Array|Object|String argument or multiple String arguments";if(r==="Map"||r==="Set")l=a?"deeply ":"",u=[],t.forEach(function(g,E){u.push(E)}),n!=="Array"&&(e=Array.prototype.slice.call(arguments));else{switch(u=Al(t),n){case"Array":if(arguments.length>1)throw new ee(d,void 0,o);break;case"Object":if(arguments.length>1)throw new ee(d,void 0,o);e=Object.keys(e);break;default:e=Array.prototype.slice.call(arguments)}e=e.map(function(g){return typeof g=="symbol"?g:String(g)})}if(!e.length)throw new ee(s+"keys required",void 0,o);var m=e.length,p=S(this,"any"),f=S(this,"all"),b=e,h=a?S(this,"eql"):(g,E)=>g===E;if(!p&&!f&&(f=!0),p&&(c=b.some(function(g){return u.some(function(E){return h(g,E)})})),f&&(c=b.every(function(g){return u.some(function(E){return h(g,E)})}),S(this,"contains")||(c=c&&e.length==u.length)),m>1){e=e.map(function(g){return Q(g)});var y=e.pop();f&&(i=e.join(", ")+", and "+y),p&&(i=e.join(", ")+", or "+y)}else i=Q(e[0]);i=(m>1?"keys ":"key ")+i,i=(S(this,"contains")?"contain ":"have ")+i,this.assert(c,"expected #{this} to "+l+i,"expected #{this} to not "+l+i,b.slice(0).sort(Gn),u.sort(Gn),!0)}N(Ul,"assertKeys");T.addMethod("keys",Ul);T.addMethod("key",Ul);function Ao(e,t,r){r&&S(this,"message",r);var n=S(this,"object"),o=S(this,"ssfi"),a=S(this,"message"),i=S(this,"negate")||!1;new T(n,a,o,!0).is.a("function"),(Kn(e)||typeof e=="string")&&(t=e,e=null);let l,u=!1;try{n()}catch(g){u=!0,l=g}var c=e===void 0&&t===void 0,s=!!(e&&t),d=!1,m=!1;if(c||!c&&!i){var p="an error";e instanceof Error?p="#{exp}":e&&(p=Le.getConstructorName(e));let g=l;if(l instanceof Error)g=l.toString();else if(typeof l=="string")g=l;else if(l&&(typeof l=="object"||typeof l=="function"))try{g=Le.getConstructorName(l)}catch{}this.assert(u,"expected #{this} to throw "+p,"expected #{this} to not throw an error but #{act} was thrown",e&&e.toString(),g)}if(e&&l){if(e instanceof Error){var f=Le.compatibleInstance(l,e);f===i&&(s&&i?d=!0:this.assert(i,"expected #{this} to throw #{exp} but #{act} was thrown","expected #{this} to not throw #{exp}"+(l&&!i?" but #{act} was thrown":""),e.toString(),l.toString()))}var b=Le.compatibleConstructor(l,e);b===i&&(s&&i?d=!0:this.assert(i,"expected #{this} to throw #{exp} but #{act} was thrown","expected #{this} to not throw #{exp}"+(l?" but #{act} was thrown":""),e instanceof Error?e.toString():e&&Le.getConstructorName(e),l instanceof Error?l.toString():l&&Le.getConstructorName(l)))}if(l&&t!==void 0&&t!==null){var h="including";Kn(t)&&(h="matching");var y=Le.compatibleMessage(l,t);y===i&&(s&&i?m=!0:this.assert(i,"expected #{this} to throw error "+h+" #{exp} but got #{act}","expected #{this} to throw error not "+h+" #{exp}",t,Le.getMessage(l)))}d&&m&&this.assert(i,"expected #{this} to throw #{exp} but #{act} was thrown","expected #{this} to not throw #{exp}"+(l?" but #{act} was thrown":""),e instanceof Error?e.toString():e&&Le.getConstructorName(e),l instanceof Error?l.toString():l&&Le.getConstructorName(l)),S(this,"object",l)}N(Ao,"assertThrows");T.addMethod("throw",Ao);T.addMethod("throws",Ao);T.addMethod("Throw",Ao);function Vl(e,t){t&&S(this,"message",t);var r=S(this,"object"),n=S(this,"itself"),o=typeof r=="function"&&!n?r.prototype[e]:r[e];this.assert(typeof o=="function","expected #{this} to respond to "+Q(e),"expected #{this} to not respond to "+Q(e))}N(Vl,"respondTo");T.addMethod("respondTo",Vl);T.addMethod("respondsTo",Vl);T.addProperty("itself",function(){S(this,"itself",!0)});function zl(e,t){t&&S(this,"message",t);var r=S(this,"object"),n=e(r);this.assert(n,"expected #{this} to satisfy "+Ut(e),"expected #{this} to not satisfy"+Ut(e),!S(this,"negate"),n)}N(zl,"satisfy");T.addMethod("satisfy",zl);T.addMethod("satisfies",zl);function Gl(e,t,r){r&&S(this,"message",r);var n=S(this,"object"),o=S(this,"message"),a=S(this,"ssfi");new T(n,o,a,!0).is.numeric;let i="A `delta` value is required for `closeTo`";if(t==null)throw new ee(o?`${o}: ${i}`:i,void 0,a);if(new T(t,o,a,!0).is.numeric,i="A `expected` value is required for `closeTo`",e==null)throw new ee(o?`${o}: ${i}`:i,void 0,a);new T(e,o,a,!0).is.numeric;let l=N(c=>c<0n?-c:c,"abs"),u=N(c=>parseFloat(parseFloat(c).toPrecision(12)),"strip");this.assert(u(l(n-e))<=t,"expected #{this} to be close to "+e+" +/- "+t,"expected #{this} not to be close to "+e+" +/- "+t)}N(Gl,"closeTo");T.addMethod("closeTo",Gl);T.addMethod("approximately",Gl);function mm(e,t,r,n,o){let a=Array.from(t),i=Array.from(e);if(!n){if(i.length!==a.length)return!1;a=a.slice()}return i.every(function(l,u){if(o)return r?r(l,a[u]):l===a[u];if(!r){var c=a.indexOf(l);return c===-1?!1:(n||a.splice(c,1),!0)}return a.some(function(s,d){return r(l,s)?(n||a.splice(d,1),!0):!1})})}N(mm,"isSubsetOf");T.addMethod("members",function(e,t){t&&S(this,"message",t);var r=S(this,"object"),n=S(this,"message"),o=S(this,"ssfi");new T(r,n,o,!0).to.be.iterable,new T(e,n,o,!0).to.be.iterable;var a=S(this,"contains"),i=S(this,"ordered"),l,u,c;a?(l=i?"an ordered superset":"a superset",u="expected #{this} to be "+l+" of #{exp}",c="expected #{this} to not be "+l+" of #{exp}"):(l=i?"ordered members":"members",u="expected #{this} to have the same "+l+" as #{exp}",c="expected #{this} to not have the same "+l+" as #{exp}");var s=S(this,"deep")?S(this,"eql"):void 0;this.assert(mm(e,r,s,a,i),u,c,e,r,!0)});T.addProperty("iterable",function(e){e&&S(this,"message",e);var t=S(this,"object");this.assert(t!=null&&t[Symbol.iterator],"expected #{this} to be an iterable","expected #{this} to not be an iterable",t)});function fm(e,t){t&&S(this,"message",t);var r=S(this,"object"),n=S(this,"message"),o=S(this,"ssfi"),a=S(this,"contains"),i=S(this,"deep"),l=S(this,"eql");new T(e,n,o,!0).to.be.an("array"),a?this.assert(e.some(function(u){return r.indexOf(u)>-1}),"expected #{this} to contain one of #{exp}","expected #{this} to not contain one of #{exp}",e,r):i?this.assert(e.some(function(u){return l(r,u)}),"expected #{this} to deeply equal one of #{exp}","expected #{this} to deeply equal one of #{exp}",e,r):this.assert(e.indexOf(r)>-1,"expected #{this} to be one of #{exp}","expected #{this} to not be one of #{exp}",e,r)}N(fm,"oneOf");T.addMethod("oneOf",fm);function Wl(e,t,r){r&&S(this,"message",r);var n=S(this,"object"),o=S(this,"message"),a=S(this,"ssfi");new T(n,o,a,!0).is.a("function");var i;t?(new T(e,o,a,!0).to.have.property(t),i=e[t]):(new T(e,o,a,!0).is.a("function"),i=e()),n();var l=t==null?e():e[t],u=t==null?i:"."+t;S(this,"deltaMsgObj",u),S(this,"initialDeltaValue",i),S(this,"finalDeltaValue",l),S(this,"deltaBehavior","change"),S(this,"realDelta",l!==i),this.assert(i!==l,"expected "+u+" to change","expected "+u+" to not change")}N(Wl,"assertChanges");T.addMethod("change",Wl);T.addMethod("changes",Wl);function Kl(e,t,r){r&&S(this,"message",r);var n=S(this,"object"),o=S(this,"message"),a=S(this,"ssfi");new T(n,o,a,!0).is.a("function");var i;t?(new T(e,o,a,!0).to.have.property(t),i=e[t]):(new T(e,o,a,!0).is.a("function"),i=e()),new T(i,o,a,!0).is.a("number"),n();var l=t==null?e():e[t],u=t==null?i:"."+t;S(this,"deltaMsgObj",u),S(this,"initialDeltaValue",i),S(this,"finalDeltaValue",l),S(this,"deltaBehavior","increase"),S(this,"realDelta",l-i),this.assert(l-i>0,"expected "+u+" to increase","expected "+u+" to not increase")}N(Kl,"assertIncreases");T.addMethod("increase",Kl);T.addMethod("increases",Kl);function Yl(e,t,r){r&&S(this,"message",r);var n=S(this,"object"),o=S(this,"message"),a=S(this,"ssfi");new T(n,o,a,!0).is.a("function");var i;t?(new T(e,o,a,!0).to.have.property(t),i=e[t]):(new T(e,o,a,!0).is.a("function"),i=e()),new T(i,o,a,!0).is.a("number"),n();var l=t==null?e():e[t],u=t==null?i:"."+t;S(this,"deltaMsgObj",u),S(this,"initialDeltaValue",i),S(this,"finalDeltaValue",l),S(this,"deltaBehavior","decrease"),S(this,"realDelta",i-l),this.assert(l-i<0,"expected "+u+" to decrease","expected "+u+" to not decrease")}N(Yl,"assertDecreases");T.addMethod("decrease",Yl);T.addMethod("decreases",Yl);function hm(e,t){t&&S(this,"message",t);var r=S(this,"deltaMsgObj"),n=S(this,"initialDeltaValue"),o=S(this,"finalDeltaValue"),a=S(this,"deltaBehavior"),i=S(this,"realDelta"),l;a==="change"?l=Math.abs(o-n)===Math.abs(e):l=i===Math.abs(e),this.assert(l,"expected "+r+" to "+a+" by "+e,"expected "+r+" to not "+a+" by "+e)}N(hm,"assertDelta");T.addMethod("by",hm);T.addProperty("extensible",function(){var e=S(this,"object"),t=e===Object(e)&&Object.isExtensible(e);this.assert(t,"expected #{this} to be extensible","expected #{this} to not be extensible")});T.addProperty("sealed",function(){var e=S(this,"object"),t=e===Object(e)?Object.isSealed(e):!0;this.assert(t,"expected #{this} to be sealed","expected #{this} to not be sealed")});T.addProperty("frozen",function(){var e=S(this,"object"),t=e===Object(e)?Object.isFrozen(e):!0;this.assert(t,"expected #{this} to be frozen","expected #{this} to not be frozen")});T.addProperty("finite",function(e){var t=S(this,"object");this.assert(typeof t=="number"&&isFinite(t),"expected #{this} to be a finite number","expected #{this} to not be a finite number")});function Yn(e,t){return e===t?!0:typeof t!=typeof e?!1:typeof e!="object"||e===null?e===t:t?Array.isArray(e)?Array.isArray(t)?e.every(function(r){return t.some(function(n){return Yn(r,n)})}):!1:e instanceof Date?t instanceof Date?e.getTime()===t.getTime():!1:Object.keys(e).every(function(r){var n=e[r],o=t[r];return typeof n=="object"&&n!==null&&o!==null?Yn(n,o):typeof n=="function"?n(o):o===n}):!1}N(Yn,"compareSubset");T.addMethod("containSubset",function(e){let t=K(this,"object"),r=Be.showDiff;this.assert(Yn(e,t),"expected #{act} to contain subset #{exp}","expected #{act} to not contain subset #{exp}",e,t,r)});function Vt(e,t){return new T(e,t)}N(Vt,"expect");Vt.fail=function(e,t,r,n){throw arguments.length<2&&(r=e,e=void 0),r=r||"expect.fail()",new ee(r,{actual:e,expected:t,operator:n},Vt.fail)};var bm={};hl(bm,{Should:()=>rP,should:()=>tP});function Jl(){function e(){return this instanceof String||this instanceof Number||this instanceof Boolean||typeof Symbol=="function"&&this instanceof Symbol||typeof BigInt=="function"&&this instanceof BigInt?new T(this.valueOf(),null,e):new T(this,null,e)}N(e,"shouldGetter");function t(n){Object.defineProperty(this,"should",{value:n,enumerable:!0,configurable:!0,writable:!0})}N(t,"shouldSetter"),Object.defineProperty(Object.prototype,"should",{set:t,get:e,configurable:!0});var r={};return r.fail=function(n,o,a,i){throw arguments.length<2&&(a=n,n=void 0),a=a||"should.fail()",new ee(a,{actual:n,expected:o,operator:i},r.fail)},r.equal=function(n,o,a){new T(n,a).to.equal(o)},r.Throw=function(n,o,a,i){new T(n,i).to.Throw(o,a)},r.exist=function(n,o){new T(n,o).to.exist},r.not={},r.not.equal=function(n,o,a){new T(n,a).to.not.equal(o)},r.not.Throw=function(n,o,a,i){new T(n,i).to.not.Throw(o,a)},r.not.exist=function(n,o){new T(n,o).to.not.exist},r.throw=r.Throw,r.not.throw=r.not.Throw,r}N(Jl,"loadShould");var tP=Jl,rP=Jl;function O(e,t){var r=new T(null,null,O,!0);r.assert(e,t,"[ negation message unavailable ]")}N(O,"assert");O.fail=function(e,t,r,n){throw arguments.length<2&&(r=e,e=void 0),r=r||"assert.fail()",new ee(r,{actual:e,expected:t,operator:n},O.fail)};O.isOk=function(e,t){new T(e,t,O.isOk,!0).is.ok};O.isNotOk=function(e,t){new T(e,t,O.isNotOk,!0).is.not.ok};O.equal=function(e,t,r){var n=new T(e,r,O.equal,!0);n.assert(t==K(n,"object"),"expected #{this} to equal #{exp}","expected #{this} to not equal #{act}",t,e,!0)};O.notEqual=function(e,t,r){var n=new T(e,r,O.notEqual,!0);n.assert(t!=K(n,"object"),"expected #{this} to not equal #{exp}","expected #{this} to equal #{act}",t,e,!0)};O.strictEqual=function(e,t,r){new T(e,r,O.strictEqual,!0).to.equal(t)};O.notStrictEqual=function(e,t,r){new T(e,r,O.notStrictEqual,!0).to.not.equal(t)};O.deepEqual=O.deepStrictEqual=function(e,t,r){new T(e,r,O.deepEqual,!0).to.eql(t)};O.notDeepEqual=function(e,t,r){new T(e,r,O.notDeepEqual,!0).to.not.eql(t)};O.isAbove=function(e,t,r){new T(e,r,O.isAbove,!0).to.be.above(t)};O.isAtLeast=function(e,t,r){new T(e,r,O.isAtLeast,!0).to.be.least(t)};O.isBelow=function(e,t,r){new T(e,r,O.isBelow,!0).to.be.below(t)};O.isAtMost=function(e,t,r){new T(e,r,O.isAtMost,!0).to.be.most(t)};O.isTrue=function(e,t){new T(e,t,O.isTrue,!0).is.true};O.isNotTrue=function(e,t){new T(e,t,O.isNotTrue,!0).to.not.equal(!0)};O.isFalse=function(e,t){new T(e,t,O.isFalse,!0).is.false};O.isNotFalse=function(e,t){new T(e,t,O.isNotFalse,!0).to.not.equal(!1)};O.isNull=function(e,t){new T(e,t,O.isNull,!0).to.equal(null)};O.isNotNull=function(e,t){new T(e,t,O.isNotNull,!0).to.not.equal(null)};O.isNaN=function(e,t){new T(e,t,O.isNaN,!0).to.be.NaN};O.isNotNaN=function(e,t){new T(e,t,O.isNotNaN,!0).not.to.be.NaN};O.exists=function(e,t){new T(e,t,O.exists,!0).to.exist};O.notExists=function(e,t){new T(e,t,O.notExists,!0).to.not.exist};O.isUndefined=function(e,t){new T(e,t,O.isUndefined,!0).to.equal(void 0)};O.isDefined=function(e,t){new T(e,t,O.isDefined,!0).to.not.equal(void 0)};O.isCallable=function(e,t){new T(e,t,O.isCallable,!0).is.callable};O.isNotCallable=function(e,t){new T(e,t,O.isNotCallable,!0).is.not.callable};O.isObject=function(e,t){new T(e,t,O.isObject,!0).to.be.a("object")};O.isNotObject=function(e,t){new T(e,t,O.isNotObject,!0).to.not.be.a("object")};O.isArray=function(e,t){new T(e,t,O.isArray,!0).to.be.an("array")};O.isNotArray=function(e,t){new T(e,t,O.isNotArray,!0).to.not.be.an("array")};O.isString=function(e,t){new T(e,t,O.isString,!0).to.be.a("string")};O.isNotString=function(e,t){new T(e,t,O.isNotString,!0).to.not.be.a("string")};O.isNumber=function(e,t){new T(e,t,O.isNumber,!0).to.be.a("number")};O.isNotNumber=function(e,t){new T(e,t,O.isNotNumber,!0).to.not.be.a("number")};O.isNumeric=function(e,t){new T(e,t,O.isNumeric,!0).is.numeric};O.isNotNumeric=function(e,t){new T(e,t,O.isNotNumeric,!0).is.not.numeric};O.isFinite=function(e,t){new T(e,t,O.isFinite,!0).to.be.finite};O.isBoolean=function(e,t){new T(e,t,O.isBoolean,!0).to.be.a("boolean")};O.isNotBoolean=function(e,t){new T(e,t,O.isNotBoolean,!0).to.not.be.a("boolean")};O.typeOf=function(e,t,r){new T(e,r,O.typeOf,!0).to.be.a(t)};O.notTypeOf=function(e,t,r){new T(e,r,O.notTypeOf,!0).to.not.be.a(t)};O.instanceOf=function(e,t,r){new T(e,r,O.instanceOf,!0).to.be.instanceOf(t)};O.notInstanceOf=function(e,t,r){new T(e,r,O.notInstanceOf,!0).to.not.be.instanceOf(t)};O.include=function(e,t,r){new T(e,r,O.include,!0).include(t)};O.notInclude=function(e,t,r){new T(e,r,O.notInclude,!0).not.include(t)};O.deepInclude=function(e,t,r){new T(e,r,O.deepInclude,!0).deep.include(t)};O.notDeepInclude=function(e,t,r){new T(e,r,O.notDeepInclude,!0).not.deep.include(t)};O.nestedInclude=function(e,t,r){new T(e,r,O.nestedInclude,!0).nested.include(t)};O.notNestedInclude=function(e,t,r){new T(e,r,O.notNestedInclude,!0).not.nested.include(t)};O.deepNestedInclude=function(e,t,r){new T(e,r,O.deepNestedInclude,!0).deep.nested.include(t)};O.notDeepNestedInclude=function(e,t,r){new T(e,r,O.notDeepNestedInclude,!0).not.deep.nested.include(t)};O.ownInclude=function(e,t,r){new T(e,r,O.ownInclude,!0).own.include(t)};O.notOwnInclude=function(e,t,r){new T(e,r,O.notOwnInclude,!0).not.own.include(t)};O.deepOwnInclude=function(e,t,r){new T(e,r,O.deepOwnInclude,!0).deep.own.include(t)};O.notDeepOwnInclude=function(e,t,r){new T(e,r,O.notDeepOwnInclude,!0).not.deep.own.include(t)};O.match=function(e,t,r){new T(e,r,O.match,!0).to.match(t)};O.notMatch=function(e,t,r){new T(e,r,O.notMatch,!0).to.not.match(t)};O.property=function(e,t,r){new T(e,r,O.property,!0).to.have.property(t)};O.notProperty=function(e,t,r){new T(e,r,O.notProperty,!0).to.not.have.property(t)};O.propertyVal=function(e,t,r,n){new T(e,n,O.propertyVal,!0).to.have.property(t,r)};O.notPropertyVal=function(e,t,r,n){new T(e,n,O.notPropertyVal,!0).to.not.have.property(t,r)};O.deepPropertyVal=function(e,t,r,n){new T(e,n,O.deepPropertyVal,!0).to.have.deep.property(t,r)};O.notDeepPropertyVal=function(e,t,r,n){new T(e,n,O.notDeepPropertyVal,!0).to.not.have.deep.property(t,r)};O.ownProperty=function(e,t,r){new T(e,r,O.ownProperty,!0).to.have.own.property(t)};O.notOwnProperty=function(e,t,r){new T(e,r,O.notOwnProperty,!0).to.not.have.own.property(t)};O.ownPropertyVal=function(e,t,r,n){new T(e,n,O.ownPropertyVal,!0).to.have.own.property(t,r)};O.notOwnPropertyVal=function(e,t,r,n){new T(e,n,O.notOwnPropertyVal,!0).to.not.have.own.property(t,r)};O.deepOwnPropertyVal=function(e,t,r,n){new T(e,n,O.deepOwnPropertyVal,!0).to.have.deep.own.property(t,r)};O.notDeepOwnPropertyVal=function(e,t,r,n){new T(e,n,O.notDeepOwnPropertyVal,!0).to.not.have.deep.own.property(t,r)};O.nestedProperty=function(e,t,r){new T(e,r,O.nestedProperty,!0).to.have.nested.property(t)};O.notNestedProperty=function(e,t,r){new T(e,r,O.notNestedProperty,!0).to.not.have.nested.property(t)};O.nestedPropertyVal=function(e,t,r,n){new T(e,n,O.nestedPropertyVal,!0).to.have.nested.property(t,r)};O.notNestedPropertyVal=function(e,t,r,n){new T(e,n,O.notNestedPropertyVal,!0).to.not.have.nested.property(t,r)};O.deepNestedPropertyVal=function(e,t,r,n){new T(e,n,O.deepNestedPropertyVal,!0).to.have.deep.nested.property(t,r)};O.notDeepNestedPropertyVal=function(e,t,r,n){new T(e,n,O.notDeepNestedPropertyVal,!0).to.not.have.deep.nested.property(t,r)};O.lengthOf=function(e,t,r){new T(e,r,O.lengthOf,!0).to.have.lengthOf(t)};O.hasAnyKeys=function(e,t,r){new T(e,r,O.hasAnyKeys,!0).to.have.any.keys(t)};O.hasAllKeys=function(e,t,r){new T(e,r,O.hasAllKeys,!0).to.have.all.keys(t)};O.containsAllKeys=function(e,t,r){new T(e,r,O.containsAllKeys,!0).to.contain.all.keys(t)};O.doesNotHaveAnyKeys=function(e,t,r){new T(e,r,O.doesNotHaveAnyKeys,!0).to.not.have.any.keys(t)};O.doesNotHaveAllKeys=function(e,t,r){new T(e,r,O.doesNotHaveAllKeys,!0).to.not.have.all.keys(t)};O.hasAnyDeepKeys=function(e,t,r){new T(e,r,O.hasAnyDeepKeys,!0).to.have.any.deep.keys(t)};O.hasAllDeepKeys=function(e,t,r){new T(e,r,O.hasAllDeepKeys,!0).to.have.all.deep.keys(t)};O.containsAllDeepKeys=function(e,t,r){new T(e,r,O.containsAllDeepKeys,!0).to.contain.all.deep.keys(t)};O.doesNotHaveAnyDeepKeys=function(e,t,r){new T(e,r,O.doesNotHaveAnyDeepKeys,!0).to.not.have.any.deep.keys(t)};O.doesNotHaveAllDeepKeys=function(e,t,r){new T(e,r,O.doesNotHaveAllDeepKeys,!0).to.not.have.all.deep.keys(t)};O.throws=function(e,t,r,n){(typeof t=="string"||t instanceof RegExp)&&(r=t,t=null);var o=new T(e,n,O.throws,!0).to.throw(t,r);return K(o,"object")};O.doesNotThrow=function(e,t,r,n){(typeof t=="string"||t instanceof RegExp)&&(r=t,t=null),new T(e,n,O.doesNotThrow,!0).to.not.throw(t,r)};O.operator=function(e,t,r,n){var o;switch(t){case"==":o=e==r;break;case"===":o=e===r;break;case">":o=e>r;break;case">=":o=e>=r;break;case"<":o=e<r;break;case"<=":o=e<=r;break;case"!=":o=e!=r;break;case"!==":o=e!==r;break;default:throw n=n&&n+": ",new ee(n+'Invalid operator "'+t+'"',void 0,O.operator)}var a=new T(o,n,O.operator,!0);a.assert(K(a,"object")===!0,"expected "+Q(e)+" to be "+t+" "+Q(r),"expected "+Q(e)+" to not be "+t+" "+Q(r))};O.closeTo=function(e,t,r,n){new T(e,n,O.closeTo,!0).to.be.closeTo(t,r)};O.approximately=function(e,t,r,n){new T(e,n,O.approximately,!0).to.be.approximately(t,r)};O.sameMembers=function(e,t,r){new T(e,r,O.sameMembers,!0).to.have.same.members(t)};O.notSameMembers=function(e,t,r){new T(e,r,O.notSameMembers,!0).to.not.have.same.members(t)};O.sameDeepMembers=function(e,t,r){new T(e,r,O.sameDeepMembers,!0).to.have.same.deep.members(t)};O.notSameDeepMembers=function(e,t,r){new T(e,r,O.notSameDeepMembers,!0).to.not.have.same.deep.members(t)};O.sameOrderedMembers=function(e,t,r){new T(e,r,O.sameOrderedMembers,!0).to.have.same.ordered.members(t)};O.notSameOrderedMembers=function(e,t,r){new T(e,r,O.notSameOrderedMembers,!0).to.not.have.same.ordered.members(t)};O.sameDeepOrderedMembers=function(e,t,r){new T(e,r,O.sameDeepOrderedMembers,!0).to.have.same.deep.ordered.members(t)};O.notSameDeepOrderedMembers=function(e,t,r){new T(e,r,O.notSameDeepOrderedMembers,!0).to.not.have.same.deep.ordered.members(t)};O.includeMembers=function(e,t,r){new T(e,r,O.includeMembers,!0).to.include.members(t)};O.notIncludeMembers=function(e,t,r){new T(e,r,O.notIncludeMembers,!0).to.not.include.members(t)};O.includeDeepMembers=function(e,t,r){new T(e,r,O.includeDeepMembers,!0).to.include.deep.members(t)};O.notIncludeDeepMembers=function(e,t,r){new T(e,r,O.notIncludeDeepMembers,!0).to.not.include.deep.members(t)};O.includeOrderedMembers=function(e,t,r){new T(e,r,O.includeOrderedMembers,!0).to.include.ordered.members(t)};O.notIncludeOrderedMembers=function(e,t,r){new T(e,r,O.notIncludeOrderedMembers,!0).to.not.include.ordered.members(t)};O.includeDeepOrderedMembers=function(e,t,r){new T(e,r,O.includeDeepOrderedMembers,!0).to.include.deep.ordered.members(t)};O.notIncludeDeepOrderedMembers=function(e,t,r){new T(e,r,O.notIncludeDeepOrderedMembers,!0).to.not.include.deep.ordered.members(t)};O.oneOf=function(e,t,r){new T(e,r,O.oneOf,!0).to.be.oneOf(t)};O.isIterable=function(e,t){if(e==null||!e[Symbol.iterator])throw t=t?`${t} expected ${Q(e)} to be an iterable`:`expected ${Q(e)} to be an iterable`,new ee(t,void 0,O.isIterable)};O.changes=function(e,t,r,n){arguments.length===3&&typeof t=="function"&&(n=r,r=null),new T(e,n,O.changes,!0).to.change(t,r)};O.changesBy=function(e,t,r,n,o){if(arguments.length===4&&typeof t=="function"){var a=n;n=r,o=a}else arguments.length===3&&(n=r,r=null);new T(e,o,O.changesBy,!0).to.change(t,r).by(n)};O.doesNotChange=function(e,t,r,n){return arguments.length===3&&typeof t=="function"&&(n=r,r=null),new T(e,n,O.doesNotChange,!0).to.not.change(t,r)};O.changesButNotBy=function(e,t,r,n,o){if(arguments.length===4&&typeof t=="function"){var a=n;n=r,o=a}else arguments.length===3&&(n=r,r=null);new T(e,o,O.changesButNotBy,!0).to.change(t,r).but.not.by(n)};O.increases=function(e,t,r,n){return arguments.length===3&&typeof t=="function"&&(n=r,r=null),new T(e,n,O.increases,!0).to.increase(t,r)};O.increasesBy=function(e,t,r,n,o){if(arguments.length===4&&typeof t=="function"){var a=n;n=r,o=a}else arguments.length===3&&(n=r,r=null);new T(e,o,O.increasesBy,!0).to.increase(t,r).by(n)};O.doesNotIncrease=function(e,t,r,n){return arguments.length===3&&typeof t=="function"&&(n=r,r=null),new T(e,n,O.doesNotIncrease,!0).to.not.increase(t,r)};O.increasesButNotBy=function(e,t,r,n,o){if(arguments.length===4&&typeof t=="function"){var a=n;n=r,o=a}else arguments.length===3&&(n=r,r=null);new T(e,o,O.increasesButNotBy,!0).to.increase(t,r).but.not.by(n)};O.decreases=function(e,t,r,n){return arguments.length===3&&typeof t=="function"&&(n=r,r=null),new T(e,n,O.decreases,!0).to.decrease(t,r)};O.decreasesBy=function(e,t,r,n,o){if(arguments.length===4&&typeof t=="function"){var a=n;n=r,o=a}else arguments.length===3&&(n=r,r=null);new T(e,o,O.decreasesBy,!0).to.decrease(t,r).by(n)};O.doesNotDecrease=function(e,t,r,n){return arguments.length===3&&typeof t=="function"&&(n=r,r=null),new T(e,n,O.doesNotDecrease,!0).to.not.decrease(t,r)};O.doesNotDecreaseBy=function(e,t,r,n,o){if(arguments.length===4&&typeof t=="function"){var a=n;n=r,o=a}else arguments.length===3&&(n=r,r=null);return new T(e,o,O.doesNotDecreaseBy,!0).to.not.decrease(t,r).by(n)};O.decreasesButNotBy=function(e,t,r,n,o){if(arguments.length===4&&typeof t=="function"){var a=n;n=r,o=a}else arguments.length===3&&(n=r,r=null);new T(e,o,O.decreasesButNotBy,!0).to.decrease(t,r).but.not.by(n)};O.ifError=function(e){if(e)throw e};O.isExtensible=function(e,t){new T(e,t,O.isExtensible,!0).to.be.extensible};O.isNotExtensible=function(e,t){new T(e,t,O.isNotExtensible,!0).to.not.be.extensible};O.isSealed=function(e,t){new T(e,t,O.isSealed,!0).to.be.sealed};O.isNotSealed=function(e,t){new T(e,t,O.isNotSealed,!0).to.not.be.sealed};O.isFrozen=function(e,t){new T(e,t,O.isFrozen,!0).to.be.frozen};O.isNotFrozen=function(e,t){new T(e,t,O.isNotFrozen,!0).to.not.be.frozen};O.isEmpty=function(e,t){new T(e,t,O.isEmpty,!0).to.be.empty};O.isNotEmpty=function(e,t){new T(e,t,O.isNotEmpty,!0).to.not.be.empty};O.containsSubset=function(e,t,r){new T(e,r).to.containSubset(t)};O.doesNotContainSubset=function(e,t,r){new T(e,r).to.not.containSubset(t)};var nP=[["isOk","ok"],["isNotOk","notOk"],["throws","throw"],["throws","Throw"],["isExtensible","extensible"],["isNotExtensible","notExtensible"],["isSealed","sealed"],["isNotSealed","notSealed"],["isFrozen","frozen"],["isNotFrozen","notFrozen"],["isEmpty","empty"],["isNotEmpty","notEmpty"],["isCallable","isFunction"],["isNotCallable","isNotFunction"],["containsSubset","containSubset"]];for(let[e,t]of nP)O[t]=O[e];var Su=[];function pr(e){let t={use:pr,AssertionError:ee,util:ot,config:Be,expect:Vt,assert:O,Assertion:T,...bm};return~Su.indexOf(e)||(e(t,ot),Su.push(e)),t}N(pr,"use");var ym={};sl(ym,{toBeChecked:()=>af,toBeDisabled:()=>Xm,toBeEmpty:()=>Im,toBeEmptyDOMElement:()=>Bm,toBeEnabled:()=>Qm,toBeInTheDOM:()=>bi,toBeInTheDocument:()=>$m,toBeInvalid:()=>tf,toBePartiallyChecked:()=>sf,toBeRequired:()=>Zm,toBeValid:()=>rf,toBeVisible:()=>Gm,toContainElement:()=>yi,toContainHTML:()=>km,toHaveAccessibleDescription:()=>gi,toHaveAccessibleErrorMessage:()=>Dm,toHaveAccessibleName:()=>_i,toHaveAttribute:()=>Fm,toHaveClass:()=>Hm,toHaveDescription:()=>uf,toHaveDisplayValue:()=>of,toHaveErrorMessage:()=>cf,toHaveFocus:()=>Um,toHaveFormValues:()=>Vm,toHaveRole:()=>vi,toHaveStyle:()=>Ri,toHaveTextContent:()=>Lm,toHaveValue:()=>nf});var Au=Fe(pp(),1);function gm(e){Object.defineProperty(e,"__esModule",{value:!0,configurable:!0})}function Xl(e,t,r,n){Object.defineProperty(e,t,{get:r,set:n,enumerable:!0,configurable:!0})}var vm={};gm(vm);Xl(vm,"default",()=>_m);var _m=class extends Error{constructor(e,t,r,n,o){super(e+":"+r+":"+n+": "+t),this.reason=t,this.filename=e,this.line=r,this.column=n,this.source=o}},Rm={};gm(Rm);Xl(Rm,"default",()=>wm);var wm=class{constructor(e,t,r){this.start=e,this.end=t,this.source=r}},oP={};Xl(oP,"CssTypes",()=>_e);var _e;(function(e){e.stylesheet="stylesheet",e.rule="rule",e.declaration="declaration",e.comment="comment",e.container="container",e.charset="charset",e.document="document",e.customMedia="custom-media",e.fontFace="font-face",e.host="host",e.import="import",e.keyframes="keyframes",e.keyframe="keyframe",e.layer="layer",e.media="media",e.namespace="namespace",e.page="page",e.startingStyle="starting-style",e.supports="supports"})(_e||(_e={}));var Sa=/\/\*[^]*?(?:\*\/|$)/g,aP=(e,t)=>{t=t||{};let r=1,n=1;function o(F){let L=F.match(/\n/g);L&&(r+=L.length);let D=F.lastIndexOf(` -`);n=~D?F.length-D:n+F.length}function a(){let F={line:r,column:n};return function(L){return L.position=new wm(F,{line:r,column:n},(t==null?void 0:t.source)||""),p(),L}}let i=[];function l(F){let L=new _m((t==null?void 0:t.source)||"",F,r,n,e);if(t!=null&&t.silent)i.push(L);else throw L}function u(){let F=d();return{type:_e.stylesheet,stylesheet:{source:t==null?void 0:t.source,rules:F,parsingErrors:i}}}function c(){return m(/^{\s*/)}function s(){return m(/^}/)}function d(){let F,L=[];for(p(),f(L);e.length&&e.charAt(0)!=="}"&&(F=ve()||pe());)F&&(L.push(F),f(L));return L}function m(F){let L=F.exec(e);if(!L)return;let D=L[0];return o(D),e=e.slice(D.length),L}function p(){m(/^\s*/)}function f(F){let L;for(F=F||[];L=b();)L&&F.push(L);return F}function b(){let F=a();if(e.charAt(0)!=="/"||e.charAt(1)!=="*")return;let L=m(/^\/\*[^]*?\*\//);return L?F({type:_e.comment,comment:L[0].slice(2,-2)}):l("End of comment missing")}function h(F,L,D){let z=L+1,H=!1,ae=F.indexOf(")",z);for(;!H&&ae!==-1;){let ue=F.indexOf("(",z);ue!==-1&&ue<ae?(z=h(F,ue+1)+1,ae=F.indexOf(")",z)):H=!0}return H&&ae!==-1?ae:-1}function y(){let F=m(/^([^{]+)/);if(!F)return;let L=He(F[0]).replace(Sa,"");if(L.indexOf(",")===-1)return[L];let D=0,z=L.indexOf("(",D);for(;z!==-1;){let H=h(L,z);if(H===-1)break;D=H+1,L=L.substring(0,z)+L.substring(z,H).replace(/,/g,"‌")+L.substring(H),z=L.indexOf("(",D)}return L=L.replace(/("|')(?:\\\1|.)*?\1/g,H=>H.replace(/,/g,"‌")),L.split(",").map(H=>He(H.replace(/\u200C/g,",")))}function g(){let F=a(),L=m(/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/);if(!L)return;let D=He(L[0]);if(!m(/^:\s*/))return l("property missing ':'");let z=m(/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/),H=F({type:_e.declaration,property:D.replace(Sa,""),value:z?He(z[0]).replace(Sa,""):""});return m(/^[;\s]*/),H}function E(){let F=[];if(!c())return l("missing '{'");f(F);let L;for(;L=g();)L&&(F.push(L),f(F));return s()?F:l("missing '}'")}function C(){let F,L=[],D=a();for(;F=m(/^((\d+\.\d+|\.\d+|\d+)%?|[a-z]+)\s*/);)L.push(F[1]),m(/^,\s*/);if(L.length)return D({type:_e.keyframe,values:L,declarations:E()||[]})}function q(){let F=a(),L=m(/^@([-\w]+)?keyframes\s*/);if(!L)return;let D=L[1],z=m(/^([-\w]+)\s*/);if(!z)return l("@keyframes missing name");let H=z[1];if(!c())return l("@keyframes missing '{'");let ae,ue=f();for(;ae=C();)ue.push(ae),ue=ue.concat(f());return s()?F({type:_e.keyframes,name:H,vendor:D,keyframes:ue}):l("@keyframes missing '}'")}function _(){let F=a(),L=m(/^@supports *([^{]+)/);if(!L)return;let D=He(L[1]);if(!c())return l("@supports missing '{'");let z=f().concat(d());return s()?F({type:_e.supports,supports:D,rules:z}):l("@supports missing '}'")}function v(){let F=a();if(!m(/^@host\s*/))return;if(!c())return l("@host missing '{'");let L=f().concat(d());return s()?F({type:_e.host,rules:L}):l("@host missing '}'")}function w(){let F=a(),L=m(/^@container *([^{]+)/);if(!L)return;let D=He(L[1]);if(!c())return l("@container missing '{'");let z=f().concat(d());return s()?F({type:_e.container,container:D,rules:z}):l("@container missing '}'")}function P(){let F=a(),L=m(/^@layer *([^{;@]+)/);if(!L)return;let D=He(L[1]);if(!c())return m(/^[;\s]*/),F({type:_e.layer,layer:D});let z=f().concat(d());return s()?F({type:_e.layer,layer:D,rules:z}):l("@layer missing '}'")}function j(){let F=a(),L=m(/^@media *([^{]+)/);if(!L)return;let D=He(L[1]);if(!c())return l("@media missing '{'");let z=f().concat(d());return s()?F({type:_e.media,media:D,rules:z}):l("@media missing '}'")}function $(){let F=a(),L=m(/^@custom-media\s+(--\S+)\s*([^{;\s][^{;]*);/);if(L)return F({type:_e.customMedia,name:He(L[1]),media:He(L[2])})}function B(){let F=a();if(!m(/^@page */))return;let L=y()||[];if(!c())return l("@page missing '{'");let D=f(),z;for(;z=g();)D.push(z),D=D.concat(f());return s()?F({type:_e.page,selectors:L,declarations:D}):l("@page missing '}'")}function I(){let F=a(),L=m(/^@([-\w]+)?document *([^{]+)/);if(!L)return;let D=He(L[1]),z=He(L[2]);if(!c())return l("@document missing '{'");let H=f().concat(d());return s()?F({type:_e.document,document:z,vendor:D,rules:H}):l("@document missing '}'")}function A(){let F=a();if(!m(/^@font-face\s*/))return;if(!c())return l("@font-face missing '{'");let L=f(),D;for(;D=g();)L.push(D),L=L.concat(f());return s()?F({type:_e.fontFace,declarations:L}):l("@font-face missing '}'")}function k(){let F=a();if(!m(/^@starting-style\s*/))return;if(!c())return l("@starting-style missing '{'");let L=f().concat(d());return s()?F({type:_e.startingStyle,rules:L}):l("@starting-style missing '}'")}let U=se("import"),W=se("charset"),G=se("namespace");function se(F){let L=new RegExp("^@"+F+`\\s*((?::?[^;'"]|"(?:\\\\"|[^"])*?"|'(?:\\\\'|[^'])*?')+)(?:;|$)`);return function(){let D=a(),z=m(L);if(!z)return;let H={type:F};return H[F]=z[1].trim(),D(H)}}function ve(){if(e[0]==="@")return q()||j()||$()||_()||U()||W()||G()||I()||B()||v()||A()||w()||k()||P()}function pe(){let F=a(),L=y();return L?(f(),F({type:_e.rule,selectors:L,declarations:E()||[]})):l("selector missing")}return fi(u())};function He(e){return e?e.trim():""}function fi(e,t){let r=e&&typeof e.type=="string",n=r?e:t;for(let o in e){let a=e[o];Array.isArray(a)?a.forEach(i=>{fi(i,n)}):a&&typeof a=="object"&&fi(a,n)}return r&&Object.defineProperty(e,"parent",{configurable:!0,writable:!0,enumerable:!1,value:t||null}),e}var iP=aP,lP=iP,sP=Object.prototype.toString;function Mu(e){return typeof e=="function"||sP.call(e)==="[object Function]"}function uP(e){var t=Number(e);return isNaN(t)?0:t===0||!isFinite(t)?t:(t>0?1:-1)*Math.floor(Math.abs(t))}var cP=Math.pow(2,53)-1;function dP(e){var t=uP(e);return Math.min(Math.max(t,0),cP)}function Je(e,t){var r=Array,n=Object(e);if(e==null)throw new TypeError("Array.from requires an array-like object - not null or undefined");if(typeof t<"u"&&!Mu(t))throw new TypeError("Array.from: when provided, the second argument must be a function");for(var o=dP(n.length),a=Mu(r)?Object(new r(o)):new Array(o),i=0,l;i<o;)l=n[i],t?a[i]=t(l,i):a[i]=l,i+=1;return a.length=o,a}function Yr(e){"@babel/helpers - typeof";return Yr=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Yr(e)}function pP(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function xu(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,Cm(n.key),n)}}function mP(e,t,r){return t&&xu(e.prototype,t),r&&xu(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function fP(e,t,r){return t=Cm(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Cm(e){var t=hP(e,"string");return Yr(t)==="symbol"?t:String(t)}function hP(e,t){if(Yr(e)!=="object"||e===null)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t||"default");if(Yr(n)!=="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var bP=function(){function e(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];pP(this,e),fP(this,"items",void 0),this.items=t}return mP(e,[{key:"add",value:function(t){return this.has(t)===!1&&this.items.push(t),this}},{key:"clear",value:function(){this.items=[]}},{key:"delete",value:function(t){var r=this.items.length;return this.items=this.items.filter(function(n){return n!==t}),r!==this.items.length}},{key:"forEach",value:function(t){var r=this;this.items.forEach(function(n){t(n,n,r)})}},{key:"has",value:function(t){return this.items.indexOf(t)!==-1}},{key:"size",get:function(){return this.items.length}}]),e}(),yP=typeof Set>"u"?Set:bP;function xe(e){var t;return(t=e.localName)!==null&&t!==void 0?t:e.tagName.toLowerCase()}var gP={article:"article",aside:"complementary",button:"button",datalist:"listbox",dd:"definition",details:"group",dialog:"dialog",dt:"term",fieldset:"group",figure:"figure",form:"form",footer:"contentinfo",h1:"heading",h2:"heading",h3:"heading",h4:"heading",h5:"heading",h6:"heading",header:"banner",hr:"separator",html:"document",legend:"legend",li:"listitem",math:"math",main:"main",menu:"list",nav:"navigation",ol:"list",optgroup:"group",option:"option",output:"status",progress:"progressbar",section:"region",summary:"button",table:"table",tbody:"rowgroup",textarea:"textbox",tfoot:"rowgroup",td:"cell",th:"columnheader",thead:"rowgroup",tr:"row",ul:"list"},vP={caption:new Set(["aria-label","aria-labelledby"]),code:new Set(["aria-label","aria-labelledby"]),deletion:new Set(["aria-label","aria-labelledby"]),emphasis:new Set(["aria-label","aria-labelledby"]),generic:new Set(["aria-label","aria-labelledby","aria-roledescription"]),insertion:new Set(["aria-label","aria-labelledby"]),none:new Set(["aria-label","aria-labelledby"]),paragraph:new Set(["aria-label","aria-labelledby"]),presentation:new Set(["aria-label","aria-labelledby"]),strong:new Set(["aria-label","aria-labelledby"]),subscript:new Set(["aria-label","aria-labelledby"]),superscript:new Set(["aria-label","aria-labelledby"])};function _P(e,t){return["aria-atomic","aria-busy","aria-controls","aria-current","aria-description","aria-describedby","aria-details","aria-dropeffect","aria-flowto","aria-grabbed","aria-hidden","aria-keyshortcuts","aria-label","aria-labelledby","aria-live","aria-owns","aria-relevant","aria-roledescription"].some(function(r){var n;return e.hasAttribute(r)&&!((n=vP[t])!==null&&n!==void 0&&n.has(r))})}function qm(e,t){return _P(e,t)}function RP(e){var t=CP(e);if(t===null||hi.indexOf(t)!==-1){var r=wP(e);if(hi.indexOf(t||"")===-1||qm(e,r||""))return r}return t}function wP(e){var t=gP[xe(e)];if(t!==void 0)return t;switch(xe(e)){case"a":case"area":case"link":if(e.hasAttribute("href"))return"link";break;case"img":return e.getAttribute("alt")===""&&!qm(e,"img")?"presentation":"img";case"input":{var r=e,n=r.type;switch(n){case"button":case"image":case"reset":case"submit":return"button";case"checkbox":case"radio":return n;case"range":return"slider";case"email":case"tel":case"text":case"url":return e.hasAttribute("list")?"combobox":"textbox";case"search":return e.hasAttribute("list")?"combobox":"searchbox";case"number":return"spinbutton";default:return null}}case"select":return e.hasAttribute("multiple")||e.size>1?"listbox":"combobox"}return null}function CP(e){var t=e.getAttribute("role");if(t!==null){var r=t.trim().split(" ")[0];if(r.length>0)return r}return null}var hi=["presentation","none"];function ce(e){return e!==null&&e.nodeType===e.ELEMENT_NODE}function Em(e){return ce(e)&&xe(e)==="caption"}function Nn(e){return ce(e)&&xe(e)==="input"}function qP(e){return ce(e)&&xe(e)==="optgroup"}function EP(e){return ce(e)&&xe(e)==="select"}function PP(e){return ce(e)&&xe(e)==="table"}function OP(e){return ce(e)&&xe(e)==="textarea"}function TP(e){var t=e.ownerDocument===null?e:e.ownerDocument,r=t.defaultView;if(r===null)throw new TypeError("no window available");return r}function SP(e){return ce(e)&&xe(e)==="fieldset"}function AP(e){return ce(e)&&xe(e)==="legend"}function MP(e){return ce(e)&&xe(e)==="slot"}function xP(e){return ce(e)&&e.ownerSVGElement!==void 0}function jP(e){return ce(e)&&xe(e)==="svg"}function NP(e){return xP(e)&&xe(e)==="title"}function Jn(e,t){if(ce(e)&&e.hasAttribute(t)){var r=e.getAttribute(t).split(" "),n=e.getRootNode?e.getRootNode():e.ownerDocument;return r.map(function(o){return n.getElementById(o)}).filter(function(o){return o!==null})}return[]}function ht(e,t){return ce(e)?t.indexOf(RP(e))!==-1:!1}function $P(e){return e.trim().replace(/\s\s+/g," ")}function IP(e,t){if(!ce(e))return!1;if(e.hasAttribute("hidden")||e.getAttribute("aria-hidden")==="true")return!0;var r=t(e);return r.getPropertyValue("display")==="none"||r.getPropertyValue("visibility")==="hidden"}function BP(e){return ht(e,["button","combobox","listbox","textbox"])||Pm(e,"range")}function Pm(e,t){if(!ce(e))return!1;switch(t){case"range":return ht(e,["meter","progressbar","scrollbar","slider","spinbutton"]);default:throw new TypeError("No knowledge about abstract role '".concat(t,"'. This is likely a bug :("))}}function ju(e,t){var r=Je(e.querySelectorAll(t));return Jn(e,"aria-owns").forEach(function(n){r.push.apply(r,Je(n.querySelectorAll(t)))}),r}function kP(e){return EP(e)?e.selectedOptions||ju(e,"[selected]"):ju(e,'[aria-selected="true"]')}function LP(e){return ht(e,hi)}function DP(e){return Em(e)}function FP(e){return ht(e,["button","cell","checkbox","columnheader","gridcell","heading","label","legend","link","menuitem","menuitemcheckbox","menuitemradio","option","radio","row","rowheader","switch","tab","tooltip","treeitem"])}function HP(e){return!1}function UP(e){return Nn(e)||OP(e)?e.value:e.textContent||""}function Nu(e){var t=e.getPropertyValue("content");return/^["'].*["']$/.test(t)?t.slice(1,-1):""}function Om(e){var t=xe(e);return t==="button"||t==="input"&&e.getAttribute("type")!=="hidden"||t==="meter"||t==="output"||t==="progress"||t==="select"||t==="textarea"}function Tm(e){if(Om(e))return e;var t=null;return e.childNodes.forEach(function(r){if(t===null&&ce(r)){var n=Tm(r);n!==null&&(t=n)}}),t}function VP(e){if(e.control!==void 0)return e.control;var t=e.getAttribute("for");return t!==null?e.ownerDocument.getElementById(t):Tm(e)}function zP(e){var t=e.labels;if(t===null)return t;if(t!==void 0)return Je(t);if(!Om(e))return null;var r=e.ownerDocument;return Je(r.querySelectorAll("label")).filter(function(n){return VP(n)===e})}function GP(e){var t=e.assignedNodes();return t.length===0?Je(e.childNodes):t}function Sm(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=new yP,n=TP(e),o=t.compute,a=o===void 0?"name":o,i=t.computedStyleSupportsPseudoElements,l=i===void 0?t.getComputedStyle!==void 0:i,u=t.getComputedStyle,c=u===void 0?n.getComputedStyle.bind(n):u,s=t.hidden,d=s===void 0?!1:s;function m(y,g){var E="";if(ce(y)&&l){var C=c(y,"::before"),q=Nu(C);E="".concat(q," ").concat(E)}var _=MP(y)?GP(y):Je(y.childNodes).concat(Jn(y,"aria-owns"));if(_.forEach(function(P){var j=h(P,{isEmbeddedInLabel:g.isEmbeddedInLabel,isReferenced:!1,recursion:!0}),$=ce(P)?c(P).getPropertyValue("display"):"inline",B=$!=="inline"?" ":"";E+="".concat(B).concat(j).concat(B)}),ce(y)&&l){var v=c(y,"::after"),w=Nu(v);E="".concat(E," ").concat(w)}return E.trim()}function p(y,g){var E=y.getAttributeNode(g);return E!==null&&!r.has(E)&&E.value.trim()!==""?(r.add(E),E.value):null}function f(y){return ce(y)?p(y,"title"):null}function b(y){if(!ce(y))return null;if(SP(y)){r.add(y);for(var g=Je(y.childNodes),E=0;E<g.length;E+=1){var C=g[E];if(AP(C))return h(C,{isEmbeddedInLabel:!1,isReferenced:!1,recursion:!1})}}else if(PP(y)){r.add(y);for(var q=Je(y.childNodes),_=0;_<q.length;_+=1){var v=q[_];if(Em(v))return h(v,{isEmbeddedInLabel:!1,isReferenced:!1,recursion:!1})}}else if(jP(y)){r.add(y);for(var w=Je(y.childNodes),P=0;P<w.length;P+=1){var j=w[P];if(NP(j))return j.textContent}return null}else if(xe(y)==="img"||xe(y)==="area"){var $=p(y,"alt");if($!==null)return $}else if(qP(y)){var B=p(y,"label");if(B!==null)return B}if(Nn(y)&&(y.type==="button"||y.type==="submit"||y.type==="reset")){var I=p(y,"value");if(I!==null)return I;if(y.type==="submit")return"Submit";if(y.type==="reset")return"Reset"}var A=zP(y);if(A!==null&&A.length!==0)return r.add(y),Je(A).map(function(G){return h(G,{isEmbeddedInLabel:!0,isReferenced:!1,recursion:!0})}).filter(function(G){return G.length>0}).join(" ");if(Nn(y)&&y.type==="image"){var k=p(y,"alt");if(k!==null)return k;var U=p(y,"title");return U!==null?U:"Submit Query"}if(ht(y,["button"])){var W=m(y,{isEmbeddedInLabel:!1,isReferenced:!1});if(W!=="")return W}return null}function h(y,g){if(r.has(y))return"";if(!d&&IP(y,c)&&!g.isReferenced)return r.add(y),"";var E=ce(y)?y.getAttributeNode("aria-labelledby"):null,C=E!==null&&!r.has(E)?Jn(y,"aria-labelledby"):[];if(a==="name"&&!g.isReferenced&&C.length>0)return r.add(E),C.map(function($){return h($,{isEmbeddedInLabel:g.isEmbeddedInLabel,isReferenced:!0,recursion:!1})}).join(" ");var q=g.recursion&&BP(y)&&a==="name";if(!q){var _=(ce(y)&&y.getAttribute("aria-label")||"").trim();if(_!==""&&a==="name")return r.add(y),_;if(!LP(y)){var v=b(y);if(v!==null)return r.add(y),v}}if(ht(y,["menu"]))return r.add(y),"";if(q||g.isEmbeddedInLabel||g.isReferenced){if(ht(y,["combobox","listbox"])){r.add(y);var w=kP(y);return w.length===0?Nn(y)?y.value:"":Je(w).map(function($){return h($,{isEmbeddedInLabel:g.isEmbeddedInLabel,isReferenced:!1,recursion:!0})}).join(" ")}if(Pm(y,"range"))return r.add(y),y.hasAttribute("aria-valuetext")?y.getAttribute("aria-valuetext"):y.hasAttribute("aria-valuenow")?y.getAttribute("aria-valuenow"):y.getAttribute("value")||"";if(ht(y,["textbox"]))return r.add(y),UP(y)}if(FP(y)||ce(y)&&g.isReferenced||DP(y)||HP()){var P=m(y,{isEmbeddedInLabel:g.isEmbeddedInLabel,isReferenced:!1});if(P!=="")return r.add(y),P}if(y.nodeType===y.TEXT_NODE)return r.add(y),y.textContent||"";if(g.recursion)return r.add(y),m(y,{isEmbeddedInLabel:g.isEmbeddedInLabel,isReferenced:!1});var j=f(y);return j!==null?(r.add(y),j):(r.add(y),"")}return $P(h(e,{isEmbeddedInLabel:!1,isReferenced:a==="description",recursion:!1}))}function Jr(e){"@babel/helpers - typeof";return Jr=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Jr(e)}function $u(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function Iu(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?$u(Object(r),!0).forEach(function(n){WP(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):$u(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function WP(e,t,r){return t=KP(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function KP(e){var t=YP(e,"string");return Jr(t)==="symbol"?t:String(t)}function YP(e,t){if(Jr(e)!=="object"||e===null)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t||"default");if(Jr(n)!=="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function JP(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=Jn(e,"aria-describedby").map(function(a){return Sm(a,Iu(Iu({},t),{},{compute:"description"}))}).join(" ");if(r===""){var n=e.getAttribute("aria-description");r=n===null?"":n}if(r===""){var o=e.getAttribute("title");r=o===null?"":o}return r}function XP(e){return ht(e,["caption","code","deletion","emphasis","generic","insertion","none","paragraph","presentation","strong","subscript","superscript"])}function QP(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return XP(e)?"":Sm(e,t)}var Ql=Fe(mp(),1),ZP=Fe(hp(),1),Am=Fe(Pp(),1),eO=Fe(Op(),1),Mm=class extends Error{constructor(e,t,r,n){super(),Error.captureStackTrace&&Error.captureStackTrace(this,r);let o="";try{o=n.utils.printWithType("Received",t,n.utils.printReceived)}catch{}this.message=[n.utils.matcherHint(`${n.isNot?".not":""}.${r.name}`,"received",""),"",`${n.utils.RECEIVED_COLOR("received")} value must ${e}.`,o].join(` -`)}},Bu=class extends Mm{constructor(...e){super("be an HTMLElement or an SVGElement",...e)}},ku=class extends Mm{constructor(...e){super("be a Node",...e)}};function xm(e,t,...r){if(!e||!e.ownerDocument||!e.ownerDocument.defaultView)throw new t(e,...r)}function tO(e,...t){xm(e,ku,...t);let r=e.ownerDocument.defaultView;if(!(e instanceof r.Node))throw new ku(e,...t)}function ie(e,...t){xm(e,Bu,...t);let r=e.ownerDocument.defaultView;if(!(e instanceof r.HTMLElement)&&!(e instanceof r.SVGElement))throw new Bu(e,...t)}var rO=class extends Error{constructor(e,t,r){super(),Error.captureStackTrace&&Error.captureStackTrace(this,t),this.message=[e.message,"",r.utils.RECEIVED_COLOR("Failing css:"),r.utils.RECEIVED_COLOR(`${e.css}`)].join(` -`)}};function nO(e,...t){let r=lP(`selector { ${e} }`,{silent:!0}).stylesheet;if(r.parsingErrors&&r.parsingErrors.length>0){let{reason:n,line:o}=r.parsingErrors[0];throw new rO({css:e,message:`Syntax error parsing expected css: ${n} on line: ${o}`},...t)}return r.rules[0].declarations.filter(n=>n.type==="declaration").reduce((n,{property:o,value:a})=>Object.assign(n,{[o]:a}),{})}function Lu(e,t){return typeof t=="string"?t:e.utils.stringify(t)}function Ae(e,t,r,n,o,a){return[`${t} -`,`${r}: -${e.utils.EXPECTED_COLOR((0,Au.default)(Lu(e,n),2))}`,`${o}: -${e.utils.RECEIVED_COLOR((0,Au.default)(Lu(e,a),2))}`].join(` -`)}function oO(e,t){return t instanceof RegExp?t.test(e):e.includes(String(t))}function Mo(e,t){console.warn(`Warning: ${e} has been deprecated and will be removed in future updates.`,t)}function xo(e){return e.replace(/\s+/g," ").trim()}function jt(e){return e.tagName&&e.tagName.toLowerCase()}function aO({multiple:e,options:t}){let r=[...t].filter(n=>n.selected);if(e)return[...r].map(n=>n.value);if(r.length!==0)return r[0].value}function iO(e){switch(e.type){case"number":return e.value===""?null:Number(e.value);case"checkbox":return e.checked;default:return e.value}}var lO=["meter","progressbar","slider","spinbutton"];function sO(e){if(lO.includes(e.getAttribute("role")))return Number(e.getAttribute("aria-valuenow"))}function jm(e){if(e)switch(e.tagName.toLowerCase()){case"input":return iO(e);case"select":return aO(e);default:return e.value??sO(e)}}function uO(e,{wordConnector:t=", ",lastWordConnector:r=" and "}={}){return[e.slice(0,-1).join(t),e[e.length-1]].join(e.length>1?r:"")}function Nm(e,t){if(Array.isArray(e)&&Array.isArray(t))return[...new Set(e)].every(r=>new Set(t).has(r))}function bi(e,t){return Mo("toBeInTheDOM","Please use toBeInTheDocument for searching the entire document and toContainElement for searching a specific container."),e&&ie(e,bi,this),t&&ie(t,bi,this),{pass:t?t.contains(e):!!e,message:()=>[this.utils.matcherHint(`${this.isNot?".not":""}.toBeInTheDOM`,"element",""),"","Received:",` ${this.utils.printReceived(e&&e.cloneNode(!1))}`].join(` -`)}}function $m(e){(e!==null||!this.isNot)&&ie(e,$m,this);let t=e===null?!1:e.ownerDocument===e.getRootNode({composed:!0}),r=()=>`expected document not to contain element, found ${this.utils.stringify(e.cloneNode(!0))} instead`,n=()=>"element could not be found in the document";return{pass:t,message:()=>[this.utils.matcherHint(`${this.isNot?".not":""}.toBeInTheDocument`,"element",""),"",this.utils.RECEIVED_COLOR(this.isNot?r():n())].join(` -`)}}function Im(e){return Mo("toBeEmpty","Please use instead toBeEmptyDOMElement for finding empty nodes in the DOM."),ie(e,Im,this),{pass:e.innerHTML==="",message:()=>[this.utils.matcherHint(`${this.isNot?".not":""}.toBeEmpty`,"element",""),"","Received:",` ${this.utils.printReceived(e.innerHTML)}`].join(` -`)}}function Bm(e){return ie(e,Bm,this),{pass:cO(e),message:()=>[this.utils.matcherHint(`${this.isNot?".not":""}.toBeEmptyDOMElement`,"element",""),"","Received:",` ${this.utils.printReceived(e.innerHTML)}`].join(` -`)}}function cO(e){return[...e.childNodes].filter(t=>t.nodeType!==8).length===0}function yi(e,t){return ie(e,yi,this),t!==null&&ie(t,yi,this),{pass:e.contains(t),message:()=>[this.utils.matcherHint(`${this.isNot?".not":""}.toContainElement`,"element","element"),"",this.utils.RECEIVED_COLOR(`${this.utils.stringify(e.cloneNode(!1))} ${this.isNot?"contains:":"does not contain:"} ${this.utils.stringify(t&&t.cloneNode(!1))} - `)].join(` -`)}}function dO(e,t){let r=e.ownerDocument.createElement("div");return r.innerHTML=t,r.innerHTML}function km(e,t){if(ie(e,km,this),typeof t!="string")throw new Error(`.toContainHTML() expects a string value, got ${t}`);return{pass:e.outerHTML.includes(dO(e,t)),message:()=>[this.utils.matcherHint(`${this.isNot?".not":""}.toContainHTML`,"element",""),"Expected:",` ${this.utils.EXPECTED_COLOR(t)}`,"Received:",` ${this.utils.printReceived(e.cloneNode(!0))}`].join(` -`)}}function Lm(e,t,r={normalizeWhitespace:!0}){tO(e,Lm,this);let n=r.normalizeWhitespace?xo(e.textContent):e.textContent.replace(/\u00a0/g," "),o=n!==""&&t==="";return{pass:!o&&oO(n,t),message:()=>{let a=this.isNot?"not to":"to";return Ae(this,this.utils.matcherHint(`${this.isNot?".not":""}.toHaveTextContent`,"element",""),o?"Checking with empty string will always match, use .toBeEmptyDOMElement() instead":`Expected element ${a} have text content`,t,"Received",n)}}}function gi(e,t){ie(e,gi,this);let r=JP(e),n=arguments.length===1,o=!1;return n?o=r!=="":o=t instanceof RegExp?t.test(r):this.equals(r,t),{pass:o,message:()=>{let a=this.isNot?"not to":"to";return Ae(this,this.utils.matcherHint(`${this.isNot?".not":""}.${gi.name}`,"element",""),`Expected element ${a} have accessible description`,t,"Received",r)}}}var Ir="aria-invalid",pO=["false"];function Dm(e,t){var l;ie(e,Dm,this);let r=this.isNot?"not to":"to",n=this.isNot?".not.toHaveAccessibleErrorMessage":".toHaveAccessibleErrorMessage",o=e.getAttribute("aria-errormessage");if(o&&/\s+/.test(o))return{pass:!1,message:()=>Ae(this,this.utils.matcherHint(n,"element"),"Expected element's `aria-errormessage` attribute to be empty or a single, valid ID","","Received",`aria-errormessage="${o}"`)};let a=e.getAttribute(Ir);if(!e.hasAttribute(Ir)||pO.includes(a))return{pass:!1,message:()=>Ae(this,this.utils.matcherHint(n,"element"),"Expected element to be marked as invalid with attribute",`${Ir}="${String(!0)}"`,"Received",e.hasAttribute("aria-invalid")?`${Ir}="${e.getAttribute(Ir)}`:null)};let i=xo(((l=e.ownerDocument.getElementById(o))==null?void 0:l.textContent)??"");return{pass:t===void 0?!!i:t instanceof RegExp?t.test(i):this.equals(i,t),message:()=>Ae(this,this.utils.matcherHint(n,"element"),`Expected element ${r} have accessible error message`,t??"","Received",i)}}var mO=bO(Ql.elementRoles);function vi(e,t){ie(e,vi,this);let r=fO(e);return{pass:r.some(n=>n===t),message:()=>{let n=this.isNot?"not to":"to";return Ae(this,this.utils.matcherHint(`${this.isNot?".not":""}.${vi.name}`,"element",""),`Expected element ${n} have role`,t,"Received",r.join(", "))}}}function fO(e){return e.hasAttribute("role")?e.getAttribute("role").split(" ").filter(Boolean):hO(e)}function hO(e){for(let{match:t,roles:r}of mO)if(t(e))return[...r];return[]}function bO(e){function t({name:i,attributes:l}){return`${i}${l.map(({name:u,value:c,constraints:s=[]})=>s.indexOf("undefined")!==-1?`:not([${u}])`:c?`[${u}="${c}"]`:`[${u}]`).join("")}`}function r({attributes:i=[]}){return i.length}function n({specificity:i},{specificity:l}){return l-i}function o(i){let{attributes:l=[]}=i,u=l.findIndex(s=>s.value&&s.name==="type"&&s.value==="text");u>=0&&(l=[...l.slice(0,u),...l.slice(u+1)]);let c=t({...i,attributes:l});return s=>u>=0&&s.type!=="text"?!1:s.matches(c)}let a=[];for(let[i,l]of e.entries())a=[...a,{match:o(i),roles:Array.from(l),specificity:r(i)}];return a.sort(n)}function _i(e,t){ie(e,_i,this);let r=QP(e),n=arguments.length===1,o=!1;return n?o=r!=="":o=t instanceof RegExp?t.test(r):this.equals(r,t),{pass:o,message:()=>{let a=this.isNot?"not to":"to";return Ae(this,this.utils.matcherHint(`${this.isNot?".not":""}.${_i.name}`,"element",""),`Expected element ${a} have accessible name`,t,"Received",r)}}}function Du(e,t,r){return r===void 0?t:`${t}=${e(r)}`}function yO(e,t,r){return r===void 0?`element.hasAttribute(${e(t)})`:`element.getAttribute(${e(t)}) === ${e(r)}`}function Fm(e,t,r){ie(e,Fm,this);let n=r!==void 0,o=e.hasAttribute(t),a=e.getAttribute(t);return{pass:n?o&&this.equals(a,r):o,message:()=>{let i=this.isNot?"not to":"to",l=o?Du(this.utils.stringify,t,a):null,u=this.utils.matcherHint(`${this.isNot?".not":""}.toHaveAttribute`,"element",this.utils.printExpected(t),{secondArgument:n?this.utils.printExpected(r):void 0,comment:yO(this.utils.stringify,t,r)});return Ae(this,u,`Expected the element ${i} have attribute`,Du(this.utils.stringify,t,r),"Received",l)}}}function gO(e){let t=e.pop(),r,n;return typeof t=="object"&&!(t instanceof RegExp)?(r=e,n=t):(r=e.concat(t),n={exact:!1}),{expectedClassNames:r,options:n}}function Fu(e){return e?e.split(/\s+/).filter(t=>t.length>0):[]}function Hu(e,t){return e.every(r=>typeof r=="string"?t.includes(r):t.some(n=>r.test(n)))}function Hm(e,...t){ie(e,Hm,this);let{expectedClassNames:r,options:n}=gO(t),o=Fu(e.getAttribute("class")),a=r.reduce((l,u)=>l.concat(typeof u=="string"||!u?Fu(u):u),[]),i=a.some(l=>l instanceof RegExp);if(n.exact&&i)throw new Error("Exact option does not support RegExp expected class names");return n.exact?{pass:Hu(a,o)&&a.length===o.length,message:()=>{let l=this.isNot?"not to":"to";return Ae(this,this.utils.matcherHint(`${this.isNot?".not":""}.toHaveClass`,"element",this.utils.printExpected(a.join(" "))),`Expected the element ${l} have EXACTLY defined classes`,a.join(" "),"Received",o.join(" "))}}:a.length>0?{pass:Hu(a,o),message:()=>{let l=this.isNot?"not to":"to";return Ae(this,this.utils.matcherHint(`${this.isNot?".not":""}.toHaveClass`,"element",this.utils.printExpected(a.join(" "))),`Expected the element ${l} have class`,a.join(" "),"Received",o.join(" "))}}:{pass:this.isNot?o.length>0:!1,message:()=>this.isNot?Ae(this,this.utils.matcherHint(".not.toHaveClass","element",""),"Expected the element to have classes","(none)","Received",o.join(" ")):[this.utils.matcherHint(".toHaveClass","element"),"At least one expected class must be provided."].join(` -`)}}function vO(e,t){let r={},n=e.createElement("div");return Object.keys(t).forEach(o=>{n.style[o]=t[o],r[o]=n.style[o]}),r}function _O(e,t){return!!Object.keys(e).length&&Object.entries(e).every(([r,n])=>{let o=r.startsWith("--"),a=[r];return o||a.push(r.toLowerCase()),a.some(i=>t[i]===n||t.getPropertyValue(i)===n)})}function Uu(e){return Object.keys(e).sort().map(t=>`${t}: ${e[t]};`).join(` -`)}function RO(e,t,r){let n=Array.from(r).filter(o=>t[o]!==void 0).reduce((o,a)=>Object.assign(o,{[a]:r.getPropertyValue(a)}),{});return e(Uu(t),Uu(n)).replace(`${ZP.default.red("+ Received")} -`,"")}function Ri(e,t){ie(e,Ri,this);let r=typeof t=="object"?t:nO(t,Ri,this),{getComputedStyle:n}=e.ownerDocument.defaultView,o=vO(e.ownerDocument,r),a=n(e);return{pass:_O(o,a),message:()=>{let i=`${this.isNot?".not":""}.toHaveStyle`;return[this.utils.matcherHint(i,"element",""),RO(this.utils.diff,o,a)].join(` - -`)}}}function Um(e){return ie(e,Um,this),{pass:e.ownerDocument.activeElement===e,message:()=>[this.utils.matcherHint(`${this.isNot?".not":""}.toHaveFocus`,"element",""),"",...this.isNot?["Received element is focused:",` ${this.utils.printReceived(e)}`]:["Expected element with focus:",` ${this.utils.printExpected(e)}`,"Received element with focus:",` ${this.utils.printReceived(e.ownerDocument.activeElement)}`]].join(` -`)}}function wO(e){let t=[...new Set(e.map(r=>r.type))];if(t.length!==1)throw new Error("Multiple form elements with the same name must be of the same type");switch(t[0]){case"radio":{let r=e.find(n=>n.checked);return r?r.value:void 0}case"checkbox":return e.filter(r=>r.checked).map(r=>r.value);default:return e.map(r=>r.value)}}function CO(e,t){let r=[...e.querySelectorAll(`[name="${(0,eO.default)(t)}"]`)];if(r.length!==0)switch(r.length){case 1:return jm(r[0]);default:return wO(r)}}function qO(e){return/\[\]$/.test(e)?e.slice(0,-2):e}function EO(e){return Array.from(e.elements).map(t=>t.name).reduce((t,r)=>({...t,[qO(r)]:CO(e,r)}),{})}function Vm(e,t){if(ie(e,Vm,this),!e.elements)throw new Error("toHaveFormValues must be called on a form or a fieldset");let r=EO(e);return{pass:Object.entries(t).every(([n,o])=>(0,Am.default)(r[n],o,Nm)),message:()=>{let n=this.isNot?"not to":"to",o=`${this.isNot?".not":""}.toHaveFormValues`,a=Object.keys(r).filter(i=>t.hasOwnProperty(i)).reduce((i,l)=>({...i,[l]:r[l]}),{});return[this.utils.matcherHint(o,"element",""),`Expected the element ${n} have form values`,this.utils.diff(t,a)].join(` - -`)}}}function PO(e){let{getComputedStyle:t}=e.ownerDocument.defaultView,{display:r,visibility:n,opacity:o}=t(e);return r!=="none"&&n!=="hidden"&&n!=="collapse"&&o!=="0"&&o!==0}function OO(e,t){let r;return t?r=e.nodeName==="DETAILS"&&t.nodeName!=="SUMMARY"?e.hasAttribute("open"):!0:r=e.nodeName==="DETAILS"?e.hasAttribute("open"):!0,!e.hasAttribute("hidden")&&r}function zm(e,t){return PO(e)&&OO(e,t)&&(!e.parentElement||zm(e.parentElement,e))}function Gm(e){ie(e,Gm,this);let t=e.ownerDocument===e.getRootNode({composed:!0}),r=t&&zm(e);return{pass:r,message:()=>{let n=r?"is":"is not";return[this.utils.matcherHint(`${this.isNot?".not":""}.toBeVisible`,"element",""),"",`Received element ${n} visible${t?"":" (element is not in the document)"}:`,` ${this.utils.printReceived(e.cloneNode(!1))}`].join(` -`)}}}var TO=["fieldset","input","select","optgroup","option","button","textarea"];function SO(e,t){return jt(e)==="legend"&&jt(t)==="fieldset"&&e.isSameNode(Array.from(t.children).find(r=>jt(r)==="legend"))}function AO(e,t){return Km(t)&&!SO(e,t)}function MO(e){return e.includes("-")}function Wm(e){let t=jt(e);return TO.includes(t)||MO(t)}function Km(e){return Wm(e)&&e.hasAttribute("disabled")}function Ym(e){let t=e.parentElement;return!!t&&(AO(e,t)||Ym(t))}function Jm(e){return Wm(e)&&(Km(e)||Ym(e))}function Xm(e){ie(e,Xm,this);let t=Jm(e);return{pass:t,message:()=>{let r=t?"is":"is not";return[this.utils.matcherHint(`${this.isNot?".not":""}.toBeDisabled`,"element",""),"",`Received element ${r} disabled:`,` ${this.utils.printReceived(e.cloneNode(!1))}`].join(` -`)}}}function Qm(e){ie(e,Qm,this);let t=!Jm(e);return{pass:t,message:()=>{let r=t?"is":"is not";return[this.utils.matcherHint(`${this.isNot?".not":""}.toBeEnabled`,"element",""),"",`Received element ${r} enabled:`,` ${this.utils.printReceived(e.cloneNode(!1))}`].join(` -`)}}}var xO=["select","textarea"],jO=["input","select","textarea"],NO=["color","hidden","range","submit","image","reset"],$O=["checkbox","combobox","gridcell","listbox","radiogroup","spinbutton","textbox","tree"];function IO(e){return xO.includes(jt(e))&&e.hasAttribute("required")}function BO(e){return jt(e)==="input"&&e.hasAttribute("required")&&(e.hasAttribute("type")&&!NO.includes(e.getAttribute("type"))||!e.hasAttribute("type"))}function kO(e){return e.hasAttribute("aria-required")&&e.getAttribute("aria-required")==="true"&&(jO.includes(jt(e))||e.hasAttribute("role")&&$O.includes(e.getAttribute("role")))}function Zm(e){ie(e,Zm,this);let t=IO(e)||BO(e)||kO(e);return{pass:t,message:()=>{let r=t?"is":"is not";return[this.utils.matcherHint(`${this.isNot?".not":""}.toBeRequired`,"element",""),"",`Received element ${r} required:`,` ${this.utils.printReceived(e.cloneNode(!1))}`].join(` -`)}}}var LO=["form","input","select","textarea"];function DO(e){return e.hasAttribute("aria-invalid")&&e.getAttribute("aria-invalid")!=="false"}function FO(e){return LO.includes(jt(e))}function ef(e){let t=DO(e);return FO(e)?t||!e.checkValidity():t}function tf(e){ie(e,tf,this);let t=ef(e);return{pass:t,message:()=>{let r=t?"is":"is not";return[this.utils.matcherHint(`${this.isNot?".not":""}.toBeInvalid`,"element",""),"",`Received element ${r} currently invalid:`,` ${this.utils.printReceived(e.cloneNode(!1))}`].join(` -`)}}}function rf(e){ie(e,rf,this);let t=!ef(e);return{pass:t,message:()=>{let r=t?"is":"is not";return[this.utils.matcherHint(`${this.isNot?".not":""}.toBeValid`,"element",""),"",`Received element ${r} currently valid:`,` ${this.utils.printReceived(e.cloneNode(!1))}`].join(` -`)}}}function nf(e,t){if(ie(e,nf,this),e.tagName.toLowerCase()==="input"&&["checkbox","radio"].includes(e.type))throw new Error("input with type=checkbox or type=radio cannot be used with .toHaveValue(). Use .toBeChecked() for type=checkbox or .toHaveFormValues() instead");let r=jm(e),n=t!==void 0,o=t,a=r;return t==r&&t!==r&&(o=`${t} (${typeof t})`,a=`${r} (${typeof r})`),{pass:n?(0,Am.default)(r,t,Nm):!!r,message:()=>{let i=this.isNot?"not to":"to",l=this.utils.matcherHint(`${this.isNot?".not":""}.toHaveValue`,"element",t);return Ae(this,l,`Expected the element ${i} have value`,n?o:"(any)","Received",a)}}}function of(e,t){ie(e,of,this);let r=e.tagName.toLowerCase();if(!["select","input","textarea"].includes(r))throw new Error(".toHaveDisplayValue() currently supports only input, textarea or select elements, try with another matcher instead.");if(r==="input"&&["radio","checkbox"].includes(e.type))throw new Error(`.toHaveDisplayValue() currently does not support input[type="${e.type}"], try with another matcher instead.`);let n=HO(r,e),o=UO(t),a=o.filter(u=>n.some(c=>u instanceof RegExp?u.test(c):this.equals(c,String(u)))).length,i=a===n.length,l=a===o.length;return{pass:i&&l,message:()=>Ae(this,this.utils.matcherHint(`${this.isNot?".not":""}.toHaveDisplayValue`,"element",""),`Expected element ${this.isNot?"not ":""}to have display value`,t,"Received",n)}}function HO(e,t){return e==="select"?Array.from(t).filter(r=>r.selected).map(r=>r.textContent):[t.value]}function UO(e){return e instanceof Array?e:[e]}function af(e){ie(e,af,this);let t=()=>e.tagName.toLowerCase()==="input"&&["checkbox","radio"].includes(e.type),r=()=>lf(e.getAttribute("role"))&&["true","false"].includes(e.getAttribute("aria-checked"));if(!t()&&!r())return{pass:!1,message:()=>`only inputs with type="checkbox" or type="radio" or elements with ${VO()} and a valid aria-checked attribute can be used with .toBeChecked(). Use .toHaveValue() instead`};let n=()=>t()?e.checked:e.getAttribute("aria-checked")==="true";return{pass:n(),message:()=>{let o=n()?"is":"is not";return[this.utils.matcherHint(`${this.isNot?".not":""}.toBeChecked`,"element",""),"",`Received element ${o} checked:`,` ${this.utils.printReceived(e.cloneNode(!1))}`].join(` -`)}}}function VO(){return uO(zO().map(e=>`role="${e}"`),{lastWordConnector:" or "})}function zO(){return Ql.roles.keys().filter(lf)}function lf(e){var t;return((t=Ql.roles.get(e))==null?void 0:t.props["aria-checked"])!==void 0}function sf(e){ie(e,sf,this);let t=()=>e.tagName.toLowerCase()==="input"&&e.type==="checkbox",r=()=>e.getAttribute("role")==="checkbox";if(!t()&&!r())return{pass:!1,message:()=>'only inputs with type="checkbox" or elements with role="checkbox" and a valid aria-checked attribute can be used with .toBePartiallyChecked(). Use .toHaveValue() instead'};let n=()=>{let o=e.getAttribute("aria-checked")==="mixed";return t()&&e.indeterminate||o};return{pass:n(),message:()=>{let o=n()?"is":"is not";return[this.utils.matcherHint(`${this.isNot?".not":""}.toBePartiallyChecked`,"element",""),"",`Received element ${o} partially checked:`,` ${this.utils.printReceived(e.cloneNode(!1))}`].join(` -`)}}}function uf(e,t){Mo("toHaveDescription","Please use toHaveAccessibleDescription."),ie(e,uf,this);let r=t!==void 0,n=(e.getAttribute("aria-describedby")||"").split(/\s+/).filter(Boolean),o="";if(n.length>0){let a=e.ownerDocument,i=n.map(l=>a.getElementById(l)).filter(Boolean);o=xo(i.map(l=>l.textContent).join(" "))}return{pass:r?t instanceof RegExp?t.test(o):this.equals(o,t):!!o,message:()=>{let a=this.isNot?"not to":"to";return Ae(this,this.utils.matcherHint(`${this.isNot?".not":""}.toHaveDescription`,"element",""),`Expected the element ${a} have description`,this.utils.printExpected(t),"Received",this.utils.printReceived(o))}}}function cf(e,t){if(Mo("toHaveErrorMessage","Please use toHaveAccessibleErrorMessage."),ie(e,cf,this),!e.hasAttribute("aria-invalid")||e.getAttribute("aria-invalid")==="false"){let a=this.isNot?".not":"";return{pass:!1,message:()=>Ae(this,this.utils.matcherHint(`${a}.toHaveErrorMessage`,"element",""),"Expected the element to have invalid state indicated by",'aria-invalid="true"',"Received",e.hasAttribute("aria-invalid")?`aria-invalid="${e.getAttribute("aria-invalid")}"`:this.utils.printReceived(""))}}let r=t!==void 0,n=(e.getAttribute("aria-errormessage")||"").split(/\s+/).filter(Boolean),o="";if(n.length>0){let a=e.ownerDocument,i=n.map(l=>a.getElementById(l)).filter(Boolean);o=xo(i.map(l=>l.textContent).join(" "))}return{pass:r?t instanceof RegExp?t.test(o):this.equals(o,t):!!o,message:()=>{let a=this.isNot?"not to":"to";return Ae(this,this.utils.matcherHint(`${this.isNot?".not":""}.toHaveErrorMessage`,"element",""),`Expected the element ${a} have error message`,this.utils.printExpected(t),"Received",this.utils.printReceived(o))}}}Fe(pp(),1);Fe(mp(),1);Fe(hp(),1);Fe(Pp(),1);Fe(Op(),1);function pt(e,t,r){let n=typeof e;if(!r.includes(n))throw new TypeError(`${t} value must be ${r.join(" or ")}, received "${n}"`)}function $n(e){return e!=null&&typeof e=="object"&&!Array.isArray(e)}function GO(e){return e===Object.prototype||e===Function.prototype||e===RegExp.prototype}function wi(e){return Object.prototype.toString.apply(e).slice(8,-1)}function WO(e,t){let r=typeof t=="function"?t:n=>t.add(n);Object.getOwnPropertyNames(e).forEach(r),Object.getOwnPropertySymbols(e).forEach(r)}function df(e){let t=new Set;return GO(e)?[]:(WO(e,t),Array.from(t))}var pf={forceWritable:!1};function Vu(e,t=pf){return Ci(e,new WeakMap,t)}function Ci(e,t,r=pf){let n,o;if(t.has(e))return t.get(e);if(Array.isArray(e)){for(o=Array(n=e.length),t.set(e,o);n--;)o[n]=Ci(e[n],t,r);return o}if(Object.prototype.toString.call(e)==="[object Object]"){o=Object.create(Object.getPrototypeOf(e)),t.set(e,o);let a=df(e);for(let i of a){let l=Object.getOwnPropertyDescriptor(e,i);if(!l)continue;let u=Ci(e[i],t,r);r.forceWritable?Object.defineProperty(o,i,{enumerable:l.enumerable,configurable:!0,writable:!0,value:u}):"get"in l?Object.defineProperty(o,i,{...l,get(){return u}}):Object.defineProperty(o,i,{...l,value:u})}return o}return e}var zu={bold:["1","22"],dim:["2","22"],italic:["3","23"],underline:["4","24"],inverse:["7","27"],hidden:["8","28"],strike:["9","29"],black:["30","39"],red:["31","39"],green:["32","39"],yellow:["33","39"],blue:["34","39"],magenta:["35","39"],cyan:["36","39"],white:["37","39"],brightblack:["30;1","39"],brightred:["31;1","39"],brightgreen:["32;1","39"],brightyellow:["33;1","39"],brightblue:["34;1","39"],brightmagenta:["35;1","39"],brightcyan:["36;1","39"],brightwhite:["37;1","39"],grey:["90","39"]},KO={special:"cyan",number:"yellow",bigint:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",symbol:"green",date:"magenta",regexp:"red"},_r="…";function YO(e,t){let r=zu[KO[t]]||zu[t]||"";return r?`\x1B[${r[0]}m${String(e)}\x1B[${r[1]}m`:String(e)}function JO({showHidden:e=!1,depth:t=2,colors:r=!1,customInspect:n=!0,showProxy:o=!1,maxArrayLength:a=1/0,breakLength:i=1/0,seen:l=[],truncate:u=1/0,stylize:c=String}={},s){let d={showHidden:!!e,depth:Number(t),colors:!!r,customInspect:!!n,showProxy:!!o,maxArrayLength:Number(a),breakLength:Number(i),truncate:Number(u),seen:l,inspect:s,stylize:c};return d.colors&&(d.stylize=YO),d}function XO(e){return e>="\uD800"&&e<="\uDBFF"}function kt(e,t,r=_r){e=String(e);let n=r.length,o=e.length;if(n>t&&o>n)return r;if(o>t&&o>n){let a=t-n;return a>0&&XO(e[a-1])&&(a=a-1),`${e.slice(0,a)}${r}`}return e}function tt(e,t,r,n=", "){r=r||t.inspect;let o=e.length;if(o===0)return"";let a=t.truncate,i="",l="",u="";for(let c=0;c<o;c+=1){let s=c+1===e.length,d=c+2===e.length;u=`${_r}(${e.length-c})`;let m=e[c];t.truncate=a-i.length-(s?0:n.length);let p=l||r(m,t)+(s?"":n),f=i.length+p.length,b=f+u.length;if(s&&f>a&&i.length+u.length<=a||!s&&!d&&b>a||(l=s?"":r(e[c+1],t)+(d?"":n),!s&&d&&b>a&&f+l.length>a))break;if(i+=p,!s&&!d&&f+l.length>=a){u=`${_r}(${e.length-c-1})`;break}u=""}return`${i}${u}`}function QO(e){return e.match(/^[a-zA-Z_][a-zA-Z_0-9]*$/)?e:JSON.stringify(e).replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'")}function Xr([e,t],r){return r.truncate-=2,typeof e=="string"?e=QO(e):typeof e!="number"&&(e=`[${r.inspect(e,r)}]`),r.truncate-=e.length,t=r.inspect(t,r),`${e}: ${t}`}function ZO(e,t){let r=Object.keys(e).slice(e.length);if(!e.length&&!r.length)return"[]";t.truncate-=4;let n=tt(e,t);t.truncate-=n.length;let o="";return r.length&&(o=tt(r.map(a=>[a,e[a]]),t,Xr)),`[ ${n}${o?`, ${o}`:""} ]`}var eT=e=>typeof Buffer=="function"&&e instanceof Buffer?"Buffer":e[Symbol.toStringTag]?e[Symbol.toStringTag]:e.constructor.name;function mt(e,t){let r=eT(e);t.truncate-=r.length+4;let n=Object.keys(e).slice(e.length);if(!e.length&&!n.length)return`${r}[]`;let o="";for(let i=0;i<e.length;i++){let l=`${t.stylize(kt(e[i],t.truncate),"number")}${i===e.length-1?"":", "}`;if(t.truncate-=l.length,e[i]!==e.length&&t.truncate<=3){o+=`${_r}(${e.length-e[i]+1})`;break}o+=l}let a="";return n.length&&(a=tt(n.map(i=>[i,e[i]]),t,Xr)),`${r}[ ${o}${a?`, ${a}`:""} ]`}function tT(e,t){let r=e.toJSON();if(r===null)return"Invalid Date";let n=r.split("T"),o=n[0];return t.stylize(`${o}T${kt(n[1],t.truncate-o.length-1)}`,"date")}function Gu(e,t){let r=e[Symbol.toStringTag]||"Function",n=e.name;return n?t.stylize(`[${r} ${kt(n,t.truncate-11)}]`,"special"):t.stylize(`[${r}]`,"special")}function rT([e,t],r){return r.truncate-=4,e=r.inspect(e,r),r.truncate-=e.length,t=r.inspect(t,r),`${e} => ${t}`}function nT(e){let t=[];return e.forEach((r,n)=>{t.push([n,r])}),t}function oT(e,t){return e.size-1<=0?"Map{}":(t.truncate-=7,`Map{ ${tt(nT(e),t,rT)} }`)}var aT=Number.isNaN||(e=>e!==e);function Wu(e,t){return aT(e)?t.stylize("NaN","number"):e===1/0?t.stylize("Infinity","number"):e===-1/0?t.stylize("-Infinity","number"):e===0?t.stylize(1/e===1/0?"+0":"-0","number"):t.stylize(kt(String(e),t.truncate),"number")}function Ku(e,t){let r=kt(e.toString(),t.truncate-1);return r!==_r&&(r+="n"),t.stylize(r,"bigint")}function iT(e,t){let r=e.toString().split("/")[2],n=t.truncate-(2+r.length),o=e.source;return t.stylize(`/${kt(o,n)}/${r}`,"regexp")}function lT(e){let t=[];return e.forEach(r=>{t.push(r)}),t}function sT(e,t){return e.size===0?"Set{}":(t.truncate-=7,`Set{ ${tt(lT(e),t)} }`)}var Yu=new RegExp("['\\u0000-\\u001f\\u007f-\\u009f\\u00ad\\u0600-\\u0604\\u070f\\u17b4\\u17b5\\u200c-\\u200f\\u2028-\\u202f\\u2060-\\u206f\\ufeff\\ufff0-\\uffff]","g"),uT={"\b":"\\b"," ":"\\t","\n":"\\n","\f":"\\f","\r":"\\r","'":"\\'","\\":"\\\\"},cT=16,dT=4;function pT(e){return uT[e]||`\\u${`0000${e.charCodeAt(0).toString(cT)}`.slice(-dT)}`}function Ju(e,t){return Yu.test(e)&&(e=e.replace(Yu,pT)),t.stylize(`'${kt(e,t.truncate-2)}'`,"string")}function Xu(e){return"description"in Symbol.prototype?e.description?`Symbol(${e.description})`:"Symbol()":e.toString()}var mf=()=>"Promise{…}";try{let{getPromiseDetails:e,kPending:t,kRejected:r}=process.binding("util");Array.isArray(e(Promise.resolve()))&&(mf=(n,o)=>{let[a,i]=e(n);return a===t?"Promise{<pending>}":`Promise${a===r?"!":""}{${o.inspect(i,o)}}`})}catch{}var mT=mf;function In(e,t){let r=Object.getOwnPropertyNames(e),n=Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e):[];if(r.length===0&&n.length===0)return"{}";if(t.truncate-=4,t.seen=t.seen||[],t.seen.includes(e))return"[Circular]";t.seen.push(e);let o=tt(r.map(l=>[l,e[l]]),t,Xr),a=tt(n.map(l=>[l,e[l]]),t,Xr);t.seen.pop();let i="";return o&&a&&(i=", "),`{ ${o}${i}${a} }`}var Aa=typeof Symbol<"u"&&Symbol.toStringTag?Symbol.toStringTag:!1;function fT(e,t){let r="";return Aa&&Aa in e&&(r=e[Aa]),r=r||e.constructor.name,(!r||r==="_class")&&(r="<Anonymous Class>"),t.truncate-=r.length,`${r}${In(e,t)}`}function hT(e,t){return e.length===0?"Arguments[]":(t.truncate-=13,`Arguments[ ${tt(e,t)} ]`)}var bT=["stack","line","column","name","message","fileName","lineNumber","columnNumber","number","description","cause"];function yT(e,t){let r=Object.getOwnPropertyNames(e).filter(i=>bT.indexOf(i)===-1),n=e.name;t.truncate-=n.length;let o="";if(typeof e.message=="string"?o=kt(e.message,t.truncate):r.unshift("message"),o=o?`: ${o}`:"",t.truncate-=o.length+5,t.seen=t.seen||[],t.seen.includes(e))return"[Circular]";t.seen.push(e);let a=tt(r.map(i=>[i,e[i]]),t,Xr);return`${n}${o}${a?` { ${a} }`:""}`}function gT([e,t],r){return r.truncate-=3,t?`${r.stylize(String(e),"yellow")}=${r.stylize(`"${t}"`,"string")}`:`${r.stylize(String(e),"yellow")}`}function qi(e,t){return tt(e,t,ff,` -`)}function ff(e,t){let r=e.getAttributeNames(),n=e.tagName.toLowerCase(),o=t.stylize(`<${n}`,"special"),a=t.stylize(">","special"),i=t.stylize(`</${n}>`,"special");t.truncate-=n.length*2+5;let l="";r.length>0&&(l+=" ",l+=tt(r.map(s=>[s,e.getAttribute(s)]),t,gT," ")),t.truncate-=l.length;let u=t.truncate,c=qi(e.children,t);return c&&c.length>u&&(c=`${_r}(${e.children.length})`),`${o}${l}${a}${c}${i}`}var vT=typeof Symbol=="function"&&typeof Symbol.for=="function",Ma=vT?Symbol.for("chai/inspect"):"@@chai/inspect",lr=!1;try{let e=E0("util");lr=e.inspect?e.inspect.custom:!1}catch{lr=!1}var Qu=new WeakMap,Zu={},ec={undefined:(e,t)=>t.stylize("undefined","undefined"),null:(e,t)=>t.stylize("null","null"),boolean:(e,t)=>t.stylize(String(e),"boolean"),Boolean:(e,t)=>t.stylize(String(e),"boolean"),number:Wu,Number:Wu,bigint:Ku,BigInt:Ku,string:Ju,String:Ju,function:Gu,Function:Gu,symbol:Xu,Symbol:Xu,Array:ZO,Date:tT,Map:oT,Set:sT,RegExp:iT,Promise:mT,WeakSet:(e,t)=>t.stylize("WeakSet{…}","special"),WeakMap:(e,t)=>t.stylize("WeakMap{…}","special"),Arguments:hT,Int8Array:mt,Uint8Array:mt,Uint8ClampedArray:mt,Int16Array:mt,Uint16Array:mt,Int32Array:mt,Uint32Array:mt,Float32Array:mt,Float64Array:mt,Generator:()=>"",DataView:()=>"",ArrayBuffer:()=>"",Error:yT,HTMLCollection:qi,NodeList:qi},_T=(e,t,r)=>Ma in e&&typeof e[Ma]=="function"?e[Ma](t):lr&&lr in e&&typeof e[lr]=="function"?e[lr](t.depth,t):"inspect"in e&&typeof e.inspect=="function"?e.inspect(t.depth,t):"constructor"in e&&Qu.has(e.constructor)?Qu.get(e.constructor)(e,t):Zu[r]?Zu[r](e,t):"",RT=Object.prototype.toString;function Ei(e,t={}){let r=JO(t,Ei),{customInspect:n}=r,o=e===null?"null":typeof e;if(o==="object"&&(o=RT.call(e).slice(8,-1)),o in ec)return ec[o](e,r);if(n&&e){let i=_T(e,r,o);if(i)return typeof i=="string"?i:Ei(i,r)}let a=e?Object.getPrototypeOf(e):!1;return a===Object.prototype||a===null?In(e,r):e&&typeof HTMLElement=="function"&&e instanceof HTMLElement?ff(e,r):"constructor"in e?e.constructor!==Object?fT(e,r):In(e,r):e===Object(e)?In(e,r):r.stylize(String(e),o)}var wT={reset:[0,0],bold:[1,22,"\x1B[22m\x1B[1m"],dim:[2,22,"\x1B[22m\x1B[2m"],italic:[3,23],underline:[4,24],inverse:[7,27],hidden:[8,28],strikethrough:[9,29],black:[30,39],red:[31,39],green:[32,39],yellow:[33,39],blue:[34,39],magenta:[35,39],cyan:[36,39],white:[37,39],gray:[90,39],bgBlack:[40,49],bgRed:[41,49],bgGreen:[42,49],bgYellow:[43,49],bgBlue:[44,49],bgMagenta:[45,49],bgCyan:[46,49],bgWhite:[47,49],blackBright:[90,39],redBright:[91,39],greenBright:[92,39],yellowBright:[93,39],blueBright:[94,39],magentaBright:[95,39],cyanBright:[96,39],whiteBright:[97,39],bgBlackBright:[100,49],bgRedBright:[101,49],bgGreenBright:[102,49],bgYellowBright:[103,49],bgBlueBright:[104,49],bgMagentaBright:[105,49],bgCyanBright:[106,49],bgWhiteBright:[107,49]},CT=Object.entries(wT);function Zl(e){return String(e)}Zl.open="";Zl.close="";function qT(e=!1){let t=typeof process<"u"?process:void 0,r=(t==null?void 0:t.env)||{},n=(t==null?void 0:t.argv)||[];return!("NO_COLOR"in r||n.includes("--no-color"))&&("FORCE_COLOR"in r||n.includes("--color")||(t==null?void 0:t.platform)==="win32"||e&&r.TERM!=="dumb"||"CI"in r)||typeof window<"u"&&!!window.chrome}function ET(e=!1){let t=qT(e),r=(i,l,u,c)=>{let s="",d=0;do s+=i.substring(d,c)+u,d=c+l.length,c=i.indexOf(l,d);while(~c);return s+i.substring(d)},n=(i,l,u=i)=>{let c=s=>{let d=String(s),m=d.indexOf(l,i.length);return~m?i+r(d,l,u,m)+l:i+d+l};return c.open=i,c.close=l,c},o={isColorSupported:t},a=i=>`\x1B[${i}m`;for(let[i,l]of CT)o[i]=t?n(a(l[0]),a(l[1]),l[2]):Zl;return o}var be=ET(!1);function PT(e,t){let r=Object.keys(e),n=t===null?r:r.sort(t);if(Object.getOwnPropertySymbols)for(let o of Object.getOwnPropertySymbols(e))Object.getOwnPropertyDescriptor(e,o).enumerable&&n.push(o);return n}function jo(e,t,r,n,o,a,i=": "){let l="",u=0,c=e.next();if(!c.done){l+=t.spacingOuter;let s=r+t.indent;for(;!c.done;){if(l+=s,u++===t.maxWidth){l+="…";break}let d=a(c.value[0],t,s,n,o),m=a(c.value[1],t,s,n,o);l+=d+i+m,c=e.next(),c.done?t.min||(l+=","):l+=`,${t.spacingInner}`}l+=t.spacingOuter+r}return l}function es(e,t,r,n,o,a){let i="",l=0,u=e.next();if(!u.done){i+=t.spacingOuter;let c=r+t.indent;for(;!u.done;){if(i+=c,l++===t.maxWidth){i+="…";break}i+=a(u.value,t,c,n,o),u=e.next(),u.done?t.min||(i+=","):i+=`,${t.spacingInner}`}i+=t.spacingOuter+r}return i}function Xn(e,t,r,n,o,a){let i="";e=e instanceof ArrayBuffer?new DataView(e):e;let l=c=>c instanceof DataView,u=l(e)?e.byteLength:e.length;if(u>0){i+=t.spacingOuter;let c=r+t.indent;for(let s=0;s<u;s++){if(i+=c,s===t.maxWidth){i+="…";break}(l(e)||s in e)&&(i+=a(l(e)?e.getInt8(s):e[s],t,c,n,o)),s<u-1?i+=`,${t.spacingInner}`:t.min||(i+=",")}i+=t.spacingOuter+r}return i}function ts(e,t,r,n,o,a){let i="",l=PT(e,t.compareKeys);if(l.length>0){i+=t.spacingOuter;let u=r+t.indent;for(let c=0;c<l.length;c++){let s=l[c],d=a(s,t,u,n,o),m=a(e[s],t,u,n,o);i+=`${u+d}: ${m}`,c<l.length-1?i+=`,${t.spacingInner}`:t.min||(i+=",")}i+=t.spacingOuter+r}return i}var OT=typeof Symbol=="function"&&Symbol.for?Symbol.for("jest.asymmetricMatcher"):1267621,xa=" ",TT=(e,t,r,n,o,a)=>{let i=e.toString();if(i==="ArrayContaining"||i==="ArrayNotContaining")return++n>t.maxDepth?`[${i}]`:`${i+xa}[${Xn(e.sample,t,r,n,o,a)}]`;if(i==="ObjectContaining"||i==="ObjectNotContaining")return++n>t.maxDepth?`[${i}]`:`${i+xa}{${ts(e.sample,t,r,n,o,a)}}`;if(i==="StringMatching"||i==="StringNotMatching"||i==="StringContaining"||i==="StringNotContaining")return i+xa+a(e.sample,t,r,n,o);if(typeof e.toAsymmetricMatcher!="function")throw new TypeError(`Asymmetric matcher ${e.constructor.name} does not implement toAsymmetricMatcher()`);return e.toAsymmetricMatcher()},ST=e=>e&&e.$$typeof===OT,AT={serialize:TT,test:ST},MT=" ",hf=new Set(["DOMStringMap","NamedNodeMap"]),xT=/^(?:HTML\w*Collection|NodeList)$/;function jT(e){return hf.has(e)||xT.test(e)}var NT=e=>e&&e.constructor&&!!e.constructor.name&&jT(e.constructor.name);function $T(e){return e.constructor.name==="NamedNodeMap"}var IT=(e,t,r,n,o,a)=>{let i=e.constructor.name;return++n>t.maxDepth?`[${i}]`:(t.min?"":i+MT)+(hf.has(i)?`{${ts($T(e)?[...e].reduce((l,u)=>(l[u.name]=u.value,l),{}):{...e},t,r,n,o,a)}}`:`[${Xn([...e],t,r,n,o,a)}]`)},BT={serialize:IT,test:NT};function bf(e){return e.replaceAll("<","<").replaceAll(">",">")}function rs(e,t,r,n,o,a,i){let l=n+r.indent,u=r.colors;return e.map(c=>{let s=t[c],d=i(s,r,l,o,a);return typeof s!="string"&&(d.includes(` -`)&&(d=r.spacingOuter+l+d+r.spacingOuter+n),d=`{${d}}`),`${r.spacingInner+n+u.prop.open+c+u.prop.close}=${u.value.open}${d}${u.value.close}`}).join("")}function ns(e,t,r,n,o,a){return e.map(i=>t.spacingOuter+r+(typeof i=="string"?yf(i,t):a(i,t,r,n,o))).join("")}function yf(e,t){let r=t.colors.content;return r.open+bf(e)+r.close}function kT(e,t){let r=t.colors.comment;return`${r.open}<!--${bf(e)}-->${r.close}`}function os(e,t,r,n,o){let a=n.colors.tag;return`${a.open}<${e}${t&&a.close+t+n.spacingOuter+o+a.open}${r?`>${a.close}${r}${n.spacingOuter}${o}${a.open}</${e}`:`${t&&!n.min?"":" "}/`}>${a.close}`}function as(e,t){let r=t.colors.tag;return`${r.open}<${e}${r.close} …${r.open} />${r.close}`}var LT=1,gf=3,vf=8,_f=11,DT=/^(?:(?:HTML|SVG)\w*)?Element$/;function FT(e){try{return typeof e.hasAttribute=="function"&&e.hasAttribute("is")}catch{return!1}}function HT(e){let t=e.constructor.name,{nodeType:r,tagName:n}=e,o=typeof n=="string"&&n.includes("-")||FT(e);return r===LT&&(DT.test(t)||o)||r===gf&&t==="Text"||r===vf&&t==="Comment"||r===_f&&t==="DocumentFragment"}var UT=e=>{var t;return((t=e==null?void 0:e.constructor)==null?void 0:t.name)&&HT(e)};function VT(e){return e.nodeType===gf}function zT(e){return e.nodeType===vf}function ja(e){return e.nodeType===_f}var GT=(e,t,r,n,o,a)=>{if(VT(e))return yf(e.data,t);if(zT(e))return kT(e.data,t);let i=ja(e)?"DocumentFragment":e.tagName.toLowerCase();return++n>t.maxDepth?as(i,t):os(i,rs(ja(e)?[]:Array.from(e.attributes,l=>l.name).sort(),ja(e)?{}:[...e.attributes].reduce((l,u)=>(l[u.name]=u.value,l),{}),t,r+t.indent,n,o,a),ns(Array.prototype.slice.call(e.childNodes||e.children),t,r+t.indent,n,o,a),t,r)},WT={serialize:GT,test:UT},KT="@@__IMMUTABLE_ITERABLE__@@",YT="@@__IMMUTABLE_LIST__@@",JT="@@__IMMUTABLE_KEYED__@@",XT="@@__IMMUTABLE_MAP__@@",tc="@@__IMMUTABLE_ORDERED__@@",QT="@@__IMMUTABLE_RECORD__@@",ZT="@@__IMMUTABLE_SEQ__@@",eS="@@__IMMUTABLE_SET__@@",tS="@@__IMMUTABLE_STACK__@@",Rr=e=>`Immutable.${e}`,No=e=>`[${e}]`,Qr=" ",rc="…";function rS(e,t,r,n,o,a,i){return++n>t.maxDepth?No(Rr(i)):`${Rr(i)+Qr}{${jo(e.entries(),t,r,n,o,a)}}`}function nS(e){let t=0;return{next(){if(t<e._keys.length){let r=e._keys[t++];return{done:!1,value:[r,e.get(r)]}}return{done:!0,value:void 0}}}}function oS(e,t,r,n,o,a){let i=Rr(e._name||"Record");return++n>t.maxDepth?No(i):`${i+Qr}{${jo(nS(e),t,r,n,o,a)}}`}function aS(e,t,r,n,o,a){let i=Rr("Seq");return++n>t.maxDepth?No(i):e[JT]?`${i+Qr}{${e._iter||e._object?jo(e.entries(),t,r,n,o,a):rc}}`:`${i+Qr}[${e._iter||e._array||e._collection||e._iterable?es(e.values(),t,r,n,o,a):rc}]`}function Na(e,t,r,n,o,a,i){return++n>t.maxDepth?No(Rr(i)):`${Rr(i)+Qr}[${es(e.values(),t,r,n,o,a)}]`}var iS=(e,t,r,n,o,a)=>e[XT]?rS(e,t,r,n,o,a,e[tc]?"OrderedMap":"Map"):e[YT]?Na(e,t,r,n,o,a,"List"):e[eS]?Na(e,t,r,n,o,a,e[tc]?"OrderedSet":"Set"):e[tS]?Na(e,t,r,n,o,a,"Stack"):e[ZT]?aS(e,t,r,n,o,a):oS(e,t,r,n,o,a),lS=e=>e&&(e[KT]===!0||e[QT]===!0),sS={serialize:iS,test:lS},Rf={exports:{}},oe={},nc;function uS(){if(nc)return oe;nc=1;var e=Symbol.for("react.element"),t=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),n=Symbol.for("react.strict_mode"),o=Symbol.for("react.profiler"),a=Symbol.for("react.provider"),i=Symbol.for("react.context"),l=Symbol.for("react.server_context"),u=Symbol.for("react.forward_ref"),c=Symbol.for("react.suspense"),s=Symbol.for("react.suspense_list"),d=Symbol.for("react.memo"),m=Symbol.for("react.lazy"),p=Symbol.for("react.offscreen"),f;f=Symbol.for("react.module.reference");function b(h){if(typeof h=="object"&&h!==null){var y=h.$$typeof;switch(y){case e:switch(h=h.type,h){case r:case o:case n:case c:case s:return h;default:switch(h=h&&h.$$typeof,h){case l:case i:case u:case m:case d:case a:return h;default:return y}}case t:return y}}}return oe.ContextConsumer=i,oe.ContextProvider=a,oe.Element=e,oe.ForwardRef=u,oe.Fragment=r,oe.Lazy=m,oe.Memo=d,oe.Portal=t,oe.Profiler=o,oe.StrictMode=n,oe.Suspense=c,oe.SuspenseList=s,oe.isAsyncMode=function(){return!1},oe.isConcurrentMode=function(){return!1},oe.isContextConsumer=function(h){return b(h)===i},oe.isContextProvider=function(h){return b(h)===a},oe.isElement=function(h){return typeof h=="object"&&h!==null&&h.$$typeof===e},oe.isForwardRef=function(h){return b(h)===u},oe.isFragment=function(h){return b(h)===r},oe.isLazy=function(h){return b(h)===m},oe.isMemo=function(h){return b(h)===d},oe.isPortal=function(h){return b(h)===t},oe.isProfiler=function(h){return b(h)===o},oe.isStrictMode=function(h){return b(h)===n},oe.isSuspense=function(h){return b(h)===c},oe.isSuspenseList=function(h){return b(h)===s},oe.isValidElementType=function(h){return typeof h=="string"||typeof h=="function"||h===r||h===o||h===n||h===c||h===s||h===p||typeof h=="object"&&h!==null&&(h.$$typeof===m||h.$$typeof===d||h.$$typeof===a||h.$$typeof===i||h.$$typeof===u||h.$$typeof===f||h.getModuleId!==void 0)},oe.typeOf=b,oe}Rf.exports=uS();var Ht=Rf.exports;function wf(e,t=[]){if(Array.isArray(e))for(let r of e)wf(r,t);else e!=null&&e!==!1&&e!==""&&t.push(e);return t}function oc(e){let t=e.type;if(typeof t=="string")return t;if(typeof t=="function")return t.displayName||t.name||"Unknown";if(Ht.isFragment(e))return"React.Fragment";if(Ht.isSuspense(e))return"React.Suspense";if(typeof t=="object"&&t!==null){if(Ht.isContextProvider(e))return"Context.Provider";if(Ht.isContextConsumer(e))return"Context.Consumer";if(Ht.isForwardRef(e)){if(t.displayName)return t.displayName;let r=t.render.displayName||t.render.name||"";return r===""?"ForwardRef":`ForwardRef(${r})`}if(Ht.isMemo(e)){let r=t.displayName||t.type.displayName||t.type.name||"";return r===""?"Memo":`Memo(${r})`}}return"UNDEFINED"}function cS(e){let{props:t}=e;return Object.keys(t).filter(r=>r!=="children"&&t[r]!==void 0).sort()}var dS=(e,t,r,n,o,a)=>++n>t.maxDepth?as(oc(e),t):os(oc(e),rs(cS(e),e.props,t,r+t.indent,n,o,a),ns(wf(e.props.children),t,r+t.indent,n,o,a),t,r),pS=e=>e!=null&&Ht.isElement(e),mS={serialize:dS,test:pS},fS=typeof Symbol=="function"&&Symbol.for?Symbol.for("react.test.json"):245830487;function hS(e){let{props:t}=e;return t?Object.keys(t).filter(r=>t[r]!==void 0).sort():[]}var bS=(e,t,r,n,o,a)=>++n>t.maxDepth?as(e.type,t):os(e.type,e.props?rs(hS(e),e.props,t,r+t.indent,n,o,a):"",e.children?ns(e.children,t,r+t.indent,n,o,a):"",t,r),yS=e=>e&&e.$$typeof===fS,gS={serialize:bS,test:yS},Cf=Object.prototype.toString,vS=Date.prototype.toISOString,_S=Error.prototype.toString,ac=RegExp.prototype.toString;function $a(e){return typeof e.constructor=="function"&&e.constructor.name||"Object"}function RS(e){return typeof window<"u"&&e===window}var wS=/^Symbol\((.*)\)(.*)$/,CS=/\n/g,qf=class extends Error{constructor(e,t){super(e),this.stack=t,this.name=this.constructor.name}};function qS(e){return e==="[object Array]"||e==="[object ArrayBuffer]"||e==="[object DataView]"||e==="[object Float32Array]"||e==="[object Float64Array]"||e==="[object Int8Array]"||e==="[object Int16Array]"||e==="[object Int32Array]"||e==="[object Uint8Array]"||e==="[object Uint8ClampedArray]"||e==="[object Uint16Array]"||e==="[object Uint32Array]"}function ES(e){return Object.is(e,-0)?"-0":String(e)}function PS(e){return`${e}n`}function ic(e,t){return t?`[Function ${e.name||"anonymous"}]`:"[Function]"}function lc(e){return String(e).replace(wS,"Symbol($1)")}function sc(e){return`[${_S.call(e)}]`}function Ef(e,t,r,n){if(e===!0||e===!1)return`${e}`;if(e===void 0)return"undefined";if(e===null)return"null";let o=typeof e;if(o==="number")return ES(e);if(o==="bigint")return PS(e);if(o==="string")return n?`"${e.replaceAll(/"|\\/g,"\\$&")}"`:`"${e}"`;if(o==="function")return ic(e,t);if(o==="symbol")return lc(e);let a=Cf.call(e);return a==="[object WeakMap]"?"WeakMap {}":a==="[object WeakSet]"?"WeakSet {}":a==="[object Function]"||a==="[object GeneratorFunction]"?ic(e,t):a==="[object Symbol]"?lc(e):a==="[object Date]"?Number.isNaN(+e)?"Date { NaN }":vS.call(e):a==="[object Error]"?sc(e):a==="[object RegExp]"?r?ac.call(e).replaceAll(/[$()*+.?[\\\]^{|}]/g,"\\$&"):ac.call(e):e instanceof Error?sc(e):null}function Pf(e,t,r,n,o,a){if(o.includes(e))return"[Circular]";o=[...o],o.push(e);let i=++n>t.maxDepth,l=t.min;if(t.callToJSON&&!i&&e.toJSON&&typeof e.toJSON=="function"&&!a)return At(e.toJSON(),t,r,n,o,!0);let u=Cf.call(e);return u==="[object Arguments]"?i?"[Arguments]":`${l?"":"Arguments "}[${Xn(e,t,r,n,o,At)}]`:qS(u)?i?`[${e.constructor.name}]`:`${l||!t.printBasicPrototype&&e.constructor.name==="Array"?"":`${e.constructor.name} `}[${Xn(e,t,r,n,o,At)}]`:u==="[object Map]"?i?"[Map]":`Map {${jo(e.entries(),t,r,n,o,At," => ")}}`:u==="[object Set]"?i?"[Set]":`Set {${es(e.values(),t,r,n,o,At)}}`:i||RS(e)?`[${$a(e)}]`:`${l||!t.printBasicPrototype&&$a(e)==="Object"?"":`${$a(e)} `}{${ts(e,t,r,n,o,At)}}`}function OS(e){return e.serialize!=null}function Of(e,t,r,n,o,a){let i;try{i=OS(e)?e.serialize(t,r,n,o,a,At):e.print(t,l=>At(l,r,n,o,a),l=>{let u=n+r.indent;return u+l.replaceAll(CS,` -${u}`)},{edgeSpacing:r.spacingOuter,min:r.min,spacing:r.spacingInner},r.colors)}catch(l){throw new qf(l.message,l.stack)}if(typeof i!="string")throw new TypeError(`pretty-format: Plugin must return type "string" but instead returned "${typeof i}".`);return i}function Tf(e,t){for(let r of e)try{if(r.test(t))return r}catch(n){throw new qf(n.message,n.stack)}return null}function At(e,t,r,n,o,a){let i=Tf(t.plugins,e);if(i!==null)return Of(i,e,t,r,n,o);let l=Ef(e,t.printFunctionName,t.escapeRegex,t.escapeString);return l!==null?l:Pf(e,t,r,n,o,a)}var is={comment:"gray",content:"reset",prop:"yellow",tag:"cyan",value:"green"},Sf=Object.keys(is),Ye={callToJSON:!0,compareKeys:void 0,escapeRegex:!1,escapeString:!0,highlight:!1,indent:2,maxDepth:Number.POSITIVE_INFINITY,maxWidth:Number.POSITIVE_INFINITY,min:!1,plugins:[],printBasicPrototype:!0,printFunctionName:!0,theme:is};function TS(e){for(let t of Object.keys(e))if(!Object.prototype.hasOwnProperty.call(Ye,t))throw new Error(`pretty-format: Unknown option "${t}".`);if(e.min&&e.indent!==void 0&&e.indent!==0)throw new Error('pretty-format: Options "min" and "indent" cannot be used together.')}function SS(){return Sf.reduce((e,t)=>{let r=is[t],n=r&&be[r];if(n&&typeof n.close=="string"&&typeof n.open=="string")e[t]=n;else throw new Error(`pretty-format: Option "theme" has a key "${t}" whose value "${r}" is undefined in ansi-styles.`);return e},Object.create(null))}function AS(){return Sf.reduce((e,t)=>(e[t]={close:"",open:""},e),Object.create(null))}function Af(e){return(e==null?void 0:e.printFunctionName)??Ye.printFunctionName}function Mf(e){return(e==null?void 0:e.escapeRegex)??Ye.escapeRegex}function xf(e){return(e==null?void 0:e.escapeString)??Ye.escapeString}function uc(e){return{callToJSON:(e==null?void 0:e.callToJSON)??Ye.callToJSON,colors:e!=null&&e.highlight?SS():AS(),compareKeys:typeof(e==null?void 0:e.compareKeys)=="function"||(e==null?void 0:e.compareKeys)===null?e.compareKeys:Ye.compareKeys,escapeRegex:Mf(e),escapeString:xf(e),indent:e!=null&&e.min?"":MS((e==null?void 0:e.indent)??Ye.indent),maxDepth:(e==null?void 0:e.maxDepth)??Ye.maxDepth,maxWidth:(e==null?void 0:e.maxWidth)??Ye.maxWidth,min:(e==null?void 0:e.min)??Ye.min,plugins:(e==null?void 0:e.plugins)??Ye.plugins,printBasicPrototype:(e==null?void 0:e.printBasicPrototype)??!0,printFunctionName:Af(e),spacingInner:e!=null&&e.min?" ":` -`,spacingOuter:e!=null&&e.min?"":` -`}}function MS(e){return Array.from({length:e+1}).join(" ")}function at(e,t){if(t&&(TS(t),t.plugins)){let n=Tf(t.plugins,e);if(n!==null)return Of(n,e,uc(t),"",0,[])}let r=Ef(e,Af(t),Mf(t),xf(t));return r!==null?r:Pf(e,uc(t),"",0,[])}var jf={AsymmetricMatcher:AT,DOMCollection:BT,DOMElement:WT,Immutable:sS,ReactElement:mS,ReactTestComponent:gS},{AsymmetricMatcher:xS,DOMCollection:jS,DOMElement:NS,Immutable:$S,ReactElement:IS,ReactTestComponent:BS}=jf,cc=[BS,IS,NS,jS,$S,xS];function Ge(e,t=10,{maxLength:r,...n}={}){let o=r??1e4,a;try{a=at(e,{maxDepth:t,escapeString:!1,plugins:cc,...n})}catch{a=at(e,{callToJSON:!1,maxDepth:t,escapeString:!1,plugins:cc,...n})}return a.length>=o&&t>1?Ge(e,Math.floor(t/2)):a}var kS=/%[sdjifoOc%]/g;function LS(...e){if(typeof e[0]!="string"){let a=[];for(let i=0;i<e.length;i++)a.push(Br(e[i],{depth:0,colors:!1}));return a.join(" ")}let t=e.length,r=1,n=e[0],o=String(n).replace(kS,a=>{if(a==="%%")return"%";if(r>=t)return a;switch(a){case"%s":{let i=e[r++];return typeof i=="bigint"?`${i.toString()}n`:typeof i=="number"&&i===0&&1/i<0?"-0":typeof i=="object"&&i!==null?Br(i,{depth:0,colors:!1}):String(i)}case"%d":{let i=e[r++];return typeof i=="bigint"?`${i.toString()}n`:Number(i).toString()}case"%i":{let i=e[r++];return typeof i=="bigint"?`${i.toString()}n`:Number.parseInt(String(i)).toString()}case"%f":return Number.parseFloat(String(e[r++])).toString();case"%o":return Br(e[r++],{showHidden:!0,showProxy:!0});case"%O":return Br(e[r++]);case"%c":return r++,"";case"%j":try{return JSON.stringify(e[r++])}catch(i){let l=i.message;if(l.includes("circular structure")||l.includes("cyclic structures")||l.includes("cyclic object"))return"[Circular]";throw i}default:return a}});for(let a=e[r];r<t;a=e[++r])a===null||typeof a!="object"?o+=` ${a}`:o+=` ${Br(a)}`;return o}function Br(e,t={}){return t.truncate===0&&(t.truncate=Number.POSITIVE_INFINITY),Ei(e,t)}var Nf;Nf=/\r?\n|[\r\u2028\u2029]/y;RegExp(Nf.source);var $f={keyword:["break","case","catch","continue","debugger","default","do","else","finally","for","function","if","return","switch","throw","try","var","const","while","with","new","this","super","class","extends","export","import","null","true","false","in","instanceof","typeof","void","delete"],strict:["implements","interface","let","package","private","protected","public","static","yield"]};new Set($f.keyword);new Set($f.strict);function dc(e){if(e===void 0)return"undefined";if(e===null)return"null";if(Array.isArray(e))return"array";if(typeof e=="boolean")return"boolean";if(typeof e=="function")return"function";if(typeof e=="number")return"number";if(typeof e=="string")return"string";if(typeof e=="bigint")return"bigint";if(typeof e=="object"){if(e!=null){if(e.constructor===RegExp)return"regexp";if(e.constructor===Map)return"map";if(e.constructor===Set)return"set";if(e.constructor===Date)return"date"}return"object"}else if(typeof e=="symbol")return"symbol";throw new Error(`value of unknown type: ${e}`)}var Me=-1,Oe=1,ge=0,fe=class{constructor(e,t){he(this,0);he(this,1);this[0]=e,this[1]=t}},DS=function(e,t){if(!e||!t||e.charAt(0)!==t.charAt(0))return 0;let r=0,n=Math.min(e.length,t.length),o=n,a=0;for(;r<o;)e.substring(a,o)===t.substring(a,o)?(r=o,a=r):n=o,o=Math.floor((n-r)/2+r);return o},If=function(e,t){if(!e||!t||e.charAt(e.length-1)!==t.charAt(t.length-1))return 0;let r=0,n=Math.min(e.length,t.length),o=n,a=0;for(;r<o;)e.substring(e.length-o,e.length-a)===t.substring(t.length-o,t.length-a)?(r=o,a=r):n=o,o=Math.floor((n-r)/2+r);return o},pc=function(e,t){let r=e.length,n=t.length;if(r===0||n===0)return 0;r>n?e=e.substring(r-n):r<n&&(t=t.substring(0,r));let o=Math.min(r,n);if(e===t)return o;let a=0,i=1;for(;;){let l=e.substring(o-i),u=t.indexOf(l);if(u===-1)return a;i+=u,(u===0||e.substring(o-i)===t.substring(0,i))&&(a=i,i++)}},FS=function(e){let t=!1,r=[],n=0,o=null,a=0,i=0,l=0,u=0,c=0;for(;a<e.length;)e[a][0]===ge?(r[n++]=a,i=u,l=c,u=0,c=0,o=e[a][1]):(e[a][0]===Oe?u+=e[a][1].length:c+=e[a][1].length,o&&o.length<=Math.max(i,l)&&o.length<=Math.max(u,c)&&(e.splice(r[n-1],0,new fe(Me,o)),e[r[n-1]+1][0]=Oe,n--,n--,a=n>0?r[n-1]:-1,i=0,l=0,u=0,c=0,o=null,t=!0)),a++;for(t&&Bf(e),VS(e),a=1;a<e.length;){if(e[a-1][0]===Me&&e[a][0]===Oe){let s=e[a-1][1],d=e[a][1],m=pc(s,d),p=pc(d,s);m>=p?(m>=s.length/2||m>=d.length/2)&&(e.splice(a,0,new fe(ge,d.substring(0,m))),e[a-1][1]=s.substring(0,s.length-m),e[a+1][1]=d.substring(m),a++):(p>=s.length/2||p>=d.length/2)&&(e.splice(a,0,new fe(ge,s.substring(0,p))),e[a-1][0]=Oe,e[a-1][1]=d.substring(0,d.length-p),e[a+1][0]=Me,e[a+1][1]=s.substring(p),a++),a++}a++}},mc=/[^a-z0-9]/i,fc=/\s/,hc=/[\r\n]/,HS=/\n\r?\n$/,US=/^\r?\n\r?\n/;function VS(e){function t(n,o){if(!n||!o)return 6;let a=n.charAt(n.length-1),i=o.charAt(0),l=a.match(mc),u=i.match(mc),c=l&&a.match(fc),s=u&&i.match(fc),d=c&&a.match(hc),m=s&&i.match(hc),p=d&&n.match(HS),f=m&&o.match(US);return p||f?5:d||m?4:l&&!c&&s?3:c||s?2:l||u?1:0}let r=1;for(;r<e.length-1;){if(e[r-1][0]===ge&&e[r+1][0]===ge){let n=e[r-1][1],o=e[r][1],a=e[r+1][1],i=If(n,o);if(i){let d=o.substring(o.length-i);n=n.substring(0,n.length-i),o=d+o.substring(0,o.length-i),a=d+a}let l=n,u=o,c=a,s=t(n,o)+t(o,a);for(;o.charAt(0)===a.charAt(0);){n+=o.charAt(0),o=o.substring(1)+a.charAt(0),a=a.substring(1);let d=t(n,o)+t(o,a);d>=s&&(s=d,l=n,u=o,c=a)}e[r-1][1]!==l&&(l?e[r-1][1]=l:(e.splice(r-1,1),r--),e[r][1]=u,c?e[r+1][1]=c:(e.splice(r+1,1),r--))}r++}}function Bf(e){e.push(new fe(ge,""));let t=0,r=0,n=0,o="",a="",i;for(;t<e.length;)switch(e[t][0]){case Oe:n++,a+=e[t][1],t++;break;case Me:r++,o+=e[t][1],t++;break;case ge:r+n>1?(r!==0&&n!==0&&(i=DS(a,o),i!==0&&(t-r-n>0&&e[t-r-n-1][0]===ge?e[t-r-n-1][1]+=a.substring(0,i):(e.splice(0,0,new fe(ge,a.substring(0,i))),t++),a=a.substring(i),o=o.substring(i)),i=If(a,o),i!==0&&(e[t][1]=a.substring(a.length-i)+e[t][1],a=a.substring(0,a.length-i),o=o.substring(0,o.length-i))),t-=r+n,e.splice(t,r+n),o.length&&(e.splice(t,0,new fe(Me,o)),t++),a.length&&(e.splice(t,0,new fe(Oe,a)),t++),t++):t!==0&&e[t-1][0]===ge?(e[t-1][1]+=e[t][1],e.splice(t,1)):t++,n=0,r=0,o="",a="";break}e[e.length-1][1]===""&&e.pop();let l=!1;for(t=1;t<e.length-1;)e[t-1][0]===ge&&e[t+1][0]===ge&&(e[t][1].substring(e[t][1].length-e[t-1][1].length)===e[t-1][1]?(e[t][1]=e[t-1][1]+e[t][1].substring(0,e[t][1].length-e[t-1][1].length),e[t+1][1]=e[t-1][1]+e[t+1][1],e.splice(t-1,1),l=!0):e[t][1].substring(0,e[t+1][1].length)===e[t+1][1]&&(e[t-1][1]+=e[t+1][1],e[t][1]=e[t][1].substring(e[t+1][1].length)+e[t+1][1],e.splice(t+1,1),l=!0)),t++;l&&Bf(e)}var kf="Compared values have no visual difference.",zS="Compared values serialize to the same structure.\nPrinting internal object structure without calling `toJSON` instead.",Lf={};Object.defineProperty(Lf,"__esModule",{value:!0});var Df=Lf.default=YS,Ur="diff-sequences",Te=0,Zr=(e,t,r,n,o)=>{let a=0;for(;e<t&&r<n&&o(e,r);)e+=1,r+=1,a+=1;return a},en=(e,t,r,n,o)=>{let a=0;for(;e<=t&&r<=n&&o(t,n);)t-=1,n-=1,a+=1;return a},Ia=(e,t,r,n,o,a,i)=>{let l=0,u=-e,c=a[l],s=c;a[l]+=Zr(c+1,t,n+c-u+1,r,o);let d=e<i?e:i;for(l+=1,u+=2;l<=d;l+=1,u+=2){if(l!==e&&s<a[l])c=a[l];else if(c=s+1,t<=c)return l-1;s=a[l],a[l]=c+Zr(c+1,t,n+c-u+1,r,o)}return i},bc=(e,t,r,n,o,a,i)=>{let l=0,u=e,c=a[l],s=c;a[l]-=en(t,c-1,r,n+c-u-1,o);let d=e<i?e:i;for(l+=1,u-=2;l<=d;l+=1,u-=2){if(l!==e&&a[l]<s)c=a[l];else if(c=s-1,c<t)return l-1;s=a[l],a[l]=c-en(t,c-1,r,n+c-u-1,o)}return i},GS=(e,t,r,n,o,a,i,l,u,c,s)=>{let d=n-t,m=r-t,p=o-n-m,f=-p-(e-1),b=-p+(e-1),h=Te,y=e<l?e:l;for(let g=0,E=-e;g<=y;g+=1,E+=2){let C=g===0||g!==e&&h<i[g],q=C?i[g]:h,_=C?q:q+1,v=d+_-E,w=Zr(_+1,r,v+1,o,a),P=_+w;if(h=i[g],i[g]=P,f<=E&&E<=b){let j=(e-1-(E+p))/2;if(j<=c&&u[j]-1<=P){let $=d+q-(C?E+1:E-1),B=en(t,q,n,$,a),I=q-B,A=$-B,k=I+1,U=A+1;s.nChangePreceding=e-1,e-1===k+U-t-n?(s.aEndPreceding=t,s.bEndPreceding=n):(s.aEndPreceding=k,s.bEndPreceding=U),s.nCommonPreceding=B,B!==0&&(s.aCommonPreceding=k,s.bCommonPreceding=U),s.nCommonFollowing=w,w!==0&&(s.aCommonFollowing=_+1,s.bCommonFollowing=v+1);let W=P+1,G=v+w+1;return s.nChangeFollowing=e-1,e-1===r+o-W-G?(s.aStartFollowing=r,s.bStartFollowing=o):(s.aStartFollowing=W,s.bStartFollowing=G),!0}}}return!1},WS=(e,t,r,n,o,a,i,l,u,c,s)=>{let d=o-r,m=r-t,p=o-n-m,f=p-e,b=p+e,h=Te,y=e<c?e:c;for(let g=0,E=e;g<=y;g+=1,E-=2){let C=g===0||g!==e&&u[g]<h,q=C?u[g]:h,_=C?q:q-1,v=d+_-E,w=en(t,_-1,n,v-1,a),P=_-w;if(h=u[g],u[g]=P,f<=E&&E<=b){let j=(e+(E-p))/2;if(j<=l&&P-1<=i[j]){let $=v-w;if(s.nChangePreceding=e,e===P+$-t-n?(s.aEndPreceding=t,s.bEndPreceding=n):(s.aEndPreceding=P,s.bEndPreceding=$),s.nCommonPreceding=w,w!==0&&(s.aCommonPreceding=P,s.bCommonPreceding=$),s.nChangeFollowing=e-1,e===1)s.nCommonFollowing=0,s.aStartFollowing=r,s.bStartFollowing=o;else{let B=d+q-(C?E-1:E+1),I=Zr(q,r,B,o,a);s.nCommonFollowing=I,I!==0&&(s.aCommonFollowing=q,s.bCommonFollowing=B);let A=q+I,k=B+I;e-1===r+o-A-k?(s.aStartFollowing=r,s.bStartFollowing=o):(s.aStartFollowing=A,s.bStartFollowing=k)}return!0}}}return!1},KS=(e,t,r,n,o,a,i,l,u)=>{let c=n-t,s=o-r,d=r-t,m=o-n,p=m-d,f=d,b=d;if(i[0]=t-1,l[0]=r,p%2===0){let h=(e||p)/2,y=(d+m)/2;for(let g=1;g<=y;g+=1)if(f=Ia(g,r,o,c,a,i,f),g<h)b=bc(g,t,n,s,a,l,b);else if(WS(g,t,r,n,o,a,i,f,l,b,u))return}else{let h=((e||p)+1)/2,y=(d+m+1)/2,g=1;for(f=Ia(g,r,o,c,a,i,f),g+=1;g<=y;g+=1)if(b=bc(g-1,t,n,s,a,l,b),g<h)f=Ia(g,r,o,c,a,i,f);else if(GS(g,t,r,n,o,a,i,f,l,b,u))return}throw new Error(`${Ur}: no overlap aStart=${t} aEnd=${r} bStart=${n} bEnd=${o}`)},Pi=(e,t,r,n,o,a,i,l,u,c)=>{if(o-n<r-t){if(a=!a,a&&i.length===1){let{foundSubsequence:j,isCommon:$}=i[0];i[1]={foundSubsequence:(B,I,A)=>{j(B,A,I)},isCommon:(B,I)=>$(I,B)}}let w=t,P=r;t=n,r=o,n=w,o=P}let{foundSubsequence:s,isCommon:d}=i[a?1:0];KS(e,t,r,n,o,d,l,u,c);let{nChangePreceding:m,aEndPreceding:p,bEndPreceding:f,nCommonPreceding:b,aCommonPreceding:h,bCommonPreceding:y,nCommonFollowing:g,aCommonFollowing:E,bCommonFollowing:C,nChangeFollowing:q,aStartFollowing:_,bStartFollowing:v}=c;t<p&&n<f&&Pi(m,t,p,n,f,a,i,l,u,c),b!==0&&s(b,h,y),g!==0&&s(g,E,C),_<r&&v<o&&Pi(q,_,r,v,o,a,i,l,u,c)},yc=(e,t)=>{if(typeof t!="number")throw new TypeError(`${Ur}: ${e} typeof ${typeof t} is not a number`);if(!Number.isSafeInteger(t))throw new RangeError(`${Ur}: ${e} value ${t} is not a safe integer`);if(t<0)throw new RangeError(`${Ur}: ${e} value ${t} is a negative integer`)},gc=(e,t)=>{let r=typeof t;if(r!=="function")throw new TypeError(`${Ur}: ${e} typeof ${r} is not a function`)};function YS(e,t,r,n){yc("aLength",e),yc("bLength",t),gc("isCommon",r),gc("foundSubsequence",n);let o=Zr(0,e,0,t,r);if(o!==0&&n(o,0,0),e!==o||t!==o){let a=o,i=o,l=en(a,e-1,i,t-1,r),u=e-l,c=t-l,s=o+l;e!==s&&t!==s&&Pi(0,a,u,i,c,!1,[{foundSubsequence:n,isCommon:r}],[Te],[Te],{aCommonFollowing:Te,aCommonPreceding:Te,aEndPreceding:Te,aStartFollowing:Te,bCommonFollowing:Te,bCommonPreceding:Te,bEndPreceding:Te,bStartFollowing:Te,nChangeFollowing:Te,nChangePreceding:Te,nCommonFollowing:Te,nCommonPreceding:Te}),l!==0&&n(l,u,c)}}function JS(e,t){return e.replace(/\s+$/,r=>t(r))}function ls(e,t,r,n,o,a){return e.length!==0?r(`${n} ${JS(e,o)}`):n!==" "?r(n):t&&a.length!==0?r(`${n} ${a}`):""}function Ff(e,t,{aColor:r,aIndicator:n,changeLineTrailingSpaceColor:o,emptyFirstOrLastLinePlaceholder:a}){return ls(e,t,r,n,o,a)}function Hf(e,t,{bColor:r,bIndicator:n,changeLineTrailingSpaceColor:o,emptyFirstOrLastLinePlaceholder:a}){return ls(e,t,r,n,o,a)}function Uf(e,t,{commonColor:r,commonIndicator:n,commonLineTrailingSpaceColor:o,emptyFirstOrLastLinePlaceholder:a}){return ls(e,t,r,n,o,a)}function vc(e,t,r,n,{patchColor:o}){return o(`@@ -${e+1},${t-e} +${r+1},${n-r} @@`)}function XS(e,t){let r=e.length,n=t.contextLines,o=n+n,a=r,i=!1,l=0,u=0;for(;u!==r;){let C=u;for(;u!==r&&e[u][0]===ge;)u+=1;if(C!==u)if(C===0)u>n&&(a-=u-n,i=!0);else if(u===r){let q=u-C;q>n&&(a-=q-n,i=!0)}else{let q=u-C;q>o&&(a-=q-o,l+=1)}for(;u!==r&&e[u][0]!==ge;)u+=1}let c=l!==0||i;l!==0?a+=l+1:i&&(a+=1);let s=a-1,d=[],m=0;c&&d.push("");let p=0,f=0,b=0,h=0,y=C=>{let q=d.length;d.push(Uf(C,q===0||q===s,t)),b+=1,h+=1},g=C=>{let q=d.length;d.push(Ff(C,q===0||q===s,t)),b+=1},E=C=>{let q=d.length;d.push(Hf(C,q===0||q===s,t)),h+=1};for(u=0;u!==r;){let C=u;for(;u!==r&&e[u][0]===ge;)u+=1;if(C!==u)if(C===0){u>n&&(C=u-n,p=C,f=C,b=p,h=f);for(let q=C;q!==u;q+=1)y(e[q][1])}else if(u===r){let q=u-C>n?C+n:u;for(let _=C;_!==q;_+=1)y(e[_][1])}else{let q=u-C;if(q>o){let _=C+n;for(let w=C;w!==_;w+=1)y(e[w][1]);d[m]=vc(p,b,f,h,t),m=d.length,d.push("");let v=q-o;p=b+v,f=h+v,b=p,h=f;for(let w=u-n;w!==u;w+=1)y(e[w][1])}else for(let _=C;_!==u;_+=1)y(e[_][1])}for(;u!==r&&e[u][0]===Me;)g(e[u][1]),u+=1;for(;u!==r&&e[u][0]===Oe;)E(e[u][1]),u+=1}return c&&(d[m]=vc(p,b,f,h,t)),d.join(` -`)}function QS(e,t){return e.map((r,n,o)=>{let a=r[1],i=n===0||n===o.length-1;switch(r[0]){case Me:return Ff(a,i,t);case Oe:return Hf(a,i,t);default:return Uf(a,i,t)}}).join(` -`)}var Ba=e=>e,Vf=5,ZS=0;function eA(){return{aAnnotation:"Expected",aColor:be.green,aIndicator:"-",bAnnotation:"Received",bColor:be.red,bIndicator:"+",changeColor:be.inverse,changeLineTrailingSpaceColor:Ba,commonColor:be.dim,commonIndicator:" ",commonLineTrailingSpaceColor:Ba,compareKeys:void 0,contextLines:Vf,emptyFirstOrLastLinePlaceholder:"",expand:!0,includeChangeCounts:!1,omitAnnotationLines:!1,patchColor:be.yellow,truncateThreshold:ZS,truncateAnnotation:"... Diff result is truncated",truncateAnnotationColor:Ba}}function tA(e){return e&&typeof e=="function"?e:void 0}function rA(e){return typeof e=="number"&&Number.isSafeInteger(e)&&e>=0?e:Vf}function Xt(e={}){return{...eA(),...e,compareKeys:tA(e.compareKeys),contextLines:rA(e.contextLines)}}function sr(e){return e.length===1&&e[0].length===0}function nA(e){let t=0,r=0;return e.forEach(n=>{switch(n[0]){case Me:t+=1;break;case Oe:r+=1;break}}),{a:t,b:r}}function oA({aAnnotation:e,aColor:t,aIndicator:r,bAnnotation:n,bColor:o,bIndicator:a,includeChangeCounts:i,omitAnnotationLines:l},u){if(l)return"";let c="",s="";if(i){let p=String(u.a),f=String(u.b),b=n.length-e.length,h=" ".repeat(Math.max(0,b)),y=" ".repeat(Math.max(0,-b)),g=f.length-p.length,E=" ".repeat(Math.max(0,g)),C=" ".repeat(Math.max(0,-g));c=`${h} ${r} ${E}${p}`,s=`${y} ${a} ${C}${f}`}let d=`${r} ${e}${c}`,m=`${a} ${n}${s}`;return`${t(d)} -${o(m)} - -`}function ss(e,t,r){return oA(r,nA(e))+(r.expand?QS(e,r):XS(e,r))+(t?r.truncateAnnotationColor(` -${r.truncateAnnotation}`):"")}function $o(e,t,r){let n=Xt(r),[o,a]=zf(sr(e)?[]:e,sr(t)?[]:t,n);return ss(o,a,n)}function aA(e,t,r,n,o){if(sr(e)&&sr(r)&&(e=[],r=[]),sr(t)&&sr(n)&&(t=[],n=[]),e.length!==r.length||t.length!==n.length)return $o(e,t,o);let[a,i]=zf(r,n,o),l=0,u=0;return a.forEach(c=>{switch(c[0]){case Me:c[1]=e[l],l+=1;break;case Oe:c[1]=t[u],u+=1;break;default:c[1]=t[u],l+=1,u+=1}}),ss(a,i,Xt(o))}function zf(e,t,r){let n=(r==null?void 0:r.truncateThreshold)??!1,o=Math.max(Math.floor((r==null?void 0:r.truncateThreshold)??0),0),a=n?Math.min(e.length,o):e.length,i=n?Math.min(t.length,o):t.length,l=a!==e.length||i!==t.length,u=(m,p)=>e[m]===t[p],c=[],s=0,d=0;for(Df(a,i,u,(m,p,f)=>{for(;s!==p;s+=1)c.push(new fe(Me,e[s]));for(;d!==f;d+=1)c.push(new fe(Oe,t[d]));for(;m!==0;m-=1,s+=1,d+=1)c.push(new fe(ge,t[d]))});s!==a;s+=1)c.push(new fe(Me,e[s]));for(;d!==i;d+=1)c.push(new fe(Oe,t[d]));return[c,l]}function _c(e){return e.includes(`\r -`)?`\r -`:` -`}function iA(e,t,r){let n=(r==null?void 0:r.truncateThreshold)??!1,o=Math.max(Math.floor((r==null?void 0:r.truncateThreshold)??0),0),a=e.length,i=t.length;if(n){let m=e.includes(` -`),p=t.includes(` -`),f=_c(e),b=_c(t),h=m?`${e.split(f,o).join(f)} -`:e,y=p?`${t.split(b,o).join(b)} -`:t;a=h.length,i=y.length}let l=a!==e.length||i!==t.length,u=(m,p)=>e[m]===t[p],c=0,s=0,d=[];return Df(a,i,u,(m,p,f)=>{c!==p&&d.push(new fe(Me,e.slice(c,p))),s!==f&&d.push(new fe(Oe,t.slice(s,f))),c=p+m,s=f+m,d.push(new fe(ge,t.slice(f,s)))}),c!==a&&d.push(new fe(Me,e.slice(c))),s!==i&&d.push(new fe(Oe,t.slice(s))),[d,l]}function lA(e,t,r){return t.reduce((n,o)=>n+(o[0]===ge?o[1]:o[0]===e&&o[1].length!==0?r(o[1]):""),"")}var Rc=class{constructor(e,t){he(this,"op");he(this,"line");he(this,"lines");he(this,"changeColor");this.op=e,this.line=[],this.lines=[],this.changeColor=t}pushSubstring(e){this.pushDiff(new fe(this.op,e))}pushLine(){this.lines.push(this.line.length!==1?new fe(this.op,lA(this.op,this.line,this.changeColor)):this.line[0][0]===this.op?this.line[0]:new fe(this.op,this.line[0][1])),this.line.length=0}isLineEmpty(){return this.line.length===0}pushDiff(e){this.line.push(e)}align(e){let t=e[1];if(t.includes(` -`)){let r=t.split(` -`),n=r.length-1;r.forEach((o,a)=>{a<n?(this.pushSubstring(o),this.pushLine()):o.length!==0&&this.pushSubstring(o)})}else this.pushDiff(e)}moveLinesTo(e){this.isLineEmpty()||this.pushLine(),e.push(...this.lines),this.lines.length=0}},sA=class{constructor(e,t){he(this,"deleteBuffer");he(this,"insertBuffer");he(this,"lines");this.deleteBuffer=e,this.insertBuffer=t,this.lines=[]}pushDiffCommonLine(e){this.lines.push(e)}pushDiffChangeLines(e){let t=e[1].length===0;(!t||this.deleteBuffer.isLineEmpty())&&this.deleteBuffer.pushDiff(e),(!t||this.insertBuffer.isLineEmpty())&&this.insertBuffer.pushDiff(e)}flushChangeLines(){this.deleteBuffer.moveLinesTo(this.lines),this.insertBuffer.moveLinesTo(this.lines)}align(e){let t=e[0],r=e[1];if(r.includes(` -`)){let n=r.split(` -`),o=n.length-1;n.forEach((a,i)=>{if(i===0){let l=new fe(t,a);this.deleteBuffer.isLineEmpty()&&this.insertBuffer.isLineEmpty()?(this.flushChangeLines(),this.pushDiffCommonLine(l)):(this.pushDiffChangeLines(l),this.flushChangeLines())}else i<o?this.pushDiffCommonLine(new fe(t,a)):a.length!==0&&this.pushDiffChangeLines(new fe(t,a))})}else this.pushDiffChangeLines(e)}getLines(){return this.flushChangeLines(),this.lines}};function uA(e,t){let r=new Rc(Me,t),n=new Rc(Oe,t),o=new sA(r,n);return e.forEach(a=>{switch(a[0]){case Me:r.align(a);break;case Oe:n.align(a);break;default:o.align(a)}}),o.getLines()}function cA(e,t){if(t){let r=e.length-1;return e.some((n,o)=>n[0]===ge&&(o!==r||n[1]!==` -`))}return e.some(r=>r[0]===ge)}function dA(e,t,r){if(e!==t&&e.length!==0&&t.length!==0){let n=e.includes(` -`)||t.includes(` -`),[o,a]=Gf(n?`${e} -`:e,n?`${t} -`:t,!0,r);if(cA(o,n)){let i=Xt(r),l=uA(o,i.changeColor);return ss(l,a,i)}}return $o(e.split(` -`),t.split(` -`),r)}function Gf(e,t,r,n){let[o,a]=iA(e,t,n);return r&&FS(o),[o,a]}function Oi(e,t){let{commonColor:r}=Xt(t);return r(e)}var{AsymmetricMatcher:pA,DOMCollection:mA,DOMElement:fA,Immutable:hA,ReactElement:bA,ReactTestComponent:yA}=jf,Wf=[yA,bA,fA,mA,hA,pA],Ti={plugins:Wf},Kf={callToJSON:!1,maxDepth:10,plugins:Wf};function wr(e,t,r){if(Object.is(e,t))return"";let n=dc(e),o=n,a=!1;if(n==="object"&&typeof e.asymmetricMatch=="function"){if(e.$$typeof!==Symbol.for("jest.asymmetricMatcher")||typeof e.getExpectedType!="function")return;o=e.getExpectedType(),a=o==="string"}if(o!==dc(t)){let{aAnnotation:i,aColor:l,aIndicator:u,bAnnotation:c,bColor:s,bIndicator:d}=Xt(r),m=Si(Kf,r),p=at(e,m),f=at(t,m),b=`${l(`${u} ${i}:`)} -${p}`,h=`${s(`${d} ${c}:`)} -${f}`;return`${b} - -${h}`}if(!a)switch(n){case"string":return $o(e.split(` -`),t.split(` -`),r);case"boolean":case"number":return gA(e,t,r);case"map":return ka(wc(e),wc(t),r);case"set":return ka(Cc(e),Cc(t),r);default:return ka(e,t,r)}}function gA(e,t,r){let n=at(e,Ti),o=at(t,Ti);return n===o?"":$o(n.split(` -`),o.split(` -`),r)}function wc(e){return new Map(Array.from(e.entries()).sort())}function Cc(e){return new Set(Array.from(e.values()).sort())}function ka(e,t,r){let n,o=!1;try{let i=Si(Ti,r);n=qc(e,t,i,r)}catch{o=!0}let a=Oi(kf,r);if(n===void 0||n===a){let i=Si(Kf,r);n=qc(e,t,i,r),n!==a&&!o&&(n=`${Oi(zS,r)} - -${n}`)}return n}function Si(e,t){let{compareKeys:r}=Xt(t);return{...e,compareKeys:r}}function qc(e,t,r,n){let o={...r,indent:0},a=at(e,o),i=at(t,o);if(a===i)return Oi(kf,n);{let l=at(e,r),u=at(t,r);return aA(l.split(` -`),u.split(` -`),a.split(` -`),i.split(` -`),n)}}var Ec=2e4;function Pc(e){return wi(e)==="Object"&&typeof e.asymmetricMatch=="function"}function Oc(e,t){let r=wi(e),n=wi(t);return r===n&&(r==="Object"||r==="Array")}function Yf(e,t,r){let{aAnnotation:n,bAnnotation:o}=Xt(r);if(typeof e=="string"&&typeof t=="string"&&e.length>0&&t.length>0&&e.length<=Ec&&t.length<=Ec&&e!==t){if(e.includes(` -`)||t.includes(` -`))return dA(t,e,r);let[c]=Gf(t,e,!0),s=c.some(f=>f[0]===ge),d=vA(n,o),m=d(n)+wA(Tc(c,Me,s)),p=d(o)+RA(Tc(c,Oe,s));return`${m} -${p}`}let a=Vu(e,{forceWritable:!0}),i=Vu(t,{forceWritable:!0}),{replacedExpected:l,replacedActual:u}=Jf(a,i);return wr(l,u,r)}function Jf(e,t,r=new WeakSet,n=new WeakSet){return Oc(e,t)?r.has(e)||n.has(t)?{replacedActual:e,replacedExpected:t}:(r.add(e),n.add(t),df(t).forEach(o=>{let a=t[o],i=e[o];if(Pc(a))a.asymmetricMatch(i)&&(e[o]=a);else if(Pc(i))i.asymmetricMatch(a)&&(t[o]=i);else if(Oc(i,a)){let l=Jf(i,a,r,n);e[o]=l.replacedActual,t[o]=l.replacedExpected}}),{replacedActual:e,replacedExpected:t}):{replacedActual:e,replacedExpected:t}}function vA(...e){let t=e.reduce((r,n)=>n.length>r?n.length:r,0);return r=>`${r}: ${" ".repeat(t-r.length)}`}var _A="·";function Xf(e){return e.replace(/\s+$/gm,t=>_A.repeat(t.length))}function RA(e){return be.red(Xf(Ge(e)))}function wA(e){return be.green(Xf(Ge(e)))}function Tc(e,t,r){return e.reduce((n,o)=>n+(o[0]===ge?o[1]:o[0]===t?r?be.inverse(o[1]):o[1]:""),"")}function Bn(e,t){if(!e)throw new Error(t)}function ur(e,t){return typeof t===e}function CA(e){return e instanceof Promise}function Ai(e,t,r){Object.defineProperty(e,t,r)}function mr(e,t,r){Object.defineProperty(e,t,{value:r})}var Vr=Symbol.for("tinyspy:spy"),qA=new Set,EA=e=>{e.called=!1,e.callCount=0,e.calls=[],e.results=[],e.resolves=[],e.next=[]},PA=e=>(Ai(e,Vr,{value:{reset:()=>EA(e[Vr])}}),e[Vr]),Qn=e=>e[Vr]||PA(e);function OA(e){Bn(ur("function",e)||ur("undefined",e),"cannot spy on a non-function value");let t=function(...n){let o=Qn(t);o.called=!0,o.callCount++,o.calls.push(n);let a=o.next.shift();if(a){o.results.push(a);let[s,d]=a;if(s==="ok")return d;throw d}let i,l="ok",u=o.results.length;if(o.impl)try{new.target?i=Reflect.construct(o.impl,n,new.target):i=o.impl.apply(this,n),l="ok"}catch(s){throw i=s,l="error",o.results.push([l,s]),s}let c=[l,i];return CA(i)&&i.then(s=>o.resolves[u]=["ok",s],s=>o.resolves[u]=["error",s]),o.results.push(c),i};mr(t,"_isMockFunction",!0),mr(t,"length",e?e.length:0),mr(t,"name",e&&e.name||"spy");let r=Qn(t);return r.reset(),r.impl=e,t}var Sc=(e,t)=>Object.getOwnPropertyDescriptor(e,t),Ac=(e,t)=>{t!=null&&typeof t=="function"&&t.prototype!=null&&Object.setPrototypeOf(e.prototype,t.prototype)};function Qf(e,t,r){Bn(!ur("undefined",e),"spyOn could not find an object to spy upon"),Bn(ur("object",e)||ur("function",e),"cannot spyOn on a primitive value");let[n,o]=(()=>{if(!ur("object",t))return[t,"value"];if("getter"in t&&"setter"in t)throw new Error("cannot spy on both getter and setter");if("getter"in t)return[t.getter,"get"];if("setter"in t)return[t.setter,"set"];throw new Error("specify getter or setter to spy on")})(),a=Sc(e,n),i=Object.getPrototypeOf(e),l=i&&Sc(i,n),u=a||l;Bn(u||n in e,`${String(n)} does not exist`);let c=!1;o==="value"&&u&&!u.value&&u.get&&(o="get",c=!0,r=u.get());let s;u?s=u[o]:o!=="value"?s=()=>e[n]:s=e[n];let d=b=>{let{value:h,...y}=u||{configurable:!0,writable:!0};o!=="value"&&delete y.writable,y[o]=b,Ai(e,n,y)},m=()=>u?Ai(e,n,u):d(s);r||(r=s);let p=OA(r);o==="value"&&Ac(p,s);let f=p[Vr];return mr(f,"restore",m),mr(f,"getOriginal",()=>c?s():s),mr(f,"willCall",b=>(f.impl=b,p)),d(c?()=>(Ac(p,r),p):p),qA.add(p),p}var vn=new Set;function us(e){return typeof e=="function"&&"_isMockFunction"in e&&e._isMockFunction}function TA(e,t,r){let n=r?{[{get:"getter",set:"setter"}[r]]:t}:t,o=Qf(e,n);return Zf(o)}var SA=0;function Zf(e){let t=e,r,n=[],o=[],a=[],i=Qn(e),l={get calls(){return i.calls},get contexts(){return o},get instances(){return n},get invocationCallOrder(){return a},get results(){return i.results.map(([p,f])=>({type:p==="error"?"throw":"return",value:f}))},get settledResults(){return i.resolves.map(([p,f])=>({type:p==="error"?"rejected":"fulfilled",value:f}))},get lastCall(){return i.calls[i.calls.length-1]}},u=[],c=!1;function s(...p){return n.push(this),o.push(this),a.push(++SA),(c?r:u.shift()||r||i.getOriginal()||(()=>{})).apply(this,p)}let d=t.name;t.getMockName=()=>d||"vi.fn()",t.mockName=p=>(d=p,t),t.mockClear=()=>(i.reset(),n=[],o=[],a=[],t),t.mockReset=()=>(t.mockClear(),r=()=>{},u=[],t),t.mockRestore=()=>(t.mockReset(),i.restore(),r=void 0,t),t.getMockImplementation=()=>r,t.mockImplementation=p=>(r=p,i.willCall(s),t),t.mockImplementationOnce=p=>(u.push(p),t);function m(p,f){let b=r;r=p,i.willCall(s),c=!0;let h=()=>{r=b,c=!1},y=f();return y instanceof Promise?y.then(()=>(h(),t)):(h(),t)}return t.withImplementation=m,t.mockReturnThis=()=>t.mockImplementation(function(){return this}),t.mockReturnValue=p=>t.mockImplementation(()=>p),t.mockReturnValueOnce=p=>t.mockImplementationOnce(()=>p),t.mockResolvedValue=p=>t.mockImplementation(()=>Promise.resolve(p)),t.mockResolvedValueOnce=p=>t.mockImplementationOnce(()=>Promise.resolve(p)),t.mockRejectedValue=p=>t.mockImplementation(()=>Promise.reject(p)),t.mockRejectedValueOnce=p=>t.mockImplementationOnce(()=>Promise.reject(p)),Object.defineProperty(t,"mock",{get:()=>l}),i.willCall(s),vn.add(t),t}function Mc(e){let t=Zf(Qf({spy:e||function(){}},"spy"));return e&&t.mockImplementation(e),t}var AA="@@__IMMUTABLE_RECORD__@@",MA="@@__IMMUTABLE_ITERABLE__@@";function xA(e){return e&&(e[MA]||e[AA])}var jA=Object.getPrototypeOf({});function xc(e){return e instanceof Error?`<unserializable>: ${e.message}`:typeof e=="string"?`<unserializable>: ${e}`:"<unserializable>"}function cr(e,t=new WeakMap){if(!e||typeof e=="string")return e;if(typeof e=="function")return`Function<${e.name||"anonymous"}>`;if(typeof e=="symbol")return e.toString();if(typeof e!="object")return e;if(xA(e))return cr(e.toJSON(),t);if(e instanceof Promise||e.constructor&&e.constructor.prototype==="AsyncFunction")return"Promise";if(typeof Element<"u"&&e instanceof Element)return e.tagName;if(typeof e.asymmetricMatch=="function")return`${e.toString()} ${LS(e.sample)}`;if(typeof e.toJSON=="function")return cr(e.toJSON(),t);if(t.has(e))return t.get(e);if(Array.isArray(e)){let r=new Array(e.length);return t.set(e,r),e.forEach((n,o)=>{try{r[o]=cr(n,t)}catch(a){r[o]=xc(a)}}),r}else{let r=Object.create(null);t.set(e,r);let n=e;for(;n&&n!==jA;)Object.getOwnPropertyNames(n).forEach(o=>{if(!(o in r))try{r[o]=cr(e[o],t)}catch(a){delete r[o],r[o]=xc(a)}}),n=Object.getPrototypeOf(n);return r}}function NA(e){return e.replace(/__(vite_ssr_import|vi_import)_\d+__\./g,"")}function eh(e,t,r=new WeakSet){if(!e||typeof e!="object")return{message:String(e)};let n=e;n.stack&&(n.stackStr=String(n.stack)),n.name&&(n.nameStr=String(n.name)),(n.showDiff||n.showDiff===void 0&&n.expected!==void 0&&n.actual!==void 0)&&(n.diff=Yf(n.actual,n.expected,{...t,...n.diffOptions})),typeof n.expected!="string"&&(n.expected=Ge(n.expected,10)),typeof n.actual!="string"&&(n.actual=Ge(n.actual,10));try{typeof n.message=="string"&&(n.message=NA(n.message))}catch{}try{!r.has(n)&&typeof n.cause=="object"&&(r.add(n),n.cause=eh(n.cause,t,r))}catch{}try{return cr(n)}catch(o){return cr(new Error(`Failed to fully serialize error: ${o==null?void 0:o.message} -Inner error message: ${n==null?void 0:n.message}`))}}var tn=Symbol.for("matchers-object"),rn=Symbol.for("$$jest-matchers-object-storybook"),cs=Symbol.for("expect-global"),Mi=Symbol.for("asymmetric-matchers-object");if(!Object.prototype.hasOwnProperty.call(globalThis,tn)){let e=new WeakMap;Object.defineProperty(globalThis,tn,{get:()=>e})}if(!Object.prototype.hasOwnProperty.call(globalThis,rn)){let e=Object.create(null),t=[];Object.defineProperty(globalThis,rn,{configurable:!0,get:()=>({state:globalThis[tn].get(globalThis[cs]),matchers:e,customEqualityTesters:t})})}if(!Object.prototype.hasOwnProperty.call(globalThis,Mi)){let e=Object.create(null);Object.defineProperty(globalThis,Mi,{get:()=>e})}function Zn(e){return globalThis[tn].get(e)}function La(e,t){let r=globalThis[tn],n=r.get(t)||{};Object.assign(n,e),r.set(t,n)}var eo=be.green,ds=be.red,$A=be.inverse,IA=be.bold,Tt=be.dim;function BA(e,t="received",r="expected",n={}){let{comment:o="",isDirectExpectCall:a=!1,isNot:i=!1,promise:l="",secondArgument:u="",expectedColor:c=eo,receivedColor:s=ds,secondArgumentColor:d=eo}=n,m="",p="expect";return!a&&t!==""&&(m+=Tt(`${p}(`)+s(t),p=")"),l!==""&&(m+=Tt(`${p}.`)+l,p=""),i&&(m+=`${Tt(`${p}.`)}not`,p=""),e.includes(".")?p+=e:(m+=Tt(`${p}.`)+e,p=""),r===""?p+="()":(m+=Tt(`${p}(`)+c(r),u&&(m+=Tt(", ")+d(u)),p=")"),o!==""&&(p+=` // ${o}`),p!==""&&(m+=Tt(p)),m}var kA="·";function th(e){return e.replace(/\s+$/gm,t=>kA.repeat(t.length))}function LA(e){return ds(th(Ge(e)))}function DA(e){return eo(th(Ge(e)))}function rh(){return{EXPECTED_COLOR:eo,RECEIVED_COLOR:ds,INVERTED_COLOR:$A,BOLD_WEIGHT:IA,DIM_COLOR:Tt,diff:wr,matcherHint:BA,printReceived:LA,printExpected:DA,printDiffOrStringify:Yf}}function ps(){return globalThis[rn].customEqualityTesters}function Z(e,t,r,n){return r=r||[],nh(e,t,[],[],r,n?oh:HA)}function jc(e){return!!e&&typeof e=="object"&&"asymmetricMatch"in e&&Qe("Function",e.asymmetricMatch)}function FA(e,t){let r=jc(e),n=jc(t);if(!(r&&n)){if(r)return e.asymmetricMatch(t);if(n)return t.asymmetricMatch(e)}}function nh(e,t,r,n,o,a){let i=!0,l=FA(e,t);if(l!==void 0)return l;let u={equals:Z};for(let f=0;f<o.length;f++){let b=o[f].call(u,e,t,o);if(b!==void 0)return b}if(e instanceof Error&&t instanceof Error)return e.message===t.message;if(typeof URL=="function"&&e instanceof URL&&t instanceof URL)return e.href===t.href;if(Object.is(e,t))return!0;if(e===null||t===null)return e===t;let c=Object.prototype.toString.call(e);if(c!==Object.prototype.toString.call(t))return!1;switch(c){case"[object Boolean]":case"[object String]":case"[object Number]":return typeof e!=typeof t?!1:typeof e!="object"&&typeof t!="object"?Object.is(e,t):Object.is(e.valueOf(),t.valueOf());case"[object Date]":{let f=+e,b=+t;return f===b||Number.isNaN(f)&&Number.isNaN(b)}case"[object RegExp]":return e.source===t.source&&e.flags===t.flags}if(typeof e!="object"||typeof t!="object")return!1;if($c(e)&&$c(t))return e.isEqualNode(t);let s=r.length;for(;s--;){if(r[s]===e)return n[s]===t;if(n[s]===t)return!1}if(r.push(e),n.push(t),c==="[object Array]"&&e.length!==t.length)return!1;let d=Nc(e,a),m,p=d.length;if(Nc(t,a).length!==p)return!1;for(;p--;)if(m=d[p],i=a(t,m)&&nh(e[m],t[m],r,n,o,a),!i)return!1;return r.pop(),n.pop(),i}function Nc(e,t){let r=[];for(let n in e)t(e,n)&&r.push(n);return r.concat(Object.getOwnPropertySymbols(e).filter(n=>Object.getOwnPropertyDescriptor(e,n).enumerable))}function HA(e,t){return oh(e,t)&&e[t]!==void 0}function oh(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function Qe(e,t){return Object.prototype.toString.apply(t)===`[object ${e}]`}function $c(e){return e!==null&&typeof e=="object"&&"nodeType"in e&&typeof e.nodeType=="number"&&"nodeName"in e&&typeof e.nodeName=="string"&&"isEqualNode"in e&&typeof e.isEqualNode=="function"}var ah="@@__IMMUTABLE_KEYED__@@",ih="@@__IMMUTABLE_SET__@@",UA="@@__IMMUTABLE_LIST__@@",Io="@@__IMMUTABLE_ORDERED__@@",VA="@@__IMMUTABLE_RECORD__@@";function zA(e){return!!(e&&e[ah]&&!e[Io])}function GA(e){return!!(e&&e[ih]&&!e[Io])}function Bo(e){return e!=null&&typeof e=="object"&&!Array.isArray(e)}function WA(e){return!!(e&&Bo(e)&&e[UA])}function KA(e){return!!(e&&Bo(e)&&e[ah]&&e[Io])}function YA(e){return!!(e&&Bo(e)&&e[ih]&&e[Io])}function JA(e){return!!(e&&Bo(e)&&e[VA])}var lh=Symbol.iterator;function Ic(e){return!!(e!=null&&e[lh])}function De(e,t,r=[],n=[],o=[]){if(typeof e!="object"||typeof t!="object"||Array.isArray(e)||Array.isArray(t)||!Ic(e)||!Ic(t))return;if(e.constructor!==t.constructor)return!1;let a=n.length;for(;a--;)if(n[a]===e)return o[a]===t;n.push(e),o.push(t);let i=[...r.filter(c=>c!==De),l];function l(c,s){return De(c,s,[...r],[...n],[...o])}if(e.size!==void 0){if(e.size!==t.size)return!1;if(Qe("Set",e)||GA(e)){let c=!0;for(let s of e)if(!t.has(s)){let d=!1;for(let m of t)Z(s,m,i)===!0&&(d=!0);if(d===!1){c=!1;break}}return n.pop(),o.pop(),c}else if(Qe("Map",e)||zA(e)){let c=!0;for(let s of e)if(!t.has(s[0])||!Z(s[1],t.get(s[0]),i)){let d=!1;for(let m of t){let p=Z(s[0],m[0],i),f=!1;p===!0&&(f=Z(s[1],m[1],i)),f===!0&&(d=!0)}if(d===!1){c=!1;break}}return n.pop(),o.pop(),c}}let u=t[lh]();for(let c of e){let s=u.next();if(s.done||!Z(c,s.value,i))return!1}if(!u.next().done)return!1;if(!WA(e)&&!KA(e)&&!YA(e)&&!JA(e)){let c=Object.entries(e),s=Object.entries(t);if(!Z(c,s))return!1}return n.pop(),o.pop(),!0}function ms(e,t){return!e||typeof e!="object"||e===Object.prototype?!1:Object.prototype.hasOwnProperty.call(e,t)||ms(Object.getPrototypeOf(e),t)}function XA(e){return $n(e)&&!(e instanceof Error)&&!Array.isArray(e)&&!(e instanceof Date)}function _n(e,t,r=[]){let n=r.filter(a=>a!==_n),o=(a=new WeakMap)=>(i,l)=>{if(XA(l))return Object.keys(l).every(u=>{if(l[u]!=null&&typeof l[u]=="object"){if(a.has(l[u]))return Z(i[u],l[u],n);a.set(l[u],!0)}let c=i!=null&&ms(i,u)&&Z(i[u],l[u],[...n,o(a)]);return a.delete(l[u]),c})};return o()(e,t)}function Bc(e,t){if(!(e==null||t==null||e.constructor===t.constructor))return!1}function kc(e,t){let r=e,n=t;if(!(e instanceof DataView&&t instanceof DataView)){if(!(e instanceof ArrayBuffer)||!(t instanceof ArrayBuffer))return;try{r=new DataView(e),n=new DataView(t)}catch{return}}if(r.byteLength!==n.byteLength)return!1;for(let o=0;o<r.byteLength;o++)if(r.getUint8(o)!==n.getUint8(o))return!1;return!0}function xi(e,t,r=[]){if(!Array.isArray(e)||!Array.isArray(t))return;let n=Object.keys(e),o=Object.keys(t),a=r.filter(i=>i!==xi);return Z(e,t,a,!0)&&Z(n,o)}function QA(e,t="#{this}",r="#{exp}"){let n=`expected ${t} to be ${r} // Object.is equality`;return["toStrictEqual","toEqual"].includes(e)?`${n} - -If it should pass with deep equality, replace "toBe" with "${e}" - -Expected: ${t} -Received: serializes to the same string -`:n}function ZA(e,t){return`${t} ${e}${t===1?"":"s"}`}function Da(e){return[...Object.keys(e),...Object.getOwnPropertySymbols(e).filter(t=>{var r;return(r=Object.getOwnPropertyDescriptor(e,t))==null?void 0:r.enumerable})]}function eM(e,t,r=[]){let n=0,o=(a=new WeakMap)=>(i,l)=>{if(Array.isArray(i)){if(Array.isArray(l)&&l.length===i.length)return l.map((u,c)=>o(a)(i[c],u))}else{if(i instanceof Date)return i;if($n(i)&&$n(l)){if(Z(i,l,[...r,De,_n]))return l;let u={};a.set(i,u);for(let c of Da(i))ms(l,c)?u[c]=a.has(i[c])?a.get(i[c]):o(a)(i[c],l[c]):a.has(i[c])||(n+=1,$n(i[c])&&(n+=Da(i[c]).length),o(a)(i[c],l[c]));if(Da(u).length>0)return u}}return i};return{subset:o()(e,t),stripped:n}}var Lt=class{constructor(e,t=!1){he(this,"$$typeof",Symbol.for("jest.asymmetricMatcher"));this.sample=e,this.inverse=t}getMatcherContext(e){return{...Zn(e||globalThis[cs]),equals:Z,isNot:this.inverse,customTesters:ps(),utils:{...rh(),diff:wr,stringify:Ge,iterableEquality:De,subsetEquality:_n}}}[Symbol.for("chai/inspect")](e){let t=Ge(this,e.depth,{min:!0});return t.length<=e.truncate?t:`${this.toString()}{…}`}},Lc=class extends Lt{constructor(e,t=!1){if(!Qe("String",e))throw new Error("Expected is not a string");super(e,t)}asymmetricMatch(e){let t=Qe("String",e)&&e.includes(this.sample);return this.inverse?!t:t}toString(){return`String${this.inverse?"Not":""}Containing`}getExpectedType(){return"string"}},tM=class extends Lt{asymmetricMatch(e){return e!=null}toString(){return"Anything"}toAsymmetricMatcher(){return"Anything"}},Dc=class extends Lt{constructor(e,t=!1){super(e,t)}getPrototype(e){return Object.getPrototypeOf?Object.getPrototypeOf(e):e.constructor.prototype===e?null:e.constructor.prototype}hasProperty(e,t){return e?Object.prototype.hasOwnProperty.call(e,t)?!0:this.hasProperty(this.getPrototype(e),t):!1}asymmetricMatch(e){if(typeof this.sample!="object")throw new TypeError(`You must provide an object to ${this.toString()}, not '${typeof this.sample}'.`);let t=!0,r=this.getMatcherContext();for(let n in this.sample)if(!this.hasProperty(e,n)||!Z(this.sample[n],e[n],r.customTesters)){t=!1;break}return this.inverse?!t:t}toString(){return`Object${this.inverse?"Not":""}Containing`}getExpectedType(){return"object"}},Fc=class extends Lt{constructor(e,t=!1){super(e,t)}asymmetricMatch(e){if(!Array.isArray(this.sample))throw new TypeError(`You must provide an array to ${this.toString()}, not '${typeof this.sample}'.`);let t=this.getMatcherContext(),r=this.sample.length===0||Array.isArray(e)&&this.sample.every(n=>e.some(o=>Z(n,o,t.customTesters)));return this.inverse?!r:r}toString(){return`Array${this.inverse?"Not":""}Containing`}getExpectedType(){return"array"}},rM=class extends Lt{constructor(e){if(typeof e>"u")throw new TypeError("any() expects to be passed a constructor function. Please pass one or use anything() to match any object.");super(e)}fnNameFor(e){if(e.name)return e.name;let t=Function.prototype.toString.call(e).match(/^(?:async)?\s*function\s*(?:\*\s*)?([\w$]+)\s*\(/);return t?t[1]:"<anonymous>"}asymmetricMatch(e){return this.sample===String?typeof e=="string"||e instanceof String:this.sample===Number?typeof e=="number"||e instanceof Number:this.sample===Function?typeof e=="function"||e instanceof Function:this.sample===Boolean?typeof e=="boolean"||e instanceof Boolean:this.sample===BigInt?typeof e=="bigint"||e instanceof BigInt:this.sample===Symbol?typeof e=="symbol"||e instanceof Symbol:this.sample===Object?typeof e=="object":e instanceof this.sample}toString(){return"Any"}getExpectedType(){return this.sample===String?"string":this.sample===Number?"number":this.sample===Function?"function":this.sample===Object?"object":this.sample===Boolean?"boolean":this.fnNameFor(this.sample)}toAsymmetricMatcher(){return`Any<${this.fnNameFor(this.sample)}>`}},Hc=class extends Lt{constructor(e,t=!1){if(!Qe("String",e)&&!Qe("RegExp",e))throw new Error("Expected is not a String or a RegExp");super(new RegExp(e),t)}asymmetricMatch(e){let t=Qe("String",e)&&this.sample.test(e);return this.inverse?!t:t}toString(){return`String${this.inverse?"Not":""}Matching`}getExpectedType(){return"string"}},Uc=class extends Lt{constructor(t,r=2,n=!1){if(!Qe("Number",t))throw new Error("Expected is not a Number");if(!Qe("Number",r))throw new Error("Precision is not a Number");super(t);he(this,"precision");this.inverse=n,this.precision=r}asymmetricMatch(t){if(!Qe("Number",t))return!1;let r=!1;return t===Number.POSITIVE_INFINITY&&this.sample===Number.POSITIVE_INFINITY||t===Number.NEGATIVE_INFINITY&&this.sample===Number.NEGATIVE_INFINITY?r=!0:r=Math.abs(this.sample-t)<10**-this.precision/2,this.inverse?!r:r}toString(){return`Number${this.inverse?"Not":""}CloseTo`}getExpectedType(){return"number"}toAsymmetricMatcher(){return[this.toString(),this.sample,`(${ZA("digit",this.precision)})`].join(" ")}},nM=(e,t)=>{t.addMethod(e.expect,"anything",()=>new tM),t.addMethod(e.expect,"any",r=>new rM(r)),t.addMethod(e.expect,"stringContaining",r=>new Lc(r)),t.addMethod(e.expect,"objectContaining",r=>new Dc(r)),t.addMethod(e.expect,"arrayContaining",r=>new Fc(r)),t.addMethod(e.expect,"stringMatching",r=>new Hc(r)),t.addMethod(e.expect,"closeTo",(r,n)=>new Uc(r,n)),e.expect.not={stringContaining:r=>new Lc(r,!0),objectContaining:r=>new Dc(r,!0),arrayContaining:r=>new Fc(r,!0),stringMatching:r=>new Hc(r,!0),closeTo:(r,n)=>new Uc(r,n,!0)}};function Vc(e,t){return e&&t instanceof Promise&&(t=t.finally(()=>{let r=e.promises.indexOf(t);r!==-1&&e.promises.splice(r,1)}),e.promises||(e.promises=[]),e.promises.push(t)),t}function sh(e,t){return function(...r){var n;if(!e.flag(this,"soft"))return t.apply(this,r);let o=e.flag(this,"vitest-test");if(!o)throw new Error("expect.soft() can only be used inside a test");try{return t.apply(this,r)}catch(a){o.result||(o.result={state:"fail"}),o.result.state="fail",(n=o.result).errors||(n.errors=[]),o.result.errors.push(eh(a))}}}var oM=(e,t)=>{let{AssertionError:r}=e,n=ps();function o(s,d){let m=p=>{let f=sh(t,d);t.addMethod(e.Assertion.prototype,p,f),t.addMethod(globalThis[rn].matchers,p,f)};Array.isArray(s)?s.forEach(p=>m(p)):m(s)}["throw","throws","Throw"].forEach(s=>{t.overwriteMethod(e.Assertion.prototype,s,d=>function(...m){let p=t.flag(this,"promise"),f=t.flag(this,"object"),b=t.flag(this,"negate");if(p==="rejects")t.flag(this,"object",()=>{throw f});else if(p==="resolves"&&typeof f!="function"){if(b)return;{let h=t.flag(this,"message")||"expected promise to throw an error, but it didn't",y={showDiff:!1};throw new r(h,y,t.flag(this,"ssfi"))}}d.apply(this,m)})}),o("withTest",function(s){return t.flag(this,"vitest-test",s),this}),o("toEqual",function(s){let d=t.flag(this,"object"),m=Z(d,s,[...n,De]);return this.assert(m,"expected #{this} to deeply equal #{exp}","expected #{this} to not deeply equal #{exp}",s,d)}),o("toStrictEqual",function(s){let d=t.flag(this,"object"),m=Z(d,s,[...n,De,Bc,xi,kc],!0);return this.assert(m,"expected #{this} to strictly equal #{exp}","expected #{this} to not strictly equal #{exp}",s,d)}),o("toBe",function(s){let d=this._obj,m=Object.is(d,s),p="";return m||(Z(d,s,[...n,De,Bc,xi,kc],!0)?p="toStrictEqual":Z(d,s,[...n,De])&&(p="toEqual")),this.assert(m,QA(p),"expected #{this} not to be #{exp} // Object.is equality",s,d)}),o("toMatchObject",function(s){let d=this._obj,m=Z(d,s,[...n,De,_n]),p=t.flag(this,"negate"),{subset:f,stripped:b}=eM(d,s);if(m&&p||!m&&!p){let h=t.getMessage(this,[m,"expected #{this} to match object #{exp}","expected #{this} to not match object #{exp}",s,f,!1]),y=b===0?h:`${h} -(${b} matching ${b===1?"property":"properties"} omitted from actual)`;throw new r(y,{showDiff:!0,expected:s,actual:f})}}),o("toMatch",function(s){let d=this._obj;if(typeof d!="string")throw new TypeError(`.toMatch() expects to receive a string, but got ${typeof d}`);return this.assert(typeof s=="string"?d.includes(s):d.match(s),"expected #{this} to match #{exp}","expected #{this} not to match #{exp}",s,d)}),o("toContain",function(s){let d=this._obj;if(typeof Node<"u"&&d instanceof Node){if(!(s instanceof Node))throw new TypeError(`toContain() expected a DOM node as the argument, but got ${typeof s}`);return this.assert(d.contains(s),"expected #{this} to contain element #{exp}","expected #{this} not to contain element #{exp}",s,d)}if(typeof DOMTokenList<"u"&&d instanceof DOMTokenList){pt(s,"class name",["string"]);let m=t.flag(this,"negate")?d.value.replace(s,"").trim():`${d.value} ${s}`;return this.assert(d.contains(s),`expected "${d.value}" to contain "${s}"`,`expected "${d.value}" not to contain "${s}"`,m,d.value)}return typeof d=="string"&&typeof s=="string"?this.assert(d.includes(s),"expected #{this} to contain #{exp}","expected #{this} not to contain #{exp}",s,d):(d!=null&&typeof d!="string"&&t.flag(this,"object",Array.from(d)),this.contain(s))}),o("toContainEqual",function(s){let d=t.flag(this,"object"),m=Array.from(d).findIndex(p=>Z(p,s,n));this.assert(m!==-1,"expected #{this} to deep equally contain #{exp}","expected #{this} to not deep equally contain #{exp}",s)}),o("toBeTruthy",function(){let s=t.flag(this,"object");this.assert(!!s,"expected #{this} to be truthy","expected #{this} to not be truthy",s,!1)}),o("toBeFalsy",function(){let s=t.flag(this,"object");this.assert(!s,"expected #{this} to be falsy","expected #{this} to not be falsy",s,!1)}),o("toBeGreaterThan",function(s){let d=this._obj;return pt(d,"actual",["number","bigint"]),pt(s,"expected",["number","bigint"]),this.assert(d>s,`expected ${d} to be greater than ${s}`,`expected ${d} to be not greater than ${s}`,d,s,!1)}),o("toBeGreaterThanOrEqual",function(s){let d=this._obj;return pt(d,"actual",["number","bigint"]),pt(s,"expected",["number","bigint"]),this.assert(d>=s,`expected ${d} to be greater than or equal to ${s}`,`expected ${d} to be not greater than or equal to ${s}`,d,s,!1)}),o("toBeLessThan",function(s){let d=this._obj;return pt(d,"actual",["number","bigint"]),pt(s,"expected",["number","bigint"]),this.assert(d<s,`expected ${d} to be less than ${s}`,`expected ${d} to be not less than ${s}`,d,s,!1)}),o("toBeLessThanOrEqual",function(s){let d=this._obj;return pt(d,"actual",["number","bigint"]),pt(s,"expected",["number","bigint"]),this.assert(d<=s,`expected ${d} to be less than or equal to ${s}`,`expected ${d} to be not less than or equal to ${s}`,d,s,!1)}),o("toBeNaN",function(){return this.be.NaN}),o("toBeUndefined",function(){return this.be.undefined}),o("toBeNull",function(){return this.be.null}),o("toBeDefined",function(){let s=t.flag(this,"negate");return t.flag(this,"negate",!1),s?this.be.undefined:this.not.be.undefined}),o("toBeTypeOf",function(s){let d=typeof this._obj,m=s===d;return this.assert(m,"expected #{this} to be type of #{exp}","expected #{this} not to be type of #{exp}",s,d)}),o("toBeInstanceOf",function(s){return this.instanceOf(s)}),o("toHaveLength",function(s){return this.have.length(s)}),o("toHaveProperty",function(...s){Array.isArray(s[0])&&(s[0]=s[0].map(E=>String(E).replace(/([.[\]])/g,"\\$1")).join("."));let d=this._obj,[m,p]=s,f=()=>Object.prototype.hasOwnProperty.call(d,m)?{value:d[m],exists:!0}:t.getPathInfo(d,m),{value:b,exists:h}=f(),y=h&&(s.length===1||Z(p,b,n)),g=s.length===1?"":` with value ${t.objDisplay(p)}`;return this.assert(y,`expected #{this} to have property "${m}"${g}`,`expected #{this} to not have property "${m}"${g}`,p,h?b:void 0)}),o("toBeCloseTo",function(s,d=2){let m=this._obj,p=!1,f=0,b=0;return s===Number.POSITIVE_INFINITY&&m===Number.POSITIVE_INFINITY||s===Number.NEGATIVE_INFINITY&&m===Number.NEGATIVE_INFINITY?p=!0:(f=10**-d/2,b=Math.abs(m-s),p=b<f),this.assert(p,`expected #{this} to be close to #{exp}, received difference is ${b}, but expected ${f}`,`expected #{this} to not be close to #{exp}, received difference is ${b}, but expected ${f}`,s,m,!1)});let a=s=>{if(!us(s._obj))throw new TypeError(`${t.inspect(s._obj)} is not a spy or a call to a spy!`)},i=s=>(a(s),s._obj),l=s=>{let d=s%10,m=s%100;return d===1&&m!==11?`${s}st`:d===2&&m!==12?`${s}nd`:d===3&&m!==13?`${s}rd`:`${s}th`},u=(s,d,m)=>(s.mock.calls&&(d+=be.gray(` - -Received: - -${s.mock.calls.map((p,f)=>{let b=be.bold(` ${l(f+1)} ${s.getMockName()} call: - -`);return m?b+=wr(m,p,{omitAnnotationLines:!0}):b+=Ge(p).split(` -`).map(h=>` ${h}`).join(` -`),b+=` -`,b}).join(` -`)}`)),d+=be.gray(` - -Number of calls: ${be.bold(s.mock.calls.length)} -`),d),c=(s,d,m,p)=>(m+=be.gray(` - -Received: - -${d.map((f,b)=>{let h=be.bold(` ${l(b+1)} ${s.getMockName()} call return: - -`);return p?h+=wr(p,f.value,{omitAnnotationLines:!0}):h+=Ge(f).split(` -`).map(y=>` ${y}`).join(` -`),h+=` -`,h}).join(` -`)}`),m+=be.gray(` - -Number of calls: ${be.bold(s.mock.calls.length)} -`),m);o(["toHaveBeenCalledTimes","toBeCalledTimes"],function(s){let d=i(this),m=d.getMockName(),p=d.mock.calls.length;return this.assert(p===s,`expected "${m}" to be called #{exp} times, but got ${p} times`,`expected "${m}" to not be called #{exp} times`,s,p,!1)}),o("toHaveBeenCalledOnce",function(){let s=i(this),d=s.getMockName(),m=s.mock.calls.length;return this.assert(m===1,`expected "${d}" to be called once, but got ${m} times`,`expected "${d}" to not be called once`,1,m,!1)}),o(["toHaveBeenCalled","toBeCalled"],function(){let s=i(this),d=s.getMockName(),m=s.mock.calls.length,p=m>0,f=t.flag(this,"negate"),b=t.getMessage(this,[p,`expected "${d}" to be called at least once`,`expected "${d}" to not be called at all, but actually been called ${m} times`,!0,p]);if(p&&f&&(b=u(s,b)),p&&f||!p&&!f)throw new r(b)}),o(["toHaveBeenCalledWith","toBeCalledWith"],function(...s){let d=i(this),m=d.getMockName(),p=d.mock.calls.some(h=>Z(h,s,[...n,De])),f=t.flag(this,"negate"),b=t.getMessage(this,[p,`expected "${m}" to be called with arguments: #{exp}`,`expected "${m}" to not be called with arguments: #{exp}`,s]);if(p&&f||!p&&!f)throw new r(u(d,b,s))}),o(["toHaveBeenNthCalledWith","nthCalledWith"],function(s,...d){let m=i(this),p=m.getMockName(),f=m.mock.calls[s-1],b=m.mock.calls.length,h=s<=b;this.assert(Z(f,d,[...n,De]),`expected ${l(s)} "${p}" call to have been called with #{exp}${h?"":`, but called only ${b} times`}`,`expected ${l(s)} "${p}" call to not have been called with #{exp}`,d,f,h)}),o(["toHaveBeenLastCalledWith","lastCalledWith"],function(...s){let d=i(this),m=d.getMockName(),p=d.mock.calls[d.mock.calls.length-1];this.assert(Z(p,s,[...n,De]),`expected last "${m}" call to have been called with #{exp}`,`expected last "${m}" call to not have been called with #{exp}`,s,p)}),o(["toThrow","toThrowError"],function(s){if(typeof s=="string"||typeof s>"u"||s instanceof RegExp)return this.throws(s);let d=this._obj,m=t.flag(this,"promise"),p=t.flag(this,"negate"),f=null;if(m==="rejects")f=d;else if(m==="resolves"&&typeof d!="function"){if(p)return;{let b=t.flag(this,"message")||"expected promise to throw an error, but it didn't",h={showDiff:!1};throw new r(b,h,t.flag(this,"ssfi"))}}else{let b=!1;try{d()}catch(h){b=!0,f=h}if(!b&&!p){let h=t.flag(this,"message")||"expected function to throw an error, but it didn't",y={showDiff:!1};throw new r(h,y,t.flag(this,"ssfi"))}}if(typeof s=="function"){let b=s.name||s.prototype.constructor.name;return this.assert(f&&f instanceof s,`expected error to be instance of ${b}`,`expected error not to be instance of ${b}`,s,f)}if(s instanceof Error)return this.assert(f&&s.message===f.message,`expected error to have message: ${s.message}`,`expected error not to have message: ${s.message}`,s.message,f&&f.message);if(typeof s=="object"&&"asymmetricMatch"in s&&typeof s.asymmetricMatch=="function"){let b=s;return this.assert(f&&b.asymmetricMatch(f),"expected error to match asymmetric matcher","expected error not to match asymmetric matcher",b,f)}throw new Error(`"toThrow" expects string, RegExp, function, Error instance or asymmetric matcher, got "${typeof s}"`)}),[{name:"toHaveResolved",condition:s=>s.mock.settledResults.length>0&&s.mock.settledResults.some(({type:d})=>d==="fulfilled"),action:"resolved"},{name:["toHaveReturned","toReturn"],condition:s=>s.mock.calls.length>0&&s.mock.results.some(({type:d})=>d!=="throw"),action:"called"}].forEach(({name:s,condition:d,action:m})=>{o(s,function(){let p=i(this),f=p.getMockName(),b=d(p);this.assert(b,`expected "${f}" to be successfully ${m} at least once`,`expected "${f}" to not be successfully ${m}`,b,!b,!1)})}),[{name:"toHaveResolvedTimes",condition:(s,d)=>s.mock.settledResults.reduce((m,{type:p})=>p==="fulfilled"?++m:m,0)===d,action:"resolved"},{name:["toHaveReturnedTimes","toReturnTimes"],condition:(s,d)=>s.mock.results.reduce((m,{type:p})=>p==="throw"?m:++m,0)===d,action:"called"}].forEach(({name:s,condition:d,action:m})=>{o(s,function(p){let f=i(this),b=f.getMockName(),h=d(f,p);this.assert(h,`expected "${b}" to be successfully ${m} ${p} times`,`expected "${b}" to not be successfully ${m} ${p} times`,`expected resolved times: ${p}`,`received resolved times: ${h}`,!1)})}),[{name:"toHaveResolvedWith",condition:(s,d)=>s.mock.settledResults.some(({type:m,value:p})=>m==="fulfilled"&&Z(d,p)),action:"resolve"},{name:["toHaveReturnedWith","toReturnWith"],condition:(s,d)=>s.mock.results.some(({type:m,value:p})=>m==="return"&&Z(d,p)),action:"return"}].forEach(({name:s,condition:d,action:m})=>{o(s,function(p){let f=i(this),b=d(f,p),h=t.flag(this,"negate");if(b&&h||!b&&!h){let y=f.getMockName(),g=t.getMessage(this,[b,`expected "${y}" to ${m} with: #{exp} at least once`,`expected "${y}" to not ${m} with: #{exp}`,p]),E=m==="return"?f.mock.results:f.mock.settledResults;throw new r(c(f,E,g,p))}})}),[{name:"toHaveLastResolvedWith",condition:(s,d)=>{let m=s.mock.settledResults[s.mock.settledResults.length-1];return m&&m.type==="fulfilled"&&Z(m.value,d)},action:"resolve"},{name:["toHaveLastReturnedWith","lastReturnedWith"],condition:(s,d)=>{let m=s.mock.results[s.mock.results.length-1];return m&&m.type==="return"&&Z(m.value,d)},action:"return"}].forEach(({name:s,condition:d,action:m})=>{o(s,function(p){let f=i(this),b=m==="return"?f.mock.results:f.mock.settledResults,h=b[b.length-1],y=f.getMockName();this.assert(d(f,p),`expected last "${y}" call to ${m} #{exp}`,`expected last "${y}" call to not ${m} #{exp}`,p,h==null?void 0:h.value)})}),[{name:"toHaveNthResolvedWith",condition:(s,d,m)=>{let p=s.mock.settledResults[d-1];return p&&p.type==="fulfilled"&&Z(p.value,m)},action:"resolve"},{name:["toHaveNthReturnedWith","nthReturnedWith"],condition:(s,d,m)=>{let p=s.mock.results[d-1];return p&&p.type==="return"&&Z(p.value,m)},action:"return"}].forEach(({name:s,condition:d,action:m})=>{o(s,function(p,f){let b=i(this),h=b.getMockName(),y=(m==="return"?b.mock.results:b.mock.settledResults)[p-1],g=`${l(p)} call`;this.assert(d(b,p,f),`expected ${g} "${h}" call to ${m} #{exp}`,`expected ${g} "${h}" call to not ${m} #{exp}`,f,y==null?void 0:y.value)})}),o("toSatisfy",function(s,d){return this.be.satisfy(s,d)}),o("withContext",function(s){for(let d in s)t.flag(this,d,s[d]);return this}),t.addProperty(e.Assertion.prototype,"resolves",function(){let s=new Error("resolves");t.flag(this,"promise","resolves"),t.flag(this,"error",s);let d=t.flag(this,"vitest-test"),m=t.flag(this,"object");if(t.flag(this,"poll"))throw new SyntaxError("expect.poll() is not supported in combination with .resolves");if(typeof(m==null?void 0:m.then)!="function")throw new TypeError(`You must provide a Promise to expect() when using .resolves, not '${typeof m}'.`);let p=new Proxy(this,{get:(f,b,h)=>{let y=Reflect.get(f,b,h);return typeof y!="function"?y instanceof e.Assertion?p:y:async(...g)=>{let E=m.then(C=>(t.flag(this,"object",C),y.call(this,...g)),C=>{let q=new r(`promise rejected "${t.inspect(C)}" instead of resolving`,{showDiff:!1});throw q.cause=C,q.stack=s.stack.replace(s.message,q.message),q});return Vc(d,E)}}});return p}),t.addProperty(e.Assertion.prototype,"rejects",function(){let s=new Error("rejects");t.flag(this,"promise","rejects"),t.flag(this,"error",s);let d=t.flag(this,"vitest-test"),m=t.flag(this,"object"),p=typeof m=="function"?m():m;if(t.flag(this,"poll"))throw new SyntaxError("expect.poll() is not supported in combination with .rejects");if(typeof(p==null?void 0:p.then)!="function")throw new TypeError(`You must provide a Promise to expect() when using .rejects, not '${typeof p}'.`);let f=new Proxy(this,{get:(b,h,y)=>{let g=Reflect.get(b,h,y);return typeof g!="function"?g instanceof e.Assertion?f:g:async(...E)=>{let C=p.then(q=>{let _=new r(`promise resolved "${t.inspect(q)}" instead of rejecting`,{showDiff:!0,expected:new Error("rejected promise"),actual:q});throw _.stack=s.stack.replace(s.message,_.message),_},q=>(t.flag(this,"object",q),g.call(this,...E)));return Vc(d,C)}}});return f})};function aM(e,t){let r=e._obj,n=ot.flag(e,"negate"),o=ot.flag(e,"promise")||"",a={...rh(),diff:wr,stringify:Ge,iterableEquality:De,subsetEquality:_n};return{state:{...Zn(t),customTesters:ps(),isNot:n,utils:a,promise:o,equals:Z,suppressedErrors:[],soft:ot.flag(e,"soft"),poll:ot.flag(e,"poll")},isNot:n,obj:r}}var zc=class extends Error{constructor(e,t,r){super(e),this.actual=t,this.expected=r}};function iM(e,t,r){return(n,o)=>{Object.entries(r).forEach(([a,i])=>{function l(...d){let{state:m,isNot:p,obj:f}=aM(this,t),b=i.call(m,f,...d);if(b&&typeof b=="object"&&b instanceof Promise)return b.then(({pass:C,message:q,actual:_,expected:v})=>{if(C&&p||!C&&!p)throw new zc(q(),_,v)});let{pass:h,message:y,actual:g,expected:E}=b;if(h&&p||!h&&!p)throw new zc(y(),g,E)}let u=sh(o,l);o.addMethod(globalThis[rn].matchers,a,u),o.addMethod(e.Assertion.prototype,a,u);class c extends Lt{constructor(m=!1,...p){super(p,m)}asymmetricMatch(m){let{pass:p}=i.call(this.getMatcherContext(t),m,...this.sample);return this.inverse?!p:p}toString(){return`${this.inverse?"not.":""}${a}`}getExpectedType(){return"any"}toAsymmetricMatcher(){return`${this.toString()}<${this.sample.map(String).join(", ")}>`}}let s=(...d)=>new c(!1,...d);Object.defineProperty(t,a,{configurable:!0,enumerable:!0,value:s,writable:!0}),Object.defineProperty(t.not,a,{configurable:!0,enumerable:!0,value:(...d)=>new c(!0,...d),writable:!0}),Object.defineProperty(globalThis[Mi],a,{configurable:!0,enumerable:!0,value:s,writable:!0})})}}var lM=(e,t)=>{t.addMethod(e.expect,"extend",(r,n)=>{pr(iM(e,r,n))})};function sM(){pr(lM),pr(oM),pr(nM);let e=(n,o)=>{let{assertionCalls:a}=Zn(e);return La({assertionCalls:a+1,soft:!1},e),Vt(n,o)};Object.assign(e,Vt),e.getState=()=>Zn(e),e.setState=n=>La(n,e),e.extend=n=>Vt.extend(e,n),e.soft=(...n)=>{let o=e(...n);return e.setState({soft:!0}),o},e.unreachable=n=>{O.fail(`expected${n?` "${n}" `:" "}not to be reached`)};function t(n){let o=()=>new Error(`expected number of assertions to be ${n}, but got ${e.getState().assertionCalls}`);"captureStackTrace"in Error&&typeof Error.captureStackTrace=="function"&&Error.captureStackTrace(o(),t),e.setState({expectedAssertionsNumber:n,expectedAssertionsNumberErrorGen:o})}function r(){let n=new Error("expected any number of assertion, but got none");"captureStackTrace"in Error&&typeof Error.captureStackTrace=="function"&&Error.captureStackTrace(n,r),e.setState({isExpectingAssertions:!0,isExpectingAssertionsError:n})}return La({assertionCalls:0,isExpectingAssertions:!1,isExpectingAssertionsError:null,expectedAssertionsNumber:null,expectedAssertionsNumberErrorGen:null},e),ot.addMethod(e,"assertions",t),ot.addMethod(e,"hasAssertions",r),e.extend(ym),e}var uh=sM();Object.defineProperty(globalThis,cs,{value:uh,writable:!0,configurable:!0});var ji=new Set;function ch(e){return ji.add(e),()=>void ji.delete(e)}var uM=(...e)=>{let t=TA(...e);return ph(t)};function dh(e){let t=e?Mc(e):Mc();return ph(t)}function ph(e){let t=Gc(e),r=t.mockImplementation.bind(null);return t.mockImplementation=n=>Gc(r(n)),t}function Gc(e){let t=Qn(e),r=t.impl;return t.willCall(function(...n){return ji.forEach(o=>o(e,n)),r==null?void 0:r.apply(this,n)}),e}function mh(){vn.forEach(e=>e.mockClear())}function fh(){vn.forEach(e=>e.mockReset())}function hh(){vn.forEach(e=>e.mockRestore())}function cM(e,t={}){return e}var bh={};sl(bh,{buildQueries:()=>Ct,configure:()=>Rx,createEvent:()=>Ln,findAllByAltText:()=>_b,findAllByDisplayValue:()=>fb,findAllByLabelText:()=>Wh,findAllByPlaceholderText:()=>rb,findAllByRole:()=>jb,findAllByTestId:()=>Lb,findAllByText:()=>sb,findAllByTitle:()=>Pb,findByAltText:()=>Rb,findByDisplayValue:()=>hb,findByLabelText:()=>Kh,findByPlaceholderText:()=>nb,findByRole:()=>Nb,findByTestId:()=>Db,findByText:()=>ub,findByTitle:()=>Ob,fireEvent:()=>sn,getAllByAltText:()=>gb,getAllByDisplayValue:()=>pb,getAllByLabelText:()=>Yh,getAllByPlaceholderText:()=>eb,getAllByRole:()=>Mb,getAllByTestId:()=>Bb,getAllByText:()=>ib,getAllByTitle:()=>qb,getByAltText:()=>vb,getByDisplayValue:()=>mb,getByLabelText:()=>Jh,getByPlaceholderText:()=>tb,getByRole:()=>xb,getByTestId:()=>kb,getByText:()=>lb,getByTitle:()=>Eb,getConfig:()=>X,getDefaultNormalizer:()=>vs,getElementError:()=>Lo,getMultipleElementsFoundError:()=>Do,getNodeText:()=>Rn,getQueriesForElement:()=>Ui,getRoles:()=>Dh,getSuggestedQuery:()=>ro,isInaccessible:()=>ko,logDOM:()=>Ni,logRoles:()=>Px,makeFindQuery:()=>qr,makeGetAllQuery:()=>ws,makeSingleQuery:()=>Cr,prettyDOM:()=>an,prettyFormat:()=>fs,queries:()=>no,queryAllByAltText:()=>bb,queryAllByAttribute:()=>Zt,queryAllByDisplayValue:()=>cb,queryAllByLabelText:()=>Xh,queryAllByPlaceholderText:()=>Qh,queryAllByRole:()=>Sb,queryAllByTestId:()=>$b,queryAllByText:()=>ob,queryAllByTitle:()=>wb,queryByAltText:()=>yb,queryByAttribute:()=>Hh,queryByDisplayValue:()=>db,queryByLabelText:()=>zh,queryByPlaceholderText:()=>Zh,queryByRole:()=>Ab,queryByTestId:()=>Ib,queryByText:()=>ab,queryByTitle:()=>Cb,queryHelpers:()=>Dx,screen:()=>fj,waitFor:()=>Rs,waitForElementToBeRemoved:()=>lj,within:()=>Ui,wrapAllByQueryWithSuggestion:()=>ke,wrapSingleQueryWithSuggestion:()=>Nt});var fs=Fe(Ww()),dM=Object.prototype.toString;function Wc(e){return typeof e=="function"||dM.call(e)==="[object Function]"}function pM(e){var t=Number(e);return isNaN(t)?0:t===0||!isFinite(t)?t:(t>0?1:-1)*Math.floor(Math.abs(t))}var mM=Math.pow(2,53)-1;function fM(e){var t=pM(e);return Math.min(Math.max(t,0),mM)}function Xe(e,t){var r=Array,n=Object(e);if(e==null)throw new TypeError("Array.from requires an array-like object - not null or undefined");if(typeof t<"u"&&!Wc(t))throw new TypeError("Array.from: when provided, the second argument must be a function");for(var o=fM(n.length),a=Wc(r)?Object(new r(o)):new Array(o),i=0,l;i<o;)l=n[i],t?a[i]=t(l,i):a[i]=l,i+=1;return a.length=o,a}function nn(e){"@babel/helpers - typeof";return nn=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},nn(e)}function hM(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Kc(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,yh(n.key),n)}}function bM(e,t,r){return t&&Kc(e.prototype,t),r&&Kc(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function yM(e,t,r){return t=yh(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function yh(e){var t=gM(e,"string");return nn(t)==="symbol"?t:String(t)}function gM(e,t){if(nn(e)!=="object"||e===null)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t||"default");if(nn(n)!=="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var vM=function(){function e(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];hM(this,e),yM(this,"items",void 0),this.items=t}return bM(e,[{key:"add",value:function(t){return this.has(t)===!1&&this.items.push(t),this}},{key:"clear",value:function(){this.items=[]}},{key:"delete",value:function(t){var r=this.items.length;return this.items=this.items.filter(function(n){return n!==t}),r!==this.items.length}},{key:"forEach",value:function(t){var r=this;this.items.forEach(function(n){t(n,n,r)})}},{key:"has",value:function(t){return this.items.indexOf(t)!==-1}},{key:"size",get:function(){return this.items.length}}]),e}(),_M=typeof Set>"u"?Set:vM;function je(e){var t;return(t=e.localName)!==null&&t!==void 0?t:e.tagName.toLowerCase()}var RM={article:"article",aside:"complementary",button:"button",datalist:"listbox",dd:"definition",details:"group",dialog:"dialog",dt:"term",fieldset:"group",figure:"figure",form:"form",footer:"contentinfo",h1:"heading",h2:"heading",h3:"heading",h4:"heading",h5:"heading",h6:"heading",header:"banner",hr:"separator",html:"document",legend:"legend",li:"listitem",math:"math",main:"main",menu:"list",nav:"navigation",ol:"list",optgroup:"group",option:"option",output:"status",progress:"progressbar",section:"region",summary:"button",table:"table",tbody:"rowgroup",textarea:"textbox",tfoot:"rowgroup",td:"cell",th:"columnheader",thead:"rowgroup",tr:"row",ul:"list"},wM={caption:new Set(["aria-label","aria-labelledby"]),code:new Set(["aria-label","aria-labelledby"]),deletion:new Set(["aria-label","aria-labelledby"]),emphasis:new Set(["aria-label","aria-labelledby"]),generic:new Set(["aria-label","aria-labelledby","aria-roledescription"]),insertion:new Set(["aria-label","aria-labelledby"]),paragraph:new Set(["aria-label","aria-labelledby"]),presentation:new Set(["aria-label","aria-labelledby"]),strong:new Set(["aria-label","aria-labelledby"]),subscript:new Set(["aria-label","aria-labelledby"]),superscript:new Set(["aria-label","aria-labelledby"])};function CM(e,t){return["aria-atomic","aria-busy","aria-controls","aria-current","aria-describedby","aria-details","aria-dropeffect","aria-flowto","aria-grabbed","aria-hidden","aria-keyshortcuts","aria-label","aria-labelledby","aria-live","aria-owns","aria-relevant","aria-roledescription"].some(function(r){var n;return e.hasAttribute(r)&&!((n=wM[t])!==null&&n!==void 0&&n.has(r))})}function gh(e,t){return CM(e,t)}function qM(e){var t=PM(e);if(t===null||t==="presentation"){var r=EM(e);if(t!=="presentation"||gh(e,r||""))return r}return t}function EM(e){var t=RM[je(e)];if(t!==void 0)return t;switch(je(e)){case"a":case"area":case"link":if(e.hasAttribute("href"))return"link";break;case"img":return e.getAttribute("alt")===""&&!gh(e,"img")?"presentation":"img";case"input":{var r=e,n=r.type;switch(n){case"button":case"image":case"reset":case"submit":return"button";case"checkbox":case"radio":return n;case"range":return"slider";case"email":case"tel":case"text":case"url":return e.hasAttribute("list")?"combobox":"textbox";case"search":return e.hasAttribute("list")?"combobox":"searchbox";case"number":return"spinbutton";default:return null}}case"select":return e.hasAttribute("multiple")||e.size>1?"listbox":"combobox"}return null}function PM(e){var t=e.getAttribute("role");if(t!==null){var r=t.trim().split(" ")[0];if(r.length>0)return r}return null}function de(e){return e!==null&&e.nodeType===e.ELEMENT_NODE}function vh(e){return de(e)&&je(e)==="caption"}function kn(e){return de(e)&&je(e)==="input"}function OM(e){return de(e)&&je(e)==="optgroup"}function TM(e){return de(e)&&je(e)==="select"}function SM(e){return de(e)&&je(e)==="table"}function AM(e){return de(e)&&je(e)==="textarea"}function MM(e){var t=e.ownerDocument===null?e:e.ownerDocument,r=t.defaultView;if(r===null)throw new TypeError("no window available");return r}function xM(e){return de(e)&&je(e)==="fieldset"}function jM(e){return de(e)&&je(e)==="legend"}function NM(e){return de(e)&&je(e)==="slot"}function $M(e){return de(e)&&e.ownerSVGElement!==void 0}function IM(e){return de(e)&&je(e)==="svg"}function BM(e){return $M(e)&&je(e)==="title"}function to(e,t){if(de(e)&&e.hasAttribute(t)){var r=e.getAttribute(t).split(" "),n=e.getRootNode?e.getRootNode():e.ownerDocument;return r.map(function(o){return n.getElementById(o)}).filter(function(o){return o!==null})}return[]}function bt(e,t){return de(e)?t.indexOf(qM(e))!==-1:!1}function kM(e){return e.trim().replace(/\s\s+/g," ")}function LM(e,t){if(!de(e))return!1;if(e.hasAttribute("hidden")||e.getAttribute("aria-hidden")==="true")return!0;var r=t(e);return r.getPropertyValue("display")==="none"||r.getPropertyValue("visibility")==="hidden"}function DM(e){return bt(e,["button","combobox","listbox","textbox"])||_h(e,"range")}function _h(e,t){if(!de(e))return!1;switch(t){case"range":return bt(e,["meter","progressbar","scrollbar","slider","spinbutton"]);default:throw new TypeError("No knowledge about abstract role '".concat(t,"'. This is likely a bug :("))}}function Yc(e,t){var r=Xe(e.querySelectorAll(t));return to(e,"aria-owns").forEach(function(n){r.push.apply(r,Xe(n.querySelectorAll(t)))}),r}function FM(e){return TM(e)?e.selectedOptions||Yc(e,"[selected]"):Yc(e,'[aria-selected="true"]')}function HM(e){return bt(e,["none","presentation"])}function UM(e){return vh(e)}function VM(e){return bt(e,["button","cell","checkbox","columnheader","gridcell","heading","label","legend","link","menuitem","menuitemcheckbox","menuitemradio","option","radio","row","rowheader","switch","tab","tooltip","treeitem"])}function zM(e){return!1}function GM(e){return kn(e)||AM(e)?e.value:e.textContent||""}function Jc(e){var t=e.getPropertyValue("content");return/^["'].*["']$/.test(t)?t.slice(1,-1):""}function Rh(e){var t=je(e);return t==="button"||t==="input"&&e.getAttribute("type")!=="hidden"||t==="meter"||t==="output"||t==="progress"||t==="select"||t==="textarea"}function wh(e){if(Rh(e))return e;var t=null;return e.childNodes.forEach(function(r){if(t===null&&de(r)){var n=wh(r);n!==null&&(t=n)}}),t}function WM(e){if(e.control!==void 0)return e.control;var t=e.getAttribute("for");return t!==null?e.ownerDocument.getElementById(t):wh(e)}function KM(e){var t=e.labels;if(t===null)return t;if(t!==void 0)return Xe(t);if(!Rh(e))return null;var r=e.ownerDocument;return Xe(r.querySelectorAll("label")).filter(function(n){return WM(n)===e})}function YM(e){var t=e.assignedNodes();return t.length===0?Xe(e.childNodes):t}function Ch(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=new _M,n=MM(e),o=t.compute,a=o===void 0?"name":o,i=t.computedStyleSupportsPseudoElements,l=i===void 0?t.getComputedStyle!==void 0:i,u=t.getComputedStyle,c=u===void 0?n.getComputedStyle.bind(n):u,s=t.hidden,d=s===void 0?!1:s;function m(y,g){var E="";if(de(y)&&l){var C=c(y,"::before"),q=Jc(C);E="".concat(q," ").concat(E)}var _=NM(y)?YM(y):Xe(y.childNodes).concat(to(y,"aria-owns"));if(_.forEach(function(P){var j=h(P,{isEmbeddedInLabel:g.isEmbeddedInLabel,isReferenced:!1,recursion:!0}),$=de(P)?c(P).getPropertyValue("display"):"inline",B=$!=="inline"?" ":"";E+="".concat(B).concat(j).concat(B)}),de(y)&&l){var v=c(y,"::after"),w=Jc(v);E="".concat(E," ").concat(w)}return E.trim()}function p(y,g){var E=y.getAttributeNode(g);return E!==null&&!r.has(E)&&E.value.trim()!==""?(r.add(E),E.value):null}function f(y){return de(y)?p(y,"title"):null}function b(y){if(!de(y))return null;if(xM(y)){r.add(y);for(var g=Xe(y.childNodes),E=0;E<g.length;E+=1){var C=g[E];if(jM(C))return h(C,{isEmbeddedInLabel:!1,isReferenced:!1,recursion:!1})}}else if(SM(y)){r.add(y);for(var q=Xe(y.childNodes),_=0;_<q.length;_+=1){var v=q[_];if(vh(v))return h(v,{isEmbeddedInLabel:!1,isReferenced:!1,recursion:!1})}}else if(IM(y)){r.add(y);for(var w=Xe(y.childNodes),P=0;P<w.length;P+=1){var j=w[P];if(BM(j))return j.textContent}return null}else if(je(y)==="img"||je(y)==="area"){var $=p(y,"alt");if($!==null)return $}else if(OM(y)){var B=p(y,"label");if(B!==null)return B}if(kn(y)&&(y.type==="button"||y.type==="submit"||y.type==="reset")){var I=p(y,"value");if(I!==null)return I;if(y.type==="submit")return"Submit";if(y.type==="reset")return"Reset"}var A=KM(y);if(A!==null&&A.length!==0)return r.add(y),Xe(A).map(function(G){return h(G,{isEmbeddedInLabel:!0,isReferenced:!1,recursion:!0})}).filter(function(G){return G.length>0}).join(" ");if(kn(y)&&y.type==="image"){var k=p(y,"alt");if(k!==null)return k;var U=p(y,"title");return U!==null?U:"Submit Query"}if(bt(y,["button"])){var W=m(y,{isEmbeddedInLabel:!1,isReferenced:!1});if(W!=="")return W}return null}function h(y,g){if(r.has(y))return"";if(!d&&LM(y,c)&&!g.isReferenced)return r.add(y),"";var E=de(y)?y.getAttributeNode("aria-labelledby"):null,C=E!==null&&!r.has(E)?to(y,"aria-labelledby"):[];if(a==="name"&&!g.isReferenced&&C.length>0)return r.add(E),C.map(function($){return h($,{isEmbeddedInLabel:g.isEmbeddedInLabel,isReferenced:!0,recursion:!1})}).join(" ");var q=g.recursion&&DM(y)&&a==="name";if(!q){var _=(de(y)&&y.getAttribute("aria-label")||"").trim();if(_!==""&&a==="name")return r.add(y),_;if(!HM(y)){var v=b(y);if(v!==null)return r.add(y),v}}if(bt(y,["menu"]))return r.add(y),"";if(q||g.isEmbeddedInLabel||g.isReferenced){if(bt(y,["combobox","listbox"])){r.add(y);var w=FM(y);return w.length===0?kn(y)?y.value:"":Xe(w).map(function($){return h($,{isEmbeddedInLabel:g.isEmbeddedInLabel,isReferenced:!1,recursion:!0})}).join(" ")}if(_h(y,"range"))return r.add(y),y.hasAttribute("aria-valuetext")?y.getAttribute("aria-valuetext"):y.hasAttribute("aria-valuenow")?y.getAttribute("aria-valuenow"):y.getAttribute("value")||"";if(bt(y,["textbox"]))return r.add(y),GM(y)}if(VM(y)||de(y)&&g.isReferenced||UM(y)||zM()){var P=m(y,{isEmbeddedInLabel:g.isEmbeddedInLabel,isReferenced:!1});if(P!=="")return r.add(y),P}if(y.nodeType===y.TEXT_NODE)return r.add(y),y.textContent||"";if(g.recursion)return r.add(y),m(y,{isEmbeddedInLabel:g.isEmbeddedInLabel,isReferenced:!1});var j=f(y);return j!==null?(r.add(y),j):(r.add(y),"")}return kM(h(e,{isEmbeddedInLabel:!1,isReferenced:a==="description",recursion:!1}))}function on(e){"@babel/helpers - typeof";return on=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},on(e)}function Xc(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function Qc(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?Xc(Object(r),!0).forEach(function(n){JM(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Xc(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function JM(e,t,r){return t=XM(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function XM(e){var t=QM(e,"string");return on(t)==="symbol"?t:String(t)}function QM(e,t){if(on(e)!=="object"||e===null)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t||"default");if(on(n)!=="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function qh(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=to(e,"aria-describedby").map(function(o){return Ch(o,Qc(Qc({},t),{},{compute:"description"}))}).join(" ");if(r===""){var n=e.getAttribute("title");r=n===null?"":n}return r}function ZM(e){return bt(e,["caption","code","deletion","emphasis","generic","insertion","paragraph","presentation","strong","subscript","superscript"])}function hs(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return ZM(e)?"":Ch(e,t)}var Ue=Fe(jE()),ex=Fe(NE());function Eh(e){return e.replace(/</g,"<").replace(/>/g,">")}var tx=(e,t,r,n,o,a,i)=>{let l=n+r.indent,u=r.colors;return e.map(c=>{let s=t[c],d=i(s,r,l,o,a);return typeof s!="string"&&(d.indexOf(` -`)!==-1&&(d=r.spacingOuter+l+d+r.spacingOuter+n),d="{"+d+"}"),r.spacingInner+n+u.prop.open+c+u.prop.close+"="+u.value.open+d+u.value.close}).join("")},rx=3,nx=(e,t,r,n,o,a)=>e.map(i=>{let l=typeof i=="string"?Ph(i,t):a(i,t,r,n,o);return l===""&&typeof i=="object"&&i!==null&&i.nodeType!==rx?"":t.spacingOuter+r+l}).join(""),Ph=(e,t)=>{let r=t.colors.content;return r.open+Eh(e)+r.close},ox=(e,t)=>{let r=t.colors.comment;return r.open+"<!--"+Eh(e)+"-->"+r.close},ax=(e,t,r,n,o)=>{let a=n.colors.tag;return a.open+"<"+e+(t&&a.close+t+n.spacingOuter+o+a.open)+(r?">"+a.close+r+n.spacingOuter+o+a.open+"</"+e:(t&&!n.min?"":" ")+"/")+">"+a.close},ix=(e,t)=>{let r=t.colors.tag;return r.open+"<"+e+r.close+" …"+r.open+" />"+r.close},lx=1,Oh=3,Th=8,Sh=11,sx=/^((HTML|SVG)\w*)?Element$/,Ah=e=>{let{tagName:t}=e;return!!(typeof t=="string"&&t.includes("-")||typeof e.hasAttribute=="function"&&e.hasAttribute("is"))},ux=e=>{let t=e.constructor.name,{nodeType:r}=e;return r===lx&&(sx.test(t)||Ah(e))||r===Oh&&t==="Text"||r===Th&&t==="Comment"||r===Sh&&t==="DocumentFragment"};function cx(e){return e.nodeType===Oh}function dx(e){return e.nodeType===Th}function Fa(e){return e.nodeType===Sh}function px(e){return{test:t=>{var r;return((t==null||(r=t.constructor)==null?void 0:r.name)||Ah(t))&&ux(t)},serialize:(t,r,n,o,a,i)=>{if(cx(t))return Ph(t.data,r);if(dx(t))return ox(t.data,r);let l=Fa(t)?"DocumentFragment":t.tagName.toLowerCase();return++o>r.maxDepth?ix(l,r):ax(l,tx(Fa(t)?[]:Array.from(t.attributes).map(u=>u.name).sort(),Fa(t)?{}:Array.from(t.attributes).reduce((u,c)=>(u[c.name]=c.value,u),{}),r,n+r.indent,o,a,i),nx(Array.prototype.slice.call(t.childNodes||t.children).filter(e),r,n+r.indent,o,a,i),r,n)}}}var Mh=null,bs=null,ys=null;try{let e=module&&module.require;bs=e.call(module,"fs").readFileSync,ys=e.call(module,"@babel/code-frame").codeFrameColumns,Mh=e.call(module,"chalk")}catch{}function mx(e){let t=e.indexOf("(")+1,r=e.indexOf(")"),n=e.slice(t,r),o=n.split(":"),[a,i,l]=[o[0],parseInt(o[1],10),parseInt(o[2],10)],u="";try{u=bs(a,"utf-8")}catch{return""}let c=ys(u,{start:{line:i,column:l}},{highlightCode:!0,linesBelow:0});return Mh.dim(n)+` -`+c+` -`}function fx(){if(!bs||!ys)return"";let e=new Error().stack.split(` -`).slice(1).find(t=>!t.includes("node_modules/"));return mx(e)}var xh=3;function Ha(){return typeof jest<"u"&&jest!==null?setTimeout._isMockFunction===!0||Object.prototype.hasOwnProperty.call(setTimeout,"clock"):!1}function gs(){if(typeof window>"u")throw new Error("Could not find default container");return window.document}function jh(e){if(e.defaultView)return e.defaultView;if(e.ownerDocument&&e.ownerDocument.defaultView)return e.ownerDocument.defaultView;if(e.window)return e.window;throw e.ownerDocument&&e.ownerDocument.defaultView===null?new Error("It looks like the window object is not available for the provided node."):e.then instanceof Function?new Error("It looks like you passed a Promise object instead of a DOM node. Did you do something like `fireEvent.click(screen.findBy...` when you meant to use a `getBy` query `fireEvent.click(screen.getBy...`, or await the findBy query `fireEvent.click(await screen.findBy...`?"):Array.isArray(e)?new Error("It looks like you passed an Array instead of a DOM node. Did you do something like `fireEvent.click(screen.getAllBy...` when you meant to use a `getBy` query `fireEvent.click(screen.getBy...`?"):typeof e.debug=="function"&&typeof e.logTestingPlaygroundURL=="function"?new Error("It looks like you passed a `screen` object. Did you do something like `fireEvent.click(screen, ...` when you meant to use a query, e.g. `fireEvent.click(screen.getBy..., `?"):new Error("The given node is not an Element, the node type is: "+typeof e+".")}function wt(e){if(!e||typeof e.querySelector!="function"||typeof e.querySelectorAll!="function")throw new TypeError("Expected container to be an Element, a Document or a DocumentFragment but got "+t(e)+".");function t(r){return typeof r=="object"?r===null?"null":r.constructor.name:typeof r}}var hx=()=>{if(typeof process>"u")return!1;let e;try{var t;let r=(t=process.env)==null?void 0:t.COLORS;r&&(e=JSON.parse(r))}catch{}return typeof e=="boolean"?e:process.versions!==void 0&&process.versions.node!==void 0},{DOMCollection:bx}=fs.plugins,yx=1,gx=8;function vx(e){return e.nodeType!==gx&&(e.nodeType!==yx||!e.matches(X().defaultIgnore))}function an(e,t,r){if(r===void 0&&(r={}),e||(e=gs().body),typeof t!="number"&&(t=typeof process<"u"&&typeof process.env<"u"&&{}.DEBUG_PRINT_LIMIT||7e3),t===0)return"";e.documentElement&&(e=e.documentElement);let n=typeof e;if(n==="object"?n=e.constructor.name:e={},!("outerHTML"in e))throw new TypeError("Expected an element or document but got "+n);let{filterNode:o=vx,...a}=r,i=fs.format(e,{plugins:[px(o),bx],printFunctionName:!1,highlight:hx(),...a});return t!==void 0&&e.outerHTML.length>t?i.slice(0,t)+"...":i}var Ni=function(){let e=fx();console.log(e?an(...arguments)+` - -`+e:an(...arguments))},zt={testIdAttribute:"data-testid",asyncUtilTimeout:1e3,asyncWrapper:e=>e(),unstable_advanceTimersWrapper:e=>e(),eventWrapper:e=>e(),defaultHidden:!1,defaultIgnore:"script, style",showOriginalStackTrace:!1,throwSuggestions:!1,getElementError(e,t){let r=an(t),n=new Error([e,"Ignored nodes: comments, "+zt.defaultIgnore+` -`+r].filter(Boolean).join(` - -`));return n.name="TestingLibraryElementError",n},_disableExpensiveErrorDiagnostics:!1,computedStyleSupportsPseudoElements:!1};function _x(e){try{return zt._disableExpensiveErrorDiagnostics=!0,e()}finally{zt._disableExpensiveErrorDiagnostics=!1}}function Rx(e){typeof e=="function"&&(e=e(zt)),zt={...zt,...e}}function X(){return zt}var wx=["button","meter","output","progress","select","textarea","input"];function Nh(e){return wx.includes(e.nodeName.toLowerCase())?"":e.nodeType===xh?e.textContent:Array.from(e.childNodes).map(t=>Nh(t)).join("")}function $i(e){let t;return e.tagName.toLowerCase()==="label"?t=Nh(e):t=e.value||e.textContent,t}function $h(e){if(e.labels!==void 0){var t;return(t=e.labels)!=null?t:[]}if(!Cx(e))return[];let r=e.ownerDocument.querySelectorAll("label");return Array.from(r).filter(n=>n.control===e)}function Cx(e){return/BUTTON|METER|OUTPUT|PROGRESS|SELECT|TEXTAREA/.test(e.tagName)||e.tagName==="INPUT"&&e.getAttribute("type")!=="hidden"}function Ih(e,t,r){let{selector:n="*"}=r===void 0?{}:r,o=t.getAttribute("aria-labelledby"),a=o?o.split(" "):[];return a.length?a.map(i=>{let l=e.querySelector('[id="'+i+'"]');return l?{content:$i(l),formControl:null}:{content:"",formControl:null}}):Array.from($h(t)).map(i=>{let l=$i(i),u=Array.from(i.querySelectorAll("button, input, meter, output, progress, select, textarea")).filter(c=>c.matches(n))[0];return{content:l,formControl:u}})}function Bh(e){if(e==null)throw new Error("It looks like "+e+" was passed instead of a matcher. Did you do something like getByText("+e+")?")}function jr(e,t,r,n){if(typeof e!="string")return!1;Bh(r);let o=n(e);return typeof r=="string"||typeof r=="number"?o.toLowerCase().includes(r.toString().toLowerCase()):typeof r=="function"?r(o,t):kh(r,o)}function gt(e,t,r,n){if(typeof e!="string")return!1;Bh(r);let o=n(e);return r instanceof Function?r(o,t):r instanceof RegExp?kh(r,o):o===String(r)}function vs(e){let{trim:t=!0,collapseWhitespace:r=!0}=e===void 0?{}:e;return n=>{let o=n;return o=t?o.trim():o,o=r?o.replace(/\s+/g," "):o,o}}function Qt(e){let{trim:t,collapseWhitespace:r,normalizer:n}=e;if(!n)return vs({trim:t,collapseWhitespace:r});if(typeof t<"u"||typeof r<"u")throw new Error('trim and collapseWhitespace are not supported with a normalizer. If you want to use the default trim and collapseWhitespace logic in your normalizer, use "getDefaultNormalizer({trim, collapseWhitespace})" and compose that into your normalizer');return n}function kh(e,t){let r=e.test(t);return e.global&&e.lastIndex!==0&&(console.warn("To match all elements we had to reset the lastIndex of the RegExp because the global flag is enabled. We encourage to remove the global flag from the RegExp."),e.lastIndex=0),r}function Rn(e){return e.matches("input[type=submit], input[type=button], input[type=reset]")?e.value:Array.from(e.childNodes).filter(t=>t.nodeType===xh&&!!t.textContent).map(t=>t.textContent).join("")}var qx=Ex(Ue.elementRoles);function Lh(e){return e.hidden===!0||e.getAttribute("aria-hidden")==="true"||e.ownerDocument.defaultView.getComputedStyle(e).display==="none"}function ko(e,t){t===void 0&&(t={});let{isSubtreeInaccessible:r=Lh}=t;if(e.ownerDocument.defaultView.getComputedStyle(e).visibility==="hidden")return!0;let n=e;for(;n;){if(r(n))return!0;n=n.parentElement}return!1}function _s(e){for(let{match:t,roles:r}of qx)if(t(e))return[...r];return[]}function Ex(e){function t(i){let{name:l,attributes:u}=i;return""+l+u.map(c=>{let{name:s,value:d,constraints:m=[]}=c,p=m.indexOf("undefined")!==-1,f=m.indexOf("set")!==-1;return typeof d<"u"?"["+s+'="'+d+'"]':p?":not(["+s+"])":f?"["+s+"]:not(["+s+'=""])':"["+s+"]"}).join("")}function r(i){let{attributes:l=[]}=i;return l.length}function n(i,l){let{specificity:u}=i,{specificity:c}=l;return c-u}function o(i){let{attributes:l=[]}=i,u=l.findIndex(s=>s.value&&s.name==="type"&&s.value==="text");u>=0&&(l=[...l.slice(0,u),...l.slice(u+1)]);let c=t({...i,attributes:l});return s=>u>=0&&s.type!=="text"?!1:s.matches(c)}let a=[];for(let[i,l]of e.entries())a=[...a,{match:o(i),roles:Array.from(l),specificity:r(i)}];return a.sort(n)}function Dh(e,t){let{hidden:r=!1}=t===void 0?{}:t;function n(o){return[o,...Array.from(o.children).reduce((a,i)=>[...a,...n(i)],[])]}return n(e).filter(o=>r===!1?ko(o)===!1:!0).reduce((o,a)=>{let i=[];return a.hasAttribute("role")?i=a.getAttribute("role").split(" ").slice(0,1):i=_s(a),i.reduce((l,u)=>Array.isArray(l[u])?{...l,[u]:[...l[u],a]}:{...l,[u]:[a]},o)},{})}function Fh(e,t){let{hidden:r,includeDescription:n}=t,o=Dh(e,{hidden:r});return Object.entries(o).filter(a=>{let[i]=a;return i!=="generic"}).map(a=>{let[i,l]=a,u="-".repeat(50),c=l.map(s=>{let d='Name "'+hs(s,{computedStyleSupportsPseudoElements:X().computedStyleSupportsPseudoElements})+`": -`,m=an(s.cloneNode(!1));if(n){let p='Description "'+qh(s,{computedStyleSupportsPseudoElements:X().computedStyleSupportsPseudoElements})+`": -`;return""+d+p+m}return""+d+m}).join(` - -`);return i+`: - -`+c+` - -`+u}).join(` -`)}var Px=function(e,t){let{hidden:r=!1}=t===void 0?{}:t;return console.log(Fh(e,{hidden:r}))};function Ox(e){return e.tagName==="OPTION"?e.selected:wn(e,"aria-selected")}function Tx(e){return e.getAttribute("aria-busy")==="true"}function Sx(e){if(!("indeterminate"in e&&e.indeterminate))return"checked"in e?e.checked:wn(e,"aria-checked")}function Ax(e){return wn(e,"aria-pressed")}function Mx(e){var t,r;return(t=(r=wn(e,"aria-current"))!=null?r:e.getAttribute("aria-current"))!=null?t:!1}function xx(e){return wn(e,"aria-expanded")}function wn(e,t){let r=e.getAttribute(t);if(r==="true")return!0;if(r==="false")return!1}function jx(e){let t={H1:1,H2:2,H3:3,H4:4,H5:5,H6:6};return e.getAttribute("aria-level")&&Number(e.getAttribute("aria-level"))||t[e.tagName]}function Nx(e){let t=e.getAttribute("aria-valuenow");return t===null?void 0:+t}function $x(e){let t=e.getAttribute("aria-valuemax");return t===null?void 0:+t}function Ix(e){let t=e.getAttribute("aria-valuemin");return t===null?void 0:+t}function Bx(e){let t=e.getAttribute("aria-valuetext");return t===null?void 0:t}var Zc=vs();function kx(e){return e.replace(/[.*+\-?^${}()|[\]\\]/g,"\\$&")}function ed(e){return new RegExp(kx(e.toLowerCase()),"i")}function qt(e,t,r,n){let{variant:o,name:a}=n,i="",l={},u=[["Role","TestId"].includes(e)?r:ed(r)];a&&(l.name=ed(a)),e==="Role"&&ko(t)&&(l.hidden=!0,i=`Element is inaccessible. This means that the element and all its children are invisible to screen readers. - If you are using the aria-hidden prop, make sure this is the right choice for your case. - `),Object.keys(l).length>0&&u.push(l);let c=o+"By"+e;return{queryName:e,queryMethod:c,queryArgs:u,variant:o,warning:i,toString(){i&&console.warn(i);let[s,d]=u;return s=typeof s=="string"?"'"+s+"'":s,d=d?", { "+Object.entries(d).map(m=>{let[p,f]=m;return p+": "+f}).join(", ")+" }":"",c+"("+s+d+")"}}}function Et(e,t,r){return r&&(!t||t.toLowerCase()===e.toLowerCase())}function ro(e,t,r){var n,o;if(t===void 0&&(t="get"),e.matches(X().defaultIgnore))return;let a=(n=e.getAttribute("role"))!=null?n:(o=_s(e))==null?void 0:o[0];if(a!=="generic"&&Et("Role",r,a))return qt("Role",e,a,{variant:t,name:hs(e,{computedStyleSupportsPseudoElements:X().computedStyleSupportsPseudoElements})});let i=Ih(document,e).map(m=>m.content).join(" ");if(Et("LabelText",r,i))return qt("LabelText",e,i,{variant:t});let l=e.getAttribute("placeholder");if(Et("PlaceholderText",r,l))return qt("PlaceholderText",e,l,{variant:t});let u=Zc(Rn(e));if(Et("Text",r,u))return qt("Text",e,u,{variant:t});if(Et("DisplayValue",r,e.value))return qt("DisplayValue",e,Zc(e.value),{variant:t});let c=e.getAttribute("alt");if(Et("AltText",r,c))return qt("AltText",e,c,{variant:t});let s=e.getAttribute("title");if(Et("Title",r,s))return qt("Title",e,s,{variant:t});let d=e.getAttribute(X().testIdAttribute);if(Et("TestId",r,d))return qt("TestId",e,d,{variant:t})}function On(e,t){e.stack=t.stack.replace(t.message,e.message)}function Lx(e,t){let{container:r=gs(),timeout:n=X().asyncUtilTimeout,showOriginalStackTrace:o=X().showOriginalStackTrace,stackTraceError:a,interval:i=50,onTimeout:l=c=>(Object.defineProperty(c,"message",{value:X().getElementError(c.message,r).message}),c),mutationObserverOptions:u={subtree:!0,childList:!0,attributes:!0,characterData:!0}}=t;if(typeof e!="function")throw new TypeError("Received `callback` arg must be a function");return new Promise(async(c,s)=>{let d,m,p,f=!1,b="idle",h=setTimeout(q,n),y=Ha();if(y){let{unstable_advanceTimersWrapper:_}=X();for(C();!f;){if(!Ha()){let v=new Error("Changed from using fake timers to real timers while using waitFor. This is not allowed and will result in very strange behavior. Please ensure you're awaiting all async things your test is doing before changing to real timers. For more info, please go to https://github.com/testing-library/dom-testing-library/issues/830");o||On(v,a),s(v);return}if(await _(async()=>{jest.advanceTimersByTime(i)}),f)break;C()}}else{try{wt(r)}catch(v){s(v);return}m=setInterval(E,i);let{MutationObserver:_}=jh(r);p=new _(E),p.observe(r,u),C()}function g(_,v){f=!0,clearTimeout(h),y||(clearInterval(m),p.disconnect()),_?s(_):c(v)}function E(){if(Ha()){let _=new Error("Changed from using real timers to fake timers while using waitFor. This is not allowed and will result in very strange behavior. Please ensure you're awaiting all async things your test is doing before changing to fake timers. For more info, please go to https://github.com/testing-library/dom-testing-library/issues/830");return o||On(_,a),s(_)}else return C()}function C(){if(b!=="pending")try{let _=_x(e);typeof(_==null?void 0:_.then)=="function"?(b="pending",_.then(v=>{b="resolved",g(null,v)},v=>{b="rejected",d=v})):g(null,_)}catch(_){d=_}}function q(){let _;d?(_=d,!o&&_.name==="TestingLibraryElementError"&&On(_,a)):(_=new Error("Timed out in waitFor."),o||On(_,a)),g(l(_),null)}})}function Rs(e,t){let r=new Error("STACK_TRACE_MESSAGE");return X().asyncWrapper(()=>Lx(e,{stackTraceError:r,...t}))}function Lo(e,t){return X().getElementError(e,t)}function Do(e,t){return Lo(e+"\n\n(If this is intentional, then use the `*AllBy*` variant of the query (like `queryAllByText`, `getAllByText`, or `findAllByText`)).",t)}function Zt(e,t,r,n){let{exact:o=!0,collapseWhitespace:a,trim:i,normalizer:l}=n===void 0?{}:n,u=o?gt:jr,c=Qt({collapseWhitespace:a,trim:i,normalizer:l});return Array.from(t.querySelectorAll("["+e+"]")).filter(s=>u(s.getAttribute(e),s,r,c))}function Hh(e,t,r,n){let o=Zt(e,t,r,n);if(o.length>1)throw Do("Found multiple elements by ["+e+"="+r+"]",t);return o[0]||null}function Cr(e,t){return function(r){for(var n=arguments.length,o=new Array(n>1?n-1:0),a=1;a<n;a++)o[a-1]=arguments[a];let i=e(r,...o);if(i.length>1){let l=i.map(u=>Lo(null,u).message).join(` - -`);throw Do(t(r,...o)+` - -Here are the matching elements: - -`+l,r)}return i[0]||null}}function Uh(e,t){return X().getElementError(`A better query is available, try this: -`+e.toString()+` -`,t)}function ws(e,t){return function(r){for(var n=arguments.length,o=new Array(n>1?n-1:0),a=1;a<n;a++)o[a-1]=arguments[a];let i=e(r,...o);if(!i.length)throw X().getElementError(t(r,...o),r);return i}}function qr(e){return(t,r,n,o)=>Rs(()=>e(t,r,n),{container:t,...o})}var Nt=(e,t,r)=>function(n){for(var o=arguments.length,a=new Array(o>1?o-1:0),i=1;i<o;i++)a[i-1]=arguments[i];let l=e(n,...a),[{suggest:u=X().throwSuggestions}={}]=a.slice(-1);if(l&&u){let c=ro(l,r);if(c&&!t.endsWith(c.queryName))throw Uh(c.toString(),n)}return l},ke=(e,t,r)=>function(n){for(var o=arguments.length,a=new Array(o>1?o-1:0),i=1;i<o;i++)a[i-1]=arguments[i];let l=e(n,...a),[{suggest:u=X().throwSuggestions}={}]=a.slice(-1);if(l.length&&u){let c=[...new Set(l.map(s=>{var d;return(d=ro(s,r))==null?void 0:d.toString()}))];if(c.length===1&&!t.endsWith(ro(l[0],r).queryName))throw Uh(c[0],n)}return l};function Ct(e,t,r){let n=Nt(Cr(e,t),e.name,"query"),o=ws(e,r),a=Cr(o,t),i=Nt(a,e.name,"get"),l=ke(o,e.name.replace("query","get"),"getAll"),u=qr(ke(o,e.name,"findAll")),c=qr(Nt(a,e.name,"find"));return[n,l,i,u,c]}var Dx=Object.freeze({__proto__:null,getElementError:Lo,wrapAllByQueryWithSuggestion:ke,wrapSingleQueryWithSuggestion:Nt,getMultipleElementsFoundError:Do,queryAllByAttribute:Zt,queryByAttribute:Hh,makeSingleQuery:Cr,makeGetAllQuery:ws,makeFindQuery:qr,buildQueries:Ct});function Fx(e){return Array.from(e.querySelectorAll("label,input")).map(t=>({node:t,textToMatch:$i(t)})).filter(t=>{let{textToMatch:r}=t;return r!==null})}var Hx=function(e,t,r){let{exact:n=!0,trim:o,collapseWhitespace:a,normalizer:i}=r===void 0?{}:r,l=n?gt:jr,u=Qt({collapseWhitespace:a,trim:o,normalizer:i});return Fx(e).filter(c=>{let{node:s,textToMatch:d}=c;return l(d,s,t,u)}).map(c=>{let{node:s}=c;return s})},ln=function(e,t,r){let{selector:n="*",exact:o=!0,collapseWhitespace:a,trim:i,normalizer:l}=r===void 0?{}:r;wt(e);let u=o?gt:jr,c=Qt({collapseWhitespace:a,trim:i,normalizer:l}),s=Array.from(e.querySelectorAll("*")).filter(d=>$h(d).length||d.hasAttribute("aria-labelledby")).reduce((d,m)=>{let p=Ih(e,m,{selector:n});p.filter(b=>!!b.formControl).forEach(b=>{u(b.content,b.formControl,t,c)&&b.formControl&&d.push(b.formControl)});let f=p.filter(b=>!!b.content).map(b=>b.content);return u(f.join(" "),m,t,c)&&d.push(m),f.length>1&&f.forEach((b,h)=>{u(b,m,t,c)&&d.push(m);let y=[...f];y.splice(h,1),y.length>1&&u(y.join(" "),m,t,c)&&d.push(m)}),d},[]).concat(Zt("aria-label",e,t,{exact:o,normalizer:c}));return Array.from(new Set(s)).filter(d=>d.matches(n))},Wt=function(e,t){for(var r=arguments.length,n=new Array(r>2?r-2:0),o=2;o<r;o++)n[o-2]=arguments[o];let a=ln(e,t,...n);if(!a.length){let i=Hx(e,t,...n);if(i.length){let l=i.map(u=>Ux(e,u)).filter(u=>!!u);throw l.length?X().getElementError(l.map(u=>"Found a label with the text of: "+t+", however the element associated with this label (<"+u+" />) is non-labellable [https://html.spec.whatwg.org/multipage/forms.html#category-label]. If you really need to label a <"+u+" />, you can use aria-label or aria-labelledby instead.").join(` - -`),e):X().getElementError("Found a label with the text of: "+t+`, however no form control was found associated to that label. Make sure you're using the "for" attribute or "aria-labelledby" attribute correctly.`,e)}else throw X().getElementError("Unable to find a label with the text of: "+t,e)}return a};function Ux(e,t){let r=t.getAttribute("for");if(!r)return null;let n=e.querySelector('[id="'+r+'"]');return n?n.tagName.toLowerCase():null}var Vh=(e,t)=>"Found multiple elements with the text of: "+t,zh=Nt(Cr(ln,Vh),ln.name,"query"),Gh=Cr(Wt,Vh),Wh=qr(ke(Wt,Wt.name,"findAll")),Kh=qr(Nt(Gh,Wt.name,"find")),Yh=ke(Wt,Wt.name,"getAll"),Jh=Nt(Gh,Wt.name,"get"),Xh=ke(ln,ln.name,"queryAll"),Ii=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return wt(t[0]),Zt("placeholder",...t)},Vx=(e,t)=>"Found multiple elements with the placeholder text of: "+t,zx=(e,t)=>"Unable to find an element with the placeholder text of: "+t,Qh=ke(Ii,Ii.name,"queryAll"),[Zh,eb,tb,rb,nb]=Ct(Ii,Vx,zx),Bi=function(e,t,r){let{selector:n="*",exact:o=!0,collapseWhitespace:a,trim:i,ignore:l=X().defaultIgnore,normalizer:u}=r===void 0?{}:r;wt(e);let c=o?gt:jr,s=Qt({collapseWhitespace:a,trim:i,normalizer:u}),d=[];return typeof e.matches=="function"&&e.matches(n)&&(d=[e]),[...d,...Array.from(e.querySelectorAll(n))].filter(m=>!l||!m.matches(l)).filter(m=>c(Rn(m),m,t,s))},Gx=(e,t)=>"Found multiple elements with the text: "+t,Wx=function(e,t,r){r===void 0&&(r={});let{collapseWhitespace:n,trim:o,normalizer:a,selector:i}=r,l=Qt({collapseWhitespace:n,trim:o,normalizer:a})(t.toString()),u=l!==t.toString(),c=(i??"*")!=="*";return"Unable to find an element with the text: "+(u?l+" (normalized from '"+t+"')":t)+(c?", which matches selector '"+i+"'":"")+". This could be because the text is broken up by multiple elements. In this case, you can provide a function for your text matcher to make your matcher more flexible."},ob=ke(Bi,Bi.name,"queryAll"),[ab,ib,lb,sb,ub]=Ct(Bi,Gx,Wx),ki=function(e,t,r){let{exact:n=!0,collapseWhitespace:o,trim:a,normalizer:i}=r===void 0?{}:r;wt(e);let l=n?gt:jr,u=Qt({collapseWhitespace:o,trim:a,normalizer:i});return Array.from(e.querySelectorAll("input,textarea,select")).filter(c=>c.tagName==="SELECT"?Array.from(c.options).filter(s=>s.selected).some(s=>l(Rn(s),s,t,u)):l(c.value,c,t,u))},Kx=(e,t)=>"Found multiple elements with the display value: "+t+".",Yx=(e,t)=>"Unable to find an element with the display value: "+t+".",cb=ke(ki,ki.name,"queryAll"),[db,pb,mb,fb,hb]=Ct(ki,Kx,Yx),Jx=/^(img|input|area|.+-.+)$/i,Li=function(e,t,r){return r===void 0&&(r={}),wt(e),Zt("alt",e,t,r).filter(n=>Jx.test(n.tagName))},Xx=(e,t)=>"Found multiple elements with the alt text: "+t,Qx=(e,t)=>"Unable to find an element with the alt text: "+t,bb=ke(Li,Li.name,"queryAll"),[yb,gb,vb,_b,Rb]=Ct(Li,Xx,Qx),Zx=e=>{var t;return e.tagName.toLowerCase()==="title"&&((t=e.parentElement)==null?void 0:t.tagName.toLowerCase())==="svg"},Di=function(e,t,r){let{exact:n=!0,collapseWhitespace:o,trim:a,normalizer:i}=r===void 0?{}:r;wt(e);let l=n?gt:jr,u=Qt({collapseWhitespace:o,trim:a,normalizer:i});return Array.from(e.querySelectorAll("[title], svg > title")).filter(c=>l(c.getAttribute("title"),c,t,u)||Zx(c)&&l(Rn(c),c,t,u))},ej=(e,t)=>"Found multiple elements with the title: "+t+".",tj=(e,t)=>"Unable to find an element with the title: "+t+".",wb=ke(Di,Di.name,"queryAll"),[Cb,qb,Eb,Pb,Ob]=Ct(Di,ej,tj),Fi=function(e,t,r){let{hidden:n=X().defaultHidden,name:o,description:a,queryFallbacks:i=!1,selected:l,busy:u,checked:c,pressed:s,current:d,level:m,expanded:p,value:{now:f,min:b,max:h,text:y}={}}=r===void 0?{}:r;if(wt(e),l!==void 0){var g;if(((g=Ue.roles.get(t))==null?void 0:g.props["aria-selected"])===void 0)throw new Error('"aria-selected" is not supported on role "'+t+'".')}if(u!==void 0){var E;if(((E=Ue.roles.get(t))==null?void 0:E.props["aria-busy"])===void 0)throw new Error('"aria-busy" is not supported on role "'+t+'".')}if(c!==void 0){var C;if(((C=Ue.roles.get(t))==null?void 0:C.props["aria-checked"])===void 0)throw new Error('"aria-checked" is not supported on role "'+t+'".')}if(s!==void 0){var q;if(((q=Ue.roles.get(t))==null?void 0:q.props["aria-pressed"])===void 0)throw new Error('"aria-pressed" is not supported on role "'+t+'".')}if(d!==void 0){var _;if(((_=Ue.roles.get(t))==null?void 0:_.props["aria-current"])===void 0)throw new Error('"aria-current" is not supported on role "'+t+'".')}if(m!==void 0&&t!=="heading")throw new Error('Role "'+t+'" cannot have "level" property.');if(f!==void 0){var v;if(((v=Ue.roles.get(t))==null?void 0:v.props["aria-valuenow"])===void 0)throw new Error('"aria-valuenow" is not supported on role "'+t+'".')}if(h!==void 0){var w;if(((w=Ue.roles.get(t))==null?void 0:w.props["aria-valuemax"])===void 0)throw new Error('"aria-valuemax" is not supported on role "'+t+'".')}if(b!==void 0){var P;if(((P=Ue.roles.get(t))==null?void 0:P.props["aria-valuemin"])===void 0)throw new Error('"aria-valuemin" is not supported on role "'+t+'".')}if(y!==void 0){var j;if(((j=Ue.roles.get(t))==null?void 0:j.props["aria-valuetext"])===void 0)throw new Error('"aria-valuetext" is not supported on role "'+t+'".')}if(p!==void 0){var $;if((($=Ue.roles.get(t))==null?void 0:$.props["aria-expanded"])===void 0)throw new Error('"aria-expanded" is not supported on role "'+t+'".')}let B=new WeakMap;function I(A){return B.has(A)||B.set(A,Lh(A)),B.get(A)}return Array.from(e.querySelectorAll(rj(t))).filter(A=>{if(A.hasAttribute("role")){let k=A.getAttribute("role");if(i)return k.split(" ").filter(Boolean).some(W=>W===t);let[U]=k.split(" ");return U===t}return _s(A).some(k=>k===t)}).filter(A=>{if(l!==void 0)return l===Ox(A);if(u!==void 0)return u===Tx(A);if(c!==void 0)return c===Sx(A);if(s!==void 0)return s===Ax(A);if(d!==void 0)return d===Mx(A);if(p!==void 0)return p===xx(A);if(m!==void 0)return m===jx(A);if(f!==void 0||h!==void 0||b!==void 0||y!==void 0){let U=!0;if(f!==void 0&&U&&(U=f===Nx(A)),h!==void 0&&U&&(U=h===$x(A)),b!==void 0&&U&&(U=b===Ix(A)),y!==void 0){var k;U&&(U=gt((k=Bx(A))!=null?k:null,A,y,W=>W))}return U}return!0}).filter(A=>o===void 0?!0:gt(hs(A,{computedStyleSupportsPseudoElements:X().computedStyleSupportsPseudoElements}),A,o,k=>k)).filter(A=>a===void 0?!0:gt(qh(A,{computedStyleSupportsPseudoElements:X().computedStyleSupportsPseudoElements}),A,a,k=>k)).filter(A=>n===!1?ko(A,{isSubtreeInaccessible:I})===!1:!0)};function rj(e){var t;let r='*[role~="'+e+'"]',n=(t=Ue.roleElements.get(e))!=null?t:new Set,o=new Set(Array.from(n).map(a=>{let{name:i}=a;return i}));return[r].concat(Array.from(o)).join(",")}var Tb=e=>{let t="";return e===void 0?t="":typeof e=="string"?t=' and name "'+e+'"':t=" and name `"+e+"`",t},nj=function(e,t,r){let{name:n}=r===void 0?{}:r;return'Found multiple elements with the role "'+t+'"'+Tb(n)},oj=function(e,t,r){let{hidden:n=X().defaultHidden,name:o,description:a}=r===void 0?{}:r;if(X()._disableExpensiveErrorDiagnostics)return'Unable to find role="'+t+'"'+Tb(o);let i="";Array.from(e.children).forEach(s=>{i+=Fh(s,{hidden:n,includeDescription:a!==void 0})});let l;i.length===0?n===!1?l="There are no accessible roles. But there might be some inaccessible roles. If you wish to access them, then set the `hidden` option to `true`. Learn more about this here: https://testing-library.com/docs/dom-testing-library/api-queries#byrole":l="There are no available roles.":l=(` -Here are the `+(n===!1?"accessible":"available")+` roles: - - `+i.replace(/\n/g,` - `).replace(/\n\s\s\n/g,` - -`)+` -`).trim();let u="";o===void 0?u="":typeof o=="string"?u=' and name "'+o+'"':u=" and name `"+o+"`";let c="";return a===void 0?c="":typeof a=="string"?c=' and description "'+a+'"':c=" and description `"+a+"`",(` -Unable to find an `+(n===!1?"accessible ":"")+'element with the role "'+t+'"'+u+c+` - -`+l).trim()},Sb=ke(Fi,Fi.name,"queryAll"),[Ab,Mb,xb,jb,Nb]=Ct(Fi,nj,oj),Cs=()=>X().testIdAttribute,Hi=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return wt(t[0]),Zt(Cs(),...t)},aj=(e,t)=>"Found multiple elements by: ["+Cs()+'="'+t+'"]',ij=(e,t)=>"Unable to find an element by: ["+Cs()+'="'+t+'"]',$b=ke(Hi,Hi.name,"queryAll"),[Ib,Bb,kb,Lb,Db]=Ct(Hi,aj,ij),no=Object.freeze({__proto__:null,queryAllByLabelText:Xh,queryByLabelText:zh,getAllByLabelText:Yh,getByLabelText:Jh,findAllByLabelText:Wh,findByLabelText:Kh,queryByPlaceholderText:Zh,queryAllByPlaceholderText:Qh,getByPlaceholderText:tb,getAllByPlaceholderText:eb,findAllByPlaceholderText:rb,findByPlaceholderText:nb,queryByText:ab,queryAllByText:ob,getByText:lb,getAllByText:ib,findAllByText:sb,findByText:ub,queryByDisplayValue:db,queryAllByDisplayValue:cb,getByDisplayValue:mb,getAllByDisplayValue:pb,findAllByDisplayValue:fb,findByDisplayValue:hb,queryByAltText:yb,queryAllByAltText:bb,getByAltText:vb,getAllByAltText:gb,findAllByAltText:_b,findByAltText:Rb,queryByTitle:Cb,queryAllByTitle:wb,getByTitle:Eb,getAllByTitle:qb,findAllByTitle:Pb,findByTitle:Ob,queryByRole:Ab,queryAllByRole:Sb,getAllByRole:Mb,getByRole:xb,findAllByRole:jb,findByRole:Nb,queryByTestId:Ib,queryAllByTestId:$b,getByTestId:kb,getAllByTestId:Bb,findAllByTestId:Lb,findByTestId:Db});function Ui(e,t,r){return t===void 0&&(t=no),r===void 0&&(r={}),Object.keys(t).reduce((n,o)=>{let a=t[o];return n[o]=a.bind(null,e),n},r)}var Fb=e=>!e||Array.isArray(e)&&!e.length;function td(e){if(Fb(e))throw new Error("The element(s) given to waitForElementToBeRemoved are already removed. waitForElementToBeRemoved requires that the element(s) exist(s) before waiting for removal.")}async function lj(e,t){let r=new Error("Timed out in waitForElementToBeRemoved.");if(typeof e!="function"){td(e);let n=(Array.isArray(e)?e:[e]).map(o=>{let a=o.parentElement;if(a===null)return()=>null;for(;a.parentElement;)a=a.parentElement;return()=>a.contains(o)?o:null});e=()=>n.map(o=>o()).filter(Boolean)}return td(e()),Rs(()=>{let n;try{n=e()}catch(o){if(o.name==="TestingLibraryElementError")return;throw o}if(!Fb(n))throw r},t)}var rd={copy:{EventType:"ClipboardEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},cut:{EventType:"ClipboardEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},paste:{EventType:"ClipboardEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},compositionEnd:{EventType:"CompositionEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},compositionStart:{EventType:"CompositionEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},compositionUpdate:{EventType:"CompositionEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},keyDown:{EventType:"KeyboardEvent",defaultInit:{bubbles:!0,cancelable:!0,charCode:0,composed:!0}},keyPress:{EventType:"KeyboardEvent",defaultInit:{bubbles:!0,cancelable:!0,charCode:0,composed:!0}},keyUp:{EventType:"KeyboardEvent",defaultInit:{bubbles:!0,cancelable:!0,charCode:0,composed:!0}},focus:{EventType:"FocusEvent",defaultInit:{bubbles:!1,cancelable:!1,composed:!0}},blur:{EventType:"FocusEvent",defaultInit:{bubbles:!1,cancelable:!1,composed:!0}},focusIn:{EventType:"FocusEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},focusOut:{EventType:"FocusEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},change:{EventType:"Event",defaultInit:{bubbles:!0,cancelable:!1}},input:{EventType:"InputEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},invalid:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!0}},submit:{EventType:"Event",defaultInit:{bubbles:!0,cancelable:!0}},reset:{EventType:"Event",defaultInit:{bubbles:!0,cancelable:!0}},click:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,button:0,composed:!0}},contextMenu:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},dblClick:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},drag:{EventType:"DragEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},dragEnd:{EventType:"DragEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},dragEnter:{EventType:"DragEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},dragExit:{EventType:"DragEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},dragLeave:{EventType:"DragEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},dragOver:{EventType:"DragEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},dragStart:{EventType:"DragEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},drop:{EventType:"DragEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},mouseDown:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},mouseEnter:{EventType:"MouseEvent",defaultInit:{bubbles:!1,cancelable:!1,composed:!0}},mouseLeave:{EventType:"MouseEvent",defaultInit:{bubbles:!1,cancelable:!1,composed:!0}},mouseMove:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},mouseOut:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},mouseOver:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},mouseUp:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},select:{EventType:"Event",defaultInit:{bubbles:!0,cancelable:!1}},touchCancel:{EventType:"TouchEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},touchEnd:{EventType:"TouchEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},touchMove:{EventType:"TouchEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},touchStart:{EventType:"TouchEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},resize:{EventType:"UIEvent",defaultInit:{bubbles:!1,cancelable:!1}},scroll:{EventType:"UIEvent",defaultInit:{bubbles:!1,cancelable:!1}},wheel:{EventType:"WheelEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},abort:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},canPlay:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},canPlayThrough:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},durationChange:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},emptied:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},encrypted:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},ended:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},loadedData:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},loadedMetadata:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},loadStart:{EventType:"ProgressEvent",defaultInit:{bubbles:!1,cancelable:!1}},pause:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},play:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},playing:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},progress:{EventType:"ProgressEvent",defaultInit:{bubbles:!1,cancelable:!1}},rateChange:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},seeked:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},seeking:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},stalled:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},suspend:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},timeUpdate:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},volumeChange:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},waiting:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},load:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},error:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},animationStart:{EventType:"AnimationEvent",defaultInit:{bubbles:!0,cancelable:!1}},animationEnd:{EventType:"AnimationEvent",defaultInit:{bubbles:!0,cancelable:!1}},animationIteration:{EventType:"AnimationEvent",defaultInit:{bubbles:!0,cancelable:!1}},transitionCancel:{EventType:"TransitionEvent",defaultInit:{bubbles:!0,cancelable:!1}},transitionEnd:{EventType:"TransitionEvent",defaultInit:{bubbles:!0,cancelable:!0}},transitionRun:{EventType:"TransitionEvent",defaultInit:{bubbles:!0,cancelable:!1}},transitionStart:{EventType:"TransitionEvent",defaultInit:{bubbles:!0,cancelable:!1}},pointerOver:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},pointerEnter:{EventType:"PointerEvent",defaultInit:{bubbles:!1,cancelable:!1}},pointerDown:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},pointerMove:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},pointerUp:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},pointerCancel:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},pointerOut:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},pointerLeave:{EventType:"PointerEvent",defaultInit:{bubbles:!1,cancelable:!1}},gotPointerCapture:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},lostPointerCapture:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},popState:{EventType:"PopStateEvent",defaultInit:{bubbles:!0,cancelable:!1}},offline:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},online:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},pageHide:{EventType:"PageTransitionEvent",defaultInit:{bubbles:!0,cancelable:!0}},pageShow:{EventType:"PageTransitionEvent",defaultInit:{bubbles:!0,cancelable:!0}}},nd={doubleClick:"dblClick"};function sn(e,t){return X().eventWrapper(()=>{if(!t)throw new Error("Unable to fire an event - please provide an event object.");if(!e)throw new Error('Unable to fire a "'+t.type+'" event - please provide a DOM element.');return e.dispatchEvent(t)})}function Ln(e,t,r,n){let{EventType:o="Event",defaultInit:a={}}=n===void 0?{}:n;if(!t)throw new Error('Unable to fire a "'+e+'" event - please provide a DOM element.');let i={...a,...r},{target:{value:l,files:u,...c}={}}=i;l!==void 0&&sj(t,l),u!==void 0&&Object.defineProperty(t,"files",{configurable:!0,enumerable:!0,writable:!0,value:u}),Object.assign(t,c);let s=jh(t),d=s[o]||s.Event,m;if(typeof d=="function")m=new d(e,i);else{m=s.document.createEvent(o);let{bubbles:p,cancelable:f,detail:b,...h}=i;m.initEvent(e,p,f,b),Object.keys(h).forEach(y=>{m[y]=h[y]})}return["dataTransfer","clipboardData"].forEach(p=>{let f=i[p];typeof f=="object"&&(typeof s.DataTransfer=="function"?Object.defineProperty(m,p,{value:Object.getOwnPropertyNames(f).reduce((b,h)=>(Object.defineProperty(b,h,{value:f[h]}),b),new s.DataTransfer)}):Object.defineProperty(m,p,{value:f}))}),m}Object.keys(rd).forEach(e=>{let{EventType:t,defaultInit:r}=rd[e],n=e.toLowerCase();Ln[e]=(o,a)=>Ln(n,o,a,{EventType:t,defaultInit:r}),sn[e]=(o,a)=>sn(o,Ln[e](o,a))});function sj(e,t){let{set:r}=Object.getOwnPropertyDescriptor(e,"value")||{},n=Object.getPrototypeOf(e),{set:o}=Object.getOwnPropertyDescriptor(n,"value")||{};if(o&&r!==o)o.call(e,t);else if(r)r.call(e,t);else throw new Error("The given element does not have a value setter")}Object.keys(nd).forEach(e=>{let t=nd[e];sn[e]=function(){return sn[t](...arguments)}});function uj(e){return e.replace(/[ \t]*[\n][ \t]*/g,` -`)}function cj(e){return ex.default.compressToEncodedURIComponent(uj(e))}function dj(e){return"https://testing-playground.com/#markup="+cj(e)}var pj=(e,t,r)=>Array.isArray(e)?e.forEach(n=>Ni(n,t,r)):Ni(e,t,r),mj=function(e){if(e===void 0&&(e=gs().body),!e||!("innerHTML"in e)){console.log("The element you're providing isn't a valid DOM element.");return}if(!e.innerHTML){console.log("The provided element doesn't have any children.");return}let t=dj(e.innerHTML);return console.log(`Open this URL in your browser - -`+t),t},od={debug:pj,logTestingPlaygroundURL:mj},fj=typeof document<"u"&&document.body?Ui(document.body,no,od):Object.keys(no).reduce((e,t)=>(e[t]=()=>{throw new TypeError("For queries bound to document.body a global document has to be available... Learn more: https://testing-library.com/s/screen-global-error")},e),od);function Y(e,t,r){return e.namespaceURI&&e.namespaceURI!=="http://www.w3.org/1999/xhtml"||(t=Array.isArray(t)?t:[t],!t.includes(e.tagName.toLowerCase()))?!1:r?Object.entries(r).every(([n,o])=>e[n]===o):!0}var Vi;(function(e){e.button="button",e.color="color",e.file="file",e.image="image",e.reset="reset",e.submit="submit",e.checkbox="checkbox",e.radio="radio"})(Vi||(Vi={}));function Hb(e){return Y(e,"button")||Y(e,"input")&&e.type in Vi}function it(e){var t;if(hj(e)&&e.defaultView)return e.defaultView;if(!((t=e.ownerDocument)===null||t===void 0)&&t.defaultView)return e.ownerDocument.defaultView;throw new Error(`Could not determine window of node. Node was ${bj(e)}`)}function hj(e){return e.nodeType===9}function bj(e){return typeof e=="function"?`function ${e.name}`:e===null?"null":String(e)}function Ub(e,t){return new Promise((r,n)=>{let o=new t;o.onerror=n,o.onabort=n,o.onload=()=>{r(String(o.result))},o.readAsText(e)})}function qs(e,t){let r={...t,length:t.length,item:n=>r[n],[Symbol.iterator]:function*(){for(let n=0;n<r.length;n++)yield r[n]}};return r.constructor=e.FileList,e.FileList&&Object.setPrototypeOf(r,e.FileList.prototype),Object.freeze(r),r}function Mt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var Vb=class{getAsFile(){return this.file}getAsString(e){typeof this.data=="string"&&e(this.data)}webkitGetAsEntry(){throw new Error("not implemented")}constructor(e,t){Mt(this,"kind",void 0),Mt(this,"type",void 0),Mt(this,"file",null),Mt(this,"data",void 0),typeof e=="string"?(this.kind="string",this.type=String(t),this.data=e):(this.kind="file",this.type=e.type,this.file=e)}},yj=class extends Array{add(...e){let t=new Vb(e[0],e[1]);return this.push(t),t}clear(){this.splice(0,this.length)}remove(e){this.splice(e,1)}};function Tn(e,t){let[r,n]=e.split("/"),o=!n||n==="*";return a=>t?a.type===(o?r:e):o?a.type.startsWith(`${r}/`):a.type===r}function gj(e){return new class{getData(t){var r;let n=(r=this.items.find(Tn(t,!0)))!==null&&r!==void 0?r:this.items.find(Tn(t,!1)),o="";return n==null||n.getAsString(a=>{o=a}),o}setData(t,r){let n=this.items.findIndex(Tn(t,!0)),o=new Vb(r,t);n>=0?this.items.splice(n,1,o):this.items.push(o)}clearData(t){if(t){let r=this.items.findIndex(Tn(t,!0));r>=0&&this.items.remove(r)}else this.items.clear()}get types(){let t=[];return this.files.length&&t.push("Files"),this.items.forEach(r=>t.push(r.type)),Object.freeze(t),t}setDragImage(){}constructor(){Mt(this,"dropEffect","none"),Mt(this,"effectAllowed","uninitialized"),Mt(this,"items",new yj),Mt(this,"files",qs(e,[]))}}}function Es(e,t=[]){let r=typeof e.DataTransfer>"u"?gj(e):new e.DataTransfer;return Object.defineProperty(r,"files",{get:()=>qs(e,t)}),r}function vj(e,t){if(t.kind==="file")return t.getAsFile();let r="";return t.getAsString(n=>{r=n}),new e.Blob([r],{type:t.type})}function zb(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Gb(e,...t){let r=Object.fromEntries(t.map(n=>[typeof n=="string"?"text/plain":n.type,Promise.resolve(n)]));return typeof e.ClipboardItem<"u"?new e.ClipboardItem(r):new class{get types(){return Array.from(Object.keys(this.data))}async getType(n){let o=await this.data[n];if(!o)throw new Error(`${n} is not one of the available MIME types on this item.`);return o instanceof e.Blob?o:new e.Blob([o],{type:n})}constructor(n){zb(this,"data",void 0),this.data=n}}(r)}var Er=Symbol("Manage ClipboardSub");function ad(e,t){return Object.assign(new class extends e.EventTarget{async read(){return Array.from(this.items)}async readText(){let r="";for(let n of this.items){let o=n.types.includes("text/plain")?"text/plain":n.types.find(a=>a.startsWith("text/"));o&&(r+=await n.getType(o).then(a=>Ub(a,e.FileReader)))}return r}async write(r){this.items=r}async writeText(r){this.items=[Gb(e,r)]}constructor(...r){super(...r),zb(this,"items",[])}},{[Er]:t})}function Ps(e){return!!(e!=null&&e[Er])}function _j(e){if(Ps(e.navigator.clipboard))return e.navigator.clipboard[Er];let t=Object.getOwnPropertyDescriptor(e.navigator,"clipboard"),r,n={resetClipboardStub:()=>{r=ad(e,n)},detachClipboardStub:()=>{t?Object.defineProperty(e.navigator,"clipboard",t):Object.defineProperty(e.navigator,"clipboard",{value:void 0,configurable:!0})}};return r=ad(e,n),Object.defineProperty(e.navigator,"clipboard",{get:()=>r,configurable:!0}),r[Er]}function Rj(e){Ps(e.navigator.clipboard)&&e.navigator.clipboard[Er].resetClipboardStub()}function wj(e){Ps(e.navigator.clipboard)&&e.navigator.clipboard[Er].detachClipboardStub()}async function Cj(e){let t=e.defaultView,r=t==null?void 0:t.navigator.clipboard,n=r&&await r.read();if(!n)throw new Error("The Clipboard API is unavailable.");let o=Es(t);for(let a of n)for(let i of a.types)o.setData(i,await a.getType(i).then(l=>Ub(l,t.FileReader)));return o}async function Wb(e,t){let r=it(e),n=r.navigator.clipboard,o=[];for(let a=0;a<t.items.length;a++){let i=t.items[a],l=vj(r,i);o.push(Gb(r,l))}if(!(n&&await n.write(o).then(()=>!0,()=>!1)))throw new Error("The Clipboard API is unavailable.")}var oo=globalThis;typeof oo.afterEach=="function"&&oo.afterEach(()=>Rj(globalThis.window));typeof oo.afterAll=="function"&&oo.afterAll(()=>wj(globalThis.window));function Kt(e){return e.hasAttribute("contenteditable")&&(e.getAttribute("contenteditable")=="true"||e.getAttribute("contenteditable")=="")}function un(e){let t=qj(e);return t&&(t.closest('[contenteditable=""]')||t.closest('[contenteditable="true"]'))}function qj(e){return e.nodeType===1?e:e.parentElement}function Pr(e){return Kb(e)&&!e.readOnly||Kt(e)}var zi;(function(e){e.text="text",e.date="date",e["datetime-local"]="datetime-local",e.email="email",e.month="month",e.number="number",e.password="password",e.search="search",e.tel="tel",e.time="time",e.url="url",e.week="week"})(zi||(zi={}));function Kb(e){return Y(e,"textarea")||Y(e,"input")&&e.type in zi}var Gi;(function(e){e.email="email",e.password="password",e.search="search",e.telephone="telephone",e.text="text",e.url="url"})(Gi||(Gi={}));function Ej(e){var t;let r=(t=e.getAttribute("maxlength"))!==null&&t!==void 0?t:"";return/^\d+$/.test(r)&&Number(r)>=0?Number(r):void 0}function Pj(e){return Y(e,"textarea")||Y(e,"input")&&e.type in Gi}var Yb=["input:not([type=hidden]):not([disabled])","button:not([disabled])","select:not([disabled])","textarea:not([disabled])",'[contenteditable=""]','[contenteditable="true"]',"a[href]","[tabindex]:not([disabled])"].join(", ");function Os(e){return e.matches(Yb)}var ao;(function(e){e["{"]="}",e["["]="]"})(ao||(ao={}));function Jb(e,t){let r=0,n=e[r]in ao?e[r]:"";r+=n.length;let o=new RegExp(`^\\${n}{2}`).test(e)?"":n;return{type:o,...o===""?Oj(e,r,t):Tj(e,r,o,t)}}function Oj(e,t,r){let n=e[t];return Xb(n,e,t,r),t+=n.length,{consumedLength:t,descriptor:n,releasePrevious:!1,releaseSelf:!0,repeat:1}}function Tj(e,t,r,n){var o,a;let i=e[t]==="/"?"/":"";t+=i.length;let l=r==="{"&&e[t]==="\\";t+=Number(l);let u=l?e[t]:(o=e.slice(t).match(r==="{"?/^\w+|^[^}>/]/:/^\w+/))===null||o===void 0?void 0:o[0];Xb(u,e,t,n),t+=u.length;var c;let s=(c=(a=e.slice(t).match(/^>\d+/))===null||a===void 0?void 0:a[0])!==null&&c!==void 0?c:"";t+=s.length;let d=e[t]==="/"||!s&&e[t]===">"?e[t]:"";t+=d.length;let m=ao[r],p=e[t]===m?m:"";if(!p)throw new Error(Qb([!s&&"repeat modifier",!d&&"release modifier",`"${m}"`].filter(Boolean).join(" or "),e[t],e,n));return t+=p.length,{consumedLength:t,descriptor:u,releasePrevious:!!i,repeat:s?Math.max(Number(s.substr(1)),1):1,releaseSelf:Sj(d,s)}}function Xb(e,t,r,n){if(!e)throw new Error(Qb("key descriptor",t[r],t,n))}function Sj(e,t){if(e)return e==="/";if(t)return!1}function Qb(e,t,r,n){return`Expected ${e} but found "${t??""}" in "${r}" - See ${n==="pointer"?"https://testing-library.com/docs/user-event/pointer#pressing-a-button-or-touching-the-screen":"https://testing-library.com/docs/user-event/keyboard"} - for more information about how userEvent parses your input.`}function Aj(e){return new e.constructor(e.type,e)}var Ie;(function(e){e[e.Trigger=2]="Trigger",e[e.Call=1]="Call"})(Ie||(Ie={}));function Lr(e,t){e.levelRefs[t]={}}function Sn(e,t){return e.levelRefs[t]}var fr;(function(e){e[e.EachTrigger=4]="EachTrigger",e[e.EachApiCall=2]="EachApiCall",e[e.EachTarget=1]="EachTarget",e[e.Never=0]="Never"})(fr||(fr={}));function vt(e){for(let r=e;r;r=r.parentElement)if(Y(r,["button","input","select","textarea","optgroup","option"])){if(r.hasAttribute("disabled"))return!0}else if(Y(r,"fieldset")){var t;if(r.hasAttribute("disabled")&&!(!((t=r.querySelector(":scope > legend"))===null||t===void 0)&&t.contains(e)))return!0}else if(r.tagName.includes("-")&&r.constructor.formAssociated&&r.hasAttribute("disabled"))return!0;return!1}function Fo(e){let t=e.activeElement;return t!=null&&t.shadowRoot?Fo(t.shadowRoot):vt(t)?e.ownerDocument?e.ownerDocument.body:e.body:t}function Ua(e){var t;return(t=Fo(e))!==null&&t!==void 0?t:e.body}function Mj(e,t){let r=e;do{if(t(r))return r;r=r.parentElement}while(r&&r!==e.ownerDocument.body)}function lt(e){return Zb(e)&&Kb(e)}function xj(e){return Zb(e)&&Hb(e)}function Zb(e){return e.nodeType===1}function jj(e){let t=e.ownerDocument.getSelection();if(t!=null&&t.focusNode&<(e)){let n=un(t.focusNode);if(n){if(!t.isCollapsed){var r;let o=((r=n.firstChild)===null||r===void 0?void 0:r.nodeType)===3?n.firstChild:n;t.setBaseAndExtent(o,0,o,0)}}else t.setBaseAndExtent(e,0,e,0)}}function Or(e,t){return X().eventWrapper(e)}function $t(e){let t=Mj(e,Os),r=Fo(e.ownerDocument);(t??e.ownerDocument.body)!==r&&(Or(t?()=>t.focus():()=>r==null?void 0:r.blur()),jj(t??e.ownerDocument.body))}function Nj(e){!Os(e)||Fo(e.ownerDocument)!==e||Or(()=>e.blur())}var It={};It.click=(e,t,r)=>{let n=t.closest("button,input,label,select,textarea"),o=n&&Y(n,"label")&&n.control;if(o)return()=>{Os(o)&&$t(o),r.dispatchEvent(o,Aj(e))};if(Y(t,"input",{type:"file"}))return()=>{Nj(t),t.dispatchEvent(new(it(t)).Event("fileDialog")),$t(t)}};var Tr=Symbol("Displayed value in UI"),yt=Symbol("Displayed selection in UI"),io=Symbol("Initial value to compare on blur");function $j(e){return typeof e=="object"&&Tr in e}function Ij(e){return!!e&&typeof e=="object"&&yt in e}function Bj(e,t){e[io]===void 0&&(e[io]=e.value),e[Tr]=t,e.value=Object.assign(new String(t),{[Tr]:!0})}function st(e){return e[Tr]===void 0?e.value:String(e[Tr])}function Ts(e){e[Tr]=void 0}function ey(e){e[io]=void 0}function kj(e){return e[io]}function Lj(e,t){e[yt]=t}function Nr(e,{focusOffset:t,anchorOffset:r=t},n="replace"){let o=st(e).length,a=d=>Math.max(0,Math.min(o,d)),i=n==="replace"||e[yt]===void 0?a(r):e[yt].anchorOffset,l=a(t),u=Math.min(i,l),c=Math.max(i,l);if(e[yt]={anchorOffset:i,focusOffset:l},e.selectionStart===u&&e.selectionEnd===c)return;let s=Object.assign(new Number(u),{[yt]:!0});try{e.setSelectionRange(s,c)}catch{}}function cn(e){var t,r,n;let o=(n=e[yt])!==null&&n!==void 0?n:{anchorOffset:(t=e.selectionStart)!==null&&t!==void 0?t:0,focusOffset:(r=e.selectionEnd)!==null&&r!==void 0?r:0};return{...o,startOffset:Math.min(o.anchorOffset,o.focusOffset),endOffset:Math.max(o.anchorOffset,o.focusOffset)}}function Dj(e){return!!e[yt]}function Dn(e){e[yt]=void 0}var lo=globalThis.parseInt;function Fj(e){let t=e.replace(/\D/g,"");if(t.length<2)return e;let r=lo(t[0],10),n=lo(t[1],10);if(r>=3||r===2&&n>=4){let o;return r>=3?o=1:o=2,id(t,o)}return e.length===2?e:id(t,2)}function id(e,t){let r=e.slice(0,t),n=Math.min(lo(r,10),23),o=e.slice(t),a=lo(o,10),i=Math.min(a,59);return`${n.toString().padStart(2,"0")}:${i.toString().padStart(2,"0")}`}function ty(e,t){let r=e.cloneNode();return r.value=t,r.value===t}function ry(e,t,r,n){if(Fn(e)&&t+r>=0&&t+r<=e.nodeValue.length)return{node:e,offset:t+r};let o=ld(e,t,r);if(o){if(Fn(o))return{node:o,offset:r>0?Math.min(1,o.nodeValue.length):Math.max(o.nodeValue.length-1,0)};if(Y(o,"br")){let a=ld(o,void 0,r);return a?Fn(a)?{node:a,offset:r>0?0:a.nodeValue.length}:r<0&&Y(a,"br")?{node:o.parentNode,offset:An(o)}:{node:a.parentNode,offset:An(a)+(r>0?0:1)}:r<0&&n==="deleteContentBackward"?{node:o.parentNode,offset:An(o)}:void 0}else return{node:o.parentNode,offset:An(o)+(r>0?1:0)}}}function ld(e,t,r){let n=Number(t)+(r<0?-1:0);return t!==void 0&&Ss(e)&&n>=0&&n<e.children.length&&(e=e.children[n]),Uj(e,r===1?"next":"previous",Hj)}function Hj(e){if(Fn(e))return!0;if(Ss(e)){if(Y(e,["input","textarea"]))return e.type!=="hidden";if(Y(e,"br"))return!0}return!1}function An(e){let t=0;for(;e.previousSibling;)t++,e=e.previousSibling;return t}function Ss(e){return e.nodeType===1}function Fn(e){return e.nodeType===3}function Uj(e,t,r){for(;;){var n;let o=e[`${t}Sibling`];if(o){if(e=Vj(o,t==="next"?"first":"last"),r(e))return e}else if(e.parentNode&&(!Ss(e.parentNode)||!Kt(e.parentNode)&&e.parentNode!==((n=e.ownerDocument)===null||n===void 0?void 0:n.body)))e=e.parentNode;else break}}function Vj(e,t){for(;e.hasChildNodes();)e=e[`${t}Child`];return e}var dn=Symbol("Track programmatic changes for React workaround");function zj(e){return Object.getOwnPropertyNames(e).some(t=>t.startsWith("__react"))&&it(e).REACT_VERSION===17}function Gj(e){zj(e)&&(e[dn]={previousValue:String(e.value),tracked:[]})}function Wj(e,t){var r,n;(n=e[dn])===null||n===void 0||(r=n.tracked)===null||r===void 0||r.push(t),e[dn]||(Ts(e),Nr(e,{focusOffset:t.length}))}function Kj(e,t){var r;let n=e[dn];if(e[dn]=void 0,!(!(n==null||(r=n.tracked)===null||r===void 0)&&r.length))return;let o=n.tracked.length===2&&n.tracked[0]===n.previousValue&&n.tracked[1]===e.value;o||Ts(e),Dj(e)&&Nr(e,{focusOffset:o?t:e.value.length})}function ny(e){let t=Yj(e);if(t&<(t))return{type:"input",selection:cn(t)};let r=t==null?void 0:t.ownerDocument.getSelection();return{type:un(e)&&(r!=null&&r.anchorNode)&&un(r.anchorNode)?"contenteditable":"default",selection:r}}function Yj(e){return e.nodeType===1?e:e.parentElement}function Jj(e){let t=ny(e);if(t.type==="input")return t.selection;if(t.type==="contenteditable"){var r;return(r=t.selection)===null||r===void 0?void 0:r.getRangeAt(0)}}function Yt({focusNode:e,focusOffset:t,anchorNode:r=e,anchorOffset:n=t}){var o,a;if(ny(e).type==="input")return Nr(e,{anchorOffset:n,focusOffset:t});(a=r.ownerDocument)===null||a===void 0||(o=a.getSelection())===null||o===void 0||o.setBaseAndExtent(r,n,e,t)}function oy(e){return Y(e,"input")&&["date","time"].includes(e.type)}function Sr(e,t,r,n="insertText"){let o=Jj(t);o&&(!oy(t)&&!e.dispatchUIEvent(t,"beforeinput",{inputType:n,data:r})||("startContainer"in o?Xj(e,t,o,r,n):Qj(e,t,o,r,n)))}function Xj(e,t,r,n,o){let a=!1;if(!r.collapsed)a=!0,r.deleteContents();else if(["deleteContentBackward","deleteContentForward"].includes(o)){let i=ry(r.startContainer,r.startOffset,o==="deleteContentBackward"?-1:1,o);if(i){a=!0;let l=r.cloneRange();l.comparePoint(i.node,i.offset)<0?l.setStart(i.node,i.offset):l.setEnd(i.node,i.offset),l.deleteContents()}}if(n)if(r.endContainer.nodeType===3){let i=r.endOffset;r.endContainer.insertData(i,n),r.setStart(r.endContainer,i+n.length),r.setEnd(r.endContainer,i+n.length)}else{let i=t.ownerDocument.createTextNode(n);r.insertNode(i),r.setStart(i,n.length),r.setEnd(i,n.length)}(a||n)&&e.dispatchUIEvent(t,"input",{inputType:o})}function Qj(e,t,r,n,o){let a=n;if(Pj(t)){let c=Ej(t);if(c!==void 0&&n.length>0){let s=c-t.value.length;if(s>0)a=n.substring(0,s);else return}}let{newValue:i,newOffset:l,oldValue:u}=Zj(a,t,r,o);i===u&&l===r.startOffset&&l===r.endOffset||Y(t,"input",{type:"number"})&&!eN(i)||(Bj(t,i),Yt({focusNode:t,anchorOffset:l,focusOffset:l}),oy(t)?ty(t,i)&&(sd(e,t,l,{}),e.dispatchUIEvent(t,"change"),ey(t)):sd(e,t,l,{data:n,inputType:o}))}function Zj(e,t,{startOffset:r,endOffset:n},o){let a=st(t),i=Math.max(0,r===n&&o==="deleteContentBackward"?r-1:r),l=a.substring(0,i),u=Math.min(a.length,r===n&&o==="deleteContentForward"?r+1:n),c=a.substring(u,a.length),s=`${l}${e}${c}`,d=i+e.length;if(Y(t,"input",{type:"time"})){let m=Fj(s);m!==""&&ty(t,m)&&(s=m,d=m.length)}return{oldValue:a,newValue:s,newOffset:d}}function sd(e,t,r,n){e.dispatchUIEvent(t,"input",n),Kj(t,r)}function eN(e){var t,r;let n=e.split("e",2);return!(/[^\d.\-e]/.test(e)||Number((t=e.match(/-/g))===null||t===void 0?void 0:t.length)>2||Number((r=e.match(/\./g))===null||r===void 0?void 0:r.length)>1||n[1]&&!/^-?\d*$/.test(n[1]))}It.cut=(e,t,r)=>()=>{Pr(t)&&Sr(r,t,"","deleteByCut")};function tN(e){return e?Kt(e)?e.textContent:st(e):null}function rN(e){let t=it(e);for(let r=e;r!=null&&r.ownerDocument;r=r.parentElement){let{display:n,visibility:o}=t.getComputedStyle(r);if(n==="none"||o==="hidden")return!1}return!0}function nN(e,t){let r=e.ownerDocument,n=r.querySelectorAll(Yb),o=Array.from(n).filter(u=>u===e||!(Number(u.getAttribute("tabindex"))<0||vt(u)));Number(e.getAttribute("tabindex"))>=0&&o.sort((u,c)=>{let s=Number(u.getAttribute("tabindex")),d=Number(c.getAttribute("tabindex"));return s===d?0:s===0?1:d===0?-1:s-d});let a={},i=[r.body],l=Y(e,"input",{type:"radio"})?e.name:void 0;o.forEach(u=>{let c=u;if(Y(c,"input",{type:"radio"})&&c.name){if(c===e){i.push(c);return}else if(c.name===l)return;if(c.checked){i=i.filter(s=>!Y(s,"input",{type:"radio",name:c.name})),i.push(c),a[c.name]=c;return}if(typeof a[c.name]<"u")return}i.push(c)});for(let u=i.findIndex(c=>c===e);;)if(u+=t?-1:1,u===i.length?u=0:u===-1&&(u=i.length-1),i[u]===e||i[u]===r.body||rN(i[u]))return i[u]}function ud(e,t){if(lt(e)){let r=cn(e);Yt({focusNode:e,focusOffset:r.startOffset===r.endOffset?r.focusOffset+t:t<0?r.startOffset:r.endOffset})}else{let r=e.ownerDocument.getSelection();if(!(r!=null&&r.focusNode))return;if(r.isCollapsed){let n=ry(r.focusNode,r.focusOffset,t);n&&Yt({focusNode:n.node,focusOffset:n.offset})}else r[t<0?"collapseToStart":"collapseToEnd"]()}}function ay(e){if(lt(e))return Yt({focusNode:e,anchorOffset:0,focusOffset:st(e).length});var t;let r=(t=un(e))!==null&&t!==void 0?t:e.ownerDocument.body;Yt({focusNode:r,anchorOffset:0,focusOffset:r.childNodes.length})}function oN(e){if(lt(e))return cn(e).startOffset===0&&cn(e).endOffset===st(e).length;var t;let r=(t=un(e))!==null&&t!==void 0?t:e.ownerDocument.body,n=e.ownerDocument.getSelection();return(n==null?void 0:n.anchorNode)===r&&n.focusNode===r&&n.anchorOffset===0&&n.focusOffset===r.childNodes.length}function Dr(e,t,r){var n;if(lt(e))return Yt({focusNode:e,anchorOffset:t,focusOffset:r});if(Kt(e)&&((n=e.firstChild)===null||n===void 0?void 0:n.nodeType)===3)return Yt({focusNode:e.firstChild,anchorOffset:t,focusOffset:r});throw new Error("Not implemented. The result of this interaction is unreliable.")}function Mn(e,t,r){let n=it(t),o=Array.from(t.ownerDocument.querySelectorAll(t.name?`input[type="radio"][name="${n.CSS.escape(t.name)}"]`:'input[type="radio"][name=""], input[type="radio"]:not([name])'));for(let a=o.findIndex(i=>i===t)+r;;a+=r){if(o[a]||(a=r>0?0:o.length-1),o[a]===t)return;vt(o[a])||($t(o[a]),e.dispatchUIEvent(o[a],"click"))}}It.keydown=(e,t,r)=>{var n,o;return(o=(n=cd[e.key])===null||n===void 0?void 0:n.call(cd,e,t,r))!==null&&o!==void 0?o:aN(e,t,r)};var cd={ArrowDown:(e,t,r)=>{if(Y(t,"input",{type:"radio"}))return()=>Mn(r,t,-1)},ArrowLeft:(e,t,r)=>Y(t,"input",{type:"radio"})?()=>Mn(r,t,-1):()=>ud(t,-1),ArrowRight:(e,t,r)=>Y(t,"input",{type:"radio"})?()=>Mn(r,t,1):()=>ud(t,1),ArrowUp:(e,t,r)=>{if(Y(t,"input",{type:"radio"}))return()=>Mn(r,t,1)},Backspace:(e,t,r)=>{if(Pr(t))return()=>{Sr(r,t,"","deleteContentBackward")}},Delete:(e,t,r)=>{if(Pr(t))return()=>{Sr(r,t,"","deleteContentForward")}},End:(e,t)=>{if(Y(t,["input","textarea"])||Kt(t))return()=>{var r,n;let o=(n=(r=tN(t))===null||r===void 0?void 0:r.length)!==null&&n!==void 0?n:0;Dr(t,o,o)}},Home:(e,t)=>{if(Y(t,["input","textarea"])||Kt(t))return()=>{Dr(t,0,0)}},PageDown:(e,t)=>{if(Y(t,["input"]))return()=>{let r=st(t).length;Dr(t,r,r)}},PageUp:(e,t)=>{if(Y(t,["input"]))return()=>{Dr(t,0,0)}},Tab:(e,t,r)=>()=>{let n=nN(t,r.system.keyboard.modifiers.Shift);$t(n),lt(n)&&Nr(n,{anchorOffset:0,focusOffset:n.value.length})}},aN=(e,t,r)=>{if(e.code==="KeyA"&&r.system.keyboard.modifiers.Control)return()=>ay(t)};It.keypress=(e,t,r)=>{if(e.key==="Enter"){if(Y(t,"button")||Y(t,"input")&&iN.includes(t.type)||Y(t,"a")&&t.href)return()=>{r.dispatchUIEvent(t,"click")};if(Y(t,"input")){let n=t.form,o=n==null?void 0:n.querySelector('input[type="submit"], button:not([type]), button[type="submit"]');return o?()=>r.dispatchUIEvent(o,"click"):n&&lN.includes(t.type)&&n.querySelectorAll("input").length===1?()=>r.dispatchUIEvent(n,"submit"):void 0}}if(Pr(t)){let n=e.key==="Enter"?Kt(t)&&!r.system.keyboard.modifiers.Shift?"insertParagraph":"insertLineBreak":"insertText",o=e.key==="Enter"?` -`:e.key;return()=>Sr(r,t,o,n)}};var iN=["button","color","file","image","reset","submit"],lN=["email","month","password","search","tel","text","url","week"];It.keyup=(e,t,r)=>{var n;return(n=dd[e.key])===null||n===void 0?void 0:n.call(dd,e,t,r)};var dd={" ":(e,t,r)=>{if(Hb(t))return()=>r.dispatchUIEvent(t,"click")}};It.paste=(e,t,r)=>{if(Pr(t))return()=>{var n;let o=(n=e.clipboardData)===null||n===void 0?void 0:n.getData("text");o&&Sr(r,t,o,"insertFromPaste")}};var iy={auxclick:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},beforeinput:{EventType:"InputEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},click:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},contextmenu:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},copy:{EventType:"ClipboardEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},change:{EventType:"Event",defaultInit:{bubbles:!0,cancelable:!1}},cut:{EventType:"ClipboardEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},dblclick:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},keydown:{EventType:"KeyboardEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},keypress:{EventType:"KeyboardEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},keyup:{EventType:"KeyboardEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},paste:{EventType:"ClipboardEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},input:{EventType:"InputEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},mousedown:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},mouseenter:{EventType:"MouseEvent",defaultInit:{bubbles:!1,cancelable:!1,composed:!0}},mouseleave:{EventType:"MouseEvent",defaultInit:{bubbles:!1,cancelable:!1,composed:!0}},mousemove:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},mouseout:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},mouseover:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},mouseup:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},pointerover:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},pointerenter:{EventType:"PointerEvent",defaultInit:{bubbles:!1,cancelable:!1}},pointerdown:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},pointermove:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},pointerup:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},pointercancel:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},pointerout:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},pointerleave:{EventType:"PointerEvent",defaultInit:{bubbles:!1,cancelable:!1}},submit:{EventType:"Event",defaultInit:{bubbles:!0,cancelable:!0}}};function ly(e){return iy[e].EventType}var sN=["MouseEvent","PointerEvent"];function uN(e){return sN.includes(ly(e))}function cN(e){return ly(e)==="KeyboardEvent"}var dN={ClipboardEvent:[mN],Event:[],InputEvent:[xn,fN],MouseEvent:[xn,Va,pd],PointerEvent:[xn,Va,pd,bN],KeyboardEvent:[xn,Va,hN]};function sy(e,t,r){let n=it(t),{EventType:o,defaultInit:a}=iy[e],i=new(pN(n))[o](e,a);return dN[o].forEach(l=>l(i,r??{})),i}function pN(e){var t;let r=(t=e.Event)!==null&&t!==void 0?t:class{};var n;let o=(n=e.AnimationEvent)!==null&&n!==void 0?n:class extends r{};var a;let i=(a=e.ClipboardEvent)!==null&&a!==void 0?a:class extends r{};var l;let u=(l=e.PopStateEvent)!==null&&l!==void 0?l:class extends r{};var c;let s=(c=e.ProgressEvent)!==null&&c!==void 0?c:class extends r{};var d;let m=(d=e.TransitionEvent)!==null&&d!==void 0?d:class extends r{};var p;let f=(p=e.UIEvent)!==null&&p!==void 0?p:class extends r{};var b;let h=(b=e.CompositionEvent)!==null&&b!==void 0?b:class extends f{};var y;let g=(y=e.FocusEvent)!==null&&y!==void 0?y:class extends f{};var E;let C=(E=e.InputEvent)!==null&&E!==void 0?E:class extends f{};var q;let _=(q=e.KeyboardEvent)!==null&&q!==void 0?q:class extends f{};var v;let w=(v=e.MouseEvent)!==null&&v!==void 0?v:class extends f{};var P;let j=(P=e.DragEvent)!==null&&P!==void 0?P:class extends w{};var $;let B=($=e.PointerEvent)!==null&&$!==void 0?$:class extends w{};var I;let A=(I=e.TouchEvent)!==null&&I!==void 0?I:class extends f{};return{Event:r,AnimationEvent:o,ClipboardEvent:i,PopStateEvent:u,ProgressEvent:s,TransitionEvent:m,UIEvent:f,CompositionEvent:h,FocusEvent:g,InputEvent:C,KeyboardEvent:_,MouseEvent:w,DragEvent:j,PointerEvent:B,TouchEvent:A}}function er(e,t){for(let[r,n]of Object.entries(t))Object.defineProperty(e,r,{get:()=>n??null})}function Ce(e){return Number(e??0)}function mN(e,{clipboardData:t}){er(e,{clipboardData:t})}function fN(e,{data:t,inputType:r,isComposing:n}){er(e,{data:t,isComposing:!!n,inputType:String(r)})}function xn(e,{view:t,detail:r}){er(e,{view:t,detail:Ce(r??0)})}function Va(e,{altKey:t,ctrlKey:r,metaKey:n,shiftKey:o,modifierAltGraph:a,modifierCapsLock:i,modifierFn:l,modifierFnLock:u,modifierNumLock:c,modifierScrollLock:s,modifierSymbol:d,modifierSymbolLock:m}){er(e,{altKey:!!t,ctrlKey:!!r,metaKey:!!n,shiftKey:!!o,getModifierState(p){return!!{Alt:t,AltGraph:a,CapsLock:i,Control:r,Fn:l,FnLock:u,Meta:n,NumLock:c,ScrollLock:s,Shift:o,Symbol:d,SymbolLock:m}[p]}})}function hN(e,{key:t,code:r,location:n,repeat:o,isComposing:a,charCode:i}){er(e,{key:String(t),code:String(r),location:Ce(n),repeat:!!o,isComposing:!!a,charCode:i})}function pd(e,{x:t,y:r,screenX:n,screenY:o,clientX:a=t,clientY:i=r,button:l,buttons:u,relatedTarget:c}){er(e,{screenX:Ce(n),screenY:Ce(o),clientX:Ce(a),x:Ce(a),clientY:Ce(i),y:Ce(i),button:Ce(l),buttons:Ce(u),relatedTarget:c})}function bN(e,{pointerId:t,width:r,height:n,pressure:o,tangentialPressure:a,tiltX:i,tiltY:l,twist:u,pointerType:c,isPrimary:s}){er(e,{pointerId:Ce(t),width:Ce(r),height:Ce(n),pressure:Ce(o),tangentialPressure:Ce(a),tiltX:Ce(i),tiltY:Ce(l),twist:Ce(u),pointerType:String(c),isPrimary:!!s})}function yN(e,t,r,n=!1){(uN(t)||cN(t))&&(r={...r,...this.system.getUIEventModifiers()});let o=sy(t,e,r);return uy.call(this,e,o,n)}function uy(e,t,r=!1){var n;let o=t.type,a=r?()=>{}:(n=It[o])===null||n===void 0?void 0:n.call(It,t,e,this);if(a){t.preventDefault();let i=!1;return Object.defineProperty(t,"defaultPrevented",{get:()=>i}),Object.defineProperty(t,"preventDefault",{value:()=>{i=t.cancelable}}),Or(()=>e.dispatchEvent(t)),i||a(),!i}return Or(()=>e.dispatchEvent(t))}function gN(e,t,r){let n=sy(t,e,r);Or(()=>e.dispatchEvent(n))}var za=Symbol("Interceptor for programmatical calls");function dr(e,t,r){let n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),o=Object.getOwnPropertyDescriptor(e,t),a=n!=null&&n.set?"set":"value";if(typeof(n==null?void 0:n[a])!="function"||n[a][za])throw new Error(`Element ${e.tagName} does not implement "${String(t)}".`);function i(...l){let{applyNative:u=!1,realArgs:c,then:s}=r.call(this,...l),d=(!u&&o||n)[a];a==="set"?d.call(this,c):d.call(this,...c),s==null||s()}i[za]=za,Object.defineProperty(e,t,{...o??n,[a]:i})}function vN(e){dr(e,"value",function(t){let r=$j(t);return r&&Gj(this),{applyNative:!!r,realArgs:_N(this,t),then:r?void 0:()=>Wj(this,String(t))}})}function _N(e,t){return Y(e,"input",{type:"number"})&&String(t)!==""&&!Number.isNaN(Number(t))?String(Number(t)):String(t)}function RN(e){dr(e,"setSelectionRange",function(t,...r){let n=Ij(t);return{applyNative:!!n,realArgs:[Number(t),...r],then:()=>n?void 0:Dn(e)}}),dr(e,"selectionStart",function(t){return{realArgs:t,then:()=>Dn(e)}}),dr(e,"selectionEnd",function(t){return{realArgs:t,then:()=>Dn(e)}}),dr(e,"select",function(){return{realArgs:[],then:()=>Lj(e,{anchorOffset:0,focusOffset:st(e).length})}})}function wN(e){dr(e,"setRangeText",function(...t){return{realArgs:t,then:()=>{Ts(e),Dn(e)}}})}var hr=Symbol("Node prepared with document state workarounds");function cy(e){e[hr]||(e.addEventListener("focus",t=>{let r=t.target;md(r)},{capture:!0,passive:!0}),e.activeElement&&md(e.activeElement),e.addEventListener("blur",t=>{let r=t.target,n=kj(r);n!==void 0&&(r.value!==n&&gN(r,"change"),ey(r))},{capture:!0,passive:!0}),e[hr]=hr)}function md(e){e[hr]||(Y(e,["input","textarea"])&&(vN(e),RN(e),wN(e)),e[hr]=hr)}function CN(e){return qN(e)?e:e.ownerDocument}function qN(e){return e.nodeType===9}function Ar(e){let t=e.delay;if(typeof t=="number")return Promise.all([new Promise(r=>globalThis.setTimeout(()=>r(),t)),e.advanceTimers(t)])}function rr(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var Ve;(function(e){e[e.STANDARD=0]="STANDARD",e[e.LEFT=1]="LEFT",e[e.RIGHT=2]="RIGHT",e[e.NUMPAD=3]="NUMPAD"})(Ve||(Ve={}));var EN=["Alt","AltGraph","Control","Fn","Meta","Shift","Symbol"];function fd(e){return EN.includes(e)}var PN=["CapsLock","FnLock","NumLock","ScrollLock","SymbolLock"];function hd(e){return PN.includes(e)}var ON=class{isKeyPressed(e){return!!this.pressed[String(e.code)]}getPressedKeys(){return Object.values(this.pressed).map(e=>e.keyDef)}async keydown(e,t){var r,n,o;let a=String(t.key),i=String(t.code),l=Ua(e.config.document);this.setKeydownTarget(l);var u;(u=(r=this.pressed)[n=i])!==null&&u!==void 0||(r[n]={keyDef:t,unpreventedDefault:!1}),fd(a)&&(this.modifiers[a]=!0);let c=e.dispatchUIEvent(l,"keydown",{key:a,code:i});hd(a)&&!this.modifiers[a]&&(this.modifiers[a]=!0,this.modifierLockStart[a]=!0),(o=this.pressed[i]).unpreventedDefault||(o.unpreventedDefault=c),c&&this.hasKeyPress(a)&&e.dispatchUIEvent(Ua(e.config.document),"keypress",{key:a,code:i,charCode:t.key==="Enter"?13:String(t.key).charCodeAt(0)})}async keyup(e,t){let r=String(t.key),n=String(t.code),o=this.pressed[n].unpreventedDefault;delete this.pressed[n],fd(r)&&!Object.values(this.pressed).find(a=>a.keyDef.key===r)&&(this.modifiers[r]=!1),e.dispatchUIEvent(Ua(e.config.document),"keyup",{key:r,code:n},!o),hd(r)&&this.modifiers[r]&&(this.modifierLockStart[r]?this.modifierLockStart[r]=!1:this.modifiers[r]=!1)}setKeydownTarget(e){e!==this.lastKeydownTarget&&(this.carryChar=""),this.lastKeydownTarget=e}hasKeyPress(e){return(e.length===1||e==="Enter")&&!this.modifiers.Control&&!this.modifiers.Alt}constructor(e){rr(this,"system",void 0),rr(this,"modifiers",{Alt:!1,AltGraph:!1,CapsLock:!1,Control:!1,Fn:!1,FnLock:!1,Meta:!1,NumLock:!1,ScrollLock:!1,Shift:!1,Symbol:!1,SymbolLock:!1}),rr(this,"pressed",{}),rr(this,"carryChar",""),rr(this,"lastKeydownTarget",void 0),rr(this,"modifierLockStart",{}),this.system=e}},TN=[..."0123456789".split("").map(e=>({code:`Digit${e}`,key:e})),...")!@#$%^&*(".split("").map((e,t)=>({code:`Digit${t}`,key:e,shiftKey:!0})),..."abcdefghijklmnopqrstuvwxyz".split("").map(e=>({code:`Key${e.toUpperCase()}`,key:e})),..."ABCDEFGHIJKLMNOPQRSTUVWXYZ".split("").map(e=>({code:`Key${e}`,key:e,shiftKey:!0})),{code:"Space",key:" "},{code:"AltLeft",key:"Alt",location:Ve.LEFT},{code:"AltRight",key:"Alt",location:Ve.RIGHT},{code:"ShiftLeft",key:"Shift",location:Ve.LEFT},{code:"ShiftRight",key:"Shift",location:Ve.RIGHT},{code:"ControlLeft",key:"Control",location:Ve.LEFT},{code:"ControlRight",key:"Control",location:Ve.RIGHT},{code:"MetaLeft",key:"Meta",location:Ve.LEFT},{code:"MetaRight",key:"Meta",location:Ve.RIGHT},{code:"OSLeft",key:"OS",location:Ve.LEFT},{code:"OSRight",key:"OS",location:Ve.RIGHT},{code:"Tab",key:"Tab"},{code:"CapsLock",key:"CapsLock"},{code:"Backspace",key:"Backspace"},{code:"Enter",key:"Enter"},{code:"Escape",key:"Escape"},{code:"ArrowUp",key:"ArrowUp"},{code:"ArrowDown",key:"ArrowDown"},{code:"ArrowLeft",key:"ArrowLeft"},{code:"ArrowRight",key:"ArrowRight"},{code:"Home",key:"Home"},{code:"End",key:"End"},{code:"Delete",key:"Delete"},{code:"PageUp",key:"PageUp"},{code:"PageDown",key:"PageDown"},{code:"Fn",key:"Fn"},{code:"Symbol",key:"Symbol"},{code:"AltRight",key:"AltGraph"}],SN=[{name:"MouseLeft",pointerType:"mouse",button:"primary"},{name:"MouseRight",pointerType:"mouse",button:"secondary"},{name:"MouseMiddle",pointerType:"mouse",button:"auxiliary"},{name:"TouchA",pointerType:"touch"},{name:"TouchB",pointerType:"touch"},{name:"TouchC",pointerType:"touch"}];function AN(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var dy=class{getButtons(){let e=0;for(let t of Object.keys(this.pressed))e|=2**Number(t);return e}down(e){let t=Wi(e.button);if(t in this.pressed){this.pressed[t].push(e);return}return this.pressed[t]=[e],t}up(e){let t=Wi(e.button);if(t in this.pressed&&(this.pressed[t]=this.pressed[t].filter(r=>r.name!==e.name),this.pressed[t].length===0))return delete this.pressed[t],t}constructor(){AN(this,"pressed",{})}},bd={primary:0,secondary:1,auxiliary:2,back:3,X1:3,forward:4,X2:4};function Wi(e=0){return e in bd?bd[e]:Number(e)}var yd={1:2,2:1};function gd(e){return e=Wi(e),e in yd?yd[e]:e}function MN(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var xN=class{get countPressed(){return this.pressedKeys.size}isPressed(e){return this.pressedKeys.has(e.name)}addPressed(e){return this.pressedKeys.add(e.name)}removePressed(e){return this.pressedKeys.delete(e.name)}constructor(){MN(this,"pressedKeys",new Set)}};function zr(e,t){let r=[];for(let a=e;a;a=a.parentElement)r.push(a);let n=[];for(let a=t;a;a=a.parentElement)n.push(a);let o=0;for(;!(o>=r.length||o>=n.length||r[r.length-1-o]!==n[n.length-1-o]);o++);return[r.slice(0,r.length-o),n.slice(0,n.length-o),n.slice(n.length-o)]}function Ki({target:e,node:t,offset:r}){return lt(e)?{node:e,offset:r??st(e).length}:t?{node:t,offset:r??(t.nodeType===3?t.nodeValue.length:t.childNodes.length)}:py(e,r)}function py(e,t,r=!0){let n=t===void 0?e.childNodes.length-1:0,o=t===void 0?-1:1;for(;t===void 0?n>=(r?Math.max(e.childNodes.length-1,0):0):n<=e.childNodes.length;){if(t&&n===e.childNodes.length)throw new Error("The given offset is out of bounds.");let a=e.childNodes.item(n),i=String(a.textContent);if(i.length)if(t!==void 0&&i.length<t)t-=i.length;else{if(a.nodeType===1)return py(a,t,!1);if(a.nodeType===3)return{node:a,offset:t??a.nodeValue.length}}n+=o}return{node:e,offset:e.childNodes.length}}function jN({document:e,target:t,clickCount:r,node:n,offset:o}){if(xj(t))return;let a=lt(t),i=String(a?st(t):t.textContent),[l,u]=n?[o,o]:NN(i,o,r);if(a)return Nr(t,{anchorOffset:l??i.length,focusOffset:u??i.length}),{node:t,start:l??0,end:u??i.length};{let{node:c,offset:s}=Ki({target:t,node:n,offset:l}),{node:d,offset:m}=Ki({target:t,node:n,offset:u}),p=t.ownerDocument.createRange();try{p.setStart(c,s),p.setEnd(d,m)}catch{throw new Error("The given offset is out of bounds.")}let f=e.getSelection();return f==null||f.removeAllRanges(),f==null||f.addRange(p.cloneRange()),p}}function NN(e,t,r){if(r%3===1||e.length===0)return[t,t];let n=t??e.length;return r%3===2?[n-e.substr(0,t).match(/(\w+|\s+|\W)?$/)[0].length,t===void 0?t:t+e.substr(t).match(/^(\w+|\s+|\W)?/)[0].length]:[n-e.substr(0,t).match(/[^\r\n]*$/)[0].length,t===void 0?t:t+e.substr(t).match(/^[^\r\n]*/)[0].length]}function $N(e,{document:t,target:r,node:n,offset:o}){let a=Ki({target:r,node:n,offset:o});if("node"in e){if(a.node===e.node){let i=a.offset<e.start?e.end:e.start,l=a.offset>e.end||a.offset<e.start?a.offset:e.end;Nr(e.node,{anchorOffset:i,focusOffset:l})}}else{let i=e.cloneRange(),l=i.comparePoint(a.node,a.offset);l<0?i.setStart(a.node,a.offset):l>0&&i.setEnd(a.node,a.offset);let u=t.getSelection();u==null||u.removeAllRanges(),u==null||u.addRange(i.cloneRange())}}function my(e,t){var r,n,o,a,i,l,u,c;return e.target!==t.target||((r=e.coords)===null||r===void 0?void 0:r.x)!==((n=t.coords)===null||n===void 0?void 0:n.y)||((o=e.coords)===null||o===void 0?void 0:o.y)!==((a=t.coords)===null||a===void 0?void 0:a.y)||((i=e.caret)===null||i===void 0?void 0:i.node)!==((l=t.caret)===null||l===void 0?void 0:l.node)||((u=e.caret)===null||u===void 0?void 0:u.offset)!==((c=t.caret)===null||c===void 0?void 0:c.offset)}function Dt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var IN=class{move(e,t){let r=this.position,n=this.getTarget(e);if(this.position=t,!my(r,t))return;let o=this.getTarget(e),a=this.getEventInit("mousemove"),[i,l]=zr(n,o);return{leave:()=>{n!==o&&(e.dispatchUIEvent(n,"mouseout",a),i.forEach(u=>e.dispatchUIEvent(u,"mouseleave",a)))},enter:()=>{n!==o&&(e.dispatchUIEvent(o,"mouseover",a),l.forEach(u=>e.dispatchUIEvent(u,"mouseenter",a)))},move:()=>{e.dispatchUIEvent(o,"mousemove",a),this.modifySelecting(e)}}}down(e,t,r){let n=this.buttons.down(t);if(n===void 0)return;let o=this.getTarget(e);this.buttonDownTarget[n]=o;let a=vt(o),i=this.getEventInit("mousedown",t.button);(a||e.dispatchUIEvent(o,"mousedown",i))&&(this.startSelecting(e,i.detail),$t(o)),!a&&gd(t.button)===2&&e.dispatchUIEvent(o,"contextmenu",this.getEventInit("contextmenu",t.button,r))}up(e,t,r){let n=this.buttons.up(t);if(n===void 0)return;let o=this.getTarget(e);if(!vt(o)){e.dispatchUIEvent(o,"mouseup",this.getEventInit("mouseup",t.button)),this.endSelecting();let a=zr(this.buttonDownTarget[n],o)[2][0];if(a){let i=this.getEventInit("click",t.button,r);i.detail&&(e.dispatchUIEvent(a,i.button===0?"click":"auxclick",i),i.button===0&&i.detail===2&&e.dispatchUIEvent(a,"dblclick",{...this.getEventInit("dblclick",t.button),detail:i.detail}))}}}resetClickCount(){this.clickCount.reset()}getEventInit(e,t,r){let n={...this.position.coords};return r&&(n.pointerId=r.pointerId,n.pointerType=r.pointerType,n.isPrimary=r.isPrimary),n.button=gd(t),n.buttons=this.buttons.getButtons(),e==="mousedown"?n.detail=this.clickCount.getOnDown(n.button):e==="mouseup"?n.detail=this.clickCount.getOnUp(n.button):(e==="click"||e==="auxclick")&&(n.detail=this.clickCount.incOnClick(n.button)),n}getTarget(e){var t;return(t=this.position.target)!==null&&t!==void 0?t:e.config.document.body}startSelecting(e,t){var r,n;this.selecting=jN({document:e.config.document,target:this.getTarget(e),node:(r=this.position.caret)===null||r===void 0?void 0:r.node,offset:(n=this.position.caret)===null||n===void 0?void 0:n.offset,clickCount:t})}modifySelecting(e){var t,r;this.selecting&&$N(this.selecting,{document:e.config.document,target:this.getTarget(e),node:(t=this.position.caret)===null||t===void 0?void 0:t.node,offset:(r=this.position.caret)===null||r===void 0?void 0:r.offset})}endSelecting(){this.selecting=void 0}constructor(){Dt(this,"position",{}),Dt(this,"buttons",new dy),Dt(this,"selecting",void 0),Dt(this,"buttonDownTarget",{}),Dt(this,"clickCount",new class{incOnClick(e){let t=this.down[e]===void 0?void 0:Number(this.down[e])+1;return this.count=this.count[e]===void 0?{}:{[e]:Number(this.count[e])+1},t}getOnDown(e){var t;this.down={[e]:(t=this.count[e])!==null&&t!==void 0?t:0};var r;return this.count={[e]:(r=this.count[e])!==null&&r!==void 0?r:0},Number(this.count[e])+1}getOnUp(e){return this.down[e]===void 0?void 0:Number(this.down[e])+1}reset(){this.count={}}constructor(){Dt(this,"down",{}),Dt(this,"count",{})}})}};function so(e,t){var r;return((r=fy(e,t))===null||r===void 0?void 0:r.pointerEvents)!=="none"}function BN(e){let t=it(e);for(let r=e,n=[];r!=null&&r.ownerDocument;r=r.parentElement){n.push(r);let o=t.getComputedStyle(r).pointerEvents;if(o&&!["inherit","unset"].includes(o))return{pointerEvents:o,tree:n}}}var vd=Symbol("Last check for pointer-events");function fy(e,t){let r=t[vd];if(!(e.config.pointerEventsCheck!==fr.Never&&(!r||_d(e.config.pointerEventsCheck,fr.EachApiCall)&&r[Ie.Call]!==Sn(e,Ie.Call)||_d(e.config.pointerEventsCheck,fr.EachTrigger)&&r[Ie.Trigger]!==Sn(e,Ie.Trigger))))return r==null?void 0:r.result;let n=BN(t);return t[vd]={[Ie.Call]:Sn(e,Ie.Call),[Ie.Trigger]:Sn(e,Ie.Trigger),result:n},n}function Fr(e,t){let r=fy(e,t);if((r==null?void 0:r.pointerEvents)==="none")throw new Error([`Unable to perform pointer interaction as the element ${r.tree.length>1?"inherits":"has"} \`pointer-events: none\`:`,"",kN(r.tree)].join(` -`))}function kN(e){return e.reverse().map((t,r)=>["".padEnd(r),t.tagName,t.id&&`#${t.id}`,t.hasAttribute("data-testid")&&`(testId=${t.getAttribute("data-testid")})`,LN(t),e.length>1&&r===0&&" <-- This element declared `pointer-events: none`",e.length>1&&r===e.length-1&&" <-- Asserted pointer events here"].filter(Boolean).join("")).join(` -`)}function LN(e){var t;let r;if(e.hasAttribute("aria-label"))r=e.getAttribute("aria-label");else if(e.hasAttribute("aria-labelledby")){var n,o;r=(o=e.ownerDocument.getElementById(e.getAttribute("aria-labelledby")))===null||o===void 0||(n=o.textContent)===null||n===void 0?void 0:n.trim()}else if(Y(e,["button","input","meter","output","progress","select","textarea"])&&!((t=e.labels)===null||t===void 0)&&t.length)r=Array.from(e.labels).map(i=>{var l;return(l=i.textContent)===null||l===void 0?void 0:l.trim()}).join("|");else if(Y(e,"button")){var a;r=(a=e.textContent)===null||a===void 0?void 0:a.trim()}return r=r==null?void 0:r.replace(/\n/g," "),Number(r==null?void 0:r.length)>30&&(r=`${r==null?void 0:r.substring(0,29)}…`),r?`(label=${r})`:""}function _d(e,t){return(e&t)>0}function Pt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var Rd=class{init(e,t){this.position=t;let r=this.getTarget(e),[,n]=zr(null,r),o=this.getEventInit();return Fr(e,r),e.dispatchUIEvent(r,"pointerover",o),n.forEach(a=>e.dispatchUIEvent(a,"pointerenter",o)),this}move(e,t){let r=this.position,n=this.getTarget(e);if(this.position=t,!my(r,t))return;let o=this.getTarget(e),a=this.getEventInit(),[i,l]=zr(n,o);return{leave:()=>{so(e,n)&&n!==o&&(e.dispatchUIEvent(n,"pointerout",a),i.forEach(u=>e.dispatchUIEvent(u,"pointerleave",a)))},enter:()=>{Fr(e,o),n!==o&&(e.dispatchUIEvent(o,"pointerover",a),l.forEach(u=>e.dispatchUIEvent(u,"pointerenter",a)))},move:()=>{e.dispatchUIEvent(o,"pointermove",a)}}}down(e,t){if(this.isDown)return;let r=this.getTarget(e);Fr(e,r),this.isDown=!0,this.isPrevented=!e.dispatchUIEvent(r,"pointerdown",this.getEventInit())}up(e,t){if(!this.isDown)return;let r=this.getTarget(e);Fr(e,r),this.isDown=!1,e.dispatchUIEvent(r,"pointerup",this.getEventInit())}release(e){let t=this.getTarget(e),[r]=zr(t,null),n=this.getEventInit();so(e,t)&&(e.dispatchUIEvent(t,"pointerout",n),r.forEach(o=>e.dispatchUIEvent(o,"pointerleave",n))),this.isCancelled=!0}getTarget(e){var t;return(t=this.position.target)!==null&&t!==void 0?t:e.config.document.body}getEventInit(){return{...this.position.coords,pointerId:this.pointerId,pointerType:this.pointerType,isPrimary:this.isPrimary}}constructor({pointerId:e,pointerType:t,isPrimary:r}){Pt(this,"pointerId",void 0),Pt(this,"pointerType",void 0),Pt(this,"isPrimary",void 0),Pt(this,"isMultitouch",!1),Pt(this,"isCancelled",!1),Pt(this,"isDown",!1),Pt(this,"isPrevented",!1),Pt(this,"position",{}),this.pointerId=e,this.pointerType=t,this.isPrimary=r,this.isMultitouch=!r}};function Ot(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var DN=class{isKeyPressed(e){return this.devices.get(e.pointerType).isPressed(e)}async press(e,t,r){let n=this.getPointerName(t),o=t.pointerType==="touch"?this.pointers.new(n,t).init(e,r):this.pointers.get(n);o.position=r,o.pointerType!=="touch"&&(this.mouse.position=r),this.devices.get(t.pointerType).addPressed(t),this.buttons.down(t),o.down(e,t),o.pointerType!=="touch"&&!o.isPrevented&&this.mouse.down(e,t,o)}async move(e,t,r){let n=this.pointers.get(t),o=n.move(e,r),a=n.pointerType==="touch"||n.isPrevented&&n.isDown?void 0:this.mouse.move(e,r);o==null||o.leave(),a==null||a.leave(),o==null||o.enter(),a==null||a.enter(),o==null||o.move(),a==null||a.move()}async release(e,t,r){let n=this.devices.get(t.pointerType);n.removePressed(t),this.buttons.up(t);let o=this.pointers.get(this.getPointerName(t));if(o.position=r,o.pointerType!=="touch"&&(this.mouse.position=r),n.countPressed===0&&o.up(e,t),o.pointerType==="touch"&&o.release(e),!o.isPrevented){if(o.pointerType==="touch"&&!o.isMultitouch){let a=this.mouse.move(e,o.position);a==null||a.leave(),a==null||a.enter(),a==null||a.move(),this.mouse.down(e,t,o)}if(!o.isMultitouch){let a=this.mouse.move(e,o.position);a==null||a.leave(),a==null||a.enter(),a==null||a.move(),this.mouse.up(e,t,o)}}}getPointerName(e){return e.pointerType==="touch"?e.name:e.pointerType}getPreviousPosition(e){return this.pointers.has(e)?this.pointers.get(e).position:void 0}resetClickCount(){this.mouse.resetClickCount()}getMouseTarget(e){var t;return(t=this.mouse.position.target)!==null&&t!==void 0?t:e.config.document.body}setMousePosition(e){this.mouse.position=e,this.pointers.get("mouse").position=e}constructor(e){Ot(this,"system",void 0),Ot(this,"mouse",void 0),Ot(this,"buttons",void 0),Ot(this,"devices",new class{get(t){var r,n,o;return(o=(r=this.registry)[n=t])!==null&&o!==void 0||(r[n]=new xN),this.registry[t]}constructor(){Ot(this,"registry",{})}}),Ot(this,"pointers",new class{new(t,r){let n=r.pointerType!=="touch"||!Object.values(this.registry).some(o=>o.pointerType==="touch"&&!o.isCancelled);return n||Object.values(this.registry).forEach(o=>{o.pointerType===r.pointerType&&!o.isCancelled&&(o.isMultitouch=!0)}),this.registry[t]=new Rd({pointerId:this.nextId++,pointerType:r.pointerType,isPrimary:n}),this.registry[t]}get(t){if(!this.has(t))throw new Error(`Trying to access pointer "${t}" which does not exist.`);return this.registry[t]}has(t){return t in this.registry}constructor(){Ot(this,"registry",{mouse:new Rd({pointerId:1,pointerType:"mouse",isPrimary:!0})}),Ot(this,"nextId",2)}}),this.system=e,this.buttons=new dy,this.mouse=new IN}};function wd(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var hy=class{getUIEventModifiers(){return{altKey:this.keyboard.modifiers.Alt,ctrlKey:this.keyboard.modifiers.Control,metaKey:this.keyboard.modifiers.Meta,shiftKey:this.keyboard.modifiers.Shift,modifierAltGraph:this.keyboard.modifiers.AltGraph,modifierCapsLock:this.keyboard.modifiers.CapsLock,modifierFn:this.keyboard.modifiers.Fn,modifierFnLock:this.keyboard.modifiers.FnLock,modifierNumLock:this.keyboard.modifiers.NumLock,modifierScrollLock:this.keyboard.modifiers.ScrollLock,modifierSymbol:this.keyboard.modifiers.Symbol,modifierSymbolLock:this.keyboard.modifiers.SymbolLock}}constructor(){wd(this,"keyboard",new ON(this)),wd(this,"pointer",new DN(this))}};async function FN(e){let t=[];return this.config.skipHover||t.push({target:e}),t.push({keys:"[MouseLeft]",target:e}),this.pointer(t)}async function HN(e){return this.pointer([{target:e},"[MouseLeft][MouseLeft]"])}async function UN(e){return this.pointer([{target:e},"[MouseLeft][MouseLeft][MouseLeft]"])}async function VN(e){return this.pointer({target:e})}async function zN(e){return Fr(this,this.system.pointer.getMouseTarget(this)),this.pointer({target:e.ownerDocument.body})}async function GN({shift:e}={}){return this.keyboard(e===!0?"{Shift>}{Tab}{/Shift}":e===!1?"[/ShiftLeft][/ShiftRight]{Tab}":"{Tab}")}function WN(e,t){let r=[];do{let{type:o,descriptor:a,consumedLength:i,releasePrevious:l,releaseSelf:u=!0,repeat:c}=Jb(t,"keyboard");var n;let s=(n=e.find(d=>{if(o==="["){var m;return((m=d.code)===null||m===void 0?void 0:m.toLowerCase())===a.toLowerCase()}else if(o==="{"){var p;return((p=d.key)===null||p===void 0?void 0:p.toLowerCase())===a.toLowerCase()}return d.key===a}))!==null&&n!==void 0?n:{key:"Unknown",code:"Unknown",[o==="["?"code":"key"]:a};r.push({keyDef:s,releasePrevious:l,releaseSelf:u,repeat:c}),t=t.slice(i)}while(t);return r}async function KN(e){let t=WN(this.config.keyboardMap,e);for(let r=0;r<t.length;r++)await Ar(this.config),await YN(this,t[r])}async function YN(e,{keyDef:t,releasePrevious:r,releaseSelf:n,repeat:o}){let{system:a}=e;if(a.keyboard.isKeyPressed(t)&&await a.keyboard.keyup(e,t),!r){for(let i=1;i<=o;i++)await a.keyboard.keydown(e,t),i<o&&await Ar(e.config);n&&await a.keyboard.keyup(e,t)}}async function JN(e){for(let t of e.system.keyboard.getPressedKeys())await e.system.keyboard.keyup(e,t)}function by(e){let t=lt(e)?{"text/plain":XN(e)}:{"text/plain":String(e.ownerDocument.getSelection())},r=Es(it(e));for(let n in t)t[n]&&r.setData(n,t[n]);return r}function XN(e){let t=cn(e);return st(e).substring(t.startOffset,t.endOffset)}async function QN(){let e=this.config.document;var t;let r=(t=e.activeElement)!==null&&t!==void 0?t:e.body,n=by(r);if(n.items.length!==0)return this.dispatchUIEvent(r,"copy",{clipboardData:n})&&this.config.writeToClipboard&&await Wb(e,n),n}async function ZN(){let e=this.config.document;var t;let r=(t=e.activeElement)!==null&&t!==void 0?t:e.body,n=by(r);if(n.items.length!==0)return this.dispatchUIEvent(r,"cut",{clipboardData:n})&&this.config.writeToClipboard&&await Wb(r.ownerDocument,n),n}async function e$(e){let t=this.config.document;var r;let n=(r=t.activeElement)!==null&&r!==void 0?r:t.body;var o;let a=(o=typeof e=="string"?t$(t,e):e)!==null&&o!==void 0?o:await Cj(t).catch(()=>{throw new Error("`userEvent.paste()` without `clipboardData` requires the `ClipboardAPI` to be available.")});this.dispatchUIEvent(n,"paste",{clipboardData:a})}function t$(e,t){let r=Es(it(e));return r.setData("text",t),r}function Cd(e,t){let r=[];do{let{descriptor:n,consumedLength:o,releasePrevious:a,releaseSelf:i=!0}=Jb(t,"pointer"),l=e.find(u=>u.name===n);l&&r.push({keyDef:l,releasePrevious:a,releaseSelf:i}),t=t.slice(o)}while(t);return r}async function r$(e){let{pointerMap:t}=this.config,r=[];(Array.isArray(e)?e:[e]).forEach(n=>{typeof n=="string"?r.push(...Cd(t,n)):"keys"in n?r.push(...Cd(t,n.keys).map(o=>({...n,...o}))):r.push(n)});for(let n=0;n<r.length;n++)await Ar(this.config),await n$(this,r[n]);this.system.pointer.resetClickCount()}async function n$(e,t){var r,n;let o="pointerName"in t&&t.pointerName?t.pointerName:"keyDef"in t?e.system.pointer.getPointerName(t.keyDef):"mouse",a=e.system.pointer.getPreviousPosition(o);var i,l,u,c;let s={target:(i=t.target)!==null&&i!==void 0?i:o$(e,a),coords:(l=t.coords)!==null&&l!==void 0?l:a==null?void 0:a.coords,caret:{node:(u=t.node)!==null&&u!==void 0?u:qd(t)||a==null||(r=a.caret)===null||r===void 0?void 0:r.node,offset:(c=t.offset)!==null&&c!==void 0?c:qd(t)||a==null||(n=a.caret)===null||n===void 0?void 0:n.offset}};"keyDef"in t?(e.system.pointer.isKeyPressed(t.keyDef)&&(Lr(e,Ie.Trigger),await e.system.pointer.release(e,t.keyDef,s)),t.releasePrevious||(Lr(e,Ie.Trigger),await e.system.pointer.press(e,t.keyDef,s),t.releaseSelf&&(Lr(e,Ie.Trigger),await e.system.pointer.release(e,t.keyDef,s)))):(Lr(e,Ie.Trigger),await e.system.pointer.move(e,o,s))}function qd(e){var t,r;return!!((r=(t=e.target)!==null&&t!==void 0?t:e.node)!==null&&r!==void 0?r:e.offset!==void 0)}function o$(e,t){if(!t)throw new Error("This pointer has no previous position. Provide a target property!");var r;return(r=t.target)!==null&&r!==void 0?r:e.config.document.body}async function a$(e){if(!Pr(e)||vt(e))throw new Error("clear()` is only supported on editable elements.");if($t(e),e.ownerDocument.activeElement!==e)throw new Error("The element to be cleared could not be focused.");if(ay(e),!oN(e))throw new Error("The element content to be cleared could not be selected.");Sr(this,e,"","deleteContentBackward")}async function i$(e,t){return yy.call(this,!0,e,t)}async function l$(e,t){return yy.call(this,!1,e,t)}async function yy(e,t,r){if(!e&&!t.multiple)throw X().getElementError("Unable to deselect an option in a non-multiple select. Use selectOptions to change the selection instead.",t);let n=Array.isArray(r)?r:[r],o=Array.from(t.querySelectorAll('option, [role="option"]')),a=n.map(l=>{if(typeof l!="string"&&o.includes(l))return l;{let u=o.find(c=>c.value===l||c.innerHTML===l);if(u)return u;throw X().getElementError(`Value "${String(l)}" not found in options`,t)}}).filter(l=>!vt(l));if(vt(t)||!a.length)return;let i=l=>{l.selected=e,this.dispatchUIEvent(t,"input",{bubbles:!0,cancelable:!1,composed:!0}),this.dispatchUIEvent(t,"change")};if(Y(t,"select"))if(t.multiple)for(let l of a){let u=this.config.pointerEventsCheck===0?!0:so(this,l);u&&(this.dispatchUIEvent(l,"pointerover"),this.dispatchUIEvent(t,"pointerenter"),this.dispatchUIEvent(l,"mouseover"),this.dispatchUIEvent(t,"mouseenter"),this.dispatchUIEvent(l,"pointermove"),this.dispatchUIEvent(l,"mousemove"),this.dispatchUIEvent(l,"pointerdown"),this.dispatchUIEvent(l,"mousedown")),$t(t),u&&(this.dispatchUIEvent(l,"pointerup"),this.dispatchUIEvent(l,"mouseup")),i(l),u&&this.dispatchUIEvent(l,"click"),await Ar(this.config)}else if(a.length===1){let l=this.config.pointerEventsCheck===0?!0:so(this,t);l?await this.click(t):$t(t),i(a[0]),l&&(this.dispatchUIEvent(t,"pointerover"),this.dispatchUIEvent(t,"pointerenter"),this.dispatchUIEvent(t,"mouseover"),this.dispatchUIEvent(t,"mouseenter"),this.dispatchUIEvent(t,"pointerup"),this.dispatchUIEvent(t,"mouseup"),this.dispatchUIEvent(t,"click")),await Ar(this.config)}else throw X().getElementError("Cannot select multiple options on a non-multiple select",t);else if(t.getAttribute("role")==="listbox")for(let l of a)await this.click(l),await this.unhover(l);else throw X().getElementError("Cannot select options on elements that are neither select nor listbox elements",t)}async function s$(e,t,{skipClick:r=this.config.skipClick,skipAutoClose:n=this.config.skipAutoClose,initialSelectionStart:o,initialSelectionEnd:a}={}){e.disabled||(r||await this.click(e),o!==void 0&&Dr(e,o,a??o),await this.keyboard(t),n||await JN(this))}var Ed=Symbol("files and value properties are mocked");function Ga(e,t,r){r?Object.defineProperty(e,t,r):delete e[t]}function u$(e,t){var r;(r=e[Ed])===null||r===void 0||r.restore();let n=Object.getOwnPropertyDescriptor(e,"type"),o=Object.getOwnPropertyDescriptor(e,"value"),a=Object.getOwnPropertyDescriptor(e,"files");function i(){Ga(e,"type",n),Ga(e,"value",o),Ga(e,"files",a)}e[Ed]={restore:i},Object.defineProperties(e,{files:{configurable:!0,get:()=>t},value:{configurable:!0,get:()=>t.length?`C:\\fakepath\\${t[0].name}`:"",set(l){if(l==="")i();else{var u;o==null||(u=o.set)===null||u===void 0||u.call(e,l)}}},type:{configurable:!0,get:()=>"file",set(l){l!=="file"&&(i(),e.type=l)}}})}async function c$(e,t){let r=Y(e,"label")?e.control:e;if(!r||!Y(r,"input",{type:"file"}))throw new TypeError(`The ${r===e?"given":"associated"} ${r==null?void 0:r.tagName} element does not accept file uploads`);if(vt(e))return;let n=(Array.isArray(t)?t:[t]).filter(a=>!this.config.applyAccept||d$(a,r.accept)).slice(0,r.multiple?void 0:1),o=()=>{var a;n.length===((a=r.files)===null||a===void 0?void 0:a.length)&&n.every((i,l)=>{var u;return i===((u=r.files)===null||u===void 0?void 0:u.item(l))})||(u$(r,qs(it(e),n)),this.dispatchUIEvent(r,"input"),this.dispatchUIEvent(r,"change"))};r.addEventListener("fileDialog",o),await this.click(e),r.removeEventListener("fileDialog",o)}function d$(e,t){if(!t)return!0;let r=["audio/*","image/*","video/*"];return t.split(",").some(n=>n.startsWith(".")?e.name.endsWith(n):r.includes(n)?e.type.startsWith(n.substr(0,n.length-1)):e.type===n)}var Pd={click:FN,dblClick:HN,tripleClick:UN,hover:VN,unhover:zN,tab:GN,keyboard:KN,copy:QN,cut:ZN,paste:e$,pointer:r$,clear:a$,deselectOptions:l$,selectOptions:i$,type:s$,upload:c$};function p$(e){return X().asyncWrapper(e)}var gy={applyAccept:!0,autoModify:!0,delay:0,document:globalThis.document,keyboardMap:TN,pointerMap:SN,pointerEventsCheck:fr.EachApiCall,skipAutoClose:!1,skipClick:!1,skipHover:!1,writeToClipboard:!1,advanceTimers:()=>Promise.resolve()},m$={...gy,writeToClipboard:!0};function vy(e={},t=m$,r){let n=y$(e,r,t);return{...t,...e,document:n}}function f$(e={}){let t=vy(e);cy(t.document);var r;let n=(r=t.document.defaultView)!==null&&r!==void 0?r:globalThis.window;return _j(n),As(t).api}function Ne({keyboardState:e,pointerState:t,...r}={},n){let o=vy(r,gy,n);cy(o.document);var a;let i=(a=t??e)!==null&&a!==void 0?a:new hy;return{api:As(o,i).api,system:i}}function h$(e){return As({...this.config,...e},this.system).api}function b$(e,t){function r(...n){return Lr(e,Ie.Call),p$(()=>t.apply(e,n).then(async o=>(await Ar(e.config),o)))}return Object.defineProperty(r,"name",{get:()=>t.name}),r}function As(e,t=new hy){let r={};return Object.assign(r,{config:e,dispatchEvent:uy.bind(r),dispatchUIEvent:yN.bind(r),system:t,levelRefs:{},...Pd}),{instance:r,api:{...Object.fromEntries(Object.entries(Pd).map(([n,o])=>[n,b$(r,o)])),setup:h$.bind(r)}}}function y$(e,t,r){var n,o;return(o=(n=e.document)!==null&&n!==void 0?n:t&&CN(t))!==null&&o!==void 0?o:r.document}var _y={};sl(_y,{clear:()=>g$,click:()=>v$,copy:()=>_$,cut:()=>R$,dblClick:()=>w$,deselectOptions:()=>C$,hover:()=>q$,keyboard:()=>E$,paste:()=>O$,pointer:()=>P$,selectOptions:()=>T$,tab:()=>j$,tripleClick:()=>S$,type:()=>A$,unhover:()=>M$,upload:()=>x$});function g$(e){return Ne().api.clear(e)}function v$(e,t={}){return Ne(t,e).api.click(e)}function _$(e={}){return Ne(e).api.copy()}function R$(e={}){return Ne(e).api.cut()}function w$(e,t={}){return Ne(t).api.dblClick(e)}function C$(e,t,r={}){return Ne(r).api.deselectOptions(e,t)}function q$(e,t={}){return Ne(t).api.hover(e)}async function E$(e,t={}){let{api:r,system:n}=Ne(t);return r.keyboard(e).then(()=>n)}async function P$(e,t={}){let{api:r,system:n}=Ne(t);return r.pointer(e).then(()=>n)}function O$(e,t){return Ne(t).api.paste(e)}function T$(e,t,r={}){return Ne(r).api.selectOptions(e,t)}function S$(e,t={}){return Ne(t).api.tripleClick(e)}function A$(e,t,r={}){return Ne(r,e).api.type(e,t,r)}function M$(e,t={}){let{api:r,system:n}=Ne(t);return n.pointer.setMousePosition({target:e}),r.unhover(e)}function x$(e,t,r={}){return Ne(r).api.upload(e,t)}function j$(e={}){return Ne().api.tab(e)}var N$={..._y,setup:f$};function $$(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];var n=Array.from(typeof e=="string"?[e]:e);n[n.length-1]=n[n.length-1].replace(/\r?\n([\t ]*)$/,"");var o=n.reduce(function(l,u){var c=u.match(/\n([\t ]+|(?!\s).)/g);return c?l.concat(c.map(function(s){var d,m;return(m=(d=s.match(/[\t ]/g))===null||d===void 0?void 0:d.length)!==null&&m!==void 0?m:0})):l},[]);if(o.length){var a=new RegExp(` -[ ]{`+Math.min.apply(Math,o)+"}","g");n=n.map(function(l){return l.replace(a,` -`)})}n[0]=n[0].replace(/^\r?\n/,"");var i=n[0];return t.forEach(function(l,u){var c=i.match(/(?:^|\n)( *)$/),s=c?c[1]:"",d=l;typeof l=="string"&&l.includes(` -`)&&(d=String(l).split(` -`).map(function(m,p){return p===0?m:""+s+m}).join(` -`)),i+=d+n[u+1]}),i}var I$=$$,Yi=il({...bh},{intercept:(e,t)=>t[0]==="fireEvent"||e.startsWith("find")||e.startsWith("waitFor")});Yi.screen=new Proxy(Yi.screen,{get(e,t,r){return _0.warn(I$` - You are using Testing Library's \`screen\` object. Use \`within(canvasElement)\` instead. - More info: https://storybook.js.org/docs/essentials/interactions - `),Reflect.get(e,t,r)}});var{buildQueries:B$,configure:k$,createEvent:L$,fireEvent:D$,findAllByAltText:F$,findAllByDisplayValue:H$,findAllByLabelText:U$,findAllByPlaceholderText:V$,findAllByRole:z$,findAllByTestId:G$,findAllByText:W$,findAllByTitle:K$,findByAltText:Y$,findByDisplayValue:J$,findByLabelText:X$,findByPlaceholderText:Q$,findByRole:Z$,findByTestId:eI,findByText:tI,findByTitle:rI,getAllByAltText:nI,getAllByDisplayValue:oI,getAllByLabelText:aI,getAllByPlaceholderText:iI,getAllByRole:lI,getAllByTestId:sI,getAllByText:uI,getAllByTitle:cI,getByAltText:dI,getByDisplayValue:pI,getByLabelText:mI,getByPlaceholderText:fI,getByRole:hI,getByTestId:bI,getByText:yI,getByTitle:gI,getConfig:vI,getDefaultNormalizer:_I,getElementError:RI,getNodeText:wI,getQueriesForElement:CI,getRoles:qI,getSuggestedQuery:EI,isInaccessible:PI,logDOM:OI,logRoles:TI,prettyDOM:SI,queries:AI,queryAllByAltText:MI,queryAllByAttribute:xI,queryAllByDisplayValue:jI,queryAllByLabelText:NI,queryAllByPlaceholderText:$I,queryAllByRole:II,queryAllByTestId:BI,queryAllByText:kI,queryAllByTitle:LI,queryByAltText:DI,queryByAttribute:FI,queryByDisplayValue:HI,queryByLabelText:UI,queryByPlaceholderText:VI,queryByRole:zI,queryByTestId:GI,queryByText:WI,queryByTitle:KI,queryHelpers:YI,screen:JI,waitFor:XI,waitForElementToBeRemoved:QI,within:Ry,prettyFormat:ZI}=Yi,{userEvent:e2}=il({userEvent:N$},{intercept:!0}),{expect:t2}=il({expect:uh},{getKeys:(e,t)=>{let r=["assert","__methods","__flags","_obj"];if(e.constructor===T){let n=Object.keys(Object.getPrototypeOf(e)).filter(o=>!r.includes(o));return t>2?n:[...n,"not"]}return Object.keys(e)},intercept:e=>e!=="expect"}),r2=({parameters:e})=>{var t,r,n;((t=e==null?void 0:e.test)==null?void 0:t.mockReset)===!0?fh():((r=e==null?void 0:e.test)==null?void 0:r.clearMocks)===!0?mh():((n=e==null?void 0:e.test)==null?void 0:n.restoreMocks)!==!1&&hh()},uo=(e,t=0,r)=>{var n;if(t>5||e==null)return e;if(us(e))return r&&e.mockName(r),e;if(typeof e=="function"&&"isAction"in e&&e.isAction&&!("implicit"in e&&e.implicit)){let o=dh(e);return r&&o.mockName(r),o}if(Array.isArray(e))return t++,e.map(o=>uo(o,t));if(typeof e=="object"&&e.constructor===Object){t++;for(let[o,a]of Object.entries(e))(n=Object.getOwnPropertyDescriptor(e,o))!=null&&n.writable&&(e[o]=uo(a,t,o));return e}return e},n2=({initialArgs:e})=>{uo(e)},o2=e=>{globalThis.HTMLElement&&e.canvasElement instanceof globalThis.HTMLElement&&(e.canvas=Ry(e.canvasElement))};cp.__STORYBOOK_TEST_LOADERS__=[r2,n2,o2];cp.__STORYBOOK_TEST_ON_MOCK_CALL__=ch;const c2=Object.freeze(Object.defineProperty({__proto__:null,buildQueries:B$,clearAllMocks:mh,configure:k$,createEvent:L$,expect:t2,findAllByAltText:F$,findAllByDisplayValue:H$,findAllByLabelText:U$,findAllByPlaceholderText:V$,findAllByRole:z$,findAllByTestId:G$,findAllByText:W$,findAllByTitle:K$,findByAltText:Y$,findByDisplayValue:J$,findByLabelText:X$,findByPlaceholderText:Q$,findByRole:Z$,findByTestId:eI,findByText:tI,findByTitle:rI,fireEvent:D$,fn:dh,getAllByAltText:nI,getAllByDisplayValue:oI,getAllByLabelText:aI,getAllByPlaceholderText:iI,getAllByRole:lI,getAllByTestId:sI,getAllByText:uI,getAllByTitle:cI,getByAltText:dI,getByDisplayValue:pI,getByLabelText:mI,getByPlaceholderText:fI,getByRole:hI,getByTestId:bI,getByText:yI,getByTitle:gI,getConfig:vI,getDefaultNormalizer:_I,getElementError:RI,getNodeText:wI,getQueriesForElement:CI,getRoles:qI,getSuggestedQuery:EI,isInaccessible:PI,isMockFunction:us,logDOM:OI,logRoles:TI,mocked:cM,mocks:vn,onMockCall:ch,prettyDOM:SI,prettyFormat:ZI,queries:AI,queryAllByAltText:MI,queryAllByAttribute:xI,queryAllByDisplayValue:jI,queryAllByLabelText:NI,queryAllByPlaceholderText:$I,queryAllByRole:II,queryAllByTestId:BI,queryAllByText:kI,queryAllByTitle:LI,queryByAltText:DI,queryByAttribute:FI,queryByDisplayValue:HI,queryByLabelText:UI,queryByPlaceholderText:VI,queryByRole:zI,queryByTestId:GI,queryByText:WI,queryByTitle:KI,queryHelpers:YI,resetAllMocks:fh,restoreAllMocks:hh,screen:JI,spyOn:uM,traverseArgs:uo,userEvent:e2,waitFor:XI,waitForElementToBeRemoved:QI,within:Ry},Symbol.toStringTag,{value:"Module"}));export{c2 as a,il as i}; diff --git a/docs/storybook/assets/index-356e4a49.js b/docs/storybook/assets/index-356e4a49.js deleted file mode 100644 index 37c96b4..0000000 --- a/docs/storybook/assets/index-356e4a49.js +++ /dev/null @@ -1,6 +0,0 @@ -function l(o){for(var f=[],i=1;i<arguments.length;i++)f[i-1]=arguments[i];var n=Array.from(typeof o=="string"?[o]:o);n[n.length-1]=n[n.length-1].replace(/\r?\n([\t ]*)$/,"");var s=n.reduce(function(t,g){var a=g.match(/\n([\t ]+|(?!\s).)/g);return a?t.concat(a.map(function(u){var r,e;return(e=(r=u.match(/[\t ]/g))===null||r===void 0?void 0:r.length)!==null&&e!==void 0?e:0})):t},[]);if(s.length){var d=new RegExp(` -[ ]{`+Math.min.apply(Math,s)+"}","g");n=n.map(function(t){return t.replace(d,` -`)})}n[0]=n[0].replace(/^\r?\n/,"");var c=n[0];return f.forEach(function(t,g){var a=c.match(/(?:^|\n)( *)$/),u=a?a[1]:"",r=t;typeof t=="string"&&t.includes(` -`)&&(r=String(t).split(` -`).map(function(e,h){return h===0?e:""+u+e}).join(` -`)),c+=r+n[g+1]}),c}export{l as d}; diff --git a/docs/storybook/assets/index-81a4e465.js b/docs/storybook/assets/index-81a4e465.js deleted file mode 100644 index 99bd1fe..0000000 --- a/docs/storybook/assets/index-81a4e465.js +++ /dev/null @@ -1 +0,0 @@ -import{v as b}from"./v4-4a60fe23.js";const{addons:m}=__STORYBOOK_MODULE_PREVIEW_API__,{ImplicitActionsDuringRendering:A}=__STORYBOOK_MODULE_CORE_EVENTS_PREVIEW_ERRORS__,{global:y}=__STORYBOOK_MODULE_GLOBAL__;var v=Object.defineProperty,S=(t,e)=>{for(var r in e)v(t,r,{get:e[r],enumerable:!0})},x="storybook/actions",D=`${x}/action-event`,I={depth:10,clearOnStoryChange:!0,limit:50},E=(t,e)=>{let r=Object.getPrototypeOf(t);return!r||e(r)?r:E(r,e)},L=t=>!!(typeof t=="object"&&t&&E(t,e=>/^Synthetic(?:Base)?Event$/.test(e.constructor.name))&&typeof t.persist=="function"),P=t=>{if(L(t)){let e=Object.create(t.constructor.prototype,Object.getOwnPropertyDescriptors(t));e.persist();let r=Object.getOwnPropertyDescriptor(e,"view"),n=r==null?void 0:r.value;return typeof n=="object"&&(n==null?void 0:n.constructor.name)==="Window"&&Object.defineProperty(e,"view",{...r,value:Object.create(n.constructor.prototype)}),e}return t},B=()=>typeof crypto=="object"&&typeof crypto.getRandomValues=="function"?b():Date.now().toString(36)+Math.random().toString(36).substring(2);function O(t,e={}){let r={...I,...e},n=function(...i){var p,d;if(e.implicit){let g=(p="__STORYBOOK_PREVIEW__"in y?y.__STORYBOOK_PREVIEW__:void 0)==null?void 0:p.storyRenders.find(_=>_.phase==="playing"||_.phase==="rendering");if(g){let _=!((d=globalThis==null?void 0:globalThis.FEATURES)!=null&&d.disallowImplicitActionsInRenderV8),u=new A({phase:g.phase,name:t,deprecated:_});if(_)console.warn(u);else throw u}}let o=m.getChannel(),s=B(),a=5,c=i.map(P),h=i.length>1?c:c[0],T={id:s,count:0,data:{name:t,args:h},options:{...r,maxDepth:a+(r.depth||3),allowFunction:r.allowFunction||!1}};o.emit(D,T)};return n.isAction=!0,n.implicit=e.implicit,n}__STORYBOOK_MODULE_PREVIEW_API__;const{global:l}=__STORYBOOK_MODULE_GLOBAL__;var K={};S(K,{argsEnhancers:()=>M,loaders:()=>Y});var f=(t,e)=>typeof e[t]>"u"&&!(t in e),j=t=>{let{initialArgs:e,argTypes:r,id:n,parameters:{actions:i}}=t;if(!i||i.disable||!i.argTypesRegex||!r)return{};let o=new RegExp(i.argTypesRegex);return Object.entries(r).filter(([s])=>!!o.test(s)).reduce((s,[a,c])=>(f(a,e)&&(s[a]=O(a,{implicit:!0,id:n})),s),{})},w=t=>{let{initialArgs:e,argTypes:r,parameters:{actions:n}}=t;return n!=null&&n.disable||!r?{}:Object.entries(r).filter(([i,o])=>!!o.action).reduce((i,[o,s])=>(f(o,e)&&(i[o]=O(typeof s.action=="string"?s.action:o)),i),{})},M=[w,j],R=!1,C=t=>{let{parameters:{actions:e}}=t;if(!(e!=null&&e.disable)&&!R&&"__STORYBOOK_TEST_ON_MOCK_CALL__"in l&&typeof l.__STORYBOOK_TEST_ON_MOCK_CALL__=="function"){let r=l.__STORYBOOK_TEST_ON_MOCK_CALL__;r((n,i)=>{let o=n.getMockName();o!=="spy"&&(!/^next\/.*::/.test(o)||["next/router::useRouter()","next/navigation::useRouter()","next/navigation::redirect","next/cache::","next/headers::cookies().set","next/headers::cookies().delete","next/headers::headers().set","next/headers::headers().delete"].some(s=>o.startsWith(s)))&&O(o)(i)}),R=!0}},Y=[C];export{O as a}; diff --git a/docs/storybook/assets/index-93f6b7ae.js b/docs/storybook/assets/index-93f6b7ae.js deleted file mode 100644 index 6c6fae1..0000000 --- a/docs/storybook/assets/index-93f6b7ae.js +++ /dev/null @@ -1,9 +0,0 @@ -function D(e,t){for(var r=0;r<t.length;r++){const n=t[r];if(typeof n!="string"&&!Array.isArray(n)){for(const u in n)if(u!=="default"&&!(u in e)){const c=Object.getOwnPropertyDescriptor(n,u);c&&Object.defineProperty(e,u,c.get?c:{enumerable:!0,get:()=>n[u]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}var Z=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function M(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function ee(e){if(e.__esModule)return e;var t=e.default;if(typeof t=="function"){var r=function n(){return this instanceof n?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};r.prototype=t.prototype}else r={};return Object.defineProperty(r,"__esModule",{value:!0}),Object.keys(e).forEach(function(n){var u=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(r,n,u.get?u:{enumerable:!0,get:function(){return e[n]}})}),r}var R={exports:{}},o={};/** - * @license React - * react.production.min.js - * - * Copyright (c) Facebook, Inc. and its affiliates. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */var y=Symbol.for("react.element"),V=Symbol.for("react.portal"),F=Symbol.for("react.fragment"),N=Symbol.for("react.strict_mode"),U=Symbol.for("react.profiler"),q=Symbol.for("react.provider"),L=Symbol.for("react.context"),z=Symbol.for("react.forward_ref"),B=Symbol.for("react.suspense"),H=Symbol.for("react.memo"),G=Symbol.for("react.lazy"),w=Symbol.iterator;function W(e){return e===null||typeof e!="object"?null:(e=w&&e[w]||e["@@iterator"],typeof e=="function"?e:null)}var O={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},k=Object.assign,$={};function p(e,t,r){this.props=e,this.context=t,this.refs=$,this.updater=r||O}p.prototype.isReactComponent={};p.prototype.setState=function(e,t){if(typeof e!="object"&&typeof e!="function"&&e!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")};p.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function C(){}C.prototype=p.prototype;function v(e,t,r){this.props=e,this.context=t,this.refs=$,this.updater=r||O}var b=v.prototype=new C;b.constructor=v;k(b,p.prototype);b.isPureReactComponent=!0;var E=Array.isArray,P=Object.prototype.hasOwnProperty,S={current:null},x={key:!0,ref:!0,__self:!0,__source:!0};function I(e,t,r){var n,u={},c=null,s=null;if(t!=null)for(n in t.ref!==void 0&&(s=t.ref),t.key!==void 0&&(c=""+t.key),t)P.call(t,n)&&!x.hasOwnProperty(n)&&(u[n]=t[n]);var f=arguments.length-2;if(f===1)u.children=r;else if(1<f){for(var i=Array(f),a=0;a<f;a++)i[a]=arguments[a+2];u.children=i}if(e&&e.defaultProps)for(n in f=e.defaultProps,f)u[n]===void 0&&(u[n]=f[n]);return{$$typeof:y,type:e,key:c,ref:s,props:u,_owner:S.current}}function J(e,t){return{$$typeof:y,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}function g(e){return typeof e=="object"&&e!==null&&e.$$typeof===y}function K(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(r){return t[r]})}var j=/\/+/g;function m(e,t){return typeof e=="object"&&e!==null&&e.key!=null?K(""+e.key):t.toString(36)}function _(e,t,r,n,u){var c=typeof e;(c==="undefined"||c==="boolean")&&(e=null);var s=!1;if(e===null)s=!0;else switch(c){case"string":case"number":s=!0;break;case"object":switch(e.$$typeof){case y:case V:s=!0}}if(s)return s=e,u=u(s),e=n===""?"."+m(s,0):n,E(u)?(r="",e!=null&&(r=e.replace(j,"$&/")+"/"),_(u,t,r,"",function(a){return a})):u!=null&&(g(u)&&(u=J(u,r+(!u.key||s&&s.key===u.key?"":(""+u.key).replace(j,"$&/")+"/")+e)),t.push(u)),1;if(s=0,n=n===""?".":n+":",E(e))for(var f=0;f<e.length;f++){c=e[f];var i=n+m(c,f);s+=_(c,t,r,i,u)}else if(i=W(e),typeof i=="function")for(e=i.call(e),f=0;!(c=e.next()).done;)c=c.value,i=n+m(c,f++),s+=_(c,t,r,i,u);else if(c==="object")throw t=String(e),Error("Objects are not valid as a React child (found: "+(t==="[object Object]"?"object with keys {"+Object.keys(e).join(", ")+"}":t)+"). If you meant to render a collection of children, use an array instead.");return s}function d(e,t,r){if(e==null)return e;var n=[],u=0;return _(e,n,"","",function(c){return t.call(r,c,u++)}),n}function Q(e){if(e._status===-1){var t=e._result;t=t(),t.then(function(r){(e._status===0||e._status===-1)&&(e._status=1,e._result=r)},function(r){(e._status===0||e._status===-1)&&(e._status=2,e._result=r)}),e._status===-1&&(e._status=0,e._result=t)}if(e._status===1)return e._result.default;throw e._result}var l={current:null},h={transition:null},X={ReactCurrentDispatcher:l,ReactCurrentBatchConfig:h,ReactCurrentOwner:S};function T(){throw Error("act(...) is not supported in production builds of React.")}o.Children={map:d,forEach:function(e,t,r){d(e,function(){t.apply(this,arguments)},r)},count:function(e){var t=0;return d(e,function(){t++}),t},toArray:function(e){return d(e,function(t){return t})||[]},only:function(e){if(!g(e))throw Error("React.Children.only expected to receive a single React element child.");return e}};o.Component=p;o.Fragment=F;o.Profiler=U;o.PureComponent=v;o.StrictMode=N;o.Suspense=B;o.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=X;o.act=T;o.cloneElement=function(e,t,r){if(e==null)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+e+".");var n=k({},e.props),u=e.key,c=e.ref,s=e._owner;if(t!=null){if(t.ref!==void 0&&(c=t.ref,s=S.current),t.key!==void 0&&(u=""+t.key),e.type&&e.type.defaultProps)var f=e.type.defaultProps;for(i in t)P.call(t,i)&&!x.hasOwnProperty(i)&&(n[i]=t[i]===void 0&&f!==void 0?f[i]:t[i])}var i=arguments.length-2;if(i===1)n.children=r;else if(1<i){f=Array(i);for(var a=0;a<i;a++)f[a]=arguments[a+2];n.children=f}return{$$typeof:y,type:e.type,key:u,ref:c,props:n,_owner:s}};o.createContext=function(e){return e={$$typeof:L,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},e.Provider={$$typeof:q,_context:e},e.Consumer=e};o.createElement=I;o.createFactory=function(e){var t=I.bind(null,e);return t.type=e,t};o.createRef=function(){return{current:null}};o.forwardRef=function(e){return{$$typeof:z,render:e}};o.isValidElement=g;o.lazy=function(e){return{$$typeof:G,_payload:{_status:-1,_result:e},_init:Q}};o.memo=function(e,t){return{$$typeof:H,type:e,compare:t===void 0?null:t}};o.startTransition=function(e){var t=h.transition;h.transition={};try{e()}finally{h.transition=t}};o.unstable_act=T;o.useCallback=function(e,t){return l.current.useCallback(e,t)};o.useContext=function(e){return l.current.useContext(e)};o.useDebugValue=function(){};o.useDeferredValue=function(e){return l.current.useDeferredValue(e)};o.useEffect=function(e,t){return l.current.useEffect(e,t)};o.useId=function(){return l.current.useId()};o.useImperativeHandle=function(e,t,r){return l.current.useImperativeHandle(e,t,r)};o.useInsertionEffect=function(e,t){return l.current.useInsertionEffect(e,t)};o.useLayoutEffect=function(e,t){return l.current.useLayoutEffect(e,t)};o.useMemo=function(e,t){return l.current.useMemo(e,t)};o.useReducer=function(e,t,r){return l.current.useReducer(e,t,r)};o.useRef=function(e){return l.current.useRef(e)};o.useState=function(e){return l.current.useState(e)};o.useSyncExternalStore=function(e,t,r){return l.current.useSyncExternalStore(e,t,r)};o.useTransition=function(){return l.current.useTransition()};o.version="18.3.1";R.exports=o;var A=R.exports;const Y=M(A),te=D({__proto__:null,default:Y},[A]);export{Y as R,te as a,ee as b,Z as c,M as g,A as r}; diff --git a/docs/storybook/assets/index-ba5305b1.js b/docs/storybook/assets/index-ba5305b1.js deleted file mode 100644 index 8b4179f..0000000 --- a/docs/storybook/assets/index-ba5305b1.js +++ /dev/null @@ -1,8 +0,0 @@ -import{c as bn}from"./index-93f6b7ae.js";var ge={exports:{}};(function(n,a){(function(o,i){i(a)})(bn,function(o){function i(e){return e.text!==void 0&&e.text!==""?`'${e.type}' with value '${e.text}'`:`'${e.type}'`}class p extends Error{constructor(t){super(`No parslet found for token: ${i(t)}`),this.token=t,Object.setPrototypeOf(this,p.prototype)}getToken(){return this.token}}class u extends Error{constructor(t){super(`The parsing ended early. The next token was: ${i(t)}`),this.token=t,Object.setPrototypeOf(this,u.prototype)}getToken(){return this.token}}class y extends Error{constructor(t,r){let s=`Unexpected type: '${t.type}'.`;r!==void 0&&(s+=` Message: ${r}`),super(s),Object.setPrototypeOf(this,y.prototype)}}function m(e){return t=>t.startsWith(e)?{type:e,text:e}:null}function h(e){let t=0,r;const s=e[0];let c=!1;if(s!=="'"&&s!=='"')return null;for(;t<e.length;){if(t++,r=e[t],!c&&r===s){t++;break}c=!c&&r==="\\"}if(r!==s)throw new Error("Unterminated String");return e.slice(0,t)}const E=/[$_\p{ID_Start}]|\\u\p{Hex_Digit}{4}|\\u\{0*(?:\p{Hex_Digit}{1,5}|10\p{Hex_Digit}{4})\}/u,N=/[$\-\p{ID_Continue}\u200C\u200D]|\\u\p{Hex_Digit}{4}|\\u\{0*(?:\p{Hex_Digit}{1,5}|10\p{Hex_Digit}{4})\}/u;function ae(e){let t=e[0];if(!E.test(t))return null;let r=1;do{if(t=e[r],!N.test(t))break;r++}while(r<e.length);return e.slice(0,r)}const K=/^(NaN|-?((\d*\.\d+|\d+)([Ee][+-]?\d+)?|Infinity))/;function W(e){var t,r;return(r=(t=K.exec(e))===null||t===void 0?void 0:t[0])!==null&&r!==void 0?r:null}const X=e=>{const t=ae(e);return t==null?null:{type:"Identifier",text:t}};function P(e){return t=>{if(!t.startsWith(e))return null;const r=t[e.length];return r!==void 0&&N.test(r)?null:{type:e,text:e}}}const oe=e=>{const t=h(e);return t==null?null:{type:"StringValue",text:t}},Ut=e=>e.length>0?null:{type:"EOF",text:""},Vt=e=>{const t=W(e);return t===null?null:{type:"Number",text:t}},Kt=[Ut,m("=>"),m("("),m(")"),m("{"),m("}"),m("["),m("]"),m("|"),m("&"),m("<"),m(">"),m(","),m(";"),m("*"),m("?"),m("!"),m("="),m(":"),m("..."),m("."),m("#"),m("~"),m("/"),m("@"),P("undefined"),P("null"),P("function"),P("this"),P("new"),P("module"),P("event"),P("external"),P("typeof"),P("keyof"),P("readonly"),P("import"),P("is"),P("in"),P("asserts"),Vt,X,oe],Dt=/^\s*\n\s*/;class D{static create(t){const r=this.read(t);t=r.text;const s=this.read(t);return t=s.text,new D(t,void 0,r.token,s.token)}constructor(t,r,s,c){this.text="",this.text=t,this.previous=r,this.current=s,this.next=c}static read(t,r=!1){r=r||Dt.test(t),t=t.trim();for(const s of Kt){const c=s(t);if(c!==null){const d=Object.assign(Object.assign({},c),{startOfLine:r});return t=t.slice(d.text.length),{text:t,token:d}}}throw new Error("Unexpected Token "+t)}advance(){const t=D.read(this.text);return new D(t.text,this.current,this.next,t.token)}}function w(e){if(e===void 0)throw new Error("Unexpected undefined");if(e.type==="JsdocTypeKeyValue"||e.type==="JsdocTypeParameterList"||e.type==="JsdocTypeProperty"||e.type==="JsdocTypeReadonlyProperty"||e.type==="JsdocTypeObjectField"||e.type==="JsdocTypeJsdocObjectField"||e.type==="JsdocTypeIndexSignature"||e.type==="JsdocTypeMappedType")throw new y(e);return e}function se(e){return e.type==="JsdocTypeKeyValue"?Q(e):w(e)}function $t(e){return e.type==="JsdocTypeName"?e:Q(e)}function Q(e){if(e.type!=="JsdocTypeKeyValue")throw new y(e);return e}function qt(e){var t;if(e.type==="JsdocTypeVariadic"){if(((t=e.element)===null||t===void 0?void 0:t.type)==="JsdocTypeName")return e;throw new y(e)}if(e.type!=="JsdocTypeNumber"&&e.type!=="JsdocTypeName")throw new y(e);return e}function ie(e){return e.type==="JsdocTypeIndexSignature"||e.type==="JsdocTypeMappedType"}var f;(function(e){e[e.ALL=0]="ALL",e[e.PARAMETER_LIST=1]="PARAMETER_LIST",e[e.OBJECT=2]="OBJECT",e[e.KEY_VALUE=3]="KEY_VALUE",e[e.INDEX_BRACKETS=4]="INDEX_BRACKETS",e[e.UNION=5]="UNION",e[e.INTERSECTION=6]="INTERSECTION",e[e.PREFIX=7]="PREFIX",e[e.INFIX=8]="INFIX",e[e.TUPLE=9]="TUPLE",e[e.SYMBOL=10]="SYMBOL",e[e.OPTIONAL=11]="OPTIONAL",e[e.NULLABLE=12]="NULLABLE",e[e.KEY_OF_TYPE_OF=13]="KEY_OF_TYPE_OF",e[e.FUNCTION=14]="FUNCTION",e[e.ARROW=15]="ARROW",e[e.ARRAY_BRACKETS=16]="ARRAY_BRACKETS",e[e.GENERIC=17]="GENERIC",e[e.NAME_PATH=18]="NAME_PATH",e[e.PARENTHESIS=19]="PARENTHESIS",e[e.SPECIAL_TYPES=20]="SPECIAL_TYPES"})(f||(f={}));class U{constructor(t,r,s){this.grammar=t,typeof r=="string"?this._lexer=D.create(r):this._lexer=r,this.baseParser=s}get lexer(){return this._lexer}parse(){const t=this.parseType(f.ALL);if(this.lexer.current.type!=="EOF")throw new u(this.lexer.current);return t}parseType(t){return w(this.parseIntermediateType(t))}parseIntermediateType(t){const r=this.tryParslets(null,t);if(r===null)throw new p(this.lexer.current);return this.parseInfixIntermediateType(r,t)}parseInfixIntermediateType(t,r){let s=this.tryParslets(t,r);for(;s!==null;)t=s,s=this.tryParslets(t,r);return t}tryParslets(t,r){for(const s of this.grammar){const c=s(this,r,t);if(c!==null)return c}return null}consume(t){return Array.isArray(t)||(t=[t]),t.includes(this.lexer.current.type)?(this._lexer=this.lexer.advance(),!0):!1}acceptLexerState(t){this._lexer=t.lexer}}function Ae(e){return e==="EOF"||e==="|"||e===","||e===")"||e===">"}const le=(e,t,r)=>{const s=e.lexer.current.type,c=e.lexer.next.type;return r==null&&s==="?"&&!Ae(c)||r!=null&&s==="?"?(e.consume("?"),r==null?{type:"JsdocTypeNullable",element:e.parseType(f.NULLABLE),meta:{position:"prefix"}}:{type:"JsdocTypeNullable",element:w(r),meta:{position:"suffix"}}):null};function g(e){const t=(r,s,c)=>{const d=r.lexer.current.type,T=r.lexer.next.type;if(c===null){if("parsePrefix"in e&&e.accept(d,T))return e.parsePrefix(r)}else if("parseInfix"in e&&e.precedence>s&&e.accept(d,T))return e.parseInfix(r,c);return null};return Object.defineProperty(t,"name",{value:e.name}),t}const H=g({name:"optionalParslet",accept:e=>e==="=",precedence:f.OPTIONAL,parsePrefix:e=>(e.consume("="),{type:"JsdocTypeOptional",element:e.parseType(f.OPTIONAL),meta:{position:"prefix"}}),parseInfix:(e,t)=>(e.consume("="),{type:"JsdocTypeOptional",element:w(t),meta:{position:"suffix"}})}),z=g({name:"numberParslet",accept:e=>e==="Number",parsePrefix:e=>{const t=parseFloat(e.lexer.current.text);return e.consume("Number"),{type:"JsdocTypeNumber",value:t}}}),Bt=g({name:"parenthesisParslet",accept:e=>e==="(",parsePrefix:e=>{if(e.consume("("),e.consume(")"))return{type:"JsdocTypeParameterList",elements:[]};const t=e.parseIntermediateType(f.ALL);if(!e.consume(")"))throw new Error("Unterminated parenthesis");return t.type==="JsdocTypeParameterList"?t:t.type==="JsdocTypeKeyValue"?{type:"JsdocTypeParameterList",elements:[t]}:{type:"JsdocTypeParenthesis",element:w(t)}}}),Mt=g({name:"specialTypesParslet",accept:(e,t)=>e==="?"&&Ae(t)||e==="null"||e==="undefined"||e==="*",parsePrefix:e=>{if(e.consume("null"))return{type:"JsdocTypeNull"};if(e.consume("undefined"))return{type:"JsdocTypeUndefined"};if(e.consume("*"))return{type:"JsdocTypeAny"};if(e.consume("?"))return{type:"JsdocTypeUnknown"};throw new Error("Unacceptable token: "+e.lexer.current.text)}}),Ct=g({name:"notNullableParslet",accept:e=>e==="!",precedence:f.NULLABLE,parsePrefix:e=>(e.consume("!"),{type:"JsdocTypeNotNullable",element:e.parseType(f.NULLABLE),meta:{position:"prefix"}}),parseInfix:(e,t)=>(e.consume("!"),{type:"JsdocTypeNotNullable",element:w(t),meta:{position:"suffix"}})});function Yt({allowTrailingComma:e}){return g({name:"parameterListParslet",accept:t=>t===",",precedence:f.PARAMETER_LIST,parseInfix:(t,r)=>{const s=[se(r)];t.consume(",");do try{const c=t.parseIntermediateType(f.PARAMETER_LIST);s.push(se(c))}catch(c){if(e&&c instanceof p)break;throw c}while(t.consume(","));if(s.length>0&&s.slice(0,-1).some(c=>c.type==="JsdocTypeVariadic"))throw new Error("Only the last parameter may be a rest parameter");return{type:"JsdocTypeParameterList",elements:s}}})}const Gt=g({name:"genericParslet",accept:(e,t)=>e==="<"||e==="."&&t==="<",precedence:f.GENERIC,parseInfix:(e,t)=>{const r=e.consume(".");e.consume("<");const s=[];do s.push(e.parseType(f.PARAMETER_LIST));while(e.consume(","));if(!e.consume(">"))throw new Error("Unterminated generic parameter list");return{type:"JsdocTypeGeneric",left:w(t),elements:s,meta:{brackets:"angle",dot:r}}}}),Wt=g({name:"unionParslet",accept:e=>e==="|",precedence:f.UNION,parseInfix:(e,t)=>{e.consume("|");const r=[];do r.push(e.parseType(f.UNION));while(e.consume("|"));return{type:"JsdocTypeUnion",elements:[w(t),...r]}}}),ce=[le,H,z,Bt,Mt,Ct,Yt({allowTrailingComma:!0}),Gt,Wt,H];function Z({allowSquareBracketsOnAnyType:e,allowJsdocNamePaths:t,pathGrammar:r}){return function(c,d,T){if(T==null||d>=f.NAME_PATH)return null;const J=c.lexer.current.type,k=c.lexer.next.type;if(!(J==="."&&k!=="<"||J==="["&&(e||T.type==="JsdocTypeName")||t&&(J==="~"||J==="#")))return null;let x,ne=!1;c.consume(".")?x="property":c.consume("[")?(x="property-brackets",ne=!0):c.consume("~")?x="inner":(c.consume("#"),x="instance");const $e=r!==null?new U(r,c.lexer,c):c,O=$e.parseIntermediateType(f.NAME_PATH);c.acceptLexerState($e);let B;switch(O.type){case"JsdocTypeName":B={type:"JsdocTypeProperty",value:O.value,meta:{quote:void 0}};break;case"JsdocTypeNumber":B={type:"JsdocTypeProperty",value:O.value.toString(10),meta:{quote:void 0}};break;case"JsdocTypeStringValue":B={type:"JsdocTypeProperty",value:O.value,meta:{quote:O.meta.quote}};break;case"JsdocTypeSpecialNamePath":if(O.specialType==="event")B=O;else throw new y(O,"Type 'JsdocTypeSpecialNamePath' is only allowed with specialType 'event'");break;default:throw new y(O,"Expecting 'JsdocTypeName', 'JsdocTypeNumber', 'JsdocStringValue' or 'JsdocTypeSpecialNamePath'")}if(ne&&!c.consume("]")){const qe=c.lexer.current;throw new Error(`Unterminated square brackets. Next token is '${qe.type}' with text '${qe.text}'`)}return{type:"JsdocTypeNamePath",left:w(T),right:B,pathType:x}}}function I({allowedAdditionalTokens:e}){return g({name:"nameParslet",accept:t=>t==="Identifier"||t==="this"||t==="new"||e.includes(t),parsePrefix:t=>{const{type:r,text:s}=t.lexer.current;return t.consume(r),{type:"JsdocTypeName",value:s}}})}const $=g({name:"stringValueParslet",accept:e=>e==="StringValue",parsePrefix:e=>{const t=e.lexer.current.text;return e.consume("StringValue"),{type:"JsdocTypeStringValue",value:t.slice(1,-1),meta:{quote:t[0]==="'"?"single":"double"}}}});function ee({pathGrammar:e,allowedTypes:t}){return g({name:"specialNamePathParslet",accept:r=>t.includes(r),parsePrefix:r=>{const s=r.lexer.current.type;if(r.consume(s),!r.consume(":"))return{type:"JsdocTypeName",value:s};let c,d=r.lexer.current;if(r.consume("StringValue"))c={type:"JsdocTypeSpecialNamePath",value:d.text.slice(1,-1),specialType:s,meta:{quote:d.text[0]==="'"?"single":"double"}};else{let k="";const v=["Identifier","@","/"];for(;v.some(x=>r.consume(x));)k+=d.text,d=r.lexer.current;c={type:"JsdocTypeSpecialNamePath",value:k,specialType:s,meta:{quote:void 0}}}const T=new U(e,r.lexer,r),J=T.parseInfixIntermediateType(c,f.ALL);return r.acceptLexerState(T),w(J)}})}const Re=[I({allowedAdditionalTokens:["external","module"]}),$,z,Z({allowSquareBracketsOnAnyType:!1,allowJsdocNamePaths:!0,pathGrammar:null})],V=[...Re,ee({allowedTypes:["event"],pathGrammar:Re})];function pe(e){let t;if(e.type==="JsdocTypeParameterList")t=e.elements;else if(e.type==="JsdocTypeParenthesis")t=[e.element];else throw new y(e);return t.map(r=>se(r))}function Xt(e){const t=pe(e);if(t.some(r=>r.type==="JsdocTypeKeyValue"))throw new Error("No parameter should be named");return t}function ue({allowNamedParameters:e,allowNoReturnType:t,allowWithoutParenthesis:r,allowNewAsFunctionKeyword:s}){return g({name:"functionParslet",accept:(c,d)=>c==="function"||s&&c==="new"&&d==="(",parsePrefix:c=>{const d=c.consume("new");c.consume("function");const T=c.lexer.current.type==="(";if(!T){if(!r)throw new Error("function is missing parameter list");return{type:"JsdocTypeName",value:"function"}}let J={type:"JsdocTypeFunction",parameters:[],arrow:!1,constructor:d,parenthesis:T};const k=c.parseIntermediateType(f.FUNCTION);if(e===void 0)J.parameters=Xt(k);else{if(d&&k.type==="JsdocTypeFunction"&&k.arrow)return J=k,J.constructor=!0,J;J.parameters=pe(k);for(const v of J.parameters)if(v.type==="JsdocTypeKeyValue"&&!e.includes(v.key))throw new Error(`only allowed named parameters are ${e.join(", ")} but got ${v.type}`)}if(c.consume(":"))J.returnType=c.parseType(f.PREFIX);else if(!t)throw new Error("function is missing return type");return J}})}function ye({allowPostfix:e,allowEnclosingBrackets:t}){return g({name:"variadicParslet",accept:r=>r==="...",precedence:f.PREFIX,parsePrefix:r=>{r.consume("...");const s=t&&r.consume("[");try{const c=r.parseType(f.PREFIX);if(s&&!r.consume("]"))throw new Error("Unterminated variadic type. Missing ']'");return{type:"JsdocTypeVariadic",element:w(c),meta:{position:"prefix",squareBrackets:s}}}catch(c){if(c instanceof p){if(s)throw new Error("Empty square brackets for variadic are not allowed.");return{type:"JsdocTypeVariadic",meta:{position:void 0,squareBrackets:!1}}}else throw c}},parseInfix:e?(r,s)=>(r.consume("..."),{type:"JsdocTypeVariadic",element:w(s),meta:{position:"suffix",squareBrackets:!1}}):void 0})}const _e=g({name:"symbolParslet",accept:e=>e==="(",precedence:f.SYMBOL,parseInfix:(e,t)=>{if(t.type!=="JsdocTypeName")throw new Error("Symbol expects a name on the left side. (Reacting on '(')");e.consume("(");const r={type:"JsdocTypeSymbol",value:t.value};if(!e.consume(")")){const s=e.parseIntermediateType(f.SYMBOL);if(r.element=qt(s),!e.consume(")"))throw new Error("Symbol does not end after value")}return r}}),Fe=g({name:"arrayBracketsParslet",precedence:f.ARRAY_BRACKETS,accept:(e,t)=>e==="["&&t==="]",parseInfix:(e,t)=>(e.consume("["),e.consume("]"),{type:"JsdocTypeGeneric",left:{type:"JsdocTypeName",value:"Array"},elements:[w(t)],meta:{brackets:"square",dot:!1}})});function de({objectFieldGrammar:e,allowKeyTypes:t}){return g({name:"objectParslet",accept:r=>r==="{",parsePrefix:r=>{r.consume("{");const s={type:"JsdocTypeObject",meta:{separator:"comma"},elements:[]};if(!r.consume("}")){let c;const d=new U(e,r.lexer,r);for(;;){d.acceptLexerState(r);let T=d.parseIntermediateType(f.OBJECT);r.acceptLexerState(d),T===void 0&&t&&(T=r.parseIntermediateType(f.OBJECT));let J=!1;if(T.type==="JsdocTypeNullable"&&(J=!0,T=T.element),T.type==="JsdocTypeNumber"||T.type==="JsdocTypeName"||T.type==="JsdocTypeStringValue"){let v;T.type==="JsdocTypeStringValue"&&(v=T.meta.quote),s.elements.push({type:"JsdocTypeObjectField",key:T.value.toString(),right:void 0,optional:J,readonly:!1,meta:{quote:v}})}else if(T.type==="JsdocTypeObjectField"||T.type==="JsdocTypeJsdocObjectField")s.elements.push(T);else throw new y(T);if(r.lexer.current.startOfLine)c="linebreak";else if(r.consume(","))c="comma";else if(r.consume(";"))c="semicolon";else break;if(r.lexer.current.type==="}")break}if(s.meta.separator=c??"comma",!r.consume("}"))throw new Error("Unterminated record type. Missing '}'")}return s}})}function me({allowSquaredProperties:e,allowKeyTypes:t,allowReadonly:r,allowOptional:s}){return g({name:"objectFieldParslet",precedence:f.KEY_VALUE,accept:c=>c===":",parseInfix:(c,d)=>{var T;let J=!1,k=!1;s&&d.type==="JsdocTypeNullable"&&(J=!0,d=d.element),r&&d.type==="JsdocTypeReadonlyProperty"&&(k=!0,d=d.element);const v=(T=c.baseParser)!==null&&T!==void 0?T:c;if(v.acceptLexerState(c),d.type==="JsdocTypeNumber"||d.type==="JsdocTypeName"||d.type==="JsdocTypeStringValue"||ie(d)){if(ie(d)&&!e)throw new y(d);v.consume(":");let x;d.type==="JsdocTypeStringValue"&&(x=d.meta.quote);const ne=v.parseType(f.KEY_VALUE);return c.acceptLexerState(v),{type:"JsdocTypeObjectField",key:ie(d)?d:d.value.toString(),right:ne,optional:J,readonly:k,meta:{quote:x}}}else{if(!t)throw new y(d);v.consume(":");const x=v.parseType(f.KEY_VALUE);return c.acceptLexerState(v),{type:"JsdocTypeJsdocObjectField",left:w(d),right:x}}}})}function fe({allowOptional:e,allowVariadic:t}){return g({name:"keyValueParslet",precedence:f.KEY_VALUE,accept:r=>r===":",parseInfix:(r,s)=>{let c=!1,d=!1;if(e&&s.type==="JsdocTypeNullable"&&(c=!0,s=s.element),t&&s.type==="JsdocTypeVariadic"&&s.element!==void 0&&(d=!0,s=s.element),s.type!=="JsdocTypeName")throw new y(s);r.consume(":");const T=r.parseType(f.KEY_VALUE);return{type:"JsdocTypeKeyValue",key:s.value,right:T,optional:c,variadic:d}}})}const je=[...ce,ue({allowWithoutParenthesis:!0,allowNamedParameters:["this","new"],allowNoReturnType:!0,allowNewAsFunctionKeyword:!1}),$,ee({allowedTypes:["module","external","event"],pathGrammar:V}),ye({allowEnclosingBrackets:!0,allowPostfix:!0}),I({allowedAdditionalTokens:["keyof"]}),_e,Fe,Z({allowSquareBracketsOnAnyType:!1,allowJsdocNamePaths:!0,pathGrammar:V})],Qt=[...je,de({objectFieldGrammar:[I({allowedAdditionalTokens:["module","in"]}),me({allowSquaredProperties:!1,allowKeyTypes:!0,allowOptional:!1,allowReadonly:!1}),...je],allowKeyTypes:!0}),fe({allowOptional:!0,allowVariadic:!0})],Le=g({name:"typeOfParslet",accept:e=>e==="typeof",parsePrefix:e=>(e.consume("typeof"),{type:"JsdocTypeTypeof",element:w(e.parseType(f.KEY_OF_TYPE_OF))})}),Ht=[I({allowedAdditionalTokens:["module","keyof","event","external","in"]}),le,H,$,z,me({allowSquaredProperties:!1,allowKeyTypes:!1,allowOptional:!1,allowReadonly:!1})],zt=[...ce,de({allowKeyTypes:!1,objectFieldGrammar:Ht}),I({allowedAdditionalTokens:["event","external","in"]}),Le,ue({allowWithoutParenthesis:!1,allowNamedParameters:["this","new"],allowNoReturnType:!0,allowNewAsFunctionKeyword:!1}),ye({allowEnclosingBrackets:!1,allowPostfix:!1}),I({allowedAdditionalTokens:["keyof"]}),ee({allowedTypes:["module"],pathGrammar:V}),Z({allowSquareBracketsOnAnyType:!1,allowJsdocNamePaths:!0,pathGrammar:V}),fe({allowOptional:!1,allowVariadic:!1}),_e],Zt=g({name:"assertsParslet",accept:e=>e==="asserts",parsePrefix:e=>{e.consume("asserts");const t=e.parseIntermediateType(f.SYMBOL);if(t.type!=="JsdocTypeName")throw new y(t,"A typescript asserts always has to have a name on the left side.");return e.consume("is"),{type:"JsdocTypeAsserts",left:t,right:w(e.parseIntermediateType(f.INFIX))}}});function en({allowQuestionMark:e}){return g({name:"tupleParslet",accept:t=>t==="[",parsePrefix:t=>{t.consume("[");const r={type:"JsdocTypeTuple",elements:[]};if(t.consume("]"))return r;const s=t.parseIntermediateType(f.ALL);if(s.type==="JsdocTypeParameterList"?s.elements[0].type==="JsdocTypeKeyValue"?r.elements=s.elements.map(Q):r.elements=s.elements.map(w):s.type==="JsdocTypeKeyValue"?r.elements=[Q(s)]:r.elements=[w(s)],!t.consume("]"))throw new Error("Unterminated '['");if(!e&&r.elements.some(c=>c.type==="JsdocTypeUnknown"))throw new Error("Question mark in tuple not allowed");return r}})}const tn=g({name:"keyOfParslet",accept:e=>e==="keyof",parsePrefix:e=>(e.consume("keyof"),{type:"JsdocTypeKeyof",element:w(e.parseType(f.KEY_OF_TYPE_OF))})}),nn=g({name:"importParslet",accept:e=>e==="import",parsePrefix:e=>{if(e.consume("import"),!e.consume("("))throw new Error("Missing parenthesis after import keyword");const t=e.parseType(f.PREFIX);if(t.type!=="JsdocTypeStringValue")throw new Error("Only string values are allowed as paths for imports");if(!e.consume(")"))throw new Error("Missing closing parenthesis after import keyword");return{type:"JsdocTypeImport",element:t}}}),rn=g({name:"readonlyPropertyParslet",accept:e=>e==="readonly",parsePrefix:e=>(e.consume("readonly"),{type:"JsdocTypeReadonlyProperty",element:e.parseType(f.KEY_VALUE)})}),an=g({name:"arrowFunctionParslet",precedence:f.ARROW,accept:e=>e==="=>",parseInfix:(e,t)=>(e.consume("=>"),{type:"JsdocTypeFunction",parameters:pe(t).map($t),arrow:!0,constructor:!1,parenthesis:!0,returnType:e.parseType(f.OBJECT)})}),on=g({name:"intersectionParslet",accept:e=>e==="&",precedence:f.INTERSECTION,parseInfix:(e,t)=>{e.consume("&");const r=[];do r.push(e.parseType(f.INTERSECTION));while(e.consume("&"));return{type:"JsdocTypeIntersection",elements:[w(t),...r]}}}),sn=g({name:"predicateParslet",precedence:f.INFIX,accept:e=>e==="is",parseInfix:(e,t)=>{if(t.type!=="JsdocTypeName")throw new y(t,"A typescript predicate always has to have a name on the left side.");return e.consume("is"),{type:"JsdocTypePredicate",left:t,right:w(e.parseIntermediateType(f.INFIX))}}}),ln=g({name:"objectSquareBracketPropertyParslet",accept:e=>e==="[",parsePrefix:e=>{if(e.baseParser===void 0)throw new Error("Only allowed inside object grammar");e.consume("[");const t=e.lexer.current.text;e.consume("Identifier");let r;if(e.consume(":")){const s=e.baseParser;s.acceptLexerState(e),r={type:"JsdocTypeIndexSignature",key:t,right:s.parseType(f.INDEX_BRACKETS)},e.acceptLexerState(s)}else if(e.consume("in")){const s=e.baseParser;s.acceptLexerState(e),r={type:"JsdocTypeMappedType",key:t,right:s.parseType(f.ARRAY_BRACKETS)},e.acceptLexerState(s)}else throw new Error("Missing ':' or 'in' inside square bracketed property.");if(!e.consume("]"))throw new Error("Unterminated square brackets");return r}}),cn=[rn,I({allowedAdditionalTokens:["module","event","keyof","event","external","in"]}),le,H,$,z,me({allowSquaredProperties:!0,allowKeyTypes:!1,allowOptional:!0,allowReadonly:!0}),ln],pn=[...ce,de({allowKeyTypes:!1,objectFieldGrammar:cn}),Le,tn,nn,$,ue({allowWithoutParenthesis:!0,allowNoReturnType:!1,allowNamedParameters:["this","new","args"],allowNewAsFunctionKeyword:!0}),en({allowQuestionMark:!1}),ye({allowEnclosingBrackets:!1,allowPostfix:!1}),Zt,I({allowedAdditionalTokens:["event","external","in"]}),ee({allowedTypes:["module"],pathGrammar:V}),Fe,an,Z({allowSquareBracketsOnAnyType:!0,allowJsdocNamePaths:!1,pathGrammar:V}),on,sn,fe({allowVariadic:!0,allowOptional:!0})];function Ue(e,t){switch(t){case"closure":return new U(zt,e).parse();case"jsdoc":return new U(Qt,e).parse();case"typescript":return new U(pn,e).parse()}}function un(e,t=["typescript","closure","jsdoc"]){let r;for(const s of t)try{return Ue(e,s)}catch(c){r=c}throw r}function q(e,t){const r=e[t.type];if(r===void 0)throw new Error(`In this set of transform rules exists no rule for type ${t.type}.`);return r(t,s=>q(e,s))}function S(e){throw new Error("This transform is not available. Are you trying the correct parsing mode?")}function Ve(e){const t={params:[]};for(const r of e.parameters)r.type==="JsdocTypeKeyValue"?r.key==="this"?t.this=r.right:r.key==="new"?t.new=r.right:t.params.push(r):t.params.push(r);return t}function te(e,t,r){return e==="prefix"?r+t:t+r}function A(e,t){switch(t){case"double":return`"${e}"`;case"single":return`'${e}'`;case void 0:return e}}function Ke(){return{JsdocTypeParenthesis:(e,t)=>`(${e.element!==void 0?t(e.element):""})`,JsdocTypeKeyof:(e,t)=>`keyof ${t(e.element)}`,JsdocTypeFunction:(e,t)=>{if(e.arrow){if(e.returnType===void 0)throw new Error("Arrow function needs a return type.");let r=`(${e.parameters.map(t).join(", ")}) => ${t(e.returnType)}`;return e.constructor&&(r="new "+r),r}else{let r=e.constructor?"new":"function";return e.parenthesis&&(r+=`(${e.parameters.map(t).join(", ")})`,e.returnType!==void 0&&(r+=`: ${t(e.returnType)}`)),r}},JsdocTypeName:e=>e.value,JsdocTypeTuple:(e,t)=>`[${e.elements.map(t).join(", ")}]`,JsdocTypeVariadic:(e,t)=>e.meta.position===void 0?"...":te(e.meta.position,t(e.element),"..."),JsdocTypeNamePath:(e,t)=>{const r=t(e.left),s=t(e.right);switch(e.pathType){case"inner":return`${r}~${s}`;case"instance":return`${r}#${s}`;case"property":return`${r}.${s}`;case"property-brackets":return`${r}[${s}]`}},JsdocTypeStringValue:e=>A(e.value,e.meta.quote),JsdocTypeAny:()=>"*",JsdocTypeGeneric:(e,t)=>{if(e.meta.brackets==="square"){const r=e.elements[0],s=t(r);return r.type==="JsdocTypeUnion"||r.type==="JsdocTypeIntersection"?`(${s})[]`:`${s}[]`}else return`${t(e.left)}${e.meta.dot?".":""}<${e.elements.map(t).join(", ")}>`},JsdocTypeImport:(e,t)=>`import(${t(e.element)})`,JsdocTypeObjectField:(e,t)=>{let r="";return e.readonly&&(r+="readonly "),typeof e.key=="string"?r+=A(e.key,e.meta.quote):r+=t(e.key),e.optional&&(r+="?"),e.right===void 0?r:r+`: ${t(e.right)}`},JsdocTypeJsdocObjectField:(e,t)=>`${t(e.left)}: ${t(e.right)}`,JsdocTypeKeyValue:(e,t)=>{let r=e.key;return e.optional&&(r+="?"),e.variadic&&(r="..."+r),e.right===void 0?r:r+`: ${t(e.right)}`},JsdocTypeSpecialNamePath:e=>`${e.specialType}:${A(e.value,e.meta.quote)}`,JsdocTypeNotNullable:(e,t)=>te(e.meta.position,t(e.element),"!"),JsdocTypeNull:()=>"null",JsdocTypeNullable:(e,t)=>te(e.meta.position,t(e.element),"?"),JsdocTypeNumber:e=>e.value.toString(),JsdocTypeObject:(e,t)=>`{${e.elements.map(t).join((e.meta.separator==="comma"?",":";")+" ")}}`,JsdocTypeOptional:(e,t)=>te(e.meta.position,t(e.element),"="),JsdocTypeSymbol:(e,t)=>`${e.value}(${e.element!==void 0?t(e.element):""})`,JsdocTypeTypeof:(e,t)=>`typeof ${t(e.element)}`,JsdocTypeUndefined:()=>"undefined",JsdocTypeUnion:(e,t)=>e.elements.map(t).join(" | "),JsdocTypeUnknown:()=>"?",JsdocTypeIntersection:(e,t)=>e.elements.map(t).join(" & "),JsdocTypeProperty:e=>A(e.value,e.meta.quote),JsdocTypePredicate:(e,t)=>`${t(e.left)} is ${t(e.right)}`,JsdocTypeIndexSignature:(e,t)=>`[${e.key}: ${t(e.right)}]`,JsdocTypeMappedType:(e,t)=>`[${e.key} in ${t(e.right)}]`,JsdocTypeAsserts:(e,t)=>`asserts ${t(e.left)} is ${t(e.right)}`}}const yn=Ke();function dn(e){return q(yn,e)}const mn=["null","true","false","break","case","catch","class","const","continue","debugger","default","delete","do","else","export","extends","finally","for","function","if","import","in","instanceof","new","return","super","switch","this","throw","try","typeof","var","void","while","with","yield"];function R(e){const t={type:"NameExpression",name:e};return mn.includes(e)&&(t.reservedWord=!0),t}const fn={JsdocTypeOptional:(e,t)=>{const r=t(e.element);return r.optional=!0,r},JsdocTypeNullable:(e,t)=>{const r=t(e.element);return r.nullable=!0,r},JsdocTypeNotNullable:(e,t)=>{const r=t(e.element);return r.nullable=!1,r},JsdocTypeVariadic:(e,t)=>{if(e.element===void 0)throw new Error("dots without value are not allowed in catharsis mode");const r=t(e.element);return r.repeatable=!0,r},JsdocTypeAny:()=>({type:"AllLiteral"}),JsdocTypeNull:()=>({type:"NullLiteral"}),JsdocTypeStringValue:e=>R(A(e.value,e.meta.quote)),JsdocTypeUndefined:()=>({type:"UndefinedLiteral"}),JsdocTypeUnknown:()=>({type:"UnknownLiteral"}),JsdocTypeFunction:(e,t)=>{const r=Ve(e),s={type:"FunctionType",params:r.params.map(t)};return r.this!==void 0&&(s.this=t(r.this)),r.new!==void 0&&(s.new=t(r.new)),e.returnType!==void 0&&(s.result=t(e.returnType)),s},JsdocTypeGeneric:(e,t)=>({type:"TypeApplication",applications:e.elements.map(r=>t(r)),expression:t(e.left)}),JsdocTypeSpecialNamePath:e=>R(e.specialType+":"+A(e.value,e.meta.quote)),JsdocTypeName:e=>e.value!=="function"?R(e.value):{type:"FunctionType",params:[]},JsdocTypeNumber:e=>R(e.value.toString()),JsdocTypeObject:(e,t)=>{const r={type:"RecordType",fields:[]};for(const s of e.elements)s.type!=="JsdocTypeObjectField"&&s.type!=="JsdocTypeJsdocObjectField"?r.fields.push({type:"FieldType",key:t(s),value:void 0}):r.fields.push(t(s));return r},JsdocTypeObjectField:(e,t)=>{if(typeof e.key!="string")throw new Error("Index signatures and mapped types are not supported");return{type:"FieldType",key:R(A(e.key,e.meta.quote)),value:e.right===void 0?void 0:t(e.right)}},JsdocTypeJsdocObjectField:(e,t)=>({type:"FieldType",key:t(e.left),value:t(e.right)}),JsdocTypeUnion:(e,t)=>({type:"TypeUnion",elements:e.elements.map(r=>t(r))}),JsdocTypeKeyValue:(e,t)=>({type:"FieldType",key:R(e.key),value:e.right===void 0?void 0:t(e.right)}),JsdocTypeNamePath:(e,t)=>{const r=t(e.left);let s;e.right.type==="JsdocTypeSpecialNamePath"?s=t(e.right).name:s=A(e.right.value,e.right.meta.quote);const c=e.pathType==="inner"?"~":e.pathType==="instance"?"#":".";return R(`${r.name}${c}${s}`)},JsdocTypeSymbol:e=>{let t="",r=e.element,s=!1;return(r==null?void 0:r.type)==="JsdocTypeVariadic"&&(r.meta.position==="prefix"?t="...":s=!0,r=r.element),(r==null?void 0:r.type)==="JsdocTypeName"?t+=r.value:(r==null?void 0:r.type)==="JsdocTypeNumber"&&(t+=r.value.toString()),s&&(t+="..."),R(`${e.value}(${t})`)},JsdocTypeParenthesis:(e,t)=>t(w(e.element)),JsdocTypeMappedType:S,JsdocTypeIndexSignature:S,JsdocTypeImport:S,JsdocTypeKeyof:S,JsdocTypeTuple:S,JsdocTypeTypeof:S,JsdocTypeIntersection:S,JsdocTypeProperty:S,JsdocTypePredicate:S,JsdocTypeAsserts:S};function Tn(e){return q(fn,e)}function j(e){switch(e){case void 0:return"none";case"single":return"single";case"double":return"double"}}function hn(e){switch(e){case"inner":return"INNER_MEMBER";case"instance":return"INSTANCE_MEMBER";case"property":return"MEMBER";case"property-brackets":return"MEMBER"}}function Te(e,t){return t.length===2?{type:e,left:t[0],right:t[1]}:{type:e,left:t[0],right:Te(e,t.slice(1))}}const gn={JsdocTypeOptional:(e,t)=>({type:"OPTIONAL",value:t(e.element),meta:{syntax:e.meta.position==="prefix"?"PREFIX_EQUAL_SIGN":"SUFFIX_EQUALS_SIGN"}}),JsdocTypeNullable:(e,t)=>({type:"NULLABLE",value:t(e.element),meta:{syntax:e.meta.position==="prefix"?"PREFIX_QUESTION_MARK":"SUFFIX_QUESTION_MARK"}}),JsdocTypeNotNullable:(e,t)=>({type:"NOT_NULLABLE",value:t(e.element),meta:{syntax:e.meta.position==="prefix"?"PREFIX_BANG":"SUFFIX_BANG"}}),JsdocTypeVariadic:(e,t)=>{const r={type:"VARIADIC",meta:{syntax:e.meta.position==="prefix"?"PREFIX_DOTS":e.meta.position==="suffix"?"SUFFIX_DOTS":"ONLY_DOTS"}};return e.element!==void 0&&(r.value=t(e.element)),r},JsdocTypeName:e=>({type:"NAME",name:e.value}),JsdocTypeTypeof:(e,t)=>({type:"TYPE_QUERY",name:t(e.element)}),JsdocTypeTuple:(e,t)=>({type:"TUPLE",entries:e.elements.map(t)}),JsdocTypeKeyof:(e,t)=>({type:"KEY_QUERY",value:t(e.element)}),JsdocTypeImport:e=>({type:"IMPORT",path:{type:"STRING_VALUE",quoteStyle:j(e.element.meta.quote),string:e.element.value}}),JsdocTypeUndefined:()=>({type:"NAME",name:"undefined"}),JsdocTypeAny:()=>({type:"ANY"}),JsdocTypeFunction:(e,t)=>{const r=Ve(e),s={type:e.arrow?"ARROW":"FUNCTION",params:r.params.map(c=>{if(c.type==="JsdocTypeKeyValue"){if(c.right===void 0)throw new Error("Function parameter without ':' is not expected to be 'KEY_VALUE'");return{type:"NAMED_PARAMETER",name:c.key,typeName:t(c.right)}}else return t(c)}),new:null,returns:null};return r.this!==void 0?s.this=t(r.this):e.arrow||(s.this=null),r.new!==void 0&&(s.new=t(r.new)),e.returnType!==void 0&&(s.returns=t(e.returnType)),s},JsdocTypeGeneric:(e,t)=>{const r={type:"GENERIC",subject:t(e.left),objects:e.elements.map(t),meta:{syntax:e.meta.brackets==="square"?"SQUARE_BRACKET":e.meta.dot?"ANGLE_BRACKET_WITH_DOT":"ANGLE_BRACKET"}};return e.meta.brackets==="square"&&e.elements[0].type==="JsdocTypeFunction"&&!e.elements[0].parenthesis&&(r.objects[0]={type:"NAME",name:"function"}),r},JsdocTypeObjectField:(e,t)=>{if(typeof e.key!="string")throw new Error("Index signatures and mapped types are not supported");if(e.right===void 0)return{type:"RECORD_ENTRY",key:e.key,quoteStyle:j(e.meta.quote),value:null,readonly:!1};let r=t(e.right);return e.optional&&(r={type:"OPTIONAL",value:r,meta:{syntax:"SUFFIX_KEY_QUESTION_MARK"}}),{type:"RECORD_ENTRY",key:e.key.toString(),quoteStyle:j(e.meta.quote),value:r,readonly:!1}},JsdocTypeJsdocObjectField:()=>{throw new Error("Keys may not be typed in jsdoctypeparser.")},JsdocTypeKeyValue:(e,t)=>{if(e.right===void 0)return{type:"RECORD_ENTRY",key:e.key,quoteStyle:"none",value:null,readonly:!1};let r=t(e.right);return e.optional&&(r={type:"OPTIONAL",value:r,meta:{syntax:"SUFFIX_KEY_QUESTION_MARK"}}),{type:"RECORD_ENTRY",key:e.key,quoteStyle:"none",value:r,readonly:!1}},JsdocTypeObject:(e,t)=>{const r=[];for(const s of e.elements)(s.type==="JsdocTypeObjectField"||s.type==="JsdocTypeJsdocObjectField")&&r.push(t(s));return{type:"RECORD",entries:r}},JsdocTypeSpecialNamePath:e=>{if(e.specialType!=="module")throw new Error(`jsdoctypeparser does not support type ${e.specialType} at this point.`);return{type:"MODULE",value:{type:"FILE_PATH",quoteStyle:j(e.meta.quote),path:e.value}}},JsdocTypeNamePath:(e,t)=>{let r=!1,s,c;e.right.type==="JsdocTypeSpecialNamePath"&&e.right.specialType==="event"?(r=!0,s=e.right.value,c=j(e.right.meta.quote)):(s=e.right.value,c=j(e.right.meta.quote));const d={type:hn(e.pathType),owner:t(e.left),name:s,quoteStyle:c,hasEventPrefix:r};if(d.owner.type==="MODULE"){const T=d.owner;return d.owner=d.owner.value,T.value=d,T}else return d},JsdocTypeUnion:(e,t)=>Te("UNION",e.elements.map(t)),JsdocTypeParenthesis:(e,t)=>({type:"PARENTHESIS",value:t(w(e.element))}),JsdocTypeNull:()=>({type:"NAME",name:"null"}),JsdocTypeUnknown:()=>({type:"UNKNOWN"}),JsdocTypeStringValue:e=>({type:"STRING_VALUE",quoteStyle:j(e.meta.quote),string:e.value}),JsdocTypeIntersection:(e,t)=>Te("INTERSECTION",e.elements.map(t)),JsdocTypeNumber:e=>({type:"NUMBER_VALUE",number:e.value.toString()}),JsdocTypeSymbol:S,JsdocTypeProperty:S,JsdocTypePredicate:S,JsdocTypeMappedType:S,JsdocTypeIndexSignature:S,JsdocTypeAsserts:S};function Jn(e){return q(gn,e)}function wn(){return{JsdocTypeIntersection:(e,t)=>({type:"JsdocTypeIntersection",elements:e.elements.map(t)}),JsdocTypeGeneric:(e,t)=>({type:"JsdocTypeGeneric",left:t(e.left),elements:e.elements.map(t),meta:{dot:e.meta.dot,brackets:e.meta.brackets}}),JsdocTypeNullable:e=>e,JsdocTypeUnion:(e,t)=>({type:"JsdocTypeUnion",elements:e.elements.map(t)}),JsdocTypeUnknown:e=>e,JsdocTypeUndefined:e=>e,JsdocTypeTypeof:(e,t)=>({type:"JsdocTypeTypeof",element:t(e.element)}),JsdocTypeSymbol:(e,t)=>{const r={type:"JsdocTypeSymbol",value:e.value};return e.element!==void 0&&(r.element=t(e.element)),r},JsdocTypeOptional:(e,t)=>({type:"JsdocTypeOptional",element:t(e.element),meta:{position:e.meta.position}}),JsdocTypeObject:(e,t)=>({type:"JsdocTypeObject",meta:{separator:"comma"},elements:e.elements.map(t)}),JsdocTypeNumber:e=>e,JsdocTypeNull:e=>e,JsdocTypeNotNullable:(e,t)=>({type:"JsdocTypeNotNullable",element:t(e.element),meta:{position:e.meta.position}}),JsdocTypeSpecialNamePath:e=>e,JsdocTypeObjectField:(e,t)=>({type:"JsdocTypeObjectField",key:e.key,right:e.right===void 0?void 0:t(e.right),optional:e.optional,readonly:e.readonly,meta:e.meta}),JsdocTypeJsdocObjectField:(e,t)=>({type:"JsdocTypeJsdocObjectField",left:t(e.left),right:t(e.right)}),JsdocTypeKeyValue:(e,t)=>({type:"JsdocTypeKeyValue",key:e.key,right:e.right===void 0?void 0:t(e.right),optional:e.optional,variadic:e.variadic}),JsdocTypeImport:(e,t)=>({type:"JsdocTypeImport",element:t(e.element)}),JsdocTypeAny:e=>e,JsdocTypeStringValue:e=>e,JsdocTypeNamePath:e=>e,JsdocTypeVariadic:(e,t)=>{const r={type:"JsdocTypeVariadic",meta:{position:e.meta.position,squareBrackets:e.meta.squareBrackets}};return e.element!==void 0&&(r.element=t(e.element)),r},JsdocTypeTuple:(e,t)=>({type:"JsdocTypeTuple",elements:e.elements.map(t)}),JsdocTypeName:e=>e,JsdocTypeFunction:(e,t)=>{const r={type:"JsdocTypeFunction",arrow:e.arrow,parameters:e.parameters.map(t),constructor:e.constructor,parenthesis:e.parenthesis};return e.returnType!==void 0&&(r.returnType=t(e.returnType)),r},JsdocTypeKeyof:(e,t)=>({type:"JsdocTypeKeyof",element:t(e.element)}),JsdocTypeParenthesis:(e,t)=>({type:"JsdocTypeParenthesis",element:t(e.element)}),JsdocTypeProperty:e=>e,JsdocTypePredicate:(e,t)=>({type:"JsdocTypePredicate",left:t(e.left),right:t(e.right)}),JsdocTypeIndexSignature:(e,t)=>({type:"JsdocTypeIndexSignature",key:e.key,right:t(e.right)}),JsdocTypeMappedType:(e,t)=>({type:"JsdocTypeMappedType",key:e.key,right:t(e.right)}),JsdocTypeAsserts:(e,t)=>({type:"JsdocTypeAsserts",left:t(e.left),right:t(e.right)})}}const De={JsdocTypeAny:[],JsdocTypeFunction:["parameters","returnType"],JsdocTypeGeneric:["left","elements"],JsdocTypeImport:[],JsdocTypeIndexSignature:["right"],JsdocTypeIntersection:["elements"],JsdocTypeKeyof:["element"],JsdocTypeKeyValue:["right"],JsdocTypeMappedType:["right"],JsdocTypeName:[],JsdocTypeNamePath:["left","right"],JsdocTypeNotNullable:["element"],JsdocTypeNull:[],JsdocTypeNullable:["element"],JsdocTypeNumber:[],JsdocTypeObject:["elements"],JsdocTypeObjectField:["right"],JsdocTypeJsdocObjectField:["left","right"],JsdocTypeOptional:["element"],JsdocTypeParenthesis:["element"],JsdocTypeSpecialNamePath:[],JsdocTypeStringValue:[],JsdocTypeSymbol:["element"],JsdocTypeTuple:["elements"],JsdocTypeTypeof:["element"],JsdocTypeUndefined:[],JsdocTypeUnion:["elements"],JsdocTypeUnknown:[],JsdocTypeVariadic:["element"],JsdocTypeProperty:[],JsdocTypePredicate:["left","right"],JsdocTypeAsserts:["left","right"]};function he(e,t,r,s,c){s==null||s(e,t,r);const d=De[e.type];for(const T of d){const J=e[T];if(J!==void 0)if(Array.isArray(J))for(const k of J)he(k,e,T,s,c);else he(J,e,T,s,c)}c==null||c(e,t,r)}function Nn(e,t,r){he(e,void 0,void 0,t,r)}o.catharsisTransform=Tn,o.identityTransformRules=wn,o.jtpTransform=Jn,o.parse=Ue,o.stringify=dn,o.stringifyRules=Ke,o.transform=q,o.traverse=Nn,o.tryParse=un,o.visitorKeys=De})})(ge,ge.exports);var Je=ge.exports,En=Object.defineProperty,l=(n,a)=>En(n,"name",{value:a,configurable:!0});const{UnknownArgTypesError:Pn}=__STORYBOOK_MODULE_CORE_EVENTS_PREVIEW_ERRORS__;var vn=l(n=>n.name==="literal","isLiteral"),Sn=l(n=>n.value.replace(/['|"]/g,""),"toEnumOption"),kn=l(n=>{switch(n.type){case"function":return{name:"function"};case"object":let a={};return n.signature.properties.forEach(o=>{a[o.key]=C(o.value)}),{name:"object",value:a};default:throw new Pn({type:n,language:"Flow"})}},"convertSig"),C=l(n=>{var p,u,y,m;let{name:a,raw:o}=n,i={};switch(typeof o<"u"&&(i.raw=o),n.name){case"literal":return{...i,name:"other",value:n.value};case"string":case"number":case"symbol":case"boolean":return{...i,name:a};case"Array":return{...i,name:"array",value:n.elements.map(C)};case"signature":return{...i,...kn(n)};case"union":return(p=n.elements)!=null&&p.every(vn)?{...i,name:"enum",value:(u=n.elements)==null?void 0:u.map(Sn)}:{...i,name:a,value:(y=n.elements)==null?void 0:y.map(C)};case"intersection":return{...i,name:a,value:(m=n.elements)==null?void 0:m.map(C)};default:return{...i,name:"other",value:a}}},"convert");function Be(n,a){let o={},i=Object.keys(n);for(let p=0;p<i.length;p++){let u=i[p],y=n[u];o[u]=a(y,u,n)}return o}l(Be,"mapValues");var Me=/^['"]|['"]$/g,xn=l(n=>n.replace(Me,""),"trimQuotes"),On=l(n=>Me.test(n),"includesQuotes"),Ce=l(n=>{let a=xn(n);return On(n)||Number.isNaN(Number(a))?a:Number(a)},"parseLiteral"),In=/^\(.*\) => /,M=l(n=>{let{name:a,raw:o,computed:i,value:p}=n,u={};switch(typeof o<"u"&&(u.raw=o),a){case"enum":{let m=i?p:p.map(h=>Ce(h.value));return{...u,name:a,value:m}}case"string":case"number":case"symbol":return{...u,name:a};case"func":return{...u,name:"function"};case"bool":case"boolean":return{...u,name:"boolean"};case"arrayOf":case"array":return{...u,name:"array",value:p&&M(p)};case"object":return{...u,name:a};case"objectOf":return{...u,name:a,value:M(p)};case"shape":case"exact":let y=Be(p,m=>M(m));return{...u,name:"object",value:y};case"union":return{...u,name:"union",value:p.map(m=>M(m))};case"instanceOf":case"element":case"elementType":default:{if((a==null?void 0:a.indexOf("|"))>0)try{let E=a.split("|").map(N=>JSON.parse(N));return{...u,name:"enum",value:E}}catch{}let m=p?`${a}(${p})`:a,h=In.test(a)?"function":"other";return{...u,name:h,value:m}}}},"convert");const{UnknownArgTypesError:An}=__STORYBOOK_MODULE_CORE_EVENTS_PREVIEW_ERRORS__;var Rn=l(n=>{switch(n.type){case"function":return{name:"function"};case"object":let a={};return n.signature.properties.forEach(o=>{a[o.key]=Y(o.value)}),{name:"object",value:a};default:throw new An({type:n,language:"Typescript"})}},"convertSig"),Y=l(n=>{var p,u,y,m;let{name:a,raw:o}=n,i={};switch(typeof o<"u"&&(i.raw=o),n.name){case"string":case"number":case"symbol":case"boolean":return{...i,name:a};case"Array":return{...i,name:"array",value:n.elements.map(Y)};case"signature":return{...i,...Rn(n)};case"union":let h;return(p=n.elements)!=null&&p.every(E=>E.name==="literal")?h={...i,name:"enum",value:(u=n.elements)==null?void 0:u.map(E=>Ce(E.value))}:h={...i,name:a,value:(y=n.elements)==null?void 0:y.map(Y)},h;case"intersection":return{...i,name:a,value:(m=n.elements)==null?void 0:m.map(Y)};default:return{...i,name:"other",value:a}}},"convert"),we=l(n=>{let{type:a,tsType:o,flowType:i}=n;try{if(a!=null)return M(a);if(o!=null)return Y(o);if(i!=null)return C(i)}catch(p){console.error(p)}return null},"convert"),_n=(n=>(n.JAVASCRIPT="JavaScript",n.FLOW="Flow",n.TYPESCRIPT="TypeScript",n.UNKNOWN="Unknown",n))(_n||{}),Fn=["null","undefined"];function re(n){return Fn.some(a=>a===n)}l(re,"isDefaultValueBlacklisted");var jn=l(n=>{if(!n)return"";if(typeof n=="string")return n;throw new Error(`Description: expected string, got: ${JSON.stringify(n)}`)},"str");function Ne(n){return!!n.__docgenInfo}l(Ne,"hasDocgen");function Ye(n){return n!=null&&Object.keys(n).length>0}l(Ye,"isValidDocgenSection");function Ge(n,a){return Ne(n)?n.__docgenInfo[a]:null}l(Ge,"getDocgenSection");function We(n){return Ne(n)?jn(n.__docgenInfo.description):""}l(We,"getDocgenDescription");var _;(function(n){n.start="/**",n.nostart="/***",n.delim="*",n.end="*/"})(_=_||(_={}));function Xe(n){return/^\s+$/.test(n)}l(Xe,"isSpace");function Qe(n){let a=n.match(/\r+$/);return a==null?["",n]:[n.slice(-a[0].length),n.slice(0,-a[0].length)]}l(Qe,"splitCR");function L(n){let a=n.match(/^\s+/);return a==null?["",n]:[n.slice(0,a[0].length),n.slice(a[0].length)]}l(L,"splitSpace");function He(n){return n.split(/\n/)}l(He,"splitLines");function ze(n={}){return Object.assign({tag:"",name:"",type:"",optional:!1,description:"",problems:[],source:[]},n)}l(ze,"seedSpec");function Ze(n={}){return Object.assign({start:"",delimiter:"",postDelimiter:"",tag:"",postTag:"",name:"",postName:"",type:"",postType:"",description:"",end:"",lineEnd:""},n)}l(Ze,"seedTokens");var Ln=/^@\S+/;function et({fence:n="```"}={}){let a=tt(n),o=l((i,p)=>a(i)?!p:p,"toggleFence");return l(function(i){let p=[[]],u=!1;for(let y of i)Ln.test(y.tokens.description)&&!u?p.push([y]):p[p.length-1].push(y),u=o(y.tokens.description,u);return p},"parseBlock")}l(et,"getParser");function tt(n){return typeof n=="string"?a=>a.split(n).length%2===0:n}l(tt,"getFencer");function nt({startLine:n=0,markers:a=_}={}){let o=null,i=n;return l(function(p){let u=p,y=Ze();if([y.lineEnd,u]=Qe(u),[y.start,u]=L(u),o===null&&u.startsWith(a.start)&&!u.startsWith(a.nostart)&&(o=[],y.delimiter=u.slice(0,a.start.length),u=u.slice(a.start.length),[y.postDelimiter,u]=L(u)),o===null)return i++,null;let m=u.trimRight().endsWith(a.end);if(y.delimiter===""&&u.startsWith(a.delim)&&!u.startsWith(a.end)&&(y.delimiter=a.delim,u=u.slice(a.delim.length),[y.postDelimiter,u]=L(u)),m){let h=u.trimRight();y.end=u.slice(h.length-a.end.length),u=h.slice(0,-a.end.length)}if(y.description=u,o.push({number:i,source:p,tokens:y}),i++,m){let h=o.slice();return o=null,h}return null},"parseSource")}l(nt,"getParser");function rt({tokenizers:n}){return l(function(a){var o;let i=ze({source:a});for(let p of n)if(i=p(i),!((o=i.problems[i.problems.length-1])===null||o===void 0)&&o.critical)break;return i},"parseSpec")}l(rt,"getParser");function at(){return n=>{let{tokens:a}=n.source[0],o=a.description.match(/\s*(@(\S+))(\s*)/);return o===null?(n.problems.push({code:"spec:tag:prefix",message:'tag should start with "@" symbol',line:n.source[0].number,critical:!0}),n):(a.tag=o[1],a.postTag=o[3],a.description=a.description.slice(o[0].length),n.tag=o[2],n)}}l(at,"tagTokenizer");function ot(n="compact"){let a=st(n);return o=>{let i=0,p=[];for(let[m,{tokens:h}]of o.source.entries()){let E="";if(m===0&&h.description[0]!=="{")return o;for(let N of h.description)if(N==="{"&&i++,N==="}"&&i--,E+=N,i===0)break;if(p.push([h,E]),i===0)break}if(i!==0)return o.problems.push({code:"spec:type:unpaired-curlies",message:"unpaired curlies",line:o.source[0].number,critical:!0}),o;let u=[],y=p[0][0].postDelimiter.length;for(let[m,[h,E]]of p.entries())h.type=E,m>0&&(h.type=h.postDelimiter.slice(y)+E,h.postDelimiter=h.postDelimiter.slice(0,y)),[h.postType,h.description]=L(h.description.slice(E.length)),u.push(h.type);return u[0]=u[0].slice(1),u[u.length-1]=u[u.length-1].slice(0,-1),o.type=a(u),o}}l(ot,"typeTokenizer");var Un=l(n=>n.trim(),"trim");function st(n){return n==="compact"?a=>a.map(Un).join(""):n==="preserve"?a=>a.join(` -`):n}l(st,"getJoiner");var Vn=l(n=>n&&n.startsWith('"')&&n.endsWith('"'),"isQuoted");function it(){let n=l((a,{tokens:o},i)=>o.type===""?a:i,"typeEnd");return a=>{let{tokens:o}=a.source[a.source.reduce(n,0)],i=o.description.trimLeft(),p=i.split('"');if(p.length>1&&p[0]===""&&p.length%2===1)return a.name=p[1],o.name=`"${p[1]}"`,[o.postName,o.description]=L(i.slice(o.name.length)),a;let u=0,y="",m=!1,h;for(let N of i){if(u===0&&Xe(N))break;N==="["&&u++,N==="]"&&u--,y+=N}if(u!==0)return a.problems.push({code:"spec:name:unpaired-brackets",message:"unpaired brackets",line:a.source[0].number,critical:!0}),a;let E=y;if(y[0]==="["&&y[y.length-1]==="]"){m=!0,y=y.slice(1,-1);let N=y.split("=");if(y=N[0].trim(),N[1]!==void 0&&(h=N.slice(1).join("=").trim()),y==="")return a.problems.push({code:"spec:name:empty-name",message:"empty name",line:a.source[0].number,critical:!0}),a;if(h==="")return a.problems.push({code:"spec:name:empty-default",message:"empty default value",line:a.source[0].number,critical:!0}),a;if(!Vn(h)&&/=(?!>)/.test(h))return a.problems.push({code:"spec:name:invalid-default",message:"invalid default value syntax",line:a.source[0].number,critical:!0}),a}return a.optional=m,a.name=y,o.name=E,h!==void 0&&(a.default=h),[o.postName,o.description]=L(i.slice(o.name.length)),a}}l(it,"nameTokenizer");function lt(n="compact",a=_){let o=be(n);return i=>(i.description=o(i.source,a),i)}l(lt,"descriptionTokenizer");function be(n){return n==="compact"?ct:n==="preserve"?pt:n}l(be,"getJoiner");function ct(n,a=_){return n.map(({tokens:{description:o}})=>o.trim()).filter(o=>o!=="").join(" ")}l(ct,"compactJoiner");var Kn=l((n,{tokens:a},o)=>a.type===""?n:o,"lineNo"),Dn=l(({tokens:n})=>(n.delimiter===""?n.start:n.postDelimiter.slice(1))+n.description,"getDescription");function pt(n,a=_){if(n.length===0)return"";n[0].tokens.description===""&&n[0].tokens.delimiter===a.start&&(n=n.slice(1));let o=n[n.length-1];return o!==void 0&&o.tokens.description===""&&o.tokens.end.endsWith(a.end)&&(n=n.slice(0,-1)),n=n.slice(n.reduce(Kn,0)),n.map(Dn).join(` -`)}l(pt,"preserveJoiner");function ut({startLine:n=0,fence:a="```",spacing:o="compact",markers:i=_,tokenizers:p=[at(),ot(o),it(),lt(o)]}={}){if(n<0||n%1>0)throw new Error("Invalid startLine");let u=nt({startLine:n,markers:i}),y=et({fence:a}),m=rt({tokenizers:p}),h=be(o);return function(E){let N=[];for(let ae of He(E)){let K=u(ae);if(K===null)continue;let W=y(K),X=W.slice(1).map(m);N.push({description:h(W[0],i),tags:X,source:K,problems:X.reduce((P,oe)=>P.concat(oe.problems),[])})}return N}}l(ut,"getParser");function yt(n){return n.start+n.delimiter+n.postDelimiter+n.tag+n.postTag+n.type+n.postType+n.name+n.postName+n.description+n.end+n.lineEnd}l(yt,"join");function $n(){return n=>n.source.map(({tokens:a})=>yt(a)).join(` -`)}l($n,"getStringifier");function dt(n,a={}){return ut(a)(n)}l(dt,"parse");function mt(n){return n!=null&&n.includes("@")}l(mt,"containsJsDoc");function ft(n){let a=`/** -`+(n??"").split(` -`).map(i=>` * ${i}`).join(` -`)+` -*/`,o=dt(a,{spacing:"preserve"});if(!o||o.length===0)throw new Error("Cannot parse JSDoc tags.");return o[0]}l(ft,"parse");var qn={tags:["param","arg","argument","returns","ignore","deprecated"]},Bn=l((n,a=qn)=>{if(!mt(n))return{includesJsDoc:!1,ignore:!1};let o=ft(n),i=Tt(o,a.tags);return i.ignore?{includesJsDoc:!0,ignore:!0}:{includesJsDoc:!0,ignore:!1,description:o.description.trim(),extractedTags:i}},"parseJsDoc");function Tt(n,a){let o={params:null,deprecated:null,returns:null,ignore:!1};for(let i of n.tags)if(!(a!==void 0&&!a.includes(i.tag)))if(i.tag==="ignore"){o.ignore=!0;break}else switch(i.tag){case"param":case"arg":case"argument":{let p=gt(i);p!=null&&(o.params==null&&(o.params=[]),o.params.push(p));break}case"deprecated":{let p=Jt(i);p!=null&&(o.deprecated=p);break}case"returns":{let p=wt(i);p!=null&&(o.returns=p);break}}return o}l(Tt,"extractJsDocTags");function ht(n){return n.replace(/[\.-]$/,"")}l(ht,"normaliseParamName");function gt(n){if(!n.name||n.name==="-")return null;let a=ve(n.type);return{name:n.name,type:a,description:Pe(n.description),getPrettyName:l(()=>ht(n.name),"getPrettyName"),getTypeName:l(()=>a?Se(a):null,"getTypeName")}}l(gt,"extractParam");function Jt(n){return n.name?Ee(n.name,n.description):null}l(Jt,"extractDeprecated");function Ee(n,a){let o=n===""?a:`${n} ${a}`;return Pe(o)}l(Ee,"joinNameAndDescription");function Pe(n){let a=n.replace(/^- /g,"").trim();return a===""?null:a}l(Pe,"normaliseDescription");function wt(n){let a=ve(n.type);return a?{type:a,description:Ee(n.name,n.description),getTypeName:l(()=>Se(a),"getTypeName")}:null}l(wt,"extractReturns");var F=Je.stringifyRules(),Mn=F.JsdocTypeObject;F.JsdocTypeAny=()=>"any";F.JsdocTypeObject=(n,a)=>`(${Mn(n,a)})`;F.JsdocTypeOptional=(n,a)=>a(n.element);F.JsdocTypeNullable=(n,a)=>a(n.element);F.JsdocTypeNotNullable=(n,a)=>a(n.element);F.JsdocTypeUnion=(n,a)=>n.elements.map(a).join("|");function ve(n){try{return Je.parse(n,"typescript")}catch{return null}}l(ve,"extractType");function Se(n){return Je.transform(F,n)}l(Se,"extractTypeName");function ke(n){return n.length>90}l(ke,"isTooLongForTypeSummary");function Nt(n){return n.length>50}l(Nt,"isTooLongForDefaultValueSummary");function b(n,a){return n===a?{summary:n}:{summary:n,detail:a}}l(b,"createSummaryValue");function bt(n,a){if(n!=null){let{value:o}=n;if(!re(o))return Nt(o)?b(a==null?void 0:a.name,o):b(o)}return null}l(bt,"createDefaultValue");function xe({name:n,value:a,elements:o,raw:i}){return a??(o!=null?o.map(xe).join(" | "):i??n)}l(xe,"generateUnionElement");function Et({name:n,raw:a,elements:o}){return o!=null?b(o.map(xe).join(" | ")):a!=null?b(a.replace(/^\|\s*/,"")):b(n)}l(Et,"generateUnion");function Pt({type:n,raw:a}){return a!=null?b(a):b(n)}l(Pt,"generateFuncSignature");function vt({type:n,raw:a}){return a!=null?ke(a)?b(n,a):b(a):b(n)}l(vt,"generateObjectSignature");function St(n){let{type:a}=n;return a==="object"?vt(n):Pt(n)}l(St,"generateSignature");function kt({name:n,raw:a}){return a!=null?ke(a)?b(n,a):b(a):b(n)}l(kt,"generateDefault");function xt(n){if(n==null)return null;switch(n.name){case"union":return Et(n);case"signature":return St(n);default:return kt(n)}}l(xt,"createType");var Cn=l((n,a)=>{let{flowType:o,description:i,required:p,defaultValue:u}=a;return{name:n,type:xt(o),required:p,description:i,defaultValue:bt(u??null,o??null)}},"createFlowPropDef");function Ot({defaultValue:n}){if(n!=null){let{value:a}=n;if(!re(a))return b(a)}return null}l(Ot,"createDefaultValue");function It({tsType:n,required:a}){if(n==null)return null;let o=n.name;return a||(o=o.replace(" | undefined","")),b(["Array","Record","signature"].includes(n.name)?n.raw:o)}l(It,"createType");var Yn=l((n,a)=>{let{description:o,required:i}=a;return{name:n,type:It(a),required:i,description:o,defaultValue:Ot(a)}},"createTsPropDef");function At(n){return n!=null?b(n.name):null}l(At,"createType");function Rt(n){let{computed:a,func:o}=n;return typeof a>"u"&&typeof o>"u"}l(Rt,"isReactDocgenTypescript");function _t(n){return n?n.name==="string"?!0:n.name==="enum"?Array.isArray(n.value)&&n.value.every(({value:a})=>typeof a=="string"&&a[0]==='"'&&a[a.length-1]==='"'):!1:!1}l(_t,"isStringValued");function Ft(n,a){if(n!=null){let{value:o}=n;if(!re(o))return Rt(n)&&_t(a)?b(JSON.stringify(o)):b(o)}return null}l(Ft,"createDefaultValue");function Oe(n,a,o){let{description:i,required:p,defaultValue:u}=o;return{name:n,type:At(a),required:p,description:i,defaultValue:Ft(u,a)}}l(Oe,"createBasicPropDef");function G(n,a){var o;if(a!=null&&a.includesJsDoc){let{description:i,extractedTags:p}=a;i!=null&&(n.description=a.description);let u={...p,params:(o=p==null?void 0:p.params)==null?void 0:o.map(y=>({name:y.getPrettyName(),description:y.description}))};Object.values(u).filter(Boolean).length>0&&(n.jsDocTags=u)}return n}l(G,"applyJsDocResult");var Gn=l((n,a,o)=>{let i=Oe(n,a.type,a);return i.sbType=we(a),G(i,o)},"javaScriptFactory"),Wn=l((n,a,o)=>{let i=Yn(n,a);return i.sbType=we(a),G(i,o)},"tsFactory"),Xn=l((n,a,o)=>{let i=Cn(n,a);return i.sbType=we(a),G(i,o)},"flowFactory"),Qn=l((n,a,o)=>{let i=Oe(n,{name:"unknown"},a);return G(i,o)},"unknownFactory"),jt=l(n=>{switch(n){case"JavaScript":return Gn;case"TypeScript":return Wn;case"Flow":return Xn;default:return Qn}},"getPropDefFactory"),Lt=l(n=>n.type!=null?"JavaScript":n.flowType!=null?"Flow":n.tsType!=null?"TypeScript":"Unknown","getTypeSystem"),Hn=l(n=>{let a=Lt(n[0]),o=jt(a);return n.map(i=>{var u;let p=i;return(u=i.type)!=null&&u.elements&&(p={...i,type:{...i.type,value:i.type.elements}}),Ie(p.name,p,a,o)})},"extractComponentSectionArray"),zn=l(n=>{let a=Object.keys(n),o=Lt(n[a[0]]),i=jt(o);return a.map(p=>{let u=n[p];return u!=null?Ie(p,u,o,i):null}).filter(Boolean)},"extractComponentSectionObject"),ar=l((n,a)=>{let o=Ge(n,a);return Ye(o)?Array.isArray(o)?Hn(o):zn(o):[]},"extractComponentProps");function Ie(n,a,o,i){let p=Bn(a.description);return p.includesJsDoc&&p.ignore?null:{propDef:i(n,a,p),jsDocTags:p.extractedTags,docgenInfo:a,typeSystem:o}}l(Ie,"extractProp");function Zn(n){return n!=null?We(n):""}l(Zn,"extractComponentDescription");const{combineParameters:er}=__STORYBOOK_MODULE_PREVIEW_API__;var or=l(n=>{let{component:a,argTypes:o,parameters:{docs:i={}}}=n,{extractArgTypes:p}=i,u=p&&a?p(a):{};return u?er(u,o):o},"enhanceArgTypes"),tr="storybook/docs",sr=`${tr}/snippet-rendered`,nr=(n=>(n.AUTO="auto",n.CODE="code",n.DYNAMIC="dynamic",n))(nr||{});export{ke as B,Ge as Y,Nt as a,or as c,nr as g,_n as j,b as l,Zn as n,ar as o,sr as y,Ne as z}; diff --git a/docs/storybook/assets/index-c5425238.js b/docs/storybook/assets/index-c5425238.js deleted file mode 100644 index 7123bee..0000000 --- a/docs/storybook/assets/index-c5425238.js +++ /dev/null @@ -1 +0,0 @@ -import{g as m,i as l,B as c,n as T,G as S,v as b,N as d,s as B,a as L,b as C,w as H,P as g,X as u,o as y,Z as I,S as h,c as k,y as P,D as W,x as A,C as F,E as x,R as D,d as R,e as f,f as v,h as E,A as M,$ as N,j as q,J as w,L as O,F as U,k as Z,l as j,m as z,t as G,p as J,q as K,r as Q,_ as V,T as X,u as Y,V as _,z as $,M as aa,I as sa,H as oa,K as ta,O as ea,Q as ra,U as na,W as pa,Y as ia,a0 as ma,a1 as la,a2 as ca,a3 as Ta,a4 as Sa,a5 as ba,a6 as da,a7 as Ba,a8 as La,a9 as Ca,aa as Ha,ab as ga,ac as ua,ad as ya,ae as Ia}from"./DocsRenderer-CFRXHY34-dedb1ca0.js";import"./iframe-145c4ff1.js";import"./index-93f6b7ae.js";import"./jsx-runtime-6d9837fe.js";import"./index-03a57050.js";import"./index-ba5305b1.js";import"./index-356e4a49.js";import"./react-18-ff0899e5.js";export{m as A,l as ActionBar,c as AddonPanel,T as Badge,S as Bar,b as Blockquote,d as Button,B as ClipboardCode,L as Code,C as DL,H as Div,g as DocumentWrapper,u as EmptyTabContent,y as ErrorFormatter,I as FlexBar,h as Form,k as H1,P as H2,W as H3,A as H4,F as H5,x as H6,D as HR,R as IconButton,f as IconButtonSkeleton,v as Icons,E as Img,M as LI,N as Link,q as ListItem,w as Loader,O as Modal,U as OL,Z as P,j as Placeholder,z as Pre,G as ProgressSpinner,J as ResetWrapper,K as ScrollArea,Q as Separator,V as Spaced,X as Span,Y as StorybookIcon,_ as StorybookLogo,$ as Symbols,aa as SyntaxHighlighter,sa as TT,oa as TabBar,ta as TabButton,ea as TabWrapper,ra as Table,na as Tabs,pa as TabsState,ia as TooltipLinkList,ma as TooltipMessage,la as TooltipNote,ca as UL,Ta as WithTooltip,Sa as WithTooltipPure,ba as Zoom,da as codeCommon,Ba as components,La as createCopyToClipboardFunction,Ca as getStoryHref,Ha as icons,ga as interleaveSeparators,ua as nameSpaceClassNames,ya as resetComponents,Ia as withReset}; diff --git a/docs/storybook/assets/index-d14722d4.js b/docs/storybook/assets/index-d14722d4.js deleted file mode 100644 index 4baf6bc..0000000 --- a/docs/storybook/assets/index-d14722d4.js +++ /dev/null @@ -1 +0,0 @@ -import{r as j,g as R}from"./index-93f6b7ae.js";var b={},T=function(){var e=document.getSelection();if(!e.rangeCount)return function(){};for(var t=document.activeElement,r=[],n=0;n<e.rangeCount;n++)r.push(e.getRangeAt(n));switch(t.tagName.toUpperCase()){case"INPUT":case"TEXTAREA":t.blur();break;default:t=null;break}return e.removeAllRanges(),function(){e.type==="Caret"&&e.removeAllRanges(),e.rangeCount||r.forEach(function(o){e.addRange(o)}),t&&t.focus()}},k=T,C={"text/plain":"Text","text/html":"Url",default:"Text"},A="Copy to clipboard: #{key}, Enter";function I(e){var t=(/mac os x/i.test(navigator.userAgent)?"⌘":"Ctrl")+"+C";return e.replace(/#{\s*key\s*}/g,t)}function U(e,t){var r,n,o,i,c,a,u=!1;t||(t={}),r=t.debug||!1;try{o=k(),i=document.createRange(),c=document.getSelection(),a=document.createElement("span"),a.textContent=e,a.ariaHidden="true",a.style.all="unset",a.style.position="fixed",a.style.top=0,a.style.clip="rect(0, 0, 0, 0)",a.style.whiteSpace="pre",a.style.webkitUserSelect="text",a.style.MozUserSelect="text",a.style.msUserSelect="text",a.style.userSelect="text",a.addEventListener("copy",function(l){if(l.stopPropagation(),t.format)if(l.preventDefault(),typeof l.clipboardData>"u"){r&&console.warn("unable to use e.clipboardData"),r&&console.warn("trying IE specific stuff"),window.clipboardData.clearData();var f=C[t.format]||C.default;window.clipboardData.setData(f,e)}else l.clipboardData.clearData(),l.clipboardData.setData(t.format,e);t.onCopy&&(l.preventDefault(),t.onCopy(l.clipboardData))}),document.body.appendChild(a),i.selectNodeContents(a),c.addRange(i);var p=document.execCommand("copy");if(!p)throw new Error("copy command was unsuccessful");u=!0}catch(l){r&&console.error("unable to copy using execCommand: ",l),r&&console.warn("trying IE specific stuff");try{window.clipboardData.setData(t.format||"text",e),t.onCopy&&t.onCopy(window.clipboardData),u=!0}catch(f){r&&console.error("unable to copy using clipboardData: ",f),r&&console.error("falling back to prompt"),n=I("message"in t?t.message:A),window.prompt(n,e)}}finally{c&&(typeof c.removeRange=="function"?c.removeRange(i):c.removeAllRanges()),a&&document.body.removeChild(a),o()}return u}var N=U;function m(e){"@babel/helpers - typeof";return m=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},m(e)}Object.defineProperty(b,"__esModule",{value:!0});b.CopyToClipboard=void 0;var y=P(j),M=P(N),$=["text","onCopy","options","children"];function P(e){return e&&e.__esModule?e:{default:e}}function O(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function w(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?O(Object(r),!0).forEach(function(n){h(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):O(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function q(e,t){if(e==null)return{};var r=z(e,t),n,o;if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(o=0;o<i.length;o++)n=i[o],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function z(e,t){if(e==null)return{};var r={},n=Object.keys(e),o,i;for(i=0;i<n.length;i++)o=n[i],!(t.indexOf(o)>=0)&&(r[o]=e[o]);return r}function B(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function _(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function F(e,t,r){return t&&_(e.prototype,t),r&&_(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function K(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&v(e,t)}function v(e,t){return v=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},v(e,t)}function L(e){var t=H();return function(){var n=d(e),o;if(t){var i=d(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return W(this,o)}}function W(e,t){if(t&&(m(t)==="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return D(e)}function D(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function H(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function d(e){return d=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},d(e)}function h(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var x=function(e){K(r,e);var t=L(r);function r(){var n;B(this,r);for(var o=arguments.length,i=new Array(o),c=0;c<o;c++)i[c]=arguments[c];return n=t.call.apply(t,[this].concat(i)),h(D(n),"onClick",function(a){var u=n.props,p=u.text,l=u.onCopy,f=u.children,E=u.options,s=y.default.Children.only(f),S=(0,M.default)(p,E);l&&l(p,S),s&&s.props&&typeof s.props.onClick=="function"&&s.props.onClick(a)}),n}return F(r,[{key:"render",value:function(){var o=this.props;o.text,o.onCopy,o.options;var i=o.children,c=q(o,$),a=y.default.Children.only(i);return y.default.cloneElement(a,w(w({},c),{},{onClick:this.onClick}))}}]),r}(y.default.PureComponent);b.CopyToClipboard=x;h(x,"defaultProps",{onCopy:void 0,options:void 0});var X=b,g=X.CopyToClipboard;g.CopyToClipboard=g;var G=g;const Q=R(G);export{Q as C,G as l}; diff --git a/docs/storybook/assets/index-fc0741bd.js b/docs/storybook/assets/index-fc0741bd.js deleted file mode 100644 index 06fed66..0000000 --- a/docs/storybook/assets/index-fc0741bd.js +++ /dev/null @@ -1 +0,0 @@ -import{R as e}from"./index-93f6b7ae.js";const o={},c=e.createContext(o);function u(n){const t=e.useContext(c);return e.useMemo(function(){return typeof n=="function"?n(t):{...t,...n}},[t,n])}function m(n){let t;return n.disableParentContext?t=typeof n.components=="function"?n.components(o):n.components||o:t=u(n.components),e.createElement(c.Provider,{value:t},n.children)}export{m as MDXProvider,u as useMDXComponents}; diff --git a/docs/storybook/assets/is-1be6b344.js b/docs/storybook/assets/is-1be6b344.js deleted file mode 100644 index 293c010..0000000 --- a/docs/storybook/assets/is-1be6b344.js +++ /dev/null @@ -1 +0,0 @@ -const a="is",n={AD:"Andorra",AE:"Sameinuðu arabísku furstadæmin",AF:"Afganistan",AG:"Antígva og Barbúda",AI:"Angvilla",AL:"Albanía",AM:"Armenía",AO:"Angóla",AQ:"Suðurskautslandið",AR:"Argentína",AS:"Bandaríska Samóa",AT:"Austurríki",AU:"Ástralía",AW:"Arúba",AX:"Álandseyjar",AZ:"Aserbaísjan",BA:"Bosnía og Hersegóvína",BB:"Barbados",BD:"Bangladess",BE:"Belgía",BF:"Búrkína Fasó",BG:"Búlgaría",BH:"Barein",BI:"Búrúndí",BJ:"Benín",BL:"Saint-Barthélemy",BM:"Bermúda",BN:"Brúnei",BO:"Bólivía",BQ:"Bonaire",BR:"Brasilía",BS:"Bahamas",BT:"Bútan",BV:"Bouveteyja",BW:"Botsvana",BY:"Hvíta-Rússland",BZ:"Belís",CA:"Kanada",CC:"Kókoseyjar",CD:"Lýðstjórnarlýðveldið Kongó",CF:"Mið-Afríkulýðveldið",CG:"Kongó",CH:"Sviss",CI:"Fílabeinsströndin",CK:"Cooks-eyjar",CL:"Síle",CM:"Kamerún",CN:"Kína",CO:"Kólumbía",CR:"Kosta Ríka",CU:"Kúba",CV:"Grænhöfðaeyjar",CW:"Curaçao",CX:"Jólaeyja",CY:"Kípur",CZ:"Tékkland",DE:"Þýskaland",DJ:"Djibútí",DK:"Danmörk",DM:"Dóminíka",DO:"Dóminíska lýðveldið",DZ:"Alsír",EC:"Ekvador",EE:"Eistland",EG:"Egyptaland",EH:"Vestur-Sahara",ER:"Eritrea",ES:"Spánn",ET:"Eþíópía",FI:"Finnland",FJ:"Fídjíeyjar",FK:"Falklandseyjar",FM:"Míkrónesía",FO:"Færeyjar",FR:"Frakkland",GA:"Gabon",GB:"Bretland",GD:"Grenada",GE:"Georgía",GF:"Franska Gvæjana",GG:"Guernsey",GH:"Gana",GI:"Gíbraltar",GL:"Grænland",GM:"Gambía",GN:"Gínea",GP:"Gvadelúpeyjar",GQ:"Miðbaugs-Gínea",GR:"Grikkland",GS:"Suður-Georgía og Suður-Sandvíkureyjar",GT:"Gvatemala",GU:"Gvam",GW:"Gínea-Bissá",GY:"Gvæjana",HK:"Hong Kong",HM:"Heard og McDonaldseyjar",HN:"Hondúras",HR:"Króatía",HT:"Haítí",HU:"Ungverjaland",ID:"Indónesía",IE:"Írland",IL:"Ísrael",IM:"Mön",IN:"Indland",IO:"Bresku Indlandshafseyjar",IQ:"Írak",IR:"Íran",IS:"Ísland",IT:"Ítalía",JE:"Jersey",JM:"Jamaíka",JO:"Jórdanía",JP:"Japan",KE:"Kenía",KG:"Kirgistan",KH:"Kambódía",KI:"Kíribatí",KM:"Kómoreyjar",KN:"Sankti Kristófer og Nevis",KP:"Norður-Kórea",KR:"Suður-Kórea",KW:"Kúveit",KY:"Cayman-eyjar",KZ:"Kasakstan",LA:"Laos",LB:"Líbanon",LC:"Sankti Lúsía",LI:"Liechtenstein",LK:"Srí Lanka",LR:"Líbería",LS:"Lesótó",LT:"Litháen",LU:"Lúxemborg",LV:"Lettland",LY:"Líbía",MA:"Marokkó",MC:"Mónakó",MD:"Moldóva",ME:"Svartfjallaland",MF:"Saint-Martin",MG:"Madagaskar",MH:"Marshalleyjar",MK:"Norður-Makedónía",ML:"Malí",MM:"Mjanmar",MN:"Mongólía",MO:"Makaó",MP:"Norður-Maríanaeyjar",MQ:"Martinique",MR:"Máritanía",MS:"Montserrat",MT:"Malta",MU:"Máritíus",MV:"Maldívur",MW:"Malaví",MX:"Mexíkó",MY:"Malasía",MZ:"Mósambík",NA:"Namibía",NC:"Nýja-Kaledónía",NE:"Níger",NF:"Norfolkeyja",NG:"Nígería",NI:"Níkaragva",NL:"Holland",NO:"Noregur",NP:"Nepal",NR:"Naúrú",NU:"Niue",NZ:"Nýja-Sjáland",OM:"Óman",PA:"Panama",PE:"Perú",PF:"Franska Pólýnesía",PG:"Papúa Nýja-Gínea",PH:"Filippseyjar",PK:"Pakistan",PL:"Pólland",PM:"Sankti Pierre og Miquelon",PN:"Pitcairn",PR:"Púertó Ríkó",PS:"Palestína",PT:"Portúgal",PW:"Palá",PY:"Paragvæ",QA:"Katar",RE:"Réunion",RO:"Rúmenía",RS:"Serbía",RU:"Rússland",RW:"Rúanda",SA:"Sádi-Arabía",SB:"Salómonseyjar",SC:"Seychelles-eyjar",SD:"Súdan",SE:"Svíþjóð",SG:"Singapúr",SH:"Sankti Helena",SI:"Slóvenía",SJ:"Svalbarði",SK:"Slóvakía",SL:"Síerra Leóne",SM:"San Marínó",SN:"Senegal",SO:"Sómalía",SR:"Súrínam",SS:"Suður-Súdan",ST:"Saó Tóme og Prinsípe",SV:"El Salvador",SX:"Sint Maarten",SY:"Sýrland",SZ:"Esvatíní",TC:"Turks- og Caicoseyjar",TD:"Tjad",TF:"Frönsku suðlægu landsvæðin",TG:"Tógó",TH:"Taíland",TJ:"Tadsíkistan",TK:"Tókelá",TL:"Austur-Tímor",TM:"Túrkmenistan",TN:"Túnis",TO:"Tonga",TR:"Tyrkland",TT:"Trínidad og Tóbagó",TV:"Túvalú",TW:"Taívan",TZ:"Tansanía",UA:"Úkraína",UG:"Úganda",UM:"Smáeyjar Bandaríkjanna",US:"Bandaríkin",UY:"Úrúgvæ",UZ:"Úsbekistan",VA:"Vatíkanið",VC:"Sankti Vinsent og Grenadínur",VE:"Venesúela",VG:"Bresku Jómfrúaeyjar",VI:"Bandarísku Jómfrúaeyjar",VN:"Víetnam",VU:"Vanúatú",WF:"Wallis- og Fútúnaeyjar",WS:"Samóa",XK:"Kósovó",YE:"Jemen",YT:"Mayotte",ZA:"Suður-Afríka",ZM:"Sambía",ZW:"Simbabve"},r={locale:a,countries:n};export{n as countries,r as default,a as locale}; diff --git a/docs/storybook/assets/it-9ab2bdd7.js b/docs/storybook/assets/it-9ab2bdd7.js deleted file mode 100644 index fb893ef..0000000 --- a/docs/storybook/assets/it-9ab2bdd7.js +++ /dev/null @@ -1 +0,0 @@ -const a="it",i={AD:"Andorra",AE:"Emirati Arabi Uniti",AF:"Afghanistan",AG:"Antigua e Barbuda",AI:"Anguilla",AL:"Albania",AM:"Armenia",AO:"Angola",AQ:"Antartide",AR:"Argentina",AS:"Samoa Americane",AT:"Austria",AU:"Australia",AW:"Aruba",AX:"Isole Åland",AZ:"Azerbaigian",BA:"Bosnia ed Erzegovina",BB:"Barbados",BD:"Bangladesh",BE:"Belgio",BF:"Burkina Faso",BG:"Bulgaria",BH:"Bahrain",BI:"Burundi",BJ:"Benin",BL:"Saint-Barthélemy",BM:"Bermuda",BN:"Brunei",BO:"Bolivia",BQ:"Isole BES",BR:"Brasile",BS:"Bahamas",BT:"Bhutan",BV:"Isola Bouvet",BW:"Botswana",BY:"Bielorussia",BZ:"Belize",CA:"Canada",CC:"Isole Cocos e Keeling",CD:"Repubblica Democratica del Congo",CF:"Repubblica Centrafricana",CG:"Repubblica del Congo",CH:"Svizzera",CI:"Costa d'Avorio",CK:"Isole Cook",CL:"Cile",CM:"Camerun",CN:"Cina",CO:"Colombia",CR:"Costa Rica",CU:"Cuba",CV:"Capo Verde",CW:"Curaçao",CX:"Isola del Natale",CY:"Cipro",CZ:"Repubblica Ceca",DE:"Germania",DJ:"Gibuti",DK:"Danimarca",DM:"Dominica",DO:"Repubblica Dominicana",DZ:"Algeria",EC:"Ecuador",EE:"Estonia",EG:"Egitto",EH:"Sahara Occidentale",ER:"Eritrea",ES:"Spagna",ET:"Etiopia",FI:"Finlandia",FJ:"Figi",FK:"Isole Falkland",FM:"Stati Federati di Micronesia",FO:"Isole Fær Øer",FR:"Francia",GA:"Gabon",GB:"Regno Unito",GD:"Grenada",GE:"Georgia",GF:"Guyana Francese",GG:"Guernsey",GH:"Ghana",GI:"Gibilterra",GL:"Groenlandia",GM:"Gambia",GN:"Guinea",GP:"Guadalupa",GQ:"Guinea Equatoriale",GR:"Grecia",GS:"Georgia del Sud e isole Sandwich meridionali",GT:"Guatemala",GU:"Guam",GW:"Guinea-Bissau",GY:"Guyana",HK:"Hong Kong",HM:"Isole Heard e McDonald",HN:"Honduras",HR:"Croazia",HT:"Haiti",HU:"Ungheria",ID:"Indonesia",IE:"Irlanda",IL:"Israele",IM:"Isola di Man",IN:"India",IO:"Territori Britannici dell'Oceano Indiano",IQ:"Iraq",IR:"Iran",IS:"Islanda",IT:"Italia",JE:"Jersey",JM:"Giamaica",JO:"Giordania",JP:"Giappone",KE:"Kenya",KG:"Kirghizistan",KH:"Cambogia",KI:"Kiribati",KM:"Comore",KN:"Saint Kitts e Nevis",KP:"Corea del Nord",KR:"Corea del Sud",KW:"Kuwait",KY:"Isole Cayman",KZ:"Kazakistan",LA:"Laos",LB:"Libano",LC:"Santa Lucia",LI:"Liechtenstein",LK:"Sri Lanka",LR:"Liberia",LS:"Lesotho",LT:"Lituania",LU:"Lussemburgo",LV:"Lettonia",LY:"Libia",MA:"Marocco",MC:"Monaco",MD:"Moldavia",ME:"Montenegro",MF:"Saint-Martin",MG:"Madagascar",MH:"Isole Marshall",MK:"Macedonia del Nord",ML:"Mali",MM:"Birmania Myanmar",MN:"Mongolia",MO:"Macao",MP:"Isole Marianne Settentrionali",MQ:"Martinica",MR:"Mauritania",MS:"Montserrat",MT:"Malta",MU:"Mauritius",MV:"Maldive",MW:"Malawi",MX:"Messico",MY:"Malesia",MZ:"Mozambico",NA:"Namibia",NC:"Nuova Caledonia",NE:"Niger",NF:"Isola Norfolk",NG:"Nigeria",NI:"Nicaragua",NL:"Paesi Bassi",NO:"Norvegia",NP:"Nepal",NR:"Nauru",NU:"Niue",NZ:"Nuova Zelanda",OM:"Oman",PA:"Panamá",PE:"Perù",PF:"Polinesia Francese",PG:"Papua Nuova Guinea",PH:"Filippine",PK:"Pakistan",PL:"Polonia",PM:"Saint Pierre e Miquelon",PN:"Isole Pitcairn",PR:"Porto Rico",PS:"Stato di Palestina",PT:"Portogallo",PW:"Palau",PY:"Paraguay",QA:"Qatar",RE:"Réunion",RO:"Romania",RS:"Serbia",RU:"Russia",RW:"Ruanda",SA:"Arabia Saudita",SB:"Isole Salomone",SC:"Seychelles",SD:"Sudan",SE:"Svezia",SG:"Singapore",SH:"Sant'Elena, Isola di Ascensione e Tristan da Cunha",SI:"Slovenia",SJ:"Svalbard e Jan Mayen",SK:"Slovacchia",SL:"Sierra Leone",SM:"San Marino",SN:"Senegal",SO:"Somalia",SR:"Suriname",SS:"Sudan del Sud",ST:"São Tomé e Príncipe",SV:"El Salvador",SX:"Sint Maarten",SY:"Siria",SZ:"Eswatini",TC:"Isole Turks e Caicos",TD:"Ciad",TF:"Territori Francesi del Sud",TG:"Togo",TH:"Thailandia",TJ:"Tagikistan",TK:"Tokelau",TL:"Timor Est",TM:"Turkmenistan",TN:"Tunisia",TO:"Tonga",TR:"Turchia",TT:"Trinidad e Tobago",TV:"Tuvalu",TW:["Repubblica di Cina","Taiwan"],TZ:"Tanzania",UA:"Ucraina",UG:"Uganda",UM:"Isole minori esterne degli Stati Uniti",US:"Stati Uniti d'America",UY:"Uruguay",UZ:"Uzbekistan",VA:"Città del Vaticano",VC:"Saint Vincent e Grenadine",VE:"Venezuela",VG:"Isole Vergini Britanniche",VI:"Isole Vergini Americane",VN:"Vietnam",VU:"Vanuatu",WF:"Wallis e Futuna",WS:"Samoa",YE:"Yemen",YT:"Mayotte",ZA:"Sudafrica",ZM:"Zambia",ZW:"Zimbabwe",XK:"Kosovo"},e={locale:a,countries:i};export{i as countries,e as default,a as locale}; diff --git a/docs/storybook/assets/ja-7d2e5087.js b/docs/storybook/assets/ja-7d2e5087.js deleted file mode 100644 index 0d01222..0000000 --- a/docs/storybook/assets/ja-7d2e5087.js +++ /dev/null @@ -1 +0,0 @@ -const M="ja",S={AF:"アフガニスタン",AL:"アルバニア",DZ:"アルジェリア",AS:"アメリカ領サモア",AD:"アンドラ",AO:"アンゴラ",AI:"アンギラ",AQ:"南極",AG:"アンティグア・バーブーダ",AR:"アルゼンチン",AM:"アルメニア",AW:"アルバ",AU:"オーストラリア",AT:"オーストリア",AZ:"アゼルバイジャン",BS:"バハマ",BH:"バーレーン",BD:"バングラデシュ",BB:"バルバドス",BY:"ベラルーシ",BE:"ベルギー",BZ:"ベリーズ",BJ:"ベナン",BM:"バミューダ",BT:"ブータン",BO:"ボリビア多民族国",BA:"ボスニア・ヘルツェゴビナ",BW:"ボツワナ",BV:"ブーベ島",BR:"ブラジル",IO:"イギリス領インド洋地域",BN:"ブルネイ・ダルサラーム",BG:"ブルガリア",BF:"ブルキナファソ",BI:"ブルンジ",KH:"カンボジア",CM:"カメルーン",CA:"カナダ",CV:"カーボベルデ",KY:"ケイマン諸島",CF:"中央アフリカ共和国",TD:"チャド",CL:"チリ",CN:"中華人民共和国",CX:"クリスマス島",CC:"ココス(キーリング)諸島",CO:"コロンビア",KM:"コモロ",CG:"コンゴ共和国",CD:"コンゴ民主共和国",CK:"クック諸島",CR:"コスタリカ",CI:"コートジボワール",HR:"クロアチア",CU:"キューバ",CY:"キプロス",CZ:"チェコ",DK:"デンマーク",DJ:"ジブチ",DM:"ドミニカ国",DO:"ドミニカ共和国",EC:"エクアドル",EG:"エジプト",SV:"エルサルバドル",GQ:"赤道ギニア",ER:"エリトリア",EE:"エストニア",ET:"エチオピア",FK:"フォークランド(マルビナス)諸島",FO:"フェロー諸島",FJ:"フィジー",FI:"フィンランド",FR:"フランス",GF:"フランス領ギアナ",PF:"フランス領ポリネシア",TF:"フランス領南方・南極地域",GA:"ガボン",GM:"ガンビア",GE:"ジョージア",DE:"ドイツ",GH:"ガーナ",GI:"ジブラルタル",GR:"ギリシャ",GL:"グリーンランド",GD:"グレナダ",GP:"グアドループ",GU:"グアム",GT:"グアテマラ",GN:"ギニア",GW:"ギニアビサウ",GY:"ガイアナ",HT:"ハイチ",HM:"ハード島とマクドナルド諸島",VA:"バチカン市国",HN:"ホンジュラス",HK:"香港",HU:"ハンガリー",IS:"アイスランド",IN:"インド",ID:"インドネシア",IR:"イラン・イスラム共和国",IQ:"イラク",IE:"アイルランド",IL:"イスラエル",IT:"イタリア",JM:"ジャマイカ",JP:"日本",JO:"ヨルダン",KZ:"カザフスタン",KE:"ケニア",KI:"キリバス",KP:"朝鮮民主主義人民共和国",KR:"大韓民国",KW:"クウェート",KG:"キルギス",LA:"ラオス人民民主共和国",LV:"ラトビア",LB:"レバノン",LS:"レソト",LR:"リベリア",LY:"リビア",LI:"リヒテンシュタイン",LT:"リトアニア",LU:"ルクセンブルク",MO:"マカオ",MG:"マダガスカル",MW:"マラウイ",MY:"マレーシア",MV:"モルディブ",ML:"マリ",MT:"マルタ",MH:"マーシャル諸島",MQ:"マルティニーク",MR:"モーリタニア",MU:"モーリシャス",YT:"マヨット",MX:"メキシコ",FM:"ミクロネシア連邦",MD:"モルドバ共和国",MC:"モナコ",MN:"モンゴル",MS:"モントセラト",MA:"モロッコ",MZ:"モザンビーク",MM:"ミャンマー",NA:"ナミビア",NR:"ナウル",NP:"ネパール",NL:"オランダ",NC:"ニューカレドニア",NZ:"ニュージーランド",NI:"ニカラグア",NE:"ニジェール",NG:"ナイジェリア",NU:"ニウエ",NF:"ノーフォーク島",MK:"北マケドニア",MP:"北マリアナ諸島",NO:"ノルウェー",OM:"オマーン",PK:"パキスタン",PW:"パラオ",PS:"パレスチナ",PA:"パナマ",PG:"パプアニューギニア",PY:"パラグアイ",PE:"ペルー",PH:"フィリピン",PN:"ピトケアン",PL:"ポーランド",PT:"ポルトガル",PR:"プエルトリコ",QA:"カタール",RE:"レユニオン",RO:"ルーマニア",RU:"ロシア連邦",RW:"ルワンダ",SH:"セントヘレナ・アセンションおよびトリスタンダクーニャ",KN:"セントクリストファー・ネイビス",LC:"セントルシア",PM:"サンピエール島・ミクロン島",VC:"セントビンセントおよびグレナディーン諸島",WS:"サモア",SM:"サンマリノ",ST:"サントメ・プリンシペ",SA:"サウジアラビア",SN:"セネガル",SC:"セーシェル",SL:"シエラレオネ",SG:"シンガポール",SK:"スロバキア",SI:"スロベニア",SB:"ソロモン諸島",SO:"ソマリア",ZA:"南アフリカ",GS:"サウスジョージア・サウスサンドウィッチ諸島",ES:"スペイン",LK:"スリランカ",SD:"スーダン",SR:"スリナム",SJ:"スヴァールバル諸島およびヤンマイエン島",SZ:"スワジランド",SE:"スウェーデン",CH:"スイス",SY:"シリア・アラブ共和国",TW:"台湾",TJ:"タジキスタン",TZ:"タンザニア",TH:"タイ",TL:"東ティモール",TG:"トーゴ",TK:"トケラウ",TO:"トンガ",TT:"トリニダード・トバゴ",TN:"チュニジア",TR:"トルコ",TM:"トルクメニスタン",TC:"タークス・カイコス諸島",TV:"ツバル",UG:"ウガンダ",UA:"ウクライナ",AE:"アラブ首長国連邦",GB:"イギリス",US:"アメリカ合衆国",UM:"合衆国領有小離島",UY:"ウルグアイ",UZ:"ウズベキスタン",VU:"バヌアツ",VE:"ベネズエラ・ボリバル共和国",VN:"ベトナム",VG:"イギリス領ヴァージン諸島",VI:"アメリカ領ヴァージン諸島",WF:"ウォリス・フツナ",EH:"西サハラ",YE:"イエメン",ZM:"ザンビア",ZW:"ジンバブエ",AX:"オーランド諸島",BQ:"ボネール、シント・ユースタティウスおよびサバ",CW:"キュラソー",GG:"ガーンジー",IM:"マン島",JE:"ジャージー",ME:"モンテネグロ",BL:"サン・バルテルミー",MF:"サン・マルタン(フランス領)",RS:"セルビア",SX:"シント・マールテン(オランダ領)",SS:"南スーダン",XK:"コソボ"},G={locale:M,countries:S};export{S as countries,G as default,M as locale}; diff --git a/docs/storybook/assets/jsx-runtime-6d9837fe.js b/docs/storybook/assets/jsx-runtime-6d9837fe.js deleted file mode 100644 index 0f96cda..0000000 --- a/docs/storybook/assets/jsx-runtime-6d9837fe.js +++ /dev/null @@ -1,9 +0,0 @@ -import{r as l}from"./index-93f6b7ae.js";var f={exports:{}},n={};/** - * @license React - * react-jsx-runtime.production.min.js - * - * Copyright (c) Facebook, Inc. and its affiliates. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */var u=l,m=Symbol.for("react.element"),x=Symbol.for("react.fragment"),y=Object.prototype.hasOwnProperty,a=u.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,v={key:!0,ref:!0,__self:!0,__source:!0};function i(t,r,p){var e,o={},s=null,_=null;p!==void 0&&(s=""+p),r.key!==void 0&&(s=""+r.key),r.ref!==void 0&&(_=r.ref);for(e in r)y.call(r,e)&&!v.hasOwnProperty(e)&&(o[e]=r[e]);if(t&&t.defaultProps)for(e in r=t.defaultProps,r)o[e]===void 0&&(o[e]=r[e]);return{$$typeof:m,type:t,key:s,ref:_,props:o,_owner:a.current}}n.Fragment=x;n.jsx=i;n.jsxs=i;f.exports=n;var d=f.exports;export{d as j}; diff --git a/docs/storybook/assets/ka-055da083.js b/docs/storybook/assets/ka-055da083.js deleted file mode 100644 index 6fae12c..0000000 --- a/docs/storybook/assets/ka-055da083.js +++ /dev/null @@ -1 +0,0 @@ -const M="ka",S={AD:"ანდორა",AE:"არაბთა გაერთიანებული საამიროები",AF:"ავღანეთი",AG:"ანტიგუა და ბარბუდა",AI:"ანგვილა",AL:"ალბანეთი",AM:"სომხეთი",AO:"ანგოლა",AQ:"ანტარქტიკა",AR:"არგენტინა",AS:"ამერიკის სამოა",AT:"ავსტრია",AU:"ავსტრალია",AW:"არუბა",AX:"ალანდის კუნძულები",AZ:"აზერბაიჯანი",BA:"ბოსნია და ჰერცეგოვინა",BB:"ბარბადოსი",BD:"ბანგლადეში",BE:"ბელგია",BF:"ბურკინა-ფასო",BG:"ბულგარეთი",BH:"ბაჰრეინი",BI:"ბურუნდი",BJ:"ბენინი",BL:"სენ-ბართელმი",BM:"ბერმუდა",BN:"ბრუნეი",BO:"ბოლივია",BQ:"კარიბის ნიდერლანდები",BR:"ბრაზილია",BS:"ბაჰამის კუნძულები",BT:"ბუტანი",BV:"ბუვე",BW:"ბოტსვანა",BY:"ბელარუსი",BZ:"ბელიზი",CA:"კანადა",CC:"ქოქოსის (კილინგის) კუნძულები",CD:"კონგო - კინშასა",CF:"ცენტრალური აფრიკის რესპუბლიკა",CG:"კონგო - ბრაზავილი",CH:"შვეიცარია",CI:"კოტ-დივუარი",CK:"კუკის კუნძულები",CL:"ჩილე",CM:"კამერუნი",CN:"ჩინეთი",CO:"კოლუმბია",CR:"კოსტა-რიკა",CU:"კუბა",CV:"კაბო-ვერდე",CW:"კიურასაო",CX:"შობის კუნძული",CY:"კვიპროსი",CZ:"ჩეხეთის რესპუბლიკა",DE:"გერმანია",DJ:"ჯიბუტი",DK:"დანია",DM:"დომინიკა",DO:"დომინიკელთა რესპუბლიკა",DZ:"ალჟირი",EC:"ეკვადორი",EE:"ესტონეთი",EG:"ეგვიპტე",EH:"დასავლეთ საჰარა",ER:"ერიტრეა",ES:"ესპანეთი",ET:"ეთიოპია",FI:"ფინეთი",FJ:"ფიჯი",FK:"ფოლკლენდის კუნძულები",FM:"მიკრონეზია",FO:"ფარერის კუნძულები",FR:"საფრანგეთი",GA:"გაბონი",GB:"გაერთიანებული სამეფო",GD:"გრენადა",GE:"საქართველო",GF:"საფრანგეთის გვიანა",GG:"გერნსი",GH:"განა",GI:"გიბრალტარი",GL:"გრენლანდია",GM:"გამბია",GN:"გვინეა",GP:"გვადელუპა",GQ:"ეკვატორული გვინეა",GR:"საბერძნეთი",GS:"სამხრეთ ჯორჯია და სამხრეთ სენდვიჩის კუნძულები",GT:"გვატემალა",GU:"გუამი",GW:"გვინეა-ბისაუ",GY:"გაიანა",HK:"ჰონკონგი",HM:"ჰერდი და მაკდონალდის კუნძულები",HN:"ჰონდურასი",HR:"ხორვატია",HT:"ჰაიტი",HU:"უნგრეთი",ID:"ინდონეზია",IE:"ირლანდია",IL:"ისრაელი",IM:"მენის კუნძული",IN:"ინდოეთი",IO:"ბრიტანეთის ტერიტორია ინდოეთის ოკეანეში",IQ:"ერაყი",IR:"ირანი",IS:"ისლანდია",IT:"იტალია",JE:"ჯერსი",JM:"იამაიკა",JO:"იორდანია",JP:"იაპონია",KE:"კენია",KG:"ყირგიზეთი",KH:"კამბოჯა",KI:"კირიბატი",KM:"კომორის კუნძულები",KN:"სენტ-კიტსი და ნევისი",KP:"ჩრდილოეთ კორეა",KR:"სამხრეთ კორეა",KW:"ქუვეითი",KY:"კაიმანის კუნძულები",KZ:"ყაზახეთი",LA:"ლაოსი",LB:"ლიბანი",LC:"სენტ-ლუსია",LI:"ლიხტენშტაინი",LK:"შრი-ლანკა",LR:"ლიბერია",LS:"ლესოთო",LT:"ლიტვა",LU:"ლუქსემბურგი",LV:"ლატვია",LY:"ლიბია",MA:"მაროკო",MC:"მონაკო",MD:"მოლდოვა",ME:"მონტენეგრო",MF:"სენ-მარტენი",MG:"მადაგასკარი",MH:"მარშალის კუნძულები",MK:"ჩრდილოეთი მაკედონია",ML:"მალი",MM:"მიანმარი (ბირმა)",MN:"მონღოლეთი",MO:"მაკაო",MP:"ჩრდილოეთ მარიანას კუნძულები",MQ:"მარტინიკა",MR:"მავრიტანია",MS:"მონსერატი",MT:"მალტა",MU:"მავრიკი",MV:"მალდივები",MW:"მალავი",MX:"მექსიკა",MY:"მალაიზია",MZ:"მოზამბიკი",NA:"ნამიბია",NC:"ახალი კალედონია",NE:"ნიგერი",NF:"ნორფოლკის კუნძული",NG:"ნიგერია",NI:"ნიკარაგუა",NL:"ნიდერლანდები",NO:"ნორვეგია",NP:"ნეპალი",NR:"ნაურუ",NU:"ნიუე",NZ:"ახალი ზელანდია",OM:"ომანი",PA:"პანამა",PE:"პერუ",PF:"საფრანგეთის პოლინეზია",PG:"პაპუა-ახალი გვინეა",PH:"ფილიპინები",PK:"პაკისტანი",PL:"პოლონეთი",PM:"სენ-პიერი და მიკელონი",PN:"პიტკერნის კუნძულები",PR:"პუერტო-რიკო",PS:"პალესტინის ტერიტორიები",PT:"პორტუგალია",PW:"პალაუ",PY:"პარაგვაი",QA:"კატარი",RE:"რეუნიონი",RO:"რუმინეთი",RS:"სერბეთი",RU:"რუსეთი",RW:"რუანდა",SA:"საუდის არაბეთი",SB:"სოლომონის კუნძულები",SC:"სეიშელის კუნძულები",SD:"სუდანი",SE:"შვედეთი",SG:"სინგაპური",SH:"წმინდა ელენეს კუნძული",SI:"სლოვენია",SJ:"შპიცბერგენი და იან-მაიენი",SK:"სლოვაკეთი",SL:"სიერა-ლეონე",SM:"სან-მარინო",SN:"სენეგალი",SO:"სომალი",SR:"სურინამი",SS:"სამხრეთ სუდანი",ST:"სან-ტომე და პრინსიპი",SV:"სალვადორი",SX:"სინტ-მარტენი",SY:"სირია",SZ:"სვაზილენდი",TC:"თერქს-ქაიქოსის კუნძულები",TD:"ჩადი",TF:"ფრანგული სამხრეთის ტერიტორიები",TG:"ტოგო",TH:"ტაილანდი",TJ:"ტაჯიკეთი",TK:"ტოკელაუ",TL:"ტიმორ-ლესტე",TM:"თურქმენეთი",TN:"ტუნისი",TO:"ტონგა",TR:"თურქეთი",TT:"ტრინიდადი და ტობაგო",TV:"ტუვალუ",TW:"ტაივანი",TZ:"ტანზანია",UA:"უკრაინა",UG:"უგანდა",UM:"აშშ-ის შორეული კუნძულები",US:"ამერიკის შეერთებული შტატები",UY:"ურუგვაი",UZ:"უზბეკეთი",VA:"ქალაქი ვატიკანი",VC:"სენტ-ვინსენტი და გრენადინები",VE:"ვენესუელა",VG:"ბრიტანეთის ვირჯინის კუნძულები",VI:"აშშ-ის ვირჯინის კუნძულები",VN:"ვიეტნამი",VU:"ვანუატუ",WF:"უოლისი და ფუტუნა",WS:"სამოა",XK:"კოსოვო",YE:"იემენი",YT:"მაიოტა",ZA:"სამხრეთ აფრიკის რესპუბლიკა",ZM:"ზამბია",ZW:"ზიმბაბვე"},G={locale:M,countries:S};export{S as countries,G as default,M as locale}; diff --git a/docs/storybook/assets/kk-bcc83554.js b/docs/storybook/assets/kk-bcc83554.js deleted file mode 100644 index 66708ff..0000000 --- a/docs/storybook/assets/kk-bcc83554.js +++ /dev/null @@ -1 +0,0 @@ -const M="kk",S={AD:"Андорра",AE:"Біріккен Араб Әмірліктері",AF:"Ауғанстан",AG:"Антигуа және Барбуда",AI:"Ангилья",AL:"Албания",AM:"Армения",AO:"Ангола",AQ:"Антарктида",AR:"Аргентина",AS:"Америкалық Самоа",AT:"Австрия",AU:"Австралия",AW:"Аруба",AX:"Аланд аралдары",AZ:"Әзірбайжан",BA:"Босния және Герцеговина",BB:"Барбадос",BD:"Бангладеш",BE:"Бельгия",BF:"Буркина-Фасо",BG:"Болгария",BH:"Бахрейн",BI:"Бурунди",BJ:"Бенин",BL:"Сен-Бартелеми",BM:"Бермуд аралдары",BN:"Бруней",BO:"Боливия",BQ:"Кариб Нидерландысы",BR:"Бразилия",BS:"Багам аралдары",BT:"Бутан",BV:"Буве аралы",BW:"Ботсвана",BY:"Беларусь",BZ:"Белиз",CA:"Канада",CC:"Кокос (Килинг) аралдары",CD:"Конго",CF:"Орталық Африка Республикасы",CG:"Конго Республикасы",CH:"Швейцария",CI:"Кот-д’Ивуар",CK:"Кук аралдары",CL:"Чили",CM:"Камерун",CN:"Қытай",CO:"Колумбия",CR:"Коста-Рика",CU:"Куба",CV:"Кабо-Верде",CW:"Кюрасао",CX:"Рождество аралы",CY:"Кипр",CZ:"Чех Республикасы",DE:"Германия",DJ:"Джибути",DK:"Дания",DM:"Доминика",DO:"Доминикан Республикасы",DZ:"Алжир",EC:"Эквадор",EE:"Эстония",EG:"Мысыр",EH:"Батыс Сахара",ER:"Эритрея",ES:"Испания",ET:"Эфиопия",FI:"Финляндия",FJ:"Фиджи",FK:"Фолкленд аралдары",FM:"Микронезия",FO:"Фарер аралдары",FR:"Франция",GA:"Габон",GB:"Ұлыбритания",GD:"Гренада",GE:"Грузия",GF:"Француз Гвианасы",GG:"Гернси",GH:"Гана",GI:"Гибралтар",GL:"Гренландия",GM:"Гамбия",GN:"Гвинея",GP:"Гваделупа",GQ:"Экваторлық Гвинея",GR:"Грекия",GS:"Оңтүстік Георгия және Оңтүстік Сандвич аралдары",GT:"Гватемала",GU:"Гуам",GW:"Гвинея-Бисау",GY:"Гайана",HK:"Гонконг",HM:"Херд аралы және Макдональд аралдары",HN:"Гондурас",HR:"Хорватия",HT:"Гаити",HU:"Венгрия",ID:"Индонезия",IE:"Ирландия",IL:"Израиль",IM:"Мэн аралы",IN:"Үндістан",IO:"Үнді мұхитындағы Британ аймағы",IQ:"Ирак",IR:"Иран",IS:"Исландия",IT:"Италия",JE:"Джерси",JM:"Ямайка",JO:"Иордания",JP:"Жапония",KE:"Кения",KG:"Қырғызстан",KH:"Камбоджа",KI:"Кирибати",KM:"Комор аралдары",KN:"Сент-Китс және Невис",KP:"Солтүстік Корея",KR:"Оңтүстік Корея",KW:"Кувейт",KY:"Кайман аралдары",KZ:"Қазақстан",LA:"Лаос",LB:"Ливан",LC:"Сент-Люсия",LI:"Лихтенштейн",LK:"Шри-Ланка",LR:"Либерия",LS:"Лесото",LT:"Литва",LU:"Люксембург",LV:"Латвия",LY:"Ливия",MA:"Марокко",MC:"Монако",MD:"Молдова",ME:"Черногория",MF:"Сен-Мартен",MG:"Мадагаскар",MH:"Маршалл аралдары",MK:"Солтүстік Македония Республикасы",ML:"Мали",MM:"Мьянма (Бирма)",MN:"Моңғолия",MO:"Макао",MP:"Солтүстік Мариана аралдары",MQ:"Мартиника",MR:"Мавритания",MS:"Монтсеррат",MT:"Мальта",MU:"Маврикий",MV:"Мальдив аралдары",MW:"Малави",MX:"Мексика",MY:"Малайзия",MZ:"Мозамбик",NA:"Намибия",NC:"Жаңа Каледония",NE:"Нигер",NF:"Норфолк аралы",NG:"Нигерия",NI:"Никарагуа",NL:"Нидерланд",NO:"Норвегия",NP:"Непал",NR:"Науру",NU:"Ниуэ",NZ:"Жаңа Зеландия",OM:"Оман",PA:"Панама",PE:"Перу",PF:"Француз Полинезиясы",PG:"Папуа — Жаңа Гвинея",PH:"Филиппин",PK:"Пәкістан",PL:"Польша",PM:"Сен-Пьер және Микелон",PN:"Питкэрн аралдары",PR:"Пуэрто-Рико",PS:"Палестина аймақтары",PT:"Португалия",PW:"Палау",PY:"Парагвай",QA:"Катар",RE:"Реюньон",RO:"Румыния",RS:"Сербия",RU:"Ресей",RW:"Руанда",SA:"Сауд Арабиясы",SB:"Соломон аралдары",SC:"Сейшель аралдары",SD:"Судан",SE:"Швеция",SG:"Сингапур",SH:"Әулие Елена аралы",SI:"Словения",SJ:"Шпицберген және Ян-Майен",SK:"Словакия",SL:"Сьерра-Леоне",SM:"Сан-Марино",SN:"Сенегал",SO:"Сомали",SR:"Суринам",SS:"Оңтүстік Судан",ST:"Сан-Томе және Принсипи",SV:"Сальвадор",SX:"Синт-Мартен",SY:"Сирия",SZ:"Свазиленд",TC:"Теркс және Кайкос аралдары",TD:"Чад",TF:"Францияның оңтүстік аймақтары",TG:"Того",TH:"Тайланд",TJ:"Тәжікстан",TK:"Токелау",TL:"Тимор-Лесте",TM:"Түрікменстан",TN:"Тунис",TO:"Тонга",TR:"Түркия",TT:"Тринидад және Тобаго",TV:"Тувалу",TW:"Тайвань",TZ:"Танзания",UA:"Украина",UG:"Уганда",UM:"АҚШ-тың сыртқы кіші аралдары",US:"Америка Құрама Штаттары",UY:"Уругвай",UZ:"Өзбекстан",VA:"Ватикан",VC:"Сент-Винсент және Гренадин аралдары",VE:"Венесуэла",VG:"Британдық Виргин аралдары",VI:"АҚШ-тың Виргин аралдары",VN:"Вьетнам",VU:"Вануату",WF:"Уоллис және Футуна",WS:"Самоа",XK:"Косово",YE:"Йемен",YT:"Майотта",ZA:"Оңтүстік Африка Республикасы",ZM:"Замбия",ZW:"Зимбабве"},G={locale:M,countries:S};export{S as countries,G as default,M as locale}; diff --git a/docs/storybook/assets/km-0ec62c82.js b/docs/storybook/assets/km-0ec62c82.js deleted file mode 100644 index f6b2eb6..0000000 --- a/docs/storybook/assets/km-0ec62c82.js +++ /dev/null @@ -1 +0,0 @@ -const M="km",S={AF:"អាហ្វហ្គានីស្ថាន",AL:"អាល់បានី",DZ:"អាល់ហ្សេរី",AS:"សាម័រអាមេរិក",AD:"អង់ដូរ៉ា",AO:"អង់ហ្គោឡា",AI:"អង់ហ្គីឡា",AQ:"អង់តាក់ទិក",AG:"អង់ទីហ្គានិងបាប៊ូដា",AR:"អាហ្សង់ទីន",AM:"អាមេនី",AW:"អារូបា",AU:"អូស្ត្រាលី",AT:"អូទ្រីស",AZ:"អាស៊ែបៃហ្សង់",BS:"បាហាម៉ា",BH:"បារ៉ែន",BD:"បង់ក្លាដែស",BB:"បាបាដុស",BY:"បេឡារុស",BE:"បែលហ្ស៊ីក",BZ:"បេលី",BJ:"បេណាំង",BM:"ប៊ែម៉ូដ",BT:"ប៊ូតង់",BO:"បូលីវី",BA:"បូស្នុីនិងហឺហ្សេហ្គូវីណា",BW:"បុតស្វាណា",BV:"កោះប៊ូវ៉េ",BR:"ប្រេស៊ីល",IO:"ដែនសមុទ្រ​ឥណ្ឌាអង់គ្លេស",BN:"ព្រុយណេ",BG:"ប៊ុលហ្គារី",BF:"បួគីណាហ្វាសូ​​",BI:"ប៊ូរុនឌី",KH:"កម្ពុជា",CM:"កាមេរូន",CA:"កាណាដា",CV:"កាប់វែរ",KY:"ប្រជុំកោះកេមេន",CF:"សាធារណរដ្ឋអាហ្វ្រីកកណ្ដាល​",TD:"ឆាដ",CL:"ស៊ីលី",CN:"ចិន",CX:"កោះគ្រីស្តម៉ាស់",CC:"ប្រជុំកោះកូកូ",CO:"កូឡុំប៊ី",KM:"កូម័រ",CG:"កុងហ្គោ",CD:"សាធារណរដ្ឋប្រជាធិបតេយ្យកុងហ្គោ",CK:"ប្រជុំកោះឃុក",CR:"កូស្តារីកា",CI:"កូតឌីវ៍រ",HR:"ក្រូអាស៊ី",CU:"គុយបា",CY:"ស៊ីប",CZ:"សាធារណរដ្ឋឆែក",DK:"ដាណឹម៉ាក",DJ:"ជីប៊ូទី",DM:"ដូមីនីក",DO:"សាធារណរដ្ឋដូមីនីក",EC:"អេក្វាទ័រ",EG:"អេហ្ស៊ីប",SV:"អែលសាល់វ៉ាឌ័រ",GQ:"ហ្គីណេអេក្វាទ័រ",ER:"អេរីត្រេ",EE:"អេស្តូនី",ET:"អេត្យូពី",FK:"ប្រជុំកោះម៉ាលូអុីន",FO:"ប្រជុំកោះហ្វារ៉ូ",FJ:"ហ្វុីជី",FI:"ហ្វាំងឡង់",FR:"បារាំង",GF:"ហ្គាយ៉ានបារាំង",PF:"ប៉ូលីណេស៊ីបារាំង",TF:"ប្រជុំដែនដីភាគខាងត្បូងបារាំង",GA:"ហ្គាបុង",GM:"ហ្គំប៊ី",GE:"ហ្សកហ្ស៊ី",DE:"អាល្លឺម៉ង់",GH:"ហ្គាណា",GI:"ហ្ស៊ីប្រាល់តា",GR:"ក្រិក",GL:"ហ្គ្រោអង់ឡង់",GD:"ហ្គ្រើណាដ",GP:"ហ្គួដាលូប",GU:"ហ្គាំ",GT:"ក្វាតេម៉ាឡា",GN:"ហ្គីណេ",GW:"ហ្គីណេប៊ីស្សូ",GY:"ហ្គីយ៉ាន",HT:"ហៃទី",HM:"ប្រជុំកោះហើរ៍ដនិងម៉ាកដូណាល់",VA:"បុរីវ៉ាទីកង់",HN:"ហុងឌូរ៉ាស",HK:"ហុងកុង",HU:"ហុងគ្រី",IS:"អុីស្លង់",IN:"ឥណ្ឌា",ID:"ឥណ្ឌូណេស៊ី",IR:"អុីរ៉ង់",IQ:"អុីរ៉ាក់",IE:"អៀរឡង់",IL:"អុីស្រាអែល",IT:"អុីតាលី",JM:"ហ្សាម៉ាអុីក",JP:"ជប៉ុន",JO:"ហ៊្សកដានី",KZ:"កាហ្សាក់ស្ថាន",KE:"កេនយ៉ា",KI:"គីរីបាទី",KP:["កូរ៉េខាងជើង","សាធារណរដ្ឋប្រជាធិបតេយ្យប្រជាមានិតកូរ៉េ"],KR:["កូរ៉េខាងត្បូង","សាធារណរដ្ឋកូរ៉េ"],KW:"កូវ៉ែត",KG:"កៀហ្ស៊ីស៊ីស្ថាន",LA:"សាធារណរដ្ឋប្រជាធិបតេយ្យប្រជាមានិតឡាវ",LV:"ឡេតូនី",LB:"លីបង់",LS:"ឡេសូតូ",LR:"លីបេរីយ៉ា",LY:"លីប៊ី",LI:"លិចតិនស្តាញ",LT:"លីទុយអានី",LU:"លុចសំបួ",MO:"ម៉ាកាវ",MG:"ម៉ាដាហ្គាស្កា",MW:"ម៉ាឡាវី",MY:"ម៉ាឡេស៊ី",MV:"ម៉ាល់ឌីវ",ML:"ម៉ាលី",MT:"ម៉ាល់ត៍",MH:"ប្រជុំកោះម៉ាស្សាល់",MQ:"ម៉ាទីនីក",MR:"ម៉ូរីតានី",MU:"ម៉ូរីស",YT:"ម៉ាយ៉ូត",MX:"មុិកស៊ិក",FM:"រដ្ឋសហព័ន្ធមីក្រូណេស៊ី",MD:"សាធារណរដ្ឋម៉ុលដាវី",MC:"ម៉ូណាកូ",MN:"ម៉ុងហ្គោលី",MS:"ម៉ុងស៊ែរ៉ា",MA:"ម៉ារ៉ុក",MZ:"ម៉ូសំប៊ិក",MM:["ភូមា","មីយ៉ានម៉ា"],NA:"ណាមីប៊ី",NR:"ណូរូ",NP:"នេប៉ាល់",NL:"ហូឡង់",NC:"នូវែលកាឡេដូនី",NZ:"នូវែលសេឡង់",NI:"នីការ៉ាហ្គា",NE:"នីហ្សេ",NG:"នីហ្សេរីយ៉ា",NU:"នីអេ",NF:"កោះន័រហ្វុក",MK:"សាធារណរដ្ឋម៉ាសេដ្វានខាងជើង",MP:"ប្រជុំកោះម៉ារីយ៉ានខាងជើង",NO:"ន័រវែស",OM:"អូម៉ង់",PK:"បាគីស្ថាន",PW:"ប៉ាឡៅ",PS:"ដែនដីប៉ាឡេស្ទីន",PA:"ប៉ាណាម៉ា",PG:"ប៉ាពូអាស៊ីនូវែលហ្គីណេ",PY:"ប៉ារ៉ាហ្គាយ",PE:"ប៉េរូ",PH:"ហ្វីលីពីន",PN:"ពីតកែរ៍ន",PL:"ប៉ូឡូញ",PT:"ព័រទុយហ្គាល់",PR:"ព័រតូរីកូ",QA:"កាតា",RE:"រ៉េញ៊ូញ៊ុង",RO:"រូម៉ានី",RU:["សហព័ន្ធរុស្ស៊ី","រុស្ស៊ី"],RW:"រវ៉ាន់ដា",SH:"សាំងតេលែន",KN:"សាំងគ្រីស្តុបនិងនីវែស",LC:"សាំងលូស៊ី",PM:"សាំងព្រែរ៍និងមីហ្គែឡុង",VC:"សាំងវ៉ាងស្សង់និងហ្គឺណាឌីន",WS:"សាម័រ",SM:"សាំងម៉ារ៊ាំង",ST:"សៅតូម៉េនិងប្រាំងស៊ីប",SA:"អារ៉ាប៊ីសាអូឌីត",SN:"សេណេហ្គាល់",SC:"សីស្ហែល",SL:"សៀរ៉ាឡេអូន",SG:"សិង្ហបុរី",SK:["សាធារណរដ្ឋស្លូវ៉ាគី","ស្លូវ៉ាគី"],SI:"ស្លូវេនី",SB:"ប្រជុំកោះសាឡូម៉ុង",SO:"សូម៉ាលី",ZA:"អាហ្វ្រិកខាងត្បូង",GS:"ហ្សកហ្ស៊ីនិងប្រជុំកោះសាំងវុីចខាងត្បូង",ES:"អេស្ប៉ាញ",LK:"ស្រីលង្កា",SD:"ស៊ូដង់",SR:"សូរីណាម",SJ:"ស្វាល់ប៉ានិងកោះហ្សង់ម៉ាយ៉េន",SZ:"អ៊ែស្វាទីនី",SE:"ស៊ុយអែត",CH:"ស្វ៊ីស",SY:"សាធារណរដ្ឋស៊ីរី",TW:"តៃវ៉ាន់",TJ:"តាហ្ស៊ីគីស្ថាន",TZ:"តង់សានី",TH:"ថៃ",TL:"ទីម័រខាងកើត",TG:"តូហ្គោ",TK:"តូកេឡូ",TO:"តុងហ្គា",TT:"ទ្រីនីដាដនិងតូបាហ្គោ",TN:"ទុយនីស៊ី",TR:"តួកគី",TM:"តួកម៉េនីស្ថាន",TC:"ប្រជុំកោះទួកនិងកៃកេ",TV:"ទូវ៉ាលូ",UG:"អ៊ូហ្គង់ដា",UA:"អ៊ុយក្រែន",AE:"អេមីរ៉ាតអារ៉ាប់រួម",GB:"ចក្រភពអង់គ្លេស",US:"សហរដ្ឋអាមេរិក",UM:"ប្រជុំកោះមីន័រអេឡួញ៉េអាមេរិក",UY:"អ៊ុយរូហ្គាយ",UZ:"អ៊ូសបេគីស្ថាន",VU:"វ៉ានូទូ",VE:"វ៉េណេស៊ុយអេឡា",VN:"វៀតណាម",VG:"ប្រជុំកោះវីអ៊ែអង់គ្លេស",VI:"ប្រជុំកោះវីអ៊ែអាមេរិក",WF:"វ៉ាលីសនិងហ្វូតូណា",EH:"សាហារ៉ាខាងលិច",YE:"យេម៉ែន",ZM:"សំប៊ី",ZW:"ស៊ីមបាវ៉េ",AX:"ប្រជុំកោះអូឡង់",BQ:"បូនែរ៍ សាំងអឺស្ទាហ្សឺស និងសាបា",CW:"គុរ៉ាសៅ",GG:"ហ្គេនស៊ី",IM:"កោះម៉ាន",JE:"ហ្សែរ៍ស្ស៊ី",ME:"ម៉ុងតេណេហ្គ្រោ",BL:"សាំងប៉ាតេឡាមុី",MF:"សាំងម៉ាតាំង (បារាំង)",RS:"ស៊ែប៊ី",SX:"សាំងម៉ាតាំង (ហូឡង់)",SS:"ស៊ូដង់ខាងត្បូង",XK:"កូសូវ៉ូ"},G={locale:M,countries:S};export{S as countries,G as default,M as locale}; diff --git a/docs/storybook/assets/ko-d286d990.js b/docs/storybook/assets/ko-d286d990.js deleted file mode 100644 index 575d5db..0000000 --- a/docs/storybook/assets/ko-d286d990.js +++ /dev/null @@ -1 +0,0 @@ -const M="ko",S={AF:"아프가니스탄",AL:"알바니아",DZ:"알제리",AS:"아메리칸 사모아",AD:"안도라",AO:"앙골라",AI:"앙길라",AQ:"안타티카",AG:"안티구아 바부다",AR:"아르헨티나",AM:"아르메니아",AW:"아루바",AU:"호주",AT:"오스트리아",AZ:"아제르바이잔",BS:"바하마",BH:"바레인",BD:"방글라데시",BB:"바베이도스",BY:"벨라루스",BE:"벨기에",BZ:"벨리즈",BJ:"베냉",BM:"버뮤다",BT:"부탄",BO:"볼리비아",BA:"보스니아 헤르체고비나",BW:"보츠와나",BV:"부베섬",BR:"브라질",IO:"영인도 제도",BN:"브루나이",BG:"불가리아",BF:"부르키나파소",BI:"부룬디",KH:"캄보디아",CM:"카메룬",CA:"캐나다",CV:"카보 베르데",KY:"케이맨섬",CF:"중앙 아프리카",TD:"차드",CL:"칠레",CN:"중국",CX:"크리스마스섬",CC:"코코스 제도",CO:"콜롬비아",KM:"코모로",CG:"콩고",CD:"콩고 민주 공화국",CK:"쿡 제도",CR:"코스타리카",CI:"코트디부아르",HR:"크로아티아",CU:"쿠바",CY:"사이프러스",CZ:"체코공화국",DK:"덴마크",DJ:"지부티",DM:"도미니카 연방",DO:"도미니카 공화국",EC:"에콰도르",EG:"이집트",SV:"엘살바도르",GQ:"적도 기니",ER:"에리트레아",EE:"에스토니아",ET:"이디오피아",FK:"포클랜드섬",FO:"페로 군도",FJ:"피지",FI:"핀란드",FR:"프랑스",GF:"프랑스령 기아나",PF:"프랑스령 폴리네시아",TF:"프랑스 남부영토",GA:"가봉",GM:"감비아",GE:"그루지아",DE:"독일",GH:"가나",GI:"지브랄타",GR:"그리스",GL:"그린랜드",GD:"그레나다",GP:"과들루프",GU:"괌",GT:"과테말라",GN:"기니",GW:"기네비쏘",GY:"가이아나",HT:"아이티",HM:"허드 맥도날드 군도",VA:"바티칸",HN:"온두라스",HK:"홍콩",HU:"헝가리",IS:"아이슬란드",IN:"인도",ID:"인도네시아",IR:"이란",IQ:"이라크",IE:"아일랜드",IL:"이스라엘",IT:"이탈리아",JM:"자메이카",JP:"일본",JO:"요르단",KZ:"카자흐스탄",KE:"케냐",KI:"키르바시",KP:"북한",KR:"대한민국",KW:"쿠웨이트",KG:"키르키즈스탄",LA:"라오스",LV:"라트비아",LB:"레바논",LS:"레소토",LR:"라이베리아",LY:"리비아",LI:"리히텐슈타인",LT:"리투아니아",LU:"룩셈부르크",MO:"마카오",MG:"마다가스카르",MW:"말라위",MY:"말레이시아",MV:"몰디브",ML:"말리",MT:"몰타",MH:"마샬군도",MQ:"마르티니크",MR:"모리타니",MU:"모리셔스",YT:"마요트",MX:"멕시코",FM:"미크로네시아",MD:"몰도바",MC:"모나코",MN:"몽골",MS:"몬트세라트",MA:"모로코",MZ:"모잠비크",MM:"미얀마",NA:"나미비아",NR:"나우루",NP:"네팔",NL:"네덜란드",NC:"뉴칼레도니아",NZ:"뉴질랜드",NI:"니카라과",NE:"니제르",NG:"나이지리아",NU:"니우에",NF:"노퍽섬",MK:"마케도니아",MP:"북마리아나 군도",NO:"노르웨이",OM:"오만",PK:"파키스탄",PW:"팔라우",PS:"팔레스타인",PA:"파나마",PG:"파푸아 뉴기니",PY:"파라과이",PE:"페루",PH:"필리핀",PN:"핏케언 군도",PL:"폴랜드",PT:"포르투칼",PR:"푸에르토리코",QA:"카타르",RE:"리유니온",RO:"루마니아",RU:"러시아연방",RW:"르완다",SH:"세인트 헬레나",KN:"세인트 키츠 네비스",LC:"세인트 루시아",PM:"세인트리에르도,미괘론도",VC:"세인트 빈센트 그레나딘",WS:"사모아",SM:"산 마리노",ST:"상토메프린시페",SA:"사우디아라비아",SN:"세네갈",SC:"세이셸",SL:"시에라 리온",SG:"싱가포르",SK:"슬로바키아",SI:"슬로베니아",SB:"솔로몬 아일랜드",SO:"소말리아",ZA:"남아프리카",GS:"남조지아 군도",ES:"스페인",LK:"스리랑카",SD:"수단",SR:"수리남",SJ:"스발바드, 잠마엔도",SZ:"스와질란드",SE:"스웨덴",CH:"스위스",SY:"시리아",TW:"중화민국",TJ:"타지키스탄",TZ:"탄자니아",TH:"태국",TL:"동티모르",TG:"토고",TK:"토켈로",TO:"통가",TT:"트리니다드 토바고",TN:"튀니지아",TR:"터키",TM:"트르크메니스탄",TC:"터크스",TV:"트발루",UG:"우간다",UA:"우크라이나",AE:"아랍에미리트연합",GB:"영국",US:"미국",UM:"미국령 소군도",UY:"우루과이",UZ:"우즈베키스탄",VU:"바누아투",VE:"베네수엘라",VN:"베트남",VG:"영국령 버진아일랜드",VI:"미국령 버진아일랜드",WF:"월리스 후트나",EH:"서사하라",YE:"예멘",ZM:"잠비아",ZW:"짐바브웨 공화국",AX:"올란드 제도",BQ:"보네르,신트유스타티우스,사바",CW:"큐라소",GG:"건지",IM:"맨섬",JE:"저지",ME:"몬테네그로",BL:"생 바르 텔레 미",MF:"세인트 마틴 (프랑스어 부분)",RS:"세르비아",SX:"신트마르텐",SS:"남수단",XK:"코소보"},G={locale:M,countries:S};export{S as countries,G as default,M as locale}; diff --git a/docs/storybook/assets/ku-8e19f006.js b/docs/storybook/assets/ku-8e19f006.js deleted file mode 100644 index e74ee58..0000000 --- a/docs/storybook/assets/ku-8e19f006.js +++ /dev/null @@ -1 +0,0 @@ -const a="ku",n={AF:"Efxanistan",AL:"Albanya",DZ:"Cezayir",AS:"Samoaya Amerîkanî",AD:"Andorra",AO:"Angola",AI:"Anguîla",AQ:"Antarktîka",AG:"Antîgua û Berbûda",AR:"Arjentîn",AM:"Ermenistan",AW:"Arûba",AU:"Awistralya",AT:"Awistirya",AZ:"Azerbaycan",BS:"Bahama",BH:"Behreyn",BD:"Bangladeş",BB:"Barbados",BY:"Belarûs",BE:"Belçîka",BZ:"Belîze",BJ:"Bênîn",BM:"Bermûda",BT:"Bûtan",BO:"Bolîvya",BA:"Bosniya û Herzegovîna",BW:"Botswana",BV:"Girava Bouvet",BR:"Brazîl",IO:"Erdê Okyanûsa Hindî ya Brîtanî",BN:"Brûney",BG:"Bulgaristan",BF:"Burkîna Faso",BI:"Burundî",KH:"Kamboca",CM:"Kamerûn",CA:"Kanada",CV:"Kap Verde",KY:"Giravên Kaymanê",CF:"Komara Afrîkaya Navend",TD:"Çad",CL:"Şîle",CN:"Çîn",CX:"Girava Sersalê",CC:"Giravên Cocos (Keeling)",CO:"Kolombiya",KM:"Komor",CG:"Kongo - Brazzaville",CD:"Kongo - Kînşasa",CK:"Giravên Cook",CR:"Kosta Rîka",CI:"Peravê Diranfîl",HR:"Kroatya",CU:"Kûba",CY:"Kîpros",CZ:"Çekya",DK:"Danîmarka",DJ:"Cîbûtî",DM:"Domînîka",DO:"Komara Domînîk",EC:"Ekuador",EG:"Misir",SV:"El Salvador",GQ:"Gîneya Rojbendî",ER:"Erîtrea",EE:"Estonya",ET:"Etiyopya",FK:"Giravên Malvîn",FO:"Giravên Feroe",FJ:"Fîjî",FI:"Fînlenda",FR:"Fransa",GF:"Guyanaya Fransî",PF:"Polînezyaya Fransî",TF:"Erdên Başûr ên Fransî",GA:"Gabon",GM:"Gambiya",GE:"Gurcistan",DE:"Almanya",GH:"Gana",GI:"Cîbraltar",GR:"Yewnanistan",GL:"Grînlenda",GD:"Grenada",GP:"Guadeloupe",GU:"Guam",GT:"Guatemala",GN:"Gîne",GW:"Gîne-Bissau",GY:"Guyana",HT:"Haîtî",HM:"Girava Heard û Giravên McDonald",VA:"Vatîkan",HN:"Hondûras",HK:"Hong Kong",HU:"Macaristan",IS:"Îslenda",IN:"Hindistan",ID:"Îndonezya",IR:"Îran",IQ:"Iraq",IE:"Îrlenda",IL:"Îsraêl",IT:"Îtalya",JM:"Jamaîka",JP:"Japon",JO:"Urdun",KZ:"Qazaxistan",KE:"Kenya",KI:"Kirîbatî",KP:"Korêya Bakur",KR:"Korêya Başûr",KW:"Kuweyt",KG:"Qirgizistan",LA:"Laos",LV:"Letonya",LB:"Libnan",LS:"Lesoto",LR:"Lîberya",LY:"Lîbya",LI:"Liechtenstein",LT:"Lîtvanya",LU:"Lûksembûrg",MO:"Macao",MG:"Madagaskar",MW:"Malawî",MY:"Malezya",MV:"Maldîv",ML:"Malî",MT:"Malta",MH:"Giravên Marşal",MQ:"Martinique",MR:"Morîtanya",MU:"Maurîtius",YT:"Mayotte",MX:"Meksîk",FM:"Mîkronezya",MD:"Moldova",MC:"Monako",MN:"Mongolya",MS:"Montserat",MA:"Maroko",MZ:"Mozambîk",MM:"Myanmar (Birmanya)",NA:"Namîbya",NR:"Naûrû",NP:"Nepal",NL:"Holenda",NC:"Kaledonyaya Nû",NZ:"Nû Zelenda",NI:"Nîkaragua",NE:"Nîjer",NG:"Nîjerya",NU:"Niûe",NF:"Girava Norfolk",MK:"Makedonya",MP:"Giravên Bakurê Marianan",NO:"Norwêc",OM:"Oman",PK:"Pakistan",PW:"Palau",PS:"Xakên filistînî",PA:"Panama",PG:"Papua Gîneya Nû",PY:"Paraguay",PE:"Perû",PH:"Filîpîn",PN:"Giravên Pitcairn",PL:"Polonya",PT:"Portûgal",PR:"Porto Rîko",QA:"Qeter",RE:"Réunion",RO:"Romanya",RU:"Rûsya",RW:"Rwanda",SH:"Ezîze Helena",KN:"Saint Kitts û Nevîs",LC:"Saint Lucia",PM:"Saint-Pierre û Miquelon",VC:"Saint Vincent û Giravên Grenadîn",WS:"Samoa",SM:"San Marîno",ST:"Sao Tome û Prînsîpe",SA:"Erebistana Siyûdî",SN:"Senegal",SC:"Seyşel",SL:"Sierra Leone",SG:"Singapûr",SK:"Slovakya",SI:"Slovenya",SB:"Giravên Salomon",SO:"Somalya",ZA:"Afrîkaya Başûr",GS:"South Georgia û Giravên Sandwich-a Başûr",ES:"Spanya",LK:"Srî Lanka",SD:"Sûdan",SR:"Sûrînam",SJ:"Svalbard û Jan Mayen",SZ:"Swazîlenda",SE:"Swêd",CH:"Swîsre",SY:"Sûrî",TW:"Taywan",TJ:"Tacîkistan",TZ:"Tanzanya",TH:"Taylenda",TL:"Tîmora-Leste",TG:"Togo",TK:"Tokelau",TO:"Tonga",TT:"Trînîdad û Tobago",TN:"Tûnis",TR:"Tirkiye",TM:"Tirkmenistan",TC:"Giravên Turk û Kaîkos",TV:"Tûvalû",UG:"Ûganda",UA:"Ûkrayna",AE:"Emîrtiyên Erebî yên Yekbûyî",GB:"Keyaniya Yekbûyî",US:"Dewletên Yekbûyî yên Amerîkayê",UM:"Giravên Derveyî Piçûk ên Dewletên Yekbûyî",UY:"Ûrûguay",UZ:"Ûzbêkistan",VU:"Vanûatû",VE:"Venezuela",VN:"Vîetnam",VG:"Giravên Virgin, Brîtanî",VI:"Giravên Virgin, U.S.",WF:"Wallis û Futuna",EH:"Sahraya Rojava",YE:"Yemen",ZM:"Zambiya",ZW:"Zîmbabwe",AX:"Giravên Åland",BQ:"Bonaire, Sint Eustatius û Saba",CW:"Curaçao",GG:"Guernsey",IM:"Girava Man",JE:"Jersey",ME:"Montenegro",BL:"Saint-Barthélemy",MF:"Saint Martin (beşa fransî)",RS:"Serbistan",SX:"Sint Maarten (Beşa Hollandî)",SS:"Sûdana Başûr",XK:"Kosova"},r={locale:a,countries:n};export{n as countries,r as default,a as locale}; diff --git a/docs/storybook/assets/ky-daae5e90.js b/docs/storybook/assets/ky-daae5e90.js deleted file mode 100644 index 361f938..0000000 --- a/docs/storybook/assets/ky-daae5e90.js +++ /dev/null @@ -1 +0,0 @@ -const M="ky",S={AD:"Андорра",AE:"Бириккен Араб Эмираттары",AF:"Афганистан",AG:"Антигуа жана Барбуда",AI:"Ангуила",AL:"Албания",AM:"Армения",AO:"Ангола",AQ:"Антарктика",AR:"Аргентина",AS:"Америка Самоасы",AT:"Австрия",AU:"Австралия",AW:"Аруба",AX:"Аланд аралдары",AZ:"Азербайжан",BA:"Босния жана Герцеговина",BB:"Барбадос",BD:"Бангладеш",BE:"Бельгия",BF:"Буркина-Фасо",BG:"Болгария",BH:"Бахрейн",BI:"Бурунди",BJ:"Бенин",BL:"Сент Бартелеми",BM:"Бермуд аралдары",BN:"Бруней",BO:"Боливия",BQ:"Кариб Нидерланддары",BR:"Бразилия",BS:"Багам аралдары",BT:"Бутан",BV:"Буве аралдары",BW:"Ботсвана",BY:"Беларусь",BZ:"Белиз",CA:"Канада",CC:"Кокос (Килиӊ) аралдары",CD:"Конго-Киншаса",CF:"Борбордук Африка Республикасы",CG:"Конго-Браззавил",CH:"Швейцария",CI:"Кот-д’Ивуар",CK:"Кук аралдары",CL:"Чили",CM:"Камерун",CN:"Кытай",CO:"Колумбия",CR:"Коста-Рика",CU:"Куба",CV:"Капе Верде",CW:"Кюрасао",CX:"Крисмас аралы",CY:"Кипр",CZ:"Чехия",DE:"Германия",DJ:"Джибути",DK:"Дания",DM:"Доминика",DO:"Доминика Республикасы",DZ:"Алжир",EC:"Эквадор",EE:"Эстония",EG:"Египет",EH:"Батыш Сахара",ER:"Эритрея",ES:"Испания",ET:"Эфиопия",FI:"Финляндия",FJ:"Фиджи",FK:"Фолклэнд аралдары",FM:"Микронезия",FO:"Фарер аралдары",FR:"Франция",GA:"Габон",GB:"Улуу Британия",GD:"Гренада",GE:"Грузия",GF:"Гвиана (Франция)",GG:"Гернси",GH:"Гана",GI:"Гибралтар",GL:"Гренландия",GM:"Гамбия",GN:"Гвинея",GP:"Гваделупа",GQ:"Экваториалдык Гвинея",GR:"Греция",GS:"Түштүк Жоржия жана Түштүк Сэндвич аралдары",GT:"Гватемала",GU:"Гуам",GW:"Гвинея-Бисау",GY:"Гайана",HK:"Гонконг Кытай ААА",HM:"Херд жана Макдоналд аралдары",HN:"Гондурас",HR:"Хорватия",HT:"Гаити",HU:"Венгрия",ID:"Индонезия",IE:"Ирландия",IL:"Израиль",IM:"Мэн аралы",IN:"Индия",IO:"Британиянын Индия океанындагы аймагы",IQ:"Ирак",IR:"Иран",IS:"Исландия",IT:"Италия",JE:"Жерси",JM:"Ямайка",JO:"Иордания",JP:"Япония",KE:"Кения",KG:"Кыргызстан",KH:"Камбоджа",KI:"Кирибати",KM:"Коморос",KN:"Сент-Китс жана Невис",KP:"Түндүк Корея",KR:"Түштүк Корея",KW:"Кувейт",KY:"Кайман Аралдары",KZ:"Казакстан",LA:"Лаос",LB:"Ливан",LC:"Сент-Люсия",LI:"Лихтенштейн",LK:"Шри-Ланка",LR:"Либерия",LS:"Лесото",LT:"Литва",LU:"Люксембург",LV:"Латвия",LY:"Ливия",MA:"Марокко",MC:"Монако",MD:"Молдова",ME:"Черногория",MF:"Сент-Мартин",MG:"Мадагаскар",MH:"Маршалл аралдары",MK:"Түндүк Македония",ML:"Мали",MM:"Мьянма (Бирма)",MN:"Монголия",MO:"Макау Кытай ААА",MP:"Түндүк Мариана аралдары",MQ:"Мартиника",MR:"Мавритания",MS:"Монсеррат",MT:"Мальта",MU:"Маврикий",MV:"Малдив аралдары",MW:"Малави",MX:"Мексика",MY:"Малайзия",MZ:"Мозамбик",NA:"Намибия",NC:"Жаӊы Каледония",NE:"Нигер",NF:"Норфолк аралы",NG:"Нигерия",NI:"Никарагуа",NL:"Нидерланддар",NO:"Норвегия",NP:"Непал",NR:"Науру",NU:"Ниуэ",NZ:"Жаӊы Зеландия",OM:"Оман",PA:"Панама",PE:"Перу",PF:"Француз Полинезиясы",PG:"Папуа Жаңы-Гвинея",PH:"Филлипин",PK:"Пакистан",PL:"Польша",PM:"Сен-Пьер жана Микелон",PN:"Питкэрн аралдары",PR:"Пуэрто-Рико",PS:"Палестина аймактары",PT:"Португалия",PW:"Палау",PY:"Парагвай",QA:"Катар",RE:"Реюнион",RO:"Румыния",RS:"Сербия",RU:"Россия",RW:"Руанда",SA:"Сауд Арабиясы",SB:"Соломон аралдары",SC:"Сейшелдер",SD:"Судан",SE:"Швеция",SG:"Сингапур",SH:"Ыйык Елена",SI:"Словения",SJ:"Свалбард жана Жан Майен",SK:"Словакия",SL:"Сьерра-Леоне",SM:"Сан Марино",SN:"Сенегал",SO:"Сомали",SR:"Суринаме",SS:"Түштүк Судан",ST:"Сан-Томе жана Принсипи",SV:"Эл Салвадор",SX:"Синт Маартен",SY:"Сирия",SZ:"Свазиленд",TC:"Түркс жана Кайкос аралдары",TD:"Чад",TF:"Франциянын Түштүктөгү аймактары",TG:"Того",TH:"Таиланд",TJ:"Тажикстан",TK:"Токелау",TL:"Тимор-Лесте",TM:"Түркмөнстан",TN:"Тунис",TO:"Тонга",TR:"Түркия",TT:"Тринидад жана Тобаго",TV:"Тувалу",TW:"Тайвань",TZ:"Танзания",UA:"Украина",UG:"Уганда",UM:"АКШнын сырткы аралдары",US:"Америка Кошмо Штаттары",UY:"Уругвай",UZ:"Өзбекстан",VA:"Ватикан",VC:"Сент-Винсент жана Гренадиналар",VE:"Венесуэла",VG:"Виргин аралдары (Британия)",VI:"Виргин аралдары (АКШ)",VN:"Вьетнам",VU:"Вануату",WF:"Уоллис жана Футуна",WS:"Самоа",XK:"Косово",YE:"Йемен",YT:"Майотта",ZA:"Түштүк Африка Республикасы",ZM:"Замбия",ZW:"Зимбабве"},G={locale:M,countries:S};export{S as countries,G as default,M as locale}; diff --git a/docs/storybook/assets/lt-e40af15a.js b/docs/storybook/assets/lt-e40af15a.js deleted file mode 100644 index d45d63a..0000000 --- a/docs/storybook/assets/lt-e40af15a.js +++ /dev/null @@ -1 +0,0 @@ -const a="lt",i={AD:"Andora",AE:"Jungtiniai Arabų Emyratai",AF:"Afganistanas",AG:"Antigva ir Barbuda",AI:"Angilija",AL:"Albanija",AM:"Armėnija",AO:"Angola",AQ:"Antarktida",AR:"Argentina",AS:"Amerikos Samoa",AT:"Austrija",AU:"Australija",AW:"Aruba",AX:"Alandų Salos",AZ:"Azerbaidžanas",BA:"Bosnija ir Hercegovina",BB:"Barbadosas",BD:"Bangladešas",BE:"Belgija",BF:"Burkina Fasas",BG:"Bulgarija",BH:"Bahreinas",BI:"Burundis",BJ:"Beninas",BL:"Sen Bartelemi",BM:"Bermuda",BN:"Brunėjus",BO:"Bolivija",BQ:"Karibų Nyderlandai",BR:"Brazilija",BS:"Bahamos",BT:"Butanas",BV:"Buvė Sala",BW:"Botsvana",BY:"Baltarusija",BZ:"Belizas",CA:"Kanada",CC:"Kokosų (Kilingo) Salos",CD:"Kongas-Kinšasa",CF:"Centrinės Afrikos Respublika",CG:"Kongas-Brazavilis",CH:"Šveicarija",CI:"Dramblio Kaulo Krantas",CK:"Kuko Salos",CL:"Čilė",CM:"Kamerūnas",CN:"Kinija",CO:"Kolumbija",CR:"Kosta Rika",CU:"Kuba",CV:"Žaliasis Kyšulys",CW:"Kiurasao",CX:"Kalėdų Sala",CY:"Kipras",CZ:"Čekija",DE:"Vokietija",DJ:"Džibutis",DK:"Danija",DM:"Dominika",DO:"Dominikos Respublika",DZ:"Alžyras",EC:"Ekvadoras",EE:"Estija",EG:"Egiptas",EH:"Vakarų Sachara",ER:"Eritrėja",ES:"Ispanija",ET:"Etiopija",FI:"Suomija",FJ:"Fidžis",FK:"Folklando Salos",FM:"Mikronezija",FO:"Farerų Salos",FR:"Prancūzija",GA:"Gabonas",GB:"Jungtinė Karalystė",GD:"Grenada",GE:["Sakartvelas","Gruzija"],GF:"Prancūzijos Gviana",GG:"Gernsis",GH:"Gana",GI:"Gibraltaras",GL:"Grenlandija",GM:"Gambija",GN:"Gvinėja",GP:"Gvadelupa",GQ:"Pusiaujo Gvinėja",GR:"Graikija",GS:"Pietų Džordžija ir Pietų Sandvičo salos",GT:"Gvatemala",GU:"Guamas",GW:"Bisau Gvinėja",GY:"Gajana",HK:"Honkongas",HM:"Herdo ir Makdonaldo Salos",HN:"Hondūras",HR:"Kroatija",HT:"Haitis",HU:"Vengrija",ID:"Indonezija",IE:"Airija",IL:"Izraelis",IM:"Meno Sala",IN:"Indija",IO:"Indijos Vandenyno Britų Sritis",IQ:"Irakas",IR:"Iranas",IS:"Islandija",IT:"Italija",JE:"Džersis",JM:"Jamaika",JO:"Jordanija",JP:"Japonija",KE:"Kenija",KG:"Kirgizija",KH:"Kambodža",KI:"Kiribatis",KM:"Komorai",KN:"Sent Kitsas ir Nevis",KP:"Šiaurės Korėja",KR:"Pietų Korėja",KW:"Kuveitas",KY:"Kaimanų Salos",KZ:"Kazachstanas",LA:"Laosas",LB:"Libanas",LC:"Sent Lusija",LI:"Lichtenšteinas",LK:"Šri Lanka",LR:"Liberija",LS:"Lesotas",LT:"Lietuva",LU:"Liuksemburgas",LV:"Latvija",LY:"Libija",MA:"Marokas",MC:"Monakas",MD:"Moldova",ME:"Juodkalnija",MF:"Sen Martenas",MG:"Madagaskaras",MH:"Maršalo Salos",MK:"Šiaurės Makedonija",ML:"Malis",MM:"Mianmaras (Birma)",MN:"Mongolija",MO:"Makao",MP:"Marianos Šiaurinės Salos",MQ:"Martinika",MR:"Mauritanija",MS:"Montseratas",MT:"Malta",MU:"Mauricijus",MV:"Maldyvai",MW:"Malavis",MX:"Meksika",MY:"Malaizija",MZ:"Mozambikas",NA:"Namibija",NC:"Naujoji Kaledonija",NE:"Nigeris",NF:"Norfolko sala",NG:"Nigerija",NI:"Nikaragva",NL:"Nyderlandai",NO:"Norvegija",NP:"Nepalas",NR:"Nauru",NU:"Niujė",NZ:"Naujoji Zelandija",OM:"Omanas",PA:"Panama",PE:"Peru",PF:"Prancūzijos Polinezija",PG:"Papua Naujoji Gvinėja",PH:"Filipinai",PK:"Pakistanas",PL:"Lenkija",PM:"Sen Pjeras ir Mikelonas",PN:"Pitkerno salos",PR:"Puerto Rikas",PS:"Palestinos teritorija",PT:"Portugalija",PW:"Palau",PY:"Paragvajus",QA:"Kataras",RE:"Reunjonas",RO:"Rumunija",RS:"Serbija",RU:"Rusija",RW:"Ruanda",SA:"Saudo Arabija",SB:"Saliamono Salos",SC:"Seišeliai",SD:"Sudanas",SE:"Švedija",SG:"Singapūras",SH:"Šv. Elenos Sala",SI:"Slovėnija",SJ:"Svalbardas ir Janas Majenas",SK:"Slovakija",SL:"Siera Leonė",SM:"San Marinas",SN:"Senegalas",SO:"Somalis",SR:"Surinamas",SS:"Pietų Sudanas",ST:"San Tomė ir Prinsipė",SV:"Salvadoras",SX:"Sint Martenas",SY:"Sirija",SZ:"Svazilandas",TC:"Terkso ir Kaikoso Salos",TD:"Čadas",TF:"Prancūzijos Pietų sritys",TG:"Togas",TH:"Tailandas",TJ:"Tadžikija",TK:"Tokelau",TL:"Rytų Timoras",TM:"Turkmėnistanas",TN:"Tunisas",TO:"Tonga",TR:"Turkija",TT:"Trinidadas ir Tobagas",TV:"Tuvalu",TW:"Taivanas",TZ:"Tanzanija",UA:"Ukraina",UG:"Uganda",UM:"Jungtinių Valstijų Mažosios Tolimosios Salos",US:"Jungtinės Valstijos",UY:"Urugvajus",UZ:"Uzbekistanas",VA:"Vatikano Miesto Valstybė",VC:"Šventasis Vincentas ir Grenadinai",VE:"Venesuela",VG:"Didžiosios Britanijos Mergelių Salos",VI:"Jungtinių Valstijų Mergelių Salos",VN:"Vietnamas",VU:"Vanuatu",WF:"Volisas ir Futūna",WS:"Samoa",XK:"Kosovas",YE:"Jemenas",YT:"Majotas",ZA:"Pietų Afrika",ZM:"Zambija",ZW:"Zimbabvė"},s={locale:a,countries:i};export{i as countries,s as default,a as locale}; diff --git a/docs/storybook/assets/lv-fd817d01.js b/docs/storybook/assets/lv-fd817d01.js deleted file mode 100644 index d6ca4f7..0000000 --- a/docs/storybook/assets/lv-fd817d01.js +++ /dev/null @@ -1 +0,0 @@ -const a="lv",i={AD:"Andora",AE:"Apvienotie Arābu Emirāti",AF:"Afganistāna",AG:"Antigva un Barbuda",AI:"Angilja",AL:"Albānija",AM:"Armēnija",AO:"Angola",AQ:"Antarktika",AR:"Argentīna",AS:"ASV Samoa",AT:"Austrija",AU:"Austrālija",AW:"Aruba",AX:"Olandes salas",AZ:"Azerbaidžāna",BA:"Bosnija un Hercegovina",BB:"Barbadosa",BD:"Bangladeša",BE:"Beļģija",BF:"Burkinafaso",BG:"Bulgārija",BH:"Bahreina",BI:"Burundija",BJ:"Benina",BL:"Senbartelmī",BM:"Bermudu salas",BN:"Bruneja",BO:"Bolīvija",BQ:"Nīderlandes Karību salas",BR:"Brazīlija",BS:"Bahamu salas",BT:"Butāna",BV:"Buvē sala",BW:"Botsvāna",BY:"Baltkrievija",BZ:"Beliza",CA:"Kanāda",CC:"Kokosu (Kīlinga) salas",CD:"Kongo (Kinšasa)",CF:"Centrālāfrikas Republika",CG:"Kongo (Brazavila)",CH:"Šveice",CI:"Kotdivuāra",CK:"Kuka salas",CL:"Čīle",CM:"Kamerūna",CN:"Ķīna",CO:"Kolumbija",CR:"Kostarika",CU:"Kuba",CV:"Kaboverde",CW:"Kirasao",CX:"Ziemsvētku sala",CY:"Kipra",CZ:"Čehija",DE:"Vācija",DJ:"Džibutija",DK:"Dānija",DM:"Dominika",DO:"Dominikāna",DZ:"Alžīrija",EC:"Ekvadora",EE:"Igaunija",EG:"Ēģipte",EH:"Rietumsahāra",ER:"Eritreja",ES:"Spānija",ET:"Etiopija",FI:"Somija",FJ:"Fidži",FK:"Folklenda salas",FM:"Mikronēzija",FO:"Fēru salas",FR:"Francija",GA:"Gabona",GB:"Lielbritānija",GD:"Grenāda",GE:"Gruzija",GF:"Francijas Gviāna",GG:"Gērnsija",GH:"Gana",GI:"Gibraltārs",GL:"Grenlande",GM:"Gambija",GN:"Gvineja",GP:"Gvadelupa",GQ:"Ekvatoriālā Gvineja",GR:"Grieķija",GS:"Dienviddžordžija un Dienvidsendviču salas",GT:"Gvatemala",GU:"Guama",GW:"Gvineja-Bisava",GY:"Gajāna",HK:"Ķīnas īpašās pārvaldes apgabals Honkonga",HM:"Hērda sala un Makdonalda salas",HN:"Hondurasa",HR:"Horvātija",HT:"Haiti",HU:"Ungārija",ID:"Indonēzija",IE:"Īrija",IL:"Izraēla",IM:"Mena",IN:"Indija",IO:"Indijas okeāna Britu teritorija",IQ:"Irāka",IR:"Irāna",IS:"Islande",IT:"Itālija",JE:"Džērsija",JM:"Jamaika",JO:"Jordānija",JP:"Japāna",KE:"Kenija",KG:"Kirgizstāna",KH:"Kambodža",KI:"Kiribati",KM:"Komoru salas",KN:"Sentkitsa un Nevisa",KP:"Ziemeļkoreja",KR:"Dienvidkoreja",KW:"Kuveita",KY:"Kaimanu salas",KZ:"Kazahstāna",LA:"Laosa",LB:"Libāna",LC:"Sentlūsija",LI:"Lihtenšteina",LK:"Šrilanka",LR:"Libērija",LS:"Lesoto",LT:"Lietuva",LU:"Luksemburga",LV:"Latvija",LY:"Lībija",MA:"Maroka",MC:"Monako",MD:"Moldova",ME:"Melnkalne",MF:"Senmartēna",MG:"Madagaskara",MH:"Māršala salas",MK:"Ziemeļmaķedonija",ML:"Mali",MM:"Mjanma (Birma)",MN:"Mongolija",MO:"Ķīnas īpašās pārvaldes apgabals Makao",MP:"Ziemeļu Marianas salas",MQ:"Martinika",MR:"Mauritānija",MS:"Montserrata",MT:"Malta",MU:"Maurīcija",MV:"Maldīvija",MW:"Malāvija",MX:"Meksika",MY:"Malaizija",MZ:"Mozambika",NA:"Namībija",NC:"Jaunkaledonija",NE:"Nigēra",NF:"Norfolkas sala",NG:"Nigērija",NI:"Nikaragva",NL:"Nīderlande",NO:"Norvēģija",NP:"Nepāla",NR:"Nauru",NU:"Niue",NZ:"Jaunzēlande",OM:"Omāna",PA:"Panama",PE:"Peru",PF:"Francijas Polinēzija",PG:"Papua-Jaungvineja",PH:"Filipīnas",PK:"Pakistāna",PL:"Polija",PM:"Senpjēra un Mikelona",PN:"Pitkērnas salas",PR:"Puertoriko",PS:"Palestīna",PT:"Portugāle",PW:"Palau",PY:"Paragvaja",QA:"Katara",RE:"Reinjona",RO:"Rumānija",RS:"Serbija",RU:"Krievija",RW:"Ruanda",SA:"Saūda Arābija",SB:"Zālamana salas",SC:"Seišelu salas",SD:"Sudāna",SE:"Zviedrija",SG:"Singapūra",SH:"Sv.Helēnas sala",SI:"Slovēnija",SJ:"Svalbāra un Jana Majena sala",SK:"Slovākija",SL:"Sjerraleone",SM:"Sanmarīno",SN:"Senegāla",SO:"Somālija",SR:"Surinama",SS:"Dienvidsudāna",ST:"Santome un Prinsipi",SV:"Salvadora",SX:"Sintmārtena",SY:"Sīrija",SZ:"Svazilenda",TC:"Tērksas un Kaikosas salas",TD:"Čada",TF:"Francijas Dienvidjūru teritorija",TG:"Togo",TH:"Taizeme",TJ:"Tadžikistāna",TK:"Tokelau",TL:"Austrumtimora",TM:"Turkmenistāna",TN:"Tunisija",TO:"Tonga",TR:"Turcija",TT:"Trinidāda un Tobāgo",TV:"Tuvalu",TW:"Taivāna",TZ:"Tanzānija",UA:"Ukraina",UG:"Uganda",UM:"ASV Mazās Aizjūras salas",US:"Amerikas Savienotās Valstis",UY:"Urugvaja",UZ:"Uzbekistāna",VA:"Vatikāns",VC:"Sentvinsenta un Grenadīnas",VE:"Venecuēla",VG:"Britu Virdžīnas",VI:"ASV Virdžīnas",VN:"Vjetnama",VU:"Vanuatu",WF:"Volisa un Futunas salas",WS:"Samoa",XK:"Kosova",YE:"Jemena",YT:"Majota",ZA:"Dienvidāfrikas Republika",ZM:"Zambija",ZW:"Zimbabve"},n={locale:a,countries:i};export{i as countries,n as default,a as locale}; diff --git a/docs/storybook/assets/mk-4bfdea7e.js b/docs/storybook/assets/mk-4bfdea7e.js deleted file mode 100644 index 31e5268..0000000 --- a/docs/storybook/assets/mk-4bfdea7e.js +++ /dev/null @@ -1 +0,0 @@ -const M="mk",S={AD:"Андора",AE:"Обединети Арапски Емирати",AF:"Авганистан",AG:"Антигва и Барбуда",AI:"Ангвила",AL:"Албанија",AM:"Ерменија",AO:"Ангола",AQ:"Антарктик",AR:"Аргентина",AS:"Американска Самоа",AT:"Австрија",AU:"Австралија",AW:"Аруба",AX:"Оландски Острови",AZ:"Азербејџан",BA:"Босна и Херцеговина",BB:"Барбадос",BD:"Бангладеш",BE:"Белгија",BF:"Буркина Фасо",BG:"Бугарија",BH:"Бахреин",BI:"Бурунди",BJ:"Бенин",BL:"Свети Вартоломеј",BM:"Бермуди",BN:"Брунеј",BO:"Боливија",BQ:"Карипска Холандија",BR:"Бразил",BS:"Бахами",BT:"Бутан",BV:"Остров Буве",BW:"Боцвана",BY:"Белорусија",BZ:"Белизе",CA:"Канада",CC:"Кокосови (Килиншки) Острови",CD:"Конго - Киншаса",CF:"Централноафриканска Република",CG:"Конго - Бразавил",CH:"Швајцарија",CI:"Брегот на Слоновата Коска",CK:"Кукови Острови",CL:"Чиле",CM:"Камерун",CN:"Кина",CO:"Колумбија",CR:"Костарика",CU:"Куба",CV:"Зелен ’Рт",CW:"Курасао",CX:"Божиќен Остров",CY:"Кипар",CZ:"Чешка",DE:"Германија",DJ:"Џибути",DK:"Данска",DM:"Доминика",DO:"Доминиканска Република",DZ:"Алжир",EC:"Еквадор",EE:"Естонија",EG:"Египет",EH:"Западна Сахара",ER:"Еритреја",ES:"Шпанија",ET:"Етиопија",FI:"Финска",FJ:"Фиџи",FK:"Фолкландски Острови",FM:"Микронезија",FO:"Фарски Острови",FR:"Франција",GA:"Габон",GB:"Обединето Кралство",GD:"Гренада",GE:"Грузија",GF:"Француска Гвајана",GG:"Гернзи",GH:"Гана",GI:"Гибралтар",GL:"Гренланд",GM:"Гамбија",GN:"Гвинеја",GP:"Гвадалупе",GQ:"Екваторска Гвинеја",GR:"Грција",GS:"Јужна Џорџија и Јужни Сендвички Острови",GT:"Гватемала",GU:"Гуам",GW:"Гвинеја-Бисау",GY:"Гвајана",HK:"Хонг Конг С.А.Р Кина",HM:"Остров Херд и Острови Мекдоналд",HN:"Хондурас",HR:"Хрватска",HT:"Хаити",HU:"Унгарија",ID:"Индонезија",IE:"Ирска",IL:"Израел",IM:"Остров Ман",IN:"Индија",IO:"Британска Индоокеанска Територија",IQ:"Ирак",IR:"Иран",IS:"Исланд",IT:"Италија",JE:"Џерси",JM:"Јамајка",JO:"Јордан",JP:"Јапонија",KE:"Кенија",KG:"Киргистан",KH:"Камбоџа",KI:"Кирибати",KM:"Коморски Острови",KN:"Свети Кристофер и Невис",KP:"Северна Кореја",KR:"Јужна Кореја",KW:"Кувајт",KY:"Кајмански Острови",KZ:"Казахстан",LA:"Лаос",LB:"Либан",LC:"Света Луција",LI:"Лихтенштајн",LK:"Шри Ланка",LR:"Либерија",LS:"Лесото",LT:"Литванија",LU:"Луксембург",LV:"Латвија",LY:"Либија",MA:"Мароко",MC:"Монако",MD:"Молдавија",ME:"Црна Гора",MF:"Сент Мартин",MG:"Мадагаскар",MH:"Маршалски Острови",MK:"Северна Македонија",ML:"Мали",MM:"Мјанмар (Бурма)",MN:"Монголија",MO:"Макао САР",MP:"Северни Маријански Острови",MQ:"Мартиник",MR:"Мавританија",MS:"Монсерат",MT:"Малта",MU:"Маврициус",MV:"Малдиви",MW:"Малави",MX:"Мексико",MY:"Малезија",MZ:"Мозамбик",NA:"Намибија",NC:"Нова Каледонија",NE:"Нигер",NF:"Норфолшки Остров",NG:"Нигерија",NI:"Никарагва",NL:"Холандија",NO:"Норвешка",NP:"Непал",NR:"Науру",NU:"Ниује",NZ:"Нов Зеланд",OM:"Оман",PA:"Панама",PE:"Перу",PF:"Француска Полинезија",PG:"Папуа Нова Гвинеја",PH:"Филипини",PK:"Пакистан",PL:"Полска",PM:"Сент Пјер и Микелан",PN:"Питкернски Острови",PR:"Порторико",PS:"Палестински територии",PT:"Португалија",PW:"Палау",PY:"Парагвај",QA:"Катар",RE:"Реунион",RO:"Романија",RS:"Србија",RU:"Русија",RW:"Руанда",SA:"Саудиска Арабија",SB:"Соломонски Острови",SC:"Сејшели",SD:"Судан",SE:"Шведска",SG:"Сингапур",SH:"Света Елена",SI:"Словенија",SJ:"Свалбард и Жан Мејен",SK:"Словачка",SL:"Сиера Леоне",SM:"Сан Марино",SN:"Сенегал",SO:"Сомалија",SR:"Суринам",SS:"Јужен Судан",ST:"Сао Томе и Принсипе",SV:"Ел Салвадор",SX:"Свети Мартин",SY:"Сирија",SZ:"Свазиленд",TC:"Острови Туркс и Каикос",TD:"Чад",TF:"Француски Јужни Територии",TG:"Того",TH:"Тајланд",TJ:"Таџикистан",TK:"Токелау",TL:"Источен Тимор (Тимор Лесте)",TM:"Туркменистан",TN:"Тунис",TO:"Тонга",TR:"Турција",TT:"Тринидад и Тобаго",TV:"Тувалу",TW:"Тајван",TZ:"Танзанија",UA:"Украина",UG:"Уганда",UM:"Американски територии во Пацификот",US:"Соединети Американски Држави",UY:"Уругвај",UZ:"Узбекистан",VA:"Ватикан",VC:"Свети Винсент и Гренадините",VE:"Венецуела",VG:"Британски Девствени Острови",VI:"Американски Девствени Острови",VN:"Виетнам",VU:"Вануату",WF:"Валис и Футуна",WS:"Самоа",XK:"Косово",YE:"Јемен",YT:"Мајот",ZA:"Јужноафриканска Република",ZM:"Замбија",ZW:"Зимбабве"},G={locale:M,countries:S};export{S as countries,G as default,M as locale}; diff --git a/docs/storybook/assets/ml-a9bf908b.js b/docs/storybook/assets/ml-a9bf908b.js deleted file mode 100644 index 16e2084..0000000 --- a/docs/storybook/assets/ml-a9bf908b.js +++ /dev/null @@ -1 +0,0 @@ -const M="ml",S={AF:"അഫ്‌ഗാനിസ്ഥാൻ",AL:"അൽബേനിയ",DZ:"അൾജീരിയ",AS:"അമേരിക്കൻ സമോവ",AD:"അന്റോറ",AO:"അംഗോള",AI:"ആൻഗ്വില്ല",AQ:"അൻറാർട്ടിക്ക",AG:"ആൻറിഗ്വയും ബർബുഡയും",AR:"അർജൻറീന",AM:"അർമേനിയ",AW:"അറൂബ",AU:"ഓസ്‌ട്രേലിയ",AT:"ഓസ്ട്രിയ",AZ:"അസർബൈജാൻ",BS:"ബഹാമാസ്",BH:"ബഹ്റിൻ",BD:"ബംഗ്ലാദേശ്",BB:"ബാർബഡോസ്",BY:"ബെലറൂസ്",BE:"ബെൽജിയം",BZ:"ബെലീസ്",BJ:"ബെനിൻ",BM:"ബർമുഡ",BT:"ഭൂട്ടാൻ",BO:"ബൊളീവിയ",BA:"ബോസ്നിയയും ഹെർസഗോവിനയും",BW:"ബോട്സ്വാന",BV:"ബൗവെട്ട് ദ്വീപ്",BR:"ബ്രസീൽ",IO:"ബ്രിട്ടീഷ് ഇന്ത്യൻ മഹാസമുദ്ര പ്രദേശം",BN:"ബ്രൂണൈ",BG:"ബൾഗേറിയ",BF:"ബുർക്കിനാ ഫാസോ",BI:"ബറുണ്ടി",KH:"കംബോഡിയ",CM:"കാമറൂൺ",CA:"കാനഡ",CV:"കേപ്പ് വെർദെ",KY:"കേമാൻ ദ്വീപുകൾ",CF:"സെൻട്രൽ ആഫ്രിക്കൻ റിപ്പബ്ലിക്",TD:"ഛാഡ്",CL:"ചിലി",CN:"ചൈന",CX:"ക്രിസ്മസ് ദ്വീപ്",CC:"കോക്കസ് ദ്വീപുകൾ",CO:"കൊളംബിയ",KM:"കോമൊറോസ്",CG:"കോംഗോ - ബ്രാസവില്ലി",CD:"കോംഗോ - കിൻഷാസ",CK:"കുക്ക് ദ്വീപുകൾ",CR:"കോസ്റ്ററിക്ക",CI:"കോട്ട് ഡി വാർ",HR:"ക്രൊയേഷ്യ",CU:"ക്യൂബ",CY:"സൈപ്രസ്",CZ:"ചെക്ക് റിപ്പബ്ലിക്",DK:"ഡെൻമാർക്ക്",DJ:"ദിജിബൗട്ടി",DM:"ഡൊമിനിക്ക",DO:"ഡൊമിനിക്കൻ റിപ്പബ്ലിക്",EC:"ഇക്വഡോർ",EG:"ഈജിപ്ത്",SV:"എൽ സാൽവദോർ",GQ:"ഇക്വറ്റോറിയൽ ഗിനിയ",ER:"എറിത്രിയ",EE:"എസ്റ്റോണിയ‍",ET:"എത്യോപ്യ",FK:"ഫാക്ക്‌ലാന്റ് ദ്വീപുകൾ",FO:"ഫറോ ദ്വീപുകൾ",FJ:"ഫിജി",FI:"ഫിൻലാൻഡ്",FR:"ഫ്രാൻസ്",GF:"ഫ്രഞ്ച് ഗയാന",PF:"ഫ്രഞ്ച് പോളിനേഷ്യ",TF:"ഫ്രഞ്ച് ദക്ഷിണ ഭൂപ്രദേശം",GA:"ഗാബൺ",GM:"ഗാംബിയ",GE:"ജോർജ്ജിയ",DE:"ജർമനി",GH:"ഘാന",GI:"ജിബ്രാൾട്ടർ",GR:"ഗ്രീസ്",GL:"ഗ്രീൻലാൻറ്",GD:"ഗ്രനേഡ",GP:"ഗ്വാഡലൂപ്പ്",GU:"ഗ്വാം",GT:"ഗ്വാട്ടിമാല",GN:"ഗിനിയ",GW:"ഗിനിയ-ബിസൗ",GY:"ഗയാന",HT:"ഹെയ്തി",HM:"ഹിയേർഡും മക്‌ഡൊണാൾഡ് ദ്വീപുകളും",VA:"വത്തിക്കാൻ",HN:"ഹോണ്ടുറാസ്",HK:"ഹോങ് കോങ് എസ്.ഏ.ആർ. ചൈന",HU:"ഹംഗറി",IS:"ഐസ്‌ലാന്റ്",IN:"ഇന്ത്യ",ID:"ഇന്തോനേഷ്യ",IR:"ഇറാൻ",IQ:"ഇറാഖ്",IE:"അയർലാൻഡ്",IL:"ഇസ്രായേൽ",IT:"ഇറ്റലി",JM:"ജമൈക്ക",JP:"ജപ്പാൻ",JO:"ജോർദ്ദാൻ",KZ:"കസാഖിസ്ഥാൻ",KE:"കെനിയ",KI:"കിരിബാട്ടി",KP:"ഉത്തരകൊറിയ",KR:"ദക്ഷിണകൊറിയ",KW:"കുവൈറ്റ്",KG:"കിർഗിസ്ഥാൻ",LA:"ലാവോസ്",LV:"ലാറ്റ്വിയ",LB:"ലെബനൻ",LS:"ലെസോതോ",LR:"ലൈബീരിയ",LY:"ലിബിയ",LI:"ലിച്ചൺസ്റ്റൈൻ",LT:"ലിത്വാനിയ",LU:"ലക്സംബർഗ്",MO:"മക്കാവോ SAR ചൈന",MG:"മഡഗാസ്കർ",MW:"മലാവി",MY:"മലേഷ്യ",MV:"മാലിദ്വീപ്",ML:"മാലി",MT:"മാൾട്ട",MH:"മാർഷൽ‍‍ ദ്വീപുകൾ",MQ:"മാർട്ടിനിക്ക്",MR:"മൗറിറ്റാനിയ",MU:"മൗറീഷ്യസ്",YT:"മയോട്ടി",MX:"മെക്സിക്കോ",FM:"മൈക്രോനേഷ്യ",MD:"മൾഡോവ",MC:"മൊണാക്കോ",MN:"മംഗോളിയ",MS:"മൊണ്ടെസരത്ത്",MA:"മൊറോക്കൊ",MZ:"മൊസാംബിക്ക്",MM:"മ്യാൻമാർ (ബർമ്മ)",NA:"നമീബിയ",NR:"നൗറു",NP:"നേപ്പാൾ",NL:"നെതർലാൻഡ്‌സ്",NC:"പുതിയ കാലിഡോണിയ",NZ:"ന്യൂസിലാൻറ്",NI:"നിക്കരാഗ്വ",NE:"നൈജർ",NG:"നൈജീരിയ",NU:"ന്യൂയി",NF:"നോർഫോക് ദ്വീപ്",MK:"മാസിഡോണിയ",MP:"ഉത്തര മറിയാനാ ദ്വീപുകൾ",NO:"നോർവെ",OM:"ഒമാൻ",PK:"പാക്കിസ്ഥാൻ",PW:"പലാവു",PS:"പാലസ്‌തീൻ പ്രദേശങ്ങൾ",PA:"പനാമ",PG:"പാപ്പുവ ന്യൂ ഗിനിയ",PY:"പരാഗ്വേ",PE:"പെറു",PH:"ഫിലിപ്പൈൻസ്",PN:"പിറ്റ്‌കെയ്‌ൻ ദ്വീപുകൾ",PL:"പോളണ്ട്",PT:"പോർച്ചുഗൽ",PR:"പ്യൂർട്ടോ റിക്കോ",QA:"ഖത്തർ",RE:"റീയൂണിയൻ",RO:"റൊമാനിയ",RU:"റഷ്യ",RW:"റുവാണ്ട",SH:"സെൻറ് ഹെലീന",KN:"സെന്റ് കിറ്റ്‌സും നെവിസും",LC:"സെൻറ് ലൂസിയ",PM:"സെന്റ് പിയറിയും മിക്കലണും",VC:"സെന്റ് വിൻസെന്റും ഗ്രനെഡൈൻസും",WS:"സമോവ",SM:"സാൻ മറിനോ",ST:"സാവോ ടോമും പ്രിൻസിപെയും",SA:"സൗദി അറേബ്യ",SN:"സെനഗൽ",SC:"സെയ്‌ഷെൽസ്",SL:"സിയെറ ലിയോൺ",SG:"സിംഗപ്പുർ",SK:"സ്ലോവാക്യ",SI:"സ്ലോവേനിയ",SB:"സോളമൻ‍ ദ്വീപുകൾ",SO:"സോമാലിയ",ZA:"ദക്ഷിണാഫ്രിക്ക",GS:"ദക്ഷിണ ജോർജ്ജിയയും ദക്ഷിണ സാൻഡ്‌വിച്ച് ദ്വീപുകളും",ES:"സ്‌പെയിൻ",LK:"ശ്രീലങ്ക",SD:"സുഡാൻ",SR:"സുരിനെയിം",SJ:"സ്വാൽബാഡും ജാൻ മായേനും",SZ:"സ്വാസിലാൻറ്",SE:"സ്വീഡൻ",CH:"സ്വിറ്റ്സർലാൻഡ്",SY:"സിറിയ",TW:"തായ്‌വാൻ",TJ:"താജിക്കിസ്ഥാൻ",TZ:"ടാൻസാനിയ",TH:"തായ്‌ലാൻഡ്",TL:"തിമോർ-ലെസ്റ്റെ",TG:"ടോഗോ",TK:"ടോക്കെലൂ",TO:"ടോംഗ",TT:"ട്രിനിഡാഡും ടുബാഗോയും",TN:"ടുണീഷ്യ",TR:"തുർക്കി",TM:"തുർക്ക്മെനിസ്ഥാൻ",TC:"ടർക്ക്‌സും കെയ്‌ക്കോ ദ്വീപുകളും",TV:"ടുവാലു",UG:"ഉഗാണ്ട",UA:"ഉക്രെയ്‌ൻ",AE:"യുണൈറ്റഡ് അറബ് എമിറൈറ്റ്‌സ്",GB:"ബ്രിട്ടൻ",US:"അമേരിക്കൻ ഐക്യനാടുകൾ",UM:"യു.എസ്. ദ്വീപസമൂഹങ്ങൾ",UY:"ഉറുഗ്വേ",UZ:"ഉസ്‌ബെക്കിസ്ഥാൻ",VU:"വന്വാതു",VE:"വെനിസ്വേല",VN:"വിയറ്റ്നാം",VG:"ബ്രിട്ടീഷ് വെർജിൻ ദ്വീപുകൾ",VI:"യു.എസ്. വെർജിൻ ദ്വീപുകൾ",WF:"വാലിസ് ആന്റ് ഫ്യൂച്യുന",EH:"പശ്ചിമ സഹാറ",YE:"യെമൻ",ZM:"സാംബിയ",ZW:"സിംബാബ്‌വേ",AX:"അലൻഡ് ദ്വീപുകൾ",BQ:"ബൊണെയ്ർ, സിന്റ് യുസ്റ്റേഷ്യസ്, സാബ എന്നിവ",CW:"കുറാകാവോ",GG:"ഗേൺസി",IM:"ഐൽ ഓഫ് മാൻ",JE:"ജേഴ്സി",ME:"മോണ്ടെനെഗ്രോ",BL:"സെന്റ് ബാർത്തലമി",MF:"സെൻറ് മാർട്ടിൻ",RS:"സെർബിയ",SX:"സിന്റ് മാർട്ടെൻ",SS:"ദക്ഷിണ സുഡാൻ",XK:"കൊസോവൊ"},G={locale:M,countries:S};export{S as countries,G as default,M as locale}; diff --git a/docs/storybook/assets/mn-e5965355.js b/docs/storybook/assets/mn-e5965355.js deleted file mode 100644 index 0ba7a6a..0000000 --- a/docs/storybook/assets/mn-e5965355.js +++ /dev/null @@ -1 +0,0 @@ -const M="mn",S={AD:"Андорра",AE:"Арабын Нэгдсэн Эмират",AF:"Афганистан",AG:"Антигуа ба Барбуда",AI:"Ангила",AL:"Албани",AM:"Армени",AO:"Ангол",AQ:"Антарктик",AR:"Аргентин",AS:"Америкийн Самоа",AT:"Австри",AU:"Австрали",AW:"Аруба",AX:"Аландын Арлууд",AZ:"Азербайжан",BA:"Босни Герцеговин",BB:"Барбадос",BD:"Бангладеш",BE:"Белги",BF:"Буркина фасо",BG:"Болгар",BH:"Бахрейн",BI:"Бурунди",BJ:"Бенин",BL:"Сент Бартельми",BM:"Бермуд",BN:"Бруней",BO:"Боливи",BQ:"Карибын Нидерланд",BR:"Бразил",BS:"Багам",BT:"Бутан",BV:"Буветын арлууд",BW:"Ботсвана",BY:"Беларусь",BZ:"Белиз",CA:"Канад",CC:"Кокос (Кийлинг) арлууд",CD:"Конго-Киншаса",CF:"Төв Африкийн Бүгд Найрамдах Улс",CG:"Конго Браззавиль",CH:"Швейцари",CI:"Кот д’Ивуар",CK:"Күүкийн арлууд",CL:"Чили",CM:"Камерун",CN:"Хятад",CO:"Колумб",CR:"Коста Рика",CU:"Куба",CV:"Капе Верде",CW:"Куракао",CX:"Зул сарын арал",CY:"Кипр",CZ:"Чех",DE:"Герман",DJ:"Джибути",DK:"Дани",DM:"Доминик",DO:"Бүгд Найрамдах Доминикан Улс",DZ:"Алжир",EC:"Эквадор",EE:"Эстони",EG:"Египет",EH:"Баруун Сахар",ER:"Эритри",ES:"Испани",ET:"Этиоп",FI:"Финланд",FJ:"Фижи",FK:"Фолькландын Арлууд",FM:"Микронези",FO:"Фароэ Арлууд",FR:"Франц",GA:"Габон",GB:"Их Британи",GD:"Гренада",GE:"Гүрж",GF:"Францын Гайана",GG:"Гернси",GH:"Гана",GI:"Гибралтар",GL:"Гренланд",GM:"Гамби",GN:"Гвиней",GP:"Гваделуп",GQ:"Экваторын Гвиней",GR:"Грек",GS:"Өмнөд Жоржиа ба Өмнөд Сэндвичийн Арлууд",GT:"Гватемал",GU:"Гуам",GW:"Гвиней-Бисау",GY:"Гайана",HK:"Хонг Конг",HM:"Хэрд болон Макдоналд арлууд",HN:"Гондурас",HR:"Хорват",HT:"Гаити",HU:"Унгар",ID:"Индонези",IE:"Ирланд",IL:"Израиль",IM:"Мэн Арал",IN:"Энэтхэг",IO:"Британийн харьяа Энэтхэгийн далай дахь нутаг дэвсгэрүүд",IQ:"Ирак",IR:"Иран",IS:"Исланд",IT:"Итали",JE:"Жерси",JM:"Ямайк",JO:"Йордан",JP:"Япон",KE:"Кени",KG:"Кыргызстан",KH:"Камбож",KI:"Кирибати",KM:"Коморос",KN:"Сент-Киттс ба Невис",KP:"Хойд Солонгос",KR:"Өмнөд Солонгос",KW:"Кувейт",KY:"Кайманы Арлууд",KZ:"Казахстан",LA:"Лаос",LB:"Ливан",LC:"Сент Люсиа",LI:"Лихтенштейн",LK:"Шри Ланка",LR:"Либери",LS:"Лесото",LT:"Литва",LU:"Люксембург",LV:"Латви",LY:"Ливи",MA:"Марокко",MC:"Монако",MD:"Молдав",ME:"Монтенегро",MF:"Сент-Мартин",MG:"Мадагаскар",MH:"Маршаллын арлууд",MK:"Умард Македон",ML:"Мали",MM:"Мьянмар (Бурма)",MN:"Монгол",MO:"Макао",MP:"Хойд Марианы арлууд",MQ:"Мартиник",MR:"Мавритани",MS:"Монтсеррат",MT:"Мальта",MU:"Мавритус",MV:"Мальдив",MW:"Малави",MX:"Мексик",MY:"Малайз",MZ:"Мозамбик",NA:"Намиби",NC:"Шинэ Каледони",NE:"Нигер",NF:"Норфолк арлууд",NG:"Нигери",NI:"Никарагуа",NL:"Нидерланд",NO:"Норвеги",NP:"Балба",NR:"Науру",NU:"Ниуэ",NZ:"Шинэ Зеланд",OM:"Оман",PA:"Панам",PE:"Перу",PF:"Францын Полинез",PG:"Папуа Шинэ Гвиней",PH:"Филиппин",PK:"Пакистан",PL:"Польш",PM:"Сэнт Пьер ба Микелон",PN:"Питкэрн арлууд",PR:"Пуэрто Рико",PS:"Палестины нутаг дэвсгэрүүд",PT:"Португаль",PW:"Палау",PY:"Парагвай",QA:"Катар",RE:"Реюньон",RO:"Румын",RS:"Серби",RU:"Орос",RW:"Руанда",SA:"Саудын Араб",SB:"Соломоны Арлууд",SC:"Сейшел",SD:"Судан",SE:"Швед",SG:"Сингапур",SH:"Сент Хелена",SI:"Словени",SJ:"Свалбард ба Ян Майен",SK:"Словак",SL:"Сьерра-Леоне",SM:"Сан-Марино",SN:"Сенегал",SO:"Сомали",SR:"Суринам",SS:"Өмнөд Судан",ST:"Сан-Томе ба Принсипи",SV:"Эль Сальвадор",SX:"Синт Мартен",SY:"Сири",SZ:"Свазиланд",TC:"Турк ба Кайкосын Арлууд",TD:"Чад",TF:"Францын өмнөд газар нутаг",TG:"Того",TH:"Тайланд",TJ:"Тажикистан",TK:"Токелау",TL:"Тимор-Лесте",TM:"Туркменистан",TN:"Тунис",TO:"Тонга",TR:"Турк",TT:"Тринидад Тобаго",TV:"Тувалу",TW:"Тайвань",TZ:"Танзани",UA:"Украин",UG:"Уганда",UM:"АНУ-ын тойрсон арлууд",US:"Америкийн Нэгдсэн Улс",UY:"Уругвай",UZ:"Узбекистан",VA:"Ватикан хот улс",VC:"Сэнт Винсэнт ба Гренадин",VE:"Венесуэл",VG:"Британийн Виржиний Арлууд",VI:"АНУ-ын Виржиний Арлууд",VN:"Вьетнам",VU:"Вануату",WF:"Уоллис ба Футуна",WS:"Самоа",XK:"Косово",YE:"Йемен",YT:"Майотте",ZA:"Өмнөд Африк тив",ZM:"Замби",ZW:"Зимбабве"},G={locale:M,countries:S};export{S as countries,G as default,M as locale}; diff --git a/docs/storybook/assets/ms-88c6f63d.js b/docs/storybook/assets/ms-88c6f63d.js deleted file mode 100644 index 349f3bc..0000000 --- a/docs/storybook/assets/ms-88c6f63d.js +++ /dev/null @@ -1 +0,0 @@ -const a="ms",i={AD:"Andorra",AE:"Emiriah Arab Bersatu",AF:"Afghanistan",AG:"Antigua dan Barbuda",AI:"Anguilla",AL:"Albania",AM:"Armenia",AO:"Angola",AQ:"Antartika",AR:"Argentina",AS:"Samoa Amerika",AT:"Austria",AU:"Australia",AW:"Aruba",AX:"Kepulauan Aland",AZ:"Azerbaijan",BA:"Bosnia dan Herzegovina",BB:"Barbados",BD:"Bangladesh",BE:"Belgium",BF:"Burkina Faso",BG:"Bulgaria",BH:"Bahrain",BI:"Burundi",BJ:"Benin",BL:"Saint Barthélemy",BM:"Bermuda",BN:"Brunei",BO:"Bolivia",BQ:"Belanda Caribbean",BR:"Brazil",BS:"Bahamas",BT:"Bhutan",BV:"Pulau Bouvet",BW:"Botswana",BY:"Belarus",BZ:"Belize",CA:"Kanada",CC:"Kepulauan Cocos (Keeling)",CD:"Congo - Kinshasa",CF:"Republik Afrika Tengah",CG:"Congo - Brazzaville",CH:"Switzerland",CI:["Cote d'Ivoire","Côte d'Ivoire"],CK:"Kepulauan Cook",CL:"Chile",CM:"Cameroon",CN:"China",CO:"Colombia",CR:"Costa Rica",CU:"Cuba",CV:"Cape Verde",CW:"Curacao",CX:"Pulau Krismas",CY:"Cyprus",CZ:"Czechia",DE:"Jerman",DJ:"Djibouti",DK:"Denmark",DM:"Dominica",DO:"Republik Dominica",DZ:"Algeria",EC:"Ecuador",EE:"Estonia",EG:"Mesir",EH:"Sahara Barat",ER:"Eritrea",ES:"Sepanyol",ET:"Ethiopia",FI:"Finland",FJ:"Fiji",FK:"Kepulauan Falkland",FM:"Micronesia",FO:"Kepulauan Faroe",FR:"Perancis",GA:"Gabon",GB:"United Kingdom",GD:"Grenada",GE:"Georgia",GF:"Guiana Perancis",GG:"Guernsey",GH:"Ghana",GI:"Gibraltar",GL:"Greenland",GM:"Gambia",GN:"Guinea",GP:"Guadeloupe",GQ:"Guinea Khatulistiwa",GR:"Greece",GS:"Kepulauan Georgia Selatan & Sandwich Selatan",GT:"Guatemala",GU:"Guam",GW:"Guinea Bissau",GY:"Guyana",HK:"Hong Kong SAR China",HM:"Kepulauan Heard & McDonald",HN:"Honduras",HR:"Croatia",HT:"Haiti",HU:"Hungary",ID:"Indonesia",IE:"Ireland",IL:"Israel",IM:"Isle of Man",IN:"India",IO:"Wilayah Lautan Hindi British",IQ:"Iraq",IR:"Iran",IS:"Iceland",IT:"Itali",JE:"Jersey",JM:"Jamaica",JO:"Jordan",JP:"Jepun",KE:"Kenya",KG:"Kyrgyzstan",KH:"Kemboja",KI:"Kiribati",KM:"Comoros",KN:"Saint Kitts dan Nevis",KP:"Korea Utara",KR:"Korea Selatan",KW:"Kuwait",KY:"Kepulauan Cayman",KZ:"Kazakhstan",LA:"Laos",LB:"Lubnan",LC:"Saint Lucia",LI:"Liechtenstein",LK:"Sri Lanka",LR:"Liberia",LS:"Lesotho",LT:"Lithuania",LU:"Luxembourg",LV:"Latvia",LY:"Libya",MA:"Maghribi",MC:"Monaco",MD:"Moldova",ME:"Montenegro",MF:"Saint Martin",MG:"Madagaskar",MH:"Kepulauan Marshall",MK:"Macedonia",ML:"Mali",MM:"Myanmar (Burma)",MN:"Mongolia",MO:"Macau SAR China",MP:"Kepulauan Mariana Utara",MQ:"Martinique",MR:"Mauritania",MS:"Montserrat",MT:"Malta",MU:"Mauritius",MV:"Maldives",MW:"Malawi",MX:"Mexico",MY:"Malaysia",MZ:"Mozambique",NA:"Namibia",NC:"New Caledonia",NE:"Niger",NF:"Pulau Norfolk",NG:"Nigeria",NI:"Nicaragua",NL:"Belanda",NO:"Norway",NP:"Nepal",NR:"Nauru",NU:"Niue",NZ:"New Zealand",OM:"Oman",PA:"Panama",PE:"Peru",PF:"Polinesia Perancis",PG:"Papua New Guinea",PH:"Filipina",PK:"Pakistan",PL:"Poland",PM:"Saint Pierre dan Miquelon",PN:"Kepulauan Pitcairn",PR:"Puerto Rico",PS:"Wilayah Palestin",PT:"Portugal",PW:"Palau",PY:"Paraguay",QA:"Qatar",RE:"Reunion",RO:"Romania",RS:"Serbia",RU:"Rusia",RW:"Rwanda",SA:"Arab Saudi",SB:"Kepulauan Solomon",SC:"Seychelles",SD:"Sudan",SE:"Sweden",SG:"Singapura",SH:"Saint Helena",SI:"Slovenia",SJ:"Svalbard dan Jan Mayen",SK:"Slovakia",SL:"Sierra Leone",SM:"San Marino",SN:"Senegal",SO:"Somalia",SR:"Surinam",SS:"Sudan Selatan",ST:"Sao Tome dan Principe",SV:"El Salvador",SX:"Sint Maarten",SY:"Syria",SZ:"Eswatini",TC:"Kepulauan Turks dan Caicos",TD:"Chad",TF:"Wilayah Selatan Perancis",TG:"Togo",TH:"Thailand",TJ:"Tajikistan",TK:"Tokelau",TL:"Timor-Leste",TM:"Turkmenistan",TN:"Tunisia",TO:"Tonga",TR:"Turki",TT:"Trinidad dan Tobago",TV:"Tuvalu",TW:"Taiwan",TZ:"Tanzania",UA:"Ukraine",UG:"Uganda",UM:"Kepulauan Terpencil A.S.",US:"Amerika Syarikat",UY:"Uruguay",UZ:"Uzbekistan",VA:"Kota Vatican",VC:"Saint Vincent dan Grenadines",VE:"Venezuela",VG:"Kepulauan Virgin British",VI:"Kepulauan Virgin A.S.",VN:"Vietnam",VU:"Vanuatu",WF:"Wallis dan Futuna",WS:"Samoa",XK:"Kosovo",YE:"Yaman",YT:"Mayotte",ZA:"Afrika Selatan",ZM:"Zambia",ZW:"Zimbabwe"},n={locale:a,countries:i};export{i as countries,n as default,a as locale}; diff --git a/docs/storybook/assets/nb-ec54ff10.js b/docs/storybook/assets/nb-ec54ff10.js deleted file mode 100644 index f099269..0000000 --- a/docs/storybook/assets/nb-ec54ff10.js +++ /dev/null @@ -1 +0,0 @@ -const a="nb",n={AD:"Andorra",AE:"De forente arabiske emirater",AF:"Afghanistan",AG:"Antigua og Barbuda",AI:"Anguilla",AL:"Albania",AM:"Armenia",AO:"Angola",AQ:"Antarktis",AR:"Argentina",AS:"Amerikansk Samoa",AT:"Østerrike",AU:"Australia",AW:"Aruba",AX:"Åland",AZ:"Aserbajdsjan",BA:"Bosnia-Hercegovina",BB:"Barbados",BD:"Bangladesh",BE:"Belgia",BF:"Burkina Faso",BG:"Bulgaria",BH:"Bahrain",BI:"Burundi",BJ:"Benin",BL:"Saint-Barthélemy",BM:"Bermuda",BN:"Brunei",BO:"Bolivia",BQ:"Karibisk Nederland",BR:"Brasil",BS:"Bahamas",BT:"Bhutan",BV:"Bouvetøya",BW:"Botswana",BY:"Hviterussland",BZ:"Belize",CA:"Canada",CC:"Kokosøyene",CD:"Kongo",CF:"Den sentralafrikanske republikk",CG:"Kongo-Brazzaville",CH:"Sveits",CI:"Elfenbenskysten",CK:"Cookøyene",CL:"Chile",CM:"Kamerun",CN:"Kina",CO:"Colombia",CR:"Costa Rica",CU:"Cuba",CV:"Kapp Verde",CW:"Curaçao",CX:"Christmasøya",CY:"Kypros",CZ:"Tsjekkia",DE:"Tyskland",DJ:"Djibouti",DK:"Danmark",DM:"Dominica",DO:"Den dominikanske republikk",DZ:"Algerie",EC:"Ecuador",EE:"Estland",EG:"Egypt",EH:"Vest-Sahara",ER:"Eritrea",ES:"Spania",ET:"Etiopia",FI:"Finland",FJ:"Fiji",FK:"Falklandsøyene",FM:"Mikronesiaføderasjonen",FO:"Færøyene",FR:"Frankrike",GA:"Gabon",GB:"Storbritannia",GD:"Grenada",GE:"Georgia",GF:"Fransk Guyana",GG:"Guernsey",GH:"Ghana",GI:"Gibraltar",GL:"Grønland",GM:"Gambia",GN:"Guinea",GP:"Guadeloupe",GQ:"Ekvatorial-Guinea",GR:"Hellas",GS:"Sør-Georgia og de søre Sandwichøyene",GT:"Guatemala",GU:"Guam",GW:"Guinea-Bissau",GY:"Guyana",HK:"Hongkong",HM:"Heard- og McDonald-øyene",HN:"Honduras",HR:"Kroatia",HT:"Haiti",HU:"Ungarn",ID:"Indonesia",IE:"Irland",IL:"Israel",IM:"Man",IN:"India",IO:"Britisk territorium i Indiahavet",IQ:"Irak",IR:"Iran",IS:"Island",IT:"Italia",JE:"Jersey",JM:"Jamaica",JO:"Jordan",JP:"Japan",KE:"Kenya",KG:"Kirgisistan",KH:"Kambodsja",KI:"Kiribati",KM:"Komorene",KN:"Saint Kitts og Nevis",KP:"Nord-Korea",KR:"Sør-Korea",KW:"Kuwait",KY:"Caymanøyene",KZ:"Kasakhstan",LA:"Laos",LB:"Libanon",LC:"Saint Lucia",LI:"Liechtenstein",LK:"Sri Lanka",LR:"Liberia",LS:"Lesotho",LT:"Litauen",LU:"Luxembourg",LV:"Latvia",LY:"Libya",MA:"Marokko",MC:"Monaco",MD:"Moldova",ME:"Montenegro",MF:"Saint-Martin",MG:"Madagaskar",MH:"Marshalløyene",MK:"Nord-Makedonia",ML:"Mali",MM:"Myanmar (Burma)",MN:"Mongolia",MO:"Macao",MP:"Nord-Marianene",MQ:"Martinique",MR:"Mauritania",MS:"Montserrat",MT:"Malta",MU:"Mauritius",MV:"Maldivene",MW:"Malawi",MX:"Mexico",MY:"Malaysia",MZ:"Mosambik",NA:"Namibia",NC:"Ny-Caledonia",NE:"Niger",NF:"Norfolk Island",NG:"Nigeria",NI:"Nicaragua",NL:"Nederland",NO:"Norge",NP:"Nepal",NR:"Nauru",NU:"Niue",NZ:"New Zealand",OM:"Oman",PA:"Panama",PE:"Peru",PF:"Fransk Polynesia",PG:"Papua Ny-Guinea",PH:"Filippinene",PK:"Pakistan",PL:"Polen",PM:"Saint-Pierre-et-Miquelon",PN:"Pitcairn",PR:"Puerto Rico",PS:"De okkuperte palestinske områdene",PT:"Portugal",PW:"Palau",PY:"Paraguay",QA:"Qatar",RE:"Réunion",RO:"Romania",RS:"Serbia",RU:"Russland",RW:"Rwanda",SA:"Saudi-Arabia",SB:"Salomonøyene",SC:"Seychellene",SD:"Sudan",SE:"Sverige",SG:"Singapore",SH:"St. Helena",SI:"Slovenia",SJ:"Svalbard og Jan Mayen",SK:"Slovakia",SL:"Sierra Leone",SM:"San Marino",SN:"Senegal",SO:"Somalia",SR:"Surinam",SS:"Sør-Sudan",ST:"São Tomé og Príncipe",SV:"El Salvador",SX:"Sint Maarten (Nederlandsk del)",SY:"Syria",SZ:"Eswatini",TC:"Turks- og Caicosøyene",TD:"Tsjad",TF:"Søre franske territorier",TG:"Togo",TH:"Thailand",TJ:"Tadsjikistan",TK:"Tokelau",TL:"Øst-Timor",TM:"Turkmenistan",TN:"Tunisia",TO:"Tonga",TR:"Tyrkia",TT:"Trinidad og Tobago",TV:"Tuvalu",TW:"Taiwan",TZ:"Tanzania",UA:"Ukraina",UG:"Uganda",UM:"USA, mindre, utenforliggende øyer",US:"USA",UY:"Uruguay",UZ:"Usbekistan",VA:"Vatikanstaten",VC:"Saint Vincent og Grenadinene",VE:"Venezuela",VG:"Jomfruøyene (Britisk)",VI:"Jomfruøyene (USA)",VN:"Vietnam",VU:"Vanuatu",WF:"Wallis- og Futunaøyene",WS:"Samoa",YE:"Jemen",YT:"Mayotte",ZA:"Sør-Afrika",ZM:"Zambia",ZW:"Zimbabwe",XK:"Kosovo"},e={locale:a,countries:n};export{n as countries,e as default,a as locale}; diff --git a/docs/storybook/assets/nl-0568a744.js b/docs/storybook/assets/nl-0568a744.js deleted file mode 100644 index 43d745b..0000000 --- a/docs/storybook/assets/nl-0568a744.js +++ /dev/null @@ -1 +0,0 @@ -const e="nl",a={AF:["Islamitisch Emiraat Afghanistan","Afghanistan"],AL:["Republiek Albanië","Albanië"],DZ:["Democratische Volksrepubliek Algerije","Algerije"],AS:"Amerikaans-Samoa",AD:["Vorstendom Andorra","Andorra"],AO:["Republiek Angola","Angola"],AI:"Anguilla",AQ:"Antarctica",AG:"Antigua en Barbuda",AR:["Argentijnse Republiek","Argentinië"],AM:["Republiek Armenië","Armenië"],AW:"Aruba",AU:["Gemenebest van Australië","Australië"],AT:["Republiek Oostenrijk","Oostenrijk"],AZ:["Republiek Azerbeidzjan","Azerbeidzjan"],BS:["Gemenebest van de Bahama's","Bahama's"],BH:["Koninkrijk Bahrein","Bahrein"],BD:["Volksrepubliek Bangladesh","Bangladesh"],BB:["Barbados","Barbados"],BY:["Republiek Wit-Rusland","Wit-Rusland"],BE:["Koninkrijk België","België"],BZ:["Belize","Belize"],BJ:["Republiek Benin","Benin"],BM:"Bermuda",BT:["Koninkrijk Bhutan","Bhutan"],BO:["Plurinationale Staat Bolivia","Bolivië"],BA:["Bosnië en Herzegovina","Bosnië-Herzegovina"],BW:["Republiek Botswana","Botswana"],BV:"Bouvet Eiland",BR:["Federale Republiek Brazilië","Brazilië"],IO:"Brits Indische oceaan",BN:["Brunei Darussalam","Brunei"],BG:["Republiek Bulgarije","Bulgarije"],BF:["Burkina Faso","Burkina Faso"],BI:["Republiek Burundi","Burundi"],KH:["Koninkrijk Cambodja","Cambodja"],CM:["Republiek Kameroen","Kameroen"],CA:"Canada",CV:["Republiek Kaapverdië","Kaapverdië"],KY:"Kaaimaneilanden",CF:"Centraal-Afrikaanse Republiek",TD:["Republiek Tsjaad","Tsjaad"],CL:["Republiek Chili","Chili"],CN:["Volksrepubliek China","China"],CX:["Christmaseiland","Kersteiland"],CC:"Cocoseilanden",CO:["Republiek Colombia","Colombia"],KM:["Unie der Comoren","Comoren"],CG:["Republiek Congo","Congo-Brazzaville"],CD:["Democratische Republiek Congo","Congo-Kinshasa"],CK:"Cookeilanden",CR:["Republiek Costa Rica","Costa Rica"],CI:["Republiek Ivoorkust","Ivoorkust"],HR:["Republiek Kroatië","Kroatië"],CU:["Republiek Cuba","Cuba"],CY:["Republiek Cyprus","Cyprus"],CZ:["Tsjechische Republiek","Tsjechië"],DK:["Koninkrijk Denemarken","Denemarken"],DJ:["Republiek Djibouti","Djibouti"],DM:["Gemenebest Dominica","Dominica"],DO:"Dominicaanse Republiek",EC:["Republiek Ecuador","Ecuador"],EG:["Arabische Republiek Egypte","Egypte"],SV:["Republiek El Salvador","El Salvador"],GQ:["Republiek Equatoriaal-Guinea","Equatoriaal-Guinea"],ER:["Staat Eritrea","Eritrea"],EE:["Republiek Estland","Estland"],ET:["Federale Democratische Republiek Ethiopië","Ethiopië"],FK:"Falklandeilanden",FO:"Faeröer",FJ:["Republiek Fiji","Fiji"],FI:["Republiek Finland","Finland"],FR:["Franse Republiek","Frankrijk"],GF:"Frans-Guyana",PF:"Frans-Polynesië",TF:"Franse Zuidelijke Gebieden",GA:["Republiek Gabon","Gabon"],GM:["Republiek Gambia","Gambia"],GE:["Georgië","Georgië"],DE:["Bondsrepubliek Duitsland","Duitsland"],GH:["Republiek Ghana","Ghana"],GI:"Gibraltar",GR:["Helleense Republiek","Griekenland"],GL:"Groenland",GD:"Grenada",GP:"Guadeloupe",GU:"Guam",GT:["Republiek Guatemala","Guatemala"],GN:["Republiek Guinee","Guinea"],GW:["Republiek Guinee-Bissau","Guinee-Bissau"],GY:["Coöperatieve Republiek Guyana","Guyana"],HT:["Republiek Haïti","Haïti"],HM:"Heard en McDonaldeilanden",VA:["Vaticaanstad","Vaticaanstad"],HN:["Republiek Honduras","Honduras"],HK:"Hong Kong",HU:["Hongaarse Republiek","Hongarije"],IS:["IJslandse Republiek","IJsland"],IN:["Republiek India","India"],ID:["Republiek Indonesië","Indonesië"],IR:["Islamitische Republiek Iran","Iran"],IQ:["Republiek Irak","Irak"],IE:["Ierse Republiek","Ierland"],IL:["Staat Israël","Israël"],IT:["Italiaanse Republiek","Italië"],JM:"Jamaica",JP:"Japan",JO:["Hasjemitisch Koninkrijk Jordanië","Jordanië"],KZ:["Republiek Kazachstan","Kazachstan"],KE:["Republiek Kenia","Kenia"],KI:["Republiek Kiribati","Kiribati"],KP:["Democratische Volksrepubliek Korea","Noord-Korea"],KR:["Republiek Korea","Zuid-Korea"],KW:["Staat Koeweit","Koeweit"],KG:["Kirgizische Republiek","Kirgizië"],LA:["Lao Democratische Volksrepubliek","Laos"],LV:["Republiek Letland","Letland"],LB:["Libanese Republiek","Libanon"],LS:["Koninkrijk Lesotho","Lesotho"],LR:["Republiek Liberia","Liberia"],LY:["Staat Libië","Libië"],LI:["Vorstendom Liechtenstein","Liechtenstein"],LT:["Republiek Litouwen","Litouwen"],LU:["Groothertogdom Luxemburg","Luxemburg"],MO:"Macao",MG:["Republiek Madagaskar","Madagaskar"],MW:["Republiek Malawi","Malawi"],MY:["Maleisië","Maleisië"],MV:["Republiek der Maldiven","Maldiven"],ML:["Republiek Mali","Mali"],MT:["Republiek Malta","Malta"],MH:["Republiek der Marshalleilanden","Marshalleilanden"],MQ:"Martinique",MR:["Islamitische Republiek Mauritanië","Mauritanië"],MU:["Republiek Mauritius","Mauritius"],YT:"Mayotte",MX:["Verenigde Mexicaanse Staten","Mexico"],FM:["Federale Staten van Micronesië","Micronesië"],MD:["Republiek Moldavië","Moldavië"],MC:["Vorstendom Monaco","Monaco"],MN:["Mongolië","Mongolië"],MS:"Montserrat",MA:["Koninkrijk Marokko","Marokko"],MZ:["Republiek Mozambique","Mozambique"],MM:["Republiek van de Unie van Myanmar","Myanmar"],NA:["Republiek Namibië","Namibië"],NR:["Republiek Nauru","Nauru"],NP:["Federale Democratische Republiek Nepal","Nepal"],NL:["Koninkrijk der Nederlanden","Nederland"],NC:["Nieuw-Caledonië","Nieuw-Caledonië"],NZ:["Nieuw-Zeeland","Nieuw-Zeeland"],NI:["Republiek Nicaragua","Nicaragua"],NE:["Republiek Niger","Niger"],NG:["Federale Republiek Nigeria","Nigeria"],NU:"Niue",NF:"Norfolk",MP:"Noordelijke Marianen",MK:["Republiek Noord-Macedonië","Noord-Macedonië"],NO:["Koninkrijk Noorwegen","Noorwegen"],OM:["Sultanaat Oman","Oman"],PK:["Islamitische Republiek Pakistan","Pakistan"],PW:["Republiek Palau","Palau"],PS:["Staat Palestina","Palestina"],PA:["Republiek Panama","Panama"],PG:["Onafhankelijke Staat Papoea-Nieuw-Guinea","Papoea-Nieuw-Guinea"],PY:["Republiek Paraguay","Paraguay"],PE:["Republiek Peru","Peru"],PH:["Republiek der Filipijnen","Filipijnen"],PN:"Pitcairn",PL:["Republiek Polen","Polen"],PT:["Portugese Republiek","Portugal"],PR:"Puerto Rico",QA:["Staat Qatar","Qatar"],RE:"Réunion",RO:["Roemeense Republiek","Roemenië"],RU:["Russische Federatie","Rusland"],RW:["Republiek Rwanda","Rwanda"],SH:"Sint-Helena",KN:["Federatie Saint Kitts en Nevis","Saint Kitts en Nevis"],LC:["Saint Lucia","Saint Lucia"],PM:["Saint-Pierre en Miquelon","Saint-Pierre en Miquelon"],VC:["Saint Vincent en de Grenadines","Saint Vincent en de Grenadines"],WS:["Onafhankelijke Staat Samoa","Samoa"],SM:["Republiek San Marino","San Marino"],ST:["Democratische Republiek São Tomé en Principe","São Tomé en Principe"],SA:["Koninkrijk Saudi-Arabië","Saudi-Arabië"],SN:["Republiek Senegal","Senegal"],SC:["Republiek der Seychellen","Seychellen"],SL:["Republiek Sierra Leone","Sierra Leone"],SG:["Republiek Singapore","Singapore"],SK:["Slowaakse Republiek","Slowakije"],SI:["Republiek Slovenië","Slovenië"],SB:["Salomonseilanden","Salomonseilanden"],SO:["Federale Republiek Somalië","Somalië"],ZA:["Republiek Zuid-Afrika","Zuid-Afrika"],GS:"Zuid-Georgia en de Zuidelijke Sandwicheilanden",ES:["Koninkrijk Spanje","Spanje"],LK:["Democratische Socialistische Republiek Sri Lanka","Sri Lanka"],SD:["Republiek Soedan","Soedan"],SR:["Republiek Suriname","Suriname"],SJ:"Spitsbergen en Jan Mayen",SZ:["Koninkrijk Eswatini","Eswatini","Swaziland"],SE:["Koninkrijk Zweden","Zweden"],CH:["Zwitserse Bondsstaat","Zwitserland"],SY:["Syrische Arabische Republiek","Syrië"],TW:["Taiwan","Taiwan"],TJ:["Republiek Tadzjikistan","Tadzjikistan"],TZ:["Verenigde Republiek Tanzania","Tanzania"],TH:["Koninkrijk Thailand","Thailand"],TL:["Democratische Republiek Timor-Leste","Timor Leste"],TG:["Togolese Republiek","Togo"],TK:"Tokelau",TO:["Koninkrijk Tonga","Tonga"],TT:["Republiek Trinidad en Tobago","Trinidad en Tobago"],TN:["Republiek Tunesië","Tunesië"],TR:["Republiek Turkije","Turkije"],TM:["Turkmeense Republiek","Turkmenistan"],TC:"Turks- en Caicoseilanden",TV:["Tuvalu","Tuvalu"],UG:["Republiek Oeganda","Oeganda"],UA:["Oekraïne","Oekraïne"],AE:["Verenigde Arabische Emiraten","Verenigde Arabische Emiraten"],GB:["Verenigd Koninkrijk van Groot-Brittannië en Noord-Ierland","Verenigd Koninkrijk"],US:["Verenigde Staten van Amerika","Verenigde Staten"],UM:"Amerikaanse Kleinere Afgelegen Eilanden",UY:["Oostelijke Republiek Uruguay","Uruguay"],UZ:["Republiek Oezbekistan","Oezbekistan"],VU:["Republiek Vanuatu","Vanuatu"],VE:["Bolivariaanse Republiek Venezuela","Venezuela"],VN:["Socialistische Republiek Vietnam","Vietnam"],VG:"Britse Maagdeneilanden",VI:"Amerikaanse Maagdeneilanden",WF:"Wallis en Futuna",EH:"Westelijke Sahara",YE:["Republiek Jemen","Jemen"],ZM:["Republiek Zambia","Zambia"],ZW:["Republiek Zimbabwe","Zimbabwe"],AX:"Åland",BQ:"Bonaire, Sint Eustatius en Saba",CW:"Curaçao",GG:"Guernsey",IM:"Man Eiland",JE:"Jersey",ME:["Montenegro","Montenegro"],BL:"Saint Barthélemy",MF:["Sint-Maarten (Frans deel)","Sint-Maarten (Franse Antillen)","Collectiviteit van Sint-Maarten"],RS:["Republiek Servië","Servië"],SX:["Sint Maarten","Sint-Maarten","Sint Maarten (Nederlands deel)","Land Sint Maarten"],SS:["Republiek Zuid-Soedan","Zuid-Soedan"],XK:["Republiek Kosovo","Kosovo"]},i={locale:e,countries:a};export{a as countries,i as default,e as locale}; diff --git a/docs/storybook/assets/nn-4bed35f7.js b/docs/storybook/assets/nn-4bed35f7.js deleted file mode 100644 index 5df9200..0000000 --- a/docs/storybook/assets/nn-4bed35f7.js +++ /dev/null @@ -1 +0,0 @@ -const a="nn",n={AD:"Andorra",AE:"Dei sameinte arabiske emirata",AF:"Afghanistan",AG:"Antigua og Barbuda",AI:"Anguilla",AL:"Albania",AM:"Armenia",AO:"Angola",AQ:"Antarktis",AR:"Argentina",AS:"Amerikansk Samoa",AT:"Austerrike",AU:"Australia",AW:"Aruba",AX:"Åland",AZ:"Aserbajdsjan",BA:"Bosnia-Hercegovina",BB:"Barbados",BD:"Bangladesh",BE:"Belgia",BF:"Burkina Faso",BG:"Bulgaria",BH:"Bahrain",BI:"Burundi",BJ:"Benin",BL:"Saint-Barthélemy",BM:"Bermuda",BN:"Brunei",BO:"Bolivia",BQ:"Karibisk Nederland",BR:"Brasil",BS:"Bahamas",BT:"Bhutan",BV:"Bouvetøya",BW:"Botswana",BY:"Kviterussland",BZ:"Belize",CA:"Canada",CC:"Kokosøyane",CD:"Kongo",CF:"Den sentralafrikanske republikken",CG:"Kongo-Brazzaville",CH:"Sveits",CI:"Elfenbeinskysten",CK:"Cookøyane",CL:"Chile",CM:"Kamerun",CN:"Kina",CO:"Colombia",CR:"Costa Rica",CU:"Cuba",CV:"Kapp Verde",CW:"Curaçao",CX:"Christmasøya",CY:"Kypros",CZ:"Tsjekkia",DE:"Tyskland",DJ:"Djibouti",DK:"Danmark",DM:"Dominica",DO:"Den dominikanske republikken",DZ:"Algerie",EC:"Ecuador",EE:"Estland",EG:"Egypt",EH:"Vest-Sahara",ER:"Eritrea",ES:"Spania",ET:"Etiopia",FI:"Finland",FJ:"Fiji",FK:"Falklandsøyane",FM:"Mikronesiaføderasjonen",FO:"Færøyane",FR:"Frankrike",GA:"Gabon",GB:"Storbritannia",GD:"Grenada",GE:"Georgia",GF:"Fransk Guyana",GG:"Guernsey",GH:"Ghana",GI:"Gibraltar",GL:"Grønland",GM:"Gambia",GN:"Guinea",GP:"Guadeloupe",GQ:"Ekvatorial-Guinea",GR:"Hellas",GS:"Sør-Georgia og de søre Sandwichøyane",GT:"Guatemala",GU:"Guam",GW:"Guinea-Bissau",GY:"Guyana",HK:"Hongkong",HM:"Heard- og McDonald-øyane",HN:"Honduras",HR:"Kroatia",HT:"Haiti",HU:"Ungarn",ID:"Indonesia",IE:"Irland",IL:"Israel",IM:"Man",IN:"India",IO:"Britisk territorium i Indiahavet",IQ:"Irak",IR:"Iran",IS:"Island",IT:"Italia",JE:"Jersey",JM:"Jamaica",JO:"Jordan",JP:"Japan",KE:"Kenya",KG:"Kirgisistan",KH:"Kambodsja",KI:"Kiribati",KM:"Komorane",KN:"Saint Kitts og Nevis",KP:"Nord-Korea",KR:"Sør-Korea",KW:"Kuwait",KY:"Caymanøyane",KZ:"Kasakhstan",LA:"Laos",LB:"Libanon",LC:"Saint Lucia",LI:"Liechtenstein",LK:"Sri Lanka",LR:"Liberia",LS:"Lesotho",LT:"Litauen",LU:"Luxembourg",LV:"Latvia",LY:"Libya",MA:"Marokko",MC:"Monaco",MD:"Moldova",ME:"Montenegro",MF:"Saint-Martin",MG:"Madagaskar",MH:"Marshalløyane",MK:"Nord-Makedonia",ML:"Mali",MM:"Myanmar (Burma)",MN:"Mongolia",MO:"Macao",MP:"Nord-Marianane",MQ:"Martinique",MR:"Mauritania",MS:"Montserrat",MT:"Malta",MU:"Mauritius",MV:"Maldivane",MW:"Malawi",MX:"Mexico",MY:"Malaysia",MZ:"Mosambik",NA:"Namibia",NC:"Ny-Caledonia",NE:"Niger",NF:"Norfolk Island",NG:"Nigeria",NI:"Nicaragua",NL:"Nederland",NO:"Noreg",NP:"Nepal",NR:"Nauru",NU:"Niue",NZ:"New Zealand",OM:"Oman",PA:"Panama",PE:"Peru",PF:"Fransk Polynesia",PG:"Papua Ny-Guinea",PH:"Filippinane",PK:"Pakistan",PL:"Polen",PM:"Saint-Pierre-et-Miquelon",PN:"Pitcairn",PR:"Puerto Rico",PS:"Dei okkuperte palestinske områda",PT:"Portugal",PW:"Palau",PY:"Paraguay",QA:"Qatar",RE:"Réunion",RO:"Romania",RS:"Serbia",RU:"Russland",RW:"Rwanda",SA:"Saudi-Arabia",SB:"Salomonøyane",SC:"Seychellane",SD:"Sudan",SE:"Sverige",SG:"Singapore",SH:"St. Helena",SI:"Slovenia",SJ:"Svalbard og Jan Mayen",SK:"Slovakia",SL:"Sierra Leone",SM:"San Marino",SN:"Senegal",SO:"Somalia",SR:"Surinam",SS:"Sør-Sudan",ST:"São Tomé og Príncipe",SV:"El Salvador",SX:"Sint Maarten (Nederlandsk del)",SY:"Syria",SZ:"Eswatini",TC:"Turks- og Caicosøyane",TD:"Tsjad",TF:"Søre franske territorier",TG:"Togo",TH:"Thailand",TJ:"Tadsjikistan",TK:"Tokelau",TL:"Aust-Timor",TM:"Turkmenistan",TN:"Tunisia",TO:"Tonga",TR:"Tyrkia",TT:"Trinidad og Tobago",TV:"Tuvalu",TW:"Taiwan",TZ:"Tanzania",UA:"Ukraina",UG:"Uganda",UM:"USA, mindre, utanforliggande øyar",US:"USA",UY:"Uruguay",UZ:"Usbekistan",VA:"Vatikanstaten",VC:"Saint Vincent og Grenadinane",VE:"Venezuela",VG:"Jomfruøyane (Britisk)",VI:"Jomfruøyane (USA)",VN:"Vietnam",VU:"Vanuatu",WF:"Wallis- og Futunaøyane",WS:"Samoa",YE:"Jemen",YT:"Mayotte",ZA:"Sør-Afrika",ZM:"Zambia",ZW:"Zimbabwe",XK:"Kosovo"},i={locale:a,countries:n};export{n as countries,i as default,a as locale}; diff --git a/docs/storybook/assets/no-f7013253.js b/docs/storybook/assets/no-f7013253.js deleted file mode 100644 index a0e2364..0000000 --- a/docs/storybook/assets/no-f7013253.js +++ /dev/null @@ -1 +0,0 @@ -const a="no",n={AF:"Afghanistan",AL:"Albania",DZ:"Algerie",AS:"Amerikansk Samoa",AD:"Andorra",AO:"Angola",AI:"Anguilla",AQ:"Antarktis",AG:"Antigua og Barbuda",AR:"Argentina",AM:"Armenia",AW:"Aruba",AU:"Australia",AT:"Østerrike",AZ:"Aserbajdsjan",BS:"Bahamas",BH:"Bahrain",BD:"Bangladesh",BB:"Barbados",BY:"Hviterussland",BE:"Belgia",BZ:"Belize",BJ:"Benin",BM:"Bermuda",BT:"Bhutan",BO:"Bolivia",BA:"Bosnia-Hercegovina",BW:"Botswana",BV:"Bouvetøya",BR:"Brasil",IO:"Det britiske territoriet i Indiahavet",BN:"Brunei",BG:"Bulgaria",BF:"Burkina Faso",BI:"Burundi",KH:"Kambodsja",CM:"Kamerun",CA:"Canada",CV:"Kapp Verde",KY:"Caymanøyene",CF:"Den sentralafrikanske republikk",TD:"Tsjad",CL:"Chile",CN:"Kina",CX:"Christmasøya",CC:"Kokosøyene",CO:"Colombia",KM:"Komorene",CG:"Kongo-Brazzaville",CD:"Kongo",CK:"Cookøyene",CR:"Costa Rica",CI:"Elfenbenskysten",HR:"Kroatia",CU:"Cuba",CY:"Kypros",CZ:"Tsjekkia",DK:"Danmark",DJ:"Djibouti",DM:"Dominica",DO:"Den dominikanske republikk",EC:"Ecuador",EG:"Egypt",SV:"El Salvador",GQ:"Ekvatorial-Guinea",ER:"Eritrea",EE:"Estland",ET:"Etiopia",FK:"Falklandsøyene",FO:"Færøyene",FJ:"Fiji",FI:"Finland",FR:"Frankrike",GF:"Fransk Guyana",PF:"Fransk Polynesia",TF:"De franske sørterritorier",GA:"Gabon",GM:"Gambia",GE:"Georgia",DE:"Tyskland",GH:"Ghana",GI:"Gibraltar",GR:"Hellas",GL:"Grønland",GD:"Grenada",GP:"Guadeloupe",GU:"Guam",GT:"Guatemala",GN:"Guinea",GW:"Guinea-Bissau",GY:"Guyana",HT:"Haiti",HM:"Heard- og McDonaldøyene",VA:"Vatikanstaten",HN:"Honduras",HK:"Hongkong SAR Kina",HU:"Ungarn",IS:"Island",IN:"India",ID:"Indonesia",IR:"Iran",IQ:"Irak",IE:"Irland",IL:"Israel",IT:"Italia",JM:"Jamaica",JP:"Japan",JO:"Jordan",KZ:"Kasakhstan",KE:"Kenya",KI:"Kiribati",KP:"Nord-Korea",KR:"Sør-Korea",KW:"Kuwait",KG:"Kirgisistan",LA:"Laos",LV:"Latvia",LB:"Libanon",LS:"Lesotho",LR:"Liberia",LY:"Libya",LI:"Liechtenstein",LT:"Litauen",LU:"Luxemburg",MO:"Macao SAR Kina",MG:"Madagaskar",MW:"Malawi",MY:"Malaysia",MV:"Maldivene",ML:"Mali",MT:"Malta",MH:"Marshalløyene",MQ:"Martinique",MR:"Mauritania",MU:"Mauritius",YT:"Mayotte",MX:"Mexico",FM:"Mikronesiaføderasjonen",MD:"Moldova",MC:"Monaco",MN:"Mongolia",MS:"Montserrat",MA:"Marokko",MZ:"Mosambik",MM:"Myanmar (Burma)",NA:"Namibia",NR:"Nauru",NP:"Nepal",NL:"Nederland",NC:"Ny-Caledonia",NZ:"New Zealand",NI:"Nicaragua",NE:"Niger",NG:"Nigeria",NU:"Niue",NF:"Norfolkøya",MK:"Nord-Makedonia",MP:"Nord-Marianene",NO:"Norge",OM:"Oman",PK:"Pakistan",PW:"Palau",PS:"Det palestinske området",PA:"Panama",PG:"Papua Ny-Guinea",PY:"Paraguay",PE:"Peru",PH:"Filippinene",PN:"Pitcairnøyene",PL:"Polen",PT:"Portugal",PR:"Puerto Rico",QA:"Qatar",RE:"Réunion",RO:"Romania",RU:"Russland",RW:"Rwanda",SH:"St. Helena",KN:"Saint Kitts og Nevis",LC:"St. Lucia",PM:"Saint-Pierre-et-Miquelon",VC:"St. Vincent og Grenadinene",WS:"Samoa",SM:"San Marino",ST:"São Tomé og Príncipe",SA:"Saudi-Arabia",SN:"Senegal",SC:"Seychellene",SL:"Sierra Leone",SG:"Singapore",SK:"Slovakia",SI:"Slovenia",SB:"Salomonøyene",SO:"Somalia",ZA:"Sør-Afrika",GS:"Sør-Georgia og Sør-Sandwichøyene",ES:"Spania",LK:"Sri Lanka",SD:"Sudan",SR:"Surinam",SJ:"Svalbard og Jan Mayen",SZ:"Eswatini",SE:"Sverige",CH:"Sveits",SY:"Syria",TW:"Taiwan",TJ:"Tadsjikistan",TZ:"Tanzania",TH:"Thailand",TL:"Øst-Timor",TG:"Togo",TK:"Tokelau",TO:"Tonga",TT:"Trinidad og Tobago",TN:"Tunisia",TR:"Tyrkia",TM:"Turkmenistan",TC:"Turks- og Caicosøyene",TV:"Tuvalu",UG:"Uganda",UA:"Ukraina",AE:"De forente arabiske emirater",GB:"Storbritannia",US:"USA",UM:"USAs ytre øyer",UY:"Uruguay",UZ:"Usbekistan",VU:"Vanuatu",VE:"Venezuela",VN:"Vietnam",VG:"De britiske jomfruøyene",VI:"De amerikanske jomfruøyene",WF:"Wallis og Futuna",EH:"Vest-Sahara",YE:"Jemen",ZM:"Zambia",ZW:"Zimbabwe",AX:"Åland",BQ:"Karibisk Nederland",CW:"Curaçao",GG:"Guernsey",IM:"Man",JE:"Jersey",ME:"Montenegro",BL:"Saint-Barthélemy",MF:"Saint-Martin",RS:"Serbia",SX:"Sint Maarten",SS:"Sør-Sudan",XK:"Kosovo"},e={locale:a,countries:n};export{n as countries,e as default,a as locale}; diff --git a/docs/storybook/assets/outline-dazzle-e5727ddb.woff2 b/docs/storybook/assets/outline-dazzle-e5727ddb.woff2 deleted file mode 100644 index e2e1486..0000000 Binary files a/docs/storybook/assets/outline-dazzle-e5727ddb.woff2 and /dev/null differ diff --git a/docs/storybook/assets/pl-8df50cd7.js b/docs/storybook/assets/pl-8df50cd7.js deleted file mode 100644 index a66e7b0..0000000 --- a/docs/storybook/assets/pl-8df50cd7.js +++ /dev/null @@ -1 +0,0 @@ -const a="pl",i={AF:"Afganistan",AL:"Albania",DZ:"Algieria",AS:"Samoa Amerykańskie",AD:"Andora",AO:"Angola",AI:"Anguilla",AQ:"Antarktyka",AG:"Antigua i Barbuda",AR:"Argentyna",AM:"Armenia",AW:"Aruba",AU:"Australia",AT:"Austria",AZ:"Azerbejdżan",BS:"Bahamy",BH:"Bahrajn",BD:"Bangladesz",BB:"Barbados",BY:"Białoruś",BE:"Belgia",BZ:"Belize",BJ:"Benin",BM:"Bermudy",BT:"Bhutan",BO:"Boliwia",BA:"Bośnia i Hercegowina",BW:"Botswana",BV:"Wyspa Bouveta",BR:"Brazylia",IO:"Brytyjskie Terytorium Oceanu Indyjskiego",BN:"Brunei",BG:"Bułgaria",BF:"Burkina Faso",BI:"Burundi",KH:"Kambodża",CM:"Kamerun",CA:"Kanada",CV:"Republika Zielonego Przylądka",KY:"Kajmany",CF:"Republika Środkowoafrykańska",TD:"Czad",CL:"Chile",CN:"Chiny",CX:"Wyspa Bożego Narodzenia",CC:"Wyspy Kokosowe",CO:"Kolumbia",KM:"Komory",CG:"Kongo",CD:"Demokratyczna Republika Konga",CK:"Wyspy Cooka",CR:"Kostaryka",CI:"Wybrzeże Kości Słoniowej",HR:"Chorwacja",CU:"Kuba",CY:"Cypr",CZ:"Czechy",DK:"Dania",DJ:"Dżibuti",DM:"Dominika",DO:"Dominikana",EC:"Ekwador",EG:"Egipt",SV:"Salwador",GQ:"Gwinea Równikowa",ER:"Erytrea",EE:"Estonia",ET:"Etiopia",FK:"Falklandy",FO:"Wyspy Owcze",FJ:"Fidżi",FI:"Finlandia",FR:"Francja",GF:"Gujana Francuska",PF:"Polinezja Francuska",TF:"Francuskie Terytoria Południowe i Antarktyczne",GA:"Gabon",GM:"Gambia",GE:"Gruzja",DE:"Niemcy",GH:"Ghana",GI:"Gibraltar",GR:"Grecja",GL:"Grenlandia",GD:"Grenada",GP:"Gwadelupa",GU:"Guam",GT:"Gwatemala",GN:"Gwinea",GW:"Gwinea Bissau",GY:"Gujana",HT:"Haiti",HM:"Wyspy Heard i McDonalda",VA:"Watykan",HN:"Honduras",HK:"Hongkong",HU:"Węgry",IS:"Islandia",IN:"Indie",ID:"Indonezja",IR:"Iran",IQ:"Irak",IE:"Irlandia",IL:"Izrael",IT:"Włochy",JM:"Jamajka",JP:"Japonia",JO:"Jordania",KZ:"Kazachstan",KE:"Kenia",KI:"Kiribati",KP:"Korea Północna",KR:"Korea Południowa",KW:"Kuwejt",KG:"Kirgistan",LA:"Laos",LV:"Łotwa",LB:"Liban",LS:"Lesotho",LR:"Liberia",LY:"Libia",LI:"Liechtenstein",LT:"Litwa",LU:"Luksemburg",MO:"Makau",MK:"Macedonia Północna",MG:"Madagaskar",MW:"Malawi",MY:"Malezja",MV:"Malediwy",ML:"Mali",MT:"Malta",MH:"Wyspy Marshalla",MQ:"Martynika",MR:"Mauretania",MU:"Mauritius",YT:"Majotta",MX:"Meksyk",FM:"Mikronezja",MD:"Mołdawia",MC:"Monako",MN:"Mongolia",MS:"Montserrat",MA:"Maroko",MZ:"Mozambik",MM:"Mjanma",NA:"Namibia",NR:"Nauru",NP:"Nepal",NL:"Holandia",NC:"Nowa Kaledonia",NZ:"Nowa Zelandia",NI:"Nikaragua",NE:"Niger",NG:"Nigeria",NU:"Niue",NF:"Norfolk",MP:"Mariany Północne",NO:"Norwegia",OM:"Oman",PK:"Pakistan",PW:"Palau",PS:"Palestyna",PA:"Panama",PG:"Papua-Nowa Gwinea",PY:"Paragwaj",PE:"Peru",PH:"Filipiny",PN:"Pitcairn",PL:"Polska",PT:"Portugalia",PR:"Portoryko",QA:"Katar",RE:"Reunion",RO:"Rumunia",RU:"Rosja",RW:"Rwanda",SH:"Wyspa Świętej Heleny, Wyspa Wniebowstąpienia i Tristan da Cunha",KN:"Saint Kitts i Nevis",LC:"Saint Lucia",PM:"Saint-Pierre i Miquelon",VC:"Saint Vincent i Grenadyny",WS:"Samoa",SM:"San Marino",ST:"Wyspy Świętego Tomasza i Książęca",SA:"Arabia Saudyjska",SN:"Senegal",SC:"Seszele",SL:"Sierra Leone",SG:"Singapur",SK:"Słowacja",SI:"Słowenia",SB:"Wyspy Salomona",SO:"Somalia",ZA:"Południowa Afryka",GS:"Georgia Południowa i Sandwich Południowy",ES:"Hiszpania",LK:"Sri Lanka",SD:"Sudan",SR:"Surinam",SJ:"Svalbard i Jan Mayen",SZ:"Eswatini",SE:"Szwecja",CH:"Szwajcaria",SY:"Syria",TW:"Tajwan",TJ:"Tadżykistan",TZ:"Tanzania",TH:"Tajlandia",TL:"Timor Wschodni",TG:"Togo",TK:"Tokelau",TO:"Tonga",TT:"Trynidad i Tobago",TN:"Tunezja",TR:"Turcja",TM:"Turkmenistan",TC:"Turks i Caicos",TV:"Tuvalu",UG:"Uganda",UA:"Ukraina",AE:"Zjednoczone Emiraty Arabskie",GB:"Wielka Brytania",US:"Stany Zjednoczone",UM:"Dalekie Wyspy Mniejsze Stanów Zjednoczonych",UY:"Urugwaj",UZ:"Uzbekistan",VU:"Vanuatu",VE:"Wenezuela",VN:"Wietnam",VG:"Brytyjskie Wyspy Dziewicze",VI:"Wyspy Dziewicze Stanów Zjednoczonych",WF:"Wallis i Futuna",EH:"Sahara Zachodnia",YE:"Jemen",ZM:"Zambia",ZW:"Zimbabwe",AX:"Wyspy Alandzkie",BQ:"Bonaire, Sint Eustatius i Saba",CW:"Curaçao",GG:"Guernsey",IM:"Wyspa Man",JE:"Jersey",ME:"Czarnogóra",BL:"Saint-Barthélemy",MF:"Saint-Martin",RS:"Serbia",SX:"Sint Maarten",SS:"Sudan Południowy",XK:"Kosowo"},n={locale:a,countries:i};export{i as countries,n as default,a as locale}; diff --git a/docs/storybook/assets/preview-0a3d7b22.js b/docs/storybook/assets/preview-0a3d7b22.js deleted file mode 100644 index 162caf1..0000000 --- a/docs/storybook/assets/preview-0a3d7b22.js +++ /dev/null @@ -1,396 +0,0 @@ -import{d as $}from"./index-356e4a49.js";const{useMemo:x,useEffect:f}=__STORYBOOK_MODULE_PREVIEW_API__,{global:p}=__STORYBOOK_MODULE_GLOBAL__;var m="outline",u=i=>{(Array.isArray(i)?i:[i]).forEach(r)},r=i=>{let t=typeof i=="string"?i:i.join(""),o=p.document.getElementById(t);o&&o.parentElement&&o.parentElement.removeChild(o)},b=(i,t)=>{let o=p.document.getElementById(i);if(o)o.innerHTML!==t&&(o.innerHTML=t);else{let n=p.document.createElement("style");n.setAttribute("id",i),n.innerHTML=t,p.document.head.appendChild(n)}};function s(i){return $` - ${i} body { - outline: 1px solid #2980b9 !important; - } - - ${i} article { - outline: 1px solid #3498db !important; - } - - ${i} nav { - outline: 1px solid #0088c3 !important; - } - - ${i} aside { - outline: 1px solid #33a0ce !important; - } - - ${i} section { - outline: 1px solid #66b8da !important; - } - - ${i} header { - outline: 1px solid #99cfe7 !important; - } - - ${i} footer { - outline: 1px solid #cce7f3 !important; - } - - ${i} h1 { - outline: 1px solid #162544 !important; - } - - ${i} h2 { - outline: 1px solid #314e6e !important; - } - - ${i} h3 { - outline: 1px solid #3e5e85 !important; - } - - ${i} h4 { - outline: 1px solid #449baf !important; - } - - ${i} h5 { - outline: 1px solid #c7d1cb !important; - } - - ${i} h6 { - outline: 1px solid #4371d0 !important; - } - - ${i} main { - outline: 1px solid #2f4f90 !important; - } - - ${i} address { - outline: 1px solid #1a2c51 !important; - } - - ${i} div { - outline: 1px solid #036cdb !important; - } - - ${i} p { - outline: 1px solid #ac050b !important; - } - - ${i} hr { - outline: 1px solid #ff063f !important; - } - - ${i} pre { - outline: 1px solid #850440 !important; - } - - ${i} blockquote { - outline: 1px solid #f1b8e7 !important; - } - - ${i} ol { - outline: 1px solid #ff050c !important; - } - - ${i} ul { - outline: 1px solid #d90416 !important; - } - - ${i} li { - outline: 1px solid #d90416 !important; - } - - ${i} dl { - outline: 1px solid #fd3427 !important; - } - - ${i} dt { - outline: 1px solid #ff0043 !important; - } - - ${i} dd { - outline: 1px solid #e80174 !important; - } - - ${i} figure { - outline: 1px solid #ff00bb !important; - } - - ${i} figcaption { - outline: 1px solid #bf0032 !important; - } - - ${i} table { - outline: 1px solid #00cc99 !important; - } - - ${i} caption { - outline: 1px solid #37ffc4 !important; - } - - ${i} thead { - outline: 1px solid #98daca !important; - } - - ${i} tbody { - outline: 1px solid #64a7a0 !important; - } - - ${i} tfoot { - outline: 1px solid #22746b !important; - } - - ${i} tr { - outline: 1px solid #86c0b2 !important; - } - - ${i} th { - outline: 1px solid #a1e7d6 !important; - } - - ${i} td { - outline: 1px solid #3f5a54 !important; - } - - ${i} col { - outline: 1px solid #6c9a8f !important; - } - - ${i} colgroup { - outline: 1px solid #6c9a9d !important; - } - - ${i} button { - outline: 1px solid #da8301 !important; - } - - ${i} datalist { - outline: 1px solid #c06000 !important; - } - - ${i} fieldset { - outline: 1px solid #d95100 !important; - } - - ${i} form { - outline: 1px solid #d23600 !important; - } - - ${i} input { - outline: 1px solid #fca600 !important; - } - - ${i} keygen { - outline: 1px solid #b31e00 !important; - } - - ${i} label { - outline: 1px solid #ee8900 !important; - } - - ${i} legend { - outline: 1px solid #de6d00 !important; - } - - ${i} meter { - outline: 1px solid #e8630c !important; - } - - ${i} optgroup { - outline: 1px solid #b33600 !important; - } - - ${i} option { - outline: 1px solid #ff8a00 !important; - } - - ${i} output { - outline: 1px solid #ff9619 !important; - } - - ${i} progress { - outline: 1px solid #e57c00 !important; - } - - ${i} select { - outline: 1px solid #e26e0f !important; - } - - ${i} textarea { - outline: 1px solid #cc5400 !important; - } - - ${i} details { - outline: 1px solid #33848f !important; - } - - ${i} summary { - outline: 1px solid #60a1a6 !important; - } - - ${i} command { - outline: 1px solid #438da1 !important; - } - - ${i} menu { - outline: 1px solid #449da6 !important; - } - - ${i} del { - outline: 1px solid #bf0000 !important; - } - - ${i} ins { - outline: 1px solid #400000 !important; - } - - ${i} img { - outline: 1px solid #22746b !important; - } - - ${i} iframe { - outline: 1px solid #64a7a0 !important; - } - - ${i} embed { - outline: 1px solid #98daca !important; - } - - ${i} object { - outline: 1px solid #00cc99 !important; - } - - ${i} param { - outline: 1px solid #37ffc4 !important; - } - - ${i} video { - outline: 1px solid #6ee866 !important; - } - - ${i} audio { - outline: 1px solid #027353 !important; - } - - ${i} source { - outline: 1px solid #012426 !important; - } - - ${i} canvas { - outline: 1px solid #a2f570 !important; - } - - ${i} track { - outline: 1px solid #59a600 !important; - } - - ${i} map { - outline: 1px solid #7be500 !important; - } - - ${i} area { - outline: 1px solid #305900 !important; - } - - ${i} a { - outline: 1px solid #ff62ab !important; - } - - ${i} em { - outline: 1px solid #800b41 !important; - } - - ${i} strong { - outline: 1px solid #ff1583 !important; - } - - ${i} i { - outline: 1px solid #803156 !important; - } - - ${i} b { - outline: 1px solid #cc1169 !important; - } - - ${i} u { - outline: 1px solid #ff0430 !important; - } - - ${i} s { - outline: 1px solid #f805e3 !important; - } - - ${i} small { - outline: 1px solid #d107b2 !important; - } - - ${i} abbr { - outline: 1px solid #4a0263 !important; - } - - ${i} q { - outline: 1px solid #240018 !important; - } - - ${i} cite { - outline: 1px solid #64003c !important; - } - - ${i} dfn { - outline: 1px solid #b4005a !important; - } - - ${i} sub { - outline: 1px solid #dba0c8 !important; - } - - ${i} sup { - outline: 1px solid #cc0256 !important; - } - - ${i} time { - outline: 1px solid #d6606d !important; - } - - ${i} code { - outline: 1px solid #e04251 !important; - } - - ${i} kbd { - outline: 1px solid #5e001f !important; - } - - ${i} samp { - outline: 1px solid #9c0033 !important; - } - - ${i} var { - outline: 1px solid #d90047 !important; - } - - ${i} mark { - outline: 1px solid #ff0053 !important; - } - - ${i} bdi { - outline: 1px solid #bf3668 !important; - } - - ${i} bdo { - outline: 1px solid #6f1400 !important; - } - - ${i} ruby { - outline: 1px solid #ff7b93 !important; - } - - ${i} rt { - outline: 1px solid #ff2f54 !important; - } - - ${i} rp { - outline: 1px solid #803e49 !important; - } - - ${i} span { - outline: 1px solid #cc2643 !important; - } - - ${i} br { - outline: 1px solid #db687d !important; - } - - ${i} wbr { - outline: 1px solid #db175b !important; - }`}var e=(i,t)=>{let{globals:o}=t,n=[!0,"true"].includes(o[m]),d=t.viewMode==="docs",l=x(()=>s(d?'[data-story-block="true"]':".sb-show-main"),[t]);return f(()=>{let a=d?`addon-outline-docs-${t.id}`:"addon-outline";return n?b(a,l):u(a),()=>{u(a)}},[n,l,t]),i()},h=[e],g={[m]:!1};export{h as decorators,g as initialGlobals}; diff --git a/docs/storybook/assets/preview-31cb6d83.js b/docs/storybook/assets/preview-31cb6d83.js deleted file mode 100644 index 6f1e1dd..0000000 --- a/docs/storybook/assets/preview-31cb6d83.js +++ /dev/null @@ -1 +0,0 @@ -const{makeDecorator:O,addons:_}=__STORYBOOK_MODULE_PREVIEW_API__,{STORY_CHANGED:E,SELECT_STORY:l}=__STORYBOOK_MODULE_CORE_EVENTS__,{global:L}=__STORYBOOK_MODULE_GLOBAL__;var c="links",{document:s,HTMLElement:v}=L,d=e=>_.getChannel().emit(l,e),i=e=>{let{target:t}=e;if(!(t instanceof v))return;let o=t,{sbKind:a,sbStory:r}=o.dataset;(a||r)&&(e.preventDefault(),d({kind:a,story:r}))},n=!1,m=()=>{n||(n=!0,s.addEventListener("click",i))},k=()=>{n&&(n=!1,s.removeEventListener("click",i))},R=O({name:"withLinks",parameterName:c,wrapper:(e,t)=>(m(),_.getChannel().once(E,k),e(t))}),S=[R];export{S as decorators}; diff --git a/docs/storybook/assets/preview-68a5005d.css b/docs/storybook/assets/preview-68a5005d.css deleted file mode 100644 index 37db0ab..0000000 --- a/docs/storybook/assets/preview-68a5005d.css +++ /dev/null @@ -1 +0,0 @@ -/*! modern-normalize v1.1.0 | MIT License | https://github.com/sindresorhus/modern-normalize */*,:before,:after{box-sizing:border-box}html{-moz-tab-size:4;tab-size:4}html{line-height:1.15;-webkit-text-size-adjust:100%}body{margin:0}body{font-family:system-ui,-apple-system,Segoe UI,Roboto,Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji"}hr{height:0;color:inherit}abbr[title]{text-decoration:underline dotted}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Consolas,Liberation Mono,Menlo,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button}::-moz-focus-inner{border-style:none;padding:0}:-moz-focusring{outline:1px dotted ButtonText}:-moz-ui-invalid{box-shadow:none}legend{padding:0}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}.flatpickr-calendar{background:transparent;opacity:0;display:none;text-align:center;visibility:hidden;padding:0;-webkit-animation:none;animation:none;direction:ltr;border:0;font-size:14px;line-height:24px;border-radius:5px;position:absolute;width:307.875px;-webkit-box-sizing:border-box;box-sizing:border-box;-ms-touch-action:manipulation;touch-action:manipulation;-webkit-box-shadow:0 3px 13px rgba(0,0,0,.08);box-shadow:0 3px 13px #00000014}.flatpickr-calendar.open,.flatpickr-calendar.inline{opacity:1;max-height:640px;visibility:visible}.flatpickr-calendar.open{display:inline-block;z-index:99999}.flatpickr-calendar.animate.open{-webkit-animation:fpFadeInDown .3s cubic-bezier(.23,1,.32,1);animation:fpFadeInDown .3s cubic-bezier(.23,1,.32,1)}.flatpickr-calendar.inline{display:block;position:relative;top:2px}.flatpickr-calendar.static{position:absolute;top:calc(100% + 2px)}.flatpickr-calendar.static.open{z-index:999;display:block}.flatpickr-calendar.multiMonth .flatpickr-days .dayContainer:nth-child(n+1) .flatpickr-day.inRange:nth-child(7n+7){-webkit-box-shadow:none!important;box-shadow:none!important}.flatpickr-calendar.multiMonth .flatpickr-days .dayContainer:nth-child(n+2) .flatpickr-day.inRange:nth-child(7n+1){-webkit-box-shadow:-2px 0 0 #e6e6e6,5px 0 0 #e6e6e6;box-shadow:-2px 0 #e6e6e6,5px 0 #e6e6e6}.flatpickr-calendar .hasWeeks .dayContainer,.flatpickr-calendar .hasTime .dayContainer{border-bottom:0;border-bottom-right-radius:0;border-bottom-left-radius:0}.flatpickr-calendar .hasWeeks .dayContainer{border-left:0}.flatpickr-calendar.hasTime .flatpickr-time{height:40px;border-top:1px solid #eceef1}.flatpickr-calendar.hasTime .flatpickr-innerContainer{border-bottom:0}.flatpickr-calendar.hasTime .flatpickr-time{border:1px solid #eceef1}.flatpickr-calendar.noCalendar.hasTime .flatpickr-time{height:auto}.flatpickr-calendar:before,.flatpickr-calendar:after{position:absolute;display:block;pointer-events:none;border:solid transparent;content:"";height:0;width:0;left:22px}.flatpickr-calendar.rightMost:before,.flatpickr-calendar.arrowRight:before,.flatpickr-calendar.rightMost:after,.flatpickr-calendar.arrowRight:after{left:auto;right:22px}.flatpickr-calendar.arrowCenter:before,.flatpickr-calendar.arrowCenter:after{left:50%;right:50%}.flatpickr-calendar:before{border-width:5px;margin:0 -5px}.flatpickr-calendar:after{border-width:4px;margin:0 -4px}.flatpickr-calendar.arrowTop:before,.flatpickr-calendar.arrowTop:after{bottom:100%}.flatpickr-calendar.arrowTop:before{border-bottom-color:#eceef1}.flatpickr-calendar.arrowTop:after{border-bottom-color:#eceef1}.flatpickr-calendar.arrowBottom:before,.flatpickr-calendar.arrowBottom:after{top:100%}.flatpickr-calendar.arrowBottom:before{border-top-color:#eceef1}.flatpickr-calendar.arrowBottom:after{border-top-color:#eceef1}.flatpickr-calendar:focus{outline:0}.flatpickr-wrapper{position:relative;display:inline-block}.flatpickr-months{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex}.flatpickr-months .flatpickr-month{border-radius:5px 5px 0 0;background:#eceef1;color:#5a6171;fill:#5a6171;height:34px;line-height:1;text-align:center;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;overflow:hidden;-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1}.flatpickr-months .flatpickr-prev-month,.flatpickr-months .flatpickr-next-month{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;text-decoration:none;cursor:pointer;position:absolute;top:0;height:34px;padding:10px;z-index:3;color:#5a6171;fill:#5a6171}.flatpickr-months .flatpickr-prev-month.flatpickr-disabled,.flatpickr-months .flatpickr-next-month.flatpickr-disabled{display:none}.flatpickr-months .flatpickr-prev-month i,.flatpickr-months .flatpickr-next-month i{position:relative}.flatpickr-months .flatpickr-prev-month.flatpickr-prev-month,.flatpickr-months .flatpickr-next-month.flatpickr-prev-month{left:0}.flatpickr-months .flatpickr-prev-month.flatpickr-next-month,.flatpickr-months .flatpickr-next-month.flatpickr-next-month{right:0}.flatpickr-months .flatpickr-prev-month:hover,.flatpickr-months .flatpickr-next-month:hover{color:#bbb}.flatpickr-months .flatpickr-prev-month:hover svg,.flatpickr-months .flatpickr-next-month:hover svg{fill:#f64747}.flatpickr-months .flatpickr-prev-month svg,.flatpickr-months .flatpickr-next-month svg{width:14px;height:14px}.flatpickr-months .flatpickr-prev-month svg path,.flatpickr-months .flatpickr-next-month svg path{-webkit-transition:fill .1s;transition:fill .1s;fill:inherit}.numInputWrapper{position:relative;height:auto}.numInputWrapper input,.numInputWrapper span{display:inline-block}.numInputWrapper input{width:100%}.numInputWrapper input::-ms-clear{display:none}.numInputWrapper input::-webkit-outer-spin-button,.numInputWrapper input::-webkit-inner-spin-button{margin:0;-webkit-appearance:none}.numInputWrapper span{position:absolute;right:0;width:14px;padding:0 4px 0 2px;height:50%;line-height:50%;opacity:0;cursor:pointer;border:1px solid rgba(72,72,72,.15);-webkit-box-sizing:border-box;box-sizing:border-box}.numInputWrapper span:hover{background:rgba(0,0,0,.1)}.numInputWrapper span:active{background:rgba(0,0,0,.2)}.numInputWrapper span:after{display:block;content:"";position:absolute}.numInputWrapper span.arrowUp{top:0;border-bottom:0}.numInputWrapper span.arrowUp:after{border-left:4px solid transparent;border-right:4px solid transparent;border-bottom:4px solid rgba(72,72,72,.6);top:26%}.numInputWrapper span.arrowDown{top:50%}.numInputWrapper span.arrowDown:after{border-left:4px solid transparent;border-right:4px solid transparent;border-top:4px solid rgba(72,72,72,.6);top:40%}.numInputWrapper span svg{width:inherit;height:auto}.numInputWrapper span svg path{fill:#5a617180}.numInputWrapper:hover{background:rgba(0,0,0,.05)}.numInputWrapper:hover span{opacity:1}.flatpickr-current-month{font-size:135%;line-height:inherit;font-weight:300;color:inherit;position:absolute;width:75%;left:12.5%;padding:7.48px 0 0;line-height:1;height:34px;display:inline-block;text-align:center;-webkit-transform:translate3d(0px,0px,0px);transform:translateZ(0)}.flatpickr-current-month span.cur-month{font-family:inherit;font-weight:700;color:inherit;display:inline-block;margin-left:.5ch;padding:0}.flatpickr-current-month span.cur-month:hover{background:rgba(0,0,0,.05)}.flatpickr-current-month .numInputWrapper{width:6ch;width:7ch�;display:inline-block}.flatpickr-current-month .numInputWrapper span.arrowUp:after{border-bottom-color:#5a6171}.flatpickr-current-month .numInputWrapper span.arrowDown:after{border-top-color:#5a6171}.flatpickr-current-month input.cur-year{background:transparent;-webkit-box-sizing:border-box;box-sizing:border-box;color:inherit;cursor:text;padding:0 0 0 .5ch;margin:0;display:inline-block;font-size:inherit;font-family:inherit;font-weight:300;line-height:inherit;height:auto;border:0;border-radius:0;vertical-align:initial;-webkit-appearance:textfield;-moz-appearance:textfield;appearance:textfield}.flatpickr-current-month input.cur-year:focus{outline:0}.flatpickr-current-month input.cur-year[disabled],.flatpickr-current-month input.cur-year[disabled]:hover{font-size:100%;color:#5a617180;background:transparent;pointer-events:none}.flatpickr-current-month .flatpickr-monthDropdown-months{appearance:menulist;background:#eceef1;border:none;border-radius:0;box-sizing:border-box;color:inherit;cursor:pointer;font-size:inherit;font-family:inherit;font-weight:300;height:auto;line-height:inherit;margin:-1px 0 0;outline:none;padding:0 0 0 .5ch;position:relative;vertical-align:initial;-webkit-box-sizing:border-box;-webkit-appearance:menulist;-moz-appearance:menulist;width:auto}.flatpickr-current-month .flatpickr-monthDropdown-months:focus,.flatpickr-current-month .flatpickr-monthDropdown-months:active{outline:none}.flatpickr-current-month .flatpickr-monthDropdown-months:hover{background:rgba(0,0,0,.05)}.flatpickr-current-month .flatpickr-monthDropdown-months .flatpickr-monthDropdown-month{background-color:#eceef1;outline:none;padding:0}.flatpickr-weekdays{background:#eceef1;text-align:center;overflow:hidden;width:100%;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;height:28px}.flatpickr-weekdays .flatpickr-weekdaycontainer{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1}span.flatpickr-weekday{cursor:default;font-size:90%;background:#eceef1;color:#5a6171;line-height:1;margin:0;text-align:center;display:block;-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1;font-weight:bolder}.dayContainer,.flatpickr-weeks{padding:1px 0 0}.flatpickr-days{position:relative;overflow:hidden;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:start;-webkit-align-items:flex-start;-ms-flex-align:start;align-items:flex-start;width:307.875px;border-left:1px solid #eceef1;border-right:1px solid #eceef1}.flatpickr-days:focus{outline:0}.dayContainer{padding:0;outline:0;text-align:left;width:307.875px;min-width:307.875px;max-width:307.875px;-webkit-box-sizing:border-box;box-sizing:border-box;display:inline-block;display:-ms-flexbox;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-flex-wrap:wrap;flex-wrap:wrap;-ms-flex-wrap:wrap;-ms-flex-pack:justify;-webkit-justify-content:space-around;justify-content:space-around;-webkit-transform:translate3d(0px,0px,0px);transform:translateZ(0);opacity:1}.dayContainer+.dayContainer{-webkit-box-shadow:-1px 0 0 #eceef1;box-shadow:-1px 0 #eceef1}.flatpickr-day{background:none;border:1px solid transparent;border-radius:150px;-webkit-box-sizing:border-box;box-sizing:border-box;color:#484848;cursor:pointer;font-weight:400;width:14.2857143%;-webkit-flex-basis:14.2857143%;-ms-flex-preferred-size:14.2857143%;flex-basis:14.2857143%;max-width:39px;height:39px;line-height:39px;margin:0;display:inline-block;position:relative;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;text-align:center}.flatpickr-day.inRange,.flatpickr-day.prevMonthDay.inRange,.flatpickr-day.nextMonthDay.inRange,.flatpickr-day.today.inRange,.flatpickr-day.prevMonthDay.today.inRange,.flatpickr-day.nextMonthDay.today.inRange,.flatpickr-day:hover,.flatpickr-day.prevMonthDay:hover,.flatpickr-day.nextMonthDay:hover,.flatpickr-day:focus,.flatpickr-day.prevMonthDay:focus,.flatpickr-day.nextMonthDay:focus{cursor:pointer;outline:0;background:#e2e2e2;border-color:#e2e2e2}.flatpickr-day.today{border-color:#bbb}.flatpickr-day.today:hover,.flatpickr-day.today:focus{border-color:#bbb;background:#bbb;color:#fff}.flatpickr-day.selected,.flatpickr-day.startRange,.flatpickr-day.endRange,.flatpickr-day.selected.inRange,.flatpickr-day.startRange.inRange,.flatpickr-day.endRange.inRange,.flatpickr-day.selected:focus,.flatpickr-day.startRange:focus,.flatpickr-day.endRange:focus,.flatpickr-day.selected:hover,.flatpickr-day.startRange:hover,.flatpickr-day.endRange:hover,.flatpickr-day.selected.prevMonthDay,.flatpickr-day.startRange.prevMonthDay,.flatpickr-day.endRange.prevMonthDay,.flatpickr-day.selected.nextMonthDay,.flatpickr-day.startRange.nextMonthDay,.flatpickr-day.endRange.nextMonthDay{background:#ff5a5f;-webkit-box-shadow:none;box-shadow:none;color:#fff;border-color:#ff5a5f}.flatpickr-day.selected.startRange,.flatpickr-day.startRange.startRange,.flatpickr-day.endRange.startRange{border-radius:50px 0 0 50px}.flatpickr-day.selected.endRange,.flatpickr-day.startRange.endRange,.flatpickr-day.endRange.endRange{border-radius:0 50px 50px 0}.flatpickr-day.selected.startRange+.endRange:not(:nth-child(7n+1)),.flatpickr-day.startRange.startRange+.endRange:not(:nth-child(7n+1)),.flatpickr-day.endRange.startRange+.endRange:not(:nth-child(7n+1)){-webkit-box-shadow:-10px 0 0 #ff5a5f;box-shadow:-10px 0 #ff5a5f}.flatpickr-day.selected.startRange.endRange,.flatpickr-day.startRange.startRange.endRange,.flatpickr-day.endRange.startRange.endRange{border-radius:50px}.flatpickr-day.inRange{border-radius:0;-webkit-box-shadow:-5px 0 0 #e2e2e2,5px 0 0 #e2e2e2;box-shadow:-5px 0 #e2e2e2,5px 0 #e2e2e2}.flatpickr-day.flatpickr-disabled,.flatpickr-day.flatpickr-disabled:hover,.flatpickr-day.prevMonthDay,.flatpickr-day.nextMonthDay,.flatpickr-day.notAllowed,.flatpickr-day.notAllowed.prevMonthDay,.flatpickr-day.notAllowed.nextMonthDay{color:#4848484d;background:transparent;border-color:transparent;cursor:default}.flatpickr-day.flatpickr-disabled,.flatpickr-day.flatpickr-disabled:hover{cursor:not-allowed;color:#4848481a}.flatpickr-day.week.selected{border-radius:0;-webkit-box-shadow:-5px 0 0 #ff5a5f,5px 0 0 #ff5a5f;box-shadow:-5px 0 #ff5a5f,5px 0 #ff5a5f}.flatpickr-day.hidden{visibility:hidden}.rangeMode .flatpickr-day{margin-top:1px}.flatpickr-weekwrapper{float:left}.flatpickr-weekwrapper .flatpickr-weeks{padding:0 12px;border-left:1px solid #eceef1}.flatpickr-weekwrapper .flatpickr-weekday{float:none;width:100%;line-height:28px}.flatpickr-weekwrapper span.flatpickr-day,.flatpickr-weekwrapper span.flatpickr-day:hover{display:block;width:100%;max-width:none;color:#4848484d;background:transparent;cursor:default;border:none}.flatpickr-innerContainer{display:block;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-sizing:border-box;box-sizing:border-box;overflow:hidden;background:#fff;border-bottom:1px solid #eceef1}.flatpickr-rContainer{display:inline-block;padding:0;-webkit-box-sizing:border-box;box-sizing:border-box}.flatpickr-time{text-align:center;outline:0;display:block;height:0;line-height:40px;max-height:40px;-webkit-box-sizing:border-box;box-sizing:border-box;overflow:hidden;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;background:#fff;border-radius:0 0 5px 5px}.flatpickr-time:after{content:"";display:table;clear:both}.flatpickr-time .numInputWrapper{-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1;width:40%;height:40px;float:left}.flatpickr-time .numInputWrapper span.arrowUp:after{border-bottom-color:#484848}.flatpickr-time .numInputWrapper span.arrowDown:after{border-top-color:#484848}.flatpickr-time.hasSeconds .numInputWrapper{width:26%}.flatpickr-time.time24hr .numInputWrapper{width:49%}.flatpickr-time input{background:transparent;-webkit-box-shadow:none;box-shadow:none;border:0;border-radius:0;text-align:center;margin:0;padding:0;height:inherit;line-height:inherit;color:#484848;font-size:14px;position:relative;-webkit-box-sizing:border-box;box-sizing:border-box;-webkit-appearance:textfield;-moz-appearance:textfield;appearance:textfield}.flatpickr-time input.flatpickr-hour{font-weight:700}.flatpickr-time input.flatpickr-minute,.flatpickr-time input.flatpickr-second{font-weight:400}.flatpickr-time input:focus{outline:0;border:0}.flatpickr-time .flatpickr-time-separator,.flatpickr-time .flatpickr-am-pm{height:inherit;float:left;line-height:inherit;color:#484848;font-weight:700;width:2%;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-align-self:center;-ms-flex-item-align:center;align-self:center}.flatpickr-time .flatpickr-am-pm{outline:0;width:18%;cursor:pointer;text-align:center;font-weight:400}.flatpickr-time input:hover,.flatpickr-time .flatpickr-am-pm:hover,.flatpickr-time input:focus,.flatpickr-time .flatpickr-am-pm:focus{background:#eaeaea}.flatpickr-input[readonly]{cursor:pointer}@-webkit-keyframes fpFadeInDown{0%{opacity:0;-webkit-transform:translate3d(0,-20px,0);transform:translate3d(0,-20px,0)}to{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}@keyframes fpFadeInDown{0%{opacity:0;-webkit-transform:translate3d(0,-20px,0);transform:translate3d(0,-20px,0)}to{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}span.flatpickr-day.selected{font-weight:700}.tippy-box[data-animation=fade][data-state=hidden]{opacity:0}[data-tippy-root]{max-width:calc(100vw - 10px)}.tippy-box{position:relative;background-color:#333;color:#fff;border-radius:4px;font-size:14px;line-height:1.4;white-space:normal;outline:0;transition-property:transform,visibility,opacity}.tippy-box[data-placement^=top]>.tippy-arrow{bottom:0}.tippy-box[data-placement^=top]>.tippy-arrow:before{bottom:-7px;left:0;border-width:8px 8px 0;border-top-color:initial;transform-origin:center top}.tippy-box[data-placement^=bottom]>.tippy-arrow{top:0}.tippy-box[data-placement^=bottom]>.tippy-arrow:before{top:-7px;left:0;border-width:0 8px 8px;border-bottom-color:initial;transform-origin:center bottom}.tippy-box[data-placement^=left]>.tippy-arrow{right:0}.tippy-box[data-placement^=left]>.tippy-arrow:before{border-width:8px 0 8px 8px;border-left-color:initial;right:-7px;transform-origin:center left}.tippy-box[data-placement^=right]>.tippy-arrow{left:0}.tippy-box[data-placement^=right]>.tippy-arrow:before{left:-7px;border-width:8px 8px 8px 0;border-right-color:initial;transform-origin:center right}.tippy-box[data-inertia][data-state=visible]{transition-timing-function:cubic-bezier(.54,1.5,.38,1.11)}.tippy-arrow{width:16px;height:16px;color:#333}.tippy-arrow:before{content:"";position:absolute;border-color:transparent;border-style:solid}.tippy-content{position:relative;padding:5px 9px;z-index:1}[data-simplebar]{position:relative;flex-direction:column;flex-wrap:wrap;justify-content:flex-start;align-content:flex-start;align-items:flex-start}.simplebar-wrapper{overflow:hidden;width:inherit;height:inherit;max-width:inherit;max-height:inherit}.simplebar-mask{direction:inherit;position:absolute;overflow:hidden;padding:0;margin:0;left:0;top:0;bottom:0;right:0;width:auto!important;height:auto!important;z-index:0}.simplebar-offset{direction:inherit!important;box-sizing:inherit!important;resize:none!important;position:absolute;top:0;left:0;bottom:0;right:0;padding:0;margin:0;-webkit-overflow-scrolling:touch}.simplebar-content-wrapper{direction:inherit;box-sizing:border-box!important;position:relative;display:block;height:100%;width:auto;max-width:100%;max-height:100%;overflow:auto;scrollbar-width:none;-ms-overflow-style:none}.simplebar-content-wrapper::-webkit-scrollbar,.simplebar-hide-scrollbar::-webkit-scrollbar{display:none;width:0;height:0}.simplebar-content:after,.simplebar-content:before{content:" ";display:table}.simplebar-placeholder{max-height:100%;max-width:100%;width:100%;pointer-events:none}.simplebar-height-auto-observer-wrapper{box-sizing:inherit!important;height:100%;width:100%;max-width:1px;position:relative;float:left;max-height:1px;overflow:hidden;z-index:-1;padding:0;margin:0;pointer-events:none;flex-grow:inherit;flex-shrink:0;flex-basis:0}.simplebar-height-auto-observer{box-sizing:inherit;display:block;opacity:0;position:absolute;top:0;left:0;height:1000%;width:1000%;min-height:1px;min-width:1px;overflow:hidden;pointer-events:none;z-index:-1}.simplebar-track{z-index:1;position:absolute;right:0;bottom:0;pointer-events:none;overflow:hidden}[data-simplebar].simplebar-dragging,[data-simplebar].simplebar-dragging .simplebar-content{pointer-events:none;-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}[data-simplebar].simplebar-dragging .simplebar-track{pointer-events:all}.simplebar-scrollbar{position:absolute;left:0;right:0;min-height:10px}.simplebar-scrollbar:before{position:absolute;content:"";background:#000;border-radius:7px;left:2px;right:2px;opacity:0;transition:opacity .2s .5s linear}.simplebar-scrollbar.simplebar-visible:before{opacity:.5;transition-delay:0s;transition-duration:0s}.simplebar-track.simplebar-vertical{top:0;width:11px}.simplebar-scrollbar:before{top:2px;bottom:2px;left:2px;right:2px}.simplebar-track.simplebar-horizontal{left:0;height:11px}.simplebar-track.simplebar-horizontal .simplebar-scrollbar{right:auto;left:0;top:0;bottom:0;min-height:0;min-width:10px;width:auto}[data-simplebar-direction=rtl] .simplebar-track.simplebar-vertical{right:auto;left:0}.simplebar-dummy-scrollbar-size{direction:rtl;position:fixed;opacity:0;visibility:hidden;height:500px;width:500px;overflow-y:hidden;overflow-x:scroll;-ms-overflow-style:scrollbar!important}.simplebar-dummy-scrollbar-size>div{width:200%;height:200%;margin:10px 0}.simplebar-hide-scrollbar{position:fixed;left:0;visibility:hidden;overflow-y:scroll;scrollbar-width:none;-ms-overflow-style:none}@font-face{font-family:Rubik;src:url(./Rubik-Regular-2e9798a1.woff2) format("woff2");font-style:normal;font-weight:400;font-display:block}@font-face{font-family:Rubik;src:url(./Rubik-Medium-542fde66.woff2) format("woff2");font-style:normal;font-weight:500;font-display:block}@font-face{font-family:Noto Sans;src:url(./NotoSans-Regular-0b6d4332.woff2) format("woff2");font-style:normal;font-weight:400;font-display:block}@font-face{font-family:Noto Sans;src:url(./NotoSans-Italic-0f98eb37.woff2) format("woff2");font-style:italic;font-weight:400;font-display:block}@font-face{font-family:Noto Sans;src:url(./NotoSans-Medium-b3246b06.woff2) format("woff2");font-style:normal;font-weight:500;font-display:block}@font-face{font-family:Noto Sans;src:url(./NotoSans-MediumItalic-de5c7542.woff2) format("woff2");font-style:italic;font-weight:500;font-display:block}@font-face{font-family:Noto Sans;src:url(./NotoSans-SemiBold-8ad4418f.woff2) format("woff2");font-style:normal;font-weight:600;font-display:block}@font-face{font-family:Noto Sans;src:url(./NotoSans-SemiBoldItalic-c8dd6880.woff2) format("woff2");font-style:italic;font-weight:600;font-display:block}@font-face{font-family:Noto Sans;src:url(./NotoSans-Bold-4ec9a19e.woff2) format("woff2");font-style:normal;font-weight:700;font-display:block}@font-face{font-family:Noto Sans;src:url(./NotoSans-BoldItalic-e561a929.woff2) format("woff2");font-style:italic;font-weight:700;font-display:block}@font-face{font-family:Source Code Pro;src:url(./SourceCodePro-Regular-88b300ce.woff2) format("woff2");font-style:normal;font-weight:400;font-display:block}@font-face{font-family:Source Code Pro;src:url(./SourceCodePro-It-49e2814d.woff2) format("woff2");font-style:italic;font-weight:400;font-display:block}@font-face{font-family:Source Code Pro;src:url(./SourceCodePro-Bold-f5ea5f40.woff2) format("woff2");font-style:normal;font-weight:700;font-display:block}@font-face{font-family:Source Code Pro;src:url(./SourceCodePro-BoldIt-1c60abb7.woff2) format("woff2");font-style:italic;font-weight:700;font-display:block}@font-face{font-family:Lato;src:url(./Lato-BoldItalic-74b985fb.woff2) format("woff2");font-weight:700;font-style:italic}@font-face{font-family:Lato Hairline;src:url(./Lato-HairlineItalic-f0144380.woff2) format("woff2");font-weight:300;font-style:italic}@font-face{font-family:Lato;src:url(./Lato-BlackItalic-ec8a298d.woff2) format("woff2");font-weight:900;font-style:italic}@font-face{font-family:Lato;src:url(./Lato-LightItalic-8c603b0a.woff2) format("woff2");font-weight:300;font-style:italic}@font-face{font-family:Lato;src:url(./Lato-Italic-4eb89d70.woff2) format("woff2");font-weight:400;font-style:italic}@font-face{font-family:Lato;src:url(./Lato-Bold-e47c34e4.woff2) format("woff2");font-weight:700;font-style:normal}@font-face{font-family:Lato;src:url(./Lato-Black-c1691198.woff2) format("woff2");font-weight:900;font-style:normal}@font-face{font-family:Lato;src:url(./Lato-Light-bd4c2248.woff2) format("woff2");font-weight:300;font-style:normal}@font-face{font-family:Lato;src:url(./Lato-Regular-76df5b67.woff2) format("woff2");font-weight:400;font-style:normal}@font-face{font-family:Lato Hairline;src:url(./Lato-Hairline-9d26e5ba.woff2) format("woff2");font-weight:300;font-style:normal}@font-face{font-family:Inter;font-style:normal;font-weight:100;font-display:swap;src:url(./Inter-Thin-77d96c1c.woff2?v=3.19) format("woff2")}@font-face{font-family:Inter;font-style:italic;font-weight:100;font-display:swap;src:url(./Inter-ThinItalic-d82beee8.woff2?v=3.19) format("woff2")}@font-face{font-family:Inter;font-style:normal;font-weight:200;font-display:swap;src:url(./Inter-ExtraLight-b6cd094a.woff2?v=3.19) format("woff2")}@font-face{font-family:Inter;font-style:italic;font-weight:200;font-display:swap;src:url(./Inter-ExtraLightItalic-db229bf3.woff2?v=3.19) format("woff2")}@font-face{font-family:Inter;font-style:normal;font-weight:300;font-display:swap;src:url(./Inter-Light-36b86832.woff2?v=3.19) format("woff2")}@font-face{font-family:Inter;font-style:italic;font-weight:300;font-display:swap;src:url(./Inter-LightItalic-737ac201.woff2?v=3.19) format("woff2")}@font-face{font-family:Inter;font-style:normal;font-weight:400;font-display:swap;src:url(./Inter-Regular-d612f121.woff2?v=3.19) format("woff2")}@font-face{font-family:Inter;font-style:italic;font-weight:400;font-display:swap;src:url(./Inter-Italic-900058df.woff2?v=3.19) format("woff2")}@font-face{font-family:Inter;font-style:normal;font-weight:500;font-display:swap;src:url(./Inter-Medium-1b498b95.woff2?v=3.19) format("woff2")}@font-face{font-family:Inter;font-style:italic;font-weight:500;font-display:swap;src:url(./Inter-MediumItalic-81600858.woff2?v=3.19) format("woff2")}@font-face{font-family:Inter;font-style:normal;font-weight:600;font-display:swap;src:url(./Inter-SemiBold-15226129.woff2?v=3.19) format("woff2")}@font-face{font-family:Inter;font-style:italic;font-weight:600;font-display:swap;src:url(./Inter-SemiBoldItalic-3b6df7d0.woff2?v=3.19) format("woff2")}@font-face{font-family:Inter;font-style:normal;font-weight:700;font-display:swap;src:url(./Inter-Bold-c63158ba.woff2?v=3.19) format("woff2")}@font-face{font-family:Inter;font-style:italic;font-weight:700;font-display:swap;src:url(./Inter-BoldItalic-3f211964.woff2?v=3.19) format("woff2")}@font-face{font-family:Inter;font-style:normal;font-weight:800;font-display:swap;src:url(./Inter-ExtraBold-307d9809.woff2?v=3.19) format("woff2")}@font-face{font-family:Inter;font-style:italic;font-weight:800;font-display:swap;src:url(./Inter-ExtraBoldItalic-cf6b1d6c.woff2?v=3.19) format("woff2")}@font-face{font-family:Inter;font-style:normal;font-weight:900;font-display:swap;src:url(./Inter-Black-fc10113c.woff2?v=3.19) format("woff2")}@font-face{font-family:Inter;font-style:italic;font-weight:900;font-display:swap;src:url(./Inter-BlackItalic-bc80081d.woff2?v=3.19) format("woff2")}@font-face{font-family:Inter var;font-style:normal;font-weight:100 900;font-display:swap;src:url(./Inter-roman.var-17fe38ab.woff2?v=3.19) format("woff2");font-named-instance:"Regular"}@font-face{font-family:Inter var;font-style:italic;font-weight:100 900;font-display:swap;src:url(./Inter-italic.var-d1401419.woff2?v=3.19) format("woff2");font-named-instance:"Italic"}@font-face{font-family:solid-dazzle;src:url(./solid-dazzle-3f1e3959.woff2?392f87bdc7b8af9575958c353c4e8ca3) format("woff2");font-weight:400;font-style:normal}@font-face{font-family:outline-dazzle;src:url(./outline-dazzle-e5727ddb.woff2?374855a16181b584c605204dcba9f54d) format("woff2");font-weight:400;font-style:normal}@font-face{font-family:DpCustomIcons;src:url(./DpCustomIcons-ed1fec51.woff2?5b10713abb145096752c33835e381f36) format("woff2")}i[class^=dp-custom-icon-]:before,i[class*=" dp-custom-icon-"]:before{font-family:DpCustomIcons!important;font-style:normal;font-weight:400!important;font-variant:normal;text-transform:none;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.dp-custom-icon-active-call:before{content:""}.dp-custom-icon-admin:before{content:""}.dp-custom-icon-advanced-filter:before{content:""}.dp-custom-icon-agent:before{content:""}.dp-custom-icon-api:before{content:""}.dp-custom-icon-approval:before{content:""}.dp-custom-icon-apps-zapier:before{content:""}.dp-custom-icon-archived:before{content:""}.dp-custom-icon-arrow:before{content:""}.dp-custom-icon-awaiting-user:before{content:""}.dp-custom-icon-check:before{content:""}.dp-custom-icon-column-width:before{content:""}.dp-custom-icon-community:before{content:""}.dp-custom-icon-crown:before{content:""}.dp-custom-icon-deskpro:before{content:""}.dp-custom-icon-dot:before{content:""}.dp-custom-icon-drag:before{content:""}.dp-custom-icon-dual-card:before{content:""}.dp-custom-icon-dual-table:before{content:""}.dp-custom-icon-dual-view:before{content:""}.dp-custom-icon-email-primary:before{content:""}.dp-custom-icon-enter:before{content:""}.dp-custom-icon-export-alt:before{content:""}.dp-custom-icon-export:before{content:""}.dp-custom-icon-follow-up-new:before{content:""}.dp-custom-icon-follow-up:before{content:""}.dp-custom-icon-glossary:before{content:""}.dp-custom-icon-google-analytics:before{content:""}.dp-custom-icon-grip:before{content:""}.dp-custom-icon-hang-up:before{content:""}.dp-custom-icon-helping-hand:before{content:""}.dp-custom-icon-history:before{content:""}.dp-custom-icon-im-outline:before{content:""}.dp-custom-icon-im-send:before{content:""}.dp-custom-icon-im:before{content:""}.dp-custom-icon-inbound-call:before{content:""}.dp-custom-icon-kanban-view:before{content:""}.dp-custom-icon-level-down:before{content:""}.dp-custom-icon-linked-ticket-new:before{content:""}.dp-custom-icon-linked-ticket:before{content:""}.dp-custom-icon-live:before{content:""}.dp-custom-icon-location-arrow:before{content:""}.dp-custom-icon-merge:before{content:""}.dp-custom-icon-merge2:before{content:""}.dp-custom-icon-missed-call:before{content:""}.dp-custom-icon-mobile-rotate:before{content:""}.dp-custom-icon-organization-circle:before{content:""}.dp-custom-icon-outbound-call:before{content:""}.dp-custom-icon-read:before{content:""}.dp-custom-icon-record:before{content:""}.dp-custom-icon-sent:before{content:""}.dp-custom-icon-sip-address:before{content:""}.dp-custom-icon-sort:before{content:""}.dp-custom-icon-transfer-queue:before{content:""}.dp-custom-icon-triangle:before{content:""}.dp-custom-icon-user-edit:before{content:""}.dp-custom-icon-version-history:before{content:""}.dp-custom-icon-warm-add:before{content:""}.dp-custom-icon-warm-transfer:before{content:""}.dp-custom-icon-webhook:before{content:""}.dp-custom-icon-workspaces:before{content:""} diff --git a/docs/storybook/assets/preview-7c4b96a2.js b/docs/storybook/assets/preview-7c4b96a2.js deleted file mode 100644 index 9e85697..0000000 --- a/docs/storybook/assets/preview-7c4b96a2.js +++ /dev/null @@ -1 +0,0 @@ -import{v as T}from"./v4-4a60fe23.js";const{addons:m}=__STORYBOOK_MODULE_PREVIEW_API__,{ImplicitActionsDuringRendering:A}=__STORYBOOK_MODULE_CORE_EVENTS_PREVIEW_ERRORS__,{global:l}=__STORYBOOK_MODULE_GLOBAL__;var b="storybook/actions",S=`${b}/action-event`,v={depth:10,clearOnStoryChange:!0,limit:50},R=(t,e)=>{let r=Object.getPrototypeOf(t);return!r||e(r)?r:R(r,e)},x=t=>!!(typeof t=="object"&&t&&R(t,e=>/^Synthetic(?:Base)?Event$/.test(e.constructor.name))&&typeof t.persist=="function"),D=t=>{if(x(t)){let e=Object.create(t.constructor.prototype,Object.getOwnPropertyDescriptors(t));e.persist();let r=Object.getOwnPropertyDescriptor(e,"view"),n=r==null?void 0:r.value;return typeof n=="object"&&(n==null?void 0:n.constructor.name)==="Window"&&Object.defineProperty(e,"view",{...r,value:Object.create(n.constructor.prototype)}),e}return t},I=()=>typeof crypto=="object"&&typeof crypto.getRandomValues=="function"?T():Date.now().toString(36)+Math.random().toString(36).substring(2);function p(t,e={}){let r={...v,...e},n=function(...o){var O,d;if(e.implicit){let g=(O="__STORYBOOK_PREVIEW__"in l?l.__STORYBOOK_PREVIEW__:void 0)==null?void 0:O.storyRenders.find(c=>c.phase==="playing"||c.phase==="rendering");if(g){let c=!((d=globalThis==null?void 0:globalThis.FEATURES)!=null&&d.disallowImplicitActionsInRenderV8),u=new A({phase:g.phase,name:t,deprecated:c});if(c)console.warn(u);else throw u}}let i=m.getChannel(),s=I(),a=5,_=o.map(D),h=o.length>1?_:_[0],E={id:s,count:0,data:{name:t,args:h},options:{...r,maxDepth:a+(r.depth||3),allowFunction:r.allowFunction||!1}};i.emit(S,E)};return n.isAction=!0,n.implicit=e.implicit,n}var f=(t,e)=>typeof e[t]>"u"&&!(t in e),j=t=>{let{initialArgs:e,argTypes:r,id:n,parameters:{actions:o}}=t;if(!o||o.disable||!o.argTypesRegex||!r)return{};let i=new RegExp(o.argTypesRegex);return Object.entries(r).filter(([s])=>!!i.test(s)).reduce((s,[a,_])=>(f(a,e)&&(s[a]=p(a,{implicit:!0,id:n})),s),{})},w=t=>{let{initialArgs:e,argTypes:r,parameters:{actions:n}}=t;return n!=null&&n.disable||!r?{}:Object.entries(r).filter(([o,i])=>!!i.action).reduce((o,[i,s])=>(f(i,e)&&(o[i]=p(typeof s.action=="string"?s.action:i)),o),{})},L=[w,j],y=!1,C=t=>{let{parameters:{actions:e}}=t;if(!(e!=null&&e.disable)&&!y&&"__STORYBOOK_TEST_ON_MOCK_CALL__"in l&&typeof l.__STORYBOOK_TEST_ON_MOCK_CALL__=="function"){let r=l.__STORYBOOK_TEST_ON_MOCK_CALL__;r((n,o)=>{let i=n.getMockName();i!=="spy"&&(!/^next\/.*::/.test(i)||["next/router::useRouter()","next/navigation::useRouter()","next/navigation::redirect","next/cache::","next/headers::cookies().set","next/headers::cookies().delete","next/headers::headers().set","next/headers::headers().delete"].some(s=>i.startsWith(s)))&&p(i)(o)}),y=!0}},B=[C];export{L as argsEnhancers,B as loaders}; diff --git a/docs/storybook/assets/preview-7da29431.js b/docs/storybook/assets/preview-7da29431.js deleted file mode 100644 index 633de79..0000000 --- a/docs/storybook/assets/preview-7da29431.js +++ /dev/null @@ -1,8 +0,0 @@ -import{j as r}from"./jsx-runtime-6d9837fe.js";import{D as i}from"./DeskproAppProvider-553f0e05.js";import"./CopyToClipboardInput-3d8bb04a.js";import"./Divider-a1a4b2e0.js";import"./ExternalIconLink-aaade95d.js";import"./ObservedDiv-d49201f3.js";import"./Property-20d29019.js";import"./PropertyRow-1432eb20.js";import"./TwoProperties-5f16b6f7.js";import"./Section-21310854.js";import{$ as s,a0 as e,a1 as a,a2 as m,a3 as d,a4 as n,d as p}from"./SPA-63b29876.js";import"./index-93f6b7ae.js";import"./index-03a57050.js";import"./Title-44b6a96d.js";import"./TwoButtonGroup-a846b546.js";import"./DateInput-b0288ce0.js";import"./Search-5ebba4e3.js";import"./Select-89f08062.js";import"./Link-37e8c95d.js";import"./Member-929cc282.js";import"./index-d14722d4.js";const t={Container:s,Header:e,SubHeader:a,InputWrapper:m,Body:d,Footer:n};const c=p.div` - width: 300px; - height: 500px; - border: 1px dashed #D3D6D7; - border-radius: 3px; -`,x=p.div` - margin: 8px; -`,l=({children:o})=>r.jsx(c,{children:r.jsxs(t.Container,{children:[r.jsx(t.Header,{title:"Some App"}),r.jsx(t.Body,{children:r.jsx(x,{children:o})})]})}),E={parameters:{actions:{argTypesRegex:"^on[A-Z].*"},controls:{matchers:{color:/(background|color)$/i,date:/Date$/}}},decorators:[o=>r.jsx(l,{children:r.jsx(o,{})}),o=>r.jsx(i,{children:r.jsx(o,{})})]};export{E as default}; diff --git a/docs/storybook/assets/preview-8c2b145e.js b/docs/storybook/assets/preview-8c2b145e.js deleted file mode 100644 index 61e8931..0000000 --- a/docs/storybook/assets/preview-8c2b145e.js +++ /dev/null @@ -1,7 +0,0 @@ -const{STORY_CHANGED:r}=__STORYBOOK_MODULE_CORE_EVENTS__,{addons:s}=__STORYBOOK_MODULE_PREVIEW_API__,{global:O}=__STORYBOOK_MODULE_GLOBAL__;var d="storybook/highlight",i="storybookHighlight",g=`${d}/add`,E=`${d}/reset`,{document:l}=O,H=(e="#FF4785",t="dashed")=>` - outline: 2px ${t} ${e}; - outline-offset: 2px; - box-shadow: 0 0 0 6px rgba(255,255,255,0.6); -`,h=s.getChannel(),T=e=>{let t=i;n();let o=Array.from(new Set(e.elements)),_=l.createElement("style");_.setAttribute("id",t),_.innerHTML=o.map(a=>`${a}{ - ${H(e.color,e.style)} - }`).join(" "),l.head.appendChild(_)},n=()=>{var o;let e=i,t=l.getElementById(e);t&&((o=t.parentNode)==null||o.removeChild(t))};h.on(r,n);h.on(E,n);h.on(g,T); diff --git a/docs/storybook/assets/preview-9e19507e.js b/docs/storybook/assets/preview-9e19507e.js deleted file mode 100644 index 5af9d0c..0000000 --- a/docs/storybook/assets/preview-9e19507e.js +++ /dev/null @@ -1 +0,0 @@ -var K=!0,S="Invariant failed";function A(o,t){if(!o){if(K)throw new Error(S);var e=typeof t=="function"?t():t,l=e?"".concat(S,": ").concat(e):S;throw new Error(l)}}const{useEffect:W}=__STORYBOOK_MODULE_PREVIEW_API__,{global:d}=__STORYBOOK_MODULE_GLOBAL__;var G="measureEnabled";function H(){let o=d.document.documentElement,t=Math.max(o.scrollHeight,o.offsetHeight);return{width:Math.max(o.scrollWidth,o.offsetWidth),height:t}}function U(){let o=d.document.createElement("canvas");o.id="storybook-addon-measure";let t=o.getContext("2d");A(t!=null);let{width:e,height:l}=H();return P(o,t,{width:e,height:l}),o.style.position="absolute",o.style.left="0",o.style.top="0",o.style.zIndex="2147483647",o.style.pointerEvents="none",d.document.body.appendChild(o),{canvas:o,context:t,width:e,height:l}}function P(o,t,{width:e,height:l}){o.style.width=`${e}px`,o.style.height=`${l}px`;let i=d.window.devicePixelRatio;o.width=Math.floor(e*i),o.height=Math.floor(l*i),t.scale(i,i)}var s={};function V(){s.canvas||(s=U())}function C(){s.context&&s.context.clearRect(0,0,s.width??0,s.height??0)}function Z(o){C(),o(s.context)}function J(){A(s.canvas,"Canvas should exist in the state."),A(s.context,"Context should exist in the state."),P(s.canvas,s.context,{width:0,height:0});let{width:o,height:t}=H();P(s.canvas,s.context,{width:o,height:t}),s.width=o,s.height=t}function Q(){var o;s.canvas&&(C(),(o=s.canvas.parentNode)==null||o.removeChild(s.canvas),s={})}var w={margin:"#f6b26b",border:"#ffe599",padding:"#93c47d",content:"#6fa8dc",text:"#232020"},p=6;function B(o,{x:t,y:e,w:l,h:i,r:n}){t=t-l/2,e=e-i/2,l<2*n&&(n=l/2),i<2*n&&(n=i/2),o.beginPath(),o.moveTo(t+n,e),o.arcTo(t+l,e,t+l,e+i,n),o.arcTo(t+l,e+i,t,e+i,n),o.arcTo(t,e+i,t,e,n),o.arcTo(t,e,t+l,e,n),o.closePath()}function x(o,{padding:t,border:e,width:l,height:i,top:n,left:f}){let r=l-e.left-e.right-t.left-t.right,a=i-t.top-t.bottom-e.top-e.bottom,h=f+e.left+t.left,u=n+e.top+t.top;return o==="top"?h+=r/2:o==="right"?(h+=r,u+=a/2):o==="bottom"?(h+=r/2,u+=a):o==="left"?u+=a/2:o==="center"&&(h+=r/2,u+=a/2),{x:h,y:u}}function tt(o,t,{margin:e,border:l,padding:i},n,f){let r=m=>0,a=0,h=0,u=f?1:.5,c=f?n*2:0;return o==="padding"?r=m=>i[m]*u+c:o==="border"?r=m=>i[m]+l[m]*u+c:o==="margin"&&(r=m=>i[m]+l[m]+e[m]*u+c),t==="top"?h=-r("top"):t==="right"?a=r("right"):t==="bottom"?h=r("bottom"):t==="left"&&(a=-r("left")),{offsetX:a,offsetY:h}}function ot(o,t){return Math.abs(o.x-t.x)<Math.abs(o.w+t.w)/2&&Math.abs(o.y-t.y)<Math.abs(o.h+t.h)/2}function et(o,t,e){return o==="top"?t.y=e.y-e.h-p:o==="right"?t.x=e.x+e.w/2+p+t.w/2:o==="bottom"?t.y=e.y+e.h+p:o==="left"&&(t.x=e.x-e.w/2-p-t.w/2),{x:t.x,y:t.y}}function X(o,t,{x:e,y:l,w:i,h:n},f){return B(o,{x:e,y:l,w:i,h:n,r:3}),o.fillStyle=`${w[t]}dd`,o.fill(),o.strokeStyle=w[t],o.stroke(),o.fillStyle=w.text,o.fillText(f,e,l),B(o,{x:e,y:l,w:i,h:n,r:3}),o.fillStyle=`${w[t]}dd`,o.fill(),o.strokeStyle=w[t],o.stroke(),o.fillStyle=w.text,o.fillText(f,e,l),{x:e,y:l,w:i,h:n}}function k(o,t){o.font="600 12px monospace",o.textBaseline="middle",o.textAlign="center";let e=o.measureText(t),l=e.actualBoundingBoxAscent+e.actualBoundingBoxDescent,i=e.width+p*2,n=l+p*2;return{w:i,h:n}}function it(o,t,{type:e,position:l="center",text:i},n,f=!1){let{x:r,y:a}=x(l,t),{offsetX:h,offsetY:u}=tt(e,l,t,p+1,f);r+=h,a+=u;let{w:c,h:m}=k(o,i);if(n&&ot({x:r,y:a,w:c,h:m},n)){let E=et(l,{x:r,y:a,w:c,h:m},n);r=E.x,a=E.y}return X(o,e,{x:r,y:a,w:c,h:m},i)}function lt(o,{w:t,h:e}){let l=t*.5+p,i=e*.5+p;return{offsetX:(o.x==="left"?-1:1)*l,offsetY:(o.y==="top"?-1:1)*i}}function nt(o,t,{type:e,text:l}){let{floatingAlignment:i,extremities:n}=t,f=n[i.x],r=n[i.y],{w:a,h}=k(o,l),{offsetX:u,offsetY:c}=lt(i,{w:a,h});return f+=u,r+=c,X(o,e,{x:f,y:r,w:a,h},l)}function v(o,t,e,l){let i=[];e.forEach((n,f)=>{let r=l&&n.position==="center"?nt(o,t,n):it(o,t,n,i[f-1],l);i[f]=r})}function rt(o,t,e,l){let i=e.reduce((n,f)=>{var r;return Object.prototype.hasOwnProperty.call(n,f.position)||(n[f.position]=[]),(r=n[f.position])==null||r.push(f),n},{});i.top&&v(o,t,i.top,l),i.right&&v(o,t,i.right,l),i.bottom&&v(o,t,i.bottom,l),i.left&&v(o,t,i.left,l),i.center&&v(o,t,i.center,l)}var L={margin:"#f6b26ba8",border:"#ffe599a8",padding:"#93c47d8c",content:"#6fa8dca8"},O=30;function g(o){return parseInt(o.replace("px",""),10)}function b(o){return Number.isInteger(o)?o:o.toFixed(2)}function _(o){return o.filter(t=>t.text!==0&&t.text!=="0")}function ft(o){let t={top:d.window.scrollY,bottom:d.window.scrollY+d.window.innerHeight,left:d.window.scrollX,right:d.window.scrollX+d.window.innerWidth},e={top:Math.abs(t.top-o.top),bottom:Math.abs(t.bottom-o.bottom),left:Math.abs(t.left-o.left),right:Math.abs(t.right-o.right)};return{x:e.left>e.right?"left":"right",y:e.top>e.bottom?"top":"bottom"}}function at(o){let t=d.getComputedStyle(o),{top:e,left:l,right:i,bottom:n,width:f,height:r}=o.getBoundingClientRect(),{marginTop:a,marginBottom:h,marginLeft:u,marginRight:c,paddingTop:m,paddingBottom:E,paddingLeft:F,paddingRight:I,borderBottomWidth:D,borderTopWidth:$,borderLeftWidth:N,borderRightWidth:q}=t;e=e+d.window.scrollY,l=l+d.window.scrollX,n=n+d.window.scrollY,i=i+d.window.scrollX;let y={top:g(a),bottom:g(h),left:g(u),right:g(c)},z={top:g(m),bottom:g(E),left:g(F),right:g(I)},j={top:g($),bottom:g(D),left:g(N),right:g(q)},T={top:e-y.top,bottom:n+y.bottom,left:l-y.left,right:i+y.right};return{margin:y,padding:z,border:j,top:e,left:l,bottom:n,right:i,width:f,height:r,extremities:T,floatingAlignment:ft(T)}}function ht(o,{margin:t,width:e,height:l,top:i,left:n,bottom:f,right:r}){let a=l+t.bottom+t.top;o.fillStyle=L.margin,o.fillRect(n,i-t.top,e,t.top),o.fillRect(r,i-t.top,t.right,a),o.fillRect(n,f,e,t.bottom),o.fillRect(n-t.left,i-t.top,t.left,a);let h=[{type:"margin",text:b(t.top),position:"top"},{type:"margin",text:b(t.right),position:"right"},{type:"margin",text:b(t.bottom),position:"bottom"},{type:"margin",text:b(t.left),position:"left"}];return _(h)}function st(o,{padding:t,border:e,width:l,height:i,top:n,left:f,bottom:r,right:a}){let h=l-e.left-e.right,u=i-t.top-t.bottom-e.top-e.bottom;o.fillStyle=L.padding,o.fillRect(f+e.left,n+e.top,h,t.top),o.fillRect(a-t.right-e.right,n+t.top+e.top,t.right,u),o.fillRect(f+e.left,r-t.bottom-e.bottom,h,t.bottom),o.fillRect(f+e.left,n+t.top+e.top,t.left,u);let c=[{type:"padding",text:t.top,position:"top"},{type:"padding",text:t.right,position:"right"},{type:"padding",text:t.bottom,position:"bottom"},{type:"padding",text:t.left,position:"left"}];return _(c)}function ut(o,{border:t,width:e,height:l,top:i,left:n,bottom:f,right:r}){let a=l-t.top-t.bottom;o.fillStyle=L.border,o.fillRect(n,i,e,t.top),o.fillRect(n,f-t.bottom,e,t.bottom),o.fillRect(n,i+t.top,t.left,a),o.fillRect(r-t.right,i+t.top,t.right,a);let h=[{type:"border",text:t.top,position:"top"},{type:"border",text:t.right,position:"right"},{type:"border",text:t.bottom,position:"bottom"},{type:"border",text:t.left,position:"left"}];return _(h)}function dt(o,{padding:t,border:e,width:l,height:i,top:n,left:f}){let r=l-e.left-e.right-t.left-t.right,a=i-t.top-t.bottom-e.top-e.bottom;return o.fillStyle=L.content,o.fillRect(f+e.left+t.left,n+e.top+t.top,r,a),[{type:"content",position:"center",text:`${b(r)} x ${b(a)}`}]}function mt(o){return t=>{if(o&&t){let e=at(o),l=ht(t,e),i=st(t,e),n=ut(t,e),f=dt(t,e),r=e.width<=O*3||e.height<=O;rt(t,e,[...f,...i,...n,...l],r)}}}function ct(o){Z(mt(o))}var gt=(o,t)=>{let e=d.document.elementFromPoint(o,t),l=i=>{if(i&&i.shadowRoot){let n=i.shadowRoot.elementFromPoint(o,t);return i.isEqualNode(n)?i:n.shadowRoot?l(n):n}return i};return l(e)||e},R,M={x:0,y:0};function Y(o,t){R=gt(o,t),ct(R)}var pt=(o,t)=>{let{measureEnabled:e}=t.globals;return W(()=>{let l=i=>{window.requestAnimationFrame(()=>{i.stopPropagation(),M.x=i.clientX,M.y=i.clientY})};return document.addEventListener("pointermove",l),()=>{document.removeEventListener("pointermove",l)}},[]),W(()=>{let l=n=>{window.requestAnimationFrame(()=>{n.stopPropagation(),Y(n.clientX,n.clientY)})},i=()=>{window.requestAnimationFrame(()=>{J()})};return t.viewMode==="story"&&e&&(document.addEventListener("pointerover",l),V(),window.addEventListener("resize",i),Y(M.x,M.y)),()=>{window.removeEventListener("resize",i),Q()}},[e,t.viewMode]),o()},wt=[pt],bt={[G]:!1};export{wt as decorators,bt as initialGlobals}; diff --git a/docs/storybook/assets/preview-d0ce5b67.js b/docs/storybook/assets/preview-d0ce5b67.js deleted file mode 100644 index 20fbba4..0000000 --- a/docs/storybook/assets/preview-d0ce5b67.js +++ /dev/null @@ -1 +0,0 @@ -var e="viewport",t={[e]:{value:void 0,isRotated:!1}},a={viewport:"reset",viewportRotated:!1},o,i=(o=globalThis.FEATURES)!=null&&o.viewportStoryGlobals?t:a;export{i as initialGlobals}; diff --git a/docs/storybook/assets/preview-f84df002.js b/docs/storybook/assets/preview-f84df002.js deleted file mode 100644 index 1500d29..0000000 --- a/docs/storybook/assets/preview-f84df002.js +++ /dev/null @@ -1 +0,0 @@ -import{i as r}from"./index-135b5535.js";var a=r({step:(p,t,e)=>t(e)},{intercept:!0}).step,i={throwPlayFunctionExceptions:!1};export{i as parameters,a as runStep}; diff --git a/docs/storybook/assets/preview-fa9b2a83.js b/docs/storybook/assets/preview-fa9b2a83.js deleted file mode 100644 index a0cf738..0000000 --- a/docs/storybook/assets/preview-fa9b2a83.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as o}from"./iframe-145c4ff1.js";var i=Object.defineProperty,s=(e,r)=>{for(var t in r)i(e,t,{get:r[t],enumerable:!0})},_={};s(_,{parameters:()=>d});var p=Object.entries(globalThis.TAGS_OPTIONS??{}).reduce((e,r)=>{let[t,a]=r;return a.excludeFromDocsStories&&(e[t]=!0),e},{}),d={docs:{renderer:async()=>{let{DocsRenderer:e}=await o(()=>import("./DocsRenderer-CFRXHY34-dedb1ca0.js").then(r=>r.al),["./DocsRenderer-CFRXHY34-dedb1ca0.js","./iframe-145c4ff1.js","./index-93f6b7ae.js","./jsx-runtime-6d9837fe.js","./index-03a57050.js","./index-ba5305b1.js","./index-356e4a49.js","./react-18-ff0899e5.js"],import.meta.url);return new e},stories:{filter:e=>{var r;return(e.tags||[]).filter(t=>p[t]).length===0&&!((r=e.parameters.docs)!=null&&r.disable)}}}};export{d as parameters}; diff --git a/docs/storybook/assets/preview-fad4d79b.js b/docs/storybook/assets/preview-fad4d79b.js deleted file mode 100644 index b3d2d19..0000000 --- a/docs/storybook/assets/preview-fad4d79b.js +++ /dev/null @@ -1,34 +0,0 @@ -import{d as P}from"./index-356e4a49.js";const{useEffect:_,useMemo:h}=__STORYBOOK_MODULE_PREVIEW_API__,{global:j}=__STORYBOOK_MODULE_GLOBAL__,{logger:X}=__STORYBOOK_MODULE_CLIENT_LOGGER__;var p="backgrounds",U={light:{name:"light",value:"#F8F8F8"},dark:{name:"dark",value:"#333"}},{document:b,window:O}=j,D=()=>{var r;return!!((r=O==null?void 0:O.matchMedia("(prefers-reduced-motion: reduce)"))!=null&&r.matches)},A=r=>{(Array.isArray(r)?r:[r]).forEach(N)},N=r=>{var t;let e=b.getElementById(r);e&&((t=e.parentElement)==null||t.removeChild(e))},F=(r,e)=>{let t=b.getElementById(r);if(t)t.innerHTML!==e&&(t.innerHTML=e);else{let o=b.createElement("style");o.setAttribute("id",r),o.innerHTML=e,b.head.appendChild(o)}},Y=(r,e,t)=>{var a;let o=b.getElementById(r);if(o)o.innerHTML!==e&&(o.innerHTML=e);else{let d=b.createElement("style");d.setAttribute("id",r),d.innerHTML=e;let i=`addon-backgrounds-grid${t?`-docs-${t}`:""}`,n=b.getElementById(i);n?(a=n.parentElement)==null||a.insertBefore(d,n):b.head.appendChild(d)}},W={cellSize:100,cellAmount:10,opacity:.8},w="addon-backgrounds",R="addon-backgrounds-grid",q=D()?"":"transition: background-color 0.3s;",J=(r,e)=>{let{globals:t,parameters:o,viewMode:a,id:d}=e,{options:i=U,disable:n,grid:s=W}=o[p]||{},c=t[p]||{},u=c.value,l=u?i[u]:void 0,$=(l==null?void 0:l.value)||"transparent",f=c.grid||!1,y=!!l&&!n,m=a==="docs"?`#anchor--${d} .docs-story`:".sb-show-main",E=a==="docs"?`#anchor--${d} .docs-story`:".sb-show-main",H=o.layout===void 0||o.layout==="padded",L=a==="docs"?20:H?16:0,{cellAmount:k,cellSize:g,opacity:x,offsetX:v=L,offsetY:S=L}=s,B=a==="docs"?`${w}-docs-${d}`:`${w}-color`,G=a==="docs"?d:null;_(()=>{let M=` - ${m} { - background: ${$} !important; - ${q} - }`;if(!y){A(B);return}Y(B,M,G)},[m,B,G,y,$]);let T=a==="docs"?`${R}-docs-${d}`:`${R}`;return _(()=>{if(!f){A(T);return}let M=[`${g*k}px ${g*k}px`,`${g*k}px ${g*k}px`,`${g}px ${g}px`,`${g}px ${g}px`].join(", "),K=` - ${E} { - background-size: ${M} !important; - background-position: ${v}px ${S}px, ${v}px ${S}px, ${v}px ${S}px, ${v}px ${S}px !important; - background-blend-mode: difference !important; - background-image: linear-gradient(rgba(130, 130, 130, ${x}) 1px, transparent 1px), - linear-gradient(90deg, rgba(130, 130, 130, ${x}) 1px, transparent 1px), - linear-gradient(rgba(130, 130, 130, ${x/2}) 1px, transparent 1px), - linear-gradient(90deg, rgba(130, 130, 130, ${x/2}) 1px, transparent 1px) !important; - } - `;F(T,K)},[k,g,E,T,f,v,S,x]),r()},Q=(r,e=[],t)=>{if(r==="transparent")return"transparent";if(e.find(a=>a.value===r)||r)return r;let o=e.find(a=>a.name===t);if(o)return o.value;if(t){let a=e.map(d=>d.name).join(", ");X.warn(P` - Backgrounds Addon: could not find the default color "${t}". - These are the available colors for your story based on your configuration: - ${a}. - `)}return"transparent"},Z=(r,e)=>{var u;let{globals:t,parameters:o}=e,a=(u=t[p])==null?void 0:u.value,d=o[p],i=h(()=>d.disable?"transparent":Q(a,d.values,d.default),[d,a]),n=h(()=>i&&i!=="transparent",[i]),s=e.viewMode==="docs"?`#anchor--${e.id} .docs-story`:".sb-show-main",c=h(()=>` - ${s} { - background: ${i} !important; - ${D()?"":"transition: background-color 0.3s;"} - } - `,[i,s]);return _(()=>{let l=e.viewMode==="docs"?`addon-backgrounds-docs-${e.id}`:"addon-backgrounds-color";if(!n){A(l);return}Y(l,c,e.viewMode==="docs"?e.id:null)},[n,c,e]),r()},V=(r,e)=>{var y;let{globals:t,parameters:o}=e,a=o[p].grid,d=((y=t[p])==null?void 0:y.grid)===!0&&a.disable!==!0,{cellAmount:i,cellSize:n,opacity:s}=a,c=e.viewMode==="docs",u=o.layout===void 0||o.layout==="padded"?16:0,l=a.offsetX??(c?20:u),$=a.offsetY??(c?20:u),f=h(()=>{let m=e.viewMode==="docs"?`#anchor--${e.id} .docs-story`:".sb-show-main",E=[`${n*i}px ${n*i}px`,`${n*i}px ${n*i}px`,`${n}px ${n}px`,`${n}px ${n}px`].join(", ");return` - ${m} { - background-size: ${E} !important; - background-position: ${l}px ${$}px, ${l}px ${$}px, ${l}px ${$}px, ${l}px ${$}px !important; - background-blend-mode: difference !important; - background-image: linear-gradient(rgba(130, 130, 130, ${s}) 1px, transparent 1px), - linear-gradient(90deg, rgba(130, 130, 130, ${s}) 1px, transparent 1px), - linear-gradient(rgba(130, 130, 130, ${s/2}) 1px, transparent 1px), - linear-gradient(90deg, rgba(130, 130, 130, ${s/2}) 1px, transparent 1px) !important; - } - `},[n]);return _(()=>{let m=e.viewMode==="docs"?`addon-backgrounds-grid-docs-${e.id}`:"addon-backgrounds-grid";if(!d){A(m);return}F(m,f)},[d,f,e]),r()},C,ae=(C=globalThis.FEATURES)!=null&&C.backgroundsStoryGlobals?[J]:[V,Z],I,oe={[p]:{grid:{cellSize:20,opacity:.5,cellAmount:5},disable:!1,...!((I=globalThis.FEATURES)!=null&&I.backgroundsStoryGlobals)&&{values:Object.values(U)}}},ee={[p]:{value:void 0,grid:!1}},z,de=(z=globalThis.FEATURES)!=null&&z.backgroundsStoryGlobals?ee:{[p]:null};export{ae as decorators,de as initialGlobals,oe as parameters}; diff --git a/docs/storybook/assets/ps-a604d96e.js b/docs/storybook/assets/ps-a604d96e.js deleted file mode 100644 index fb5e431..0000000 --- a/docs/storybook/assets/ps-a604d96e.js +++ /dev/null @@ -1 +0,0 @@ -const M="ps",S={AF:"افغانستان",AL:"البانیه",DZ:"الجزایر",AS:"امریکایی ساماوا",AD:"اندورا",AO:"انګولا",AI:"انګیلا",AQ:"انتارکتیکا",AG:"انټيګوا او باربودا",AR:"ارجنټاين",AM:"ارمنستان",AW:"آروبا",AU:"آسټرالیا",AT:"اتریش",AZ:"اذربايجان",BS:"باهماس",BH:"بحرين",BD:"بنگله دېش",BB:"باربادوس",BY:"بیلاروس",BE:"بیلجیم",BZ:"بلیز",BJ:"بینن",BM:"برمودا",BT:"بهوټان",BO:"بولیویا",BA:"بوسنيا او هېرزګوينا",BW:"بوتسوانه",BV:"بوویټ ټاپو",BR:"برازیل",IO:"د برتانوي هند سمندري سيمه",BN:"برونائي",BG:"بلغاریه",BF:"بورکینا فاسو",BI:"بروندي",KH:"کمبودیا",CM:"کامرون",CA:"کاناډا",CV:"کیپ ورد",KY:"کیمان ټاپوګان",CF:"وسطي افريقا جمهور",TD:"چاډ",CL:"چیلي",CN:"چین",CX:"د کريسمس ټاپو",CC:"کوکوز (کيلنګ) ټاپوګان",CO:"کولمبیا",KM:"کوموروس",CG:"کانګو - بروزوییل",CD:"کانګو - کینشاسا",CK:"کوک ټاپوګان",CR:"کوستاریکا",CI:"د عاج ساحل",HR:"کرواشيا",CU:"کیوبا",CY:"قبرس",CZ:"چکیا",DK:"ډنمارک",DJ:"جبوتي",DM:"دومینیکا",DO:"جمهوريه ډومينيکن",EC:"اکوادور",EG:"مصر",SV:"سالوېډور",GQ:"استوایی ګیني",ER:"اریتره",EE:"استونیا",ET:"حبشه",FK:"فاکلينډ ټاپوګان",FO:"فارو ټاپو",FJ:"فجي",FI:"فنلینډ",FR:"فرانسه",GF:"فرانسوي ګانا",PF:"فرانسوي پولينيسيا",TF:"د فرانسې جنوبي سیمې",GA:"ګابن",GM:"ګامبیا",GE:"گورجستان",DE:"المان",GH:"ګانا",GI:"جبل الطارق",GR:"یونان",GL:"ګرینلینډ",GD:"ګرنادا",GP:"ګوادلوپ",GU:"ګوام",GT:"ګواتیمالا",GN:"ګینه",GW:"ګینه بیسو",GY:"ګیانا",HT:"هایټي",HM:"هارډ او ميکډانلډ ټاپوګان",VA:"واتیکان ښار",HN:"هانډوراس",HK:"هانګ کانګ SAR چین",HU:"مجارستان",IS:"آیسلینډ",IN:"هند",ID:"اندونیزیا",IR:"ايران",IQ:"عراق",IE:"آيرلېنډ",IL:"اسراييل",IT:"ایټالیه",JM:"جمیکا",JP:"جاپان",JO:"اردن",KZ:"قزاقستان",KE:"کینیا",KI:"کیري باتي",KP:"شمالی کوریا",KR:"سویلي کوریا",KW:"کويت",KG:"قرغزستان",LA:"لاوس",LV:"ليتهويا",LB:"لبنان",LS:"لسوتو",LR:"لايبيريا",LY:"لیبیا",LI:"لیختن اشتاین",LT:"لیتوانیا",LU:"لوګزامبورګ",MO:"مکاو SAR چین",MG:"مدغاسکر",MW:"مالاوي",MY:"مالیزیا",MV:"مالديپ",ML:"مالي",MT:"مالټا",MH:"مارشل ټاپوګان",MQ:"مارټینیک",MR:"موریتانیا",MU:"موریشیس",YT:"مايوټ",MX:"میکسیکو",FM:"میکرونیزیا",MD:"مولدوا",MC:"موناکو",MN:"منګوليا",MS:"مانټیسیرت",MA:"مراکش",MZ:"موزمبيق",MM:"ميانمار (برما)",NA:"نیمبیا",NR:"نایرو",NP:"نیپال",NL:"هالېنډ",NC:"نوی کالیډونیا",NZ:"نیوزیلنډ",NI:"نکاراګوا",NE:"نايجير",NG:"نایجیریا",NU:"نیوو",NF:"نارفولک ټاپوګان",MK:"شمالي مقدونيه",MP:"شمالي ماريانا ټاپوګان",NO:"ناروۍ",OM:"عمان",PK:"پاکستان",PW:"پلاؤ",PS:"فلسطیني سيمې",PA:"پاناما",PG:"پاپوا نيو ګيني",PY:"پاراګوی",PE:"پیرو",PH:"فلپين",PN:"پيټکيرن ټاپوګان",PL:"پولنډ",PT:"پورتګال",PR:"پورتو ریکو",QA:"قطر",RE:"ریونین",RO:"رومانیا",RU:"روسیه",RW:"روندا",SH:"سینټ هیلینا",KN:"سینټ کټس او نیویس",LC:"سینټ لوسیا",PM:"سینټ پییر او میکولون",VC:"سینټ ویسنټینټ او ګرینډینز",WS:"ساماوا",SM:"سان مارینو",ST:"ساو ټیم او پرنسیپ",SA:"سعودي عربستان",SN:"سينيګال",SC:"سیچیلیس",SL:"سییرا لیون",SG:"سينگاپور",SK:"سلواکیا",SI:"سلوانیا",SB:"سليمان ټاپوګان",SO:"سومالیا",ZA:"سویلي افریقا",GS:"سويلي جارجيا او سويلي سېنډوچ ټاپوګان",ES:"هسپانیه",LK:"سريلنکا",SD:"سوډان",SR:"سورینام",SJ:"سوالبارد او جان ميين",SZ:"اسواټيني",SE:"سویډن",CH:"سویس",SY:"سوریه",TW:"تائيوان",TJ:"تاجکستان",TZ:"تنزانیا",TH:"تهايلنډ",TL:"تيمور-ليسټ",TG:"ټوګو",TK:"توکیلو",TO:"تونګا",TT:"ټرينيډاډ او ټوباګو",TN:"تونس",TR:"ترکي",TM:"تورکمنستان",TC:"د ترکیې او کیکاسو ټاپو",TV:"توالیو",UG:"یوګانډا",UA:"اوکراین",AE:"متحده عرب امارات",GB:"برتانیه",US:"متحده آيالات",UM:"د متحده ایالاتو ټاپوګان",UY:"یوروګوی",UZ:"اوزبکستان",VU:"واناتو",VE:"وینزویلا",VN:"وېتنام",VG:"بریتانوی ویګور ټاپوګان",VI:"د متحده آيالاتو ورجن ټاپوګان",WF:"والیس او فوتونا",EH:"لويديځ صحارا",YE:"یمن",ZM:"زیمبیا",ZW:"زیمبابوی",AX:"الاند ټاپوان",BQ:"کیریبین هالینډ",CW:"کوراکاو",GG:"ګرنسي",IM:"د آئل آف مین",JE:"جرسی",ME:"مونټینیګرو",BL:"سينټ بارتيلمي",MF:"سینټ مارټن",RS:"سربيا",SX:"سینټ مارټین",SS:"سويلي سوډان",XK:"کوسوو"},G={locale:M,countries:S};export{S as countries,G as default,M as locale}; diff --git a/docs/storybook/assets/pt-5085e3a9.js b/docs/storybook/assets/pt-5085e3a9.js deleted file mode 100644 index a924756..0000000 --- a/docs/storybook/assets/pt-5085e3a9.js +++ /dev/null @@ -1 +0,0 @@ -const a="pt",i={AF:"Afeganistão",ZA:"África do Sul",AL:"Albânia",DE:"Alemanha",AD:"Andorra",AO:"Angola",AI:"Anguila",AQ:"Antártida",AG:"Antígua e Barbuda",SA:"Arábia Saudita",DZ:"Argélia",AR:"Argentina",AM:"Arménia",AW:"Aruba",AU:"Austrália",AT:"Áustria",AZ:"Azerbaijão",BS:"Bahamas",BH:"Bahrein",BD:"Bangladesh",BB:"Barbados",BE:"Bélgica",BZ:"Belize",BJ:"Benim",BM:"Bermudas",BY:"Bielorrússia",BO:"Bolívia",BA:"Bósnia-Herzegovina",BW:"Botsuana",BR:"Brasil",BN:"Brunei",BG:"Bulgária",BF:"Burkina Faso",BI:"Burundi",BT:"Butão",CV:"Cabo Verde",KH:"Camboja",CA:"Canadá",QA:"Qatar",KZ:"Cazaquistão",TD:"Chade",CL:"Chile",CN:"China",CY:"Chipre",VA:"Santa Sé",SG:"Singapura",CO:"Colômbia",KM:"Comores",CG:"República Democrática do Congo",CD:"República Popular do Congo",KP:"Coreia do Norte",KR:"Coreia do Sul",CI:"Costa do Marfim",CR:"Costa Rica",HR:"Croácia",CU:"Cuba",CW:"Curaçao",DK:"Dinamarca",DJ:"Djibouti",DM:"Dominica",EG:"Egito",SV:"El Salvador",AE:"Emirados Árabes Unidos",EC:"Equador",ER:"Eritreia",SK:"Eslováquia",SI:"Eslovénia",ES:"Espanha",US:["Estados Unidos","Estados Unidos da América"],EE:"Estónia",ET:"Etiópia",FJ:"Fiji",PH:"Filipinas",FI:"Finlândia",FR:"França",GA:"Gabão",GM:"Gâmbia",GH:"Gana",GE:"Geórgia",GS:"Geórgia do Sul e Ilhas Sandwich do Sul",GI:"Gibraltar",GD:"Granada",GR:"Grécia",GL:"Gronelândia",GP:"Guadalupe",GU:"Guam",GT:"Guatemala",GG:"Guernsey",GY:"Guiana",GF:"Guiana Francesa",GN:"Guiné",GW:"Guiné-Bissau",GQ:"Guiné Equatorial",HT:"Haiti",NL:"Países Baixos",HN:"Honduras",HK:"Hong Kong",HU:"Hungria",YE:"Iémen",BV:"Ilha Bouvet",CX:"Ilha de Natal",IM:"Ilha de Man",NF:"Ilha Norfolk",AX:"Ilhas Åland",KY:"Ilhas Caimão",CC:"Ilhas Cocos (Keeling)",CK:"Ilhas Cook",UM:"Ilhas Distantes dos EUA",HM:"Ilha Heard e Ilhas McDonald",FO:"Ilhas Faroé",FK:"Ilhas Malvinas",MP:"Ilhas Marianas do Norte",MH:"Ilhas Marshall",PN:"Ilhas Pitcairn",SB:"Ilhas Salomão",TC:"Ilhas Turcas e Caicos",VG:"Ilhas Virgens Britânicas",VI:"Ilhas Virgens Americanas",IN:"Índia",ID:"Indonésia",IR:"Irão",IQ:"Iraque",IE:"Irlanda",IS:"Islândia",IL:"Israel",IT:"Itália",JM:"Jamaica",JP:"Japão",JE:"Jersey",JO:"Jordânia",KW:"Koweit",LA:"Laos",LS:"Lesoto",LV:"Letónia",LB:"Líbano",LR:"Libéria",LY:"Líbia",LI:"Liechtenstein",LT:"Lituânia",LU:"Luxemburgo",MO:"Macau",MK:"Macedónia do Norte",MG:"Madagáscar",MY:"Malásia",MW:"Maláui",MV:"Maldivas",ML:"Mali",MT:"Malta",MA:"Marrocos",MQ:"Martinica",MU:"Maurícia",MR:"Mauritânia",YT:"Mayotte",MX:"México",MM:"Mianmar (Birmânia)",FM:"Micronésia",MZ:"Moçambique",MD:"Moldávia",MC:"Mónaco",MN:"Mongólia",ME:"Montenegro",MS:"Monserrate",NA:"Namíbia",NR:"Nauru",NP:"Nepal",NI:"Nicarágua",NE:"Níger",NG:"Nigéria",NU:"Niue",NO:"Noruega",NC:"Nova Caledónia",NZ:"Nova Zelândia",OM:"Omã",BQ:"Países Baixos Caribenhos",PW:"Palau",PA:"Panamá",PG:"Papua-Nova Guiné",PK:"Paquistão",PY:"Paraguai",PE:"Peru",PF:"Polinésia Francesa",PL:"Polónia",PR:"Porto Rico",PT:"Portugal",KE:"Quénia",KG:"Quirguistão",KI:"Quiribati",GB:"Reino Unido",CF:"República Centro-Africana",DO:"República Dominicana",CM:"Camarões",CZ:"Chéquia",RE:"Reunião",RO:"Roménia",RW:"Ruanda",RU:"Rússia",EH:"Saara Ocidental",PM:"Saint Pierre e Miquelon",WS:"Samoa",AS:"Samoa Americana",SM:"San Marino",SH:"Santa Helena",LC:"Santa Lúcia",BL:"São Bartolomeu",KN:"São Cristóvão e Neves",MF:"São Martinho",ST:"São Tomé e Príncipe",VC:"São Vicente e Granadinas",SN:"Senegal",SL:"Serra Leoa",RS:"Sérvia",SC:"Seychelles",SX:"São Martinho",SY:"Síria",SO:"Somália",LK:"Sri Lanka",SZ:"Essuatíni",SD:"Sudão",SS:"Sudão do Sul",SE:"Suécia",CH:"Suíça",SR:"Suriname",SJ:"Svalbard e Jan Mayen",TH:"Tailândia",TW:"Taiwan",TJ:"Tajiquistão",TZ:"Tanzânia",IO:"Território Britânico do Oceano Índico",TF:"Terras Austrais e Antárticas Francesas",PS:"Territórios palestinos",TL:"Timor-Leste",TG:"Togo",TK:"Tokelau",TO:"Tonga",TT:"Trindade e Tobago",TN:"Tunísia",TM:"Turquemenistão",TR:"Turquia",TV:"Tuvalu",UA:"Ucrânia",UG:"Uganda",UY:"Uruguai",UZ:"Uzbequistão",VU:"Vanuatu",VE:"Venezuela",VN:"Vietname",WF:"Wallis e Futuna",ZM:"Zâmbia",ZW:"Zimbábue",XK:"Kosovo"},o={locale:a,countries:i};export{i as countries,o as default,a as locale}; diff --git a/docs/storybook/assets/react-18-ff0899e5.js b/docs/storybook/assets/react-18-ff0899e5.js deleted file mode 100644 index 40be658..0000000 --- a/docs/storybook/assets/react-18-ff0899e5.js +++ /dev/null @@ -1 +0,0 @@ -import{r as s}from"./index-93f6b7ae.js";import{r as l}from"./index-03a57050.js";var u,a=l;u=a.createRoot,a.hydrateRoot;var n=new Map;function c(){return globalThis.IS_REACT_ACT_ENVIRONMENT}var R=({callback:e,children:t})=>{let r=s.useRef();return s.useLayoutEffect(()=>{r.current!==e&&(r.current=e,e())},[e]),t};typeof Promise.withResolvers>"u"&&(Promise.withResolvers=()=>{let e=null,t=null;return{promise:new Promise((r,o)=>{e=r,t=o}),resolve:e,reject:t}});var f=async(e,t,r)=>{let o=await v(t,r);if(c()){o.render(e);return}let{promise:i,resolve:m}=Promise.withResolvers();return o.render(s.createElement(R,{callback:m},e)),i},h=(e,t)=>{let r=n.get(e);r&&(r.unmount(),n.delete(e))},v=async(e,t)=>{let r=n.get(e);return r||(r=u(e,t),n.set(e,r)),r};export{f as renderElement,h as unmountElement}; diff --git a/docs/storybook/assets/ro-932a618e.js b/docs/storybook/assets/ro-932a618e.js deleted file mode 100644 index ef6f8eb..0000000 --- a/docs/storybook/assets/ro-932a618e.js +++ /dev/null @@ -1 +0,0 @@ -const a="ro",i={AD:"Andorra",AE:"Emiratele Arabe Unite",AF:"Afganistan",AG:"Antigua și Barbuda",AI:"Anguilla",AL:"Albania",AM:"Armenia",AO:"Angola",AQ:"Antarctica",AR:"Argentina",AS:"Samoa Americană",AT:"Austria",AU:"Australia",AW:"Aruba",AX:"Insulele Åland",AZ:"Azerbaidjan",BA:"Bosnia și Herțegovina",BB:"Barbados",BD:"Bangladesh",BE:"Belgia",BF:"Burkina Faso",BG:"Bulgaria",BH:"Bahrain",BI:"Burundi",BJ:"Benin",BL:"Sfântul Bartolomeu",BM:"Bermuda",BN:"Brunei",BO:"Bolivia",BQ:"Insulele Caraibe Olandeze",BR:"Brazilia",BS:"Bahamas",BT:"Bhutan",BV:"Insula Bouvet",BW:"Botswana",BY:"Belarus",BZ:"Belize",CA:"Canada",CC:"Insulele Cocos (Keeling)",CD:"Congo - Kinshasa",CF:"Republica Centrafricană",CG:"Congo - Brazzaville",CH:"Elveția",CI:"Côte d’Ivoire",CK:"Insulele Cook",CL:"Chile",CM:"Camerun",CN:"China",CO:"Columbia",CR:"Costa Rica",CU:"Cuba",CV:"Capul Verde",CW:"Curaçao",CX:"Insula Christmas",CY:"Cipru",CZ:"Cehia",DE:"Germania",DJ:"Djibouti",DK:"Danemarca",DM:"Dominica",DO:"Republica Dominicană",DZ:"Algeria",EC:"Ecuador",EE:"Estonia",EG:"Egipt",EH:"Sahara Occidentală",ER:"Eritreea",ES:"Spania",ET:"Etiopia",FI:"Finlanda",FJ:"Fiji",FK:"Insulele Falkland",FM:"Micronezia",FO:"Insulele Feroe",FR:"Franța",GA:"Gabon",GB:"Regatul Unit",GD:"Grenada",GE:"Georgia",GF:"Guyana Franceză",GG:"Guernsey",GH:"Ghana",GI:"Gibraltar",GL:"Groenlanda",GM:"Gambia",GN:"Guineea",GP:"Guadelupa",GQ:"Guineea Ecuatorială",GR:"Grecia",GS:"Georgia de Sud și Insulele Sandwich de Sud",GT:"Guatemala",GU:"Guam",GW:"Guineea-Bissau",GY:"Guyana",HK:"R.A.S. Hong Kong a Chinei",HM:"Insula Heard și Insulele McDonald",HN:"Honduras",HR:"Croația",HT:"Haiti",HU:"Ungaria",ID:"Indonezia",IE:"Irlanda",IL:"Israel",IM:"Insula Man",IN:"India",IO:"Teritoriul Britanic din Oceanul Indian",IQ:"Irak",IR:"Iran",IS:"Islanda",IT:"Italia",JE:"Jersey",JM:"Jamaica",JO:"Iordania",JP:"Japonia",KE:"Kenya",KG:"Kârgâzstan",KH:"Cambodgia",KI:"Kiribati",KM:"Comore",KN:"Saint Kitts și Nevis",KP:"Coreea de Nord",KR:"Coreea de Sud",KW:"Kuweit",KY:"Insulele Cayman",KZ:"Kazahstan",LA:"Laos",LB:"Liban",LC:"Sfânta Lucia",LI:"Liechtenstein",LK:"Sri Lanka",LR:"Liberia",LS:"Lesotho",LT:"Lituania",LU:"Luxemburg",LV:"Letonia",LY:"Libia",MA:"Maroc",MC:"Monaco",MD:"Republica Moldova",ME:"Muntenegru",MF:"Sfântul Martin",MG:"Madagascar",MH:"Insulele Marshall",MK:"Macedonia de Nord",ML:"Mali",MM:"Myanmar",MN:"Mongolia",MO:"R.A.S. Macao a Chinei",MP:"Insulele Mariane de Nord",MQ:"Martinica",MR:"Mauritania",MS:"Montserrat",MT:"Malta",MU:"Mauritius",MV:"Maldive",MW:"Malawi",MX:"Mexic",MY:"Malaysia",MZ:"Mozambic",NA:"Namibia",NC:"Noua Caledonie",NE:"Niger",NF:"Insula Norfolk",NG:"Nigeria",NI:"Nicaragua",NL:"Țările de Jos",NO:"Norvegia",NP:"Nepal",NR:"Nauru",NU:"Niue",NZ:"Noua Zeelandă",OM:"Oman",PA:"Panama",PE:"Peru",PF:"Polinezia Franceză",PG:"Papua-Noua Guinee",PH:"Filipine",PK:"Pakistan",PL:"Polonia",PM:"Saint-Pierre și Miquelon",PN:"Insulele Pitcairn",PR:"Puerto Rico",PS:"Teritoriile Palestiniene",PT:"Portugalia",PW:"Palau",PY:"Paraguay",QA:"Qatar",RE:"Réunion",RO:"România",RS:"Serbia",RU:"Rusia",RW:"Rwanda",SA:"Arabia Saudită",SB:"Insulele Solomon",SC:"Seychelles",SD:"Sudan",SE:"Suedia",SG:"Singapore",SH:"Sfânta Elena",SI:"Slovenia",SJ:"Svalbard și Jan Mayen",SK:"Slovacia",SL:"Sierra Leone",SM:"San Marino",SN:"Senegal",SO:"Somalia",SR:"Suriname",SS:"Sudanul de Sud",ST:"Sao Tomé și Príncipe",SV:"El Salvador",SX:"Sint-Maarten",SY:"Siria",SZ:"Eswatini",TC:"Insulele Turks și Caicos",TD:"Ciad",TF:"Teritoriile Australe și Antarctice Franceze",TG:"Togo",TH:"Thailanda",TJ:"Tadjikistan",TK:"Tokelau",TL:"Timorul de Est",TM:"Turkmenistan",TN:"Tunisia",TO:"Tonga",TR:"Turcia",TT:"Trinidad și Tobago",TV:"Tuvalu",TW:"Taiwan",TZ:"Tanzania",UA:"Ucraina",UG:"Uganda",UM:"Insulele Îndepărtate ale S.U.A.",US:"Statele Unite ale Americii",UY:"Uruguay",UZ:"Uzbekistan",VA:"Statul Cetății Vaticanului",VC:"Saint Vincent și Grenadinele",VE:"Venezuela",VG:"Insulele Virgine Britanice",VI:"Insulele Virgine Americane",VN:"Vietnam",VU:"Vanuatu",WF:"Wallis și Futuna",WS:"Samoa",XK:"Kosovo",YE:"Yemen",YT:"Mayotte",ZA:"Africa de Sud",ZM:"Zambia",ZW:"Zimbabwe"},e={locale:a,countries:i};export{i as countries,e as default,a as locale}; diff --git a/docs/storybook/assets/ru-9c3986ae.js b/docs/storybook/assets/ru-9c3986ae.js deleted file mode 100644 index ed4a588..0000000 --- a/docs/storybook/assets/ru-9c3986ae.js +++ /dev/null @@ -1 +0,0 @@ -const M="ru",S={AU:"Австралия",AT:"Австрия",AZ:"Азербайджан",AX:"Аландские острова",AL:"Албания",DZ:"Алжир",VI:"Виргинские Острова (США)",AS:"Американское Самоа",AI:"Ангилья",AO:"Ангола",AD:"Андорра",AQ:"Антарктида",AG:"Антигуа и Барбуда",AR:"Аргентина",AM:"Армения",AW:"Аруба",AF:"Афганистан",BS:"Багамы",BD:"Бангладеш",BB:"Барбадос",BH:"Бахрейн",BZ:"Белиз",BY:"Беларусь",BE:"Бельгия",BJ:"Бенин",BM:"Бермуды",BG:"Болгария",BO:"Боливия",BQ:"Бонэйр, Синт-Эстатиус и Саба",BA:"Босния и Герцеговина",BW:"Ботсвана",BR:"Бразилия",IO:"Британская территория в Индийском океане",VG:"Виргинские Острова (Великобритания)",BN:"Бруней",BF:"Буркина-Фасо",BI:"Бурунди",BT:"Бутан",VU:"Вануату",VA:"Ватикан",GB:"Великобритания",HU:"Венгрия",VE:"Венесуэла",UM:"Внешние малые острова (США)",TL:"Восточный Тимор",VN:"Вьетнам",GA:"Габон",HT:"Гаити",GY:"Гайана",GM:"Гамбия",GH:"Гана",GP:"Гваделупа",GT:"Гватемала",GF:"Гвиана",GN:"Гвинея",GW:"Гвинея-Бисау",DE:"Германия",GG:"Гернси",GI:"Гибралтар",HN:"Гондурас",HK:"Гонконг",GD:"Гренада",GL:"Гренландия",GR:"Греция",GE:"Грузия",GU:"Гуам",DK:"Дания",JE:"Джерси",DJ:"Джибути",DM:"Доминика",DO:"Доминиканская Республика",CD:"Демократическая Республика Конго",EG:"Египет",ZM:"Замбия",EH:"САДР",ZW:"Зимбабве",IL:"Израиль",IN:"Индия",ID:"Индонезия",JO:"Иордания",IQ:"Ирак",IR:"Иран",IE:"Ирландия",IS:"Исландия",ES:"Испания",IT:"Италия",YE:"Йемен",CV:"Кабо-Верде",KZ:"Казахстан",KY:"Острова Кайман",KH:"Камбоджа",CM:"Камерун",CA:"Канада",QA:"Катар",KE:"Кения",CY:"Кипр",KG:"Киргизия",KI:"Кирибати",TW:["Тайвань","Китайская Республика"],KP:"КНДР (Корейская Народно-Демократическая Республика)",CN:"КНР (Китайская Народная Республика)",CC:"Кокосовые острова",CO:"Колумбия",KM:"Коморы",CR:"Коста-Рика",CI:"Кот-д’Ивуар",CU:"Куба",KW:"Кувейт",CW:"Кюрасао",LA:"Лаос",LV:"Латвия",LS:"Лесото",LR:"Либерия",LB:"Ливан",LY:"Ливия",LT:"Литва",LI:"Лихтенштейн",LU:"Люксембург",MU:"Маврикий",MR:"Мавритания",MG:"Мадагаскар",YT:"Майотта",MO:"Макао",MW:"Малави",MY:"Малайзия",ML:"Мали",MV:"Мальдивы",MT:"Мальта",MA:"Марокко",MQ:"Мартиника",MH:"Маршалловы Острова",MX:"Мексика",FM:"Микронезия",MZ:"Мозамбик",MD:"Молдавия",MC:"Монако",MN:"Монголия",MS:"Монтсеррат",MM:"Мьянма",NA:"Намибия",NR:"Науру",NP:"Непал",NE:"Нигер",NG:"Нигерия",NL:"Нидерланды",NI:"Никарагуа",NU:"Ниуэ",NZ:"Новая Зеландия",NC:"Новая Каледония",NO:"Норвегия",AE:"ОАЭ",OM:"Оман",BV:"Остров Буве",IM:"Остров Мэн",CK:"Острова Кука",NF:"Остров Норфолк",CX:"Остров Рождества",PN:"Острова Питкэрн",SH:"Острова Святой Елены, Вознесения и Тристан-да-Кунья",PK:"Пакистан",PW:"Палау",PS:"Государство Палестина",PA:"Панама",PG:"Папуа — Новая Гвинея",PY:"Парагвай",PE:"Перу",PL:"Польша",PT:"Португалия",PR:"Пуэрто-Рико",CG:"Республика Конго",KR:"Республика Корея",RE:"Реюньон",RU:["Российская Федерация","Россия"],RW:"Руанда",RO:"Румыния",SV:"Сальвадор",WS:"Самоа",SM:"Сан-Марино",ST:"Сан-Томе и Принсипи",SA:"Саудовская Аравия",SZ:"Эсватини",MK:"Северная Македония",MP:"Северные Марианские Острова",SC:"Сейшельские Острова",BL:"Сен-Бартелеми",MF:"Сен-Мартен",PM:"Сен-Пьер и Микелон",SN:"Сенегал",VC:"Сент-Винсент и Гренадины",KN:"Сент-Китс и Невис",LC:"Сент-Люсия",RS:"Сербия",SG:"Сингапур",SX:"Синт-Мартен",SY:"Сирия",SK:"Словакия",SI:"Словения",SB:"Соломоновы Острова",SO:"Сомали",SD:"Судан",SR:"Суринам",US:"США",SL:"Сьерра-Леоне",TJ:"Таджикистан",TH:"Таиланд",TZ:"Танзания",TC:"Теркс и Кайкос",TG:"Того",TK:"Токелау",TO:"Тонга",TT:"Тринидад и Тобаго",TV:"Тувалу",TN:"Тунис",TM:"Туркмения",TR:"Турция",UG:"Уганда",UZ:"Узбекистан",UA:"Украина",WF:"Уоллис и Футуна",UY:"Уругвай",FO:"Фареры",FJ:"Фиджи",PH:"Филиппины",FI:"Финляндия",FK:"Фолклендские острова",FR:"Франция",PF:"Французская Полинезия",TF:"Французские Южные и Антарктические Территории",HM:"Херд и Макдональд",HR:"Хорватия",CF:"ЦАР",TD:"Чад",ME:"Черногория",CZ:"Чехия",CL:"Чили",CH:"Швейцария",SE:"Швеция",SJ:"Шпицберген и Ян-Майен",LK:"Шри-Ланка",EC:"Эквадор",GQ:"Экваториальная Гвинея",ER:"Эритрея",EE:"Эстония",ET:"Эфиопия",ZA:"ЮАР",GS:"Южная Георгия и Южные Сандвичевы Острова",SS:"Южный Судан",JM:"Ямайка",JP:"Япония",XK:"Косово"},G={locale:M,countries:S};export{S as countries,G as default,M as locale}; diff --git a/docs/storybook/assets/sd-d75db8fd.js b/docs/storybook/assets/sd-d75db8fd.js deleted file mode 100644 index c4dbfc0..0000000 --- a/docs/storybook/assets/sd-d75db8fd.js +++ /dev/null @@ -1 +0,0 @@ -const M="sd",S={AF:"افغانستان",AL:"البانيا",DZ:"الجيريا",AS:"آمريڪي ساموا",AD:"اندورا",AO:"انگولا",AI:"انگويلا",AQ:"انٽارڪٽيڪا",AG:"انٽيگا ۽ باربوڊا",AR:"ارجنٽينا",AM:"ارمینیا",AW:"عروبا",AU:"آسٽريليا",AT:"آسٽريا",AZ:"آذربائيجان",BS:"باهاماس",BH:"بحرين",BD:"بنگلاديش",BB:"باربڊوس",BY:"بیلارس",BE:"بيلجيم",BZ:"بيليز",BJ:"بينن",BM:"برمودا",BT:"ڀوٽان",BO:"بوليويا",BA:"بوسنيا ۽ ھرزيگوينا",BW:"بوٽسوانا",BV:"بووٽ ٻيٽ",BR:"برازيل",IO:"برطانوي هندي سمنڊ خطو",BN:"برونائي",BG:"بلغاريا",BF:"برڪينا فاسو",BI:"برونڊي",KH:"ڪمبوڊيا",CM:"ڪيمرون",CA:"ڪينيڊا",CV:"ڪيپ وردي",KY:"ڪي مين ٻيٽ",CF:"وچ آفريقي جمهوريه",TD:"چاڊ",CL:"چلي",CN:"چين",CX:"ڪرسمس ٻيٽ",CC:"ڪوڪوس ٻيٽ",CO:"ڪولمبيا",KM:"ڪوموروس",CG:"ڪانگو - برازاویل",CD:"ڪانگو -ڪنشاسا",CK:"ڪوڪ ٻيٽ",CR:"ڪوسٽا ريڪا",CI:"ڪوٽ ڊي وار",HR:"ڪروئيشيا",CU:"ڪيوبا",CY:"سائپرس",CZ:"چيڪيا",DK:"ڊينمارڪ",DJ:"ڊجبيوتي",DM:"ڊومينيڪا",DO:"ڊومينيڪن جمهوريه",EC:"ايڪواڊور",EG:"مصر",SV:"ال سلواڊور",GQ:"ايڪوٽوريل گائينا",ER:"ايريٽيريا",EE:"ايسٽونيا",ET:"ايٿوپيا",FK:"فاڪ لينڊ ٻيٽ",FO:"فارو ٻيٽ",FJ:"فجي",FI:"فن لينڊ",FR:"فرانس",GF:"فرانسيسي گيانا",PF:"فرانسيسي پولينيشيا",TF:"فرانسيسي ڏاکڻي علائقا",GA:"گبون",GM:"گيمبيا",GE:"جارجيا",DE:"جرمني",GH:"گهانا",GI:"جبرالٽر",GR:"يونان",GL:"گرين لينڊ",GD:"گرينڊا",GP:"گواڊیلوپ",GU:"گوام",GT:"گوئٽي مالا",GN:"گني",GW:"گني بسائو",GY:"گيانا",HT:"هيٽي",HM:"هرڊ ۽ مڪڊونلڊ ٻيٽ",VA:"ويٽڪين سٽي",HN:"هنڊورس",HK:"هانگ ڪانگ SAR",HU:"هنگري",IS:"آئس لينڊ",IN:"ڀارت",ID:"انڊونيشيا",IR:"ايران",IQ:"عراق",IE:"آئرلينڊ",IL:"اسرائيل",IT:"اٽلي",JM:"جميڪا",JP:"جاپان",JO:"اردن",KZ:"قازقستان",KE:"ڪينيا",KI:"ڪرباتي",KP:"اتر ڪوريا",KR:"ڏکڻ ڪوريا",KW:"ڪويت",KG:"ڪرغستان",LA:"لائوس",LV:"لاتويا",LB:"لبنان",LS:"ليسوٿو",LR:"لائبیریا",LY:"لبيا",LI:"لچي ٽينسٽين",LT:"لٿونيا",LU:"لگزمبرگ",MO:"مڪائو SAR چين",MG:"مدگاسڪر",MW:"مالاوي",MY:"ملائيشيا",MV:"مالديپ",ML:"مالي",MT:"مالٽا",MH:"مارشل ٻيٽ",MQ:"مارتينڪ",MR:"موريتانيا",MU:"موريشس",YT:"مياتي",MX:"ميڪسيڪو",FM:"مائڪرونيشيا",MD:"مالدووا",MC:"موناڪو",MN:"منگوليا",MS:"مونٽسراٽ",MA:"مراڪش",MZ:"موزمبیق",MM:"ميانمار (برما)",NA:"نيميبيا",NR:"نائورو",NP:"نيپال",NL:"نيدرلينڊ",NC:"نیو ڪالیڊونیا",NZ:"نيو زيلينڊ",NI:"نڪراگوا",NE:"نائيجر",NG:"نائيجيريا",NU:"نووي",NF:"نورفوڪ ٻيٽ",MK:"اتر مقدونيا",MP:"اتريان ماريانا ٻيٽ",NO:"ناروي",OM:"عمان",PK:"پاڪستان",PW:"پلائو",PS:"فلسطيني علائقا",PA:"پناما",PG:"پاپوا نیو گني",PY:"پيراگوءِ",PE:"پيرو",PH:"فلپائن",PN:"پٽڪئرن ٻيٽ",PL:"پولينڊ",PT:"پرتگال",PR:"پيوئرٽو ريڪو",QA:"قطر",RE:"ري يونين",RO:"رومانيا",RU:"روس",RW:"روانڊا",SH:"سينٽ ھيلينا",KN:"سينٽ ڪٽس و نيوس",LC:"سينٽ لوسيا",PM:"سینٽ پیئر و میڪوئیلون",VC:"سینٽ ونسنت ۽ گریناڊینز",WS:"ساموا",SM:"سین مرینو",ST:"سائو ٽوم ۽ پرنسپیي",SA:"سعودي عرب",SN:"سينيگال",SC:"شي شلز",SL:"سيرا ليون",SG:"سنگاپور",SK:"سلوواڪيا",SI:"سلوینیا",SB:"سولومون ٻيٽَ",SO:"سوماليا",ZA:"ڏکڻ آفريقا",GS:"ڏکڻ جارجيا ۽ ڏکڻ سينڊوچ ٻيٽ",ES:"اسپين",LK:"سري لنڪا",SD:"سوڊان",SR:"سورينام",SJ:"سوالبارڊ ۽ جان ماین",SZ:"ايسواٽني",SE:"سوئيڊن",CH:"سوئزرلينڊ",SY:"شام",TW:"تائیوان",TJ:"تاجڪستان",TZ:"تنزانيا",TH:"ٿائيليند",TL:"تيمور ليستي",TG:"ٽوگو",TK:"ٽوڪلائو",TO:"ٽونگا",TT:"ٽريني ڊيڊ ۽ ٽوباگو ٻيٽ",TN:"تيونيسيا",TR:"ترڪي",TM:"ترڪمانستان",TC:"ترڪ ۽ ڪيڪوس ٻيٽ",TV:"توالو",UG:"يوگنڊا",UA:"يوڪرين",AE:"متحده عرب امارات",GB:"برطانيہ",US:"آمريڪا جون گڏيل رياستون",UM:"آمريڪي خارجي ٻيٽ",UY:"يوروگوءِ",UZ:"ازبڪستان",VU:"وينيٽيو",VE:"وينزويلا",VN:"ويتنام",VG:"برطانوي ورجن ٻيٽ",VI:"آمريڪي ورجن ٻيٽ",WF:"والس ۽ فتونا",EH:"اولهه صحارا",YE:"يمن",ZM:"زيمبيا",ZW:"زمبابوي",AX:"الند ٻيٽ",BQ:"ڪيريبين نيدرلينڊ",CW:"ڪيوراسائو",GG:"گورنسي",IM:"انسانن جو ٻيٽ",JE:"جرسي",ME:"مونٽي نيگرو",BL:"سینٽ برٿلیمی",MF:"سينٽ مارٽن",RS:"سربيا",SX:"سنٽ مارٽن",SS:"ڏکڻ سوڊان",XK:"ڪوسووو"},G={locale:M,countries:S};export{S as countries,G as default,M as locale}; diff --git a/docs/storybook/assets/sk-17e30744.js b/docs/storybook/assets/sk-17e30744.js deleted file mode 100644 index 356c61b..0000000 --- a/docs/storybook/assets/sk-17e30744.js +++ /dev/null @@ -1 +0,0 @@ -const a="sk",o={AD:"Andorra",AE:"Spojené arabské emiráty",AF:"Afganistan",AG:"Antigua a Barbuda",AI:"Anguilla",AL:"Albánsko",AM:"Arménsko",AO:"Angola",AQ:"Antarktída",AR:"Argentína",AS:"Americká Samoa",AT:"Rakúsko",AU:"Austrália",AW:"Aruba",AX:"Alandy",AZ:"Azerbajdžan",BA:"Bosna a Hercegovina",BB:"Barbados",BD:"Bangladéš",BE:"Belgicko",BF:"Burkina Faso",BG:"Bulharsko",BH:"Bahrajn",BI:"Burundi",BJ:"Benin",BL:"Svätý Bartolomej",BM:"Bermudy",BN:"Brunej",BO:"Bolívia",BQ:"Karibské Holandsko",BR:"Brazília",BS:"Bahamy",BT:"Bhután",BV:"Bouvetov ostrov",BW:"Botswana",BY:"Bielorusko",BZ:"Belize",CA:"Kanada",CC:"Kokosové ostrovy",CD:"Konžská demokratická republika",CF:"Stredoafrická republika",CG:"Konžská republika",CH:"Švajčiarsko",CI:"Pobrežie Slonoviny",CK:"Cookove ostrovy",CL:"Čile",CM:"Kamerun",CN:"Čína",CO:"Kolumbia",CR:"Kostarika",CU:"Kuba",CV:"Kapverdy",CW:"Curaçao",CX:"Vianočný ostrov",CY:"Cyprus",CZ:"Česko",DE:"Nemecko",DJ:"Džibutsko",DK:"Dánsko",DM:"Dominika",DO:"Dominikánska republika",DZ:"Alžírsko",EC:"Ekvádor",EE:"Estónsko",EG:"Egypt",EH:"Západná Sahara",ER:"Eritrea",ES:"Španielsko",ET:"Etiópia",FI:"Fínsko",FJ:"Fidži",FK:"Falklandy",FM:"Mikronézia",FO:"Faerské ostrovy",FR:"Francúzsko",GA:"Gabon",GB:"Spojené kráľovstvo",GD:"Grenada",GE:"Gruzínsko",GF:"Francúzska Guayana",GG:"Guernsey",GH:"Ghana",GI:"Gibraltár",GL:"Grónsko",GM:"Gambia",GN:"Guinea",GP:"Guadeloupe",GQ:"Rovníková Guinea",GR:"Grécko",GS:"Južná Georgia a Južné Sandwichove ostrovy",GT:"Guatemala",GU:"Guam",GW:"Guinea-Bissau",GY:"Guayana",HK:"Hongkong – OAO Číny",HM:"Heardov ostrov a Macdonaldove ostrovy",HN:"Honduras",HR:"Chorvátsko",HT:"Haiti",HU:"Maďarsko",ID:"Indonézia",IE:"Írsko",IL:"Izrael",IM:"Ostrov Man",IN:"India",IO:"Britské indickooceánske územie",IQ:"Irak",IR:"Irán",IS:"Island",IT:"Taliansko",JE:"Jersey",JM:"Jamajka",JO:"Jordánsko",JP:"Japonsko",KE:"Keňa",KG:"Kirgizsko",KH:"Kambodža",KI:"Kiribati",KM:"Komory",KN:"Svätý Krištof a Nevis",KP:"Severná Kórea",KR:"Južná Kórea",KW:"Kuvajt",KY:"Kajmanie ostrovy",KZ:"Kazachstan",LA:"Laos",LB:"Libanon",LC:"Svätá Lucia",LI:"Lichtenštajnsko",LK:"Srí Lanka",LR:"Libéria",LS:"Lesotho",LT:"Litva",LU:"Luxembursko",LV:"Lotyšsko",LY:"Líbya",MA:"Maroko",MC:"Monako",MD:"Moldavsko",ME:"Čierna Hora",MF:"Svätý Martin (fr.)",MG:"Madagaskar",MH:"Marshallove ostrovy",MK:"Severné Macedónsko",ML:"Mali",MM:"Mjanmarsko",MN:"Mongolsko",MO:"Macao – OAO Číny",MP:"Severné Mariány",MQ:"Martinik",MR:"Mauritánia",MS:"Montserrat",MT:"Malta",MU:"Maurícius",MV:"Maldivy",MW:"Malawi",MX:"Mexiko",MY:"Malajzia",MZ:"Mozambik",NA:"Namíbia",NC:"Nová Kaledónia",NE:"Niger",NF:"Norfolk",NG:"Nigéria",NI:"Nikaragua",NL:"Holandsko",NO:"Nórsko",NP:"Nepál",NR:"Nauru",NU:"Niue",NZ:"Nový Zéland",OM:"Omán",PA:"Panama",PE:"Peru",PF:"Francúzska Polynézia",PG:"Papua Nová Guinea",PH:"Filipíny",PK:"Pakistan",PL:"Poľsko",PM:"Saint Pierre a Miquelon",PN:"Pitcairnove ostrovy",PR:"Portoriko",PS:"Palestínske územia",PT:"Portugalsko",PW:"Palau",PY:"Paraguaj",QA:"Katar",RE:"Réunion",RO:"Rumunsko",RS:"Srbsko",RU:"Rusko",RW:"Rwanda",SA:"Saudská Arábia",SB:"Šalamúnove ostrovy",SC:"Seychely",SD:"Sudán",SE:"Švédsko",SG:"Singapur",SH:"Svätá Helena",SI:"Slovinsko",SJ:"Svalbard a Jan Mayen",SK:"Slovensko",SL:"Sierra Leone",SM:"San Maríno",SN:"Senegal",SO:"Somálsko",SR:"Surinam",SS:"Južný Sudán",ST:"Svätý Tomáš a Princov ostrov",SV:"Salvádor",SX:"Svätý Martin (hol.)",SY:"Sýria",SZ:"Svazijsko",TC:"Turks a Caicos",TD:"Čad",TF:"Francúzske južné a antarktické územia",TG:"Togo",TH:"Thajsko",TJ:"Tadžikistan",TK:"Tokelau",TL:"Východný Timor",TM:"Turkménsko",TN:"Tunisko",TO:"Tonga",TR:"Turecko",TT:"Trinidad a Tobago",TV:"Tuvalu",TW:"Taiwan",TZ:"Tanzánia",UA:"Ukrajina",UG:"Uganda",UM:"Menšie odľahlé ostrovy USA",US:"Spojené štáty",UY:"Uruguaj",UZ:"Uzbekistan",VA:"Vatikán",VC:"Svätý Vincent a Grenadíny",VE:"Venezuela",VG:"Britské Panenské ostrovy",VI:"Americké Panenské ostrovy",VN:"Vietnam",VU:"Vanuatu",WF:"Wallis a Futuna",WS:"Samoa",XK:"Kosovo",YE:"Jemen",YT:"Mayotte",ZA:"Južná Afrika",ZM:"Zambia",ZW:"Zimbabwe"},n={locale:a,countries:o};export{o as countries,n as default,a as locale}; diff --git a/docs/storybook/assets/sl-3a00f5bb.js b/docs/storybook/assets/sl-3a00f5bb.js deleted file mode 100644 index 662174a..0000000 --- a/docs/storybook/assets/sl-3a00f5bb.js +++ /dev/null @@ -1 +0,0 @@ -const a="sl",i={AD:"Andora",AE:"Združeni arabski emirati",AF:"Afganistan",AG:"Antigva in Barbuda",AI:"Angvila",AL:"Albanija",AM:"Armenija",AO:"Angola",AQ:"Antarktika",AR:"Argentina",AS:"Ameriška Samoa",AT:"Avstrija",AU:"Avstralija",AW:"Aruba",AX:"Ålandski otoki",AZ:"Azerbajdžan",BA:"Bosna in Hercegovina",BB:"Barbados",BD:"Bangladeš",BE:"Belgija",BF:"Burkina Faso",BG:"Bolgarija",BH:"Bahrajn",BI:"Burundi",BJ:"Benin",BL:"Saint Barthélemy",BM:"Bermudi",BN:"Brunej",BO:"Bolivija",BQ:"Nizozemski Karibi",BR:"Brazilija",BS:"Bahami",BT:"Butan",BV:"Bouvetov otok",BW:"Bocvana",BY:"Belorusija",BZ:"Belize",CA:"Kanada",CC:"Kokosovi otoki",CD:"Demokratična republika Kongo",CF:"Centralnoafriška republika",CG:"Kongo - Brazzaville",CH:"Švica",CI:"Slonokoščena obala",CK:"Cookovi otoki",CL:"Čile",CM:"Kamerun",CN:"Kitajska",CO:"Kolumbija",CR:"Kostarika",CU:"Kuba",CV:"Zelenortski otoki",CW:"Curaçao",CX:"Božični otok",CY:"Ciper",CZ:"Češka",DE:"Nemčija",DJ:"Džibuti",DK:"Danska",DM:"Dominika",DO:"Dominikanska republika",DZ:"Alžirija",EC:"Ekvador",EE:"Estonija",EG:"Egipt",EH:"Zahodna Sahara",ER:"Eritreja",ES:"Španija",ET:"Etiopija",FI:"Finska",FJ:"Fidži",FK:"Falklandski otoki",FM:"Mikronezija",FO:"Ferski otoki",FR:"Francija",GA:"Gabon",GB:"Združeno kraljestvo",GD:"Grenada",GE:"Gruzija",GF:"Francoska Gvajana",GG:"Guernsey",GH:"Gana",GI:"Gibraltar",GL:"Grenlandija",GM:"Gambija",GN:"Gvineja",GP:"Gvadalupe",GQ:"Ekvatorialna Gvineja",GR:"Grčija",GS:"Južna Georgia in Južni Sandwichevi otoki",GT:"Gvatemala",GU:"Guam",GW:"Gvineja Bissau",GY:"Gvajana",HK:"Hongkong",HM:"Heardov otok in McDonaldovi otoki",HN:"Honduras",HR:"Hrvaška",HT:"Haiti",HU:"Madžarska",ID:"Indonezija",IE:"Irska",IL:"Izrael",IM:"Otok Man",IN:"Indija",IO:"Britansko ozemlje v Indijskem oceanu",IQ:"Irak",IR:"Iran",IS:"Islandija",IT:"Italija",JE:"Jersey",JM:"Jamajka",JO:"Jordanija",JP:"Japonska",KE:"Kenija",KG:"Kirgizistan",KH:"Kambodža",KI:"Kiribati",KM:"Komori",KN:"Saint Kitts in Nevis",KP:"Severna Koreja",KR:"Južna Koreja",KW:"Kuvajt",KY:"Kajmanski otoki",KZ:"Kazahstan",LA:"Laos",LB:"Libanon",LC:"Saint Lucia",LI:"Lihtenštajn",LK:"Šrilanka",LR:"Liberija",LS:"Lesoto",LT:"Litva",LU:"Luksemburg",LV:"Latvija",LY:"Libija",MA:"Maroko",MC:"Monako",MD:"Moldavija",ME:"Črna gora",MF:"Saint Martin",MG:"Madagaskar",MH:"Marshallovi otoki",MK:"Severna Makedonija",ML:"Mali",MM:"Mjanmar (Burma)",MN:"Mongolija",MO:"Macao",MP:"Severni Marianski otoki",MQ:"Martinik",MR:"Mavretanija",MS:"Montserrat",MT:"Malta",MU:"Mauritius",MV:"Maldivi",MW:"Malavi",MX:"Mehika",MY:"Malezija",MZ:"Mozambik",NA:"Namibija",NC:"Nova Kaledonija",NE:"Niger",NF:"Norfolški otok",NG:"Nigerija",NI:"Nikaragva",NL:"Nizozemska",NO:"Norveška",NP:"Nepal",NR:"Nauru",NU:"Niue",NZ:"Nova Zelandija",OM:"Oman",PA:"Panama",PE:"Peru",PF:"Francoska Polinezija",PG:"Papua Nova Gvineja",PH:"Filipini",PK:"Pakistan",PL:"Poljska",PM:"Saint Pierre in Miquelon",PN:"Pitcairn",PR:"Portoriko",PS:"Palestinsko ozemlje",PT:"Portugalska",PW:"Palau",PY:"Paragvaj",QA:"Katar",RE:"Reunion",RO:"Romunija",RS:"Srbija",RU:"Rusija",RW:"Ruanda",SA:"Saudova Arabija",SB:"Salomonovi otoki",SC:"Sejšeli",SD:"Sudan",SE:"Švedska",SG:"Singapur",SH:"Sveta Helena",SI:"Slovenija",SJ:"Svalbard in Jan Mayen",SK:"Slovaška",SL:"Sierra Leone",SM:"San Marino",SN:"Senegal",SO:"Somalija",SR:"Surinam",SS:"Južni Sudan",ST:"Sao Tome in Principe",SV:"Salvador",SX:"Sint Maarten",SY:"Sirija",SZ:"Svazi",TC:"Otoki Turks in Caicos",TD:"Čad",TF:"Francosko južno ozemlje",TG:"Togo",TH:"Tajska",TJ:"Tadžikistan",TK:"Tokelau",TL:"Timor-Leste",TM:"Turkmenistan",TN:"Tunizija",TO:"Tonga",TR:"Turčija",TT:"Trinidad in Tobago",TV:"Tuvalu",TW:"Tajvan",TZ:"Tanzanija",UA:"Ukrajina",UG:"Uganda",UM:"Stranski zunanji otoki Združenih držav",US:"Združene države Amerike",UY:"Urugvaj",UZ:"Uzbekistan",VA:"Vatikan",VC:"Saint Vincent in Grenadine",VE:"Venezuela",VG:"Britanski Deviški otoki",VI:"Ameriški Deviški otoki",VN:"Vietnam",VU:"Vanuatu",WF:"Wallis in Futuna",WS:"Samoa",XK:"Kosovo",YE:"Jemen",YT:"Mayotte",ZA:"Južnoafriška republika",ZM:"Zambija",ZW:"Zimbabve"},n={locale:a,countries:i};export{i as countries,n as default,a as locale}; diff --git a/docs/storybook/assets/so-929be57c.js b/docs/storybook/assets/so-929be57c.js deleted file mode 100644 index 3932993..0000000 --- a/docs/storybook/assets/so-929be57c.js +++ /dev/null @@ -1 +0,0 @@ -const a="so",i={AF:"Afgaanistaan",AL:"Albaaniya",DZ:"Aljeeriya",AS:"Samowa Ameerika",AD:"Andora",AO:"Angoola",AI:"Anguilla",AQ:"Antarctica",AG:"Antigua iyo Barbuda",AR:"Arjantiin",AM:"Armeeniya",AW:"Aruba",AU:"Awstaraaliya",AT:"Awsteriya",AZ:"Azerbajaan",BS:"Bahaamas",BH:"Baxreyn",BD:"Bangaaladheesh",BB:"Baarbadoos",BY:"Belarus",BE:"Biljam",BZ:"Belize",BJ:"Biniin",BM:"Bermuuda",BT:"Bhutan",BO:"Boliifiya",BA:"Bosniya Hersigoviina",BW:"Botuswaana",BV:"Jasiiradda Bouvet",BR:"Braasiil",IO:"British Indian Ocean Territory",BN:"Buruneeya",BG:"Bulgaariya",BF:"Burkiina Faaso",BI:"Burundi",KH:"Kamboodiya",CM:"Kaameruun",CA:"Kanada",CV:"Cape Verde Islands",KY:"Cayman Islands",CF:"Jamhuuriyadda Afrikada Dhexe",TD:"Jaad",CL:"Jili",CN:"Shiinaha",CX:"Jasiiradda Kirismaska",CC:"Jasiiradaha Cocos (Keeling)",CO:"Kolombiya",KM:"Komooros",CG:"Kongo",CD:"Jamhuuriyadda Dimuquraadiga Kongo",CK:"Jaziiradda Cook",CR:"Kosta Riika",CI:"Ivory coast",HR:"Korweeshiya",CU:"Kuuba",CY:"Qubrus",CZ:"Jamhuuriyadda Jek",DK:"Denmark",DJ:"Jabuuti",DM:"Domeenika",DO:"Jamhuuriyadda Domeenika",EC:"Ikuwadoor",EG:"Masar",SV:"El Salvador",GQ:"Equatorial Guinea",ER:"Eretereeya",EE:"Estooniya",ET:"Itoobiya",FK:"Jaziiradaha Fooklaan",FO:"Jasiiradaha Faroe",FJ:"Fiji",FI:"Finland",FR:"Faransiis",GF:"French Guiana",PF:"French Polynesia",TF:"Gobollada Koofureed ee Faransiiska",GA:"Gaaboon",GM:"Gambiya",GE:"Joorjiya",DE:"Jarmal",GH:"Gaana",GI:"Gibraltar",GR:"Giriig",GL:"Greenland",GD:"Giriinaada",GP:"Guadeloupe",GU:"Guam",GT:"Guwaatamaala",GN:"Gini",GW:"Gini-Bisaaw",GY:"Guyana",HT:"Hayti",HM:"Jasiiradaha Heard iyo McDonald Islands",VA:"Faatikaan",HN:"Honduras",HK:"Hong Kong",HU:"Hangeri",IS:"Iislaand",IN:"Hindiya",ID:"Indoneesiya",IR:"Iiraan",IQ:"Ciraaq",IE:"Ayrlaand",IL:"Israaʼiil",IT:"Talyaani",JM:"Jameyka",JP:"Jabaan",JO:"Urdun",KZ:"Kasaakhistaan",KE:"Kiiniya",KI:"Kiribati",KP:"Kuuriyada Waqooyi",KR:"Kuuriyada Koonfureed",KW:"Kuwayt",KG:"Kirgistaan",LA:"Laos",LV:"Latfiya",LB:"Lubnaan",LS:"Losooto",LR:"Laybeeriya",LY:"Liibiya",LI:"Liechtenstein",LT:"Lituweeniya",LU:"Luksemboorg",MO:"Macao",MG:"Madagaskar",MW:"Malaawi",MY:"Malaysia",MV:"Maaldiqeen",ML:"Maali",MT:"Maalda",MH:"Marshall Islands",MQ:"Martinique",MR:"Muritaaniya",MU:"Murishiyoos",YT:"Mayotte",MX:"Meksiko",FM:"Micronesia",MD:"Moldofa",MC:"Moonako",MN:"Mongooliya",MS:"Montserrat",MA:"Marooko",MZ:"Musambiig",MM:"Myanmar",NA:"Namiibiya",NR:"Nauru",NP:"Nebaal",NL:"Netherlands",NC:"New Caledonia",NZ:"Neyuusilaand",NI:"Nikaraaguwa",NE:"Nayjer",NG:"Nayjeeriya",NU:"Niue",NF:"Norfolk Island",MK:"Makadooniya",MP:"Northern Mariana Islands",NO:"Noorweey",OM:"Cumaan",PK:"Bakistaan",PW:"Palau",PS:"Falastiin Daanka galbeed iyo Qasa",PA:"Panama",PG:"Papua New Guinea",PY:"Paraguay",PE:"Peru",PH:"Filibiin",PN:"Pitcairn",PL:"Booland",PT:"Bortuqaal",PR:"Puerto Rico",QA:"Qadar",RE:"Réunion",RO:"Rumaaniya",RU:"Ruush",RW:"Ruwanda",SH:"Saint Helena",KN:"Saint Kitts and Nevis",LC:"Saint Lucia",PM:"Saint Pierre and Miquelon",VC:"Saint Vincent and the Grenadines",WS:"Samoa",SM:"San Marino",ST:"São Tomé and Príncipe",SA:"Sacuudi Carabiya",SN:"Sinigaal",SC:"Sishelis",SL:"Siraaliyoon",SG:"Singaboor",SK:"Slovakia",SI:"Slovenia",SB:"Solomon Islands",SO:"Soomaaliya",ZA:"Koonfur Afrika",GS:"Koonfurta Georgia iyo Koonfurta Sandwich Islands",ES:"Isbeyn",LK:"Sirilaanka",SD:"Suudaan",SR:"Suriname",SJ:"Svalbard iyo Jan Mayen",SZ:"Iswaasilaand",SE:"Iswidhan",CH:"Swiiserlaand",SY:"Suuriya",TW:"Taywaan",TJ:"Tajikistan",TZ:"Tansaaniya",TH:"Taylaand",TL:"Timorka bari",TG:"Toogo",TK:"Tokelau",TO:"Tonga",TT:"Trinidad and Tobago",TN:"Tuniisiya",TR:"Turki",TM:"Turkmenistan",TC:"Turks and Caicos Islands",TV:"Tuvalu",UG:"Ugaanda",UA:"Ukrayn",AE:"Imaaraadka Carabta ee Midoobay",GB:"United Kingdom",US:"Maraykanka",UM:"Jasiiradaha yaryar ee ka baxsan Mareykanka",UY:"Uruguwaay",UZ:"Uusbakistaan",VU:"Vanuatu",VE:"Fenisuweela",VN:"Fiyetnaam",VG:"British Virgin Islands",VI:"U.S. Virgin Islands",WF:"Wallis and Futuna",EH:"Saxaraha Galbeed",YE:"Yaman",ZM:"Saambiya",ZW:"Simbaabwe",AX:"Jasiiradaha Åland",BQ:"Bonaire, Sint Eustatius iyo Saba",CW:"Curaçao",GG:"Guernsey",IM:"Jasiiradda Man",JE:"Jersey",ME:"Montenegro",BL:"Saint Barthélemy",MF:"Saint Martin (qayb Faransiis ah)",RS:"Serbia",SX:"Sint Maarten (Qaybta Nederlandka)",SS:"Koonfur Suudaan",XK:"Kosovo"},n={locale:a,countries:i};export{i as countries,n as default,a as locale}; diff --git a/docs/storybook/assets/solid-dazzle-3f1e3959.woff2 b/docs/storybook/assets/solid-dazzle-3f1e3959.woff2 deleted file mode 100644 index eecbcff..0000000 Binary files a/docs/storybook/assets/solid-dazzle-3f1e3959.woff2 and /dev/null differ diff --git a/docs/storybook/assets/sq-36c79e02.js b/docs/storybook/assets/sq-36c79e02.js deleted file mode 100644 index 91ac80f..0000000 --- a/docs/storybook/assets/sq-36c79e02.js +++ /dev/null @@ -1 +0,0 @@ -const a="sq",i={AF:"Afganistan",AL:"Shqipëri",DZ:"Algjeri",AS:"Samoa Amerikane",AD:"Andorrë",AO:"Angolë",AI:"Anguilë",AQ:"Antarktidë",AG:"Antigua & Barbuda",AR:"Argjentinë",AM:"Armeni",AW:"Arubë",AU:"Australi",AT:"Austri",AZ:"Azerbajxhan",BS:"Bahamas",BH:"Bahrein",BD:"Bangladesh",BB:"Barbados",BY:"Bjellorusi",BE:"Belgjikë",BZ:"Belize",BJ:"Benin",BM:"Bermuda",BT:"Butan",BO:"Bolivi",BA:"Bosnjë & Hercegovinë",BW:"Botsvanë",BV:"Ishulli Buve",BR:"Brazil",IO:"Territori Britanik i Oqeanit Indian",BN:"Brunej",BG:"Bullgari",BF:"Burkina Faso",BI:"Burund",KH:"Kamboxhia",CM:"Kamerun",CA:"Kanada",CV:"Kepi i Gjelbër",KY:"Ishujt Kajman",CF:"Republika Afrikano-Qendrore",TD:"Çad",CL:"Kili",CN:"Kinë",CX:"Ishulli i Krishtlindjes",CC:"Ishujt Kokos (Kiling)",CO:"Kolumbi",KM:"Komore",CG:"Kongo-Brazavil",CD:"Kongo-Kinshasa",CK:"Ishulli Kuk",CR:"Kosta Rikë",CI:"Bregu i Fildishtë",HR:"Kroaci",CU:"Kubë",CY:"Qipro",CZ:"Republika Çeke",DK:"Danimarkë",DJ:"Xhibut",DM:"Dominikë",DO:"Republika Dominikane",EC:"Ekuador",EG:"Egjipt",SV:"El Salvador",GQ:"Guineja Ekuatoriale",ER:"Eritre",EE:"Estoni",ET:"Etiopi",FK:"Ishujt Folkland",FO:"Ishujt Faroe",FJ:"Fixhi",FI:"Finlandë",FR:"Francë",GF:"Guajana Frënge",PF:"Polinezia Frënge",TF:"Territoret Frënge Jugore",GA:"Gabon",GM:"Gambia",GE:"Gjeorgji",DE:"Gjermani",GH:"Gana",GI:"Gjibraltar",GR:"Greqi",GL:"Groenlandë",GD:"Grenadë",GP:"Guadalup",GU:"Guam",GT:"Guatemalë",GN:"Guine",GW:"Guinea-Bisau",GY:"Guajanë",HT:"Haiti",HM:"Ishujt Hërd & Mekdonald",VA:"Vatikan",HN:"Honduras",HK:"RVA i Hong Kongut Kinë",HU:"Hungari",IS:"Islandë",IN:"Indi",ID:"Indonezi",IR:"Iran",IQ:"Irak",IE:"Irlandë",IL:"Izrael",IT:"Itali",JM:"Xhamajkë",JP:"Japoni",JO:"Jordani",KZ:"Kazakistan",KE:"Kenia",KI:"Kiribati",KP:"Koreja e Veriut",KR:"Koreja e Jugut",KW:"Kuvajt",KG:"Kirgizstan",LA:"Laos",LV:"Letoni",LB:"Liban",LS:"Lesoto",LR:"Liberi",LY:"Libi",LI:"Lihtenshtein",LT:"Lituani",LU:"Luksemburg",MO:"RVA i Makaos Kinë",MG:"Madagaskar",MW:"Malavi",MY:"Malajzi",MV:"Maldive",ML:"Mali",MT:"Maltë",MH:"Ishujt Marshall",MQ:"Martinikë",MR:"Mauritani",MU:"Mauritius",YT:"Majote",MX:"Meksikë",FM:"Mikronezi",MD:"Moldavi",MC:"Monako",MN:"Mongoli",MS:"Montserat",MA:"Marok",MZ:"Mozambik",MM:"Mianmar (Burma)",NA:"Namibi",NR:"Nauru",NP:"Nepal",NL:"Holandë",NC:"Kaledonia e Re",NZ:"Zelandë e Re",NI:"Nikaragua",NE:"Niger",NG:"Nigeri",NU:"Niue",NF:"Ishujt Norfolk",MK:"Maqedoni",MP:"Ishujt Veriorë Mariana",NO:"Norvegji",OM:"Oman",PK:"Pakistan",PW:"Palau",PS:"Territoret Palestineze",PA:"Panama",PG:"Papua Guineja e Re",PY:"Paraguai",PE:"Peru",PH:"Filipine",PN:"Ishujt Pitkern",PL:"Poloni",PT:"Portugali",PR:"Porto Riko",QA:"Katar",RE:"Reunion",RO:"Rumani",RU:"Rusi",RW:"Ruandë",SH:"Shën Helena",KN:"Shën Kits e Nevis",LC:"Shën Luçia",PM:"Shën Pier dhe Mikëlon",VC:"Shën Vinsent & Grenadinet",WS:"Samoa",SM:"San Marino",ST:"Sao Tome & Prinsipe",SA:"Arabi Saudite",SN:"Senegal",SC:"Sejshelle",SL:"Sierra Leone",SG:"Singapor",SK:"Sllovaki",SI:"Slloveni",SB:"Ishujt Solomon",SO:"Somali",ZA:"Afrikë e Jugut",GS:"Xhorxha Jugore dhe Ishujt Sanduiç të Jugut",ES:"Spanjë",LK:"Sri Lankë",SD:"Sudan",SR:"Surinam",SJ:"Svalbard & Zhan Majen",SZ:"Svaziland",SE:"Suedi",CH:"Zvicër",SY:"Siri",TW:"Tajvan",TJ:"Taxhikistan",TZ:"Tanzani",TH:"Tajlandë",TL:"Timori Lindor",TG:"Togo",TK:"Tokelau",TO:"Tonga",TT:"Trinidad & Tobago",TN:"Tunizi",TR:"Turqi",TM:"Turkmenistan",TC:"Ishujt Turk & Kaikos",TV:"Tuvalu",UG:"Ugandë",UA:"Ukrainë",AE:"Emiratet e Bashkuara Arabe",GB:"Mbretëria e Bashkuar",US:"Shtetet e Bashkuara të Amerikës",UM:"Ishujt e Përtejmë SHBA-së",UY:"Uruguai",UZ:"Uzbekistan",VU:"Vanuatu",VE:"Venezuelë",VN:"Vietnam",VG:"Ishujt e Virgjër Britanikë",VI:"Ishujt e Virgjër Amerikanë",WF:"Uollis e Futuna",EH:"Sahara Perëndimore",YE:"Jemen",ZM:"Zambia",ZW:"Zimbabve",AX:"Ishujt Aland",BQ:"Karaibet Holandeze",CW:"Kurasao",GG:"Gërnsi",IM:"Ishulli i Robit",JE:"Xhërsi",ME:"Mali i Zi",BL:"Shën Bartolomeo",MF:"Shën Martin",RS:"Serbi",SX:"Shën Martin",SS:"Sudan i Jugut",XK:"Kosovë"},n={locale:a,countries:i};export{i as countries,n as default,a as locale}; diff --git a/docs/storybook/assets/sr-8f16043b.js b/docs/storybook/assets/sr-8f16043b.js deleted file mode 100644 index ee2ff9c..0000000 --- a/docs/storybook/assets/sr-8f16043b.js +++ /dev/null @@ -1 +0,0 @@ -const M="sr",S={AD:"Андора",AE:"Уједињени Арапски Емирати",AF:"Авганистан",AG:"Антигва и Барбуда",AI:"Ангвила",AL:"Албанија",AM:"Јерменија",AO:"Ангола",AQ:"Антарктик",AR:"Аргентина",AS:"Америчка Самоа",AT:"Аустрија",AU:"Аустралија",AW:"Аруба",AX:"Оландска Острва",AZ:"Азербејџан",BA:"Босна и Херцеговина",BB:"Барбадос",BD:"Бангладеш",BE:"Белгија",BF:"Буркина Фасо",BG:"Бугарска",BH:"Бахреин",BI:"Бурунди",BJ:"Бенин",BL:"Сен Бартелеми",BM:"Бермуда",BN:"Брунеј",BO:"Боливија",BQ:"Карипска Холандија",BR:"Бразил",BS:"Бахами",BT:"Бутан",BV:"Острво Буве",BW:"Боцвана",BY:"Белорусија",BZ:"Белизе",CA:"Канада",CC:"Кокосова (Килингова) Острва",CD:"Конго - Киншаса",CF:"Централноафричка Република",CG:"Конго - Бразавил",CH:"Швајцарска",CI:"Обала Слоноваче",CK:"Кукова Острва",CL:"Чиле",CM:"Камерун",CN:"Кина",CO:"Колумбија",CR:"Костарика",CU:"Куба",CV:"Зеленортска Острва",CW:"Курасао",CX:"Божићно Острво",CY:"Кипар",CZ:"Чешка",DE:"Немачка",DJ:"Џибути",DK:"Данска",DM:"Доминика",DO:"Доминиканска Република",DZ:"Алжир",EC:"Еквадор",EE:"Естонија",EG:"Египат",EH:"Западна Сахара",ER:"Еритреја",ES:"Шпанија",ET:"Етиопија",FI:"Финска",FJ:"Фиџи",FK:"Фокландска Острва",FM:"Микронезија",FO:"Фарска Острва",FR:"Француска",GA:"Габон",GB:"Уједињено Краљевство",GD:"Гренада",GE:"Грузија",GF:"Француска Гвајана",GG:"Гернзи",GH:"Гана",GI:"Гибралтар",GL:"Гренланд",GM:"Гамбија",GN:"Гвинеја",GP:"Гваделуп",GQ:"Екваторијална Гвинеја",GR:"Грчка",GS:"Јужна Џорџија и Јужна Сендвичка Острва",GT:"Гватемала",GU:"Гуам",GW:"Гвинеја-Бисао",GY:"Гвајана",HK:"САР Хонгконг (Кина)",HM:"Острво Херд и Мекдоналдова острва",HN:"Хондурас",HR:"Хрватска",HT:"Хаити",HU:"Мађарска",ID:"Индонезија",IE:"Ирска",IL:"Израел",IM:"Острво Ман",IN:"Индија",IO:"Британска територија Индијског океана",IQ:"Ирак",IR:"Иран",IS:"Исланд",IT:"Италија",JE:"Џерзи",JM:"Јамајка",JO:"Јордан",JP:"Јапан",KE:"Кенија",KG:"Киргистан",KH:"Камбоџа",KI:"Кирибати",KM:"Коморска Острва",KN:"Сент Китс и Невис",KP:"Северна Кореја",KR:"Јужна Кореја",KW:"Кувајт",KY:"Кајманска Острва",KZ:"Казахстан",LA:"Лаос",LB:"Либан",LC:"Света Луција",LI:"Лихтенштајн",LK:"Шри Ланка",LR:"Либерија",LS:"Лесото",LT:"Литванија",LU:"Луксембург",LV:"Летонија",LY:"Либија",MA:"Мароко",MC:"Монако",MD:"Молдавија",ME:"Црна Гора",MF:"Свети Мартин (Француска)",MG:"Мадагаскар",MH:"Маршалска Острва",MK:"Северна Македонија",ML:"Мали",MM:"Мијанмар (Бурма)",MN:"Монголија",MO:"САР Макао (Кина)",MP:"Северна Маријанска Острва",MQ:"Мартиник",MR:"Мауританија",MS:"Монсерат",MT:"Малта",MU:"Маурицијус",MV:"Малдиви",MW:"Малави",MX:"Мексико",MY:"Малезија",MZ:"Мозамбик",NA:"Намибија",NC:"Нова Каледонија",NE:"Нигер",NF:"Острво Норфок",NG:"Нигерија",NI:"Никарагва",NL:"Холандија",NO:"Норвешка",NP:"Непал",NR:"Науру",NU:"Ниуе",NZ:"Нови Зеланд",OM:"Оман",PA:"Панама",PE:"Перу",PF:"Француска Полинезија",PG:"Папуа Нова Гвинеја",PH:"Филипини",PK:"Пакистан",PL:"Пољска",PM:"Сен Пјер и Микелон",PN:"Питкерн",PR:"Порторико",PS:"Палестинске територије",PT:"Португалија",PW:"Палау",PY:"Парагвај",QA:"Катар",RE:"Реинион",RO:"Румунија",RS:"Србија",RU:"Русија",RW:"Руанда",SA:"Саудијска Арабија",SB:"Соломонска Острва",SC:"Сејшели",SD:"Судан",SE:"Шведска",SG:"Сингапур",SH:"Света Јелена",SI:"Словенија",SJ:"Свалбард и Јан Мајен",SK:"Словачка",SL:"Сијера Леоне",SM:"Сан Марино",SN:"Сенегал",SO:"Сомалија",SR:"Суринам",SS:"Јужни Судан",ST:"Сао Томе и Принципе",SV:"Салвадор",SX:"Свети Мартин (Холандија)",SY:"Сирија",SZ:"Свазиленд",TC:"Острва Туркс и Каикос",TD:"Чад",TF:"Француске Јужне Територије",TG:"Того",TH:"Тајланд",TJ:"Таџикистан",TK:"Токелау",TL:"Источни Тимор",TM:"Туркменистан",TN:"Тунис",TO:"Тонга",TR:"Турска",TT:"Тринидад и Тобаго",TV:"Тувалу",TW:"Тајван",TZ:"Танзанија",UA:"Украјина",UG:"Уганда",UM:"Удаљена острва САД",US:"Сједињене Државе",UY:"Уругвај",UZ:"Узбекистан",VA:"Ватикан",VC:"Сент Винсент и Гренадини",VE:"Венецуела",VG:"Британска Девичанска Острва",VI:"Америчка Девичанска Острва",VN:"Вијетнам",VU:"Вануату",WF:"Валис и Футуна",WS:"Самоа",XK:"Косово",YE:"Јемен",YT:"Мајот",ZA:"Јужноафричка Република",ZM:"Замбија",ZW:"Зимбабве"},G={locale:M,countries:S};export{S as countries,G as default,M as locale}; diff --git a/docs/storybook/assets/sv-6aee90ea.js b/docs/storybook/assets/sv-6aee90ea.js deleted file mode 100644 index a7dda7e..0000000 --- a/docs/storybook/assets/sv-6aee90ea.js +++ /dev/null @@ -1 +0,0 @@ -const a="sv",n={AD:"Andorra",AE:"Förenade Arabemiraten",AF:"Afghanistan",AG:"Antigua och Barbuda",AI:"Anguilla",AL:"Albanien",AM:"Armenien",AO:"Angola",AQ:"Antarktis",AR:"Argentina",AS:"Amerikanska Samoa",AT:"Österrike",AU:"Australien",AW:"Aruba",AX:"Åland",AZ:"Azerbajdzjan",BA:"Bosnien och Hercegovina",BB:"Barbados",BD:"Bangladesh",BE:"Belgien",BF:"Burkina Faso",BG:"Bulgarien",BH:"Bahrain",BI:"Burundi",BJ:"Benin",BL:"Saint-Barthélemy",BM:"Bermuda",BN:"Brunei",BO:"Bolivia",BQ:"Bonaire, Saint Eustatius och Saba",BR:"Brasilien",BS:"Bahamas",BT:"Bhutan",BV:"Bouvetön",BW:"Botswana",BY:"Belarus",BZ:"Belize",CA:"Kanada",CC:"Kokosöarna",CD:"Demokratiska republiken Kongo",CF:"Centralafrikanska republiken",CG:"Kongo-Brazzaville",CH:"Schweiz",CI:"Elfenbenskusten",CK:"Cooköarna",CL:"Chile",CM:"Kamerun",CN:"Kina",CO:"Colombia",CR:"Costa Rica",CU:"Kuba",CV:"Kap Verde",CW:"Curacao",CX:"Julön",CY:"Cypern",CZ:"Tjeckien",DE:"Tyskland",DJ:"Djibouti",DK:"Danmark",DM:"Dominica",DO:"Dominikanska republiken",DZ:"Algeriet",EC:"Ecuador",EE:"Estland",EG:"Egypten",EH:"Västsahara",ER:"Eritrea",ES:"Spanien",ET:"Etiopien",FI:"Finland",FJ:"Fiji",FK:"Falklandsöarna",FM:"Mikronesiska federationen",FO:"Färöarna",FR:"Frankrike",GA:"Gabon",GB:"Storbritannien",GD:"Grenada",GE:"Georgien",GF:"Franska Guyana",GG:"Guernsey",GH:"Ghana",GI:"Gibraltar",GL:"Grönland",GM:"Gambia",GN:"Guinea",GP:"Guadeloupe",GQ:"Ekvatorialguinea",GR:"Grekland",GS:"Sydgeorgien och Sydsandwichöarna",GT:"Guatemala",GU:"Guam",GW:"Guinea Bissau",GY:"Guyana",HK:"Hongkong",HM:"Heard- och McDonaldsöarna",HN:"Honduras",HR:"Kroatien",HT:"Haiti",HU:"Ungern",ID:"Indonesien",IE:"Irland",IL:"Israel",IM:"Isle of Man",IN:"Indien",IO:"Brittiska territoriet i Indiska Oceanen",IQ:"Irak",IR:"Iran",IS:"Island",IT:"Italien",JE:"Jersey",JM:"Jamaica",JO:"Jordanien",JP:"Japan",KE:"Kenya",KG:"Kirgizistan",KH:"Kambodja",KI:"Kiribati",KM:"Komorerna",KN:"Saint Kitts och Nevis",KP:"Nordkorea",KR:"Sydkorea",KW:"Kuwait",KY:"Caymanöarna",KZ:"Kazakstan",LA:"Laos",LB:"Libanon",LC:"Saint Lucia",LI:"Liechtenstein",LK:"Sri Lanka",LR:"Liberia",LS:"Lesotho",LT:"Litauen",LU:"Luxemburg",LV:"Lettland",LY:"Libyen",MA:"Marocko",MC:"Monaco",MD:"Moldavien",ME:"Montenegro",MF:"Saint Martin (franska delen)",MG:"Madagaskar",MH:"Marshallöarna",MK:"Nordmakedonien",ML:"Mali",MM:"Burma",MN:"Mongoliet",MO:"Macau",MP:"Nordmarianerna",MQ:"Martinique",MR:"Mauretanien",MS:"Montserrat",MT:"Malta",MU:"Mauritius",MV:"Maldiverna",MW:"Malawi",MX:"Mexiko",MY:"Malaysia",MZ:"Moçambique",NA:"Namibia",NC:"Nya Kaledonien",NE:"Niger",NF:"Norfolkön",NG:"Nigeria",NI:"Nicaragua",NL:"Nederländerna",NO:"Norge",NP:"Nepal",NR:"Nauru",NU:"Niue",NZ:"Nya Zeeland",OM:"Oman",PA:"Panama",PE:"Peru",PF:"Franska Polynesien",PG:"Papua Nya Guinea",PH:"Filippinerna",PK:"Pakistan",PL:"Polen",PM:"Saint-Pierre och Miquelon",PN:"Pitcairnöarna",PR:"Puerto Rico",PS:"Palestinska territoriet, ockuperade",PT:"Portugal",PW:"Palau",PY:"Paraguay",QA:"Qatar",RE:"Réunion",RO:"Rumänien",RS:"Serbien",RU:"Ryssland",RW:"Rwanda",SA:"Saudiarabien",SB:"Salomonöarna",SC:"Seychellerna",SD:"Sudan",SE:"Sverige",SG:"Singapore",SH:"Sankta Helena",SI:"Slovenien",SJ:"Svalbard och Jan Mayen",SK:"Slovakien",SL:"Sierra Leone",SM:"San Marino",SN:"Senegal",SO:"Somalia",SR:"Surinam",SS:"Sydsudan",ST:"São Tomé och Príncipe",SV:"El Salvador",SX:"Sint Maarten (nederländska delen)",SY:"Syrien",SZ:"Eswatini",TC:"Turks- och Caicosöarna",TD:"Tchad",TF:"Franska södra territorierna",TG:"Togo",TH:"Thailand",TJ:"Tadzjikistan",TK:"Tokelauöarna",TL:"Östtimor",TM:"Turkmenistan",TN:"Tunisien",TO:"Tonga",TR:"Turkiet",TT:"Trinidad och Tobago",TV:"Tuvalu",TW:"Taiwan",TZ:"Tanzania",UA:"Ukraina",UG:"Uganda",UM:"USA:s yttre öar",US:"USA",UY:"Uruguay",UZ:"Uzbekistan",VA:"Vatikanstaten",VC:"Saint Vincent och Grenadinerna",VE:"Venezuela",VG:"Brittiska Jungfruöarna",VI:"Amerikanska Jungfruöarna",VN:"Vietnam",VU:"Vanuatu",WF:"Wallis- och Futunaöarna",WS:"Samoa",YE:"Jemen",YT:"Mayotte",ZA:"Sydafrika",ZM:"Zambia",ZW:"Zimbabwe",XK:"Kosovo"},e={locale:a,countries:n};export{n as countries,e as default,a as locale}; diff --git a/docs/storybook/assets/sw-bbcd1da0.js b/docs/storybook/assets/sw-bbcd1da0.js deleted file mode 100644 index 7d08f2c..0000000 --- a/docs/storybook/assets/sw-bbcd1da0.js +++ /dev/null @@ -1 +0,0 @@ -const a="sw",i={AF:"Afghanistan",AL:"Albania",DZ:"Algeria",AS:"Samoa ya Marekani",AD:"Andorra",AO:"Angola",AI:"Anguilla",AQ:"Antaktiki",AG:"Antigua na Barbuda",AR:"Ajentina",AM:"Armenia",AW:"Aruba",AU:"Australia",AT:"Austria",AZ:"Azabajani",BS:"Bahamas",BH:"Bahrain",BD:"Bangladesh",BB:"Barbados",BY:"Belarusi",BE:"Ubelgiji",BZ:"Belize",BJ:"Benign",BM:"Bermuda",BT:"Bhutan",BO:"Bolivia",BA:"Bosnia na Herzegovina",BW:"Botswana",BV:"Kisiwa cha Bouvet",BR:"Brazil",IO:"Bahari ya Hindi ya Uingereza",BN:"Brunei Darussalam",BG:"Bulgaria",BF:"Burkina Faso",BI:"Burundi",KH:"Kamboja",CM:"Kamerun",CA:"Canada",CV:"Kofia ya kijani",KY:"Visiwa vya Cayman",CF:"Jamhuri ya Afrika ya Kati",TD:"Chad",CL:"Chile",CN:"Uchina",CX:"Kisiwa cha Krismasi",CC:"Cocos",CO:"Kolombia",KM:"Comoro",CG:"Jamhuri ya Kongo",CD:"Kongo, Jamhuri ya Kidemokrasia",CK:"Visiwa vya Cook",CR:"Costa Rica",CI:"Pwani ya Pembe",HR:"Kroatia",CU:"Cuba",CY:"Kupro",CZ:"Jamhuri ya Czech",DK:"Denmark",DJ:"Djibouti",DM:"Dominica",DO:"Jamhuri ya Dominika",EC:"Ekvado",EG:"Misri",SV:"El Salvador",GQ:"Guinea ya Ikweta",ER:"Eritrea",EE:"Estonia",ET:"Ethiopia",FK:"Visiwa vya Falkland",FO:"Visiwa vya Faroe",FJ:"Fiji",FI:"Ufini",FR:"Ufaransa",GF:"Guiana ya Ufaransa",PF:"Polynesia ya Ufaransa",TF:"Wilaya za Kusini mwa Ufaransa",GA:"Gabon",GM:"Gambia",GE:"Georgia",DE:"Ujerumani",GH:"Ghana",GI:"Gibraltar",GR:"Ugiriki",GL:"Greenland",GD:"Grenada",GP:"Guadeloupe",GU:"Guam",GT:"Guatemala",GN:"Gine",GW:"Guinea-Bissau",GY:"Guyana",HT:"Haiti",HM:"Visiwa vya Heard na MacDonald",VA:"Holy See",HN:"Honduras",HK:"Hong Kong",HU:"Hungary",IS:"Iceland",IN:"India",ID:"Indonesia",IR:"Iran",IQ:"Iraq",IE:"Ireland",IL:"Israeli",IT:"Italia",JM:"Jamaica",JP:"Japani",JO:"Yordani",KZ:"Kazakhstan",KE:"Kenya",KI:"Kiribati",KP:"Korea Kaskazini, Jamhuri ya Watu wa Kidemokrasiaatique",KR:"Korea Kusini, Jamhuri",KW:"Kuwait",KG:"Kyrgyzstan",LA:"Laos",LV:"Latvia",LB:"Lebanon",LS:"Lesotho",LR:"Liberia",LY:"Libya",LI:"Liechtenstein",LT:"Lithuania",LU:"Luxemburg",MO:"Macao",MK:"Makedonia Kaskazini",MG:"Madagaska",MW:"Malawi",MY:"Malaysia",MV:"Maldives",ML:"Mali",MT:"Malta",MH:"Visiwa vya Marshall",MQ:"Martinique",MR:"Mauritania",MU:"Maurice",YT:"Mayotte",MX:"Mexico",FM:"Micronesia",MD:"Moldova",MC:"Monaco",MN:"Mongolia",MS:"Montserrat",MA:"Moroko",MZ:"Msumbiji",MM:"Myanmar",NA:"Namibia",NR:"Nauru",NP:"Nepal",NL:"Uholanzi",NC:"Kaledonia mpya",NZ:"New Zealand",NI:"Nikaragua",NE:"Niger",NG:"Nigeria",NU:"Niue",NF:"Kisiwa cha Norfolk",MP:"Mariana ya Kaskazini",NO:"Norway",OM:"Oman",PK:"Pakistan",PW:"Palau",PS:"Palestina",PA:"Panama",PG:"Papua Guinea Mpya",PY:"Paragwai",PE:"Peru",PH:"Ufilipino",PN:"Pitcairn",PL:"Poland",PT:"Ureno",PR:"Porto Rico",QA:"Qatar",RE:"Mkutano",RO:"Romania",RU:"Urusi",RW:"Rwanda",SH:"Mtakatifu Helena",KN:"Mtakatifu Kitts na Nevis",LC:"Mtakatifu LUCIA",PM:"Mtakatifu Pierre na Miquelon",VC:"Saint Vincent na Grenadines",WS:"Samoa",SM:"San Marino",ST:"Sao Tome na Principe",SA:"Saudi Arabia",SN:"Senegal",SC:"Shelisheli",SL:"Sierra Leone",SG:"Singapore",SK:"Slovakia",SI:"Slovenia",SB:"Sulemani",SO:"Somalia",ZA:"Africa Kusini",GS:"Georgia Kusini na Visiwa vya Sandwich Kusini",ES:"Uhispania",LK:"Sri Lanka",SD:"Sudan",SR:"Suriname",SJ:"Svalbard na Kisiwa cha Jan Mayen",SZ:"Ngwane, Ufalme wa Eswatini",SE:"Uswidi",CH:"Uswisi",SY:"Syria",TW:"Taiwan",TJ:"Tajikistani",TZ:"Tanzania, Jamhuri ya Muungano",TH:"Thailand",TL:"Timor Leste",TG:"Togo",TK:"Tokelau",TO:"Tonga",TT:"Trinidad na Tobago",TN:"Tunisia",TR:"Uturuki",TM:"Turkmenistan",TC:"Visiwa vya Turks na Caicos",TV:"Tuvalu",UG:"Uganda",UA:"Ukraine",AE:"Falme za Kiarabu",GB:"Uingereza",US:"Amerika",UM:"Visiwa Vidogo vilivyo nje ya Merika",UY:"Uruguay",UZ:"Uzbekistan",VU:"Vanuatu",VE:"Venezuela",VN:"Vietnam",VG:"Visiwa vya Briteni vya Uingereza",VI:"Visiwa vya Bikira za Amerika",WF:"Wallis na futuna",EH:"Sahara Magharibi",YE:"Yemen",ZM:"Zambia",ZW:"Zimbabwe",AX:"Bara",BQ:"Bonaire, Saint-Eustache na Saba",CW:"Curacao",GG:"Guernsey",IM:"Kisiwa cha mwanadamu",JE:"Jezi",ME:"Montenegro",BL:"Mtakatifu-Barthélemy",MF:"Saint-Martin (sehemu ya Kifaransa)",RS:"Serbia",SX:"Saint-Martin (sehemu ya Uholanzi)",SS:"Sudan Kusini",XK:"Kosovo"},n={locale:a,countries:i};export{i as countries,n as default,a as locale}; diff --git a/docs/storybook/assets/ta-aaf4ed8f.js b/docs/storybook/assets/ta-aaf4ed8f.js deleted file mode 100644 index cfc1200..0000000 --- a/docs/storybook/assets/ta-aaf4ed8f.js +++ /dev/null @@ -1 +0,0 @@ -const M="ta",S={AF:"ஆப்கானிஸ்தான்",AL:"அல்பேனியா",DZ:"அல்ஜீரியா",AS:"அமெரிக்க சமோவா",AD:"அன்டோரா",AO:"அங்கோலா",AI:"அங்குய்லா",AQ:"அண்டார்டிகா",AG:"ஆண்டிகுவா மற்றும் பார்புடா",AR:"அர்ஜென்டினா",AM:"ஆர்மேனியா",AW:"அரூபா",AU:"ஆஸ்திரேலியா",AT:"ஆஸ்திரியா",AZ:"அசர்பைஜான்",BS:"பஹாமாஸ்",BH:"பஹ்ரைன்",BD:"பங்களாதேஷ்",BB:"பார்படோஸ்",BY:"பெலாரூஸ்",BE:"பெல்ஜியம்",BZ:"பெலிஸ்",BJ:"பெனின்",BM:"பெர்முடா",BT:"பூடான்",BO:"பொலிவியா",BA:"போஸ்னியா மற்றும் ஹெர்ஸிகோவினா",BW:"போட்ஸ்வானா",BV:"பொவேட் தீவுகள்",BR:"பிரேசில்",IO:"பிரிட்டிஷ் இந்தியப் பெருங்கடல் பிரதேசம்",BN:"புரூனேய்",BG:"பல்கேரியா",BF:"புர்கினா ஃபாஸோ",BI:"புருண்டி",KH:"கம்போடியா",CM:"கேமரூன்",CA:"கனடா",CV:"கேப் வெர்டே",KY:"கேமென் தீவுகள்",CF:"மத்திய ஆப்ரிக்கக் குடியரசு",TD:"சாட்",CL:"சிலி",CN:"சீனா",CX:"கிறிஸ்துமஸ் தீவு",CC:"கோகோஸ் (கீலிங்) தீவுகள்",CO:"கொலம்பியா",KM:"கோமரோஸ்",CG:"காங்கோ - ப்ராஸாவில்லே",CD:"காங்கோ - கின்ஷாசா",CK:"குக் தீவுகள்",CR:"கோஸ்டாரிகா",CI:"கோட் தி’வாயர்",HR:"குரோசியா",CU:"கியூபா",CY:"சைப்ரஸ்",CZ:"செக் குடியரசு",DK:"டென்மார்க்",DJ:"ஜிபௌட்டி",DM:"டொமினிகா",DO:"டொமினிகன் குடியரசு",EC:"ஈக்வடார்",EG:"எகிப்து",SV:"எல் சால்வடார்",GQ:"ஈக்குவாடோரியல் கினியா",ER:"எரிட்ரியா",EE:"எஸ்டோனியா",ET:"எதியோப்பியா",FK:"ஃபாக்லாந்து தீவுகள்",FO:"ஃபாரோ தீவுகள்",FJ:"ஃபிஜி",FI:"பின்லாந்து",FR:"பிரான்ஸ்",GF:"பிரெஞ்சு கயானா",PF:"பிரெஞ்சு பாலினேஷியா",TF:"பிரெஞ்சு தெற்கு பிரதேசங்கள்",GA:"கேபான்",GM:"காம்பியா",GE:"ஜார்ஜியா",DE:"ஜெர்மனி",GH:"கானா",GI:"ஜிப்ரால்டர்",GR:"கிரீஸ்",GL:"கிரீன்லாந்து",GD:"கிரனெடா",GP:"க்வாதேலோப்",GU:"குவாம்",GT:"கவுதமாலா",GN:"கினியா",GW:"கினி-பிஸ்ஸாவ்",GY:"கயானா",HT:"ஹெய்தி",HM:"ஹேர்ட் மற்றும் மெக்டொனால்டு தீவுகள்",VA:"வாடிகன் நகரம்",HN:"ஹோண்டூராஸ்",HK:"ஹாங்காங் எஸ்ஏஆர் சீனா",HU:"ஹங்கேரி",IS:"ஐஸ்லாந்து",IN:"இந்தியா",ID:"இந்தோனேஷியா",IR:"ஈரான்",IQ:"ஈராக்",IE:"அயர்லாந்து",IL:"இஸ்ரேல்",IT:"இத்தாலி",JM:"ஜமைகா",JP:"ஜப்பான்",JO:"ஜோர்டான்",KZ:"கஸகஸ்தான்",KE:"கென்யா",KI:"கிரிபடி",KP:"வட கொரியா",KR:"தென் கொரியா",KW:"குவைத்",KG:"கிர்கிஸ்தான்",LA:"லாவோஸ்",LV:"லாட்வியா",LB:"லெபனான்",LS:"லெசோதோ",LR:"லைபீரியா",LY:"லிபியா",LI:"லிச்செண்ஸ்டெய்ன்",LT:"லிதுவேனியா",LU:"லக்ஸ்சம்பர்க்",MO:"மகாவோ எஸ்ஏஆர் சீனா",MG:"மடகாஸ்கர்",MW:"மாலவி",MY:"மலேஷியா",MV:"மாலத்தீவு",ML:"மாலி",MT:"மால்டா",MH:"மார்ஷல் தீவுகள்",MQ:"மார்டினிக்",MR:"மௌரிடானியா",MU:"மொரிசியஸ்",YT:"மயோத்",MX:"மெக்சிகோ",FM:"மைக்ரோனேஷியா",MD:"மால்டோவா",MC:"மொனாக்கோ",MN:"மங்கோலியா",MS:"மௌன்ட்செராட்",MA:"மொராக்கோ",MZ:"மொசாம்பிக்",MM:"மியான்மார் (பர்மா)",NA:"நமீபியா",NR:"நௌரு",NP:"நேபாளம்",NL:"நெதர்லாந்து",NC:"நியூ கேலிடோனியா",NZ:"நியூசிலாந்து",NI:"நிகரகுவா",NE:"நைஜர்",NG:"நைஜீரியா",NU:"நியூ",NF:"நார்ஃபாக் தீவுகள்",MK:"மாசிடோனியா",MP:"வடக்கு மரியானா தீவுகள்",NO:"நார்வே",OM:"ஓமன்",PK:"பாகிஸ்தான்",PW:"பாலோ",PS:"பாலஸ்தீனிய பிரதேசங்கள்",PA:"பனாமா",PG:"பாப்புவா நியூ கினி",PY:"பராகுவே",PE:"பெரு",PH:"பிலிப்பைன்ஸ்",PN:"பிட்கெய்ர்ன் தீவுகள்",PL:"போலந்து",PT:"போர்ச்சுக்கல்",PR:"பியூர்டோ ரிகோ",QA:"கத்தார்",RE:"ரீயூனியன்",RO:"ருமேனியா",RU:"ரஷ்யா",RW:"ருவான்டா",SH:"செயின்ட் ஹெலெனா",KN:"செயின்ட் கிட்ஸ் மற்றும் நெவிஸ்",LC:"செயின்ட் லூசியா",PM:"செயின்ட் பியர் மற்றும் மிக்வேலான்",VC:"செயின்ட் வின்சென்ட் மற்றும் கிரெனடைன்ஸ்",WS:"சமோவா",SM:"சான் மெரினோ",ST:"சாவ் தோம் மற்றும் ப்ரின்சிபி",SA:"சவூதி அரேபியா",SN:"செனெகல்",SC:"ஸேசேல்ஸ்",SL:"சியர்ரா லியோன்",SG:"சிங்கப்பூர்",SK:"ஸ்லோவாகியா",SI:"ஸ்லோவேனியா",SB:"சாலமன் தீவுகள்",SO:"சோமாலியா",ZA:"தென் ஆப்பிரிக்கா",GS:"தென் ஜியார்ஜியா மற்றும் தென் சான்ட்விச் தீவுகள்",ES:"ஸ்பெயின்",LK:"இலங்கை",SD:"சூடான்",SR:"சுரினாம்",SJ:"ஸ்வல்பார்டு மற்றும் ஜான் மேயன்",SZ:"ஸ்வாஸிலாந்து",SE:"ஸ்வீடன்",CH:"ஸ்விட்சர்லாந்து",SY:"சிரியா",TW:"தைவான்",TJ:"தாஜிகிஸ்தான்",TZ:"தான்சானியா",TH:"தாய்லாந்து",TL:"தைமூர்-லெஸ்தே",TG:"டோகோ",TK:"டோகேலோ",TO:"டோங்கா",TT:"ட்ரினிடாட் மற்றும் டுபாகோ",TN:"டுனிசியா",TR:"துருக்கி",TM:"துர்க்மெனிஸ்தான்",TC:"டர்க்ஸ் மற்றும் கைகோஸ் தீவுகள்",TV:"துவாலூ",UG:"உகாண்டா",UA:"உக்ரைன்",AE:"ஐக்கிய அரபு எமிரேட்ஸ்",GB:"ஐக்கிய பேரரசு",US:"அமெரிக்கா",UM:"யூஎஸ் அவுட்லேயிங் தீவுகள்",UY:"உருகுவே",UZ:"உஸ்பெகிஸ்தான்",VU:"வனுவாட்டு",VE:"வெனிசுலா",VN:"வியட்நாம்",VG:"பிரிட்டீஷ் கன்னித் தீவுகள்",VI:"யூ.எஸ். கன்னித் தீவுகள்",WF:"வாலிஸ் மற்றும் ஃபுடுனா",EH:"மேற்கு சஹாரா",YE:"ஏமன்",ZM:"ஜாம்பியா",ZW:"ஜிம்பாப்வே",AX:"ஆலந்து தீவுகள்",BQ:"கரீபியன் நெதர்லாந்து",CW:"குராகவ்",GG:"கெர்ன்சி",IM:"ஐல் ஆஃப் மேன்",JE:"ஜெர்சி",ME:"மான்டேனெக்ரோ",BL:"செயின்ட் பார்தேலெமி",MF:"செயின்ட் மார்ட்டீன்",RS:"செர்பியா",SX:"சின்ட் மார்டென்",SS:"தெற்கு சூடான்",XK:"கொசோவோ"},G={locale:M,countries:S};export{S as countries,G as default,M as locale}; diff --git a/docs/storybook/assets/test-utils-906c0ddf.js b/docs/storybook/assets/test-utils-906c0ddf.js deleted file mode 100644 index 284a9c8..0000000 --- a/docs/storybook/assets/test-utils-906c0ddf.js +++ /dev/null @@ -1,9 +0,0 @@ -import{r as H,g as Z}from"./index-93f6b7ae.js";import{r as $}from"./index-03a57050.js";function G(e,n){for(var t=0;t<n.length;t++){const r=n[t];if(typeof r!="string"&&!Array.isArray(r)){for(const o in r)if(o!=="default"&&!(o in e)){const a=Object.getOwnPropertyDescriptor(r,o);a&&Object.defineProperty(e,o,a.get?a:{enumerable:!0,get:()=>r[o]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}var A={exports:{}},u={};/** - * @license React - * react-dom-test-utils.production.min.js - * - * Copyright (c) Facebook, Inc. and its affiliates. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */var f=H,S=$;function K(e){var n=e,t=e;if(e.alternate)for(;n.return;)n=n.return;else{e=n;do n=e,n.flags&4098&&(t=n.return),e=n.return;while(e)}return n.tag===3?t:null}function N(e){if(K(e)!==e)throw Error("Unable to find node on an unmounted component.")}function J(e){var n=e.alternate;if(!n){if(n=K(e),n===null)throw Error("Unable to find node on an unmounted component.");return n!==e?null:e}for(var t=e,r=n;;){var o=t.return;if(o===null)break;var a=o.alternate;if(a===null){if(r=o.return,r!==null){t=r;continue}break}if(o.child===a.child){for(a=o.child;a;){if(a===t)return N(o),e;if(a===r)return N(o),n;a=a.sibling}throw Error("Unable to find node on an unmounted component.")}if(t.return!==r.return)t=o,r=a;else{for(var i=!1,s=o.child;s;){if(s===t){i=!0,t=o,r=a;break}if(s===r){i=!0,r=o,t=a;break}s=s.sibling}if(!i){for(s=a.child;s;){if(s===t){i=!0,t=a,r=o;break}if(s===r){i=!0,r=a,t=o;break}s=s.sibling}if(!i)throw Error("Child was not found in either parent set. This indicates a bug in React related to the return pointer. Please file an issue.")}}if(t.alternate!==r)throw Error("Return fibers should always be each others' alternates. This error is likely caused by a bug in React. Please file an issue.")}if(t.tag!==3)throw Error("Unable to find node on an unmounted component.");return t.stateNode.current===t?e:n}var l=Object.assign;function T(e){var n=e.keyCode;return"charCode"in e?(e=e.charCode,e===0&&n===13&&(e=13)):e=n,e===10&&(e=13),32<=e||e===13?e:0}function C(){return!0}function L(){return!1}function c(e){function n(t,r,o,a,i){this._reactName=t,this._targetInst=o,this.type=r,this.nativeEvent=a,this.target=i,this.currentTarget=null;for(var s in e)e.hasOwnProperty(s)&&(t=e[s],this[s]=t?t(a):a[s]);return this.isDefaultPrevented=(a.defaultPrevented!=null?a.defaultPrevented:a.returnValue===!1)?C:L,this.isPropagationStopped=L,this}return l(n.prototype,{preventDefault:function(){this.defaultPrevented=!0;var t=this.nativeEvent;t&&(t.preventDefault?t.preventDefault():typeof t.returnValue!="unknown"&&(t.returnValue=!1),this.isDefaultPrevented=C)},stopPropagation:function(){var t=this.nativeEvent;t&&(t.stopPropagation?t.stopPropagation():typeof t.cancelBubble!="unknown"&&(t.cancelBubble=!0),this.isPropagationStopped=C)},persist:function(){},isPersistent:C}),n}var h={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Q=c(h),g=l({},h,{view:0,detail:0});c(g);var M,O,y,D=l({},g,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:U,button:0,buttons:0,relatedTarget:function(e){return e.relatedTarget===void 0?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==y&&(y&&e.type==="mousemove"?(M=e.screenX-y.screenX,O=e.screenY-y.screenY):O=M=0,y=e),M)},movementY:function(e){return"movementY"in e?e.movementY:O}});c(D);var ee=l({},D,{dataTransfer:0});c(ee);var te=l({},g,{relatedTarget:0});c(te);var ne=l({},h,{animationName:0,elapsedTime:0,pseudoElement:0});c(ne);var re=l({},h,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}});c(re);var oe=l({},h,{data:0});c(oe);var ie={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},ae={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},se={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function ue(e){var n=this.nativeEvent;return n.getModifierState?n.getModifierState(e):(e=se[e])?!!n[e]:!1}function U(){return ue}var le=l({},g,{key:function(e){if(e.key){var n=ie[e.key]||e.key;if(n!=="Unidentified")return n}return e.type==="keypress"?(e=T(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?ae[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:U,charCode:function(e){return e.type==="keypress"?T(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?T(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}});c(le);var ce=l({},D,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0});c(ce);var pe=l({},g,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:U});c(pe);var de=l({},h,{propertyName:0,elapsedTime:0,pseudoElement:0});c(de);var fe=l({},D,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0});c(fe);function he(e,n,t,r,o,a,i,s,m){var p=Array.prototype.slice.call(arguments,3);try{n.apply(t,p)}catch(q){this.onError(q)}}var v=!1,E=null,b=!1,P=null,me={onError:function(e){v=!0,E=e}};function ye(e,n,t,r,o,a,i,s,m){v=!1,E=null,he.apply(me,arguments)}function ve(e,n,t,r,o,a,i,s,m){if(ye.apply(this,arguments),v){if(v){var p=E;v=!1,E=null}else throw Error("clearCaughtError was called but no error was captured. This error is likely caused by a bug in React. Please file an issue.");b||(b=!0,P=p)}}var R=Array.isArray,w=S.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.Events,ge=w[0],we=w[1],Ce=w[2],Ee=w[3],be=w[4],De=f.unstable_act;function ke(){}function _e(e,n){if(!e)return[];if(e=J(e),!e)return[];for(var t=e,r=[];;){if(t.tag===5||t.tag===6||t.tag===1||t.tag===0){var o=t.stateNode;n(o)&&r.push(o)}if(t.child)t.child.return=t,t=t.child;else{if(t===e)return r;for(;!t.sibling;){if(!t.return||t.return===e)return r;t=t.return}t.sibling.return=t.return,t=t.sibling}}}function d(e,n){if(e&&!e._reactInternals){var t=String(e);throw e=R(e)?"an array":e&&e.nodeType===1&&e.tagName?"a DOM node":t==="[object Object]"?"object with keys {"+Object.keys(e).join(", ")+"}":t,Error(n+"(...): the first argument must be a React class instance. Instead received: "+(e+"."))}}function k(e){return!(!e||e.nodeType!==1||!e.tagName)}function I(e){return k(e)?!1:e!=null&&typeof e.render=="function"&&typeof e.setState=="function"}function W(e,n){return I(e)?e._reactInternals.type===n:!1}function _(e,n){return d(e,"findAllInRenderedTree"),e?_e(e._reactInternals,n):[]}function Y(e,n){return d(e,"scryRenderedDOMComponentsWithClass"),_(e,function(t){if(k(t)){var r=t.className;typeof r!="string"&&(r=t.getAttribute("class")||"");var o=r.split(/\s+/);if(!R(n)){if(n===void 0)throw Error("TestUtils.scryRenderedDOMComponentsWithClass expects a className as a second argument.");n=n.split(/\s+/)}return n.every(function(a){return o.indexOf(a)!==-1})}return!1})}function X(e,n){return d(e,"scryRenderedDOMComponentsWithTag"),_(e,function(t){return k(t)&&t.tagName.toUpperCase()===n.toUpperCase()})}function F(e,n){return d(e,"scryRenderedComponentsWithType"),_(e,function(t){return W(t,n)})}function x(e,n,t){var r=e.type||"unknown-event";e.currentTarget=we(t),ve(r,n,void 0,e),e.currentTarget=null}function j(e,n,t){for(var r=[];e;){r.push(e);do e=e.return;while(e&&e.tag!==5);e=e||null}for(e=r.length;0<e--;)n(r[e],"captured",t);for(e=0;e<r.length;e++)n(r[e],"bubbled",t)}function V(e,n){var t=e.stateNode;if(!t)return null;var r=Ce(t);if(!r)return null;t=r[n];e:switch(n){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(r=!r.disabled)||(e=e.type,r=!(e==="button"||e==="input"||e==="select"||e==="textarea")),e=!r;break e;default:e=!1}if(e)return null;if(t&&typeof t!="function")throw Error("Expected `"+n+"` listener to be a function, instead got a value of `"+typeof t+"` type.");return t}function Te(e,n,t){e&&t&&t._reactName&&(n=V(e,t._reactName))&&(t._dispatchListeners==null&&(t._dispatchListeners=[]),t._dispatchInstances==null&&(t._dispatchInstances=[]),t._dispatchListeners.push(n),t._dispatchInstances.push(e))}function Me(e,n,t){var r=t._reactName;n==="captured"&&(r+="Capture"),(n=V(e,r))&&(t._dispatchListeners==null&&(t._dispatchListeners=[]),t._dispatchInstances==null&&(t._dispatchInstances=[]),t._dispatchListeners.push(n),t._dispatchInstances.push(e))}var B={},Oe=new Set(["mouseEnter","mouseLeave","pointerEnter","pointerLeave"]);function Pe(e){return function(n,t){if(f.isValidElement(n))throw Error("TestUtils.Simulate expected a DOM node as the first argument but received a React element. Pass the DOM node you wish to simulate the event on instead. Note that TestUtils.Simulate will not work if you are using shallow rendering.");if(I(n))throw Error("TestUtils.Simulate expected a DOM node as the first argument but received a component instance. Pass the DOM node you wish to simulate the event on instead.");var r="on"+e[0].toUpperCase()+e.slice(1),o=new ke;o.target=n,o.type=e.toLowerCase();var a=ge(n),i=new Q(r,o.type,a,o,n);i.persist(),l(i,t),Oe.has(e)?i&&i._reactName&&Te(i._targetInst,null,i):i&&i._reactName&&j(i._targetInst,Me,i),S.unstable_batchedUpdates(function(){if(Ee(n),i){var s=i._dispatchListeners,m=i._dispatchInstances;if(R(s))for(var p=0;p<s.length&&!i.isPropagationStopped();p++)x(i,s[p],m[p]);else s&&x(i,s,m);i._dispatchListeners=null,i._dispatchInstances=null,i.isPersistent()||i.constructor.release(i)}if(b)throw s=P,b=!1,P=null,s}),be()}}"blur cancel click close contextMenu copy cut auxClick doubleClick dragEnd dragStart drop focus input invalid keyDown keyPress keyUp mouseDown mouseUp paste pause play pointerCancel pointerDown pointerUp rateChange reset resize seeked submit touchCancel touchEnd touchStart volumeChange drag dragEnter dragExit dragLeave dragOver mouseMove mouseOut mouseOver pointerMove pointerOut pointerOver scroll toggle touchMove wheel abort animationEnd animationIteration animationStart canPlay canPlayThrough durationChange emptied encrypted ended error gotPointerCapture load loadedData loadedMetadata loadStart lostPointerCapture playing progress seeking stalled suspend timeUpdate transitionEnd waiting mouseEnter mouseLeave pointerEnter pointerLeave change select beforeInput compositionEnd compositionStart compositionUpdate".split(" ").forEach(function(e){B[e]=Pe(e)});u.Simulate=B;u.act=De;u.findAllInRenderedTree=_;u.findRenderedComponentWithType=function(e,n){if(d(e,"findRenderedComponentWithType"),e=F(e,n),e.length!==1)throw Error("Did not find exactly one match (found: "+e.length+") for componentType:"+n);return e[0]};u.findRenderedDOMComponentWithClass=function(e,n){if(d(e,"findRenderedDOMComponentWithClass"),e=Y(e,n),e.length!==1)throw Error("Did not find exactly one match (found: "+e.length+") for class:"+n);return e[0]};u.findRenderedDOMComponentWithTag=function(e,n){if(d(e,"findRenderedDOMComponentWithTag"),e=X(e,n),e.length!==1)throw Error("Did not find exactly one match (found: "+e.length+") for tag:"+n);return e[0]};u.isCompositeComponent=I;u.isCompositeComponentWithType=W;u.isDOMComponent=k;u.isDOMComponentElement=function(e){return!!(e&&f.isValidElement(e)&&e.tagName)};u.isElement=function(e){return f.isValidElement(e)};u.isElementOfType=function(e,n){return f.isValidElement(e)&&e.type===n};u.mockComponent=function(e,n){return n=n||e.mockTagName||"div",e.prototype.render.mockImplementation(function(){return f.createElement(n,null,this.props.children)}),this};u.nativeTouchData=function(e,n){return{touches:[{pageX:e,pageY:n}]}};u.renderIntoDocument=function(e){var n=document.createElement("div");return S.render(e,n)};u.scryRenderedComponentsWithType=F;u.scryRenderedDOMComponentsWithClass=Y;u.scryRenderedDOMComponentsWithTag=X;u.traverseTwoPhase=j;A.exports=u;var z=A.exports;const Se=Z(z),Ie=G({__proto__:null,default:Se},[z]);export{Ie as t}; diff --git a/docs/storybook/assets/tg-b13cd8e9.js b/docs/storybook/assets/tg-b13cd8e9.js deleted file mode 100644 index f23281a..0000000 --- a/docs/storybook/assets/tg-b13cd8e9.js +++ /dev/null @@ -1 +0,0 @@ -const M="tg",S={AF:"Афғонистон",AL:"Албания",DZ:"Алҷазоир",AS:"Самоаи Америка",AD:"Андорра",AO:"Ангола",AI:"Ангилия",AQ:"Антарктида",AG:"Антигуа ва Барбуда",AR:"Аргентина",AM:"Арманистон",AW:"Аруба",AU:"Австралия",AT:"Австрия",AZ:"Озарбойҷон",BS:"Багам",BH:"Баҳрайн",BD:"Бангладеш",BB:"Барбадос",BY:"Белорус",BE:"Белгия",BZ:"Белиз",BJ:"Бенин",BM:"Бермуда",BT:"Бутон",BO:"Боливия",BA:"Босния ва Ҳерсеговина",BW:"Ботсвана",BV:"Ҷазираи Буве",BR:"Бразилия",IO:"Қаламрави Британия дар уқёнуси Ҳинд",BN:"Бруней",BG:"Булғория",BF:"Буркина-Фасо",BI:"Бурунди",KH:"Камбоҷа",CM:"Камерун",CA:"Канада",CV:"Кабо-Верде",KY:"Ҷазираҳои Кайман",CF:"Ҷумҳурии Африқои Марказӣ",TD:"Чад",CL:"Чили",CN:"Хитой",CX:"Ҷазираи Крисмас",CC:"Ҷазираҳои Кокос (Килинг)",CO:"Колумбия",KM:"Комор",CG:"Конго",CD:"Конго, Ҷумҳурии Демократии",CK:"Ҷазираҳои Кук",CR:"Коста-Рика",CI:"Кот-д’Ивуар",HR:"Хорватия",CU:"Куба",CY:"Кипр",CZ:"Ҷумҳурии Чех",DK:"Дания",DJ:"Ҷибути",DM:"Доминика",DO:"Ҷумҳурии Доминикан",EC:"Эквадор",EG:"Миср",SV:"Эл-Салвадор",GQ:"Гвинеяи Экваторӣ",ER:"Эритрея",EE:"Эстония",ET:"Эфиопия",FK:"Ҷазираҳои Фолкленд",FO:"Ҷазираҳои Фарер",FJ:"Фиҷи",FI:"Финляндия",FR:"Фаронса",GF:"Гвианаи Фаронса",PF:"Полинезияи Фаронса",TF:"Минтақаҳои Ҷанубии Фаронса",GA:"Габон",GM:"Гамбия",GE:"Гурҷистон",DE:"Германия",GH:"Гана",GI:"Гибралтар",GR:"Юнон",GL:"Гренландия",GD:"Гренада",GP:"Гваделупа",GU:"Гуам",GT:"Гватемала",GN:"Гвинея",GW:"Гвинея-Бисау",GY:"Гайана",HT:"Гаити",HM:"Ҷазираи Ҳерд ва Ҷазираҳои Макдоналд",VA:"Шаҳри Вотикон",HN:"Гондурас",HK:"Ҳонконг (МММ)",HU:"Маҷористон",IS:"Исландия",IN:"Ҳиндустон",ID:"Индонезия",IR:"Эрон",IQ:"Ироқ",IE:"Ирландия",IL:"Исроил",IT:"Италия",JM:"Ямайка",JP:"Япония",JO:"Урдун",KZ:"Қазоқистон",KE:"Кения",KI:"Кирибати",KP:"Кореяи Шимолӣ",KR:"Кореяи ҷанубӣ",KW:"Қувайт",KG:"Қирғизистон",LA:"Лаос",LV:"Латвия",LB:"Лубнон",LS:"Лесото",LR:"Либерия",LY:"Либия",LI:"Лихтенштейн",LT:"Литва",LU:"Люксембург",MO:"Макао (МММ)",MG:"Мадагаскар",MW:"Малави",MY:"Малайзия",MV:"Малдив",ML:"Мали",MT:"Малта",MH:"Ҷазираҳои Маршалл",MQ:"Мартиника",MR:"Мавритания",MU:"Маврикий",YT:"Майотта",MX:"Мексика",FM:"Штатҳои Федеративии Микронезия",MD:"Молдова",MC:"Монако",MN:"Муғулистон",MS:"Монтсеррат",MA:"Марокаш",MZ:"Мозамбик",MM:"Мянма",NA:"Намибия",NR:"Науру",NP:"Непал",NL:"Нидерландия",NC:"Каледонияи Нав",NZ:"Зеландияи Нав",NI:"Никарагуа",NE:"Нигер",NG:"Нигерия",NU:"Ниуэ",NF:"Ҷазираи Норфолк",MK:"Македонияи Шимолӣ",MP:"Ҷазираҳои Марианаи Шимолӣ",NO:"Норвегия",OM:"Умон",PK:"Покистон",PW:"Палау",PS:"Фаластин",PA:"Панама",PG:"Папуа Гвинеяи Нав",PY:"Парагвай",PE:"Перу",PH:"Филиппин",PN:"Ҷазираҳои Питкейрн",PL:"Лаҳистон",PT:"Португалия",PR:"Пуэрто-Рико",QA:"Қатар",RE:"Реюнион",RO:"Руминия",RU:"Русия",RW:"Руанда",SH:"Сент Елена",KN:"Сент-Китс ва Невис",LC:"Сент-Люсия",PM:"Сент-Пер ва Микелон",VC:"Сент-Винсент ва Гренадина",WS:"Самоа",SM:"Сан-Марино",ST:"Сан Томе ва Принсипи",SA:"Арабистони Саудӣ",SN:"Сенегал",SC:"Сейшел",SL:"Сиерра-Леоне",SG:"Сингапур",SK:"Словакия",SI:"Словения",SB:"Ҷазираҳои Соломон",SO:"Сомалӣ",ZA:"Африкаи Ҷанубӣ",GS:"Ҷорҷияи Ҷанубӣ ва Ҷазираҳои Сандвич",ES:"Испания",LK:"Шри-Ланка",SD:"Судон",SR:"Суринам",SJ:"Шпитсберген ва Ян Майен",SZ:"Свазиленд",SE:"Шветсия",CH:"Швейтсария",SY:"Сурия",TW:"Тайван",TJ:"Тоҷикистон",TZ:"Танзания",TH:"Таиланд",TL:"Тимор-Лесте",TG:"Того",TK:"Токелау",TO:"Тонга",TT:"Тринидад ва Тобаго",TN:"Тунис",TR:"Туркия",TM:"Туркманистон",TC:"Ҷазираҳои Теркс ва Кайкос",TV:"Тувалу",UG:"Уганда",UA:"Украина",AE:"Аморатҳои Муттаҳидаи Араб",GB:"Шоҳигарии Муттаҳида",US:"Иёлоти Муттаҳида",UM:"Ҷазираҳои Хурди Дурдасти ИМА",UY:"Уругвай",UZ:"Ӯзбекистон",VU:"Вануату",VE:"Венесуэла",VN:"Ветнам",VG:"Ҷазираҳои Виргини Британия",VI:"Ҷазираҳои Виргини ИМА",WF:"Уоллис ва Футуна",EH:"Саҳрои Ғарбӣ",YE:"Яман",ZM:"Замбия",ZW:"Зимбабве",AX:"Ҷазираҳои Аланд",BQ:"Бонайре, Синт Эстатиус ва Саба",CW:"Кюрасао",GG:"Гернси",IM:"Ҷазираи Мэн",JE:"Ҷерси",ME:"Черногория",BL:"Сент-Бартелми",MF:"Ҷазираи Сент-Мартин",RS:"Сербия",SX:"Синт-Маартен",SS:"Судони Ҷанубӣ",XK:"Косово"},G={locale:M,countries:S};export{S as countries,G as default,M as locale}; diff --git a/docs/storybook/assets/th-52af45e9.js b/docs/storybook/assets/th-52af45e9.js deleted file mode 100644 index f796cbf..0000000 --- a/docs/storybook/assets/th-52af45e9.js +++ /dev/null @@ -1 +0,0 @@ -const M="th",S={BD:"บังกลาเทศ",BE:"เบลเยียม",BF:"บูร์กินาฟาโซ",BG:"บัลแกเรีย",BA:"บอสเนียและเฮอร์เซโกวีนา",BB:"บาร์เบโดส",WF:"วาลลิสและฟุตูนา",BL:"เซนต์บาร์เธเลมี",BM:"เบอร์มิวดา",BN:"บรูไน",BO:"โบลิเวีย",BH:"บาห์เรน",BI:"บุรุนดี",BJ:"เบนิน",BT:"ภูฏาน",JM:"จาเมกา",BV:"เกาะบูเวต",BW:"บอตสวานา",WS:"ซามัว",BR:"บราซิล",BS:"บาฮามาส",JE:"เจอร์ซีย์",BY:"เบลารุส",BZ:"เบลีซ",RU:"รัสเซีย",RW:"รวันดา",RS:"เซอร์เบีย",TL:"ติมอร์ตะวันออก",RE:"เรอูนียง",TM:"เติร์กเมนิสถาน",TJ:"ทาจิกิสถาน",RO:"โรมาเนีย",TK:"โตเกเลา",GW:"กินี-บิสเซา",GU:"กวม",GT:"กัวเตมาลา",GS:"เกาะเซาท์จอร์เจียและหมู่เกาะเซาท์แซนด์วิช",GR:"กรีซ",GQ:"อิเควทอเรียลกินี",GP:"กวาเดอลูป",JP:"ญี่ปุ่น",GY:"กายอานา",GG:"เกิร์นซีย์",GF:"เฟรนช์เกียนา",GE:"จอร์เจีย",GD:"เกรเนดา",GB:"สหราชอาณาจักร",GA:"กาบอง",SV:"เอลซัลวาดอร์",GN:"กินี",GM:"แกมเบีย",GL:"กรีนแลนด์",GI:"ยิบรอลตาร์",GH:"กานา",OM:"โอมาน",TN:"ตูนิเซีย",JO:"จอร์แดน",HR:"โครเอเชีย",HT:"เฮติ",HU:"ฮังการี",HK:"ฮ่องกง เขตปกครองพิเศษประเทศจีน",HN:"ฮอนดูรัส",HM:"เกาะเฮิร์ดและหมู่เกาะแมกดอนัลด์",VE:"เวเนซุเอลา",PR:"เปอร์โตริโก",PS:"ปาเลสไตน์",PW:"ปาเลา",PT:"โปรตุเกส",SJ:"สฟาลบาร์และยานไมเอน",PY:"ปารากวัย",IQ:"อิรัก",PA:"ปานามา",PF:"เฟรนช์โปลินีเซีย",PG:"ปาปัวนิวกินี",PE:"เปรู",PK:"ปากีสถาน",PH:"ฟิลิปปินส์",PN:"พิตแคร์น",PL:"โปแลนด์",PM:"แซงปีแยร์และมีเกอลง",ZM:"แซมเบีย",EH:"ซาฮาราตะวันตก",EE:"เอสโตเนีย",EG:"อียิปต์",ZA:"แอฟริกาใต้",EC:"เอกวาดอร์",IT:"อิตาลี",VN:"เวียดนาม",SB:"หมู่เกาะโซโลมอน",ET:"เอธิโอเปีย",SO:"โซมาเลีย",ZW:"ซิมบับเว",SA:"ซาอุดีอาระเบีย",ES:"สเปน",ER:"เอริเทรีย",ME:"มอนเตเนโกร",MD:"มอลโดวา",MG:"มาดากัสการ์",MF:"เซนต์มาติน",MA:"โมร็อกโก",MC:"โมนาโก",UZ:"อุซเบกิสถาน",MM:"เมียนม่าร์ [พม่า]",ML:"มาลี",MO:"มาเก๊า เขตปกครองพิเศษประเทศจีน",MN:"มองโกเลีย",MH:"หมู่เกาะมาร์แชลล์",MK:"มาซิโดเนีย",MU:"มอริเชียส",MT:"มอลตา",MW:"มาลาวี",MV:"มัลดีฟส์",MQ:"มาร์ตินีก",MP:"หมู่เกาะนอร์เทิร์นมาเรียนา",MS:"มอนต์เซอร์รัต",MR:"มอริเตเนีย",IM:"เกาะแมน",UG:"ยูกันดา",TZ:"แทนซาเนีย",MY:"มาเลเซีย",MX:"เม็กซิโก",IL:"อิสราเอล",FR:"ฝรั่งเศส",IO:"บริติชอินเดียนโอเชียนเทร์ริทอรี",SH:"เซนต์เฮเลนา",FI:"ฟินแลนด์",FJ:"ฟิจิ",FK:"หมู่เกาะฟอล์กแลนด์",FM:"ไมโครนีเซีย",FO:"หมู่เกาะแฟโร",NI:"นิการากัว",NL:"เนเธอร์แลนด์",NO:"นอร์เวย์",NA:"นามิเบีย",VU:"วานูอาตู",NC:"นิวแคลิโดเนีย",NE:"ไนเจอร์",NF:"เกาะนอร์ฟอล์ก",NG:"ไนจีเรีย",NZ:"นิวซีแลนด์",NP:"เนปาล",NR:"นาอูรู",NU:"นีอูเอ",CK:"หมู่เกาะคุก",CI:"ไอวอรี่โคสต์",CH:"สวิตเซอร์แลนด์",CO:"โคลอมเบีย",CN:"จีน",CM:"แคเมอรูน",CL:"ชิลี",CC:"หมู่เกาะโคโคส",CA:"แคนาดา",CG:"คองโก-บราซซาวิล",CF:"สาธารณรัฐแอฟริกากลาง",CD:"คองโก-กินชาซา",CZ:"สาธารณรัฐเช็ก",CY:"ไซปรัส",CX:"เกาะคริสต์มาส",CR:"คอสตาริกา",CV:"เคปเวิร์ด",CU:"คิวบา",SZ:"สวาซิแลนด์",SY:"ซีเรีย",KG:"คีร์กีซสถาน",KE:"เคนยา",SR:"ซูรินาเม",KI:"คิริบาส",KH:"กัมพูชา",KN:"เซนต์คิตส์และเนวิส",KM:"คอโมโรส",ST:"เซาตูเมและปรินซิปี",SK:"สโลวะเกีย",KR:"เกาหลีใต้",SI:"สโลวีเนีย",KP:"เกาหลีเหนือ",KW:"คูเวต",SN:"เซเนกัล",SM:"ซานมารีโน",SL:"เซียร์ราลีโอน",SC:"เซเชลส์",KZ:"คาซัคสถาน",KY:"หมู่เกาะเคย์แมน",SG:"สิงคโปร์",SE:"สวีเดน",SD:"ซูดาน",DO:"สาธารณรัฐโดมินิกัน",DM:"โดมินิกา",DJ:"จิบูตี",DK:"เดนมาร์ก",VG:"หมู่เกาะบริติชเวอร์จิน",DE:"เยอรมนี",YE:"เยเมน",DZ:"แอลจีเรีย",US:"สหรัฐอเมริกา",UY:"อุรุกวัย",YT:"มายอต",UM:"หมู่เกาะสหรัฐไมเนอร์เอาต์ไลอิง",LB:"เลบานอน",LC:"เซนต์ลูเซีย",LA:"ลาว",TV:"ตูวาลู",TW:"ไต้หวัน",TT:"ตรินิแดดและโตเบโก",TR:"ตุรกี",LK:"ศรีลังกา",LI:"ลิกเตนสไตน์",LV:"ลัตเวีย",TO:"ตองกา",LT:"ลิทัวเนีย",LU:"ลักเซมเบิร์ก",LR:"ไลบีเรีย",LS:"เลโซโท",TH:"ไทย",TF:"เฟรนช์เซาเทิร์นเทร์ริทอรีส์",TG:"โตโก",TD:"ชาด",TC:"หมู่เกาะเติกส์และหมู่เกาะเคคอส",LY:"ลิเบีย",VA:"วาติกัน",VC:"เซนต์วินเซนต์และเกรนาดีนส์",AE:"สหรัฐอาหรับเอมิเรตส์",AD:"อันดอร์รา",AG:"แอนติกาและบาร์บูดา",AF:"อัฟกานิสถาน",AI:"แองกวิลลา",VI:"หมู่เกาะยูเอสเวอร์จิน",IS:"ไอซ์แลนด์",IR:"อิหร่าน",AM:"อาร์เมเนีย",AL:"แอลเบเนีย",AO:"แองโกลา",AQ:"แอนตาร์กติกา",AS:"อเมริกันซามัว",AR:"อาร์เจนตินา",AU:"ออสเตรเลีย",AT:"ออสเตรีย",AW:"อารูบา",IN:"อินเดีย",AX:"หมู่เกาะโอลันด์",AZ:"อาเซอร์ไบจาน",IE:"ไอร์แลนด์",ID:"อินโดนีเซีย",UA:"ยูเครน",QA:"กาตาร์",MZ:"โมซัมบิก",BQ:"โบแนร์, ซินท์เอิสทาทิอุส, ซาบา",CW:"คูราเซา",SX:"Sint Maarten (ส่วนดัตช์)",SS:"ซูดานใต้",XK:"โคโซโว"},G={locale:M,countries:S};export{S as countries,G as default,M as locale}; diff --git a/docs/storybook/assets/tr-8273165c.js b/docs/storybook/assets/tr-8273165c.js deleted file mode 100644 index bcd566e..0000000 --- a/docs/storybook/assets/tr-8273165c.js +++ /dev/null @@ -1 +0,0 @@ -const a="tr",n={AD:"Andorra",AE:"Birleşik Arap Emirlikleri",AF:"Afganistan",AG:"Antigua ve Barbuda",AI:"Anguilla",AL:"Arnavutluk",AM:"Ermenistan",AO:"Angola",AQ:"Antarktika",AR:"Arjantin",AS:"Amerikan Samoası",AT:"Avusturya",AU:"Avustralya",AW:"Aruba",AX:"Åland Adaları",AZ:"Azerbaycan",BA:"Bosna Hersek",BB:"Barbados",BD:"Bangladeş",BE:"Belçika",BF:"Burkina Faso",BG:"Bulgaristan",BH:"Bahreyn",BI:"Burundi",BJ:"Benin",BL:"Saint Barthelemy",BM:"Bermuda",BN:"Brunei",BO:"Bolivya",BQ:"Karayip Hollanda",BR:"Brezilya",BS:"Bahamalar",BT:"Butan",BV:"Bouvet Adası",BW:"Botsvana",BY:"Beyaz Rusya",BZ:"Belize",CA:"Kanada",CC:"Cocos (Keeling) Adaları",CD:"Kongo - Kinşasa",CF:"Orta Afrika Cumhuriyeti",CG:"Kongo - Brazavil",CH:"İsviçre",CI:"Fildişi Sahili",CK:"Cook Adaları",CL:"Şili",CM:"Kamerun",CN:"Çin",CO:"Kolombiya",CR:"Kosta Rika",CU:"Küba",CV:"Cape Verde",CW:"Curaçao",CX:"Christmas Adası",CY:"Güney Kıbrıs Rum Kesimi",CZ:"Çek Cumhuriyeti",DE:"Almanya",DJ:"Cibuti",DK:"Danimarka",DM:"Dominika",DO:"Dominik Cumhuriyeti",DZ:"Cezayir",EC:"Ekvador",EE:"Estonya",EG:"Mısır",EH:"Batı Sahara",ER:"Eritre",ES:"İspanya",ET:"Etiyopya",FI:"Finlandiya",FJ:"Fiji",FK:"Falkland Adaları",FM:"Mikronezya",FO:"Faroe Adaları",FR:"Fransa",GA:"Gabon",GB:"Birleşik Krallık",GD:"Grenada",GE:"Gürcistan",GF:"Fransız Guyanası",GG:"Guernsey",GH:"Gana",GI:"Cebelitarık",GL:"Grönland",GM:"Gambiya",GN:"Gine",GP:"Guadalupe",GQ:"Ekvator Ginesi",GR:"Yunanistan",GS:"Güney Georgia ve Güney Sandwich Adaları",GT:"Guatemala",GU:"Guam",GW:"Gine-Bissau",GY:"Guyana",HK:"Çin Hong Kong ÖYB",HM:"Heard Adası ve McDonald Adaları",HN:"Honduras",HR:"Hırvatistan",HT:"Haiti",HU:"Macaristan",ID:"Endonezya",IE:"İrlanda",IL:"İsrail",IM:"Man Adası",IN:"Hindistan",IO:"Britanya Hint Okyanusu Toprakları",IQ:"Irak",IR:"İran",IS:"İzlanda",IT:"İtalya",JE:"Jersey",JM:"Jamaika",JO:"Ürdün",JP:"Japonya",KE:"Kenya",KG:"Kırgızistan",KH:"Kamboçya",KI:"Kiribati",KM:"Komorlar",KN:"Saint Kitts ve Nevis",KP:"Kuzey Kore",KR:"Güney Kore",KW:"Kuveyt",KY:"Cayman Adaları",KZ:"Kazakistan",LA:"Laos",LB:"Lübnan",LC:"Saint Lucia",LI:"Liechtenstein",LK:"Sri Lanka",LR:"Liberya",LS:"Lesoto",LT:"Litvanya",LU:"Lüksemburg",LV:"Letonya",LY:"Libya",MA:"Fas",MC:"Monako",MD:"Moldova",ME:"Karadağ",MF:"Saint Martin",MG:"Madagaskar",MH:"Marshall Adaları",MK:"Kuzey Makedonya",ML:"Mali",MM:"Myanmar (Burma)",MN:"Moğolistan",MO:"Çin Makao ÖYB",MP:"Kuzey Mariana Adaları",MQ:"Martinik",MR:"Moritanya",MS:"Montserrat",MT:"Malta",MU:"Mauritius",MV:"Maldivler",MW:"Malavi",MX:"Meksika",MY:"Malezya",MZ:"Mozambik",NA:"Namibya",NC:"Yeni Kaledonya",NE:"Nijer",NF:"Norfolk Adası",NG:"Nijerya",NI:"Nikaragua",NL:"Hollanda",NO:"Norveç",NP:"Nepal",NR:"Nauru",NU:"Niue",NZ:"Yeni Zelanda",OM:"Umman",PA:"Panama",PE:"Peru",PF:"Fransız Polinezyası",PG:"Papua Yeni Gine",PH:"Filipinler",PK:"Pakistan",PL:"Polonya",PM:"Saint Pierre ve Miquelon",PN:"Pitcairn Adaları",PR:"Porto Riko",PS:"Filistin Bölgeleri",PT:"Portekiz",PW:"Palau",PY:"Paraguay",QA:"Katar",RE:"Réunion",RO:"Romanya",RS:"Sırbistan",RU:"Rusya",RW:"Ruanda",SA:"Suudi Arabistan",SB:"Solomon Adaları",SC:"Seyşeller",SD:"Sudan",SE:"İsveç",SG:"Singapur",SH:"Saint Helena",SI:"Slovenya",SJ:"Svalbard ve Jan Mayen Adaları",SK:"Slovakya",SL:"Sierra Leone",SM:"San Marino",SN:"Senegal",SO:"Somali",SR:"Surinam",SS:"Güney Sudan",ST:"São Tomé ve Príncipe",SV:"El Salvador",SX:"Sint Maarten",SY:"Suriye",SZ:"Svaziland",TC:"Turks ve Caicos Adaları",TD:"Çad",TF:"Fransız Güney Toprakları",TG:"Togo",TH:"Tayland",TJ:"Tacikistan",TK:"Tokelau",TL:"Timor-Leste",TM:"Türkmenistan",TN:"Tunus",TO:"Tonga",TR:"Türkiye",TT:"Trinidad ve Tobago",TV:"Tuvalu",TW:"Tayvan",TZ:"Tanzanya",UA:"Ukrayna",UG:"Uganda",UM:"ABD Uzak Adaları",US:["ABD","A.B.D.","Amerika Birleşik Devletleri","Birleşik Devletler","Amerika"],UY:"Uruguay",UZ:"Özbekistan",VA:"Vatikan",VC:"Saint Vincent ve Grenadinler",VE:"Venezuela",VG:"Britanya Virjin Adaları",VI:"ABD Virjin Adaları",VN:"Vietnam",VU:"Vanuatu",WF:"Wallis ve Futuna Adaları",WS:"Samoa",YE:"Yemen",YT:"Mayotte",ZA:"Güney Afrika",ZM:"Zambiya",ZW:"Zimbabve",XK:"Kosova"},i={locale:a,countries:n};export{n as countries,i as default,a as locale}; diff --git a/docs/storybook/assets/tt-7d750061.js b/docs/storybook/assets/tt-7d750061.js deleted file mode 100644 index 9c9f4a3..0000000 --- a/docs/storybook/assets/tt-7d750061.js +++ /dev/null @@ -1 +0,0 @@ -const M="tt",S={AF:"Әфганстан",AL:"Албания",DZ:"Алжир",AS:"Америка Самоасы",AD:"Андорра",AO:"Ангола",AI:"Ангилья",AQ:"Антарктика",AG:"Антигуа һәм Барбуда",AR:"Аргентина",AM:"Әрмәнстан",AW:"Аруба",AU:"Австралия",AT:"Австрия",AZ:"Әзәрбайҗан",BS:"Багам утраулары",BH:"Бәхрәйн",BD:"Бангладеш",BB:"Барбадос",BY:"Беларусь",BE:"Бельгия",BZ:"Белиз",BJ:"Бенин",BM:"Бермуд утраулары",BT:"Бутан",BO:"Боливия",BA:"Босния һәм Герцеговина",BW:"Ботсвана",BV:"Буве утравы",BR:"Бразилия",IO:"Британиянең Һинд Океанындагы Территориясе",BN:"Бруней",BG:"Болгария",BF:"Буркина-Фасо",BI:"Бурунди",KH:"Камбоджа",CM:"Камерун",CA:"Канада",CV:"Кабо-Верде",KY:"Кайман утраулары",CF:"Үзәк Африка Республикасы",TD:"Чад",CL:"Чили",CN:"Кытай",CX:"Раштуа утравы",CC:"Кокос (Килинг) утраулары",CO:"Колумбия",KM:"Комор утраулары",CG:"Конго",CD:"Конго, Демократик Республикасы",CK:"Кук утраулары",CR:"Коста-Рика",CI:"Кот-д’Ивуар",HR:"Хорватия",CU:"Куба",CY:"Кипр",CZ:"Чехия Республикасы",DK:"Дания",DJ:"Җибүти",DM:"Доминика",DO:"Доминикана Республикасы",EC:"Эквадор",EG:"Мисыр",SV:"Сальвадор",GQ:"Экваториаль Гвинея",ER:"Эритрея",EE:"Эстония",ET:"Эфиопия",FK:"Фолкленд утраулары",FO:"Фарер утраулары",FJ:"Фиджи",FI:"Финляндия",FR:"Франция",GF:"Француз Гвианасы",PF:"Француз Полинезиясе",TF:"Франциянең Көньяк Территорияләре",GA:"Габон",GM:"Гамбия",GE:"Грузия",DE:"Германия",GH:"Гана",GI:"Гибралтар",GR:"Греция",GL:"Гренландия",GD:"Гренада",GP:"Гваделупа",GU:"Гуам",GT:"Гватемала",GN:"Гвинея",GW:"Гвинея-Бисау",GY:"Гайана",HT:"Гаити",HM:"Херд утравы һәм Макдональд утраулары",VA:"Изге күренеш (Ватикан шәһәре дәүләте)",HN:"Гондурас",HK:"Гонконг Махсус Идарәле Төбәге",HU:"Венгрия",IS:"Исландия",IN:"Индия",ID:"Индонезия",IR:"Иран",IQ:"Гыйрак",IE:"Ирландия",IL:"Израиль",IT:"Италия",JM:"Ямайка",JP:"Япония",JO:"Иордания",KZ:"Казахстан",KE:"Кения",KI:"Кирибати",KP:"Төньяк Корея",KR:"Көньяк Корея",KW:"Күвәйт",KG:"Кыргызстан",LA:"Лаос",LV:"Латвия",LB:"Ливан",LS:"Лесото",LR:"Либерия",LY:"Ливия",LI:"Лихтенштейн",LT:"Литва",LU:"Люксембург",MO:"Макао Махсус Идарәле Төбәге",MG:"Мадагаскар",MW:"Малави",MY:"Малайзия",MV:"Мальдив утраулары",ML:"Мали",MT:"Мальта",MH:"Маршалл утраулары",MQ:"Мартиника",MR:"Мавритания",MU:"Маврикий",YT:"Майотта",MX:"Мексика",FM:"Микронезия",MD:"Молдова",MC:"Монако",MN:"Монголия",MS:"Монтсеррат",MA:"Марокко",MZ:"Мозамбик",MM:"Мьянма",NA:"Намибия",NR:"Науру",NP:"Непал",NL:"Нидерланд",NC:"Яңа Каледония",NZ:"Яңа Зеландия",NI:"Никарагуа",NE:"Нигер",NG:"Нигерия",NU:"Ниуэ",NF:"Норфолк утравы",MK:"Төньяк Македония",MP:"Төньяк Мариана утраулары",NO:"Норвегия",OM:"Оман",PK:"Пакистан",PW:"Палау",PS:"Палестина",PA:"Панама",PG:"Папуа - Яңа Гвинея",PY:"Парагвай",PE:"Перу",PH:"Филиппин",PN:"Питкэрн утраулары",PL:"Польша",PT:"Португалия",PR:"Пуэрто-Рико",QA:"Катар",RE:"Реюньон",RO:"Румыния",RU:"Россия",RW:"Руанда",SH:"Изге Елена",KN:"Сент-Китс һәм Невис",LC:"Сент-Люсия",PM:"Сен-Пьер һәм Микелон",VC:"Сент-Винсент һәм Гренадин",WS:"Самоа",SM:"Сан-Марино",ST:"Сан-Томе һәм Принсипи",SA:"Согуд Гарәбстаны",SN:"Сенегал",SC:"Сейшел утраулары",SL:"Сьерра-Леоне",SG:"Сингапур",SK:"Словакия",SI:"Словения",SB:"Сөләйман утраулары",SO:"Сомали",ZA:"Көньяк Африка",GS:"Көньяк Георгия һәм Көньяк Сандвич утраулары",ES:"Испания",LK:"Шри-Ланка",SD:"Судан",SR:"Суринам",SJ:"Шпицберген һәм Ян-Майен",SZ:"Свазиленд",SE:"Швеция",CH:"Швейцария",SY:"Сүрия",TW:"Тайвань",TJ:"Таҗикстан",TZ:"Танзания",TH:"Тайланд",TL:"Тимор-Лесте",TG:"Того",TK:"Токелау",TO:"Тонга",TT:"Тринидад һәм Тобаго",TN:"Тунис",TR:"Төркия",TM:"Төркмәнстан",TC:"Теркс һәм Кайкос утраулары",TV:"Тувалу",UG:"Уганда",UA:"Украина",AE:"Берләшкән Гарәп Әмирлекләре",GB:"Берләшкән Корольлек",US:"АКШ",UM:"АКШ Кече Читтәге утраулары",UY:"Уругвай",UZ:"Үзбәкстан",VU:"Вануату",VE:"Венесуэла",VN:"Вьетнам",VG:"Британия Виргин утраулары",VI:"АКШ Виргин утраулары",WF:"Уоллис һәм Футуна",EH:"Көнбатыш Сахара",YE:"Йәмән",ZM:"Замбия",ZW:"Зимбабве",AX:"Аланд утраулары",BQ:"Бонейр, Синт Эстатий һәм Саба",CW:"Кюрасао",GG:"Гернси",IM:"Мэн утравы",JE:"Джерси",ME:"Черногория",BL:"Сен-Бартельми",MF:"Сент-Мартин",RS:"Сербия",SX:"Синт-Мартен",SS:"Көньяк Судан",XK:"Косово"},G={locale:M,countries:S};export{S as countries,G as default,M as locale}; diff --git a/docs/storybook/assets/ug-99c3fa90.js b/docs/storybook/assets/ug-99c3fa90.js deleted file mode 100644 index 046d6b6..0000000 --- a/docs/storybook/assets/ug-99c3fa90.js +++ /dev/null @@ -1 +0,0 @@ -const M="ug",S={AF:"ئافغانىستان",AL:"ئالبانىيە",DZ:"ئالجىرىيە",AS:"ئامېرىكا ساموئا",AD:"ئاندوررا",AO:"ئانگولا",AI:"ئانگۋىللا",AQ:"ئانتاركتىكا",AG:"ئانتىگۇئا ۋە باربۇدا",AR:"ئارگېنتىنا",AM:"ئەرمېنىيە",AW:"ئارۇبا",AU:"ئاۋسترالىيە",AT:"ئاۋىستىرىيە",AZ:"ئەزەربەيجان",BS:"باھاما",BH:"بەھرەين",BD:"بېنگال",BB:"باربادوس",BY:"بېلارۇسىيە",BE:"بېلگىيە",BZ:"بېلىز",BJ:"بېنىن",BM:"بېرمۇدا",BT:"بۇتان",BO:"بولىۋىيە",BA:"بوسىنىيە ۋە گېرتسېگوۋىنا",BW:"بوتسۋانا",BV:"بوۋېت ئارىلى",BR:"بىرازىلىيە",IO:"ئەنگلىيەگە قاراشلىق ھىندى ئوكيان تېررىتورىيەسى",BN:"بىرۇنېي",BG:"بۇلغارىيە",BF:"بۇركىنا فاسو",BI:"بۇرۇندى",KH:"كامبودژا",CM:"كامېرون",CA:"كانادا",CV:"يېشىل تۇمشۇق",KY:"كايمان ئاراللىرى",CF:"ئوتتۇرا ئافرىقا جۇمھۇرىيىتى",TD:"چاد",CL:"چىلى",CN:"جۇڭگو",CX:"مىلاد ئارىلى",CC:"كوكوس (كىلىڭ) ئاراللىرى",CO:"كولومبىيە",KM:"كومورو",CG:"كونگو - بىراززاۋىل",CD:"كونگو - كىنشاسا",CK:"كۇك ئاراللىرى",CR:"كوستارىكا",CI:"كوتې دې ئىۋوئىر",HR:"كىرودىيە",CU:"كۇبا",CY:"سىپرۇس",CZ:"چېخ جۇمھۇرىيىتى",DK:"دانىيە",DJ:"جىبۇتى",DM:"دومىنىكا",DO:"دومىنىكا جۇمھۇرىيىتى",EC:"ئېكۋاتور",EG:"مىسىر",SV:"سالۋادور",GQ:"ئېكۋاتور گىۋىنىيەسى",ER:"ئېرىترىيە",EE:"ئېستونىيە",ET:"ئېفىيوپىيە",FK:"فالكلاند ئاراللىرى",FO:"فارو ئاراللىرى",FJ:"فىجى",FI:"فىنلاندىيە",FR:"فىرانسىيە",GF:"فىرانسىيەگە قاراشلىق گىۋىيانا",PF:"فىرانسىيەگە قاراشلىق پولىنېزىيە",TF:"فىرانسىيەنىڭ جەنۇبىي زېمىنى",GA:"گابون",GM:"گامبىيە",GE:"گىرۇزىيە",DE:"گېرمانىيە",GH:"گانا",GI:"جەبىلتارىق",GR:"گىرېتسىيە",GL:"گىرېنلاندىيە",GD:"گىرېنادا",GP:"گىۋادېلۇپ",GU:"گۇئام",GT:"گىۋاتېمالا",GN:"گىۋىنىيە",GW:"گىۋىنىيە بىسسائۇ",GY:"گىۋىيانا",HT:"ھايتى",HM:"ھېرد ئارىلى ۋە ماكدونالد ئاراللىرى",VA:"ۋاتىكان",HN:"ھوندۇراس",HK:"شياڭگاڭ ئالاھىدە مەمۇرىي رايونى (جۇڭگو)",HU:"ۋېنگىرىيە",IS:"ئىسلاندىيە",IN:"ھىندىستان",ID:"ھىندونېزىيە",IR:"ئىران",IQ:"ئىراق",IE:"ئىرېلاندىيە",IL:"ئىسرائىلىيە",IT:"ئىتالىيە",JM:"يامايكا",JP:"ياپونىيە",JO:"ئىيوردانىيە",KZ:"قازاقىستان",KE:"كېنىيە",KI:"كىرىباتى",KP:"چاۋشيەن",KR:"كورېيە",KW:"كۇۋەيت",KG:"قىرغىزىستان",LA:"لائوس",LV:"لاتۋىيە",LB:"لىۋان",LS:"لېسوتو",LR:"لىبېرىيە",LY:"لىۋىيە",LI:"لىكتېنستېين",LT:"لىتۋانىيە",LU:"لىيۇكسېمبۇرگ",MO:"ئاۋمېن ئالاھىدە مەمۇرىي رايونى",MG:"ماداغاسقار",MW:"مالاۋى",MY:"مالايسىيا",MV:"مالدىۋې",ML:"مالى",MT:"مالتا",MH:"مارشال ئاراللىرى",MQ:"مارتىنىكا",MR:"ماۋرىتانىيە",MU:"ماۋرىتىيۇس",YT:"مايوتى",MX:"مېكسىكا",FM:"مىكرونېزىيە",MD:"مولدوۋا",MC:"موناكو",MN:"موڭغۇلىيە",MS:"مونتسېررات",MA:"ماراكەش",MZ:"موزامبىك",MM:"بىرما",NA:"نامىبىيە",NR:"ناۋرۇ",NP:"نېپال",NL:"گوللاندىيە",NC:"يېڭى كالېدونىيە",NZ:"يېڭى زېلاندىيە",NI:"نىكاراگۇئا",NE:"نىگېر",NG:"نىگېرىيە",NU:"نيۇئې",NF:"نورفولك ئارىلى",MK:"شىمالىي ماكېدونىيە",MP:"شىمالىي مارىيانا ئاراللىرى",NO:"نورۋېگىيە",OM:"ئومان",PK:"پاكىستان",PW:"پالائۇ",PS:"پەلەستىن زېمىنى",PA:"پاناما",PG:"پاپۇئا يېڭى گىۋىنىيەسى",PY:"پاراگۋاي",PE:"پېرۇ",PH:"فىلىپپىن",PN:"پىتكايرن ئاراللىرى",PL:"پولشا",PT:"پورتۇگالىيە",PR:"پۇئېرتو رىكو",QA:"قاتار",RE:"رېيۇنىيون",RO:"رومىنىيە",RU:"رۇسىيە",RW:"رىۋاندا",SH:"ساينىت ھېلېنا",KN:"ساينت كىتىس ۋە نېۋىس",LC:"ساينت لۇسىيە",PM:"ساينت پىيېر ۋە مىكېلون ئاراللىرى",VC:"ساينت ۋىنسېنت ۋە گىرېنادىنېس",WS:"ساموئا",SM:"سان مارىنو",ST:"سان تومې ۋە پرىنسىپې",SA:"سەئۇدىي ئەرەبىستان",SN:"سېنېگال",SC:"سېيشېل",SL:"سېررالېئون",SG:"سىنگاپور",SK:"سىلوۋاكىيە",SI:"سىلوۋېنىيە",SB:"سولومون ئاراللىرى",SO:"سومالى",ZA:"جەنۇبىي ئافرىقا",GS:"جەنۇبىي جورجىيە ۋە جەنۇبىي ساندۋىچ ئاراللىرى",ES:"ئىسپانىيە",LK:"سىرىلانكا",SD:"سۇدان",SR:"سۇرىنام",SJ:"سىۋالبارد ۋە يان مايېن",SZ:"سىۋېزىلاند",SE:"شىۋېتسىيە",CH:"شىۋېتسارىيە",SY:"سۇرىيە",TW:"تەيۋەن",TJ:"تاجىكىستان",TZ:"تانزانىيە",TH:"تايلاند",TL:"شەرقىي تىمور",TG:"توگو",TK:"توكېلاۋ",TO:"تونگا",TT:"تىرىنىداد ۋە توباگو",TN:"تۇنىس",TR:"تۈركىيە",TM:"تۈركمەنىستان",TC:"تۇركس ۋە كايكوس ئاراللىرى",TV:"تۇۋالۇ",UG:"ئۇگاندا",UA:"ئۇكرائىنا",AE:"ئەرەب بىرلەشمە خەلىپىلىكى",GB:"بىرلەشمە پادىشاھلىق",US:"ئامېرىكا قوشما ئىشتاتلىرى",UM:"ئا ق ش تاشقى ئاراللىرى",UY:"ئۇرۇگۋاي",UZ:"ئۆزبېكىستان",VU:"ۋانۇئاتۇ",VE:"ۋېنېسۇئېلا",VN:"ۋىيېتنام",VG:"ئەنگلىيە ۋىرگىن ئاراللىرى",VI:"ئا ق ش ۋىرگىن ئاراللىرى",WF:"ۋاللىس ۋە فۇتۇنا",EH:"غەربىي ساخارا",YE:"يەمەن",ZM:"زامبىيە",ZW:"زىمبابۋې",AX:"ئالاند ئاراللىرى",BQ:"كارىب دېڭىزى گوللاندىيە",CW:"كۇراچاۋ",GG:"گۇرنسېي",IM:"مان ئارىلى",JE:"جېرسېي",ME:"قارا تاغ",BL:"ساينت بارتېلېمى",MF:"ساينت مارتىن",RS:"سېربىيە",SX:"سىنت مارتېن",SS:"جەنۇبىي سۇدان",XK:"كوسوۋو"},G={locale:M,countries:S};export{S as countries,G as default,M as locale}; diff --git a/docs/storybook/assets/uk-8f1d546e.js b/docs/storybook/assets/uk-8f1d546e.js deleted file mode 100644 index 5a3848c..0000000 --- a/docs/storybook/assets/uk-8f1d546e.js +++ /dev/null @@ -1 +0,0 @@ -const M="uk",S={AU:"Австралія",AT:"Австрія",AZ:"Азербайджан",AX:"Аландські Острови",AL:"Албанія",DZ:"Алжир",AS:"Американське Самоа",AI:"Ангілья",AO:"Ангола",AD:"Андорра",AQ:"Антарктика",AG:"Антигуа і Барбуда",MO:"Макао",AR:"Аргентина",AM:"Вірменія",AW:"Аруба",AF:"Афганістан",BS:"Багамські Острови",BD:"Бангладеш",BB:"Барбадос",BH:"Бахрейн",BZ:"Беліз",BE:"Бельгія",BJ:"Бенін",BM:"Бермудські Острови",BY:"Білорусь",BG:"Болгарія",BO:"Болівія",BA:"Боснія і Герцеговина",BW:"Ботсвана",BR:"Бразилія",IO:"Британська Територія в Індійському Океані",VG:"Британські Віргінські Острови",BN:"Бруней-Даруссалам",BF:"Буркіна-Фасо",BI:"Бурунді",BT:"Бутан",VU:"Вануату",VA:"Ватикан",GB:"Великобританія",VE:"Венесуела",VI:"Віргінські Острови (США)",WF:"Волліс і Футуна",VN:"В'єтнам",UM:"Зовнішні Віддалені Острови (США)",GA:"Габон",HT:"Гаїті",GY:"Гаяна",GM:"Гамбія",GH:"Гана",GP:"Гваделупа",GT:"Гватемала",GF:"Гвіана",GN:"Гвінея",GW:"Гвінея-Бісау",GG:"Гернсі",GI:"Гібралтар",HN:"Гондурас",HK:"Гонконг",GD:"Гренада",GR:"Греція",GE:"Грузія",GU:"Гуам",GL:"Гренландія",DK:"Данія",JE:"Джерсі",DJ:"Джибуті",DM:"Домініка",DO:"Домініканська Республіка",CD:"Демократична Республіка Конго",EC:"Еквадор",GQ:"Екваторіальна Гвінея",ER:"Еритрея",EE:"Естонія",ET:"Ефіопія",EG:"Єгипет",YE:"Ємен",ZM:"Замбія",ZW:"Зімбабве",IL:"Ізраїль",IN:"Індія",ID:"Індонезія",IQ:"Ірак",IR:"Іран",IE:"Ірландія",IS:"Ісландія",ES:"Іспанія",IT:"Італія",JO:"Йорданія",CV:"Кабо-Верде",KZ:"Казахстан",KY:"Кайманові Острови",KH:"Камбоджа",CM:"Камерун",CA:"Канада",BQ:"Карибські Нідерланди",QA:"Катар",KE:"Кенія",CY:"Кіпр",KI:"Кірибаті",KG:"Киргизстан",TW:"Тайвань, Провінція Китаю",KP:"Корейська Народно-Демократична Республіка",CN:"Китай",CC:"Кокосові Острови",CO:"Колумбія",KM:"Комори",XK:"Косово",CR:"Коста-Рика",CI:"Кот-Д'Івуар",CU:"Куба",KW:"Кувейт",CW:"Кюрасао",LA:"Лаос",LV:"Латвія",LS:"Лесото",LR:"Ліберія",LB:"Ліван",LY:"Лівія",LT:"Литва",LI:"Ліхтенштейн",LU:"Люксембург",MU:"Маврикій",MR:"Мавританія",MG:"Мадагаскар",YT:"Майотта",MW:"Малаві",MY:"Малайзія",ML:"Малі",MV:"Мальдіви",MT:"Мальта",MA:"Марокко",MQ:"Мартиніка",MH:"Маршаллові Острови",MX:"Мексика",FM:"Мікронезія",MZ:"Мозамбік",MD:"Молдова",MC:"Монако",MN:"Монголія",MS:"Монтсеррат",MM:"М'янма",NA:"Намібія",NR:"Науру",NP:"Непал",NE:"Нігер",NG:"Нігерія",NL:"Нідерланди",NI:"Нікарагуа",DE:"Німеччина",NU:"Ніуе",NZ:"Нова Зеландія",NC:"Нова Каледонія",NO:"Норвегія",AE:"Об'єднані Арабські Емірати",OM:"Оман",BV:"Острів Буве",HM:"Острів Герд і Острови Макдоналд",IM:"Острів Мен",NF:"Острів Норфолк",CX:"Острів Різдва",CK:"Острови Кука",SH:"Острів Святої Єлени",TC:"Острови Теркс і Кайкос",PK:"Пакистан",PW:"Палау",PS:"Палестина",PA:"Панама",PG:"Папуа-Нова Гвінея",ZA:"Південна Африка",PY:"Парагвай",PE:"Перу",GS:"Південна Джорджія та Південні Сандвічеві Острови",KR:"Республіка Корея",SS:"Південний Судан",MK:"Північна Македонія",MP:"Північні Маріанські Острови",PN:"Піткерн",PL:"Польща",PT:"Португалія",PR:"Пуерто-Рико",CG:"Конго",RE:"Реюньйон",RU:"Росія",RW:"Руанда",RO:"Румунія",EH:"Західна Сахара",SV:"Сальвадор",WS:"Самоа",SM:"Сан-Марино",ST:"Сан-Томе і Принсіпі",SA:"Саудівська Аравія",SZ:"Есватіні",SJ:"Острови Шпіцберген та Ян-Маєн",SC:"Сейшельські Острови",BL:"Сен-Бартелемі",MF:"Сен-Мартен",PM:"Сен-П'єр і Мікелон",SN:"Сенегал",VC:"Сент-Вінсент і Гренадіни",KN:"Сент-Кітс і Невіс",LC:"Сент-Люсія",RS:"Сербія",SG:"Сингапур",SX:"Сінт-Мартен",SY:"Сирія",SK:"Словаччина",SI:"Словенія",SB:"Соломонові Острови",SO:"Сомалі",SD:"Судан",SR:"Суринам",TL:"Тимор-Лешті",US:"США",SL:"Сьєрра-Леоне",TJ:"Таджикистан",TH:"Таїланд",TZ:"Танзанія",TG:"Того",TK:"Токелау",TO:"Тонга",TT:"Тринідад і Тобаго",TV:"Тувалу",TN:"Туніс",TM:"Туркменистан",TR:"Туреччина",UG:"Уганда",HU:"Угорщина",UZ:"Узбекистан",UA:"Україна",UY:"Уругвай",FO:"Фарерські Острови",FJ:"Фіджі",PH:"Філіппіни",FI:"Фінляндія",FK:"Фолклендські Острови",FR:"Франція",PF:"Французька Полінезія",TF:"Французькі Південні і Антарктичні Території",HR:"Хорватія",CF:"Центральноафриканська Республіка",TD:"Чад",ME:"Чорногорія",CZ:"Чехія",CL:"Чилі",CH:"Швейцарія",SE:"Швеція",LK:"Шри-Ланка",JM:"Ямайка",JP:"Японія"},G={locale:M,countries:S};export{S as countries,G as default,M as locale}; diff --git a/docs/storybook/assets/ur-5afbdc80.js b/docs/storybook/assets/ur-5afbdc80.js deleted file mode 100644 index decb4d3..0000000 --- a/docs/storybook/assets/ur-5afbdc80.js +++ /dev/null @@ -1 +0,0 @@ -const M="ur",S={AF:"افغانستان",AL:"البانیاہ",DZ:"الجزائر",AS:"امریکی ساموا",AD:"اینڈورا",AO:"انگولا",AI:"انگویلا",AQ:"انٹارکٹیکا",AG:"انٹیگوا اور باربودا",AR:"ارجنٹینا",AM:"آرمینیا",AW:"اروبا",AU:"آسٹریلیا",AT:"آسٹریا",AZ:"آزربائیجان",BS:"بہاماس",BH:"بحرین",BD:"بنگلہ دیش",BB:"بارباڈوس",BY:"بیلاروس",BE:"بیلجیم",BZ:"بیلیز",BJ:"بینن",BM:"برمودا",BT:"بھوٹان",BO:"بولیویا",BA:"بوسنیا اور ہرزیگوینا",BW:"بوٹسوانا",BV:"جزیرہ بوویت",BR:"برازیل",IO:"بحرِہندکابرطانوی حصہ",BN:"برونائی دارالسلام",BG:"بلغاریہ",BF:"برکینا فاسو",BI:"برونڈی",KH:"کمبوڈیا",CM:"کیمرون",CA:"کینیڈا",CV:"کیپ وردے",KY:"جزائر کیمن",CF:"وسطی افریقی جمہوریہ",TD:"چاڈ",CL:"چلی",CN:"چین",CX:"کرسمس آئ لینڈ",CC:"کوکوس جزائر",CO:"کولمبیا",KM:"کوموروس",CG:"کانگو",CD:"عوامی جمہوریہِ کانگو",CK:"کوک آیلینڈ",CR:"کوسٹا ریکا",CI:"کوٹ ڈی آئیورائر",HR:"کروشیا",CU:"کیوبا",CY:"قبرص",CZ:"جمہوریہ چیک",DK:"ڈنمارک",DJ:"جبوتی",DM:"ڈومینیکا",DO:"ڈومینیکن ریپبلک",EC:"ایکواڈور",EG:"مصر",SV:"ال سلواڈور",GQ:"استوائی گنی",ER:"ایریٹریا",EE:"ایسٹونیا",ET:"ایتھوپیا",FK:"جزائر فاک لینڈ (مالویناس)",FO:"جزائرفارو",FJ:"فجی",FI:"فن لینڈ",FR:"فرانس",GF:"فرانسیسی گانا",PF:"فرانسیسی پولینیشیا",TF:"جنوبی فرانسیسی علاقہ جات",GA:"گبون",GM:"گیمبیا",GE:"جارجیا",DE:"جرمنی",GH:"گھانا",GI:"جبل الطارق",GR:"یونان",GL:"گرین لینڈ",GD:"گریناڈا",GP:"گواڈیلوپ",GU:"گوام",GT:"گوئٹے مالا",GN:"گنی",GW:"گنی بساؤ",GY:"گیوانا",HT:"ہیٹی",HM:"ہرڈ جزیرہ اور جزائر مکڈونلڈ",VA:"ہولی سی، ویٹیکن",HN:"ہنڈورس",HK:"ہانگ کانگ",HU:"ہنگری",IS:"آئس لینڈ",IN:"انڈیا",ID:"انڈونیشیا",IR:"اسلامی جمہوریہ ایران",IQ:"عراق",IE:"آئر لینڈ",IL:"اسرائیل",IT:"اٹلی",JM:"جمیکا",JP:"جاپان",JO:"اردن",KZ:"قازقستان",KE:"کینیا",KI:"کرباتی",KP:"شمالی کوریا",KR:"جنوبی کوریا",KW:"کویت",KG:"کرغزستان",LA:"عوامی جمہوریہِ لاوء",LV:"لیٹویا",LB:"لبنان",LS:"لیسوتھو",LR:"لائبیریا",LY:"لیبیا",LI:"لیچسٹنسٹین",LT:"لیتھوانیا",LU:"لکسمبرگ",MO:"مکاؤ",MG:"مڈغاسکر",MW:"ملاوی",MY:"ملائیشیا",MV:"مالدیپ",ML:"مالی",MT:"مالٹا",MH:"مارشل جزائر",MQ:"مارٹنیک",MR:"موریطانیہ",MU:"ماریشس",YT:"میٹو",MX:"میکسیکو",FM:"مائیکرونیشیا",MD:"جمہوریہ مالڈووا",MC:"موناکو",MN:"منگولیا",MS:"مونٹسیریٹ",MA:"مراکش",MZ:"موزمبیق",MM:"میانمار",NA:"نامیبیا",NR:"نورو",NP:"نیپال",NL:"نیدرلینڈ",NC:"نیو کالیڈونیا",NZ:"نیوزی لینڈ",NI:"نکاراگوا",NE:"نائجر",NG:"نائجیریا",NU:"نییو",NF:"جزیرہ نورفوک",MP:"شمالی ماریانا جزائر",MK:"شمالی مقدونیہ",NO:"ناروے",OM:"عمان",PK:"پاکستان",PW:"پالاؤ",PS:"فلسطین",PA:"پاناما",PG:"پاپوا نیو گنی",PY:"پیراگوئے",PE:"پیرو",PH:"فلپائن",PN:"پٹکیرن",PL:"پولینڈ",PT:"پرتگال",PR:"پورٹو ریکو",QA:"قطر",RE:"ری یونین",RO:"رومانیہ",RU:"روس",RW:"روانڈا",SH:"سینٹ ہیلینا",KN:"سینٹ کٹس اور نیویس",LC:"سینٹ لوسیا",PM:"سینٹ پیئر و میکوئیلون",VC:"سینٹ ونسنٹ اور گریناڈینز",WS:"ساموآ",SM:"سان مارینو",ST:"ساؤ ٹوم اور پرنسپے",SA:"سعودی عرب",SN:"سینیگال",SC:"سیچیلز",SL:"سیرا لیون",SG:"سنگاپور",SK:"سلوواکیا",SI:"سلووینیا",SB:"جزائرِ سولومن",SO:"صومالیہ",ZA:"جنوبی افریقہ",GS:"جنوبی جارجیا اور جزائر جنوبی سینڈوچ",ES:"سپین",LK:"سری لنکا",SD:"سوڈان",SR:"سورینام",SJ:"سوولبارڈ اور جان میین",SZ:"سوزیلینڈ",SE:"سویڈن",CH:"سوئٹزرلینڈ",SY:"شام",TW:"تائیوان",TJ:"تاجکستان",TZ:"تنزانیہ",TH:"تھائی لینڈ",TL:"تیمور-لیس",TG:"ٹوگو",TK:"ٹوکیلو",TO:"ٹونگا",TT:"ٹرینیڈاڈ اور ٹوباگو",TN:"تیونس",TR:"ترکی",TM:"ترکمنستان",TC:"ترکی اور کیکوس جزائر",TV:"تووالو",UG:"یوگنڈا",UA:"یوکرین",AE:"متحدہ عرب امارات",GB:"برطانیہ",US:"ریاست ہائے متحدہ امریکہ",UM:"ریاست ہائے متحدہ امریکہ کے علیحدہ چھوٹے جزائر",UY:"یوراگوئے",UZ:"ازبکستان",VU:"وانوات",VE:"وینزویلا",VN:"ویت نام",VG:"جزائرِورجن، برطانوی",VI:"جزائرِورجن، امریکی",WF:"والس اور فتونہ",EH:"مغربی صحارا",YE:"یمن",ZM:"زامبیا",ZW:"زمبابوے",AX:"جزائرِ آلند",BQ:"بونیرے, سینٹ یستتئوس اینڈ صبا",CW:"کیوراساؤ",GG:"گرنسی",IM:"آیل آف مین",JE:"جرسی",ME:"مونٹینیگرو",BL:"سینٹ باریٹی",MF:"سینٹ مارٹن (فرانسیسی حصہ)",RS:"سربیا",SX:"سینٹ مارٹن (ولندیزی حصہ)",SS:"جنوبی سوڈان",XK:"کوسوو"},G={locale:M,countries:S};export{S as countries,G as default,M as locale}; diff --git a/docs/storybook/assets/uz-2d5185e6.js b/docs/storybook/assets/uz-2d5185e6.js deleted file mode 100644 index c6c95a6..0000000 --- a/docs/storybook/assets/uz-2d5185e6.js +++ /dev/null @@ -1 +0,0 @@ -const a="uz",i={AD:"Andorra",AE:"Birlashgan Arab Amirliklari",AF:"Afgʻoniston",AG:"Antigua va Barbuda",AI:"Angilya",AL:"Albaniya",AM:"Armaniston",AO:"Angola",AQ:"Antarktida",AR:"Argentina",AS:"Amerika Samoasi",AT:"Avstriya",AU:"Avstraliya",AW:"Aruba",AX:"Aland orollari",AZ:"Ozarbayjon",BA:"Bosniya va Gertsegovina",BB:"Barbados",BD:"Bangladesh",BE:"Belgiya",BF:"Burkina-Faso",BG:"Bolgariya",BH:"Bahrayn",BI:"Burundi",BJ:"Benin",BL:"Sen-Bartelemi",BM:"Bermuda orollari",BN:"Bruney",BO:"Boliviya",BQ:"Boneyr, Sint-Estatius va Saba",BR:"Braziliya",BS:"Bagama orollari",BT:"Butan",BV:"Buve oroli",BW:"Botsvana",BY:"Belarus",BZ:"Beliz",CA:"Kanada",CC:"Kokos (Kiling) orollari",CD:"Kongo – Kinshasa",CF:"Markaziy Afrika Respublikasi",CG:"Kongo – Brazzavil",CH:"Shveytsariya",CI:"Kot-d’Ivuar",CK:"Kuk orollari",CL:"Chili",CM:"Kamerun",CN:"Xitoy",CO:"Kolumbiya",CR:"Kosta-Rika",CU:"Kuba",CV:"Kabo-Verde",CW:"Kyurasao",CX:"Rojdestvo oroli",CY:"Kipr",CZ:"Chexiya",DE:"Germaniya",DJ:"Jibuti",DK:"Daniya",DM:"Dominika",DO:"Dominikan Respublikasi",DZ:"Jazoir",EC:"Ekvador",EE:"Estoniya",EG:"Misr",EH:"G‘arbiy Sahroi Kabir",ER:"Eritreya",ES:"Ispaniya",ET:"Efiopiya",FI:"Finlandiya",FJ:"Fiji",FK:"Folklend orollari",FM:"Mikroneziya",FO:"Farer orollari",FR:"Fransiya",GA:"Gabon",GB:"Buyuk Britaniya",GD:"Grenada",GE:"Gruziya",GF:"Fransuz Gvianasi",GG:"Gernsi",GH:"Gana",GI:"Gibraltar",GL:"Grenlandiya",GM:"Gambiya",GN:"Gvineya",GP:"Gvadelupe",GQ:"Ekvatorial Gvineya",GR:"Gretsiya",GS:"Janubiy Georgiya va Janubiy Sendvich orollari",GT:"Gvatemala",GU:"Guam",GW:"Gvineya-Bisau",GY:"Gayana",HK:"Gonkong (Xitoy MMH)",HM:"Xerd va Makdonald orollari",HN:"Gonduras",HR:"Xorvatiya",HT:"Gaiti",HU:"Vengriya",ID:"Indoneziya",IE:"Irlandiya",IL:"Isroil",IM:"Men oroli",IN:"Hindiston",IO:"Britaniyaning Hind okeanidagi hududi",IQ:"Iroq",IR:"Eron",IS:"Islandiya",IT:"Italiya",JE:"Jersi",JM:"Yamayka",JO:"Iordaniya",JP:"Yaponiya",KE:"Keniya",KG:"Qirgʻiziston",KH:"Kambodja",KI:"Kiribati",KM:"Komor orollari",KN:"Sent-Kits va Nevis",KP:"Shimoliy Koreya",KR:"Janubiy Koreya",KW:"Quvayt",KY:"Kayman orollari",KZ:"Qozogʻiston",LA:"Laos",LB:"Livan",LC:"Sent-Lyusiya",LI:"Lixtenshteyn",LK:"Shri-Lanka",LR:"Liberiya",LS:"Lesoto",LT:"Litva",LU:"Lyuksemburg",LV:"Latviya",LY:"Liviya",MA:"Marokash",MC:"Monako",MD:"Moldova",ME:"Chernogoriya",MF:"Sent-Martin",MG:"Madagaskar",MH:"Marshall orollari",MK:"Shimoliy Makedoniya",ML:"Mali",MM:"Myanma (Birma)",MN:"Mongoliya",MO:"Makao (Xitoy MMH)",MP:"Shimoliy Mariana orollari",MQ:"Martinika",MR:"Mavritaniya",MS:"Montserrat",MT:"Malta",MU:"Mavrikiy",MV:"Maldiv orollari",MW:"Malavi",MX:"Meksika",MY:"Malayziya",MZ:"Mozambik",NA:"Namibiya",NC:"Yangi Kaledoniya",NE:"Niger",NF:"Norfolk oroli",NG:"Nigeriya",NI:"Nikaragua",NL:"Niderlandiya",NO:"Norvegiya",NP:"Nepal",NR:"Nauru",NU:"Niue",NZ:"Yangi Zelandiya",OM:"Ummon",PA:"Panama",PE:"Peru",PF:"Fransuz Polineziyasi",PG:"Papua – Yangi Gvineya",PH:"Filippin",PK:"Pokiston",PL:"Polsha",PM:"Sen-Pyer va Mikelon",PN:"Pitkern orollari",PR:"Puerto-Riko",PS:"Falastin hududi",PT:"Portugaliya",PW:"Palau",PY:"Paragvay",QA:"Qatar",RE:"Reyunion",RO:"Ruminiya",RS:"Serbiya",RU:"Rossiya",RW:"Ruanda",SA:"Saudiya Arabistoni",SB:"Solomon orollari",SC:"Seyshel orollari",SD:"Sudan",SE:"Shvetsiya",SG:"Singapur",SH:"Muqaddas Yelena oroli",SI:"Sloveniya",SJ:"Svalbard va Yan-Mayen",SK:"Slovakiya",SL:"Syerra-Leone",SM:"San-Marino",SN:"Senegal",SO:"Somali",SR:"Surinam",SS:"Janubiy Sudan",ST:"San-Tome va Prinsipi",SV:"Salvador",SX:"Sint-Marten",SY:"Suriya",SZ:"Svazilend",TC:"Turks va Kaykos orollari",TD:"Chad",TF:"Fransuz Janubiy hududlari",TG:"Togo",TH:"Tailand",TJ:"Tojikiston",TK:"Tokelau",TL:"Timor-Leste",TM:"Turkmaniston",TN:"Tunis",TO:"Tonga",TR:"Turkiya",TT:"Trinidad va Tobago",TV:"Tuvalu",TW:"Tayvan",TZ:"Tanzaniya",UA:"Ukraina",UG:"Uganda",UM:"AQSH yondosh orollari",US:"Amerika Qo‘shma Shtatlari",UY:"Urugvay",UZ:"Oʻzbekiston",VA:"Vatikan",VC:"Sent-Vinsent va Grenadin",VE:"Venesuela",VG:"Britaniya Virgin orollari",VI:"AQSH Virgin orollari",VN:"Vyetnam",VU:"Vanuatu",WF:"Uollis va Futuna",WS:"Samoa",XK:"Kosovo",YE:"Yaman",YT:"Mayotta",ZA:"Janubiy Afrika Respublikasi",ZM:"Zambiya",ZW:"Zimbabve"},o={locale:a,countries:i};export{i as countries,o as default,a as locale}; diff --git a/docs/storybook/assets/v4-4a60fe23.js b/docs/storybook/assets/v4-4a60fe23.js deleted file mode 100644 index f154539..0000000 --- a/docs/storybook/assets/v4-4a60fe23.js +++ /dev/null @@ -1 +0,0 @@ -let e;const p=new Uint8Array(16);function y(){if(!e&&(e=typeof crypto<"u"&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto),!e))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return e(p)}const d=[];for(let n=0;n<256;++n)d.push((n+256).toString(16).slice(1));function r(n,t=0){return d[n[t+0]]+d[n[t+1]]+d[n[t+2]]+d[n[t+3]]+"-"+d[n[t+4]]+d[n[t+5]]+"-"+d[n[t+6]]+d[n[t+7]]+"-"+d[n[t+8]]+d[n[t+9]]+"-"+d[n[t+10]]+d[n[t+11]]+d[n[t+12]]+d[n[t+13]]+d[n[t+14]]+d[n[t+15]]}const m=typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto),o={randomUUID:m};function U(n,t,i){if(o.randomUUID&&!t&&!n)return o.randomUUID();n=n||{};const u=n.random||(n.rng||y)();if(u[6]=u[6]&15|64,u[8]=u[8]&63|128,t){i=i||0;for(let c=0;c<16;++c)t[i+c]=u[c];return t}return r(u)}export{U as v}; diff --git a/docs/storybook/assets/vi-604e5e8c.js b/docs/storybook/assets/vi-604e5e8c.js deleted file mode 100644 index 3ed59c3..0000000 --- a/docs/storybook/assets/vi-604e5e8c.js +++ /dev/null @@ -1 +0,0 @@ -const a="vi",n={AF:"Afghanistan",AL:"Albania",DZ:"Algeria",AS:"American Samoa",AD:"Andorra",AO:"Angola",AI:"Anguilla",AQ:"Antarctica",AG:"Antigua và Barbuda",AR:"Argentina",AM:"Armenia",AW:"Aruba",AU:"Úc",AT:"Austria",AZ:"Azerbaijan",BS:"Bahamas",BH:"Bahrain",BD:"Bangladesh",BB:"Barbados",BY:"Belarus",BE:"Bỉ",BZ:"Belize",BJ:"Benin",BM:"Bermuda",BT:"Bhutan",BO:"Bolivia",BA:"Bosnia và Herzegovina",BW:"Botswana",BV:"Đảo Bouvet",BR:"Brazil",IO:"Lãnh thổ Ấn Độ Dương thuộc Anh",BN:"Brunei Darussalam",BG:"Bulgaria",BF:"Burkina Faso",BI:"Burundi",KH:"Campuchia",CM:"Cameroon",CA:"Canada",CV:"Cape Verde",KY:"Quần đảo Cayman",CF:"Cộng hòa Trung Phi",TD:"Chad",CL:"Chile",CN:"Trung Quốc",CX:"Đảo Giáng sinh",CC:"Quần đảo Cocos (Keeling)",CO:"Colombia",KM:"Comoros",CG:"Công-gô",CD:"Cộng hòa Dân chủ Công-gô",CK:"Quần đảo Cook",CR:"Costa Rica",CI:["Cote d'Ivoire","Côte d'Ivoire"],HR:"Croatia",CU:"Cuba",CY:"Cyprus",CZ:"Cộng hòa Séc",DK:"Đan Mạch",DJ:"Djibouti",DM:"Dominica",DO:"Cộng hòa Dominica",EC:"Ecuador",EG:"Ai Cập",SV:"El Salvador",GQ:"Equatorial Guinea",ER:"Eritrea",EE:"Estonia",ET:"Ethiopia",FK:"Quần đảo Falkland (Malvinas)",FO:"Quần đảo Faroe",FJ:"Fiji",FI:"Phần Lan",FR:"Pháp",GF:"Guyane thuộc Pháp",PF:"Polynésie thuộc Pháp",TF:"Vùng đất phía Nam và châu Nam Cực thuộc Pháp",GA:"Gabon",GM:"Gambia",GE:"Georgia",DE:"Đức",GH:"Ghana",GI:"Gibraltar",GR:"Hy Lạp",GL:"Greenland",GD:"Grenada",GP:"Guadeloupe",GU:"Guam",GT:"Guatemala",GN:"Guinea",GW:"Guinea-Bissau",GY:"Guyana",HT:"Haiti",HM:"Đảo Heard và Quần đảo Mcdonald",VA:"Tòa Thánh (Thành phố Vatican)",HN:"Honduras",HK:"Hồng Kông",HU:"Hungary",IS:"Iceland",IN:"Ấn Độ",ID:"Indonesia",IR:"Cộng hòa Hồi giáo Iran",IQ:"Iraq",IE:"Ireland",IL:"Israel",IT:"Ý",JM:"Jamaica",JP:"Nhật Bản",JO:"Jordan",KZ:"Kazakhstan",KE:"Kenya",KI:"Kiribati",KP:"Triều Tiên",KR:"Hàn Quốc",KW:"Cô-oét",KG:"Kyrgyzstan",LA:"Cộng hòa Dân chủ nhân dân Lào",LV:"Latvia",LB:"Lebanon",LS:"Lesotho",LR:"Liberia",LY:"Libya",LI:"Liechtenstein",LT:"Lithuania",LU:"Luxembourg",MO:"Ma Cao",MK:"Bắc Macedonia",MG:"Madagascar",MW:"Malawi",MY:"Bán đảo Mã Lai",MV:"Maldives",ML:"Mali",MT:"Malta",MH:"Quần đảo Marshall",MQ:"Martinique",MR:"Mauritania",MU:"Mauritius",YT:"Mayotte",MX:"Mexico",FM:"Liên bang Micronesia",MD:"Cộng hoà Moldova",MC:"Monaco",MN:"Mông Cổ",MS:"Montserrat",MA:"Ma-rốc",MZ:"Mozambique",MM:"Myanmar",NA:"Namibia",NR:"Nauru",NP:"Nepal",NL:"Hà Lan",NC:"New Caledonia",NZ:"New Zealand",NI:"Nicaragua",NE:"Niger",NG:"Nigeria",NU:"Niue",NF:"Đảo Norfolk",MP:"Quần đảo Bắc Mariana",NO:"Na Uy",OM:"Oman",PK:"Pakistan",PW:"Palau",PS:"Lãnh thổ Palestine, bị chiếm đóng",PA:"Panama",PG:"Papua New Guinea",PY:"Paraguay",PE:"Peru",PH:"Philippines",PN:"Pitcairn",PL:"Ba Lan",PT:"Bồ Đào Nha",PR:"Puerto Rico",QA:"Qatar",RE:"Reunion",RO:"Rumani",RU:["Liên bang Nga","Nga"],RW:"Rwanda",SH:"Saint Helena",KN:"Saint Kitts và Nevis",LC:"Saint Lucia",PM:"Saint Pierre và Miquelon",VC:"Saint Vincent và Grenadines",WS:"Samoa",SM:"San Marino",ST:"Sao Tome và Principe",SA:"Saudi Arabia",SN:"Senegal",SC:"Seychelles",SL:"Sierra Leone",SG:"Singapore",SK:"Slovakia",SI:"Slovenia",SB:"Quần đảo Solomon",SO:"Somalia",ZA:"Nam Phi",GS:"Nam Georgia và Quần đảo Nam Sandwich",ES:"Tây Ban Nha",LK:"Sri Lanka",SD:"Sudan",SR:"Suriname",SJ:"Svalbard và Jan Mayen",SZ:"Eswatini",SE:"Thụy Điển",CH:"Thụy Sĩ",SY:"Cộng Hòa Arab Syrian",TW:"Đài Loan",TJ:"Tajikistan",TZ:"Cộng hòa Thống nhất Tanzania",TH:"Thái Lan",TL:"Timor-Leste",TG:"Togo",TK:"Tokelau",TO:"Tonga",TT:"Trinidad và Tobago",TN:"Tunisia",TR:"Thổ Nhĩ Kỳ",TM:"Turkmenistan",TC:"Quần đảo Turks và Caicos",TV:"Tuvalu",UG:"Uganda",UA:"Ukraine",AE:"Các Tiểu Vương Quốc Ả Rập Thống Nhất",GB:"Vương quốc Anh",US:["Hợp chủng quốc Hoa Kỳ","Mỹ"],UM:"Quần đảo nhỏ hẻo lánh của Hoa Kỳ",UY:"Uruguay",UZ:"Uzbekistan",VU:"Vanuatu",VE:"Venezuela",VN:"Việt Nam",VG:"Quần đảo Virgin, Anh",VI:"Quần đảo Virgin, Hoa Kỳ",WF:"Lãnh thổ quần đảo Wallis và Futuna",EH:"Tây Sahara",YE:"Yemen",ZM:"Zambia",ZW:"Zimbabwe",AX:"Quần đảo Aland",BQ:"Bonaire, Sint Eustatius và Saba",CW:"Curaçao",GG:"Guernsey",IM:"Đảo Man",JE:"Jersey",ME:"Montenegro",BL:"Saint Barthélemy",MF:"Saint Martin (phần Pháp)",RS:"Serbia",SX:"Sint Maarten (phần Hà Lan)",SS:"Nam Sudan",XK:"Kosovo"},i={locale:a,countries:n};export{n as countries,i as default,a as locale}; diff --git a/docs/storybook/assets/zh-f1b44971.js b/docs/storybook/assets/zh-f1b44971.js deleted file mode 100644 index eff6e97..0000000 --- a/docs/storybook/assets/zh-f1b44971.js +++ /dev/null @@ -1 +0,0 @@ -const M="zh",S={AD:"安道尔",AE:"阿联酋",AF:"阿富汗",AG:"安提瓜和巴布达",AI:"安圭拉",AL:"阿尔巴尼亚",AM:"亚美尼亚",AO:"安哥拉",AQ:"南极洲",AR:"阿根廷",AS:"美属萨摩亚",AT:"奥地利",AU:"澳大利亚",AW:"阿鲁巴",AX:"奥兰",AZ:"阿塞拜疆",BA:"波黑",BB:"巴巴多斯",BD:"孟加拉国",BE:"比利时",BF:"布基纳法索",BG:"保加利亚",BH:"巴林",BI:"布隆迪",BJ:"贝宁",BL:"圣巴泰勒米",BM:"百慕大",BN:"文莱",BO:"玻利维亚",BQ:"荷兰加勒比区",BR:"巴西",BS:"巴哈马",BT:"不丹",BV:"布韦岛",BW:"博茨瓦纳",BY:"白俄罗斯",BZ:"伯利兹",CA:"加拿大",CC:"科科斯(基林)群岛",CD:"刚果(金)",CF:"中非",CG:"刚果(布)",CH:"瑞士",CI:"科特迪瓦",CK:"库克群岛",CL:"智利",CM:"喀麦隆",CN:"中国",CO:"哥伦比亚",CR:"哥斯达黎加",CU:"古巴",CV:"佛得角",CW:"库拉索",CX:"圣诞岛",CY:"塞浦路斯",CZ:"捷克",DE:"德国",DJ:"吉布提",DK:"丹麦",DM:"多米尼克",DO:"多米尼加",DZ:"阿尔及利亚",EC:"厄瓜多尔",EE:"爱沙尼亚",EG:"埃及",EH:"阿拉伯撒哈拉民主共和国",ER:"厄立特里亚",ES:"西班牙",ET:"埃塞俄比亚",FI:"芬兰",FJ:"斐济",FK:"福克兰群岛",FM:"密克罗尼西亚联邦",FO:"法罗群岛",FR:"法国",GA:"加蓬",GB:"英国",GD:"格林纳达",GE:"格鲁吉亚",GF:"法属圭亚那",GG:"根西",GH:"加纳",GI:"直布罗陀",GL:"格陵兰",GM:"冈比亚",GN:"几内亚",GP:"瓜德罗普",GQ:"赤道几内亚",GR:"希腊",GS:"南乔治亚和南桑威奇群岛",GT:"危地马拉",GU:"关岛",GW:"几内亚比绍",GY:"圭亚那",HK:"香港",HM:"赫德岛和麦克唐纳群岛",HN:"洪都拉斯",HR:"克罗地亚",HT:"海地",HU:"匈牙利",ID:"印尼",IE:"爱尔兰",IL:"以色列",IM:"马恩岛",IN:"印度",IO:"英属印度洋领地",IQ:"伊拉克",IR:"伊朗",IS:"冰岛",IT:"意大利",JE:"泽西",JM:"牙买加",JO:"约旦",JP:"日本",KE:"肯尼亚",KG:"吉尔吉斯斯坦",KH:"柬埔寨",KI:"基里巴斯",KM:"科摩罗",KN:"圣基茨和尼维斯",KP:"朝鲜",KR:"韩国",KW:"科威特",KY:"开曼群岛",KZ:"哈萨克斯坦",LA:"老挝",LB:"黎巴嫩",LC:"圣卢西亚",LI:"列支敦士登",LK:"斯里兰卡",LR:"利比里亚",LS:"莱索托",LT:"立陶宛",LU:"卢森堡",LV:"拉脱维亚",LY:"利比亚",MA:"摩洛哥",MC:"摩纳哥",MD:"摩尔多瓦",ME:"黑山",MF:"法属圣马丁",MG:"马达加斯加",MH:"马绍尔群岛",MK:"北马其顿",ML:"马里",MM:"缅甸",MN:"蒙古",MO:"澳门",MP:"北马里亚纳群岛",MQ:"马提尼克",MR:"毛里塔尼亚",MS:"蒙特塞拉特",MT:"马耳他",MU:"毛里求斯",MV:"马尔代夫",MW:"马拉维",MX:"墨西哥",MY:"马来西亚",MZ:"莫桑比克",NA:"纳米比亚",NC:"新喀里多尼亚",NE:"尼日尔",NF:"诺福克岛",NG:"尼日利亚",NI:"尼加拉瓜",NL:"荷兰",NO:"挪威",NP:"尼泊尔",NR:"瑙鲁",NU:"纽埃",NZ:"新西兰",OM:"阿曼",PA:"巴拿马",PE:"秘鲁",PF:"法属波利尼西亚",PG:"巴布亚新几内亚",PH:"菲律宾",PK:"巴基斯坦",PL:"波兰",PM:"圣皮埃尔和密克隆",PN:"皮特凯恩群岛",PR:"波多黎各",PS:"巴勒斯坦",PT:"葡萄牙",PW:"帕劳",PY:"巴拉圭",QA:"卡塔尔",RE:"留尼汪",RO:"罗马尼亚",RS:"塞尔维亚",RU:"俄罗斯",RW:"卢旺达",SA:"沙特阿拉伯",SB:"所罗门群岛",SC:"塞舌尔",SD:"苏丹",SE:"瑞典",SG:"新加坡",SH:"圣赫勒拿、阿森松和特里斯坦-达库尼亚",SI:"斯洛文尼亚",SJ:"斯瓦尔巴和扬马延",SK:"斯洛伐克",SL:"塞拉利昂",SM:"圣马力诺",SN:"塞内加尔",SO:"索马里",SR:"苏里南",SS:"南苏丹",ST:"圣多美和普林西比",SV:"萨尔瓦多",SX:"荷属圣马丁",SY:"叙利亚",SZ:"斯威士兰",TC:"特克斯和凯科斯群岛",TD:"乍得",TF:"法属南部领地",TG:"多哥",TH:"泰国",TJ:"塔吉克斯坦",TK:"托克劳",TL:"东帝汶",TM:"土库曼斯坦",TN:"突尼斯",TO:"汤加",TR:"土耳其",TT:"特立尼达和多巴哥",TV:"图瓦卢",TW:"中国台湾省",TZ:"坦桑尼亚",UA:"乌克兰",UG:"乌干达",UM:"美国本土外小岛屿",US:"美国",UY:"乌拉圭",UZ:"乌兹别克斯坦",VA:"梵蒂冈",VC:"圣文森特和格林纳丁斯",VE:"委内瑞拉",VG:"英属维尔京群岛",VI:"美属维尔京群岛",VN:"越南",VU:"瓦努阿图",WF:"瓦利斯和富图纳",WS:"萨摩亚",XK:"科索沃",YE:"也门",YT:"马约特",ZA:"南非",ZM:"赞比亚",ZW:"津巴布韦"},G={locale:M,countries:S};export{S as countries,G as default,M as locale}; diff --git a/docs/storybook/favicon.svg b/docs/storybook/favicon.svg deleted file mode 100644 index 571f90f..0000000 --- a/docs/storybook/favicon.svg +++ /dev/null @@ -1 +0,0 @@ -<svg xmlns="http://www.w3.org/2000/svg" xmlns:svgjs="http://svgjs.com/svgjs" xmlns:xlink="http://www.w3.org/1999/xlink" width="164" height="164" version="1.1"><svg xmlns="http://www.w3.org/2000/svg" width="164" height="164" fill="none" viewBox="0 0 164 164"><path fill="#FF4785" d="M22.467 147.762 17.5 15.402a8.062 8.062 0 0 1 7.553-8.35L137.637.016a8.061 8.061 0 0 1 8.565 8.047v144.23a8.063 8.063 0 0 1-8.424 8.054l-107.615-4.833a8.062 8.062 0 0 1-7.695-7.752Z"/><path fill="#fff" fill-rule="evenodd" d="m128.785.57-15.495.968-.755 18.172a1.203 1.203 0 0 0 1.928 1.008l7.06-5.354 5.962 4.697a1.202 1.202 0 0 0 1.946-.987L128.785.569Zm-12.059 60.856c-2.836 2.203-23.965 3.707-23.965.57.447-11.969-4.912-12.494-7.889-12.494-2.828 0-7.59.855-7.59 7.267 0 6.534 6.96 10.223 15.13 14.553 11.607 6.15 25.654 13.594 25.654 32.326 0 17.953-14.588 27.871-33.194 27.871-19.201 0-35.981-7.769-34.086-34.702.744-3.163 25.156-2.411 25.156 0-.298 11.114 2.232 14.383 8.633 14.383 4.912 0 7.144-2.708 7.144-7.267 0-6.9-7.252-10.973-15.595-15.657C64.827 81.933 51.53 74.468 51.53 57.34c0-17.098 11.76-28.497 32.747-28.497 20.988 0 32.449 11.224 32.449 32.584Z" clip-rule="evenodd"/></svg><style>@media (prefers-color-scheme:light){:root{filter:none}}</style></svg> \ No newline at end of file diff --git a/docs/storybook/iframe.html b/docs/storybook/iframe.html deleted file mode 100644 index e716621..0000000 --- a/docs/storybook/iframe.html +++ /dev/null @@ -1,667 +0,0 @@ -<!doctype html> -<!--suppress HtmlUnknownTarget --> -<html lang="en"> - <head> - <meta charset="utf-8" /> - <title>Storybook - - - - - - - - - - - - - - - -
-
-
- -
-
-
-
-
-
-
-
-
-
-
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
-
-

No Preview

-

Sorry, but you either have no stories or none are selected somehow.

-
    -
  • Please check the Storybook config.
  • -
  • Try reloading the page.
  • -
-

- If the problem persists, check the browser console, or the terminal you've run Storybook from. -

-
-
- -
-
-

-

- The component failed to render properly, likely due to a configuration issue in Storybook. - Here are some common causes and how you can address them: -

-
    -
  1. - Missing Context/Providers: You can use decorators to supply specific - contexts or providers, which are sometimes necessary for components to render correctly. For - detailed instructions on using decorators, please visit the - Decorators documentation. -
  2. -
  3. - Misconfigured Webpack or Vite: Verify that Storybook picks up all necessary - settings for loaders, plugins, and other relevant parameters. You can find step-by-step - guides for configuring - Webpack or - Vite - with Storybook. -
  4. -
  5. - Missing Environment Variables: Your Storybook may require specific - environment variables to function as intended. You can set up custom environment variables - as outlined in the - Environment Variables documentation. -
  6. -
-
-
-
- -
-
- - - - diff --git a/docs/storybook/index.html b/docs/storybook/index.html deleted file mode 100644 index 7df12f6..0000000 --- a/docs/storybook/index.html +++ /dev/null @@ -1,181 +0,0 @@ - - - - - - @storybook/core - Storybook - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - - - - - - - \ No newline at end of file diff --git a/docs/storybook/index.json b/docs/storybook/index.json deleted file mode 100644 index cd23a01..0000000 --- a/docs/storybook/index.json +++ /dev/null @@ -1 +0,0 @@ -{"v":5,"entries":{"core-copytoclipboardinput--default":{"type":"story","id":"core-copytoclipboardinput--default","name":"Default","title":"Core/CopyToClipboardInput","importPath":"./src/ui/components/CopyToClipboardInput/CopyToClipboardInput.stories.tsx","componentPath":"./src/ui/components/CopyToClipboardInput/CopyToClipboardInput.tsx","tags":["dev","test"]},"core-dateinput--only-date":{"type":"story","id":"core-dateinput--only-date","name":"Only Date","title":"Core/DateInput","importPath":"./src/ui/components/DateInput/DateInput.stories.tsx","tags":["dev","test"]},"core-dateinput--date-with-time":{"type":"story","id":"core-dateinput--date-with-time","name":"Date With Time","title":"Core/DateInput","importPath":"./src/ui/components/DateInput/DateInput.stories.tsx","tags":["dev","test"]},"core-dateinput--with-error":{"type":"story","id":"core-dateinput--with-error","name":"With Error","title":"Core/DateInput","importPath":"./src/ui/components/DateInput/DateInput.stories.tsx","tags":["dev","test"]},"core-divider--horizontal-divider-story":{"type":"story","id":"core-divider--horizontal-divider-story","name":"Horizontal Divider Story","title":"Core/Divider","importPath":"./src/ui/components/Divider/HorizontalDivider.stories.tsx","tags":["dev","test"]},"core-divider--vertical-divider-story":{"type":"story","id":"core-divider--vertical-divider-story","name":"Vertical Divider Story","title":"Core/Divider","importPath":"./src/ui/components/Divider/VerticalDivider.stories.tsx","tags":["dev","test"]},"core-externaliconlink--default":{"type":"story","id":"core-externaliconlink--default","name":"Default","title":"Core/ExternalIconLink","importPath":"./src/ui/components/ExternalIconLink/ExternalIconLink.stories.tsx","componentPath":"./src/ui/components/ExternalIconLink/ExternalIconLink.tsx","tags":["dev","test"]},"core-infinite--observer-div":{"type":"story","id":"core-infinite--observer-div","name":"Observer Div","title":"Core/Infinite","importPath":"./src/ui/components/Infinite/Infinite.stories.tsx","tags":["dev","test"]},"core-infinite--example":{"type":"story","id":"core-infinite--example","name":"Example","title":"Core/Infinite","importPath":"./src/ui/components/Infinite/Infinite.stories.tsx","tags":["dev","test"]},"core-infinite--example-reversed":{"type":"story","id":"core-infinite--example-reversed","name":"Example Reversed","title":"Core/Infinite","importPath":"./src/ui/components/Infinite/Infinite.stories.tsx","tags":["dev","test"]},"core-infinite--example-reversed-with-offset":{"type":"story","id":"core-infinite--example-reversed-with-offset","name":"Example Reversed With Offset","title":"Core/Infinite","importPath":"./src/ui/components/Infinite/Infinite.stories.tsx","tags":["dev","test"]},"core-infinite--example-with-side-effect":{"type":"story","id":"core-infinite--example-with-side-effect","name":"Example With Side Effect","title":"Core/Infinite","importPath":"./src/ui/components/Infinite/Infinite.stories.tsx","tags":["dev","test"]},"core-intlphoneinput--default":{"type":"story","id":"core-intlphoneinput--default","name":"Default","title":"Core/IntlPhoneInput","importPath":"./src/ui/components/IntlPhoneInput/IntlPhoneInput.stories.tsx","tags":["dev","test"]},"core-link--default":{"type":"story","id":"core-link--default","name":"Default","title":"Core/Link","importPath":"./src/ui/components/Link/Link.stories.tsx","tags":["dev","test"]},"core-link--example-with-title":{"type":"story","id":"core-link--example-with-title","name":"Example With Title","title":"Core/Link","importPath":"./src/ui/components/Link/Link.stories.tsx","tags":["dev","test"]},"core-member--default":{"type":"story","id":"core-member--default","name":"Default","title":"Core/Member","importPath":"./src/ui/components/Member/Member.stories.tsx","tags":["dev","test"]},"core-member--without-avatar":{"type":"story","id":"core-member--without-avatar","name":"Without Avatar","title":"Core/Member","importPath":"./src/ui/components/Member/Member.stories.tsx","tags":["dev","test"]},"core-member--with-custom-icon":{"type":"story","id":"core-member--with-custom-icon","name":"With Custom Icon","title":"Core/Member","importPath":"./src/ui/components/Member/Member.stories.tsx","tags":["dev","test"]},"core-member--list-of-members":{"type":"story","id":"core-member--list-of-members","name":"List Of Members","title":"Core/Member","importPath":"./src/ui/components/Member/Member.stories.tsx","tags":["dev","test"]},"core-property--property":{"type":"story","id":"core-property--property","name":"Property","title":"Core/Property","importPath":"./src/ui/components/Property/__stories__/Property.stories.tsx","componentPath":"./src/ui/components/Property/Property.tsx","tags":["dev","test"]},"core-property--property-row":{"type":"story","id":"core-property--property-row","name":"Property Row","title":"Core/Property","importPath":"./src/ui/components/Property/__stories__/PropertyRow.stories.tsx","componentPath":"./src/ui/components/Property/PropertyRow.tsx","tags":["dev","test"]},"core-property--two-properties":{"type":"story","id":"core-property--two-properties","name":"Two Properties","title":"Core/Property","importPath":"./src/ui/components/Property/__stories__/TwoProperties.stories.tsx","componentPath":"./src/ui/components/Property/TwoProperties.tsx","tags":["dev","test"]},"core-search--default":{"type":"story","id":"core-search--default","name":"Default","title":"Core/Search","importPath":"./src/ui/components/Search/Search.stories.tsx","componentPath":"./src/ui/components/Search/Search.tsx","tags":["dev","test"]},"core-search--auto-focus":{"type":"story","id":"core-search--auto-focus","name":"Auto Focus","title":"Core/Search","importPath":"./src/ui/components/Search/Search.stories.tsx","componentPath":"./src/ui/components/Search/Search.tsx","tags":["dev","test"]},"core-section--default":{"type":"story","id":"core-section--default","name":"Default","title":"Core/Section","importPath":"./src/ui/components/Section/Section.stories.tsx","tags":["dev","test"]},"core-select--single-select":{"type":"story","id":"core-select--single-select","name":"Single Select","title":"Core/Select","importPath":"./src/ui/components/Select/__stories__/Select.stories.tsx","tags":["dev","test"]},"core-select--passing-value":{"type":"story","id":"core-select--passing-value","name":"Passing Value","title":"Core/Select","importPath":"./src/ui/components/Select/__stories__/Select.stories.tsx","tags":["dev","test"]},"core-select--multiply-select":{"type":"story","id":"core-select--multiply-select","name":"Multiply Select","title":"Core/Select","importPath":"./src/ui/components/Select/__stories__/Select.stories.tsx","tags":["dev","test"]},"core-select--disabled":{"type":"story","id":"core-select--disabled","name":"Disabled","title":"Core/Select","importPath":"./src/ui/components/Select/__stories__/Select.stories.tsx","tags":["dev","test"]},"core-select--custom-labels":{"type":"story","id":"core-select--custom-labels","name":"Custom Labels","title":"Core/Select","importPath":"./src/ui/components/Select/__stories__/Select.stories.tsx","tags":["dev","test"]},"core-select--multiply-long-items":{"type":"story","id":"core-select--multiply-long-items","name":"Multiply Long Items","title":"Core/Select","importPath":"./src/ui/components/Select/__stories__/Select.stories.tsx","tags":["dev","test"]},"core-select--without-options":{"type":"story","id":"core-select--without-options","name":"Without Options","title":"Core/Select","importPath":"./src/ui/components/Select/__stories__/Select.stories.tsx","tags":["dev","test"]},"core-select--with-children":{"type":"story","id":"core-select--with-children","name":"With Children","title":"Core/Select","importPath":"./src/ui/components/Select/__stories__/Select.stories.tsx","tags":["dev","test"]},"core-select--handle-changed-value":{"type":"story","id":"core-select--handle-changed-value","name":"Handle Changed Value","title":"Core/Select","importPath":"./src/ui/components/Select/__stories__/Select.stories.tsx","tags":["dev","test"]},"core-spinner--spinners":{"type":"story","id":"core-spinner--spinners","name":"Spinners","title":"Core/Spinner","importPath":"./src/ui/components/Spinner/Spinner.stories.tsx","componentPath":"./src/ui/components/Spinner/Spinner.tsx","tags":["dev","test"]},"core-title--default":{"type":"story","id":"core-title--default","name":"Default","title":"Core/Title","importPath":"./src/ui/components/Title/Title.stories.tsx","componentPath":"./src/ui/components/Title/Title.tsx","tags":["dev","test"]},"core-twobuttongroup--default":{"type":"story","id":"core-twobuttongroup--default","name":"Default","title":"Core/TwoButtonGroup","importPath":"./src/ui/components/TwoButtonGroup/TwoButtonGroup.stories.tsx","componentPath":"./src/ui/components/TwoButtonGroup/TwoButtonGroup.tsx","tags":["dev","test"]}}} \ No newline at end of file diff --git a/docs/storybook/nunito-sans-bold-italic.woff2 b/docs/storybook/nunito-sans-bold-italic.woff2 deleted file mode 100644 index 33563d8..0000000 Binary files a/docs/storybook/nunito-sans-bold-italic.woff2 and /dev/null differ diff --git a/docs/storybook/nunito-sans-bold.woff2 b/docs/storybook/nunito-sans-bold.woff2 deleted file mode 100644 index 19fcc94..0000000 Binary files a/docs/storybook/nunito-sans-bold.woff2 and /dev/null differ diff --git a/docs/storybook/nunito-sans-italic.woff2 b/docs/storybook/nunito-sans-italic.woff2 deleted file mode 100644 index 827096d..0000000 Binary files a/docs/storybook/nunito-sans-italic.woff2 and /dev/null differ diff --git a/docs/storybook/nunito-sans-regular.woff2 b/docs/storybook/nunito-sans-regular.woff2 deleted file mode 100644 index c527ba4..0000000 Binary files a/docs/storybook/nunito-sans-regular.woff2 and /dev/null differ diff --git a/docs/storybook/project.json b/docs/storybook/project.json deleted file mode 100644 index 5c045a9..0000000 --- a/docs/storybook/project.json +++ /dev/null @@ -1 +0,0 @@ -{"generatedAt":1744881677682,"hasCustomBabel":false,"hasCustomWebpack":false,"hasStaticDirs":false,"hasStorybookEslint":true,"refCount":0,"testPackages":{"@types/jest":"29.5.14","jest":"29.7.0","jest-environment-jsdom":"29.7.0"},"hasRouterPackage":false,"packageManager":{"type":"pnpm","agent":"pnpm"},"typescriptOptions":{"reactDocgen":"react-docgen-typescript"},"preview":{"usesGlobals":false},"framework":{"name":"@storybook/react-vite","options":{}},"builder":"@storybook/builder-vite","renderer":"@storybook/react","portableStoriesFileCount":3,"applicationFileCount":0,"storybookVersion":"8.6.12","storybookVersionSpecifier":"^8.6.12","language":"typescript","storybookPackages":{"@storybook/blocks":{"version":"8.6.12"},"@storybook/react":{"version":"8.6.12"},"@storybook/react-vite":{"version":"8.6.12"},"@storybook/test":{"version":"8.6.12"},"eslint-plugin-storybook":{"version":"0.8.0"},"storybook":{"version":"8.6.12"}},"addons":{"@storybook/addon-links":{"version":"8.6.12"},"@storybook/addon-actions":{"version":"8.6.12"},"@storybook/addon-essentials":{"version":"8.6.12"},"@storybook/addon-onboarding":{"version":"8.6.12"},"@storybook/addon-interactions":{"version":"8.6.12"}}} \ No newline at end of file diff --git a/docs/storybook/sb-addons/actions-2/manager-bundle.js b/docs/storybook/sb-addons/actions-2/manager-bundle.js deleted file mode 100644 index 4af9d21..0000000 --- a/docs/storybook/sb-addons/actions-2/manager-bundle.js +++ /dev/null @@ -1,3 +0,0 @@ -try{ -(()=>{var o=__REACT__,{Children:Te,Component:_e,Fragment:ve,Profiler:Jr,PureComponent:qr,StrictMode:Xr,Suspense:Zr,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:Kr,cloneElement:Qr,createContext:Z,createElement:en,createFactory:tn,createRef:rn,forwardRef:Se,isValidElement:nn,lazy:an,memo:U,startTransition:on,unstable_act:sn,useCallback:x,useContext:K,useDebugValue:ln,useDeferredValue:un,useEffect:Re,useId:cn,useImperativeHandle:pn,useInsertionEffect:fn,useLayoutEffect:Ae,useMemo:Ce,useReducer:dn,useRef:Ne,useState:j,useSyncExternalStore:mn,useTransition:gn,version:bn}=__REACT__;var Tn=__STORYBOOK_COMPONENTS__,{A:_n,ActionBar:we,AddonPanel:vn,Badge:xe,Bar:Sn,Blockquote:Rn,Button:An,ClipboardCode:Cn,Code:Nn,DL:wn,Div:xn,DocumentWrapper:Ln,EmptyTabContent:In,ErrorFormatter:Dn,FlexBar:Mn,Form:Pn,H1:Bn,H2:Fn,H3:Hn,H4:zn,H5:Un,H6:jn,HR:kn,IconButton:Gn,IconButtonSkeleton:Wn,Icons:Vn,Img:$n,LI:Yn,Link:Jn,ListItem:qn,Loader:Xn,Modal:Zn,OL:Kn,P:Qn,Placeholder:ea,Pre:ta,ProgressSpinner:ra,ResetWrapper:na,ScrollArea:Le,Separator:aa,Spaced:Ie,Span:oa,StorybookIcon:ia,StorybookLogo:sa,Symbols:la,SyntaxHighlighter:ua,TT:ca,TabBar:pa,TabButton:fa,TabWrapper:da,Table:ma,Tabs:ga,TabsState:ba,TooltipLinkList:ha,TooltipMessage:Ea,TooltipNote:ya,UL:Oa,WithTooltip:Ta,WithTooltipPure:_a,Zoom:va,codeCommon:Sa,components:Ra,createCopyToClipboardFunction:Aa,getStoryHref:Ca,icons:Na,interleaveSeparators:wa,nameSpaceClassNames:xa,resetComponents:La,withReset:Ia}=__STORYBOOK_COMPONENTS__;var Fa=__STORYBOOK_CORE_EVENTS__,{ARGTYPES_INFO_REQUEST:Ha,ARGTYPES_INFO_RESPONSE:za,CHANNEL_CREATED:Ua,CHANNEL_WS_DISCONNECT:ja,CONFIG_ERROR:ka,CREATE_NEW_STORYFILE_REQUEST:Ga,CREATE_NEW_STORYFILE_RESPONSE:Wa,CURRENT_STORY_WAS_SET:Va,DOCS_PREPARED:$a,DOCS_RENDERED:Ya,FILE_COMPONENT_SEARCH_REQUEST:Ja,FILE_COMPONENT_SEARCH_RESPONSE:qa,FORCE_REMOUNT:Xa,FORCE_RE_RENDER:Za,GLOBALS_UPDATED:Ka,NAVIGATE_URL:Qa,PLAY_FUNCTION_THREW_EXCEPTION:eo,PRELOAD_ENTRIES:to,PREVIEW_BUILDER_PROGRESS:ro,PREVIEW_KEYDOWN:no,REGISTER_SUBSCRIPTION:ao,REQUEST_WHATS_NEW_DATA:oo,RESET_STORY_ARGS:io,RESULT_WHATS_NEW_DATA:so,SAVE_STORY_REQUEST:lo,SAVE_STORY_RESPONSE:uo,SELECT_STORY:co,SET_CONFIG:po,SET_CURRENT_STORY:fo,SET_FILTER:mo,SET_GLOBALS:go,SET_INDEX:bo,SET_STORIES:ho,SET_WHATS_NEW_CACHE:Eo,SHARED_STATE_CHANGED:yo,SHARED_STATE_SET:Oo,STORIES_COLLAPSE_ALL:To,STORIES_EXPAND_ALL:_o,STORY_ARGS_UPDATED:vo,STORY_CHANGED:k,STORY_ERRORED:So,STORY_FINISHED:Ro,STORY_INDEX_INVALIDATED:Ao,STORY_MISSING:Co,STORY_PREPARED:No,STORY_RENDERED:wo,STORY_RENDER_PHASE_CHANGED:xo,STORY_SPECIFIED:Lo,STORY_THREW_EXCEPTION:Io,STORY_UNCHANGED:Do,TELEMETRY_ERROR:Mo,TESTING_MODULE_CANCEL_TEST_RUN_REQUEST:Po,TESTING_MODULE_CANCEL_TEST_RUN_RESPONSE:Bo,TESTING_MODULE_CRASH_REPORT:Fo,TESTING_MODULE_PROGRESS_REPORT:Ho,TESTING_MODULE_RUN_ALL_REQUEST:zo,TESTING_MODULE_RUN_REQUEST:Uo,TOGGLE_WHATS_NEW_NOTIFICATIONS:jo,UNHANDLED_ERRORS_WHILE_PLAYING:ko,UPDATE_GLOBALS:Go,UPDATE_QUERY_PARAMS:Wo,UPDATE_STORY_ARGS:Vo}=__STORYBOOK_CORE_EVENTS__;var ti=__STORYBOOK_API__,{ActiveTabs:ri,Consumer:ni,ManagerContext:ai,Provider:oi,RequestResponseError:ii,addons:Q,combineParameters:si,controlOrMetaKey:li,controlOrMetaSymbol:ui,eventMatchesShortcut:ci,eventToShortcut:pi,experimental_MockUniversalStore:fi,experimental_UniversalStore:di,experimental_requestResponse:mi,experimental_useUniversalStore:gi,isMacLike:bi,isShortcutTaken:hi,keyToSymbol:Ei,merge:yi,mockChannel:Oi,optionOrAltSymbol:Ti,shortcutMatchesShortcut:_i,shortcutToHumanString:vi,types:De,useAddonState:Me,useArgTypes:Si,useArgs:Ri,useChannel:Pe,useGlobalTypes:Ai,useGlobals:Ci,useParameter:Ni,useSharedState:wi,useStoryPrepared:xi,useStorybookApi:Li,useStorybookState:Ii}=__STORYBOOK_API__;var Be=Object.prototype.hasOwnProperty;function Fe(e,t,r){for(r of e.keys())if(L(r,t))return r}function L(e,t){var r,n,a;if(e===t)return!0;if(e&&t&&(r=e.constructor)===t.constructor){if(r===Date)return e.getTime()===t.getTime();if(r===RegExp)return e.toString()===t.toString();if(r===Array){if((n=e.length)===t.length)for(;n--&&L(e[n],t[n]););return n===-1}if(r===Set){if(e.size!==t.size)return!1;for(n of e)if(a=n,a&&typeof a=="object"&&(a=Fe(t,a),!a)||!t.has(a))return!1;return!0}if(r===Map){if(e.size!==t.size)return!1;for(n of e)if(a=n[0],a&&typeof a=="object"&&(a=Fe(t,a),!a)||!L(n[1],t.get(a)))return!1;return!0}if(r===ArrayBuffer)e=new Uint8Array(e),t=new Uint8Array(t);else if(r===DataView){if((n=e.byteLength)===t.byteLength)for(;n--&&e.getInt8(n)===t.getInt8(n););return n===-1}if(ArrayBuffer.isView(e)){if((n=e.byteLength)===t.byteLength)for(;n--&&e[n]===t[n];);return n===-1}if(!r||typeof e=="object"){n=0;for(r in e)if(Be.call(e,r)&&++n&&!Be.call(t,r)||!(r in t)||!L(e[r],t[r]))return!1;return Object.keys(t).length===n}}return e!==e&&t!==t}var ji=__STORYBOOK_THEMING__,{CacheProvider:ki,ClassNames:Gi,Global:Wi,ThemeProvider:Vi,background:$i,color:Yi,convert:Ji,create:qi,createCache:Xi,createGlobal:Zi,createReset:Ki,css:Qi,darken:es,ensure:ts,ignoreSsrWarning:rs,isPropValid:ns,jsx:as,keyframes:os,lighten:is,styled:B,themes:ss,typography:ls,useTheme:us,withTheme:He}=__STORYBOOK_THEMING__;function T(){return T=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0&&a<1?(l=i,u=s):a>=1&&a<2?(l=s,u=i):a>=2&&a<3?(u=i,c=s):a>=3&&a<4?(u=s,c=i):a>=4&&a<5?(l=s,c=i):a>=5&&a<6&&(l=i,c=s);var p=r-i/2,d=l+p,f=u+p,E=c+p;return n(d,f,E)}var Ve={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"00ffff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"0000ff",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"00ffff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"ff00ff",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"639",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"};function mt(e){if(typeof e!="string")return e;var t=e.toLowerCase();return Ve[t]?"#"+Ve[t]:e}var gt=/^#[a-fA-F0-9]{6}$/,bt=/^#[a-fA-F0-9]{8}$/,ht=/^#[a-fA-F0-9]{3}$/,Et=/^#[a-fA-F0-9]{4}$/,re=/^rgb\(\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*\)$/i,yt=/^rgb(?:a)?\(\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,|\/)\s*([-+]?\d*[.]?\d+[%]?)\s*\)$/i,Ot=/^hsl\(\s*(\d{0,3}[.]?[0-9]+(?:deg)?)\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*\)$/i,Tt=/^hsl(?:a)?\(\s*(\d{0,3}[.]?[0-9]+(?:deg)?)\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,|\/)\s*([-+]?\d*[.]?\d+[%]?)\s*\)$/i;function I(e){if(typeof e!="string")throw new _(3);var t=mt(e);if(t.match(gt))return{red:parseInt(""+t[1]+t[2],16),green:parseInt(""+t[3]+t[4],16),blue:parseInt(""+t[5]+t[6],16)};if(t.match(bt)){var r=parseFloat((parseInt(""+t[7]+t[8],16)/255).toFixed(2));return{red:parseInt(""+t[1]+t[2],16),green:parseInt(""+t[3]+t[4],16),blue:parseInt(""+t[5]+t[6],16),alpha:r}}if(t.match(ht))return{red:parseInt(""+t[1]+t[1],16),green:parseInt(""+t[2]+t[2],16),blue:parseInt(""+t[3]+t[3],16)};if(t.match(Et)){var n=parseFloat((parseInt(""+t[4]+t[4],16)/255).toFixed(2));return{red:parseInt(""+t[1]+t[1],16),green:parseInt(""+t[2]+t[2],16),blue:parseInt(""+t[3]+t[3],16),alpha:n}}var a=re.exec(t);if(a)return{red:parseInt(""+a[1],10),green:parseInt(""+a[2],10),blue:parseInt(""+a[3],10)};var i=yt.exec(t.substring(0,50));if(i)return{red:parseInt(""+i[1],10),green:parseInt(""+i[2],10),blue:parseInt(""+i[3],10),alpha:parseFloat(""+i[4])>1?parseFloat(""+i[4])/100:parseFloat(""+i[4])};var s=Ot.exec(t);if(s){var l=parseInt(""+s[1],10),u=parseInt(""+s[2],10)/100,c=parseInt(""+s[3],10)/100,p="rgb("+F(l,u,c)+")",d=re.exec(p);if(!d)throw new _(4,t,p);return{red:parseInt(""+d[1],10),green:parseInt(""+d[2],10),blue:parseInt(""+d[3],10)}}var f=Tt.exec(t.substring(0,50));if(f){var E=parseInt(""+f[1],10),m=parseInt(""+f[2],10)/100,y=parseInt(""+f[3],10)/100,O="rgb("+F(E,m,y)+")",w=re.exec(O);if(!w)throw new _(4,t,O);return{red:parseInt(""+w[1],10),green:parseInt(""+w[2],10),blue:parseInt(""+w[3],10),alpha:parseFloat(""+f[4])>1?parseFloat(""+f[4])/100:parseFloat(""+f[4])}}throw new _(5)}function _t(e){var t=e.red/255,r=e.green/255,n=e.blue/255,a=Math.max(t,r,n),i=Math.min(t,r,n),s=(a+i)/2;if(a===i)return e.alpha!==void 0?{hue:0,saturation:0,lightness:s,alpha:e.alpha}:{hue:0,saturation:0,lightness:s};var l,u=a-i,c=s>.5?u/(2-a-i):u/(a+i);switch(a){case t:l=(r-n)/u+(r=1?V(e,t,r):"rgba("+F(e,t,r)+","+n+")";if(typeof e=="object"&&t===void 0&&r===void 0&&n===void 0)return e.alpha>=1?V(e.hue,e.saturation,e.lightness):"rgba("+F(e.hue,e.saturation,e.lightness)+","+e.alpha+")";throw new _(2)}function oe(e,t,r){if(typeof e=="number"&&typeof t=="number"&&typeof r=="number")return ae("#"+N(e)+N(t)+N(r));if(typeof e=="object"&&t===void 0&&r===void 0)return ae("#"+N(e.red)+N(e.green)+N(e.blue));throw new _(6)}function $(e,t,r,n){if(typeof e=="string"&&typeof t=="number"){var a=I(e);return"rgba("+a.red+","+a.green+","+a.blue+","+t+")"}else{if(typeof e=="number"&&typeof t=="number"&&typeof r=="number"&&typeof n=="number")return n>=1?oe(e,t,r):"rgba("+e+","+t+","+r+","+n+")";if(typeof e=="object"&&t===void 0&&r===void 0&&n===void 0)return e.alpha>=1?oe(e.red,e.green,e.blue):"rgba("+e.red+","+e.green+","+e.blue+","+e.alpha+")"}throw new _(7)}var Ct=function(t){return typeof t.red=="number"&&typeof t.green=="number"&&typeof t.blue=="number"&&(typeof t.alpha!="number"||typeof t.alpha>"u")},Nt=function(t){return typeof t.red=="number"&&typeof t.green=="number"&&typeof t.blue=="number"&&typeof t.alpha=="number"},wt=function(t){return typeof t.hue=="number"&&typeof t.saturation=="number"&&typeof t.lightness=="number"&&(typeof t.alpha!="number"||typeof t.alpha>"u")},xt=function(t){return typeof t.hue=="number"&&typeof t.saturation=="number"&&typeof t.lightness=="number"&&typeof t.alpha=="number"};function C(e){if(typeof e!="object")throw new _(8);if(Nt(e))return $(e);if(Ct(e))return oe(e);if(xt(e))return At(e);if(wt(e))return Rt(e);throw new _(8)}function Ye(e,t,r){return function(){var a=r.concat(Array.prototype.slice.call(arguments));return a.length>=t?e.apply(this,a):Ye(e,t,a)}}function v(e){return Ye(e,e.length,[])}function Lt(e,t){if(t==="transparent")return t;var r=A(t);return C(T({},r,{hue:r.hue+parseFloat(e)}))}var gl=v(Lt);function D(e,t,r){return Math.max(e,Math.min(t,r))}function It(e,t){if(t==="transparent")return t;var r=A(t);return C(T({},r,{lightness:D(0,1,r.lightness-parseFloat(e))}))}var bl=v(It);function Dt(e,t){if(t==="transparent")return t;var r=A(t);return C(T({},r,{saturation:D(0,1,r.saturation-parseFloat(e))}))}var hl=v(Dt);function Mt(e,t){if(t==="transparent")return t;var r=A(t);return C(T({},r,{lightness:D(0,1,r.lightness+parseFloat(e))}))}var El=v(Mt);function Pt(e,t,r){if(t==="transparent")return r;if(r==="transparent")return t;if(e===0)return r;var n=I(t),a=T({},n,{alpha:typeof n.alpha=="number"?n.alpha:1}),i=I(r),s=T({},i,{alpha:typeof i.alpha=="number"?i.alpha:1}),l=a.alpha-s.alpha,u=parseFloat(e)*2-1,c=u*l===-1?u:u+l,p=1+u*l,d=(c/p+1)/2,f=1-d,E={red:Math.floor(a.red*d+s.red*f),green:Math.floor(a.green*d+s.green*f),blue:Math.floor(a.blue*d+s.blue*f),alpha:a.alpha*parseFloat(e)+s.alpha*(1-parseFloat(e))};return $(E)}var Bt=v(Pt),Je=Bt;function Ft(e,t){if(t==="transparent")return t;var r=I(t),n=typeof r.alpha=="number"?r.alpha:1,a=T({},r,{alpha:D(0,1,(n*100+parseFloat(e)*100)/100)});return $(a)}var Ht=v(Ft),qe=Ht;function zt(e,t){if(t==="transparent")return t;var r=A(t);return C(T({},r,{saturation:D(0,1,r.saturation+parseFloat(e))}))}var yl=v(zt);function Ut(e,t){return t==="transparent"?t:C(T({},A(t),{hue:parseFloat(e)}))}var Ol=v(Ut);function jt(e,t){return t==="transparent"?t:C(T({},A(t),{lightness:parseFloat(e)}))}var Tl=v(jt);function kt(e,t){return t==="transparent"?t:C(T({},A(t),{saturation:parseFloat(e)}))}var _l=v(kt);function Gt(e,t){return t==="transparent"?t:Je(parseFloat(e),"rgb(0, 0, 0)",t)}var vl=v(Gt);function Wt(e,t){return t==="transparent"?t:Je(parseFloat(e),"rgb(255, 255, 255)",t)}var Sl=v(Wt);function Vt(e,t){if(t==="transparent")return t;var r=I(t),n=typeof r.alpha=="number"?r.alpha:1,a=T({},r,{alpha:D(0,1,+(n*100-parseFloat(e)*100).toFixed(2)/100)});return $(a)}var Rl=v(Vt);var $t="actions",z="storybook/actions",Yt=`${z}/panel`,se=`${z}/action-event`,et=`${z}/action-clear`,Jt=Object.create,pe=Object.defineProperty,qt=Object.getOwnPropertyDescriptor,tt=Object.getOwnPropertyNames,Xt=Object.getPrototypeOf,Zt=Object.prototype.hasOwnProperty,fe=(e,t)=>function(){return t||(0,e[tt(e)[0]])((t={exports:{}}).exports,t),t.exports},Kt=(e,t)=>{for(var r in t)pe(e,r,{get:t[r],enumerable:!0})},Qt=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of tt(t))!Zt.call(e,a)&&a!==r&&pe(e,a,{get:()=>t[a],enumerable:!(n=qt(t,a))||n.enumerable});return e},er=(e,t,r)=>(r=e!=null?Jt(Xt(e)):{},Qt(t||!e||!e.__esModule?pe(r,"default",{value:e,enumerable:!0}):r,e)),tr=fe({"node_modules/is-object/index.js"(e,t){t.exports=function(r){return typeof r=="object"&&r!==null}}}),rr=fe({"node_modules/is-window/index.js"(e,t){t.exports=function(r){if(r==null)return!1;var n=Object(r);return n===n.window}}}),nr=fe({"node_modules/is-dom/index.js"(e,t){var r=tr(),n=rr();function a(i){return!r(i)||!n(window)||typeof window.Node!="function"?!1:typeof i.nodeType=="number"&&typeof i.nodeName=="string"}t.exports=a}}),q={};Kt(q,{chromeDark:()=>ar,chromeLight:()=>or});var ar={BASE_FONT_FAMILY:"Menlo, monospace",BASE_FONT_SIZE:"11px",BASE_LINE_HEIGHT:1.2,BASE_BACKGROUND_COLOR:"rgb(36, 36, 36)",BASE_COLOR:"rgb(213, 213, 213)",OBJECT_PREVIEW_ARRAY_MAX_PROPERTIES:10,OBJECT_PREVIEW_OBJECT_MAX_PROPERTIES:5,OBJECT_NAME_COLOR:"rgb(227, 110, 236)",OBJECT_VALUE_NULL_COLOR:"rgb(127, 127, 127)",OBJECT_VALUE_UNDEFINED_COLOR:"rgb(127, 127, 127)",OBJECT_VALUE_REGEXP_COLOR:"rgb(233, 63, 59)",OBJECT_VALUE_STRING_COLOR:"rgb(233, 63, 59)",OBJECT_VALUE_SYMBOL_COLOR:"rgb(233, 63, 59)",OBJECT_VALUE_NUMBER_COLOR:"hsl(252, 100%, 75%)",OBJECT_VALUE_BOOLEAN_COLOR:"hsl(252, 100%, 75%)",OBJECT_VALUE_FUNCTION_PREFIX_COLOR:"rgb(85, 106, 242)",HTML_TAG_COLOR:"rgb(93, 176, 215)",HTML_TAGNAME_COLOR:"rgb(93, 176, 215)",HTML_TAGNAME_TEXT_TRANSFORM:"lowercase",HTML_ATTRIBUTE_NAME_COLOR:"rgb(155, 187, 220)",HTML_ATTRIBUTE_VALUE_COLOR:"rgb(242, 151, 102)",HTML_COMMENT_COLOR:"rgb(137, 137, 137)",HTML_DOCTYPE_COLOR:"rgb(192, 192, 192)",ARROW_COLOR:"rgb(145, 145, 145)",ARROW_MARGIN_RIGHT:3,ARROW_FONT_SIZE:12,ARROW_ANIMATION_DURATION:"0",TREENODE_FONT_FAMILY:"Menlo, monospace",TREENODE_FONT_SIZE:"11px",TREENODE_LINE_HEIGHT:1.2,TREENODE_PADDING_LEFT:12,TABLE_BORDER_COLOR:"rgb(85, 85, 85)",TABLE_TH_BACKGROUND_COLOR:"rgb(44, 44, 44)",TABLE_TH_HOVER_COLOR:"rgb(48, 48, 48)",TABLE_SORT_ICON_COLOR:"black",TABLE_DATA_BACKGROUND_IMAGE:"linear-gradient(rgba(255, 255, 255, 0), rgba(255, 255, 255, 0) 50%, rgba(51, 139, 255, 0.0980392) 50%, rgba(51, 139, 255, 0.0980392))",TABLE_DATA_BACKGROUND_SIZE:"128px 32px"},or={BASE_FONT_FAMILY:"Menlo, monospace",BASE_FONT_SIZE:"11px",BASE_LINE_HEIGHT:1.2,BASE_BACKGROUND_COLOR:"white",BASE_COLOR:"black",OBJECT_PREVIEW_ARRAY_MAX_PROPERTIES:10,OBJECT_PREVIEW_OBJECT_MAX_PROPERTIES:5,OBJECT_NAME_COLOR:"rgb(136, 19, 145)",OBJECT_VALUE_NULL_COLOR:"rgb(128, 128, 128)",OBJECT_VALUE_UNDEFINED_COLOR:"rgb(128, 128, 128)",OBJECT_VALUE_REGEXP_COLOR:"rgb(196, 26, 22)",OBJECT_VALUE_STRING_COLOR:"rgb(196, 26, 22)",OBJECT_VALUE_SYMBOL_COLOR:"rgb(196, 26, 22)",OBJECT_VALUE_NUMBER_COLOR:"rgb(28, 0, 207)",OBJECT_VALUE_BOOLEAN_COLOR:"rgb(28, 0, 207)",OBJECT_VALUE_FUNCTION_PREFIX_COLOR:"rgb(13, 34, 170)",HTML_TAG_COLOR:"rgb(168, 148, 166)",HTML_TAGNAME_COLOR:"rgb(136, 18, 128)",HTML_TAGNAME_TEXT_TRANSFORM:"lowercase",HTML_ATTRIBUTE_NAME_COLOR:"rgb(153, 69, 0)",HTML_ATTRIBUTE_VALUE_COLOR:"rgb(26, 26, 166)",HTML_COMMENT_COLOR:"rgb(35, 110, 37)",HTML_DOCTYPE_COLOR:"rgb(192, 192, 192)",ARROW_COLOR:"#6e6e6e",ARROW_MARGIN_RIGHT:3,ARROW_FONT_SIZE:12,ARROW_ANIMATION_DURATION:"0",TREENODE_FONT_FAMILY:"Menlo, monospace",TREENODE_FONT_SIZE:"11px",TREENODE_LINE_HEIGHT:1.2,TREENODE_PADDING_LEFT:12,TABLE_BORDER_COLOR:"#aaa",TABLE_TH_BACKGROUND_COLOR:"#eee",TABLE_TH_HOVER_COLOR:"hsla(0, 0%, 90%, 1)",TABLE_SORT_ICON_COLOR:"#6e6e6e",TABLE_DATA_BACKGROUND_IMAGE:"linear-gradient(to bottom, white, white 50%, rgb(234, 243, 255) 50%, rgb(234, 243, 255))",TABLE_DATA_BACKGROUND_SIZE:"128px 32px"},rt=Z([{},()=>{}]),ie={WebkitTouchCallout:"none",WebkitUserSelect:"none",KhtmlUserSelect:"none",MozUserSelect:"none",msUserSelect:"none",OUserSelect:"none",userSelect:"none"},Y=e=>({DOMNodePreview:{htmlOpenTag:{base:{color:e.HTML_TAG_COLOR},tagName:{color:e.HTML_TAGNAME_COLOR,textTransform:e.HTML_TAGNAME_TEXT_TRANSFORM},htmlAttributeName:{color:e.HTML_ATTRIBUTE_NAME_COLOR},htmlAttributeValue:{color:e.HTML_ATTRIBUTE_VALUE_COLOR}},htmlCloseTag:{base:{color:e.HTML_TAG_COLOR},offsetLeft:{marginLeft:-e.TREENODE_PADDING_LEFT},tagName:{color:e.HTML_TAGNAME_COLOR,textTransform:e.HTML_TAGNAME_TEXT_TRANSFORM}},htmlComment:{color:e.HTML_COMMENT_COLOR},htmlDoctype:{color:e.HTML_DOCTYPE_COLOR}},ObjectPreview:{objectDescription:{fontStyle:"italic"},preview:{fontStyle:"italic"},arrayMaxProperties:e.OBJECT_PREVIEW_ARRAY_MAX_PROPERTIES,objectMaxProperties:e.OBJECT_PREVIEW_OBJECT_MAX_PROPERTIES},ObjectName:{base:{color:e.OBJECT_NAME_COLOR},dimmed:{opacity:.6}},ObjectValue:{objectValueNull:{color:e.OBJECT_VALUE_NULL_COLOR},objectValueUndefined:{color:e.OBJECT_VALUE_UNDEFINED_COLOR},objectValueRegExp:{color:e.OBJECT_VALUE_REGEXP_COLOR},objectValueString:{color:e.OBJECT_VALUE_STRING_COLOR},objectValueSymbol:{color:e.OBJECT_VALUE_SYMBOL_COLOR},objectValueNumber:{color:e.OBJECT_VALUE_NUMBER_COLOR},objectValueBoolean:{color:e.OBJECT_VALUE_BOOLEAN_COLOR},objectValueFunctionPrefix:{color:e.OBJECT_VALUE_FUNCTION_PREFIX_COLOR,fontStyle:"italic"},objectValueFunctionName:{fontStyle:"italic"}},TreeView:{treeViewOutline:{padding:0,margin:0,listStyleType:"none"}},TreeNode:{treeNodeBase:{color:e.BASE_COLOR,backgroundColor:e.BASE_BACKGROUND_COLOR,lineHeight:e.TREENODE_LINE_HEIGHT,cursor:"default",boxSizing:"border-box",listStyle:"none",fontFamily:e.TREENODE_FONT_FAMILY,fontSize:e.TREENODE_FONT_SIZE},treeNodePreviewContainer:{},treeNodePlaceholder:{whiteSpace:"pre",fontSize:e.ARROW_FONT_SIZE,marginRight:e.ARROW_MARGIN_RIGHT,...ie},treeNodeArrow:{base:{color:e.ARROW_COLOR,display:"inline-block",fontSize:e.ARROW_FONT_SIZE,marginRight:e.ARROW_MARGIN_RIGHT,...parseFloat(e.ARROW_ANIMATION_DURATION)>0?{transition:`transform ${e.ARROW_ANIMATION_DURATION} ease 0s`}:{},...ie},expanded:{WebkitTransform:"rotateZ(90deg)",MozTransform:"rotateZ(90deg)",transform:"rotateZ(90deg)"},collapsed:{WebkitTransform:"rotateZ(0deg)",MozTransform:"rotateZ(0deg)",transform:"rotateZ(0deg)"}},treeNodeChildNodesContainer:{margin:0,paddingLeft:e.TREENODE_PADDING_LEFT}},TableInspector:{base:{color:e.BASE_COLOR,position:"relative",border:`1px solid ${e.TABLE_BORDER_COLOR}`,fontFamily:e.BASE_FONT_FAMILY,fontSize:e.BASE_FONT_SIZE,lineHeight:"120%",boxSizing:"border-box",cursor:"default"}},TableInspectorHeaderContainer:{base:{top:0,height:"17px",left:0,right:0,overflowX:"hidden"},table:{tableLayout:"fixed",borderSpacing:0,borderCollapse:"separate",height:"100%",width:"100%",margin:0}},TableInspectorDataContainer:{tr:{display:"table-row"},td:{boxSizing:"border-box",border:"none",height:"16px",verticalAlign:"top",padding:"1px 4px",WebkitUserSelect:"text",whiteSpace:"nowrap",textOverflow:"ellipsis",overflow:"hidden",lineHeight:"14px"},div:{position:"static",top:"17px",bottom:0,overflowY:"overlay",transform:"translateZ(0)",left:0,right:0,overflowX:"hidden"},table:{positon:"static",left:0,top:0,right:0,bottom:0,borderTop:"0 none transparent",margin:0,backgroundImage:e.TABLE_DATA_BACKGROUND_IMAGE,backgroundSize:e.TABLE_DATA_BACKGROUND_SIZE,tableLayout:"fixed",borderSpacing:0,borderCollapse:"separate",width:"100%",fontSize:e.BASE_FONT_SIZE,lineHeight:"120%"}},TableInspectorTH:{base:{position:"relative",height:"auto",textAlign:"left",backgroundColor:e.TABLE_TH_BACKGROUND_COLOR,borderBottom:`1px solid ${e.TABLE_BORDER_COLOR}`,fontWeight:"normal",verticalAlign:"middle",padding:"0 4px",whiteSpace:"nowrap",textOverflow:"ellipsis",overflow:"hidden",lineHeight:"14px",":hover":{backgroundColor:e.TABLE_TH_HOVER_COLOR}},div:{whiteSpace:"nowrap",textOverflow:"ellipsis",overflow:"hidden",fontSize:e.BASE_FONT_SIZE,lineHeight:"120%"}},TableInspectorLeftBorder:{none:{borderLeft:"none"},solid:{borderLeft:`1px solid ${e.TABLE_BORDER_COLOR}`}},TableInspectorSortIcon:{display:"block",marginRight:3,width:8,height:7,marginTop:-7,color:e.TABLE_SORT_ICON_COLOR,fontSize:12,...ie}}),le="chromeLight",nt=Z(Y(q[le])),S=e=>K(nt)[e],de=e=>({theme:t=le,...r})=>{let n=Ce(()=>{switch(Object.prototype.toString.call(t)){case"[object String]":return Y(q[t]);case"[object Object]":return Y(t);default:return Y(q[le])}},[t]);return o.createElement(nt.Provider,{value:n},o.createElement(e,{...r}))},ir=({expanded:e,styles:t})=>o.createElement("span",{style:{...t.base,...e?t.expanded:t.collapsed}},"\u25B6"),sr=U(e=>{e={expanded:!0,nodeRenderer:({name:p})=>o.createElement("span",null,p),onClick:()=>{},shouldShowArrow:!1,shouldShowPlaceholder:!0,...e};let{expanded:t,onClick:r,children:n,nodeRenderer:a,title:i,shouldShowArrow:s,shouldShowPlaceholder:l}=e,u=S("TreeNode"),c=a;return o.createElement("li",{"aria-expanded":t,role:"treeitem",style:u.treeNodeBase,title:i},o.createElement("div",{style:u.treeNodePreviewContainer,onClick:r},s||Te.count(n)>0?o.createElement(ir,{expanded:t,styles:u.treeNodeArrow}):l&&o.createElement("span",{style:u.treeNodePlaceholder},"\xA0"),o.createElement(c,{...e})),o.createElement("ol",{role:"group",style:u.treeNodeChildNodesContainer},t?n:void 0))}),X="$",Xe="*";function J(e,t){return!t(e).next().done}var lr=e=>Array.from({length:e},(t,r)=>[X].concat(Array.from({length:r},()=>"*")).join(".")),ur=(e,t,r,n,a)=>{let i=[].concat(lr(n)).concat(r).filter(l=>typeof l=="string"),s=[];return i.forEach(l=>{let u=l.split("."),c=(p,d,f)=>{if(f===u.length){s.push(d);return}let E=u[f];if(f===0)J(p,t)&&(E===X||E===Xe)&&c(p,X,f+1);else if(E===Xe)for(let{name:m,data:y}of t(p))J(y,t)&&c(y,`${d}.${m}`,f+1);else{let m=p[E];J(m,t)&&c(m,`${d}.${E}`,f+1)}};c(e,"",0)}),s.reduce((l,u)=>(l[u]=!0,l),{...a})},at=U(e=>{let{data:t,dataIterator:r,path:n,depth:a,nodeRenderer:i}=e,[s,l]=K(rt),u=J(t,r),c=!!s[n],p=x(()=>u&&l(d=>({...d,[n]:!c})),[u,l,n,c]);return o.createElement(sr,{expanded:c,onClick:p,shouldShowArrow:u,shouldShowPlaceholder:a>0,nodeRenderer:i,...e},c?[...r(t)].map(({name:d,data:f,...E})=>o.createElement(at,{name:d,data:f,depth:a+1,path:`${n}.${d}`,key:d,dataIterator:r,nodeRenderer:i,...E})):null)}),ot=U(({name:e,data:t,dataIterator:r,nodeRenderer:n,expandPaths:a,expandLevel:i})=>{let s=S("TreeView"),l=j({}),[,u]=l;return Ae(()=>u(c=>ur(t,r,a,i,c)),[t,r,a,i]),o.createElement(rt.Provider,{value:l},o.createElement("ol",{role:"tree",style:s.treeViewOutline},o.createElement(at,{name:e,data:t,dataIterator:r,depth:0,path:X,nodeRenderer:n})))}),me=({name:e,dimmed:t=!1,styles:r={}})=>{let n=S("ObjectName"),a={...n.base,...t?n.dimmed:{},...r};return o.createElement("span",{style:a},e)},H=({object:e,styles:t})=>{let r=S("ObjectValue"),n=a=>({...r[a],...t});switch(typeof e){case"bigint":return o.createElement("span",{style:n("objectValueNumber")},String(e),"n");case"number":return o.createElement("span",{style:n("objectValueNumber")},String(e));case"string":return o.createElement("span",{style:n("objectValueString")},'"',e,'"');case"boolean":return o.createElement("span",{style:n("objectValueBoolean")},String(e));case"undefined":return o.createElement("span",{style:n("objectValueUndefined")},"undefined");case"object":return e===null?o.createElement("span",{style:n("objectValueNull")},"null"):e instanceof Date?o.createElement("span",null,e.toString()):e instanceof RegExp?o.createElement("span",{style:n("objectValueRegExp")},e.toString()):Array.isArray(e)?o.createElement("span",null,`Array(${e.length})`):e.constructor?typeof e.constructor.isBuffer=="function"&&e.constructor.isBuffer(e)?o.createElement("span",null,`Buffer[${e.length}]`):o.createElement("span",null,e.constructor.name):o.createElement("span",null,"Object");case"function":return o.createElement("span",null,o.createElement("span",{style:n("objectValueFunctionPrefix")},"\u0192\xA0"),o.createElement("span",{style:n("objectValueFunctionName")},e.name,"()"));case"symbol":return o.createElement("span",{style:n("objectValueSymbol")},e.toString());default:return o.createElement("span",null)}},it=Object.prototype.hasOwnProperty,cr=Object.prototype.propertyIsEnumerable;function ue(e,t){let r=Object.getOwnPropertyDescriptor(e,t);if(r.get)try{return r.get()}catch{return r.get}return e[t]}function Ze(e,t){return e.length===0?[]:e.slice(1).reduce((r,n)=>r.concat([t,n]),[e[0]])}var ce=({data:e})=>{let t=S("ObjectPreview"),r=e;if(typeof r!="object"||r===null||r instanceof Date||r instanceof RegExp)return o.createElement(H,{object:r});if(Array.isArray(r)){let n=t.arrayMaxProperties,a=r.slice(0,n).map((s,l)=>o.createElement(H,{key:l,object:s}));r.length>n&&a.push(o.createElement("span",{key:"ellipsis"},"\u2026"));let i=r.length;return o.createElement(o.Fragment,null,o.createElement("span",{style:t.objectDescription},i===0?"":`(${i})\xA0`),o.createElement("span",{style:t.preview},"[",Ze(a,", "),"]"))}else{let n=t.objectMaxProperties,a=[];for(let s in r)if(it.call(r,s)){let l;a.length===n-1&&Object.keys(r).length>n&&(l=o.createElement("span",{key:"ellipsis"},"\u2026"));let u=ue(r,s);if(a.push(o.createElement("span",{key:s},o.createElement(me,{name:s||'""'}),":\xA0",o.createElement(H,{object:u}),l)),l)break}let i=r.constructor?r.constructor.name:"Object";return o.createElement(o.Fragment,null,o.createElement("span",{style:t.objectDescription},i==="Object"?"":`${i} `),o.createElement("span",{style:t.preview},"{",Ze(a,", "),"}"))}},pr=({name:e,data:t})=>typeof e=="string"?o.createElement("span",null,o.createElement(me,{name:e}),o.createElement("span",null,": "),o.createElement(ce,{data:t})):o.createElement(ce,{data:t}),fr=({name:e,data:t,isNonenumerable:r=!1})=>{let n=t;return o.createElement("span",null,typeof e=="string"?o.createElement(me,{name:e,dimmed:r}):o.createElement(ce,{data:e}),o.createElement("span",null,": "),o.createElement(H,{object:n}))},dr=(e,t)=>function*(r){if(!(typeof r=="object"&&r!==null||typeof r=="function"))return;let n=Array.isArray(r);if(!n&&r[Symbol.iterator]){let a=0;for(let i of r){if(Array.isArray(i)&&i.length===2){let[s,l]=i;yield{name:s,data:l}}else yield{name:a.toString(),data:i};a++}}else{let a=Object.getOwnPropertyNames(r);t===!0&&!n?a.sort():typeof t=="function"&&a.sort(t);for(let i of a)if(cr.call(r,i)){let s=ue(r,i);yield{name:i||'""',data:s}}else if(e){let s;try{s=ue(r,i)}catch{}s!==void 0&&(yield{name:i,data:s,isNonenumerable:!0})}e&&r!==Object.prototype&&(yield{name:"__proto__",data:Object.getPrototypeOf(r),isNonenumerable:!0})}},mr=({depth:e,name:t,data:r,isNonenumerable:n})=>e===0?o.createElement(pr,{name:t,data:r}):o.createElement(fr,{name:t,data:r,isNonenumerable:n}),gr=({showNonenumerable:e=!1,sortObjectKeys:t,nodeRenderer:r,...n})=>{let a=dr(e,t),i=r||mr;return o.createElement(ot,{nodeRenderer:i,dataIterator:a,...n})},br=de(gr);function hr(e){if(typeof e=="object"){let t=[];if(Array.isArray(e)){let n=e.length;t=[...Array(n).keys()]}else e!==null&&(t=Object.keys(e));let r=t.reduce((n,a)=>{let i=e[a];return typeof i=="object"&&i!==null&&Object.keys(i).reduce((s,l)=>(s.includes(l)||s.push(l),s),n),n},[]);return{rowHeaders:t,colHeaders:r}}}var Er=({rows:e,columns:t,rowsData:r})=>{let n=S("TableInspectorDataContainer"),a=S("TableInspectorLeftBorder");return o.createElement("div",{style:n.div},o.createElement("table",{style:n.table},o.createElement("colgroup",null),o.createElement("tbody",null,e.map((i,s)=>o.createElement("tr",{key:i,style:n.tr},o.createElement("td",{style:{...n.td,...a.none}},i),t.map(l=>{let u=r[s];return typeof u=="object"&&u!==null&&it.call(u,l)?o.createElement("td",{key:l,style:{...n.td,...a.solid}},o.createElement(H,{object:u[l]})):o.createElement("td",{key:l,style:{...n.td,...a.solid}})}))))))},yr=e=>o.createElement("div",{style:{position:"absolute",top:1,right:0,bottom:1,display:"flex",alignItems:"center"}},e.children),Or=({sortAscending:e})=>{let t=S("TableInspectorSortIcon"),r=e?"\u25B2":"\u25BC";return o.createElement("div",{style:t},r)},Ke=({sortAscending:e=!1,sorted:t=!1,onClick:r=void 0,borderStyle:n={},children:a,...i})=>{let s=S("TableInspectorTH"),[l,u]=j(!1),c=x(()=>u(!0),[]),p=x(()=>u(!1),[]);return o.createElement("th",{...i,style:{...s.base,...n,...l?s.base[":hover"]:{}},onMouseEnter:c,onMouseLeave:p,onClick:r},o.createElement("div",{style:s.div},a),t&&o.createElement(yr,null,o.createElement(Or,{sortAscending:e})))},Tr=({indexColumnText:e="(index)",columns:t=[],sorted:r,sortIndexColumn:n,sortColumn:a,sortAscending:i,onTHClick:s,onIndexTHClick:l})=>{let u=S("TableInspectorHeaderContainer"),c=S("TableInspectorLeftBorder");return o.createElement("div",{style:u.base},o.createElement("table",{style:u.table},o.createElement("tbody",null,o.createElement("tr",null,o.createElement(Ke,{borderStyle:c.none,sorted:r&&n,sortAscending:i,onClick:l},e),t.map(p=>o.createElement(Ke,{borderStyle:c.solid,key:p,sorted:r&&a===p,sortAscending:i,onClick:s.bind(null,p)},p))))))},_r=({data:e,columns:t})=>{let r=S("TableInspector"),[{sorted:n,sortIndexColumn:a,sortColumn:i,sortAscending:s},l]=j({sorted:!1,sortIndexColumn:!1,sortColumn:void 0,sortAscending:!1}),u=x(()=>{l(({sortIndexColumn:m,sortAscending:y})=>({sorted:!0,sortIndexColumn:!0,sortColumn:void 0,sortAscending:m?!y:!0}))},[]),c=x(m=>{l(({sortColumn:y,sortAscending:O})=>({sorted:!0,sortIndexColumn:!1,sortColumn:m,sortAscending:m===y?!O:!0}))},[]);if(typeof e!="object"||e===null)return o.createElement("div",null);let{rowHeaders:p,colHeaders:d}=hr(e);t!==void 0&&(d=t);let f=p.map(m=>e[m]),E;if(i!==void 0?E=f.map((m,y)=>typeof m=="object"&&m!==null?[m[i],y]:[void 0,y]):a&&(E=p.map((m,y)=>[p[y],y])),E!==void 0){let m=(O,w)=>(ut,ct)=>{let ge=O(ut),be=O(ct),he=typeof ge,Ee=typeof be,ye=(P,Oe)=>POe?1:0,M;if(he===Ee)M=ye(ge,be);else{let P={string:0,number:1,object:2,symbol:3,boolean:4,undefined:5,function:6};M=ye(P[he],P[Ee])}return w||(M=-M),M},y=E.sort(m(O=>O[0],s)).map(O=>O[1]);p=y.map(O=>p[O]),f=y.map(O=>f[O])}return o.createElement("div",{style:r.base},o.createElement(Tr,{columns:d,sorted:n,sortIndexColumn:a,sortColumn:i,sortAscending:s,onTHClick:c,onIndexTHClick:u}),o.createElement(Er,{rows:p,columns:d,rowsData:f}))},vr=de(_r),Sr=80,st=e=>e.childNodes.length===0||e.childNodes.length===1&&e.childNodes[0].nodeType===Node.TEXT_NODE&&e.textContent.lengtho.createElement("span",{style:r.base},"<",o.createElement("span",{style:r.tagName},e),(()=>{if(t){let n=[];for(let a=0;a"),Qe=({tagName:e,isChildNode:t=!1,styles:r})=>o.createElement("span",{style:Object.assign({},r.base,t&&r.offsetLeft)},""),Ar={1:"ELEMENT_NODE",3:"TEXT_NODE",7:"PROCESSING_INSTRUCTION_NODE",8:"COMMENT_NODE",9:"DOCUMENT_NODE",10:"DOCUMENT_TYPE_NODE",11:"DOCUMENT_FRAGMENT_NODE"},Cr=({isCloseTag:e,data:t,expanded:r})=>{let n=S("DOMNodePreview");if(e)return o.createElement(Qe,{styles:n.htmlCloseTag,isChildNode:!0,tagName:t.tagName});switch(t.nodeType){case Node.ELEMENT_NODE:return o.createElement("span",null,o.createElement(Rr,{tagName:t.tagName,attributes:t.attributes,styles:n.htmlOpenTag}),st(t)?t.textContent:!r&&"\u2026",!r&&o.createElement(Qe,{tagName:t.tagName,styles:n.htmlCloseTag}));case Node.TEXT_NODE:return o.createElement("span",null,t.textContent);case Node.CDATA_SECTION_NODE:return o.createElement("span",null,"");case Node.COMMENT_NODE:return o.createElement("span",{style:n.htmlComment},"");case Node.PROCESSING_INSTRUCTION_NODE:return o.createElement("span",null,t.nodeName);case Node.DOCUMENT_TYPE_NODE:return o.createElement("span",{style:n.htmlDoctype},"");case Node.DOCUMENT_NODE:return o.createElement("span",null,t.nodeName);case Node.DOCUMENT_FRAGMENT_NODE:return o.createElement("span",null,t.nodeName);default:return o.createElement("span",null,Ar[t.nodeType])}},Nr=function*(e){if(e&&e.childNodes){if(st(e))return;for(let t=0;to.createElement(ot,{nodeRenderer:Cr,dataIterator:Nr,...e}),xr=de(wr),Lr=er(nr()),Ir=({table:e=!1,data:t,...r})=>e?o.createElement(vr,{data:t,...r}):(0,Lr.default)(t)?o.createElement(xr,{data:t,...r}):o.createElement(br,{data:t,...r}),Dr=B.div({display:"flex",padding:0,borderLeft:"5px solid transparent",borderBottom:"1px solid transparent",transition:"all 0.1s",alignItems:"flex-start",whiteSpace:"pre"}),Mr=B.div(({theme:e})=>({backgroundColor:qe(.5,e.appBorderColor),color:e.color.inverseText,fontSize:e.typography.size.s1,fontWeight:e.typography.weight.bold,lineHeight:1,padding:"1px 5px",borderRadius:20,margin:"2px 0px"})),Pr=B.div({flex:1,padding:"0 0 0 5px"}),lt=Se(({children:e,className:t},r)=>o.createElement(Le,{ref:r,horizontal:!0,vertical:!0,className:t},e));lt.displayName="UnstyledWrapped";var Br=B(lt)({margin:0,padding:"10px 5px 20px"}),Fr=He(({theme:e,...t})=>o.createElement(Ir,{theme:e.addonActionsTheme||"chromeLight",table:!1,...t})),Hr=({actions:e,onClear:t})=>{let r=Ne(null),n=r.current,a=n&&n.scrollHeight-n.scrollTop===n.clientHeight;return Re(()=>{a&&(r.current.scrollTop=r.current.scrollHeight)},[a,e.length]),o.createElement(ve,null,o.createElement(Br,{ref:r},e.map(i=>o.createElement(Dr,{key:i.id},i.count>1&&o.createElement(Mr,null,i.count),o.createElement(Pr,null,o.createElement(Fr,{sortObjectKeys:!0,showNonenumerable:!1,name:i.data.name,data:i.data.args??i.data}))))),o.createElement(we,{actionItems:[{title:"Clear",onClick:t}]}))},zr=(e,t)=>{try{return L(e,t)}catch{return!1}},Ur=class extends _e{constructor(e){super(e),this.handleStoryChange=()=>{let{actions:t}=this.state;t.length>0&&t[0].options.clearOnStoryChange&&this.clearActions()},this.addAction=t=>{this.setState(r=>{let n=[...r.actions],a=n.length&&n[n.length-1];return a&&zr(a.data,t.data)?a.count++:(t.count=1,n.push(t)),{actions:n.slice(0,t.options.limit)}})},this.clearActions=()=>{let{api:t}=this.props;t.emit(et),this.setState({actions:[]})},this.mounted=!1,this.state={actions:[]}}componentDidMount(){this.mounted=!0;let{api:e}=this.props;e.on(se,this.addAction),e.on(k,this.handleStoryChange)}componentWillUnmount(){this.mounted=!1;let{api:e}=this.props;e.off(k,this.handleStoryChange),e.off(se,this.addAction)}render(){let{actions:e=[]}=this.state,{active:t}=this.props,r={actions:e,onClear:this.clearActions};return t?o.createElement(Hr,{...r}):null}};function jr(){let[{count:e},t]=Me(z,{count:0});return Pe({[se]:()=>{t(r=>({...r,count:r.count+1}))},[k]:()=>{t(r=>({...r,count:0}))},[et]:()=>{t(r=>({...r,count:0}))}}),o.createElement("div",null,o.createElement(Ie,{col:1},o.createElement("span",{style:{display:"inline-block",verticalAlign:"middle"}},"Actions"),e===0?"":o.createElement(xe,{status:"neutral"},e)))}Q.register(z,e=>{Q.add(Yt,{title:jr,type:De.PANEL,render:({active:t})=>o.createElement(Ur,{api:e,active:!!t}),paramKey:$t})});})(); -}catch(e){ console.error("[Storybook] One of your manager-entries failed: " + import.meta.url, e); } diff --git a/docs/storybook/sb-addons/essentials-backgrounds-5/manager-bundle.js b/docs/storybook/sb-addons/essentials-backgrounds-5/manager-bundle.js deleted file mode 100644 index b50d7f2..0000000 --- a/docs/storybook/sb-addons/essentials-backgrounds-5/manager-bundle.js +++ /dev/null @@ -1,12 +0,0 @@ -try{ -(()=>{var re=Object.create;var Y=Object.defineProperty;var ie=Object.getOwnPropertyDescriptor;var ae=Object.getOwnPropertyNames;var ce=Object.getPrototypeOf,le=Object.prototype.hasOwnProperty;var E=(e=>typeof require<"u"?require:typeof Proxy<"u"?new Proxy(e,{get:(o,c)=>(typeof require<"u"?require:o)[c]}):e)(function(e){if(typeof require<"u")return require.apply(this,arguments);throw Error('Dynamic require of "'+e+'" is not supported')});var M=(e,o)=>()=>(e&&(o=e(e=0)),o);var se=(e,o)=>()=>(o||e((o={exports:{}}).exports,o),o.exports);var ue=(e,o,c,r)=>{if(o&&typeof o=="object"||typeof o=="function")for(let i of ae(o))!le.call(e,i)&&i!==c&&Y(e,i,{get:()=>o[i],enumerable:!(r=ie(o,i))||r.enumerable});return e};var Ie=(e,o,c)=>(c=e!=null?re(ce(e)):{},ue(o||!e||!e.__esModule?Y(c,"default",{value:e,enumerable:!0}):c,e));var p=M(()=>{});var h=M(()=>{});var f=M(()=>{});var X=se((Q,V)=>{p();h();f();(function(e){if(typeof Q=="object"&&typeof V<"u")V.exports=e();else if(typeof define=="function"&&define.amd)define([],e);else{var o;typeof window<"u"||typeof window<"u"?o=window:typeof self<"u"?o=self:o=this,o.memoizerific=e()}})(function(){var e,o,c;return function r(i,d,l){function t(a,I){if(!d[a]){if(!i[a]){var s=typeof E=="function"&&E;if(!I&&s)return s(a,!0);if(n)return n(a,!0);var S=new Error("Cannot find module '"+a+"'");throw S.code="MODULE_NOT_FOUND",S}var m=d[a]={exports:{}};i[a][0].call(m.exports,function(b){var C=i[a][1][b];return t(C||b)},m,m.exports,r,i,d,l)}return d[a].exports}for(var n=typeof E=="function"&&E,u=0;u=0)return this.lastItem=this.list[n],this.list[n].val},l.prototype.set=function(t,n){var u;return this.lastItem&&this.isEqual(this.lastItem.key,t)?(this.lastItem.val=n,this):(u=this.indexOf(t),u>=0?(this.lastItem=this.list[u],this.list[u].val=n,this):(this.lastItem={key:t,val:n},this.list.push(this.lastItem),this.size++,this))},l.prototype.delete=function(t){var n;if(this.lastItem&&this.isEqual(this.lastItem.key,t)&&(this.lastItem=void 0),n=this.indexOf(t),n>=0)return this.size--,this.list.splice(n,1)[0]},l.prototype.has=function(t){var n;return this.lastItem&&this.isEqual(this.lastItem.key,t)?!0:(n=this.indexOf(t),n>=0?(this.lastItem=this.list[n],!0):!1)},l.prototype.forEach=function(t,n){var u;for(u=0;u0&&(x[T]={cacheItem:b,arg:arguments[T]},O?t(s,x):s.push(x),s.length>a&&n(s.shift())),m.wasMemoized=O,m.numArgs=T+1,R};return m.limit=a,m.wasMemoized=!1,m.cache=I,m.lru=s,m}};function t(a,I){var s=a.length,S=I.length,m,b,C;for(b=0;b=0&&(s=a[m],S=s.cacheItem.get(s.arg),!S||!S.size);m--)s.cacheItem.delete(s.arg)}function u(a,I){return a===I||a!==a&&I!==I}},{"map-or-similar":1}]},{},[3])(3)})});p();h();f();p();h();f();p();h();f();p();h();f();var g=__REACT__,{Children:Ee,Component:we,Fragment:D,Profiler:Be,PureComponent:Re,StrictMode:xe,Suspense:Le,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:Pe,cloneElement:Me,createContext:De,createElement:Ge,createFactory:Ue,createRef:Fe,forwardRef:Ne,isValidElement:He,lazy:qe,memo:w,startTransition:ze,unstable_act:Ke,useCallback:G,useContext:Ve,useDebugValue:We,useDeferredValue:Ye,useEffect:je,useId:$e,useImperativeHandle:Ze,useInsertionEffect:Je,useLayoutEffect:Qe,useMemo:j,useReducer:Xe,useRef:eo,useState:U,useSyncExternalStore:oo,useTransition:no,version:to}=__REACT__;p();h();f();var lo=__STORYBOOK_API__,{ActiveTabs:so,Consumer:uo,ManagerContext:Io,Provider:mo,RequestResponseError:po,addons:F,combineParameters:ho,controlOrMetaKey:fo,controlOrMetaSymbol:go,eventMatchesShortcut:bo,eventToShortcut:So,experimental_MockUniversalStore:Co,experimental_UniversalStore:yo,experimental_requestResponse:ko,experimental_useUniversalStore:vo,isMacLike:_o,isShortcutTaken:To,keyToSymbol:Ao,merge:Oo,mockChannel:Eo,optionOrAltSymbol:wo,shortcutMatchesShortcut:Bo,shortcutToHumanString:Ro,types:$,useAddonState:xo,useArgTypes:Lo,useArgs:Po,useChannel:Mo,useGlobalTypes:Do,useGlobals:L,useParameter:P,useSharedState:Go,useStoryPrepared:Uo,useStorybookApi:Fo,useStorybookState:No}=__STORYBOOK_API__;p();h();f();var Vo=__STORYBOOK_COMPONENTS__,{A:Wo,ActionBar:Yo,AddonPanel:jo,Badge:$o,Bar:Zo,Blockquote:Jo,Button:Qo,ClipboardCode:Xo,Code:en,DL:on,Div:nn,DocumentWrapper:tn,EmptyTabContent:rn,ErrorFormatter:an,FlexBar:cn,Form:ln,H1:sn,H2:un,H3:In,H4:dn,H5:mn,H6:pn,HR:hn,IconButton:B,IconButtonSkeleton:fn,Icons:gn,Img:bn,LI:Sn,Link:Cn,ListItem:yn,Loader:kn,Modal:vn,OL:_n,P:Tn,Placeholder:An,Pre:On,ProgressSpinner:En,ResetWrapper:wn,ScrollArea:Bn,Separator:Rn,Spaced:xn,Span:Ln,StorybookIcon:Pn,StorybookLogo:Mn,Symbols:Dn,SyntaxHighlighter:Gn,TT:Un,TabBar:Fn,TabButton:Nn,TabWrapper:Hn,Table:qn,Tabs:zn,TabsState:Kn,TooltipLinkList:N,TooltipMessage:Vn,TooltipNote:Wn,UL:Yn,WithTooltip:H,WithTooltipPure:jn,Zoom:$n,codeCommon:Zn,components:Jn,createCopyToClipboardFunction:Qn,getStoryHref:Xn,icons:et,interleaveSeparators:ot,nameSpaceClassNames:nt,resetComponents:tt,withReset:rt}=__STORYBOOK_COMPONENTS__;p();h();f();var st=__STORYBOOK_ICONS__,{AccessibilityAltIcon:ut,AccessibilityIcon:It,AccessibilityIgnoredIcon:dt,AddIcon:mt,AdminIcon:pt,AlertAltIcon:ht,AlertIcon:ft,AlignLeftIcon:gt,AlignRightIcon:bt,AppleIcon:St,ArrowBottomLeftIcon:Ct,ArrowBottomRightIcon:yt,ArrowDownIcon:kt,ArrowLeftIcon:vt,ArrowRightIcon:_t,ArrowSolidDownIcon:Tt,ArrowSolidLeftIcon:At,ArrowSolidRightIcon:Ot,ArrowSolidUpIcon:Et,ArrowTopLeftIcon:wt,ArrowTopRightIcon:Bt,ArrowUpIcon:Rt,AzureDevOpsIcon:xt,BackIcon:Lt,BasketIcon:Pt,BatchAcceptIcon:Mt,BatchDenyIcon:Dt,BeakerIcon:Gt,BellIcon:Ut,BitbucketIcon:Ft,BoldIcon:Nt,BookIcon:Ht,BookmarkHollowIcon:qt,BookmarkIcon:zt,BottomBarIcon:Kt,BottomBarToggleIcon:Vt,BoxIcon:Wt,BranchIcon:Yt,BrowserIcon:jt,ButtonIcon:$t,CPUIcon:Zt,CalendarIcon:Jt,CameraIcon:Qt,CameraStabilizeIcon:Xt,CategoryIcon:er,CertificateIcon:or,ChangedIcon:nr,ChatIcon:tr,CheckIcon:rr,ChevronDownIcon:ir,ChevronLeftIcon:ar,ChevronRightIcon:cr,ChevronSmallDownIcon:lr,ChevronSmallLeftIcon:sr,ChevronSmallRightIcon:ur,ChevronSmallUpIcon:Ir,ChevronUpIcon:dr,ChromaticIcon:mr,ChromeIcon:pr,CircleHollowIcon:hr,CircleIcon:Z,ClearIcon:fr,CloseAltIcon:gr,CloseIcon:br,CloudHollowIcon:Sr,CloudIcon:Cr,CogIcon:yr,CollapseIcon:kr,CommandIcon:vr,CommentAddIcon:_r,CommentIcon:Tr,CommentsIcon:Ar,CommitIcon:Or,CompassIcon:Er,ComponentDrivenIcon:wr,ComponentIcon:Br,ContrastIcon:Rr,ContrastIgnoredIcon:xr,ControlsIcon:Lr,CopyIcon:Pr,CreditIcon:Mr,CrossIcon:Dr,DashboardIcon:Gr,DatabaseIcon:Ur,DeleteIcon:Fr,DiamondIcon:Nr,DirectionIcon:Hr,DiscordIcon:qr,DocChartIcon:zr,DocListIcon:Kr,DocumentIcon:Vr,DownloadIcon:Wr,DragIcon:Yr,EditIcon:jr,EllipsisIcon:$r,EmailIcon:Zr,ExpandAltIcon:Jr,ExpandIcon:Qr,EyeCloseIcon:Xr,EyeIcon:ei,FaceHappyIcon:oi,FaceNeutralIcon:ni,FaceSadIcon:ti,FacebookIcon:ri,FailedIcon:ii,FastForwardIcon:ai,FigmaIcon:ci,FilterIcon:li,FlagIcon:si,FolderIcon:ui,FormIcon:Ii,GDriveIcon:di,GithubIcon:mi,GitlabIcon:pi,GlobeIcon:hi,GoogleIcon:fi,GraphBarIcon:gi,GraphLineIcon:bi,GraphqlIcon:Si,GridAltIcon:Ci,GridIcon:q,GrowIcon:yi,HeartHollowIcon:ki,HeartIcon:vi,HomeIcon:_i,HourglassIcon:Ti,InfoIcon:Ai,ItalicIcon:Oi,JumpToIcon:Ei,KeyIcon:wi,LightningIcon:Bi,LightningOffIcon:Ri,LinkBrokenIcon:xi,LinkIcon:Li,LinkedinIcon:Pi,LinuxIcon:Mi,ListOrderedIcon:Di,ListUnorderedIcon:Gi,LocationIcon:Ui,LockIcon:Fi,MarkdownIcon:Ni,MarkupIcon:Hi,MediumIcon:qi,MemoryIcon:zi,MenuIcon:Ki,MergeIcon:Vi,MirrorIcon:Wi,MobileIcon:Yi,MoonIcon:ji,NutIcon:$i,OutboxIcon:Zi,OutlineIcon:Ji,PaintBrushIcon:Qi,PaperClipIcon:Xi,ParagraphIcon:ea,PassedIcon:oa,PhoneIcon:na,PhotoDragIcon:ta,PhotoIcon:z,PhotoStabilizeIcon:ra,PinAltIcon:ia,PinIcon:aa,PlayAllHollowIcon:ca,PlayBackIcon:la,PlayHollowIcon:sa,PlayIcon:ua,PlayNextIcon:Ia,PlusIcon:da,PointerDefaultIcon:ma,PointerHandIcon:pa,PowerIcon:ha,PrintIcon:fa,ProceedIcon:ga,ProfileIcon:ba,PullRequestIcon:Sa,QuestionIcon:Ca,RSSIcon:ya,RedirectIcon:ka,ReduxIcon:va,RefreshIcon:J,ReplyIcon:_a,RepoIcon:Ta,RequestChangeIcon:Aa,RewindIcon:Oa,RulerIcon:Ea,SaveIcon:wa,SearchIcon:Ba,ShareAltIcon:Ra,ShareIcon:xa,ShieldIcon:La,SideBySideIcon:Pa,SidebarAltIcon:Ma,SidebarAltToggleIcon:Da,SidebarIcon:Ga,SidebarToggleIcon:Ua,SpeakerIcon:Fa,StackedIcon:Na,StarHollowIcon:Ha,StarIcon:qa,StatusFailIcon:za,StatusIcon:Ka,StatusPassIcon:Va,StatusWarnIcon:Wa,StickerIcon:Ya,StopAltHollowIcon:ja,StopAltIcon:$a,StopIcon:Za,StorybookIcon:Ja,StructureIcon:Qa,SubtractIcon:Xa,SunIcon:ec,SupportIcon:oc,SwitchAltIcon:nc,SyncIcon:tc,TabletIcon:rc,ThumbsUpIcon:ic,TimeIcon:ac,TimerIcon:cc,TransferIcon:lc,TrashIcon:sc,TwitterIcon:uc,TypeIcon:Ic,UbuntuIcon:dc,UndoIcon:mc,UnfoldIcon:pc,UnlockIcon:hc,UnpinIcon:fc,UploadIcon:gc,UserAddIcon:bc,UserAltIcon:Sc,UserIcon:Cc,UsersIcon:yc,VSCodeIcon:kc,VerifiedIcon:vc,VideoIcon:_c,WandIcon:Tc,WatchIcon:Ac,WindowsIcon:Oc,WrenchIcon:Ec,XIcon:wc,YoutubeIcon:Bc,ZoomIcon:Rc,ZoomOutIcon:xc,ZoomResetIcon:Lc,iconList:Pc}=__STORYBOOK_ICONS__;p();h();f();var Fc=__STORYBOOK_CLIENT_LOGGER__,{deprecate:Nc,logger:K,once:Hc,pretty:qc}=__STORYBOOK_CLIENT_LOGGER__;var W=Ie(X());p();h();f();var Jc=__STORYBOOK_THEMING__,{CacheProvider:Qc,ClassNames:Xc,Global:el,ThemeProvider:ol,background:nl,color:tl,convert:rl,create:il,createCache:al,createGlobal:cl,createReset:ll,css:sl,darken:ul,ensure:Il,ignoreSsrWarning:dl,isPropValid:ml,jsx:pl,keyframes:hl,lighten:fl,styled:ee,themes:gl,typography:bl,useTheme:Sl,withTheme:Cl}=__STORYBOOK_THEMING__;p();h();f();function oe(e){for(var o=[],c=1;c{r({[y]:I})},[r]);return g.createElement(D,null,g.createElement(B,{key:"grid",active:n,disabled:t,title:"Apply a grid to the preview",onClick:()=>a({value:l,grid:!n})},g.createElement(q,null)),c>0?g.createElement(H,{key:"background",placement:"top",closeOnOutsideClick:!0,tooltip:({onHide:I})=>g.createElement(N,{links:[...o?[{id:"reset",title:"Reset background",icon:g.createElement(J,null),onClick:()=>{a({value:void 0,grid:n}),I()}}]:[],...Object.entries(d).map(([s,S])=>({id:s,title:S.name,icon:g.createElement(Z,{color:S?.value||"grey"}),active:s===l,onClick:()=>{a({value:s,grid:n}),I()}}))].flat()}),onVisibleChange:i},g.createElement(B,{disabled:t,key:"background",title:"Change the background of the preview",active:!!o||u},g.createElement(z,null))):null)}),he=ee.span(({background:e})=>({borderRadius:"1rem",display:"block",height:"1rem",width:"1rem",background:e}),({theme:e})=>({boxShadow:`${e.appBorderColor} 0 0 0 1px inset`})),fe=(e,o=[],c)=>{if(e==="transparent")return"transparent";if(o.find(i=>i.value===e)||e)return e;let r=o.find(i=>i.name===c);if(r)return r.value;if(c){let i=o.map(d=>d.name).join(", ");K.warn(oe` - Backgrounds Addon: could not find the default color "${c}". - These are the available colors for your story based on your configuration: - ${i}. - `)}return"transparent"},te=(0,W.default)(1e3)((e,o,c,r,i,d)=>({id:e||o,title:o,onClick:()=>{i({selected:c,name:o})},value:c,right:r?g.createElement(he,{background:c}):void 0,active:d})),ge=(0,W.default)(10)((e,o,c)=>{let r=e.map(({name:i,value:d})=>te(null,i,d,!0,c,d===o));return o!=="transparent"?[te("reset","Clear background","transparent",null,c,!1),...r]:r}),be={default:null,disable:!0,values:[]},Se=w(function(){let e=P(y,be),[o,c]=U(!1),[r,i]=L(),d=r[y]?.value,l=j(()=>fe(d,e.values,e.default),[e,d]);Array.isArray(e)&&K.warn("Addon Backgrounds api has changed in Storybook 6.0. Please refer to the migration guide: https://github.com/storybookjs/storybook/blob/next/MIGRATION.md");let t=G(n=>{i({[y]:{...r[y],value:n}})},[e,r,i]);return e.disable?null:g.createElement(H,{placement:"top",closeOnOutsideClick:!0,tooltip:({onHide:n})=>g.createElement(N,{links:ge(e.values,l,({selected:u})=>{l!==u&&t(u),n()})}),onVisibleChange:c},g.createElement(B,{key:"background",title:"Change the background of the preview",active:l!=="transparent"||o},g.createElement(z,null)))}),Ce=w(function(){let[e,o]=L(),{grid:c}=P(y,{grid:{disable:!1}});if(c?.disable)return null;let r=e[y]?.grid||!1;return g.createElement(B,{key:"background",active:r,title:"Apply a grid to the preview",onClick:()=>o({[y]:{...e[y],grid:!r}})},g.createElement(q,null))});F.register(ne,()=>{F.add(ne,{title:"Backgrounds",type:$.TOOL,match:({viewMode:e,tabId:o})=>!!(e&&e.match(/^(story|docs)$/))&&!o,render:()=>FEATURES?.backgroundsStoryGlobals?g.createElement(me,null):g.createElement(D,null,g.createElement(Se,null),g.createElement(Ce,null))})});})(); -}catch(e){ console.error("[Storybook] One of your manager-entries failed: " + import.meta.url, e); } diff --git a/docs/storybook/sb-addons/essentials-controls-3/manager-bundle.js b/docs/storybook/sb-addons/essentials-controls-3/manager-bundle.js deleted file mode 100644 index 68789c5..0000000 --- a/docs/storybook/sb-addons/essentials-controls-3/manager-bundle.js +++ /dev/null @@ -1,402 +0,0 @@ -try{ -(()=>{var xp=Object.create;var Un=Object.defineProperty;var Tp=Object.getOwnPropertyDescriptor;var Fp=Object.getOwnPropertyNames;var Ip=Object.getPrototypeOf,kp=Object.prototype.hasOwnProperty;var je=(e=>typeof require<"u"?require:typeof Proxy<"u"?new Proxy(e,{get:(t,r)=>(typeof require<"u"?require:t)[r]}):e)(function(e){if(typeof require<"u")return require.apply(this,arguments);throw Error('Dynamic require of "'+e+'" is not supported')});var rt=(e,t)=>()=>(e&&(t=e(e=0)),t);var Rp=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),ni=(e,t)=>{for(var r in t)Un(e,r,{get:t[r],enumerable:!0})},Op=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of Fp(t))!kp.call(e,o)&&o!==r&&Un(e,o,{get:()=>t[o],enumerable:!(n=Tp(t,o))||n.enumerable});return e};var _p=(e,t,r)=>(r=e!=null?xp(Ip(e)):{},Op(t||!e||!e.__esModule?Un(r,"default",{value:e,enumerable:!0}):r,e));var q=rt(()=>{});var V=rt(()=>{});var J=rt(()=>{});function Mp(e,t,{signal:r,edges:n}={}){let o,a=null,i=n!=null&&n.includes("leading"),s=n==null||n.includes("trailing"),l=()=>{a!==null&&(e.apply(o,a),o=void 0,a=null)},c=()=>{s&&l(),y()},p=null,h=()=>{p!=null&&clearTimeout(p),p=setTimeout(()=>{p=null,c()},t)},d=()=>{p!==null&&(clearTimeout(p),p=null)},y=()=>{d(),o=void 0,a=null},g=()=>{d(),l()},A=function(...v){if(r?.aborted)return;o=this,a=v;let S=p==null;h(),i&&S&&l()};return A.schedule=h,A.cancel=y,A.flush=g,r?.addEventListener("abort",y,{once:!0}),A}function si(e,t=0,r={}){typeof r!="object"&&(r={});let{signal:n,leading:o=!1,trailing:a=!0,maxWait:i}=r,s=Array(2);o&&(s[0]="leading"),a&&(s[1]="trailing");let l,c=null,p=Mp(function(...y){l=e.apply(this,y),c=null},t,{signal:n,edges:s}),h=function(...y){if(i!=null){if(c===null)c=Date.now();else if(Date.now()-c>=i)return l=e.apply(this,y),c=Date.now(),p.cancel(),p.schedule(),l}return p.apply(this,y),l},d=()=>(p.flush(),l);return h.cancel=p.cancel,h.flush=d,h}function li(e){return Array.from(new Set(e))}function ui(e,t){let r={},n=Object.entries(e);for(let o=0;o{q();V();J();Vt=(e=>typeof je<"u"?je:typeof Proxy<"u"?new Proxy(e,{get:(t,r)=>(typeof je<"u"?je:t)[r]}):e)(function(e){if(typeof je<"u")return je.apply(this,arguments);throw Error('Dynamic require of "'+e+'" is not supported')}),Bp=Object.create,ai=Object.defineProperty,Pp=Object.getOwnPropertyDescriptor,ii=Object.getOwnPropertyNames,Np=Object.getPrototypeOf,jp=Object.prototype.hasOwnProperty,mr=(e=>typeof Vt<"u"?Vt:typeof Proxy<"u"?new Proxy(e,{get:(t,r)=>(typeof Vt<"u"?Vt:t)[r]}):e)(function(e){if(typeof Vt<"u")return Vt.apply(this,arguments);throw Error('Dynamic require of "'+e+'" is not supported')}),$e=(e,t)=>function(){return t||(0,e[ii(e)[0]])((t={exports:{}}).exports,t),t.exports},Lp=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of ii(t))!jp.call(e,o)&&o!==r&&ai(e,o,{get:()=>t[o],enumerable:!(n=Pp(t,o))||n.enumerable});return e},zt=(e,t,r)=>(r=e!=null?Bp(Np(e)):{},Lp(t||!e||!e.__esModule?ai(r,"default",{value:e,enumerable:!0}):r,e));qp="[object String]",Vp="[object Number]",Jp="[object Boolean]",zp="[object Arguments]";Le=e=>`control-${e.replace(/\s+/g,"-")}`,yr=e=>`set-${e.replace(/\s+/g,"-")}`});var f,di,dt,aA,iA,sA,lA,pi,uA,pe,gr,hi,cA,dA,pA,hA,fi,fA,mA,yA,Ce,mi,gA,bA,xe,EA,vA,AA,yi,pt,DA,Pe,Z,SA,wA,CA,Mr=rt(()=>{q();V();J();f=__REACT__,{Children:di,Component:dt,Fragment:aA,Profiler:iA,PureComponent:sA,StrictMode:lA,Suspense:pi,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:uA,cloneElement:pe,createContext:gr,createElement:hi,createFactory:cA,createRef:dA,forwardRef:pA,isValidElement:hA,lazy:fi,memo:fA,startTransition:mA,unstable_act:yA,useCallback:Ce,useContext:mi,useDebugValue:gA,useDeferredValue:bA,useEffect:xe,useId:EA,useImperativeHandle:vA,useInsertionEffect:AA,useLayoutEffect:yi,useMemo:pt,useReducer:DA,useRef:Pe,useState:Z,useSyncExternalStore:SA,useTransition:wA,version:CA}=__REACT__});var gi={};ni(gi,{A:()=>Wp,ActionBar:()=>qn,AddonPanel:()=>Vn,Badge:()=>Jn,Bar:()=>zn,Blockquote:()=>Kp,Button:()=>ht,ClipboardCode:()=>Yp,Code:()=>Xp,DL:()=>Qp,Div:()=>Zp,DocumentWrapper:()=>eh,EmptyTabContent:()=>Hn,ErrorFormatter:()=>th,FlexBar:()=>Gn,Form:()=>Ge,H1:()=>rh,H2:()=>Wn,H3:()=>nh,H4:()=>oh,H5:()=>ah,H6:()=>ih,HR:()=>sh,IconButton:()=>Ke,IconButtonSkeleton:()=>lh,Icons:()=>uh,Img:()=>ch,LI:()=>dh,Link:()=>xt,ListItem:()=>ph,Loader:()=>hh,Modal:()=>Ye,OL:()=>fh,P:()=>mh,Placeholder:()=>yh,Pre:()=>gh,ProgressSpinner:()=>bh,ResetWrapper:()=>Kn,ScrollArea:()=>Eh,Separator:()=>vh,Spaced:()=>Yn,Span:()=>Ah,StorybookIcon:()=>Dh,StorybookLogo:()=>Sh,Symbols:()=>wh,SyntaxHighlighter:()=>Ur,TT:()=>Ch,TabBar:()=>xh,TabButton:()=>Th,TabWrapper:()=>Fh,Table:()=>Ih,Tabs:()=>kh,TabsState:()=>Rh,TooltipLinkList:()=>Oh,TooltipMessage:()=>_h,TooltipNote:()=>Tt,UL:()=>Bh,WithTooltip:()=>ft,WithTooltipPure:()=>Xn,Zoom:()=>Qn,codeCommon:()=>Ht,components:()=>Zn,createCopyToClipboardFunction:()=>Ph,default:()=>Gp,getStoryHref:()=>Nh,icons:()=>jh,interleaveSeparators:()=>Lh,nameSpaceClassNames:()=>eo,resetComponents:()=>Mh,withReset:()=>Gt});var Gp,Wp,qn,Vn,Jn,zn,Kp,ht,Yp,Xp,Qp,Zp,eh,Hn,th,Gn,Ge,rh,Wn,nh,oh,ah,ih,sh,Ke,lh,uh,ch,dh,xt,ph,hh,Ye,fh,mh,yh,gh,bh,Kn,Eh,vh,Yn,Ah,Dh,Sh,wh,Ur,Ch,xh,Th,Fh,Ih,kh,Rh,Oh,_h,Tt,Bh,ft,Xn,Qn,Ht,Zn,Ph,Nh,jh,Lh,eo,Mh,Gt,$r=rt(()=>{q();V();J();Gp=__STORYBOOK_COMPONENTS__,{A:Wp,ActionBar:qn,AddonPanel:Vn,Badge:Jn,Bar:zn,Blockquote:Kp,Button:ht,ClipboardCode:Yp,Code:Xp,DL:Qp,Div:Zp,DocumentWrapper:eh,EmptyTabContent:Hn,ErrorFormatter:th,FlexBar:Gn,Form:Ge,H1:rh,H2:Wn,H3:nh,H4:oh,H5:ah,H6:ih,HR:sh,IconButton:Ke,IconButtonSkeleton:lh,Icons:uh,Img:ch,LI:dh,Link:xt,ListItem:ph,Loader:hh,Modal:Ye,OL:fh,P:mh,Placeholder:yh,Pre:gh,ProgressSpinner:bh,ResetWrapper:Kn,ScrollArea:Eh,Separator:vh,Spaced:Yn,Span:Ah,StorybookIcon:Dh,StorybookLogo:Sh,Symbols:wh,SyntaxHighlighter:Ur,TT:Ch,TabBar:xh,TabButton:Th,TabWrapper:Fh,Table:Ih,Tabs:kh,TabsState:Rh,TooltipLinkList:Oh,TooltipMessage:_h,TooltipNote:Tt,UL:Bh,WithTooltip:ft,WithTooltipPure:Xn,Zoom:Qn,codeCommon:Ht,components:Zn,createCopyToClipboardFunction:Ph,getStoryHref:Nh,icons:jh,interleaveSeparators:Lh,nameSpaceClassNames:eo,resetComponents:Mh,withReset:Gt}=__STORYBOOK_COMPONENTS__});var WD,KD,YD,XD,Vi,QD,Kr,Ji,ZD,eS,tS,rS,nS,oS,aS,zi,iS,sS,lo,lS,R,uo,uS,co,cS,po=rt(()=>{q();V();J();WD=__STORYBOOK_THEMING__,{CacheProvider:KD,ClassNames:YD,Global:XD,ThemeProvider:Vi,background:QD,color:Kr,convert:Ji,create:ZD,createCache:eS,createGlobal:tS,createReset:rS,css:nS,darken:oS,ensure:aS,ignoreSsrWarning:zi,isPropValid:iS,jsx:sS,keyframes:lo,lighten:lS,styled:R,themes:uo,typography:uS,useTheme:co,withTheme:cS}=__STORYBOOK_THEMING__});var ES,vS,AS,DS,ho,SS,wS,CS,xS,TS,FS,IS,kS,RS,OS,_S,BS,PS,NS,jS,LS,MS,US,$S,qS,VS,JS,zS,HS,GS,WS,KS,YS,XS,QS,ZS,ew,tw,rw,nw,ow,aw,iw,sw,lw,uw,cw,dw,pw,Wi,Ki,hw,Yi,fo,fw,mw,Xi,yw,gw,bw,Ew,vw,Aw,Dw,Sw,ww,Cw,xw,Tw,Fw,Iw,kw,Rw,Ow,_w,Bw,Pw,Nw,jw,Lw,Mw,Uw,$w,qw,Vw,Jw,zw,Hw,Gw,Ww,Kw,Yr,Yw,Xw,Qw,Zw,eC,tC,rC,Qi,Zi,nC,oC,aC,iC,sC,lC,uC,cC,dC,pC,hC,fC,mC,yC,gC,bC,EC,vC,AC,DC,SC,wC,CC,xC,TC,FC,IC,kC,RC,OC,_C,BC,PC,es,NC,jC,LC,MC,UC,$C,qC,ts,VC,JC,zC,HC,GC,WC,KC,YC,XC,QC,ZC,ex,tx,rx,nx,ox,ax,ix,sx,lx,ux,cx,dx,px,hx,fx,mx,yx,gx,bx,Ex,vx,Ax,Dx,Sx,wx,Cx,xx,Tx,Fx,Ix,kx,Rx,Ox,_x,Bx,Px,Nx,jx,Lx,Mx,Ux,$x,qx,Vx,Jx,zx,Hx,Gx,Wx,Kx,Yx,Xx,Qx,Zx,eT,tT,rs,rT,nT,oT,aT,iT,sT,lT,uT,cT,dT,pT,hT,fT,mo,mT,yT,gT,bT,ET,vT,AT,DT,ST,wT,ns,CT,xT,TT,FT,IT,kT,os,as,is,RT,yo=rt(()=>{q();V();J();ES=__STORYBOOK_ICONS__,{AccessibilityAltIcon:vS,AccessibilityIcon:AS,AccessibilityIgnoredIcon:DS,AddIcon:ho,AdminIcon:SS,AlertAltIcon:wS,AlertIcon:CS,AlignLeftIcon:xS,AlignRightIcon:TS,AppleIcon:FS,ArrowBottomLeftIcon:IS,ArrowBottomRightIcon:kS,ArrowDownIcon:RS,ArrowLeftIcon:OS,ArrowRightIcon:_S,ArrowSolidDownIcon:BS,ArrowSolidLeftIcon:PS,ArrowSolidRightIcon:NS,ArrowSolidUpIcon:jS,ArrowTopLeftIcon:LS,ArrowTopRightIcon:MS,ArrowUpIcon:US,AzureDevOpsIcon:$S,BackIcon:qS,BasketIcon:VS,BatchAcceptIcon:JS,BatchDenyIcon:zS,BeakerIcon:HS,BellIcon:GS,BitbucketIcon:WS,BoldIcon:KS,BookIcon:YS,BookmarkHollowIcon:XS,BookmarkIcon:QS,BottomBarIcon:ZS,BottomBarToggleIcon:ew,BoxIcon:tw,BranchIcon:rw,BrowserIcon:nw,ButtonIcon:ow,CPUIcon:aw,CalendarIcon:iw,CameraIcon:sw,CameraStabilizeIcon:lw,CategoryIcon:uw,CertificateIcon:cw,ChangedIcon:dw,ChatIcon:pw,CheckIcon:Wi,ChevronDownIcon:Ki,ChevronLeftIcon:hw,ChevronRightIcon:Yi,ChevronSmallDownIcon:fo,ChevronSmallLeftIcon:fw,ChevronSmallRightIcon:mw,ChevronSmallUpIcon:Xi,ChevronUpIcon:yw,ChromaticIcon:gw,ChromeIcon:bw,CircleHollowIcon:Ew,CircleIcon:vw,ClearIcon:Aw,CloseAltIcon:Dw,CloseIcon:Sw,CloudHollowIcon:ww,CloudIcon:Cw,CogIcon:xw,CollapseIcon:Tw,CommandIcon:Fw,CommentAddIcon:Iw,CommentIcon:kw,CommentsIcon:Rw,CommitIcon:Ow,CompassIcon:_w,ComponentDrivenIcon:Bw,ComponentIcon:Pw,ContrastIcon:Nw,ContrastIgnoredIcon:jw,ControlsIcon:Lw,CopyIcon:Mw,CreditIcon:Uw,CrossIcon:$w,DashboardIcon:qw,DatabaseIcon:Vw,DeleteIcon:Jw,DiamondIcon:zw,DirectionIcon:Hw,DiscordIcon:Gw,DocChartIcon:Ww,DocListIcon:Kw,DocumentIcon:Yr,DownloadIcon:Yw,DragIcon:Xw,EditIcon:Qw,EllipsisIcon:Zw,EmailIcon:eC,ExpandAltIcon:tC,ExpandIcon:rC,EyeCloseIcon:Qi,EyeIcon:Zi,FaceHappyIcon:nC,FaceNeutralIcon:oC,FaceSadIcon:aC,FacebookIcon:iC,FailedIcon:sC,FastForwardIcon:lC,FigmaIcon:uC,FilterIcon:cC,FlagIcon:dC,FolderIcon:pC,FormIcon:hC,GDriveIcon:fC,GithubIcon:mC,GitlabIcon:yC,GlobeIcon:gC,GoogleIcon:bC,GraphBarIcon:EC,GraphLineIcon:vC,GraphqlIcon:AC,GridAltIcon:DC,GridIcon:SC,GrowIcon:wC,HeartHollowIcon:CC,HeartIcon:xC,HomeIcon:TC,HourglassIcon:FC,InfoIcon:IC,ItalicIcon:kC,JumpToIcon:RC,KeyIcon:OC,LightningIcon:_C,LightningOffIcon:BC,LinkBrokenIcon:PC,LinkIcon:es,LinkedinIcon:NC,LinuxIcon:jC,ListOrderedIcon:LC,ListUnorderedIcon:MC,LocationIcon:UC,LockIcon:$C,MarkdownIcon:qC,MarkupIcon:ts,MediumIcon:VC,MemoryIcon:JC,MenuIcon:zC,MergeIcon:HC,MirrorIcon:GC,MobileIcon:WC,MoonIcon:KC,NutIcon:YC,OutboxIcon:XC,OutlineIcon:QC,PaintBrushIcon:ZC,PaperClipIcon:ex,ParagraphIcon:tx,PassedIcon:rx,PhoneIcon:nx,PhotoDragIcon:ox,PhotoIcon:ax,PhotoStabilizeIcon:ix,PinAltIcon:sx,PinIcon:lx,PlayAllHollowIcon:ux,PlayBackIcon:cx,PlayHollowIcon:dx,PlayIcon:px,PlayNextIcon:hx,PlusIcon:fx,PointerDefaultIcon:mx,PointerHandIcon:yx,PowerIcon:gx,PrintIcon:bx,ProceedIcon:Ex,ProfileIcon:vx,PullRequestIcon:Ax,QuestionIcon:Dx,RSSIcon:Sx,RedirectIcon:wx,ReduxIcon:Cx,RefreshIcon:xx,ReplyIcon:Tx,RepoIcon:Fx,RequestChangeIcon:Ix,RewindIcon:kx,RulerIcon:Rx,SaveIcon:Ox,SearchIcon:_x,ShareAltIcon:Bx,ShareIcon:Px,ShieldIcon:Nx,SideBySideIcon:jx,SidebarAltIcon:Lx,SidebarAltToggleIcon:Mx,SidebarIcon:Ux,SidebarToggleIcon:$x,SpeakerIcon:qx,StackedIcon:Vx,StarHollowIcon:Jx,StarIcon:zx,StatusFailIcon:Hx,StatusIcon:Gx,StatusPassIcon:Wx,StatusWarnIcon:Kx,StickerIcon:Yx,StopAltHollowIcon:Xx,StopAltIcon:Qx,StopIcon:Zx,StorybookIcon:eT,StructureIcon:tT,SubtractIcon:rs,SunIcon:rT,SupportIcon:nT,SwitchAltIcon:oT,SyncIcon:aT,TabletIcon:iT,ThumbsUpIcon:sT,TimeIcon:lT,TimerIcon:uT,TransferIcon:cT,TrashIcon:dT,TwitterIcon:pT,TypeIcon:hT,UbuntuIcon:fT,UndoIcon:mo,UnfoldIcon:mT,UnlockIcon:yT,UnpinIcon:gT,UploadIcon:bT,UserAddIcon:ET,UserAltIcon:vT,UserIcon:AT,UsersIcon:DT,VSCodeIcon:ST,VerifiedIcon:wT,VideoIcon:ns,WandIcon:CT,WatchIcon:xT,WindowsIcon:TT,WrenchIcon:FT,XIcon:IT,YoutubeIcon:kT,ZoomIcon:os,ZoomOutIcon:as,ZoomResetIcon:is,iconList:RT}=__STORYBOOK_ICONS__});var fu=Rp((yn,hu)=>{q();V();J();(function(e,t){typeof yn=="object"&&typeof hu<"u"?t(yn):typeof define=="function"&&define.amd?define(["exports"],t):(e=typeof globalThis<"u"?globalThis:e||self,t(e.jtpp={}))})(yn,function(e){"use strict";function t(u){return u.text!==void 0&&u.text!==""?`'${u.type}' with value '${u.text}'`:`'${u.type}'`}class r extends Error{constructor(m){super(`No parslet found for token: ${t(m)}`),this.token=m,Object.setPrototypeOf(this,r.prototype)}getToken(){return this.token}}class n extends Error{constructor(m){super(`The parsing ended early. The next token was: ${t(m)}`),this.token=m,Object.setPrototypeOf(this,n.prototype)}getToken(){return this.token}}class o extends Error{constructor(m,E){let I=`Unexpected type: '${m.type}'.`;E!==void 0&&(I+=` Message: ${E}`),super(I),Object.setPrototypeOf(this,o.prototype)}}function a(u){return m=>m.startsWith(u)?{type:u,text:u}:null}function i(u){let m=0,E,I=u[0],N=!1;if(I!=="'"&&I!=='"')return null;for(;m{let m=c(u);return m==null?null:{type:"Identifier",text:m}};function y(u){return m=>{if(!m.startsWith(u))return null;let E=m[u.length];return E!==void 0&&l.test(E)?null:{type:u,text:u}}}let g=u=>{let m=i(u);return m==null?null:{type:"StringValue",text:m}},A=u=>u.length>0?null:{type:"EOF",text:""},v=u=>{let m=h(u);return m===null?null:{type:"Number",text:m}},S=[A,a("=>"),a("("),a(")"),a("{"),a("}"),a("["),a("]"),a("|"),a("&"),a("<"),a(">"),a(","),a(";"),a("*"),a("?"),a("!"),a("="),a(":"),a("..."),a("."),a("#"),a("~"),a("/"),a("@"),y("undefined"),y("null"),y("function"),y("this"),y("new"),y("module"),y("event"),y("external"),y("typeof"),y("keyof"),y("readonly"),y("import"),y("is"),y("in"),y("asserts"),v,d,g],w=/^\s*\n\s*/;class x{static create(m){let E=this.read(m);m=E.text;let I=this.read(m);return m=I.text,new x(m,void 0,E.token,I.token)}constructor(m,E,I,N){this.text="",this.text=m,this.previous=E,this.current=I,this.next=N}static read(m,E=!1){E=E||w.test(m),m=m.trim();for(let I of S){let N=I(m);if(N!==null){let H=Object.assign(Object.assign({},N),{startOfLine:E});return m=m.slice(H.text.length),{text:m,token:H}}}throw new Error("Unexpected Token "+m)}advance(){let m=x.read(this.text);return new x(m.text,this.current,this.next,m.token)}}function C(u){if(u===void 0)throw new Error("Unexpected undefined");if(u.type==="JsdocTypeKeyValue"||u.type==="JsdocTypeParameterList"||u.type==="JsdocTypeProperty"||u.type==="JsdocTypeReadonlyProperty"||u.type==="JsdocTypeObjectField"||u.type==="JsdocTypeJsdocObjectField"||u.type==="JsdocTypeIndexSignature"||u.type==="JsdocTypeMappedType")throw new o(u);return u}function k(u){return u.type==="JsdocTypeKeyValue"?_(u):C(u)}function F(u){return u.type==="JsdocTypeName"?u:_(u)}function _(u){if(u.type!=="JsdocTypeKeyValue")throw new o(u);return u}function j(u){var m;if(u.type==="JsdocTypeVariadic"){if(((m=u.element)===null||m===void 0?void 0:m.type)==="JsdocTypeName")return u;throw new o(u)}if(u.type!=="JsdocTypeNumber"&&u.type!=="JsdocTypeName")throw new o(u);return u}function M(u){return u.type==="JsdocTypeIndexSignature"||u.type==="JsdocTypeMappedType"}var P;(function(u){u[u.ALL=0]="ALL",u[u.PARAMETER_LIST=1]="PARAMETER_LIST",u[u.OBJECT=2]="OBJECT",u[u.KEY_VALUE=3]="KEY_VALUE",u[u.INDEX_BRACKETS=4]="INDEX_BRACKETS",u[u.UNION=5]="UNION",u[u.INTERSECTION=6]="INTERSECTION",u[u.PREFIX=7]="PREFIX",u[u.INFIX=8]="INFIX",u[u.TUPLE=9]="TUPLE",u[u.SYMBOL=10]="SYMBOL",u[u.OPTIONAL=11]="OPTIONAL",u[u.NULLABLE=12]="NULLABLE",u[u.KEY_OF_TYPE_OF=13]="KEY_OF_TYPE_OF",u[u.FUNCTION=14]="FUNCTION",u[u.ARROW=15]="ARROW",u[u.ARRAY_BRACKETS=16]="ARRAY_BRACKETS",u[u.GENERIC=17]="GENERIC",u[u.NAME_PATH=18]="NAME_PATH",u[u.PARENTHESIS=19]="PARENTHESIS",u[u.SPECIAL_TYPES=20]="SPECIAL_TYPES"})(P||(P={}));class W{constructor(m,E,I){this.grammar=m,typeof E=="string"?this._lexer=x.create(E):this._lexer=E,this.baseParser=I}get lexer(){return this._lexer}parse(){let m=this.parseType(P.ALL);if(this.lexer.current.type!=="EOF")throw new n(this.lexer.current);return m}parseType(m){return C(this.parseIntermediateType(m))}parseIntermediateType(m){let E=this.tryParslets(null,m);if(E===null)throw new r(this.lexer.current);return this.parseInfixIntermediateType(E,m)}parseInfixIntermediateType(m,E){let I=this.tryParslets(m,E);for(;I!==null;)m=I,I=this.tryParslets(m,E);return m}tryParslets(m,E){for(let I of this.grammar){let N=I(this,E,m);if(N!==null)return N}return null}consume(m){return Array.isArray(m)||(m=[m]),m.includes(this.lexer.current.type)?(this._lexer=this.lexer.advance(),!0):!1}acceptLexerState(m){this._lexer=m.lexer}}function L(u){return u==="EOF"||u==="|"||u===","||u===")"||u===">"}let z=(u,m,E)=>{let I=u.lexer.current.type,N=u.lexer.next.type;return E==null&&I==="?"&&!L(N)||E!=null&&I==="?"?(u.consume("?"),E==null?{type:"JsdocTypeNullable",element:u.parseType(P.NULLABLE),meta:{position:"prefix"}}:{type:"JsdocTypeNullable",element:C(E),meta:{position:"suffix"}}):null};function D(u){let m=(E,I,N)=>{let H=E.lexer.current.type,Y=E.lexer.next.type;if(N===null){if("parsePrefix"in u&&u.accept(H,Y))return u.parsePrefix(E)}else if("parseInfix"in u&&u.precedence>I&&u.accept(H,Y))return u.parseInfix(E,N);return null};return Object.defineProperty(m,"name",{value:u.name}),m}let T=D({name:"optionalParslet",accept:u=>u==="=",precedence:P.OPTIONAL,parsePrefix:u=>(u.consume("="),{type:"JsdocTypeOptional",element:u.parseType(P.OPTIONAL),meta:{position:"prefix"}}),parseInfix:(u,m)=>(u.consume("="),{type:"JsdocTypeOptional",element:C(m),meta:{position:"suffix"}})}),O=D({name:"numberParslet",accept:u=>u==="Number",parsePrefix:u=>{let m=parseFloat(u.lexer.current.text);return u.consume("Number"),{type:"JsdocTypeNumber",value:m}}}),U=D({name:"parenthesisParslet",accept:u=>u==="(",parsePrefix:u=>{if(u.consume("("),u.consume(")"))return{type:"JsdocTypeParameterList",elements:[]};let m=u.parseIntermediateType(P.ALL);if(!u.consume(")"))throw new Error("Unterminated parenthesis");return m.type==="JsdocTypeParameterList"?m:m.type==="JsdocTypeKeyValue"?{type:"JsdocTypeParameterList",elements:[m]}:{type:"JsdocTypeParenthesis",element:C(m)}}}),$=D({name:"specialTypesParslet",accept:(u,m)=>u==="?"&&L(m)||u==="null"||u==="undefined"||u==="*",parsePrefix:u=>{if(u.consume("null"))return{type:"JsdocTypeNull"};if(u.consume("undefined"))return{type:"JsdocTypeUndefined"};if(u.consume("*"))return{type:"JsdocTypeAny"};if(u.consume("?"))return{type:"JsdocTypeUnknown"};throw new Error("Unacceptable token: "+u.lexer.current.text)}}),X=D({name:"notNullableParslet",accept:u=>u==="!",precedence:P.NULLABLE,parsePrefix:u=>(u.consume("!"),{type:"JsdocTypeNotNullable",element:u.parseType(P.NULLABLE),meta:{position:"prefix"}}),parseInfix:(u,m)=>(u.consume("!"),{type:"JsdocTypeNotNullable",element:C(m),meta:{position:"suffix"}})});function se({allowTrailingComma:u}){return D({name:"parameterListParslet",accept:m=>m===",",precedence:P.PARAMETER_LIST,parseInfix:(m,E)=>{let I=[k(E)];m.consume(",");do try{let N=m.parseIntermediateType(P.PARAMETER_LIST);I.push(k(N))}catch(N){if(u&&N instanceof r)break;throw N}while(m.consume(","));if(I.length>0&&I.slice(0,-1).some(N=>N.type==="JsdocTypeVariadic"))throw new Error("Only the last parameter may be a rest parameter");return{type:"JsdocTypeParameterList",elements:I}}})}let te=D({name:"genericParslet",accept:(u,m)=>u==="<"||u==="."&&m==="<",precedence:P.GENERIC,parseInfix:(u,m)=>{let E=u.consume(".");u.consume("<");let I=[];do I.push(u.parseType(P.PARAMETER_LIST));while(u.consume(","));if(!u.consume(">"))throw new Error("Unterminated generic parameter list");return{type:"JsdocTypeGeneric",left:C(m),elements:I,meta:{brackets:"angle",dot:E}}}}),Q=D({name:"unionParslet",accept:u=>u==="|",precedence:P.UNION,parseInfix:(u,m)=>{u.consume("|");let E=[];do E.push(u.parseType(P.UNION));while(u.consume("|"));return{type:"JsdocTypeUnion",elements:[C(m),...E]}}}),re=[z,T,O,U,$,X,se({allowTrailingComma:!0}),te,Q,T];function ve({allowSquareBracketsOnAnyType:u,allowJsdocNamePaths:m,pathGrammar:E}){return function(N,H,Y){if(Y==null||H>=P.NAME_PATH)return null;let ne=N.lexer.current.type,ke=N.lexer.next.type;if(!(ne==="."&&ke!=="<"||ne==="["&&(u||Y.type==="JsdocTypeName")||m&&(ne==="~"||ne==="#")))return null;let qe,Lr=!1;N.consume(".")?qe="property":N.consume("[")?(qe="property-brackets",Lr=!0):N.consume("~")?qe="inner":(N.consume("#"),qe="instance");let ti=E!==null?new W(E,N.lexer,N):N,tt=ti.parseIntermediateType(P.NAME_PATH);N.acceptLexerState(ti);let fr;switch(tt.type){case"JsdocTypeName":fr={type:"JsdocTypeProperty",value:tt.value,meta:{quote:void 0}};break;case"JsdocTypeNumber":fr={type:"JsdocTypeProperty",value:tt.value.toString(10),meta:{quote:void 0}};break;case"JsdocTypeStringValue":fr={type:"JsdocTypeProperty",value:tt.value,meta:{quote:tt.meta.quote}};break;case"JsdocTypeSpecialNamePath":if(tt.specialType==="event")fr=tt;else throw new o(tt,"Type 'JsdocTypeSpecialNamePath' is only allowed with specialType 'event'");break;default:throw new o(tt,"Expecting 'JsdocTypeName', 'JsdocTypeNumber', 'JsdocStringValue' or 'JsdocTypeSpecialNamePath'")}if(Lr&&!N.consume("]")){let ri=N.lexer.current;throw new Error(`Unterminated square brackets. Next token is '${ri.type}' with text '${ri.text}'`)}return{type:"JsdocTypeNamePath",left:C(Y),right:fr,pathType:qe}}}function de({allowedAdditionalTokens:u}){return D({name:"nameParslet",accept:m=>m==="Identifier"||m==="this"||m==="new"||u.includes(m),parsePrefix:m=>{let{type:E,text:I}=m.lexer.current;return m.consume(E),{type:"JsdocTypeName",value:I}}})}let Fe=D({name:"stringValueParslet",accept:u=>u==="StringValue",parsePrefix:u=>{let m=u.lexer.current.text;return u.consume("StringValue"),{type:"JsdocTypeStringValue",value:m.slice(1,-1),meta:{quote:m[0]==="'"?"single":"double"}}}});function le({pathGrammar:u,allowedTypes:m}){return D({name:"specialNamePathParslet",accept:E=>m.includes(E),parsePrefix:E=>{let I=E.lexer.current.type;if(E.consume(I),!E.consume(":"))return{type:"JsdocTypeName",value:I};let N,H=E.lexer.current;if(E.consume("StringValue"))N={type:"JsdocTypeSpecialNamePath",value:H.text.slice(1,-1),specialType:I,meta:{quote:H.text[0]==="'"?"single":"double"}};else{let ke="",we=["Identifier","@","/"];for(;we.some(qe=>E.consume(qe));)ke+=H.text,H=E.lexer.current;N={type:"JsdocTypeSpecialNamePath",value:ke,specialType:I,meta:{quote:void 0}}}let Y=new W(u,E.lexer,E),ne=Y.parseInfixIntermediateType(N,P.ALL);return E.acceptLexerState(Y),C(ne)}})}let He=[de({allowedAdditionalTokens:["external","module"]}),Fe,O,ve({allowSquareBracketsOnAnyType:!1,allowJsdocNamePaths:!0,pathGrammar:null})],Ue=[...He,le({allowedTypes:["event"],pathGrammar:He})];function et(u){let m;if(u.type==="JsdocTypeParameterList")m=u.elements;else if(u.type==="JsdocTypeParenthesis")m=[u.element];else throw new o(u);return m.map(E=>k(E))}function dr(u){let m=et(u);if(m.some(E=>E.type==="JsdocTypeKeyValue"))throw new Error("No parameter should be named");return m}function $t({allowNamedParameters:u,allowNoReturnType:m,allowWithoutParenthesis:E,allowNewAsFunctionKeyword:I}){return D({name:"functionParslet",accept:(N,H)=>N==="function"||I&&N==="new"&&H==="(",parsePrefix:N=>{let H=N.consume("new");N.consume("function");let Y=N.lexer.current.type==="(";if(!Y){if(!E)throw new Error("function is missing parameter list");return{type:"JsdocTypeName",value:"function"}}let ne={type:"JsdocTypeFunction",parameters:[],arrow:!1,constructor:H,parenthesis:Y},ke=N.parseIntermediateType(P.FUNCTION);if(u===void 0)ne.parameters=dr(ke);else{if(H&&ke.type==="JsdocTypeFunction"&&ke.arrow)return ne=ke,ne.constructor=!0,ne;ne.parameters=et(ke);for(let we of ne.parameters)if(we.type==="JsdocTypeKeyValue"&&!u.includes(we.key))throw new Error(`only allowed named parameters are ${u.join(", ")} but got ${we.type}`)}if(N.consume(":"))ne.returnType=N.parseType(P.PREFIX);else if(!m)throw new Error("function is missing return type");return ne}})}function pr({allowPostfix:u,allowEnclosingBrackets:m}){return D({name:"variadicParslet",accept:E=>E==="...",precedence:P.PREFIX,parsePrefix:E=>{E.consume("...");let I=m&&E.consume("[");try{let N=E.parseType(P.PREFIX);if(I&&!E.consume("]"))throw new Error("Unterminated variadic type. Missing ']'");return{type:"JsdocTypeVariadic",element:C(N),meta:{position:"prefix",squareBrackets:I}}}catch(N){if(N instanceof r){if(I)throw new Error("Empty square brackets for variadic are not allowed.");return{type:"JsdocTypeVariadic",meta:{position:void 0,squareBrackets:!1}}}else throw N}},parseInfix:u?(E,I)=>(E.consume("..."),{type:"JsdocTypeVariadic",element:C(I),meta:{position:"suffix",squareBrackets:!1}}):void 0})}let Pr=D({name:"symbolParslet",accept:u=>u==="(",precedence:P.SYMBOL,parseInfix:(u,m)=>{if(m.type!=="JsdocTypeName")throw new Error("Symbol expects a name on the left side. (Reacting on '(')");u.consume("(");let E={type:"JsdocTypeSymbol",value:m.value};if(!u.consume(")")){let I=u.parseIntermediateType(P.SYMBOL);if(E.element=j(I),!u.consume(")"))throw new Error("Symbol does not end after value")}return E}}),Ne=D({name:"arrayBracketsParslet",precedence:P.ARRAY_BRACKETS,accept:(u,m)=>u==="["&&m==="]",parseInfix:(u,m)=>(u.consume("["),u.consume("]"),{type:"JsdocTypeGeneric",left:{type:"JsdocTypeName",value:"Array"},elements:[C(m)],meta:{brackets:"square",dot:!1}})});function Be({objectFieldGrammar:u,allowKeyTypes:m}){return D({name:"objectParslet",accept:E=>E==="{",parsePrefix:E=>{E.consume("{");let I={type:"JsdocTypeObject",meta:{separator:"comma"},elements:[]};if(!E.consume("}")){let N,H=new W(u,E.lexer,E);for(;;){H.acceptLexerState(E);let Y=H.parseIntermediateType(P.OBJECT);E.acceptLexerState(H),Y===void 0&&m&&(Y=E.parseIntermediateType(P.OBJECT));let ne=!1;if(Y.type==="JsdocTypeNullable"&&(ne=!0,Y=Y.element),Y.type==="JsdocTypeNumber"||Y.type==="JsdocTypeName"||Y.type==="JsdocTypeStringValue"){let we;Y.type==="JsdocTypeStringValue"&&(we=Y.meta.quote),I.elements.push({type:"JsdocTypeObjectField",key:Y.value.toString(),right:void 0,optional:ne,readonly:!1,meta:{quote:we}})}else if(Y.type==="JsdocTypeObjectField"||Y.type==="JsdocTypeJsdocObjectField")I.elements.push(Y);else throw new o(Y);if(E.lexer.current.startOfLine)N="linebreak";else if(E.consume(","))N="comma";else if(E.consume(";"))N="semicolon";else break;if(E.lexer.current.type==="}")break}if(I.meta.separator=N??"comma",!E.consume("}"))throw new Error("Unterminated record type. Missing '}'")}return I}})}function lt({allowSquaredProperties:u,allowKeyTypes:m,allowReadonly:E,allowOptional:I}){return D({name:"objectFieldParslet",precedence:P.KEY_VALUE,accept:N=>N===":",parseInfix:(N,H)=>{var Y;let ne=!1,ke=!1;I&&H.type==="JsdocTypeNullable"&&(ne=!0,H=H.element),E&&H.type==="JsdocTypeReadonlyProperty"&&(ke=!0,H=H.element);let we=(Y=N.baseParser)!==null&&Y!==void 0?Y:N;if(we.acceptLexerState(N),H.type==="JsdocTypeNumber"||H.type==="JsdocTypeName"||H.type==="JsdocTypeStringValue"||M(H)){if(M(H)&&!u)throw new o(H);we.consume(":");let qe;H.type==="JsdocTypeStringValue"&&(qe=H.meta.quote);let Lr=we.parseType(P.KEY_VALUE);return N.acceptLexerState(we),{type:"JsdocTypeObjectField",key:M(H)?H:H.value.toString(),right:Lr,optional:ne,readonly:ke,meta:{quote:qe}}}else{if(!m)throw new o(H);we.consume(":");let qe=we.parseType(P.KEY_VALUE);return N.acceptLexerState(we),{type:"JsdocTypeJsdocObjectField",left:C(H),right:qe}}}})}function qt({allowOptional:u,allowVariadic:m}){return D({name:"keyValueParslet",precedence:P.KEY_VALUE,accept:E=>E===":",parseInfix:(E,I)=>{let N=!1,H=!1;if(u&&I.type==="JsdocTypeNullable"&&(N=!0,I=I.element),m&&I.type==="JsdocTypeVariadic"&&I.element!==void 0&&(H=!0,I=I.element),I.type!=="JsdocTypeName")throw new o(I);E.consume(":");let Y=E.parseType(P.KEY_VALUE);return{type:"JsdocTypeKeyValue",key:I.value,right:Y,optional:N,variadic:H}}})}let Nr=[...re,$t({allowWithoutParenthesis:!0,allowNamedParameters:["this","new"],allowNoReturnType:!0,allowNewAsFunctionKeyword:!1}),Fe,le({allowedTypes:["module","external","event"],pathGrammar:Ue}),pr({allowEnclosingBrackets:!0,allowPostfix:!0}),de({allowedAdditionalTokens:["keyof"]}),Pr,Ne,ve({allowSquareBracketsOnAnyType:!1,allowJsdocNamePaths:!0,pathGrammar:Ue})],jn=[...Nr,Be({objectFieldGrammar:[de({allowedAdditionalTokens:["module","in"]}),lt({allowSquaredProperties:!1,allowKeyTypes:!0,allowOptional:!1,allowReadonly:!1}),...Nr],allowKeyTypes:!0}),qt({allowOptional:!0,allowVariadic:!0})],Ya=D({name:"typeOfParslet",accept:u=>u==="typeof",parsePrefix:u=>(u.consume("typeof"),{type:"JsdocTypeTypeof",element:C(u.parseType(P.KEY_OF_TYPE_OF))})}),rp=[de({allowedAdditionalTokens:["module","keyof","event","external","in"]}),z,T,Fe,O,lt({allowSquaredProperties:!1,allowKeyTypes:!1,allowOptional:!1,allowReadonly:!1})],np=[...re,Be({allowKeyTypes:!1,objectFieldGrammar:rp}),de({allowedAdditionalTokens:["event","external","in"]}),Ya,$t({allowWithoutParenthesis:!1,allowNamedParameters:["this","new"],allowNoReturnType:!0,allowNewAsFunctionKeyword:!1}),pr({allowEnclosingBrackets:!1,allowPostfix:!1}),de({allowedAdditionalTokens:["keyof"]}),le({allowedTypes:["module"],pathGrammar:Ue}),ve({allowSquareBracketsOnAnyType:!1,allowJsdocNamePaths:!0,pathGrammar:Ue}),qt({allowOptional:!1,allowVariadic:!1}),Pr],op=D({name:"assertsParslet",accept:u=>u==="asserts",parsePrefix:u=>{u.consume("asserts");let m=u.parseIntermediateType(P.SYMBOL);if(m.type!=="JsdocTypeName")throw new o(m,"A typescript asserts always has to have a name on the left side.");return u.consume("is"),{type:"JsdocTypeAsserts",left:m,right:C(u.parseIntermediateType(P.INFIX))}}});function ap({allowQuestionMark:u}){return D({name:"tupleParslet",accept:m=>m==="[",parsePrefix:m=>{m.consume("[");let E={type:"JsdocTypeTuple",elements:[]};if(m.consume("]"))return E;let I=m.parseIntermediateType(P.ALL);if(I.type==="JsdocTypeParameterList"?I.elements[0].type==="JsdocTypeKeyValue"?E.elements=I.elements.map(_):E.elements=I.elements.map(C):I.type==="JsdocTypeKeyValue"?E.elements=[_(I)]:E.elements=[C(I)],!m.consume("]"))throw new Error("Unterminated '['");if(!u&&E.elements.some(N=>N.type==="JsdocTypeUnknown"))throw new Error("Question mark in tuple not allowed");return E}})}let ip=D({name:"keyOfParslet",accept:u=>u==="keyof",parsePrefix:u=>(u.consume("keyof"),{type:"JsdocTypeKeyof",element:C(u.parseType(P.KEY_OF_TYPE_OF))})}),sp=D({name:"importParslet",accept:u=>u==="import",parsePrefix:u=>{if(u.consume("import"),!u.consume("("))throw new Error("Missing parenthesis after import keyword");let m=u.parseType(P.PREFIX);if(m.type!=="JsdocTypeStringValue")throw new Error("Only string values are allowed as paths for imports");if(!u.consume(")"))throw new Error("Missing closing parenthesis after import keyword");return{type:"JsdocTypeImport",element:m}}}),lp=D({name:"readonlyPropertyParslet",accept:u=>u==="readonly",parsePrefix:u=>(u.consume("readonly"),{type:"JsdocTypeReadonlyProperty",element:u.parseType(P.KEY_VALUE)})}),up=D({name:"arrowFunctionParslet",precedence:P.ARROW,accept:u=>u==="=>",parseInfix:(u,m)=>(u.consume("=>"),{type:"JsdocTypeFunction",parameters:et(m).map(F),arrow:!0,constructor:!1,parenthesis:!0,returnType:u.parseType(P.OBJECT)})}),cp=D({name:"intersectionParslet",accept:u=>u==="&",precedence:P.INTERSECTION,parseInfix:(u,m)=>{u.consume("&");let E=[];do E.push(u.parseType(P.INTERSECTION));while(u.consume("&"));return{type:"JsdocTypeIntersection",elements:[C(m),...E]}}}),dp=D({name:"predicateParslet",precedence:P.INFIX,accept:u=>u==="is",parseInfix:(u,m)=>{if(m.type!=="JsdocTypeName")throw new o(m,"A typescript predicate always has to have a name on the left side.");return u.consume("is"),{type:"JsdocTypePredicate",left:m,right:C(u.parseIntermediateType(P.INFIX))}}}),pp=D({name:"objectSquareBracketPropertyParslet",accept:u=>u==="[",parsePrefix:u=>{if(u.baseParser===void 0)throw new Error("Only allowed inside object grammar");u.consume("[");let m=u.lexer.current.text;u.consume("Identifier");let E;if(u.consume(":")){let I=u.baseParser;I.acceptLexerState(u),E={type:"JsdocTypeIndexSignature",key:m,right:I.parseType(P.INDEX_BRACKETS)},u.acceptLexerState(I)}else if(u.consume("in")){let I=u.baseParser;I.acceptLexerState(u),E={type:"JsdocTypeMappedType",key:m,right:I.parseType(P.ARRAY_BRACKETS)},u.acceptLexerState(I)}else throw new Error("Missing ':' or 'in' inside square bracketed property.");if(!u.consume("]"))throw new Error("Unterminated square brackets");return E}}),hp=[lp,de({allowedAdditionalTokens:["module","event","keyof","event","external","in"]}),z,T,Fe,O,lt({allowSquaredProperties:!0,allowKeyTypes:!1,allowOptional:!0,allowReadonly:!0}),pp],fp=[...re,Be({allowKeyTypes:!1,objectFieldGrammar:hp}),Ya,ip,sp,Fe,$t({allowWithoutParenthesis:!0,allowNoReturnType:!1,allowNamedParameters:["this","new","args"],allowNewAsFunctionKeyword:!0}),ap({allowQuestionMark:!1}),pr({allowEnclosingBrackets:!1,allowPostfix:!1}),op,de({allowedAdditionalTokens:["event","external","in"]}),le({allowedTypes:["module"],pathGrammar:Ue}),Ne,up,ve({allowSquareBracketsOnAnyType:!0,allowJsdocNamePaths:!1,pathGrammar:Ue}),cp,dp,qt({allowVariadic:!0,allowOptional:!0})];function Xa(u,m){switch(m){case"closure":return new W(np,u).parse();case"jsdoc":return new W(jn,u).parse();case"typescript":return new W(fp,u).parse()}}function mp(u,m=["typescript","closure","jsdoc"]){let E;for(let I of m)try{return Xa(u,I)}catch(N){E=N}throw E}function hr(u,m){let E=u[m.type];if(E===void 0)throw new Error(`In this set of transform rules exists no rule for type ${m.type}.`);return E(m,I=>hr(u,I))}function Ie(u){throw new Error("This transform is not available. Are you trying the correct parsing mode?")}function Qa(u){let m={params:[]};for(let E of u.parameters)E.type==="JsdocTypeKeyValue"?E.key==="this"?m.this=E.right:E.key==="new"?m.new=E.right:m.params.push(E):m.params.push(E);return m}function jr(u,m,E){return u==="prefix"?E+m:m+E}function ut(u,m){switch(m){case"double":return`"${u}"`;case"single":return`'${u}'`;case void 0:return u}}function Za(){return{JsdocTypeParenthesis:(u,m)=>`(${u.element!==void 0?m(u.element):""})`,JsdocTypeKeyof:(u,m)=>`keyof ${m(u.element)}`,JsdocTypeFunction:(u,m)=>{if(u.arrow){if(u.returnType===void 0)throw new Error("Arrow function needs a return type.");let E=`(${u.parameters.map(m).join(", ")}) => ${m(u.returnType)}`;return u.constructor&&(E="new "+E),E}else{let E=u.constructor?"new":"function";return u.parenthesis&&(E+=`(${u.parameters.map(m).join(", ")})`,u.returnType!==void 0&&(E+=`: ${m(u.returnType)}`)),E}},JsdocTypeName:u=>u.value,JsdocTypeTuple:(u,m)=>`[${u.elements.map(m).join(", ")}]`,JsdocTypeVariadic:(u,m)=>u.meta.position===void 0?"...":jr(u.meta.position,m(u.element),"..."),JsdocTypeNamePath:(u,m)=>{let E=m(u.left),I=m(u.right);switch(u.pathType){case"inner":return`${E}~${I}`;case"instance":return`${E}#${I}`;case"property":return`${E}.${I}`;case"property-brackets":return`${E}[${I}]`}},JsdocTypeStringValue:u=>ut(u.value,u.meta.quote),JsdocTypeAny:()=>"*",JsdocTypeGeneric:(u,m)=>{if(u.meta.brackets==="square"){let E=u.elements[0],I=m(E);return E.type==="JsdocTypeUnion"||E.type==="JsdocTypeIntersection"?`(${I})[]`:`${I}[]`}else return`${m(u.left)}${u.meta.dot?".":""}<${u.elements.map(m).join(", ")}>`},JsdocTypeImport:(u,m)=>`import(${m(u.element)})`,JsdocTypeObjectField:(u,m)=>{let E="";return u.readonly&&(E+="readonly "),typeof u.key=="string"?E+=ut(u.key,u.meta.quote):E+=m(u.key),u.optional&&(E+="?"),u.right===void 0?E:E+`: ${m(u.right)}`},JsdocTypeJsdocObjectField:(u,m)=>`${m(u.left)}: ${m(u.right)}`,JsdocTypeKeyValue:(u,m)=>{let E=u.key;return u.optional&&(E+="?"),u.variadic&&(E="..."+E),u.right===void 0?E:E+`: ${m(u.right)}`},JsdocTypeSpecialNamePath:u=>`${u.specialType}:${ut(u.value,u.meta.quote)}`,JsdocTypeNotNullable:(u,m)=>jr(u.meta.position,m(u.element),"!"),JsdocTypeNull:()=>"null",JsdocTypeNullable:(u,m)=>jr(u.meta.position,m(u.element),"?"),JsdocTypeNumber:u=>u.value.toString(),JsdocTypeObject:(u,m)=>`{${u.elements.map(m).join((u.meta.separator==="comma"?",":";")+" ")}}`,JsdocTypeOptional:(u,m)=>jr(u.meta.position,m(u.element),"="),JsdocTypeSymbol:(u,m)=>`${u.value}(${u.element!==void 0?m(u.element):""})`,JsdocTypeTypeof:(u,m)=>`typeof ${m(u.element)}`,JsdocTypeUndefined:()=>"undefined",JsdocTypeUnion:(u,m)=>u.elements.map(m).join(" | "),JsdocTypeUnknown:()=>"?",JsdocTypeIntersection:(u,m)=>u.elements.map(m).join(" & "),JsdocTypeProperty:u=>ut(u.value,u.meta.quote),JsdocTypePredicate:(u,m)=>`${m(u.left)} is ${m(u.right)}`,JsdocTypeIndexSignature:(u,m)=>`[${u.key}: ${m(u.right)}]`,JsdocTypeMappedType:(u,m)=>`[${u.key} in ${m(u.right)}]`,JsdocTypeAsserts:(u,m)=>`asserts ${m(u.left)} is ${m(u.right)}`}}let yp=Za();function gp(u){return hr(yp,u)}let bp=["null","true","false","break","case","catch","class","const","continue","debugger","default","delete","do","else","export","extends","finally","for","function","if","import","in","instanceof","new","return","super","switch","this","throw","try","typeof","var","void","while","with","yield"];function ct(u){let m={type:"NameExpression",name:u};return bp.includes(u)&&(m.reservedWord=!0),m}let Ep={JsdocTypeOptional:(u,m)=>{let E=m(u.element);return E.optional=!0,E},JsdocTypeNullable:(u,m)=>{let E=m(u.element);return E.nullable=!0,E},JsdocTypeNotNullable:(u,m)=>{let E=m(u.element);return E.nullable=!1,E},JsdocTypeVariadic:(u,m)=>{if(u.element===void 0)throw new Error("dots without value are not allowed in catharsis mode");let E=m(u.element);return E.repeatable=!0,E},JsdocTypeAny:()=>({type:"AllLiteral"}),JsdocTypeNull:()=>({type:"NullLiteral"}),JsdocTypeStringValue:u=>ct(ut(u.value,u.meta.quote)),JsdocTypeUndefined:()=>({type:"UndefinedLiteral"}),JsdocTypeUnknown:()=>({type:"UnknownLiteral"}),JsdocTypeFunction:(u,m)=>{let E=Qa(u),I={type:"FunctionType",params:E.params.map(m)};return E.this!==void 0&&(I.this=m(E.this)),E.new!==void 0&&(I.new=m(E.new)),u.returnType!==void 0&&(I.result=m(u.returnType)),I},JsdocTypeGeneric:(u,m)=>({type:"TypeApplication",applications:u.elements.map(E=>m(E)),expression:m(u.left)}),JsdocTypeSpecialNamePath:u=>ct(u.specialType+":"+ut(u.value,u.meta.quote)),JsdocTypeName:u=>u.value!=="function"?ct(u.value):{type:"FunctionType",params:[]},JsdocTypeNumber:u=>ct(u.value.toString()),JsdocTypeObject:(u,m)=>{let E={type:"RecordType",fields:[]};for(let I of u.elements)I.type!=="JsdocTypeObjectField"&&I.type!=="JsdocTypeJsdocObjectField"?E.fields.push({type:"FieldType",key:m(I),value:void 0}):E.fields.push(m(I));return E},JsdocTypeObjectField:(u,m)=>{if(typeof u.key!="string")throw new Error("Index signatures and mapped types are not supported");return{type:"FieldType",key:ct(ut(u.key,u.meta.quote)),value:u.right===void 0?void 0:m(u.right)}},JsdocTypeJsdocObjectField:(u,m)=>({type:"FieldType",key:m(u.left),value:m(u.right)}),JsdocTypeUnion:(u,m)=>({type:"TypeUnion",elements:u.elements.map(E=>m(E))}),JsdocTypeKeyValue:(u,m)=>({type:"FieldType",key:ct(u.key),value:u.right===void 0?void 0:m(u.right)}),JsdocTypeNamePath:(u,m)=>{let E=m(u.left),I;u.right.type==="JsdocTypeSpecialNamePath"?I=m(u.right).name:I=ut(u.right.value,u.right.meta.quote);let N=u.pathType==="inner"?"~":u.pathType==="instance"?"#":".";return ct(`${E.name}${N}${I}`)},JsdocTypeSymbol:u=>{let m="",E=u.element,I=!1;return E?.type==="JsdocTypeVariadic"&&(E.meta.position==="prefix"?m="...":I=!0,E=E.element),E?.type==="JsdocTypeName"?m+=E.value:E?.type==="JsdocTypeNumber"&&(m+=E.value.toString()),I&&(m+="..."),ct(`${u.value}(${m})`)},JsdocTypeParenthesis:(u,m)=>m(C(u.element)),JsdocTypeMappedType:Ie,JsdocTypeIndexSignature:Ie,JsdocTypeImport:Ie,JsdocTypeKeyof:Ie,JsdocTypeTuple:Ie,JsdocTypeTypeof:Ie,JsdocTypeIntersection:Ie,JsdocTypeProperty:Ie,JsdocTypePredicate:Ie,JsdocTypeAsserts:Ie};function vp(u){return hr(Ep,u)}function wt(u){switch(u){case void 0:return"none";case"single":return"single";case"double":return"double"}}function Ap(u){switch(u){case"inner":return"INNER_MEMBER";case"instance":return"INSTANCE_MEMBER";case"property":return"MEMBER";case"property-brackets":return"MEMBER"}}function Ln(u,m){return m.length===2?{type:u,left:m[0],right:m[1]}:{type:u,left:m[0],right:Ln(u,m.slice(1))}}let Dp={JsdocTypeOptional:(u,m)=>({type:"OPTIONAL",value:m(u.element),meta:{syntax:u.meta.position==="prefix"?"PREFIX_EQUAL_SIGN":"SUFFIX_EQUALS_SIGN"}}),JsdocTypeNullable:(u,m)=>({type:"NULLABLE",value:m(u.element),meta:{syntax:u.meta.position==="prefix"?"PREFIX_QUESTION_MARK":"SUFFIX_QUESTION_MARK"}}),JsdocTypeNotNullable:(u,m)=>({type:"NOT_NULLABLE",value:m(u.element),meta:{syntax:u.meta.position==="prefix"?"PREFIX_BANG":"SUFFIX_BANG"}}),JsdocTypeVariadic:(u,m)=>{let E={type:"VARIADIC",meta:{syntax:u.meta.position==="prefix"?"PREFIX_DOTS":u.meta.position==="suffix"?"SUFFIX_DOTS":"ONLY_DOTS"}};return u.element!==void 0&&(E.value=m(u.element)),E},JsdocTypeName:u=>({type:"NAME",name:u.value}),JsdocTypeTypeof:(u,m)=>({type:"TYPE_QUERY",name:m(u.element)}),JsdocTypeTuple:(u,m)=>({type:"TUPLE",entries:u.elements.map(m)}),JsdocTypeKeyof:(u,m)=>({type:"KEY_QUERY",value:m(u.element)}),JsdocTypeImport:u=>({type:"IMPORT",path:{type:"STRING_VALUE",quoteStyle:wt(u.element.meta.quote),string:u.element.value}}),JsdocTypeUndefined:()=>({type:"NAME",name:"undefined"}),JsdocTypeAny:()=>({type:"ANY"}),JsdocTypeFunction:(u,m)=>{let E=Qa(u),I={type:u.arrow?"ARROW":"FUNCTION",params:E.params.map(N=>{if(N.type==="JsdocTypeKeyValue"){if(N.right===void 0)throw new Error("Function parameter without ':' is not expected to be 'KEY_VALUE'");return{type:"NAMED_PARAMETER",name:N.key,typeName:m(N.right)}}else return m(N)}),new:null,returns:null};return E.this!==void 0?I.this=m(E.this):u.arrow||(I.this=null),E.new!==void 0&&(I.new=m(E.new)),u.returnType!==void 0&&(I.returns=m(u.returnType)),I},JsdocTypeGeneric:(u,m)=>{let E={type:"GENERIC",subject:m(u.left),objects:u.elements.map(m),meta:{syntax:u.meta.brackets==="square"?"SQUARE_BRACKET":u.meta.dot?"ANGLE_BRACKET_WITH_DOT":"ANGLE_BRACKET"}};return u.meta.brackets==="square"&&u.elements[0].type==="JsdocTypeFunction"&&!u.elements[0].parenthesis&&(E.objects[0]={type:"NAME",name:"function"}),E},JsdocTypeObjectField:(u,m)=>{if(typeof u.key!="string")throw new Error("Index signatures and mapped types are not supported");if(u.right===void 0)return{type:"RECORD_ENTRY",key:u.key,quoteStyle:wt(u.meta.quote),value:null,readonly:!1};let E=m(u.right);return u.optional&&(E={type:"OPTIONAL",value:E,meta:{syntax:"SUFFIX_KEY_QUESTION_MARK"}}),{type:"RECORD_ENTRY",key:u.key.toString(),quoteStyle:wt(u.meta.quote),value:E,readonly:!1}},JsdocTypeJsdocObjectField:()=>{throw new Error("Keys may not be typed in jsdoctypeparser.")},JsdocTypeKeyValue:(u,m)=>{if(u.right===void 0)return{type:"RECORD_ENTRY",key:u.key,quoteStyle:"none",value:null,readonly:!1};let E=m(u.right);return u.optional&&(E={type:"OPTIONAL",value:E,meta:{syntax:"SUFFIX_KEY_QUESTION_MARK"}}),{type:"RECORD_ENTRY",key:u.key,quoteStyle:"none",value:E,readonly:!1}},JsdocTypeObject:(u,m)=>{let E=[];for(let I of u.elements)(I.type==="JsdocTypeObjectField"||I.type==="JsdocTypeJsdocObjectField")&&E.push(m(I));return{type:"RECORD",entries:E}},JsdocTypeSpecialNamePath:u=>{if(u.specialType!=="module")throw new Error(`jsdoctypeparser does not support type ${u.specialType} at this point.`);return{type:"MODULE",value:{type:"FILE_PATH",quoteStyle:wt(u.meta.quote),path:u.value}}},JsdocTypeNamePath:(u,m)=>{let E=!1,I,N;u.right.type==="JsdocTypeSpecialNamePath"&&u.right.specialType==="event"?(E=!0,I=u.right.value,N=wt(u.right.meta.quote)):(I=u.right.value,N=wt(u.right.meta.quote));let H={type:Ap(u.pathType),owner:m(u.left),name:I,quoteStyle:N,hasEventPrefix:E};if(H.owner.type==="MODULE"){let Y=H.owner;return H.owner=H.owner.value,Y.value=H,Y}else return H},JsdocTypeUnion:(u,m)=>Ln("UNION",u.elements.map(m)),JsdocTypeParenthesis:(u,m)=>({type:"PARENTHESIS",value:m(C(u.element))}),JsdocTypeNull:()=>({type:"NAME",name:"null"}),JsdocTypeUnknown:()=>({type:"UNKNOWN"}),JsdocTypeStringValue:u=>({type:"STRING_VALUE",quoteStyle:wt(u.meta.quote),string:u.value}),JsdocTypeIntersection:(u,m)=>Ln("INTERSECTION",u.elements.map(m)),JsdocTypeNumber:u=>({type:"NUMBER_VALUE",number:u.value.toString()}),JsdocTypeSymbol:Ie,JsdocTypeProperty:Ie,JsdocTypePredicate:Ie,JsdocTypeMappedType:Ie,JsdocTypeIndexSignature:Ie,JsdocTypeAsserts:Ie};function Sp(u){return hr(Dp,u)}function wp(){return{JsdocTypeIntersection:(u,m)=>({type:"JsdocTypeIntersection",elements:u.elements.map(m)}),JsdocTypeGeneric:(u,m)=>({type:"JsdocTypeGeneric",left:m(u.left),elements:u.elements.map(m),meta:{dot:u.meta.dot,brackets:u.meta.brackets}}),JsdocTypeNullable:u=>u,JsdocTypeUnion:(u,m)=>({type:"JsdocTypeUnion",elements:u.elements.map(m)}),JsdocTypeUnknown:u=>u,JsdocTypeUndefined:u=>u,JsdocTypeTypeof:(u,m)=>({type:"JsdocTypeTypeof",element:m(u.element)}),JsdocTypeSymbol:(u,m)=>{let E={type:"JsdocTypeSymbol",value:u.value};return u.element!==void 0&&(E.element=m(u.element)),E},JsdocTypeOptional:(u,m)=>({type:"JsdocTypeOptional",element:m(u.element),meta:{position:u.meta.position}}),JsdocTypeObject:(u,m)=>({type:"JsdocTypeObject",meta:{separator:"comma"},elements:u.elements.map(m)}),JsdocTypeNumber:u=>u,JsdocTypeNull:u=>u,JsdocTypeNotNullable:(u,m)=>({type:"JsdocTypeNotNullable",element:m(u.element),meta:{position:u.meta.position}}),JsdocTypeSpecialNamePath:u=>u,JsdocTypeObjectField:(u,m)=>({type:"JsdocTypeObjectField",key:u.key,right:u.right===void 0?void 0:m(u.right),optional:u.optional,readonly:u.readonly,meta:u.meta}),JsdocTypeJsdocObjectField:(u,m)=>({type:"JsdocTypeJsdocObjectField",left:m(u.left),right:m(u.right)}),JsdocTypeKeyValue:(u,m)=>({type:"JsdocTypeKeyValue",key:u.key,right:u.right===void 0?void 0:m(u.right),optional:u.optional,variadic:u.variadic}),JsdocTypeImport:(u,m)=>({type:"JsdocTypeImport",element:m(u.element)}),JsdocTypeAny:u=>u,JsdocTypeStringValue:u=>u,JsdocTypeNamePath:u=>u,JsdocTypeVariadic:(u,m)=>{let E={type:"JsdocTypeVariadic",meta:{position:u.meta.position,squareBrackets:u.meta.squareBrackets}};return u.element!==void 0&&(E.element=m(u.element)),E},JsdocTypeTuple:(u,m)=>({type:"JsdocTypeTuple",elements:u.elements.map(m)}),JsdocTypeName:u=>u,JsdocTypeFunction:(u,m)=>{let E={type:"JsdocTypeFunction",arrow:u.arrow,parameters:u.parameters.map(m),constructor:u.constructor,parenthesis:u.parenthesis};return u.returnType!==void 0&&(E.returnType=m(u.returnType)),E},JsdocTypeKeyof:(u,m)=>({type:"JsdocTypeKeyof",element:m(u.element)}),JsdocTypeParenthesis:(u,m)=>({type:"JsdocTypeParenthesis",element:m(u.element)}),JsdocTypeProperty:u=>u,JsdocTypePredicate:(u,m)=>({type:"JsdocTypePredicate",left:m(u.left),right:m(u.right)}),JsdocTypeIndexSignature:(u,m)=>({type:"JsdocTypeIndexSignature",key:u.key,right:m(u.right)}),JsdocTypeMappedType:(u,m)=>({type:"JsdocTypeMappedType",key:u.key,right:m(u.right)}),JsdocTypeAsserts:(u,m)=>({type:"JsdocTypeAsserts",left:m(u.left),right:m(u.right)})}}let ei={JsdocTypeAny:[],JsdocTypeFunction:["parameters","returnType"],JsdocTypeGeneric:["left","elements"],JsdocTypeImport:[],JsdocTypeIndexSignature:["right"],JsdocTypeIntersection:["elements"],JsdocTypeKeyof:["element"],JsdocTypeKeyValue:["right"],JsdocTypeMappedType:["right"],JsdocTypeName:[],JsdocTypeNamePath:["left","right"],JsdocTypeNotNullable:["element"],JsdocTypeNull:[],JsdocTypeNullable:["element"],JsdocTypeNumber:[],JsdocTypeObject:["elements"],JsdocTypeObjectField:["right"],JsdocTypeJsdocObjectField:["left","right"],JsdocTypeOptional:["element"],JsdocTypeParenthesis:["element"],JsdocTypeSpecialNamePath:[],JsdocTypeStringValue:[],JsdocTypeSymbol:["element"],JsdocTypeTuple:["elements"],JsdocTypeTypeof:["element"],JsdocTypeUndefined:[],JsdocTypeUnion:["elements"],JsdocTypeUnknown:[],JsdocTypeVariadic:["element"],JsdocTypeProperty:[],JsdocTypePredicate:["left","right"],JsdocTypeAsserts:["left","right"]};function Mn(u,m,E,I,N){I?.(u,m,E);let H=ei[u.type];for(let Y of H){let ne=u[Y];if(ne!==void 0)if(Array.isArray(ne))for(let ke of ne)Mn(ke,u,Y,I,N);else Mn(ne,u,Y,I,N)}N?.(u,m,E)}function Cp(u,m,E){Mn(u,void 0,void 0,m,E)}e.catharsisTransform=vp,e.identityTransformRules=wp,e.jtpTransform=Sp,e.parse=Xa,e.stringify=gp,e.stringifyRules=Za,e.transform=hr,e.traverse=Cp,e.tryParse=mp,e.visitorKeys=ei})});var kc={};ni(kc,{ColorControl:()=>Ic,default:()=>gg});function Nt(){return(Nt=Object.assign||function(e){for(var t=1;t=0||(o[r]=e[r]);return o}function pa(e){var t=Pe(e),r=Pe(function(n){t.current&&t.current(n)});return t.current=e,r.current}function Cc(e,t,r){var n=pa(r),o=Z(function(){return e.toHsva(t)}),a=o[0],i=o[1],s=Pe({color:t,hsva:a});xe(function(){if(!e.equal(t,s.current.color)){var c=e.toHsva(t);s.current={hsva:c,color:t},i(c)}},[t,e]),xe(function(){var c;Sc(a,s.current.hsva)||e.equal(c=e.fromHsva(a),s.current.color)||(s.current={hsva:a,color:c},n(c))},[a,e,n]);var l=Ce(function(c){i(function(p){return Object.assign({},p,c)})},[]);return[a,l]}var Oy,gc,_y,By,Je,or,Tr,ha,pc,hc,ba,Fr,Ea,Se,Py,Ny,fa,jy,Ly,My,Uy,bc,ma,An,Ec,$y,bn,qy,vc,Ac,Dc,Sc,wc,Vy,Jy,zy,fc,xc,Hy,Gy,Wy,Ky,Tc,Yy,Xy,Qy,Zy,eg,tg,rg,ng,og,ag,ig,mc,sg,lg,Fc,En,ug,cg,dg,ya,pg,hg,vn,yc,nr,fg,mg,Dn,yg,Ic,gg,Rc=rt(()=>{q();V();J();$n();Mr();$r();po();yo();Oy=$e({"../../node_modules/color-name/index.js"(e,t){t.exports={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]}}}),gc=$e({"../../node_modules/color-convert/conversions.js"(e,t){var r=Oy(),n={};for(let i of Object.keys(r))n[r[i]]=i;var o={rgb:{channels:3,labels:"rgb"},hsl:{channels:3,labels:"hsl"},hsv:{channels:3,labels:"hsv"},hwb:{channels:3,labels:"hwb"},cmyk:{channels:4,labels:"cmyk"},xyz:{channels:3,labels:"xyz"},lab:{channels:3,labels:"lab"},lch:{channels:3,labels:"lch"},hex:{channels:1,labels:["hex"]},keyword:{channels:1,labels:["keyword"]},ansi16:{channels:1,labels:["ansi16"]},ansi256:{channels:1,labels:["ansi256"]},hcg:{channels:3,labels:["h","c","g"]},apple:{channels:3,labels:["r16","g16","b16"]},gray:{channels:1,labels:["gray"]}};t.exports=o;for(let i of Object.keys(o)){if(!("channels"in o[i]))throw new Error("missing channels property: "+i);if(!("labels"in o[i]))throw new Error("missing channel labels property: "+i);if(o[i].labels.length!==o[i].channels)throw new Error("channel and label counts mismatch: "+i);let{channels:s,labels:l}=o[i];delete o[i].channels,delete o[i].labels,Object.defineProperty(o[i],"channels",{value:s}),Object.defineProperty(o[i],"labels",{value:l})}o.rgb.hsl=function(i){let s=i[0]/255,l=i[1]/255,c=i[2]/255,p=Math.min(s,l,c),h=Math.max(s,l,c),d=h-p,y,g;h===p?y=0:s===h?y=(l-c)/d:l===h?y=2+(c-s)/d:c===h&&(y=4+(s-l)/d),y=Math.min(y*60,360),y<0&&(y+=360);let A=(p+h)/2;return h===p?g=0:A<=.5?g=d/(h+p):g=d/(2-h-p),[y,g*100,A*100]},o.rgb.hsv=function(i){let s,l,c,p,h,d=i[0]/255,y=i[1]/255,g=i[2]/255,A=Math.max(d,y,g),v=A-Math.min(d,y,g),S=function(w){return(A-w)/6/v+1/2};return v===0?(p=0,h=0):(h=v/A,s=S(d),l=S(y),c=S(g),d===A?p=c-l:y===A?p=1/3+s-c:g===A&&(p=2/3+l-s),p<0?p+=1:p>1&&(p-=1)),[p*360,h*100,A*100]},o.rgb.hwb=function(i){let s=i[0],l=i[1],c=i[2],p=o.rgb.hsl(i)[0],h=1/255*Math.min(s,Math.min(l,c));return c=1-1/255*Math.max(s,Math.max(l,c)),[p,h*100,c*100]},o.rgb.cmyk=function(i){let s=i[0]/255,l=i[1]/255,c=i[2]/255,p=Math.min(1-s,1-l,1-c),h=(1-s-p)/(1-p)||0,d=(1-l-p)/(1-p)||0,y=(1-c-p)/(1-p)||0;return[h*100,d*100,y*100,p*100]};function a(i,s){return(i[0]-s[0])**2+(i[1]-s[1])**2+(i[2]-s[2])**2}o.rgb.keyword=function(i){let s=n[i];if(s)return s;let l=1/0,c;for(let p of Object.keys(r)){let h=r[p],d=a(i,h);d.04045?((s+.055)/1.055)**2.4:s/12.92,l=l>.04045?((l+.055)/1.055)**2.4:l/12.92,c=c>.04045?((c+.055)/1.055)**2.4:c/12.92;let p=s*.4124+l*.3576+c*.1805,h=s*.2126+l*.7152+c*.0722,d=s*.0193+l*.1192+c*.9505;return[p*100,h*100,d*100]},o.rgb.lab=function(i){let s=o.rgb.xyz(i),l=s[0],c=s[1],p=s[2];l/=95.047,c/=100,p/=108.883,l=l>.008856?l**(1/3):7.787*l+16/116,c=c>.008856?c**(1/3):7.787*c+16/116,p=p>.008856?p**(1/3):7.787*p+16/116;let h=116*c-16,d=500*(l-c),y=200*(c-p);return[h,d,y]},o.hsl.rgb=function(i){let s=i[0]/360,l=i[1]/100,c=i[2]/100,p,h,d;if(l===0)return d=c*255,[d,d,d];c<.5?p=c*(1+l):p=c+l-c*l;let y=2*c-p,g=[0,0,0];for(let A=0;A<3;A++)h=s+1/3*-(A-1),h<0&&h++,h>1&&h--,6*h<1?d=y+(p-y)*6*h:2*h<1?d=p:3*h<2?d=y+(p-y)*(2/3-h)*6:d=y,g[A]=d*255;return g},o.hsl.hsv=function(i){let s=i[0],l=i[1]/100,c=i[2]/100,p=l,h=Math.max(c,.01);c*=2,l*=c<=1?c:2-c,p*=h<=1?h:2-h;let d=(c+l)/2,y=c===0?2*p/(h+p):2*l/(c+l);return[s,y*100,d*100]},o.hsv.rgb=function(i){let s=i[0]/60,l=i[1]/100,c=i[2]/100,p=Math.floor(s)%6,h=s-Math.floor(s),d=255*c*(1-l),y=255*c*(1-l*h),g=255*c*(1-l*(1-h));switch(c*=255,p){case 0:return[c,g,d];case 1:return[y,c,d];case 2:return[d,c,g];case 3:return[d,y,c];case 4:return[g,d,c];case 5:return[c,d,y]}},o.hsv.hsl=function(i){let s=i[0],l=i[1]/100,c=i[2]/100,p=Math.max(c,.01),h,d;d=(2-l)*c;let y=(2-l)*p;return h=l*p,h/=y<=1?y:2-y,h=h||0,d/=2,[s,h*100,d*100]},o.hwb.rgb=function(i){let s=i[0]/360,l=i[1]/100,c=i[2]/100,p=l+c,h;p>1&&(l/=p,c/=p);let d=Math.floor(6*s),y=1-c;h=6*s-d,(d&1)!==0&&(h=1-h);let g=l+h*(y-l),A,v,S;switch(d){default:case 6:case 0:A=y,v=g,S=l;break;case 1:A=g,v=y,S=l;break;case 2:A=l,v=y,S=g;break;case 3:A=l,v=g,S=y;break;case 4:A=g,v=l,S=y;break;case 5:A=y,v=l,S=g;break}return[A*255,v*255,S*255]},o.cmyk.rgb=function(i){let s=i[0]/100,l=i[1]/100,c=i[2]/100,p=i[3]/100,h=1-Math.min(1,s*(1-p)+p),d=1-Math.min(1,l*(1-p)+p),y=1-Math.min(1,c*(1-p)+p);return[h*255,d*255,y*255]},o.xyz.rgb=function(i){let s=i[0]/100,l=i[1]/100,c=i[2]/100,p,h,d;return p=s*3.2406+l*-1.5372+c*-.4986,h=s*-.9689+l*1.8758+c*.0415,d=s*.0557+l*-.204+c*1.057,p=p>.0031308?1.055*p**(1/2.4)-.055:p*12.92,h=h>.0031308?1.055*h**(1/2.4)-.055:h*12.92,d=d>.0031308?1.055*d**(1/2.4)-.055:d*12.92,p=Math.min(Math.max(0,p),1),h=Math.min(Math.max(0,h),1),d=Math.min(Math.max(0,d),1),[p*255,h*255,d*255]},o.xyz.lab=function(i){let s=i[0],l=i[1],c=i[2];s/=95.047,l/=100,c/=108.883,s=s>.008856?s**(1/3):7.787*s+16/116,l=l>.008856?l**(1/3):7.787*l+16/116,c=c>.008856?c**(1/3):7.787*c+16/116;let p=116*l-16,h=500*(s-l),d=200*(l-c);return[p,h,d]},o.lab.xyz=function(i){let s=i[0],l=i[1],c=i[2],p,h,d;h=(s+16)/116,p=l/500+h,d=h-c/200;let y=h**3,g=p**3,A=d**3;return h=y>.008856?y:(h-16/116)/7.787,p=g>.008856?g:(p-16/116)/7.787,d=A>.008856?A:(d-16/116)/7.787,p*=95.047,h*=100,d*=108.883,[p,h,d]},o.lab.lch=function(i){let s=i[0],l=i[1],c=i[2],p;p=Math.atan2(c,l)*360/2/Math.PI,p<0&&(p+=360);let h=Math.sqrt(l*l+c*c);return[s,h,p]},o.lch.lab=function(i){let s=i[0],l=i[1],c=i[2]/360*2*Math.PI,p=l*Math.cos(c),h=l*Math.sin(c);return[s,p,h]},o.rgb.ansi16=function(i,s=null){let[l,c,p]=i,h=s===null?o.rgb.hsv(i)[2]:s;if(h=Math.round(h/50),h===0)return 30;let d=30+(Math.round(p/255)<<2|Math.round(c/255)<<1|Math.round(l/255));return h===2&&(d+=60),d},o.hsv.ansi16=function(i){return o.rgb.ansi16(o.hsv.rgb(i),i[2])},o.rgb.ansi256=function(i){let s=i[0],l=i[1],c=i[2];return s===l&&l===c?s<8?16:s>248?231:Math.round((s-8)/247*24)+232:16+36*Math.round(s/255*5)+6*Math.round(l/255*5)+Math.round(c/255*5)},o.ansi16.rgb=function(i){let s=i%10;if(s===0||s===7)return i>50&&(s+=3.5),s=s/10.5*255,[s,s,s];let l=(~~(i>50)+1)*.5,c=(s&1)*l*255,p=(s>>1&1)*l*255,h=(s>>2&1)*l*255;return[c,p,h]},o.ansi256.rgb=function(i){if(i>=232){let h=(i-232)*10+8;return[h,h,h]}i-=16;let s,l=Math.floor(i/36)/5*255,c=Math.floor((s=i%36)/6)/5*255,p=s%6/5*255;return[l,c,p]},o.rgb.hex=function(i){let s=(((Math.round(i[0])&255)<<16)+((Math.round(i[1])&255)<<8)+(Math.round(i[2])&255)).toString(16).toUpperCase();return"000000".substring(s.length)+s},o.hex.rgb=function(i){let s=i.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!s)return[0,0,0];let l=s[0];s[0].length===3&&(l=l.split("").map(y=>y+y).join(""));let c=parseInt(l,16),p=c>>16&255,h=c>>8&255,d=c&255;return[p,h,d]},o.rgb.hcg=function(i){let s=i[0]/255,l=i[1]/255,c=i[2]/255,p=Math.max(Math.max(s,l),c),h=Math.min(Math.min(s,l),c),d=p-h,y,g;return d<1?y=h/(1-d):y=0,d<=0?g=0:p===s?g=(l-c)/d%6:p===l?g=2+(c-s)/d:g=4+(s-l)/d,g/=6,g%=1,[g*360,d*100,y*100]},o.hsl.hcg=function(i){let s=i[1]/100,l=i[2]/100,c=l<.5?2*s*l:2*s*(1-l),p=0;return c<1&&(p=(l-.5*c)/(1-c)),[i[0],c*100,p*100]},o.hsv.hcg=function(i){let s=i[1]/100,l=i[2]/100,c=s*l,p=0;return c<1&&(p=(l-c)/(1-c)),[i[0],c*100,p*100]},o.hcg.rgb=function(i){let s=i[0]/360,l=i[1]/100,c=i[2]/100;if(l===0)return[c*255,c*255,c*255];let p=[0,0,0],h=s%1*6,d=h%1,y=1-d,g=0;switch(Math.floor(h)){case 0:p[0]=1,p[1]=d,p[2]=0;break;case 1:p[0]=y,p[1]=1,p[2]=0;break;case 2:p[0]=0,p[1]=1,p[2]=d;break;case 3:p[0]=0,p[1]=y,p[2]=1;break;case 4:p[0]=d,p[1]=0,p[2]=1;break;default:p[0]=1,p[1]=0,p[2]=y}return g=(1-l)*c,[(l*p[0]+g)*255,(l*p[1]+g)*255,(l*p[2]+g)*255]},o.hcg.hsv=function(i){let s=i[1]/100,l=i[2]/100,c=s+l*(1-s),p=0;return c>0&&(p=s/c),[i[0],p*100,c*100]},o.hcg.hsl=function(i){let s=i[1]/100,l=i[2]/100*(1-s)+.5*s,c=0;return l>0&&l<.5?c=s/(2*l):l>=.5&&l<1&&(c=s/(2*(1-l))),[i[0],c*100,l*100]},o.hcg.hwb=function(i){let s=i[1]/100,l=i[2]/100,c=s+l*(1-s);return[i[0],(c-s)*100,(1-c)*100]},o.hwb.hcg=function(i){let s=i[1]/100,l=1-i[2]/100,c=l-s,p=0;return c<1&&(p=(l-c)/(1-c)),[i[0],c*100,p*100]},o.apple.rgb=function(i){return[i[0]/65535*255,i[1]/65535*255,i[2]/65535*255]},o.rgb.apple=function(i){return[i[0]/255*65535,i[1]/255*65535,i[2]/255*65535]},o.gray.rgb=function(i){return[i[0]/100*255,i[0]/100*255,i[0]/100*255]},o.gray.hsl=function(i){return[0,0,i[0]]},o.gray.hsv=o.gray.hsl,o.gray.hwb=function(i){return[0,100,i[0]]},o.gray.cmyk=function(i){return[0,0,0,i[0]]},o.gray.lab=function(i){return[i[0],0,0]},o.gray.hex=function(i){let s=Math.round(i[0]/100*255)&255,l=((s<<16)+(s<<8)+s).toString(16).toUpperCase();return"000000".substring(l.length)+l},o.rgb.gray=function(i){return[(i[0]+i[1]+i[2])/3/255*100]}}}),_y=$e({"../../node_modules/color-convert/route.js"(e,t){var r=gc();function n(){let s={},l=Object.keys(r);for(let c=l.length,p=0;p1&&(p=h),l(p))};return"conversion"in l&&(c.conversion=l.conversion),c}function s(l){let c=function(...p){let h=p[0];if(h==null)return h;h.length>1&&(p=h);let d=l(p);if(typeof d=="object")for(let y=d.length,g=0;g{o[l]={},Object.defineProperty(o[l],"channels",{value:r[l].channels}),Object.defineProperty(o[l],"labels",{value:r[l].labels});let c=n(l);Object.keys(c).forEach(p=>{let h=c[p];o[l][p]=s(h),o[l][p].raw=i(h)})}),t.exports=o}}),Je=zt(By());or=function(e,t,r){return t===void 0&&(t=0),r===void 0&&(r=1),e>r?r:e0:v.buttons>0)&&o.current?a(pc(o.current,v,s.current)):A(!1)},g=function(){return A(!1)};function A(v){var S=l.current,w=ha(o.current),x=v?w.addEventListener:w.removeEventListener;x(S?"touchmove":"mousemove",y),x(S?"touchend":"mouseup",g)}return[function(v){var S=v.nativeEvent,w=o.current;if(w&&(hc(S),!function(C,k){return k&&!Tr(C)}(S,l.current)&&w)){if(Tr(S)){l.current=!0;var x=S.changedTouches||[];x.length&&(s.current=x[0].identifier)}w.focus(),a(pc(w,S,s.current)),A(!0)}},function(v){var S=v.which||v.keyCode;S<37||S>40||(v.preventDefault(),i({left:S===39?.05:S===37?-.05:0,top:S===40?.05:S===38?-.05:0}))},A]},[i,a]),p=c[0],h=c[1],d=c[2];return xe(function(){return d},[d]),f.createElement("div",Nt({},n,{onTouchStart:p,onMouseDown:p,className:"react-colorful__interactive",ref:o,onKeyDown:h,tabIndex:0,role:"slider"}))}),Fr=function(e){return e.filter(Boolean).join(" ")},Ea=function(e){var t=e.color,r=e.left,n=e.top,o=n===void 0?.5:n,a=Fr(["react-colorful__pointer",e.className]);return f.createElement("div",{className:a,style:{top:100*o+"%",left:100*r+"%"}},f.createElement("div",{className:"react-colorful__pointer-fill",style:{backgroundColor:t}}))},Se=function(e,t,r){return t===void 0&&(t=0),r===void 0&&(r=Math.pow(10,t)),Math.round(r*e)/r},Py={grad:.9,turn:360,rad:360/(2*Math.PI)},Ny=function(e){return vc(fa(e))},fa=function(e){return e[0]==="#"&&(e=e.substring(1)),e.length<6?{r:parseInt(e[0]+e[0],16),g:parseInt(e[1]+e[1],16),b:parseInt(e[2]+e[2],16),a:e.length===4?Se(parseInt(e[3]+e[3],16)/255,2):1}:{r:parseInt(e.substring(0,2),16),g:parseInt(e.substring(2,4),16),b:parseInt(e.substring(4,6),16),a:e.length===8?Se(parseInt(e.substring(6,8),16)/255,2):1}},jy=function(e,t){return t===void 0&&(t="deg"),Number(e)*(Py[t]||1)},Ly=function(e){var t=/hsla?\(?\s*(-?\d*\.?\d+)(deg|rad|grad|turn)?[,\s]+(-?\d*\.?\d+)%?[,\s]+(-?\d*\.?\d+)%?,?\s*[/\s]*(-?\d*\.?\d+)?(%)?\s*\)?/i.exec(e);return t?My({h:jy(t[1],t[2]),s:Number(t[3]),l:Number(t[4]),a:t[5]===void 0?1:Number(t[5])/(t[6]?100:1)}):{h:0,s:0,v:0,a:1}},My=function(e){var t=e.s,r=e.l;return{h:e.h,s:(t*=(r<50?r:100-r)/100)>0?2*t/(r+t)*100:0,v:r+t,a:e.a}},Uy=function(e){return qy(Ec(e))},bc=function(e){var t=e.s,r=e.v,n=e.a,o=(200-t)*r/100;return{h:Se(e.h),s:Se(o>0&&o<200?t*r/100/(o<=100?o:200-o)*100:0),l:Se(o/2),a:Se(n,2)}},ma=function(e){var t=bc(e);return"hsl("+t.h+", "+t.s+"%, "+t.l+"%)"},An=function(e){var t=bc(e);return"hsla("+t.h+", "+t.s+"%, "+t.l+"%, "+t.a+")"},Ec=function(e){var t=e.h,r=e.s,n=e.v,o=e.a;t=t/360*6,r/=100,n/=100;var a=Math.floor(t),i=n*(1-r),s=n*(1-(t-a)*r),l=n*(1-(1-t+a)*r),c=a%6;return{r:Se(255*[n,s,i,i,l,n][c]),g:Se(255*[l,n,n,s,i,i][c]),b:Se(255*[i,i,l,n,n,s][c]),a:Se(o,2)}},$y=function(e){var t=/rgba?\(?\s*(-?\d*\.?\d+)(%)?[,\s]+(-?\d*\.?\d+)(%)?[,\s]+(-?\d*\.?\d+)(%)?,?\s*[/\s]*(-?\d*\.?\d+)?(%)?\s*\)?/i.exec(e);return t?vc({r:Number(t[1])/(t[2]?100/255:1),g:Number(t[3])/(t[4]?100/255:1),b:Number(t[5])/(t[6]?100/255:1),a:t[7]===void 0?1:Number(t[7])/(t[8]?100:1)}):{h:0,s:0,v:0,a:1}},bn=function(e){var t=e.toString(16);return t.length<2?"0"+t:t},qy=function(e){var t=e.r,r=e.g,n=e.b,o=e.a,a=o<1?bn(Se(255*o)):"";return"#"+bn(t)+bn(r)+bn(n)+a},vc=function(e){var t=e.r,r=e.g,n=e.b,o=e.a,a=Math.max(t,r,n),i=a-Math.min(t,r,n),s=i?a===t?(r-n)/i:a===r?2+(n-t)/i:4+(t-r)/i:0;return{h:Se(60*(s<0?s+6:s)),s:Se(a?i/a*100:0),v:Se(a/255*100),a:o}},Ac=f.memo(function(e){var t=e.hue,r=e.onChange,n=Fr(["react-colorful__hue",e.className]);return f.createElement("div",{className:n},f.createElement(ba,{onMove:function(o){r({h:360*o.left})},onKey:function(o){r({h:or(t+360*o.left,0,360)})},"aria-label":"Hue","aria-valuenow":Se(t),"aria-valuemax":"360","aria-valuemin":"0"},f.createElement(Ea,{className:"react-colorful__hue-pointer",left:t/360,color:ma({h:t,s:100,v:100,a:1})})))}),Dc=f.memo(function(e){var t=e.hsva,r=e.onChange,n={backgroundColor:ma({h:t.h,s:100,v:100,a:1})};return f.createElement("div",{className:"react-colorful__saturation",style:n},f.createElement(ba,{onMove:function(o){r({s:100*o.left,v:100-100*o.top})},onKey:function(o){r({s:or(t.s+100*o.left,0,100),v:or(t.v-100*o.top,0,100)})},"aria-label":"Color","aria-valuetext":"Saturation "+Se(t.s)+"%, Brightness "+Se(t.v)+"%"},f.createElement(Ea,{className:"react-colorful__saturation-pointer",top:1-t.v/100,left:t.s/100,color:ma(t)})))}),Sc=function(e,t){if(e===t)return!0;for(var r in e)if(e[r]!==t[r])return!1;return!0},wc=function(e,t){return e.replace(/\s/g,"")===t.replace(/\s/g,"")},Vy=function(e,t){return e.toLowerCase()===t.toLowerCase()||Sc(fa(e),fa(t))};Jy=typeof window<"u"?yi:xe,zy=function(){return typeof __webpack_nonce__<"u"?__webpack_nonce__:void 0},fc=new Map,xc=function(e){Jy(function(){var t=e.current?e.current.ownerDocument:document;if(t!==void 0&&!fc.has(t)){var r=t.createElement("style");r.innerHTML=`.react-colorful{position:relative;display:flex;flex-direction:column;width:200px;height:200px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:default}.react-colorful__saturation{position:relative;flex-grow:1;border-color:transparent;border-bottom:12px solid #000;border-radius:8px 8px 0 0;background-image:linear-gradient(0deg,#000,transparent),linear-gradient(90deg,#fff,hsla(0,0%,100%,0))}.react-colorful__alpha-gradient,.react-colorful__pointer-fill{content:"";position:absolute;left:0;top:0;right:0;bottom:0;pointer-events:none;border-radius:inherit}.react-colorful__alpha-gradient,.react-colorful__saturation{box-shadow:inset 0 0 0 1px rgba(0,0,0,.05)}.react-colorful__alpha,.react-colorful__hue{position:relative;height:24px}.react-colorful__hue{background:linear-gradient(90deg,red 0,#ff0 17%,#0f0 33%,#0ff 50%,#00f 67%,#f0f 83%,red)}.react-colorful__last-control{border-radius:0 0 8px 8px}.react-colorful__interactive{position:absolute;left:0;top:0;right:0;bottom:0;border-radius:inherit;outline:none;touch-action:none}.react-colorful__pointer{position:absolute;z-index:1;box-sizing:border-box;width:28px;height:28px;transform:translate(-50%,-50%);background-color:#fff;border:2px solid #fff;border-radius:50%;box-shadow:0 2px 4px rgba(0,0,0,.2)}.react-colorful__interactive:focus .react-colorful__pointer{transform:translate(-50%,-50%) scale(1.1)}.react-colorful__alpha,.react-colorful__alpha-pointer{background-color:#fff;background-image:url('data:image/svg+xml;charset=utf-8,')}.react-colorful__saturation-pointer{z-index:3}.react-colorful__hue-pointer{z-index:2}`,fc.set(t,r);var n=zy();n&&r.setAttribute("nonce",n),t.head.appendChild(r)}},[])},Hy=function(e){var t=e.className,r=e.colorModel,n=e.color,o=n===void 0?r.defaultColor:n,a=e.onChange,i=ga(e,["className","colorModel","color","onChange"]),s=Pe(null);xc(s);var l=Cc(r,o,a),c=l[0],p=l[1],h=Fr(["react-colorful",t]);return f.createElement("div",Nt({},i,{ref:s,className:h}),f.createElement(Dc,{hsva:c,onChange:p}),f.createElement(Ac,{hue:c.h,onChange:p,className:"react-colorful__last-control"}))},Gy={defaultColor:"000",toHsva:Ny,fromHsva:function(e){return Uy({h:e.h,s:e.s,v:e.v,a:1})},equal:Vy},Wy=function(e){return f.createElement(Hy,Nt({},e,{colorModel:Gy}))},Ky=function(e){var t=e.className,r=e.hsva,n=e.onChange,o={backgroundImage:"linear-gradient(90deg, "+An(Object.assign({},r,{a:0}))+", "+An(Object.assign({},r,{a:1}))+")"},a=Fr(["react-colorful__alpha",t]),i=Se(100*r.a);return f.createElement("div",{className:a},f.createElement("div",{className:"react-colorful__alpha-gradient",style:o}),f.createElement(ba,{onMove:function(s){n({a:s.left})},onKey:function(s){n({a:or(r.a+s.left)})},"aria-label":"Alpha","aria-valuetext":i+"%","aria-valuenow":i,"aria-valuemin":"0","aria-valuemax":"100"},f.createElement(Ea,{className:"react-colorful__alpha-pointer",left:r.a,color:An(r)})))},Tc=function(e){var t=e.className,r=e.colorModel,n=e.color,o=n===void 0?r.defaultColor:n,a=e.onChange,i=ga(e,["className","colorModel","color","onChange"]),s=Pe(null);xc(s);var l=Cc(r,o,a),c=l[0],p=l[1],h=Fr(["react-colorful",t]);return f.createElement("div",Nt({},i,{ref:s,className:h}),f.createElement(Dc,{hsva:c,onChange:p}),f.createElement(Ac,{hue:c.h,onChange:p}),f.createElement(Ky,{hsva:c,onChange:p,className:"react-colorful__last-control"}))},Yy={defaultColor:"hsla(0, 0%, 0%, 1)",toHsva:Ly,fromHsva:An,equal:wc},Xy=function(e){return f.createElement(Tc,Nt({},e,{colorModel:Yy}))},Qy={defaultColor:"rgba(0, 0, 0, 1)",toHsva:$y,fromHsva:function(e){var t=Ec(e);return"rgba("+t.r+", "+t.g+", "+t.b+", "+t.a+")"},equal:wc},Zy=function(e){return f.createElement(Tc,Nt({},e,{colorModel:Qy}))},eg=R.div({position:"relative",maxWidth:250,'&[aria-readonly="true"]':{opacity:.5}}),tg=R(ft)({position:"absolute",zIndex:1,top:4,left:4,"[aria-readonly=true] &":{cursor:"not-allowed"}}),rg=R.div({width:200,margin:5,".react-colorful__saturation":{borderRadius:"4px 4px 0 0"},".react-colorful__hue":{boxShadow:"inset 0 0 0 1px rgb(0 0 0 / 5%)"},".react-colorful__last-control":{borderRadius:"0 0 4px 4px"}}),ng=R(Tt)(({theme:e})=>({fontFamily:e.typography.fonts.base})),og=R.div({display:"grid",gridTemplateColumns:"repeat(9, 16px)",gap:6,padding:3,marginTop:5,width:200}),ag=R.div(({theme:e,active:t})=>({width:16,height:16,boxShadow:t?`${e.appBorderColor} 0 0 0 1px inset, ${e.textMutedColor}50 0 0 0 4px`:`${e.appBorderColor} 0 0 0 1px inset`,borderRadius:e.appBorderRadius})),ig=`url('data:image/svg+xml;charset=utf-8,')`,mc=({value:e,style:t,...r})=>{let n=`linear-gradient(${e}, ${e}), ${ig}, linear-gradient(#fff, #fff)`;return f.createElement(ag,{...r,style:{...t,backgroundImage:n}})},sg=R(Ge.Input)(({theme:e,readOnly:t})=>({width:"100%",paddingLeft:30,paddingRight:30,boxSizing:"border-box",fontFamily:e.typography.fonts.base})),lg=R(ts)(({theme:e})=>({position:"absolute",zIndex:1,top:6,right:7,width:20,height:20,padding:4,boxSizing:"border-box",cursor:"pointer",color:e.input.color})),Fc=(e=>(e.RGB="rgb",e.HSL="hsl",e.HEX="hex",e))(Fc||{}),En=Object.values(Fc),ug=/\(([0-9]+),\s*([0-9]+)%?,\s*([0-9]+)%?,?\s*([0-9.]+)?\)/,cg=/^\s*rgba?\(([0-9]+),\s*([0-9]+),\s*([0-9]+),?\s*([0-9.]+)?\)\s*$/i,dg=/^\s*hsla?\(([0-9]+),\s*([0-9]+)%,\s*([0-9]+)%,?\s*([0-9.]+)?\)\s*$/i,ya=/^\s*#?([0-9a-f]{3}|[0-9a-f]{6})\s*$/i,pg=/^\s*#?([0-9a-f]{3})\s*$/i,hg={hex:Wy,rgb:Zy,hsl:Xy},vn={hex:"transparent",rgb:"rgba(0, 0, 0, 0)",hsl:"hsla(0, 0%, 0%, 0)"},yc=e=>{let t=e?.match(ug);if(!t)return[0,0,0,1];let[,r,n,o,a=1]=t;return[r,n,o,a].map(Number)},nr=e=>{if(!e)return;let t=!0;if(cg.test(e)){let[i,s,l,c]=yc(e),[p,h,d]=Je.default.rgb.hsl([i,s,l])||[0,0,0];return{valid:t,value:e,keyword:Je.default.rgb.keyword([i,s,l]),colorSpace:"rgb",rgb:e,hsl:`hsla(${p}, ${h}%, ${d}%, ${c})`,hex:`#${Je.default.rgb.hex([i,s,l]).toLowerCase()}`}}if(dg.test(e)){let[i,s,l,c]=yc(e),[p,h,d]=Je.default.hsl.rgb([i,s,l])||[0,0,0];return{valid:t,value:e,keyword:Je.default.hsl.keyword([i,s,l]),colorSpace:"hsl",rgb:`rgba(${p}, ${h}, ${d}, ${c})`,hsl:e,hex:`#${Je.default.hsl.hex([i,s,l]).toLowerCase()}`}}let r=e.replace("#",""),n=Je.default.keyword.rgb(r)||Je.default.hex.rgb(r),o=Je.default.rgb.hsl(n),a=e;if(/[^#a-f0-9]/i.test(e)?a=r:ya.test(e)&&(a=`#${r}`),a.startsWith("#"))t=ya.test(a);else try{Je.default.keyword.hex(a)}catch{t=!1}return{valid:t,value:a,keyword:Je.default.rgb.keyword(n),colorSpace:"hex",rgb:`rgba(${n[0]}, ${n[1]}, ${n[2]}, 1)`,hsl:`hsla(${o[0]}, ${o[1]}%, ${o[2]}%, 1)`,hex:a}},fg=(e,t,r)=>{if(!e||!t?.valid)return vn[r];if(r!=="hex")return t?.[r]||vn[r];if(!t.hex.startsWith("#"))try{return`#${Je.default.keyword.hex(t.hex)}`}catch{return vn.hex}let n=t.hex.match(pg);if(!n)return ya.test(t.hex)?t.hex:vn.hex;let[o,a,i]=n[1].split("");return`#${o}${o}${a}${a}${i}${i}`},mg=(e,t)=>{let[r,n]=Z(e||""),[o,a]=Z(()=>nr(r)),[i,s]=Z(o?.colorSpace||"hex");xe(()=>{let h=e||"",d=nr(h);n(h),a(d),s(d?.colorSpace||"hex")},[e]);let l=pt(()=>fg(r,o,i).toLowerCase(),[r,o,i]),c=Ce(h=>{let d=nr(h),y=d?.value||h||"";n(y),y===""&&(a(void 0),t(void 0)),d&&(a(d),s(d.colorSpace),t(d.value))},[t]),p=Ce(()=>{let h=En.indexOf(i)+1;h>=En.length&&(h=0),s(En[h]);let d=o?.[En[h]]||"";n(d),t(d)},[o,i,t]);return{value:r,realValue:l,updateValue:c,color:o,colorSpace:i,cycleColorSpace:p}},Dn=e=>e.replace(/\s*/,"").toLowerCase(),yg=(e,t,r)=>{let[n,o]=Z(t?.valid?[t]:[]);xe(()=>{t===void 0&&o([])},[t]);let a=pt(()=>(e||[]).map(s=>typeof s=="string"?nr(s):s.title?{...nr(s.color),keyword:s.title}:nr(s.color)).concat(n).filter(Boolean).slice(-27),[e,n]),i=Ce(s=>{s?.valid&&(a.some(l=>Dn(l[r])===Dn(s[r]))||o(l=>l.concat(s)))},[r,a]);return{presets:a,addPreset:i}},Ic=({name:e,value:t,onChange:r,onFocus:n,onBlur:o,presetColors:a,startOpen:i=!1,argType:s})=>{let l=Ce(si(r,200),[r]),{value:c,realValue:p,updateValue:h,color:d,colorSpace:y,cycleColorSpace:g}=mg(t,l),{presets:A,addPreset:v}=yg(a,d,y),S=hg[y],w=!!s?.table?.readonly;return f.createElement(eg,{"aria-readonly":w},f.createElement(tg,{startOpen:i,trigger:w?[null]:void 0,closeOnOutsideClick:!0,onVisibleChange:()=>v(d),tooltip:f.createElement(rg,null,f.createElement(S,{color:p==="transparent"?"#000000":p,onChange:h,onFocus:n,onBlur:o}),A.length>0&&f.createElement(og,null,A.map((x,C)=>f.createElement(ft,{key:`${x.value}-${C}`,hasChrome:!1,tooltip:f.createElement(ng,{note:x.keyword||x.value})},f.createElement(mc,{value:x[y],active:d&&Dn(x[y])===Dn(d[y]),onClick:()=>h(x.value)})))))},f.createElement(mc,{value:p,style:{margin:4}})),f.createElement(sg,{id:Le(e),value:c,onChange:x=>h(x.target.value),onFocus:x=>x.target.select(),readOnly:w,placeholder:"Choose color..."}),c?f.createElement(lg,{onClick:g}):null)},gg=Ic});q();V();J();q();V();J();q();V();J();$n();Mr();Mr();$r();q();V();J();q();V();J();var OA=__STORYBOOK_CORE_EVENTS__,{ARGTYPES_INFO_REQUEST:bi,ARGTYPES_INFO_RESPONSE:to,CHANNEL_CREATED:_A,CHANNEL_WS_DISCONNECT:BA,CONFIG_ERROR:Ei,CREATE_NEW_STORYFILE_REQUEST:PA,CREATE_NEW_STORYFILE_RESPONSE:NA,CURRENT_STORY_WAS_SET:ro,DOCS_PREPARED:vi,DOCS_RENDERED:qr,FILE_COMPONENT_SEARCH_REQUEST:jA,FILE_COMPONENT_SEARCH_RESPONSE:LA,FORCE_REMOUNT:Ai,FORCE_RE_RENDER:Vr,GLOBALS_UPDATED:Wt,NAVIGATE_URL:Di,PLAY_FUNCTION_THREW_EXCEPTION:Si,PRELOAD_ENTRIES:wi,PREVIEW_BUILDER_PROGRESS:MA,PREVIEW_KEYDOWN:Ci,REGISTER_SUBSCRIPTION:UA,REQUEST_WHATS_NEW_DATA:$A,RESET_STORY_ARGS:Jr,RESULT_WHATS_NEW_DATA:qA,SAVE_STORY_REQUEST:no,SAVE_STORY_RESPONSE:zr,SELECT_STORY:VA,SET_CONFIG:JA,SET_CURRENT_STORY:xi,SET_FILTER:zA,SET_GLOBALS:Ti,SET_INDEX:HA,SET_STORIES:GA,SET_WHATS_NEW_CACHE:WA,SHARED_STATE_CHANGED:KA,SHARED_STATE_SET:YA,STORIES_COLLAPSE_ALL:XA,STORIES_EXPAND_ALL:QA,STORY_ARGS_UPDATED:Fi,STORY_CHANGED:Ii,STORY_ERRORED:ki,STORY_FINISHED:oo,STORY_INDEX_INVALIDATED:Ri,STORY_MISSING:ao,STORY_PREPARED:Oi,STORY_RENDERED:br,STORY_RENDER_PHASE_CHANGED:Kt,STORY_SPECIFIED:_i,STORY_THREW_EXCEPTION:Bi,STORY_UNCHANGED:Pi,TELEMETRY_ERROR:ZA,TESTING_MODULE_CANCEL_TEST_RUN_REQUEST:eD,TESTING_MODULE_CANCEL_TEST_RUN_RESPONSE:tD,TESTING_MODULE_CRASH_REPORT:rD,TESTING_MODULE_PROGRESS_REPORT:nD,TESTING_MODULE_RUN_ALL_REQUEST:oD,TESTING_MODULE_RUN_REQUEST:aD,TOGGLE_WHATS_NEW_NOTIFICATIONS:iD,UNHANDLED_ERRORS_WHILE_PLAYING:Ni,UPDATE_GLOBALS:Hr,UPDATE_QUERY_PARAMS:ji,UPDATE_STORY_ARGS:Gr}=__STORYBOOK_CORE_EVENTS__;q();V();J();var yD=__STORYBOOK_API__,{ActiveTabs:gD,Consumer:bD,ManagerContext:ED,Provider:vD,RequestResponseError:AD,addons:Wr,combineParameters:DD,controlOrMetaKey:SD,controlOrMetaSymbol:wD,eventMatchesShortcut:CD,eventToShortcut:xD,experimental_MockUniversalStore:TD,experimental_UniversalStore:FD,experimental_requestResponse:io,experimental_useUniversalStore:ID,isMacLike:kD,isShortcutTaken:RD,keyToSymbol:OD,merge:_D,mockChannel:BD,optionOrAltSymbol:PD,shortcutMatchesShortcut:ND,shortcutToHumanString:jD,types:Li,useAddonState:LD,useArgTypes:so,useArgs:Mi,useChannel:MD,useGlobalTypes:UD,useGlobals:Ui,useParameter:$i,useSharedState:$D,useStoryPrepared:qD,useStorybookApi:VD,useStorybookState:qi}=__STORYBOOK_API__;po();q();V();J();var Hi=Object.prototype.hasOwnProperty;function Gi(e,t,r){for(r of e.keys())if(Ft(r,t))return r}function Ft(e,t){var r,n,o;if(e===t)return!0;if(e&&t&&(r=e.constructor)===t.constructor){if(r===Date)return e.getTime()===t.getTime();if(r===RegExp)return e.toString()===t.toString();if(r===Array){if((n=e.length)===t.length)for(;n--&&Ft(e[n],t[n]););return n===-1}if(r===Set){if(e.size!==t.size)return!1;for(n of e)if(o=n,o&&typeof o=="object"&&(o=Gi(t,o),!o)||!t.has(o))return!1;return!0}if(r===Map){if(e.size!==t.size)return!1;for(n of e)if(o=n[0],o&&typeof o=="object"&&(o=Gi(t,o),!o)||!Ft(n[1],t.get(o)))return!1;return!0}if(r===ArrayBuffer)e=new Uint8Array(e),t=new Uint8Array(t);else if(r===DataView){if((n=e.byteLength)===t.byteLength)for(;n--&&e.getInt8(n)===t.getInt8(n););return n===-1}if(ArrayBuffer.isView(e)){if((n=e.byteLength)===t.byteLength)for(;n--&&e[n]===t[n];);return n===-1}if(!r||typeof e=="object"){n=0;for(r in e)if(Hi.call(e,r)&&++n&&!Hi.call(t,r)||!(r in t)||!Ft(e[r],t[r]))return!1;return Object.keys(t).length===n}}return e!==e&&t!==t}yo();q();V();J();var NT=__STORYBOOK_CLIENT_LOGGER__,{deprecate:jT,logger:Xr,once:ss,pretty:LT}=__STORYBOOK_CLIENT_LOGGER__;q();V();J();q();V();J();q();V();J();q();V();J();var VT=__STORYBOOK_CHANNELS__,{Channel:Qr,HEARTBEAT_INTERVAL:JT,HEARTBEAT_MAX_LATENCY:zT,PostMessageTransport:HT,WebsocketTransport:GT,createBrowserChannel:WT}=__STORYBOOK_CHANNELS__;q();V();J();var ZT=__STORYBOOK_CLIENT_LOGGER__,{deprecate:nt,logger:ee,once:mt,pretty:eF}=__STORYBOOK_CLIENT_LOGGER__;q();V();J();var Uh=Object.defineProperty,he=(e,t)=>Uh(e,"name",{value:t,configurable:!0});function fe(e){for(var t=[],r=1;r` - ${i}`).join(` -`)}`),`${o}${a!=null?` - -More info: ${a} -`:""}`}};he(ls,"StorybookError");var Ae=ls,$h=(e=>(e.BLOCKS="BLOCKS",e.DOCS_TOOLS="DOCS-TOOLS",e.PREVIEW_CLIENT_LOGGER="PREVIEW_CLIENT-LOGGER",e.PREVIEW_CHANNELS="PREVIEW_CHANNELS",e.PREVIEW_CORE_EVENTS="PREVIEW_CORE-EVENTS",e.PREVIEW_INSTRUMENTER="PREVIEW_INSTRUMENTER",e.PREVIEW_API="PREVIEW_API",e.PREVIEW_REACT_DOM_SHIM="PREVIEW_REACT-DOM-SHIM",e.PREVIEW_ROUTER="PREVIEW_ROUTER",e.PREVIEW_THEMING="PREVIEW_THEMING",e.RENDERER_HTML="RENDERER_HTML",e.RENDERER_PREACT="RENDERER_PREACT",e.RENDERER_REACT="RENDERER_REACT",e.RENDERER_SERVER="RENDERER_SERVER",e.RENDERER_SVELTE="RENDERER_SVELTE",e.RENDERER_VUE="RENDERER_VUE",e.RENDERER_VUE3="RENDERER_VUE3",e.RENDERER_WEB_COMPONENTS="RENDERER_WEB-COMPONENTS",e.FRAMEWORK_NEXTJS="FRAMEWORK_NEXTJS",e.ADDON_VITEST="ADDON_VITEST",e))($h||{}),cs=class extends Ae{constructor(t){super({category:"PREVIEW_API",code:1,message:fe` - Couldn't find story matching id '${t.storyId}' after HMR. - - Did you just rename a story? - - Did you remove it from your CSF file? - - Are you sure a story with the id '${t.storyId}' exists? - - Please check the values in the stories field of your main.js config and see if they would match your CSF File. - - Also check the browser console and terminal for potential error messages.`}),this.data=t}};he(cs,"MissingStoryAfterHmrError");var ds=cs,qh=class extends Ae{constructor(t){super({category:"PREVIEW_API",code:2,documentation:"https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#using-implicit-actions-during-rendering-is-deprecated-for-example-in-the-play-function",message:fe` - We detected that you use an implicit action arg while ${t.phase} of your story. - ${t.deprecated?` -This is deprecated and won't work in Storybook 8 anymore. -`:""} - Please provide an explicit spy to your args like this: - import { fn } from '@storybook/test'; - ... - args: { - ${t.name}: fn() - }`}),this.data=t}};he(qh,"ImplicitActionsDuringRendering");var ps=class extends Ae{constructor(){super({category:"PREVIEW_API",code:3,message:fe` - Cannot call \`storyStore.extract()\` without calling \`storyStore.cacheAllCsfFiles()\` first. - - You probably meant to call \`await preview.extract()\` which does the above for you.`})}};he(ps,"CalledExtractOnStoreError");var hs=ps,fs=class extends Ae{constructor(){super({category:"PREVIEW_API",code:4,message:fe` - Expected your framework's preset to export a \`renderToCanvas\` field. - - Perhaps it needs to be upgraded for Storybook 7.0?`,documentation:"https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#mainjs-framework-field"})}};he(fs,"MissingRenderToCanvasError");var ms=fs,ys=class extends Ae{constructor(t){super({category:"PREVIEW_API",code:5,message:fe` - Called \`Preview.${t.methodName}()\` before initialization. - - The preview needs to load the story index before most methods can be called. If you want - to call \`${t.methodName}\`, try \`await preview.initializationPromise;\` first. - - If you didn't call the above code, then likely it was called by an addon that needs to - do the above.`}),this.data=t}};he(ys,"CalledPreviewMethodBeforeInitializationError");var Me=ys,gs=class extends Ae{constructor(t){super({category:"PREVIEW_API",code:6,message:fe` - Error fetching \`/index.json\`: - - ${t.text} - - If you are in development, this likely indicates a problem with your Storybook process, - check the terminal for errors. - - If you are in a deployed Storybook, there may have been an issue deploying the full Storybook - build.`}),this.data=t}};he(gs,"StoryIndexFetchError");var bs=gs,Es=class extends Ae{constructor(t){super({category:"PREVIEW_API",code:7,message:fe` - Tried to render docs entry ${t.storyId} but it is a MDX file that has no CSF - references, or autodocs for a CSF file that some doesn't refer to itself. - - This likely is an internal error in Storybook's indexing, or you've attached the - \`attached-mdx\` tag to an MDX file that is not attached.`}),this.data=t}};he(Es,"MdxFileWithNoCsfReferencesError");var vs=Es,As=class extends Ae{constructor(){super({category:"PREVIEW_API",code:8,message:fe` - Couldn't find any stories in your Storybook. - - - Please check your stories field of your main.js config: does it match correctly? - - Also check the browser console and terminal for error messages.`})}};he(As,"EmptyIndexError");var Ds=As,Ss=class extends Ae{constructor(t){super({category:"PREVIEW_API",code:9,message:fe` - Couldn't find story matching '${t.storySpecifier}'. - - - Are you sure a story with that id exists? - - Please check your stories field of your main.js config. - - Also check the browser console and terminal for error messages.`}),this.data=t}};he(Ss,"NoStoryMatchError");var ws=Ss,Cs=class extends Ae{constructor(t){super({category:"PREVIEW_API",code:10,message:fe` - Couldn't find story matching id '${t.storyId}' after importing a CSF file. - - The file was indexed as if the story was there, but then after importing the file in the browser - we didn't find the story. Possible reasons: - - You are using a custom story indexer that is misbehaving. - - You have a custom file loader that is removing or renaming exports. - - Please check your browser console and terminal for errors that may explain the issue.`}),this.data=t}};he(Cs,"MissingStoryFromCsfFileError");var xs=Cs,Ts=class extends Ae{constructor(){super({category:"PREVIEW_API",code:11,message:fe` - Cannot access the Story Store until the index is ready. - - It is not recommended to use methods directly on the Story Store anyway, in Storybook 9 we will - remove access to the store entirely`})}};he(Ts,"StoryStoreAccessedBeforeInitializationError");var Fs=Ts,Is=class extends Ae{constructor(t){super({category:"PREVIEW_API",code:12,message:fe` - Incorrect use of mount in the play function. - - To use mount in the play function, you must satisfy the following two requirements: - - 1. You *must* destructure the mount property from the \`context\` (the argument passed to your play function). - This makes sure that Storybook does not start rendering the story before the play function begins. - - 2. Your Storybook framework or builder must be configured to transpile to ES2017 or newer. - This is because destructuring statements and async/await usages are otherwise transpiled away, - which prevents Storybook from recognizing your usage of \`mount\`. - - Note that Angular is not supported. As async/await is transpiled to support the zone.js polyfill. - - More info: https://storybook.js.org/docs/writing-tests/interaction-testing#run-code-before-the-component-gets-rendered - - Received the following play function: - ${t.playFunction}`}),this.data=t}};he(Is,"MountMustBeDestructuredError");var Zr=Is,ks=class extends Ae{constructor(t){super({category:"PREVIEW_API",code:14,message:fe` - No render function available for storyId '${t.id}' - `}),this.data=t}};he(ks,"NoRenderFunctionError");var Rs=ks,Os=class extends Ae{constructor(){super({category:"PREVIEW_API",code:15,message:fe` - No component is mounted in your story. - - This usually occurs when you destructure mount in the play function, but forget to call it. - - For example: - - async play({ mount, canvasElement }) { - // 👈 mount should be called: await mount(); - const canvas = within(canvasElement); - const button = await canvas.findByRole('button'); - await userEvent.click(button); - }; - - Make sure to either remove it or call mount in your play function. - `})}};he(Os,"NoStoryMountedError");var _s=Os,Vh=class extends Ae{constructor(){super({category:"FRAMEWORK_NEXTJS",code:1,documentation:"https://storybook.js.org/docs/get-started/nextjs#faq",message:fe` - You are importing avif images, but you don't have sharp installed. - - You have to install sharp in order to use image optimization features in Next.js. - `})}};he(Vh,"NextJsSharpError");var Jh=class extends Ae{constructor(t){super({category:"FRAMEWORK_NEXTJS",code:2,message:fe` - Tried to access router mocks from "${t.importType}" but they were not created yet. You might be running code in an unsupported environment. - `}),this.data=t}};he(Jh,"NextjsRouterMocksNotAvailable");var Bs=class extends Ae{constructor(t){super({category:"DOCS-TOOLS",code:1,documentation:"https://github.com/storybookjs/storybook/issues/26606",message:fe` - There was a failure when generating detailed ArgTypes in ${t.language} for: - ${JSON.stringify(t.type,null,2)} - - Storybook will fall back to use a generic type description instead. - - This type is either not supported or it is a bug in the docgen generation in Storybook. - If you think this is a bug, please detail it as much as possible in the Github issue. - `}),this.data=t}};he(Bs,"UnknownArgTypesError");var en=Bs,zh=class extends Ae{constructor(t){super({category:"ADDON_VITEST",code:1,message:fe` - Encountered an unsupported value "${t.value}" when setting the viewport ${t.dimension} dimension. - - The Storybook plugin only supports values in the following units: - - px, vh, vw, em, rem and %. - - You can either change the viewport for this story to use one of the supported units or skip the test by adding '!test' to the story's tags per https://storybook.js.org/docs/writing-stories/tags - `}),this.data=t}};he(zh,"UnsupportedViewportDimensionError");var Hh=Object.create,Mo=Object.defineProperty,Gh=Object.getOwnPropertyDescriptor,Wh=Object.getOwnPropertyNames,Kh=Object.getPrototypeOf,Yh=Object.prototype.hasOwnProperty,b=(e,t)=>Mo(e,"name",{value:t,configurable:!0}),tn=(e=>typeof je<"u"?je:typeof Proxy<"u"?new Proxy(e,{get:(t,r)=>(typeof je<"u"?je:t)[r]}):e)(function(e){if(typeof je<"u")return je.apply(this,arguments);throw Error('Dynamic require of "'+e+'" is not supported')}),Te=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),Xh=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of Wh(t))!Yh.call(e,o)&&o!==r&&Mo(e,o,{get:()=>t[o],enumerable:!(n=Gh(t,o))||n.enumerable});return e},tr=(e,t,r)=>(r=e!=null?Hh(Kh(e)):{},Xh(t||!e||!e.__esModule?Mo(r,"default",{value:e,enumerable:!0}):r,e)),Ys=Te((e,t)=>{(function(r){if(typeof e=="object"&&typeof t<"u")t.exports=r();else if(typeof define=="function"&&define.amd)define([],r);else{var n;typeof window<"u"||typeof window<"u"?n=window:typeof self<"u"?n=self:n=this,n.memoizerific=r()}})(function(){var r,n,o;return b(function a(i,s,l){function c(d,y){if(!s[d]){if(!i[d]){var g=typeof tn=="function"&&tn;if(!y&&g)return g(d,!0);if(p)return p(d,!0);var A=new Error("Cannot find module '"+d+"'");throw A.code="MODULE_NOT_FOUND",A}var v=s[d]={exports:{}};i[d][0].call(v.exports,function(S){var w=i[d][1][S];return c(w||S)},v,v.exports,a,i,s,l)}return s[d].exports}b(c,"s");for(var p=typeof tn=="function"&&tn,h=0;h=0)return this.lastItem=this.list[p],this.list[p].val},l.prototype.set=function(c,p){var h;return this.lastItem&&this.isEqual(this.lastItem.key,c)?(this.lastItem.val=p,this):(h=this.indexOf(c),h>=0?(this.lastItem=this.list[h],this.list[h].val=p,this):(this.lastItem={key:c,val:p},this.list.push(this.lastItem),this.size++,this))},l.prototype.delete=function(c){var p;if(this.lastItem&&this.isEqual(this.lastItem.key,c)&&(this.lastItem=void 0),p=this.indexOf(c),p>=0)return this.size--,this.list.splice(p,1)[0]},l.prototype.has=function(c){var p;return this.lastItem&&this.isEqual(this.lastItem.key,c)?!0:(p=this.indexOf(c),p>=0?(this.lastItem=this.list[p],!0):!1)},l.prototype.forEach=function(c,p){var h;for(h=0;h0&&(k[C]={cacheItem:S,arg:arguments[C]},F?c(g,k):g.push(k),g.length>d&&p(g.shift())),v.wasMemoized=F,v.numArgs=C+1,x},"memoizerific");return v.limit=d,v.wasMemoized=!1,v.cache=y,v.lru=g,v}};function c(d,y){var g=d.length,A=y.length,v,S,w;for(S=0;S=0&&(g=d[v],A=g.cacheItem.get(g.arg),!A||!A.size);v--)g.cacheItem.delete(g.arg)}b(p,"removeCachedResult");function h(d,y){return d===y||d!==d&&y!==y}b(h,"isEqual")},{"map-or-similar":1}]},{},[3])(3)})}),Xs=Te(e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.encodeString=n;var t=Array.from({length:256},(o,a)=>"%"+((a<16?"0":"")+a.toString(16)).toUpperCase()),r=new Int8Array([0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,1,1,1,1,0,0,1,1,0,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,1,0]);function n(o){let a=o.length;if(a===0)return"";let i="",s=0,l=0;e:for(;l>6]+t[128|c&63];continue}if(c<55296||c>=57344){s=l+1,i+=t[224|c>>12]+t[128|c>>6&63]+t[128|c&63];continue}if(++l,l>=a)throw new Error("URI malformed");let p=o.charCodeAt(l)&1023;s=l+1,c=65536+((c&1023)<<10|p),i+=t[240|c>>18]+t[128|c>>12&63]+t[128|c>>6&63]+t[128|c&63]}return s===0?o:s{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.defaultOptions=e.defaultShouldSerializeObject=e.defaultValueSerializer=void 0;var t=Xs(),r=b(a=>{switch(typeof a){case"string":return(0,t.encodeString)(a);case"bigint":case"boolean":return""+a;case"number":if(Number.isFinite(a))return a<1e21?""+a:(0,t.encodeString)(""+a);break}return a instanceof Date?(0,t.encodeString)(a.toISOString()):""},"defaultValueSerializer");e.defaultValueSerializer=r;var n=b(a=>a instanceof Date,"defaultShouldSerializeObject");e.defaultShouldSerializeObject=n;var o=b(a=>a,"identityFunc");e.defaultOptions={nesting:!0,nestingSyntax:"dot",arrayRepeat:!1,arrayRepeatSyntax:"repeat",delimiter:38,valueDeserializer:o,valueSerializer:e.defaultValueSerializer,keyDeserializer:o,shouldSerializeObject:e.defaultShouldSerializeObject}}),Qs=Te(e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getDeepObject=o,e.stringifyObject=p;var t=Uo(),r=Xs();function n(h){return h==="__proto__"||h==="constructor"||h==="prototype"}b(n,"isPrototypeKey");function o(h,d,y,g,A){if(n(d))return h;let v=h[d];return typeof v=="object"&&v!==null?v:!g&&(A||typeof y=="number"||typeof y=="string"&&y*0===0&&y.indexOf(".")===-1)?h[d]=[]:h[d]={}}b(o,"getDeepObject");var a=20,i="[]",s="[",l="]",c=".";function p(h,d,y=0,g,A){let{nestingSyntax:v=t.defaultOptions.nestingSyntax,arrayRepeat:S=t.defaultOptions.arrayRepeat,arrayRepeatSyntax:w=t.defaultOptions.arrayRepeatSyntax,nesting:x=t.defaultOptions.nesting,delimiter:C=t.defaultOptions.delimiter,valueSerializer:k=t.defaultOptions.valueSerializer,shouldSerializeObject:F=t.defaultOptions.shouldSerializeObject}=d,_=typeof C=="number"?String.fromCharCode(C):C,j=A===!0&&S,M=v==="dot"||v==="js"&&!A;if(y>a)return"";let P="",W=!0,L=!1;for(let z in h){let D=h[z],T;g?(T=g,j?w==="bracket"&&(T+=i):M?(T+=c,T+=z):(T+=s,T+=z,T+=l)):T=z,W||(P+=_),typeof D=="object"&&D!==null&&!F(D)?(L=D.pop!==void 0,(x||S&&L)&&(P+=p(D,d,y+1,T,L))):(P+=(0,r.encodeString)(T),P+="=",P+=k(D,z)),W&&(W=!1)}return P}b(p,"stringifyObject")}),Qh=Te((e,t)=>{"use strict";var r=12,n=0,o=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,4,4,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,6,7,7,7,7,7,7,7,7,7,7,7,7,8,7,7,10,9,9,9,11,4,4,4,4,4,4,4,4,4,4,4,0,0,0,0,0,0,0,0,0,0,0,0,12,0,0,0,0,24,36,48,60,72,84,96,0,12,12,12,0,0,0,0,0,0,0,0,0,0,0,24,0,0,0,0,0,0,0,0,0,24,24,24,0,0,0,0,0,0,0,0,0,24,24,0,0,0,0,0,0,0,0,0,0,48,48,48,0,0,0,0,0,0,0,0,0,0,48,48,0,0,0,0,0,0,0,0,0,48,0,0,0,0,0,0,0,0,0,0,127,63,63,63,0,31,15,15,15,7,7,7];function a(l){var c=l.indexOf("%");if(c===-1)return l;for(var p=l.length,h="",d=0,y=0,g=c,A=r;c>-1&&c>10),56320+(y&1023)),y=0,d=c+3,c=g=l.indexOf("%",d);else{if(A===n)return null;if(c+=3,c{"use strict";var t=e&&e.__importDefault||function(h){return h&&h.__esModule?h:{default:h}};Object.defineProperty(e,"__esModule",{value:!0}),e.numberValueDeserializer=e.numberKeyDeserializer=void 0,e.parse=p;var r=Qs(),n=Uo(),o=t(Qh()),a=b(h=>{let d=Number(h);return Number.isNaN(d)?h:d},"numberKeyDeserializer");e.numberKeyDeserializer=a;var i=b(h=>{let d=Number(h);return Number.isNaN(d)?h:d},"numberValueDeserializer");e.numberValueDeserializer=i;var s=/\+/g,l=b(function(){},"Empty");l.prototype=Object.create(null);function c(h,d,y,g,A){let v=h.substring(d,y);return g&&(v=v.replace(s," ")),A&&(v=(0,o.default)(v)||v),v}b(c,"computeKeySlice");function p(h,d){let{valueDeserializer:y=n.defaultOptions.valueDeserializer,keyDeserializer:g=n.defaultOptions.keyDeserializer,arrayRepeatSyntax:A=n.defaultOptions.arrayRepeatSyntax,nesting:v=n.defaultOptions.nesting,arrayRepeat:S=n.defaultOptions.arrayRepeat,nestingSyntax:w=n.defaultOptions.nestingSyntax,delimiter:x=n.defaultOptions.delimiter}=d??{},C=typeof x=="string"?x.charCodeAt(0):x,k=w==="js",F=new l;if(typeof h!="string")return F;let _=h.length,j="",M=-1,P=-1,W=-1,L=F,z,D="",T="",O=!1,U=!1,$=!1,X=!1,se=!1,te=!1,Q=!1,re=0,ve=-1,de=-1,Fe=-1;for(let le=0;le<_+1;le++){if(re=le!==_?h.charCodeAt(le):C,re===C){if(Q=P>M,Q||(P=le),W!==P-1&&(T=c(h,W+1,ve>-1?ve:P,$,O),D=g(T),z!==void 0&&(L=(0,r.getDeepObject)(L,z,D,k&&se,k&&te))),Q||D!==""){Q&&(j=h.slice(P+1,le),X&&(j=j.replace(s," ")),U&&(j=(0,o.default)(j)||j));let He=y(j,D);if(S){let Ue=L[D];Ue===void 0?ve>-1?L[D]=[He]:L[D]=He:Ue.pop?Ue.push(He):L[D]=[Ue,He]}else L[D]=He}j="",M=le,P=le,O=!1,U=!1,$=!1,X=!1,se=!1,te=!1,ve=-1,W=le,L=F,z=void 0,D=""}else re===93?(S&&A==="bracket"&&Fe===91&&(ve=de),v&&(w==="index"||k)&&P<=M&&(W!==de&&(T=c(h,W+1,le,$,O),D=g(T),z!==void 0&&(L=(0,r.getDeepObject)(L,z,D,void 0,k)),z=D,$=!1,O=!1),W=le,te=!0,se=!1)):re===46?v&&(w==="dot"||k)&&P<=M&&(W!==de&&(T=c(h,W+1,le,$,O),D=g(T),z!==void 0&&(L=(0,r.getDeepObject)(L,z,D,k)),z=D,$=!1,O=!1),se=!0,te=!1,W=le):re===91?v&&(w==="index"||k)&&P<=M&&(W!==de&&(T=c(h,W+1,le,$,O),D=g(T),k&&z!==void 0&&(L=(0,r.getDeepObject)(L,z,D,k)),z=D,$=!1,O=!1,se=!1,te=!0),W=le):re===61?P<=M?P=le:U=!0:re===43?P>M?X=!0:$=!0:re===37&&(P>M?U=!0:O=!0);de=le,Fe=re}return F}b(p,"parse")}),ef=Te(e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.stringify=r;var t=Qs();function r(n,o){if(n===null||typeof n!="object")return"";let a=o??{};return(0,t.stringifyObject)(n,a)}b(r,"stringify")}),$o=Te(e=>{"use strict";var t=e&&e.__createBinding||(Object.create?function(a,i,s,l){l===void 0&&(l=s);var c=Object.getOwnPropertyDescriptor(i,s);(!c||("get"in c?!i.__esModule:c.writable||c.configurable))&&(c={enumerable:!0,get:b(function(){return i[s]},"get")}),Object.defineProperty(a,l,c)}:function(a,i,s,l){l===void 0&&(l=s),a[l]=i[s]}),r=e&&e.__exportStar||function(a,i){for(var s in a)s!=="default"&&!Object.prototype.hasOwnProperty.call(i,s)&&t(i,a,s)};Object.defineProperty(e,"__esModule",{value:!0}),e.stringify=e.parse=void 0;var n=Zh();Object.defineProperty(e,"parse",{enumerable:!0,get:b(function(){return n.parse},"get")});var o=ef();Object.defineProperty(e,"stringify",{enumerable:!0,get:b(function(){return o.stringify},"get")}),r(Uo(),e)}),Zs=Te((e,t)=>{t.exports={Aacute:"\xC1",aacute:"\xE1",Abreve:"\u0102",abreve:"\u0103",ac:"\u223E",acd:"\u223F",acE:"\u223E\u0333",Acirc:"\xC2",acirc:"\xE2",acute:"\xB4",Acy:"\u0410",acy:"\u0430",AElig:"\xC6",aelig:"\xE6",af:"\u2061",Afr:"\u{1D504}",afr:"\u{1D51E}",Agrave:"\xC0",agrave:"\xE0",alefsym:"\u2135",aleph:"\u2135",Alpha:"\u0391",alpha:"\u03B1",Amacr:"\u0100",amacr:"\u0101",amalg:"\u2A3F",amp:"&",AMP:"&",andand:"\u2A55",And:"\u2A53",and:"\u2227",andd:"\u2A5C",andslope:"\u2A58",andv:"\u2A5A",ang:"\u2220",ange:"\u29A4",angle:"\u2220",angmsdaa:"\u29A8",angmsdab:"\u29A9",angmsdac:"\u29AA",angmsdad:"\u29AB",angmsdae:"\u29AC",angmsdaf:"\u29AD",angmsdag:"\u29AE",angmsdah:"\u29AF",angmsd:"\u2221",angrt:"\u221F",angrtvb:"\u22BE",angrtvbd:"\u299D",angsph:"\u2222",angst:"\xC5",angzarr:"\u237C",Aogon:"\u0104",aogon:"\u0105",Aopf:"\u{1D538}",aopf:"\u{1D552}",apacir:"\u2A6F",ap:"\u2248",apE:"\u2A70",ape:"\u224A",apid:"\u224B",apos:"'",ApplyFunction:"\u2061",approx:"\u2248",approxeq:"\u224A",Aring:"\xC5",aring:"\xE5",Ascr:"\u{1D49C}",ascr:"\u{1D4B6}",Assign:"\u2254",ast:"*",asymp:"\u2248",asympeq:"\u224D",Atilde:"\xC3",atilde:"\xE3",Auml:"\xC4",auml:"\xE4",awconint:"\u2233",awint:"\u2A11",backcong:"\u224C",backepsilon:"\u03F6",backprime:"\u2035",backsim:"\u223D",backsimeq:"\u22CD",Backslash:"\u2216",Barv:"\u2AE7",barvee:"\u22BD",barwed:"\u2305",Barwed:"\u2306",barwedge:"\u2305",bbrk:"\u23B5",bbrktbrk:"\u23B6",bcong:"\u224C",Bcy:"\u0411",bcy:"\u0431",bdquo:"\u201E",becaus:"\u2235",because:"\u2235",Because:"\u2235",bemptyv:"\u29B0",bepsi:"\u03F6",bernou:"\u212C",Bernoullis:"\u212C",Beta:"\u0392",beta:"\u03B2",beth:"\u2136",between:"\u226C",Bfr:"\u{1D505}",bfr:"\u{1D51F}",bigcap:"\u22C2",bigcirc:"\u25EF",bigcup:"\u22C3",bigodot:"\u2A00",bigoplus:"\u2A01",bigotimes:"\u2A02",bigsqcup:"\u2A06",bigstar:"\u2605",bigtriangledown:"\u25BD",bigtriangleup:"\u25B3",biguplus:"\u2A04",bigvee:"\u22C1",bigwedge:"\u22C0",bkarow:"\u290D",blacklozenge:"\u29EB",blacksquare:"\u25AA",blacktriangle:"\u25B4",blacktriangledown:"\u25BE",blacktriangleleft:"\u25C2",blacktriangleright:"\u25B8",blank:"\u2423",blk12:"\u2592",blk14:"\u2591",blk34:"\u2593",block:"\u2588",bne:"=\u20E5",bnequiv:"\u2261\u20E5",bNot:"\u2AED",bnot:"\u2310",Bopf:"\u{1D539}",bopf:"\u{1D553}",bot:"\u22A5",bottom:"\u22A5",bowtie:"\u22C8",boxbox:"\u29C9",boxdl:"\u2510",boxdL:"\u2555",boxDl:"\u2556",boxDL:"\u2557",boxdr:"\u250C",boxdR:"\u2552",boxDr:"\u2553",boxDR:"\u2554",boxh:"\u2500",boxH:"\u2550",boxhd:"\u252C",boxHd:"\u2564",boxhD:"\u2565",boxHD:"\u2566",boxhu:"\u2534",boxHu:"\u2567",boxhU:"\u2568",boxHU:"\u2569",boxminus:"\u229F",boxplus:"\u229E",boxtimes:"\u22A0",boxul:"\u2518",boxuL:"\u255B",boxUl:"\u255C",boxUL:"\u255D",boxur:"\u2514",boxuR:"\u2558",boxUr:"\u2559",boxUR:"\u255A",boxv:"\u2502",boxV:"\u2551",boxvh:"\u253C",boxvH:"\u256A",boxVh:"\u256B",boxVH:"\u256C",boxvl:"\u2524",boxvL:"\u2561",boxVl:"\u2562",boxVL:"\u2563",boxvr:"\u251C",boxvR:"\u255E",boxVr:"\u255F",boxVR:"\u2560",bprime:"\u2035",breve:"\u02D8",Breve:"\u02D8",brvbar:"\xA6",bscr:"\u{1D4B7}",Bscr:"\u212C",bsemi:"\u204F",bsim:"\u223D",bsime:"\u22CD",bsolb:"\u29C5",bsol:"\\",bsolhsub:"\u27C8",bull:"\u2022",bullet:"\u2022",bump:"\u224E",bumpE:"\u2AAE",bumpe:"\u224F",Bumpeq:"\u224E",bumpeq:"\u224F",Cacute:"\u0106",cacute:"\u0107",capand:"\u2A44",capbrcup:"\u2A49",capcap:"\u2A4B",cap:"\u2229",Cap:"\u22D2",capcup:"\u2A47",capdot:"\u2A40",CapitalDifferentialD:"\u2145",caps:"\u2229\uFE00",caret:"\u2041",caron:"\u02C7",Cayleys:"\u212D",ccaps:"\u2A4D",Ccaron:"\u010C",ccaron:"\u010D",Ccedil:"\xC7",ccedil:"\xE7",Ccirc:"\u0108",ccirc:"\u0109",Cconint:"\u2230",ccups:"\u2A4C",ccupssm:"\u2A50",Cdot:"\u010A",cdot:"\u010B",cedil:"\xB8",Cedilla:"\xB8",cemptyv:"\u29B2",cent:"\xA2",centerdot:"\xB7",CenterDot:"\xB7",cfr:"\u{1D520}",Cfr:"\u212D",CHcy:"\u0427",chcy:"\u0447",check:"\u2713",checkmark:"\u2713",Chi:"\u03A7",chi:"\u03C7",circ:"\u02C6",circeq:"\u2257",circlearrowleft:"\u21BA",circlearrowright:"\u21BB",circledast:"\u229B",circledcirc:"\u229A",circleddash:"\u229D",CircleDot:"\u2299",circledR:"\xAE",circledS:"\u24C8",CircleMinus:"\u2296",CirclePlus:"\u2295",CircleTimes:"\u2297",cir:"\u25CB",cirE:"\u29C3",cire:"\u2257",cirfnint:"\u2A10",cirmid:"\u2AEF",cirscir:"\u29C2",ClockwiseContourIntegral:"\u2232",CloseCurlyDoubleQuote:"\u201D",CloseCurlyQuote:"\u2019",clubs:"\u2663",clubsuit:"\u2663",colon:":",Colon:"\u2237",Colone:"\u2A74",colone:"\u2254",coloneq:"\u2254",comma:",",commat:"@",comp:"\u2201",compfn:"\u2218",complement:"\u2201",complexes:"\u2102",cong:"\u2245",congdot:"\u2A6D",Congruent:"\u2261",conint:"\u222E",Conint:"\u222F",ContourIntegral:"\u222E",copf:"\u{1D554}",Copf:"\u2102",coprod:"\u2210",Coproduct:"\u2210",copy:"\xA9",COPY:"\xA9",copysr:"\u2117",CounterClockwiseContourIntegral:"\u2233",crarr:"\u21B5",cross:"\u2717",Cross:"\u2A2F",Cscr:"\u{1D49E}",cscr:"\u{1D4B8}",csub:"\u2ACF",csube:"\u2AD1",csup:"\u2AD0",csupe:"\u2AD2",ctdot:"\u22EF",cudarrl:"\u2938",cudarrr:"\u2935",cuepr:"\u22DE",cuesc:"\u22DF",cularr:"\u21B6",cularrp:"\u293D",cupbrcap:"\u2A48",cupcap:"\u2A46",CupCap:"\u224D",cup:"\u222A",Cup:"\u22D3",cupcup:"\u2A4A",cupdot:"\u228D",cupor:"\u2A45",cups:"\u222A\uFE00",curarr:"\u21B7",curarrm:"\u293C",curlyeqprec:"\u22DE",curlyeqsucc:"\u22DF",curlyvee:"\u22CE",curlywedge:"\u22CF",curren:"\xA4",curvearrowleft:"\u21B6",curvearrowright:"\u21B7",cuvee:"\u22CE",cuwed:"\u22CF",cwconint:"\u2232",cwint:"\u2231",cylcty:"\u232D",dagger:"\u2020",Dagger:"\u2021",daleth:"\u2138",darr:"\u2193",Darr:"\u21A1",dArr:"\u21D3",dash:"\u2010",Dashv:"\u2AE4",dashv:"\u22A3",dbkarow:"\u290F",dblac:"\u02DD",Dcaron:"\u010E",dcaron:"\u010F",Dcy:"\u0414",dcy:"\u0434",ddagger:"\u2021",ddarr:"\u21CA",DD:"\u2145",dd:"\u2146",DDotrahd:"\u2911",ddotseq:"\u2A77",deg:"\xB0",Del:"\u2207",Delta:"\u0394",delta:"\u03B4",demptyv:"\u29B1",dfisht:"\u297F",Dfr:"\u{1D507}",dfr:"\u{1D521}",dHar:"\u2965",dharl:"\u21C3",dharr:"\u21C2",DiacriticalAcute:"\xB4",DiacriticalDot:"\u02D9",DiacriticalDoubleAcute:"\u02DD",DiacriticalGrave:"`",DiacriticalTilde:"\u02DC",diam:"\u22C4",diamond:"\u22C4",Diamond:"\u22C4",diamondsuit:"\u2666",diams:"\u2666",die:"\xA8",DifferentialD:"\u2146",digamma:"\u03DD",disin:"\u22F2",div:"\xF7",divide:"\xF7",divideontimes:"\u22C7",divonx:"\u22C7",DJcy:"\u0402",djcy:"\u0452",dlcorn:"\u231E",dlcrop:"\u230D",dollar:"$",Dopf:"\u{1D53B}",dopf:"\u{1D555}",Dot:"\xA8",dot:"\u02D9",DotDot:"\u20DC",doteq:"\u2250",doteqdot:"\u2251",DotEqual:"\u2250",dotminus:"\u2238",dotplus:"\u2214",dotsquare:"\u22A1",doublebarwedge:"\u2306",DoubleContourIntegral:"\u222F",DoubleDot:"\xA8",DoubleDownArrow:"\u21D3",DoubleLeftArrow:"\u21D0",DoubleLeftRightArrow:"\u21D4",DoubleLeftTee:"\u2AE4",DoubleLongLeftArrow:"\u27F8",DoubleLongLeftRightArrow:"\u27FA",DoubleLongRightArrow:"\u27F9",DoubleRightArrow:"\u21D2",DoubleRightTee:"\u22A8",DoubleUpArrow:"\u21D1",DoubleUpDownArrow:"\u21D5",DoubleVerticalBar:"\u2225",DownArrowBar:"\u2913",downarrow:"\u2193",DownArrow:"\u2193",Downarrow:"\u21D3",DownArrowUpArrow:"\u21F5",DownBreve:"\u0311",downdownarrows:"\u21CA",downharpoonleft:"\u21C3",downharpoonright:"\u21C2",DownLeftRightVector:"\u2950",DownLeftTeeVector:"\u295E",DownLeftVectorBar:"\u2956",DownLeftVector:"\u21BD",DownRightTeeVector:"\u295F",DownRightVectorBar:"\u2957",DownRightVector:"\u21C1",DownTeeArrow:"\u21A7",DownTee:"\u22A4",drbkarow:"\u2910",drcorn:"\u231F",drcrop:"\u230C",Dscr:"\u{1D49F}",dscr:"\u{1D4B9}",DScy:"\u0405",dscy:"\u0455",dsol:"\u29F6",Dstrok:"\u0110",dstrok:"\u0111",dtdot:"\u22F1",dtri:"\u25BF",dtrif:"\u25BE",duarr:"\u21F5",duhar:"\u296F",dwangle:"\u29A6",DZcy:"\u040F",dzcy:"\u045F",dzigrarr:"\u27FF",Eacute:"\xC9",eacute:"\xE9",easter:"\u2A6E",Ecaron:"\u011A",ecaron:"\u011B",Ecirc:"\xCA",ecirc:"\xEA",ecir:"\u2256",ecolon:"\u2255",Ecy:"\u042D",ecy:"\u044D",eDDot:"\u2A77",Edot:"\u0116",edot:"\u0117",eDot:"\u2251",ee:"\u2147",efDot:"\u2252",Efr:"\u{1D508}",efr:"\u{1D522}",eg:"\u2A9A",Egrave:"\xC8",egrave:"\xE8",egs:"\u2A96",egsdot:"\u2A98",el:"\u2A99",Element:"\u2208",elinters:"\u23E7",ell:"\u2113",els:"\u2A95",elsdot:"\u2A97",Emacr:"\u0112",emacr:"\u0113",empty:"\u2205",emptyset:"\u2205",EmptySmallSquare:"\u25FB",emptyv:"\u2205",EmptyVerySmallSquare:"\u25AB",emsp13:"\u2004",emsp14:"\u2005",emsp:"\u2003",ENG:"\u014A",eng:"\u014B",ensp:"\u2002",Eogon:"\u0118",eogon:"\u0119",Eopf:"\u{1D53C}",eopf:"\u{1D556}",epar:"\u22D5",eparsl:"\u29E3",eplus:"\u2A71",epsi:"\u03B5",Epsilon:"\u0395",epsilon:"\u03B5",epsiv:"\u03F5",eqcirc:"\u2256",eqcolon:"\u2255",eqsim:"\u2242",eqslantgtr:"\u2A96",eqslantless:"\u2A95",Equal:"\u2A75",equals:"=",EqualTilde:"\u2242",equest:"\u225F",Equilibrium:"\u21CC",equiv:"\u2261",equivDD:"\u2A78",eqvparsl:"\u29E5",erarr:"\u2971",erDot:"\u2253",escr:"\u212F",Escr:"\u2130",esdot:"\u2250",Esim:"\u2A73",esim:"\u2242",Eta:"\u0397",eta:"\u03B7",ETH:"\xD0",eth:"\xF0",Euml:"\xCB",euml:"\xEB",euro:"\u20AC",excl:"!",exist:"\u2203",Exists:"\u2203",expectation:"\u2130",exponentiale:"\u2147",ExponentialE:"\u2147",fallingdotseq:"\u2252",Fcy:"\u0424",fcy:"\u0444",female:"\u2640",ffilig:"\uFB03",fflig:"\uFB00",ffllig:"\uFB04",Ffr:"\u{1D509}",ffr:"\u{1D523}",filig:"\uFB01",FilledSmallSquare:"\u25FC",FilledVerySmallSquare:"\u25AA",fjlig:"fj",flat:"\u266D",fllig:"\uFB02",fltns:"\u25B1",fnof:"\u0192",Fopf:"\u{1D53D}",fopf:"\u{1D557}",forall:"\u2200",ForAll:"\u2200",fork:"\u22D4",forkv:"\u2AD9",Fouriertrf:"\u2131",fpartint:"\u2A0D",frac12:"\xBD",frac13:"\u2153",frac14:"\xBC",frac15:"\u2155",frac16:"\u2159",frac18:"\u215B",frac23:"\u2154",frac25:"\u2156",frac34:"\xBE",frac35:"\u2157",frac38:"\u215C",frac45:"\u2158",frac56:"\u215A",frac58:"\u215D",frac78:"\u215E",frasl:"\u2044",frown:"\u2322",fscr:"\u{1D4BB}",Fscr:"\u2131",gacute:"\u01F5",Gamma:"\u0393",gamma:"\u03B3",Gammad:"\u03DC",gammad:"\u03DD",gap:"\u2A86",Gbreve:"\u011E",gbreve:"\u011F",Gcedil:"\u0122",Gcirc:"\u011C",gcirc:"\u011D",Gcy:"\u0413",gcy:"\u0433",Gdot:"\u0120",gdot:"\u0121",ge:"\u2265",gE:"\u2267",gEl:"\u2A8C",gel:"\u22DB",geq:"\u2265",geqq:"\u2267",geqslant:"\u2A7E",gescc:"\u2AA9",ges:"\u2A7E",gesdot:"\u2A80",gesdoto:"\u2A82",gesdotol:"\u2A84",gesl:"\u22DB\uFE00",gesles:"\u2A94",Gfr:"\u{1D50A}",gfr:"\u{1D524}",gg:"\u226B",Gg:"\u22D9",ggg:"\u22D9",gimel:"\u2137",GJcy:"\u0403",gjcy:"\u0453",gla:"\u2AA5",gl:"\u2277",glE:"\u2A92",glj:"\u2AA4",gnap:"\u2A8A",gnapprox:"\u2A8A",gne:"\u2A88",gnE:"\u2269",gneq:"\u2A88",gneqq:"\u2269",gnsim:"\u22E7",Gopf:"\u{1D53E}",gopf:"\u{1D558}",grave:"`",GreaterEqual:"\u2265",GreaterEqualLess:"\u22DB",GreaterFullEqual:"\u2267",GreaterGreater:"\u2AA2",GreaterLess:"\u2277",GreaterSlantEqual:"\u2A7E",GreaterTilde:"\u2273",Gscr:"\u{1D4A2}",gscr:"\u210A",gsim:"\u2273",gsime:"\u2A8E",gsiml:"\u2A90",gtcc:"\u2AA7",gtcir:"\u2A7A",gt:">",GT:">",Gt:"\u226B",gtdot:"\u22D7",gtlPar:"\u2995",gtquest:"\u2A7C",gtrapprox:"\u2A86",gtrarr:"\u2978",gtrdot:"\u22D7",gtreqless:"\u22DB",gtreqqless:"\u2A8C",gtrless:"\u2277",gtrsim:"\u2273",gvertneqq:"\u2269\uFE00",gvnE:"\u2269\uFE00",Hacek:"\u02C7",hairsp:"\u200A",half:"\xBD",hamilt:"\u210B",HARDcy:"\u042A",hardcy:"\u044A",harrcir:"\u2948",harr:"\u2194",hArr:"\u21D4",harrw:"\u21AD",Hat:"^",hbar:"\u210F",Hcirc:"\u0124",hcirc:"\u0125",hearts:"\u2665",heartsuit:"\u2665",hellip:"\u2026",hercon:"\u22B9",hfr:"\u{1D525}",Hfr:"\u210C",HilbertSpace:"\u210B",hksearow:"\u2925",hkswarow:"\u2926",hoarr:"\u21FF",homtht:"\u223B",hookleftarrow:"\u21A9",hookrightarrow:"\u21AA",hopf:"\u{1D559}",Hopf:"\u210D",horbar:"\u2015",HorizontalLine:"\u2500",hscr:"\u{1D4BD}",Hscr:"\u210B",hslash:"\u210F",Hstrok:"\u0126",hstrok:"\u0127",HumpDownHump:"\u224E",HumpEqual:"\u224F",hybull:"\u2043",hyphen:"\u2010",Iacute:"\xCD",iacute:"\xED",ic:"\u2063",Icirc:"\xCE",icirc:"\xEE",Icy:"\u0418",icy:"\u0438",Idot:"\u0130",IEcy:"\u0415",iecy:"\u0435",iexcl:"\xA1",iff:"\u21D4",ifr:"\u{1D526}",Ifr:"\u2111",Igrave:"\xCC",igrave:"\xEC",ii:"\u2148",iiiint:"\u2A0C",iiint:"\u222D",iinfin:"\u29DC",iiota:"\u2129",IJlig:"\u0132",ijlig:"\u0133",Imacr:"\u012A",imacr:"\u012B",image:"\u2111",ImaginaryI:"\u2148",imagline:"\u2110",imagpart:"\u2111",imath:"\u0131",Im:"\u2111",imof:"\u22B7",imped:"\u01B5",Implies:"\u21D2",incare:"\u2105",in:"\u2208",infin:"\u221E",infintie:"\u29DD",inodot:"\u0131",intcal:"\u22BA",int:"\u222B",Int:"\u222C",integers:"\u2124",Integral:"\u222B",intercal:"\u22BA",Intersection:"\u22C2",intlarhk:"\u2A17",intprod:"\u2A3C",InvisibleComma:"\u2063",InvisibleTimes:"\u2062",IOcy:"\u0401",iocy:"\u0451",Iogon:"\u012E",iogon:"\u012F",Iopf:"\u{1D540}",iopf:"\u{1D55A}",Iota:"\u0399",iota:"\u03B9",iprod:"\u2A3C",iquest:"\xBF",iscr:"\u{1D4BE}",Iscr:"\u2110",isin:"\u2208",isindot:"\u22F5",isinE:"\u22F9",isins:"\u22F4",isinsv:"\u22F3",isinv:"\u2208",it:"\u2062",Itilde:"\u0128",itilde:"\u0129",Iukcy:"\u0406",iukcy:"\u0456",Iuml:"\xCF",iuml:"\xEF",Jcirc:"\u0134",jcirc:"\u0135",Jcy:"\u0419",jcy:"\u0439",Jfr:"\u{1D50D}",jfr:"\u{1D527}",jmath:"\u0237",Jopf:"\u{1D541}",jopf:"\u{1D55B}",Jscr:"\u{1D4A5}",jscr:"\u{1D4BF}",Jsercy:"\u0408",jsercy:"\u0458",Jukcy:"\u0404",jukcy:"\u0454",Kappa:"\u039A",kappa:"\u03BA",kappav:"\u03F0",Kcedil:"\u0136",kcedil:"\u0137",Kcy:"\u041A",kcy:"\u043A",Kfr:"\u{1D50E}",kfr:"\u{1D528}",kgreen:"\u0138",KHcy:"\u0425",khcy:"\u0445",KJcy:"\u040C",kjcy:"\u045C",Kopf:"\u{1D542}",kopf:"\u{1D55C}",Kscr:"\u{1D4A6}",kscr:"\u{1D4C0}",lAarr:"\u21DA",Lacute:"\u0139",lacute:"\u013A",laemptyv:"\u29B4",lagran:"\u2112",Lambda:"\u039B",lambda:"\u03BB",lang:"\u27E8",Lang:"\u27EA",langd:"\u2991",langle:"\u27E8",lap:"\u2A85",Laplacetrf:"\u2112",laquo:"\xAB",larrb:"\u21E4",larrbfs:"\u291F",larr:"\u2190",Larr:"\u219E",lArr:"\u21D0",larrfs:"\u291D",larrhk:"\u21A9",larrlp:"\u21AB",larrpl:"\u2939",larrsim:"\u2973",larrtl:"\u21A2",latail:"\u2919",lAtail:"\u291B",lat:"\u2AAB",late:"\u2AAD",lates:"\u2AAD\uFE00",lbarr:"\u290C",lBarr:"\u290E",lbbrk:"\u2772",lbrace:"{",lbrack:"[",lbrke:"\u298B",lbrksld:"\u298F",lbrkslu:"\u298D",Lcaron:"\u013D",lcaron:"\u013E",Lcedil:"\u013B",lcedil:"\u013C",lceil:"\u2308",lcub:"{",Lcy:"\u041B",lcy:"\u043B",ldca:"\u2936",ldquo:"\u201C",ldquor:"\u201E",ldrdhar:"\u2967",ldrushar:"\u294B",ldsh:"\u21B2",le:"\u2264",lE:"\u2266",LeftAngleBracket:"\u27E8",LeftArrowBar:"\u21E4",leftarrow:"\u2190",LeftArrow:"\u2190",Leftarrow:"\u21D0",LeftArrowRightArrow:"\u21C6",leftarrowtail:"\u21A2",LeftCeiling:"\u2308",LeftDoubleBracket:"\u27E6",LeftDownTeeVector:"\u2961",LeftDownVectorBar:"\u2959",LeftDownVector:"\u21C3",LeftFloor:"\u230A",leftharpoondown:"\u21BD",leftharpoonup:"\u21BC",leftleftarrows:"\u21C7",leftrightarrow:"\u2194",LeftRightArrow:"\u2194",Leftrightarrow:"\u21D4",leftrightarrows:"\u21C6",leftrightharpoons:"\u21CB",leftrightsquigarrow:"\u21AD",LeftRightVector:"\u294E",LeftTeeArrow:"\u21A4",LeftTee:"\u22A3",LeftTeeVector:"\u295A",leftthreetimes:"\u22CB",LeftTriangleBar:"\u29CF",LeftTriangle:"\u22B2",LeftTriangleEqual:"\u22B4",LeftUpDownVector:"\u2951",LeftUpTeeVector:"\u2960",LeftUpVectorBar:"\u2958",LeftUpVector:"\u21BF",LeftVectorBar:"\u2952",LeftVector:"\u21BC",lEg:"\u2A8B",leg:"\u22DA",leq:"\u2264",leqq:"\u2266",leqslant:"\u2A7D",lescc:"\u2AA8",les:"\u2A7D",lesdot:"\u2A7F",lesdoto:"\u2A81",lesdotor:"\u2A83",lesg:"\u22DA\uFE00",lesges:"\u2A93",lessapprox:"\u2A85",lessdot:"\u22D6",lesseqgtr:"\u22DA",lesseqqgtr:"\u2A8B",LessEqualGreater:"\u22DA",LessFullEqual:"\u2266",LessGreater:"\u2276",lessgtr:"\u2276",LessLess:"\u2AA1",lesssim:"\u2272",LessSlantEqual:"\u2A7D",LessTilde:"\u2272",lfisht:"\u297C",lfloor:"\u230A",Lfr:"\u{1D50F}",lfr:"\u{1D529}",lg:"\u2276",lgE:"\u2A91",lHar:"\u2962",lhard:"\u21BD",lharu:"\u21BC",lharul:"\u296A",lhblk:"\u2584",LJcy:"\u0409",ljcy:"\u0459",llarr:"\u21C7",ll:"\u226A",Ll:"\u22D8",llcorner:"\u231E",Lleftarrow:"\u21DA",llhard:"\u296B",lltri:"\u25FA",Lmidot:"\u013F",lmidot:"\u0140",lmoustache:"\u23B0",lmoust:"\u23B0",lnap:"\u2A89",lnapprox:"\u2A89",lne:"\u2A87",lnE:"\u2268",lneq:"\u2A87",lneqq:"\u2268",lnsim:"\u22E6",loang:"\u27EC",loarr:"\u21FD",lobrk:"\u27E6",longleftarrow:"\u27F5",LongLeftArrow:"\u27F5",Longleftarrow:"\u27F8",longleftrightarrow:"\u27F7",LongLeftRightArrow:"\u27F7",Longleftrightarrow:"\u27FA",longmapsto:"\u27FC",longrightarrow:"\u27F6",LongRightArrow:"\u27F6",Longrightarrow:"\u27F9",looparrowleft:"\u21AB",looparrowright:"\u21AC",lopar:"\u2985",Lopf:"\u{1D543}",lopf:"\u{1D55D}",loplus:"\u2A2D",lotimes:"\u2A34",lowast:"\u2217",lowbar:"_",LowerLeftArrow:"\u2199",LowerRightArrow:"\u2198",loz:"\u25CA",lozenge:"\u25CA",lozf:"\u29EB",lpar:"(",lparlt:"\u2993",lrarr:"\u21C6",lrcorner:"\u231F",lrhar:"\u21CB",lrhard:"\u296D",lrm:"\u200E",lrtri:"\u22BF",lsaquo:"\u2039",lscr:"\u{1D4C1}",Lscr:"\u2112",lsh:"\u21B0",Lsh:"\u21B0",lsim:"\u2272",lsime:"\u2A8D",lsimg:"\u2A8F",lsqb:"[",lsquo:"\u2018",lsquor:"\u201A",Lstrok:"\u0141",lstrok:"\u0142",ltcc:"\u2AA6",ltcir:"\u2A79",lt:"<",LT:"<",Lt:"\u226A",ltdot:"\u22D6",lthree:"\u22CB",ltimes:"\u22C9",ltlarr:"\u2976",ltquest:"\u2A7B",ltri:"\u25C3",ltrie:"\u22B4",ltrif:"\u25C2",ltrPar:"\u2996",lurdshar:"\u294A",luruhar:"\u2966",lvertneqq:"\u2268\uFE00",lvnE:"\u2268\uFE00",macr:"\xAF",male:"\u2642",malt:"\u2720",maltese:"\u2720",Map:"\u2905",map:"\u21A6",mapsto:"\u21A6",mapstodown:"\u21A7",mapstoleft:"\u21A4",mapstoup:"\u21A5",marker:"\u25AE",mcomma:"\u2A29",Mcy:"\u041C",mcy:"\u043C",mdash:"\u2014",mDDot:"\u223A",measuredangle:"\u2221",MediumSpace:"\u205F",Mellintrf:"\u2133",Mfr:"\u{1D510}",mfr:"\u{1D52A}",mho:"\u2127",micro:"\xB5",midast:"*",midcir:"\u2AF0",mid:"\u2223",middot:"\xB7",minusb:"\u229F",minus:"\u2212",minusd:"\u2238",minusdu:"\u2A2A",MinusPlus:"\u2213",mlcp:"\u2ADB",mldr:"\u2026",mnplus:"\u2213",models:"\u22A7",Mopf:"\u{1D544}",mopf:"\u{1D55E}",mp:"\u2213",mscr:"\u{1D4C2}",Mscr:"\u2133",mstpos:"\u223E",Mu:"\u039C",mu:"\u03BC",multimap:"\u22B8",mumap:"\u22B8",nabla:"\u2207",Nacute:"\u0143",nacute:"\u0144",nang:"\u2220\u20D2",nap:"\u2249",napE:"\u2A70\u0338",napid:"\u224B\u0338",napos:"\u0149",napprox:"\u2249",natural:"\u266E",naturals:"\u2115",natur:"\u266E",nbsp:"\xA0",nbump:"\u224E\u0338",nbumpe:"\u224F\u0338",ncap:"\u2A43",Ncaron:"\u0147",ncaron:"\u0148",Ncedil:"\u0145",ncedil:"\u0146",ncong:"\u2247",ncongdot:"\u2A6D\u0338",ncup:"\u2A42",Ncy:"\u041D",ncy:"\u043D",ndash:"\u2013",nearhk:"\u2924",nearr:"\u2197",neArr:"\u21D7",nearrow:"\u2197",ne:"\u2260",nedot:"\u2250\u0338",NegativeMediumSpace:"\u200B",NegativeThickSpace:"\u200B",NegativeThinSpace:"\u200B",NegativeVeryThinSpace:"\u200B",nequiv:"\u2262",nesear:"\u2928",nesim:"\u2242\u0338",NestedGreaterGreater:"\u226B",NestedLessLess:"\u226A",NewLine:` -`,nexist:"\u2204",nexists:"\u2204",Nfr:"\u{1D511}",nfr:"\u{1D52B}",ngE:"\u2267\u0338",nge:"\u2271",ngeq:"\u2271",ngeqq:"\u2267\u0338",ngeqslant:"\u2A7E\u0338",nges:"\u2A7E\u0338",nGg:"\u22D9\u0338",ngsim:"\u2275",nGt:"\u226B\u20D2",ngt:"\u226F",ngtr:"\u226F",nGtv:"\u226B\u0338",nharr:"\u21AE",nhArr:"\u21CE",nhpar:"\u2AF2",ni:"\u220B",nis:"\u22FC",nisd:"\u22FA",niv:"\u220B",NJcy:"\u040A",njcy:"\u045A",nlarr:"\u219A",nlArr:"\u21CD",nldr:"\u2025",nlE:"\u2266\u0338",nle:"\u2270",nleftarrow:"\u219A",nLeftarrow:"\u21CD",nleftrightarrow:"\u21AE",nLeftrightarrow:"\u21CE",nleq:"\u2270",nleqq:"\u2266\u0338",nleqslant:"\u2A7D\u0338",nles:"\u2A7D\u0338",nless:"\u226E",nLl:"\u22D8\u0338",nlsim:"\u2274",nLt:"\u226A\u20D2",nlt:"\u226E",nltri:"\u22EA",nltrie:"\u22EC",nLtv:"\u226A\u0338",nmid:"\u2224",NoBreak:"\u2060",NonBreakingSpace:"\xA0",nopf:"\u{1D55F}",Nopf:"\u2115",Not:"\u2AEC",not:"\xAC",NotCongruent:"\u2262",NotCupCap:"\u226D",NotDoubleVerticalBar:"\u2226",NotElement:"\u2209",NotEqual:"\u2260",NotEqualTilde:"\u2242\u0338",NotExists:"\u2204",NotGreater:"\u226F",NotGreaterEqual:"\u2271",NotGreaterFullEqual:"\u2267\u0338",NotGreaterGreater:"\u226B\u0338",NotGreaterLess:"\u2279",NotGreaterSlantEqual:"\u2A7E\u0338",NotGreaterTilde:"\u2275",NotHumpDownHump:"\u224E\u0338",NotHumpEqual:"\u224F\u0338",notin:"\u2209",notindot:"\u22F5\u0338",notinE:"\u22F9\u0338",notinva:"\u2209",notinvb:"\u22F7",notinvc:"\u22F6",NotLeftTriangleBar:"\u29CF\u0338",NotLeftTriangle:"\u22EA",NotLeftTriangleEqual:"\u22EC",NotLess:"\u226E",NotLessEqual:"\u2270",NotLessGreater:"\u2278",NotLessLess:"\u226A\u0338",NotLessSlantEqual:"\u2A7D\u0338",NotLessTilde:"\u2274",NotNestedGreaterGreater:"\u2AA2\u0338",NotNestedLessLess:"\u2AA1\u0338",notni:"\u220C",notniva:"\u220C",notnivb:"\u22FE",notnivc:"\u22FD",NotPrecedes:"\u2280",NotPrecedesEqual:"\u2AAF\u0338",NotPrecedesSlantEqual:"\u22E0",NotReverseElement:"\u220C",NotRightTriangleBar:"\u29D0\u0338",NotRightTriangle:"\u22EB",NotRightTriangleEqual:"\u22ED",NotSquareSubset:"\u228F\u0338",NotSquareSubsetEqual:"\u22E2",NotSquareSuperset:"\u2290\u0338",NotSquareSupersetEqual:"\u22E3",NotSubset:"\u2282\u20D2",NotSubsetEqual:"\u2288",NotSucceeds:"\u2281",NotSucceedsEqual:"\u2AB0\u0338",NotSucceedsSlantEqual:"\u22E1",NotSucceedsTilde:"\u227F\u0338",NotSuperset:"\u2283\u20D2",NotSupersetEqual:"\u2289",NotTilde:"\u2241",NotTildeEqual:"\u2244",NotTildeFullEqual:"\u2247",NotTildeTilde:"\u2249",NotVerticalBar:"\u2224",nparallel:"\u2226",npar:"\u2226",nparsl:"\u2AFD\u20E5",npart:"\u2202\u0338",npolint:"\u2A14",npr:"\u2280",nprcue:"\u22E0",nprec:"\u2280",npreceq:"\u2AAF\u0338",npre:"\u2AAF\u0338",nrarrc:"\u2933\u0338",nrarr:"\u219B",nrArr:"\u21CF",nrarrw:"\u219D\u0338",nrightarrow:"\u219B",nRightarrow:"\u21CF",nrtri:"\u22EB",nrtrie:"\u22ED",nsc:"\u2281",nsccue:"\u22E1",nsce:"\u2AB0\u0338",Nscr:"\u{1D4A9}",nscr:"\u{1D4C3}",nshortmid:"\u2224",nshortparallel:"\u2226",nsim:"\u2241",nsime:"\u2244",nsimeq:"\u2244",nsmid:"\u2224",nspar:"\u2226",nsqsube:"\u22E2",nsqsupe:"\u22E3",nsub:"\u2284",nsubE:"\u2AC5\u0338",nsube:"\u2288",nsubset:"\u2282\u20D2",nsubseteq:"\u2288",nsubseteqq:"\u2AC5\u0338",nsucc:"\u2281",nsucceq:"\u2AB0\u0338",nsup:"\u2285",nsupE:"\u2AC6\u0338",nsupe:"\u2289",nsupset:"\u2283\u20D2",nsupseteq:"\u2289",nsupseteqq:"\u2AC6\u0338",ntgl:"\u2279",Ntilde:"\xD1",ntilde:"\xF1",ntlg:"\u2278",ntriangleleft:"\u22EA",ntrianglelefteq:"\u22EC",ntriangleright:"\u22EB",ntrianglerighteq:"\u22ED",Nu:"\u039D",nu:"\u03BD",num:"#",numero:"\u2116",numsp:"\u2007",nvap:"\u224D\u20D2",nvdash:"\u22AC",nvDash:"\u22AD",nVdash:"\u22AE",nVDash:"\u22AF",nvge:"\u2265\u20D2",nvgt:">\u20D2",nvHarr:"\u2904",nvinfin:"\u29DE",nvlArr:"\u2902",nvle:"\u2264\u20D2",nvlt:"<\u20D2",nvltrie:"\u22B4\u20D2",nvrArr:"\u2903",nvrtrie:"\u22B5\u20D2",nvsim:"\u223C\u20D2",nwarhk:"\u2923",nwarr:"\u2196",nwArr:"\u21D6",nwarrow:"\u2196",nwnear:"\u2927",Oacute:"\xD3",oacute:"\xF3",oast:"\u229B",Ocirc:"\xD4",ocirc:"\xF4",ocir:"\u229A",Ocy:"\u041E",ocy:"\u043E",odash:"\u229D",Odblac:"\u0150",odblac:"\u0151",odiv:"\u2A38",odot:"\u2299",odsold:"\u29BC",OElig:"\u0152",oelig:"\u0153",ofcir:"\u29BF",Ofr:"\u{1D512}",ofr:"\u{1D52C}",ogon:"\u02DB",Ograve:"\xD2",ograve:"\xF2",ogt:"\u29C1",ohbar:"\u29B5",ohm:"\u03A9",oint:"\u222E",olarr:"\u21BA",olcir:"\u29BE",olcross:"\u29BB",oline:"\u203E",olt:"\u29C0",Omacr:"\u014C",omacr:"\u014D",Omega:"\u03A9",omega:"\u03C9",Omicron:"\u039F",omicron:"\u03BF",omid:"\u29B6",ominus:"\u2296",Oopf:"\u{1D546}",oopf:"\u{1D560}",opar:"\u29B7",OpenCurlyDoubleQuote:"\u201C",OpenCurlyQuote:"\u2018",operp:"\u29B9",oplus:"\u2295",orarr:"\u21BB",Or:"\u2A54",or:"\u2228",ord:"\u2A5D",order:"\u2134",orderof:"\u2134",ordf:"\xAA",ordm:"\xBA",origof:"\u22B6",oror:"\u2A56",orslope:"\u2A57",orv:"\u2A5B",oS:"\u24C8",Oscr:"\u{1D4AA}",oscr:"\u2134",Oslash:"\xD8",oslash:"\xF8",osol:"\u2298",Otilde:"\xD5",otilde:"\xF5",otimesas:"\u2A36",Otimes:"\u2A37",otimes:"\u2297",Ouml:"\xD6",ouml:"\xF6",ovbar:"\u233D",OverBar:"\u203E",OverBrace:"\u23DE",OverBracket:"\u23B4",OverParenthesis:"\u23DC",para:"\xB6",parallel:"\u2225",par:"\u2225",parsim:"\u2AF3",parsl:"\u2AFD",part:"\u2202",PartialD:"\u2202",Pcy:"\u041F",pcy:"\u043F",percnt:"%",period:".",permil:"\u2030",perp:"\u22A5",pertenk:"\u2031",Pfr:"\u{1D513}",pfr:"\u{1D52D}",Phi:"\u03A6",phi:"\u03C6",phiv:"\u03D5",phmmat:"\u2133",phone:"\u260E",Pi:"\u03A0",pi:"\u03C0",pitchfork:"\u22D4",piv:"\u03D6",planck:"\u210F",planckh:"\u210E",plankv:"\u210F",plusacir:"\u2A23",plusb:"\u229E",pluscir:"\u2A22",plus:"+",plusdo:"\u2214",plusdu:"\u2A25",pluse:"\u2A72",PlusMinus:"\xB1",plusmn:"\xB1",plussim:"\u2A26",plustwo:"\u2A27",pm:"\xB1",Poincareplane:"\u210C",pointint:"\u2A15",popf:"\u{1D561}",Popf:"\u2119",pound:"\xA3",prap:"\u2AB7",Pr:"\u2ABB",pr:"\u227A",prcue:"\u227C",precapprox:"\u2AB7",prec:"\u227A",preccurlyeq:"\u227C",Precedes:"\u227A",PrecedesEqual:"\u2AAF",PrecedesSlantEqual:"\u227C",PrecedesTilde:"\u227E",preceq:"\u2AAF",precnapprox:"\u2AB9",precneqq:"\u2AB5",precnsim:"\u22E8",pre:"\u2AAF",prE:"\u2AB3",precsim:"\u227E",prime:"\u2032",Prime:"\u2033",primes:"\u2119",prnap:"\u2AB9",prnE:"\u2AB5",prnsim:"\u22E8",prod:"\u220F",Product:"\u220F",profalar:"\u232E",profline:"\u2312",profsurf:"\u2313",prop:"\u221D",Proportional:"\u221D",Proportion:"\u2237",propto:"\u221D",prsim:"\u227E",prurel:"\u22B0",Pscr:"\u{1D4AB}",pscr:"\u{1D4C5}",Psi:"\u03A8",psi:"\u03C8",puncsp:"\u2008",Qfr:"\u{1D514}",qfr:"\u{1D52E}",qint:"\u2A0C",qopf:"\u{1D562}",Qopf:"\u211A",qprime:"\u2057",Qscr:"\u{1D4AC}",qscr:"\u{1D4C6}",quaternions:"\u210D",quatint:"\u2A16",quest:"?",questeq:"\u225F",quot:'"',QUOT:'"',rAarr:"\u21DB",race:"\u223D\u0331",Racute:"\u0154",racute:"\u0155",radic:"\u221A",raemptyv:"\u29B3",rang:"\u27E9",Rang:"\u27EB",rangd:"\u2992",range:"\u29A5",rangle:"\u27E9",raquo:"\xBB",rarrap:"\u2975",rarrb:"\u21E5",rarrbfs:"\u2920",rarrc:"\u2933",rarr:"\u2192",Rarr:"\u21A0",rArr:"\u21D2",rarrfs:"\u291E",rarrhk:"\u21AA",rarrlp:"\u21AC",rarrpl:"\u2945",rarrsim:"\u2974",Rarrtl:"\u2916",rarrtl:"\u21A3",rarrw:"\u219D",ratail:"\u291A",rAtail:"\u291C",ratio:"\u2236",rationals:"\u211A",rbarr:"\u290D",rBarr:"\u290F",RBarr:"\u2910",rbbrk:"\u2773",rbrace:"}",rbrack:"]",rbrke:"\u298C",rbrksld:"\u298E",rbrkslu:"\u2990",Rcaron:"\u0158",rcaron:"\u0159",Rcedil:"\u0156",rcedil:"\u0157",rceil:"\u2309",rcub:"}",Rcy:"\u0420",rcy:"\u0440",rdca:"\u2937",rdldhar:"\u2969",rdquo:"\u201D",rdquor:"\u201D",rdsh:"\u21B3",real:"\u211C",realine:"\u211B",realpart:"\u211C",reals:"\u211D",Re:"\u211C",rect:"\u25AD",reg:"\xAE",REG:"\xAE",ReverseElement:"\u220B",ReverseEquilibrium:"\u21CB",ReverseUpEquilibrium:"\u296F",rfisht:"\u297D",rfloor:"\u230B",rfr:"\u{1D52F}",Rfr:"\u211C",rHar:"\u2964",rhard:"\u21C1",rharu:"\u21C0",rharul:"\u296C",Rho:"\u03A1",rho:"\u03C1",rhov:"\u03F1",RightAngleBracket:"\u27E9",RightArrowBar:"\u21E5",rightarrow:"\u2192",RightArrow:"\u2192",Rightarrow:"\u21D2",RightArrowLeftArrow:"\u21C4",rightarrowtail:"\u21A3",RightCeiling:"\u2309",RightDoubleBracket:"\u27E7",RightDownTeeVector:"\u295D",RightDownVectorBar:"\u2955",RightDownVector:"\u21C2",RightFloor:"\u230B",rightharpoondown:"\u21C1",rightharpoonup:"\u21C0",rightleftarrows:"\u21C4",rightleftharpoons:"\u21CC",rightrightarrows:"\u21C9",rightsquigarrow:"\u219D",RightTeeArrow:"\u21A6",RightTee:"\u22A2",RightTeeVector:"\u295B",rightthreetimes:"\u22CC",RightTriangleBar:"\u29D0",RightTriangle:"\u22B3",RightTriangleEqual:"\u22B5",RightUpDownVector:"\u294F",RightUpTeeVector:"\u295C",RightUpVectorBar:"\u2954",RightUpVector:"\u21BE",RightVectorBar:"\u2953",RightVector:"\u21C0",ring:"\u02DA",risingdotseq:"\u2253",rlarr:"\u21C4",rlhar:"\u21CC",rlm:"\u200F",rmoustache:"\u23B1",rmoust:"\u23B1",rnmid:"\u2AEE",roang:"\u27ED",roarr:"\u21FE",robrk:"\u27E7",ropar:"\u2986",ropf:"\u{1D563}",Ropf:"\u211D",roplus:"\u2A2E",rotimes:"\u2A35",RoundImplies:"\u2970",rpar:")",rpargt:"\u2994",rppolint:"\u2A12",rrarr:"\u21C9",Rrightarrow:"\u21DB",rsaquo:"\u203A",rscr:"\u{1D4C7}",Rscr:"\u211B",rsh:"\u21B1",Rsh:"\u21B1",rsqb:"]",rsquo:"\u2019",rsquor:"\u2019",rthree:"\u22CC",rtimes:"\u22CA",rtri:"\u25B9",rtrie:"\u22B5",rtrif:"\u25B8",rtriltri:"\u29CE",RuleDelayed:"\u29F4",ruluhar:"\u2968",rx:"\u211E",Sacute:"\u015A",sacute:"\u015B",sbquo:"\u201A",scap:"\u2AB8",Scaron:"\u0160",scaron:"\u0161",Sc:"\u2ABC",sc:"\u227B",sccue:"\u227D",sce:"\u2AB0",scE:"\u2AB4",Scedil:"\u015E",scedil:"\u015F",Scirc:"\u015C",scirc:"\u015D",scnap:"\u2ABA",scnE:"\u2AB6",scnsim:"\u22E9",scpolint:"\u2A13",scsim:"\u227F",Scy:"\u0421",scy:"\u0441",sdotb:"\u22A1",sdot:"\u22C5",sdote:"\u2A66",searhk:"\u2925",searr:"\u2198",seArr:"\u21D8",searrow:"\u2198",sect:"\xA7",semi:";",seswar:"\u2929",setminus:"\u2216",setmn:"\u2216",sext:"\u2736",Sfr:"\u{1D516}",sfr:"\u{1D530}",sfrown:"\u2322",sharp:"\u266F",SHCHcy:"\u0429",shchcy:"\u0449",SHcy:"\u0428",shcy:"\u0448",ShortDownArrow:"\u2193",ShortLeftArrow:"\u2190",shortmid:"\u2223",shortparallel:"\u2225",ShortRightArrow:"\u2192",ShortUpArrow:"\u2191",shy:"\xAD",Sigma:"\u03A3",sigma:"\u03C3",sigmaf:"\u03C2",sigmav:"\u03C2",sim:"\u223C",simdot:"\u2A6A",sime:"\u2243",simeq:"\u2243",simg:"\u2A9E",simgE:"\u2AA0",siml:"\u2A9D",simlE:"\u2A9F",simne:"\u2246",simplus:"\u2A24",simrarr:"\u2972",slarr:"\u2190",SmallCircle:"\u2218",smallsetminus:"\u2216",smashp:"\u2A33",smeparsl:"\u29E4",smid:"\u2223",smile:"\u2323",smt:"\u2AAA",smte:"\u2AAC",smtes:"\u2AAC\uFE00",SOFTcy:"\u042C",softcy:"\u044C",solbar:"\u233F",solb:"\u29C4",sol:"/",Sopf:"\u{1D54A}",sopf:"\u{1D564}",spades:"\u2660",spadesuit:"\u2660",spar:"\u2225",sqcap:"\u2293",sqcaps:"\u2293\uFE00",sqcup:"\u2294",sqcups:"\u2294\uFE00",Sqrt:"\u221A",sqsub:"\u228F",sqsube:"\u2291",sqsubset:"\u228F",sqsubseteq:"\u2291",sqsup:"\u2290",sqsupe:"\u2292",sqsupset:"\u2290",sqsupseteq:"\u2292",square:"\u25A1",Square:"\u25A1",SquareIntersection:"\u2293",SquareSubset:"\u228F",SquareSubsetEqual:"\u2291",SquareSuperset:"\u2290",SquareSupersetEqual:"\u2292",SquareUnion:"\u2294",squarf:"\u25AA",squ:"\u25A1",squf:"\u25AA",srarr:"\u2192",Sscr:"\u{1D4AE}",sscr:"\u{1D4C8}",ssetmn:"\u2216",ssmile:"\u2323",sstarf:"\u22C6",Star:"\u22C6",star:"\u2606",starf:"\u2605",straightepsilon:"\u03F5",straightphi:"\u03D5",strns:"\xAF",sub:"\u2282",Sub:"\u22D0",subdot:"\u2ABD",subE:"\u2AC5",sube:"\u2286",subedot:"\u2AC3",submult:"\u2AC1",subnE:"\u2ACB",subne:"\u228A",subplus:"\u2ABF",subrarr:"\u2979",subset:"\u2282",Subset:"\u22D0",subseteq:"\u2286",subseteqq:"\u2AC5",SubsetEqual:"\u2286",subsetneq:"\u228A",subsetneqq:"\u2ACB",subsim:"\u2AC7",subsub:"\u2AD5",subsup:"\u2AD3",succapprox:"\u2AB8",succ:"\u227B",succcurlyeq:"\u227D",Succeeds:"\u227B",SucceedsEqual:"\u2AB0",SucceedsSlantEqual:"\u227D",SucceedsTilde:"\u227F",succeq:"\u2AB0",succnapprox:"\u2ABA",succneqq:"\u2AB6",succnsim:"\u22E9",succsim:"\u227F",SuchThat:"\u220B",sum:"\u2211",Sum:"\u2211",sung:"\u266A",sup1:"\xB9",sup2:"\xB2",sup3:"\xB3",sup:"\u2283",Sup:"\u22D1",supdot:"\u2ABE",supdsub:"\u2AD8",supE:"\u2AC6",supe:"\u2287",supedot:"\u2AC4",Superset:"\u2283",SupersetEqual:"\u2287",suphsol:"\u27C9",suphsub:"\u2AD7",suplarr:"\u297B",supmult:"\u2AC2",supnE:"\u2ACC",supne:"\u228B",supplus:"\u2AC0",supset:"\u2283",Supset:"\u22D1",supseteq:"\u2287",supseteqq:"\u2AC6",supsetneq:"\u228B",supsetneqq:"\u2ACC",supsim:"\u2AC8",supsub:"\u2AD4",supsup:"\u2AD6",swarhk:"\u2926",swarr:"\u2199",swArr:"\u21D9",swarrow:"\u2199",swnwar:"\u292A",szlig:"\xDF",Tab:" ",target:"\u2316",Tau:"\u03A4",tau:"\u03C4",tbrk:"\u23B4",Tcaron:"\u0164",tcaron:"\u0165",Tcedil:"\u0162",tcedil:"\u0163",Tcy:"\u0422",tcy:"\u0442",tdot:"\u20DB",telrec:"\u2315",Tfr:"\u{1D517}",tfr:"\u{1D531}",there4:"\u2234",therefore:"\u2234",Therefore:"\u2234",Theta:"\u0398",theta:"\u03B8",thetasym:"\u03D1",thetav:"\u03D1",thickapprox:"\u2248",thicksim:"\u223C",ThickSpace:"\u205F\u200A",ThinSpace:"\u2009",thinsp:"\u2009",thkap:"\u2248",thksim:"\u223C",THORN:"\xDE",thorn:"\xFE",tilde:"\u02DC",Tilde:"\u223C",TildeEqual:"\u2243",TildeFullEqual:"\u2245",TildeTilde:"\u2248",timesbar:"\u2A31",timesb:"\u22A0",times:"\xD7",timesd:"\u2A30",tint:"\u222D",toea:"\u2928",topbot:"\u2336",topcir:"\u2AF1",top:"\u22A4",Topf:"\u{1D54B}",topf:"\u{1D565}",topfork:"\u2ADA",tosa:"\u2929",tprime:"\u2034",trade:"\u2122",TRADE:"\u2122",triangle:"\u25B5",triangledown:"\u25BF",triangleleft:"\u25C3",trianglelefteq:"\u22B4",triangleq:"\u225C",triangleright:"\u25B9",trianglerighteq:"\u22B5",tridot:"\u25EC",trie:"\u225C",triminus:"\u2A3A",TripleDot:"\u20DB",triplus:"\u2A39",trisb:"\u29CD",tritime:"\u2A3B",trpezium:"\u23E2",Tscr:"\u{1D4AF}",tscr:"\u{1D4C9}",TScy:"\u0426",tscy:"\u0446",TSHcy:"\u040B",tshcy:"\u045B",Tstrok:"\u0166",tstrok:"\u0167",twixt:"\u226C",twoheadleftarrow:"\u219E",twoheadrightarrow:"\u21A0",Uacute:"\xDA",uacute:"\xFA",uarr:"\u2191",Uarr:"\u219F",uArr:"\u21D1",Uarrocir:"\u2949",Ubrcy:"\u040E",ubrcy:"\u045E",Ubreve:"\u016C",ubreve:"\u016D",Ucirc:"\xDB",ucirc:"\xFB",Ucy:"\u0423",ucy:"\u0443",udarr:"\u21C5",Udblac:"\u0170",udblac:"\u0171",udhar:"\u296E",ufisht:"\u297E",Ufr:"\u{1D518}",ufr:"\u{1D532}",Ugrave:"\xD9",ugrave:"\xF9",uHar:"\u2963",uharl:"\u21BF",uharr:"\u21BE",uhblk:"\u2580",ulcorn:"\u231C",ulcorner:"\u231C",ulcrop:"\u230F",ultri:"\u25F8",Umacr:"\u016A",umacr:"\u016B",uml:"\xA8",UnderBar:"_",UnderBrace:"\u23DF",UnderBracket:"\u23B5",UnderParenthesis:"\u23DD",Union:"\u22C3",UnionPlus:"\u228E",Uogon:"\u0172",uogon:"\u0173",Uopf:"\u{1D54C}",uopf:"\u{1D566}",UpArrowBar:"\u2912",uparrow:"\u2191",UpArrow:"\u2191",Uparrow:"\u21D1",UpArrowDownArrow:"\u21C5",updownarrow:"\u2195",UpDownArrow:"\u2195",Updownarrow:"\u21D5",UpEquilibrium:"\u296E",upharpoonleft:"\u21BF",upharpoonright:"\u21BE",uplus:"\u228E",UpperLeftArrow:"\u2196",UpperRightArrow:"\u2197",upsi:"\u03C5",Upsi:"\u03D2",upsih:"\u03D2",Upsilon:"\u03A5",upsilon:"\u03C5",UpTeeArrow:"\u21A5",UpTee:"\u22A5",upuparrows:"\u21C8",urcorn:"\u231D",urcorner:"\u231D",urcrop:"\u230E",Uring:"\u016E",uring:"\u016F",urtri:"\u25F9",Uscr:"\u{1D4B0}",uscr:"\u{1D4CA}",utdot:"\u22F0",Utilde:"\u0168",utilde:"\u0169",utri:"\u25B5",utrif:"\u25B4",uuarr:"\u21C8",Uuml:"\xDC",uuml:"\xFC",uwangle:"\u29A7",vangrt:"\u299C",varepsilon:"\u03F5",varkappa:"\u03F0",varnothing:"\u2205",varphi:"\u03D5",varpi:"\u03D6",varpropto:"\u221D",varr:"\u2195",vArr:"\u21D5",varrho:"\u03F1",varsigma:"\u03C2",varsubsetneq:"\u228A\uFE00",varsubsetneqq:"\u2ACB\uFE00",varsupsetneq:"\u228B\uFE00",varsupsetneqq:"\u2ACC\uFE00",vartheta:"\u03D1",vartriangleleft:"\u22B2",vartriangleright:"\u22B3",vBar:"\u2AE8",Vbar:"\u2AEB",vBarv:"\u2AE9",Vcy:"\u0412",vcy:"\u0432",vdash:"\u22A2",vDash:"\u22A8",Vdash:"\u22A9",VDash:"\u22AB",Vdashl:"\u2AE6",veebar:"\u22BB",vee:"\u2228",Vee:"\u22C1",veeeq:"\u225A",vellip:"\u22EE",verbar:"|",Verbar:"\u2016",vert:"|",Vert:"\u2016",VerticalBar:"\u2223",VerticalLine:"|",VerticalSeparator:"\u2758",VerticalTilde:"\u2240",VeryThinSpace:"\u200A",Vfr:"\u{1D519}",vfr:"\u{1D533}",vltri:"\u22B2",vnsub:"\u2282\u20D2",vnsup:"\u2283\u20D2",Vopf:"\u{1D54D}",vopf:"\u{1D567}",vprop:"\u221D",vrtri:"\u22B3",Vscr:"\u{1D4B1}",vscr:"\u{1D4CB}",vsubnE:"\u2ACB\uFE00",vsubne:"\u228A\uFE00",vsupnE:"\u2ACC\uFE00",vsupne:"\u228B\uFE00",Vvdash:"\u22AA",vzigzag:"\u299A",Wcirc:"\u0174",wcirc:"\u0175",wedbar:"\u2A5F",wedge:"\u2227",Wedge:"\u22C0",wedgeq:"\u2259",weierp:"\u2118",Wfr:"\u{1D51A}",wfr:"\u{1D534}",Wopf:"\u{1D54E}",wopf:"\u{1D568}",wp:"\u2118",wr:"\u2240",wreath:"\u2240",Wscr:"\u{1D4B2}",wscr:"\u{1D4CC}",xcap:"\u22C2",xcirc:"\u25EF",xcup:"\u22C3",xdtri:"\u25BD",Xfr:"\u{1D51B}",xfr:"\u{1D535}",xharr:"\u27F7",xhArr:"\u27FA",Xi:"\u039E",xi:"\u03BE",xlarr:"\u27F5",xlArr:"\u27F8",xmap:"\u27FC",xnis:"\u22FB",xodot:"\u2A00",Xopf:"\u{1D54F}",xopf:"\u{1D569}",xoplus:"\u2A01",xotime:"\u2A02",xrarr:"\u27F6",xrArr:"\u27F9",Xscr:"\u{1D4B3}",xscr:"\u{1D4CD}",xsqcup:"\u2A06",xuplus:"\u2A04",xutri:"\u25B3",xvee:"\u22C1",xwedge:"\u22C0",Yacute:"\xDD",yacute:"\xFD",YAcy:"\u042F",yacy:"\u044F",Ycirc:"\u0176",ycirc:"\u0177",Ycy:"\u042B",ycy:"\u044B",yen:"\xA5",Yfr:"\u{1D51C}",yfr:"\u{1D536}",YIcy:"\u0407",yicy:"\u0457",Yopf:"\u{1D550}",yopf:"\u{1D56A}",Yscr:"\u{1D4B4}",yscr:"\u{1D4CE}",YUcy:"\u042E",yucy:"\u044E",yuml:"\xFF",Yuml:"\u0178",Zacute:"\u0179",zacute:"\u017A",Zcaron:"\u017D",zcaron:"\u017E",Zcy:"\u0417",zcy:"\u0437",Zdot:"\u017B",zdot:"\u017C",zeetrf:"\u2128",ZeroWidthSpace:"\u200B",Zeta:"\u0396",zeta:"\u03B6",zfr:"\u{1D537}",Zfr:"\u2128",ZHcy:"\u0416",zhcy:"\u0436",zigrarr:"\u21DD",zopf:"\u{1D56B}",Zopf:"\u2124",Zscr:"\u{1D4B5}",zscr:"\u{1D4CF}",zwj:"\u200D",zwnj:"\u200C"}}),tf=Te((e,t)=>{t.exports={Aacute:"\xC1",aacute:"\xE1",Acirc:"\xC2",acirc:"\xE2",acute:"\xB4",AElig:"\xC6",aelig:"\xE6",Agrave:"\xC0",agrave:"\xE0",amp:"&",AMP:"&",Aring:"\xC5",aring:"\xE5",Atilde:"\xC3",atilde:"\xE3",Auml:"\xC4",auml:"\xE4",brvbar:"\xA6",Ccedil:"\xC7",ccedil:"\xE7",cedil:"\xB8",cent:"\xA2",copy:"\xA9",COPY:"\xA9",curren:"\xA4",deg:"\xB0",divide:"\xF7",Eacute:"\xC9",eacute:"\xE9",Ecirc:"\xCA",ecirc:"\xEA",Egrave:"\xC8",egrave:"\xE8",ETH:"\xD0",eth:"\xF0",Euml:"\xCB",euml:"\xEB",frac12:"\xBD",frac14:"\xBC",frac34:"\xBE",gt:">",GT:">",Iacute:"\xCD",iacute:"\xED",Icirc:"\xCE",icirc:"\xEE",iexcl:"\xA1",Igrave:"\xCC",igrave:"\xEC",iquest:"\xBF",Iuml:"\xCF",iuml:"\xEF",laquo:"\xAB",lt:"<",LT:"<",macr:"\xAF",micro:"\xB5",middot:"\xB7",nbsp:"\xA0",not:"\xAC",Ntilde:"\xD1",ntilde:"\xF1",Oacute:"\xD3",oacute:"\xF3",Ocirc:"\xD4",ocirc:"\xF4",Ograve:"\xD2",ograve:"\xF2",ordf:"\xAA",ordm:"\xBA",Oslash:"\xD8",oslash:"\xF8",Otilde:"\xD5",otilde:"\xF5",Ouml:"\xD6",ouml:"\xF6",para:"\xB6",plusmn:"\xB1",pound:"\xA3",quot:'"',QUOT:'"',raquo:"\xBB",reg:"\xAE",REG:"\xAE",sect:"\xA7",shy:"\xAD",sup1:"\xB9",sup2:"\xB2",sup3:"\xB3",szlig:"\xDF",THORN:"\xDE",thorn:"\xFE",times:"\xD7",Uacute:"\xDA",uacute:"\xFA",Ucirc:"\xDB",ucirc:"\xFB",Ugrave:"\xD9",ugrave:"\xF9",uml:"\xA8",Uuml:"\xDC",uuml:"\xFC",Yacute:"\xDD",yacute:"\xFD",yen:"\xA5",yuml:"\xFF"}}),el=Te((e,t)=>{t.exports={amp:"&",apos:"'",gt:">",lt:"<",quot:'"'}}),rf=Te((e,t)=>{t.exports={0:65533,128:8364,130:8218,131:402,132:8222,133:8230,134:8224,135:8225,136:710,137:8240,138:352,139:8249,140:338,142:381,145:8216,146:8217,147:8220,148:8221,149:8226,150:8211,151:8212,152:732,153:8482,154:353,155:8250,156:339,158:382,159:376}}),nf=Te(e=>{"use strict";var t=e&&e.__importDefault||function(a){return a&&a.__esModule?a:{default:a}};Object.defineProperty(e,"__esModule",{value:!0});var r=t(rf()),n=String.fromCodePoint||function(a){var i="";return a>65535&&(a-=65536,i+=String.fromCharCode(a>>>10&1023|55296),a=56320|a&1023),i+=String.fromCharCode(a),i};function o(a){return a>=55296&&a<=57343||a>1114111?"\uFFFD":(a in r.default&&(a=r.default[a]),n(a))}b(o,"decodeCodePoint"),e.default=o}),Ps=Te(e=>{"use strict";var t=e&&e.__importDefault||function(p){return p&&p.__esModule?p:{default:p}};Object.defineProperty(e,"__esModule",{value:!0}),e.decodeHTML=e.decodeHTMLStrict=e.decodeXML=void 0;var r=t(Zs()),n=t(tf()),o=t(el()),a=t(nf()),i=/&(?:[a-zA-Z0-9]+|#[xX][\da-fA-F]+|#\d+);/g;e.decodeXML=s(o.default),e.decodeHTMLStrict=s(r.default);function s(p){var h=c(p);return function(d){return String(d).replace(i,h)}}b(s,"getStrictDecoder");var l=b(function(p,h){return p{"use strict";var t=e&&e.__importDefault||function(w){return w&&w.__esModule?w:{default:w}};Object.defineProperty(e,"__esModule",{value:!0}),e.escapeUTF8=e.escape=e.encodeNonAsciiHTML=e.encodeHTML=e.encodeXML=void 0;var r=t(el()),n=l(r.default),o=c(n);e.encodeXML=S(n);var a=t(Zs()),i=l(a.default),s=c(i);e.encodeHTML=y(i,s),e.encodeNonAsciiHTML=S(i);function l(w){return Object.keys(w).sort().reduce(function(x,C){return x[w[C]]="&"+C+";",x},{})}b(l,"getInverseObj");function c(w){for(var x=[],C=[],k=0,F=Object.keys(w);k1?h(w):w.charCodeAt(0)).toString(16).toUpperCase()+";"}b(d,"singleCharReplacer");function y(w,x){return function(C){return C.replace(x,function(k){return w[k]}).replace(p,d)}}b(y,"getInverse");var g=new RegExp(o.source+"|"+p.source,"g");function A(w){return w.replace(g,d)}b(A,"escape"),e.escape=A;function v(w){return w.replace(o,d)}b(v,"escapeUTF8"),e.escapeUTF8=v;function S(w){return function(x){return x.replace(g,function(C){return w[C]||d(C)})}}b(S,"getASCIIEncoder")}),of=Te(e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.decodeXMLStrict=e.decodeHTML5Strict=e.decodeHTML4Strict=e.decodeHTML5=e.decodeHTML4=e.decodeHTMLStrict=e.decodeHTML=e.decodeXML=e.encodeHTML5=e.encodeHTML4=e.escapeUTF8=e.escape=e.encodeNonAsciiHTML=e.encodeHTML=e.encodeXML=e.encode=e.decodeStrict=e.decode=void 0;var t=Ps(),r=Ns();function n(l,c){return(!c||c<=0?t.decodeXML:t.decodeHTML)(l)}b(n,"decode"),e.decode=n;function o(l,c){return(!c||c<=0?t.decodeXML:t.decodeHTMLStrict)(l)}b(o,"decodeStrict"),e.decodeStrict=o;function a(l,c){return(!c||c<=0?r.encodeXML:r.encodeHTML)(l)}b(a,"encode"),e.encode=a;var i=Ns();Object.defineProperty(e,"encodeXML",{enumerable:!0,get:b(function(){return i.encodeXML},"get")}),Object.defineProperty(e,"encodeHTML",{enumerable:!0,get:b(function(){return i.encodeHTML},"get")}),Object.defineProperty(e,"encodeNonAsciiHTML",{enumerable:!0,get:b(function(){return i.encodeNonAsciiHTML},"get")}),Object.defineProperty(e,"escape",{enumerable:!0,get:b(function(){return i.escape},"get")}),Object.defineProperty(e,"escapeUTF8",{enumerable:!0,get:b(function(){return i.escapeUTF8},"get")}),Object.defineProperty(e,"encodeHTML4",{enumerable:!0,get:b(function(){return i.encodeHTML},"get")}),Object.defineProperty(e,"encodeHTML5",{enumerable:!0,get:b(function(){return i.encodeHTML},"get")});var s=Ps();Object.defineProperty(e,"decodeXML",{enumerable:!0,get:b(function(){return s.decodeXML},"get")}),Object.defineProperty(e,"decodeHTML",{enumerable:!0,get:b(function(){return s.decodeHTML},"get")}),Object.defineProperty(e,"decodeHTMLStrict",{enumerable:!0,get:b(function(){return s.decodeHTMLStrict},"get")}),Object.defineProperty(e,"decodeHTML4",{enumerable:!0,get:b(function(){return s.decodeHTML},"get")}),Object.defineProperty(e,"decodeHTML5",{enumerable:!0,get:b(function(){return s.decodeHTML},"get")}),Object.defineProperty(e,"decodeHTML4Strict",{enumerable:!0,get:b(function(){return s.decodeHTMLStrict},"get")}),Object.defineProperty(e,"decodeHTML5Strict",{enumerable:!0,get:b(function(){return s.decodeHTMLStrict},"get")}),Object.defineProperty(e,"decodeXMLStrict",{enumerable:!0,get:b(function(){return s.decodeXML},"get")})}),af=Te((e,t)=>{"use strict";function r(D,T){if(!(D instanceof T))throw new TypeError("Cannot call a class as a function")}b(r,"_classCallCheck");function n(D,T){for(var O=0;O=D.length?{done:!0}:{done:!1,value:D[U++]}},"n"),e:b(function(Q){throw Q},"e"),f:$}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. -In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var X=!0,se=!1,te;return{s:b(function(){O=O.call(D)},"s"),n:b(function(){var Q=O.next();return X=Q.done,Q},"n"),e:b(function(Q){se=!0,te=Q},"e"),f:b(function(){try{!X&&O.return!=null&&O.return()}finally{if(se)throw te}},"f")}}b(a,"_createForOfIteratorHelper");function i(D,T){if(D){if(typeof D=="string")return s(D,T);var O=Object.prototype.toString.call(D).slice(8,-1);if(O==="Object"&&D.constructor&&(O=D.constructor.name),O==="Map"||O==="Set")return Array.from(D);if(O==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(O))return s(D,T)}}b(i,"_unsupportedIterableToArray");function s(D,T){(T==null||T>D.length)&&(T=D.length);for(var O=0,U=new Array(T);O0?D*40+55:0,se=T>0?T*40+55:0,te=O>0?O*40+55:0;U[$]=y([X,se,te])}b(h,"setStyleColor");function d(D){for(var T=D.toString(16);T.length<2;)T="0"+T;return T}b(d,"toHexString");function y(D){var T=[],O=a(D),U;try{for(O.s();!(U=O.n()).done;){var $=U.value;T.push(d($))}}catch(X){O.e(X)}finally{O.f()}return"#"+T.join("")}b(y,"toColorHexString");function g(D,T,O,U){var $;return T==="text"?$=k(O,U):T==="display"?$=v(D,O,U):T==="xterm256Foreground"?$=j(D,U.colors[O]):T==="xterm256Background"?$=M(D,U.colors[O]):T==="rgb"&&($=A(D,O)),$}b(g,"generateOutput");function A(D,T){T=T.substring(2).slice(0,-1);var O=+T.substr(0,2),U=T.substring(5).split(";"),$=U.map(function(X){return("0"+Number(X).toString(16)).substr(-2)}).join("");return _(D,(O===38?"color:#":"background-color:#")+$)}b(A,"handleRgb");function v(D,T,O){T=parseInt(T,10);var U={"-1":b(function(){return"
"},"_"),0:b(function(){return D.length&&S(D)},"_"),1:b(function(){return F(D,"b")},"_"),3:b(function(){return F(D,"i")},"_"),4:b(function(){return F(D,"u")},"_"),8:b(function(){return _(D,"display:none")},"_"),9:b(function(){return F(D,"strike")},"_"),22:b(function(){return _(D,"font-weight:normal;text-decoration:none;font-style:normal")},"_"),23:b(function(){return P(D,"i")},"_"),24:b(function(){return P(D,"u")},"_"),39:b(function(){return j(D,O.fg)},"_"),49:b(function(){return M(D,O.bg)},"_"),53:b(function(){return _(D,"text-decoration:overline")},"_")},$;return U[T]?$=U[T]():4"}).join("")}b(S,"resetStyles");function w(D,T){for(var O=[],U=D;U<=T;U++)O.push(U);return O}b(w,"range");function x(D){return function(T){return(D===null||T.category!==D)&&D!=="all"}}b(x,"notCategory");function C(D){D=parseInt(D,10);var T=null;return D===0?T="all":D===1?T="bold":2")}b(F,"pushTag");function _(D,T){return F(D,"span",T)}b(_,"pushStyle");function j(D,T){return F(D,"span","color:"+T)}b(j,"pushForegroundColor");function M(D,T){return F(D,"span","background-color:"+T)}b(M,"pushBackgroundColor");function P(D,T){var O;if(D.slice(-1)[0]===T&&(O=D.pop()),O)return""}b(P,"closeTag");function W(D,T,O){var U=!1,$=3;function X(){return""}b(X,"remove");function se(Ne,Be){return O("xterm256Foreground",Be),""}b(se,"removeXterm256Foreground");function te(Ne,Be){return O("xterm256Background",Be),""}b(te,"removeXterm256Background");function Q(Ne){return T.newline?O("display",-1):O("text",Ne),""}b(Q,"newline");function re(Ne,Be){U=!0,Be.trim().length===0&&(Be="0"),Be=Be.trimRight(";").split(";");var lt=a(Be),qt;try{for(lt.s();!(qt=lt.n()).done;){var Nr=qt.value;O("display",Nr)}}catch(jn){lt.e(jn)}finally{lt.f()}return""}b(re,"ansiMess");function ve(Ne){return O("text",Ne),""}b(ve,"realText");function de(Ne){return O("rgb",Ne),""}b(de,"rgb");var Fe=[{pattern:/^\x08+/,sub:X},{pattern:/^\x1b\[[012]?K/,sub:X},{pattern:/^\x1b\[\(B/,sub:X},{pattern:/^\x1b\[[34]8;2;\d+;\d+;\d+m/,sub:de},{pattern:/^\x1b\[38;5;(\d+)m/,sub:se},{pattern:/^\x1b\[48;5;(\d+)m/,sub:te},{pattern:/^\n/,sub:Q},{pattern:/^\r+\n/,sub:Q},{pattern:/^\r/,sub:Q},{pattern:/^\x1b\[((?:\d{1,3};?)+|)m/,sub:re},{pattern:/^\x1b\[\d?J/,sub:X},{pattern:/^\x1b\[\d{0,3};\d{0,3}f/,sub:X},{pattern:/^\x1b\[?[\d;]{0,3}/,sub:X},{pattern:/^(([^\x1b\x08\r\n])+)/,sub:ve}];function le(Ne,Be){Be>$&&U||(U=!1,D=D.replace(Ne.pattern,Ne.sub))}b(le,"process");var He=[],Ue=D,et=Ue.length;e:for(;et>0;){for(var dr=0,$t=0,pr=Fe.length;$t{let e;return typeof window<"u"?e=window:typeof globalThis<"u"?e=globalThis:typeof window<"u"?e=window:typeof self<"u"?e=self:e={},e})();function tl(){let e={setHandler:b(()=>{},"setHandler"),send:b(()=>{},"send")};return new Qr({transport:e})}b(tl,"mockChannel");var rl=class{constructor(){this.getChannel=b(()=>{if(!this.channel){let t=tl();return this.setChannel(t),t}return this.channel},"getChannel"),this.ready=b(()=>this.promise,"ready"),this.hasChannel=b(()=>!!this.channel,"hasChannel"),this.setChannel=b(t=>{this.channel=t,this.resolve()},"setChannel"),this.promise=new Promise(t=>{this.resolve=()=>t(this.getChannel())})}};b(rl,"AddonStore");var sf=rl,bo="__STORYBOOK_ADDONS_PREVIEW";function nl(){return De[bo]||(De[bo]=new sf),De[bo]}b(nl,"getAddonsStore");var Rt=nl();function lf(e){return e}b(lf,"definePreview");var ol=class{constructor(){this.hookListsMap=void 0,this.mountedDecorators=void 0,this.prevMountedDecorators=void 0,this.currentHooks=void 0,this.nextHookIndex=void 0,this.currentPhase=void 0,this.currentEffects=void 0,this.prevEffects=void 0,this.currentDecoratorName=void 0,this.hasUpdates=void 0,this.currentContext=void 0,this.renderListener=b(t=>{t===this.currentContext?.id&&(this.triggerEffects(),this.currentContext=null,this.removeRenderListeners())},"renderListener"),this.init()}init(){this.hookListsMap=new WeakMap,this.mountedDecorators=new Set,this.prevMountedDecorators=new Set,this.currentHooks=[],this.nextHookIndex=0,this.currentPhase="NONE",this.currentEffects=[],this.prevEffects=[],this.currentDecoratorName=null,this.hasUpdates=!1,this.currentContext=null}clean(){this.prevEffects.forEach(t=>{t.destroy&&t.destroy()}),this.init(),this.removeRenderListeners()}getNextHook(){let t=this.currentHooks[this.nextHookIndex];return this.nextHookIndex+=1,t}triggerEffects(){this.prevEffects.forEach(t=>{!this.currentEffects.includes(t)&&t.destroy&&t.destroy()}),this.currentEffects.forEach(t=>{this.prevEffects.includes(t)||(t.destroy=t.create())}),this.prevEffects=this.currentEffects,this.currentEffects=[]}addRenderListeners(){this.removeRenderListeners(),Rt.getChannel().on(br,this.renderListener)}removeRenderListeners(){Rt.getChannel().removeListener(br,this.renderListener)}};b(ol,"HooksContext");var al=ol;function Co(e){let t=b((...r)=>{let{hooks:n}=typeof r[0]=="function"?r[1]:r[0],o=n.currentPhase,a=n.currentHooks,i=n.nextHookIndex,s=n.currentDecoratorName;n.currentDecoratorName=e.name,n.prevMountedDecorators.has(e)?(n.currentPhase="UPDATE",n.currentHooks=n.hookListsMap.get(e)||[]):(n.currentPhase="MOUNT",n.currentHooks=[],n.hookListsMap.set(e,n.currentHooks),n.prevMountedDecorators.add(e)),n.nextHookIndex=0;let l=De.STORYBOOK_HOOKS_CONTEXT;De.STORYBOOK_HOOKS_CONTEXT=n;let c=e(...r);if(De.STORYBOOK_HOOKS_CONTEXT=l,n.currentPhase==="UPDATE"&&n.getNextHook()!=null)throw new Error("Rendered fewer hooks than expected. This may be caused by an accidental early return statement.");return n.currentPhase=o,n.currentHooks=a,n.nextHookIndex=i,n.currentDecoratorName=s,c},"hookified");return t.originalFn=e,t}b(Co,"hookify");var Eo=0,uf=25,cf=b(e=>(t,r)=>{let n=e(Co(t),r.map(o=>Co(o)));return o=>{let{hooks:a}=o;a.prevMountedDecorators??=new Set,a.mountedDecorators=new Set([t,...r]),a.currentContext=o,a.hasUpdates=!1;let i=n(o);for(Eo=1;a.hasUpdates;)if(a.hasUpdates=!1,a.currentEffects=[],i=n(o),Eo+=1,Eo>uf)throw new Error("Too many re-renders. Storybook limits the number of renders to prevent an infinite loop.");return a.addRenderListeners(),i}},"applyHooks"),df=b((e,t)=>e.length===t.length&&e.every((r,n)=>r===t[n]),"areDepsEqual"),qo=b(()=>new Error("Storybook preview hooks can only be called inside decorators and story functions."),"invalidHooksError");function Vo(){return De.STORYBOOK_HOOKS_CONTEXT||null}b(Vo,"getHooksContextOrNull");function dn(){let e=Vo();if(e==null)throw qo();return e}b(dn,"getHooksContextOrThrow");function il(e,t,r){let n=dn();if(n.currentPhase==="MOUNT"){r!=null&&!Array.isArray(r)&&ee.warn(`${e} received a final argument that is not an array (instead, received ${r}). When specified, the final argument must be an array.`);let o={name:e,deps:r};return n.currentHooks.push(o),t(o),o}if(n.currentPhase==="UPDATE"){let o=n.getNextHook();if(o==null)throw new Error("Rendered more hooks than during the previous render.");return o.name!==e&&ee.warn(`Storybook has detected a change in the order of Hooks${n.currentDecoratorName?` called by ${n.currentDecoratorName}`:""}. This will lead to bugs and errors if not fixed.`),r!=null&&o.deps==null&&ee.warn(`${e} received a final argument during this render, but not during the previous render. Even though the final argument is optional, its type cannot change between renders.`),r!=null&&o.deps!=null&&r.length!==o.deps.length&&ee.warn(`The final argument passed to ${e} changed size between renders. The order and size of this array must remain constant. -Previous: ${o.deps} -Incoming: ${r}`),(r==null||o.deps==null||!df(r,o.deps))&&(t(o),o.deps=r),o}throw qo()}b(il,"useHook");function Dr(e,t,r){let{memoizedState:n}=il(e,o=>{o.memoizedState=t()},r);return n}b(Dr,"useMemoLike");function pf(e,t){return Dr("useMemo",e,t)}b(pf,"useMemo");function Ar(e,t){return Dr("useCallback",()=>e,t)}b(Ar,"useCallback");function Jo(e,t){return Dr(e,()=>({current:t}),[])}b(Jo,"useRefLike");function hf(e){return Jo("useRef",e)}b(hf,"useRef");function sl(){let e=Vo();if(e!=null&&e.currentPhase!=="NONE")e.hasUpdates=!0;else try{Rt.getChannel().emit(Vr)}catch{ee.warn("State updates of Storybook preview hooks work only in browser")}}b(sl,"triggerUpdate");function zo(e,t){let r=Jo(e,typeof t=="function"?t():t),n=b(o=>{r.current=typeof o=="function"?o(r.current):o,sl()},"setState");return[r.current,n]}b(zo,"useStateLike");function Ho(e){return zo("useState",e)}b(Ho,"useState");function ff(e,t,r){let n=r!=null?()=>r(t):t,[o,a]=zo("useReducer",n);return[o,b(i=>a(s=>e(s,i)),"dispatch")]}b(ff,"useReducer");function pn(e,t){let r=dn(),n=Dr("useEffect",()=>({create:e}),t);r.currentEffects.includes(n)||r.currentEffects.push(n)}b(pn,"useEffect");function mf(e,t=[]){let r=Rt.getChannel();return pn(()=>(Object.entries(e).forEach(([n,o])=>r.on(n,o)),()=>{Object.entries(e).forEach(([n,o])=>r.removeListener(n,o))}),[...Object.keys(e),...t]),Ar(r.emit.bind(r),[r])}b(mf,"useChannel");function hn(){let{currentContext:e}=dn();if(e==null)throw qo();return e}b(hn,"useStoryContext");function yf(e,t){let{parameters:r}=hn();if(e)return r[e]??t}b(yf,"useParameter");function gf(){let e=Rt.getChannel(),{id:t,args:r}=hn(),n=Ar(a=>e.emit(Gr,{storyId:t,updatedArgs:a}),[e,t]),o=Ar(a=>e.emit(Jr,{storyId:t,argNames:a}),[e,t]);return[r,n,o]}b(gf,"useArgs");function bf(){let e=Rt.getChannel(),{globals:t}=hn(),r=Ar(n=>e.emit(Hr,{globals:n}),[e]);return[t,r]}b(bf,"useGlobals");var OF=b(({name:e,parameterName:t,wrapper:r,skipIfNoParametersOrOptions:n=!1})=>{let o=b(a=>(i,s)=>{let l=s.parameters&&s.parameters[t];return l&&l.disable||n&&!a&&!l?i(s):r(i,s,{options:a,parameters:l})},"decorator");return(...a)=>typeof a[0]=="function"?o()(...a):(...i)=>{if(i.length>1)return a.length>1?o(a)(...i):o(...a)(...i);throw new Error(`Passing stories directly into ${e}() is not allowed, - instead use addDecorator(${e}) and pass options with the '${t}' parameter`)}},"makeDecorator");function me(e){for(var t=[],r=1;r(this.debug("getState",{state:this.state}),this.state),"getState"),this.subscribe=b((n,o)=>{let a=typeof n=="function",i=a?"*":n,s=a?n:o;if(this.debug("subscribe",{eventType:i,listener:s}),!s)throw new TypeError(`Missing first subscribe argument, or second if first is the event type, when subscribing to a UniversalStore with id '${this.id}'`);return this.listeners.has(i)||this.listeners.set(i,new Set),this.listeners.get(i).add(s),()=>{this.debug("unsubscribe",{eventType:i,listener:s}),this.listeners.has(i)&&(this.listeners.get(i).delete(s),this.listeners.get(i)?.size===0&&this.listeners.delete(i))}},"subscribe"),this.send=b(n=>{if(this.debug("send",{event:n}),this.status!==K.Status.READY)throw new TypeError(me`Cannot send event before store is ready. You can get the current status with store.status, - or await store.readyPromise to wait for the store to be ready before sending events. - ${JSON.stringify({event:n,id:this.id,actor:this.actor,environment:this.environment},null,2)}`);this.emitToListeners(n,{actor:this.actor}),this.emitToChannel(n,{actor:this.actor})},"send"),this.debugging=t.debug??!1,!K.isInternalConstructing)throw new TypeError("UniversalStore is not constructable - use UniversalStore.create() instead");if(K.isInternalConstructing=!1,this.id=t.id,this.actorId=Date.now().toString(36)+Math.random().toString(36).substring(2),this.actorType=t.leader?K.ActorType.LEADER:K.ActorType.FOLLOWER,this.state=t.initialState,this.channelEventName=`${vf}${this.id}`,this.debug("constructor",{options:t,environmentOverrides:r,channelEventName:this.channelEventName}),this.actor.type===K.ActorType.LEADER)this.syncing={state:Ve.RESOLVED,promise:Promise.resolve()};else{let n,o,a=new Promise((i,s)=>{n=b(()=>{this.syncing.state===Ve.PENDING&&(this.syncing.state=Ve.RESOLVED,i())},"syncingResolve"),o=b(l=>{this.syncing.state===Ve.PENDING&&(this.syncing.state=Ve.REJECTED,s(l))},"syncingReject")});this.syncing={state:Ve.PENDING,promise:a,resolve:n,reject:o}}this.getState=this.getState.bind(this),this.setState=this.setState.bind(this),this.subscribe=this.subscribe.bind(this),this.onStateChange=this.onStateChange.bind(this),this.send=this.send.bind(this),this.emitToChannel=this.emitToChannel.bind(this),this.prepareThis=this.prepareThis.bind(this),this.emitToListeners=this.emitToListeners.bind(this),this.handleChannelEvents=this.handleChannelEvents.bind(this),this.debug=this.debug.bind(this),this.channel=r?.channel??K.preparation.channel,this.environment=r?.environment??K.preparation.environment,this.channel&&this.environment?this.prepareThis({channel:this.channel,environment:this.environment}):K.preparation.promise.then(this.prepareThis)}static setupPreparationPromise(){let t,r,n=new Promise((o,a)=>{t=b(i=>{o(i)},"resolveRef"),r=b((...i)=>{a(i)},"rejectRef")});K.preparation={resolve:t,reject:r,promise:n}}get actor(){return Object.freeze({id:this.actorId,type:this.actorType,environment:this.environment??K.Environment.UNKNOWN})}get status(){if(!this.channel||!this.environment)return K.Status.UNPREPARED;switch(this.syncing?.state){case Ve.PENDING:case void 0:return K.Status.SYNCING;case Ve.REJECTED:return K.Status.ERROR;case Ve.RESOLVED:default:return K.Status.READY}}untilReady(){return Promise.all([K.preparation.promise,this.syncing?.promise])}static create(t){if(!t||typeof t?.id!="string")throw new TypeError("id is required and must be a string, when creating a UniversalStore");t.debug&&console.debug(me`[UniversalStore] - create`,{options:t});let r=js.get(t.id);if(r)return console.warn(me`UniversalStore with id "${t.id}" already exists in this environment, re-using existing. - You should reuse the existing instance instead of trying to create a new one.`),r;K.isInternalConstructing=!0;let n=new K(t);return js.set(t.id,n),n}static __prepare(t,r){K.preparation.channel=t,K.preparation.environment=r,K.preparation.resolve({channel:t,environment:r})}setState(t){let r=this.state,n=typeof t=="function"?t(r):t;if(this.debug("setState",{newState:n,previousState:r,updater:t}),this.status!==K.Status.READY)throw new TypeError(me`Cannot set state before store is ready. You can get the current status with store.status, - or await store.readyPromise to wait for the store to be ready before sending events. - ${JSON.stringify({newState:n,id:this.id,actor:this.actor,environment:this.environment},null,2)}`);this.state=n;let o={type:K.InternalEventType.SET_STATE,payload:{state:n,previousState:r}};this.emitToChannel(o,{actor:this.actor}),this.emitToListeners(o,{actor:this.actor})}onStateChange(t){return this.debug("onStateChange",{listener:t}),this.subscribe(K.InternalEventType.SET_STATE,({payload:r},n)=>{t(r.state,r.previousState,n)})}emitToChannel(t,r){this.debug("emitToChannel",{event:t,eventInfo:r,channel:this.channel}),this.channel?.emit(this.channelEventName,{event:t,eventInfo:r})}prepareThis({channel:t,environment:r}){this.channel=t,this.environment=r,this.debug("prepared",{channel:t,environment:r}),this.channel.on(this.channelEventName,this.handleChannelEvents),this.actor.type===K.ActorType.LEADER?this.emitToChannel({type:K.InternalEventType.LEADER_CREATED},{actor:this.actor}):(this.emitToChannel({type:K.InternalEventType.FOLLOWER_CREATED},{actor:this.actor}),this.emitToChannel({type:K.InternalEventType.EXISTING_STATE_REQUEST},{actor:this.actor}),setTimeout(()=>{this.syncing.reject(new TypeError(`No existing state found for follower with id: '${this.id}'. Make sure a leader with the same id exists before creating a follower.`))},1e3))}emitToListeners(t,r){let n=this.listeners.get(t.type),o=this.listeners.get("*");this.debug("emitToListeners",{event:t,eventInfo:r,eventTypeListeners:n,everythingListeners:o}),[...n??[],...o??[]].forEach(a=>a(t,r))}handleChannelEvents(t){let{event:r,eventInfo:n}=t;if([n.actor.id,n.forwardingActor?.id].includes(this.actor.id)){this.debug("handleChannelEvents: Ignoring event from self",{channelEvent:t});return}else if(this.syncing?.state===Ve.PENDING&&r.type!==K.InternalEventType.EXISTING_STATE_RESPONSE){this.debug("handleChannelEvents: Ignoring event while syncing",{channelEvent:t});return}if(this.debug("handleChannelEvents",{channelEvent:t}),this.actor.type===K.ActorType.LEADER){let o=!0;switch(r.type){case K.InternalEventType.EXISTING_STATE_REQUEST:o=!1;let a={type:K.InternalEventType.EXISTING_STATE_RESPONSE,payload:this.state};this.debug("handleChannelEvents: responding to existing state request",{responseEvent:a}),this.emitToChannel(a,{actor:this.actor});break;case K.InternalEventType.LEADER_CREATED:o=!1,this.syncing.state=Ve.REJECTED,this.debug("handleChannelEvents: erroring due to second leader being created",{event:r}),console.error(me`Detected multiple UniversalStore leaders created with the same id "${this.id}". - Only one leader can exists at a time, your stores are now in an invalid state. - Leaders detected: - this: ${JSON.stringify(this.actor,null,2)} - other: ${JSON.stringify(n.actor,null,2)}`);break}o&&(this.debug("handleChannelEvents: forwarding event",{channelEvent:t}),this.emitToChannel(r,{actor:n.actor,forwardingActor:this.actor}))}if(this.actor.type===K.ActorType.FOLLOWER)switch(r.type){case K.InternalEventType.EXISTING_STATE_RESPONSE:if(this.debug("handleChannelEvents: Setting state from leader's existing state response",{event:r}),this.syncing?.state!==Ve.PENDING)break;this.syncing.resolve?.();let o={type:K.InternalEventType.SET_STATE,payload:{state:r.payload,previousState:this.state}};this.state=r.payload,this.emitToListeners(o,n);break}switch(r.type){case K.InternalEventType.SET_STATE:this.debug("handleChannelEvents: Setting state",{event:r}),this.state=r.payload.state;break}this.emitToListeners(r,{actor:n.actor})}debug(t,r){this.debugging&&console.debug(me`[UniversalStore::${this.id}::${this.environment??K.Environment.UNKNOWN}] - ${t}`,JSON.stringify({data:r,actor:this.actor,state:this.state,status:this.status},null,2))}static __reset(){K.preparation.reject(new Error("reset")),K.setupPreparationPromise(),K.isInternalConstructing=!1}};b(yt,"UniversalStore"),yt.ActorType={LEADER:"LEADER",FOLLOWER:"FOLLOWER"},yt.Environment={SERVER:"SERVER",MANAGER:"MANAGER",PREVIEW:"PREVIEW",UNKNOWN:"UNKNOWN",MOCK:"MOCK"},yt.InternalEventType={EXISTING_STATE_REQUEST:"__EXISTING_STATE_REQUEST",EXISTING_STATE_RESPONSE:"__EXISTING_STATE_RESPONSE",SET_STATE:"__SET_STATE",LEADER_CREATED:"__LEADER_CREATED",FOLLOWER_CREATED:"__FOLLOWER_CREATED"},yt.Status={UNPREPARED:"UNPREPARED",SYNCING:"SYNCING",READY:"READY",ERROR:"ERROR"},yt.isInternalConstructing=!1,yt.setupPreparationPromise();var rn=yt;function ll(e,t){let r={},n=Object.entries(e);for(let o=0;oObject.prototype.propertyIsEnumerable.call(e,t))}b(xo,"getSymbols");function To(e){return e==null?e===void 0?"[object Undefined]":"[object Null]":Object.prototype.toString.call(e)}b(To,"getTag");function Go(e,t){if(typeof e==typeof t)switch(typeof e){case"bigint":case"string":case"boolean":case"symbol":case"undefined":return e===t;case"number":return e===t||Object.is(e,t);case"function":return e===t;case"object":return Xe(e,t)}return Xe(e,t)}b(Go,"isEqual");function Xe(e,t,r){if(Object.is(e,t))return!0;let n=To(e),o=To(t);if(n===Ls&&(n=vo),o===Ls&&(o=vo),n!==o)return!1;switch(n){case Df:return e.toString()===t.toString();case Sf:{let s=e.valueOf(),l=t.valueOf();return s===l||Number.isNaN(s)&&Number.isNaN(l)}case wf:case xf:case Cf:return Object.is(e.valueOf(),t.valueOf());case Af:return e.source===t.source&&e.flags===t.flags;case kf:return e===t}r=r??new Map;let a=r.get(e),i=r.get(t);if(a!=null&&i!=null)return a===t;r.set(e,t),r.set(t,e);try{switch(n){case Tf:{if(e.size!==t.size)return!1;for(let[s,l]of e.entries())if(!t.has(s)||!Xe(l,t.get(s),r))return!1;return!0}case Ff:{if(e.size!==t.size)return!1;let s=Array.from(e.values()),l=Array.from(t.values());for(let c=0;cXe(p,d,r));if(h===-1)return!1;l.splice(h,1)}return!0}case If:case Bf:case Pf:case Nf:case jf:case Lf:case Mf:case Uf:case $f:case qf:case Vf:case Jf:{if(typeof Buffer<"u"&&Buffer.isBuffer(e)!==Buffer.isBuffer(t)||e.length!==t.length)return!1;for(let s=0;s{let[r,n]=Ho(t?t(e.getState()):e.getState());return pn(()=>e.onStateChange((o,a)=>{if(!t){n(o);return}let i=t(o),s=t(a);!Go(i,s)&&n(i)}),[e,n,t]),[r,e.setState]},"useUniversalStore"),zf=class dl extends rn{constructor(t,r){rn.isInternalConstructing=!0,super({...t,leader:!0},{channel:new Qr({}),environment:rn.Environment.MOCK}),rn.isInternalConstructing=!1,typeof r?.fn=="function"&&(this.testUtils=r,this.getState=r.fn(this.getState),this.setState=r.fn(this.setState),this.subscribe=r.fn(this.subscribe),this.onStateChange=r.fn(this.onStateChange),this.send=r.fn(this.send))}static create(t,r){return new dl(t,r)}unsubscribeAll(){if(!this.testUtils)throw new Error(Ef`Cannot call unsubscribeAll on a store that does not have testUtils. - Please provide testUtils as the second argument when creating the store.`);let t=b(r=>{try{r.value()}catch{}},"callReturnedUnsubscribeFn");this.subscribe.mock?.results.forEach(t),this.onStateChange.mock?.results.forEach(t)}};b(zf,"MockUniversalStore");var Ao=tr(Ys(),1),Yt=Symbol("incompatible"),Fo=b((e,t)=>{let r=t.type;if(e==null||!r||t.mapping)return e;switch(r.name){case"string":return String(e);case"enum":return e;case"number":return Number(e);case"boolean":return String(e)==="true";case"array":return!r.value||!Array.isArray(e)?Yt:e.reduce((n,o,a)=>{let i=Fo(o,{type:r.value});return i!==Yt&&(n[a]=i),n},new Array(e.length));case"object":return typeof e=="string"||typeof e=="number"?e:!r.value||typeof e!="object"?Yt:Object.entries(e).reduce((n,[o,a])=>{let i=Fo(a,{type:r.value[o]});return i===Yt?n:Object.assign(n,{[o]:i})},{});default:return Yt}},"map"),Hf=b((e,t)=>Object.entries(e).reduce((r,[n,o])=>{if(!t[n])return r;let a=Fo(o,t[n]);return a===Yt?r:Object.assign(r,{[n]:a})},{}),"mapArgsToTypes"),Io=b((e,t)=>Array.isArray(e)&&Array.isArray(t)?t.reduce((r,n,o)=>(r[o]=Io(e[o],t[o]),r),[...e]).filter(r=>r!==void 0):!We(e)||!We(t)?t:Object.keys({...e,...t}).reduce((r,n)=>{if(n in t){let o=Io(e[n],t[n]);o!==void 0&&(r[n]=o)}else r[n]=e[n];return r},{}),"combineArgs"),Gf=b((e,t)=>Object.entries(t).reduce((r,[n,{options:o}])=>{function a(){return n in e&&(r[n]=e[n]),r}if(b(a,"allowArg"),!o)return a();if(!Array.isArray(o))return mt.error(me` - Invalid argType: '${n}.options' should be an array. - - More info: https://storybook.js.org/docs/api/arg-types - `),a();if(o.some(h=>h&&["object","function"].includes(typeof h)))return mt.error(me` - Invalid argType: '${n}.options' should only contain primitives. Use a 'mapping' for complex values. - - More info: https://storybook.js.org/docs/writing-stories/args#mapping-to-complex-arg-values - `),a();let i=Array.isArray(e[n]),s=i&&e[n].findIndex(h=>!o.includes(h)),l=i&&s===-1;if(e[n]===void 0||o.includes(e[n])||l)return a();let c=i?`${n}[${s}]`:n,p=o.map(h=>typeof h=="string"?`'${h}'`:String(h)).join(", ");return mt.warn(`Received illegal value for '${c}'. Supported options: ${p}`),r},{}),"validateOptions"),Er=Symbol("Deeply equal"),sn=b((e,t)=>{if(typeof e!=typeof t)return t;if(Go(e,t))return Er;if(Array.isArray(e)&&Array.isArray(t)){let r=t.reduce((n,o,a)=>{let i=sn(e[a],o);return i!==Er&&(n[a]=i),n},new Array(t.length));return t.length>=e.length?r:r.concat(new Array(e.length-t.length).fill(void 0))}return We(e)&&We(t)?Object.keys({...e,...t}).reduce((r,n)=>{let o=sn(e?.[n],t?.[n]);return o===Er?r:Object.assign(r,{[n]:o})},{}):t},"deepDiff"),pl="UNTARGETED";function hl({args:e,argTypes:t}){let r={};return Object.entries(e).forEach(([n,o])=>{let{target:a=pl}=t[n]||{};r[a]=r[a]||{},r[a][n]=o}),r}b(hl,"groupArgsByTarget");function fl(e){return Object.keys(e).forEach(t=>e[t]===void 0&&delete e[t]),e}b(fl,"deleteUndefined");var ml=class{constructor(){this.initialArgsByStoryId={},this.argsByStoryId={}}get(t){if(!(t in this.argsByStoryId))throw new Error(`No args known for ${t} -- has it been rendered yet?`);return this.argsByStoryId[t]}setInitial(t){if(!this.initialArgsByStoryId[t.id])this.initialArgsByStoryId[t.id]=t.initialArgs,this.argsByStoryId[t.id]=t.initialArgs;else if(this.initialArgsByStoryId[t.id]!==t.initialArgs){let r=sn(this.initialArgsByStoryId[t.id],this.argsByStoryId[t.id]);this.initialArgsByStoryId[t.id]=t.initialArgs,this.argsByStoryId[t.id]=t.initialArgs,r!==Er&&this.updateFromDelta(t,r)}}updateFromDelta(t,r){let n=Gf(r,t.argTypes);this.argsByStoryId[t.id]=Io(this.argsByStoryId[t.id],n)}updateFromPersisted(t,r){let n=Hf(r,t.argTypes);return this.updateFromDelta(t,n)}update(t,r){if(!(t in this.argsByStoryId))throw new Error(`No args known for ${t} -- has it been rendered yet?`);this.argsByStoryId[t]=fl({...this.argsByStoryId[t],...r})}};b(ml,"ArgsStore");var Wf=ml,yl=b((e={})=>Object.entries(e).reduce((t,[r,{defaultValue:n}])=>(typeof n<"u"&&(t[r]=n),t),{}),"getValuesFromArgTypes"),gl=class{constructor({globals:t={},globalTypes:r={}}){this.set({globals:t,globalTypes:r})}set({globals:t={},globalTypes:r={}}){let n=this.initialGlobals&&sn(this.initialGlobals,this.globals);this.allowedGlobalNames=new Set([...Object.keys(t),...Object.keys(r)]);let o=yl(r);this.initialGlobals={...o,...t},this.globals=this.initialGlobals,n&&n!==Er&&this.updateFromPersisted(n)}filterAllowedGlobals(t){return Object.entries(t).reduce((r,[n,o])=>(this.allowedGlobalNames.has(n)?r[n]=o:ee.warn(`Attempted to set a global (${n}) that is not defined in initial globals or globalTypes`),r),{})}updateFromPersisted(t){let r=this.filterAllowedGlobals(t);this.globals={...this.globals,...r}}get(){return this.globals}update(t){this.globals={...this.globals,...this.filterAllowedGlobals(t)}}};b(gl,"GlobalsStore");var Kf=gl,Yf=tr(Ys(),1),Xf=(0,Yf.default)(1)(e=>Object.values(e).reduce((t,r)=>(t[r.importPath]=t[r.importPath]||r,t),{})),bl=class{constructor({entries:t}={v:5,entries:{}}){this.entries=t}entryFromSpecifier(t){let r=Object.values(this.entries);if(t==="*")return r[0];if(typeof t=="string")return this.entries[t]?this.entries[t]:r.find(a=>a.id.startsWith(t));let{name:n,title:o}=t;return r.find(a=>a.name===n&&a.title===o)}storyIdToEntry(t){let r=this.entries[t];if(!r)throw new ds({storyId:t});return r}importPathToEntry(t){return Xf(this.entries)[t]}};b(bl,"StoryIndexStore");var Qf=bl,Zf=b(e=>typeof e=="string"?{name:e}:e,"normalizeType"),em=b(e=>typeof e=="string"?{type:e}:e,"normalizeControl"),tm=b((e,t)=>{let{type:r,control:n,...o}=e,a={name:t,...o};return r&&(a.type=Zf(r)),n?a.control=em(n):n===!1&&(a.control={disable:!0}),a},"normalizeInputType"),ln=b(e=>Ot(e,tm),"normalizeInputTypes"),ue=b(e=>Array.isArray(e)?e:e?[e]:[],"normalizeArrays"),rm=me` -CSF .story annotations deprecated; annotate story functions directly: -- StoryFn.story.name => StoryFn.storyName -- StoryFn.story.(parameters|decorators) => StoryFn.(parameters|decorators) -See https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#hoisted-csf-annotations for details and codemod. -`;function un(e,t,r){let n=t,o=typeof t=="function"?t:null,{story:a}=n;a&&(ee.debug("deprecated story",a),nt(rm));let i=au(e),s=typeof n!="function"&&n.name||n.storyName||a?.name||i,l=[...ue(n.decorators),...ue(a?.decorators)],c={...a?.parameters,...n.parameters},p={...a?.args,...n.args},h={...a?.argTypes,...n.argTypes},d=[...ue(n.loaders),...ue(a?.loaders)],y=[...ue(n.beforeEach),...ue(a?.beforeEach)],g=[...ue(n.experimental_afterEach),...ue(a?.experimental_afterEach)],{render:A,play:v,tags:S=[],globals:w={}}=n,x=c.__id||ou(r.id,i);return{moduleExport:t,id:x,name:s,tags:S,decorators:l,parameters:c,args:p,argTypes:ln(h),loaders:d,beforeEach:y,experimental_afterEach:g,globals:w,...A&&{render:A},...o&&{userStoryFn:o},...v&&{play:v}}}b(un,"normalizeStory");function cn(e,t=e.title,r){let{id:n,argTypes:o}=e;return{id:Qo(n||t),...e,title:t,...o&&{argTypes:ln(o)},parameters:{fileName:r,...e.parameters}}}b(cn,"normalizeComponentAnnotations");var nm=b(e=>{let{globals:t,globalTypes:r}=e;(t||r)&&ee.error("Global args/argTypes can only be set globally",JSON.stringify({globals:t,globalTypes:r}))},"checkGlobals"),om=b(e=>{let{options:t}=e;t?.storySort&&ee.error("The storySort option parameter can only be set globally")},"checkStorySort"),nn=b(e=>{e&&(nm(e),om(e))},"checkDisallowedParameters");function El(e,t,r){let{default:n,__namedExportsOrder:o,...a}=e,i=Object.values(a)[0];if(Bt(i)){let c=cn(i.meta.input,r,t);nn(c.parameters);let p={meta:c,stories:{},moduleExports:e};return Object.keys(a).forEach(h=>{if(er(h,c)){let d=un(h,a[h].input,c);nn(d.parameters),p.stories[d.id]=d}}),p.projectAnnotations=i.meta.preview.composed,p}let s=cn(n,r,t);nn(s.parameters);let l={meta:s,stories:{},moduleExports:e};return Object.keys(a).forEach(c=>{if(er(c,s)){let p=un(c,a[c],s);nn(p.parameters),l.stories[p.id]=p}}),l}b(El,"processCSFFile");function vl(e){return e!=null&&Al(e).includes("mount")}b(vl,"mountDestructured");function Al(e){let t=e.toString().match(/[^(]*\(([^)]*)/);if(!t)return[];let r=ko(t[1]);if(!r.length)return[];let n=r[0];return n.startsWith("{")&&n.endsWith("}")?ko(n.slice(1,-1).replace(/\s/g,"")).map(o=>o.replace(/:.*|=.*/g,"")):[]}b(Al,"getUsedProps");function ko(e){let t=[],r=[],n=0;for(let a=0;at(n,o)}b(Dl,"decorateStory");function Sl({componentId:e,title:t,kind:r,id:n,name:o,story:a,parameters:i,initialArgs:s,argTypes:l,...c}={}){return c}b(Sl,"sanitizeStoryContextUpdate");function wl(e,t){let r={},n=b(a=>i=>{if(!r.value)throw new Error("Decorated function called without init");return r.value={...r.value,...Sl(i)},a(r.value)},"bindWithContext"),o=t.reduce((a,i)=>Dl(a,i,n),e);return a=>(r.value=a,o(a))}b(wl,"defaultDecorateStory");var at=b((...e)=>{let t={},r=e.filter(Boolean),n=r.reduce((o,a)=>(Object.entries(a).forEach(([i,s])=>{let l=o[i];Array.isArray(s)||typeof l>"u"?o[i]=s:We(s)&&We(l)?t[i]=!0:typeof s<"u"&&(o[i]=s)}),o),{});return Object.keys(t).forEach(o=>{let a=r.filter(Boolean).map(i=>i[o]).filter(i=>typeof i<"u");a.every(i=>We(i))?n[o]=at(...a):n[o]=a[a.length-1]}),n},"combineParameters");function Wo(e,t,r){let{moduleExport:n,id:o,name:a}=e||{},i=Ko(e,t,r),s=b(async F=>{let _={};for(let j of[..."__STORYBOOK_TEST_LOADERS__"in De&&Array.isArray(De.__STORYBOOK_TEST_LOADERS__)?[De.__STORYBOOK_TEST_LOADERS__]:[],ue(r.loaders),ue(t.loaders),ue(e.loaders)]){if(F.abortSignal.aborted)return _;let M=await Promise.all(j.map(P=>P(F)));Object.assign(_,...M)}return _},"applyLoaders"),l=b(async F=>{let _=new Array;for(let j of[...ue(r.beforeEach),...ue(t.beforeEach),...ue(e.beforeEach)]){if(F.abortSignal.aborted)return _;let M=await j(F);M&&_.push(M)}return _},"applyBeforeEach"),c=b(async F=>{let _=[...ue(r.experimental_afterEach),...ue(t.experimental_afterEach),...ue(e.experimental_afterEach)].reverse();for(let j of _){if(F.abortSignal.aborted)return;await j(F)}},"applyAfterEach"),p=b(F=>F.originalStoryFn(F.args,F),"undecoratedStoryFn"),{applyDecorators:h=wl,runStep:d}=r,y=[...ue(e?.decorators),...ue(t?.decorators),...ue(r?.decorators)],g=e?.userStoryFn||e?.render||t.render||r.render,A=cf(h)(p,y),v=b(F=>A(F),"unboundStoryFn"),S=e?.play??t?.play,w=vl(S);if(!g&&!w)throw new Rs({id:o});let x=b(F=>async()=>(await F.renderToCanvas(),F.canvas),"defaultMount"),C=e.mount??t.mount??r.mount??x,k=r.testingLibraryRender;return{storyGlobals:{},...i,moduleExport:n,id:o,name:a,story:a,originalStoryFn:g,undecoratedStoryFn:p,unboundStoryFn:v,applyLoaders:s,applyBeforeEach:l,applyAfterEach:c,playFunction:S,runStep:d,mount:C,testingLibraryRender:k,renderToCanvas:r.renderToCanvas,usesMount:w}}b(Wo,"prepareStory");function Cl(e,t,r){return{...Ko(void 0,e,t),moduleExport:r}}b(Cl,"prepareMeta");function Ko(e,t,r){let n=["dev","test"],o=De.DOCS_OPTIONS?.autodocs===!0?["autodocs"]:[],a=iu(...n,...o,...r.tags??[],...t.tags??[],...e?.tags??[]),i=at(r.parameters,t.parameters,e?.parameters),{argTypesEnhancers:s=[],argsEnhancers:l=[]}=r,c=at(r.argTypes,t.argTypes,e?.argTypes);if(e){let S=e?.userStoryFn||e?.render||t.render||r.render;i.__isArgsStory=S&&S.length>0}let p={...r.args,...t.args,...e?.args},h={...t.globals,...e?.globals},d={componentId:t.id,title:t.title,kind:t.title,id:e?.id||t.id,name:e?.name||"__meta",story:e?.name||"__meta",component:t.component,subcomponents:t.subcomponents,tags:a,parameters:i,initialArgs:p,argTypes:c,storyGlobals:h};d.argTypes=s.reduce((S,w)=>w({...d,argTypes:S}),d.argTypes);let y={...p};d.initialArgs=l.reduce((S,w)=>({...S,...w({...d,initialArgs:S})}),y);let{name:g,story:A,...v}=d;return v}b(Ko,"preparePartialAnnotations");function Yo(e){let{args:t}=e,r={...e,allArgs:void 0,argsByTarget:void 0};if(De.FEATURES?.argTypeTargetsV7){let a=hl(e);r={...e,allArgs:e.args,argsByTarget:a,args:a[pl]||{}}}let n=Object.entries(r.args).reduce((a,[i,s])=>{if(!r.argTypes[i]?.mapping)return a[i]=s,a;let l=b(c=>{let p=r.argTypes[i].mapping;return p&&c in p?p[c]:c},"mappingFn");return a[i]=Array.isArray(s)?s.map(l):l(s),a},{}),o=Object.entries(n).reduce((a,[i,s])=>{let l=r.argTypes[i]||{};return mn(l,n,r.globals)&&(a[i]=s),a},{});return{...r,unmappedArgs:t,args:o}}b(Yo,"prepareContext");var Ro=b((e,t,r)=>{let n=typeof e;switch(n){case"boolean":case"string":case"number":case"function":case"symbol":return{name:n};default:break}return e?r.has(e)?(ee.warn(me` - We've detected a cycle in arg '${t}'. Args should be JSON-serializable. - - Consider using the mapping feature or fully custom args: - - Mapping: https://storybook.js.org/docs/writing-stories/args#mapping-to-complex-arg-values - - Custom args: https://storybook.js.org/docs/essentials/controls#fully-custom-args - `),{name:"other",value:"cyclic object"}):(r.add(e),Array.isArray(e)?{name:"array",value:e.length>0?Ro(e[0],t,new Set(r)):{name:"other",value:"unknown"}}:{name:"object",value:Ot(e,o=>Ro(o,t,new Set(r)))}):{name:"object",value:{}}},"inferType"),xl=b(e=>{let{id:t,argTypes:r={},initialArgs:n={}}=e,o=Ot(n,(i,s)=>({name:s,type:Ro(i,`${t}.${s}`,new Set)})),a=Ot(r,(i,s)=>({name:s}));return at(o,a,r)},"inferArgTypes");xl.secondPass=!0;var Ms=b((e,t)=>Array.isArray(t)?t.includes(e):e.match(t),"matches"),am=b((e,t,r)=>!t&&!r?e:e&&cl(e,(n,o)=>{let a=n.name||o.toString();return!!(!t||Ms(a,t))&&(!r||!Ms(a,r))}),"filterArgTypes"),im=b((e,t,r)=>{let{type:n,options:o}=e;if(n){if(r.color&&r.color.test(t)){let a=n.name;if(a==="string")return{control:{type:"color"}};a!=="enum"&&ee.warn(`Addon controls: Control of type color only supports string, received "${a}" instead`)}if(r.date&&r.date.test(t))return{control:{type:"date"}};switch(n.name){case"array":return{control:{type:"object"}};case"boolean":return{control:{type:"boolean"}};case"string":return{control:{type:"text"}};case"number":return{control:{type:"number"}};case"enum":{let{value:a}=n;return{control:{type:a?.length<=5?"radio":"select"},options:a}}case"function":case"symbol":return null;default:return{control:{type:o?"select":"object"}}}}},"inferControl"),Tl=b(e=>{let{argTypes:t,parameters:{__isArgsStory:r,controls:{include:n=null,exclude:o=null,matchers:a={}}={}}}=e;if(!r)return t;let i=am(t,n,o),s=Ot(i,(l,c)=>l?.type&&im(l,c.toString(),a));return at(s,i)},"inferControls");Tl.secondPass=!0;function Qt({argTypes:e,globalTypes:t,argTypesEnhancers:r,decorators:n,loaders:o,beforeEach:a,experimental_afterEach:i,globals:s,initialGlobals:l,...c}){return s&&Object.keys(s).length>0&&nt(me` - The preview.js 'globals' field is deprecated and will be removed in Storybook 9.0. - Please use 'initialGlobals' instead. Learn more: - - https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#previewjs-globals-renamed-to-initialglobals - `),{...e&&{argTypes:ln(e)},...t&&{globalTypes:ln(t)},decorators:ue(n),loaders:ue(o),beforeEach:ue(a),experimental_afterEach:ue(i),argTypesEnhancers:[...r||[],xl,Tl],initialGlobals:at(l,s),...c}}b(Qt,"normalizeProjectAnnotations");var sm=b(e=>async()=>{let t=[];for(let r of e){let n=await r();n&&t.unshift(n)}return async()=>{for(let r of t)await r()}},"composeBeforeAllHooks");function Fl(e){return async(t,r,n)=>{await e.reduceRight((o,a)=>async()=>a(t,o,n),async()=>r(n))()}}b(Fl,"composeStepRunners");function Zt(e,t){return e.map(r=>r.default?.[t]??r[t]).filter(Boolean)}b(Zt,"getField");function ot(e,t,r={}){return Zt(e,t).reduce((n,o)=>{let a=ue(o);return r.reverseFileOrder?[...a,...n]:[...n,...a]},[])}b(ot,"getArrayField");function Xt(e,t){return Object.assign({},...Zt(e,t))}b(Xt,"getObjectField");function It(e,t){return Zt(e,t).pop()}b(It,"getSingletonField");function _t(e){let t=ot(e,"argTypesEnhancers"),r=Zt(e,"runStep"),n=ot(e,"beforeAll");return{parameters:at(...Zt(e,"parameters")),decorators:ot(e,"decorators",{reverseFileOrder:!(De.FEATURES?.legacyDecoratorFileOrder??!1)}),args:Xt(e,"args"),argsEnhancers:ot(e,"argsEnhancers"),argTypes:Xt(e,"argTypes"),argTypesEnhancers:[...t.filter(o=>!o.secondPass),...t.filter(o=>o.secondPass)],globals:Xt(e,"globals"),initialGlobals:Xt(e,"initialGlobals"),globalTypes:Xt(e,"globalTypes"),loaders:ot(e,"loaders"),beforeAll:sm(n),beforeEach:ot(e,"beforeEach"),experimental_afterEach:ot(e,"experimental_afterEach"),render:It(e,"render"),renderToCanvas:It(e,"renderToCanvas"),renderToDOM:It(e,"renderToDOM"),applyDecorators:It(e,"applyDecorators"),runStep:Fl(r),tags:ot(e,"tags"),mount:It(e,"mount"),testingLibraryRender:It(e,"testingLibraryRender")}}b(_t,"composeConfigs");var Il=class{constructor(){this.reports=[]}async addReport(t){this.reports.push(t)}};b(Il,"ReporterAPI");var kl=Il;function Rl(e,t,r){return Bt(e)?{story:e.input,meta:e.meta.input,preview:e.meta.preview.composed}:{story:e,meta:t,preview:r}}b(Rl,"getCsfFactoryAnnotations");function lm(e){globalThis.defaultProjectAnnotations=e}b(lm,"setDefaultProjectAnnotations");var um="ComposedStory",cm="Unnamed Story";function Ol(e){return e?_t([e]):{}}b(Ol,"extractAnnotation");function dm(e){let t=Array.isArray(e)?e:[e];return globalThis.globalProjectAnnotations=_t([globalThis.defaultProjectAnnotations??{},_t(t.map(Ol))]),globalThis.globalProjectAnnotations??{}}b(dm,"setProjectAnnotations");var gt=[];function _l(e,t,r,n,o){if(e===void 0)throw new Error("Expected a story but received undefined.");t.title=t.title??um;let a=cn(t),i=o||e.storyName||e.story?.name||e.name||cm,s=un(i,e,a),l=Qt(_t([n??globalThis.globalProjectAnnotations??{},r??{}])),c=Wo(s,a,l),p={...yl(l.globalTypes),...l.initialGlobals,...c.storyGlobals},h=new kl,d=b(()=>{let S=Yo({hooks:new al,globals:p,args:{...c.initialArgs},viewMode:"story",reporting:h,loaded:{},abortSignal:new AbortController().signal,step:b((w,x)=>c.runStep(w,x,S),"step"),canvasElement:null,canvas:{},globalTypes:l.globalTypes,...c,context:null,mount:null});return S.parameters.__isPortableStory=!0,S.context=S,c.renderToCanvas&&(S.renderToCanvas=async()=>{let w=await c.renderToCanvas?.({componentId:c.componentId,title:c.title,id:c.id,name:c.name,tags:c.tags,showMain:b(()=>{},"showMain"),showError:b(x=>{throw new Error(`${x.title} -${x.description}`)},"showError"),showException:b(x=>{throw x},"showException"),forceRemount:!0,storyContext:S,storyFn:b(()=>c.unboundStoryFn(S),"storyFn"),unboundStoryFn:c.unboundStoryFn},S.canvasElement);w&>.push(w)}),S.mount=c.mount(S),S},"initializeContext"),y,g=b(async S=>{let w=d();return w.canvasElement??=globalThis?.document?.body,y&&(w.loaded=y.loaded),Object.assign(w,S),c.playFunction(w)},"play"),A=b(S=>{let w=d();return Object.assign(w,S),Bl(c,w)},"run"),v=c.playFunction?g:void 0;return Object.assign(b(function(S){let w=d();return y&&(w.loaded=y.loaded),w.args={...w.initialArgs,...S},c.unboundStoryFn(w)},"storyFn"),{id:c.id,storyName:i,load:b(async()=>{for(let w of[...gt].reverse())await w();gt.length=0;let S=d();S.loaded=await c.applyLoaders(S),gt.push(...(await c.applyBeforeEach(S)).filter(Boolean)),y=S},"load"),globals:p,args:c.initialArgs,parameters:c.parameters,argTypes:c.argTypes,play:v,run:A,reporting:h,tags:c.tags})}b(_l,"composeStory");var pm=b((e,t,r,n)=>_l(e,t,r,{},n),"defaultComposeStory");function hm(e,t,r=pm){let{default:n,__esModule:o,__namedExportsOrder:a,...i}=e,s=n;return Object.entries(i).reduce((l,[c,p])=>{let{story:h,meta:d}=Rl(p);return!s&&d&&(s=d),er(c,s)?Object.assign(l,{[c]:r(h,s,t,c)}):l},{})}b(hm,"composeStories");function fm(e){return e.extend({mount:b(async({mount:t,page:r},n)=>{await n(async(o,...a)=>{if(!("__pw_type"in o)||"__pw_type"in o&&o.__pw_type!=="jsx")throw new Error(me` - Portable stories in Playwright CT only work when referencing JSX elements. - Please use JSX format for your components such as: - - instead of: - await mount(MyComponent, { props: { foo: 'bar' } }) - - do: - await mount() - - More info: https://storybook.js.org/docs/api/portable-stories-playwright - `);await r.evaluate(async s=>{let l=await globalThis.__pwUnwrapObject?.(s);return("__pw_type"in l?l.type:l)?.load?.()},o);let i=await t(o,...a);return await r.evaluate(async s=>{let l=await globalThis.__pwUnwrapObject?.(s),c="__pw_type"in l?l.type:l,p=document.querySelector("#root");return c?.play?.({canvasElement:p})},o),i})},"mount")})}b(fm,"createPlaywrightTest");async function Bl(e,t){for(let o of[...gt].reverse())await o();if(gt.length=0,!t.canvasElement){let o=document.createElement("div");globalThis?.document?.body?.appendChild(o),t.canvasElement=o,gt.push(()=>{globalThis?.document?.body?.contains(o)&&globalThis?.document?.body?.removeChild(o)})}if(t.loaded=await e.applyLoaders(t),t.abortSignal.aborted)return;gt.push(...(await e.applyBeforeEach(t)).filter(Boolean));let r=e.playFunction,n=e.usesMount;n||await t.mount(),!t.abortSignal.aborted&&(r&&(n||(t.mount=async()=>{throw new Zr({playFunction:r.toString()})}),await r(t)),await e.applyAfterEach(t))}b(Bl,"runStory");function Oo(e,t){return ll(ul(e,t),r=>r===void 0)}b(Oo,"picky");var Us=1e3,mm=1e4,Pl=class{constructor(t,r,n){this.importFn=r,this.getStoriesJsonData=b(()=>{let i=this.getSetStoriesPayload(),s=["fileName","docsOnly","framework","__id","__isArgsStory"];return{v:3,stories:Ot(i.stories,l=>{let{importPath:c}=this.storyIndex.entries[l.id];return{...Oo(l,["id","name","title"]),importPath:c,kind:l.title,story:l.name,parameters:{...Oo(l.parameters,s),fileName:c}}})}},"getStoriesJsonData"),this.storyIndex=new Qf(t),this.projectAnnotations=Qt(n);let{initialGlobals:o,globalTypes:a}=this.projectAnnotations;this.args=new Wf,this.userGlobals=new Kf({globals:o,globalTypes:a}),this.hooks={},this.cleanupCallbacks={},this.processCSFFileWithCache=(0,Ao.default)(Us)(El),this.prepareMetaWithCache=(0,Ao.default)(Us)(Cl),this.prepareStoryWithCache=(0,Ao.default)(mm)(Wo)}setProjectAnnotations(t){this.projectAnnotations=Qt(t);let{initialGlobals:r,globalTypes:n}=t;this.userGlobals.set({globals:r,globalTypes:n})}async onStoriesChanged({importFn:t,storyIndex:r}){t&&(this.importFn=t),r&&(this.storyIndex.entries=r.entries),this.cachedCSFFiles&&await this.cacheAllCSFFiles()}async storyIdToEntry(t){return this.storyIndex.storyIdToEntry(t)}async loadCSFFileByStoryId(t){let{importPath:r,title:n}=this.storyIndex.storyIdToEntry(t),o=await this.importFn(r);return this.processCSFFileWithCache(o,r,n)}async loadAllCSFFiles(){let t={};return Object.entries(this.storyIndex.entries).forEach(([r,{importPath:n}])=>{t[n]=r}),(await Promise.all(Object.entries(t).map(async([r,n])=>({importPath:r,csfFile:await this.loadCSFFileByStoryId(n)})))).reduce((r,{importPath:n,csfFile:o})=>(r[n]=o,r),{})}async cacheAllCSFFiles(){this.cachedCSFFiles=await this.loadAllCSFFiles()}preparedMetaFromCSFFile({csfFile:t}){let r=t.meta;return this.prepareMetaWithCache(r,this.projectAnnotations,t.moduleExports.default)}async loadStory({storyId:t}){let r=await this.loadCSFFileByStoryId(t);return this.storyFromCSFFile({storyId:t,csfFile:r})}storyFromCSFFile({storyId:t,csfFile:r}){let n=r.stories[t];if(!n)throw new xs({storyId:t});let o=r.meta,a=this.prepareStoryWithCache(n,o,r.projectAnnotations??this.projectAnnotations);return this.args.setInitial(a),this.hooks[a.id]=this.hooks[a.id]||new al,a}componentStoriesFromCSFFile({csfFile:t}){return Object.keys(this.storyIndex.entries).filter(r=>!!t.stories[r]).map(r=>this.storyFromCSFFile({storyId:r,csfFile:t}))}async loadEntry(t){let r=await this.storyIdToEntry(t),n=r.type==="docs"?r.storiesImports:[],[o,...a]=await Promise.all([this.importFn(r.importPath),...n.map(i=>{let s=this.storyIndex.importPathToEntry(i);return this.loadCSFFileByStoryId(s.id)})]);return{entryExports:o,csfFiles:a}}getStoryContext(t,{forceInitialArgs:r=!1}={}){let n=this.userGlobals.get(),{initialGlobals:o}=this.userGlobals,a=new kl;return Yo({...t,args:r?t.initialArgs:this.args.get(t.id),initialGlobals:o,globalTypes:this.projectAnnotations.globalTypes,userGlobals:n,reporting:a,globals:{...n,...t.storyGlobals},hooks:this.hooks[t.id]})}addCleanupCallbacks(t,r){this.cleanupCallbacks[t.id]=r}async cleanupStory(t){this.hooks[t.id].clean();let r=this.cleanupCallbacks[t.id];if(r)for(let n of[...r].reverse())await n();delete this.cleanupCallbacks[t.id]}extract(t={includeDocsOnly:!1}){let{cachedCSFFiles:r}=this;if(!r)throw new hs;return Object.entries(this.storyIndex.entries).reduce((n,[o,{type:a,importPath:i}])=>{if(a==="docs")return n;let s=r[i],l=this.storyFromCSFFile({storyId:o,csfFile:s});return!t.includeDocsOnly&&l.parameters.docsOnly||(n[o]=Object.entries(l).reduce((c,[p,h])=>p==="moduleExport"||typeof h=="function"?c:Array.isArray(h)?Object.assign(c,{[p]:h.slice().sort()}):Object.assign(c,{[p]:h}),{args:l.initialArgs,globals:{...this.userGlobals.initialGlobals,...this.userGlobals.globals,...l.storyGlobals}})),n},{})}getSetStoriesPayload(){let t=this.extract({includeDocsOnly:!0}),r=Object.values(t).reduce((n,{title:o})=>(n[o]={},n),{});return{v:2,globals:this.userGlobals.get(),globalParameters:{},kindParameters:r,stories:t}}raw(){return nt("StoryStore.raw() is deprecated and will be removed in 9.0, please use extract() instead"),Object.values(this.extract()).map(({id:t})=>this.fromId(t)).filter(Boolean)}fromId(t){if(nt("StoryStore.fromId() is deprecated and will be removed in 9.0, please use loadStory() instead"),!this.cachedCSFFiles)throw new Error("Cannot call fromId/raw() unless you call cacheAllCSFFiles() first.");let r;try{({importPath:r}=this.storyIndex.storyIdToEntry(t))}catch{return null}let n=this.cachedCSFFiles[r],o=this.storyFromCSFFile({storyId:t,csfFile:n});return{...o,storyFn:b(a=>{let i={...this.getStoryContext(o),abortSignal:new AbortController().signal,canvasElement:null,loaded:{},step:b((s,l)=>o.runStep(s,l,i),"step"),context:null,mount:null,canvas:{},viewMode:"story"};return o.unboundStoryFn({...i,...a})},"storyFn")}}};b(Pl,"StoryStore");var ym=Pl;function Nl(e){return e.startsWith("\\\\?\\")?e:e.replace(/\\/g,"/")}b(Nl,"slash");var gm=b(e=>{if(e.length===0)return e;let t=e[e.length-1],r=t?.replace(/(?:[.](?:story|stories))?([.][^.]+)$/i,"");if(e.length===1)return[r];let n=e[e.length-2];return r&&n&&r.toLowerCase()===n.toLowerCase()?[...e.slice(0,-2),r]:r&&(/^(story|stories)([.][^.]+)$/i.test(t)||/^index$/i.test(r))?e.slice(0,-1):[...e.slice(0,-1),r]},"sanitize");function _o(e){return e.flatMap(t=>t.split("/")).filter(Boolean).join("/")}b(_o,"pathJoin");var bm=b((e,t,r)=>{let{directory:n,importPathMatcher:o,titlePrefix:a=""}=t||{};typeof e=="number"&&mt.warn(me` - CSF Auto-title received a numeric fileName. This typically happens when - webpack is mis-configured in production mode. To force webpack to produce - filenames, set optimization.moduleIds = "named" in your webpack config. - `);let i=Nl(String(e));if(o.exec(i)){if(!r){let s=i.replace(n,""),l=_o([a,s]).split("/");return l=gm(l),l.join("/")}return a?_o([a,r]):r}},"userOrAutoTitleFromSpecifier"),i5=b((e,t,r)=>{for(let n=0;n(t,r)=>{if(t.title===r.title&&!e.includeNames)return 0;let n=e.method||"configure",o=e.order||[],a=t.title.trim().split($s),i=r.title.trim().split($s);e.includeNames&&(a.push(t.name),i.push(r.name));let s=0;for(;a[s]||i[s];){if(!a[s])return-1;if(!i[s])return 1;let l=a[s],c=i[s];if(l!==c){let h=o.indexOf(l),d=o.indexOf(c),y=o.indexOf("*");return h!==-1||d!==-1?(h===-1&&(y!==-1?h=y:h=o.length),d===-1&&(y!==-1?d=y:d=o.length),h-d):n==="configure"?0:l.localeCompare(c,e.locales?e.locales:void 0,{numeric:!0,sensitivity:"accent"})}let p=o.indexOf(l);p===-1&&(p=o.indexOf("*")),o=p!==-1&&Array.isArray(o[p+1])?o[p+1]:[],s+=1}return 0},"storySort"),vm=b((e,t,r)=>{if(t){let n;typeof t=="function"?n=t:n=Em(t),e.sort(n)}else e.sort((n,o)=>r.indexOf(n.importPath)-r.indexOf(o.importPath));return e},"sortStoriesCommon"),s5=b((e,t,r)=>{try{return vm(e,t,r)}catch(n){throw new Error(me` - Error sorting stories with sort parameter ${t}: - - > ${n.message} - - Are you using a V6-style sort function in V7 mode? - - More info: https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#v7-style-story-sort - `)}},"sortStoriesV7"),fn=new Error("prepareAborted"),{AbortController:qs}=globalThis;function Bo(e){try{let{name:t="Error",message:r=String(e),stack:n}=e;return{name:t,message:r,stack:n}}catch{return{name:"Error",message:String(e)}}}b(Bo,"serializeError");var jl=class{constructor(t,r,n,o,a,i,s={autoplay:!0,forceInitialArgs:!1},l){this.channel=t,this.store=r,this.renderToScreen=n,this.callbacks=o,this.id=a,this.viewMode=i,this.renderOptions=s,this.type="story",this.notYetRendered=!0,this.rerenderEnqueued=!1,this.disableKeyListeners=!1,this.teardownRender=b(()=>{},"teardownRender"),this.torndown=!1,this.abortController=new qs,l&&(this.story=l,this.phase="preparing")}async runPhase(t,r,n){this.phase=r,this.channel.emit(Kt,{newPhase:this.phase,storyId:this.id}),n&&(await n(),this.checkIfAborted(t))}checkIfAborted(t){return t.aborted?(this.phase="aborted",this.channel.emit(Kt,{newPhase:this.phase,storyId:this.id}),!0):!1}async prepare(){if(await this.runPhase(this.abortController.signal,"preparing",async()=>{this.story=await this.store.loadStory({storyId:this.id})}),this.abortController.signal.aborted)throw await this.store.cleanupStory(this.story),fn}isEqual(t){return!!(this.id===t.id&&this.story&&this.story===t.story)}isPreparing(){return["preparing"].includes(this.phase)}isPending(){return["loading","beforeEach","rendering","playing","afterEach"].includes(this.phase)}async renderToElement(t){return this.canvasElement=t,this.render({initial:!0,forceRemount:!0})}storyContext(){if(!this.story)throw new Error("Cannot call storyContext before preparing");let{forceInitialArgs:t}=this.renderOptions;return this.store.getStoryContext(this.story,{forceInitialArgs:t})}async render({initial:t=!1,forceRemount:r=!1}={}){let{canvasElement:n}=this;if(!this.story)throw new Error("cannot render when not prepared");let o=this.story;if(!n)throw new Error("cannot render when canvasElement is unset");let{id:a,componentId:i,title:s,name:l,tags:c,applyLoaders:p,applyBeforeEach:h,applyAfterEach:d,unboundStoryFn:y,playFunction:g,runStep:A}=o;r&&!t&&(this.cancelRender(),this.abortController=new qs);let v=this.abortController.signal,S=!1,w=o.usesMount;try{let x={...this.storyContext(),viewMode:this.viewMode,abortSignal:v,canvasElement:n,loaded:{},step:b((L,z)=>A(L,z,x),"step"),context:null,canvas:{},renderToCanvas:b(async()=>{let L=await this.renderToScreen(C,n);this.teardownRender=L||(()=>{}),S=!0},"renderToCanvas"),mount:b(async(...L)=>{this.callbacks.showStoryDuringRender?.();let z=null;return await this.runPhase(v,"rendering",async()=>{z=await o.mount(x)(...L)}),w&&await this.runPhase(v,"playing"),z},"mount")};x.context=x;let C={componentId:i,title:s,kind:s,id:a,name:l,story:l,tags:c,...this.callbacks,showError:b(L=>(this.phase="errored",this.callbacks.showError(L)),"showError"),showException:b(L=>(this.phase="errored",this.callbacks.showException(L)),"showException"),forceRemount:r||this.notYetRendered,storyContext:x,storyFn:b(()=>y(x),"storyFn"),unboundStoryFn:y};if(await this.runPhase(v,"loading",async()=>{x.loaded=await p(x)}),v.aborted)return;let k=await h(x);if(this.store.addCleanupCallbacks(o,k),this.checkIfAborted(v)||(!S&&!w&&await x.mount(),this.notYetRendered=!1,v.aborted))return;let F=this.story.parameters?.test?.dangerouslyIgnoreUnhandledErrors===!0,_=new Set,j=b(L=>_.add("error"in L?L.error:L.reason),"onError");if(this.renderOptions.autoplay&&r&&g&&this.phase!=="errored"){window.addEventListener("error",j),window.addEventListener("unhandledrejection",j),this.disableKeyListeners=!0;try{if(w?await g(x):(x.mount=async()=>{throw new Zr({playFunction:g.toString()})},await this.runPhase(v,"playing",async()=>g(x))),!S)throw new _s;this.checkIfAborted(v),!F&&_.size>0?await this.runPhase(v,"errored"):await this.runPhase(v,"played")}catch(L){if(this.callbacks.showStoryDuringRender?.(),await this.runPhase(v,"errored",async()=>{this.channel.emit(Si,Bo(L))}),this.story.parameters.throwPlayFunctionExceptions!==!1)throw L;console.error(L)}if(!F&&_.size>0&&this.channel.emit(Ni,Array.from(_).map(Bo)),this.disableKeyListeners=!1,window.removeEventListener("unhandledrejection",j),window.removeEventListener("error",j),v.aborted)return}await this.runPhase(v,"completed",async()=>this.channel.emit(br,a)),this.phase!=="errored"&&await this.runPhase(v,"afterEach",async()=>{await d(x)});let M=!F&&_.size>0,P=x.reporting.reports.some(L=>L.status==="failed"),W=M||P;await this.runPhase(v,"finished",async()=>this.channel.emit(oo,{storyId:a,status:W?"error":"success",reporters:x.reporting.reports}))}catch(x){this.phase="errored",this.callbacks.showException(x),await this.runPhase(v,"finished",async()=>this.channel.emit(oo,{storyId:a,status:"error",reporters:[]}))}this.rerenderEnqueued&&(this.rerenderEnqueued=!1,this.render())}async rerender(){if(this.isPending()&&this.phase!=="playing")this.rerenderEnqueued=!0;else return this.render()}async remount(){return await this.teardown(),this.render({forceRemount:!0})}cancelRender(){this.abortController?.abort()}async teardown(){this.torndown=!0,this.cancelRender(),this.story&&await this.store.cleanupStory(this.story);for(let t=0;t<3;t+=1){if(!this.isPending()){await this.teardownRender();return}await new Promise(r=>setTimeout(r,0))}window.location.reload(),await new Promise(()=>{})}};b(jl,"StoryRender");var Po=jl,{fetch:Am}=De,Dm="./index.json",Ll=class{constructor(t,r,n=Rt.getChannel(),o=!0){this.importFn=t,this.getProjectAnnotations=r,this.channel=n,this.storyRenders=[],this.storeInitializationPromise=new Promise((a,i)=>{this.resolveStoreInitializationPromise=a,this.rejectStoreInitializationPromise=i}),o&&this.initialize()}get storyStore(){return new Proxy({},{get:b((t,r)=>{if(this.storyStoreValue)return nt("Accessing the Story Store is deprecated and will be removed in 9.0"),this.storyStoreValue[r];throw new Fs},"get")})}async initialize(){this.setupListeners();try{let t=await this.getProjectAnnotationsOrRenderError();await this.runBeforeAllHook(t),await this.initializeWithProjectAnnotations(t)}catch(t){this.rejectStoreInitializationPromise(t)}}ready(){return this.storeInitializationPromise}setupListeners(){this.channel.on(Ri,this.onStoryIndexChanged.bind(this)),this.channel.on(Hr,this.onUpdateGlobals.bind(this)),this.channel.on(Gr,this.onUpdateArgs.bind(this)),this.channel.on(bi,this.onRequestArgTypesInfo.bind(this)),this.channel.on(Jr,this.onResetArgs.bind(this)),this.channel.on(Vr,this.onForceReRender.bind(this)),this.channel.on(Ai,this.onForceRemount.bind(this))}async getProjectAnnotationsOrRenderError(){try{let t=await this.getProjectAnnotations();if(this.renderToCanvas=t.renderToCanvas,!this.renderToCanvas)throw new ms;return t}catch(t){throw this.renderPreviewEntryError("Error reading preview.js:",t),t}}async initializeWithProjectAnnotations(t){this.projectAnnotationsBeforeInitialization=t;try{let r=await this.getStoryIndexFromServer();return this.initializeWithStoryIndex(r)}catch(r){throw this.renderPreviewEntryError("Error loading story index:",r),r}}async runBeforeAllHook(t){try{await this.beforeAllCleanup?.(),this.beforeAllCleanup=await t.beforeAll?.()}catch(r){throw this.renderPreviewEntryError("Error in beforeAll hook:",r),r}}async getStoryIndexFromServer(){let t=await Am(Dm);if(t.status===200)return t.json();throw new bs({text:await t.text()})}initializeWithStoryIndex(t){if(!this.projectAnnotationsBeforeInitialization)throw new Error("Cannot call initializeWithStoryIndex until project annotations resolve");this.storyStoreValue=new ym(t,this.importFn,this.projectAnnotationsBeforeInitialization),delete this.projectAnnotationsBeforeInitialization,this.setInitialGlobals(),this.resolveStoreInitializationPromise()}async setInitialGlobals(){this.emitGlobals()}emitGlobals(){if(!this.storyStoreValue)throw new Me({methodName:"emitGlobals"});let t={globals:this.storyStoreValue.userGlobals.get()||{},globalTypes:this.storyStoreValue.projectAnnotations.globalTypes||{}};this.channel.emit(Ti,t)}async onGetProjectAnnotationsChanged({getProjectAnnotations:t}){delete this.previewEntryError,this.getProjectAnnotations=t;let r=await this.getProjectAnnotationsOrRenderError();if(await this.runBeforeAllHook(r),!this.storyStoreValue){await this.initializeWithProjectAnnotations(r);return}this.storyStoreValue.setProjectAnnotations(r),this.emitGlobals()}async onStoryIndexChanged(){if(delete this.previewEntryError,!(!this.storyStoreValue&&!this.projectAnnotationsBeforeInitialization))try{let t=await this.getStoryIndexFromServer();if(this.projectAnnotationsBeforeInitialization){this.initializeWithStoryIndex(t);return}await this.onStoriesChanged({storyIndex:t})}catch(t){throw this.renderPreviewEntryError("Error loading story index:",t),t}}async onStoriesChanged({importFn:t,storyIndex:r}){if(!this.storyStoreValue)throw new Me({methodName:"onStoriesChanged"});await this.storyStoreValue.onStoriesChanged({importFn:t,storyIndex:r})}async onUpdateGlobals({globals:t,currentStory:r}){if(this.storyStoreValue||await this.storeInitializationPromise,!this.storyStoreValue)throw new Me({methodName:"onUpdateGlobals"});if(this.storyStoreValue.userGlobals.update(t),r){let{initialGlobals:n,storyGlobals:o,userGlobals:a,globals:i}=this.storyStoreValue.getStoryContext(r);this.channel.emit(Wt,{initialGlobals:n,userGlobals:a,storyGlobals:o,globals:i})}else{let{initialGlobals:n,globals:o}=this.storyStoreValue.userGlobals;this.channel.emit(Wt,{initialGlobals:n,userGlobals:o,storyGlobals:{},globals:o})}await Promise.all(this.storyRenders.map(n=>n.rerender()))}async onUpdateArgs({storyId:t,updatedArgs:r}){if(!this.storyStoreValue)throw new Me({methodName:"onUpdateArgs"});this.storyStoreValue.args.update(t,r),await Promise.all(this.storyRenders.filter(n=>n.id===t&&!n.renderOptions.forceInitialArgs).map(n=>n.story&&n.story.usesMount?n.remount():n.rerender())),this.channel.emit(Fi,{storyId:t,args:this.storyStoreValue.args.get(t)})}async onRequestArgTypesInfo({id:t,payload:r}){try{await this.storeInitializationPromise;let n=await this.storyStoreValue?.loadStory(r);this.channel.emit(to,{id:t,success:!0,payload:{argTypes:n?.argTypes||{}},error:null})}catch(n){this.channel.emit(to,{id:t,success:!1,error:n?.message})}}async onResetArgs({storyId:t,argNames:r}){if(!this.storyStoreValue)throw new Me({methodName:"onResetArgs"});let n=this.storyRenders.find(a=>a.id===t)?.story||await this.storyStoreValue.loadStory({storyId:t}),o=(r||[...new Set([...Object.keys(n.initialArgs),...Object.keys(this.storyStoreValue.args.get(t))])]).reduce((a,i)=>(a[i]=n.initialArgs[i],a),{});await this.onUpdateArgs({storyId:t,updatedArgs:o})}async onForceReRender(){await Promise.all(this.storyRenders.map(t=>t.rerender()))}async onForceRemount({storyId:t}){await Promise.all(this.storyRenders.filter(r=>r.id===t).map(r=>r.remount()))}renderStoryToElement(t,r,n,o){if(!this.renderToCanvas||!this.storyStoreValue)throw new Me({methodName:"renderStoryToElement"});let a=new Po(this.channel,this.storyStoreValue,this.renderToCanvas,n,t.id,"docs",o,t);return a.renderToElement(r),this.storyRenders.push(a),async()=>{await this.teardownRender(a)}}async teardownRender(t,{viewModeChanged:r}={}){this.storyRenders=this.storyRenders.filter(n=>n!==t),await t?.teardown?.({viewModeChanged:r})}async loadStory({storyId:t}){if(!this.storyStoreValue)throw new Me({methodName:"loadStory"});return this.storyStoreValue.loadStory({storyId:t})}getStoryContext(t,{forceInitialArgs:r=!1}={}){if(!this.storyStoreValue)throw new Me({methodName:"getStoryContext"});return this.storyStoreValue.getStoryContext(t,{forceInitialArgs:r})}async extract(t){if(!this.storyStoreValue)throw new Me({methodName:"extract"});if(this.previewEntryError)throw this.previewEntryError;return await this.storyStoreValue.cacheAllCSFFiles(),this.storyStoreValue.extract(t)}renderPreviewEntryError(t,r){this.previewEntryError=r,ee.error(t),ee.error(r),this.channel.emit(Ei,r)}};b(Ll,"Preview");var Sm=Ll,wm=!1,Do="Invariant failed";function on(e,t){if(!e){if(wm)throw new Error(Do);var r=typeof t=="function"?t():t,n=r?"".concat(Do,": ").concat(r):Do;throw new Error(n)}}b(on,"invariant");var Ml=class{constructor(t,r,n,o){this.channel=t,this.store=r,this.renderStoryToElement=n,this.storyIdByName=b(a=>{let i=this.nameToStoryId.get(a);if(i)return i;throw new Error(`No story found with that name: ${a}`)},"storyIdByName"),this.componentStories=b(()=>this.componentStoriesValue,"componentStories"),this.componentStoriesFromCSFFile=b(a=>this.store.componentStoriesFromCSFFile({csfFile:a}),"componentStoriesFromCSFFile"),this.storyById=b(a=>{if(!a){if(!this.primaryStory)throw new Error("No primary story defined for docs entry. Did you forget to use ``?");return this.primaryStory}let i=this.storyIdToCSFFile.get(a);if(!i)throw new Error(`Called \`storyById\` for story that was never loaded: ${a}`);return this.store.storyFromCSFFile({storyId:a,csfFile:i})},"storyById"),this.getStoryContext=b(a=>({...this.store.getStoryContext(a),loaded:{},viewMode:"docs"}),"getStoryContext"),this.loadStory=b(a=>this.store.loadStory({storyId:a}),"loadStory"),this.componentStoriesValue=[],this.storyIdToCSFFile=new Map,this.exportToStory=new Map,this.exportsToCSFFile=new Map,this.nameToStoryId=new Map,this.attachedCSFFiles=new Set,o.forEach((a,i)=>{this.referenceCSFFile(a)})}referenceCSFFile(t){this.exportsToCSFFile.set(t.moduleExports,t),this.exportsToCSFFile.set(t.moduleExports.default,t),this.store.componentStoriesFromCSFFile({csfFile:t}).forEach(r=>{let n=t.stories[r.id];this.storyIdToCSFFile.set(n.id,t),this.exportToStory.set(n.moduleExport,r)})}attachCSFFile(t){if(!this.exportsToCSFFile.has(t.moduleExports))throw new Error("Cannot attach a CSF file that has not been referenced");this.attachedCSFFiles.has(t)||(this.attachedCSFFiles.add(t),this.store.componentStoriesFromCSFFile({csfFile:t}).forEach(r=>{this.nameToStoryId.set(r.name,r.id),this.componentStoriesValue.push(r),this.primaryStory||(this.primaryStory=r)}))}referenceMeta(t,r){let n=this.resolveModuleExport(t);if(n.type!=="meta")throw new Error(" must reference a CSF file module export or meta export. Did you mistakenly reference your component instead of your CSF file?");r&&this.attachCSFFile(n.csfFile)}get projectAnnotations(){let{projectAnnotations:t}=this.store;if(!t)throw new Error("Can't get projectAnnotations from DocsContext before they are initialized");return t}resolveAttachedModuleExportType(t){if(t==="story"){if(!this.primaryStory)throw new Error("No primary story attached to this docs file, did you forget to use ?");return{type:"story",story:this.primaryStory}}if(this.attachedCSFFiles.size===0)throw new Error("No CSF file attached to this docs file, did you forget to use ?");let r=Array.from(this.attachedCSFFiles)[0];if(t==="meta")return{type:"meta",csfFile:r};let{component:n}=r.meta;if(!n)throw new Error("Attached CSF file does not defined a component, did you forget to export one?");return{type:"component",component:n}}resolveModuleExport(t){let r=this.exportsToCSFFile.get(t);if(r)return{type:"meta",csfFile:r};let n=this.exportToStory.get(Bt(t)?t.input:t);return n?{type:"story",story:n}:{type:"component",component:t}}resolveOf(t,r=[]){let n;if(["component","meta","story"].includes(t)){let o=t;n=this.resolveAttachedModuleExportType(o)}else n=this.resolveModuleExport(t);if(r.length&&!r.includes(n.type)){let o=n.type==="component"?"component or unknown":n.type;throw new Error(me`Invalid value passed to the 'of' prop. The value was resolved to a '${o}' type but the only types for this block are: ${r.join(", ")}. - - Did you pass a component to the 'of' prop when the block only supports a story or a meta? - - ... or vice versa? - - Did you pass a story, CSF file or meta to the 'of' prop that is not indexed, ie. is not targeted by the 'stories' globs in the main configuration?`)}switch(n.type){case"component":return{...n,projectAnnotations:this.projectAnnotations};case"meta":return{...n,preparedMeta:this.store.preparedMetaFromCSFFile({csfFile:n.csfFile})};case"story":default:return n}}};b(Ml,"DocsContext");var Ul=Ml,$l=class{constructor(t,r,n,o){this.channel=t,this.store=r,this.entry=n,this.callbacks=o,this.type="docs",this.subtype="csf",this.torndown=!1,this.disableKeyListeners=!1,this.preparing=!1,this.id=n.id}isPreparing(){return this.preparing}async prepare(){this.preparing=!0;let{entryExports:t,csfFiles:r=[]}=await this.store.loadEntry(this.id);if(this.torndown)throw fn;let{importPath:n,title:o}=this.entry,a=this.store.processCSFFileWithCache(t,n,o),i=Object.keys(a.stories)[0];this.story=this.store.storyFromCSFFile({storyId:i,csfFile:a}),this.csfFiles=[a,...r],this.preparing=!1}isEqual(t){return!!(this.id===t.id&&this.story&&this.story===t.story)}docsContext(t){if(!this.csfFiles)throw new Error("Cannot render docs before preparing");let r=new Ul(this.channel,this.store,t,this.csfFiles);return this.csfFiles.forEach(n=>r.attachCSFFile(n)),r}async renderToElement(t,r){if(!this.story||!this.csfFiles)throw new Error("Cannot render docs before preparing");let n=this.docsContext(r),{docs:o}=this.story.parameters||{};if(!o)throw new Error("Cannot render a story in viewMode=docs if `@storybook/addon-docs` is not installed");let a=await o.renderer(),{render:i}=a,s=b(async()=>{try{await i(n,o,t),this.channel.emit(qr,this.id)}catch(l){this.callbacks.showException(l)}},"renderDocs");return this.rerender=async()=>s(),this.teardownRender=async({viewModeChanged:l})=>{!l||!t||a.unmount(t)},s()}async teardown({viewModeChanged:t}={}){this.teardownRender?.({viewModeChanged:t}),this.torndown=!0}};b($l,"CsfDocsRender");var Vs=$l,ql=class{constructor(t,r,n,o){this.channel=t,this.store=r,this.entry=n,this.callbacks=o,this.type="docs",this.subtype="mdx",this.torndown=!1,this.disableKeyListeners=!1,this.preparing=!1,this.id=n.id}isPreparing(){return this.preparing}async prepare(){this.preparing=!0;let{entryExports:t,csfFiles:r=[]}=await this.store.loadEntry(this.id);if(this.torndown)throw fn;this.csfFiles=r,this.exports=t,this.preparing=!1}isEqual(t){return!!(this.id===t.id&&this.exports&&this.exports===t.exports)}docsContext(t){if(!this.csfFiles)throw new Error("Cannot render docs before preparing");return new Ul(this.channel,this.store,t,this.csfFiles)}async renderToElement(t,r){if(!this.exports||!this.csfFiles||!this.store.projectAnnotations)throw new Error("Cannot render docs before preparing");let n=this.docsContext(r),{docs:o}=this.store.projectAnnotations.parameters||{};if(!o)throw new Error("Cannot render a story in viewMode=docs if `@storybook/addon-docs` is not installed");let a={...o,page:this.exports.default},i=await o.renderer(),{render:s}=i,l=b(async()=>{try{await s(n,a,t),this.channel.emit(qr,this.id)}catch(c){this.callbacks.showException(c)}},"renderDocs");return this.rerender=async()=>l(),this.teardownRender=async({viewModeChanged:c}={})=>{!c||!t||(i.unmount(t),this.torndown=!0)},l()}async teardown({viewModeChanged:t}={}){this.teardownRender?.({viewModeChanged:t}),this.torndown=!0}};b(ql,"MdxDocsRender");var Js=ql,Cm=globalThis;function Vl(e){let t=e.composedPath&&e.composedPath()[0]||e.target;return/input|textarea/i.test(t.tagName)||t.getAttribute("contenteditable")!==null}b(Vl,"focusInInput");var Jl="attached-mdx",xm="unattached-mdx";function zl({tags:e}){return e?.includes(xm)||e?.includes(Jl)}b(zl,"isMdxEntry");function an(e){return e.type==="story"}b(an,"isStoryRender");function Hl(e){return e.type==="docs"}b(Hl,"isDocsRender");function Gl(e){return Hl(e)&&e.subtype==="csf"}b(Gl,"isCsfDocsRender");var Wl=class extends Sm{constructor(t,r,n,o){super(t,r,void 0,!1),this.importFn=t,this.getProjectAnnotations=r,this.selectionStore=n,this.view=o,this.initialize()}setupListeners(){super.setupListeners(),Cm.onkeydown=this.onKeydown.bind(this),this.channel.on(xi,this.onSetCurrentStory.bind(this)),this.channel.on(ji,this.onUpdateQueryParams.bind(this)),this.channel.on(wi,this.onPreloadStories.bind(this))}async setInitialGlobals(){if(!this.storyStoreValue)throw new Me({methodName:"setInitialGlobals"});let{globals:t}=this.selectionStore.selectionSpecifier||{};t&&this.storyStoreValue.userGlobals.updateFromPersisted(t),this.emitGlobals()}async initializeWithStoryIndex(t){return await super.initializeWithStoryIndex(t),this.selectSpecifiedStory()}async selectSpecifiedStory(){if(!this.storyStoreValue)throw new Me({methodName:"selectSpecifiedStory"});if(this.selectionStore.selection){await this.renderSelection();return}if(!this.selectionStore.selectionSpecifier){this.renderMissingStory();return}let{storySpecifier:t,args:r}=this.selectionStore.selectionSpecifier,n=this.storyStoreValue.storyIndex.entryFromSpecifier(t);if(!n){t==="*"?this.renderStoryLoadingException(t,new Ds):this.renderStoryLoadingException(t,new ws({storySpecifier:t.toString()}));return}let{id:o,type:a}=n;this.selectionStore.setSelection({storyId:o,viewMode:a}),this.channel.emit(_i,this.selectionStore.selection),this.channel.emit(ro,this.selectionStore.selection),await this.renderSelection({persistedArgs:r})}async onGetProjectAnnotationsChanged({getProjectAnnotations:t}){await super.onGetProjectAnnotationsChanged({getProjectAnnotations:t}),this.selectionStore.selection&&this.renderSelection()}async onStoriesChanged({importFn:t,storyIndex:r}){await super.onStoriesChanged({importFn:t,storyIndex:r}),this.selectionStore.selection?await this.renderSelection():await this.selectSpecifiedStory()}onKeydown(t){if(!this.storyRenders.find(r=>r.disableKeyListeners)&&!Vl(t)){let{altKey:r,ctrlKey:n,metaKey:o,shiftKey:a,key:i,code:s,keyCode:l}=t;this.channel.emit(Ci,{event:{altKey:r,ctrlKey:n,metaKey:o,shiftKey:a,key:i,code:s,keyCode:l}})}}async onSetCurrentStory(t){this.selectionStore.setSelection({viewMode:"story",...t}),await this.storeInitializationPromise,this.channel.emit(ro,this.selectionStore.selection),this.renderSelection()}onUpdateQueryParams(t){this.selectionStore.setQueryParams(t)}async onUpdateGlobals({globals:t}){let r=this.currentRender instanceof Po&&this.currentRender.story||void 0;super.onUpdateGlobals({globals:t,currentStory:r}),(this.currentRender instanceof Js||this.currentRender instanceof Vs)&&await this.currentRender.rerender?.()}async onUpdateArgs({storyId:t,updatedArgs:r}){super.onUpdateArgs({storyId:t,updatedArgs:r})}async onPreloadStories({ids:t}){await this.storeInitializationPromise,this.storyStoreValue&&await Promise.allSettled(t.map(r=>this.storyStoreValue?.loadEntry(r)))}async renderSelection({persistedArgs:t}={}){let{renderToCanvas:r}=this;if(!this.storyStoreValue||!r)throw new Me({methodName:"renderSelection"});let{selection:n}=this.selectionStore;if(!n)throw new Error("Cannot call renderSelection as no selection was made");let{storyId:o}=n,a;try{a=await this.storyStoreValue.storyIdToEntry(o)}catch(d){this.currentRender&&await this.teardownRender(this.currentRender),this.renderStoryLoadingException(o,d);return}let i=this.currentSelection?.storyId!==o,s=this.currentRender?.type!==a.type;a.type==="story"?this.view.showPreparingStory({immediate:s}):this.view.showPreparingDocs({immediate:s}),this.currentRender?.isPreparing()&&await this.teardownRender(this.currentRender);let l;a.type==="story"?l=new Po(this.channel,this.storyStoreValue,r,this.mainStoryCallbacks(o),o,"story"):zl(a)?l=new Js(this.channel,this.storyStoreValue,a,this.mainStoryCallbacks(o)):l=new Vs(this.channel,this.storyStoreValue,a,this.mainStoryCallbacks(o));let c=this.currentSelection;this.currentSelection=n;let p=this.currentRender;this.currentRender=l;try{await l.prepare()}catch(d){p&&await this.teardownRender(p),d!==fn&&this.renderStoryLoadingException(o,d);return}let h=!i&&p&&!l.isEqual(p);if(t&&an(l)&&(on(!!l.story),this.storyStoreValue.args.updateFromPersisted(l.story,t)),p&&!p.torndown&&!i&&!h&&!s){this.currentRender=p,this.channel.emit(Pi,o),this.view.showMain();return}if(p&&await this.teardownRender(p,{viewModeChanged:s}),c&&(i||s)&&this.channel.emit(Ii,o),an(l)){on(!!l.story);let{parameters:d,initialArgs:y,argTypes:g,unmappedArgs:A,initialGlobals:v,userGlobals:S,storyGlobals:w,globals:x}=this.storyStoreValue.getStoryContext(l.story);this.channel.emit(Oi,{id:o,parameters:d,initialArgs:y,argTypes:g,args:A}),this.channel.emit(Wt,{userGlobals:S,storyGlobals:w,globals:x,initialGlobals:v})}else{let{parameters:d}=this.storyStoreValue.projectAnnotations,{initialGlobals:y,globals:g}=this.storyStoreValue.userGlobals;if(this.channel.emit(Wt,{globals:g,initialGlobals:y,storyGlobals:{},userGlobals:g}),Gl(l)||l.entry.tags?.includes(Jl)){if(!l.csfFiles)throw new vs({storyId:o});({parameters:d}=this.storyStoreValue.preparedMetaFromCSFFile({csfFile:l.csfFiles[0]}))}this.channel.emit(vi,{id:o,parameters:d})}an(l)?(on(!!l.story),this.storyRenders.push(l),this.currentRender.renderToElement(this.view.prepareForStory(l.story))):this.currentRender.renderToElement(this.view.prepareForDocs(),this.renderStoryToElement.bind(this))}async teardownRender(t,{viewModeChanged:r=!1}={}){this.storyRenders=this.storyRenders.filter(n=>n!==t),await t?.teardown?.({viewModeChanged:r})}mainStoryCallbacks(t){return{showStoryDuringRender:b(()=>this.view.showStoryDuringRender(),"showStoryDuringRender"),showMain:b(()=>this.view.showMain(),"showMain"),showError:b(r=>this.renderError(t,r),"showError"),showException:b(r=>this.renderException(t,r),"showException")}}renderPreviewEntryError(t,r){super.renderPreviewEntryError(t,r),this.view.showErrorDisplay(r)}renderMissingStory(){this.view.showNoPreview(),this.channel.emit(ao)}renderStoryLoadingException(t,r){ee.error(r),this.view.showErrorDisplay(r),this.channel.emit(ao,t)}renderException(t,r){let{name:n="Error",message:o=String(r),stack:a}=r;this.channel.emit(Bi,{name:n,message:o,stack:a}),this.channel.emit(Kt,{newPhase:"errored",storyId:t}),this.view.showErrorDisplay(r),ee.error(`Error rendering story '${t}':`),ee.error(r)}renderError(t,{title:r,description:n}){ee.error(`Error rendering story ${r}: ${n}`),this.channel.emit(ki,{title:r,description:n}),this.channel.emit(Kt,{newPhase:"errored",storyId:t}),this.view.showErrorDisplay({message:r,stack:n})}};b(Wl,"PreviewWithSelection");var Tm=Wl,No=tr($o(),1),Fm=tr($o(),1),zs=/^[a-zA-Z0-9 _-]*$/,Kl=/^-?[0-9]+(\.[0-9]+)?$/,Im=/^#([a-f0-9]{3,4}|[a-f0-9]{6}|[a-f0-9]{8})$/i,Yl=/^(rgba?|hsla?)\(([0-9]{1,3}),\s?([0-9]{1,3})%?,\s?([0-9]{1,3})%?,?\s?([0-9](\.[0-9]{1,2})?)?\)$/i,jo=b((e="",t)=>e===null||e===""||!zs.test(e)?!1:t==null||t instanceof Date||typeof t=="number"||typeof t=="boolean"?!0:typeof t=="string"?zs.test(t)||Kl.test(t)||Im.test(t)||Yl.test(t):Array.isArray(t)?t.every(r=>jo(e,r)):We(t)?Object.entries(t).every(([r,n])=>jo(r,n)):!1,"validateArgs"),km={delimiter:";",nesting:!0,arrayRepeat:!0,arrayRepeatSyntax:"bracket",nestingSyntax:"js",valueDeserializer(e){if(e.startsWith("!")){if(e==="!undefined")return;if(e==="!null")return null;if(e==="!true")return!0;if(e==="!false")return!1;if(e.startsWith("!date(")&&e.endsWith(")"))return new Date(e.replaceAll(" ","+").slice(6,-1));if(e.startsWith("!hex(")&&e.endsWith(")"))return`#${e.slice(5,-1)}`;let t=e.slice(1).match(Yl);if(t)return e.startsWith("!rgba")||e.startsWith("!RGBA")?`${t[1]}(${t[2]}, ${t[3]}, ${t[4]}, ${t[5]})`:e.startsWith("!hsla")||e.startsWith("!HSLA")?`${t[1]}(${t[2]}, ${t[3]}%, ${t[4]}%, ${t[5]})`:e.startsWith("!rgb")||e.startsWith("!RGB")?`${t[1]}(${t[2]}, ${t[3]}, ${t[4]})`:`${t[1]}(${t[2]}, ${t[3]}%, ${t[4]}%)`}return Kl.test(e)?Number(e):e}},Hs=b(e=>{let t=e.split(";").map(r=>r.replace("=","~").replace(":","="));return Object.entries((0,Fm.parse)(t.join(";"),km)).reduce((r,[n,o])=>jo(n,o)?Object.assign(r,{[n]:o}):(mt.warn(me` - Omitted potentially unsafe URL args. - - More info: https://storybook.js.org/docs/writing-stories/args#setting-args-through-the-url - `),r),{})},"parseArgsParam"),{history:Xl,document:bt}=De;function Ql(e){let t=(e||"").match(/^\/story\/(.+)/);if(!t)throw new Error(`Invalid path '${e}', must start with '/story/'`);return t[1]}b(Ql,"pathToId");var Zl=b(({selection:e,extraParams:t})=>{let r=bt?.location.search.slice(1),{path:n,selectedKind:o,selectedStory:a,...i}=(0,No.parse)(r);return`?${(0,No.stringify)({...i,...t,...e&&{id:e.storyId,viewMode:e.viewMode}})}`},"getQueryString"),Rm=b(e=>{if(!e)return;let t=Zl({selection:e}),{hash:r=""}=bt.location;bt.title=e.storyId,Xl.replaceState({},"",`${bt.location.pathname}${t}${r}`)},"setPath"),Om=b(e=>e!=null&&typeof e=="object"&&Array.isArray(e)===!1,"isObject"),vr=b(e=>{if(e!==void 0){if(typeof e=="string")return e;if(Array.isArray(e))return vr(e[0]);if(Om(e))return vr(Object.values(e).filter(Boolean))}},"getFirstString"),_m=b(()=>{if(typeof bt<"u"){let e=bt.location.search.slice(1),t=(0,No.parse)(e),r=typeof t.args=="string"?Hs(t.args):void 0,n=typeof t.globals=="string"?Hs(t.globals):void 0,o=vr(t.viewMode);(typeof o!="string"||!o.match(/docs|story/))&&(o="story");let a=vr(t.path),i=a?Ql(a):vr(t.id);if(i)return{storySpecifier:i,args:r,globals:n,viewMode:o}}return null},"getSelectionSpecifierFromPath"),eu=class{constructor(){this.selectionSpecifier=_m()}setSelection(t){this.selection=t,Rm(this.selection)}setQueryParams(t){let r=Zl({extraParams:t}),{hash:n=""}=bt.location;Xl.replaceState({},"",`${bt.location.pathname}${r}${n}`)}};b(eu,"UrlStore");var Bm=eu,Pm=tr(af(),1),Nm=tr($o(),1),{document:Re}=De,Gs=100,tu=(e=>(e.MAIN="MAIN",e.NOPREVIEW="NOPREVIEW",e.PREPARING_STORY="PREPARING_STORY",e.PREPARING_DOCS="PREPARING_DOCS",e.ERROR="ERROR",e))(tu||{}),So={PREPARING_STORY:"sb-show-preparing-story",PREPARING_DOCS:"sb-show-preparing-docs",MAIN:"sb-show-main",NOPREVIEW:"sb-show-nopreview",ERROR:"sb-show-errordisplay"},wo={centered:"sb-main-centered",fullscreen:"sb-main-fullscreen",padded:"sb-main-padded"},Ws=new Pm.default({escapeXML:!0}),ru=class{constructor(){if(this.testing=!1,typeof Re<"u"){let{__SPECIAL_TEST_PARAMETER__:t}=(0,Nm.parse)(Re.location.search.slice(1));switch(t){case"preparing-story":{this.showPreparingStory(),this.testing=!0;break}case"preparing-docs":{this.showPreparingDocs(),this.testing=!0;break}default:}}}prepareForStory(t){return this.showStory(),this.applyLayout(t.parameters.layout),Re.documentElement.scrollTop=0,Re.documentElement.scrollLeft=0,this.storyRoot()}storyRoot(){return Re.getElementById("storybook-root")}prepareForDocs(){return this.showMain(),this.showDocs(),this.applyLayout("fullscreen"),Re.documentElement.scrollTop=0,Re.documentElement.scrollLeft=0,this.docsRoot()}docsRoot(){return Re.getElementById("storybook-docs")}applyLayout(t="padded"){if(t==="none"){Re.body.classList.remove(this.currentLayoutClass),this.currentLayoutClass=null;return}this.checkIfLayoutExists(t);let r=wo[t];Re.body.classList.remove(this.currentLayoutClass),Re.body.classList.add(r),this.currentLayoutClass=r}checkIfLayoutExists(t){wo[t]||ee.warn(me` - The desired layout: ${t} is not a valid option. - The possible options are: ${Object.keys(wo).join(", ")}, none. - `)}showMode(t){clearTimeout(this.preparingTimeout),Object.keys(tu).forEach(r=>{r===t?Re.body.classList.add(So[r]):Re.body.classList.remove(So[r])})}showErrorDisplay({message:t="",stack:r=""}){let n=t,o=r,a=t.split(` -`);a.length>1&&([n]=a,o=a.slice(1).join(` -`).replace(/^\n/,"")),Re.getElementById("error-message").innerHTML=Ws.toHtml(n),Re.getElementById("error-stack").innerHTML=Ws.toHtml(o),this.showMode("ERROR")}showNoPreview(){this.testing||(this.showMode("NOPREVIEW"),this.storyRoot()?.setAttribute("hidden","true"),this.docsRoot()?.setAttribute("hidden","true"))}showPreparingStory({immediate:t=!1}={}){clearTimeout(this.preparingTimeout),t?this.showMode("PREPARING_STORY"):this.preparingTimeout=setTimeout(()=>this.showMode("PREPARING_STORY"),Gs)}showPreparingDocs({immediate:t=!1}={}){clearTimeout(this.preparingTimeout),t?this.showMode("PREPARING_DOCS"):this.preparingTimeout=setTimeout(()=>this.showMode("PREPARING_DOCS"),Gs)}showMain(){this.showMode("MAIN")}showDocs(){this.storyRoot().setAttribute("hidden","true"),this.docsRoot().removeAttribute("hidden")}showStory(){this.docsRoot().setAttribute("hidden","true"),this.storyRoot().removeAttribute("hidden")}showStoryDuringRender(){Re.body.classList.add(So.MAIN)}};b(ru,"WebView");var jm=ru,Lm=class extends Tm{constructor(t,r){super(t,r,new Bm,new jm),this.importFn=t,this.getProjectAnnotations=r,De.__STORYBOOK_PREVIEW__=this}};b(Lm,"PreviewWeb");var{document:kt}=De,Mm=["application/javascript","application/ecmascript","application/x-ecmascript","application/x-javascript","text/ecmascript","text/javascript","text/javascript1.0","text/javascript1.1","text/javascript1.2","text/javascript1.3","text/javascript1.4","text/javascript1.5","text/jscript","text/livescript","text/x-ecmascript","text/x-javascript","module"],Um="script",Ks="scripts-root";function Lo(){let e=kt.createEvent("Event");e.initEvent("DOMContentLoaded",!0,!0),kt.dispatchEvent(e)}b(Lo,"simulateDOMContentLoaded");function nu(e,t,r){let n=kt.createElement("script");n.type=e.type==="module"?"module":"text/javascript",e.src?(n.onload=t,n.onerror=t,n.src=e.src):n.textContent=e.innerText,r?r.appendChild(n):kt.head.appendChild(n),e.parentNode.removeChild(e),e.src||t()}b(nu,"insertScript");function Xo(e,t,r=0){e[r](()=>{r++,r===e.length?t():Xo(e,t,r)})}b(Xo,"insertScriptsSequentially");function $m(e){let t=kt.getElementById(Ks);t?t.innerHTML="":(t=kt.createElement("div"),t.id=Ks,kt.body.appendChild(t));let r=Array.from(e.querySelectorAll(Um));if(r.length){let n=[];r.forEach(o=>{let a=o.getAttribute("type");(!a||Mm.includes(a))&&n.push(i=>nu(o,i,t))}),n.length&&Xo(n,Lo,void 0)}else Lo()}b($m,"simulatePageLoad");var qm=Object.create,ea=Object.defineProperty,Vm=Object.getOwnPropertyDescriptor,Jm=Object.getOwnPropertyNames,zm=Object.getPrototypeOf,Hm=Object.prototype.hasOwnProperty,ye=(e,t)=>ea(e,"name",{value:t,configurable:!0}),Gm=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),Wm=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of Jm(t))!Hm.call(e,o)&&o!==r&&ea(e,o,{get:()=>t[o],enumerable:!(n=Vm(t,o))||n.enumerable});return e},Km=(e,t,r)=>(r=e!=null?qm(zm(e)):{},Wm(t||!e||!e.__esModule?ea(r,"default",{value:e,enumerable:!0}):r,e)),Ym=Gm(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.isEqual=function(){var t=Object.prototype.toString,r=Object.getPrototypeOf,n=Object.getOwnPropertySymbols?function(o){return Object.keys(o).concat(Object.getOwnPropertySymbols(o))}:Object.keys;return function(o,a){return ye(function i(s,l,c){var p,h,d,y=t.call(s),g=t.call(l);if(s===l)return!0;if(s==null||l==null)return!1;if(c.indexOf(s)>-1&&c.indexOf(l)>-1)return!0;if(c.push(s,l),y!=g||(p=n(s),h=n(l),p.length!=h.length||p.some(function(A){return!i(s[A],l[A],c)})))return!1;switch(y.slice(8,-1)){case"Symbol":return s.valueOf()==l.valueOf();case"Date":case"Number":return+s==+l||+s!=+s&&+l!=+l;case"RegExp":case"Function":case"String":case"Boolean":return""+s==""+l;case"Set":case"Map":p=s.entries(),h=l.entries();do if(!i((d=p.next()).value,h.next().value,c))return!1;while(!d.done);return!0;case"ArrayBuffer":s=new Uint8Array(s),l=new Uint8Array(l);case"DataView":s=new Uint8Array(s.buffer),l=new Uint8Array(l.buffer);case"Float32Array":case"Float64Array":case"Int8Array":case"Int16Array":case"Int32Array":case"Uint8Array":case"Uint16Array":case"Uint32Array":case"Uint8ClampedArray":case"Arguments":case"Array":if(s.length!=l.length)return!1;for(d=0;d`${r} ${n}${o}`).replace(/([a-z])([A-Z])/g,(t,r,n)=>`${r} ${n}`).replace(/([a-z])([0-9])/gi,(t,r,n)=>`${r} ${n}`).replace(/([0-9])([a-z])/gi,(t,r,n)=>`${r} ${n}`).replace(/(\s|^)(\w)/g,(t,r,n)=>`${r}${n.toUpperCase()}`).replace(/ +/g," ").trim()}ye(uu,"toStartCaseStr");var su=Km(Ym(),1),cu=ye(e=>e.map(t=>typeof t<"u").filter(Boolean).length,"count"),Xm=ye((e,t)=>{let{exists:r,eq:n,neq:o,truthy:a}=e;if(cu([r,n,o,a])>1)throw new Error(`Invalid conditional test ${JSON.stringify({exists:r,eq:n,neq:o})}`);if(typeof n<"u")return(0,su.isEqual)(t,n);if(typeof o<"u")return!(0,su.isEqual)(t,o);if(typeof r<"u"){let i=typeof t<"u";return r?i:!i}return typeof a>"u"||a?!!t:!t},"testValue"),mn=ye((e,t,r)=>{if(!e.if)return!0;let{arg:n,global:o}=e.if;if(cu([n,o])!==1)throw new Error(`Invalid conditional value ${JSON.stringify({arg:n,global:o})}`);let a=n?t[n]:r[o];return Xm(e.if,a)},"includeConditionalArg");function Qm(e){let t,r={_tag:"Preview",input:e,get composed(){if(t)return t;let{addons:n,...o}=e;return t=Qt(_t([...n??[],o])),t},meta(n){return du(n,this)}};return globalThis.globalProjectAnnotations=r.composed,r}ye(Qm,"__definePreview");function Zm(e){return e!=null&&typeof e=="object"&&"_tag"in e&&e?._tag==="Preview"}ye(Zm,"isPreview");function ey(e){return e!=null&&typeof e=="object"&&"_tag"in e&&e?._tag==="Meta"}ye(ey,"isMeta");function du(e,t){return{_tag:"Meta",input:e,preview:t,get composed(){throw new Error("Not implemented")},story(r){return pu(r,this)}}}ye(du,"defineMeta");function pu(e,t){return{_tag:"Story",input:e,meta:t,get composed(){throw new Error("Not implemented")}}}ye(pu,"defineStory");function Bt(e){return e!=null&&typeof e=="object"&&"_tag"in e&&e?._tag==="Story"}ye(Bt,"isStory");var Qo=ye(e=>e.toLowerCase().replace(/[ ’–—―′¿'`~!@#$%^&*()_|+\-=?;:'",.<>\{\}\[\]\\\/]/gi,"-").replace(/-+/g,"-").replace(/^-+/,"").replace(/-+$/,""),"sanitize"),lu=ye((e,t)=>{let r=Qo(e);if(r==="")throw new Error(`Invalid ${t} '${e}', must include alphanumeric characters`);return r},"sanitizeSafe"),ou=ye((e,t)=>`${lu(e,"kind")}${t?`--${lu(t,"name")}`:""}`,"toId"),au=ye(e=>uu(e),"storyNameFromExport");function Zo(e,t){return Array.isArray(t)?t.includes(e):e.match(t)}ye(Zo,"matches");function er(e,{includeStories:t,excludeStories:r}){return e!=="__esModule"&&(!t||Zo(e,t))&&(!r||!Zo(e,r))}ye(er,"isExportStory");var N5=ye((e,{rootSeparator:t,groupSeparator:r})=>{let[n,o]=e.split(t,2),a=(o||e).split(r).filter(i=>!!i);return{root:o?n:null,groups:a}},"parseKind"),iu=ye((...e)=>{let t=e.reduce((r,n)=>(n.startsWith("!")?r.delete(n.slice(1)):r.add(n),r),new Set);return Array.from(t)},"combineTags");q();V();J();q();V();J();q();V();J();var rr=_p(fu(),1);var ty=Object.defineProperty,B=(e,t)=>ty(e,"name",{value:t,configurable:!0}),ry=B(e=>e.name==="literal","isLiteral"),ny=B(e=>e.value.replace(/['|"]/g,""),"toEnumOption"),oy=B(e=>{switch(e.type){case"function":return{name:"function"};case"object":let t={};return e.signature.properties.forEach(r=>{t[r.key]=wr(r.value)}),{name:"object",value:t};default:throw new en({type:e,language:"Flow"})}},"convertSig"),wr=B(e=>{let{name:t,raw:r}=e,n={};switch(typeof r<"u"&&(n.raw=r),e.name){case"literal":return{...n,name:"other",value:e.value};case"string":case"number":case"symbol":case"boolean":return{...n,name:t};case"Array":return{...n,name:"array",value:e.elements.map(wr)};case"signature":return{...n,...oy(e)};case"union":return e.elements?.every(ry)?{...n,name:"enum",value:e.elements?.map(ny)}:{...n,name:t,value:e.elements?.map(wr)};case"intersection":return{...n,name:t,value:e.elements?.map(wr)};default:return{...n,name:"other",value:t}}},"convert");function mu(e,t){let r={},n=Object.keys(e);for(let o=0;oe.replace(yu,""),"trimQuotes"),iy=B(e=>yu.test(e),"includesQuotes"),gu=B(e=>{let t=ay(e);return iy(e)||Number.isNaN(Number(t))?t:Number(t)},"parseLiteral"),sy=/^\(.*\) => /,Sr=B(e=>{let{name:t,raw:r,computed:n,value:o}=e,a={};switch(typeof r<"u"&&(a.raw=r),t){case"enum":{let s=n?o:o.map(l=>gu(l.value));return{...a,name:t,value:s}}case"string":case"number":case"symbol":return{...a,name:t};case"func":return{...a,name:"function"};case"bool":case"boolean":return{...a,name:"boolean"};case"arrayOf":case"array":return{...a,name:"array",value:o&&Sr(o)};case"object":return{...a,name:t};case"objectOf":return{...a,name:t,value:Sr(o)};case"shape":case"exact":let i=mu(o,s=>Sr(s));return{...a,name:"object",value:i};case"union":return{...a,name:"union",value:o.map(s=>Sr(s))};case"instanceOf":case"element":case"elementType":default:{if(t?.indexOf("|")>0)try{let c=t.split("|").map(p=>JSON.parse(p));return{...a,name:"enum",value:c}}catch{}let s=o?`${t}(${o})`:t,l=sy.test(t)?"function":"other";return{...a,name:l,value:s}}}},"convert"),ly=B(e=>{switch(e.type){case"function":return{name:"function"};case"object":let t={};return e.signature.properties.forEach(r=>{t[r.key]=Cr(r.value)}),{name:"object",value:t};default:throw new en({type:e,language:"Typescript"})}},"convertSig"),Cr=B(e=>{let{name:t,raw:r}=e,n={};switch(typeof r<"u"&&(n.raw=r),e.name){case"string":case"number":case"symbol":case"boolean":return{...n,name:t};case"Array":return{...n,name:"array",value:e.elements.map(Cr)};case"signature":return{...n,...ly(e)};case"union":let o;return e.elements?.every(a=>a.name==="literal")?o={...n,name:"enum",value:e.elements?.map(a=>gu(a.value))}:o={...n,name:t,value:e.elements?.map(Cr)},o;case"intersection":return{...n,name:t,value:e.elements?.map(Cr)};default:return{...n,name:"other",value:t}}},"convert"),ta=B(e=>{let{type:t,tsType:r,flowType:n}=e;try{if(t!=null)return Sr(t);if(r!=null)return Cr(r);if(n!=null)return wr(n)}catch(o){console.error(o)}return null},"convert"),uy=(e=>(e.JAVASCRIPT="JavaScript",e.FLOW="Flow",e.TYPESCRIPT="TypeScript",e.UNKNOWN="Unknown",e))(uy||{}),cy=["null","undefined"];function gn(e){return cy.some(t=>t===e)}B(gn,"isDefaultValueBlacklisted");var dy=B(e=>{if(!e)return"";if(typeof e=="string")return e;throw new Error(`Description: expected string, got: ${JSON.stringify(e)}`)},"str");function ra(e){return!!e.__docgenInfo}B(ra,"hasDocgen");function bu(e){return e!=null&&Object.keys(e).length>0}B(bu,"isValidDocgenSection");function Eu(e,t){return ra(e)?e.__docgenInfo[t]:null}B(Eu,"getDocgenSection");function vu(e){return ra(e)?dy(e.__docgenInfo.description):""}B(vu,"getDocgenDescription");var Et;(function(e){e.start="/**",e.nostart="/***",e.delim="*",e.end="*/"})(Et=Et||(Et={}));function Au(e){return/^\s+$/.test(e)}B(Au,"isSpace");function Du(e){let t=e.match(/\r+$/);return t==null?["",e]:[e.slice(-t[0].length),e.slice(0,-t[0].length)]}B(Du,"splitCR");function Pt(e){let t=e.match(/^\s+/);return t==null?["",e]:[e.slice(0,t[0].length),e.slice(t[0].length)]}B(Pt,"splitSpace");function Su(e){return e.split(/\n/)}B(Su,"splitLines");function wu(e={}){return Object.assign({tag:"",name:"",type:"",optional:!1,description:"",problems:[],source:[]},e)}B(wu,"seedSpec");function Cu(e={}){return Object.assign({start:"",delimiter:"",postDelimiter:"",tag:"",postTag:"",name:"",postName:"",type:"",postType:"",description:"",end:"",lineEnd:""},e)}B(Cu,"seedTokens");var py=/^@\S+/;function xu({fence:e="```"}={}){let t=Tu(e),r=B((n,o)=>t(n)?!o:o,"toggleFence");return B(function(n){let o=[[]],a=!1;for(let i of n)py.test(i.tokens.description)&&!a?o.push([i]):o[o.length-1].push(i),a=r(i.tokens.description,a);return o},"parseBlock")}B(xu,"getParser");function Tu(e){return typeof e=="string"?t=>t.split(e).length%2===0:e}B(Tu,"getFencer");function Fu({startLine:e=0,markers:t=Et}={}){let r=null,n=e;return B(function(o){let a=o,i=Cu();if([i.lineEnd,a]=Du(a),[i.start,a]=Pt(a),r===null&&a.startsWith(t.start)&&!a.startsWith(t.nostart)&&(r=[],i.delimiter=a.slice(0,t.start.length),a=a.slice(t.start.length),[i.postDelimiter,a]=Pt(a)),r===null)return n++,null;let s=a.trimRight().endsWith(t.end);if(i.delimiter===""&&a.startsWith(t.delim)&&!a.startsWith(t.end)&&(i.delimiter=t.delim,a=a.slice(t.delim.length),[i.postDelimiter,a]=Pt(a)),s){let l=a.trimRight();i.end=a.slice(l.length-t.end.length),a=l.slice(0,-t.end.length)}if(i.description=a,r.push({number:n,source:o,tokens:i}),n++,s){let l=r.slice();return r=null,l}return null},"parseSource")}B(Fu,"getParser");function Iu({tokenizers:e}){return B(function(t){var r;let n=wu({source:t});for(let o of e)if(n=o(n),!((r=n.problems[n.problems.length-1])===null||r===void 0)&&r.critical)break;return n},"parseSpec")}B(Iu,"getParser");function ku(){return e=>{let{tokens:t}=e.source[0],r=t.description.match(/\s*(@(\S+))(\s*)/);return r===null?(e.problems.push({code:"spec:tag:prefix",message:'tag should start with "@" symbol',line:e.source[0].number,critical:!0}),e):(t.tag=r[1],t.postTag=r[3],t.description=t.description.slice(r[0].length),e.tag=r[2],e)}}B(ku,"tagTokenizer");function Ru(e="compact"){let t=Ou(e);return r=>{let n=0,o=[];for(let[s,{tokens:l}]of r.source.entries()){let c="";if(s===0&&l.description[0]!=="{")return r;for(let p of l.description)if(p==="{"&&n++,p==="}"&&n--,c+=p,n===0)break;if(o.push([l,c]),n===0)break}if(n!==0)return r.problems.push({code:"spec:type:unpaired-curlies",message:"unpaired curlies",line:r.source[0].number,critical:!0}),r;let a=[],i=o[0][0].postDelimiter.length;for(let[s,[l,c]]of o.entries())l.type=c,s>0&&(l.type=l.postDelimiter.slice(i)+c,l.postDelimiter=l.postDelimiter.slice(0,i)),[l.postType,l.description]=Pt(l.description.slice(c.length)),a.push(l.type);return a[0]=a[0].slice(1),a[a.length-1]=a[a.length-1].slice(0,-1),r.type=t(a),r}}B(Ru,"typeTokenizer");var hy=B(e=>e.trim(),"trim");function Ou(e){return e==="compact"?t=>t.map(hy).join(""):e==="preserve"?t=>t.join(` -`):e}B(Ou,"getJoiner");var fy=B(e=>e&&e.startsWith('"')&&e.endsWith('"'),"isQuoted");function _u(){let e=B((t,{tokens:r},n)=>r.type===""?t:n,"typeEnd");return t=>{let{tokens:r}=t.source[t.source.reduce(e,0)],n=r.description.trimLeft(),o=n.split('"');if(o.length>1&&o[0]===""&&o.length%2===1)return t.name=o[1],r.name=`"${o[1]}"`,[r.postName,r.description]=Pt(n.slice(r.name.length)),t;let a=0,i="",s=!1,l;for(let p of n){if(a===0&&Au(p))break;p==="["&&a++,p==="]"&&a--,i+=p}if(a!==0)return t.problems.push({code:"spec:name:unpaired-brackets",message:"unpaired brackets",line:t.source[0].number,critical:!0}),t;let c=i;if(i[0]==="["&&i[i.length-1]==="]"){s=!0,i=i.slice(1,-1);let p=i.split("=");if(i=p[0].trim(),p[1]!==void 0&&(l=p.slice(1).join("=").trim()),i==="")return t.problems.push({code:"spec:name:empty-name",message:"empty name",line:t.source[0].number,critical:!0}),t;if(l==="")return t.problems.push({code:"spec:name:empty-default",message:"empty default value",line:t.source[0].number,critical:!0}),t;if(!fy(l)&&/=(?!>)/.test(l))return t.problems.push({code:"spec:name:invalid-default",message:"invalid default value syntax",line:t.source[0].number,critical:!0}),t}return t.optional=s,t.name=i,r.name=c,l!==void 0&&(t.default=l),[r.postName,r.description]=Pt(n.slice(r.name.length)),t}}B(_u,"nameTokenizer");function Bu(e="compact",t=Et){let r=na(e);return n=>(n.description=r(n.source,t),n)}B(Bu,"descriptionTokenizer");function na(e){return e==="compact"?Pu:e==="preserve"?Nu:e}B(na,"getJoiner");function Pu(e,t=Et){return e.map(({tokens:{description:r}})=>r.trim()).filter(r=>r!=="").join(" ")}B(Pu,"compactJoiner");var my=B((e,{tokens:t},r)=>t.type===""?e:r,"lineNo"),yy=B(({tokens:e})=>(e.delimiter===""?e.start:e.postDelimiter.slice(1))+e.description,"getDescription");function Nu(e,t=Et){if(e.length===0)return"";e[0].tokens.description===""&&e[0].tokens.delimiter===t.start&&(e=e.slice(1));let r=e[e.length-1];return r!==void 0&&r.tokens.description===""&&r.tokens.end.endsWith(t.end)&&(e=e.slice(0,-1)),e=e.slice(e.reduce(my,0)),e.map(yy).join(` -`)}B(Nu,"preserveJoiner");function ju({startLine:e=0,fence:t="```",spacing:r="compact",markers:n=Et,tokenizers:o=[ku(),Ru(r),_u(),Bu(r)]}={}){if(e<0||e%1>0)throw new Error("Invalid startLine");let a=Fu({startLine:e,markers:n}),i=xu({fence:t}),s=Iu({tokenizers:o}),l=na(r);return function(c){let p=[];for(let h of Su(c)){let d=a(h);if(d===null)continue;let y=i(d),g=y.slice(1).map(s);p.push({description:l(y[0],n),tags:g,source:d,problems:g.reduce((A,v)=>A.concat(v.problems),[])})}return p}}B(ju,"getParser");function Lu(e){return e.start+e.delimiter+e.postDelimiter+e.tag+e.postTag+e.type+e.postType+e.name+e.postName+e.description+e.end+e.lineEnd}B(Lu,"join");function Mu(){return e=>e.source.map(({tokens:t})=>Lu(t)).join(` -`)}B(Mu,"getStringifier");var gy={line:0,start:0,delimiter:0,postDelimiter:0,tag:0,postTag:0,name:0,postName:0,type:0,postType:0,description:0,end:0,lineEnd:0},rI=Object.keys(gy);function Uu(e,t={}){return ju(t)(e)}B(Uu,"parse");var nI=Mu();function $u(e){return e!=null&&e.includes("@")}B($u,"containsJsDoc");function qu(e){let t=`/** -`+(e??"").split(` -`).map(n=>` * ${n}`).join(` -`)+` -*/`,r=Uu(t,{spacing:"preserve"});if(!r||r.length===0)throw new Error("Cannot parse JSDoc tags.");return r[0]}B(qu,"parse");var by={tags:["param","arg","argument","returns","ignore","deprecated"]},Ey=B((e,t=by)=>{if(!$u(e))return{includesJsDoc:!1,ignore:!1};let r=qu(e),n=Vu(r,t.tags);return n.ignore?{includesJsDoc:!0,ignore:!0}:{includesJsDoc:!0,ignore:!1,description:r.description.trim(),extractedTags:n}},"parseJsDoc");function Vu(e,t){let r={params:null,deprecated:null,returns:null,ignore:!1};for(let n of e.tags)if(!(t!==void 0&&!t.includes(n.tag)))if(n.tag==="ignore"){r.ignore=!0;break}else switch(n.tag){case"param":case"arg":case"argument":{let o=zu(n);o!=null&&(r.params==null&&(r.params=[]),r.params.push(o));break}case"deprecated":{let o=Hu(n);o!=null&&(r.deprecated=o);break}case"returns":{let o=Gu(n);o!=null&&(r.returns=o);break}default:break}return r}B(Vu,"extractJsDocTags");function Ju(e){return e.replace(/[\.-]$/,"")}B(Ju,"normaliseParamName");function zu(e){if(!e.name||e.name==="-")return null;let t=ia(e.type);return{name:e.name,type:t,description:aa(e.description),getPrettyName:B(()=>Ju(e.name),"getPrettyName"),getTypeName:B(()=>t?sa(t):null,"getTypeName")}}B(zu,"extractParam");function Hu(e){return e.name?oa(e.name,e.description):null}B(Hu,"extractDeprecated");function oa(e,t){let r=e===""?t:`${e} ${t}`;return aa(r)}B(oa,"joinNameAndDescription");function aa(e){let t=e.replace(/^- /g,"").trim();return t===""?null:t}B(aa,"normaliseDescription");function Gu(e){let t=ia(e.type);return t?{type:t,description:oa(e.name,e.description),getTypeName:B(()=>sa(t),"getTypeName")}:null}B(Gu,"extractReturns");var vt=(0,rr.stringifyRules)(),vy=vt.JsdocTypeObject;vt.JsdocTypeAny=()=>"any";vt.JsdocTypeObject=(e,t)=>`(${vy(e,t)})`;vt.JsdocTypeOptional=(e,t)=>t(e.element);vt.JsdocTypeNullable=(e,t)=>t(e.element);vt.JsdocTypeNotNullable=(e,t)=>t(e.element);vt.JsdocTypeUnion=(e,t)=>e.elements.map(t).join("|");function ia(e){try{return(0,rr.parse)(e,"typescript")}catch{return null}}B(ia,"extractType");function sa(e){return(0,rr.transform)(vt,e)}B(sa,"extractTypeName");function la(e){return e.length>90}B(la,"isTooLongForTypeSummary");function Wu(e){return e.length>50}B(Wu,"isTooLongForDefaultValueSummary");function ge(e,t){return e===t?{summary:e}:{summary:e,detail:t}}B(ge,"createSummaryValue");var oI=B(e=>e.replace(/\\r\\n/g,"\\n"),"normalizeNewlines");function Ku(e,t){if(e!=null){let{value:r}=e;if(!gn(r))return Wu(r)?ge(t?.name,r):ge(r)}return null}B(Ku,"createDefaultValue");function ua({name:e,value:t,elements:r,raw:n}){return t??(r!=null?r.map(ua).join(" | "):n??e)}B(ua,"generateUnionElement");function Yu({name:e,raw:t,elements:r}){return r!=null?ge(r.map(ua).join(" | ")):t!=null?ge(t.replace(/^\|\s*/,"")):ge(e)}B(Yu,"generateUnion");function Xu({type:e,raw:t}){return t!=null?ge(t):ge(e)}B(Xu,"generateFuncSignature");function Qu({type:e,raw:t}){return t!=null?la(t)?ge(e,t):ge(t):ge(e)}B(Qu,"generateObjectSignature");function Zu(e){let{type:t}=e;return t==="object"?Qu(e):Xu(e)}B(Zu,"generateSignature");function ec({name:e,raw:t}){return t!=null?la(t)?ge(e,t):ge(t):ge(e)}B(ec,"generateDefault");function tc(e){if(e==null)return null;switch(e.name){case"union":return Yu(e);case"signature":return Zu(e);default:return ec(e)}}B(tc,"createType");var Ay=B((e,t)=>{let{flowType:r,description:n,required:o,defaultValue:a}=t;return{name:e,type:tc(r),required:o,description:n,defaultValue:Ku(a??null,r??null)}},"createFlowPropDef");function rc({defaultValue:e}){if(e!=null){let{value:t}=e;if(!gn(t))return ge(t)}return null}B(rc,"createDefaultValue");function nc({tsType:e,required:t}){if(e==null)return null;let r=e.name;return t||(r=r.replace(" | undefined","")),ge(["Array","Record","signature"].includes(e.name)?e.raw:r)}B(nc,"createType");var Dy=B((e,t)=>{let{description:r,required:n}=t;return{name:e,type:nc(t),required:n,description:r,defaultValue:rc(t)}},"createTsPropDef");function oc(e){return e!=null?ge(e.name):null}B(oc,"createType");function ac(e){let{computed:t,func:r}=e;return typeof t>"u"&&typeof r>"u"}B(ac,"isReactDocgenTypescript");function ic(e){return e?e.name==="string"?!0:e.name==="enum"?Array.isArray(e.value)&&e.value.every(({value:t})=>typeof t=="string"&&t[0]==='"'&&t[t.length-1]==='"'):!1:!1}B(ic,"isStringValued");function sc(e,t){if(e!=null){let{value:r}=e;if(!gn(r))return ac(e)&&ic(t)?ge(JSON.stringify(r)):ge(r)}return null}B(sc,"createDefaultValue");function ca(e,t,r){let{description:n,required:o,defaultValue:a}=r;return{name:e,type:oc(t),required:o,description:n,defaultValue:sc(a,t)}}B(ca,"createBasicPropDef");function xr(e,t){if(t?.includesJsDoc){let{description:r,extractedTags:n}=t;r!=null&&(e.description=t.description);let o={...n,params:n?.params?.map(a=>({name:a.getPrettyName(),description:a.description}))};Object.values(o).filter(Boolean).length>0&&(e.jsDocTags=o)}return e}B(xr,"applyJsDocResult");var Sy=B((e,t,r)=>{let n=ca(e,t.type,t);return n.sbType=ta(t),xr(n,r)},"javaScriptFactory"),wy=B((e,t,r)=>{let n=Dy(e,t);return n.sbType=ta(t),xr(n,r)},"tsFactory"),Cy=B((e,t,r)=>{let n=Ay(e,t);return n.sbType=ta(t),xr(n,r)},"flowFactory"),xy=B((e,t,r)=>{let n=ca(e,{name:"unknown"},t);return xr(n,r)},"unknownFactory"),lc=B(e=>{switch(e){case"JavaScript":return Sy;case"TypeScript":return wy;case"Flow":return Cy;default:return xy}},"getPropDefFactory"),uc=B(e=>e.type!=null?"JavaScript":e.flowType!=null?"Flow":e.tsType!=null?"TypeScript":"Unknown","getTypeSystem"),Ty=B(e=>{let t=uc(e[0]),r=lc(t);return e.map(n=>{let o=n;return n.type?.elements&&(o={...n,type:{...n.type,value:n.type.elements}}),da(o.name,o,t,r)})},"extractComponentSectionArray"),Fy=B(e=>{let t=Object.keys(e),r=uc(e[t[0]]),n=lc(r);return t.map(o=>{let a=e[o];return a!=null?da(o,a,r,n):null}).filter(Boolean)},"extractComponentSectionObject"),aI=B((e,t)=>{let r=Eu(e,t);return bu(r)?Array.isArray(r)?Ty(r):Fy(r):[]},"extractComponentProps");function da(e,t,r,n){let o=Ey(t.description);return o.includesJsDoc&&o.ignore?null:{propDef:n(e,t,o),jsDocTags:o.extractedTags,docgenInfo:t,typeSystem:r}}B(da,"extractProp");function Iy(e){return e!=null?vu(e):""}B(Iy,"extractComponentDescription");var sI=B(e=>{let{component:t,argTypes:r,parameters:{docs:n={}}}=e,{extractArgTypes:o}=n,a=o&&t?o(t):{};return a?at(a,r):r},"enhanceArgTypes"),cc="storybook/docs",lI=`${cc}/panel`;var uI=`${cc}/snippet-rendered`,ky=(e=>(e.AUTO="auto",e.CODE="code",e.DYNAMIC="dynamic",e))(ky||{}),Ry=/(addons\/|addon-|addon-essentials\/)(docs|controls)/,cI=B(e=>e.presetsList?.some(t=>Ry.test(t.name)),"hasDocsOrControls");q();V();J();q();V();J();var wI=__STORYBOOK_CHANNELS__,{Channel:CI,HEARTBEAT_INTERVAL:xI,HEARTBEAT_MAX_LATENCY:TI,PostMessageTransport:FI,WebsocketTransport:II,createBrowserChannel:kI}=__STORYBOOK_CHANNELS__;q();V();J();var dc=(()=>{let e;return typeof window<"u"?e=window:typeof globalThis<"u"?e=globalThis:typeof window<"u"?e=window:typeof self<"u"?e=self:e={},e})();var id=$e({"../../node_modules/memoizerific/memoizerific.js"(e,t){(function(r){if(typeof e=="object"&&typeof t<"u")t.exports=r();else if(typeof define=="function"&&define.amd)define([],r);else{var n;typeof window<"u"||typeof window<"u"?n=window:typeof self<"u"?n=self:n=this,n.memoizerific=r()}})(function(){return function r(n,o,a){function i(c,p){if(!o[c]){if(!n[c]){var h=typeof mr=="function"&&mr;if(!p&&h)return h(c,!0);if(s)return s(c,!0);var d=new Error("Cannot find module '"+c+"'");throw d.code="MODULE_NOT_FOUND",d}var y=o[c]={exports:{}};n[c][0].call(y.exports,function(g){var A=n[c][1][g];return i(A||g)},y,y.exports,r,n,o,a)}return o[c].exports}for(var s=typeof mr=="function"&&mr,l=0;l=0)return this.lastItem=this.list[s],this.list[s].val},a.prototype.set=function(i,s){var l;return this.lastItem&&this.isEqual(this.lastItem.key,i)?(this.lastItem.val=s,this):(l=this.indexOf(i),l>=0?(this.lastItem=this.list[l],this.list[l].val=s,this):(this.lastItem={key:i,val:s},this.list.push(this.lastItem),this.size++,this))},a.prototype.delete=function(i){var s;if(this.lastItem&&this.isEqual(this.lastItem.key,i)&&(this.lastItem=void 0),s=this.indexOf(i),s>=0)return this.size--,this.list.splice(s,1)[0]},a.prototype.has=function(i){var s;return this.lastItem&&this.isEqual(this.lastItem.key,i)?!0:(s=this.indexOf(i),s>=0?(this.lastItem=this.list[s],!0):!1)},a.prototype.forEach=function(i,s){var l;for(l=0;l0&&(w[S]={cacheItem:g,arg:arguments[S]},x?i(h,w):h.push(w),h.length>c&&s(h.shift())),y.wasMemoized=x,y.numArgs=S+1,v};return y.limit=c,y.wasMemoized=!1,y.cache=p,y.lru=h,y}};function i(c,p){var h=c.length,d=p.length,y,g,A;for(g=0;g=0&&(h=c[y],d=h.cacheItem.get(h.arg),!d||!d.size);y--)h.cacheItem.delete(h.arg)}function l(c,p){return c===p||c!==c&&p!==p}},{"map-or-similar":1}]},{},[3])(3)})}}),bg=$e({"../../node_modules/tocbot/src/js/default-options.js"(e,t){t.exports={tocSelector:".js-toc",contentSelector:".js-toc-content",headingSelector:"h1, h2, h3",ignoreSelector:".js-toc-ignore",hasInnerContainers:!1,linkClass:"toc-link",extraLinkClasses:"",activeLinkClass:"is-active-link",listClass:"toc-list",extraListClasses:"",isCollapsedClass:"is-collapsed",collapsibleClass:"is-collapsible",listItemClass:"toc-list-item",activeListItemClass:"is-active-li",collapseDepth:0,scrollSmooth:!0,scrollSmoothDuration:420,scrollSmoothOffset:0,scrollEndCallback:function(r){},headingsOffset:1,throttleTimeout:50,positionFixedSelector:null,positionFixedClass:"is-position-fixed",fixedSidebarOffset:"auto",includeHtml:!1,includeTitleTags:!1,onClick:function(r){},orderedList:!0,scrollContainer:null,skipRendering:!1,headingLabelCallback:!1,ignoreHiddenElements:!1,headingObjectCallback:null,basePath:"",disableTocScrollSync:!1,tocScrollOffset:0}}}),Eg=$e({"../../node_modules/tocbot/src/js/build-html.js"(e,t){t.exports=function(r){var n=[].forEach,o=[].some,a=document.body,i,s=!0,l=" ";function c(C,k){var F=k.appendChild(h(C));if(C.children.length){var _=d(C.isCollapsed);C.children.forEach(function(j){c(j,_)}),F.appendChild(_)}}function p(C,k){var F=!1,_=d(F);if(k.forEach(function(j){c(j,_)}),i=C||i,i!==null)return i.firstChild&&i.removeChild(i.firstChild),k.length===0?i:i.appendChild(_)}function h(C){var k=document.createElement("li"),F=document.createElement("a");return r.listItemClass&&k.setAttribute("class",r.listItemClass),r.onClick&&(F.onclick=r.onClick),r.includeTitleTags&&F.setAttribute("title",C.textContent),r.includeHtml&&C.childNodes.length?n.call(C.childNodes,function(_){F.appendChild(_.cloneNode(!0))}):F.textContent=C.textContent,F.setAttribute("href",r.basePath+"#"+C.id),F.setAttribute("class",r.linkClass+l+"node-name--"+C.nodeName+l+r.extraLinkClasses),k.appendChild(F),k}function d(C){var k=r.orderedList?"ol":"ul",F=document.createElement(k),_=r.listClass+l+r.extraListClasses;return C&&(_=_+l+r.collapsibleClass,_=_+l+r.isCollapsedClass),F.setAttribute("class",_),F}function y(){if(r.scrollContainer&&document.querySelector(r.scrollContainer)){var C;C=document.querySelector(r.scrollContainer).scrollTop}else C=document.documentElement.scrollTop||a.scrollTop;var k=document.querySelector(r.positionFixedSelector);r.fixedSidebarOffset==="auto"&&(r.fixedSidebarOffset=i.offsetTop),C>r.fixedSidebarOffset?k.className.indexOf(r.positionFixedClass)===-1&&(k.className+=l+r.positionFixedClass):k.className=k.className.replace(l+r.positionFixedClass,"")}function g(C){var k=0;return C!==null&&(k=C.offsetTop,r.hasInnerContainers&&(k+=g(C.offsetParent))),k}function A(C,k){return C&&C.className!==k&&(C.className=k),C}function v(C){if(r.scrollContainer&&document.querySelector(r.scrollContainer)){var k;k=document.querySelector(r.scrollContainer).scrollTop}else k=document.documentElement.scrollTop||a.scrollTop;r.positionFixedSelector&&y();var F=C,_;if(s&&i!==null&&F.length>0){o.call(F,function(D,T){if(g(D)>k+r.headingsOffset+10){var O=T===0?T:T-1;return _=F[O],!0}else if(T===F.length-1)return _=F[F.length-1],!0});var j=i.querySelector("."+r.activeLinkClass),M=i.querySelector("."+r.linkClass+".node-name--"+_.nodeName+'[href="'+r.basePath+"#"+_.id.replace(/([ #;&,.+*~':"!^$[\]()=>|/\\@])/g,"\\$1")+'"]');if(j===M)return;var P=i.querySelectorAll("."+r.linkClass);n.call(P,function(D){A(D,D.className.replace(l+r.activeLinkClass,""))});var W=i.querySelectorAll("."+r.listItemClass);n.call(W,function(D){A(D,D.className.replace(l+r.activeListItemClass,""))}),M&&M.className.indexOf(r.activeLinkClass)===-1&&(M.className+=l+r.activeLinkClass);var L=M&&M.parentNode;L&&L.className.indexOf(r.activeListItemClass)===-1&&(L.className+=l+r.activeListItemClass);var z=i.querySelectorAll("."+r.listClass+"."+r.collapsibleClass);n.call(z,function(D){D.className.indexOf(r.isCollapsedClass)===-1&&(D.className+=l+r.isCollapsedClass)}),M&&M.nextSibling&&M.nextSibling.className.indexOf(r.isCollapsedClass)!==-1&&A(M.nextSibling,M.nextSibling.className.replace(l+r.isCollapsedClass,"")),S(M&&M.parentNode.parentNode)}}function S(C){return C&&C.className.indexOf(r.collapsibleClass)!==-1&&C.className.indexOf(r.isCollapsedClass)!==-1?(A(C,C.className.replace(l+r.isCollapsedClass,"")),S(C.parentNode.parentNode)):C}function w(C){var k=C.target||C.srcElement;typeof k.className!="string"||k.className.indexOf(r.linkClass)===-1||(s=!1)}function x(){s=!0}return{enableTocAnimation:x,disableTocAnimation:w,render:p,updateToc:v}}}}),vg=$e({"../../node_modules/tocbot/src/js/parse-content.js"(e,t){t.exports=function(r){var n=[].reduce;function o(h){return h[h.length-1]}function a(h){return+h.nodeName.toUpperCase().replace("H","")}function i(h){try{return h instanceof window.HTMLElement||h instanceof window.parent.HTMLElement}catch{return h instanceof window.HTMLElement}}function s(h){if(!i(h))return h;if(r.ignoreHiddenElements&&(!h.offsetHeight||!h.offsetParent))return null;let d=h.getAttribute("data-heading-label")||(r.headingLabelCallback?String(r.headingLabelCallback(h.innerText)):(h.innerText||h.textContent).trim());var y={id:h.id,children:[],nodeName:h.nodeName,headingLevel:a(h),textContent:d};return r.includeHtml&&(y.childNodes=h.childNodes),r.headingObjectCallback?r.headingObjectCallback(y,h):y}function l(h,d){for(var y=s(h),g=y.headingLevel,A=d,v=o(A),S=v?v.headingLevel:0,w=g-S;w>0&&(v=o(A),!(v&&g===v.headingLevel));)v&&v.children!==void 0&&(A=v.children),w--;return g>=r.collapseDepth&&(y.isCollapsed=!0),A.push(y),A}function c(h,d){var y=d;r.ignoreSelector&&(y=d.split(",").map(function(g){return g.trim()+":not("+r.ignoreSelector+")"}));try{return h.querySelectorAll(y)}catch{return console.warn("Headers not found with selector: "+y),null}}function p(h){return n.call(h,function(d,y){var g=s(y);return g&&l(g,d.nest),d},{nest:[]})}return{nestHeadingsArray:p,selectHeadings:c}}}}),Ag=$e({"../../node_modules/tocbot/src/js/update-toc-scroll.js"(e,t){t.exports=function(r){var n=r.tocElement||document.querySelector(r.tocSelector);if(n&&n.scrollHeight>n.clientHeight){var o=n.querySelector("."+r.activeListItemClass);o&&(n.scrollTop=o.offsetTop-r.tocScrollOffset)}}}}),Dg=$e({"../../node_modules/tocbot/src/js/scroll-smooth/index.js"(e){e.initSmoothScrolling=t;function t(n){var o=n.duration,a=n.offset,i=location.hash?c(location.href):location.href;s();function s(){document.body.addEventListener("click",h,!1);function h(d){!l(d.target)||d.target.className.indexOf("no-smooth-scroll")>-1||d.target.href.charAt(d.target.href.length-2)==="#"&&d.target.href.charAt(d.target.href.length-1)==="!"||d.target.className.indexOf(n.linkClass)===-1||r(d.target.hash,{duration:o,offset:a,callback:function(){p(d.target.hash)}})}}function l(h){return h.tagName.toLowerCase()==="a"&&(h.hash.length>0||h.href.charAt(h.href.length-1)==="#")&&(c(h.href)===i||c(h.href)+"#"===i)}function c(h){return h.slice(0,h.lastIndexOf("#"))}function p(h){var d=document.getElementById(h.substring(1));d&&(/^(?:a|select|input|button|textarea)$/i.test(d.tagName)||(d.tabIndex=-1),d.focus())}}function r(n,o){var a=window.pageYOffset,i={duration:o.duration,offset:o.offset||0,callback:o.callback,easing:o.easing||g},s=document.querySelector('[id="'+decodeURI(n).split("#").join("")+'"]')||document.querySelector('[id="'+n.split("#").join("")+'"]'),l=typeof n=="string"?i.offset+(n?s&&s.getBoundingClientRect().top||0:-(document.documentElement.scrollTop||document.body.scrollTop)):n,c=typeof i.duration=="function"?i.duration(l):i.duration,p,h;requestAnimationFrame(function(A){p=A,d(A)});function d(A){h=A-p,window.scrollTo(0,i.easing(h,a,l,c)),h"u"&&!h)return;var d,y=Object.prototype.hasOwnProperty;function g(){for(var w={},x=0;x1?o-1:0),i=1;i=0&&o<1?(s=a,l=i):o>=1&&o<2?(s=i,l=a):o>=2&&o<3?(l=a,c=i):o>=3&&o<4?(l=i,c=a):o>=4&&o<5?(s=i,c=a):o>=5&&o<6&&(s=a,c=i);var p=r-a/2,h=s+p,d=l+p,y=c+p;return n(h,d,y)}var Oc={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"00ffff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"0000ff",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"00ffff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"ff00ff",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"639",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"};function Rg(e){if(typeof e!="string")return e;var t=e.toLowerCase();return Oc[t]?"#"+Oc[t]:e}var Og=/^#[a-fA-F0-9]{6}$/,_g=/^#[a-fA-F0-9]{8}$/,Bg=/^#[a-fA-F0-9]{3}$/,Pg=/^#[a-fA-F0-9]{4}$/,Aa=/^rgb\(\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*\)$/i,Ng=/^rgb(?:a)?\(\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,|\/)\s*([-+]?\d*[.]?\d+[%]?)\s*\)$/i,jg=/^hsl\(\s*(\d{0,3}[.]?[0-9]+(?:deg)?)\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*\)$/i,Lg=/^hsl(?:a)?\(\s*(\d{0,3}[.]?[0-9]+(?:deg)?)\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,|\/)\s*([-+]?\d*[.]?\d+[%]?)\s*\)$/i;function In(e){if(typeof e!="string")throw new Ze(3);var t=Rg(e);if(t.match(Og))return{red:parseInt(""+t[1]+t[2],16),green:parseInt(""+t[3]+t[4],16),blue:parseInt(""+t[5]+t[6],16)};if(t.match(_g)){var r=parseFloat((parseInt(""+t[7]+t[8],16)/255).toFixed(2));return{red:parseInt(""+t[1]+t[2],16),green:parseInt(""+t[3]+t[4],16),blue:parseInt(""+t[5]+t[6],16),alpha:r}}if(t.match(Bg))return{red:parseInt(""+t[1]+t[1],16),green:parseInt(""+t[2]+t[2],16),blue:parseInt(""+t[3]+t[3],16)};if(t.match(Pg)){var n=parseFloat((parseInt(""+t[4]+t[4],16)/255).toFixed(2));return{red:parseInt(""+t[1]+t[1],16),green:parseInt(""+t[2]+t[2],16),blue:parseInt(""+t[3]+t[3],16),alpha:n}}var o=Aa.exec(t);if(o)return{red:parseInt(""+o[1],10),green:parseInt(""+o[2],10),blue:parseInt(""+o[3],10)};var a=Ng.exec(t.substring(0,50));if(a)return{red:parseInt(""+a[1],10),green:parseInt(""+a[2],10),blue:parseInt(""+a[3],10),alpha:parseFloat(""+a[4])>1?parseFloat(""+a[4])/100:parseFloat(""+a[4])};var i=jg.exec(t);if(i){var s=parseInt(""+i[1],10),l=parseInt(""+i[2],10)/100,c=parseInt(""+i[3],10)/100,p="rgb("+_r(s,l,c)+")",h=Aa.exec(p);if(!h)throw new Ze(4,t,p);return{red:parseInt(""+h[1],10),green:parseInt(""+h[2],10),blue:parseInt(""+h[3],10)}}var d=Lg.exec(t.substring(0,50));if(d){var y=parseInt(""+d[1],10),g=parseInt(""+d[2],10)/100,A=parseInt(""+d[3],10)/100,v="rgb("+_r(y,g,A)+")",S=Aa.exec(v);if(!S)throw new Ze(4,t,v);return{red:parseInt(""+S[1],10),green:parseInt(""+S[2],10),blue:parseInt(""+S[3],10),alpha:parseFloat(""+d[4])>1?parseFloat(""+d[4])/100:parseFloat(""+d[4])}}throw new Ze(5)}function Mg(e){var t=e.red/255,r=e.green/255,n=e.blue/255,o=Math.max(t,r,n),a=Math.min(t,r,n),i=(o+a)/2;if(o===a)return e.alpha!==void 0?{hue:0,saturation:0,lightness:i,alpha:e.alpha}:{hue:0,saturation:0,lightness:i};var s,l=o-a,c=i>.5?l/(2-o-a):l/(o+a);switch(o){case t:s=(r-n)/l+(r=1?Fn(e,t,r):"rgba("+_r(e,t,r)+","+n+")";if(typeof e=="object"&&t===void 0&&r===void 0&&n===void 0)return e.alpha>=1?Fn(e.hue,e.saturation,e.lightness):"rgba("+_r(e.hue,e.saturation,e.lightness)+","+e.alpha+")";throw new Ze(2)}function Pa(e,t,r){if(typeof e=="number"&&typeof t=="number"&&typeof r=="number")return Ba("#"+jt(e)+jt(t)+jt(r));if(typeof e=="object"&&t===void 0&&r===void 0)return Ba("#"+jt(e.red)+jt(e.green)+jt(e.blue));throw new Ze(6)}function st(e,t,r,n){if(typeof e=="string"&&typeof t=="number"){var o=In(e);return"rgba("+o.red+","+o.green+","+o.blue+","+t+")"}else{if(typeof e=="number"&&typeof t=="number"&&typeof r=="number"&&typeof n=="number")return n>=1?Pa(e,t,r):"rgba("+e+","+t+","+r+","+n+")";if(typeof e=="object"&&t===void 0&&r===void 0&&n===void 0)return e.alpha>=1?Pa(e.red,e.green,e.blue):"rgba("+e.red+","+e.green+","+e.blue+","+e.alpha+")"}throw new Ze(7)}var Jg=function(e){return typeof e.red=="number"&&typeof e.green=="number"&&typeof e.blue=="number"&&(typeof e.alpha!="number"||typeof e.alpha>"u")},zg=function(e){return typeof e.red=="number"&&typeof e.green=="number"&&typeof e.blue=="number"&&typeof e.alpha=="number"},Hg=function(e){return typeof e.hue=="number"&&typeof e.saturation=="number"&&typeof e.lightness=="number"&&(typeof e.alpha!="number"||typeof e.alpha>"u")},Gg=function(e){return typeof e.hue=="number"&&typeof e.saturation=="number"&&typeof e.lightness=="number"&&typeof e.alpha=="number"};function ud(e){if(typeof e!="object")throw new Ze(8);if(zg(e))return st(e);if(Jg(e))return Pa(e);if(Gg(e))return Vg(e);if(Hg(e))return qg(e);throw new Ze(8)}function cd(e,t,r){return function(){var n=r.concat(Array.prototype.slice.call(arguments));return n.length>=t?e.apply(this,n):cd(e,t,n)}}function kn(e){return cd(e,e.length,[])}function Rn(e,t,r){return Math.max(e,Math.min(t,r))}function Wg(e,t){if(t==="transparent")return t;var r=ld(t);return ud(ir({},r,{lightness:Rn(0,1,r.lightness-parseFloat(e))}))}var Kg=kn(Wg),Qe=Kg;function Yg(e,t){if(t==="transparent")return t;var r=ld(t);return ud(ir({},r,{lightness:Rn(0,1,r.lightness+parseFloat(e))}))}var Xg=kn(Yg),Lt=Xg;function Qg(e,t){if(t==="transparent")return t;var r=In(t),n=typeof r.alpha=="number"?r.alpha:1,o=ir({},r,{alpha:Rn(0,1,(n*100+parseFloat(e)*100)/100)});return st(o)}var Zg=kn(Qg),Sn=Zg;function e0(e,t){if(t==="transparent")return t;var r=In(t),n=typeof r.alpha=="number"?r.alpha:1,o=ir({},r,{alpha:Rn(0,1,+(n*100-parseFloat(e)*100).toFixed(2)/100)});return st(o)}var t0=kn(e0),ce=t0,r0=R.div(Gt,({theme:e})=>({backgroundColor:e.base==="light"?"rgba(0,0,0,.01)":"rgba(255,255,255,.01)",borderRadius:e.appBorderRadius,border:`1px dashed ${e.appBorderColor}`,display:"flex",alignItems:"center",justifyContent:"center",padding:20,margin:"25px 0 40px",color:ce(.3,e.color.defaultText),fontSize:e.typography.size.s2})),dd=e=>f.createElement(r0,{...e,className:"docblock-emptyblock sb-unstyled"}),n0=R(Ur)(({theme:e})=>({fontSize:`${e.typography.size.s2-1}px`,lineHeight:"19px",margin:"25px 0 40px",borderRadius:e.appBorderRadius,boxShadow:e.base==="light"?"rgba(0, 0, 0, 0.10) 0 1px 3px 0":"rgba(0, 0, 0, 0.20) 0 2px 5px 0","pre.prismjs":{padding:20,background:"inherit"}})),o0=R.div(({theme:e})=>({background:e.background.content,borderRadius:e.appBorderRadius,border:`1px solid ${e.appBorderColor}`,boxShadow:e.base==="light"?"rgba(0, 0, 0, 0.10) 0 1px 3px 0":"rgba(0, 0, 0, 0.20) 0 2px 5px 0",margin:"25px 0 40px",padding:"20px 20px 20px 22px"})),wn=R.div(({theme:e})=>({animation:`${e.animation.glow} 1.5s ease-in-out infinite`,background:e.appBorderColor,height:17,marginTop:1,width:"60%",[`&:first-child${zi}`]:{margin:0}})),a0=()=>f.createElement(o0,null,f.createElement(wn,null),f.createElement(wn,{style:{width:"80%"}}),f.createElement(wn,{style:{width:"30%"}}),f.createElement(wn,{style:{width:"80%"}})),i0=({isLoading:e,error:t,language:r,code:n,dark:o,format:a=!1,...i})=>{let{typography:s}=co();if(e)return f.createElement(a0,null);if(t)return f.createElement(dd,null,t);let l=f.createElement(n0,{bordered:!0,copyable:!0,format:a,language:r,className:"docblock-source sb-unstyled",...i},n);if(typeof o>"u")return l;let c=o?uo.dark:uo.light;return f.createElement(Vi,{theme:Ji({...c,fontCode:s.fonts.mono,fontBase:s.fonts.base})},l)},be=e=>`& :where(${e}:not(.sb-anchor, .sb-unstyled, .sb-unstyled ${e}))`,$a=600;R.h1(Gt,({theme:e})=>({color:e.color.defaultText,fontSize:e.typography.size.m3,fontWeight:e.typography.weight.bold,lineHeight:"32px",[`@media (min-width: ${$a}px)`]:{fontSize:e.typography.size.l1,lineHeight:"36px",marginBottom:"16px"}}));R.h2(Gt,({theme:e})=>({fontWeight:e.typography.weight.regular,fontSize:e.typography.size.s3,lineHeight:"20px",borderBottom:"none",marginBottom:15,[`@media (min-width: ${$a}px)`]:{fontSize:e.typography.size.m1,lineHeight:"28px",marginBottom:24},color:ce(.25,e.color.defaultText)}));R.div(({theme:e})=>{let t={fontFamily:e.typography.fonts.base,fontSize:e.typography.size.s3,margin:0,WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",WebkitTapHighlightColor:"rgba(0, 0, 0, 0)",WebkitOverflowScrolling:"touch"},r={margin:"20px 0 8px",padding:0,cursor:"text",position:"relative",color:e.color.defaultText,"&:first-of-type":{marginTop:0,paddingTop:0},"&:hover a.anchor":{textDecoration:"none"},"& code":{fontSize:"inherit"}},n={lineHeight:1,margin:"0 2px",padding:"3px 5px",whiteSpace:"nowrap",borderRadius:3,fontSize:e.typography.size.s2-1,border:e.base==="light"?`1px solid ${e.color.mediumlight}`:`1px solid ${e.color.darker}`,color:e.base==="light"?ce(.1,e.color.defaultText):ce(.3,e.color.defaultText),backgroundColor:e.base==="light"?e.color.lighter:e.color.border};return{maxWidth:1e3,width:"100%",[be("a")]:{...t,fontSize:"inherit",lineHeight:"24px",color:e.color.secondary,textDecoration:"none","&.absent":{color:"#cc0000"},"&.anchor":{display:"block",paddingLeft:30,marginLeft:-30,cursor:"pointer",position:"absolute",top:0,left:0,bottom:0}},[be("blockquote")]:{...t,margin:"16px 0",borderLeft:`4px solid ${e.color.medium}`,padding:"0 15px",color:e.color.dark,"& > :first-of-type":{marginTop:0},"& > :last-child":{marginBottom:0}},[be("div")]:t,[be("dl")]:{...t,margin:"16px 0",padding:0,"& dt":{fontSize:"14px",fontWeight:"bold",fontStyle:"italic",padding:0,margin:"16px 0 4px"},"& dt:first-of-type":{padding:0},"& dt > :first-of-type":{marginTop:0},"& dt > :last-child":{marginBottom:0},"& dd":{margin:"0 0 16px",padding:"0 15px"},"& dd > :first-of-type":{marginTop:0},"& dd > :last-child":{marginBottom:0}},[be("h1")]:{...t,...r,fontSize:`${e.typography.size.l1}px`,fontWeight:e.typography.weight.bold},[be("h2")]:{...t,...r,fontSize:`${e.typography.size.m2}px`,paddingBottom:4,borderBottom:`1px solid ${e.appBorderColor}`},[be("h3")]:{...t,...r,fontSize:`${e.typography.size.m1}px`,fontWeight:e.typography.weight.bold},[be("h4")]:{...t,...r,fontSize:`${e.typography.size.s3}px`},[be("h5")]:{...t,...r,fontSize:`${e.typography.size.s2}px`},[be("h6")]:{...t,...r,fontSize:`${e.typography.size.s2}px`,color:e.color.dark},[be("hr")]:{border:"0 none",borderTop:`1px solid ${e.appBorderColor}`,height:4,padding:0},[be("img")]:{maxWidth:"100%"},[be("li")]:{...t,fontSize:e.typography.size.s2,color:e.color.defaultText,lineHeight:"24px","& + li":{marginTop:".25em"},"& ul, & ol":{marginTop:".25em",marginBottom:0},"& code":n},[be("ol")]:{...t,margin:"16px 0",paddingLeft:30,"& :first-of-type":{marginTop:0},"& :last-child":{marginBottom:0}},[be("p")]:{...t,margin:"16px 0",fontSize:e.typography.size.s2,lineHeight:"24px",color:e.color.defaultText,"& code":n},[be("pre")]:{...t,fontFamily:e.typography.fonts.mono,WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",lineHeight:"18px",padding:"11px 1rem",whiteSpace:"pre-wrap",color:"inherit",borderRadius:3,margin:"1rem 0","&:not(.prismjs)":{background:"transparent",border:"none",borderRadius:0,padding:0,margin:0},"& pre, &.prismjs":{padding:15,margin:0,whiteSpace:"pre-wrap",color:"inherit",fontSize:"13px",lineHeight:"19px",code:{color:"inherit",fontSize:"inherit"}},"& code":{whiteSpace:"pre"},"& code, & tt":{border:"none"}},[be("span")]:{...t,"&.frame":{display:"block",overflow:"hidden","& > span":{border:`1px solid ${e.color.medium}`,display:"block",float:"left",overflow:"hidden",margin:"13px 0 0",padding:7,width:"auto"},"& span img":{display:"block",float:"left"},"& span span":{clear:"both",color:e.color.darkest,display:"block",padding:"5px 0 0"}},"&.align-center":{display:"block",overflow:"hidden",clear:"both","& > span":{display:"block",overflow:"hidden",margin:"13px auto 0",textAlign:"center"},"& span img":{margin:"0 auto",textAlign:"center"}},"&.align-right":{display:"block",overflow:"hidden",clear:"both","& > span":{display:"block",overflow:"hidden",margin:"13px 0 0",textAlign:"right"},"& span img":{margin:0,textAlign:"right"}},"&.float-left":{display:"block",marginRight:13,overflow:"hidden",float:"left","& span":{margin:"13px 0 0"}},"&.float-right":{display:"block",marginLeft:13,overflow:"hidden",float:"right","& > span":{display:"block",overflow:"hidden",margin:"13px auto 0",textAlign:"right"}}},[be("table")]:{...t,margin:"16px 0",fontSize:e.typography.size.s2,lineHeight:"24px",padding:0,borderCollapse:"collapse","& tr":{borderTop:`1px solid ${e.appBorderColor}`,backgroundColor:e.appContentBg,margin:0,padding:0},"& tr:nth-of-type(2n)":{backgroundColor:e.base==="dark"?e.color.darker:e.color.lighter},"& tr th":{fontWeight:"bold",color:e.color.defaultText,border:`1px solid ${e.appBorderColor}`,margin:0,padding:"6px 13px"},"& tr td":{border:`1px solid ${e.appBorderColor}`,color:e.color.defaultText,margin:0,padding:"6px 13px"},"& tr th :first-of-type, & tr td :first-of-type":{marginTop:0},"& tr th :last-child, & tr td :last-child":{marginBottom:0}},[be("ul")]:{...t,margin:"16px 0",paddingLeft:30,"& :first-of-type":{marginTop:0},"& :last-child":{marginBottom:0},listStyle:"disc"}}});R.div(({theme:e})=>({background:e.background.content,display:"flex",justifyContent:"center",padding:"4rem 20px",minHeight:"100vh",boxSizing:"border-box",gap:"3rem",[`@media (min-width: ${$a}px)`]:{}}));var On=e=>({borderRadius:e.appBorderRadius,background:e.background.content,boxShadow:e.base==="light"?"rgba(0, 0, 0, 0.10) 0 1px 3px 0":"rgba(0, 0, 0, 0.20) 0 2px 5px 0",border:`1px solid ${e.appBorderColor}`}),s0=gr({scale:1});R.strong(({theme:e})=>({color:e.color.orange}));var l0=R(Gn)({position:"absolute",left:0,right:0,top:0,transition:"transform .2s linear"}),u0=R.div({display:"flex",alignItems:"center",gap:4}),c0=R.div(({theme:e})=>({width:14,height:14,borderRadius:2,margin:"0 7px",backgroundColor:e.appBorderColor,animation:`${e.animation.glow} 1.5s ease-in-out infinite`})),d0=({isLoading:e,storyId:t,baseUrl:r,zoom:n,resetZoom:o,...a})=>f.createElement(l0,{...a},f.createElement(u0,{key:"left"},e?[1,2,3].map(i=>f.createElement(c0,{key:i})):f.createElement(f.Fragment,null,f.createElement(Ke,{key:"zoomin",onClick:i=>{i.preventDefault(),n(.8)},title:"Zoom in"},f.createElement(os,null)),f.createElement(Ke,{key:"zoomout",onClick:i=>{i.preventDefault(),n(1.25)},title:"Zoom out"},f.createElement(as,null)),f.createElement(Ke,{key:"zoomreset",onClick:i=>{i.preventDefault(),o()},title:"Reset zoom"},f.createElement(is,null))))),p0=R.div(({isColumn:e,columns:t,layout:r})=>({display:e||!t?"block":"flex",position:"relative",flexWrap:"wrap",overflow:"auto",flexDirection:e?"column":"row","& .innerZoomElementWrapper > *":e?{width:r!=="fullscreen"?"calc(100% - 20px)":"100%",display:"block"}:{maxWidth:r!=="fullscreen"?"calc(100% - 20px)":"100%",display:"inline-block"}}),({layout:e="padded"})=>e==="centered"||e==="padded"?{padding:"30px 20px","& .innerZoomElementWrapper > *":{width:"auto",border:"10px solid transparent!important"}}:{},({layout:e="padded"})=>e==="centered"?{display:"flex",justifyContent:"center",justifyItems:"center",alignContent:"center",alignItems:"center"}:{},({columns:e})=>e&&e>1?{".innerZoomElementWrapper > *":{minWidth:`calc(100% / ${e} - 20px)`}}:{}),_c=R(i0)(({theme:e})=>({margin:0,borderTopLeftRadius:0,borderTopRightRadius:0,borderBottomLeftRadius:e.appBorderRadius,borderBottomRightRadius:e.appBorderRadius,border:"none",background:e.base==="light"?"rgba(0, 0, 0, 0.85)":Qe(.05,e.background.content),color:e.color.lightest,button:{background:e.base==="light"?"rgba(0, 0, 0, 0.85)":Qe(.05,e.background.content)}})),h0=R.div(({theme:e,withSource:t,isExpanded:r})=>({position:"relative",overflow:"hidden",margin:"25px 0 40px",...On(e),borderBottomLeftRadius:t&&r&&0,borderBottomRightRadius:t&&r&&0,borderBottomWidth:r&&0,"h3 + &":{marginTop:"16px"}}),({withToolbar:e})=>e&&{paddingTop:40}),f0=(e,t,r)=>{switch(!0){case!!(e&&e.error):return{source:null,actionItem:{title:"No code available",className:"docblock-code-toggle docblock-code-toggle--disabled",disabled:!0,onClick:()=>r(!1)}};case t:return{source:f.createElement(_c,{...e,dark:!0}),actionItem:{title:"Hide code",className:"docblock-code-toggle docblock-code-toggle--expanded",onClick:()=>r(!1)}};default:return{source:f.createElement(_c,{...e,dark:!0}),actionItem:{title:"Show code",className:"docblock-code-toggle",onClick:()=>r(!0)}}}};function m0(e){if(di.count(e)===1){let t=e;if(t.props)return t.props.id}return null}var y0=R(d0)({position:"absolute",top:0,left:0,right:0,height:40}),g0=R.div({overflow:"hidden",position:"relative"}),b0=({isLoading:e,isColumn:t,columns:r,children:n,withSource:o,withToolbar:a=!1,isExpanded:i=!1,additionalActions:s,className:l,layout:c="padded",...p})=>{let[h,d]=Z(i),{source:y,actionItem:g}=f0(o,h,d),[A,v]=Z(1),S=[l].concat(["sbdocs","sbdocs-preview","sb-unstyled"]),w=o?[g]:[],[x,C]=Z(s?[...s]:[]),k=[...w,...x],{window:F}=globalThis,_=Ce(async M=>{let{createCopyToClipboardFunction:P}=await Promise.resolve().then(()=>($r(),gi));P()},[]),j=M=>{let P=F.getSelection();P&&P.type==="Range"||(M.preventDefault(),x.filter(W=>W.title==="Copied").length===0&&_(y.props.code).then(()=>{C([...x,{title:"Copied",onClick:()=>{}}]),F.setTimeout(()=>C(x.filter(W=>W.title!=="Copied")),1500)}))};return f.createElement(h0,{withSource:o,withToolbar:a,...p,className:S.join(" ")},a&&f.createElement(y0,{isLoading:e,border:!0,zoom:M=>v(A*M),resetZoom:()=>v(1),storyId:m0(n),baseUrl:"./iframe.html"}),f.createElement(s0.Provider,{value:{scale:A}},f.createElement(g0,{className:"docs-story",onCopyCapture:o&&j},f.createElement(p0,{isColumn:t||!Array.isArray(n),columns:r,layout:c},f.createElement(Qn.Element,{scale:A},Array.isArray(n)?n.map((M,P)=>f.createElement("div",{key:P},M)):f.createElement("div",null,n))),f.createElement(qn,{actionItems:k}))),o&&h&&y)};R(b0)(()=>({".docs-story":{paddingTop:32,paddingBottom:40}}));function Mt(){return Mt=Object.assign?Object.assign.bind():function(e){for(var t=1;t(e[t.toLowerCase()]=t,e),{class:"className",for:"htmlFor"}),Nc={amp:"&",apos:"'",gt:">",lt:"<",nbsp:"\xA0",quot:"\u201C"},v0=["style","script"],A0=/([-A-Z0-9_:]+)(?:\s*=\s*(?:(?:"((?:\\.|[^"])*)")|(?:'((?:\\.|[^'])*)')|(?:\{((?:\\.|{[^}]*?}|[^}])*)\})))?/gi,D0=/mailto:/i,S0=/\n{2,}$/,pd=/^(\s*>[\s\S]*?)(?=\n\n|$)/,w0=/^ *> ?/gm,C0=/^(?:\[!([^\]]*)\]\n)?([\s\S]*)/,x0=/^ {2,}\n/,T0=/^(?:( *[-*_])){3,} *(?:\n *)+\n/,hd=/^(?: {1,3})?(`{3,}|~{3,}) *(\S+)? *([^\n]*?)?\n([\s\S]*?)(?:\1\n?|$)/,fd=/^(?: {4}[^\n]+\n*)+(?:\n *)+\n?/,F0=/^(`+)\s*([\s\S]*?[^`])\s*\1(?!`)/,I0=/^(?:\n *)*\n/,k0=/\r\n?/g,R0=/^\[\^([^\]]+)](:(.*)((\n+ {4,}.*)|(\n(?!\[\^).+))*)/,O0=/^\[\^([^\]]+)]/,_0=/\f/g,B0=/^---[ \t]*\n(.|\n)*\n---[ \t]*\n/,P0=/^\s*?\[(x|\s)\]/,md=/^ *(#{1,6}) *([^\n]+?)(?: +#*)?(?:\n *)*(?:\n|$)/,yd=/^ *(#{1,6}) +([^\n]+?)(?: +#*)?(?:\n *)*(?:\n|$)/,gd=/^([^\n]+)\n *(=|-){3,} *(?:\n *)+\n/,Na=/^ *(?!<[a-z][^ >/]* ?\/>)<([a-z][^ >/]*) ?((?:[^>]*[^/])?)>\n?(\s*(?:<\1[^>]*?>[\s\S]*?<\/\1>|(?!<\1\b)[\s\S])*?)<\/\1>(?!<\/\1>)\n*/i,N0=/&([a-z0-9]+|#[0-9]{1,6}|#x[0-9a-fA-F]{1,6});/gi,bd=/^)/,j0=/^(data|aria|x)-[a-z_][a-z\d_.-]*$/,ja=/^ *<([a-z][a-z0-9:]*)(?:\s+((?:<.*?>|[^>])*))?\/?>(?!<\/\1>)(\s*\n)?/i,L0=/^\{.*\}$/,M0=/^(https?:\/\/[^\s<]+[^<.,:;"')\]\s])/,U0=/^<([^ >]+@[^ >]+)>/,$0=/^<([^ >]+:\/[^ >]+)>/,q0=/-([a-z])?/gi,Ed=/^(\|.*)\n(?: *(\|? *[-:]+ *\|[-| :]*)\n((?:.*\|.*\n)*))?\n?/,V0=/^\[([^\]]*)\]:\s+]+)>?\s*("([^"]*)")?/,J0=/^!\[([^\]]*)\] ?\[([^\]]*)\]/,z0=/^\[([^\]]*)\] ?\[([^\]]*)\]/,H0=/(\n|^[-*]\s|^#|^ {2,}|^-{2,}|^>\s)/,G0=/\t/g,W0=/(^ *\||\| *$)/g,K0=/^ *:-+: *$/,Y0=/^ *:-+ *$/,X0=/^ *-+: *$/,_n="((?:\\[.*?\\][([].*?[)\\]]|<.*?>(?:.*?<.*?>)?|`.*?`|~~.*?~~|==.*?==|.|\\n)*?)",Q0=new RegExp(`^([*_])\\1${_n}\\1\\1(?!\\1)`),Z0=new RegExp(`^([*_])${_n}\\1(?!\\1|\\w)`),e2=new RegExp(`^==${_n}==`),t2=new RegExp(`^~~${_n}~~`),r2=/^\\([^0-9A-Za-z\s])/,n2=/^[\s\S]+?(?=[^0-9A-Z\s\u00c0-\uffff&#;.()'"]|\d+\.|\n\n| {2,}\n|\w+:\S|$)/i,o2=/^\n+/,a2=/^([ \t]*)/,i2=/\\([^\\])/g,jc=/ *\n+$/,s2=/(?:^|\n)( *)$/,qa="(?:\\d+\\.)",Va="(?:[*+-])";function vd(e){return"( *)("+(e===1?qa:Va)+") +"}var Ad=vd(1),Dd=vd(2);function Sd(e){return new RegExp("^"+(e===1?Ad:Dd))}var l2=Sd(1),u2=Sd(2);function wd(e){return new RegExp("^"+(e===1?Ad:Dd)+"[^\\n]*(?:\\n(?!\\1"+(e===1?qa:Va)+" )[^\\n]*)*(\\n|$)","gm")}var Cd=wd(1),xd=wd(2);function Td(e){let t=e===1?qa:Va;return new RegExp("^( *)("+t+") [\\s\\S]+?(?:\\n{2,}(?! )(?!\\1"+t+" (?!"+t+" ))\\n*|\\s*\\n*$)")}var Fd=Td(1),Id=Td(2);function Lc(e,t){let r=t===1,n=r?Fd:Id,o=r?Cd:xd,a=r?l2:u2;return{match(i,s){let l=s2.exec(s.prevCapture);return l&&(s.list||!s.inline&&!s.simple)?n.exec(i=l[1]+i):null},order:1,parse(i,s,l){let c=r?+i[2]:void 0,p=i[0].replace(S0,` -`).match(o),h=!1;return{items:p.map(function(d,y){let g=a.exec(d)[0].length,A=new RegExp("^ {1,"+g+"}","gm"),v=d.replace(A,"").replace(a,""),S=y===p.length-1,w=v.indexOf(` - -`)!==-1||S&&h;h=w;let x=l.inline,C=l.list,k;l.list=!0,w?(l.inline=!1,k=v.replace(jc,` - -`)):(l.inline=!0,k=v.replace(jc,""));let F=s(k,l);return l.inline=x,l.list=C,F}),ordered:r,start:c}},render:(i,s,l)=>e(i.ordered?"ol":"ul",{key:l.key,start:i.type===G.orderedList?i.start:void 0},i.items.map(function(c,p){return e("li",{key:p},s(c,l))}))}}var c2=new RegExp(`^\\[((?:\\[[^\\]]*\\]|[^\\[\\]]|\\](?=[^\\[]*\\]))*)\\]\\(\\s*?(?:\\s+['"]([\\s\\S]*?)['"])?\\s*\\)`),d2=/^!\[(.*?)\]\( *((?:\([^)]*\)|[^() ])*) *"?([^)"]*)?"?\)/,kd=[pd,hd,fd,md,gd,yd,bd,Ed,Cd,Fd,xd,Id],p2=[...kd,/^[^\n]+(?: \n|\n{2,})/,Na,ja];function Ir(e){return e.replace(/[ÀÁÂÃÄÅàáâãä忯]/g,"a").replace(/[çÇ]/g,"c").replace(/[ðÐ]/g,"d").replace(/[ÈÉÊËéèêë]/g,"e").replace(/[ÏïÎîÍíÌì]/g,"i").replace(/[Ññ]/g,"n").replace(/[øØœŒÕõÔôÓóÒò]/g,"o").replace(/[ÜüÛûÚúÙù]/g,"u").replace(/[ŸÿÝý]/g,"y").replace(/[^a-z0-9- ]/gi,"").replace(/ /gi,"-").toLowerCase()}function h2(e){return X0.test(e)?"right":K0.test(e)?"center":Y0.test(e)?"left":null}function Mc(e,t,r,n){let o=r.inTable;r.inTable=!0;let a=e.trim().split(/( *(?:`[^`]*`|\\\||\|) *)/).reduce((s,l)=>(l.trim()==="|"?s.push(n?{type:G.tableSeparator}:{type:G.text,text:l}):l!==""&&s.push.apply(s,t(l,r)),s),[]);r.inTable=o;let i=[[]];return a.forEach(function(s,l){s.type===G.tableSeparator?l!==0&&l!==a.length-1&&i.push([]):(s.type!==G.text||a[l+1]!=null&&a[l+1].type!==G.tableSeparator||(s.text=s.text.trimEnd()),i[i.length-1].push(s))}),i}function f2(e,t,r){r.inline=!0;let n=e[2]?e[2].replace(W0,"").split("|").map(h2):[],o=e[3]?function(i,s,l){return i.trim().split(` -`).map(function(c){return Mc(c,s,l,!0)})}(e[3],t,r):[],a=Mc(e[1],t,r,!!o.length);return r.inline=!1,o.length?{align:n,cells:o,header:a,type:G.table}:{children:a,type:G.paragraph}}function Uc(e,t){return e.align[t]==null?{}:{textAlign:e.align[t]}}function At(e){return function(t,r){return r.inline?e.exec(t):null}}function Dt(e){return function(t,r){return r.inline||r.simple?e.exec(t):null}}function it(e){return function(t,r){return r.inline||r.simple?null:e.exec(t)}}function kr(e){return function(t){return e.exec(t)}}function m2(e,t){if(t.inline||t.simple)return null;let r="";e.split(` -`).every(o=>!kd.some(a=>a.test(o))&&(r+=o+` -`,o.trim()));let n=r.trimEnd();return n==""?null:[r,n]}function y2(e){try{if(decodeURIComponent(e).replace(/[^A-Za-z0-9/:]/g,"").match(/^\s*(javascript|vbscript|data(?!:image)):/i))return null}catch{return null}return e}function $c(e){return e.replace(i2,"$1")}function Tn(e,t,r){let n=r.inline||!1,o=r.simple||!1;r.inline=!0,r.simple=!0;let a=e(t,r);return r.inline=n,r.simple=o,a}function g2(e,t,r){let n=r.inline||!1,o=r.simple||!1;r.inline=!1,r.simple=!0;let a=e(t,r);return r.inline=n,r.simple=o,a}function b2(e,t,r){let n=r.inline||!1;r.inline=!1;let o=e(t,r);return r.inline=n,o}var Sa=(e,t,r)=>({children:Tn(t,e[1],r)});function wa(){return{}}function Ca(){return null}function E2(...e){return e.filter(Boolean).join(" ")}function xa(e,t,r){let n=e,o=t.split(".");for(;o.length&&(n=n[o[0]],n!==void 0);)o.shift();return n||r}function v2(e="",t={}){function r(d,y,...g){let A=xa(t.overrides,`${d}.props`,{});return t.createElement(function(v,S){let w=xa(S,v);return w?typeof w=="function"||typeof w=="object"&&"render"in w?w:xa(S,`${v}.component`,v):v}(d,t.overrides),Mt({},y,A,{className:E2(y?.className,A.className)||void 0}),...g)}function n(d){d=d.replace(B0,"");let y=!1;t.forceInline?y=!0:t.forceBlock||(y=H0.test(d)===!1);let g=c(l(y?d:`${d.trimEnd().replace(o2,"")} - -`,{inline:y}));for(;typeof g[g.length-1]=="string"&&!g[g.length-1].trim();)g.pop();if(t.wrapper===null)return g;let A=t.wrapper||(y?"span":"div"),v;if(g.length>1||t.forceWrapper)v=g;else{if(g.length===1)return v=g[0],typeof v=="string"?r("span",{key:"outer"},v):v;v=null}return t.createElement(A,{key:"outer"},v)}function o(d,y){let g=y.match(A0);return g?g.reduce(function(A,v){let S=v.indexOf("=");if(S!==-1){let w=function(F){return F.indexOf("-")!==-1&&F.match(j0)===null&&(F=F.replace(q0,function(_,j){return j.toUpperCase()})),F}(v.slice(0,S)).trim(),x=function(F){let _=F[0];return(_==='"'||_==="'")&&F.length>=2&&F[F.length-1]===_?F.slice(1,-1):F}(v.slice(S+1).trim()),C=Pc[w]||w;if(C==="ref")return A;let k=A[C]=function(F,_,j,M){return _==="style"?j.split(/;\s?/).reduce(function(P,W){let L=W.slice(0,W.indexOf(":"));return P[L.trim().replace(/(-[a-z])/g,z=>z[1].toUpperCase())]=W.slice(L.length+1).trim(),P},{}):_==="href"||_==="src"?M(j,F,_):(j.match(L0)&&(j=j.slice(1,j.length-1)),j==="true"||j!=="false"&&j)}(d,w,x,t.sanitizer);typeof k=="string"&&(Na.test(k)||ja.test(k))&&(A[C]=n(k.trim()))}else v!=="style"&&(A[Pc[v]||v]=!0);return A},{}):null}t.overrides=t.overrides||{},t.sanitizer=t.sanitizer||y2,t.slugify=t.slugify||Ir,t.namedCodesToUnicode=t.namedCodesToUnicode?Mt({},Nc,t.namedCodesToUnicode):Nc,t.createElement=t.createElement||hi;let a=[],i={},s={[G.blockQuote]:{match:it(pd),order:1,parse(d,y,g){let[,A,v]=d[0].replace(w0,"").match(C0);return{alert:A,children:y(v,g)}},render(d,y,g){let A={key:g.key};return d.alert&&(A.className="markdown-alert-"+t.slugify(d.alert.toLowerCase(),Ir),d.children.unshift({attrs:{},children:[{type:G.text,text:d.alert}],noInnerParse:!0,type:G.htmlBlock,tag:"header"})),r("blockquote",A,y(d.children,g))}},[G.breakLine]:{match:kr(x0),order:1,parse:wa,render:(d,y,g)=>r("br",{key:g.key})},[G.breakThematic]:{match:it(T0),order:1,parse:wa,render:(d,y,g)=>r("hr",{key:g.key})},[G.codeBlock]:{match:it(fd),order:0,parse:d=>({lang:void 0,text:d[0].replace(/^ {4}/gm,"").replace(/\n+$/,"")}),render:(d,y,g)=>r("pre",{key:g.key},r("code",Mt({},d.attrs,{className:d.lang?`lang-${d.lang}`:""}),d.text))},[G.codeFenced]:{match:it(hd),order:0,parse:d=>({attrs:o("code",d[3]||""),lang:d[2]||void 0,text:d[4],type:G.codeBlock})},[G.codeInline]:{match:Dt(F0),order:3,parse:d=>({text:d[2]}),render:(d,y,g)=>r("code",{key:g.key},d.text)},[G.footnote]:{match:it(R0),order:0,parse:d=>(a.push({footnote:d[2],identifier:d[1]}),{}),render:Ca},[G.footnoteReference]:{match:At(O0),order:1,parse:d=>({target:`#${t.slugify(d[1],Ir)}`,text:d[1]}),render:(d,y,g)=>r("a",{key:g.key,href:t.sanitizer(d.target,"a","href")},r("sup",{key:g.key},d.text))},[G.gfmTask]:{match:At(P0),order:1,parse:d=>({completed:d[1].toLowerCase()==="x"}),render:(d,y,g)=>r("input",{checked:d.completed,key:g.key,readOnly:!0,type:"checkbox"})},[G.heading]:{match:it(t.enforceAtxHeadings?yd:md),order:1,parse:(d,y,g)=>({children:Tn(y,d[2],g),id:t.slugify(d[2],Ir),level:d[1].length}),render:(d,y,g)=>r(`h${d.level}`,{id:d.id,key:g.key},y(d.children,g))},[G.headingSetext]:{match:it(gd),order:0,parse:(d,y,g)=>({children:Tn(y,d[1],g),level:d[2]==="="?1:2,type:G.heading})},[G.htmlBlock]:{match:kr(Na),order:1,parse(d,y,g){let[,A]=d[3].match(a2),v=new RegExp(`^${A}`,"gm"),S=d[3].replace(v,""),w=(x=S,p2.some(j=>j.test(x))?b2:Tn);var x;let C=d[1].toLowerCase(),k=v0.indexOf(C)!==-1,F=(k?C:d[1]).trim(),_={attrs:o(F,d[2]),noInnerParse:k,tag:F};return g.inAnchor=g.inAnchor||C==="a",k?_.text=d[3]:_.children=w(y,S,g),g.inAnchor=!1,_},render:(d,y,g)=>r(d.tag,Mt({key:g.key},d.attrs),d.text||(d.children?y(d.children,g):""))},[G.htmlSelfClosing]:{match:kr(ja),order:1,parse(d){let y=d[1].trim();return{attrs:o(y,d[2]||""),tag:y}},render:(d,y,g)=>r(d.tag,Mt({},d.attrs,{key:g.key}))},[G.htmlComment]:{match:kr(bd),order:1,parse:()=>({}),render:Ca},[G.image]:{match:Dt(d2),order:1,parse:d=>({alt:d[1],target:$c(d[2]),title:d[3]}),render:(d,y,g)=>r("img",{key:g.key,alt:d.alt||void 0,title:d.title||void 0,src:t.sanitizer(d.target,"img","src")})},[G.link]:{match:At(c2),order:3,parse:(d,y,g)=>({children:g2(y,d[1],g),target:$c(d[2]),title:d[3]}),render:(d,y,g)=>r("a",{key:g.key,href:t.sanitizer(d.target,"a","href"),title:d.title},y(d.children,g))},[G.linkAngleBraceStyleDetector]:{match:At($0),order:0,parse:d=>({children:[{text:d[1],type:G.text}],target:d[1],type:G.link})},[G.linkBareUrlDetector]:{match:(d,y)=>y.inAnchor||t.disableAutoLink?null:At(M0)(d,y),order:0,parse:d=>({children:[{text:d[1],type:G.text}],target:d[1],title:void 0,type:G.link})},[G.linkMailtoDetector]:{match:At(U0),order:0,parse(d){let y=d[1],g=d[1];return D0.test(g)||(g="mailto:"+g),{children:[{text:y.replace("mailto:",""),type:G.text}],target:g,type:G.link}}},[G.orderedList]:Lc(r,1),[G.unorderedList]:Lc(r,2),[G.newlineCoalescer]:{match:it(I0),order:3,parse:wa,render:()=>` -`},[G.paragraph]:{match:m2,order:3,parse:Sa,render:(d,y,g)=>r("p",{key:g.key},y(d.children,g))},[G.ref]:{match:At(V0),order:0,parse:d=>(i[d[1]]={target:d[2],title:d[4]},{}),render:Ca},[G.refImage]:{match:Dt(J0),order:0,parse:d=>({alt:d[1]||void 0,ref:d[2]}),render:(d,y,g)=>i[d.ref]?r("img",{key:g.key,alt:d.alt,src:t.sanitizer(i[d.ref].target,"img","src"),title:i[d.ref].title}):null},[G.refLink]:{match:At(z0),order:0,parse:(d,y,g)=>({children:y(d[1],g),fallbackChildren:d[0],ref:d[2]}),render:(d,y,g)=>i[d.ref]?r("a",{key:g.key,href:t.sanitizer(i[d.ref].target,"a","href"),title:i[d.ref].title},y(d.children,g)):r("span",{key:g.key},d.fallbackChildren)},[G.table]:{match:it(Ed),order:1,parse:f2,render(d,y,g){let A=d;return r("table",{key:g.key},r("thead",null,r("tr",null,A.header.map(function(v,S){return r("th",{key:S,style:Uc(A,S)},y(v,g))}))),r("tbody",null,A.cells.map(function(v,S){return r("tr",{key:S},v.map(function(w,x){return r("td",{key:x,style:Uc(A,x)},y(w,g))}))})))}},[G.text]:{match:kr(n2),order:4,parse:d=>({text:d[0].replace(N0,(y,g)=>t.namedCodesToUnicode[g]?t.namedCodesToUnicode[g]:y)}),render:d=>d.text},[G.textBolded]:{match:Dt(Q0),order:2,parse:(d,y,g)=>({children:y(d[2],g)}),render:(d,y,g)=>r("strong",{key:g.key},y(d.children,g))},[G.textEmphasized]:{match:Dt(Z0),order:3,parse:(d,y,g)=>({children:y(d[2],g)}),render:(d,y,g)=>r("em",{key:g.key},y(d.children,g))},[G.textEscaped]:{match:Dt(r2),order:1,parse:d=>({text:d[1],type:G.text})},[G.textMarked]:{match:Dt(e2),order:3,parse:Sa,render:(d,y,g)=>r("mark",{key:g.key},y(d.children,g))},[G.textStrikethroughed]:{match:Dt(t2),order:3,parse:Sa,render:(d,y,g)=>r("del",{key:g.key},y(d.children,g))}};t.disableParsingRawHTML===!0&&(delete s[G.htmlBlock],delete s[G.htmlSelfClosing]);let l=function(d){let y=Object.keys(d);function g(A,v){let S=[];for(v.prevCapture=v.prevCapture||"";A;){let w=0;for(;wS(g,A,v),g,A,v):S(g,A,v)}}(s,t.renderRule),function d(y,g={}){if(Array.isArray(y)){let A=g.key,v=[],S=!1;for(let w=0;w{let{children:t="",options:r}=e,n=function(o,a){if(o==null)return{};var i,s,l={},c=Object.keys(o);for(s=0;s=0||(l[i]=o[i]);return l}(e,E0);return pe(v2(t,r),n)},D2=R.label(({theme:e})=>({lineHeight:"18px",alignItems:"center",marginBottom:8,display:"inline-block",position:"relative",whiteSpace:"nowrap",background:e.boolean.background,borderRadius:"3em",padding:1,'&[aria-disabled="true"]':{opacity:.5,input:{cursor:"not-allowed"}},input:{appearance:"none",width:"100%",height:"100%",position:"absolute",left:0,top:0,margin:0,padding:0,border:"none",background:"transparent",cursor:"pointer",borderRadius:"3em","&:focus":{outline:"none",boxShadow:`${e.color.secondary} 0 0 0 1px inset !important`}},span:{textAlign:"center",fontSize:e.typography.size.s1,fontWeight:e.typography.weight.bold,lineHeight:"1",cursor:"pointer",display:"inline-block",padding:"7px 15px",transition:"all 100ms ease-out",userSelect:"none",borderRadius:"3em",color:ce(.5,e.color.defaultText),background:"transparent","&:hover":{boxShadow:`${Sn(.3,e.appBorderColor)} 0 0 0 1px inset`},"&:active":{boxShadow:`${Sn(.05,e.appBorderColor)} 0 0 0 2px inset`,color:Sn(1,e.appBorderColor)},"&:first-of-type":{paddingRight:8},"&:last-of-type":{paddingLeft:8}},"input:checked ~ span:last-of-type, input:not(:checked) ~ span:first-of-type":{background:e.boolean.selectedBackground,boxShadow:e.base==="light"?`${Sn(.1,e.appBorderColor)} 0 0 2px`:`${e.appBorderColor} 0 0 0 1px`,color:e.color.defaultText,padding:"7px 15px"}})),S2=e=>e==="true",w2=({name:e,value:t,onChange:r,onBlur:n,onFocus:o,argType:a})=>{let i=Ce(()=>r(!1),[r]),s=!!a?.table?.readonly;if(t===void 0)return f.createElement(ht,{variant:"outline",size:"medium",id:yr(e),onClick:i,disabled:s},"Set boolean");let l=Le(e),c=typeof t=="string"?S2(t):t;return f.createElement(D2,{"aria-disabled":s,htmlFor:l,"aria-label":e},f.createElement("input",{id:l,type:"checkbox",onChange:p=>r(p.target.checked),checked:c,role:"switch",disabled:s,name:e,onBlur:n,onFocus:o}),f.createElement("span",{"aria-hidden":"true"},"False"),f.createElement("span",{"aria-hidden":"true"},"True"))},C2=e=>{let[t,r,n]=e.split("-"),o=new Date;return o.setFullYear(parseInt(t,10),parseInt(r,10)-1,parseInt(n,10)),o},x2=e=>{let[t,r]=e.split(":"),n=new Date;return n.setHours(parseInt(t,10)),n.setMinutes(parseInt(r,10)),n},T2=e=>{let t=new Date(e),r=`000${t.getFullYear()}`.slice(-4),n=`0${t.getMonth()+1}`.slice(-2),o=`0${t.getDate()}`.slice(-2);return`${r}-${n}-${o}`},F2=e=>{let t=new Date(e),r=`0${t.getHours()}`.slice(-2),n=`0${t.getMinutes()}`.slice(-2);return`${r}:${n}`},qc=R(Ge.Input)(({readOnly:e})=>({opacity:e?.5:1})),I2=R.div(({theme:e})=>({flex:1,display:"flex",input:{marginLeft:10,flex:1,height:32,"&::-webkit-calendar-picker-indicator":{opacity:.5,height:12,filter:e.base==="light"?void 0:"invert(1)"}},"input:first-of-type":{marginLeft:0,flexGrow:4},"input:last-of-type":{flexGrow:3}})),k2=({name:e,value:t,onChange:r,onFocus:n,onBlur:o,argType:a})=>{let[i,s]=Z(!0),l=Pe(),c=Pe(),p=!!a?.table?.readonly;xe(()=>{i!==!1&&(l&&l.current&&(l.current.value=t?T2(t):""),c&&c.current&&(c.current.value=t?F2(t):""))},[t]);let h=g=>{if(!g.target.value)return r();let A=C2(g.target.value),v=new Date(t);v.setFullYear(A.getFullYear(),A.getMonth(),A.getDate());let S=v.getTime();S&&r(S),s(!!S)},d=g=>{if(!g.target.value)return r();let A=x2(g.target.value),v=new Date(t);v.setHours(A.getHours()),v.setMinutes(A.getMinutes());let S=v.getTime();S&&r(S),s(!!S)},y=Le(e);return f.createElement(I2,null,f.createElement(qc,{type:"date",max:"9999-12-31",ref:l,id:`${y}-date`,name:`${y}-date`,readOnly:p,onChange:h,onFocus:n,onBlur:o}),f.createElement(qc,{type:"time",id:`${y}-time`,name:`${y}-time`,ref:c,onChange:d,readOnly:p,onFocus:n,onBlur:o}),i?null:f.createElement("div",null,"invalid"))},R2=R.label({display:"flex"}),O2=e=>{let t=parseFloat(e);return Number.isNaN(t)?void 0:t},_2=R(Ge.Input)(({readOnly:e})=>({opacity:e?.5:1})),B2=({name:e,value:t,onChange:r,min:n,max:o,step:a,onBlur:i,onFocus:s,argType:l})=>{let[c,p]=Z(typeof t=="number"?t:""),[h,d]=Z(!1),[y,g]=Z(null),A=!!l?.table?.readonly,v=Ce(x=>{p(x.target.value);let C=parseFloat(x.target.value);Number.isNaN(C)?g(new Error(`'${x.target.value}' is not a number`)):(r(C),g(null))},[r,g]),S=Ce(()=>{p("0"),r(0),d(!0)},[d]),w=Pe(null);return xe(()=>{h&&w.current&&w.current.select()},[h]),xe(()=>{c!==(typeof t=="number"?t:"")&&p(t)},[t]),t===void 0?f.createElement(ht,{variant:"outline",size:"medium",id:yr(e),onClick:S,disabled:A},"Set number"):f.createElement(R2,null,f.createElement(_2,{ref:w,id:Le(e),type:"number",onChange:v,size:"flex",placeholder:"Edit number...",value:c,valid:y?"error":null,autoFocus:h,readOnly:A,name:e,min:n,max:o,step:a,onFocus:s,onBlur:i}))},Rd=(e,t)=>{let r=t&&Object.entries(t).find(([n,o])=>o===e);return r?r[0]:void 0},La=(e,t)=>e&&t?Object.entries(t).filter(r=>e.includes(r[1])).map(r=>r[0]):[],Od=(e,t)=>e&&t&&e.map(r=>t[r]),P2=R.div(({isInline:e})=>e?{display:"flex",flexWrap:"wrap",alignItems:"flex-start",label:{display:"inline-flex",marginRight:15}}:{label:{display:"flex"}},e=>{if(e["aria-readonly"]==="true")return{input:{cursor:"not-allowed"}}}),N2=R.span({"[aria-readonly=true] &":{opacity:.5}}),j2=R.label({lineHeight:"20px",alignItems:"center",marginBottom:8,"&:last-child":{marginBottom:0},input:{margin:0,marginRight:6}}),Vc=({name:e,options:t,value:r,onChange:n,isInline:o,argType:a})=>{if(!t)return Xr.warn(`Checkbox with no options: ${e}`),f.createElement(f.Fragment,null,"-");let i=La(r,t),[s,l]=Z(i),c=!!a?.table?.readonly,p=d=>{let y=d.target.value,g=[...s];g.includes(y)?g.splice(g.indexOf(y),1):g.push(y),n(Od(g,t)),l(g)};xe(()=>{l(La(r,t))},[r]);let h=Le(e);return f.createElement(P2,{"aria-readonly":c,isInline:o},Object.keys(t).map((d,y)=>{let g=`${h}-${y}`;return f.createElement(j2,{key:g,htmlFor:g},f.createElement("input",{type:"checkbox",disabled:c,id:g,name:g,value:d,onChange:p,checked:s?.includes(d)}),f.createElement(N2,null,d))}))},L2=R.div(({isInline:e})=>e?{display:"flex",flexWrap:"wrap",alignItems:"flex-start",label:{display:"inline-flex",marginRight:15}}:{label:{display:"flex"}},e=>{if(e["aria-readonly"]==="true")return{input:{cursor:"not-allowed"}}}),M2=R.span({"[aria-readonly=true] &":{opacity:.5}}),U2=R.label({lineHeight:"20px",alignItems:"center",marginBottom:8,"&:last-child":{marginBottom:0},input:{margin:0,marginRight:6}}),Jc=({name:e,options:t,value:r,onChange:n,isInline:o,argType:a})=>{if(!t)return Xr.warn(`Radio with no options: ${e}`),f.createElement(f.Fragment,null,"-");let i=Rd(r,t),s=Le(e),l=!!a?.table?.readonly;return f.createElement(L2,{"aria-readonly":l,isInline:o},Object.keys(t).map((c,p)=>{let h=`${s}-${p}`;return f.createElement(U2,{key:h,htmlFor:h},f.createElement("input",{type:"radio",id:h,name:s,disabled:l,value:c,onChange:d=>n(t[d.currentTarget.value]),checked:c===i}),f.createElement(M2,null,c))}))},$2={appearance:"none",border:"0 none",boxSizing:"inherit",display:" block",margin:" 0",background:"transparent",padding:0,fontSize:"inherit",position:"relative"},_d=R.select($2,({theme:e})=>({boxSizing:"border-box",position:"relative",padding:"6px 10px",width:"100%",color:e.input.color||"inherit",background:e.input.background,borderRadius:e.input.borderRadius,boxShadow:`${e.input.border} 0 0 0 1px inset`,fontSize:e.typography.size.s2-1,lineHeight:"20px","&:focus":{boxShadow:`${e.color.secondary} 0 0 0 1px inset`,outline:"none"},"&[disabled]":{cursor:"not-allowed",opacity:.5},"::placeholder":{color:e.textMutedColor},"&[multiple]":{overflow:"auto",padding:0,option:{display:"block",padding:"6px 10px",marginLeft:1,marginRight:1}}})),Bd=R.span(({theme:e})=>({display:"inline-block",lineHeight:"normal",overflow:"hidden",position:"relative",verticalAlign:"top",width:"100%",svg:{position:"absolute",zIndex:1,pointerEvents:"none",height:"12px",marginTop:"-6px",right:"12px",top:"50%",fill:e.textMutedColor,path:{fill:e.textMutedColor}}})),zc="Choose option...",q2=({name:e,value:t,options:r,onChange:n,argType:o})=>{let a=c=>{n(r[c.currentTarget.value])},i=Rd(t,r)||zc,s=Le(e),l=!!o?.table?.readonly;return f.createElement(Bd,null,f.createElement(fo,null),f.createElement(_d,{disabled:l,id:s,value:i,onChange:a},f.createElement("option",{key:"no-selection",disabled:!0},zc),Object.keys(r).map(c=>f.createElement("option",{key:c,value:c},c))))},V2=({name:e,value:t,options:r,onChange:n,argType:o})=>{let a=c=>{let p=Array.from(c.currentTarget.options).filter(h=>h.selected).map(h=>h.value);n(Od(p,r))},i=La(t,r),s=Le(e),l=!!o?.table?.readonly;return f.createElement(Bd,null,f.createElement(_d,{disabled:l,id:s,multiple:!0,value:i,onChange:a},Object.keys(r).map(c=>f.createElement("option",{key:c,value:c},c))))},Hc=e=>{let{name:t,options:r}=e;return r?e.isMulti?f.createElement(V2,{...e}):f.createElement(q2,{...e}):(Xr.warn(`Select with no options: ${t}`),f.createElement(f.Fragment,null,"-"))},J2=(e,t)=>Array.isArray(e)?e.reduce((r,n)=>(r[t?.[n]||String(n)]=n,r),{}):e,z2={check:Vc,"inline-check":Vc,radio:Jc,"inline-radio":Jc,select:Hc,"multi-select":Hc},ar=e=>{let{type:t="select",labels:r,argType:n}=e,o={...e,argType:n,options:n?J2(n.options,r):{},isInline:t.includes("inline"),isMulti:t.includes("multi")},a=z2[t];if(a)return f.createElement(a,{...o});throw new Error(`Unknown options type: ${t}`)},H2="Error",G2="Object",W2="Array",K2="String",Y2="Number",X2="Boolean",Q2="Date",Z2="Null",e1="Undefined",t1="Function",r1="Symbol",Pd="ADD_DELTA_TYPE",Nd="REMOVE_DELTA_TYPE",jd="UPDATE_DELTA_TYPE",Ja="value",n1="key";function Ut(e){return e!==null&&typeof e=="object"&&!Array.isArray(e)&&typeof e[Symbol.iterator]=="function"?"Iterable":Object.prototype.toString.call(e).slice(8,-1)}function Ld(e,t){let r=Ut(e),n=Ut(t);return(r==="Function"||n==="Function")&&n!==r}var za=class extends dt{constructor(e){super(e),this.state={inputRefKey:null,inputRefValue:null},this.refInputValue=this.refInputValue.bind(this),this.refInputKey=this.refInputKey.bind(this),this.onKeydown=this.onKeydown.bind(this),this.onSubmit=this.onSubmit.bind(this)}componentDidMount(){let{inputRefKey:e,inputRefValue:t}=this.state,{onlyValue:r}=this.props;e&&typeof e.focus=="function"&&e.focus(),r&&t&&typeof t.focus=="function"&&t.focus(),document.addEventListener("keydown",this.onKeydown)}componentWillUnmount(){document.removeEventListener("keydown",this.onKeydown)}onKeydown(e){e.altKey||e.ctrlKey||e.metaKey||e.shiftKey||e.repeat||((e.code==="Enter"||e.key==="Enter")&&(e.preventDefault(),this.onSubmit()),(e.code==="Escape"||e.key==="Escape")&&(e.preventDefault(),this.props.handleCancel()))}onSubmit(){let{handleAdd:e,onlyValue:t,onSubmitValueParser:r,keyPath:n,deep:o}=this.props,{inputRefKey:a,inputRefValue:i}=this.state,s={};if(!t){if(!a.value)return;s.key=a.value}s.newValue=r(!1,n,o,s.key,i.value),e(s)}refInputKey(e){this.state.inputRefKey=e}refInputValue(e){this.state.inputRefValue=e}render(){let{handleCancel:e,onlyValue:t,addButtonElement:r,cancelButtonElement:n,inputElementGenerator:o,keyPath:a,deep:i}=this.props,s=pe(r,{onClick:this.onSubmit}),l=pe(n,{onClick:e}),c=o(Ja,a,i),p=pe(c,{placeholder:"Value",ref:this.refInputValue}),h=null;if(!t){let d=o(n1,a,i);h=pe(d,{placeholder:"Key",ref:this.refInputKey})}return f.createElement("span",{className:"rejt-add-value-node"},h,p,l,s)}};za.defaultProps={onlyValue:!1,addButtonElement:f.createElement("button",null,"+"),cancelButtonElement:f.createElement("button",null,"c")};var Md=class extends dt{constructor(e){super(e);let t=[...e.keyPath,e.name];this.state={data:e.data,name:e.name,keyPath:t,deep:e.deep,nextDeep:e.deep+1,collapsed:e.isCollapsed(t,e.deep,e.data),addFormVisible:!1},this.handleCollapseMode=this.handleCollapseMode.bind(this),this.handleRemoveItem=this.handleRemoveItem.bind(this),this.handleAddMode=this.handleAddMode.bind(this),this.handleAddValueAdd=this.handleAddValueAdd.bind(this),this.handleAddValueCancel=this.handleAddValueCancel.bind(this),this.handleEditValue=this.handleEditValue.bind(this),this.onChildUpdate=this.onChildUpdate.bind(this),this.renderCollapsed=this.renderCollapsed.bind(this),this.renderNotCollapsed=this.renderNotCollapsed.bind(this)}static getDerivedStateFromProps(e,t){return e.data!==t.data?{data:e.data}:null}onChildUpdate(e,t){let{data:r,keyPath:n}=this.state;r[e]=t,this.setState({data:r});let{onUpdate:o}=this.props,a=n.length;o(n[a-1],r)}handleAddMode(){this.setState({addFormVisible:!0})}handleCollapseMode(){this.setState(e=>({collapsed:!e.collapsed}))}handleRemoveItem(e){return()=>{let{beforeRemoveAction:t,logger:r}=this.props,{data:n,keyPath:o,nextDeep:a}=this.state,i=n[e];t(e,o,a,i).then(()=>{let s={keyPath:o,deep:a,key:e,oldValue:i,type:Nd};n.splice(e,1),this.setState({data:n});let{onUpdate:l,onDeltaUpdate:c}=this.props;l(o[o.length-1],n),c(s)}).catch(r.error)}}handleAddValueAdd({newValue:e}){let{data:t,keyPath:r,nextDeep:n}=this.state,{beforeAddAction:o,logger:a}=this.props;o(t.length,r,n,e).then(()=>{let i=[...t,e];this.setState({data:i}),this.handleAddValueCancel();let{onUpdate:s,onDeltaUpdate:l}=this.props;s(r[r.length-1],i),l({type:Pd,keyPath:r,deep:n,key:i.length-1,newValue:e})}).catch(a.error)}handleAddValueCancel(){this.setState({addFormVisible:!1})}handleEditValue({key:e,value:t}){return new Promise((r,n)=>{let{beforeUpdateAction:o}=this.props,{data:a,keyPath:i,nextDeep:s}=this.state,l=a[e];o(e,i,s,l,t).then(()=>{a[e]=t,this.setState({data:a});let{onUpdate:c,onDeltaUpdate:p}=this.props;c(i[i.length-1],a),p({type:jd,keyPath:i,deep:s,key:e,newValue:t,oldValue:l}),r(void 0)}).catch(n)})}renderCollapsed(){let{name:e,data:t,keyPath:r,deep:n}=this.state,{handleRemove:o,readOnly:a,getStyle:i,dataType:s,minusMenuElement:l}=this.props,{minus:c,collapsed:p}=i(e,t,r,n,s),h=a(e,t,r,n,s),d=pe(l,{onClick:o,className:"rejt-minus-menu",style:c});return f.createElement("span",{className:"rejt-collapsed"},f.createElement("span",{className:"rejt-collapsed-text",style:p,onClick:this.handleCollapseMode},"[...] ",t.length," ",t.length===1?"item":"items"),!h&&d)}renderNotCollapsed(){let{name:e,data:t,keyPath:r,deep:n,addFormVisible:o,nextDeep:a}=this.state,{isCollapsed:i,handleRemove:s,onDeltaUpdate:l,readOnly:c,getStyle:p,dataType:h,addButtonElement:d,cancelButtonElement:y,editButtonElement:g,inputElementGenerator:A,textareaElementGenerator:v,minusMenuElement:S,plusMenuElement:w,beforeRemoveAction:x,beforeAddAction:C,beforeUpdateAction:k,logger:F,onSubmitValueParser:_}=this.props,{minus:j,plus:M,delimiter:P,ul:W,addForm:L}=p(e,t,r,n,h),z=c(e,t,r,n,h),D=pe(w,{onClick:this.handleAddMode,className:"rejt-plus-menu",style:M}),T=pe(S,{onClick:s,className:"rejt-minus-menu",style:j});return f.createElement("span",{className:"rejt-not-collapsed"},f.createElement("span",{className:"rejt-not-collapsed-delimiter",style:P},"["),!o&&D,f.createElement("ul",{className:"rejt-not-collapsed-list",style:W},t.map((O,U)=>f.createElement(Bn,{key:U,name:U.toString(),data:O,keyPath:r,deep:a,isCollapsed:i,handleRemove:this.handleRemoveItem(U),handleUpdateValue:this.handleEditValue,onUpdate:this.onChildUpdate,onDeltaUpdate:l,readOnly:c,getStyle:p,addButtonElement:d,cancelButtonElement:y,editButtonElement:g,inputElementGenerator:A,textareaElementGenerator:v,minusMenuElement:S,plusMenuElement:w,beforeRemoveAction:x,beforeAddAction:C,beforeUpdateAction:k,logger:F,onSubmitValueParser:_}))),!z&&o&&f.createElement("div",{className:"rejt-add-form",style:L},f.createElement(za,{handleAdd:this.handleAddValueAdd,handleCancel:this.handleAddValueCancel,onlyValue:!0,addButtonElement:d,cancelButtonElement:y,inputElementGenerator:A,keyPath:r,deep:n,onSubmitValueParser:_})),f.createElement("span",{className:"rejt-not-collapsed-delimiter",style:P},"]"),!z&&T)}render(){let{name:e,collapsed:t,data:r,keyPath:n,deep:o}=this.state,{dataType:a,getStyle:i}=this.props,s=t?this.renderCollapsed():this.renderNotCollapsed(),l=i(e,r,n,o,a);return f.createElement("div",{className:"rejt-array-node"},f.createElement("span",{onClick:this.handleCollapseMode},f.createElement("span",{className:"rejt-name",style:l.name},e," :"," ")),s)}};Md.defaultProps={keyPath:[],deep:0,minusMenuElement:f.createElement("span",null," - "),plusMenuElement:f.createElement("span",null," + ")};var Ud=class extends dt{constructor(e){super(e);let t=[...e.keyPath,e.name];this.state={value:e.value,name:e.name,keyPath:t,deep:e.deep,editEnabled:!1,inputRef:null},this.handleEditMode=this.handleEditMode.bind(this),this.refInput=this.refInput.bind(this),this.handleCancelEdit=this.handleCancelEdit.bind(this),this.handleEdit=this.handleEdit.bind(this),this.onKeydown=this.onKeydown.bind(this)}static getDerivedStateFromProps(e,t){return e.value!==t.value?{value:e.value}:null}componentDidUpdate(){let{editEnabled:e,inputRef:t,name:r,value:n,keyPath:o,deep:a}=this.state,{readOnly:i,dataType:s}=this.props,l=i(r,n,o,a,s);e&&!l&&typeof t.focus=="function"&&t.focus()}componentDidMount(){document.addEventListener("keydown",this.onKeydown)}componentWillUnmount(){document.removeEventListener("keydown",this.onKeydown)}onKeydown(e){e.altKey||e.ctrlKey||e.metaKey||e.shiftKey||e.repeat||((e.code==="Enter"||e.key==="Enter")&&(e.preventDefault(),this.handleEdit()),(e.code==="Escape"||e.key==="Escape")&&(e.preventDefault(),this.handleCancelEdit()))}handleEdit(){let{handleUpdateValue:e,originalValue:t,logger:r,onSubmitValueParser:n,keyPath:o}=this.props,{inputRef:a,name:i,deep:s}=this.state;if(!a)return;let l=n(!0,o,s,i,a.value);e({value:l,key:i}).then(()=>{Ld(t,l)||this.handleCancelEdit()}).catch(r.error)}handleEditMode(){this.setState({editEnabled:!0})}refInput(e){this.state.inputRef=e}handleCancelEdit(){this.setState({editEnabled:!1})}render(){let{name:e,value:t,editEnabled:r,keyPath:n,deep:o}=this.state,{handleRemove:a,originalValue:i,readOnly:s,dataType:l,getStyle:c,editButtonElement:p,cancelButtonElement:h,textareaElementGenerator:d,minusMenuElement:y,keyPath:g}=this.props,A=c(e,i,n,o,l),v=null,S=null,w=s(e,i,n,o,l);if(r&&!w){let x=d(Ja,g,o,e,i,l),C=pe(p,{onClick:this.handleEdit}),k=pe(h,{onClick:this.handleCancelEdit}),F=pe(x,{ref:this.refInput,defaultValue:i});v=f.createElement("span",{className:"rejt-edit-form",style:A.editForm},F," ",k,C),S=null}else{v=f.createElement("span",{className:"rejt-value",style:A.value,onClick:w?null:this.handleEditMode},t);let x=pe(y,{onClick:a,className:"rejt-minus-menu",style:A.minus});S=w?null:x}return f.createElement("li",{className:"rejt-function-value-node",style:A.li},f.createElement("span",{className:"rejt-name",style:A.name},e," :"," "),v,S)}};Ud.defaultProps={keyPath:[],deep:0,handleUpdateValue:()=>{},editButtonElement:f.createElement("button",null,"e"),cancelButtonElement:f.createElement("button",null,"c"),minusMenuElement:f.createElement("span",null," - ")};var Bn=class extends dt{constructor(e){super(e),this.state={data:e.data,name:e.name,keyPath:e.keyPath,deep:e.deep}}static getDerivedStateFromProps(e,t){return e.data!==t.data?{data:e.data}:null}render(){let{data:e,name:t,keyPath:r,deep:n}=this.state,{isCollapsed:o,handleRemove:a,handleUpdateValue:i,onUpdate:s,onDeltaUpdate:l,readOnly:c,getStyle:p,addButtonElement:h,cancelButtonElement:d,editButtonElement:y,inputElementGenerator:g,textareaElementGenerator:A,minusMenuElement:v,plusMenuElement:S,beforeRemoveAction:w,beforeAddAction:x,beforeUpdateAction:C,logger:k,onSubmitValueParser:F}=this.props,_=()=>!0,j=Ut(e);switch(j){case H2:return f.createElement(Ma,{data:e,name:t,isCollapsed:o,keyPath:r,deep:n,handleRemove:a,onUpdate:s,onDeltaUpdate:l,readOnly:_,dataType:j,getStyle:p,addButtonElement:h,cancelButtonElement:d,editButtonElement:y,inputElementGenerator:g,textareaElementGenerator:A,minusMenuElement:v,plusMenuElement:S,beforeRemoveAction:w,beforeAddAction:x,beforeUpdateAction:C,logger:k,onSubmitValueParser:F});case G2:return f.createElement(Ma,{data:e,name:t,isCollapsed:o,keyPath:r,deep:n,handleRemove:a,onUpdate:s,onDeltaUpdate:l,readOnly:c,dataType:j,getStyle:p,addButtonElement:h,cancelButtonElement:d,editButtonElement:y,inputElementGenerator:g,textareaElementGenerator:A,minusMenuElement:v,plusMenuElement:S,beforeRemoveAction:w,beforeAddAction:x,beforeUpdateAction:C,logger:k,onSubmitValueParser:F});case W2:return f.createElement(Md,{data:e,name:t,isCollapsed:o,keyPath:r,deep:n,handleRemove:a,onUpdate:s,onDeltaUpdate:l,readOnly:c,dataType:j,getStyle:p,addButtonElement:h,cancelButtonElement:d,editButtonElement:y,inputElementGenerator:g,textareaElementGenerator:A,minusMenuElement:v,plusMenuElement:S,beforeRemoveAction:w,beforeAddAction:x,beforeUpdateAction:C,logger:k,onSubmitValueParser:F});case K2:return f.createElement(St,{name:t,value:`"${e}"`,originalValue:e,keyPath:r,deep:n,handleRemove:a,handleUpdateValue:i,readOnly:c,dataType:j,getStyle:p,cancelButtonElement:d,editButtonElement:y,inputElementGenerator:g,minusMenuElement:v,logger:k,onSubmitValueParser:F});case Y2:return f.createElement(St,{name:t,value:e,originalValue:e,keyPath:r,deep:n,handleRemove:a,handleUpdateValue:i,readOnly:c,dataType:j,getStyle:p,cancelButtonElement:d,editButtonElement:y,inputElementGenerator:g,minusMenuElement:v,logger:k,onSubmitValueParser:F});case X2:return f.createElement(St,{name:t,value:e?"true":"false",originalValue:e,keyPath:r,deep:n,handleRemove:a,handleUpdateValue:i,readOnly:c,dataType:j,getStyle:p,cancelButtonElement:d,editButtonElement:y,inputElementGenerator:g,minusMenuElement:v,logger:k,onSubmitValueParser:F});case Q2:return f.createElement(St,{name:t,value:e.toISOString(),originalValue:e,keyPath:r,deep:n,handleRemove:a,handleUpdateValue:i,readOnly:_,dataType:j,getStyle:p,cancelButtonElement:d,editButtonElement:y,inputElementGenerator:g,minusMenuElement:v,logger:k,onSubmitValueParser:F});case Z2:return f.createElement(St,{name:t,value:"null",originalValue:"null",keyPath:r,deep:n,handleRemove:a,handleUpdateValue:i,readOnly:c,dataType:j,getStyle:p,cancelButtonElement:d,editButtonElement:y,inputElementGenerator:g,minusMenuElement:v,logger:k,onSubmitValueParser:F});case e1:return f.createElement(St,{name:t,value:"undefined",originalValue:"undefined",keyPath:r,deep:n,handleRemove:a,handleUpdateValue:i,readOnly:c,dataType:j,getStyle:p,cancelButtonElement:d,editButtonElement:y,inputElementGenerator:g,minusMenuElement:v,logger:k,onSubmitValueParser:F});case t1:return f.createElement(Ud,{name:t,value:e.toString(),originalValue:e,keyPath:r,deep:n,handleRemove:a,handleUpdateValue:i,readOnly:c,dataType:j,getStyle:p,cancelButtonElement:d,editButtonElement:y,textareaElementGenerator:A,minusMenuElement:v,logger:k,onSubmitValueParser:F});case r1:return f.createElement(St,{name:t,value:e.toString(),originalValue:e,keyPath:r,deep:n,handleRemove:a,handleUpdateValue:i,readOnly:_,dataType:j,getStyle:p,cancelButtonElement:d,editButtonElement:y,inputElementGenerator:g,minusMenuElement:v,logger:k,onSubmitValueParser:F});default:return null}}};Bn.defaultProps={keyPath:[],deep:0};var Ma=class extends dt{constructor(e){super(e);let t=e.deep===-1?[]:[...e.keyPath,e.name];this.state={name:e.name,data:e.data,keyPath:t,deep:e.deep,nextDeep:e.deep+1,collapsed:e.isCollapsed(t,e.deep,e.data),addFormVisible:!1},this.handleCollapseMode=this.handleCollapseMode.bind(this),this.handleRemoveValue=this.handleRemoveValue.bind(this),this.handleAddMode=this.handleAddMode.bind(this),this.handleAddValueAdd=this.handleAddValueAdd.bind(this),this.handleAddValueCancel=this.handleAddValueCancel.bind(this),this.handleEditValue=this.handleEditValue.bind(this),this.onChildUpdate=this.onChildUpdate.bind(this),this.renderCollapsed=this.renderCollapsed.bind(this),this.renderNotCollapsed=this.renderNotCollapsed.bind(this)}static getDerivedStateFromProps(e,t){return e.data!==t.data?{data:e.data}:null}onChildUpdate(e,t){let{data:r,keyPath:n}=this.state;r[e]=t,this.setState({data:r});let{onUpdate:o}=this.props,a=n.length;o(n[a-1],r)}handleAddMode(){this.setState({addFormVisible:!0})}handleAddValueCancel(){this.setState({addFormVisible:!1})}handleAddValueAdd({key:e,newValue:t}){let{data:r,keyPath:n,nextDeep:o}=this.state,{beforeAddAction:a,logger:i}=this.props;a(e,n,o,t).then(()=>{r[e]=t,this.setState({data:r}),this.handleAddValueCancel();let{onUpdate:s,onDeltaUpdate:l}=this.props;s(n[n.length-1],r),l({type:Pd,keyPath:n,deep:o,key:e,newValue:t})}).catch(i.error)}handleRemoveValue(e){return()=>{let{beforeRemoveAction:t,logger:r}=this.props,{data:n,keyPath:o,nextDeep:a}=this.state,i=n[e];t(e,o,a,i).then(()=>{let s={keyPath:o,deep:a,key:e,oldValue:i,type:Nd};delete n[e],this.setState({data:n});let{onUpdate:l,onDeltaUpdate:c}=this.props;l(o[o.length-1],n),c(s)}).catch(r.error)}}handleCollapseMode(){this.setState(e=>({collapsed:!e.collapsed}))}handleEditValue({key:e,value:t}){return new Promise((r,n)=>{let{beforeUpdateAction:o}=this.props,{data:a,keyPath:i,nextDeep:s}=this.state,l=a[e];o(e,i,s,l,t).then(()=>{a[e]=t,this.setState({data:a});let{onUpdate:c,onDeltaUpdate:p}=this.props;c(i[i.length-1],a),p({type:jd,keyPath:i,deep:s,key:e,newValue:t,oldValue:l}),r()}).catch(n)})}renderCollapsed(){let{name:e,keyPath:t,deep:r,data:n}=this.state,{handleRemove:o,readOnly:a,dataType:i,getStyle:s,minusMenuElement:l}=this.props,{minus:c,collapsed:p}=s(e,n,t,r,i),h=Object.getOwnPropertyNames(n),d=a(e,n,t,r,i),y=pe(l,{onClick:o,className:"rejt-minus-menu",style:c});return f.createElement("span",{className:"rejt-collapsed"},f.createElement("span",{className:"rejt-collapsed-text",style:p,onClick:this.handleCollapseMode},"{...}"," ",h.length," ",h.length===1?"key":"keys"),!d&&y)}renderNotCollapsed(){let{name:e,data:t,keyPath:r,deep:n,nextDeep:o,addFormVisible:a}=this.state,{isCollapsed:i,handleRemove:s,onDeltaUpdate:l,readOnly:c,getStyle:p,dataType:h,addButtonElement:d,cancelButtonElement:y,editButtonElement:g,inputElementGenerator:A,textareaElementGenerator:v,minusMenuElement:S,plusMenuElement:w,beforeRemoveAction:x,beforeAddAction:C,beforeUpdateAction:k,logger:F,onSubmitValueParser:_}=this.props,{minus:j,plus:M,addForm:P,ul:W,delimiter:L}=p(e,t,r,n,h),z=Object.getOwnPropertyNames(t),D=c(e,t,r,n,h),T=pe(w,{onClick:this.handleAddMode,className:"rejt-plus-menu",style:M}),O=pe(S,{onClick:s,className:"rejt-minus-menu",style:j}),U=z.map($=>f.createElement(Bn,{key:$,name:$,data:t[$],keyPath:r,deep:o,isCollapsed:i,handleRemove:this.handleRemoveValue($),handleUpdateValue:this.handleEditValue,onUpdate:this.onChildUpdate,onDeltaUpdate:l,readOnly:c,getStyle:p,addButtonElement:d,cancelButtonElement:y,editButtonElement:g,inputElementGenerator:A,textareaElementGenerator:v,minusMenuElement:S,plusMenuElement:w,beforeRemoveAction:x,beforeAddAction:C,beforeUpdateAction:k,logger:F,onSubmitValueParser:_}));return f.createElement("span",{className:"rejt-not-collapsed"},f.createElement("span",{className:"rejt-not-collapsed-delimiter",style:L},"{"),!D&&T,f.createElement("ul",{className:"rejt-not-collapsed-list",style:W},U),!D&&a&&f.createElement("div",{className:"rejt-add-form",style:P},f.createElement(za,{handleAdd:this.handleAddValueAdd,handleCancel:this.handleAddValueCancel,addButtonElement:d,cancelButtonElement:y,inputElementGenerator:A,keyPath:r,deep:n,onSubmitValueParser:_})),f.createElement("span",{className:"rejt-not-collapsed-delimiter",style:L},"}"),!D&&O)}render(){let{name:e,collapsed:t,data:r,keyPath:n,deep:o}=this.state,{getStyle:a,dataType:i}=this.props,s=t?this.renderCollapsed():this.renderNotCollapsed(),l=a(e,r,n,o,i);return f.createElement("div",{className:"rejt-object-node"},f.createElement("span",{onClick:this.handleCollapseMode},f.createElement("span",{className:"rejt-name",style:l.name},e," :"," ")),s)}};Ma.defaultProps={keyPath:[],deep:0,minusMenuElement:f.createElement("span",null," - "),plusMenuElement:f.createElement("span",null," + ")};var St=class extends dt{constructor(e){super(e);let t=[...e.keyPath,e.name];this.state={value:e.value,name:e.name,keyPath:t,deep:e.deep,editEnabled:!1,inputRef:null},this.handleEditMode=this.handleEditMode.bind(this),this.refInput=this.refInput.bind(this),this.handleCancelEdit=this.handleCancelEdit.bind(this),this.handleEdit=this.handleEdit.bind(this),this.onKeydown=this.onKeydown.bind(this)}static getDerivedStateFromProps(e,t){return e.value!==t.value?{value:e.value}:null}componentDidUpdate(){let{editEnabled:e,inputRef:t,name:r,value:n,keyPath:o,deep:a}=this.state,{readOnly:i,dataType:s}=this.props,l=i(r,n,o,a,s);e&&!l&&typeof t.focus=="function"&&t.focus()}componentDidMount(){document.addEventListener("keydown",this.onKeydown)}componentWillUnmount(){document.removeEventListener("keydown",this.onKeydown)}onKeydown(e){e.altKey||e.ctrlKey||e.metaKey||e.shiftKey||e.repeat||((e.code==="Enter"||e.key==="Enter")&&(e.preventDefault(),this.handleEdit()),(e.code==="Escape"||e.key==="Escape")&&(e.preventDefault(),this.handleCancelEdit()))}handleEdit(){let{handleUpdateValue:e,originalValue:t,logger:r,onSubmitValueParser:n,keyPath:o}=this.props,{inputRef:a,name:i,deep:s}=this.state;if(!a)return;let l=n(!0,o,s,i,a.value);e({value:l,key:i}).then(()=>{Ld(t,l)||this.handleCancelEdit()}).catch(r.error)}handleEditMode(){this.setState({editEnabled:!0})}refInput(e){this.state.inputRef=e}handleCancelEdit(){this.setState({editEnabled:!1})}render(){let{name:e,value:t,editEnabled:r,keyPath:n,deep:o}=this.state,{handleRemove:a,originalValue:i,readOnly:s,dataType:l,getStyle:c,editButtonElement:p,cancelButtonElement:h,inputElementGenerator:d,minusMenuElement:y,keyPath:g}=this.props,A=c(e,i,n,o,l),v=s(e,i,n,o,l),S=r&&!v,w=d(Ja,g,o,e,i,l),x=pe(p,{onClick:this.handleEdit}),C=pe(h,{onClick:this.handleCancelEdit}),k=pe(w,{ref:this.refInput,defaultValue:JSON.stringify(i)}),F=pe(y,{onClick:a,className:"rejt-minus-menu",style:A.minus});return f.createElement("li",{className:"rejt-value-node",style:A.li},f.createElement("span",{className:"rejt-name",style:A.name},e," : "),S?f.createElement("span",{className:"rejt-edit-form",style:A.editForm},k," ",C,x):f.createElement("span",{className:"rejt-value",style:A.value,onClick:v?null:this.handleEditMode},String(t)),!v&&!S&&F)}};St.defaultProps={keyPath:[],deep:0,handleUpdateValue:()=>Promise.resolve(),editButtonElement:f.createElement("button",null,"e"),cancelButtonElement:f.createElement("button",null,"c"),minusMenuElement:f.createElement("span",null," - ")};function o1(e){let t=e;if(t.indexOf("function")===0)return(0,eval)(`(${t})`);try{t=JSON.parse(e)}catch{}return t}var a1={minus:{color:"red"},plus:{color:"green"},collapsed:{color:"grey"},delimiter:{},ul:{padding:"0px",margin:"0 0 0 25px",listStyle:"none"},name:{color:"#2287CD"},addForm:{}},i1={minus:{color:"red"},plus:{color:"green"},collapsed:{color:"grey"},delimiter:{},ul:{padding:"0px",margin:"0 0 0 25px",listStyle:"none"},name:{color:"#2287CD"},addForm:{}},s1={minus:{color:"red"},editForm:{},value:{color:"#7bba3d"},li:{minHeight:"22px",lineHeight:"22px",outline:"0px"},name:{color:"#2287CD"}},$d=class extends dt{constructor(e){super(e),this.state={data:e.data,rootName:e.rootName},this.onUpdate=this.onUpdate.bind(this),this.removeRoot=this.removeRoot.bind(this)}static getDerivedStateFromProps(e,t){return e.data!==t.data||e.rootName!==t.rootName?{data:e.data,rootName:e.rootName}:null}onUpdate(e,t){this.setState({data:t}),this.props.onFullyUpdate(t)}removeRoot(){this.onUpdate(null,null)}render(){let{data:e,rootName:t}=this.state,{isCollapsed:r,onDeltaUpdate:n,readOnly:o,getStyle:a,addButtonElement:i,cancelButtonElement:s,editButtonElement:l,inputElement:c,textareaElement:p,minusMenuElement:h,plusMenuElement:d,beforeRemoveAction:y,beforeAddAction:g,beforeUpdateAction:A,logger:v,onSubmitValueParser:S,fallback:w=null}=this.props,x=Ut(e),C=o;Ut(o)==="Boolean"&&(C=()=>o);let k=c;c&&Ut(c)!=="Function"&&(k=()=>c);let F=p;return p&&Ut(p)!=="Function"&&(F=()=>p),x==="Object"||x==="Array"?f.createElement("div",{className:"rejt-tree"},f.createElement(Bn,{data:e,name:t,deep:-1,isCollapsed:r,onUpdate:this.onUpdate,onDeltaUpdate:n,readOnly:C,getStyle:a,addButtonElement:i,cancelButtonElement:s,editButtonElement:l,inputElementGenerator:k,textareaElementGenerator:F,minusMenuElement:h,plusMenuElement:d,handleRemove:this.removeRoot,beforeRemoveAction:y,beforeAddAction:g,beforeUpdateAction:A,logger:v,onSubmitValueParser:S})):w}};$d.defaultProps={rootName:"root",isCollapsed:(e,t)=>t!==-1,getStyle:(e,t,r,n,o)=>{switch(o){case"Object":case"Error":return a1;case"Array":return i1;default:return s1}},readOnly:()=>!1,onFullyUpdate:()=>{},onDeltaUpdate:()=>{},beforeRemoveAction:()=>Promise.resolve(),beforeAddAction:()=>Promise.resolve(),beforeUpdateAction:()=>Promise.resolve(),logger:{error:()=>{}},onSubmitValueParser:(e,t,r,n,o)=>o1(o),inputElement:()=>f.createElement("input",null),textareaElement:()=>f.createElement("textarea",null),fallback:null};var{window:l1}=globalThis,u1=R.div(({theme:e})=>({position:"relative",display:"flex",'&[aria-readonly="true"]':{opacity:.5},".rejt-tree":{marginLeft:"1rem",fontSize:"13px"},".rejt-value-node, .rejt-object-node > .rejt-collapsed, .rejt-array-node > .rejt-collapsed, .rejt-object-node > .rejt-not-collapsed, .rejt-array-node > .rejt-not-collapsed":{"& > svg":{opacity:0,transition:"opacity 0.2s"}},".rejt-value-node:hover, .rejt-object-node:hover > .rejt-collapsed, .rejt-array-node:hover > .rejt-collapsed, .rejt-object-node:hover > .rejt-not-collapsed, .rejt-array-node:hover > .rejt-not-collapsed":{"& > svg":{opacity:1}},".rejt-edit-form button":{display:"none"},".rejt-add-form":{marginLeft:10},".rejt-add-value-node":{display:"inline-flex",alignItems:"center"},".rejt-name":{lineHeight:"22px"},".rejt-not-collapsed-delimiter":{lineHeight:"22px"},".rejt-plus-menu":{marginLeft:5},".rejt-object-node > span > *, .rejt-array-node > span > *":{position:"relative",zIndex:2},".rejt-object-node, .rejt-array-node":{position:"relative"},".rejt-object-node > span:first-of-type::after, .rejt-array-node > span:first-of-type::after, .rejt-collapsed::before, .rejt-not-collapsed::before":{content:'""',position:"absolute",top:0,display:"block",width:"100%",marginLeft:"-1rem",padding:"0 4px 0 1rem",height:22},".rejt-collapsed::before, .rejt-not-collapsed::before":{zIndex:1,background:"transparent",borderRadius:4,transition:"background 0.2s",pointerEvents:"none",opacity:.1},".rejt-object-node:hover, .rejt-array-node:hover":{"& > .rejt-collapsed::before, & > .rejt-not-collapsed::before":{background:e.color.secondary}},".rejt-collapsed::after, .rejt-not-collapsed::after":{content:'""',position:"absolute",display:"inline-block",pointerEvents:"none",width:0,height:0},".rejt-collapsed::after":{left:-8,top:8,borderTop:"3px solid transparent",borderBottom:"3px solid transparent",borderLeft:"3px solid rgba(153,153,153,0.6)"},".rejt-not-collapsed::after":{left:-10,top:10,borderTop:"3px solid rgba(153,153,153,0.6)",borderLeft:"3px solid transparent",borderRight:"3px solid transparent"},".rejt-value":{display:"inline-block",border:"1px solid transparent",borderRadius:4,margin:"1px 0",padding:"0 4px",cursor:"text",color:e.color.defaultText},".rejt-value-node:hover > .rejt-value":{background:e.color.lighter,borderColor:e.appBorderColor}})),Ta=R.button(({theme:e,primary:t})=>({border:0,height:20,margin:1,borderRadius:4,background:t?e.color.secondary:"transparent",color:t?e.color.lightest:e.color.dark,fontWeight:t?"bold":"normal",cursor:"pointer",order:t?"initial":9})),c1=R(ho)(({theme:e,disabled:t})=>({display:"inline-block",verticalAlign:"middle",width:15,height:15,padding:3,marginLeft:5,cursor:t?"not-allowed":"pointer",color:e.textMutedColor,"&:hover":t?{}:{color:e.color.ancillary},"svg + &":{marginLeft:0}})),d1=R(rs)(({theme:e,disabled:t})=>({display:"inline-block",verticalAlign:"middle",width:15,height:15,padding:3,marginLeft:5,cursor:t?"not-allowed":"pointer",color:e.textMutedColor,"&:hover":t?{}:{color:e.color.negative},"svg + &":{marginLeft:0}})),Gc=R.input(({theme:e,placeholder:t})=>({outline:0,margin:t?1:"1px 0",padding:"3px 4px",color:e.color.defaultText,background:e.background.app,border:`1px solid ${e.appBorderColor}`,borderRadius:4,lineHeight:"14px",width:t==="Key"?80:120,"&:focus":{border:`1px solid ${e.color.secondary}`}})),p1=R(Ke)(({theme:e})=>({position:"absolute",zIndex:2,top:2,right:2,height:21,padding:"0 3px",background:e.background.bar,border:`1px solid ${e.appBorderColor}`,borderRadius:3,color:e.textMutedColor,fontSize:"9px",fontWeight:"bold",textDecoration:"none",span:{marginLeft:3,marginTop:1}})),h1=R(Ge.Textarea)(({theme:e})=>({flex:1,padding:"7px 6px",fontFamily:e.typography.fonts.mono,fontSize:"12px",lineHeight:"18px","&::placeholder":{fontFamily:e.typography.fonts.base,fontSize:"13px"},"&:placeholder-shown":{padding:"7px 10px"}})),f1={bubbles:!0,cancelable:!0,key:"Enter",code:"Enter",keyCode:13},m1=e=>{e.currentTarget.dispatchEvent(new l1.KeyboardEvent("keydown",f1))},y1=e=>{e.currentTarget.select()},g1=e=>()=>({name:{color:e.color.secondary},collapsed:{color:e.color.dark},ul:{listStyle:"none",margin:"0 0 0 1rem",padding:0},li:{outline:0}}),Wc=({name:e,value:t,onChange:r,argType:n})=>{let o=co(),a=pt(()=>t&&ci(t),[t]),i=a!=null,[s,l]=Z(!i),[c,p]=Z(null),h=!!n?.table?.readonly,d=Ce(x=>{try{x&&r(JSON.parse(x)),p(void 0)}catch(C){p(C)}},[r]),[y,g]=Z(!1),A=Ce(()=>{r({}),g(!0)},[g]),v=Pe(null);if(xe(()=>{y&&v.current&&v.current.select()},[y]),!i)return f.createElement(ht,{disabled:h,id:yr(e),onClick:A},"Set object");let S=f.createElement(h1,{ref:v,id:Le(e),name:e,defaultValue:t===null?"":JSON.stringify(t,null,2),onBlur:x=>d(x.target.value),placeholder:"Edit JSON string...",autoFocus:y,valid:c?"error":null,readOnly:h}),w=Array.isArray(t)||typeof t=="object"&&t?.constructor===Object;return f.createElement(u1,{"aria-readonly":h},w&&f.createElement(p1,{onClick:x=>{x.preventDefault(),l(C=>!C)}},s?f.createElement(Qi,null):f.createElement(Zi,null),f.createElement("span",null,"RAW")),s?S:f.createElement($d,{readOnly:h||!w,isCollapsed:w?void 0:()=>!0,data:a,rootName:e,onFullyUpdate:r,getStyle:g1(o),cancelButtonElement:f.createElement(Ta,{type:"button"},"Cancel"),editButtonElement:f.createElement(Ta,{type:"submit"},"Save"),addButtonElement:f.createElement(Ta,{type:"submit",primary:!0},"Save"),plusMenuElement:f.createElement(c1,null),minusMenuElement:f.createElement(d1,null),inputElement:(x,C,k,F)=>F?f.createElement(Gc,{onFocus:y1,onBlur:m1}):f.createElement(Gc,null),fallback:S}))},b1=R.input(({theme:e,min:t,max:r,value:n,disabled:o})=>({"&":{width:"100%",backgroundColor:"transparent",appearance:"none"},"&::-webkit-slider-runnable-track":{background:e.base==="light"?`linear-gradient(to right, - ${e.color.green} 0%, ${e.color.green} ${(n-t)/(r-t)*100}%, - ${Qe(.02,e.input.background)} ${(n-t)/(r-t)*100}%, - ${Qe(.02,e.input.background)} 100%)`:`linear-gradient(to right, - ${e.color.green} 0%, ${e.color.green} ${(n-t)/(r-t)*100}%, - ${Lt(.02,e.input.background)} ${(n-t)/(r-t)*100}%, - ${Lt(.02,e.input.background)} 100%)`,boxShadow:`${e.appBorderColor} 0 0 0 1px inset`,borderRadius:6,width:"100%",height:6,cursor:o?"not-allowed":"pointer"},"&::-webkit-slider-thumb":{marginTop:"-6px",width:16,height:16,border:`1px solid ${st(e.appBorderColor,.2)}`,borderRadius:"50px",boxShadow:`0 1px 3px 0px ${st(e.appBorderColor,.2)}`,cursor:o?"not-allowed":"grab",appearance:"none",background:`${e.input.background}`,transition:"all 150ms ease-out","&:hover":{background:`${Qe(.05,e.input.background)}`,transform:"scale3d(1.1, 1.1, 1.1) translateY(-1px)",transition:"all 50ms ease-out"},"&:active":{background:`${e.input.background}`,transform:"scale3d(1, 1, 1) translateY(0px)",cursor:o?"not-allowed":"grab"}},"&:focus":{outline:"none","&::-webkit-slider-runnable-track":{borderColor:st(e.color.secondary,.4)},"&::-webkit-slider-thumb":{borderColor:e.color.secondary,boxShadow:`0 0px 5px 0px ${e.color.secondary}`}},"&::-moz-range-track":{background:e.base==="light"?`linear-gradient(to right, - ${e.color.green} 0%, ${e.color.green} ${(n-t)/(r-t)*100}%, - ${Qe(.02,e.input.background)} ${(n-t)/(r-t)*100}%, - ${Qe(.02,e.input.background)} 100%)`:`linear-gradient(to right, - ${e.color.green} 0%, ${e.color.green} ${(n-t)/(r-t)*100}%, - ${Lt(.02,e.input.background)} ${(n-t)/(r-t)*100}%, - ${Lt(.02,e.input.background)} 100%)`,boxShadow:`${e.appBorderColor} 0 0 0 1px inset`,borderRadius:6,width:"100%",height:6,cursor:o?"not-allowed":"pointer",outline:"none"},"&::-moz-range-thumb":{width:16,height:16,border:`1px solid ${st(e.appBorderColor,.2)}`,borderRadius:"50px",boxShadow:`0 1px 3px 0px ${st(e.appBorderColor,.2)}`,cursor:o?"not-allowed":"grap",background:`${e.input.background}`,transition:"all 150ms ease-out","&:hover":{background:`${Qe(.05,e.input.background)}`,transform:"scale3d(1.1, 1.1, 1.1) translateY(-1px)",transition:"all 50ms ease-out"},"&:active":{background:`${e.input.background}`,transform:"scale3d(1, 1, 1) translateY(0px)",cursor:"grabbing"}},"&::-ms-track":{background:e.base==="light"?`linear-gradient(to right, - ${e.color.green} 0%, ${e.color.green} ${(n-t)/(r-t)*100}%, - ${Qe(.02,e.input.background)} ${(n-t)/(r-t)*100}%, - ${Qe(.02,e.input.background)} 100%)`:`linear-gradient(to right, - ${e.color.green} 0%, ${e.color.green} ${(n-t)/(r-t)*100}%, - ${Lt(.02,e.input.background)} ${(n-t)/(r-t)*100}%, - ${Lt(.02,e.input.background)} 100%)`,boxShadow:`${e.appBorderColor} 0 0 0 1px inset`,color:"transparent",width:"100%",height:"6px",cursor:"pointer"},"&::-ms-fill-lower":{borderRadius:6},"&::-ms-fill-upper":{borderRadius:6},"&::-ms-thumb":{width:16,height:16,background:`${e.input.background}`,border:`1px solid ${st(e.appBorderColor,.2)}`,borderRadius:50,cursor:"grab",marginTop:0},"@supports (-ms-ime-align:auto)":{"input[type=range]":{margin:"0"}}})),qd=R.span({paddingLeft:5,paddingRight:5,fontSize:12,whiteSpace:"nowrap",fontFeatureSettings:"tnum",fontVariantNumeric:"tabular-nums","[aria-readonly=true] &":{opacity:.5}}),E1=R(qd)(({numberOFDecimalsPlaces:e,max:t})=>({width:`${e+t.toString().length*2+3}ch`,textAlign:"right",flexShrink:0})),v1=R.div({display:"flex",alignItems:"center",width:"100%"});function A1(e){let t=e.toString().match(/(?:\.(\d+))?(?:[eE]([+-]?\d+))?$/);return t?Math.max(0,(t[1]?t[1].length:0)-(t[2]?+t[2]:0)):0}var D1=({name:e,value:t,onChange:r,min:n=0,max:o=100,step:a=1,onBlur:i,onFocus:s,argType:l})=>{let c=y=>{r(O2(y.target.value))},p=t!==void 0,h=pt(()=>A1(a),[a]),d=!!l?.table?.readonly;return f.createElement(v1,{"aria-readonly":d},f.createElement(qd,null,n),f.createElement(b1,{id:Le(e),type:"range",disabled:d,onChange:c,name:e,value:t,min:n,max:o,step:a,onFocus:s,onBlur:i}),f.createElement(E1,{numberOFDecimalsPlaces:h,max:o},p?t.toFixed(h):"--"," / ",o))},S1=R.label({display:"flex"}),w1=R.div(({isMaxed:e})=>({marginLeft:"0.75rem",paddingTop:"0.35rem",color:e?"red":void 0})),C1=({name:e,value:t,onChange:r,onFocus:n,onBlur:o,maxLength:a,argType:i})=>{let s=y=>{r(y.target.value)},l=!!i?.table?.readonly,[c,p]=Z(!1),h=Ce(()=>{r(""),p(!0)},[p]);if(t===void 0)return f.createElement(ht,{variant:"outline",size:"medium",disabled:l,id:yr(e),onClick:h},"Set string");let d=typeof t=="string";return f.createElement(S1,null,f.createElement(Ge.Textarea,{id:Le(e),maxLength:a,onChange:s,disabled:l,size:"flex",placeholder:"Edit string...",autoFocus:c,valid:d?null:"error",name:e,value:d?t:"",onFocus:n,onBlur:o}),a&&f.createElement(w1,{isMaxed:t?.length===a},t?.length??0," / ",a))},x1=R(Ge.Input)({padding:10});function T1(e){e.forEach(t=>{t.startsWith("blob:")&&URL.revokeObjectURL(t)})}var F1=({onChange:e,name:t,accept:r="image/*",value:n,argType:o})=>{let a=Pe(null),i=o?.control?.readOnly;function s(l){if(!l.target.files)return;let c=Array.from(l.target.files).map(p=>URL.createObjectURL(p));e(c),T1(n)}return xe(()=>{n==null&&a.current&&(a.current.value=null)},[n,t]),f.createElement(x1,{ref:a,id:Le(t),type:"file",name:t,multiple:!0,disabled:i,onChange:s,accept:r,size:"flex"})},I1=fi(()=>Promise.resolve().then(()=>(Rc(),kc))),k1=e=>f.createElement(pi,{fallback:f.createElement("div",null)},f.createElement(I1,{...e})),R1={array:Wc,object:Wc,boolean:w2,color:k1,date:k2,number:B2,check:ar,"inline-check":ar,radio:ar,"inline-radio":ar,select:ar,"multi-select":ar,range:D1,text:C1,file:F1},Kc=()=>f.createElement(f.Fragment,null,"-"),O1=({row:e,arg:t,updateArgs:r,isHovered:n})=>{let{key:o,control:a}=e,[i,s]=Z(!1),[l,c]=Z({value:t});xe(()=>{i||c({value:t})},[i,t]);let p=Ce(A=>(c({value:A}),r({[o]:A}),A),[r,o]),h=Ce(()=>s(!1),[]),d=Ce(()=>s(!0),[]);if(!a||a.disable){let A=a?.disable!==!0&&e?.type?.name!=="function";return n&&A?f.createElement(xt,{href:"https://storybook.js.org/docs/essentials/controls",target:"_blank",withArrow:!0},"Setup controls"):f.createElement(Kc,null)}let y={name:o,argType:e,value:l.value,onChange:p,onBlur:h,onFocus:d},g=R1[a.type]||Kc;return f.createElement(g,{...y,...a,controlType:a.type})},_1=R.table(({theme:e})=>({"&&":{borderCollapse:"collapse",borderSpacing:0,border:"none",tr:{border:"none !important",background:"none"},"td, th":{padding:0,border:"none",width:"auto!important"},marginTop:0,marginBottom:0,"th:first-of-type, td:first-of-type":{paddingLeft:0},"th:last-of-type, td:last-of-type":{paddingRight:0},td:{paddingTop:0,paddingBottom:4,"&:not(:first-of-type)":{paddingLeft:10,paddingRight:0}},tbody:{boxShadow:"none",border:"none"},code:Ht({theme:e}),div:{span:{fontWeight:"bold"}},"& code":{margin:0,display:"inline-block",fontSize:e.typography.size.s1}}})),B1=({tags:e})=>{let t=(e.params||[]).filter(a=>a.description),r=t.length!==0,n=e.deprecated!=null,o=e.returns!=null&&e.returns.description!=null;return!r&&!o&&!n?null:f.createElement(f.Fragment,null,f.createElement(_1,null,f.createElement("tbody",null,n&&f.createElement("tr",{key:"deprecated"},f.createElement("td",{colSpan:2},f.createElement("strong",null,"Deprecated"),": ",e.deprecated.toString())),r&&t.map(a=>f.createElement("tr",{key:a.name},f.createElement("td",null,f.createElement("code",null,a.name)),f.createElement("td",null,a.description))),o&&f.createElement("tr",{key:"returns"},f.createElement("td",null,f.createElement("code",null,"Returns")),f.createElement("td",null,e.returns.description)))))},P1=zt(id()),Ua=8,Yc=R.div(({isExpanded:e})=>({display:"flex",flexDirection:e?"column":"row",flexWrap:"wrap",alignItems:"flex-start",marginBottom:"-4px",minWidth:100})),N1=R.span(Ht,({theme:e,simple:t=!1})=>({flex:"0 0 auto",fontFamily:e.typography.fonts.mono,fontSize:e.typography.size.s1,wordBreak:"break-word",whiteSpace:"normal",maxWidth:"100%",margin:0,marginRight:"4px",marginBottom:"4px",paddingTop:"2px",paddingBottom:"2px",lineHeight:"13px",...t&&{background:"transparent",border:"0 none",paddingLeft:0}})),j1=R.button(({theme:e})=>({fontFamily:e.typography.fonts.mono,color:e.color.secondary,marginBottom:"4px",background:"none",border:"none"})),L1=R.div(Ht,({theme:e})=>({fontFamily:e.typography.fonts.mono,color:e.color.secondary,fontSize:e.typography.size.s1,margin:0,whiteSpace:"nowrap",display:"flex",alignItems:"center"})),M1=R.div(({theme:e,width:t})=>({width:t,minWidth:200,maxWidth:800,padding:15,fontFamily:e.typography.fonts.mono,fontSize:e.typography.size.s1,boxSizing:"content-box","& code":{padding:"0 !important"}})),U1=R(Xi)({marginLeft:4}),$1=R(fo)({marginLeft:4}),q1=()=>f.createElement("span",null,"-"),Vd=({text:e,simple:t})=>f.createElement(N1,{simple:t},e),V1=(0,P1.default)(1e3)(e=>{let t=e.split(/\r?\n/);return`${Math.max(...t.map(r=>r.length))}ch`}),J1=e=>{if(!e)return[e];let t=e.split("|").map(r=>r.trim());return li(t)},Xc=(e,t=!0)=>{let r=e;return t||(r=e.slice(0,Ua)),r.map(n=>f.createElement(Vd,{key:n,text:n===""?'""':n}))},z1=({value:e,initialExpandedArgs:t})=>{let{summary:r,detail:n}=e,[o,a]=Z(!1),[i,s]=Z(t||!1);if(r==null)return null;let l=typeof r.toString=="function"?r.toString():r;if(n==null){if(/[(){}[\]<>]/.test(l))return f.createElement(Vd,{text:l});let c=J1(l),p=c.length;return p>Ua?f.createElement(Yc,{isExpanded:i},Xc(c,i),f.createElement(j1,{onClick:()=>s(!i)},i?"Show less...":`Show ${p-Ua} more...`)):f.createElement(Yc,null,Xc(c))}return f.createElement(Xn,{closeOnOutsideClick:!0,placement:"bottom",visible:o,onVisibleChange:c=>{a(c)},tooltip:f.createElement(M1,{width:V1(n)},f.createElement(Ur,{language:"jsx",format:!1},n))},f.createElement(L1,{className:"sbdocs-expandable"},f.createElement("span",null,l),o?f.createElement(U1,null):f.createElement($1,null)))},Fa=({value:e,initialExpandedArgs:t})=>e==null?f.createElement(q1,null):f.createElement(z1,{value:e,initialExpandedArgs:t}),H1=R.span({fontWeight:"bold"}),G1=R.span(({theme:e})=>({color:e.color.negative,fontFamily:e.typography.fonts.mono,cursor:"help"})),W1=R.div(({theme:e})=>({"&&":{p:{margin:"0 0 10px 0"},a:{color:e.color.secondary}},code:{...Ht({theme:e}),fontSize:12,fontFamily:e.typography.fonts.mono},"& code":{margin:0,display:"inline-block"},"& pre > code":{whiteSpace:"pre-wrap"}})),K1=R.div(({theme:e,hasDescription:t})=>({color:e.base==="light"?ce(.1,e.color.defaultText):ce(.2,e.color.defaultText),marginTop:t?4:0})),Y1=R.div(({theme:e,hasDescription:t})=>({color:e.base==="light"?ce(.1,e.color.defaultText):ce(.2,e.color.defaultText),marginTop:t?12:0,marginBottom:12})),X1=R.td(({theme:e,expandable:t})=>({paddingLeft:t?"40px !important":"20px !important"})),Q1=e=>e&&{summary:typeof e=="string"?e:e.name},Cn=e=>{let[t,r]=Z(!1),{row:n,updateArgs:o,compact:a,expandable:i,initialExpandedArgs:s}=e,{name:l,description:c}=n,p=n.table||{},h=p.type||Q1(n.type),d=p.defaultValue||n.defaultValue,y=n.type?.required,g=c!=null&&c!=="";return f.createElement("tr",{onMouseEnter:()=>r(!0),onMouseLeave:()=>r(!1)},f.createElement(X1,{expandable:i},f.createElement(H1,null,l),y?f.createElement(G1,{title:"Required"},"*"):null),a?null:f.createElement("td",null,g&&f.createElement(W1,null,f.createElement(A2,null,c)),p.jsDocTags!=null?f.createElement(f.Fragment,null,f.createElement(Y1,{hasDescription:g},f.createElement(Fa,{value:h,initialExpandedArgs:s})),f.createElement(B1,{tags:p.jsDocTags})):f.createElement(K1,{hasDescription:g},f.createElement(Fa,{value:h,initialExpandedArgs:s}))),a?null:f.createElement("td",null,f.createElement(Fa,{value:d,initialExpandedArgs:s})),o?f.createElement("td",null,f.createElement(O1,{...e,isHovered:t})):null)},Z1=R.div(({inAddonPanel:e,theme:t})=>({height:e?"100%":"auto",display:"flex",border:e?"none":`1px solid ${t.appBorderColor}`,borderRadius:e?0:t.appBorderRadius,padding:e?0:40,alignItems:"center",justifyContent:"center",flexDirection:"column",gap:15,background:t.background.content,boxShadow:"rgba(0, 0, 0, 0.10) 0 1px 3px 0"})),eb=R.div(({theme:e})=>({display:"flex",fontSize:e.typography.size.s2-1,gap:25})),tb=R.div(({theme:e})=>({width:1,height:16,backgroundColor:e.appBorderColor})),rb=({inAddonPanel:e})=>{let[t,r]=Z(!0);return xe(()=>{let n=setTimeout(()=>{r(!1)},100);return()=>clearTimeout(n)},[]),t?null:f.createElement(Z1,{inAddonPanel:e},f.createElement(Hn,{title:e?"Interactive story playground":"Args table with interactive controls couldn't be auto-generated",description:f.createElement(f.Fragment,null,"Controls give you an easy to use interface to test your components. Set your story args and you'll see controls appearing here automatically."),footer:f.createElement(eb,null,e&&f.createElement(f.Fragment,null,f.createElement(xt,{href:"https://youtu.be/0gOfS6K0x0E",target:"_blank",withArrow:!0},f.createElement(ns,null)," Watch 5m video"),f.createElement(tb,null),f.createElement(xt,{href:"https://storybook.js.org/docs/essentials/controls",target:"_blank",withArrow:!0},f.createElement(Yr,null)," Read docs")),!e&&f.createElement(xt,{href:"https://storybook.js.org/docs/essentials/controls",target:"_blank",withArrow:!0},f.createElement(Yr,null)," Learn how to set that up"))}))},nb=R(Ki)(({theme:e})=>({marginRight:8,marginLeft:-10,marginTop:-2,height:12,width:12,color:e.base==="light"?ce(.25,e.color.defaultText):ce(.3,e.color.defaultText),border:"none",display:"inline-block"})),ob=R(Yi)(({theme:e})=>({marginRight:8,marginLeft:-10,marginTop:-2,height:12,width:12,color:e.base==="light"?ce(.25,e.color.defaultText):ce(.3,e.color.defaultText),border:"none",display:"inline-block"})),ab=R.span(({theme:e})=>({display:"flex",lineHeight:"20px",alignItems:"center"})),ib=R.td(({theme:e})=>({position:"relative",letterSpacing:"0.35em",textTransform:"uppercase",fontWeight:e.typography.weight.bold,fontSize:e.typography.size.s1-1,color:e.base==="light"?ce(.4,e.color.defaultText):ce(.6,e.color.defaultText),background:`${e.background.app} !important`,"& ~ td":{background:`${e.background.app} !important`}})),sb=R.td(({theme:e})=>({position:"relative",fontWeight:e.typography.weight.bold,fontSize:e.typography.size.s2-1,background:e.background.app})),lb=R.td({position:"relative"}),ub=R.tr(({theme:e})=>({"&:hover > td":{backgroundColor:`${Lt(.005,e.background.app)} !important`,boxShadow:`${e.color.mediumlight} 0 - 1px 0 0 inset`,cursor:"row-resize"}})),Qc=R.button({background:"none",border:"none",padding:"0",font:"inherit",position:"absolute",top:0,bottom:0,left:0,right:0,height:"100%",width:"100%",color:"transparent",cursor:"row-resize !important"}),Ia=({level:e="section",label:t,children:r,initialExpanded:n=!0,colSpan:o=3})=>{let[a,i]=Z(n),s=e==="subsection"?sb:ib,l=r?.length||0,c=e==="subsection"?`${l} item${l!==1?"s":""}`:"",p=`${a?"Hide":"Show"} ${e==="subsection"?l:t} item${l!==1?"s":""}`;return f.createElement(f.Fragment,null,f.createElement(ub,{title:p},f.createElement(s,{colSpan:1},f.createElement(Qc,{onClick:h=>i(!a),tabIndex:0},p),f.createElement(ab,null,a?f.createElement(nb,null):f.createElement(ob,null),t)),f.createElement(lb,{colSpan:o-1},f.createElement(Qc,{onClick:h=>i(!a),tabIndex:-1,style:{outline:"none"}},p),a?null:c)),a?r:null)},xn=R.div(({theme:e})=>({display:"flex",gap:16,borderBottom:`1px solid ${e.appBorderColor}`,"&:last-child":{borderBottom:0}})),Oe=R.div(({numColumn:e})=>({display:"flex",flexDirection:"column",flex:e||1,gap:5,padding:"12px 20px"})),Ee=R.div(({theme:e,width:t,height:r})=>({animation:`${e.animation.glow} 1.5s ease-in-out infinite`,background:e.appBorderColor,width:t||"100%",height:r||16,borderRadius:3})),_e=[2,4,2,2],cb=()=>f.createElement(f.Fragment,null,f.createElement(xn,null,f.createElement(Oe,{numColumn:_e[0]},f.createElement(Ee,{width:"60%"})),f.createElement(Oe,{numColumn:_e[1]},f.createElement(Ee,{width:"30%"})),f.createElement(Oe,{numColumn:_e[2]},f.createElement(Ee,{width:"60%"})),f.createElement(Oe,{numColumn:_e[3]},f.createElement(Ee,{width:"60%"}))),f.createElement(xn,null,f.createElement(Oe,{numColumn:_e[0]},f.createElement(Ee,{width:"60%"})),f.createElement(Oe,{numColumn:_e[1]},f.createElement(Ee,{width:"80%"}),f.createElement(Ee,{width:"30%"})),f.createElement(Oe,{numColumn:_e[2]},f.createElement(Ee,{width:"60%"})),f.createElement(Oe,{numColumn:_e[3]},f.createElement(Ee,{width:"60%"}))),f.createElement(xn,null,f.createElement(Oe,{numColumn:_e[0]},f.createElement(Ee,{width:"60%"})),f.createElement(Oe,{numColumn:_e[1]},f.createElement(Ee,{width:"80%"}),f.createElement(Ee,{width:"30%"})),f.createElement(Oe,{numColumn:_e[2]},f.createElement(Ee,{width:"60%"})),f.createElement(Oe,{numColumn:_e[3]},f.createElement(Ee,{width:"60%"}))),f.createElement(xn,null,f.createElement(Oe,{numColumn:_e[0]},f.createElement(Ee,{width:"60%"})),f.createElement(Oe,{numColumn:_e[1]},f.createElement(Ee,{width:"80%"}),f.createElement(Ee,{width:"30%"})),f.createElement(Oe,{numColumn:_e[2]},f.createElement(Ee,{width:"60%"})),f.createElement(Oe,{numColumn:_e[3]},f.createElement(Ee,{width:"60%"})))),db=R.table(({theme:e,compact:t,inAddonPanel:r})=>({"&&":{borderSpacing:0,color:e.color.defaultText,"td, th":{padding:0,border:"none",verticalAlign:"top",textOverflow:"ellipsis"},fontSize:e.typography.size.s2-1,lineHeight:"20px",textAlign:"left",width:"100%",marginTop:r?0:25,marginBottom:r?0:40,"thead th:first-of-type, td:first-of-type":{width:"25%"},"th:first-of-type, td:first-of-type":{paddingLeft:20},"th:nth-of-type(2), td:nth-of-type(2)":{...t?null:{width:"35%"}},"td:nth-of-type(3)":{...t?null:{width:"15%"}},"th:last-of-type, td:last-of-type":{paddingRight:20,...t?null:{width:"25%"}},th:{color:e.base==="light"?ce(.25,e.color.defaultText):ce(.45,e.color.defaultText),paddingTop:10,paddingBottom:10,paddingLeft:15,paddingRight:15},td:{paddingTop:"10px",paddingBottom:"10px","&:not(:first-of-type)":{paddingLeft:15,paddingRight:15},"&:last-of-type":{paddingRight:20}},marginLeft:r?0:1,marginRight:r?0:1,tbody:{...r?null:{filter:e.base==="light"?"drop-shadow(0px 1px 3px rgba(0, 0, 0, 0.10))":"drop-shadow(0px 1px 3px rgba(0, 0, 0, 0.20))"},"> tr > *":{background:e.background.content,borderTop:`1px solid ${e.appBorderColor}`},...r?null:{"> tr:first-of-type > *":{borderBlockStart:`1px solid ${e.appBorderColor}`},"> tr:last-of-type > *":{borderBlockEnd:`1px solid ${e.appBorderColor}`},"> tr > *:first-of-type":{borderInlineStart:`1px solid ${e.appBorderColor}`},"> tr > *:last-of-type":{borderInlineEnd:`1px solid ${e.appBorderColor}`},"> tr:first-of-type > td:first-of-type":{borderTopLeftRadius:e.appBorderRadius},"> tr:first-of-type > td:last-of-type":{borderTopRightRadius:e.appBorderRadius},"> tr:last-of-type > td:first-of-type":{borderBottomLeftRadius:e.appBorderRadius},"> tr:last-of-type > td:last-of-type":{borderBottomRightRadius:e.appBorderRadius}}}}})),pb=R(Ke)(({theme:e})=>({margin:"-4px -12px -4px 0"})),hb=R.span({display:"flex",justifyContent:"space-between"}),fb={alpha:(e,t)=>e.name.localeCompare(t.name),requiredFirst:(e,t)=>+!!t.type?.required-+!!e.type?.required||e.name.localeCompare(t.name),none:void 0},mb=(e,t)=>{let r={ungrouped:[],ungroupedSubsections:{},sections:{}};if(!e)return r;Object.entries(e).forEach(([a,i])=>{let{category:s,subcategory:l}=i?.table||{};if(s){let c=r.sections[s]||{ungrouped:[],subsections:{}};if(!l)c.ungrouped.push({key:a,...i});else{let p=c.subsections[l]||[];p.push({key:a,...i}),c.subsections[l]=p}r.sections[s]=c}else if(l){let c=r.ungroupedSubsections[l]||[];c.push({key:a,...i}),r.ungroupedSubsections[l]=c}else r.ungrouped.push({key:a,...i})});let n=fb[t],o=a=>n?Object.keys(a).reduce((i,s)=>({...i,[s]:a[s].sort(n)}),{}):a;return{ungrouped:r.ungrouped.sort(n),ungroupedSubsections:o(r.ungroupedSubsections),sections:Object.keys(r.sections).reduce((a,i)=>({...a,[i]:{ungrouped:r.sections[i].ungrouped.sort(n),subsections:o(r.sections[i].subsections)}}),{})}},yb=(e,t,r)=>{try{return mn(e,t,r)}catch(n){return ss.warn(n.message),!1}},gb=e=>{let{updateArgs:t,resetArgs:r,compact:n,inAddonPanel:o,initialExpandedArgs:a,sort:i="none",isLoading:s}=e;if("error"in e){let{error:w}=e;return f.createElement(dd,null,w,"\xA0",f.createElement(xt,{href:"http://storybook.js.org/docs/",target:"_blank",withArrow:!0},f.createElement(Yr,null)," Read the docs"))}if(s)return f.createElement(cb,null);let{rows:l,args:c,globals:p}="rows"in e&&e,h=mb(ui(l||{},w=>!w?.table?.disable&&yb(w,c||{},p||{})),i),d=h.ungrouped.length===0,y=Object.entries(h.sections).length===0,g=Object.entries(h.ungroupedSubsections).length===0;if(d&&y&&g)return f.createElement(rb,{inAddonPanel:o});let A=1;t&&(A+=1),n||(A+=2);let v=Object.keys(h.sections).length>0,S={updateArgs:t,compact:n,inAddonPanel:o,initialExpandedArgs:a};return f.createElement(Kn,null,f.createElement(db,{compact:n,inAddonPanel:o,className:"docblock-argstable sb-unstyled"},f.createElement("thead",{className:"docblock-argstable-head"},f.createElement("tr",null,f.createElement("th",null,f.createElement("span",null,"Name")),n?null:f.createElement("th",null,f.createElement("span",null,"Description")),n?null:f.createElement("th",null,f.createElement("span",null,"Default")),t?f.createElement("th",null,f.createElement(hb,null,"Control"," ",!s&&r&&f.createElement(pb,{onClick:()=>r(),title:"Reset controls"},f.createElement(mo,{"aria-hidden":!0})))):null)),f.createElement("tbody",{className:"docblock-argstable-body"},h.ungrouped.map(w=>f.createElement(Cn,{key:w.key,row:w,arg:c&&c[w.key],...S})),Object.entries(h.ungroupedSubsections).map(([w,x])=>f.createElement(Ia,{key:w,label:w,level:"subsection",colSpan:A},x.map(C=>f.createElement(Cn,{key:C.key,row:C,arg:c&&c[C.key],expandable:v,...S})))),Object.entries(h.sections).map(([w,x])=>f.createElement(Ia,{key:w,label:w,level:"section",colSpan:A},x.ungrouped.map(C=>f.createElement(Cn,{key:C.key,row:C,arg:c&&c[C.key],...S})),Object.entries(x.subsections).map(([C,k])=>f.createElement(Ia,{key:C,label:C,level:"subsection",colSpan:A},k.map(F=>f.createElement(Cn,{key:F.key,row:F,arg:c&&c[F.key],expandable:v,...S})))))))))};R.div(({theme:e})=>({marginRight:30,fontSize:`${e.typography.size.s1}px`,color:e.base==="light"?ce(.4,e.color.defaultText):ce(.6,e.color.defaultText)}));R.div({overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis"});R.div({display:"flex",flexDirection:"row",alignItems:"baseline","&:not(:last-child)":{marginBottom:"1rem"}});R.div(Gt,({theme:e})=>({...On(e),margin:"25px 0 40px",padding:"30px 20px"}));R.div(({theme:e})=>({fontWeight:e.typography.weight.bold,color:e.color.defaultText}));R.div(({theme:e})=>({color:e.base==="light"?ce(.2,e.color.defaultText):ce(.6,e.color.defaultText)}));R.div({flex:"0 0 30%",lineHeight:"20px",marginTop:5});R.div(({theme:e})=>({flex:1,textAlign:"center",fontFamily:e.typography.fonts.mono,fontSize:e.typography.size.s1,lineHeight:1,overflow:"hidden",color:e.base==="light"?ce(.4,e.color.defaultText):ce(.6,e.color.defaultText),"> div":{display:"inline-block",overflow:"hidden",maxWidth:"100%",textOverflow:"ellipsis"},span:{display:"block",marginTop:2}}));R.div({display:"flex",flexDirection:"row"});R.div(({background:e})=>({position:"relative",flex:1,"&::before":{position:"absolute",top:0,left:0,width:"100%",height:"100%",background:e,content:'""'}}));R.div(({theme:e})=>({...On(e),display:"flex",flexDirection:"row",height:50,marginBottom:5,overflow:"hidden",backgroundColor:"white",backgroundImage:"repeating-linear-gradient(-45deg, #ccc, #ccc 1px, #fff 1px, #fff 16px)",backgroundClip:"padding-box"}));R.div({display:"flex",flexDirection:"column",flex:1,position:"relative",marginBottom:30});R.div({flex:1,display:"flex",flexDirection:"row"});R.div({display:"flex",alignItems:"flex-start"});R.div({flex:"0 0 30%"});R.div({flex:1});R.div(({theme:e})=>({display:"flex",flexDirection:"row",alignItems:"center",paddingBottom:20,fontWeight:e.typography.weight.bold,color:e.base==="light"?ce(.4,e.color.defaultText):ce(.6,e.color.defaultText)}));R.div(({theme:e})=>({fontSize:e.typography.size.s2,lineHeight:"20px",display:"flex",flexDirection:"column"}));R.div(({theme:e})=>({fontFamily:e.typography.fonts.base,fontSize:e.typography.size.s2,color:e.color.defaultText,marginLeft:10,lineHeight:1.2}));R.div(({theme:e})=>({...On(e),overflow:"hidden",height:40,width:40,display:"flex",alignItems:"center",justifyContent:"center",flex:"none","> img, > svg":{width:20,height:20}}));R.div({display:"inline-flex",flexDirection:"row",alignItems:"center",flex:"0 1 calc(20% - 10px)",minWidth:120,margin:"0px 10px 30px 0"});R.div({display:"flex",flexFlow:"row wrap"});globalThis&&globalThis.__DOCS_CONTEXT__===void 0&&(globalThis.__DOCS_CONTEXT__=gr(null),globalThis.__DOCS_CONTEXT__.displayName="DocsContext");var bb=globalThis?globalThis.__DOCS_CONTEXT__:gr(null),Eb=Object.create,Jd=Object.defineProperty,vb=Object.getOwnPropertyDescriptor,zd=Object.getOwnPropertyNames,Ab=Object.getPrototypeOf,Db=Object.prototype.hasOwnProperty,ze=(e,t)=>function(){return t||(0,e[zd(e)[0]])((t={exports:{}}).exports,t),t.exports},Sb=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of zd(t))!Db.call(e,o)&&o!==r&&Jd(e,o,{get:()=>t[o],enumerable:!(n=vb(t,o))||n.enumerable});return e},Ha=(e,t,r)=>(r=e!=null?Eb(Ab(e)):{},Sb(t||!e||!e.__esModule?Jd(r,"default",{value:e,enumerable:!0}):r,e)),wb=zt(id(),1),Hd=ze({"node_modules/has-symbols/shams.js"(e,t){t.exports=function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return!1;if(typeof Symbol.iterator=="symbol")return!0;var r={},n=Symbol("test"),o=Object(n);if(typeof n=="string"||Object.prototype.toString.call(n)!=="[object Symbol]"||Object.prototype.toString.call(o)!=="[object Symbol]")return!1;var a=42;r[n]=a;for(n in r)return!1;if(typeof Object.keys=="function"&&Object.keys(r).length!==0||typeof Object.getOwnPropertyNames=="function"&&Object.getOwnPropertyNames(r).length!==0)return!1;var i=Object.getOwnPropertySymbols(r);if(i.length!==1||i[0]!==n||!Object.prototype.propertyIsEnumerable.call(r,n))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var s=Object.getOwnPropertyDescriptor(r,n);if(s.value!==a||s.enumerable!==!0)return!1}return!0}}}),Gd=ze({"node_modules/has-symbols/index.js"(e,t){var r=typeof Symbol<"u"&&Symbol,n=Hd();t.exports=function(){return typeof r!="function"||typeof Symbol!="function"||typeof r("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:n()}}}),Cb=ze({"node_modules/function-bind/implementation.js"(e,t){var r="Function.prototype.bind called on incompatible ",n=Array.prototype.slice,o=Object.prototype.toString,a="[object Function]";t.exports=function(i){var s=this;if(typeof s!="function"||o.call(s)!==a)throw new TypeError(r+s);for(var l=n.call(arguments,1),c,p=function(){if(this instanceof c){var A=s.apply(this,l.concat(n.call(arguments)));return Object(A)===A?A:this}else return s.apply(i,l.concat(n.call(arguments)))},h=Math.max(0,s.length-l.length),d=[],y=0;y"u"?r:h(Uint8Array),g={"%AggregateError%":typeof AggregateError>"u"?r:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?r:ArrayBuffer,"%ArrayIteratorPrototype%":p?h([][Symbol.iterator]()):r,"%AsyncFromSyncIteratorPrototype%":r,"%AsyncFunction%":d,"%AsyncGenerator%":d,"%AsyncGeneratorFunction%":d,"%AsyncIteratorPrototype%":d,"%Atomics%":typeof Atomics>"u"?r:Atomics,"%BigInt%":typeof BigInt>"u"?r:BigInt,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?r:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%eval%":eval,"%EvalError%":EvalError,"%Float32Array%":typeof Float32Array>"u"?r:Float32Array,"%Float64Array%":typeof Float64Array>"u"?r:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?r:FinalizationRegistry,"%Function%":o,"%GeneratorFunction%":d,"%Int8Array%":typeof Int8Array>"u"?r:Int8Array,"%Int16Array%":typeof Int16Array>"u"?r:Int16Array,"%Int32Array%":typeof Int32Array>"u"?r:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":p?h(h([][Symbol.iterator]())):r,"%JSON%":typeof JSON=="object"?JSON:r,"%Map%":typeof Map>"u"?r:Map,"%MapIteratorPrototype%":typeof Map>"u"||!p?r:h(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?r:Promise,"%Proxy%":typeof Proxy>"u"?r:Proxy,"%RangeError%":RangeError,"%ReferenceError%":ReferenceError,"%Reflect%":typeof Reflect>"u"?r:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?r:Set,"%SetIteratorPrototype%":typeof Set>"u"||!p?r:h(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?r:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":p?h(""[Symbol.iterator]()):r,"%Symbol%":p?Symbol:r,"%SyntaxError%":n,"%ThrowTypeError%":c,"%TypedArray%":y,"%TypeError%":a,"%Uint8Array%":typeof Uint8Array>"u"?r:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?r:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?r:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?r:Uint32Array,"%URIError%":URIError,"%WeakMap%":typeof WeakMap>"u"?r:WeakMap,"%WeakRef%":typeof WeakRef>"u"?r:WeakRef,"%WeakSet%":typeof WeakSet>"u"?r:WeakSet},A=function L(z){var D;if(z==="%AsyncFunction%")D=i("async function () {}");else if(z==="%GeneratorFunction%")D=i("function* () {}");else if(z==="%AsyncGeneratorFunction%")D=i("async function* () {}");else if(z==="%AsyncGenerator%"){var T=L("%AsyncGeneratorFunction%");T&&(D=T.prototype)}else if(z==="%AsyncIteratorPrototype%"){var O=L("%AsyncGenerator%");O&&(D=h(O.prototype))}return g[z]=D,D},v={"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},S=Ga(),w=xb(),x=S.call(Function.call,Array.prototype.concat),C=S.call(Function.apply,Array.prototype.splice),k=S.call(Function.call,String.prototype.replace),F=S.call(Function.call,String.prototype.slice),_=S.call(Function.call,RegExp.prototype.exec),j=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,M=/\\(\\)?/g,P=function(L){var z=F(L,0,1),D=F(L,-1);if(z==="%"&&D!=="%")throw new n("invalid intrinsic syntax, expected closing `%`");if(D==="%"&&z!=="%")throw new n("invalid intrinsic syntax, expected opening `%`");var T=[];return k(L,j,function(O,U,$,X){T[T.length]=$?k(X,M,"$1"):U||O}),T},W=function(L,z){var D=L,T;if(w(v,D)&&(T=v[D],D="%"+T[0]+"%"),w(g,D)){var O=g[D];if(O===d&&(O=A(D)),typeof O>"u"&&!z)throw new a("intrinsic "+L+" exists, but is not available. Please file an issue!");return{alias:T,name:D,value:O}}throw new n("intrinsic "+L+" does not exist!")};t.exports=function(L,z){if(typeof L!="string"||L.length===0)throw new a("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof z!="boolean")throw new a('"allowMissing" argument must be a boolean');if(_(/^%?[^%]*%?$/,L)===null)throw new n("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var D=P(L),T=D.length>0?D[0]:"",O=W("%"+T+"%",z),U=O.name,$=O.value,X=!1,se=O.alias;se&&(T=se[0],C(D,x([0,1],se)));for(var te=1,Q=!0;te=D.length){var Fe=s($,re);Q=!!Fe,Q&&"get"in Fe&&!("originalValue"in Fe.get)?$=Fe.get:$=$[re]}else Q=w($,re),$=$[re];Q&&!X&&(g[U]=$)}}return $}}}),Tb=ze({"node_modules/call-bind/index.js"(e,t){var r=Ga(),n=Wd(),o=n("%Function.prototype.apply%"),a=n("%Function.prototype.call%"),i=n("%Reflect.apply%",!0)||r.call(a,o),s=n("%Object.getOwnPropertyDescriptor%",!0),l=n("%Object.defineProperty%",!0),c=n("%Math.max%");if(l)try{l({},"a",{value:1})}catch{l=null}t.exports=function(h){var d=i(r,a,arguments);if(s&&l){var y=s(d,"length");y.configurable&&l(d,"length",{value:1+c(0,h.length-(arguments.length-1))})}return d};var p=function(){return i(r,o,arguments)};l?l(t.exports,"apply",{value:p}):t.exports.apply=p}}),Fb=ze({"node_modules/call-bind/callBound.js"(e,t){var r=Wd(),n=Tb(),o=n(r("String.prototype.indexOf"));t.exports=function(a,i){var s=r(a,!!i);return typeof s=="function"&&o(a,".prototype.")>-1?n(s):s}}}),Ib=ze({"node_modules/has-tostringtag/shams.js"(e,t){var r=Hd();t.exports=function(){return r()&&!!Symbol.toStringTag}}}),kb=ze({"node_modules/is-regex/index.js"(e,t){var r=Fb(),n=Ib()(),o,a,i,s;n&&(o=r("Object.prototype.hasOwnProperty"),a=r("RegExp.prototype.exec"),i={},l=function(){throw i},s={toString:l,valueOf:l},typeof Symbol.toPrimitive=="symbol"&&(s[Symbol.toPrimitive]=l));var l,c=r("Object.prototype.toString"),p=Object.getOwnPropertyDescriptor,h="[object RegExp]";t.exports=n?function(d){if(!d||typeof d!="object")return!1;var y=p(d,"lastIndex"),g=y&&o(y,"value");if(!g)return!1;try{a(d,s)}catch(A){return A===i}}:function(d){return!d||typeof d!="object"&&typeof d!="function"?!1:c(d)===h}}}),Rb=ze({"node_modules/is-function/index.js"(e,t){t.exports=n;var r=Object.prototype.toString;function n(o){if(!o)return!1;var a=r.call(o);return a==="[object Function]"||typeof o=="function"&&a!=="[object RegExp]"||typeof window<"u"&&(o===window.setTimeout||o===window.alert||o===window.confirm||o===window.prompt)}}}),Ob=ze({"node_modules/is-symbol/index.js"(e,t){var r=Object.prototype.toString,n=Gd()();n?(o=Symbol.prototype.toString,a=/^Symbol\(.*\)$/,i=function(s){return typeof s.valueOf()!="symbol"?!1:a.test(o.call(s))},t.exports=function(s){if(typeof s=="symbol")return!0;if(r.call(s)!=="[object Symbol]")return!1;try{return i(s)}catch{return!1}}):t.exports=function(s){return!1};var o,a,i}});Ha(kb());Ha(Rb());Ha(Ob());var _b=typeof window=="object"&&window&&window.Object===Object&&window,Bb=_b,Pb=typeof self=="object"&&self&&self.Object===Object&&self,Nb=Bb||Pb||Function("return this")(),Wa=Nb,jb=Wa.Symbol,sr=jb,Kd=Object.prototype,Lb=Kd.hasOwnProperty,Mb=Kd.toString,Rr=sr?sr.toStringTag:void 0;function Ub(e){var t=Lb.call(e,Rr),r=e[Rr];try{e[Rr]=void 0;var n=!0}catch{}var o=Mb.call(e);return n&&(t?e[Rr]=r:delete e[Rr]),o}var $b=Ub,qb=Object.prototype,Vb=qb.toString;function Jb(e){return Vb.call(e)}var zb=Jb,Hb="[object Null]",Gb="[object Undefined]",Zc=sr?sr.toStringTag:void 0;function Wb(e){return e==null?e===void 0?Gb:Hb:Zc&&Zc in Object(e)?$b(e):zb(e)}var Kb=Wb,ed=sr?sr.prototype:void 0;ed&&ed.toString;function Yb(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}var Yd=Yb,Xb="[object AsyncFunction]",Qb="[object Function]",Zb="[object GeneratorFunction]",eE="[object Proxy]";function tE(e){if(!Yd(e))return!1;var t=Kb(e);return t==Qb||t==Zb||t==Xb||t==eE}var rE=tE,nE=Wa["__core-js_shared__"],ka=nE,td=function(){var e=/[^.]+$/.exec(ka&&ka.keys&&ka.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();function oE(e){return!!td&&td in e}var aE=oE,iE=Function.prototype,sE=iE.toString;function lE(e){if(e!=null){try{return sE.call(e)}catch{}try{return e+""}catch{}}return""}var uE=lE,cE=/[\\^$.*+?()[\]{}|]/g,dE=/^\[object .+?Constructor\]$/,pE=Function.prototype,hE=Object.prototype,fE=pE.toString,mE=hE.hasOwnProperty,yE=RegExp("^"+fE.call(mE).replace(cE,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function gE(e){if(!Yd(e)||aE(e))return!1;var t=rE(e)?yE:dE;return t.test(uE(e))}var bE=gE;function EE(e,t){return e?.[t]}var vE=EE;function AE(e,t){var r=vE(e,t);return bE(r)?r:void 0}var Xd=AE;function DE(e,t){return e===t||e!==e&&t!==t}var SE=DE,wE=Xd(Object,"create"),Br=wE;function CE(){this.__data__=Br?Br(null):{},this.size=0}var xE=CE;function TE(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}var FE=TE,IE="__lodash_hash_undefined__",kE=Object.prototype,RE=kE.hasOwnProperty;function OE(e){var t=this.__data__;if(Br){var r=t[e];return r===IE?void 0:r}return RE.call(t,e)?t[e]:void 0}var _E=OE,BE=Object.prototype,PE=BE.hasOwnProperty;function NE(e){var t=this.__data__;return Br?t[e]!==void 0:PE.call(t,e)}var jE=NE,LE="__lodash_hash_undefined__";function ME(e,t){var r=this.__data__;return this.size+=this.has(e)?0:1,r[e]=Br&&t===void 0?LE:t,this}var UE=ME;function lr(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t-1}var XE=YE;function QE(e,t){var r=this.__data__,n=Pn(r,e);return n<0?(++this.size,r.push([e,t])):r[n][1]=t,this}var ZE=QE;function ur(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t{let t=null,r=!1,n=!1,o=!1,a="";if(e.indexOf("//")>=0||e.indexOf("/*")>=0)for(let i=0;iSv(e).replace(/\n\s*/g,"").trim());gr({sources:{}});var{document:wv}=globalThis;function Cv(e,t){e.channel.emit(Di,t)}Zn.a;var Zd=["h1","h2","h3","h4","h5","h6"],xv=Zd.reduce((e,t)=>({...e,[t]:R(t)({"& svg":{position:"relative",top:"-0.1em",visibility:"hidden"},"&:hover svg":{visibility:"visible"}})}),{}),Tv=R.a(()=>({float:"left",lineHeight:"inherit",paddingRight:"10px",marginLeft:"-24px",color:"inherit"})),Fv=({as:e,id:t,children:r,...n})=>{let o=mi(bb),a=xv[e],i=`#${t}`;return f.createElement(a,{id:t,...n},f.createElement(Tv,{"aria-hidden":"true",href:i,tabIndex:-1,target:"_self",onClick:s=>{wv.getElementById(t)&&Cv(o,i)}},f.createElement(es,null)),r)},ep=e=>{let{as:t,id:r,children:n,...o}=e;if(r)return f.createElement(Fv,{as:t,id:r,...o},n);let a=t,{as:i,...s}=e;return f.createElement(a,{...eo(s,t)})};Zd.reduce((e,t)=>({...e,[t]:r=>f.createElement(ep,{as:t,...r})}),{});var Iv=(e=>(e.INFO="info",e.NOTES="notes",e.DOCGEN="docgen",e.AUTO="auto",e))(Iv||{});zt(Sg());R.div(({theme:e})=>({width:"10rem","@media (max-width: 768px)":{display:"none"}}));R.div(({theme:e})=>({position:"fixed",bottom:0,top:0,width:"10rem",paddingTop:"4rem",paddingBottom:"2rem",overflowY:"auto",fontFamily:e.typography.fonts.base,fontSize:e.typography.size.s2,WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",WebkitTapHighlightColor:"rgba(0, 0, 0, 0)",WebkitOverflowScrolling:"touch","& *":{boxSizing:"border-box"},"& > .toc-wrapper > .toc-list":{paddingLeft:0,borderLeft:`solid 2px ${e.color.mediumlight}`,".toc-list":{paddingLeft:0,borderLeft:`solid 2px ${e.color.mediumlight}`,".toc-list":{paddingLeft:0,borderLeft:`solid 2px ${e.color.mediumlight}`}}},"& .toc-list-item":{position:"relative",listStyleType:"none",marginLeft:20,paddingTop:3,paddingBottom:3},"& .toc-list-item::before":{content:'""',position:"absolute",height:"100%",top:0,left:0,transform:"translateX(calc(-2px - 20px))",borderLeft:`solid 2px ${e.color.mediumdark}`,opacity:0,transition:"opacity 0.2s"},"& .toc-list-item.is-active-li::before":{opacity:1},"& .toc-list-item > a":{color:e.color.defaultText,textDecoration:"none"},"& .toc-list-item.is-active-li > a":{fontWeight:600,color:e.color.secondary,textDecoration:"none"}}));R.p(({theme:e})=>({fontWeight:600,fontSize:"0.875em",color:e.textColor,textTransform:"uppercase",marginBottom:10}));var kv=/[\0-\x1F!-,\.\/:-@\[-\^`\{-\xA9\xAB-\xB4\xB6-\xB9\xBB-\xBF\xD7\xF7\u02C2-\u02C5\u02D2-\u02DF\u02E5-\u02EB\u02ED\u02EF-\u02FF\u0375\u0378\u0379\u037E\u0380-\u0385\u0387\u038B\u038D\u03A2\u03F6\u0482\u0530\u0557\u0558\u055A-\u055F\u0589-\u0590\u05BE\u05C0\u05C3\u05C6\u05C8-\u05CF\u05EB-\u05EE\u05F3-\u060F\u061B-\u061F\u066A-\u066D\u06D4\u06DD\u06DE\u06E9\u06FD\u06FE\u0700-\u070F\u074B\u074C\u07B2-\u07BF\u07F6-\u07F9\u07FB\u07FC\u07FE\u07FF\u082E-\u083F\u085C-\u085F\u086B-\u089F\u08B5\u08C8-\u08D2\u08E2\u0964\u0965\u0970\u0984\u098D\u098E\u0991\u0992\u09A9\u09B1\u09B3-\u09B5\u09BA\u09BB\u09C5\u09C6\u09C9\u09CA\u09CF-\u09D6\u09D8-\u09DB\u09DE\u09E4\u09E5\u09F2-\u09FB\u09FD\u09FF\u0A00\u0A04\u0A0B-\u0A0E\u0A11\u0A12\u0A29\u0A31\u0A34\u0A37\u0A3A\u0A3B\u0A3D\u0A43-\u0A46\u0A49\u0A4A\u0A4E-\u0A50\u0A52-\u0A58\u0A5D\u0A5F-\u0A65\u0A76-\u0A80\u0A84\u0A8E\u0A92\u0AA9\u0AB1\u0AB4\u0ABA\u0ABB\u0AC6\u0ACA\u0ACE\u0ACF\u0AD1-\u0ADF\u0AE4\u0AE5\u0AF0-\u0AF8\u0B00\u0B04\u0B0D\u0B0E\u0B11\u0B12\u0B29\u0B31\u0B34\u0B3A\u0B3B\u0B45\u0B46\u0B49\u0B4A\u0B4E-\u0B54\u0B58-\u0B5B\u0B5E\u0B64\u0B65\u0B70\u0B72-\u0B81\u0B84\u0B8B-\u0B8D\u0B91\u0B96-\u0B98\u0B9B\u0B9D\u0BA0-\u0BA2\u0BA5-\u0BA7\u0BAB-\u0BAD\u0BBA-\u0BBD\u0BC3-\u0BC5\u0BC9\u0BCE\u0BCF\u0BD1-\u0BD6\u0BD8-\u0BE5\u0BF0-\u0BFF\u0C0D\u0C11\u0C29\u0C3A-\u0C3C\u0C45\u0C49\u0C4E-\u0C54\u0C57\u0C5B-\u0C5F\u0C64\u0C65\u0C70-\u0C7F\u0C84\u0C8D\u0C91\u0CA9\u0CB4\u0CBA\u0CBB\u0CC5\u0CC9\u0CCE-\u0CD4\u0CD7-\u0CDD\u0CDF\u0CE4\u0CE5\u0CF0\u0CF3-\u0CFF\u0D0D\u0D11\u0D45\u0D49\u0D4F-\u0D53\u0D58-\u0D5E\u0D64\u0D65\u0D70-\u0D79\u0D80\u0D84\u0D97-\u0D99\u0DB2\u0DBC\u0DBE\u0DBF\u0DC7-\u0DC9\u0DCB-\u0DCE\u0DD5\u0DD7\u0DE0-\u0DE5\u0DF0\u0DF1\u0DF4-\u0E00\u0E3B-\u0E3F\u0E4F\u0E5A-\u0E80\u0E83\u0E85\u0E8B\u0EA4\u0EA6\u0EBE\u0EBF\u0EC5\u0EC7\u0ECE\u0ECF\u0EDA\u0EDB\u0EE0-\u0EFF\u0F01-\u0F17\u0F1A-\u0F1F\u0F2A-\u0F34\u0F36\u0F38\u0F3A-\u0F3D\u0F48\u0F6D-\u0F70\u0F85\u0F98\u0FBD-\u0FC5\u0FC7-\u0FFF\u104A-\u104F\u109E\u109F\u10C6\u10C8-\u10CC\u10CE\u10CF\u10FB\u1249\u124E\u124F\u1257\u1259\u125E\u125F\u1289\u128E\u128F\u12B1\u12B6\u12B7\u12BF\u12C1\u12C6\u12C7\u12D7\u1311\u1316\u1317\u135B\u135C\u1360-\u137F\u1390-\u139F\u13F6\u13F7\u13FE-\u1400\u166D\u166E\u1680\u169B-\u169F\u16EB-\u16ED\u16F9-\u16FF\u170D\u1715-\u171F\u1735-\u173F\u1754-\u175F\u176D\u1771\u1774-\u177F\u17D4-\u17D6\u17D8-\u17DB\u17DE\u17DF\u17EA-\u180A\u180E\u180F\u181A-\u181F\u1879-\u187F\u18AB-\u18AF\u18F6-\u18FF\u191F\u192C-\u192F\u193C-\u1945\u196E\u196F\u1975-\u197F\u19AC-\u19AF\u19CA-\u19CF\u19DA-\u19FF\u1A1C-\u1A1F\u1A5F\u1A7D\u1A7E\u1A8A-\u1A8F\u1A9A-\u1AA6\u1AA8-\u1AAF\u1AC1-\u1AFF\u1B4C-\u1B4F\u1B5A-\u1B6A\u1B74-\u1B7F\u1BF4-\u1BFF\u1C38-\u1C3F\u1C4A-\u1C4C\u1C7E\u1C7F\u1C89-\u1C8F\u1CBB\u1CBC\u1CC0-\u1CCF\u1CD3\u1CFB-\u1CFF\u1DFA\u1F16\u1F17\u1F1E\u1F1F\u1F46\u1F47\u1F4E\u1F4F\u1F58\u1F5A\u1F5C\u1F5E\u1F7E\u1F7F\u1FB5\u1FBD\u1FBF-\u1FC1\u1FC5\u1FCD-\u1FCF\u1FD4\u1FD5\u1FDC-\u1FDF\u1FED-\u1FF1\u1FF5\u1FFD-\u203E\u2041-\u2053\u2055-\u2070\u2072-\u207E\u2080-\u208F\u209D-\u20CF\u20F1-\u2101\u2103-\u2106\u2108\u2109\u2114\u2116-\u2118\u211E-\u2123\u2125\u2127\u2129\u212E\u213A\u213B\u2140-\u2144\u214A-\u214D\u214F-\u215F\u2189-\u24B5\u24EA-\u2BFF\u2C2F\u2C5F\u2CE5-\u2CEA\u2CF4-\u2CFF\u2D26\u2D28-\u2D2C\u2D2E\u2D2F\u2D68-\u2D6E\u2D70-\u2D7E\u2D97-\u2D9F\u2DA7\u2DAF\u2DB7\u2DBF\u2DC7\u2DCF\u2DD7\u2DDF\u2E00-\u2E2E\u2E30-\u3004\u3008-\u3020\u3030\u3036\u3037\u303D-\u3040\u3097\u3098\u309B\u309C\u30A0\u30FB\u3100-\u3104\u3130\u318F-\u319F\u31C0-\u31EF\u3200-\u33FF\u4DC0-\u4DFF\u9FFD-\u9FFF\uA48D-\uA4CF\uA4FE\uA4FF\uA60D-\uA60F\uA62C-\uA63F\uA673\uA67E\uA6F2-\uA716\uA720\uA721\uA789\uA78A\uA7C0\uA7C1\uA7CB-\uA7F4\uA828-\uA82B\uA82D-\uA83F\uA874-\uA87F\uA8C6-\uA8CF\uA8DA-\uA8DF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA954-\uA95F\uA97D-\uA97F\uA9C1-\uA9CE\uA9DA-\uA9DF\uA9FF\uAA37-\uAA3F\uAA4E\uAA4F\uAA5A-\uAA5F\uAA77-\uAA79\uAAC3-\uAADA\uAADE\uAADF\uAAF0\uAAF1\uAAF7-\uAB00\uAB07\uAB08\uAB0F\uAB10\uAB17-\uAB1F\uAB27\uAB2F\uAB5B\uAB6A-\uAB6F\uABEB\uABEE\uABEF\uABFA-\uABFF\uD7A4-\uD7AF\uD7C7-\uD7CA\uD7FC-\uD7FF\uE000-\uF8FF\uFA6E\uFA6F\uFADA-\uFAFF\uFB07-\uFB12\uFB18-\uFB1C\uFB29\uFB37\uFB3D\uFB3F\uFB42\uFB45\uFBB2-\uFBD2\uFD3E-\uFD4F\uFD90\uFD91\uFDC8-\uFDEF\uFDFC-\uFDFF\uFE10-\uFE1F\uFE30-\uFE32\uFE35-\uFE4C\uFE50-\uFE6F\uFE75\uFEFD-\uFF0F\uFF1A-\uFF20\uFF3B-\uFF3E\uFF40\uFF5B-\uFF65\uFFBF-\uFFC1\uFFC8\uFFC9\uFFD0\uFFD1\uFFD8\uFFD9\uFFDD-\uFFFF]|\uD800[\uDC0C\uDC27\uDC3B\uDC3E\uDC4E\uDC4F\uDC5E-\uDC7F\uDCFB-\uDD3F\uDD75-\uDDFC\uDDFE-\uDE7F\uDE9D-\uDE9F\uDED1-\uDEDF\uDEE1-\uDEFF\uDF20-\uDF2C\uDF4B-\uDF4F\uDF7B-\uDF7F\uDF9E\uDF9F\uDFC4-\uDFC7\uDFD0\uDFD6-\uDFFF]|\uD801[\uDC9E\uDC9F\uDCAA-\uDCAF\uDCD4-\uDCD7\uDCFC-\uDCFF\uDD28-\uDD2F\uDD64-\uDDFF\uDF37-\uDF3F\uDF56-\uDF5F\uDF68-\uDFFF]|\uD802[\uDC06\uDC07\uDC09\uDC36\uDC39-\uDC3B\uDC3D\uDC3E\uDC56-\uDC5F\uDC77-\uDC7F\uDC9F-\uDCDF\uDCF3\uDCF6-\uDCFF\uDD16-\uDD1F\uDD3A-\uDD7F\uDDB8-\uDDBD\uDDC0-\uDDFF\uDE04\uDE07-\uDE0B\uDE14\uDE18\uDE36\uDE37\uDE3B-\uDE3E\uDE40-\uDE5F\uDE7D-\uDE7F\uDE9D-\uDEBF\uDEC8\uDEE7-\uDEFF\uDF36-\uDF3F\uDF56-\uDF5F\uDF73-\uDF7F\uDF92-\uDFFF]|\uD803[\uDC49-\uDC7F\uDCB3-\uDCBF\uDCF3-\uDCFF\uDD28-\uDD2F\uDD3A-\uDE7F\uDEAA\uDEAD-\uDEAF\uDEB2-\uDEFF\uDF1D-\uDF26\uDF28-\uDF2F\uDF51-\uDFAF\uDFC5-\uDFDF\uDFF7-\uDFFF]|\uD804[\uDC47-\uDC65\uDC70-\uDC7E\uDCBB-\uDCCF\uDCE9-\uDCEF\uDCFA-\uDCFF\uDD35\uDD40-\uDD43\uDD48-\uDD4F\uDD74\uDD75\uDD77-\uDD7F\uDDC5-\uDDC8\uDDCD\uDDDB\uDDDD-\uDDFF\uDE12\uDE38-\uDE3D\uDE3F-\uDE7F\uDE87\uDE89\uDE8E\uDE9E\uDEA9-\uDEAF\uDEEB-\uDEEF\uDEFA-\uDEFF\uDF04\uDF0D\uDF0E\uDF11\uDF12\uDF29\uDF31\uDF34\uDF3A\uDF45\uDF46\uDF49\uDF4A\uDF4E\uDF4F\uDF51-\uDF56\uDF58-\uDF5C\uDF64\uDF65\uDF6D-\uDF6F\uDF75-\uDFFF]|\uD805[\uDC4B-\uDC4F\uDC5A-\uDC5D\uDC62-\uDC7F\uDCC6\uDCC8-\uDCCF\uDCDA-\uDD7F\uDDB6\uDDB7\uDDC1-\uDDD7\uDDDE-\uDDFF\uDE41-\uDE43\uDE45-\uDE4F\uDE5A-\uDE7F\uDEB9-\uDEBF\uDECA-\uDEFF\uDF1B\uDF1C\uDF2C-\uDF2F\uDF3A-\uDFFF]|\uD806[\uDC3B-\uDC9F\uDCEA-\uDCFE\uDD07\uDD08\uDD0A\uDD0B\uDD14\uDD17\uDD36\uDD39\uDD3A\uDD44-\uDD4F\uDD5A-\uDD9F\uDDA8\uDDA9\uDDD8\uDDD9\uDDE2\uDDE5-\uDDFF\uDE3F-\uDE46\uDE48-\uDE4F\uDE9A-\uDE9C\uDE9E-\uDEBF\uDEF9-\uDFFF]|\uD807[\uDC09\uDC37\uDC41-\uDC4F\uDC5A-\uDC71\uDC90\uDC91\uDCA8\uDCB7-\uDCFF\uDD07\uDD0A\uDD37-\uDD39\uDD3B\uDD3E\uDD48-\uDD4F\uDD5A-\uDD5F\uDD66\uDD69\uDD8F\uDD92\uDD99-\uDD9F\uDDAA-\uDEDF\uDEF7-\uDFAF\uDFB1-\uDFFF]|\uD808[\uDF9A-\uDFFF]|\uD809[\uDC6F-\uDC7F\uDD44-\uDFFF]|[\uD80A\uD80B\uD80E-\uD810\uD812-\uD819\uD824-\uD82B\uD82D\uD82E\uD830-\uD833\uD837\uD839\uD83D\uD83F\uD87B-\uD87D\uD87F\uD885-\uDB3F\uDB41-\uDBFF][\uDC00-\uDFFF]|\uD80D[\uDC2F-\uDFFF]|\uD811[\uDE47-\uDFFF]|\uD81A[\uDE39-\uDE3F\uDE5F\uDE6A-\uDECF\uDEEE\uDEEF\uDEF5-\uDEFF\uDF37-\uDF3F\uDF44-\uDF4F\uDF5A-\uDF62\uDF78-\uDF7C\uDF90-\uDFFF]|\uD81B[\uDC00-\uDE3F\uDE80-\uDEFF\uDF4B-\uDF4E\uDF88-\uDF8E\uDFA0-\uDFDF\uDFE2\uDFE5-\uDFEF\uDFF2-\uDFFF]|\uD821[\uDFF8-\uDFFF]|\uD823[\uDCD6-\uDCFF\uDD09-\uDFFF]|\uD82C[\uDD1F-\uDD4F\uDD53-\uDD63\uDD68-\uDD6F\uDEFC-\uDFFF]|\uD82F[\uDC6B-\uDC6F\uDC7D-\uDC7F\uDC89-\uDC8F\uDC9A-\uDC9C\uDC9F-\uDFFF]|\uD834[\uDC00-\uDD64\uDD6A-\uDD6C\uDD73-\uDD7A\uDD83\uDD84\uDD8C-\uDDA9\uDDAE-\uDE41\uDE45-\uDFFF]|\uD835[\uDC55\uDC9D\uDCA0\uDCA1\uDCA3\uDCA4\uDCA7\uDCA8\uDCAD\uDCBA\uDCBC\uDCC4\uDD06\uDD0B\uDD0C\uDD15\uDD1D\uDD3A\uDD3F\uDD45\uDD47-\uDD49\uDD51\uDEA6\uDEA7\uDEC1\uDEDB\uDEFB\uDF15\uDF35\uDF4F\uDF6F\uDF89\uDFA9\uDFC3\uDFCC\uDFCD]|\uD836[\uDC00-\uDDFF\uDE37-\uDE3A\uDE6D-\uDE74\uDE76-\uDE83\uDE85-\uDE9A\uDEA0\uDEB0-\uDFFF]|\uD838[\uDC07\uDC19\uDC1A\uDC22\uDC25\uDC2B-\uDCFF\uDD2D-\uDD2F\uDD3E\uDD3F\uDD4A-\uDD4D\uDD4F-\uDEBF\uDEFA-\uDFFF]|\uD83A[\uDCC5-\uDCCF\uDCD7-\uDCFF\uDD4C-\uDD4F\uDD5A-\uDFFF]|\uD83B[\uDC00-\uDDFF\uDE04\uDE20\uDE23\uDE25\uDE26\uDE28\uDE33\uDE38\uDE3A\uDE3C-\uDE41\uDE43-\uDE46\uDE48\uDE4A\uDE4C\uDE50\uDE53\uDE55\uDE56\uDE58\uDE5A\uDE5C\uDE5E\uDE60\uDE63\uDE65\uDE66\uDE6B\uDE73\uDE78\uDE7D\uDE7F\uDE8A\uDE9C-\uDEA0\uDEA4\uDEAA\uDEBC-\uDFFF]|\uD83C[\uDC00-\uDD2F\uDD4A-\uDD4F\uDD6A-\uDD6F\uDD8A-\uDFFF]|\uD83E[\uDC00-\uDFEF\uDFFA-\uDFFF]|\uD869[\uDEDE-\uDEFF]|\uD86D[\uDF35-\uDF3F]|\uD86E[\uDC1E\uDC1F]|\uD873[\uDEA2-\uDEAF]|\uD87A[\uDFE1-\uDFFF]|\uD87E[\uDE1E-\uDFFF]|\uD884[\uDF4B-\uDFFF]|\uDB40[\uDC00-\uDCFF\uDDF0-\uDFFF]/g,Rv=Object.hasOwnProperty,Ov=class{constructor(){this.occurrences,this.reset()}slug(e,t){let r=this,n=_v(e,t===!0),o=n;for(;Rv.call(r.occurrences,n);)r.occurrences[o]++,n=o+"-"+r.occurrences[o];return r.occurrences[n]=0,n}reset(){this.occurrences=Object.create(null)}};function _v(e,t){return typeof e!="string"?"":(t||(e=e.toLowerCase()),e.replace(kv,"").replace(/ /g,"-"))}var Bv=new Ov,Pv=({children:e,disableAnchor:t,...r})=>{if(t||typeof e!="string")return f.createElement(Wn,null,e);let n=Bv.slug(e.toLowerCase());return f.createElement(ep,{as:"h2",id:n,...r},e)};R(Pv)(({theme:e})=>({fontSize:`${e.typography.size.s2-1}px`,fontWeight:e.typography.weight.bold,lineHeight:"16px",letterSpacing:"0.35em",textTransform:"uppercase",color:e.textMutedColor,border:0,marginBottom:"12px","&:first-of-type":{marginTop:"56px"}}));var Nv=lo({from:{transform:"translateY(40px)"},to:{transform:"translateY(0)"}}),jv=lo({from:{background:"var(--highlight-bg-color)"},to:{}}),Lv=R.div({containerType:"size",position:"sticky",bottom:0,height:39,overflow:"hidden",zIndex:1}),Mv=R(zn)(({theme:e})=>({"--highlight-bg-color":e.base==="dark"?"#153B5B":"#E0F0FF",display:"flex",flexDirection:"row-reverse",alignItems:"center",justifyContent:"space-between",flexWrap:"wrap",gap:6,padding:"6px 10px",animation:`${Nv} 300ms, ${jv} 2s`,background:e.background.bar,borderTop:`1px solid ${e.appBorderColor}`,fontSize:e.typography.size.s2,"@container (max-width: 799px)":{flexDirection:"row",justifyContent:"flex-end"}})),Uv=R.div({display:"flex",flex:"99 0 auto",alignItems:"center",marginLeft:10,gap:6}),$v=R.div(({theme:e})=>({display:"flex",flex:"1 0 0",alignItems:"center",gap:2,color:e.color.mediumdark,fontSize:e.typography.size.s2})),Ra=R.div({"@container (max-width: 799px)":{lineHeight:0,textIndent:"-9999px","&::after":{content:"attr(data-short-label)",display:"block",lineHeight:"initial",textIndent:"0"}}}),qv=R(Ge.Input)(({theme:e})=>({"::placeholder":{color:e.color.mediumdark},"&:invalid:not(:placeholder-shown)":{boxShadow:`${e.color.negative} 0 0 0 1px inset`}})),Vv=({saveStory:e,createStory:t,resetArgs:r})=>{let n=f.useRef(null),[o,a]=f.useState(!1),[i,s]=f.useState(!1),[l,c]=f.useState(""),[p,h]=f.useState(null),d=async()=>{o||(a(!0),await e().catch(()=>{}),a(!1))},y=()=>{s(!0),c(""),setTimeout(()=>n.current?.focus(),0)},g=A=>{let v=A.target.value.replace(/^[^a-z]/i,"").replace(/[^a-z0-9-_ ]/gi,"").replaceAll(/([-_ ]+[a-z0-9])/gi,S=>S.toUpperCase().replace(/[-_ ]/g,""));c(v.charAt(0).toUpperCase()+v.slice(1))};return f.createElement(Lv,{id:"save-from-controls"},f.createElement(Mv,null,f.createElement($v,null,f.createElement(ft,{as:"div",hasChrome:!1,trigger:"hover",tooltip:f.createElement(Tt,{note:"Save changes to story"})},f.createElement(Ke,{"aria-label":"Save changes to story",disabled:o,onClick:d},f.createElement(Wi,null),f.createElement(Ra,{"data-short-label":"Save"},"Update story"))),f.createElement(ft,{as:"div",hasChrome:!1,trigger:"hover",tooltip:f.createElement(Tt,{note:"Create new story with these settings"})},f.createElement(Ke,{"aria-label":"Create new story with these settings",onClick:y},f.createElement(ho,null),f.createElement(Ra,{"data-short-label":"New"},"Create new story"))),f.createElement(ft,{as:"div",hasChrome:!1,trigger:"hover",tooltip:f.createElement(Tt,{note:"Reset changes"})},f.createElement(Ke,{"aria-label":"Reset changes",onClick:()=>r()},f.createElement(mo,null),f.createElement("span",null,"Reset")))),f.createElement(Uv,null,f.createElement(Ra,{"data-short-label":"Unsaved changes"},"You modified this story. Do you want to save your changes?")),f.createElement(Ye,{width:350,open:i,onOpenChange:s},f.createElement(Ge,{onSubmit:async A=>{if(A.preventDefault(),!o)try{h(null),a(!0),await t(l.replace(/^[^a-z]/i,"").replaceAll(/[^a-z0-9]/gi,"")),s(!1),a(!1)}catch(v){h(v.message),a(!1)}},id:"create-new-story-form"},f.createElement(Ye.Content,null,f.createElement(Ye.Header,null,f.createElement(Ye.Title,null,"Create new story"),f.createElement(Ye.Description,null,"This will add a new story to your existing stories file.")),f.createElement(qv,{onChange:g,placeholder:"Story export name",readOnly:o,ref:n,value:l}),f.createElement(Ye.Actions,null,f.createElement(ht,{disabled:o||!l,size:"medium",type:"submit",variant:"solid"},"Create"),f.createElement(Ye.Dialog.Close,{asChild:!0},f.createElement(ht,{disabled:o,size:"medium",type:"reset"},"Cancel"))))),p&&f.createElement(Ye.Error,null,p))))},nd="addon-controls",tp="controls",od=e=>Object.entries(e).reduce((t,[r,n])=>n!==void 0?Object.assign(t,{[r]:n}):t,{}),Jv=R.div({display:"grid",gridTemplateRows:"1fr 39px",height:"100%",maxHeight:"100vh",overflowY:"auto"}),zv=({saveStory:e,createStory:t})=>{let[r,n]=Z(!0),[o,a,i,s]=Mi(),[l]=Ui(),c=so(),{expanded:p,sort:h,presetColors:d,disableSaveFromUI:y=!1}=$i(tp,{}),{path:g,previewInitialized:A}=qi();xe(()=>{A&&n(!1)},[A]);let v=Object.values(c).some(x=>x?.control),S=Object.entries(c).reduce((x,[C,k])=>{let F=k?.control;return typeof F!="object"||F?.type!=="color"||F?.presetColors?x[C]=k:x[C]={...k,control:{...F,presetColors:d}},x},{}),w=pt(()=>!!o&&!!s&&!Ft(od(o),od(s)),[o,s]);return f.createElement(Jv,null,f.createElement(gb,{key:g,compact:!p&&v,rows:S,args:o,globals:l,updateArgs:a,resetArgs:i,inAddonPanel:!0,sort:h,isLoading:r}),v&&w&&dc.CONFIG_TYPE==="DEVELOPMENT"&&y!==!0&&f.createElement(Vv,{resetArgs:i,saveStory:e,createStory:t}))};function Hv(){let e=so(),t=Object.values(e).filter(r=>r?.control&&!r?.table?.disable).length;return f.createElement("div",null,f.createElement(Yn,{col:1},f.createElement("span",{style:{display:"inline-block",verticalAlign:"middle"}},"Controls"),t===0?"":f.createElement(Jn,{status:"neutral"},t)))}var ad=e=>JSON.stringify(e,(t,r)=>typeof r=="function"?"__sb_empty_function_arg__":r);Wr.register(nd,e=>{let t=Wr.getChannel(),r=async()=>{let o=e.getCurrentStoryData();if(o.type!=="story")throw new Error("Not a story");try{let a=await io(t,no,zr,{args:ad(Object.entries(o.args||{}).reduce((i,[s,l])=>(Ft(l,o.initialArgs?.[s])||(i[s]=l),i),{})),csfId:o.id,importPath:o.importPath});e.addNotification({id:"save-story-success",icon:{name:"passed",color:Kr.positive},content:{headline:"Story saved",subHeadline:f.createElement(f.Fragment,null,"Updated story ",f.createElement("b",null,a.sourceStoryName),".")},duration:8e3})}catch(a){throw e.addNotification({id:"save-story-error",icon:{name:"failed",color:Kr.negative},content:{headline:"Failed to save story",subHeadline:a?.message||"Check the Storybook process on the command line for more details."},duration:8e3}),a}},n=async o=>{let a=e.getCurrentStoryData();if(a.type!=="story")throw new Error("Not a story");let i=await io(t,no,zr,{args:a.args&&ad(a.args),csfId:a.id,importPath:a.importPath,name:o});e.addNotification({id:"save-story-success",icon:{name:"passed",color:Kr.positive},content:{headline:"Story created",subHeadline:f.createElement(f.Fragment,null,"Added story ",f.createElement("b",null,i.newStoryName)," based on ",f.createElement("b",null,i.sourceStoryName),".")},duration:8e3,onClick:({onDismiss:s})=>{s(),e.selectStory(i.newStoryId)}})};Wr.add(nd,{title:Hv,type:Li.PANEL,paramKey:tp,render:({active:o})=>!o||!e.getCurrentStoryData()?null:f.createElement(Vn,{active:o},f.createElement(zv,{saveStory:r,createStory:n}))}),t.on(zr,o=>{if(!o.success)return;let a=e.getCurrentStoryData();a.type==="story"&&(e.resetStoryArgs(a),o.payload.newStoryId&&e.selectStory(o.payload.newStoryId))})});})(); -}catch(e){ console.error("[Storybook] One of your manager-entries failed: " + import.meta.url, e); } diff --git a/docs/storybook/sb-addons/essentials-docs-4/manager-bundle.js b/docs/storybook/sb-addons/essentials-docs-4/manager-bundle.js deleted file mode 100644 index e5e75fd..0000000 --- a/docs/storybook/sb-addons/essentials-docs-4/manager-bundle.js +++ /dev/null @@ -1,242 +0,0 @@ -try{ -(()=>{var Gc=Object.create;var mn=Object.defineProperty;var Wc=Object.getOwnPropertyDescriptor;var Kc=Object.getOwnPropertyNames;var Yc=Object.getPrototypeOf,Xc=Object.prototype.hasOwnProperty;var Ie=(e=>typeof require<"u"?require:typeof Proxy<"u"?new Proxy(e,{get:(t,r)=>(typeof require<"u"?require:t)[r]}):e)(function(e){if(typeof require<"u")return require.apply(this,arguments);throw Error('Dynamic require of "'+e+'" is not supported')});var ze=(e,t)=>()=>(e&&(t=e(e=0)),t);var Qc=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),fa=(e,t)=>{for(var r in t)mn(e,r,{get:t[r],enumerable:!0})},Zc=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of Kc(t))!Xc.call(e,o)&&o!==r&&mn(e,o,{get:()=>t[o],enumerable:!(n=Wc(t,o))||n.enumerable});return e};var ed=(e,t,r)=>(r=e!=null?Gc(Yc(e)):{},Zc(t||!e||!e.__esModule?mn(r,"default",{value:e,enumerable:!0}):r,e));var V=ze(()=>{});var J=ze(()=>{});var H=ze(()=>{});var C,ma,et,d1,p1,h1,f1,td,m1,de,Kt,rd,y1,g1,b1,E1,ya,v1,A1,D1,tt,Dr,S1,w1,rt,C1,x1,T1,ga,Yt,F1,Me,Ue,I1,k1,R1,Xt=ze(()=>{V();J();H();C=__REACT__,{Children:ma,Component:et,Fragment:d1,Profiler:p1,PureComponent:h1,StrictMode:f1,Suspense:td,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:m1,cloneElement:de,createContext:Kt,createElement:rd,createFactory:y1,createRef:g1,forwardRef:b1,isValidElement:E1,lazy:ya,memo:v1,startTransition:A1,unstable_act:D1,useCallback:tt,useContext:Dr,useDebugValue:S1,useDeferredValue:w1,useEffect:rt,useId:C1,useImperativeHandle:x1,useInsertionEffect:T1,useLayoutEffect:ga,useMemo:Yt,useReducer:F1,useRef:Me,useState:Ue,useSyncExternalStore:I1,useTransition:k1,version:R1}=__REACT__});var Ia={};fa(Ia,{A:()=>ad,ActionBar:()=>yn,AddonPanel:()=>gn,Badge:()=>id,Bar:()=>sd,Blockquote:()=>ld,Button:()=>ba,ClipboardCode:()=>ud,Code:()=>Ea,DL:()=>cd,Div:()=>dd,DocumentWrapper:()=>pd,EmptyTabContent:()=>va,ErrorFormatter:()=>Aa,FlexBar:()=>bn,Form:()=>nt,H1:()=>hd,H2:()=>En,H3:()=>Da,H4:()=>fd,H5:()=>md,H6:()=>yd,HR:()=>gd,IconButton:()=>ht,IconButtonSkeleton:()=>bd,Icons:()=>Ed,Img:()=>vd,LI:()=>Ad,Link:()=>Sa,ListItem:()=>Dd,Loader:()=>wa,Modal:()=>Sd,OL:()=>wd,P:()=>Cd,Placeholder:()=>xd,Pre:()=>Td,ProgressSpinner:()=>Fd,ResetWrapper:()=>Ca,ScrollArea:()=>Id,Separator:()=>kd,Spaced:()=>Rd,Span:()=>Od,StorybookIcon:()=>_d,StorybookLogo:()=>Pd,Symbols:()=>Bd,SyntaxHighlighter:()=>vn,TT:()=>Nd,TabBar:()=>jd,TabButton:()=>Ld,TabWrapper:()=>Md,Table:()=>Ud,Tabs:()=>$d,TabsState:()=>xa,TooltipLinkList:()=>qd,TooltipMessage:()=>Vd,TooltipNote:()=>An,UL:()=>Jd,WithTooltip:()=>Sr,WithTooltipPure:()=>Ta,Zoom:()=>Dn,codeCommon:()=>Tt,components:()=>Sn,createCopyToClipboardFunction:()=>Hd,default:()=>od,getStoryHref:()=>Fa,icons:()=>zd,interleaveSeparators:()=>Gd,nameSpaceClassNames:()=>wn,resetComponents:()=>Wd,withReset:()=>Ft});var od,ad,yn,gn,id,sd,ld,ba,ud,Ea,cd,dd,pd,va,Aa,bn,nt,hd,En,Da,fd,md,yd,gd,ht,bd,Ed,vd,Ad,Sa,Dd,wa,Sd,wd,Cd,xd,Td,Fd,Ca,Id,kd,Rd,Od,_d,Pd,Bd,vn,Nd,jd,Ld,Md,Ud,$d,xa,qd,Vd,An,Jd,Sr,Ta,Dn,Tt,Sn,Hd,Fa,zd,Gd,wn,Wd,Ft,Qt=ze(()=>{V();J();H();od=__STORYBOOK_COMPONENTS__,{A:ad,ActionBar:yn,AddonPanel:gn,Badge:id,Bar:sd,Blockquote:ld,Button:ba,ClipboardCode:ud,Code:Ea,DL:cd,Div:dd,DocumentWrapper:pd,EmptyTabContent:va,ErrorFormatter:Aa,FlexBar:bn,Form:nt,H1:hd,H2:En,H3:Da,H4:fd,H5:md,H6:yd,HR:gd,IconButton:ht,IconButtonSkeleton:bd,Icons:Ed,Img:vd,LI:Ad,Link:Sa,ListItem:Dd,Loader:wa,Modal:Sd,OL:wd,P:Cd,Placeholder:xd,Pre:Td,ProgressSpinner:Fd,ResetWrapper:Ca,ScrollArea:Id,Separator:kd,Spaced:Rd,Span:Od,StorybookIcon:_d,StorybookLogo:Pd,Symbols:Bd,SyntaxHighlighter:vn,TT:Nd,TabBar:jd,TabButton:Ld,TabWrapper:Md,Table:Ud,Tabs:$d,TabsState:xa,TooltipLinkList:qd,TooltipMessage:Vd,TooltipNote:An,UL:Jd,WithTooltip:Sr,WithTooltipPure:Ta,Zoom:Dn,codeCommon:Tt,components:Sn,createCopyToClipboardFunction:Hd,getStoryHref:Fa,icons:zd,interleaveSeparators:Gd,nameSpaceClassNames:wn,resetComponents:Wd,withReset:Ft}=__STORYBOOK_COMPONENTS__});var oi=Qc((xr,ni)=>{V();J();H();(function(e,t){typeof xr=="object"&&typeof ni<"u"?t(xr):typeof define=="function"&&define.amd?define(["exports"],t):(e=typeof globalThis<"u"?globalThis:e||self,t(e.jtpp={}))})(xr,function(e){"use strict";function t(s){return s.text!==void 0&&s.text!==""?`'${s.type}' with value '${s.text}'`:`'${s.type}'`}class r extends Error{constructor(f){super(`No parslet found for token: ${t(f)}`),this.token=f,Object.setPrototypeOf(this,r.prototype)}getToken(){return this.token}}class n extends Error{constructor(f){super(`The parsing ended early. The next token was: ${t(f)}`),this.token=f,Object.setPrototypeOf(this,n.prototype)}getToken(){return this.token}}class o extends Error{constructor(f,g){let T=`Unexpected type: '${f.type}'.`;g!==void 0&&(T+=` Message: ${g}`),super(T),Object.setPrototypeOf(this,o.prototype)}}function i(s){return f=>f.startsWith(s)?{type:s,text:s}:null}function a(s){let f=0,g,T=s[0],B=!1;if(T!=="'"&&T!=='"')return null;for(;f{let f=c(s);return f==null?null:{type:"Identifier",text:f}};function y(s){return f=>{if(!f.startsWith(s))return null;let g=f[s.length];return g!==void 0&&u.test(g)?null:{type:s,text:s}}}let E=s=>{let f=a(s);return f==null?null:{type:"StringValue",text:f}},v=s=>s.length>0?null:{type:"EOF",text:""},A=s=>{let f=p(s);return f===null?null:{type:"Number",text:f}},D=[v,i("=>"),i("("),i(")"),i("{"),i("}"),i("["),i("]"),i("|"),i("&"),i("<"),i(">"),i(","),i(";"),i("*"),i("?"),i("!"),i("="),i(":"),i("..."),i("."),i("#"),i("~"),i("/"),i("@"),y("undefined"),y("null"),y("function"),y("this"),y("new"),y("module"),y("event"),y("external"),y("typeof"),y("keyof"),y("readonly"),y("import"),y("is"),y("in"),y("asserts"),A,h,E],S=/^\s*\n\s*/;class F{static create(f){let g=this.read(f);f=g.text;let T=this.read(f);return f=T.text,new F(f,void 0,g.token,T.token)}constructor(f,g,T,B){this.text="",this.text=f,this.previous=g,this.current=T,this.next=B}static read(f,g=!1){g=g||S.test(f),f=f.trim();for(let T of D){let B=T(f);if(B!==null){let q=Object.assign(Object.assign({},B),{startOfLine:g});return f=f.slice(q.text.length),{text:f,token:q}}}throw new Error("Unexpected Token "+f)}advance(){let f=F.read(this.text);return new F(f.text,this.current,this.next,f.token)}}function x(s){if(s===void 0)throw new Error("Unexpected undefined");if(s.type==="JsdocTypeKeyValue"||s.type==="JsdocTypeParameterList"||s.type==="JsdocTypeProperty"||s.type==="JsdocTypeReadonlyProperty"||s.type==="JsdocTypeObjectField"||s.type==="JsdocTypeJsdocObjectField"||s.type==="JsdocTypeIndexSignature"||s.type==="JsdocTypeMappedType")throw new o(s);return s}function O(s){return s.type==="JsdocTypeKeyValue"?N(s):x(s)}function R(s){return s.type==="JsdocTypeName"?s:N(s)}function N(s){if(s.type!=="JsdocTypeKeyValue")throw new o(s);return s}function j(s){var f;if(s.type==="JsdocTypeVariadic"){if(((f=s.element)===null||f===void 0?void 0:f.type)==="JsdocTypeName")return s;throw new o(s)}if(s.type!=="JsdocTypeNumber"&&s.type!=="JsdocTypeName")throw new o(s);return s}function U(s){return s.type==="JsdocTypeIndexSignature"||s.type==="JsdocTypeMappedType"}var P;(function(s){s[s.ALL=0]="ALL",s[s.PARAMETER_LIST=1]="PARAMETER_LIST",s[s.OBJECT=2]="OBJECT",s[s.KEY_VALUE=3]="KEY_VALUE",s[s.INDEX_BRACKETS=4]="INDEX_BRACKETS",s[s.UNION=5]="UNION",s[s.INTERSECTION=6]="INTERSECTION",s[s.PREFIX=7]="PREFIX",s[s.INFIX=8]="INFIX",s[s.TUPLE=9]="TUPLE",s[s.SYMBOL=10]="SYMBOL",s[s.OPTIONAL=11]="OPTIONAL",s[s.NULLABLE=12]="NULLABLE",s[s.KEY_OF_TYPE_OF=13]="KEY_OF_TYPE_OF",s[s.FUNCTION=14]="FUNCTION",s[s.ARROW=15]="ARROW",s[s.ARRAY_BRACKETS=16]="ARRAY_BRACKETS",s[s.GENERIC=17]="GENERIC",s[s.NAME_PATH=18]="NAME_PATH",s[s.PARENTHESIS=19]="PARENTHESIS",s[s.SPECIAL_TYPES=20]="SPECIAL_TYPES"})(P||(P={}));class K{constructor(f,g,T){this.grammar=f,typeof g=="string"?this._lexer=F.create(g):this._lexer=g,this.baseParser=T}get lexer(){return this._lexer}parse(){let f=this.parseType(P.ALL);if(this.lexer.current.type!=="EOF")throw new n(this.lexer.current);return f}parseType(f){return x(this.parseIntermediateType(f))}parseIntermediateType(f){let g=this.tryParslets(null,f);if(g===null)throw new r(this.lexer.current);return this.parseInfixIntermediateType(g,f)}parseInfixIntermediateType(f,g){let T=this.tryParslets(f,g);for(;T!==null;)f=T,T=this.tryParslets(f,g);return f}tryParslets(f,g){for(let T of this.grammar){let B=T(this,g,f);if(B!==null)return B}return null}consume(f){return Array.isArray(f)||(f=[f]),f.includes(this.lexer.current.type)?(this._lexer=this.lexer.advance(),!0):!1}acceptLexerState(f){this._lexer=f.lexer}}function L(s){return s==="EOF"||s==="|"||s===","||s===")"||s===">"}let z=(s,f,g)=>{let T=s.lexer.current.type,B=s.lexer.next.type;return g==null&&T==="?"&&!L(B)||g!=null&&T==="?"?(s.consume("?"),g==null?{type:"JsdocTypeNullable",element:s.parseType(P.NULLABLE),meta:{position:"prefix"}}:{type:"JsdocTypeNullable",element:x(g),meta:{position:"suffix"}}):null};function b(s){let f=(g,T,B)=>{let q=g.lexer.current.type,W=g.lexer.next.type;if(B===null){if("parsePrefix"in s&&s.accept(q,W))return s.parsePrefix(g)}else if("parseInfix"in s&&s.precedence>T&&s.accept(q,W))return s.parseInfix(g,B);return null};return Object.defineProperty(f,"name",{value:s.name}),f}let w=b({name:"optionalParslet",accept:s=>s==="=",precedence:P.OPTIONAL,parsePrefix:s=>(s.consume("="),{type:"JsdocTypeOptional",element:s.parseType(P.OPTIONAL),meta:{position:"prefix"}}),parseInfix:(s,f)=>(s.consume("="),{type:"JsdocTypeOptional",element:x(f),meta:{position:"suffix"}})}),I=b({name:"numberParslet",accept:s=>s==="Number",parsePrefix:s=>{let f=parseFloat(s.lexer.current.text);return s.consume("Number"),{type:"JsdocTypeNumber",value:f}}}),M=b({name:"parenthesisParslet",accept:s=>s==="(",parsePrefix:s=>{if(s.consume("("),s.consume(")"))return{type:"JsdocTypeParameterList",elements:[]};let f=s.parseIntermediateType(P.ALL);if(!s.consume(")"))throw new Error("Unterminated parenthesis");return f.type==="JsdocTypeParameterList"?f:f.type==="JsdocTypeKeyValue"?{type:"JsdocTypeParameterList",elements:[f]}:{type:"JsdocTypeParenthesis",element:x(f)}}}),$=b({name:"specialTypesParslet",accept:(s,f)=>s==="?"&&L(f)||s==="null"||s==="undefined"||s==="*",parsePrefix:s=>{if(s.consume("null"))return{type:"JsdocTypeNull"};if(s.consume("undefined"))return{type:"JsdocTypeUndefined"};if(s.consume("*"))return{type:"JsdocTypeAny"};if(s.consume("?"))return{type:"JsdocTypeUnknown"};throw new Error("Unacceptable token: "+s.lexer.current.text)}}),Y=b({name:"notNullableParslet",accept:s=>s==="!",precedence:P.NULLABLE,parsePrefix:s=>(s.consume("!"),{type:"JsdocTypeNotNullable",element:s.parseType(P.NULLABLE),meta:{position:"prefix"}}),parseInfix:(s,f)=>(s.consume("!"),{type:"JsdocTypeNotNullable",element:x(f),meta:{position:"suffix"}})});function re({allowTrailingComma:s}){return b({name:"parameterListParslet",accept:f=>f===",",precedence:P.PARAMETER_LIST,parseInfix:(f,g)=>{let T=[O(g)];f.consume(",");do try{let B=f.parseIntermediateType(P.PARAMETER_LIST);T.push(O(B))}catch(B){if(s&&B instanceof r)break;throw B}while(f.consume(","));if(T.length>0&&T.slice(0,-1).some(B=>B.type==="JsdocTypeVariadic"))throw new Error("Only the last parameter may be a rest parameter");return{type:"JsdocTypeParameterList",elements:T}}})}let Z=b({name:"genericParslet",accept:(s,f)=>s==="<"||s==="."&&f==="<",precedence:P.GENERIC,parseInfix:(s,f)=>{let g=s.consume(".");s.consume("<");let T=[];do T.push(s.parseType(P.PARAMETER_LIST));while(s.consume(","));if(!s.consume(">"))throw new Error("Unterminated generic parameter list");return{type:"JsdocTypeGeneric",left:x(f),elements:T,meta:{brackets:"angle",dot:g}}}}),X=b({name:"unionParslet",accept:s=>s==="|",precedence:P.UNION,parseInfix:(s,f)=>{s.consume("|");let g=[];do g.push(s.parseType(P.UNION));while(s.consume("|"));return{type:"JsdocTypeUnion",elements:[x(f),...g]}}}),ee=[z,w,I,M,$,Y,re({allowTrailingComma:!0}),Z,X,w];function ge({allowSquareBracketsOnAnyType:s,allowJsdocNamePaths:f,pathGrammar:g}){return function(B,q,W){if(W==null||q>=P.NAME_PATH)return null;let te=B.lexer.current.type,Ce=B.lexer.next.type;if(!(te==="."&&Ce!=="<"||te==="["&&(s||W.type==="JsdocTypeName")||f&&(te==="~"||te==="#")))return null;let _e,Ar=!1;B.consume(".")?_e="property":B.consume("[")?(_e="property-brackets",Ar=!0):B.consume("~")?_e="inner":(B.consume("#"),_e="instance");let pa=g!==null?new K(g,B.lexer,B):B,He=pa.parseIntermediateType(P.NAME_PATH);B.acceptLexerState(pa);let Wt;switch(He.type){case"JsdocTypeName":Wt={type:"JsdocTypeProperty",value:He.value,meta:{quote:void 0}};break;case"JsdocTypeNumber":Wt={type:"JsdocTypeProperty",value:He.value.toString(10),meta:{quote:void 0}};break;case"JsdocTypeStringValue":Wt={type:"JsdocTypeProperty",value:He.value,meta:{quote:He.meta.quote}};break;case"JsdocTypeSpecialNamePath":if(He.specialType==="event")Wt=He;else throw new o(He,"Type 'JsdocTypeSpecialNamePath' is only allowed with specialType 'event'");break;default:throw new o(He,"Expecting 'JsdocTypeName', 'JsdocTypeNumber', 'JsdocStringValue' or 'JsdocTypeSpecialNamePath'")}if(Ar&&!B.consume("]")){let ha=B.lexer.current;throw new Error(`Unterminated square brackets. Next token is '${ha.type}' with text '${ha.text}'`)}return{type:"JsdocTypeNamePath",left:x(W),right:Wt,pathType:_e}}}function ue({allowedAdditionalTokens:s}){return b({name:"nameParslet",accept:f=>f==="Identifier"||f==="this"||f==="new"||s.includes(f),parsePrefix:f=>{let{type:g,text:T}=f.lexer.current;return f.consume(g),{type:"JsdocTypeName",value:T}}})}let Se=b({name:"stringValueParslet",accept:s=>s==="StringValue",parsePrefix:s=>{let f=s.lexer.current.text;return s.consume("StringValue"),{type:"JsdocTypeStringValue",value:f.slice(1,-1),meta:{quote:f[0]==="'"?"single":"double"}}}});function ne({pathGrammar:s,allowedTypes:f}){return b({name:"specialNamePathParslet",accept:g=>f.includes(g),parsePrefix:g=>{let T=g.lexer.current.type;if(g.consume(T),!g.consume(":"))return{type:"JsdocTypeName",value:T};let B,q=g.lexer.current;if(g.consume("StringValue"))B={type:"JsdocTypeSpecialNamePath",value:q.text.slice(1,-1),specialType:T,meta:{quote:q.text[0]==="'"?"single":"double"}};else{let Ce="",Ae=["Identifier","@","/"];for(;Ae.some(_e=>g.consume(_e));)Ce+=q.text,q=g.lexer.current;B={type:"JsdocTypeSpecialNamePath",value:Ce,specialType:T,meta:{quote:void 0}}}let W=new K(s,g.lexer,g),te=W.parseInfixIntermediateType(B,P.ALL);return g.acceptLexerState(W),x(te)}})}let je=[ue({allowedAdditionalTokens:["external","module"]}),Se,I,ge({allowSquareBracketsOnAnyType:!1,allowJsdocNamePaths:!0,pathGrammar:null})],Re=[...je,ne({allowedTypes:["event"],pathGrammar:je})];function Je(s){let f;if(s.type==="JsdocTypeParameterList")f=s.elements;else if(s.type==="JsdocTypeParenthesis")f=[s.element];else throw new o(s);return f.map(g=>O(g))}function Ht(s){let f=Je(s);if(f.some(g=>g.type==="JsdocTypeKeyValue"))throw new Error("No parameter should be named");return f}function Ct({allowNamedParameters:s,allowNoReturnType:f,allowWithoutParenthesis:g,allowNewAsFunctionKeyword:T}){return b({name:"functionParslet",accept:(B,q)=>B==="function"||T&&B==="new"&&q==="(",parsePrefix:B=>{let q=B.consume("new");B.consume("function");let W=B.lexer.current.type==="(";if(!W){if(!g)throw new Error("function is missing parameter list");return{type:"JsdocTypeName",value:"function"}}let te={type:"JsdocTypeFunction",parameters:[],arrow:!1,constructor:q,parenthesis:W},Ce=B.parseIntermediateType(P.FUNCTION);if(s===void 0)te.parameters=Ht(Ce);else{if(q&&Ce.type==="JsdocTypeFunction"&&Ce.arrow)return te=Ce,te.constructor=!0,te;te.parameters=Je(Ce);for(let Ae of te.parameters)if(Ae.type==="JsdocTypeKeyValue"&&!s.includes(Ae.key))throw new Error(`only allowed named parameters are ${s.join(", ")} but got ${Ae.type}`)}if(B.consume(":"))te.returnType=B.parseType(P.PREFIX);else if(!f)throw new Error("function is missing return type");return te}})}function zt({allowPostfix:s,allowEnclosingBrackets:f}){return b({name:"variadicParslet",accept:g=>g==="...",precedence:P.PREFIX,parsePrefix:g=>{g.consume("...");let T=f&&g.consume("[");try{let B=g.parseType(P.PREFIX);if(T&&!g.consume("]"))throw new Error("Unterminated variadic type. Missing ']'");return{type:"JsdocTypeVariadic",element:x(B),meta:{position:"prefix",squareBrackets:T}}}catch(B){if(B instanceof r){if(T)throw new Error("Empty square brackets for variadic are not allowed.");return{type:"JsdocTypeVariadic",meta:{position:void 0,squareBrackets:!1}}}else throw B}},parseInfix:s?(g,T)=>(g.consume("..."),{type:"JsdocTypeVariadic",element:x(T),meta:{position:"suffix",squareBrackets:!1}}):void 0})}let br=b({name:"symbolParslet",accept:s=>s==="(",precedence:P.SYMBOL,parseInfix:(s,f)=>{if(f.type!=="JsdocTypeName")throw new Error("Symbol expects a name on the left side. (Reacting on '(')");s.consume("(");let g={type:"JsdocTypeSymbol",value:f.value};if(!s.consume(")")){let T=s.parseIntermediateType(P.SYMBOL);if(g.element=j(T),!s.consume(")"))throw new Error("Symbol does not end after value")}return g}}),Fe=b({name:"arrayBracketsParslet",precedence:P.ARRAY_BRACKETS,accept:(s,f)=>s==="["&&f==="]",parseInfix:(s,f)=>(s.consume("["),s.consume("]"),{type:"JsdocTypeGeneric",left:{type:"JsdocTypeName",value:"Array"},elements:[x(f)],meta:{brackets:"square",dot:!1}})});function Te({objectFieldGrammar:s,allowKeyTypes:f}){return b({name:"objectParslet",accept:g=>g==="{",parsePrefix:g=>{g.consume("{");let T={type:"JsdocTypeObject",meta:{separator:"comma"},elements:[]};if(!g.consume("}")){let B,q=new K(s,g.lexer,g);for(;;){q.acceptLexerState(g);let W=q.parseIntermediateType(P.OBJECT);g.acceptLexerState(q),W===void 0&&f&&(W=g.parseIntermediateType(P.OBJECT));let te=!1;if(W.type==="JsdocTypeNullable"&&(te=!0,W=W.element),W.type==="JsdocTypeNumber"||W.type==="JsdocTypeName"||W.type==="JsdocTypeStringValue"){let Ae;W.type==="JsdocTypeStringValue"&&(Ae=W.meta.quote),T.elements.push({type:"JsdocTypeObjectField",key:W.value.toString(),right:void 0,optional:te,readonly:!1,meta:{quote:Ae}})}else if(W.type==="JsdocTypeObjectField"||W.type==="JsdocTypeJsdocObjectField")T.elements.push(W);else throw new o(W);if(g.lexer.current.startOfLine)B="linebreak";else if(g.consume(","))B="comma";else if(g.consume(";"))B="semicolon";else break;if(g.lexer.current.type==="}")break}if(T.meta.separator=B??"comma",!g.consume("}"))throw new Error("Unterminated record type. Missing '}'")}return T}})}function Xe({allowSquaredProperties:s,allowKeyTypes:f,allowReadonly:g,allowOptional:T}){return b({name:"objectFieldParslet",precedence:P.KEY_VALUE,accept:B=>B===":",parseInfix:(B,q)=>{var W;let te=!1,Ce=!1;T&&q.type==="JsdocTypeNullable"&&(te=!0,q=q.element),g&&q.type==="JsdocTypeReadonlyProperty"&&(Ce=!0,q=q.element);let Ae=(W=B.baseParser)!==null&&W!==void 0?W:B;if(Ae.acceptLexerState(B),q.type==="JsdocTypeNumber"||q.type==="JsdocTypeName"||q.type==="JsdocTypeStringValue"||U(q)){if(U(q)&&!s)throw new o(q);Ae.consume(":");let _e;q.type==="JsdocTypeStringValue"&&(_e=q.meta.quote);let Ar=Ae.parseType(P.KEY_VALUE);return B.acceptLexerState(Ae),{type:"JsdocTypeObjectField",key:U(q)?q:q.value.toString(),right:Ar,optional:te,readonly:Ce,meta:{quote:_e}}}else{if(!f)throw new o(q);Ae.consume(":");let _e=Ae.parseType(P.KEY_VALUE);return B.acceptLexerState(Ae),{type:"JsdocTypeJsdocObjectField",left:x(q),right:_e}}}})}function xt({allowOptional:s,allowVariadic:f}){return b({name:"keyValueParslet",precedence:P.KEY_VALUE,accept:g=>g===":",parseInfix:(g,T)=>{let B=!1,q=!1;if(s&&T.type==="JsdocTypeNullable"&&(B=!0,T=T.element),f&&T.type==="JsdocTypeVariadic"&&T.element!==void 0&&(q=!0,T=T.element),T.type!=="JsdocTypeName")throw new o(T);g.consume(":");let W=g.parseType(P.KEY_VALUE);return{type:"JsdocTypeKeyValue",key:T.value,right:W,optional:B,variadic:q}}})}let Er=[...ee,Ct({allowWithoutParenthesis:!0,allowNamedParameters:["this","new"],allowNoReturnType:!0,allowNewAsFunctionKeyword:!1}),Se,ne({allowedTypes:["module","external","event"],pathGrammar:Re}),zt({allowEnclosingBrackets:!0,allowPostfix:!0}),ue({allowedAdditionalTokens:["keyof"]}),br,Fe,ge({allowSquareBracketsOnAnyType:!1,allowJsdocNamePaths:!0,pathGrammar:Re})],pn=[...Er,Te({objectFieldGrammar:[ue({allowedAdditionalTokens:["module","in"]}),Xe({allowSquaredProperties:!1,allowKeyTypes:!0,allowOptional:!1,allowReadonly:!1}),...Er],allowKeyTypes:!0}),xt({allowOptional:!0,allowVariadic:!0})],sa=b({name:"typeOfParslet",accept:s=>s==="typeof",parsePrefix:s=>(s.consume("typeof"),{type:"JsdocTypeTypeof",element:x(s.parseType(P.KEY_OF_TYPE_OF))})}),Sc=[ue({allowedAdditionalTokens:["module","keyof","event","external","in"]}),z,w,Se,I,Xe({allowSquaredProperties:!1,allowKeyTypes:!1,allowOptional:!1,allowReadonly:!1})],wc=[...ee,Te({allowKeyTypes:!1,objectFieldGrammar:Sc}),ue({allowedAdditionalTokens:["event","external","in"]}),sa,Ct({allowWithoutParenthesis:!1,allowNamedParameters:["this","new"],allowNoReturnType:!0,allowNewAsFunctionKeyword:!1}),zt({allowEnclosingBrackets:!1,allowPostfix:!1}),ue({allowedAdditionalTokens:["keyof"]}),ne({allowedTypes:["module"],pathGrammar:Re}),ge({allowSquareBracketsOnAnyType:!1,allowJsdocNamePaths:!0,pathGrammar:Re}),xt({allowOptional:!1,allowVariadic:!1}),br],Cc=b({name:"assertsParslet",accept:s=>s==="asserts",parsePrefix:s=>{s.consume("asserts");let f=s.parseIntermediateType(P.SYMBOL);if(f.type!=="JsdocTypeName")throw new o(f,"A typescript asserts always has to have a name on the left side.");return s.consume("is"),{type:"JsdocTypeAsserts",left:f,right:x(s.parseIntermediateType(P.INFIX))}}});function xc({allowQuestionMark:s}){return b({name:"tupleParslet",accept:f=>f==="[",parsePrefix:f=>{f.consume("[");let g={type:"JsdocTypeTuple",elements:[]};if(f.consume("]"))return g;let T=f.parseIntermediateType(P.ALL);if(T.type==="JsdocTypeParameterList"?T.elements[0].type==="JsdocTypeKeyValue"?g.elements=T.elements.map(N):g.elements=T.elements.map(x):T.type==="JsdocTypeKeyValue"?g.elements=[N(T)]:g.elements=[x(T)],!f.consume("]"))throw new Error("Unterminated '['");if(!s&&g.elements.some(B=>B.type==="JsdocTypeUnknown"))throw new Error("Question mark in tuple not allowed");return g}})}let Tc=b({name:"keyOfParslet",accept:s=>s==="keyof",parsePrefix:s=>(s.consume("keyof"),{type:"JsdocTypeKeyof",element:x(s.parseType(P.KEY_OF_TYPE_OF))})}),Fc=b({name:"importParslet",accept:s=>s==="import",parsePrefix:s=>{if(s.consume("import"),!s.consume("("))throw new Error("Missing parenthesis after import keyword");let f=s.parseType(P.PREFIX);if(f.type!=="JsdocTypeStringValue")throw new Error("Only string values are allowed as paths for imports");if(!s.consume(")"))throw new Error("Missing closing parenthesis after import keyword");return{type:"JsdocTypeImport",element:f}}}),Ic=b({name:"readonlyPropertyParslet",accept:s=>s==="readonly",parsePrefix:s=>(s.consume("readonly"),{type:"JsdocTypeReadonlyProperty",element:s.parseType(P.KEY_VALUE)})}),kc=b({name:"arrowFunctionParslet",precedence:P.ARROW,accept:s=>s==="=>",parseInfix:(s,f)=>(s.consume("=>"),{type:"JsdocTypeFunction",parameters:Je(f).map(R),arrow:!0,constructor:!1,parenthesis:!0,returnType:s.parseType(P.OBJECT)})}),Rc=b({name:"intersectionParslet",accept:s=>s==="&",precedence:P.INTERSECTION,parseInfix:(s,f)=>{s.consume("&");let g=[];do g.push(s.parseType(P.INTERSECTION));while(s.consume("&"));return{type:"JsdocTypeIntersection",elements:[x(f),...g]}}}),Oc=b({name:"predicateParslet",precedence:P.INFIX,accept:s=>s==="is",parseInfix:(s,f)=>{if(f.type!=="JsdocTypeName")throw new o(f,"A typescript predicate always has to have a name on the left side.");return s.consume("is"),{type:"JsdocTypePredicate",left:f,right:x(s.parseIntermediateType(P.INFIX))}}}),_c=b({name:"objectSquareBracketPropertyParslet",accept:s=>s==="[",parsePrefix:s=>{if(s.baseParser===void 0)throw new Error("Only allowed inside object grammar");s.consume("[");let f=s.lexer.current.text;s.consume("Identifier");let g;if(s.consume(":")){let T=s.baseParser;T.acceptLexerState(s),g={type:"JsdocTypeIndexSignature",key:f,right:T.parseType(P.INDEX_BRACKETS)},s.acceptLexerState(T)}else if(s.consume("in")){let T=s.baseParser;T.acceptLexerState(s),g={type:"JsdocTypeMappedType",key:f,right:T.parseType(P.ARRAY_BRACKETS)},s.acceptLexerState(T)}else throw new Error("Missing ':' or 'in' inside square bracketed property.");if(!s.consume("]"))throw new Error("Unterminated square brackets");return g}}),Pc=[Ic,ue({allowedAdditionalTokens:["module","event","keyof","event","external","in"]}),z,w,Se,I,Xe({allowSquaredProperties:!0,allowKeyTypes:!1,allowOptional:!0,allowReadonly:!0}),_c],Bc=[...ee,Te({allowKeyTypes:!1,objectFieldGrammar:Pc}),sa,Tc,Fc,Se,Ct({allowWithoutParenthesis:!0,allowNoReturnType:!1,allowNamedParameters:["this","new","args"],allowNewAsFunctionKeyword:!0}),xc({allowQuestionMark:!1}),zt({allowEnclosingBrackets:!1,allowPostfix:!1}),Cc,ue({allowedAdditionalTokens:["event","external","in"]}),ne({allowedTypes:["module"],pathGrammar:Re}),Fe,kc,ge({allowSquareBracketsOnAnyType:!0,allowJsdocNamePaths:!1,pathGrammar:Re}),Rc,Oc,xt({allowVariadic:!0,allowOptional:!0})];function la(s,f){switch(f){case"closure":return new K(wc,s).parse();case"jsdoc":return new K(pn,s).parse();case"typescript":return new K(Bc,s).parse()}}function Nc(s,f=["typescript","closure","jsdoc"]){let g;for(let T of f)try{return la(s,T)}catch(B){g=B}throw g}function Gt(s,f){let g=s[f.type];if(g===void 0)throw new Error(`In this set of transform rules exists no rule for type ${f.type}.`);return g(f,T=>Gt(s,T))}function we(s){throw new Error("This transform is not available. Are you trying the correct parsing mode?")}function ua(s){let f={params:[]};for(let g of s.parameters)g.type==="JsdocTypeKeyValue"?g.key==="this"?f.this=g.right:g.key==="new"?f.new=g.right:f.params.push(g):f.params.push(g);return f}function vr(s,f,g){return s==="prefix"?g+f:f+g}function Qe(s,f){switch(f){case"double":return`"${s}"`;case"single":return`'${s}'`;case void 0:return s}}function ca(){return{JsdocTypeParenthesis:(s,f)=>`(${s.element!==void 0?f(s.element):""})`,JsdocTypeKeyof:(s,f)=>`keyof ${f(s.element)}`,JsdocTypeFunction:(s,f)=>{if(s.arrow){if(s.returnType===void 0)throw new Error("Arrow function needs a return type.");let g=`(${s.parameters.map(f).join(", ")}) => ${f(s.returnType)}`;return s.constructor&&(g="new "+g),g}else{let g=s.constructor?"new":"function";return s.parenthesis&&(g+=`(${s.parameters.map(f).join(", ")})`,s.returnType!==void 0&&(g+=`: ${f(s.returnType)}`)),g}},JsdocTypeName:s=>s.value,JsdocTypeTuple:(s,f)=>`[${s.elements.map(f).join(", ")}]`,JsdocTypeVariadic:(s,f)=>s.meta.position===void 0?"...":vr(s.meta.position,f(s.element),"..."),JsdocTypeNamePath:(s,f)=>{let g=f(s.left),T=f(s.right);switch(s.pathType){case"inner":return`${g}~${T}`;case"instance":return`${g}#${T}`;case"property":return`${g}.${T}`;case"property-brackets":return`${g}[${T}]`}},JsdocTypeStringValue:s=>Qe(s.value,s.meta.quote),JsdocTypeAny:()=>"*",JsdocTypeGeneric:(s,f)=>{if(s.meta.brackets==="square"){let g=s.elements[0],T=f(g);return g.type==="JsdocTypeUnion"||g.type==="JsdocTypeIntersection"?`(${T})[]`:`${T}[]`}else return`${f(s.left)}${s.meta.dot?".":""}<${s.elements.map(f).join(", ")}>`},JsdocTypeImport:(s,f)=>`import(${f(s.element)})`,JsdocTypeObjectField:(s,f)=>{let g="";return s.readonly&&(g+="readonly "),typeof s.key=="string"?g+=Qe(s.key,s.meta.quote):g+=f(s.key),s.optional&&(g+="?"),s.right===void 0?g:g+`: ${f(s.right)}`},JsdocTypeJsdocObjectField:(s,f)=>`${f(s.left)}: ${f(s.right)}`,JsdocTypeKeyValue:(s,f)=>{let g=s.key;return s.optional&&(g+="?"),s.variadic&&(g="..."+g),s.right===void 0?g:g+`: ${f(s.right)}`},JsdocTypeSpecialNamePath:s=>`${s.specialType}:${Qe(s.value,s.meta.quote)}`,JsdocTypeNotNullable:(s,f)=>vr(s.meta.position,f(s.element),"!"),JsdocTypeNull:()=>"null",JsdocTypeNullable:(s,f)=>vr(s.meta.position,f(s.element),"?"),JsdocTypeNumber:s=>s.value.toString(),JsdocTypeObject:(s,f)=>`{${s.elements.map(f).join((s.meta.separator==="comma"?",":";")+" ")}}`,JsdocTypeOptional:(s,f)=>vr(s.meta.position,f(s.element),"="),JsdocTypeSymbol:(s,f)=>`${s.value}(${s.element!==void 0?f(s.element):""})`,JsdocTypeTypeof:(s,f)=>`typeof ${f(s.element)}`,JsdocTypeUndefined:()=>"undefined",JsdocTypeUnion:(s,f)=>s.elements.map(f).join(" | "),JsdocTypeUnknown:()=>"?",JsdocTypeIntersection:(s,f)=>s.elements.map(f).join(" & "),JsdocTypeProperty:s=>Qe(s.value,s.meta.quote),JsdocTypePredicate:(s,f)=>`${f(s.left)} is ${f(s.right)}`,JsdocTypeIndexSignature:(s,f)=>`[${s.key}: ${f(s.right)}]`,JsdocTypeMappedType:(s,f)=>`[${s.key} in ${f(s.right)}]`,JsdocTypeAsserts:(s,f)=>`asserts ${f(s.left)} is ${f(s.right)}`}}let jc=ca();function Lc(s){return Gt(jc,s)}let Mc=["null","true","false","break","case","catch","class","const","continue","debugger","default","delete","do","else","export","extends","finally","for","function","if","import","in","instanceof","new","return","super","switch","this","throw","try","typeof","var","void","while","with","yield"];function Ze(s){let f={type:"NameExpression",name:s};return Mc.includes(s)&&(f.reservedWord=!0),f}let Uc={JsdocTypeOptional:(s,f)=>{let g=f(s.element);return g.optional=!0,g},JsdocTypeNullable:(s,f)=>{let g=f(s.element);return g.nullable=!0,g},JsdocTypeNotNullable:(s,f)=>{let g=f(s.element);return g.nullable=!1,g},JsdocTypeVariadic:(s,f)=>{if(s.element===void 0)throw new Error("dots without value are not allowed in catharsis mode");let g=f(s.element);return g.repeatable=!0,g},JsdocTypeAny:()=>({type:"AllLiteral"}),JsdocTypeNull:()=>({type:"NullLiteral"}),JsdocTypeStringValue:s=>Ze(Qe(s.value,s.meta.quote)),JsdocTypeUndefined:()=>({type:"UndefinedLiteral"}),JsdocTypeUnknown:()=>({type:"UnknownLiteral"}),JsdocTypeFunction:(s,f)=>{let g=ua(s),T={type:"FunctionType",params:g.params.map(f)};return g.this!==void 0&&(T.this=f(g.this)),g.new!==void 0&&(T.new=f(g.new)),s.returnType!==void 0&&(T.result=f(s.returnType)),T},JsdocTypeGeneric:(s,f)=>({type:"TypeApplication",applications:s.elements.map(g=>f(g)),expression:f(s.left)}),JsdocTypeSpecialNamePath:s=>Ze(s.specialType+":"+Qe(s.value,s.meta.quote)),JsdocTypeName:s=>s.value!=="function"?Ze(s.value):{type:"FunctionType",params:[]},JsdocTypeNumber:s=>Ze(s.value.toString()),JsdocTypeObject:(s,f)=>{let g={type:"RecordType",fields:[]};for(let T of s.elements)T.type!=="JsdocTypeObjectField"&&T.type!=="JsdocTypeJsdocObjectField"?g.fields.push({type:"FieldType",key:f(T),value:void 0}):g.fields.push(f(T));return g},JsdocTypeObjectField:(s,f)=>{if(typeof s.key!="string")throw new Error("Index signatures and mapped types are not supported");return{type:"FieldType",key:Ze(Qe(s.key,s.meta.quote)),value:s.right===void 0?void 0:f(s.right)}},JsdocTypeJsdocObjectField:(s,f)=>({type:"FieldType",key:f(s.left),value:f(s.right)}),JsdocTypeUnion:(s,f)=>({type:"TypeUnion",elements:s.elements.map(g=>f(g))}),JsdocTypeKeyValue:(s,f)=>({type:"FieldType",key:Ze(s.key),value:s.right===void 0?void 0:f(s.right)}),JsdocTypeNamePath:(s,f)=>{let g=f(s.left),T;s.right.type==="JsdocTypeSpecialNamePath"?T=f(s.right).name:T=Qe(s.right.value,s.right.meta.quote);let B=s.pathType==="inner"?"~":s.pathType==="instance"?"#":".";return Ze(`${g.name}${B}${T}`)},JsdocTypeSymbol:s=>{let f="",g=s.element,T=!1;return g?.type==="JsdocTypeVariadic"&&(g.meta.position==="prefix"?f="...":T=!0,g=g.element),g?.type==="JsdocTypeName"?f+=g.value:g?.type==="JsdocTypeNumber"&&(f+=g.value.toString()),T&&(f+="..."),Ze(`${s.value}(${f})`)},JsdocTypeParenthesis:(s,f)=>f(x(s.element)),JsdocTypeMappedType:we,JsdocTypeIndexSignature:we,JsdocTypeImport:we,JsdocTypeKeyof:we,JsdocTypeTuple:we,JsdocTypeTypeof:we,JsdocTypeIntersection:we,JsdocTypeProperty:we,JsdocTypePredicate:we,JsdocTypeAsserts:we};function $c(s){return Gt(Uc,s)}function pt(s){switch(s){case void 0:return"none";case"single":return"single";case"double":return"double"}}function qc(s){switch(s){case"inner":return"INNER_MEMBER";case"instance":return"INSTANCE_MEMBER";case"property":return"MEMBER";case"property-brackets":return"MEMBER"}}function hn(s,f){return f.length===2?{type:s,left:f[0],right:f[1]}:{type:s,left:f[0],right:hn(s,f.slice(1))}}let Vc={JsdocTypeOptional:(s,f)=>({type:"OPTIONAL",value:f(s.element),meta:{syntax:s.meta.position==="prefix"?"PREFIX_EQUAL_SIGN":"SUFFIX_EQUALS_SIGN"}}),JsdocTypeNullable:(s,f)=>({type:"NULLABLE",value:f(s.element),meta:{syntax:s.meta.position==="prefix"?"PREFIX_QUESTION_MARK":"SUFFIX_QUESTION_MARK"}}),JsdocTypeNotNullable:(s,f)=>({type:"NOT_NULLABLE",value:f(s.element),meta:{syntax:s.meta.position==="prefix"?"PREFIX_BANG":"SUFFIX_BANG"}}),JsdocTypeVariadic:(s,f)=>{let g={type:"VARIADIC",meta:{syntax:s.meta.position==="prefix"?"PREFIX_DOTS":s.meta.position==="suffix"?"SUFFIX_DOTS":"ONLY_DOTS"}};return s.element!==void 0&&(g.value=f(s.element)),g},JsdocTypeName:s=>({type:"NAME",name:s.value}),JsdocTypeTypeof:(s,f)=>({type:"TYPE_QUERY",name:f(s.element)}),JsdocTypeTuple:(s,f)=>({type:"TUPLE",entries:s.elements.map(f)}),JsdocTypeKeyof:(s,f)=>({type:"KEY_QUERY",value:f(s.element)}),JsdocTypeImport:s=>({type:"IMPORT",path:{type:"STRING_VALUE",quoteStyle:pt(s.element.meta.quote),string:s.element.value}}),JsdocTypeUndefined:()=>({type:"NAME",name:"undefined"}),JsdocTypeAny:()=>({type:"ANY"}),JsdocTypeFunction:(s,f)=>{let g=ua(s),T={type:s.arrow?"ARROW":"FUNCTION",params:g.params.map(B=>{if(B.type==="JsdocTypeKeyValue"){if(B.right===void 0)throw new Error("Function parameter without ':' is not expected to be 'KEY_VALUE'");return{type:"NAMED_PARAMETER",name:B.key,typeName:f(B.right)}}else return f(B)}),new:null,returns:null};return g.this!==void 0?T.this=f(g.this):s.arrow||(T.this=null),g.new!==void 0&&(T.new=f(g.new)),s.returnType!==void 0&&(T.returns=f(s.returnType)),T},JsdocTypeGeneric:(s,f)=>{let g={type:"GENERIC",subject:f(s.left),objects:s.elements.map(f),meta:{syntax:s.meta.brackets==="square"?"SQUARE_BRACKET":s.meta.dot?"ANGLE_BRACKET_WITH_DOT":"ANGLE_BRACKET"}};return s.meta.brackets==="square"&&s.elements[0].type==="JsdocTypeFunction"&&!s.elements[0].parenthesis&&(g.objects[0]={type:"NAME",name:"function"}),g},JsdocTypeObjectField:(s,f)=>{if(typeof s.key!="string")throw new Error("Index signatures and mapped types are not supported");if(s.right===void 0)return{type:"RECORD_ENTRY",key:s.key,quoteStyle:pt(s.meta.quote),value:null,readonly:!1};let g=f(s.right);return s.optional&&(g={type:"OPTIONAL",value:g,meta:{syntax:"SUFFIX_KEY_QUESTION_MARK"}}),{type:"RECORD_ENTRY",key:s.key.toString(),quoteStyle:pt(s.meta.quote),value:g,readonly:!1}},JsdocTypeJsdocObjectField:()=>{throw new Error("Keys may not be typed in jsdoctypeparser.")},JsdocTypeKeyValue:(s,f)=>{if(s.right===void 0)return{type:"RECORD_ENTRY",key:s.key,quoteStyle:"none",value:null,readonly:!1};let g=f(s.right);return s.optional&&(g={type:"OPTIONAL",value:g,meta:{syntax:"SUFFIX_KEY_QUESTION_MARK"}}),{type:"RECORD_ENTRY",key:s.key,quoteStyle:"none",value:g,readonly:!1}},JsdocTypeObject:(s,f)=>{let g=[];for(let T of s.elements)(T.type==="JsdocTypeObjectField"||T.type==="JsdocTypeJsdocObjectField")&&g.push(f(T));return{type:"RECORD",entries:g}},JsdocTypeSpecialNamePath:s=>{if(s.specialType!=="module")throw new Error(`jsdoctypeparser does not support type ${s.specialType} at this point.`);return{type:"MODULE",value:{type:"FILE_PATH",quoteStyle:pt(s.meta.quote),path:s.value}}},JsdocTypeNamePath:(s,f)=>{let g=!1,T,B;s.right.type==="JsdocTypeSpecialNamePath"&&s.right.specialType==="event"?(g=!0,T=s.right.value,B=pt(s.right.meta.quote)):(T=s.right.value,B=pt(s.right.meta.quote));let q={type:qc(s.pathType),owner:f(s.left),name:T,quoteStyle:B,hasEventPrefix:g};if(q.owner.type==="MODULE"){let W=q.owner;return q.owner=q.owner.value,W.value=q,W}else return q},JsdocTypeUnion:(s,f)=>hn("UNION",s.elements.map(f)),JsdocTypeParenthesis:(s,f)=>({type:"PARENTHESIS",value:f(x(s.element))}),JsdocTypeNull:()=>({type:"NAME",name:"null"}),JsdocTypeUnknown:()=>({type:"UNKNOWN"}),JsdocTypeStringValue:s=>({type:"STRING_VALUE",quoteStyle:pt(s.meta.quote),string:s.value}),JsdocTypeIntersection:(s,f)=>hn("INTERSECTION",s.elements.map(f)),JsdocTypeNumber:s=>({type:"NUMBER_VALUE",number:s.value.toString()}),JsdocTypeSymbol:we,JsdocTypeProperty:we,JsdocTypePredicate:we,JsdocTypeMappedType:we,JsdocTypeIndexSignature:we,JsdocTypeAsserts:we};function Jc(s){return Gt(Vc,s)}function Hc(){return{JsdocTypeIntersection:(s,f)=>({type:"JsdocTypeIntersection",elements:s.elements.map(f)}),JsdocTypeGeneric:(s,f)=>({type:"JsdocTypeGeneric",left:f(s.left),elements:s.elements.map(f),meta:{dot:s.meta.dot,brackets:s.meta.brackets}}),JsdocTypeNullable:s=>s,JsdocTypeUnion:(s,f)=>({type:"JsdocTypeUnion",elements:s.elements.map(f)}),JsdocTypeUnknown:s=>s,JsdocTypeUndefined:s=>s,JsdocTypeTypeof:(s,f)=>({type:"JsdocTypeTypeof",element:f(s.element)}),JsdocTypeSymbol:(s,f)=>{let g={type:"JsdocTypeSymbol",value:s.value};return s.element!==void 0&&(g.element=f(s.element)),g},JsdocTypeOptional:(s,f)=>({type:"JsdocTypeOptional",element:f(s.element),meta:{position:s.meta.position}}),JsdocTypeObject:(s,f)=>({type:"JsdocTypeObject",meta:{separator:"comma"},elements:s.elements.map(f)}),JsdocTypeNumber:s=>s,JsdocTypeNull:s=>s,JsdocTypeNotNullable:(s,f)=>({type:"JsdocTypeNotNullable",element:f(s.element),meta:{position:s.meta.position}}),JsdocTypeSpecialNamePath:s=>s,JsdocTypeObjectField:(s,f)=>({type:"JsdocTypeObjectField",key:s.key,right:s.right===void 0?void 0:f(s.right),optional:s.optional,readonly:s.readonly,meta:s.meta}),JsdocTypeJsdocObjectField:(s,f)=>({type:"JsdocTypeJsdocObjectField",left:f(s.left),right:f(s.right)}),JsdocTypeKeyValue:(s,f)=>({type:"JsdocTypeKeyValue",key:s.key,right:s.right===void 0?void 0:f(s.right),optional:s.optional,variadic:s.variadic}),JsdocTypeImport:(s,f)=>({type:"JsdocTypeImport",element:f(s.element)}),JsdocTypeAny:s=>s,JsdocTypeStringValue:s=>s,JsdocTypeNamePath:s=>s,JsdocTypeVariadic:(s,f)=>{let g={type:"JsdocTypeVariadic",meta:{position:s.meta.position,squareBrackets:s.meta.squareBrackets}};return s.element!==void 0&&(g.element=f(s.element)),g},JsdocTypeTuple:(s,f)=>({type:"JsdocTypeTuple",elements:s.elements.map(f)}),JsdocTypeName:s=>s,JsdocTypeFunction:(s,f)=>{let g={type:"JsdocTypeFunction",arrow:s.arrow,parameters:s.parameters.map(f),constructor:s.constructor,parenthesis:s.parenthesis};return s.returnType!==void 0&&(g.returnType=f(s.returnType)),g},JsdocTypeKeyof:(s,f)=>({type:"JsdocTypeKeyof",element:f(s.element)}),JsdocTypeParenthesis:(s,f)=>({type:"JsdocTypeParenthesis",element:f(s.element)}),JsdocTypeProperty:s=>s,JsdocTypePredicate:(s,f)=>({type:"JsdocTypePredicate",left:f(s.left),right:f(s.right)}),JsdocTypeIndexSignature:(s,f)=>({type:"JsdocTypeIndexSignature",key:s.key,right:f(s.right)}),JsdocTypeMappedType:(s,f)=>({type:"JsdocTypeMappedType",key:s.key,right:f(s.right)}),JsdocTypeAsserts:(s,f)=>({type:"JsdocTypeAsserts",left:f(s.left),right:f(s.right)})}}let da={JsdocTypeAny:[],JsdocTypeFunction:["parameters","returnType"],JsdocTypeGeneric:["left","elements"],JsdocTypeImport:[],JsdocTypeIndexSignature:["right"],JsdocTypeIntersection:["elements"],JsdocTypeKeyof:["element"],JsdocTypeKeyValue:["right"],JsdocTypeMappedType:["right"],JsdocTypeName:[],JsdocTypeNamePath:["left","right"],JsdocTypeNotNullable:["element"],JsdocTypeNull:[],JsdocTypeNullable:["element"],JsdocTypeNumber:[],JsdocTypeObject:["elements"],JsdocTypeObjectField:["right"],JsdocTypeJsdocObjectField:["left","right"],JsdocTypeOptional:["element"],JsdocTypeParenthesis:["element"],JsdocTypeSpecialNamePath:[],JsdocTypeStringValue:[],JsdocTypeSymbol:["element"],JsdocTypeTuple:["elements"],JsdocTypeTypeof:["element"],JsdocTypeUndefined:[],JsdocTypeUnion:["elements"],JsdocTypeUnknown:[],JsdocTypeVariadic:["element"],JsdocTypeProperty:[],JsdocTypePredicate:["left","right"],JsdocTypeAsserts:["left","right"]};function fn(s,f,g,T,B){T?.(s,f,g);let q=da[s.type];for(let W of q){let te=s[W];if(te!==void 0)if(Array.isArray(te))for(let Ce of te)fn(Ce,s,W,T,B);else fn(te,s,W,T,B)}B?.(s,f,g)}function zc(s,f,g){fn(s,void 0,void 0,f,g)}e.catharsisTransform=$c,e.identityTransformRules=Hc,e.jtpTransform=Jc,e.parse=la,e.stringify=Lc,e.stringifyRules=ca,e.transform=Gt,e.traverse=zc,e.tryParse=Nc,e.visitorKeys=da})});var vA,AA,DA,SA,ru,wA,CA,nu,xA,TA,FA,IA,kA,RA,Lf,zr,OA,_A,PA,BA,k,Ro,NA,Gr,jA,Wr=ze(()=>{V();J();H();vA=__STORYBOOK_THEMING__,{CacheProvider:AA,ClassNames:DA,Global:SA,ThemeProvider:ru,background:wA,color:CA,convert:nu,create:xA,createCache:TA,createGlobal:FA,createReset:IA,css:kA,darken:RA,ensure:Lf,ignoreSsrWarning:zr,isPropValid:OA,jsx:_A,keyframes:PA,lighten:BA,styled:k,themes:Ro,typography:NA,useTheme:Gr,withTheme:jA}=__STORYBOOK_THEMING__});function Jf(e,t,{signal:r,edges:n}={}){let o,i=null,a=n!=null&&n.includes("leading"),l=n==null||n.includes("trailing"),u=()=>{i!==null&&(e.apply(o,i),o=void 0,i=null)},c=()=>{l&&u(),y()},d=null,p=()=>{d!=null&&clearTimeout(d),d=setTimeout(()=>{d=null,c()},t)},h=()=>{d!==null&&(clearTimeout(d),d=null)},y=()=>{h(),o=void 0,i=null},E=()=>{h(),u()},v=function(...A){if(r?.aborted)return;o=this,i=A;let D=d==null;p(),a&&D&&u()};return v.schedule=p,v.cancel=y,v.flush=E,r?.addEventListener("abort",y,{once:!0}),v}function iu(e,t=0,r={}){typeof r!="object"&&(r={});let{signal:n,leading:o=!1,trailing:i=!0,maxWait:a}=r,l=Array(2);o&&(l[0]="leading"),i&&(l[1]="trailing");let u,c=null,d=Jf(function(...y){u=e.apply(this,y),c=null},t,{signal:n,edges:l}),p=function(...y){if(a!=null){if(c===null)c=Date.now();else if(Date.now()-c>=a)return u=e.apply(this,y),c=Date.now(),d.cancel(),d.schedule(),u}return d.apply(this,y),u},h=()=>(d.flush(),u);return p.cancel=d.cancel,p.flush=h,p}var Mf,ou,Uf,au,$f,qf,dr,Oe,Vf,jt,Oo,_o=ze(()=>{V();J();H();Mf=Object.create,ou=Object.defineProperty,Uf=Object.getOwnPropertyDescriptor,au=Object.getOwnPropertyNames,$f=Object.getPrototypeOf,qf=Object.prototype.hasOwnProperty,dr=(e=>typeof Ie<"u"?Ie:typeof Proxy<"u"?new Proxy(e,{get:(t,r)=>(typeof Ie<"u"?Ie:t)[r]}):e)(function(e){if(typeof Ie<"u")return Ie.apply(this,arguments);throw Error('Dynamic require of "'+e+'" is not supported')}),Oe=(e,t)=>function(){return t||(0,e[au(e)[0]])((t={exports:{}}).exports,t),t.exports},Vf=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of au(t))!qf.call(e,o)&&o!==r&&ou(e,o,{get:()=>t[o],enumerable:!(n=Uf(t,o))||n.enumerable});return e},jt=(e,t,r)=>(r=e!=null?Mf($f(e)):{},Vf(t||!e||!e.__esModule?ou(r,"default",{value:e,enumerable:!0}):r,e));Oo=e=>`control-${e.replace(/\s+/g,"-")}`});var GA,WA,KA,YA,su,XA,QA,ZA,eD,tD,rD,nD,oD,aD,iD,sD,lD,uD,cD,dD,pD,hD,fD,mD,yD,gD,bD,ED,vD,AD,DD,SD,wD,CD,xD,TD,FD,ID,kD,RD,OD,_D,PD,BD,ND,jD,LD,MD,UD,$D,lu,qD,uu,cu,VD,JD,du,HD,zD,GD,WD,KD,YD,XD,QD,ZD,eS,tS,rS,nS,oS,aS,iS,sS,lS,uS,cS,dS,pS,hS,fS,mS,yS,gS,bS,ES,vS,AS,DS,SS,wS,Hf,CS,xS,TS,FS,IS,kS,RS,zf,Gf,OS,_S,PS,BS,NS,jS,LS,MS,US,$S,qS,VS,JS,HS,zS,GS,WS,KS,YS,XS,QS,ZS,ew,tw,rw,nw,ow,aw,iw,sw,lw,uw,cw,pu,dw,pw,hw,fw,mw,yw,gw,hu,bw,Ew,vw,Aw,Dw,Sw,ww,Cw,xw,Tw,Fw,Iw,kw,Rw,Ow,_w,Pw,Bw,Nw,jw,Lw,Mw,Uw,$w,qw,Vw,Jw,Hw,zw,Gw,Ww,Kw,Yw,Xw,Qw,Zw,eC,tC,rC,nC,oC,aC,iC,sC,lC,uC,cC,dC,pC,hC,fC,mC,yC,gC,bC,EC,vC,AC,DC,SC,wC,CC,xC,TC,FC,IC,kC,fu,RC,OC,_C,PC,BC,NC,jC,LC,MC,UC,$C,qC,VC,Wf,JC,HC,zC,GC,WC,KC,YC,XC,QC,ZC,Kf,ex,tx,rx,nx,ox,ax,mu,yu,gu,ix,Po=ze(()=>{V();J();H();GA=__STORYBOOK_ICONS__,{AccessibilityAltIcon:WA,AccessibilityIcon:KA,AccessibilityIgnoredIcon:YA,AddIcon:su,AdminIcon:XA,AlertAltIcon:QA,AlertIcon:ZA,AlignLeftIcon:eD,AlignRightIcon:tD,AppleIcon:rD,ArrowBottomLeftIcon:nD,ArrowBottomRightIcon:oD,ArrowDownIcon:aD,ArrowLeftIcon:iD,ArrowRightIcon:sD,ArrowSolidDownIcon:lD,ArrowSolidLeftIcon:uD,ArrowSolidRightIcon:cD,ArrowSolidUpIcon:dD,ArrowTopLeftIcon:pD,ArrowTopRightIcon:hD,ArrowUpIcon:fD,AzureDevOpsIcon:mD,BackIcon:yD,BasketIcon:gD,BatchAcceptIcon:bD,BatchDenyIcon:ED,BeakerIcon:vD,BellIcon:AD,BitbucketIcon:DD,BoldIcon:SD,BookIcon:wD,BookmarkHollowIcon:CD,BookmarkIcon:xD,BottomBarIcon:TD,BottomBarToggleIcon:FD,BoxIcon:ID,BranchIcon:kD,BrowserIcon:RD,ButtonIcon:OD,CPUIcon:_D,CalendarIcon:PD,CameraIcon:BD,CameraStabilizeIcon:ND,CategoryIcon:jD,CertificateIcon:LD,ChangedIcon:MD,ChatIcon:UD,CheckIcon:$D,ChevronDownIcon:lu,ChevronLeftIcon:qD,ChevronRightIcon:uu,ChevronSmallDownIcon:cu,ChevronSmallLeftIcon:VD,ChevronSmallRightIcon:JD,ChevronSmallUpIcon:du,ChevronUpIcon:HD,ChromaticIcon:zD,ChromeIcon:GD,CircleHollowIcon:WD,CircleIcon:KD,ClearIcon:YD,CloseAltIcon:XD,CloseIcon:QD,CloudHollowIcon:ZD,CloudIcon:eS,CogIcon:tS,CollapseIcon:rS,CommandIcon:nS,CommentAddIcon:oS,CommentIcon:aS,CommentsIcon:iS,CommitIcon:sS,CompassIcon:lS,ComponentDrivenIcon:uS,ComponentIcon:cS,ContrastIcon:dS,ContrastIgnoredIcon:pS,ControlsIcon:hS,CopyIcon:fS,CreditIcon:mS,CrossIcon:yS,DashboardIcon:gS,DatabaseIcon:bS,DeleteIcon:ES,DiamondIcon:vS,DirectionIcon:AS,DiscordIcon:DS,DocChartIcon:SS,DocListIcon:wS,DocumentIcon:Hf,DownloadIcon:CS,DragIcon:xS,EditIcon:TS,EllipsisIcon:FS,EmailIcon:IS,ExpandAltIcon:kS,ExpandIcon:RS,EyeCloseIcon:zf,EyeIcon:Gf,FaceHappyIcon:OS,FaceNeutralIcon:_S,FaceSadIcon:PS,FacebookIcon:BS,FailedIcon:NS,FastForwardIcon:jS,FigmaIcon:LS,FilterIcon:MS,FlagIcon:US,FolderIcon:$S,FormIcon:qS,GDriveIcon:VS,GithubIcon:JS,GitlabIcon:HS,GlobeIcon:zS,GoogleIcon:GS,GraphBarIcon:WS,GraphLineIcon:KS,GraphqlIcon:YS,GridAltIcon:XS,GridIcon:QS,GrowIcon:ZS,HeartHollowIcon:ew,HeartIcon:tw,HomeIcon:rw,HourglassIcon:nw,InfoIcon:ow,ItalicIcon:aw,JumpToIcon:iw,KeyIcon:sw,LightningIcon:lw,LightningOffIcon:uw,LinkBrokenIcon:cw,LinkIcon:pu,LinkedinIcon:dw,LinuxIcon:pw,ListOrderedIcon:hw,ListUnorderedIcon:fw,LocationIcon:mw,LockIcon:yw,MarkdownIcon:gw,MarkupIcon:hu,MediumIcon:bw,MemoryIcon:Ew,MenuIcon:vw,MergeIcon:Aw,MirrorIcon:Dw,MobileIcon:Sw,MoonIcon:ww,NutIcon:Cw,OutboxIcon:xw,OutlineIcon:Tw,PaintBrushIcon:Fw,PaperClipIcon:Iw,ParagraphIcon:kw,PassedIcon:Rw,PhoneIcon:Ow,PhotoDragIcon:_w,PhotoIcon:Pw,PhotoStabilizeIcon:Bw,PinAltIcon:Nw,PinIcon:jw,PlayAllHollowIcon:Lw,PlayBackIcon:Mw,PlayHollowIcon:Uw,PlayIcon:$w,PlayNextIcon:qw,PlusIcon:Vw,PointerDefaultIcon:Jw,PointerHandIcon:Hw,PowerIcon:zw,PrintIcon:Gw,ProceedIcon:Ww,ProfileIcon:Kw,PullRequestIcon:Yw,QuestionIcon:Xw,RSSIcon:Qw,RedirectIcon:Zw,ReduxIcon:eC,RefreshIcon:tC,ReplyIcon:rC,RepoIcon:nC,RequestChangeIcon:oC,RewindIcon:aC,RulerIcon:iC,SaveIcon:sC,SearchIcon:lC,ShareAltIcon:uC,ShareIcon:cC,ShieldIcon:dC,SideBySideIcon:pC,SidebarAltIcon:hC,SidebarAltToggleIcon:fC,SidebarIcon:mC,SidebarToggleIcon:yC,SpeakerIcon:gC,StackedIcon:bC,StarHollowIcon:EC,StarIcon:vC,StatusFailIcon:AC,StatusIcon:DC,StatusPassIcon:SC,StatusWarnIcon:wC,StickerIcon:CC,StopAltHollowIcon:xC,StopAltIcon:TC,StopIcon:FC,StorybookIcon:IC,StructureIcon:kC,SubtractIcon:fu,SunIcon:RC,SupportIcon:OC,SwitchAltIcon:_C,SyncIcon:PC,TabletIcon:BC,ThumbsUpIcon:NC,TimeIcon:jC,TimerIcon:LC,TransferIcon:MC,TrashIcon:UC,TwitterIcon:$C,TypeIcon:qC,UbuntuIcon:VC,UndoIcon:Wf,UnfoldIcon:JC,UnlockIcon:HC,UnpinIcon:zC,UploadIcon:GC,UserAddIcon:WC,UserAltIcon:KC,UserIcon:YC,UsersIcon:XC,VSCodeIcon:QC,VerifiedIcon:ZC,VideoIcon:Kf,WandIcon:ex,WatchIcon:tx,WindowsIcon:rx,WrenchIcon:nx,XIcon:ox,YoutubeIcon:ax,ZoomIcon:mu,ZoomOutIcon:yu,ZoomResetIcon:gu,iconList:ix}=__STORYBOOK_ICONS__});var Nu={};fa(Nu,{ColorControl:()=>Bu,default:()=>Mm});function At(){return(At=Object.assign||function(e){for(var t=1;t=0||(o[r]=e[r]);return o}function Bo(e){var t=Me(e),r=Me(function(n){t.current&&t.current(n)});return t.current=e,r.current}function Ru(e,t,r){var n=Bo(r),o=Ue(function(){return e.toHsva(t)}),i=o[0],a=o[1],l=Me({color:t,hsva:i});rt(function(){if(!e.equal(t,l.current.color)){var c=e.toHsva(t);l.current={hsva:c,color:t},a(c)}},[t,e]),rt(function(){var c;Iu(i,l.current.hsva)||e.equal(c=e.fromHsva(i),l.current.color)||(l.current={hsva:i,color:c},n(c))},[i,e,n]);var u=tt(function(c){a(function(d){return Object.assign({},d,c)})},[]);return[i,u]}var em,Su,tm,rm,Be,Mt,pr,No,bu,Eu,$o,hr,qo,ve,nm,om,jo,am,im,sm,lm,wu,Lo,Qr,Cu,um,Kr,cm,xu,Tu,Fu,Iu,ku,dm,pm,hm,vu,Ou,fm,mm,ym,gm,_u,bm,Em,vm,Am,Dm,Sm,wm,Cm,xm,Tm,Fm,Au,Im,km,Pu,Yr,Rm,Om,_m,Mo,Pm,Bm,Xr,Du,Lt,Nm,jm,Zr,Lm,Bu,Mm,ju=ze(()=>{V();J();H();_o();Xt();Qt();Wr();Po();em=Oe({"../../node_modules/color-name/index.js"(e,t){t.exports={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]}}}),Su=Oe({"../../node_modules/color-convert/conversions.js"(e,t){var r=em(),n={};for(let a of Object.keys(r))n[r[a]]=a;var o={rgb:{channels:3,labels:"rgb"},hsl:{channels:3,labels:"hsl"},hsv:{channels:3,labels:"hsv"},hwb:{channels:3,labels:"hwb"},cmyk:{channels:4,labels:"cmyk"},xyz:{channels:3,labels:"xyz"},lab:{channels:3,labels:"lab"},lch:{channels:3,labels:"lch"},hex:{channels:1,labels:["hex"]},keyword:{channels:1,labels:["keyword"]},ansi16:{channels:1,labels:["ansi16"]},ansi256:{channels:1,labels:["ansi256"]},hcg:{channels:3,labels:["h","c","g"]},apple:{channels:3,labels:["r16","g16","b16"]},gray:{channels:1,labels:["gray"]}};t.exports=o;for(let a of Object.keys(o)){if(!("channels"in o[a]))throw new Error("missing channels property: "+a);if(!("labels"in o[a]))throw new Error("missing channel labels property: "+a);if(o[a].labels.length!==o[a].channels)throw new Error("channel and label counts mismatch: "+a);let{channels:l,labels:u}=o[a];delete o[a].channels,delete o[a].labels,Object.defineProperty(o[a],"channels",{value:l}),Object.defineProperty(o[a],"labels",{value:u})}o.rgb.hsl=function(a){let l=a[0]/255,u=a[1]/255,c=a[2]/255,d=Math.min(l,u,c),p=Math.max(l,u,c),h=p-d,y,E;p===d?y=0:l===p?y=(u-c)/h:u===p?y=2+(c-l)/h:c===p&&(y=4+(l-u)/h),y=Math.min(y*60,360),y<0&&(y+=360);let v=(d+p)/2;return p===d?E=0:v<=.5?E=h/(p+d):E=h/(2-p-d),[y,E*100,v*100]},o.rgb.hsv=function(a){let l,u,c,d,p,h=a[0]/255,y=a[1]/255,E=a[2]/255,v=Math.max(h,y,E),A=v-Math.min(h,y,E),D=function(S){return(v-S)/6/A+1/2};return A===0?(d=0,p=0):(p=A/v,l=D(h),u=D(y),c=D(E),h===v?d=c-u:y===v?d=1/3+l-c:E===v&&(d=2/3+u-l),d<0?d+=1:d>1&&(d-=1)),[d*360,p*100,v*100]},o.rgb.hwb=function(a){let l=a[0],u=a[1],c=a[2],d=o.rgb.hsl(a)[0],p=1/255*Math.min(l,Math.min(u,c));return c=1-1/255*Math.max(l,Math.max(u,c)),[d,p*100,c*100]},o.rgb.cmyk=function(a){let l=a[0]/255,u=a[1]/255,c=a[2]/255,d=Math.min(1-l,1-u,1-c),p=(1-l-d)/(1-d)||0,h=(1-u-d)/(1-d)||0,y=(1-c-d)/(1-d)||0;return[p*100,h*100,y*100,d*100]};function i(a,l){return(a[0]-l[0])**2+(a[1]-l[1])**2+(a[2]-l[2])**2}o.rgb.keyword=function(a){let l=n[a];if(l)return l;let u=1/0,c;for(let d of Object.keys(r)){let p=r[d],h=i(a,p);h.04045?((l+.055)/1.055)**2.4:l/12.92,u=u>.04045?((u+.055)/1.055)**2.4:u/12.92,c=c>.04045?((c+.055)/1.055)**2.4:c/12.92;let d=l*.4124+u*.3576+c*.1805,p=l*.2126+u*.7152+c*.0722,h=l*.0193+u*.1192+c*.9505;return[d*100,p*100,h*100]},o.rgb.lab=function(a){let l=o.rgb.xyz(a),u=l[0],c=l[1],d=l[2];u/=95.047,c/=100,d/=108.883,u=u>.008856?u**(1/3):7.787*u+16/116,c=c>.008856?c**(1/3):7.787*c+16/116,d=d>.008856?d**(1/3):7.787*d+16/116;let p=116*c-16,h=500*(u-c),y=200*(c-d);return[p,h,y]},o.hsl.rgb=function(a){let l=a[0]/360,u=a[1]/100,c=a[2]/100,d,p,h;if(u===0)return h=c*255,[h,h,h];c<.5?d=c*(1+u):d=c+u-c*u;let y=2*c-d,E=[0,0,0];for(let v=0;v<3;v++)p=l+1/3*-(v-1),p<0&&p++,p>1&&p--,6*p<1?h=y+(d-y)*6*p:2*p<1?h=d:3*p<2?h=y+(d-y)*(2/3-p)*6:h=y,E[v]=h*255;return E},o.hsl.hsv=function(a){let l=a[0],u=a[1]/100,c=a[2]/100,d=u,p=Math.max(c,.01);c*=2,u*=c<=1?c:2-c,d*=p<=1?p:2-p;let h=(c+u)/2,y=c===0?2*d/(p+d):2*u/(c+u);return[l,y*100,h*100]},o.hsv.rgb=function(a){let l=a[0]/60,u=a[1]/100,c=a[2]/100,d=Math.floor(l)%6,p=l-Math.floor(l),h=255*c*(1-u),y=255*c*(1-u*p),E=255*c*(1-u*(1-p));switch(c*=255,d){case 0:return[c,E,h];case 1:return[y,c,h];case 2:return[h,c,E];case 3:return[h,y,c];case 4:return[E,h,c];case 5:return[c,h,y]}},o.hsv.hsl=function(a){let l=a[0],u=a[1]/100,c=a[2]/100,d=Math.max(c,.01),p,h;h=(2-u)*c;let y=(2-u)*d;return p=u*d,p/=y<=1?y:2-y,p=p||0,h/=2,[l,p*100,h*100]},o.hwb.rgb=function(a){let l=a[0]/360,u=a[1]/100,c=a[2]/100,d=u+c,p;d>1&&(u/=d,c/=d);let h=Math.floor(6*l),y=1-c;p=6*l-h,(h&1)!==0&&(p=1-p);let E=u+p*(y-u),v,A,D;switch(h){default:case 6:case 0:v=y,A=E,D=u;break;case 1:v=E,A=y,D=u;break;case 2:v=u,A=y,D=E;break;case 3:v=u,A=E,D=y;break;case 4:v=E,A=u,D=y;break;case 5:v=y,A=u,D=E;break}return[v*255,A*255,D*255]},o.cmyk.rgb=function(a){let l=a[0]/100,u=a[1]/100,c=a[2]/100,d=a[3]/100,p=1-Math.min(1,l*(1-d)+d),h=1-Math.min(1,u*(1-d)+d),y=1-Math.min(1,c*(1-d)+d);return[p*255,h*255,y*255]},o.xyz.rgb=function(a){let l=a[0]/100,u=a[1]/100,c=a[2]/100,d,p,h;return d=l*3.2406+u*-1.5372+c*-.4986,p=l*-.9689+u*1.8758+c*.0415,h=l*.0557+u*-.204+c*1.057,d=d>.0031308?1.055*d**(1/2.4)-.055:d*12.92,p=p>.0031308?1.055*p**(1/2.4)-.055:p*12.92,h=h>.0031308?1.055*h**(1/2.4)-.055:h*12.92,d=Math.min(Math.max(0,d),1),p=Math.min(Math.max(0,p),1),h=Math.min(Math.max(0,h),1),[d*255,p*255,h*255]},o.xyz.lab=function(a){let l=a[0],u=a[1],c=a[2];l/=95.047,u/=100,c/=108.883,l=l>.008856?l**(1/3):7.787*l+16/116,u=u>.008856?u**(1/3):7.787*u+16/116,c=c>.008856?c**(1/3):7.787*c+16/116;let d=116*u-16,p=500*(l-u),h=200*(u-c);return[d,p,h]},o.lab.xyz=function(a){let l=a[0],u=a[1],c=a[2],d,p,h;p=(l+16)/116,d=u/500+p,h=p-c/200;let y=p**3,E=d**3,v=h**3;return p=y>.008856?y:(p-16/116)/7.787,d=E>.008856?E:(d-16/116)/7.787,h=v>.008856?v:(h-16/116)/7.787,d*=95.047,p*=100,h*=108.883,[d,p,h]},o.lab.lch=function(a){let l=a[0],u=a[1],c=a[2],d;d=Math.atan2(c,u)*360/2/Math.PI,d<0&&(d+=360);let p=Math.sqrt(u*u+c*c);return[l,p,d]},o.lch.lab=function(a){let l=a[0],u=a[1],c=a[2]/360*2*Math.PI,d=u*Math.cos(c),p=u*Math.sin(c);return[l,d,p]},o.rgb.ansi16=function(a,l=null){let[u,c,d]=a,p=l===null?o.rgb.hsv(a)[2]:l;if(p=Math.round(p/50),p===0)return 30;let h=30+(Math.round(d/255)<<2|Math.round(c/255)<<1|Math.round(u/255));return p===2&&(h+=60),h},o.hsv.ansi16=function(a){return o.rgb.ansi16(o.hsv.rgb(a),a[2])},o.rgb.ansi256=function(a){let l=a[0],u=a[1],c=a[2];return l===u&&u===c?l<8?16:l>248?231:Math.round((l-8)/247*24)+232:16+36*Math.round(l/255*5)+6*Math.round(u/255*5)+Math.round(c/255*5)},o.ansi16.rgb=function(a){let l=a%10;if(l===0||l===7)return a>50&&(l+=3.5),l=l/10.5*255,[l,l,l];let u=(~~(a>50)+1)*.5,c=(l&1)*u*255,d=(l>>1&1)*u*255,p=(l>>2&1)*u*255;return[c,d,p]},o.ansi256.rgb=function(a){if(a>=232){let p=(a-232)*10+8;return[p,p,p]}a-=16;let l,u=Math.floor(a/36)/5*255,c=Math.floor((l=a%36)/6)/5*255,d=l%6/5*255;return[u,c,d]},o.rgb.hex=function(a){let l=(((Math.round(a[0])&255)<<16)+((Math.round(a[1])&255)<<8)+(Math.round(a[2])&255)).toString(16).toUpperCase();return"000000".substring(l.length)+l},o.hex.rgb=function(a){let l=a.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!l)return[0,0,0];let u=l[0];l[0].length===3&&(u=u.split("").map(y=>y+y).join(""));let c=parseInt(u,16),d=c>>16&255,p=c>>8&255,h=c&255;return[d,p,h]},o.rgb.hcg=function(a){let l=a[0]/255,u=a[1]/255,c=a[2]/255,d=Math.max(Math.max(l,u),c),p=Math.min(Math.min(l,u),c),h=d-p,y,E;return h<1?y=p/(1-h):y=0,h<=0?E=0:d===l?E=(u-c)/h%6:d===u?E=2+(c-l)/h:E=4+(l-u)/h,E/=6,E%=1,[E*360,h*100,y*100]},o.hsl.hcg=function(a){let l=a[1]/100,u=a[2]/100,c=u<.5?2*l*u:2*l*(1-u),d=0;return c<1&&(d=(u-.5*c)/(1-c)),[a[0],c*100,d*100]},o.hsv.hcg=function(a){let l=a[1]/100,u=a[2]/100,c=l*u,d=0;return c<1&&(d=(u-c)/(1-c)),[a[0],c*100,d*100]},o.hcg.rgb=function(a){let l=a[0]/360,u=a[1]/100,c=a[2]/100;if(u===0)return[c*255,c*255,c*255];let d=[0,0,0],p=l%1*6,h=p%1,y=1-h,E=0;switch(Math.floor(p)){case 0:d[0]=1,d[1]=h,d[2]=0;break;case 1:d[0]=y,d[1]=1,d[2]=0;break;case 2:d[0]=0,d[1]=1,d[2]=h;break;case 3:d[0]=0,d[1]=y,d[2]=1;break;case 4:d[0]=h,d[1]=0,d[2]=1;break;default:d[0]=1,d[1]=0,d[2]=y}return E=(1-u)*c,[(u*d[0]+E)*255,(u*d[1]+E)*255,(u*d[2]+E)*255]},o.hcg.hsv=function(a){let l=a[1]/100,u=a[2]/100,c=l+u*(1-l),d=0;return c>0&&(d=l/c),[a[0],d*100,c*100]},o.hcg.hsl=function(a){let l=a[1]/100,u=a[2]/100*(1-l)+.5*l,c=0;return u>0&&u<.5?c=l/(2*u):u>=.5&&u<1&&(c=l/(2*(1-u))),[a[0],c*100,u*100]},o.hcg.hwb=function(a){let l=a[1]/100,u=a[2]/100,c=l+u*(1-l);return[a[0],(c-l)*100,(1-c)*100]},o.hwb.hcg=function(a){let l=a[1]/100,u=1-a[2]/100,c=u-l,d=0;return c<1&&(d=(u-c)/(1-c)),[a[0],c*100,d*100]},o.apple.rgb=function(a){return[a[0]/65535*255,a[1]/65535*255,a[2]/65535*255]},o.rgb.apple=function(a){return[a[0]/255*65535,a[1]/255*65535,a[2]/255*65535]},o.gray.rgb=function(a){return[a[0]/100*255,a[0]/100*255,a[0]/100*255]},o.gray.hsl=function(a){return[0,0,a[0]]},o.gray.hsv=o.gray.hsl,o.gray.hwb=function(a){return[0,100,a[0]]},o.gray.cmyk=function(a){return[0,0,0,a[0]]},o.gray.lab=function(a){return[a[0],0,0]},o.gray.hex=function(a){let l=Math.round(a[0]/100*255)&255,u=((l<<16)+(l<<8)+l).toString(16).toUpperCase();return"000000".substring(u.length)+u},o.rgb.gray=function(a){return[(a[0]+a[1]+a[2])/3/255*100]}}}),tm=Oe({"../../node_modules/color-convert/route.js"(e,t){var r=Su();function n(){let l={},u=Object.keys(r);for(let c=u.length,d=0;d1&&(d=p),u(d))};return"conversion"in u&&(c.conversion=u.conversion),c}function l(u){let c=function(...d){let p=d[0];if(p==null)return p;p.length>1&&(d=p);let h=u(d);if(typeof h=="object")for(let y=h.length,E=0;E{o[u]={},Object.defineProperty(o[u],"channels",{value:r[u].channels}),Object.defineProperty(o[u],"labels",{value:r[u].labels});let c=n(u);Object.keys(c).forEach(d=>{let p=c[d];o[u][d]=l(p),o[u][d].raw=a(p)})}),t.exports=o}}),Be=jt(rm());Mt=function(e,t,r){return t===void 0&&(t=0),r===void 0&&(r=1),e>r?r:e0:A.buttons>0)&&o.current?i(bu(o.current,A,l.current)):v(!1)},E=function(){return v(!1)};function v(A){var D=u.current,S=No(o.current),F=A?S.addEventListener:S.removeEventListener;F(D?"touchmove":"mousemove",y),F(D?"touchend":"mouseup",E)}return[function(A){var D=A.nativeEvent,S=o.current;if(S&&(Eu(D),!function(x,O){return O&&!pr(x)}(D,u.current)&&S)){if(pr(D)){u.current=!0;var F=D.changedTouches||[];F.length&&(l.current=F[0].identifier)}S.focus(),i(bu(S,D,l.current)),v(!0)}},function(A){var D=A.which||A.keyCode;D<37||D>40||(A.preventDefault(),a({left:D===39?.05:D===37?-.05:0,top:D===40?.05:D===38?-.05:0}))},v]},[a,i]),d=c[0],p=c[1],h=c[2];return rt(function(){return h},[h]),C.createElement("div",At({},n,{onTouchStart:d,onMouseDown:d,className:"react-colorful__interactive",ref:o,onKeyDown:p,tabIndex:0,role:"slider"}))}),hr=function(e){return e.filter(Boolean).join(" ")},qo=function(e){var t=e.color,r=e.left,n=e.top,o=n===void 0?.5:n,i=hr(["react-colorful__pointer",e.className]);return C.createElement("div",{className:i,style:{top:100*o+"%",left:100*r+"%"}},C.createElement("div",{className:"react-colorful__pointer-fill",style:{backgroundColor:t}}))},ve=function(e,t,r){return t===void 0&&(t=0),r===void 0&&(r=Math.pow(10,t)),Math.round(r*e)/r},nm={grad:.9,turn:360,rad:360/(2*Math.PI)},om=function(e){return xu(jo(e))},jo=function(e){return e[0]==="#"&&(e=e.substring(1)),e.length<6?{r:parseInt(e[0]+e[0],16),g:parseInt(e[1]+e[1],16),b:parseInt(e[2]+e[2],16),a:e.length===4?ve(parseInt(e[3]+e[3],16)/255,2):1}:{r:parseInt(e.substring(0,2),16),g:parseInt(e.substring(2,4),16),b:parseInt(e.substring(4,6),16),a:e.length===8?ve(parseInt(e.substring(6,8),16)/255,2):1}},am=function(e,t){return t===void 0&&(t="deg"),Number(e)*(nm[t]||1)},im=function(e){var t=/hsla?\(?\s*(-?\d*\.?\d+)(deg|rad|grad|turn)?[,\s]+(-?\d*\.?\d+)%?[,\s]+(-?\d*\.?\d+)%?,?\s*[/\s]*(-?\d*\.?\d+)?(%)?\s*\)?/i.exec(e);return t?sm({h:am(t[1],t[2]),s:Number(t[3]),l:Number(t[4]),a:t[5]===void 0?1:Number(t[5])/(t[6]?100:1)}):{h:0,s:0,v:0,a:1}},sm=function(e){var t=e.s,r=e.l;return{h:e.h,s:(t*=(r<50?r:100-r)/100)>0?2*t/(r+t)*100:0,v:r+t,a:e.a}},lm=function(e){return cm(Cu(e))},wu=function(e){var t=e.s,r=e.v,n=e.a,o=(200-t)*r/100;return{h:ve(e.h),s:ve(o>0&&o<200?t*r/100/(o<=100?o:200-o)*100:0),l:ve(o/2),a:ve(n,2)}},Lo=function(e){var t=wu(e);return"hsl("+t.h+", "+t.s+"%, "+t.l+"%)"},Qr=function(e){var t=wu(e);return"hsla("+t.h+", "+t.s+"%, "+t.l+"%, "+t.a+")"},Cu=function(e){var t=e.h,r=e.s,n=e.v,o=e.a;t=t/360*6,r/=100,n/=100;var i=Math.floor(t),a=n*(1-r),l=n*(1-(t-i)*r),u=n*(1-(1-t+i)*r),c=i%6;return{r:ve(255*[n,l,a,a,u,n][c]),g:ve(255*[u,n,n,l,a,a][c]),b:ve(255*[a,a,u,n,n,l][c]),a:ve(o,2)}},um=function(e){var t=/rgba?\(?\s*(-?\d*\.?\d+)(%)?[,\s]+(-?\d*\.?\d+)(%)?[,\s]+(-?\d*\.?\d+)(%)?,?\s*[/\s]*(-?\d*\.?\d+)?(%)?\s*\)?/i.exec(e);return t?xu({r:Number(t[1])/(t[2]?100/255:1),g:Number(t[3])/(t[4]?100/255:1),b:Number(t[5])/(t[6]?100/255:1),a:t[7]===void 0?1:Number(t[7])/(t[8]?100:1)}):{h:0,s:0,v:0,a:1}},Kr=function(e){var t=e.toString(16);return t.length<2?"0"+t:t},cm=function(e){var t=e.r,r=e.g,n=e.b,o=e.a,i=o<1?Kr(ve(255*o)):"";return"#"+Kr(t)+Kr(r)+Kr(n)+i},xu=function(e){var t=e.r,r=e.g,n=e.b,o=e.a,i=Math.max(t,r,n),a=i-Math.min(t,r,n),l=a?i===t?(r-n)/a:i===r?2+(n-t)/a:4+(t-r)/a:0;return{h:ve(60*(l<0?l+6:l)),s:ve(i?a/i*100:0),v:ve(i/255*100),a:o}},Tu=C.memo(function(e){var t=e.hue,r=e.onChange,n=hr(["react-colorful__hue",e.className]);return C.createElement("div",{className:n},C.createElement($o,{onMove:function(o){r({h:360*o.left})},onKey:function(o){r({h:Mt(t+360*o.left,0,360)})},"aria-label":"Hue","aria-valuenow":ve(t),"aria-valuemax":"360","aria-valuemin":"0"},C.createElement(qo,{className:"react-colorful__hue-pointer",left:t/360,color:Lo({h:t,s:100,v:100,a:1})})))}),Fu=C.memo(function(e){var t=e.hsva,r=e.onChange,n={backgroundColor:Lo({h:t.h,s:100,v:100,a:1})};return C.createElement("div",{className:"react-colorful__saturation",style:n},C.createElement($o,{onMove:function(o){r({s:100*o.left,v:100-100*o.top})},onKey:function(o){r({s:Mt(t.s+100*o.left,0,100),v:Mt(t.v-100*o.top,0,100)})},"aria-label":"Color","aria-valuetext":"Saturation "+ve(t.s)+"%, Brightness "+ve(t.v)+"%"},C.createElement(qo,{className:"react-colorful__saturation-pointer",top:1-t.v/100,left:t.s/100,color:Lo(t)})))}),Iu=function(e,t){if(e===t)return!0;for(var r in e)if(e[r]!==t[r])return!1;return!0},ku=function(e,t){return e.replace(/\s/g,"")===t.replace(/\s/g,"")},dm=function(e,t){return e.toLowerCase()===t.toLowerCase()||Iu(jo(e),jo(t))};pm=typeof window<"u"?ga:rt,hm=function(){return typeof __webpack_nonce__<"u"?__webpack_nonce__:void 0},vu=new Map,Ou=function(e){pm(function(){var t=e.current?e.current.ownerDocument:document;if(t!==void 0&&!vu.has(t)){var r=t.createElement("style");r.innerHTML=`.react-colorful{position:relative;display:flex;flex-direction:column;width:200px;height:200px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:default}.react-colorful__saturation{position:relative;flex-grow:1;border-color:transparent;border-bottom:12px solid #000;border-radius:8px 8px 0 0;background-image:linear-gradient(0deg,#000,transparent),linear-gradient(90deg,#fff,hsla(0,0%,100%,0))}.react-colorful__alpha-gradient,.react-colorful__pointer-fill{content:"";position:absolute;left:0;top:0;right:0;bottom:0;pointer-events:none;border-radius:inherit}.react-colorful__alpha-gradient,.react-colorful__saturation{box-shadow:inset 0 0 0 1px rgba(0,0,0,.05)}.react-colorful__alpha,.react-colorful__hue{position:relative;height:24px}.react-colorful__hue{background:linear-gradient(90deg,red 0,#ff0 17%,#0f0 33%,#0ff 50%,#00f 67%,#f0f 83%,red)}.react-colorful__last-control{border-radius:0 0 8px 8px}.react-colorful__interactive{position:absolute;left:0;top:0;right:0;bottom:0;border-radius:inherit;outline:none;touch-action:none}.react-colorful__pointer{position:absolute;z-index:1;box-sizing:border-box;width:28px;height:28px;transform:translate(-50%,-50%);background-color:#fff;border:2px solid #fff;border-radius:50%;box-shadow:0 2px 4px rgba(0,0,0,.2)}.react-colorful__interactive:focus .react-colorful__pointer{transform:translate(-50%,-50%) scale(1.1)}.react-colorful__alpha,.react-colorful__alpha-pointer{background-color:#fff;background-image:url('data:image/svg+xml;charset=utf-8,')}.react-colorful__saturation-pointer{z-index:3}.react-colorful__hue-pointer{z-index:2}`,vu.set(t,r);var n=hm();n&&r.setAttribute("nonce",n),t.head.appendChild(r)}},[])},fm=function(e){var t=e.className,r=e.colorModel,n=e.color,o=n===void 0?r.defaultColor:n,i=e.onChange,a=Uo(e,["className","colorModel","color","onChange"]),l=Me(null);Ou(l);var u=Ru(r,o,i),c=u[0],d=u[1],p=hr(["react-colorful",t]);return C.createElement("div",At({},a,{ref:l,className:p}),C.createElement(Fu,{hsva:c,onChange:d}),C.createElement(Tu,{hue:c.h,onChange:d,className:"react-colorful__last-control"}))},mm={defaultColor:"000",toHsva:om,fromHsva:function(e){return lm({h:e.h,s:e.s,v:e.v,a:1})},equal:dm},ym=function(e){return C.createElement(fm,At({},e,{colorModel:mm}))},gm=function(e){var t=e.className,r=e.hsva,n=e.onChange,o={backgroundImage:"linear-gradient(90deg, "+Qr(Object.assign({},r,{a:0}))+", "+Qr(Object.assign({},r,{a:1}))+")"},i=hr(["react-colorful__alpha",t]),a=ve(100*r.a);return C.createElement("div",{className:i},C.createElement("div",{className:"react-colorful__alpha-gradient",style:o}),C.createElement($o,{onMove:function(l){n({a:l.left})},onKey:function(l){n({a:Mt(r.a+l.left)})},"aria-label":"Alpha","aria-valuetext":a+"%","aria-valuenow":a,"aria-valuemin":"0","aria-valuemax":"100"},C.createElement(qo,{className:"react-colorful__alpha-pointer",left:r.a,color:Qr(r)})))},_u=function(e){var t=e.className,r=e.colorModel,n=e.color,o=n===void 0?r.defaultColor:n,i=e.onChange,a=Uo(e,["className","colorModel","color","onChange"]),l=Me(null);Ou(l);var u=Ru(r,o,i),c=u[0],d=u[1],p=hr(["react-colorful",t]);return C.createElement("div",At({},a,{ref:l,className:p}),C.createElement(Fu,{hsva:c,onChange:d}),C.createElement(Tu,{hue:c.h,onChange:d}),C.createElement(gm,{hsva:c,onChange:d,className:"react-colorful__last-control"}))},bm={defaultColor:"hsla(0, 0%, 0%, 1)",toHsva:im,fromHsva:Qr,equal:ku},Em=function(e){return C.createElement(_u,At({},e,{colorModel:bm}))},vm={defaultColor:"rgba(0, 0, 0, 1)",toHsva:um,fromHsva:function(e){var t=Cu(e);return"rgba("+t.r+", "+t.g+", "+t.b+", "+t.a+")"},equal:ku},Am=function(e){return C.createElement(_u,At({},e,{colorModel:vm}))},Dm=k.div({position:"relative",maxWidth:250,'&[aria-readonly="true"]':{opacity:.5}}),Sm=k(Sr)({position:"absolute",zIndex:1,top:4,left:4,"[aria-readonly=true] &":{cursor:"not-allowed"}}),wm=k.div({width:200,margin:5,".react-colorful__saturation":{borderRadius:"4px 4px 0 0"},".react-colorful__hue":{boxShadow:"inset 0 0 0 1px rgb(0 0 0 / 5%)"},".react-colorful__last-control":{borderRadius:"0 0 4px 4px"}}),Cm=k(An)(({theme:e})=>({fontFamily:e.typography.fonts.base})),xm=k.div({display:"grid",gridTemplateColumns:"repeat(9, 16px)",gap:6,padding:3,marginTop:5,width:200}),Tm=k.div(({theme:e,active:t})=>({width:16,height:16,boxShadow:t?`${e.appBorderColor} 0 0 0 1px inset, ${e.textMutedColor}50 0 0 0 4px`:`${e.appBorderColor} 0 0 0 1px inset`,borderRadius:e.appBorderRadius})),Fm=`url('data:image/svg+xml;charset=utf-8,')`,Au=({value:e,style:t,...r})=>{let n=`linear-gradient(${e}, ${e}), ${Fm}, linear-gradient(#fff, #fff)`;return C.createElement(Tm,{...r,style:{...t,backgroundImage:n}})},Im=k(nt.Input)(({theme:e,readOnly:t})=>({width:"100%",paddingLeft:30,paddingRight:30,boxSizing:"border-box",fontFamily:e.typography.fonts.base})),km=k(hu)(({theme:e})=>({position:"absolute",zIndex:1,top:6,right:7,width:20,height:20,padding:4,boxSizing:"border-box",cursor:"pointer",color:e.input.color})),Pu=(e=>(e.RGB="rgb",e.HSL="hsl",e.HEX="hex",e))(Pu||{}),Yr=Object.values(Pu),Rm=/\(([0-9]+),\s*([0-9]+)%?,\s*([0-9]+)%?,?\s*([0-9.]+)?\)/,Om=/^\s*rgba?\(([0-9]+),\s*([0-9]+),\s*([0-9]+),?\s*([0-9.]+)?\)\s*$/i,_m=/^\s*hsla?\(([0-9]+),\s*([0-9]+)%,\s*([0-9]+)%,?\s*([0-9.]+)?\)\s*$/i,Mo=/^\s*#?([0-9a-f]{3}|[0-9a-f]{6})\s*$/i,Pm=/^\s*#?([0-9a-f]{3})\s*$/i,Bm={hex:ym,rgb:Am,hsl:Em},Xr={hex:"transparent",rgb:"rgba(0, 0, 0, 0)",hsl:"hsla(0, 0%, 0%, 0)"},Du=e=>{let t=e?.match(Rm);if(!t)return[0,0,0,1];let[,r,n,o,i=1]=t;return[r,n,o,i].map(Number)},Lt=e=>{if(!e)return;let t=!0;if(Om.test(e)){let[a,l,u,c]=Du(e),[d,p,h]=Be.default.rgb.hsl([a,l,u])||[0,0,0];return{valid:t,value:e,keyword:Be.default.rgb.keyword([a,l,u]),colorSpace:"rgb",rgb:e,hsl:`hsla(${d}, ${p}%, ${h}%, ${c})`,hex:`#${Be.default.rgb.hex([a,l,u]).toLowerCase()}`}}if(_m.test(e)){let[a,l,u,c]=Du(e),[d,p,h]=Be.default.hsl.rgb([a,l,u])||[0,0,0];return{valid:t,value:e,keyword:Be.default.hsl.keyword([a,l,u]),colorSpace:"hsl",rgb:`rgba(${d}, ${p}, ${h}, ${c})`,hsl:e,hex:`#${Be.default.hsl.hex([a,l,u]).toLowerCase()}`}}let r=e.replace("#",""),n=Be.default.keyword.rgb(r)||Be.default.hex.rgb(r),o=Be.default.rgb.hsl(n),i=e;if(/[^#a-f0-9]/i.test(e)?i=r:Mo.test(e)&&(i=`#${r}`),i.startsWith("#"))t=Mo.test(i);else try{Be.default.keyword.hex(i)}catch{t=!1}return{valid:t,value:i,keyword:Be.default.rgb.keyword(n),colorSpace:"hex",rgb:`rgba(${n[0]}, ${n[1]}, ${n[2]}, 1)`,hsl:`hsla(${o[0]}, ${o[1]}%, ${o[2]}%, 1)`,hex:i}},Nm=(e,t,r)=>{if(!e||!t?.valid)return Xr[r];if(r!=="hex")return t?.[r]||Xr[r];if(!t.hex.startsWith("#"))try{return`#${Be.default.keyword.hex(t.hex)}`}catch{return Xr.hex}let n=t.hex.match(Pm);if(!n)return Mo.test(t.hex)?t.hex:Xr.hex;let[o,i,a]=n[1].split("");return`#${o}${o}${i}${i}${a}${a}`},jm=(e,t)=>{let[r,n]=Ue(e||""),[o,i]=Ue(()=>Lt(r)),[a,l]=Ue(o?.colorSpace||"hex");rt(()=>{let p=e||"",h=Lt(p);n(p),i(h),l(h?.colorSpace||"hex")},[e]);let u=Yt(()=>Nm(r,o,a).toLowerCase(),[r,o,a]),c=tt(p=>{let h=Lt(p),y=h?.value||p||"";n(y),y===""&&(i(void 0),t(void 0)),h&&(i(h),l(h.colorSpace),t(h.value))},[t]),d=tt(()=>{let p=Yr.indexOf(a)+1;p>=Yr.length&&(p=0),l(Yr[p]);let h=o?.[Yr[p]]||"";n(h),t(h)},[o,a,t]);return{value:r,realValue:u,updateValue:c,color:o,colorSpace:a,cycleColorSpace:d}},Zr=e=>e.replace(/\s*/,"").toLowerCase(),Lm=(e,t,r)=>{let[n,o]=Ue(t?.valid?[t]:[]);rt(()=>{t===void 0&&o([])},[t]);let i=Yt(()=>(e||[]).map(l=>typeof l=="string"?Lt(l):l.title?{...Lt(l.color),keyword:l.title}:Lt(l.color)).concat(n).filter(Boolean).slice(-27),[e,n]),a=tt(l=>{l?.valid&&(i.some(u=>Zr(u[r])===Zr(l[r]))||o(u=>u.concat(l)))},[r,i]);return{presets:i,addPreset:a}},Bu=({name:e,value:t,onChange:r,onFocus:n,onBlur:o,presetColors:i,startOpen:a=!1,argType:l})=>{let u=tt(iu(r,200),[r]),{value:c,realValue:d,updateValue:p,color:h,colorSpace:y,cycleColorSpace:E}=jm(t,u),{presets:v,addPreset:A}=Lm(i,h,y),D=Bm[y],S=!!l?.table?.readonly;return C.createElement(Dm,{"aria-readonly":S},C.createElement(Sm,{startOpen:a,trigger:S?[null]:void 0,closeOnOutsideClick:!0,onVisibleChange:()=>A(h),tooltip:C.createElement(wm,null,C.createElement(D,{color:d==="transparent"?"#000000":d,onChange:p,onFocus:n,onBlur:o}),v.length>0&&C.createElement(xm,null,v.map((F,x)=>C.createElement(Sr,{key:`${F.value}-${x}`,hasChrome:!1,tooltip:C.createElement(Cm,{note:F.keyword||F.value})},C.createElement(Au,{value:F[y],active:h&&Zr(F[y])===Zr(h[y]),onClick:()=>p(F.value)})))))},C.createElement(Au,{value:d,style:{margin:4}})),C.createElement(Im,{id:Oo(e),value:c,onChange:F=>p(F.target.value),onFocus:F=>F.target.select(),readOnly:S,placeholder:"Choose color..."}),c?C.createElement(km,{onClick:E}):null)},Mm=Bu});V();J();H();V();J();H();V();J();H();Xt();Qt();V();J();H();V();J();H();V();J();H();var Kd=Object.defineProperty,ce=(e,t)=>Kd(e,"name",{value:t,configurable:!0});function pe(e){for(var t=[],r=1;r` - ${a}`).join(` -`)}`),`${o}${i!=null?` - -More info: ${i} -`:""}`}};ce(ka,"StorybookError");var be=ka,Yd=(e=>(e.BLOCKS="BLOCKS",e.DOCS_TOOLS="DOCS-TOOLS",e.PREVIEW_CLIENT_LOGGER="PREVIEW_CLIENT-LOGGER",e.PREVIEW_CHANNELS="PREVIEW_CHANNELS",e.PREVIEW_CORE_EVENTS="PREVIEW_CORE-EVENTS",e.PREVIEW_INSTRUMENTER="PREVIEW_INSTRUMENTER",e.PREVIEW_API="PREVIEW_API",e.PREVIEW_REACT_DOM_SHIM="PREVIEW_REACT-DOM-SHIM",e.PREVIEW_ROUTER="PREVIEW_ROUTER",e.PREVIEW_THEMING="PREVIEW_THEMING",e.RENDERER_HTML="RENDERER_HTML",e.RENDERER_PREACT="RENDERER_PREACT",e.RENDERER_REACT="RENDERER_REACT",e.RENDERER_SERVER="RENDERER_SERVER",e.RENDERER_SVELTE="RENDERER_SVELTE",e.RENDERER_VUE="RENDERER_VUE",e.RENDERER_VUE3="RENDERER_VUE3",e.RENDERER_WEB_COMPONENTS="RENDERER_WEB-COMPONENTS",e.FRAMEWORK_NEXTJS="FRAMEWORK_NEXTJS",e.ADDON_VITEST="ADDON_VITEST",e))(Yd||{}),Oa=class extends be{constructor(t){super({category:"PREVIEW_API",code:1,message:pe` - Couldn't find story matching id '${t.storyId}' after HMR. - - Did you just rename a story? - - Did you remove it from your CSF file? - - Are you sure a story with the id '${t.storyId}' exists? - - Please check the values in the stories field of your main.js config and see if they would match your CSF File. - - Also check the browser console and terminal for potential error messages.`}),this.data=t}};ce(Oa,"MissingStoryAfterHmrError");var _a=Oa,Xd=class extends be{constructor(t){super({category:"PREVIEW_API",code:2,documentation:"https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#using-implicit-actions-during-rendering-is-deprecated-for-example-in-the-play-function",message:pe` - We detected that you use an implicit action arg while ${t.phase} of your story. - ${t.deprecated?` -This is deprecated and won't work in Storybook 8 anymore. -`:""} - Please provide an explicit spy to your args like this: - import { fn } from '@storybook/test'; - ... - args: { - ${t.name}: fn() - }`}),this.data=t}};ce(Xd,"ImplicitActionsDuringRendering");var Pa=class extends be{constructor(){super({category:"PREVIEW_API",code:3,message:pe` - Cannot call \`storyStore.extract()\` without calling \`storyStore.cacheAllCsfFiles()\` first. - - You probably meant to call \`await preview.extract()\` which does the above for you.`})}};ce(Pa,"CalledExtractOnStoreError");var Ba=Pa,Na=class extends be{constructor(){super({category:"PREVIEW_API",code:4,message:pe` - Expected your framework's preset to export a \`renderToCanvas\` field. - - Perhaps it needs to be upgraded for Storybook 7.0?`,documentation:"https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#mainjs-framework-field"})}};ce(Na,"MissingRenderToCanvasError");var ja=Na,La=class extends be{constructor(t){super({category:"PREVIEW_API",code:5,message:pe` - Called \`Preview.${t.methodName}()\` before initialization. - - The preview needs to load the story index before most methods can be called. If you want - to call \`${t.methodName}\`, try \`await preview.initializationPromise;\` first. - - If you didn't call the above code, then likely it was called by an addon that needs to - do the above.`}),this.data=t}};ce(La,"CalledPreviewMethodBeforeInitializationError");var ke=La,Ma=class extends be{constructor(t){super({category:"PREVIEW_API",code:6,message:pe` - Error fetching \`/index.json\`: - - ${t.text} - - If you are in development, this likely indicates a problem with your Storybook process, - check the terminal for errors. - - If you are in a deployed Storybook, there may have been an issue deploying the full Storybook - build.`}),this.data=t}};ce(Ma,"StoryIndexFetchError");var Ua=Ma,$a=class extends be{constructor(t){super({category:"PREVIEW_API",code:7,message:pe` - Tried to render docs entry ${t.storyId} but it is a MDX file that has no CSF - references, or autodocs for a CSF file that some doesn't refer to itself. - - This likely is an internal error in Storybook's indexing, or you've attached the - \`attached-mdx\` tag to an MDX file that is not attached.`}),this.data=t}};ce($a,"MdxFileWithNoCsfReferencesError");var qa=$a,Va=class extends be{constructor(){super({category:"PREVIEW_API",code:8,message:pe` - Couldn't find any stories in your Storybook. - - - Please check your stories field of your main.js config: does it match correctly? - - Also check the browser console and terminal for error messages.`})}};ce(Va,"EmptyIndexError");var Ja=Va,Ha=class extends be{constructor(t){super({category:"PREVIEW_API",code:9,message:pe` - Couldn't find story matching '${t.storySpecifier}'. - - - Are you sure a story with that id exists? - - Please check your stories field of your main.js config. - - Also check the browser console and terminal for error messages.`}),this.data=t}};ce(Ha,"NoStoryMatchError");var za=Ha,Ga=class extends be{constructor(t){super({category:"PREVIEW_API",code:10,message:pe` - Couldn't find story matching id '${t.storyId}' after importing a CSF file. - - The file was indexed as if the story was there, but then after importing the file in the browser - we didn't find the story. Possible reasons: - - You are using a custom story indexer that is misbehaving. - - You have a custom file loader that is removing or renaming exports. - - Please check your browser console and terminal for errors that may explain the issue.`}),this.data=t}};ce(Ga,"MissingStoryFromCsfFileError");var Wa=Ga,Ka=class extends be{constructor(){super({category:"PREVIEW_API",code:11,message:pe` - Cannot access the Story Store until the index is ready. - - It is not recommended to use methods directly on the Story Store anyway, in Storybook 9 we will - remove access to the store entirely`})}};ce(Ka,"StoryStoreAccessedBeforeInitializationError");var Ya=Ka,Xa=class extends be{constructor(t){super({category:"PREVIEW_API",code:12,message:pe` - Incorrect use of mount in the play function. - - To use mount in the play function, you must satisfy the following two requirements: - - 1. You *must* destructure the mount property from the \`context\` (the argument passed to your play function). - This makes sure that Storybook does not start rendering the story before the play function begins. - - 2. Your Storybook framework or builder must be configured to transpile to ES2017 or newer. - This is because destructuring statements and async/await usages are otherwise transpiled away, - which prevents Storybook from recognizing your usage of \`mount\`. - - Note that Angular is not supported. As async/await is transpiled to support the zone.js polyfill. - - More info: https://storybook.js.org/docs/writing-tests/interaction-testing#run-code-before-the-component-gets-rendered - - Received the following play function: - ${t.playFunction}`}),this.data=t}};ce(Xa,"MountMustBeDestructuredError");var wr=Xa,Qa=class extends be{constructor(t){super({category:"PREVIEW_API",code:14,message:pe` - No render function available for storyId '${t.id}' - `}),this.data=t}};ce(Qa,"NoRenderFunctionError");var Za=Qa,ei=class extends be{constructor(){super({category:"PREVIEW_API",code:15,message:pe` - No component is mounted in your story. - - This usually occurs when you destructure mount in the play function, but forget to call it. - - For example: - - async play({ mount, canvasElement }) { - // 👈 mount should be called: await mount(); - const canvas = within(canvasElement); - const button = await canvas.findByRole('button'); - await userEvent.click(button); - }; - - Make sure to either remove it or call mount in your play function. - `})}};ce(ei,"NoStoryMountedError");var ti=ei,Qd=class extends be{constructor(){super({category:"FRAMEWORK_NEXTJS",code:1,documentation:"https://storybook.js.org/docs/get-started/nextjs#faq",message:pe` - You are importing avif images, but you don't have sharp installed. - - You have to install sharp in order to use image optimization features in Next.js. - `})}};ce(Qd,"NextJsSharpError");var Zd=class extends be{constructor(t){super({category:"FRAMEWORK_NEXTJS",code:2,message:pe` - Tried to access router mocks from "${t.importType}" but they were not created yet. You might be running code in an unsupported environment. - `}),this.data=t}};ce(Zd,"NextjsRouterMocksNotAvailable");var ri=class extends be{constructor(t){super({category:"DOCS-TOOLS",code:1,documentation:"https://github.com/storybookjs/storybook/issues/26606",message:pe` - There was a failure when generating detailed ArgTypes in ${t.language} for: - ${JSON.stringify(t.type,null,2)} - - Storybook will fall back to use a generic type description instead. - - This type is either not supported or it is a bug in the docgen generation in Storybook. - If you think this is a bug, please detail it as much as possible in the Github issue. - `}),this.data=t}};ce(ri,"UnknownArgTypesError");var Cr=ri,ep=class extends be{constructor(t){super({category:"ADDON_VITEST",code:1,message:pe` - Encountered an unsupported value "${t.value}" when setting the viewport ${t.dimension} dimension. - - The Storybook plugin only supports values in the following units: - - px, vh, vw, em, rem and %. - - You can either change the viewport for this story to use one of the supported units or skip the test by adding '!test' to the story's tags per https://storybook.js.org/docs/writing-stories/tags - `}),this.data=t}};ce(ep,"UnsupportedViewportDimensionError");var Nt=ed(oi(),1);V();J();H();V();J();H();var ub=__STORYBOOK_CHANNELS__,{Channel:Tr,HEARTBEAT_INTERVAL:cb,HEARTBEAT_MAX_LATENCY:db,PostMessageTransport:pb,WebsocketTransport:hb,createBrowserChannel:fb}=__STORYBOOK_CHANNELS__;V();J();H();var Eb=__STORYBOOK_CLIENT_LOGGER__,{deprecate:Ge,logger:Q,once:ot,pretty:vb}=__STORYBOOK_CLIENT_LOGGER__;V();J();H();var Cb=__STORYBOOK_CORE_EVENTS__,{ARGTYPES_INFO_REQUEST:ai,ARGTYPES_INFO_RESPONSE:xn,CHANNEL_CREATED:xb,CHANNEL_WS_DISCONNECT:Tb,CONFIG_ERROR:ii,CREATE_NEW_STORYFILE_REQUEST:Fb,CREATE_NEW_STORYFILE_RESPONSE:Ib,CURRENT_STORY_WAS_SET:Tn,DOCS_PREPARED:si,DOCS_RENDERED:Fr,FILE_COMPONENT_SEARCH_REQUEST:kb,FILE_COMPONENT_SEARCH_RESPONSE:Rb,FORCE_REMOUNT:li,FORCE_RE_RENDER:Ir,GLOBALS_UPDATED:ft,NAVIGATE_URL:ui,PLAY_FUNCTION_THREW_EXCEPTION:ci,PRELOAD_ENTRIES:di,PREVIEW_BUILDER_PROGRESS:Ob,PREVIEW_KEYDOWN:pi,REGISTER_SUBSCRIPTION:_b,REQUEST_WHATS_NEW_DATA:Pb,RESET_STORY_ARGS:Zt,RESULT_WHATS_NEW_DATA:Bb,SAVE_STORY_REQUEST:Nb,SAVE_STORY_RESPONSE:jb,SELECT_STORY:Lb,SET_CONFIG:Mb,SET_CURRENT_STORY:hi,SET_FILTER:Ub,SET_GLOBALS:fi,SET_INDEX:$b,SET_STORIES:qb,SET_WHATS_NEW_CACHE:Vb,SHARED_STATE_CHANGED:Jb,SHARED_STATE_SET:Hb,STORIES_COLLAPSE_ALL:zb,STORIES_EXPAND_ALL:Gb,STORY_ARGS_UPDATED:Fn,STORY_CHANGED:mi,STORY_ERRORED:yi,STORY_FINISHED:In,STORY_INDEX_INVALIDATED:gi,STORY_MISSING:kn,STORY_PREPARED:bi,STORY_RENDERED:er,STORY_RENDER_PHASE_CHANGED:It,STORY_SPECIFIED:Ei,STORY_THREW_EXCEPTION:vi,STORY_UNCHANGED:Ai,TELEMETRY_ERROR:Wb,TESTING_MODULE_CANCEL_TEST_RUN_REQUEST:Kb,TESTING_MODULE_CANCEL_TEST_RUN_RESPONSE:Yb,TESTING_MODULE_CRASH_REPORT:Xb,TESTING_MODULE_PROGRESS_REPORT:Qb,TESTING_MODULE_RUN_ALL_REQUEST:Zb,TESTING_MODULE_RUN_REQUEST:eE,TOGGLE_WHATS_NEW_NOTIFICATIONS:tE,UNHANDLED_ERRORS_WHILE_PLAYING:Di,UPDATE_GLOBALS:kr,UPDATE_QUERY_PARAMS:Si,UPDATE_STORY_ARGS:tr}=__STORYBOOK_CORE_EVENTS__;V();J();H();var tp=Object.create,On=Object.defineProperty,rp=Object.getOwnPropertyDescriptor,np=Object.getOwnPropertyNames,op=Object.getPrototypeOf,ap=Object.prototype.hasOwnProperty,he=(e,t)=>On(e,"name",{value:t,configurable:!0}),ip=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),sp=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of np(t))!ap.call(e,o)&&o!==r&&On(e,o,{get:()=>t[o],enumerable:!(n=rp(t,o))||n.enumerable});return e},lp=(e,t,r)=>(r=e!=null?tp(op(e)):{},sp(t||!e||!e.__esModule?On(r,"default",{value:e,enumerable:!0}):r,e)),up=ip(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.isEqual=function(){var t=Object.prototype.toString,r=Object.getPrototypeOf,n=Object.getOwnPropertySymbols?function(o){return Object.keys(o).concat(Object.getOwnPropertySymbols(o))}:Object.keys;return function(o,i){return he(function a(l,u,c){var d,p,h,y=t.call(l),E=t.call(u);if(l===u)return!0;if(l==null||u==null)return!1;if(c.indexOf(l)>-1&&c.indexOf(u)>-1)return!0;if(c.push(l,u),y!=E||(d=n(l),p=n(u),d.length!=p.length||d.some(function(v){return!a(l[v],u[v],c)})))return!1;switch(y.slice(8,-1)){case"Symbol":return l.valueOf()==u.valueOf();case"Date":case"Number":return+l==+u||+l!=+l&&+u!=+u;case"RegExp":case"Function":case"String":case"Boolean":return""+l==""+u;case"Set":case"Map":d=l.entries(),p=u.entries();do if(!a((h=d.next()).value,p.next().value,c))return!1;while(!h.done);return!0;case"ArrayBuffer":l=new Uint8Array(l),u=new Uint8Array(u);case"DataView":l=new Uint8Array(l.buffer),u=new Uint8Array(u.buffer);case"Float32Array":case"Float64Array":case"Int8Array":case"Int16Array":case"Int32Array":case"Uint8Array":case"Uint16Array":case"Uint32Array":case"Uint8ClampedArray":case"Arguments":case"Array":if(l.length!=u.length)return!1;for(h=0;h`${r} ${n}${o}`).replace(/([a-z])([A-Z])/g,(t,r,n)=>`${r} ${n}`).replace(/([a-z])([0-9])/gi,(t,r,n)=>`${r} ${n}`).replace(/([0-9])([a-z])/gi,(t,r,n)=>`${r} ${n}`).replace(/(\s|^)(\w)/g,(t,r,n)=>`${r}${n.toUpperCase()}`).replace(/ +/g," ").trim()}he(xi,"toStartCaseStr");var wi=lp(up(),1),Ti=he(e=>e.map(t=>typeof t<"u").filter(Boolean).length,"count"),cp=he((e,t)=>{let{exists:r,eq:n,neq:o,truthy:i}=e;if(Ti([r,n,o,i])>1)throw new Error(`Invalid conditional test ${JSON.stringify({exists:r,eq:n,neq:o})}`);if(typeof n<"u")return(0,wi.isEqual)(t,n);if(typeof o<"u")return!(0,wi.isEqual)(t,o);if(typeof r<"u"){let a=typeof t<"u";return r?a:!a}return typeof i>"u"||i?!!t:!t},"testValue"),_n=he((e,t,r)=>{if(!e.if)return!0;let{arg:n,global:o}=e.if;if(Ti([n,o])!==1)throw new Error(`Invalid conditional value ${JSON.stringify({arg:n,global:o})}`);let i=n?t[n]:r[o];return cp(e.if,i)},"includeConditionalArg");function dp(e){let t,r={_tag:"Preview",input:e,get composed(){if(t)return t;let{addons:n,...o}=e;return t=Rt(at([...n??[],o])),t},meta(n){return Fi(n,this)}};return globalThis.globalProjectAnnotations=r.composed,r}he(dp,"__definePreview");function pp(e){return e!=null&&typeof e=="object"&&"_tag"in e&&e?._tag==="Preview"}he(pp,"isPreview");function hp(e){return e!=null&&typeof e=="object"&&"_tag"in e&&e?._tag==="Meta"}he(hp,"isMeta");function Fi(e,t){return{_tag:"Meta",input:e,preview:t,get composed(){throw new Error("Not implemented")},story(r){return Ii(r,this)}}}he(Fi,"defineMeta");function Ii(e,t){return{_tag:"Story",input:e,meta:t,get composed(){throw new Error("Not implemented")}}}he(Ii,"defineStory");function mt(e){return e!=null&&typeof e=="object"&&"_tag"in e&&e?._tag==="Story"}he(mt,"isStory");var Pn=he(e=>e.toLowerCase().replace(/[ ’–—―′¿'`~!@#$%^&*()_|+\-=?;:'",.<>\{\}\[\]\\\/]/gi,"-").replace(/-+/g,"-").replace(/^-+/,"").replace(/-+$/,""),"sanitize"),Ci=he((e,t)=>{let r=Pn(e);if(r==="")throw new Error(`Invalid ${t} '${e}', must include alphanumeric characters`);return r},"sanitizeSafe"),ki=he((e,t)=>`${Ci(e,"kind")}${t?`--${Ci(t,"name")}`:""}`,"toId"),Ri=he(e=>xi(e),"storyNameFromExport");function Rn(e,t){return Array.isArray(t)?t.includes(e):e.match(t)}he(Rn,"matches");function kt(e,{includeStories:t,excludeStories:r}){return e!=="__esModule"&&(!t||Rn(e,t))&&(!r||!Rn(e,r))}he(kt,"isExportStory");var sE=he((e,{rootSeparator:t,groupSeparator:r})=>{let[n,o]=e.split(t,2),i=(o||e).split(r).filter(a=>!!a);return{root:o?n:null,groups:i}},"parseKind"),Oi=he((...e)=>{let t=e.reduce((r,n)=>(n.startsWith("!")?r.delete(n.slice(1)):r.add(n),r),new Set);return Array.from(t)},"combineTags");var fp=Object.create,ro=Object.defineProperty,mp=Object.getOwnPropertyDescriptor,yp=Object.getOwnPropertyNames,gp=Object.getPrototypeOf,bp=Object.prototype.hasOwnProperty,m=(e,t)=>ro(e,"name",{value:t,configurable:!0}),Rr=(e=>typeof Ie<"u"?Ie:typeof Proxy<"u"?new Proxy(e,{get:(t,r)=>(typeof Ie<"u"?Ie:t)[r]}):e)(function(e){if(typeof Ie<"u")return Ie.apply(this,arguments);throw Error('Dynamic require of "'+e+'" is not supported')}),De=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),Ep=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of yp(t))!bp.call(e,o)&&o!==r&&ro(e,o,{get:()=>t[o],enumerable:!(n=mp(t,o))||n.enumerable});return e},Bt=(e,t,r)=>(r=e!=null?fp(gp(e)):{},Ep(t||!e||!e.__esModule?ro(r,"default",{value:e,enumerable:!0}):r,e)),Wi=De((e,t)=>{(function(r){if(typeof e=="object"&&typeof t<"u")t.exports=r();else if(typeof define=="function"&&define.amd)define([],r);else{var n;typeof window<"u"||typeof window<"u"?n=window:typeof self<"u"?n=self:n=this,n.memoizerific=r()}})(function(){var r,n,o;return m(function i(a,l,u){function c(h,y){if(!l[h]){if(!a[h]){var E=typeof Rr=="function"&&Rr;if(!y&&E)return E(h,!0);if(d)return d(h,!0);var v=new Error("Cannot find module '"+h+"'");throw v.code="MODULE_NOT_FOUND",v}var A=l[h]={exports:{}};a[h][0].call(A.exports,function(D){var S=a[h][1][D];return c(S||D)},A,A.exports,i,a,l,u)}return l[h].exports}m(c,"s");for(var d=typeof Rr=="function"&&Rr,p=0;p=0)return this.lastItem=this.list[d],this.list[d].val},u.prototype.set=function(c,d){var p;return this.lastItem&&this.isEqual(this.lastItem.key,c)?(this.lastItem.val=d,this):(p=this.indexOf(c),p>=0?(this.lastItem=this.list[p],this.list[p].val=d,this):(this.lastItem={key:c,val:d},this.list.push(this.lastItem),this.size++,this))},u.prototype.delete=function(c){var d;if(this.lastItem&&this.isEqual(this.lastItem.key,c)&&(this.lastItem=void 0),d=this.indexOf(c),d>=0)return this.size--,this.list.splice(d,1)[0]},u.prototype.has=function(c){var d;return this.lastItem&&this.isEqual(this.lastItem.key,c)?!0:(d=this.indexOf(c),d>=0?(this.lastItem=this.list[d],!0):!1)},u.prototype.forEach=function(c,d){var p;for(p=0;p0&&(O[x]={cacheItem:D,arg:arguments[x]},R?c(E,O):E.push(O),E.length>h&&d(E.shift())),A.wasMemoized=R,A.numArgs=x+1,F},"memoizerific");return A.limit=h,A.wasMemoized=!1,A.cache=y,A.lru=E,A}};function c(h,y){var E=h.length,v=y.length,A,D,S;for(D=0;D=0&&(E=h[A],v=E.cacheItem.get(E.arg),!v||!v.size);A--)E.cacheItem.delete(E.arg)}m(d,"removeCachedResult");function p(h,y){return h===y||h!==h&&y!==y}m(p,"isEqual")},{"map-or-similar":1}]},{},[3])(3)})}),Ki=De(e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.encodeString=n;var t=Array.from({length:256},(o,i)=>"%"+((i<16?"0":"")+i.toString(16)).toUpperCase()),r=new Int8Array([0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,1,1,1,1,0,0,1,1,0,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,1,0]);function n(o){let i=o.length;if(i===0)return"";let a="",l=0,u=0;e:for(;u>6]+t[128|c&63];continue}if(c<55296||c>=57344){l=u+1,a+=t[224|c>>12]+t[128|c>>6&63]+t[128|c&63];continue}if(++u,u>=i)throw new Error("URI malformed");let d=o.charCodeAt(u)&1023;l=u+1,c=65536+((c&1023)<<10|d),a+=t[240|c>>18]+t[128|c>>12&63]+t[128|c>>6&63]+t[128|c&63]}return l===0?o:l{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.defaultOptions=e.defaultShouldSerializeObject=e.defaultValueSerializer=void 0;var t=Ki(),r=m(i=>{switch(typeof i){case"string":return(0,t.encodeString)(i);case"bigint":case"boolean":return""+i;case"number":if(Number.isFinite(i))return i<1e21?""+i:(0,t.encodeString)(""+i);break}return i instanceof Date?(0,t.encodeString)(i.toISOString()):""},"defaultValueSerializer");e.defaultValueSerializer=r;var n=m(i=>i instanceof Date,"defaultShouldSerializeObject");e.defaultShouldSerializeObject=n;var o=m(i=>i,"identityFunc");e.defaultOptions={nesting:!0,nestingSyntax:"dot",arrayRepeat:!1,arrayRepeatSyntax:"repeat",delimiter:38,valueDeserializer:o,valueSerializer:e.defaultValueSerializer,keyDeserializer:o,shouldSerializeObject:e.defaultShouldSerializeObject}}),Yi=De(e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getDeepObject=o,e.stringifyObject=d;var t=no(),r=Ki();function n(p){return p==="__proto__"||p==="constructor"||p==="prototype"}m(n,"isPrototypeKey");function o(p,h,y,E,v){if(n(h))return p;let A=p[h];return typeof A=="object"&&A!==null?A:!E&&(v||typeof y=="number"||typeof y=="string"&&y*0===0&&y.indexOf(".")===-1)?p[h]=[]:p[h]={}}m(o,"getDeepObject");var i=20,a="[]",l="[",u="]",c=".";function d(p,h,y=0,E,v){let{nestingSyntax:A=t.defaultOptions.nestingSyntax,arrayRepeat:D=t.defaultOptions.arrayRepeat,arrayRepeatSyntax:S=t.defaultOptions.arrayRepeatSyntax,nesting:F=t.defaultOptions.nesting,delimiter:x=t.defaultOptions.delimiter,valueSerializer:O=t.defaultOptions.valueSerializer,shouldSerializeObject:R=t.defaultOptions.shouldSerializeObject}=h,N=typeof x=="number"?String.fromCharCode(x):x,j=v===!0&&D,U=A==="dot"||A==="js"&&!v;if(y>i)return"";let P="",K=!0,L=!1;for(let z in p){let b=p[z],w;E?(w=E,j?S==="bracket"&&(w+=a):U?(w+=c,w+=z):(w+=l,w+=z,w+=u)):w=z,K||(P+=N),typeof b=="object"&&b!==null&&!R(b)?(L=b.pop!==void 0,(F||D&&L)&&(P+=d(b,h,y+1,w,L))):(P+=(0,r.encodeString)(w),P+="=",P+=O(b,z)),K&&(K=!1)}return P}m(d,"stringifyObject")}),vp=De((e,t)=>{"use strict";var r=12,n=0,o=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,4,4,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,6,7,7,7,7,7,7,7,7,7,7,7,7,8,7,7,10,9,9,9,11,4,4,4,4,4,4,4,4,4,4,4,0,0,0,0,0,0,0,0,0,0,0,0,12,0,0,0,0,24,36,48,60,72,84,96,0,12,12,12,0,0,0,0,0,0,0,0,0,0,0,24,0,0,0,0,0,0,0,0,0,24,24,24,0,0,0,0,0,0,0,0,0,24,24,0,0,0,0,0,0,0,0,0,0,48,48,48,0,0,0,0,0,0,0,0,0,0,48,48,0,0,0,0,0,0,0,0,0,48,0,0,0,0,0,0,0,0,0,0,127,63,63,63,0,31,15,15,15,7,7,7];function i(u){var c=u.indexOf("%");if(c===-1)return u;for(var d=u.length,p="",h=0,y=0,E=c,v=r;c>-1&&c>10),56320+(y&1023)),y=0,h=c+3,c=E=u.indexOf("%",h);else{if(v===n)return null;if(c+=3,c{"use strict";var t=e&&e.__importDefault||function(p){return p&&p.__esModule?p:{default:p}};Object.defineProperty(e,"__esModule",{value:!0}),e.numberValueDeserializer=e.numberKeyDeserializer=void 0,e.parse=d;var r=Yi(),n=no(),o=t(vp()),i=m(p=>{let h=Number(p);return Number.isNaN(h)?p:h},"numberKeyDeserializer");e.numberKeyDeserializer=i;var a=m(p=>{let h=Number(p);return Number.isNaN(h)?p:h},"numberValueDeserializer");e.numberValueDeserializer=a;var l=/\+/g,u=m(function(){},"Empty");u.prototype=Object.create(null);function c(p,h,y,E,v){let A=p.substring(h,y);return E&&(A=A.replace(l," ")),v&&(A=(0,o.default)(A)||A),A}m(c,"computeKeySlice");function d(p,h){let{valueDeserializer:y=n.defaultOptions.valueDeserializer,keyDeserializer:E=n.defaultOptions.keyDeserializer,arrayRepeatSyntax:v=n.defaultOptions.arrayRepeatSyntax,nesting:A=n.defaultOptions.nesting,arrayRepeat:D=n.defaultOptions.arrayRepeat,nestingSyntax:S=n.defaultOptions.nestingSyntax,delimiter:F=n.defaultOptions.delimiter}=h??{},x=typeof F=="string"?F.charCodeAt(0):F,O=S==="js",R=new u;if(typeof p!="string")return R;let N=p.length,j="",U=-1,P=-1,K=-1,L=R,z,b="",w="",I=!1,M=!1,$=!1,Y=!1,re=!1,Z=!1,X=!1,ee=0,ge=-1,ue=-1,Se=-1;for(let ne=0;neU,X||(P=ne),K!==P-1&&(w=c(p,K+1,ge>-1?ge:P,$,I),b=E(w),z!==void 0&&(L=(0,r.getDeepObject)(L,z,b,O&&re,O&&Z))),X||b!==""){X&&(j=p.slice(P+1,ne),Y&&(j=j.replace(l," ")),M&&(j=(0,o.default)(j)||j));let je=y(j,b);if(D){let Re=L[b];Re===void 0?ge>-1?L[b]=[je]:L[b]=je:Re.pop?Re.push(je):L[b]=[Re,je]}else L[b]=je}j="",U=ne,P=ne,I=!1,M=!1,$=!1,Y=!1,re=!1,Z=!1,ge=-1,K=ne,L=R,z=void 0,b=""}else ee===93?(D&&v==="bracket"&&Se===91&&(ge=ue),A&&(S==="index"||O)&&P<=U&&(K!==ue&&(w=c(p,K+1,ne,$,I),b=E(w),z!==void 0&&(L=(0,r.getDeepObject)(L,z,b,void 0,O)),z=b,$=!1,I=!1),K=ne,Z=!0,re=!1)):ee===46?A&&(S==="dot"||O)&&P<=U&&(K!==ue&&(w=c(p,K+1,ne,$,I),b=E(w),z!==void 0&&(L=(0,r.getDeepObject)(L,z,b,O)),z=b,$=!1,I=!1),re=!0,Z=!1,K=ne):ee===91?A&&(S==="index"||O)&&P<=U&&(K!==ue&&(w=c(p,K+1,ne,$,I),b=E(w),O&&z!==void 0&&(L=(0,r.getDeepObject)(L,z,b,O)),z=b,$=!1,I=!1,re=!1,Z=!0),K=ne):ee===61?P<=U?P=ne:M=!0:ee===43?P>U?Y=!0:$=!0:ee===37&&(P>U?M=!0:I=!0);ue=ne,Se=ee}return R}m(d,"parse")}),Dp=De(e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.stringify=r;var t=Yi();function r(n,o){if(n===null||typeof n!="object")return"";let i=o??{};return(0,t.stringifyObject)(n,i)}m(r,"stringify")}),oo=De(e=>{"use strict";var t=e&&e.__createBinding||(Object.create?function(i,a,l,u){u===void 0&&(u=l);var c=Object.getOwnPropertyDescriptor(a,l);(!c||("get"in c?!a.__esModule:c.writable||c.configurable))&&(c={enumerable:!0,get:m(function(){return a[l]},"get")}),Object.defineProperty(i,u,c)}:function(i,a,l,u){u===void 0&&(u=l),i[u]=a[l]}),r=e&&e.__exportStar||function(i,a){for(var l in i)l!=="default"&&!Object.prototype.hasOwnProperty.call(a,l)&&t(a,i,l)};Object.defineProperty(e,"__esModule",{value:!0}),e.stringify=e.parse=void 0;var n=Ap();Object.defineProperty(e,"parse",{enumerable:!0,get:m(function(){return n.parse},"get")});var o=Dp();Object.defineProperty(e,"stringify",{enumerable:!0,get:m(function(){return o.stringify},"get")}),r(no(),e)}),Xi=De((e,t)=>{t.exports={Aacute:"\xC1",aacute:"\xE1",Abreve:"\u0102",abreve:"\u0103",ac:"\u223E",acd:"\u223F",acE:"\u223E\u0333",Acirc:"\xC2",acirc:"\xE2",acute:"\xB4",Acy:"\u0410",acy:"\u0430",AElig:"\xC6",aelig:"\xE6",af:"\u2061",Afr:"\u{1D504}",afr:"\u{1D51E}",Agrave:"\xC0",agrave:"\xE0",alefsym:"\u2135",aleph:"\u2135",Alpha:"\u0391",alpha:"\u03B1",Amacr:"\u0100",amacr:"\u0101",amalg:"\u2A3F",amp:"&",AMP:"&",andand:"\u2A55",And:"\u2A53",and:"\u2227",andd:"\u2A5C",andslope:"\u2A58",andv:"\u2A5A",ang:"\u2220",ange:"\u29A4",angle:"\u2220",angmsdaa:"\u29A8",angmsdab:"\u29A9",angmsdac:"\u29AA",angmsdad:"\u29AB",angmsdae:"\u29AC",angmsdaf:"\u29AD",angmsdag:"\u29AE",angmsdah:"\u29AF",angmsd:"\u2221",angrt:"\u221F",angrtvb:"\u22BE",angrtvbd:"\u299D",angsph:"\u2222",angst:"\xC5",angzarr:"\u237C",Aogon:"\u0104",aogon:"\u0105",Aopf:"\u{1D538}",aopf:"\u{1D552}",apacir:"\u2A6F",ap:"\u2248",apE:"\u2A70",ape:"\u224A",apid:"\u224B",apos:"'",ApplyFunction:"\u2061",approx:"\u2248",approxeq:"\u224A",Aring:"\xC5",aring:"\xE5",Ascr:"\u{1D49C}",ascr:"\u{1D4B6}",Assign:"\u2254",ast:"*",asymp:"\u2248",asympeq:"\u224D",Atilde:"\xC3",atilde:"\xE3",Auml:"\xC4",auml:"\xE4",awconint:"\u2233",awint:"\u2A11",backcong:"\u224C",backepsilon:"\u03F6",backprime:"\u2035",backsim:"\u223D",backsimeq:"\u22CD",Backslash:"\u2216",Barv:"\u2AE7",barvee:"\u22BD",barwed:"\u2305",Barwed:"\u2306",barwedge:"\u2305",bbrk:"\u23B5",bbrktbrk:"\u23B6",bcong:"\u224C",Bcy:"\u0411",bcy:"\u0431",bdquo:"\u201E",becaus:"\u2235",because:"\u2235",Because:"\u2235",bemptyv:"\u29B0",bepsi:"\u03F6",bernou:"\u212C",Bernoullis:"\u212C",Beta:"\u0392",beta:"\u03B2",beth:"\u2136",between:"\u226C",Bfr:"\u{1D505}",bfr:"\u{1D51F}",bigcap:"\u22C2",bigcirc:"\u25EF",bigcup:"\u22C3",bigodot:"\u2A00",bigoplus:"\u2A01",bigotimes:"\u2A02",bigsqcup:"\u2A06",bigstar:"\u2605",bigtriangledown:"\u25BD",bigtriangleup:"\u25B3",biguplus:"\u2A04",bigvee:"\u22C1",bigwedge:"\u22C0",bkarow:"\u290D",blacklozenge:"\u29EB",blacksquare:"\u25AA",blacktriangle:"\u25B4",blacktriangledown:"\u25BE",blacktriangleleft:"\u25C2",blacktriangleright:"\u25B8",blank:"\u2423",blk12:"\u2592",blk14:"\u2591",blk34:"\u2593",block:"\u2588",bne:"=\u20E5",bnequiv:"\u2261\u20E5",bNot:"\u2AED",bnot:"\u2310",Bopf:"\u{1D539}",bopf:"\u{1D553}",bot:"\u22A5",bottom:"\u22A5",bowtie:"\u22C8",boxbox:"\u29C9",boxdl:"\u2510",boxdL:"\u2555",boxDl:"\u2556",boxDL:"\u2557",boxdr:"\u250C",boxdR:"\u2552",boxDr:"\u2553",boxDR:"\u2554",boxh:"\u2500",boxH:"\u2550",boxhd:"\u252C",boxHd:"\u2564",boxhD:"\u2565",boxHD:"\u2566",boxhu:"\u2534",boxHu:"\u2567",boxhU:"\u2568",boxHU:"\u2569",boxminus:"\u229F",boxplus:"\u229E",boxtimes:"\u22A0",boxul:"\u2518",boxuL:"\u255B",boxUl:"\u255C",boxUL:"\u255D",boxur:"\u2514",boxuR:"\u2558",boxUr:"\u2559",boxUR:"\u255A",boxv:"\u2502",boxV:"\u2551",boxvh:"\u253C",boxvH:"\u256A",boxVh:"\u256B",boxVH:"\u256C",boxvl:"\u2524",boxvL:"\u2561",boxVl:"\u2562",boxVL:"\u2563",boxvr:"\u251C",boxvR:"\u255E",boxVr:"\u255F",boxVR:"\u2560",bprime:"\u2035",breve:"\u02D8",Breve:"\u02D8",brvbar:"\xA6",bscr:"\u{1D4B7}",Bscr:"\u212C",bsemi:"\u204F",bsim:"\u223D",bsime:"\u22CD",bsolb:"\u29C5",bsol:"\\",bsolhsub:"\u27C8",bull:"\u2022",bullet:"\u2022",bump:"\u224E",bumpE:"\u2AAE",bumpe:"\u224F",Bumpeq:"\u224E",bumpeq:"\u224F",Cacute:"\u0106",cacute:"\u0107",capand:"\u2A44",capbrcup:"\u2A49",capcap:"\u2A4B",cap:"\u2229",Cap:"\u22D2",capcup:"\u2A47",capdot:"\u2A40",CapitalDifferentialD:"\u2145",caps:"\u2229\uFE00",caret:"\u2041",caron:"\u02C7",Cayleys:"\u212D",ccaps:"\u2A4D",Ccaron:"\u010C",ccaron:"\u010D",Ccedil:"\xC7",ccedil:"\xE7",Ccirc:"\u0108",ccirc:"\u0109",Cconint:"\u2230",ccups:"\u2A4C",ccupssm:"\u2A50",Cdot:"\u010A",cdot:"\u010B",cedil:"\xB8",Cedilla:"\xB8",cemptyv:"\u29B2",cent:"\xA2",centerdot:"\xB7",CenterDot:"\xB7",cfr:"\u{1D520}",Cfr:"\u212D",CHcy:"\u0427",chcy:"\u0447",check:"\u2713",checkmark:"\u2713",Chi:"\u03A7",chi:"\u03C7",circ:"\u02C6",circeq:"\u2257",circlearrowleft:"\u21BA",circlearrowright:"\u21BB",circledast:"\u229B",circledcirc:"\u229A",circleddash:"\u229D",CircleDot:"\u2299",circledR:"\xAE",circledS:"\u24C8",CircleMinus:"\u2296",CirclePlus:"\u2295",CircleTimes:"\u2297",cir:"\u25CB",cirE:"\u29C3",cire:"\u2257",cirfnint:"\u2A10",cirmid:"\u2AEF",cirscir:"\u29C2",ClockwiseContourIntegral:"\u2232",CloseCurlyDoubleQuote:"\u201D",CloseCurlyQuote:"\u2019",clubs:"\u2663",clubsuit:"\u2663",colon:":",Colon:"\u2237",Colone:"\u2A74",colone:"\u2254",coloneq:"\u2254",comma:",",commat:"@",comp:"\u2201",compfn:"\u2218",complement:"\u2201",complexes:"\u2102",cong:"\u2245",congdot:"\u2A6D",Congruent:"\u2261",conint:"\u222E",Conint:"\u222F",ContourIntegral:"\u222E",copf:"\u{1D554}",Copf:"\u2102",coprod:"\u2210",Coproduct:"\u2210",copy:"\xA9",COPY:"\xA9",copysr:"\u2117",CounterClockwiseContourIntegral:"\u2233",crarr:"\u21B5",cross:"\u2717",Cross:"\u2A2F",Cscr:"\u{1D49E}",cscr:"\u{1D4B8}",csub:"\u2ACF",csube:"\u2AD1",csup:"\u2AD0",csupe:"\u2AD2",ctdot:"\u22EF",cudarrl:"\u2938",cudarrr:"\u2935",cuepr:"\u22DE",cuesc:"\u22DF",cularr:"\u21B6",cularrp:"\u293D",cupbrcap:"\u2A48",cupcap:"\u2A46",CupCap:"\u224D",cup:"\u222A",Cup:"\u22D3",cupcup:"\u2A4A",cupdot:"\u228D",cupor:"\u2A45",cups:"\u222A\uFE00",curarr:"\u21B7",curarrm:"\u293C",curlyeqprec:"\u22DE",curlyeqsucc:"\u22DF",curlyvee:"\u22CE",curlywedge:"\u22CF",curren:"\xA4",curvearrowleft:"\u21B6",curvearrowright:"\u21B7",cuvee:"\u22CE",cuwed:"\u22CF",cwconint:"\u2232",cwint:"\u2231",cylcty:"\u232D",dagger:"\u2020",Dagger:"\u2021",daleth:"\u2138",darr:"\u2193",Darr:"\u21A1",dArr:"\u21D3",dash:"\u2010",Dashv:"\u2AE4",dashv:"\u22A3",dbkarow:"\u290F",dblac:"\u02DD",Dcaron:"\u010E",dcaron:"\u010F",Dcy:"\u0414",dcy:"\u0434",ddagger:"\u2021",ddarr:"\u21CA",DD:"\u2145",dd:"\u2146",DDotrahd:"\u2911",ddotseq:"\u2A77",deg:"\xB0",Del:"\u2207",Delta:"\u0394",delta:"\u03B4",demptyv:"\u29B1",dfisht:"\u297F",Dfr:"\u{1D507}",dfr:"\u{1D521}",dHar:"\u2965",dharl:"\u21C3",dharr:"\u21C2",DiacriticalAcute:"\xB4",DiacriticalDot:"\u02D9",DiacriticalDoubleAcute:"\u02DD",DiacriticalGrave:"`",DiacriticalTilde:"\u02DC",diam:"\u22C4",diamond:"\u22C4",Diamond:"\u22C4",diamondsuit:"\u2666",diams:"\u2666",die:"\xA8",DifferentialD:"\u2146",digamma:"\u03DD",disin:"\u22F2",div:"\xF7",divide:"\xF7",divideontimes:"\u22C7",divonx:"\u22C7",DJcy:"\u0402",djcy:"\u0452",dlcorn:"\u231E",dlcrop:"\u230D",dollar:"$",Dopf:"\u{1D53B}",dopf:"\u{1D555}",Dot:"\xA8",dot:"\u02D9",DotDot:"\u20DC",doteq:"\u2250",doteqdot:"\u2251",DotEqual:"\u2250",dotminus:"\u2238",dotplus:"\u2214",dotsquare:"\u22A1",doublebarwedge:"\u2306",DoubleContourIntegral:"\u222F",DoubleDot:"\xA8",DoubleDownArrow:"\u21D3",DoubleLeftArrow:"\u21D0",DoubleLeftRightArrow:"\u21D4",DoubleLeftTee:"\u2AE4",DoubleLongLeftArrow:"\u27F8",DoubleLongLeftRightArrow:"\u27FA",DoubleLongRightArrow:"\u27F9",DoubleRightArrow:"\u21D2",DoubleRightTee:"\u22A8",DoubleUpArrow:"\u21D1",DoubleUpDownArrow:"\u21D5",DoubleVerticalBar:"\u2225",DownArrowBar:"\u2913",downarrow:"\u2193",DownArrow:"\u2193",Downarrow:"\u21D3",DownArrowUpArrow:"\u21F5",DownBreve:"\u0311",downdownarrows:"\u21CA",downharpoonleft:"\u21C3",downharpoonright:"\u21C2",DownLeftRightVector:"\u2950",DownLeftTeeVector:"\u295E",DownLeftVectorBar:"\u2956",DownLeftVector:"\u21BD",DownRightTeeVector:"\u295F",DownRightVectorBar:"\u2957",DownRightVector:"\u21C1",DownTeeArrow:"\u21A7",DownTee:"\u22A4",drbkarow:"\u2910",drcorn:"\u231F",drcrop:"\u230C",Dscr:"\u{1D49F}",dscr:"\u{1D4B9}",DScy:"\u0405",dscy:"\u0455",dsol:"\u29F6",Dstrok:"\u0110",dstrok:"\u0111",dtdot:"\u22F1",dtri:"\u25BF",dtrif:"\u25BE",duarr:"\u21F5",duhar:"\u296F",dwangle:"\u29A6",DZcy:"\u040F",dzcy:"\u045F",dzigrarr:"\u27FF",Eacute:"\xC9",eacute:"\xE9",easter:"\u2A6E",Ecaron:"\u011A",ecaron:"\u011B",Ecirc:"\xCA",ecirc:"\xEA",ecir:"\u2256",ecolon:"\u2255",Ecy:"\u042D",ecy:"\u044D",eDDot:"\u2A77",Edot:"\u0116",edot:"\u0117",eDot:"\u2251",ee:"\u2147",efDot:"\u2252",Efr:"\u{1D508}",efr:"\u{1D522}",eg:"\u2A9A",Egrave:"\xC8",egrave:"\xE8",egs:"\u2A96",egsdot:"\u2A98",el:"\u2A99",Element:"\u2208",elinters:"\u23E7",ell:"\u2113",els:"\u2A95",elsdot:"\u2A97",Emacr:"\u0112",emacr:"\u0113",empty:"\u2205",emptyset:"\u2205",EmptySmallSquare:"\u25FB",emptyv:"\u2205",EmptyVerySmallSquare:"\u25AB",emsp13:"\u2004",emsp14:"\u2005",emsp:"\u2003",ENG:"\u014A",eng:"\u014B",ensp:"\u2002",Eogon:"\u0118",eogon:"\u0119",Eopf:"\u{1D53C}",eopf:"\u{1D556}",epar:"\u22D5",eparsl:"\u29E3",eplus:"\u2A71",epsi:"\u03B5",Epsilon:"\u0395",epsilon:"\u03B5",epsiv:"\u03F5",eqcirc:"\u2256",eqcolon:"\u2255",eqsim:"\u2242",eqslantgtr:"\u2A96",eqslantless:"\u2A95",Equal:"\u2A75",equals:"=",EqualTilde:"\u2242",equest:"\u225F",Equilibrium:"\u21CC",equiv:"\u2261",equivDD:"\u2A78",eqvparsl:"\u29E5",erarr:"\u2971",erDot:"\u2253",escr:"\u212F",Escr:"\u2130",esdot:"\u2250",Esim:"\u2A73",esim:"\u2242",Eta:"\u0397",eta:"\u03B7",ETH:"\xD0",eth:"\xF0",Euml:"\xCB",euml:"\xEB",euro:"\u20AC",excl:"!",exist:"\u2203",Exists:"\u2203",expectation:"\u2130",exponentiale:"\u2147",ExponentialE:"\u2147",fallingdotseq:"\u2252",Fcy:"\u0424",fcy:"\u0444",female:"\u2640",ffilig:"\uFB03",fflig:"\uFB00",ffllig:"\uFB04",Ffr:"\u{1D509}",ffr:"\u{1D523}",filig:"\uFB01",FilledSmallSquare:"\u25FC",FilledVerySmallSquare:"\u25AA",fjlig:"fj",flat:"\u266D",fllig:"\uFB02",fltns:"\u25B1",fnof:"\u0192",Fopf:"\u{1D53D}",fopf:"\u{1D557}",forall:"\u2200",ForAll:"\u2200",fork:"\u22D4",forkv:"\u2AD9",Fouriertrf:"\u2131",fpartint:"\u2A0D",frac12:"\xBD",frac13:"\u2153",frac14:"\xBC",frac15:"\u2155",frac16:"\u2159",frac18:"\u215B",frac23:"\u2154",frac25:"\u2156",frac34:"\xBE",frac35:"\u2157",frac38:"\u215C",frac45:"\u2158",frac56:"\u215A",frac58:"\u215D",frac78:"\u215E",frasl:"\u2044",frown:"\u2322",fscr:"\u{1D4BB}",Fscr:"\u2131",gacute:"\u01F5",Gamma:"\u0393",gamma:"\u03B3",Gammad:"\u03DC",gammad:"\u03DD",gap:"\u2A86",Gbreve:"\u011E",gbreve:"\u011F",Gcedil:"\u0122",Gcirc:"\u011C",gcirc:"\u011D",Gcy:"\u0413",gcy:"\u0433",Gdot:"\u0120",gdot:"\u0121",ge:"\u2265",gE:"\u2267",gEl:"\u2A8C",gel:"\u22DB",geq:"\u2265",geqq:"\u2267",geqslant:"\u2A7E",gescc:"\u2AA9",ges:"\u2A7E",gesdot:"\u2A80",gesdoto:"\u2A82",gesdotol:"\u2A84",gesl:"\u22DB\uFE00",gesles:"\u2A94",Gfr:"\u{1D50A}",gfr:"\u{1D524}",gg:"\u226B",Gg:"\u22D9",ggg:"\u22D9",gimel:"\u2137",GJcy:"\u0403",gjcy:"\u0453",gla:"\u2AA5",gl:"\u2277",glE:"\u2A92",glj:"\u2AA4",gnap:"\u2A8A",gnapprox:"\u2A8A",gne:"\u2A88",gnE:"\u2269",gneq:"\u2A88",gneqq:"\u2269",gnsim:"\u22E7",Gopf:"\u{1D53E}",gopf:"\u{1D558}",grave:"`",GreaterEqual:"\u2265",GreaterEqualLess:"\u22DB",GreaterFullEqual:"\u2267",GreaterGreater:"\u2AA2",GreaterLess:"\u2277",GreaterSlantEqual:"\u2A7E",GreaterTilde:"\u2273",Gscr:"\u{1D4A2}",gscr:"\u210A",gsim:"\u2273",gsime:"\u2A8E",gsiml:"\u2A90",gtcc:"\u2AA7",gtcir:"\u2A7A",gt:">",GT:">",Gt:"\u226B",gtdot:"\u22D7",gtlPar:"\u2995",gtquest:"\u2A7C",gtrapprox:"\u2A86",gtrarr:"\u2978",gtrdot:"\u22D7",gtreqless:"\u22DB",gtreqqless:"\u2A8C",gtrless:"\u2277",gtrsim:"\u2273",gvertneqq:"\u2269\uFE00",gvnE:"\u2269\uFE00",Hacek:"\u02C7",hairsp:"\u200A",half:"\xBD",hamilt:"\u210B",HARDcy:"\u042A",hardcy:"\u044A",harrcir:"\u2948",harr:"\u2194",hArr:"\u21D4",harrw:"\u21AD",Hat:"^",hbar:"\u210F",Hcirc:"\u0124",hcirc:"\u0125",hearts:"\u2665",heartsuit:"\u2665",hellip:"\u2026",hercon:"\u22B9",hfr:"\u{1D525}",Hfr:"\u210C",HilbertSpace:"\u210B",hksearow:"\u2925",hkswarow:"\u2926",hoarr:"\u21FF",homtht:"\u223B",hookleftarrow:"\u21A9",hookrightarrow:"\u21AA",hopf:"\u{1D559}",Hopf:"\u210D",horbar:"\u2015",HorizontalLine:"\u2500",hscr:"\u{1D4BD}",Hscr:"\u210B",hslash:"\u210F",Hstrok:"\u0126",hstrok:"\u0127",HumpDownHump:"\u224E",HumpEqual:"\u224F",hybull:"\u2043",hyphen:"\u2010",Iacute:"\xCD",iacute:"\xED",ic:"\u2063",Icirc:"\xCE",icirc:"\xEE",Icy:"\u0418",icy:"\u0438",Idot:"\u0130",IEcy:"\u0415",iecy:"\u0435",iexcl:"\xA1",iff:"\u21D4",ifr:"\u{1D526}",Ifr:"\u2111",Igrave:"\xCC",igrave:"\xEC",ii:"\u2148",iiiint:"\u2A0C",iiint:"\u222D",iinfin:"\u29DC",iiota:"\u2129",IJlig:"\u0132",ijlig:"\u0133",Imacr:"\u012A",imacr:"\u012B",image:"\u2111",ImaginaryI:"\u2148",imagline:"\u2110",imagpart:"\u2111",imath:"\u0131",Im:"\u2111",imof:"\u22B7",imped:"\u01B5",Implies:"\u21D2",incare:"\u2105",in:"\u2208",infin:"\u221E",infintie:"\u29DD",inodot:"\u0131",intcal:"\u22BA",int:"\u222B",Int:"\u222C",integers:"\u2124",Integral:"\u222B",intercal:"\u22BA",Intersection:"\u22C2",intlarhk:"\u2A17",intprod:"\u2A3C",InvisibleComma:"\u2063",InvisibleTimes:"\u2062",IOcy:"\u0401",iocy:"\u0451",Iogon:"\u012E",iogon:"\u012F",Iopf:"\u{1D540}",iopf:"\u{1D55A}",Iota:"\u0399",iota:"\u03B9",iprod:"\u2A3C",iquest:"\xBF",iscr:"\u{1D4BE}",Iscr:"\u2110",isin:"\u2208",isindot:"\u22F5",isinE:"\u22F9",isins:"\u22F4",isinsv:"\u22F3",isinv:"\u2208",it:"\u2062",Itilde:"\u0128",itilde:"\u0129",Iukcy:"\u0406",iukcy:"\u0456",Iuml:"\xCF",iuml:"\xEF",Jcirc:"\u0134",jcirc:"\u0135",Jcy:"\u0419",jcy:"\u0439",Jfr:"\u{1D50D}",jfr:"\u{1D527}",jmath:"\u0237",Jopf:"\u{1D541}",jopf:"\u{1D55B}",Jscr:"\u{1D4A5}",jscr:"\u{1D4BF}",Jsercy:"\u0408",jsercy:"\u0458",Jukcy:"\u0404",jukcy:"\u0454",Kappa:"\u039A",kappa:"\u03BA",kappav:"\u03F0",Kcedil:"\u0136",kcedil:"\u0137",Kcy:"\u041A",kcy:"\u043A",Kfr:"\u{1D50E}",kfr:"\u{1D528}",kgreen:"\u0138",KHcy:"\u0425",khcy:"\u0445",KJcy:"\u040C",kjcy:"\u045C",Kopf:"\u{1D542}",kopf:"\u{1D55C}",Kscr:"\u{1D4A6}",kscr:"\u{1D4C0}",lAarr:"\u21DA",Lacute:"\u0139",lacute:"\u013A",laemptyv:"\u29B4",lagran:"\u2112",Lambda:"\u039B",lambda:"\u03BB",lang:"\u27E8",Lang:"\u27EA",langd:"\u2991",langle:"\u27E8",lap:"\u2A85",Laplacetrf:"\u2112",laquo:"\xAB",larrb:"\u21E4",larrbfs:"\u291F",larr:"\u2190",Larr:"\u219E",lArr:"\u21D0",larrfs:"\u291D",larrhk:"\u21A9",larrlp:"\u21AB",larrpl:"\u2939",larrsim:"\u2973",larrtl:"\u21A2",latail:"\u2919",lAtail:"\u291B",lat:"\u2AAB",late:"\u2AAD",lates:"\u2AAD\uFE00",lbarr:"\u290C",lBarr:"\u290E",lbbrk:"\u2772",lbrace:"{",lbrack:"[",lbrke:"\u298B",lbrksld:"\u298F",lbrkslu:"\u298D",Lcaron:"\u013D",lcaron:"\u013E",Lcedil:"\u013B",lcedil:"\u013C",lceil:"\u2308",lcub:"{",Lcy:"\u041B",lcy:"\u043B",ldca:"\u2936",ldquo:"\u201C",ldquor:"\u201E",ldrdhar:"\u2967",ldrushar:"\u294B",ldsh:"\u21B2",le:"\u2264",lE:"\u2266",LeftAngleBracket:"\u27E8",LeftArrowBar:"\u21E4",leftarrow:"\u2190",LeftArrow:"\u2190",Leftarrow:"\u21D0",LeftArrowRightArrow:"\u21C6",leftarrowtail:"\u21A2",LeftCeiling:"\u2308",LeftDoubleBracket:"\u27E6",LeftDownTeeVector:"\u2961",LeftDownVectorBar:"\u2959",LeftDownVector:"\u21C3",LeftFloor:"\u230A",leftharpoondown:"\u21BD",leftharpoonup:"\u21BC",leftleftarrows:"\u21C7",leftrightarrow:"\u2194",LeftRightArrow:"\u2194",Leftrightarrow:"\u21D4",leftrightarrows:"\u21C6",leftrightharpoons:"\u21CB",leftrightsquigarrow:"\u21AD",LeftRightVector:"\u294E",LeftTeeArrow:"\u21A4",LeftTee:"\u22A3",LeftTeeVector:"\u295A",leftthreetimes:"\u22CB",LeftTriangleBar:"\u29CF",LeftTriangle:"\u22B2",LeftTriangleEqual:"\u22B4",LeftUpDownVector:"\u2951",LeftUpTeeVector:"\u2960",LeftUpVectorBar:"\u2958",LeftUpVector:"\u21BF",LeftVectorBar:"\u2952",LeftVector:"\u21BC",lEg:"\u2A8B",leg:"\u22DA",leq:"\u2264",leqq:"\u2266",leqslant:"\u2A7D",lescc:"\u2AA8",les:"\u2A7D",lesdot:"\u2A7F",lesdoto:"\u2A81",lesdotor:"\u2A83",lesg:"\u22DA\uFE00",lesges:"\u2A93",lessapprox:"\u2A85",lessdot:"\u22D6",lesseqgtr:"\u22DA",lesseqqgtr:"\u2A8B",LessEqualGreater:"\u22DA",LessFullEqual:"\u2266",LessGreater:"\u2276",lessgtr:"\u2276",LessLess:"\u2AA1",lesssim:"\u2272",LessSlantEqual:"\u2A7D",LessTilde:"\u2272",lfisht:"\u297C",lfloor:"\u230A",Lfr:"\u{1D50F}",lfr:"\u{1D529}",lg:"\u2276",lgE:"\u2A91",lHar:"\u2962",lhard:"\u21BD",lharu:"\u21BC",lharul:"\u296A",lhblk:"\u2584",LJcy:"\u0409",ljcy:"\u0459",llarr:"\u21C7",ll:"\u226A",Ll:"\u22D8",llcorner:"\u231E",Lleftarrow:"\u21DA",llhard:"\u296B",lltri:"\u25FA",Lmidot:"\u013F",lmidot:"\u0140",lmoustache:"\u23B0",lmoust:"\u23B0",lnap:"\u2A89",lnapprox:"\u2A89",lne:"\u2A87",lnE:"\u2268",lneq:"\u2A87",lneqq:"\u2268",lnsim:"\u22E6",loang:"\u27EC",loarr:"\u21FD",lobrk:"\u27E6",longleftarrow:"\u27F5",LongLeftArrow:"\u27F5",Longleftarrow:"\u27F8",longleftrightarrow:"\u27F7",LongLeftRightArrow:"\u27F7",Longleftrightarrow:"\u27FA",longmapsto:"\u27FC",longrightarrow:"\u27F6",LongRightArrow:"\u27F6",Longrightarrow:"\u27F9",looparrowleft:"\u21AB",looparrowright:"\u21AC",lopar:"\u2985",Lopf:"\u{1D543}",lopf:"\u{1D55D}",loplus:"\u2A2D",lotimes:"\u2A34",lowast:"\u2217",lowbar:"_",LowerLeftArrow:"\u2199",LowerRightArrow:"\u2198",loz:"\u25CA",lozenge:"\u25CA",lozf:"\u29EB",lpar:"(",lparlt:"\u2993",lrarr:"\u21C6",lrcorner:"\u231F",lrhar:"\u21CB",lrhard:"\u296D",lrm:"\u200E",lrtri:"\u22BF",lsaquo:"\u2039",lscr:"\u{1D4C1}",Lscr:"\u2112",lsh:"\u21B0",Lsh:"\u21B0",lsim:"\u2272",lsime:"\u2A8D",lsimg:"\u2A8F",lsqb:"[",lsquo:"\u2018",lsquor:"\u201A",Lstrok:"\u0141",lstrok:"\u0142",ltcc:"\u2AA6",ltcir:"\u2A79",lt:"<",LT:"<",Lt:"\u226A",ltdot:"\u22D6",lthree:"\u22CB",ltimes:"\u22C9",ltlarr:"\u2976",ltquest:"\u2A7B",ltri:"\u25C3",ltrie:"\u22B4",ltrif:"\u25C2",ltrPar:"\u2996",lurdshar:"\u294A",luruhar:"\u2966",lvertneqq:"\u2268\uFE00",lvnE:"\u2268\uFE00",macr:"\xAF",male:"\u2642",malt:"\u2720",maltese:"\u2720",Map:"\u2905",map:"\u21A6",mapsto:"\u21A6",mapstodown:"\u21A7",mapstoleft:"\u21A4",mapstoup:"\u21A5",marker:"\u25AE",mcomma:"\u2A29",Mcy:"\u041C",mcy:"\u043C",mdash:"\u2014",mDDot:"\u223A",measuredangle:"\u2221",MediumSpace:"\u205F",Mellintrf:"\u2133",Mfr:"\u{1D510}",mfr:"\u{1D52A}",mho:"\u2127",micro:"\xB5",midast:"*",midcir:"\u2AF0",mid:"\u2223",middot:"\xB7",minusb:"\u229F",minus:"\u2212",minusd:"\u2238",minusdu:"\u2A2A",MinusPlus:"\u2213",mlcp:"\u2ADB",mldr:"\u2026",mnplus:"\u2213",models:"\u22A7",Mopf:"\u{1D544}",mopf:"\u{1D55E}",mp:"\u2213",mscr:"\u{1D4C2}",Mscr:"\u2133",mstpos:"\u223E",Mu:"\u039C",mu:"\u03BC",multimap:"\u22B8",mumap:"\u22B8",nabla:"\u2207",Nacute:"\u0143",nacute:"\u0144",nang:"\u2220\u20D2",nap:"\u2249",napE:"\u2A70\u0338",napid:"\u224B\u0338",napos:"\u0149",napprox:"\u2249",natural:"\u266E",naturals:"\u2115",natur:"\u266E",nbsp:"\xA0",nbump:"\u224E\u0338",nbumpe:"\u224F\u0338",ncap:"\u2A43",Ncaron:"\u0147",ncaron:"\u0148",Ncedil:"\u0145",ncedil:"\u0146",ncong:"\u2247",ncongdot:"\u2A6D\u0338",ncup:"\u2A42",Ncy:"\u041D",ncy:"\u043D",ndash:"\u2013",nearhk:"\u2924",nearr:"\u2197",neArr:"\u21D7",nearrow:"\u2197",ne:"\u2260",nedot:"\u2250\u0338",NegativeMediumSpace:"\u200B",NegativeThickSpace:"\u200B",NegativeThinSpace:"\u200B",NegativeVeryThinSpace:"\u200B",nequiv:"\u2262",nesear:"\u2928",nesim:"\u2242\u0338",NestedGreaterGreater:"\u226B",NestedLessLess:"\u226A",NewLine:` -`,nexist:"\u2204",nexists:"\u2204",Nfr:"\u{1D511}",nfr:"\u{1D52B}",ngE:"\u2267\u0338",nge:"\u2271",ngeq:"\u2271",ngeqq:"\u2267\u0338",ngeqslant:"\u2A7E\u0338",nges:"\u2A7E\u0338",nGg:"\u22D9\u0338",ngsim:"\u2275",nGt:"\u226B\u20D2",ngt:"\u226F",ngtr:"\u226F",nGtv:"\u226B\u0338",nharr:"\u21AE",nhArr:"\u21CE",nhpar:"\u2AF2",ni:"\u220B",nis:"\u22FC",nisd:"\u22FA",niv:"\u220B",NJcy:"\u040A",njcy:"\u045A",nlarr:"\u219A",nlArr:"\u21CD",nldr:"\u2025",nlE:"\u2266\u0338",nle:"\u2270",nleftarrow:"\u219A",nLeftarrow:"\u21CD",nleftrightarrow:"\u21AE",nLeftrightarrow:"\u21CE",nleq:"\u2270",nleqq:"\u2266\u0338",nleqslant:"\u2A7D\u0338",nles:"\u2A7D\u0338",nless:"\u226E",nLl:"\u22D8\u0338",nlsim:"\u2274",nLt:"\u226A\u20D2",nlt:"\u226E",nltri:"\u22EA",nltrie:"\u22EC",nLtv:"\u226A\u0338",nmid:"\u2224",NoBreak:"\u2060",NonBreakingSpace:"\xA0",nopf:"\u{1D55F}",Nopf:"\u2115",Not:"\u2AEC",not:"\xAC",NotCongruent:"\u2262",NotCupCap:"\u226D",NotDoubleVerticalBar:"\u2226",NotElement:"\u2209",NotEqual:"\u2260",NotEqualTilde:"\u2242\u0338",NotExists:"\u2204",NotGreater:"\u226F",NotGreaterEqual:"\u2271",NotGreaterFullEqual:"\u2267\u0338",NotGreaterGreater:"\u226B\u0338",NotGreaterLess:"\u2279",NotGreaterSlantEqual:"\u2A7E\u0338",NotGreaterTilde:"\u2275",NotHumpDownHump:"\u224E\u0338",NotHumpEqual:"\u224F\u0338",notin:"\u2209",notindot:"\u22F5\u0338",notinE:"\u22F9\u0338",notinva:"\u2209",notinvb:"\u22F7",notinvc:"\u22F6",NotLeftTriangleBar:"\u29CF\u0338",NotLeftTriangle:"\u22EA",NotLeftTriangleEqual:"\u22EC",NotLess:"\u226E",NotLessEqual:"\u2270",NotLessGreater:"\u2278",NotLessLess:"\u226A\u0338",NotLessSlantEqual:"\u2A7D\u0338",NotLessTilde:"\u2274",NotNestedGreaterGreater:"\u2AA2\u0338",NotNestedLessLess:"\u2AA1\u0338",notni:"\u220C",notniva:"\u220C",notnivb:"\u22FE",notnivc:"\u22FD",NotPrecedes:"\u2280",NotPrecedesEqual:"\u2AAF\u0338",NotPrecedesSlantEqual:"\u22E0",NotReverseElement:"\u220C",NotRightTriangleBar:"\u29D0\u0338",NotRightTriangle:"\u22EB",NotRightTriangleEqual:"\u22ED",NotSquareSubset:"\u228F\u0338",NotSquareSubsetEqual:"\u22E2",NotSquareSuperset:"\u2290\u0338",NotSquareSupersetEqual:"\u22E3",NotSubset:"\u2282\u20D2",NotSubsetEqual:"\u2288",NotSucceeds:"\u2281",NotSucceedsEqual:"\u2AB0\u0338",NotSucceedsSlantEqual:"\u22E1",NotSucceedsTilde:"\u227F\u0338",NotSuperset:"\u2283\u20D2",NotSupersetEqual:"\u2289",NotTilde:"\u2241",NotTildeEqual:"\u2244",NotTildeFullEqual:"\u2247",NotTildeTilde:"\u2249",NotVerticalBar:"\u2224",nparallel:"\u2226",npar:"\u2226",nparsl:"\u2AFD\u20E5",npart:"\u2202\u0338",npolint:"\u2A14",npr:"\u2280",nprcue:"\u22E0",nprec:"\u2280",npreceq:"\u2AAF\u0338",npre:"\u2AAF\u0338",nrarrc:"\u2933\u0338",nrarr:"\u219B",nrArr:"\u21CF",nrarrw:"\u219D\u0338",nrightarrow:"\u219B",nRightarrow:"\u21CF",nrtri:"\u22EB",nrtrie:"\u22ED",nsc:"\u2281",nsccue:"\u22E1",nsce:"\u2AB0\u0338",Nscr:"\u{1D4A9}",nscr:"\u{1D4C3}",nshortmid:"\u2224",nshortparallel:"\u2226",nsim:"\u2241",nsime:"\u2244",nsimeq:"\u2244",nsmid:"\u2224",nspar:"\u2226",nsqsube:"\u22E2",nsqsupe:"\u22E3",nsub:"\u2284",nsubE:"\u2AC5\u0338",nsube:"\u2288",nsubset:"\u2282\u20D2",nsubseteq:"\u2288",nsubseteqq:"\u2AC5\u0338",nsucc:"\u2281",nsucceq:"\u2AB0\u0338",nsup:"\u2285",nsupE:"\u2AC6\u0338",nsupe:"\u2289",nsupset:"\u2283\u20D2",nsupseteq:"\u2289",nsupseteqq:"\u2AC6\u0338",ntgl:"\u2279",Ntilde:"\xD1",ntilde:"\xF1",ntlg:"\u2278",ntriangleleft:"\u22EA",ntrianglelefteq:"\u22EC",ntriangleright:"\u22EB",ntrianglerighteq:"\u22ED",Nu:"\u039D",nu:"\u03BD",num:"#",numero:"\u2116",numsp:"\u2007",nvap:"\u224D\u20D2",nvdash:"\u22AC",nvDash:"\u22AD",nVdash:"\u22AE",nVDash:"\u22AF",nvge:"\u2265\u20D2",nvgt:">\u20D2",nvHarr:"\u2904",nvinfin:"\u29DE",nvlArr:"\u2902",nvle:"\u2264\u20D2",nvlt:"<\u20D2",nvltrie:"\u22B4\u20D2",nvrArr:"\u2903",nvrtrie:"\u22B5\u20D2",nvsim:"\u223C\u20D2",nwarhk:"\u2923",nwarr:"\u2196",nwArr:"\u21D6",nwarrow:"\u2196",nwnear:"\u2927",Oacute:"\xD3",oacute:"\xF3",oast:"\u229B",Ocirc:"\xD4",ocirc:"\xF4",ocir:"\u229A",Ocy:"\u041E",ocy:"\u043E",odash:"\u229D",Odblac:"\u0150",odblac:"\u0151",odiv:"\u2A38",odot:"\u2299",odsold:"\u29BC",OElig:"\u0152",oelig:"\u0153",ofcir:"\u29BF",Ofr:"\u{1D512}",ofr:"\u{1D52C}",ogon:"\u02DB",Ograve:"\xD2",ograve:"\xF2",ogt:"\u29C1",ohbar:"\u29B5",ohm:"\u03A9",oint:"\u222E",olarr:"\u21BA",olcir:"\u29BE",olcross:"\u29BB",oline:"\u203E",olt:"\u29C0",Omacr:"\u014C",omacr:"\u014D",Omega:"\u03A9",omega:"\u03C9",Omicron:"\u039F",omicron:"\u03BF",omid:"\u29B6",ominus:"\u2296",Oopf:"\u{1D546}",oopf:"\u{1D560}",opar:"\u29B7",OpenCurlyDoubleQuote:"\u201C",OpenCurlyQuote:"\u2018",operp:"\u29B9",oplus:"\u2295",orarr:"\u21BB",Or:"\u2A54",or:"\u2228",ord:"\u2A5D",order:"\u2134",orderof:"\u2134",ordf:"\xAA",ordm:"\xBA",origof:"\u22B6",oror:"\u2A56",orslope:"\u2A57",orv:"\u2A5B",oS:"\u24C8",Oscr:"\u{1D4AA}",oscr:"\u2134",Oslash:"\xD8",oslash:"\xF8",osol:"\u2298",Otilde:"\xD5",otilde:"\xF5",otimesas:"\u2A36",Otimes:"\u2A37",otimes:"\u2297",Ouml:"\xD6",ouml:"\xF6",ovbar:"\u233D",OverBar:"\u203E",OverBrace:"\u23DE",OverBracket:"\u23B4",OverParenthesis:"\u23DC",para:"\xB6",parallel:"\u2225",par:"\u2225",parsim:"\u2AF3",parsl:"\u2AFD",part:"\u2202",PartialD:"\u2202",Pcy:"\u041F",pcy:"\u043F",percnt:"%",period:".",permil:"\u2030",perp:"\u22A5",pertenk:"\u2031",Pfr:"\u{1D513}",pfr:"\u{1D52D}",Phi:"\u03A6",phi:"\u03C6",phiv:"\u03D5",phmmat:"\u2133",phone:"\u260E",Pi:"\u03A0",pi:"\u03C0",pitchfork:"\u22D4",piv:"\u03D6",planck:"\u210F",planckh:"\u210E",plankv:"\u210F",plusacir:"\u2A23",plusb:"\u229E",pluscir:"\u2A22",plus:"+",plusdo:"\u2214",plusdu:"\u2A25",pluse:"\u2A72",PlusMinus:"\xB1",plusmn:"\xB1",plussim:"\u2A26",plustwo:"\u2A27",pm:"\xB1",Poincareplane:"\u210C",pointint:"\u2A15",popf:"\u{1D561}",Popf:"\u2119",pound:"\xA3",prap:"\u2AB7",Pr:"\u2ABB",pr:"\u227A",prcue:"\u227C",precapprox:"\u2AB7",prec:"\u227A",preccurlyeq:"\u227C",Precedes:"\u227A",PrecedesEqual:"\u2AAF",PrecedesSlantEqual:"\u227C",PrecedesTilde:"\u227E",preceq:"\u2AAF",precnapprox:"\u2AB9",precneqq:"\u2AB5",precnsim:"\u22E8",pre:"\u2AAF",prE:"\u2AB3",precsim:"\u227E",prime:"\u2032",Prime:"\u2033",primes:"\u2119",prnap:"\u2AB9",prnE:"\u2AB5",prnsim:"\u22E8",prod:"\u220F",Product:"\u220F",profalar:"\u232E",profline:"\u2312",profsurf:"\u2313",prop:"\u221D",Proportional:"\u221D",Proportion:"\u2237",propto:"\u221D",prsim:"\u227E",prurel:"\u22B0",Pscr:"\u{1D4AB}",pscr:"\u{1D4C5}",Psi:"\u03A8",psi:"\u03C8",puncsp:"\u2008",Qfr:"\u{1D514}",qfr:"\u{1D52E}",qint:"\u2A0C",qopf:"\u{1D562}",Qopf:"\u211A",qprime:"\u2057",Qscr:"\u{1D4AC}",qscr:"\u{1D4C6}",quaternions:"\u210D",quatint:"\u2A16",quest:"?",questeq:"\u225F",quot:'"',QUOT:'"',rAarr:"\u21DB",race:"\u223D\u0331",Racute:"\u0154",racute:"\u0155",radic:"\u221A",raemptyv:"\u29B3",rang:"\u27E9",Rang:"\u27EB",rangd:"\u2992",range:"\u29A5",rangle:"\u27E9",raquo:"\xBB",rarrap:"\u2975",rarrb:"\u21E5",rarrbfs:"\u2920",rarrc:"\u2933",rarr:"\u2192",Rarr:"\u21A0",rArr:"\u21D2",rarrfs:"\u291E",rarrhk:"\u21AA",rarrlp:"\u21AC",rarrpl:"\u2945",rarrsim:"\u2974",Rarrtl:"\u2916",rarrtl:"\u21A3",rarrw:"\u219D",ratail:"\u291A",rAtail:"\u291C",ratio:"\u2236",rationals:"\u211A",rbarr:"\u290D",rBarr:"\u290F",RBarr:"\u2910",rbbrk:"\u2773",rbrace:"}",rbrack:"]",rbrke:"\u298C",rbrksld:"\u298E",rbrkslu:"\u2990",Rcaron:"\u0158",rcaron:"\u0159",Rcedil:"\u0156",rcedil:"\u0157",rceil:"\u2309",rcub:"}",Rcy:"\u0420",rcy:"\u0440",rdca:"\u2937",rdldhar:"\u2969",rdquo:"\u201D",rdquor:"\u201D",rdsh:"\u21B3",real:"\u211C",realine:"\u211B",realpart:"\u211C",reals:"\u211D",Re:"\u211C",rect:"\u25AD",reg:"\xAE",REG:"\xAE",ReverseElement:"\u220B",ReverseEquilibrium:"\u21CB",ReverseUpEquilibrium:"\u296F",rfisht:"\u297D",rfloor:"\u230B",rfr:"\u{1D52F}",Rfr:"\u211C",rHar:"\u2964",rhard:"\u21C1",rharu:"\u21C0",rharul:"\u296C",Rho:"\u03A1",rho:"\u03C1",rhov:"\u03F1",RightAngleBracket:"\u27E9",RightArrowBar:"\u21E5",rightarrow:"\u2192",RightArrow:"\u2192",Rightarrow:"\u21D2",RightArrowLeftArrow:"\u21C4",rightarrowtail:"\u21A3",RightCeiling:"\u2309",RightDoubleBracket:"\u27E7",RightDownTeeVector:"\u295D",RightDownVectorBar:"\u2955",RightDownVector:"\u21C2",RightFloor:"\u230B",rightharpoondown:"\u21C1",rightharpoonup:"\u21C0",rightleftarrows:"\u21C4",rightleftharpoons:"\u21CC",rightrightarrows:"\u21C9",rightsquigarrow:"\u219D",RightTeeArrow:"\u21A6",RightTee:"\u22A2",RightTeeVector:"\u295B",rightthreetimes:"\u22CC",RightTriangleBar:"\u29D0",RightTriangle:"\u22B3",RightTriangleEqual:"\u22B5",RightUpDownVector:"\u294F",RightUpTeeVector:"\u295C",RightUpVectorBar:"\u2954",RightUpVector:"\u21BE",RightVectorBar:"\u2953",RightVector:"\u21C0",ring:"\u02DA",risingdotseq:"\u2253",rlarr:"\u21C4",rlhar:"\u21CC",rlm:"\u200F",rmoustache:"\u23B1",rmoust:"\u23B1",rnmid:"\u2AEE",roang:"\u27ED",roarr:"\u21FE",robrk:"\u27E7",ropar:"\u2986",ropf:"\u{1D563}",Ropf:"\u211D",roplus:"\u2A2E",rotimes:"\u2A35",RoundImplies:"\u2970",rpar:")",rpargt:"\u2994",rppolint:"\u2A12",rrarr:"\u21C9",Rrightarrow:"\u21DB",rsaquo:"\u203A",rscr:"\u{1D4C7}",Rscr:"\u211B",rsh:"\u21B1",Rsh:"\u21B1",rsqb:"]",rsquo:"\u2019",rsquor:"\u2019",rthree:"\u22CC",rtimes:"\u22CA",rtri:"\u25B9",rtrie:"\u22B5",rtrif:"\u25B8",rtriltri:"\u29CE",RuleDelayed:"\u29F4",ruluhar:"\u2968",rx:"\u211E",Sacute:"\u015A",sacute:"\u015B",sbquo:"\u201A",scap:"\u2AB8",Scaron:"\u0160",scaron:"\u0161",Sc:"\u2ABC",sc:"\u227B",sccue:"\u227D",sce:"\u2AB0",scE:"\u2AB4",Scedil:"\u015E",scedil:"\u015F",Scirc:"\u015C",scirc:"\u015D",scnap:"\u2ABA",scnE:"\u2AB6",scnsim:"\u22E9",scpolint:"\u2A13",scsim:"\u227F",Scy:"\u0421",scy:"\u0441",sdotb:"\u22A1",sdot:"\u22C5",sdote:"\u2A66",searhk:"\u2925",searr:"\u2198",seArr:"\u21D8",searrow:"\u2198",sect:"\xA7",semi:";",seswar:"\u2929",setminus:"\u2216",setmn:"\u2216",sext:"\u2736",Sfr:"\u{1D516}",sfr:"\u{1D530}",sfrown:"\u2322",sharp:"\u266F",SHCHcy:"\u0429",shchcy:"\u0449",SHcy:"\u0428",shcy:"\u0448",ShortDownArrow:"\u2193",ShortLeftArrow:"\u2190",shortmid:"\u2223",shortparallel:"\u2225",ShortRightArrow:"\u2192",ShortUpArrow:"\u2191",shy:"\xAD",Sigma:"\u03A3",sigma:"\u03C3",sigmaf:"\u03C2",sigmav:"\u03C2",sim:"\u223C",simdot:"\u2A6A",sime:"\u2243",simeq:"\u2243",simg:"\u2A9E",simgE:"\u2AA0",siml:"\u2A9D",simlE:"\u2A9F",simne:"\u2246",simplus:"\u2A24",simrarr:"\u2972",slarr:"\u2190",SmallCircle:"\u2218",smallsetminus:"\u2216",smashp:"\u2A33",smeparsl:"\u29E4",smid:"\u2223",smile:"\u2323",smt:"\u2AAA",smte:"\u2AAC",smtes:"\u2AAC\uFE00",SOFTcy:"\u042C",softcy:"\u044C",solbar:"\u233F",solb:"\u29C4",sol:"/",Sopf:"\u{1D54A}",sopf:"\u{1D564}",spades:"\u2660",spadesuit:"\u2660",spar:"\u2225",sqcap:"\u2293",sqcaps:"\u2293\uFE00",sqcup:"\u2294",sqcups:"\u2294\uFE00",Sqrt:"\u221A",sqsub:"\u228F",sqsube:"\u2291",sqsubset:"\u228F",sqsubseteq:"\u2291",sqsup:"\u2290",sqsupe:"\u2292",sqsupset:"\u2290",sqsupseteq:"\u2292",square:"\u25A1",Square:"\u25A1",SquareIntersection:"\u2293",SquareSubset:"\u228F",SquareSubsetEqual:"\u2291",SquareSuperset:"\u2290",SquareSupersetEqual:"\u2292",SquareUnion:"\u2294",squarf:"\u25AA",squ:"\u25A1",squf:"\u25AA",srarr:"\u2192",Sscr:"\u{1D4AE}",sscr:"\u{1D4C8}",ssetmn:"\u2216",ssmile:"\u2323",sstarf:"\u22C6",Star:"\u22C6",star:"\u2606",starf:"\u2605",straightepsilon:"\u03F5",straightphi:"\u03D5",strns:"\xAF",sub:"\u2282",Sub:"\u22D0",subdot:"\u2ABD",subE:"\u2AC5",sube:"\u2286",subedot:"\u2AC3",submult:"\u2AC1",subnE:"\u2ACB",subne:"\u228A",subplus:"\u2ABF",subrarr:"\u2979",subset:"\u2282",Subset:"\u22D0",subseteq:"\u2286",subseteqq:"\u2AC5",SubsetEqual:"\u2286",subsetneq:"\u228A",subsetneqq:"\u2ACB",subsim:"\u2AC7",subsub:"\u2AD5",subsup:"\u2AD3",succapprox:"\u2AB8",succ:"\u227B",succcurlyeq:"\u227D",Succeeds:"\u227B",SucceedsEqual:"\u2AB0",SucceedsSlantEqual:"\u227D",SucceedsTilde:"\u227F",succeq:"\u2AB0",succnapprox:"\u2ABA",succneqq:"\u2AB6",succnsim:"\u22E9",succsim:"\u227F",SuchThat:"\u220B",sum:"\u2211",Sum:"\u2211",sung:"\u266A",sup1:"\xB9",sup2:"\xB2",sup3:"\xB3",sup:"\u2283",Sup:"\u22D1",supdot:"\u2ABE",supdsub:"\u2AD8",supE:"\u2AC6",supe:"\u2287",supedot:"\u2AC4",Superset:"\u2283",SupersetEqual:"\u2287",suphsol:"\u27C9",suphsub:"\u2AD7",suplarr:"\u297B",supmult:"\u2AC2",supnE:"\u2ACC",supne:"\u228B",supplus:"\u2AC0",supset:"\u2283",Supset:"\u22D1",supseteq:"\u2287",supseteqq:"\u2AC6",supsetneq:"\u228B",supsetneqq:"\u2ACC",supsim:"\u2AC8",supsub:"\u2AD4",supsup:"\u2AD6",swarhk:"\u2926",swarr:"\u2199",swArr:"\u21D9",swarrow:"\u2199",swnwar:"\u292A",szlig:"\xDF",Tab:" ",target:"\u2316",Tau:"\u03A4",tau:"\u03C4",tbrk:"\u23B4",Tcaron:"\u0164",tcaron:"\u0165",Tcedil:"\u0162",tcedil:"\u0163",Tcy:"\u0422",tcy:"\u0442",tdot:"\u20DB",telrec:"\u2315",Tfr:"\u{1D517}",tfr:"\u{1D531}",there4:"\u2234",therefore:"\u2234",Therefore:"\u2234",Theta:"\u0398",theta:"\u03B8",thetasym:"\u03D1",thetav:"\u03D1",thickapprox:"\u2248",thicksim:"\u223C",ThickSpace:"\u205F\u200A",ThinSpace:"\u2009",thinsp:"\u2009",thkap:"\u2248",thksim:"\u223C",THORN:"\xDE",thorn:"\xFE",tilde:"\u02DC",Tilde:"\u223C",TildeEqual:"\u2243",TildeFullEqual:"\u2245",TildeTilde:"\u2248",timesbar:"\u2A31",timesb:"\u22A0",times:"\xD7",timesd:"\u2A30",tint:"\u222D",toea:"\u2928",topbot:"\u2336",topcir:"\u2AF1",top:"\u22A4",Topf:"\u{1D54B}",topf:"\u{1D565}",topfork:"\u2ADA",tosa:"\u2929",tprime:"\u2034",trade:"\u2122",TRADE:"\u2122",triangle:"\u25B5",triangledown:"\u25BF",triangleleft:"\u25C3",trianglelefteq:"\u22B4",triangleq:"\u225C",triangleright:"\u25B9",trianglerighteq:"\u22B5",tridot:"\u25EC",trie:"\u225C",triminus:"\u2A3A",TripleDot:"\u20DB",triplus:"\u2A39",trisb:"\u29CD",tritime:"\u2A3B",trpezium:"\u23E2",Tscr:"\u{1D4AF}",tscr:"\u{1D4C9}",TScy:"\u0426",tscy:"\u0446",TSHcy:"\u040B",tshcy:"\u045B",Tstrok:"\u0166",tstrok:"\u0167",twixt:"\u226C",twoheadleftarrow:"\u219E",twoheadrightarrow:"\u21A0",Uacute:"\xDA",uacute:"\xFA",uarr:"\u2191",Uarr:"\u219F",uArr:"\u21D1",Uarrocir:"\u2949",Ubrcy:"\u040E",ubrcy:"\u045E",Ubreve:"\u016C",ubreve:"\u016D",Ucirc:"\xDB",ucirc:"\xFB",Ucy:"\u0423",ucy:"\u0443",udarr:"\u21C5",Udblac:"\u0170",udblac:"\u0171",udhar:"\u296E",ufisht:"\u297E",Ufr:"\u{1D518}",ufr:"\u{1D532}",Ugrave:"\xD9",ugrave:"\xF9",uHar:"\u2963",uharl:"\u21BF",uharr:"\u21BE",uhblk:"\u2580",ulcorn:"\u231C",ulcorner:"\u231C",ulcrop:"\u230F",ultri:"\u25F8",Umacr:"\u016A",umacr:"\u016B",uml:"\xA8",UnderBar:"_",UnderBrace:"\u23DF",UnderBracket:"\u23B5",UnderParenthesis:"\u23DD",Union:"\u22C3",UnionPlus:"\u228E",Uogon:"\u0172",uogon:"\u0173",Uopf:"\u{1D54C}",uopf:"\u{1D566}",UpArrowBar:"\u2912",uparrow:"\u2191",UpArrow:"\u2191",Uparrow:"\u21D1",UpArrowDownArrow:"\u21C5",updownarrow:"\u2195",UpDownArrow:"\u2195",Updownarrow:"\u21D5",UpEquilibrium:"\u296E",upharpoonleft:"\u21BF",upharpoonright:"\u21BE",uplus:"\u228E",UpperLeftArrow:"\u2196",UpperRightArrow:"\u2197",upsi:"\u03C5",Upsi:"\u03D2",upsih:"\u03D2",Upsilon:"\u03A5",upsilon:"\u03C5",UpTeeArrow:"\u21A5",UpTee:"\u22A5",upuparrows:"\u21C8",urcorn:"\u231D",urcorner:"\u231D",urcrop:"\u230E",Uring:"\u016E",uring:"\u016F",urtri:"\u25F9",Uscr:"\u{1D4B0}",uscr:"\u{1D4CA}",utdot:"\u22F0",Utilde:"\u0168",utilde:"\u0169",utri:"\u25B5",utrif:"\u25B4",uuarr:"\u21C8",Uuml:"\xDC",uuml:"\xFC",uwangle:"\u29A7",vangrt:"\u299C",varepsilon:"\u03F5",varkappa:"\u03F0",varnothing:"\u2205",varphi:"\u03D5",varpi:"\u03D6",varpropto:"\u221D",varr:"\u2195",vArr:"\u21D5",varrho:"\u03F1",varsigma:"\u03C2",varsubsetneq:"\u228A\uFE00",varsubsetneqq:"\u2ACB\uFE00",varsupsetneq:"\u228B\uFE00",varsupsetneqq:"\u2ACC\uFE00",vartheta:"\u03D1",vartriangleleft:"\u22B2",vartriangleright:"\u22B3",vBar:"\u2AE8",Vbar:"\u2AEB",vBarv:"\u2AE9",Vcy:"\u0412",vcy:"\u0432",vdash:"\u22A2",vDash:"\u22A8",Vdash:"\u22A9",VDash:"\u22AB",Vdashl:"\u2AE6",veebar:"\u22BB",vee:"\u2228",Vee:"\u22C1",veeeq:"\u225A",vellip:"\u22EE",verbar:"|",Verbar:"\u2016",vert:"|",Vert:"\u2016",VerticalBar:"\u2223",VerticalLine:"|",VerticalSeparator:"\u2758",VerticalTilde:"\u2240",VeryThinSpace:"\u200A",Vfr:"\u{1D519}",vfr:"\u{1D533}",vltri:"\u22B2",vnsub:"\u2282\u20D2",vnsup:"\u2283\u20D2",Vopf:"\u{1D54D}",vopf:"\u{1D567}",vprop:"\u221D",vrtri:"\u22B3",Vscr:"\u{1D4B1}",vscr:"\u{1D4CB}",vsubnE:"\u2ACB\uFE00",vsubne:"\u228A\uFE00",vsupnE:"\u2ACC\uFE00",vsupne:"\u228B\uFE00",Vvdash:"\u22AA",vzigzag:"\u299A",Wcirc:"\u0174",wcirc:"\u0175",wedbar:"\u2A5F",wedge:"\u2227",Wedge:"\u22C0",wedgeq:"\u2259",weierp:"\u2118",Wfr:"\u{1D51A}",wfr:"\u{1D534}",Wopf:"\u{1D54E}",wopf:"\u{1D568}",wp:"\u2118",wr:"\u2240",wreath:"\u2240",Wscr:"\u{1D4B2}",wscr:"\u{1D4CC}",xcap:"\u22C2",xcirc:"\u25EF",xcup:"\u22C3",xdtri:"\u25BD",Xfr:"\u{1D51B}",xfr:"\u{1D535}",xharr:"\u27F7",xhArr:"\u27FA",Xi:"\u039E",xi:"\u03BE",xlarr:"\u27F5",xlArr:"\u27F8",xmap:"\u27FC",xnis:"\u22FB",xodot:"\u2A00",Xopf:"\u{1D54F}",xopf:"\u{1D569}",xoplus:"\u2A01",xotime:"\u2A02",xrarr:"\u27F6",xrArr:"\u27F9",Xscr:"\u{1D4B3}",xscr:"\u{1D4CD}",xsqcup:"\u2A06",xuplus:"\u2A04",xutri:"\u25B3",xvee:"\u22C1",xwedge:"\u22C0",Yacute:"\xDD",yacute:"\xFD",YAcy:"\u042F",yacy:"\u044F",Ycirc:"\u0176",ycirc:"\u0177",Ycy:"\u042B",ycy:"\u044B",yen:"\xA5",Yfr:"\u{1D51C}",yfr:"\u{1D536}",YIcy:"\u0407",yicy:"\u0457",Yopf:"\u{1D550}",yopf:"\u{1D56A}",Yscr:"\u{1D4B4}",yscr:"\u{1D4CE}",YUcy:"\u042E",yucy:"\u044E",yuml:"\xFF",Yuml:"\u0178",Zacute:"\u0179",zacute:"\u017A",Zcaron:"\u017D",zcaron:"\u017E",Zcy:"\u0417",zcy:"\u0437",Zdot:"\u017B",zdot:"\u017C",zeetrf:"\u2128",ZeroWidthSpace:"\u200B",Zeta:"\u0396",zeta:"\u03B6",zfr:"\u{1D537}",Zfr:"\u2128",ZHcy:"\u0416",zhcy:"\u0436",zigrarr:"\u21DD",zopf:"\u{1D56B}",Zopf:"\u2124",Zscr:"\u{1D4B5}",zscr:"\u{1D4CF}",zwj:"\u200D",zwnj:"\u200C"}}),Sp=De((e,t)=>{t.exports={Aacute:"\xC1",aacute:"\xE1",Acirc:"\xC2",acirc:"\xE2",acute:"\xB4",AElig:"\xC6",aelig:"\xE6",Agrave:"\xC0",agrave:"\xE0",amp:"&",AMP:"&",Aring:"\xC5",aring:"\xE5",Atilde:"\xC3",atilde:"\xE3",Auml:"\xC4",auml:"\xE4",brvbar:"\xA6",Ccedil:"\xC7",ccedil:"\xE7",cedil:"\xB8",cent:"\xA2",copy:"\xA9",COPY:"\xA9",curren:"\xA4",deg:"\xB0",divide:"\xF7",Eacute:"\xC9",eacute:"\xE9",Ecirc:"\xCA",ecirc:"\xEA",Egrave:"\xC8",egrave:"\xE8",ETH:"\xD0",eth:"\xF0",Euml:"\xCB",euml:"\xEB",frac12:"\xBD",frac14:"\xBC",frac34:"\xBE",gt:">",GT:">",Iacute:"\xCD",iacute:"\xED",Icirc:"\xCE",icirc:"\xEE",iexcl:"\xA1",Igrave:"\xCC",igrave:"\xEC",iquest:"\xBF",Iuml:"\xCF",iuml:"\xEF",laquo:"\xAB",lt:"<",LT:"<",macr:"\xAF",micro:"\xB5",middot:"\xB7",nbsp:"\xA0",not:"\xAC",Ntilde:"\xD1",ntilde:"\xF1",Oacute:"\xD3",oacute:"\xF3",Ocirc:"\xD4",ocirc:"\xF4",Ograve:"\xD2",ograve:"\xF2",ordf:"\xAA",ordm:"\xBA",Oslash:"\xD8",oslash:"\xF8",Otilde:"\xD5",otilde:"\xF5",Ouml:"\xD6",ouml:"\xF6",para:"\xB6",plusmn:"\xB1",pound:"\xA3",quot:'"',QUOT:'"',raquo:"\xBB",reg:"\xAE",REG:"\xAE",sect:"\xA7",shy:"\xAD",sup1:"\xB9",sup2:"\xB2",sup3:"\xB3",szlig:"\xDF",THORN:"\xDE",thorn:"\xFE",times:"\xD7",Uacute:"\xDA",uacute:"\xFA",Ucirc:"\xDB",ucirc:"\xFB",Ugrave:"\xD9",ugrave:"\xF9",uml:"\xA8",Uuml:"\xDC",uuml:"\xFC",Yacute:"\xDD",yacute:"\xFD",yen:"\xA5",yuml:"\xFF"}}),Qi=De((e,t)=>{t.exports={amp:"&",apos:"'",gt:">",lt:"<",quot:'"'}}),wp=De((e,t)=>{t.exports={0:65533,128:8364,130:8218,131:402,132:8222,133:8230,134:8224,135:8225,136:710,137:8240,138:352,139:8249,140:338,142:381,145:8216,146:8217,147:8220,148:8221,149:8226,150:8211,151:8212,152:732,153:8482,154:353,155:8250,156:339,158:382,159:376}}),Cp=De(e=>{"use strict";var t=e&&e.__importDefault||function(i){return i&&i.__esModule?i:{default:i}};Object.defineProperty(e,"__esModule",{value:!0});var r=t(wp()),n=String.fromCodePoint||function(i){var a="";return i>65535&&(i-=65536,a+=String.fromCharCode(i>>>10&1023|55296),i=56320|i&1023),a+=String.fromCharCode(i),a};function o(i){return i>=55296&&i<=57343||i>1114111?"\uFFFD":(i in r.default&&(i=r.default[i]),n(i))}m(o,"decodeCodePoint"),e.default=o}),_i=De(e=>{"use strict";var t=e&&e.__importDefault||function(d){return d&&d.__esModule?d:{default:d}};Object.defineProperty(e,"__esModule",{value:!0}),e.decodeHTML=e.decodeHTMLStrict=e.decodeXML=void 0;var r=t(Xi()),n=t(Sp()),o=t(Qi()),i=t(Cp()),a=/&(?:[a-zA-Z0-9]+|#[xX][\da-fA-F]+|#\d+);/g;e.decodeXML=l(o.default),e.decodeHTMLStrict=l(r.default);function l(d){var p=c(d);return function(h){return String(h).replace(a,p)}}m(l,"getStrictDecoder");var u=m(function(d,p){return d{"use strict";var t=e&&e.__importDefault||function(S){return S&&S.__esModule?S:{default:S}};Object.defineProperty(e,"__esModule",{value:!0}),e.escapeUTF8=e.escape=e.encodeNonAsciiHTML=e.encodeHTML=e.encodeXML=void 0;var r=t(Qi()),n=u(r.default),o=c(n);e.encodeXML=D(n);var i=t(Xi()),a=u(i.default),l=c(a);e.encodeHTML=y(a,l),e.encodeNonAsciiHTML=D(a);function u(S){return Object.keys(S).sort().reduce(function(F,x){return F[S[x]]="&"+x+";",F},{})}m(u,"getInverseObj");function c(S){for(var F=[],x=[],O=0,R=Object.keys(S);O1?p(S):S.charCodeAt(0)).toString(16).toUpperCase()+";"}m(h,"singleCharReplacer");function y(S,F){return function(x){return x.replace(F,function(O){return S[O]}).replace(d,h)}}m(y,"getInverse");var E=new RegExp(o.source+"|"+d.source,"g");function v(S){return S.replace(E,h)}m(v,"escape"),e.escape=v;function A(S){return S.replace(o,h)}m(A,"escapeUTF8"),e.escapeUTF8=A;function D(S){return function(F){return F.replace(E,function(x){return S[x]||h(x)})}}m(D,"getASCIIEncoder")}),xp=De(e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.decodeXMLStrict=e.decodeHTML5Strict=e.decodeHTML4Strict=e.decodeHTML5=e.decodeHTML4=e.decodeHTMLStrict=e.decodeHTML=e.decodeXML=e.encodeHTML5=e.encodeHTML4=e.escapeUTF8=e.escape=e.encodeNonAsciiHTML=e.encodeHTML=e.encodeXML=e.encode=e.decodeStrict=e.decode=void 0;var t=_i(),r=Pi();function n(u,c){return(!c||c<=0?t.decodeXML:t.decodeHTML)(u)}m(n,"decode"),e.decode=n;function o(u,c){return(!c||c<=0?t.decodeXML:t.decodeHTMLStrict)(u)}m(o,"decodeStrict"),e.decodeStrict=o;function i(u,c){return(!c||c<=0?r.encodeXML:r.encodeHTML)(u)}m(i,"encode"),e.encode=i;var a=Pi();Object.defineProperty(e,"encodeXML",{enumerable:!0,get:m(function(){return a.encodeXML},"get")}),Object.defineProperty(e,"encodeHTML",{enumerable:!0,get:m(function(){return a.encodeHTML},"get")}),Object.defineProperty(e,"encodeNonAsciiHTML",{enumerable:!0,get:m(function(){return a.encodeNonAsciiHTML},"get")}),Object.defineProperty(e,"escape",{enumerable:!0,get:m(function(){return a.escape},"get")}),Object.defineProperty(e,"escapeUTF8",{enumerable:!0,get:m(function(){return a.escapeUTF8},"get")}),Object.defineProperty(e,"encodeHTML4",{enumerable:!0,get:m(function(){return a.encodeHTML},"get")}),Object.defineProperty(e,"encodeHTML5",{enumerable:!0,get:m(function(){return a.encodeHTML},"get")});var l=_i();Object.defineProperty(e,"decodeXML",{enumerable:!0,get:m(function(){return l.decodeXML},"get")}),Object.defineProperty(e,"decodeHTML",{enumerable:!0,get:m(function(){return l.decodeHTML},"get")}),Object.defineProperty(e,"decodeHTMLStrict",{enumerable:!0,get:m(function(){return l.decodeHTMLStrict},"get")}),Object.defineProperty(e,"decodeHTML4",{enumerable:!0,get:m(function(){return l.decodeHTML},"get")}),Object.defineProperty(e,"decodeHTML5",{enumerable:!0,get:m(function(){return l.decodeHTML},"get")}),Object.defineProperty(e,"decodeHTML4Strict",{enumerable:!0,get:m(function(){return l.decodeHTMLStrict},"get")}),Object.defineProperty(e,"decodeHTML5Strict",{enumerable:!0,get:m(function(){return l.decodeHTMLStrict},"get")}),Object.defineProperty(e,"decodeXMLStrict",{enumerable:!0,get:m(function(){return l.decodeXML},"get")})}),Tp=De((e,t)=>{"use strict";function r(b,w){if(!(b instanceof w))throw new TypeError("Cannot call a class as a function")}m(r,"_classCallCheck");function n(b,w){for(var I=0;I=b.length?{done:!0}:{done:!1,value:b[M++]}},"n"),e:m(function(X){throw X},"e"),f:$}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. -In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var Y=!0,re=!1,Z;return{s:m(function(){I=I.call(b)},"s"),n:m(function(){var X=I.next();return Y=X.done,X},"n"),e:m(function(X){re=!0,Z=X},"e"),f:m(function(){try{!Y&&I.return!=null&&I.return()}finally{if(re)throw Z}},"f")}}m(i,"_createForOfIteratorHelper");function a(b,w){if(b){if(typeof b=="string")return l(b,w);var I=Object.prototype.toString.call(b).slice(8,-1);if(I==="Object"&&b.constructor&&(I=b.constructor.name),I==="Map"||I==="Set")return Array.from(b);if(I==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(I))return l(b,w)}}m(a,"_unsupportedIterableToArray");function l(b,w){(w==null||w>b.length)&&(w=b.length);for(var I=0,M=new Array(w);I0?b*40+55:0,re=w>0?w*40+55:0,Z=I>0?I*40+55:0;M[$]=y([Y,re,Z])}m(p,"setStyleColor");function h(b){for(var w=b.toString(16);w.length<2;)w="0"+w;return w}m(h,"toHexString");function y(b){var w=[],I=i(b),M;try{for(I.s();!(M=I.n()).done;){var $=M.value;w.push(h($))}}catch(Y){I.e(Y)}finally{I.f()}return"#"+w.join("")}m(y,"toColorHexString");function E(b,w,I,M){var $;return w==="text"?$=O(I,M):w==="display"?$=A(b,I,M):w==="xterm256Foreground"?$=j(b,M.colors[I]):w==="xterm256Background"?$=U(b,M.colors[I]):w==="rgb"&&($=v(b,I)),$}m(E,"generateOutput");function v(b,w){w=w.substring(2).slice(0,-1);var I=+w.substr(0,2),M=w.substring(5).split(";"),$=M.map(function(Y){return("0"+Number(Y).toString(16)).substr(-2)}).join("");return N(b,(I===38?"color:#":"background-color:#")+$)}m(v,"handleRgb");function A(b,w,I){w=parseInt(w,10);var M={"-1":m(function(){return"
"},"_"),0:m(function(){return b.length&&D(b)},"_"),1:m(function(){return R(b,"b")},"_"),3:m(function(){return R(b,"i")},"_"),4:m(function(){return R(b,"u")},"_"),8:m(function(){return N(b,"display:none")},"_"),9:m(function(){return R(b,"strike")},"_"),22:m(function(){return N(b,"font-weight:normal;text-decoration:none;font-style:normal")},"_"),23:m(function(){return P(b,"i")},"_"),24:m(function(){return P(b,"u")},"_"),39:m(function(){return j(b,I.fg)},"_"),49:m(function(){return U(b,I.bg)},"_"),53:m(function(){return N(b,"text-decoration:overline")},"_")},$;return M[w]?$=M[w]():4"}).join("")}m(D,"resetStyles");function S(b,w){for(var I=[],M=b;M<=w;M++)I.push(M);return I}m(S,"range");function F(b){return function(w){return(b===null||w.category!==b)&&b!=="all"}}m(F,"notCategory");function x(b){b=parseInt(b,10);var w=null;return b===0?w="all":b===1?w="bold":2")}m(R,"pushTag");function N(b,w){return R(b,"span",w)}m(N,"pushStyle");function j(b,w){return R(b,"span","color:"+w)}m(j,"pushForegroundColor");function U(b,w){return R(b,"span","background-color:"+w)}m(U,"pushBackgroundColor");function P(b,w){var I;if(b.slice(-1)[0]===w&&(I=b.pop()),I)return""}m(P,"closeTag");function K(b,w,I){var M=!1,$=3;function Y(){return""}m(Y,"remove");function re(Fe,Te){return I("xterm256Foreground",Te),""}m(re,"removeXterm256Foreground");function Z(Fe,Te){return I("xterm256Background",Te),""}m(Z,"removeXterm256Background");function X(Fe){return w.newline?I("display",-1):I("text",Fe),""}m(X,"newline");function ee(Fe,Te){M=!0,Te.trim().length===0&&(Te="0"),Te=Te.trimRight(";").split(";");var Xe=i(Te),xt;try{for(Xe.s();!(xt=Xe.n()).done;){var Er=xt.value;I("display",Er)}}catch(pn){Xe.e(pn)}finally{Xe.f()}return""}m(ee,"ansiMess");function ge(Fe){return I("text",Fe),""}m(ge,"realText");function ue(Fe){return I("rgb",Fe),""}m(ue,"rgb");var Se=[{pattern:/^\x08+/,sub:Y},{pattern:/^\x1b\[[012]?K/,sub:Y},{pattern:/^\x1b\[\(B/,sub:Y},{pattern:/^\x1b\[[34]8;2;\d+;\d+;\d+m/,sub:ue},{pattern:/^\x1b\[38;5;(\d+)m/,sub:re},{pattern:/^\x1b\[48;5;(\d+)m/,sub:Z},{pattern:/^\n/,sub:X},{pattern:/^\r+\n/,sub:X},{pattern:/^\r/,sub:X},{pattern:/^\x1b\[((?:\d{1,3};?)+|)m/,sub:ee},{pattern:/^\x1b\[\d?J/,sub:Y},{pattern:/^\x1b\[\d{0,3};\d{0,3}f/,sub:Y},{pattern:/^\x1b\[?[\d;]{0,3}/,sub:Y},{pattern:/^(([^\x1b\x08\r\n])+)/,sub:ge}];function ne(Fe,Te){Te>$&&M||(M=!1,b=b.replace(Fe.pattern,Fe.sub))}m(ne,"process");var je=[],Re=b,Je=Re.length;e:for(;Je>0;){for(var Ht=0,Ct=0,zt=Se.length;Ct{let e;return typeof window<"u"?e=window:typeof globalThis<"u"?e=globalThis:typeof window<"u"?e=window:typeof self<"u"?e=self:e={},e})();function Zi(){let e={setHandler:m(()=>{},"setHandler"),send:m(()=>{},"send")};return new Tr({transport:e})}m(Zi,"mockChannel");var es=class{constructor(){this.getChannel=m(()=>{if(!this.channel){let t=Zi();return this.setChannel(t),t}return this.channel},"getChannel"),this.ready=m(()=>this.promise,"ready"),this.hasChannel=m(()=>!!this.channel,"hasChannel"),this.setChannel=m(t=>{this.channel=t,this.resolve()},"setChannel"),this.promise=new Promise(t=>{this.resolve=()=>t(this.getChannel())})}};m(es,"AddonStore");var Fp=es,Bn="__STORYBOOK_ADDONS_PREVIEW";function ts(){return Ee[Bn]||(Ee[Bn]=new Fp),Ee[Bn]}m(ts,"getAddonsStore");var bt=ts();function Ip(e){return e}m(Ip,"definePreview");var rs=class{constructor(){this.hookListsMap=void 0,this.mountedDecorators=void 0,this.prevMountedDecorators=void 0,this.currentHooks=void 0,this.nextHookIndex=void 0,this.currentPhase=void 0,this.currentEffects=void 0,this.prevEffects=void 0,this.currentDecoratorName=void 0,this.hasUpdates=void 0,this.currentContext=void 0,this.renderListener=m(t=>{t===this.currentContext?.id&&(this.triggerEffects(),this.currentContext=null,this.removeRenderListeners())},"renderListener"),this.init()}init(){this.hookListsMap=new WeakMap,this.mountedDecorators=new Set,this.prevMountedDecorators=new Set,this.currentHooks=[],this.nextHookIndex=0,this.currentPhase="NONE",this.currentEffects=[],this.prevEffects=[],this.currentDecoratorName=null,this.hasUpdates=!1,this.currentContext=null}clean(){this.prevEffects.forEach(t=>{t.destroy&&t.destroy()}),this.init(),this.removeRenderListeners()}getNextHook(){let t=this.currentHooks[this.nextHookIndex];return this.nextHookIndex+=1,t}triggerEffects(){this.prevEffects.forEach(t=>{!this.currentEffects.includes(t)&&t.destroy&&t.destroy()}),this.currentEffects.forEach(t=>{this.prevEffects.includes(t)||(t.destroy=t.create())}),this.prevEffects=this.currentEffects,this.currentEffects=[]}addRenderListeners(){this.removeRenderListeners(),bt.getChannel().on(er,this.renderListener)}removeRenderListeners(){bt.getChannel().removeListener(er,this.renderListener)}};m(rs,"HooksContext");var ns=rs;function qn(e){let t=m((...r)=>{let{hooks:n}=typeof r[0]=="function"?r[1]:r[0],o=n.currentPhase,i=n.currentHooks,a=n.nextHookIndex,l=n.currentDecoratorName;n.currentDecoratorName=e.name,n.prevMountedDecorators.has(e)?(n.currentPhase="UPDATE",n.currentHooks=n.hookListsMap.get(e)||[]):(n.currentPhase="MOUNT",n.currentHooks=[],n.hookListsMap.set(e,n.currentHooks),n.prevMountedDecorators.add(e)),n.nextHookIndex=0;let u=Ee.STORYBOOK_HOOKS_CONTEXT;Ee.STORYBOOK_HOOKS_CONTEXT=n;let c=e(...r);if(Ee.STORYBOOK_HOOKS_CONTEXT=u,n.currentPhase==="UPDATE"&&n.getNextHook()!=null)throw new Error("Rendered fewer hooks than expected. This may be caused by an accidental early return statement.");return n.currentPhase=o,n.currentHooks=i,n.nextHookIndex=a,n.currentDecoratorName=l,c},"hookified");return t.originalFn=e,t}m(qn,"hookify");var Nn=0,kp=25,Rp=m(e=>(t,r)=>{let n=e(qn(t),r.map(o=>qn(o)));return o=>{let{hooks:i}=o;i.prevMountedDecorators??=new Set,i.mountedDecorators=new Set([t,...r]),i.currentContext=o,i.hasUpdates=!1;let a=n(o);for(Nn=1;i.hasUpdates;)if(i.hasUpdates=!1,i.currentEffects=[],a=n(o),Nn+=1,Nn>kp)throw new Error("Too many re-renders. Storybook limits the number of renders to prevent an infinite loop.");return i.addRenderListeners(),a}},"applyHooks"),Op=m((e,t)=>e.length===t.length&&e.every((r,n)=>r===t[n]),"areDepsEqual"),ao=m(()=>new Error("Storybook preview hooks can only be called inside decorators and story functions."),"invalidHooksError");function io(){return Ee.STORYBOOK_HOOKS_CONTEXT||null}m(io,"getHooksContextOrNull");function Ur(){let e=io();if(e==null)throw ao();return e}m(Ur,"getHooksContextOrThrow");function os(e,t,r){let n=Ur();if(n.currentPhase==="MOUNT"){r!=null&&!Array.isArray(r)&&Q.warn(`${e} received a final argument that is not an array (instead, received ${r}). When specified, the final argument must be an array.`);let o={name:e,deps:r};return n.currentHooks.push(o),t(o),o}if(n.currentPhase==="UPDATE"){let o=n.getNextHook();if(o==null)throw new Error("Rendered more hooks than during the previous render.");return o.name!==e&&Q.warn(`Storybook has detected a change in the order of Hooks${n.currentDecoratorName?` called by ${n.currentDecoratorName}`:""}. This will lead to bugs and errors if not fixed.`),r!=null&&o.deps==null&&Q.warn(`${e} received a final argument during this render, but not during the previous render. Even though the final argument is optional, its type cannot change between renders.`),r!=null&&o.deps!=null&&r.length!==o.deps.length&&Q.warn(`The final argument passed to ${e} changed size between renders. The order and size of this array must remain constant. -Previous: ${o.deps} -Incoming: ${r}`),(r==null||o.deps==null||!Op(r,o.deps))&&(t(o),o.deps=r),o}throw ao()}m(os,"useHook");function ar(e,t,r){let{memoizedState:n}=os(e,o=>{o.memoizedState=t()},r);return n}m(ar,"useMemoLike");function _p(e,t){return ar("useMemo",e,t)}m(_p,"useMemo");function or(e,t){return ar("useCallback",()=>e,t)}m(or,"useCallback");function so(e,t){return ar(e,()=>({current:t}),[])}m(so,"useRefLike");function Pp(e){return so("useRef",e)}m(Pp,"useRef");function as(){let e=io();if(e!=null&&e.currentPhase!=="NONE")e.hasUpdates=!0;else try{bt.getChannel().emit(Ir)}catch{Q.warn("State updates of Storybook preview hooks work only in browser")}}m(as,"triggerUpdate");function lo(e,t){let r=so(e,typeof t=="function"?t():t),n=m(o=>{r.current=typeof o=="function"?o(r.current):o,as()},"setState");return[r.current,n]}m(lo,"useStateLike");function uo(e){return lo("useState",e)}m(uo,"useState");function Bp(e,t,r){let n=r!=null?()=>r(t):t,[o,i]=lo("useReducer",n);return[o,m(a=>i(l=>e(l,a)),"dispatch")]}m(Bp,"useReducer");function $r(e,t){let r=Ur(),n=ar("useEffect",()=>({create:e}),t);r.currentEffects.includes(n)||r.currentEffects.push(n)}m($r,"useEffect");function Np(e,t=[]){let r=bt.getChannel();return $r(()=>(Object.entries(e).forEach(([n,o])=>r.on(n,o)),()=>{Object.entries(e).forEach(([n,o])=>r.removeListener(n,o))}),[...Object.keys(e),...t]),or(r.emit.bind(r),[r])}m(Np,"useChannel");function qr(){let{currentContext:e}=Ur();if(e==null)throw ao();return e}m(qr,"useStoryContext");function jp(e,t){let{parameters:r}=qr();if(e)return r[e]??t}m(jp,"useParameter");function Lp(){let e=bt.getChannel(),{id:t,args:r}=qr(),n=or(i=>e.emit(tr,{storyId:t,updatedArgs:i}),[e,t]),o=or(i=>e.emit(Zt,{storyId:t,argNames:i}),[e,t]);return[r,n,o]}m(Lp,"useArgs");function Mp(){let e=bt.getChannel(),{globals:t}=qr(),r=or(n=>e.emit(kr,{globals:n}),[e]);return[t,r]}m(Mp,"useGlobals");var gE=m(({name:e,parameterName:t,wrapper:r,skipIfNoParametersOrOptions:n=!1})=>{let o=m(i=>(a,l)=>{let u=l.parameters&&l.parameters[t];return u&&u.disable||n&&!i&&!u?a(l):r(a,l,{options:i,parameters:u})},"decorator");return(...i)=>typeof i[0]=="function"?o()(...i):(...a)=>{if(a.length>1)return i.length>1?o(i)(...a):o(...i)(...a);throw new Error(`Passing stories directly into ${e}() is not allowed, - instead use addDecorator(${e}) and pass options with the '${t}' parameter`)}},"makeDecorator");function fe(e){for(var t=[],r=1;r(this.debug("getState",{state:this.state}),this.state),"getState"),this.subscribe=m((n,o)=>{let i=typeof n=="function",a=i?"*":n,l=i?n:o;if(this.debug("subscribe",{eventType:a,listener:l}),!l)throw new TypeError(`Missing first subscribe argument, or second if first is the event type, when subscribing to a UniversalStore with id '${this.id}'`);return this.listeners.has(a)||this.listeners.set(a,new Set),this.listeners.get(a).add(l),()=>{this.debug("unsubscribe",{eventType:a,listener:l}),this.listeners.has(a)&&(this.listeners.get(a).delete(l),this.listeners.get(a)?.size===0&&this.listeners.delete(a))}},"subscribe"),this.send=m(n=>{if(this.debug("send",{event:n}),this.status!==G.Status.READY)throw new TypeError(fe`Cannot send event before store is ready. You can get the current status with store.status, - or await store.readyPromise to wait for the store to be ready before sending events. - ${JSON.stringify({event:n,id:this.id,actor:this.actor,environment:this.environment},null,2)}`);this.emitToListeners(n,{actor:this.actor}),this.emitToChannel(n,{actor:this.actor})},"send"),this.debugging=t.debug??!1,!G.isInternalConstructing)throw new TypeError("UniversalStore is not constructable - use UniversalStore.create() instead");if(G.isInternalConstructing=!1,this.id=t.id,this.actorId=Date.now().toString(36)+Math.random().toString(36).substring(2),this.actorType=t.leader?G.ActorType.LEADER:G.ActorType.FOLLOWER,this.state=t.initialState,this.channelEventName=`${$p}${this.id}`,this.debug("constructor",{options:t,environmentOverrides:r,channelEventName:this.channelEventName}),this.actor.type===G.ActorType.LEADER)this.syncing={state:Pe.RESOLVED,promise:Promise.resolve()};else{let n,o,i=new Promise((a,l)=>{n=m(()=>{this.syncing.state===Pe.PENDING&&(this.syncing.state=Pe.RESOLVED,a())},"syncingResolve"),o=m(u=>{this.syncing.state===Pe.PENDING&&(this.syncing.state=Pe.REJECTED,l(u))},"syncingReject")});this.syncing={state:Pe.PENDING,promise:i,resolve:n,reject:o}}this.getState=this.getState.bind(this),this.setState=this.setState.bind(this),this.subscribe=this.subscribe.bind(this),this.onStateChange=this.onStateChange.bind(this),this.send=this.send.bind(this),this.emitToChannel=this.emitToChannel.bind(this),this.prepareThis=this.prepareThis.bind(this),this.emitToListeners=this.emitToListeners.bind(this),this.handleChannelEvents=this.handleChannelEvents.bind(this),this.debug=this.debug.bind(this),this.channel=r?.channel??G.preparation.channel,this.environment=r?.environment??G.preparation.environment,this.channel&&this.environment?this.prepareThis({channel:this.channel,environment:this.environment}):G.preparation.promise.then(this.prepareThis)}static setupPreparationPromise(){let t,r,n=new Promise((o,i)=>{t=m(a=>{o(a)},"resolveRef"),r=m((...a)=>{i(a)},"rejectRef")});G.preparation={resolve:t,reject:r,promise:n}}get actor(){return Object.freeze({id:this.actorId,type:this.actorType,environment:this.environment??G.Environment.UNKNOWN})}get status(){if(!this.channel||!this.environment)return G.Status.UNPREPARED;switch(this.syncing?.state){case Pe.PENDING:case void 0:return G.Status.SYNCING;case Pe.REJECTED:return G.Status.ERROR;case Pe.RESOLVED:default:return G.Status.READY}}untilReady(){return Promise.all([G.preparation.promise,this.syncing?.promise])}static create(t){if(!t||typeof t?.id!="string")throw new TypeError("id is required and must be a string, when creating a UniversalStore");t.debug&&console.debug(fe`[UniversalStore] - create`,{options:t});let r=Bi.get(t.id);if(r)return console.warn(fe`UniversalStore with id "${t.id}" already exists in this environment, re-using existing. - You should reuse the existing instance instead of trying to create a new one.`),r;G.isInternalConstructing=!0;let n=new G(t);return Bi.set(t.id,n),n}static __prepare(t,r){G.preparation.channel=t,G.preparation.environment=r,G.preparation.resolve({channel:t,environment:r})}setState(t){let r=this.state,n=typeof t=="function"?t(r):t;if(this.debug("setState",{newState:n,previousState:r,updater:t}),this.status!==G.Status.READY)throw new TypeError(fe`Cannot set state before store is ready. You can get the current status with store.status, - or await store.readyPromise to wait for the store to be ready before sending events. - ${JSON.stringify({newState:n,id:this.id,actor:this.actor,environment:this.environment},null,2)}`);this.state=n;let o={type:G.InternalEventType.SET_STATE,payload:{state:n,previousState:r}};this.emitToChannel(o,{actor:this.actor}),this.emitToListeners(o,{actor:this.actor})}onStateChange(t){return this.debug("onStateChange",{listener:t}),this.subscribe(G.InternalEventType.SET_STATE,({payload:r},n)=>{t(r.state,r.previousState,n)})}emitToChannel(t,r){this.debug("emitToChannel",{event:t,eventInfo:r,channel:this.channel}),this.channel?.emit(this.channelEventName,{event:t,eventInfo:r})}prepareThis({channel:t,environment:r}){this.channel=t,this.environment=r,this.debug("prepared",{channel:t,environment:r}),this.channel.on(this.channelEventName,this.handleChannelEvents),this.actor.type===G.ActorType.LEADER?this.emitToChannel({type:G.InternalEventType.LEADER_CREATED},{actor:this.actor}):(this.emitToChannel({type:G.InternalEventType.FOLLOWER_CREATED},{actor:this.actor}),this.emitToChannel({type:G.InternalEventType.EXISTING_STATE_REQUEST},{actor:this.actor}),setTimeout(()=>{this.syncing.reject(new TypeError(`No existing state found for follower with id: '${this.id}'. Make sure a leader with the same id exists before creating a follower.`))},1e3))}emitToListeners(t,r){let n=this.listeners.get(t.type),o=this.listeners.get("*");this.debug("emitToListeners",{event:t,eventInfo:r,eventTypeListeners:n,everythingListeners:o}),[...n??[],...o??[]].forEach(i=>i(t,r))}handleChannelEvents(t){let{event:r,eventInfo:n}=t;if([n.actor.id,n.forwardingActor?.id].includes(this.actor.id)){this.debug("handleChannelEvents: Ignoring event from self",{channelEvent:t});return}else if(this.syncing?.state===Pe.PENDING&&r.type!==G.InternalEventType.EXISTING_STATE_RESPONSE){this.debug("handleChannelEvents: Ignoring event while syncing",{channelEvent:t});return}if(this.debug("handleChannelEvents",{channelEvent:t}),this.actor.type===G.ActorType.LEADER){let o=!0;switch(r.type){case G.InternalEventType.EXISTING_STATE_REQUEST:o=!1;let i={type:G.InternalEventType.EXISTING_STATE_RESPONSE,payload:this.state};this.debug("handleChannelEvents: responding to existing state request",{responseEvent:i}),this.emitToChannel(i,{actor:this.actor});break;case G.InternalEventType.LEADER_CREATED:o=!1,this.syncing.state=Pe.REJECTED,this.debug("handleChannelEvents: erroring due to second leader being created",{event:r}),console.error(fe`Detected multiple UniversalStore leaders created with the same id "${this.id}". - Only one leader can exists at a time, your stores are now in an invalid state. - Leaders detected: - this: ${JSON.stringify(this.actor,null,2)} - other: ${JSON.stringify(n.actor,null,2)}`);break}o&&(this.debug("handleChannelEvents: forwarding event",{channelEvent:t}),this.emitToChannel(r,{actor:n.actor,forwardingActor:this.actor}))}if(this.actor.type===G.ActorType.FOLLOWER)switch(r.type){case G.InternalEventType.EXISTING_STATE_RESPONSE:if(this.debug("handleChannelEvents: Setting state from leader's existing state response",{event:r}),this.syncing?.state!==Pe.PENDING)break;this.syncing.resolve?.();let o={type:G.InternalEventType.SET_STATE,payload:{state:r.payload,previousState:this.state}};this.state=r.payload,this.emitToListeners(o,n);break}switch(r.type){case G.InternalEventType.SET_STATE:this.debug("handleChannelEvents: Setting state",{event:r}),this.state=r.payload.state;break}this.emitToListeners(r,{actor:n.actor})}debug(t,r){this.debugging&&console.debug(fe`[UniversalStore::${this.id}::${this.environment??G.Environment.UNKNOWN}] - ${t}`,JSON.stringify({data:r,actor:this.actor,state:this.state,status:this.status},null,2))}static __reset(){G.preparation.reject(new Error("reset")),G.setupPreparationPromise(),G.isInternalConstructing=!1}};m(it,"UniversalStore"),it.ActorType={LEADER:"LEADER",FOLLOWER:"FOLLOWER"},it.Environment={SERVER:"SERVER",MANAGER:"MANAGER",PREVIEW:"PREVIEW",UNKNOWN:"UNKNOWN",MOCK:"MOCK"},it.InternalEventType={EXISTING_STATE_REQUEST:"__EXISTING_STATE_REQUEST",EXISTING_STATE_RESPONSE:"__EXISTING_STATE_RESPONSE",SET_STATE:"__SET_STATE",LEADER_CREATED:"__LEADER_CREATED",FOLLOWER_CREATED:"__FOLLOWER_CREATED"},it.Status={UNPREPARED:"UNPREPARED",SYNCING:"SYNCING",READY:"READY",ERROR:"ERROR"},it.isInternalConstructing=!1,it.setupPreparationPromise();var Or=it;function is(e,t){let r={},n=Object.entries(e);for(let o=0;oObject.prototype.propertyIsEnumerable.call(e,t))}m(Vn,"getSymbols");function Jn(e){return e==null?e===void 0?"[object Undefined]":"[object Null]":Object.prototype.toString.call(e)}m(Jn,"getTag");function co(e,t){if(typeof e==typeof t)switch(typeof e){case"bigint":case"string":case"boolean":case"symbol":case"undefined":return e===t;case"number":return e===t||Object.is(e,t);case"function":return e===t;case"object":return $e(e,t)}return $e(e,t)}m(co,"isEqual");function $e(e,t,r){if(Object.is(e,t))return!0;let n=Jn(e),o=Jn(t);if(n===Ni&&(n=jn),o===Ni&&(o=jn),n!==o)return!1;switch(n){case Vp:return e.toString()===t.toString();case Jp:{let l=e.valueOf(),u=t.valueOf();return l===u||Number.isNaN(l)&&Number.isNaN(u)}case Hp:case Gp:case zp:return Object.is(e.valueOf(),t.valueOf());case qp:return e.source===t.source&&e.flags===t.flags;case Xp:return e===t}r=r??new Map;let i=r.get(e),a=r.get(t);if(i!=null&&a!=null)return i===t;r.set(e,t),r.set(t,e);try{switch(n){case Wp:{if(e.size!==t.size)return!1;for(let[l,u]of e.entries())if(!t.has(l)||!$e(u,t.get(l),r))return!1;return!0}case Kp:{if(e.size!==t.size)return!1;let l=Array.from(e.values()),u=Array.from(t.values());for(let c=0;c$e(d,h,r));if(p===-1)return!1;u.splice(p,1)}return!0}case Yp:case th:case rh:case nh:case oh:case ah:case ih:case sh:case lh:case uh:case ch:case dh:{if(typeof Buffer<"u"&&Buffer.isBuffer(e)!==Buffer.isBuffer(t)||e.length!==t.length)return!1;for(let l=0;l{let[r,n]=uo(t?t(e.getState()):e.getState());return $r(()=>e.onStateChange((o,i)=>{if(!t){n(o);return}let a=t(o),l=t(i);!co(a,l)&&n(a)}),[e,n,t]),[r,e.setState]},"useUniversalStore"),ph=class us extends Or{constructor(t,r){Or.isInternalConstructing=!0,super({...t,leader:!0},{channel:new Tr({}),environment:Or.Environment.MOCK}),Or.isInternalConstructing=!1,typeof r?.fn=="function"&&(this.testUtils=r,this.getState=r.fn(this.getState),this.setState=r.fn(this.setState),this.subscribe=r.fn(this.subscribe),this.onStateChange=r.fn(this.onStateChange),this.send=r.fn(this.send))}static create(t,r){return new us(t,r)}unsubscribeAll(){if(!this.testUtils)throw new Error(Up`Cannot call unsubscribeAll on a store that does not have testUtils. - Please provide testUtils as the second argument when creating the store.`);let t=m(r=>{try{r.value()}catch{}},"callReturnedUnsubscribeFn");this.subscribe.mock?.results.forEach(t),this.onStateChange.mock?.results.forEach(t)}};m(ph,"MockUniversalStore");var Ln=Bt(Wi(),1),Ot=Symbol("incompatible"),Hn=m((e,t)=>{let r=t.type;if(e==null||!r||t.mapping)return e;switch(r.name){case"string":return String(e);case"enum":return e;case"number":return Number(e);case"boolean":return String(e)==="true";case"array":return!r.value||!Array.isArray(e)?Ot:e.reduce((n,o,i)=>{let a=Hn(o,{type:r.value});return a!==Ot&&(n[i]=a),n},new Array(e.length));case"object":return typeof e=="string"||typeof e=="number"?e:!r.value||typeof e!="object"?Ot:Object.entries(e).reduce((n,[o,i])=>{let a=Hn(i,{type:r.value[o]});return a===Ot?n:Object.assign(n,{[o]:a})},{});default:return Ot}},"map"),hh=m((e,t)=>Object.entries(e).reduce((r,[n,o])=>{if(!t[n])return r;let i=Hn(o,t[n]);return i===Ot?r:Object.assign(r,{[n]:i})},{}),"mapArgsToTypes"),zn=m((e,t)=>Array.isArray(e)&&Array.isArray(t)?t.reduce((r,n,o)=>(r[o]=zn(e[o],t[o]),r),[...e]).filter(r=>r!==void 0):!Le(e)||!Le(t)?t:Object.keys({...e,...t}).reduce((r,n)=>{if(n in t){let o=zn(e[n],t[n]);o!==void 0&&(r[n]=o)}else r[n]=e[n];return r},{}),"combineArgs"),fh=m((e,t)=>Object.entries(t).reduce((r,[n,{options:o}])=>{function i(){return n in e&&(r[n]=e[n]),r}if(m(i,"allowArg"),!o)return i();if(!Array.isArray(o))return ot.error(fe` - Invalid argType: '${n}.options' should be an array. - - More info: https://storybook.js.org/docs/api/arg-types - `),i();if(o.some(p=>p&&["object","function"].includes(typeof p)))return ot.error(fe` - Invalid argType: '${n}.options' should only contain primitives. Use a 'mapping' for complex values. - - More info: https://storybook.js.org/docs/writing-stories/args#mapping-to-complex-arg-values - `),i();let a=Array.isArray(e[n]),l=a&&e[n].findIndex(p=>!o.includes(p)),u=a&&l===-1;if(e[n]===void 0||o.includes(e[n])||u)return i();let c=a?`${n}[${l}]`:n,d=o.map(p=>typeof p=="string"?`'${p}'`:String(p)).join(", ");return ot.warn(`Received illegal value for '${c}'. Supported options: ${d}`),r},{}),"validateOptions"),rr=Symbol("Deeply equal"),Nr=m((e,t)=>{if(typeof e!=typeof t)return t;if(co(e,t))return rr;if(Array.isArray(e)&&Array.isArray(t)){let r=t.reduce((n,o,i)=>{let a=Nr(e[i],o);return a!==rr&&(n[i]=a),n},new Array(t.length));return t.length>=e.length?r:r.concat(new Array(e.length-t.length).fill(void 0))}return Le(e)&&Le(t)?Object.keys({...e,...t}).reduce((r,n)=>{let o=Nr(e?.[n],t?.[n]);return o===rr?r:Object.assign(r,{[n]:o})},{}):t},"deepDiff"),cs="UNTARGETED";function ds({args:e,argTypes:t}){let r={};return Object.entries(e).forEach(([n,o])=>{let{target:i=cs}=t[n]||{};r[i]=r[i]||{},r[i][n]=o}),r}m(ds,"groupArgsByTarget");function ps(e){return Object.keys(e).forEach(t=>e[t]===void 0&&delete e[t]),e}m(ps,"deleteUndefined");var hs=class{constructor(){this.initialArgsByStoryId={},this.argsByStoryId={}}get(t){if(!(t in this.argsByStoryId))throw new Error(`No args known for ${t} -- has it been rendered yet?`);return this.argsByStoryId[t]}setInitial(t){if(!this.initialArgsByStoryId[t.id])this.initialArgsByStoryId[t.id]=t.initialArgs,this.argsByStoryId[t.id]=t.initialArgs;else if(this.initialArgsByStoryId[t.id]!==t.initialArgs){let r=Nr(this.initialArgsByStoryId[t.id],this.argsByStoryId[t.id]);this.initialArgsByStoryId[t.id]=t.initialArgs,this.argsByStoryId[t.id]=t.initialArgs,r!==rr&&this.updateFromDelta(t,r)}}updateFromDelta(t,r){let n=fh(r,t.argTypes);this.argsByStoryId[t.id]=zn(this.argsByStoryId[t.id],n)}updateFromPersisted(t,r){let n=hh(r,t.argTypes);return this.updateFromDelta(t,n)}update(t,r){if(!(t in this.argsByStoryId))throw new Error(`No args known for ${t} -- has it been rendered yet?`);this.argsByStoryId[t]=ps({...this.argsByStoryId[t],...r})}};m(hs,"ArgsStore");var mh=hs,fs=m((e={})=>Object.entries(e).reduce((t,[r,{defaultValue:n}])=>(typeof n<"u"&&(t[r]=n),t),{}),"getValuesFromArgTypes"),ms=class{constructor({globals:t={},globalTypes:r={}}){this.set({globals:t,globalTypes:r})}set({globals:t={},globalTypes:r={}}){let n=this.initialGlobals&&Nr(this.initialGlobals,this.globals);this.allowedGlobalNames=new Set([...Object.keys(t),...Object.keys(r)]);let o=fs(r);this.initialGlobals={...o,...t},this.globals=this.initialGlobals,n&&n!==rr&&this.updateFromPersisted(n)}filterAllowedGlobals(t){return Object.entries(t).reduce((r,[n,o])=>(this.allowedGlobalNames.has(n)?r[n]=o:Q.warn(`Attempted to set a global (${n}) that is not defined in initial globals or globalTypes`),r),{})}updateFromPersisted(t){let r=this.filterAllowedGlobals(t);this.globals={...this.globals,...r}}get(){return this.globals}update(t){this.globals={...this.globals,...this.filterAllowedGlobals(t)}}};m(ms,"GlobalsStore");var yh=ms,gh=Bt(Wi(),1),bh=(0,gh.default)(1)(e=>Object.values(e).reduce((t,r)=>(t[r.importPath]=t[r.importPath]||r,t),{})),ys=class{constructor({entries:t}={v:5,entries:{}}){this.entries=t}entryFromSpecifier(t){let r=Object.values(this.entries);if(t==="*")return r[0];if(typeof t=="string")return this.entries[t]?this.entries[t]:r.find(i=>i.id.startsWith(t));let{name:n,title:o}=t;return r.find(i=>i.name===n&&i.title===o)}storyIdToEntry(t){let r=this.entries[t];if(!r)throw new _a({storyId:t});return r}importPathToEntry(t){return bh(this.entries)[t]}};m(ys,"StoryIndexStore");var Eh=ys,vh=m(e=>typeof e=="string"?{name:e}:e,"normalizeType"),Ah=m(e=>typeof e=="string"?{type:e}:e,"normalizeControl"),Dh=m((e,t)=>{let{type:r,control:n,...o}=e,i={name:t,...o};return r&&(i.type=vh(r)),n?i.control=Ah(n):n===!1&&(i.control={disable:!0}),i},"normalizeInputType"),jr=m(e=>Et(e,Dh),"normalizeInputTypes"),se=m(e=>Array.isArray(e)?e:e?[e]:[],"normalizeArrays"),Sh=fe` -CSF .story annotations deprecated; annotate story functions directly: -- StoryFn.story.name => StoryFn.storyName -- StoryFn.story.(parameters|decorators) => StoryFn.(parameters|decorators) -See https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#hoisted-csf-annotations for details and codemod. -`;function Lr(e,t,r){let n=t,o=typeof t=="function"?t:null,{story:i}=n;i&&(Q.debug("deprecated story",i),Ge(Sh));let a=Ri(e),l=typeof n!="function"&&n.name||n.storyName||i?.name||a,u=[...se(n.decorators),...se(i?.decorators)],c={...i?.parameters,...n.parameters},d={...i?.args,...n.args},p={...i?.argTypes,...n.argTypes},h=[...se(n.loaders),...se(i?.loaders)],y=[...se(n.beforeEach),...se(i?.beforeEach)],E=[...se(n.experimental_afterEach),...se(i?.experimental_afterEach)],{render:v,play:A,tags:D=[],globals:S={}}=n,F=c.__id||ki(r.id,a);return{moduleExport:t,id:F,name:l,tags:D,decorators:u,parameters:c,args:d,argTypes:jr(p),loaders:h,beforeEach:y,experimental_afterEach:E,globals:S,...v&&{render:v},...o&&{userStoryFn:o},...A&&{play:A}}}m(Lr,"normalizeStory");function Mr(e,t=e.title,r){let{id:n,argTypes:o}=e;return{id:Pn(n||t),...e,title:t,...o&&{argTypes:jr(o)},parameters:{fileName:r,...e.parameters}}}m(Mr,"normalizeComponentAnnotations");var wh=m(e=>{let{globals:t,globalTypes:r}=e;(t||r)&&Q.error("Global args/argTypes can only be set globally",JSON.stringify({globals:t,globalTypes:r}))},"checkGlobals"),Ch=m(e=>{let{options:t}=e;t?.storySort&&Q.error("The storySort option parameter can only be set globally")},"checkStorySort"),_r=m(e=>{e&&(wh(e),Ch(e))},"checkDisallowedParameters");function gs(e,t,r){let{default:n,__namedExportsOrder:o,...i}=e,a=Object.values(i)[0];if(mt(a)){let c=Mr(a.meta.input,r,t);_r(c.parameters);let d={meta:c,stories:{},moduleExports:e};return Object.keys(i).forEach(p=>{if(kt(p,c)){let h=Lr(p,i[p].input,c);_r(h.parameters),d.stories[h.id]=h}}),d.projectAnnotations=a.meta.preview.composed,d}let l=Mr(n,r,t);_r(l.parameters);let u={meta:l,stories:{},moduleExports:e};return Object.keys(i).forEach(c=>{if(kt(c,l)){let d=Lr(c,i[c],l);_r(d.parameters),u.stories[d.id]=d}}),u}m(gs,"processCSFFile");function bs(e){return e!=null&&Es(e).includes("mount")}m(bs,"mountDestructured");function Es(e){let t=e.toString().match(/[^(]*\(([^)]*)/);if(!t)return[];let r=Gn(t[1]);if(!r.length)return[];let n=r[0];return n.startsWith("{")&&n.endsWith("}")?Gn(n.slice(1,-1).replace(/\s/g,"")).map(o=>o.replace(/:.*|=.*/g,"")):[]}m(Es,"getUsedProps");function Gn(e){let t=[],r=[],n=0;for(let i=0;it(n,o)}m(vs,"decorateStory");function As({componentId:e,title:t,kind:r,id:n,name:o,story:i,parameters:a,initialArgs:l,argTypes:u,...c}={}){return c}m(As,"sanitizeStoryContextUpdate");function Ds(e,t){let r={},n=m(i=>a=>{if(!r.value)throw new Error("Decorated function called without init");return r.value={...r.value,...As(a)},i(r.value)},"bindWithContext"),o=t.reduce((i,a)=>vs(i,a,n),e);return i=>(r.value=i,o(i))}m(Ds,"defaultDecorateStory");var Ke=m((...e)=>{let t={},r=e.filter(Boolean),n=r.reduce((o,i)=>(Object.entries(i).forEach(([a,l])=>{let u=o[a];Array.isArray(l)||typeof u>"u"?o[a]=l:Le(l)&&Le(u)?t[a]=!0:typeof l<"u"&&(o[a]=l)}),o),{});return Object.keys(t).forEach(o=>{let i=r.filter(Boolean).map(a=>a[o]).filter(a=>typeof a<"u");i.every(a=>Le(a))?n[o]=Ke(...i):n[o]=i[i.length-1]}),n},"combineParameters");function po(e,t,r){let{moduleExport:n,id:o,name:i}=e||{},a=ho(e,t,r),l=m(async R=>{let N={};for(let j of[..."__STORYBOOK_TEST_LOADERS__"in Ee&&Array.isArray(Ee.__STORYBOOK_TEST_LOADERS__)?[Ee.__STORYBOOK_TEST_LOADERS__]:[],se(r.loaders),se(t.loaders),se(e.loaders)]){if(R.abortSignal.aborted)return N;let U=await Promise.all(j.map(P=>P(R)));Object.assign(N,...U)}return N},"applyLoaders"),u=m(async R=>{let N=new Array;for(let j of[...se(r.beforeEach),...se(t.beforeEach),...se(e.beforeEach)]){if(R.abortSignal.aborted)return N;let U=await j(R);U&&N.push(U)}return N},"applyBeforeEach"),c=m(async R=>{let N=[...se(r.experimental_afterEach),...se(t.experimental_afterEach),...se(e.experimental_afterEach)].reverse();for(let j of N){if(R.abortSignal.aborted)return;await j(R)}},"applyAfterEach"),d=m(R=>R.originalStoryFn(R.args,R),"undecoratedStoryFn"),{applyDecorators:p=Ds,runStep:h}=r,y=[...se(e?.decorators),...se(t?.decorators),...se(r?.decorators)],E=e?.userStoryFn||e?.render||t.render||r.render,v=Rp(p)(d,y),A=m(R=>v(R),"unboundStoryFn"),D=e?.play??t?.play,S=bs(D);if(!E&&!S)throw new Za({id:o});let F=m(R=>async()=>(await R.renderToCanvas(),R.canvas),"defaultMount"),x=e.mount??t.mount??r.mount??F,O=r.testingLibraryRender;return{storyGlobals:{},...a,moduleExport:n,id:o,name:i,story:i,originalStoryFn:E,undecoratedStoryFn:d,unboundStoryFn:A,applyLoaders:l,applyBeforeEach:u,applyAfterEach:c,playFunction:D,runStep:h,mount:x,testingLibraryRender:O,renderToCanvas:r.renderToCanvas,usesMount:S}}m(po,"prepareStory");function Ss(e,t,r){return{...ho(void 0,e,t),moduleExport:r}}m(Ss,"prepareMeta");function ho(e,t,r){let n=["dev","test"],o=Ee.DOCS_OPTIONS?.autodocs===!0?["autodocs"]:[],i=Oi(...n,...o,...r.tags??[],...t.tags??[],...e?.tags??[]),a=Ke(r.parameters,t.parameters,e?.parameters),{argTypesEnhancers:l=[],argsEnhancers:u=[]}=r,c=Ke(r.argTypes,t.argTypes,e?.argTypes);if(e){let D=e?.userStoryFn||e?.render||t.render||r.render;a.__isArgsStory=D&&D.length>0}let d={...r.args,...t.args,...e?.args},p={...t.globals,...e?.globals},h={componentId:t.id,title:t.title,kind:t.title,id:e?.id||t.id,name:e?.name||"__meta",story:e?.name||"__meta",component:t.component,subcomponents:t.subcomponents,tags:i,parameters:a,initialArgs:d,argTypes:c,storyGlobals:p};h.argTypes=l.reduce((D,S)=>S({...h,argTypes:D}),h.argTypes);let y={...d};h.initialArgs=u.reduce((D,S)=>({...D,...S({...h,initialArgs:D})}),y);let{name:E,story:v,...A}=h;return A}m(ho,"preparePartialAnnotations");function fo(e){let{args:t}=e,r={...e,allArgs:void 0,argsByTarget:void 0};if(Ee.FEATURES?.argTypeTargetsV7){let i=ds(e);r={...e,allArgs:e.args,argsByTarget:i,args:i[cs]||{}}}let n=Object.entries(r.args).reduce((i,[a,l])=>{if(!r.argTypes[a]?.mapping)return i[a]=l,i;let u=m(c=>{let d=r.argTypes[a].mapping;return d&&c in d?d[c]:c},"mappingFn");return i[a]=Array.isArray(l)?l.map(u):u(l),i},{}),o=Object.entries(n).reduce((i,[a,l])=>{let u=r.argTypes[a]||{};return _n(u,n,r.globals)&&(i[a]=l),i},{});return{...r,unmappedArgs:t,args:o}}m(fo,"prepareContext");var Wn=m((e,t,r)=>{let n=typeof e;switch(n){case"boolean":case"string":case"number":case"function":case"symbol":return{name:n};default:break}return e?r.has(e)?(Q.warn(fe` - We've detected a cycle in arg '${t}'. Args should be JSON-serializable. - - Consider using the mapping feature or fully custom args: - - Mapping: https://storybook.js.org/docs/writing-stories/args#mapping-to-complex-arg-values - - Custom args: https://storybook.js.org/docs/essentials/controls#fully-custom-args - `),{name:"other",value:"cyclic object"}):(r.add(e),Array.isArray(e)?{name:"array",value:e.length>0?Wn(e[0],t,new Set(r)):{name:"other",value:"unknown"}}:{name:"object",value:Et(e,o=>Wn(o,t,new Set(r)))}):{name:"object",value:{}}},"inferType"),ws=m(e=>{let{id:t,argTypes:r={},initialArgs:n={}}=e,o=Et(n,(a,l)=>({name:l,type:Wn(a,`${t}.${l}`,new Set)})),i=Et(r,(a,l)=>({name:l}));return Ke(o,i,r)},"inferArgTypes");ws.secondPass=!0;var ji=m((e,t)=>Array.isArray(t)?t.includes(e):e.match(t),"matches"),Cs=m((e,t,r)=>!t&&!r?e:e&&ls(e,(n,o)=>{let i=n.name||o.toString();return!!(!t||ji(i,t))&&(!r||!ji(i,r))}),"filterArgTypes"),xh=m((e,t,r)=>{let{type:n,options:o}=e;if(n){if(r.color&&r.color.test(t)){let i=n.name;if(i==="string")return{control:{type:"color"}};i!=="enum"&&Q.warn(`Addon controls: Control of type color only supports string, received "${i}" instead`)}if(r.date&&r.date.test(t))return{control:{type:"date"}};switch(n.name){case"array":return{control:{type:"object"}};case"boolean":return{control:{type:"boolean"}};case"string":return{control:{type:"text"}};case"number":return{control:{type:"number"}};case"enum":{let{value:i}=n;return{control:{type:i?.length<=5?"radio":"select"},options:i}}case"function":case"symbol":return null;default:return{control:{type:o?"select":"object"}}}}},"inferControl"),xs=m(e=>{let{argTypes:t,parameters:{__isArgsStory:r,controls:{include:n=null,exclude:o=null,matchers:i={}}={}}}=e;if(!r)return t;let a=Cs(t,n,o),l=Et(a,(u,c)=>u?.type&&xh(u,c.toString(),i));return Ke(l,a)},"inferControls");xs.secondPass=!0;function Rt({argTypes:e,globalTypes:t,argTypesEnhancers:r,decorators:n,loaders:o,beforeEach:i,experimental_afterEach:a,globals:l,initialGlobals:u,...c}){return l&&Object.keys(l).length>0&&Ge(fe` - The preview.js 'globals' field is deprecated and will be removed in Storybook 9.0. - Please use 'initialGlobals' instead. Learn more: - - https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#previewjs-globals-renamed-to-initialglobals - `),{...e&&{argTypes:jr(e)},...t&&{globalTypes:jr(t)},decorators:se(n),loaders:se(o),beforeEach:se(i),experimental_afterEach:se(a),argTypesEnhancers:[...r||[],ws,xs],initialGlobals:Ke(u,l),...c}}m(Rt,"normalizeProjectAnnotations");var Th=m(e=>async()=>{let t=[];for(let r of e){let n=await r();n&&t.unshift(n)}return async()=>{for(let r of t)await r()}},"composeBeforeAllHooks");function Ts(e){return async(t,r,n)=>{await e.reduceRight((o,i)=>async()=>i(t,o,n),async()=>r(n))()}}m(Ts,"composeStepRunners");function Pt(e,t){return e.map(r=>r.default?.[t]??r[t]).filter(Boolean)}m(Pt,"getField");function We(e,t,r={}){return Pt(e,t).reduce((n,o)=>{let i=se(o);return r.reverseFileOrder?[...i,...n]:[...n,...i]},[])}m(We,"getArrayField");function _t(e,t){return Object.assign({},...Pt(e,t))}m(_t,"getObjectField");function yt(e,t){return Pt(e,t).pop()}m(yt,"getSingletonField");function at(e){let t=We(e,"argTypesEnhancers"),r=Pt(e,"runStep"),n=We(e,"beforeAll");return{parameters:Ke(...Pt(e,"parameters")),decorators:We(e,"decorators",{reverseFileOrder:!(Ee.FEATURES?.legacyDecoratorFileOrder??!1)}),args:_t(e,"args"),argsEnhancers:We(e,"argsEnhancers"),argTypes:_t(e,"argTypes"),argTypesEnhancers:[...t.filter(o=>!o.secondPass),...t.filter(o=>o.secondPass)],globals:_t(e,"globals"),initialGlobals:_t(e,"initialGlobals"),globalTypes:_t(e,"globalTypes"),loaders:We(e,"loaders"),beforeAll:Th(n),beforeEach:We(e,"beforeEach"),experimental_afterEach:We(e,"experimental_afterEach"),render:yt(e,"render"),renderToCanvas:yt(e,"renderToCanvas"),renderToDOM:yt(e,"renderToDOM"),applyDecorators:yt(e,"applyDecorators"),runStep:Ts(r),tags:We(e,"tags"),mount:yt(e,"mount"),testingLibraryRender:yt(e,"testingLibraryRender")}}m(at,"composeConfigs");var Fs=class{constructor(){this.reports=[]}async addReport(t){this.reports.push(t)}};m(Fs,"ReporterAPI");var Is=Fs;function ks(e,t,r){return mt(e)?{story:e.input,meta:e.meta.input,preview:e.meta.preview.composed}:{story:e,meta:t,preview:r}}m(ks,"getCsfFactoryAnnotations");function Fh(e){globalThis.defaultProjectAnnotations=e}m(Fh,"setDefaultProjectAnnotations");var Ih="ComposedStory",kh="Unnamed Story";function Rs(e){return e?at([e]):{}}m(Rs,"extractAnnotation");function Rh(e){let t=Array.isArray(e)?e:[e];return globalThis.globalProjectAnnotations=at([globalThis.defaultProjectAnnotations??{},at(t.map(Rs))]),globalThis.globalProjectAnnotations??{}}m(Rh,"setProjectAnnotations");var st=[];function Os(e,t,r,n,o){if(e===void 0)throw new Error("Expected a story but received undefined.");t.title=t.title??Ih;let i=Mr(t),a=o||e.storyName||e.story?.name||e.name||kh,l=Lr(a,e,i),u=Rt(at([n??globalThis.globalProjectAnnotations??{},r??{}])),c=po(l,i,u),d={...fs(u.globalTypes),...u.initialGlobals,...c.storyGlobals},p=new Is,h=m(()=>{let D=fo({hooks:new ns,globals:d,args:{...c.initialArgs},viewMode:"story",reporting:p,loaded:{},abortSignal:new AbortController().signal,step:m((S,F)=>c.runStep(S,F,D),"step"),canvasElement:null,canvas:{},globalTypes:u.globalTypes,...c,context:null,mount:null});return D.parameters.__isPortableStory=!0,D.context=D,c.renderToCanvas&&(D.renderToCanvas=async()=>{let S=await c.renderToCanvas?.({componentId:c.componentId,title:c.title,id:c.id,name:c.name,tags:c.tags,showMain:m(()=>{},"showMain"),showError:m(F=>{throw new Error(`${F.title} -${F.description}`)},"showError"),showException:m(F=>{throw F},"showException"),forceRemount:!0,storyContext:D,storyFn:m(()=>c.unboundStoryFn(D),"storyFn"),unboundStoryFn:c.unboundStoryFn},D.canvasElement);S&&st.push(S)}),D.mount=c.mount(D),D},"initializeContext"),y,E=m(async D=>{let S=h();return S.canvasElement??=globalThis?.document?.body,y&&(S.loaded=y.loaded),Object.assign(S,D),c.playFunction(S)},"play"),v=m(D=>{let S=h();return Object.assign(S,D),_s(c,S)},"run"),A=c.playFunction?E:void 0;return Object.assign(m(function(D){let S=h();return y&&(S.loaded=y.loaded),S.args={...S.initialArgs,...D},c.unboundStoryFn(S)},"storyFn"),{id:c.id,storyName:a,load:m(async()=>{for(let S of[...st].reverse())await S();st.length=0;let D=h();D.loaded=await c.applyLoaders(D),st.push(...(await c.applyBeforeEach(D)).filter(Boolean)),y=D},"load"),globals:d,args:c.initialArgs,parameters:c.parameters,argTypes:c.argTypes,play:A,run:v,reporting:p,tags:c.tags})}m(Os,"composeStory");var Oh=m((e,t,r,n)=>Os(e,t,r,{},n),"defaultComposeStory");function _h(e,t,r=Oh){let{default:n,__esModule:o,__namedExportsOrder:i,...a}=e,l=n;return Object.entries(a).reduce((u,[c,d])=>{let{story:p,meta:h}=ks(d);return!l&&h&&(l=h),kt(c,l)?Object.assign(u,{[c]:r(p,l,t,c)}):u},{})}m(_h,"composeStories");function Ph(e){return e.extend({mount:m(async({mount:t,page:r},n)=>{await n(async(o,...i)=>{if(!("__pw_type"in o)||"__pw_type"in o&&o.__pw_type!=="jsx")throw new Error(fe` - Portable stories in Playwright CT only work when referencing JSX elements. - Please use JSX format for your components such as: - - instead of: - await mount(MyComponent, { props: { foo: 'bar' } }) - - do: - await mount() - - More info: https://storybook.js.org/docs/api/portable-stories-playwright - `);await r.evaluate(async l=>{let u=await globalThis.__pwUnwrapObject?.(l);return("__pw_type"in u?u.type:u)?.load?.()},o);let a=await t(o,...i);return await r.evaluate(async l=>{let u=await globalThis.__pwUnwrapObject?.(l),c="__pw_type"in u?u.type:u,d=document.querySelector("#root");return c?.play?.({canvasElement:d})},o),a})},"mount")})}m(Ph,"createPlaywrightTest");async function _s(e,t){for(let o of[...st].reverse())await o();if(st.length=0,!t.canvasElement){let o=document.createElement("div");globalThis?.document?.body?.appendChild(o),t.canvasElement=o,st.push(()=>{globalThis?.document?.body?.contains(o)&&globalThis?.document?.body?.removeChild(o)})}if(t.loaded=await e.applyLoaders(t),t.abortSignal.aborted)return;st.push(...(await e.applyBeforeEach(t)).filter(Boolean));let r=e.playFunction,n=e.usesMount;n||await t.mount(),!t.abortSignal.aborted&&(r&&(n||(t.mount=async()=>{throw new wr({playFunction:r.toString()})}),await r(t)),await e.applyAfterEach(t))}m(_s,"runStory");function Kn(e,t){return is(ss(e,t),r=>r===void 0)}m(Kn,"picky");var Li=1e3,Bh=1e4,Ps=class{constructor(t,r,n){this.importFn=r,this.getStoriesJsonData=m(()=>{let a=this.getSetStoriesPayload(),l=["fileName","docsOnly","framework","__id","__isArgsStory"];return{v:3,stories:Et(a.stories,u=>{let{importPath:c}=this.storyIndex.entries[u.id];return{...Kn(u,["id","name","title"]),importPath:c,kind:u.title,story:u.name,parameters:{...Kn(u.parameters,l),fileName:c}}})}},"getStoriesJsonData"),this.storyIndex=new Eh(t),this.projectAnnotations=Rt(n);let{initialGlobals:o,globalTypes:i}=this.projectAnnotations;this.args=new mh,this.userGlobals=new yh({globals:o,globalTypes:i}),this.hooks={},this.cleanupCallbacks={},this.processCSFFileWithCache=(0,Ln.default)(Li)(gs),this.prepareMetaWithCache=(0,Ln.default)(Li)(Ss),this.prepareStoryWithCache=(0,Ln.default)(Bh)(po)}setProjectAnnotations(t){this.projectAnnotations=Rt(t);let{initialGlobals:r,globalTypes:n}=t;this.userGlobals.set({globals:r,globalTypes:n})}async onStoriesChanged({importFn:t,storyIndex:r}){t&&(this.importFn=t),r&&(this.storyIndex.entries=r.entries),this.cachedCSFFiles&&await this.cacheAllCSFFiles()}async storyIdToEntry(t){return this.storyIndex.storyIdToEntry(t)}async loadCSFFileByStoryId(t){let{importPath:r,title:n}=this.storyIndex.storyIdToEntry(t),o=await this.importFn(r);return this.processCSFFileWithCache(o,r,n)}async loadAllCSFFiles(){let t={};return Object.entries(this.storyIndex.entries).forEach(([r,{importPath:n}])=>{t[n]=r}),(await Promise.all(Object.entries(t).map(async([r,n])=>({importPath:r,csfFile:await this.loadCSFFileByStoryId(n)})))).reduce((r,{importPath:n,csfFile:o})=>(r[n]=o,r),{})}async cacheAllCSFFiles(){this.cachedCSFFiles=await this.loadAllCSFFiles()}preparedMetaFromCSFFile({csfFile:t}){let r=t.meta;return this.prepareMetaWithCache(r,this.projectAnnotations,t.moduleExports.default)}async loadStory({storyId:t}){let r=await this.loadCSFFileByStoryId(t);return this.storyFromCSFFile({storyId:t,csfFile:r})}storyFromCSFFile({storyId:t,csfFile:r}){let n=r.stories[t];if(!n)throw new Wa({storyId:t});let o=r.meta,i=this.prepareStoryWithCache(n,o,r.projectAnnotations??this.projectAnnotations);return this.args.setInitial(i),this.hooks[i.id]=this.hooks[i.id]||new ns,i}componentStoriesFromCSFFile({csfFile:t}){return Object.keys(this.storyIndex.entries).filter(r=>!!t.stories[r]).map(r=>this.storyFromCSFFile({storyId:r,csfFile:t}))}async loadEntry(t){let r=await this.storyIdToEntry(t),n=r.type==="docs"?r.storiesImports:[],[o,...i]=await Promise.all([this.importFn(r.importPath),...n.map(a=>{let l=this.storyIndex.importPathToEntry(a);return this.loadCSFFileByStoryId(l.id)})]);return{entryExports:o,csfFiles:i}}getStoryContext(t,{forceInitialArgs:r=!1}={}){let n=this.userGlobals.get(),{initialGlobals:o}=this.userGlobals,i=new Is;return fo({...t,args:r?t.initialArgs:this.args.get(t.id),initialGlobals:o,globalTypes:this.projectAnnotations.globalTypes,userGlobals:n,reporting:i,globals:{...n,...t.storyGlobals},hooks:this.hooks[t.id]})}addCleanupCallbacks(t,r){this.cleanupCallbacks[t.id]=r}async cleanupStory(t){this.hooks[t.id].clean();let r=this.cleanupCallbacks[t.id];if(r)for(let n of[...r].reverse())await n();delete this.cleanupCallbacks[t.id]}extract(t={includeDocsOnly:!1}){let{cachedCSFFiles:r}=this;if(!r)throw new Ba;return Object.entries(this.storyIndex.entries).reduce((n,[o,{type:i,importPath:a}])=>{if(i==="docs")return n;let l=r[a],u=this.storyFromCSFFile({storyId:o,csfFile:l});return!t.includeDocsOnly&&u.parameters.docsOnly||(n[o]=Object.entries(u).reduce((c,[d,p])=>d==="moduleExport"||typeof p=="function"?c:Array.isArray(p)?Object.assign(c,{[d]:p.slice().sort()}):Object.assign(c,{[d]:p}),{args:u.initialArgs,globals:{...this.userGlobals.initialGlobals,...this.userGlobals.globals,...u.storyGlobals}})),n},{})}getSetStoriesPayload(){let t=this.extract({includeDocsOnly:!0}),r=Object.values(t).reduce((n,{title:o})=>(n[o]={},n),{});return{v:2,globals:this.userGlobals.get(),globalParameters:{},kindParameters:r,stories:t}}raw(){return Ge("StoryStore.raw() is deprecated and will be removed in 9.0, please use extract() instead"),Object.values(this.extract()).map(({id:t})=>this.fromId(t)).filter(Boolean)}fromId(t){if(Ge("StoryStore.fromId() is deprecated and will be removed in 9.0, please use loadStory() instead"),!this.cachedCSFFiles)throw new Error("Cannot call fromId/raw() unless you call cacheAllCSFFiles() first.");let r;try{({importPath:r}=this.storyIndex.storyIdToEntry(t))}catch{return null}let n=this.cachedCSFFiles[r],o=this.storyFromCSFFile({storyId:t,csfFile:n});return{...o,storyFn:m(i=>{let a={...this.getStoryContext(o),abortSignal:new AbortController().signal,canvasElement:null,loaded:{},step:m((l,u)=>o.runStep(l,u,a),"step"),context:null,mount:null,canvas:{},viewMode:"story"};return o.unboundStoryFn({...a,...i})},"storyFn")}}};m(Ps,"StoryStore");var Nh=Ps;function Bs(e){return e.startsWith("\\\\?\\")?e:e.replace(/\\/g,"/")}m(Bs,"slash");var jh=m(e=>{if(e.length===0)return e;let t=e[e.length-1],r=t?.replace(/(?:[.](?:story|stories))?([.][^.]+)$/i,"");if(e.length===1)return[r];let n=e[e.length-2];return r&&n&&r.toLowerCase()===n.toLowerCase()?[...e.slice(0,-2),r]:r&&(/^(story|stories)([.][^.]+)$/i.test(t)||/^index$/i.test(r))?e.slice(0,-1):[...e.slice(0,-1),r]},"sanitize");function Yn(e){return e.flatMap(t=>t.split("/")).filter(Boolean).join("/")}m(Yn,"pathJoin");var Lh=m((e,t,r)=>{let{directory:n,importPathMatcher:o,titlePrefix:i=""}=t||{};typeof e=="number"&&ot.warn(fe` - CSF Auto-title received a numeric fileName. This typically happens when - webpack is mis-configured in production mode. To force webpack to produce - filenames, set optimization.moduleIds = "named" in your webpack config. - `);let a=Bs(String(e));if(o.exec(a)){if(!r){let l=a.replace(n,""),u=Yn([i,l]).split("/");return u=jh(u),u.join("/")}return i?Yn([i,r]):r}},"userOrAutoTitleFromSpecifier"),HE=m((e,t,r)=>{for(let n=0;n(t,r)=>{if(t.title===r.title&&!e.includeNames)return 0;let n=e.method||"configure",o=e.order||[],i=t.title.trim().split(Mi),a=r.title.trim().split(Mi);e.includeNames&&(i.push(t.name),a.push(r.name));let l=0;for(;i[l]||a[l];){if(!i[l])return-1;if(!a[l])return 1;let u=i[l],c=a[l];if(u!==c){let p=o.indexOf(u),h=o.indexOf(c),y=o.indexOf("*");return p!==-1||h!==-1?(p===-1&&(y!==-1?p=y:p=o.length),h===-1&&(y!==-1?h=y:h=o.length),p-h):n==="configure"?0:u.localeCompare(c,e.locales?e.locales:void 0,{numeric:!0,sensitivity:"accent"})}let d=o.indexOf(u);d===-1&&(d=o.indexOf("*")),o=d!==-1&&Array.isArray(o[d+1])?o[d+1]:[],l+=1}return 0},"storySort"),Uh=m((e,t,r)=>{if(t){let n;typeof t=="function"?n=t:n=Mh(t),e.sort(n)}else e.sort((n,o)=>r.indexOf(n.importPath)-r.indexOf(o.importPath));return e},"sortStoriesCommon"),zE=m((e,t,r)=>{try{return Uh(e,t,r)}catch(n){throw new Error(fe` - Error sorting stories with sort parameter ${t}: - - > ${n.message} - - Are you using a V6-style sort function in V7 mode? - - More info: https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#v7-style-story-sort - `)}},"sortStoriesV7"),Vr=new Error("prepareAborted"),{AbortController:Ui}=globalThis;function Xn(e){try{let{name:t="Error",message:r=String(e),stack:n}=e;return{name:t,message:r,stack:n}}catch{return{name:"Error",message:String(e)}}}m(Xn,"serializeError");var Ns=class{constructor(t,r,n,o,i,a,l={autoplay:!0,forceInitialArgs:!1},u){this.channel=t,this.store=r,this.renderToScreen=n,this.callbacks=o,this.id=i,this.viewMode=a,this.renderOptions=l,this.type="story",this.notYetRendered=!0,this.rerenderEnqueued=!1,this.disableKeyListeners=!1,this.teardownRender=m(()=>{},"teardownRender"),this.torndown=!1,this.abortController=new Ui,u&&(this.story=u,this.phase="preparing")}async runPhase(t,r,n){this.phase=r,this.channel.emit(It,{newPhase:this.phase,storyId:this.id}),n&&(await n(),this.checkIfAborted(t))}checkIfAborted(t){return t.aborted?(this.phase="aborted",this.channel.emit(It,{newPhase:this.phase,storyId:this.id}),!0):!1}async prepare(){if(await this.runPhase(this.abortController.signal,"preparing",async()=>{this.story=await this.store.loadStory({storyId:this.id})}),this.abortController.signal.aborted)throw await this.store.cleanupStory(this.story),Vr}isEqual(t){return!!(this.id===t.id&&this.story&&this.story===t.story)}isPreparing(){return["preparing"].includes(this.phase)}isPending(){return["loading","beforeEach","rendering","playing","afterEach"].includes(this.phase)}async renderToElement(t){return this.canvasElement=t,this.render({initial:!0,forceRemount:!0})}storyContext(){if(!this.story)throw new Error("Cannot call storyContext before preparing");let{forceInitialArgs:t}=this.renderOptions;return this.store.getStoryContext(this.story,{forceInitialArgs:t})}async render({initial:t=!1,forceRemount:r=!1}={}){let{canvasElement:n}=this;if(!this.story)throw new Error("cannot render when not prepared");let o=this.story;if(!n)throw new Error("cannot render when canvasElement is unset");let{id:i,componentId:a,title:l,name:u,tags:c,applyLoaders:d,applyBeforeEach:p,applyAfterEach:h,unboundStoryFn:y,playFunction:E,runStep:v}=o;r&&!t&&(this.cancelRender(),this.abortController=new Ui);let A=this.abortController.signal,D=!1,S=o.usesMount;try{let F={...this.storyContext(),viewMode:this.viewMode,abortSignal:A,canvasElement:n,loaded:{},step:m((L,z)=>v(L,z,F),"step"),context:null,canvas:{},renderToCanvas:m(async()=>{let L=await this.renderToScreen(x,n);this.teardownRender=L||(()=>{}),D=!0},"renderToCanvas"),mount:m(async(...L)=>{this.callbacks.showStoryDuringRender?.();let z=null;return await this.runPhase(A,"rendering",async()=>{z=await o.mount(F)(...L)}),S&&await this.runPhase(A,"playing"),z},"mount")};F.context=F;let x={componentId:a,title:l,kind:l,id:i,name:u,story:u,tags:c,...this.callbacks,showError:m(L=>(this.phase="errored",this.callbacks.showError(L)),"showError"),showException:m(L=>(this.phase="errored",this.callbacks.showException(L)),"showException"),forceRemount:r||this.notYetRendered,storyContext:F,storyFn:m(()=>y(F),"storyFn"),unboundStoryFn:y};if(await this.runPhase(A,"loading",async()=>{F.loaded=await d(F)}),A.aborted)return;let O=await p(F);if(this.store.addCleanupCallbacks(o,O),this.checkIfAborted(A)||(!D&&!S&&await F.mount(),this.notYetRendered=!1,A.aborted))return;let R=this.story.parameters?.test?.dangerouslyIgnoreUnhandledErrors===!0,N=new Set,j=m(L=>N.add("error"in L?L.error:L.reason),"onError");if(this.renderOptions.autoplay&&r&&E&&this.phase!=="errored"){window.addEventListener("error",j),window.addEventListener("unhandledrejection",j),this.disableKeyListeners=!0;try{if(S?await E(F):(F.mount=async()=>{throw new wr({playFunction:E.toString()})},await this.runPhase(A,"playing",async()=>E(F))),!D)throw new ti;this.checkIfAborted(A),!R&&N.size>0?await this.runPhase(A,"errored"):await this.runPhase(A,"played")}catch(L){if(this.callbacks.showStoryDuringRender?.(),await this.runPhase(A,"errored",async()=>{this.channel.emit(ci,Xn(L))}),this.story.parameters.throwPlayFunctionExceptions!==!1)throw L;console.error(L)}if(!R&&N.size>0&&this.channel.emit(Di,Array.from(N).map(Xn)),this.disableKeyListeners=!1,window.removeEventListener("unhandledrejection",j),window.removeEventListener("error",j),A.aborted)return}await this.runPhase(A,"completed",async()=>this.channel.emit(er,i)),this.phase!=="errored"&&await this.runPhase(A,"afterEach",async()=>{await h(F)});let U=!R&&N.size>0,P=F.reporting.reports.some(L=>L.status==="failed"),K=U||P;await this.runPhase(A,"finished",async()=>this.channel.emit(In,{storyId:i,status:K?"error":"success",reporters:F.reporting.reports}))}catch(F){this.phase="errored",this.callbacks.showException(F),await this.runPhase(A,"finished",async()=>this.channel.emit(In,{storyId:i,status:"error",reporters:[]}))}this.rerenderEnqueued&&(this.rerenderEnqueued=!1,this.render())}async rerender(){if(this.isPending()&&this.phase!=="playing")this.rerenderEnqueued=!0;else return this.render()}async remount(){return await this.teardown(),this.render({forceRemount:!0})}cancelRender(){this.abortController?.abort()}async teardown(){this.torndown=!0,this.cancelRender(),this.story&&await this.store.cleanupStory(this.story);for(let t=0;t<3;t+=1){if(!this.isPending()){await this.teardownRender();return}await new Promise(r=>setTimeout(r,0))}window.location.reload(),await new Promise(()=>{})}};m(Ns,"StoryRender");var Qn=Ns,{fetch:$h}=Ee,qh="./index.json",js=class{constructor(t,r,n=bt.getChannel(),o=!0){this.importFn=t,this.getProjectAnnotations=r,this.channel=n,this.storyRenders=[],this.storeInitializationPromise=new Promise((i,a)=>{this.resolveStoreInitializationPromise=i,this.rejectStoreInitializationPromise=a}),o&&this.initialize()}get storyStore(){return new Proxy({},{get:m((t,r)=>{if(this.storyStoreValue)return Ge("Accessing the Story Store is deprecated and will be removed in 9.0"),this.storyStoreValue[r];throw new Ya},"get")})}async initialize(){this.setupListeners();try{let t=await this.getProjectAnnotationsOrRenderError();await this.runBeforeAllHook(t),await this.initializeWithProjectAnnotations(t)}catch(t){this.rejectStoreInitializationPromise(t)}}ready(){return this.storeInitializationPromise}setupListeners(){this.channel.on(gi,this.onStoryIndexChanged.bind(this)),this.channel.on(kr,this.onUpdateGlobals.bind(this)),this.channel.on(tr,this.onUpdateArgs.bind(this)),this.channel.on(ai,this.onRequestArgTypesInfo.bind(this)),this.channel.on(Zt,this.onResetArgs.bind(this)),this.channel.on(Ir,this.onForceReRender.bind(this)),this.channel.on(li,this.onForceRemount.bind(this))}async getProjectAnnotationsOrRenderError(){try{let t=await this.getProjectAnnotations();if(this.renderToCanvas=t.renderToCanvas,!this.renderToCanvas)throw new ja;return t}catch(t){throw this.renderPreviewEntryError("Error reading preview.js:",t),t}}async initializeWithProjectAnnotations(t){this.projectAnnotationsBeforeInitialization=t;try{let r=await this.getStoryIndexFromServer();return this.initializeWithStoryIndex(r)}catch(r){throw this.renderPreviewEntryError("Error loading story index:",r),r}}async runBeforeAllHook(t){try{await this.beforeAllCleanup?.(),this.beforeAllCleanup=await t.beforeAll?.()}catch(r){throw this.renderPreviewEntryError("Error in beforeAll hook:",r),r}}async getStoryIndexFromServer(){let t=await $h(qh);if(t.status===200)return t.json();throw new Ua({text:await t.text()})}initializeWithStoryIndex(t){if(!this.projectAnnotationsBeforeInitialization)throw new Error("Cannot call initializeWithStoryIndex until project annotations resolve");this.storyStoreValue=new Nh(t,this.importFn,this.projectAnnotationsBeforeInitialization),delete this.projectAnnotationsBeforeInitialization,this.setInitialGlobals(),this.resolveStoreInitializationPromise()}async setInitialGlobals(){this.emitGlobals()}emitGlobals(){if(!this.storyStoreValue)throw new ke({methodName:"emitGlobals"});let t={globals:this.storyStoreValue.userGlobals.get()||{},globalTypes:this.storyStoreValue.projectAnnotations.globalTypes||{}};this.channel.emit(fi,t)}async onGetProjectAnnotationsChanged({getProjectAnnotations:t}){delete this.previewEntryError,this.getProjectAnnotations=t;let r=await this.getProjectAnnotationsOrRenderError();if(await this.runBeforeAllHook(r),!this.storyStoreValue){await this.initializeWithProjectAnnotations(r);return}this.storyStoreValue.setProjectAnnotations(r),this.emitGlobals()}async onStoryIndexChanged(){if(delete this.previewEntryError,!(!this.storyStoreValue&&!this.projectAnnotationsBeforeInitialization))try{let t=await this.getStoryIndexFromServer();if(this.projectAnnotationsBeforeInitialization){this.initializeWithStoryIndex(t);return}await this.onStoriesChanged({storyIndex:t})}catch(t){throw this.renderPreviewEntryError("Error loading story index:",t),t}}async onStoriesChanged({importFn:t,storyIndex:r}){if(!this.storyStoreValue)throw new ke({methodName:"onStoriesChanged"});await this.storyStoreValue.onStoriesChanged({importFn:t,storyIndex:r})}async onUpdateGlobals({globals:t,currentStory:r}){if(this.storyStoreValue||await this.storeInitializationPromise,!this.storyStoreValue)throw new ke({methodName:"onUpdateGlobals"});if(this.storyStoreValue.userGlobals.update(t),r){let{initialGlobals:n,storyGlobals:o,userGlobals:i,globals:a}=this.storyStoreValue.getStoryContext(r);this.channel.emit(ft,{initialGlobals:n,userGlobals:i,storyGlobals:o,globals:a})}else{let{initialGlobals:n,globals:o}=this.storyStoreValue.userGlobals;this.channel.emit(ft,{initialGlobals:n,userGlobals:o,storyGlobals:{},globals:o})}await Promise.all(this.storyRenders.map(n=>n.rerender()))}async onUpdateArgs({storyId:t,updatedArgs:r}){if(!this.storyStoreValue)throw new ke({methodName:"onUpdateArgs"});this.storyStoreValue.args.update(t,r),await Promise.all(this.storyRenders.filter(n=>n.id===t&&!n.renderOptions.forceInitialArgs).map(n=>n.story&&n.story.usesMount?n.remount():n.rerender())),this.channel.emit(Fn,{storyId:t,args:this.storyStoreValue.args.get(t)})}async onRequestArgTypesInfo({id:t,payload:r}){try{await this.storeInitializationPromise;let n=await this.storyStoreValue?.loadStory(r);this.channel.emit(xn,{id:t,success:!0,payload:{argTypes:n?.argTypes||{}},error:null})}catch(n){this.channel.emit(xn,{id:t,success:!1,error:n?.message})}}async onResetArgs({storyId:t,argNames:r}){if(!this.storyStoreValue)throw new ke({methodName:"onResetArgs"});let n=this.storyRenders.find(i=>i.id===t)?.story||await this.storyStoreValue.loadStory({storyId:t}),o=(r||[...new Set([...Object.keys(n.initialArgs),...Object.keys(this.storyStoreValue.args.get(t))])]).reduce((i,a)=>(i[a]=n.initialArgs[a],i),{});await this.onUpdateArgs({storyId:t,updatedArgs:o})}async onForceReRender(){await Promise.all(this.storyRenders.map(t=>t.rerender()))}async onForceRemount({storyId:t}){await Promise.all(this.storyRenders.filter(r=>r.id===t).map(r=>r.remount()))}renderStoryToElement(t,r,n,o){if(!this.renderToCanvas||!this.storyStoreValue)throw new ke({methodName:"renderStoryToElement"});let i=new Qn(this.channel,this.storyStoreValue,this.renderToCanvas,n,t.id,"docs",o,t);return i.renderToElement(r),this.storyRenders.push(i),async()=>{await this.teardownRender(i)}}async teardownRender(t,{viewModeChanged:r}={}){this.storyRenders=this.storyRenders.filter(n=>n!==t),await t?.teardown?.({viewModeChanged:r})}async loadStory({storyId:t}){if(!this.storyStoreValue)throw new ke({methodName:"loadStory"});return this.storyStoreValue.loadStory({storyId:t})}getStoryContext(t,{forceInitialArgs:r=!1}={}){if(!this.storyStoreValue)throw new ke({methodName:"getStoryContext"});return this.storyStoreValue.getStoryContext(t,{forceInitialArgs:r})}async extract(t){if(!this.storyStoreValue)throw new ke({methodName:"extract"});if(this.previewEntryError)throw this.previewEntryError;return await this.storyStoreValue.cacheAllCSFFiles(),this.storyStoreValue.extract(t)}renderPreviewEntryError(t,r){this.previewEntryError=r,Q.error(t),Q.error(r),this.channel.emit(ii,r)}};m(js,"Preview");var Ls=js,Vh=!1,Mn="Invariant failed";function Pr(e,t){if(!e){if(Vh)throw new Error(Mn);var r=typeof t=="function"?t():t,n=r?"".concat(Mn,": ").concat(r):Mn;throw new Error(n)}}m(Pr,"invariant");var Ms=class{constructor(t,r,n,o){this.channel=t,this.store=r,this.renderStoryToElement=n,this.storyIdByName=m(i=>{let a=this.nameToStoryId.get(i);if(a)return a;throw new Error(`No story found with that name: ${i}`)},"storyIdByName"),this.componentStories=m(()=>this.componentStoriesValue,"componentStories"),this.componentStoriesFromCSFFile=m(i=>this.store.componentStoriesFromCSFFile({csfFile:i}),"componentStoriesFromCSFFile"),this.storyById=m(i=>{if(!i){if(!this.primaryStory)throw new Error("No primary story defined for docs entry. Did you forget to use ``?");return this.primaryStory}let a=this.storyIdToCSFFile.get(i);if(!a)throw new Error(`Called \`storyById\` for story that was never loaded: ${i}`);return this.store.storyFromCSFFile({storyId:i,csfFile:a})},"storyById"),this.getStoryContext=m(i=>({...this.store.getStoryContext(i),loaded:{},viewMode:"docs"}),"getStoryContext"),this.loadStory=m(i=>this.store.loadStory({storyId:i}),"loadStory"),this.componentStoriesValue=[],this.storyIdToCSFFile=new Map,this.exportToStory=new Map,this.exportsToCSFFile=new Map,this.nameToStoryId=new Map,this.attachedCSFFiles=new Set,o.forEach((i,a)=>{this.referenceCSFFile(i)})}referenceCSFFile(t){this.exportsToCSFFile.set(t.moduleExports,t),this.exportsToCSFFile.set(t.moduleExports.default,t),this.store.componentStoriesFromCSFFile({csfFile:t}).forEach(r=>{let n=t.stories[r.id];this.storyIdToCSFFile.set(n.id,t),this.exportToStory.set(n.moduleExport,r)})}attachCSFFile(t){if(!this.exportsToCSFFile.has(t.moduleExports))throw new Error("Cannot attach a CSF file that has not been referenced");this.attachedCSFFiles.has(t)||(this.attachedCSFFiles.add(t),this.store.componentStoriesFromCSFFile({csfFile:t}).forEach(r=>{this.nameToStoryId.set(r.name,r.id),this.componentStoriesValue.push(r),this.primaryStory||(this.primaryStory=r)}))}referenceMeta(t,r){let n=this.resolveModuleExport(t);if(n.type!=="meta")throw new Error(" must reference a CSF file module export or meta export. Did you mistakenly reference your component instead of your CSF file?");r&&this.attachCSFFile(n.csfFile)}get projectAnnotations(){let{projectAnnotations:t}=this.store;if(!t)throw new Error("Can't get projectAnnotations from DocsContext before they are initialized");return t}resolveAttachedModuleExportType(t){if(t==="story"){if(!this.primaryStory)throw new Error("No primary story attached to this docs file, did you forget to use ?");return{type:"story",story:this.primaryStory}}if(this.attachedCSFFiles.size===0)throw new Error("No CSF file attached to this docs file, did you forget to use ?");let r=Array.from(this.attachedCSFFiles)[0];if(t==="meta")return{type:"meta",csfFile:r};let{component:n}=r.meta;if(!n)throw new Error("Attached CSF file does not defined a component, did you forget to export one?");return{type:"component",component:n}}resolveModuleExport(t){let r=this.exportsToCSFFile.get(t);if(r)return{type:"meta",csfFile:r};let n=this.exportToStory.get(mt(t)?t.input:t);return n?{type:"story",story:n}:{type:"component",component:t}}resolveOf(t,r=[]){let n;if(["component","meta","story"].includes(t)){let o=t;n=this.resolveAttachedModuleExportType(o)}else n=this.resolveModuleExport(t);if(r.length&&!r.includes(n.type)){let o=n.type==="component"?"component or unknown":n.type;throw new Error(fe`Invalid value passed to the 'of' prop. The value was resolved to a '${o}' type but the only types for this block are: ${r.join(", ")}. - - Did you pass a component to the 'of' prop when the block only supports a story or a meta? - - ... or vice versa? - - Did you pass a story, CSF file or meta to the 'of' prop that is not indexed, ie. is not targeted by the 'stories' globs in the main configuration?`)}switch(n.type){case"component":return{...n,projectAnnotations:this.projectAnnotations};case"meta":return{...n,preparedMeta:this.store.preparedMetaFromCSFFile({csfFile:n.csfFile})};case"story":default:return n}}};m(Ms,"DocsContext");var mo=Ms,Us=class{constructor(t,r,n,o){this.channel=t,this.store=r,this.entry=n,this.callbacks=o,this.type="docs",this.subtype="csf",this.torndown=!1,this.disableKeyListeners=!1,this.preparing=!1,this.id=n.id}isPreparing(){return this.preparing}async prepare(){this.preparing=!0;let{entryExports:t,csfFiles:r=[]}=await this.store.loadEntry(this.id);if(this.torndown)throw Vr;let{importPath:n,title:o}=this.entry,i=this.store.processCSFFileWithCache(t,n,o),a=Object.keys(i.stories)[0];this.story=this.store.storyFromCSFFile({storyId:a,csfFile:i}),this.csfFiles=[i,...r],this.preparing=!1}isEqual(t){return!!(this.id===t.id&&this.story&&this.story===t.story)}docsContext(t){if(!this.csfFiles)throw new Error("Cannot render docs before preparing");let r=new mo(this.channel,this.store,t,this.csfFiles);return this.csfFiles.forEach(n=>r.attachCSFFile(n)),r}async renderToElement(t,r){if(!this.story||!this.csfFiles)throw new Error("Cannot render docs before preparing");let n=this.docsContext(r),{docs:o}=this.story.parameters||{};if(!o)throw new Error("Cannot render a story in viewMode=docs if `@storybook/addon-docs` is not installed");let i=await o.renderer(),{render:a}=i,l=m(async()=>{try{await a(n,o,t),this.channel.emit(Fr,this.id)}catch(u){this.callbacks.showException(u)}},"renderDocs");return this.rerender=async()=>l(),this.teardownRender=async({viewModeChanged:u})=>{!u||!t||i.unmount(t)},l()}async teardown({viewModeChanged:t}={}){this.teardownRender?.({viewModeChanged:t}),this.torndown=!0}};m(Us,"CsfDocsRender");var $i=Us,$s=class{constructor(t,r,n,o){this.channel=t,this.store=r,this.entry=n,this.callbacks=o,this.type="docs",this.subtype="mdx",this.torndown=!1,this.disableKeyListeners=!1,this.preparing=!1,this.id=n.id}isPreparing(){return this.preparing}async prepare(){this.preparing=!0;let{entryExports:t,csfFiles:r=[]}=await this.store.loadEntry(this.id);if(this.torndown)throw Vr;this.csfFiles=r,this.exports=t,this.preparing=!1}isEqual(t){return!!(this.id===t.id&&this.exports&&this.exports===t.exports)}docsContext(t){if(!this.csfFiles)throw new Error("Cannot render docs before preparing");return new mo(this.channel,this.store,t,this.csfFiles)}async renderToElement(t,r){if(!this.exports||!this.csfFiles||!this.store.projectAnnotations)throw new Error("Cannot render docs before preparing");let n=this.docsContext(r),{docs:o}=this.store.projectAnnotations.parameters||{};if(!o)throw new Error("Cannot render a story in viewMode=docs if `@storybook/addon-docs` is not installed");let i={...o,page:this.exports.default},a=await o.renderer(),{render:l}=a,u=m(async()=>{try{await l(n,i,t),this.channel.emit(Fr,this.id)}catch(c){this.callbacks.showException(c)}},"renderDocs");return this.rerender=async()=>u(),this.teardownRender=async({viewModeChanged:c}={})=>{!c||!t||(a.unmount(t),this.torndown=!0)},u()}async teardown({viewModeChanged:t}={}){this.teardownRender?.({viewModeChanged:t}),this.torndown=!0}};m($s,"MdxDocsRender");var qi=$s,Jh=globalThis;function qs(e){let t=e.composedPath&&e.composedPath()[0]||e.target;return/input|textarea/i.test(t.tagName)||t.getAttribute("contenteditable")!==null}m(qs,"focusInInput");var Vs="attached-mdx",Hh="unattached-mdx";function Js({tags:e}){return e?.includes(Hh)||e?.includes(Vs)}m(Js,"isMdxEntry");function Br(e){return e.type==="story"}m(Br,"isStoryRender");function Hs(e){return e.type==="docs"}m(Hs,"isDocsRender");function zs(e){return Hs(e)&&e.subtype==="csf"}m(zs,"isCsfDocsRender");var Gs=class extends Ls{constructor(t,r,n,o){super(t,r,void 0,!1),this.importFn=t,this.getProjectAnnotations=r,this.selectionStore=n,this.view=o,this.initialize()}setupListeners(){super.setupListeners(),Jh.onkeydown=this.onKeydown.bind(this),this.channel.on(hi,this.onSetCurrentStory.bind(this)),this.channel.on(Si,this.onUpdateQueryParams.bind(this)),this.channel.on(di,this.onPreloadStories.bind(this))}async setInitialGlobals(){if(!this.storyStoreValue)throw new ke({methodName:"setInitialGlobals"});let{globals:t}=this.selectionStore.selectionSpecifier||{};t&&this.storyStoreValue.userGlobals.updateFromPersisted(t),this.emitGlobals()}async initializeWithStoryIndex(t){return await super.initializeWithStoryIndex(t),this.selectSpecifiedStory()}async selectSpecifiedStory(){if(!this.storyStoreValue)throw new ke({methodName:"selectSpecifiedStory"});if(this.selectionStore.selection){await this.renderSelection();return}if(!this.selectionStore.selectionSpecifier){this.renderMissingStory();return}let{storySpecifier:t,args:r}=this.selectionStore.selectionSpecifier,n=this.storyStoreValue.storyIndex.entryFromSpecifier(t);if(!n){t==="*"?this.renderStoryLoadingException(t,new Ja):this.renderStoryLoadingException(t,new za({storySpecifier:t.toString()}));return}let{id:o,type:i}=n;this.selectionStore.setSelection({storyId:o,viewMode:i}),this.channel.emit(Ei,this.selectionStore.selection),this.channel.emit(Tn,this.selectionStore.selection),await this.renderSelection({persistedArgs:r})}async onGetProjectAnnotationsChanged({getProjectAnnotations:t}){await super.onGetProjectAnnotationsChanged({getProjectAnnotations:t}),this.selectionStore.selection&&this.renderSelection()}async onStoriesChanged({importFn:t,storyIndex:r}){await super.onStoriesChanged({importFn:t,storyIndex:r}),this.selectionStore.selection?await this.renderSelection():await this.selectSpecifiedStory()}onKeydown(t){if(!this.storyRenders.find(r=>r.disableKeyListeners)&&!qs(t)){let{altKey:r,ctrlKey:n,metaKey:o,shiftKey:i,key:a,code:l,keyCode:u}=t;this.channel.emit(pi,{event:{altKey:r,ctrlKey:n,metaKey:o,shiftKey:i,key:a,code:l,keyCode:u}})}}async onSetCurrentStory(t){this.selectionStore.setSelection({viewMode:"story",...t}),await this.storeInitializationPromise,this.channel.emit(Tn,this.selectionStore.selection),this.renderSelection()}onUpdateQueryParams(t){this.selectionStore.setQueryParams(t)}async onUpdateGlobals({globals:t}){let r=this.currentRender instanceof Qn&&this.currentRender.story||void 0;super.onUpdateGlobals({globals:t,currentStory:r}),(this.currentRender instanceof qi||this.currentRender instanceof $i)&&await this.currentRender.rerender?.()}async onUpdateArgs({storyId:t,updatedArgs:r}){super.onUpdateArgs({storyId:t,updatedArgs:r})}async onPreloadStories({ids:t}){await this.storeInitializationPromise,this.storyStoreValue&&await Promise.allSettled(t.map(r=>this.storyStoreValue?.loadEntry(r)))}async renderSelection({persistedArgs:t}={}){let{renderToCanvas:r}=this;if(!this.storyStoreValue||!r)throw new ke({methodName:"renderSelection"});let{selection:n}=this.selectionStore;if(!n)throw new Error("Cannot call renderSelection as no selection was made");let{storyId:o}=n,i;try{i=await this.storyStoreValue.storyIdToEntry(o)}catch(h){this.currentRender&&await this.teardownRender(this.currentRender),this.renderStoryLoadingException(o,h);return}let a=this.currentSelection?.storyId!==o,l=this.currentRender?.type!==i.type;i.type==="story"?this.view.showPreparingStory({immediate:l}):this.view.showPreparingDocs({immediate:l}),this.currentRender?.isPreparing()&&await this.teardownRender(this.currentRender);let u;i.type==="story"?u=new Qn(this.channel,this.storyStoreValue,r,this.mainStoryCallbacks(o),o,"story"):Js(i)?u=new qi(this.channel,this.storyStoreValue,i,this.mainStoryCallbacks(o)):u=new $i(this.channel,this.storyStoreValue,i,this.mainStoryCallbacks(o));let c=this.currentSelection;this.currentSelection=n;let d=this.currentRender;this.currentRender=u;try{await u.prepare()}catch(h){d&&await this.teardownRender(d),h!==Vr&&this.renderStoryLoadingException(o,h);return}let p=!a&&d&&!u.isEqual(d);if(t&&Br(u)&&(Pr(!!u.story),this.storyStoreValue.args.updateFromPersisted(u.story,t)),d&&!d.torndown&&!a&&!p&&!l){this.currentRender=d,this.channel.emit(Ai,o),this.view.showMain();return}if(d&&await this.teardownRender(d,{viewModeChanged:l}),c&&(a||l)&&this.channel.emit(mi,o),Br(u)){Pr(!!u.story);let{parameters:h,initialArgs:y,argTypes:E,unmappedArgs:v,initialGlobals:A,userGlobals:D,storyGlobals:S,globals:F}=this.storyStoreValue.getStoryContext(u.story);this.channel.emit(bi,{id:o,parameters:h,initialArgs:y,argTypes:E,args:v}),this.channel.emit(ft,{userGlobals:D,storyGlobals:S,globals:F,initialGlobals:A})}else{let{parameters:h}=this.storyStoreValue.projectAnnotations,{initialGlobals:y,globals:E}=this.storyStoreValue.userGlobals;if(this.channel.emit(ft,{globals:E,initialGlobals:y,storyGlobals:{},userGlobals:E}),zs(u)||u.entry.tags?.includes(Vs)){if(!u.csfFiles)throw new qa({storyId:o});({parameters:h}=this.storyStoreValue.preparedMetaFromCSFFile({csfFile:u.csfFiles[0]}))}this.channel.emit(si,{id:o,parameters:h})}Br(u)?(Pr(!!u.story),this.storyRenders.push(u),this.currentRender.renderToElement(this.view.prepareForStory(u.story))):this.currentRender.renderToElement(this.view.prepareForDocs(),this.renderStoryToElement.bind(this))}async teardownRender(t,{viewModeChanged:r=!1}={}){this.storyRenders=this.storyRenders.filter(n=>n!==t),await t?.teardown?.({viewModeChanged:r})}mainStoryCallbacks(t){return{showStoryDuringRender:m(()=>this.view.showStoryDuringRender(),"showStoryDuringRender"),showMain:m(()=>this.view.showMain(),"showMain"),showError:m(r=>this.renderError(t,r),"showError"),showException:m(r=>this.renderException(t,r),"showException")}}renderPreviewEntryError(t,r){super.renderPreviewEntryError(t,r),this.view.showErrorDisplay(r)}renderMissingStory(){this.view.showNoPreview(),this.channel.emit(kn)}renderStoryLoadingException(t,r){Q.error(r),this.view.showErrorDisplay(r),this.channel.emit(kn,t)}renderException(t,r){let{name:n="Error",message:o=String(r),stack:i}=r;this.channel.emit(vi,{name:n,message:o,stack:i}),this.channel.emit(It,{newPhase:"errored",storyId:t}),this.view.showErrorDisplay(r),Q.error(`Error rendering story '${t}':`),Q.error(r)}renderError(t,{title:r,description:n}){Q.error(`Error rendering story ${r}: ${n}`),this.channel.emit(yi,{title:r,description:n}),this.channel.emit(It,{newPhase:"errored",storyId:t}),this.view.showErrorDisplay({message:r,stack:n})}};m(Gs,"PreviewWithSelection");var zh=Gs,Zn=Bt(oo(),1),Gh=Bt(oo(),1),Vi=/^[a-zA-Z0-9 _-]*$/,Ws=/^-?[0-9]+(\.[0-9]+)?$/,Wh=/^#([a-f0-9]{3,4}|[a-f0-9]{6}|[a-f0-9]{8})$/i,Ks=/^(rgba?|hsla?)\(([0-9]{1,3}),\s?([0-9]{1,3})%?,\s?([0-9]{1,3})%?,?\s?([0-9](\.[0-9]{1,2})?)?\)$/i,eo=m((e="",t)=>e===null||e===""||!Vi.test(e)?!1:t==null||t instanceof Date||typeof t=="number"||typeof t=="boolean"?!0:typeof t=="string"?Vi.test(t)||Ws.test(t)||Wh.test(t)||Ks.test(t):Array.isArray(t)?t.every(r=>eo(e,r)):Le(t)?Object.entries(t).every(([r,n])=>eo(r,n)):!1,"validateArgs"),Kh={delimiter:";",nesting:!0,arrayRepeat:!0,arrayRepeatSyntax:"bracket",nestingSyntax:"js",valueDeserializer(e){if(e.startsWith("!")){if(e==="!undefined")return;if(e==="!null")return null;if(e==="!true")return!0;if(e==="!false")return!1;if(e.startsWith("!date(")&&e.endsWith(")"))return new Date(e.replaceAll(" ","+").slice(6,-1));if(e.startsWith("!hex(")&&e.endsWith(")"))return`#${e.slice(5,-1)}`;let t=e.slice(1).match(Ks);if(t)return e.startsWith("!rgba")||e.startsWith("!RGBA")?`${t[1]}(${t[2]}, ${t[3]}, ${t[4]}, ${t[5]})`:e.startsWith("!hsla")||e.startsWith("!HSLA")?`${t[1]}(${t[2]}, ${t[3]}%, ${t[4]}%, ${t[5]})`:e.startsWith("!rgb")||e.startsWith("!RGB")?`${t[1]}(${t[2]}, ${t[3]}, ${t[4]})`:`${t[1]}(${t[2]}, ${t[3]}%, ${t[4]}%)`}return Ws.test(e)?Number(e):e}},Ji=m(e=>{let t=e.split(";").map(r=>r.replace("=","~").replace(":","="));return Object.entries((0,Gh.parse)(t.join(";"),Kh)).reduce((r,[n,o])=>eo(n,o)?Object.assign(r,{[n]:o}):(ot.warn(fe` - Omitted potentially unsafe URL args. - - More info: https://storybook.js.org/docs/writing-stories/args#setting-args-through-the-url - `),r),{})},"parseArgsParam"),{history:Ys,document:lt}=Ee;function Xs(e){let t=(e||"").match(/^\/story\/(.+)/);if(!t)throw new Error(`Invalid path '${e}', must start with '/story/'`);return t[1]}m(Xs,"pathToId");var Qs=m(({selection:e,extraParams:t})=>{let r=lt?.location.search.slice(1),{path:n,selectedKind:o,selectedStory:i,...a}=(0,Zn.parse)(r);return`?${(0,Zn.stringify)({...a,...t,...e&&{id:e.storyId,viewMode:e.viewMode}})}`},"getQueryString"),Yh=m(e=>{if(!e)return;let t=Qs({selection:e}),{hash:r=""}=lt.location;lt.title=e.storyId,Ys.replaceState({},"",`${lt.location.pathname}${t}${r}`)},"setPath"),Xh=m(e=>e!=null&&typeof e=="object"&&Array.isArray(e)===!1,"isObject"),nr=m(e=>{if(e!==void 0){if(typeof e=="string")return e;if(Array.isArray(e))return nr(e[0]);if(Xh(e))return nr(Object.values(e).filter(Boolean))}},"getFirstString"),Qh=m(()=>{if(typeof lt<"u"){let e=lt.location.search.slice(1),t=(0,Zn.parse)(e),r=typeof t.args=="string"?Ji(t.args):void 0,n=typeof t.globals=="string"?Ji(t.globals):void 0,o=nr(t.viewMode);(typeof o!="string"||!o.match(/docs|story/))&&(o="story");let i=nr(t.path),a=i?Xs(i):nr(t.id);if(a)return{storySpecifier:a,args:r,globals:n,viewMode:o}}return null},"getSelectionSpecifierFromPath"),Zs=class{constructor(){this.selectionSpecifier=Qh()}setSelection(t){this.selection=t,Yh(this.selection)}setQueryParams(t){let r=Qs({extraParams:t}),{hash:n=""}=lt.location;Ys.replaceState({},"",`${lt.location.pathname}${r}${n}`)}};m(Zs,"UrlStore");var Zh=Zs,ef=Bt(Tp(),1),tf=Bt(oo(),1),{document:xe}=Ee,Hi=100,el=(e=>(e.MAIN="MAIN",e.NOPREVIEW="NOPREVIEW",e.PREPARING_STORY="PREPARING_STORY",e.PREPARING_DOCS="PREPARING_DOCS",e.ERROR="ERROR",e))(el||{}),Un={PREPARING_STORY:"sb-show-preparing-story",PREPARING_DOCS:"sb-show-preparing-docs",MAIN:"sb-show-main",NOPREVIEW:"sb-show-nopreview",ERROR:"sb-show-errordisplay"},$n={centered:"sb-main-centered",fullscreen:"sb-main-fullscreen",padded:"sb-main-padded"},zi=new ef.default({escapeXML:!0}),tl=class{constructor(){if(this.testing=!1,typeof xe<"u"){let{__SPECIAL_TEST_PARAMETER__:t}=(0,tf.parse)(xe.location.search.slice(1));switch(t){case"preparing-story":{this.showPreparingStory(),this.testing=!0;break}case"preparing-docs":{this.showPreparingDocs(),this.testing=!0;break}default:}}}prepareForStory(t){return this.showStory(),this.applyLayout(t.parameters.layout),xe.documentElement.scrollTop=0,xe.documentElement.scrollLeft=0,this.storyRoot()}storyRoot(){return xe.getElementById("storybook-root")}prepareForDocs(){return this.showMain(),this.showDocs(),this.applyLayout("fullscreen"),xe.documentElement.scrollTop=0,xe.documentElement.scrollLeft=0,this.docsRoot()}docsRoot(){return xe.getElementById("storybook-docs")}applyLayout(t="padded"){if(t==="none"){xe.body.classList.remove(this.currentLayoutClass),this.currentLayoutClass=null;return}this.checkIfLayoutExists(t);let r=$n[t];xe.body.classList.remove(this.currentLayoutClass),xe.body.classList.add(r),this.currentLayoutClass=r}checkIfLayoutExists(t){$n[t]||Q.warn(fe` - The desired layout: ${t} is not a valid option. - The possible options are: ${Object.keys($n).join(", ")}, none. - `)}showMode(t){clearTimeout(this.preparingTimeout),Object.keys(el).forEach(r=>{r===t?xe.body.classList.add(Un[r]):xe.body.classList.remove(Un[r])})}showErrorDisplay({message:t="",stack:r=""}){let n=t,o=r,i=t.split(` -`);i.length>1&&([n]=i,o=i.slice(1).join(` -`).replace(/^\n/,"")),xe.getElementById("error-message").innerHTML=zi.toHtml(n),xe.getElementById("error-stack").innerHTML=zi.toHtml(o),this.showMode("ERROR")}showNoPreview(){this.testing||(this.showMode("NOPREVIEW"),this.storyRoot()?.setAttribute("hidden","true"),this.docsRoot()?.setAttribute("hidden","true"))}showPreparingStory({immediate:t=!1}={}){clearTimeout(this.preparingTimeout),t?this.showMode("PREPARING_STORY"):this.preparingTimeout=setTimeout(()=>this.showMode("PREPARING_STORY"),Hi)}showPreparingDocs({immediate:t=!1}={}){clearTimeout(this.preparingTimeout),t?this.showMode("PREPARING_DOCS"):this.preparingTimeout=setTimeout(()=>this.showMode("PREPARING_DOCS"),Hi)}showMain(){this.showMode("MAIN")}showDocs(){this.storyRoot().setAttribute("hidden","true"),this.docsRoot().removeAttribute("hidden")}showStory(){this.docsRoot().setAttribute("hidden","true"),this.storyRoot().removeAttribute("hidden")}showStoryDuringRender(){xe.body.classList.add(Un.MAIN)}};m(tl,"WebView");var rf=tl,nf=class extends zh{constructor(t,r){super(t,r,new Zh,new rf),this.importFn=t,this.getProjectAnnotations=r,Ee.__STORYBOOK_PREVIEW__=this}};m(nf,"PreviewWeb");var{document:gt}=Ee,of=["application/javascript","application/ecmascript","application/x-ecmascript","application/x-javascript","text/ecmascript","text/javascript","text/javascript1.0","text/javascript1.1","text/javascript1.2","text/javascript1.3","text/javascript1.4","text/javascript1.5","text/jscript","text/livescript","text/x-ecmascript","text/x-javascript","module"],af="script",Gi="scripts-root";function to(){let e=gt.createEvent("Event");e.initEvent("DOMContentLoaded",!0,!0),gt.dispatchEvent(e)}m(to,"simulateDOMContentLoaded");function rl(e,t,r){let n=gt.createElement("script");n.type=e.type==="module"?"module":"text/javascript",e.src?(n.onload=t,n.onerror=t,n.src=e.src):n.textContent=e.innerText,r?r.appendChild(n):gt.head.appendChild(n),e.parentNode.removeChild(e),e.src||t()}m(rl,"insertScript");function yo(e,t,r=0){e[r](()=>{r++,r===e.length?t():yo(e,t,r)})}m(yo,"insertScriptsSequentially");function sf(e){let t=gt.getElementById(Gi);t?t.innerHTML="":(t=gt.createElement("div"),t.id=Gi,gt.body.appendChild(t));let r=Array.from(e.querySelectorAll(af));if(r.length){let n=[];r.forEach(o=>{let i=o.getAttribute("type");(!i||of.includes(i))&&n.push(a=>rl(o,a,t))}),n.length&&yo(n,to,void 0)}else to()}m(sf,"simulatePageLoad");var lf=Object.defineProperty,_=(e,t)=>lf(e,"name",{value:t,configurable:!0}),uf=_(e=>e.name==="literal","isLiteral"),cf=_(e=>e.value.replace(/['|"]/g,""),"toEnumOption"),df=_(e=>{switch(e.type){case"function":return{name:"function"};case"object":let t={};return e.signature.properties.forEach(r=>{t[r.key]=sr(r.value)}),{name:"object",value:t};default:throw new Cr({type:e,language:"Flow"})}},"convertSig"),sr=_(e=>{let{name:t,raw:r}=e,n={};switch(typeof r<"u"&&(n.raw=r),e.name){case"literal":return{...n,name:"other",value:e.value};case"string":case"number":case"symbol":case"boolean":return{...n,name:t};case"Array":return{...n,name:"array",value:e.elements.map(sr)};case"signature":return{...n,...df(e)};case"union":return e.elements?.every(uf)?{...n,name:"enum",value:e.elements?.map(cf)}:{...n,name:t,value:e.elements?.map(sr)};case"intersection":return{...n,name:t,value:e.elements?.map(sr)};default:return{...n,name:"other",value:t}}},"convert");function nl(e,t){let r={},n=Object.keys(e);for(let o=0;oe.replace(ol,""),"trimQuotes"),hf=_(e=>ol.test(e),"includesQuotes"),al=_(e=>{let t=pf(e);return hf(e)||Number.isNaN(Number(t))?t:Number(t)},"parseLiteral"),ff=/^\(.*\) => /,ir=_(e=>{let{name:t,raw:r,computed:n,value:o}=e,i={};switch(typeof r<"u"&&(i.raw=r),t){case"enum":{let l=n?o:o.map(u=>al(u.value));return{...i,name:t,value:l}}case"string":case"number":case"symbol":return{...i,name:t};case"func":return{...i,name:"function"};case"bool":case"boolean":return{...i,name:"boolean"};case"arrayOf":case"array":return{...i,name:"array",value:o&&ir(o)};case"object":return{...i,name:t};case"objectOf":return{...i,name:t,value:ir(o)};case"shape":case"exact":let a=nl(o,l=>ir(l));return{...i,name:"object",value:a};case"union":return{...i,name:"union",value:o.map(l=>ir(l))};case"instanceOf":case"element":case"elementType":default:{if(t?.indexOf("|")>0)try{let c=t.split("|").map(d=>JSON.parse(d));return{...i,name:"enum",value:c}}catch{}let l=o?`${t}(${o})`:t,u=ff.test(t)?"function":"other";return{...i,name:u,value:l}}}},"convert"),mf=_(e=>{switch(e.type){case"function":return{name:"function"};case"object":let t={};return e.signature.properties.forEach(r=>{t[r.key]=lr(r.value)}),{name:"object",value:t};default:throw new Cr({type:e,language:"Typescript"})}},"convertSig"),lr=_(e=>{let{name:t,raw:r}=e,n={};switch(typeof r<"u"&&(n.raw=r),e.name){case"string":case"number":case"symbol":case"boolean":return{...n,name:t};case"Array":return{...n,name:"array",value:e.elements.map(lr)};case"signature":return{...n,...mf(e)};case"union":let o;return e.elements?.every(i=>i.name==="literal")?o={...n,name:"enum",value:e.elements?.map(i=>al(i.value))}:o={...n,name:t,value:e.elements?.map(lr)},o;case"intersection":return{...n,name:t,value:e.elements?.map(lr)};default:return{...n,name:"other",value:t}}},"convert"),go=_(e=>{let{type:t,tsType:r,flowType:n}=e;try{if(t!=null)return ir(t);if(r!=null)return lr(r);if(n!=null)return sr(n)}catch(o){console.error(o)}return null},"convert"),yf=(e=>(e.JAVASCRIPT="JavaScript",e.FLOW="Flow",e.TYPESCRIPT="TypeScript",e.UNKNOWN="Unknown",e))(yf||{}),gf=["null","undefined"];function Jr(e){return gf.some(t=>t===e)}_(Jr,"isDefaultValueBlacklisted");var bf=_(e=>{if(!e)return"";if(typeof e=="string")return e;throw new Error(`Description: expected string, got: ${JSON.stringify(e)}`)},"str");function bo(e){return!!e.__docgenInfo}_(bo,"hasDocgen");function il(e){return e!=null&&Object.keys(e).length>0}_(il,"isValidDocgenSection");function sl(e,t){return bo(e)?e.__docgenInfo[t]:null}_(sl,"getDocgenSection");function ll(e){return bo(e)?bf(e.__docgenInfo.description):""}_(ll,"getDocgenDescription");var ut;(function(e){e.start="/**",e.nostart="/***",e.delim="*",e.end="*/"})(ut=ut||(ut={}));function ul(e){return/^\s+$/.test(e)}_(ul,"isSpace");function cl(e){let t=e.match(/\r+$/);return t==null?["",e]:[e.slice(-t[0].length),e.slice(0,-t[0].length)]}_(cl,"splitCR");function vt(e){let t=e.match(/^\s+/);return t==null?["",e]:[e.slice(0,t[0].length),e.slice(t[0].length)]}_(vt,"splitSpace");function dl(e){return e.split(/\n/)}_(dl,"splitLines");function pl(e={}){return Object.assign({tag:"",name:"",type:"",optional:!1,description:"",problems:[],source:[]},e)}_(pl,"seedSpec");function hl(e={}){return Object.assign({start:"",delimiter:"",postDelimiter:"",tag:"",postTag:"",name:"",postName:"",type:"",postType:"",description:"",end:"",lineEnd:""},e)}_(hl,"seedTokens");var Ef=/^@\S+/;function fl({fence:e="```"}={}){let t=ml(e),r=_((n,o)=>t(n)?!o:o,"toggleFence");return _(function(n){let o=[[]],i=!1;for(let a of n)Ef.test(a.tokens.description)&&!i?o.push([a]):o[o.length-1].push(a),i=r(a.tokens.description,i);return o},"parseBlock")}_(fl,"getParser");function ml(e){return typeof e=="string"?t=>t.split(e).length%2===0:e}_(ml,"getFencer");function yl({startLine:e=0,markers:t=ut}={}){let r=null,n=e;return _(function(o){let i=o,a=hl();if([a.lineEnd,i]=cl(i),[a.start,i]=vt(i),r===null&&i.startsWith(t.start)&&!i.startsWith(t.nostart)&&(r=[],a.delimiter=i.slice(0,t.start.length),i=i.slice(t.start.length),[a.postDelimiter,i]=vt(i)),r===null)return n++,null;let l=i.trimRight().endsWith(t.end);if(a.delimiter===""&&i.startsWith(t.delim)&&!i.startsWith(t.end)&&(a.delimiter=t.delim,i=i.slice(t.delim.length),[a.postDelimiter,i]=vt(i)),l){let u=i.trimRight();a.end=i.slice(u.length-t.end.length),i=u.slice(0,-t.end.length)}if(a.description=i,r.push({number:n,source:o,tokens:a}),n++,l){let u=r.slice();return r=null,u}return null},"parseSource")}_(yl,"getParser");function gl({tokenizers:e}){return _(function(t){var r;let n=pl({source:t});for(let o of e)if(n=o(n),!((r=n.problems[n.problems.length-1])===null||r===void 0)&&r.critical)break;return n},"parseSpec")}_(gl,"getParser");function bl(){return e=>{let{tokens:t}=e.source[0],r=t.description.match(/\s*(@(\S+))(\s*)/);return r===null?(e.problems.push({code:"spec:tag:prefix",message:'tag should start with "@" symbol',line:e.source[0].number,critical:!0}),e):(t.tag=r[1],t.postTag=r[3],t.description=t.description.slice(r[0].length),e.tag=r[2],e)}}_(bl,"tagTokenizer");function El(e="compact"){let t=vl(e);return r=>{let n=0,o=[];for(let[l,{tokens:u}]of r.source.entries()){let c="";if(l===0&&u.description[0]!=="{")return r;for(let d of u.description)if(d==="{"&&n++,d==="}"&&n--,c+=d,n===0)break;if(o.push([u,c]),n===0)break}if(n!==0)return r.problems.push({code:"spec:type:unpaired-curlies",message:"unpaired curlies",line:r.source[0].number,critical:!0}),r;let i=[],a=o[0][0].postDelimiter.length;for(let[l,[u,c]]of o.entries())u.type=c,l>0&&(u.type=u.postDelimiter.slice(a)+c,u.postDelimiter=u.postDelimiter.slice(0,a)),[u.postType,u.description]=vt(u.description.slice(c.length)),i.push(u.type);return i[0]=i[0].slice(1),i[i.length-1]=i[i.length-1].slice(0,-1),r.type=t(i),r}}_(El,"typeTokenizer");var vf=_(e=>e.trim(),"trim");function vl(e){return e==="compact"?t=>t.map(vf).join(""):e==="preserve"?t=>t.join(` -`):e}_(vl,"getJoiner");var Af=_(e=>e&&e.startsWith('"')&&e.endsWith('"'),"isQuoted");function Al(){let e=_((t,{tokens:r},n)=>r.type===""?t:n,"typeEnd");return t=>{let{tokens:r}=t.source[t.source.reduce(e,0)],n=r.description.trimLeft(),o=n.split('"');if(o.length>1&&o[0]===""&&o.length%2===1)return t.name=o[1],r.name=`"${o[1]}"`,[r.postName,r.description]=vt(n.slice(r.name.length)),t;let i=0,a="",l=!1,u;for(let d of n){if(i===0&&ul(d))break;d==="["&&i++,d==="]"&&i--,a+=d}if(i!==0)return t.problems.push({code:"spec:name:unpaired-brackets",message:"unpaired brackets",line:t.source[0].number,critical:!0}),t;let c=a;if(a[0]==="["&&a[a.length-1]==="]"){l=!0,a=a.slice(1,-1);let d=a.split("=");if(a=d[0].trim(),d[1]!==void 0&&(u=d.slice(1).join("=").trim()),a==="")return t.problems.push({code:"spec:name:empty-name",message:"empty name",line:t.source[0].number,critical:!0}),t;if(u==="")return t.problems.push({code:"spec:name:empty-default",message:"empty default value",line:t.source[0].number,critical:!0}),t;if(!Af(u)&&/=(?!>)/.test(u))return t.problems.push({code:"spec:name:invalid-default",message:"invalid default value syntax",line:t.source[0].number,critical:!0}),t}return t.optional=l,t.name=a,r.name=c,u!==void 0&&(t.default=u),[r.postName,r.description]=vt(n.slice(r.name.length)),t}}_(Al,"nameTokenizer");function Dl(e="compact",t=ut){let r=Eo(e);return n=>(n.description=r(n.source,t),n)}_(Dl,"descriptionTokenizer");function Eo(e){return e==="compact"?Sl:e==="preserve"?wl:e}_(Eo,"getJoiner");function Sl(e,t=ut){return e.map(({tokens:{description:r}})=>r.trim()).filter(r=>r!=="").join(" ")}_(Sl,"compactJoiner");var Df=_((e,{tokens:t},r)=>t.type===""?e:r,"lineNo"),Sf=_(({tokens:e})=>(e.delimiter===""?e.start:e.postDelimiter.slice(1))+e.description,"getDescription");function wl(e,t=ut){if(e.length===0)return"";e[0].tokens.description===""&&e[0].tokens.delimiter===t.start&&(e=e.slice(1));let r=e[e.length-1];return r!==void 0&&r.tokens.description===""&&r.tokens.end.endsWith(t.end)&&(e=e.slice(0,-1)),e=e.slice(e.reduce(Df,0)),e.map(Sf).join(` -`)}_(wl,"preserveJoiner");function Cl({startLine:e=0,fence:t="```",spacing:r="compact",markers:n=ut,tokenizers:o=[bl(),El(r),Al(),Dl(r)]}={}){if(e<0||e%1>0)throw new Error("Invalid startLine");let i=yl({startLine:e,markers:n}),a=fl({fence:t}),l=gl({tokenizers:o}),u=Eo(r);return function(c){let d=[];for(let p of dl(c)){let h=i(p);if(h===null)continue;let y=a(h),E=y.slice(1).map(l);d.push({description:u(y[0],n),tags:E,source:h,problems:E.reduce((v,A)=>v.concat(A.problems),[])})}return d}}_(Cl,"getParser");function xl(e){return e.start+e.delimiter+e.postDelimiter+e.tag+e.postTag+e.type+e.postType+e.name+e.postName+e.description+e.end+e.lineEnd}_(xl,"join");function Tl(){return e=>e.source.map(({tokens:t})=>xl(t)).join(` -`)}_(Tl,"getStringifier");var wf={line:0,start:0,delimiter:0,postDelimiter:0,tag:0,postTag:0,name:0,postName:0,type:0,postType:0,description:0,end:0,lineEnd:0},Dv=Object.keys(wf);function Fl(e,t={}){return Cl(t)(e)}_(Fl,"parse");var Sv=Tl();function Il(e){return e!=null&&e.includes("@")}_(Il,"containsJsDoc");function kl(e){let t=`/** -`+(e??"").split(` -`).map(n=>` * ${n}`).join(` -`)+` -*/`,r=Fl(t,{spacing:"preserve"});if(!r||r.length===0)throw new Error("Cannot parse JSDoc tags.");return r[0]}_(kl,"parse");var Cf={tags:["param","arg","argument","returns","ignore","deprecated"]},xf=_((e,t=Cf)=>{if(!Il(e))return{includesJsDoc:!1,ignore:!1};let r=kl(e),n=Rl(r,t.tags);return n.ignore?{includesJsDoc:!0,ignore:!0}:{includesJsDoc:!0,ignore:!1,description:r.description.trim(),extractedTags:n}},"parseJsDoc");function Rl(e,t){let r={params:null,deprecated:null,returns:null,ignore:!1};for(let n of e.tags)if(!(t!==void 0&&!t.includes(n.tag)))if(n.tag==="ignore"){r.ignore=!0;break}else switch(n.tag){case"param":case"arg":case"argument":{let o=_l(n);o!=null&&(r.params==null&&(r.params=[]),r.params.push(o));break}case"deprecated":{let o=Pl(n);o!=null&&(r.deprecated=o);break}case"returns":{let o=Bl(n);o!=null&&(r.returns=o);break}default:break}return r}_(Rl,"extractJsDocTags");function Ol(e){return e.replace(/[\.-]$/,"")}_(Ol,"normaliseParamName");function _l(e){if(!e.name||e.name==="-")return null;let t=Do(e.type);return{name:e.name,type:t,description:Ao(e.description),getPrettyName:_(()=>Ol(e.name),"getPrettyName"),getTypeName:_(()=>t?So(t):null,"getTypeName")}}_(_l,"extractParam");function Pl(e){return e.name?vo(e.name,e.description):null}_(Pl,"extractDeprecated");function vo(e,t){let r=e===""?t:`${e} ${t}`;return Ao(r)}_(vo,"joinNameAndDescription");function Ao(e){let t=e.replace(/^- /g,"").trim();return t===""?null:t}_(Ao,"normaliseDescription");function Bl(e){let t=Do(e.type);return t?{type:t,description:vo(e.name,e.description),getTypeName:_(()=>So(t),"getTypeName")}:null}_(Bl,"extractReturns");var ct=(0,Nt.stringifyRules)(),Tf=ct.JsdocTypeObject;ct.JsdocTypeAny=()=>"any";ct.JsdocTypeObject=(e,t)=>`(${Tf(e,t)})`;ct.JsdocTypeOptional=(e,t)=>t(e.element);ct.JsdocTypeNullable=(e,t)=>t(e.element);ct.JsdocTypeNotNullable=(e,t)=>t(e.element);ct.JsdocTypeUnion=(e,t)=>e.elements.map(t).join("|");function Do(e){try{return(0,Nt.parse)(e,"typescript")}catch{return null}}_(Do,"extractType");function So(e){return(0,Nt.transform)(ct,e)}_(So,"extractTypeName");function wo(e){return e.length>90}_(wo,"isTooLongForTypeSummary");function Nl(e){return e.length>50}_(Nl,"isTooLongForDefaultValueSummary");function me(e,t){return e===t?{summary:e}:{summary:e,detail:t}}_(me,"createSummaryValue");var wv=_(e=>e.replace(/\\r\\n/g,"\\n"),"normalizeNewlines");function jl(e,t){if(e!=null){let{value:r}=e;if(!Jr(r))return Nl(r)?me(t?.name,r):me(r)}return null}_(jl,"createDefaultValue");function Co({name:e,value:t,elements:r,raw:n}){return t??(r!=null?r.map(Co).join(" | "):n??e)}_(Co,"generateUnionElement");function Ll({name:e,raw:t,elements:r}){return r!=null?me(r.map(Co).join(" | ")):t!=null?me(t.replace(/^\|\s*/,"")):me(e)}_(Ll,"generateUnion");function Ml({type:e,raw:t}){return t!=null?me(t):me(e)}_(Ml,"generateFuncSignature");function Ul({type:e,raw:t}){return t!=null?wo(t)?me(e,t):me(t):me(e)}_(Ul,"generateObjectSignature");function $l(e){let{type:t}=e;return t==="object"?Ul(e):Ml(e)}_($l,"generateSignature");function ql({name:e,raw:t}){return t!=null?wo(t)?me(e,t):me(t):me(e)}_(ql,"generateDefault");function Vl(e){if(e==null)return null;switch(e.name){case"union":return Ll(e);case"signature":return $l(e);default:return ql(e)}}_(Vl,"createType");var Ff=_((e,t)=>{let{flowType:r,description:n,required:o,defaultValue:i}=t;return{name:e,type:Vl(r),required:o,description:n,defaultValue:jl(i??null,r??null)}},"createFlowPropDef");function Jl({defaultValue:e}){if(e!=null){let{value:t}=e;if(!Jr(t))return me(t)}return null}_(Jl,"createDefaultValue");function Hl({tsType:e,required:t}){if(e==null)return null;let r=e.name;return t||(r=r.replace(" | undefined","")),me(["Array","Record","signature"].includes(e.name)?e.raw:r)}_(Hl,"createType");var If=_((e,t)=>{let{description:r,required:n}=t;return{name:e,type:Hl(t),required:n,description:r,defaultValue:Jl(t)}},"createTsPropDef");function zl(e){return e!=null?me(e.name):null}_(zl,"createType");function Gl(e){let{computed:t,func:r}=e;return typeof t>"u"&&typeof r>"u"}_(Gl,"isReactDocgenTypescript");function Wl(e){return e?e.name==="string"?!0:e.name==="enum"?Array.isArray(e.value)&&e.value.every(({value:t})=>typeof t=="string"&&t[0]==='"'&&t[t.length-1]==='"'):!1:!1}_(Wl,"isStringValued");function Kl(e,t){if(e!=null){let{value:r}=e;if(!Jr(r))return Gl(e)&&Wl(t)?me(JSON.stringify(r)):me(r)}return null}_(Kl,"createDefaultValue");function xo(e,t,r){let{description:n,required:o,defaultValue:i}=r;return{name:e,type:zl(t),required:o,description:n,defaultValue:Kl(i,t)}}_(xo,"createBasicPropDef");function ur(e,t){if(t?.includesJsDoc){let{description:r,extractedTags:n}=t;r!=null&&(e.description=t.description);let o={...n,params:n?.params?.map(i=>({name:i.getPrettyName(),description:i.description}))};Object.values(o).filter(Boolean).length>0&&(e.jsDocTags=o)}return e}_(ur,"applyJsDocResult");var kf=_((e,t,r)=>{let n=xo(e,t.type,t);return n.sbType=go(t),ur(n,r)},"javaScriptFactory"),Rf=_((e,t,r)=>{let n=If(e,t);return n.sbType=go(t),ur(n,r)},"tsFactory"),Of=_((e,t,r)=>{let n=Ff(e,t);return n.sbType=go(t),ur(n,r)},"flowFactory"),_f=_((e,t,r)=>{let n=xo(e,{name:"unknown"},t);return ur(n,r)},"unknownFactory"),Yl=_(e=>{switch(e){case"JavaScript":return kf;case"TypeScript":return Rf;case"Flow":return Of;default:return _f}},"getPropDefFactory"),Xl=_(e=>e.type!=null?"JavaScript":e.flowType!=null?"Flow":e.tsType!=null?"TypeScript":"Unknown","getTypeSystem"),Pf=_(e=>{let t=Xl(e[0]),r=Yl(t);return e.map(n=>{let o=n;return n.type?.elements&&(o={...n,type:{...n.type,value:n.type.elements}}),To(o.name,o,t,r)})},"extractComponentSectionArray"),Bf=_(e=>{let t=Object.keys(e),r=Xl(e[t[0]]),n=Yl(r);return t.map(o=>{let i=e[o];return i!=null?To(o,i,r,n):null}).filter(Boolean)},"extractComponentSectionObject"),Cv=_((e,t)=>{let r=sl(e,t);return il(r)?Array.isArray(r)?Pf(r):Bf(r):[]},"extractComponentProps");function To(e,t,r,n){let o=xf(t.description);return o.includesJsDoc&&o.ignore?null:{propDef:n(e,t,o),jsDocTags:o.extractedTags,docgenInfo:t,typeSystem:r}}_(To,"extractProp");function Nf(e){return e!=null?ll(e):""}_(Nf,"extractComponentDescription");var Tv=_(e=>{let{component:t,argTypes:r,parameters:{docs:n={}}}=e,{extractArgTypes:o}=n,i=o&&t?o(t):{};return i?Ke(i,r):r},"enhanceArgTypes"),Hr="storybook/docs",Ql=`${Hr}/panel`,Fo="docs",Io=`${Hr}/snippet-rendered`,cr=(e=>(e.AUTO="auto",e.CODE="code",e.DYNAMIC="dynamic",e))(cr||{}),jf=/(addons\/|addon-|addon-essentials\/)(docs|controls)/,Fv=_(e=>e.presetsList?.some(t=>jf.test(t.name)),"hasDocsOrControls");V();J();H();var Lv=__STORYBOOK_API__,{ActiveTabs:Mv,Consumer:Uv,ManagerContext:$v,Provider:qv,RequestResponseError:Vv,addons:ko,combineParameters:Jv,controlOrMetaKey:Hv,controlOrMetaSymbol:zv,eventMatchesShortcut:Gv,eventToShortcut:Wv,experimental_MockUniversalStore:Kv,experimental_UniversalStore:Yv,experimental_requestResponse:Xv,experimental_useUniversalStore:Qv,isMacLike:Zv,isShortcutTaken:eA,keyToSymbol:tA,merge:rA,mockChannel:nA,optionOrAltSymbol:oA,shortcutMatchesShortcut:aA,shortcutToHumanString:iA,types:Zl,useAddonState:sA,useArgTypes:lA,useArgs:uA,useChannel:eu,useGlobalTypes:cA,useGlobals:dA,useParameter:tu,useSharedState:pA,useStoryPrepared:hA,useStorybookApi:fA,useStorybookState:mA}=__STORYBOOK_API__;Wr();V();J();H();_o();Xt();Xt();Qt();Wr();Po();V();J();H();var dx=__STORYBOOK_CLIENT_LOGGER__,{deprecate:Yf,logger:Xf,once:Qf,pretty:px}=__STORYBOOK_CLIENT_LOGGER__;V();J();H();V();J();H();V();J();H();V();J();H();V();J();H();var Nx=__STORYBOOK_CHANNELS__,{Channel:Zf,HEARTBEAT_INTERVAL:jx,HEARTBEAT_MAX_LATENCY:Lx,PostMessageTransport:Mx,WebsocketTransport:Ux,createBrowserChannel:$x}=__STORYBOOK_CHANNELS__;var Hu=Oe({"../../node_modules/memoizerific/memoizerific.js"(e,t){(function(r){if(typeof e=="object"&&typeof t<"u")t.exports=r();else if(typeof define=="function"&&define.amd)define([],r);else{var n;typeof window<"u"||typeof window<"u"?n=window:typeof self<"u"?n=self:n=this,n.memoizerific=r()}})(function(){return function r(n,o,i){function a(c,d){if(!o[c]){if(!n[c]){var p=typeof dr=="function"&&dr;if(!d&&p)return p(c,!0);if(l)return l(c,!0);var h=new Error("Cannot find module '"+c+"'");throw h.code="MODULE_NOT_FOUND",h}var y=o[c]={exports:{}};n[c][0].call(y.exports,function(E){var v=n[c][1][E];return a(v||E)},y,y.exports,r,n,o,i)}return o[c].exports}for(var l=typeof dr=="function"&&dr,u=0;u=0)return this.lastItem=this.list[l],this.list[l].val},i.prototype.set=function(a,l){var u;return this.lastItem&&this.isEqual(this.lastItem.key,a)?(this.lastItem.val=l,this):(u=this.indexOf(a),u>=0?(this.lastItem=this.list[u],this.list[u].val=l,this):(this.lastItem={key:a,val:l},this.list.push(this.lastItem),this.size++,this))},i.prototype.delete=function(a){var l;if(this.lastItem&&this.isEqual(this.lastItem.key,a)&&(this.lastItem=void 0),l=this.indexOf(a),l>=0)return this.size--,this.list.splice(l,1)[0]},i.prototype.has=function(a){var l;return this.lastItem&&this.isEqual(this.lastItem.key,a)?!0:(l=this.indexOf(a),l>=0?(this.lastItem=this.list[l],!0):!1)},i.prototype.forEach=function(a,l){var u;for(u=0;u0&&(S[D]={cacheItem:E,arg:arguments[D]},F?a(p,S):p.push(S),p.length>c&&l(p.shift())),y.wasMemoized=F,y.numArgs=D+1,A};return y.limit=c,y.wasMemoized=!1,y.cache=d,y.lru=p,y}};function a(c,d){var p=c.length,h=d.length,y,E,v;for(E=0;E=0&&(p=c[y],h=p.cacheItem.get(p.arg),!h||!h.size);y--)p.cacheItem.delete(p.arg)}function u(c,d){return c===d||c!==c&&d!==d}},{"map-or-similar":1}]},{},[3])(3)})}}),Um=Oe({"../../node_modules/tocbot/src/js/default-options.js"(e,t){t.exports={tocSelector:".js-toc",contentSelector:".js-toc-content",headingSelector:"h1, h2, h3",ignoreSelector:".js-toc-ignore",hasInnerContainers:!1,linkClass:"toc-link",extraLinkClasses:"",activeLinkClass:"is-active-link",listClass:"toc-list",extraListClasses:"",isCollapsedClass:"is-collapsed",collapsibleClass:"is-collapsible",listItemClass:"toc-list-item",activeListItemClass:"is-active-li",collapseDepth:0,scrollSmooth:!0,scrollSmoothDuration:420,scrollSmoothOffset:0,scrollEndCallback:function(r){},headingsOffset:1,throttleTimeout:50,positionFixedSelector:null,positionFixedClass:"is-position-fixed",fixedSidebarOffset:"auto",includeHtml:!1,includeTitleTags:!1,onClick:function(r){},orderedList:!0,scrollContainer:null,skipRendering:!1,headingLabelCallback:!1,ignoreHiddenElements:!1,headingObjectCallback:null,basePath:"",disableTocScrollSync:!1,tocScrollOffset:0}}}),$m=Oe({"../../node_modules/tocbot/src/js/build-html.js"(e,t){t.exports=function(r){var n=[].forEach,o=[].some,i=document.body,a,l=!0,u=" ";function c(x,O){var R=O.appendChild(p(x));if(x.children.length){var N=h(x.isCollapsed);x.children.forEach(function(j){c(j,N)}),R.appendChild(N)}}function d(x,O){var R=!1,N=h(R);if(O.forEach(function(j){c(j,N)}),a=x||a,a!==null)return a.firstChild&&a.removeChild(a.firstChild),O.length===0?a:a.appendChild(N)}function p(x){var O=document.createElement("li"),R=document.createElement("a");return r.listItemClass&&O.setAttribute("class",r.listItemClass),r.onClick&&(R.onclick=r.onClick),r.includeTitleTags&&R.setAttribute("title",x.textContent),r.includeHtml&&x.childNodes.length?n.call(x.childNodes,function(N){R.appendChild(N.cloneNode(!0))}):R.textContent=x.textContent,R.setAttribute("href",r.basePath+"#"+x.id),R.setAttribute("class",r.linkClass+u+"node-name--"+x.nodeName+u+r.extraLinkClasses),O.appendChild(R),O}function h(x){var O=r.orderedList?"ol":"ul",R=document.createElement(O),N=r.listClass+u+r.extraListClasses;return x&&(N=N+u+r.collapsibleClass,N=N+u+r.isCollapsedClass),R.setAttribute("class",N),R}function y(){if(r.scrollContainer&&document.querySelector(r.scrollContainer)){var x;x=document.querySelector(r.scrollContainer).scrollTop}else x=document.documentElement.scrollTop||i.scrollTop;var O=document.querySelector(r.positionFixedSelector);r.fixedSidebarOffset==="auto"&&(r.fixedSidebarOffset=a.offsetTop),x>r.fixedSidebarOffset?O.className.indexOf(r.positionFixedClass)===-1&&(O.className+=u+r.positionFixedClass):O.className=O.className.replace(u+r.positionFixedClass,"")}function E(x){var O=0;return x!==null&&(O=x.offsetTop,r.hasInnerContainers&&(O+=E(x.offsetParent))),O}function v(x,O){return x&&x.className!==O&&(x.className=O),x}function A(x){if(r.scrollContainer&&document.querySelector(r.scrollContainer)){var O;O=document.querySelector(r.scrollContainer).scrollTop}else O=document.documentElement.scrollTop||i.scrollTop;r.positionFixedSelector&&y();var R=x,N;if(l&&a!==null&&R.length>0){o.call(R,function(b,w){if(E(b)>O+r.headingsOffset+10){var I=w===0?w:w-1;return N=R[I],!0}else if(w===R.length-1)return N=R[R.length-1],!0});var j=a.querySelector("."+r.activeLinkClass),U=a.querySelector("."+r.linkClass+".node-name--"+N.nodeName+'[href="'+r.basePath+"#"+N.id.replace(/([ #;&,.+*~':"!^$[\]()=>|/\\@])/g,"\\$1")+'"]');if(j===U)return;var P=a.querySelectorAll("."+r.linkClass);n.call(P,function(b){v(b,b.className.replace(u+r.activeLinkClass,""))});var K=a.querySelectorAll("."+r.listItemClass);n.call(K,function(b){v(b,b.className.replace(u+r.activeListItemClass,""))}),U&&U.className.indexOf(r.activeLinkClass)===-1&&(U.className+=u+r.activeLinkClass);var L=U&&U.parentNode;L&&L.className.indexOf(r.activeListItemClass)===-1&&(L.className+=u+r.activeListItemClass);var z=a.querySelectorAll("."+r.listClass+"."+r.collapsibleClass);n.call(z,function(b){b.className.indexOf(r.isCollapsedClass)===-1&&(b.className+=u+r.isCollapsedClass)}),U&&U.nextSibling&&U.nextSibling.className.indexOf(r.isCollapsedClass)!==-1&&v(U.nextSibling,U.nextSibling.className.replace(u+r.isCollapsedClass,"")),D(U&&U.parentNode.parentNode)}}function D(x){return x&&x.className.indexOf(r.collapsibleClass)!==-1&&x.className.indexOf(r.isCollapsedClass)!==-1?(v(x,x.className.replace(u+r.isCollapsedClass,"")),D(x.parentNode.parentNode)):x}function S(x){var O=x.target||x.srcElement;typeof O.className!="string"||O.className.indexOf(r.linkClass)===-1||(l=!1)}function F(){l=!0}return{enableTocAnimation:F,disableTocAnimation:S,render:d,updateToc:A}}}}),qm=Oe({"../../node_modules/tocbot/src/js/parse-content.js"(e,t){t.exports=function(r){var n=[].reduce;function o(p){return p[p.length-1]}function i(p){return+p.nodeName.toUpperCase().replace("H","")}function a(p){try{return p instanceof window.HTMLElement||p instanceof window.parent.HTMLElement}catch{return p instanceof window.HTMLElement}}function l(p){if(!a(p))return p;if(r.ignoreHiddenElements&&(!p.offsetHeight||!p.offsetParent))return null;let h=p.getAttribute("data-heading-label")||(r.headingLabelCallback?String(r.headingLabelCallback(p.innerText)):(p.innerText||p.textContent).trim());var y={id:p.id,children:[],nodeName:p.nodeName,headingLevel:i(p),textContent:h};return r.includeHtml&&(y.childNodes=p.childNodes),r.headingObjectCallback?r.headingObjectCallback(y,p):y}function u(p,h){for(var y=l(p),E=y.headingLevel,v=h,A=o(v),D=A?A.headingLevel:0,S=E-D;S>0&&(A=o(v),!(A&&E===A.headingLevel));)A&&A.children!==void 0&&(v=A.children),S--;return E>=r.collapseDepth&&(y.isCollapsed=!0),v.push(y),v}function c(p,h){var y=h;r.ignoreSelector&&(y=h.split(",").map(function(E){return E.trim()+":not("+r.ignoreSelector+")"}));try{return p.querySelectorAll(y)}catch{return console.warn("Headers not found with selector: "+y),null}}function d(p){return n.call(p,function(h,y){var E=l(y);return E&&u(E,h.nest),h},{nest:[]})}return{nestHeadingsArray:d,selectHeadings:c}}}}),Vm=Oe({"../../node_modules/tocbot/src/js/update-toc-scroll.js"(e,t){t.exports=function(r){var n=r.tocElement||document.querySelector(r.tocSelector);if(n&&n.scrollHeight>n.clientHeight){var o=n.querySelector("."+r.activeListItemClass);o&&(n.scrollTop=o.offsetTop-r.tocScrollOffset)}}}}),Jm=Oe({"../../node_modules/tocbot/src/js/scroll-smooth/index.js"(e){e.initSmoothScrolling=t;function t(n){var o=n.duration,i=n.offset,a=location.hash?c(location.href):location.href;l();function l(){document.body.addEventListener("click",p,!1);function p(h){!u(h.target)||h.target.className.indexOf("no-smooth-scroll")>-1||h.target.href.charAt(h.target.href.length-2)==="#"&&h.target.href.charAt(h.target.href.length-1)==="!"||h.target.className.indexOf(n.linkClass)===-1||r(h.target.hash,{duration:o,offset:i,callback:function(){d(h.target.hash)}})}}function u(p){return p.tagName.toLowerCase()==="a"&&(p.hash.length>0||p.href.charAt(p.href.length-1)==="#")&&(c(p.href)===a||c(p.href)+"#"===a)}function c(p){return p.slice(0,p.lastIndexOf("#"))}function d(p){var h=document.getElementById(p.substring(1));h&&(/^(?:a|select|input|button|textarea)$/i.test(h.tagName)||(h.tabIndex=-1),h.focus())}}function r(n,o){var i=window.pageYOffset,a={duration:o.duration,offset:o.offset||0,callback:o.callback,easing:o.easing||E},l=document.querySelector('[id="'+decodeURI(n).split("#").join("")+'"]')||document.querySelector('[id="'+n.split("#").join("")+'"]'),u=typeof n=="string"?a.offset+(n?l&&l.getBoundingClientRect().top||0:-(document.documentElement.scrollTop||document.body.scrollTop)):n,c=typeof a.duration=="function"?a.duration(u):a.duration,d,p;requestAnimationFrame(function(v){d=v,h(v)});function h(v){p=v-d,window.scrollTo(0,a.easing(p,i,u,c)),p"u"&&!p)return;var h,y=Object.prototype.hasOwnProperty;function E(){for(var S={},F=0;F=0&&o<1?(l=i,u=a):o>=1&&o<2?(l=a,u=i):o>=2&&o<3?(u=i,c=a):o>=3&&o<4?(u=a,c=i):o>=4&&o<5?(l=a,c=i):o>=5&&o<6&&(l=i,c=a);var d=r-i/2,p=l+d,h=u+d,y=c+d;return n(p,h,y)}var Lu={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"00ffff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"0000ff",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"00ffff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"ff00ff",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"639",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"};function Xm(e){if(typeof e!="string")return e;var t=e.toLowerCase();return Lu[t]?"#"+Lu[t]:e}var Qm=/^#[a-fA-F0-9]{6}$/,Zm=/^#[a-fA-F0-9]{8}$/,ey=/^#[a-fA-F0-9]{3}$/,ty=/^#[a-fA-F0-9]{4}$/,Jo=/^rgb\(\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*\)$/i,ry=/^rgb(?:a)?\(\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,|\/)\s*([-+]?\d*[.]?\d+[%]?)\s*\)$/i,ny=/^hsl\(\s*(\d{0,3}[.]?[0-9]+(?:deg)?)\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*\)$/i,oy=/^hsl(?:a)?\(\s*(\d{0,3}[.]?[0-9]+(?:deg)?)\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,|\/)\s*([-+]?\d*[.]?\d+[%]?)\s*\)$/i;function nn(e){if(typeof e!="string")throw new Ve(3);var t=Xm(e);if(t.match(Qm))return{red:parseInt(""+t[1]+t[2],16),green:parseInt(""+t[3]+t[4],16),blue:parseInt(""+t[5]+t[6],16)};if(t.match(Zm)){var r=parseFloat((parseInt(""+t[7]+t[8],16)/255).toFixed(2));return{red:parseInt(""+t[1]+t[2],16),green:parseInt(""+t[3]+t[4],16),blue:parseInt(""+t[5]+t[6],16),alpha:r}}if(t.match(ey))return{red:parseInt(""+t[1]+t[1],16),green:parseInt(""+t[2]+t[2],16),blue:parseInt(""+t[3]+t[3],16)};if(t.match(ty)){var n=parseFloat((parseInt(""+t[4]+t[4],16)/255).toFixed(2));return{red:parseInt(""+t[1]+t[1],16),green:parseInt(""+t[2]+t[2],16),blue:parseInt(""+t[3]+t[3],16),alpha:n}}var o=Jo.exec(t);if(o)return{red:parseInt(""+o[1],10),green:parseInt(""+o[2],10),blue:parseInt(""+o[3],10)};var i=ry.exec(t.substring(0,50));if(i)return{red:parseInt(""+i[1],10),green:parseInt(""+i[2],10),blue:parseInt(""+i[3],10),alpha:parseFloat(""+i[4])>1?parseFloat(""+i[4])/100:parseFloat(""+i[4])};var a=ny.exec(t);if(a){var l=parseInt(""+a[1],10),u=parseInt(""+a[2],10)/100,c=parseInt(""+a[3],10)/100,d="rgb("+yr(l,u,c)+")",p=Jo.exec(d);if(!p)throw new Ve(4,t,d);return{red:parseInt(""+p[1],10),green:parseInt(""+p[2],10),blue:parseInt(""+p[3],10)}}var h=oy.exec(t.substring(0,50));if(h){var y=parseInt(""+h[1],10),E=parseInt(""+h[2],10)/100,v=parseInt(""+h[3],10)/100,A="rgb("+yr(y,E,v)+")",D=Jo.exec(A);if(!D)throw new Ve(4,t,A);return{red:parseInt(""+D[1],10),green:parseInt(""+D[2],10),blue:parseInt(""+D[3],10),alpha:parseFloat(""+h[4])>1?parseFloat(""+h[4])/100:parseFloat(""+h[4])}}throw new Ve(5)}function ay(e){var t=e.red/255,r=e.green/255,n=e.blue/255,o=Math.max(t,r,n),i=Math.min(t,r,n),a=(o+i)/2;if(o===i)return e.alpha!==void 0?{hue:0,saturation:0,lightness:a,alpha:e.alpha}:{hue:0,saturation:0,lightness:a};var l,u=o-i,c=a>.5?u/(2-o-i):u/(o+i);switch(o){case t:l=(r-n)/u+(r=1?rn(e,t,r):"rgba("+yr(e,t,r)+","+n+")";if(typeof e=="object"&&t===void 0&&r===void 0&&n===void 0)return e.alpha>=1?rn(e.hue,e.saturation,e.lightness):"rgba("+yr(e.hue,e.saturation,e.lightness)+","+e.alpha+")";throw new Ve(2)}function Yo(e,t,r){if(typeof e=="number"&&typeof t=="number"&&typeof r=="number")return Ko("#"+Dt(e)+Dt(t)+Dt(r));if(typeof e=="object"&&t===void 0&&r===void 0)return Ko("#"+Dt(e.red)+Dt(e.green)+Dt(e.blue));throw new Ve(6)}function Ye(e,t,r,n){if(typeof e=="string"&&typeof t=="number"){var o=nn(e);return"rgba("+o.red+","+o.green+","+o.blue+","+t+")"}else{if(typeof e=="number"&&typeof t=="number"&&typeof r=="number"&&typeof n=="number")return n>=1?Yo(e,t,r):"rgba("+e+","+t+","+r+","+n+")";if(typeof e=="object"&&t===void 0&&r===void 0&&n===void 0)return e.alpha>=1?Yo(e.red,e.green,e.blue):"rgba("+e.red+","+e.green+","+e.blue+","+e.alpha+")"}throw new Ve(7)}var cy=function(e){return typeof e.red=="number"&&typeof e.green=="number"&&typeof e.blue=="number"&&(typeof e.alpha!="number"||typeof e.alpha>"u")},dy=function(e){return typeof e.red=="number"&&typeof e.green=="number"&&typeof e.blue=="number"&&typeof e.alpha=="number"},py=function(e){return typeof e.hue=="number"&&typeof e.saturation=="number"&&typeof e.lightness=="number"&&(typeof e.alpha!="number"||typeof e.alpha>"u")},hy=function(e){return typeof e.hue=="number"&&typeof e.saturation=="number"&&typeof e.lightness=="number"&&typeof e.alpha=="number"};function Wu(e){if(typeof e!="object")throw new Ve(8);if(dy(e))return Ye(e);if(cy(e))return Yo(e);if(hy(e))return uy(e);if(py(e))return ly(e);throw new Ve(8)}function Ku(e,t,r){return function(){var n=r.concat(Array.prototype.slice.call(arguments));return n.length>=t?e.apply(this,n):Ku(e,t,n)}}function on(e){return Ku(e,e.length,[])}function an(e,t,r){return Math.max(e,Math.min(t,r))}function fy(e,t){if(t==="transparent")return t;var r=Gu(t);return Wu(Ut({},r,{lightness:an(0,1,r.lightness-parseFloat(e))}))}var my=on(fy),qe=my;function yy(e,t){if(t==="transparent")return t;var r=Gu(t);return Wu(Ut({},r,{lightness:an(0,1,r.lightness+parseFloat(e))}))}var gy=on(yy),St=gy;function by(e,t){if(t==="transparent")return t;var r=nn(t),n=typeof r.alpha=="number"?r.alpha:1,o=Ut({},r,{alpha:an(0,1,(n*100+parseFloat(e)*100)/100)});return Ye(o)}var Ey=on(by),en=Ey;function vy(e,t){if(t==="transparent")return t;var r=nn(t),n=typeof r.alpha=="number"?r.alpha:1,o=Ut({},r,{alpha:an(0,1,+(n*100-parseFloat(e)*100).toFixed(2)/100)});return Ye(o)}var Ay=on(vy),le=Ay,Dy=k.div(Ft,({theme:e})=>({backgroundColor:e.base==="light"?"rgba(0,0,0,.01)":"rgba(255,255,255,.01)",borderRadius:e.appBorderRadius,border:`1px dashed ${e.appBorderColor}`,display:"flex",alignItems:"center",justifyContent:"center",padding:20,margin:"25px 0 40px",color:le(.3,e.color.defaultText),fontSize:e.typography.size.s2})),Sy=e=>C.createElement(Dy,{...e,className:"docblock-emptyblock sb-unstyled"}),wy=k(vn)(({theme:e})=>({fontSize:`${e.typography.size.s2-1}px`,lineHeight:"19px",margin:"25px 0 40px",borderRadius:e.appBorderRadius,boxShadow:e.base==="light"?"rgba(0, 0, 0, 0.10) 0 1px 3px 0":"rgba(0, 0, 0, 0.20) 0 2px 5px 0","pre.prismjs":{padding:20,background:"inherit"}})),Cy=k.div(({theme:e})=>({background:e.background.content,borderRadius:e.appBorderRadius,border:`1px solid ${e.appBorderColor}`,boxShadow:e.base==="light"?"rgba(0, 0, 0, 0.10) 0 1px 3px 0":"rgba(0, 0, 0, 0.20) 0 2px 5px 0",margin:"25px 0 40px",padding:"20px 20px 20px 22px"})),tn=k.div(({theme:e})=>({animation:`${e.animation.glow} 1.5s ease-in-out infinite`,background:e.appBorderColor,height:17,marginTop:1,width:"60%",[`&:first-child${zr}`]:{margin:0}})),xy=()=>C.createElement(Cy,null,C.createElement(tn,null),C.createElement(tn,{style:{width:"80%"}}),C.createElement(tn,{style:{width:"30%"}}),C.createElement(tn,{style:{width:"80%"}})),Yu=({isLoading:e,error:t,language:r,code:n,dark:o,format:i=!1,...a})=>{let{typography:l}=Gr();if(e)return C.createElement(xy,null);if(t)return C.createElement(Sy,null,t);let u=C.createElement(wy,{bordered:!0,copyable:!0,format:i,language:r,className:"docblock-source sb-unstyled",...a},n);if(typeof o>"u")return u;let c=o?Ro.dark:Ro.light;return C.createElement(ru,{theme:nu({...c,fontCode:l.fonts.mono,fontBase:l.fonts.base})},u)},ye=e=>`& :where(${e}:not(.sb-anchor, .sb-unstyled, .sb-unstyled ${e}))`,Qo=600,gT=k.h1(Ft,({theme:e})=>({color:e.color.defaultText,fontSize:e.typography.size.m3,fontWeight:e.typography.weight.bold,lineHeight:"32px",[`@media (min-width: ${Qo}px)`]:{fontSize:e.typography.size.l1,lineHeight:"36px",marginBottom:"16px"}})),bT=k.h2(Ft,({theme:e})=>({fontWeight:e.typography.weight.regular,fontSize:e.typography.size.s3,lineHeight:"20px",borderBottom:"none",marginBottom:15,[`@media (min-width: ${Qo}px)`]:{fontSize:e.typography.size.m1,lineHeight:"28px",marginBottom:24},color:le(.25,e.color.defaultText)})),ET=k.div(({theme:e})=>{let t={fontFamily:e.typography.fonts.base,fontSize:e.typography.size.s3,margin:0,WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",WebkitTapHighlightColor:"rgba(0, 0, 0, 0)",WebkitOverflowScrolling:"touch"},r={margin:"20px 0 8px",padding:0,cursor:"text",position:"relative",color:e.color.defaultText,"&:first-of-type":{marginTop:0,paddingTop:0},"&:hover a.anchor":{textDecoration:"none"},"& code":{fontSize:"inherit"}},n={lineHeight:1,margin:"0 2px",padding:"3px 5px",whiteSpace:"nowrap",borderRadius:3,fontSize:e.typography.size.s2-1,border:e.base==="light"?`1px solid ${e.color.mediumlight}`:`1px solid ${e.color.darker}`,color:e.base==="light"?le(.1,e.color.defaultText):le(.3,e.color.defaultText),backgroundColor:e.base==="light"?e.color.lighter:e.color.border};return{maxWidth:1e3,width:"100%",[ye("a")]:{...t,fontSize:"inherit",lineHeight:"24px",color:e.color.secondary,textDecoration:"none","&.absent":{color:"#cc0000"},"&.anchor":{display:"block",paddingLeft:30,marginLeft:-30,cursor:"pointer",position:"absolute",top:0,left:0,bottom:0}},[ye("blockquote")]:{...t,margin:"16px 0",borderLeft:`4px solid ${e.color.medium}`,padding:"0 15px",color:e.color.dark,"& > :first-of-type":{marginTop:0},"& > :last-child":{marginBottom:0}},[ye("div")]:t,[ye("dl")]:{...t,margin:"16px 0",padding:0,"& dt":{fontSize:"14px",fontWeight:"bold",fontStyle:"italic",padding:0,margin:"16px 0 4px"},"& dt:first-of-type":{padding:0},"& dt > :first-of-type":{marginTop:0},"& dt > :last-child":{marginBottom:0},"& dd":{margin:"0 0 16px",padding:"0 15px"},"& dd > :first-of-type":{marginTop:0},"& dd > :last-child":{marginBottom:0}},[ye("h1")]:{...t,...r,fontSize:`${e.typography.size.l1}px`,fontWeight:e.typography.weight.bold},[ye("h2")]:{...t,...r,fontSize:`${e.typography.size.m2}px`,paddingBottom:4,borderBottom:`1px solid ${e.appBorderColor}`},[ye("h3")]:{...t,...r,fontSize:`${e.typography.size.m1}px`,fontWeight:e.typography.weight.bold},[ye("h4")]:{...t,...r,fontSize:`${e.typography.size.s3}px`},[ye("h5")]:{...t,...r,fontSize:`${e.typography.size.s2}px`},[ye("h6")]:{...t,...r,fontSize:`${e.typography.size.s2}px`,color:e.color.dark},[ye("hr")]:{border:"0 none",borderTop:`1px solid ${e.appBorderColor}`,height:4,padding:0},[ye("img")]:{maxWidth:"100%"},[ye("li")]:{...t,fontSize:e.typography.size.s2,color:e.color.defaultText,lineHeight:"24px","& + li":{marginTop:".25em"},"& ul, & ol":{marginTop:".25em",marginBottom:0},"& code":n},[ye("ol")]:{...t,margin:"16px 0",paddingLeft:30,"& :first-of-type":{marginTop:0},"& :last-child":{marginBottom:0}},[ye("p")]:{...t,margin:"16px 0",fontSize:e.typography.size.s2,lineHeight:"24px",color:e.color.defaultText,"& code":n},[ye("pre")]:{...t,fontFamily:e.typography.fonts.mono,WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",lineHeight:"18px",padding:"11px 1rem",whiteSpace:"pre-wrap",color:"inherit",borderRadius:3,margin:"1rem 0","&:not(.prismjs)":{background:"transparent",border:"none",borderRadius:0,padding:0,margin:0},"& pre, &.prismjs":{padding:15,margin:0,whiteSpace:"pre-wrap",color:"inherit",fontSize:"13px",lineHeight:"19px",code:{color:"inherit",fontSize:"inherit"}},"& code":{whiteSpace:"pre"},"& code, & tt":{border:"none"}},[ye("span")]:{...t,"&.frame":{display:"block",overflow:"hidden","& > span":{border:`1px solid ${e.color.medium}`,display:"block",float:"left",overflow:"hidden",margin:"13px 0 0",padding:7,width:"auto"},"& span img":{display:"block",float:"left"},"& span span":{clear:"both",color:e.color.darkest,display:"block",padding:"5px 0 0"}},"&.align-center":{display:"block",overflow:"hidden",clear:"both","& > span":{display:"block",overflow:"hidden",margin:"13px auto 0",textAlign:"center"},"& span img":{margin:"0 auto",textAlign:"center"}},"&.align-right":{display:"block",overflow:"hidden",clear:"both","& > span":{display:"block",overflow:"hidden",margin:"13px 0 0",textAlign:"right"},"& span img":{margin:0,textAlign:"right"}},"&.float-left":{display:"block",marginRight:13,overflow:"hidden",float:"left","& span":{margin:"13px 0 0"}},"&.float-right":{display:"block",marginLeft:13,overflow:"hidden",float:"right","& > span":{display:"block",overflow:"hidden",margin:"13px auto 0",textAlign:"right"}}},[ye("table")]:{...t,margin:"16px 0",fontSize:e.typography.size.s2,lineHeight:"24px",padding:0,borderCollapse:"collapse","& tr":{borderTop:`1px solid ${e.appBorderColor}`,backgroundColor:e.appContentBg,margin:0,padding:0},"& tr:nth-of-type(2n)":{backgroundColor:e.base==="dark"?e.color.darker:e.color.lighter},"& tr th":{fontWeight:"bold",color:e.color.defaultText,border:`1px solid ${e.appBorderColor}`,margin:0,padding:"6px 13px"},"& tr td":{border:`1px solid ${e.appBorderColor}`,color:e.color.defaultText,margin:0,padding:"6px 13px"},"& tr th :first-of-type, & tr td :first-of-type":{marginTop:0},"& tr th :last-child, & tr td :last-child":{marginBottom:0}},[ye("ul")]:{...t,margin:"16px 0",paddingLeft:30,"& :first-of-type":{marginTop:0},"& :last-child":{marginBottom:0},listStyle:"disc"}}}),vT=k.div(({theme:e})=>({background:e.background.content,display:"flex",justifyContent:"center",padding:"4rem 20px",minHeight:"100vh",boxSizing:"border-box",gap:"3rem",[`@media (min-width: ${Qo}px)`]:{}}));var sn=e=>({borderRadius:e.appBorderRadius,background:e.background.content,boxShadow:e.base==="light"?"rgba(0, 0, 0, 0.10) 0 1px 3px 0":"rgba(0, 0, 0, 0.20) 0 2px 5px 0",border:`1px solid ${e.appBorderColor}`}),{window:AT}=globalThis;var Ty=Kt({scale:1}),{PREVIEW_URL:DT}=globalThis;var ST=k.strong(({theme:e})=>({color:e.color.orange}));var Fy=k(bn)({position:"absolute",left:0,right:0,top:0,transition:"transform .2s linear"}),Iy=k.div({display:"flex",alignItems:"center",gap:4}),ky=k.div(({theme:e})=>({width:14,height:14,borderRadius:2,margin:"0 7px",backgroundColor:e.appBorderColor,animation:`${e.animation.glow} 1.5s ease-in-out infinite`})),Ry=({isLoading:e,storyId:t,baseUrl:r,zoom:n,resetZoom:o,...i})=>C.createElement(Fy,{...i},C.createElement(Iy,{key:"left"},e?[1,2,3].map(a=>C.createElement(ky,{key:a})):C.createElement(C.Fragment,null,C.createElement(ht,{key:"zoomin",onClick:a=>{a.preventDefault(),n(.8)},title:"Zoom in"},C.createElement(mu,null)),C.createElement(ht,{key:"zoomout",onClick:a=>{a.preventDefault(),n(1.25)},title:"Zoom out"},C.createElement(yu,null)),C.createElement(ht,{key:"zoomreset",onClick:a=>{a.preventDefault(),o()},title:"Reset zoom"},C.createElement(gu,null))))),Oy=k.div(({isColumn:e,columns:t,layout:r})=>({display:e||!t?"block":"flex",position:"relative",flexWrap:"wrap",overflow:"auto",flexDirection:e?"column":"row","& .innerZoomElementWrapper > *":e?{width:r!=="fullscreen"?"calc(100% - 20px)":"100%",display:"block"}:{maxWidth:r!=="fullscreen"?"calc(100% - 20px)":"100%",display:"inline-block"}}),({layout:e="padded"})=>e==="centered"||e==="padded"?{padding:"30px 20px","& .innerZoomElementWrapper > *":{width:"auto",border:"10px solid transparent!important"}}:{},({layout:e="padded"})=>e==="centered"?{display:"flex",justifyContent:"center",justifyItems:"center",alignContent:"center",alignItems:"center"}:{},({columns:e})=>e&&e>1?{".innerZoomElementWrapper > *":{minWidth:`calc(100% / ${e} - 20px)`}}:{}),Mu=k(Yu)(({theme:e})=>({margin:0,borderTopLeftRadius:0,borderTopRightRadius:0,borderBottomLeftRadius:e.appBorderRadius,borderBottomRightRadius:e.appBorderRadius,border:"none",background:e.base==="light"?"rgba(0, 0, 0, 0.85)":qe(.05,e.background.content),color:e.color.lightest,button:{background:e.base==="light"?"rgba(0, 0, 0, 0.85)":qe(.05,e.background.content)}})),_y=k.div(({theme:e,withSource:t,isExpanded:r})=>({position:"relative",overflow:"hidden",margin:"25px 0 40px",...sn(e),borderBottomLeftRadius:t&&r&&0,borderBottomRightRadius:t&&r&&0,borderBottomWidth:r&&0,"h3 + &":{marginTop:"16px"}}),({withToolbar:e})=>e&&{paddingTop:40}),Py=(e,t,r)=>{switch(!0){case!!(e&&e.error):return{source:null,actionItem:{title:"No code available",className:"docblock-code-toggle docblock-code-toggle--disabled",disabled:!0,onClick:()=>r(!1)}};case t:return{source:C.createElement(Mu,{...e,dark:!0}),actionItem:{title:"Hide code",className:"docblock-code-toggle docblock-code-toggle--expanded",onClick:()=>r(!1)}};default:return{source:C.createElement(Mu,{...e,dark:!0}),actionItem:{title:"Show code",className:"docblock-code-toggle",onClick:()=>r(!0)}}}};function By(e){if(ma.count(e)===1){let t=e;if(t.props)return t.props.id}return null}var Ny=k(Ry)({position:"absolute",top:0,left:0,right:0,height:40}),jy=k.div({overflow:"hidden",position:"relative"}),Ly=({isLoading:e,isColumn:t,columns:r,children:n,withSource:o,withToolbar:i=!1,isExpanded:a=!1,additionalActions:l,className:u,layout:c="padded",...d})=>{let[p,h]=Ue(a),{source:y,actionItem:E}=Py(o,p,h),[v,A]=Ue(1),D=[u].concat(["sbdocs","sbdocs-preview","sb-unstyled"]),S=o?[E]:[],[F,x]=Ue(l?[...l]:[]),O=[...S,...F],{window:R}=globalThis,N=tt(async U=>{let{createCopyToClipboardFunction:P}=await Promise.resolve().then(()=>(Qt(),Ia));P()},[]),j=U=>{let P=R.getSelection();P&&P.type==="Range"||(U.preventDefault(),F.filter(K=>K.title==="Copied").length===0&&N(y.props.code).then(()=>{x([...F,{title:"Copied",onClick:()=>{}}]),R.setTimeout(()=>x(F.filter(K=>K.title!=="Copied")),1500)}))};return C.createElement(_y,{withSource:o,withToolbar:i,...d,className:D.join(" ")},i&&C.createElement(Ny,{isLoading:e,border:!0,zoom:U=>A(v*U),resetZoom:()=>A(1),storyId:By(n),baseUrl:"./iframe.html"}),C.createElement(Ty.Provider,{value:{scale:v}},C.createElement(jy,{className:"docs-story",onCopyCapture:o&&j},C.createElement(Oy,{isColumn:t||!Array.isArray(n),columns:r,layout:c},C.createElement(Dn.Element,{scale:v},Array.isArray(n)?n.map((U,P)=>C.createElement("div",{key:P},U)):C.createElement("div",null,n))),C.createElement(yn,{actionItems:O}))),o&&p&&y)};k(Ly)(()=>({".docs-story":{paddingTop:32,paddingBottom:40}}));var Uu;(function(e){e[e.MAX=0]="MAX",e[e.HIGH=1]="HIGH",e[e.MED=2]="MED",e[e.LOW=3]="LOW",e[e.MIN=4]="MIN"})(Uu||(Uu={}));var wT=["allowFullScreen","allowTransparency","autoComplete","autoFocus","autoPlay","cellPadding","cellSpacing","charSet","classId","colSpan","contentEditable","contextMenu","crossOrigin","encType","formAction","formEncType","formMethod","formNoValidate","formTarget","frameBorder","hrefLang","inputMode","keyParams","keyType","marginHeight","marginWidth","maxLength","mediaGroup","minLength","noValidate","radioGroup","readOnly","rowSpan","spellCheck","srcDoc","srcLang","srcSet","tabIndex","useMap"].reduce((e,t)=>(e[t.toLowerCase()]=t,e),{class:"className",for:"htmlFor"});var My=/^(\s*>[\s\S]*?)(?=\n\n|$)/;var Uy=/^(?: {1,3})?(`{3,}|~{3,}) *(\S+)? *([^\n]*?)?\n([\s\S]*?)(?:\1\n?|$)/,$y=/^(?: {4}[^\n]+\n*)+(?:\n *)+\n?/;var qy=/^ *(#{1,6}) *([^\n]+?)(?: +#*)?(?:\n *)*(?:\n|$)/,Vy=/^ *(#{1,6}) +([^\n]+?)(?: +#*)?(?:\n *)*(?:\n|$)/,Jy=/^([^\n]+)\n *(=|-){3,} *(?:\n *)+\n/,Hy=/^ *(?!<[a-z][^ >/]* ?\/>)<([a-z][^ >/]*) ?((?:[^>]*[^/])?)>\n?(\s*(?:<\1[^>]*?>[\s\S]*?<\/\1>|(?!<\1\b)[\s\S])*?)<\/\1>(?!<\/\1>)\n*/i;var zy=/^)/;var Gy=/^ *<([a-z][a-z0-9:]*)(?:\s+((?:<.*?>|[^>])*))?\/?>(?!<\/\1>)(\s*\n)?/i;var Wy=/^(\|.*)\n(?: *(\|? *[-:]+ *\|[-| :]*)\n((?:.*\|.*\n)*))?\n?/;var ln="((?:\\[.*?\\][([].*?[)\\]]|<.*?>(?:.*?<.*?>)?|`.*?`|~~.*?~~|==.*?==|.|\\n)*?)",CT=new RegExp(`^([*_])\\1${ln}\\1\\1(?!\\1)`),xT=new RegExp(`^([*_])${ln}\\1(?!\\1|\\w)`),TT=new RegExp(`^==${ln}==`),FT=new RegExp(`^~~${ln}~~`);var Zo="(?:\\d+\\.)",ea="(?:[*+-])";function Xu(e){return"( *)("+(e===1?Zo:ea)+") +"}var Qu=Xu(1),Zu=Xu(2);function ec(e){return new RegExp("^"+(e===1?Qu:Zu))}var IT=ec(1),kT=ec(2);function tc(e){return new RegExp("^"+(e===1?Qu:Zu)+"[^\\n]*(?:\\n(?!\\1"+(e===1?Zo:ea)+" )[^\\n]*)*(\\n|$)","gm")}var Ky=tc(1),Yy=tc(2);function rc(e){let t=e===1?Zo:ea;return new RegExp("^( *)("+t+") [\\s\\S]+?(?:\\n{2,}(?! )(?!\\1"+t+" (?!"+t+" ))\\n*|\\s*\\n*$)")}var Xy=rc(1),Qy=rc(2);var RT=new RegExp(`^\\[((?:\\[[^\\]]*\\]|[^\\[\\]]|\\](?=[^\\[]*\\]))*)\\]\\(\\s*?(?:\\s+['"]([\\s\\S]*?)['"])?\\s*\\)`);var Zy=[My,Uy,$y,qy,Jy,Vy,zy,Wy,Ky,Xy,Yy,Qy],OT=[...Zy,/^[^\n]+(?: \n|\n{2,})/,Hy,Gy];var _T=k.label(({theme:e})=>({lineHeight:"18px",alignItems:"center",marginBottom:8,display:"inline-block",position:"relative",whiteSpace:"nowrap",background:e.boolean.background,borderRadius:"3em",padding:1,'&[aria-disabled="true"]':{opacity:.5,input:{cursor:"not-allowed"}},input:{appearance:"none",width:"100%",height:"100%",position:"absolute",left:0,top:0,margin:0,padding:0,border:"none",background:"transparent",cursor:"pointer",borderRadius:"3em","&:focus":{outline:"none",boxShadow:`${e.color.secondary} 0 0 0 1px inset !important`}},span:{textAlign:"center",fontSize:e.typography.size.s1,fontWeight:e.typography.weight.bold,lineHeight:"1",cursor:"pointer",display:"inline-block",padding:"7px 15px",transition:"all 100ms ease-out",userSelect:"none",borderRadius:"3em",color:le(.5,e.color.defaultText),background:"transparent","&:hover":{boxShadow:`${en(.3,e.appBorderColor)} 0 0 0 1px inset`},"&:active":{boxShadow:`${en(.05,e.appBorderColor)} 0 0 0 2px inset`,color:en(1,e.appBorderColor)},"&:first-of-type":{paddingRight:8},"&:last-of-type":{paddingLeft:8}},"input:checked ~ span:last-of-type, input:not(:checked) ~ span:first-of-type":{background:e.boolean.selectedBackground,boxShadow:e.base==="light"?`${en(.1,e.appBorderColor)} 0 0 2px`:`${e.appBorderColor} 0 0 0 1px`,color:e.color.defaultText,padding:"7px 15px"}}));var PT=k(nt.Input)(({readOnly:e})=>({opacity:e?.5:1})),BT=k.div(({theme:e})=>({flex:1,display:"flex",input:{marginLeft:10,flex:1,height:32,"&::-webkit-calendar-picker-indicator":{opacity:.5,height:12,filter:e.base==="light"?void 0:"invert(1)"}},"input:first-of-type":{marginLeft:0,flexGrow:4},"input:last-of-type":{flexGrow:3}}));var NT=k.label({display:"flex"});var jT=k(nt.Input)(({readOnly:e})=>({opacity:e?.5:1}));var LT=k.div(({isInline:e})=>e?{display:"flex",flexWrap:"wrap",alignItems:"flex-start",label:{display:"inline-flex",marginRight:15}}:{label:{display:"flex"}},e=>{if(e["aria-readonly"]==="true")return{input:{cursor:"not-allowed"}}}),MT=k.span({"[aria-readonly=true] &":{opacity:.5}}),UT=k.label({lineHeight:"20px",alignItems:"center",marginBottom:8,"&:last-child":{marginBottom:0},input:{margin:0,marginRight:6}});var $T=k.div(({isInline:e})=>e?{display:"flex",flexWrap:"wrap",alignItems:"flex-start",label:{display:"inline-flex",marginRight:15}}:{label:{display:"flex"}},e=>{if(e["aria-readonly"]==="true")return{input:{cursor:"not-allowed"}}}),qT=k.span({"[aria-readonly=true] &":{opacity:.5}}),VT=k.label({lineHeight:"20px",alignItems:"center",marginBottom:8,"&:last-child":{marginBottom:0},input:{margin:0,marginRight:6}});var eg={appearance:"none",border:"0 none",boxSizing:"inherit",display:" block",margin:" 0",background:"transparent",padding:0,fontSize:"inherit",position:"relative"},JT=k.select(eg,({theme:e})=>({boxSizing:"border-box",position:"relative",padding:"6px 10px",width:"100%",color:e.input.color||"inherit",background:e.input.background,borderRadius:e.input.borderRadius,boxShadow:`${e.input.border} 0 0 0 1px inset`,fontSize:e.typography.size.s2-1,lineHeight:"20px","&:focus":{boxShadow:`${e.color.secondary} 0 0 0 1px inset`,outline:"none"},"&[disabled]":{cursor:"not-allowed",opacity:.5},"::placeholder":{color:e.textMutedColor},"&[multiple]":{overflow:"auto",padding:0,option:{display:"block",padding:"6px 10px",marginLeft:1,marginRight:1}}})),HT=k.span(({theme:e})=>({display:"inline-block",lineHeight:"normal",overflow:"hidden",position:"relative",verticalAlign:"top",width:"100%",svg:{position:"absolute",zIndex:1,pointerEvents:"none",height:"12px",marginTop:"-6px",right:"12px",top:"50%",fill:e.textMutedColor,path:{fill:e.textMutedColor}}}));var tg="Error",rg="Object",ng="Array",og="String",ag="Number",ig="Boolean",sg="Date",lg="Null",ug="Undefined",cg="Function",dg="Symbol",nc="ADD_DELTA_TYPE",oc="REMOVE_DELTA_TYPE",ac="UPDATE_DELTA_TYPE",ta="value",pg="key";function wt(e){return e!==null&&typeof e=="object"&&!Array.isArray(e)&&typeof e[Symbol.iterator]=="function"?"Iterable":Object.prototype.toString.call(e).slice(8,-1)}function ic(e,t){let r=wt(e),n=wt(t);return(r==="Function"||n==="Function")&&n!==r}var ra=class extends et{constructor(e){super(e),this.state={inputRefKey:null,inputRefValue:null},this.refInputValue=this.refInputValue.bind(this),this.refInputKey=this.refInputKey.bind(this),this.onKeydown=this.onKeydown.bind(this),this.onSubmit=this.onSubmit.bind(this)}componentDidMount(){let{inputRefKey:e,inputRefValue:t}=this.state,{onlyValue:r}=this.props;e&&typeof e.focus=="function"&&e.focus(),r&&t&&typeof t.focus=="function"&&t.focus(),document.addEventListener("keydown",this.onKeydown)}componentWillUnmount(){document.removeEventListener("keydown",this.onKeydown)}onKeydown(e){e.altKey||e.ctrlKey||e.metaKey||e.shiftKey||e.repeat||((e.code==="Enter"||e.key==="Enter")&&(e.preventDefault(),this.onSubmit()),(e.code==="Escape"||e.key==="Escape")&&(e.preventDefault(),this.props.handleCancel()))}onSubmit(){let{handleAdd:e,onlyValue:t,onSubmitValueParser:r,keyPath:n,deep:o}=this.props,{inputRefKey:i,inputRefValue:a}=this.state,l={};if(!t){if(!i.value)return;l.key=i.value}l.newValue=r(!1,n,o,l.key,a.value),e(l)}refInputKey(e){this.state.inputRefKey=e}refInputValue(e){this.state.inputRefValue=e}render(){let{handleCancel:e,onlyValue:t,addButtonElement:r,cancelButtonElement:n,inputElementGenerator:o,keyPath:i,deep:a}=this.props,l=de(r,{onClick:this.onSubmit}),u=de(n,{onClick:e}),c=o(ta,i,a),d=de(c,{placeholder:"Value",ref:this.refInputValue}),p=null;if(!t){let h=o(pg,i,a);p=de(h,{placeholder:"Key",ref:this.refInputKey})}return C.createElement("span",{className:"rejt-add-value-node"},p,d,u,l)}};ra.defaultProps={onlyValue:!1,addButtonElement:C.createElement("button",null,"+"),cancelButtonElement:C.createElement("button",null,"c")};var sc=class extends et{constructor(e){super(e);let t=[...e.keyPath,e.name];this.state={data:e.data,name:e.name,keyPath:t,deep:e.deep,nextDeep:e.deep+1,collapsed:e.isCollapsed(t,e.deep,e.data),addFormVisible:!1},this.handleCollapseMode=this.handleCollapseMode.bind(this),this.handleRemoveItem=this.handleRemoveItem.bind(this),this.handleAddMode=this.handleAddMode.bind(this),this.handleAddValueAdd=this.handleAddValueAdd.bind(this),this.handleAddValueCancel=this.handleAddValueCancel.bind(this),this.handleEditValue=this.handleEditValue.bind(this),this.onChildUpdate=this.onChildUpdate.bind(this),this.renderCollapsed=this.renderCollapsed.bind(this),this.renderNotCollapsed=this.renderNotCollapsed.bind(this)}static getDerivedStateFromProps(e,t){return e.data!==t.data?{data:e.data}:null}onChildUpdate(e,t){let{data:r,keyPath:n}=this.state;r[e]=t,this.setState({data:r});let{onUpdate:o}=this.props,i=n.length;o(n[i-1],r)}handleAddMode(){this.setState({addFormVisible:!0})}handleCollapseMode(){this.setState(e=>({collapsed:!e.collapsed}))}handleRemoveItem(e){return()=>{let{beforeRemoveAction:t,logger:r}=this.props,{data:n,keyPath:o,nextDeep:i}=this.state,a=n[e];t(e,o,i,a).then(()=>{let l={keyPath:o,deep:i,key:e,oldValue:a,type:oc};n.splice(e,1),this.setState({data:n});let{onUpdate:u,onDeltaUpdate:c}=this.props;u(o[o.length-1],n),c(l)}).catch(r.error)}}handleAddValueAdd({newValue:e}){let{data:t,keyPath:r,nextDeep:n}=this.state,{beforeAddAction:o,logger:i}=this.props;o(t.length,r,n,e).then(()=>{let a=[...t,e];this.setState({data:a}),this.handleAddValueCancel();let{onUpdate:l,onDeltaUpdate:u}=this.props;l(r[r.length-1],a),u({type:nc,keyPath:r,deep:n,key:a.length-1,newValue:e})}).catch(i.error)}handleAddValueCancel(){this.setState({addFormVisible:!1})}handleEditValue({key:e,value:t}){return new Promise((r,n)=>{let{beforeUpdateAction:o}=this.props,{data:i,keyPath:a,nextDeep:l}=this.state,u=i[e];o(e,a,l,u,t).then(()=>{i[e]=t,this.setState({data:i});let{onUpdate:c,onDeltaUpdate:d}=this.props;c(a[a.length-1],i),d({type:ac,keyPath:a,deep:l,key:e,newValue:t,oldValue:u}),r(void 0)}).catch(n)})}renderCollapsed(){let{name:e,data:t,keyPath:r,deep:n}=this.state,{handleRemove:o,readOnly:i,getStyle:a,dataType:l,minusMenuElement:u}=this.props,{minus:c,collapsed:d}=a(e,t,r,n,l),p=i(e,t,r,n,l),h=de(u,{onClick:o,className:"rejt-minus-menu",style:c});return C.createElement("span",{className:"rejt-collapsed"},C.createElement("span",{className:"rejt-collapsed-text",style:d,onClick:this.handleCollapseMode},"[...] ",t.length," ",t.length===1?"item":"items"),!p&&h)}renderNotCollapsed(){let{name:e,data:t,keyPath:r,deep:n,addFormVisible:o,nextDeep:i}=this.state,{isCollapsed:a,handleRemove:l,onDeltaUpdate:u,readOnly:c,getStyle:d,dataType:p,addButtonElement:h,cancelButtonElement:y,editButtonElement:E,inputElementGenerator:v,textareaElementGenerator:A,minusMenuElement:D,plusMenuElement:S,beforeRemoveAction:F,beforeAddAction:x,beforeUpdateAction:O,logger:R,onSubmitValueParser:N}=this.props,{minus:j,plus:U,delimiter:P,ul:K,addForm:L}=d(e,t,r,n,p),z=c(e,t,r,n,p),b=de(S,{onClick:this.handleAddMode,className:"rejt-plus-menu",style:U}),w=de(D,{onClick:l,className:"rejt-minus-menu",style:j});return C.createElement("span",{className:"rejt-not-collapsed"},C.createElement("span",{className:"rejt-not-collapsed-delimiter",style:P},"["),!o&&b,C.createElement("ul",{className:"rejt-not-collapsed-list",style:K},t.map((I,M)=>C.createElement(un,{key:M,name:M.toString(),data:I,keyPath:r,deep:i,isCollapsed:a,handleRemove:this.handleRemoveItem(M),handleUpdateValue:this.handleEditValue,onUpdate:this.onChildUpdate,onDeltaUpdate:u,readOnly:c,getStyle:d,addButtonElement:h,cancelButtonElement:y,editButtonElement:E,inputElementGenerator:v,textareaElementGenerator:A,minusMenuElement:D,plusMenuElement:S,beforeRemoveAction:F,beforeAddAction:x,beforeUpdateAction:O,logger:R,onSubmitValueParser:N}))),!z&&o&&C.createElement("div",{className:"rejt-add-form",style:L},C.createElement(ra,{handleAdd:this.handleAddValueAdd,handleCancel:this.handleAddValueCancel,onlyValue:!0,addButtonElement:h,cancelButtonElement:y,inputElementGenerator:v,keyPath:r,deep:n,onSubmitValueParser:N})),C.createElement("span",{className:"rejt-not-collapsed-delimiter",style:P},"]"),!z&&w)}render(){let{name:e,collapsed:t,data:r,keyPath:n,deep:o}=this.state,{dataType:i,getStyle:a}=this.props,l=t?this.renderCollapsed():this.renderNotCollapsed(),u=a(e,r,n,o,i);return C.createElement("div",{className:"rejt-array-node"},C.createElement("span",{onClick:this.handleCollapseMode},C.createElement("span",{className:"rejt-name",style:u.name},e," :"," ")),l)}};sc.defaultProps={keyPath:[],deep:0,minusMenuElement:C.createElement("span",null," - "),plusMenuElement:C.createElement("span",null," + ")};var lc=class extends et{constructor(e){super(e);let t=[...e.keyPath,e.name];this.state={value:e.value,name:e.name,keyPath:t,deep:e.deep,editEnabled:!1,inputRef:null},this.handleEditMode=this.handleEditMode.bind(this),this.refInput=this.refInput.bind(this),this.handleCancelEdit=this.handleCancelEdit.bind(this),this.handleEdit=this.handleEdit.bind(this),this.onKeydown=this.onKeydown.bind(this)}static getDerivedStateFromProps(e,t){return e.value!==t.value?{value:e.value}:null}componentDidUpdate(){let{editEnabled:e,inputRef:t,name:r,value:n,keyPath:o,deep:i}=this.state,{readOnly:a,dataType:l}=this.props,u=a(r,n,o,i,l);e&&!u&&typeof t.focus=="function"&&t.focus()}componentDidMount(){document.addEventListener("keydown",this.onKeydown)}componentWillUnmount(){document.removeEventListener("keydown",this.onKeydown)}onKeydown(e){e.altKey||e.ctrlKey||e.metaKey||e.shiftKey||e.repeat||((e.code==="Enter"||e.key==="Enter")&&(e.preventDefault(),this.handleEdit()),(e.code==="Escape"||e.key==="Escape")&&(e.preventDefault(),this.handleCancelEdit()))}handleEdit(){let{handleUpdateValue:e,originalValue:t,logger:r,onSubmitValueParser:n,keyPath:o}=this.props,{inputRef:i,name:a,deep:l}=this.state;if(!i)return;let u=n(!0,o,l,a,i.value);e({value:u,key:a}).then(()=>{ic(t,u)||this.handleCancelEdit()}).catch(r.error)}handleEditMode(){this.setState({editEnabled:!0})}refInput(e){this.state.inputRef=e}handleCancelEdit(){this.setState({editEnabled:!1})}render(){let{name:e,value:t,editEnabled:r,keyPath:n,deep:o}=this.state,{handleRemove:i,originalValue:a,readOnly:l,dataType:u,getStyle:c,editButtonElement:d,cancelButtonElement:p,textareaElementGenerator:h,minusMenuElement:y,keyPath:E}=this.props,v=c(e,a,n,o,u),A=null,D=null,S=l(e,a,n,o,u);if(r&&!S){let F=h(ta,E,o,e,a,u),x=de(d,{onClick:this.handleEdit}),O=de(p,{onClick:this.handleCancelEdit}),R=de(F,{ref:this.refInput,defaultValue:a});A=C.createElement("span",{className:"rejt-edit-form",style:v.editForm},R," ",O,x),D=null}else{A=C.createElement("span",{className:"rejt-value",style:v.value,onClick:S?null:this.handleEditMode},t);let F=de(y,{onClick:i,className:"rejt-minus-menu",style:v.minus});D=S?null:F}return C.createElement("li",{className:"rejt-function-value-node",style:v.li},C.createElement("span",{className:"rejt-name",style:v.name},e," :"," "),A,D)}};lc.defaultProps={keyPath:[],deep:0,handleUpdateValue:()=>{},editButtonElement:C.createElement("button",null,"e"),cancelButtonElement:C.createElement("button",null,"c"),minusMenuElement:C.createElement("span",null," - ")};var un=class extends et{constructor(e){super(e),this.state={data:e.data,name:e.name,keyPath:e.keyPath,deep:e.deep}}static getDerivedStateFromProps(e,t){return e.data!==t.data?{data:e.data}:null}render(){let{data:e,name:t,keyPath:r,deep:n}=this.state,{isCollapsed:o,handleRemove:i,handleUpdateValue:a,onUpdate:l,onDeltaUpdate:u,readOnly:c,getStyle:d,addButtonElement:p,cancelButtonElement:h,editButtonElement:y,inputElementGenerator:E,textareaElementGenerator:v,minusMenuElement:A,plusMenuElement:D,beforeRemoveAction:S,beforeAddAction:F,beforeUpdateAction:x,logger:O,onSubmitValueParser:R}=this.props,N=()=>!0,j=wt(e);switch(j){case tg:return C.createElement(Xo,{data:e,name:t,isCollapsed:o,keyPath:r,deep:n,handleRemove:i,onUpdate:l,onDeltaUpdate:u,readOnly:N,dataType:j,getStyle:d,addButtonElement:p,cancelButtonElement:h,editButtonElement:y,inputElementGenerator:E,textareaElementGenerator:v,minusMenuElement:A,plusMenuElement:D,beforeRemoveAction:S,beforeAddAction:F,beforeUpdateAction:x,logger:O,onSubmitValueParser:R});case rg:return C.createElement(Xo,{data:e,name:t,isCollapsed:o,keyPath:r,deep:n,handleRemove:i,onUpdate:l,onDeltaUpdate:u,readOnly:c,dataType:j,getStyle:d,addButtonElement:p,cancelButtonElement:h,editButtonElement:y,inputElementGenerator:E,textareaElementGenerator:v,minusMenuElement:A,plusMenuElement:D,beforeRemoveAction:S,beforeAddAction:F,beforeUpdateAction:x,logger:O,onSubmitValueParser:R});case ng:return C.createElement(sc,{data:e,name:t,isCollapsed:o,keyPath:r,deep:n,handleRemove:i,onUpdate:l,onDeltaUpdate:u,readOnly:c,dataType:j,getStyle:d,addButtonElement:p,cancelButtonElement:h,editButtonElement:y,inputElementGenerator:E,textareaElementGenerator:v,minusMenuElement:A,plusMenuElement:D,beforeRemoveAction:S,beforeAddAction:F,beforeUpdateAction:x,logger:O,onSubmitValueParser:R});case og:return C.createElement(dt,{name:t,value:`"${e}"`,originalValue:e,keyPath:r,deep:n,handleRemove:i,handleUpdateValue:a,readOnly:c,dataType:j,getStyle:d,cancelButtonElement:h,editButtonElement:y,inputElementGenerator:E,minusMenuElement:A,logger:O,onSubmitValueParser:R});case ag:return C.createElement(dt,{name:t,value:e,originalValue:e,keyPath:r,deep:n,handleRemove:i,handleUpdateValue:a,readOnly:c,dataType:j,getStyle:d,cancelButtonElement:h,editButtonElement:y,inputElementGenerator:E,minusMenuElement:A,logger:O,onSubmitValueParser:R});case ig:return C.createElement(dt,{name:t,value:e?"true":"false",originalValue:e,keyPath:r,deep:n,handleRemove:i,handleUpdateValue:a,readOnly:c,dataType:j,getStyle:d,cancelButtonElement:h,editButtonElement:y,inputElementGenerator:E,minusMenuElement:A,logger:O,onSubmitValueParser:R});case sg:return C.createElement(dt,{name:t,value:e.toISOString(),originalValue:e,keyPath:r,deep:n,handleRemove:i,handleUpdateValue:a,readOnly:N,dataType:j,getStyle:d,cancelButtonElement:h,editButtonElement:y,inputElementGenerator:E,minusMenuElement:A,logger:O,onSubmitValueParser:R});case lg:return C.createElement(dt,{name:t,value:"null",originalValue:"null",keyPath:r,deep:n,handleRemove:i,handleUpdateValue:a,readOnly:c,dataType:j,getStyle:d,cancelButtonElement:h,editButtonElement:y,inputElementGenerator:E,minusMenuElement:A,logger:O,onSubmitValueParser:R});case ug:return C.createElement(dt,{name:t,value:"undefined",originalValue:"undefined",keyPath:r,deep:n,handleRemove:i,handleUpdateValue:a,readOnly:c,dataType:j,getStyle:d,cancelButtonElement:h,editButtonElement:y,inputElementGenerator:E,minusMenuElement:A,logger:O,onSubmitValueParser:R});case cg:return C.createElement(lc,{name:t,value:e.toString(),originalValue:e,keyPath:r,deep:n,handleRemove:i,handleUpdateValue:a,readOnly:c,dataType:j,getStyle:d,cancelButtonElement:h,editButtonElement:y,textareaElementGenerator:v,minusMenuElement:A,logger:O,onSubmitValueParser:R});case dg:return C.createElement(dt,{name:t,value:e.toString(),originalValue:e,keyPath:r,deep:n,handleRemove:i,handleUpdateValue:a,readOnly:N,dataType:j,getStyle:d,cancelButtonElement:h,editButtonElement:y,inputElementGenerator:E,minusMenuElement:A,logger:O,onSubmitValueParser:R});default:return null}}};un.defaultProps={keyPath:[],deep:0};var Xo=class extends et{constructor(e){super(e);let t=e.deep===-1?[]:[...e.keyPath,e.name];this.state={name:e.name,data:e.data,keyPath:t,deep:e.deep,nextDeep:e.deep+1,collapsed:e.isCollapsed(t,e.deep,e.data),addFormVisible:!1},this.handleCollapseMode=this.handleCollapseMode.bind(this),this.handleRemoveValue=this.handleRemoveValue.bind(this),this.handleAddMode=this.handleAddMode.bind(this),this.handleAddValueAdd=this.handleAddValueAdd.bind(this),this.handleAddValueCancel=this.handleAddValueCancel.bind(this),this.handleEditValue=this.handleEditValue.bind(this),this.onChildUpdate=this.onChildUpdate.bind(this),this.renderCollapsed=this.renderCollapsed.bind(this),this.renderNotCollapsed=this.renderNotCollapsed.bind(this)}static getDerivedStateFromProps(e,t){return e.data!==t.data?{data:e.data}:null}onChildUpdate(e,t){let{data:r,keyPath:n}=this.state;r[e]=t,this.setState({data:r});let{onUpdate:o}=this.props,i=n.length;o(n[i-1],r)}handleAddMode(){this.setState({addFormVisible:!0})}handleAddValueCancel(){this.setState({addFormVisible:!1})}handleAddValueAdd({key:e,newValue:t}){let{data:r,keyPath:n,nextDeep:o}=this.state,{beforeAddAction:i,logger:a}=this.props;i(e,n,o,t).then(()=>{r[e]=t,this.setState({data:r}),this.handleAddValueCancel();let{onUpdate:l,onDeltaUpdate:u}=this.props;l(n[n.length-1],r),u({type:nc,keyPath:n,deep:o,key:e,newValue:t})}).catch(a.error)}handleRemoveValue(e){return()=>{let{beforeRemoveAction:t,logger:r}=this.props,{data:n,keyPath:o,nextDeep:i}=this.state,a=n[e];t(e,o,i,a).then(()=>{let l={keyPath:o,deep:i,key:e,oldValue:a,type:oc};delete n[e],this.setState({data:n});let{onUpdate:u,onDeltaUpdate:c}=this.props;u(o[o.length-1],n),c(l)}).catch(r.error)}}handleCollapseMode(){this.setState(e=>({collapsed:!e.collapsed}))}handleEditValue({key:e,value:t}){return new Promise((r,n)=>{let{beforeUpdateAction:o}=this.props,{data:i,keyPath:a,nextDeep:l}=this.state,u=i[e];o(e,a,l,u,t).then(()=>{i[e]=t,this.setState({data:i});let{onUpdate:c,onDeltaUpdate:d}=this.props;c(a[a.length-1],i),d({type:ac,keyPath:a,deep:l,key:e,newValue:t,oldValue:u}),r()}).catch(n)})}renderCollapsed(){let{name:e,keyPath:t,deep:r,data:n}=this.state,{handleRemove:o,readOnly:i,dataType:a,getStyle:l,minusMenuElement:u}=this.props,{minus:c,collapsed:d}=l(e,n,t,r,a),p=Object.getOwnPropertyNames(n),h=i(e,n,t,r,a),y=de(u,{onClick:o,className:"rejt-minus-menu",style:c});return C.createElement("span",{className:"rejt-collapsed"},C.createElement("span",{className:"rejt-collapsed-text",style:d,onClick:this.handleCollapseMode},"{...}"," ",p.length," ",p.length===1?"key":"keys"),!h&&y)}renderNotCollapsed(){let{name:e,data:t,keyPath:r,deep:n,nextDeep:o,addFormVisible:i}=this.state,{isCollapsed:a,handleRemove:l,onDeltaUpdate:u,readOnly:c,getStyle:d,dataType:p,addButtonElement:h,cancelButtonElement:y,editButtonElement:E,inputElementGenerator:v,textareaElementGenerator:A,minusMenuElement:D,plusMenuElement:S,beforeRemoveAction:F,beforeAddAction:x,beforeUpdateAction:O,logger:R,onSubmitValueParser:N}=this.props,{minus:j,plus:U,addForm:P,ul:K,delimiter:L}=d(e,t,r,n,p),z=Object.getOwnPropertyNames(t),b=c(e,t,r,n,p),w=de(S,{onClick:this.handleAddMode,className:"rejt-plus-menu",style:U}),I=de(D,{onClick:l,className:"rejt-minus-menu",style:j}),M=z.map($=>C.createElement(un,{key:$,name:$,data:t[$],keyPath:r,deep:o,isCollapsed:a,handleRemove:this.handleRemoveValue($),handleUpdateValue:this.handleEditValue,onUpdate:this.onChildUpdate,onDeltaUpdate:u,readOnly:c,getStyle:d,addButtonElement:h,cancelButtonElement:y,editButtonElement:E,inputElementGenerator:v,textareaElementGenerator:A,minusMenuElement:D,plusMenuElement:S,beforeRemoveAction:F,beforeAddAction:x,beforeUpdateAction:O,logger:R,onSubmitValueParser:N}));return C.createElement("span",{className:"rejt-not-collapsed"},C.createElement("span",{className:"rejt-not-collapsed-delimiter",style:L},"{"),!b&&w,C.createElement("ul",{className:"rejt-not-collapsed-list",style:K},M),!b&&i&&C.createElement("div",{className:"rejt-add-form",style:P},C.createElement(ra,{handleAdd:this.handleAddValueAdd,handleCancel:this.handleAddValueCancel,addButtonElement:h,cancelButtonElement:y,inputElementGenerator:v,keyPath:r,deep:n,onSubmitValueParser:N})),C.createElement("span",{className:"rejt-not-collapsed-delimiter",style:L},"}"),!b&&I)}render(){let{name:e,collapsed:t,data:r,keyPath:n,deep:o}=this.state,{getStyle:i,dataType:a}=this.props,l=t?this.renderCollapsed():this.renderNotCollapsed(),u=i(e,r,n,o,a);return C.createElement("div",{className:"rejt-object-node"},C.createElement("span",{onClick:this.handleCollapseMode},C.createElement("span",{className:"rejt-name",style:u.name},e," :"," ")),l)}};Xo.defaultProps={keyPath:[],deep:0,minusMenuElement:C.createElement("span",null," - "),plusMenuElement:C.createElement("span",null," + ")};var dt=class extends et{constructor(e){super(e);let t=[...e.keyPath,e.name];this.state={value:e.value,name:e.name,keyPath:t,deep:e.deep,editEnabled:!1,inputRef:null},this.handleEditMode=this.handleEditMode.bind(this),this.refInput=this.refInput.bind(this),this.handleCancelEdit=this.handleCancelEdit.bind(this),this.handleEdit=this.handleEdit.bind(this),this.onKeydown=this.onKeydown.bind(this)}static getDerivedStateFromProps(e,t){return e.value!==t.value?{value:e.value}:null}componentDidUpdate(){let{editEnabled:e,inputRef:t,name:r,value:n,keyPath:o,deep:i}=this.state,{readOnly:a,dataType:l}=this.props,u=a(r,n,o,i,l);e&&!u&&typeof t.focus=="function"&&t.focus()}componentDidMount(){document.addEventListener("keydown",this.onKeydown)}componentWillUnmount(){document.removeEventListener("keydown",this.onKeydown)}onKeydown(e){e.altKey||e.ctrlKey||e.metaKey||e.shiftKey||e.repeat||((e.code==="Enter"||e.key==="Enter")&&(e.preventDefault(),this.handleEdit()),(e.code==="Escape"||e.key==="Escape")&&(e.preventDefault(),this.handleCancelEdit()))}handleEdit(){let{handleUpdateValue:e,originalValue:t,logger:r,onSubmitValueParser:n,keyPath:o}=this.props,{inputRef:i,name:a,deep:l}=this.state;if(!i)return;let u=n(!0,o,l,a,i.value);e({value:u,key:a}).then(()=>{ic(t,u)||this.handleCancelEdit()}).catch(r.error)}handleEditMode(){this.setState({editEnabled:!0})}refInput(e){this.state.inputRef=e}handleCancelEdit(){this.setState({editEnabled:!1})}render(){let{name:e,value:t,editEnabled:r,keyPath:n,deep:o}=this.state,{handleRemove:i,originalValue:a,readOnly:l,dataType:u,getStyle:c,editButtonElement:d,cancelButtonElement:p,inputElementGenerator:h,minusMenuElement:y,keyPath:E}=this.props,v=c(e,a,n,o,u),A=l(e,a,n,o,u),D=r&&!A,S=h(ta,E,o,e,a,u),F=de(d,{onClick:this.handleEdit}),x=de(p,{onClick:this.handleCancelEdit}),O=de(S,{ref:this.refInput,defaultValue:JSON.stringify(a)}),R=de(y,{onClick:i,className:"rejt-minus-menu",style:v.minus});return C.createElement("li",{className:"rejt-value-node",style:v.li},C.createElement("span",{className:"rejt-name",style:v.name},e," : "),D?C.createElement("span",{className:"rejt-edit-form",style:v.editForm},O," ",x,F):C.createElement("span",{className:"rejt-value",style:v.value,onClick:A?null:this.handleEditMode},String(t)),!A&&!D&&R)}};dt.defaultProps={keyPath:[],deep:0,handleUpdateValue:()=>Promise.resolve(),editButtonElement:C.createElement("button",null,"e"),cancelButtonElement:C.createElement("button",null,"c"),minusMenuElement:C.createElement("span",null," - ")};function hg(e){let t=e;if(t.indexOf("function")===0)return(0,eval)(`(${t})`);try{t=JSON.parse(e)}catch{}return t}var fg={minus:{color:"red"},plus:{color:"green"},collapsed:{color:"grey"},delimiter:{},ul:{padding:"0px",margin:"0 0 0 25px",listStyle:"none"},name:{color:"#2287CD"},addForm:{}},mg={minus:{color:"red"},plus:{color:"green"},collapsed:{color:"grey"},delimiter:{},ul:{padding:"0px",margin:"0 0 0 25px",listStyle:"none"},name:{color:"#2287CD"},addForm:{}},yg={minus:{color:"red"},editForm:{},value:{color:"#7bba3d"},li:{minHeight:"22px",lineHeight:"22px",outline:"0px"},name:{color:"#2287CD"}},gg=class extends et{constructor(e){super(e),this.state={data:e.data,rootName:e.rootName},this.onUpdate=this.onUpdate.bind(this),this.removeRoot=this.removeRoot.bind(this)}static getDerivedStateFromProps(e,t){return e.data!==t.data||e.rootName!==t.rootName?{data:e.data,rootName:e.rootName}:null}onUpdate(e,t){this.setState({data:t}),this.props.onFullyUpdate(t)}removeRoot(){this.onUpdate(null,null)}render(){let{data:e,rootName:t}=this.state,{isCollapsed:r,onDeltaUpdate:n,readOnly:o,getStyle:i,addButtonElement:a,cancelButtonElement:l,editButtonElement:u,inputElement:c,textareaElement:d,minusMenuElement:p,plusMenuElement:h,beforeRemoveAction:y,beforeAddAction:E,beforeUpdateAction:v,logger:A,onSubmitValueParser:D,fallback:S=null}=this.props,F=wt(e),x=o;wt(o)==="Boolean"&&(x=()=>o);let O=c;c&&wt(c)!=="Function"&&(O=()=>c);let R=d;return d&&wt(d)!=="Function"&&(R=()=>d),F==="Object"||F==="Array"?C.createElement("div",{className:"rejt-tree"},C.createElement(un,{data:e,name:t,deep:-1,isCollapsed:r,onUpdate:this.onUpdate,onDeltaUpdate:n,readOnly:x,getStyle:i,addButtonElement:a,cancelButtonElement:l,editButtonElement:u,inputElementGenerator:O,textareaElementGenerator:R,minusMenuElement:p,plusMenuElement:h,handleRemove:this.removeRoot,beforeRemoveAction:y,beforeAddAction:E,beforeUpdateAction:v,logger:A,onSubmitValueParser:D})):S}};gg.defaultProps={rootName:"root",isCollapsed:(e,t)=>t!==-1,getStyle:(e,t,r,n,o)=>{switch(o){case"Object":case"Error":return fg;case"Array":return mg;default:return yg}},readOnly:()=>!1,onFullyUpdate:()=>{},onDeltaUpdate:()=>{},beforeRemoveAction:()=>Promise.resolve(),beforeAddAction:()=>Promise.resolve(),beforeUpdateAction:()=>Promise.resolve(),logger:{error:()=>{}},onSubmitValueParser:(e,t,r,n,o)=>hg(o),inputElement:()=>C.createElement("input",null),textareaElement:()=>C.createElement("textarea",null),fallback:null};var{window:zT}=globalThis,GT=k.div(({theme:e})=>({position:"relative",display:"flex",'&[aria-readonly="true"]':{opacity:.5},".rejt-tree":{marginLeft:"1rem",fontSize:"13px"},".rejt-value-node, .rejt-object-node > .rejt-collapsed, .rejt-array-node > .rejt-collapsed, .rejt-object-node > .rejt-not-collapsed, .rejt-array-node > .rejt-not-collapsed":{"& > svg":{opacity:0,transition:"opacity 0.2s"}},".rejt-value-node:hover, .rejt-object-node:hover > .rejt-collapsed, .rejt-array-node:hover > .rejt-collapsed, .rejt-object-node:hover > .rejt-not-collapsed, .rejt-array-node:hover > .rejt-not-collapsed":{"& > svg":{opacity:1}},".rejt-edit-form button":{display:"none"},".rejt-add-form":{marginLeft:10},".rejt-add-value-node":{display:"inline-flex",alignItems:"center"},".rejt-name":{lineHeight:"22px"},".rejt-not-collapsed-delimiter":{lineHeight:"22px"},".rejt-plus-menu":{marginLeft:5},".rejt-object-node > span > *, .rejt-array-node > span > *":{position:"relative",zIndex:2},".rejt-object-node, .rejt-array-node":{position:"relative"},".rejt-object-node > span:first-of-type::after, .rejt-array-node > span:first-of-type::after, .rejt-collapsed::before, .rejt-not-collapsed::before":{content:'""',position:"absolute",top:0,display:"block",width:"100%",marginLeft:"-1rem",padding:"0 4px 0 1rem",height:22},".rejt-collapsed::before, .rejt-not-collapsed::before":{zIndex:1,background:"transparent",borderRadius:4,transition:"background 0.2s",pointerEvents:"none",opacity:.1},".rejt-object-node:hover, .rejt-array-node:hover":{"& > .rejt-collapsed::before, & > .rejt-not-collapsed::before":{background:e.color.secondary}},".rejt-collapsed::after, .rejt-not-collapsed::after":{content:'""',position:"absolute",display:"inline-block",pointerEvents:"none",width:0,height:0},".rejt-collapsed::after":{left:-8,top:8,borderTop:"3px solid transparent",borderBottom:"3px solid transparent",borderLeft:"3px solid rgba(153,153,153,0.6)"},".rejt-not-collapsed::after":{left:-10,top:10,borderTop:"3px solid rgba(153,153,153,0.6)",borderLeft:"3px solid transparent",borderRight:"3px solid transparent"},".rejt-value":{display:"inline-block",border:"1px solid transparent",borderRadius:4,margin:"1px 0",padding:"0 4px",cursor:"text",color:e.color.defaultText},".rejt-value-node:hover > .rejt-value":{background:e.color.lighter,borderColor:e.appBorderColor}})),WT=k.button(({theme:e,primary:t})=>({border:0,height:20,margin:1,borderRadius:4,background:t?e.color.secondary:"transparent",color:t?e.color.lightest:e.color.dark,fontWeight:t?"bold":"normal",cursor:"pointer",order:t?"initial":9})),KT=k(su)(({theme:e,disabled:t})=>({display:"inline-block",verticalAlign:"middle",width:15,height:15,padding:3,marginLeft:5,cursor:t?"not-allowed":"pointer",color:e.textMutedColor,"&:hover":t?{}:{color:e.color.ancillary},"svg + &":{marginLeft:0}})),YT=k(fu)(({theme:e,disabled:t})=>({display:"inline-block",verticalAlign:"middle",width:15,height:15,padding:3,marginLeft:5,cursor:t?"not-allowed":"pointer",color:e.textMutedColor,"&:hover":t?{}:{color:e.color.negative},"svg + &":{marginLeft:0}})),XT=k.input(({theme:e,placeholder:t})=>({outline:0,margin:t?1:"1px 0",padding:"3px 4px",color:e.color.defaultText,background:e.background.app,border:`1px solid ${e.appBorderColor}`,borderRadius:4,lineHeight:"14px",width:t==="Key"?80:120,"&:focus":{border:`1px solid ${e.color.secondary}`}})),QT=k(ht)(({theme:e})=>({position:"absolute",zIndex:2,top:2,right:2,height:21,padding:"0 3px",background:e.background.bar,border:`1px solid ${e.appBorderColor}`,borderRadius:3,color:e.textMutedColor,fontSize:"9px",fontWeight:"bold",textDecoration:"none",span:{marginLeft:3,marginTop:1}})),ZT=k(nt.Textarea)(({theme:e})=>({flex:1,padding:"7px 6px",fontFamily:e.typography.fonts.mono,fontSize:"12px",lineHeight:"18px","&::placeholder":{fontFamily:e.typography.fonts.base,fontSize:"13px"},"&:placeholder-shown":{padding:"7px 10px"}}));var eF=k.input(({theme:e,min:t,max:r,value:n,disabled:o})=>({"&":{width:"100%",backgroundColor:"transparent",appearance:"none"},"&::-webkit-slider-runnable-track":{background:e.base==="light"?`linear-gradient(to right, - ${e.color.green} 0%, ${e.color.green} ${(n-t)/(r-t)*100}%, - ${qe(.02,e.input.background)} ${(n-t)/(r-t)*100}%, - ${qe(.02,e.input.background)} 100%)`:`linear-gradient(to right, - ${e.color.green} 0%, ${e.color.green} ${(n-t)/(r-t)*100}%, - ${St(.02,e.input.background)} ${(n-t)/(r-t)*100}%, - ${St(.02,e.input.background)} 100%)`,boxShadow:`${e.appBorderColor} 0 0 0 1px inset`,borderRadius:6,width:"100%",height:6,cursor:o?"not-allowed":"pointer"},"&::-webkit-slider-thumb":{marginTop:"-6px",width:16,height:16,border:`1px solid ${Ye(e.appBorderColor,.2)}`,borderRadius:"50px",boxShadow:`0 1px 3px 0px ${Ye(e.appBorderColor,.2)}`,cursor:o?"not-allowed":"grab",appearance:"none",background:`${e.input.background}`,transition:"all 150ms ease-out","&:hover":{background:`${qe(.05,e.input.background)}`,transform:"scale3d(1.1, 1.1, 1.1) translateY(-1px)",transition:"all 50ms ease-out"},"&:active":{background:`${e.input.background}`,transform:"scale3d(1, 1, 1) translateY(0px)",cursor:o?"not-allowed":"grab"}},"&:focus":{outline:"none","&::-webkit-slider-runnable-track":{borderColor:Ye(e.color.secondary,.4)},"&::-webkit-slider-thumb":{borderColor:e.color.secondary,boxShadow:`0 0px 5px 0px ${e.color.secondary}`}},"&::-moz-range-track":{background:e.base==="light"?`linear-gradient(to right, - ${e.color.green} 0%, ${e.color.green} ${(n-t)/(r-t)*100}%, - ${qe(.02,e.input.background)} ${(n-t)/(r-t)*100}%, - ${qe(.02,e.input.background)} 100%)`:`linear-gradient(to right, - ${e.color.green} 0%, ${e.color.green} ${(n-t)/(r-t)*100}%, - ${St(.02,e.input.background)} ${(n-t)/(r-t)*100}%, - ${St(.02,e.input.background)} 100%)`,boxShadow:`${e.appBorderColor} 0 0 0 1px inset`,borderRadius:6,width:"100%",height:6,cursor:o?"not-allowed":"pointer",outline:"none"},"&::-moz-range-thumb":{width:16,height:16,border:`1px solid ${Ye(e.appBorderColor,.2)}`,borderRadius:"50px",boxShadow:`0 1px 3px 0px ${Ye(e.appBorderColor,.2)}`,cursor:o?"not-allowed":"grap",background:`${e.input.background}`,transition:"all 150ms ease-out","&:hover":{background:`${qe(.05,e.input.background)}`,transform:"scale3d(1.1, 1.1, 1.1) translateY(-1px)",transition:"all 50ms ease-out"},"&:active":{background:`${e.input.background}`,transform:"scale3d(1, 1, 1) translateY(0px)",cursor:"grabbing"}},"&::-ms-track":{background:e.base==="light"?`linear-gradient(to right, - ${e.color.green} 0%, ${e.color.green} ${(n-t)/(r-t)*100}%, - ${qe(.02,e.input.background)} ${(n-t)/(r-t)*100}%, - ${qe(.02,e.input.background)} 100%)`:`linear-gradient(to right, - ${e.color.green} 0%, ${e.color.green} ${(n-t)/(r-t)*100}%, - ${St(.02,e.input.background)} ${(n-t)/(r-t)*100}%, - ${St(.02,e.input.background)} 100%)`,boxShadow:`${e.appBorderColor} 0 0 0 1px inset`,color:"transparent",width:"100%",height:"6px",cursor:"pointer"},"&::-ms-fill-lower":{borderRadius:6},"&::-ms-fill-upper":{borderRadius:6},"&::-ms-thumb":{width:16,height:16,background:`${e.input.background}`,border:`1px solid ${Ye(e.appBorderColor,.2)}`,borderRadius:50,cursor:"grab",marginTop:0},"@supports (-ms-ime-align:auto)":{"input[type=range]":{margin:"0"}}})),bg=k.span({paddingLeft:5,paddingRight:5,fontSize:12,whiteSpace:"nowrap",fontFeatureSettings:"tnum",fontVariantNumeric:"tabular-nums","[aria-readonly=true] &":{opacity:.5}}),tF=k(bg)(({numberOFDecimalsPlaces:e,max:t})=>({width:`${e+t.toString().length*2+3}ch`,textAlign:"right",flexShrink:0})),rF=k.div({display:"flex",alignItems:"center",width:"100%"});var nF=k.label({display:"flex"}),oF=k.div(({isMaxed:e})=>({marginLeft:"0.75rem",paddingTop:"0.35rem",color:e?"red":void 0}));var aF=k(nt.Input)({padding:10});var iF=ya(()=>Promise.resolve().then(()=>(ju(),Nu)));var sF=k.table(({theme:e})=>({"&&":{borderCollapse:"collapse",borderSpacing:0,border:"none",tr:{border:"none !important",background:"none"},"td, th":{padding:0,border:"none",width:"auto!important"},marginTop:0,marginBottom:0,"th:first-of-type, td:first-of-type":{paddingLeft:0},"th:last-of-type, td:last-of-type":{paddingRight:0},td:{paddingTop:0,paddingBottom:4,"&:not(:first-of-type)":{paddingLeft:10,paddingRight:0}},tbody:{boxShadow:"none",border:"none"},code:Tt({theme:e}),div:{span:{fontWeight:"bold"}},"& code":{margin:0,display:"inline-block",fontSize:e.typography.size.s1}}}));var Eg=jt(Hu());var lF=k.div(({isExpanded:e})=>({display:"flex",flexDirection:e?"column":"row",flexWrap:"wrap",alignItems:"flex-start",marginBottom:"-4px",minWidth:100})),uF=k.span(Tt,({theme:e,simple:t=!1})=>({flex:"0 0 auto",fontFamily:e.typography.fonts.mono,fontSize:e.typography.size.s1,wordBreak:"break-word",whiteSpace:"normal",maxWidth:"100%",margin:0,marginRight:"4px",marginBottom:"4px",paddingTop:"2px",paddingBottom:"2px",lineHeight:"13px",...t&&{background:"transparent",border:"0 none",paddingLeft:0}})),cF=k.button(({theme:e})=>({fontFamily:e.typography.fonts.mono,color:e.color.secondary,marginBottom:"4px",background:"none",border:"none"})),dF=k.div(Tt,({theme:e})=>({fontFamily:e.typography.fonts.mono,color:e.color.secondary,fontSize:e.typography.size.s1,margin:0,whiteSpace:"nowrap",display:"flex",alignItems:"center"})),pF=k.div(({theme:e,width:t})=>({width:t,minWidth:200,maxWidth:800,padding:15,fontFamily:e.typography.fonts.mono,fontSize:e.typography.size.s1,boxSizing:"content-box","& code":{padding:"0 !important"}})),hF=k(du)({marginLeft:4}),fF=k(cu)({marginLeft:4});var mF=(0,Eg.default)(1e3)(e=>{let t=e.split(/\r?\n/);return`${Math.max(...t.map(r=>r.length))}ch`});var yF=k.span({fontWeight:"bold"}),gF=k.span(({theme:e})=>({color:e.color.negative,fontFamily:e.typography.fonts.mono,cursor:"help"})),bF=k.div(({theme:e})=>({"&&":{p:{margin:"0 0 10px 0"},a:{color:e.color.secondary}},code:{...Tt({theme:e}),fontSize:12,fontFamily:e.typography.fonts.mono},"& code":{margin:0,display:"inline-block"},"& pre > code":{whiteSpace:"pre-wrap"}})),EF=k.div(({theme:e,hasDescription:t})=>({color:e.base==="light"?le(.1,e.color.defaultText):le(.2,e.color.defaultText),marginTop:t?4:0})),vF=k.div(({theme:e,hasDescription:t})=>({color:e.base==="light"?le(.1,e.color.defaultText):le(.2,e.color.defaultText),marginTop:t?12:0,marginBottom:12})),AF=k.td(({theme:e,expandable:t})=>({paddingLeft:t?"40px !important":"20px !important"}));var DF=k.div(({inAddonPanel:e,theme:t})=>({height:e?"100%":"auto",display:"flex",border:e?"none":`1px solid ${t.appBorderColor}`,borderRadius:e?0:t.appBorderRadius,padding:e?0:40,alignItems:"center",justifyContent:"center",flexDirection:"column",gap:15,background:t.background.content,boxShadow:"rgba(0, 0, 0, 0.10) 0 1px 3px 0"})),SF=k.div(({theme:e})=>({display:"flex",fontSize:e.typography.size.s2-1,gap:25})),wF=k.div(({theme:e})=>({width:1,height:16,backgroundColor:e.appBorderColor}));var CF=k(lu)(({theme:e})=>({marginRight:8,marginLeft:-10,marginTop:-2,height:12,width:12,color:e.base==="light"?le(.25,e.color.defaultText):le(.3,e.color.defaultText),border:"none",display:"inline-block"})),xF=k(uu)(({theme:e})=>({marginRight:8,marginLeft:-10,marginTop:-2,height:12,width:12,color:e.base==="light"?le(.25,e.color.defaultText):le(.3,e.color.defaultText),border:"none",display:"inline-block"})),TF=k.span(({theme:e})=>({display:"flex",lineHeight:"20px",alignItems:"center"})),FF=k.td(({theme:e})=>({position:"relative",letterSpacing:"0.35em",textTransform:"uppercase",fontWeight:e.typography.weight.bold,fontSize:e.typography.size.s1-1,color:e.base==="light"?le(.4,e.color.defaultText):le(.6,e.color.defaultText),background:`${e.background.app} !important`,"& ~ td":{background:`${e.background.app} !important`}})),IF=k.td(({theme:e})=>({position:"relative",fontWeight:e.typography.weight.bold,fontSize:e.typography.size.s2-1,background:e.background.app})),kF=k.td({position:"relative"}),RF=k.tr(({theme:e})=>({"&:hover > td":{backgroundColor:`${St(.005,e.background.app)} !important`,boxShadow:`${e.color.mediumlight} 0 - 1px 0 0 inset`,cursor:"row-resize"}})),OF=k.button({background:"none",border:"none",padding:"0",font:"inherit",position:"absolute",top:0,bottom:0,left:0,right:0,height:"100%",width:"100%",color:"transparent",cursor:"row-resize !important"});var _F=k.div(({theme:e})=>({display:"flex",gap:16,borderBottom:`1px solid ${e.appBorderColor}`,"&:last-child":{borderBottom:0}})),PF=k.div(({numColumn:e})=>({display:"flex",flexDirection:"column",flex:e||1,gap:5,padding:"12px 20px"})),BF=k.div(({theme:e,width:t,height:r})=>({animation:`${e.animation.glow} 1.5s ease-in-out infinite`,background:e.appBorderColor,width:t||"100%",height:r||16,borderRadius:3}));var NF=k.table(({theme:e,compact:t,inAddonPanel:r})=>({"&&":{borderSpacing:0,color:e.color.defaultText,"td, th":{padding:0,border:"none",verticalAlign:"top",textOverflow:"ellipsis"},fontSize:e.typography.size.s2-1,lineHeight:"20px",textAlign:"left",width:"100%",marginTop:r?0:25,marginBottom:r?0:40,"thead th:first-of-type, td:first-of-type":{width:"25%"},"th:first-of-type, td:first-of-type":{paddingLeft:20},"th:nth-of-type(2), td:nth-of-type(2)":{...t?null:{width:"35%"}},"td:nth-of-type(3)":{...t?null:{width:"15%"}},"th:last-of-type, td:last-of-type":{paddingRight:20,...t?null:{width:"25%"}},th:{color:e.base==="light"?le(.25,e.color.defaultText):le(.45,e.color.defaultText),paddingTop:10,paddingBottom:10,paddingLeft:15,paddingRight:15},td:{paddingTop:"10px",paddingBottom:"10px","&:not(:first-of-type)":{paddingLeft:15,paddingRight:15},"&:last-of-type":{paddingRight:20}},marginLeft:r?0:1,marginRight:r?0:1,tbody:{...r?null:{filter:e.base==="light"?"drop-shadow(0px 1px 3px rgba(0, 0, 0, 0.10))":"drop-shadow(0px 1px 3px rgba(0, 0, 0, 0.20))"},"> tr > *":{background:e.background.content,borderTop:`1px solid ${e.appBorderColor}`},...r?null:{"> tr:first-of-type > *":{borderBlockStart:`1px solid ${e.appBorderColor}`},"> tr:last-of-type > *":{borderBlockEnd:`1px solid ${e.appBorderColor}`},"> tr > *:first-of-type":{borderInlineStart:`1px solid ${e.appBorderColor}`},"> tr > *:last-of-type":{borderInlineEnd:`1px solid ${e.appBorderColor}`},"> tr:first-of-type > td:first-of-type":{borderTopLeftRadius:e.appBorderRadius},"> tr:first-of-type > td:last-of-type":{borderTopRightRadius:e.appBorderRadius},"> tr:last-of-type > td:first-of-type":{borderBottomLeftRadius:e.appBorderRadius},"> tr:last-of-type > td:last-of-type":{borderBottomRightRadius:e.appBorderRadius}}}}})),jF=k(ht)(({theme:e})=>({margin:"-4px -12px -4px 0"})),LF=k.span({display:"flex",justifyContent:"space-between"});var MF=k.div(({theme:e})=>({marginRight:30,fontSize:`${e.typography.size.s1}px`,color:e.base==="light"?le(.4,e.color.defaultText):le(.6,e.color.defaultText)})),UF=k.div({overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis"}),$F=k.div({display:"flex",flexDirection:"row",alignItems:"baseline","&:not(:last-child)":{marginBottom:"1rem"}}),qF=k.div(Ft,({theme:e})=>({...sn(e),margin:"25px 0 40px",padding:"30px 20px"}));var VF=k.div(({theme:e})=>({fontWeight:e.typography.weight.bold,color:e.color.defaultText})),JF=k.div(({theme:e})=>({color:e.base==="light"?le(.2,e.color.defaultText):le(.6,e.color.defaultText)})),HF=k.div({flex:"0 0 30%",lineHeight:"20px",marginTop:5}),zF=k.div(({theme:e})=>({flex:1,textAlign:"center",fontFamily:e.typography.fonts.mono,fontSize:e.typography.size.s1,lineHeight:1,overflow:"hidden",color:e.base==="light"?le(.4,e.color.defaultText):le(.6,e.color.defaultText),"> div":{display:"inline-block",overflow:"hidden",maxWidth:"100%",textOverflow:"ellipsis"},span:{display:"block",marginTop:2}})),GF=k.div({display:"flex",flexDirection:"row"}),WF=k.div(({background:e})=>({position:"relative",flex:1,"&::before":{position:"absolute",top:0,left:0,width:"100%",height:"100%",background:e,content:'""'}})),KF=k.div(({theme:e})=>({...sn(e),display:"flex",flexDirection:"row",height:50,marginBottom:5,overflow:"hidden",backgroundColor:"white",backgroundImage:"repeating-linear-gradient(-45deg, #ccc, #ccc 1px, #fff 1px, #fff 16px)",backgroundClip:"padding-box"})),YF=k.div({display:"flex",flexDirection:"column",flex:1,position:"relative",marginBottom:30}),XF=k.div({flex:1,display:"flex",flexDirection:"row"}),QF=k.div({display:"flex",alignItems:"flex-start"}),ZF=k.div({flex:"0 0 30%"}),e5=k.div({flex:1}),t5=k.div(({theme:e})=>({display:"flex",flexDirection:"row",alignItems:"center",paddingBottom:20,fontWeight:e.typography.weight.bold,color:e.base==="light"?le(.4,e.color.defaultText):le(.6,e.color.defaultText)})),r5=k.div(({theme:e})=>({fontSize:e.typography.size.s2,lineHeight:"20px",display:"flex",flexDirection:"column"}));var n5=k.div(({theme:e})=>({fontFamily:e.typography.fonts.base,fontSize:e.typography.size.s2,color:e.color.defaultText,marginLeft:10,lineHeight:1.2})),o5=k.div(({theme:e})=>({...sn(e),overflow:"hidden",height:40,width:40,display:"flex",alignItems:"center",justifyContent:"center",flex:"none","> img, > svg":{width:20,height:20}})),a5=k.div({display:"inline-flex",flexDirection:"row",alignItems:"center",flex:"0 1 calc(20% - 10px)",minWidth:120,margin:"0px 10px 30px 0"}),i5=k.div({display:"flex",flexFlow:"row wrap"});globalThis&&globalThis.__DOCS_CONTEXT__===void 0&&(globalThis.__DOCS_CONTEXT__=Kt(null),globalThis.__DOCS_CONTEXT__.displayName="DocsContext");var uc=globalThis?globalThis.__DOCS_CONTEXT__:Kt(null);var vg=Object.create,cc=Object.defineProperty,Ag=Object.getOwnPropertyDescriptor,dc=Object.getOwnPropertyNames,Dg=Object.getPrototypeOf,Sg=Object.prototype.hasOwnProperty,Ne=(e,t)=>function(){return t||(0,e[dc(e)[0]])((t={exports:{}}).exports,t),t.exports},wg=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of dc(t))!Sg.call(e,o)&&o!==r&&cc(e,o,{get:()=>t[o],enumerable:!(n=Ag(t,o))||n.enumerable});return e},na=(e,t,r)=>(r=e!=null?vg(Dg(e)):{},wg(t||!e||!e.__esModule?cc(r,"default",{value:e,enumerable:!0}):r,e)),Cg=["bubbles","cancelBubble","cancelable","composed","currentTarget","defaultPrevented","eventPhase","isTrusted","returnValue","srcElement","target","timeStamp","type"],xg=["detail"];function Tg(e){let t=Cg.filter(r=>e[r]!==void 0).reduce((r,n)=>({...r,[n]:e[n]}),{});return e instanceof CustomEvent&&xg.filter(r=>e[r]!==void 0).forEach(r=>{t[r]=e[r]}),t}var Fg=jt(Hu(),1),pc=Ne({"node_modules/has-symbols/shams.js"(e,t){t.exports=function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return!1;if(typeof Symbol.iterator=="symbol")return!0;var r={},n=Symbol("test"),o=Object(n);if(typeof n=="string"||Object.prototype.toString.call(n)!=="[object Symbol]"||Object.prototype.toString.call(o)!=="[object Symbol]")return!1;var i=42;r[n]=i;for(n in r)return!1;if(typeof Object.keys=="function"&&Object.keys(r).length!==0||typeof Object.getOwnPropertyNames=="function"&&Object.getOwnPropertyNames(r).length!==0)return!1;var a=Object.getOwnPropertySymbols(r);if(a.length!==1||a[0]!==n||!Object.prototype.propertyIsEnumerable.call(r,n))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var l=Object.getOwnPropertyDescriptor(r,n);if(l.value!==i||l.enumerable!==!0)return!1}return!0}}}),hc=Ne({"node_modules/has-symbols/index.js"(e,t){var r=typeof Symbol<"u"&&Symbol,n=pc();t.exports=function(){return typeof r!="function"||typeof Symbol!="function"||typeof r("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:n()}}}),Ig=Ne({"node_modules/function-bind/implementation.js"(e,t){var r="Function.prototype.bind called on incompatible ",n=Array.prototype.slice,o=Object.prototype.toString,i="[object Function]";t.exports=function(a){var l=this;if(typeof l!="function"||o.call(l)!==i)throw new TypeError(r+l);for(var u=n.call(arguments,1),c,d=function(){if(this instanceof c){var v=l.apply(this,u.concat(n.call(arguments)));return Object(v)===v?v:this}else return l.apply(a,u.concat(n.call(arguments)))},p=Math.max(0,l.length-u.length),h=[],y=0;y"u"?r:p(Uint8Array),E={"%AggregateError%":typeof AggregateError>"u"?r:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?r:ArrayBuffer,"%ArrayIteratorPrototype%":d?p([][Symbol.iterator]()):r,"%AsyncFromSyncIteratorPrototype%":r,"%AsyncFunction%":h,"%AsyncGenerator%":h,"%AsyncGeneratorFunction%":h,"%AsyncIteratorPrototype%":h,"%Atomics%":typeof Atomics>"u"?r:Atomics,"%BigInt%":typeof BigInt>"u"?r:BigInt,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?r:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%eval%":eval,"%EvalError%":EvalError,"%Float32Array%":typeof Float32Array>"u"?r:Float32Array,"%Float64Array%":typeof Float64Array>"u"?r:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?r:FinalizationRegistry,"%Function%":o,"%GeneratorFunction%":h,"%Int8Array%":typeof Int8Array>"u"?r:Int8Array,"%Int16Array%":typeof Int16Array>"u"?r:Int16Array,"%Int32Array%":typeof Int32Array>"u"?r:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":d?p(p([][Symbol.iterator]())):r,"%JSON%":typeof JSON=="object"?JSON:r,"%Map%":typeof Map>"u"?r:Map,"%MapIteratorPrototype%":typeof Map>"u"||!d?r:p(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?r:Promise,"%Proxy%":typeof Proxy>"u"?r:Proxy,"%RangeError%":RangeError,"%ReferenceError%":ReferenceError,"%Reflect%":typeof Reflect>"u"?r:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?r:Set,"%SetIteratorPrototype%":typeof Set>"u"||!d?r:p(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?r:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":d?p(""[Symbol.iterator]()):r,"%Symbol%":d?Symbol:r,"%SyntaxError%":n,"%ThrowTypeError%":c,"%TypedArray%":y,"%TypeError%":i,"%Uint8Array%":typeof Uint8Array>"u"?r:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?r:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?r:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?r:Uint32Array,"%URIError%":URIError,"%WeakMap%":typeof WeakMap>"u"?r:WeakMap,"%WeakRef%":typeof WeakRef>"u"?r:WeakRef,"%WeakSet%":typeof WeakSet>"u"?r:WeakSet},v=function L(z){var b;if(z==="%AsyncFunction%")b=a("async function () {}");else if(z==="%GeneratorFunction%")b=a("function* () {}");else if(z==="%AsyncGeneratorFunction%")b=a("async function* () {}");else if(z==="%AsyncGenerator%"){var w=L("%AsyncGeneratorFunction%");w&&(b=w.prototype)}else if(z==="%AsyncIteratorPrototype%"){var I=L("%AsyncGenerator%");I&&(b=p(I.prototype))}return E[z]=b,b},A={"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},D=oa(),S=kg(),F=D.call(Function.call,Array.prototype.concat),x=D.call(Function.apply,Array.prototype.splice),O=D.call(Function.call,String.prototype.replace),R=D.call(Function.call,String.prototype.slice),N=D.call(Function.call,RegExp.prototype.exec),j=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,U=/\\(\\)?/g,P=function(L){var z=R(L,0,1),b=R(L,-1);if(z==="%"&&b!=="%")throw new n("invalid intrinsic syntax, expected closing `%`");if(b==="%"&&z!=="%")throw new n("invalid intrinsic syntax, expected opening `%`");var w=[];return O(L,j,function(I,M,$,Y){w[w.length]=$?O(Y,U,"$1"):M||I}),w},K=function(L,z){var b=L,w;if(S(A,b)&&(w=A[b],b="%"+w[0]+"%"),S(E,b)){var I=E[b];if(I===h&&(I=v(b)),typeof I>"u"&&!z)throw new i("intrinsic "+L+" exists, but is not available. Please file an issue!");return{alias:w,name:b,value:I}}throw new n("intrinsic "+L+" does not exist!")};t.exports=function(L,z){if(typeof L!="string"||L.length===0)throw new i("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof z!="boolean")throw new i('"allowMissing" argument must be a boolean');if(N(/^%?[^%]*%?$/,L)===null)throw new n("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var b=P(L),w=b.length>0?b[0]:"",I=K("%"+w+"%",z),M=I.name,$=I.value,Y=!1,re=I.alias;re&&(w=re[0],x(b,F([0,1],re)));for(var Z=1,X=!0;Z=b.length){var Se=l($,ee);X=!!Se,X&&"get"in Se&&!("originalValue"in Se.get)?$=Se.get:$=$[ee]}else X=S($,ee),$=$[ee];X&&!Y&&(E[M]=$)}}return $}}}),Rg=Ne({"node_modules/call-bind/index.js"(e,t){var r=oa(),n=fc(),o=n("%Function.prototype.apply%"),i=n("%Function.prototype.call%"),a=n("%Reflect.apply%",!0)||r.call(i,o),l=n("%Object.getOwnPropertyDescriptor%",!0),u=n("%Object.defineProperty%",!0),c=n("%Math.max%");if(u)try{u({},"a",{value:1})}catch{u=null}t.exports=function(p){var h=a(r,i,arguments);if(l&&u){var y=l(h,"length");y.configurable&&u(h,"length",{value:1+c(0,p.length-(arguments.length-1))})}return h};var d=function(){return a(r,o,arguments)};u?u(t.exports,"apply",{value:d}):t.exports.apply=d}}),Og=Ne({"node_modules/call-bind/callBound.js"(e,t){var r=fc(),n=Rg(),o=n(r("String.prototype.indexOf"));t.exports=function(i,a){var l=r(i,!!a);return typeof l=="function"&&o(i,".prototype.")>-1?n(l):l}}}),_g=Ne({"node_modules/has-tostringtag/shams.js"(e,t){var r=pc();t.exports=function(){return r()&&!!Symbol.toStringTag}}}),Pg=Ne({"node_modules/is-regex/index.js"(e,t){var r=Og(),n=_g()(),o,i,a,l;n&&(o=r("Object.prototype.hasOwnProperty"),i=r("RegExp.prototype.exec"),a={},u=function(){throw a},l={toString:u,valueOf:u},typeof Symbol.toPrimitive=="symbol"&&(l[Symbol.toPrimitive]=u));var u,c=r("Object.prototype.toString"),d=Object.getOwnPropertyDescriptor,p="[object RegExp]";t.exports=n?function(h){if(!h||typeof h!="object")return!1;var y=d(h,"lastIndex"),E=y&&o(y,"value");if(!E)return!1;try{i(h,l)}catch(v){return v===a}}:function(h){return!h||typeof h!="object"&&typeof h!="function"?!1:c(h)===p}}}),Bg=Ne({"node_modules/is-function/index.js"(e,t){t.exports=n;var r=Object.prototype.toString;function n(o){if(!o)return!1;var i=r.call(o);return i==="[object Function]"||typeof o=="function"&&i!=="[object RegExp]"||typeof window<"u"&&(o===window.setTimeout||o===window.alert||o===window.confirm||o===window.prompt)}}}),Ng=Ne({"node_modules/is-symbol/index.js"(e,t){var r=Object.prototype.toString,n=hc()();n?(o=Symbol.prototype.toString,i=/^Symbol\(.*\)$/,a=function(l){return typeof l.valueOf()!="symbol"?!1:i.test(o.call(l))},t.exports=function(l){if(typeof l=="symbol")return!0;if(r.call(l)!=="[object Symbol]")return!1;try{return a(l)}catch{return!1}}):t.exports=function(l){return!1};var o,i,a}}),jg=na(Pg()),Lg=na(Bg()),Mg=na(Ng());function Ug(e){return e!=null&&typeof e=="object"&&Array.isArray(e)===!1}var $g=typeof window=="object"&&window&&window.Object===Object&&window,qg=$g,Vg=typeof self=="object"&&self&&self.Object===Object&&self,Jg=qg||Vg||Function("return this")(),aa=Jg,Hg=aa.Symbol,$t=Hg,mc=Object.prototype,zg=mc.hasOwnProperty,Gg=mc.toString,fr=$t?$t.toStringTag:void 0;function Wg(e){var t=zg.call(e,fr),r=e[fr];try{e[fr]=void 0;var n=!0}catch{}var o=Gg.call(e);return n&&(t?e[fr]=r:delete e[fr]),o}var Kg=Wg,Yg=Object.prototype,Xg=Yg.toString;function Qg(e){return Xg.call(e)}var Zg=Qg,e0="[object Null]",t0="[object Undefined]",$u=$t?$t.toStringTag:void 0;function r0(e){return e==null?e===void 0?t0:e0:$u&&$u in Object(e)?Kg(e):Zg(e)}var n0=r0,qu=$t?$t.prototype:void 0;qu&&qu.toString;function o0(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}var yc=o0,a0="[object AsyncFunction]",i0="[object Function]",s0="[object GeneratorFunction]",l0="[object Proxy]";function u0(e){if(!yc(e))return!1;var t=n0(e);return t==i0||t==s0||t==a0||t==l0}var c0=u0,d0=aa["__core-js_shared__"],zo=d0,Vu=function(){var e=/[^.]+$/.exec(zo&&zo.keys&&zo.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();function p0(e){return!!Vu&&Vu in e}var h0=p0,f0=Function.prototype,m0=f0.toString;function y0(e){if(e!=null){try{return m0.call(e)}catch{}try{return e+""}catch{}}return""}var g0=y0,b0=/[\\^$.*+?()[\]{}|]/g,E0=/^\[object .+?Constructor\]$/,v0=Function.prototype,A0=Object.prototype,D0=v0.toString,S0=A0.hasOwnProperty,w0=RegExp("^"+D0.call(S0).replace(b0,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function C0(e){if(!yc(e)||h0(e))return!1;var t=c0(e)?w0:E0;return t.test(g0(e))}var x0=C0;function T0(e,t){return e?.[t]}var F0=T0;function I0(e,t){var r=F0(e,t);return x0(r)?r:void 0}var gc=I0;function k0(e,t){return e===t||e!==e&&t!==t}var R0=k0,O0=gc(Object,"create"),gr=O0;function _0(){this.__data__=gr?gr(null):{},this.size=0}var P0=_0;function B0(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}var N0=B0,j0="__lodash_hash_undefined__",L0=Object.prototype,M0=L0.hasOwnProperty;function U0(e){var t=this.__data__;if(gr){var r=t[e];return r===j0?void 0:r}return M0.call(t,e)?t[e]:void 0}var $0=U0,q0=Object.prototype,V0=q0.hasOwnProperty;function J0(e){var t=this.__data__;return gr?t[e]!==void 0:V0.call(t,e)}var H0=J0,z0="__lodash_hash_undefined__";function G0(e,t){var r=this.__data__;return this.size+=this.has(e)?0:1,r[e]=gr&&t===void 0?z0:t,this}var W0=G0;function qt(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t-1}var a2=o2;function i2(e,t){var r=this.__data__,n=cn(r,e);return n<0?(++this.size,r.push([e,t])):r[n][1]=t,this}var s2=i2;function Vt(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t{let t=null,r=!1,n=!1,o=!1,i="";if(e.indexOf("//")>=0||e.indexOf("/*")>=0)for(let a=0;aO2(e).replace(/\n\s*/g,"").trim()),P2=function(e,t){let r=t.slice(0,t.indexOf("{")),n=t.slice(t.indexOf("{"));if(r.includes("=>")||r.includes("function"))return t;let o=r;return o=o.replace(e,"function"),o+n},B2=/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}(\.\d{3})?Z$/;function Ec(e){if(!R2(e))return e;let t=e,r=!1;return typeof Event<"u"&&e instanceof Event&&(t=Tg(t),r=!0),t=Object.keys(t).reduce((n,o)=>{try{t[o]&&t[o].toJSON,n[o]=t[o]}catch{r=!0}return n},{}),r?t:e}var N2=function(e){let t,r,n,o;return function(i,a){try{if(i==="")return o=[],t=new Map([[a,"[]"]]),r=new Map,n=[],a;let l=r.get(this)||this;for(;n.length&&l!==n[0];)n.shift(),o.pop();if(typeof a=="boolean")return a;if(a===void 0)return e.allowUndefined?"_undefined_":void 0;if(a===null)return null;if(typeof a=="number")return a===-1/0?"_-Infinity_":a===1/0?"_Infinity_":Number.isNaN(a)?"_NaN_":a;if(typeof a=="bigint")return`_bigint_${a.toString()}`;if(typeof a=="string")return B2.test(a)?e.allowDate?`_date_${a}`:void 0:a;if((0,jg.default)(a))return e.allowRegExp?`_regexp_${a.flags}|${a.source}`:void 0;if((0,Lg.default)(a)){if(!e.allowFunction)return;let{name:c}=a,d=a.toString();return d.match(/(\[native code\]|WEBPACK_IMPORTED_MODULE|__webpack_exports__|__webpack_require__)/)?`_function_${c}|${(()=>{}).toString()}`:`_function_${c}|${_2(P2(i,d))}`}if((0,Mg.default)(a)){if(!e.allowSymbol)return;let c=Symbol.keyFor(a);return c!==void 0?`_gsymbol_${c}`:`_symbol_${a.toString().slice(7,-1)}`}if(n.length>=e.maxDepth)return Array.isArray(a)?`[Array(${a.length})]`:"[Object]";if(a===this)return`_duplicate_${JSON.stringify(o)}`;if(a instanceof Error&&e.allowError)return{__isConvertedError__:!0,errorProperties:{...a.cause?{cause:a.cause}:{},...a,name:a.name,message:a.message,stack:a.stack,"_constructor-name_":a.constructor.name}};if(a.constructor&&a.constructor.name&&a.constructor.name!=="Object"&&!Array.isArray(a)&&!e.allowClass)return;let u=t.get(a);if(!u){let c=Array.isArray(a)?a:Ec(a);if(a.constructor&&a.constructor.name&&a.constructor.name!=="Object"&&!Array.isArray(a)&&e.allowClass)try{Object.assign(c,{"_constructor-name_":a.constructor.name})}catch{}return o.push(i),n.unshift(c),t.set(a,JSON.stringify(o)),a!==c&&r.set(a,c),c}return`_duplicate_${u}`}catch{return}}},j2={maxDepth:10,space:void 0,allowFunction:!0,allowRegExp:!0,allowDate:!0,allowClass:!0,allowError:!0,allowUndefined:!0,allowSymbol:!0,lazyEval:!0},L2=(e,t={})=>{let r={...j2,...t};return JSON.stringify(Ec(e),N2(r),t.space)};function M2(e){return L2(e,{allowFunction:!1})}var U2=Kt({sources:{}}),$2="--unknown--";var q2=(e,t,r)=>{let{sources:n}=r,o=n?.[e];return o?.[M2(t)]||o?.[$2]||{code:""}},V2=({snippet:e,storyContext:t,typeFromProps:r,transformFromProps:n})=>{let{__isArgsStory:o}=t.parameters,i=t.parameters.docs?.source||{},a=r||i.type||cr.AUTO;if(i.code!==void 0)return i.code;let l=a===cr.DYNAMIC||a===cr.AUTO&&e&&o?e:i.originalSource||"";return(n??i.transform)?.(l,t)||l},J2=(e,t,r)=>{let n,{of:o}=e;if("of"in e&&o===void 0)throw new Error("Unexpected `of={undefined}`, did you mistype a CSF file reference?");if(o)n=t.resolveOf(o,["story"]).story;else try{n=t.storyById()}catch{}let i=n?.parameters?.docs?.source||{},{code:a}=e,l=e.format??i.format,u=e.language??i.language??"jsx",c=e.dark??i.dark??!1;if(!a&&!n)return{error:"Oh no! The source is not available."};if(a)return{code:a,format:l,language:u,dark:c};let d=t.getStoryContext(n),p=e.__forceInitialArgs?d.initialArgs:d.unmappedArgs,h=q2(n.id,p,r);return l=h.format??n.parameters.docs?.source?.format??!1,{code:V2({snippet:h.code,storyContext:{...d,args:p},typeFromProps:e.type,transformFromProps:e.transform}),format:l,language:u,dark:c}},vc=e=>{let t=Dr(U2),r=Dr(uc),n=J2(e,r,t);return C.createElement(Yu,{...n})};var{document:H2}=globalThis;function z2(e,t){e.channel.emit(ui,t)}var s5=Sn.a;var Ac=["h1","h2","h3","h4","h5","h6"],G2=Ac.reduce((e,t)=>({...e,[t]:k(t)({"& svg":{position:"relative",top:"-0.1em",visibility:"hidden"},"&:hover svg":{visibility:"visible"}})}),{}),W2=k.a(()=>({float:"left",lineHeight:"inherit",paddingRight:"10px",marginLeft:"-24px",color:"inherit"})),K2=({as:e,id:t,children:r,...n})=>{let o=Dr(uc),i=G2[e],a=`#${t}`;return C.createElement(i,{id:t,...n},C.createElement(W2,{"aria-hidden":"true",href:a,tabIndex:-1,target:"_self",onClick:l=>{H2.getElementById(t)&&z2(o,a)}},C.createElement(pu,null)),r)},Dc=e=>{let{as:t,id:r,children:n,...o}=e;if(r)return C.createElement(K2,{as:t,id:r,...o},n);let i=t,{as:a,...l}=e;return C.createElement(i,{...wn(l,t)})},l5=Ac.reduce((e,t)=>({...e,[t]:r=>C.createElement(Dc,{as:t,...r})}),{});var Y2=(e=>(e.INFO="info",e.NOTES="notes",e.DOCGEN="docgen",e.AUTO="auto",e))(Y2||{});var u5=jt(Hm()),c5=k.div(({theme:e})=>({width:"10rem","@media (max-width: 768px)":{display:"none"}})),d5=k.div(({theme:e})=>({position:"fixed",bottom:0,top:0,width:"10rem",paddingTop:"4rem",paddingBottom:"2rem",overflowY:"auto",fontFamily:e.typography.fonts.base,fontSize:e.typography.size.s2,WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",WebkitTapHighlightColor:"rgba(0, 0, 0, 0)",WebkitOverflowScrolling:"touch","& *":{boxSizing:"border-box"},"& > .toc-wrapper > .toc-list":{paddingLeft:0,borderLeft:`solid 2px ${e.color.mediumlight}`,".toc-list":{paddingLeft:0,borderLeft:`solid 2px ${e.color.mediumlight}`,".toc-list":{paddingLeft:0,borderLeft:`solid 2px ${e.color.mediumlight}`}}},"& .toc-list-item":{position:"relative",listStyleType:"none",marginLeft:20,paddingTop:3,paddingBottom:3},"& .toc-list-item::before":{content:'""',position:"absolute",height:"100%",top:0,left:0,transform:"translateX(calc(-2px - 20px))",borderLeft:`solid 2px ${e.color.mediumdark}`,opacity:0,transition:"opacity 0.2s"},"& .toc-list-item.is-active-li::before":{opacity:1},"& .toc-list-item > a":{color:e.color.defaultText,textDecoration:"none"},"& .toc-list-item.is-active-li > a":{fontWeight:600,color:e.color.secondary,textDecoration:"none"}})),p5=k.p(({theme:e})=>({fontWeight:600,fontSize:"0.875em",color:e.textColor,textTransform:"uppercase",marginBottom:10}));var{document:h5,window:f5}=globalThis;var X2=/[\0-\x1F!-,\.\/:-@\[-\^`\{-\xA9\xAB-\xB4\xB6-\xB9\xBB-\xBF\xD7\xF7\u02C2-\u02C5\u02D2-\u02DF\u02E5-\u02EB\u02ED\u02EF-\u02FF\u0375\u0378\u0379\u037E\u0380-\u0385\u0387\u038B\u038D\u03A2\u03F6\u0482\u0530\u0557\u0558\u055A-\u055F\u0589-\u0590\u05BE\u05C0\u05C3\u05C6\u05C8-\u05CF\u05EB-\u05EE\u05F3-\u060F\u061B-\u061F\u066A-\u066D\u06D4\u06DD\u06DE\u06E9\u06FD\u06FE\u0700-\u070F\u074B\u074C\u07B2-\u07BF\u07F6-\u07F9\u07FB\u07FC\u07FE\u07FF\u082E-\u083F\u085C-\u085F\u086B-\u089F\u08B5\u08C8-\u08D2\u08E2\u0964\u0965\u0970\u0984\u098D\u098E\u0991\u0992\u09A9\u09B1\u09B3-\u09B5\u09BA\u09BB\u09C5\u09C6\u09C9\u09CA\u09CF-\u09D6\u09D8-\u09DB\u09DE\u09E4\u09E5\u09F2-\u09FB\u09FD\u09FF\u0A00\u0A04\u0A0B-\u0A0E\u0A11\u0A12\u0A29\u0A31\u0A34\u0A37\u0A3A\u0A3B\u0A3D\u0A43-\u0A46\u0A49\u0A4A\u0A4E-\u0A50\u0A52-\u0A58\u0A5D\u0A5F-\u0A65\u0A76-\u0A80\u0A84\u0A8E\u0A92\u0AA9\u0AB1\u0AB4\u0ABA\u0ABB\u0AC6\u0ACA\u0ACE\u0ACF\u0AD1-\u0ADF\u0AE4\u0AE5\u0AF0-\u0AF8\u0B00\u0B04\u0B0D\u0B0E\u0B11\u0B12\u0B29\u0B31\u0B34\u0B3A\u0B3B\u0B45\u0B46\u0B49\u0B4A\u0B4E-\u0B54\u0B58-\u0B5B\u0B5E\u0B64\u0B65\u0B70\u0B72-\u0B81\u0B84\u0B8B-\u0B8D\u0B91\u0B96-\u0B98\u0B9B\u0B9D\u0BA0-\u0BA2\u0BA5-\u0BA7\u0BAB-\u0BAD\u0BBA-\u0BBD\u0BC3-\u0BC5\u0BC9\u0BCE\u0BCF\u0BD1-\u0BD6\u0BD8-\u0BE5\u0BF0-\u0BFF\u0C0D\u0C11\u0C29\u0C3A-\u0C3C\u0C45\u0C49\u0C4E-\u0C54\u0C57\u0C5B-\u0C5F\u0C64\u0C65\u0C70-\u0C7F\u0C84\u0C8D\u0C91\u0CA9\u0CB4\u0CBA\u0CBB\u0CC5\u0CC9\u0CCE-\u0CD4\u0CD7-\u0CDD\u0CDF\u0CE4\u0CE5\u0CF0\u0CF3-\u0CFF\u0D0D\u0D11\u0D45\u0D49\u0D4F-\u0D53\u0D58-\u0D5E\u0D64\u0D65\u0D70-\u0D79\u0D80\u0D84\u0D97-\u0D99\u0DB2\u0DBC\u0DBE\u0DBF\u0DC7-\u0DC9\u0DCB-\u0DCE\u0DD5\u0DD7\u0DE0-\u0DE5\u0DF0\u0DF1\u0DF4-\u0E00\u0E3B-\u0E3F\u0E4F\u0E5A-\u0E80\u0E83\u0E85\u0E8B\u0EA4\u0EA6\u0EBE\u0EBF\u0EC5\u0EC7\u0ECE\u0ECF\u0EDA\u0EDB\u0EE0-\u0EFF\u0F01-\u0F17\u0F1A-\u0F1F\u0F2A-\u0F34\u0F36\u0F38\u0F3A-\u0F3D\u0F48\u0F6D-\u0F70\u0F85\u0F98\u0FBD-\u0FC5\u0FC7-\u0FFF\u104A-\u104F\u109E\u109F\u10C6\u10C8-\u10CC\u10CE\u10CF\u10FB\u1249\u124E\u124F\u1257\u1259\u125E\u125F\u1289\u128E\u128F\u12B1\u12B6\u12B7\u12BF\u12C1\u12C6\u12C7\u12D7\u1311\u1316\u1317\u135B\u135C\u1360-\u137F\u1390-\u139F\u13F6\u13F7\u13FE-\u1400\u166D\u166E\u1680\u169B-\u169F\u16EB-\u16ED\u16F9-\u16FF\u170D\u1715-\u171F\u1735-\u173F\u1754-\u175F\u176D\u1771\u1774-\u177F\u17D4-\u17D6\u17D8-\u17DB\u17DE\u17DF\u17EA-\u180A\u180E\u180F\u181A-\u181F\u1879-\u187F\u18AB-\u18AF\u18F6-\u18FF\u191F\u192C-\u192F\u193C-\u1945\u196E\u196F\u1975-\u197F\u19AC-\u19AF\u19CA-\u19CF\u19DA-\u19FF\u1A1C-\u1A1F\u1A5F\u1A7D\u1A7E\u1A8A-\u1A8F\u1A9A-\u1AA6\u1AA8-\u1AAF\u1AC1-\u1AFF\u1B4C-\u1B4F\u1B5A-\u1B6A\u1B74-\u1B7F\u1BF4-\u1BFF\u1C38-\u1C3F\u1C4A-\u1C4C\u1C7E\u1C7F\u1C89-\u1C8F\u1CBB\u1CBC\u1CC0-\u1CCF\u1CD3\u1CFB-\u1CFF\u1DFA\u1F16\u1F17\u1F1E\u1F1F\u1F46\u1F47\u1F4E\u1F4F\u1F58\u1F5A\u1F5C\u1F5E\u1F7E\u1F7F\u1FB5\u1FBD\u1FBF-\u1FC1\u1FC5\u1FCD-\u1FCF\u1FD4\u1FD5\u1FDC-\u1FDF\u1FED-\u1FF1\u1FF5\u1FFD-\u203E\u2041-\u2053\u2055-\u2070\u2072-\u207E\u2080-\u208F\u209D-\u20CF\u20F1-\u2101\u2103-\u2106\u2108\u2109\u2114\u2116-\u2118\u211E-\u2123\u2125\u2127\u2129\u212E\u213A\u213B\u2140-\u2144\u214A-\u214D\u214F-\u215F\u2189-\u24B5\u24EA-\u2BFF\u2C2F\u2C5F\u2CE5-\u2CEA\u2CF4-\u2CFF\u2D26\u2D28-\u2D2C\u2D2E\u2D2F\u2D68-\u2D6E\u2D70-\u2D7E\u2D97-\u2D9F\u2DA7\u2DAF\u2DB7\u2DBF\u2DC7\u2DCF\u2DD7\u2DDF\u2E00-\u2E2E\u2E30-\u3004\u3008-\u3020\u3030\u3036\u3037\u303D-\u3040\u3097\u3098\u309B\u309C\u30A0\u30FB\u3100-\u3104\u3130\u318F-\u319F\u31C0-\u31EF\u3200-\u33FF\u4DC0-\u4DFF\u9FFD-\u9FFF\uA48D-\uA4CF\uA4FE\uA4FF\uA60D-\uA60F\uA62C-\uA63F\uA673\uA67E\uA6F2-\uA716\uA720\uA721\uA789\uA78A\uA7C0\uA7C1\uA7CB-\uA7F4\uA828-\uA82B\uA82D-\uA83F\uA874-\uA87F\uA8C6-\uA8CF\uA8DA-\uA8DF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA954-\uA95F\uA97D-\uA97F\uA9C1-\uA9CE\uA9DA-\uA9DF\uA9FF\uAA37-\uAA3F\uAA4E\uAA4F\uAA5A-\uAA5F\uAA77-\uAA79\uAAC3-\uAADA\uAADE\uAADF\uAAF0\uAAF1\uAAF7-\uAB00\uAB07\uAB08\uAB0F\uAB10\uAB17-\uAB1F\uAB27\uAB2F\uAB5B\uAB6A-\uAB6F\uABEB\uABEE\uABEF\uABFA-\uABFF\uD7A4-\uD7AF\uD7C7-\uD7CA\uD7FC-\uD7FF\uE000-\uF8FF\uFA6E\uFA6F\uFADA-\uFAFF\uFB07-\uFB12\uFB18-\uFB1C\uFB29\uFB37\uFB3D\uFB3F\uFB42\uFB45\uFBB2-\uFBD2\uFD3E-\uFD4F\uFD90\uFD91\uFDC8-\uFDEF\uFDFC-\uFDFF\uFE10-\uFE1F\uFE30-\uFE32\uFE35-\uFE4C\uFE50-\uFE6F\uFE75\uFEFD-\uFF0F\uFF1A-\uFF20\uFF3B-\uFF3E\uFF40\uFF5B-\uFF65\uFFBF-\uFFC1\uFFC8\uFFC9\uFFD0\uFFD1\uFFD8\uFFD9\uFFDD-\uFFFF]|\uD800[\uDC0C\uDC27\uDC3B\uDC3E\uDC4E\uDC4F\uDC5E-\uDC7F\uDCFB-\uDD3F\uDD75-\uDDFC\uDDFE-\uDE7F\uDE9D-\uDE9F\uDED1-\uDEDF\uDEE1-\uDEFF\uDF20-\uDF2C\uDF4B-\uDF4F\uDF7B-\uDF7F\uDF9E\uDF9F\uDFC4-\uDFC7\uDFD0\uDFD6-\uDFFF]|\uD801[\uDC9E\uDC9F\uDCAA-\uDCAF\uDCD4-\uDCD7\uDCFC-\uDCFF\uDD28-\uDD2F\uDD64-\uDDFF\uDF37-\uDF3F\uDF56-\uDF5F\uDF68-\uDFFF]|\uD802[\uDC06\uDC07\uDC09\uDC36\uDC39-\uDC3B\uDC3D\uDC3E\uDC56-\uDC5F\uDC77-\uDC7F\uDC9F-\uDCDF\uDCF3\uDCF6-\uDCFF\uDD16-\uDD1F\uDD3A-\uDD7F\uDDB8-\uDDBD\uDDC0-\uDDFF\uDE04\uDE07-\uDE0B\uDE14\uDE18\uDE36\uDE37\uDE3B-\uDE3E\uDE40-\uDE5F\uDE7D-\uDE7F\uDE9D-\uDEBF\uDEC8\uDEE7-\uDEFF\uDF36-\uDF3F\uDF56-\uDF5F\uDF73-\uDF7F\uDF92-\uDFFF]|\uD803[\uDC49-\uDC7F\uDCB3-\uDCBF\uDCF3-\uDCFF\uDD28-\uDD2F\uDD3A-\uDE7F\uDEAA\uDEAD-\uDEAF\uDEB2-\uDEFF\uDF1D-\uDF26\uDF28-\uDF2F\uDF51-\uDFAF\uDFC5-\uDFDF\uDFF7-\uDFFF]|\uD804[\uDC47-\uDC65\uDC70-\uDC7E\uDCBB-\uDCCF\uDCE9-\uDCEF\uDCFA-\uDCFF\uDD35\uDD40-\uDD43\uDD48-\uDD4F\uDD74\uDD75\uDD77-\uDD7F\uDDC5-\uDDC8\uDDCD\uDDDB\uDDDD-\uDDFF\uDE12\uDE38-\uDE3D\uDE3F-\uDE7F\uDE87\uDE89\uDE8E\uDE9E\uDEA9-\uDEAF\uDEEB-\uDEEF\uDEFA-\uDEFF\uDF04\uDF0D\uDF0E\uDF11\uDF12\uDF29\uDF31\uDF34\uDF3A\uDF45\uDF46\uDF49\uDF4A\uDF4E\uDF4F\uDF51-\uDF56\uDF58-\uDF5C\uDF64\uDF65\uDF6D-\uDF6F\uDF75-\uDFFF]|\uD805[\uDC4B-\uDC4F\uDC5A-\uDC5D\uDC62-\uDC7F\uDCC6\uDCC8-\uDCCF\uDCDA-\uDD7F\uDDB6\uDDB7\uDDC1-\uDDD7\uDDDE-\uDDFF\uDE41-\uDE43\uDE45-\uDE4F\uDE5A-\uDE7F\uDEB9-\uDEBF\uDECA-\uDEFF\uDF1B\uDF1C\uDF2C-\uDF2F\uDF3A-\uDFFF]|\uD806[\uDC3B-\uDC9F\uDCEA-\uDCFE\uDD07\uDD08\uDD0A\uDD0B\uDD14\uDD17\uDD36\uDD39\uDD3A\uDD44-\uDD4F\uDD5A-\uDD9F\uDDA8\uDDA9\uDDD8\uDDD9\uDDE2\uDDE5-\uDDFF\uDE3F-\uDE46\uDE48-\uDE4F\uDE9A-\uDE9C\uDE9E-\uDEBF\uDEF9-\uDFFF]|\uD807[\uDC09\uDC37\uDC41-\uDC4F\uDC5A-\uDC71\uDC90\uDC91\uDCA8\uDCB7-\uDCFF\uDD07\uDD0A\uDD37-\uDD39\uDD3B\uDD3E\uDD48-\uDD4F\uDD5A-\uDD5F\uDD66\uDD69\uDD8F\uDD92\uDD99-\uDD9F\uDDAA-\uDEDF\uDEF7-\uDFAF\uDFB1-\uDFFF]|\uD808[\uDF9A-\uDFFF]|\uD809[\uDC6F-\uDC7F\uDD44-\uDFFF]|[\uD80A\uD80B\uD80E-\uD810\uD812-\uD819\uD824-\uD82B\uD82D\uD82E\uD830-\uD833\uD837\uD839\uD83D\uD83F\uD87B-\uD87D\uD87F\uD885-\uDB3F\uDB41-\uDBFF][\uDC00-\uDFFF]|\uD80D[\uDC2F-\uDFFF]|\uD811[\uDE47-\uDFFF]|\uD81A[\uDE39-\uDE3F\uDE5F\uDE6A-\uDECF\uDEEE\uDEEF\uDEF5-\uDEFF\uDF37-\uDF3F\uDF44-\uDF4F\uDF5A-\uDF62\uDF78-\uDF7C\uDF90-\uDFFF]|\uD81B[\uDC00-\uDE3F\uDE80-\uDEFF\uDF4B-\uDF4E\uDF88-\uDF8E\uDFA0-\uDFDF\uDFE2\uDFE5-\uDFEF\uDFF2-\uDFFF]|\uD821[\uDFF8-\uDFFF]|\uD823[\uDCD6-\uDCFF\uDD09-\uDFFF]|\uD82C[\uDD1F-\uDD4F\uDD53-\uDD63\uDD68-\uDD6F\uDEFC-\uDFFF]|\uD82F[\uDC6B-\uDC6F\uDC7D-\uDC7F\uDC89-\uDC8F\uDC9A-\uDC9C\uDC9F-\uDFFF]|\uD834[\uDC00-\uDD64\uDD6A-\uDD6C\uDD73-\uDD7A\uDD83\uDD84\uDD8C-\uDDA9\uDDAE-\uDE41\uDE45-\uDFFF]|\uD835[\uDC55\uDC9D\uDCA0\uDCA1\uDCA3\uDCA4\uDCA7\uDCA8\uDCAD\uDCBA\uDCBC\uDCC4\uDD06\uDD0B\uDD0C\uDD15\uDD1D\uDD3A\uDD3F\uDD45\uDD47-\uDD49\uDD51\uDEA6\uDEA7\uDEC1\uDEDB\uDEFB\uDF15\uDF35\uDF4F\uDF6F\uDF89\uDFA9\uDFC3\uDFCC\uDFCD]|\uD836[\uDC00-\uDDFF\uDE37-\uDE3A\uDE6D-\uDE74\uDE76-\uDE83\uDE85-\uDE9A\uDEA0\uDEB0-\uDFFF]|\uD838[\uDC07\uDC19\uDC1A\uDC22\uDC25\uDC2B-\uDCFF\uDD2D-\uDD2F\uDD3E\uDD3F\uDD4A-\uDD4D\uDD4F-\uDEBF\uDEFA-\uDFFF]|\uD83A[\uDCC5-\uDCCF\uDCD7-\uDCFF\uDD4C-\uDD4F\uDD5A-\uDFFF]|\uD83B[\uDC00-\uDDFF\uDE04\uDE20\uDE23\uDE25\uDE26\uDE28\uDE33\uDE38\uDE3A\uDE3C-\uDE41\uDE43-\uDE46\uDE48\uDE4A\uDE4C\uDE50\uDE53\uDE55\uDE56\uDE58\uDE5A\uDE5C\uDE5E\uDE60\uDE63\uDE65\uDE66\uDE6B\uDE73\uDE78\uDE7D\uDE7F\uDE8A\uDE9C-\uDEA0\uDEA4\uDEAA\uDEBC-\uDFFF]|\uD83C[\uDC00-\uDD2F\uDD4A-\uDD4F\uDD6A-\uDD6F\uDD8A-\uDFFF]|\uD83E[\uDC00-\uDFEF\uDFFA-\uDFFF]|\uD869[\uDEDE-\uDEFF]|\uD86D[\uDF35-\uDF3F]|\uD86E[\uDC1E\uDC1F]|\uD873[\uDEA2-\uDEAF]|\uD87A[\uDFE1-\uDFFF]|\uD87E[\uDE1E-\uDFFF]|\uD884[\uDF4B-\uDFFF]|\uDB40[\uDC00-\uDCFF\uDDF0-\uDFFF]/g,Q2=Object.hasOwnProperty,Z2=class{constructor(){this.occurrences,this.reset()}slug(e,t){let r=this,n=e1(e,t===!0),o=n;for(;Q2.call(r.occurrences,n);)r.occurrences[o]++,n=o+"-"+r.occurrences[o];return r.occurrences[n]=0,n}reset(){this.occurrences=Object.create(null)}};function e1(e,t){return typeof e!="string"?"":(t||(e=e.toLowerCase()),e.replace(X2,"").replace(/ /g,"-"))}var t1=new Z2,r1=({children:e,disableAnchor:t,...r})=>{if(t||typeof e!="string")return C.createElement(En,null,e);let n=t1.slug(e.toLowerCase());return C.createElement(Dc,{as:"h2",id:n,...r},e)};var m5=k(r1)(({theme:e})=>({fontSize:`${e.typography.size.s2-1}px`,fontWeight:e.typography.weight.bold,lineHeight:"16px",letterSpacing:"0.35em",textTransform:"uppercase",color:e.textMutedColor,border:0,marginBottom:"12px","&:first-of-type":{marginTop:"56px"}}));ko.register(Hr,e=>{ko.add(Ql,{title:"Code",type:Zl.PANEL,paramKey:Fo,disabled:t=>!t?.docs?.codePanel,match:({viewMode:t})=>t==="story",render:({active:t})=>{let r=tu(Fo,{source:{code:""},theme:"dark"}),[n,o]=C.useState({});eu({[Io]:({source:a,format:l})=>{o({source:a,format:l})}});let i=Gr().base!=="light";return C.createElement(gn,{active:!!t},C.createElement(n1,null,C.createElement(vc,{...r.source,code:r.source.code||n.source,format:r.source.format||n.format,dark:i})))}})});var n1=k.div(()=>({height:"100%",[`> :first-child${zr}`]:{margin:0,height:"100%",boxShadow:"none"}}));})(); -}catch(e){ console.error("[Storybook] One of your manager-entries failed: " + import.meta.url, e); } diff --git a/docs/storybook/sb-addons/essentials-measure-8/manager-bundle.js b/docs/storybook/sb-addons/essentials-measure-8/manager-bundle.js deleted file mode 100644 index 4d0ea4e..0000000 --- a/docs/storybook/sb-addons/essentials-measure-8/manager-bundle.js +++ /dev/null @@ -1,3 +0,0 @@ -try{ -(()=>{var t=__REACT__,{Children:O,Component:f,Fragment:R,Profiler:P,PureComponent:w,StrictMode:L,Suspense:E,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:D,cloneElement:M,createContext:v,createElement:x,createFactory:H,createRef:U,forwardRef:F,isValidElement:N,lazy:G,memo:W,startTransition:K,unstable_act:Y,useCallback:u,useContext:q,useDebugValue:V,useDeferredValue:z,useEffect:d,useId:Z,useImperativeHandle:J,useInsertionEffect:Q,useLayoutEffect:X,useMemo:$,useReducer:j,useRef:oo,useState:no,useSyncExternalStore:eo,useTransition:co,version:to}=__REACT__;var io=__STORYBOOK_API__,{ActiveTabs:so,Consumer:uo,ManagerContext:mo,Provider:po,RequestResponseError:So,addons:l,combineParameters:Co,controlOrMetaKey:ho,controlOrMetaSymbol:bo,eventMatchesShortcut:Ao,eventToShortcut:_o,experimental_MockUniversalStore:To,experimental_UniversalStore:go,experimental_requestResponse:yo,experimental_useUniversalStore:Bo,isMacLike:ko,isShortcutTaken:Oo,keyToSymbol:fo,merge:Ro,mockChannel:Po,optionOrAltSymbol:wo,shortcutMatchesShortcut:Lo,shortcutToHumanString:Eo,types:m,useAddonState:Do,useArgTypes:Mo,useArgs:vo,useChannel:xo,useGlobalTypes:Ho,useGlobals:p,useParameter:Uo,useSharedState:Fo,useStoryPrepared:No,useStorybookApi:S,useStorybookState:Go}=__STORYBOOK_API__;var Vo=__STORYBOOK_COMPONENTS__,{A:zo,ActionBar:Zo,AddonPanel:Jo,Badge:Qo,Bar:Xo,Blockquote:$o,Button:jo,ClipboardCode:on,Code:nn,DL:en,Div:cn,DocumentWrapper:tn,EmptyTabContent:rn,ErrorFormatter:In,FlexBar:an,Form:ln,H1:sn,H2:un,H3:dn,H4:mn,H5:pn,H6:Sn,HR:Cn,IconButton:C,IconButtonSkeleton:hn,Icons:bn,Img:An,LI:_n,Link:Tn,ListItem:gn,Loader:yn,Modal:Bn,OL:kn,P:On,Placeholder:fn,Pre:Rn,ProgressSpinner:Pn,ResetWrapper:wn,ScrollArea:Ln,Separator:En,Spaced:Dn,Span:Mn,StorybookIcon:vn,StorybookLogo:xn,Symbols:Hn,SyntaxHighlighter:Un,TT:Fn,TabBar:Nn,TabButton:Gn,TabWrapper:Wn,Table:Kn,Tabs:Yn,TabsState:qn,TooltipLinkList:Vn,TooltipMessage:zn,TooltipNote:Zn,UL:Jn,WithTooltip:Qn,WithTooltipPure:Xn,Zoom:$n,codeCommon:jn,components:oe,createCopyToClipboardFunction:ne,getStoryHref:ee,icons:ce,interleaveSeparators:te,nameSpaceClassNames:re,resetComponents:Ie,withReset:ae}=__STORYBOOK_COMPONENTS__;var de=__STORYBOOK_ICONS__,{AccessibilityAltIcon:me,AccessibilityIcon:pe,AccessibilityIgnoredIcon:Se,AddIcon:Ce,AdminIcon:he,AlertAltIcon:be,AlertIcon:Ae,AlignLeftIcon:_e,AlignRightIcon:Te,AppleIcon:ge,ArrowBottomLeftIcon:ye,ArrowBottomRightIcon:Be,ArrowDownIcon:ke,ArrowLeftIcon:Oe,ArrowRightIcon:fe,ArrowSolidDownIcon:Re,ArrowSolidLeftIcon:Pe,ArrowSolidRightIcon:we,ArrowSolidUpIcon:Le,ArrowTopLeftIcon:Ee,ArrowTopRightIcon:De,ArrowUpIcon:Me,AzureDevOpsIcon:ve,BackIcon:xe,BasketIcon:He,BatchAcceptIcon:Ue,BatchDenyIcon:Fe,BeakerIcon:Ne,BellIcon:Ge,BitbucketIcon:We,BoldIcon:Ke,BookIcon:Ye,BookmarkHollowIcon:qe,BookmarkIcon:Ve,BottomBarIcon:ze,BottomBarToggleIcon:Ze,BoxIcon:Je,BranchIcon:Qe,BrowserIcon:Xe,ButtonIcon:$e,CPUIcon:je,CalendarIcon:oc,CameraIcon:nc,CameraStabilizeIcon:ec,CategoryIcon:cc,CertificateIcon:tc,ChangedIcon:rc,ChatIcon:Ic,CheckIcon:ac,ChevronDownIcon:lc,ChevronLeftIcon:ic,ChevronRightIcon:sc,ChevronSmallDownIcon:uc,ChevronSmallLeftIcon:dc,ChevronSmallRightIcon:mc,ChevronSmallUpIcon:pc,ChevronUpIcon:Sc,ChromaticIcon:Cc,ChromeIcon:hc,CircleHollowIcon:bc,CircleIcon:Ac,ClearIcon:_c,CloseAltIcon:Tc,CloseIcon:gc,CloudHollowIcon:yc,CloudIcon:Bc,CogIcon:kc,CollapseIcon:Oc,CommandIcon:fc,CommentAddIcon:Rc,CommentIcon:Pc,CommentsIcon:wc,CommitIcon:Lc,CompassIcon:Ec,ComponentDrivenIcon:Dc,ComponentIcon:Mc,ContrastIcon:vc,ContrastIgnoredIcon:xc,ControlsIcon:Hc,CopyIcon:Uc,CreditIcon:Fc,CrossIcon:Nc,DashboardIcon:Gc,DatabaseIcon:Wc,DeleteIcon:Kc,DiamondIcon:Yc,DirectionIcon:qc,DiscordIcon:Vc,DocChartIcon:zc,DocListIcon:Zc,DocumentIcon:Jc,DownloadIcon:Qc,DragIcon:Xc,EditIcon:$c,EllipsisIcon:jc,EmailIcon:ot,ExpandAltIcon:nt,ExpandIcon:et,EyeCloseIcon:ct,EyeIcon:tt,FaceHappyIcon:rt,FaceNeutralIcon:It,FaceSadIcon:at,FacebookIcon:lt,FailedIcon:it,FastForwardIcon:st,FigmaIcon:ut,FilterIcon:dt,FlagIcon:mt,FolderIcon:pt,FormIcon:St,GDriveIcon:Ct,GithubIcon:ht,GitlabIcon:bt,GlobeIcon:At,GoogleIcon:_t,GraphBarIcon:Tt,GraphLineIcon:gt,GraphqlIcon:yt,GridAltIcon:Bt,GridIcon:kt,GrowIcon:Ot,HeartHollowIcon:ft,HeartIcon:Rt,HomeIcon:Pt,HourglassIcon:wt,InfoIcon:Lt,ItalicIcon:Et,JumpToIcon:Dt,KeyIcon:Mt,LightningIcon:vt,LightningOffIcon:xt,LinkBrokenIcon:Ht,LinkIcon:Ut,LinkedinIcon:Ft,LinuxIcon:Nt,ListOrderedIcon:Gt,ListUnorderedIcon:Wt,LocationIcon:Kt,LockIcon:Yt,MarkdownIcon:qt,MarkupIcon:Vt,MediumIcon:zt,MemoryIcon:Zt,MenuIcon:Jt,MergeIcon:Qt,MirrorIcon:Xt,MobileIcon:$t,MoonIcon:jt,NutIcon:or,OutboxIcon:nr,OutlineIcon:er,PaintBrushIcon:cr,PaperClipIcon:tr,ParagraphIcon:rr,PassedIcon:Ir,PhoneIcon:ar,PhotoDragIcon:lr,PhotoIcon:ir,PhotoStabilizeIcon:sr,PinAltIcon:ur,PinIcon:dr,PlayAllHollowIcon:mr,PlayBackIcon:pr,PlayHollowIcon:Sr,PlayIcon:Cr,PlayNextIcon:hr,PlusIcon:br,PointerDefaultIcon:Ar,PointerHandIcon:_r,PowerIcon:Tr,PrintIcon:gr,ProceedIcon:yr,ProfileIcon:Br,PullRequestIcon:kr,QuestionIcon:Or,RSSIcon:fr,RedirectIcon:Rr,ReduxIcon:Pr,RefreshIcon:wr,ReplyIcon:Lr,RepoIcon:Er,RequestChangeIcon:Dr,RewindIcon:Mr,RulerIcon:h,SaveIcon:vr,SearchIcon:xr,ShareAltIcon:Hr,ShareIcon:Ur,ShieldIcon:Fr,SideBySideIcon:Nr,SidebarAltIcon:Gr,SidebarAltToggleIcon:Wr,SidebarIcon:Kr,SidebarToggleIcon:Yr,SpeakerIcon:qr,StackedIcon:Vr,StarHollowIcon:zr,StarIcon:Zr,StatusFailIcon:Jr,StatusIcon:Qr,StatusPassIcon:Xr,StatusWarnIcon:$r,StickerIcon:jr,StopAltHollowIcon:oI,StopAltIcon:nI,StopIcon:eI,StorybookIcon:cI,StructureIcon:tI,SubtractIcon:rI,SunIcon:II,SupportIcon:aI,SwitchAltIcon:lI,SyncIcon:iI,TabletIcon:sI,ThumbsUpIcon:uI,TimeIcon:dI,TimerIcon:mI,TransferIcon:pI,TrashIcon:SI,TwitterIcon:CI,TypeIcon:hI,UbuntuIcon:bI,UndoIcon:AI,UnfoldIcon:_I,UnlockIcon:TI,UnpinIcon:gI,UploadIcon:yI,UserAddIcon:BI,UserAltIcon:kI,UserIcon:OI,UsersIcon:fI,VSCodeIcon:RI,VerifiedIcon:PI,VideoIcon:wI,WandIcon:LI,WatchIcon:EI,WindowsIcon:DI,WrenchIcon:MI,XIcon:vI,YoutubeIcon:xI,ZoomIcon:HI,ZoomOutIcon:UI,ZoomResetIcon:FI,iconList:NI}=__STORYBOOK_ICONS__;var i="storybook/measure-addon",b=`${i}/tool`,A=()=>{let[r,c]=p(),{measureEnabled:I}=r,s=S(),a=u(()=>c({measureEnabled:!I}),[c,I]);return d(()=>{s.setAddonShortcut(i,{label:"Toggle Measure [M]",defaultShortcut:["M"],actionName:"measure",showInMenu:!1,action:a})},[a,s]),t.createElement(C,{key:b,active:I,title:"Enable measure",onClick:a},t.createElement(h,null))};l.register(i,()=>{l.add(b,{type:m.TOOL,title:"Measure",match:({viewMode:r,tabId:c})=>r==="story"&&!c,render:()=>t.createElement(A,null)})});})(); -}catch(e){ console.error("[Storybook] One of your manager-entries failed: " + import.meta.url, e); } diff --git a/docs/storybook/sb-addons/essentials-outline-9/manager-bundle.js b/docs/storybook/sb-addons/essentials-outline-9/manager-bundle.js deleted file mode 100644 index 47c26de..0000000 --- a/docs/storybook/sb-addons/essentials-outline-9/manager-bundle.js +++ /dev/null @@ -1,3 +0,0 @@ -try{ -(()=>{var t=__REACT__,{Children:k,Component:P,Fragment:R,Profiler:w,PureComponent:L,StrictMode:E,Suspense:D,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:v,cloneElement:x,createContext:H,createElement:M,createFactory:U,createRef:F,forwardRef:N,isValidElement:G,lazy:W,memo:u,startTransition:K,unstable_act:Y,useCallback:d,useContext:q,useDebugValue:V,useDeferredValue:z,useEffect:p,useId:Z,useImperativeHandle:J,useInsertionEffect:Q,useLayoutEffect:X,useMemo:$,useReducer:j,useRef:oo,useState:no,useSyncExternalStore:eo,useTransition:co,version:to}=__REACT__;var io=__STORYBOOK_API__,{ActiveTabs:so,Consumer:uo,ManagerContext:po,Provider:mo,RequestResponseError:So,addons:l,combineParameters:Co,controlOrMetaKey:ho,controlOrMetaSymbol:Ao,eventMatchesShortcut:_o,eventToShortcut:bo,experimental_MockUniversalStore:go,experimental_UniversalStore:To,experimental_requestResponse:yo,experimental_useUniversalStore:Oo,isMacLike:Bo,isShortcutTaken:fo,keyToSymbol:ko,merge:Po,mockChannel:Ro,optionOrAltSymbol:wo,shortcutMatchesShortcut:Lo,shortcutToHumanString:Eo,types:m,useAddonState:Do,useArgTypes:vo,useArgs:xo,useChannel:Ho,useGlobalTypes:Mo,useGlobals:S,useParameter:Uo,useSharedState:Fo,useStoryPrepared:No,useStorybookApi:C,useStorybookState:Go}=__STORYBOOK_API__;var Vo=__STORYBOOK_COMPONENTS__,{A:zo,ActionBar:Zo,AddonPanel:Jo,Badge:Qo,Bar:Xo,Blockquote:$o,Button:jo,ClipboardCode:on,Code:nn,DL:en,Div:cn,DocumentWrapper:tn,EmptyTabContent:rn,ErrorFormatter:In,FlexBar:an,Form:ln,H1:sn,H2:un,H3:dn,H4:pn,H5:mn,H6:Sn,HR:Cn,IconButton:h,IconButtonSkeleton:hn,Icons:An,Img:_n,LI:bn,Link:gn,ListItem:Tn,Loader:yn,Modal:On,OL:Bn,P:fn,Placeholder:kn,Pre:Pn,ProgressSpinner:Rn,ResetWrapper:wn,ScrollArea:Ln,Separator:En,Spaced:Dn,Span:vn,StorybookIcon:xn,StorybookLogo:Hn,Symbols:Mn,SyntaxHighlighter:Un,TT:Fn,TabBar:Nn,TabButton:Gn,TabWrapper:Wn,Table:Kn,Tabs:Yn,TabsState:qn,TooltipLinkList:Vn,TooltipMessage:zn,TooltipNote:Zn,UL:Jn,WithTooltip:Qn,WithTooltipPure:Xn,Zoom:$n,codeCommon:jn,components:oe,createCopyToClipboardFunction:ne,getStoryHref:ee,icons:ce,interleaveSeparators:te,nameSpaceClassNames:re,resetComponents:Ie,withReset:ae}=__STORYBOOK_COMPONENTS__;var de=__STORYBOOK_ICONS__,{AccessibilityAltIcon:pe,AccessibilityIcon:me,AccessibilityIgnoredIcon:Se,AddIcon:Ce,AdminIcon:he,AlertAltIcon:Ae,AlertIcon:_e,AlignLeftIcon:be,AlignRightIcon:ge,AppleIcon:Te,ArrowBottomLeftIcon:ye,ArrowBottomRightIcon:Oe,ArrowDownIcon:Be,ArrowLeftIcon:fe,ArrowRightIcon:ke,ArrowSolidDownIcon:Pe,ArrowSolidLeftIcon:Re,ArrowSolidRightIcon:we,ArrowSolidUpIcon:Le,ArrowTopLeftIcon:Ee,ArrowTopRightIcon:De,ArrowUpIcon:ve,AzureDevOpsIcon:xe,BackIcon:He,BasketIcon:Me,BatchAcceptIcon:Ue,BatchDenyIcon:Fe,BeakerIcon:Ne,BellIcon:Ge,BitbucketIcon:We,BoldIcon:Ke,BookIcon:Ye,BookmarkHollowIcon:qe,BookmarkIcon:Ve,BottomBarIcon:ze,BottomBarToggleIcon:Ze,BoxIcon:Je,BranchIcon:Qe,BrowserIcon:Xe,ButtonIcon:$e,CPUIcon:je,CalendarIcon:oc,CameraIcon:nc,CameraStabilizeIcon:ec,CategoryIcon:cc,CertificateIcon:tc,ChangedIcon:rc,ChatIcon:Ic,CheckIcon:ac,ChevronDownIcon:lc,ChevronLeftIcon:ic,ChevronRightIcon:sc,ChevronSmallDownIcon:uc,ChevronSmallLeftIcon:dc,ChevronSmallRightIcon:pc,ChevronSmallUpIcon:mc,ChevronUpIcon:Sc,ChromaticIcon:Cc,ChromeIcon:hc,CircleHollowIcon:Ac,CircleIcon:_c,ClearIcon:bc,CloseAltIcon:gc,CloseIcon:Tc,CloudHollowIcon:yc,CloudIcon:Oc,CogIcon:Bc,CollapseIcon:fc,CommandIcon:kc,CommentAddIcon:Pc,CommentIcon:Rc,CommentsIcon:wc,CommitIcon:Lc,CompassIcon:Ec,ComponentDrivenIcon:Dc,ComponentIcon:vc,ContrastIcon:xc,ContrastIgnoredIcon:Hc,ControlsIcon:Mc,CopyIcon:Uc,CreditIcon:Fc,CrossIcon:Nc,DashboardIcon:Gc,DatabaseIcon:Wc,DeleteIcon:Kc,DiamondIcon:Yc,DirectionIcon:qc,DiscordIcon:Vc,DocChartIcon:zc,DocListIcon:Zc,DocumentIcon:Jc,DownloadIcon:Qc,DragIcon:Xc,EditIcon:$c,EllipsisIcon:jc,EmailIcon:ot,ExpandAltIcon:nt,ExpandIcon:et,EyeCloseIcon:ct,EyeIcon:tt,FaceHappyIcon:rt,FaceNeutralIcon:It,FaceSadIcon:at,FacebookIcon:lt,FailedIcon:it,FastForwardIcon:st,FigmaIcon:ut,FilterIcon:dt,FlagIcon:pt,FolderIcon:mt,FormIcon:St,GDriveIcon:Ct,GithubIcon:ht,GitlabIcon:At,GlobeIcon:_t,GoogleIcon:bt,GraphBarIcon:gt,GraphLineIcon:Tt,GraphqlIcon:yt,GridAltIcon:Ot,GridIcon:Bt,GrowIcon:ft,HeartHollowIcon:kt,HeartIcon:Pt,HomeIcon:Rt,HourglassIcon:wt,InfoIcon:Lt,ItalicIcon:Et,JumpToIcon:Dt,KeyIcon:vt,LightningIcon:xt,LightningOffIcon:Ht,LinkBrokenIcon:Mt,LinkIcon:Ut,LinkedinIcon:Ft,LinuxIcon:Nt,ListOrderedIcon:Gt,ListUnorderedIcon:Wt,LocationIcon:Kt,LockIcon:Yt,MarkdownIcon:qt,MarkupIcon:Vt,MediumIcon:zt,MemoryIcon:Zt,MenuIcon:Jt,MergeIcon:Qt,MirrorIcon:Xt,MobileIcon:$t,MoonIcon:jt,NutIcon:or,OutboxIcon:nr,OutlineIcon:A,PaintBrushIcon:er,PaperClipIcon:cr,ParagraphIcon:tr,PassedIcon:rr,PhoneIcon:Ir,PhotoDragIcon:ar,PhotoIcon:lr,PhotoStabilizeIcon:ir,PinAltIcon:sr,PinIcon:ur,PlayAllHollowIcon:dr,PlayBackIcon:pr,PlayHollowIcon:mr,PlayIcon:Sr,PlayNextIcon:Cr,PlusIcon:hr,PointerDefaultIcon:Ar,PointerHandIcon:_r,PowerIcon:br,PrintIcon:gr,ProceedIcon:Tr,ProfileIcon:yr,PullRequestIcon:Or,QuestionIcon:Br,RSSIcon:fr,RedirectIcon:kr,ReduxIcon:Pr,RefreshIcon:Rr,ReplyIcon:wr,RepoIcon:Lr,RequestChangeIcon:Er,RewindIcon:Dr,RulerIcon:vr,SaveIcon:xr,SearchIcon:Hr,ShareAltIcon:Mr,ShareIcon:Ur,ShieldIcon:Fr,SideBySideIcon:Nr,SidebarAltIcon:Gr,SidebarAltToggleIcon:Wr,SidebarIcon:Kr,SidebarToggleIcon:Yr,SpeakerIcon:qr,StackedIcon:Vr,StarHollowIcon:zr,StarIcon:Zr,StatusFailIcon:Jr,StatusIcon:Qr,StatusPassIcon:Xr,StatusWarnIcon:$r,StickerIcon:jr,StopAltHollowIcon:oI,StopAltIcon:nI,StopIcon:eI,StorybookIcon:cI,StructureIcon:tI,SubtractIcon:rI,SunIcon:II,SupportIcon:aI,SwitchAltIcon:lI,SyncIcon:iI,TabletIcon:sI,ThumbsUpIcon:uI,TimeIcon:dI,TimerIcon:pI,TransferIcon:mI,TrashIcon:SI,TwitterIcon:CI,TypeIcon:hI,UbuntuIcon:AI,UndoIcon:_I,UnfoldIcon:bI,UnlockIcon:gI,UnpinIcon:TI,UploadIcon:yI,UserAddIcon:OI,UserAltIcon:BI,UserIcon:fI,UsersIcon:kI,VSCodeIcon:PI,VerifiedIcon:RI,VideoIcon:wI,WandIcon:LI,WatchIcon:EI,WindowsIcon:DI,WrenchIcon:vI,XIcon:xI,YoutubeIcon:HI,ZoomIcon:MI,ZoomOutIcon:UI,ZoomResetIcon:FI,iconList:NI}=__STORYBOOK_ICONS__;var i="storybook/outline",_="outline",b=u(function(){let[c,r]=S(),s=C(),I=[!0,"true"].includes(c[_]),a=d(()=>r({[_]:!I}),[I]);return p(()=>{s.setAddonShortcut(i,{label:"Toggle Outline",defaultShortcut:["alt","O"],actionName:"outline",showInMenu:!1,action:a})},[a,s]),t.createElement(h,{key:"outline",active:I,title:"Apply outlines to the preview",onClick:a},t.createElement(A,null))});l.register(i,()=>{l.add(i,{title:"Outline",type:m.TOOL,match:({viewMode:c,tabId:r})=>!!(c&&c.match(/^(story|docs)$/))&&!r,render:()=>t.createElement(b,null)})});})(); -}catch(e){ console.error("[Storybook] One of your manager-entries failed: " + import.meta.url, e); } diff --git a/docs/storybook/sb-addons/essentials-toolbars-7/manager-bundle.js b/docs/storybook/sb-addons/essentials-toolbars-7/manager-bundle.js deleted file mode 100644 index 4da5781..0000000 --- a/docs/storybook/sb-addons/essentials-toolbars-7/manager-bundle.js +++ /dev/null @@ -1,3 +0,0 @@ -try{ -(()=>{var n=__REACT__,{Children:se,Component:ie,Fragment:ue,Profiler:ce,PureComponent:pe,StrictMode:me,Suspense:de,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:be,cloneElement:Se,createContext:_e,createElement:Te,createFactory:ye,createRef:ve,forwardRef:fe,isValidElement:Ce,lazy:Ie,memo:Oe,startTransition:xe,unstable_act:Ee,useCallback:f,useContext:ge,useDebugValue:ke,useDeferredValue:he,useEffect:g,useId:Ae,useImperativeHandle:Re,useInsertionEffect:Le,useLayoutEffect:Be,useMemo:Me,useReducer:Pe,useRef:L,useState:B,useSyncExternalStore:Ne,useTransition:we,version:De}=__REACT__;var Ge=__STORYBOOK_API__,{ActiveTabs:Ke,Consumer:Ue,ManagerContext:Ye,Provider:$e,RequestResponseError:qe,addons:k,combineParameters:ze,controlOrMetaKey:je,controlOrMetaSymbol:Ze,eventMatchesShortcut:Je,eventToShortcut:Qe,experimental_MockUniversalStore:Xe,experimental_UniversalStore:et,experimental_requestResponse:tt,experimental_useUniversalStore:rt,isMacLike:ot,isShortcutTaken:at,keyToSymbol:nt,merge:lt,mockChannel:st,optionOrAltSymbol:it,shortcutMatchesShortcut:ut,shortcutToHumanString:ct,types:M,useAddonState:pt,useArgTypes:mt,useArgs:dt,useChannel:bt,useGlobalTypes:P,useGlobals:h,useParameter:St,useSharedState:_t,useStoryPrepared:Tt,useStorybookApi:N,useStorybookState:yt}=__STORYBOOK_API__;var Ot=__STORYBOOK_COMPONENTS__,{A:xt,ActionBar:Et,AddonPanel:gt,Badge:kt,Bar:ht,Blockquote:At,Button:Rt,ClipboardCode:Lt,Code:Bt,DL:Mt,Div:Pt,DocumentWrapper:Nt,EmptyTabContent:wt,ErrorFormatter:Dt,FlexBar:Vt,Form:Ht,H1:Wt,H2:Ft,H3:Gt,H4:Kt,H5:Ut,H6:Yt,HR:$t,IconButton:w,IconButtonSkeleton:qt,Icons:A,Img:zt,LI:jt,Link:Zt,ListItem:Jt,Loader:Qt,Modal:Xt,OL:er,P:tr,Placeholder:rr,Pre:or,ProgressSpinner:ar,ResetWrapper:nr,ScrollArea:lr,Separator:D,Spaced:sr,Span:ir,StorybookIcon:ur,StorybookLogo:cr,Symbols:pr,SyntaxHighlighter:mr,TT:dr,TabBar:br,TabButton:Sr,TabWrapper:_r,Table:Tr,Tabs:yr,TabsState:vr,TooltipLinkList:V,TooltipMessage:fr,TooltipNote:Cr,UL:Ir,WithTooltip:H,WithTooltipPure:Or,Zoom:xr,codeCommon:Er,components:gr,createCopyToClipboardFunction:kr,getStoryHref:hr,icons:Ar,interleaveSeparators:Rr,nameSpaceClassNames:Lr,resetComponents:Br,withReset:Mr}=__STORYBOOK_COMPONENTS__;var K={type:"item",value:""},U=(r,t)=>({...t,name:t.name||r,description:t.description||r,toolbar:{...t.toolbar,items:t.toolbar.items.map(e=>{let o=typeof e=="string"?{value:e,title:e}:e;return o.type==="reset"&&t.toolbar.icon&&(o.icon=t.toolbar.icon,o.hideIcon=!0),{...K,...o}})}}),Y=["reset"],$=r=>r.filter(t=>!Y.includes(t.type)).map(t=>t.value),S="addon-toolbars",q=async(r,t,e)=>{e&&e.next&&await r.setAddonShortcut(S,{label:e.next.label,defaultShortcut:e.next.keys,actionName:`${t}:next`,action:e.next.action}),e&&e.previous&&await r.setAddonShortcut(S,{label:e.previous.label,defaultShortcut:e.previous.keys,actionName:`${t}:previous`,action:e.previous.action}),e&&e.reset&&await r.setAddonShortcut(S,{label:e.reset.label,defaultShortcut:e.reset.keys,actionName:`${t}:reset`,action:e.reset.action})},z=r=>t=>{let{id:e,toolbar:{items:o,shortcuts:a}}=t,c=N(),[_,i]=h(),l=L([]),u=_[e],C=f(()=>{i({[e]:""})},[i]),I=f(()=>{let s=l.current,m=s.indexOf(u),d=m===s.length-1?0:m+1,p=l.current[d];i({[e]:p})},[l,u,i]),O=f(()=>{let s=l.current,m=s.indexOf(u),d=m>-1?m:0,p=d===0?s.length-1:d-1,b=l.current[p];i({[e]:b})},[l,u,i]);return g(()=>{a&&q(c,e,{next:{...a.next,action:I},previous:{...a.previous,action:O},reset:{...a.reset,action:C}})},[c,e,a,I,O,C]),g(()=>{l.current=$(o)},[]),n.createElement(r,{cycleValues:l.current,...t})},W=({currentValue:r,items:t})=>r!=null&&t.find(e=>e.value===r&&e.type!=="reset"),j=({currentValue:r,items:t})=>{let e=W({currentValue:r,items:t});if(e)return e.icon},Z=({currentValue:r,items:t})=>{let e=W({currentValue:r,items:t});if(e)return e.title},J=({active:r,disabled:t,title:e,icon:o,description:a,onClick:c})=>n.createElement(w,{active:r,title:a,disabled:t,onClick:t?()=>{}:c},o&&n.createElement(A,{icon:o,__suppressDeprecationWarning:!0}),e?`\xA0${e}`:null),Q=({right:r,title:t,value:e,icon:o,hideIcon:a,onClick:c,disabled:_,currentValue:i})=>{let l=o&&n.createElement(A,{style:{opacity:1},icon:o,__suppressDeprecationWarning:!0}),u={id:e??"_reset",active:i===e,right:r,title:t,disabled:_,onClick:c};return o&&!a&&(u.icon=l),u},X=z(({id:r,name:t,description:e,toolbar:{icon:o,items:a,title:c,preventDynamicIcon:_,dynamicTitle:i}})=>{let[l,u,C]=h(),[I,O]=B(!1),s=l[r],m=!!s,d=r in C,p=o,b=c;_||(p=j({currentValue:s,items:a})||p),i&&(b=Z({currentValue:s,items:a})||b),!b&&!p&&console.warn(`Toolbar '${t}' has no title or icon`);let F=f(E=>{u({[r]:E})},[r,u]);return n.createElement(H,{placement:"top",tooltip:({onHide:E})=>{let G=a.filter(({type:x})=>{let R=!0;return x==="reset"&&!s&&(R=!1),R}).map(x=>Q({...x,currentValue:s,disabled:d,onClick:()=>{F(x.value),E()}}));return n.createElement(V,{links:G})},closeOnOutsideClick:!0,onVisibleChange:O},n.createElement(J,{active:I||m,disabled:d,description:e||"",icon:p,title:b||""}))}),ee=()=>{let r=P(),t=Object.keys(r).filter(e=>!!r[e].toolbar);return t.length?n.createElement(n.Fragment,null,n.createElement(D,null),t.map(e=>{let o=U(e,r[e]);return n.createElement(X,{key:e,id:e,...o})})):null};k.register(S,()=>k.add(S,{title:S,type:M.TOOL,match:({tabId:r})=>!r,render:()=>n.createElement(ee,null)}));})(); -}catch(e){ console.error("[Storybook] One of your manager-entries failed: " + import.meta.url, e); } diff --git a/docs/storybook/sb-addons/essentials-viewport-6/manager-bundle.js b/docs/storybook/sb-addons/essentials-viewport-6/manager-bundle.js deleted file mode 100644 index 9fa1487..0000000 --- a/docs/storybook/sb-addons/essentials-viewport-6/manager-bundle.js +++ /dev/null @@ -1,3 +0,0 @@ -try{ -(()=>{var me=Object.create;var J=Object.defineProperty;var he=Object.getOwnPropertyDescriptor;var fe=Object.getOwnPropertyNames;var ge=Object.getPrototypeOf,we=Object.prototype.hasOwnProperty;var _=(e=>typeof require<"u"?require:typeof Proxy<"u"?new Proxy(e,{get:(t,a)=>(typeof require<"u"?require:t)[a]}):e)(function(e){if(typeof require<"u")return require.apply(this,arguments);throw Error('Dynamic require of "'+e+'" is not supported')});var z=(e,t)=>()=>(e&&(t=e(e=0)),t);var be=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports);var ye=(e,t,a,s)=>{if(t&&typeof t=="object"||typeof t=="function")for(let c of fe(t))!we.call(e,c)&&c!==a&&J(e,c,{get:()=>t[c],enumerable:!(s=he(t,c))||s.enumerable});return e};var Se=(e,t,a)=>(a=e!=null?me(ge(e)):{},ye(t||!e||!e.__esModule?J(a,"default",{value:e,enumerable:!0}):a,e));var f=z(()=>{});var g=z(()=>{});var w=z(()=>{});var le=be((ce,Z)=>{f();g();w();(function(e){if(typeof ce=="object"&&typeof Z<"u")Z.exports=e();else if(typeof define=="function"&&define.amd)define([],e);else{var t;typeof window<"u"||typeof window<"u"?t=window:typeof self<"u"?t=self:t=this,t.memoizerific=e()}})(function(){var e,t,a;return function s(c,b,p){function o(n,d){if(!b[n]){if(!c[n]){var r=typeof _=="function"&&_;if(!d&&r)return r(n,!0);if(i)return i(n,!0);var u=new Error("Cannot find module '"+n+"'");throw u.code="MODULE_NOT_FOUND",u}var I=b[n]={exports:{}};c[n][0].call(I.exports,function(h){var y=c[n][1][h];return o(y||h)},I,I.exports,s,c,b,p)}return b[n].exports}for(var i=typeof _=="function"&&_,m=0;m=0)return this.lastItem=this.list[i],this.list[i].val},p.prototype.set=function(o,i){var m;return this.lastItem&&this.isEqual(this.lastItem.key,o)?(this.lastItem.val=i,this):(m=this.indexOf(o),m>=0?(this.lastItem=this.list[m],this.list[m].val=i,this):(this.lastItem={key:o,val:i},this.list.push(this.lastItem),this.size++,this))},p.prototype.delete=function(o){var i;if(this.lastItem&&this.isEqual(this.lastItem.key,o)&&(this.lastItem=void 0),i=this.indexOf(o),i>=0)return this.size--,this.list.splice(i,1)[0]},p.prototype.has=function(o){var i;return this.lastItem&&this.isEqual(this.lastItem.key,o)?!0:(i=this.indexOf(o),i>=0?(this.lastItem=this.list[i],!0):!1)},p.prototype.forEach=function(o,i){var m;for(m=0;m0&&(M[S]={cacheItem:h,arg:arguments[S]},x?o(r,M):r.push(M),r.length>n&&i(r.shift())),I.wasMemoized=x,I.numArgs=S+1,R};return I.limit=n,I.wasMemoized=!1,I.cache=d,I.lru=r,I}};function o(n,d){var r=n.length,u=d.length,I,h,y;for(h=0;h=0&&(r=n[I],u=r.cacheItem.get(r.arg),!u||!u.size);I--)r.cacheItem.delete(r.arg)}function m(n,d){return n===d||n!==n&&d!==d}},{"map-or-similar":1}]},{},[3])(3)})});f();g();w();f();g();w();f();g();w();f();g();w();var l=__REACT__,{Children:$e,Component:Je,Fragment:V,Profiler:Qe,PureComponent:Xe,StrictMode:et,Suspense:tt,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:ot,cloneElement:nt,createContext:rt,createElement:H,createFactory:it,createRef:at,forwardRef:ct,isValidElement:lt,lazy:st,memo:Q,startTransition:ut,unstable_act:It,useCallback:X,useContext:pt,useDebugValue:dt,useDeferredValue:mt,useEffect:O,useId:ht,useImperativeHandle:ft,useInsertionEffect:gt,useLayoutEffect:wt,useMemo:bt,useReducer:yt,useRef:ee,useState:N,useSyncExternalStore:St,useTransition:vt,version:Ct}=__REACT__;f();g();w();var Rt=__STORYBOOK_API__,{ActiveTabs:xt,Consumer:At,ManagerContext:_t,Provider:Ot,RequestResponseError:Lt,addons:U,combineParameters:Bt,controlOrMetaKey:Pt,controlOrMetaSymbol:Mt,eventMatchesShortcut:Vt,eventToShortcut:Dt,experimental_MockUniversalStore:zt,experimental_UniversalStore:Ht,experimental_requestResponse:Nt,experimental_useUniversalStore:Ut,isMacLike:Gt,isShortcutTaken:Ft,keyToSymbol:qt,merge:Wt,mockChannel:Yt,optionOrAltSymbol:jt,shortcutMatchesShortcut:Kt,shortcutToHumanString:Zt,types:te,useAddonState:$t,useArgTypes:Jt,useArgs:Qt,useChannel:Xt,useGlobalTypes:eo,useGlobals:G,useParameter:F,useSharedState:to,useStoryPrepared:oo,useStorybookApi:oe,useStorybookState:no}=__STORYBOOK_API__;f();g();w();var lo=__STORYBOOK_COMPONENTS__,{A:so,ActionBar:uo,AddonPanel:Io,Badge:po,Bar:mo,Blockquote:ho,Button:fo,ClipboardCode:go,Code:wo,DL:bo,Div:yo,DocumentWrapper:So,EmptyTabContent:vo,ErrorFormatter:Co,FlexBar:Eo,Form:To,H1:ko,H2:Ro,H3:xo,H4:Ao,H5:_o,H6:Oo,HR:Lo,IconButton:L,IconButtonSkeleton:Bo,Icons:Po,Img:Mo,LI:Vo,Link:Do,ListItem:zo,Loader:Ho,Modal:No,OL:Uo,P:Go,Placeholder:Fo,Pre:qo,ProgressSpinner:Wo,ResetWrapper:Yo,ScrollArea:jo,Separator:Ko,Spaced:Zo,Span:$o,StorybookIcon:Jo,StorybookLogo:Qo,Symbols:Xo,SyntaxHighlighter:en,TT:tn,TabBar:on,TabButton:nn,TabWrapper:rn,Table:an,Tabs:cn,TabsState:ln,TooltipLinkList:q,TooltipMessage:sn,TooltipNote:un,UL:In,WithTooltip:W,WithTooltipPure:pn,Zoom:dn,codeCommon:mn,components:hn,createCopyToClipboardFunction:fn,getStoryHref:gn,icons:wn,interleaveSeparators:bn,nameSpaceClassNames:yn,resetComponents:Sn,withReset:vn}=__STORYBOOK_COMPONENTS__;f();g();w();var Rn=__STORYBOOK_THEMING__,{CacheProvider:xn,ClassNames:An,Global:Y,ThemeProvider:_n,background:On,color:Ln,convert:Bn,create:Pn,createCache:Mn,createGlobal:Vn,createReset:Dn,css:zn,darken:Hn,ensure:Nn,ignoreSsrWarning:Un,isPropValid:Gn,jsx:Fn,keyframes:qn,lighten:Wn,styled:v,themes:Yn,typography:jn,useTheme:Kn,withTheme:Zn}=__STORYBOOK_THEMING__;f();g();w();var er=__STORYBOOK_ICONS__,{AccessibilityAltIcon:tr,AccessibilityIcon:or,AccessibilityIgnoredIcon:nr,AddIcon:rr,AdminIcon:ir,AlertAltIcon:ar,AlertIcon:cr,AlignLeftIcon:lr,AlignRightIcon:sr,AppleIcon:ur,ArrowBottomLeftIcon:Ir,ArrowBottomRightIcon:pr,ArrowDownIcon:dr,ArrowLeftIcon:mr,ArrowRightIcon:hr,ArrowSolidDownIcon:fr,ArrowSolidLeftIcon:gr,ArrowSolidRightIcon:wr,ArrowSolidUpIcon:br,ArrowTopLeftIcon:yr,ArrowTopRightIcon:Sr,ArrowUpIcon:vr,AzureDevOpsIcon:Cr,BackIcon:Er,BasketIcon:Tr,BatchAcceptIcon:kr,BatchDenyIcon:Rr,BeakerIcon:xr,BellIcon:Ar,BitbucketIcon:_r,BoldIcon:Or,BookIcon:Lr,BookmarkHollowIcon:Br,BookmarkIcon:Pr,BottomBarIcon:Mr,BottomBarToggleIcon:Vr,BoxIcon:Dr,BranchIcon:zr,BrowserIcon:ne,ButtonIcon:Hr,CPUIcon:Nr,CalendarIcon:Ur,CameraIcon:Gr,CameraStabilizeIcon:Fr,CategoryIcon:qr,CertificateIcon:Wr,ChangedIcon:Yr,ChatIcon:jr,CheckIcon:Kr,ChevronDownIcon:Zr,ChevronLeftIcon:$r,ChevronRightIcon:Jr,ChevronSmallDownIcon:Qr,ChevronSmallLeftIcon:Xr,ChevronSmallRightIcon:ei,ChevronSmallUpIcon:ti,ChevronUpIcon:oi,ChromaticIcon:ni,ChromeIcon:ri,CircleHollowIcon:ii,CircleIcon:ai,ClearIcon:ci,CloseAltIcon:li,CloseIcon:si,CloudHollowIcon:ui,CloudIcon:Ii,CogIcon:pi,CollapseIcon:di,CommandIcon:mi,CommentAddIcon:hi,CommentIcon:fi,CommentsIcon:gi,CommitIcon:wi,CompassIcon:bi,ComponentDrivenIcon:yi,ComponentIcon:Si,ContrastIcon:vi,ContrastIgnoredIcon:Ci,ControlsIcon:Ei,CopyIcon:Ti,CreditIcon:ki,CrossIcon:Ri,DashboardIcon:xi,DatabaseIcon:Ai,DeleteIcon:_i,DiamondIcon:Oi,DirectionIcon:Li,DiscordIcon:Bi,DocChartIcon:Pi,DocListIcon:Mi,DocumentIcon:Vi,DownloadIcon:Di,DragIcon:zi,EditIcon:Hi,EllipsisIcon:Ni,EmailIcon:Ui,ExpandAltIcon:Gi,ExpandIcon:Fi,EyeCloseIcon:qi,EyeIcon:Wi,FaceHappyIcon:Yi,FaceNeutralIcon:ji,FaceSadIcon:Ki,FacebookIcon:Zi,FailedIcon:$i,FastForwardIcon:Ji,FigmaIcon:Qi,FilterIcon:Xi,FlagIcon:ea,FolderIcon:ta,FormIcon:oa,GDriveIcon:na,GithubIcon:ra,GitlabIcon:ia,GlobeIcon:aa,GoogleIcon:ca,GraphBarIcon:la,GraphLineIcon:sa,GraphqlIcon:ua,GridAltIcon:Ia,GridIcon:pa,GrowIcon:j,HeartHollowIcon:da,HeartIcon:ma,HomeIcon:ha,HourglassIcon:fa,InfoIcon:ga,ItalicIcon:wa,JumpToIcon:ba,KeyIcon:ya,LightningIcon:Sa,LightningOffIcon:va,LinkBrokenIcon:Ca,LinkIcon:Ea,LinkedinIcon:Ta,LinuxIcon:ka,ListOrderedIcon:Ra,ListUnorderedIcon:xa,LocationIcon:Aa,LockIcon:_a,MarkdownIcon:Oa,MarkupIcon:La,MediumIcon:Ba,MemoryIcon:Pa,MenuIcon:Ma,MergeIcon:Va,MirrorIcon:Da,MobileIcon:re,MoonIcon:za,NutIcon:Ha,OutboxIcon:Na,OutlineIcon:Ua,PaintBrushIcon:Ga,PaperClipIcon:Fa,ParagraphIcon:qa,PassedIcon:Wa,PhoneIcon:Ya,PhotoDragIcon:ja,PhotoIcon:Ka,PhotoStabilizeIcon:Za,PinAltIcon:$a,PinIcon:Ja,PlayAllHollowIcon:Qa,PlayBackIcon:Xa,PlayHollowIcon:ec,PlayIcon:tc,PlayNextIcon:oc,PlusIcon:nc,PointerDefaultIcon:rc,PointerHandIcon:ic,PowerIcon:ac,PrintIcon:cc,ProceedIcon:lc,ProfileIcon:sc,PullRequestIcon:uc,QuestionIcon:Ic,RSSIcon:pc,RedirectIcon:dc,ReduxIcon:mc,RefreshIcon:ie,ReplyIcon:hc,RepoIcon:fc,RequestChangeIcon:gc,RewindIcon:wc,RulerIcon:bc,SaveIcon:yc,SearchIcon:Sc,ShareAltIcon:vc,ShareIcon:Cc,ShieldIcon:Ec,SideBySideIcon:Tc,SidebarAltIcon:kc,SidebarAltToggleIcon:Rc,SidebarIcon:xc,SidebarToggleIcon:Ac,SpeakerIcon:_c,StackedIcon:Oc,StarHollowIcon:Lc,StarIcon:Bc,StatusFailIcon:Pc,StatusIcon:Mc,StatusPassIcon:Vc,StatusWarnIcon:Dc,StickerIcon:zc,StopAltHollowIcon:Hc,StopAltIcon:Nc,StopIcon:Uc,StorybookIcon:Gc,StructureIcon:Fc,SubtractIcon:qc,SunIcon:Wc,SupportIcon:Yc,SwitchAltIcon:jc,SyncIcon:Kc,TabletIcon:ae,ThumbsUpIcon:Zc,TimeIcon:$c,TimerIcon:Jc,TransferIcon:K,TrashIcon:Qc,TwitterIcon:Xc,TypeIcon:el,UbuntuIcon:tl,UndoIcon:ol,UnfoldIcon:nl,UnlockIcon:rl,UnpinIcon:il,UploadIcon:al,UserAddIcon:cl,UserAltIcon:ll,UserIcon:sl,UsersIcon:ul,VSCodeIcon:Il,VerifiedIcon:pl,VideoIcon:dl,WandIcon:ml,WatchIcon:hl,WindowsIcon:fl,WrenchIcon:gl,XIcon:wl,YoutubeIcon:bl,ZoomIcon:yl,ZoomOutIcon:Sl,ZoomResetIcon:vl,iconList:Cl}=__STORYBOOK_ICONS__;var $=Se(le()),B="storybook/viewport",A="viewport",Ie={mobile1:{name:"Small mobile",styles:{height:"568px",width:"320px"},type:"mobile"},mobile2:{name:"Large mobile",styles:{height:"896px",width:"414px"},type:"mobile"},tablet:{name:"Tablet",styles:{height:"1112px",width:"834px"},type:"tablet"}},P={name:"Reset viewport",styles:{height:"100%",width:"100%"},type:"desktop"},Ce={[A]:{value:void 0,isRotated:!1}},Ee={viewport:"reset",viewportRotated:!1},Te=globalThis.FEATURES?.viewportStoryGlobals?Ce:Ee,pe=(e,t)=>e.indexOf(t),ke=(e,t)=>{let a=pe(e,t);return a===e.length-1?e[0]:e[a+1]},Re=(e,t)=>{let a=pe(e,t);return a<1?e[e.length-1]:e[a-1]},de=async(e,t,a,s)=>{await e.setAddonShortcut(B,{label:"Previous viewport",defaultShortcut:["alt","shift","V"],actionName:"previous",action:()=>{a({viewport:Re(s,t)})}}),await e.setAddonShortcut(B,{label:"Next viewport",defaultShortcut:["alt","V"],actionName:"next",action:()=>{a({viewport:ke(s,t)})}}),await e.setAddonShortcut(B,{label:"Reset viewport",defaultShortcut:["alt","control","V"],actionName:"reset",action:()=>{a(Te)}})},xe=v.div({display:"inline-flex",alignItems:"center"}),se=v.div(({theme:e})=>({display:"inline-block",textDecoration:"none",padding:10,fontWeight:e.typography.weight.bold,fontSize:e.typography.size.s2-1,lineHeight:"1",height:40,border:"none",borderTop:"3px solid transparent",borderBottom:"3px solid transparent",background:"transparent"})),Ae=v(L)(()=>({display:"inline-flex",alignItems:"center"})),_e=v.div(({theme:e})=>({fontSize:e.typography.size.s2-1,marginLeft:10})),Oe={desktop:l.createElement(ne,null),mobile:l.createElement(re,null),tablet:l.createElement(ae,null),other:l.createElement(V,null)},Le=({api:e})=>{let t=F(A),[a,s,c]=G(),[b,p]=N(!1),{options:o=Ie,disable:i}=t||{},m=a?.[A]||{},n=m.value,d=m.isRotated,r=o[n]||P,u=b||r!==P,I=A in c,h=Object.keys(o).length;if(O(()=>{de(e,n,s,Object.keys(o))},[o,n,s,e]),r.styles===null||!o||h<1)return null;if(typeof r.styles=="function")return console.warn("Addon Viewport no longer supports dynamic styles using a function, use css calc() instead"),null;let y=d?r.styles.height:r.styles.width,R=d?r.styles.width:r.styles.height;return i?null:l.createElement(Be,{item:r,updateGlobals:s,viewportMap:o,viewportName:n,isRotated:d,setIsTooltipVisible:p,isLocked:I,isActive:u,width:y,height:R})},Be=l.memo(function(e){let{item:t,viewportMap:a,viewportName:s,isRotated:c,updateGlobals:b,setIsTooltipVisible:p,isLocked:o,isActive:i,width:m,height:n}=e,d=X(r=>b({[A]:r}),[b]);return l.createElement(V,null,l.createElement(W,{placement:"bottom",tooltip:({onHide:r})=>l.createElement(q,{links:[...length>0&&t!==P?[{id:"reset",title:"Reset viewport",icon:l.createElement(ie,null),onClick:()=>{d({value:void 0,isRotated:!1}),r()}}]:[],...Object.entries(a).map(([u,I])=>({id:u,title:I.name,icon:Oe[I.type],active:u===s,onClick:()=>{d({value:u,isRotated:!1}),r()}}))].flat()}),closeOnOutsideClick:!0,onVisibleChange:p},l.createElement(Ae,{disabled:o,key:"viewport",title:"Change the size of the preview",active:i,onDoubleClick:()=>{d({value:void 0,isRotated:!1})}},l.createElement(j,null),t!==P?l.createElement(_e,null,t.name," ",c?"(L)":"(P)"):null)),l.createElement(Y,{styles:{'iframe[data-is-storybook="true"]':{width:m,height:n}}}),t!==P?l.createElement(xe,null,l.createElement(se,{title:"Viewport width"},m.replace("px","")),o?"/":l.createElement(L,{key:"viewport-rotate",title:"Rotate viewport",onClick:()=>{d({value:s,isRotated:!c})}},l.createElement(K,null)),l.createElement(se,{title:"Viewport height"},n.replace("px",""))):null)}),Pe=(0,$.default)(50)(e=>[...Me,...Object.entries(e).map(([t,{name:a,...s}])=>({...s,id:t,title:a}))]),D={id:"reset",title:"Reset viewport",styles:null,type:"other"},Me=[D],Ve=(0,$.default)(50)((e,t,a,s)=>e.filter(c=>c.id!==D.id||t.id!==c.id).map(c=>({...c,onClick:()=>{a({viewport:c.id}),s()}}))),De=({width:e,height:t,...a})=>({...a,height:e,width:t}),ze=v.div({display:"inline-flex",alignItems:"center"}),ue=v.div(({theme:e})=>({display:"inline-block",textDecoration:"none",padding:10,fontWeight:e.typography.weight.bold,fontSize:e.typography.size.s2-1,lineHeight:"1",height:40,border:"none",borderTop:"3px solid transparent",borderBottom:"3px solid transparent",background:"transparent"})),He=v(L)(()=>({display:"inline-flex",alignItems:"center"})),Ne=v.div(({theme:e})=>({fontSize:e.typography.size.s2-1,marginLeft:10})),Ue=(e,t,a)=>{if(t===null)return;let s=typeof t=="function"?t(e):t;return a?De(s):s},Ge=Q(function(){let[e,t]=G(),{viewports:a=Ie,defaultOrientation:s,defaultViewport:c,disable:b}=F(A,{}),p=Pe(a),o=oe(),[i,m]=N(!1);c&&!p.find(u=>u.id===c)&&console.warn(`Cannot find "defaultViewport" of "${c}" in addon-viewport configs, please check the "viewports" setting in the configuration.`),O(()=>{de(o,e,t,Object.keys(a))},[a,e,e.viewport,t,o]),O(()=>{let u=s==="landscape";(c&&e.viewport!==c||s&&e.viewportRotated!==u)&&t({viewport:c,viewportRotated:u})},[s,c,t]);let n=p.find(u=>u.id===e.viewport)||p.find(u=>u.id===c)||p.find(u=>u.default)||D,d=ee(),r=Ue(d.current,n.styles,e.viewportRotated);return O(()=>{d.current=r},[n]),b||Object.entries(a).length===0?null:l.createElement(V,null,l.createElement(W,{placement:"top",tooltip:({onHide:u})=>l.createElement(q,{links:Ve(p,n,t,u)}),closeOnOutsideClick:!0,onVisibleChange:m},l.createElement(He,{key:"viewport",title:"Change the size of the preview",active:i||!!r,onDoubleClick:()=>{t({viewport:D.id})}},l.createElement(j,null),r?l.createElement(Ne,null,e.viewportRotated?`${n.title} (L)`:`${n.title} (P)`):null)),r?l.createElement(ze,null,l.createElement(Y,{styles:{'iframe[data-is-storybook="true"]':{...r||{width:"100%",height:"100%"}}}}),l.createElement(ue,{title:"Viewport width"},r.width.replace("px","")),l.createElement(L,{key:"viewport-rotate",title:"Rotate viewport",onClick:()=>{t({viewportRotated:!e.viewportRotated})}},l.createElement(K,null)),l.createElement(ue,{title:"Viewport height"},r.height.replace("px",""))):null)});U.register(B,e=>{U.add(B,{title:"viewport / media-queries",type:te.TOOL,match:({viewMode:t,tabId:a})=>t==="story"&&!a,render:()=>FEATURES?.viewportStoryGlobals?H(Le,{api:e}):H(Ge,null)})});})(); -}catch(e){ console.error("[Storybook] One of your manager-entries failed: " + import.meta.url, e); } diff --git a/docs/storybook/sb-addons/interactions-11/manager-bundle.js b/docs/storybook/sb-addons/interactions-11/manager-bundle.js deleted file mode 100644 index 852a05c..0000000 --- a/docs/storybook/sb-addons/interactions-11/manager-bundle.js +++ /dev/null @@ -1,222 +0,0 @@ -try{ -(()=>{var be=(t=>typeof require<"u"?require:typeof Proxy<"u"?new Proxy(t,{get:(e,r)=>(typeof require<"u"?require:e)[r]}):t)(function(t){if(typeof require<"u")return require.apply(this,arguments);throw Error('Dynamic require of "'+t+'" is not supported')});var m=__REACT__,{Children:qd,Component:$d,Fragment:Ot,Profiler:Ud,PureComponent:zd,StrictMode:Hd,Suspense:Gd,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:Vd,cloneElement:Wd,createContext:Yd,createElement:U,createFactory:Kd,createRef:Xd,forwardRef:Jd,isValidElement:Qd,lazy:Zd,memo:Ft,startTransition:eh,unstable_act:th,useCallback:Un,useContext:rh,useDebugValue:nh,useDeferredValue:oh,useEffect:ke,useId:ah,useImperativeHandle:uh,useInsertionEffect:ih,useLayoutEffect:sh,useMemo:zn,useReducer:lh,useRef:It,useState:Te,useSyncExternalStore:ch,useTransition:ph,version:dh}=__REACT__;var gh=__STORYBOOK_COMPONENTS__,{A:yh,ActionBar:bh,AddonPanel:Hn,Badge:gr,Bar:Gn,Blockquote:Eh,Button:Vn,ClipboardCode:Ah,Code:Sh,DL:Ch,Div:wh,DocumentWrapper:vh,EmptyTabContent:Wn,ErrorFormatter:Dh,FlexBar:xh,Form:Th,H1:Rh,H2:_h,H3:Oh,H4:Fh,H5:Ih,H6:Bh,HR:Ph,IconButton:yr,IconButtonSkeleton:Nh,Icons:Lh,Img:jh,LI:kh,Link:br,ListItem:Mh,Loader:qh,Modal:$h,OL:Uh,P:Yn,Placeholder:zh,Pre:Hh,ProgressSpinner:Gh,ResetWrapper:Vh,ScrollArea:Wh,Separator:Kn,Spaced:Xn,Span:Yh,StorybookIcon:Kh,StorybookLogo:Xh,Symbols:Jh,SyntaxHighlighter:Qh,TT:Zh,TabBar:ef,TabButton:tf,TabWrapper:rf,Table:nf,Tabs:of,TabsState:af,TooltipLinkList:uf,TooltipMessage:sf,TooltipNote:Er,UL:lf,WithTooltip:Ye,WithTooltipPure:cf,Zoom:pf,codeCommon:df,components:hf,createCopyToClipboardFunction:ff,getStoryHref:mf,icons:gf,interleaveSeparators:yf,nameSpaceClassNames:bf,resetComponents:Ef,withReset:Af}=__STORYBOOK_COMPONENTS__;var Df=__STORYBOOK_API__,{ActiveTabs:xf,Consumer:Jn,ManagerContext:Tf,Provider:Rf,RequestResponseError:_f,addons:Ar,combineParameters:Of,controlOrMetaKey:Ff,controlOrMetaSymbol:If,eventMatchesShortcut:Bf,eventToShortcut:Pf,experimental_MockUniversalStore:Nf,experimental_UniversalStore:Lf,experimental_requestResponse:jf,experimental_useUniversalStore:kf,isMacLike:Mf,isShortcutTaken:qf,keyToSymbol:$f,merge:Uf,mockChannel:zf,optionOrAltSymbol:Hf,shortcutMatchesShortcut:Gf,shortcutToHumanString:Vf,types:Qn,useAddonState:Sr,useArgTypes:Wf,useArgs:Yf,useChannel:Zn,useGlobalTypes:Kf,useGlobals:Xf,useParameter:eo,useSharedState:Jf,useStoryPrepared:Qf,useStorybookApi:to,useStorybookState:Zf}=__STORYBOOK_API__;var om=__STORYBOOK_CORE_EVENTS__,{ARGTYPES_INFO_REQUEST:ro,ARGTYPES_INFO_RESPONSE:Cr,CHANNEL_CREATED:am,CHANNEL_WS_DISCONNECT:um,CONFIG_ERROR:no,CREATE_NEW_STORYFILE_REQUEST:im,CREATE_NEW_STORYFILE_RESPONSE:sm,CURRENT_STORY_WAS_SET:wr,DOCS_PREPARED:oo,DOCS_RENDERED:Bt,FILE_COMPONENT_SEARCH_REQUEST:lm,FILE_COMPONENT_SEARCH_RESPONSE:cm,FORCE_REMOUNT:bt,FORCE_RE_RENDER:Pt,GLOBALS_UPDATED:ot,NAVIGATE_URL:pm,PLAY_FUNCTION_THREW_EXCEPTION:Nt,PRELOAD_ENTRIES:ao,PREVIEW_BUILDER_PROGRESS:dm,PREVIEW_KEYDOWN:uo,REGISTER_SUBSCRIPTION:hm,REQUEST_WHATS_NEW_DATA:fm,RESET_STORY_ARGS:Lt,RESULT_WHATS_NEW_DATA:mm,SAVE_STORY_REQUEST:gm,SAVE_STORY_RESPONSE:ym,SELECT_STORY:bm,SET_CONFIG:Em,SET_CURRENT_STORY:vr,SET_FILTER:Am,SET_GLOBALS:io,SET_INDEX:Sm,SET_STORIES:Cm,SET_WHATS_NEW_CACHE:wm,SHARED_STATE_CHANGED:vm,SHARED_STATE_SET:Dm,STORIES_COLLAPSE_ALL:xm,STORIES_EXPAND_ALL:Tm,STORY_ARGS_UPDATED:so,STORY_CHANGED:lo,STORY_ERRORED:co,STORY_FINISHED:Dr,STORY_INDEX_INVALIDATED:po,STORY_MISSING:xr,STORY_PREPARED:ho,STORY_RENDERED:Et,STORY_RENDER_PHASE_CHANGED:Pe,STORY_SPECIFIED:fo,STORY_THREW_EXCEPTION:jt,STORY_UNCHANGED:mo,TELEMETRY_ERROR:Rm,TESTING_MODULE_CANCEL_TEST_RUN_REQUEST:_m,TESTING_MODULE_CANCEL_TEST_RUN_RESPONSE:Om,TESTING_MODULE_CRASH_REPORT:Fm,TESTING_MODULE_PROGRESS_REPORT:Im,TESTING_MODULE_RUN_ALL_REQUEST:Bm,TESTING_MODULE_RUN_REQUEST:Pm,TOGGLE_WHATS_NEW_NOTIFICATIONS:Nm,UNHANDLED_ERRORS_WHILE_PLAYING:kt,UPDATE_GLOBALS:Mt,UPDATE_QUERY_PARAMS:go,UPDATE_STORY_ARGS:qt}=__STORYBOOK_CORE_EVENTS__;var At=(()=>{let t;return typeof window<"u"?t=window:typeof globalThis<"u"?t=globalThis:typeof window<"u"?t=window:typeof self<"u"?t=self:t={},t})();var Km=__STORYBOOK_CLIENT_LOGGER__,{deprecate:Xm,logger:Jm,once:Mi,pretty:Qm}=__STORYBOOK_CLIENT_LOGGER__;var ng=__STORYBOOK_CHANNELS__,{Channel:$t,HEARTBEAT_INTERVAL:og,HEARTBEAT_MAX_LATENCY:ag,PostMessageTransport:ug,WebsocketTransport:ig,createBrowserChannel:sg}=__STORYBOOK_CHANNELS__;var hg=__STORYBOOK_CLIENT_LOGGER__,{deprecate:Ne,logger:X,once:Me,pretty:fg}=__STORYBOOK_CLIENT_LOGGER__;var qi=Object.defineProperty,oe=(t,e)=>qi(t,"name",{value:e,configurable:!0});function ie(t){for(var e=[],r=1;r` - ${u}`).join(` -`)}`),`${o}${a!=null?` - -More info: ${a} -`:""}`}};oe(yo,"StorybookError");var pe=yo,$i=(t=>(t.BLOCKS="BLOCKS",t.DOCS_TOOLS="DOCS-TOOLS",t.PREVIEW_CLIENT_LOGGER="PREVIEW_CLIENT-LOGGER",t.PREVIEW_CHANNELS="PREVIEW_CHANNELS",t.PREVIEW_CORE_EVENTS="PREVIEW_CORE-EVENTS",t.PREVIEW_INSTRUMENTER="PREVIEW_INSTRUMENTER",t.PREVIEW_API="PREVIEW_API",t.PREVIEW_REACT_DOM_SHIM="PREVIEW_REACT-DOM-SHIM",t.PREVIEW_ROUTER="PREVIEW_ROUTER",t.PREVIEW_THEMING="PREVIEW_THEMING",t.RENDERER_HTML="RENDERER_HTML",t.RENDERER_PREACT="RENDERER_PREACT",t.RENDERER_REACT="RENDERER_REACT",t.RENDERER_SERVER="RENDERER_SERVER",t.RENDERER_SVELTE="RENDERER_SVELTE",t.RENDERER_VUE="RENDERER_VUE",t.RENDERER_VUE3="RENDERER_VUE3",t.RENDERER_WEB_COMPONENTS="RENDERER_WEB-COMPONENTS",t.FRAMEWORK_NEXTJS="FRAMEWORK_NEXTJS",t.ADDON_VITEST="ADDON_VITEST",t))($i||{}),Eo=class extends pe{constructor(e){super({category:"PREVIEW_API",code:1,message:ie` - Couldn't find story matching id '${e.storyId}' after HMR. - - Did you just rename a story? - - Did you remove it from your CSF file? - - Are you sure a story with the id '${e.storyId}' exists? - - Please check the values in the stories field of your main.js config and see if they would match your CSF File. - - Also check the browser console and terminal for potential error messages.`}),this.data=e}};oe(Eo,"MissingStoryAfterHmrError");var Ao=Eo,Ui=class extends pe{constructor(e){super({category:"PREVIEW_API",code:2,documentation:"https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#using-implicit-actions-during-rendering-is-deprecated-for-example-in-the-play-function",message:ie` - We detected that you use an implicit action arg while ${e.phase} of your story. - ${e.deprecated?` -This is deprecated and won't work in Storybook 8 anymore. -`:""} - Please provide an explicit spy to your args like this: - import { fn } from '@storybook/test'; - ... - args: { - ${e.name}: fn() - }`}),this.data=e}};oe(Ui,"ImplicitActionsDuringRendering");var So=class extends pe{constructor(){super({category:"PREVIEW_API",code:3,message:ie` - Cannot call \`storyStore.extract()\` without calling \`storyStore.cacheAllCsfFiles()\` first. - - You probably meant to call \`await preview.extract()\` which does the above for you.`})}};oe(So,"CalledExtractOnStoreError");var Co=So,wo=class extends pe{constructor(){super({category:"PREVIEW_API",code:4,message:ie` - Expected your framework's preset to export a \`renderToCanvas\` field. - - Perhaps it needs to be upgraded for Storybook 7.0?`,documentation:"https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#mainjs-framework-field"})}};oe(wo,"MissingRenderToCanvasError");var vo=wo,Do=class extends pe{constructor(e){super({category:"PREVIEW_API",code:5,message:ie` - Called \`Preview.${e.methodName}()\` before initialization. - - The preview needs to load the story index before most methods can be called. If you want - to call \`${e.methodName}\`, try \`await preview.initializationPromise;\` first. - - If you didn't call the above code, then likely it was called by an addon that needs to - do the above.`}),this.data=e}};oe(Do,"CalledPreviewMethodBeforeInitializationError");var Ee=Do,xo=class extends pe{constructor(e){super({category:"PREVIEW_API",code:6,message:ie` - Error fetching \`/index.json\`: - - ${e.text} - - If you are in development, this likely indicates a problem with your Storybook process, - check the terminal for errors. - - If you are in a deployed Storybook, there may have been an issue deploying the full Storybook - build.`}),this.data=e}};oe(xo,"StoryIndexFetchError");var To=xo,Ro=class extends pe{constructor(e){super({category:"PREVIEW_API",code:7,message:ie` - Tried to render docs entry ${e.storyId} but it is a MDX file that has no CSF - references, or autodocs for a CSF file that some doesn't refer to itself. - - This likely is an internal error in Storybook's indexing, or you've attached the - \`attached-mdx\` tag to an MDX file that is not attached.`}),this.data=e}};oe(Ro,"MdxFileWithNoCsfReferencesError");var _o=Ro,Oo=class extends pe{constructor(){super({category:"PREVIEW_API",code:8,message:ie` - Couldn't find any stories in your Storybook. - - - Please check your stories field of your main.js config: does it match correctly? - - Also check the browser console and terminal for error messages.`})}};oe(Oo,"EmptyIndexError");var Fo=Oo,Io=class extends pe{constructor(e){super({category:"PREVIEW_API",code:9,message:ie` - Couldn't find story matching '${e.storySpecifier}'. - - - Are you sure a story with that id exists? - - Please check your stories field of your main.js config. - - Also check the browser console and terminal for error messages.`}),this.data=e}};oe(Io,"NoStoryMatchError");var Bo=Io,Po=class extends pe{constructor(e){super({category:"PREVIEW_API",code:10,message:ie` - Couldn't find story matching id '${e.storyId}' after importing a CSF file. - - The file was indexed as if the story was there, but then after importing the file in the browser - we didn't find the story. Possible reasons: - - You are using a custom story indexer that is misbehaving. - - You have a custom file loader that is removing or renaming exports. - - Please check your browser console and terminal for errors that may explain the issue.`}),this.data=e}};oe(Po,"MissingStoryFromCsfFileError");var No=Po,Lo=class extends pe{constructor(){super({category:"PREVIEW_API",code:11,message:ie` - Cannot access the Story Store until the index is ready. - - It is not recommended to use methods directly on the Story Store anyway, in Storybook 9 we will - remove access to the store entirely`})}};oe(Lo,"StoryStoreAccessedBeforeInitializationError");var jo=Lo,ko=class extends pe{constructor(e){super({category:"PREVIEW_API",code:12,message:ie` - Incorrect use of mount in the play function. - - To use mount in the play function, you must satisfy the following two requirements: - - 1. You *must* destructure the mount property from the \`context\` (the argument passed to your play function). - This makes sure that Storybook does not start rendering the story before the play function begins. - - 2. Your Storybook framework or builder must be configured to transpile to ES2017 or newer. - This is because destructuring statements and async/await usages are otherwise transpiled away, - which prevents Storybook from recognizing your usage of \`mount\`. - - Note that Angular is not supported. As async/await is transpiled to support the zone.js polyfill. - - More info: https://storybook.js.org/docs/writing-tests/interaction-testing#run-code-before-the-component-gets-rendered - - Received the following play function: - ${e.playFunction}`}),this.data=e}};oe(ko,"MountMustBeDestructuredError");var Ut=ko,Mo=class extends pe{constructor(e){super({category:"PREVIEW_API",code:14,message:ie` - No render function available for storyId '${e.id}' - `}),this.data=e}};oe(Mo,"NoRenderFunctionError");var qo=Mo,$o=class extends pe{constructor(){super({category:"PREVIEW_API",code:15,message:ie` - No component is mounted in your story. - - This usually occurs when you destructure mount in the play function, but forget to call it. - - For example: - - async play({ mount, canvasElement }) { - // 👈 mount should be called: await mount(); - const canvas = within(canvasElement); - const button = await canvas.findByRole('button'); - await userEvent.click(button); - }; - - Make sure to either remove it or call mount in your play function. - `})}};oe($o,"NoStoryMountedError");var Uo=$o,zi=class extends pe{constructor(){super({category:"FRAMEWORK_NEXTJS",code:1,documentation:"https://storybook.js.org/docs/get-started/nextjs#faq",message:ie` - You are importing avif images, but you don't have sharp installed. - - You have to install sharp in order to use image optimization features in Next.js. - `})}};oe(zi,"NextJsSharpError");var Hi=class extends pe{constructor(e){super({category:"FRAMEWORK_NEXTJS",code:2,message:ie` - Tried to access router mocks from "${e.importType}" but they were not created yet. You might be running code in an unsupported environment. - `}),this.data=e}};oe(Hi,"NextjsRouterMocksNotAvailable");var Gi=class extends pe{constructor(e){super({category:"DOCS-TOOLS",code:1,documentation:"https://github.com/storybookjs/storybook/issues/26606",message:ie` - There was a failure when generating detailed ArgTypes in ${e.language} for: - ${JSON.stringify(e.type,null,2)} - - Storybook will fall back to use a generic type description instead. - - This type is either not supported or it is a bug in the docgen generation in Storybook. - If you think this is a bug, please detail it as much as possible in the Github issue. - `}),this.data=e}};oe(Gi,"UnknownArgTypesError");var Vi=class extends pe{constructor(e){super({category:"ADDON_VITEST",code:1,message:ie` - Encountered an unsupported value "${e.value}" when setting the viewport ${e.dimension} dimension. - - The Storybook plugin only supports values in the following units: - - px, vh, vw, em, rem and %. - - You can either change the viewport for this story to use one of the supported units or skip the test by adding '!test' to the story's tags per https://storybook.js.org/docs/writing-stories/tags - `}),this.data=e}};oe(Vi,"UnsupportedViewportDimensionError");var Wi=Object.create,_r=Object.defineProperty,Yi=Object.getOwnPropertyDescriptor,Ki=Object.getOwnPropertyNames,Xi=Object.getPrototypeOf,Ji=Object.prototype.hasOwnProperty,se=(t,e)=>_r(t,"name",{value:e,configurable:!0}),Qi=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),Zi=(t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let o of Ki(e))!Ji.call(t,o)&&o!==r&&_r(t,o,{get:()=>e[o],enumerable:!(n=Yi(e,o))||n.enumerable});return t},es=(t,e,r)=>(r=t!=null?Wi(Xi(t)):{},Zi(e||!t||!t.__esModule?_r(r,"default",{value:t,enumerable:!0}):r,t)),ts=Qi(t=>{Object.defineProperty(t,"__esModule",{value:!0}),t.isEqual=function(){var e=Object.prototype.toString,r=Object.getPrototypeOf,n=Object.getOwnPropertySymbols?function(o){return Object.keys(o).concat(Object.getOwnPropertySymbols(o))}:Object.keys;return function(o,a){return se(function u(i,s,l){var h,f,g,E=e.call(i),C=e.call(s);if(i===s)return!0;if(i==null||s==null)return!1;if(l.indexOf(i)>-1&&l.indexOf(s)>-1)return!0;if(l.push(i,s),E!=C||(h=n(i),f=n(s),h.length!=f.length||h.some(function(v){return!u(i[v],s[v],l)})))return!1;switch(E.slice(8,-1)){case"Symbol":return i.valueOf()==s.valueOf();case"Date":case"Number":return+i==+s||+i!=+i&&+s!=+s;case"RegExp":case"Function":case"String":case"Boolean":return""+i==""+s;case"Set":case"Map":h=i.entries(),f=s.entries();do if(!u((g=h.next()).value,f.next().value,l))return!1;while(!g.done);return!0;case"ArrayBuffer":i=new Uint8Array(i),s=new Uint8Array(s);case"DataView":i=new Uint8Array(i.buffer),s=new Uint8Array(s.buffer);case"Float32Array":case"Float64Array":case"Int8Array":case"Int16Array":case"Int32Array":case"Uint8Array":case"Uint16Array":case"Uint32Array":case"Uint8ClampedArray":case"Arguments":case"Array":if(i.length!=s.length)return!1;for(g=0;g`${r} ${n}${o}`).replace(/([a-z])([A-Z])/g,(e,r,n)=>`${r} ${n}`).replace(/([a-z])([0-9])/gi,(e,r,n)=>`${r} ${n}`).replace(/([0-9])([a-z])/gi,(e,r,n)=>`${r} ${n}`).replace(/(\s|^)(\w)/g,(e,r,n)=>`${r}${n.toUpperCase()}`).replace(/ +/g," ").trim()}se(Go,"toStartCaseStr");var zo=es(ts(),1),Vo=se(t=>t.map(e=>typeof e<"u").filter(Boolean).length,"count"),rs=se((t,e)=>{let{exists:r,eq:n,neq:o,truthy:a}=t;if(Vo([r,n,o,a])>1)throw new Error(`Invalid conditional test ${JSON.stringify({exists:r,eq:n,neq:o})}`);if(typeof n<"u")return(0,zo.isEqual)(e,n);if(typeof o<"u")return!(0,zo.isEqual)(e,o);if(typeof r<"u"){let u=typeof e<"u";return r?u:!u}return typeof a>"u"||a?!!e:!e},"testValue"),Wo=se((t,e,r)=>{if(!t.if)return!0;let{arg:n,global:o}=t.if;if(Vo([n,o])!==1)throw new Error(`Invalid conditional value ${JSON.stringify({arg:n,global:o})}`);let a=n?e[n]:r[o];return rs(t.if,a)},"includeConditionalArg");function ns(t){let e,r={_tag:"Preview",input:t,get composed(){if(e)return e;let{addons:n,...o}=t;return e=ut(Xe([...n??[],o])),e},meta(n){return Yo(n,this)}};return globalThis.globalProjectAnnotations=r.composed,r}se(ns,"__definePreview");function os(t){return t!=null&&typeof t=="object"&&"_tag"in t&&t?._tag==="Preview"}se(os,"isPreview");function as(t){return t!=null&&typeof t=="object"&&"_tag"in t&&t?._tag==="Meta"}se(as,"isMeta");function Yo(t,e){return{_tag:"Meta",input:t,preview:e,get composed(){throw new Error("Not implemented")},story(r){return Ko(r,this)}}}se(Yo,"defineMeta");function Ko(t,e){return{_tag:"Story",input:t,meta:e,get composed(){throw new Error("Not implemented")}}}se(Ko,"defineStory");function Ke(t){return t!=null&&typeof t=="object"&&"_tag"in t&&t?._tag==="Story"}se(Ke,"isStory");var Or=se(t=>t.toLowerCase().replace(/[ ’–—―′¿'`~!@#$%^&*()_|+\-=?;:'",.<>\{\}\[\]\\\/]/gi,"-").replace(/-+/g,"-").replace(/^-+/,"").replace(/-+$/,""),"sanitize"),Ho=se((t,e)=>{let r=Or(t);if(r==="")throw new Error(`Invalid ${e} '${t}', must include alphanumeric characters`);return r},"sanitizeSafe"),Xo=se((t,e)=>`${Ho(t,"kind")}${e?`--${Ho(e,"name")}`:""}`,"toId"),Jo=se(t=>Go(t),"storyNameFromExport");function Rr(t,e){return Array.isArray(e)?e.includes(t):t.match(e)}se(Rr,"matches");function at(t,{includeStories:e,excludeStories:r}){return t!=="__esModule"&&(!e||Rr(t,e))&&(!r||!Rr(t,r))}se(at,"isExportStory");var Ug=se((t,{rootSeparator:e,groupSeparator:r})=>{let[n,o]=t.split(e,2),a=(o||t).split(r).filter(u=>!!u);return{root:o?n:null,groups:a}},"parseKind"),Qo=se((...t)=>{let e=t.reduce((r,n)=>(n.startsWith("!")?r.delete(n.slice(1)):r.add(n),r),new Set);return Array.from(e)},"combineTags");var us=Object.create,Qr=Object.defineProperty,is=Object.getOwnPropertyDescriptor,ss=Object.getOwnPropertyNames,ls=Object.getPrototypeOf,cs=Object.prototype.hasOwnProperty,c=(t,e)=>Qr(t,"name",{value:e,configurable:!0}),zt=(t=>typeof be<"u"?be:typeof Proxy<"u"?new Proxy(t,{get:(e,r)=>(typeof be<"u"?be:e)[r]}):t)(function(t){if(typeof be<"u")return be.apply(this,arguments);throw Error('Dynamic require of "'+t+'" is not supported')}),he=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),ps=(t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let o of ss(e))!cs.call(t,o)&&o!==r&&Qr(t,o,{get:()=>e[o],enumerable:!(n=is(e,o))||n.enumerable});return t},ct=(t,e,r)=>(r=t!=null?us(ls(t)):{},ps(e||!t||!t.__esModule?Qr(r,"default",{value:t,enumerable:!0}):r,t)),fa=he((t,e)=>{(function(r){if(typeof t=="object"&&typeof e<"u")e.exports=r();else if(typeof define=="function"&&define.amd)define([],r);else{var n;typeof window<"u"||typeof window<"u"?n=window:typeof self<"u"?n=self:n=this,n.memoizerific=r()}})(function(){var r,n,o;return c(function a(u,i,s){function l(g,E){if(!i[g]){if(!u[g]){var C=typeof zt=="function"&&zt;if(!E&&C)return C(g,!0);if(h)return h(g,!0);var v=new Error("Cannot find module '"+g+"'");throw v.code="MODULE_NOT_FOUND",v}var b=i[g]={exports:{}};u[g][0].call(b.exports,function(S){var A=u[g][1][S];return l(A||S)},b,b.exports,a,u,i,s)}return i[g].exports}c(l,"s");for(var h=typeof zt=="function"&&zt,f=0;f=0)return this.lastItem=this.list[h],this.list[h].val},s.prototype.set=function(l,h){var f;return this.lastItem&&this.isEqual(this.lastItem.key,l)?(this.lastItem.val=h,this):(f=this.indexOf(l),f>=0?(this.lastItem=this.list[f],this.list[f].val=h,this):(this.lastItem={key:l,val:h},this.list.push(this.lastItem),this.size++,this))},s.prototype.delete=function(l){var h;if(this.lastItem&&this.isEqual(this.lastItem.key,l)&&(this.lastItem=void 0),h=this.indexOf(l),h>=0)return this.size--,this.list.splice(h,1)[0]},s.prototype.has=function(l){var h;return this.lastItem&&this.isEqual(this.lastItem.key,l)?!0:(h=this.indexOf(l),h>=0?(this.lastItem=this.list[h],!0):!1)},s.prototype.forEach=function(l,h){var f;for(f=0;f0&&(P[_]={cacheItem:S,arg:arguments[_]},R?l(C,P):C.push(P),C.length>g&&h(C.shift())),b.wasMemoized=R,b.numArgs=_+1,D},"memoizerific");return b.limit=g,b.wasMemoized=!1,b.cache=E,b.lru=C,b}};function l(g,E){var C=g.length,v=E.length,b,S,A;for(S=0;S=0&&(C=g[b],v=C.cacheItem.get(C.arg),!v||!v.size);b--)C.cacheItem.delete(C.arg)}c(h,"removeCachedResult");function f(g,E){return g===E||g!==g&&E!==E}c(f,"isEqual")},{"map-or-similar":1}]},{},[3])(3)})}),ma=he(t=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.encodeString=n;var e=Array.from({length:256},(o,a)=>"%"+((a<16?"0":"")+a.toString(16)).toUpperCase()),r=new Int8Array([0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,1,1,1,1,0,0,1,1,0,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,1,0]);function n(o){let a=o.length;if(a===0)return"";let u="",i=0,s=0;e:for(;s>6]+e[128|l&63];continue}if(l<55296||l>=57344){i=s+1,u+=e[224|l>>12]+e[128|l>>6&63]+e[128|l&63];continue}if(++s,s>=a)throw new Error("URI malformed");let h=o.charCodeAt(s)&1023;i=s+1,l=65536+((l&1023)<<10|h),u+=e[240|l>>18]+e[128|l>>12&63]+e[128|l>>6&63]+e[128|l&63]}return i===0?o:i{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.defaultOptions=t.defaultShouldSerializeObject=t.defaultValueSerializer=void 0;var e=ma(),r=c(a=>{switch(typeof a){case"string":return(0,e.encodeString)(a);case"bigint":case"boolean":return""+a;case"number":if(Number.isFinite(a))return a<1e21?""+a:(0,e.encodeString)(""+a);break}return a instanceof Date?(0,e.encodeString)(a.toISOString()):""},"defaultValueSerializer");t.defaultValueSerializer=r;var n=c(a=>a instanceof Date,"defaultShouldSerializeObject");t.defaultShouldSerializeObject=n;var o=c(a=>a,"identityFunc");t.defaultOptions={nesting:!0,nestingSyntax:"dot",arrayRepeat:!1,arrayRepeatSyntax:"repeat",delimiter:38,valueDeserializer:o,valueSerializer:t.defaultValueSerializer,keyDeserializer:o,shouldSerializeObject:t.defaultShouldSerializeObject}}),ga=he(t=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getDeepObject=o,t.stringifyObject=h;var e=Zr(),r=ma();function n(f){return f==="__proto__"||f==="constructor"||f==="prototype"}c(n,"isPrototypeKey");function o(f,g,E,C,v){if(n(g))return f;let b=f[g];return typeof b=="object"&&b!==null?b:!C&&(v||typeof E=="number"||typeof E=="string"&&E*0===0&&E.indexOf(".")===-1)?f[g]=[]:f[g]={}}c(o,"getDeepObject");var a=20,u="[]",i="[",s="]",l=".";function h(f,g,E=0,C,v){let{nestingSyntax:b=e.defaultOptions.nestingSyntax,arrayRepeat:S=e.defaultOptions.arrayRepeat,arrayRepeatSyntax:A=e.defaultOptions.arrayRepeatSyntax,nesting:D=e.defaultOptions.nesting,delimiter:_=e.defaultOptions.delimiter,valueSerializer:P=e.defaultOptions.valueSerializer,shouldSerializeObject:R=e.defaultOptions.shouldSerializeObject}=g,T=typeof _=="number"?String.fromCharCode(_):_,O=v===!0&&S,B=b==="dot"||b==="js"&&!v;if(E>a)return"";let j="",M=!0,L=!1;for(let q in f){let p=f[q],d;C?(d=C,O?A==="bracket"&&(d+=u):B?(d+=l,d+=q):(d+=i,d+=q,d+=s)):d=q,M||(j+=T),typeof p=="object"&&p!==null&&!R(p)?(L=p.pop!==void 0,(D||S&&L)&&(j+=h(p,g,E+1,d,L))):(j+=(0,r.encodeString)(d),j+="=",j+=P(p,q)),M&&(M=!1)}return j}c(h,"stringifyObject")}),ds=he((t,e)=>{"use strict";var r=12,n=0,o=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,4,4,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,6,7,7,7,7,7,7,7,7,7,7,7,7,8,7,7,10,9,9,9,11,4,4,4,4,4,4,4,4,4,4,4,0,0,0,0,0,0,0,0,0,0,0,0,12,0,0,0,0,24,36,48,60,72,84,96,0,12,12,12,0,0,0,0,0,0,0,0,0,0,0,24,0,0,0,0,0,0,0,0,0,24,24,24,0,0,0,0,0,0,0,0,0,24,24,0,0,0,0,0,0,0,0,0,0,48,48,48,0,0,0,0,0,0,0,0,0,0,48,48,0,0,0,0,0,0,0,0,0,48,0,0,0,0,0,0,0,0,0,0,127,63,63,63,0,31,15,15,15,7,7,7];function a(s){var l=s.indexOf("%");if(l===-1)return s;for(var h=s.length,f="",g=0,E=0,C=l,v=r;l>-1&&l>10),56320+(E&1023)),E=0,g=l+3,l=C=s.indexOf("%",g);else{if(v===n)return null;if(l+=3,l{"use strict";var e=t&&t.__importDefault||function(f){return f&&f.__esModule?f:{default:f}};Object.defineProperty(t,"__esModule",{value:!0}),t.numberValueDeserializer=t.numberKeyDeserializer=void 0,t.parse=h;var r=ga(),n=Zr(),o=e(ds()),a=c(f=>{let g=Number(f);return Number.isNaN(g)?f:g},"numberKeyDeserializer");t.numberKeyDeserializer=a;var u=c(f=>{let g=Number(f);return Number.isNaN(g)?f:g},"numberValueDeserializer");t.numberValueDeserializer=u;var i=/\+/g,s=c(function(){},"Empty");s.prototype=Object.create(null);function l(f,g,E,C,v){let b=f.substring(g,E);return C&&(b=b.replace(i," ")),v&&(b=(0,o.default)(b)||b),b}c(l,"computeKeySlice");function h(f,g){let{valueDeserializer:E=n.defaultOptions.valueDeserializer,keyDeserializer:C=n.defaultOptions.keyDeserializer,arrayRepeatSyntax:v=n.defaultOptions.arrayRepeatSyntax,nesting:b=n.defaultOptions.nesting,arrayRepeat:S=n.defaultOptions.arrayRepeat,nestingSyntax:A=n.defaultOptions.nestingSyntax,delimiter:D=n.defaultOptions.delimiter}=g??{},_=typeof D=="string"?D.charCodeAt(0):D,P=A==="js",R=new s;if(typeof f!="string")return R;let T=f.length,O="",B=-1,j=-1,M=-1,L=R,q,p="",d="",y=!1,x=!1,w=!1,F=!1,I=!1,N=!1,k=!1,Z=0,te=-1,J=-1,ue=-1;for(let G=0;GB,k||(j=G),M!==j-1&&(d=l(f,M+1,te>-1?te:j,w,y),p=C(d),q!==void 0&&(L=(0,r.getDeepObject)(L,q,p,P&&I,P&&N))),k||p!==""){k&&(O=f.slice(j+1,G),F&&(O=O.replace(i," ")),x&&(O=(0,o.default)(O)||O));let ce=E(O,p);if(S){let ve=L[p];ve===void 0?te>-1?L[p]=[ce]:L[p]=ce:ve.pop?ve.push(ce):L[p]=[ve,ce]}else L[p]=ce}O="",B=G,j=G,y=!1,x=!1,w=!1,F=!1,I=!1,N=!1,te=-1,M=G,L=R,q=void 0,p=""}else Z===93?(S&&v==="bracket"&&ue===91&&(te=J),b&&(A==="index"||P)&&j<=B&&(M!==J&&(d=l(f,M+1,G,w,y),p=C(d),q!==void 0&&(L=(0,r.getDeepObject)(L,q,p,void 0,P)),q=p,w=!1,y=!1),M=G,N=!0,I=!1)):Z===46?b&&(A==="dot"||P)&&j<=B&&(M!==J&&(d=l(f,M+1,G,w,y),p=C(d),q!==void 0&&(L=(0,r.getDeepObject)(L,q,p,P)),q=p,w=!1,y=!1),I=!0,N=!1,M=G):Z===91?b&&(A==="index"||P)&&j<=B&&(M!==J&&(d=l(f,M+1,G,w,y),p=C(d),P&&q!==void 0&&(L=(0,r.getDeepObject)(L,q,p,P)),q=p,w=!1,y=!1,I=!1,N=!0),M=G):Z===61?j<=B?j=G:x=!0:Z===43?j>B?F=!0:w=!0:Z===37&&(j>B?x=!0:y=!0);J=G,ue=Z}return R}c(h,"parse")}),fs=he(t=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.stringify=r;var e=ga();function r(n,o){if(n===null||typeof n!="object")return"";let a=o??{};return(0,e.stringifyObject)(n,a)}c(r,"stringify")}),en=he(t=>{"use strict";var e=t&&t.__createBinding||(Object.create?function(a,u,i,s){s===void 0&&(s=i);var l=Object.getOwnPropertyDescriptor(u,i);(!l||("get"in l?!u.__esModule:l.writable||l.configurable))&&(l={enumerable:!0,get:c(function(){return u[i]},"get")}),Object.defineProperty(a,s,l)}:function(a,u,i,s){s===void 0&&(s=i),a[s]=u[i]}),r=t&&t.__exportStar||function(a,u){for(var i in a)i!=="default"&&!Object.prototype.hasOwnProperty.call(u,i)&&e(u,a,i)};Object.defineProperty(t,"__esModule",{value:!0}),t.stringify=t.parse=void 0;var n=hs();Object.defineProperty(t,"parse",{enumerable:!0,get:c(function(){return n.parse},"get")});var o=fs();Object.defineProperty(t,"stringify",{enumerable:!0,get:c(function(){return o.stringify},"get")}),r(Zr(),t)}),ya=he((t,e)=>{e.exports={Aacute:"\xC1",aacute:"\xE1",Abreve:"\u0102",abreve:"\u0103",ac:"\u223E",acd:"\u223F",acE:"\u223E\u0333",Acirc:"\xC2",acirc:"\xE2",acute:"\xB4",Acy:"\u0410",acy:"\u0430",AElig:"\xC6",aelig:"\xE6",af:"\u2061",Afr:"\u{1D504}",afr:"\u{1D51E}",Agrave:"\xC0",agrave:"\xE0",alefsym:"\u2135",aleph:"\u2135",Alpha:"\u0391",alpha:"\u03B1",Amacr:"\u0100",amacr:"\u0101",amalg:"\u2A3F",amp:"&",AMP:"&",andand:"\u2A55",And:"\u2A53",and:"\u2227",andd:"\u2A5C",andslope:"\u2A58",andv:"\u2A5A",ang:"\u2220",ange:"\u29A4",angle:"\u2220",angmsdaa:"\u29A8",angmsdab:"\u29A9",angmsdac:"\u29AA",angmsdad:"\u29AB",angmsdae:"\u29AC",angmsdaf:"\u29AD",angmsdag:"\u29AE",angmsdah:"\u29AF",angmsd:"\u2221",angrt:"\u221F",angrtvb:"\u22BE",angrtvbd:"\u299D",angsph:"\u2222",angst:"\xC5",angzarr:"\u237C",Aogon:"\u0104",aogon:"\u0105",Aopf:"\u{1D538}",aopf:"\u{1D552}",apacir:"\u2A6F",ap:"\u2248",apE:"\u2A70",ape:"\u224A",apid:"\u224B",apos:"'",ApplyFunction:"\u2061",approx:"\u2248",approxeq:"\u224A",Aring:"\xC5",aring:"\xE5",Ascr:"\u{1D49C}",ascr:"\u{1D4B6}",Assign:"\u2254",ast:"*",asymp:"\u2248",asympeq:"\u224D",Atilde:"\xC3",atilde:"\xE3",Auml:"\xC4",auml:"\xE4",awconint:"\u2233",awint:"\u2A11",backcong:"\u224C",backepsilon:"\u03F6",backprime:"\u2035",backsim:"\u223D",backsimeq:"\u22CD",Backslash:"\u2216",Barv:"\u2AE7",barvee:"\u22BD",barwed:"\u2305",Barwed:"\u2306",barwedge:"\u2305",bbrk:"\u23B5",bbrktbrk:"\u23B6",bcong:"\u224C",Bcy:"\u0411",bcy:"\u0431",bdquo:"\u201E",becaus:"\u2235",because:"\u2235",Because:"\u2235",bemptyv:"\u29B0",bepsi:"\u03F6",bernou:"\u212C",Bernoullis:"\u212C",Beta:"\u0392",beta:"\u03B2",beth:"\u2136",between:"\u226C",Bfr:"\u{1D505}",bfr:"\u{1D51F}",bigcap:"\u22C2",bigcirc:"\u25EF",bigcup:"\u22C3",bigodot:"\u2A00",bigoplus:"\u2A01",bigotimes:"\u2A02",bigsqcup:"\u2A06",bigstar:"\u2605",bigtriangledown:"\u25BD",bigtriangleup:"\u25B3",biguplus:"\u2A04",bigvee:"\u22C1",bigwedge:"\u22C0",bkarow:"\u290D",blacklozenge:"\u29EB",blacksquare:"\u25AA",blacktriangle:"\u25B4",blacktriangledown:"\u25BE",blacktriangleleft:"\u25C2",blacktriangleright:"\u25B8",blank:"\u2423",blk12:"\u2592",blk14:"\u2591",blk34:"\u2593",block:"\u2588",bne:"=\u20E5",bnequiv:"\u2261\u20E5",bNot:"\u2AED",bnot:"\u2310",Bopf:"\u{1D539}",bopf:"\u{1D553}",bot:"\u22A5",bottom:"\u22A5",bowtie:"\u22C8",boxbox:"\u29C9",boxdl:"\u2510",boxdL:"\u2555",boxDl:"\u2556",boxDL:"\u2557",boxdr:"\u250C",boxdR:"\u2552",boxDr:"\u2553",boxDR:"\u2554",boxh:"\u2500",boxH:"\u2550",boxhd:"\u252C",boxHd:"\u2564",boxhD:"\u2565",boxHD:"\u2566",boxhu:"\u2534",boxHu:"\u2567",boxhU:"\u2568",boxHU:"\u2569",boxminus:"\u229F",boxplus:"\u229E",boxtimes:"\u22A0",boxul:"\u2518",boxuL:"\u255B",boxUl:"\u255C",boxUL:"\u255D",boxur:"\u2514",boxuR:"\u2558",boxUr:"\u2559",boxUR:"\u255A",boxv:"\u2502",boxV:"\u2551",boxvh:"\u253C",boxvH:"\u256A",boxVh:"\u256B",boxVH:"\u256C",boxvl:"\u2524",boxvL:"\u2561",boxVl:"\u2562",boxVL:"\u2563",boxvr:"\u251C",boxvR:"\u255E",boxVr:"\u255F",boxVR:"\u2560",bprime:"\u2035",breve:"\u02D8",Breve:"\u02D8",brvbar:"\xA6",bscr:"\u{1D4B7}",Bscr:"\u212C",bsemi:"\u204F",bsim:"\u223D",bsime:"\u22CD",bsolb:"\u29C5",bsol:"\\",bsolhsub:"\u27C8",bull:"\u2022",bullet:"\u2022",bump:"\u224E",bumpE:"\u2AAE",bumpe:"\u224F",Bumpeq:"\u224E",bumpeq:"\u224F",Cacute:"\u0106",cacute:"\u0107",capand:"\u2A44",capbrcup:"\u2A49",capcap:"\u2A4B",cap:"\u2229",Cap:"\u22D2",capcup:"\u2A47",capdot:"\u2A40",CapitalDifferentialD:"\u2145",caps:"\u2229\uFE00",caret:"\u2041",caron:"\u02C7",Cayleys:"\u212D",ccaps:"\u2A4D",Ccaron:"\u010C",ccaron:"\u010D",Ccedil:"\xC7",ccedil:"\xE7",Ccirc:"\u0108",ccirc:"\u0109",Cconint:"\u2230",ccups:"\u2A4C",ccupssm:"\u2A50",Cdot:"\u010A",cdot:"\u010B",cedil:"\xB8",Cedilla:"\xB8",cemptyv:"\u29B2",cent:"\xA2",centerdot:"\xB7",CenterDot:"\xB7",cfr:"\u{1D520}",Cfr:"\u212D",CHcy:"\u0427",chcy:"\u0447",check:"\u2713",checkmark:"\u2713",Chi:"\u03A7",chi:"\u03C7",circ:"\u02C6",circeq:"\u2257",circlearrowleft:"\u21BA",circlearrowright:"\u21BB",circledast:"\u229B",circledcirc:"\u229A",circleddash:"\u229D",CircleDot:"\u2299",circledR:"\xAE",circledS:"\u24C8",CircleMinus:"\u2296",CirclePlus:"\u2295",CircleTimes:"\u2297",cir:"\u25CB",cirE:"\u29C3",cire:"\u2257",cirfnint:"\u2A10",cirmid:"\u2AEF",cirscir:"\u29C2",ClockwiseContourIntegral:"\u2232",CloseCurlyDoubleQuote:"\u201D",CloseCurlyQuote:"\u2019",clubs:"\u2663",clubsuit:"\u2663",colon:":",Colon:"\u2237",Colone:"\u2A74",colone:"\u2254",coloneq:"\u2254",comma:",",commat:"@",comp:"\u2201",compfn:"\u2218",complement:"\u2201",complexes:"\u2102",cong:"\u2245",congdot:"\u2A6D",Congruent:"\u2261",conint:"\u222E",Conint:"\u222F",ContourIntegral:"\u222E",copf:"\u{1D554}",Copf:"\u2102",coprod:"\u2210",Coproduct:"\u2210",copy:"\xA9",COPY:"\xA9",copysr:"\u2117",CounterClockwiseContourIntegral:"\u2233",crarr:"\u21B5",cross:"\u2717",Cross:"\u2A2F",Cscr:"\u{1D49E}",cscr:"\u{1D4B8}",csub:"\u2ACF",csube:"\u2AD1",csup:"\u2AD0",csupe:"\u2AD2",ctdot:"\u22EF",cudarrl:"\u2938",cudarrr:"\u2935",cuepr:"\u22DE",cuesc:"\u22DF",cularr:"\u21B6",cularrp:"\u293D",cupbrcap:"\u2A48",cupcap:"\u2A46",CupCap:"\u224D",cup:"\u222A",Cup:"\u22D3",cupcup:"\u2A4A",cupdot:"\u228D",cupor:"\u2A45",cups:"\u222A\uFE00",curarr:"\u21B7",curarrm:"\u293C",curlyeqprec:"\u22DE",curlyeqsucc:"\u22DF",curlyvee:"\u22CE",curlywedge:"\u22CF",curren:"\xA4",curvearrowleft:"\u21B6",curvearrowright:"\u21B7",cuvee:"\u22CE",cuwed:"\u22CF",cwconint:"\u2232",cwint:"\u2231",cylcty:"\u232D",dagger:"\u2020",Dagger:"\u2021",daleth:"\u2138",darr:"\u2193",Darr:"\u21A1",dArr:"\u21D3",dash:"\u2010",Dashv:"\u2AE4",dashv:"\u22A3",dbkarow:"\u290F",dblac:"\u02DD",Dcaron:"\u010E",dcaron:"\u010F",Dcy:"\u0414",dcy:"\u0434",ddagger:"\u2021",ddarr:"\u21CA",DD:"\u2145",dd:"\u2146",DDotrahd:"\u2911",ddotseq:"\u2A77",deg:"\xB0",Del:"\u2207",Delta:"\u0394",delta:"\u03B4",demptyv:"\u29B1",dfisht:"\u297F",Dfr:"\u{1D507}",dfr:"\u{1D521}",dHar:"\u2965",dharl:"\u21C3",dharr:"\u21C2",DiacriticalAcute:"\xB4",DiacriticalDot:"\u02D9",DiacriticalDoubleAcute:"\u02DD",DiacriticalGrave:"`",DiacriticalTilde:"\u02DC",diam:"\u22C4",diamond:"\u22C4",Diamond:"\u22C4",diamondsuit:"\u2666",diams:"\u2666",die:"\xA8",DifferentialD:"\u2146",digamma:"\u03DD",disin:"\u22F2",div:"\xF7",divide:"\xF7",divideontimes:"\u22C7",divonx:"\u22C7",DJcy:"\u0402",djcy:"\u0452",dlcorn:"\u231E",dlcrop:"\u230D",dollar:"$",Dopf:"\u{1D53B}",dopf:"\u{1D555}",Dot:"\xA8",dot:"\u02D9",DotDot:"\u20DC",doteq:"\u2250",doteqdot:"\u2251",DotEqual:"\u2250",dotminus:"\u2238",dotplus:"\u2214",dotsquare:"\u22A1",doublebarwedge:"\u2306",DoubleContourIntegral:"\u222F",DoubleDot:"\xA8",DoubleDownArrow:"\u21D3",DoubleLeftArrow:"\u21D0",DoubleLeftRightArrow:"\u21D4",DoubleLeftTee:"\u2AE4",DoubleLongLeftArrow:"\u27F8",DoubleLongLeftRightArrow:"\u27FA",DoubleLongRightArrow:"\u27F9",DoubleRightArrow:"\u21D2",DoubleRightTee:"\u22A8",DoubleUpArrow:"\u21D1",DoubleUpDownArrow:"\u21D5",DoubleVerticalBar:"\u2225",DownArrowBar:"\u2913",downarrow:"\u2193",DownArrow:"\u2193",Downarrow:"\u21D3",DownArrowUpArrow:"\u21F5",DownBreve:"\u0311",downdownarrows:"\u21CA",downharpoonleft:"\u21C3",downharpoonright:"\u21C2",DownLeftRightVector:"\u2950",DownLeftTeeVector:"\u295E",DownLeftVectorBar:"\u2956",DownLeftVector:"\u21BD",DownRightTeeVector:"\u295F",DownRightVectorBar:"\u2957",DownRightVector:"\u21C1",DownTeeArrow:"\u21A7",DownTee:"\u22A4",drbkarow:"\u2910",drcorn:"\u231F",drcrop:"\u230C",Dscr:"\u{1D49F}",dscr:"\u{1D4B9}",DScy:"\u0405",dscy:"\u0455",dsol:"\u29F6",Dstrok:"\u0110",dstrok:"\u0111",dtdot:"\u22F1",dtri:"\u25BF",dtrif:"\u25BE",duarr:"\u21F5",duhar:"\u296F",dwangle:"\u29A6",DZcy:"\u040F",dzcy:"\u045F",dzigrarr:"\u27FF",Eacute:"\xC9",eacute:"\xE9",easter:"\u2A6E",Ecaron:"\u011A",ecaron:"\u011B",Ecirc:"\xCA",ecirc:"\xEA",ecir:"\u2256",ecolon:"\u2255",Ecy:"\u042D",ecy:"\u044D",eDDot:"\u2A77",Edot:"\u0116",edot:"\u0117",eDot:"\u2251",ee:"\u2147",efDot:"\u2252",Efr:"\u{1D508}",efr:"\u{1D522}",eg:"\u2A9A",Egrave:"\xC8",egrave:"\xE8",egs:"\u2A96",egsdot:"\u2A98",el:"\u2A99",Element:"\u2208",elinters:"\u23E7",ell:"\u2113",els:"\u2A95",elsdot:"\u2A97",Emacr:"\u0112",emacr:"\u0113",empty:"\u2205",emptyset:"\u2205",EmptySmallSquare:"\u25FB",emptyv:"\u2205",EmptyVerySmallSquare:"\u25AB",emsp13:"\u2004",emsp14:"\u2005",emsp:"\u2003",ENG:"\u014A",eng:"\u014B",ensp:"\u2002",Eogon:"\u0118",eogon:"\u0119",Eopf:"\u{1D53C}",eopf:"\u{1D556}",epar:"\u22D5",eparsl:"\u29E3",eplus:"\u2A71",epsi:"\u03B5",Epsilon:"\u0395",epsilon:"\u03B5",epsiv:"\u03F5",eqcirc:"\u2256",eqcolon:"\u2255",eqsim:"\u2242",eqslantgtr:"\u2A96",eqslantless:"\u2A95",Equal:"\u2A75",equals:"=",EqualTilde:"\u2242",equest:"\u225F",Equilibrium:"\u21CC",equiv:"\u2261",equivDD:"\u2A78",eqvparsl:"\u29E5",erarr:"\u2971",erDot:"\u2253",escr:"\u212F",Escr:"\u2130",esdot:"\u2250",Esim:"\u2A73",esim:"\u2242",Eta:"\u0397",eta:"\u03B7",ETH:"\xD0",eth:"\xF0",Euml:"\xCB",euml:"\xEB",euro:"\u20AC",excl:"!",exist:"\u2203",Exists:"\u2203",expectation:"\u2130",exponentiale:"\u2147",ExponentialE:"\u2147",fallingdotseq:"\u2252",Fcy:"\u0424",fcy:"\u0444",female:"\u2640",ffilig:"\uFB03",fflig:"\uFB00",ffllig:"\uFB04",Ffr:"\u{1D509}",ffr:"\u{1D523}",filig:"\uFB01",FilledSmallSquare:"\u25FC",FilledVerySmallSquare:"\u25AA",fjlig:"fj",flat:"\u266D",fllig:"\uFB02",fltns:"\u25B1",fnof:"\u0192",Fopf:"\u{1D53D}",fopf:"\u{1D557}",forall:"\u2200",ForAll:"\u2200",fork:"\u22D4",forkv:"\u2AD9",Fouriertrf:"\u2131",fpartint:"\u2A0D",frac12:"\xBD",frac13:"\u2153",frac14:"\xBC",frac15:"\u2155",frac16:"\u2159",frac18:"\u215B",frac23:"\u2154",frac25:"\u2156",frac34:"\xBE",frac35:"\u2157",frac38:"\u215C",frac45:"\u2158",frac56:"\u215A",frac58:"\u215D",frac78:"\u215E",frasl:"\u2044",frown:"\u2322",fscr:"\u{1D4BB}",Fscr:"\u2131",gacute:"\u01F5",Gamma:"\u0393",gamma:"\u03B3",Gammad:"\u03DC",gammad:"\u03DD",gap:"\u2A86",Gbreve:"\u011E",gbreve:"\u011F",Gcedil:"\u0122",Gcirc:"\u011C",gcirc:"\u011D",Gcy:"\u0413",gcy:"\u0433",Gdot:"\u0120",gdot:"\u0121",ge:"\u2265",gE:"\u2267",gEl:"\u2A8C",gel:"\u22DB",geq:"\u2265",geqq:"\u2267",geqslant:"\u2A7E",gescc:"\u2AA9",ges:"\u2A7E",gesdot:"\u2A80",gesdoto:"\u2A82",gesdotol:"\u2A84",gesl:"\u22DB\uFE00",gesles:"\u2A94",Gfr:"\u{1D50A}",gfr:"\u{1D524}",gg:"\u226B",Gg:"\u22D9",ggg:"\u22D9",gimel:"\u2137",GJcy:"\u0403",gjcy:"\u0453",gla:"\u2AA5",gl:"\u2277",glE:"\u2A92",glj:"\u2AA4",gnap:"\u2A8A",gnapprox:"\u2A8A",gne:"\u2A88",gnE:"\u2269",gneq:"\u2A88",gneqq:"\u2269",gnsim:"\u22E7",Gopf:"\u{1D53E}",gopf:"\u{1D558}",grave:"`",GreaterEqual:"\u2265",GreaterEqualLess:"\u22DB",GreaterFullEqual:"\u2267",GreaterGreater:"\u2AA2",GreaterLess:"\u2277",GreaterSlantEqual:"\u2A7E",GreaterTilde:"\u2273",Gscr:"\u{1D4A2}",gscr:"\u210A",gsim:"\u2273",gsime:"\u2A8E",gsiml:"\u2A90",gtcc:"\u2AA7",gtcir:"\u2A7A",gt:">",GT:">",Gt:"\u226B",gtdot:"\u22D7",gtlPar:"\u2995",gtquest:"\u2A7C",gtrapprox:"\u2A86",gtrarr:"\u2978",gtrdot:"\u22D7",gtreqless:"\u22DB",gtreqqless:"\u2A8C",gtrless:"\u2277",gtrsim:"\u2273",gvertneqq:"\u2269\uFE00",gvnE:"\u2269\uFE00",Hacek:"\u02C7",hairsp:"\u200A",half:"\xBD",hamilt:"\u210B",HARDcy:"\u042A",hardcy:"\u044A",harrcir:"\u2948",harr:"\u2194",hArr:"\u21D4",harrw:"\u21AD",Hat:"^",hbar:"\u210F",Hcirc:"\u0124",hcirc:"\u0125",hearts:"\u2665",heartsuit:"\u2665",hellip:"\u2026",hercon:"\u22B9",hfr:"\u{1D525}",Hfr:"\u210C",HilbertSpace:"\u210B",hksearow:"\u2925",hkswarow:"\u2926",hoarr:"\u21FF",homtht:"\u223B",hookleftarrow:"\u21A9",hookrightarrow:"\u21AA",hopf:"\u{1D559}",Hopf:"\u210D",horbar:"\u2015",HorizontalLine:"\u2500",hscr:"\u{1D4BD}",Hscr:"\u210B",hslash:"\u210F",Hstrok:"\u0126",hstrok:"\u0127",HumpDownHump:"\u224E",HumpEqual:"\u224F",hybull:"\u2043",hyphen:"\u2010",Iacute:"\xCD",iacute:"\xED",ic:"\u2063",Icirc:"\xCE",icirc:"\xEE",Icy:"\u0418",icy:"\u0438",Idot:"\u0130",IEcy:"\u0415",iecy:"\u0435",iexcl:"\xA1",iff:"\u21D4",ifr:"\u{1D526}",Ifr:"\u2111",Igrave:"\xCC",igrave:"\xEC",ii:"\u2148",iiiint:"\u2A0C",iiint:"\u222D",iinfin:"\u29DC",iiota:"\u2129",IJlig:"\u0132",ijlig:"\u0133",Imacr:"\u012A",imacr:"\u012B",image:"\u2111",ImaginaryI:"\u2148",imagline:"\u2110",imagpart:"\u2111",imath:"\u0131",Im:"\u2111",imof:"\u22B7",imped:"\u01B5",Implies:"\u21D2",incare:"\u2105",in:"\u2208",infin:"\u221E",infintie:"\u29DD",inodot:"\u0131",intcal:"\u22BA",int:"\u222B",Int:"\u222C",integers:"\u2124",Integral:"\u222B",intercal:"\u22BA",Intersection:"\u22C2",intlarhk:"\u2A17",intprod:"\u2A3C",InvisibleComma:"\u2063",InvisibleTimes:"\u2062",IOcy:"\u0401",iocy:"\u0451",Iogon:"\u012E",iogon:"\u012F",Iopf:"\u{1D540}",iopf:"\u{1D55A}",Iota:"\u0399",iota:"\u03B9",iprod:"\u2A3C",iquest:"\xBF",iscr:"\u{1D4BE}",Iscr:"\u2110",isin:"\u2208",isindot:"\u22F5",isinE:"\u22F9",isins:"\u22F4",isinsv:"\u22F3",isinv:"\u2208",it:"\u2062",Itilde:"\u0128",itilde:"\u0129",Iukcy:"\u0406",iukcy:"\u0456",Iuml:"\xCF",iuml:"\xEF",Jcirc:"\u0134",jcirc:"\u0135",Jcy:"\u0419",jcy:"\u0439",Jfr:"\u{1D50D}",jfr:"\u{1D527}",jmath:"\u0237",Jopf:"\u{1D541}",jopf:"\u{1D55B}",Jscr:"\u{1D4A5}",jscr:"\u{1D4BF}",Jsercy:"\u0408",jsercy:"\u0458",Jukcy:"\u0404",jukcy:"\u0454",Kappa:"\u039A",kappa:"\u03BA",kappav:"\u03F0",Kcedil:"\u0136",kcedil:"\u0137",Kcy:"\u041A",kcy:"\u043A",Kfr:"\u{1D50E}",kfr:"\u{1D528}",kgreen:"\u0138",KHcy:"\u0425",khcy:"\u0445",KJcy:"\u040C",kjcy:"\u045C",Kopf:"\u{1D542}",kopf:"\u{1D55C}",Kscr:"\u{1D4A6}",kscr:"\u{1D4C0}",lAarr:"\u21DA",Lacute:"\u0139",lacute:"\u013A",laemptyv:"\u29B4",lagran:"\u2112",Lambda:"\u039B",lambda:"\u03BB",lang:"\u27E8",Lang:"\u27EA",langd:"\u2991",langle:"\u27E8",lap:"\u2A85",Laplacetrf:"\u2112",laquo:"\xAB",larrb:"\u21E4",larrbfs:"\u291F",larr:"\u2190",Larr:"\u219E",lArr:"\u21D0",larrfs:"\u291D",larrhk:"\u21A9",larrlp:"\u21AB",larrpl:"\u2939",larrsim:"\u2973",larrtl:"\u21A2",latail:"\u2919",lAtail:"\u291B",lat:"\u2AAB",late:"\u2AAD",lates:"\u2AAD\uFE00",lbarr:"\u290C",lBarr:"\u290E",lbbrk:"\u2772",lbrace:"{",lbrack:"[",lbrke:"\u298B",lbrksld:"\u298F",lbrkslu:"\u298D",Lcaron:"\u013D",lcaron:"\u013E",Lcedil:"\u013B",lcedil:"\u013C",lceil:"\u2308",lcub:"{",Lcy:"\u041B",lcy:"\u043B",ldca:"\u2936",ldquo:"\u201C",ldquor:"\u201E",ldrdhar:"\u2967",ldrushar:"\u294B",ldsh:"\u21B2",le:"\u2264",lE:"\u2266",LeftAngleBracket:"\u27E8",LeftArrowBar:"\u21E4",leftarrow:"\u2190",LeftArrow:"\u2190",Leftarrow:"\u21D0",LeftArrowRightArrow:"\u21C6",leftarrowtail:"\u21A2",LeftCeiling:"\u2308",LeftDoubleBracket:"\u27E6",LeftDownTeeVector:"\u2961",LeftDownVectorBar:"\u2959",LeftDownVector:"\u21C3",LeftFloor:"\u230A",leftharpoondown:"\u21BD",leftharpoonup:"\u21BC",leftleftarrows:"\u21C7",leftrightarrow:"\u2194",LeftRightArrow:"\u2194",Leftrightarrow:"\u21D4",leftrightarrows:"\u21C6",leftrightharpoons:"\u21CB",leftrightsquigarrow:"\u21AD",LeftRightVector:"\u294E",LeftTeeArrow:"\u21A4",LeftTee:"\u22A3",LeftTeeVector:"\u295A",leftthreetimes:"\u22CB",LeftTriangleBar:"\u29CF",LeftTriangle:"\u22B2",LeftTriangleEqual:"\u22B4",LeftUpDownVector:"\u2951",LeftUpTeeVector:"\u2960",LeftUpVectorBar:"\u2958",LeftUpVector:"\u21BF",LeftVectorBar:"\u2952",LeftVector:"\u21BC",lEg:"\u2A8B",leg:"\u22DA",leq:"\u2264",leqq:"\u2266",leqslant:"\u2A7D",lescc:"\u2AA8",les:"\u2A7D",lesdot:"\u2A7F",lesdoto:"\u2A81",lesdotor:"\u2A83",lesg:"\u22DA\uFE00",lesges:"\u2A93",lessapprox:"\u2A85",lessdot:"\u22D6",lesseqgtr:"\u22DA",lesseqqgtr:"\u2A8B",LessEqualGreater:"\u22DA",LessFullEqual:"\u2266",LessGreater:"\u2276",lessgtr:"\u2276",LessLess:"\u2AA1",lesssim:"\u2272",LessSlantEqual:"\u2A7D",LessTilde:"\u2272",lfisht:"\u297C",lfloor:"\u230A",Lfr:"\u{1D50F}",lfr:"\u{1D529}",lg:"\u2276",lgE:"\u2A91",lHar:"\u2962",lhard:"\u21BD",lharu:"\u21BC",lharul:"\u296A",lhblk:"\u2584",LJcy:"\u0409",ljcy:"\u0459",llarr:"\u21C7",ll:"\u226A",Ll:"\u22D8",llcorner:"\u231E",Lleftarrow:"\u21DA",llhard:"\u296B",lltri:"\u25FA",Lmidot:"\u013F",lmidot:"\u0140",lmoustache:"\u23B0",lmoust:"\u23B0",lnap:"\u2A89",lnapprox:"\u2A89",lne:"\u2A87",lnE:"\u2268",lneq:"\u2A87",lneqq:"\u2268",lnsim:"\u22E6",loang:"\u27EC",loarr:"\u21FD",lobrk:"\u27E6",longleftarrow:"\u27F5",LongLeftArrow:"\u27F5",Longleftarrow:"\u27F8",longleftrightarrow:"\u27F7",LongLeftRightArrow:"\u27F7",Longleftrightarrow:"\u27FA",longmapsto:"\u27FC",longrightarrow:"\u27F6",LongRightArrow:"\u27F6",Longrightarrow:"\u27F9",looparrowleft:"\u21AB",looparrowright:"\u21AC",lopar:"\u2985",Lopf:"\u{1D543}",lopf:"\u{1D55D}",loplus:"\u2A2D",lotimes:"\u2A34",lowast:"\u2217",lowbar:"_",LowerLeftArrow:"\u2199",LowerRightArrow:"\u2198",loz:"\u25CA",lozenge:"\u25CA",lozf:"\u29EB",lpar:"(",lparlt:"\u2993",lrarr:"\u21C6",lrcorner:"\u231F",lrhar:"\u21CB",lrhard:"\u296D",lrm:"\u200E",lrtri:"\u22BF",lsaquo:"\u2039",lscr:"\u{1D4C1}",Lscr:"\u2112",lsh:"\u21B0",Lsh:"\u21B0",lsim:"\u2272",lsime:"\u2A8D",lsimg:"\u2A8F",lsqb:"[",lsquo:"\u2018",lsquor:"\u201A",Lstrok:"\u0141",lstrok:"\u0142",ltcc:"\u2AA6",ltcir:"\u2A79",lt:"<",LT:"<",Lt:"\u226A",ltdot:"\u22D6",lthree:"\u22CB",ltimes:"\u22C9",ltlarr:"\u2976",ltquest:"\u2A7B",ltri:"\u25C3",ltrie:"\u22B4",ltrif:"\u25C2",ltrPar:"\u2996",lurdshar:"\u294A",luruhar:"\u2966",lvertneqq:"\u2268\uFE00",lvnE:"\u2268\uFE00",macr:"\xAF",male:"\u2642",malt:"\u2720",maltese:"\u2720",Map:"\u2905",map:"\u21A6",mapsto:"\u21A6",mapstodown:"\u21A7",mapstoleft:"\u21A4",mapstoup:"\u21A5",marker:"\u25AE",mcomma:"\u2A29",Mcy:"\u041C",mcy:"\u043C",mdash:"\u2014",mDDot:"\u223A",measuredangle:"\u2221",MediumSpace:"\u205F",Mellintrf:"\u2133",Mfr:"\u{1D510}",mfr:"\u{1D52A}",mho:"\u2127",micro:"\xB5",midast:"*",midcir:"\u2AF0",mid:"\u2223",middot:"\xB7",minusb:"\u229F",minus:"\u2212",minusd:"\u2238",minusdu:"\u2A2A",MinusPlus:"\u2213",mlcp:"\u2ADB",mldr:"\u2026",mnplus:"\u2213",models:"\u22A7",Mopf:"\u{1D544}",mopf:"\u{1D55E}",mp:"\u2213",mscr:"\u{1D4C2}",Mscr:"\u2133",mstpos:"\u223E",Mu:"\u039C",mu:"\u03BC",multimap:"\u22B8",mumap:"\u22B8",nabla:"\u2207",Nacute:"\u0143",nacute:"\u0144",nang:"\u2220\u20D2",nap:"\u2249",napE:"\u2A70\u0338",napid:"\u224B\u0338",napos:"\u0149",napprox:"\u2249",natural:"\u266E",naturals:"\u2115",natur:"\u266E",nbsp:"\xA0",nbump:"\u224E\u0338",nbumpe:"\u224F\u0338",ncap:"\u2A43",Ncaron:"\u0147",ncaron:"\u0148",Ncedil:"\u0145",ncedil:"\u0146",ncong:"\u2247",ncongdot:"\u2A6D\u0338",ncup:"\u2A42",Ncy:"\u041D",ncy:"\u043D",ndash:"\u2013",nearhk:"\u2924",nearr:"\u2197",neArr:"\u21D7",nearrow:"\u2197",ne:"\u2260",nedot:"\u2250\u0338",NegativeMediumSpace:"\u200B",NegativeThickSpace:"\u200B",NegativeThinSpace:"\u200B",NegativeVeryThinSpace:"\u200B",nequiv:"\u2262",nesear:"\u2928",nesim:"\u2242\u0338",NestedGreaterGreater:"\u226B",NestedLessLess:"\u226A",NewLine:` -`,nexist:"\u2204",nexists:"\u2204",Nfr:"\u{1D511}",nfr:"\u{1D52B}",ngE:"\u2267\u0338",nge:"\u2271",ngeq:"\u2271",ngeqq:"\u2267\u0338",ngeqslant:"\u2A7E\u0338",nges:"\u2A7E\u0338",nGg:"\u22D9\u0338",ngsim:"\u2275",nGt:"\u226B\u20D2",ngt:"\u226F",ngtr:"\u226F",nGtv:"\u226B\u0338",nharr:"\u21AE",nhArr:"\u21CE",nhpar:"\u2AF2",ni:"\u220B",nis:"\u22FC",nisd:"\u22FA",niv:"\u220B",NJcy:"\u040A",njcy:"\u045A",nlarr:"\u219A",nlArr:"\u21CD",nldr:"\u2025",nlE:"\u2266\u0338",nle:"\u2270",nleftarrow:"\u219A",nLeftarrow:"\u21CD",nleftrightarrow:"\u21AE",nLeftrightarrow:"\u21CE",nleq:"\u2270",nleqq:"\u2266\u0338",nleqslant:"\u2A7D\u0338",nles:"\u2A7D\u0338",nless:"\u226E",nLl:"\u22D8\u0338",nlsim:"\u2274",nLt:"\u226A\u20D2",nlt:"\u226E",nltri:"\u22EA",nltrie:"\u22EC",nLtv:"\u226A\u0338",nmid:"\u2224",NoBreak:"\u2060",NonBreakingSpace:"\xA0",nopf:"\u{1D55F}",Nopf:"\u2115",Not:"\u2AEC",not:"\xAC",NotCongruent:"\u2262",NotCupCap:"\u226D",NotDoubleVerticalBar:"\u2226",NotElement:"\u2209",NotEqual:"\u2260",NotEqualTilde:"\u2242\u0338",NotExists:"\u2204",NotGreater:"\u226F",NotGreaterEqual:"\u2271",NotGreaterFullEqual:"\u2267\u0338",NotGreaterGreater:"\u226B\u0338",NotGreaterLess:"\u2279",NotGreaterSlantEqual:"\u2A7E\u0338",NotGreaterTilde:"\u2275",NotHumpDownHump:"\u224E\u0338",NotHumpEqual:"\u224F\u0338",notin:"\u2209",notindot:"\u22F5\u0338",notinE:"\u22F9\u0338",notinva:"\u2209",notinvb:"\u22F7",notinvc:"\u22F6",NotLeftTriangleBar:"\u29CF\u0338",NotLeftTriangle:"\u22EA",NotLeftTriangleEqual:"\u22EC",NotLess:"\u226E",NotLessEqual:"\u2270",NotLessGreater:"\u2278",NotLessLess:"\u226A\u0338",NotLessSlantEqual:"\u2A7D\u0338",NotLessTilde:"\u2274",NotNestedGreaterGreater:"\u2AA2\u0338",NotNestedLessLess:"\u2AA1\u0338",notni:"\u220C",notniva:"\u220C",notnivb:"\u22FE",notnivc:"\u22FD",NotPrecedes:"\u2280",NotPrecedesEqual:"\u2AAF\u0338",NotPrecedesSlantEqual:"\u22E0",NotReverseElement:"\u220C",NotRightTriangleBar:"\u29D0\u0338",NotRightTriangle:"\u22EB",NotRightTriangleEqual:"\u22ED",NotSquareSubset:"\u228F\u0338",NotSquareSubsetEqual:"\u22E2",NotSquareSuperset:"\u2290\u0338",NotSquareSupersetEqual:"\u22E3",NotSubset:"\u2282\u20D2",NotSubsetEqual:"\u2288",NotSucceeds:"\u2281",NotSucceedsEqual:"\u2AB0\u0338",NotSucceedsSlantEqual:"\u22E1",NotSucceedsTilde:"\u227F\u0338",NotSuperset:"\u2283\u20D2",NotSupersetEqual:"\u2289",NotTilde:"\u2241",NotTildeEqual:"\u2244",NotTildeFullEqual:"\u2247",NotTildeTilde:"\u2249",NotVerticalBar:"\u2224",nparallel:"\u2226",npar:"\u2226",nparsl:"\u2AFD\u20E5",npart:"\u2202\u0338",npolint:"\u2A14",npr:"\u2280",nprcue:"\u22E0",nprec:"\u2280",npreceq:"\u2AAF\u0338",npre:"\u2AAF\u0338",nrarrc:"\u2933\u0338",nrarr:"\u219B",nrArr:"\u21CF",nrarrw:"\u219D\u0338",nrightarrow:"\u219B",nRightarrow:"\u21CF",nrtri:"\u22EB",nrtrie:"\u22ED",nsc:"\u2281",nsccue:"\u22E1",nsce:"\u2AB0\u0338",Nscr:"\u{1D4A9}",nscr:"\u{1D4C3}",nshortmid:"\u2224",nshortparallel:"\u2226",nsim:"\u2241",nsime:"\u2244",nsimeq:"\u2244",nsmid:"\u2224",nspar:"\u2226",nsqsube:"\u22E2",nsqsupe:"\u22E3",nsub:"\u2284",nsubE:"\u2AC5\u0338",nsube:"\u2288",nsubset:"\u2282\u20D2",nsubseteq:"\u2288",nsubseteqq:"\u2AC5\u0338",nsucc:"\u2281",nsucceq:"\u2AB0\u0338",nsup:"\u2285",nsupE:"\u2AC6\u0338",nsupe:"\u2289",nsupset:"\u2283\u20D2",nsupseteq:"\u2289",nsupseteqq:"\u2AC6\u0338",ntgl:"\u2279",Ntilde:"\xD1",ntilde:"\xF1",ntlg:"\u2278",ntriangleleft:"\u22EA",ntrianglelefteq:"\u22EC",ntriangleright:"\u22EB",ntrianglerighteq:"\u22ED",Nu:"\u039D",nu:"\u03BD",num:"#",numero:"\u2116",numsp:"\u2007",nvap:"\u224D\u20D2",nvdash:"\u22AC",nvDash:"\u22AD",nVdash:"\u22AE",nVDash:"\u22AF",nvge:"\u2265\u20D2",nvgt:">\u20D2",nvHarr:"\u2904",nvinfin:"\u29DE",nvlArr:"\u2902",nvle:"\u2264\u20D2",nvlt:"<\u20D2",nvltrie:"\u22B4\u20D2",nvrArr:"\u2903",nvrtrie:"\u22B5\u20D2",nvsim:"\u223C\u20D2",nwarhk:"\u2923",nwarr:"\u2196",nwArr:"\u21D6",nwarrow:"\u2196",nwnear:"\u2927",Oacute:"\xD3",oacute:"\xF3",oast:"\u229B",Ocirc:"\xD4",ocirc:"\xF4",ocir:"\u229A",Ocy:"\u041E",ocy:"\u043E",odash:"\u229D",Odblac:"\u0150",odblac:"\u0151",odiv:"\u2A38",odot:"\u2299",odsold:"\u29BC",OElig:"\u0152",oelig:"\u0153",ofcir:"\u29BF",Ofr:"\u{1D512}",ofr:"\u{1D52C}",ogon:"\u02DB",Ograve:"\xD2",ograve:"\xF2",ogt:"\u29C1",ohbar:"\u29B5",ohm:"\u03A9",oint:"\u222E",olarr:"\u21BA",olcir:"\u29BE",olcross:"\u29BB",oline:"\u203E",olt:"\u29C0",Omacr:"\u014C",omacr:"\u014D",Omega:"\u03A9",omega:"\u03C9",Omicron:"\u039F",omicron:"\u03BF",omid:"\u29B6",ominus:"\u2296",Oopf:"\u{1D546}",oopf:"\u{1D560}",opar:"\u29B7",OpenCurlyDoubleQuote:"\u201C",OpenCurlyQuote:"\u2018",operp:"\u29B9",oplus:"\u2295",orarr:"\u21BB",Or:"\u2A54",or:"\u2228",ord:"\u2A5D",order:"\u2134",orderof:"\u2134",ordf:"\xAA",ordm:"\xBA",origof:"\u22B6",oror:"\u2A56",orslope:"\u2A57",orv:"\u2A5B",oS:"\u24C8",Oscr:"\u{1D4AA}",oscr:"\u2134",Oslash:"\xD8",oslash:"\xF8",osol:"\u2298",Otilde:"\xD5",otilde:"\xF5",otimesas:"\u2A36",Otimes:"\u2A37",otimes:"\u2297",Ouml:"\xD6",ouml:"\xF6",ovbar:"\u233D",OverBar:"\u203E",OverBrace:"\u23DE",OverBracket:"\u23B4",OverParenthesis:"\u23DC",para:"\xB6",parallel:"\u2225",par:"\u2225",parsim:"\u2AF3",parsl:"\u2AFD",part:"\u2202",PartialD:"\u2202",Pcy:"\u041F",pcy:"\u043F",percnt:"%",period:".",permil:"\u2030",perp:"\u22A5",pertenk:"\u2031",Pfr:"\u{1D513}",pfr:"\u{1D52D}",Phi:"\u03A6",phi:"\u03C6",phiv:"\u03D5",phmmat:"\u2133",phone:"\u260E",Pi:"\u03A0",pi:"\u03C0",pitchfork:"\u22D4",piv:"\u03D6",planck:"\u210F",planckh:"\u210E",plankv:"\u210F",plusacir:"\u2A23",plusb:"\u229E",pluscir:"\u2A22",plus:"+",plusdo:"\u2214",plusdu:"\u2A25",pluse:"\u2A72",PlusMinus:"\xB1",plusmn:"\xB1",plussim:"\u2A26",plustwo:"\u2A27",pm:"\xB1",Poincareplane:"\u210C",pointint:"\u2A15",popf:"\u{1D561}",Popf:"\u2119",pound:"\xA3",prap:"\u2AB7",Pr:"\u2ABB",pr:"\u227A",prcue:"\u227C",precapprox:"\u2AB7",prec:"\u227A",preccurlyeq:"\u227C",Precedes:"\u227A",PrecedesEqual:"\u2AAF",PrecedesSlantEqual:"\u227C",PrecedesTilde:"\u227E",preceq:"\u2AAF",precnapprox:"\u2AB9",precneqq:"\u2AB5",precnsim:"\u22E8",pre:"\u2AAF",prE:"\u2AB3",precsim:"\u227E",prime:"\u2032",Prime:"\u2033",primes:"\u2119",prnap:"\u2AB9",prnE:"\u2AB5",prnsim:"\u22E8",prod:"\u220F",Product:"\u220F",profalar:"\u232E",profline:"\u2312",profsurf:"\u2313",prop:"\u221D",Proportional:"\u221D",Proportion:"\u2237",propto:"\u221D",prsim:"\u227E",prurel:"\u22B0",Pscr:"\u{1D4AB}",pscr:"\u{1D4C5}",Psi:"\u03A8",psi:"\u03C8",puncsp:"\u2008",Qfr:"\u{1D514}",qfr:"\u{1D52E}",qint:"\u2A0C",qopf:"\u{1D562}",Qopf:"\u211A",qprime:"\u2057",Qscr:"\u{1D4AC}",qscr:"\u{1D4C6}",quaternions:"\u210D",quatint:"\u2A16",quest:"?",questeq:"\u225F",quot:'"',QUOT:'"',rAarr:"\u21DB",race:"\u223D\u0331",Racute:"\u0154",racute:"\u0155",radic:"\u221A",raemptyv:"\u29B3",rang:"\u27E9",Rang:"\u27EB",rangd:"\u2992",range:"\u29A5",rangle:"\u27E9",raquo:"\xBB",rarrap:"\u2975",rarrb:"\u21E5",rarrbfs:"\u2920",rarrc:"\u2933",rarr:"\u2192",Rarr:"\u21A0",rArr:"\u21D2",rarrfs:"\u291E",rarrhk:"\u21AA",rarrlp:"\u21AC",rarrpl:"\u2945",rarrsim:"\u2974",Rarrtl:"\u2916",rarrtl:"\u21A3",rarrw:"\u219D",ratail:"\u291A",rAtail:"\u291C",ratio:"\u2236",rationals:"\u211A",rbarr:"\u290D",rBarr:"\u290F",RBarr:"\u2910",rbbrk:"\u2773",rbrace:"}",rbrack:"]",rbrke:"\u298C",rbrksld:"\u298E",rbrkslu:"\u2990",Rcaron:"\u0158",rcaron:"\u0159",Rcedil:"\u0156",rcedil:"\u0157",rceil:"\u2309",rcub:"}",Rcy:"\u0420",rcy:"\u0440",rdca:"\u2937",rdldhar:"\u2969",rdquo:"\u201D",rdquor:"\u201D",rdsh:"\u21B3",real:"\u211C",realine:"\u211B",realpart:"\u211C",reals:"\u211D",Re:"\u211C",rect:"\u25AD",reg:"\xAE",REG:"\xAE",ReverseElement:"\u220B",ReverseEquilibrium:"\u21CB",ReverseUpEquilibrium:"\u296F",rfisht:"\u297D",rfloor:"\u230B",rfr:"\u{1D52F}",Rfr:"\u211C",rHar:"\u2964",rhard:"\u21C1",rharu:"\u21C0",rharul:"\u296C",Rho:"\u03A1",rho:"\u03C1",rhov:"\u03F1",RightAngleBracket:"\u27E9",RightArrowBar:"\u21E5",rightarrow:"\u2192",RightArrow:"\u2192",Rightarrow:"\u21D2",RightArrowLeftArrow:"\u21C4",rightarrowtail:"\u21A3",RightCeiling:"\u2309",RightDoubleBracket:"\u27E7",RightDownTeeVector:"\u295D",RightDownVectorBar:"\u2955",RightDownVector:"\u21C2",RightFloor:"\u230B",rightharpoondown:"\u21C1",rightharpoonup:"\u21C0",rightleftarrows:"\u21C4",rightleftharpoons:"\u21CC",rightrightarrows:"\u21C9",rightsquigarrow:"\u219D",RightTeeArrow:"\u21A6",RightTee:"\u22A2",RightTeeVector:"\u295B",rightthreetimes:"\u22CC",RightTriangleBar:"\u29D0",RightTriangle:"\u22B3",RightTriangleEqual:"\u22B5",RightUpDownVector:"\u294F",RightUpTeeVector:"\u295C",RightUpVectorBar:"\u2954",RightUpVector:"\u21BE",RightVectorBar:"\u2953",RightVector:"\u21C0",ring:"\u02DA",risingdotseq:"\u2253",rlarr:"\u21C4",rlhar:"\u21CC",rlm:"\u200F",rmoustache:"\u23B1",rmoust:"\u23B1",rnmid:"\u2AEE",roang:"\u27ED",roarr:"\u21FE",robrk:"\u27E7",ropar:"\u2986",ropf:"\u{1D563}",Ropf:"\u211D",roplus:"\u2A2E",rotimes:"\u2A35",RoundImplies:"\u2970",rpar:")",rpargt:"\u2994",rppolint:"\u2A12",rrarr:"\u21C9",Rrightarrow:"\u21DB",rsaquo:"\u203A",rscr:"\u{1D4C7}",Rscr:"\u211B",rsh:"\u21B1",Rsh:"\u21B1",rsqb:"]",rsquo:"\u2019",rsquor:"\u2019",rthree:"\u22CC",rtimes:"\u22CA",rtri:"\u25B9",rtrie:"\u22B5",rtrif:"\u25B8",rtriltri:"\u29CE",RuleDelayed:"\u29F4",ruluhar:"\u2968",rx:"\u211E",Sacute:"\u015A",sacute:"\u015B",sbquo:"\u201A",scap:"\u2AB8",Scaron:"\u0160",scaron:"\u0161",Sc:"\u2ABC",sc:"\u227B",sccue:"\u227D",sce:"\u2AB0",scE:"\u2AB4",Scedil:"\u015E",scedil:"\u015F",Scirc:"\u015C",scirc:"\u015D",scnap:"\u2ABA",scnE:"\u2AB6",scnsim:"\u22E9",scpolint:"\u2A13",scsim:"\u227F",Scy:"\u0421",scy:"\u0441",sdotb:"\u22A1",sdot:"\u22C5",sdote:"\u2A66",searhk:"\u2925",searr:"\u2198",seArr:"\u21D8",searrow:"\u2198",sect:"\xA7",semi:";",seswar:"\u2929",setminus:"\u2216",setmn:"\u2216",sext:"\u2736",Sfr:"\u{1D516}",sfr:"\u{1D530}",sfrown:"\u2322",sharp:"\u266F",SHCHcy:"\u0429",shchcy:"\u0449",SHcy:"\u0428",shcy:"\u0448",ShortDownArrow:"\u2193",ShortLeftArrow:"\u2190",shortmid:"\u2223",shortparallel:"\u2225",ShortRightArrow:"\u2192",ShortUpArrow:"\u2191",shy:"\xAD",Sigma:"\u03A3",sigma:"\u03C3",sigmaf:"\u03C2",sigmav:"\u03C2",sim:"\u223C",simdot:"\u2A6A",sime:"\u2243",simeq:"\u2243",simg:"\u2A9E",simgE:"\u2AA0",siml:"\u2A9D",simlE:"\u2A9F",simne:"\u2246",simplus:"\u2A24",simrarr:"\u2972",slarr:"\u2190",SmallCircle:"\u2218",smallsetminus:"\u2216",smashp:"\u2A33",smeparsl:"\u29E4",smid:"\u2223",smile:"\u2323",smt:"\u2AAA",smte:"\u2AAC",smtes:"\u2AAC\uFE00",SOFTcy:"\u042C",softcy:"\u044C",solbar:"\u233F",solb:"\u29C4",sol:"/",Sopf:"\u{1D54A}",sopf:"\u{1D564}",spades:"\u2660",spadesuit:"\u2660",spar:"\u2225",sqcap:"\u2293",sqcaps:"\u2293\uFE00",sqcup:"\u2294",sqcups:"\u2294\uFE00",Sqrt:"\u221A",sqsub:"\u228F",sqsube:"\u2291",sqsubset:"\u228F",sqsubseteq:"\u2291",sqsup:"\u2290",sqsupe:"\u2292",sqsupset:"\u2290",sqsupseteq:"\u2292",square:"\u25A1",Square:"\u25A1",SquareIntersection:"\u2293",SquareSubset:"\u228F",SquareSubsetEqual:"\u2291",SquareSuperset:"\u2290",SquareSupersetEqual:"\u2292",SquareUnion:"\u2294",squarf:"\u25AA",squ:"\u25A1",squf:"\u25AA",srarr:"\u2192",Sscr:"\u{1D4AE}",sscr:"\u{1D4C8}",ssetmn:"\u2216",ssmile:"\u2323",sstarf:"\u22C6",Star:"\u22C6",star:"\u2606",starf:"\u2605",straightepsilon:"\u03F5",straightphi:"\u03D5",strns:"\xAF",sub:"\u2282",Sub:"\u22D0",subdot:"\u2ABD",subE:"\u2AC5",sube:"\u2286",subedot:"\u2AC3",submult:"\u2AC1",subnE:"\u2ACB",subne:"\u228A",subplus:"\u2ABF",subrarr:"\u2979",subset:"\u2282",Subset:"\u22D0",subseteq:"\u2286",subseteqq:"\u2AC5",SubsetEqual:"\u2286",subsetneq:"\u228A",subsetneqq:"\u2ACB",subsim:"\u2AC7",subsub:"\u2AD5",subsup:"\u2AD3",succapprox:"\u2AB8",succ:"\u227B",succcurlyeq:"\u227D",Succeeds:"\u227B",SucceedsEqual:"\u2AB0",SucceedsSlantEqual:"\u227D",SucceedsTilde:"\u227F",succeq:"\u2AB0",succnapprox:"\u2ABA",succneqq:"\u2AB6",succnsim:"\u22E9",succsim:"\u227F",SuchThat:"\u220B",sum:"\u2211",Sum:"\u2211",sung:"\u266A",sup1:"\xB9",sup2:"\xB2",sup3:"\xB3",sup:"\u2283",Sup:"\u22D1",supdot:"\u2ABE",supdsub:"\u2AD8",supE:"\u2AC6",supe:"\u2287",supedot:"\u2AC4",Superset:"\u2283",SupersetEqual:"\u2287",suphsol:"\u27C9",suphsub:"\u2AD7",suplarr:"\u297B",supmult:"\u2AC2",supnE:"\u2ACC",supne:"\u228B",supplus:"\u2AC0",supset:"\u2283",Supset:"\u22D1",supseteq:"\u2287",supseteqq:"\u2AC6",supsetneq:"\u228B",supsetneqq:"\u2ACC",supsim:"\u2AC8",supsub:"\u2AD4",supsup:"\u2AD6",swarhk:"\u2926",swarr:"\u2199",swArr:"\u21D9",swarrow:"\u2199",swnwar:"\u292A",szlig:"\xDF",Tab:" ",target:"\u2316",Tau:"\u03A4",tau:"\u03C4",tbrk:"\u23B4",Tcaron:"\u0164",tcaron:"\u0165",Tcedil:"\u0162",tcedil:"\u0163",Tcy:"\u0422",tcy:"\u0442",tdot:"\u20DB",telrec:"\u2315",Tfr:"\u{1D517}",tfr:"\u{1D531}",there4:"\u2234",therefore:"\u2234",Therefore:"\u2234",Theta:"\u0398",theta:"\u03B8",thetasym:"\u03D1",thetav:"\u03D1",thickapprox:"\u2248",thicksim:"\u223C",ThickSpace:"\u205F\u200A",ThinSpace:"\u2009",thinsp:"\u2009",thkap:"\u2248",thksim:"\u223C",THORN:"\xDE",thorn:"\xFE",tilde:"\u02DC",Tilde:"\u223C",TildeEqual:"\u2243",TildeFullEqual:"\u2245",TildeTilde:"\u2248",timesbar:"\u2A31",timesb:"\u22A0",times:"\xD7",timesd:"\u2A30",tint:"\u222D",toea:"\u2928",topbot:"\u2336",topcir:"\u2AF1",top:"\u22A4",Topf:"\u{1D54B}",topf:"\u{1D565}",topfork:"\u2ADA",tosa:"\u2929",tprime:"\u2034",trade:"\u2122",TRADE:"\u2122",triangle:"\u25B5",triangledown:"\u25BF",triangleleft:"\u25C3",trianglelefteq:"\u22B4",triangleq:"\u225C",triangleright:"\u25B9",trianglerighteq:"\u22B5",tridot:"\u25EC",trie:"\u225C",triminus:"\u2A3A",TripleDot:"\u20DB",triplus:"\u2A39",trisb:"\u29CD",tritime:"\u2A3B",trpezium:"\u23E2",Tscr:"\u{1D4AF}",tscr:"\u{1D4C9}",TScy:"\u0426",tscy:"\u0446",TSHcy:"\u040B",tshcy:"\u045B",Tstrok:"\u0166",tstrok:"\u0167",twixt:"\u226C",twoheadleftarrow:"\u219E",twoheadrightarrow:"\u21A0",Uacute:"\xDA",uacute:"\xFA",uarr:"\u2191",Uarr:"\u219F",uArr:"\u21D1",Uarrocir:"\u2949",Ubrcy:"\u040E",ubrcy:"\u045E",Ubreve:"\u016C",ubreve:"\u016D",Ucirc:"\xDB",ucirc:"\xFB",Ucy:"\u0423",ucy:"\u0443",udarr:"\u21C5",Udblac:"\u0170",udblac:"\u0171",udhar:"\u296E",ufisht:"\u297E",Ufr:"\u{1D518}",ufr:"\u{1D532}",Ugrave:"\xD9",ugrave:"\xF9",uHar:"\u2963",uharl:"\u21BF",uharr:"\u21BE",uhblk:"\u2580",ulcorn:"\u231C",ulcorner:"\u231C",ulcrop:"\u230F",ultri:"\u25F8",Umacr:"\u016A",umacr:"\u016B",uml:"\xA8",UnderBar:"_",UnderBrace:"\u23DF",UnderBracket:"\u23B5",UnderParenthesis:"\u23DD",Union:"\u22C3",UnionPlus:"\u228E",Uogon:"\u0172",uogon:"\u0173",Uopf:"\u{1D54C}",uopf:"\u{1D566}",UpArrowBar:"\u2912",uparrow:"\u2191",UpArrow:"\u2191",Uparrow:"\u21D1",UpArrowDownArrow:"\u21C5",updownarrow:"\u2195",UpDownArrow:"\u2195",Updownarrow:"\u21D5",UpEquilibrium:"\u296E",upharpoonleft:"\u21BF",upharpoonright:"\u21BE",uplus:"\u228E",UpperLeftArrow:"\u2196",UpperRightArrow:"\u2197",upsi:"\u03C5",Upsi:"\u03D2",upsih:"\u03D2",Upsilon:"\u03A5",upsilon:"\u03C5",UpTeeArrow:"\u21A5",UpTee:"\u22A5",upuparrows:"\u21C8",urcorn:"\u231D",urcorner:"\u231D",urcrop:"\u230E",Uring:"\u016E",uring:"\u016F",urtri:"\u25F9",Uscr:"\u{1D4B0}",uscr:"\u{1D4CA}",utdot:"\u22F0",Utilde:"\u0168",utilde:"\u0169",utri:"\u25B5",utrif:"\u25B4",uuarr:"\u21C8",Uuml:"\xDC",uuml:"\xFC",uwangle:"\u29A7",vangrt:"\u299C",varepsilon:"\u03F5",varkappa:"\u03F0",varnothing:"\u2205",varphi:"\u03D5",varpi:"\u03D6",varpropto:"\u221D",varr:"\u2195",vArr:"\u21D5",varrho:"\u03F1",varsigma:"\u03C2",varsubsetneq:"\u228A\uFE00",varsubsetneqq:"\u2ACB\uFE00",varsupsetneq:"\u228B\uFE00",varsupsetneqq:"\u2ACC\uFE00",vartheta:"\u03D1",vartriangleleft:"\u22B2",vartriangleright:"\u22B3",vBar:"\u2AE8",Vbar:"\u2AEB",vBarv:"\u2AE9",Vcy:"\u0412",vcy:"\u0432",vdash:"\u22A2",vDash:"\u22A8",Vdash:"\u22A9",VDash:"\u22AB",Vdashl:"\u2AE6",veebar:"\u22BB",vee:"\u2228",Vee:"\u22C1",veeeq:"\u225A",vellip:"\u22EE",verbar:"|",Verbar:"\u2016",vert:"|",Vert:"\u2016",VerticalBar:"\u2223",VerticalLine:"|",VerticalSeparator:"\u2758",VerticalTilde:"\u2240",VeryThinSpace:"\u200A",Vfr:"\u{1D519}",vfr:"\u{1D533}",vltri:"\u22B2",vnsub:"\u2282\u20D2",vnsup:"\u2283\u20D2",Vopf:"\u{1D54D}",vopf:"\u{1D567}",vprop:"\u221D",vrtri:"\u22B3",Vscr:"\u{1D4B1}",vscr:"\u{1D4CB}",vsubnE:"\u2ACB\uFE00",vsubne:"\u228A\uFE00",vsupnE:"\u2ACC\uFE00",vsupne:"\u228B\uFE00",Vvdash:"\u22AA",vzigzag:"\u299A",Wcirc:"\u0174",wcirc:"\u0175",wedbar:"\u2A5F",wedge:"\u2227",Wedge:"\u22C0",wedgeq:"\u2259",weierp:"\u2118",Wfr:"\u{1D51A}",wfr:"\u{1D534}",Wopf:"\u{1D54E}",wopf:"\u{1D568}",wp:"\u2118",wr:"\u2240",wreath:"\u2240",Wscr:"\u{1D4B2}",wscr:"\u{1D4CC}",xcap:"\u22C2",xcirc:"\u25EF",xcup:"\u22C3",xdtri:"\u25BD",Xfr:"\u{1D51B}",xfr:"\u{1D535}",xharr:"\u27F7",xhArr:"\u27FA",Xi:"\u039E",xi:"\u03BE",xlarr:"\u27F5",xlArr:"\u27F8",xmap:"\u27FC",xnis:"\u22FB",xodot:"\u2A00",Xopf:"\u{1D54F}",xopf:"\u{1D569}",xoplus:"\u2A01",xotime:"\u2A02",xrarr:"\u27F6",xrArr:"\u27F9",Xscr:"\u{1D4B3}",xscr:"\u{1D4CD}",xsqcup:"\u2A06",xuplus:"\u2A04",xutri:"\u25B3",xvee:"\u22C1",xwedge:"\u22C0",Yacute:"\xDD",yacute:"\xFD",YAcy:"\u042F",yacy:"\u044F",Ycirc:"\u0176",ycirc:"\u0177",Ycy:"\u042B",ycy:"\u044B",yen:"\xA5",Yfr:"\u{1D51C}",yfr:"\u{1D536}",YIcy:"\u0407",yicy:"\u0457",Yopf:"\u{1D550}",yopf:"\u{1D56A}",Yscr:"\u{1D4B4}",yscr:"\u{1D4CE}",YUcy:"\u042E",yucy:"\u044E",yuml:"\xFF",Yuml:"\u0178",Zacute:"\u0179",zacute:"\u017A",Zcaron:"\u017D",zcaron:"\u017E",Zcy:"\u0417",zcy:"\u0437",Zdot:"\u017B",zdot:"\u017C",zeetrf:"\u2128",ZeroWidthSpace:"\u200B",Zeta:"\u0396",zeta:"\u03B6",zfr:"\u{1D537}",Zfr:"\u2128",ZHcy:"\u0416",zhcy:"\u0436",zigrarr:"\u21DD",zopf:"\u{1D56B}",Zopf:"\u2124",Zscr:"\u{1D4B5}",zscr:"\u{1D4CF}",zwj:"\u200D",zwnj:"\u200C"}}),ms=he((t,e)=>{e.exports={Aacute:"\xC1",aacute:"\xE1",Acirc:"\xC2",acirc:"\xE2",acute:"\xB4",AElig:"\xC6",aelig:"\xE6",Agrave:"\xC0",agrave:"\xE0",amp:"&",AMP:"&",Aring:"\xC5",aring:"\xE5",Atilde:"\xC3",atilde:"\xE3",Auml:"\xC4",auml:"\xE4",brvbar:"\xA6",Ccedil:"\xC7",ccedil:"\xE7",cedil:"\xB8",cent:"\xA2",copy:"\xA9",COPY:"\xA9",curren:"\xA4",deg:"\xB0",divide:"\xF7",Eacute:"\xC9",eacute:"\xE9",Ecirc:"\xCA",ecirc:"\xEA",Egrave:"\xC8",egrave:"\xE8",ETH:"\xD0",eth:"\xF0",Euml:"\xCB",euml:"\xEB",frac12:"\xBD",frac14:"\xBC",frac34:"\xBE",gt:">",GT:">",Iacute:"\xCD",iacute:"\xED",Icirc:"\xCE",icirc:"\xEE",iexcl:"\xA1",Igrave:"\xCC",igrave:"\xEC",iquest:"\xBF",Iuml:"\xCF",iuml:"\xEF",laquo:"\xAB",lt:"<",LT:"<",macr:"\xAF",micro:"\xB5",middot:"\xB7",nbsp:"\xA0",not:"\xAC",Ntilde:"\xD1",ntilde:"\xF1",Oacute:"\xD3",oacute:"\xF3",Ocirc:"\xD4",ocirc:"\xF4",Ograve:"\xD2",ograve:"\xF2",ordf:"\xAA",ordm:"\xBA",Oslash:"\xD8",oslash:"\xF8",Otilde:"\xD5",otilde:"\xF5",Ouml:"\xD6",ouml:"\xF6",para:"\xB6",plusmn:"\xB1",pound:"\xA3",quot:'"',QUOT:'"',raquo:"\xBB",reg:"\xAE",REG:"\xAE",sect:"\xA7",shy:"\xAD",sup1:"\xB9",sup2:"\xB2",sup3:"\xB3",szlig:"\xDF",THORN:"\xDE",thorn:"\xFE",times:"\xD7",Uacute:"\xDA",uacute:"\xFA",Ucirc:"\xDB",ucirc:"\xFB",Ugrave:"\xD9",ugrave:"\xF9",uml:"\xA8",Uuml:"\xDC",uuml:"\xFC",Yacute:"\xDD",yacute:"\xFD",yen:"\xA5",yuml:"\xFF"}}),ba=he((t,e)=>{e.exports={amp:"&",apos:"'",gt:">",lt:"<",quot:'"'}}),gs=he((t,e)=>{e.exports={0:65533,128:8364,130:8218,131:402,132:8222,133:8230,134:8224,135:8225,136:710,137:8240,138:352,139:8249,140:338,142:381,145:8216,146:8217,147:8220,148:8221,149:8226,150:8211,151:8212,152:732,153:8482,154:353,155:8250,156:339,158:382,159:376}}),ys=he(t=>{"use strict";var e=t&&t.__importDefault||function(a){return a&&a.__esModule?a:{default:a}};Object.defineProperty(t,"__esModule",{value:!0});var r=e(gs()),n=String.fromCodePoint||function(a){var u="";return a>65535&&(a-=65536,u+=String.fromCharCode(a>>>10&1023|55296),a=56320|a&1023),u+=String.fromCharCode(a),u};function o(a){return a>=55296&&a<=57343||a>1114111?"\uFFFD":(a in r.default&&(a=r.default[a]),n(a))}c(o,"decodeCodePoint"),t.default=o}),Zo=he(t=>{"use strict";var e=t&&t.__importDefault||function(h){return h&&h.__esModule?h:{default:h}};Object.defineProperty(t,"__esModule",{value:!0}),t.decodeHTML=t.decodeHTMLStrict=t.decodeXML=void 0;var r=e(ya()),n=e(ms()),o=e(ba()),a=e(ys()),u=/&(?:[a-zA-Z0-9]+|#[xX][\da-fA-F]+|#\d+);/g;t.decodeXML=i(o.default),t.decodeHTMLStrict=i(r.default);function i(h){var f=l(h);return function(g){return String(g).replace(u,f)}}c(i,"getStrictDecoder");var s=c(function(h,f){return h{"use strict";var e=t&&t.__importDefault||function(A){return A&&A.__esModule?A:{default:A}};Object.defineProperty(t,"__esModule",{value:!0}),t.escapeUTF8=t.escape=t.encodeNonAsciiHTML=t.encodeHTML=t.encodeXML=void 0;var r=e(ba()),n=s(r.default),o=l(n);t.encodeXML=S(n);var a=e(ya()),u=s(a.default),i=l(u);t.encodeHTML=E(u,i),t.encodeNonAsciiHTML=S(u);function s(A){return Object.keys(A).sort().reduce(function(D,_){return D[A[_]]="&"+_+";",D},{})}c(s,"getInverseObj");function l(A){for(var D=[],_=[],P=0,R=Object.keys(A);P1?f(A):A.charCodeAt(0)).toString(16).toUpperCase()+";"}c(g,"singleCharReplacer");function E(A,D){return function(_){return _.replace(D,function(P){return A[P]}).replace(h,g)}}c(E,"getInverse");var C=new RegExp(o.source+"|"+h.source,"g");function v(A){return A.replace(C,g)}c(v,"escape"),t.escape=v;function b(A){return A.replace(o,g)}c(b,"escapeUTF8"),t.escapeUTF8=b;function S(A){return function(D){return D.replace(C,function(_){return A[_]||g(_)})}}c(S,"getASCIIEncoder")}),bs=he(t=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.decodeXMLStrict=t.decodeHTML5Strict=t.decodeHTML4Strict=t.decodeHTML5=t.decodeHTML4=t.decodeHTMLStrict=t.decodeHTML=t.decodeXML=t.encodeHTML5=t.encodeHTML4=t.escapeUTF8=t.escape=t.encodeNonAsciiHTML=t.encodeHTML=t.encodeXML=t.encode=t.decodeStrict=t.decode=void 0;var e=Zo(),r=ea();function n(s,l){return(!l||l<=0?e.decodeXML:e.decodeHTML)(s)}c(n,"decode"),t.decode=n;function o(s,l){return(!l||l<=0?e.decodeXML:e.decodeHTMLStrict)(s)}c(o,"decodeStrict"),t.decodeStrict=o;function a(s,l){return(!l||l<=0?r.encodeXML:r.encodeHTML)(s)}c(a,"encode"),t.encode=a;var u=ea();Object.defineProperty(t,"encodeXML",{enumerable:!0,get:c(function(){return u.encodeXML},"get")}),Object.defineProperty(t,"encodeHTML",{enumerable:!0,get:c(function(){return u.encodeHTML},"get")}),Object.defineProperty(t,"encodeNonAsciiHTML",{enumerable:!0,get:c(function(){return u.encodeNonAsciiHTML},"get")}),Object.defineProperty(t,"escape",{enumerable:!0,get:c(function(){return u.escape},"get")}),Object.defineProperty(t,"escapeUTF8",{enumerable:!0,get:c(function(){return u.escapeUTF8},"get")}),Object.defineProperty(t,"encodeHTML4",{enumerable:!0,get:c(function(){return u.encodeHTML},"get")}),Object.defineProperty(t,"encodeHTML5",{enumerable:!0,get:c(function(){return u.encodeHTML},"get")});var i=Zo();Object.defineProperty(t,"decodeXML",{enumerable:!0,get:c(function(){return i.decodeXML},"get")}),Object.defineProperty(t,"decodeHTML",{enumerable:!0,get:c(function(){return i.decodeHTML},"get")}),Object.defineProperty(t,"decodeHTMLStrict",{enumerable:!0,get:c(function(){return i.decodeHTMLStrict},"get")}),Object.defineProperty(t,"decodeHTML4",{enumerable:!0,get:c(function(){return i.decodeHTML},"get")}),Object.defineProperty(t,"decodeHTML5",{enumerable:!0,get:c(function(){return i.decodeHTML},"get")}),Object.defineProperty(t,"decodeHTML4Strict",{enumerable:!0,get:c(function(){return i.decodeHTMLStrict},"get")}),Object.defineProperty(t,"decodeHTML5Strict",{enumerable:!0,get:c(function(){return i.decodeHTMLStrict},"get")}),Object.defineProperty(t,"decodeXMLStrict",{enumerable:!0,get:c(function(){return i.decodeXML},"get")})}),Es=he((t,e)=>{"use strict";function r(p,d){if(!(p instanceof d))throw new TypeError("Cannot call a class as a function")}c(r,"_classCallCheck");function n(p,d){for(var y=0;y=p.length?{done:!0}:{done:!1,value:p[x++]}},"n"),e:c(function(k){throw k},"e"),f:w}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. -In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var F=!0,I=!1,N;return{s:c(function(){y=y.call(p)},"s"),n:c(function(){var k=y.next();return F=k.done,k},"n"),e:c(function(k){I=!0,N=k},"e"),f:c(function(){try{!F&&y.return!=null&&y.return()}finally{if(I)throw N}},"f")}}c(a,"_createForOfIteratorHelper");function u(p,d){if(p){if(typeof p=="string")return i(p,d);var y=Object.prototype.toString.call(p).slice(8,-1);if(y==="Object"&&p.constructor&&(y=p.constructor.name),y==="Map"||y==="Set")return Array.from(p);if(y==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(y))return i(p,d)}}c(u,"_unsupportedIterableToArray");function i(p,d){(d==null||d>p.length)&&(d=p.length);for(var y=0,x=new Array(d);y0?p*40+55:0,I=d>0?d*40+55:0,N=y>0?y*40+55:0;x[w]=E([F,I,N])}c(f,"setStyleColor");function g(p){for(var d=p.toString(16);d.length<2;)d="0"+d;return d}c(g,"toHexString");function E(p){var d=[],y=a(p),x;try{for(y.s();!(x=y.n()).done;){var w=x.value;d.push(g(w))}}catch(F){y.e(F)}finally{y.f()}return"#"+d.join("")}c(E,"toColorHexString");function C(p,d,y,x){var w;return d==="text"?w=P(y,x):d==="display"?w=b(p,y,x):d==="xterm256Foreground"?w=O(p,x.colors[y]):d==="xterm256Background"?w=B(p,x.colors[y]):d==="rgb"&&(w=v(p,y)),w}c(C,"generateOutput");function v(p,d){d=d.substring(2).slice(0,-1);var y=+d.substr(0,2),x=d.substring(5).split(";"),w=x.map(function(F){return("0"+Number(F).toString(16)).substr(-2)}).join("");return T(p,(y===38?"color:#":"background-color:#")+w)}c(v,"handleRgb");function b(p,d,y){d=parseInt(d,10);var x={"-1":c(function(){return"
"},"_"),0:c(function(){return p.length&&S(p)},"_"),1:c(function(){return R(p,"b")},"_"),3:c(function(){return R(p,"i")},"_"),4:c(function(){return R(p,"u")},"_"),8:c(function(){return T(p,"display:none")},"_"),9:c(function(){return R(p,"strike")},"_"),22:c(function(){return T(p,"font-weight:normal;text-decoration:none;font-style:normal")},"_"),23:c(function(){return j(p,"i")},"_"),24:c(function(){return j(p,"u")},"_"),39:c(function(){return O(p,y.fg)},"_"),49:c(function(){return B(p,y.bg)},"_"),53:c(function(){return T(p,"text-decoration:overline")},"_")},w;return x[d]?w=x[d]():4"}).join("")}c(S,"resetStyles");function A(p,d){for(var y=[],x=p;x<=d;x++)y.push(x);return y}c(A,"range");function D(p){return function(d){return(p===null||d.category!==p)&&p!=="all"}}c(D,"notCategory");function _(p){p=parseInt(p,10);var d=null;return p===0?d="all":p===1?d="bold":2")}c(R,"pushTag");function T(p,d){return R(p,"span",d)}c(T,"pushStyle");function O(p,d){return R(p,"span","color:"+d)}c(O,"pushForegroundColor");function B(p,d){return R(p,"span","background-color:"+d)}c(B,"pushBackgroundColor");function j(p,d){var y;if(p.slice(-1)[0]===d&&(y=p.pop()),y)return""}c(j,"closeTag");function M(p,d,y){var x=!1,w=3;function F(){return""}c(F,"remove");function I(re,ne){return y("xterm256Foreground",ne),""}c(I,"removeXterm256Foreground");function N(re,ne){return y("xterm256Background",ne),""}c(N,"removeXterm256Background");function k(re){return d.newline?y("display",-1):y("text",re),""}c(k,"newline");function Z(re,ne){x=!0,ne.trim().length===0&&(ne="0"),ne=ne.trimRight(";").split(";");var Be=a(ne),yt;try{for(Be.s();!(yt=Be.n()).done;){var fr=yt.value;y("display",fr)}}catch(mr){Be.e(mr)}finally{Be.f()}return""}c(Z,"ansiMess");function te(re){return y("text",re),""}c(te,"realText");function J(re){return y("rgb",re),""}c(J,"rgb");var ue=[{pattern:/^\x08+/,sub:F},{pattern:/^\x1b\[[012]?K/,sub:F},{pattern:/^\x1b\[\(B/,sub:F},{pattern:/^\x1b\[[34]8;2;\d+;\d+;\d+m/,sub:J},{pattern:/^\x1b\[38;5;(\d+)m/,sub:I},{pattern:/^\x1b\[48;5;(\d+)m/,sub:N},{pattern:/^\n/,sub:k},{pattern:/^\r+\n/,sub:k},{pattern:/^\r/,sub:k},{pattern:/^\x1b\[((?:\d{1,3};?)+|)m/,sub:Z},{pattern:/^\x1b\[\d?J/,sub:F},{pattern:/^\x1b\[\d{0,3};\d{0,3}f/,sub:F},{pattern:/^\x1b\[?[\d;]{0,3}/,sub:F},{pattern:/^(([^\x1b\x08\r\n])+)/,sub:te}];function G(re,ne){ne>w&&x||(x=!1,p=p.replace(re.pattern,re.sub))}c(G,"process");var ce=[],ve=p,ye=ve.length;e:for(;ye>0;){for(var _e=0,gt=0,dr=ue.length;gt{let t;return typeof window<"u"?t=window:typeof globalThis<"u"?t=globalThis:typeof window<"u"?t=window:typeof self<"u"?t=self:t={},t})();function Ea(){let t={setHandler:c(()=>{},"setHandler"),send:c(()=>{},"send")};return new $t({transport:t})}c(Ea,"mockChannel");var Aa=class{constructor(){this.getChannel=c(()=>{if(!this.channel){let e=Ea();return this.setChannel(e),e}return this.channel},"getChannel"),this.ready=c(()=>this.promise,"ready"),this.hasChannel=c(()=>!!this.channel,"hasChannel"),this.setChannel=c(e=>{this.channel=e,this.resolve()},"setChannel"),this.promise=new Promise(e=>{this.resolve=()=>e(this.getChannel())})}};c(Aa,"AddonStore");var As=Aa,Fr="__STORYBOOK_ADDONS_PREVIEW";function Sa(){return de[Fr]||(de[Fr]=new As),de[Fr]}c(Sa,"getAddonsStore");var ze=Sa();function Ss(t){return t}c(Ss,"definePreview");var Ca=class{constructor(){this.hookListsMap=void 0,this.mountedDecorators=void 0,this.prevMountedDecorators=void 0,this.currentHooks=void 0,this.nextHookIndex=void 0,this.currentPhase=void 0,this.currentEffects=void 0,this.prevEffects=void 0,this.currentDecoratorName=void 0,this.hasUpdates=void 0,this.currentContext=void 0,this.renderListener=c(e=>{e===this.currentContext?.id&&(this.triggerEffects(),this.currentContext=null,this.removeRenderListeners())},"renderListener"),this.init()}init(){this.hookListsMap=new WeakMap,this.mountedDecorators=new Set,this.prevMountedDecorators=new Set,this.currentHooks=[],this.nextHookIndex=0,this.currentPhase="NONE",this.currentEffects=[],this.prevEffects=[],this.currentDecoratorName=null,this.hasUpdates=!1,this.currentContext=null}clean(){this.prevEffects.forEach(e=>{e.destroy&&e.destroy()}),this.init(),this.removeRenderListeners()}getNextHook(){let e=this.currentHooks[this.nextHookIndex];return this.nextHookIndex+=1,e}triggerEffects(){this.prevEffects.forEach(e=>{!this.currentEffects.includes(e)&&e.destroy&&e.destroy()}),this.currentEffects.forEach(e=>{this.prevEffects.includes(e)||(e.destroy=e.create())}),this.prevEffects=this.currentEffects,this.currentEffects=[]}addRenderListeners(){this.removeRenderListeners(),ze.getChannel().on(Et,this.renderListener)}removeRenderListeners(){ze.getChannel().removeListener(Et,this.renderListener)}};c(Ca,"HooksContext");var wa=Ca;function kr(t){let e=c((...r)=>{let{hooks:n}=typeof r[0]=="function"?r[1]:r[0],o=n.currentPhase,a=n.currentHooks,u=n.nextHookIndex,i=n.currentDecoratorName;n.currentDecoratorName=t.name,n.prevMountedDecorators.has(t)?(n.currentPhase="UPDATE",n.currentHooks=n.hookListsMap.get(t)||[]):(n.currentPhase="MOUNT",n.currentHooks=[],n.hookListsMap.set(t,n.currentHooks),n.prevMountedDecorators.add(t)),n.nextHookIndex=0;let s=de.STORYBOOK_HOOKS_CONTEXT;de.STORYBOOK_HOOKS_CONTEXT=n;let l=t(...r);if(de.STORYBOOK_HOOKS_CONTEXT=s,n.currentPhase==="UPDATE"&&n.getNextHook()!=null)throw new Error("Rendered fewer hooks than expected. This may be caused by an accidental early return statement.");return n.currentPhase=o,n.currentHooks=a,n.nextHookIndex=u,n.currentDecoratorName=i,l},"hookified");return e.originalFn=t,e}c(kr,"hookify");var Ir=0,Cs=25,ws=c(t=>(e,r)=>{let n=t(kr(e),r.map(o=>kr(o)));return o=>{let{hooks:a}=o;a.prevMountedDecorators??=new Set,a.mountedDecorators=new Set([e,...r]),a.currentContext=o,a.hasUpdates=!1;let u=n(o);for(Ir=1;a.hasUpdates;)if(a.hasUpdates=!1,a.currentEffects=[],u=n(o),Ir+=1,Ir>Cs)throw new Error("Too many re-renders. Storybook limits the number of renders to prevent an infinite loop.");return a.addRenderListeners(),u}},"applyHooks"),vs=c((t,e)=>t.length===e.length&&t.every((r,n)=>r===e[n]),"areDepsEqual"),tn=c(()=>new Error("Storybook preview hooks can only be called inside decorators and story functions."),"invalidHooksError");function rn(){return de.STORYBOOK_HOOKS_CONTEXT||null}c(rn,"getHooksContextOrNull");function Qt(){let t=rn();if(t==null)throw tn();return t}c(Qt,"getHooksContextOrThrow");function va(t,e,r){let n=Qt();if(n.currentPhase==="MOUNT"){r!=null&&!Array.isArray(r)&&X.warn(`${t} received a final argument that is not an array (instead, received ${r}). When specified, the final argument must be an array.`);let o={name:t,deps:r};return n.currentHooks.push(o),e(o),o}if(n.currentPhase==="UPDATE"){let o=n.getNextHook();if(o==null)throw new Error("Rendered more hooks than during the previous render.");return o.name!==t&&X.warn(`Storybook has detected a change in the order of Hooks${n.currentDecoratorName?` called by ${n.currentDecoratorName}`:""}. This will lead to bugs and errors if not fixed.`),r!=null&&o.deps==null&&X.warn(`${t} received a final argument during this render, but not during the previous render. Even though the final argument is optional, its type cannot change between renders.`),r!=null&&o.deps!=null&&r.length!==o.deps.length&&X.warn(`The final argument passed to ${t} changed size between renders. The order and size of this array must remain constant. -Previous: ${o.deps} -Incoming: ${r}`),(r==null||o.deps==null||!vs(r,o.deps))&&(e(o),o.deps=r),o}throw tn()}c(va,"useHook");function vt(t,e,r){let{memoizedState:n}=va(t,o=>{o.memoizedState=e()},r);return n}c(vt,"useMemoLike");function Ds(t,e){return vt("useMemo",t,e)}c(Ds,"useMemo");function wt(t,e){return vt("useCallback",()=>t,e)}c(wt,"useCallback");function nn(t,e){return vt(t,()=>({current:e}),[])}c(nn,"useRefLike");function xs(t){return nn("useRef",t)}c(xs,"useRef");function Da(){let t=rn();if(t!=null&&t.currentPhase!=="NONE")t.hasUpdates=!0;else try{ze.getChannel().emit(Pt)}catch{X.warn("State updates of Storybook preview hooks work only in browser")}}c(Da,"triggerUpdate");function on(t,e){let r=nn(t,typeof e=="function"?e():e),n=c(o=>{r.current=typeof o=="function"?o(r.current):o,Da()},"setState");return[r.current,n]}c(on,"useStateLike");function an(t){return on("useState",t)}c(an,"useState");function Ts(t,e,r){let n=r!=null?()=>r(e):e,[o,a]=on("useReducer",n);return[o,c(u=>a(i=>t(i,u)),"dispatch")]}c(Ts,"useReducer");function Zt(t,e){let r=Qt(),n=vt("useEffect",()=>({create:t}),e);r.currentEffects.includes(n)||r.currentEffects.push(n)}c(Zt,"useEffect");function Rs(t,e=[]){let r=ze.getChannel();return Zt(()=>(Object.entries(t).forEach(([n,o])=>r.on(n,o)),()=>{Object.entries(t).forEach(([n,o])=>r.removeListener(n,o))}),[...Object.keys(t),...e]),wt(r.emit.bind(r),[r])}c(Rs,"useChannel");function er(){let{currentContext:t}=Qt();if(t==null)throw tn();return t}c(er,"useStoryContext");function _s(t,e){let{parameters:r}=er();if(t)return r[t]??e}c(_s,"useParameter");function Os(){let t=ze.getChannel(),{id:e,args:r}=er(),n=wt(a=>t.emit(qt,{storyId:e,updatedArgs:a}),[t,e]),o=wt(a=>t.emit(Lt,{storyId:e,argNames:a}),[t,e]);return[r,n,o]}c(Os,"useArgs");function Fs(){let t=ze.getChannel(),{globals:e}=er(),r=wt(n=>t.emit(Mt,{globals:n}),[t]);return[e,r]}c(Fs,"useGlobals");var Qg=c(({name:t,parameterName:e,wrapper:r,skipIfNoParametersOrOptions:n=!1})=>{let o=c(a=>(u,i)=>{let s=i.parameters&&i.parameters[e];return s&&s.disable||n&&!a&&!s?u(i):r(u,i,{options:a,parameters:s})},"decorator");return(...a)=>typeof a[0]=="function"?o()(...a):(...u)=>{if(u.length>1)return a.length>1?o(a)(...u):o(...a)(...u);throw new Error(`Passing stories directly into ${t}() is not allowed, - instead use addDecorator(${t}) and pass options with the '${e}' parameter`)}},"makeDecorator");function le(t){for(var e=[],r=1;r(this.debug("getState",{state:this.state}),this.state),"getState"),this.subscribe=c((n,o)=>{let a=typeof n=="function",u=a?"*":n,i=a?n:o;if(this.debug("subscribe",{eventType:u,listener:i}),!i)throw new TypeError(`Missing first subscribe argument, or second if first is the event type, when subscribing to a UniversalStore with id '${this.id}'`);return this.listeners.has(u)||this.listeners.set(u,new Set),this.listeners.get(u).add(i),()=>{this.debug("unsubscribe",{eventType:u,listener:i}),this.listeners.has(u)&&(this.listeners.get(u).delete(i),this.listeners.get(u)?.size===0&&this.listeners.delete(u))}},"subscribe"),this.send=c(n=>{if(this.debug("send",{event:n}),this.status!==$.Status.READY)throw new TypeError(le`Cannot send event before store is ready. You can get the current status with store.status, - or await store.readyPromise to wait for the store to be ready before sending events. - ${JSON.stringify({event:n,id:this.id,actor:this.actor,environment:this.environment},null,2)}`);this.emitToListeners(n,{actor:this.actor}),this.emitToChannel(n,{actor:this.actor})},"send"),this.debugging=e.debug??!1,!$.isInternalConstructing)throw new TypeError("UniversalStore is not constructable - use UniversalStore.create() instead");if($.isInternalConstructing=!1,this.id=e.id,this.actorId=Date.now().toString(36)+Math.random().toString(36).substring(2),this.actorType=e.leader?$.ActorType.LEADER:$.ActorType.FOLLOWER,this.state=e.initialState,this.channelEventName=`${Bs}${this.id}`,this.debug("constructor",{options:e,environmentOverrides:r,channelEventName:this.channelEventName}),this.actor.type===$.ActorType.LEADER)this.syncing={state:De.RESOLVED,promise:Promise.resolve()};else{let n,o,a=new Promise((u,i)=>{n=c(()=>{this.syncing.state===De.PENDING&&(this.syncing.state=De.RESOLVED,u())},"syncingResolve"),o=c(s=>{this.syncing.state===De.PENDING&&(this.syncing.state=De.REJECTED,i(s))},"syncingReject")});this.syncing={state:De.PENDING,promise:a,resolve:n,reject:o}}this.getState=this.getState.bind(this),this.setState=this.setState.bind(this),this.subscribe=this.subscribe.bind(this),this.onStateChange=this.onStateChange.bind(this),this.send=this.send.bind(this),this.emitToChannel=this.emitToChannel.bind(this),this.prepareThis=this.prepareThis.bind(this),this.emitToListeners=this.emitToListeners.bind(this),this.handleChannelEvents=this.handleChannelEvents.bind(this),this.debug=this.debug.bind(this),this.channel=r?.channel??$.preparation.channel,this.environment=r?.environment??$.preparation.environment,this.channel&&this.environment?this.prepareThis({channel:this.channel,environment:this.environment}):$.preparation.promise.then(this.prepareThis)}static setupPreparationPromise(){let e,r,n=new Promise((o,a)=>{e=c(u=>{o(u)},"resolveRef"),r=c((...u)=>{a(u)},"rejectRef")});$.preparation={resolve:e,reject:r,promise:n}}get actor(){return Object.freeze({id:this.actorId,type:this.actorType,environment:this.environment??$.Environment.UNKNOWN})}get status(){if(!this.channel||!this.environment)return $.Status.UNPREPARED;switch(this.syncing?.state){case De.PENDING:case void 0:return $.Status.SYNCING;case De.REJECTED:return $.Status.ERROR;case De.RESOLVED:default:return $.Status.READY}}untilReady(){return Promise.all([$.preparation.promise,this.syncing?.promise])}static create(e){if(!e||typeof e?.id!="string")throw new TypeError("id is required and must be a string, when creating a UniversalStore");e.debug&&console.debug(le`[UniversalStore] - create`,{options:e});let r=ta.get(e.id);if(r)return console.warn(le`UniversalStore with id "${e.id}" already exists in this environment, re-using existing. - You should reuse the existing instance instead of trying to create a new one.`),r;$.isInternalConstructing=!0;let n=new $(e);return ta.set(e.id,n),n}static __prepare(e,r){$.preparation.channel=e,$.preparation.environment=r,$.preparation.resolve({channel:e,environment:r})}setState(e){let r=this.state,n=typeof e=="function"?e(r):e;if(this.debug("setState",{newState:n,previousState:r,updater:e}),this.status!==$.Status.READY)throw new TypeError(le`Cannot set state before store is ready. You can get the current status with store.status, - or await store.readyPromise to wait for the store to be ready before sending events. - ${JSON.stringify({newState:n,id:this.id,actor:this.actor,environment:this.environment},null,2)}`);this.state=n;let o={type:$.InternalEventType.SET_STATE,payload:{state:n,previousState:r}};this.emitToChannel(o,{actor:this.actor}),this.emitToListeners(o,{actor:this.actor})}onStateChange(e){return this.debug("onStateChange",{listener:e}),this.subscribe($.InternalEventType.SET_STATE,({payload:r},n)=>{e(r.state,r.previousState,n)})}emitToChannel(e,r){this.debug("emitToChannel",{event:e,eventInfo:r,channel:this.channel}),this.channel?.emit(this.channelEventName,{event:e,eventInfo:r})}prepareThis({channel:e,environment:r}){this.channel=e,this.environment=r,this.debug("prepared",{channel:e,environment:r}),this.channel.on(this.channelEventName,this.handleChannelEvents),this.actor.type===$.ActorType.LEADER?this.emitToChannel({type:$.InternalEventType.LEADER_CREATED},{actor:this.actor}):(this.emitToChannel({type:$.InternalEventType.FOLLOWER_CREATED},{actor:this.actor}),this.emitToChannel({type:$.InternalEventType.EXISTING_STATE_REQUEST},{actor:this.actor}),setTimeout(()=>{this.syncing.reject(new TypeError(`No existing state found for follower with id: '${this.id}'. Make sure a leader with the same id exists before creating a follower.`))},1e3))}emitToListeners(e,r){let n=this.listeners.get(e.type),o=this.listeners.get("*");this.debug("emitToListeners",{event:e,eventInfo:r,eventTypeListeners:n,everythingListeners:o}),[...n??[],...o??[]].forEach(a=>a(e,r))}handleChannelEvents(e){let{event:r,eventInfo:n}=e;if([n.actor.id,n.forwardingActor?.id].includes(this.actor.id)){this.debug("handleChannelEvents: Ignoring event from self",{channelEvent:e});return}else if(this.syncing?.state===De.PENDING&&r.type!==$.InternalEventType.EXISTING_STATE_RESPONSE){this.debug("handleChannelEvents: Ignoring event while syncing",{channelEvent:e});return}if(this.debug("handleChannelEvents",{channelEvent:e}),this.actor.type===$.ActorType.LEADER){let o=!0;switch(r.type){case $.InternalEventType.EXISTING_STATE_REQUEST:o=!1;let a={type:$.InternalEventType.EXISTING_STATE_RESPONSE,payload:this.state};this.debug("handleChannelEvents: responding to existing state request",{responseEvent:a}),this.emitToChannel(a,{actor:this.actor});break;case $.InternalEventType.LEADER_CREATED:o=!1,this.syncing.state=De.REJECTED,this.debug("handleChannelEvents: erroring due to second leader being created",{event:r}),console.error(le`Detected multiple UniversalStore leaders created with the same id "${this.id}". - Only one leader can exists at a time, your stores are now in an invalid state. - Leaders detected: - this: ${JSON.stringify(this.actor,null,2)} - other: ${JSON.stringify(n.actor,null,2)}`);break}o&&(this.debug("handleChannelEvents: forwarding event",{channelEvent:e}),this.emitToChannel(r,{actor:n.actor,forwardingActor:this.actor}))}if(this.actor.type===$.ActorType.FOLLOWER)switch(r.type){case $.InternalEventType.EXISTING_STATE_RESPONSE:if(this.debug("handleChannelEvents: Setting state from leader's existing state response",{event:r}),this.syncing?.state!==De.PENDING)break;this.syncing.resolve?.();let o={type:$.InternalEventType.SET_STATE,payload:{state:r.payload,previousState:this.state}};this.state=r.payload,this.emitToListeners(o,n);break}switch(r.type){case $.InternalEventType.SET_STATE:this.debug("handleChannelEvents: Setting state",{event:r}),this.state=r.payload.state;break}this.emitToListeners(r,{actor:n.actor})}debug(e,r){this.debugging&&console.debug(le`[UniversalStore::${this.id}::${this.environment??$.Environment.UNKNOWN}] - ${e}`,JSON.stringify({data:r,actor:this.actor,state:this.state,status:this.status},null,2))}static __reset(){$.preparation.reject(new Error("reset")),$.setupPreparationPromise(),$.isInternalConstructing=!1}};c(qe,"UniversalStore"),qe.ActorType={LEADER:"LEADER",FOLLOWER:"FOLLOWER"},qe.Environment={SERVER:"SERVER",MANAGER:"MANAGER",PREVIEW:"PREVIEW",UNKNOWN:"UNKNOWN",MOCK:"MOCK"},qe.InternalEventType={EXISTING_STATE_REQUEST:"__EXISTING_STATE_REQUEST",EXISTING_STATE_RESPONSE:"__EXISTING_STATE_RESPONSE",SET_STATE:"__SET_STATE",LEADER_CREATED:"__LEADER_CREATED",FOLLOWER_CREATED:"__FOLLOWER_CREATED"},qe.Status={UNPREPARED:"UNPREPARED",SYNCING:"SYNCING",READY:"READY",ERROR:"ERROR"},qe.isInternalConstructing=!1,qe.setupPreparationPromise();var Ht=qe;function xa(t,e){let r={},n=Object.entries(t);for(let o=0;oObject.prototype.propertyIsEnumerable.call(t,e))}c(Mr,"getSymbols");function qr(t){return t==null?t===void 0?"[object Undefined]":"[object Null]":Object.prototype.toString.call(t)}c(qr,"getTag");function un(t,e){if(typeof t==typeof e)switch(typeof t){case"bigint":case"string":case"boolean":case"symbol":case"undefined":return t===e;case"number":return t===e||Object.is(t,e);case"function":return t===e;case"object":return Oe(t,e)}return Oe(t,e)}c(un,"isEqual");function Oe(t,e,r){if(Object.is(t,e))return!0;let n=qr(t),o=qr(e);if(n===ra&&(n=Br),o===ra&&(o=Br),n!==o)return!1;switch(n){case Ns:return t.toString()===e.toString();case Ls:{let i=t.valueOf(),s=e.valueOf();return i===s||Number.isNaN(i)&&Number.isNaN(s)}case js:case Ms:case ks:return Object.is(t.valueOf(),e.valueOf());case Ps:return t.source===e.source&&t.flags===e.flags;case zs:return t===e}r=r??new Map;let a=r.get(t),u=r.get(e);if(a!=null&&u!=null)return a===e;r.set(t,e),r.set(e,t);try{switch(n){case qs:{if(t.size!==e.size)return!1;for(let[i,s]of t.entries())if(!e.has(i)||!Oe(s,e.get(i),r))return!1;return!0}case $s:{if(t.size!==e.size)return!1;let i=Array.from(t.values()),s=Array.from(e.values());for(let l=0;lOe(h,g,r));if(f===-1)return!1;s.splice(f,1)}return!0}case Us:case Ws:case Ys:case Ks:case Xs:case Js:case Qs:case Zs:case el:case tl:case rl:case nl:{if(typeof Buffer<"u"&&Buffer.isBuffer(t)!==Buffer.isBuffer(e)||t.length!==e.length)return!1;for(let i=0;i{let[r,n]=an(e?e(t.getState()):t.getState());return Zt(()=>t.onStateChange((o,a)=>{if(!e){n(o);return}let u=e(o),i=e(a);!un(u,i)&&n(u)}),[t,n,e]),[r,t.setState]},"useUniversalStore"),ol=class _a extends Ht{constructor(e,r){Ht.isInternalConstructing=!0,super({...e,leader:!0},{channel:new $t({}),environment:Ht.Environment.MOCK}),Ht.isInternalConstructing=!1,typeof r?.fn=="function"&&(this.testUtils=r,this.getState=r.fn(this.getState),this.setState=r.fn(this.setState),this.subscribe=r.fn(this.subscribe),this.onStateChange=r.fn(this.onStateChange),this.send=r.fn(this.send))}static create(e,r){return new _a(e,r)}unsubscribeAll(){if(!this.testUtils)throw new Error(Is`Cannot call unsubscribeAll on a store that does not have testUtils. - Please provide testUtils as the second argument when creating the store.`);let e=c(r=>{try{r.value()}catch{}},"callReturnedUnsubscribeFn");this.subscribe.mock?.results.forEach(e),this.onStateChange.mock?.results.forEach(e)}};c(ol,"MockUniversalStore");var Pr=ct(fa(),1),it=Symbol("incompatible"),$r=c((t,e)=>{let r=e.type;if(t==null||!r||e.mapping)return t;switch(r.name){case"string":return String(t);case"enum":return t;case"number":return Number(t);case"boolean":return String(t)==="true";case"array":return!r.value||!Array.isArray(t)?it:t.reduce((n,o,a)=>{let u=$r(o,{type:r.value});return u!==it&&(n[a]=u),n},new Array(t.length));case"object":return typeof t=="string"||typeof t=="number"?t:!r.value||typeof t!="object"?it:Object.entries(t).reduce((n,[o,a])=>{let u=$r(a,{type:r.value[o]});return u===it?n:Object.assign(n,{[o]:u})},{});default:return it}},"map"),al=c((t,e)=>Object.entries(t).reduce((r,[n,o])=>{if(!e[n])return r;let a=$r(o,e[n]);return a===it?r:Object.assign(r,{[n]:a})},{}),"mapArgsToTypes"),Ur=c((t,e)=>Array.isArray(t)&&Array.isArray(e)?e.reduce((r,n,o)=>(r[o]=Ur(t[o],e[o]),r),[...t]).filter(r=>r!==void 0):!Re(t)||!Re(e)?e:Object.keys({...t,...e}).reduce((r,n)=>{if(n in e){let o=Ur(t[n],e[n]);o!==void 0&&(r[n]=o)}else r[n]=t[n];return r},{}),"combineArgs"),ul=c((t,e)=>Object.entries(e).reduce((r,[n,{options:o}])=>{function a(){return n in t&&(r[n]=t[n]),r}if(c(a,"allowArg"),!o)return a();if(!Array.isArray(o))return Me.error(le` - Invalid argType: '${n}.options' should be an array. - - More info: https://storybook.js.org/docs/api/arg-types - `),a();if(o.some(f=>f&&["object","function"].includes(typeof f)))return Me.error(le` - Invalid argType: '${n}.options' should only contain primitives. Use a 'mapping' for complex values. - - More info: https://storybook.js.org/docs/writing-stories/args#mapping-to-complex-arg-values - `),a();let u=Array.isArray(t[n]),i=u&&t[n].findIndex(f=>!o.includes(f)),s=u&&i===-1;if(t[n]===void 0||o.includes(t[n])||s)return a();let l=u?`${n}[${i}]`:n,h=o.map(f=>typeof f=="string"?`'${f}'`:String(f)).join(", ");return Me.warn(`Received illegal value for '${l}'. Supported options: ${h}`),r},{}),"validateOptions"),St=Symbol("Deeply equal"),Yt=c((t,e)=>{if(typeof t!=typeof e)return e;if(un(t,e))return St;if(Array.isArray(t)&&Array.isArray(e)){let r=e.reduce((n,o,a)=>{let u=Yt(t[a],o);return u!==St&&(n[a]=u),n},new Array(e.length));return e.length>=t.length?r:r.concat(new Array(t.length-e.length).fill(void 0))}return Re(t)&&Re(e)?Object.keys({...t,...e}).reduce((r,n)=>{let o=Yt(t?.[n],e?.[n]);return o===St?r:Object.assign(r,{[n]:o})},{}):e},"deepDiff"),Oa="UNTARGETED";function Fa({args:t,argTypes:e}){let r={};return Object.entries(t).forEach(([n,o])=>{let{target:a=Oa}=e[n]||{};r[a]=r[a]||{},r[a][n]=o}),r}c(Fa,"groupArgsByTarget");function Ia(t){return Object.keys(t).forEach(e=>t[e]===void 0&&delete t[e]),t}c(Ia,"deleteUndefined");var Ba=class{constructor(){this.initialArgsByStoryId={},this.argsByStoryId={}}get(e){if(!(e in this.argsByStoryId))throw new Error(`No args known for ${e} -- has it been rendered yet?`);return this.argsByStoryId[e]}setInitial(e){if(!this.initialArgsByStoryId[e.id])this.initialArgsByStoryId[e.id]=e.initialArgs,this.argsByStoryId[e.id]=e.initialArgs;else if(this.initialArgsByStoryId[e.id]!==e.initialArgs){let r=Yt(this.initialArgsByStoryId[e.id],this.argsByStoryId[e.id]);this.initialArgsByStoryId[e.id]=e.initialArgs,this.argsByStoryId[e.id]=e.initialArgs,r!==St&&this.updateFromDelta(e,r)}}updateFromDelta(e,r){let n=ul(r,e.argTypes);this.argsByStoryId[e.id]=Ur(this.argsByStoryId[e.id],n)}updateFromPersisted(e,r){let n=al(r,e.argTypes);return this.updateFromDelta(e,n)}update(e,r){if(!(e in this.argsByStoryId))throw new Error(`No args known for ${e} -- has it been rendered yet?`);this.argsByStoryId[e]=Ia({...this.argsByStoryId[e],...r})}};c(Ba,"ArgsStore");var il=Ba,Pa=c((t={})=>Object.entries(t).reduce((e,[r,{defaultValue:n}])=>(typeof n<"u"&&(e[r]=n),e),{}),"getValuesFromArgTypes"),Na=class{constructor({globals:e={},globalTypes:r={}}){this.set({globals:e,globalTypes:r})}set({globals:e={},globalTypes:r={}}){let n=this.initialGlobals&&Yt(this.initialGlobals,this.globals);this.allowedGlobalNames=new Set([...Object.keys(e),...Object.keys(r)]);let o=Pa(r);this.initialGlobals={...o,...e},this.globals=this.initialGlobals,n&&n!==St&&this.updateFromPersisted(n)}filterAllowedGlobals(e){return Object.entries(e).reduce((r,[n,o])=>(this.allowedGlobalNames.has(n)?r[n]=o:X.warn(`Attempted to set a global (${n}) that is not defined in initial globals or globalTypes`),r),{})}updateFromPersisted(e){let r=this.filterAllowedGlobals(e);this.globals={...this.globals,...r}}get(){return this.globals}update(e){this.globals={...this.globals,...this.filterAllowedGlobals(e)}}};c(Na,"GlobalsStore");var sl=Na,ll=ct(fa(),1),cl=(0,ll.default)(1)(t=>Object.values(t).reduce((e,r)=>(e[r.importPath]=e[r.importPath]||r,e),{})),La=class{constructor({entries:e}={v:5,entries:{}}){this.entries=e}entryFromSpecifier(e){let r=Object.values(this.entries);if(e==="*")return r[0];if(typeof e=="string")return this.entries[e]?this.entries[e]:r.find(a=>a.id.startsWith(e));let{name:n,title:o}=e;return r.find(a=>a.name===n&&a.title===o)}storyIdToEntry(e){let r=this.entries[e];if(!r)throw new Ao({storyId:e});return r}importPathToEntry(e){return cl(this.entries)[e]}};c(La,"StoryIndexStore");var pl=La,dl=c(t=>typeof t=="string"?{name:t}:t,"normalizeType"),hl=c(t=>typeof t=="string"?{type:t}:t,"normalizeControl"),fl=c((t,e)=>{let{type:r,control:n,...o}=t,a={name:e,...o};return r&&(a.type=dl(r)),n?a.control=hl(n):n===!1&&(a.control={disable:!0}),a},"normalizeInputType"),Kt=c(t=>Ze(t,fl),"normalizeInputTypes"),ee=c(t=>Array.isArray(t)?t:t?[t]:[],"normalizeArrays"),ml=le` -CSF .story annotations deprecated; annotate story functions directly: -- StoryFn.story.name => StoryFn.storyName -- StoryFn.story.(parameters|decorators) => StoryFn.(parameters|decorators) -See https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#hoisted-csf-annotations for details and codemod. -`;function Xt(t,e,r){let n=e,o=typeof e=="function"?e:null,{story:a}=n;a&&(X.debug("deprecated story",a),Ne(ml));let u=Jo(t),i=typeof n!="function"&&n.name||n.storyName||a?.name||u,s=[...ee(n.decorators),...ee(a?.decorators)],l={...a?.parameters,...n.parameters},h={...a?.args,...n.args},f={...a?.argTypes,...n.argTypes},g=[...ee(n.loaders),...ee(a?.loaders)],E=[...ee(n.beforeEach),...ee(a?.beforeEach)],C=[...ee(n.experimental_afterEach),...ee(a?.experimental_afterEach)],{render:v,play:b,tags:S=[],globals:A={}}=n,D=l.__id||Xo(r.id,u);return{moduleExport:e,id:D,name:i,tags:S,decorators:s,parameters:l,args:h,argTypes:Kt(f),loaders:g,beforeEach:E,experimental_afterEach:C,globals:A,...v&&{render:v},...o&&{userStoryFn:o},...b&&{play:b}}}c(Xt,"normalizeStory");function Jt(t,e=t.title,r){let{id:n,argTypes:o}=t;return{id:Or(n||e),...t,title:e,...o&&{argTypes:Kt(o)},parameters:{fileName:r,...t.parameters}}}c(Jt,"normalizeComponentAnnotations");var gl=c(t=>{let{globals:e,globalTypes:r}=t;(e||r)&&X.error("Global args/argTypes can only be set globally",JSON.stringify({globals:e,globalTypes:r}))},"checkGlobals"),yl=c(t=>{let{options:e}=t;e?.storySort&&X.error("The storySort option parameter can only be set globally")},"checkStorySort"),Gt=c(t=>{t&&(gl(t),yl(t))},"checkDisallowedParameters");function ja(t,e,r){let{default:n,__namedExportsOrder:o,...a}=t,u=Object.values(a)[0];if(Ke(u)){let l=Jt(u.meta.input,r,e);Gt(l.parameters);let h={meta:l,stories:{},moduleExports:t};return Object.keys(a).forEach(f=>{if(at(f,l)){let g=Xt(f,a[f].input,l);Gt(g.parameters),h.stories[g.id]=g}}),h.projectAnnotations=u.meta.preview.composed,h}let i=Jt(n,r,e);Gt(i.parameters);let s={meta:i,stories:{},moduleExports:t};return Object.keys(a).forEach(l=>{if(at(l,i)){let h=Xt(l,a[l],i);Gt(h.parameters),s.stories[h.id]=h}}),s}c(ja,"processCSFFile");function ka(t){return t!=null&&Ma(t).includes("mount")}c(ka,"mountDestructured");function Ma(t){let e=t.toString().match(/[^(]*\(([^)]*)/);if(!e)return[];let r=zr(e[1]);if(!r.length)return[];let n=r[0];return n.startsWith("{")&&n.endsWith("}")?zr(n.slice(1,-1).replace(/\s/g,"")).map(o=>o.replace(/:.*|=.*/g,"")):[]}c(Ma,"getUsedProps");function zr(t){let e=[],r=[],n=0;for(let a=0;ae(n,o)}c(qa,"decorateStory");function $a({componentId:t,title:e,kind:r,id:n,name:o,story:a,parameters:u,initialArgs:i,argTypes:s,...l}={}){return l}c($a,"sanitizeStoryContextUpdate");function Ua(t,e){let r={},n=c(a=>u=>{if(!r.value)throw new Error("Decorated function called without init");return r.value={...r.value,...$a(u)},a(r.value)},"bindWithContext"),o=e.reduce((a,u)=>qa(a,u,n),t);return a=>(r.value=a,o(a))}c(Ua,"defaultDecorateStory");var et=c((...t)=>{let e={},r=t.filter(Boolean),n=r.reduce((o,a)=>(Object.entries(a).forEach(([u,i])=>{let s=o[u];Array.isArray(i)||typeof s>"u"?o[u]=i:Re(i)&&Re(s)?e[u]=!0:typeof i<"u"&&(o[u]=i)}),o),{});return Object.keys(e).forEach(o=>{let a=r.filter(Boolean).map(u=>u[o]).filter(u=>typeof u<"u");a.every(u=>Re(u))?n[o]=et(...a):n[o]=a[a.length-1]}),n},"combineParameters");function sn(t,e,r){let{moduleExport:n,id:o,name:a}=t||{},u=ln(t,e,r),i=c(async R=>{let T={};for(let O of[..."__STORYBOOK_TEST_LOADERS__"in de&&Array.isArray(de.__STORYBOOK_TEST_LOADERS__)?[de.__STORYBOOK_TEST_LOADERS__]:[],ee(r.loaders),ee(e.loaders),ee(t.loaders)]){if(R.abortSignal.aborted)return T;let B=await Promise.all(O.map(j=>j(R)));Object.assign(T,...B)}return T},"applyLoaders"),s=c(async R=>{let T=new Array;for(let O of[...ee(r.beforeEach),...ee(e.beforeEach),...ee(t.beforeEach)]){if(R.abortSignal.aborted)return T;let B=await O(R);B&&T.push(B)}return T},"applyBeforeEach"),l=c(async R=>{let T=[...ee(r.experimental_afterEach),...ee(e.experimental_afterEach),...ee(t.experimental_afterEach)].reverse();for(let O of T){if(R.abortSignal.aborted)return;await O(R)}},"applyAfterEach"),h=c(R=>R.originalStoryFn(R.args,R),"undecoratedStoryFn"),{applyDecorators:f=Ua,runStep:g}=r,E=[...ee(t?.decorators),...ee(e?.decorators),...ee(r?.decorators)],C=t?.userStoryFn||t?.render||e.render||r.render,v=ws(f)(h,E),b=c(R=>v(R),"unboundStoryFn"),S=t?.play??e?.play,A=ka(S);if(!C&&!A)throw new qo({id:o});let D=c(R=>async()=>(await R.renderToCanvas(),R.canvas),"defaultMount"),_=t.mount??e.mount??r.mount??D,P=r.testingLibraryRender;return{storyGlobals:{},...u,moduleExport:n,id:o,name:a,story:a,originalStoryFn:C,undecoratedStoryFn:h,unboundStoryFn:b,applyLoaders:i,applyBeforeEach:s,applyAfterEach:l,playFunction:S,runStep:g,mount:_,testingLibraryRender:P,renderToCanvas:r.renderToCanvas,usesMount:A}}c(sn,"prepareStory");function za(t,e,r){return{...ln(void 0,t,e),moduleExport:r}}c(za,"prepareMeta");function ln(t,e,r){let n=["dev","test"],o=de.DOCS_OPTIONS?.autodocs===!0?["autodocs"]:[],a=Qo(...n,...o,...r.tags??[],...e.tags??[],...t?.tags??[]),u=et(r.parameters,e.parameters,t?.parameters),{argTypesEnhancers:i=[],argsEnhancers:s=[]}=r,l=et(r.argTypes,e.argTypes,t?.argTypes);if(t){let S=t?.userStoryFn||t?.render||e.render||r.render;u.__isArgsStory=S&&S.length>0}let h={...r.args,...e.args,...t?.args},f={...e.globals,...t?.globals},g={componentId:e.id,title:e.title,kind:e.title,id:t?.id||e.id,name:t?.name||"__meta",story:t?.name||"__meta",component:e.component,subcomponents:e.subcomponents,tags:a,parameters:u,initialArgs:h,argTypes:l,storyGlobals:f};g.argTypes=i.reduce((S,A)=>A({...g,argTypes:S}),g.argTypes);let E={...h};g.initialArgs=s.reduce((S,A)=>({...S,...A({...g,initialArgs:S})}),E);let{name:C,story:v,...b}=g;return b}c(ln,"preparePartialAnnotations");function cn(t){let{args:e}=t,r={...t,allArgs:void 0,argsByTarget:void 0};if(de.FEATURES?.argTypeTargetsV7){let a=Fa(t);r={...t,allArgs:t.args,argsByTarget:a,args:a[Oa]||{}}}let n=Object.entries(r.args).reduce((a,[u,i])=>{if(!r.argTypes[u]?.mapping)return a[u]=i,a;let s=c(l=>{let h=r.argTypes[u].mapping;return h&&l in h?h[l]:l},"mappingFn");return a[u]=Array.isArray(i)?i.map(s):s(i),a},{}),o=Object.entries(n).reduce((a,[u,i])=>{let s=r.argTypes[u]||{};return Wo(s,n,r.globals)&&(a[u]=i),a},{});return{...r,unmappedArgs:e,args:o}}c(cn,"prepareContext");var Hr=c((t,e,r)=>{let n=typeof t;switch(n){case"boolean":case"string":case"number":case"function":case"symbol":return{name:n};default:break}return t?r.has(t)?(X.warn(le` - We've detected a cycle in arg '${e}'. Args should be JSON-serializable. - - Consider using the mapping feature or fully custom args: - - Mapping: https://storybook.js.org/docs/writing-stories/args#mapping-to-complex-arg-values - - Custom args: https://storybook.js.org/docs/essentials/controls#fully-custom-args - `),{name:"other",value:"cyclic object"}):(r.add(t),Array.isArray(t)?{name:"array",value:t.length>0?Hr(t[0],e,new Set(r)):{name:"other",value:"unknown"}}:{name:"object",value:Ze(t,o=>Hr(o,e,new Set(r)))}):{name:"object",value:{}}},"inferType"),Ha=c(t=>{let{id:e,argTypes:r={},initialArgs:n={}}=t,o=Ze(n,(u,i)=>({name:i,type:Hr(u,`${e}.${i}`,new Set)})),a=Ze(r,(u,i)=>({name:i}));return et(o,a,r)},"inferArgTypes");Ha.secondPass=!0;var na=c((t,e)=>Array.isArray(e)?e.includes(t):t.match(e),"matches"),bl=c((t,e,r)=>!e&&!r?t:t&&Ra(t,(n,o)=>{let a=n.name||o.toString();return!!(!e||na(a,e))&&(!r||!na(a,r))}),"filterArgTypes"),El=c((t,e,r)=>{let{type:n,options:o}=t;if(n){if(r.color&&r.color.test(e)){let a=n.name;if(a==="string")return{control:{type:"color"}};a!=="enum"&&X.warn(`Addon controls: Control of type color only supports string, received "${a}" instead`)}if(r.date&&r.date.test(e))return{control:{type:"date"}};switch(n.name){case"array":return{control:{type:"object"}};case"boolean":return{control:{type:"boolean"}};case"string":return{control:{type:"text"}};case"number":return{control:{type:"number"}};case"enum":{let{value:a}=n;return{control:{type:a?.length<=5?"radio":"select"},options:a}}case"function":case"symbol":return null;default:return{control:{type:o?"select":"object"}}}}},"inferControl"),Ga=c(t=>{let{argTypes:e,parameters:{__isArgsStory:r,controls:{include:n=null,exclude:o=null,matchers:a={}}={}}}=t;if(!r)return e;let u=bl(e,n,o),i=Ze(u,(s,l)=>s?.type&&El(s,l.toString(),a));return et(i,u)},"inferControls");Ga.secondPass=!0;function ut({argTypes:t,globalTypes:e,argTypesEnhancers:r,decorators:n,loaders:o,beforeEach:a,experimental_afterEach:u,globals:i,initialGlobals:s,...l}){return i&&Object.keys(i).length>0&&Ne(le` - The preview.js 'globals' field is deprecated and will be removed in Storybook 9.0. - Please use 'initialGlobals' instead. Learn more: - - https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#previewjs-globals-renamed-to-initialglobals - `),{...t&&{argTypes:Kt(t)},...e&&{globalTypes:Kt(e)},decorators:ee(n),loaders:ee(o),beforeEach:ee(a),experimental_afterEach:ee(u),argTypesEnhancers:[...r||[],Ha,Ga],initialGlobals:et(s,i),...l}}c(ut,"normalizeProjectAnnotations");var Al=c(t=>async()=>{let e=[];for(let r of t){let n=await r();n&&e.unshift(n)}return async()=>{for(let r of e)await r()}},"composeBeforeAllHooks");function Va(t){return async(e,r,n)=>{await t.reduceRight((o,a)=>async()=>a(e,o,n),async()=>r(n))()}}c(Va,"composeStepRunners");function lt(t,e){return t.map(r=>r.default?.[e]??r[e]).filter(Boolean)}c(lt,"getField");function Le(t,e,r={}){return lt(t,e).reduce((n,o)=>{let a=ee(o);return r.reverseFileOrder?[...a,...n]:[...n,...a]},[])}c(Le,"getArrayField");function st(t,e){return Object.assign({},...lt(t,e))}c(st,"getObjectField");function Je(t,e){return lt(t,e).pop()}c(Je,"getSingletonField");function Xe(t){let e=Le(t,"argTypesEnhancers"),r=lt(t,"runStep"),n=Le(t,"beforeAll");return{parameters:et(...lt(t,"parameters")),decorators:Le(t,"decorators",{reverseFileOrder:!(de.FEATURES?.legacyDecoratorFileOrder??!1)}),args:st(t,"args"),argsEnhancers:Le(t,"argsEnhancers"),argTypes:st(t,"argTypes"),argTypesEnhancers:[...e.filter(o=>!o.secondPass),...e.filter(o=>o.secondPass)],globals:st(t,"globals"),initialGlobals:st(t,"initialGlobals"),globalTypes:st(t,"globalTypes"),loaders:Le(t,"loaders"),beforeAll:Al(n),beforeEach:Le(t,"beforeEach"),experimental_afterEach:Le(t,"experimental_afterEach"),render:Je(t,"render"),renderToCanvas:Je(t,"renderToCanvas"),renderToDOM:Je(t,"renderToDOM"),applyDecorators:Je(t,"applyDecorators"),runStep:Va(r),tags:Le(t,"tags"),mount:Je(t,"mount"),testingLibraryRender:Je(t,"testingLibraryRender")}}c(Xe,"composeConfigs");var Wa=class{constructor(){this.reports=[]}async addReport(e){this.reports.push(e)}};c(Wa,"ReporterAPI");var Ya=Wa;function Ka(t,e,r){return Ke(t)?{story:t.input,meta:t.meta.input,preview:t.meta.preview.composed}:{story:t,meta:e,preview:r}}c(Ka,"getCsfFactoryAnnotations");function Sl(t){globalThis.defaultProjectAnnotations=t}c(Sl,"setDefaultProjectAnnotations");var Cl="ComposedStory",wl="Unnamed Story";function Xa(t){return t?Xe([t]):{}}c(Xa,"extractAnnotation");function vl(t){let e=Array.isArray(t)?t:[t];return globalThis.globalProjectAnnotations=Xe([globalThis.defaultProjectAnnotations??{},Xe(e.map(Xa))]),globalThis.globalProjectAnnotations??{}}c(vl,"setProjectAnnotations");var $e=[];function Ja(t,e,r,n,o){if(t===void 0)throw new Error("Expected a story but received undefined.");e.title=e.title??Cl;let a=Jt(e),u=o||t.storyName||t.story?.name||t.name||wl,i=Xt(u,t,a),s=ut(Xe([n??globalThis.globalProjectAnnotations??{},r??{}])),l=sn(i,a,s),h={...Pa(s.globalTypes),...s.initialGlobals,...l.storyGlobals},f=new Ya,g=c(()=>{let S=cn({hooks:new wa,globals:h,args:{...l.initialArgs},viewMode:"story",reporting:f,loaded:{},abortSignal:new AbortController().signal,step:c((A,D)=>l.runStep(A,D,S),"step"),canvasElement:null,canvas:{},globalTypes:s.globalTypes,...l,context:null,mount:null});return S.parameters.__isPortableStory=!0,S.context=S,l.renderToCanvas&&(S.renderToCanvas=async()=>{let A=await l.renderToCanvas?.({componentId:l.componentId,title:l.title,id:l.id,name:l.name,tags:l.tags,showMain:c(()=>{},"showMain"),showError:c(D=>{throw new Error(`${D.title} -${D.description}`)},"showError"),showException:c(D=>{throw D},"showException"),forceRemount:!0,storyContext:S,storyFn:c(()=>l.unboundStoryFn(S),"storyFn"),unboundStoryFn:l.unboundStoryFn},S.canvasElement);A&&$e.push(A)}),S.mount=l.mount(S),S},"initializeContext"),E,C=c(async S=>{let A=g();return A.canvasElement??=globalThis?.document?.body,E&&(A.loaded=E.loaded),Object.assign(A,S),l.playFunction(A)},"play"),v=c(S=>{let A=g();return Object.assign(A,S),Qa(l,A)},"run"),b=l.playFunction?C:void 0;return Object.assign(c(function(S){let A=g();return E&&(A.loaded=E.loaded),A.args={...A.initialArgs,...S},l.unboundStoryFn(A)},"storyFn"),{id:l.id,storyName:u,load:c(async()=>{for(let A of[...$e].reverse())await A();$e.length=0;let S=g();S.loaded=await l.applyLoaders(S),$e.push(...(await l.applyBeforeEach(S)).filter(Boolean)),E=S},"load"),globals:h,args:l.initialArgs,parameters:l.parameters,argTypes:l.argTypes,play:b,run:v,reporting:f,tags:l.tags})}c(Ja,"composeStory");var Dl=c((t,e,r,n)=>Ja(t,e,r,{},n),"defaultComposeStory");function xl(t,e,r=Dl){let{default:n,__esModule:o,__namedExportsOrder:a,...u}=t,i=n;return Object.entries(u).reduce((s,[l,h])=>{let{story:f,meta:g}=Ka(h);return!i&&g&&(i=g),at(l,i)?Object.assign(s,{[l]:r(f,i,e,l)}):s},{})}c(xl,"composeStories");function Tl(t){return t.extend({mount:c(async({mount:e,page:r},n)=>{await n(async(o,...a)=>{if(!("__pw_type"in o)||"__pw_type"in o&&o.__pw_type!=="jsx")throw new Error(le` - Portable stories in Playwright CT only work when referencing JSX elements. - Please use JSX format for your components such as: - - instead of: - await mount(MyComponent, { props: { foo: 'bar' } }) - - do: - await mount() - - More info: https://storybook.js.org/docs/api/portable-stories-playwright - `);await r.evaluate(async i=>{let s=await globalThis.__pwUnwrapObject?.(i);return("__pw_type"in s?s.type:s)?.load?.()},o);let u=await e(o,...a);return await r.evaluate(async i=>{let s=await globalThis.__pwUnwrapObject?.(i),l="__pw_type"in s?s.type:s,h=document.querySelector("#root");return l?.play?.({canvasElement:h})},o),u})},"mount")})}c(Tl,"createPlaywrightTest");async function Qa(t,e){for(let o of[...$e].reverse())await o();if($e.length=0,!e.canvasElement){let o=document.createElement("div");globalThis?.document?.body?.appendChild(o),e.canvasElement=o,$e.push(()=>{globalThis?.document?.body?.contains(o)&&globalThis?.document?.body?.removeChild(o)})}if(e.loaded=await t.applyLoaders(e),e.abortSignal.aborted)return;$e.push(...(await t.applyBeforeEach(e)).filter(Boolean));let r=t.playFunction,n=t.usesMount;n||await e.mount(),!e.abortSignal.aborted&&(r&&(n||(e.mount=async()=>{throw new Ut({playFunction:r.toString()})}),await r(e)),await t.applyAfterEach(e))}c(Qa,"runStory");function Gr(t,e){return xa(Ta(t,e),r=>r===void 0)}c(Gr,"picky");var oa=1e3,Rl=1e4,Za=class{constructor(e,r,n){this.importFn=r,this.getStoriesJsonData=c(()=>{let u=this.getSetStoriesPayload(),i=["fileName","docsOnly","framework","__id","__isArgsStory"];return{v:3,stories:Ze(u.stories,s=>{let{importPath:l}=this.storyIndex.entries[s.id];return{...Gr(s,["id","name","title"]),importPath:l,kind:s.title,story:s.name,parameters:{...Gr(s.parameters,i),fileName:l}}})}},"getStoriesJsonData"),this.storyIndex=new pl(e),this.projectAnnotations=ut(n);let{initialGlobals:o,globalTypes:a}=this.projectAnnotations;this.args=new il,this.userGlobals=new sl({globals:o,globalTypes:a}),this.hooks={},this.cleanupCallbacks={},this.processCSFFileWithCache=(0,Pr.default)(oa)(ja),this.prepareMetaWithCache=(0,Pr.default)(oa)(za),this.prepareStoryWithCache=(0,Pr.default)(Rl)(sn)}setProjectAnnotations(e){this.projectAnnotations=ut(e);let{initialGlobals:r,globalTypes:n}=e;this.userGlobals.set({globals:r,globalTypes:n})}async onStoriesChanged({importFn:e,storyIndex:r}){e&&(this.importFn=e),r&&(this.storyIndex.entries=r.entries),this.cachedCSFFiles&&await this.cacheAllCSFFiles()}async storyIdToEntry(e){return this.storyIndex.storyIdToEntry(e)}async loadCSFFileByStoryId(e){let{importPath:r,title:n}=this.storyIndex.storyIdToEntry(e),o=await this.importFn(r);return this.processCSFFileWithCache(o,r,n)}async loadAllCSFFiles(){let e={};return Object.entries(this.storyIndex.entries).forEach(([r,{importPath:n}])=>{e[n]=r}),(await Promise.all(Object.entries(e).map(async([r,n])=>({importPath:r,csfFile:await this.loadCSFFileByStoryId(n)})))).reduce((r,{importPath:n,csfFile:o})=>(r[n]=o,r),{})}async cacheAllCSFFiles(){this.cachedCSFFiles=await this.loadAllCSFFiles()}preparedMetaFromCSFFile({csfFile:e}){let r=e.meta;return this.prepareMetaWithCache(r,this.projectAnnotations,e.moduleExports.default)}async loadStory({storyId:e}){let r=await this.loadCSFFileByStoryId(e);return this.storyFromCSFFile({storyId:e,csfFile:r})}storyFromCSFFile({storyId:e,csfFile:r}){let n=r.stories[e];if(!n)throw new No({storyId:e});let o=r.meta,a=this.prepareStoryWithCache(n,o,r.projectAnnotations??this.projectAnnotations);return this.args.setInitial(a),this.hooks[a.id]=this.hooks[a.id]||new wa,a}componentStoriesFromCSFFile({csfFile:e}){return Object.keys(this.storyIndex.entries).filter(r=>!!e.stories[r]).map(r=>this.storyFromCSFFile({storyId:r,csfFile:e}))}async loadEntry(e){let r=await this.storyIdToEntry(e),n=r.type==="docs"?r.storiesImports:[],[o,...a]=await Promise.all([this.importFn(r.importPath),...n.map(u=>{let i=this.storyIndex.importPathToEntry(u);return this.loadCSFFileByStoryId(i.id)})]);return{entryExports:o,csfFiles:a}}getStoryContext(e,{forceInitialArgs:r=!1}={}){let n=this.userGlobals.get(),{initialGlobals:o}=this.userGlobals,a=new Ya;return cn({...e,args:r?e.initialArgs:this.args.get(e.id),initialGlobals:o,globalTypes:this.projectAnnotations.globalTypes,userGlobals:n,reporting:a,globals:{...n,...e.storyGlobals},hooks:this.hooks[e.id]})}addCleanupCallbacks(e,r){this.cleanupCallbacks[e.id]=r}async cleanupStory(e){this.hooks[e.id].clean();let r=this.cleanupCallbacks[e.id];if(r)for(let n of[...r].reverse())await n();delete this.cleanupCallbacks[e.id]}extract(e={includeDocsOnly:!1}){let{cachedCSFFiles:r}=this;if(!r)throw new Co;return Object.entries(this.storyIndex.entries).reduce((n,[o,{type:a,importPath:u}])=>{if(a==="docs")return n;let i=r[u],s=this.storyFromCSFFile({storyId:o,csfFile:i});return!e.includeDocsOnly&&s.parameters.docsOnly||(n[o]=Object.entries(s).reduce((l,[h,f])=>h==="moduleExport"||typeof f=="function"?l:Array.isArray(f)?Object.assign(l,{[h]:f.slice().sort()}):Object.assign(l,{[h]:f}),{args:s.initialArgs,globals:{...this.userGlobals.initialGlobals,...this.userGlobals.globals,...s.storyGlobals}})),n},{})}getSetStoriesPayload(){let e=this.extract({includeDocsOnly:!0}),r=Object.values(e).reduce((n,{title:o})=>(n[o]={},n),{});return{v:2,globals:this.userGlobals.get(),globalParameters:{},kindParameters:r,stories:e}}raw(){return Ne("StoryStore.raw() is deprecated and will be removed in 9.0, please use extract() instead"),Object.values(this.extract()).map(({id:e})=>this.fromId(e)).filter(Boolean)}fromId(e){if(Ne("StoryStore.fromId() is deprecated and will be removed in 9.0, please use loadStory() instead"),!this.cachedCSFFiles)throw new Error("Cannot call fromId/raw() unless you call cacheAllCSFFiles() first.");let r;try{({importPath:r}=this.storyIndex.storyIdToEntry(e))}catch{return null}let n=this.cachedCSFFiles[r],o=this.storyFromCSFFile({storyId:e,csfFile:n});return{...o,storyFn:c(a=>{let u={...this.getStoryContext(o),abortSignal:new AbortController().signal,canvasElement:null,loaded:{},step:c((i,s)=>o.runStep(i,s,u),"step"),context:null,mount:null,canvas:{},viewMode:"story"};return o.unboundStoryFn({...u,...a})},"storyFn")}}};c(Za,"StoryStore");var _l=Za;function eu(t){return t.startsWith("\\\\?\\")?t:t.replace(/\\/g,"/")}c(eu,"slash");var Ol=c(t=>{if(t.length===0)return t;let e=t[t.length-1],r=e?.replace(/(?:[.](?:story|stories))?([.][^.]+)$/i,"");if(t.length===1)return[r];let n=t[t.length-2];return r&&n&&r.toLowerCase()===n.toLowerCase()?[...t.slice(0,-2),r]:r&&(/^(story|stories)([.][^.]+)$/i.test(e)||/^index$/i.test(r))?t.slice(0,-1):[...t.slice(0,-1),r]},"sanitize");function Vr(t){return t.flatMap(e=>e.split("/")).filter(Boolean).join("/")}c(Vr,"pathJoin");var Fl=c((t,e,r)=>{let{directory:n,importPathMatcher:o,titlePrefix:a=""}=e||{};typeof t=="number"&&Me.warn(le` - CSF Auto-title received a numeric fileName. This typically happens when - webpack is mis-configured in production mode. To force webpack to produce - filenames, set optimization.moduleIds = "named" in your webpack config. - `);let u=eu(String(t));if(o.exec(u)){if(!r){let i=u.replace(n,""),s=Vr([a,i]).split("/");return s=Ol(s),s.join("/")}return a?Vr([a,r]):r}},"userOrAutoTitleFromSpecifier"),x0=c((t,e,r)=>{for(let n=0;n(e,r)=>{if(e.title===r.title&&!t.includeNames)return 0;let n=t.method||"configure",o=t.order||[],a=e.title.trim().split(aa),u=r.title.trim().split(aa);t.includeNames&&(a.push(e.name),u.push(r.name));let i=0;for(;a[i]||u[i];){if(!a[i])return-1;if(!u[i])return 1;let s=a[i],l=u[i];if(s!==l){let f=o.indexOf(s),g=o.indexOf(l),E=o.indexOf("*");return f!==-1||g!==-1?(f===-1&&(E!==-1?f=E:f=o.length),g===-1&&(E!==-1?g=E:g=o.length),f-g):n==="configure"?0:s.localeCompare(l,t.locales?t.locales:void 0,{numeric:!0,sensitivity:"accent"})}let h=o.indexOf(s);h===-1&&(h=o.indexOf("*")),o=h!==-1&&Array.isArray(o[h+1])?o[h+1]:[],i+=1}return 0},"storySort"),Bl=c((t,e,r)=>{if(e){let n;typeof e=="function"?n=e:n=Il(e),t.sort(n)}else t.sort((n,o)=>r.indexOf(n.importPath)-r.indexOf(o.importPath));return t},"sortStoriesCommon"),T0=c((t,e,r)=>{try{return Bl(t,e,r)}catch(n){throw new Error(le` - Error sorting stories with sort parameter ${e}: - - > ${n.message} - - Are you using a V6-style sort function in V7 mode? - - More info: https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#v7-style-story-sort - `)}},"sortStoriesV7"),tr=new Error("prepareAborted"),{AbortController:ua}=globalThis;function Wr(t){try{let{name:e="Error",message:r=String(t),stack:n}=t;return{name:e,message:r,stack:n}}catch{return{name:"Error",message:String(t)}}}c(Wr,"serializeError");var tu=class{constructor(e,r,n,o,a,u,i={autoplay:!0,forceInitialArgs:!1},s){this.channel=e,this.store=r,this.renderToScreen=n,this.callbacks=o,this.id=a,this.viewMode=u,this.renderOptions=i,this.type="story",this.notYetRendered=!0,this.rerenderEnqueued=!1,this.disableKeyListeners=!1,this.teardownRender=c(()=>{},"teardownRender"),this.torndown=!1,this.abortController=new ua,s&&(this.story=s,this.phase="preparing")}async runPhase(e,r,n){this.phase=r,this.channel.emit(Pe,{newPhase:this.phase,storyId:this.id}),n&&(await n(),this.checkIfAborted(e))}checkIfAborted(e){return e.aborted?(this.phase="aborted",this.channel.emit(Pe,{newPhase:this.phase,storyId:this.id}),!0):!1}async prepare(){if(await this.runPhase(this.abortController.signal,"preparing",async()=>{this.story=await this.store.loadStory({storyId:this.id})}),this.abortController.signal.aborted)throw await this.store.cleanupStory(this.story),tr}isEqual(e){return!!(this.id===e.id&&this.story&&this.story===e.story)}isPreparing(){return["preparing"].includes(this.phase)}isPending(){return["loading","beforeEach","rendering","playing","afterEach"].includes(this.phase)}async renderToElement(e){return this.canvasElement=e,this.render({initial:!0,forceRemount:!0})}storyContext(){if(!this.story)throw new Error("Cannot call storyContext before preparing");let{forceInitialArgs:e}=this.renderOptions;return this.store.getStoryContext(this.story,{forceInitialArgs:e})}async render({initial:e=!1,forceRemount:r=!1}={}){let{canvasElement:n}=this;if(!this.story)throw new Error("cannot render when not prepared");let o=this.story;if(!n)throw new Error("cannot render when canvasElement is unset");let{id:a,componentId:u,title:i,name:s,tags:l,applyLoaders:h,applyBeforeEach:f,applyAfterEach:g,unboundStoryFn:E,playFunction:C,runStep:v}=o;r&&!e&&(this.cancelRender(),this.abortController=new ua);let b=this.abortController.signal,S=!1,A=o.usesMount;try{let D={...this.storyContext(),viewMode:this.viewMode,abortSignal:b,canvasElement:n,loaded:{},step:c((L,q)=>v(L,q,D),"step"),context:null,canvas:{},renderToCanvas:c(async()=>{let L=await this.renderToScreen(_,n);this.teardownRender=L||(()=>{}),S=!0},"renderToCanvas"),mount:c(async(...L)=>{this.callbacks.showStoryDuringRender?.();let q=null;return await this.runPhase(b,"rendering",async()=>{q=await o.mount(D)(...L)}),A&&await this.runPhase(b,"playing"),q},"mount")};D.context=D;let _={componentId:u,title:i,kind:i,id:a,name:s,story:s,tags:l,...this.callbacks,showError:c(L=>(this.phase="errored",this.callbacks.showError(L)),"showError"),showException:c(L=>(this.phase="errored",this.callbacks.showException(L)),"showException"),forceRemount:r||this.notYetRendered,storyContext:D,storyFn:c(()=>E(D),"storyFn"),unboundStoryFn:E};if(await this.runPhase(b,"loading",async()=>{D.loaded=await h(D)}),b.aborted)return;let P=await f(D);if(this.store.addCleanupCallbacks(o,P),this.checkIfAborted(b)||(!S&&!A&&await D.mount(),this.notYetRendered=!1,b.aborted))return;let R=this.story.parameters?.test?.dangerouslyIgnoreUnhandledErrors===!0,T=new Set,O=c(L=>T.add("error"in L?L.error:L.reason),"onError");if(this.renderOptions.autoplay&&r&&C&&this.phase!=="errored"){window.addEventListener("error",O),window.addEventListener("unhandledrejection",O),this.disableKeyListeners=!0;try{if(A?await C(D):(D.mount=async()=>{throw new Ut({playFunction:C.toString()})},await this.runPhase(b,"playing",async()=>C(D))),!S)throw new Uo;this.checkIfAborted(b),!R&&T.size>0?await this.runPhase(b,"errored"):await this.runPhase(b,"played")}catch(L){if(this.callbacks.showStoryDuringRender?.(),await this.runPhase(b,"errored",async()=>{this.channel.emit(Nt,Wr(L))}),this.story.parameters.throwPlayFunctionExceptions!==!1)throw L;console.error(L)}if(!R&&T.size>0&&this.channel.emit(kt,Array.from(T).map(Wr)),this.disableKeyListeners=!1,window.removeEventListener("unhandledrejection",O),window.removeEventListener("error",O),b.aborted)return}await this.runPhase(b,"completed",async()=>this.channel.emit(Et,a)),this.phase!=="errored"&&await this.runPhase(b,"afterEach",async()=>{await g(D)});let B=!R&&T.size>0,j=D.reporting.reports.some(L=>L.status==="failed"),M=B||j;await this.runPhase(b,"finished",async()=>this.channel.emit(Dr,{storyId:a,status:M?"error":"success",reporters:D.reporting.reports}))}catch(D){this.phase="errored",this.callbacks.showException(D),await this.runPhase(b,"finished",async()=>this.channel.emit(Dr,{storyId:a,status:"error",reporters:[]}))}this.rerenderEnqueued&&(this.rerenderEnqueued=!1,this.render())}async rerender(){if(this.isPending()&&this.phase!=="playing")this.rerenderEnqueued=!0;else return this.render()}async remount(){return await this.teardown(),this.render({forceRemount:!0})}cancelRender(){this.abortController?.abort()}async teardown(){this.torndown=!0,this.cancelRender(),this.story&&await this.store.cleanupStory(this.story);for(let e=0;e<3;e+=1){if(!this.isPending()){await this.teardownRender();return}await new Promise(r=>setTimeout(r,0))}window.location.reload(),await new Promise(()=>{})}};c(tu,"StoryRender");var Yr=tu,{fetch:Pl}=de,Nl="./index.json",ru=class{constructor(e,r,n=ze.getChannel(),o=!0){this.importFn=e,this.getProjectAnnotations=r,this.channel=n,this.storyRenders=[],this.storeInitializationPromise=new Promise((a,u)=>{this.resolveStoreInitializationPromise=a,this.rejectStoreInitializationPromise=u}),o&&this.initialize()}get storyStore(){return new Proxy({},{get:c((e,r)=>{if(this.storyStoreValue)return Ne("Accessing the Story Store is deprecated and will be removed in 9.0"),this.storyStoreValue[r];throw new jo},"get")})}async initialize(){this.setupListeners();try{let e=await this.getProjectAnnotationsOrRenderError();await this.runBeforeAllHook(e),await this.initializeWithProjectAnnotations(e)}catch(e){this.rejectStoreInitializationPromise(e)}}ready(){return this.storeInitializationPromise}setupListeners(){this.channel.on(po,this.onStoryIndexChanged.bind(this)),this.channel.on(Mt,this.onUpdateGlobals.bind(this)),this.channel.on(qt,this.onUpdateArgs.bind(this)),this.channel.on(ro,this.onRequestArgTypesInfo.bind(this)),this.channel.on(Lt,this.onResetArgs.bind(this)),this.channel.on(Pt,this.onForceReRender.bind(this)),this.channel.on(bt,this.onForceRemount.bind(this))}async getProjectAnnotationsOrRenderError(){try{let e=await this.getProjectAnnotations();if(this.renderToCanvas=e.renderToCanvas,!this.renderToCanvas)throw new vo;return e}catch(e){throw this.renderPreviewEntryError("Error reading preview.js:",e),e}}async initializeWithProjectAnnotations(e){this.projectAnnotationsBeforeInitialization=e;try{let r=await this.getStoryIndexFromServer();return this.initializeWithStoryIndex(r)}catch(r){throw this.renderPreviewEntryError("Error loading story index:",r),r}}async runBeforeAllHook(e){try{await this.beforeAllCleanup?.(),this.beforeAllCleanup=await e.beforeAll?.()}catch(r){throw this.renderPreviewEntryError("Error in beforeAll hook:",r),r}}async getStoryIndexFromServer(){let e=await Pl(Nl);if(e.status===200)return e.json();throw new To({text:await e.text()})}initializeWithStoryIndex(e){if(!this.projectAnnotationsBeforeInitialization)throw new Error("Cannot call initializeWithStoryIndex until project annotations resolve");this.storyStoreValue=new _l(e,this.importFn,this.projectAnnotationsBeforeInitialization),delete this.projectAnnotationsBeforeInitialization,this.setInitialGlobals(),this.resolveStoreInitializationPromise()}async setInitialGlobals(){this.emitGlobals()}emitGlobals(){if(!this.storyStoreValue)throw new Ee({methodName:"emitGlobals"});let e={globals:this.storyStoreValue.userGlobals.get()||{},globalTypes:this.storyStoreValue.projectAnnotations.globalTypes||{}};this.channel.emit(io,e)}async onGetProjectAnnotationsChanged({getProjectAnnotations:e}){delete this.previewEntryError,this.getProjectAnnotations=e;let r=await this.getProjectAnnotationsOrRenderError();if(await this.runBeforeAllHook(r),!this.storyStoreValue){await this.initializeWithProjectAnnotations(r);return}this.storyStoreValue.setProjectAnnotations(r),this.emitGlobals()}async onStoryIndexChanged(){if(delete this.previewEntryError,!(!this.storyStoreValue&&!this.projectAnnotationsBeforeInitialization))try{let e=await this.getStoryIndexFromServer();if(this.projectAnnotationsBeforeInitialization){this.initializeWithStoryIndex(e);return}await this.onStoriesChanged({storyIndex:e})}catch(e){throw this.renderPreviewEntryError("Error loading story index:",e),e}}async onStoriesChanged({importFn:e,storyIndex:r}){if(!this.storyStoreValue)throw new Ee({methodName:"onStoriesChanged"});await this.storyStoreValue.onStoriesChanged({importFn:e,storyIndex:r})}async onUpdateGlobals({globals:e,currentStory:r}){if(this.storyStoreValue||await this.storeInitializationPromise,!this.storyStoreValue)throw new Ee({methodName:"onUpdateGlobals"});if(this.storyStoreValue.userGlobals.update(e),r){let{initialGlobals:n,storyGlobals:o,userGlobals:a,globals:u}=this.storyStoreValue.getStoryContext(r);this.channel.emit(ot,{initialGlobals:n,userGlobals:a,storyGlobals:o,globals:u})}else{let{initialGlobals:n,globals:o}=this.storyStoreValue.userGlobals;this.channel.emit(ot,{initialGlobals:n,userGlobals:o,storyGlobals:{},globals:o})}await Promise.all(this.storyRenders.map(n=>n.rerender()))}async onUpdateArgs({storyId:e,updatedArgs:r}){if(!this.storyStoreValue)throw new Ee({methodName:"onUpdateArgs"});this.storyStoreValue.args.update(e,r),await Promise.all(this.storyRenders.filter(n=>n.id===e&&!n.renderOptions.forceInitialArgs).map(n=>n.story&&n.story.usesMount?n.remount():n.rerender())),this.channel.emit(so,{storyId:e,args:this.storyStoreValue.args.get(e)})}async onRequestArgTypesInfo({id:e,payload:r}){try{await this.storeInitializationPromise;let n=await this.storyStoreValue?.loadStory(r);this.channel.emit(Cr,{id:e,success:!0,payload:{argTypes:n?.argTypes||{}},error:null})}catch(n){this.channel.emit(Cr,{id:e,success:!1,error:n?.message})}}async onResetArgs({storyId:e,argNames:r}){if(!this.storyStoreValue)throw new Ee({methodName:"onResetArgs"});let n=this.storyRenders.find(a=>a.id===e)?.story||await this.storyStoreValue.loadStory({storyId:e}),o=(r||[...new Set([...Object.keys(n.initialArgs),...Object.keys(this.storyStoreValue.args.get(e))])]).reduce((a,u)=>(a[u]=n.initialArgs[u],a),{});await this.onUpdateArgs({storyId:e,updatedArgs:o})}async onForceReRender(){await Promise.all(this.storyRenders.map(e=>e.rerender()))}async onForceRemount({storyId:e}){await Promise.all(this.storyRenders.filter(r=>r.id===e).map(r=>r.remount()))}renderStoryToElement(e,r,n,o){if(!this.renderToCanvas||!this.storyStoreValue)throw new Ee({methodName:"renderStoryToElement"});let a=new Yr(this.channel,this.storyStoreValue,this.renderToCanvas,n,e.id,"docs",o,e);return a.renderToElement(r),this.storyRenders.push(a),async()=>{await this.teardownRender(a)}}async teardownRender(e,{viewModeChanged:r}={}){this.storyRenders=this.storyRenders.filter(n=>n!==e),await e?.teardown?.({viewModeChanged:r})}async loadStory({storyId:e}){if(!this.storyStoreValue)throw new Ee({methodName:"loadStory"});return this.storyStoreValue.loadStory({storyId:e})}getStoryContext(e,{forceInitialArgs:r=!1}={}){if(!this.storyStoreValue)throw new Ee({methodName:"getStoryContext"});return this.storyStoreValue.getStoryContext(e,{forceInitialArgs:r})}async extract(e){if(!this.storyStoreValue)throw new Ee({methodName:"extract"});if(this.previewEntryError)throw this.previewEntryError;return await this.storyStoreValue.cacheAllCSFFiles(),this.storyStoreValue.extract(e)}renderPreviewEntryError(e,r){this.previewEntryError=r,X.error(e),X.error(r),this.channel.emit(no,r)}};c(ru,"Preview");var Ll=ru,jl=!1,Nr="Invariant failed";function Vt(t,e){if(!t){if(jl)throw new Error(Nr);var r=typeof e=="function"?e():e,n=r?"".concat(Nr,": ").concat(r):Nr;throw new Error(n)}}c(Vt,"invariant");var nu=class{constructor(e,r,n,o){this.channel=e,this.store=r,this.renderStoryToElement=n,this.storyIdByName=c(a=>{let u=this.nameToStoryId.get(a);if(u)return u;throw new Error(`No story found with that name: ${a}`)},"storyIdByName"),this.componentStories=c(()=>this.componentStoriesValue,"componentStories"),this.componentStoriesFromCSFFile=c(a=>this.store.componentStoriesFromCSFFile({csfFile:a}),"componentStoriesFromCSFFile"),this.storyById=c(a=>{if(!a){if(!this.primaryStory)throw new Error("No primary story defined for docs entry. Did you forget to use ``?");return this.primaryStory}let u=this.storyIdToCSFFile.get(a);if(!u)throw new Error(`Called \`storyById\` for story that was never loaded: ${a}`);return this.store.storyFromCSFFile({storyId:a,csfFile:u})},"storyById"),this.getStoryContext=c(a=>({...this.store.getStoryContext(a),loaded:{},viewMode:"docs"}),"getStoryContext"),this.loadStory=c(a=>this.store.loadStory({storyId:a}),"loadStory"),this.componentStoriesValue=[],this.storyIdToCSFFile=new Map,this.exportToStory=new Map,this.exportsToCSFFile=new Map,this.nameToStoryId=new Map,this.attachedCSFFiles=new Set,o.forEach((a,u)=>{this.referenceCSFFile(a)})}referenceCSFFile(e){this.exportsToCSFFile.set(e.moduleExports,e),this.exportsToCSFFile.set(e.moduleExports.default,e),this.store.componentStoriesFromCSFFile({csfFile:e}).forEach(r=>{let n=e.stories[r.id];this.storyIdToCSFFile.set(n.id,e),this.exportToStory.set(n.moduleExport,r)})}attachCSFFile(e){if(!this.exportsToCSFFile.has(e.moduleExports))throw new Error("Cannot attach a CSF file that has not been referenced");this.attachedCSFFiles.has(e)||(this.attachedCSFFiles.add(e),this.store.componentStoriesFromCSFFile({csfFile:e}).forEach(r=>{this.nameToStoryId.set(r.name,r.id),this.componentStoriesValue.push(r),this.primaryStory||(this.primaryStory=r)}))}referenceMeta(e,r){let n=this.resolveModuleExport(e);if(n.type!=="meta")throw new Error(" must reference a CSF file module export or meta export. Did you mistakenly reference your component instead of your CSF file?");r&&this.attachCSFFile(n.csfFile)}get projectAnnotations(){let{projectAnnotations:e}=this.store;if(!e)throw new Error("Can't get projectAnnotations from DocsContext before they are initialized");return e}resolveAttachedModuleExportType(e){if(e==="story"){if(!this.primaryStory)throw new Error("No primary story attached to this docs file, did you forget to use ?");return{type:"story",story:this.primaryStory}}if(this.attachedCSFFiles.size===0)throw new Error("No CSF file attached to this docs file, did you forget to use ?");let r=Array.from(this.attachedCSFFiles)[0];if(e==="meta")return{type:"meta",csfFile:r};let{component:n}=r.meta;if(!n)throw new Error("Attached CSF file does not defined a component, did you forget to export one?");return{type:"component",component:n}}resolveModuleExport(e){let r=this.exportsToCSFFile.get(e);if(r)return{type:"meta",csfFile:r};let n=this.exportToStory.get(Ke(e)?e.input:e);return n?{type:"story",story:n}:{type:"component",component:e}}resolveOf(e,r=[]){let n;if(["component","meta","story"].includes(e)){let o=e;n=this.resolveAttachedModuleExportType(o)}else n=this.resolveModuleExport(e);if(r.length&&!r.includes(n.type)){let o=n.type==="component"?"component or unknown":n.type;throw new Error(le`Invalid value passed to the 'of' prop. The value was resolved to a '${o}' type but the only types for this block are: ${r.join(", ")}. - - Did you pass a component to the 'of' prop when the block only supports a story or a meta? - - ... or vice versa? - - Did you pass a story, CSF file or meta to the 'of' prop that is not indexed, ie. is not targeted by the 'stories' globs in the main configuration?`)}switch(n.type){case"component":return{...n,projectAnnotations:this.projectAnnotations};case"meta":return{...n,preparedMeta:this.store.preparedMetaFromCSFFile({csfFile:n.csfFile})};case"story":default:return n}}};c(nu,"DocsContext");var ou=nu,au=class{constructor(e,r,n,o){this.channel=e,this.store=r,this.entry=n,this.callbacks=o,this.type="docs",this.subtype="csf",this.torndown=!1,this.disableKeyListeners=!1,this.preparing=!1,this.id=n.id}isPreparing(){return this.preparing}async prepare(){this.preparing=!0;let{entryExports:e,csfFiles:r=[]}=await this.store.loadEntry(this.id);if(this.torndown)throw tr;let{importPath:n,title:o}=this.entry,a=this.store.processCSFFileWithCache(e,n,o),u=Object.keys(a.stories)[0];this.story=this.store.storyFromCSFFile({storyId:u,csfFile:a}),this.csfFiles=[a,...r],this.preparing=!1}isEqual(e){return!!(this.id===e.id&&this.story&&this.story===e.story)}docsContext(e){if(!this.csfFiles)throw new Error("Cannot render docs before preparing");let r=new ou(this.channel,this.store,e,this.csfFiles);return this.csfFiles.forEach(n=>r.attachCSFFile(n)),r}async renderToElement(e,r){if(!this.story||!this.csfFiles)throw new Error("Cannot render docs before preparing");let n=this.docsContext(r),{docs:o}=this.story.parameters||{};if(!o)throw new Error("Cannot render a story in viewMode=docs if `@storybook/addon-docs` is not installed");let a=await o.renderer(),{render:u}=a,i=c(async()=>{try{await u(n,o,e),this.channel.emit(Bt,this.id)}catch(s){this.callbacks.showException(s)}},"renderDocs");return this.rerender=async()=>i(),this.teardownRender=async({viewModeChanged:s})=>{!s||!e||a.unmount(e)},i()}async teardown({viewModeChanged:e}={}){this.teardownRender?.({viewModeChanged:e}),this.torndown=!0}};c(au,"CsfDocsRender");var ia=au,uu=class{constructor(e,r,n,o){this.channel=e,this.store=r,this.entry=n,this.callbacks=o,this.type="docs",this.subtype="mdx",this.torndown=!1,this.disableKeyListeners=!1,this.preparing=!1,this.id=n.id}isPreparing(){return this.preparing}async prepare(){this.preparing=!0;let{entryExports:e,csfFiles:r=[]}=await this.store.loadEntry(this.id);if(this.torndown)throw tr;this.csfFiles=r,this.exports=e,this.preparing=!1}isEqual(e){return!!(this.id===e.id&&this.exports&&this.exports===e.exports)}docsContext(e){if(!this.csfFiles)throw new Error("Cannot render docs before preparing");return new ou(this.channel,this.store,e,this.csfFiles)}async renderToElement(e,r){if(!this.exports||!this.csfFiles||!this.store.projectAnnotations)throw new Error("Cannot render docs before preparing");let n=this.docsContext(r),{docs:o}=this.store.projectAnnotations.parameters||{};if(!o)throw new Error("Cannot render a story in viewMode=docs if `@storybook/addon-docs` is not installed");let a={...o,page:this.exports.default},u=await o.renderer(),{render:i}=u,s=c(async()=>{try{await i(n,a,e),this.channel.emit(Bt,this.id)}catch(l){this.callbacks.showException(l)}},"renderDocs");return this.rerender=async()=>s(),this.teardownRender=async({viewModeChanged:l}={})=>{!l||!e||(u.unmount(e),this.torndown=!0)},s()}async teardown({viewModeChanged:e}={}){this.teardownRender?.({viewModeChanged:e}),this.torndown=!0}};c(uu,"MdxDocsRender");var sa=uu,kl=globalThis;function iu(t){let e=t.composedPath&&t.composedPath()[0]||t.target;return/input|textarea/i.test(e.tagName)||e.getAttribute("contenteditable")!==null}c(iu,"focusInInput");var su="attached-mdx",Ml="unattached-mdx";function lu({tags:t}){return t?.includes(Ml)||t?.includes(su)}c(lu,"isMdxEntry");function Wt(t){return t.type==="story"}c(Wt,"isStoryRender");function cu(t){return t.type==="docs"}c(cu,"isDocsRender");function pu(t){return cu(t)&&t.subtype==="csf"}c(pu,"isCsfDocsRender");var du=class extends Ll{constructor(e,r,n,o){super(e,r,void 0,!1),this.importFn=e,this.getProjectAnnotations=r,this.selectionStore=n,this.view=o,this.initialize()}setupListeners(){super.setupListeners(),kl.onkeydown=this.onKeydown.bind(this),this.channel.on(vr,this.onSetCurrentStory.bind(this)),this.channel.on(go,this.onUpdateQueryParams.bind(this)),this.channel.on(ao,this.onPreloadStories.bind(this))}async setInitialGlobals(){if(!this.storyStoreValue)throw new Ee({methodName:"setInitialGlobals"});let{globals:e}=this.selectionStore.selectionSpecifier||{};e&&this.storyStoreValue.userGlobals.updateFromPersisted(e),this.emitGlobals()}async initializeWithStoryIndex(e){return await super.initializeWithStoryIndex(e),this.selectSpecifiedStory()}async selectSpecifiedStory(){if(!this.storyStoreValue)throw new Ee({methodName:"selectSpecifiedStory"});if(this.selectionStore.selection){await this.renderSelection();return}if(!this.selectionStore.selectionSpecifier){this.renderMissingStory();return}let{storySpecifier:e,args:r}=this.selectionStore.selectionSpecifier,n=this.storyStoreValue.storyIndex.entryFromSpecifier(e);if(!n){e==="*"?this.renderStoryLoadingException(e,new Fo):this.renderStoryLoadingException(e,new Bo({storySpecifier:e.toString()}));return}let{id:o,type:a}=n;this.selectionStore.setSelection({storyId:o,viewMode:a}),this.channel.emit(fo,this.selectionStore.selection),this.channel.emit(wr,this.selectionStore.selection),await this.renderSelection({persistedArgs:r})}async onGetProjectAnnotationsChanged({getProjectAnnotations:e}){await super.onGetProjectAnnotationsChanged({getProjectAnnotations:e}),this.selectionStore.selection&&this.renderSelection()}async onStoriesChanged({importFn:e,storyIndex:r}){await super.onStoriesChanged({importFn:e,storyIndex:r}),this.selectionStore.selection?await this.renderSelection():await this.selectSpecifiedStory()}onKeydown(e){if(!this.storyRenders.find(r=>r.disableKeyListeners)&&!iu(e)){let{altKey:r,ctrlKey:n,metaKey:o,shiftKey:a,key:u,code:i,keyCode:s}=e;this.channel.emit(uo,{event:{altKey:r,ctrlKey:n,metaKey:o,shiftKey:a,key:u,code:i,keyCode:s}})}}async onSetCurrentStory(e){this.selectionStore.setSelection({viewMode:"story",...e}),await this.storeInitializationPromise,this.channel.emit(wr,this.selectionStore.selection),this.renderSelection()}onUpdateQueryParams(e){this.selectionStore.setQueryParams(e)}async onUpdateGlobals({globals:e}){let r=this.currentRender instanceof Yr&&this.currentRender.story||void 0;super.onUpdateGlobals({globals:e,currentStory:r}),(this.currentRender instanceof sa||this.currentRender instanceof ia)&&await this.currentRender.rerender?.()}async onUpdateArgs({storyId:e,updatedArgs:r}){super.onUpdateArgs({storyId:e,updatedArgs:r})}async onPreloadStories({ids:e}){await this.storeInitializationPromise,this.storyStoreValue&&await Promise.allSettled(e.map(r=>this.storyStoreValue?.loadEntry(r)))}async renderSelection({persistedArgs:e}={}){let{renderToCanvas:r}=this;if(!this.storyStoreValue||!r)throw new Ee({methodName:"renderSelection"});let{selection:n}=this.selectionStore;if(!n)throw new Error("Cannot call renderSelection as no selection was made");let{storyId:o}=n,a;try{a=await this.storyStoreValue.storyIdToEntry(o)}catch(g){this.currentRender&&await this.teardownRender(this.currentRender),this.renderStoryLoadingException(o,g);return}let u=this.currentSelection?.storyId!==o,i=this.currentRender?.type!==a.type;a.type==="story"?this.view.showPreparingStory({immediate:i}):this.view.showPreparingDocs({immediate:i}),this.currentRender?.isPreparing()&&await this.teardownRender(this.currentRender);let s;a.type==="story"?s=new Yr(this.channel,this.storyStoreValue,r,this.mainStoryCallbacks(o),o,"story"):lu(a)?s=new sa(this.channel,this.storyStoreValue,a,this.mainStoryCallbacks(o)):s=new ia(this.channel,this.storyStoreValue,a,this.mainStoryCallbacks(o));let l=this.currentSelection;this.currentSelection=n;let h=this.currentRender;this.currentRender=s;try{await s.prepare()}catch(g){h&&await this.teardownRender(h),g!==tr&&this.renderStoryLoadingException(o,g);return}let f=!u&&h&&!s.isEqual(h);if(e&&Wt(s)&&(Vt(!!s.story),this.storyStoreValue.args.updateFromPersisted(s.story,e)),h&&!h.torndown&&!u&&!f&&!i){this.currentRender=h,this.channel.emit(mo,o),this.view.showMain();return}if(h&&await this.teardownRender(h,{viewModeChanged:i}),l&&(u||i)&&this.channel.emit(lo,o),Wt(s)){Vt(!!s.story);let{parameters:g,initialArgs:E,argTypes:C,unmappedArgs:v,initialGlobals:b,userGlobals:S,storyGlobals:A,globals:D}=this.storyStoreValue.getStoryContext(s.story);this.channel.emit(ho,{id:o,parameters:g,initialArgs:E,argTypes:C,args:v}),this.channel.emit(ot,{userGlobals:S,storyGlobals:A,globals:D,initialGlobals:b})}else{let{parameters:g}=this.storyStoreValue.projectAnnotations,{initialGlobals:E,globals:C}=this.storyStoreValue.userGlobals;if(this.channel.emit(ot,{globals:C,initialGlobals:E,storyGlobals:{},userGlobals:C}),pu(s)||s.entry.tags?.includes(su)){if(!s.csfFiles)throw new _o({storyId:o});({parameters:g}=this.storyStoreValue.preparedMetaFromCSFFile({csfFile:s.csfFiles[0]}))}this.channel.emit(oo,{id:o,parameters:g})}Wt(s)?(Vt(!!s.story),this.storyRenders.push(s),this.currentRender.renderToElement(this.view.prepareForStory(s.story))):this.currentRender.renderToElement(this.view.prepareForDocs(),this.renderStoryToElement.bind(this))}async teardownRender(e,{viewModeChanged:r=!1}={}){this.storyRenders=this.storyRenders.filter(n=>n!==e),await e?.teardown?.({viewModeChanged:r})}mainStoryCallbacks(e){return{showStoryDuringRender:c(()=>this.view.showStoryDuringRender(),"showStoryDuringRender"),showMain:c(()=>this.view.showMain(),"showMain"),showError:c(r=>this.renderError(e,r),"showError"),showException:c(r=>this.renderException(e,r),"showException")}}renderPreviewEntryError(e,r){super.renderPreviewEntryError(e,r),this.view.showErrorDisplay(r)}renderMissingStory(){this.view.showNoPreview(),this.channel.emit(xr)}renderStoryLoadingException(e,r){X.error(r),this.view.showErrorDisplay(r),this.channel.emit(xr,e)}renderException(e,r){let{name:n="Error",message:o=String(r),stack:a}=r;this.channel.emit(jt,{name:n,message:o,stack:a}),this.channel.emit(Pe,{newPhase:"errored",storyId:e}),this.view.showErrorDisplay(r),X.error(`Error rendering story '${e}':`),X.error(r)}renderError(e,{title:r,description:n}){X.error(`Error rendering story ${r}: ${n}`),this.channel.emit(co,{title:r,description:n}),this.channel.emit(Pe,{newPhase:"errored",storyId:e}),this.view.showErrorDisplay({message:r,stack:n})}};c(du,"PreviewWithSelection");var ql=du,Kr=ct(en(),1),$l=ct(en(),1),la=/^[a-zA-Z0-9 _-]*$/,hu=/^-?[0-9]+(\.[0-9]+)?$/,Ul=/^#([a-f0-9]{3,4}|[a-f0-9]{6}|[a-f0-9]{8})$/i,fu=/^(rgba?|hsla?)\(([0-9]{1,3}),\s?([0-9]{1,3})%?,\s?([0-9]{1,3})%?,?\s?([0-9](\.[0-9]{1,2})?)?\)$/i,Xr=c((t="",e)=>t===null||t===""||!la.test(t)?!1:e==null||e instanceof Date||typeof e=="number"||typeof e=="boolean"?!0:typeof e=="string"?la.test(e)||hu.test(e)||Ul.test(e)||fu.test(e):Array.isArray(e)?e.every(r=>Xr(t,r)):Re(e)?Object.entries(e).every(([r,n])=>Xr(r,n)):!1,"validateArgs"),zl={delimiter:";",nesting:!0,arrayRepeat:!0,arrayRepeatSyntax:"bracket",nestingSyntax:"js",valueDeserializer(t){if(t.startsWith("!")){if(t==="!undefined")return;if(t==="!null")return null;if(t==="!true")return!0;if(t==="!false")return!1;if(t.startsWith("!date(")&&t.endsWith(")"))return new Date(t.replaceAll(" ","+").slice(6,-1));if(t.startsWith("!hex(")&&t.endsWith(")"))return`#${t.slice(5,-1)}`;let e=t.slice(1).match(fu);if(e)return t.startsWith("!rgba")||t.startsWith("!RGBA")?`${e[1]}(${e[2]}, ${e[3]}, ${e[4]}, ${e[5]})`:t.startsWith("!hsla")||t.startsWith("!HSLA")?`${e[1]}(${e[2]}, ${e[3]}%, ${e[4]}%, ${e[5]})`:t.startsWith("!rgb")||t.startsWith("!RGB")?`${e[1]}(${e[2]}, ${e[3]}, ${e[4]})`:`${e[1]}(${e[2]}, ${e[3]}%, ${e[4]}%)`}return hu.test(t)?Number(t):t}},ca=c(t=>{let e=t.split(";").map(r=>r.replace("=","~").replace(":","="));return Object.entries((0,$l.parse)(e.join(";"),zl)).reduce((r,[n,o])=>Xr(n,o)?Object.assign(r,{[n]:o}):(Me.warn(le` - Omitted potentially unsafe URL args. - - More info: https://storybook.js.org/docs/writing-stories/args#setting-args-through-the-url - `),r),{})},"parseArgsParam"),{history:mu,document:Ue}=de;function gu(t){let e=(t||"").match(/^\/story\/(.+)/);if(!e)throw new Error(`Invalid path '${t}', must start with '/story/'`);return e[1]}c(gu,"pathToId");var yu=c(({selection:t,extraParams:e})=>{let r=Ue?.location.search.slice(1),{path:n,selectedKind:o,selectedStory:a,...u}=(0,Kr.parse)(r);return`?${(0,Kr.stringify)({...u,...e,...t&&{id:t.storyId,viewMode:t.viewMode}})}`},"getQueryString"),Hl=c(t=>{if(!t)return;let e=yu({selection:t}),{hash:r=""}=Ue.location;Ue.title=t.storyId,mu.replaceState({},"",`${Ue.location.pathname}${e}${r}`)},"setPath"),Gl=c(t=>t!=null&&typeof t=="object"&&Array.isArray(t)===!1,"isObject"),Ct=c(t=>{if(t!==void 0){if(typeof t=="string")return t;if(Array.isArray(t))return Ct(t[0]);if(Gl(t))return Ct(Object.values(t).filter(Boolean))}},"getFirstString"),Vl=c(()=>{if(typeof Ue<"u"){let t=Ue.location.search.slice(1),e=(0,Kr.parse)(t),r=typeof e.args=="string"?ca(e.args):void 0,n=typeof e.globals=="string"?ca(e.globals):void 0,o=Ct(e.viewMode);(typeof o!="string"||!o.match(/docs|story/))&&(o="story");let a=Ct(e.path),u=a?gu(a):Ct(e.id);if(u)return{storySpecifier:u,args:r,globals:n,viewMode:o}}return null},"getSelectionSpecifierFromPath"),bu=class{constructor(){this.selectionSpecifier=Vl()}setSelection(e){this.selection=e,Hl(this.selection)}setQueryParams(e){let r=yu({extraParams:e}),{hash:n=""}=Ue.location;mu.replaceState({},"",`${Ue.location.pathname}${r}${n}`)}};c(bu,"UrlStore");var Wl=bu,Yl=ct(Es(),1),Kl=ct(en(),1),{document:me}=de,pa=100,Eu=(t=>(t.MAIN="MAIN",t.NOPREVIEW="NOPREVIEW",t.PREPARING_STORY="PREPARING_STORY",t.PREPARING_DOCS="PREPARING_DOCS",t.ERROR="ERROR",t))(Eu||{}),Lr={PREPARING_STORY:"sb-show-preparing-story",PREPARING_DOCS:"sb-show-preparing-docs",MAIN:"sb-show-main",NOPREVIEW:"sb-show-nopreview",ERROR:"sb-show-errordisplay"},jr={centered:"sb-main-centered",fullscreen:"sb-main-fullscreen",padded:"sb-main-padded"},da=new Yl.default({escapeXML:!0}),Au=class{constructor(){if(this.testing=!1,typeof me<"u"){let{__SPECIAL_TEST_PARAMETER__:e}=(0,Kl.parse)(me.location.search.slice(1));switch(e){case"preparing-story":{this.showPreparingStory(),this.testing=!0;break}case"preparing-docs":{this.showPreparingDocs(),this.testing=!0;break}default:}}}prepareForStory(e){return this.showStory(),this.applyLayout(e.parameters.layout),me.documentElement.scrollTop=0,me.documentElement.scrollLeft=0,this.storyRoot()}storyRoot(){return me.getElementById("storybook-root")}prepareForDocs(){return this.showMain(),this.showDocs(),this.applyLayout("fullscreen"),me.documentElement.scrollTop=0,me.documentElement.scrollLeft=0,this.docsRoot()}docsRoot(){return me.getElementById("storybook-docs")}applyLayout(e="padded"){if(e==="none"){me.body.classList.remove(this.currentLayoutClass),this.currentLayoutClass=null;return}this.checkIfLayoutExists(e);let r=jr[e];me.body.classList.remove(this.currentLayoutClass),me.body.classList.add(r),this.currentLayoutClass=r}checkIfLayoutExists(e){jr[e]||X.warn(le` - The desired layout: ${e} is not a valid option. - The possible options are: ${Object.keys(jr).join(", ")}, none. - `)}showMode(e){clearTimeout(this.preparingTimeout),Object.keys(Eu).forEach(r=>{r===e?me.body.classList.add(Lr[r]):me.body.classList.remove(Lr[r])})}showErrorDisplay({message:e="",stack:r=""}){let n=e,o=r,a=e.split(` -`);a.length>1&&([n]=a,o=a.slice(1).join(` -`).replace(/^\n/,"")),me.getElementById("error-message").innerHTML=da.toHtml(n),me.getElementById("error-stack").innerHTML=da.toHtml(o),this.showMode("ERROR")}showNoPreview(){this.testing||(this.showMode("NOPREVIEW"),this.storyRoot()?.setAttribute("hidden","true"),this.docsRoot()?.setAttribute("hidden","true"))}showPreparingStory({immediate:e=!1}={}){clearTimeout(this.preparingTimeout),e?this.showMode("PREPARING_STORY"):this.preparingTimeout=setTimeout(()=>this.showMode("PREPARING_STORY"),pa)}showPreparingDocs({immediate:e=!1}={}){clearTimeout(this.preparingTimeout),e?this.showMode("PREPARING_DOCS"):this.preparingTimeout=setTimeout(()=>this.showMode("PREPARING_DOCS"),pa)}showMain(){this.showMode("MAIN")}showDocs(){this.storyRoot().setAttribute("hidden","true"),this.docsRoot().removeAttribute("hidden")}showStory(){this.docsRoot().setAttribute("hidden","true"),this.storyRoot().removeAttribute("hidden")}showStoryDuringRender(){me.body.classList.add(Lr.MAIN)}};c(Au,"WebView");var Xl=Au,Jl=class extends ql{constructor(e,r){super(e,r,new Wl,new Xl),this.importFn=e,this.getProjectAnnotations=r,de.__STORYBOOK_PREVIEW__=this}};c(Jl,"PreviewWeb");var{document:Qe}=de,Ql=["application/javascript","application/ecmascript","application/x-ecmascript","application/x-javascript","text/ecmascript","text/javascript","text/javascript1.0","text/javascript1.1","text/javascript1.2","text/javascript1.3","text/javascript1.4","text/javascript1.5","text/jscript","text/livescript","text/x-ecmascript","text/x-javascript","module"],Zl="script",ha="scripts-root";function Jr(){let t=Qe.createEvent("Event");t.initEvent("DOMContentLoaded",!0,!0),Qe.dispatchEvent(t)}c(Jr,"simulateDOMContentLoaded");function Su(t,e,r){let n=Qe.createElement("script");n.type=t.type==="module"?"module":"text/javascript",t.src?(n.onload=e,n.onerror=e,n.src=t.src):n.textContent=t.innerText,r?r.appendChild(n):Qe.head.appendChild(n),t.parentNode.removeChild(t),t.src||e()}c(Su,"insertScript");function pn(t,e,r=0){t[r](()=>{r++,r===t.length?e():pn(t,e,r)})}c(pn,"insertScriptsSequentially");function ec(t){let e=Qe.getElementById(ha);e?e.innerHTML="":(e=Qe.createElement("div"),e.id=ha,Qe.body.appendChild(e));let r=Array.from(t.querySelectorAll(Zl));if(r.length){let n=[];r.forEach(o=>{let a=o.getAttribute("type");(!a||Ql.includes(a))&&n.push(u=>Su(o,u,e))}),n.length&&pn(n,Jr,void 0)}else Jr()}c(ec,"simulatePageLoad");var tc=(t=>typeof be<"u"?be:typeof Proxy<"u"?new Proxy(t,{get:(e,r)=>(typeof be<"u"?be:e)[r]}):t)(function(t){if(typeof be<"u")return be.apply(this,arguments);throw Error('Dynamic require of "'+t+'" is not supported')}),rc={reset:[0,0],bold:[1,22,"\x1B[22m\x1B[1m"],dim:[2,22,"\x1B[22m\x1B[2m"],italic:[3,23],underline:[4,24],inverse:[7,27],hidden:[8,28],strikethrough:[9,29],black:[30,39],red:[31,39],green:[32,39],yellow:[33,39],blue:[34,39],magenta:[35,39],cyan:[36,39],white:[37,39],gray:[90,39],bgBlack:[40,49],bgRed:[41,49],bgGreen:[42,49],bgYellow:[43,49],bgBlue:[44,49],bgMagenta:[45,49],bgCyan:[46,49],bgWhite:[47,49],blackBright:[90,39],redBright:[91,39],greenBright:[92,39],yellowBright:[93,39],blueBright:[94,39],magentaBright:[95,39],cyanBright:[96,39],whiteBright:[97,39],bgBlackBright:[100,49],bgRedBright:[101,49],bgGreenBright:[102,49],bgYellowBright:[103,49],bgBlueBright:[104,49],bgMagentaBright:[105,49],bgCyanBright:[106,49],bgWhiteBright:[107,49]},nc=Object.entries(rc);function mn(t){return String(t)}mn.open="";mn.close="";function oc(t=!1){let e=typeof process<"u"?process:void 0,r=e?.env||{},n=e?.argv||[];return!("NO_COLOR"in r||n.includes("--no-color"))&&("FORCE_COLOR"in r||n.includes("--color")||e?.platform==="win32"||t&&r.TERM!=="dumb"||"CI"in r)||typeof window<"u"&&!!window.chrome}function ac(t=!1){let e=oc(t),r=(u,i,s,l)=>{let h="",f=0;do h+=u.substring(f,l)+s,f=l+i.length,l=u.indexOf(i,f);while(~l);return h+u.substring(f)},n=(u,i,s=u)=>{let l=h=>{let f=String(h),g=f.indexOf(i,u.length);return~g?u+r(f,i,s,g)+i:u+f+i};return l.open=u,l.close=i,l},o={isColorSupported:e},a=u=>`\x1B[${u}m`;for(let[u,i]of nc)o[u]=e?n(a(i[0]),a(i[1]),i[2]):mn;return o}var cy=ac(!1);function uc(t,e){let r=Object.keys(t),n=e===null?r:r.sort(e);if(Object.getOwnPropertySymbols)for(let o of Object.getOwnPropertySymbols(t))Object.getOwnPropertyDescriptor(t,o).enumerable&&n.push(o);return n}function gn(t,e,r,n,o,a,u=": "){let i="",s=0,l=t.next();if(!l.done){i+=e.spacingOuter;let h=r+e.indent;for(;!l.done;){if(i+=h,s++===e.maxWidth){i+="\u2026";break}let f=a(l.value[0],e,h,n,o),g=a(l.value[1],e,h,n,o);i+=f+u+g,l=t.next(),l.done?e.min||(i+=","):i+=`,${e.spacingInner}`}i+=e.spacingOuter+r}return i}function Ou(t,e,r,n,o,a){let u="",i=0,s=t.next();if(!s.done){u+=e.spacingOuter;let l=r+e.indent;for(;!s.done;){if(u+=l,i++===e.maxWidth){u+="\u2026";break}u+=a(s.value,e,l,n,o),s=t.next(),s.done?e.min||(u+=","):u+=`,${e.spacingInner}`}u+=e.spacingOuter+r}return u}function Fu(t,e,r,n,o,a){let u="";t=t instanceof ArrayBuffer?new DataView(t):t;let i=l=>l instanceof DataView,s=i(t)?t.byteLength:t.length;if(s>0){u+=e.spacingOuter;let l=r+e.indent;for(let h=0;h0){u+=e.spacingOuter;let s=r+e.indent;for(let l=0;l{let u=t.toString();if(u==="ArrayContaining"||u==="ArrayNotContaining")return++n>e.maxDepth?`[${u}]`:`${u+dn}[${Fu(t.sample,e,r,n,o,a)}]`;if(u==="ObjectContaining"||u==="ObjectNotContaining")return++n>e.maxDepth?`[${u}]`:`${u+dn}{${Iu(t.sample,e,r,n,o,a)}}`;if(u==="StringMatching"||u==="StringNotMatching"||u==="StringContaining"||u==="StringNotContaining")return u+dn+a(t.sample,e,r,n,o);if(typeof t.toAsymmetricMatcher!="function")throw new TypeError(`Asymmetric matcher ${t.constructor.name} does not implement toAsymmetricMatcher()`);return t.toAsymmetricMatcher()},lc=t=>t&&t.$$typeof===ic,cc={serialize:sc,test:lc},pc=" ",Bu=new Set(["DOMStringMap","NamedNodeMap"]),dc=/^(?:HTML\w*Collection|NodeList)$/;function hc(t){return Bu.has(t)||dc.test(t)}var fc=t=>t&&t.constructor&&!!t.constructor.name&&hc(t.constructor.name);function mc(t){return t.constructor.name==="NamedNodeMap"}var gc=(t,e,r,n,o,a)=>{let u=t.constructor.name;return++n>e.maxDepth?`[${u}]`:(e.min?"":u+pc)+(Bu.has(u)?`{${Iu(mc(t)?[...t].reduce((i,s)=>(i[s.name]=s.value,i),{}):{...t},e,r,n,o,a)}}`:`[${Fu([...t],e,r,n,o,a)}]`)},yc={serialize:gc,test:fc};function Pu(t){return t.replaceAll("<","<").replaceAll(">",">")}function yn(t,e,r,n,o,a,u){let i=n+r.indent,s=r.colors;return t.map(l=>{let h=e[l],f=u(h,r,i,o,a);return typeof h!="string"&&(f.includes(` -`)&&(f=r.spacingOuter+i+f+r.spacingOuter+n),f=`{${f}}`),`${r.spacingInner+n+s.prop.open+l+s.prop.close}=${s.value.open}${f}${s.value.close}`}).join("")}function bn(t,e,r,n,o,a){return t.map(u=>e.spacingOuter+r+(typeof u=="string"?Nu(u,e):a(u,e,r,n,o))).join("")}function Nu(t,e){let r=e.colors.content;return r.open+Pu(t)+r.close}function bc(t,e){let r=e.colors.comment;return`${r.open}${r.close}`}function En(t,e,r,n,o){let a=n.colors.tag;return`${a.open}<${t}${e&&a.close+e+n.spacingOuter+o+a.open}${r?`>${a.close}${r}${n.spacingOuter}${o}${a.open}${a.close}`}function An(t,e){let r=e.colors.tag;return`${r.open}<${t}${r.close} \u2026${r.open} />${r.close}`}var Ec=1,Lu=3,ju=8,ku=11,Ac=/^(?:(?:HTML|SVG)\w*)?Element$/;function Sc(t){try{return typeof t.hasAttribute=="function"&&t.hasAttribute("is")}catch{return!1}}function Cc(t){let e=t.constructor.name,{nodeType:r,tagName:n}=t,o=typeof n=="string"&&n.includes("-")||Sc(t);return r===Ec&&(Ac.test(e)||o)||r===Lu&&e==="Text"||r===ju&&e==="Comment"||r===ku&&e==="DocumentFragment"}var wc=t=>{var e;return((e=t?.constructor)==null?void 0:e.name)&&Cc(t)};function vc(t){return t.nodeType===Lu}function Dc(t){return t.nodeType===ju}function hn(t){return t.nodeType===ku}var xc=(t,e,r,n,o,a)=>{if(vc(t))return Nu(t.data,e);if(Dc(t))return bc(t.data,e);let u=hn(t)?"DocumentFragment":t.tagName.toLowerCase();return++n>e.maxDepth?An(u,e):En(u,yn(hn(t)?[]:Array.from(t.attributes,i=>i.name).sort(),hn(t)?{}:[...t.attributes].reduce((i,s)=>(i[s.name]=s.value,i),{}),e,r+e.indent,n,o,a),bn(Array.prototype.slice.call(t.childNodes||t.children),e,r+e.indent,n,o,a),e,r)},Tc={serialize:xc,test:wc},Rc="@@__IMMUTABLE_ITERABLE__@@",_c="@@__IMMUTABLE_LIST__@@",Oc="@@__IMMUTABLE_KEYED__@@",Fc="@@__IMMUTABLE_MAP__@@",Cu="@@__IMMUTABLE_ORDERED__@@",Ic="@@__IMMUTABLE_RECORD__@@",Bc="@@__IMMUTABLE_SEQ__@@",Pc="@@__IMMUTABLE_SET__@@",Nc="@@__IMMUTABLE_STACK__@@",pt=t=>`Immutable.${t}`,nr=t=>`[${t}]`,Dt=" ",wu="\u2026";function Lc(t,e,r,n,o,a,u){return++n>e.maxDepth?nr(pt(u)):`${pt(u)+Dt}{${gn(t.entries(),e,r,n,o,a)}}`}function jc(t){let e=0;return{next(){if(ee.maxDepth?nr(u):`${u+Dt}{${gn(jc(t),e,r,n,o,a)}}`}function Mc(t,e,r,n,o,a){let u=pt("Seq");return++n>e.maxDepth?nr(u):t[Oc]?`${u+Dt}{${t._iter||t._object?gn(t.entries(),e,r,n,o,a):wu}}`:`${u+Dt}[${t._iter||t._array||t._collection||t._iterable?Ou(t.values(),e,r,n,o,a):wu}]`}function fn(t,e,r,n,o,a,u){return++n>e.maxDepth?nr(pt(u)):`${pt(u)+Dt}[${Ou(t.values(),e,r,n,o,a)}]`}var qc=(t,e,r,n,o,a)=>t[Fc]?Lc(t,e,r,n,o,a,t[Cu]?"OrderedMap":"Map"):t[_c]?fn(t,e,r,n,o,a,"List"):t[Pc]?fn(t,e,r,n,o,a,t[Cu]?"OrderedSet":"Set"):t[Nc]?fn(t,e,r,n,o,a,"Stack"):t[Bc]?Mc(t,e,r,n,o,a):kc(t,e,r,n,o,a),$c=t=>t&&(t[Rc]===!0||t[Ic]===!0),Uc={serialize:qc,test:$c},vu={exports:{}},H={},Du;function zc(){if(Du)return H;Du=1;var t=Symbol.for("react.element"),e=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),n=Symbol.for("react.strict_mode"),o=Symbol.for("react.profiler"),a=Symbol.for("react.provider"),u=Symbol.for("react.context"),i=Symbol.for("react.server_context"),s=Symbol.for("react.forward_ref"),l=Symbol.for("react.suspense"),h=Symbol.for("react.suspense_list"),f=Symbol.for("react.memo"),g=Symbol.for("react.lazy"),E=Symbol.for("react.offscreen"),C;C=Symbol.for("react.module.reference");function v(b){if(typeof b=="object"&&b!==null){var S=b.$$typeof;switch(S){case t:switch(b=b.type,b){case r:case o:case n:case l:case h:return b;default:switch(b=b&&b.$$typeof,b){case i:case u:case s:case g:case f:case a:return b;default:return S}}case e:return S}}}return H.ContextConsumer=u,H.ContextProvider=a,H.Element=t,H.ForwardRef=s,H.Fragment=r,H.Lazy=g,H.Memo=f,H.Portal=e,H.Profiler=o,H.StrictMode=n,H.Suspense=l,H.SuspenseList=h,H.isAsyncMode=function(){return!1},H.isConcurrentMode=function(){return!1},H.isContextConsumer=function(b){return v(b)===u},H.isContextProvider=function(b){return v(b)===a},H.isElement=function(b){return typeof b=="object"&&b!==null&&b.$$typeof===t},H.isForwardRef=function(b){return v(b)===s},H.isFragment=function(b){return v(b)===r},H.isLazy=function(b){return v(b)===g},H.isMemo=function(b){return v(b)===f},H.isPortal=function(b){return v(b)===e},H.isProfiler=function(b){return v(b)===o},H.isStrictMode=function(b){return v(b)===n},H.isSuspense=function(b){return v(b)===l},H.isSuspenseList=function(b){return v(b)===h},H.isValidElementType=function(b){return typeof b=="string"||typeof b=="function"||b===r||b===o||b===n||b===l||b===h||b===E||typeof b=="object"&&b!==null&&(b.$$typeof===g||b.$$typeof===f||b.$$typeof===a||b.$$typeof===u||b.$$typeof===s||b.$$typeof===C||b.getModuleId!==void 0)},H.typeOf=v,H}var xu;function Hc(){return xu||(xu=1,vu.exports=zc()),vu.exports}var tt=Hc();function Mu(t,e=[]){if(Array.isArray(t))for(let r of t)Mu(r,e);else t!=null&&t!==!1&&t!==""&&e.push(t);return e}function Tu(t){let e=t.type;if(typeof e=="string")return e;if(typeof e=="function")return e.displayName||e.name||"Unknown";if(tt.isFragment(t))return"React.Fragment";if(tt.isSuspense(t))return"React.Suspense";if(typeof e=="object"&&e!==null){if(tt.isContextProvider(t))return"Context.Provider";if(tt.isContextConsumer(t))return"Context.Consumer";if(tt.isForwardRef(t)){if(e.displayName)return e.displayName;let r=e.render.displayName||e.render.name||"";return r===""?"ForwardRef":`ForwardRef(${r})`}if(tt.isMemo(t)){let r=e.displayName||e.type.displayName||e.type.name||"";return r===""?"Memo":`Memo(${r})`}}return"UNDEFINED"}function Gc(t){let{props:e}=t;return Object.keys(e).filter(r=>r!=="children"&&e[r]!==void 0).sort()}var Vc=(t,e,r,n,o,a)=>++n>e.maxDepth?An(Tu(t),e):En(Tu(t),yn(Gc(t),t.props,e,r+e.indent,n,o,a),bn(Mu(t.props.children),e,r+e.indent,n,o,a),e,r),Wc=t=>t!=null&&tt.isElement(t),Yc={serialize:Vc,test:Wc},Kc=typeof Symbol=="function"&&Symbol.for?Symbol.for("react.test.json"):245830487;function Xc(t){let{props:e}=t;return e?Object.keys(e).filter(r=>e[r]!==void 0).sort():[]}var Jc=(t,e,r,n,o,a)=>++n>e.maxDepth?An(t.type,e):En(t.type,t.props?yn(Xc(t),t.props,e,r+e.indent,n,o,a):"",t.children?bn(t.children,e,r+e.indent,n,o,a):"",e,r),Qc=t=>t&&t.$$typeof===Kc,Zc={serialize:Jc,test:Qc};var py=Date.prototype.toISOString,dy=Error.prototype.toString,hy=RegExp.prototype.toString;var qu={comment:"gray",content:"reset",prop:"yellow",tag:"cyan",value:"green"},fy=Object.keys(qu),my={callToJSON:!0,compareKeys:void 0,escapeRegex:!1,escapeString:!0,highlight:!1,indent:2,maxDepth:Number.POSITIVE_INFINITY,maxWidth:Number.POSITIVE_INFINITY,min:!1,plugins:[],printBasicPrototype:!0,printFunctionName:!0,theme:qu};var $u={AsymmetricMatcher:cc,DOMCollection:yc,DOMElement:Tc,Immutable:Uc,ReactElement:Yc,ReactTestComponent:Zc};var gy=Number.isNaN||(t=>t!==t);var yy=new RegExp("['\\u0000-\\u001f\\u007f-\\u009f\\u00ad\\u0600-\\u0604\\u070f\\u17b4\\u17b5\\u200c-\\u200f\\u2028-\\u202f\\u2060-\\u206f\\ufeff\\ufff0-\\uffff]","g");var e2=()=>"Promise{\u2026}";try{let{getPromiseDetails:t,kPending:e,kRejected:r}=process.binding("util");Array.isArray(t(Promise.resolve()))&&(e2=(n,o)=>{let[a,u]=t(n);return a===e?"Promise{}":`Promise${a===r?"!":""}{${o.inspect(u,o)}}`})}catch{}var t2=typeof Symbol=="function"&&typeof Symbol.for=="function",by=t2?Symbol.for("chai/inspect"):"@@chai/inspect",Ru=!1;try{let t=tc("util");Ru=t.inspect?t.inspect.custom:!1}catch{Ru=!1}var{AsymmetricMatcher:Ey,DOMCollection:Ay,DOMElement:Sy,Immutable:Cy,ReactElement:wy,ReactTestComponent:vy}=$u;function r2(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var rr={},_u;function n2(){if(_u)return rr;_u=1,Object.defineProperty(rr,"__esModule",{value:!0}),rr.default=g;let t="diff-sequences",e=0,r=(E,C,v,b,S)=>{let A=0;for(;E{let A=0;for(;E<=C&&v<=b&&S(C,b);)C-=1,b-=1,A+=1;return A},o=(E,C,v,b,S,A,D)=>{let _=0,P=-E,R=A[_],T=R;A[_]+=r(R+1,C,b+R-P+1,v,S);let O=E{let _=0,P=E,R=A[_],T=R;A[_]-=n(C,R-1,v,b+R-P-1,S);let O=E{let O=b-C,B=v-C,j=S-b-B,M=-j-(E-1),L=-j+(E-1),q=e,p=E<_?E:_;for(let d=0,y=-E;d<=p;d+=1,y+=2){let x=d===0||d!==E&&q{let O=S-v,B=v-C,j=S-b-B,M=j-E,L=j+E,q=e,p=E{let R=b-C,T=S-v,O=v-C,B=S-b,j=B-O,M=O,L=O;if(D[0]=C-1,_[0]=v,j%2===0){let q=(E||j)/2,p=(O+B)/2;for(let d=1;d<=p;d+=1)if(M=o(d,v,S,R,A,D,M),d{if(S-b{Z(J,G,ue)},isCommon:(J,ue)=>te(ue,J)}}let N=C,k=v;C=b,v=S,b=N,S=k}let{foundSubsequence:T,isCommon:O}=D[A?1:0];s(E,C,v,b,S,O,_,P,R);let{nChangePreceding:B,aEndPreceding:j,bEndPreceding:M,nCommonPreceding:L,aCommonPreceding:q,bCommonPreceding:p,nCommonFollowing:d,aCommonFollowing:y,bCommonFollowing:x,nChangeFollowing:w,aStartFollowing:F,bStartFollowing:I}=R;C{if(typeof C!="number")throw new TypeError(`${t}: ${E} typeof ${typeof C} is not a number`);if(!Number.isSafeInteger(C))throw new RangeError(`${t}: ${E} value ${C} is not a safe integer`);if(C<0)throw new RangeError(`${t}: ${E} value ${C} is a negative integer`)},f=(E,C)=>{let v=typeof C;if(v!=="function")throw new TypeError(`${t}: ${E} typeof ${v} is not a function`)};function g(E,C,v,b){h("aLength",E),h("bLength",C),f("isCommon",v),f("foundSubsequence",b);let S=r(0,E,0,C,v);if(S!==0&&b(S,0,0),E!==S||C!==S){let A=S,D=S,_=n(A,E-1,D,C-1,v),P=E-_,R=C-_,T=S+_;E!==T&&C!==T&&l(0,A,P,D,R,!1,[{foundSubsequence:b,isCommon:v}],[e],[e],{aCommonFollowing:e,aCommonPreceding:e,aEndPreceding:e,aStartFollowing:e,bCommonFollowing:e,bCommonPreceding:e,bEndPreceding:e,bStartFollowing:e,nChangeFollowing:e,nChangePreceding:e,nCommonFollowing:e,nCommonPreceding:e}),_!==0&&b(_,P,R)}}return rr}var o2=n2(),Dy=r2(o2);var{AsymmetricMatcher:xy,DOMCollection:Ty,DOMElement:Ry,Immutable:_y,ReactElement:Oy,ReactTestComponent:Fy}=$u;var Iy=Object.getPrototypeOf({});var V=(t=>(t.DONE="done",t.ERROR="error",t.ACTIVE="active",t.WAITING="waiting",t))(V||{}),He={CALL:"storybook/instrumenter/call",SYNC:"storybook/instrumenter/sync",START:"storybook/instrumenter/start",BACK:"storybook/instrumenter/back",GOTO:"storybook/instrumenter/goto",NEXT:"storybook/instrumenter/next",END:"storybook/instrumenter/end"};var By=new Error("This function ran after the play function completed. Did you forget to `await` it?");var My=__STORYBOOK_THEMING__,{CacheProvider:qy,ClassNames:$y,Global:Uy,ThemeProvider:zy,background:Hy,color:Gy,convert:Vy,create:Wy,createCache:Yy,createGlobal:Ky,createReset:Xy,css:Jy,darken:Qy,ensure:Zy,ignoreSsrWarning:e1,isPropValid:t1,jsx:r1,keyframes:n1,lighten:o1,styled:z,themes:a1,typography:je,useTheme:dt,withTheme:u1}=__STORYBOOK_THEMING__;function ge(){return ge=Object.assign?Object.assign.bind():function(t){for(var e=1;e=0&&o<1?(i=a,s=u):o>=1&&o<2?(i=u,s=a):o>=2&&o<3?(s=a,l=u):o>=3&&o<4?(s=u,l=a):o>=4&&o<5?(i=u,l=a):o>=5&&o<6&&(i=a,l=u);var h=r-a/2,f=i+h,g=s+h,E=l+h;return n(f,g,E)}var Yu={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"00ffff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"0000ff",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"00ffff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"ff00ff",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"639",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"};function s2(t){if(typeof t!="string")return t;var e=t.toLowerCase();return Yu[e]?"#"+Yu[e]:t}var l2=/^#[a-fA-F0-9]{6}$/,c2=/^#[a-fA-F0-9]{8}$/,p2=/^#[a-fA-F0-9]{3}$/,d2=/^#[a-fA-F0-9]{4}$/,wn=/^rgb\(\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*\)$/i,h2=/^rgb(?:a)?\(\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,|\/)\s*([-+]?\d*[.]?\d+[%]?)\s*\)$/i,f2=/^hsl\(\s*(\d{0,3}[.]?[0-9]+(?:deg)?)\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*\)$/i,m2=/^hsl(?:a)?\(\s*(\d{0,3}[.]?[0-9]+(?:deg)?)\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,|\/)\s*([-+]?\d*[.]?\d+[%]?)\s*\)$/i;function ht(t){if(typeof t!="string")throw new Ae(3);var e=s2(t);if(e.match(l2))return{red:parseInt(""+e[1]+e[2],16),green:parseInt(""+e[3]+e[4],16),blue:parseInt(""+e[5]+e[6],16)};if(e.match(c2)){var r=parseFloat((parseInt(""+e[7]+e[8],16)/255).toFixed(2));return{red:parseInt(""+e[1]+e[2],16),green:parseInt(""+e[3]+e[4],16),blue:parseInt(""+e[5]+e[6],16),alpha:r}}if(e.match(p2))return{red:parseInt(""+e[1]+e[1],16),green:parseInt(""+e[2]+e[2],16),blue:parseInt(""+e[3]+e[3],16)};if(e.match(d2)){var n=parseFloat((parseInt(""+e[4]+e[4],16)/255).toFixed(2));return{red:parseInt(""+e[1]+e[1],16),green:parseInt(""+e[2]+e[2],16),blue:parseInt(""+e[3]+e[3],16),alpha:n}}var o=wn.exec(e);if(o)return{red:parseInt(""+o[1],10),green:parseInt(""+o[2],10),blue:parseInt(""+o[3],10)};var a=h2.exec(e.substring(0,50));if(a)return{red:parseInt(""+a[1],10),green:parseInt(""+a[2],10),blue:parseInt(""+a[3],10),alpha:parseFloat(""+a[4])>1?parseFloat(""+a[4])/100:parseFloat(""+a[4])};var u=f2.exec(e);if(u){var i=parseInt(""+u[1],10),s=parseInt(""+u[2],10)/100,l=parseInt(""+u[3],10)/100,h="rgb("+xt(i,s,l)+")",f=wn.exec(h);if(!f)throw new Ae(4,e,h);return{red:parseInt(""+f[1],10),green:parseInt(""+f[2],10),blue:parseInt(""+f[3],10)}}var g=m2.exec(e.substring(0,50));if(g){var E=parseInt(""+g[1],10),C=parseInt(""+g[2],10)/100,v=parseInt(""+g[3],10)/100,b="rgb("+xt(E,C,v)+")",S=wn.exec(b);if(!S)throw new Ae(4,e,b);return{red:parseInt(""+S[1],10),green:parseInt(""+S[2],10),blue:parseInt(""+S[3],10),alpha:parseFloat(""+g[4])>1?parseFloat(""+g[4])/100:parseFloat(""+g[4])}}throw new Ae(5)}function g2(t){var e=t.red/255,r=t.green/255,n=t.blue/255,o=Math.max(e,r,n),a=Math.min(e,r,n),u=(o+a)/2;if(o===a)return t.alpha!==void 0?{hue:0,saturation:0,lightness:u,alpha:t.alpha}:{hue:0,saturation:0,lightness:u};var i,s=o-a,l=u>.5?s/(2-o-a):s/(o+a);switch(o){case e:i=(r-n)/s+(r=1?ur(t,e,r):"rgba("+xt(t,e,r)+","+n+")";if(typeof t=="object"&&e===void 0&&r===void 0&&n===void 0)return t.alpha>=1?ur(t.hue,t.saturation,t.lightness):"rgba("+xt(t.hue,t.saturation,t.lightness)+","+t.alpha+")";throw new Ae(2)}function xn(t,e,r){if(typeof t=="number"&&typeof e=="number"&&typeof r=="number")return Dn("#"+rt(t)+rt(e)+rt(r));if(typeof t=="object"&&e===void 0&&r===void 0)return Dn("#"+rt(t.red)+rt(t.green)+rt(t.blue));throw new Ae(6)}function ir(t,e,r,n){if(typeof t=="string"&&typeof e=="number"){var o=ht(t);return"rgba("+o.red+","+o.green+","+o.blue+","+e+")"}else{if(typeof t=="number"&&typeof e=="number"&&typeof r=="number"&&typeof n=="number")return n>=1?xn(t,e,r):"rgba("+t+","+e+","+r+","+n+")";if(typeof t=="object"&&e===void 0&&r===void 0&&n===void 0)return t.alpha>=1?xn(t.red,t.green,t.blue):"rgba("+t.red+","+t.green+","+t.blue+","+t.alpha+")"}throw new Ae(7)}var S2=function(e){return typeof e.red=="number"&&typeof e.green=="number"&&typeof e.blue=="number"&&(typeof e.alpha!="number"||typeof e.alpha>"u")},C2=function(e){return typeof e.red=="number"&&typeof e.green=="number"&&typeof e.blue=="number"&&typeof e.alpha=="number"},w2=function(e){return typeof e.hue=="number"&&typeof e.saturation=="number"&&typeof e.lightness=="number"&&(typeof e.alpha!="number"||typeof e.alpha>"u")},v2=function(e){return typeof e.hue=="number"&&typeof e.saturation=="number"&&typeof e.lightness=="number"&&typeof e.alpha=="number"};function We(t){if(typeof t!="object")throw new Ae(8);if(C2(t))return ir(t);if(S2(t))return xn(t);if(v2(t))return A2(t);if(w2(t))return E2(t);throw new Ae(8)}function Xu(t,e,r){return function(){var o=r.concat(Array.prototype.slice.call(arguments));return o.length>=e?t.apply(this,o):Xu(t,e,o)}}function we(t){return Xu(t,t.length,[])}function D2(t,e){if(e==="transparent")return e;var r=Ve(e);return We(ge({},r,{hue:r.hue+parseFloat(t)}))}var db=we(D2);function ft(t,e,r){return Math.max(t,Math.min(e,r))}function x2(t,e){if(e==="transparent")return e;var r=Ve(e);return We(ge({},r,{lightness:ft(0,1,r.lightness-parseFloat(t))}))}var hb=we(x2);function T2(t,e){if(e==="transparent")return e;var r=Ve(e);return We(ge({},r,{saturation:ft(0,1,r.saturation-parseFloat(t))}))}var fb=we(T2);function R2(t,e){if(e==="transparent")return e;var r=Ve(e);return We(ge({},r,{lightness:ft(0,1,r.lightness+parseFloat(t))}))}var mb=we(R2);function _2(t,e,r){if(e==="transparent")return r;if(r==="transparent")return e;if(t===0)return r;var n=ht(e),o=ge({},n,{alpha:typeof n.alpha=="number"?n.alpha:1}),a=ht(r),u=ge({},a,{alpha:typeof a.alpha=="number"?a.alpha:1}),i=o.alpha-u.alpha,s=parseFloat(t)*2-1,l=s*i===-1?s:s+i,h=1+s*i,f=(l/h+1)/2,g=1-f,E={red:Math.floor(o.red*f+u.red*g),green:Math.floor(o.green*f+u.green*g),blue:Math.floor(o.blue*f+u.blue*g),alpha:o.alpha*parseFloat(t)+u.alpha*(1-parseFloat(t))};return ir(E)}var O2=we(_2),Ju=O2;function F2(t,e){if(e==="transparent")return e;var r=ht(e),n=typeof r.alpha=="number"?r.alpha:1,o=ge({},r,{alpha:ft(0,1,(n*100+parseFloat(t)*100)/100)});return ir(o)}var gb=we(F2);function I2(t,e){if(e==="transparent")return e;var r=Ve(e);return We(ge({},r,{saturation:ft(0,1,r.saturation+parseFloat(t))}))}var yb=we(I2);function B2(t,e){return e==="transparent"?e:We(ge({},Ve(e),{hue:parseFloat(t)}))}var bb=we(B2);function P2(t,e){return e==="transparent"?e:We(ge({},Ve(e),{lightness:parseFloat(t)}))}var Eb=we(P2);function N2(t,e){return e==="transparent"?e:We(ge({},Ve(e),{saturation:parseFloat(t)}))}var Ab=we(N2);function L2(t,e){return e==="transparent"?e:Ju(parseFloat(t),"rgb(0, 0, 0)",e)}var Sb=we(L2);function j2(t,e){return e==="transparent"?e:Ju(parseFloat(t),"rgb(255, 255, 255)",e)}var Cb=we(j2);function k2(t,e){if(e==="transparent")return e;var r=ht(e),n=typeof r.alpha=="number"?r.alpha:1,o=ge({},r,{alpha:ft(0,1,+(n*100-parseFloat(t)*100).toFixed(2)/100)});return ir(o)}var M2=we(k2),sr=M2;var Tb=__STORYBOOK_ICONS__,{AccessibilityAltIcon:Rb,AccessibilityIcon:_b,AccessibilityIgnoredIcon:Ob,AddIcon:Fb,AdminIcon:Ib,AlertAltIcon:Bb,AlertIcon:Pb,AlignLeftIcon:Nb,AlignRightIcon:Lb,AppleIcon:jb,ArrowBottomLeftIcon:kb,ArrowBottomRightIcon:Mb,ArrowDownIcon:qb,ArrowLeftIcon:$b,ArrowRightIcon:Ub,ArrowSolidDownIcon:zb,ArrowSolidLeftIcon:Hb,ArrowSolidRightIcon:Gb,ArrowSolidUpIcon:Vb,ArrowTopLeftIcon:Wb,ArrowTopRightIcon:Yb,ArrowUpIcon:Kb,AzureDevOpsIcon:Xb,BackIcon:Jb,BasketIcon:Qb,BatchAcceptIcon:Zb,BatchDenyIcon:eE,BeakerIcon:tE,BellIcon:rE,BitbucketIcon:nE,BoldIcon:oE,BookIcon:aE,BookmarkHollowIcon:uE,BookmarkIcon:iE,BottomBarIcon:sE,BottomBarToggleIcon:lE,BoxIcon:cE,BranchIcon:pE,BrowserIcon:dE,ButtonIcon:hE,CPUIcon:fE,CalendarIcon:mE,CameraIcon:gE,CameraStabilizeIcon:yE,CategoryIcon:bE,CertificateIcon:EE,ChangedIcon:AE,ChatIcon:SE,CheckIcon:Qu,ChevronDownIcon:CE,ChevronLeftIcon:wE,ChevronRightIcon:vE,ChevronSmallDownIcon:DE,ChevronSmallLeftIcon:xE,ChevronSmallRightIcon:TE,ChevronSmallUpIcon:RE,ChevronUpIcon:_E,ChromaticIcon:OE,ChromeIcon:FE,CircleHollowIcon:IE,CircleIcon:Zu,ClearIcon:BE,CloseAltIcon:PE,CloseIcon:NE,CloudHollowIcon:LE,CloudIcon:jE,CogIcon:kE,CollapseIcon:ME,CommandIcon:qE,CommentAddIcon:$E,CommentIcon:UE,CommentsIcon:zE,CommitIcon:HE,CompassIcon:GE,ComponentDrivenIcon:VE,ComponentIcon:WE,ContrastIcon:YE,ContrastIgnoredIcon:KE,ControlsIcon:XE,CopyIcon:JE,CreditIcon:QE,CrossIcon:ZE,DashboardIcon:eA,DatabaseIcon:tA,DeleteIcon:rA,DiamondIcon:nA,DirectionIcon:oA,DiscordIcon:aA,DocChartIcon:uA,DocListIcon:iA,DocumentIcon:ei,DownloadIcon:sA,DragIcon:lA,EditIcon:cA,EllipsisIcon:pA,EmailIcon:dA,ExpandAltIcon:hA,ExpandIcon:fA,EyeCloseIcon:mA,EyeIcon:gA,FaceHappyIcon:yA,FaceNeutralIcon:bA,FaceSadIcon:EA,FacebookIcon:AA,FailedIcon:SA,FastForwardIcon:ti,FigmaIcon:CA,FilterIcon:wA,FlagIcon:vA,FolderIcon:DA,FormIcon:xA,GDriveIcon:TA,GithubIcon:RA,GitlabIcon:_A,GlobeIcon:OA,GoogleIcon:FA,GraphBarIcon:IA,GraphLineIcon:BA,GraphqlIcon:PA,GridAltIcon:NA,GridIcon:LA,GrowIcon:jA,HeartHollowIcon:kA,HeartIcon:MA,HomeIcon:qA,HourglassIcon:$A,InfoIcon:UA,ItalicIcon:zA,JumpToIcon:HA,KeyIcon:GA,LightningIcon:VA,LightningOffIcon:WA,LinkBrokenIcon:YA,LinkIcon:KA,LinkedinIcon:XA,LinuxIcon:JA,ListOrderedIcon:QA,ListUnorderedIcon:ri,LocationIcon:ZA,LockIcon:eS,MarkdownIcon:tS,MarkupIcon:rS,MediumIcon:nS,MemoryIcon:oS,MenuIcon:aS,MergeIcon:uS,MirrorIcon:iS,MobileIcon:sS,MoonIcon:lS,NutIcon:cS,OutboxIcon:pS,OutlineIcon:dS,PaintBrushIcon:hS,PaperClipIcon:fS,ParagraphIcon:mS,PassedIcon:gS,PhoneIcon:yS,PhotoDragIcon:bS,PhotoIcon:ES,PhotoStabilizeIcon:AS,PinAltIcon:SS,PinIcon:CS,PlayAllHollowIcon:wS,PlayBackIcon:ni,PlayHollowIcon:vS,PlayIcon:oi,PlayNextIcon:ai,PlusIcon:DS,PointerDefaultIcon:xS,PointerHandIcon:TS,PowerIcon:RS,PrintIcon:_S,ProceedIcon:OS,ProfileIcon:FS,PullRequestIcon:IS,QuestionIcon:BS,RSSIcon:PS,RedirectIcon:NS,ReduxIcon:LS,RefreshIcon:jS,ReplyIcon:kS,RepoIcon:MS,RequestChangeIcon:qS,RewindIcon:ui,RulerIcon:$S,SaveIcon:US,SearchIcon:zS,ShareAltIcon:HS,ShareIcon:GS,ShieldIcon:VS,SideBySideIcon:WS,SidebarAltIcon:YS,SidebarAltToggleIcon:KS,SidebarIcon:XS,SidebarToggleIcon:JS,SpeakerIcon:QS,StackedIcon:ZS,StarHollowIcon:eC,StarIcon:tC,StatusFailIcon:rC,StatusIcon:nC,StatusPassIcon:oC,StatusWarnIcon:aC,StickerIcon:uC,StopAltHollowIcon:iC,StopAltIcon:ii,StopIcon:sC,StorybookIcon:lC,StructureIcon:cC,SubtractIcon:pC,SunIcon:dC,SupportIcon:hC,SwitchAltIcon:fC,SyncIcon:si,TabletIcon:mC,ThumbsUpIcon:gC,TimeIcon:yC,TimerIcon:bC,TransferIcon:EC,TrashIcon:AC,TwitterIcon:SC,TypeIcon:CC,UbuntuIcon:wC,UndoIcon:vC,UnfoldIcon:DC,UnlockIcon:xC,UnpinIcon:TC,UploadIcon:RC,UserAddIcon:_C,UserAltIcon:OC,UserIcon:FC,UsersIcon:IC,VSCodeIcon:BC,VerifiedIcon:PC,VideoIcon:li,WandIcon:NC,WatchIcon:LC,WindowsIcon:jC,WrenchIcon:kC,XIcon:MC,YoutubeIcon:qC,ZoomIcon:$C,ZoomOutIcon:UC,ZoomResetIcon:zC,iconList:HC}=__STORYBOOK_ICONS__;var q2=Object.create,vi=Object.defineProperty,$2=Object.getOwnPropertyDescriptor,Di=Object.getOwnPropertyNames,U2=Object.getPrototypeOf,z2=Object.prototype.hasOwnProperty,ae=(t,e)=>function(){return e||(0,t[Di(t)[0]])((e={exports:{}}).exports,e),e.exports},H2=(t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let o of Di(e))!z2.call(t,o)&&o!==r&&vi(t,o,{get:()=>e[o],enumerable:!(n=$2(e,o))||n.enumerable});return t},xe=(t,e,r)=>(r=t!=null?q2(U2(t)):{},H2(e||!t||!t.__esModule?vi(r,"default",{value:t,enumerable:!0}):r,t)),xi=ae({"../../node_modules/ansi-to-html/node_modules/entities/lib/maps/entities.json"(t,e){e.exports={Aacute:"\xC1",aacute:"\xE1",Abreve:"\u0102",abreve:"\u0103",ac:"\u223E",acd:"\u223F",acE:"\u223E\u0333",Acirc:"\xC2",acirc:"\xE2",acute:"\xB4",Acy:"\u0410",acy:"\u0430",AElig:"\xC6",aelig:"\xE6",af:"\u2061",Afr:"\u{1D504}",afr:"\u{1D51E}",Agrave:"\xC0",agrave:"\xE0",alefsym:"\u2135",aleph:"\u2135",Alpha:"\u0391",alpha:"\u03B1",Amacr:"\u0100",amacr:"\u0101",amalg:"\u2A3F",amp:"&",AMP:"&",andand:"\u2A55",And:"\u2A53",and:"\u2227",andd:"\u2A5C",andslope:"\u2A58",andv:"\u2A5A",ang:"\u2220",ange:"\u29A4",angle:"\u2220",angmsdaa:"\u29A8",angmsdab:"\u29A9",angmsdac:"\u29AA",angmsdad:"\u29AB",angmsdae:"\u29AC",angmsdaf:"\u29AD",angmsdag:"\u29AE",angmsdah:"\u29AF",angmsd:"\u2221",angrt:"\u221F",angrtvb:"\u22BE",angrtvbd:"\u299D",angsph:"\u2222",angst:"\xC5",angzarr:"\u237C",Aogon:"\u0104",aogon:"\u0105",Aopf:"\u{1D538}",aopf:"\u{1D552}",apacir:"\u2A6F",ap:"\u2248",apE:"\u2A70",ape:"\u224A",apid:"\u224B",apos:"'",ApplyFunction:"\u2061",approx:"\u2248",approxeq:"\u224A",Aring:"\xC5",aring:"\xE5",Ascr:"\u{1D49C}",ascr:"\u{1D4B6}",Assign:"\u2254",ast:"*",asymp:"\u2248",asympeq:"\u224D",Atilde:"\xC3",atilde:"\xE3",Auml:"\xC4",auml:"\xE4",awconint:"\u2233",awint:"\u2A11",backcong:"\u224C",backepsilon:"\u03F6",backprime:"\u2035",backsim:"\u223D",backsimeq:"\u22CD",Backslash:"\u2216",Barv:"\u2AE7",barvee:"\u22BD",barwed:"\u2305",Barwed:"\u2306",barwedge:"\u2305",bbrk:"\u23B5",bbrktbrk:"\u23B6",bcong:"\u224C",Bcy:"\u0411",bcy:"\u0431",bdquo:"\u201E",becaus:"\u2235",because:"\u2235",Because:"\u2235",bemptyv:"\u29B0",bepsi:"\u03F6",bernou:"\u212C",Bernoullis:"\u212C",Beta:"\u0392",beta:"\u03B2",beth:"\u2136",between:"\u226C",Bfr:"\u{1D505}",bfr:"\u{1D51F}",bigcap:"\u22C2",bigcirc:"\u25EF",bigcup:"\u22C3",bigodot:"\u2A00",bigoplus:"\u2A01",bigotimes:"\u2A02",bigsqcup:"\u2A06",bigstar:"\u2605",bigtriangledown:"\u25BD",bigtriangleup:"\u25B3",biguplus:"\u2A04",bigvee:"\u22C1",bigwedge:"\u22C0",bkarow:"\u290D",blacklozenge:"\u29EB",blacksquare:"\u25AA",blacktriangle:"\u25B4",blacktriangledown:"\u25BE",blacktriangleleft:"\u25C2",blacktriangleright:"\u25B8",blank:"\u2423",blk12:"\u2592",blk14:"\u2591",blk34:"\u2593",block:"\u2588",bne:"=\u20E5",bnequiv:"\u2261\u20E5",bNot:"\u2AED",bnot:"\u2310",Bopf:"\u{1D539}",bopf:"\u{1D553}",bot:"\u22A5",bottom:"\u22A5",bowtie:"\u22C8",boxbox:"\u29C9",boxdl:"\u2510",boxdL:"\u2555",boxDl:"\u2556",boxDL:"\u2557",boxdr:"\u250C",boxdR:"\u2552",boxDr:"\u2553",boxDR:"\u2554",boxh:"\u2500",boxH:"\u2550",boxhd:"\u252C",boxHd:"\u2564",boxhD:"\u2565",boxHD:"\u2566",boxhu:"\u2534",boxHu:"\u2567",boxhU:"\u2568",boxHU:"\u2569",boxminus:"\u229F",boxplus:"\u229E",boxtimes:"\u22A0",boxul:"\u2518",boxuL:"\u255B",boxUl:"\u255C",boxUL:"\u255D",boxur:"\u2514",boxuR:"\u2558",boxUr:"\u2559",boxUR:"\u255A",boxv:"\u2502",boxV:"\u2551",boxvh:"\u253C",boxvH:"\u256A",boxVh:"\u256B",boxVH:"\u256C",boxvl:"\u2524",boxvL:"\u2561",boxVl:"\u2562",boxVL:"\u2563",boxvr:"\u251C",boxvR:"\u255E",boxVr:"\u255F",boxVR:"\u2560",bprime:"\u2035",breve:"\u02D8",Breve:"\u02D8",brvbar:"\xA6",bscr:"\u{1D4B7}",Bscr:"\u212C",bsemi:"\u204F",bsim:"\u223D",bsime:"\u22CD",bsolb:"\u29C5",bsol:"\\",bsolhsub:"\u27C8",bull:"\u2022",bullet:"\u2022",bump:"\u224E",bumpE:"\u2AAE",bumpe:"\u224F",Bumpeq:"\u224E",bumpeq:"\u224F",Cacute:"\u0106",cacute:"\u0107",capand:"\u2A44",capbrcup:"\u2A49",capcap:"\u2A4B",cap:"\u2229",Cap:"\u22D2",capcup:"\u2A47",capdot:"\u2A40",CapitalDifferentialD:"\u2145",caps:"\u2229\uFE00",caret:"\u2041",caron:"\u02C7",Cayleys:"\u212D",ccaps:"\u2A4D",Ccaron:"\u010C",ccaron:"\u010D",Ccedil:"\xC7",ccedil:"\xE7",Ccirc:"\u0108",ccirc:"\u0109",Cconint:"\u2230",ccups:"\u2A4C",ccupssm:"\u2A50",Cdot:"\u010A",cdot:"\u010B",cedil:"\xB8",Cedilla:"\xB8",cemptyv:"\u29B2",cent:"\xA2",centerdot:"\xB7",CenterDot:"\xB7",cfr:"\u{1D520}",Cfr:"\u212D",CHcy:"\u0427",chcy:"\u0447",check:"\u2713",checkmark:"\u2713",Chi:"\u03A7",chi:"\u03C7",circ:"\u02C6",circeq:"\u2257",circlearrowleft:"\u21BA",circlearrowright:"\u21BB",circledast:"\u229B",circledcirc:"\u229A",circleddash:"\u229D",CircleDot:"\u2299",circledR:"\xAE",circledS:"\u24C8",CircleMinus:"\u2296",CirclePlus:"\u2295",CircleTimes:"\u2297",cir:"\u25CB",cirE:"\u29C3",cire:"\u2257",cirfnint:"\u2A10",cirmid:"\u2AEF",cirscir:"\u29C2",ClockwiseContourIntegral:"\u2232",CloseCurlyDoubleQuote:"\u201D",CloseCurlyQuote:"\u2019",clubs:"\u2663",clubsuit:"\u2663",colon:":",Colon:"\u2237",Colone:"\u2A74",colone:"\u2254",coloneq:"\u2254",comma:",",commat:"@",comp:"\u2201",compfn:"\u2218",complement:"\u2201",complexes:"\u2102",cong:"\u2245",congdot:"\u2A6D",Congruent:"\u2261",conint:"\u222E",Conint:"\u222F",ContourIntegral:"\u222E",copf:"\u{1D554}",Copf:"\u2102",coprod:"\u2210",Coproduct:"\u2210",copy:"\xA9",COPY:"\xA9",copysr:"\u2117",CounterClockwiseContourIntegral:"\u2233",crarr:"\u21B5",cross:"\u2717",Cross:"\u2A2F",Cscr:"\u{1D49E}",cscr:"\u{1D4B8}",csub:"\u2ACF",csube:"\u2AD1",csup:"\u2AD0",csupe:"\u2AD2",ctdot:"\u22EF",cudarrl:"\u2938",cudarrr:"\u2935",cuepr:"\u22DE",cuesc:"\u22DF",cularr:"\u21B6",cularrp:"\u293D",cupbrcap:"\u2A48",cupcap:"\u2A46",CupCap:"\u224D",cup:"\u222A",Cup:"\u22D3",cupcup:"\u2A4A",cupdot:"\u228D",cupor:"\u2A45",cups:"\u222A\uFE00",curarr:"\u21B7",curarrm:"\u293C",curlyeqprec:"\u22DE",curlyeqsucc:"\u22DF",curlyvee:"\u22CE",curlywedge:"\u22CF",curren:"\xA4",curvearrowleft:"\u21B6",curvearrowright:"\u21B7",cuvee:"\u22CE",cuwed:"\u22CF",cwconint:"\u2232",cwint:"\u2231",cylcty:"\u232D",dagger:"\u2020",Dagger:"\u2021",daleth:"\u2138",darr:"\u2193",Darr:"\u21A1",dArr:"\u21D3",dash:"\u2010",Dashv:"\u2AE4",dashv:"\u22A3",dbkarow:"\u290F",dblac:"\u02DD",Dcaron:"\u010E",dcaron:"\u010F",Dcy:"\u0414",dcy:"\u0434",ddagger:"\u2021",ddarr:"\u21CA",DD:"\u2145",dd:"\u2146",DDotrahd:"\u2911",ddotseq:"\u2A77",deg:"\xB0",Del:"\u2207",Delta:"\u0394",delta:"\u03B4",demptyv:"\u29B1",dfisht:"\u297F",Dfr:"\u{1D507}",dfr:"\u{1D521}",dHar:"\u2965",dharl:"\u21C3",dharr:"\u21C2",DiacriticalAcute:"\xB4",DiacriticalDot:"\u02D9",DiacriticalDoubleAcute:"\u02DD",DiacriticalGrave:"`",DiacriticalTilde:"\u02DC",diam:"\u22C4",diamond:"\u22C4",Diamond:"\u22C4",diamondsuit:"\u2666",diams:"\u2666",die:"\xA8",DifferentialD:"\u2146",digamma:"\u03DD",disin:"\u22F2",div:"\xF7",divide:"\xF7",divideontimes:"\u22C7",divonx:"\u22C7",DJcy:"\u0402",djcy:"\u0452",dlcorn:"\u231E",dlcrop:"\u230D",dollar:"$",Dopf:"\u{1D53B}",dopf:"\u{1D555}",Dot:"\xA8",dot:"\u02D9",DotDot:"\u20DC",doteq:"\u2250",doteqdot:"\u2251",DotEqual:"\u2250",dotminus:"\u2238",dotplus:"\u2214",dotsquare:"\u22A1",doublebarwedge:"\u2306",DoubleContourIntegral:"\u222F",DoubleDot:"\xA8",DoubleDownArrow:"\u21D3",DoubleLeftArrow:"\u21D0",DoubleLeftRightArrow:"\u21D4",DoubleLeftTee:"\u2AE4",DoubleLongLeftArrow:"\u27F8",DoubleLongLeftRightArrow:"\u27FA",DoubleLongRightArrow:"\u27F9",DoubleRightArrow:"\u21D2",DoubleRightTee:"\u22A8",DoubleUpArrow:"\u21D1",DoubleUpDownArrow:"\u21D5",DoubleVerticalBar:"\u2225",DownArrowBar:"\u2913",downarrow:"\u2193",DownArrow:"\u2193",Downarrow:"\u21D3",DownArrowUpArrow:"\u21F5",DownBreve:"\u0311",downdownarrows:"\u21CA",downharpoonleft:"\u21C3",downharpoonright:"\u21C2",DownLeftRightVector:"\u2950",DownLeftTeeVector:"\u295E",DownLeftVectorBar:"\u2956",DownLeftVector:"\u21BD",DownRightTeeVector:"\u295F",DownRightVectorBar:"\u2957",DownRightVector:"\u21C1",DownTeeArrow:"\u21A7",DownTee:"\u22A4",drbkarow:"\u2910",drcorn:"\u231F",drcrop:"\u230C",Dscr:"\u{1D49F}",dscr:"\u{1D4B9}",DScy:"\u0405",dscy:"\u0455",dsol:"\u29F6",Dstrok:"\u0110",dstrok:"\u0111",dtdot:"\u22F1",dtri:"\u25BF",dtrif:"\u25BE",duarr:"\u21F5",duhar:"\u296F",dwangle:"\u29A6",DZcy:"\u040F",dzcy:"\u045F",dzigrarr:"\u27FF",Eacute:"\xC9",eacute:"\xE9",easter:"\u2A6E",Ecaron:"\u011A",ecaron:"\u011B",Ecirc:"\xCA",ecirc:"\xEA",ecir:"\u2256",ecolon:"\u2255",Ecy:"\u042D",ecy:"\u044D",eDDot:"\u2A77",Edot:"\u0116",edot:"\u0117",eDot:"\u2251",ee:"\u2147",efDot:"\u2252",Efr:"\u{1D508}",efr:"\u{1D522}",eg:"\u2A9A",Egrave:"\xC8",egrave:"\xE8",egs:"\u2A96",egsdot:"\u2A98",el:"\u2A99",Element:"\u2208",elinters:"\u23E7",ell:"\u2113",els:"\u2A95",elsdot:"\u2A97",Emacr:"\u0112",emacr:"\u0113",empty:"\u2205",emptyset:"\u2205",EmptySmallSquare:"\u25FB",emptyv:"\u2205",EmptyVerySmallSquare:"\u25AB",emsp13:"\u2004",emsp14:"\u2005",emsp:"\u2003",ENG:"\u014A",eng:"\u014B",ensp:"\u2002",Eogon:"\u0118",eogon:"\u0119",Eopf:"\u{1D53C}",eopf:"\u{1D556}",epar:"\u22D5",eparsl:"\u29E3",eplus:"\u2A71",epsi:"\u03B5",Epsilon:"\u0395",epsilon:"\u03B5",epsiv:"\u03F5",eqcirc:"\u2256",eqcolon:"\u2255",eqsim:"\u2242",eqslantgtr:"\u2A96",eqslantless:"\u2A95",Equal:"\u2A75",equals:"=",EqualTilde:"\u2242",equest:"\u225F",Equilibrium:"\u21CC",equiv:"\u2261",equivDD:"\u2A78",eqvparsl:"\u29E5",erarr:"\u2971",erDot:"\u2253",escr:"\u212F",Escr:"\u2130",esdot:"\u2250",Esim:"\u2A73",esim:"\u2242",Eta:"\u0397",eta:"\u03B7",ETH:"\xD0",eth:"\xF0",Euml:"\xCB",euml:"\xEB",euro:"\u20AC",excl:"!",exist:"\u2203",Exists:"\u2203",expectation:"\u2130",exponentiale:"\u2147",ExponentialE:"\u2147",fallingdotseq:"\u2252",Fcy:"\u0424",fcy:"\u0444",female:"\u2640",ffilig:"\uFB03",fflig:"\uFB00",ffllig:"\uFB04",Ffr:"\u{1D509}",ffr:"\u{1D523}",filig:"\uFB01",FilledSmallSquare:"\u25FC",FilledVerySmallSquare:"\u25AA",fjlig:"fj",flat:"\u266D",fllig:"\uFB02",fltns:"\u25B1",fnof:"\u0192",Fopf:"\u{1D53D}",fopf:"\u{1D557}",forall:"\u2200",ForAll:"\u2200",fork:"\u22D4",forkv:"\u2AD9",Fouriertrf:"\u2131",fpartint:"\u2A0D",frac12:"\xBD",frac13:"\u2153",frac14:"\xBC",frac15:"\u2155",frac16:"\u2159",frac18:"\u215B",frac23:"\u2154",frac25:"\u2156",frac34:"\xBE",frac35:"\u2157",frac38:"\u215C",frac45:"\u2158",frac56:"\u215A",frac58:"\u215D",frac78:"\u215E",frasl:"\u2044",frown:"\u2322",fscr:"\u{1D4BB}",Fscr:"\u2131",gacute:"\u01F5",Gamma:"\u0393",gamma:"\u03B3",Gammad:"\u03DC",gammad:"\u03DD",gap:"\u2A86",Gbreve:"\u011E",gbreve:"\u011F",Gcedil:"\u0122",Gcirc:"\u011C",gcirc:"\u011D",Gcy:"\u0413",gcy:"\u0433",Gdot:"\u0120",gdot:"\u0121",ge:"\u2265",gE:"\u2267",gEl:"\u2A8C",gel:"\u22DB",geq:"\u2265",geqq:"\u2267",geqslant:"\u2A7E",gescc:"\u2AA9",ges:"\u2A7E",gesdot:"\u2A80",gesdoto:"\u2A82",gesdotol:"\u2A84",gesl:"\u22DB\uFE00",gesles:"\u2A94",Gfr:"\u{1D50A}",gfr:"\u{1D524}",gg:"\u226B",Gg:"\u22D9",ggg:"\u22D9",gimel:"\u2137",GJcy:"\u0403",gjcy:"\u0453",gla:"\u2AA5",gl:"\u2277",glE:"\u2A92",glj:"\u2AA4",gnap:"\u2A8A",gnapprox:"\u2A8A",gne:"\u2A88",gnE:"\u2269",gneq:"\u2A88",gneqq:"\u2269",gnsim:"\u22E7",Gopf:"\u{1D53E}",gopf:"\u{1D558}",grave:"`",GreaterEqual:"\u2265",GreaterEqualLess:"\u22DB",GreaterFullEqual:"\u2267",GreaterGreater:"\u2AA2",GreaterLess:"\u2277",GreaterSlantEqual:"\u2A7E",GreaterTilde:"\u2273",Gscr:"\u{1D4A2}",gscr:"\u210A",gsim:"\u2273",gsime:"\u2A8E",gsiml:"\u2A90",gtcc:"\u2AA7",gtcir:"\u2A7A",gt:">",GT:">",Gt:"\u226B",gtdot:"\u22D7",gtlPar:"\u2995",gtquest:"\u2A7C",gtrapprox:"\u2A86",gtrarr:"\u2978",gtrdot:"\u22D7",gtreqless:"\u22DB",gtreqqless:"\u2A8C",gtrless:"\u2277",gtrsim:"\u2273",gvertneqq:"\u2269\uFE00",gvnE:"\u2269\uFE00",Hacek:"\u02C7",hairsp:"\u200A",half:"\xBD",hamilt:"\u210B",HARDcy:"\u042A",hardcy:"\u044A",harrcir:"\u2948",harr:"\u2194",hArr:"\u21D4",harrw:"\u21AD",Hat:"^",hbar:"\u210F",Hcirc:"\u0124",hcirc:"\u0125",hearts:"\u2665",heartsuit:"\u2665",hellip:"\u2026",hercon:"\u22B9",hfr:"\u{1D525}",Hfr:"\u210C",HilbertSpace:"\u210B",hksearow:"\u2925",hkswarow:"\u2926",hoarr:"\u21FF",homtht:"\u223B",hookleftarrow:"\u21A9",hookrightarrow:"\u21AA",hopf:"\u{1D559}",Hopf:"\u210D",horbar:"\u2015",HorizontalLine:"\u2500",hscr:"\u{1D4BD}",Hscr:"\u210B",hslash:"\u210F",Hstrok:"\u0126",hstrok:"\u0127",HumpDownHump:"\u224E",HumpEqual:"\u224F",hybull:"\u2043",hyphen:"\u2010",Iacute:"\xCD",iacute:"\xED",ic:"\u2063",Icirc:"\xCE",icirc:"\xEE",Icy:"\u0418",icy:"\u0438",Idot:"\u0130",IEcy:"\u0415",iecy:"\u0435",iexcl:"\xA1",iff:"\u21D4",ifr:"\u{1D526}",Ifr:"\u2111",Igrave:"\xCC",igrave:"\xEC",ii:"\u2148",iiiint:"\u2A0C",iiint:"\u222D",iinfin:"\u29DC",iiota:"\u2129",IJlig:"\u0132",ijlig:"\u0133",Imacr:"\u012A",imacr:"\u012B",image:"\u2111",ImaginaryI:"\u2148",imagline:"\u2110",imagpart:"\u2111",imath:"\u0131",Im:"\u2111",imof:"\u22B7",imped:"\u01B5",Implies:"\u21D2",incare:"\u2105",in:"\u2208",infin:"\u221E",infintie:"\u29DD",inodot:"\u0131",intcal:"\u22BA",int:"\u222B",Int:"\u222C",integers:"\u2124",Integral:"\u222B",intercal:"\u22BA",Intersection:"\u22C2",intlarhk:"\u2A17",intprod:"\u2A3C",InvisibleComma:"\u2063",InvisibleTimes:"\u2062",IOcy:"\u0401",iocy:"\u0451",Iogon:"\u012E",iogon:"\u012F",Iopf:"\u{1D540}",iopf:"\u{1D55A}",Iota:"\u0399",iota:"\u03B9",iprod:"\u2A3C",iquest:"\xBF",iscr:"\u{1D4BE}",Iscr:"\u2110",isin:"\u2208",isindot:"\u22F5",isinE:"\u22F9",isins:"\u22F4",isinsv:"\u22F3",isinv:"\u2208",it:"\u2062",Itilde:"\u0128",itilde:"\u0129",Iukcy:"\u0406",iukcy:"\u0456",Iuml:"\xCF",iuml:"\xEF",Jcirc:"\u0134",jcirc:"\u0135",Jcy:"\u0419",jcy:"\u0439",Jfr:"\u{1D50D}",jfr:"\u{1D527}",jmath:"\u0237",Jopf:"\u{1D541}",jopf:"\u{1D55B}",Jscr:"\u{1D4A5}",jscr:"\u{1D4BF}",Jsercy:"\u0408",jsercy:"\u0458",Jukcy:"\u0404",jukcy:"\u0454",Kappa:"\u039A",kappa:"\u03BA",kappav:"\u03F0",Kcedil:"\u0136",kcedil:"\u0137",Kcy:"\u041A",kcy:"\u043A",Kfr:"\u{1D50E}",kfr:"\u{1D528}",kgreen:"\u0138",KHcy:"\u0425",khcy:"\u0445",KJcy:"\u040C",kjcy:"\u045C",Kopf:"\u{1D542}",kopf:"\u{1D55C}",Kscr:"\u{1D4A6}",kscr:"\u{1D4C0}",lAarr:"\u21DA",Lacute:"\u0139",lacute:"\u013A",laemptyv:"\u29B4",lagran:"\u2112",Lambda:"\u039B",lambda:"\u03BB",lang:"\u27E8",Lang:"\u27EA",langd:"\u2991",langle:"\u27E8",lap:"\u2A85",Laplacetrf:"\u2112",laquo:"\xAB",larrb:"\u21E4",larrbfs:"\u291F",larr:"\u2190",Larr:"\u219E",lArr:"\u21D0",larrfs:"\u291D",larrhk:"\u21A9",larrlp:"\u21AB",larrpl:"\u2939",larrsim:"\u2973",larrtl:"\u21A2",latail:"\u2919",lAtail:"\u291B",lat:"\u2AAB",late:"\u2AAD",lates:"\u2AAD\uFE00",lbarr:"\u290C",lBarr:"\u290E",lbbrk:"\u2772",lbrace:"{",lbrack:"[",lbrke:"\u298B",lbrksld:"\u298F",lbrkslu:"\u298D",Lcaron:"\u013D",lcaron:"\u013E",Lcedil:"\u013B",lcedil:"\u013C",lceil:"\u2308",lcub:"{",Lcy:"\u041B",lcy:"\u043B",ldca:"\u2936",ldquo:"\u201C",ldquor:"\u201E",ldrdhar:"\u2967",ldrushar:"\u294B",ldsh:"\u21B2",le:"\u2264",lE:"\u2266",LeftAngleBracket:"\u27E8",LeftArrowBar:"\u21E4",leftarrow:"\u2190",LeftArrow:"\u2190",Leftarrow:"\u21D0",LeftArrowRightArrow:"\u21C6",leftarrowtail:"\u21A2",LeftCeiling:"\u2308",LeftDoubleBracket:"\u27E6",LeftDownTeeVector:"\u2961",LeftDownVectorBar:"\u2959",LeftDownVector:"\u21C3",LeftFloor:"\u230A",leftharpoondown:"\u21BD",leftharpoonup:"\u21BC",leftleftarrows:"\u21C7",leftrightarrow:"\u2194",LeftRightArrow:"\u2194",Leftrightarrow:"\u21D4",leftrightarrows:"\u21C6",leftrightharpoons:"\u21CB",leftrightsquigarrow:"\u21AD",LeftRightVector:"\u294E",LeftTeeArrow:"\u21A4",LeftTee:"\u22A3",LeftTeeVector:"\u295A",leftthreetimes:"\u22CB",LeftTriangleBar:"\u29CF",LeftTriangle:"\u22B2",LeftTriangleEqual:"\u22B4",LeftUpDownVector:"\u2951",LeftUpTeeVector:"\u2960",LeftUpVectorBar:"\u2958",LeftUpVector:"\u21BF",LeftVectorBar:"\u2952",LeftVector:"\u21BC",lEg:"\u2A8B",leg:"\u22DA",leq:"\u2264",leqq:"\u2266",leqslant:"\u2A7D",lescc:"\u2AA8",les:"\u2A7D",lesdot:"\u2A7F",lesdoto:"\u2A81",lesdotor:"\u2A83",lesg:"\u22DA\uFE00",lesges:"\u2A93",lessapprox:"\u2A85",lessdot:"\u22D6",lesseqgtr:"\u22DA",lesseqqgtr:"\u2A8B",LessEqualGreater:"\u22DA",LessFullEqual:"\u2266",LessGreater:"\u2276",lessgtr:"\u2276",LessLess:"\u2AA1",lesssim:"\u2272",LessSlantEqual:"\u2A7D",LessTilde:"\u2272",lfisht:"\u297C",lfloor:"\u230A",Lfr:"\u{1D50F}",lfr:"\u{1D529}",lg:"\u2276",lgE:"\u2A91",lHar:"\u2962",lhard:"\u21BD",lharu:"\u21BC",lharul:"\u296A",lhblk:"\u2584",LJcy:"\u0409",ljcy:"\u0459",llarr:"\u21C7",ll:"\u226A",Ll:"\u22D8",llcorner:"\u231E",Lleftarrow:"\u21DA",llhard:"\u296B",lltri:"\u25FA",Lmidot:"\u013F",lmidot:"\u0140",lmoustache:"\u23B0",lmoust:"\u23B0",lnap:"\u2A89",lnapprox:"\u2A89",lne:"\u2A87",lnE:"\u2268",lneq:"\u2A87",lneqq:"\u2268",lnsim:"\u22E6",loang:"\u27EC",loarr:"\u21FD",lobrk:"\u27E6",longleftarrow:"\u27F5",LongLeftArrow:"\u27F5",Longleftarrow:"\u27F8",longleftrightarrow:"\u27F7",LongLeftRightArrow:"\u27F7",Longleftrightarrow:"\u27FA",longmapsto:"\u27FC",longrightarrow:"\u27F6",LongRightArrow:"\u27F6",Longrightarrow:"\u27F9",looparrowleft:"\u21AB",looparrowright:"\u21AC",lopar:"\u2985",Lopf:"\u{1D543}",lopf:"\u{1D55D}",loplus:"\u2A2D",lotimes:"\u2A34",lowast:"\u2217",lowbar:"_",LowerLeftArrow:"\u2199",LowerRightArrow:"\u2198",loz:"\u25CA",lozenge:"\u25CA",lozf:"\u29EB",lpar:"(",lparlt:"\u2993",lrarr:"\u21C6",lrcorner:"\u231F",lrhar:"\u21CB",lrhard:"\u296D",lrm:"\u200E",lrtri:"\u22BF",lsaquo:"\u2039",lscr:"\u{1D4C1}",Lscr:"\u2112",lsh:"\u21B0",Lsh:"\u21B0",lsim:"\u2272",lsime:"\u2A8D",lsimg:"\u2A8F",lsqb:"[",lsquo:"\u2018",lsquor:"\u201A",Lstrok:"\u0141",lstrok:"\u0142",ltcc:"\u2AA6",ltcir:"\u2A79",lt:"<",LT:"<",Lt:"\u226A",ltdot:"\u22D6",lthree:"\u22CB",ltimes:"\u22C9",ltlarr:"\u2976",ltquest:"\u2A7B",ltri:"\u25C3",ltrie:"\u22B4",ltrif:"\u25C2",ltrPar:"\u2996",lurdshar:"\u294A",luruhar:"\u2966",lvertneqq:"\u2268\uFE00",lvnE:"\u2268\uFE00",macr:"\xAF",male:"\u2642",malt:"\u2720",maltese:"\u2720",Map:"\u2905",map:"\u21A6",mapsto:"\u21A6",mapstodown:"\u21A7",mapstoleft:"\u21A4",mapstoup:"\u21A5",marker:"\u25AE",mcomma:"\u2A29",Mcy:"\u041C",mcy:"\u043C",mdash:"\u2014",mDDot:"\u223A",measuredangle:"\u2221",MediumSpace:"\u205F",Mellintrf:"\u2133",Mfr:"\u{1D510}",mfr:"\u{1D52A}",mho:"\u2127",micro:"\xB5",midast:"*",midcir:"\u2AF0",mid:"\u2223",middot:"\xB7",minusb:"\u229F",minus:"\u2212",minusd:"\u2238",minusdu:"\u2A2A",MinusPlus:"\u2213",mlcp:"\u2ADB",mldr:"\u2026",mnplus:"\u2213",models:"\u22A7",Mopf:"\u{1D544}",mopf:"\u{1D55E}",mp:"\u2213",mscr:"\u{1D4C2}",Mscr:"\u2133",mstpos:"\u223E",Mu:"\u039C",mu:"\u03BC",multimap:"\u22B8",mumap:"\u22B8",nabla:"\u2207",Nacute:"\u0143",nacute:"\u0144",nang:"\u2220\u20D2",nap:"\u2249",napE:"\u2A70\u0338",napid:"\u224B\u0338",napos:"\u0149",napprox:"\u2249",natural:"\u266E",naturals:"\u2115",natur:"\u266E",nbsp:"\xA0",nbump:"\u224E\u0338",nbumpe:"\u224F\u0338",ncap:"\u2A43",Ncaron:"\u0147",ncaron:"\u0148",Ncedil:"\u0145",ncedil:"\u0146",ncong:"\u2247",ncongdot:"\u2A6D\u0338",ncup:"\u2A42",Ncy:"\u041D",ncy:"\u043D",ndash:"\u2013",nearhk:"\u2924",nearr:"\u2197",neArr:"\u21D7",nearrow:"\u2197",ne:"\u2260",nedot:"\u2250\u0338",NegativeMediumSpace:"\u200B",NegativeThickSpace:"\u200B",NegativeThinSpace:"\u200B",NegativeVeryThinSpace:"\u200B",nequiv:"\u2262",nesear:"\u2928",nesim:"\u2242\u0338",NestedGreaterGreater:"\u226B",NestedLessLess:"\u226A",NewLine:` -`,nexist:"\u2204",nexists:"\u2204",Nfr:"\u{1D511}",nfr:"\u{1D52B}",ngE:"\u2267\u0338",nge:"\u2271",ngeq:"\u2271",ngeqq:"\u2267\u0338",ngeqslant:"\u2A7E\u0338",nges:"\u2A7E\u0338",nGg:"\u22D9\u0338",ngsim:"\u2275",nGt:"\u226B\u20D2",ngt:"\u226F",ngtr:"\u226F",nGtv:"\u226B\u0338",nharr:"\u21AE",nhArr:"\u21CE",nhpar:"\u2AF2",ni:"\u220B",nis:"\u22FC",nisd:"\u22FA",niv:"\u220B",NJcy:"\u040A",njcy:"\u045A",nlarr:"\u219A",nlArr:"\u21CD",nldr:"\u2025",nlE:"\u2266\u0338",nle:"\u2270",nleftarrow:"\u219A",nLeftarrow:"\u21CD",nleftrightarrow:"\u21AE",nLeftrightarrow:"\u21CE",nleq:"\u2270",nleqq:"\u2266\u0338",nleqslant:"\u2A7D\u0338",nles:"\u2A7D\u0338",nless:"\u226E",nLl:"\u22D8\u0338",nlsim:"\u2274",nLt:"\u226A\u20D2",nlt:"\u226E",nltri:"\u22EA",nltrie:"\u22EC",nLtv:"\u226A\u0338",nmid:"\u2224",NoBreak:"\u2060",NonBreakingSpace:"\xA0",nopf:"\u{1D55F}",Nopf:"\u2115",Not:"\u2AEC",not:"\xAC",NotCongruent:"\u2262",NotCupCap:"\u226D",NotDoubleVerticalBar:"\u2226",NotElement:"\u2209",NotEqual:"\u2260",NotEqualTilde:"\u2242\u0338",NotExists:"\u2204",NotGreater:"\u226F",NotGreaterEqual:"\u2271",NotGreaterFullEqual:"\u2267\u0338",NotGreaterGreater:"\u226B\u0338",NotGreaterLess:"\u2279",NotGreaterSlantEqual:"\u2A7E\u0338",NotGreaterTilde:"\u2275",NotHumpDownHump:"\u224E\u0338",NotHumpEqual:"\u224F\u0338",notin:"\u2209",notindot:"\u22F5\u0338",notinE:"\u22F9\u0338",notinva:"\u2209",notinvb:"\u22F7",notinvc:"\u22F6",NotLeftTriangleBar:"\u29CF\u0338",NotLeftTriangle:"\u22EA",NotLeftTriangleEqual:"\u22EC",NotLess:"\u226E",NotLessEqual:"\u2270",NotLessGreater:"\u2278",NotLessLess:"\u226A\u0338",NotLessSlantEqual:"\u2A7D\u0338",NotLessTilde:"\u2274",NotNestedGreaterGreater:"\u2AA2\u0338",NotNestedLessLess:"\u2AA1\u0338",notni:"\u220C",notniva:"\u220C",notnivb:"\u22FE",notnivc:"\u22FD",NotPrecedes:"\u2280",NotPrecedesEqual:"\u2AAF\u0338",NotPrecedesSlantEqual:"\u22E0",NotReverseElement:"\u220C",NotRightTriangleBar:"\u29D0\u0338",NotRightTriangle:"\u22EB",NotRightTriangleEqual:"\u22ED",NotSquareSubset:"\u228F\u0338",NotSquareSubsetEqual:"\u22E2",NotSquareSuperset:"\u2290\u0338",NotSquareSupersetEqual:"\u22E3",NotSubset:"\u2282\u20D2",NotSubsetEqual:"\u2288",NotSucceeds:"\u2281",NotSucceedsEqual:"\u2AB0\u0338",NotSucceedsSlantEqual:"\u22E1",NotSucceedsTilde:"\u227F\u0338",NotSuperset:"\u2283\u20D2",NotSupersetEqual:"\u2289",NotTilde:"\u2241",NotTildeEqual:"\u2244",NotTildeFullEqual:"\u2247",NotTildeTilde:"\u2249",NotVerticalBar:"\u2224",nparallel:"\u2226",npar:"\u2226",nparsl:"\u2AFD\u20E5",npart:"\u2202\u0338",npolint:"\u2A14",npr:"\u2280",nprcue:"\u22E0",nprec:"\u2280",npreceq:"\u2AAF\u0338",npre:"\u2AAF\u0338",nrarrc:"\u2933\u0338",nrarr:"\u219B",nrArr:"\u21CF",nrarrw:"\u219D\u0338",nrightarrow:"\u219B",nRightarrow:"\u21CF",nrtri:"\u22EB",nrtrie:"\u22ED",nsc:"\u2281",nsccue:"\u22E1",nsce:"\u2AB0\u0338",Nscr:"\u{1D4A9}",nscr:"\u{1D4C3}",nshortmid:"\u2224",nshortparallel:"\u2226",nsim:"\u2241",nsime:"\u2244",nsimeq:"\u2244",nsmid:"\u2224",nspar:"\u2226",nsqsube:"\u22E2",nsqsupe:"\u22E3",nsub:"\u2284",nsubE:"\u2AC5\u0338",nsube:"\u2288",nsubset:"\u2282\u20D2",nsubseteq:"\u2288",nsubseteqq:"\u2AC5\u0338",nsucc:"\u2281",nsucceq:"\u2AB0\u0338",nsup:"\u2285",nsupE:"\u2AC6\u0338",nsupe:"\u2289",nsupset:"\u2283\u20D2",nsupseteq:"\u2289",nsupseteqq:"\u2AC6\u0338",ntgl:"\u2279",Ntilde:"\xD1",ntilde:"\xF1",ntlg:"\u2278",ntriangleleft:"\u22EA",ntrianglelefteq:"\u22EC",ntriangleright:"\u22EB",ntrianglerighteq:"\u22ED",Nu:"\u039D",nu:"\u03BD",num:"#",numero:"\u2116",numsp:"\u2007",nvap:"\u224D\u20D2",nvdash:"\u22AC",nvDash:"\u22AD",nVdash:"\u22AE",nVDash:"\u22AF",nvge:"\u2265\u20D2",nvgt:">\u20D2",nvHarr:"\u2904",nvinfin:"\u29DE",nvlArr:"\u2902",nvle:"\u2264\u20D2",nvlt:"<\u20D2",nvltrie:"\u22B4\u20D2",nvrArr:"\u2903",nvrtrie:"\u22B5\u20D2",nvsim:"\u223C\u20D2",nwarhk:"\u2923",nwarr:"\u2196",nwArr:"\u21D6",nwarrow:"\u2196",nwnear:"\u2927",Oacute:"\xD3",oacute:"\xF3",oast:"\u229B",Ocirc:"\xD4",ocirc:"\xF4",ocir:"\u229A",Ocy:"\u041E",ocy:"\u043E",odash:"\u229D",Odblac:"\u0150",odblac:"\u0151",odiv:"\u2A38",odot:"\u2299",odsold:"\u29BC",OElig:"\u0152",oelig:"\u0153",ofcir:"\u29BF",Ofr:"\u{1D512}",ofr:"\u{1D52C}",ogon:"\u02DB",Ograve:"\xD2",ograve:"\xF2",ogt:"\u29C1",ohbar:"\u29B5",ohm:"\u03A9",oint:"\u222E",olarr:"\u21BA",olcir:"\u29BE",olcross:"\u29BB",oline:"\u203E",olt:"\u29C0",Omacr:"\u014C",omacr:"\u014D",Omega:"\u03A9",omega:"\u03C9",Omicron:"\u039F",omicron:"\u03BF",omid:"\u29B6",ominus:"\u2296",Oopf:"\u{1D546}",oopf:"\u{1D560}",opar:"\u29B7",OpenCurlyDoubleQuote:"\u201C",OpenCurlyQuote:"\u2018",operp:"\u29B9",oplus:"\u2295",orarr:"\u21BB",Or:"\u2A54",or:"\u2228",ord:"\u2A5D",order:"\u2134",orderof:"\u2134",ordf:"\xAA",ordm:"\xBA",origof:"\u22B6",oror:"\u2A56",orslope:"\u2A57",orv:"\u2A5B",oS:"\u24C8",Oscr:"\u{1D4AA}",oscr:"\u2134",Oslash:"\xD8",oslash:"\xF8",osol:"\u2298",Otilde:"\xD5",otilde:"\xF5",otimesas:"\u2A36",Otimes:"\u2A37",otimes:"\u2297",Ouml:"\xD6",ouml:"\xF6",ovbar:"\u233D",OverBar:"\u203E",OverBrace:"\u23DE",OverBracket:"\u23B4",OverParenthesis:"\u23DC",para:"\xB6",parallel:"\u2225",par:"\u2225",parsim:"\u2AF3",parsl:"\u2AFD",part:"\u2202",PartialD:"\u2202",Pcy:"\u041F",pcy:"\u043F",percnt:"%",period:".",permil:"\u2030",perp:"\u22A5",pertenk:"\u2031",Pfr:"\u{1D513}",pfr:"\u{1D52D}",Phi:"\u03A6",phi:"\u03C6",phiv:"\u03D5",phmmat:"\u2133",phone:"\u260E",Pi:"\u03A0",pi:"\u03C0",pitchfork:"\u22D4",piv:"\u03D6",planck:"\u210F",planckh:"\u210E",plankv:"\u210F",plusacir:"\u2A23",plusb:"\u229E",pluscir:"\u2A22",plus:"+",plusdo:"\u2214",plusdu:"\u2A25",pluse:"\u2A72",PlusMinus:"\xB1",plusmn:"\xB1",plussim:"\u2A26",plustwo:"\u2A27",pm:"\xB1",Poincareplane:"\u210C",pointint:"\u2A15",popf:"\u{1D561}",Popf:"\u2119",pound:"\xA3",prap:"\u2AB7",Pr:"\u2ABB",pr:"\u227A",prcue:"\u227C",precapprox:"\u2AB7",prec:"\u227A",preccurlyeq:"\u227C",Precedes:"\u227A",PrecedesEqual:"\u2AAF",PrecedesSlantEqual:"\u227C",PrecedesTilde:"\u227E",preceq:"\u2AAF",precnapprox:"\u2AB9",precneqq:"\u2AB5",precnsim:"\u22E8",pre:"\u2AAF",prE:"\u2AB3",precsim:"\u227E",prime:"\u2032",Prime:"\u2033",primes:"\u2119",prnap:"\u2AB9",prnE:"\u2AB5",prnsim:"\u22E8",prod:"\u220F",Product:"\u220F",profalar:"\u232E",profline:"\u2312",profsurf:"\u2313",prop:"\u221D",Proportional:"\u221D",Proportion:"\u2237",propto:"\u221D",prsim:"\u227E",prurel:"\u22B0",Pscr:"\u{1D4AB}",pscr:"\u{1D4C5}",Psi:"\u03A8",psi:"\u03C8",puncsp:"\u2008",Qfr:"\u{1D514}",qfr:"\u{1D52E}",qint:"\u2A0C",qopf:"\u{1D562}",Qopf:"\u211A",qprime:"\u2057",Qscr:"\u{1D4AC}",qscr:"\u{1D4C6}",quaternions:"\u210D",quatint:"\u2A16",quest:"?",questeq:"\u225F",quot:'"',QUOT:'"',rAarr:"\u21DB",race:"\u223D\u0331",Racute:"\u0154",racute:"\u0155",radic:"\u221A",raemptyv:"\u29B3",rang:"\u27E9",Rang:"\u27EB",rangd:"\u2992",range:"\u29A5",rangle:"\u27E9",raquo:"\xBB",rarrap:"\u2975",rarrb:"\u21E5",rarrbfs:"\u2920",rarrc:"\u2933",rarr:"\u2192",Rarr:"\u21A0",rArr:"\u21D2",rarrfs:"\u291E",rarrhk:"\u21AA",rarrlp:"\u21AC",rarrpl:"\u2945",rarrsim:"\u2974",Rarrtl:"\u2916",rarrtl:"\u21A3",rarrw:"\u219D",ratail:"\u291A",rAtail:"\u291C",ratio:"\u2236",rationals:"\u211A",rbarr:"\u290D",rBarr:"\u290F",RBarr:"\u2910",rbbrk:"\u2773",rbrace:"}",rbrack:"]",rbrke:"\u298C",rbrksld:"\u298E",rbrkslu:"\u2990",Rcaron:"\u0158",rcaron:"\u0159",Rcedil:"\u0156",rcedil:"\u0157",rceil:"\u2309",rcub:"}",Rcy:"\u0420",rcy:"\u0440",rdca:"\u2937",rdldhar:"\u2969",rdquo:"\u201D",rdquor:"\u201D",rdsh:"\u21B3",real:"\u211C",realine:"\u211B",realpart:"\u211C",reals:"\u211D",Re:"\u211C",rect:"\u25AD",reg:"\xAE",REG:"\xAE",ReverseElement:"\u220B",ReverseEquilibrium:"\u21CB",ReverseUpEquilibrium:"\u296F",rfisht:"\u297D",rfloor:"\u230B",rfr:"\u{1D52F}",Rfr:"\u211C",rHar:"\u2964",rhard:"\u21C1",rharu:"\u21C0",rharul:"\u296C",Rho:"\u03A1",rho:"\u03C1",rhov:"\u03F1",RightAngleBracket:"\u27E9",RightArrowBar:"\u21E5",rightarrow:"\u2192",RightArrow:"\u2192",Rightarrow:"\u21D2",RightArrowLeftArrow:"\u21C4",rightarrowtail:"\u21A3",RightCeiling:"\u2309",RightDoubleBracket:"\u27E7",RightDownTeeVector:"\u295D",RightDownVectorBar:"\u2955",RightDownVector:"\u21C2",RightFloor:"\u230B",rightharpoondown:"\u21C1",rightharpoonup:"\u21C0",rightleftarrows:"\u21C4",rightleftharpoons:"\u21CC",rightrightarrows:"\u21C9",rightsquigarrow:"\u219D",RightTeeArrow:"\u21A6",RightTee:"\u22A2",RightTeeVector:"\u295B",rightthreetimes:"\u22CC",RightTriangleBar:"\u29D0",RightTriangle:"\u22B3",RightTriangleEqual:"\u22B5",RightUpDownVector:"\u294F",RightUpTeeVector:"\u295C",RightUpVectorBar:"\u2954",RightUpVector:"\u21BE",RightVectorBar:"\u2953",RightVector:"\u21C0",ring:"\u02DA",risingdotseq:"\u2253",rlarr:"\u21C4",rlhar:"\u21CC",rlm:"\u200F",rmoustache:"\u23B1",rmoust:"\u23B1",rnmid:"\u2AEE",roang:"\u27ED",roarr:"\u21FE",robrk:"\u27E7",ropar:"\u2986",ropf:"\u{1D563}",Ropf:"\u211D",roplus:"\u2A2E",rotimes:"\u2A35",RoundImplies:"\u2970",rpar:")",rpargt:"\u2994",rppolint:"\u2A12",rrarr:"\u21C9",Rrightarrow:"\u21DB",rsaquo:"\u203A",rscr:"\u{1D4C7}",Rscr:"\u211B",rsh:"\u21B1",Rsh:"\u21B1",rsqb:"]",rsquo:"\u2019",rsquor:"\u2019",rthree:"\u22CC",rtimes:"\u22CA",rtri:"\u25B9",rtrie:"\u22B5",rtrif:"\u25B8",rtriltri:"\u29CE",RuleDelayed:"\u29F4",ruluhar:"\u2968",rx:"\u211E",Sacute:"\u015A",sacute:"\u015B",sbquo:"\u201A",scap:"\u2AB8",Scaron:"\u0160",scaron:"\u0161",Sc:"\u2ABC",sc:"\u227B",sccue:"\u227D",sce:"\u2AB0",scE:"\u2AB4",Scedil:"\u015E",scedil:"\u015F",Scirc:"\u015C",scirc:"\u015D",scnap:"\u2ABA",scnE:"\u2AB6",scnsim:"\u22E9",scpolint:"\u2A13",scsim:"\u227F",Scy:"\u0421",scy:"\u0441",sdotb:"\u22A1",sdot:"\u22C5",sdote:"\u2A66",searhk:"\u2925",searr:"\u2198",seArr:"\u21D8",searrow:"\u2198",sect:"\xA7",semi:";",seswar:"\u2929",setminus:"\u2216",setmn:"\u2216",sext:"\u2736",Sfr:"\u{1D516}",sfr:"\u{1D530}",sfrown:"\u2322",sharp:"\u266F",SHCHcy:"\u0429",shchcy:"\u0449",SHcy:"\u0428",shcy:"\u0448",ShortDownArrow:"\u2193",ShortLeftArrow:"\u2190",shortmid:"\u2223",shortparallel:"\u2225",ShortRightArrow:"\u2192",ShortUpArrow:"\u2191",shy:"\xAD",Sigma:"\u03A3",sigma:"\u03C3",sigmaf:"\u03C2",sigmav:"\u03C2",sim:"\u223C",simdot:"\u2A6A",sime:"\u2243",simeq:"\u2243",simg:"\u2A9E",simgE:"\u2AA0",siml:"\u2A9D",simlE:"\u2A9F",simne:"\u2246",simplus:"\u2A24",simrarr:"\u2972",slarr:"\u2190",SmallCircle:"\u2218",smallsetminus:"\u2216",smashp:"\u2A33",smeparsl:"\u29E4",smid:"\u2223",smile:"\u2323",smt:"\u2AAA",smte:"\u2AAC",smtes:"\u2AAC\uFE00",SOFTcy:"\u042C",softcy:"\u044C",solbar:"\u233F",solb:"\u29C4",sol:"/",Sopf:"\u{1D54A}",sopf:"\u{1D564}",spades:"\u2660",spadesuit:"\u2660",spar:"\u2225",sqcap:"\u2293",sqcaps:"\u2293\uFE00",sqcup:"\u2294",sqcups:"\u2294\uFE00",Sqrt:"\u221A",sqsub:"\u228F",sqsube:"\u2291",sqsubset:"\u228F",sqsubseteq:"\u2291",sqsup:"\u2290",sqsupe:"\u2292",sqsupset:"\u2290",sqsupseteq:"\u2292",square:"\u25A1",Square:"\u25A1",SquareIntersection:"\u2293",SquareSubset:"\u228F",SquareSubsetEqual:"\u2291",SquareSuperset:"\u2290",SquareSupersetEqual:"\u2292",SquareUnion:"\u2294",squarf:"\u25AA",squ:"\u25A1",squf:"\u25AA",srarr:"\u2192",Sscr:"\u{1D4AE}",sscr:"\u{1D4C8}",ssetmn:"\u2216",ssmile:"\u2323",sstarf:"\u22C6",Star:"\u22C6",star:"\u2606",starf:"\u2605",straightepsilon:"\u03F5",straightphi:"\u03D5",strns:"\xAF",sub:"\u2282",Sub:"\u22D0",subdot:"\u2ABD",subE:"\u2AC5",sube:"\u2286",subedot:"\u2AC3",submult:"\u2AC1",subnE:"\u2ACB",subne:"\u228A",subplus:"\u2ABF",subrarr:"\u2979",subset:"\u2282",Subset:"\u22D0",subseteq:"\u2286",subseteqq:"\u2AC5",SubsetEqual:"\u2286",subsetneq:"\u228A",subsetneqq:"\u2ACB",subsim:"\u2AC7",subsub:"\u2AD5",subsup:"\u2AD3",succapprox:"\u2AB8",succ:"\u227B",succcurlyeq:"\u227D",Succeeds:"\u227B",SucceedsEqual:"\u2AB0",SucceedsSlantEqual:"\u227D",SucceedsTilde:"\u227F",succeq:"\u2AB0",succnapprox:"\u2ABA",succneqq:"\u2AB6",succnsim:"\u22E9",succsim:"\u227F",SuchThat:"\u220B",sum:"\u2211",Sum:"\u2211",sung:"\u266A",sup1:"\xB9",sup2:"\xB2",sup3:"\xB3",sup:"\u2283",Sup:"\u22D1",supdot:"\u2ABE",supdsub:"\u2AD8",supE:"\u2AC6",supe:"\u2287",supedot:"\u2AC4",Superset:"\u2283",SupersetEqual:"\u2287",suphsol:"\u27C9",suphsub:"\u2AD7",suplarr:"\u297B",supmult:"\u2AC2",supnE:"\u2ACC",supne:"\u228B",supplus:"\u2AC0",supset:"\u2283",Supset:"\u22D1",supseteq:"\u2287",supseteqq:"\u2AC6",supsetneq:"\u228B",supsetneqq:"\u2ACC",supsim:"\u2AC8",supsub:"\u2AD4",supsup:"\u2AD6",swarhk:"\u2926",swarr:"\u2199",swArr:"\u21D9",swarrow:"\u2199",swnwar:"\u292A",szlig:"\xDF",Tab:" ",target:"\u2316",Tau:"\u03A4",tau:"\u03C4",tbrk:"\u23B4",Tcaron:"\u0164",tcaron:"\u0165",Tcedil:"\u0162",tcedil:"\u0163",Tcy:"\u0422",tcy:"\u0442",tdot:"\u20DB",telrec:"\u2315",Tfr:"\u{1D517}",tfr:"\u{1D531}",there4:"\u2234",therefore:"\u2234",Therefore:"\u2234",Theta:"\u0398",theta:"\u03B8",thetasym:"\u03D1",thetav:"\u03D1",thickapprox:"\u2248",thicksim:"\u223C",ThickSpace:"\u205F\u200A",ThinSpace:"\u2009",thinsp:"\u2009",thkap:"\u2248",thksim:"\u223C",THORN:"\xDE",thorn:"\xFE",tilde:"\u02DC",Tilde:"\u223C",TildeEqual:"\u2243",TildeFullEqual:"\u2245",TildeTilde:"\u2248",timesbar:"\u2A31",timesb:"\u22A0",times:"\xD7",timesd:"\u2A30",tint:"\u222D",toea:"\u2928",topbot:"\u2336",topcir:"\u2AF1",top:"\u22A4",Topf:"\u{1D54B}",topf:"\u{1D565}",topfork:"\u2ADA",tosa:"\u2929",tprime:"\u2034",trade:"\u2122",TRADE:"\u2122",triangle:"\u25B5",triangledown:"\u25BF",triangleleft:"\u25C3",trianglelefteq:"\u22B4",triangleq:"\u225C",triangleright:"\u25B9",trianglerighteq:"\u22B5",tridot:"\u25EC",trie:"\u225C",triminus:"\u2A3A",TripleDot:"\u20DB",triplus:"\u2A39",trisb:"\u29CD",tritime:"\u2A3B",trpezium:"\u23E2",Tscr:"\u{1D4AF}",tscr:"\u{1D4C9}",TScy:"\u0426",tscy:"\u0446",TSHcy:"\u040B",tshcy:"\u045B",Tstrok:"\u0166",tstrok:"\u0167",twixt:"\u226C",twoheadleftarrow:"\u219E",twoheadrightarrow:"\u21A0",Uacute:"\xDA",uacute:"\xFA",uarr:"\u2191",Uarr:"\u219F",uArr:"\u21D1",Uarrocir:"\u2949",Ubrcy:"\u040E",ubrcy:"\u045E",Ubreve:"\u016C",ubreve:"\u016D",Ucirc:"\xDB",ucirc:"\xFB",Ucy:"\u0423",ucy:"\u0443",udarr:"\u21C5",Udblac:"\u0170",udblac:"\u0171",udhar:"\u296E",ufisht:"\u297E",Ufr:"\u{1D518}",ufr:"\u{1D532}",Ugrave:"\xD9",ugrave:"\xF9",uHar:"\u2963",uharl:"\u21BF",uharr:"\u21BE",uhblk:"\u2580",ulcorn:"\u231C",ulcorner:"\u231C",ulcrop:"\u230F",ultri:"\u25F8",Umacr:"\u016A",umacr:"\u016B",uml:"\xA8",UnderBar:"_",UnderBrace:"\u23DF",UnderBracket:"\u23B5",UnderParenthesis:"\u23DD",Union:"\u22C3",UnionPlus:"\u228E",Uogon:"\u0172",uogon:"\u0173",Uopf:"\u{1D54C}",uopf:"\u{1D566}",UpArrowBar:"\u2912",uparrow:"\u2191",UpArrow:"\u2191",Uparrow:"\u21D1",UpArrowDownArrow:"\u21C5",updownarrow:"\u2195",UpDownArrow:"\u2195",Updownarrow:"\u21D5",UpEquilibrium:"\u296E",upharpoonleft:"\u21BF",upharpoonright:"\u21BE",uplus:"\u228E",UpperLeftArrow:"\u2196",UpperRightArrow:"\u2197",upsi:"\u03C5",Upsi:"\u03D2",upsih:"\u03D2",Upsilon:"\u03A5",upsilon:"\u03C5",UpTeeArrow:"\u21A5",UpTee:"\u22A5",upuparrows:"\u21C8",urcorn:"\u231D",urcorner:"\u231D",urcrop:"\u230E",Uring:"\u016E",uring:"\u016F",urtri:"\u25F9",Uscr:"\u{1D4B0}",uscr:"\u{1D4CA}",utdot:"\u22F0",Utilde:"\u0168",utilde:"\u0169",utri:"\u25B5",utrif:"\u25B4",uuarr:"\u21C8",Uuml:"\xDC",uuml:"\xFC",uwangle:"\u29A7",vangrt:"\u299C",varepsilon:"\u03F5",varkappa:"\u03F0",varnothing:"\u2205",varphi:"\u03D5",varpi:"\u03D6",varpropto:"\u221D",varr:"\u2195",vArr:"\u21D5",varrho:"\u03F1",varsigma:"\u03C2",varsubsetneq:"\u228A\uFE00",varsubsetneqq:"\u2ACB\uFE00",varsupsetneq:"\u228B\uFE00",varsupsetneqq:"\u2ACC\uFE00",vartheta:"\u03D1",vartriangleleft:"\u22B2",vartriangleright:"\u22B3",vBar:"\u2AE8",Vbar:"\u2AEB",vBarv:"\u2AE9",Vcy:"\u0412",vcy:"\u0432",vdash:"\u22A2",vDash:"\u22A8",Vdash:"\u22A9",VDash:"\u22AB",Vdashl:"\u2AE6",veebar:"\u22BB",vee:"\u2228",Vee:"\u22C1",veeeq:"\u225A",vellip:"\u22EE",verbar:"|",Verbar:"\u2016",vert:"|",Vert:"\u2016",VerticalBar:"\u2223",VerticalLine:"|",VerticalSeparator:"\u2758",VerticalTilde:"\u2240",VeryThinSpace:"\u200A",Vfr:"\u{1D519}",vfr:"\u{1D533}",vltri:"\u22B2",vnsub:"\u2282\u20D2",vnsup:"\u2283\u20D2",Vopf:"\u{1D54D}",vopf:"\u{1D567}",vprop:"\u221D",vrtri:"\u22B3",Vscr:"\u{1D4B1}",vscr:"\u{1D4CB}",vsubnE:"\u2ACB\uFE00",vsubne:"\u228A\uFE00",vsupnE:"\u2ACC\uFE00",vsupne:"\u228B\uFE00",Vvdash:"\u22AA",vzigzag:"\u299A",Wcirc:"\u0174",wcirc:"\u0175",wedbar:"\u2A5F",wedge:"\u2227",Wedge:"\u22C0",wedgeq:"\u2259",weierp:"\u2118",Wfr:"\u{1D51A}",wfr:"\u{1D534}",Wopf:"\u{1D54E}",wopf:"\u{1D568}",wp:"\u2118",wr:"\u2240",wreath:"\u2240",Wscr:"\u{1D4B2}",wscr:"\u{1D4CC}",xcap:"\u22C2",xcirc:"\u25EF",xcup:"\u22C3",xdtri:"\u25BD",Xfr:"\u{1D51B}",xfr:"\u{1D535}",xharr:"\u27F7",xhArr:"\u27FA",Xi:"\u039E",xi:"\u03BE",xlarr:"\u27F5",xlArr:"\u27F8",xmap:"\u27FC",xnis:"\u22FB",xodot:"\u2A00",Xopf:"\u{1D54F}",xopf:"\u{1D569}",xoplus:"\u2A01",xotime:"\u2A02",xrarr:"\u27F6",xrArr:"\u27F9",Xscr:"\u{1D4B3}",xscr:"\u{1D4CD}",xsqcup:"\u2A06",xuplus:"\u2A04",xutri:"\u25B3",xvee:"\u22C1",xwedge:"\u22C0",Yacute:"\xDD",yacute:"\xFD",YAcy:"\u042F",yacy:"\u044F",Ycirc:"\u0176",ycirc:"\u0177",Ycy:"\u042B",ycy:"\u044B",yen:"\xA5",Yfr:"\u{1D51C}",yfr:"\u{1D536}",YIcy:"\u0407",yicy:"\u0457",Yopf:"\u{1D550}",yopf:"\u{1D56A}",Yscr:"\u{1D4B4}",yscr:"\u{1D4CE}",YUcy:"\u042E",yucy:"\u044E",yuml:"\xFF",Yuml:"\u0178",Zacute:"\u0179",zacute:"\u017A",Zcaron:"\u017D",zcaron:"\u017E",Zcy:"\u0417",zcy:"\u0437",Zdot:"\u017B",zdot:"\u017C",zeetrf:"\u2128",ZeroWidthSpace:"\u200B",Zeta:"\u0396",zeta:"\u03B6",zfr:"\u{1D537}",Zfr:"\u2128",ZHcy:"\u0416",zhcy:"\u0436",zigrarr:"\u21DD",zopf:"\u{1D56B}",Zopf:"\u2124",Zscr:"\u{1D4B5}",zscr:"\u{1D4CF}",zwj:"\u200D",zwnj:"\u200C"}}}),G2=ae({"../../node_modules/ansi-to-html/node_modules/entities/lib/maps/legacy.json"(t,e){e.exports={Aacute:"\xC1",aacute:"\xE1",Acirc:"\xC2",acirc:"\xE2",acute:"\xB4",AElig:"\xC6",aelig:"\xE6",Agrave:"\xC0",agrave:"\xE0",amp:"&",AMP:"&",Aring:"\xC5",aring:"\xE5",Atilde:"\xC3",atilde:"\xE3",Auml:"\xC4",auml:"\xE4",brvbar:"\xA6",Ccedil:"\xC7",ccedil:"\xE7",cedil:"\xB8",cent:"\xA2",copy:"\xA9",COPY:"\xA9",curren:"\xA4",deg:"\xB0",divide:"\xF7",Eacute:"\xC9",eacute:"\xE9",Ecirc:"\xCA",ecirc:"\xEA",Egrave:"\xC8",egrave:"\xE8",ETH:"\xD0",eth:"\xF0",Euml:"\xCB",euml:"\xEB",frac12:"\xBD",frac14:"\xBC",frac34:"\xBE",gt:">",GT:">",Iacute:"\xCD",iacute:"\xED",Icirc:"\xCE",icirc:"\xEE",iexcl:"\xA1",Igrave:"\xCC",igrave:"\xEC",iquest:"\xBF",Iuml:"\xCF",iuml:"\xEF",laquo:"\xAB",lt:"<",LT:"<",macr:"\xAF",micro:"\xB5",middot:"\xB7",nbsp:"\xA0",not:"\xAC",Ntilde:"\xD1",ntilde:"\xF1",Oacute:"\xD3",oacute:"\xF3",Ocirc:"\xD4",ocirc:"\xF4",Ograve:"\xD2",ograve:"\xF2",ordf:"\xAA",ordm:"\xBA",Oslash:"\xD8",oslash:"\xF8",Otilde:"\xD5",otilde:"\xF5",Ouml:"\xD6",ouml:"\xF6",para:"\xB6",plusmn:"\xB1",pound:"\xA3",quot:'"',QUOT:'"',raquo:"\xBB",reg:"\xAE",REG:"\xAE",sect:"\xA7",shy:"\xAD",sup1:"\xB9",sup2:"\xB2",sup3:"\xB3",szlig:"\xDF",THORN:"\xDE",thorn:"\xFE",times:"\xD7",Uacute:"\xDA",uacute:"\xFA",Ucirc:"\xDB",ucirc:"\xFB",Ugrave:"\xD9",ugrave:"\xF9",uml:"\xA8",Uuml:"\xDC",uuml:"\xFC",Yacute:"\xDD",yacute:"\xFD",yen:"\xA5",yuml:"\xFF"}}}),Ti=ae({"../../node_modules/ansi-to-html/node_modules/entities/lib/maps/xml.json"(t,e){e.exports={amp:"&",apos:"'",gt:">",lt:"<",quot:'"'}}}),V2=ae({"../../node_modules/ansi-to-html/node_modules/entities/lib/maps/decode.json"(t,e){e.exports={0:65533,128:8364,130:8218,131:402,132:8222,133:8230,134:8224,135:8225,136:710,137:8240,138:352,139:8249,140:338,142:381,145:8216,146:8217,147:8220,148:8221,149:8226,150:8211,151:8212,152:732,153:8482,154:353,155:8250,156:339,158:382,159:376}}}),W2=ae({"../../node_modules/ansi-to-html/node_modules/entities/lib/decode_codepoint.js"(t){var e=t&&t.__importDefault||function(a){return a&&a.__esModule?a:{default:a}};Object.defineProperty(t,"__esModule",{value:!0});var r=e(V2()),n=String.fromCodePoint||function(a){var u="";return a>65535&&(a-=65536,u+=String.fromCharCode(a>>>10&1023|55296),a=56320|a&1023),u+=String.fromCharCode(a),u};function o(a){return a>=55296&&a<=57343||a>1114111?"\uFFFD":(a in r.default&&(a=r.default[a]),n(a))}t.default=o}}),ci=ae({"../../node_modules/ansi-to-html/node_modules/entities/lib/decode.js"(t){var e=t&&t.__importDefault||function(h){return h&&h.__esModule?h:{default:h}};Object.defineProperty(t,"__esModule",{value:!0}),t.decodeHTML=t.decodeHTMLStrict=t.decodeXML=void 0;var r=e(xi()),n=e(G2()),o=e(Ti()),a=e(W2()),u=/&(?:[a-zA-Z0-9]+|#[xX][\da-fA-F]+|#\d+);/g;t.decodeXML=i(o.default),t.decodeHTMLStrict=i(r.default);function i(h){var f=l(h);return function(g){return String(g).replace(u,f)}}var s=function(h,f){return h1?f(A):A.charCodeAt(0)).toString(16).toUpperCase()+";"}function E(A,D){return function(_){return _.replace(D,function(P){return A[P]}).replace(h,g)}}var C=new RegExp(o.source+"|"+h.source,"g");function v(A){return A.replace(C,g)}t.escape=v;function b(A){return A.replace(o,g)}t.escapeUTF8=b;function S(A){return function(D){return D.replace(C,function(_){return A[_]||g(_)})}}}}),Y2=ae({"../../node_modules/ansi-to-html/node_modules/entities/lib/index.js"(t){Object.defineProperty(t,"__esModule",{value:!0}),t.decodeXMLStrict=t.decodeHTML5Strict=t.decodeHTML4Strict=t.decodeHTML5=t.decodeHTML4=t.decodeHTMLStrict=t.decodeHTML=t.decodeXML=t.encodeHTML5=t.encodeHTML4=t.escapeUTF8=t.escape=t.encodeNonAsciiHTML=t.encodeHTML=t.encodeXML=t.encode=t.decodeStrict=t.decode=void 0;var e=ci(),r=pi();function n(s,l){return(!l||l<=0?e.decodeXML:e.decodeHTML)(s)}t.decode=n;function o(s,l){return(!l||l<=0?e.decodeXML:e.decodeHTMLStrict)(s)}t.decodeStrict=o;function a(s,l){return(!l||l<=0?r.encodeXML:r.encodeHTML)(s)}t.encode=a;var u=pi();Object.defineProperty(t,"encodeXML",{enumerable:!0,get:function(){return u.encodeXML}}),Object.defineProperty(t,"encodeHTML",{enumerable:!0,get:function(){return u.encodeHTML}}),Object.defineProperty(t,"encodeNonAsciiHTML",{enumerable:!0,get:function(){return u.encodeNonAsciiHTML}}),Object.defineProperty(t,"escape",{enumerable:!0,get:function(){return u.escape}}),Object.defineProperty(t,"escapeUTF8",{enumerable:!0,get:function(){return u.escapeUTF8}}),Object.defineProperty(t,"encodeHTML4",{enumerable:!0,get:function(){return u.encodeHTML}}),Object.defineProperty(t,"encodeHTML5",{enumerable:!0,get:function(){return u.encodeHTML}});var i=ci();Object.defineProperty(t,"decodeXML",{enumerable:!0,get:function(){return i.decodeXML}}),Object.defineProperty(t,"decodeHTML",{enumerable:!0,get:function(){return i.decodeHTML}}),Object.defineProperty(t,"decodeHTMLStrict",{enumerable:!0,get:function(){return i.decodeHTMLStrict}}),Object.defineProperty(t,"decodeHTML4",{enumerable:!0,get:function(){return i.decodeHTML}}),Object.defineProperty(t,"decodeHTML5",{enumerable:!0,get:function(){return i.decodeHTML}}),Object.defineProperty(t,"decodeHTML4Strict",{enumerable:!0,get:function(){return i.decodeHTMLStrict}}),Object.defineProperty(t,"decodeHTML5Strict",{enumerable:!0,get:function(){return i.decodeHTMLStrict}}),Object.defineProperty(t,"decodeXMLStrict",{enumerable:!0,get:function(){return i.decodeXML}})}}),K2=ae({"../../node_modules/ansi-to-html/lib/ansi_to_html.js"(t,e){function r(p,d){if(!(p instanceof d))throw new TypeError("Cannot call a class as a function")}function n(p,d){for(var y=0;y=p.length?{done:!0}:{done:!1,value:p[x++]}},e:function(k){throw k},f:w}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. -In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var F=!0,I=!1,N;return{s:function(){y=y.call(p)},n:function(){var k=y.next();return F=k.done,k},e:function(k){I=!0,N=k},f:function(){try{!F&&y.return!=null&&y.return()}finally{if(I)throw N}}}}function u(p,d){if(p){if(typeof p=="string")return i(p,d);var y=Object.prototype.toString.call(p).slice(8,-1);if(y==="Object"&&p.constructor&&(y=p.constructor.name),y==="Map"||y==="Set")return Array.from(p);if(y==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(y))return i(p,d)}}function i(p,d){(d==null||d>p.length)&&(d=p.length);for(var y=0,x=new Array(d);y0?p*40+55:0,I=d>0?d*40+55:0,N=y>0?y*40+55:0;x[w]=E([F,I,N])}function g(p){for(var d=p.toString(16);d.length<2;)d="0"+d;return d}function E(p){var d=[],y=a(p),x;try{for(y.s();!(x=y.n()).done;){var w=x.value;d.push(g(w))}}catch(F){y.e(F)}finally{y.f()}return"#"+d.join("")}function C(p,d,y,x){var w;return d==="text"?w=P(y,x):d==="display"?w=b(p,y,x):d==="xterm256Foreground"?w=O(p,x.colors[y]):d==="xterm256Background"?w=B(p,x.colors[y]):d==="rgb"&&(w=v(p,y)),w}function v(p,d){d=d.substring(2).slice(0,-1);var y=+d.substr(0,2),x=d.substring(5).split(";"),w=x.map(function(F){return("0"+Number(F).toString(16)).substr(-2)}).join("");return T(p,(y===38?"color:#":"background-color:#")+w)}function b(p,d,y){d=parseInt(d,10);var x={"-1":function(){return"
"},0:function(){return p.length&&S(p)},1:function(){return R(p,"b")},3:function(){return R(p,"i")},4:function(){return R(p,"u")},8:function(){return T(p,"display:none")},9:function(){return R(p,"strike")},22:function(){return T(p,"font-weight:normal;text-decoration:none;font-style:normal")},23:function(){return j(p,"i")},24:function(){return j(p,"u")},39:function(){return O(p,y.fg)},49:function(){return B(p,y.bg)},53:function(){return T(p,"text-decoration:overline")}},w;return x[d]?w=x[d]():4"}).join("")}function A(p,d){for(var y=[],x=p;x<=d;x++)y.push(x);return y}function D(p){return function(d){return(p===null||d.category!==p)&&p!=="all"}}function _(p){p=parseInt(p,10);var d=null;return p===0?d="all":p===1?d="bold":2")}function T(p,d){return R(p,"span",d)}function O(p,d){return R(p,"span","color:"+d)}function B(p,d){return R(p,"span","background-color:"+d)}function j(p,d){var y;if(p.slice(-1)[0]===d&&(y=p.pop()),y)return""}function M(p,d,y){var x=!1,w=3;function F(){return""}function I(re,ne){return y("xterm256Foreground",ne),""}function N(re,ne){return y("xterm256Background",ne),""}function k(re){return d.newline?y("display",-1):y("text",re),""}function Z(re,ne){x=!0,ne.trim().length===0&&(ne="0"),ne=ne.trimRight(";").split(";");var Be=a(ne),yt;try{for(Be.s();!(yt=Be.n()).done;){var fr=yt.value;y("display",fr)}}catch(mr){Be.e(mr)}finally{Be.f()}return""}function te(re){return y("text",re),""}function J(re){return y("rgb",re),""}var ue=[{pattern:/^\x08+/,sub:F},{pattern:/^\x1b\[[012]?K/,sub:F},{pattern:/^\x1b\[\(B/,sub:F},{pattern:/^\x1b\[[34]8;2;\d+;\d+;\d+m/,sub:J},{pattern:/^\x1b\[38;5;(\d+)m/,sub:I},{pattern:/^\x1b\[48;5;(\d+)m/,sub:N},{pattern:/^\n/,sub:k},{pattern:/^\r+\n/,sub:k},{pattern:/^\r/,sub:k},{pattern:/^\x1b\[((?:\d{1,3};?)+|)m/,sub:Z},{pattern:/^\x1b\[\d?J/,sub:F},{pattern:/^\x1b\[\d{0,3};\d{0,3}f/,sub:F},{pattern:/^\x1b\[?[\d;]{0,3}/,sub:F},{pattern:/^(([^\x1b\x08\r\n])+)/,sub:te}];function G(re,ne){ne>w&&x||(x=!1,p=p.replace(re.pattern,re.sub))}var ce=[],ve=p,ye=ve.length;e:for(;ye>0;){for(var _e=0,gt=0,dr=ue.length;gt=0)&&(a[i]=n[i]);return a}e.exports=r}}),jn=ae({"../../node_modules/@devtools-ds/object-inspector/node_modules/@babel/runtime/helpers/objectWithoutProperties.js"(t,e){var r=X2();function n(o,a){if(o==null)return{};var u=r(o,a),i,s;if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(o);for(s=0;s=0)&&Object.prototype.propertyIsEnumerable.call(o,i)&&(u[i]=o[i])}return u}e.exports=n}}),J2=ae({"../../node_modules/@devtools-ds/themes/node_modules/@babel/runtime/helpers/defineProperty.js"(t,e){function r(n,o,a){return o in n?Object.defineProperty(n,o,{value:a,enumerable:!0,configurable:!0,writable:!0}):n[o]=a,n}e.exports=r}}),Q2=ae({"../../node_modules/@devtools-ds/themes/node_modules/@babel/runtime/helpers/objectSpread2.js"(t,e){var r=J2();function n(a,u){var i=Object.keys(a);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(a);u&&(s=s.filter(function(l){return Object.getOwnPropertyDescriptor(a,l).enumerable})),i.push.apply(i,s)}return i}function o(a){for(var u=1;u=0)&&(a[i]=n[i]);return a}e.exports=r}}),ep=ae({"../../node_modules/@devtools-ds/themes/node_modules/@babel/runtime/helpers/objectWithoutProperties.js"(t,e){var r=Z2();function n(o,a){if(o==null)return{};var u=r(o,a),i,s;if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(o);for(s=0;s=0)&&Object.prototype.propertyIsEnumerable.call(o,i)&&(u[i]=o[i])}return u}e.exports=n}}),tp=ae({"../../node_modules/@devtools-ds/object-inspector/node_modules/@babel/runtime/helpers/defineProperty.js"(t,e){function r(n,o,a){return o in n?Object.defineProperty(n,o,{value:a,enumerable:!0,configurable:!0,writable:!0}):n[o]=a,n}e.exports=r}}),rp=ae({"../../node_modules/@devtools-ds/object-inspector/node_modules/@babel/runtime/helpers/objectSpread2.js"(t,e){var r=tp();function n(a,u){var i=Object.keys(a);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(a);u&&(s=s.filter(function(l){return Object.getOwnPropertyDescriptor(a,l).enumerable})),i.push.apply(i,s)}return i}function o(a){for(var u=1;u=0)&&(a[i]=n[i]);return a}e.exports=r}}),ap=ae({"../../node_modules/@devtools-ds/tree/node_modules/@babel/runtime/helpers/objectWithoutProperties.js"(t,e){var r=op();function n(o,a){if(o==null)return{};var u=r(o,a),i,s;if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(o);for(s=0;s=0)&&Object.prototype.propertyIsEnumerable.call(o,i)&&(u[i]=o[i])}return u}e.exports=n}}),up=xe(K2());function ip(t){return Ri(t)||_i(t)}function Ri(t){return t&&typeof t=="object"&&"name"in t&&typeof t.name=="string"&&t.name==="AssertionError"}function _i(t){return t&&typeof t=="object"&&"message"in t&&typeof t.message=="string"&&t.message.startsWith("expect(")}function sp(t){return new up.default({fg:t.color.defaultText,bg:t.background.content,escapeXML:!0})}function kn(){let t=dt();return sp(t)}var cr="storybook/interactions",lp=`${cr}/panel`,cp="https://youtu.be/Waht9qq7AoA",pp="writing-tests/interaction-testing",dp=z.div(({theme:t})=>({display:"flex",fontSize:t.typography.size.s2-1,gap:25})),hp=z.div(({theme:t})=>({width:1,height:16,backgroundColor:t.appBorderColor})),fp=()=>{let[t,e]=Te(!0),r=to().getDocsUrl({subpath:pp,versioned:!0,renderer:!0});return ke(()=>{let n=setTimeout(()=>{e(!1)},100);return()=>clearTimeout(n)},[]),t?null:m.createElement(Wn,{title:"Interaction testing",description:m.createElement(m.Fragment,null,"Interaction tests allow you to verify the functional aspects of UIs. Write a play function for your story and you'll see it run here."),footer:m.createElement(dp,null,m.createElement(br,{href:cp,target:"_blank",withArrow:!0},m.createElement(li,null)," Watch 8m video"),m.createElement(hp,null),m.createElement(br,{href:r,target:"_blank",withArrow:!0},m.createElement(ei,null)," Read docs"))})},mp=xe(Ln()),gp=xe(jn());function Pn(t){var e,r,n="";if(t)if(typeof t=="object")if(Array.isArray(t))for(e=0;eArray.isArray(t)||ArrayBuffer.isView(t)&&!(t instanceof DataView),Oi=t=>t!==null&&typeof t=="object"&&!Mn(t)&&!(t instanceof Date)&&!(t instanceof RegExp)&&!(t instanceof Error)&&!(t instanceof WeakMap)&&!(t instanceof WeakSet),yp=t=>Oi(t)||Mn(t)||typeof t=="function"||t instanceof Promise,Fi=t=>{let e=/unique/;return Promise.race([t,e]).then(r=>r===e?["pending"]:["fulfilled",r],r=>["rejected",r])},Fe=async(t,e,r,n,o,a)=>{let u={key:t,depth:r,value:e,type:"value",parent:void 0};if(e&&yp(e)&&r<100){let i=[],s="object";if(Mn(e)){for(let l=0;l{let h=await Fe(l.toString(),e[l],r+1,n);return h.parent=u,h});s="array"}else{let l=Object.getOwnPropertyNames(e);n&&l.sort();for(let h=0;h{let g=await Fe(l[h],f,r+1,n);return g.parent=u,g})}if(typeof e=="function"&&(s="function"),e instanceof Promise){let[h,f]=await Fi(e);i.push(async()=>{let g=await Fe("",h,r+1,n);return g.parent=u,g}),h!=="pending"&&i.push(async()=>{let g=await Fe("",f,r+1,n);return g.parent=u,g}),s="promise"}if(e instanceof Map){let h=Array.from(e.entries()).map(f=>{let[g,E]=f;return{"":g,"":E}});i.push(async()=>{let f=await Fe("",h,r+1,n);return f.parent=u,f}),i.push(async()=>{let f=await Fe("size",e.size,r+1,n);return f.parent=u,f}),s="map"}if(e instanceof Set){let h=Array.from(e.entries()).map(f=>f[1]);i.push(async()=>{let f=await Fe("",h,r+1,n);return f.parent=u,f}),i.push(async()=>{let f=await Fe("size",e.size,r+1,n);return f.parent=u,f}),s="set"}}e!==Object.prototype&&a&&i.push(async()=>{let l=await Fe("",Object.getPrototypeOf(e),r+1,n,!0);return l.parent=u,l}),u.type=s,u.children=i,u.isPrototype=o}return u},bp=(t,e,r)=>Fe("root",t,0,e===!1?e:!0,void 0,r===!1?r:!0),di=xe(Q2()),Ep=xe(ep()),Ap=["children"],Nn=m.createContext({theme:"chrome",colorScheme:"light"}),Sp=t=>{let{children:e}=t,r=(0,Ep.default)(t,Ap),n=m.useContext(Nn);return m.createElement(Nn.Provider,{value:(0,di.default)((0,di.default)({},n),r)},e)},pr=(t,e={})=>{let r=m.useContext(Nn),n=t.theme||r.theme||"chrome",o=t.colorScheme||r.colorScheme||"light",a=Ie(e[n],e[o]);return{currentColorScheme:o,currentTheme:n,themeClass:a}},hi=xe(rp()),Tn=xe(np()),Cp=xe(ap()),wp=m.createContext({isChild:!1,depth:0,hasHover:!0}),Rn=wp,Se={tree:"Tree-tree-fbbbe38",item:"Tree-item-353d6f3",group:"Tree-group-d3c3d8a",label:"Tree-label-d819155",focusWhite:"Tree-focusWhite-f1e00c2",arrow:"Tree-arrow-03ab2e7",hover:"Tree-hover-3cc4e5d",open:"Tree-open-3f1a336",dark:"Tree-dark-1b4aa00",chrome:"Tree-chrome-bcbcac6",light:"Tree-light-09174ee"},vp=["theme","hover","colorScheme","children","label","className","onUpdate","onSelect","open"],lr=t=>{let{theme:e,hover:r,colorScheme:n,children:o,label:a,className:u,onUpdate:i,onSelect:s,open:l}=t,h=(0,Cp.default)(t,vp),{themeClass:f,currentTheme:g}=pr({theme:e,colorScheme:n},Se),[E,C]=Te(l);ke(()=>{C(l)},[l]);let v=w=>{C(w),i&&i(w)},b=m.Children.count(o)>0,S=(w,F)=>{if(w.isSameNode(F||null))return;w.querySelector('[tabindex="-1"]')?.focus(),w.setAttribute("aria-selected","true"),F?.removeAttribute("aria-selected")},A=(w,F)=>{let I=w;for(;I&&I.parentElement;){if(I.getAttribute("role")===F)return I;I=I.parentElement}return null},D=w=>{let F=A(w,"tree");return F?Array.from(F.querySelectorAll("li")):[]},_=w=>{let F=A(w,"group"),I=F?.previousElementSibling;if(I&&I.getAttribute("tabindex")==="-1"){let N=I.parentElement,k=w.parentElement;S(N,k)}},P=(w,F)=>{let I=D(w);I.forEach(N=>{N.removeAttribute("aria-selected")}),F==="start"&&I[0]&&S(I[0]),F==="end"&&I[I.length-1]&&S(I[I.length-1])},R=(w,F)=>{let I=D(w)||[];for(let N=0;N{let I=w.target;(w.key==="Enter"||w.key===" ")&&v(!E),w.key==="ArrowRight"&&E&&!F?R(I,"down"):w.key==="ArrowRight"&&v(!0),w.key==="ArrowLeft"&&(!E||F)?_(I):w.key==="ArrowLeft"&&v(!1),w.key==="ArrowDown"&&R(I,"down"),w.key==="ArrowUp"&&R(I,"up"),w.key==="Home"&&P(I,"start"),w.key==="End"&&P(I,"end")},O=(w,F)=>{let I=w.target,N=A(I,"treeitem"),k=D(I)||[],Z=!1;for(let te=0;te{let F=w.currentTarget;!F.contains(document.activeElement)&&F.getAttribute("role")==="tree"&&F.setAttribute("tabindex","0")},j=w=>{let F=w.target;if(F.getAttribute("role")==="tree"){let I=F.querySelector('[aria-selected="true"]');I?S(I):R(F,"down"),F.setAttribute("tabindex","-1")}},M=()=>{s?.()},L=w=>{let F=w*.9+.3;return{paddingLeft:`${F}em`,width:`calc(100% - ${F}em)`}},{isChild:q,depth:p,hasHover:d}=m.useContext(Rn),y=d?r:!1;if(!q)return m.createElement("ul",(0,Tn.default)({role:"tree",tabIndex:0,className:Ie(Se.tree,Se.group,f,u),onFocus:j,onBlur:B},h),m.createElement(Rn.Provider,{value:{isChild:!0,depth:0,hasHover:y}},m.createElement(lr,t)));if(!b)return m.createElement("li",(0,Tn.default)({role:"treeitem",className:Se.item},h),m.createElement("div",{role:"button",className:Ie(Se.label,{[Se.hover]:y,[Se.focusWhite]:g==="firefox"}),tabIndex:-1,style:L(p),onKeyDown:w=>{T(w,q)},onClick:w=>O(w,!0),onFocus:M},m.createElement("span",null,a)));let x=Ie(Se.arrow,{[Se.open]:E});return m.createElement("li",{role:"treeitem","aria-expanded":E,className:Se.item},m.createElement("div",{role:"button",tabIndex:-1,className:Ie(Se.label,{[Se.hover]:y,[Se.focusWhite]:g==="firefox"}),style:L(p),onClick:w=>O(w),onKeyDown:w=>T(w),onFocus:M},m.createElement("span",null,m.createElement("span",{"aria-hidden":!0,className:x}),m.createElement("span",null,a))),m.createElement("ul",(0,Tn.default)({role:"group",className:Ie(u,Se.group)},h),E&&m.Children.map(o,w=>m.createElement(Rn.Provider,{value:{isChild:!0,depth:p+1,hasHover:y}},w))))};lr.defaultProps={open:!1,hover:!0};var Dp=xe(Ln()),xp=xe(jn()),Q={"object-inspector":"ObjectInspector-object-inspector-0c33e82",objectInspector:"ObjectInspector-object-inspector-0c33e82","object-label":"ObjectInspector-object-label-b81482b",objectLabel:"ObjectInspector-object-label-b81482b",text:"ObjectInspector-text-25f57f3",key:"ObjectInspector-key-4f712bb",value:"ObjectInspector-value-f7ec2e5",string:"ObjectInspector-string-c496000",regex:"ObjectInspector-regex-59d45a3",error:"ObjectInspector-error-b818698",boolean:"ObjectInspector-boolean-2dd1642",number:"ObjectInspector-number-a6daabb",undefined:"ObjectInspector-undefined-3a68263",null:"ObjectInspector-null-74acb50",function:"ObjectInspector-function-07bbdcd","function-decorator":"ObjectInspector-function-decorator-3d22c24",functionDecorator:"ObjectInspector-function-decorator-3d22c24",prototype:"ObjectInspector-prototype-f2449ee",dark:"ObjectInspector-dark-0c96c97",chrome:"ObjectInspector-chrome-2f3ca98",light:"ObjectInspector-light-78bef54"},Tp=["ast","theme","showKey","colorScheme","className"],Ce=(t,e,r,n,o)=>{let a=t.includes("-")?`"${t}"`:t,u=o<=0;return m.createElement("span",{className:Q.text},!u&&n&&m.createElement(m.Fragment,null,m.createElement("span",{className:Q.key},a),m.createElement("span",null,":\xA0")),m.createElement("span",{className:r},e))},Ii=t=>{let{ast:e,theme:r,showKey:n,colorScheme:o,className:a}=t,u=(0,xp.default)(t,Tp),{themeClass:i}=pr({theme:r,colorScheme:o},Q),[s,l]=Te(m.createElement("span",null)),h=m.createElement("span",null);return ke(()=>{e.value instanceof Promise&&(async f=>{l(Ce(e.key,`Promise { "${await Fi(f)}" }`,Q.key,n,e.depth))})(e.value)},[e,n]),typeof e.value=="number"||typeof e.value=="bigint"?h=Ce(e.key,String(e.value),Q.number,n,e.depth):typeof e.value=="boolean"?h=Ce(e.key,String(e.value),Q.boolean,n,e.depth):typeof e.value=="string"?h=Ce(e.key,`"${e.value}"`,Q.string,n,e.depth):typeof e.value>"u"?h=Ce(e.key,"undefined",Q.undefined,n,e.depth):typeof e.value=="symbol"?h=Ce(e.key,e.value.toString(),Q.string,n,e.depth):typeof e.value=="function"?h=Ce(e.key,`${e.value.name}()`,Q.key,n,e.depth):typeof e.value=="object"&&(e.value===null?h=Ce(e.key,"null",Q.null,n,e.depth):Array.isArray(e.value)?h=Ce(e.key,`Array(${e.value.length})`,Q.key,n,e.depth):e.value instanceof Date?h=Ce(e.key,`Date ${e.value.toString()}`,Q.value,n,e.depth):e.value instanceof RegExp?h=Ce(e.key,e.value.toString(),Q.regex,n,e.depth):e.value instanceof Error?h=Ce(e.key,e.value.toString(),Q.error,n,e.depth):Oi(e.value)?h=Ce(e.key,"{\u2026}",Q.key,n,e.depth):h=Ce(e.key,e.value.constructor.name,Q.key,n,e.depth)),m.createElement("span",(0,Dp.default)({className:Ie(i,a)},u),s,h)};Ii.defaultProps={showKey:!0};var Bi=Ii,mt=xe(Ln()),Rp=xe(jn()),_p=["ast","theme","previewMax","open","colorScheme","className"],_t=(t,e,r)=>{let n=[];for(let o=0;oe){n.push("\u2026 ");break}}return n},Op=(t,e,r,n)=>{let o=t.value.length;return e?m.createElement("span",null,"Array(",o,")"):m.createElement(m.Fragment,null,m.createElement("span",null,`${n==="firefox"?"Array":""}(${o}) [ `),_t(t.children,r,!1),m.createElement("span",null,"]"))},Fp=(t,e,r,n)=>t.isPrototype?m.createElement("span",null,`Object ${n==="firefox"?"{ \u2026 }":""}`):e?m.createElement("span",null,"{\u2026}"):m.createElement(m.Fragment,null,m.createElement("span",null,`${n==="firefox"?"Object ":""}{ `),_t(t.children,r,!0),m.createElement("span",null,"}")),Ip=(t,e,r)=>e?m.createElement("span",null,`Promise { "${String(t.children[0].value)}" }`):m.createElement(m.Fragment,null,m.createElement("span",null,"Promise { "),_t(t.children,r,!0),m.createElement("span",null,"}")),Bp=(t,e,r,n)=>{let{size:o}=t.value;return e?m.createElement("span",null,`Map(${o})`):m.createElement(m.Fragment,null,m.createElement("span",null,`Map${n==="chrome"?`(${o})`:""} { `),_t(t.children,r,!0),m.createElement("span",null,"}"))},Pp=(t,e,r)=>{let{size:n}=t.value;return e?m.createElement("span",null,"Set(",n,")"):m.createElement(m.Fragment,null,m.createElement("span",null,`Set(${t.value.size}) {`),_t(t.children,r,!0),m.createElement("span",null,"}"))},Pi=t=>{let{ast:e,theme:r,previewMax:n,open:o,colorScheme:a,className:u}=t,i=(0,Rp.default)(t,_p),{themeClass:s,currentTheme:l}=pr({theme:r,colorScheme:a},Q),h=e.isPrototype||!1,f=Ie(Q.objectLabel,s,u,{[Q.prototype]:h}),g=e.depth<=0,E=()=>m.createElement("span",{className:h?Q.prototype:Q.key},g?"":`${e.key}: `);return e.type==="array"?m.createElement("span",(0,mt.default)({className:f},i),m.createElement(E,null),Op(e,o,n,l)):e.type==="function"?m.createElement("span",(0,mt.default)({className:f},i),m.createElement(E,null),l==="chrome"&&m.createElement("span",{className:Q.functionDecorator},"\u0192 "),m.createElement("span",{className:Ie({[Q.function]:!h})},`${e.value.name}()`)):e.type==="promise"?m.createElement("span",(0,mt.default)({className:f},i),m.createElement(E,null),Ip(e,o,n)):e.type==="map"?m.createElement("span",(0,mt.default)({className:f},i),m.createElement(E,null),Bp(e,o,n,l)):e.type==="set"?m.createElement("span",(0,mt.default)({className:f},i),m.createElement(E,null),Pp(e,o,n)):m.createElement("span",(0,mt.default)({className:f},i),m.createElement(E,null),Fp(e,o,n,l))};Pi.defaultProps={previewMax:8,open:!1};var Np=Pi,qn=t=>{let{ast:e,expandLevel:r,depth:n}=t,[o,a]=Te(),[u,i]=Te(n{(async()=>{if(e.type!=="value"){let s=e.children.map(f=>f()),l=await Promise.all(s),h=(0,hi.default)((0,hi.default)({},e),{},{children:l});a(h)}})()},[e]),o?m.createElement(lr,{hover:!1,open:u,label:m.createElement(Np,{open:u,ast:o}),onSelect:()=>{var s;(s=t.onSelect)===null||s===void 0||s.call(t,e)},onUpdate:s=>{i(s)}},o.children.map(s=>m.createElement(qn,{key:s.key,ast:s,depth:n+1,expandLevel:r,onSelect:t.onSelect}))):m.createElement(lr,{hover:!1,label:m.createElement(Bi,{ast:e}),onSelect:()=>{var s;(s=t.onSelect)===null||s===void 0||s.call(t,e)}})};qn.defaultProps={expandLevel:0,depth:0};var Lp=qn,jp=["data","expandLevel","sortKeys","includePrototypes","className","theme","colorScheme","onSelect"],Ni=t=>{let{data:e,expandLevel:r,sortKeys:n,includePrototypes:o,className:a,theme:u,colorScheme:i,onSelect:s}=t,l=(0,gp.default)(t,jp),[h,f]=Te(void 0),{themeClass:g,currentTheme:E,currentColorScheme:C}=pr({theme:u,colorScheme:i},Q);return ke(()=>{(async()=>f(await bp(e,n,o)))()},[e,n,o]),m.createElement("div",(0,mp.default)({className:Ie(Q.objectInspector,a,g)},l),h&&m.createElement(Sp,{theme:E,colorScheme:C},m.createElement(Lp,{ast:h,expandLevel:r,onSelect:s})))};Ni.defaultProps={expandLevel:0,sortKeys:!0,includePrototypes:!0};var kp={base:"#444",nullish:"#7D99AA",string:"#16B242",number:"#5D40D0",boolean:"#f41840",objectkey:"#698394",instance:"#A15C20",function:"#EA7509",muted:"#7D99AA",tag:{name:"#6F2CAC",suffix:"#1F99E5"},date:"#459D9C",error:{name:"#D43900",message:"#444"},regex:{source:"#A15C20",flags:"#EA7509"},meta:"#EA7509",method:"#0271B6"},Mp={base:"#eee",nullish:"#aaa",string:"#5FE584",number:"#6ba5ff",boolean:"#ff4191",objectkey:"#accfe6",instance:"#E3B551",function:"#E3B551",muted:"#aaa",tag:{name:"#f57bff",suffix:"#8EB5FF"},date:"#70D4D3",error:{name:"#f40",message:"#eee"},regex:{source:"#FAD483",flags:"#E3B551"},meta:"#FAD483",method:"#5EC1FF"},fe=()=>{let{base:t}=dt();return t==="dark"?Mp:kp},qp=/[^A-Z0-9]/i,fi=/[\s.,…]+$/gm,Li=(t,e)=>{if(t.length<=e)return t;for(let r=e-1;r>=0;r-=1)if(qp.test(t[r])&&r>10)return`${t.slice(0,r).replace(fi,"")}\u2026`;return`${t.slice(0,e).replace(fi,"")}\u2026`},$p=t=>{try{return JSON.stringify(t,null,1)}catch{return String(t)}},ji=(t,e)=>t.flatMap((r,n)=>n===t.length-1?[r]:[r,m.cloneElement(e,{key:`sep${n}`})]),nt=({value:t,nested:e,showObjectInspector:r,callsById:n,...o})=>{switch(!0){case t===null:return m.createElement(Up,{...o});case t===void 0:return m.createElement(zp,{...o});case Array.isArray(t):return m.createElement(Wp,{...o,value:t,callsById:n});case typeof t=="string":return m.createElement(Hp,{...o,value:t});case typeof t=="number":return m.createElement(Gp,{...o,value:t});case typeof t=="boolean":return m.createElement(Vp,{...o,value:t});case Object.prototype.hasOwnProperty.call(t,"__date__"):return m.createElement(Qp,{...o,...t.__date__});case Object.prototype.hasOwnProperty.call(t,"__error__"):return m.createElement(Zp,{...o,...t.__error__});case Object.prototype.hasOwnProperty.call(t,"__regexp__"):return m.createElement(ed,{...o,...t.__regexp__});case Object.prototype.hasOwnProperty.call(t,"__function__"):return m.createElement(Xp,{...o,...t.__function__});case Object.prototype.hasOwnProperty.call(t,"__symbol__"):return m.createElement(td,{...o,...t.__symbol__});case Object.prototype.hasOwnProperty.call(t,"__element__"):return m.createElement(Jp,{...o,...t.__element__});case Object.prototype.hasOwnProperty.call(t,"__class__"):return m.createElement(Kp,{...o,...t.__class__});case Object.prototype.hasOwnProperty.call(t,"__callId__"):return m.createElement($n,{call:n.get(t.__callId__),callsById:n});case Object.prototype.toString.call(t)==="[object Object]":return m.createElement(Yp,{value:t,showInspector:r,callsById:n,...o});default:return m.createElement(rd,{value:t,...o})}},Up=t=>{let e=fe();return m.createElement("span",{style:{color:e.nullish},...t},"null")},zp=t=>{let e=fe();return m.createElement("span",{style:{color:e.nullish},...t},"undefined")},Hp=({value:t,...e})=>{let r=fe();return m.createElement("span",{style:{color:r.string},...e},JSON.stringify(Li(t,50)))},Gp=({value:t,...e})=>{let r=fe();return m.createElement("span",{style:{color:r.number},...e},t)},Vp=({value:t,...e})=>{let r=fe();return m.createElement("span",{style:{color:r.boolean},...e},String(t))},Wp=({value:t,nested:e=!1,callsById:r})=>{let n=fe();if(e)return m.createElement("span",{style:{color:n.base}},"[\u2026]");let o=t.slice(0,3).map((u,i)=>m.createElement(nt,{key:`${i}--${JSON.stringify(u)}`,value:u,nested:!0,callsById:r})),a=ji(o,m.createElement("span",null,", "));return t.length<=3?m.createElement("span",{style:{color:n.base}},"[",a,"]"):m.createElement("span",{style:{color:n.base}},"(",t.length,") [",a,", \u2026]")},Yp=({showInspector:t,value:e,callsById:r,nested:n=!1})=>{let o=dt().base==="dark",a=fe();if(t)return m.createElement(m.Fragment,null,m.createElement(Ni,{id:"interactions-object-inspector",data:e,includePrototypes:!1,colorScheme:o?"dark":"light"}));if(n)return m.createElement("span",{style:{color:a.base}},"{\u2026}");let u=ji(Object.entries(e).slice(0,2).map(([i,s])=>m.createElement(Ot,{key:i},m.createElement("span",{style:{color:a.objectkey}},i,": "),m.createElement(nt,{value:s,callsById:r,nested:!0}))),m.createElement("span",null,", "));return Object.keys(e).length<=2?m.createElement("span",{style:{color:a.base}},"{ ",u," }"):m.createElement("span",{style:{color:a.base}},"(",Object.keys(e).length,") ","{ ",u,", \u2026 }")},Kp=({name:t})=>{let e=fe();return m.createElement("span",{style:{color:e.instance}},t)},Xp=({name:t})=>{let e=fe();return t?m.createElement("span",{style:{color:e.function}},t):m.createElement("span",{style:{color:e.nullish,fontStyle:"italic"}},"anonymous")},Jp=({prefix:t,localName:e,id:r,classNames:n=[],innerText:o})=>{let a=t?`${t}:${e}`:e,u=fe();return m.createElement("span",{style:{wordBreak:"keep-all"}},m.createElement("span",{key:`${a}_lt`,style:{color:u.muted}},"<"),m.createElement("span",{key:`${a}_tag`,style:{color:u.tag.name}},a),m.createElement("span",{key:`${a}_suffix`,style:{color:u.tag.suffix}},r?`#${r}`:n.reduce((i,s)=>`${i}.${s}`,"")),m.createElement("span",{key:`${a}_gt`,style:{color:u.muted}},">"),!r&&n.length===0&&o&&m.createElement(m.Fragment,null,m.createElement("span",{key:`${a}_text`},o),m.createElement("span",{key:`${a}_close_lt`,style:{color:u.muted}},"<"),m.createElement("span",{key:`${a}_close_tag`,style:{color:u.tag.name}},"/",a),m.createElement("span",{key:`${a}_close_gt`,style:{color:u.muted}},">")))},Qp=({value:t})=>{let e=t instanceof Date?t.toISOString():t,[r,n,o]=e.split(/[T.Z]/),a=fe();return m.createElement("span",{style:{whiteSpace:"nowrap",color:a.date}},r,m.createElement("span",{style:{opacity:.7}},"T"),n==="00:00:00"?m.createElement("span",{style:{opacity:.7}},n):n,o==="000"?m.createElement("span",{style:{opacity:.7}},".",o):`.${o}`,m.createElement("span",{style:{opacity:.7}},"Z"))},Zp=({name:t,message:e})=>{let r=fe();return m.createElement("span",{style:{color:r.error.name}},t,e&&": ",e&&m.createElement("span",{style:{color:r.error.message},title:e.length>50?e:""},Li(e,50)))},ed=({flags:t,source:e})=>{let r=fe();return m.createElement("span",{style:{whiteSpace:"nowrap",color:r.regex.flags}},"/",m.createElement("span",{style:{color:r.regex.source}},e),"/",t)},td=({description:t})=>{let e=fe();return m.createElement("span",{style:{whiteSpace:"nowrap",color:e.instance}},"Symbol(",t&&m.createElement("span",{style:{color:e.meta}},'"',t,'"'),")")},rd=({value:t})=>{let e=fe();return m.createElement("span",{style:{color:e.meta}},$p(t))},nd=({label:t})=>{let e=fe(),{typography:r}=dt();return m.createElement("span",{style:{color:e.base,fontFamily:r.fonts.base,fontSize:r.size.s2-1}},t)},$n=({call:t,callsById:e})=>{if(!t)return null;if(t.method==="step"&&t.path.length===0)return m.createElement(nd,{label:t.args[0]});let r=t.path?.flatMap((a,u)=>{let i=a.__callId__;return[i?m.createElement($n,{key:`elem${u}`,call:e.get(i),callsById:e}):m.createElement("span",{key:`elem${u}`},a),m.createElement("wbr",{key:`wbr${u}`}),m.createElement("span",{key:`dot${u}`},".")]}),n=t.args?.flatMap((a,u,i)=>{let s=m.createElement(nt,{key:`node${u}`,value:a,callsById:e});return u{for(let r=e,n=1;r{try{return t==="undefined"?void 0:JSON.parse(t)}catch{return t}},od=z.span(({theme:t})=>({color:t.base==="light"?t.color.positiveText:t.color.positive})),ad=z.span(({theme:t})=>({color:t.base==="light"?t.color.negativeText:t.color.negative})),On=({value:t,parsed:e})=>e?m.createElement(nt,{showObjectInspector:!0,value:t,style:{color:"#D43900"}}):m.createElement(ad,null,t),Fn=({value:t,parsed:e})=>e?typeof t=="string"&&t.startsWith("called with")?m.createElement(m.Fragment,null,t):m.createElement(nt,{showObjectInspector:!0,value:t,style:{color:"#16B242"}}):m.createElement(od,null,t),gi=({message:t,style:e={}})=>{let r=kn(),n=t.split(` -`);return m.createElement("pre",{style:{margin:0,padding:"8px 10px 8px 36px",fontSize:je.size.s1,...e}},n.flatMap((o,a)=>{if(o.startsWith("expect(")){let f=mi(o,7),g=f&&7+f.length,E=f&&o.slice(g).match(/\.(to|last|nth)[A-Z]\w+\(/);if(E){let C=g+E.index+E[0].length,v=mi(o,C);if(v)return["expect(",m.createElement(On,{key:`received_${f}`,value:f}),o.slice(g,C),m.createElement(Fn,{key:`expected_${v}`,value:v}),o.slice(C+v.length),m.createElement("br",{key:`br${a}`})]}}if(o.match(/^\s*- /))return[m.createElement(Fn,{key:o+a,value:o}),m.createElement("br",{key:`br${a}`})];if(o.match(/^\s*\+ /)||o.match(/^Received: $/))return[m.createElement(On,{key:o+a,value:o}),m.createElement("br",{key:`br${a}`})];let[,u,i]=o.match(/^(Expected|Received): (.*)$/)||[];if(u&&i)return u==="Expected"?["Expected: ",m.createElement(Fn,{key:o+a,value:_n(i),parsed:!0}),m.createElement("br",{key:`br${a}`})]:["Received: ",m.createElement(On,{key:o+a,value:_n(i),parsed:!0}),m.createElement("br",{key:`br${a}`})];let[,s,l]=o.match(/(Expected number|Received number|Number) of calls: (\d+)$/i)||[];if(s&&l)return[`${s} of calls: `,m.createElement(nt,{key:o+a,value:Number(l)}),m.createElement("br",{key:`br${a}`})];let[,h]=o.match(/^Received has value: (.+)$/)||[];return h?["Received has value: ",m.createElement(nt,{key:o+a,value:_n(h)}),m.createElement("br",{key:`br${a}`})]:[m.createElement("span",{key:o+a,dangerouslySetInnerHTML:{__html:r.toHtml(o)}}),m.createElement("br",{key:`br${a}`})]}))},ud=z.div({width:14,height:14,display:"flex",alignItems:"center",justifyContent:"center"}),id=({status:t})=>{let e=dt();switch(t){case V.DONE:return m.createElement(Qu,{color:e.color.positive,"data-testid":"icon-done"});case V.ERROR:return m.createElement(ii,{color:e.color.negative,"data-testid":"icon-error"});case V.ACTIVE:return m.createElement(oi,{color:e.color.secondary,"data-testid":"icon-active"});case V.WAITING:return m.createElement(ud,{"data-testid":"icon-waiting"},m.createElement(Zu,{color:sr(.5,"#CCCCCC"),size:6}));default:return null}},sd=z.div({fontFamily:je.fonts.mono,fontSize:je.size.s1,overflowWrap:"break-word",inlineSize:"calc( 100% - 40px )"}),ld=z("div",{shouldForwardProp:t=>!["call","pausedAt"].includes(t.toString())})(({theme:t,call:e})=>({position:"relative",display:"flex",flexDirection:"column",borderBottom:`1px solid ${t.appBorderColor}`,fontFamily:je.fonts.base,fontSize:13,...e.status===V.ERROR&&{backgroundColor:t.base==="dark"?sr(.93,t.color.negative):t.background.warning},paddingLeft:(e.ancestors?.length??0)*20}),({theme:t,call:e,pausedAt:r})=>r===e.id&&{"&::before":{content:'""',position:"absolute",top:-5,zIndex:1,borderTop:"4.5px solid transparent",borderLeft:`7px solid ${t.color.warning}`,borderBottom:"4.5px solid transparent"},"&::after":{content:'""',position:"absolute",top:-1,zIndex:1,width:"100%",borderTop:`1.5px solid ${t.color.warning}`}}),cd=z.div(({theme:t,isInteractive:e})=>({display:"flex","&:hover":e?{}:{background:t.background.hoverable}})),pd=z("button",{shouldForwardProp:t=>!["call"].includes(t.toString())})(({theme:t,disabled:e,call:r})=>({flex:1,display:"grid",background:"none",border:0,gridTemplateColumns:"15px 1fr",alignItems:"center",minHeight:40,margin:0,padding:"8px 15px",textAlign:"start",cursor:e||r.status===V.ERROR?"default":"pointer","&:focus-visible":{outline:0,boxShadow:`inset 3px 0 0 0 ${r.status===V.ERROR?t.color.warning:t.color.secondary}`,background:r.status===V.ERROR?"transparent":t.background.hoverable},"& > div":{opacity:r.status===V.WAITING?.5:1}})),dd=z.div({padding:6}),hd=z(yr)(({theme:t})=>({color:t.textMutedColor,margin:"0 3px"})),fd=z(Er)(({theme:t})=>({fontFamily:t.typography.fonts.base})),yi=z("div")(({theme:t})=>({padding:"8px 10px 8px 36px",fontSize:je.size.s1,color:t.color.defaultText,pre:{margin:0,padding:0}})),md=({exception:t})=>{let e=kn();if(_i(t))return U(gi,{...t});if(Ri(t))return U(yi,null,U(gi,{message:`${t.message}${t.diff?` - -${t.diff}`:""}`,style:{padding:0}}),U("p",null,"See the full stack trace in the browser console."));let r=t.message.split(` - -`),n=r.length>1;return U(yi,null,U("pre",{dangerouslySetInnerHTML:{__html:e.toHtml(r[0])}}),n&&U("p",null,"See the full stack trace in the browser console."))},gd=({call:t,callsById:e,controls:r,controlStates:n,childCallIds:o,isHidden:a,isCollapsed:u,toggleCollapsed:i,pausedAt:s})=>{let[l,h]=Te(!1),f=!n.goto||!t.interceptable||!!t.ancestors?.length;return a?null:U(ld,{call:t,pausedAt:s},U(cd,{isInteractive:f},U(pd,{"aria-label":"Interaction step",call:t,onClick:()=>r.goto(t.id),disabled:f,onMouseEnter:()=>n.goto&&h(!0),onMouseLeave:()=>n.goto&&h(!1)},U(id,{status:l?V.ACTIVE:t.status}),U(sd,{style:{marginLeft:6,marginBottom:1}},U($n,{call:t,callsById:e}))),U(dd,null,o?.length>0&&U(Ye,{hasChrome:!1,tooltip:U(fd,{note:`${u?"Show":"Hide"} interactions`})},U(hd,{onClick:i},U(ri,null))))),t.status===V.ERROR&&t.exception?.callId===t.id&&U(md,{exception:t.exception}))},yd=z.div(({theme:t,status:e})=>({padding:"4px 6px 4px 8px;",borderRadius:"4px",backgroundColor:{[V.DONE]:t.color.positive,[V.ERROR]:t.color.negative,[V.ACTIVE]:t.color.warning,[V.WAITING]:t.color.warning}[e],color:"white",fontFamily:je.fonts.base,textTransform:"uppercase",fontSize:je.size.s1,letterSpacing:3,fontWeight:je.weight.bold,width:65,textAlign:"center"})),bd=({status:t})=>{let e={[V.DONE]:"Pass",[V.ERROR]:"Fail",[V.ACTIVE]:"Runs",[V.WAITING]:"Runs"}[t];return m.createElement(yd,{"aria-label":"Status of the test run",status:t},e)},Ed=z.div(({theme:t})=>({background:t.background.app,borderBottom:`1px solid ${t.appBorderColor}`,position:"sticky",top:0,zIndex:1})),Ad=z.nav(({theme:t})=>({height:40,display:"flex",alignItems:"center",justifyContent:"space-between",paddingLeft:15})),Sd=z(Vn)(({theme:t})=>({borderRadius:4,padding:6,color:t.textMutedColor,"&:not(:disabled)":{"&:hover,&:focus-visible":{color:t.color.secondary}}})),Tt=z(Er)(({theme:t})=>({fontFamily:t.typography.fonts.base})),Rt=z(yr)(({theme:t})=>({color:t.textMutedColor,margin:"0 3px"})),Cd=z(Kn)({marginTop:0}),wd=z(Yn)(({theme:t})=>({color:t.textMutedColor,justifyContent:"flex-end",textAlign:"right",whiteSpace:"nowrap",marginTop:"auto",marginBottom:1,paddingRight:15,fontSize:13})),bi=z.div({display:"flex",alignItems:"center"}),vd=z(Rt)({marginLeft:9}),Dd=z(Sd)({marginLeft:9,marginRight:9,marginBottom:1,lineHeight:"12px"}),xd=z(Rt)(({theme:t,animating:e,disabled:r})=>({opacity:r?.5:1,svg:{animation:e&&`${t.animation.rotate360} 200ms ease-out`}})),Td=({controls:t,controlStates:e,status:r,storyFileName:n,onScrollToEnd:o})=>{let a=r===V.ERROR?"Scroll to error":"Scroll to end";return m.createElement(Ed,null,m.createElement(Gn,null,m.createElement(Ad,null,m.createElement(bi,null,m.createElement(bd,{status:r}),m.createElement(Dd,{onClick:o,disabled:!o},a),m.createElement(Cd,null),m.createElement(Ye,{trigger:"hover",hasChrome:!1,tooltip:m.createElement(Tt,{note:"Go to start"})},m.createElement(vd,{"aria-label":"Go to start",onClick:t.start,disabled:!e.start},m.createElement(ui,null))),m.createElement(Ye,{trigger:"hover",hasChrome:!1,tooltip:m.createElement(Tt,{note:"Go back"})},m.createElement(Rt,{"aria-label":"Go back",onClick:t.back,disabled:!e.back},m.createElement(ni,null))),m.createElement(Ye,{trigger:"hover",hasChrome:!1,tooltip:m.createElement(Tt,{note:"Go forward"})},m.createElement(Rt,{"aria-label":"Go forward",onClick:t.next,disabled:!e.next},m.createElement(ai,null))),m.createElement(Ye,{trigger:"hover",hasChrome:!1,tooltip:m.createElement(Tt,{note:"Go to end"})},m.createElement(Rt,{"aria-label":"Go to end",onClick:t.end,disabled:!e.end},m.createElement(ti,null))),m.createElement(Ye,{trigger:"hover",hasChrome:!1,tooltip:m.createElement(Tt,{note:"Rerun"})},m.createElement(xd,{"aria-label":"Rerun",onClick:t.rerun},m.createElement(si,null)))),n&&m.createElement(bi,null,m.createElement(wd,null,n)))))},Rd=z.div(({theme:t})=>({height:"100%",background:t.background.content})),Ei=z.div(({theme:t})=>({borderBottom:`1px solid ${t.appBorderColor}`,backgroundColor:t.base==="dark"?sr(.93,t.color.negative):t.background.warning,padding:15,fontSize:t.typography.size.s2-1,lineHeight:"19px"})),In=z.code(({theme:t})=>({margin:"0 1px",padding:3,fontSize:t.typography.size.s1-1,lineHeight:1,verticalAlign:"top",background:"rgba(0, 0, 0, 0.05)",border:`1px solid ${t.appBorderColor}`,borderRadius:3})),Ai=z.div({paddingBottom:4,fontWeight:"bold"}),_d=z.p({margin:0,padding:"0 0 20px"}),Si=z.pre(({theme:t})=>({margin:0,padding:0,"&:not(:last-child)":{paddingBottom:16},fontSize:t.typography.size.s1-1})),Od=Ft(function({calls:t,controls:e,controlStates:r,interactions:n,fileName:o,hasException:a,caughtException:u,unhandledErrors:i,isPlaying:s,pausedAt:l,onScrollToEnd:h,endRef:f}){let g=kn();return U(Rd,null,(n.length>0||a)&&U(Td,{controls:e,controlStates:r,status:s?V.ACTIVE:a?V.ERROR:V.DONE,storyFileName:o,onScrollToEnd:h}),U("div",{"aria-label":"Interactions list"},n.map(E=>U(gd,{key:E.id,call:E,callsById:t,controls:e,controlStates:r,childCallIds:E.childCallIds,isHidden:E.isHidden,isCollapsed:E.isCollapsed,toggleCollapsed:E.toggleCollapsed,pausedAt:l}))),u&&!ip(u)&&U(Ei,null,U(Ai,null,"Caught exception in ",U(In,null,"play")," function"),U(Si,{"data-chromatic":"ignore",dangerouslySetInnerHTML:{__html:g.toHtml(Ci(u))}})),i&&U(Ei,null,U(Ai,null,"Unhandled Errors"),U(_d,null,"Found ",i.length," unhandled error",i.length>1?"s":""," ","while running the play function. This might cause false positive assertions. Resolve unhandled errors or ignore unhandled errors with setting the",U(In,null,"test.dangerouslyIgnoreUnhandledErrors")," ","parameter to ",U(In,null,"true"),"."),i.map((E,C)=>U(Si,{key:C,"data-chromatic":"ignore"},Ci(E)))),U("div",{ref:f}),!s&&!u&&n.length===0&&U(fp,null))});function Ci(t){return t.stack||`${t.name}: ${t.message}`}var Bn={start:!1,back:!1,goto:!1,next:!1,end:!1},wi=({log:t,calls:e,collapsed:r,setCollapsed:n})=>{let o=new Map,a=new Map;return t.map(({callId:u,ancestors:i,status:s})=>{let l=!1;return i.forEach(h=>{r.has(h)&&(l=!0),a.set(h,(a.get(h)||[]).concat(u))}),{...e.get(u),status:s,isHidden:l}}).map(u=>{let i=u.status===V.ERROR&&o.get(u.ancestors.slice(-1)[0])?.status===V.ACTIVE?V.ACTIVE:u.status;return o.set(u.id,{...u,status:i}),{...u,status:i,childCallIds:a.get(u.id),isCollapsed:r.has(u.id),toggleCollapsed:()=>n(s=>(s.has(u.id)?s.delete(u.id):s.add(u.id),new Set(s)))}})},Fd=Ft(function({storyId:t}){let[e,r]=Sr(cr,{controlStates:Bn,isErrored:!1,pausedAt:void 0,interactions:[],isPlaying:!1,hasException:!1,caughtException:void 0,interactionsCount:0,unhandledErrors:void 0}),[n,o]=Te(void 0),[a,u]=Te(new Set),{controlStates:i=Bn,isErrored:s=!1,pausedAt:l=void 0,interactions:h=[],isPlaying:f=!1,caughtException:g=void 0,unhandledErrors:E=void 0}=e,C=It([]),v=It(new Map),b=({status:O,...B})=>v.current.set(B.id,B),S=It();ke(()=>{let O;return At.IntersectionObserver&&(O=new At.IntersectionObserver(([B])=>o(B.isIntersecting?void 0:B.target),{root:At.document.querySelector("#panel-tab-content")}),S.current&&O.observe(S.current)),()=>O?.disconnect()},[]);let A=Zn({[He.CALL]:b,[He.SYNC]:O=>{r(B=>{let j=wi({log:O.logItems,calls:v.current,collapsed:a,setCollapsed:u});return{...B,controlStates:O.controlStates,pausedAt:O.pausedAt,interactions:j,interactionsCount:j.filter(({method:M})=>M!=="step").length}}),C.current=O.logItems},[Pe]:O=>{if(O.newPhase==="preparing"){r({controlStates:Bn,isErrored:!1,pausedAt:void 0,interactions:[],isPlaying:!1,hasException:!1,caughtException:void 0,interactionsCount:0,unhandledErrors:void 0});return}r(B=>({...B,isPlaying:O.newPhase==="playing",pausedAt:void 0,...O.newPhase==="rendering"?{isErrored:!1,caughtException:void 0}:{}}))},[jt]:()=>{r(O=>({...O,isErrored:!0,hasException:!0}))},[Nt]:O=>{r(B=>({...B,caughtException:O,hasException:!0}))},[kt]:O=>{r(B=>({...B,unhandledErrors:O,hasException:!0}))}},[a]);ke(()=>{r(O=>{let B=wi({log:C.current,calls:v.current,collapsed:a,setCollapsed:u});return{...O,interactions:B,interactionsCount:B.filter(({method:j})=>j!=="step").length}})},[a]);let D=zn(()=>({start:()=>A(He.START,{storyId:t}),back:()=>A(He.BACK,{storyId:t}),goto:O=>A(He.GOTO,{storyId:t,callId:O}),next:()=>A(He.NEXT,{storyId:t}),end:()=>A(He.END,{storyId:t}),rerun:()=>{A(bt,{storyId:t})}}),[t]),_=eo("fileName",""),[P]=_.toString().split("/").slice(-1),R=()=>n?.scrollIntoView({behavior:"smooth",block:"end"}),T=!!g||!!E||h.some(O=>O.status===V.ERROR);return s?m.createElement(Ot,{key:"interactions"}):m.createElement(Ot,{key:"interactions"},m.createElement(Od,{calls:v.current,controls:D,controlStates:i,interactions:h,fileName:P,hasException:T,caughtException:g,unhandledErrors:E,isPlaying:f,pausedAt:l,endRef:S,onScrollToEnd:n&&R}))});function Id(){let[t={}]=Sr(cr),{hasException:e,interactionsCount:r}=t;return m.createElement("div",null,m.createElement(Xn,{col:1},m.createElement("span",{style:{display:"inline-block",verticalAlign:"middle"}},"Interactions"),r&&!e?m.createElement(gr,{status:"neutral"},r):null,e?m.createElement(gr,{status:"negative"},r):null))}Ar.register(cr,t=>{Ar.add(lp,{type:Qn.PANEL,title:Id,match:({viewMode:e})=>e==="story",render:({active:e})=>{let r=Un(({state:n})=>({storyId:n.storyId}),[]);return m.createElement(Hn,{active:e},m.createElement(Jn,{filter:r},({storyId:n})=>m.createElement(Fd,{storyId:n})))}})});})(); -}catch(e){ console.error("[Storybook] One of your manager-entries failed: " + import.meta.url, e); } diff --git a/docs/storybook/sb-addons/links-1/manager-bundle.js b/docs/storybook/sb-addons/links-1/manager-bundle.js deleted file mode 100644 index b2059a6..0000000 --- a/docs/storybook/sb-addons/links-1/manager-bundle.js +++ /dev/null @@ -1,3 +0,0 @@ -try{ -(()=>{var y=__STORYBOOK_API__,{ActiveTabs:E,Consumer:T,ManagerContext:h,Provider:v,RequestResponseError:A,addons:a,combineParameters:b,controlOrMetaKey:O,controlOrMetaSymbol:k,eventMatchesShortcut:R,eventToShortcut:g,experimental_MockUniversalStore:x,experimental_UniversalStore:I,experimental_requestResponse:M,experimental_useUniversalStore:C,isMacLike:P,isShortcutTaken:U,keyToSymbol:f,merge:q,mockChannel:D,optionOrAltSymbol:G,shortcutMatchesShortcut:K,shortcutToHumanString:V,types:$,useAddonState:B,useArgTypes:N,useArgs:Q,useChannel:Y,useGlobalTypes:H,useGlobals:L,useParameter:j,useSharedState:w,useStoryPrepared:z,useStorybookApi:F,useStorybookState:J}=__STORYBOOK_API__;var e="storybook/links",n={NAVIGATE:`${e}/navigate`,REQUEST:`${e}/request`,RECEIVE:`${e}/receive`};a.register(e,t=>{t.on(n.REQUEST,({kind:u,name:l})=>{let i=t.storyId(u,l);t.emit(n.RECEIVE,i)})});})(); -}catch(e){ console.error("[Storybook] One of your manager-entries failed: " + import.meta.url, e); } diff --git a/docs/storybook/sb-addons/onboarding-10/manager-bundle.js b/docs/storybook/sb-addons/onboarding-10/manager-bundle.js deleted file mode 100644 index aee4cf0..0000000 --- a/docs/storybook/sb-addons/onboarding-10/manager-bundle.js +++ /dev/null @@ -1,127 +0,0 @@ -try{ -(()=>{var so=Object.defineProperty;var ce=(e,t)=>()=>(e&&(t=e(e=0)),t);var lo=(e,t)=>{for(var n in t)so(e,n,{get:t[n],enumerable:!0})};var X=ce(()=>{});var Q=ce(()=>{});var Z=ce(()=>{});var y,Ns,Le,ks,Ls,Ms,js,rn,Ds,Fs,Bs,q,Ws,Us,on,an,sn,Hs,zs,Gs,Je,Ys,qs,$s,ae,Vs,Ks,Js,Xs,Qs,Zs,At,ue,el,tl,nl,ht=ce(()=>{X();Q();Z();y=__REACT__,{Children:Ns,Component:Le,Fragment:ks,Profiler:Ls,PureComponent:Ms,StrictMode:js,Suspense:rn,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:Ds,cloneElement:Fs,createContext:Bs,createElement:q,createFactory:Ws,createRef:Us,forwardRef:on,isValidElement:an,lazy:sn,memo:Hs,startTransition:zs,unstable_act:Gs,useCallback:Je,useContext:Ys,useDebugValue:qs,useDeferredValue:$s,useEffect:ae,useId:Vs,useImperativeHandle:Ks,useInsertionEffect:Js,useLayoutEffect:Xs,useMemo:Qs,useReducer:Zs,useRef:At,useState:ue,useSyncExternalStore:el,useTransition:tl,version:nl}=__REACT__});var Me,al,mt,sl,ll,cl,ul,pl,dl,ln,fl,cn,hl,yt=ce(()=>{X();Q();Z();Me=__REACT_DOM__,{__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:al,createPortal:mt,createRoot:sl,findDOMNode:ll,flushSync:cl,hydrate:ul,hydrateRoot:pl,render:dl,unmountComponentAtNode:ln,unstable_batchedUpdates:fl,unstable_renderSubtreeIntoContainer:cn,version:hl}=__REACT_DOM__});var bl,vl,El,Sl,Ol,wl,Tl,Il,Rl,Cl,Pl,_l,xl,Al,Nl,kl,Ll,Ml,jl,Dl,Fl,Bl,Wl,Ul,Hl,zl,un,Gl,Yl,ql,$l,Vl,Kl,Jl,Xl,Ql,Zl,ec,tc,nc,rc,oc,ic,ac,sc,lc,cc,uc,pn,pc,dc,fc,hc,mc,yc,gc,bc,vc,Ec,Sc,Oc,wc,Tc,dn=ce(()=>{X();Q();Z();bl=__STORYBOOK_CORE_EVENTS__,{ARGTYPES_INFO_REQUEST:vl,ARGTYPES_INFO_RESPONSE:El,CHANNEL_CREATED:Sl,CHANNEL_WS_DISCONNECT:Ol,CONFIG_ERROR:wl,CREATE_NEW_STORYFILE_REQUEST:Tl,CREATE_NEW_STORYFILE_RESPONSE:Il,CURRENT_STORY_WAS_SET:Rl,DOCS_PREPARED:Cl,DOCS_RENDERED:Pl,FILE_COMPONENT_SEARCH_REQUEST:_l,FILE_COMPONENT_SEARCH_RESPONSE:xl,FORCE_REMOUNT:Al,FORCE_RE_RENDER:Nl,GLOBALS_UPDATED:kl,NAVIGATE_URL:Ll,PLAY_FUNCTION_THREW_EXCEPTION:Ml,PRELOAD_ENTRIES:jl,PREVIEW_BUILDER_PROGRESS:Dl,PREVIEW_KEYDOWN:Fl,REGISTER_SUBSCRIPTION:Bl,REQUEST_WHATS_NEW_DATA:Wl,RESET_STORY_ARGS:Ul,RESULT_WHATS_NEW_DATA:Hl,SAVE_STORY_REQUEST:zl,SAVE_STORY_RESPONSE:un,SELECT_STORY:Gl,SET_CONFIG:Yl,SET_CURRENT_STORY:ql,SET_FILTER:$l,SET_GLOBALS:Vl,SET_INDEX:Kl,SET_STORIES:Jl,SET_WHATS_NEW_CACHE:Xl,SHARED_STATE_CHANGED:Ql,SHARED_STATE_SET:Zl,STORIES_COLLAPSE_ALL:ec,STORIES_EXPAND_ALL:tc,STORY_ARGS_UPDATED:nc,STORY_CHANGED:rc,STORY_ERRORED:oc,STORY_FINISHED:ic,STORY_INDEX_INVALIDATED:ac,STORY_MISSING:sc,STORY_PREPARED:lc,STORY_RENDERED:cc,STORY_RENDER_PHASE_CHANGED:uc,STORY_SPECIFIED:pn,STORY_THREW_EXCEPTION:pc,STORY_UNCHANGED:dc,TELEMETRY_ERROR:fc,TESTING_MODULE_CANCEL_TEST_RUN_REQUEST:hc,TESTING_MODULE_CANCEL_TEST_RUN_RESPONSE:mc,TESTING_MODULE_CRASH_REPORT:yc,TESTING_MODULE_PROGRESS_REPORT:gc,TESTING_MODULE_RUN_ALL_REQUEST:bc,TESTING_MODULE_RUN_REQUEST:vc,TOGGLE_WHATS_NEW_NOTIFICATIONS:Ec,UNHANDLED_ERRORS_WHILE_PLAYING:Sc,UPDATE_GLOBALS:Oc,UPDATE_QUERY_PARAMS:wc,UPDATE_STORY_ARGS:Tc}=__STORYBOOK_CORE_EVENTS__});var Nt=ce(()=>{X();Q();Z();dn()});var vu,Eu,Su,Ou,wu,Tu,Iu,Ru,Cu,Pu,_u,xu,Au,Nu,ku,Lu,Mu,ju,Du,Fu,Bu,Wu,Uu,Hu,hn,zu,Gu,Yu,qu,$u,Vu,Ku,Ju,Xu,Qu,Zu,ep,tp,np,rp,op,ip,ap,sp,lp,cp,mn,up,pp,dp,fp,hp,mp,yp,gp,bp,vp,Ep,Sp,Op,wp,Tp,Ip,Rp,Cp,Pp,_p,xp,Ap,Np,yn=ce(()=>{X();Q();Z();vu=__STORYBOOK_COMPONENTS__,{A:Eu,ActionBar:Su,AddonPanel:Ou,Badge:wu,Bar:Tu,Blockquote:Iu,Button:Ru,ClipboardCode:Cu,Code:Pu,DL:_u,Div:xu,DocumentWrapper:Au,EmptyTabContent:Nu,ErrorFormatter:ku,FlexBar:Lu,Form:Mu,H1:ju,H2:Du,H3:Fu,H4:Bu,H5:Wu,H6:Uu,HR:Hu,IconButton:hn,IconButtonSkeleton:zu,Icons:Gu,Img:Yu,LI:qu,Link:$u,ListItem:Vu,Loader:Ku,Modal:Ju,OL:Xu,P:Qu,Placeholder:Zu,Pre:ep,ProgressSpinner:tp,ResetWrapper:np,ScrollArea:rp,Separator:op,Spaced:ip,Span:ap,StorybookIcon:sp,StorybookLogo:lp,Symbols:cp,SyntaxHighlighter:mn,TT:up,TabBar:pp,TabButton:dp,TabWrapper:fp,Table:hp,Tabs:mp,TabsState:yp,TooltipLinkList:gp,TooltipMessage:bp,TooltipNote:vp,UL:Ep,WithTooltip:Sp,WithTooltipPure:Op,Zoom:wp,codeCommon:Tp,components:Ip,createCopyToClipboardFunction:Rp,getStoryHref:Cp,icons:Pp,interleaveSeparators:_p,nameSpaceClassNames:xp,resetComponents:Ap,withReset:Np}=__STORYBOOK_COMPONENTS__});var Dp,Fp,Bp,Wp,kt,Up,gt,Lt,Hp,zp,Gp,Yp,qp,$p,Vp,Kp,Jp,Xp,Xe,Qp,ee,gn,Zp,bn,ed,vn=ce(()=>{X();Q();Z();Dp=__STORYBOOK_THEMING__,{CacheProvider:Fp,ClassNames:Bp,Global:Wp,ThemeProvider:kt,background:Up,color:gt,convert:Lt,create:Hp,createCache:zp,createGlobal:Gp,createReset:Yp,css:qp,darken:$p,ensure:Vp,ignoreSsrWarning:Kp,isPropValid:Jp,jsx:Xp,keyframes:Xe,lighten:Qp,styled:ee,themes:gn,typography:Zp,useTheme:bn,withTheme:ed}=__STORYBOOK_THEMING__});var id,ad,sd,ld,cd,ud,pd,dd,fd,hd,md,yd,gd,bd,vd,En,Ed,Sd,Od,wd,Td,Id,Rd,Cd,Pd,_d,xd,Ad,Nd,kd,Ld,Md,jd,Dd,Fd,Bd,Wd,Ud,Hd,zd,Gd,Yd,qd,$d,Vd,Kd,Jd,Xd,Qd,Zd,ef,tf,nf,rf,of,af,sf,lf,cf,uf,pf,df,ff,Sn,hf,mf,yf,gf,bf,vf,Ef,Sf,Of,wf,Tf,If,Rf,Cf,Pf,_f,xf,Af,Nf,kf,Lf,Mf,jf,Df,Ff,Bf,Wf,Uf,Hf,zf,Gf,Yf,qf,$f,Vf,Kf,Jf,Xf,Qf,Zf,eh,th,nh,rh,oh,ih,ah,sh,lh,ch,uh,ph,dh,fh,hh,mh,yh,gh,bh,vh,Eh,Sh,Oh,wh,Th,Ih,Rh,Ch,Ph,_h,xh,Ah,Nh,kh,Lh,Mh,jh,Dh,Fh,Bh,Wh,Uh,Hh,zh,Gh,Yh,qh,$h,Vh,Kh,Jh,Xh,Qh,Zh,em,tm,nm,rm,om,im,am,sm,lm,cm,um,pm,dm,fm,hm,mm,ym,gm,bm,vm,Em,Sm,Om,wm,Tm,Im,Rm,Cm,Pm,_m,xm,Am,Nm,km,Lm,Mm,jm,Dm,Fm,Bm,Wm,Um,Hm,zm,Gm,Ym,qm,$m,Vm,Km,Jm,Xm,Qm,Zm,ey,ty,ny,ry,oy,iy,ay,sy,ly,cy,uy,py,dy,fy,hy,my,yy,gy,by,vy,Ey,Sy,Oy,wy,Ty,Iy,Ry,Cy,Py,_y,xy,Ay,Ny,ky,On=ce(()=>{X();Q();Z();id=__STORYBOOK_ICONS__,{AccessibilityAltIcon:ad,AccessibilityIcon:sd,AccessibilityIgnoredIcon:ld,AddIcon:cd,AdminIcon:ud,AlertAltIcon:pd,AlertIcon:dd,AlignLeftIcon:fd,AlignRightIcon:hd,AppleIcon:md,ArrowBottomLeftIcon:yd,ArrowBottomRightIcon:gd,ArrowDownIcon:bd,ArrowLeftIcon:vd,ArrowRightIcon:En,ArrowSolidDownIcon:Ed,ArrowSolidLeftIcon:Sd,ArrowSolidRightIcon:Od,ArrowSolidUpIcon:wd,ArrowTopLeftIcon:Td,ArrowTopRightIcon:Id,ArrowUpIcon:Rd,AzureDevOpsIcon:Cd,BackIcon:Pd,BasketIcon:_d,BatchAcceptIcon:xd,BatchDenyIcon:Ad,BeakerIcon:Nd,BellIcon:kd,BitbucketIcon:Ld,BoldIcon:Md,BookIcon:jd,BookmarkHollowIcon:Dd,BookmarkIcon:Fd,BottomBarIcon:Bd,BottomBarToggleIcon:Wd,BoxIcon:Ud,BranchIcon:Hd,BrowserIcon:zd,ButtonIcon:Gd,CPUIcon:Yd,CalendarIcon:qd,CameraIcon:$d,CameraStabilizeIcon:Vd,CategoryIcon:Kd,CertificateIcon:Jd,ChangedIcon:Xd,ChatIcon:Qd,CheckIcon:Zd,ChevronDownIcon:ef,ChevronLeftIcon:tf,ChevronRightIcon:nf,ChevronSmallDownIcon:rf,ChevronSmallLeftIcon:of,ChevronSmallRightIcon:af,ChevronSmallUpIcon:sf,ChevronUpIcon:lf,ChromaticIcon:cf,ChromeIcon:uf,CircleHollowIcon:pf,CircleIcon:df,ClearIcon:ff,CloseAltIcon:Sn,CloseIcon:hf,CloudHollowIcon:mf,CloudIcon:yf,CogIcon:gf,CollapseIcon:bf,CommandIcon:vf,CommentAddIcon:Ef,CommentIcon:Sf,CommentsIcon:Of,CommitIcon:wf,CompassIcon:Tf,ComponentDrivenIcon:If,ComponentIcon:Rf,ContrastIcon:Cf,ContrastIgnoredIcon:Pf,ControlsIcon:_f,CopyIcon:xf,CreditIcon:Af,CrossIcon:Nf,DashboardIcon:kf,DatabaseIcon:Lf,DeleteIcon:Mf,DiamondIcon:jf,DirectionIcon:Df,DiscordIcon:Ff,DocChartIcon:Bf,DocListIcon:Wf,DocumentIcon:Uf,DownloadIcon:Hf,DragIcon:zf,EditIcon:Gf,EllipsisIcon:Yf,EmailIcon:qf,ExpandAltIcon:$f,ExpandIcon:Vf,EyeCloseIcon:Kf,EyeIcon:Jf,FaceHappyIcon:Xf,FaceNeutralIcon:Qf,FaceSadIcon:Zf,FacebookIcon:eh,FailedIcon:th,FastForwardIcon:nh,FigmaIcon:rh,FilterIcon:oh,FlagIcon:ih,FolderIcon:ah,FormIcon:sh,GDriveIcon:lh,GithubIcon:ch,GitlabIcon:uh,GlobeIcon:ph,GoogleIcon:dh,GraphBarIcon:fh,GraphLineIcon:hh,GraphqlIcon:mh,GridAltIcon:yh,GridIcon:gh,GrowIcon:bh,HeartHollowIcon:vh,HeartIcon:Eh,HomeIcon:Sh,HourglassIcon:Oh,InfoIcon:wh,ItalicIcon:Th,JumpToIcon:Ih,KeyIcon:Rh,LightningIcon:Ch,LightningOffIcon:Ph,LinkBrokenIcon:_h,LinkIcon:xh,LinkedinIcon:Ah,LinuxIcon:Nh,ListOrderedIcon:kh,ListUnorderedIcon:Lh,LocationIcon:Mh,LockIcon:jh,MarkdownIcon:Dh,MarkupIcon:Fh,MediumIcon:Bh,MemoryIcon:Wh,MenuIcon:Uh,MergeIcon:Hh,MirrorIcon:zh,MobileIcon:Gh,MoonIcon:Yh,NutIcon:qh,OutboxIcon:$h,OutlineIcon:Vh,PaintBrushIcon:Kh,PaperClipIcon:Jh,ParagraphIcon:Xh,PassedIcon:Qh,PhoneIcon:Zh,PhotoDragIcon:em,PhotoIcon:tm,PhotoStabilizeIcon:nm,PinAltIcon:rm,PinIcon:om,PlayAllHollowIcon:im,PlayBackIcon:am,PlayHollowIcon:sm,PlayIcon:lm,PlayNextIcon:cm,PlusIcon:um,PointerDefaultIcon:pm,PointerHandIcon:dm,PowerIcon:fm,PrintIcon:hm,ProceedIcon:mm,ProfileIcon:ym,PullRequestIcon:gm,QuestionIcon:bm,RSSIcon:vm,RedirectIcon:Em,ReduxIcon:Sm,RefreshIcon:Om,ReplyIcon:wm,RepoIcon:Tm,RequestChangeIcon:Im,RewindIcon:Rm,RulerIcon:Cm,SaveIcon:Pm,SearchIcon:_m,ShareAltIcon:xm,ShareIcon:Am,ShieldIcon:Nm,SideBySideIcon:km,SidebarAltIcon:Lm,SidebarAltToggleIcon:Mm,SidebarIcon:jm,SidebarToggleIcon:Dm,SpeakerIcon:Fm,StackedIcon:Bm,StarHollowIcon:Wm,StarIcon:Um,StatusFailIcon:Hm,StatusIcon:zm,StatusPassIcon:Gm,StatusWarnIcon:Ym,StickerIcon:qm,StopAltHollowIcon:$m,StopAltIcon:Vm,StopIcon:Km,StorybookIcon:Jm,StructureIcon:Xm,SubtractIcon:Qm,SunIcon:Zm,SupportIcon:ey,SwitchAltIcon:ty,SyncIcon:ny,TabletIcon:ry,ThumbsUpIcon:oy,TimeIcon:iy,TimerIcon:ay,TransferIcon:sy,TrashIcon:ly,TwitterIcon:cy,TypeIcon:uy,UbuntuIcon:py,UndoIcon:dy,UnfoldIcon:fy,UnlockIcon:hy,UnpinIcon:my,UploadIcon:yy,UserAddIcon:gy,UserAltIcon:by,UserIcon:vy,UsersIcon:Ey,VSCodeIcon:Sy,VerifiedIcon:Oy,VideoIcon:wy,WandIcon:Ty,WatchIcon:Iy,WindowsIcon:Ry,WrenchIcon:Cy,XIcon:Py,YoutubeIcon:_y,ZoomIcon:xy,ZoomOutIcon:Ay,ZoomResetIcon:Ny,iconList:ky}=__STORYBOOK_ICONS__});var io={};lo(io,{default:()=>ws});function Co(e,t={}){let{colors:n=Tn,duration:r=In,force:o=Rn,particleCount:i=Cn,particleShape:a=Pn,particleSize:s=_n,particleClass:c=xn,destroyAfterDone:l=An,stageHeight:p=Nn,stageWidth:u=kn}=t;(function(m){if(document.querySelector("style[data-neoconfetti]"))return;let g=Mt("style");g.dataset.neoconfetti="",g.textContent=m,jt(document.head,g)})(Io),e.classList.add(Ro),e.style.setProperty("--sh",p+"px");let d=[],f=[],h=()=>rt(be()*(No-1)),b=(m,g)=>a!=="rectangles"&&(m==="circles"||ko(g));function N(m,g){let O=h(),B=b(a,O),P=(te,Ne)=>m.style.setProperty(te,Ne+"");P("--xlp",Dt(bt(Dn(g,90)-180),0,180,-u/2,u/2)+"px"),P("--dc",r-rt(1e3*be())+"ms");let V=be()<_o?We(be()*xo,2):0;P("--x1",V),P("--x2",-1*V),P("--x3",V),P("--x4",We(bt(Dt(bt(Dn(g,90)-180),0,180,-1,1)),4)),P("--y1",We(be()*Mn,4)),P("--y2",We(be()*o*(Or()?1:-1),4)),P("--y3",Mn),P("--y4",We(Ao(Dt(bt(g-180),0,180,o,-o),0),4)),P("--w",(B?s:rt(4*be())+s/2)+"px"),P("--h",(B?s:rt(2*be())+s)+"px");let H=O.toString(2).padStart(3,"0").split("");P("--hr",H.map(te=>+te/2+"").join(" ")),P("--r",H.join(" ")),P("--rd",We(be()*(Po-Ln)+Ln)+"ms"),P("--br",B?"50%":0)}let v;function T(){e.innerHTML="",clearTimeout(v),d=jn(i,n),f=function(m,g=[],O){let B=[];for(let{color:P}of g){let V=Mt("div");V.className=`${wn} ${O}`,V.style.setProperty("--bgc",P);let H=Mt("div");jt(V,H),jt(m,V),B.push(V)}return B}(e,d,c);for(let[m,g]of Fn(f))N(g,d[+m].degree);v=setTimeout(()=>{l&&(e.innerHTML="")},r)}return T(),{update(m){let g=m.particleCount??Cn,O=m.particleShape??Pn,B=m.particleSize??_n,P=m.particleClass??xn,V=m.colors??Tn,H=m.stageHeight??Nn,te=m.duration??In,Ne=m.force??Rn,Ve=m.stageWidth??kn,ke=m.destroyAfterDone??An;d=jn(g,V);let Be=!1;if(g===i){f=Array.from(e.querySelectorAll(`.${wn}`));for(let[Ke,{color:Te}]of Fn(d)){let Ie=f[+Ke];JSON.stringify(n)!==JSON.stringify(V)&&Ie.style.setProperty("--bgc",Te),O!==a&&Ie.style.setProperty("--br",b(O,h())?"50%":"0"),P!==c&&(c&&Ie.classList.remove(c),P&&Ie.classList.add(P))}}else Be=!0;l&&!ke&&clearTimeout(v),e.style.setProperty("--sh",H+"px"),r=te,n=V,o=Ne,i=g,a=O,s=B,c=P,l=ke,p=H,u=Ve,Be&&T()},destroy(){e.innerHTML="",clearTimeout(v)}}}function Lo({class:e,...t}){let n=At(null),r=At();return ae(()=>{if(typeof window<"u"&&n.current){if(r.current)return r.current.update(t),r.current.destroy;r.current=Co(n.current,t)}},[t]),q("div",{ref:n,className:e})}function Bn({targetSelector:e,pulsating:t=!1}){return ae(()=>{let n=document.querySelector(e);if(n)if(t){n.style.animation="pulsate 3s infinite",n.style.transformOrigin="center",n.style.animationTimingFunction="ease-in-out";let r=` - @keyframes pulsate { - 0% { - box-shadow: rgba(2,156,253,1) 0 0 2px 1px, 0 0 0 0 rgba(2, 156, 253, 0.7), 0 0 0 0 rgba(2, 156, 253, 0.4); - } - 50% { - box-shadow: rgba(2,156,253,1) 0 0 2px 1px, 0 0 0 20px rgba(2, 156, 253, 0), 0 0 0 40px rgba(2, 156, 253, 0); - } - 100% { - box-shadow: rgba(2,156,253,1) 0 0 2px 1px, 0 0 0 0 rgba(2, 156, 253, 0), 0 0 0 0 rgba(2, 156, 253, 0); - } - } - `,o=document.createElement("style");o.id="sb-onboarding-pulsating-effect",o.innerHTML=r,document.head.appendChild(o)}else n.style.boxShadow="rgba(2,156,253,1) 0 0 2px 1px";return()=>{let r=document.querySelector("#sb-onboarding-pulsating-effect");r&&r.remove(),n&&(n.style.animation="",n.style.boxShadow="")}},[e,t]),null}function wr(e){return t=>typeof t===e}function Wo(e,t){let{length:n}=e;if(n!==t.length)return!1;for(let r=n;r--!==0;)if(!oe(e[r],t[r]))return!1;return!0}function Uo(e,t){if(e.byteLength!==t.byteLength)return!1;let n=new DataView(e.buffer),r=new DataView(t.buffer),o=e.byteLength;for(;o--;)if(n.getUint8(o)!==r.getUint8(o))return!1;return!0}function Ho(e,t){if(e.size!==t.size)return!1;for(let n of e.entries())if(!t.has(n[0]))return!1;for(let n of e.entries())if(!oe(n[1],t.get(n[0])))return!1;return!0}function zo(e,t){if(e.size!==t.size)return!1;for(let n of e.entries())if(!t.has(n[0]))return!1;return!0}function oe(e,t){if(e===t)return!0;if(e&&Hn(e)&&t&&Hn(t)){if(e.constructor!==t.constructor)return!1;if(Array.isArray(e)&&Array.isArray(t))return Wo(e,t);if(e instanceof Map&&t instanceof Map)return Ho(e,t);if(e instanceof Set&&t instanceof Set)return zo(e,t);if(ArrayBuffer.isView(e)&&ArrayBuffer.isView(t))return Uo(e,t);if(Un(e)&&Un(t))return e.source===t.source&&e.flags===t.flags;if(e.valueOf!==Object.prototype.valueOf)return e.valueOf()===t.valueOf();if(e.toString!==Object.prototype.toString)return e.toString()===t.toString();let n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(let o=n.length;o--!==0;)if(!Object.prototype.hasOwnProperty.call(t,n[o]))return!1;for(let o=n.length;o--!==0;){let i=n[o];if(!(i==="_owner"&&e.$$typeof)&&!oe(e[i],t[i]))return!1}return!0}return Number.isNaN(e)&&Number.isNaN(t)?!0:e===t}function Rt(e){let t=Object.prototype.toString.call(e).slice(8,-1);if(/HTML\w+Element/.test(t))return"HTMLElement";if(qo(t))return t}function de(e){return t=>Rt(t)===e}function qo(e){return Go.includes(e)}function Ye(e){return t=>typeof t===e}function $o(e){return Yo.includes(e)}function I(e){if(e===null)return"null";switch(typeof e){case"bigint":return"bigint";case"boolean":return"boolean";case"number":return"number";case"string":return"string";case"symbol":return"symbol";case"undefined":return"undefined"}return I.array(e)?"Array":I.plainFunction(e)?"Function":Rt(e)||"Object"}function Ko(...e){return e.every(t=>C.string(t)||C.array(t)||C.plainObject(t))}function Jo(e,t,n){return Tr(e,t)?[e,t].every(C.array)?!e.some($n(n))&&t.some($n(n)):[e,t].every(C.plainObject)?!Object.entries(e).some(qn(n))&&Object.entries(t).some(qn(n)):t===n:!1}function zn(e,t,n){let{actual:r,key:o,previous:i,type:a}=n,s=Ee(e,o),c=Ee(t,o),l=[s,c].every(C.number)&&(a==="increased"?sc);return C.undefined(r)||(l=l&&c===r),C.undefined(i)||(l=l&&s===i),l}function Gn(e,t,n){let{key:r,type:o,value:i}=n,a=Ee(e,r),s=Ee(t,r),c=o==="added"?a:s,l=o==="added"?s:a;if(!C.nullOrUndefined(i)){if(C.defined(c)){if(C.array(c)||C.plainObject(c))return Jo(c,l,i)}else return oe(l,i);return!1}return[a,s].every(C.array)?!l.every(Vt(c)):[a,s].every(C.plainObject)?Xo(Object.keys(c),Object.keys(l)):![a,s].every(p=>C.primitive(p)&&C.defined(p))&&(o==="added"?!C.defined(a)&&C.defined(s):C.defined(a)&&!C.defined(s))}function Yn(e,t,{key:n}={}){let r=Ee(e,n),o=Ee(t,n);if(!Tr(r,o))throw new TypeError("Inputs have different types");if(!Ko(r,o))throw new TypeError("Inputs don't have length");return[r,o].every(C.plainObject)&&(r=Object.keys(r),o=Object.keys(o)),[r,o]}function qn(e){return([t,n])=>C.array(e)?oe(e,n)||e.some(r=>oe(r,n)||C.array(n)&&Vt(n)(r)):C.plainObject(e)&&e[t]?!!e[t]&&oe(e[t],n):oe(e,n)}function Xo(e,t){return t.some(n=>!e.includes(n))}function $n(e){return t=>C.array(e)?e.some(n=>oe(n,t)||C.array(t)&&Vt(t)(n)):oe(e,t)}function Qe(e,t){return C.array(e)?e.some(n=>oe(n,t)):oe(e,t)}function Vt(e){return t=>e.some(n=>oe(n,t))}function Tr(...e){return e.every(C.array)||e.every(C.number)||e.every(C.plainObject)||e.every(C.string)}function Ee(e,t){return C.plainObject(e)||C.array(e)?C.string(t)?t.split(".").reduce((n,r)=>n&&n[r],e):C.number(t)?e[t]:e:e}function Ot(e,t){if([e,t].some(C.nullOrUndefined))throw new Error("Missing required parameters");if(![e,t].every(n=>C.plainObject(n)||C.array(n)))throw new Error("Expected plain objects or array");return{added:(n,r)=>{try{return Gn(e,t,{key:n,type:"added",value:r})}catch{return!1}},changed:(n,r,o)=>{try{let i=Ee(e,n),a=Ee(t,n),s=C.defined(r),c=C.defined(o);if(s||c){let l=c?Qe(o,i):!Qe(r,i),p=Qe(r,a);return l&&p}return[i,a].every(C.array)||[i,a].every(C.plainObject)?!oe(i,a):i!==a}catch{return!1}},changedFrom:(n,r,o)=>{if(!C.defined(n))return!1;try{let i=Ee(e,n),a=Ee(t,n),s=C.defined(o);return Qe(r,i)&&(s?Qe(o,a):!s)}catch{return!1}},decreased:(n,r,o)=>{if(!C.defined(n))return!1;try{return zn(e,t,{key:n,actual:r,previous:o,type:"decreased"})}catch{return!1}},emptied:n=>{try{let[r,o]=Yn(e,t,{key:n});return!!r.length&&!o.length}catch{return!1}},filled:n=>{try{let[r,o]=Yn(e,t,{key:n});return!r.length&&!!o.length}catch{return!1}},increased:(n,r,o)=>{if(!C.defined(n))return!1;try{return zn(e,t,{key:n,actual:r,previous:o,type:"increased"})}catch{return!1}},removed:(n,r)=>{try{return Gn(e,t,{key:n,type:"removed",value:r})}catch{return!1}}}}function ei(e){var t=!1;return function(){t||(t=!0,window.Promise.resolve().then(function(){t=!1,e()}))}}function ti(e){var t=!1;return function(){t||(t=!0,setTimeout(function(){t=!1,e()},Zo))}}function Rr(e){var t={};return e&&t.toString.call(e)==="[object Function]"}function Fe(e,t){if(e.nodeType!==1)return[];var n=e.ownerDocument.defaultView,r=n.getComputedStyle(e,null);return t?r[t]:r}function Kt(e){return e.nodeName==="HTML"?e:e.parentNode||e.host}function at(e){if(!e)return document.body;switch(e.nodeName){case"HTML":case"BODY":return e.ownerDocument.body;case"#document":return e.body}var t=Fe(e),n=t.overflow,r=t.overflowX,o=t.overflowY;return/(auto|scroll|overlay)/.test(n+o+r)?e:at(Kt(e))}function Cr(e){return e&&e.referenceNode?e.referenceNode:e}function qe(e){return e===11?Vn:e===10?Kn:Vn||Kn}function He(e){if(!e)return document.documentElement;for(var t=qe(10)?document.body:null,n=e.offsetParent||null;n===t&&e.nextElementSibling;)n=(e=e.nextElementSibling).offsetParent;var r=n&&n.nodeName;return!r||r==="BODY"||r==="HTML"?e?e.ownerDocument.documentElement:document.documentElement:["TH","TD","TABLE"].indexOf(n.nodeName)!==-1&&Fe(n,"position")==="static"?He(n):n}function oi(e){var t=e.nodeName;return t==="BODY"?!1:t==="HTML"||He(e.firstElementChild)===e}function Ut(e){return e.parentNode!==null?Ut(e.parentNode):e}function wt(e,t){if(!e||!e.nodeType||!t||!t.nodeType)return document.documentElement;var n=e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_FOLLOWING,r=n?e:t,o=n?t:e,i=document.createRange();i.setStart(r,0),i.setEnd(o,0);var a=i.commonAncestorContainer;if(e!==a&&t!==a||r.contains(o))return oi(a)?a:He(a);var s=Ut(e);return s.host?wt(s.host,t):wt(e,Ut(t).host)}function ze(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"top",n=t==="top"?"scrollTop":"scrollLeft",r=e.nodeName;if(r==="BODY"||r==="HTML"){var o=e.ownerDocument.documentElement,i=e.ownerDocument.scrollingElement||o;return i[n]}return e[n]}function ii(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,r=ze(t,"top"),o=ze(t,"left"),i=n?-1:1;return e.top+=r*i,e.bottom+=r*i,e.left+=o*i,e.right+=o*i,e}function Jn(e,t){var n=t==="x"?"Left":"Top",r=n==="Left"?"Right":"Bottom";return parseFloat(e["border"+n+"Width"])+parseFloat(e["border"+r+"Width"])}function Xn(e,t,n,r){return Math.max(t["offset"+e],t["scroll"+e],n["client"+e],n["offset"+e],n["scroll"+e],qe(10)?parseInt(n["offset"+e])+parseInt(r["margin"+(e==="Height"?"Top":"Left")])+parseInt(r["margin"+(e==="Height"?"Bottom":"Right")]):0)}function Pr(e){var t=e.body,n=e.documentElement,r=qe(10)&&getComputedStyle(n);return{height:Xn("Height",t,n,r),width:Xn("Width",t,n,r)}}function xe(e){return se({},e,{right:e.left+e.width,bottom:e.top+e.height})}function Ht(e){var t={};try{if(qe(10)){t=e.getBoundingClientRect();var n=ze(e,"top"),r=ze(e,"left");t.top+=n,t.left+=r,t.bottom+=n,t.right+=r}else t=e.getBoundingClientRect()}catch{}var o={left:t.left,top:t.top,width:t.right-t.left,height:t.bottom-t.top},i=e.nodeName==="HTML"?Pr(e.ownerDocument):{},a=i.width||e.clientWidth||o.width,s=i.height||e.clientHeight||o.height,c=e.offsetWidth-a,l=e.offsetHeight-s;if(c||l){var p=Fe(e);c-=Jn(p,"x"),l-=Jn(p,"y"),o.width-=c,o.height-=l}return xe(o)}function Jt(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,r=qe(10),o=t.nodeName==="HTML",i=Ht(e),a=Ht(t),s=at(e),c=Fe(t),l=parseFloat(c.borderTopWidth),p=parseFloat(c.borderLeftWidth);n&&o&&(a.top=Math.max(a.top,0),a.left=Math.max(a.left,0));var u=xe({top:i.top-a.top-l,left:i.left-a.left-p,width:i.width,height:i.height});if(u.marginTop=0,u.marginLeft=0,!r&&o){var d=parseFloat(c.marginTop),f=parseFloat(c.marginLeft);u.top-=l-d,u.bottom-=l-d,u.left-=p-f,u.right-=p-f,u.marginTop=d,u.marginLeft=f}return(r&&!n?t.contains(s):t===s&&s.nodeName!=="BODY")&&(u=ii(u,t)),u}function li(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,n=e.ownerDocument.documentElement,r=Jt(e,n),o=Math.max(n.clientWidth,window.innerWidth||0),i=Math.max(n.clientHeight,window.innerHeight||0),a=t?0:ze(n),s=t?0:ze(n,"left"),c={top:a-r.top+r.marginTop,left:s-r.left+r.marginLeft,width:o,height:i};return xe(c)}function _r(e){var t=e.nodeName;if(t==="BODY"||t==="HTML")return!1;if(Fe(e,"position")==="fixed")return!0;var n=Kt(e);return n?_r(n):!1}function xr(e){if(!e||!e.parentElement||qe())return document.documentElement;for(var t=e.parentElement;t&&Fe(t,"transform")==="none";)t=t.parentElement;return t||document.documentElement}function Xt(e,t,n,r){var o=arguments.length>4&&arguments[4]!==void 0?arguments[4]:!1,i={top:0,left:0},a=o?xr(e):wt(e,Cr(t));if(r==="viewport")i=li(a,o);else{var s=void 0;r==="scrollParent"?(s=at(Kt(t)),s.nodeName==="BODY"&&(s=e.ownerDocument.documentElement)):r==="window"?s=e.ownerDocument.documentElement:s=r;var c=Jt(s,a,o);if(s.nodeName==="HTML"&&!_r(a)){var l=Pr(e.ownerDocument),p=l.height,u=l.width;i.top+=c.top-c.marginTop,i.bottom=p+c.top,i.left+=c.left-c.marginLeft,i.right=u+c.left}else i=c}n=n||0;var d=typeof n=="number";return i.left+=d?n:n.left||0,i.top+=d?n:n.top||0,i.right-=d?n:n.right||0,i.bottom-=d?n:n.bottom||0,i}function ci(e){var t=e.width,n=e.height;return t*n}function Ar(e,t,n,r,o){var i=arguments.length>5&&arguments[5]!==void 0?arguments[5]:0;if(e.indexOf("auto")===-1)return e;var a=Xt(n,r,i,o),s={top:{width:a.width,height:t.top-a.top},right:{width:a.right-t.right,height:a.height},bottom:{width:a.width,height:a.bottom-t.bottom},left:{width:t.left-a.left,height:a.height}},c=Object.keys(s).map(function(d){return se({key:d},s[d],{area:ci(s[d])})}).sort(function(d,f){return f.area-d.area}),l=c.filter(function(d){var f=d.width,h=d.height;return f>=n.clientWidth&&h>=n.clientHeight}),p=l.length>0?l[0].key:c[0].key,u=e.split("-")[1];return p+(u?"-"+u:"")}function Nr(e,t,n){var r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null,o=r?xr(t):wt(t,Cr(n));return Jt(n,o,r)}function kr(e){var t=e.ownerDocument.defaultView,n=t.getComputedStyle(e),r=parseFloat(n.marginTop||0)+parseFloat(n.marginBottom||0),o=parseFloat(n.marginLeft||0)+parseFloat(n.marginRight||0),i={width:e.offsetWidth+o,height:e.offsetHeight+r};return i}function Tt(e){var t={left:"right",right:"left",bottom:"top",top:"bottom"};return e.replace(/left|right|bottom|top/g,function(n){return t[n]})}function Lr(e,t,n){n=n.split("-")[0];var r=kr(e),o={width:r.width,height:r.height},i=["right","left"].indexOf(n)!==-1,a=i?"top":"left",s=i?"left":"top",c=i?"height":"width",l=i?"width":"height";return o[a]=t[a]+t[c]/2-r[c]/2,n===s?o[s]=t[s]-r[l]:o[s]=t[Tt(s)],o}function st(e,t){return Array.prototype.find?e.find(t):e.filter(t)[0]}function ui(e,t,n){if(Array.prototype.findIndex)return e.findIndex(function(o){return o[t]===n});var r=st(e,function(o){return o[t]===n});return e.indexOf(r)}function Mr(e,t,n){var r=n===void 0?e:e.slice(0,ui(e,"name",n));return r.forEach(function(o){o.function&&console.warn("`modifier.function` is deprecated, use `modifier.fn`!");var i=o.function||o.fn;o.enabled&&Rr(i)&&(t.offsets.popper=xe(t.offsets.popper),t.offsets.reference=xe(t.offsets.reference),t=i(t,o))}),t}function pi(){if(!this.state.isDestroyed){var e={instance:this,styles:{},arrowStyles:{},attributes:{},flipped:!1,offsets:{}};e.offsets.reference=Nr(this.state,this.popper,this.reference,this.options.positionFixed),e.placement=Ar(this.options.placement,e.offsets.reference,this.popper,this.reference,this.options.modifiers.flip.boundariesElement,this.options.modifiers.flip.padding),e.originalPlacement=e.placement,e.positionFixed=this.options.positionFixed,e.offsets.popper=Lr(this.popper,e.offsets.reference,e.placement),e.offsets.popper.position=this.options.positionFixed?"fixed":"absolute",e=Mr(this.modifiers,e),this.state.isCreated?this.options.onUpdate(e):(this.state.isCreated=!0,this.options.onCreate(e))}}function jr(e,t){return e.some(function(n){var r=n.name,o=n.enabled;return o&&r===t})}function Qt(e){for(var t=[!1,"ms","Webkit","Moz","O"],n=e.charAt(0).toUpperCase()+e.slice(1),r=0;ra[f]&&(e.offsets.popper[u]+=s[u]+h-a[f]),e.offsets.popper=xe(e.offsets.popper);var b=s[u]+s[l]/2-h/2,N=Fe(e.instance.popper),v=parseFloat(N["margin"+p]),T=parseFloat(N["border"+p+"Width"]),m=b-e.offsets.popper[u]-v-T;return m=Math.max(Math.min(a[l]-h,m),0),e.arrowElement=r,e.offsets.arrow=(n={},Ge(n,u,Math.round(m)),Ge(n,d,""),n),e}function Ti(e){return e==="end"?"start":e==="start"?"end":e}function Qn(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,n=Ft.indexOf(e),r=Ft.slice(n+1).concat(Ft.slice(0,n));return t?r.reverse():r}function Ii(e,t){if(jr(e.instance.modifiers,"inner")||e.flipped&&e.placement===e.originalPlacement)return e;var n=Xt(e.instance.popper,e.instance.reference,t.padding,t.boundariesElement,e.positionFixed),r=e.placement.split("-")[0],o=Tt(r),i=e.placement.split("-")[1]||"",a=[];switch(t.behavior){case Bt.FLIP:a=[r,o];break;case Bt.CLOCKWISE:a=Qn(r);break;case Bt.COUNTERCLOCKWISE:a=Qn(r,!0);break;default:a=t.behavior}return a.forEach(function(s,c){if(r!==s||a.length===c+1)return e;r=e.placement.split("-")[0],o=Tt(r);var l=e.offsets.popper,p=e.offsets.reference,u=Math.floor,d=r==="left"&&u(l.right)>u(p.left)||r==="right"&&u(l.left)u(p.top)||r==="bottom"&&u(l.top)u(n.right),b=u(l.top)u(n.bottom),v=r==="left"&&f||r==="right"&&h||r==="top"&&b||r==="bottom"&&N,T=["top","bottom"].indexOf(r)!==-1,m=!!t.flipVariations&&(T&&i==="start"&&f||T&&i==="end"&&h||!T&&i==="start"&&b||!T&&i==="end"&&N),g=!!t.flipVariationsByContent&&(T&&i==="start"&&h||T&&i==="end"&&f||!T&&i==="start"&&N||!T&&i==="end"&&b),O=m||g;(d||v||O)&&(e.flipped=!0,(d||v)&&(r=a[c+1]),O&&(i=Ti(i)),e.placement=r+(i?"-"+i:""),e.offsets.popper=se({},e.offsets.popper,Lr(e.instance.popper,e.offsets.reference,e.placement)),e=Mr(e.instance.modifiers,e,"flip"))}),e}function Ri(e){var t=e.offsets,n=t.popper,r=t.reference,o=e.placement.split("-")[0],i=Math.floor,a=["top","bottom"].indexOf(o)!==-1,s=a?"right":"bottom",c=a?"left":"top",l=a?"width":"height";return n[s]i(r[s])&&(e.offsets.popper[c]=i(r[s])),e}function Ci(e,t,n,r){var o=e.match(/((?:\-|\+)?\d*\.?\d*)(.*)/),i=+o[1],a=o[2];if(!i)return e;if(a.indexOf("%")===0){var s=void 0;switch(a){case"%p":s=n;break;case"%":case"%r":default:s=r}var c=xe(s);return c[t]/100*i}else if(a==="vh"||a==="vw"){var l=void 0;return a==="vh"?l=Math.max(document.documentElement.clientHeight,window.innerHeight||0):l=Math.max(document.documentElement.clientWidth,window.innerWidth||0),l/100*i}else return i}function Pi(e,t,n,r){var o=[0,0],i=["right","left"].indexOf(r)!==-1,a=e.split(/(\+|\-)/).map(function(p){return p.trim()}),s=a.indexOf(st(a,function(p){return p.search(/,|\s/)!==-1}));a[s]&&a[s].indexOf(",")===-1&&console.warn("Offsets separated by white space(s) are deprecated, use a comma (,) instead.");var c=/\s*,\s*|\s+/,l=s!==-1?[a.slice(0,s).concat([a[s].split(c)[0]]),[a[s].split(c)[1]].concat(a.slice(s+1))]:[a];return l=l.map(function(p,u){var d=(u===1?!i:i)?"height":"width",f=!1;return p.reduce(function(h,b){return h[h.length-1]===""&&["+","-"].indexOf(b)!==-1?(h[h.length-1]=b,f=!0,h):f?(h[h.length-1]+=b,f=!1,h):h.concat(b)},[]).map(function(h){return Ci(h,d,t,n)})}),l.forEach(function(p,u){p.forEach(function(d,f){Zt(d)&&(o[u]+=d*(p[f-1]==="-"?-1:1))})}),o}function _i(e,t){var n=t.offset,r=e.placement,o=e.offsets,i=o.popper,a=o.reference,s=r.split("-")[0],c=void 0;return Zt(+n)?c=[+n,0]:c=Pi(n,i,a,s),s==="left"?(i.top+=c[0],i.left-=c[1]):s==="right"?(i.top+=c[0],i.left+=c[1]):s==="top"?(i.left+=c[0],i.top-=c[1]):s==="bottom"&&(i.left+=c[0],i.top+=c[1]),e.popper=i,e}function xi(e,t){var n=t.boundariesElement||He(e.instance.popper);e.instance.reference===n&&(n=He(n));var r=Qt("transform"),o=e.instance.popper.style,i=o.top,a=o.left,s=o[r];o.top="",o.left="",o[r]="";var c=Xt(e.instance.popper,e.instance.reference,t.padding,n,e.positionFixed);o.top=i,o.left=a,o[r]=s,t.boundaries=c;var l=t.priority,p=e.offsets.popper,u={primary:function(d){var f=p[d];return p[d]c[d]&&!t.escapeWithReference&&(h=Math.min(p[f],c[d]-(d==="right"?p.width:p.height))),Ge({},f,h)}};return l.forEach(function(d){var f=["left","top"].indexOf(d)!==-1?"primary":"secondary";p=se({},p,u[f](d))}),e.offsets.popper=p,e}function Ai(e){var t=e.placement,n=t.split("-")[0],r=t.split("-")[1];if(r){var o=e.offsets,i=o.reference,a=o.popper,s=["bottom","top"].indexOf(n)!==-1,c=s?"left":"top",l=s?"width":"height",p={start:Ge({},c,i[c]),end:Ge({},c,i[c]+i[l]-a[l])};e.offsets.popper=se({},a,p[r])}return e}function Ni(e){if(!Br(e.instance.modifiers,"hide","preventOverflow"))return e;var t=e.offsets.reference,n=st(e.instance.modifiers,function(r){return r.name==="preventOverflow"}).boundaries;if(t.bottomn.right||t.top>n.bottom||t.rightc);return A.undefined(r)||(l=l&&c===r),A.undefined(i)||(l=l&&s===i),l}function rr(e,t,n){var r=n.key,o=n.type,i=n.value,a=Se(e,r),s=Se(t,r),c=o==="added"?a:s,l=o==="added"?s:a;if(!A.nullOrUndefined(i)){if(A.defined(c)){if(A.array(c)||A.plainObject(c))return Ki(c,l,i)}else return ie(l,i);return!1}return[a,s].every(A.array)?!l.every(en(c)):[a,s].every(A.plainObject)?Ji(Object.keys(c),Object.keys(l)):![a,s].every(function(p){return A.primitive(p)&&A.defined(p)})&&(o==="added"?!A.defined(a)&&A.defined(s):A.defined(a)&&!A.defined(s))}function or(e,t,n){var r=n===void 0?{}:n,o=r.key,i=Se(e,o),a=Se(t,o);if(!Hr(i,a))throw new TypeError("Inputs have different types");if(!Vi(i,a))throw new TypeError("Inputs don't have length");return[i,a].every(A.plainObject)&&(i=Object.keys(i),a=Object.keys(a)),[i,a]}function ir(e){return function(t){var n=t[0],r=t[1];return A.array(e)?ie(e,r)||e.some(function(o){return ie(o,r)||A.array(r)&&en(r)(o)}):A.plainObject(e)&&e[n]?!!e[n]&&ie(e[n],r):ie(e,r)}}function Ji(e,t){return t.some(function(n){return!e.includes(n)})}function ar(e){return function(t){return A.array(e)?e.some(function(n){return ie(n,t)||A.array(t)&&en(t)(n)}):ie(e,t)}}function Ze(e,t){return A.array(e)?e.some(function(n){return ie(n,t)}):ie(e,t)}function en(e){return function(t){return e.some(function(n){return ie(n,t)})}}function Hr(){for(var e=[],t=0;t"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function Zi(e,t){if(e==null)return{};var n={},r=Object.keys(e),o,i;for(i=0;i=0)&&(n[o]=e[o]);return n}function zr(e,t){if(e==null)return{};var n=Zi(e,t),r,o;if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(o=0;o=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function we(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ea(e,t){if(t&&(typeof t=="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return we(e)}function pt(e){var t=Qi();return function(){var n=It(e),r;if(t){var o=It(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return ea(this,r)}}function ta(e,t){if(typeof e!="object"||e===null)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||"default");if(typeof r!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function Gr(e){var t=ta(e,"string");return typeof t=="symbol"?t:String(t)}function ia(e,t,n,r){return typeof e=="boolean"?e:typeof e=="function"?e(t,n,r):e?!!e:!1}function aa(e,t){return Object.hasOwnProperty.call(e,t)}function sa(e,t,n,r){return r?new Error(r):new Error("Required ".concat(e[t]," `").concat(t,"` was not specified in `").concat(n,"`."))}function la(e,t){if(typeof e!="function")throw new TypeError(ra);if(t&&typeof t!="string")throw new TypeError(oa)}function cr(e,t,n){return la(e,n),function(r,o,i){for(var a=arguments.length,s=new Array(a>3?a-3:0),c=3;c3&&arguments[3]!==void 0?arguments[3]:!1;e.addEventListener(t,n,r)}function ua(e,t,n){var r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1;e.removeEventListener(t,n,r)}function pa(e,t,n){var r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1,o;o=function(i){n(i),ua(e,t,o)},ca(e,t,o,r)}function ur(){}function $r(e){var t=e.handleClick,n=e.styles,r=n.color,o=n.height,i=n.width,a=zr(n,da);return y.createElement("button",{"aria-label":"close",onClick:t,style:a,type:"button"},y.createElement("svg",{width:"".concat(i,"px"),height:"".concat(o,"px"),viewBox:"0 0 18 18",version:"1.1",xmlns:"http://www.w3.org/2000/svg",preserveAspectRatio:"xMidYMid"},y.createElement("g",null,y.createElement("path",{d:"M8.13911129,9.00268191 L0.171521827,17.0258467 C-0.0498027049,17.248715 -0.0498027049,17.6098394 0.171521827,17.8327545 C0.28204354,17.9443526 0.427188206,17.9998706 0.572051765,17.9998706 C0.71714958,17.9998706 0.862013139,17.9443526 0.972581703,17.8327545 L9.0000937,9.74924618 L17.0276057,17.8327545 C17.1384085,17.9443526 17.2832721,17.9998706 17.4281356,17.9998706 C17.5729992,17.9998706 17.718097,17.9443526 17.8286656,17.8327545 C18.0499901,17.6098862 18.0499901,17.2487618 17.8286656,17.0258467 L9.86135722,9.00268191 L17.8340066,0.973848225 C18.0553311,0.750979934 18.0553311,0.389855532 17.8340066,0.16694039 C17.6126821,-0.0556467968 17.254037,-0.0556467968 17.0329467,0.16694039 L9.00042166,8.25611765 L0.967006424,0.167268345 C0.745681892,-0.0553188426 0.387317931,-0.0553188426 0.165993399,0.167268345 C-0.0553311331,0.390136635 -0.0553311331,0.751261038 0.165993399,0.974176179 L8.13920499,9.00268191 L8.13911129,9.00268191 Z",fill:r}))))}function Vr(e){var t=e.content,n=e.footer,r=e.handleClick,o=e.open,i=e.positionWrapper,a=e.showCloseButton,s=e.title,c=e.styles,l={content:y.isValidElement(t)?t:y.createElement("div",{className:"__floater__content",style:c.content},t)};return s&&(l.title=y.isValidElement(s)?s:y.createElement("div",{className:"__floater__title",style:c.title},s)),n&&(l.footer=y.isValidElement(n)?n:y.createElement("div",{className:"__floater__footer",style:c.footer},n)),(a||i)&&!A.boolean(o)&&(l.close=y.createElement($r,{styles:c.close,handleClick:r})),y.createElement("div",{className:"__floater__container",style:c.container},l.close,l.title,l.content,l.footer)}function ha(e){var t=(0,Gt.default)(fa,e.options||{});return{wrapper:{cursor:"help",display:"inline-flex",flexDirection:"column",zIndex:t.zIndex},wrapperPosition:{left:-1e3,position:"absolute",top:-1e3,visibility:"hidden"},floater:{display:"inline-block",filter:"drop-shadow(0 0 3px rgba(0, 0, 0, 0.3))",maxWidth:300,opacity:0,position:"relative",transition:"opacity 0.3s",visibility:"hidden",zIndex:t.zIndex},floaterOpening:{opacity:1,visibility:"visible"},floaterWithAnimation:{opacity:1,transition:"opacity 0.3s, transform 0.2s",visibility:"visible"},floaterWithComponent:{maxWidth:"100%"},floaterClosing:{opacity:0,visibility:"visible"},floaterCentered:{left:"50%",position:"fixed",top:"50%",transform:"translate(-50%, -50%)"},container:{backgroundColor:"#fff",color:"#666",minHeight:60,minWidth:200,padding:20,position:"relative",zIndex:10},title:{borderBottom:"1px solid #555",color:"#555",fontSize:18,marginBottom:5,paddingBottom:6,paddingRight:18},content:{fontSize:15},close:{backgroundColor:"transparent",border:0,borderRadius:0,color:"#555",fontSize:0,height:15,outline:"none",padding:10,position:"absolute",right:0,top:0,width:15,WebkitAppearance:"none"},footer:{borderTop:"1px solid #ccc",fontSize:13,marginTop:10,paddingTop:5},arrow:{color:"#fff",display:"inline-flex",length:16,margin:8,position:"absolute",spread:32},options:t}}function Ce(){return!!(typeof window<"u"&&window.document&&window.document.createElement)}function Xr(e){return e?e.getBoundingClientRect():null}function Ea(e=!0){let{body:t,documentElement:n}=document;if(!t||!n)return 0;if(e){let r=[t.scrollHeight,t.offsetHeight,n.clientHeight,n.scrollHeight,n.offsetHeight].sort((i,a)=>i-a),o=Math.floor(r.length/2);return r.length%2===0?(r[o-1]+r[o])/2:r[o]}return Math.max(t.scrollHeight,t.offsetHeight,n.clientHeight,n.scrollHeight,n.offsetHeight)}function _e(e){return typeof e=="string"?document.querySelector(e):e}function Sa(e){return!e||e.nodeType!==1?null:getComputedStyle(e)}function _t(e,t,n){if(!e)return je();let r=(0,Ir.default)(e);if(r){if(r.isSameNode(je()))return n?document:je();if(!(r.scrollHeight>r.offsetHeight)&&!t)return r.style.overflow="initial",je()}return r}function dt(e,t){if(!e)return!1;let n=_t(e,t);return n?!n.isSameNode(je()):!1}function Oa(e){return e.offsetParent!==document.body}function ot(e,t="fixed"){if(!e||!(e instanceof HTMLElement))return!1;let{nodeName:n}=e,r=Sa(e);return n==="BODY"||n==="HTML"?!1:r&&r.position===t?!0:e.parentNode?ot(e.parentNode,t):!1}function wa(e){var t;if(!e)return!1;let n=e;for(;n&&n!==document.body;){if(n instanceof HTMLElement){let{display:r,visibility:o}=getComputedStyle(n);if(r==="none"||o==="hidden")return!1}n=(t=n.parentElement)!=null?t:null}return!0}function Ta(e,t,n){var r;let o=Xr(e),i=_t(e,n),a=dt(e,n),s=0,c=(r=o?.top)!=null?r:0;return i instanceof HTMLElement&&(s=i.scrollTop,!a&&!ot(e)&&(c+=s),i.isSameNode(je())||(c+=je().scrollTop)),Math.floor(c-t)}function Ia(e,t,n){var r;if(!e)return 0;let{offsetTop:o=0,scrollTop:i=0}=(r=(0,Ir.default)(e))!=null?r:{},a=e.getBoundingClientRect().top+i;o&&(dt(e,n)||Oa(e))&&(a-=o);let s=Math.floor(a-t);return s<0?0:s}function je(){var e;return(e=document.scrollingElement)!=null?e:document.documentElement}function Ra(e,t){let{duration:n,element:r}=t;return new Promise((o,i)=>{let{scrollTop:a}=r,s=e>a?e-a:a-e;Qo.default.top(r,e,{duration:s<100?50:n},c=>c&&c.message!=="Element already at target scroll position"?i(c):o())})}function Qr(e=navigator.userAgent){let t=e;return typeof window>"u"?t="node":document.documentMode?t="ie":/Edge/.test(e)?t="edge":window.opera||e.includes(" OPR/")?t="opera":typeof window.InstallTrigger<"u"?t="firefox":window.chrome?t="chrome":/(Version\/([\d._]+).*Safari|CriOS|FxiOS| Mobile\/)/.test(e)&&(t="safari"),t}function Pe(e){let t=[],n=r=>{if(typeof r=="string"||typeof r=="number")t.push(r);else if(Array.isArray(r))r.forEach(o=>n(o));else if(an(r)){let{children:o}=r.props;Array.isArray(o)?o.forEach(i=>n(i)):n(o)}};return n(e),t.join(" ").trim()}function Ca(e,t){return!C.plainObject(e)||!C.array(t)?!1:Object.keys(e).every(n=>t.includes(n))}function Pa(e){let t=/^#?([\da-f])([\da-f])([\da-f])$/i,n=e.replace(t,(o,i,a,s)=>i+i+a+a+s+s),r=/^#?([\da-f]{2})([\da-f]{2})([\da-f]{2})$/i.exec(n);return r?[parseInt(r[1],16),parseInt(r[2],16),parseInt(r[3],16)]:[]}function pr(e){return e.disableBeacon||e.placement==="center"}function dr(){return!["chrome","safari","firefox","opera"].includes(Qr())}function Ae({data:e,debug:t=!1,title:n,warn:r=!1}){let o=r?console.warn||console.error:console.log;t&&(n&&e?(console.groupCollapsed(`%creact-joyride: ${n}`,"color: #ff0044; font-weight: bold; font-size: 12px;"),Array.isArray(e)?e.forEach(i=>{C.plainObject(i)&&i.key?o.apply(console,[i.key,i.value]):o.apply(console,[i])}):o.apply(console,[e]),console.groupEnd()):console.error("Missing title or data props"))}function _a(e){return Object.keys(e)}function Zr(e,...t){if(!C.plainObject(e))throw new TypeError("Expected an object");let n={};for(let r in e)({}).hasOwnProperty.call(e,r)&&(t.includes(r)||(n[r]=e[r]));return n}function xa(e,...t){if(!C.plainObject(e))throw new TypeError("Expected an object");if(!t.length)return e;let n={};for(let r in e)({}).hasOwnProperty.call(e,r)&&t.includes(r)&&(n[r]=e[r]);return n}function Aa(e){let{isFirstStep:t,lifecycle:n,previousLifecycle:r,scrollToFirstStep:o,step:i,target:a}=e;return!i.disableScrolling&&(!t||o||n===k.TOOLTIP)&&i.placement!=="center"&&(!i.isFixed||!ot(a))&&r!==n&&[k.BEACON,k.TOOLTIP].includes(n)}function ja(e,t){var n,r,o,i,a;let{floaterProps:s,styles:c}=e,l=(0,Et.default)((n=t.floaterProps)!=null?n:{},s??{}),p=(0,Et.default)(c??{},(r=t.styles)!=null?r:{}),u=(0,Et.default)(Ma,p.options||{}),d=t.placement==="center"||t.disableBeacon,{width:f}=u;window.innerWidth>480&&(f=380),"width"in u&&(f=typeof u.width=="number"&&window.innerWidthto(n,t)):(Ae({title:"validateSteps",data:"steps must be an array",warn:!0,debug:t}),!1)}function Ba(e){return new Fa(e)}function Wa({styles:e}){return q("div",{key:"JoyrideSpotlight",className:"react-joyride__spotlight","data-test-id":"spotlight",style:e})}function qa({styles:e,...t}){let{color:n,height:r,width:o,...i}=e;return y.createElement("button",{style:i,type:"button",...t},y.createElement("svg",{height:typeof r=="number"?`${r}px`:r,preserveAspectRatio:"xMidYMid",version:"1.1",viewBox:"0 0 18 18",width:typeof o=="number"?`${o}px`:o,xmlns:"http://www.w3.org/2000/svg"},y.createElement("g",null,y.createElement("path",{d:"M8.13911129,9.00268191 L0.171521827,17.0258467 C-0.0498027049,17.248715 -0.0498027049,17.6098394 0.171521827,17.8327545 C0.28204354,17.9443526 0.427188206,17.9998706 0.572051765,17.9998706 C0.71714958,17.9998706 0.862013139,17.9443526 0.972581703,17.8327545 L9.0000937,9.74924618 L17.0276057,17.8327545 C17.1384085,17.9443526 17.2832721,17.9998706 17.4281356,17.9998706 C17.5729992,17.9998706 17.718097,17.9443526 17.8286656,17.8327545 C18.0499901,17.6098862 18.0499901,17.2487618 17.8286656,17.0258467 L9.86135722,9.00268191 L17.8340066,0.973848225 C18.0553311,0.750979934 18.0553311,0.389855532 17.8340066,0.16694039 C17.6126821,-0.0556467968 17.254037,-0.0556467968 17.0329467,0.16694039 L9.00042166,8.25611765 L0.967006424,0.167268345 C0.745681892,-0.0553188426 0.387317931,-0.0553188426 0.165993399,0.167268345 C-0.0553311331,0.390136635 -0.0553311331,0.751261038 0.165993399,0.974176179 L8.13920499,9.00268191 L8.13911129,9.00268191 Z",fill:n}))))}function Va(e){let{backProps:t,closeProps:n,continuous:r,index:o,isLastStep:i,primaryProps:a,size:s,skipProps:c,step:l,tooltipProps:p}=e,{content:u,hideBackButton:d,hideCloseButton:f,hideFooter:h,locale:b,showProgress:N,showSkipButton:v,styles:T,title:m}=l,{back:g,close:O,last:B,next:P,skip:V}=b,H={primary:O};return r&&(H.primary=i?B:P,N&&(H.primary=q("span",null,H.primary," (",o+1,"/",s,")"))),H.primary&&(H.primary=q("button",{"data-test-id":"button-primary",style:T.buttonNext,type:"button",...a},H.primary)),v&&!i&&(H.skip=q("button",{"aria-live":"off","data-test-id":"button-skip",style:T.buttonSkip,type:"button",...c},V)),!d&&o>0&&(H.back=q("button",{"data-test-id":"button-back",style:T.buttonBack,type:"button",...t},g)),H.close=!f&&q($a,{"data-test-id":"button-close",styles:T.buttonClose,...n}),q("div",{key:"JoyrideTooltip","aria-label":Pe(m)||Pe(u),className:"react-joyride__tooltip",style:T.tooltip,...p},q("div",{style:T.tooltipContainer},m&&q("h1",{"aria-label":Pe(m),style:T.tooltipTitle},m),q("div",{style:T.tooltipContent},u)),!h&&q("div",{style:T.tooltipFooter},q("div",{style:T.tooltipFooterSpacer},H.skip),H.back,H.primary),H.close)}function cs({step:e,steps:t,onClose:n,onComplete:r}){let[o,i]=ue(null),a=bn();return ae(()=>{let s;return i(c=>{let l=t.findIndex(({key:p})=>p===e);return l===-1?null:l===c?c:(s=setTimeout(i,500,l),null)}),()=>clearTimeout(s)},[e,t]),o===null?null:y.createElement(Qa,{continuous:!0,steps:t,stepIndex:o,spotlightPadding:0,disableCloseOnEsc:!0,disableOverlayClose:!0,disableScrolling:!0,callback:s=>{s.action===$.CLOSE&&n(),s.action===$.NEXT&&s.index===s.size-1&&r()},floaterProps:{disableAnimation:!0,styles:{arrow:{length:20,spread:2},floater:{filter:a.base==="light"?"drop-shadow(0px 5px 5px rgba(0,0,0,0.05)) drop-shadow(0 1px 3px rgba(0,0,0,0.1))":"drop-shadow(#fff5 0px 0px 0.5px) drop-shadow(#fff5 0px 0px 0.5px)"}}},tooltipComponent:ls,styles:{overlay:{mixBlendMode:"unset",backgroundColor:t[o]?.target==="body"?"rgba(27, 28, 29, 0.2)":"none"},spotlight:{backgroundColor:"none",border:`solid 2px ${a.color.secondary}`,boxShadow:"0px 0px 0px 9999px rgba(27, 28, 29, 0.2)"},tooltip:{width:280,color:a.color.lightest,background:a.color.secondary},options:{zIndex:9998,primaryColor:a.color.secondary,arrowColor:a.color.secondary}}})}function ws({api:e}){let[t,n]=ue(!0),[r,o]=ue(!1),[i,a]=ue("1:Intro"),[s,c]=ue(),[l,p]=ue(),[u,d]=ue(),[f,h]=ue(),b=Je(P=>{try{let{id:V,refId:H}=e.getCurrentStoryData()||{};(V!==P||H!==void 0)&&e.selectStory(P)}catch{}},[e]),N=Je(()=>{let P=new URL(window.location.href),V=decodeURIComponent(P.searchParams.get("path"));P.search=`?path=${V}&onboarding=false`,history.replaceState({},"",P.href),e.setQueryParams({onboarding:"false"}),n(!1)},[e,n]),v=Je(()=>{e.emit(Wn,{step:"6:FinishedOnboarding",type:"telemetry"}),b("configure-your-project--docs"),N()},[e,b,N]);if(ae(()=>{e.setQueryParams({onboarding:"true"}),b("example-button--primary"),e.togglePanel(!0),e.togglePanelPosition("bottom"),e.setSelectedPanel("addon-controls")},[e,b]),ae(()=>{let P=new MutationObserver(()=>{c(document.getElementById("control-primary")),p(document.getElementById("save-from-controls")),d(document.getElementById("create-new-story-form"))});return P.observe(document.body,{childList:!0,subtree:!0}),()=>P.disconnect()},[]),ae(()=>{a(P=>["1:Intro","5:StoryCreated","6:FinishedOnboarding"].includes(P)?P:u?"4:CreateStory":l?"3:SaveFromControls":s?"2:Controls":"1:Intro")},[u,s,l]),ae(()=>e.on(un,({payload:P,success:V})=>{!V||!P?.newStoryName||(h(P),o(!0),a("5:StoryCreated"),setTimeout(()=>e.clearNotification("save-story-success")))}),[e]),ae(()=>e.emit(Wn,{step:i,type:"telemetry"}),[e,i]),!t)return null;let T=f?.sourceFileContent,m=T?.lastIndexOf(`export const ${f?.newStoryExportName}`),g=T?.slice(m).trim(),O=T?.slice(0,m).split(` -`).length,B=[{key:"2:Controls",target:"#control-primary",title:"Interactive story playground",content:y.createElement(y.Fragment,null,"See how a story renders with different data and state without touching code. Try it out by toggling this button.",y.createElement(Bn,{targetSelector:"#control-primary",pulsating:!0})),offset:20,placement:"right",disableBeacon:!0,disableOverlay:!0,spotlightClicks:!0,onNextButtonClick:()=>{document.querySelector("#control-primary").click()}},{key:"3:SaveFromControls",target:'button[aria-label="Create new story with these settings"]',title:"Save your changes as a new story",content:y.createElement(y.Fragment,null,"Great! Storybook stories represent the key states of each of your components. After modifying a story, you can save your changes from here or reset it.",y.createElement(Bn,{targetSelector:"button[aria-label='Create new story with these settings']"})),offset:6,placement:"top",disableBeacon:!0,disableOverlay:!0,spotlightClicks:!0,onNextButtonClick:()=>{document.querySelector('button[aria-label="Create new story with these settings"]').click()},styles:{tooltip:{width:400}}},{key:"5:StoryCreated",target:'#storybook-explorer-tree [data-selected="true"]',title:"You just added your first story!",content:y.createElement(y.Fragment,null,"Well done! You just created your first story from the Storybook manager. This automatically added a few lines of code in"," ",y.createElement(Es,null,f?.sourceFileName),".",g&&y.createElement(kt,{theme:Lt(gn.dark)},y.createElement(Ss,null,y.createElement(mn,{language:"jsx",showLineNumbers:!0,startingLineNumber:O},g)))),offset:12,placement:"right",disableBeacon:!0,disableOverlay:!0,styles:{tooltip:{width:400}}}];return y.createElement(kt,{theme:Os},r&&y.createElement(jo,null),i==="1:Intro"?y.createElement(vs,{onDismiss:()=>a("2:Controls")}):y.createElement(cs,{step:i,steps:B,onClose:N,onComplete:v}))}var po,gr,fo,br,ho,mo,le,yo,De,go,bo,$t,vo,vr,Eo,Er,Sr,So,Oo,wo,To,Io,wn,Ro,Tn,In,Rn,Cn,Pn,_n,xn,An,Nn,kn,Ln,Po,_o,xo,Mn,bt,be,rt,Ao,Mt,jt,jn,We,Dt,Dn,Or,Fn,No,ko,Mo,jo,Wn,Do,Fo,Un,Hn,Bo,Go,Yo,Vo,C,Qo,Ir,vt,Et,S,it,Zo,ni,ri,Vn,Kn,ai,si,Ge,se,Si,Wr,Ft,Bt,Li,Mi,Ct,Zn,Gt,ji,Di,Fi,A,Ui,Hi,er,tr,zi,Yt,na,ra,oa,U,et,Yr,qr,da,Kr,Jr,fa,ma,ya,tn,ga,ba,va,_,$,pe,k,j,tt,Na,eo,ka,La,Ma,nt,fr,no,mr,Fa,Ua,Ha,za,Ga,Ya,$a,Ka,Ja,Xa,ro,Qa,Za,es,ts,ns,rs,os,is,as,ss,ls,us,oo,ps,ds,fs,hs,ms,ys,gs,bs,yr,vs,Es,Ss,Os,ao=ce(()=>{X();Q();Z();ht();ht();yn();Nt();vn();yt();yt();On();po=Object.create,gr=Object.defineProperty,fo=Object.getOwnPropertyDescriptor,br=Object.getOwnPropertyNames,ho=Object.getPrototypeOf,mo=Object.prototype.hasOwnProperty,le=(e,t)=>function(){return t||(0,e[br(e)[0]])((t={exports:{}}).exports,t),t.exports},yo=(e,t,n,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of br(t))!mo.call(e,o)&&o!==n&&gr(e,o,{get:()=>t[o],enumerable:!(r=fo(t,o))||r.enumerable});return e},De=(e,t,n)=>(n=e!=null?po(ho(e)):{},yo(t||!e||!e.__esModule?gr(n,"default",{value:e,enumerable:!0}):n,e)),go=le({"../../node_modules/scroll/index.js"(e,t){var n=new Error("Element already at target scroll position"),r=new Error("Scroll cancelled"),o=Math.min,i=Date.now;t.exports={left:a("scrollLeft"),top:a("scrollTop")};function a(l){return function(p,u,d,f){d=d||{},typeof d=="function"&&(f=d,d={}),typeof f!="function"&&(f=c);var h=i(),b=p[l],N=d.ease||s,v=isNaN(d.duration)?350:+d.duration,T=!1;return b===u?f(n,p[l]):requestAnimationFrame(g),m;function m(){T=!0}function g(O){if(T)return f(r,p[l]);var B=i(),P=o(1,(B-h)/v),V=N(P);p[l]=V*(u-b)+b,P<1?requestAnimationFrame(g):requestAnimationFrame(function(){f(null,p[l])})}}}function s(l){return .5*(1-Math.cos(Math.PI*l))}function c(){}}}),bo=le({"../../node_modules/scrollparent/scrollparent.js"(e,t){(function(n,r){typeof define=="function"&&define.amd?define([],r):typeof t=="object"&&t.exports?t.exports=r():n.Scrollparent=r()})(e,function(){function n(o){var i=getComputedStyle(o,null).getPropertyValue("overflow");return i.indexOf("scroll")>-1||i.indexOf("auto")>-1}function r(o){if(o instanceof HTMLElement||o instanceof SVGElement){for(var i=o.parentNode;i.parentNode;){if(n(i))return i;i=i.parentNode}return document.scrollingElement||document.documentElement}}return r})}}),$t=le({"../../node_modules/deepmerge/dist/cjs.js"(e,t){var n=function(m){return r(m)&&!o(m)};function r(m){return!!m&&typeof m=="object"}function o(m){var g=Object.prototype.toString.call(m);return g==="[object RegExp]"||g==="[object Date]"||s(m)}var i=typeof Symbol=="function"&&Symbol.for,a=i?Symbol.for("react.element"):60103;function s(m){return m.$$typeof===a}function c(m){return Array.isArray(m)?[]:{}}function l(m,g){return g.clone!==!1&&g.isMergeableObject(m)?v(c(m),m,g):m}function p(m,g,O){return m.concat(g).map(function(B){return l(B,O)})}function u(m,g){if(!g.customMerge)return v;var O=g.customMerge(m);return typeof O=="function"?O:v}function d(m){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(m).filter(function(g){return Object.propertyIsEnumerable.call(m,g)}):[]}function f(m){return Object.keys(m).concat(d(m))}function h(m,g){try{return g in m}catch{return!1}}function b(m,g){return h(m,g)&&!(Object.hasOwnProperty.call(m,g)&&Object.propertyIsEnumerable.call(m,g))}function N(m,g,O){var B={};return O.isMergeableObject(m)&&f(m).forEach(function(P){B[P]=l(m[P],O)}),f(g).forEach(function(P){b(m,P)||(h(m,P)&&O.isMergeableObject(g[P])?B[P]=u(P,O)(m[P],g[P],O):B[P]=l(g[P],O))}),B}function v(m,g,O){O=O||{},O.arrayMerge=O.arrayMerge||p,O.isMergeableObject=O.isMergeableObject||n,O.cloneUnlessOtherwiseSpecified=l;var B=Array.isArray(g),P=Array.isArray(m),V=B===P;return V?B?O.arrayMerge(m,g,O):N(m,g,O):l(g,O)}v.all=function(m,g){if(!Array.isArray(m))throw new Error("first argument should be an array");return m.reduce(function(O,B){return v(O,B,g)},{})};var T=v;t.exports=T}}),vo=le({"../../node_modules/react-is/cjs/react-is.development.js"(e){(function(){var t=typeof Symbol=="function"&&Symbol.for,n=t?Symbol.for("react.element"):60103,r=t?Symbol.for("react.portal"):60106,o=t?Symbol.for("react.fragment"):60107,i=t?Symbol.for("react.strict_mode"):60108,a=t?Symbol.for("react.profiler"):60114,s=t?Symbol.for("react.provider"):60109,c=t?Symbol.for("react.context"):60110,l=t?Symbol.for("react.async_mode"):60111,p=t?Symbol.for("react.concurrent_mode"):60111,u=t?Symbol.for("react.forward_ref"):60112,d=t?Symbol.for("react.suspense"):60113,f=t?Symbol.for("react.suspense_list"):60120,h=t?Symbol.for("react.memo"):60115,b=t?Symbol.for("react.lazy"):60116,N=t?Symbol.for("react.block"):60121,v=t?Symbol.for("react.fundamental"):60117,T=t?Symbol.for("react.responder"):60118,m=t?Symbol.for("react.scope"):60119;function g(w){return typeof w=="string"||typeof w=="function"||w===o||w===p||w===a||w===i||w===d||w===f||typeof w=="object"&&w!==null&&(w.$$typeof===b||w.$$typeof===h||w.$$typeof===s||w.$$typeof===c||w.$$typeof===u||w.$$typeof===v||w.$$typeof===T||w.$$typeof===m||w.$$typeof===N)}function O(w){if(typeof w=="object"&&w!==null){var ne=w.$$typeof;switch(ne){case n:var Oe=w.type;switch(Oe){case l:case p:case o:case a:case i:case d:return Oe;default:var nn=Oe&&Oe.$$typeof;switch(nn){case c:case u:case b:case h:case s:return nn;default:return ne}}case r:return ne}}}var B=l,P=p,V=c,H=s,te=n,Ne=u,Ve=o,ke=b,Be=h,Ke=r,Te=a,Ie=i,he=d,Re=!1;function xt(w){return Re||(Re=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")),ft(w)||O(w)===l}function ft(w){return O(w)===p}function E(w){return O(w)===c}function x(w){return O(w)===s}function W(w){return typeof w=="object"&&w!==null&&w.$$typeof===n}function D(w){return O(w)===u}function L(w){return O(w)===o}function z(w){return O(w)===b}function M(w){return O(w)===h}function F(w){return O(w)===r}function G(w){return O(w)===a}function K(w){return O(w)===i}function Y(w){return O(w)===d}e.AsyncMode=B,e.ConcurrentMode=P,e.ContextConsumer=V,e.ContextProvider=H,e.Element=te,e.ForwardRef=Ne,e.Fragment=Ve,e.Lazy=ke,e.Memo=Be,e.Portal=Ke,e.Profiler=Te,e.StrictMode=Ie,e.Suspense=he,e.isAsyncMode=xt,e.isConcurrentMode=ft,e.isContextConsumer=E,e.isContextProvider=x,e.isElement=W,e.isForwardRef=D,e.isFragment=L,e.isLazy=z,e.isMemo=M,e.isPortal=F,e.isProfiler=G,e.isStrictMode=K,e.isSuspense=Y,e.isValidElementType=g,e.typeOf=O})()}}),vr=le({"../../node_modules/react-is/index.js"(e,t){t.exports=vo()}}),Eo=le({"../../node_modules/object-assign/index.js"(e,t){var n=Object.getOwnPropertySymbols,r=Object.prototype.hasOwnProperty,o=Object.prototype.propertyIsEnumerable;function i(s){if(s==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(s)}function a(){try{if(!Object.assign)return!1;var s=new String("abc");if(s[5]="de",Object.getOwnPropertyNames(s)[0]==="5")return!1;for(var c={},l=0;l<10;l++)c["_"+String.fromCharCode(l)]=l;var p=Object.getOwnPropertyNames(c).map(function(d){return c[d]});if(p.join("")!=="0123456789")return!1;var u={};return"abcdefghijklmnopqrst".split("").forEach(function(d){u[d]=d}),Object.keys(Object.assign({},u)).join("")==="abcdefghijklmnopqrst"}catch{return!1}}t.exports=a()?Object.assign:function(s,c){for(var l,p=i(s),u,d=1;d1?s("Invalid arguments supplied to oneOf, expected an array, got "+arguments.length+" arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z])."):s("Invalid argument supplied to oneOf, expected an array."),c;function x(W,D,L,z,M){for(var F=W[D],G=0;G0?", expected one of type ["+K.join(", ")+"]":"";return new v("Invalid "+F+" `"+G+"` supplied to "+("`"+M+"`"+Oe+"."))}return T(D)}function Ve(){function E(x,W,D,L,z){return Te(x[W])?null:new v("Invalid "+L+" `"+z+"` supplied to "+("`"+D+"`, expected a ReactNode."))}return T(E)}function ke(E,x,W,D,L){return new v((E||"React class")+": "+x+" type `"+W+"."+D+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+L+"`.")}function Be(E){function x(W,D,L,z,M){var F=W[D],G=he(F);if(G!=="object")return new v("Invalid "+z+" `"+M+"` of type `"+G+"` "+("supplied to `"+L+"`, expected `object`."));for(var K in E){var Y=E[K];if(typeof Y!="function")return ke(L,z,M,K,Re(Y));var w=Y(F,K,L,z,M+"."+K,o);if(w)return w}return null}return T(x)}function Ke(E){function x(W,D,L,z,M){var F=W[D],G=he(F);if(G!=="object")return new v("Invalid "+z+" `"+M+"` of type `"+G+"` "+("supplied to `"+L+"`, expected `object`."));var K=r({},W[D],E);for(var Y in K){var w=E[Y];if(i(E,Y)&&typeof w!="function")return ke(L,z,M,Y,Re(w));if(!w)return new v("Invalid "+z+" `"+M+"` key `"+Y+"` supplied to `"+L+"`.\nBad object: "+JSON.stringify(W[D],null," ")+` -Valid keys: `+JSON.stringify(Object.keys(E),null," "));var ne=w(F,Y,L,z,M+"."+Y,o);if(ne)return ne}return null}return T(x)}function Te(E){switch(typeof E){case"number":case"string":case"undefined":return!0;case"boolean":return!E;case"object":if(Array.isArray(E))return E.every(Te);if(E===null||l(E))return!0;var x=f(E);if(x){var W=x.call(E),D;if(x!==E.entries){for(;!(D=W.next()).done;)if(!Te(D.value))return!1}else for(;!(D=W.next()).done;){var L=D.value;if(L&&!Te(L[1]))return!1}}else return!1;return!0;default:return!1}}function Ie(E,x){return E==="symbol"?!0:x?x["@@toStringTag"]==="Symbol"||typeof Symbol=="function"&&x instanceof Symbol:!1}function he(E){var x=typeof E;return Array.isArray(E)?"array":E instanceof RegExp?"object":Ie(x,E)?"symbol":x}function Re(E){if(typeof E>"u"||E===null)return""+E;var x=he(E);if(x==="object"){if(E instanceof Date)return"date";if(E instanceof RegExp)return"regexp"}return x}function xt(E){var x=Re(E);switch(x){case"array":case"object":return"an "+x;case"boolean":case"date":case"regexp":return"a "+x;default:return x}}function ft(E){return!E.constructor||!E.constructor.name?h:E.constructor.name}return b.checkPropTypes=a,b.resetWarningCache=a.resetWarningCache,b.PropTypes=b,b}}}),wo=le({"../../node_modules/prop-types/index.js"(e,t){n=vr(),r=!0,t.exports=Oo()(n.isElement,r);var n,r}}),To=le({"../../node_modules/react-innertext/index.js"(e,t){var n=function(i){return Object.prototype.hasOwnProperty.call(i,"props")},r=function(i,a){return i+o(a)},o=function(i){return i===null||typeof i=="boolean"||typeof i>"u"?"":typeof i=="number"?i.toString():typeof i=="string"?i:Array.isArray(i)?i.reduce(r,""):n(i)&&Object.prototype.hasOwnProperty.call(i.props,"children")?o(i.props.children):""};o.default=o,t.exports=o}}),Io='@keyframes Bc2PgW_ya{to{translate:0 var(--sh)}}@keyframes Bc2PgW_xa{to{translate:var(--xlp)0}}@keyframes Bc2PgW_r{50%{rotate:var(--hr)180deg}to{rotate:var(--r)360deg}}.Bc2PgW_c{z-index:1200;width:0;height:0;position:relative;overflow:visible}.Bc2PgW_p{animation:xa var(--dc)forwards cubic-bezier(var(--x1),var(--x2),var(--x3),var(--x4));animation-name:Bc2PgW_xa}.Bc2PgW_p>div{animation:ya var(--dc)forwards cubic-bezier(var(--y1),var(--y2),var(--y3),var(--y4));width:var(--w);height:var(--h);animation-name:Bc2PgW_ya;position:absolute;top:0;left:0}.Bc2PgW_p>div:before{content:"";background-color:var(--bgc);animation:r var(--rd)infinite linear;border-radius:var(--br);width:100%;height:100%;animation-name:Bc2PgW_r;display:block}',wn="Bc2PgW_p",Ro="Bc2PgW_c",Tn=["#FFC700","#FF0000","#2E3191","#41BBC7"],In=3500,Rn=.5,Cn=150,Pn="mix",_n=12,xn="",An=!0,Nn=800,kn=1600;Ln=200,Po=800,_o=.1,xo=.3,Mn=.5,bt=Math.abs,be=Math.random,rt=Math.round,Ao=Math.max,Mt=e=>document.createElement(e),jt=(e,t)=>e.appendChild(t),jn=(e,t)=>Array.from({length:e},(n,r)=>({color:t[r%t.length],degree:360*r/e})),We=(e,t=2)=>rt((e+Number.EPSILON)*10**t)/10**t,Dt=(e,t,n,r,o)=>(e-t)*(o-r)/(n-t)+r,Dn=(e,t)=>e+t>360?e+t-360:e+t,Or=()=>be()>.5,Fn=Object.entries,No=6,ko=e=>e!==1&&Or();Mo=ee.div({zIndex:9999,position:"fixed",top:0,left:"50%",width:"50%",height:"100%"}),jo=y.memo(function({timeToFade:e=5e3,colors:t=["#CA90FF","#FC521F","#66BF3C","#FF4785","#FFAE00","#1EA7FD"],...n}){return y.createElement(Mo,null,y.createElement(Lo,{colors:t,particleCount:200,duration:5e3,stageHeight:window.innerHeight,stageWidth:window.innerWidth,destroyAfterDone:!0,...n}))});Wn="STORYBOOK_ADDON_ONBOARDING_CHANNEL";Do=wr("function"),Fo=e=>e===null,Un=e=>Object.prototype.toString.call(e).slice(8,-1)==="RegExp",Hn=e=>!Bo(e)&&!Fo(e)&&(Do(e)||typeof e=="object"),Bo=wr("undefined");Go=["Array","ArrayBuffer","AsyncFunction","AsyncGenerator","AsyncGeneratorFunction","Date","Error","Function","Generator","GeneratorFunction","HTMLElement","Map","Object","Promise","RegExp","Set","WeakMap","WeakSet"],Yo=["bigint","boolean","null","number","string","symbol","undefined"];Vo=["innerHTML","ownerDocument","style","attributes","nodeValue"];I.array=Array.isArray;I.arrayOf=(e,t)=>!I.array(e)&&!I.function(t)?!1:e.every(n=>t(n));I.asyncGeneratorFunction=e=>Rt(e)==="AsyncGeneratorFunction";I.asyncFunction=de("AsyncFunction");I.bigint=Ye("bigint");I.boolean=e=>e===!0||e===!1;I.date=de("Date");I.defined=e=>!I.undefined(e);I.domElement=e=>I.object(e)&&!I.plainObject(e)&&e.nodeType===1&&I.string(e.nodeName)&&Vo.every(t=>t in e);I.empty=e=>I.string(e)&&e.length===0||I.array(e)&&e.length===0||I.object(e)&&!I.map(e)&&!I.set(e)&&Object.keys(e).length===0||I.set(e)&&e.size===0||I.map(e)&&e.size===0;I.error=de("Error");I.function=Ye("function");I.generator=e=>I.iterable(e)&&I.function(e.next)&&I.function(e.throw);I.generatorFunction=de("GeneratorFunction");I.instanceOf=(e,t)=>!e||!t?!1:Object.getPrototypeOf(e)===t.prototype;I.iterable=e=>!I.nullOrUndefined(e)&&I.function(e[Symbol.iterator]);I.map=de("Map");I.nan=e=>Number.isNaN(e);I.null=e=>e===null;I.nullOrUndefined=e=>I.null(e)||I.undefined(e);I.number=e=>Ye("number")(e)&&!I.nan(e);I.numericString=e=>I.string(e)&&e.length>0&&!Number.isNaN(Number(e));I.object=e=>!I.nullOrUndefined(e)&&(I.function(e)||typeof e=="object");I.oneOf=(e,t)=>I.array(e)?e.indexOf(t)>-1:!1;I.plainFunction=de("Function");I.plainObject=e=>{if(Rt(e)!=="Object")return!1;let t=Object.getPrototypeOf(e);return t===null||t===Object.getPrototypeOf({})};I.primitive=e=>I.null(e)||$o(typeof e);I.promise=de("Promise");I.propertyOf=(e,t,n)=>{if(!I.object(e)||!t)return!1;let r=e[t];return I.function(n)?n(r):I.defined(r)};I.regexp=de("RegExp");I.set=de("Set");I.string=Ye("string");I.symbol=Ye("symbol");I.undefined=Ye("undefined");I.weakMap=de("WeakMap");I.weakSet=de("WeakSet");C=I;Qo=De(go(),1),Ir=De(bo(),1),vt=De($t(),1),Et=De($t(),1),S=De(wo()),it=typeof window<"u"&&typeof document<"u"&&typeof navigator<"u",Zo=function(){for(var e=["Edge","Trident","Firefox"],t=0;t=0)return 1;return 0}();ni=it&&window.Promise,ri=ni?ei:ti;Vn=it&&!!(window.MSInputMethodContext&&document.documentMode),Kn=it&&/MSIE 10/.test(navigator.userAgent);ai=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},si=function(){function e(t,n){for(var r=0;r2&&arguments[2]!==void 0?arguments[2]:{};ai(this,e),this.scheduleUpdate=function(){return requestAnimationFrame(r.update)},this.update=ri(this.update.bind(this)),this.options=se({},e.Defaults,o),this.state={isDestroyed:!1,isCreated:!1,scrollParents:[]},this.reference=t&&t.jquery?t[0]:t,this.popper=n&&n.jquery?n[0]:n,this.options.modifiers={},Object.keys(se({},e.Defaults.modifiers,o.modifiers)).forEach(function(a){r.options.modifiers[a]=se({},e.Defaults.modifiers[a]||{},o.modifiers?o.modifiers[a]:{})}),this.modifiers=Object.keys(this.options.modifiers).map(function(a){return se({name:a},r.options.modifiers[a])}).sort(function(a,s){return a.order-s.order}),this.modifiers.forEach(function(a){a.enabled&&Rr(a.onLoad)&&a.onLoad(r.reference,r.popper,r.options,a,r.state)}),this.update();var i=this.options.eventsEnabled;i&&this.enableEventListeners(),this.state.eventsEnabled=i}return si(e,[{key:"update",value:function(){return pi.call(this)}},{key:"destroy",value:function(){return di.call(this)}},{key:"enableEventListeners",value:function(){return hi.call(this)}},{key:"disableEventListeners",value:function(){return yi.call(this)}}]),e}();Ct.Utils=window.PopperUtils;Ct.placements=Wr;Ct.Defaults=Mi;Zn=Ct,Gt=De($t()),ji=["innerHTML","ownerDocument","style","attributes","nodeValue"],Di=["Array","ArrayBuffer","AsyncFunction","AsyncGenerator","AsyncGeneratorFunction","Date","Error","Function","Generator","GeneratorFunction","HTMLElement","Map","Object","Promise","RegExp","Set","WeakMap","WeakSet"],Fi=["bigint","boolean","null","number","string","symbol","undefined"];R.array=Array.isArray;R.arrayOf=function(e,t){return!R.array(e)&&!R.function(t)?!1:e.every(function(n){return t(n)})};R.asyncGeneratorFunction=function(e){return Pt(e)==="AsyncGeneratorFunction"};R.asyncFunction=fe("AsyncFunction");R.bigint=$e("bigint");R.boolean=function(e){return e===!0||e===!1};R.date=fe("Date");R.defined=function(e){return!R.undefined(e)};R.domElement=function(e){return R.object(e)&&!R.plainObject(e)&&e.nodeType===1&&R.string(e.nodeName)&&ji.every(function(t){return t in e})};R.empty=function(e){return R.string(e)&&e.length===0||R.array(e)&&e.length===0||R.object(e)&&!R.map(e)&&!R.set(e)&&Object.keys(e).length===0||R.set(e)&&e.size===0||R.map(e)&&e.size===0};R.error=fe("Error");R.function=$e("function");R.generator=function(e){return R.iterable(e)&&R.function(e.next)&&R.function(e.throw)};R.generatorFunction=fe("GeneratorFunction");R.instanceOf=function(e,t){return!e||!t?!1:Object.getPrototypeOf(e)===t.prototype};R.iterable=function(e){return!R.nullOrUndefined(e)&&R.function(e[Symbol.iterator])};R.map=fe("Map");R.nan=function(e){return Number.isNaN(e)};R.null=function(e){return e===null};R.nullOrUndefined=function(e){return R.null(e)||R.undefined(e)};R.number=function(e){return $e("number")(e)&&!R.nan(e)};R.numericString=function(e){return R.string(e)&&e.length>0&&!Number.isNaN(Number(e))};R.object=function(e){return!R.nullOrUndefined(e)&&(R.function(e)||typeof e=="object")};R.oneOf=function(e,t){return R.array(e)?e.indexOf(t)>-1:!1};R.plainFunction=fe("Function");R.plainObject=function(e){if(Pt(e)!=="Object")return!1;var t=Object.getPrototypeOf(e);return t===null||t===Object.getPrototypeOf({})};R.primitive=function(e){return R.null(e)||Wi(typeof e)};R.promise=fe("Promise");R.propertyOf=function(e,t,n){if(!R.object(e)||!t)return!1;var r=e[t];return R.function(n)?n(r):R.defined(r)};R.regexp=fe("RegExp");R.set=fe("Set");R.string=$e("string");R.symbol=$e("symbol");R.undefined=$e("undefined");R.weakMap=fe("WeakMap");R.weakSet=fe("WeakSet");A=R;Ui=Ur("function"),Hi=function(e){return e===null},er=function(e){return Object.prototype.toString.call(e).slice(8,-1)==="RegExp"},tr=function(e){return!zi(e)&&!Hi(e)&&(Ui(e)||typeof e=="object")},zi=Ur("undefined"),Yt=function(e){var t=typeof Symbol=="function"&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&typeof e.length=="number")return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};na={flip:{padding:20},preventOverflow:{padding:10}},ra="The typeValidator argument must be a function with the signature function(props, propName, componentName).",oa="The error message is optional, but must be a string if provided.";U={INIT:"init",IDLE:"idle",OPENING:"opening",OPEN:"open",CLOSING:"closing",ERROR:"error"},et=Me.createPortal!==void 0;Yr=function(e){ut(n,e);var t=pt(n);function n(){return lt(this,n),t.apply(this,arguments)}return ct(n,[{key:"componentDidMount",value:function(){ve()&&(this.node||this.appendNode(),et||this.renderPortal())}},{key:"componentDidUpdate",value:function(){ve()&&(et||this.renderPortal())}},{key:"componentWillUnmount",value:function(){!ve()||!this.node||(et||Me.unmountComponentAtNode(this.node),this.node&&this.node.parentNode===document.body&&(document.body.removeChild(this.node),this.node=void 0))}},{key:"appendNode",value:function(){var r=this.props,o=r.id,i=r.zIndex;this.node||(this.node=document.createElement("div"),o&&(this.node.id=o),i&&(this.node.style.zIndex=i),document.body.appendChild(this.node))}},{key:"renderPortal",value:function(){if(!ve())return null;var r=this.props,o=r.children,i=r.setRef;if(this.node||this.appendNode(),et)return Me.createPortal(o,this.node);var a=Me.unstable_renderSubtreeIntoContainer(this,o.length>1?y.createElement("div",null,o):o[0],this.node);return i(a),null}},{key:"renderReact16",value:function(){var r=this.props,o=r.hasChildren,i=r.placement,a=r.target;return o?this.renderPortal():a||i==="center"?this.renderPortal():null}},{key:"render",value:function(){return et?this.renderReact16():null}}]),n}(y.Component);re(Yr,"propTypes",{children:S.default.oneOfType([S.default.element,S.default.array]),hasChildren:S.default.bool,id:S.default.oneOfType([S.default.string,S.default.number]),placement:S.default.string,setRef:S.default.func.isRequired,target:S.default.oneOfType([S.default.object,S.default.string]),zIndex:S.default.number});qr=function(e){ut(n,e);var t=pt(n);function n(){return lt(this,n),t.apply(this,arguments)}return ct(n,[{key:"parentStyle",get:function(){var r=this.props,o=r.placement,i=r.styles,a=i.arrow.length,s={pointerEvents:"none",position:"absolute",width:"100%"};return o.startsWith("top")?(s.bottom=0,s.left=0,s.right=0,s.height=a):o.startsWith("bottom")?(s.left=0,s.right=0,s.top=0,s.height=a):o.startsWith("left")?(s.right=0,s.top=0,s.bottom=0):o.startsWith("right")&&(s.left=0,s.top=0),s}},{key:"render",value:function(){var r=this.props,o=r.placement,i=r.setArrowRef,a=r.styles,s=a.arrow,c=s.color,l=s.display,p=s.length,u=s.margin,d=s.position,f=s.spread,h={display:l,position:d},b,N=f,v=p;return o.startsWith("top")?(b="0,0 ".concat(N/2,",").concat(v," ").concat(N,",0"),h.bottom=0,h.marginLeft=u,h.marginRight=u):o.startsWith("bottom")?(b="".concat(N,",").concat(v," ").concat(N/2,",0 0,").concat(v),h.top=0,h.marginLeft=u,h.marginRight=u):o.startsWith("left")?(v=f,N=p,b="0,0 ".concat(N,",").concat(v/2," 0,").concat(v),h.right=0,h.marginTop=u,h.marginBottom=u):o.startsWith("right")&&(v=f,N=p,b="".concat(N,",").concat(v," ").concat(N,",0 0,").concat(v/2),h.left=0,h.marginTop=u,h.marginBottom=u),y.createElement("div",{className:"__floater__arrow",style:this.parentStyle},y.createElement("span",{ref:i,style:h},y.createElement("svg",{width:N,height:v,version:"1.1",xmlns:"http://www.w3.org/2000/svg"},y.createElement("polygon",{points:b,fill:c}))))}}]),n}(y.Component);re(qr,"propTypes",{placement:S.default.string.isRequired,setArrowRef:S.default.func.isRequired,styles:S.default.object.isRequired});da=["color","height","width"];$r.propTypes={handleClick:S.default.func.isRequired,styles:S.default.object.isRequired};Vr.propTypes={content:S.default.node.isRequired,footer:S.default.node,handleClick:S.default.func.isRequired,open:S.default.bool,positionWrapper:S.default.bool.isRequired,showCloseButton:S.default.bool.isRequired,styles:S.default.object.isRequired,title:S.default.node};Kr=function(e){ut(n,e);var t=pt(n);function n(){return lt(this,n),t.apply(this,arguments)}return ct(n,[{key:"style",get:function(){var r=this.props,o=r.disableAnimation,i=r.component,a=r.placement,s=r.hideArrow,c=r.status,l=r.styles,p=l.arrow.length,u=l.floater,d=l.floaterCentered,f=l.floaterClosing,h=l.floaterOpening,b=l.floaterWithAnimation,N=l.floaterWithComponent,v={};return s||(a.startsWith("top")?v.padding="0 0 ".concat(p,"px"):a.startsWith("bottom")?v.padding="".concat(p,"px 0 0"):a.startsWith("left")?v.padding="0 ".concat(p,"px 0 0"):a.startsWith("right")&&(v.padding="0 0 0 ".concat(p,"px"))),[U.OPENING,U.OPEN].indexOf(c)!==-1&&(v=J(J({},v),h)),c===U.CLOSING&&(v=J(J({},v),f)),c===U.OPEN&&!o&&(v=J(J({},v),b)),a==="center"&&(v=J(J({},v),d)),i&&(v=J(J({},v),N)),J(J({},u),v)}},{key:"render",value:function(){var r=this.props,o=r.component,i=r.handleClick,a=r.hideArrow,s=r.setFloaterRef,c=r.status,l={},p=["__floater"];return o?y.isValidElement(o)?l.content=y.cloneElement(o,{closeFn:i}):l.content=o({closeFn:i}):l.content=y.createElement(Vr,this.props),c===U.OPEN&&p.push("__floater__open"),a||(l.arrow=y.createElement(qr,this.props)),y.createElement("div",{ref:s,className:p.join(" "),style:this.style},y.createElement("div",{className:"__floater__body"},l.content,l.arrow))}}]),n}(y.Component);re(Kr,"propTypes",{component:S.default.oneOfType([S.default.func,S.default.element]),content:S.default.node,disableAnimation:S.default.bool.isRequired,footer:S.default.node,handleClick:S.default.func.isRequired,hideArrow:S.default.bool.isRequired,open:S.default.bool,placement:S.default.string.isRequired,positionWrapper:S.default.bool.isRequired,setArrowRef:S.default.func.isRequired,setFloaterRef:S.default.func.isRequired,showCloseButton:S.default.bool,status:S.default.string.isRequired,styles:S.default.object.isRequired,title:S.default.node});Jr=function(e){ut(n,e);var t=pt(n);function n(){return lt(this,n),t.apply(this,arguments)}return ct(n,[{key:"render",value:function(){var r=this.props,o=r.children,i=r.handleClick,a=r.handleMouseEnter,s=r.handleMouseLeave,c=r.setChildRef,l=r.setWrapperRef,p=r.style,u=r.styles,d;if(o)if(y.Children.count(o)===1)if(!y.isValidElement(o))d=y.createElement("span",null,o);else{var f=A.function(o.type)?"innerRef":"ref";d=y.cloneElement(y.Children.only(o),re({},f,c))}else d=o;return d?y.createElement("span",{ref:l,style:J(J({},u),p),onClick:i,onMouseEnter:a,onMouseLeave:s},d):null}}]),n}(y.Component);re(Jr,"propTypes",{children:S.default.node,handleClick:S.default.func.isRequired,handleMouseEnter:S.default.func.isRequired,handleMouseLeave:S.default.func.isRequired,setChildRef:S.default.func.isRequired,setWrapperRef:S.default.func.isRequired,style:S.default.object,styles:S.default.object.isRequired});fa={zIndex:100};ma=["arrow","flip","offset"],ya=["position","top","right","bottom","left"],tn=function(e){ut(n,e);var t=pt(n);function n(r){var o;return lt(this,n),o=t.call(this,r),re(we(o),"setArrowRef",function(i){o.arrowRef=i}),re(we(o),"setChildRef",function(i){o.childRef=i}),re(we(o),"setFloaterRef",function(i){o.floaterRef=i}),re(we(o),"setWrapperRef",function(i){o.wrapperRef=i}),re(we(o),"handleTransitionEnd",function(){var i=o.state.status,a=o.props.callback;o.wrapperPopper&&o.wrapperPopper.instance.update(),o.setState({status:i===U.OPENING?U.OPEN:U.IDLE},function(){var s=o.state.status;a(s===U.OPEN?"open":"close",o.props)})}),re(we(o),"handleClick",function(){var i=o.props,a=i.event,s=i.open;if(!A.boolean(s)){var c=o.state,l=c.positionWrapper,p=c.status;(o.event==="click"||o.event==="hover"&&l)&&(St({title:"click",data:[{event:a,status:p===U.OPEN?"closing":"opening"}],debug:o.debug}),o.toggle())}}),re(we(o),"handleMouseEnter",function(){var i=o.props,a=i.event,s=i.open;if(!(A.boolean(s)||Wt())){var c=o.state.status;o.event==="hover"&&c===U.IDLE&&(St({title:"mouseEnter",data:[{key:"originalEvent",value:a}],debug:o.debug}),clearTimeout(o.eventDelayTimeout),o.toggle())}}),re(we(o),"handleMouseLeave",function(){var i=o.props,a=i.event,s=i.eventDelay,c=i.open;if(!(A.boolean(c)||Wt())){var l=o.state,p=l.status,u=l.positionWrapper;o.event==="hover"&&(St({title:"mouseLeave",data:[{key:"originalEvent",value:a}],debug:o.debug}),s?[U.OPENING,U.OPEN].indexOf(p)!==-1&&!u&&!o.eventDelayTimeout&&(o.eventDelayTimeout=setTimeout(function(){delete o.eventDelayTimeout,o.toggle()},s*1e3)):o.toggle(U.IDLE))}}),o.state={currentPlacement:r.placement,needsUpdate:!1,positionWrapper:r.wrapperOptions.position&&!!r.target,status:U.INIT,statusWrapper:U.INIT},o._isMounted=!1,o.hasMounted=!1,ve()&&window.addEventListener("load",function(){o.popper&&o.popper.instance.update(),o.wrapperPopper&&o.wrapperPopper.instance.update()}),o}return ct(n,[{key:"componentDidMount",value:function(){if(ve()){var r=this.state.positionWrapper,o=this.props,i=o.children,a=o.open,s=o.target;this._isMounted=!0,St({title:"init",data:{hasChildren:!!i,hasTarget:!!s,isControlled:A.boolean(a),positionWrapper:r,target:this.target,floater:this.floaterRef},debug:this.debug}),this.hasMounted||(this.initPopper(),this.hasMounted=!0),!i&&s&&A.boolean(a)}}},{key:"componentDidUpdate",value:function(r,o){if(ve()){var i=this.props,a=i.autoOpen,s=i.open,c=i.target,l=i.wrapperOptions,p=Xi(o,this.state),u=p.changedFrom,d=p.changed;if(r.open!==s){var f;A.boolean(s)&&(f=s?U.OPENING:U.CLOSING),this.toggle(f)}(r.wrapperOptions.position!==l.position||r.target!==c)&&this.changeWrapperPosition(this.props),d("status",U.IDLE)&&s?this.toggle(U.OPEN):u("status",U.INIT,U.IDLE)&&a&&this.toggle(U.OPEN),this.popper&&d("status",U.OPENING)&&this.popper.instance.update(),this.floaterRef&&(d("status",U.OPENING)||d("status",U.CLOSING))&&pa(this.floaterRef,"transitionend",this.handleTransitionEnd),d("needsUpdate",!0)&&this.rebuildPopper()}}},{key:"componentWillUnmount",value:function(){ve()&&(this._isMounted=!1,this.popper&&this.popper.instance.destroy(),this.wrapperPopper&&this.wrapperPopper.instance.destroy())}},{key:"initPopper",value:function(){var r=this,o=arguments.length>0&&arguments[0]!==void 0?arguments[0]:this.target,i=this.state.positionWrapper,a=this.props,s=a.disableFlip,c=a.getPopper,l=a.hideArrow,p=a.offset,u=a.placement,d=a.wrapperOptions,f=u==="top"||u==="bottom"?"flip":["right","bottom-end","top-end","left","top-start","bottom-start"];if(u==="center")this.setState({status:U.IDLE});else if(o&&this.floaterRef){var h=this.options,b=h.arrow,N=h.flip,v=h.offset,T=zr(h,ma);new Zn(o,this.floaterRef,{placement:u,modifiers:J({arrow:J({enabled:!l,element:this.arrowRef},b),flip:J({enabled:!s,behavior:f},N),offset:J({offset:"0, ".concat(p,"px")},v)},T),onCreate:function(g){var O;if(r.popper=g,!((O=r.floaterRef)!==null&&O!==void 0&&O.isConnected)){r.setState({needsUpdate:!0});return}c(g,"floater"),r._isMounted&&r.setState({currentPlacement:g.placement,status:U.IDLE}),u!==g.placement&&setTimeout(function(){g.instance.update()},1)},onUpdate:function(g){r.popper=g;var O=r.state.currentPlacement;r._isMounted&&g.placement!==O&&r.setState({currentPlacement:g.placement})}})}if(i){var m=A.undefined(d.offset)?0:d.offset;new Zn(this.target,this.wrapperRef,{placement:d.placement||u,modifiers:{arrow:{enabled:!1},offset:{offset:"0, ".concat(m,"px")},flip:{enabled:!1}},onCreate:function(g){r.wrapperPopper=g,r._isMounted&&r.setState({statusWrapper:U.IDLE}),c(g,"wrapper"),u!==g.placement&&setTimeout(function(){g.instance.update()},1)}})}}},{key:"rebuildPopper",value:function(){var r=this;this.floaterRefInterval=setInterval(function(){var o;(o=r.floaterRef)!==null&&o!==void 0&&o.isConnected&&(clearInterval(r.floaterRefInterval),r.setState({needsUpdate:!1}),r.initPopper())},50)}},{key:"changeWrapperPosition",value:function(r){var o=r.target,i=r.wrapperOptions;this.setState({positionWrapper:i.position&&!!o})}},{key:"toggle",value:function(r){var o=this.state.status,i=o===U.OPEN?U.CLOSING:U.OPENING;A.undefined(r)||(i=r),this.setState({status:i})}},{key:"debug",get:function(){var r=this.props.debug;return r||ve()&&"ReactFloaterDebug"in window&&!!window.ReactFloaterDebug}},{key:"event",get:function(){var r=this.props,o=r.disableHoverToClick,i=r.event;return i==="hover"&&Wt()&&!o?"click":i}},{key:"options",get:function(){var r=this.props.options;return(0,Gt.default)(na,r||{})}},{key:"styles",get:function(){var r=this,o=this.state,i=o.status,a=o.positionWrapper,s=o.statusWrapper,c=this.props.styles,l=(0,Gt.default)(ha(c),c);if(a){var p;[U.IDLE].indexOf(i)===-1||[U.IDLE].indexOf(s)===-1?p=l.wrapperPosition:p=this.wrapperPopper.styles,l.wrapper=J(J({},l.wrapper),p)}if(this.target){var u=window.getComputedStyle(this.target);this.wrapperStyles?l.wrapper=J(J({},l.wrapper),this.wrapperStyles):["relative","static"].indexOf(u.position)===-1&&(this.wrapperStyles={},a||(ya.forEach(function(d){r.wrapperStyles[d]=u[d]}),l.wrapper=J(J({},l.wrapper),this.wrapperStyles),this.target.style.position="relative",this.target.style.top="auto",this.target.style.right="auto",this.target.style.bottom="auto",this.target.style.left="auto"))}return l}},{key:"target",get:function(){if(!ve())return null;var r=this.props.target;return r?A.domElement(r)?r:document.querySelector(r):this.childRef||this.wrapperRef}},{key:"render",value:function(){var r=this.state,o=r.currentPlacement,i=r.positionWrapper,a=r.status,s=this.props,c=s.children,l=s.component,p=s.content,u=s.disableAnimation,d=s.footer,f=s.hideArrow,h=s.id,b=s.open,N=s.showCloseButton,v=s.style,T=s.target,m=s.title,g=y.createElement(Jr,{handleClick:this.handleClick,handleMouseEnter:this.handleMouseEnter,handleMouseLeave:this.handleMouseLeave,setChildRef:this.setChildRef,setWrapperRef:this.setWrapperRef,style:v,styles:this.styles.wrapper},c),O={};return i?O.wrapperInPortal=g:O.wrapperAsChildren=g,y.createElement("span",null,y.createElement(Yr,{hasChildren:!!c,id:h,placement:o,setRef:this.setFloaterRef,target:T,zIndex:this.styles.options.zIndex},y.createElement(Kr,{component:l,content:p,disableAnimation:u,footer:d,handleClick:this.handleClick,hideArrow:f||o==="center",open:b,placement:o,positionWrapper:i,setArrowRef:this.setArrowRef,setFloaterRef:this.setFloaterRef,showCloseButton:N,status:a,styles:this.styles,title:m}),O.wrapperInPortal),O.wrapperAsChildren)}}]),n}(y.Component);re(tn,"propTypes",{autoOpen:S.default.bool,callback:S.default.func,children:S.default.node,component:cr(S.default.oneOfType([S.default.func,S.default.element]),function(e){return!e.content}),content:cr(S.default.node,function(e){return!e.component}),debug:S.default.bool,disableAnimation:S.default.bool,disableFlip:S.default.bool,disableHoverToClick:S.default.bool,event:S.default.oneOf(["hover","click"]),eventDelay:S.default.number,footer:S.default.node,getPopper:S.default.func,hideArrow:S.default.bool,id:S.default.oneOfType([S.default.string,S.default.number]),offset:S.default.number,open:S.default.bool,options:S.default.object,placement:S.default.oneOf(["top","top-start","top-end","bottom","bottom-start","bottom-end","left","left-start","left-end","right","right-start","right-end","auto","center"]),showCloseButton:S.default.bool,style:S.default.object,styles:S.default.object,target:S.default.oneOfType([S.default.object,S.default.string]),title:S.default.node,wrapperOptions:S.default.shape({offset:S.default.number,placement:S.default.oneOf(["top","top-start","top-end","bottom","bottom-start","bottom-end","left","left-start","left-end","right","right-start","right-end","auto"]),position:S.default.bool})});re(tn,"defaultProps",{autoOpen:!1,callback:ur,debug:!1,disableAnimation:!1,disableFlip:!1,disableHoverToClick:!1,event:"click",eventDelay:.4,getPopper:ur,hideArrow:!1,offset:15,placement:"bottom",showCloseButton:!1,styles:{},target:null,wrapperOptions:{position:!1}});ga=De(To(),1),ba=Object.defineProperty,va=(e,t,n)=>t in e?ba(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,_=(e,t,n)=>(va(e,typeof t!="symbol"?t+"":t,n),n),$={INIT:"init",START:"start",STOP:"stop",RESET:"reset",PREV:"prev",NEXT:"next",GO:"go",CLOSE:"close",SKIP:"skip",UPDATE:"update"},pe={TOUR_START:"tour:start",STEP_BEFORE:"step:before",BEACON:"beacon",TOOLTIP:"tooltip",STEP_AFTER:"step:after",TOUR_END:"tour:end",TOUR_STATUS:"tour:status",TARGET_NOT_FOUND:"error:target_not_found",ERROR:"error"},k={INIT:"init",READY:"ready",BEACON:"beacon",TOOLTIP:"tooltip",COMPLETE:"complete",ERROR:"error"},j={IDLE:"idle",READY:"ready",WAITING:"waiting",RUNNING:"running",PAUSED:"paused",SKIPPED:"skipped",FINISHED:"finished",ERROR:"error"};tt=mt!==void 0;Na={options:{preventOverflow:{boundariesElement:"scrollParent"}},wrapperOptions:{offset:-18,position:!0}},eo={back:"Back",close:"Close",last:"Last",next:"Next",open:"Open the dialog",skip:"Skip"},ka={event:"click",placement:"bottom",offset:10,disableBeacon:!1,disableCloseOnEsc:!1,disableOverlay:!1,disableOverlayClose:!1,disableScrollParentFix:!1,disableScrolling:!1,hideBackButton:!1,hideCloseButton:!1,hideFooter:!1,isFixed:!1,locale:eo,showProgress:!1,showSkipButton:!1,spotlightClicks:!1,spotlightPadding:10},La={continuous:!1,debug:!1,disableCloseOnEsc:!1,disableOverlay:!1,disableOverlayClose:!1,disableScrolling:!1,disableScrollParentFix:!1,getHelpers:void 0,hideBackButton:!1,run:!0,scrollOffset:20,scrollDuration:300,scrollToFirstStep:!1,showSkipButton:!1,showProgress:!1,spotlightClicks:!1,spotlightPadding:10,steps:[]},Ma={arrowColor:"#fff",backgroundColor:"#fff",beaconSize:36,overlayColor:"rgba(0, 0, 0, 0.5)",primaryColor:"#f04",spotlightShadow:"0 0 15px rgba(0, 0, 0, 0.5)",textColor:"#333",width:380,zIndex:100},nt={backgroundColor:"transparent",border:0,borderRadius:0,color:"#555",cursor:"pointer",fontSize:16,lineHeight:1,padding:8,WebkitAppearance:"none"},fr={borderRadius:4,position:"absolute"};no={action:"init",controlled:!1,index:0,lifecycle:k.INIT,origin:null,size:0,status:j.IDLE},mr=_a(Zr(no,"controlled","size")),Fa=class{constructor(e){_(this,"beaconPopper"),_(this,"tooltipPopper"),_(this,"data",new Map),_(this,"listener"),_(this,"store",new Map),_(this,"addListener",o=>{this.listener=o}),_(this,"setSteps",o=>{let{size:i,status:a}=this.getState(),s={size:o.length,status:a};this.data.set("steps",o),a===j.WAITING&&!i&&o.length&&(s.status=j.RUNNING),this.setState(s)}),_(this,"getPopper",o=>o==="beacon"?this.beaconPopper:this.tooltipPopper),_(this,"setPopper",(o,i)=>{o==="beacon"?this.beaconPopper=i:this.tooltipPopper=i}),_(this,"cleanupPoppers",()=>{this.beaconPopper=null,this.tooltipPopper=null}),_(this,"close",(o=null)=>{let{index:i,status:a}=this.getState();a===j.RUNNING&&this.setState({...this.getNextState({action:$.CLOSE,index:i+1,origin:o})})}),_(this,"go",o=>{let{controlled:i,status:a}=this.getState();if(i||a!==j.RUNNING)return;let s=this.getSteps()[o];this.setState({...this.getNextState({action:$.GO,index:o}),status:s?a:j.FINISHED})}),_(this,"info",()=>this.getState()),_(this,"next",()=>{let{index:o,status:i}=this.getState();i===j.RUNNING&&this.setState(this.getNextState({action:$.NEXT,index:o+1}))}),_(this,"open",()=>{let{status:o}=this.getState();o===j.RUNNING&&this.setState({...this.getNextState({action:$.UPDATE,lifecycle:k.TOOLTIP})})}),_(this,"prev",()=>{let{index:o,status:i}=this.getState();i===j.RUNNING&&this.setState({...this.getNextState({action:$.PREV,index:o-1})})}),_(this,"reset",(o=!1)=>{let{controlled:i}=this.getState();i||this.setState({...this.getNextState({action:$.RESET,index:0}),status:o?j.RUNNING:j.READY})}),_(this,"skip",()=>{let{status:o}=this.getState();o===j.RUNNING&&this.setState({action:$.SKIP,lifecycle:k.INIT,status:j.SKIPPED})}),_(this,"start",o=>{let{index:i,size:a}=this.getState();this.setState({...this.getNextState({action:$.START,index:C.number(o)?o:i},!0),status:a?j.RUNNING:j.WAITING})}),_(this,"stop",(o=!1)=>{let{index:i,status:a}=this.getState();[j.FINISHED,j.SKIPPED].includes(a)||this.setState({...this.getNextState({action:$.STOP,index:i+(o?1:0)}),status:j.PAUSED})}),_(this,"update",o=>{var i,a;if(!Ca(o,mr))throw new Error(`State is not valid. Valid keys: ${mr.join(", ")}`);this.setState({...this.getNextState({...this.getState(),...o,action:(i=o.action)!=null?i:$.UPDATE,origin:(a=o.origin)!=null?a:null},!0)})});let{continuous:t=!1,stepIndex:n,steps:r=[]}=e??{};this.setState({action:$.INIT,controlled:C.number(n),continuous:t,index:C.number(n)?n:0,lifecycle:k.INIT,origin:null,status:r.length?j.READY:j.IDLE},!0),this.beaconPopper=null,this.tooltipPopper=null,this.listener=null,this.setSteps(r)}getState(){return this.store.size?{action:this.store.get("action")||"",controlled:this.store.get("controlled")||!1,index:parseInt(this.store.get("index"),10),lifecycle:this.store.get("lifecycle")||"",origin:this.store.get("origin")||null,size:this.store.get("size")||0,status:this.store.get("status")||""}:{...no}}getNextState(e,t=!1){var n,r,o,i,a;let{action:s,controlled:c,index:l,size:p,status:u}=this.getState(),d=C.number(e.index)?e.index:l,f=c&&!t?l:Math.min(Math.max(d,0),p);return{action:(n=e.action)!=null?n:s,controlled:c,index:f,lifecycle:(r=e.lifecycle)!=null?r:k.INIT,origin:(o=e.origin)!=null?o:null,size:(i=e.size)!=null?i:p,status:f===p?j.FINISHED:(a=e.status)!=null?a:u}}getSteps(){let e=this.data.get("steps");return Array.isArray(e)?e:[]}hasUpdatedState(e){let t=JSON.stringify(e),n=JSON.stringify(this.getState());return t!==n}setState(e,t=!1){let n=this.getState(),{action:r,index:o,lifecycle:i,origin:a=null,size:s,status:c}={...n,...e};this.store.set("action",r),this.store.set("index",o),this.store.set("lifecycle",i),this.store.set("origin",a),this.store.set("size",s),this.store.set("status",c),t&&(this.store.set("controlled",e.controlled),this.store.set("continuous",e.continuous)),this.listener&&this.hasUpdatedState(n)&&this.listener(this.getState())}getHelpers(){return{close:this.close,go:this.go,info:this.info,next:this.next,open:this.open,prev:this.prev,reset:this.reset,skip:this.skip}}};Ua=Wa,Ha=class extends Le{constructor(){super(...arguments),_(this,"isActive",!1),_(this,"resizeTimeout"),_(this,"scrollTimeout"),_(this,"scrollParent"),_(this,"state",{isScrolling:!1,mouseOverSpotlight:!1,showSpotlight:!0}),_(this,"hideSpotlight",()=>{let{continuous:e,disableOverlay:t,lifecycle:n}=this.props,r=[k.BEACON,k.COMPLETE,k.ERROR];return t||(e?r.includes(n):n!==k.TOOLTIP)}),_(this,"handleMouseMove",e=>{let{mouseOverSpotlight:t}=this.state,{height:n,left:r,position:o,top:i,width:a}=this.spotlightStyles,s=o==="fixed"?e.clientY:e.pageY,c=o==="fixed"?e.clientX:e.pageX,l=s>=i&&s<=i+n,p=c>=r&&c<=r+a&&l;p!==t&&this.updateState({mouseOverSpotlight:p})}),_(this,"handleScroll",()=>{let{target:e}=this.props,t=_e(e);if(this.scrollParent!==document){let{isScrolling:n}=this.state;n||this.updateState({isScrolling:!0,showSpotlight:!1}),clearTimeout(this.scrollTimeout),this.scrollTimeout=window.setTimeout(()=>{this.updateState({isScrolling:!1,showSpotlight:!0})},50)}else ot(t,"sticky")&&this.updateState({})}),_(this,"handleResize",()=>{clearTimeout(this.resizeTimeout),this.resizeTimeout=window.setTimeout(()=>{this.isActive&&this.forceUpdate()},100)})}componentDidMount(){let{debug:e,disableScrolling:t,disableScrollParentFix:n=!1,target:r}=this.props,o=_e(r);this.scrollParent=_t(o??document.body,n,!0),this.isActive=!0,!t&&dt(o,!0)&&Ae({title:"step has a custom scroll parent and can cause trouble with scrolling",data:[{key:"parent",value:this.scrollParent}],debug:e}),window.addEventListener("resize",this.handleResize)}componentDidUpdate(e){var t;let{lifecycle:n,spotlightClicks:r}=this.props,{changed:o}=Ot(e,this.props);o("lifecycle",k.TOOLTIP)&&((t=this.scrollParent)==null||t.addEventListener("scroll",this.handleScroll,{passive:!0}),setTimeout(()=>{let{isScrolling:i}=this.state;i||this.updateState({showSpotlight:!0})},100)),(o("spotlightClicks")||o("disableOverlay")||o("lifecycle"))&&(r&&n===k.TOOLTIP?window.addEventListener("mousemove",this.handleMouseMove,!1):n!==k.TOOLTIP&&window.removeEventListener("mousemove",this.handleMouseMove))}componentWillUnmount(){var e;this.isActive=!1,window.removeEventListener("mousemove",this.handleMouseMove),window.removeEventListener("resize",this.handleResize),clearTimeout(this.resizeTimeout),clearTimeout(this.scrollTimeout),(e=this.scrollParent)==null||e.removeEventListener("scroll",this.handleScroll)}get overlayStyles(){let{mouseOverSpotlight:e}=this.state,{disableOverlayClose:t,placement:n,styles:r}=this.props,o=r.overlay;return dr()&&(o=n==="center"?r.overlayLegacyCenter:r.overlayLegacy),{cursor:t?"default":"pointer",height:Ea(),pointerEvents:e?"none":"auto",...o}}get spotlightStyles(){var e,t,n;let{showSpotlight:r}=this.state,{disableScrollParentFix:o=!1,spotlightClicks:i,spotlightPadding:a=0,styles:s,target:c}=this.props,l=_e(c),p=Xr(l),u=ot(l),d=Ta(l,a,o);return{...dr()?s.spotlightLegacy:s.spotlight,height:Math.round(((e=p?.height)!=null?e:0)+a*2),left:Math.round(((t=p?.left)!=null?t:0)-a),opacity:r?1:0,pointerEvents:i?"none":"auto",position:u?"fixed":"absolute",top:d,transition:"opacity 0.2s",width:Math.round(((n=p?.width)!=null?n:0)+a*2)}}updateState(e){this.isActive&&this.setState(t=>({...t,...e}))}render(){let{showSpotlight:e}=this.state,{onClickOverlay:t,placement:n}=this.props,{hideSpotlight:r,overlayStyles:o,spotlightStyles:i}=this;if(r())return null;let a=n!=="center"&&e&&q(Ua,{styles:i});if(Qr()==="safari"){let{mixBlendMode:s,zIndex:c,...l}=o;a=q("div",{style:{...l}},a),delete o.backgroundColor}return q("div",{className:"react-joyride__overlay","data-test-id":"overlay",onClick:t,role:"presentation",style:o},a)}},za=class extends Le{constructor(){super(...arguments),_(this,"node",null)}componentDidMount(){let{id:e}=this.props;Ce()&&(this.node=document.createElement("div"),this.node.id=e,document.body.appendChild(this.node),tt||this.renderReact15())}componentDidUpdate(){Ce()&&(tt||this.renderReact15())}componentWillUnmount(){!Ce()||!this.node||(tt||ln(this.node),this.node.parentNode===document.body&&(document.body.removeChild(this.node),this.node=null))}renderReact15(){if(!Ce())return;let{children:e}=this.props;this.node&&cn(this,e,this.node)}renderReact16(){if(!Ce()||!tt)return null;let{children:e}=this.props;return this.node?mt(e,this.node):null}render(){return tt?this.renderReact16():null}},Ga=class{constructor(e,t){if(_(this,"element"),_(this,"options"),_(this,"canBeTabbed",n=>{let{tabIndex:r}=n;return r===null||r<0?!1:this.canHaveFocus(n)}),_(this,"canHaveFocus",n=>{let r=/input|select|textarea|button|object/,o=n.nodeName.toLowerCase();return(r.test(o)&&!n.getAttribute("disabled")||o==="a"&&!!n.getAttribute("href"))&&this.isVisible(n)}),_(this,"findValidTabElements",()=>[].slice.call(this.element.querySelectorAll("*"),0).filter(this.canBeTabbed)),_(this,"handleKeyDown",n=>{let{code:r="Tab"}=this.options;n.code===r&&this.interceptTab(n)}),_(this,"interceptTab",n=>{n.preventDefault();let r=this.findValidTabElements(),{shiftKey:o}=n;if(!r.length)return;let i=document.activeElement?r.indexOf(document.activeElement):0;i===-1||!o&&i+1===r.length?i=0:o&&i===0?i=r.length-1:i+=o?-1:1,r[i].focus()}),_(this,"isHidden",n=>{let r=n.offsetWidth<=0&&n.offsetHeight<=0,o=window.getComputedStyle(n);return r&&!n.innerHTML?!0:r&&o.getPropertyValue("overflow")!=="visible"||o.getPropertyValue("display")==="none"}),_(this,"isVisible",n=>{let r=n;for(;r;)if(r instanceof HTMLElement){if(r===document.body)break;if(this.isHidden(r))return!1;r=r.parentNode}return!0}),_(this,"removeScope",()=>{window.removeEventListener("keydown",this.handleKeyDown)}),_(this,"checkFocus",n=>{document.activeElement!==n&&(n.focus(),window.requestAnimationFrame(()=>this.checkFocus(n)))}),_(this,"setFocus",()=>{let{selector:n}=this.options;if(!n)return;let r=this.element.querySelector(n);r&&window.requestAnimationFrame(()=>this.checkFocus(r))}),!(e instanceof HTMLElement))throw new TypeError("Invalid parameter: element must be an HTMLElement");this.element=e,this.options=t,window.addEventListener("keydown",this.handleKeyDown,!1),this.setFocus()}},Ya=class extends Le{constructor(e){if(super(e),_(this,"beacon",null),_(this,"setBeaconRef",r=>{this.beacon=r}),e.beaconComponent)return;let t=document.head||document.getElementsByTagName("head")[0],n=document.createElement("style");n.id="joyride-beacon-animation",e.nonce&&n.setAttribute("nonce",e.nonce),n.appendChild(document.createTextNode(` - @keyframes joyride-beacon-inner { - 20% { - opacity: 0.9; - } - - 90% { - opacity: 0.7; - } - } - - @keyframes joyride-beacon-outer { - 0% { - transform: scale(1); - } - - 45% { - opacity: 0.7; - transform: scale(0.75); - } - - 100% { - opacity: 0.9; - transform: scale(1); - } - } - `)),t.appendChild(n)}componentDidMount(){let{shouldFocus:e}=this.props;C.domElement(this.beacon)||console.warn("beacon is not a valid DOM element"),setTimeout(()=>{C.domElement(this.beacon)&&e&&this.beacon.focus()},0)}componentWillUnmount(){let e=document.getElementById("joyride-beacon-animation");e?.parentNode&&e.parentNode.removeChild(e)}render(){let{beaconComponent:e,continuous:t,index:n,isLastStep:r,locale:o,onClickOrHover:i,size:a,step:s,styles:c}=this.props,l=C.string(o.open)?o.open:(0,ga.default)(o.open),p={"aria-label":l,onClick:i,onMouseEnter:i,ref:this.setBeaconRef,title:l},u;return e?u=q(e,{continuous:t,index:n,isLastStep:r,size:a,step:s,...p}):u=q("button",{key:"JoyrideBeacon",className:"react-joyride__beacon","data-test-id":"button-beacon",style:c.beacon,type:"button",...p},q("span",{style:c.beaconInner}),q("span",{style:c.beaconOuter})),u}};$a=qa;Ka=Va,Ja=class extends Le{constructor(){super(...arguments),_(this,"handleClickBack",e=>{e.preventDefault();let{helpers:t}=this.props;t.prev()}),_(this,"handleClickClose",e=>{e.preventDefault();let{helpers:t}=this.props;t.close("button_close")}),_(this,"handleClickPrimary",e=>{e.preventDefault();let{continuous:t,helpers:n}=this.props;if(!t){n.close("button_primary");return}n.next()}),_(this,"handleClickSkip",e=>{e.preventDefault();let{helpers:t}=this.props;t.skip()}),_(this,"getElementsProps",()=>{let{continuous:e,isLastStep:t,setTooltipRef:n,step:r}=this.props,o=Pe(r.locale.back),i=Pe(r.locale.close),a=Pe(r.locale.last),s=Pe(r.locale.next),c=Pe(r.locale.skip),l=e?s:i;return t&&(l=a),{backProps:{"aria-label":o,"data-action":"back",onClick:this.handleClickBack,role:"button",title:o},closeProps:{"aria-label":i,"data-action":"close",onClick:this.handleClickClose,role:"button",title:i},primaryProps:{"aria-label":l,"data-action":"primary",onClick:this.handleClickPrimary,role:"button",title:l},skipProps:{"aria-label":c,"data-action":"skip",onClick:this.handleClickSkip,role:"button",title:c},tooltipProps:{"aria-modal":!0,ref:n,role:"alertdialog"}}})}render(){let{continuous:e,index:t,isLastStep:n,setTooltipRef:r,size:o,step:i}=this.props,{beaconComponent:a,tooltipComponent:s,...c}=i,l;if(s){let p={...this.getElementsProps(),continuous:e,index:t,isLastStep:n,size:o,step:c,setTooltipRef:r};l=q(s,{...p})}else l=q(Ka,{...this.getElementsProps(),continuous:e,index:t,isLastStep:n,size:o,step:i});return l}},Xa=class extends Le{constructor(){super(...arguments),_(this,"scope",null),_(this,"tooltip",null),_(this,"handleClickHoverBeacon",e=>{let{step:t,store:n}=this.props;e.type==="mouseenter"&&t.event!=="hover"||n.update({lifecycle:k.TOOLTIP})}),_(this,"setTooltipRef",e=>{this.tooltip=e}),_(this,"setPopper",(e,t)=>{var n;let{action:r,lifecycle:o,step:i,store:a}=this.props;t==="wrapper"?a.setPopper("beacon",e):a.setPopper("tooltip",e),a.getPopper("beacon")&&a.getPopper("tooltip")&&o===k.INIT&&a.update({action:r,lifecycle:k.READY}),(n=i.floaterProps)!=null&&n.getPopper&&i.floaterProps.getPopper(e,t)}),_(this,"renderTooltip",e=>{let{continuous:t,helpers:n,index:r,size:o,step:i}=this.props;return q(Ja,{continuous:t,helpers:n,index:r,isLastStep:r+1===o,setTooltipRef:this.setTooltipRef,size:o,step:i,...e})})}componentDidMount(){let{debug:e,index:t}=this.props;Ae({title:`step:${t}`,data:[{key:"props",value:this.props}],debug:e})}componentDidUpdate(e){var t;let{action:n,callback:r,continuous:o,controlled:i,debug:a,helpers:s,index:c,lifecycle:l,status:p,step:u,store:d}=this.props,{changed:f,changedFrom:h}=Ot(e,this.props),b=s.info(),N=o&&n!==$.CLOSE&&(c>0||n===$.PREV),v=f("action")||f("index")||f("lifecycle")||f("status"),T=h("lifecycle",[k.TOOLTIP,k.INIT],k.INIT),m=f("action",[$.NEXT,$.PREV,$.SKIP,$.CLOSE]),g=i&&c===e.index;if(m&&(T||g)&&r({...b,index:e.index,lifecycle:k.COMPLETE,step:e.step,type:pe.STEP_AFTER}),u.placement==="center"&&p===j.RUNNING&&f("index")&&n!==$.START&&l===k.INIT&&d.update({lifecycle:k.READY}),v){let O=_e(u.target),B=!!O;B&&wa(O)?(h("status",j.READY,j.RUNNING)||h("lifecycle",k.INIT,k.READY))&&r({...b,step:u,type:pe.STEP_BEFORE}):(console.warn(B?"Target not visible":"Target not mounted",u),r({...b,type:pe.TARGET_NOT_FOUND,step:u}),i||d.update({index:c+(n===$.PREV?-1:1)}))}h("lifecycle",k.INIT,k.READY)&&d.update({lifecycle:pr(u)||N?k.TOOLTIP:k.BEACON}),f("index")&&Ae({title:`step:${l}`,data:[{key:"props",value:this.props}],debug:a}),f("lifecycle",k.BEACON)&&r({...b,step:u,type:pe.BEACON}),f("lifecycle",k.TOOLTIP)&&(r({...b,step:u,type:pe.TOOLTIP}),this.tooltip&&(this.scope=new Ga(this.tooltip,{selector:"[data-action=primary]"}),this.scope.setFocus())),h("lifecycle",[k.TOOLTIP,k.INIT],k.INIT)&&((t=this.scope)==null||t.removeScope(),d.cleanupPoppers())}componentWillUnmount(){var e;(e=this.scope)==null||e.removeScope()}get open(){let{lifecycle:e,step:t}=this.props;return pr(t)||e===k.TOOLTIP}render(){let{continuous:e,debug:t,index:n,nonce:r,shouldScroll:o,size:i,step:a}=this.props,s=_e(a.target);return!to(a)||!C.domElement(s)?null:q("div",{key:`JoyrideStep-${n}`,className:"react-joyride__step"},q(tn,{...a.floaterProps,component:this.renderTooltip,debug:t,getPopper:this.setPopper,id:`react-joyride-step-${n}`,open:this.open,placement:a.placement,target:a.target},q(Ya,{beaconComponent:a.beaconComponent,continuous:e,index:n,isLastStep:n+1===i,locale:a.locale,nonce:r,onClickOrHover:this.handleClickHoverBeacon,shouldFocus:o,size:i,step:a,styles:a.styles})))}},ro=class extends Le{constructor(e){super(e),_(this,"helpers"),_(this,"store"),_(this,"callback",a=>{let{callback:s}=this.props;C.function(s)&&s(a)}),_(this,"handleKeyboard",a=>{let{index:s,lifecycle:c}=this.state,{steps:l}=this.props,p=l[s];c===k.TOOLTIP&&a.code==="Escape"&&p&&!p.disableCloseOnEsc&&this.store.close("keyboard")}),_(this,"handleClickOverlay",()=>{let{index:a}=this.state,{steps:s}=this.props;Ue(this.props,s[a]).disableOverlayClose||this.helpers.close("overlay")}),_(this,"syncState",a=>{this.setState(a)});let{debug:t,getHelpers:n,run:r,stepIndex:o}=e;this.store=Ba({...e,controlled:r&&C.number(o)}),this.helpers=this.store.getHelpers();let{addListener:i}=this.store;Ae({title:"init",data:[{key:"props",value:this.props},{key:"state",value:this.state}],debug:t}),i(this.syncState),n&&n(this.helpers),this.state=this.store.getState()}componentDidMount(){if(!Ce())return;let{debug:e,disableCloseOnEsc:t,run:n,steps:r}=this.props,{start:o}=this.store;hr(r,e)&&n&&o(),t||document.body.addEventListener("keydown",this.handleKeyboard,{passive:!0})}componentDidUpdate(e,t){if(!Ce())return;let{action:n,controlled:r,index:o,lifecycle:i,status:a}=this.state,{debug:s,run:c,stepIndex:l,steps:p}=this.props,{stepIndex:u,steps:d}=e,{reset:f,setSteps:h,start:b,stop:N,update:v}=this.store,{changed:T}=Ot(e,this.props),{changed:m,changedFrom:g}=Ot(t,this.state),O=Ue(this.props,p[o]),B=!oe(d,p),P=C.number(l)&&T("stepIndex"),V=_e(O.target);if(B&&(hr(p,s)?h(p):console.warn("Steps are not valid",p)),T("run")&&(c?b(l):N()),P){let te=C.number(u)&&u=0?b:0,r===j.RUNNING&&Ra(b,{element:h,duration:a}).then(()=>{setTimeout(()=>{var T;(T=this.store.getPopper("tooltip"))==null||T.instance.update()},10)})}}render(){if(!Ce())return null;let{index:e,lifecycle:t,status:n}=this.state,{continuous:r=!1,debug:o=!1,nonce:i,scrollToFirstStep:a=!1,steps:s}=this.props,c=n===j.RUNNING,l={};if(c&&s[e]){let p=Ue(this.props,s[e]);l.step=q(Xa,{...this.state,callback:this.callback,continuous:r,debug:o,helpers:this.helpers,nonce:i,shouldScroll:!p.disableScrolling&&(e!==0||a),step:p,store:this.store}),l.overlay=q(za,{id:"react-joyride-portal"},q(Ha,{...p,continuous:r,debug:o,lifecycle:t,onClickOverlay:this.handleClickOverlay}))}return q("div",{className:"react-joyride"},l.step,l.overlay)}};_(ro,"defaultProps",La);Qa=ro,Za=ee.button` - all: unset; - box-sizing: border-box; - border: 0; - border-radius: 0.25rem; - cursor: pointer; - display: inline-flex; - align-items: center; - justify-content: center; - padding: 0 0.75rem; - background: ${({theme:e,variant:t})=>t==="primary"?e.color.secondary:t==="secondary"?e.color.lighter:t==="outline"?"transparent":t==="white"?e.color.lightest:e.color.secondary}; - color: ${({theme:e,variant:t})=>t==="primary"?e.color.lightest:t==="secondary"||t==="outline"?e.darkest:t==="white"?e.color.secondary:e.color.lightest}; - box-shadow: ${({variant:e})=>e==="secondary"||e==="outline"?"#D9E8F2 0 0 0 1px inset":"none"}; - height: 32px; - font-size: 0.8125rem; - font-weight: 700; - font-family: ${({theme:e})=>e.typography.fonts.base}; - transition: background-color, box-shadow, color, opacity; - transition-duration: 0.16s; - transition-timing-function: ease-in-out; - text-decoration: none; - - &:hover { - background-color: ${({theme:e,variant:t})=>t==="primary"?"#0b94eb":t==="secondary"?"#eef4f9":t==="outline"?"transparent":t==="white"?e.color.lightest:"#0b94eb"}; - color: ${({theme:e,variant:t})=>t==="primary"?e.color.lightest:t==="secondary"||t==="outline"?e.darkest:t==="white"?e.color.darkest:e.color.lightest}; - } - - &:focus { - box-shadow: ${({variant:e})=>e==="primary"?"inset 0 0 0 1px rgba(0, 0, 0, 0.2)":e==="secondary"||e==="outline"?"inset 0 0 0 1px #0b94eb":e==="white"?"none":"inset 0 0 0 2px rgba(0, 0, 0, 0.1)"}; - } -`,es=on(function({children:e,onClick:t,variant:n="primary",...r},o){return y.createElement(Za,{ref:o,onClick:t,variant:n,...r},e)}),ts=ee.div` - padding: 15px; - border-radius: 5px; -`,ns=ee.div` - display: flex; - flex-direction: column; - align-items: flex-start; -`,rs=ee.div` - display: flex; - align-items: center; - align-self: stretch; - justify-content: space-between; - margin: -5px -5px 5px 0; -`,os=ee.div` - line-height: 18px; - font-weight: 700; - font-size: 14px; - margin: 5px 5px 5px 0; -`,is=ee.p` - font-size: 14px; - line-height: 18px; - text-align: start; - text-wrap: balance; - margin: 0; - margin-top: 5px; -`,as=ee.div` - display: flex; - align-items: center; - justify-content: space-between; - margin-top: 15px; -`,ss=ee.span` - font-size: 13px; -`,ls=({index:e,size:t,step:n,closeProps:r,primaryProps:o,tooltipProps:i})=>(ae(()=>{let a=document.createElement("style");return a.id="#sb-onboarding-arrow-style",a.innerHTML=` - .__floater__arrow { container-type: size; } - .__floater__arrow span { background: ${gt.secondary}; } - .__floater__arrow span::before, .__floater__arrow span::after { - content: ''; - display: block; - width: 2px; - height: 2px; - background: ${gt.secondary}; - box-shadow: 0 0 0 2px ${gt.secondary}; - border-radius: 3px; - flex: 0 0 2px; - } - @container (min-height: 1px) { - .__floater__arrow span { flex-direction: column; } - } - `,document.head.appendChild(a),()=>{let s=document.querySelector("#sb-onboarding-arrow-style");s&&s.remove()}},[]),y.createElement(ts,{...i,style:n.styles?.tooltip},y.createElement(ns,null,y.createElement(rs,null,n.title&&y.createElement(os,null,n.title),y.createElement(hn,{...r,onClick:r.onClick,variant:"solid"},y.createElement(Sn,null))),y.createElement(is,null,n.content)),y.createElement(as,{id:"buttonNext"},y.createElement(ss,null,e+1," of ",t),!n.hideNextButton&&y.createElement(es,{...o,onClick:n.onNextButtonClick||o.onClick,variant:"white"},e+1===t?"Done":"Next"))));us=Xe({from:{opacity:0},to:{opacity:1}}),oo=Xe({from:{transform:"translate(0, 20px)",opacity:0},to:{transform:"translate(0, 0)",opacity:1}}),ps=Xe({from:{opacity:0,transform:"scale(0.8)"},to:{opacity:1,transform:"scale(1)"}}),ds=Xe({"0%":{transform:"rotate(0deg)"},"100%":{transform:"rotate(360deg)"}}),fs=ee.div(({visible:e})=>({position:"fixed",top:0,left:0,right:0,bottom:0,display:"flex",opacity:e?1:0,alignItems:"center",justifyContent:"center",zIndex:1e3,transition:"opacity 1s 0.5s"})),hs=ee.div({position:"absolute",top:0,left:0,right:0,bottom:0,animation:`${us} 2s`,background:` - radial-gradient(90% 90%, #ff4785 0%, #db5698 30%, #1ea7fdcc 100%), - radial-gradient(circle, #ff4785 0%, transparent 80%), - radial-gradient(circle at 30% 40%, #fc521f99 0%, #fc521f66 20%, transparent 40%), - radial-gradient(circle at 75% 75%, #fc521f99 0%, #fc521f77 18%, transparent 30%)`,"&::before":{opacity:.5,background:` - radial-gradient(circle at 30% 40%, #fc521f99 0%, #fc521f66 10%, transparent 20%), - radial-gradient(circle at 75% 75%, #fc521f99 0%, #fc521f77 8%, transparent 20%)`,content:'""',position:"absolute",top:"-50vw",left:"-50vh",transform:"translate(-50%, -50%)",width:"calc(100vw + 100vh)",height:"calc(100vw + 100vh)",animation:`${ds} 12s linear infinite`}}),ms=ee.div(({visible:e})=>({position:"absolute",top:"50%",left:"50%",transform:"translate(-50%, -50%)",color:"white",textAlign:"center",width:"90vw",minWidth:290,maxWidth:410,opacity:e?1:0,transition:"opacity 0.5s",h1:{fontSize:45,fontWeight:"bold",animation:`${oo} 1.5s 1s backwards`}})),ys=ee.div({display:"flex",marginTop:40,div:{display:"flex",flexBasis:"33.33%",flexDirection:"column",alignItems:"center",animation:`${oo} 1s backwards`,"&:nth-child(1)":{animationDelay:"2s"},"&:nth-child(2)":{animationDelay:"2.5s"},"&:nth-child(3)":{animationDelay:"3s"}},svg:{marginBottom:10}}),gs=ee.button({display:"inline-flex",position:"relative",alignItems:"center",justifyContent:"center",marginTop:40,width:48,height:48,padding:0,borderRadius:"50%",border:0,outline:"none",background:"rgba(255, 255, 255, 0.3)",cursor:"pointer",transition:"background 0.2s",animation:`${ps} 1.5s 4s backwards`,"&:hover, &:focus":{background:"rgba(255, 255, 255, 0.4)"}}),bs=ee(En)({width:30,color:"white"}),yr=ee.svg(({progress:e})=>({position:"absolute",top:-1,left:-1,width:"50px!important",height:"50px!important",transform:"rotate(-90deg)",color:"white",circle:{r:"24",cx:"25",cy:"25",fill:"transparent",stroke:e?"currentColor":"transparent",strokeWidth:"1",strokeLinecap:"round",strokeDasharray:Math.PI*48}})),vs=({onDismiss:e,duration:t=6e3})=>{let[n,r]=ue(-4e5/t),[o,i]=ue(!0),a=n>=100,s=Je(()=>{i(!1);let c=setTimeout(e,1500);return()=>clearTimeout(c)},[e]);return ae(()=>{if(!t)return;let c=1e3/50,l=100/(t/c),p=setInterval(()=>r(u=>u+l),c);return()=>clearInterval(p)},[t]),ae(()=>{a&&s()},[a,s]),y.createElement(fs,{visible:o},y.createElement(hs,null),y.createElement(ms,{visible:o},y.createElement("h1",null,"Meet your new frontend workshop"),y.createElement(ys,null,y.createElement("div",null,y.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"33",height:"32"},y.createElement("path",{d:"M4.06 0H32.5v28.44h-3.56V32H.5V3.56h3.56V0Zm21.33 7.11H4.06v21.33h21.33V7.11Z",fill:"currentColor"})),"Development"),y.createElement("div",null,y.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},y.createElement("path",{d:"M15.95 32c-1.85 0-3.1-1.55-3.1-3.54 0-1.1.45-2.78 1.35-5.03.9-2.3 1.35-4.51 1.35-6.81a22.21 22.21 0 0 0-5.1 3.67c-2.5 2.47-4.95 4.9-7.55 4.9-1.6 0-2.9-1.1-2.9-2.43 0-1.46 1.35-2.91 4.3-3.62 1.45-.36 3.1-.75 4.95-1.06 1.8-.31 3.8-1.02 5.9-2.08a23.77 23.77 0 0 0-6.1-2.12C5.3 13.18 2.3 12.6 1 11.28.35 10.6 0 9.9 0 9.14 0 7.82 1.2 6.8 2.95 6.8c2.65 0 5.75 3.1 7.95 5.3 1.1 1.1 2.65 2.21 4.65 3.27v-.57c0-1.77-.15-3.23-.55-4.3-.8-2.11-2.05-5.43-2.05-6.97 0-2.04 1.3-3.54 3.1-3.54 1.75 0 3.1 1.41 3.1 3.54 0 1.06-.45 2.78-1.35 5.12-.9 2.35-1.35 4.6-1.35 6.72 2.85-1.59 2.5-1.41 4.95-3.5 2.35-2.29 4-3.7 4.9-4.23.95-.58 1.9-.84 2.9-.84 1.6 0 2.8.97 2.8 2.34 0 1.5-1.25 2.78-4.15 3.62-1.4.4-3.05.75-4.9 1.1-1.9.36-3.9 1.07-6.1 2.13a23.3 23.3 0 0 0 5.95 2.08c3.65.7 6.75 1.32 8.15 2.6.7.67 1.05 1.33 1.05 2.08 0 1.33-1.2 2.43-2.95 2.43-2.95 0-6.75-4.15-8.2-5.61-.7-.7-2.2-1.72-4.4-2.96v.57c0 1.9.45 4.03 1.3 6.32.85 2.3 1.3 3.94 1.3 4.95 0 2.08-1.35 3.54-3.1 3.54Z",fill:"currentColor"})),"Testing"),y.createElement("div",null,y.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"33",height:"32"},y.createElement("path",{d:"M.5 16a16 16 0 1 1 32 0 16 16 0 0 1-32 0Zm16 12.44A12.44 12.44 0 0 1 4.3 13.53a8 8 0 1 0 9.73-9.73 12.44 12.44 0 1 1 2.47 24.64ZM12.06 16a4.44 4.44 0 1 1 0-8.89 4.44 4.44 0 0 1 0 8.89Z",fill:"currentColor",fillRule:"evenodd"})),"Documentation")),y.createElement(gs,{onClick:s},y.createElement(bs,null),y.createElement(yr,{xmlns:"http://www.w3.org/2000/svg"},y.createElement("circle",null)),y.createElement(yr,{xmlns:"http://www.w3.org/2000/svg",progress:!0},y.createElement("circle",{strokeDashoffset:Math.PI*48*(1-Math.max(0,Math.min(n,100))/100)})))))},Es=ee.span(({theme:e})=>({display:"inline-flex",borderRadius:3,padding:"0 5px",marginBottom:-2,opacity:.8,fontFamily:e.typography.fonts.mono,fontSize:11,border:e.base==="dark"?e.color.darkest:e.color.lightest,color:e.base==="dark"?e.color.lightest:e.color.darkest,backgroundColor:e.base==="dark"?"black":e.color.light,boxSizing:"border-box",lineHeight:"17px"})),Ss=ee.div(({theme:e})=>({background:e.background.content,borderRadius:3,marginTop:15,padding:10,fontSize:e.typography.size.s1,".linenumber":{opacity:.5}})),Os=Lt()});X();Q();Z();X();Q();Z();ht();yt();Nt();X();Q();Z();var Lc=__STORYBOOK_API__,{ActiveTabs:Mc,Consumer:jc,ManagerContext:Dc,Provider:Fc,RequestResponseError:Bc,addons:fn,combineParameters:Wc,controlOrMetaKey:Uc,controlOrMetaSymbol:Hc,eventMatchesShortcut:zc,eventToShortcut:Gc,experimental_MockUniversalStore:Yc,experimental_UniversalStore:qc,experimental_requestResponse:$c,experimental_useUniversalStore:Vc,isMacLike:Kc,isShortcutTaken:Jc,keyToSymbol:Xc,merge:Qc,mockChannel:Zc,optionOrAltSymbol:eu,shortcutMatchesShortcut:tu,shortcutToHumanString:nu,types:ru,useAddonState:ou,useArgTypes:iu,useArgs:au,useChannel:su,useGlobalTypes:lu,useGlobals:cu,useParameter:uu,useSharedState:pu,useStoryPrepared:du,useStorybookApi:fu,useStorybookState:hu}=__STORYBOOK_API__;var Ts=sn(()=>Promise.resolve().then(()=>(ao(),io)));fn.register("@storybook/addon-onboarding",async e=>{let t=e.getUrlState(),n=t.path==="/onboarding"||t.queryParams.onboarding==="true";e.once(pn,()=>{if(!(e.getData("example-button--primary")||document.getElementById("example-button--primary"))){console.warn("[@storybook/addon-onboarding] It seems like you have finished the onboarding experience in Storybook! Therefore this addon is not necessary anymore and will not be loaded. You are free to remove it from your project. More info: https://github.com/storybookjs/storybook/tree/next/code/addons/onboarding#uninstalling");return}if(!n||window.innerWidth<730)return;e.togglePanel(!0),e.togglePanelPosition("bottom"),e.setSelectedPanel("addon-controls");let r=document.createElement("div");r.id="storybook-addon-onboarding",document.body.appendChild(r),Me.render(y.createElement(rn,{fallback:y.createElement("div",null)},y.createElement(Ts,{api:e})),r)})});})(); -}catch(e){ console.error("[Storybook] One of your manager-entries failed: " + import.meta.url, e); } diff --git a/docs/storybook/sb-addons/storybook-core-core-server-presets-0/common-manager-bundle.js b/docs/storybook/sb-addons/storybook-core-core-server-presets-0/common-manager-bundle.js deleted file mode 100644 index bd02337..0000000 --- a/docs/storybook/sb-addons/storybook-core-core-server-presets-0/common-manager-bundle.js +++ /dev/null @@ -1,3 +0,0 @@ -try{ -(()=>{var g=__STORYBOOK_API__,{ActiveTabs:T,Consumer:O,ManagerContext:f,Provider:v,RequestResponseError:x,addons:n,combineParameters:A,controlOrMetaKey:k,controlOrMetaSymbol:M,eventMatchesShortcut:P,eventToShortcut:R,experimental_MockUniversalStore:w,experimental_UniversalStore:C,experimental_requestResponse:G,experimental_useUniversalStore:I,isMacLike:K,isShortcutTaken:U,keyToSymbol:q,merge:B,mockChannel:F,optionOrAltSymbol:Y,shortcutMatchesShortcut:j,shortcutToHumanString:E,types:H,useAddonState:L,useArgTypes:N,useArgs:z,useChannel:D,useGlobalTypes:J,useGlobals:Q,useParameter:V,useSharedState:W,useStoryPrepared:X,useStorybookApi:Z,useStorybookState:$}=__STORYBOOK_API__;var S=(()=>{let e;return typeof window<"u"?e=window:typeof globalThis<"u"?e=globalThis:typeof window<"u"?e=window:typeof self<"u"?e=self:e={},e})(),c="tag-filters",p="static-filter";n.register(c,e=>{let i=Object.entries(S.TAGS_OPTIONS??{}).reduce((t,r)=>{let[o,u]=r;return u.excludeFromSidebar&&(t[o]=!0),t},{});e.experimental_setFilter(p,t=>{let r=t.tags??[];return(r.includes("dev")||t.type==="docs")&&r.filter(o=>i[o]).length===0})});})(); -}catch(e){ console.error("[Storybook] One of your manager-entries failed: " + import.meta.url, e); } diff --git a/docs/storybook/sb-common-assets/favicon.svg b/docs/storybook/sb-common-assets/favicon.svg deleted file mode 100644 index 571f90f..0000000 --- a/docs/storybook/sb-common-assets/favicon.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/docs/storybook/sb-common-assets/nunito-sans-bold-italic.woff2 b/docs/storybook/sb-common-assets/nunito-sans-bold-italic.woff2 deleted file mode 100644 index 33563d8..0000000 Binary files a/docs/storybook/sb-common-assets/nunito-sans-bold-italic.woff2 and /dev/null differ diff --git a/docs/storybook/sb-common-assets/nunito-sans-bold.woff2 b/docs/storybook/sb-common-assets/nunito-sans-bold.woff2 deleted file mode 100644 index 19fcc94..0000000 Binary files a/docs/storybook/sb-common-assets/nunito-sans-bold.woff2 and /dev/null differ diff --git a/docs/storybook/sb-common-assets/nunito-sans-italic.woff2 b/docs/storybook/sb-common-assets/nunito-sans-italic.woff2 deleted file mode 100644 index 827096d..0000000 Binary files a/docs/storybook/sb-common-assets/nunito-sans-italic.woff2 and /dev/null differ diff --git a/docs/storybook/sb-common-assets/nunito-sans-regular.woff2 b/docs/storybook/sb-common-assets/nunito-sans-regular.woff2 deleted file mode 100644 index c527ba4..0000000 Binary files a/docs/storybook/sb-common-assets/nunito-sans-regular.woff2 and /dev/null differ diff --git a/docs/storybook/sb-manager/globals-module-info.js b/docs/storybook/sb-manager/globals-module-info.js deleted file mode 100644 index fcc89f5..0000000 --- a/docs/storybook/sb-manager/globals-module-info.js +++ /dev/null @@ -1,1051 +0,0 @@ -import ESM_COMPAT_Module from "node:module"; -import { fileURLToPath as ESM_COMPAT_fileURLToPath } from 'node:url'; -import { dirname as ESM_COMPAT_dirname } from 'node:path'; -const __filename = ESM_COMPAT_fileURLToPath(import.meta.url); -const __dirname = ESM_COMPAT_dirname(__filename); -const require = ESM_COMPAT_Module.createRequire(import.meta.url); - -// src/manager/globals/exports.ts -var t = { - react: [ - "Children", - "Component", - "Fragment", - "Profiler", - "PureComponent", - "StrictMode", - "Suspense", - "__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED", - "cloneElement", - "createContext", - "createElement", - "createFactory", - "createRef", - "forwardRef", - "isValidElement", - "lazy", - "memo", - "startTransition", - "unstable_act", - "useCallback", - "useContext", - "useDebugValue", - "useDeferredValue", - "useEffect", - "useId", - "useImperativeHandle", - "useInsertionEffect", - "useLayoutEffect", - "useMemo", - "useReducer", - "useRef", - "useState", - "useSyncExternalStore", - "useTransition", - "version" - ], - "react-dom": [ - "__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED", - "createPortal", - "createRoot", - "findDOMNode", - "flushSync", - "hydrate", - "hydrateRoot", - "render", - "unmountComponentAtNode", - "unstable_batchedUpdates", - "unstable_renderSubtreeIntoContainer", - "version" - ], - "react-dom/client": ["createRoot", "hydrateRoot"], - "@storybook/icons": [ - "AccessibilityAltIcon", - "AccessibilityIcon", - "AccessibilityIgnoredIcon", - "AddIcon", - "AdminIcon", - "AlertAltIcon", - "AlertIcon", - "AlignLeftIcon", - "AlignRightIcon", - "AppleIcon", - "ArrowBottomLeftIcon", - "ArrowBottomRightIcon", - "ArrowDownIcon", - "ArrowLeftIcon", - "ArrowRightIcon", - "ArrowSolidDownIcon", - "ArrowSolidLeftIcon", - "ArrowSolidRightIcon", - "ArrowSolidUpIcon", - "ArrowTopLeftIcon", - "ArrowTopRightIcon", - "ArrowUpIcon", - "AzureDevOpsIcon", - "BackIcon", - "BasketIcon", - "BatchAcceptIcon", - "BatchDenyIcon", - "BeakerIcon", - "BellIcon", - "BitbucketIcon", - "BoldIcon", - "BookIcon", - "BookmarkHollowIcon", - "BookmarkIcon", - "BottomBarIcon", - "BottomBarToggleIcon", - "BoxIcon", - "BranchIcon", - "BrowserIcon", - "ButtonIcon", - "CPUIcon", - "CalendarIcon", - "CameraIcon", - "CameraStabilizeIcon", - "CategoryIcon", - "CertificateIcon", - "ChangedIcon", - "ChatIcon", - "CheckIcon", - "ChevronDownIcon", - "ChevronLeftIcon", - "ChevronRightIcon", - "ChevronSmallDownIcon", - "ChevronSmallLeftIcon", - "ChevronSmallRightIcon", - "ChevronSmallUpIcon", - "ChevronUpIcon", - "ChromaticIcon", - "ChromeIcon", - "CircleHollowIcon", - "CircleIcon", - "ClearIcon", - "CloseAltIcon", - "CloseIcon", - "CloudHollowIcon", - "CloudIcon", - "CogIcon", - "CollapseIcon", - "CommandIcon", - "CommentAddIcon", - "CommentIcon", - "CommentsIcon", - "CommitIcon", - "CompassIcon", - "ComponentDrivenIcon", - "ComponentIcon", - "ContrastIcon", - "ContrastIgnoredIcon", - "ControlsIcon", - "CopyIcon", - "CreditIcon", - "CrossIcon", - "DashboardIcon", - "DatabaseIcon", - "DeleteIcon", - "DiamondIcon", - "DirectionIcon", - "DiscordIcon", - "DocChartIcon", - "DocListIcon", - "DocumentIcon", - "DownloadIcon", - "DragIcon", - "EditIcon", - "EllipsisIcon", - "EmailIcon", - "ExpandAltIcon", - "ExpandIcon", - "EyeCloseIcon", - "EyeIcon", - "FaceHappyIcon", - "FaceNeutralIcon", - "FaceSadIcon", - "FacebookIcon", - "FailedIcon", - "FastForwardIcon", - "FigmaIcon", - "FilterIcon", - "FlagIcon", - "FolderIcon", - "FormIcon", - "GDriveIcon", - "GithubIcon", - "GitlabIcon", - "GlobeIcon", - "GoogleIcon", - "GraphBarIcon", - "GraphLineIcon", - "GraphqlIcon", - "GridAltIcon", - "GridIcon", - "GrowIcon", - "HeartHollowIcon", - "HeartIcon", - "HomeIcon", - "HourglassIcon", - "InfoIcon", - "ItalicIcon", - "JumpToIcon", - "KeyIcon", - "LightningIcon", - "LightningOffIcon", - "LinkBrokenIcon", - "LinkIcon", - "LinkedinIcon", - "LinuxIcon", - "ListOrderedIcon", - "ListUnorderedIcon", - "LocationIcon", - "LockIcon", - "MarkdownIcon", - "MarkupIcon", - "MediumIcon", - "MemoryIcon", - "MenuIcon", - "MergeIcon", - "MirrorIcon", - "MobileIcon", - "MoonIcon", - "NutIcon", - "OutboxIcon", - "OutlineIcon", - "PaintBrushIcon", - "PaperClipIcon", - "ParagraphIcon", - "PassedIcon", - "PhoneIcon", - "PhotoDragIcon", - "PhotoIcon", - "PhotoStabilizeIcon", - "PinAltIcon", - "PinIcon", - "PlayAllHollowIcon", - "PlayBackIcon", - "PlayHollowIcon", - "PlayIcon", - "PlayNextIcon", - "PlusIcon", - "PointerDefaultIcon", - "PointerHandIcon", - "PowerIcon", - "PrintIcon", - "ProceedIcon", - "ProfileIcon", - "PullRequestIcon", - "QuestionIcon", - "RSSIcon", - "RedirectIcon", - "ReduxIcon", - "RefreshIcon", - "ReplyIcon", - "RepoIcon", - "RequestChangeIcon", - "RewindIcon", - "RulerIcon", - "SaveIcon", - "SearchIcon", - "ShareAltIcon", - "ShareIcon", - "ShieldIcon", - "SideBySideIcon", - "SidebarAltIcon", - "SidebarAltToggleIcon", - "SidebarIcon", - "SidebarToggleIcon", - "SpeakerIcon", - "StackedIcon", - "StarHollowIcon", - "StarIcon", - "StatusFailIcon", - "StatusIcon", - "StatusPassIcon", - "StatusWarnIcon", - "StickerIcon", - "StopAltHollowIcon", - "StopAltIcon", - "StopIcon", - "StorybookIcon", - "StructureIcon", - "SubtractIcon", - "SunIcon", - "SupportIcon", - "SwitchAltIcon", - "SyncIcon", - "TabletIcon", - "ThumbsUpIcon", - "TimeIcon", - "TimerIcon", - "TransferIcon", - "TrashIcon", - "TwitterIcon", - "TypeIcon", - "UbuntuIcon", - "UndoIcon", - "UnfoldIcon", - "UnlockIcon", - "UnpinIcon", - "UploadIcon", - "UserAddIcon", - "UserAltIcon", - "UserIcon", - "UsersIcon", - "VSCodeIcon", - "VerifiedIcon", - "VideoIcon", - "WandIcon", - "WatchIcon", - "WindowsIcon", - "WrenchIcon", - "XIcon", - "YoutubeIcon", - "ZoomIcon", - "ZoomOutIcon", - "ZoomResetIcon", - "iconList" - ], - "storybook/internal/components": [ - "A", - "ActionBar", - "AddonPanel", - "Badge", - "Bar", - "Blockquote", - "Button", - "ClipboardCode", - "Code", - "DL", - "Div", - "DocumentWrapper", - "EmptyTabContent", - "ErrorFormatter", - "FlexBar", - "Form", - "H1", - "H2", - "H3", - "H4", - "H5", - "H6", - "HR", - "IconButton", - "IconButtonSkeleton", - "Icons", - "Img", - "LI", - "Link", - "ListItem", - "Loader", - "Modal", - "OL", - "P", - "Placeholder", - "Pre", - "ProgressSpinner", - "ResetWrapper", - "ScrollArea", - "Separator", - "Spaced", - "Span", - "StorybookIcon", - "StorybookLogo", - "Symbols", - "SyntaxHighlighter", - "TT", - "TabBar", - "TabButton", - "TabWrapper", - "Table", - "Tabs", - "TabsState", - "TooltipLinkList", - "TooltipMessage", - "TooltipNote", - "UL", - "WithTooltip", - "WithTooltipPure", - "Zoom", - "codeCommon", - "components", - "createCopyToClipboardFunction", - "getStoryHref", - "icons", - "interleaveSeparators", - "nameSpaceClassNames", - "resetComponents", - "withReset" - ], - "@storybook/components": [ - "A", - "ActionBar", - "AddonPanel", - "Badge", - "Bar", - "Blockquote", - "Button", - "ClipboardCode", - "Code", - "DL", - "Div", - "DocumentWrapper", - "EmptyTabContent", - "ErrorFormatter", - "FlexBar", - "Form", - "H1", - "H2", - "H3", - "H4", - "H5", - "H6", - "HR", - "IconButton", - "IconButtonSkeleton", - "Icons", - "Img", - "LI", - "Link", - "ListItem", - "Loader", - "Modal", - "OL", - "P", - "Placeholder", - "Pre", - "ProgressSpinner", - "ResetWrapper", - "ScrollArea", - "Separator", - "Spaced", - "Span", - "StorybookIcon", - "StorybookLogo", - "Symbols", - "SyntaxHighlighter", - "TT", - "TabBar", - "TabButton", - "TabWrapper", - "Table", - "Tabs", - "TabsState", - "TooltipLinkList", - "TooltipMessage", - "TooltipNote", - "UL", - "WithTooltip", - "WithTooltipPure", - "Zoom", - "codeCommon", - "components", - "createCopyToClipboardFunction", - "getStoryHref", - "icons", - "interleaveSeparators", - "nameSpaceClassNames", - "resetComponents", - "withReset" - ], - "@storybook/core/components": [ - "A", - "ActionBar", - "AddonPanel", - "Badge", - "Bar", - "Blockquote", - "Button", - "ClipboardCode", - "Code", - "DL", - "Div", - "DocumentWrapper", - "EmptyTabContent", - "ErrorFormatter", - "FlexBar", - "Form", - "H1", - "H2", - "H3", - "H4", - "H5", - "H6", - "HR", - "IconButton", - "IconButtonSkeleton", - "Icons", - "Img", - "LI", - "Link", - "ListItem", - "Loader", - "Modal", - "OL", - "P", - "Placeholder", - "Pre", - "ProgressSpinner", - "ResetWrapper", - "ScrollArea", - "Separator", - "Spaced", - "Span", - "StorybookIcon", - "StorybookLogo", - "Symbols", - "SyntaxHighlighter", - "TT", - "TabBar", - "TabButton", - "TabWrapper", - "Table", - "Tabs", - "TabsState", - "TooltipLinkList", - "TooltipMessage", - "TooltipNote", - "UL", - "WithTooltip", - "WithTooltipPure", - "Zoom", - "codeCommon", - "components", - "createCopyToClipboardFunction", - "getStoryHref", - "icons", - "interleaveSeparators", - "nameSpaceClassNames", - "resetComponents", - "withReset" - ], - "storybook/internal/manager-api": [ - "ActiveTabs", - "Consumer", - "ManagerContext", - "Provider", - "RequestResponseError", - "addons", - "combineParameters", - "controlOrMetaKey", - "controlOrMetaSymbol", - "eventMatchesShortcut", - "eventToShortcut", - "experimental_MockUniversalStore", - "experimental_UniversalStore", - "experimental_requestResponse", - "experimental_useUniversalStore", - "isMacLike", - "isShortcutTaken", - "keyToSymbol", - "merge", - "mockChannel", - "optionOrAltSymbol", - "shortcutMatchesShortcut", - "shortcutToHumanString", - "types", - "useAddonState", - "useArgTypes", - "useArgs", - "useChannel", - "useGlobalTypes", - "useGlobals", - "useParameter", - "useSharedState", - "useStoryPrepared", - "useStorybookApi", - "useStorybookState" - ], - "@storybook/manager-api": [ - "ActiveTabs", - "Consumer", - "ManagerContext", - "Provider", - "RequestResponseError", - "addons", - "combineParameters", - "controlOrMetaKey", - "controlOrMetaSymbol", - "eventMatchesShortcut", - "eventToShortcut", - "experimental_MockUniversalStore", - "experimental_UniversalStore", - "experimental_requestResponse", - "experimental_useUniversalStore", - "isMacLike", - "isShortcutTaken", - "keyToSymbol", - "merge", - "mockChannel", - "optionOrAltSymbol", - "shortcutMatchesShortcut", - "shortcutToHumanString", - "types", - "useAddonState", - "useArgTypes", - "useArgs", - "useChannel", - "useGlobalTypes", - "useGlobals", - "useParameter", - "useSharedState", - "useStoryPrepared", - "useStorybookApi", - "useStorybookState" - ], - "@storybook/core/manager-api": [ - "ActiveTabs", - "Consumer", - "ManagerContext", - "Provider", - "RequestResponseError", - "addons", - "combineParameters", - "controlOrMetaKey", - "controlOrMetaSymbol", - "eventMatchesShortcut", - "eventToShortcut", - "experimental_MockUniversalStore", - "experimental_UniversalStore", - "experimental_requestResponse", - "experimental_useUniversalStore", - "isMacLike", - "isShortcutTaken", - "keyToSymbol", - "merge", - "mockChannel", - "optionOrAltSymbol", - "shortcutMatchesShortcut", - "shortcutToHumanString", - "types", - "useAddonState", - "useArgTypes", - "useArgs", - "useChannel", - "useGlobalTypes", - "useGlobals", - "useParameter", - "useSharedState", - "useStoryPrepared", - "useStorybookApi", - "useStorybookState" - ], - "storybook/internal/router": [ - "BaseLocationProvider", - "DEEPLY_EQUAL", - "Link", - "Location", - "LocationProvider", - "Match", - "Route", - "buildArgsParam", - "deepDiff", - "getMatch", - "parsePath", - "queryFromLocation", - "stringifyQuery", - "useNavigate" - ], - "@storybook/router": [ - "BaseLocationProvider", - "DEEPLY_EQUAL", - "Link", - "Location", - "LocationProvider", - "Match", - "Route", - "buildArgsParam", - "deepDiff", - "getMatch", - "parsePath", - "queryFromLocation", - "stringifyQuery", - "useNavigate" - ], - "@storybook/core/router": [ - "BaseLocationProvider", - "DEEPLY_EQUAL", - "Link", - "Location", - "LocationProvider", - "Match", - "Route", - "buildArgsParam", - "deepDiff", - "getMatch", - "parsePath", - "queryFromLocation", - "stringifyQuery", - "useNavigate" - ], - "storybook/internal/theming": [ - "CacheProvider", - "ClassNames", - "Global", - "ThemeProvider", - "background", - "color", - "convert", - "create", - "createCache", - "createGlobal", - "createReset", - "css", - "darken", - "ensure", - "ignoreSsrWarning", - "isPropValid", - "jsx", - "keyframes", - "lighten", - "styled", - "themes", - "typography", - "useTheme", - "withTheme" - ], - "@storybook/theming": [ - "CacheProvider", - "ClassNames", - "Global", - "ThemeProvider", - "background", - "color", - "convert", - "create", - "createCache", - "createGlobal", - "createReset", - "css", - "darken", - "ensure", - "ignoreSsrWarning", - "isPropValid", - "jsx", - "keyframes", - "lighten", - "styled", - "themes", - "typography", - "useTheme", - "withTheme" - ], - "@storybook/core/theming": [ - "CacheProvider", - "ClassNames", - "Global", - "ThemeProvider", - "background", - "color", - "convert", - "create", - "createCache", - "createGlobal", - "createReset", - "css", - "darken", - "ensure", - "ignoreSsrWarning", - "isPropValid", - "jsx", - "keyframes", - "lighten", - "styled", - "themes", - "typography", - "useTheme", - "withTheme" - ], - "storybook/internal/theming/create": ["create", "themes"], - "@storybook/theming/create": ["create", "themes"], - "@storybook/core/theming/create": ["create", "themes"], - "storybook/internal/channels": [ - "Channel", - "HEARTBEAT_INTERVAL", - "HEARTBEAT_MAX_LATENCY", - "PostMessageTransport", - "WebsocketTransport", - "createBrowserChannel" - ], - "@storybook/channels": [ - "Channel", - "HEARTBEAT_INTERVAL", - "HEARTBEAT_MAX_LATENCY", - "PostMessageTransport", - "WebsocketTransport", - "createBrowserChannel" - ], - "@storybook/core/channels": [ - "Channel", - "HEARTBEAT_INTERVAL", - "HEARTBEAT_MAX_LATENCY", - "PostMessageTransport", - "WebsocketTransport", - "createBrowserChannel" - ], - "storybook/internal/core-errors": [ - "ARGTYPES_INFO_REQUEST", - "ARGTYPES_INFO_RESPONSE", - "CHANNEL_CREATED", - "CHANNEL_WS_DISCONNECT", - "CONFIG_ERROR", - "CREATE_NEW_STORYFILE_REQUEST", - "CREATE_NEW_STORYFILE_RESPONSE", - "CURRENT_STORY_WAS_SET", - "DOCS_PREPARED", - "DOCS_RENDERED", - "FILE_COMPONENT_SEARCH_REQUEST", - "FILE_COMPONENT_SEARCH_RESPONSE", - "FORCE_REMOUNT", - "FORCE_RE_RENDER", - "GLOBALS_UPDATED", - "NAVIGATE_URL", - "PLAY_FUNCTION_THREW_EXCEPTION", - "PRELOAD_ENTRIES", - "PREVIEW_BUILDER_PROGRESS", - "PREVIEW_KEYDOWN", - "REGISTER_SUBSCRIPTION", - "REQUEST_WHATS_NEW_DATA", - "RESET_STORY_ARGS", - "RESULT_WHATS_NEW_DATA", - "SAVE_STORY_REQUEST", - "SAVE_STORY_RESPONSE", - "SELECT_STORY", - "SET_CONFIG", - "SET_CURRENT_STORY", - "SET_FILTER", - "SET_GLOBALS", - "SET_INDEX", - "SET_STORIES", - "SET_WHATS_NEW_CACHE", - "SHARED_STATE_CHANGED", - "SHARED_STATE_SET", - "STORIES_COLLAPSE_ALL", - "STORIES_EXPAND_ALL", - "STORY_ARGS_UPDATED", - "STORY_CHANGED", - "STORY_ERRORED", - "STORY_FINISHED", - "STORY_INDEX_INVALIDATED", - "STORY_MISSING", - "STORY_PREPARED", - "STORY_RENDERED", - "STORY_RENDER_PHASE_CHANGED", - "STORY_SPECIFIED", - "STORY_THREW_EXCEPTION", - "STORY_UNCHANGED", - "TELEMETRY_ERROR", - "TESTING_MODULE_CANCEL_TEST_RUN_REQUEST", - "TESTING_MODULE_CANCEL_TEST_RUN_RESPONSE", - "TESTING_MODULE_CRASH_REPORT", - "TESTING_MODULE_PROGRESS_REPORT", - "TESTING_MODULE_RUN_ALL_REQUEST", - "TESTING_MODULE_RUN_REQUEST", - "TOGGLE_WHATS_NEW_NOTIFICATIONS", - "UNHANDLED_ERRORS_WHILE_PLAYING", - "UPDATE_GLOBALS", - "UPDATE_QUERY_PARAMS", - "UPDATE_STORY_ARGS" - ], - "@storybook/core-events": [ - "ARGTYPES_INFO_REQUEST", - "ARGTYPES_INFO_RESPONSE", - "CHANNEL_CREATED", - "CHANNEL_WS_DISCONNECT", - "CONFIG_ERROR", - "CREATE_NEW_STORYFILE_REQUEST", - "CREATE_NEW_STORYFILE_RESPONSE", - "CURRENT_STORY_WAS_SET", - "DOCS_PREPARED", - "DOCS_RENDERED", - "FILE_COMPONENT_SEARCH_REQUEST", - "FILE_COMPONENT_SEARCH_RESPONSE", - "FORCE_REMOUNT", - "FORCE_RE_RENDER", - "GLOBALS_UPDATED", - "NAVIGATE_URL", - "PLAY_FUNCTION_THREW_EXCEPTION", - "PRELOAD_ENTRIES", - "PREVIEW_BUILDER_PROGRESS", - "PREVIEW_KEYDOWN", - "REGISTER_SUBSCRIPTION", - "REQUEST_WHATS_NEW_DATA", - "RESET_STORY_ARGS", - "RESULT_WHATS_NEW_DATA", - "SAVE_STORY_REQUEST", - "SAVE_STORY_RESPONSE", - "SELECT_STORY", - "SET_CONFIG", - "SET_CURRENT_STORY", - "SET_FILTER", - "SET_GLOBALS", - "SET_INDEX", - "SET_STORIES", - "SET_WHATS_NEW_CACHE", - "SHARED_STATE_CHANGED", - "SHARED_STATE_SET", - "STORIES_COLLAPSE_ALL", - "STORIES_EXPAND_ALL", - "STORY_ARGS_UPDATED", - "STORY_CHANGED", - "STORY_ERRORED", - "STORY_FINISHED", - "STORY_INDEX_INVALIDATED", - "STORY_MISSING", - "STORY_PREPARED", - "STORY_RENDERED", - "STORY_RENDER_PHASE_CHANGED", - "STORY_SPECIFIED", - "STORY_THREW_EXCEPTION", - "STORY_UNCHANGED", - "TELEMETRY_ERROR", - "TESTING_MODULE_CANCEL_TEST_RUN_REQUEST", - "TESTING_MODULE_CANCEL_TEST_RUN_RESPONSE", - "TESTING_MODULE_CRASH_REPORT", - "TESTING_MODULE_PROGRESS_REPORT", - "TESTING_MODULE_RUN_ALL_REQUEST", - "TESTING_MODULE_RUN_REQUEST", - "TOGGLE_WHATS_NEW_NOTIFICATIONS", - "UNHANDLED_ERRORS_WHILE_PLAYING", - "UPDATE_GLOBALS", - "UPDATE_QUERY_PARAMS", - "UPDATE_STORY_ARGS" - ], - "@storybook/core/core-events": [ - "ARGTYPES_INFO_REQUEST", - "ARGTYPES_INFO_RESPONSE", - "CHANNEL_CREATED", - "CHANNEL_WS_DISCONNECT", - "CONFIG_ERROR", - "CREATE_NEW_STORYFILE_REQUEST", - "CREATE_NEW_STORYFILE_RESPONSE", - "CURRENT_STORY_WAS_SET", - "DOCS_PREPARED", - "DOCS_RENDERED", - "FILE_COMPONENT_SEARCH_REQUEST", - "FILE_COMPONENT_SEARCH_RESPONSE", - "FORCE_REMOUNT", - "FORCE_RE_RENDER", - "GLOBALS_UPDATED", - "NAVIGATE_URL", - "PLAY_FUNCTION_THREW_EXCEPTION", - "PRELOAD_ENTRIES", - "PREVIEW_BUILDER_PROGRESS", - "PREVIEW_KEYDOWN", - "REGISTER_SUBSCRIPTION", - "REQUEST_WHATS_NEW_DATA", - "RESET_STORY_ARGS", - "RESULT_WHATS_NEW_DATA", - "SAVE_STORY_REQUEST", - "SAVE_STORY_RESPONSE", - "SELECT_STORY", - "SET_CONFIG", - "SET_CURRENT_STORY", - "SET_FILTER", - "SET_GLOBALS", - "SET_INDEX", - "SET_STORIES", - "SET_WHATS_NEW_CACHE", - "SHARED_STATE_CHANGED", - "SHARED_STATE_SET", - "STORIES_COLLAPSE_ALL", - "STORIES_EXPAND_ALL", - "STORY_ARGS_UPDATED", - "STORY_CHANGED", - "STORY_ERRORED", - "STORY_FINISHED", - "STORY_INDEX_INVALIDATED", - "STORY_MISSING", - "STORY_PREPARED", - "STORY_RENDERED", - "STORY_RENDER_PHASE_CHANGED", - "STORY_SPECIFIED", - "STORY_THREW_EXCEPTION", - "STORY_UNCHANGED", - "TELEMETRY_ERROR", - "TESTING_MODULE_CANCEL_TEST_RUN_REQUEST", - "TESTING_MODULE_CANCEL_TEST_RUN_RESPONSE", - "TESTING_MODULE_CRASH_REPORT", - "TESTING_MODULE_PROGRESS_REPORT", - "TESTING_MODULE_RUN_ALL_REQUEST", - "TESTING_MODULE_RUN_REQUEST", - "TOGGLE_WHATS_NEW_NOTIFICATIONS", - "UNHANDLED_ERRORS_WHILE_PLAYING", - "UPDATE_GLOBALS", - "UPDATE_QUERY_PARAMS", - "UPDATE_STORY_ARGS" - ], - "storybook/internal/types": ["Addon_TypesEnum"], - "@storybook/types": ["Addon_TypesEnum"], - "@storybook/core/types": ["Addon_TypesEnum"], - "storybook/internal/manager-errors": [ - "Category", - "ProviderDoesNotExtendBaseProviderError", - "UncaughtManagerError" - ], - "@storybook/core-events/manager-errors": [ - "Category", - "ProviderDoesNotExtendBaseProviderError", - "UncaughtManagerError" - ], - "@storybook/core/manager-errors": [ - "Category", - "ProviderDoesNotExtendBaseProviderError", - "UncaughtManagerError" - ], - "storybook/internal/client-logger": ["deprecate", "logger", "once", "pretty"], - "@storybook/client-logger": ["deprecate", "logger", "once", "pretty"], - "@storybook/core/client-logger": ["deprecate", "logger", "once", "pretty"] -}; - -// src/manager/globals/globals.ts -var e = { - react: "__REACT__", - "react-dom": "__REACT_DOM__", - "react-dom/client": "__REACT_DOM_CLIENT__", - "@storybook/icons": "__STORYBOOK_ICONS__", - "storybook/internal/manager-api": "__STORYBOOK_API__", - "@storybook/manager-api": "__STORYBOOK_API__", - "@storybook/core/manager-api": "__STORYBOOK_API__", - "storybook/internal/components": "__STORYBOOK_COMPONENTS__", - "@storybook/components": "__STORYBOOK_COMPONENTS__", - "@storybook/core/components": "__STORYBOOK_COMPONENTS__", - "storybook/internal/channels": "__STORYBOOK_CHANNELS__", - "@storybook/channels": "__STORYBOOK_CHANNELS__", - "@storybook/core/channels": "__STORYBOOK_CHANNELS__", - "storybook/internal/core-errors": "__STORYBOOK_CORE_EVENTS__", - "@storybook/core-events": "__STORYBOOK_CORE_EVENTS__", - "@storybook/core/core-events": "__STORYBOOK_CORE_EVENTS__", - "storybook/internal/manager-errors": "__STORYBOOK_CORE_EVENTS_MANAGER_ERRORS__", - "@storybook/core-events/manager-errors": "__STORYBOOK_CORE_EVENTS_MANAGER_ERRORS__", - "@storybook/core/manager-errors": "__STORYBOOK_CORE_EVENTS_MANAGER_ERRORS__", - "storybook/internal/router": "__STORYBOOK_ROUTER__", - "@storybook/router": "__STORYBOOK_ROUTER__", - "@storybook/core/router": "__STORYBOOK_ROUTER__", - "storybook/internal/theming": "__STORYBOOK_THEMING__", - "@storybook/theming": "__STORYBOOK_THEMING__", - "@storybook/core/theming": "__STORYBOOK_THEMING__", - "storybook/internal/theming/create": "__STORYBOOK_THEMING_CREATE__", - "@storybook/theming/create": "__STORYBOOK_THEMING_CREATE__", - "@storybook/core/theming/create": "__STORYBOOK_THEMING_CREATE__", - "storybook/internal/client-logger": "__STORYBOOK_CLIENT_LOGGER__", - "@storybook/client-logger": "__STORYBOOK_CLIENT_LOGGER__", - "@storybook/core/client-logger": "__STORYBOOK_CLIENT_LOGGER__", - "storybook/internal/types": "__STORYBOOK_TYPES__", - "@storybook/types": "__STORYBOOK_TYPES__", - "@storybook/core/types": "__STORYBOOK_TYPES__" -}, n = Object.keys(e); - -// src/manager/globals/globals-module-info.ts -var S = n.reduce( - (r, o) => (r[o] = { - type: "esm", - varName: e[o], - namedExports: t[o], - defaultExport: !0 - }, r), - {} -); -export { - S as globalsModuleInfoMap -}; diff --git a/docs/storybook/sb-manager/globals-runtime.js b/docs/storybook/sb-manager/globals-runtime.js deleted file mode 100644 index d015d5f..0000000 --- a/docs/storybook/sb-manager/globals-runtime.js +++ /dev/null @@ -1,41591 +0,0 @@ -var fB = Object.create; -var m0 = Object.defineProperty; -var dB = Object.getOwnPropertyDescriptor; -var hB = Object.getOwnPropertyNames; -var mB = Object.getPrototypeOf, gB = Object.prototype.hasOwnProperty; -var a = (e, t) => m0(e, "name", { value: t, configurable: !0 }), wc = /* @__PURE__ */ ((e) => typeof require < "u" ? require : typeof Proxy < -"u" ? new Proxy(e, { - get: (t, r) => (typeof require < "u" ? require : t)[r] -}) : e)(function(e) { - if (typeof require < "u") return require.apply(this, arguments); - throw Error('Dynamic require of "' + e + '" is not supported'); -}); -var T = (e, t) => () => (e && (t = e(e = 0)), t); -var F = (e, t) => () => (t || e((t = { exports: {} }).exports, t), t.exports), de = (e, t) => { - for (var r in t) - m0(e, r, { get: t[r], enumerable: !0 }); -}, vB = (e, t, r, n) => { - if (t && typeof t == "object" || typeof t == "function") - for (let o of hB(t)) - !gB.call(e, o) && o !== r && m0(e, o, { get: () => t[o], enumerable: !(n = dB(t, o)) || n.enumerable }); - return e; -}; -var P = (e, t, r) => (r = e != null ? fB(mB(e)) : {}, vB( - // If the importer is in node compatibility mode or this is not an ESM - // file that has been converted to a CommonJS file using a Babel- - // compatible transform (i.e. "__esModule" has not been set), then set - // "default" to the CommonJS "module.exports" for node compatibility. - t || !e || !e.__esModule ? m0(r, "default", { value: e, enumerable: !0 }) : r, - e -)); - -// ../node_modules/@storybook/global/dist/index.mjs -var z, qe = T(() => { - z = (() => { - let e; - return typeof window < "u" ? e = window : typeof globalThis < "u" ? e = globalThis : typeof global < "u" ? e = global : typeof self < "u" ? - e = self : e = {}, e; - })(); -}); - -// ../node_modules/react/cjs/react.production.min.js -var xb = F((ie) => { - "use strict"; - var Rc = Symbol.for("react.element"), VB = Symbol.for("react.portal"), UB = Symbol.for("react.fragment"), WB = Symbol.for("react.strict_mo\ -de"), qB = Symbol.for("react.profiler"), GB = Symbol.for("react.provider"), YB = Symbol.for("react.context"), KB = Symbol.for("react.forward\ -_ref"), XB = Symbol.for("react.suspense"), QB = Symbol.for("react.memo"), JB = Symbol.for("react.lazy"), db = Symbol.iterator; - function ZB(e) { - return e === null || typeof e != "object" ? null : (e = db && e[db] || e["@@iterator"], typeof e == "function" ? e : null); - } - a(ZB, "A"); - var gb = { isMounted: /* @__PURE__ */ a(function() { - return !1; - }, "isMounted"), enqueueForceUpdate: /* @__PURE__ */ a(function() { - }, "enqueueForceUpdate"), enqueueReplaceState: /* @__PURE__ */ a(function() { - }, "enqueueReplaceState"), enqueueSetState: /* @__PURE__ */ a(function() { - }, "enqueueSetState") }, vb = Object.assign, yb = {}; - function xs(e, t, r) { - this.props = e, this.context = t, this.refs = yb, this.updater = r || gb; - } - a(xs, "E"); - xs.prototype.isReactComponent = {}; - xs.prototype.setState = function(e, t) { - if (typeof e != "object" && typeof e != "function" && e != null) throw Error("setState(...): takes an object of state variables to updat\ -e or a function which returns an object of state variables."); - this.updater.enqueueSetState(this, e, t, "setState"); - }; - xs.prototype.forceUpdate = function(e) { - this.updater.enqueueForceUpdate(this, e, "forceUpdate"); - }; - function wb() { - } - a(wb, "F"); - wb.prototype = xs.prototype; - function S2(e, t, r) { - this.props = e, this.context = t, this.refs = yb, this.updater = r || gb; - } - a(S2, "G"); - var E2 = S2.prototype = new wb(); - E2.constructor = S2; - vb(E2, xs.prototype); - E2.isPureReactComponent = !0; - var hb = Array.isArray, Sb = Object.prototype.hasOwnProperty, b2 = { current: null }, Eb = { key: !0, ref: !0, __self: !0, __source: !0 }; - function bb(e, t, r) { - var n, o = {}, i = null, s = null; - if (t != null) for (n in t.ref !== void 0 && (s = t.ref), t.key !== void 0 && (i = "" + t.key), t) Sb.call(t, n) && !Eb.hasOwnProperty(n) && - (o[n] = t[n]); - var l = arguments.length - 2; - if (l === 1) o.children = r; - else if (1 < l) { - for (var u = Array(l), c = 0; c < l; c++) u[c] = arguments[c + 2]; - o.children = u; - } - if (e && e.defaultProps) for (n in l = e.defaultProps, l) o[n] === void 0 && (o[n] = l[n]); - return { $$typeof: Rc, type: e, key: i, ref: s, props: o, _owner: b2.current }; - } - a(bb, "M"); - function ez(e, t) { - return { $$typeof: Rc, type: e.type, key: t, ref: e.ref, props: e.props, _owner: e._owner }; - } - a(ez, "N"); - function x2(e) { - return typeof e == "object" && e !== null && e.$$typeof === Rc; - } - a(x2, "O"); - function tz(e) { - var t = { "=": "=0", ":": "=2" }; - return "$" + e.replace(/[=:]/g, function(r) { - return t[r]; - }); - } - a(tz, "escape"); - var mb = /\/+/g; - function w2(e, t) { - return typeof e == "object" && e !== null && e.key != null ? tz("" + e.key) : t.toString(36); - } - a(w2, "Q"); - function w0(e, t, r, n, o) { - var i = typeof e; - (i === "undefined" || i === "boolean") && (e = null); - var s = !1; - if (e === null) s = !0; - else switch (i) { - case "string": - case "number": - s = !0; - break; - case "object": - switch (e.$$typeof) { - case Rc: - case VB: - s = !0; - } - } - if (s) return s = e, o = o(s), e = n === "" ? "." + w2(s, 0) : n, hb(o) ? (r = "", e != null && (r = e.replace(mb, "$&/") + "/"), w0(o, t, - r, "", function(c) { - return c; - })) : o != null && (x2(o) && (o = ez(o, r + (!o.key || s && s.key === o.key ? "" : ("" + o.key).replace(mb, "$&/") + "/") + e)), t.push( - o)), 1; - if (s = 0, n = n === "" ? "." : n + ":", hb(e)) for (var l = 0; l < e.length; l++) { - i = e[l]; - var u = n + w2(i, l); - s += w0(i, t, r, u, o); - } - else if (u = ZB(e), typeof u == "function") for (e = u.call(e), l = 0; !(i = e.next()).done; ) i = i.value, u = n + w2(i, l++), s += w0( - i, t, r, u, o); - else if (i === "object") throw t = String(e), Error("Objects are not valid as a React child (found: " + (t === "[object Object]" ? "obje\ -ct with keys {" + Object.keys(e).join(", ") + "}" : t) + "). If you meant to render a collection of children, use an array instead."); - return s; - } - a(w0, "R"); - function y0(e, t, r) { - if (e == null) return e; - var n = [], o = 0; - return w0(e, n, "", "", function(i) { - return t.call(r, i, o++); - }), n; - } - a(y0, "S"); - function rz(e) { - if (e._status === -1) { - var t = e._result; - t = t(), t.then(function(r) { - (e._status === 0 || e._status === -1) && (e._status = 1, e._result = r); - }, function(r) { - (e._status === 0 || e._status === -1) && (e._status = 2, e._result = r); - }), e._status === -1 && (e._status = 0, e._result = t); - } - if (e._status === 1) return e._result.default; - throw e._result; - } - a(rz, "T"); - var Ut = { current: null }, S0 = { transition: null }, nz = { ReactCurrentDispatcher: Ut, ReactCurrentBatchConfig: S0, ReactCurrentOwner: b2 }; - ie.Children = { map: y0, forEach: /* @__PURE__ */ a(function(e, t, r) { - y0(e, function() { - t.apply(this, arguments); - }, r); - }, "forEach"), count: /* @__PURE__ */ a(function(e) { - var t = 0; - return y0(e, function() { - t++; - }), t; - }, "count"), toArray: /* @__PURE__ */ a(function(e) { - return y0(e, function(t) { - return t; - }) || []; - }, "toArray"), only: /* @__PURE__ */ a(function(e) { - if (!x2(e)) throw Error("React.Children.only expected to receive a single React element child."); - return e; - }, "only") }; - ie.Component = xs; - ie.Fragment = UB; - ie.Profiler = qB; - ie.PureComponent = S2; - ie.StrictMode = WB; - ie.Suspense = XB; - ie.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED = nz; - ie.cloneElement = function(e, t, r) { - if (e == null) throw Error("React.cloneElement(...): The argument must be a React element, but you passed " + e + "."); - var n = vb({}, e.props), o = e.key, i = e.ref, s = e._owner; - if (t != null) { - if (t.ref !== void 0 && (i = t.ref, s = b2.current), t.key !== void 0 && (o = "" + t.key), e.type && e.type.defaultProps) var l = e.type. - defaultProps; - for (u in t) Sb.call(t, u) && !Eb.hasOwnProperty(u) && (n[u] = t[u] === void 0 && l !== void 0 ? l[u] : t[u]); - } - var u = arguments.length - 2; - if (u === 1) n.children = r; - else if (1 < u) { - l = Array(u); - for (var c = 0; c < u; c++) l[c] = arguments[c + 2]; - n.children = l; - } - return { $$typeof: Rc, type: e.type, key: o, ref: i, props: n, _owner: s }; - }; - ie.createContext = function(e) { - return e = { $$typeof: YB, _currentValue: e, _currentValue2: e, _threadCount: 0, Provider: null, Consumer: null, _defaultValue: null, _globalName: null }, - e.Provider = { $$typeof: GB, _context: e }, e.Consumer = e; - }; - ie.createElement = bb; - ie.createFactory = function(e) { - var t = bb.bind(null, e); - return t.type = e, t; - }; - ie.createRef = function() { - return { current: null }; - }; - ie.forwardRef = function(e) { - return { $$typeof: KB, render: e }; - }; - ie.isValidElement = x2; - ie.lazy = function(e) { - return { $$typeof: JB, _payload: { _status: -1, _result: e }, _init: rz }; - }; - ie.memo = function(e, t) { - return { $$typeof: QB, type: e, compare: t === void 0 ? null : t }; - }; - ie.startTransition = function(e) { - var t = S0.transition; - S0.transition = {}; - try { - e(); - } finally { - S0.transition = t; - } - }; - ie.unstable_act = function() { - throw Error("act(...) is not supported in production builds of React."); - }; - ie.useCallback = function(e, t) { - return Ut.current.useCallback(e, t); - }; - ie.useContext = function(e) { - return Ut.current.useContext(e); - }; - ie.useDebugValue = function() { - }; - ie.useDeferredValue = function(e) { - return Ut.current.useDeferredValue(e); - }; - ie.useEffect = function(e, t) { - return Ut.current.useEffect(e, t); - }; - ie.useId = function() { - return Ut.current.useId(); - }; - ie.useImperativeHandle = function(e, t, r) { - return Ut.current.useImperativeHandle(e, t, r); - }; - ie.useInsertionEffect = function(e, t) { - return Ut.current.useInsertionEffect(e, t); - }; - ie.useLayoutEffect = function(e, t) { - return Ut.current.useLayoutEffect(e, t); - }; - ie.useMemo = function(e, t) { - return Ut.current.useMemo(e, t); - }; - ie.useReducer = function(e, t, r) { - return Ut.current.useReducer(e, t, r); - }; - ie.useRef = function(e) { - return Ut.current.useRef(e); - }; - ie.useState = function(e) { - return Ut.current.useState(e); - }; - ie.useSyncExternalStore = function(e, t, r) { - return Ut.current.useSyncExternalStore(e, t, r); - }; - ie.useTransition = function() { - return Ut.current.useTransition(); - }; - ie.version = "18.2.0"; -}); - -// ../node_modules/react/index.js -var L = F((b1e, Cb) => { - "use strict"; - Cb.exports = xb(); -}); - -// ../node_modules/scheduler/cjs/scheduler.production.min.js -var Lb = F((xe) => { - "use strict"; - function A2(e, t) { - var r = e.length; - e.push(t); - e: for (; 0 < r; ) { - var n = r - 1 >>> 1, o = e[n]; - if (0 < E0(o, t)) e[n] = t, e[r] = o, r = n; - else break e; - } - } - a(A2, "f"); - function gn(e) { - return e.length === 0 ? null : e[0]; - } - a(gn, "h"); - function x0(e) { - if (e.length === 0) return null; - var t = e[0], r = e.pop(); - if (r !== t) { - e[0] = r; - e: for (var n = 0, o = e.length, i = o >>> 1; n < i; ) { - var s = 2 * (n + 1) - 1, l = e[s], u = s + 1, c = e[u]; - if (0 > E0(l, r)) u < o && 0 > E0(c, l) ? (e[n] = c, e[u] = r, n = u) : (e[n] = l, e[s] = r, n = s); - else if (u < o && 0 > E0(c, r)) e[n] = c, e[u] = r, n = u; - else break e; - } - } - return t; - } - a(x0, "k"); - function E0(e, t) { - var r = e.sortIndex - t.sortIndex; - return r !== 0 ? r : e.id - t.id; - } - a(E0, "g"); - typeof performance == "object" && typeof performance.now == "function" ? (Rb = performance, xe.unstable_now = function() { - return Rb.now(); - }) : (C2 = Date, Db = C2.now(), xe.unstable_now = function() { - return C2.now() - Db; - }); - var Rb, C2, Db, jn = [], na = [], oz = 1, zr = null, Ot = 3, C0 = !1, si = !1, Ac = !1, Tb = typeof setTimeout == "function" ? setTimeout : - null, Ib = typeof clearTimeout == "function" ? clearTimeout : null, Ab = typeof setImmediate < "u" ? setImmediate : null; - typeof navigator < "u" && navigator.scheduling !== void 0 && navigator.scheduling.isInputPending !== void 0 && navigator.scheduling.isInputPending. - bind(navigator.scheduling); - function _2(e) { - for (var t = gn(na); t !== null; ) { - if (t.callback === null) x0(na); - else if (t.startTime <= e) x0(na), t.sortIndex = t.expirationTime, A2(jn, t); - else break; - t = gn(na); - } - } - a(_2, "G"); - function T2(e) { - if (Ac = !1, _2(e), !si) if (gn(jn) !== null) si = !0, P2(I2); - else { - var t = gn(na); - t !== null && k2(T2, t.startTime - e); - } - } - a(T2, "H"); - function I2(e, t) { - si = !1, Ac && (Ac = !1, Ib(_c), _c = -1), C0 = !0; - var r = Ot; - try { - for (_2(t), zr = gn(jn); zr !== null && (!(zr.expirationTime > t) || e && !Fb()); ) { - var n = zr.callback; - if (typeof n == "function") { - zr.callback = null, Ot = zr.priorityLevel; - var o = n(zr.expirationTime <= t); - t = xe.unstable_now(), typeof o == "function" ? zr.callback = o : zr === gn(jn) && x0(jn), _2(t); - } else x0(jn); - zr = gn(jn); - } - if (zr !== null) var i = !0; - else { - var s = gn(na); - s !== null && k2(T2, s.startTime - t), i = !1; - } - return i; - } finally { - zr = null, Ot = r, C0 = !1; - } - } - a(I2, "J"); - var R0 = !1, b0 = null, _c = -1, Pb = 5, kb = -1; - function Fb() { - return !(xe.unstable_now() - kb < Pb); - } - a(Fb, "M"); - function R2() { - if (b0 !== null) { - var e = xe.unstable_now(); - kb = e; - var t = !0; - try { - t = b0(!0, e); - } finally { - t ? Dc() : (R0 = !1, b0 = null); - } - } else R0 = !1; - } - a(R2, "R"); - var Dc; - typeof Ab == "function" ? Dc = /* @__PURE__ */ a(function() { - Ab(R2); - }, "S") : typeof MessageChannel < "u" ? (D2 = new MessageChannel(), _b = D2.port2, D2.port1.onmessage = R2, Dc = /* @__PURE__ */ a(function() { - _b.postMessage(null); - }, "S")) : Dc = /* @__PURE__ */ a(function() { - Tb(R2, 0); - }, "S"); - var D2, _b; - function P2(e) { - b0 = e, R0 || (R0 = !0, Dc()); - } - a(P2, "I"); - function k2(e, t) { - _c = Tb(function() { - e(xe.unstable_now()); - }, t); - } - a(k2, "K"); - xe.unstable_IdlePriority = 5; - xe.unstable_ImmediatePriority = 1; - xe.unstable_LowPriority = 4; - xe.unstable_NormalPriority = 3; - xe.unstable_Profiling = null; - xe.unstable_UserBlockingPriority = 2; - xe.unstable_cancelCallback = function(e) { - e.callback = null; - }; - xe.unstable_continueExecution = function() { - si || C0 || (si = !0, P2(I2)); - }; - xe.unstable_forceFrameRate = function(e) { - 0 > e || 125 < e ? console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not \ -supported") : Pb = 0 < e ? Math.floor(1e3 / e) : 5; - }; - xe.unstable_getCurrentPriorityLevel = function() { - return Ot; - }; - xe.unstable_getFirstCallbackNode = function() { - return gn(jn); - }; - xe.unstable_next = function(e) { - switch (Ot) { - case 1: - case 2: - case 3: - var t = 3; - break; - default: - t = Ot; - } - var r = Ot; - Ot = t; - try { - return e(); - } finally { - Ot = r; - } - }; - xe.unstable_pauseExecution = function() { - }; - xe.unstable_requestPaint = function() { - }; - xe.unstable_runWithPriority = function(e, t) { - switch (e) { - case 1: - case 2: - case 3: - case 4: - case 5: - break; - default: - e = 3; - } - var r = Ot; - Ot = e; - try { - return t(); - } finally { - Ot = r; - } - }; - xe.unstable_scheduleCallback = function(e, t, r) { - var n = xe.unstable_now(); - switch (typeof r == "object" && r !== null ? (r = r.delay, r = typeof r == "number" && 0 < r ? n + r : n) : r = n, e) { - case 1: - var o = -1; - break; - case 2: - o = 250; - break; - case 5: - o = 1073741823; - break; - case 4: - o = 1e4; - break; - default: - o = 5e3; - } - return o = r + o, e = { id: oz++, callback: t, priorityLevel: e, startTime: r, expirationTime: o, sortIndex: -1 }, r > n ? (e.sortIndex = - r, A2(na, e), gn(jn) === null && e === gn(na) && (Ac ? (Ib(_c), _c = -1) : Ac = !0, k2(T2, r - n))) : (e.sortIndex = o, A2(jn, e), si || - C0 || (si = !0, P2(I2))), e; - }; - xe.unstable_shouldYield = Fb; - xe.unstable_wrapCallback = function(e) { - var t = Ot; - return function() { - var r = Ot; - Ot = t; - try { - return e.apply(this, arguments); - } finally { - Ot = r; - } - }; - }; -}); - -// ../node_modules/scheduler/index.js -var Nb = F((R1e, Ob) => { - "use strict"; - Ob.exports = Lb(); -}); - -// ../node_modules/react-dom/cjs/react-dom.production.min.js -var j6 = F((Ar) => { - "use strict"; - var Vx = L(), Rr = Nb(); - function N(e) { - for (var t = "https://reactjs.org/docs/error-decoder.html?invariant=" + e, r = 1; r < arguments.length; r++) t += "&args[]=" + encodeURIComponent( - arguments[r]); - return "Minified React error #" + e + "; visit " + t + " for the full message or use the non-minified dev environment for full errors an\ -d additional helpful warnings."; - } - a(N, "p"); - var Ux = /* @__PURE__ */ new Set(), Xc = {}; - function Si(e, t) { - Us(e, t), Us(e + "Capture", t); - } - a(Si, "fa"); - function Us(e, t) { - for (Xc[e] = t, e = 0; e < t.length; e++) Ux.add(t[e]); - } - a(Us, "ha"); - var Co = !(typeof window > "u" || typeof window.document > "u" || typeof window.document.createElement > "u"), t5 = Object.prototype.hasOwnProperty, - az = /^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/, - Mb = {}, Bb = {}; - function iz(e) { - return t5.call(Bb, e) ? !0 : t5.call(Mb, e) ? !1 : az.test(e) ? Bb[e] = !0 : (Mb[e] = !0, !1); - } - a(iz, "oa"); - function sz(e, t, r, n) { - if (r !== null && r.type === 0) return !1; - switch (typeof t) { - case "function": - case "symbol": - return !0; - case "boolean": - return n ? !1 : r !== null ? !r.acceptsBooleans : (e = e.toLowerCase().slice(0, 5), e !== "data-" && e !== "aria-"); - default: - return !1; - } - } - a(sz, "pa"); - function lz(e, t, r, n) { - if (t === null || typeof t > "u" || sz(e, t, r, n)) return !0; - if (n) return !1; - if (r !== null) switch (r.type) { - case 3: - return !t; - case 4: - return t === !1; - case 5: - return isNaN(t); - case 6: - return isNaN(t) || 1 > t; - } - return !1; - } - a(lz, "qa"); - function Gt(e, t, r, n, o, i, s) { - this.acceptsBooleans = t === 2 || t === 3 || t === 4, this.attributeName = n, this.attributeNamespace = o, this.mustUseProperty = r, this. - propertyName = e, this.type = t, this.sanitizeURL = i, this.removeEmptyString = s; - } - a(Gt, "v"); - var Dt = {}; - "children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split( - " ").forEach(function(e) { - Dt[e] = new Gt(e, 0, !1, e, null, !1, !1); - }); - [["acceptCharset", "accept-charset"], ["className", "class"], ["htmlFor", "for"], ["httpEquiv", "http-equiv"]].forEach(function(e) { - var t = e[0]; - Dt[t] = new Gt(t, 1, !1, e[1], null, !1, !1); - }); - ["contentEditable", "draggable", "spellCheck", "value"].forEach(function(e) { - Dt[e] = new Gt(e, 2, !1, e.toLowerCase(), null, !1, !1); - }); - ["autoReverse", "externalResourcesRequired", "focusable", "preserveAlpha"].forEach(function(e) { - Dt[e] = new Gt(e, 2, !1, e, null, !1, !1); - }); - "allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hid\ -den loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e) { - Dt[e] = new Gt(e, 3, !1, e.toLowerCase(), null, !1, !1); - }); - ["checked", "multiple", "muted", "selected"].forEach(function(e) { - Dt[e] = new Gt(e, 3, !0, e, null, !1, !1); - }); - ["capture", "download"].forEach(function(e) { - Dt[e] = new Gt(e, 4, !1, e, null, !1, !1); - }); - ["cols", "rows", "size", "span"].forEach(function(e) { - Dt[e] = new Gt(e, 6, !1, e, null, !1, !1); - }); - ["rowSpan", "start"].forEach(function(e) { - Dt[e] = new Gt(e, 5, !1, e.toLowerCase(), null, !1, !1); - }); - var G5 = /[\-:]([a-z])/g; - function Y5(e) { - return e[1].toUpperCase(); - } - a(Y5, "sa"); - "accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filter\ -s color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size f\ -ont-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-ad\ -v-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness pai\ -nt-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness str\ -oke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration tex\ -t-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematic\ -al vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e) { - var t = e.replace( - G5, - Y5 - ); - Dt[t] = new Gt(t, 1, !1, e, null, !1, !1); - }); - "xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e) { - var t = e.replace(G5, Y5); - Dt[t] = new Gt(t, 1, !1, e, "http://www.w3.org/1999/xlink", !1, !1); - }); - ["xml:base", "xml:lang", "xml:space"].forEach(function(e) { - var t = e.replace(G5, Y5); - Dt[t] = new Gt(t, 1, !1, e, "http://www.w3.org/XML/1998/namespace", !1, !1); - }); - ["tabIndex", "crossOrigin"].forEach(function(e) { - Dt[e] = new Gt(e, 1, !1, e.toLowerCase(), null, !1, !1); - }); - Dt.xlinkHref = new Gt("xlinkHref", 1, !1, "xlink:href", "http://www.w3.org/1999/xlink", !0, !1); - ["src", "href", "action", "formAction"].forEach(function(e) { - Dt[e] = new Gt(e, 1, !1, e.toLowerCase(), null, !0, !0); - }); - function K5(e, t, r, n) { - var o = Dt.hasOwnProperty(t) ? Dt[t] : null; - (o !== null ? o.type !== 0 : n || !(2 < t.length) || t[0] !== "o" && t[0] !== "O" || t[1] !== "n" && t[1] !== "N") && (lz(t, r, o, n) && - (r = null), n || o === null ? iz(t) && (r === null ? e.removeAttribute(t) : e.setAttribute(t, "" + r)) : o.mustUseProperty ? e[o.propertyName] = - r === null ? o.type === 3 ? !1 : "" : r : (t = o.attributeName, n = o.attributeNamespace, r === null ? e.removeAttribute(t) : (o = o.type, - r = o === 3 || o === 4 && r === !0 ? "" : "" + r, n ? e.setAttributeNS(n, t, r) : e.setAttribute(t, r)))); - } - a(K5, "ta"); - var _o = Vx.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED, D0 = Symbol.for("react.element"), Ds = Symbol.for("react.portal"), As = Symbol. - for("react.fragment"), X5 = Symbol.for("react.strict_mode"), r5 = Symbol.for("react.profiler"), Wx = Symbol.for("react.provider"), qx = Symbol. - for("react.context"), Q5 = Symbol.for("react.forward_ref"), n5 = Symbol.for("react.suspense"), o5 = Symbol.for("react.suspense_list"), J5 = Symbol. - for("react.memo"), aa = Symbol.for("react.lazy"); - Symbol.for("react.scope"); - Symbol.for("react.debug_trace_mode"); - var Gx = Symbol.for("react.offscreen"); - Symbol.for("react.legacy_hidden"); - Symbol.for("react.cache"); - Symbol.for("react.tracing_marker"); - var zb = Symbol.iterator; - function Tc(e) { - return e === null || typeof e != "object" ? null : (e = zb && e[zb] || e["@@iterator"], typeof e == "function" ? e : null); - } - a(Tc, "Ka"); - var Be = Object.assign, F2; - function Mc(e) { - if (F2 === void 0) try { - throw Error(); - } catch (r) { - var t = r.stack.trim().match(/\n( *(at )?)/); - F2 = t && t[1] || ""; - } - return ` -` + F2 + e; - } - a(Mc, "Ma"); - var L2 = !1; - function O2(e, t) { - if (!e || L2) return ""; - L2 = !0; - var r = Error.prepareStackTrace; - Error.prepareStackTrace = void 0; - try { - if (t) if (t = /* @__PURE__ */ a(function() { - throw Error(); - }, "b"), Object.defineProperty(t.prototype, "props", { set: /* @__PURE__ */ a(function() { - throw Error(); - }, "set") }), typeof Reflect == "object" && Reflect.construct) { - try { - Reflect.construct(t, []); - } catch (c) { - var n = c; - } - Reflect.construct(e, [], t); - } else { - try { - t.call(); - } catch (c) { - n = c; - } - e.call(t.prototype); - } - else { - try { - throw Error(); - } catch (c) { - n = c; - } - e(); - } - } catch (c) { - if (c && n && typeof c.stack == "string") { - for (var o = c.stack.split(` -`), i = n.stack.split(` -`), s = o.length - 1, l = i.length - 1; 1 <= s && 0 <= l && o[s] !== i[l]; ) l--; - for (; 1 <= s && 0 <= l; s--, l--) if (o[s] !== i[l]) { - if (s !== 1 || l !== 1) - do - if (s--, l--, 0 > l || o[s] !== i[l]) { - var u = ` -` + o[s].replace(" at new ", " at "); - return e.displayName && u.includes("") && (u = u.replace("", e.displayName)), u; - } - while (1 <= s && 0 <= l); - break; - } - } - } finally { - L2 = !1, Error.prepareStackTrace = r; - } - return (e = e ? e.displayName || e.name : "") ? Mc(e) : ""; - } - a(O2, "Oa"); - function uz(e) { - switch (e.tag) { - case 5: - return Mc(e.type); - case 16: - return Mc("Lazy"); - case 13: - return Mc("Suspense"); - case 19: - return Mc("SuspenseList"); - case 0: - case 2: - case 15: - return e = O2(e.type, !1), e; - case 11: - return e = O2(e.type.render, !1), e; - case 1: - return e = O2(e.type, !0), e; - default: - return ""; - } - } - a(uz, "Pa"); - function a5(e) { - if (e == null) return null; - if (typeof e == "function") return e.displayName || e.name || null; - if (typeof e == "string") return e; - switch (e) { - case As: - return "Fragment"; - case Ds: - return "Portal"; - case r5: - return "Profiler"; - case X5: - return "StrictMode"; - case n5: - return "Suspense"; - case o5: - return "SuspenseList"; - } - if (typeof e == "object") switch (e.$$typeof) { - case qx: - return (e.displayName || "Context") + ".Consumer"; - case Wx: - return (e._context.displayName || "Context") + ".Provider"; - case Q5: - var t = e.render; - return e = e.displayName, e || (e = t.displayName || t.name || "", e = e !== "" ? "ForwardRef(" + e + ")" : "ForwardRef"), e; - case J5: - return t = e.displayName || null, t !== null ? t : a5(e.type) || "Memo"; - case aa: - t = e._payload, e = e._init; - try { - return a5(e(t)); - } catch { - } - } - return null; - } - a(a5, "Qa"); - function cz(e) { - var t = e.type; - switch (e.tag) { - case 24: - return "Cache"; - case 9: - return (t.displayName || "Context") + ".Consumer"; - case 10: - return (t._context.displayName || "Context") + ".Provider"; - case 18: - return "DehydratedFragment"; - case 11: - return e = t.render, e = e.displayName || e.name || "", t.displayName || (e !== "" ? "ForwardRef(" + e + ")" : "ForwardRef"); - case 7: - return "Fragment"; - case 5: - return t; - case 4: - return "Portal"; - case 3: - return "Root"; - case 6: - return "Text"; - case 16: - return a5(t); - case 8: - return t === X5 ? "StrictMode" : "Mode"; - case 22: - return "Offscreen"; - case 12: - return "Profiler"; - case 21: - return "Scope"; - case 13: - return "Suspense"; - case 19: - return "SuspenseList"; - case 25: - return "TracingMarker"; - case 1: - case 0: - case 17: - case 2: - case 14: - case 15: - if (typeof t == "function") return t.displayName || t.name || null; - if (typeof t == "string") return t; - } - return null; - } - a(cz, "Ra"); - function wa(e) { - switch (typeof e) { - case "boolean": - case "number": - case "string": - case "undefined": - return e; - case "object": - return e; - default: - return ""; - } - } - a(wa, "Sa"); - function Yx(e) { - var t = e.type; - return (e = e.nodeName) && e.toLowerCase() === "input" && (t === "checkbox" || t === "radio"); - } - a(Yx, "Ta"); - function pz(e) { - var t = Yx(e) ? "checked" : "value", r = Object.getOwnPropertyDescriptor(e.constructor.prototype, t), n = "" + e[t]; - if (!e.hasOwnProperty(t) && typeof r < "u" && typeof r.get == "function" && typeof r.set == "function") { - var o = r.get, i = r.set; - return Object.defineProperty(e, t, { configurable: !0, get: /* @__PURE__ */ a(function() { - return o.call(this); - }, "get"), set: /* @__PURE__ */ a(function(s) { - n = "" + s, i.call(this, s); - }, "set") }), Object.defineProperty(e, t, { enumerable: r.enumerable }), { getValue: /* @__PURE__ */ a(function() { - return n; - }, "getValue"), setValue: /* @__PURE__ */ a(function(s) { - n = "" + s; - }, "setValue"), stopTracking: /* @__PURE__ */ a(function() { - e._valueTracker = null, delete e[t]; - }, "stopTracking") }; - } - } - a(pz, "Ua"); - function A0(e) { - e._valueTracker || (e._valueTracker = pz(e)); - } - a(A0, "Va"); - function Kx(e) { - if (!e) return !1; - var t = e._valueTracker; - if (!t) return !0; - var r = t.getValue(), n = ""; - return e && (n = Yx(e) ? e.checked ? "true" : "false" : e.value), e = n, e !== r ? (t.setValue(e), !0) : !1; - } - a(Kx, "Wa"); - function td(e) { - if (e = e || (typeof document < "u" ? document : void 0), typeof e > "u") return null; - try { - return e.activeElement || e.body; - } catch { - return e.body; - } - } - a(td, "Xa"); - function i5(e, t) { - var r = t.checked; - return Be({}, t, { defaultChecked: void 0, defaultValue: void 0, value: void 0, checked: r ?? e._wrapperState.initialChecked }); - } - a(i5, "Ya"); - function Hb(e, t) { - var r = t.defaultValue == null ? "" : t.defaultValue, n = t.checked != null ? t.checked : t.defaultChecked; - r = wa(t.value != null ? t.value : r), e._wrapperState = { initialChecked: n, initialValue: r, controlled: t.type === "checkbox" || t.type === - "radio" ? t.checked != null : t.value != null }; - } - a(Hb, "Za"); - function Xx(e, t) { - t = t.checked, t != null && K5(e, "checked", t, !1); - } - a(Xx, "ab"); - function s5(e, t) { - Xx(e, t); - var r = wa(t.value), n = t.type; - if (r != null) n === "number" ? (r === 0 && e.value === "" || e.value != r) && (e.value = "" + r) : e.value !== "" + r && (e.value = "" + - r); - else if (n === "submit" || n === "reset") { - e.removeAttribute("value"); - return; - } - t.hasOwnProperty("value") ? l5(e, t.type, r) : t.hasOwnProperty("defaultValue") && l5(e, t.type, wa(t.defaultValue)), t.checked == null && - t.defaultChecked != null && (e.defaultChecked = !!t.defaultChecked); - } - a(s5, "bb"); - function $b(e, t, r) { - if (t.hasOwnProperty("value") || t.hasOwnProperty("defaultValue")) { - var n = t.type; - if (!(n !== "submit" && n !== "reset" || t.value !== void 0 && t.value !== null)) return; - t = "" + e._wrapperState.initialValue, r || t === e.value || (e.value = t), e.defaultValue = t; - } - r = e.name, r !== "" && (e.name = ""), e.defaultChecked = !!e._wrapperState.initialChecked, r !== "" && (e.name = r); - } - a($b, "db"); - function l5(e, t, r) { - (t !== "number" || td(e.ownerDocument) !== e) && (r == null ? e.defaultValue = "" + e._wrapperState.initialValue : e.defaultValue !== "" + - r && (e.defaultValue = "" + r)); - } - a(l5, "cb"); - var Bc = Array.isArray; - function Bs(e, t, r, n) { - if (e = e.options, t) { - t = {}; - for (var o = 0; o < r.length; o++) t["$" + r[o]] = !0; - for (r = 0; r < e.length; r++) o = t.hasOwnProperty("$" + e[r].value), e[r].selected !== o && (e[r].selected = o), o && n && (e[r].defaultSelected = - !0); - } else { - for (r = "" + wa(r), t = null, o = 0; o < e.length; o++) { - if (e[o].value === r) { - e[o].selected = !0, n && (e[o].defaultSelected = !0); - return; - } - t !== null || e[o].disabled || (t = e[o]); - } - t !== null && (t.selected = !0); - } - } - a(Bs, "fb"); - function u5(e, t) { - if (t.dangerouslySetInnerHTML != null) throw Error(N(91)); - return Be({}, t, { value: void 0, defaultValue: void 0, children: "" + e._wrapperState.initialValue }); - } - a(u5, "gb"); - function jb(e, t) { - var r = t.value; - if (r == null) { - if (r = t.children, t = t.defaultValue, r != null) { - if (t != null) throw Error(N(92)); - if (Bc(r)) { - if (1 < r.length) throw Error(N(93)); - r = r[0]; - } - t = r; - } - t == null && (t = ""), r = t; - } - e._wrapperState = { initialValue: wa(r) }; - } - a(jb, "hb"); - function Qx(e, t) { - var r = wa(t.value), n = wa(t.defaultValue); - r != null && (r = "" + r, r !== e.value && (e.value = r), t.defaultValue == null && e.defaultValue !== r && (e.defaultValue = r)), n != null && - (e.defaultValue = "" + n); - } - a(Qx, "ib"); - function Vb(e) { - var t = e.textContent; - t === e._wrapperState.initialValue && t !== "" && t !== null && (e.value = t); - } - a(Vb, "jb"); - function Jx(e) { - switch (e) { - case "svg": - return "http://www.w3.org/2000/svg"; - case "math": - return "http://www.w3.org/1998/Math/MathML"; - default: - return "http://www.w3.org/1999/xhtml"; - } - } - a(Jx, "kb"); - function c5(e, t) { - return e == null || e === "http://www.w3.org/1999/xhtml" ? Jx(t) : e === "http://www.w3.org/2000/svg" && t === "foreignObject" ? "http:/\ -/www.w3.org/1999/xhtml" : e; - } - a(c5, "lb"); - var _0, Zx = function(e) { - return typeof MSApp < "u" && MSApp.execUnsafeLocalFunction ? function(t, r, n, o) { - MSApp.execUnsafeLocalFunction(function() { - return e(t, r, n, o); - }); - } : e; - }(function(e, t) { - if (e.namespaceURI !== "http://www.w3.org/2000/svg" || "innerHTML" in e) e.innerHTML = t; - else { - for (_0 = _0 || document.createElement("div"), _0.innerHTML = "" + t.valueOf().toString() + "", t = _0.firstChild; e.firstChild; ) - e.removeChild(e.firstChild); - for (; t.firstChild; ) e.appendChild(t.firstChild); - } - }); - function Qc(e, t) { - if (t) { - var r = e.firstChild; - if (r && r === e.lastChild && r.nodeType === 3) { - r.nodeValue = t; - return; - } - } - e.textContent = t; - } - a(Qc, "ob"); - var $c = { - animationIterationCount: !0, - aspectRatio: !0, - borderImageOutset: !0, - borderImageSlice: !0, - borderImageWidth: !0, - boxFlex: !0, - boxFlexGroup: !0, - boxOrdinalGroup: !0, - columnCount: !0, - columns: !0, - flex: !0, - flexGrow: !0, - flexPositive: !0, - flexShrink: !0, - flexNegative: !0, - flexOrder: !0, - gridArea: !0, - gridRow: !0, - gridRowEnd: !0, - gridRowSpan: !0, - gridRowStart: !0, - gridColumn: !0, - gridColumnEnd: !0, - gridColumnSpan: !0, - gridColumnStart: !0, - fontWeight: !0, - lineClamp: !0, - lineHeight: !0, - opacity: !0, - order: !0, - orphans: !0, - tabSize: !0, - widows: !0, - zIndex: !0, - zoom: !0, - fillOpacity: !0, - floodOpacity: !0, - stopOpacity: !0, - strokeDasharray: !0, - strokeDashoffset: !0, - strokeMiterlimit: !0, - strokeOpacity: !0, - strokeWidth: !0 - }, fz = ["Webkit", "ms", "Moz", "O"]; - Object.keys($c).forEach(function(e) { - fz.forEach(function(t) { - t = t + e.charAt(0).toUpperCase() + e.substring(1), $c[t] = $c[e]; - }); - }); - function e7(e, t, r) { - return t == null || typeof t == "boolean" || t === "" ? "" : r || typeof t != "number" || t === 0 || $c.hasOwnProperty(e) && $c[e] ? ("" + - t).trim() : t + "px"; - } - a(e7, "rb"); - function t7(e, t) { - e = e.style; - for (var r in t) if (t.hasOwnProperty(r)) { - var n = r.indexOf("--") === 0, o = e7(r, t[r], n); - r === "float" && (r = "cssFloat"), n ? e.setProperty(r, o) : e[r] = o; - } - } - a(t7, "sb"); - var dz = Be({ menuitem: !0 }, { area: !0, base: !0, br: !0, col: !0, embed: !0, hr: !0, img: !0, input: !0, keygen: !0, link: !0, meta: !0, - param: !0, source: !0, track: !0, wbr: !0 }); - function p5(e, t) { - if (t) { - if (dz[e] && (t.children != null || t.dangerouslySetInnerHTML != null)) throw Error(N(137, e)); - if (t.dangerouslySetInnerHTML != null) { - if (t.children != null) throw Error(N(60)); - if (typeof t.dangerouslySetInnerHTML != "object" || !("__html" in t.dangerouslySetInnerHTML)) throw Error(N(61)); - } - if (t.style != null && typeof t.style != "object") throw Error(N(62)); - } - } - a(p5, "ub"); - function f5(e, t) { - if (e.indexOf("-") === -1) return typeof t.is == "string"; - switch (e) { - case "annotation-xml": - case "color-profile": - case "font-face": - case "font-face-src": - case "font-face-uri": - case "font-face-format": - case "font-face-name": - case "missing-glyph": - return !1; - default: - return !0; - } - } - a(f5, "vb"); - var d5 = null; - function Z5(e) { - return e = e.target || e.srcElement || window, e.correspondingUseElement && (e = e.correspondingUseElement), e.nodeType === 3 ? e.parentNode : - e; - } - a(Z5, "xb"); - var h5 = null, zs = null, Hs = null; - function Ub(e) { - if (e = mp(e)) { - if (typeof h5 != "function") throw Error(N(280)); - var t = e.stateNode; - t && (t = Td(t), h5(e.stateNode, e.type, t)); - } - } - a(Ub, "Bb"); - function r7(e) { - zs ? Hs ? Hs.push(e) : Hs = [e] : zs = e; - } - a(r7, "Eb"); - function n7() { - if (zs) { - var e = zs, t = Hs; - if (Hs = zs = null, Ub(e), t) for (e = 0; e < t.length; e++) Ub(t[e]); - } - } - a(n7, "Fb"); - function o7(e, t) { - return e(t); - } - a(o7, "Gb"); - function a7() { - } - a(a7, "Hb"); - var N2 = !1; - function i7(e, t, r) { - if (N2) return e(t, r); - N2 = !0; - try { - return o7(e, t, r); - } finally { - N2 = !1, (zs !== null || Hs !== null) && (a7(), n7()); - } - } - a(i7, "Jb"); - function Jc(e, t) { - var r = e.stateNode; - if (r === null) return null; - var n = Td(r); - if (n === null) return null; - r = n[t]; - e: switch (t) { - case "onClick": - case "onClickCapture": - case "onDoubleClick": - case "onDoubleClickCapture": - case "onMouseDown": - case "onMouseDownCapture": - case "onMouseMove": - case "onMouseMoveCapture": - case "onMouseUp": - case "onMouseUpCapture": - case "onMouseEnter": - (n = !n.disabled) || (e = e.type, n = !(e === "button" || e === "input" || e === "select" || e === "textarea")), e = !n; - break e; - default: - e = !1; - } - if (e) return null; - if (r && typeof r != "function") throw Error(N(231, t, typeof r)); - return r; - } - a(Jc, "Kb"); - var m5 = !1; - if (Co) try { - Cs = {}, Object.defineProperty(Cs, "passive", { get: /* @__PURE__ */ a(function() { - m5 = !0; - }, "get") }), window.addEventListener("test", Cs, Cs), window.removeEventListener("test", Cs, Cs); - } catch { - m5 = !1; - } - var Cs; - function hz(e, t, r, n, o, i, s, l, u) { - var c = Array.prototype.slice.call(arguments, 3); - try { - t.apply(r, c); - } catch (p) { - this.onError(p); - } - } - a(hz, "Nb"); - var jc = !1, rd = null, nd = !1, g5 = null, mz = { onError: /* @__PURE__ */ a(function(e) { - jc = !0, rd = e; - }, "onError") }; - function gz(e, t, r, n, o, i, s, l, u) { - jc = !1, rd = null, hz.apply(mz, arguments); - } - a(gz, "Tb"); - function vz(e, t, r, n, o, i, s, l, u) { - if (gz.apply(this, arguments), jc) { - if (jc) { - var c = rd; - jc = !1, rd = null; - } else throw Error(N(198)); - nd || (nd = !0, g5 = c); - } - } - a(vz, "Ub"); - function Ei(e) { - var t = e, r = e; - if (e.alternate) for (; t.return; ) t = t.return; - else { - e = t; - do - t = e, (t.flags & 4098) !== 0 && (r = t.return), e = t.return; - while (e); - } - return t.tag === 3 ? r : null; - } - a(Ei, "Vb"); - function s7(e) { - if (e.tag === 13) { - var t = e.memoizedState; - if (t === null && (e = e.alternate, e !== null && (t = e.memoizedState)), t !== null) return t.dehydrated; - } - return null; - } - a(s7, "Wb"); - function Wb(e) { - if (Ei(e) !== e) throw Error(N(188)); - } - a(Wb, "Xb"); - function yz(e) { - var t = e.alternate; - if (!t) { - if (t = Ei(e), t === null) throw Error(N(188)); - return t !== e ? null : e; - } - for (var r = e, n = t; ; ) { - var o = r.return; - if (o === null) break; - var i = o.alternate; - if (i === null) { - if (n = o.return, n !== null) { - r = n; - continue; - } - break; - } - if (o.child === i.child) { - for (i = o.child; i; ) { - if (i === r) return Wb(o), e; - if (i === n) return Wb(o), t; - i = i.sibling; - } - throw Error(N(188)); - } - if (r.return !== n.return) r = o, n = i; - else { - for (var s = !1, l = o.child; l; ) { - if (l === r) { - s = !0, r = o, n = i; - break; - } - if (l === n) { - s = !0, n = o, r = i; - break; - } - l = l.sibling; - } - if (!s) { - for (l = i.child; l; ) { - if (l === r) { - s = !0, r = i, n = o; - break; - } - if (l === n) { - s = !0, n = i, r = o; - break; - } - l = l.sibling; - } - if (!s) throw Error(N(189)); - } - } - if (r.alternate !== n) throw Error(N(190)); - } - if (r.tag !== 3) throw Error(N(188)); - return r.stateNode.current === r ? e : t; - } - a(yz, "Yb"); - function l7(e) { - return e = yz(e), e !== null ? u7(e) : null; - } - a(l7, "Zb"); - function u7(e) { - if (e.tag === 5 || e.tag === 6) return e; - for (e = e.child; e !== null; ) { - var t = u7(e); - if (t !== null) return t; - e = e.sibling; - } - return null; - } - a(u7, "$b"); - var c7 = Rr.unstable_scheduleCallback, qb = Rr.unstable_cancelCallback, wz = Rr.unstable_shouldYield, Sz = Rr.unstable_requestPaint, Ge = Rr. - unstable_now, Ez = Rr.unstable_getCurrentPriorityLevel, ev = Rr.unstable_ImmediatePriority, p7 = Rr.unstable_UserBlockingPriority, od = Rr. - unstable_NormalPriority, bz = Rr.unstable_LowPriority, f7 = Rr.unstable_IdlePriority, Rd = null, qn = null; - function xz(e) { - if (qn && typeof qn.onCommitFiberRoot == "function") try { - qn.onCommitFiberRoot(Rd, e, void 0, (e.current.flags & 128) === 128); - } catch { - } - } - a(xz, "mc"); - var En = Math.clz32 ? Math.clz32 : Dz, Cz = Math.log, Rz = Math.LN2; - function Dz(e) { - return e >>>= 0, e === 0 ? 32 : 31 - (Cz(e) / Rz | 0) | 0; - } - a(Dz, "nc"); - var T0 = 64, I0 = 4194304; - function zc(e) { - switch (e & -e) { - case 1: - return 1; - case 2: - return 2; - case 4: - return 4; - case 8: - return 8; - case 16: - return 16; - case 32: - return 32; - case 64: - case 128: - case 256: - case 512: - case 1024: - case 2048: - case 4096: - case 8192: - case 16384: - case 32768: - case 65536: - case 131072: - case 262144: - case 524288: - case 1048576: - case 2097152: - return e & 4194240; - case 4194304: - case 8388608: - case 16777216: - case 33554432: - case 67108864: - return e & 130023424; - case 134217728: - return 134217728; - case 268435456: - return 268435456; - case 536870912: - return 536870912; - case 1073741824: - return 1073741824; - default: - return e; - } - } - a(zc, "tc"); - function ad(e, t) { - var r = e.pendingLanes; - if (r === 0) return 0; - var n = 0, o = e.suspendedLanes, i = e.pingedLanes, s = r & 268435455; - if (s !== 0) { - var l = s & ~o; - l !== 0 ? n = zc(l) : (i &= s, i !== 0 && (n = zc(i))); - } else s = r & ~o, s !== 0 ? n = zc(s) : i !== 0 && (n = zc(i)); - if (n === 0) return 0; - if (t !== 0 && t !== n && (t & o) === 0 && (o = n & -n, i = t & -t, o >= i || o === 16 && (i & 4194240) !== 0)) return t; - if ((n & 4) !== 0 && (n |= r & 16), t = e.entangledLanes, t !== 0) for (e = e.entanglements, t &= n; 0 < t; ) r = 31 - En(t), o = 1 << r, - n |= e[r], t &= ~o; - return n; - } - a(ad, "uc"); - function Az(e, t) { - switch (e) { - case 1: - case 2: - case 4: - return t + 250; - case 8: - case 16: - case 32: - case 64: - case 128: - case 256: - case 512: - case 1024: - case 2048: - case 4096: - case 8192: - case 16384: - case 32768: - case 65536: - case 131072: - case 262144: - case 524288: - case 1048576: - case 2097152: - return t + 5e3; - case 4194304: - case 8388608: - case 16777216: - case 33554432: - case 67108864: - return -1; - case 134217728: - case 268435456: - case 536870912: - case 1073741824: - return -1; - default: - return -1; - } - } - a(Az, "vc"); - function _z(e, t) { - for (var r = e.suspendedLanes, n = e.pingedLanes, o = e.expirationTimes, i = e.pendingLanes; 0 < i; ) { - var s = 31 - En(i), l = 1 << s, u = o[s]; - u === -1 ? ((l & r) === 0 || (l & n) !== 0) && (o[s] = Az(l, t)) : u <= t && (e.expiredLanes |= l), i &= ~l; - } - } - a(_z, "wc"); - function v5(e) { - return e = e.pendingLanes & -1073741825, e !== 0 ? e : e & 1073741824 ? 1073741824 : 0; - } - a(v5, "xc"); - function d7() { - var e = T0; - return T0 <<= 1, (T0 & 4194240) === 0 && (T0 = 64), e; - } - a(d7, "yc"); - function M2(e) { - for (var t = [], r = 0; 31 > r; r++) t.push(e); - return t; - } - a(M2, "zc"); - function dp(e, t, r) { - e.pendingLanes |= t, t !== 536870912 && (e.suspendedLanes = 0, e.pingedLanes = 0), e = e.eventTimes, t = 31 - En(t), e[t] = r; - } - a(dp, "Ac"); - function Tz(e, t) { - var r = e.pendingLanes & ~t; - e.pendingLanes = t, e.suspendedLanes = 0, e.pingedLanes = 0, e.expiredLanes &= t, e.mutableReadLanes &= t, e.entangledLanes &= t, t = e. - entanglements; - var n = e.eventTimes; - for (e = e.expirationTimes; 0 < r; ) { - var o = 31 - En(r), i = 1 << o; - t[o] = 0, n[o] = -1, e[o] = -1, r &= ~i; - } - } - a(Tz, "Bc"); - function tv(e, t) { - var r = e.entangledLanes |= t; - for (e = e.entanglements; r; ) { - var n = 31 - En(r), o = 1 << n; - o & t | e[n] & t && (e[n] |= t), r &= ~o; - } - } - a(tv, "Cc"); - var me = 0; - function h7(e) { - return e &= -e, 1 < e ? 4 < e ? (e & 268435455) !== 0 ? 16 : 536870912 : 4 : 1; - } - a(h7, "Dc"); - var m7, rv, g7, v7, y7, y5 = !1, P0 = [], pa = null, fa = null, da = null, Zc = /* @__PURE__ */ new Map(), ep = /* @__PURE__ */ new Map(), - sa = [], Iz = "mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart d\ -rop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit".split(" "); - function Gb(e, t) { - switch (e) { - case "focusin": - case "focusout": - pa = null; - break; - case "dragenter": - case "dragleave": - fa = null; - break; - case "mouseover": - case "mouseout": - da = null; - break; - case "pointerover": - case "pointerout": - Zc.delete(t.pointerId); - break; - case "gotpointercapture": - case "lostpointercapture": - ep.delete(t.pointerId); - } - } - a(Gb, "Sc"); - function Ic(e, t, r, n, o, i) { - return e === null || e.nativeEvent !== i ? (e = { blockedOn: t, domEventName: r, eventSystemFlags: n, nativeEvent: i, targetContainers: [ - o] }, t !== null && (t = mp(t), t !== null && rv(t)), e) : (e.eventSystemFlags |= n, t = e.targetContainers, o !== null && t.indexOf(o) === - -1 && t.push(o), e); - } - a(Ic, "Tc"); - function Pz(e, t, r, n, o) { - switch (t) { - case "focusin": - return pa = Ic(pa, e, t, r, n, o), !0; - case "dragenter": - return fa = Ic(fa, e, t, r, n, o), !0; - case "mouseover": - return da = Ic(da, e, t, r, n, o), !0; - case "pointerover": - var i = o.pointerId; - return Zc.set(i, Ic(Zc.get(i) || null, e, t, r, n, o)), !0; - case "gotpointercapture": - return i = o.pointerId, ep.set(i, Ic(ep.get(i) || null, e, t, r, n, o)), !0; - } - return !1; - } - a(Pz, "Uc"); - function w7(e) { - var t = ci(e.target); - if (t !== null) { - var r = Ei(t); - if (r !== null) { - if (t = r.tag, t === 13) { - if (t = s7(r), t !== null) { - e.blockedOn = t, y7(e.priority, function() { - g7(r); - }); - return; - } - } else if (t === 3 && r.stateNode.current.memoizedState.isDehydrated) { - e.blockedOn = r.tag === 3 ? r.stateNode.containerInfo : null; - return; - } - } - } - e.blockedOn = null; - } - a(w7, "Vc"); - function W0(e) { - if (e.blockedOn !== null) return !1; - for (var t = e.targetContainers; 0 < t.length; ) { - var r = w5(e.domEventName, e.eventSystemFlags, t[0], e.nativeEvent); - if (r === null) { - r = e.nativeEvent; - var n = new r.constructor(r.type, r); - d5 = n, r.target.dispatchEvent(n), d5 = null; - } else return t = mp(r), t !== null && rv(t), e.blockedOn = r, !1; - t.shift(); - } - return !0; - } - a(W0, "Xc"); - function Yb(e, t, r) { - W0(e) && r.delete(t); - } - a(Yb, "Zc"); - function kz() { - y5 = !1, pa !== null && W0(pa) && (pa = null), fa !== null && W0(fa) && (fa = null), da !== null && W0(da) && (da = null), Zc.forEach(Yb), - ep.forEach(Yb); - } - a(kz, "$c"); - function Pc(e, t) { - e.blockedOn === t && (e.blockedOn = null, y5 || (y5 = !0, Rr.unstable_scheduleCallback(Rr.unstable_NormalPriority, kz))); - } - a(Pc, "ad"); - function tp(e) { - function t(o) { - return Pc(o, e); - } - if (a(t, "b"), 0 < P0.length) { - Pc(P0[0], e); - for (var r = 1; r < P0.length; r++) { - var n = P0[r]; - n.blockedOn === e && (n.blockedOn = null); - } - } - for (pa !== null && Pc(pa, e), fa !== null && Pc(fa, e), da !== null && Pc(da, e), Zc.forEach(t), ep.forEach(t), r = 0; r < sa.length; r++) - n = sa[r], n.blockedOn === e && (n.blockedOn = null); - for (; 0 < sa.length && (r = sa[0], r.blockedOn === null); ) w7(r), r.blockedOn === null && sa.shift(); - } - a(tp, "bd"); - var $s = _o.ReactCurrentBatchConfig, id = !0; - function Fz(e, t, r, n) { - var o = me, i = $s.transition; - $s.transition = null; - try { - me = 1, nv(e, t, r, n); - } finally { - me = o, $s.transition = i; - } - } - a(Fz, "ed"); - function Lz(e, t, r, n) { - var o = me, i = $s.transition; - $s.transition = null; - try { - me = 4, nv(e, t, r, n); - } finally { - me = o, $s.transition = i; - } - } - a(Lz, "gd"); - function nv(e, t, r, n) { - if (id) { - var o = w5(e, t, r, n); - if (o === null) U2(e, t, n, sd, r), Gb(e, n); - else if (Pz(o, e, t, r, n)) n.stopPropagation(); - else if (Gb(e, n), t & 4 && -1 < Iz.indexOf(e)) { - for (; o !== null; ) { - var i = mp(o); - if (i !== null && m7(i), i = w5(e, t, r, n), i === null && U2(e, t, n, sd, r), i === o) break; - o = i; - } - o !== null && n.stopPropagation(); - } else U2(e, t, n, null, r); - } - } - a(nv, "fd"); - var sd = null; - function w5(e, t, r, n) { - if (sd = null, e = Z5(n), e = ci(e), e !== null) if (t = Ei(e), t === null) e = null; - else if (r = t.tag, r === 13) { - if (e = s7(t), e !== null) return e; - e = null; - } else if (r === 3) { - if (t.stateNode.current.memoizedState.isDehydrated) return t.tag === 3 ? t.stateNode.containerInfo : null; - e = null; - } else t !== e && (e = null); - return sd = e, null; - } - a(w5, "Yc"); - function S7(e) { - switch (e) { - case "cancel": - case "click": - case "close": - case "contextmenu": - case "copy": - case "cut": - case "auxclick": - case "dblclick": - case "dragend": - case "dragstart": - case "drop": - case "focusin": - case "focusout": - case "input": - case "invalid": - case "keydown": - case "keypress": - case "keyup": - case "mousedown": - case "mouseup": - case "paste": - case "pause": - case "play": - case "pointercancel": - case "pointerdown": - case "pointerup": - case "ratechange": - case "reset": - case "resize": - case "seeked": - case "submit": - case "touchcancel": - case "touchend": - case "touchstart": - case "volumechange": - case "change": - case "selectionchange": - case "textInput": - case "compositionstart": - case "compositionend": - case "compositionupdate": - case "beforeblur": - case "afterblur": - case "beforeinput": - case "blur": - case "fullscreenchange": - case "focus": - case "hashchange": - case "popstate": - case "select": - case "selectstart": - return 1; - case "drag": - case "dragenter": - case "dragexit": - case "dragleave": - case "dragover": - case "mousemove": - case "mouseout": - case "mouseover": - case "pointermove": - case "pointerout": - case "pointerover": - case "scroll": - case "toggle": - case "touchmove": - case "wheel": - case "mouseenter": - case "mouseleave": - case "pointerenter": - case "pointerleave": - return 4; - case "message": - switch (Ez()) { - case ev: - return 1; - case p7: - return 4; - case od: - case bz: - return 16; - case f7: - return 536870912; - default: - return 16; - } - default: - return 16; - } - } - a(S7, "jd"); - var ua = null, ov = null, q0 = null; - function E7() { - if (q0) return q0; - var e, t = ov, r = t.length, n, o = "value" in ua ? ua.value : ua.textContent, i = o.length; - for (e = 0; e < r && t[e] === o[e]; e++) ; - var s = r - e; - for (n = 1; n <= s && t[r - n] === o[i - n]; n++) ; - return q0 = o.slice(e, 1 < n ? 1 - n : void 0); - } - a(E7, "nd"); - function G0(e) { - var t = e.keyCode; - return "charCode" in e ? (e = e.charCode, e === 0 && t === 13 && (e = 13)) : e = t, e === 10 && (e = 13), 32 <= e || e === 13 ? e : 0; - } - a(G0, "od"); - function k0() { - return !0; - } - a(k0, "pd"); - function Kb() { - return !1; - } - a(Kb, "qd"); - function Dr(e) { - function t(r, n, o, i, s) { - this._reactName = r, this._targetInst = o, this.type = n, this.nativeEvent = i, this.target = s, this.currentTarget = null; - for (var l in e) e.hasOwnProperty(l) && (r = e[l], this[l] = r ? r(i) : i[l]); - return this.isDefaultPrevented = (i.defaultPrevented != null ? i.defaultPrevented : i.returnValue === !1) ? k0 : Kb, this.isPropagationStopped = - Kb, this; - } - return a(t, "b"), Be(t.prototype, { preventDefault: /* @__PURE__ */ a(function() { - this.defaultPrevented = !0; - var r = this.nativeEvent; - r && (r.preventDefault ? r.preventDefault() : typeof r.returnValue != "unknown" && (r.returnValue = !1), this.isDefaultPrevented = k0); - }, "preventDefault"), stopPropagation: /* @__PURE__ */ a(function() { - var r = this.nativeEvent; - r && (r.stopPropagation ? r.stopPropagation() : typeof r.cancelBubble != "unknown" && (r.cancelBubble = !0), this.isPropagationStopped = - k0); - }, "stopPropagation"), persist: /* @__PURE__ */ a(function() { - }, "persist"), isPersistent: k0 }), t; - } - a(Dr, "rd"); - var Qs = { eventPhase: 0, bubbles: 0, cancelable: 0, timeStamp: /* @__PURE__ */ a(function(e) { - return e.timeStamp || Date.now(); - }, "timeStamp"), defaultPrevented: 0, isTrusted: 0 }, av = Dr(Qs), hp = Be({}, Qs, { view: 0, detail: 0 }), Oz = Dr(hp), B2, z2, kc, Dd = Be( - {}, hp, { screenX: 0, screenY: 0, clientX: 0, clientY: 0, pageX: 0, pageY: 0, ctrlKey: 0, shiftKey: 0, altKey: 0, metaKey: 0, getModifierState: iv, - button: 0, buttons: 0, relatedTarget: /* @__PURE__ */ a(function(e) { - return e.relatedTarget === void 0 ? e.fromElement === e.srcElement ? e.toElement : e.fromElement : e.relatedTarget; - }, "relatedTarget"), movementX: /* @__PURE__ */ a(function(e) { - return "movementX" in e ? e.movementX : (e !== kc && (kc && e.type === "mousemove" ? (B2 = e.screenX - kc.screenX, z2 = e.screenY - kc.screenY) : - z2 = B2 = 0, kc = e), B2); - }, "movementX"), movementY: /* @__PURE__ */ a(function(e) { - return "movementY" in e ? e.movementY : z2; - }, "movementY") }), Xb = Dr(Dd), Nz = Be({}, Dd, { dataTransfer: 0 }), Mz = Dr(Nz), Bz = Be({}, hp, { relatedTarget: 0 }), H2 = Dr(Bz), zz = Be( - {}, Qs, { animationName: 0, elapsedTime: 0, pseudoElement: 0 }), Hz = Dr(zz), $z = Be({}, Qs, { clipboardData: /* @__PURE__ */ a(function(e) { - return "clipboardData" in e ? e.clipboardData : window.clipboardData; - }, "clipboardData") }), jz = Dr($z), Vz = Be({}, Qs, { data: 0 }), Qb = Dr(Vz), Uz = { - Esc: "Escape", - Spacebar: " ", - Left: "ArrowLeft", - Up: "ArrowUp", - Right: "ArrowRight", - Down: "ArrowDown", - Del: "Delete", - Win: "OS", - Menu: "ContextMenu", - Apps: "ContextMenu", - Scroll: "ScrollLock", - MozPrintableKey: "Unidentified" - }, Wz = { - 8: "Backspace", - 9: "Tab", - 12: "Clear", - 13: "Enter", - 16: "Shift", - 17: "Control", - 18: "Alt", - 19: "Pause", - 20: "CapsLock", - 27: "Escape", - 32: " ", - 33: "PageUp", - 34: "PageDown", - 35: "End", - 36: "Home", - 37: "ArrowLeft", - 38: "ArrowUp", - 39: "ArrowRight", - 40: "ArrowDown", - 45: "Insert", - 46: "Delete", - 112: "F1", - 113: "F2", - 114: "F3", - 115: "F4", - 116: "F5", - 117: "F6", - 118: "F7", - 119: "F8", - 120: "F9", - 121: "F10", - 122: "F11", - 123: "F12", - 144: "NumLock", - 145: "ScrollLock", - 224: "Meta" - }, qz = { Alt: "altKey", Control: "ctrlKey", Meta: "metaKey", Shift: "shiftKey" }; - function Gz(e) { - var t = this.nativeEvent; - return t.getModifierState ? t.getModifierState(e) : (e = qz[e]) ? !!t[e] : !1; - } - a(Gz, "Pd"); - function iv() { - return Gz; - } - a(iv, "zd"); - var Yz = Be({}, hp, { key: /* @__PURE__ */ a(function(e) { - if (e.key) { - var t = Uz[e.key] || e.key; - if (t !== "Unidentified") return t; - } - return e.type === "keypress" ? (e = G0(e), e === 13 ? "Enter" : String.fromCharCode(e)) : e.type === "keydown" || e.type === "keyup" ? Wz[e. - keyCode] || "Unidentified" : ""; - }, "key"), code: 0, location: 0, ctrlKey: 0, shiftKey: 0, altKey: 0, metaKey: 0, repeat: 0, locale: 0, getModifierState: iv, charCode: /* @__PURE__ */ a( - function(e) { - return e.type === "keypress" ? G0(e) : 0; - }, "charCode"), keyCode: /* @__PURE__ */ a(function(e) { - return e.type === "keydown" || e.type === "keyup" ? e.keyCode : 0; - }, "keyCode"), which: /* @__PURE__ */ a(function(e) { - return e.type === "keypress" ? G0(e) : e.type === "keydown" || e.type === "keyup" ? e.keyCode : 0; - }, "which") }), Kz = Dr(Yz), Xz = Be({}, Dd, { pointerId: 0, width: 0, height: 0, pressure: 0, tangentialPressure: 0, tiltX: 0, tiltY: 0, twist: 0, - pointerType: 0, isPrimary: 0 }), Jb = Dr(Xz), Qz = Be({}, hp, { touches: 0, targetTouches: 0, changedTouches: 0, altKey: 0, metaKey: 0, ctrlKey: 0, - shiftKey: 0, getModifierState: iv }), Jz = Dr(Qz), Zz = Be({}, Qs, { propertyName: 0, elapsedTime: 0, pseudoElement: 0 }), eH = Dr(Zz), tH = Be( - {}, Dd, { - deltaX: /* @__PURE__ */ a(function(e) { - return "deltaX" in e ? e.deltaX : "wheelDeltaX" in e ? -e.wheelDeltaX : 0; - }, "deltaX"), - deltaY: /* @__PURE__ */ a(function(e) { - return "deltaY" in e ? e.deltaY : "wheelDeltaY" in e ? -e.wheelDeltaY : "wheelDelta" in e ? -e.wheelDelta : 0; - }, "deltaY"), - deltaZ: 0, - deltaMode: 0 - }), rH = Dr(tH), nH = [9, 13, 27, 32], sv = Co && "CompositionEvent" in window, Vc = null; - Co && "documentMode" in document && (Vc = document.documentMode); - var oH = Co && "TextEvent" in window && !Vc, b7 = Co && (!sv || Vc && 8 < Vc && 11 >= Vc), Zb = " ", ex = !1; - function x7(e, t) { - switch (e) { - case "keyup": - return nH.indexOf(t.keyCode) !== -1; - case "keydown": - return t.keyCode !== 229; - case "keypress": - case "mousedown": - case "focusout": - return !0; - default: - return !1; - } - } - a(x7, "ge"); - function C7(e) { - return e = e.detail, typeof e == "object" && "data" in e ? e.data : null; - } - a(C7, "he"); - var _s = !1; - function aH(e, t) { - switch (e) { - case "compositionend": - return C7(t); - case "keypress": - return t.which !== 32 ? null : (ex = !0, Zb); - case "textInput": - return e = t.data, e === Zb && ex ? null : e; - default: - return null; - } - } - a(aH, "je"); - function iH(e, t) { - if (_s) return e === "compositionend" || !sv && x7(e, t) ? (e = E7(), q0 = ov = ua = null, _s = !1, e) : null; - switch (e) { - case "paste": - return null; - case "keypress": - if (!(t.ctrlKey || t.altKey || t.metaKey) || t.ctrlKey && t.altKey) { - if (t.char && 1 < t.char.length) return t.char; - if (t.which) return String.fromCharCode(t.which); - } - return null; - case "compositionend": - return b7 && t.locale !== "ko" ? null : t.data; - default: - return null; - } - } - a(iH, "ke"); - var sH = { color: !0, date: !0, datetime: !0, "datetime-local": !0, email: !0, month: !0, number: !0, password: !0, range: !0, search: !0, - tel: !0, text: !0, time: !0, url: !0, week: !0 }; - function tx(e) { - var t = e && e.nodeName && e.nodeName.toLowerCase(); - return t === "input" ? !!sH[e.type] : t === "textarea"; - } - a(tx, "me"); - function R7(e, t, r, n) { - r7(n), t = ld(t, "onChange"), 0 < t.length && (r = new av("onChange", "change", null, r, n), e.push({ event: r, listeners: t })); - } - a(R7, "ne"); - var Uc = null, rp = null; - function lH(e) { - N7(e, 0); - } - a(lH, "re"); - function Ad(e) { - var t = Ps(e); - if (Kx(t)) return e; - } - a(Ad, "te"); - function uH(e, t) { - if (e === "change") return t; - } - a(uH, "ve"); - var D7 = !1; - Co && (Co ? (L0 = "oninput" in document, L0 || ($2 = document.createElement("div"), $2.setAttribute("oninput", "return;"), L0 = typeof $2. - oninput == "function"), F0 = L0) : F0 = !1, D7 = F0 && (!document.documentMode || 9 < document.documentMode)); - var F0, L0, $2; - function rx() { - Uc && (Uc.detachEvent("onpropertychange", A7), rp = Uc = null); - } - a(rx, "Ae"); - function A7(e) { - if (e.propertyName === "value" && Ad(rp)) { - var t = []; - R7(t, rp, e, Z5(e)), i7(lH, t); - } - } - a(A7, "Be"); - function cH(e, t, r) { - e === "focusin" ? (rx(), Uc = t, rp = r, Uc.attachEvent("onpropertychange", A7)) : e === "focusout" && rx(); - } - a(cH, "Ce"); - function pH(e) { - if (e === "selectionchange" || e === "keyup" || e === "keydown") return Ad(rp); - } - a(pH, "De"); - function fH(e, t) { - if (e === "click") return Ad(t); - } - a(fH, "Ee"); - function dH(e, t) { - if (e === "input" || e === "change") return Ad(t); - } - a(dH, "Fe"); - function hH(e, t) { - return e === t && (e !== 0 || 1 / e === 1 / t) || e !== e && t !== t; - } - a(hH, "Ge"); - var xn = typeof Object.is == "function" ? Object.is : hH; - function np(e, t) { - if (xn(e, t)) return !0; - if (typeof e != "object" || e === null || typeof t != "object" || t === null) return !1; - var r = Object.keys(e), n = Object.keys(t); - if (r.length !== n.length) return !1; - for (n = 0; n < r.length; n++) { - var o = r[n]; - if (!t5.call(t, o) || !xn(e[o], t[o])) return !1; - } - return !0; - } - a(np, "Ie"); - function nx(e) { - for (; e && e.firstChild; ) e = e.firstChild; - return e; - } - a(nx, "Je"); - function ox(e, t) { - var r = nx(e); - e = 0; - for (var n; r; ) { - if (r.nodeType === 3) { - if (n = e + r.textContent.length, e <= t && n >= t) return { node: r, offset: t - e }; - e = n; - } - e: { - for (; r; ) { - if (r.nextSibling) { - r = r.nextSibling; - break e; - } - r = r.parentNode; - } - r = void 0; - } - r = nx(r); - } - } - a(ox, "Ke"); - function _7(e, t) { - return e && t ? e === t ? !0 : e && e.nodeType === 3 ? !1 : t && t.nodeType === 3 ? _7(e, t.parentNode) : "contains" in e ? e.contains(t) : - e.compareDocumentPosition ? !!(e.compareDocumentPosition(t) & 16) : !1 : !1; - } - a(_7, "Le"); - function T7() { - for (var e = window, t = td(); t instanceof e.HTMLIFrameElement; ) { - try { - var r = typeof t.contentWindow.location.href == "string"; - } catch { - r = !1; - } - if (r) e = t.contentWindow; - else break; - t = td(e.document); - } - return t; - } - a(T7, "Me"); - function lv(e) { - var t = e && e.nodeName && e.nodeName.toLowerCase(); - return t && (t === "input" && (e.type === "text" || e.type === "search" || e.type === "tel" || e.type === "url" || e.type === "password") || - t === "textarea" || e.contentEditable === "true"); - } - a(lv, "Ne"); - function mH(e) { - var t = T7(), r = e.focusedElem, n = e.selectionRange; - if (t !== r && r && r.ownerDocument && _7(r.ownerDocument.documentElement, r)) { - if (n !== null && lv(r)) { - if (t = n.start, e = n.end, e === void 0 && (e = t), "selectionStart" in r) r.selectionStart = t, r.selectionEnd = Math.min(e, r.value. - length); - else if (e = (t = r.ownerDocument || document) && t.defaultView || window, e.getSelection) { - e = e.getSelection(); - var o = r.textContent.length, i = Math.min(n.start, o); - n = n.end === void 0 ? i : Math.min(n.end, o), !e.extend && i > n && (o = n, n = i, i = o), o = ox(r, i); - var s = ox( - r, - n - ); - o && s && (e.rangeCount !== 1 || e.anchorNode !== o.node || e.anchorOffset !== o.offset || e.focusNode !== s.node || e.focusOffset !== - s.offset) && (t = t.createRange(), t.setStart(o.node, o.offset), e.removeAllRanges(), i > n ? (e.addRange(t), e.extend(s.node, s.offset)) : - (t.setEnd(s.node, s.offset), e.addRange(t))); - } - } - for (t = [], e = r; e = e.parentNode; ) e.nodeType === 1 && t.push({ element: e, left: e.scrollLeft, top: e.scrollTop }); - for (typeof r.focus == "function" && r.focus(), r = 0; r < t.length; r++) e = t[r], e.element.scrollLeft = e.left, e.element.scrollTop = - e.top; - } - } - a(mH, "Oe"); - var gH = Co && "documentMode" in document && 11 >= document.documentMode, Ts = null, S5 = null, Wc = null, E5 = !1; - function ax(e, t, r) { - var n = r.window === r ? r.document : r.nodeType === 9 ? r : r.ownerDocument; - E5 || Ts == null || Ts !== td(n) || (n = Ts, "selectionStart" in n && lv(n) ? n = { start: n.selectionStart, end: n.selectionEnd } : (n = - (n.ownerDocument && n.ownerDocument.defaultView || window).getSelection(), n = { anchorNode: n.anchorNode, anchorOffset: n.anchorOffset, - focusNode: n.focusNode, focusOffset: n.focusOffset }), Wc && np(Wc, n) || (Wc = n, n = ld(S5, "onSelect"), 0 < n.length && (t = new av("\ -onSelect", "select", null, t, r), e.push({ event: t, listeners: n }), t.target = Ts))); - } - a(ax, "Ue"); - function O0(e, t) { - var r = {}; - return r[e.toLowerCase()] = t.toLowerCase(), r["Webkit" + e] = "webkit" + t, r["Moz" + e] = "moz" + t, r; - } - a(O0, "Ve"); - var Is = { animationend: O0("Animation", "AnimationEnd"), animationiteration: O0("Animation", "AnimationIteration"), animationstart: O0("A\ -nimation", "AnimationStart"), transitionend: O0("Transition", "TransitionEnd") }, j2 = {}, I7 = {}; - Co && (I7 = document.createElement("div").style, "AnimationEvent" in window || (delete Is.animationend.animation, delete Is.animationiteration. - animation, delete Is.animationstart.animation), "TransitionEvent" in window || delete Is.transitionend.transition); - function _d(e) { - if (j2[e]) return j2[e]; - if (!Is[e]) return e; - var t = Is[e], r; - for (r in t) if (t.hasOwnProperty(r) && r in I7) return j2[e] = t[r]; - return e; - } - a(_d, "Ze"); - var P7 = _d("animationend"), k7 = _d("animationiteration"), F7 = _d("animationstart"), L7 = _d("transitionend"), O7 = /* @__PURE__ */ new Map(), - ix = "abort auxClick cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dra\ -gStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetada\ -ta loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMov\ -e pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd to\ -uchStart volumeChange scroll toggle touchMove waiting wheel".split(" "); - function Ea(e, t) { - O7.set(e, t), Si(t, [e]); - } - a(Ea, "ff"); - for (N0 = 0; N0 < ix.length; N0++) - M0 = ix[N0], sx = M0.toLowerCase(), lx = M0[0].toUpperCase() + M0.slice(1), Ea(sx, "on" + lx); - var M0, sx, lx, N0; - Ea(P7, "onAnimationEnd"); - Ea(k7, "onAnimationIteration"); - Ea(F7, "onAnimationStart"); - Ea("dblclick", "onDoubleClick"); - Ea("focusin", "onFocus"); - Ea("focusout", "onBlur"); - Ea(L7, "onTransitionEnd"); - Us("onMouseEnter", ["mouseout", "mouseover"]); - Us("onMouseLeave", ["mouseout", "mouseover"]); - Us("onPointerEnter", ["pointerout", "pointerover"]); - Us("onPointerLeave", ["pointerout", "pointerover"]); - Si("onChange", "change click focusin focusout input keydown keyup selectionchange".split(" ")); - Si("onSelect", "focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")); - Si("onBeforeInput", ["compositionend", "keypress", "textInput", "paste"]); - Si("onCompositionEnd", "compositionend focusout keydown keypress keyup mousedown".split(" ")); - Si("onCompositionStart", "compositionstart focusout keydown keypress keyup mousedown".split(" ")); - Si("onCompositionUpdate", "compositionupdate focusout keydown keypress keyup mousedown".split(" ")); - var Hc = "abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing\ - progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "), vH = new Set("cancel close invalid l\ -oad scroll toggle".split(" ").concat(Hc)); - function ux(e, t, r) { - var n = e.type || "unknown-event"; - e.currentTarget = r, vz(n, t, void 0, e), e.currentTarget = null; - } - a(ux, "nf"); - function N7(e, t) { - t = (t & 4) !== 0; - for (var r = 0; r < e.length; r++) { - var n = e[r], o = n.event; - n = n.listeners; - e: { - var i = void 0; - if (t) for (var s = n.length - 1; 0 <= s; s--) { - var l = n[s], u = l.instance, c = l.currentTarget; - if (l = l.listener, u !== i && o.isPropagationStopped()) break e; - ux(o, l, c), i = u; - } - else for (s = 0; s < n.length; s++) { - if (l = n[s], u = l.instance, c = l.currentTarget, l = l.listener, u !== i && o.isPropagationStopped()) break e; - ux(o, l, c), i = u; - } - } - } - if (nd) throw e = g5, nd = !1, g5 = null, e; - } - a(N7, "se"); - function De(e, t) { - var r = t[D5]; - r === void 0 && (r = t[D5] = /* @__PURE__ */ new Set()); - var n = e + "__bubble"; - r.has(n) || (M7(t, e, 2, !1), r.add(n)); - } - a(De, "D"); - function V2(e, t, r) { - var n = 0; - t && (n |= 4), M7(r, e, n, t); - } - a(V2, "qf"); - var B0 = "_reactListening" + Math.random().toString(36).slice(2); - function op(e) { - if (!e[B0]) { - e[B0] = !0, Ux.forEach(function(r) { - r !== "selectionchange" && (vH.has(r) || V2(r, !1, e), V2(r, !0, e)); - }); - var t = e.nodeType === 9 ? e : e.ownerDocument; - t === null || t[B0] || (t[B0] = !0, V2("selectionchange", !1, t)); - } - } - a(op, "sf"); - function M7(e, t, r, n) { - switch (S7(t)) { - case 1: - var o = Fz; - break; - case 4: - o = Lz; - break; - default: - o = nv; - } - r = o.bind(null, t, r, e), o = void 0, !m5 || t !== "touchstart" && t !== "touchmove" && t !== "wheel" || (o = !0), n ? o !== void 0 ? e. - addEventListener(t, r, { capture: !0, passive: o }) : e.addEventListener(t, r, !0) : o !== void 0 ? e.addEventListener(t, r, { passive: o }) : - e.addEventListener(t, r, !1); - } - a(M7, "pf"); - function U2(e, t, r, n, o) { - var i = n; - if ((t & 1) === 0 && (t & 2) === 0 && n !== null) e: for (; ; ) { - if (n === null) return; - var s = n.tag; - if (s === 3 || s === 4) { - var l = n.stateNode.containerInfo; - if (l === o || l.nodeType === 8 && l.parentNode === o) break; - if (s === 4) for (s = n.return; s !== null; ) { - var u = s.tag; - if ((u === 3 || u === 4) && (u = s.stateNode.containerInfo, u === o || u.nodeType === 8 && u.parentNode === o)) return; - s = s.return; - } - for (; l !== null; ) { - if (s = ci(l), s === null) return; - if (u = s.tag, u === 5 || u === 6) { - n = i = s; - continue e; - } - l = l.parentNode; - } - } - n = n.return; - } - i7(function() { - var c = i, p = Z5(r), h = []; - e: { - var m = O7.get(e); - if (m !== void 0) { - var g = av, w = e; - switch (e) { - case "keypress": - if (G0(r) === 0) break e; - case "keydown": - case "keyup": - g = Kz; - break; - case "focusin": - w = "focus", g = H2; - break; - case "focusout": - w = "blur", g = H2; - break; - case "beforeblur": - case "afterblur": - g = H2; - break; - case "click": - if (r.button === 2) break e; - case "auxclick": - case "dblclick": - case "mousedown": - case "mousemove": - case "mouseup": - case "mouseout": - case "mouseover": - case "contextmenu": - g = Xb; - break; - case "drag": - case "dragend": - case "dragenter": - case "dragexit": - case "dragleave": - case "dragover": - case "dragstart": - case "drop": - g = Mz; - break; - case "touchcancel": - case "touchend": - case "touchmove": - case "touchstart": - g = Jz; - break; - case P7: - case k7: - case F7: - g = Hz; - break; - case L7: - g = eH; - break; - case "scroll": - g = Oz; - break; - case "wheel": - g = rH; - break; - case "copy": - case "cut": - case "paste": - g = jz; - break; - case "gotpointercapture": - case "lostpointercapture": - case "pointercancel": - case "pointerdown": - case "pointermove": - case "pointerout": - case "pointerover": - case "pointerup": - g = Jb; - } - var v = (t & 4) !== 0, S = !v && e === "scroll", E = v ? m !== null ? m + "Capture" : null : m; - v = []; - for (var y = c, b; y !== null; ) { - b = y; - var x = b.stateNode; - if (b.tag === 5 && x !== null && (b = x, E !== null && (x = Jc(y, E), x != null && v.push(ap(y, x, b)))), S) break; - y = y.return; - } - 0 < v.length && (m = new g(m, w, null, r, p), h.push({ event: m, listeners: v })); - } - } - if ((t & 7) === 0) { - e: { - if (m = e === "mouseover" || e === "pointerover", g = e === "mouseout" || e === "pointerout", m && r !== d5 && (w = r.relatedTarget || - r.fromElement) && (ci(w) || w[Ro])) break e; - if ((g || m) && (m = p.window === p ? p : (m = p.ownerDocument) ? m.defaultView || m.parentWindow : window, g ? (w = r.relatedTarget || - r.toElement, g = c, w = w ? ci(w) : null, w !== null && (S = Ei(w), w !== S || w.tag !== 5 && w.tag !== 6) && (w = null)) : (g = null, - w = c), g !== w)) { - if (v = Xb, x = "onMouseLeave", E = "onMouseEnter", y = "mouse", (e === "pointerout" || e === "pointerover") && (v = Jb, x = "on\ -PointerLeave", E = "onPointerEnter", y = "pointer"), S = g == null ? m : Ps(g), b = w == null ? m : Ps(w), m = new v(x, y + "leave", g, r, p), - m.target = S, m.relatedTarget = b, x = null, ci(p) === c && (v = new v(E, y + "enter", w, r, p), v.target = b, v.relatedTarget = - S, x = v), S = x, g && w) t: { - for (v = g, E = w, y = 0, b = v; b; b = Rs(b)) y++; - for (b = 0, x = E; x; x = Rs(x)) b++; - for (; 0 < y - b; ) v = Rs(v), y--; - for (; 0 < b - y; ) E = Rs(E), b--; - for (; y--; ) { - if (v === E || E !== null && v === E.alternate) break t; - v = Rs(v), E = Rs(E); - } - v = null; - } - else v = null; - g !== null && cx(h, m, g, v, !1), w !== null && S !== null && cx(h, S, w, v, !0); - } - } - e: { - if (m = c ? Ps(c) : window, g = m.nodeName && m.nodeName.toLowerCase(), g === "select" || g === "input" && m.type === "file") var C = uH; - else if (tx(m)) if (D7) C = dH; - else { - C = pH; - var R = cH; - } - else (g = m.nodeName) && g.toLowerCase() === "input" && (m.type === "checkbox" || m.type === "radio") && (C = fH); - if (C && (C = C(e, c))) { - R7(h, C, r, p); - break e; - } - R && R(e, m, c), e === "focusout" && (R = m._wrapperState) && R.controlled && m.type === "number" && l5(m, "number", m.value); - } - switch (R = c ? Ps(c) : window, e) { - case "focusin": - (tx(R) || R.contentEditable === "true") && (Ts = R, S5 = c, Wc = null); - break; - case "focusout": - Wc = S5 = Ts = null; - break; - case "mousedown": - E5 = !0; - break; - case "contextmenu": - case "mouseup": - case "dragend": - E5 = !1, ax(h, r, p); - break; - case "selectionchange": - if (gH) break; - case "keydown": - case "keyup": - ax(h, r, p); - } - var D; - if (sv) e: { - switch (e) { - case "compositionstart": - var A = "onCompositionStart"; - break e; - case "compositionend": - A = "onCompositionEnd"; - break e; - case "compositionupdate": - A = "onCompositionUpdate"; - break e; - } - A = void 0; - } - else _s ? x7(e, r) && (A = "onCompositionEnd") : e === "keydown" && r.keyCode === 229 && (A = "onCompositionStart"); - A && (b7 && r.locale !== "ko" && (_s || A !== "onCompositionStart" ? A === "onCompositionEnd" && _s && (D = E7()) : (ua = p, ov = "v\ -alue" in ua ? ua.value : ua.textContent, _s = !0)), R = ld(c, A), 0 < R.length && (A = new Qb(A, e, null, r, p), h.push({ event: A, listeners: R }), - D ? A.data = D : (D = C7(r), D !== null && (A.data = D)))), (D = oH ? aH(e, r) : iH(e, r)) && (c = ld(c, "onBeforeInput"), 0 < c.length && - (p = new Qb("onBeforeInput", "beforeinput", null, r, p), h.push({ event: p, listeners: c }), p.data = D)); - } - N7(h, t); - }); - } - a(U2, "hd"); - function ap(e, t, r) { - return { instance: e, listener: t, currentTarget: r }; - } - a(ap, "tf"); - function ld(e, t) { - for (var r = t + "Capture", n = []; e !== null; ) { - var o = e, i = o.stateNode; - o.tag === 5 && i !== null && (o = i, i = Jc(e, r), i != null && n.unshift(ap(e, i, o)), i = Jc(e, t), i != null && n.push(ap(e, i, o))), - e = e.return; - } - return n; - } - a(ld, "oe"); - function Rs(e) { - if (e === null) return null; - do - e = e.return; - while (e && e.tag !== 5); - return e || null; - } - a(Rs, "vf"); - function cx(e, t, r, n, o) { - for (var i = t._reactName, s = []; r !== null && r !== n; ) { - var l = r, u = l.alternate, c = l.stateNode; - if (u !== null && u === n) break; - l.tag === 5 && c !== null && (l = c, o ? (u = Jc(r, i), u != null && s.unshift(ap(r, u, l))) : o || (u = Jc(r, i), u != null && s.push( - ap(r, u, l)))), r = r.return; - } - s.length !== 0 && e.push({ event: t, listeners: s }); - } - a(cx, "wf"); - var yH = /\r\n?/g, wH = /\u0000|\uFFFD/g; - function px(e) { - return (typeof e == "string" ? e : "" + e).replace(yH, ` -`).replace(wH, ""); - } - a(px, "zf"); - function z0(e, t, r) { - if (t = px(t), px(e) !== t && r) throw Error(N(425)); - } - a(z0, "Af"); - function ud() { - } - a(ud, "Bf"); - var b5 = null, x5 = null; - function C5(e, t) { - return e === "textarea" || e === "noscript" || typeof t.children == "string" || typeof t.children == "number" || typeof t.dangerouslySetInnerHTML == - "object" && t.dangerouslySetInnerHTML !== null && t.dangerouslySetInnerHTML.__html != null; - } - a(C5, "Ef"); - var R5 = typeof setTimeout == "function" ? setTimeout : void 0, SH = typeof clearTimeout == "function" ? clearTimeout : void 0, fx = typeof Promise == - "function" ? Promise : void 0, EH = typeof queueMicrotask == "function" ? queueMicrotask : typeof fx < "u" ? function(e) { - return fx.resolve(null).then(e).catch(bH); - } : R5; - function bH(e) { - setTimeout(function() { - throw e; - }); - } - a(bH, "If"); - function W2(e, t) { - var r = t, n = 0; - do { - var o = r.nextSibling; - if (e.removeChild(r), o && o.nodeType === 8) if (r = o.data, r === "/$") { - if (n === 0) { - e.removeChild(o), tp(t); - return; - } - n--; - } else r !== "$" && r !== "$?" && r !== "$!" || n++; - r = o; - } while (r); - tp(t); - } - a(W2, "Kf"); - function ha(e) { - for (; e != null; e = e.nextSibling) { - var t = e.nodeType; - if (t === 1 || t === 3) break; - if (t === 8) { - if (t = e.data, t === "$" || t === "$!" || t === "$?") break; - if (t === "/$") return null; - } - } - return e; - } - a(ha, "Lf"); - function dx(e) { - e = e.previousSibling; - for (var t = 0; e; ) { - if (e.nodeType === 8) { - var r = e.data; - if (r === "$" || r === "$!" || r === "$?") { - if (t === 0) return e; - t--; - } else r === "/$" && t++; - } - e = e.previousSibling; - } - return null; - } - a(dx, "Mf"); - var Js = Math.random().toString(36).slice(2), Wn = "__reactFiber$" + Js, ip = "__reactProps$" + Js, Ro = "__reactContainer$" + Js, D5 = "_\ -_reactEvents$" + Js, xH = "__reactListeners$" + Js, CH = "__reactHandles$" + Js; - function ci(e) { - var t = e[Wn]; - if (t) return t; - for (var r = e.parentNode; r; ) { - if (t = r[Ro] || r[Wn]) { - if (r = t.alternate, t.child !== null || r !== null && r.child !== null) for (e = dx(e); e !== null; ) { - if (r = e[Wn]) return r; - e = dx(e); - } - return t; - } - e = r, r = e.parentNode; - } - return null; - } - a(ci, "Wc"); - function mp(e) { - return e = e[Wn] || e[Ro], !e || e.tag !== 5 && e.tag !== 6 && e.tag !== 13 && e.tag !== 3 ? null : e; - } - a(mp, "Cb"); - function Ps(e) { - if (e.tag === 5 || e.tag === 6) return e.stateNode; - throw Error(N(33)); - } - a(Ps, "ue"); - function Td(e) { - return e[ip] || null; - } - a(Td, "Db"); - var A5 = [], ks = -1; - function ba(e) { - return { current: e }; - } - a(ba, "Uf"); - function Ae(e) { - 0 > ks || (e.current = A5[ks], A5[ks] = null, ks--); - } - a(Ae, "E"); - function Ce(e, t) { - ks++, A5[ks] = e.current, e.current = t; - } - a(Ce, "G"); - var Sa = {}, zt = ba(Sa), ur = ba(!1), mi = Sa; - function Ws(e, t) { - var r = e.type.contextTypes; - if (!r) return Sa; - var n = e.stateNode; - if (n && n.__reactInternalMemoizedUnmaskedChildContext === t) return n.__reactInternalMemoizedMaskedChildContext; - var o = {}, i; - for (i in r) o[i] = t[i]; - return n && (e = e.stateNode, e.__reactInternalMemoizedUnmaskedChildContext = t, e.__reactInternalMemoizedMaskedChildContext = o), o; - } - a(Ws, "Yf"); - function cr(e) { - return e = e.childContextTypes, e != null; - } - a(cr, "Zf"); - function cd() { - Ae(ur), Ae(zt); - } - a(cd, "$f"); - function hx(e, t, r) { - if (zt.current !== Sa) throw Error(N(168)); - Ce(zt, t), Ce(ur, r); - } - a(hx, "ag"); - function B7(e, t, r) { - var n = e.stateNode; - if (t = t.childContextTypes, typeof n.getChildContext != "function") return r; - n = n.getChildContext(); - for (var o in n) if (!(o in t)) throw Error(N(108, cz(e) || "Unknown", o)); - return Be({}, r, n); - } - a(B7, "bg"); - function pd(e) { - return e = (e = e.stateNode) && e.__reactInternalMemoizedMergedChildContext || Sa, mi = zt.current, Ce(zt, e), Ce(ur, ur.current), !0; - } - a(pd, "cg"); - function mx(e, t, r) { - var n = e.stateNode; - if (!n) throw Error(N(169)); - r ? (e = B7(e, t, mi), n.__reactInternalMemoizedMergedChildContext = e, Ae(ur), Ae(zt), Ce(zt, e)) : Ae(ur), Ce(ur, r); - } - a(mx, "dg"); - var So = null, Id = !1, q2 = !1; - function z7(e) { - So === null ? So = [e] : So.push(e); - } - a(z7, "hg"); - function RH(e) { - Id = !0, z7(e); - } - a(RH, "ig"); - function xa() { - if (!q2 && So !== null) { - q2 = !0; - var e = 0, t = me; - try { - var r = So; - for (me = 1; e < r.length; e++) { - var n = r[e]; - do - n = n(!0); - while (n !== null); - } - So = null, Id = !1; - } catch (o) { - throw So !== null && (So = So.slice(e + 1)), c7(ev, xa), o; - } finally { - me = t, q2 = !1; - } - } - return null; - } - a(xa, "jg"); - var Fs = [], Ls = 0, fd = null, dd = 0, Hr = [], $r = 0, gi = null, Eo = 1, bo = ""; - function li(e, t) { - Fs[Ls++] = dd, Fs[Ls++] = fd, fd = e, dd = t; - } - a(li, "tg"); - function H7(e, t, r) { - Hr[$r++] = Eo, Hr[$r++] = bo, Hr[$r++] = gi, gi = e; - var n = Eo; - e = bo; - var o = 32 - En(n) - 1; - n &= ~(1 << o), r += 1; - var i = 32 - En(t) + o; - if (30 < i) { - var s = o - o % 5; - i = (n & (1 << s) - 1).toString(32), n >>= s, o -= s, Eo = 1 << 32 - En(t) + o | r << o | n, bo = i + e; - } else Eo = 1 << i | r << o | n, bo = e; - } - a(H7, "ug"); - function uv(e) { - e.return !== null && (li(e, 1), H7(e, 1, 0)); - } - a(uv, "vg"); - function cv(e) { - for (; e === fd; ) fd = Fs[--Ls], Fs[Ls] = null, dd = Fs[--Ls], Fs[Ls] = null; - for (; e === gi; ) gi = Hr[--$r], Hr[$r] = null, bo = Hr[--$r], Hr[$r] = null, Eo = Hr[--$r], Hr[$r] = null; - } - a(cv, "wg"); - var Cr = null, xr = null, Pe = !1, Sn = null; - function $7(e, t) { - var r = jr(5, null, null, 0); - r.elementType = "DELETED", r.stateNode = t, r.return = e, t = e.deletions, t === null ? (e.deletions = [r], e.flags |= 16) : t.push(r); - } - a($7, "Ag"); - function gx(e, t) { - switch (e.tag) { - case 5: - var r = e.type; - return t = t.nodeType !== 1 || r.toLowerCase() !== t.nodeName.toLowerCase() ? null : t, t !== null ? (e.stateNode = t, Cr = e, xr = ha( - t.firstChild), !0) : !1; - case 6: - return t = e.pendingProps === "" || t.nodeType !== 3 ? null : t, t !== null ? (e.stateNode = t, Cr = e, xr = null, !0) : !1; - case 13: - return t = t.nodeType !== 8 ? null : t, t !== null ? (r = gi !== null ? { id: Eo, overflow: bo } : null, e.memoizedState = { dehydrated: t, - treeContext: r, retryLane: 1073741824 }, r = jr(18, null, null, 0), r.stateNode = t, r.return = e, e.child = r, Cr = e, xr = null, !0) : - !1; - default: - return !1; - } - } - a(gx, "Cg"); - function _5(e) { - return (e.mode & 1) !== 0 && (e.flags & 128) === 0; - } - a(_5, "Dg"); - function T5(e) { - if (Pe) { - var t = xr; - if (t) { - var r = t; - if (!gx(e, t)) { - if (_5(e)) throw Error(N(418)); - t = ha(r.nextSibling); - var n = Cr; - t && gx(e, t) ? $7(n, r) : (e.flags = e.flags & -4097 | 2, Pe = !1, Cr = e); - } - } else { - if (_5(e)) throw Error(N(418)); - e.flags = e.flags & -4097 | 2, Pe = !1, Cr = e; - } - } - } - a(T5, "Eg"); - function vx(e) { - for (e = e.return; e !== null && e.tag !== 5 && e.tag !== 3 && e.tag !== 13; ) e = e.return; - Cr = e; - } - a(vx, "Fg"); - function H0(e) { - if (e !== Cr) return !1; - if (!Pe) return vx(e), Pe = !0, !1; - var t; - if ((t = e.tag !== 3) && !(t = e.tag !== 5) && (t = e.type, t = t !== "head" && t !== "body" && !C5(e.type, e.memoizedProps)), t && (t = - xr)) { - if (_5(e)) throw j7(), Error(N(418)); - for (; t; ) $7(e, t), t = ha(t.nextSibling); - } - if (vx(e), e.tag === 13) { - if (e = e.memoizedState, e = e !== null ? e.dehydrated : null, !e) throw Error(N(317)); - e: { - for (e = e.nextSibling, t = 0; e; ) { - if (e.nodeType === 8) { - var r = e.data; - if (r === "/$") { - if (t === 0) { - xr = ha(e.nextSibling); - break e; - } - t--; - } else r !== "$" && r !== "$!" && r !== "$?" || t++; - } - e = e.nextSibling; - } - xr = null; - } - } else xr = Cr ? ha(e.stateNode.nextSibling) : null; - return !0; - } - a(H0, "Gg"); - function j7() { - for (var e = xr; e; ) e = ha(e.nextSibling); - } - a(j7, "Hg"); - function qs() { - xr = Cr = null, Pe = !1; - } - a(qs, "Ig"); - function pv(e) { - Sn === null ? Sn = [e] : Sn.push(e); - } - a(pv, "Jg"); - var DH = _o.ReactCurrentBatchConfig; - function yn(e, t) { - if (e && e.defaultProps) { - t = Be({}, t), e = e.defaultProps; - for (var r in e) t[r] === void 0 && (t[r] = e[r]); - return t; - } - return t; - } - a(yn, "Lg"); - var hd = ba(null), md = null, Os = null, fv = null; - function dv() { - fv = Os = md = null; - } - a(dv, "Qg"); - function hv(e) { - var t = hd.current; - Ae(hd), e._currentValue = t; - } - a(hv, "Rg"); - function I5(e, t, r) { - for (; e !== null; ) { - var n = e.alternate; - if ((e.childLanes & t) !== t ? (e.childLanes |= t, n !== null && (n.childLanes |= t)) : n !== null && (n.childLanes & t) !== t && (n.childLanes |= - t), e === r) break; - e = e.return; - } - } - a(I5, "Sg"); - function js(e, t) { - md = e, fv = Os = null, e = e.dependencies, e !== null && e.firstContext !== null && ((e.lanes & t) !== 0 && (lr = !0), e.firstContext = - null); - } - a(js, "Tg"); - function Ur(e) { - var t = e._currentValue; - if (fv !== e) if (e = { context: e, memoizedValue: t, next: null }, Os === null) { - if (md === null) throw Error(N(308)); - Os = e, md.dependencies = { lanes: 0, firstContext: e }; - } else Os = Os.next = e; - return t; - } - a(Ur, "Vg"); - var pi = null; - function mv(e) { - pi === null ? pi = [e] : pi.push(e); - } - a(mv, "Xg"); - function V7(e, t, r, n) { - var o = t.interleaved; - return o === null ? (r.next = r, mv(t)) : (r.next = o.next, o.next = r), t.interleaved = r, Do(e, n); - } - a(V7, "Yg"); - function Do(e, t) { - e.lanes |= t; - var r = e.alternate; - for (r !== null && (r.lanes |= t), r = e, e = e.return; e !== null; ) e.childLanes |= t, r = e.alternate, r !== null && (r.childLanes |= - t), r = e, e = e.return; - return r.tag === 3 ? r.stateNode : null; - } - a(Do, "Zg"); - var ia = !1; - function gv(e) { - e.updateQueue = { baseState: e.memoizedState, firstBaseUpdate: null, lastBaseUpdate: null, shared: { pending: null, interleaved: null, lanes: 0 }, - effects: null }; - } - a(gv, "ah"); - function U7(e, t) { - e = e.updateQueue, t.updateQueue === e && (t.updateQueue = { baseState: e.baseState, firstBaseUpdate: e.firstBaseUpdate, lastBaseUpdate: e. - lastBaseUpdate, shared: e.shared, effects: e.effects }); - } - a(U7, "bh"); - function xo(e, t) { - return { eventTime: e, lane: t, tag: 0, payload: null, callback: null, next: null }; - } - a(xo, "ch"); - function ma(e, t, r) { - var n = e.updateQueue; - if (n === null) return null; - if (n = n.shared, (le & 2) !== 0) { - var o = n.pending; - return o === null ? t.next = t : (t.next = o.next, o.next = t), n.pending = t, Do(e, r); - } - return o = n.interleaved, o === null ? (t.next = t, mv(n)) : (t.next = o.next, o.next = t), n.interleaved = t, Do(e, r); - } - a(ma, "dh"); - function Y0(e, t, r) { - if (t = t.updateQueue, t !== null && (t = t.shared, (r & 4194240) !== 0)) { - var n = t.lanes; - n &= e.pendingLanes, r |= n, t.lanes = r, tv(e, r); - } - } - a(Y0, "eh"); - function yx(e, t) { - var r = e.updateQueue, n = e.alternate; - if (n !== null && (n = n.updateQueue, r === n)) { - var o = null, i = null; - if (r = r.firstBaseUpdate, r !== null) { - do { - var s = { eventTime: r.eventTime, lane: r.lane, tag: r.tag, payload: r.payload, callback: r.callback, next: null }; - i === null ? o = i = s : i = i.next = s, r = r.next; - } while (r !== null); - i === null ? o = i = t : i = i.next = t; - } else o = i = t; - r = { baseState: n.baseState, firstBaseUpdate: o, lastBaseUpdate: i, shared: n.shared, effects: n.effects }, e.updateQueue = r; - return; - } - e = r.lastBaseUpdate, e === null ? r.firstBaseUpdate = t : e.next = t, r.lastBaseUpdate = t; - } - a(yx, "fh"); - function gd(e, t, r, n) { - var o = e.updateQueue; - ia = !1; - var i = o.firstBaseUpdate, s = o.lastBaseUpdate, l = o.shared.pending; - if (l !== null) { - o.shared.pending = null; - var u = l, c = u.next; - u.next = null, s === null ? i = c : s.next = c, s = u; - var p = e.alternate; - p !== null && (p = p.updateQueue, l = p.lastBaseUpdate, l !== s && (l === null ? p.firstBaseUpdate = c : l.next = c, p.lastBaseUpdate = - u)); - } - if (i !== null) { - var h = o.baseState; - s = 0, p = c = u = null, l = i; - do { - var m = l.lane, g = l.eventTime; - if ((n & m) === m) { - p !== null && (p = p.next = { - eventTime: g, - lane: 0, - tag: l.tag, - payload: l.payload, - callback: l.callback, - next: null - }); - e: { - var w = e, v = l; - switch (m = t, g = r, v.tag) { - case 1: - if (w = v.payload, typeof w == "function") { - h = w.call(g, h, m); - break e; - } - h = w; - break e; - case 3: - w.flags = w.flags & -65537 | 128; - case 0: - if (w = v.payload, m = typeof w == "function" ? w.call(g, h, m) : w, m == null) break e; - h = Be({}, h, m); - break e; - case 2: - ia = !0; - } - } - l.callback !== null && l.lane !== 0 && (e.flags |= 64, m = o.effects, m === null ? o.effects = [l] : m.push(l)); - } else g = { eventTime: g, lane: m, tag: l.tag, payload: l.payload, callback: l.callback, next: null }, p === null ? (c = p = g, u = - h) : p = p.next = g, s |= m; - if (l = l.next, l === null) { - if (l = o.shared.pending, l === null) break; - m = l, l = m.next, m.next = null, o.lastBaseUpdate = m, o.shared.pending = null; - } - } while (!0); - if (p === null && (u = h), o.baseState = u, o.firstBaseUpdate = c, o.lastBaseUpdate = p, t = o.shared.interleaved, t !== null) { - o = t; - do - s |= o.lane, o = o.next; - while (o !== t); - } else i === null && (o.shared.lanes = 0); - yi |= s, e.lanes = s, e.memoizedState = h; - } - } - a(gd, "gh"); - function wx(e, t, r) { - if (e = t.effects, t.effects = null, e !== null) for (t = 0; t < e.length; t++) { - var n = e[t], o = n.callback; - if (o !== null) { - if (n.callback = null, n = r, typeof o != "function") throw Error(N(191, o)); - o.call(n); - } - } - } - a(wx, "ih"); - var W7 = new Vx.Component().refs; - function P5(e, t, r, n) { - t = e.memoizedState, r = r(n, t), r = r == null ? t : Be({}, t, r), e.memoizedState = r, e.lanes === 0 && (e.updateQueue.baseState = r); - } - a(P5, "kh"); - var Pd = { isMounted: /* @__PURE__ */ a(function(e) { - return (e = e._reactInternals) ? Ei(e) === e : !1; - }, "isMounted"), enqueueSetState: /* @__PURE__ */ a(function(e, t, r) { - e = e._reactInternals; - var n = qt(), o = va(e), i = xo(n, o); - i.payload = t, r != null && (i.callback = r), t = ma(e, i, o), t !== null && (bn(t, e, o, n), Y0(t, e, o)); - }, "enqueueSetState"), enqueueReplaceState: /* @__PURE__ */ a(function(e, t, r) { - e = e._reactInternals; - var n = qt(), o = va(e), i = xo(n, o); - i.tag = 1, i.payload = t, r != null && (i.callback = r), t = ma(e, i, o), t !== null && (bn(t, e, o, n), Y0(t, e, o)); - }, "enqueueReplaceState"), enqueueForceUpdate: /* @__PURE__ */ a(function(e, t) { - e = e._reactInternals; - var r = qt(), n = va(e), o = xo(r, n); - o.tag = 2, t != null && (o.callback = t), t = ma(e, o, n), t !== null && (bn(t, e, n, r), Y0(t, e, n)); - }, "enqueueForceUpdate") }; - function Sx(e, t, r, n, o, i, s) { - return e = e.stateNode, typeof e.shouldComponentUpdate == "function" ? e.shouldComponentUpdate(n, i, s) : t.prototype && t.prototype.isPureReactComponent ? - !np(r, n) || !np(o, i) : !0; - } - a(Sx, "oh"); - function q7(e, t, r) { - var n = !1, o = Sa, i = t.contextType; - return typeof i == "object" && i !== null ? i = Ur(i) : (o = cr(t) ? mi : zt.current, n = t.contextTypes, i = (n = n != null) ? Ws(e, o) : - Sa), t = new t(r, i), e.memoizedState = t.state !== null && t.state !== void 0 ? t.state : null, t.updater = Pd, e.stateNode = t, t._reactInternals = - e, n && (e = e.stateNode, e.__reactInternalMemoizedUnmaskedChildContext = o, e.__reactInternalMemoizedMaskedChildContext = i), t; - } - a(q7, "ph"); - function Ex(e, t, r, n) { - e = t.state, typeof t.componentWillReceiveProps == "function" && t.componentWillReceiveProps(r, n), typeof t.UNSAFE_componentWillReceiveProps == - "function" && t.UNSAFE_componentWillReceiveProps(r, n), t.state !== e && Pd.enqueueReplaceState(t, t.state, null); - } - a(Ex, "qh"); - function k5(e, t, r, n) { - var o = e.stateNode; - o.props = r, o.state = e.memoizedState, o.refs = W7, gv(e); - var i = t.contextType; - typeof i == "object" && i !== null ? o.context = Ur(i) : (i = cr(t) ? mi : zt.current, o.context = Ws(e, i)), o.state = e.memoizedState, - i = t.getDerivedStateFromProps, typeof i == "function" && (P5(e, t, i, r), o.state = e.memoizedState), typeof t.getDerivedStateFromProps == - "function" || typeof o.getSnapshotBeforeUpdate == "function" || typeof o.UNSAFE_componentWillMount != "function" && typeof o.componentWillMount != - "function" || (t = o.state, typeof o.componentWillMount == "function" && o.componentWillMount(), typeof o.UNSAFE_componentWillMount == "\ -function" && o.UNSAFE_componentWillMount(), t !== o.state && Pd.enqueueReplaceState(o, o.state, null), gd(e, r, o, n), o.state = e.memoizedState), - typeof o.componentDidMount == "function" && (e.flags |= 4194308); - } - a(k5, "rh"); - function Fc(e, t, r) { - if (e = r.ref, e !== null && typeof e != "function" && typeof e != "object") { - if (r._owner) { - if (r = r._owner, r) { - if (r.tag !== 1) throw Error(N(309)); - var n = r.stateNode; - } - if (!n) throw Error(N(147, e)); - var o = n, i = "" + e; - return t !== null && t.ref !== null && typeof t.ref == "function" && t.ref._stringRef === i ? t.ref : (t = /* @__PURE__ */ a(function(s) { - var l = o.refs; - l === W7 && (l = o.refs = {}), s === null ? delete l[i] : l[i] = s; - }, "b"), t._stringRef = i, t); - } - if (typeof e != "string") throw Error(N(284)); - if (!r._owner) throw Error(N(290, e)); - } - return e; - } - a(Fc, "sh"); - function $0(e, t) { - throw e = Object.prototype.toString.call(t), Error(N(31, e === "[object Object]" ? "object with keys {" + Object.keys(t).join(", ") + "}" : - e)); - } - a($0, "th"); - function bx(e) { - var t = e._init; - return t(e._payload); - } - a(bx, "uh"); - function G7(e) { - function t(E, y) { - if (e) { - var b = E.deletions; - b === null ? (E.deletions = [y], E.flags |= 16) : b.push(y); - } - } - a(t, "b"); - function r(E, y) { - if (!e) return null; - for (; y !== null; ) t(E, y), y = y.sibling; - return null; - } - a(r, "c"); - function n(E, y) { - for (E = /* @__PURE__ */ new Map(); y !== null; ) y.key !== null ? E.set(y.key, y) : E.set(y.index, y), y = y.sibling; - return E; - } - a(n, "d"); - function o(E, y) { - return E = ya(E, y), E.index = 0, E.sibling = null, E; - } - a(o, "e"); - function i(E, y, b) { - return E.index = b, e ? (b = E.alternate, b !== null ? (b = b.index, b < y ? (E.flags |= 2, y) : b) : (E.flags |= 2, y)) : (E.flags |= - 1048576, y); - } - a(i, "f"); - function s(E) { - return e && E.alternate === null && (E.flags |= 2), E; - } - a(s, "g"); - function l(E, y, b, x) { - return y === null || y.tag !== 6 ? (y = Z2(b, E.mode, x), y.return = E, y) : (y = o(y, b), y.return = E, y); - } - a(l, "h"); - function u(E, y, b, x) { - var C = b.type; - return C === As ? p(E, y, b.props.children, x, b.key) : y !== null && (y.elementType === C || typeof C == "object" && C !== null && C. - $$typeof === aa && bx(C) === y.type) ? (x = o(y, b.props), x.ref = Fc(E, y, b), x.return = E, x) : (x = ed(b.type, b.key, b.props, null, - E.mode, x), x.ref = Fc(E, y, b), x.return = E, x); - } - a(u, "k"); - function c(E, y, b, x) { - return y === null || y.tag !== 4 || y.stateNode.containerInfo !== b.containerInfo || y.stateNode.implementation !== b.implementation ? - (y = e5(b, E.mode, x), y.return = E, y) : (y = o(y, b.children || []), y.return = E, y); - } - a(c, "l"); - function p(E, y, b, x, C) { - return y === null || y.tag !== 7 ? (y = hi(b, E.mode, x, C), y.return = E, y) : (y = o(y, b), y.return = E, y); - } - a(p, "m"); - function h(E, y, b) { - if (typeof y == "string" && y !== "" || typeof y == "number") return y = Z2("" + y, E.mode, b), y.return = E, y; - if (typeof y == "object" && y !== null) { - switch (y.$$typeof) { - case D0: - return b = ed(y.type, y.key, y.props, null, E.mode, b), b.ref = Fc(E, null, y), b.return = E, b; - case Ds: - return y = e5(y, E.mode, b), y.return = E, y; - case aa: - var x = y._init; - return h(E, x(y._payload), b); - } - if (Bc(y) || Tc(y)) return y = hi(y, E.mode, b, null), y.return = E, y; - $0(E, y); - } - return null; - } - a(h, "q"); - function m(E, y, b, x) { - var C = y !== null ? y.key : null; - if (typeof b == "string" && b !== "" || typeof b == "number") return C !== null ? null : l(E, y, "" + b, x); - if (typeof b == "object" && b !== null) { - switch (b.$$typeof) { - case D0: - return b.key === C ? u(E, y, b, x) : null; - case Ds: - return b.key === C ? c(E, y, b, x) : null; - case aa: - return C = b._init, m( - E, - y, - C(b._payload), - x - ); - } - if (Bc(b) || Tc(b)) return C !== null ? null : p(E, y, b, x, null); - $0(E, b); - } - return null; - } - a(m, "r"); - function g(E, y, b, x, C) { - if (typeof x == "string" && x !== "" || typeof x == "number") return E = E.get(b) || null, l(y, E, "" + x, C); - if (typeof x == "object" && x !== null) { - switch (x.$$typeof) { - case D0: - return E = E.get(x.key === null ? b : x.key) || null, u(y, E, x, C); - case Ds: - return E = E.get(x.key === null ? b : x.key) || null, c(y, E, x, C); - case aa: - var R = x._init; - return g(E, y, b, R(x._payload), C); - } - if (Bc(x) || Tc(x)) return E = E.get(b) || null, p(y, E, x, C, null); - $0(y, x); - } - return null; - } - a(g, "y"); - function w(E, y, b, x) { - for (var C = null, R = null, D = y, A = y = 0, I = null; D !== null && A < b.length; A++) { - D.index > A ? (I = D, D = null) : I = D.sibling; - var k = m(E, D, b[A], x); - if (k === null) { - D === null && (D = I); - break; - } - e && D && k.alternate === null && t(E, D), y = i(k, y, A), R === null ? C = k : R.sibling = k, R = k, D = I; - } - if (A === b.length) return r(E, D), Pe && li(E, A), C; - if (D === null) { - for (; A < b.length; A++) D = h(E, b[A], x), D !== null && (y = i(D, y, A), R === null ? C = D : R.sibling = D, R = D); - return Pe && li(E, A), C; - } - for (D = n(E, D); A < b.length; A++) I = g(D, E, A, b[A], x), I !== null && (e && I.alternate !== null && D.delete(I.key === null ? A : - I.key), y = i(I, y, A), R === null ? C = I : R.sibling = I, R = I); - return e && D.forEach(function(M) { - return t(E, M); - }), Pe && li(E, A), C; - } - a(w, "n"); - function v(E, y, b, x) { - var C = Tc(b); - if (typeof C != "function") throw Error(N(150)); - if (b = C.call(b), b == null) throw Error(N(151)); - for (var R = C = null, D = y, A = y = 0, I = null, k = b.next(); D !== null && !k.done; A++, k = b.next()) { - D.index > A ? (I = D, D = null) : I = D.sibling; - var M = m(E, D, k.value, x); - if (M === null) { - D === null && (D = I); - break; - } - e && D && M.alternate === null && t(E, D), y = i(M, y, A), R === null ? C = M : R.sibling = M, R = M, D = I; - } - if (k.done) return r( - E, - D - ), Pe && li(E, A), C; - if (D === null) { - for (; !k.done; A++, k = b.next()) k = h(E, k.value, x), k !== null && (y = i(k, y, A), R === null ? C = k : R.sibling = k, R = k); - return Pe && li(E, A), C; - } - for (D = n(E, D); !k.done; A++, k = b.next()) k = g(D, E, A, k.value, x), k !== null && (e && k.alternate !== null && D.delete(k.key === - null ? A : k.key), y = i(k, y, A), R === null ? C = k : R.sibling = k, R = k); - return e && D.forEach(function(V) { - return t(E, V); - }), Pe && li(E, A), C; - } - a(v, "t"); - function S(E, y, b, x) { - if (typeof b == "object" && b !== null && b.type === As && b.key === null && (b = b.props.children), typeof b == "object" && b !== null) { - switch (b.$$typeof) { - case D0: - e: { - for (var C = b.key, R = y; R !== null; ) { - if (R.key === C) { - if (C = b.type, C === As) { - if (R.tag === 7) { - r(E, R.sibling), y = o(R, b.props.children), y.return = E, E = y; - break e; - } - } else if (R.elementType === C || typeof C == "object" && C !== null && C.$$typeof === aa && bx(C) === R.type) { - r(E, R.sibling), y = o(R, b.props), y.ref = Fc(E, R, b), y.return = E, E = y; - break e; - } - r(E, R); - break; - } else t(E, R); - R = R.sibling; - } - b.type === As ? (y = hi(b.props.children, E.mode, x, b.key), y.return = E, E = y) : (x = ed(b.type, b.key, b.props, null, E.mode, - x), x.ref = Fc(E, y, b), x.return = E, E = x); - } - return s(E); - case Ds: - e: { - for (R = b.key; y !== null; ) { - if (y.key === R) if (y.tag === 4 && y.stateNode.containerInfo === b.containerInfo && y.stateNode.implementation === b.implementation) { - r(E, y.sibling), y = o(y, b.children || []), y.return = E, E = y; - break e; - } else { - r(E, y); - break; - } - else t(E, y); - y = y.sibling; - } - y = e5(b, E.mode, x), y.return = E, E = y; - } - return s(E); - case aa: - return R = b._init, S(E, y, R(b._payload), x); - } - if (Bc(b)) return w(E, y, b, x); - if (Tc(b)) return v(E, y, b, x); - $0(E, b); - } - return typeof b == "string" && b !== "" || typeof b == "number" ? (b = "" + b, y !== null && y.tag === 6 ? (r(E, y.sibling), y = o(y, b), - y.return = E, E = y) : (r(E, y), y = Z2(b, E.mode, x), y.return = E, E = y), s(E)) : r(E, y); - } - return a(S, "J"), S; - } - a(G7, "vh"); - var Gs = G7(!0), Y7 = G7(!1), gp = {}, Gn = ba(gp), sp = ba(gp), lp = ba(gp); - function fi(e) { - if (e === gp) throw Error(N(174)); - return e; - } - a(fi, "Hh"); - function vv(e, t) { - switch (Ce(lp, t), Ce(sp, e), Ce(Gn, gp), e = t.nodeType, e) { - case 9: - case 11: - t = (t = t.documentElement) ? t.namespaceURI : c5(null, ""); - break; - default: - e = e === 8 ? t.parentNode : t, t = e.namespaceURI || null, e = e.tagName, t = c5(t, e); - } - Ae(Gn), Ce(Gn, t); - } - a(vv, "Ih"); - function Ys() { - Ae(Gn), Ae(sp), Ae(lp); - } - a(Ys, "Jh"); - function K7(e) { - fi(lp.current); - var t = fi(Gn.current), r = c5(t, e.type); - t !== r && (Ce(sp, e), Ce(Gn, r)); - } - a(K7, "Kh"); - function yv(e) { - sp.current === e && (Ae(Gn), Ae(sp)); - } - a(yv, "Lh"); - var Ne = ba(0); - function vd(e) { - for (var t = e; t !== null; ) { - if (t.tag === 13) { - var r = t.memoizedState; - if (r !== null && (r = r.dehydrated, r === null || r.data === "$?" || r.data === "$!")) return t; - } else if (t.tag === 19 && t.memoizedProps.revealOrder !== void 0) { - if ((t.flags & 128) !== 0) return t; - } else if (t.child !== null) { - t.child.return = t, t = t.child; - continue; - } - if (t === e) break; - for (; t.sibling === null; ) { - if (t.return === null || t.return === e) return null; - t = t.return; - } - t.sibling.return = t.return, t = t.sibling; - } - return null; - } - a(vd, "Mh"); - var G2 = []; - function wv() { - for (var e = 0; e < G2.length; e++) G2[e]._workInProgressVersionPrimary = null; - G2.length = 0; - } - a(wv, "Oh"); - var K0 = _o.ReactCurrentDispatcher, Y2 = _o.ReactCurrentBatchConfig, vi = 0, Me = null, at = null, ht = null, yd = !1, qc = !1, up = 0, AH = 0; - function Nt() { - throw Error(N(321)); - } - a(Nt, "Q"); - function Sv(e, t) { - if (t === null) return !1; - for (var r = 0; r < t.length && r < e.length; r++) if (!xn(e[r], t[r])) return !1; - return !0; - } - a(Sv, "Wh"); - function Ev(e, t, r, n, o, i) { - if (vi = i, Me = t, t.memoizedState = null, t.updateQueue = null, t.lanes = 0, K0.current = e === null || e.memoizedState === null ? PH : - kH, e = r(n, o), qc) { - i = 0; - do { - if (qc = !1, up = 0, 25 <= i) throw Error(N(301)); - i += 1, ht = at = null, t.updateQueue = null, K0.current = FH, e = r(n, o); - } while (qc); - } - if (K0.current = wd, t = at !== null && at.next !== null, vi = 0, ht = at = Me = null, yd = !1, t) throw Error(N(300)); - return e; - } - a(Ev, "Xh"); - function bv() { - var e = up !== 0; - return up = 0, e; - } - a(bv, "bi"); - function Un() { - var e = { memoizedState: null, baseState: null, baseQueue: null, queue: null, next: null }; - return ht === null ? Me.memoizedState = ht = e : ht = ht.next = e, ht; - } - a(Un, "ci"); - function Wr() { - if (at === null) { - var e = Me.alternate; - e = e !== null ? e.memoizedState : null; - } else e = at.next; - var t = ht === null ? Me.memoizedState : ht.next; - if (t !== null) ht = t, at = e; - else { - if (e === null) throw Error(N(310)); - at = e, e = { memoizedState: at.memoizedState, baseState: at.baseState, baseQueue: at.baseQueue, queue: at.queue, next: null }, ht === - null ? Me.memoizedState = ht = e : ht = ht.next = e; - } - return ht; - } - a(Wr, "di"); - function cp(e, t) { - return typeof t == "function" ? t(e) : t; - } - a(cp, "ei"); - function K2(e) { - var t = Wr(), r = t.queue; - if (r === null) throw Error(N(311)); - r.lastRenderedReducer = e; - var n = at, o = n.baseQueue, i = r.pending; - if (i !== null) { - if (o !== null) { - var s = o.next; - o.next = i.next, i.next = s; - } - n.baseQueue = o = i, r.pending = null; - } - if (o !== null) { - i = o.next, n = n.baseState; - var l = s = null, u = null, c = i; - do { - var p = c.lane; - if ((vi & p) === p) u !== null && (u = u.next = { lane: 0, action: c.action, hasEagerState: c.hasEagerState, eagerState: c.eagerState, - next: null }), n = c.hasEagerState ? c.eagerState : e(n, c.action); - else { - var h = { - lane: p, - action: c.action, - hasEagerState: c.hasEagerState, - eagerState: c.eagerState, - next: null - }; - u === null ? (l = u = h, s = n) : u = u.next = h, Me.lanes |= p, yi |= p; - } - c = c.next; - } while (c !== null && c !== i); - u === null ? s = n : u.next = l, xn(n, t.memoizedState) || (lr = !0), t.memoizedState = n, t.baseState = s, t.baseQueue = u, r.lastRenderedState = - n; - } - if (e = r.interleaved, e !== null) { - o = e; - do - i = o.lane, Me.lanes |= i, yi |= i, o = o.next; - while (o !== e); - } else o === null && (r.lanes = 0); - return [t.memoizedState, r.dispatch]; - } - a(K2, "fi"); - function X2(e) { - var t = Wr(), r = t.queue; - if (r === null) throw Error(N(311)); - r.lastRenderedReducer = e; - var n = r.dispatch, o = r.pending, i = t.memoizedState; - if (o !== null) { - r.pending = null; - var s = o = o.next; - do - i = e(i, s.action), s = s.next; - while (s !== o); - xn(i, t.memoizedState) || (lr = !0), t.memoizedState = i, t.baseQueue === null && (t.baseState = i), r.lastRenderedState = i; - } - return [i, n]; - } - a(X2, "gi"); - function X7() { - } - a(X7, "hi"); - function Q7(e, t) { - var r = Me, n = Wr(), o = t(), i = !xn(n.memoizedState, o); - if (i && (n.memoizedState = o, lr = !0), n = n.queue, xv(e6.bind(null, r, n, e), [e]), n.getSnapshot !== t || i || ht !== null && ht.memoizedState. - tag & 1) { - if (r.flags |= 2048, pp(9, Z7.bind(null, r, n, o, t), void 0, null), mt === null) throw Error(N(349)); - (vi & 30) !== 0 || J7(r, t, o); - } - return o; - } - a(Q7, "ii"); - function J7(e, t, r) { - e.flags |= 16384, e = { getSnapshot: t, value: r }, t = Me.updateQueue, t === null ? (t = { lastEffect: null, stores: null }, Me.updateQueue = - t, t.stores = [e]) : (r = t.stores, r === null ? t.stores = [e] : r.push(e)); - } - a(J7, "ni"); - function Z7(e, t, r, n) { - t.value = r, t.getSnapshot = n, t6(t) && r6(e); - } - a(Z7, "mi"); - function e6(e, t, r) { - return r(function() { - t6(t) && r6(e); - }); - } - a(e6, "ki"); - function t6(e) { - var t = e.getSnapshot; - e = e.value; - try { - var r = t(); - return !xn(e, r); - } catch { - return !0; - } - } - a(t6, "oi"); - function r6(e) { - var t = Do(e, 1); - t !== null && bn(t, e, 1, -1); - } - a(r6, "pi"); - function xx(e) { - var t = Un(); - return typeof e == "function" && (e = e()), t.memoizedState = t.baseState = e, e = { pending: null, interleaved: null, lanes: 0, dispatch: null, - lastRenderedReducer: cp, lastRenderedState: e }, t.queue = e, e = e.dispatch = IH.bind(null, Me, e), [t.memoizedState, e]; - } - a(xx, "qi"); - function pp(e, t, r, n) { - return e = { tag: e, create: t, destroy: r, deps: n, next: null }, t = Me.updateQueue, t === null ? (t = { lastEffect: null, stores: null }, - Me.updateQueue = t, t.lastEffect = e.next = e) : (r = t.lastEffect, r === null ? t.lastEffect = e.next = e : (n = r.next, r.next = e, e. - next = n, t.lastEffect = e)), e; - } - a(pp, "li"); - function n6() { - return Wr().memoizedState; - } - a(n6, "si"); - function X0(e, t, r, n) { - var o = Un(); - Me.flags |= e, o.memoizedState = pp(1 | t, r, void 0, n === void 0 ? null : n); - } - a(X0, "ti"); - function kd(e, t, r, n) { - var o = Wr(); - n = n === void 0 ? null : n; - var i = void 0; - if (at !== null) { - var s = at.memoizedState; - if (i = s.destroy, n !== null && Sv(n, s.deps)) { - o.memoizedState = pp(t, r, i, n); - return; - } - } - Me.flags |= e, o.memoizedState = pp(1 | t, r, i, n); - } - a(kd, "ui"); - function Cx(e, t) { - return X0(8390656, 8, e, t); - } - a(Cx, "vi"); - function xv(e, t) { - return kd(2048, 8, e, t); - } - a(xv, "ji"); - function o6(e, t) { - return kd(4, 2, e, t); - } - a(o6, "wi"); - function a6(e, t) { - return kd(4, 4, e, t); - } - a(a6, "xi"); - function i6(e, t) { - if (typeof t == "function") return e = e(), t(e), function() { - t(null); - }; - if (t != null) return e = e(), t.current = e, function() { - t.current = null; - }; - } - a(i6, "yi"); - function s6(e, t, r) { - return r = r != null ? r.concat([e]) : null, kd(4, 4, i6.bind(null, t, e), r); - } - a(s6, "zi"); - function Cv() { - } - a(Cv, "Ai"); - function l6(e, t) { - var r = Wr(); - t = t === void 0 ? null : t; - var n = r.memoizedState; - return n !== null && t !== null && Sv(t, n[1]) ? n[0] : (r.memoizedState = [e, t], e); - } - a(l6, "Bi"); - function u6(e, t) { - var r = Wr(); - t = t === void 0 ? null : t; - var n = r.memoizedState; - return n !== null && t !== null && Sv(t, n[1]) ? n[0] : (e = e(), r.memoizedState = [e, t], e); - } - a(u6, "Ci"); - function c6(e, t, r) { - return (vi & 21) === 0 ? (e.baseState && (e.baseState = !1, lr = !0), e.memoizedState = r) : (xn(r, t) || (r = d7(), Me.lanes |= r, yi |= - r, e.baseState = !0), t); - } - a(c6, "Di"); - function _H(e, t) { - var r = me; - me = r !== 0 && 4 > r ? r : 4, e(!0); - var n = Y2.transition; - Y2.transition = {}; - try { - e(!1), t(); - } finally { - me = r, Y2.transition = n; - } - } - a(_H, "Ei"); - function p6() { - return Wr().memoizedState; - } - a(p6, "Fi"); - function TH(e, t, r) { - var n = va(e); - if (r = { lane: n, action: r, hasEagerState: !1, eagerState: null, next: null }, f6(e)) d6(t, r); - else if (r = V7(e, t, r, n), r !== null) { - var o = qt(); - bn(r, e, n, o), h6(r, t, n); - } - } - a(TH, "Gi"); - function IH(e, t, r) { - var n = va(e), o = { lane: n, action: r, hasEagerState: !1, eagerState: null, next: null }; - if (f6(e)) d6(t, o); - else { - var i = e.alternate; - if (e.lanes === 0 && (i === null || i.lanes === 0) && (i = t.lastRenderedReducer, i !== null)) try { - var s = t.lastRenderedState, l = i(s, r); - if (o.hasEagerState = !0, o.eagerState = l, xn(l, s)) { - var u = t.interleaved; - u === null ? (o.next = o, mv(t)) : (o.next = u.next, u.next = o), t.interleaved = o; - return; - } - } catch { - } finally { - } - r = V7(e, t, o, n), r !== null && (o = qt(), bn(r, e, n, o), h6(r, t, n)); - } - } - a(IH, "ri"); - function f6(e) { - var t = e.alternate; - return e === Me || t !== null && t === Me; - } - a(f6, "Hi"); - function d6(e, t) { - qc = yd = !0; - var r = e.pending; - r === null ? t.next = t : (t.next = r.next, r.next = t), e.pending = t; - } - a(d6, "Ii"); - function h6(e, t, r) { - if ((r & 4194240) !== 0) { - var n = t.lanes; - n &= e.pendingLanes, r |= n, t.lanes = r, tv(e, r); - } - } - a(h6, "Ji"); - var wd = { readContext: Ur, useCallback: Nt, useContext: Nt, useEffect: Nt, useImperativeHandle: Nt, useInsertionEffect: Nt, useLayoutEffect: Nt, - useMemo: Nt, useReducer: Nt, useRef: Nt, useState: Nt, useDebugValue: Nt, useDeferredValue: Nt, useTransition: Nt, useMutableSource: Nt, useSyncExternalStore: Nt, - useId: Nt, unstable_isNewReconciler: !1 }, PH = { readContext: Ur, useCallback: /* @__PURE__ */ a(function(e, t) { - return Un().memoizedState = [e, t === void 0 ? null : t], e; - }, "useCallback"), useContext: Ur, useEffect: Cx, useImperativeHandle: /* @__PURE__ */ a(function(e, t, r) { - return r = r != null ? r.concat([e]) : null, X0( - 4194308, - 4, - i6.bind(null, t, e), - r - ); - }, "useImperativeHandle"), useLayoutEffect: /* @__PURE__ */ a(function(e, t) { - return X0(4194308, 4, e, t); - }, "useLayoutEffect"), useInsertionEffect: /* @__PURE__ */ a(function(e, t) { - return X0(4, 2, e, t); - }, "useInsertionEffect"), useMemo: /* @__PURE__ */ a(function(e, t) { - var r = Un(); - return t = t === void 0 ? null : t, e = e(), r.memoizedState = [e, t], e; - }, "useMemo"), useReducer: /* @__PURE__ */ a(function(e, t, r) { - var n = Un(); - return t = r !== void 0 ? r(t) : t, n.memoizedState = n.baseState = t, e = { pending: null, interleaved: null, lanes: 0, dispatch: null, - lastRenderedReducer: e, lastRenderedState: t }, n.queue = e, e = e.dispatch = TH.bind(null, Me, e), [n.memoizedState, e]; - }, "useReducer"), useRef: /* @__PURE__ */ a(function(e) { - var t = Un(); - return e = { current: e }, t.memoizedState = e; - }, "useRef"), useState: xx, useDebugValue: Cv, useDeferredValue: /* @__PURE__ */ a(function(e) { - return Un().memoizedState = e; - }, "useDeferredValue"), useTransition: /* @__PURE__ */ a(function() { - var e = xx(!1), t = e[0]; - return e = _H.bind(null, e[1]), Un().memoizedState = e, [t, e]; - }, "useTransition"), useMutableSource: /* @__PURE__ */ a(function() { - }, "useMutableSource"), useSyncExternalStore: /* @__PURE__ */ a(function(e, t, r) { - var n = Me, o = Un(); - if (Pe) { - if (r === void 0) throw Error(N(407)); - r = r(); - } else { - if (r = t(), mt === null) throw Error(N(349)); - (vi & 30) !== 0 || J7(n, t, r); - } - o.memoizedState = r; - var i = { value: r, getSnapshot: t }; - return o.queue = i, Cx(e6.bind( - null, - n, - i, - e - ), [e]), n.flags |= 2048, pp(9, Z7.bind(null, n, i, r, t), void 0, null), r; - }, "useSyncExternalStore"), useId: /* @__PURE__ */ a(function() { - var e = Un(), t = mt.identifierPrefix; - if (Pe) { - var r = bo, n = Eo; - r = (n & ~(1 << 32 - En(n) - 1)).toString(32) + r, t = ":" + t + "R" + r, r = up++, 0 < r && (t += "H" + r.toString(32)), t += ":"; - } else r = AH++, t = ":" + t + "r" + r.toString(32) + ":"; - return e.memoizedState = t; - }, "useId"), unstable_isNewReconciler: !1 }, kH = { - readContext: Ur, - useCallback: l6, - useContext: Ur, - useEffect: xv, - useImperativeHandle: s6, - useInsertionEffect: o6, - useLayoutEffect: a6, - useMemo: u6, - useReducer: K2, - useRef: n6, - useState: /* @__PURE__ */ a(function() { - return K2(cp); - }, "useState"), - useDebugValue: Cv, - useDeferredValue: /* @__PURE__ */ a(function(e) { - var t = Wr(); - return c6(t, at.memoizedState, e); - }, "useDeferredValue"), - useTransition: /* @__PURE__ */ a(function() { - var e = K2(cp)[0], t = Wr().memoizedState; - return [e, t]; - }, "useTransition"), - useMutableSource: X7, - useSyncExternalStore: Q7, - useId: p6, - unstable_isNewReconciler: !1 - }, FH = { readContext: Ur, useCallback: l6, useContext: Ur, useEffect: xv, useImperativeHandle: s6, useInsertionEffect: o6, useLayoutEffect: a6, - useMemo: u6, useReducer: X2, useRef: n6, useState: /* @__PURE__ */ a(function() { - return X2(cp); - }, "useState"), useDebugValue: Cv, useDeferredValue: /* @__PURE__ */ a(function(e) { - var t = Wr(); - return at === null ? t.memoizedState = e : c6(t, at.memoizedState, e); - }, "useDeferredValue"), useTransition: /* @__PURE__ */ a(function() { - var e = X2(cp)[0], t = Wr().memoizedState; - return [e, t]; - }, "useTransition"), useMutableSource: X7, useSyncExternalStore: Q7, useId: p6, unstable_isNewReconciler: !1 }; - function Ks(e, t) { - try { - var r = "", n = t; - do - r += uz(n), n = n.return; - while (n); - var o = r; - } catch (i) { - o = ` -Error generating stack: ` + i.message + ` -` + i.stack; - } - return { value: e, source: t, stack: o, digest: null }; - } - a(Ks, "Ki"); - function Q2(e, t, r) { - return { value: e, source: null, stack: r ?? null, digest: t ?? null }; - } - a(Q2, "Li"); - function F5(e, t) { - try { - console.error(t.value); - } catch (r) { - setTimeout(function() { - throw r; - }); - } - } - a(F5, "Mi"); - var LH = typeof WeakMap == "function" ? WeakMap : Map; - function m6(e, t, r) { - r = xo(-1, r), r.tag = 3, r.payload = { element: null }; - var n = t.value; - return r.callback = function() { - Ed || (Ed = !0, V5 = n), F5(e, t); - }, r; - } - a(m6, "Oi"); - function g6(e, t, r) { - r = xo(-1, r), r.tag = 3; - var n = e.type.getDerivedStateFromError; - if (typeof n == "function") { - var o = t.value; - r.payload = function() { - return n(o); - }, r.callback = function() { - F5(e, t); - }; - } - var i = e.stateNode; - return i !== null && typeof i.componentDidCatch == "function" && (r.callback = function() { - F5(e, t), typeof n != "function" && (ga === null ? ga = /* @__PURE__ */ new Set([this]) : ga.add(this)); - var s = t.stack; - this.componentDidCatch(t.value, { componentStack: s !== null ? s : "" }); - }), r; - } - a(g6, "Ri"); - function Rx(e, t, r) { - var n = e.pingCache; - if (n === null) { - n = e.pingCache = new LH(); - var o = /* @__PURE__ */ new Set(); - n.set(t, o); - } else o = n.get(t), o === void 0 && (o = /* @__PURE__ */ new Set(), n.set(t, o)); - o.has(r) || (o.add(r), e = YH.bind(null, e, t, r), t.then(e, e)); - } - a(Rx, "Ti"); - function Dx(e) { - do { - var t; - if ((t = e.tag === 13) && (t = e.memoizedState, t = t !== null ? t.dehydrated !== null : !0), t) return e; - e = e.return; - } while (e !== null); - return null; - } - a(Dx, "Vi"); - function Ax(e, t, r, n, o) { - return (e.mode & 1) === 0 ? (e === t ? e.flags |= 65536 : (e.flags |= 128, r.flags |= 131072, r.flags &= -52805, r.tag === 1 && (r.alternate === - null ? r.tag = 17 : (t = xo(-1, 1), t.tag = 2, ma(r, t, 1))), r.lanes |= 1), e) : (e.flags |= 65536, e.lanes = o, e); - } - a(Ax, "Wi"); - var OH = _o.ReactCurrentOwner, lr = !1; - function Wt(e, t, r, n) { - t.child = e === null ? Y7(t, null, r, n) : Gs(t, e.child, r, n); - } - a(Wt, "Yi"); - function _x(e, t, r, n, o) { - r = r.render; - var i = t.ref; - return js(t, o), n = Ev(e, t, r, n, i, o), r = bv(), e !== null && !lr ? (t.updateQueue = e.updateQueue, t.flags &= -2053, e.lanes &= ~o, - Ao(e, t, o)) : (Pe && r && uv(t), t.flags |= 1, Wt(e, t, n, o), t.child); - } - a(_x, "Zi"); - function Tx(e, t, r, n, o) { - if (e === null) { - var i = r.type; - return typeof i == "function" && !kv(i) && i.defaultProps === void 0 && r.compare === null && r.defaultProps === void 0 ? (t.tag = 15, - t.type = i, v6(e, t, i, n, o)) : (e = ed(r.type, null, n, t, t.mode, o), e.ref = t.ref, e.return = t, t.child = e); - } - if (i = e.child, (e.lanes & o) === 0) { - var s = i.memoizedProps; - if (r = r.compare, r = r !== null ? r : np, r(s, n) && e.ref === t.ref) return Ao(e, t, o); - } - return t.flags |= 1, e = ya(i, n), e.ref = t.ref, e.return = t, t.child = e; - } - a(Tx, "aj"); - function v6(e, t, r, n, o) { - if (e !== null) { - var i = e.memoizedProps; - if (np(i, n) && e.ref === t.ref) if (lr = !1, t.pendingProps = n = i, (e.lanes & o) !== 0) (e.flags & 131072) !== 0 && (lr = !0); - else return t.lanes = e.lanes, Ao(e, t, o); - } - return L5(e, t, r, n, o); - } - a(v6, "cj"); - function y6(e, t, r) { - var n = t.pendingProps, o = n.children, i = e !== null ? e.memoizedState : null; - if (n.mode === "hidden") if ((t.mode & 1) === 0) t.memoizedState = { baseLanes: 0, cachePool: null, transitions: null }, Ce(Ms, br), br |= - r; - else { - if ((r & 1073741824) === 0) return e = i !== null ? i.baseLanes | r : r, t.lanes = t.childLanes = 1073741824, t.memoizedState = { baseLanes: e, - cachePool: null, transitions: null }, t.updateQueue = null, Ce(Ms, br), br |= e, null; - t.memoizedState = { baseLanes: 0, cachePool: null, transitions: null }, n = i !== null ? i.baseLanes : r, Ce(Ms, br), br |= n; - } - else i !== null ? (n = i.baseLanes | r, t.memoizedState = null) : n = r, Ce(Ms, br), br |= n; - return Wt(e, t, o, r), t.child; - } - a(y6, "ej"); - function w6(e, t) { - var r = t.ref; - (e === null && r !== null || e !== null && e.ref !== r) && (t.flags |= 512, t.flags |= 2097152); - } - a(w6, "hj"); - function L5(e, t, r, n, o) { - var i = cr(r) ? mi : zt.current; - return i = Ws(t, i), js(t, o), r = Ev(e, t, r, n, i, o), n = bv(), e !== null && !lr ? (t.updateQueue = e.updateQueue, t.flags &= -2053, - e.lanes &= ~o, Ao(e, t, o)) : (Pe && n && uv(t), t.flags |= 1, Wt(e, t, r, o), t.child); - } - a(L5, "dj"); - function Ix(e, t, r, n, o) { - if (cr(r)) { - var i = !0; - pd(t); - } else i = !1; - if (js(t, o), t.stateNode === null) Q0(e, t), q7(t, r, n), k5(t, r, n, o), n = !0; - else if (e === null) { - var s = t.stateNode, l = t.memoizedProps; - s.props = l; - var u = s.context, c = r.contextType; - typeof c == "object" && c !== null ? c = Ur(c) : (c = cr(r) ? mi : zt.current, c = Ws(t, c)); - var p = r.getDerivedStateFromProps, h = typeof p == "function" || typeof s.getSnapshotBeforeUpdate == "function"; - h || typeof s.UNSAFE_componentWillReceiveProps != "function" && typeof s.componentWillReceiveProps != "function" || (l !== n || u !== c) && - Ex(t, s, n, c), ia = !1; - var m = t.memoizedState; - s.state = m, gd(t, n, s, o), u = t.memoizedState, l !== n || m !== u || ur.current || ia ? (typeof p == "function" && (P5(t, r, p, n), - u = t.memoizedState), (l = ia || Sx(t, r, l, n, m, u, c)) ? (h || typeof s.UNSAFE_componentWillMount != "function" && typeof s.componentWillMount != - "function" || (typeof s.componentWillMount == "function" && s.componentWillMount(), typeof s.UNSAFE_componentWillMount == "function" && - s.UNSAFE_componentWillMount()), typeof s.componentDidMount == "function" && (t.flags |= 4194308)) : (typeof s.componentDidMount == "fu\ -nction" && (t.flags |= 4194308), t.memoizedProps = n, t.memoizedState = u), s.props = n, s.state = u, s.context = c, n = l) : (typeof s.componentDidMount == - "function" && (t.flags |= 4194308), n = !1); - } else { - s = t.stateNode, U7(e, t), l = t.memoizedProps, c = t.type === t.elementType ? l : yn(t.type, l), s.props = c, h = t.pendingProps, m = - s.context, u = r.contextType, typeof u == "object" && u !== null ? u = Ur(u) : (u = cr(r) ? mi : zt.current, u = Ws(t, u)); - var g = r.getDerivedStateFromProps; - (p = typeof g == "function" || typeof s.getSnapshotBeforeUpdate == "function") || typeof s.UNSAFE_componentWillReceiveProps != "functi\ -on" && typeof s.componentWillReceiveProps != "function" || (l !== h || m !== u) && Ex(t, s, n, u), ia = !1, m = t.memoizedState, s.state = m, - gd(t, n, s, o); - var w = t.memoizedState; - l !== h || m !== w || ur.current || ia ? (typeof g == "function" && (P5(t, r, g, n), w = t.memoizedState), (c = ia || Sx(t, r, c, n, m, - w, u) || !1) ? (p || typeof s.UNSAFE_componentWillUpdate != "function" && typeof s.componentWillUpdate != "function" || (typeof s.componentWillUpdate == - "function" && s.componentWillUpdate(n, w, u), typeof s.UNSAFE_componentWillUpdate == "function" && s.UNSAFE_componentWillUpdate(n, w, u)), - typeof s.componentDidUpdate == "function" && (t.flags |= 4), typeof s.getSnapshotBeforeUpdate == "function" && (t.flags |= 1024)) : (typeof s. - componentDidUpdate != "function" || l === e.memoizedProps && m === e.memoizedState || (t.flags |= 4), typeof s.getSnapshotBeforeUpdate != - "function" || l === e.memoizedProps && m === e.memoizedState || (t.flags |= 1024), t.memoizedProps = n, t.memoizedState = w), s.props = - n, s.state = w, s.context = u, n = c) : (typeof s.componentDidUpdate != "function" || l === e.memoizedProps && m === e.memoizedState || - (t.flags |= 4), typeof s.getSnapshotBeforeUpdate != "function" || l === e.memoizedProps && m === e.memoizedState || (t.flags |= 1024), - n = !1); - } - return O5(e, t, r, n, i, o); - } - a(Ix, "ij"); - function O5(e, t, r, n, o, i) { - w6(e, t); - var s = (t.flags & 128) !== 0; - if (!n && !s) return o && mx(t, r, !1), Ao(e, t, i); - n = t.stateNode, OH.current = t; - var l = s && typeof r.getDerivedStateFromError != "function" ? null : n.render(); - return t.flags |= 1, e !== null && s ? (t.child = Gs(t, e.child, null, i), t.child = Gs(t, null, l, i)) : Wt(e, t, l, i), t.memoizedState = - n.state, o && mx(t, r, !0), t.child; - } - a(O5, "kj"); - function S6(e) { - var t = e.stateNode; - t.pendingContext ? hx(e, t.pendingContext, t.pendingContext !== t.context) : t.context && hx(e, t.context, !1), vv(e, t.containerInfo); - } - a(S6, "lj"); - function Px(e, t, r, n, o) { - return qs(), pv(o), t.flags |= 256, Wt(e, t, r, n), t.child; - } - a(Px, "mj"); - var N5 = { dehydrated: null, treeContext: null, retryLane: 0 }; - function M5(e) { - return { baseLanes: e, cachePool: null, transitions: null }; - } - a(M5, "oj"); - function E6(e, t, r) { - var n = t.pendingProps, o = Ne.current, i = !1, s = (t.flags & 128) !== 0, l; - if ((l = s) || (l = e !== null && e.memoizedState === null ? !1 : (o & 2) !== 0), l ? (i = !0, t.flags &= -129) : (e === null || e.memoizedState !== - null) && (o |= 1), Ce(Ne, o & 1), e === null) - return T5(t), e = t.memoizedState, e !== null && (e = e.dehydrated, e !== null) ? ((t.mode & 1) === 0 ? t.lanes = 1 : e.data === "$!" ? - t.lanes = 8 : t.lanes = 1073741824, null) : (s = n.children, e = n.fallback, i ? (n = t.mode, i = t.child, s = { mode: "hidden", children: s }, - (n & 1) === 0 && i !== null ? (i.childLanes = 0, i.pendingProps = s) : i = Od(s, n, 0, null), e = hi(e, n, r, null), i.return = t, e.return = - t, i.sibling = e, t.child = i, t.child.memoizedState = M5(r), t.memoizedState = N5, e) : Rv(t, s)); - if (o = e.memoizedState, o !== null && (l = o.dehydrated, l !== null)) return NH(e, t, s, n, l, o, r); - if (i) { - i = n.fallback, s = t.mode, o = e.child, l = o.sibling; - var u = { mode: "hidden", children: n.children }; - return (s & 1) === 0 && t.child !== o ? (n = t.child, n.childLanes = 0, n.pendingProps = u, t.deletions = null) : (n = ya(o, u), n.subtreeFlags = - o.subtreeFlags & 14680064), l !== null ? i = ya(l, i) : (i = hi(i, s, r, null), i.flags |= 2), i.return = t, n.return = t, n.sibling = - i, t.child = n, n = i, i = t.child, s = e.child.memoizedState, s = s === null ? M5(r) : { baseLanes: s.baseLanes | r, cachePool: null, - transitions: s.transitions }, i.memoizedState = s, i.childLanes = e.childLanes & ~r, t.memoizedState = N5, n; - } - return i = e.child, e = i.sibling, n = ya(i, { mode: "visible", children: n.children }), (t.mode & 1) === 0 && (n.lanes = r), n.return = - t, n.sibling = null, e !== null && (r = t.deletions, r === null ? (t.deletions = [e], t.flags |= 16) : r.push(e)), t.child = n, t.memoizedState = - null, n; - } - a(E6, "pj"); - function Rv(e, t) { - return t = Od({ mode: "visible", children: t }, e.mode, 0, null), t.return = e, e.child = t; - } - a(Rv, "rj"); - function j0(e, t, r, n) { - return n !== null && pv(n), Gs(t, e.child, null, r), e = Rv(t, t.pendingProps.children), e.flags |= 2, t.memoizedState = null, e; - } - a(j0, "tj"); - function NH(e, t, r, n, o, i, s) { - if (r) - return t.flags & 256 ? (t.flags &= -257, n = Q2(Error(N(422))), j0(e, t, s, n)) : t.memoizedState !== null ? (t.child = e.child, t.flags |= - 128, null) : (i = n.fallback, o = t.mode, n = Od({ mode: "visible", children: n.children }, o, 0, null), i = hi(i, o, s, null), i.flags |= - 2, n.return = t, i.return = t, n.sibling = i, t.child = n, (t.mode & 1) !== 0 && Gs(t, e.child, null, s), t.child.memoizedState = M5(s), - t.memoizedState = N5, i); - if ((t.mode & 1) === 0) return j0(e, t, s, null); - if (o.data === "$!") { - if (n = o.nextSibling && o.nextSibling.dataset, n) var l = n.dgst; - return n = l, i = Error(N(419)), n = Q2(i, n, void 0), j0(e, t, s, n); - } - if (l = (s & e.childLanes) !== 0, lr || l) { - if (n = mt, n !== null) { - switch (s & -s) { - case 4: - o = 2; - break; - case 16: - o = 8; - break; - case 64: - case 128: - case 256: - case 512: - case 1024: - case 2048: - case 4096: - case 8192: - case 16384: - case 32768: - case 65536: - case 131072: - case 262144: - case 524288: - case 1048576: - case 2097152: - case 4194304: - case 8388608: - case 16777216: - case 33554432: - case 67108864: - o = 32; - break; - case 536870912: - o = 268435456; - break; - default: - o = 0; - } - o = (o & (n.suspendedLanes | s)) !== 0 ? 0 : o, o !== 0 && o !== i.retryLane && (i.retryLane = o, Do(e, o), bn(n, e, o, -1)); - } - return Pv(), n = Q2(Error(N(421))), j0(e, t, s, n); - } - return o.data === "$?" ? (t.flags |= 128, t.child = e.child, t = KH.bind(null, e), o._reactRetry = t, null) : (e = i.treeContext, xr = ha( - o.nextSibling), Cr = t, Pe = !0, Sn = null, e !== null && (Hr[$r++] = Eo, Hr[$r++] = bo, Hr[$r++] = gi, Eo = e.id, bo = e.overflow, gi = - t), t = Rv(t, n.children), t.flags |= 4096, t); - } - a(NH, "sj"); - function kx(e, t, r) { - e.lanes |= t; - var n = e.alternate; - n !== null && (n.lanes |= t), I5(e.return, t, r); - } - a(kx, "wj"); - function J2(e, t, r, n, o) { - var i = e.memoizedState; - i === null ? e.memoizedState = { isBackwards: t, rendering: null, renderingStartTime: 0, last: n, tail: r, tailMode: o } : (i.isBackwards = - t, i.rendering = null, i.renderingStartTime = 0, i.last = n, i.tail = r, i.tailMode = o); - } - a(J2, "xj"); - function b6(e, t, r) { - var n = t.pendingProps, o = n.revealOrder, i = n.tail; - if (Wt(e, t, n.children, r), n = Ne.current, (n & 2) !== 0) n = n & 1 | 2, t.flags |= 128; - else { - if (e !== null && (e.flags & 128) !== 0) e: for (e = t.child; e !== null; ) { - if (e.tag === 13) e.memoizedState !== null && kx(e, r, t); - else if (e.tag === 19) kx(e, r, t); - else if (e.child !== null) { - e.child.return = e, e = e.child; - continue; - } - if (e === t) break e; - for (; e.sibling === null; ) { - if (e.return === null || e.return === t) break e; - e = e.return; - } - e.sibling.return = e.return, e = e.sibling; - } - n &= 1; - } - if (Ce(Ne, n), (t.mode & 1) === 0) t.memoizedState = null; - else switch (o) { - case "forwards": - for (r = t.child, o = null; r !== null; ) e = r.alternate, e !== null && vd(e) === null && (o = r), r = r.sibling; - r = o, r === null ? (o = t.child, t.child = null) : (o = r.sibling, r.sibling = null), J2(t, !1, o, r, i); - break; - case "backwards": - for (r = null, o = t.child, t.child = null; o !== null; ) { - if (e = o.alternate, e !== null && vd(e) === null) { - t.child = o; - break; - } - e = o.sibling, o.sibling = r, r = o, o = e; - } - J2(t, !0, r, null, i); - break; - case "together": - J2(t, !1, null, null, void 0); - break; - default: - t.memoizedState = null; - } - return t.child; - } - a(b6, "yj"); - function Q0(e, t) { - (t.mode & 1) === 0 && e !== null && (e.alternate = null, t.alternate = null, t.flags |= 2); - } - a(Q0, "jj"); - function Ao(e, t, r) { - if (e !== null && (t.dependencies = e.dependencies), yi |= t.lanes, (r & t.childLanes) === 0) return null; - if (e !== null && t.child !== e.child) throw Error(N(153)); - if (t.child !== null) { - for (e = t.child, r = ya(e, e.pendingProps), t.child = r, r.return = t; e.sibling !== null; ) e = e.sibling, r = r.sibling = ya(e, e.pendingProps), - r.return = t; - r.sibling = null; - } - return t.child; - } - a(Ao, "$i"); - function MH(e, t, r) { - switch (t.tag) { - case 3: - S6(t), qs(); - break; - case 5: - K7(t); - break; - case 1: - cr(t.type) && pd(t); - break; - case 4: - vv(t, t.stateNode.containerInfo); - break; - case 10: - var n = t.type._context, o = t.memoizedProps.value; - Ce(hd, n._currentValue), n._currentValue = o; - break; - case 13: - if (n = t.memoizedState, n !== null) - return n.dehydrated !== null ? (Ce(Ne, Ne.current & 1), t.flags |= 128, null) : (r & t.child.childLanes) !== 0 ? E6(e, t, r) : (Ce( - Ne, Ne.current & 1), e = Ao(e, t, r), e !== null ? e.sibling : null); - Ce(Ne, Ne.current & 1); - break; - case 19: - if (n = (r & t.childLanes) !== 0, (e.flags & 128) !== 0) { - if (n) return b6(e, t, r); - t.flags |= 128; - } - if (o = t.memoizedState, o !== null && (o.rendering = null, o.tail = null, o.lastEffect = null), Ce(Ne, Ne.current), n) break; - return null; - case 22: - case 23: - return t.lanes = 0, y6(e, t, r); - } - return Ao(e, t, r); - } - a(MH, "zj"); - var x6, B5, C6, R6; - x6 = /* @__PURE__ */ a(function(e, t) { - for (var r = t.child; r !== null; ) { - if (r.tag === 5 || r.tag === 6) e.appendChild(r.stateNode); - else if (r.tag !== 4 && r.child !== null) { - r.child.return = r, r = r.child; - continue; - } - if (r === t) break; - for (; r.sibling === null; ) { - if (r.return === null || r.return === t) return; - r = r.return; - } - r.sibling.return = r.return, r = r.sibling; - } - }, "Aj"); - B5 = /* @__PURE__ */ a(function() { - }, "Bj"); - C6 = /* @__PURE__ */ a(function(e, t, r, n) { - var o = e.memoizedProps; - if (o !== n) { - e = t.stateNode, fi(Gn.current); - var i = null; - switch (r) { - case "input": - o = i5(e, o), n = i5(e, n), i = []; - break; - case "select": - o = Be({}, o, { value: void 0 }), n = Be({}, n, { value: void 0 }), i = []; - break; - case "textarea": - o = u5(e, o), n = u5(e, n), i = []; - break; - default: - typeof o.onClick != "function" && typeof n.onClick == "function" && (e.onclick = ud); - } - p5(r, n); - var s; - r = null; - for (c in o) if (!n.hasOwnProperty(c) && o.hasOwnProperty(c) && o[c] != null) if (c === "style") { - var l = o[c]; - for (s in l) l.hasOwnProperty(s) && (r || (r = {}), r[s] = ""); - } else c !== "dangerouslySetInnerHTML" && c !== "children" && c !== "suppressContentEditableWarning" && c !== "suppressHydrationWarnin\ -g" && c !== "autoFocus" && (Xc.hasOwnProperty(c) ? i || (i = []) : (i = i || []).push(c, null)); - for (c in n) { - var u = n[c]; - if (l = o?.[c], n.hasOwnProperty(c) && u !== l && (u != null || l != null)) if (c === "style") if (l) { - for (s in l) !l.hasOwnProperty(s) || u && u.hasOwnProperty(s) || (r || (r = {}), r[s] = ""); - for (s in u) u.hasOwnProperty(s) && l[s] !== u[s] && (r || (r = {}), r[s] = u[s]); - } else r || (i || (i = []), i.push( - c, - r - )), r = u; - else c === "dangerouslySetInnerHTML" ? (u = u ? u.__html : void 0, l = l ? l.__html : void 0, u != null && l !== u && (i = i || []). - push(c, u)) : c === "children" ? typeof u != "string" && typeof u != "number" || (i = i || []).push(c, "" + u) : c !== "suppressCont\ -entEditableWarning" && c !== "suppressHydrationWarning" && (Xc.hasOwnProperty(c) ? (u != null && c === "onScroll" && De("scroll", e), i || l === - u || (i = [])) : (i = i || []).push(c, u)); - } - r && (i = i || []).push("style", r); - var c = i; - (t.updateQueue = c) && (t.flags |= 4); - } - }, "Cj"); - R6 = /* @__PURE__ */ a(function(e, t, r, n) { - r !== n && (t.flags |= 4); - }, "Dj"); - function Lc(e, t) { - if (!Pe) switch (e.tailMode) { - case "hidden": - t = e.tail; - for (var r = null; t !== null; ) t.alternate !== null && (r = t), t = t.sibling; - r === null ? e.tail = null : r.sibling = null; - break; - case "collapsed": - r = e.tail; - for (var n = null; r !== null; ) r.alternate !== null && (n = r), r = r.sibling; - n === null ? t || e.tail === null ? e.tail = null : e.tail.sibling = null : n.sibling = null; - } - } - a(Lc, "Ej"); - function Mt(e) { - var t = e.alternate !== null && e.alternate.child === e.child, r = 0, n = 0; - if (t) for (var o = e.child; o !== null; ) r |= o.lanes | o.childLanes, n |= o.subtreeFlags & 14680064, n |= o.flags & 14680064, o.return = - e, o = o.sibling; - else for (o = e.child; o !== null; ) r |= o.lanes | o.childLanes, n |= o.subtreeFlags, n |= o.flags, o.return = e, o = o.sibling; - return e.subtreeFlags |= n, e.childLanes = r, t; - } - a(Mt, "S"); - function BH(e, t, r) { - var n = t.pendingProps; - switch (cv(t), t.tag) { - case 2: - case 16: - case 15: - case 0: - case 11: - case 7: - case 8: - case 12: - case 9: - case 14: - return Mt(t), null; - case 1: - return cr(t.type) && cd(), Mt(t), null; - case 3: - return n = t.stateNode, Ys(), Ae(ur), Ae(zt), wv(), n.pendingContext && (n.context = n.pendingContext, n.pendingContext = null), (e === - null || e.child === null) && (H0(t) ? t.flags |= 4 : e === null || e.memoizedState.isDehydrated && (t.flags & 256) === 0 || (t.flags |= - 1024, Sn !== null && (q5(Sn), Sn = null))), B5(e, t), Mt(t), null; - case 5: - yv(t); - var o = fi(lp.current); - if (r = t.type, e !== null && t.stateNode != null) C6(e, t, r, n, o), e.ref !== t.ref && (t.flags |= 512, t.flags |= 2097152); - else { - if (!n) { - if (t.stateNode === null) throw Error(N(166)); - return Mt(t), null; - } - if (e = fi(Gn.current), H0(t)) { - n = t.stateNode, r = t.type; - var i = t.memoizedProps; - switch (n[Wn] = t, n[ip] = i, e = (t.mode & 1) !== 0, r) { - case "dialog": - De("cancel", n), De("close", n); - break; - case "iframe": - case "object": - case "embed": - De("load", n); - break; - case "video": - case "audio": - for (o = 0; o < Hc.length; o++) De(Hc[o], n); - break; - case "source": - De("error", n); - break; - case "img": - case "image": - case "link": - De( - "error", - n - ), De("load", n); - break; - case "details": - De("toggle", n); - break; - case "input": - Hb(n, i), De("invalid", n); - break; - case "select": - n._wrapperState = { wasMultiple: !!i.multiple }, De("invalid", n); - break; - case "textarea": - jb(n, i), De("invalid", n); - } - p5(r, i), o = null; - for (var s in i) if (i.hasOwnProperty(s)) { - var l = i[s]; - s === "children" ? typeof l == "string" ? n.textContent !== l && (i.suppressHydrationWarning !== !0 && z0(n.textContent, l, e), - o = ["children", l]) : typeof l == "number" && n.textContent !== "" + l && (i.suppressHydrationWarning !== !0 && z0( - n.textContent, - l, - e - ), o = ["children", "" + l]) : Xc.hasOwnProperty(s) && l != null && s === "onScroll" && De("scroll", n); - } - switch (r) { - case "input": - A0(n), $b(n, i, !0); - break; - case "textarea": - A0(n), Vb(n); - break; - case "select": - case "option": - break; - default: - typeof i.onClick == "function" && (n.onclick = ud); - } - n = o, t.updateQueue = n, n !== null && (t.flags |= 4); - } else { - s = o.nodeType === 9 ? o : o.ownerDocument, e === "http://www.w3.org/1999/xhtml" && (e = Jx(r)), e === "http://www.w3.org/1999/x\ -html" ? r === "script" ? (e = s.createElement("div"), e.innerHTML = "