commit b1c48771e417661c0f2a81a633f29c92e616f978 Author: abearxiong Date: Wed Apr 30 01:50:08 2025 +0800 init tw diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..6443f9e --- /dev/null +++ b/.gitignore @@ -0,0 +1,3 @@ +node_modules + +stroybook-static \ No newline at end of file diff --git a/.npmrc b/.npmrc new file mode 100644 index 0000000..db88d76 --- /dev/null +++ b/.npmrc @@ -0,0 +1,4 @@ +//npm.xiongxiao.me/:_authToken=${ME_NPM_TOKEN} +//registry.npmjs.org/:_authToken=${NPM_TOKEN} + +ignore-workspace-root-check=true \ No newline at end of file diff --git a/.storybook/main.js b/.storybook/main.js new file mode 100644 index 0000000..095722f --- /dev/null +++ b/.storybook/main.js @@ -0,0 +1,28 @@ +/** @type { import('@storybook/react-vite').StorybookConfig } */ +const config = { + stories: [ + '../stories/**/*.mdx', + '../stories/**/*.stories.@(js|jsx|mjs|ts|tsx)', // + + '../packages/**/*.mdx', + '../packages/**/*.stories.@(js|jsx|mjs|ts|tsx)', + ], + addons: ['@storybook/addon-essentials', '@storybook/addon-onboarding', '@chromatic-com/storybook', '@storybook/experimental-addon-test'], + framework: { + name: '@storybook/react-vite', + options: {}, + }, + async viteFinal(config) { + const isDev = config.mode === 'development'; + config.base = isDev ? '/' : '/root/tw-story'; // 设置基础路径 + // 添加 Tailwind CSS 支持 + config.css = { + postcss: { + // @ts-ignore + plugins: [require('@tailwindcss/postcss')({})], + }, + }; + return config; + }, +}; +export default config; diff --git a/.storybook/preview.ts b/.storybook/preview.ts new file mode 100644 index 0000000..9b383a6 --- /dev/null +++ b/.storybook/preview.ts @@ -0,0 +1,14 @@ +import './tailwind.css'; +/** @type { import('@storybook/react').Preview } */ +const preview = { + parameters: { + controls: { + matchers: { + color: /(background|color)$/i, + date: /Date$/i, + }, + }, + }, +}; + +export default preview; \ No newline at end of file diff --git a/.storybook/tailwind.css b/.storybook/tailwind.css new file mode 100644 index 0000000..f173aa4 --- /dev/null +++ b/.storybook/tailwind.css @@ -0,0 +1 @@ +@import 'tailwindcss'; \ No newline at end of file diff --git a/.storybook/vitest.setup.js b/.storybook/vitest.setup.js new file mode 100644 index 0000000..273710c --- /dev/null +++ b/.storybook/vitest.setup.js @@ -0,0 +1,9 @@ +import { beforeAll } from 'vitest'; +import { setProjectAnnotations } from '@storybook/react'; +import * as projectAnnotations from './preview'; + +// This is an important step to apply the right configuration when testing your stories. +// More info at: https://storybook.js.org/docs/api/portable-stories/portable-stories-vitest#setprojectannotations +const project = setProjectAnnotations([projectAnnotations]); + +beforeAll(project.beforeAll); \ No newline at end of file diff --git a/package.json b/package.json new file mode 100644 index 0000000..30b30e2 --- /dev/null +++ b/package.json @@ -0,0 +1,45 @@ +{ + "name": "@kevisual/tw", + "version": "0.0.1", + "description": "", + "main": "index.js", + "basename": "root/tw-story", + "scripts": { + "story": "storybook dev -p 6006 ", + "build:story": "storybook build", + "pub": "envision deploy ./storybook-static -k tw-story -v 0.0.1 -u" + }, + "files": [ + "storybook-static" + ], + "keywords": [], + "author": "abearxiong (https://www.xiongxiao.me)", + "license": "MIT", + "packageManager": "pnpm@10.6.2", + "type": "module", + "dependencies": { + "@kevisual/types": "0.0.9", + "storybook": "^8.6.12", + "tailwindcss": "^4.1.4" + }, + "devDependencies": { + "@chromatic-com/storybook": "^3", + "@storybook/addon-essentials": "^8.6.12", + "@storybook/addon-onboarding": "^8.6.12", + "@storybook/blocks": "^8.6.12", + "@storybook/experimental-addon-test": "^8.6.12", + "@storybook/react": "^8.6.12", + "@storybook/react-vite": "^8.6.12", + "@storybook/test": "^8.6.12", + "@tailwindcss/postcss": "^4.1.4", + "@types/react": "^19.1.2", + "@types/react-dom": "^19.1.2", + "@vitest/browser": "^3.1.2", + "@vitest/coverage-v8": "^3.1.2", + "playwright": "^1.52.0", + "prop-types": "^15.8.1", + "react": "^19.1.0", + "react-dom": "^19.1.0", + "vitest": "^3.1.2" + } +} \ No newline at end of file diff --git a/packages/twu/.npmrc b/packages/twu/.npmrc new file mode 100644 index 0000000..db88d76 --- /dev/null +++ b/packages/twu/.npmrc @@ -0,0 +1,4 @@ +//npm.xiongxiao.me/:_authToken=${ME_NPM_TOKEN} +//registry.npmjs.org/:_authToken=${NPM_TOKEN} + +ignore-workspace-root-check=true \ No newline at end of file diff --git a/packages/twu/nav/Nav.tsx b/packages/twu/nav/Nav.tsx new file mode 100644 index 0000000..5e3b032 --- /dev/null +++ b/packages/twu/nav/Nav.tsx @@ -0,0 +1,3 @@ +export const Nav = () => { + return
Nav
+} \ No newline at end of file diff --git a/packages/twu/nav/nav.mdx b/packages/twu/nav/nav.mdx new file mode 100644 index 0000000..db79cd5 --- /dev/null +++ b/packages/twu/nav/nav.mdx @@ -0,0 +1 @@ +# nav的模块 diff --git a/packages/twu/package.json b/packages/twu/package.json new file mode 100644 index 0000000..312fe63 --- /dev/null +++ b/packages/twu/package.json @@ -0,0 +1,26 @@ +{ + "name": "@kevisual/twu", + "version": "0.0.1", + "description": "", + "main": "index.js", + "scripts": { + "test": "echo \"Error: no test specified\" && exit 1" + }, + "keywords": [], + "publishConfig": { + "access": "public" + }, + "files": [ + "src", + "nav" + ], + "author": "abearxiong (https://www.xiongxiao.me)", + "license": "MIT", + "packageManager": "pnpm@10.6.2", + "type": "module", + "dependencies": {}, + "devDependencies": { + "tailwindcss": "^4.1.4", + "@tailwindcss/vite": "^4.1.4" + } +} \ No newline at end of file diff --git a/packages/twu/src/First.tsx b/packages/twu/src/First.tsx new file mode 100644 index 0000000..4e2e02b --- /dev/null +++ b/packages/twu/src/First.tsx @@ -0,0 +1,3 @@ +export const First = () => { + return
First
+} \ No newline at end of file diff --git a/packages/twu/tsconfig.json b/packages/twu/tsconfig.json new file mode 100644 index 0000000..b68464f --- /dev/null +++ b/packages/twu/tsconfig.json @@ -0,0 +1,17 @@ +{ + "extends": "@kevisual/types/json/frontend.json", + "compilerOptions": { + "baseUrl": ".", + "jsx": "react-jsx", + "paths": { + "@/*": [ + "./src/*" + ] + } + }, + "include": [ + "src/**/*", + "stories/**/*", + "nav" + ] +} \ No newline at end of file diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml new file mode 100644 index 0000000..d528436 --- /dev/null +++ b/pnpm-lock.yaml @@ -0,0 +1,3617 @@ +lockfileVersion: '9.0' + +settings: + autoInstallPeers: true + excludeLinksFromLockfile: false + +importers: + + .: + dependencies: + '@kevisual/types': + specifier: 0.0.9 + version: 0.0.9 + storybook: + specifier: ^8.6.12 + version: 8.6.12 + tailwindcss: + specifier: ^4.1.4 + version: 4.1.4 + devDependencies: + '@chromatic-com/storybook': + specifier: ^3 + version: 3.2.6(react@19.1.0)(storybook@8.6.12) + '@storybook/addon-essentials': + specifier: ^8.6.12 + version: 8.6.12(@types/react@19.1.2)(storybook@8.6.12) + '@storybook/addon-onboarding': + specifier: ^8.6.12 + version: 8.6.12(storybook@8.6.12) + '@storybook/blocks': + specifier: ^8.6.12 + version: 8.6.12(react-dom@19.1.0(react@19.1.0))(react@19.1.0)(storybook@8.6.12) + '@storybook/experimental-addon-test': + specifier: ^8.6.12 + version: 8.6.12(@vitest/browser@3.1.2)(@vitest/runner@3.1.2)(react-dom@19.1.0(react@19.1.0))(react@19.1.0)(storybook@8.6.12)(vitest@3.1.2) + '@storybook/react': + specifier: ^8.6.12 + version: 8.6.12(@storybook/test@8.6.12(storybook@8.6.12))(react-dom@19.1.0(react@19.1.0))(react@19.1.0)(storybook@8.6.12)(typescript@5.8.3) + '@storybook/react-vite': + specifier: ^8.6.12 + version: 8.6.12(@storybook/test@8.6.12(storybook@8.6.12))(react-dom@19.1.0(react@19.1.0))(react@19.1.0)(rollup@4.40.1)(storybook@8.6.12)(typescript@5.8.3)(vite@6.3.3(jiti@2.4.2)(lightningcss@1.29.2)) + '@storybook/test': + specifier: ^8.6.12 + version: 8.6.12(storybook@8.6.12) + '@tailwindcss/postcss': + specifier: ^4.1.4 + version: 4.1.4 + '@types/react': + specifier: ^19.1.2 + version: 19.1.2 + '@types/react-dom': + specifier: ^19.1.2 + version: 19.1.2(@types/react@19.1.2) + '@vitest/browser': + specifier: ^3.1.2 + version: 3.1.2(playwright@1.52.0)(vite@6.3.3(jiti@2.4.2)(lightningcss@1.29.2))(vitest@3.1.2) + '@vitest/coverage-v8': + specifier: ^3.1.2 + version: 3.1.2(@vitest/browser@3.1.2)(vitest@3.1.2) + playwright: + specifier: ^1.52.0 + version: 1.52.0 + prop-types: + specifier: ^15.8.1 + version: 15.8.1 + react: + specifier: ^19.1.0 + version: 19.1.0 + react-dom: + specifier: ^19.1.0 + version: 19.1.0(react@19.1.0) + vitest: + specifier: ^3.1.2 + version: 3.1.2(@vitest/browser@3.1.2)(jiti@2.4.2)(lightningcss@1.29.2) + + packages/twu: + dependencies: + tailwindcss: + specifier: ^4.1.4 + version: 4.1.4 + devDependencies: + '@tailwindcss/vite': + specifier: ^4.1.4 + version: 4.1.4(vite@6.3.3(jiti@2.4.2)(lightningcss@1.29.2)) + +packages: + + '@adobe/css-tools@4.4.2': + resolution: {integrity: sha512-baYZExFpsdkBNuvGKTKWCwKH57HRZLVtycZS05WTQNVOiXVSeAki3nU35zlRbToeMW8aHlJfyS+1C4BOv27q0A==} + + '@alloc/quick-lru@5.2.0': + resolution: {integrity: sha512-UrcABB+4bUrFABwbluTIBErXwvbsU/V7TZWfmbgJfbkwiBuziS9gxdODUyuiecfdGQ85jglMW6juS3+z5TsKLw==} + engines: {node: '>=10'} + + '@ampproject/remapping@2.3.0': + resolution: {integrity: sha512-30iZtAPgz+LTIYoeivqYo853f02jBYSd5uGnGpkFV0M3xOt9aN73erkgYAmZU43x4VfqcnLxW9Kpg3R5LC4YYw==} + engines: {node: '>=6.0.0'} + + '@babel/code-frame@7.26.2': + resolution: {integrity: sha512-RJlIHRueQgwWitWgF8OdFYGZX328Ax5BCemNGlqHfplnRT9ESi8JkFlvaVYbS+UubVY6dpv87Fs2u5M29iNFVQ==} + engines: {node: '>=6.9.0'} + + '@babel/compat-data@7.26.8': + resolution: {integrity: sha512-oH5UPLMWR3L2wEFLnFJ1TZXqHufiTKAiLfqw5zkhS4dKXLJ10yVztfil/twG8EDTA4F/tvVNw9nOl4ZMslB8rQ==} + engines: {node: '>=6.9.0'} + + '@babel/core@7.26.10': + resolution: {integrity: sha512-vMqyb7XCDMPvJFFOaT9kxtiRh42GwlZEg1/uIgtZshS5a/8OaduUfCi7kynKgc3Tw/6Uo2D+db9qBttghhmxwQ==} + engines: {node: '>=6.9.0'} + + '@babel/generator@7.27.0': + resolution: {integrity: sha512-VybsKvpiN1gU1sdMZIp7FcqphVVKEwcuj02x73uvcHE0PTihx1nlBcowYWhDwjpoAXRv43+gDzyggGnn1XZhVw==} + engines: {node: '>=6.9.0'} + + '@babel/helper-compilation-targets@7.27.0': + resolution: {integrity: sha512-LVk7fbXml0H2xH34dFzKQ7TDZ2G4/rVTOrq9V+icbbadjbVxxeFeDsNHv2SrZeWoA+6ZiTyWYWtScEIW07EAcA==} + engines: {node: '>=6.9.0'} + + '@babel/helper-module-imports@7.25.9': + resolution: {integrity: sha512-tnUA4RsrmflIM6W6RFTLFSXITtl0wKjgpnLgXyowocVPrbYrLUXSBXDgTs8BlbmIzIdlBySRQjINYs2BAkiLtw==} + engines: {node: '>=6.9.0'} + + '@babel/helper-module-transforms@7.26.0': + resolution: {integrity: sha512-xO+xu6B5K2czEnQye6BHA7DolFFmS3LB7stHZFaOLb1pAwO1HWLS8fXA+eh0A2yIvltPVmx3eNNDBJA2SLHXFw==} + engines: {node: '>=6.9.0'} + peerDependencies: + '@babel/core': ^7.0.0 + + '@babel/helper-string-parser@7.25.9': + resolution: {integrity: sha512-4A/SCr/2KLd5jrtOMFzaKjVtAei3+2r/NChoBNoZ3EyP/+GlhoaEGoWOZUmFmoITP7zOJyHIMm+DYRd8o3PvHA==} + engines: {node: '>=6.9.0'} + + '@babel/helper-validator-identifier@7.25.9': + resolution: {integrity: sha512-Ed61U6XJc3CVRfkERJWDz4dJwKe7iLmmJsbOGu9wSloNSFttHV0I8g6UAgb7qnK5ly5bGLPd4oXZlxCdANBOWQ==} + engines: {node: '>=6.9.0'} + + '@babel/helper-validator-option@7.25.9': + resolution: {integrity: sha512-e/zv1co8pp55dNdEcCynfj9X7nyUKUXoUEwfXqaZt0omVOmDe9oOTdKStH4GmAw6zxMFs50ZayuMfHDKlO7Tfw==} + engines: {node: '>=6.9.0'} + + '@babel/helpers@7.27.0': + resolution: {integrity: sha512-U5eyP/CTFPuNE3qk+WZMxFkp/4zUzdceQlfzf7DdGdhp+Fezd7HD+i8Y24ZuTMKX3wQBld449jijbGq6OdGNQg==} + engines: {node: '>=6.9.0'} + + '@babel/parser@7.27.0': + resolution: {integrity: sha512-iaepho73/2Pz7w2eMS0Q5f83+0RKI7i4xmiYeBmDzfRVbQtTOG7Ts0S4HzJVsTMGI9keU8rNfuZr8DKfSt7Yyg==} + engines: {node: '>=6.0.0'} + hasBin: true + + '@babel/runtime@7.27.0': + resolution: {integrity: sha512-VtPOkrdPHZsKc/clNqyi9WUA8TINkZ4cGk63UUE3u4pmB2k+ZMQRDuIOagv8UVd6j7k0T3+RRIb7beKTebNbcw==} + engines: {node: '>=6.9.0'} + + '@babel/template@7.27.0': + resolution: {integrity: sha512-2ncevenBqXI6qRMukPlXwHKHchC7RyMuu4xv5JBXRfOGVcTy1mXCD12qrp7Jsoxll1EV3+9sE4GugBVRjT2jFA==} + engines: {node: '>=6.9.0'} + + '@babel/traverse@7.27.0': + resolution: {integrity: sha512-19lYZFzYVQkkHkl4Cy4WrAVcqBkgvV2YM2TU3xG6DIwO7O3ecbDPfW3yM3bjAGcqcQHi+CCtjMR3dIEHxsd6bA==} + engines: {node: '>=6.9.0'} + + '@babel/types@7.27.0': + resolution: {integrity: sha512-H45s8fVLYjbhFH62dIJ3WtmJ6RSPt/3DRO0ZcT2SUiYiQyz3BLVb9ADEnLl91m74aQPS3AzzeajZHYOalWe3bg==} + engines: {node: '>=6.9.0'} + + '@bcoe/v8-coverage@1.0.2': + resolution: {integrity: sha512-6zABk/ECA/QYSCQ1NGiVwwbQerUCZ+TQbp64Q3AgmfNvurHH0j8TtXa1qbShXA6qqkpAj4V5W8pP6mLe1mcMqA==} + engines: {node: '>=18'} + + '@chromatic-com/storybook@3.2.6': + resolution: {integrity: sha512-FDmn5Ry2DzQdik+eq2sp/kJMMT36Ewe7ONXUXM2Izd97c7r6R/QyGli8eyh/F0iyqVvbLveNYFyF0dBOJNwLqw==} + engines: {node: '>=16.0.0', yarn: '>=1.22.18'} + peerDependencies: + storybook: ^8.2.0 || ^8.3.0-0 || ^8.4.0-0 || ^8.5.0-0 || ^8.6.0-0 + + '@esbuild/aix-ppc64@0.25.3': + resolution: {integrity: sha512-W8bFfPA8DowP8l//sxjJLSLkD8iEjMc7cBVyP+u4cEv9sM7mdUCkgsj+t0n/BWPFtv7WWCN5Yzj0N6FJNUUqBQ==} + engines: {node: '>=18'} + cpu: [ppc64] + os: [aix] + + '@esbuild/android-arm64@0.25.3': + resolution: {integrity: sha512-XelR6MzjlZuBM4f5z2IQHK6LkK34Cvv6Rj2EntER3lwCBFdg6h2lKbtRjpTTsdEjD/WSe1q8UyPBXP1x3i/wYQ==} + engines: {node: '>=18'} + cpu: [arm64] + os: [android] + + '@esbuild/android-arm@0.25.3': + resolution: {integrity: sha512-PuwVXbnP87Tcff5I9ngV0lmiSu40xw1At6i3GsU77U7cjDDB4s0X2cyFuBiDa1SBk9DnvWwnGvVaGBqoFWPb7A==} + engines: {node: '>=18'} + cpu: [arm] + os: [android] + + '@esbuild/android-x64@0.25.3': + resolution: {integrity: sha512-ogtTpYHT/g1GWS/zKM0cc/tIebFjm1F9Aw1boQ2Y0eUQ+J89d0jFY//s9ei9jVIlkYi8AfOjiixcLJSGNSOAdQ==} + engines: {node: '>=18'} + cpu: [x64] + os: [android] + + '@esbuild/darwin-arm64@0.25.3': + resolution: {integrity: sha512-eESK5yfPNTqpAmDfFWNsOhmIOaQA59tAcF/EfYvo5/QWQCzXn5iUSOnqt3ra3UdzBv073ykTtmeLJZGt3HhA+w==} + engines: {node: '>=18'} + cpu: [arm64] + os: [darwin] + + '@esbuild/darwin-x64@0.25.3': + resolution: {integrity: sha512-Kd8glo7sIZtwOLcPbW0yLpKmBNWMANZhrC1r6K++uDR2zyzb6AeOYtI6udbtabmQpFaxJ8uduXMAo1gs5ozz8A==} + engines: {node: '>=18'} + cpu: [x64] + os: [darwin] + + '@esbuild/freebsd-arm64@0.25.3': + resolution: {integrity: sha512-EJiyS70BYybOBpJth3M0KLOus0n+RRMKTYzhYhFeMwp7e/RaajXvP+BWlmEXNk6uk+KAu46j/kaQzr6au+JcIw==} + engines: {node: '>=18'} + cpu: [arm64] + os: [freebsd] + + '@esbuild/freebsd-x64@0.25.3': + resolution: {integrity: sha512-Q+wSjaLpGxYf7zC0kL0nDlhsfuFkoN+EXrx2KSB33RhinWzejOd6AvgmP5JbkgXKmjhmpfgKZq24pneodYqE8Q==} + engines: {node: '>=18'} + cpu: [x64] + os: [freebsd] + + '@esbuild/linux-arm64@0.25.3': + resolution: {integrity: sha512-xCUgnNYhRD5bb1C1nqrDV1PfkwgbswTTBRbAd8aH5PhYzikdf/ddtsYyMXFfGSsb/6t6QaPSzxtbfAZr9uox4A==} + engines: {node: '>=18'} + cpu: [arm64] + os: [linux] + + '@esbuild/linux-arm@0.25.3': + resolution: {integrity: sha512-dUOVmAUzuHy2ZOKIHIKHCm58HKzFqd+puLaS424h6I85GlSDRZIA5ycBixb3mFgM0Jdh+ZOSB6KptX30DD8YOQ==} + engines: {node: '>=18'} + cpu: [arm] + os: [linux] + + '@esbuild/linux-ia32@0.25.3': + resolution: {integrity: sha512-yplPOpczHOO4jTYKmuYuANI3WhvIPSVANGcNUeMlxH4twz/TeXuzEP41tGKNGWJjuMhotpGabeFYGAOU2ummBw==} + engines: {node: '>=18'} + cpu: [ia32] + os: [linux] + + '@esbuild/linux-loong64@0.25.3': + resolution: {integrity: sha512-P4BLP5/fjyihmXCELRGrLd793q/lBtKMQl8ARGpDxgzgIKJDRJ/u4r1A/HgpBpKpKZelGct2PGI4T+axcedf6g==} + engines: {node: '>=18'} + cpu: [loong64] + os: [linux] + + '@esbuild/linux-mips64el@0.25.3': + resolution: {integrity: sha512-eRAOV2ODpu6P5divMEMa26RRqb2yUoYsuQQOuFUexUoQndm4MdpXXDBbUoKIc0iPa4aCO7gIhtnYomkn2x+bag==} + engines: {node: '>=18'} + cpu: [mips64el] + os: [linux] + + '@esbuild/linux-ppc64@0.25.3': + resolution: {integrity: sha512-ZC4jV2p7VbzTlnl8nZKLcBkfzIf4Yad1SJM4ZMKYnJqZFD4rTI+pBG65u8ev4jk3/MPwY9DvGn50wi3uhdaghg==} + engines: {node: '>=18'} + cpu: [ppc64] + os: [linux] + + '@esbuild/linux-riscv64@0.25.3': + resolution: {integrity: sha512-LDDODcFzNtECTrUUbVCs6j9/bDVqy7DDRsuIXJg6so+mFksgwG7ZVnTruYi5V+z3eE5y+BJZw7VvUadkbfg7QA==} + engines: {node: '>=18'} + cpu: [riscv64] + os: [linux] + + '@esbuild/linux-s390x@0.25.3': + resolution: {integrity: sha512-s+w/NOY2k0yC2p9SLen+ymflgcpRkvwwa02fqmAwhBRI3SC12uiS10edHHXlVWwfAagYSY5UpmT/zISXPMW3tQ==} + engines: {node: '>=18'} + cpu: [s390x] + os: [linux] + + '@esbuild/linux-x64@0.25.3': + resolution: {integrity: sha512-nQHDz4pXjSDC6UfOE1Fw9Q8d6GCAd9KdvMZpfVGWSJztYCarRgSDfOVBY5xwhQXseiyxapkiSJi/5/ja8mRFFA==} + engines: {node: '>=18'} + cpu: [x64] + os: [linux] + + '@esbuild/netbsd-arm64@0.25.3': + resolution: {integrity: sha512-1QaLtOWq0mzK6tzzp0jRN3eccmN3hezey7mhLnzC6oNlJoUJz4nym5ZD7mDnS/LZQgkrhEbEiTn515lPeLpgWA==} + engines: {node: '>=18'} + cpu: [arm64] + os: [netbsd] + + '@esbuild/netbsd-x64@0.25.3': + resolution: {integrity: sha512-i5Hm68HXHdgv8wkrt+10Bc50zM0/eonPb/a/OFVfB6Qvpiirco5gBA5bz7S2SHuU+Y4LWn/zehzNX14Sp4r27g==} + engines: {node: '>=18'} + cpu: [x64] + os: [netbsd] + + '@esbuild/openbsd-arm64@0.25.3': + resolution: {integrity: sha512-zGAVApJEYTbOC6H/3QBr2mq3upG/LBEXr85/pTtKiv2IXcgKV0RT0QA/hSXZqSvLEpXeIxah7LczB4lkiYhTAQ==} + engines: {node: '>=18'} + cpu: [arm64] + os: [openbsd] + + '@esbuild/openbsd-x64@0.25.3': + resolution: {integrity: sha512-fpqctI45NnCIDKBH5AXQBsD0NDPbEFczK98hk/aa6HJxbl+UtLkJV2+Bvy5hLSLk3LHmqt0NTkKNso1A9y1a4w==} + engines: {node: '>=18'} + cpu: [x64] + os: [openbsd] + + '@esbuild/sunos-x64@0.25.3': + resolution: {integrity: sha512-ROJhm7d8bk9dMCUZjkS8fgzsPAZEjtRJqCAmVgB0gMrvG7hfmPmz9k1rwO4jSiblFjYmNvbECL9uhaPzONMfgA==} + engines: {node: '>=18'} + cpu: [x64] + os: [sunos] + + '@esbuild/win32-arm64@0.25.3': + resolution: {integrity: sha512-YWcow8peiHpNBiIXHwaswPnAXLsLVygFwCB3A7Bh5jRkIBFWHGmNQ48AlX4xDvQNoMZlPYzjVOQDYEzWCqufMQ==} + engines: {node: '>=18'} + cpu: [arm64] + os: [win32] + + '@esbuild/win32-ia32@0.25.3': + resolution: {integrity: sha512-qspTZOIGoXVS4DpNqUYUs9UxVb04khS1Degaw/MnfMe7goQ3lTfQ13Vw4qY/Nj0979BGvMRpAYbs/BAxEvU8ew==} + engines: {node: '>=18'} + cpu: [ia32] + os: [win32] + + '@esbuild/win32-x64@0.25.3': + resolution: {integrity: sha512-ICgUR+kPimx0vvRzf+N/7L7tVSQeE3BYY+NhHRHXS1kBuPO7z2+7ea2HbhDyZdTephgvNvKrlDDKUexuCVBVvg==} + engines: {node: '>=18'} + cpu: [x64] + os: [win32] + + '@isaacs/cliui@8.0.2': + resolution: {integrity: sha512-O8jcjabXaleOG9DQ0+ARXWZBTfnP4WNAqzuiJK7ll44AmxGKv/J2M4TPjxjY3znBCfvBXFzucm1twdyFybFqEA==} + engines: {node: '>=12'} + + '@istanbuljs/schema@0.1.3': + resolution: {integrity: sha512-ZXRY4jNvVgSVQ8DL3LTcakaAtXwTVUxE81hslsyD2AtoXW/wVob10HkOJ1X/pAlcI7D+2YoZKg5do8G/w6RYgA==} + engines: {node: '>=8'} + + '@joshwooding/vite-plugin-react-docgen-typescript@0.5.0': + resolution: {integrity: sha512-qYDdL7fPwLRI+bJNurVcis+tNgJmvWjH4YTBGXTA8xMuxFrnAz6E5o35iyzyKbq5J5Lr8mJGfrR5GXl+WGwhgQ==} + peerDependencies: + typescript: '>= 4.3.x' + vite: ^3.0.0 || ^4.0.0 || ^5.0.0 || ^6.0.0 + peerDependenciesMeta: + typescript: + optional: true + + '@jridgewell/gen-mapping@0.3.8': + resolution: {integrity: sha512-imAbBGkb+ebQyxKgzv5Hu2nmROxoDOXHh80evxdoXNOrvAnVx7zimzc1Oo5h9RlfV4vPXaE2iM5pOFbvOCClWA==} + engines: {node: '>=6.0.0'} + + '@jridgewell/resolve-uri@3.1.2': + resolution: {integrity: sha512-bRISgCIjP20/tbWSPWMEi54QVPRZExkuD9lJL+UIxUKtwVJA8wW1Trb1jMs1RFXo1CBTNZ/5hpC9QvmKWdopKw==} + engines: {node: '>=6.0.0'} + + '@jridgewell/set-array@1.2.1': + resolution: {integrity: sha512-R8gLRTZeyp03ymzP/6Lil/28tGeGEzhx1q2k703KGWRAI1VdvPIXdG70VJc2pAMw3NA6JKL5hhFu1sJX0Mnn/A==} + engines: {node: '>=6.0.0'} + + '@jridgewell/sourcemap-codec@1.5.0': + resolution: {integrity: sha512-gv3ZRaISU3fjPAgNsriBRqGWQL6quFx04YMPW/zD8XMLsU32mhCCbfbO6KZFLjvYpCZ8zyDEgqsgf+PwPaM7GQ==} + + '@jridgewell/trace-mapping@0.3.25': + resolution: {integrity: sha512-vNk6aEwybGtawWmy/PzwnGDOjCkLWSD2wqvjGGAgOAwCGWySYXfYoxt00IJkTF+8Lb57DwOb3Aa0o9CApepiYQ==} + + '@kevisual/types@0.0.9': + resolution: {integrity: sha512-SDJ7GMbOx7Ghz2kreHqym56ccAJS3t93y+NS0+afTLxcq2+cKcoEy2F8WXEv0mnJ6EsDp5AbA7Jv5TZA1Jbc3A==} + + '@mdx-js/react@3.1.0': + resolution: {integrity: sha512-QjHtSaoameoalGnKDT3FoIl4+9RwyTmo9ZJGBdLOks/YOiWHoRDI3PUwEzOE7kEmGcV3AFcp9K6dYu9rEuKLAQ==} + peerDependencies: + '@types/react': '>=16' + react: '>=16' + + '@pkgjs/parseargs@0.11.0': + resolution: {integrity: sha512-+1VkjdD0QBLPodGrJUeqarH8VAIvQODIbwh9XpP5Syisf7YoQgsJKPNFoqqLQlu+VQ/tVSshMR6loPMn8U+dPg==} + engines: {node: '>=14'} + + '@polka/url@1.0.0-next.29': + resolution: {integrity: sha512-wwQAWhWSuHaag8c4q/KN/vCoeOJYshAIvMQwD4GpSb3OiZklFfvAgmj0VCBBImRpuF/aFgIRzllXlVX93Jevww==} + + '@rollup/pluginutils@5.1.4': + resolution: {integrity: sha512-USm05zrsFxYLPdWWq+K3STlWiT/3ELn3RcV5hJMghpeAIhxfsUIg6mt12CBJBInWMV4VneoV7SfGv8xIwo2qNQ==} + engines: {node: '>=14.0.0'} + peerDependencies: + rollup: ^1.20.0||^2.0.0||^3.0.0||^4.0.0 + peerDependenciesMeta: + rollup: + optional: true + + '@rollup/rollup-android-arm-eabi@4.40.1': + resolution: {integrity: sha512-kxz0YeeCrRUHz3zyqvd7n+TVRlNyTifBsmnmNPtk3hQURUyG9eAB+usz6DAwagMusjx/zb3AjvDUvhFGDAexGw==} + cpu: [arm] + os: [android] + + '@rollup/rollup-android-arm64@4.40.1': + resolution: {integrity: sha512-PPkxTOisoNC6TpnDKatjKkjRMsdaWIhyuMkA4UsBXT9WEZY4uHezBTjs6Vl4PbqQQeu6oION1w2voYZv9yquCw==} + cpu: [arm64] + os: [android] + + '@rollup/rollup-darwin-arm64@4.40.1': + resolution: {integrity: sha512-VWXGISWFY18v/0JyNUy4A46KCFCb9NVsH+1100XP31lud+TzlezBbz24CYzbnA4x6w4hx+NYCXDfnvDVO6lcAA==} + cpu: [arm64] + os: [darwin] + + '@rollup/rollup-darwin-x64@4.40.1': + resolution: {integrity: sha512-nIwkXafAI1/QCS7pxSpv/ZtFW6TXcNUEHAIA9EIyw5OzxJZQ1YDrX+CL6JAIQgZ33CInl1R6mHet9Y/UZTg2Bw==} + cpu: [x64] + os: [darwin] + + '@rollup/rollup-freebsd-arm64@4.40.1': + resolution: {integrity: sha512-BdrLJ2mHTrIYdaS2I99mriyJfGGenSaP+UwGi1kB9BLOCu9SR8ZpbkmmalKIALnRw24kM7qCN0IOm6L0S44iWw==} + cpu: [arm64] + os: [freebsd] + + '@rollup/rollup-freebsd-x64@4.40.1': + resolution: {integrity: sha512-VXeo/puqvCG8JBPNZXZf5Dqq7BzElNJzHRRw3vjBE27WujdzuOPecDPc/+1DcdcTptNBep3861jNq0mYkT8Z6Q==} + cpu: [x64] + os: [freebsd] + + '@rollup/rollup-linux-arm-gnueabihf@4.40.1': + resolution: {integrity: sha512-ehSKrewwsESPt1TgSE/na9nIhWCosfGSFqv7vwEtjyAqZcvbGIg4JAcV7ZEh2tfj/IlfBeZjgOXm35iOOjadcg==} + cpu: [arm] + os: [linux] + libc: [glibc] + + '@rollup/rollup-linux-arm-musleabihf@4.40.1': + resolution: {integrity: sha512-m39iO/aaurh5FVIu/F4/Zsl8xppd76S4qoID8E+dSRQvTyZTOI2gVk3T4oqzfq1PtcvOfAVlwLMK3KRQMaR8lg==} + cpu: [arm] + os: [linux] + libc: [musl] + + '@rollup/rollup-linux-arm64-gnu@4.40.1': + resolution: {integrity: sha512-Y+GHnGaku4aVLSgrT0uWe2o2Rq8te9hi+MwqGF9r9ORgXhmHK5Q71N757u0F8yU1OIwUIFy6YiJtKjtyktk5hg==} + cpu: [arm64] + os: [linux] + libc: [glibc] + + '@rollup/rollup-linux-arm64-musl@4.40.1': + resolution: {integrity: sha512-jEwjn3jCA+tQGswK3aEWcD09/7M5wGwc6+flhva7dsQNRZZTe30vkalgIzV4tjkopsTS9Jd7Y1Bsj6a4lzz8gQ==} + cpu: [arm64] + os: [linux] + libc: [musl] + + '@rollup/rollup-linux-loongarch64-gnu@4.40.1': + resolution: {integrity: sha512-ySyWikVhNzv+BV/IDCsrraOAZ3UaC8SZB67FZlqVwXwnFhPihOso9rPOxzZbjp81suB1O2Topw+6Ug3JNegejQ==} + cpu: [loong64] + os: [linux] + libc: [glibc] + + '@rollup/rollup-linux-powerpc64le-gnu@4.40.1': + resolution: {integrity: sha512-BvvA64QxZlh7WZWqDPPdt0GH4bznuL6uOO1pmgPnnv86rpUpc8ZxgZwcEgXvo02GRIZX1hQ0j0pAnhwkhwPqWg==} + cpu: [ppc64] + os: [linux] + libc: [glibc] + + '@rollup/rollup-linux-riscv64-gnu@4.40.1': + resolution: {integrity: sha512-EQSP+8+1VuSulm9RKSMKitTav89fKbHymTf25n5+Yr6gAPZxYWpj3DzAsQqoaHAk9YX2lwEyAf9S4W8F4l3VBQ==} + cpu: [riscv64] + os: [linux] + libc: [glibc] + + '@rollup/rollup-linux-riscv64-musl@4.40.1': + resolution: {integrity: sha512-n/vQ4xRZXKuIpqukkMXZt9RWdl+2zgGNx7Uda8NtmLJ06NL8jiHxUawbwC+hdSq1rrw/9CghCpEONor+l1e2gA==} + cpu: [riscv64] + os: [linux] + libc: [musl] + + '@rollup/rollup-linux-s390x-gnu@4.40.1': + resolution: {integrity: sha512-h8d28xzYb98fMQKUz0w2fMc1XuGzLLjdyxVIbhbil4ELfk5/orZlSTpF/xdI9C8K0I8lCkq+1En2RJsawZekkg==} + cpu: [s390x] + os: [linux] + libc: [glibc] + + '@rollup/rollup-linux-x64-gnu@4.40.1': + resolution: {integrity: sha512-XiK5z70PEFEFqcNj3/zRSz/qX4bp4QIraTy9QjwJAb/Z8GM7kVUsD0Uk8maIPeTyPCP03ChdI+VVmJriKYbRHQ==} + cpu: [x64] + os: [linux] + libc: [glibc] + + '@rollup/rollup-linux-x64-musl@4.40.1': + resolution: {integrity: sha512-2BRORitq5rQ4Da9blVovzNCMaUlyKrzMSvkVR0D4qPuOy/+pMCrh1d7o01RATwVy+6Fa1WBw+da7QPeLWU/1mQ==} + cpu: [x64] + os: [linux] + libc: [musl] + + '@rollup/rollup-win32-arm64-msvc@4.40.1': + resolution: {integrity: sha512-b2bcNm9Kbde03H+q+Jjw9tSfhYkzrDUf2d5MAd1bOJuVplXvFhWz7tRtWvD8/ORZi7qSCy0idW6tf2HgxSXQSg==} + cpu: [arm64] + os: [win32] + + '@rollup/rollup-win32-ia32-msvc@4.40.1': + resolution: {integrity: sha512-DfcogW8N7Zg7llVEfpqWMZcaErKfsj9VvmfSyRjCyo4BI3wPEfrzTtJkZG6gKP/Z92wFm6rz2aDO7/JfiR/whA==} + cpu: [ia32] + os: [win32] + + '@rollup/rollup-win32-x64-msvc@4.40.1': + resolution: {integrity: sha512-ECyOuDeH3C1I8jH2MK1RtBJW+YPMvSfT0a5NN0nHfQYnDSJ6tUiZH3gzwVP5/Kfh/+Tt7tpWVF9LXNTnhTJ3kA==} + cpu: [x64] + os: [win32] + + '@storybook/addon-actions@8.6.12': + resolution: {integrity: sha512-B5kfiRvi35oJ0NIo53CGH66H471A3XTzrfaa6SxXEJsgxxSeKScG5YeXcCvLiZfvANRQ7QDsmzPUgg0o3hdMXw==} + peerDependencies: + storybook: ^8.6.12 + + '@storybook/addon-backgrounds@8.6.12': + resolution: {integrity: sha512-lmIAma9BiiCTbJ8YfdZkXjpnAIrOUcgboLkt1f6XJ78vNEMnLNzD9gnh7Tssz1qrqvm34v9daDjIb+ggdiKp3Q==} + peerDependencies: + storybook: ^8.6.12 + + '@storybook/addon-controls@8.6.12': + resolution: {integrity: sha512-9VSRPJWQVb9wLp21uvpxDGNctYptyUX0gbvxIWOHMH3R2DslSoq41lsC/oQ4l4zSHVdL+nq8sCTkhBxIsjKqdQ==} + peerDependencies: + storybook: ^8.6.12 + + '@storybook/addon-docs@8.6.12': + resolution: {integrity: sha512-kEezQjAf/p3SpDzLABgg4fbT48B6dkT2LiZCKTRmCrJVtuReaAr4R9MMM6Jsph6XjbIj/SvOWf3CMeOPXOs9sg==} + peerDependencies: + storybook: ^8.6.12 + + '@storybook/addon-essentials@8.6.12': + resolution: {integrity: sha512-Y/7e8KFlttaNfv7q2zoHMPdX6hPXHdsuQMAjYl5NG9HOAJREu4XBy4KZpbcozRe4ApZ78rYsN/MO1EuA+bNMIA==} + peerDependencies: + storybook: ^8.6.12 + + '@storybook/addon-highlight@8.6.12': + resolution: {integrity: sha512-9FITVxdoycZ+eXuAZL9ElWyML/0fPPn9UgnnAkrU7zkMi+Segq/Tx7y+WWanC5zfWZrXAuG6WTOYEXeWQdm//w==} + peerDependencies: + storybook: ^8.6.12 + + '@storybook/addon-measure@8.6.12': + resolution: {integrity: sha512-tACmwqqOvutaQSduw8SMb62wICaT1rWaHtMN3vtWXuxgDPSdJQxLP+wdVyRYMAgpxhLyIO7YRf++Hfha9RHgFg==} + peerDependencies: + storybook: ^8.6.12 + + '@storybook/addon-onboarding@8.6.12': + resolution: {integrity: sha512-/cgxaLy6tr6xO0+QO+qV5rPZS5/c15Daywvg/F03lifLGkMuyn/JDuhu0J5i1LbFsL1RYdf4sjrTOmLXbOT6+Q==} + peerDependencies: + storybook: ^8.6.12 + + '@storybook/addon-outline@8.6.12': + resolution: {integrity: sha512-1ylwm+n1s40S91No0v9T4tCjZORu3GbnjINlyjYTDLLhQHyBQd3nWR1Y1eewU4xH4cW9SnSLcMQFS/82xHqU6A==} + peerDependencies: + storybook: ^8.6.12 + + '@storybook/addon-toolbars@8.6.12': + resolution: {integrity: sha512-HEcSzo1DyFtIu5/ikVOmh5h85C1IvK9iFKSzBR6ice33zBOaehVJK+Z5f487MOXxPsZ63uvWUytwPyViGInj+g==} + peerDependencies: + storybook: ^8.6.12 + + '@storybook/addon-viewport@8.6.12': + resolution: {integrity: sha512-EXK2LArAnABsPP0leJKy78L/lbMWow+EIJfytEP5fHaW4EhMR6h7Hzaqzre6U0IMMr/jVFa1ci+m0PJ0eQc2bw==} + peerDependencies: + storybook: ^8.6.12 + + '@storybook/blocks@8.6.12': + resolution: {integrity: sha512-DohlTq6HM1jDbHYiXL4ZvZ00VkhpUp5uftzj/CZDLY1fYHRjqtaTwWm2/OpceivMA8zDitLcq5atEZN+f+siTg==} + peerDependencies: + react: ^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0 + react-dom: ^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0 + storybook: ^8.6.12 + peerDependenciesMeta: + react: + optional: true + react-dom: + optional: true + + '@storybook/builder-vite@8.6.12': + resolution: {integrity: sha512-Gju21ud/3Qw4v2vLNaa5SuJECsI9ICNRr2G0UyCCzRvCHg8jpA9lDReu2NqhLDyFIuDG+ZYT38gcaHEUoNQ8KQ==} + peerDependencies: + storybook: ^8.6.12 + vite: ^4.0.0 || ^5.0.0 || ^6.0.0 + + '@storybook/components@8.6.12': + resolution: {integrity: sha512-FiaE8xvCdvKC2arYusgtlDNZ77b8ysr8njAYQZwwaIHjy27TbR2tEpLDCmUwSbANNmivtc/xGEiDDwcNppMWlQ==} + peerDependencies: + storybook: ^8.2.0 || ^8.3.0-0 || ^8.4.0-0 || ^8.5.0-0 || ^8.6.0-0 + + '@storybook/core@8.6.12': + resolution: {integrity: sha512-t+ZuDzAlsXKa6tLxNZT81gEAt4GNwsKP/Id2wluhmUWD/lwYW0uum1JiPUuanw8xD6TdakCW/7ULZc7aQUBLCQ==} + peerDependencies: + prettier: ^2 || ^3 + peerDependenciesMeta: + prettier: + optional: true + + '@storybook/csf-plugin@8.6.12': + resolution: {integrity: sha512-6s8CnP1aoKPb3XtC0jRLUp8M5vTA8RhGAwQDKUsFpCC7g89JR9CaKs9FY2ZSzsNbjR15uASi7b3K8BzeYumYQg==} + peerDependencies: + storybook: ^8.6.12 + + '@storybook/experimental-addon-test@8.6.12': + resolution: {integrity: sha512-auc8Ql0buH0WeaKVuSSuabxIiBWvqvAyxtXCm1sVMkL68GwrX3cmpNMwviz3mvKvM//F8zKi/31HMl1PZ5UnIA==} + peerDependencies: + '@vitest/browser': ^2.1.1 || ^3.0.0 + '@vitest/runner': ^2.1.1 || ^3.0.0 + storybook: ^8.6.12 + vitest: ^2.1.1 || ^3.0.0 + peerDependenciesMeta: + '@vitest/browser': + optional: true + '@vitest/runner': + optional: true + vitest: + optional: true + + '@storybook/global@5.0.0': + resolution: {integrity: sha512-FcOqPAXACP0I3oJ/ws6/rrPT9WGhu915Cg8D02a9YxLo0DE9zI+a9A5gRGvmQ09fiWPukqI8ZAEoQEdWUKMQdQ==} + + '@storybook/icons@1.4.0': + resolution: {integrity: sha512-Td73IeJxOyalzvjQL+JXx72jlIYHgs+REaHiREOqfpo3A2AYYG71AUbcv+lg7mEDIweKVCxsMQ0UKo634c8XeA==} + engines: {node: '>=14.0.0'} + peerDependencies: + react: ^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0-beta + react-dom: ^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0-beta + + '@storybook/instrumenter@8.6.12': + resolution: {integrity: sha512-VK5fYAF8jMwWP/u3YsmSwKGh+FeSY8WZn78flzRUwirp2Eg1WWjsqPRubAk7yTpcqcC/km9YMF3KbqfzRv2s/A==} + peerDependencies: + storybook: ^8.6.12 + + '@storybook/manager-api@8.6.12': + resolution: {integrity: sha512-O0SpISeJLNTQvhSBOsWzzkCgs8vCjOq1578rwqHlC6jWWm4QmtfdyXqnv7rR1Hk08kQ+Dzqh0uhwHx0nfwy4nQ==} + peerDependencies: + storybook: ^8.2.0 || ^8.3.0-0 || ^8.4.0-0 || ^8.5.0-0 || ^8.6.0-0 + + '@storybook/preview-api@8.6.12': + resolution: {integrity: sha512-84FE3Hrs0AYKHqpDZOwx1S/ffOfxBdL65lhCoeI8GoWwCkzwa9zEP3kvXBo/BnEDO7nAfxvMhjASTZXbKRJh5Q==} + peerDependencies: + storybook: ^8.2.0 || ^8.3.0-0 || ^8.4.0-0 || ^8.5.0-0 || ^8.6.0-0 + + '@storybook/react-dom-shim@8.6.12': + resolution: {integrity: sha512-51QvoimkBzYs8s3rCYnY5h0cFqLz/Mh0vRcughwYaXckWzDBV8l67WBO5Xf5nBsukCbWyqBVPpEQLww8s7mrLA==} + peerDependencies: + react: ^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0-beta + react-dom: ^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0-beta + storybook: ^8.6.12 + + '@storybook/react-vite@8.6.12': + resolution: {integrity: sha512-UA2Kule99oyFgHdhcuhrRwCKyWu/yMbqbl9U7NwowFHNwWWFjVMMir/AmfShb/H1C1DQ3LqOad6/QwJyPLjP8g==} + engines: {node: '>=18.0.0'} + peerDependencies: + '@storybook/test': 8.6.12 + react: ^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0-beta + react-dom: ^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0-beta + storybook: ^8.6.12 + vite: ^4.0.0 || ^5.0.0 || ^6.0.0 + peerDependenciesMeta: + '@storybook/test': + optional: true + + '@storybook/react@8.6.12': + resolution: {integrity: sha512-NzxlHLA5DkDgZM/dMwTYinuzRs6rsUPmlqP+NIv6YaciQ4NGnTYyOC7R/SqI6HHFm8ZZ5eMYvpfiFmhZ9rU+rQ==} + engines: {node: '>=18.0.0'} + peerDependencies: + '@storybook/test': 8.6.12 + react: ^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0-beta + react-dom: ^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0-beta + storybook: ^8.6.12 + typescript: '>= 4.2.x' + peerDependenciesMeta: + '@storybook/test': + optional: true + typescript: + optional: true + + '@storybook/test@8.6.12': + resolution: {integrity: sha512-0BK1Eg+VD0lNMB1BtxqHE3tP9FdkUmohtvWG7cq6lWvMrbCmAmh3VWai3RMCCDOukPFpjabOr8BBRLVvhNpv2w==} + peerDependencies: + storybook: ^8.6.12 + + '@storybook/theming@8.6.12': + resolution: {integrity: sha512-6VjZg8HJ2Op7+KV7ihJpYrDnFtd9D1jrQnUS8LckcpuBXrIEbaut5+34ObY8ssQnSqkk2GwIZBBBQYQBCVvkOw==} + peerDependencies: + storybook: ^8.2.0 || ^8.3.0-0 || ^8.4.0-0 || ^8.5.0-0 || ^8.6.0-0 + + '@tailwindcss/node@4.1.4': + resolution: {integrity: sha512-MT5118zaiO6x6hNA04OWInuAiP1YISXql8Z+/Y8iisV5nuhM8VXlyhRuqc2PEviPszcXI66W44bCIk500Oolhw==} + + '@tailwindcss/oxide-android-arm64@4.1.4': + resolution: {integrity: sha512-xMMAe/SaCN/vHfQYui3fqaBDEXMu22BVwQ33veLc8ep+DNy7CWN52L+TTG9y1K397w9nkzv+Mw+mZWISiqhmlA==} + engines: {node: '>= 10'} + cpu: [arm64] + os: [android] + + '@tailwindcss/oxide-darwin-arm64@4.1.4': + resolution: {integrity: sha512-JGRj0SYFuDuAGilWFBlshcexev2hOKfNkoX+0QTksKYq2zgF9VY/vVMq9m8IObYnLna0Xlg+ytCi2FN2rOL0Sg==} + engines: {node: '>= 10'} + cpu: [arm64] + os: [darwin] + + '@tailwindcss/oxide-darwin-x64@4.1.4': + resolution: {integrity: sha512-sdDeLNvs3cYeWsEJ4H1DvjOzaGios4QbBTNLVLVs0XQ0V95bffT3+scptzYGPMjm7xv4+qMhCDrkHwhnUySEzA==} + engines: {node: '>= 10'} + cpu: [x64] + os: [darwin] + + '@tailwindcss/oxide-freebsd-x64@4.1.4': + resolution: {integrity: sha512-VHxAqxqdghM83HslPhRsNhHo91McsxRJaEnShJOMu8mHmEj9Ig7ToHJtDukkuLWLzLboh2XSjq/0zO6wgvykNA==} + engines: {node: '>= 10'} + cpu: [x64] + os: [freebsd] + + '@tailwindcss/oxide-linux-arm-gnueabihf@4.1.4': + resolution: {integrity: sha512-OTU/m/eV4gQKxy9r5acuesqaymyeSCnsx1cFto/I1WhPmi5HDxX1nkzb8KYBiwkHIGg7CTfo/AcGzoXAJBxLfg==} + engines: {node: '>= 10'} + cpu: [arm] + os: [linux] + + '@tailwindcss/oxide-linux-arm64-gnu@4.1.4': + resolution: {integrity: sha512-hKlLNvbmUC6z5g/J4H+Zx7f7w15whSVImokLPmP6ff1QqTVE+TxUM9PGuNsjHvkvlHUtGTdDnOvGNSEUiXI1Ww==} + engines: {node: '>= 10'} + cpu: [arm64] + os: [linux] + libc: [glibc] + + '@tailwindcss/oxide-linux-arm64-musl@4.1.4': + resolution: {integrity: sha512-X3As2xhtgPTY/m5edUtddmZ8rCruvBvtxYLMw9OsZdH01L2gS2icsHRwxdU0dMItNfVmrBezueXZCHxVeeb7Aw==} + engines: {node: '>= 10'} + cpu: [arm64] + os: [linux] + libc: [musl] + + '@tailwindcss/oxide-linux-x64-gnu@4.1.4': + resolution: {integrity: sha512-2VG4DqhGaDSmYIu6C4ua2vSLXnJsb/C9liej7TuSO04NK+JJJgJucDUgmX6sn7Gw3Cs5ZJ9ZLrnI0QRDOjLfNQ==} + engines: {node: '>= 10'} + cpu: [x64] + os: [linux] + libc: [glibc] + + '@tailwindcss/oxide-linux-x64-musl@4.1.4': + resolution: {integrity: sha512-v+mxVgH2kmur/X5Mdrz9m7TsoVjbdYQT0b4Z+dr+I4RvreCNXyCFELZL/DO0M1RsidZTrm6O1eMnV6zlgEzTMQ==} + engines: {node: '>= 10'} + cpu: [x64] + os: [linux] + libc: [musl] + + '@tailwindcss/oxide-wasm32-wasi@4.1.4': + resolution: {integrity: sha512-2TLe9ir+9esCf6Wm+lLWTMbgklIjiF0pbmDnwmhR9MksVOq+e8aP3TSsXySnBDDvTTVd/vKu1aNttEGj3P6l8Q==} + engines: {node: '>=14.0.0'} + cpu: [wasm32] + bundledDependencies: + - '@napi-rs/wasm-runtime' + - '@emnapi/core' + - '@emnapi/runtime' + - '@tybys/wasm-util' + - '@emnapi/wasi-threads' + - tslib + + '@tailwindcss/oxide-win32-arm64-msvc@4.1.4': + resolution: {integrity: sha512-VlnhfilPlO0ltxW9/BgfLI5547PYzqBMPIzRrk4W7uupgCt8z6Trw/tAj6QUtF2om+1MH281Pg+HHUJoLesmng==} + engines: {node: '>= 10'} + cpu: [arm64] + os: [win32] + + '@tailwindcss/oxide-win32-x64-msvc@4.1.4': + resolution: {integrity: sha512-+7S63t5zhYjslUGb8NcgLpFXD+Kq1F/zt5Xv5qTv7HaFTG/DHyHD9GA6ieNAxhgyA4IcKa/zy7Xx4Oad2/wuhw==} + engines: {node: '>= 10'} + cpu: [x64] + os: [win32] + + '@tailwindcss/oxide@4.1.4': + resolution: {integrity: sha512-p5wOpXyOJx7mKh5MXh5oKk+kqcz8T+bA3z/5VWWeQwFrmuBItGwz8Y2CHk/sJ+dNb9B0nYFfn0rj/cKHZyjahQ==} + engines: {node: '>= 10'} + + '@tailwindcss/postcss@4.1.4': + resolution: {integrity: sha512-bjV6sqycCEa+AQSt2Kr7wpGF1bOZJ5wsqnLEkqSbM/JEHxx/yhMH8wHmdkPyApF9xhHeMSwnnkDUUMMM/hYnXw==} + + '@tailwindcss/vite@4.1.4': + resolution: {integrity: sha512-4UQeMrONbvrsXKXXp/uxmdEN5JIJ9RkH7YVzs6AMxC/KC1+Np7WZBaNIco7TEjlkthqxZbt8pU/ipD+hKjm80A==} + peerDependencies: + vite: ^5.2.0 || ^6 + + '@testing-library/dom@10.4.0': + resolution: {integrity: sha512-pemlzrSESWbdAloYml3bAJMEfNh1Z7EduzqPKprCH5S341frlpYnUEW0H72dLxa6IsYr+mPno20GiSm+h9dEdQ==} + engines: {node: '>=18'} + + '@testing-library/jest-dom@6.5.0': + resolution: {integrity: sha512-xGGHpBXYSHUUr6XsKBfs85TWlYKpTc37cSBBVrXcib2MkHLboWlkClhWF37JKlDb9KEq3dHs+f2xR7XJEWGBxA==} + engines: {node: '>=14', npm: '>=6', yarn: '>=1'} + + '@testing-library/user-event@14.5.2': + resolution: {integrity: sha512-YAh82Wh4TIrxYLmfGcixwD18oIjyC1pFQC2Y01F2lzV2HTMiYrI0nze0FD0ocB//CKS/7jIUgae+adPqxK5yCQ==} + engines: {node: '>=12', npm: '>=6'} + peerDependencies: + '@testing-library/dom': '>=7.21.4' + + '@testing-library/user-event@14.6.1': + resolution: {integrity: sha512-vq7fv0rnt+QTXgPxr5Hjc210p6YKq2kmdziLgnsZGgLJ9e6VAShx1pACLuRjd/AS/sr7phAR58OIIpf0LlmQNw==} + engines: {node: '>=12', npm: '>=6'} + peerDependencies: + '@testing-library/dom': '>=7.21.4' + + '@types/aria-query@5.0.4': + resolution: {integrity: sha512-rfT93uj5s0PRL7EzccGMs3brplhcrghnDoV26NqKhCAS1hVo+WdNsPvE/yb6ilfr5hi2MEk6d5EWJTKdxg8jVw==} + + '@types/babel__core@7.20.5': + resolution: {integrity: sha512-qoQprZvz5wQFJwMDqeseRXWv3rqMvhgpbXFfVyWhbx9X47POIA6i/+dXefEmZKoAgOaTdaIgNSMqMIU61yRyzA==} + + '@types/babel__generator@7.27.0': + resolution: {integrity: sha512-ufFd2Xi92OAVPYsy+P4n7/U7e68fex0+Ee8gSG9KX7eo084CWiQ4sdxktvdl0bOPupXtVJPY19zk6EwWqUQ8lg==} + + '@types/babel__template@7.4.4': + resolution: {integrity: sha512-h/NUaSyG5EyxBIp8YRxo4RMe2/qQgvyowRwVMzhYhBCONbW8PUsg4lkFMrhgZhUe5z3L3MiLDuvyJ/CaPa2A8A==} + + '@types/babel__traverse@7.20.7': + resolution: {integrity: sha512-dkO5fhS7+/oos4ciWxyEyjWe48zmG6wbCheo/G2ZnHx4fs3EU6YC6UM8rk56gAjNJ9P3MTH2jo5jb92/K6wbng==} + + '@types/doctrine@0.0.9': + resolution: {integrity: sha512-eOIHzCUSH7SMfonMG1LsC2f8vxBFtho6NGBznK41R84YzPuvSBzrhEps33IsQiOW9+VL6NQ9DbjQJznk/S4uRA==} + + '@types/estree@1.0.7': + resolution: {integrity: sha512-w28IoSUCJpidD/TGviZwwMJckNESJZXFu7NBZ5YJ4mEUnNraUn9Pm8HSZm/jDF1pDWYKspWE7oVphigUPRakIQ==} + + '@types/mdx@2.0.13': + resolution: {integrity: sha512-+OWZQfAYyio6YkJb3HLxDrvnx6SWWDbC0zVPfBRzUk0/nqoDyf6dNxQi3eArPe8rJ473nobTMQ/8Zk+LxJ+Yuw==} + + '@types/react-dom@19.1.2': + resolution: {integrity: sha512-XGJkWF41Qq305SKWEILa1O8vzhb3aOo3ogBlSmiqNko/WmRb6QIaweuZCXjKygVDXpzXb5wyxKTSOsmkuqj+Qw==} + peerDependencies: + '@types/react': ^19.0.0 + + '@types/react@19.1.2': + resolution: {integrity: sha512-oxLPMytKchWGbnQM9O7D67uPa9paTNxO7jVoNMXgkkErULBPhPARCfkKL9ytcIJJRGjbsVwW4ugJzyFFvm/Tiw==} + + '@types/resolve@1.20.6': + resolution: {integrity: sha512-A4STmOXPhMUtHH+S6ymgE2GiBSMqf4oTvcQZMcHzokuTLVYzXTB8ttjcgxOVaAp2lGwEdzZ0J+cRbbeevQj1UQ==} + + '@types/uuid@9.0.8': + resolution: {integrity: sha512-jg+97EGIcY9AGHJJRaaPVgetKDsrTgbRjQ5Msgjh/DQKEFl0DtyRr/VCOyD1T2R1MNeWPK/u7JoGhlDZnKBAfA==} + + '@vitest/browser@3.1.2': + resolution: {integrity: sha512-dwL6hQg3NSDP3Z4xzIZL0xHq/AkQAPQ4StFpWVlY2zbRJtK3Y2YqdFZ7YmZjszTETN1BDQZRn/QOrcP+c8ATgg==} + peerDependencies: + playwright: '*' + safaridriver: '*' + vitest: 3.1.2 + webdriverio: ^7.0.0 || ^8.0.0 || ^9.0.0 + peerDependenciesMeta: + playwright: + optional: true + safaridriver: + optional: true + webdriverio: + optional: true + + '@vitest/coverage-v8@3.1.2': + resolution: {integrity: sha512-XDdaDOeaTMAMYW7N63AqoK32sYUWbXnTkC6tEbVcu3RlU1bB9of32T+PGf8KZvxqLNqeXhafDFqCkwpf2+dyaQ==} + peerDependencies: + '@vitest/browser': 3.1.2 + vitest: 3.1.2 + peerDependenciesMeta: + '@vitest/browser': + optional: true + + '@vitest/expect@2.0.5': + resolution: {integrity: sha512-yHZtwuP7JZivj65Gxoi8upUN2OzHTi3zVfjwdpu2WrvCZPLwsJ2Ey5ILIPccoW23dd/zQBlJ4/dhi7DWNyXCpA==} + + '@vitest/expect@3.1.2': + resolution: {integrity: sha512-O8hJgr+zREopCAqWl3uCVaOdqJwZ9qaDwUP7vy3Xigad0phZe9APxKhPcDNqYYi0rX5oMvwJMSCAXY2afqeTSA==} + + '@vitest/mocker@3.1.2': + resolution: {integrity: sha512-kOtd6K2lc7SQ0mBqYv/wdGedlqPdM/B38paPY+OwJ1XiNi44w3Fpog82UfOibmHaV9Wod18A09I9SCKLyDMqgw==} + peerDependencies: + msw: ^2.4.9 + vite: ^5.0.0 || ^6.0.0 + peerDependenciesMeta: + msw: + optional: true + vite: + optional: true + + '@vitest/pretty-format@2.0.5': + resolution: {integrity: sha512-h8k+1oWHfwTkyTkb9egzwNMfJAEx4veaPSnMeKbVSjp4euqGSbQlm5+6VHwTr7u4FJslVVsUG5nopCaAYdOmSQ==} + + '@vitest/pretty-format@2.1.9': + resolution: {integrity: sha512-KhRIdGV2U9HOUzxfiHmY8IFHTdqtOhIzCpd8WRdJiE7D/HUcZVD0EgQCVjm+Q9gkUXWgBvMmTtZgIG48wq7sOQ==} + + '@vitest/pretty-format@3.1.2': + resolution: {integrity: sha512-R0xAiHuWeDjTSB3kQ3OQpT8Rx3yhdOAIm/JM4axXxnG7Q/fS8XUwggv/A4xzbQA+drYRjzkMnpYnOGAc4oeq8w==} + + '@vitest/runner@3.1.2': + resolution: {integrity: sha512-bhLib9l4xb4sUMPXnThbnhX2Yi8OutBMA8Yahxa7yavQsFDtwY/jrUZwpKp2XH9DhRFJIeytlyGpXCqZ65nR+g==} + + '@vitest/snapshot@3.1.2': + resolution: {integrity: sha512-Q1qkpazSF/p4ApZg1vfZSQ5Yw6OCQxVMVrLjslbLFA1hMDrT2uxtqMaw8Tc/jy5DLka1sNs1Y7rBcftMiaSH/Q==} + + '@vitest/spy@2.0.5': + resolution: {integrity: sha512-c/jdthAhvJdpfVuaexSrnawxZz6pywlTPe84LUB2m/4t3rl2fTo9NFGBG4oWgaD+FTgDDV8hJ/nibT7IfH3JfA==} + + '@vitest/spy@3.1.2': + resolution: {integrity: sha512-OEc5fSXMws6sHVe4kOFyDSj/+4MSwst0ib4un0DlcYgQvRuYQ0+M2HyqGaauUMnjq87tmUaMNDxKQx7wNfVqPA==} + + '@vitest/utils@2.0.5': + resolution: {integrity: sha512-d8HKbqIcya+GR67mkZbrzhS5kKhtp8dQLcmRZLGTscGVg7yImT82cIrhtn2L8+VujWcy6KZweApgNmPsTAO/UQ==} + + '@vitest/utils@2.1.9': + resolution: {integrity: sha512-v0psaMSkNJ3A2NMrUEHFRzJtDPFn+/VWZ5WxImB21T9fjucJRmS7xCS3ppEnARb9y11OAzaD+P2Ps+b+BGX5iQ==} + + '@vitest/utils@3.1.2': + resolution: {integrity: sha512-5GGd0ytZ7BH3H6JTj9Kw7Prn1Nbg0wZVrIvou+UWxm54d+WoXXgAgjFJ8wn3LdagWLFSEfpPeyYrByZaGEZHLg==} + + acorn@8.14.1: + resolution: {integrity: sha512-OvQ/2pUDKmgfCg++xsTX1wGxfTaszcHVcTctW4UJB4hibJx2HXxxO5UmVgyjMa+ZDsiaf5wWLXYpRWMmBI0QHg==} + engines: {node: '>=0.4.0'} + hasBin: true + + ansi-regex@5.0.1: + resolution: {integrity: sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==} + engines: {node: '>=8'} + + ansi-regex@6.1.0: + resolution: {integrity: sha512-7HSX4QQb4CspciLpVFwyRe79O3xsIZDDLER21kERQ71oaPodF8jL725AgJMFAYbooIqolJoRLuM81SpeUkpkvA==} + engines: {node: '>=12'} + + ansi-styles@4.3.0: + resolution: {integrity: sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==} + engines: {node: '>=8'} + + ansi-styles@5.2.0: + resolution: {integrity: sha512-Cxwpt2SfTzTtXcfOlzGEee8O+c+MmUgGrNiBcXnuWxuFJHe6a5Hz7qwhwe5OgaSYI0IJvkLqWX1ASG+cJOkEiA==} + engines: {node: '>=10'} + + ansi-styles@6.2.1: + resolution: {integrity: sha512-bN798gFfQX+viw3R7yrGWRqnrN2oRkEkUjjl4JNn4E8GxxbjtG3FbrEIIY3l8/hrwUwIeCZvi4QuOTP4MErVug==} + engines: {node: '>=12'} + + aria-query@5.3.0: + resolution: {integrity: sha512-b0P0sZPKtyu8HkeRAfCq0IfURZK+SuwMjY1UXGBU27wpAiTwQAIlq56IbIO+ytk/JjS1fMR14ee5WBBfKi5J6A==} + + aria-query@5.3.2: + resolution: {integrity: sha512-COROpnaoap1E2F000S62r6A60uHZnmlvomhfyT2DlTcrY1OrBKn2UhH7qn5wTC9zMvD0AY7csdPSNwKP+7WiQw==} + engines: {node: '>= 0.4'} + + assertion-error@2.0.1: + resolution: {integrity: sha512-Izi8RQcffqCeNVgFigKli1ssklIbpHnCYc6AknXGYoB6grJqyeby7jv12JUQgmTAnIDnbck1uxksT4dzN3PWBA==} + engines: {node: '>=12'} + + ast-types@0.16.1: + resolution: {integrity: sha512-6t10qk83GOG8p0vKmaCr8eiilZwO171AvbROMtvvNiwrTly62t+7XkA8RdIIVbpMhCASAsxgAzdRSwh6nw/5Dg==} + engines: {node: '>=4'} + + available-typed-arrays@1.0.7: + resolution: {integrity: sha512-wvUjBtSGN7+7SjNpq/9M2Tg350UZD3q62IFZLbRAR1bSMlCo1ZaeW+BJ+D090e4hIIZLBcTDWe4Mh4jvUDajzQ==} + engines: {node: '>= 0.4'} + + balanced-match@1.0.2: + resolution: {integrity: sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==} + + better-opn@3.0.2: + resolution: {integrity: sha512-aVNobHnJqLiUelTaHat9DZ1qM2w0C0Eym4LPI/3JxOnSokGVdsl1T1kN7TFvsEAD8G47A6VKQ0TVHqbBnYMJlQ==} + engines: {node: '>=12.0.0'} + + brace-expansion@2.0.1: + resolution: {integrity: sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==} + + browser-assert@1.2.1: + resolution: {integrity: sha512-nfulgvOR6S4gt9UKCeGJOuSGBPGiFT6oQ/2UBnvTY/5aQ1PnksW72fhZkM30DzoRRv2WpwZf1vHHEr3mtuXIWQ==} + + browserslist@4.24.4: + resolution: {integrity: sha512-KDi1Ny1gSePi1vm0q4oxSF8b4DR44GF4BbmS2YdhPLOEqd8pDviZOGH/GsmRwoWJ2+5Lr085X7naowMwKHDG1A==} + engines: {node: ^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7} + hasBin: true + + cac@6.7.14: + resolution: {integrity: sha512-b6Ilus+c3RrdDk+JhLKUAQfzzgLEPy6wcXqS7f/xe1EETvsDP6GORG7SFuOs6cID5YkqchW/LXZbX5bc8j7ZcQ==} + engines: {node: '>=8'} + + call-bind-apply-helpers@1.0.2: + resolution: {integrity: sha512-Sp1ablJ0ivDkSzjcaJdxEunN5/XvksFJ2sMBFfq6x0ryhQV/2b/KwFe21cMpmHtPOSij8K99/wSfoEuTObmuMQ==} + engines: {node: '>= 0.4'} + + call-bind@1.0.8: + resolution: {integrity: sha512-oKlSFMcMwpUg2ednkhQ454wfWiU/ul3CkJe/PEHcTKuiX6RpbehUiFMXu13HalGZxfUwCQzZG747YXBn1im9ww==} + engines: {node: '>= 0.4'} + + call-bound@1.0.4: + resolution: {integrity: sha512-+ys997U96po4Kx/ABpBCqhA9EuxJaQWDQg7295H4hBphv3IZg0boBKuwYpt4YXp6MZ5AmZQnU/tyMTlRpaSejg==} + engines: {node: '>= 0.4'} + + caniuse-lite@1.0.30001715: + resolution: {integrity: sha512-7ptkFGMm2OAOgvZpwgA4yjQ5SQbrNVGdRjzH0pBdy1Fasvcr+KAeECmbCAECzTuDuoX0FCY8KzUxjf9+9kfZEw==} + + chai@5.2.0: + resolution: {integrity: sha512-mCuXncKXk5iCLhfhwTc0izo0gtEmpz5CtG2y8GiOINBlMVS6v8TMRc5TaLWKS6692m9+dVVfzgeVxR5UxWHTYw==} + engines: {node: '>=12'} + + chalk@3.0.0: + resolution: {integrity: sha512-4D3B6Wf41KOYRFdszmDqMCGq5VV/uMAB273JILmO+3jAlh8X4qDtdtgCR3fxtbLEMzSx22QdhnDcJvu2u1fVwg==} + engines: {node: '>=8'} + + chalk@4.1.2: + resolution: {integrity: sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==} + engines: {node: '>=10'} + + check-error@2.1.1: + resolution: {integrity: sha512-OAlb+T7V4Op9OwdkjmguYRqncdlx5JiofwOAUkmTF+jNdHwzTaTs4sRAGpzLF3oOz5xAyDGrPgeIDFQmDOTiJw==} + engines: {node: '>= 16'} + + chromatic@11.28.2: + resolution: {integrity: sha512-aCmUPcZUs4/p9zRZdMreOoO/5JqO2DiJC3md1/vRx8dlMRcmR/YI5ZbgXZcai2absVR+6hsXZ5XiPxV2sboTuQ==} + hasBin: true + peerDependencies: + '@chromatic-com/cypress': ^0.*.* || ^1.0.0 + '@chromatic-com/playwright': ^0.*.* || ^1.0.0 + peerDependenciesMeta: + '@chromatic-com/cypress': + optional: true + '@chromatic-com/playwright': + optional: true + + color-convert@2.0.1: + resolution: {integrity: sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==} + engines: {node: '>=7.0.0'} + + color-name@1.1.4: + resolution: {integrity: sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==} + + convert-source-map@2.0.0: + resolution: {integrity: sha512-Kvp459HrV2FEJ1CAsi1Ku+MY3kasH19TFykTz2xWmMeq6bk2NU3XXvfJ+Q61m0xktWwt+1HSYf3JZsTms3aRJg==} + + cross-spawn@7.0.6: + resolution: {integrity: sha512-uV2QOWP2nWzsy2aMp8aRibhi9dlzF5Hgh5SHaB9OiTGEyDTiJJyx0uy51QXdyWbtAHNua4XJzUKca3OzKUd3vA==} + engines: {node: '>= 8'} + + css.escape@1.5.1: + resolution: {integrity: sha512-YUifsXXuknHlUsmlgyY0PKzgPOr7/FjCePfHNt0jxm83wHZi44VDMQ7/fGNkjY3/jV1MC+1CmZbaHzugyeRtpg==} + + csstype@3.1.3: + resolution: {integrity: sha512-M1uQkMl8rQK/szD0LNhtqxIPLpimGm8sOBwU7lLnCpSbTyY3yeU1Vc7l4KT5zT4s/yOxHH5O7tIuuLOCnLADRw==} + + debug@4.4.0: + resolution: {integrity: sha512-6WTZ/IxCY/T6BALoZHaE4ctp9xm+Z5kY/pzYaCHRFeyVhojxlrm+46y68HA6hr0TcwEssoxNiDEUJQjfPZ/RYA==} + engines: {node: '>=6.0'} + peerDependencies: + supports-color: '*' + peerDependenciesMeta: + supports-color: + optional: true + + deep-eql@5.0.2: + resolution: {integrity: sha512-h5k/5U50IJJFpzfL6nO9jaaumfjO/f2NjK/oYB2Djzm4p9L+3T9qWpZqZ2hAbLPuuYq9wrU08WQyBTL5GbPk5Q==} + engines: {node: '>=6'} + + define-data-property@1.1.4: + resolution: {integrity: sha512-rBMvIzlpA8v6E+SJZoo++HAYqsLrkg7MSfIinMPFhmkorw7X+dOXVJQs+QT69zGkzMyfDnIMN2Wid1+NbL3T+A==} + engines: {node: '>= 0.4'} + + define-lazy-prop@2.0.0: + resolution: {integrity: sha512-Ds09qNh8yw3khSjiJjiUInaGX9xlqZDY7JVryGxdxV7NPeuqQfplOpQ66yJFZut3jLa5zOwkXw1g9EI2uKh4Og==} + engines: {node: '>=8'} + + dequal@2.0.3: + resolution: {integrity: sha512-0je+qPKHEMohvfRTCEo3CrPG6cAzAYgmzKyxRiYSSDkS6eGJdyVJm7WaYA5ECaAD9wLB2T4EEeymA5aFVcYXCA==} + engines: {node: '>=6'} + + detect-libc@2.0.4: + resolution: {integrity: sha512-3UDv+G9CsCKO1WKMGw9fwq/SWJYbI0c5Y7LU1AXYoDdbhE2AHQ6N6Nb34sG8Fj7T5APy8qXDCKuuIHd1BR0tVA==} + engines: {node: '>=8'} + + doctrine@3.0.0: + resolution: {integrity: sha512-yS+Q5i3hBf7GBkd4KG8a7eBNNWNGLTaEwwYWUijIYM7zrlYDM0BFXHjjPWlWZ1Rg7UaddZeIDmi9jF3HmqiQ2w==} + engines: {node: '>=6.0.0'} + + dom-accessibility-api@0.5.16: + resolution: {integrity: sha512-X7BJ2yElsnOJ30pZF4uIIDfBEVgF4XEBxL9Bxhy6dnrm5hkzqmsWHGTiHqRiITNhMyFLyAiWndIJP7Z1NTteDg==} + + dom-accessibility-api@0.6.3: + resolution: {integrity: sha512-7ZgogeTnjuHbo+ct10G9Ffp0mif17idi0IyWNVA/wcwcm7NPOD/WEHVP3n7n3MhXqxoIYm8d6MuZohYWIZ4T3w==} + + dunder-proto@1.0.1: + resolution: {integrity: sha512-KIN/nDJBQRcXw0MLVhZE9iQHmG68qAVIBg9CqmUYjmQIhgij9U5MFvrqkUL5FbtyyzZuOeOt0zdeRe4UY7ct+A==} + engines: {node: '>= 0.4'} + + eastasianwidth@0.2.0: + resolution: {integrity: sha512-I88TYZWc9XiYHRQ4/3c5rjjfgkjhLyW2luGIheGERbNQ6OY7yTybanSpDXZa8y7VUP9YmDcYa+eyq4ca7iLqWA==} + + electron-to-chromium@1.5.144: + resolution: {integrity: sha512-eJIaMRKeAzxfBSxtjYnoIAw/tdD6VIH6tHBZepZnAbE3Gyqqs5mGN87DvcldPUbVkIljTK8pY0CMcUljP64lfQ==} + + emoji-regex@8.0.0: + resolution: {integrity: sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==} + + emoji-regex@9.2.2: + resolution: {integrity: sha512-L18DaJsXSUk2+42pv8mLs5jJT2hqFkFE4j21wOmgbUqsZ2hL72NsUU785g9RXgo3s0ZNgVl42TiHp3ZtOv/Vyg==} + + enhanced-resolve@5.18.1: + resolution: {integrity: sha512-ZSW3ma5GkcQBIpwZTSRAI8N71Uuwgs93IezB7mf7R60tC8ZbJideoDNKjHn2O9KIlx6rkGTTEk1xUCK2E1Y2Yg==} + engines: {node: '>=10.13.0'} + + es-define-property@1.0.1: + resolution: {integrity: sha512-e3nRfgfUZ4rNGL232gUgX06QNyyez04KdjFrF+LTRoOXmrOgFKDg4BCdsjW8EnT69eqdYGmRpJwiPVYNrCaW3g==} + engines: {node: '>= 0.4'} + + es-errors@1.3.0: + resolution: {integrity: sha512-Zf5H2Kxt2xjTvbJvP2ZWLEICxA6j+hAmMzIlypy4xcBg1vKVnx89Wy0GbS+kf5cwCVFFzdCFh2XSCFNULS6csw==} + engines: {node: '>= 0.4'} + + es-module-lexer@1.7.0: + resolution: {integrity: sha512-jEQoCwk8hyb2AZziIOLhDqpm5+2ww5uIE6lkO/6jcOCusfk6LhMHpXXfBLXTZ7Ydyt0j4VoUQv6uGNYbdW+kBA==} + + es-object-atoms@1.1.1: + resolution: {integrity: sha512-FGgH2h8zKNim9ljj7dankFPcICIK9Cp5bm+c2gQSYePhpaG5+esrLODihIorn+Pe6FGJzWhXQotPv73jTaldXA==} + engines: {node: '>= 0.4'} + + esbuild-register@3.6.0: + resolution: {integrity: sha512-H2/S7Pm8a9CL1uhp9OvjwrBh5Pvx0H8qVOxNu8Wed9Y7qv56MPtq+GGM8RJpq6glYJn9Wspr8uw7l55uyinNeg==} + peerDependencies: + esbuild: '>=0.12 <1' + + esbuild@0.25.3: + resolution: {integrity: sha512-qKA6Pvai73+M2FtftpNKRxJ78GIjmFXFxd/1DVBqGo/qNhLSfv+G12n9pNoWdytJC8U00TrViOwpjT0zgqQS8Q==} + engines: {node: '>=18'} + hasBin: true + + escalade@3.2.0: + resolution: {integrity: sha512-WUj2qlxaQtO4g6Pq5c29GTcWGDyd8itL8zTlipgECz3JesAiiOKotd8JU6otB3PACgG6xkJUyVhboMS+bje/jA==} + engines: {node: '>=6'} + + esprima@4.0.1: + resolution: {integrity: sha512-eGuFFw7Upda+g4p+QHvnW0RyTX/SVeJBDM/gCtMARO0cLuT2HcEKnTPvhjV6aGeqrCB/sbNop0Kszm0jsaWU4A==} + engines: {node: '>=4'} + hasBin: true + + estree-walker@2.0.2: + resolution: {integrity: sha512-Rfkk/Mp/DL7JVje3u18FxFujQlTNR2q6QfMSMB7AvCBx91NGj/ba3kCfza0f6dVDbw7YlRf/nDrn7pQrCCyQ/w==} + + estree-walker@3.0.3: + resolution: {integrity: sha512-7RUKfXgSMMkzt6ZuXmqapOurLGPPfgj6l9uRZ7lRGolvk0y2yocc35LdcxKC5PQZdn2DMqioAQ2NoWcrTKmm6g==} + + esutils@2.0.3: + resolution: {integrity: sha512-kVscqXk4OCp68SZ0dkgEKVi6/8ij300KBWTJq32P/dYeWTSwK41WyTxalN1eRmA5Z9UU/LX9D7FWSmV9SAYx6g==} + engines: {node: '>=0.10.0'} + + expect-type@1.2.1: + resolution: {integrity: sha512-/kP8CAwxzLVEeFrMm4kMmy4CCDlpipyA7MYLVrdJIkV0fYF0UaigQHRsxHiuY/GEea+bh4KSv3TIlgr+2UL6bw==} + engines: {node: '>=12.0.0'} + + fdir@6.4.4: + resolution: {integrity: sha512-1NZP+GK4GfuAv3PqKvxQRDMjdSRZjnkq7KfhlNrCNNlZ0ygQFpebfrnfnq/W7fpUnAv9aGWmY1zKx7FYL3gwhg==} + peerDependencies: + picomatch: ^3 || ^4 + peerDependenciesMeta: + picomatch: + optional: true + + filesize@10.1.6: + resolution: {integrity: sha512-sJslQKU2uM33qH5nqewAwVB2QgR6w1aMNsYUp3aN5rMRyXEwJGmZvaWzeJFNTOXWlHQyBFCWrdj3fV/fsTOX8w==} + engines: {node: '>= 10.4.0'} + + find-up@5.0.0: + resolution: {integrity: sha512-78/PXT1wlLLDgTzDs7sjq9hzz0vXD+zn+7wypEe4fXQxCmdmqfGsEPQxmiCSQI3ajFV91bVSsvNtrJRiW6nGng==} + engines: {node: '>=10'} + + for-each@0.3.5: + resolution: {integrity: sha512-dKx12eRCVIzqCxFGplyFKJMPvLEWgmNtUrpTiJIR5u97zEhRG8ySrtboPHZXx7daLxQVrl643cTzbab2tkQjxg==} + engines: {node: '>= 0.4'} + + foreground-child@3.3.1: + resolution: {integrity: sha512-gIXjKqtFuWEgzFRJA9WCQeSJLZDjgJUOMCMzxtvFq/37KojM1BFGufqsCy0r4qSQmYLsZYMeyRqzIWOMup03sw==} + engines: {node: '>=14'} + + fsevents@2.3.2: + resolution: {integrity: sha512-xiqMQR4xAeHTuB9uWm+fFRcIOgKBMiOBP+eXiyT7jsgVCq1bkVygt00oASowB7EdtpOHaaPgKt812P9ab+DDKA==} + engines: {node: ^8.16.0 || ^10.6.0 || >=11.0.0} + os: [darwin] + + fsevents@2.3.3: + resolution: {integrity: sha512-5xoDfX+fL7faATnagmWPpbFtwh/R77WmMMqqHGS65C3vvB0YHrgF+B1YmZ3441tMj5n63k0212XNoJwzlhffQw==} + engines: {node: ^8.16.0 || ^10.6.0 || >=11.0.0} + os: [darwin] + + function-bind@1.1.2: + resolution: {integrity: sha512-7XHNxH7qX9xG5mIwxkhumTox/MIRNcOgDrxWsMt2pAr23WHp6MrRlN7FBSFpCpr+oVO0F744iUgR82nJMfG2SA==} + + gensync@1.0.0-beta.2: + resolution: {integrity: sha512-3hN7NaskYvMDLQY55gnW3NQ+mesEAepTqlg+VEbj7zzqEMBVNhzcGYYeqFo/TlYz6eQiFcp1HcsCZO+nGgS8zg==} + engines: {node: '>=6.9.0'} + + get-intrinsic@1.3.0: + resolution: {integrity: sha512-9fSjSaos/fRIVIp+xSJlE6lfwhES7LNtKaCBIamHsjr2na1BiABJPo0mOjjz8GJDURarmCPGqaiVg5mfjb98CQ==} + engines: {node: '>= 0.4'} + + get-proto@1.0.1: + resolution: {integrity: sha512-sTSfBjoXBp89JvIKIefqw7U2CCebsc74kiY6awiGogKtoSGbgjYE/G/+l9sF3MWFPNc9IcoOC4ODfKHfxFmp0g==} + engines: {node: '>= 0.4'} + + glob@10.4.5: + resolution: {integrity: sha512-7Bv8RF0k6xjo7d4A/PxYLbUCfb6c+Vpd2/mB2yRDlew7Jb5hEXiCD9ibfO7wpk8i4sevK6DFny9h7EYbM3/sHg==} + hasBin: true + + globals@11.12.0: + resolution: {integrity: sha512-WOBp/EEGUiIsJSp7wcv/y6MO+lV9UoncWqxuFfm8eBwzWNgyfBd6Gz+IeKQ9jCmyhoH99g15M3T+QaVHFjizVA==} + engines: {node: '>=4'} + + gopd@1.2.0: + resolution: {integrity: sha512-ZUKRh6/kUFoAiTAtTYPZJ3hw9wNxx+BIBOijnlG9PnrJsCcSjs1wyyD6vJpaYtgnzDrKYRSqf3OO6Rfa93xsRg==} + engines: {node: '>= 0.4'} + + graceful-fs@4.2.11: + resolution: {integrity: sha512-RbJ5/jmFcNNCcDV5o9eTnBLJ/HszWV0P73bc+Ff4nS/rJj+YaS6IGyiOL0VoBYX+l1Wrl3k63h/KrH+nhJ0XvQ==} + + has-flag@4.0.0: + resolution: {integrity: sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==} + engines: {node: '>=8'} + + has-property-descriptors@1.0.2: + resolution: {integrity: sha512-55JNKuIW+vq4Ke1BjOTjM2YctQIvCT7GFzHwmfZPGo5wnrgkid0YQtnAleFSqumZm4az3n2BS+erby5ipJdgrg==} + + has-symbols@1.1.0: + resolution: {integrity: sha512-1cDNdwJ2Jaohmb3sg4OmKaMBwuC48sYni5HUw2DvsC8LjGTLK9h+eb1X6RyuOHe4hT0ULCW68iomhjUoKUqlPQ==} + engines: {node: '>= 0.4'} + + has-tostringtag@1.0.2: + resolution: {integrity: sha512-NqADB8VjPFLM2V0VvHUewwwsw0ZWBaIdgo+ieHtK3hasLz4qeCRjYcqfB6AQrBggRKppKF8L52/VqdVsO47Dlw==} + engines: {node: '>= 0.4'} + + hasown@2.0.2: + resolution: {integrity: sha512-0hJU9SCPvmMzIBdZFqNPXWa6dqh7WdH0cII9y+CyS8rG3nL48Bclra9HmKhVVUHyPWNH5Y7xDwAB7bfgSjkUMQ==} + engines: {node: '>= 0.4'} + + html-escaper@2.0.2: + resolution: {integrity: sha512-H2iMtd0I4Mt5eYiapRdIDjp+XzelXQ0tFE4JS7YFwFevXXMmOp9myNrUvCg0D6ws8iqkRPBfKHgbwig1SmlLfg==} + + indent-string@4.0.0: + resolution: {integrity: sha512-EdDDZu4A2OyIK7Lr/2zG+w5jmbuk1DVBnEwREQvBzspBJkCEbRa8GxU1lghYcaGJCnRWibjDXlq779X1/y5xwg==} + engines: {node: '>=8'} + + inherits@2.0.4: + resolution: {integrity: sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==} + + is-arguments@1.2.0: + resolution: {integrity: sha512-7bVbi0huj/wrIAOzb8U1aszg9kdi3KN/CyU19CTI7tAoZYEZoL9yCDXpbXN+uPsuWnP02cyug1gleqq+TU+YCA==} + engines: {node: '>= 0.4'} + + is-callable@1.2.7: + resolution: {integrity: sha512-1BC0BVFhS/p0qtw6enp8e+8OD0UrK0oFLztSjNzhcKA3WDuJxxAPXzPuPtKkjEY9UUoEWlX/8fgKeu2S8i9JTA==} + engines: {node: '>= 0.4'} + + is-core-module@2.16.1: + resolution: {integrity: sha512-UfoeMA6fIJ8wTYFEUjelnaGI67v6+N7qXJEvQuIGa99l4xsCruSYOVSQ0uPANn4dAzm8lkYPaKLrrijLq7x23w==} + engines: {node: '>= 0.4'} + + is-docker@2.2.1: + resolution: {integrity: sha512-F+i2BKsFrH66iaUFc0woD8sLy8getkwTwtOBjvs56Cx4CgJDeKQeqfz8wAYiSb8JOprWhHH5p77PbmYCvvUuXQ==} + engines: {node: '>=8'} + hasBin: true + + is-fullwidth-code-point@3.0.0: + resolution: {integrity: sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==} + engines: {node: '>=8'} + + is-generator-function@1.1.0: + resolution: {integrity: sha512-nPUB5km40q9e8UfN/Zc24eLlzdSf9OfKByBw9CIdw4H1giPMeA0OIJvbchsCu4npfI2QcMVBsGEBHKZ7wLTWmQ==} + engines: {node: '>= 0.4'} + + is-regex@1.2.1: + resolution: {integrity: sha512-MjYsKHO5O7mCsmRGxWcLWheFqN9DJ/2TmngvjKXihe6efViPqc274+Fx/4fYj/r03+ESvBdTXK0V6tA3rgez1g==} + engines: {node: '>= 0.4'} + + is-typed-array@1.1.15: + resolution: {integrity: sha512-p3EcsicXjit7SaskXHs1hA91QxgTw46Fv6EFKKGS5DRFLD8yKnohjF3hxoju94b/OcMZoQukzpPpBE9uLVKzgQ==} + engines: {node: '>= 0.4'} + + is-wsl@2.2.0: + resolution: {integrity: sha512-fKzAra0rGJUUBwGBgNkHZuToZcn+TtXHpeCgmkMJMMYx1sQDYaCSyjJBSCa2nH1DGm7s3n1oBnohoVTBaN7Lww==} + engines: {node: '>=8'} + + isexe@2.0.0: + resolution: {integrity: sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw==} + + istanbul-lib-coverage@3.2.2: + resolution: {integrity: sha512-O8dpsF+r0WV/8MNRKfnmrtCWhuKjxrq2w+jpzBL5UZKTi2LeVWnWOmWRxFlesJONmc+wLAGvKQZEOanko0LFTg==} + engines: {node: '>=8'} + + istanbul-lib-report@3.0.1: + resolution: {integrity: sha512-GCfE1mtsHGOELCU8e/Z7YWzpmybrx/+dSTfLrvY8qRmaY6zXTKWn6WQIjaAFw069icm6GVMNkgu0NzI4iPZUNw==} + engines: {node: '>=10'} + + istanbul-lib-source-maps@5.0.6: + resolution: {integrity: sha512-yg2d+Em4KizZC5niWhQaIomgf5WlL4vOOjZ5xGCmF8SnPE/mDWWXgvRExdcpCgh9lLRRa1/fSYp2ymmbJ1pI+A==} + engines: {node: '>=10'} + + istanbul-reports@3.1.7: + resolution: {integrity: sha512-BewmUXImeuRk2YY0PVbxgKAysvhRPUQE0h5QRM++nVWyubKGV0l8qQ5op8+B2DOmwSe63Jivj0BjkPQVf8fP5g==} + engines: {node: '>=8'} + + jackspeak@3.4.3: + resolution: {integrity: sha512-OGlZQpz2yfahA/Rd1Y8Cd9SIEsqvXkLVoSw/cgwhnhFMDbsQFeZYoJJ7bIZBS9BcamUW96asq/npPWugM+RQBw==} + + jiti@2.4.2: + resolution: {integrity: sha512-rg9zJN+G4n2nfJl5MW3BMygZX56zKPNVEYYqq7adpmMh4Jn2QNEwhvQlFy6jPVdcod7txZtKHWnyZiA3a0zP7A==} + hasBin: true + + js-tokens@4.0.0: + resolution: {integrity: sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==} + + jsdoc-type-pratt-parser@4.1.0: + resolution: {integrity: sha512-Hicd6JK5Njt2QB6XYFS7ok9e37O8AYk3jTcppG4YVQnYjOemymvTcmc7OWsmq/Qqj5TdRFO5/x/tIPmBeRtGHg==} + engines: {node: '>=12.0.0'} + + jsesc@3.1.0: + resolution: {integrity: sha512-/sM3dO2FOzXjKQhJuo0Q173wf2KOo8t4I8vHy6lF9poUp7bKT0/NHE8fPX23PwfhnykfqnC2xRxOnVw5XuGIaA==} + engines: {node: '>=6'} + hasBin: true + + json5@2.2.3: + resolution: {integrity: sha512-XmOWe7eyHYH14cLdVPoyg+GOH3rYX++KpzrylJwSW98t3Nk+U8XOl8FWKOgwtzdb8lXGf6zYwDUzeHMWfxasyg==} + engines: {node: '>=6'} + hasBin: true + + jsonfile@6.1.0: + resolution: {integrity: sha512-5dgndWOriYSm5cnYaJNhalLNDKOqFwyDB/rr1E9ZsGciGvKPs8R2xYGCacuf3z6K1YKDz182fd+fY3cn3pMqXQ==} + + kleur@3.0.3: + resolution: {integrity: sha512-eTIzlVOSUR+JxdDFepEYcBMtZ9Qqdef+rnzWdRZuMbOywu5tO2w2N7rqjoANZ5k9vywhL6Br1VRjUIgTQx4E8w==} + engines: {node: '>=6'} + + lightningcss-darwin-arm64@1.29.2: + resolution: {integrity: sha512-cK/eMabSViKn/PG8U/a7aCorpeKLMlK0bQeNHmdb7qUnBkNPnL+oV5DjJUo0kqWsJUapZsM4jCfYItbqBDvlcA==} + engines: {node: '>= 12.0.0'} + cpu: [arm64] + os: [darwin] + + lightningcss-darwin-x64@1.29.2: + resolution: {integrity: sha512-j5qYxamyQw4kDXX5hnnCKMf3mLlHvG44f24Qyi2965/Ycz829MYqjrVg2H8BidybHBp9kom4D7DR5VqCKDXS0w==} + engines: {node: '>= 12.0.0'} + cpu: [x64] + os: [darwin] + + lightningcss-freebsd-x64@1.29.2: + resolution: {integrity: sha512-wDk7M2tM78Ii8ek9YjnY8MjV5f5JN2qNVO+/0BAGZRvXKtQrBC4/cn4ssQIpKIPP44YXw6gFdpUF+Ps+RGsCwg==} + engines: {node: '>= 12.0.0'} + cpu: [x64] + os: [freebsd] + + lightningcss-linux-arm-gnueabihf@1.29.2: + resolution: {integrity: sha512-IRUrOrAF2Z+KExdExe3Rz7NSTuuJ2HvCGlMKoquK5pjvo2JY4Rybr+NrKnq0U0hZnx5AnGsuFHjGnNT14w26sg==} + engines: {node: '>= 12.0.0'} + cpu: [arm] + os: [linux] + + lightningcss-linux-arm64-gnu@1.29.2: + resolution: {integrity: sha512-KKCpOlmhdjvUTX/mBuaKemp0oeDIBBLFiU5Fnqxh1/DZ4JPZi4evEH7TKoSBFOSOV3J7iEmmBaw/8dpiUvRKlQ==} + engines: {node: '>= 12.0.0'} + cpu: [arm64] + os: [linux] + libc: [glibc] + + lightningcss-linux-arm64-musl@1.29.2: + resolution: {integrity: sha512-Q64eM1bPlOOUgxFmoPUefqzY1yV3ctFPE6d/Vt7WzLW4rKTv7MyYNky+FWxRpLkNASTnKQUaiMJ87zNODIrrKQ==} + engines: {node: '>= 12.0.0'} + cpu: [arm64] + os: [linux] + libc: [musl] + + lightningcss-linux-x64-gnu@1.29.2: + resolution: {integrity: sha512-0v6idDCPG6epLXtBH/RPkHvYx74CVziHo6TMYga8O2EiQApnUPZsbR9nFNrg2cgBzk1AYqEd95TlrsL7nYABQg==} + engines: {node: '>= 12.0.0'} + cpu: [x64] + os: [linux] + libc: [glibc] + + lightningcss-linux-x64-musl@1.29.2: + resolution: {integrity: sha512-rMpz2yawkgGT8RULc5S4WiZopVMOFWjiItBT7aSfDX4NQav6M44rhn5hjtkKzB+wMTRlLLqxkeYEtQ3dd9696w==} + engines: {node: '>= 12.0.0'} + cpu: [x64] + os: [linux] + libc: [musl] + + lightningcss-win32-arm64-msvc@1.29.2: + resolution: {integrity: sha512-nL7zRW6evGQqYVu/bKGK+zShyz8OVzsCotFgc7judbt6wnB2KbiKKJwBE4SGoDBQ1O94RjW4asrCjQL4i8Fhbw==} + engines: {node: '>= 12.0.0'} + cpu: [arm64] + os: [win32] + + lightningcss-win32-x64-msvc@1.29.2: + resolution: {integrity: sha512-EdIUW3B2vLuHmv7urfzMI/h2fmlnOQBk1xlsDxkN1tCWKjNFjfLhGxYk8C8mzpSfr+A6jFFIi8fU6LbQGsRWjA==} + engines: {node: '>= 12.0.0'} + cpu: [x64] + os: [win32] + + lightningcss@1.29.2: + resolution: {integrity: sha512-6b6gd/RUXKaw5keVdSEtqFVdzWnU5jMxTUjA2bVcMNPLwSQ08Sv/UodBVtETLCn7k4S1Ibxwh7k68IwLZPgKaA==} + engines: {node: '>= 12.0.0'} + + locate-path@6.0.0: + resolution: {integrity: sha512-iPZK6eYjbxRu3uB4/WZ3EsEIMJFMqAoopl3R+zuq0UjcAm/MO6KCweDgPfP3elTztoKP3KtnVHxTn2NHBSDVUw==} + engines: {node: '>=10'} + + lodash@4.17.21: + resolution: {integrity: sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==} + + loose-envify@1.4.0: + resolution: {integrity: sha512-lyuxPGr/Wfhrlem2CL/UcnUc1zcqKAImBDzukY7Y5F/yQiNdko6+fRLevlw1HgMySw7f611UIY408EtxRSoK3Q==} + hasBin: true + + loupe@3.1.3: + resolution: {integrity: sha512-kkIp7XSkP78ZxJEsSxW3712C6teJVoeHHwgo9zJ380de7IYyJ2ISlxojcH2pC5OFLewESmnRi/+XCDIEEVyoug==} + + lru-cache@10.4.3: + resolution: {integrity: sha512-JNAzZcXrCt42VGLuYz0zfAzDfAvJWW6AfYlDBQyDV5DClI2m5sAmK+OIO7s59XfsRsWHp02jAJrRadPRGTt6SQ==} + + lru-cache@5.1.1: + resolution: {integrity: sha512-KpNARQA3Iwv+jTA0utUVVbrh+Jlrr1Fv0e56GGzAFOXN7dk/FviaDW8LHmK52DlcH4WP2n6gI8vN1aesBFgo9w==} + + lz-string@1.5.0: + resolution: {integrity: sha512-h5bgJWpxJNswbU7qCrV0tIKQCaS3blPDrqKWx+QxzuzL1zGUzij9XCWLrSLsJPu5t+eWA/ycetzYAO5IOMcWAQ==} + hasBin: true + + magic-string@0.27.0: + resolution: {integrity: sha512-8UnnX2PeRAPZuN12svgR9j7M1uWMovg/CEnIwIG0LFkXSJJe4PdfUGiTGl8V9bsBHFUtfVINcSyYxd7q+kx9fA==} + engines: {node: '>=12'} + + magic-string@0.30.17: + resolution: {integrity: sha512-sNPKHvyjVf7gyjwS4xGTaW/mCnF8wnjtifKBEhxfZ7E/S8tQ0rssrwGNn6q8JH/ohItJfSQp9mBtQYuTlH5QnA==} + + magicast@0.3.5: + resolution: {integrity: sha512-L0WhttDl+2BOsybvEOLK7fW3UA0OQ0IQ2d6Zl2x/a6vVRs3bAY0ECOSHHeL5jD+SbOpOCUEi0y1DgHEn9Qn1AQ==} + + make-dir@4.0.0: + resolution: {integrity: sha512-hXdUTZYIVOt1Ex//jAQi+wTZZpUpwBj/0QsOzqegb3rGMMeJiSEu5xLHnYfBrRV4RH2+OCSOO95Is/7x1WJ4bw==} + engines: {node: '>=10'} + + map-or-similar@1.5.0: + resolution: {integrity: sha512-0aF7ZmVon1igznGI4VS30yugpduQW3y3GkcgGJOp7d8x8QrizhigUxjI/m2UojsXXto+jLAH3KSz+xOJTiORjg==} + + math-intrinsics@1.1.0: + resolution: {integrity: sha512-/IXtbwEk5HTPyEwyKX6hGkYXxM9nbj64B+ilVJnC/R6B0pH5G4V3b0pVbL7DBj4tkhBAppbQUlf6F6Xl9LHu1g==} + engines: {node: '>= 0.4'} + + memoizerific@1.11.3: + resolution: {integrity: sha512-/EuHYwAPdLtXwAwSZkh/Gutery6pD2KYd44oQLhAvQp/50mpyduZh8Q7PYHXTCJ+wuXxt7oij2LXyIJOOYFPog==} + + min-indent@1.0.1: + resolution: {integrity: sha512-I9jwMn07Sy/IwOj3zVkVik2JTvgpaykDZEigL6Rx6N9LbMywwUSMtxET+7lVoDLLd3O3IXwJwvuuns8UB/HeAg==} + engines: {node: '>=4'} + + minimatch@9.0.5: + resolution: {integrity: sha512-G6T0ZX48xgozx7587koeX9Ys2NYy6Gmv//P89sEte9V9whIapMNF4idKxnW2QtCcLiTWlb/wfCabAtAFWhhBow==} + engines: {node: '>=16 || 14 >=14.17'} + + minimist@1.2.8: + resolution: {integrity: sha512-2yyAR8qBkN3YuheJanUpWC5U3bb5osDywNB8RzDVlDwDHbocAJveqqj1u8+SVD7jkWT4yvsHCpWqqWqAxb0zCA==} + + minipass@7.1.2: + resolution: {integrity: sha512-qOOzS1cBTWYF4BH8fVePDBOO9iptMnGUEZwNc/cMWnTV2nVLZ7VoNWEPHkYczZA0pdoA7dl6e7FL659nX9S2aw==} + engines: {node: '>=16 || 14 >=14.17'} + + mrmime@2.0.1: + resolution: {integrity: sha512-Y3wQdFg2Va6etvQ5I82yUhGdsKrcYox6p7FfL1LbK2J4V01F9TGlepTIhnK24t7koZibmg82KGglhA1XK5IsLQ==} + engines: {node: '>=10'} + + ms@2.1.3: + resolution: {integrity: sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==} + + nanoid@3.3.11: + resolution: {integrity: sha512-N8SpfPUnUp1bK+PMYW8qSWdl9U+wwNWI4QKxOYDy9JAro3WMX7p2OeVRF9v+347pnakNevPmiHhNmZ2HbFA76w==} + engines: {node: ^10 || ^12 || ^13.7 || ^14 || >=15.0.1} + hasBin: true + + node-releases@2.0.19: + resolution: {integrity: sha512-xxOWJsBKtzAq7DY0J+DTzuz58K8e7sJbdgwkbMWQe8UYB6ekmsQ45q0M/tJDsGaZmbC+l7n57UV8Hl5tHxO9uw==} + + object-assign@4.1.1: + resolution: {integrity: sha512-rJgTQnkUnH1sFw8yT6VSU3zD3sWmu6sZhIseY8VX+GRu3P6F7Fu+JNDoXfklElbLJSnc3FUQHVe4cU5hj+BcUg==} + engines: {node: '>=0.10.0'} + + open@8.4.2: + resolution: {integrity: sha512-7x81NCL719oNbsq/3mh+hVrAWmFuEYUqrq/Iw3kUzH8ReypT9QQ0BLoJS7/G9k6N81XjW4qHWtjWwe/9eLy1EQ==} + engines: {node: '>=12'} + + p-limit@3.1.0: + resolution: {integrity: sha512-TYOanM3wGwNGsZN2cVTYPArw454xnXj5qmWF1bEoAc4+cU/ol7GVh7odevjp1FNHduHc3KZMcFduxU5Xc6uJRQ==} + engines: {node: '>=10'} + + p-locate@5.0.0: + resolution: {integrity: sha512-LaNjtRWUBY++zB5nE/NwcaoMylSPk+S+ZHNB1TzdbMJMny6dynpAGt7X/tl/QYq3TIeE6nxHppbo2LGymrG5Pw==} + engines: {node: '>=10'} + + package-json-from-dist@1.0.1: + resolution: {integrity: sha512-UEZIS3/by4OC8vL3P2dTXRETpebLI2NiI5vIrjaD/5UtrkFX/tNbwjTSRAGC/+7CAo2pIcBaRgWmcBBHcsaCIw==} + + path-exists@4.0.0: + resolution: {integrity: sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w==} + engines: {node: '>=8'} + + path-key@3.1.1: + resolution: {integrity: sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q==} + engines: {node: '>=8'} + + path-parse@1.0.7: + resolution: {integrity: sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw==} + + path-scurry@1.11.1: + resolution: {integrity: sha512-Xa4Nw17FS9ApQFJ9umLiJS4orGjm7ZzwUrwamcGQuHSzDyth9boKDaycYdDcZDuqYATXw4HFXgaqWTctW/v1HA==} + engines: {node: '>=16 || 14 >=14.18'} + + pathe@2.0.3: + resolution: {integrity: sha512-WUjGcAqP1gQacoQe+OBJsFA7Ld4DyXuUIjZ5cc75cLHvJ7dtNsTugphxIADwspS+AraAUePCKrSVtPLFj/F88w==} + + pathval@2.0.0: + resolution: {integrity: sha512-vE7JKRyES09KiunauX7nd2Q9/L7lhok4smP9RZTDeD4MVs72Dp2qNFVz39Nz5a0FVEW0BJR6C0DYrq6unoziZA==} + engines: {node: '>= 14.16'} + + picocolors@1.1.1: + resolution: {integrity: sha512-xceH2snhtb5M9liqDsmEw56le376mTZkEX/jEb/RxNFyegNul7eNslCXP9FDj/Lcu0X8KEyMceP2ntpaHrDEVA==} + + picomatch@4.0.2: + resolution: {integrity: sha512-M7BAV6Rlcy5u+m6oPhAPFgJTzAioX/6B0DxyvDlo9l8+T3nLKbrczg2WLUyzd45L8RqfUMyGPzekbMvX2Ldkwg==} + engines: {node: '>=12'} + + playwright-core@1.52.0: + resolution: {integrity: sha512-l2osTgLXSMeuLZOML9qYODUQoPPnUsKsb5/P6LJ2e6uPKXUdPK5WYhN4z03G+YNbWmGDY4YENauNu4ZKczreHg==} + engines: {node: '>=18'} + hasBin: true + + playwright@1.52.0: + resolution: {integrity: sha512-JAwMNMBlxJ2oD1kce4KPtMkDeKGHQstdpFPcPH3maElAXon/QZeTvtsfXmTMRyO9TslfoYOXkSsvao2nE1ilTw==} + engines: {node: '>=18'} + hasBin: true + + polished@4.3.1: + resolution: {integrity: sha512-OBatVyC/N7SCW/FaDHrSd+vn0o5cS855TOmYi4OkdWUMSJCET/xip//ch8xGUvtr3i44X9LVyWwQlRMTN3pwSA==} + engines: {node: '>=10'} + + possible-typed-array-names@1.1.0: + resolution: {integrity: sha512-/+5VFTchJDoVj3bhoqi6UeymcD00DAwb1nJwamzPvHEszJ4FpF6SNNbUbOS8yI56qHzdV8eK0qEfOSiodkTdxg==} + engines: {node: '>= 0.4'} + + postcss@8.5.3: + resolution: {integrity: sha512-dle9A3yYxlBSrt8Fu+IpjGT8SY8hN0mlaA6GY8t0P5PjIOZemULz/E2Bnm/2dcUOena75OTNkHI76uZBNUUq3A==} + engines: {node: ^10 || ^12 || >=14} + + pretty-format@27.5.1: + resolution: {integrity: sha512-Qb1gy5OrP5+zDf2Bvnzdl3jsTf1qXVMazbvCoKhtKqVs4/YK4ozX4gKQJJVyNe+cajNPn0KoC0MC3FUmaHWEmQ==} + engines: {node: ^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0} + + process@0.11.10: + resolution: {integrity: sha512-cdGef/drWFoydD1JsMzuFf8100nZl+GT+yacc2bEced5f9Rjk4z+WtFUTBu9PhOi9j/jfmBPu0mMEY4wIdAF8A==} + engines: {node: '>= 0.6.0'} + + prompts@2.4.2: + resolution: {integrity: sha512-NxNv/kLguCA7p3jE8oL2aEBsrJWgAakBpgmgK6lpPWV+WuOmY6r2/zbAVnP+T8bQlA0nzHXSJSJW0Hq7ylaD2Q==} + engines: {node: '>= 6'} + + prop-types@15.8.1: + resolution: {integrity: sha512-oj87CgZICdulUohogVAR7AjlC0327U4el4L6eAvOqCeudMDVU0NThNaV+b9Df4dXgSP1gXMTnPdhfe/2qDH5cg==} + + react-confetti@6.4.0: + resolution: {integrity: sha512-5MdGUcqxrTU26I2EU7ltkWPwxvucQTuqMm8dUz72z2YMqTD6s9vMcDUysk7n9jnC+lXuCPeJJ7Knf98VEYE9Rg==} + engines: {node: '>=16'} + peerDependencies: + react: ^16.3.0 || ^17.0.1 || ^18.0.0 || ^19.0.0 + + react-docgen-typescript@2.2.2: + resolution: {integrity: sha512-tvg2ZtOpOi6QDwsb3GZhOjDkkX0h8Z2gipvTg6OVMUyoYoURhEiRNePT8NZItTVCDh39JJHnLdfCOkzoLbFnTg==} + peerDependencies: + typescript: '>= 4.3.x' + + react-docgen@7.1.1: + resolution: {integrity: sha512-hlSJDQ2synMPKFZOsKo9Hi8WWZTC7POR8EmWvTSjow+VDgKzkmjQvFm2fk0tmRw+f0vTOIYKlarR0iL4996pdg==} + engines: {node: '>=16.14.0'} + + react-dom@19.1.0: + resolution: {integrity: sha512-Xs1hdnE+DyKgeHJeJznQmYMIBG3TKIHJJT95Q58nHLSrElKlGQqDTR2HQ9fx5CN/Gk6Vh/kupBTDLU11/nDk/g==} + peerDependencies: + react: ^19.1.0 + + react-is@16.13.1: + resolution: {integrity: sha512-24e6ynE2H+OKt4kqsOvNd8kBpV65zoxbA4BVsEOB3ARVWQki/DHzaUoC5KuON/BiccDaCCTZBuOcfZs70kR8bQ==} + + react-is@17.0.2: + resolution: {integrity: sha512-w2GsyukL62IJnlaff/nRegPQR94C/XXamvMWmSHRJ4y7Ts/4ocGRmTHvOs8PSE6pB3dWOrD/nueuU5sduBsQ4w==} + + react@19.1.0: + resolution: {integrity: sha512-FS+XFBNvn3GTAWq26joslQgWNoFu08F4kl0J4CgdNKADkdSGXQyTCnKteIAJy96Br6YbpEU1LSzV5dYtjMkMDg==} + engines: {node: '>=0.10.0'} + + recast@0.23.11: + resolution: {integrity: sha512-YTUo+Flmw4ZXiWfQKGcwwc11KnoRAYgzAE2E7mXKCjSviTKShtxBsN6YUUBB2gtaBzKzeKunxhUwNHQuRryhWA==} + engines: {node: '>= 4'} + + redent@3.0.0: + resolution: {integrity: sha512-6tDA8g98We0zd0GvVeMT9arEOnTw9qM03L9cJXaCjrip1OO764RDBLBfrB4cwzNGDj5OA5ioymC9GkizgWJDUg==} + engines: {node: '>=8'} + + regenerator-runtime@0.14.1: + resolution: {integrity: sha512-dYnhHh0nJoMfnkZs6GmmhFknAGRrLznOu5nc9ML+EJxGvrx6H7teuevqVqCuPcPK//3eDrrjQhehXVx9cnkGdw==} + + resolve@1.22.10: + resolution: {integrity: sha512-NPRy+/ncIMeDlTAsuqwKIiferiawhefFJtkNSW0qZJEqMEb+qBt/77B/jGeeek+F0uOeN05CDa6HXbbIgtVX4w==} + engines: {node: '>= 0.4'} + hasBin: true + + rollup@4.40.1: + resolution: {integrity: sha512-C5VvvgCCyfyotVITIAv+4efVytl5F7wt+/I2i9q9GZcEXW9BP52YYOXC58igUi+LFZVHukErIIqQSWwv/M3WRw==} + engines: {node: '>=18.0.0', npm: '>=8.0.0'} + hasBin: true + + safe-regex-test@1.1.0: + resolution: {integrity: sha512-x/+Cz4YrimQxQccJf5mKEbIa1NzeCRNI5Ecl/ekmlYaampdNLPalVyIcCZNNH3MvmqBugV5TMYZXv0ljslUlaw==} + engines: {node: '>= 0.4'} + + scheduler@0.26.0: + resolution: {integrity: sha512-NlHwttCI/l5gCPR3D1nNXtWABUmBwvZpEQiD4IXSbIDq8BzLIK/7Ir5gTFSGZDUu37K5cMNp0hFtzO38sC7gWA==} + + semver@6.3.1: + resolution: {integrity: sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==} + hasBin: true + + semver@7.7.1: + resolution: {integrity: sha512-hlq8tAfn0m/61p4BVRcPzIGr6LKiMwo4VM6dGi6pt4qcRkmNzTcWq6eCEjEh+qXjkMDvPlOFFSGwQjoEa6gyMA==} + engines: {node: '>=10'} + hasBin: true + + set-function-length@1.2.2: + resolution: {integrity: sha512-pgRc4hJ4/sNjWCSS9AmnS40x3bNMDTknHgL5UaMBTMyJnU90EgWh1Rz+MC9eFu4BuN/UwZjKQuY/1v3rM7HMfg==} + engines: {node: '>= 0.4'} + + shebang-command@2.0.0: + resolution: {integrity: sha512-kHxr2zZpYtdmrN1qDjrrX/Z1rR1kG8Dx+gkpK1G4eXmvXswmcE1hTWBWYUzlraYw1/yZp6YuDY77YtvbN0dmDA==} + engines: {node: '>=8'} + + shebang-regex@3.0.0: + resolution: {integrity: sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A==} + engines: {node: '>=8'} + + siginfo@2.0.0: + resolution: {integrity: sha512-ybx0WO1/8bSBLEWXZvEd7gMW3Sn3JFlW3TvX1nREbDLRNQNaeNN8WK0meBwPdAaOI7TtRRRJn/Es1zhrrCHu7g==} + + signal-exit@4.1.0: + resolution: {integrity: sha512-bzyZ1e88w9O1iNJbKnOlvYTrWPDl46O1bG0D3XInv+9tkPrxrN8jUUTiFlDkkmKWgn1M6CfIA13SuGqOa9Korw==} + engines: {node: '>=14'} + + sirv@3.0.1: + resolution: {integrity: sha512-FoqMu0NCGBLCcAkS1qA+XJIQTR6/JHfQXl+uGteNCQ76T91DMUjPa9xfmeqMY3z80nLSg9yQmNjK0Px6RWsH/A==} + engines: {node: '>=18'} + + sisteransi@1.0.5: + resolution: {integrity: sha512-bLGGlR1QxBcynn2d5YmDX4MGjlZvy2MRBDRNHLJ8VI6l6+9FUiyTFNJ0IveOSP0bcXgVDPRcfGqA0pjaqUpfVg==} + + source-map-js@1.2.1: + resolution: {integrity: sha512-UXWMKhLOwVKb728IUtQPXxfYU+usdybtUrK/8uGE8CQMvrhOpwvzDBwj0QhSL7MQc7vIsISBG8VQ8+IDQxpfQA==} + engines: {node: '>=0.10.0'} + + source-map@0.6.1: + resolution: {integrity: sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==} + engines: {node: '>=0.10.0'} + + stackback@0.0.2: + resolution: {integrity: sha512-1XMJE5fQo1jGH6Y/7ebnwPOBEkIEnT4QF32d5R1+VXdXveM0IBMJt8zfaxX1P3QhVwrYe+576+jkANtSS2mBbw==} + + std-env@3.9.0: + resolution: {integrity: sha512-UGvjygr6F6tpH7o2qyqR6QYpwraIjKSdtzyBdyytFOHmPZY917kwdwLG0RbOjWOnKmnm3PeHjaoLLMie7kPLQw==} + + storybook@8.6.12: + resolution: {integrity: sha512-Z/nWYEHBTLK1ZBtAWdhxC0l5zf7ioJ7G4+zYqtTdYeb67gTnxNj80gehf8o8QY9L2zA2+eyMRGLC2V5fI7Z3Tw==} + hasBin: true + peerDependencies: + prettier: ^2 || ^3 + peerDependenciesMeta: + prettier: + optional: true + + string-width@4.2.3: + resolution: {integrity: sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==} + engines: {node: '>=8'} + + string-width@5.1.2: + resolution: {integrity: sha512-HnLOCR3vjcY8beoNLtcjZ5/nxn2afmME6lhrDrebokqMap+XbeW8n9TXpPDOqdGK5qcI3oT0GKTW6wC7EMiVqA==} + engines: {node: '>=12'} + + strip-ansi@6.0.1: + resolution: {integrity: sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==} + engines: {node: '>=8'} + + strip-ansi@7.1.0: + resolution: {integrity: sha512-iq6eVVI64nQQTRYq2KtEg2d2uU7LElhTJwsH4YzIHZshxlgZms/wIc4VoDQTlG/IvVIrBKG06CrZnp0qv7hkcQ==} + engines: {node: '>=12'} + + strip-bom@3.0.0: + resolution: {integrity: sha512-vavAMRXOgBVNF6nyEEmL3DBK19iRpDcoIwW+swQ+CbGiu7lju6t+JklA1MHweoWtadgt4ISVUsXLyDq34ddcwA==} + engines: {node: '>=4'} + + strip-indent@3.0.0: + resolution: {integrity: sha512-laJTa3Jb+VQpaC6DseHhF7dXVqHTfJPCRDaEbid/drOhgitgYku/letMUqOXFoWV0zIIUbjpdH2t+tYj4bQMRQ==} + engines: {node: '>=8'} + + strip-indent@4.0.0: + resolution: {integrity: sha512-mnVSV2l+Zv6BLpSD/8V87CW/y9EmmbYzGCIavsnsI6/nwn26DwffM/yztm30Z/I2DY9wdS3vXVCMnHDgZaVNoA==} + engines: {node: '>=12'} + + supports-color@7.2.0: + resolution: {integrity: sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==} + engines: {node: '>=8'} + + supports-preserve-symlinks-flag@1.0.0: + resolution: {integrity: sha512-ot0WnXS9fgdkgIcePe6RHNk1WA8+muPa6cSjeR3V8K27q9BB1rTE3R1p7Hv0z1ZyAc8s6Vvv8DIyWf681MAt0w==} + engines: {node: '>= 0.4'} + + tailwindcss@4.1.4: + resolution: {integrity: sha512-1ZIUqtPITFbv/DxRmDr5/agPqJwF69d24m9qmM1939TJehgY539CtzeZRjbLt5G6fSy/7YqqYsfvoTEw9xUI2A==} + + tapable@2.2.1: + resolution: {integrity: sha512-GNzQvQTOIP6RyTfE2Qxb8ZVlNmw0n88vp1szwWRimP02mnTsx3Wtn5qRdqY9w2XduFNUgvOwhNnQsjwCp+kqaQ==} + engines: {node: '>=6'} + + test-exclude@7.0.1: + resolution: {integrity: sha512-pFYqmTw68LXVjeWJMST4+borgQP2AyMNbg1BpZh9LbyhUeNkeaPF9gzfPGUAnSMV3qPYdWUwDIjjCLiSDOl7vg==} + engines: {node: '>=18'} + + tiny-invariant@1.3.3: + resolution: {integrity: sha512-+FbBPE1o9QAYvviau/qC5SE3caw21q3xkvWKBtja5vgqOWIHHJ3ioaq1VPfn/Szqctz2bU/oYeKd9/z5BL+PVg==} + + tinybench@2.9.0: + resolution: {integrity: sha512-0+DUvqWMValLmha6lr4kD8iAMK1HzV0/aKnCtWb9v9641TnP/MFb7Pc2bxoxQjTXAErryXVgUOfv2YqNllqGeg==} + + tinyexec@0.3.2: + resolution: {integrity: sha512-KQQR9yN7R5+OSwaK0XQoj22pwHoTlgYqmUscPYoknOoWCWfj/5/ABTMRi69FrKU5ffPVh5QcFikpWJI/P1ocHA==} + + tinyglobby@0.2.13: + resolution: {integrity: sha512-mEwzpUgrLySlveBwEVDMKk5B57bhLPYovRfPAXD5gA/98Opn0rCDj3GtLwFvCvH5RK9uPCExUROW5NjDwvqkxw==} + engines: {node: '>=12.0.0'} + + tinypool@1.0.2: + resolution: {integrity: sha512-al6n+QEANGFOMf/dmUMsuS5/r9B06uwlyNjZZql/zv8J7ybHCgoihBNORZCY2mzUuAnomQa2JdhyHKzZxPCrFA==} + engines: {node: ^18.0.0 || >=20.0.0} + + tinyrainbow@1.2.0: + resolution: {integrity: sha512-weEDEq7Z5eTHPDh4xjX789+fHfF+P8boiFB+0vbWzpbnbsEr/GRaohi/uMKxg8RZMXnl1ItAi/IUHWMsjDV7kQ==} + engines: {node: '>=14.0.0'} + + tinyrainbow@2.0.0: + resolution: {integrity: sha512-op4nsTR47R6p0vMUUoYl/a+ljLFVtlfaXkLQmqfLR1qHma1h/ysYk4hEXZ880bf2CYgTskvTa/e196Vd5dDQXw==} + engines: {node: '>=14.0.0'} + + tinyspy@3.0.2: + resolution: {integrity: sha512-n1cw8k1k0x4pgA2+9XrOkFydTerNcJ1zWCO5Nn9scWHTD+5tp8dghT2x1uduQePZTZgd3Tupf+x9BxJjeJi77Q==} + engines: {node: '>=14.0.0'} + + totalist@3.0.1: + resolution: {integrity: sha512-sf4i37nQ2LBx4m3wB74y+ubopq6W/dIzXg0FDGjsYnZHVa1Da8FH853wlL2gtUhg+xJXjfk3kUZS3BRoQeoQBQ==} + engines: {node: '>=6'} + + ts-dedent@2.2.0: + resolution: {integrity: sha512-q5W7tVM71e2xjHZTlgfTDoPF/SmqKG5hddq9SzR49CH2hayqRKJtQ4mtRlSxKaJlR/+9rEM+mnBHf7I2/BQcpQ==} + engines: {node: '>=6.10'} + + tsconfig-paths@4.2.0: + resolution: {integrity: sha512-NoZ4roiN7LnbKn9QqE1amc9DJfzvZXxF4xDavcOWt1BPkdx+m+0gJuPM+S0vCe7zTJMYUP0R8pO2XMr+Y8oLIg==} + engines: {node: '>=6'} + + tslib@2.8.1: + resolution: {integrity: sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w==} + + tween-functions@1.2.0: + resolution: {integrity: sha512-PZBtLYcCLtEcjL14Fzb1gSxPBeL7nWvGhO5ZFPGqziCcr8uvHp0NDmdjBchp6KHL+tExcg0m3NISmKxhU394dA==} + + typescript@5.8.3: + resolution: {integrity: sha512-p1diW6TqL9L07nNxvRMM7hMMw4c5XOo/1ibL4aAIGmSAt9slTE1Xgw5KWuof2uTOvCg9BY7ZRi+GaF+7sfgPeQ==} + engines: {node: '>=14.17'} + hasBin: true + + universalify@2.0.1: + resolution: {integrity: sha512-gptHNQghINnc/vTGIk0SOFGFNXw7JVrlRUtConJRlvaw6DuX0wO5Jeko9sWrMBhh+PsYAZ7oXAiOnf/UKogyiw==} + engines: {node: '>= 10.0.0'} + + unplugin@1.16.1: + resolution: {integrity: sha512-4/u/j4FrCKdi17jaxuJA0jClGxB1AvU2hw/IuayPc4ay1XGaJs/rbb4v5WKwAjNifjmXK9PIFyuPiaK8azyR9w==} + engines: {node: '>=14.0.0'} + + update-browserslist-db@1.1.3: + resolution: {integrity: sha512-UxhIZQ+QInVdunkDAaiazvvT/+fXL5Osr0JZlJulepYu6Jd7qJtDZjlur0emRlT71EN3ScPoE7gvsuIKKNavKw==} + hasBin: true + peerDependencies: + browserslist: '>= 4.21.0' + + util@0.12.5: + resolution: {integrity: sha512-kZf/K6hEIrWHI6XqOFUiiMa+79wE/D8Q+NCNAWclkyg3b4d2k7s0QGepNjiABc+aR3N1PAyHL7p6UcLY6LmrnA==} + + uuid@9.0.1: + resolution: {integrity: sha512-b+1eJOlsR9K8HJpow9Ok3fiWOWSIcIzXodvv0rQjVoOVNpWMpxf1wZNpt4y9h10odCNrqnYp1OBzRktckBe3sA==} + hasBin: true + + vite-node@3.1.2: + resolution: {integrity: sha512-/8iMryv46J3aK13iUXsei5G/A3CUlW4665THCPS+K8xAaqrVWiGB4RfXMQXCLjpK9P2eK//BczrVkn5JLAk6DA==} + engines: {node: ^18.0.0 || ^20.0.0 || >=22.0.0} + hasBin: true + + vite@6.3.3: + resolution: {integrity: sha512-5nXH+QsELbFKhsEfWLkHrvgRpTdGJzqOZ+utSdmPTvwHmvU6ITTm3xx+mRusihkcI8GeC7lCDyn3kDtiki9scw==} + engines: {node: ^18.0.0 || ^20.0.0 || >=22.0.0} + hasBin: true + peerDependencies: + '@types/node': ^18.0.0 || ^20.0.0 || >=22.0.0 + jiti: '>=1.21.0' + less: '*' + lightningcss: ^1.21.0 + sass: '*' + sass-embedded: '*' + stylus: '*' + sugarss: '*' + terser: ^5.16.0 + tsx: ^4.8.1 + yaml: ^2.4.2 + peerDependenciesMeta: + '@types/node': + optional: true + jiti: + optional: true + less: + optional: true + lightningcss: + optional: true + sass: + optional: true + sass-embedded: + optional: true + stylus: + optional: true + sugarss: + optional: true + terser: + optional: true + tsx: + optional: true + yaml: + optional: true + + vitest@3.1.2: + resolution: {integrity: sha512-WaxpJe092ID1C0mr+LH9MmNrhfzi8I65EX/NRU/Ld016KqQNRgxSOlGNP1hHN+a/F8L15Mh8klwaF77zR3GeDQ==} + engines: {node: ^18.0.0 || ^20.0.0 || >=22.0.0} + hasBin: true + peerDependencies: + '@edge-runtime/vm': '*' + '@types/debug': ^4.1.12 + '@types/node': ^18.0.0 || ^20.0.0 || >=22.0.0 + '@vitest/browser': 3.1.2 + '@vitest/ui': 3.1.2 + happy-dom: '*' + jsdom: '*' + peerDependenciesMeta: + '@edge-runtime/vm': + optional: true + '@types/debug': + optional: true + '@types/node': + optional: true + '@vitest/browser': + optional: true + '@vitest/ui': + optional: true + happy-dom: + optional: true + jsdom: + optional: true + + webpack-virtual-modules@0.6.2: + resolution: {integrity: sha512-66/V2i5hQanC51vBQKPH4aI8NMAcBW59FVBs+rC7eGHupMyfn34q7rZIE+ETlJ+XTevqfUhVVBgSUNSW2flEUQ==} + + which-typed-array@1.1.19: + resolution: {integrity: sha512-rEvr90Bck4WZt9HHFC4DJMsjvu7x+r6bImz0/BrbWb7A2djJ8hnZMrWnHo9F8ssv0OMErasDhftrfROTyqSDrw==} + engines: {node: '>= 0.4'} + + which@2.0.2: + resolution: {integrity: sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA==} + engines: {node: '>= 8'} + hasBin: true + + why-is-node-running@2.3.0: + resolution: {integrity: sha512-hUrmaWBdVDcxvYqnyh09zunKzROWjbZTiNy8dBEjkS7ehEDQibXJ7XvlmtbwuTclUiIyN+CyXQD4Vmko8fNm8w==} + engines: {node: '>=8'} + hasBin: true + + wrap-ansi@7.0.0: + resolution: {integrity: sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==} + engines: {node: '>=10'} + + wrap-ansi@8.1.0: + resolution: {integrity: sha512-si7QWI6zUMq56bESFvagtmzMdGOtoxfR+Sez11Mobfc7tm+VkUckk9bW2UeffTGVUbOksxmSw0AA2gs8g71NCQ==} + engines: {node: '>=12'} + + ws@8.18.1: + resolution: {integrity: sha512-RKW2aJZMXeMxVpnZ6bck+RswznaxmzdULiBr6KY7XkTnW8uvt0iT9H5DkHUChXrc+uurzwa0rVI16n/Xzjdz1w==} + engines: {node: '>=10.0.0'} + peerDependencies: + bufferutil: ^4.0.1 + utf-8-validate: '>=5.0.2' + peerDependenciesMeta: + bufferutil: + optional: true + utf-8-validate: + optional: true + + yallist@3.1.1: + resolution: {integrity: sha512-a4UGQaWPH59mOXUYnAG2ewncQS4i4F43Tv3JoAM+s2VDAmS9NsK8GpDMLrCHPksFT7h3K6TOoUNn2pb7RoXx4g==} + + yocto-queue@0.1.0: + resolution: {integrity: sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q==} + engines: {node: '>=10'} + +snapshots: + + '@adobe/css-tools@4.4.2': {} + + '@alloc/quick-lru@5.2.0': {} + + '@ampproject/remapping@2.3.0': + dependencies: + '@jridgewell/gen-mapping': 0.3.8 + '@jridgewell/trace-mapping': 0.3.25 + + '@babel/code-frame@7.26.2': + dependencies: + '@babel/helper-validator-identifier': 7.25.9 + js-tokens: 4.0.0 + picocolors: 1.1.1 + + '@babel/compat-data@7.26.8': {} + + '@babel/core@7.26.10': + dependencies: + '@ampproject/remapping': 2.3.0 + '@babel/code-frame': 7.26.2 + '@babel/generator': 7.27.0 + '@babel/helper-compilation-targets': 7.27.0 + '@babel/helper-module-transforms': 7.26.0(@babel/core@7.26.10) + '@babel/helpers': 7.27.0 + '@babel/parser': 7.27.0 + '@babel/template': 7.27.0 + '@babel/traverse': 7.27.0 + '@babel/types': 7.27.0 + convert-source-map: 2.0.0 + debug: 4.4.0 + gensync: 1.0.0-beta.2 + json5: 2.2.3 + semver: 6.3.1 + transitivePeerDependencies: + - supports-color + + '@babel/generator@7.27.0': + dependencies: + '@babel/parser': 7.27.0 + '@babel/types': 7.27.0 + '@jridgewell/gen-mapping': 0.3.8 + '@jridgewell/trace-mapping': 0.3.25 + jsesc: 3.1.0 + + '@babel/helper-compilation-targets@7.27.0': + dependencies: + '@babel/compat-data': 7.26.8 + '@babel/helper-validator-option': 7.25.9 + browserslist: 4.24.4 + lru-cache: 5.1.1 + semver: 6.3.1 + + '@babel/helper-module-imports@7.25.9': + dependencies: + '@babel/traverse': 7.27.0 + '@babel/types': 7.27.0 + transitivePeerDependencies: + - supports-color + + '@babel/helper-module-transforms@7.26.0(@babel/core@7.26.10)': + dependencies: + '@babel/core': 7.26.10 + '@babel/helper-module-imports': 7.25.9 + '@babel/helper-validator-identifier': 7.25.9 + '@babel/traverse': 7.27.0 + transitivePeerDependencies: + - supports-color + + '@babel/helper-string-parser@7.25.9': {} + + '@babel/helper-validator-identifier@7.25.9': {} + + '@babel/helper-validator-option@7.25.9': {} + + '@babel/helpers@7.27.0': + dependencies: + '@babel/template': 7.27.0 + '@babel/types': 7.27.0 + + '@babel/parser@7.27.0': + dependencies: + '@babel/types': 7.27.0 + + '@babel/runtime@7.27.0': + dependencies: + regenerator-runtime: 0.14.1 + + '@babel/template@7.27.0': + dependencies: + '@babel/code-frame': 7.26.2 + '@babel/parser': 7.27.0 + '@babel/types': 7.27.0 + + '@babel/traverse@7.27.0': + dependencies: + '@babel/code-frame': 7.26.2 + '@babel/generator': 7.27.0 + '@babel/parser': 7.27.0 + '@babel/template': 7.27.0 + '@babel/types': 7.27.0 + debug: 4.4.0 + globals: 11.12.0 + transitivePeerDependencies: + - supports-color + + '@babel/types@7.27.0': + dependencies: + '@babel/helper-string-parser': 7.25.9 + '@babel/helper-validator-identifier': 7.25.9 + + '@bcoe/v8-coverage@1.0.2': {} + + '@chromatic-com/storybook@3.2.6(react@19.1.0)(storybook@8.6.12)': + dependencies: + chromatic: 11.28.2 + filesize: 10.1.6 + jsonfile: 6.1.0 + react-confetti: 6.4.0(react@19.1.0) + storybook: 8.6.12 + strip-ansi: 7.1.0 + transitivePeerDependencies: + - '@chromatic-com/cypress' + - '@chromatic-com/playwright' + - react + + '@esbuild/aix-ppc64@0.25.3': + optional: true + + '@esbuild/android-arm64@0.25.3': + optional: true + + '@esbuild/android-arm@0.25.3': + optional: true + + '@esbuild/android-x64@0.25.3': + optional: true + + '@esbuild/darwin-arm64@0.25.3': + optional: true + + '@esbuild/darwin-x64@0.25.3': + optional: true + + '@esbuild/freebsd-arm64@0.25.3': + optional: true + + '@esbuild/freebsd-x64@0.25.3': + optional: true + + '@esbuild/linux-arm64@0.25.3': + optional: true + + '@esbuild/linux-arm@0.25.3': + optional: true + + '@esbuild/linux-ia32@0.25.3': + optional: true + + '@esbuild/linux-loong64@0.25.3': + optional: true + + '@esbuild/linux-mips64el@0.25.3': + optional: true + + '@esbuild/linux-ppc64@0.25.3': + optional: true + + '@esbuild/linux-riscv64@0.25.3': + optional: true + + '@esbuild/linux-s390x@0.25.3': + optional: true + + '@esbuild/linux-x64@0.25.3': + optional: true + + '@esbuild/netbsd-arm64@0.25.3': + optional: true + + '@esbuild/netbsd-x64@0.25.3': + optional: true + + '@esbuild/openbsd-arm64@0.25.3': + optional: true + + '@esbuild/openbsd-x64@0.25.3': + optional: true + + '@esbuild/sunos-x64@0.25.3': + optional: true + + '@esbuild/win32-arm64@0.25.3': + optional: true + + '@esbuild/win32-ia32@0.25.3': + optional: true + + '@esbuild/win32-x64@0.25.3': + optional: true + + '@isaacs/cliui@8.0.2': + dependencies: + string-width: 5.1.2 + string-width-cjs: string-width@4.2.3 + strip-ansi: 7.1.0 + strip-ansi-cjs: strip-ansi@6.0.1 + wrap-ansi: 8.1.0 + wrap-ansi-cjs: wrap-ansi@7.0.0 + + '@istanbuljs/schema@0.1.3': {} + + '@joshwooding/vite-plugin-react-docgen-typescript@0.5.0(typescript@5.8.3)(vite@6.3.3(jiti@2.4.2)(lightningcss@1.29.2))': + dependencies: + glob: 10.4.5 + magic-string: 0.27.0 + react-docgen-typescript: 2.2.2(typescript@5.8.3) + vite: 6.3.3(jiti@2.4.2)(lightningcss@1.29.2) + optionalDependencies: + typescript: 5.8.3 + + '@jridgewell/gen-mapping@0.3.8': + dependencies: + '@jridgewell/set-array': 1.2.1 + '@jridgewell/sourcemap-codec': 1.5.0 + '@jridgewell/trace-mapping': 0.3.25 + + '@jridgewell/resolve-uri@3.1.2': {} + + '@jridgewell/set-array@1.2.1': {} + + '@jridgewell/sourcemap-codec@1.5.0': {} + + '@jridgewell/trace-mapping@0.3.25': + dependencies: + '@jridgewell/resolve-uri': 3.1.2 + '@jridgewell/sourcemap-codec': 1.5.0 + + '@kevisual/types@0.0.9': {} + + '@mdx-js/react@3.1.0(@types/react@19.1.2)(react@19.1.0)': + dependencies: + '@types/mdx': 2.0.13 + '@types/react': 19.1.2 + react: 19.1.0 + + '@pkgjs/parseargs@0.11.0': + optional: true + + '@polka/url@1.0.0-next.29': {} + + '@rollup/pluginutils@5.1.4(rollup@4.40.1)': + dependencies: + '@types/estree': 1.0.7 + estree-walker: 2.0.2 + picomatch: 4.0.2 + optionalDependencies: + rollup: 4.40.1 + + '@rollup/rollup-android-arm-eabi@4.40.1': + optional: true + + '@rollup/rollup-android-arm64@4.40.1': + optional: true + + '@rollup/rollup-darwin-arm64@4.40.1': + optional: true + + '@rollup/rollup-darwin-x64@4.40.1': + optional: true + + '@rollup/rollup-freebsd-arm64@4.40.1': + optional: true + + '@rollup/rollup-freebsd-x64@4.40.1': + optional: true + + '@rollup/rollup-linux-arm-gnueabihf@4.40.1': + optional: true + + '@rollup/rollup-linux-arm-musleabihf@4.40.1': + optional: true + + '@rollup/rollup-linux-arm64-gnu@4.40.1': + optional: true + + '@rollup/rollup-linux-arm64-musl@4.40.1': + optional: true + + '@rollup/rollup-linux-loongarch64-gnu@4.40.1': + optional: true + + '@rollup/rollup-linux-powerpc64le-gnu@4.40.1': + optional: true + + '@rollup/rollup-linux-riscv64-gnu@4.40.1': + optional: true + + '@rollup/rollup-linux-riscv64-musl@4.40.1': + optional: true + + '@rollup/rollup-linux-s390x-gnu@4.40.1': + optional: true + + '@rollup/rollup-linux-x64-gnu@4.40.1': + optional: true + + '@rollup/rollup-linux-x64-musl@4.40.1': + optional: true + + '@rollup/rollup-win32-arm64-msvc@4.40.1': + optional: true + + '@rollup/rollup-win32-ia32-msvc@4.40.1': + optional: true + + '@rollup/rollup-win32-x64-msvc@4.40.1': + optional: true + + '@storybook/addon-actions@8.6.12(storybook@8.6.12)': + dependencies: + '@storybook/global': 5.0.0 + '@types/uuid': 9.0.8 + dequal: 2.0.3 + polished: 4.3.1 + storybook: 8.6.12 + uuid: 9.0.1 + + '@storybook/addon-backgrounds@8.6.12(storybook@8.6.12)': + dependencies: + '@storybook/global': 5.0.0 + memoizerific: 1.11.3 + storybook: 8.6.12 + ts-dedent: 2.2.0 + + '@storybook/addon-controls@8.6.12(storybook@8.6.12)': + dependencies: + '@storybook/global': 5.0.0 + dequal: 2.0.3 + storybook: 8.6.12 + ts-dedent: 2.2.0 + + '@storybook/addon-docs@8.6.12(@types/react@19.1.2)(storybook@8.6.12)': + dependencies: + '@mdx-js/react': 3.1.0(@types/react@19.1.2)(react@19.1.0) + '@storybook/blocks': 8.6.12(react-dom@19.1.0(react@19.1.0))(react@19.1.0)(storybook@8.6.12) + '@storybook/csf-plugin': 8.6.12(storybook@8.6.12) + '@storybook/react-dom-shim': 8.6.12(react-dom@19.1.0(react@19.1.0))(react@19.1.0)(storybook@8.6.12) + react: 19.1.0 + react-dom: 19.1.0(react@19.1.0) + storybook: 8.6.12 + ts-dedent: 2.2.0 + transitivePeerDependencies: + - '@types/react' + + '@storybook/addon-essentials@8.6.12(@types/react@19.1.2)(storybook@8.6.12)': + dependencies: + '@storybook/addon-actions': 8.6.12(storybook@8.6.12) + '@storybook/addon-backgrounds': 8.6.12(storybook@8.6.12) + '@storybook/addon-controls': 8.6.12(storybook@8.6.12) + '@storybook/addon-docs': 8.6.12(@types/react@19.1.2)(storybook@8.6.12) + '@storybook/addon-highlight': 8.6.12(storybook@8.6.12) + '@storybook/addon-measure': 8.6.12(storybook@8.6.12) + '@storybook/addon-outline': 8.6.12(storybook@8.6.12) + '@storybook/addon-toolbars': 8.6.12(storybook@8.6.12) + '@storybook/addon-viewport': 8.6.12(storybook@8.6.12) + storybook: 8.6.12 + ts-dedent: 2.2.0 + transitivePeerDependencies: + - '@types/react' + + '@storybook/addon-highlight@8.6.12(storybook@8.6.12)': + dependencies: + '@storybook/global': 5.0.0 + storybook: 8.6.12 + + '@storybook/addon-measure@8.6.12(storybook@8.6.12)': + dependencies: + '@storybook/global': 5.0.0 + storybook: 8.6.12 + tiny-invariant: 1.3.3 + + '@storybook/addon-onboarding@8.6.12(storybook@8.6.12)': + dependencies: + storybook: 8.6.12 + + '@storybook/addon-outline@8.6.12(storybook@8.6.12)': + dependencies: + '@storybook/global': 5.0.0 + storybook: 8.6.12 + ts-dedent: 2.2.0 + + '@storybook/addon-toolbars@8.6.12(storybook@8.6.12)': + dependencies: + storybook: 8.6.12 + + '@storybook/addon-viewport@8.6.12(storybook@8.6.12)': + dependencies: + memoizerific: 1.11.3 + storybook: 8.6.12 + + '@storybook/blocks@8.6.12(react-dom@19.1.0(react@19.1.0))(react@19.1.0)(storybook@8.6.12)': + dependencies: + '@storybook/icons': 1.4.0(react-dom@19.1.0(react@19.1.0))(react@19.1.0) + storybook: 8.6.12 + ts-dedent: 2.2.0 + optionalDependencies: + react: 19.1.0 + react-dom: 19.1.0(react@19.1.0) + + '@storybook/builder-vite@8.6.12(storybook@8.6.12)(vite@6.3.3(jiti@2.4.2)(lightningcss@1.29.2))': + dependencies: + '@storybook/csf-plugin': 8.6.12(storybook@8.6.12) + browser-assert: 1.2.1 + storybook: 8.6.12 + ts-dedent: 2.2.0 + vite: 6.3.3(jiti@2.4.2)(lightningcss@1.29.2) + + '@storybook/components@8.6.12(storybook@8.6.12)': + dependencies: + storybook: 8.6.12 + + '@storybook/core@8.6.12(storybook@8.6.12)': + dependencies: + '@storybook/theming': 8.6.12(storybook@8.6.12) + better-opn: 3.0.2 + browser-assert: 1.2.1 + esbuild: 0.25.3 + esbuild-register: 3.6.0(esbuild@0.25.3) + jsdoc-type-pratt-parser: 4.1.0 + process: 0.11.10 + recast: 0.23.11 + semver: 7.7.1 + util: 0.12.5 + ws: 8.18.1 + transitivePeerDependencies: + - bufferutil + - storybook + - supports-color + - utf-8-validate + + '@storybook/csf-plugin@8.6.12(storybook@8.6.12)': + dependencies: + storybook: 8.6.12 + unplugin: 1.16.1 + + '@storybook/experimental-addon-test@8.6.12(@vitest/browser@3.1.2)(@vitest/runner@3.1.2)(react-dom@19.1.0(react@19.1.0))(react@19.1.0)(storybook@8.6.12)(vitest@3.1.2)': + dependencies: + '@storybook/global': 5.0.0 + '@storybook/icons': 1.4.0(react-dom@19.1.0(react@19.1.0))(react@19.1.0) + '@storybook/instrumenter': 8.6.12(storybook@8.6.12) + '@storybook/test': 8.6.12(storybook@8.6.12) + polished: 4.3.1 + prompts: 2.4.2 + storybook: 8.6.12 + ts-dedent: 2.2.0 + optionalDependencies: + '@vitest/browser': 3.1.2(playwright@1.52.0)(vite@6.3.3(jiti@2.4.2)(lightningcss@1.29.2))(vitest@3.1.2) + '@vitest/runner': 3.1.2 + vitest: 3.1.2(@vitest/browser@3.1.2)(jiti@2.4.2)(lightningcss@1.29.2) + transitivePeerDependencies: + - react + - react-dom + + '@storybook/global@5.0.0': {} + + '@storybook/icons@1.4.0(react-dom@19.1.0(react@19.1.0))(react@19.1.0)': + dependencies: + react: 19.1.0 + react-dom: 19.1.0(react@19.1.0) + + '@storybook/instrumenter@8.6.12(storybook@8.6.12)': + dependencies: + '@storybook/global': 5.0.0 + '@vitest/utils': 2.1.9 + storybook: 8.6.12 + + '@storybook/manager-api@8.6.12(storybook@8.6.12)': + dependencies: + storybook: 8.6.12 + + '@storybook/preview-api@8.6.12(storybook@8.6.12)': + dependencies: + storybook: 8.6.12 + + '@storybook/react-dom-shim@8.6.12(react-dom@19.1.0(react@19.1.0))(react@19.1.0)(storybook@8.6.12)': + dependencies: + react: 19.1.0 + react-dom: 19.1.0(react@19.1.0) + storybook: 8.6.12 + + '@storybook/react-vite@8.6.12(@storybook/test@8.6.12(storybook@8.6.12))(react-dom@19.1.0(react@19.1.0))(react@19.1.0)(rollup@4.40.1)(storybook@8.6.12)(typescript@5.8.3)(vite@6.3.3(jiti@2.4.2)(lightningcss@1.29.2))': + dependencies: + '@joshwooding/vite-plugin-react-docgen-typescript': 0.5.0(typescript@5.8.3)(vite@6.3.3(jiti@2.4.2)(lightningcss@1.29.2)) + '@rollup/pluginutils': 5.1.4(rollup@4.40.1) + '@storybook/builder-vite': 8.6.12(storybook@8.6.12)(vite@6.3.3(jiti@2.4.2)(lightningcss@1.29.2)) + '@storybook/react': 8.6.12(@storybook/test@8.6.12(storybook@8.6.12))(react-dom@19.1.0(react@19.1.0))(react@19.1.0)(storybook@8.6.12)(typescript@5.8.3) + find-up: 5.0.0 + magic-string: 0.30.17 + react: 19.1.0 + react-docgen: 7.1.1 + react-dom: 19.1.0(react@19.1.0) + resolve: 1.22.10 + storybook: 8.6.12 + tsconfig-paths: 4.2.0 + vite: 6.3.3(jiti@2.4.2)(lightningcss@1.29.2) + optionalDependencies: + '@storybook/test': 8.6.12(storybook@8.6.12) + transitivePeerDependencies: + - rollup + - supports-color + - typescript + + '@storybook/react@8.6.12(@storybook/test@8.6.12(storybook@8.6.12))(react-dom@19.1.0(react@19.1.0))(react@19.1.0)(storybook@8.6.12)(typescript@5.8.3)': + dependencies: + '@storybook/components': 8.6.12(storybook@8.6.12) + '@storybook/global': 5.0.0 + '@storybook/manager-api': 8.6.12(storybook@8.6.12) + '@storybook/preview-api': 8.6.12(storybook@8.6.12) + '@storybook/react-dom-shim': 8.6.12(react-dom@19.1.0(react@19.1.0))(react@19.1.0)(storybook@8.6.12) + '@storybook/theming': 8.6.12(storybook@8.6.12) + react: 19.1.0 + react-dom: 19.1.0(react@19.1.0) + storybook: 8.6.12 + optionalDependencies: + '@storybook/test': 8.6.12(storybook@8.6.12) + typescript: 5.8.3 + + '@storybook/test@8.6.12(storybook@8.6.12)': + dependencies: + '@storybook/global': 5.0.0 + '@storybook/instrumenter': 8.6.12(storybook@8.6.12) + '@testing-library/dom': 10.4.0 + '@testing-library/jest-dom': 6.5.0 + '@testing-library/user-event': 14.5.2(@testing-library/dom@10.4.0) + '@vitest/expect': 2.0.5 + '@vitest/spy': 2.0.5 + storybook: 8.6.12 + + '@storybook/theming@8.6.12(storybook@8.6.12)': + dependencies: + storybook: 8.6.12 + + '@tailwindcss/node@4.1.4': + dependencies: + enhanced-resolve: 5.18.1 + jiti: 2.4.2 + lightningcss: 1.29.2 + tailwindcss: 4.1.4 + + '@tailwindcss/oxide-android-arm64@4.1.4': + optional: true + + '@tailwindcss/oxide-darwin-arm64@4.1.4': + optional: true + + '@tailwindcss/oxide-darwin-x64@4.1.4': + optional: true + + '@tailwindcss/oxide-freebsd-x64@4.1.4': + optional: true + + '@tailwindcss/oxide-linux-arm-gnueabihf@4.1.4': + optional: true + + '@tailwindcss/oxide-linux-arm64-gnu@4.1.4': + optional: true + + '@tailwindcss/oxide-linux-arm64-musl@4.1.4': + optional: true + + '@tailwindcss/oxide-linux-x64-gnu@4.1.4': + optional: true + + '@tailwindcss/oxide-linux-x64-musl@4.1.4': + optional: true + + '@tailwindcss/oxide-wasm32-wasi@4.1.4': + optional: true + + '@tailwindcss/oxide-win32-arm64-msvc@4.1.4': + optional: true + + '@tailwindcss/oxide-win32-x64-msvc@4.1.4': + optional: true + + '@tailwindcss/oxide@4.1.4': + optionalDependencies: + '@tailwindcss/oxide-android-arm64': 4.1.4 + '@tailwindcss/oxide-darwin-arm64': 4.1.4 + '@tailwindcss/oxide-darwin-x64': 4.1.4 + '@tailwindcss/oxide-freebsd-x64': 4.1.4 + '@tailwindcss/oxide-linux-arm-gnueabihf': 4.1.4 + '@tailwindcss/oxide-linux-arm64-gnu': 4.1.4 + '@tailwindcss/oxide-linux-arm64-musl': 4.1.4 + '@tailwindcss/oxide-linux-x64-gnu': 4.1.4 + '@tailwindcss/oxide-linux-x64-musl': 4.1.4 + '@tailwindcss/oxide-wasm32-wasi': 4.1.4 + '@tailwindcss/oxide-win32-arm64-msvc': 4.1.4 + '@tailwindcss/oxide-win32-x64-msvc': 4.1.4 + + '@tailwindcss/postcss@4.1.4': + dependencies: + '@alloc/quick-lru': 5.2.0 + '@tailwindcss/node': 4.1.4 + '@tailwindcss/oxide': 4.1.4 + postcss: 8.5.3 + tailwindcss: 4.1.4 + + '@tailwindcss/vite@4.1.4(vite@6.3.3(jiti@2.4.2)(lightningcss@1.29.2))': + dependencies: + '@tailwindcss/node': 4.1.4 + '@tailwindcss/oxide': 4.1.4 + tailwindcss: 4.1.4 + vite: 6.3.3(jiti@2.4.2)(lightningcss@1.29.2) + + '@testing-library/dom@10.4.0': + dependencies: + '@babel/code-frame': 7.26.2 + '@babel/runtime': 7.27.0 + '@types/aria-query': 5.0.4 + aria-query: 5.3.0 + chalk: 4.1.2 + dom-accessibility-api: 0.5.16 + lz-string: 1.5.0 + pretty-format: 27.5.1 + + '@testing-library/jest-dom@6.5.0': + dependencies: + '@adobe/css-tools': 4.4.2 + aria-query: 5.3.2 + chalk: 3.0.0 + css.escape: 1.5.1 + dom-accessibility-api: 0.6.3 + lodash: 4.17.21 + redent: 3.0.0 + + '@testing-library/user-event@14.5.2(@testing-library/dom@10.4.0)': + dependencies: + '@testing-library/dom': 10.4.0 + + '@testing-library/user-event@14.6.1(@testing-library/dom@10.4.0)': + dependencies: + '@testing-library/dom': 10.4.0 + + '@types/aria-query@5.0.4': {} + + '@types/babel__core@7.20.5': + dependencies: + '@babel/parser': 7.27.0 + '@babel/types': 7.27.0 + '@types/babel__generator': 7.27.0 + '@types/babel__template': 7.4.4 + '@types/babel__traverse': 7.20.7 + + '@types/babel__generator@7.27.0': + dependencies: + '@babel/types': 7.27.0 + + '@types/babel__template@7.4.4': + dependencies: + '@babel/parser': 7.27.0 + '@babel/types': 7.27.0 + + '@types/babel__traverse@7.20.7': + dependencies: + '@babel/types': 7.27.0 + + '@types/doctrine@0.0.9': {} + + '@types/estree@1.0.7': {} + + '@types/mdx@2.0.13': {} + + '@types/react-dom@19.1.2(@types/react@19.1.2)': + dependencies: + '@types/react': 19.1.2 + + '@types/react@19.1.2': + dependencies: + csstype: 3.1.3 + + '@types/resolve@1.20.6': {} + + '@types/uuid@9.0.8': {} + + '@vitest/browser@3.1.2(playwright@1.52.0)(vite@6.3.3(jiti@2.4.2)(lightningcss@1.29.2))(vitest@3.1.2)': + dependencies: + '@testing-library/dom': 10.4.0 + '@testing-library/user-event': 14.6.1(@testing-library/dom@10.4.0) + '@vitest/mocker': 3.1.2(vite@6.3.3(jiti@2.4.2)(lightningcss@1.29.2)) + '@vitest/utils': 3.1.2 + magic-string: 0.30.17 + sirv: 3.0.1 + tinyrainbow: 2.0.0 + vitest: 3.1.2(@vitest/browser@3.1.2)(jiti@2.4.2)(lightningcss@1.29.2) + ws: 8.18.1 + optionalDependencies: + playwright: 1.52.0 + transitivePeerDependencies: + - bufferutil + - msw + - utf-8-validate + - vite + + '@vitest/coverage-v8@3.1.2(@vitest/browser@3.1.2)(vitest@3.1.2)': + dependencies: + '@ampproject/remapping': 2.3.0 + '@bcoe/v8-coverage': 1.0.2 + debug: 4.4.0 + istanbul-lib-coverage: 3.2.2 + istanbul-lib-report: 3.0.1 + istanbul-lib-source-maps: 5.0.6 + istanbul-reports: 3.1.7 + magic-string: 0.30.17 + magicast: 0.3.5 + std-env: 3.9.0 + test-exclude: 7.0.1 + tinyrainbow: 2.0.0 + vitest: 3.1.2(@vitest/browser@3.1.2)(jiti@2.4.2)(lightningcss@1.29.2) + optionalDependencies: + '@vitest/browser': 3.1.2(playwright@1.52.0)(vite@6.3.3(jiti@2.4.2)(lightningcss@1.29.2))(vitest@3.1.2) + transitivePeerDependencies: + - supports-color + + '@vitest/expect@2.0.5': + dependencies: + '@vitest/spy': 2.0.5 + '@vitest/utils': 2.0.5 + chai: 5.2.0 + tinyrainbow: 1.2.0 + + '@vitest/expect@3.1.2': + dependencies: + '@vitest/spy': 3.1.2 + '@vitest/utils': 3.1.2 + chai: 5.2.0 + tinyrainbow: 2.0.0 + + '@vitest/mocker@3.1.2(vite@6.3.3(jiti@2.4.2)(lightningcss@1.29.2))': + dependencies: + '@vitest/spy': 3.1.2 + estree-walker: 3.0.3 + magic-string: 0.30.17 + optionalDependencies: + vite: 6.3.3(jiti@2.4.2)(lightningcss@1.29.2) + + '@vitest/pretty-format@2.0.5': + dependencies: + tinyrainbow: 1.2.0 + + '@vitest/pretty-format@2.1.9': + dependencies: + tinyrainbow: 1.2.0 + + '@vitest/pretty-format@3.1.2': + dependencies: + tinyrainbow: 2.0.0 + + '@vitest/runner@3.1.2': + dependencies: + '@vitest/utils': 3.1.2 + pathe: 2.0.3 + + '@vitest/snapshot@3.1.2': + dependencies: + '@vitest/pretty-format': 3.1.2 + magic-string: 0.30.17 + pathe: 2.0.3 + + '@vitest/spy@2.0.5': + dependencies: + tinyspy: 3.0.2 + + '@vitest/spy@3.1.2': + dependencies: + tinyspy: 3.0.2 + + '@vitest/utils@2.0.5': + dependencies: + '@vitest/pretty-format': 2.0.5 + estree-walker: 3.0.3 + loupe: 3.1.3 + tinyrainbow: 1.2.0 + + '@vitest/utils@2.1.9': + dependencies: + '@vitest/pretty-format': 2.1.9 + loupe: 3.1.3 + tinyrainbow: 1.2.0 + + '@vitest/utils@3.1.2': + dependencies: + '@vitest/pretty-format': 3.1.2 + loupe: 3.1.3 + tinyrainbow: 2.0.0 + + acorn@8.14.1: {} + + ansi-regex@5.0.1: {} + + ansi-regex@6.1.0: {} + + ansi-styles@4.3.0: + dependencies: + color-convert: 2.0.1 + + ansi-styles@5.2.0: {} + + ansi-styles@6.2.1: {} + + aria-query@5.3.0: + dependencies: + dequal: 2.0.3 + + aria-query@5.3.2: {} + + assertion-error@2.0.1: {} + + ast-types@0.16.1: + dependencies: + tslib: 2.8.1 + + available-typed-arrays@1.0.7: + dependencies: + possible-typed-array-names: 1.1.0 + + balanced-match@1.0.2: {} + + better-opn@3.0.2: + dependencies: + open: 8.4.2 + + brace-expansion@2.0.1: + dependencies: + balanced-match: 1.0.2 + + browser-assert@1.2.1: {} + + browserslist@4.24.4: + dependencies: + caniuse-lite: 1.0.30001715 + electron-to-chromium: 1.5.144 + node-releases: 2.0.19 + update-browserslist-db: 1.1.3(browserslist@4.24.4) + + cac@6.7.14: {} + + call-bind-apply-helpers@1.0.2: + dependencies: + es-errors: 1.3.0 + function-bind: 1.1.2 + + call-bind@1.0.8: + dependencies: + call-bind-apply-helpers: 1.0.2 + es-define-property: 1.0.1 + get-intrinsic: 1.3.0 + set-function-length: 1.2.2 + + call-bound@1.0.4: + dependencies: + call-bind-apply-helpers: 1.0.2 + get-intrinsic: 1.3.0 + + caniuse-lite@1.0.30001715: {} + + chai@5.2.0: + dependencies: + assertion-error: 2.0.1 + check-error: 2.1.1 + deep-eql: 5.0.2 + loupe: 3.1.3 + pathval: 2.0.0 + + chalk@3.0.0: + dependencies: + ansi-styles: 4.3.0 + supports-color: 7.2.0 + + chalk@4.1.2: + dependencies: + ansi-styles: 4.3.0 + supports-color: 7.2.0 + + check-error@2.1.1: {} + + chromatic@11.28.2: {} + + color-convert@2.0.1: + dependencies: + color-name: 1.1.4 + + color-name@1.1.4: {} + + convert-source-map@2.0.0: {} + + cross-spawn@7.0.6: + dependencies: + path-key: 3.1.1 + shebang-command: 2.0.0 + which: 2.0.2 + + css.escape@1.5.1: {} + + csstype@3.1.3: {} + + debug@4.4.0: + dependencies: + ms: 2.1.3 + + deep-eql@5.0.2: {} + + define-data-property@1.1.4: + dependencies: + es-define-property: 1.0.1 + es-errors: 1.3.0 + gopd: 1.2.0 + + define-lazy-prop@2.0.0: {} + + dequal@2.0.3: {} + + detect-libc@2.0.4: {} + + doctrine@3.0.0: + dependencies: + esutils: 2.0.3 + + dom-accessibility-api@0.5.16: {} + + dom-accessibility-api@0.6.3: {} + + dunder-proto@1.0.1: + dependencies: + call-bind-apply-helpers: 1.0.2 + es-errors: 1.3.0 + gopd: 1.2.0 + + eastasianwidth@0.2.0: {} + + electron-to-chromium@1.5.144: {} + + emoji-regex@8.0.0: {} + + emoji-regex@9.2.2: {} + + enhanced-resolve@5.18.1: + dependencies: + graceful-fs: 4.2.11 + tapable: 2.2.1 + + es-define-property@1.0.1: {} + + es-errors@1.3.0: {} + + es-module-lexer@1.7.0: {} + + es-object-atoms@1.1.1: + dependencies: + es-errors: 1.3.0 + + esbuild-register@3.6.0(esbuild@0.25.3): + dependencies: + debug: 4.4.0 + esbuild: 0.25.3 + transitivePeerDependencies: + - supports-color + + esbuild@0.25.3: + optionalDependencies: + '@esbuild/aix-ppc64': 0.25.3 + '@esbuild/android-arm': 0.25.3 + '@esbuild/android-arm64': 0.25.3 + '@esbuild/android-x64': 0.25.3 + '@esbuild/darwin-arm64': 0.25.3 + '@esbuild/darwin-x64': 0.25.3 + '@esbuild/freebsd-arm64': 0.25.3 + '@esbuild/freebsd-x64': 0.25.3 + '@esbuild/linux-arm': 0.25.3 + '@esbuild/linux-arm64': 0.25.3 + '@esbuild/linux-ia32': 0.25.3 + '@esbuild/linux-loong64': 0.25.3 + '@esbuild/linux-mips64el': 0.25.3 + '@esbuild/linux-ppc64': 0.25.3 + '@esbuild/linux-riscv64': 0.25.3 + '@esbuild/linux-s390x': 0.25.3 + '@esbuild/linux-x64': 0.25.3 + '@esbuild/netbsd-arm64': 0.25.3 + '@esbuild/netbsd-x64': 0.25.3 + '@esbuild/openbsd-arm64': 0.25.3 + '@esbuild/openbsd-x64': 0.25.3 + '@esbuild/sunos-x64': 0.25.3 + '@esbuild/win32-arm64': 0.25.3 + '@esbuild/win32-ia32': 0.25.3 + '@esbuild/win32-x64': 0.25.3 + + escalade@3.2.0: {} + + esprima@4.0.1: {} + + estree-walker@2.0.2: {} + + estree-walker@3.0.3: + dependencies: + '@types/estree': 1.0.7 + + esutils@2.0.3: {} + + expect-type@1.2.1: {} + + fdir@6.4.4(picomatch@4.0.2): + optionalDependencies: + picomatch: 4.0.2 + + filesize@10.1.6: {} + + find-up@5.0.0: + dependencies: + locate-path: 6.0.0 + path-exists: 4.0.0 + + for-each@0.3.5: + dependencies: + is-callable: 1.2.7 + + foreground-child@3.3.1: + dependencies: + cross-spawn: 7.0.6 + signal-exit: 4.1.0 + + fsevents@2.3.2: + optional: true + + fsevents@2.3.3: + optional: true + + function-bind@1.1.2: {} + + gensync@1.0.0-beta.2: {} + + get-intrinsic@1.3.0: + dependencies: + call-bind-apply-helpers: 1.0.2 + es-define-property: 1.0.1 + es-errors: 1.3.0 + es-object-atoms: 1.1.1 + function-bind: 1.1.2 + get-proto: 1.0.1 + gopd: 1.2.0 + has-symbols: 1.1.0 + hasown: 2.0.2 + math-intrinsics: 1.1.0 + + get-proto@1.0.1: + dependencies: + dunder-proto: 1.0.1 + es-object-atoms: 1.1.1 + + glob@10.4.5: + dependencies: + foreground-child: 3.3.1 + jackspeak: 3.4.3 + minimatch: 9.0.5 + minipass: 7.1.2 + package-json-from-dist: 1.0.1 + path-scurry: 1.11.1 + + globals@11.12.0: {} + + gopd@1.2.0: {} + + graceful-fs@4.2.11: {} + + has-flag@4.0.0: {} + + has-property-descriptors@1.0.2: + dependencies: + es-define-property: 1.0.1 + + has-symbols@1.1.0: {} + + has-tostringtag@1.0.2: + dependencies: + has-symbols: 1.1.0 + + hasown@2.0.2: + dependencies: + function-bind: 1.1.2 + + html-escaper@2.0.2: {} + + indent-string@4.0.0: {} + + inherits@2.0.4: {} + + is-arguments@1.2.0: + dependencies: + call-bound: 1.0.4 + has-tostringtag: 1.0.2 + + is-callable@1.2.7: {} + + is-core-module@2.16.1: + dependencies: + hasown: 2.0.2 + + is-docker@2.2.1: {} + + is-fullwidth-code-point@3.0.0: {} + + is-generator-function@1.1.0: + dependencies: + call-bound: 1.0.4 + get-proto: 1.0.1 + has-tostringtag: 1.0.2 + safe-regex-test: 1.1.0 + + is-regex@1.2.1: + dependencies: + call-bound: 1.0.4 + gopd: 1.2.0 + has-tostringtag: 1.0.2 + hasown: 2.0.2 + + is-typed-array@1.1.15: + dependencies: + which-typed-array: 1.1.19 + + is-wsl@2.2.0: + dependencies: + is-docker: 2.2.1 + + isexe@2.0.0: {} + + istanbul-lib-coverage@3.2.2: {} + + istanbul-lib-report@3.0.1: + dependencies: + istanbul-lib-coverage: 3.2.2 + make-dir: 4.0.0 + supports-color: 7.2.0 + + istanbul-lib-source-maps@5.0.6: + dependencies: + '@jridgewell/trace-mapping': 0.3.25 + debug: 4.4.0 + istanbul-lib-coverage: 3.2.2 + transitivePeerDependencies: + - supports-color + + istanbul-reports@3.1.7: + dependencies: + html-escaper: 2.0.2 + istanbul-lib-report: 3.0.1 + + jackspeak@3.4.3: + dependencies: + '@isaacs/cliui': 8.0.2 + optionalDependencies: + '@pkgjs/parseargs': 0.11.0 + + jiti@2.4.2: {} + + js-tokens@4.0.0: {} + + jsdoc-type-pratt-parser@4.1.0: {} + + jsesc@3.1.0: {} + + json5@2.2.3: {} + + jsonfile@6.1.0: + dependencies: + universalify: 2.0.1 + optionalDependencies: + graceful-fs: 4.2.11 + + kleur@3.0.3: {} + + lightningcss-darwin-arm64@1.29.2: + optional: true + + lightningcss-darwin-x64@1.29.2: + optional: true + + lightningcss-freebsd-x64@1.29.2: + optional: true + + lightningcss-linux-arm-gnueabihf@1.29.2: + optional: true + + lightningcss-linux-arm64-gnu@1.29.2: + optional: true + + lightningcss-linux-arm64-musl@1.29.2: + optional: true + + lightningcss-linux-x64-gnu@1.29.2: + optional: true + + lightningcss-linux-x64-musl@1.29.2: + optional: true + + lightningcss-win32-arm64-msvc@1.29.2: + optional: true + + lightningcss-win32-x64-msvc@1.29.2: + optional: true + + lightningcss@1.29.2: + dependencies: + detect-libc: 2.0.4 + optionalDependencies: + lightningcss-darwin-arm64: 1.29.2 + lightningcss-darwin-x64: 1.29.2 + lightningcss-freebsd-x64: 1.29.2 + lightningcss-linux-arm-gnueabihf: 1.29.2 + lightningcss-linux-arm64-gnu: 1.29.2 + lightningcss-linux-arm64-musl: 1.29.2 + lightningcss-linux-x64-gnu: 1.29.2 + lightningcss-linux-x64-musl: 1.29.2 + lightningcss-win32-arm64-msvc: 1.29.2 + lightningcss-win32-x64-msvc: 1.29.2 + + locate-path@6.0.0: + dependencies: + p-locate: 5.0.0 + + lodash@4.17.21: {} + + loose-envify@1.4.0: + dependencies: + js-tokens: 4.0.0 + + loupe@3.1.3: {} + + lru-cache@10.4.3: {} + + lru-cache@5.1.1: + dependencies: + yallist: 3.1.1 + + lz-string@1.5.0: {} + + magic-string@0.27.0: + dependencies: + '@jridgewell/sourcemap-codec': 1.5.0 + + magic-string@0.30.17: + dependencies: + '@jridgewell/sourcemap-codec': 1.5.0 + + magicast@0.3.5: + dependencies: + '@babel/parser': 7.27.0 + '@babel/types': 7.27.0 + source-map-js: 1.2.1 + + make-dir@4.0.0: + dependencies: + semver: 7.7.1 + + map-or-similar@1.5.0: {} + + math-intrinsics@1.1.0: {} + + memoizerific@1.11.3: + dependencies: + map-or-similar: 1.5.0 + + min-indent@1.0.1: {} + + minimatch@9.0.5: + dependencies: + brace-expansion: 2.0.1 + + minimist@1.2.8: {} + + minipass@7.1.2: {} + + mrmime@2.0.1: {} + + ms@2.1.3: {} + + nanoid@3.3.11: {} + + node-releases@2.0.19: {} + + object-assign@4.1.1: {} + + open@8.4.2: + dependencies: + define-lazy-prop: 2.0.0 + is-docker: 2.2.1 + is-wsl: 2.2.0 + + p-limit@3.1.0: + dependencies: + yocto-queue: 0.1.0 + + p-locate@5.0.0: + dependencies: + p-limit: 3.1.0 + + package-json-from-dist@1.0.1: {} + + path-exists@4.0.0: {} + + path-key@3.1.1: {} + + path-parse@1.0.7: {} + + path-scurry@1.11.1: + dependencies: + lru-cache: 10.4.3 + minipass: 7.1.2 + + pathe@2.0.3: {} + + pathval@2.0.0: {} + + picocolors@1.1.1: {} + + picomatch@4.0.2: {} + + playwright-core@1.52.0: {} + + playwright@1.52.0: + dependencies: + playwright-core: 1.52.0 + optionalDependencies: + fsevents: 2.3.2 + + polished@4.3.1: + dependencies: + '@babel/runtime': 7.27.0 + + possible-typed-array-names@1.1.0: {} + + postcss@8.5.3: + dependencies: + nanoid: 3.3.11 + picocolors: 1.1.1 + source-map-js: 1.2.1 + + pretty-format@27.5.1: + dependencies: + ansi-regex: 5.0.1 + ansi-styles: 5.2.0 + react-is: 17.0.2 + + process@0.11.10: {} + + prompts@2.4.2: + dependencies: + kleur: 3.0.3 + sisteransi: 1.0.5 + + prop-types@15.8.1: + dependencies: + loose-envify: 1.4.0 + object-assign: 4.1.1 + react-is: 16.13.1 + + react-confetti@6.4.0(react@19.1.0): + dependencies: + react: 19.1.0 + tween-functions: 1.2.0 + + react-docgen-typescript@2.2.2(typescript@5.8.3): + dependencies: + typescript: 5.8.3 + + react-docgen@7.1.1: + dependencies: + '@babel/core': 7.26.10 + '@babel/traverse': 7.27.0 + '@babel/types': 7.27.0 + '@types/babel__core': 7.20.5 + '@types/babel__traverse': 7.20.7 + '@types/doctrine': 0.0.9 + '@types/resolve': 1.20.6 + doctrine: 3.0.0 + resolve: 1.22.10 + strip-indent: 4.0.0 + transitivePeerDependencies: + - supports-color + + react-dom@19.1.0(react@19.1.0): + dependencies: + react: 19.1.0 + scheduler: 0.26.0 + + react-is@16.13.1: {} + + react-is@17.0.2: {} + + react@19.1.0: {} + + recast@0.23.11: + dependencies: + ast-types: 0.16.1 + esprima: 4.0.1 + source-map: 0.6.1 + tiny-invariant: 1.3.3 + tslib: 2.8.1 + + redent@3.0.0: + dependencies: + indent-string: 4.0.0 + strip-indent: 3.0.0 + + regenerator-runtime@0.14.1: {} + + resolve@1.22.10: + dependencies: + is-core-module: 2.16.1 + path-parse: 1.0.7 + supports-preserve-symlinks-flag: 1.0.0 + + rollup@4.40.1: + dependencies: + '@types/estree': 1.0.7 + optionalDependencies: + '@rollup/rollup-android-arm-eabi': 4.40.1 + '@rollup/rollup-android-arm64': 4.40.1 + '@rollup/rollup-darwin-arm64': 4.40.1 + '@rollup/rollup-darwin-x64': 4.40.1 + '@rollup/rollup-freebsd-arm64': 4.40.1 + '@rollup/rollup-freebsd-x64': 4.40.1 + '@rollup/rollup-linux-arm-gnueabihf': 4.40.1 + '@rollup/rollup-linux-arm-musleabihf': 4.40.1 + '@rollup/rollup-linux-arm64-gnu': 4.40.1 + '@rollup/rollup-linux-arm64-musl': 4.40.1 + '@rollup/rollup-linux-loongarch64-gnu': 4.40.1 + '@rollup/rollup-linux-powerpc64le-gnu': 4.40.1 + '@rollup/rollup-linux-riscv64-gnu': 4.40.1 + '@rollup/rollup-linux-riscv64-musl': 4.40.1 + '@rollup/rollup-linux-s390x-gnu': 4.40.1 + '@rollup/rollup-linux-x64-gnu': 4.40.1 + '@rollup/rollup-linux-x64-musl': 4.40.1 + '@rollup/rollup-win32-arm64-msvc': 4.40.1 + '@rollup/rollup-win32-ia32-msvc': 4.40.1 + '@rollup/rollup-win32-x64-msvc': 4.40.1 + fsevents: 2.3.3 + + safe-regex-test@1.1.0: + dependencies: + call-bound: 1.0.4 + es-errors: 1.3.0 + is-regex: 1.2.1 + + scheduler@0.26.0: {} + + semver@6.3.1: {} + + semver@7.7.1: {} + + set-function-length@1.2.2: + dependencies: + define-data-property: 1.1.4 + es-errors: 1.3.0 + function-bind: 1.1.2 + get-intrinsic: 1.3.0 + gopd: 1.2.0 + has-property-descriptors: 1.0.2 + + shebang-command@2.0.0: + dependencies: + shebang-regex: 3.0.0 + + shebang-regex@3.0.0: {} + + siginfo@2.0.0: {} + + signal-exit@4.1.0: {} + + sirv@3.0.1: + dependencies: + '@polka/url': 1.0.0-next.29 + mrmime: 2.0.1 + totalist: 3.0.1 + + sisteransi@1.0.5: {} + + source-map-js@1.2.1: {} + + source-map@0.6.1: {} + + stackback@0.0.2: {} + + std-env@3.9.0: {} + + storybook@8.6.12: + dependencies: + '@storybook/core': 8.6.12(storybook@8.6.12) + transitivePeerDependencies: + - bufferutil + - supports-color + - utf-8-validate + + string-width@4.2.3: + dependencies: + emoji-regex: 8.0.0 + is-fullwidth-code-point: 3.0.0 + strip-ansi: 6.0.1 + + string-width@5.1.2: + dependencies: + eastasianwidth: 0.2.0 + emoji-regex: 9.2.2 + strip-ansi: 7.1.0 + + strip-ansi@6.0.1: + dependencies: + ansi-regex: 5.0.1 + + strip-ansi@7.1.0: + dependencies: + ansi-regex: 6.1.0 + + strip-bom@3.0.0: {} + + strip-indent@3.0.0: + dependencies: + min-indent: 1.0.1 + + strip-indent@4.0.0: + dependencies: + min-indent: 1.0.1 + + supports-color@7.2.0: + dependencies: + has-flag: 4.0.0 + + supports-preserve-symlinks-flag@1.0.0: {} + + tailwindcss@4.1.4: {} + + tapable@2.2.1: {} + + test-exclude@7.0.1: + dependencies: + '@istanbuljs/schema': 0.1.3 + glob: 10.4.5 + minimatch: 9.0.5 + + tiny-invariant@1.3.3: {} + + tinybench@2.9.0: {} + + tinyexec@0.3.2: {} + + tinyglobby@0.2.13: + dependencies: + fdir: 6.4.4(picomatch@4.0.2) + picomatch: 4.0.2 + + tinypool@1.0.2: {} + + tinyrainbow@1.2.0: {} + + tinyrainbow@2.0.0: {} + + tinyspy@3.0.2: {} + + totalist@3.0.1: {} + + ts-dedent@2.2.0: {} + + tsconfig-paths@4.2.0: + dependencies: + json5: 2.2.3 + minimist: 1.2.8 + strip-bom: 3.0.0 + + tslib@2.8.1: {} + + tween-functions@1.2.0: {} + + typescript@5.8.3: {} + + universalify@2.0.1: {} + + unplugin@1.16.1: + dependencies: + acorn: 8.14.1 + webpack-virtual-modules: 0.6.2 + + update-browserslist-db@1.1.3(browserslist@4.24.4): + dependencies: + browserslist: 4.24.4 + escalade: 3.2.0 + picocolors: 1.1.1 + + util@0.12.5: + dependencies: + inherits: 2.0.4 + is-arguments: 1.2.0 + is-generator-function: 1.1.0 + is-typed-array: 1.1.15 + which-typed-array: 1.1.19 + + uuid@9.0.1: {} + + vite-node@3.1.2(jiti@2.4.2)(lightningcss@1.29.2): + dependencies: + cac: 6.7.14 + debug: 4.4.0 + es-module-lexer: 1.7.0 + pathe: 2.0.3 + vite: 6.3.3(jiti@2.4.2)(lightningcss@1.29.2) + transitivePeerDependencies: + - '@types/node' + - jiti + - less + - lightningcss + - sass + - sass-embedded + - stylus + - sugarss + - supports-color + - terser + - tsx + - yaml + + vite@6.3.3(jiti@2.4.2)(lightningcss@1.29.2): + dependencies: + esbuild: 0.25.3 + fdir: 6.4.4(picomatch@4.0.2) + picomatch: 4.0.2 + postcss: 8.5.3 + rollup: 4.40.1 + tinyglobby: 0.2.13 + optionalDependencies: + fsevents: 2.3.3 + jiti: 2.4.2 + lightningcss: 1.29.2 + + vitest@3.1.2(@vitest/browser@3.1.2)(jiti@2.4.2)(lightningcss@1.29.2): + dependencies: + '@vitest/expect': 3.1.2 + '@vitest/mocker': 3.1.2(vite@6.3.3(jiti@2.4.2)(lightningcss@1.29.2)) + '@vitest/pretty-format': 3.1.2 + '@vitest/runner': 3.1.2 + '@vitest/snapshot': 3.1.2 + '@vitest/spy': 3.1.2 + '@vitest/utils': 3.1.2 + chai: 5.2.0 + debug: 4.4.0 + expect-type: 1.2.1 + magic-string: 0.30.17 + pathe: 2.0.3 + std-env: 3.9.0 + tinybench: 2.9.0 + tinyexec: 0.3.2 + tinyglobby: 0.2.13 + tinypool: 1.0.2 + tinyrainbow: 2.0.0 + vite: 6.3.3(jiti@2.4.2)(lightningcss@1.29.2) + vite-node: 3.1.2(jiti@2.4.2)(lightningcss@1.29.2) + why-is-node-running: 2.3.0 + optionalDependencies: + '@vitest/browser': 3.1.2(playwright@1.52.0)(vite@6.3.3(jiti@2.4.2)(lightningcss@1.29.2))(vitest@3.1.2) + transitivePeerDependencies: + - jiti + - less + - lightningcss + - msw + - sass + - sass-embedded + - stylus + - sugarss + - supports-color + - terser + - tsx + - yaml + + webpack-virtual-modules@0.6.2: {} + + which-typed-array@1.1.19: + dependencies: + available-typed-arrays: 1.0.7 + call-bind: 1.0.8 + call-bound: 1.0.4 + for-each: 0.3.5 + get-proto: 1.0.1 + gopd: 1.2.0 + has-tostringtag: 1.0.2 + + which@2.0.2: + dependencies: + isexe: 2.0.0 + + why-is-node-running@2.3.0: + dependencies: + siginfo: 2.0.0 + stackback: 0.0.2 + + wrap-ansi@7.0.0: + dependencies: + ansi-styles: 4.3.0 + string-width: 4.2.3 + strip-ansi: 6.0.1 + + wrap-ansi@8.1.0: + dependencies: + ansi-styles: 6.2.1 + string-width: 5.1.2 + strip-ansi: 7.1.0 + + ws@8.18.1: {} + + yallist@3.1.1: {} + + yocto-queue@0.1.0: {} diff --git a/pnpm-workspace.yaml b/pnpm-workspace.yaml new file mode 100644 index 0000000..b2f187c --- /dev/null +++ b/pnpm-workspace.yaml @@ -0,0 +1,2 @@ +packages: + - packages/* \ No newline at end of file diff --git a/stories/Introduce.mdx b/stories/Introduce.mdx new file mode 100644 index 0000000..881118b --- /dev/null +++ b/stories/Introduce.mdx @@ -0,0 +1,5 @@ +# twu + +当使用mui的组件的时候,使用astro会有问题,所以很多的组件应该是纯原生的组件模块。 + +使用tailwindcss来做样式,使用原生的js来做交互。 diff --git a/stories/Page.stories.tsx b/stories/Page.stories.tsx new file mode 100644 index 0000000..8cccb1f --- /dev/null +++ b/stories/Page.stories.tsx @@ -0,0 +1,11 @@ +import { Page } from './Page'; + +export default { + title: 'Page', + component: Page, +}; +export const Primary = () => ( +
+ +
+); diff --git a/stories/Page.tsx b/stories/Page.tsx new file mode 100644 index 0000000..6c219e3 --- /dev/null +++ b/stories/Page.tsx @@ -0,0 +1,3 @@ +export const Page = () => { + return
Page
; +}; diff --git a/stories/Test.mdx b/stories/Test.mdx new file mode 100644 index 0000000..21e60f8 --- /dev/null +++ b/stories/Test.mdx @@ -0,0 +1 @@ +# Test \ No newline at end of file diff --git a/storybook-static/assets/Color-YHDXOIA2-CsuRGi2p.js b/storybook-static/assets/Color-YHDXOIA2-CsuRGi2p.js new file mode 100644 index 0000000..de7c221 --- /dev/null +++ b/storybook-static/assets/Color-YHDXOIA2-CsuRGi2p.js @@ -0,0 +1 @@ +import{d as ce,v as M,C as J,g as he,_ as fe,S as de,M as ge,a as be,b as q}from"./DocsRenderer-CFRXHY34-HVOe_iH5.js";import{r as p,e as m}from"./index-MPVjHJeJ.js";import"./iframe-CPAQYodo.js";import"./jsx-runtime-D_zvdyIk.js";import"./react-18-DX46YMEZ.js";import"./index-CXQShRbs.js";import"./index-DrFu-skq.js";var me=q({"../../node_modules/color-name/index.js"(n,o){o.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,o){var c=me(),h={};for(let e of Object.keys(c))h[c[e]]=e;var i={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"]}};o.exports=i;for(let e of Object.keys(i)){if(!("channels"in i[e]))throw new Error("missing channels property: "+e);if(!("labels"in i[e]))throw new Error("missing channel labels property: "+e);if(i[e].labels.length!==i[e].channels)throw new Error("channel and label counts mismatch: "+e);let{channels:t,labels:r}=i[e];delete i[e].channels,delete i[e].labels,Object.defineProperty(i[e],"channels",{value:t}),Object.defineProperty(i[e],"labels",{value:r})}i.rgb.hsl=function(e){let t=e[0]/255,r=e[1]/255,a=e[2]/255,l=Math.min(t,r,a),u=Math.max(t,r,a),s=u-l,f,g;u===l?f=0:t===u?f=(r-a)/s:r===u?f=2+(a-t)/s:a===u&&(f=4+(t-r)/s),f=Math.min(f*60,360),f<0&&(f+=360);let b=(l+u)/2;return u===l?g=0:b<=.5?g=s/(u+l):g=s/(2-u-l),[f,g*100,b*100]},i.rgb.hsv=function(e){let t,r,a,l,u,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?(l=0,u=0):(u=y/b,t=v(s),r=v(f),a=v(g),s===b?l=a-r:f===b?l=1/3+t-a:g===b&&(l=2/3+r-t),l<0?l+=1:l>1&&(l-=1)),[l*360,u*100,b*100]},i.rgb.hwb=function(e){let t=e[0],r=e[1],a=e[2],l=i.rgb.hsl(e)[0],u=1/255*Math.min(t,Math.min(r,a));return a=1-1/255*Math.max(t,Math.max(r,a)),[l,u*100,a*100]},i.rgb.cmyk=function(e){let t=e[0]/255,r=e[1]/255,a=e[2]/255,l=Math.min(1-t,1-r,1-a),u=(1-t-l)/(1-l)||0,s=(1-r-l)/(1-l)||0,f=(1-a-l)/(1-l)||0;return[u*100,s*100,f*100,l*100]};function d(e,t){return(e[0]-t[0])**2+(e[1]-t[1])**2+(e[2]-t[2])**2}i.rgb.keyword=function(e){let t=h[e];if(t)return t;let r=1/0,a;for(let l of Object.keys(c)){let u=c[l],s=d(e,u);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 l=t*.4124+r*.3576+a*.1805,u=t*.2126+r*.7152+a*.0722,s=t*.0193+r*.1192+a*.9505;return[l*100,u*100,s*100]},i.rgb.lab=function(e){let t=i.rgb.xyz(e),r=t[0],a=t[1],l=t[2];r/=95.047,a/=100,l/=108.883,r=r>.008856?r**(1/3):7.787*r+16/116,a=a>.008856?a**(1/3):7.787*a+16/116,l=l>.008856?l**(1/3):7.787*l+16/116;let u=116*a-16,s=500*(r-a),f=200*(a-l);return[u,s,f]},i.hsl.rgb=function(e){let t=e[0]/360,r=e[1]/100,a=e[2]/100,l,u,s;if(r===0)return s=a*255,[s,s,s];a<.5?l=a*(1+r):l=a+r-a*r;let f=2*a-l,g=[0,0,0];for(let b=0;b<3;b++)u=t+1/3*-(b-1),u<0&&u++,u>1&&u--,6*u<1?s=f+(l-f)*6*u:2*u<1?s=l:3*u<2?s=f+(l-f)*(2/3-u)*6:s=f,g[b]=s*255;return g},i.hsl.hsv=function(e){let t=e[0],r=e[1]/100,a=e[2]/100,l=r,u=Math.max(a,.01);a*=2,r*=a<=1?a:2-a,l*=u<=1?u:2-u;let s=(a+r)/2,f=a===0?2*l/(u+l):2*r/(a+r);return[t,f*100,s*100]},i.hsv.rgb=function(e){let t=e[0]/60,r=e[1]/100,a=e[2]/100,l=Math.floor(t)%6,u=t-Math.floor(t),s=255*a*(1-r),f=255*a*(1-r*u),g=255*a*(1-r*(1-u));switch(a*=255,l){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]}},i.hsv.hsl=function(e){let t=e[0],r=e[1]/100,a=e[2]/100,l=Math.max(a,.01),u,s;s=(2-r)*a;let f=(2-r)*l;return u=r*l,u/=f<=1?f:2-f,u=u||0,s/=2,[t,u*100,s*100]},i.hwb.rgb=function(e){let t=e[0]/360,r=e[1]/100,a=e[2]/100,l=r+a,u;l>1&&(r/=l,a/=l);let s=Math.floor(6*t),f=1-a;u=6*t-s,(s&1)!==0&&(u=1-u);let g=r+u*(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]},i.cmyk.rgb=function(e){let t=e[0]/100,r=e[1]/100,a=e[2]/100,l=e[3]/100,u=1-Math.min(1,t*(1-l)+l),s=1-Math.min(1,r*(1-l)+l),f=1-Math.min(1,a*(1-l)+l);return[u*255,s*255,f*255]},i.xyz.rgb=function(e){let t=e[0]/100,r=e[1]/100,a=e[2]/100,l,u,s;return l=t*3.2406+r*-1.5372+a*-.4986,u=t*-.9689+r*1.8758+a*.0415,s=t*.0557+r*-.204+a*1.057,l=l>.0031308?1.055*l**(1/2.4)-.055:l*12.92,u=u>.0031308?1.055*u**(1/2.4)-.055:u*12.92,s=s>.0031308?1.055*s**(1/2.4)-.055:s*12.92,l=Math.min(Math.max(0,l),1),u=Math.min(Math.max(0,u),1),s=Math.min(Math.max(0,s),1),[l*255,u*255,s*255]},i.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 l=116*r-16,u=500*(t-r),s=200*(r-a);return[l,u,s]},i.lab.xyz=function(e){let t=e[0],r=e[1],a=e[2],l,u,s;u=(t+16)/116,l=r/500+u,s=u-a/200;let f=u**3,g=l**3,b=s**3;return u=f>.008856?f:(u-16/116)/7.787,l=g>.008856?g:(l-16/116)/7.787,s=b>.008856?b:(s-16/116)/7.787,l*=95.047,u*=100,s*=108.883,[l,u,s]},i.lab.lch=function(e){let t=e[0],r=e[1],a=e[2],l;l=Math.atan2(a,r)*360/2/Math.PI,l<0&&(l+=360);let u=Math.sqrt(r*r+a*a);return[t,u,l]},i.lch.lab=function(e){let t=e[0],r=e[1],a=e[2]/360*2*Math.PI,l=r*Math.cos(a),u=r*Math.sin(a);return[t,l,u]},i.rgb.ansi16=function(e,t=null){let[r,a,l]=e,u=t===null?i.rgb.hsv(e)[2]:t;if(u=Math.round(u/50),u===0)return 30;let s=30+(Math.round(l/255)<<2|Math.round(a/255)<<1|Math.round(r/255));return u===2&&(s+=60),s},i.hsv.ansi16=function(e){return i.rgb.ansi16(i.hsv.rgb(e),e[2])},i.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)},i.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,l=(t>>1&1)*r*255,u=(t>>2&1)*r*255;return[a,l,u]},i.ansi256.rgb=function(e){if(e>=232){let u=(e-232)*10+8;return[u,u,u]}e-=16;let t,r=Math.floor(e/36)/5*255,a=Math.floor((t=e%36)/6)/5*255,l=t%6/5*255;return[r,a,l]},i.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},i.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),l=a>>16&255,u=a>>8&255,s=a&255;return[l,u,s]},i.rgb.hcg=function(e){let t=e[0]/255,r=e[1]/255,a=e[2]/255,l=Math.max(Math.max(t,r),a),u=Math.min(Math.min(t,r),a),s=l-u,f,g;return s<1?f=u/(1-s):f=0,s<=0?g=0:l===t?g=(r-a)/s%6:l===r?g=2+(a-t)/s:g=4+(t-r)/s,g/=6,g%=1,[g*360,s*100,f*100]},i.hsl.hcg=function(e){let t=e[1]/100,r=e[2]/100,a=r<.5?2*t*r:2*t*(1-r),l=0;return a<1&&(l=(r-.5*a)/(1-a)),[e[0],a*100,l*100]},i.hsv.hcg=function(e){let t=e[1]/100,r=e[2]/100,a=t*r,l=0;return a<1&&(l=(r-a)/(1-a)),[e[0],a*100,l*100]},i.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 l=[0,0,0],u=t%1*6,s=u%1,f=1-s,g=0;switch(Math.floor(u)){case 0:l[0]=1,l[1]=s,l[2]=0;break;case 1:l[0]=f,l[1]=1,l[2]=0;break;case 2:l[0]=0,l[1]=1,l[2]=s;break;case 3:l[0]=0,l[1]=f,l[2]=1;break;case 4:l[0]=s,l[1]=0,l[2]=1;break;default:l[0]=1,l[1]=0,l[2]=f}return g=(1-r)*a,[(r*l[0]+g)*255,(r*l[1]+g)*255,(r*l[2]+g)*255]},i.hcg.hsv=function(e){let t=e[1]/100,r=e[2]/100,a=t+r*(1-t),l=0;return a>0&&(l=t/a),[e[0],l*100,a*100]},i.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]},i.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]},i.hwb.hcg=function(e){let t=e[1]/100,r=1-e[2]/100,a=r-t,l=0;return a<1&&(l=(r-a)/(1-a)),[e[0],a*100,l*100]},i.apple.rgb=function(e){return[e[0]/65535*255,e[1]/65535*255,e[2]/65535*255]},i.rgb.apple=function(e){return[e[0]/255*65535,e[1]/255*65535,e[2]/255*65535]},i.gray.rgb=function(e){return[e[0]/100*255,e[0]/100*255,e[0]/100*255]},i.gray.hsl=function(e){return[0,0,e[0]]},i.gray.hsv=i.gray.hsl,i.gray.hwb=function(e){return[0,100,e[0]]},i.gray.cmyk=function(e){return[0,0,0,e[0]]},i.gray.lab=function(e){return[e[0],0,0]},i.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},i.rgb.gray=function(e){return[(e[0]+e[1]+e[2])/3/255*100]}}}),ve=q({"../../node_modules/color-convert/route.js"(n,o){var c=Q();function h(){let t={},r=Object.keys(c);for(let a=r.length,l=0;l1&&(l=u),r(l))};return"conversion"in r&&(a.conversion=r.conversion),a}function t(r){let a=function(...l){let u=l[0];if(u==null)return u;u.length>1&&(l=u);let s=r(l);if(typeof s=="object")for(let f=s.length,g=0;g{i[r]={},Object.defineProperty(i[r],"channels",{value:c[r].channels}),Object.defineProperty(i[r],"labels",{value:c[r].labels});let a=h(r);Object.keys(a).forEach(l=>{let u=a[l];i[r][l]=t(u),i[r][l].raw=e(u)})}),o.exports=i}}),_=be(pe());function C(){return(C=Object.assign||function(n){for(var o=1;o=0||(i[c]=n[c]);return i}function L(n){var o=p.useRef(n),c=p.useRef(function(h){o.current&&o.current(h)});return o.current=n,c.current}var S=function(n,o,c){return o===void 0&&(o=0),c===void 0&&(c=1),n>c?c:n0:y.buttons>0)&&i.current?d(T(i.current,y,t.current)):b(!1)},g=function(){return b(!1)};function b(y){var v=r.current,w=B(i.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=i.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]),l=a[0],u=a[1],s=a[2];return p.useEffect(function(){return s},[s]),m.createElement("div",C({},h,{onTouchStart:l,onMouseDown:l,className:"react-colorful__interactive",ref:i,onKeyDown:u,tabIndex:0,role:"slider"}))}),N=function(n){return n.filter(Boolean).join(" ")},F=function(n){var o=n.color,c=n.left,h=n.top,i=h===void 0?.5:h,d=N(["react-colorful__pointer",n.className]);return m.createElement("div",{className:d,style:{top:100*i+"%",left:100*c+"%"}},m.createElement("div",{className:"react-colorful__pointer-fill",style:{backgroundColor:o}}))},x=function(n,o,c){return o===void 0&&(o=0),c===void 0&&(c=Math.pow(10,o)),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,o){return o===void 0&&(o="deg"),Number(n)*(ye[o]||1)},ke=function(n){var o=/hsla?\(?\s*(-?\d*\.?\d+)(deg|rad|grad|turn)?[,\s]+(-?\d*\.?\d+)%?[,\s]+(-?\d*\.?\d+)%?,?\s*[/\s]*(-?\d*\.?\d+)?(%)?\s*\)?/i.exec(n);return o?_e({h:we(o[1],o[2]),s:Number(o[3]),l:Number(o[4]),a:o[5]===void 0?1:Number(o[5])/(o[6]?100:1)}):{h:0,s:0,v:0,a:1}},_e=function(n){var o=n.s,c=n.l;return{h:n.h,s:(o*=(c<50?c:100-c)/100)>0?2*o/(c+o)*100:0,v:c+o,a:n.a}},Ee=function(n){return Ce(ee(n))},Z=function(n){var o=n.s,c=n.v,h=n.a,i=(200-o)*c/100;return{h:x(n.h),s:x(i>0&&i<200?o*c/100/(i<=100?i:200-i)*100:0),l:x(i/2),a:x(h,2)}},K=function(n){var o=Z(n);return"hsl("+o.h+", "+o.s+"%, "+o.l+"%)"},I=function(n){var o=Z(n);return"hsla("+o.h+", "+o.s+"%, "+o.l+"%, "+o.a+")"},ee=function(n){var o=n.h,c=n.s,h=n.v,i=n.a;o=o/360*6,c/=100,h/=100;var d=Math.floor(o),e=h*(1-c),t=h*(1-(o-d)*c),r=h*(1-(1-o+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(i,2)}},Me=function(n){var o=/rgba?\(?\s*(-?\d*\.?\d+)(%)?[,\s]+(-?\d*\.?\d+)(%)?[,\s]+(-?\d*\.?\d+)(%)?,?\s*[/\s]*(-?\d*\.?\d+)?(%)?\s*\)?/i.exec(n);return o?re({r:Number(o[1])/(o[2]?100/255:1),g:Number(o[3])/(o[4]?100/255:1),b:Number(o[5])/(o[6]?100/255:1),a:o[7]===void 0?1:Number(o[7])/(o[8]?100:1)}):{h:0,s:0,v:0,a:1}},j=function(n){var o=n.toString(16);return o.length<2?"0"+o:o},Ce=function(n){var o=n.r,c=n.g,h=n.b,i=n.a,d=i<1?j(x(255*i)):"";return"#"+j(o)+j(c)+j(h)+d},re=function(n){var o=n.r,c=n.g,h=n.b,i=n.a,d=Math.max(o,c,h),e=d-Math.min(o,c,h),t=e?d===o?(c-h)/e:d===c?2+(h-o)/e:4+(o-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:i}},te=m.memo(function(n){var o=n.hue,c=n.onChange,h=N(["react-colorful__hue",n.className]);return m.createElement("div",{className:h},m.createElement(G,{onMove:function(i){c({h:360*i.left})},onKey:function(i){c({h:S(o+360*i.left,0,360)})},"aria-label":"Hue","aria-valuenow":x(o),"aria-valuemax":"360","aria-valuemin":"0"},m.createElement(F,{className:"react-colorful__hue-pointer",left:o/360,color:K({h:o,s:100,v:100,a:1})})))}),ne=m.memo(function(n){var o=n.hsva,c=n.onChange,h={backgroundColor:K({h:o.h,s:100,v:100,a:1})};return m.createElement("div",{className:"react-colorful__saturation",style:h},m.createElement(G,{onMove:function(i){c({s:100*i.left,v:100-100*i.top})},onKey:function(i){c({s:S(o.s+100*i.left,0,100),v:S(o.v-100*i.top,0,100)})},"aria-label":"Color","aria-valuetext":"Saturation "+x(o.s)+"%, Brightness "+x(o.v)+"%"},m.createElement(F,{className:"react-colorful__saturation-pointer",top:1-o.v/100,left:o.s/100,color:K(o)})))}),ae=function(n,o){if(n===o)return!0;for(var c in n)if(n[c]!==o[c])return!1;return!0},le=function(n,o){return n.replace(/\s/g,"")===o.replace(/\s/g,"")},$e=function(n,o){return n.toLowerCase()===o.toLowerCase()||ae(X(n),X(o))};function oe(n,o,c){var h=L(c),i=p.useState(function(){return n.toHsva(o)}),d=i[0],e=i[1],t=p.useRef({color:o,hsva:d});p.useEffect(function(){if(!n.equal(o,t.current.color)){var a=n.toHsva(o);t.current={hsva:a,color:o},e(a)}},[o,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(l){return Object.assign({},l,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,ue=function(n){Se(function(){var o=n.current?n.current.ownerDocument:document;if(o!==void 0&&!A.has(o)){var c=o.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(o,c);var h=Oe();h&&c.setAttribute("nonce",h),o.head.appendChild(c)}},[])},Ne=function(n){var o=n.className,c=n.colorModel,h=n.color,i=h===void 0?c.defaultColor:h,d=n.onChange,e=V(n,["className","colorModel","color","onChange"]),t=p.useRef(null);ue(t);var r=oe(c,i,d),a=r[0],l=r[1],u=N(["react-colorful",o]);return m.createElement("div",C({},e,{ref:t,className:u}),m.createElement(ne,{hsva:a,onChange:l}),m.createElement(te,{hue:a.h,onChange:l,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 o=n.className,c=n.hsva,h=n.onChange,i={backgroundImage:"linear-gradient(90deg, "+I(Object.assign({},c,{a:0}))+", "+I(Object.assign({},c,{a:1}))+")"},d=N(["react-colorful__alpha",o]),e=x(100*c.a);return m.createElement("div",{className:d},m.createElement("div",{className:"react-colorful__alpha-gradient",style:i}),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)})))},ie=function(n){var o=n.className,c=n.colorModel,h=n.color,i=h===void 0?c.defaultColor:h,d=n.onChange,e=V(n,["className","colorModel","color","onChange"]),t=p.useRef(null);ue(t);var r=oe(c,i,d),a=r[0],l=r[1],u=N(["react-colorful",o]);return m.createElement("div",C({},e,{ref:t,className:u}),m.createElement(ne,{hsva:a,onChange:l}),m.createElement(te,{hue:a.h,onChange:l}),m.createElement(ze,{hsva:a,onChange:l,className:"react-colorful__last-control"}))},Ie={defaultColor:"hsla(0, 0%, 0%, 1)",toHsva:ke,fromHsva:I,equal:le},He=function(n){return m.createElement(ie,C({},n,{colorModel:Ie}))},qe={defaultColor:"rgba(0, 0, 0, 1)",toHsva:Me,fromHsva:function(n){var o=ee(n);return"rgba("+o.r+", "+o.g+", "+o.b+", "+o.a+")"},equal:le},Pe=function(n){return m.createElement(ie,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(fe)(({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:o})=>({width:16,height:16,boxShadow:o?`${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:o,...c})=>{let h=`linear-gradient(${n}, ${n}), ${Ge}, linear-gradient(#fff, #fff)`;return m.createElement(Ve,{...c,style:{...o,backgroundImage:h}})},Fe=M(de.Input)(({theme:n,readOnly:o})=>({width:"100%",paddingLeft:30,paddingRight:30,boxSizing:"border-box",fontFamily:n.typography.fonts.base})),Te=M(ge)(({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 o=n==null?void 0:n.match(We);if(!o)return[0,0,0,1];let[,c,h,i,d=1]=o;return[c,h,i,d].map(Number)},$=n=>{if(!n)return;let o=!0;if(Ae.test(n)){let[e,t,r,a]=Y(n),[l,u,s]=_.default.rgb.hsl([e,t,r])||[0,0,0];return{valid:o,value:n,keyword:_.default.rgb.keyword([e,t,r]),colorSpace:"rgb",rgb:n,hsl:`hsla(${l}, ${u}%, ${s}%, ${a})`,hex:`#${_.default.rgb.hex([e,t,r]).toLowerCase()}`}}if(Ue.test(n)){let[e,t,r,a]=Y(n),[l,u,s]=_.default.hsl.rgb([e,t,r])||[0,0,0];return{valid:o,value:n,keyword:_.default.hsl.keyword([e,t,r]),colorSpace:"hsl",rgb:`rgba(${l}, ${u}, ${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),i=_.default.rgb.hsl(h),d=n;if(/[^#a-f0-9]/i.test(n)?d=c:D.test(n)&&(d=`#${c}`),d.startsWith("#"))o=D.test(d);else try{_.default.keyword.hex(d)}catch{o=!1}return{valid:o,value:d,keyword:_.default.rgb.keyword(h),colorSpace:"hex",rgb:`rgba(${h[0]}, ${h[1]}, ${h[2]}, 1)`,hsl:`hsla(${i[0]}, ${i[1]}%, ${i[2]}%, 1)`,hex:d}},Qe=(n,o,c)=>{if(!n||!(o!=null&&o.valid))return z[c];if(c!=="hex")return(o==null?void 0:o[c])||z[c];if(!o.hex.startsWith("#"))try{return`#${_.default.keyword.hex(o.hex)}`}catch{return z.hex}let h=o.hex.match(Ye);if(!h)return D.test(o.hex)?o.hex:z.hex;let[i,d,e]=h[1].split("");return`#${i}${i}${d}${d}${e}${e}`},Ze=(n,o)=>{let[c,h]=p.useState(n||""),[i,d]=p.useState(()=>$(c)),[e,t]=p.useState((i==null?void 0:i.colorSpace)||"hex");p.useEffect(()=>{let u=n||"",s=$(u);h(u),d(s),t((s==null?void 0:s.colorSpace)||"hex")},[n]);let r=p.useMemo(()=>Qe(c,i,e).toLowerCase(),[c,i,e]),a=p.useCallback(u=>{let s=$(u),f=(s==null?void 0:s.value)||u||"";h(f),f===""&&(d(void 0),o(void 0)),s&&(d(s),t(s.colorSpace),o(s.value))},[o]),l=p.useCallback(()=>{let u=R.indexOf(e)+1;u>=R.length&&(u=0),t(R[u]);let s=(i==null?void 0:i[R[u]])||"";h(s),o(s)},[i,e,o]);return{value:c,realValue:r,updateValue:a,color:i,colorSpace:e,cycleColorSpace:l}},H=n=>n.replace(/\s*/,"").toLowerCase(),er=(n,o,c)=>{let[h,i]=p.useState(o!=null&&o.valid?[o]:[]);p.useEffect(()=>{o===void 0&&i([])},[o]);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]))||i(r=>r.concat(t)))},[c,d]);return{presets:d,addPreset:e}},rr=({name:n,value:o,onChange:c,onFocus:h,onBlur:i,presetColors:d,startOpen:e=!1,argType:t})=>{var E;let r=p.useCallback(ce(c,200),[c]),{value:a,realValue:l,updateValue:u,color:s,colorSpace:f,cycleColorSpace:g}=Ze(o,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:l==="transparent"?"#000000":l,onChange:u,onFocus:h,onBlur:i}),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:()=>u(k.value)})))))},m.createElement(U,{value:l,style:{margin:4}})),m.createElement(Fe,{id:he(n),value:a,onChange:k=>u(k.target.value),onFocus:k=>k.target.select(),readOnly:w,placeholder:"Choose color..."}),a?m.createElement(Te,{onClick:g}):null)},sr=rr;export{rr as ColorControl,sr as default}; diff --git a/storybook-static/assets/DocsRenderer-CFRXHY34-HVOe_iH5.js b/storybook-static/assets/DocsRenderer-CFRXHY34-HVOe_iH5.js new file mode 100644 index 0000000..380eadb --- /dev/null +++ b/storybook-static/assets/DocsRenderer-CFRXHY34-HVOe_iH5.js @@ -0,0 +1,575 @@ +const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/Color-YHDXOIA2-CsuRGi2p.js","assets/index-MPVjHJeJ.js","assets/iframe-CPAQYodo.js","assets/jsx-runtime-D_zvdyIk.js","assets/react-18-DX46YMEZ.js","assets/index-CXQShRbs.js","assets/index-DrFu-skq.js","assets/index-CB3_FCD4.js"])))=>i.map(i=>d[i]); +var c9=Object.defineProperty;var d9=(e,t,r)=>t in e?c9(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;var Rn=(e,t,r)=>d9(e,typeof t!="symbol"?t+"":t,r);import{D as X4,_ as Y1,z as p9}from"./iframe-CPAQYodo.js";import{r as l,g as f9,e as y}from"./index-MPVjHJeJ.js";import{j as O}from"./jsx-runtime-D_zvdyIk.js";import{r as h9,a as m9,u as g9}from"./react-18-DX46YMEZ.js";import{y as Rh,g as Du}from"./index-CXQShRbs.js";import{d as v9}from"./index-DrFu-skq.js";var y9=Object.create,Q4=Object.defineProperty,b9=Object.getOwnPropertyDescriptor,e3=Object.getOwnPropertyNames,w9=Object.getPrototypeOf,D9=Object.prototype.hasOwnProperty,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')}),yn=(e,t)=>function(){return t||(0,e[e3(e)[0]])((t={exports:{}}).exports,t),t.exports},E9=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of e3(t))!D9.call(e,a)&&a!==r&&Q4(e,a,{get:()=>t[a],enumerable:!(n=b9(t,a))||n.enumerable});return e},J1=(e,t,r)=>(r=e!=null?y9(w9(e)):{},E9(t||!e||!e.__esModule?Q4(r,"default",{value:e,enumerable:!0}):r,e));function C9(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()},v=function(...b){if(r!=null&&r.aborted)return;a=this,o=b;let C=f==null;m(),i&&C&&c()};return v.schedule=m,v.cancel=h,v.flush=g,r==null||r.addEventListener("abort",h,{once:!0}),v}function Wj(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=C9(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 x9(e){return Array.from(new Set(e))}function S9(e,t){let r={},n=Object.entries(e);for(let a=0;a`control-${e.replace(/\s+/g,"-")}`,gs=e=>`set-${e.replace(/\s+/g,"-")}`,z9=Object.create,Z1=Object.defineProperty,T9=Object.getOwnPropertyDescriptor,L9=Object.getOwnPropertyNames,M9=Object.getPrototypeOf,O9=Object.prototype.hasOwnProperty,B=(e,t)=>Z1(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')}),vs=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),P9=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of L9(t))!O9.call(e,a)&&a!==r&&Z1(e,a,{get:()=>t[a],enumerable:!(n=T9(t,a))||n.enumerable});return e},X1=(e,t,r)=>(r=e!=null?z9(M9(e)):{},P9(t||!e||!e.__esModule?Z1(r,"default",{value:e,enumerable:!0}):r,e)),N9=vs(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,v=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===v||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 Pr=kt&&kt.$$typeof;switch(Pr){case c:case m:case v:case g:case s:return Pr;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=v,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 le(H){return typeof H=="object"&&H!==null&&H.$$typeof===r}B(le,"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)===v}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=le,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})()}),H9=vs((e,t)=>{t.exports=N9()}),t3=vs((e,t)=>{var r=H9(),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 v(b,C,E){if(typeof C!="string"){if(g){var D=h(C);D&&D!==g&&v(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 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 v=n[d][1][g];return i(v||g)},h,h.exports,r,n,a,o)}return a[d].exports}B(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,v;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,ws--),de}B(d3,"prev");function $e(){return de=Ue2||sa(de)>3?"":" "}B(p3,"whitespace");function f3(e,t){for(;--t&&$e()&&!(de<48||de>102||de>57&&de<65||de>70&&de<97););return xa(e,Eo()+(t<6&&vt()==32&&$e()==32))}B(f3,"escaping");function Fl(e){for(;$e();)switch(de){case e:return Ue;case 34:case 39:e!==34&&e!==39&&Fl(de);break;case 40:e===41&&Fl(e);break;case 92:$e();break}return Ue}B(Fl,"delimiter");function h3(e,t){for(;$e()&&e+de!==57&&!(e+de===84&&vt()===47););return"/*"+xa(t,Ue-1)+"*"+ys(e===47?e:$e())}B(h3,"commenter");function m3(e){for(;!sa(vt());)$e();return xa(e,Ue)}B(m3,"identifier");function g3(e){return np(xo("",null,null,null,[""],e=rp(e),0,[0],e))}B(g3,"compile");function xo(e,t,r,n,a,o,i,s,c){for(var d=0,f=0,m=i,p=0,h=0,g=0,v=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){Sl(F+=Q(Co(E),"&","&\f"),"&\f")!=-1&&(C=-1);break}case 34:case 39:case 91:F+=Co(E);break;case 9:case 10:case 13:case 32:F+=p3(g);break;case 92:F+=f3(Eo()-1,7);continue;case 47:switch(vt()){case 42:case 47:io(v3(h3($e(),Eo()),t,r),c);break;default:F+="/"}break;case 123*v:s[d++]=pt(F)*C;case 125*v: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&&io(h>32?W0(F+";",n,r,m-1):W0(Q(F," ","")+";",n,r,m-2),c);break;case 59:F+=";";default:if(io(S=q0(F,t,r,d,f,a,s,D,w=[],x=[],m),o),E===123)if(f===0)xo(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:xo(e,S,S,n&&io(q0(e,S,S,0,0,a,s,D,a,w=[],m),x),a,x,m,s,n?w:x);break;default:xo(F,S,S,S,[""],x,0,s,x)}}d=f=h=0,v=C=1,D=F="",m=i;break;case 58:m=1+pt(F),h=g;default:if(v<1){if(E==123)--v;else if(E==125&&v++==0&&d3()==125)continue}switch(F+=ys(E),E*v){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+=Co($e())),p=vt(),f=m=pt(D=F+=m3(Eo())),E++;break;case 45:g===45&&pt(F)==2&&(v=0)}}return o}B(xo,"parse");function q0(e,t,r,n,a,o,i,s,c,d,f){for(var m=a-1,p=a===0?o:[""],h=bs(p),g=0,v=0,b=0;g0?p[C]+" "+E:Q(E,/&\f/g,p[C])))&&(c[b++]=D);return Go(e,t,r,a===0?Q1:s,c,d,f)}B(q0,"ruleset");function v3(e,t,r){return Go(e,t,r,a3,ys(c3()),ia(e,2,-2),0)}B(v3,"comment");function W0(e,t,r,n){return Go(e,t,r,ep,ia(e,0,n),ia(e,n+1,-1),n)}B(W0,"declaration");function sn(e,t){for(var r="",n=bs(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"+xl+(we(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~Sl(e,"stretch")?op(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-(~Sl(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(op,"prefix");var X9=B(function(e,t,r,n){if(e.length>-1&&!e.return)switch(e.type){case ep:e.return=op(e.value,e.length);break;case o3:return sn([Nn(e,{value:Q(e.value,"@","@"+ee)})],n);case Q1:if(e.length)return s3(e.props,function(a){switch(l3(a,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return sn([Nn(e,{props:[Q(a,/:(read-\w+)/,":"+xl+"$1")]})],n);case"::placeholder":return sn([Nn(e,{props:[Q(a,/:(plac\w+)/,":"+ee+"input-$1")]}),Nn(e,{props:[Q(a,/:(plac\w+)/,":"+xl+"$1")]}),Nn(e,{props:[Q(a,/:(plac\w+)/,_e+"input-$1")]})],n)}return""})}},"prefixer"),Q9=[X9],ex=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 v=g.getAttribute("data-emotion");v.indexOf(" ")!==-1&&(document.head.appendChild(g),g.setAttribute("data-s",""))})}var n=e.stylisPlugins||Q9,a={},o,i=[];o=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+t+' "]'),function(g){for(var v=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(E3,"murmur2");var ax={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},ox=/[A-Z]|^ms/g,ix=/_EMO_([^_]+?)_([^]*?)_EMO_/g,C3=B(function(e){return e.charCodeAt(1)===45},"isCustomProperty"),Lh=B(function(e){return e!=null&&typeof e!="boolean"},"isProcessableValue"),Eu=ap(function(e){return C3(e)?e:e.replace(ox,"-$&").toLowerCase()}),Mh=B(function(e,t){switch(e){case"animation":case"animationName":if(typeof t=="string")return t.replace(ix,function(r,n,a){return Ot={name:n,styles:a,next:Ot},n})}return ax[e]!==1&&!C3(e)&&typeof t=="number"&&t!==0?t+"px":t},"processStyleValue");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 x3(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 x3(e,t,r){var n="";if(Array.isArray(r))for(var a=0;a96?yx:bx},"getDefaultShouldForwardProp"),Hh=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"),wx=B(function(e){var t=e.cache,r=e.serialized,n=e.isStringTag;return ip(t,r,n),S3(function(){return D3(t,r,n)}),null},"Insertion"),Dx=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=Hh(t,r,n),c=s||Nh(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 $h={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 M3(e){if(typeof e!="string")return e;var t=e.toLowerCase();return $h[t]?"#"+$h[t]:e}B(M3,"nameToHex");var xx=/^#[a-fA-F0-9]{6}$/,Sx=/^#[a-fA-F0-9]{8}$/,Fx=/^#[a-fA-F0-9]{3}$/,Ax=/^#[a-fA-F0-9]{4}$/,Cu=/^rgb\(\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*\)$/i,kx=/^rgb(?:a)?\(\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,|\/)\s*([-+]?\d*[.]?\d+[%]?)\s*\)$/i,_x=/^hsl\(\s*(\d{0,3}[.]?[0-9]+(?:deg)?)\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*\)$/i,Bx=/^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 Ko(e){if(typeof e!="string")throw new Nt(3);var t=M3(e);if(t.match(xx))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(Sx)){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(Fx))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(Ax)){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=Cu.exec(t);if(a)return{red:parseInt(""+a[1],10),green:parseInt(""+a[2],10),blue:parseInt(""+a[3],10)};var o=kx.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=_x.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=Cu.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=Bx.exec(t.substring(0,50));if(p){var h=parseInt(""+p[1],10),g=parseInt(""+p[2],10)/100,v=parseInt(""+p[3],10)/100,b="rgb("+pa(h,g,v)+")",C=Cu.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(Ko,"parseToRgb");function O3(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?To(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?To(e.hue,e.saturation,e.lightness):"rgba("+pa(e.hue,e.saturation,e.lightness)+","+e.alpha+")";throw new Nt(2)}B(H3,"hsla");function _l(e,t,r){if(typeof e=="number"&&typeof t=="number"&&typeof r=="number")return K0("#"+yr(e)+yr(t)+yr(r));if(typeof e=="object"&&t===void 0&&r===void 0)return K0("#"+yr(e.red)+yr(e.green)+yr(e.blue));throw new Nt(6)}B(_l,"rgb");function fa(e,t,r,n){if(typeof e=="string"&&typeof t=="number"){var a=Ko(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?_l(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?_l(e.red,e.green,e.blue):"rgba("+e.red+","+e.green+","+e.blue+","+e.alpha+")"}throw new Nt(7)}B(fa,"rgba");var Ix=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"),zx=B(function(e){return typeof e.red=="number"&&typeof e.green=="number"&&typeof e.blue=="number"&&typeof e.alpha=="number"},"isRgba"),Tx=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"),Lx=B(function(e){return typeof e.hue=="number"&&typeof e.saturation=="number"&&typeof e.lightness=="number"&&typeof e.alpha=="number"},"isHsla");function dp(e){if(typeof e!="object")throw new Nt(8);if(zx(e))return fa(e);if(Ix(e))return _l(e);if(Lx(e))return H3(e);if(Tx(e))return N3(e);throw new Nt(8)}B(dp,"toColorString");function pp(e,t,r){return B(function(){var n=r.concat(Array.prototype.slice.call(arguments));return n.length>=t?e.apply(this,n):pp(e,t,n)},"fn")}B(pp,"curried");function Yo(e){return pp(e,e.length,[])}B(Yo,"curry");function Jo(e,t,r){return Math.max(e,Math.min(t,r))}B(Jo,"guard");function $3(e,t){if(t==="transparent")return t;var r=cp(t);return dp(qt({},r,{lightness:Jo(0,1,r.lightness-parseFloat(e))}))}B($3,"darken");var Mx=Yo($3),Ox=Mx;function j3(e,t){if(t==="transparent")return t;var r=cp(t);return dp(qt({},r,{lightness:Jo(0,1,r.lightness+parseFloat(e))}))}B(j3,"lighten");var Px=Yo(j3),Nx=Px;function V3(e,t){if(t==="transparent")return t;var r=Ko(t),n=typeof r.alpha=="number"?r.alpha:1,a=qt({},r,{alpha:Jo(0,1,(n*100+parseFloat(e)*100)/100)});return fa(a)}B(V3,"opacify");var Hx=Yo(V3),$x=Hx;function U3(e,t){if(t==="transparent")return t;var r=Ko(t),n=typeof r.alpha=="number"?r.alpha:1,a=qt({},r,{alpha:Jo(0,1,+(n*100-parseFloat(e)*100).toFixed(2)/100)});return fa(a)}B(U3,"transparentize");var jx=Yo(U3),Vx=jx,V={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",positiveText:"#448028",negativeText:"#D43900",warningText:"#A15C20"},br={app:"#F6F9FC",gridCellSize:10,hoverable:Vx(.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}},q3=X1($9(),1),Ux=(0,q3.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,q3.default)(1)(({color:e,background:t,typography:r})=>{let n=Ux({typography:r});return{...n,body:{...n.body,color:e.defaultText,background:t.app,overflow:"hidden"},hr:{...n.hr,borderTop:`1px solid ${e.border}`}}});var qx={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},Wx=qx,Gx={base:"light",colorPrimary:"#FF4785",colorSecondary:"#029CFD",appBg:br.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:br.app,buttonBorder:V.medium,booleanBg:V.mediumlight,booleanSelectedBg:V.lightest,inputBg:V.lightest,inputBorder:V.border,inputTextColor:V.darkest,inputBorderRadius:4},Bl=Gx,Kx=(()=>{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:Yx}=__STORYBOOK_MODULE_CLIENT_LOGGER__;var{window:xu}=Kx,Jx=B(e=>({color:e}),"mkColor"),Zx=B(e=>typeof e!="string"?(Yx.warn(`Color passed to theme object should be a string. Instead ${e}(${typeof e}) was passed.`),!1):!0,"isColorString"),Xx=B(e=>!/(gradient|var|calc)/.test(e),"isValidColorForPolished"),Qx=B((e,t)=>e==="darken"?fa(`${Ox(1,t)}`,.95):e==="lighten"?fa(`${Nx(1,t)}`,.95):t,"applyPolished"),W3=B(e=>t=>{if(!Zx(t)||!Xx(t))return t;try{return Qx(e,t)}catch{return t}},"colorFactory"),$a=W3("lighten");W3("darken");var G3=B(()=>!xu||!xu.matchMedia?"light":xu.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light","getPreferredColorScheme"),Y0={light:Bl,dark:Wx,normal:Bl};G3();var eS={rubber:"cubic-bezier(0.175, 0.885, 0.335, 1.05)"},tS=xt` + from { + transform: rotate(0deg); + } + to { + transform: rotate(360deg); + } +`,K3=xt` + 0%, 100% { opacity: 1; } + 50% { opacity: .4; } +`,rS=xt` + 0% { transform: translateY(1px); } + 25% { transform: translateY(0px); } + 50% { transform: translateY(-3px); } + 100% { transform: translateY(1px); } +`,nS=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); } +`,aS=Cs` + animation: ${K3} 1.5s ease-in-out infinite; + color: transparent; + cursor: progress; +`,oS=Cs` + transition: all 150ms ease-out; + transform: translate3d(0, 0, 0); + + &:hover { + transform: translate3d(0, -2px, 0); + } + + &:active { + transform: translate3d(0, 0, 0); + } +`,iS={rotate360:tS,glow:K3,float:rS,jiggle:nS,inlineGlow:aS,hoverable:oS},lS={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"},sS={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"},uS=B(e=>Object.entries(e).reduce((t,[r,n])=>({...t,[r]:Jx(n)}),{}),"convertColors"),cS=B(({colors:e,mono:t})=>{let r=uS(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"),dS={green1:"#008000",red1:"#A31515",red2:"#9a050f",red3:"#800000",red4:"#ff0000",gray1:"#393A34",cyan1:"#36acaa",cyan2:"#2B91AF",blue1:"#0000ff",blue2:"#00009f"},pS={green1:"#7C7C7C",red1:"#92C379",red2:"#9a050f",red3:"#A8FF60",red4:"#96CBFE",gray1:"#EDEDED",cyan1:"#C6C5FE",cyan2:"#FFFFB6",blue1:"#B474DD",blue2:"#00009f"},fS=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"),J0=B((e=Y0[G3()])=>{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:v,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:fS(e),background:{app:a,bar:b,content:o,preview:i,gridCellSize:L||br.gridCellSize,hoverable:br.hoverable,positive:br.positive,negative:br.negative,warning:br.warning,critical:br.critical},typography:{fonts:{base:d,mono:f},weight:Ht.weight,size:Ht.size},animation:iS,easing:eS,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:v||n,barBg:b,brand:{title:_,url:R,image:I||(_?null:void 0),target:T},code:cS({colors:t==="light"?dS:pS,mono:f}),addonActionsTheme:{...t==="light"?sS:lS,BASE_FONT_FAMILY:f,BASE_FONT_SIZE:Ht.size.s2-1,BASE_LINE_HEIGHT:"18px",BASE_BACKGROUND_COLOR:"transparent",BASE_COLOR:m,ARROW_COLOR:$x(.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:hS}=__STORYBOOK_MODULE_CLIENT_LOGGER__;var mS=B(e=>Object.keys(e).length===0,"isEmpty"),Su=B(e=>e!=null&&typeof e=="object","isObject"),gS=B((e,...t)=>Object.prototype.hasOwnProperty.call(e,...t),"hasOwnProperty"),vS=B(()=>Object.create(null),"makeObjectWithoutPrototype"),Y3=B((e,t)=>e===t||!Su(e)||!Su(t)?{}:Object.keys(e).reduce((r,n)=>{if(gS(t,n)){let a=Y3(e[n],t[n]);return Su(a)&&mS(a)||(r[n]=a),r}return r[n]=void 0,r},vS()),"deletedDiff"),yS=Y3;function J3(e){for(var t=[],r=1;r{if(!e)return J0(Bl);let t=yS(Bl,e);return Object.keys(t).length&&hS.warn(J3` + Your theme is missing properties, you should update your theme! + + theme-data missing: + `,t),J0(e)},"ensure"),Z0="/* emotion-disable-server-rendering-unsafe-selector-warning-please-do-not-use-this-the-warning-exists-for-a-reason */",xs=h9();const Z3=f9(xs);var wS=Object.create,Ss=Object.defineProperty,DS=Object.getOwnPropertyDescriptor,ES=Object.getOwnPropertyNames,CS=Object.getPrototypeOf,xS=Object.prototype.hasOwnProperty,u=(e,t)=>Ss(e,"name",{value:t,configurable:!0}),Ci=(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)Ss(e,r,{get:t[r],enumerable:!0})},SS=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of ES(t))!xS.call(e,a)&&a!==r&&Ss(e,a,{get:()=>t[a],enumerable:!(n=DS(t,a))||n.enumerable});return e},Ce=(e,t,r)=>(r=e!=null?wS(CS(e)):{},SS(t||!e||!e.__esModule?Ss(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 X3(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}var FS=z(()=>{u(X3,"_assertThisInitialized")});function ha(e,t){return ha=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,n){return r.__proto__=n,r},ha(e,t)}var fp=z(()=>{u(ha,"_setPrototypeOf")});function Rl(e){return Rl=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},Rl(e)}var AS=z(()=>{u(Rl,"_getPrototypeOf")}),As,hp=z(()=>{As=(()=>{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})()}),ks=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 Ci=="function"&&Ci;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 v=n[d][1][g];return i(v||g)},h,h.exports,r,n,a,o)}return a[d].exports}u(i,"s");for(var s=typeof Ci=="function"&&Ci,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,v;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 _s(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 mp=z(()=>{u(_s,"_objectWithoutPropertiesLoose")});function Q3(e,t){if(e==null)return{};var r,n,a=_s(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 kS=z(()=>{mp(),u(Q3,"_objectWithoutProperties")});function Il(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r{u(Il,"_arrayLikeToArray")});function ty(e){if(Array.isArray(e))return Il(e)}var _S=z(()=>{ey(),u(ty,"_arrayWithoutHoles")});function ry(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}var BS=z(()=>{u(ry,"_iterableToArray")});function ny(e,t){if(e){if(typeof e=="string")return Il(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)?Il(e,t):void 0}}var RS=z(()=>{ey(),u(ny,"_unsupportedIterableToArray")});function ay(){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 IS=z(()=>{u(ay,"_nonIterableSpread")});function oy(e){return ty(e)||ry(e)||ny(e)||ay()}var zS=z(()=>{_S(),BS(),RS(),IS(),u(oy,"_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 iy=z(()=>{u(ma,"_typeof")});function ly(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 TS=z(()=>{iy(),u(ly,"toPrimitive")});function sy(e){var t=ly(e,"string");return ma(t)=="symbol"?t:t+""}var LS=z(()=>{iy(),TS(),u(sy,"toPropertyKey")});function gp(e,t,r){return(t=sy(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var uy=z(()=>{LS(),u(gp,"_defineProperty")});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 en(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 dy(e){if(e.length===0||e.length===1)return e;var t=e.join(".");return nl[t]||(nl[t]=cy(e)),nl[t]}function py(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=dy(n);return a.reduce(function(o,i){return en(en({},o),r[i])},t)}function Q0(e){return e.join(" ")}function fy(e,t){var r=0;return function(n){return r+=1,n.map(function(a,o){return Bs({node:a,stylesheet:e,useInlineStyles:t,key:"code-segment-".concat(r,"-").concat(o)})})}}function Bs(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=fy(r,o),p;if(!o)p=en(en({},s),{},{className:Q0(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"]:[],v=s.className&&g.concat(s.className.filter(function(C){return!h.includes(C)}));p=en(en({},s),{},{className:Q0(v)||void 0,style:py(s.className,Object.assign({},s.style,a),r)})}var b=m(t.children);return y.createElement(d,Te({key:i},p),b)}}var nl,hy=z(()=>{Fs(),uy(),u(X0,"ownKeys"),u(en,"_objectSpread"),u(cy,"powerSetPermutations"),nl={},u(dy,"getClassNameCombinations"),u(py,"createStyleObject"),u(Q0,"createClassNameString"),u(fy,"createChildren"),u(Bs,"createElement")}),my,MS=z(()=>{my=u(function(e,t){var r=e.listLanguages();return r.indexOf(t)!==-1},"default")});function ed(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 So({children:x,lineNumber:S,lineNumberStyle:s,largestLineNumber:i,showInlineLineNumbers:a,lineProps:r,className:F,showLineNumbers:n,wrapLongLines:c})}u(g,"createWrappedLine");function v(x,S){if(n&&S&&a){var F=yp(s,S,i);x.unshift(vp(S,F))}return x}u(v,"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):v(x,S)}u(b,"createLine");for(var C=u(function(){var x=f[h],S=x.children[0].value,F=gy(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(So({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=So({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{kS(),zS(),uy(),hy(),MS(),xy=["language","children","style","customStyle","codeTagProps","useInlineStyles","showLineNumbers","showInlineLineNumbers","startingLineNumber","lineNumberContainerStyle","lineNumberStyle","wrapLines","wrapLongLines","lineProps","renderer","PreTag","CodeTag","code","astGenerator"],u(ed,"ownKeys"),u(ft,"_objectSpread"),Sy=/\n/g,u(gy,"getNewLines"),u(vy,"getAllLineNumbers"),u(yy,"AllLineNumbers"),u(by,"getEmWidthOfNumber"),u(vp,"getInlineLineNumber"),u(yp,"assembleLineNumberStyles"),u(So,"createLineElement"),u(bp,"flattenCodeTree"),u(wy,"processLines"),u(Dy,"defaultRenderer"),u(wp,"isHighlightJs"),u(Ey,"getCodeTree"),u(Cy,"default")}),PS=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")}),NS=U((e,t)=>{var r=PS(),n=Fy();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")}),Ay=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")}),Ep=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")}),ky=U((e,t)=>{var r=Ay(),n=Ep();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=Dp(),n=Fy(),a=ky();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,v;for(g in f)v=new a(g,m(d,g),f[g],s),c.indexOf(g)!==-1&&(v.mustUseProperty=!0),p[g]=v,h[r(g)]=g,h[r(v.attribute)]=g;return new n(p,h,s)}u(o,"create")}),HS=U((e,t)=>{var r=Zo();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")}),$S=U((e,t)=>{var r=Zo();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")}),jS=U((e,t)=>{t.exports=r;function r(n,a){return a in n?n[a]:a}u(r,"caseSensitiveTransform")}),_y=U((e,t)=>{var r=jS();t.exports=n;function n(a,o){return r(a,o.toLowerCase())}u(n,"caseInsensitiveTransform")}),VS=U((e,t)=>{var r=Zo(),n=_y();t.exports=r({space:"xmlns",attributes:{xmlnsxlink:"xmlns:xlink"},transform:n,properties:{xmlns:null,xmlnsXLink:null}})}),US=U((e,t)=>{var r=Ep(),n=Zo(),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")}),qS=U((e,t)=>{var r=Ep(),n=Zo(),a=_y(),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}})}),WS=U((e,t)=>{var r=NS(),n=HS(),a=$S(),o=VS(),i=US(),s=qS();t.exports=r([a,n,o,i,s])}),GS=U((e,t)=>{var r=Dp(),n=ky(),a=Ay(),o="data";t.exports=d;var i=/^data[-\w.:]+$/i,s=/-[a-z]/g,c=/[A-Z]/g;function d(g,v){var b=r(v),C=v,E=a;return b in g.normal?g.property[g.normal[b]]:(b.length>4&&b.slice(0,4)===o&&i.test(v)&&(v.charAt(4)==="-"?C=f(v):v=m(v),E=n),new E(C,v))}u(d,"find");function f(g){var v=g.slice(5).replace(s,h);return o+v.charAt(0).toUpperCase()+v.slice(1)}u(f,"datasetToProperty");function m(g){var v=g.slice(4);return s.test(v)?g:(v=v.replace(c,p),v.charAt(0)!=="-"&&(v="-"+v),o+v)}u(m,"datasetToAttribute");function p(g){return"-"+g.toLowerCase()}u(p,"kebab");function h(g){return g.charAt(1).toUpperCase()}u(h,"camelcase")}),KS=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")}),JS=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=GS(),n=Dp(),a=KS(),o=YS().parse,i=JS().parse;t.exports=c;var s={}.hasOwnProperty;function c(b,C,E){var D=E?v(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=WS(),n=ZS(),a=n(r,"div");a.displayName="html",t.exports=a}),QS=U((e,t)=>{t.exports=XS()}),eF=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:"ÿ"}}),tF=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:"Ÿ"}}),By=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")}),rF=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")}),nF=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")}),aF=U((e,t)=>{var r=nF(),n=By();t.exports=a;function a(o){return r(o)||n(o)}u(a,"alphanumerical")}),oF=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")}),iF=U((e,t)=>{var r=eF(),n=tF(),a=By(),o=rF(),i=aF(),s=oF();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,v=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,Pr=Z.indent||[],kn=$.length,_t=0,yi=-1,Re=kt.column||1,Nr=kt.line||1,Bt="",_n=[],Rt,Bn,It,Se,lt,ye,ce,zt,bi,bu,Hr,Pa,$r,tr,Ah,Na,wi,Tt,be;for(typeof re=="string"&&(re=re.charCodeAt(0)),Na=Ha(),zt=We?u9:f,_t--,kn++;++_t65535&&(ye-=65536,bu+=d(ye>>>10|55296),ye=56320|ye&1023),ye=bu+d(ye))):tr!==A&&zt(N,Tt)),ye?(kh(),Na=Ha(),_t=be-1,Re+=be-$r+1,_n.push(ye),wi=Ha(),wi.offset++,At&&At.call(H,ye,{start:Na,end:wi},$.slice($r-1,be)),Na=wi):(Se=$.slice($r-1,be),Bt+=Se,Re+=Se.length,_t=be-1)}else lt===10&&(Nr++,yi++,Re=0),lt===lt?(Bt+=d(lt),Re++):kh();return _n.join("");function Ha(){return{line:Nr,column:Re,offset:_t+(kt.offset||0)}}function u9(_h,Bh){var wu=Ha();wu.column+=Bh,wu.offset+=Bh,We.call(it,J[_h],wu,_h)}function kh(){Bt&&(_n.push(Bt),xe&&xe.call(ot,Bt,{start:Na,end:Ha()}),Bt="")}}u(ne,"parse");function X($){return $>=55296&&$<=57343||$>1114111}u(X,"prohibited");function le($){return $>=1&&$<=8||$===11||$>=13&&$<=31||$>=127&&$<=159||$>=64976&&$<=65007||($&65535)===65535||($&65535)===65534}u(le,"disallowed")}),lF=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),v(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,le=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")}),Iy=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")}),sF=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")}),uF=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")}),cF=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=QS(),o=iF(),i=lF(),s=Ry(),c=Iy(),d=sF(),f=uF();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=v,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 v(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{OS(),xi=Ce(cF()),Si=Cy(xi.default,{}),Si.registerLanguage=function(e,t){return xi.default.register(t)},Si.alias=function(e,t){return xi.default.alias(e,t)},al=Si}),pF=z(()=>{hy()}),fF=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{jh=Ce(fF()),zy=jh.default}),Vh,Ty,mF=z(()=>{Vh=Ce(Iy()),Ty=Vh.default}),gF=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 v=d(/^\{$/,/^\}$/);if(v===-1)continue;for(var b=i;b=0&&f(C,"variable-input")}}}}},"afterTokenizeGraphql"))}u(r,"graphql")}),Uh,Ly,vF=z(()=>{Uh=Ce(gF()),Ly=Uh.default}),yF=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{qh=Ce(yF()),My=qh.default}),wF=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")}),Wh,Oy,DF=z(()=>{Wh=Ce(wF()),Oy=Wh.default}),Py=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(v.content[0].content[1])&&h.pop():v.content[v.content.length-1].content==="/>"||h.push({tagName:f(v.content[0].content[1]),openedBraces:0}):h.length>0&&v.type==="punctuation"&&v.content==="{"?h[h.length-1].openedBraces++:h.length>0&&h[h.length-1].openedBraces>0&&v.type==="punctuation"&&v.content==="}"?h[h.length-1].openedBraces--:b=!0),(b||typeof v=="string")&&h.length>0&&h[h.length-1].openedBraces===0){var C=f(v);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)}v.content&&typeof v.content!="string"&&m(v.content)}},"walkTokens");a.hooks.add("after-tokenize",function(p){p.language!=="jsx"&&p.language!=="tsx"||m(p.tokens)})})(n)}u(r,"jsx")}),Gh,Ny,EF=z(()=>{Gh=Ce(Py()),Ny=Gh.default}),CF=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(v){g!==v&&(a.languages.markdown[g].inside.content.inside[v]=a.languages.markdown[v])})}),a.hooks.add("after-tokenize",function(g){if(g.language!=="markdown"&&g.language!=="md")return;function v(b){if(!(!b||typeof b=="string"))for(var C=0,E=b.length;C",quot:'"'},p=String.fromCodePoint||String.fromCharCode;function h(g){var v=g.replace(f,"");return v=v.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}}),v}u(h,"textContent"),a.languages.md=a.languages.markdown})(n)}u(r,"markdown")}),Kh,Hy,xF=z(()=>{Kh=Ce(CF()),Hy=Kh.default}),Yh,$y,SF=z(()=>{Yh=Ce(Ry()),$y=Yh.default}),jy=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")}),FF=U((e,t)=>{var r=Py(),n=jy();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")}),Jh,Vy,AF=z(()=>{Jh=Ce(FF()),Vy=Jh.default}),Zh,Uy,kF=z(()=>{Zh=Ce(jy()),Uy=Zh.default}),_F=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")}),Xh,qy,BF=z(()=>{Xh=Ce(_F()),qy=Xh.default}),Qh,Fu,Rs,Wy=z(()=>{Qh=k.div(({theme:e})=>({position:"absolute",bottom:0,right:0,maxWidth:"100%",display:"flex",background:e.background.content,zIndex:1})),Fu=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}),Fu.displayName="ActionButton",Rs=u(({actionItems:e,...t})=>y.createElement(Qh,{...t},e.map(({title:r,className:n,onClick:a,disabled:o},i)=>y.createElement(Fu,{key:i,className:n,onClick:a,disabled:!!o},r))),"ActionBar")});function Gy(e,t){typeof e=="function"?e(t):e!=null&&(e.current=t)}function Is(...e){return t=>e.forEach(r=>Gy(r,t))}function Le(...e){return l.useCallback(Is(...e),e)}var zr=z(()=>{u(Gy,"setRef"),u(Is,"composeRefs"),u(Le,"useComposedRefs")});function em(e){return l.isValidElement(e)&&e.type===Ky}function tm(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 rm(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 td,Fi,Ky,RF=z(()=>{zr(),td=l.forwardRef((e,t)=>{let{children:r,...n}=e,a=l.Children.toArray(r),o=a.find(em);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(Fi,{...n,ref:t,children:l.isValidElement(i)?l.cloneElement(i,void 0,s):null})}return O.jsx(Fi,{...n,ref:t,children:r})}),td.displayName="Slot",Fi=l.forwardRef((e,t)=>{let{children:r,...n}=e;if(l.isValidElement(r)){let a=rm(r);return l.cloneElement(r,{...tm(n,r.props),ref:t?Is(t,a):a})}return l.Children.count(r)>1?l.Children.only(null):null}),Fi.displayName="SlotClone",Ky=u(({children:e})=>O.jsx(O.Fragment,{children:e}),"Slottable"),u(em,"isSlottable"),u(tm,"mergeProps"),u(rm,"getElementRef")});function Yy(e,t){e&&xs.flushSync(()=>e.dispatchEvent(t))}var nm,Me,Xo=z(()=>{RF(),nm=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"],Me=nm.reduce((e,t)=>{let r=l.forwardRef((n,a)=>{let{asChild:o,...i}=n,s=o?td: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(Yy,"dispatchDiscreteCustomEvent")}),Fr,Qo=z(()=>{Fr=globalThis!=null&&globalThis.document?l.useLayoutEffect:()=>{}});function Jy(e,t){return l.useReducer((r,n)=>t[r][n]??r,e)}function am(e){let[t,r]=l.useState(),n=l.useRef({}),a=l.useRef(e),o=l.useRef("none"),i=e?"mounted":"unmounted",[s,c]=Jy(i,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return l.useEffect(()=>{let d=lo(n.current);o.current=s==="mounted"?d:"none"},[s]),Fr(()=>{let d=n.current,f=a.current;if(f!==e){let m=o.current,p=lo(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]),Fr(()=>{if(t){let d=u(m=>{let p=lo(n.current).includes(m.animationName);m.target===t&&p&&xs.flushSync(()=>c("ANIMATION_END"))},"handleAnimationEnd"),f=u(m=>{m.target===t&&(o.current=lo(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 lo(e){return(e==null?void 0:e.animationName)||"none"}function om(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,IF=z(()=>{"use client";zr(),Qo(),u(Jy,"useStateMachine"),Gn=u(e=>{let{present:t,children:r}=e,n=am(t),a=typeof r=="function"?r({present:n.isPresent}):l.Children.only(r),o=Le(n.ref,om(a));return typeof r=="function"||n.isPresent?l.cloneElement(a,{ref:o}):null},"Presence"),Gn.displayName="Presence",u(am,"usePresence"),u(lo,"getAnimationName"),u(om,"getElementRef")});function Zy(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,v=(p==null?void 0:p[e][c])||s,b=l.useMemo(()=>g,Object.values(g));return O.jsx(v.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,Xy(a,...t)]}function Xy(...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 zF=z(()=>{u(Zy,"createContextScope"),u(Xy,"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 ei=z(()=>{u(Oe,"useCallbackRef")});function Qy(e){let t=l.useContext(eb);return e||t||"ltr"}var eb,TF=z(()=>{eb=l.createContext(void 0),u(Qy,"useDirection")});function tb(e,[t,r]){return Math.min(r,Math.max(t,e))}var LF=z(()=>{u(tb,"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 Cp=z(()=>{u(Be,"composeEventHandlers")});function im(e,t){return l.useReducer((r,n)=>t[r][n]??r,e)}function ja(e){return e?parseInt(e,10):0}function rd(e,t){let r=e/t;return isNaN(r)?0:r}function Fo(e){let t=rd(e.viewport,e.content),r=e.scrollbar.paddingStart+e.scrollbar.paddingEnd,n=(e.scrollbar.size-r)*t;return Math.max(n,18)}function lm(e,t,r,n="ltr"){let a=Fo(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 xp([c,d],m)(e)}function Au(e,t,r="ltr"){let n=Fo(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=tb(e,c);return xp([0,i],[0,s])(d)}function xp(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 ku(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 jr(e,t){let r=Oe(t);Fr(()=>{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 sm(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 Ai,_u,MF,um,Ge,Bu,Ru,Iu,st,zu,cm,dm,Tu,ki,pm,fm,hm,Lu,Mu,Ua,Ou,mm,_i,Pu,gm,vm,rb,nb,ab,ob,ib,OF=z(()=>{"use client";Xo(),IF(),zF(),zr(),ei(),TF(),Qo(),LF(),Cp(),u(im,"useStateMachine"),Ai="ScrollArea",[_u,MF]=Zy(Ai),[um,Ge]=_u(Ai),Bu=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),[v,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=Qy(a);return O.jsx(um,{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:v,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}})})}),Bu.displayName=Ai,Ru="ScrollAreaViewport",Iu=l.forwardRef((e,t)=>{let{__scopeScrollArea:r,children:n,asChild:a,nonce:o,...i}=e,s=Ge(Ru,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:sm({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}))})]})}),Iu.displayName=Ru,st="ScrollAreaScrollbar",zu=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(cm,{...n,ref:t,forceMount:r}):a.type==="scroll"?O.jsx(dm,{...n,ref:t,forceMount:r}):a.type==="auto"?O.jsx(Tu,{...n,ref:t,forceMount:r}):a.type==="always"?O.jsx(ki,{...n,ref:t}):null}),zu.displayName=st,cm=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(Tu,{"data-state":o?"visible":"hidden",...n,ref:t})})}),dm=l.forwardRef((e,t)=>{let{forceMount:r,...n}=e,a=Ge(st,e.__scopeScrollArea),o=e.orientation==="horizontal",i=Va(()=>c("SCROLL_END"),100),[s,c]=im("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(ki,{"data-state":s==="hidden"?"hidden":"visible",...n,ref:t,onPointerEnter:Be(e.onPointerEnter,()=>c("POINTER_ENTER")),onPointerLeave:Be(e.onPointerLeave,()=>c("POINTER_LEAVE"))})})}),Tu=l.forwardRef((e,t)=>{let r=Ge(st,e.__scopeScrollArea),{forceMount:n,...a}=e,[o,i]=l.useState(!1),s=e.orientation==="horizontal",c=Va(()=>{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=rd(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 lm(p,i.current,s,h)}return u(m,"getScrollPosition"),r==="horizontal"?O.jsx(pm,{...f,ref:t,onThumbPositionChange:u(()=>{if(a.viewport&&o.current){let p=a.viewport.scrollLeft,h=Au(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(fm,{...f,ref:t,onThumbPositionChange:u(()=>{if(a.viewport&&o.current){let p=a.viewport.scrollTop,h=Au(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}),pm=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(Mu,{"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":Fo(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),ku(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:ja(i.paddingLeft),paddingEnd:ja(i.paddingRight)}})},"onResize")})}),fm=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(Mu,{"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":Fo(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),ku(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:ja(i.paddingTop),paddingEnd:ja(i.paddingBottom)}})},"onResize")})}),[hm,Lu]=_u(st),Mu=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,v]=l.useState(null),b=Le(t,_=>v(_)),C=l.useRef(null),E=l.useRef(""),D=h.viewport,w=n.content-n.viewport,x=Oe(f),S=Oe(c),F=Va(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]),jr(g,F),jr(h.content,F),O.jsx(hm,{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})})})}),Ua="ScrollAreaThumb",Ou=l.forwardRef((e,t)=>{let{forceMount:r,...n}=e,a=Lu(Ua,e.__scopeScrollArea);return O.jsx(Gn,{present:r||a.hasThumb,children:O.jsx(mm,{ref:t,...n})})}),mm=l.forwardRef((e,t)=>{let{__scopeScrollArea:r,style:n,...a}=e,o=Ge(Ua,r),i=Lu(Ua,r),{onThumbPositionChange:s}=i,c=Le(t,m=>i.onThumbChange(m)),d=l.useRef(),f=Va(()=>{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=vm(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)})}),Ou.displayName=Ua,_i="ScrollAreaCorner",Pu=l.forwardRef((e,t)=>{let r=Ge(_i,e.__scopeScrollArea),n=!!(r.scrollbarX&&r.scrollbarY);return r.type!=="scroll"&&n?O.jsx(gm,{...e,ref:t}):null}),Pu.displayName=_i,gm=l.forwardRef((e,t)=>{let{__scopeScrollArea:r,...n}=e,a=Ge(_i,r),[o,i]=l.useState(0),[s,c]=l.useState(0),d=!!(o&&s);return jr(a.scrollbarX,()=>{var m;let f=((m=a.scrollbarX)==null?void 0:m.offsetHeight)||0;a.onCornerHeightChange(f),c(f)}),jr(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(ja,"toInt"),u(rd,"getThumbRatio"),u(Fo,"getThumbSize"),u(lm,"getScrollPositionFromPointer"),u(Au,"getThumbOffsetFromScroll"),u(xp,"linearScale"),u(ku,"isScrollingWithinScrollbarBounds"),vm=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(Va,"useDebounceCallback"),u(jr,"useResizeObserver"),u(sm,"getSubtree"),rb=Bu,nb=Iu,ab=zu,ob=Ou,ib=Pu}),ym,bm,Nu,Hu,Lo,Sp=z(()=>{OF(),ym=k(rb)(({scrollbarsize:e,offset:t})=>({width:"100%",height:"100%",overflow:"hidden","--scrollbar-size":`${e+t}px`,"--radix-scroll-area-thumb-width":`${e}px`})),bm=k(nb)({width:"100%",height:"100%"}),Nu=k(ab)(({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}})),Hu=k(ob)(({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%"}})),Lo=l.forwardRef(({children:e,horizontal:t=!1,vertical:r=!1,offset:n=2,scrollbarSize:a=6,className:o},i)=>y.createElement(ym,{scrollbarsize:a,offset:n,className:o},y.createElement(bm,{ref:i},e),t&&y.createElement(Nu,{orientation:"horizontal",offset:n,horizontal:t.toString(),vertical:r.toString()},y.createElement(Hu,null)),r&&y.createElement(Nu,{orientation:"vertical",offset:n,horizontal:t.toString(),vertical:r.toString()},y.createElement(Hu,null)),t&&r&&y.createElement(ib,null))),Lo.displayName="ScrollArea"}),Fp={};Sa(Fp,{SyntaxHighlighter:()=>Ao,createCopyToClipboardFunction:()=>zl,default:()=>lb,supportedLanguages:()=>nd});const{logger:PF}=__STORYBOOK_MODULE_CLIENT_LOGGER__;function zl(){return so!=null&&so.clipboard?e=>so.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 wm,so,Hn,Dm,nd,Em,Cm,xm,Sm,Fm,Am,km,$u,_m,Bm,Ao,lb,zs=z(()=>{hp(),wm=Ce(ks(),1),pF(),hF(),mF(),vF(),bF(),DF(),EF(),xF(),SF(),AF(),kF(),BF(),dF(),Wy(),Sp(),{navigator:so,document:Hn,window:Dm}=As,nd={jsextra:My,jsx:Ny,json:Oy,yml:qy,md:Hy,bash:zy,css:Ty,html:$y,tsx:Vy,typescript:Uy,graphql:Ly},Object.entries(nd).forEach(([e,t])=>{al.registerLanguage(e,t)}),Em=(0,wm.default)(2)(e=>Object.entries(e.code||{}).reduce((t,[r,n])=>({...t,[`* .${r}`]:n}),{})),Cm=zl(),u(zl,"createCopyToClipboardFunction"),xm=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)"}}:{}),Sm=u(({children:e,className:t})=>y.createElement(Lo,{horizontal:!0,vertical:!0,className:t},e),"UnstyledScroller"),Fm=k(Sm)({position:"relative"},({theme:e})=>Em(e)),Am=k.pre(({theme:e,padded:t})=>({display:"flex",justifyContent:"flex-start",margin:0,padding:t?e.layoutMargin:0})),km=k.div(({theme:e})=>({flex:1,paddingLeft:2,paddingRight:e.layoutMargin,opacity:1,fontFamily:e.typography.fonts.mono})),$u=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"),_m=u(({rows:e,stylesheet:t,useInlineStyles:r})=>e.map((n,a)=>Bs({node:$u(n),stylesheet:t,useInlineStyles:r,key:`code-segement${a}`})),"defaultRenderer"),Bm=u((e,t)=>t?e?({rows:r,...n})=>e({rows:r.map(a=>$u(a)),...n}):_m:e,"wrapRenderer"),Ao=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(),Cm(f).then(()=>{h(!0),Dm.setTimeout(()=>h(!1),1500)}).catch(PF.error)},[f]),v=Bm(d.renderer,c);return y.createElement(xm,{bordered:n,padded:a,showLineNumbers:c,className:s},y.createElement(Fm,null,y.createElement(al,{padded:a||n,language:t,showLineNumbers:c,showInlineLineNumbers:c,useInlineStyles:!1,PreTag:Am,CodeTag:km,lineNumberContainerStyle:{},...d,renderer:v},f)),r?y.createElement(Rs,{actionItems:[{title:p?"Copied":"Copy",onClick:g}]}):null)},"SyntaxHighlighter"),Ao.registerLanguage=(...e)=>al.registerLanguage(...e),lb=Ao});function Rm(e){if(typeof e=="string")return Yp;if(Array.isArray(e))return Jp;if(!e)return;let{type:t}=e;if(Zp.has(t))return t}function Im(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(Xp(e))throw new Error("doc is valid.");let r=Object.prototype.toString.call(e);if(r!=="[object Object]")return`Unexpected doc '${r}'.`;let n=p7([...Zp].map(a=>`'${a}'`));return`Unexpected doc.type '${e.type}'. +Expected it to be ${n}.`}function St(e){return Br(e),{type:Pl,contents:e}}function Ap(e,t){return Br(t),{type:Nl,contents:t,n:e}}function pe(e,t={}){return Br(e),Hs(t.expandedStates,!0),{type:Hl,id:t.id,contents:e,break:!!t.shouldBreak,expandedStates:t.expandedStates}}function sb(e){return Ap(Number.NEGATIVE_INFINITY,e)}function ub(e){return Ap({type:"root"},e)}function kp(e){return Hs(e),{type:$l,parts:e}}function Mo(e,t="",r={}){return Br(e),t!==""&&Br(t),{type:jl,breakContents:e,flatContents:t,groupId:r.groupId}}function cb(e,t){return Br(e),{type:Vl,contents:e,groupId:t.groupId,negate:t.negate}}function bn(e,t){Br(e),Hs(t);let r=[];for(let n=0;ntypeof r=="string"?bn(t,r.split(` +`)):r)}function zm(e,t){let r=t===!0||t===ho?ho:gd,n=r===ho?gd:ho,a=0,o=0;for(let i of e)i===r?a++:i===n&&o++;return a>o?n:r}function Tm(e){if(typeof e!="string")throw new TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}function Lm(e){return(e==null?void 0:e.type)==="front-matter"}function ju(e,t){var r;if(e.type==="text"||e.type==="comment"||ii(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)v7.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 Mm(e,t){if(e.language==="yaml"){let r=e.value.trim(),n=r?await t(r,{parser:"yaml"}):"";return ub([e.startDelimiter,e.explicitLanguage,ae,n,n?ae:"",e.endDelimiter])}}function ti(e,t=!0){return[St([Ee,e]),t?Ee:""]}function wn(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):ti(o)}function Om(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},wn)}function ad(e,t){if(!t)return;let r=w7(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 db(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 Pm(e,t){let r=e.plugins.flatMap(a=>a.languages??[]),n=db(r,t.language)??ad(r,t.physicalFile)??ad(r,t.file)??(t.physicalFile,void 0);return n==null?void 0:n.parsers[0]}function Nm(e){return e.type==="element"&&!e.hasExplicitNamespace&&!["html","svg"].includes(e.namespace)}function Bp(e,t){return!!(e.type==="ieConditionalComment"&&e.lastChild&&!e.lastChild.isSelfClosing&&!e.lastChild.endSourceSpan||e.type==="ieConditionalComment"&&!e.complete||dn(e)&&e.children.some(r=>r.type!=="text"&&r.type!=="interpolation")||Ls(e,t)&&!Wt(e)&&e.type!=="interpolation")}function ri(e){return e.type==="attribute"||!e.parent||!e.prev?!1:pb(e.prev)}function pb(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 fb(e){return e.children&&!Wt(e)}function hb(e){return Wt(e)||e.type==="interpolation"||Rp(e)}function Rp(e){return Pp(e).startsWith("pre")}function mb(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 ii(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:dn(e.parent)?!0:!(!e.prev&&(e.parent.type==="root"||dn(e)&&e.parent||Wt(e.parent)||ni(e.parent,t)||!xb(e.parent.cssDisplay))||e.prev&&!Ab(e.prev.cssDisplay))}}function gb(e,t){return ii(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:dn(e.parent)?!0:!(!e.next&&(e.parent.type==="root"||dn(e)&&e.parent||Wt(e.parent)||ni(e.parent,t)||!Sb(e.parent.cssDisplay))||e.next&&!Fb(e.next.cssDisplay))}function vb(e){return kb(e.cssDisplay)&&!Wt(e)}function uo(e){return ii(e)||e.next&&e.sourceSpan.end&&e.sourceSpan.end.line+10&&(["body","script","style"].includes(e.name)||e.children.some(t=>wb(t)))||e.firstChild&&e.firstChild===e.lastChild&&e.firstChild.type!=="text"&&Tp(e.firstChild)&&(!e.lastChild.isTrailingSpaceSensitive||Lp(e.lastChild))}function Ip(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 ol(e){return Mp(e)||e.prev&&bb(e.prev)||zp(e)}function bb(e){return Mp(e)||e.type==="element"&&e.fullName==="br"||zp(e)}function zp(e){return Tp(e)&&Lp(e)}function Tp(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 Mp(e){switch(e.type){case"ieConditionalComment":case"comment":case"directive":return!0;case"element":return["script","select"].includes(e.name)}return!1}function Ts(e){return e.lastChild?Ts(e.lastChild):e}function wb(e){var t;return(t=e.children)==null?void 0:t.some(r=>r.type!=="text")}function Op(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 Db(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":li(t,{language:o})??Op(a)}function Eb(e,t){if(!Ls(e,t))return;let{attrMap:r}=e;if(Object.prototype.hasOwnProperty.call(r,"src"))return;let{type:n,lang:a}=r;return li(t,{language:a})??Op(n)}function Cb(e,t){if(e.name!=="style")return;let{lang:r}=e.attrMap;return r?li(t,{language:r}):"css"}function od(e,t){return Db(e,t)??Cb(e,t)??Eb(e,t)}function Fa(e){return e==="block"||e==="list-item"||e.startsWith("table")}function xb(e){return!Fa(e)&&e!=="inline-block"}function Sb(e){return!Fa(e)&&e!=="inline-block"}function Fb(e){return!Fa(e)}function Ab(e){return!Fa(e)}function kb(e){return!Fa(e)&&e!=="inline-block"}function dn(e){return Pp(e).startsWith("pre")}function _b(e,t){let r=e;for(;r;){if(t(r))return!0;r=r.parent}return!1}function Bb(e,t){var r;if(Dn(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(_b(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))&&E7[e.name]||D7}}function Pp(e){return e.type==="element"&&(!e.namespace||va(e))&&x7[e.name]||C7}function Rb(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 Hp(e){return je(!1,je(!1,e,"'","'"),""",'"')}function dr(e){return Hp(e.value)}function ni(e,t){return Dn(e,t)&&!F7.has(e.fullName)}function Dn(e,t){return t.parser==="vue"&&e.type==="element"&&e.parent.type==="root"&&e.fullName.toLowerCase()!=="html"}function Ls(e,t){return Dn(e,t)&&(ni(e,t)||e.attrMap.lang&&e.attrMap.lang!=="html")}function Ib(e){let t=e.fullName;return t.charAt(0)==="#"||t==="slot-scope"||t==="v-slot"||t.startsWith("v-slot:")}function zb(e,t){let r=e.parent;if(!Dn(r,t))return!1;let n=r.fullName,a=e.fullName;return n==="script"&&a==="setup"||n==="style"&&a==="vars"}function $p(e,t=e.value){return e.parent.isWhitespaceSensitive?e.parent.isIndentationSensitive?et(t):et(Np(Qp(t)),ae):bn(ve,mt.split(t))}function jp(e,t){return Dn(e,t)&&e.name==="script"}async function Tb(e,t){let r=[];for(let[n,a]of e.split(ef).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 Bi({parser:e}){return(t,r,n)=>tt(dr(n.node),t,{parser:e},wn)}function Hm(e,t){if(t.parser!=="angular")return;let{node:r}=e,n=r.fullName;if(n.startsWith("(")&&n.endsWith(")")||n.startsWith("on-"))return A7;if(n.startsWith("[")&&n.endsWith("]")||/^bind(?:on)?-/u.test(n)||/^ng-(?:if|show|hide|class|style)$/u.test(n))return k7;if(n.startsWith("*"))return _7;let a=dr(r);if(/^i18n(?:-.+)?$/u.test(n))return()=>ti(kp($p(r,a.trim())),!a.includes("@@"));if(ef.test(a))return o=>Tb(a,o)}function $m(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 id(e){return e===" "||e===` +`||e==="\f"||e==="\r"||e===" "}function jm(e){let t=e.length,r,n,a,o,i,s=0,c;function d(h){let g,v=h.exec(e.substring(s));if(v)return[g]=v,s+=g.length,g}u(d,"p");let f=[];for(;;){if(d(z7),s>=t){if(f.length===0)throw new Error("Must contain one or more image candidate strings.");return f}c=s,r=d(T7),n=[],r.slice(-1)===","?(r=r.replace(L7,""),p()):m()}function m(){for(d(I7),a="",o="in descriptor";;){if(i=e.charAt(s),o==="in descriptor")if(id(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"&&!id(i))if(i===""){p();return}else o="in descriptor",s-=1;s+=1}}u(m,"f");function p(){let h=!1,g,v,b,C,E={},D,w,x,S,F;for(C=0;CLb(dr(e.node))}function Lb(e){let t=O7(e),r=P7.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=yd[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 ti(bn([",",ve],o.map((f,m)=>{let p=[f],h=s[m];if(h){let g=i-f.length+1,v=d-c[m],b=" ".repeat(g+v);p.push(Mo(b," "),h+a)}return p})))}function Mb(e,t){let{node:r}=e,n=dr(e.node).trim();if(r.fullName==="style"&&!t.parentParser&&!n.includes("{{"))return async a=>ti(await a(n,{parser:"css",__isHTMLStyleAttribute:!0}))}function Um(e,t){let{root:r}=e;return ll.has(r)||ll.set(r,r.children.some(n=>jp(n,t)&&["ts","typescript"].includes(n.attrMap.lang))),ll.get(r)}function Ob(e,t,r){let{node:n}=r,a=dr(n);return tt(`type T<${a}> = any`,e,{parser:"babel-ts",__isEmbeddedTypescriptGenericParameters:!0},wn)}function Pb(e,t,{parseWithTs:r}){return tt(`function _(${e}) {}`,t,{parser:r?"babel-ts":"babel",__isVueBindings:!0})}async function Nb(e,t,r,n){let a=dr(r.node),{left:o,operator:i,right:s}=Hb(a),c=$s(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 Hb(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 qm(e,t){if(t.parser!=="vue")return;let{node:r}=e,n=r.fullName;if(n==="v-for")return Nb;if(n==="generic"&&jp(r.parent,t))return Ob;let a=dr(r),o=$s(e,t);if(Ib(r)||zb(r,t))return i=>Pb(a,i,{parseWithTs:o});if(n.startsWith("@")||n.startsWith("v-on:"))return i=>$b(a,i,{parseWithTs:o});if(n.startsWith(":")||n.startsWith("v-bind:"))return i=>jb(a,i,{parseWithTs:o});if(n.startsWith("v-"))return i=>Vp(a,i,{parseWithTs:o})}async function $b(e,t,{parseWithTs:r}){var n;try{return await Vp(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"},wn)}function jb(e,t,{parseWithTs:r}){return tt(e,t,{parser:r?"__vue_ts_expression":"__vue_expression"},wn)}function Vp(e,t,{parseWithTs:r}){return tt(e,t,{parser:r?"__ts_expression":"__js_expression"},wn)}function Wm(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[N7,Mb,R7,H7,B7]){let a=n(e,t);if(a)return Vb(a)}}}function Vb(e){return async(t,r,n,a)=>{let o=await e(t,r,n,a);if(o)return o=_p(o,i=>typeof i=="string"?je(!1,i,'"',"""):i),[n.node.rawName,'="',pe(o),'"']}}function Gm(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 Tl(e,t){return[e.isSelfClosing?"":Ub(e,t),Yn(e,t)]}function Ub(e,t){return e.lastChild&&ga(e.lastChild)?"":[qb(e,t),Ms(e,t)]}function Yn(e,t){return(e.next?kr(e.next):Ba(e.parent))?"":[_a(e,t),Ar(e,t)]}function qb(e,t){return Ba(e)?_a(e.lastChild,t):""}function Ar(e,t){return ga(e)?Ms(e.parent,t):ai(e)?Os(e.next,t):""}function Ms(e,t){if(tf(!e.isSelfClosing),Up(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 Up(e,t){return!e.isSelfClosing&&!e.endSourceSpan&&(ri(e)||Bp(e.parent,t))}function kr(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(Ts(e.lastChild))&&!dn(e)}function ga(e){return!e.next&&!e.hasTrailingSpaces&&e.isTrailingSpaceSensitive&&Ye(Ts(e))}function ai(e){return e.next&&!Ye(e.next)&&Ye(e)&&e.isTrailingSpaceSensitive&&!e.hasTrailingSpaces}function Wb(e){let t=e.trim().match(/^prettier-ignore-attribute(?:\s+(.+))?$/su);return t?t[1]?t[1].split(/\s+/u):!0:!1}function oi(e){return!e.prev&&e.isLeadingSpaceSensitive&&!e.hasLeadingSpaces}function Gb(e,t,r){var n;let{node:a}=e;if(!js(a.attrs))return a.isSelfClosing?" ":"";let o=((n=a.prev)==null?void 0:n.type)==="comment"&&Wb(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&&!Dn(a,t)?ae:ve,f=[St([c?" ":ve,bn(d,s)])];return a.firstChild&&oi(a.firstChild)||a.isSelfClosing&&Ba(a.parent)||c?f.push(a.isSelfClosing?" ":""):f.push(t.bracketSameLine?a.isSelfClosing?" ":"":a.isSelfClosing?ve:Ee),f}function Kb(e){return e.firstChild&&oi(e.firstChild)?"":Ps(e)}function Ll(e,t,r){let{node:n}=e;return[Jn(n,t),Gb(e,t,r),n.isSelfClosing?"":Kb(n)]}function Jn(e,t){return e.prev&&ai(e.prev)?"":[_r(e,t),Os(e,t)]}function _r(e,t){return oi(e)?Ps(e.parent):kr(e)?_a(e.prev,t):""}function Os(e,t){switch(e.type){case"ieConditionalComment":case"ieConditionalStartComment":return`<${e.rawName}`;default:return`<${e.rawName}`}}function Ps(e){switch(tf(!e.isSelfClosing),e.type){case"ieConditionalComment":return"]>";case"element":if(e.condition)return">";default:return">"}}function Km(e,t){if(!e.endSourceSpan)return"";let r=e.startSourceSpan.end.offset;e.firstChild&&oi(e.firstChild)&&(r-=Ps(e).length);let n=e.endSourceSpan.start.offset;return e.lastChild&&ga(e.lastChild)?n+=Ms(e,t).length:Ba(e)&&(n-=_a(e.lastChild,t).length),t.originalText.slice(r,n)}function Ym(e,t){let{node:r}=e;switch(r.type){case"element":if(Wt(r)||r.type==="interpolation")return;if(!r.isSelfClosing&&Ls(r,t)){let n=od(r,t);return n?async(a,o)=>{let i=rf(r,t),s=/^\s*$/u.test(i),c="";return s||(c=await a(Qp(i),{parser:n,__embeddedInHtml:!0}),s=c===""),[_r(r,t),pe(Ll(e,t,o)),s?"":ae,c,s?"":ae,Tl(r,t),Ar(r,t)]}:void 0}break;case"text":if(Wt(r.parent)){let n=od(r.parent,t);if(n)return async a=>{let o=n==="markdown"?Np(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,_r(r,t),await a(o,i),Ar(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=$s(e,t)?"__vue_ts_expression":"__vue_expression":a.parser="__js_expression",[St([ve,await n(r.value,a)]),r.parent.next&&kr(r.parent.next)?" ":ve]};break;case"attribute":return $7(e,t);case"front-matter":return n=>y7(r,n);case"angularControlFlowBlockParameters":return j7.has(e.parent.name)?b7: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 Yb(e){return Zn(e)}function Jm(e,t="type"){Yb(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 Jb(e){return/^\s*/u.test(e)}function Zm(e){return` + +`+e}function qp(e){let t=ka(e);return e.type==="element"&&!e.endSourceSpan&&js(e.children)?Math.max(t,qp(Po(!1,e.children,-1))):t}function $n(e,t,r){let n=e.node;if(ri(n)){let a=qp(n);return[_r(n,t),et(mt.trimEnd(t.originalText.slice(Aa(n)+(n.prev&&ai(n.prev)?Os(n).length:0),a-(n.next&&kr(n.next)?_a(n,t).length:0)))),Ar(n,t)]}return r()}function co(e,t){return Ye(e)&&Ye(t)?e.isTrailingSpaceSensitive?e.hasTrailingSpaces?ol(t)?ae:ve:"":ol(t)?ae:Ee:ai(e)&&(ri(t)||t.firstChild||t.isSelfClosing||t.type==="element"&&t.attrs.length>0)||e.type==="element"&&e.isSelfClosing&&kr(t)?"":!t.isLeadingSpaceSensitive||ol(t)||kr(t)&&e.lastChild&&ga(e.lastChild)&&e.lastChild.lastChild&&ga(e.lastChild.lastChild)?ae:t.hasLeadingSpaces?ve:Ee}function Ns(e,t,r){let{node:n}=e;if(Ip(n))return[Xn,...e.map(o=>{let i=o.node,s=i.prev?co(i.prev,i):"";return[s?[s,uo(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=co(s.prev,s);if(g)return uo(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?co(s.prev,s):"",h=s.next?co(s,s.next):"";return p&&(uo(s.prev)?c.push(ae,ae):p===ae?c.push(ae):Ye(s.prev)?d.push(p):d.push(Mo("",Ee,{groupId:a[i-1]}))),h&&(uo(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 Zb(e,t,r){let{node:n}=e,a=[];Xb(e)&&a.push("} "),a.push("@",n.name),n.parameters&&a.push(" (",pe(r("parameters")),")"),a.push(" {");let o=Wp(n);return n.children.length>0?(n.firstChild.hasLeadingSpaces=!0,n.lastChild.hasTrailingSpaces=!0,a.push(St([ae,Ns(e,t,r)])),o&&a.push(ae,"}")):o&&a.push("}"),pe(a,{shouldBreak:!0})}function Wp(e){var t,r;return!(((t=e.next)==null?void 0:t.type)==="angularControlFlowBlock"&&(r=V7.get(e.name))!=null&&r.has(e.next.name))}function Xb(e){let{previous:t}=e;return(t==null?void 0:t.type)==="angularControlFlowBlock"&&!ri(t)&&!Wp(t)}function Qb(e,t,r){return[St([Ee,bn([";",ve],e.map(r,"children"))]),Ee]}function e7(e,t,r){let{node:n}=e;return[Jn(n,t),pe([n.switchValue.trim(),", ",n.clause,n.cases.length>0?[",",St([ve,bn(ve,e.map(r,"cases"))])]:"",Ee]),Yn(n,t)]}function t7(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 r7(e,t,r){let{node:n}=e;if(Bp(n,t))return[_r(n,t),pe(Ll(e,t,r)),et(rf(n,t)),...Tl(n,t),Ar(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(Ll(e,t,r),{id:o}),f,Tl(n,t)]),"a"),s=u(f=>a?cb(f,{groupId:o}):(Wt(n)||ni(n,t))&&n.parent.type==="root"&&t.parser==="vue"&&!t.vueIndentScriptAndStyle?f:St(f),"o"),c=u(()=>a?Mo(Ee,"",{groupId:o}):n.firstChild.hasLeadingSpaces&&n.firstChild.isLeadingSpaceSensitive?ve:n.firstChild.type==="text"&&n.isWhitespaceSensitive&&n.isIndentationSensitive?sb(Ee):Ee,"u"),d=u(()=>(n.next?kr(n.next):Ba(n.parent))?n.lastChild.hasTrailingSpaces&&n.lastChild.isTrailingSpaceSensitive?" ":"":a?Mo(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([yb(n)?Xn:"",s([c(),Ns(e,t,r)]),d()])}function ko(e){return e>=9&&e<=32||e==160}function Ml(e){return 48<=e&&e<=57}function _o(e){return e>=97&&e<=122||e>=65&&e<=90}function n7(e){return e>=97&&e<=102||e>=65&&e<=70||Ml(e)}function Ri(e){return e===10||e===13}function Vu(e){return 48<=e&&e<=55}function Ii(e){return e===39||e===34||e===96}function Xm(e){return e.replace(U7,(...t)=>t[1].toUpperCase())}function Qm(e,t){for(let r of q7)r(e,t);return e}function e5(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 t5(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 n5(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 a5(e,t){if(t.parser==="html")return;let r=/\{\{(.+?)\}\}/su;e.walk(n=>{if(fb(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 o5(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=hb(t),n=Rp(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 l5(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 s5(e,t){e.walk(r=>{r.cssDisplay=Bb(r,t)})}function u5(e,t){e.walk(r=>{let{children:n}=r;if(n){if(n.length===0){r.isDanglingSpaceSensitive=vb(r);return}for(let a of n)a.isLeadingSpaceSensitive=mb(a,t),a.isTrailingSpaceSensitive=gb(a,t);for(let a=0;a{!Ga[t]&&po(t)===null&&(Ga[t]=new K({canSelfClose:!1}))})),Ga[e]??pg}function ld(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 p5(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];K7.forEach(a=>{if(a.test(r)||a.test(n))throw new Error(`['${r}', '${n}'] contains unusable interpolation symbol.`)})}}function f5(e,t,r,n={}){let a=new J7(new nf(e,t),r,n);return a.tokenize(),new Y7(o7(a.tokens),a.errors,a.nonNormalizedIcuExpressions)}function Vr(e){return`Unexpected character "${e===0?"EOF":String.fromCharCode(e)}"`}function Gu(e){return`Unknown entity "${e}" - use the "&#;" or "&#x;" syntax`}function h5(e,t){return`Unable to parse entity "${t}" - ${e} character reference entities must end with ";"`}function ue(e){return!ko(e)||e===0}function Ku(e){return ko(e)||e===62||e===60||e===47||e===39||e===34||e===61||e===0}function m5(e){return(e<97||12257)}function g5(e){return e===59||e===0||!n7(e)}function v5(e){return e===59||e===0||!_o(e)}function y5(e){return e!==125}function b5(e,t){return sd(e)===sd(t)}function sd(e){return e>=97&&e<=122?e-97+65:e}function Yu(e){return _o(e)||Ml(e)||e===95}function Ju(e){return e!==59&&ue(e)}function o7(e){let t=[],r;for(let n=0;n0&&e[e.length-1]===t}function Xu(e,t){return Bo[t]!==void 0?Bo[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 ud(e,t={}){let{canSelfClose:r=!1,allowHtmComponentClosingTags:n=!1,isTagNameCaseSensitive:a=!1,getTagContentType:o,tokenizeAngularBlocks:i=!1,tokenizeAngularLetDeclaration:s=!1}=t;return Z7().parse(e,"angular-html-parser",{tokenizeExpansionForms:i,interpolationConfig:void 0,canSelfClose:r,allowHtmComponentClosingTags:n,tokenizeBlocks:i,tokenizeLet:s},a,o)}function w5(e,t){let r=new SyntaxError(e+" ("+t.loc.start.line+":"+t.loc.start.column+")");return Object.assign(r,t)}function i7(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 D5(e){let t=i7(e);if(!t)return{content:e};let{raw:r}=t;return{frontMatter:t,content:je(!1,r,/[^\n]/gu," ")+e.slice(r.length)}}function E5(e,t){let r=e.map(t);return r.some((n,a)=>n!==e[a])?r:e}function l7(e,t){if(e.value)for(let{regex:r,parse:n}of tw){let a=e.value.match(r);if(a)return n(e,t,a)}return null}function C5(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 x5(e,t,r){let[,n]=r;return{type:"ieConditionalStartComment",condition:je(!1,n.trim(),/\s+/gu," "),sourceSpan:e.sourceSpan}}function S5(e){return{type:"ieConditionalEndComment",sourceSpan:e.sourceSpan}}function s7(e){if(e.type==="block"){if(e.name=je(!1,e.name.toLowerCase(),/\s+/gu," ").trim(),e.type="angularControlFlowBlock",!js(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,Po(!1,e.parameters,-1).sourceSpan.end)}}}function u7(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 c7(e){(e.type==="plural"||e.type==="select")&&(e.clause=e.type,e.type="angularIcuExpression"),e.type==="expansionCase"&&(e.type="angularIcuCase")}function Gp(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}=ud(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 Gp(e,wd,r);let E,D=u(()=>E??(E=ud(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(d7(S,r)){let _=D().errors.find(R=>R.span.start.offset>A.start.offset&&R.span.start.offset0&&cd(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"),v=u(E=>{if(E.type==="element"&&(o&&(!E.namespace||E.namespace===E.tagDefinition.implicitNamespacePrefix||va(E))&&(E.name=g(E.name,D=>rw.has(D))),i))for(let D of E.attrs)D.namespace||(D.name=g(D.name,w=>ul.has(E.name)&&(ul.get("*").has(w)||ul.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=Ol(c?E.name:E.name.toLowerCase());!E.namespace||E.namespace===D.implicitNamespacePrefix||va(E)?E.tagDefinition=D:E.tagDefinition=Ol("")}},"F");return ld(new class extends G7{visitExpansionCase(E,D){n==="angular"&&this.visitChildren(D,w=>{w(E.expression)})}visit(E){h(E),C(E),v(E),b(E)}},f),f}function d7(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||li(t,{language:n})==="html"}function cd(e){let{msg:t,span:{start:r,end:n}}=e;throw X7(t,{loc:{start:{line:r.line+1,column:r.col+1},end:{line:n.line+1,column:n.col+1}},cause:e})}function Kp(e,t,r={},n=!0){let{frontMatter:a,content:o}=n?Q7(e):{frontMatter:null,content:e},i=new nf(e,r.filepath),s=new Ul(i,0,0,0),c=s.moveBy(e.length),d={type:"root",sourceSpan:new Y(s,c),children:Gp(o,t,r)};if(a){let p=new Ul(i,0,0,0),h=p.moveBy(a.raw.length);a.sourceSpan=new Y(p,h),d.children.unshift(a)}let f=new ew(d),m=u((p,h)=>{let{offset:g}=h,v=je(!1,e.slice(0,g),/[^\n\r]/gu," "),b=Kp(v+p,t,r,!1);b.sourceSpan=new Y(h,Po(!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=l7(p,m);h&&p.parent.replaceChild(p,h)}s7(p),u7(p),c7(p)}),f}function Wa(e){return{parse:u((t,r)=>Kp(t,e,r),"parse"),hasPragma:Jb,astFormat:"html",locStart:Aa,locEnd:ka}}var F5,Qu,ec,tc,rr,A5,k5,rc,_5,je,Yp,Jp,dd,Pl,Nl,pd,Hl,$l,jl,Vl,fd,hd,Kr,md,il,Zp,Xp,p7,nc,B5,f7,ac,Br,Hs,Xn,R5,I5,ve,Ee,ae,h7,z5,Po,ho,gd,m7,ut,oc,T5,L5,M5,O5,mt,ic,P5,g7,ii,N5,v7,H5,y7,b7,w7,li,D7,E7,C7,x7,va,$5,Qp,S7,F7,ef,A7,k7,_7,B7,R7,I7,z7,T7,L7,vd,M7,O7,yd,P7,N7,ll,$s,H7,$7,lc,tf,js,bd,rf,j7,j5,jn,V5,U5,q5,W5,G5,K5,V7,U7,zi,Ul,sc,nf,uc,Y,Ti,cc,dc,q7,Y5,J5,Z5,X5,pc,fc,Q5,eg,hc,tg,rg,ng,mc,gc,tn,ag,ht,sl,vc,og,ig,lg,sg,ug,cg,yc,dg,bc,W7,wc,K,pg,Ga,Dc,Ur,Ec,fg,Cc,hg,xc,mg,Sc,gg,Fc,vg,Ac,nr,kc,yg,_c,bg,Bc,qr,Rc,Ic,zc,Tc,Lc,G7,Bo,wg,K7,Li,Dg,Mc,Oc,Mi,Pc,Y7,Eg,Oi,Nc,Pi,Hc,J7,Ka,$c,Ya,Cg,jc,Ni,Hi,Fe,Vc,xg,Uc,Sg,$i,Fg,qc,Ag,ji,Z7,X7,Vn,Q7,Ja,Wc,Wr,ew,tw,ul,rw,wd,kg,_g,Bg,Rg,Ig,nw,NF=z(()=>{F5=Object.defineProperty,Qu=u(e=>{throw TypeError(e)},"Xr"),ec=u((e,t)=>{for(var r in t)F5(e,r,{get:t[r],enumerable:!0})},"Jr"),tc=u((e,t,r)=>t.has(e)||Qu("Cannot "+r),"Zr"),rr=u((e,t,r)=>(tc(e,t,"read from private field"),r?r.call(e):t.get(e)),"K"),A5=u((e,t,r)=>t.has(e)?Qu("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,r),"en"),k5=u((e,t,r,n)=>(tc(e,t,"write to private field"),n?n.call(e,r):t.set(e,r),r),"tn"),rc={},ec(rc,{languages:u(()=>X5,"languages"),options:u(()=>eg,"options"),parsers:u(()=>hc,"parsers"),printers:u(()=>Ig,"printers")}),_5=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=_5,Yp="string",Jp="array",dd="cursor",Pl="indent",Nl="align",pd="trim",Hl="group",$l="fill",jl="if-break",Vl="indent-if-break",fd="line-suffix",hd="line-suffix-boundary",Kr="line",md="label",il="break-parent",Zp=new Set([dd,Pl,Nl,pd,Hl,$l,jl,Vl,fd,hd,Kr,md,il]),u(Rm,"si"),Xp=Rm,p7=u(e=>new Intl.ListFormat("en-US",{type:"disjunction"}).format(e),"ii"),u(Im,"ai"),B5=(nc=class extends Error{constructor(t){super(Im(t));Rn(this,"name","InvalidDocError");this.doc=t}},u(nc,"or"),nc),f7=B5,ac=u(()=>{},"rn"),Br=ac,Hs=ac,u(St,"k"),u(Ap,"nn"),u(pe,"_"),u(sb,"sn"),u(ub,"an"),u(kp,"Et"),u(Mo,"le"),u(cb,"on"),Xn={type:il},R5={type:Kr,hard:!0},I5={type:Kr,hard:!0,literal:!0},ve={type:Kr},Ee={type:Kr,soft:!0},ae=[R5,Xn],h7=[I5,Xn],u(bn,"q"),z5=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"),Po=z5,u(_p,"lr"),u(et,"B"),ho="'",gd='"',u(zm,"ci"),m7=zm,u(Tm,"cr"),T5=(oc=class{constructor(e){A5(this,ut),k5(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(Po(!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=`[${Tm([...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(oc,"pr"),oc),ut=new WeakMap,L5=T5,M5=[" ",` +`,"\f","\r"," "],O5=new L5(M5),mt=O5,P5=(ic=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(ic,"hr"),ic),g7=P5,u(Lm,"mi"),ii=Lm,N5=new Set(["sourceSpan","startSourceSpan","endSourceSpan","nameSpan","valueSpan","keySpan","tagDefinition","tokens","valueTokens","switchValueSourceSpan","expSourceSpan","valueSourceSpan"]),v7=new Set(["if","else if","for","switch","case"]),u(ju,"mn"),ju.ignoredProperties=N5,H5=ju,u(Mm,"gi"),y7=Mm,u(ti,"ce"),u(wn,"Y"),u(tt,"T"),u(Om,"Ci"),b7=Om,w7=u(e=>String(e).split(/[/\\]/u).pop(),"Si"),u(ad,"Cn"),u(db,"_i"),u(Pm,"Ei"),li=Pm,D7="inline",E7={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"},C7="normal",x7={listing:"pre",plaintext:"pre",pre:"pre",xmp:"pre",nobr:"nowrap",table:"initial",textarea:"pre-wrap"},u(Nm,"Ai"),va=Nm,$5=u(e=>je(!1,e,/^[\t\f\r ]*\n/gu,""),"Di"),Qp=u(e=>$5(mt.trimEnd(e)),"mr"),S7=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(Bp,"Dt"),u(ri,"me"),u(pb,"vi"),u(Ye,"O"),u(Wt,"U"),u(fb,"vn"),u(hb,"yn"),u(Rp,"fr"),u(mb,"wn"),u(gb,"bn"),u(vb,"Tn"),u(uo,"Qe"),u(yb,"xn"),u(Ip,"dr"),u(ol,"vt"),u(bb,"yi"),u(zp,"kn"),u(Tp,"Bn"),u(Lp,"Ln"),u(Mp,"Fn"),u(Ts,"yt"),u(wb,"wi"),u(Op,"Nn"),u(Db,"bi"),u(Eb,"Ti"),u(Cb,"xi"),u(od,"gr"),u(Fa,"Xe"),u(xb,"ki"),u(Sb,"Bi"),u(Fb,"Li"),u(Ab,"Fi"),u(kb,"Ni"),u(dn,"he"),u(_b,"Pi"),u(Bb,"Pn"),u(Pp,"In"),u(Rb,"Ii"),u(Np,"Cr"),u(Hp,"Sr"),u(dr,"P"),F7=new Set(["template","style","script"]),u(ni,"Je"),u(Dn,"fe"),u(Ls,"wt"),u(Ib,"Rn"),u(zb,"On"),u($p,"bt"),u(jp,"Tt"),ef=/\{\{(.+?)\}\}/su,u(Tb,"$n"),u(Bi,"Er"),A7=Bi({parser:"__ng_action"}),k7=Bi({parser:"__ng_binding"}),_7=Bi({parser:"__ng_directive"}),u(Hm,"qi"),B7=Hm,u($m,"Hi"),R7=$m,u(id,"Hn"),I7=/^[ \t\n\r\u000c]+/,z7=/^[, \t\n\r\u000c]+/,T7=/^[^ \t\n\r\u000c]+/,L7=/[,]+$/,vd=/^\d+$/,M7=/^-?(?:[0-9]+|[0-9]*\.[0-9]+)(?:[eE][+-]?[0-9]+)?$/,u(jm,"Yi"),O7=jm,u(Vm,"ji"),yd={width:"w",height:"h",density:"x"},P7=Object.keys(yd),u(Lb,"Qi"),N7=Vm,u(Mb,"Gn"),ll=new WeakMap,u(Um,"Xi"),$s=Um,u(Ob,"Yn"),u(Pb,"jn"),u(Nb,"Kn"),u(Hb,"Ji"),u(qm,"Zi"),u($b,"ea"),u(jb,"ta"),u(Vp,"Qn"),H7=qm,u(Wm,"ra"),u(Vb,"na"),$7=Wm,lc=new Proxy(()=>{},{get:u(()=>lc,"get")}),tf=lc,u(Gm,"sa"),js=Gm,u(Aa,"X"),u(ka,"J"),u(Tl,"Ze"),u(Ub,"ia"),u(Yn,"de"),u(qb,"aa"),u(Ar,"W"),u(Ms,"xt"),u(_a,"ge"),u(Up,"ts"),u(kr,"j"),u(Ba,"Ce"),u(ga,"Se"),u(ai,"et"),u(Wb,"oa"),u(oi,"tt"),u(Gb,"ua"),u(Kb,"la"),u(Ll,"rt"),u(Jn,"_e"),u(_r,"z"),bd="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 zi(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(cc,"Ie"),cc),q7=[e5,t5,r5,a5,o5,s5,i5,l5,u5,n5],u(Qm,"Ea"),u(e5,"Aa"),u(t5,"Da"),u(a7,"va"),u(r5,"ya"),u(n5,"wa"),u(a5,"ba"),u(o5,"Ta"),u(i5,"xa"),u(l5,"ka"),u(s5,"Ba"),u(u5,"La"),Y5=Qm,u(c5,"Fa"),J5={preprocess:Y5,print:c5,insertPragma:Zm,massageAstNode:H5,embed:j5,getVisitorKeys:K5},Z5=J5,X5=[{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"]}],pc={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."}},fc="HTML",Q5={bracketSameLine:pc.bracketSameLine,htmlWhitespaceSensitivity:{category:fc,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:pc.singleAttributePerLine,vueIndentScriptAndStyle:{category:fc,type:"boolean",default:!1,description:"Indent script and style tags in Vue files."}},eg=Q5,hc={},ec(hc,{angular:u(()=>_g,"angular"),html:u(()=>kg,"html"),lwc:u(()=>Rg,"lwc"),vue:u(()=>Bg,"vue")}),function(e){e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom"}(tg||(tg={})),function(e){e[e.OnPush=0]="OnPush",e[e.Default=1]="Default"}(rg||(rg={})),function(e){e[e.None=0]="None",e[e.SignalBased=1]="SignalBased",e[e.HasDecoratorInputTransform=2]="HasDecoratorInputTransform"}(ng||(ng={})),mc={name:"custom-elements"},gc={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"}(tn||(tn={})),function(e){e[e.Error=0]="Error",e[e.Warning=1]="Warning",e[e.Ignore=2]="Ignore"}(ag||(ag={})),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(Oo,"ut"),u(Uu,"xr"),u(qu,"kr"),u(po,"Re"),u(qa,"Oe"),u(Wu,"Br"),u(fo,"Ot"),og=(vc=class{},u(vc,"Mt"),vc),ig="boolean",lg="number",sg="string",ug="object",cg=["[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:|"],yc=new Map(Object.entries({class:"className",for:"htmlFor",formaction:"formAction",innerHtml:"innerHTML",readonly:"readOnly",tabindex:"tabIndex"})),dg=Array.from(yc).reduce((e,[t,r])=>(e.set(t,r),e),new Map),W7=(bc=class extends og{constructor(){super(),this._schema=new Map,this._eventSchema=new Map,cg.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),ig);break;case"#":t.set(d.substring(1),lg);break;case"%":t.set(d.substring(1),ug);break;default:t.set(d,sg)}})})}hasProperty(e,t,r){if(r.some(n=>n.name===gc.name))return!0;if(e.indexOf("-")>-1){if(Uu(e)||qu(e))return!1;if(r.some(n=>n.name===mc.name))return!0}return(this._schema.get(e.toLowerCase())||this._schema.get("unknown")).has(t)}hasElement(e,t){return t.some(r=>r.name===gc.name)||e.indexOf("-")>-1&&(Uu(e)||qu(e)||t.some(r=>r.name===mc.name))?!0:this._schema.has(e.toLowerCase())}securityContext(e,t,r){r&&(t=this.getMappedPropName(t)),e=e.toLowerCase(),t=t.toLowerCase();let n=Wu()[e+"|"+t];return n||(n=Wu()["*|"+t],n||tn.NONE)}getMappedPropName(e){return yc.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=>dg.get(r)??r)}allKnownEventsOfElement(e){return Array.from(this._eventSchema.get(e.toLowerCase())??[])}normalizeAnimationStyleProperty(e){return Xm(e)}normalizeAnimationStyleValue(e,t,r){let n="",a=r.toString().trim(),o=null;if(d5(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(bc,"qt"),bc),u(d5,"Ha"),K=(wc=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(wc,"m"),wc),u(Ol,"$e"),Ur=(Dc=class{constructor(e,t){this.sourceSpan=e,this.i18n=t}},u(Dc,"ae"),Dc),fg=(Ec=class extends Ur{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(Ec,"Ht"),Ec),hg=(Cc=class extends Ur{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(Cc,"Vt"),Cc),mg=(xc=class extends Ur{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(xc,"Ut"),xc),gg=(Sc=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(Sc,"Wt"),Sc),vg=(Fc=class extends Ur{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(Fc,"zt"),Fc),nr=(Ac=class extends Ur{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(Ac,"G"),Ac),yg=(kc=class{constructor(e,t){this.value=e,this.sourceSpan=t,this.type="comment"}visit(e,t){return e.visitComment(this,t)}},u(kc,"Gt"),kc),bg=(_c=class{constructor(e,t){this.value=e,this.sourceSpan=t,this.type="docType"}visit(e,t){return e.visitDocType(this,t)}},u(_c,"Yt"),_c),qr=(Bc=class extends Ur{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(Bc,"ee"),Bc),Ic=(Rc=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(Rc,"ct"),Rc),Tc=(zc=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(zc,"pt"),zc),u(ld,"jt"),G7=(Lc=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(ld(n,o,e))}return u(a,"i"),t(a),Array.prototype.concat.apply([],r)}},u(Lc,"ht"),Lc),Bo={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:"‌"},wg="",Bo.ngsp=wg,K7=[/@/,/^\s*$/,/[<>]/,/^[{}]$/,/&(#|[a-z])/i,/^\/\//],u(p5,"Bs"),Dg=(Li=class{static fromArray(e){return e?(p5("interpolation",e),new Li(e[0],e[1])):Mc}constructor(e,t){this.start=e,this.end=t}},u(Li,"t"),Li),Mc=new Dg("{{","}}"),Mi=(Oc=class extends dc{constructor(e,t,r){super(r,e),this.tokenType=t}},u(Oc,"ft"),Oc),Y7=(Pc=class{constructor(e,t,r){this.tokens=e,this.errors=t,this.nonNormalizedIcuExpressions=r}},u(Pc,"Or"),Pc),u(f5,"Us"),Eg=/\r\n?/g,u(Vr,"qe"),u(Gu,"Is"),u(h5,"co"),function(e){e.HEX="hexadecimal",e.DEC="decimal"}(Oi||(Oi={})),Pi=(Nc=class{constructor(e){this.error=e}},u(Nc,"dt"),Nc),J7=(Hc=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||Mc,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 Cg(e,n):new $c(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(Eg,` +`)}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=>ko(r)?!e:Yu(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(Ju);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&&Ii(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(Ju)}}_consumeLetDeclaration(e){if(this._beginToken(30,e),ko(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)&&!Ri(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=>_o(r)||r===36||r===95||t&&Ml(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;Ii(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(y5(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 Mi("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 Mi("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 Mi(e,this._currentTokenType,t);return this._currentTokenStart=null,this._currentTokenType=null,new Pi(r)}handleError(e){if(e instanceof Ni&&(e=this._createError(e.msg,this._cursor.getSpan(e.cursor))),e instanceof Pi)this.errors.push(e.error);else throw e}_attemptCharCode(e){return this._cursor.peek()===e?(this._cursor.advance(),!0):!1}_attemptCharCodeCaseInsensitive(e){return b5(this._cursor.peek(),e)?(this._cursor.advance(),!0):!1}_requireCharCode(e){let t=this._cursor.clone();if(!this._attemptCharCode(e))throw this._createError(Vr(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&&!m5(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(Ku,t===""?0:1);let n=this._cursor.getChars(r);return[t,n]}_consumeTagOpen(e){let t,r,n,a=[];try{if(!_o(this._cursor.peek()))throw this._createError(Vr(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 Pi){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(Vr(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(()=>Ku(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&&Ii(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(),Yu(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=qa(e,t);(this._fullNameStack.length===0||this._fullNameStack[this._fullNameStack.length-1]===r)&&this._fullNameStack.push(r)}_handleFullNameStackForTagClose(e,t){let r=qa(e,t);this._fullNameStack.length!==0&&this._fullNameStack[this._fullNameStack.length-1]===r&&this._fullNameStack.pop()}},u(Hc,"$r"),Hc),u(ue,"b"),u(Ku,"Rs"),u(m5,"po"),u(g5,"ho"),u(v5,"mo"),u(y5,"fo"),u(b5,"go"),u(sd,"Os"),u(Yu,"$s"),u(Ju,"Ms"),u(o7,"Co"),$c=(Ka=class{constructor(e,t){if(e instanceof Ka){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 Ka(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 Ni('Unexpected character "EOF"',this);let t=this.charAt(e.offset);t===10?(e.line++,e.column=0):Ri(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 Ul(e.file,e.state.offset,e.state.line,e.state.column)}},u(Ka,"t"),Ka),Cg=(Ya=class extends $c{constructor(e,t){e instanceof Ya?(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 Ya(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(Vu(e())){let t="",r=0,n=this.clone();for(;Vu(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 Ri(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 Ni("Invalid hexadecimal escape sequence",e);return n}},u(Ya,"t"),Ya),Ni=(jc=class{constructor(e,t){this.msg=e,this.cursor=t}},u(jc,"gt"),jc),Fe=(Hi=class extends dc{static create(e,t,r){return new Hi(e,t,r)}constructor(e,t,r){super(t,r),this.elementName=e}},u(Hi,"t"),Hi),xg=(Vc=class{constructor(e,t){this.rootNodes=e,this.errors=t}},u(Vc,"Vr"),Vc),Sg=(Uc=class{constructor(e){this.getTagDefinition=e}parse(e,t,r,n=!1,a){let o=u(h=>(g,...v)=>h(g.toLowerCase(),...v),"a"),i=n?this.getTagDefinition:o(this.getTagDefinition),s=u(h=>i(h).getContentType(),"u"),c=n?a:o(a),d=f5(e,t,a?(h,g,v,b)=>{let C=c(h,g,v,b);return C!==void 0?C:s(h)}:s,r),f=r&&r.canSelfClose||!1,m=r&&r.allowHtmComponentClosingTags||!1,p=new Fg(d.tokens,i,f,m,n);return p.build(),new xg(p.rootNodes,d.errors.concat(p.errors))}},u(Uc,"tr"),Uc),Fg=($i=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 qr&&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 gg(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(Zu(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(Zu(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,Xu):e.type===9?n+=e.parts[0]:n+=e.parts.join("");if(n.length>0){let a=e.sourceSpan;this._addToParent(new fg(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||po(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(po(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 qr||o instanceof nr&&!this.getTagDefinition(o.name).closedByParent)&&(n=!0)}return!1}_consumeAttr(e){let t=qa(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,Xu):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 vg(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 Ic(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 qr(e.parts[0],t,[],n,e.sourceSpan,a);this._pushContainer(o,!1)}_consumeBlockClose(e){this._popContainer(null,qr,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 Ic(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 qr(e.parts[0],t,[],n,e.sourceSpan,a);this._pushContainer(o,!1),this._popContainer(null,qr,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 Tc(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 Tc(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=Oo(r.name)[1];this.getTagDefinition(n).preventNamespaceInheritance||(e=po(r.name))}return qa(e,t)}},u($i,"t"),$i),u(Zu,"Ws"),u(Xu,"zs"),Ag=(qc=class extends Sg{constructor(){super(Ol)}parse(e,t,r,n=!1,a){return super.parse(e,t,r,n,a)}},u(qc,"rr"),qc),ji=null,Z7=u(()=>(ji||(ji=new Ag),ji),"So"),u(ud,"zr"),u(w5,"_o"),X7=w5,Vn=3,u(i7,"Eo"),u(D5,"Ao"),Q7=D5,Ja={attrs:!0,children:!0,cases:!0,expression:!0},Wc=new Set(["parent"]),ew=(Wr=class{constructor(e={}){for(let t of new Set([...Wc,...Object.keys(e)]))this.setProperty(t,e[t])}setProperty(e,t){if(this[e]!==t){if(e in Ja&&(t=t.map(r=>this.createChild(r))),!Wc.has(e)){this[e]=t;return}Object.defineProperty(this,e,{value:t,enumerable:!1,configurable:!0})}}map(e){let t;for(let r in Ja){let n=this[r];if(n){let a=E5(n,o=>o.map(e));t!==n&&(t||(t=new Wr({parent:this.parent})),t.setProperty(r,a))}}if(t)for(let r in this)r in Ja||(t[r]=this[r]);return e(t||this)}walk(e){for(let t in Ja){let r=this[t];if(r)for(let n=0;n[e.fullName,e.value]))}},u(Wr,"t"),Wr),u(E5,"Do"),tw=[{regex:/^(\[if([^\]]*)\]>)(.*?)a==="lang"&&o!=="html"&&o!==""&&o!==void 0))}}),Rg=Wa({name:"lwc",canSelfClose:!1}),Ig={html:Z5},nw=rc});function ct(){}function Gc(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?v: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 Dd(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 Kc(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=Dd(a,i);e.value=Wl(e.value,i,c),t.value=Un(t.value,c),r.value=Un(r.value,c)}if(n){var d=Ed(o,s);n.value=ql(n.value,s,d),t.value=mo(t.value,d),r.value=mo(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=Dd(f,m);t.value=Un(t.value,h);var g=Ed(Un(f,h),p);t.value=mo(t.value,g),n.value=ql(n.value,f,g),e.value=Wl(e.value,f,f.slice(0,f.length-g.length))}else if(n){var v=n.value.match(/^\s*/)[0],b=t.value.match(/\s*$/)[0],C=Cd(b,v);t.value=mo(t.value,C)}else if(e){var E=e.value.match(/\s*$/)[0],D=t.value.match(/^\s*/)[0],w=Cd(E,D);t.value=Un(t.value,w)}}function Gl(e){"@babel/helpers - typeof";return Gl=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},Gl(e)}function Kl(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 Lg(e,t,r,n){let a=[e];for(;a.length>0;){let o=a.pop();if(o===Ud){r(a.pop());continue}r&&a.push(o,Ud);let i=Lr(o);if(!i)throw new fn(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 Tr:case Er:case Vt:case Ut:case De:case Je:break;default:throw new fn(o)}}}function No(e){return Dt(e),{type:Kt,contents:e}}function pn(e,t){return Dt(t),{type:Yt,contents:t,n:e}}function xd(e,t={}){return Dt(e),Ws(t.expandedStates,!0),{type:He,id:t.id,contents:e,break:!!t.shouldBreak,expandedStates:t.expandedStates}}function Mg(e){return pn(Number.NEGATIVE_INFINITY,e)}function Og(e){return pn({type:"root"},e)}function Pg(e){return pn(-1,e)}function Ng(e,t){return xd(e[0],{...t,expandedStates:e})}function Hg(e){return Ws(e),{type:bt,parts:e}}function $g(e,t="",r={}){return Dt(e),t!==""&&Dt(t),{type:Ve,breakContents:e,flatContents:t,groupId:r.groupId}}function jg(e,t){return Dt(e),{type:Jt,contents:e,groupId:t.groupId,negate:t.negate}}function Yl(e){return Dt(e),{type:Zt,contents:e}}function Sd(e,t){Dt(e),Ws(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 Ug(e){return e===12288||e>=65281&&e<=65376||e>=65504&&e<=65510}function qg(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 Wg(e){if(!e)return 0;if(!Xw.test(e))return e.length;e=e.replace(Jw()," ");let t=0;for(let r of e){let n=r.codePointAt(0);n<=31||n>=127&&n<=159||n>=768&&n<=879||(t+=Zw(n)?1:2)}return t}function Ho(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(Lr(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 Tr:case Er:case Vt:case Ut:case De:case Je:return t(o);default:throw new fn(o)}}}function Jl(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"),es(e,o),n}function uw(e){if(e.type===He&&e.break||e.type===De&&e.hard||e.type===Je)return!0}function Gg(e){return Jl(e,uw,!1)}function Ad(e){if(e.length>0){let t=ge(!1,e,-1);!t.expandedStates&&!t.break&&(t.break="propagated")}return null}function cw(e){let t=new Set,r=[];function n(o){if(o.type===Je&&Ad(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&&Ad(r)}u(a,"u"),es(e,n,a,!0)}function dw(e){return e.type===De&&!e.hard?e.soft?"":" ":e.type===Ve?e.flatContents:e}function Kg(e){return Ho(e,dw)}function kd(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(Lr(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:kd(e.parts)};case Gt:return kd(e);case Tr:return e.replace(/[\n\r]*$/u,"");case Yt:case Er:case Vt:case Ut:case De:case Je:break;default:throw new fn(e)}return e}function _d(e){return Qn(fw(e))}function pw(e){switch(Lr(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 Tr:case Er:case Vt:case Ut:case De:case wt:case Je:break;default:throw new fn(e)}return e}function fw(e){return Ho(e,t=>pw(t))}function Yg(e,t=Wd){return Ho(e,r=>typeof r=="string"?Sd(t,r.split(` +`)):r)}function hw(e){if(e.type===De)return!0}function Jg(e){return Jl(e,hw,!1)}function Ro(e,t){return e.type===wt?{...e,contents:t(e.contents)}:t(e)}function of(){return{value:"",length:0,queue:[]}}function mw(e,t){return Zl(e,{type:"indent"},t)}function gw(e,t,r){return t===Number.NEGATIVE_INFINITY?e.root||of():t<0?Zl(e,{type:"dedent"},r):t?t.type==="root"?{...e,root:e}:Zl(e,{type:typeof t=="string"?"stringAlign":"numberAlign",n:t},r):e}function Zl(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 Xl(e){let t=0,r=0,n=e.length;e:for(;n--;){let a=e[n];if(a===an){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(an);return t}function go(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=Lr(f);switch(m){case Tr:c.push(f),r-=ts(f);break;case Gt:case bt:{let p=m===Gt?f:f.parts,h=f[rs]??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+=Xl(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 $o(e,t){let r={},n=t.printWidth,a=Vs(t.endOfLine),o=0,i=[{ind:of(),mode:ze,doc:e}],s=[],c=!1,d=[],f=0;for(cw(e);i.length>0;){let{ind:p,mode:h,doc:g}=i.pop();switch(Lr(g)){case Tr:{let v=a!==` +`?ci(!1,g,` +`,a):g;s.push(v),i.length>0&&(o+=ts(v));break}case Gt:for(let v=g.length-1;v>=0;v--)i.push({ind:p,mode:h,doc:g[v]});break;case Er:if(f>=2)throw new Error("There are too many 'cursor' in doc.");s.push(an),f++;break;case Kt:i.push({ind:mw(p,t),mode:h,doc:g.contents});break;case Yt:i.push({ind:gw(p,g.n,t),mode:h,doc:g.contents});break;case Vt:o-=Xl(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 v={ind:p,mode:dt,doc:g.contents},b=n-o,C=d.length>0;if(!g.break&&go(v,i,b,C,r))i.push(v);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(go(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 v=n-o,b=g[rs]??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=go(x,[],v,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,[rs]:b+2}};go({ind:p,mode:dt,doc:[D,w,R]},[],v,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 v=g.groupId?r[g.groupId]:h;if(v===ze){let b=g.type===Ve?g.breakContents:g.negate?g.contents:No(g.contents);b&&i.push({ind:p,mode:h,doc:b})}if(v===dt){let b=g.type===Ve?g.flatContents:g.negate?No(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:fl});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-=Xl(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 fn(g)}i.length===0&&d.length>0&&(i.push(...d.reverse()),d.length=0)}let m=s.indexOf(an);if(m!==-1){let p=s.indexOf(an,m+1);if(p===-1)return{formatted:s.filter(b=>b!==an).join("")};let h=s.slice(0,m).join(""),g=s.slice(m+1,p).join(""),v=s.slice(p+1).join("");return{formatted:h+g+v,cursorNodeStart:h.length,cursorNodeText:g}}return{formatted:s.join("")}}function Zg(e,t,r=0){let n=0;for(let a=r;a!0,"n")}=t,a=u(o=>eD(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*vw(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 r2(e){return e?t=>e(t,Yd):rD}function bw(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 Us(e,t){(e.comments??(e.comments=[])).push(t),t.printed=!1,t.nodeDescription=bw(e)}function rn(e,t){t.leading=!0,t.trailing=!1,Us(e,t)}function Io(e,t,r){t.leading=!1,t.trailing=!1,r&&(t.marker=r),Us(e,t)}function nn(e,t){t.leading=!1,t.trailing=!0,Us(e,t)}function qs(e,t){if(hl.has(e))return hl.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))??[...si(e,{getVisitorKeys:di(a)})]).flatMap(c=>n(c)?[c]:qs(c,t));return s.sort((c,d)=>o(c)-o(d)||i(c)-i(d)),hl.set(e,s),s}function lf(e,t,r,n){let{locStart:a,locEnd:o}=r,i=a(t),s=o(t),c=qs(e,r),d,f,m=0,p=c.length;for(;m>1,g=c[h],v=a(g),b=o(g);if(v<=i&&s<=b)return lf(g,t,r,g);if(b<=i){d=g,m=h+1;continue}if(s<=v){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=cl(h,t,r);d&&cl(h,d,r)!==g&&(d=null),f&&cl(h,f,r)!==g&&(f=null)}return{enclosingNode:n,precedingNode:d,followingNode:f}}function ww(e,t){let{comments:r}=e;if(delete e.comments,!tD(r)||!t.printer.canAttachComment)return;let n=[],{locStart:a,locEnd:o,printer:{experimentalFeatures:{avoidAstMutation:i=!1}={},handleComments:s={}},originalText:c}=t,{ownLine:d=ml,endOfLine:f=ml,remaining:m=ml}=s,p=r.map((h,g)=>({...lf(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:v,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(v)-a(x)<=0){rn(x,v);continue}if(o(v)-o(x)>=0){nn(x,v);continue}}let F;if(i?F=[g]:(v.enclosingNode=C,v.precedingNode=b,v.followingNode=E,F=[v,D,w,x,S]),Dw(D,w,p,h))v.placement="ownLine",d(...F)||(E?rn(E,v):b?nn(b,v):Io(C||x,v));else if(Ew(D,w,p,h))v.placement="endOfLine",f(...F)||(b?nn(b,v):E?rn(E,v):Io(C||x,v));else if(v.placement="remaining",!m(...F))if(b&&E){let A=n.length;A>0&&n[A-1].followingNode!==E&&Bd(n,w),n.push(g)}else b?nn(b,v):E?rn(E,v):Io(C||x,v)}if(Bd(n,t),!i)for(let h of r)delete h.precedingNode,delete h.enclosingNode,delete h.followingNode}function Dw(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||!gf(e.slice(s(f),c)))break;c=i(f)}return ur(e,c,{backwards:!0})}function Ew(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];as.strictEqual(f,o),as.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 cl(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(Cw(e,t)):d&&(i=xw(e,t,i),o.push(i.doc))},"comments"),{leading:a,trailing:o}}function Fw(e,t,r){let{leading:n,trailing:a}=Sw(e,r);return!n&&!a?t:Ro(t,o=>[n,o,a])}function Aw(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 a2(e){return()=>{}}function Rd({plugins:e=[],showDeprecated:t=!1}={}){let r=e.flatMap(a=>a.languages??[]),n=[];for(let a of _w(Object.assign({},...e.map(({options:o})=>o),aD)))!t&&a.deprecated||(Array.isArray(a.choices)&&(t||(a.choices=a.choices.filter(o=>!o.deprecated)),a.name==="parser"&&(a.choices=[...a.choices,...kw(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*kw(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 _w(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 Id(e,t){if(!t)return;let r=oD(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 Bw(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 o2(e,t){let r=e.plugins.flatMap(a=>a.languages??[]),n=Bw(r,t.language)??Id(r,t.physicalFile)??Id(r,t.file)??(t.physicalFile,void 0);return n==null?void 0:n.parsers[0]}function Yc(e,t,r,n){return[`Invalid ${on.default.red(n.key(e))} value.`,`Expected ${on.default.blue(r)},`,`but received ${t===Zd?on.default.gray("nothing"):on.default.red(n.value(t))}.`].join(" ")}function zd({text:e,list:t},r){let n=[];return e&&n.push(`- ${on.default.blue(e)}`),t&&n.push([`- ${on.default.blue(t.title)}:`].concat(t.values.map(a=>zd(a,r-Xd.length).replace(/^|\n/g,`$&${Xd}`))).join(` +`)),Td(n,r)}function Td(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 i2(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 l2(e,t){let r=new e(t),n=Object.create(r);for(let a of lD)a in t&&(n[a]=Rw(t[a],r,ir.prototype[a].length));return n}function Rw(e,t,r){return typeof e=="function"?(...n)=>e(...n.slice(0,r-1),t,...n.slice(r-1)):()=>e}function Jc({from:e,to:t}){return{from:[e],to:t}}function s2(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 u2(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 c2(){let e=Object.create(null);return t=>{let r=JSON.stringify(t);return e[r]?!0:(e[r]=!0,!1)}}function d2(e,t){let r=[],n=[];for(let a of e)t(a)?r.push(a):n.push(a);return[r,n]}function p2(e){return e===Math.floor(e)}function f2(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 h2(e){return(...t)=>{let r=e(...t);return typeof r=="string"?new Error(r):r}}function Zc(e){return e===void 0?{}:e}function Ld(e){if(typeof e=="string")return{text:e};let{text:t,list:r}=e;return Iw((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(Ld)}}:{text:t}}function Xc(e,t){return e===!0?!0:e===!1?{value:t}:e}function Qc(e,t,r=!1){return e===!1?!1:e===!0?r?!0:[{value:t}]:"value"in e?[e]:e.length===0?!1:e}function Md(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 dl(e,t){return e===void 0?[]:Array.isArray(e)?e.map(r=>Md(r,t)):[Md(e,t)]}function e0(e,t){let r=dl(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 Iw(e,t){if(!e)throw new Error(t)}function m2(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=Yr;let s=a?Array.isArray(a)?(p,h)=>a.includes(p)?{[p]:h}:void 0:(p,h)=>({[p]:h}):(p,h,g)=>{let{_:v,...b}=g.schemas;return e1(p,h,{...g,schemas:b})},c=zw(t,{isCLI:n,FlagSchema:o}),d=new hD(c,{logger:r,unknown:s,descriptor:i}),f=r!==!1;f&&x0&&(d._hasDeprecationWarned=x0);let m=d.normalize(e);return f&&(x0=d._hasDeprecationWarned),m}function zw(e,{isCLI:t,FlagSchema:r}){let n=[];t&&n.push(uD.create({name:"_"}));for(let a of e)n.push(Tw(a,{isCLI:t,optionInfos:e,FlagSchema:r})),a.alias&&t&&n.push(sD.create({name:a.alias,sourceName:a.name}));return n}function Tw(e,{isCLI:t,optionInfos:r,FlagSchema:n}){let{name:a}=e,o={name:a},i,s={};switch(e.type){case"int":i=fD,t&&(o.preprocess=Number);break;case"string":i=t1;break;case"choice":i=pD,o.choices=e.choices.map(c=>c!=null&&c.redirect?{...c,redirect:{to:{key:e.name,value:c.redirect}}}:c);break;case"boolean":i=dD;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=t1;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?cD.create({...t?{preprocess:u(c=>Array.isArray(c)?c:[c],"preprocess")}:{},...s,valueSchema:i.create(o)}):i.create({...o,...s})}function uf(e,t){if(!t)throw new Error("parserName is required.");let r=yf(!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 vf(n)}function Lw(e,t){if(!t)throw new Error("astFormat is required.");let r=yf(!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 vf(n)}function cf({plugins:e,parser:t}){let r=uf(e,t);return df(r,t)}function df(e,t){let r=e.parsers[t];return typeof r=="function"?r():r}function Mw(e,t){let r=e.printers[t];return typeof r=="function"?r():r}async function g2(e,t={}){var r;let n={...e};if(!n.parser)if(n.filepath){if(n.parser=iD(n,{physicalFile:n.filepath}),!n.parser)throw new Jd(`No parser could be inferred for file "${n.filepath}".`)}else throw new Jd("No parser and no file path given, couldn't infer a parser.");let a=Rd({plugins:e.plugins,showDeprecated:!0}).options,o={...r1,...Object.fromEntries(a.filter(p=>p.default!==void 0).map(p=>[p.name,p.default]))},i=uf(n.plugins,n.parser),s=await df(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:Lw(n.plugins,s.astFormat),d=await Mw(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"),mD(n,a,{passThrough:Object.keys(r1),...t})}async function v2(e,t){let r=await cf(t),n=r.preprocess?r.preprocess(e,t):e;t.originalText=n;let a;try{a=await r.parse(n,t,t)}catch(o){Ow(o,e)}return{text:n,ast:a}}function Ow(e,t){let{loc:r}=e;if(r){let n=(0,gD.codeFrameColumns)(t,r,{highlightCode:!0});throw e.message+=` +`+n,e.codeFrame=n,e}throw e}async function Pw(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=di(i.getVisitorKeys??c),f=[];h();let m=e.stack;for(let{print:g,node:v,pathStack:b}of f)try{e.stack=b;let C=await g(p,t,e,r);C&&a.set(v,C)}catch(C){if(globalThis.PRETTIER_DEBUG)throw C}e.stack=m;function p(g,v){return Nw(g,v,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 v=i(e,r);if(v){if(typeof v=="function"){f.push({print:v,node:g,pathStack:[...e.stack]});return}a.set(g,v)}}u(h,"d")}async function Nw(e,t,r,n){let a=await En({...r,...t,parentParser:r.parser,originalText:e},{passThrough:!0}),{ast:o}=await Ra(e,a),i=await n(o,a);return _d(i)}function y2(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 ui(e,t){({ast:e}=await pf(e,t));let r=new Map,n=new Qw(e),a=nD(t),o=new Map;await Pw(n,s,t,ui,o);let i=await Od(n,t,s,void 0,o);if(Aw(t),t.nodeAfterCursor&&!t.nodeBeforeCursor)return[Dr,i];if(t.nodeBeforeCursor&&!t.nodeAfterCursor)return[i,Dr];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=Od(n,t,s,d,o);return m&&r.set(f,p),p}}function Od(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=vD(e,t):a.has(i)?c=a.get(i):c=s.print(e,t,r,n),i){case t.cursorNode:c=Ro(c,d=>[Dr,d,Dr]);break;case t.nodeBeforeCursor:c=Ro(c,d=>[d,Dr]);break;case t.nodeAfterCursor:c=Ro(c,d=>[Dr,d]);break}return s.printComment&&(!s.willPrintOwnComments||!s.willPrintOwnComments(e,t))&&(c=Fw(e,c,t)),c}async function pf(e,t){let r=e.comments??[];t[Symbol.for("comments")]=r,t[Symbol.for("tokens")]=e.tokens??[],t[Symbol.for("printedComments")]=new Set,ww(e,t);let{printer:{preprocess:n}}=t;return e=n?await n(e,t):e,{ast:e,comments:r}}function b2(e,t){let{cursorOffset:r,locStart:n,locEnd:a}=t,o=di(t.printer.getVisitorKeys),i=u(h=>n(h)<=r&&a(h)>=r,"o"),s=e,c=[e];for(let h of vw(e,{getVisitorKeys:o,filter:i}))c.push(h),s=h;if(yw(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 v of si(s,{getVisitorKeys:o})){if(!h){let b=a(v);b<=r&&b>m&&(d=v,m=b)}if(!g){let b=n(v);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 Hw(e,t){let r=[e.node,...e.parentNodes],n=new Set([t.node,...t.parentNodes]);return r.find(a=>bf.has(a.type)&&n.has(a))}function Pd(e){let t=wD(!1,e,r=>r.type!=="Program"&&r.type!=="File");return t===-1?e:e.slice(0,t+1)}function $w(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 Pd(t.parentNodes))if(r(c)>=i)o=c;else break;let s=n(t.node);for(let c of Pd(e.parentNodes)){if(n(c)<=s)a=c;else break;if(a===o)break}return{startNode:a,endNode:o}}function Ql(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=Ql(r,n,t,(h,g)=>Nd(t,h,g),[],"rangeStart"),f=c?d:Ql(r,a,t,h=>Nd(t,h),[],"rangeEnd");if(!d||!f)return{rangeStart:0,rangeEnd:0};let m,p;if(DD(t)){let h=Hw(d,f);m=h,p=h}else({startNode:m,endNode:p}=$w(d,f,t));return{rangeStart:Math.min(o(m),o(p)),rangeEnd:Math.max(i(m),i(p))}}async function ff(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,...yD(n,t)});let o=await ui(n,t);r>0&&(o=Fd([Cr,o],r,t.tabWidth));let i=$o(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+Vs(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,n1);let g=m.split(""),v=ow(h,g),b=f;for(let C of v)if(C.removed){if(C.value.includes(n1))break}else b+=C.count;return{formatted:i.formatted,cursorOffset:b,comments:s}}return{formatted:i.formatted,cursorOffset:-1,comments:s}}async function Uw(e,t){let{ast:r,text:n}=await Ra(e,t),{rangeStart:a,rangeEnd:o}=Vw(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=ns(c,t.tabWidth),f=await ff(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=Vs(t.endOfLine);p>=0&&g===`\r +`&&(p+=af(h.slice(0,p),` +`)),h=ci(!1,h,` +`,g)}return{formatted:h,cursorOffset:p,comments:f.comments}}function pl(e,t,r){return typeof t!="number"||Number.isNaN(t)||t<0||t>e.length?r:t}function Hd(e,t){let{cursorOffset:r,rangeStart:n,rangeEnd:a}=t;return r=pl(e,r,-1),n=pl(e,n,0),a=pl(e,a,e.length),{...t,cursorOffset:r,rangeStart:n,rangeEnd:a}}function hf(e,t){let{cursorOffset:r,rangeStart:n,rangeEnd:a,endOfLine:o}=Hd(e,t),i=e.charAt(0)===wf;if(i&&(e=e.slice(1),r--,n--,a--),o==="auto"&&(o=iw(e)),e.includes("\r")){let s=u(c=>af(e.slice(0,Math.max(c,0)),`\r +`),"s");r-=s(r),n-=s(n),a-=s(a),e=lw(e)}return{hasBOM:i,text:e,options:Hd(e,{...t,cursorOffset:r,rangeStart:n,rangeEnd:a,endOfLine:o})}}async function $d(e,t){let r=await cf(t);return!r.hasPragma||r.hasPragma(e)}async function jd(e,t){let{hasBOM:r,text:n,options:a}=hf(e,await En(t));if(a.rangeStart>=a.rangeEnd&&n!==""||a.requirePragma&&!await $d(n,a))return{formatted:e,cursorOffset:t.cursorOffset,comments:[]};let o;return a.rangeStart>0||a.rangeEnd=0&&o.cursorOffset++),o}async function D2(e,t,r){let{text:n,options:a}=hf(e,await En(t)),o=await Ra(n,a);return r&&(r.preprocessForPrint&&(o.ast=await pf(o.ast,a)),r.massage&&(o.ast=bD(o.ast,a))),o}async function E2(e,t){t=await En(t);let r=await ui(e,t);return $o(r,t)}async function C2(e,t){let r=sw(e),{formatted:n}=await jd(r,{...t,parser:"__js_expression"});return n}async function x2(e,t){t=await En(t);let{ast:r}=await Ra(e,t);return ui(r,t)}async function S2(e,t){return $o(e,await En(t))}function F2(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 I2(e,t){let r=Ks(e,t);return r===!1?"":e.charAt(r)}function z2(e,t){let r=t===!0||t===bo?bo:a1,n=r===bo?a1:bo,a=0,o=0;for(let i of e)i===r?a++:i===n&&o++;return a>o?n:r}function T2(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 Ww(e,t,r){return Ks(e,r(t))}function O2(e,t){return arguments.length===2||typeof t=="number"?Ks(e,t):Ww(...arguments)}function Gw(e,t,r){return Gs(e,r(t))}function P2(e,t){return arguments.length===2||typeof t=="number"?Gs(e,t):Gw(...arguments)}function Kw(e,t,r){return ls(e,r(t))}function N2(e,t){return arguments.length===2||typeof t=="number"?ls(e,t):Kw(...arguments)}function hr(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 Vd(e,t){let{formatted:r}=await o1(e,{...t,cursorOffset:-1});return r}async function H2(e,t){return await Vd(e,t)===e}var $2,Vi,j2,V2,U2,q2,t0,r0,Ui,W2,Za,G2,K2,zn,qi,Y2,n0,J2,ci,Xa,Z2,Qa,X2,Wi,Q2,ev,Tn,vo,Tr,Gt,Er,Kt,Yt,Vt,He,bt,Ve,Jt,Zt,Ut,De,wt,Je,mf,Lr,Yw,a0,tv,fn,Ud,es,o0,Dt,Ws,rv,yo,nv,fl,i0,qd,av,Cr,Wd,Dr,ov,ge,Jw,Zw,Xw,ts,ze,dt,an,rs,ns,Gr,l0,Gi,s0,iv,Qw,u0,as,eD,lv,cr,Gd,Kd,Rr,ur,tD,Yd,rD,di,hl,ml,gf,Gs,nD,c0,vf,d0,Jd,aD,oD,iD,Yr,p0,sv,on,Zd,eo,Xd,uv,f0,gl,Qd,e1,lD,h0,ir,m0,sD,g0,uD,v0,cD,y0,dD,b0,pD,w0,cv,D0,fD,E0,t1,dv,pv,fv,hv,C0,hD,x0,mD,mv,yf,r1,En,gD,Ra,vD,yD,bD,gv,wD,DD,bf,ED,wf,n1,S0,vv,yv,bv,wv,F0,os,is,Ks,ls,Dv,Ev,Cv,bo,a1,xv,Sv,Fv,Av,o1,kv,_v,CD,HF=z(()=>{$2=Object.create,Vi=Object.defineProperty,j2=Object.getOwnPropertyDescriptor,V2=Object.getOwnPropertyNames,U2=Object.getPrototypeOf,q2=Object.prototype.hasOwnProperty,t0=u(e=>{throw TypeError(e)},"fr"),r0=u((e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),"dr"),Ui=u((e,t)=>{for(var r in t)Vi(e,r,{get:t[r],enumerable:!0})},"Bt"),W2=u((e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of V2(t))!q2.call(e,a)&&a!==r&&Vi(e,a,{get:u(()=>t[a],"get"),enumerable:!(n=j2(t,a))||n.enumerable});return e},"_u"),Za=u((e,t,r)=>(r=e!=null?$2(U2(e)):{},W2(t||!e||!e.__esModule?Vi(r,"default",{value:e,enumerable:!0}):r,e)),"Me"),G2=u((e,t,r)=>t.has(e)||t0("Cannot "+r),"xu"),K2=u((e,t,r)=>t.has(e)?t0("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)=>(G2(e,t,"access private method"),r),"pe"),qi=r0((e,t)=>{var r=new Proxy(String,{get:u(()=>r,"get")});t.exports=r}),Y2=r0(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,v=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,v];else{let S=i[x-w].length;D[x]=[0,S]}}else h===v?h?D[p]=[h,0]:D[p]=!0:D[p]=[h,v-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,v=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&&(v=`${" ".repeat(g+1)}${s.message} +${v}`),v}u(a,"_i"),e.codeFrameColumns=a}),n0={},Ui(n0,{__debug:u(()=>_v,"__debug"),check:u(()=>H2,"check"),doc:u(()=>S0,"doc"),format:u(()=>Vd,"format"),formatWithCursor:u(()=>o1,"formatWithCursor"),getSupportInfo:u(()=>kv,"getSupportInfo"),util:u(()=>F0,"util"),version:u(()=>wv,"version")}),J2=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"),ci=J2,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(Gc(o,h[0].lastComponent,t,e,o.useLongestToken));var v=-1/0,b=1/0;function C(){for(var D=Math.max(v,-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(Gc(o,w.lastComponent,t,e,o.useLongestToken));h[D]=w,w.oldPos+1>=c&&(b=Math.min(b,D-1)),g+1>=s&&(v=Math.max(v,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(Z2)||[];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},Qa.join=function(e){return e.map(function(t,r){return r==0?t:t.replace(/^\s+/,"")}).join("")},Qa.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)&&Kc(r,a,n,o),r=o,n=null,a=null)}),(n||a)&&Kc(r,a,n,null),e},u(Kc,"Cr"),X2=new ct,X2.tokenize=function(e){var t=new RegExp("(\\r?\\n)|[".concat(Xa,"]+|[^\\S\\n\\r]+|[^").concat(Xa,"]"),"ug");return e.match(t)||[]},Wi=new ct,Wi.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(Kl(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(Kl,"bt"),vo=new ct,vo.tokenize=function(e){return e.slice()},vo.join=vo.removeEmpty=function(e){return e},u(ow,"gr"),u(iw,"yr"),u(Vs,"xe"),u(af,"Ot"),u(lw,"Ar"),Tr="string",Gt="array",Er="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",mf=new Set([Er,Kt,Yt,Vt,He,bt,Ve,Jt,Zt,Ut,De,wt,Je]),u(zg,"Lu"),Lr=zg,Yw=u(e=>new Intl.ListFormat("en-US",{type:"disjunction"}).format(e),"Pu"),u(Tg,"Iu"),tv=(a0=class extends Error{constructor(t){super(Tg(t));Rn(this,"name","InvalidDocError");this.doc=t}},u(a0,"St"),a0),fn=tv,Ud={},u(Lg,"Ru"),es=Lg,o0=u(()=>{},"Br"),Dt=o0,Ws=o0,u(No,"le"),u(pn,"De"),u(xd,"Tt"),u(Mg,"wr"),u(Og,"_r"),u(Pg,"xr"),u(Ng,"br"),u(Hg,"Nr"),u($g,"Or"),u(jg,"Sr"),u(Yl,"Ne"),rv={type:Ut},yo={type:Je},nv={type:Vt},fl={type:De,hard:!0},i0={type:De,hard:!0,literal:!0},qd={type:De},av={type:De,soft:!0},Cr=[fl,yo],Wd=[i0,yo],Dr={type:Er},u(Sd,"Se"),u(Fd,"Qe"),u(Vg,"Pr"),u(Lt,"ee"),u(sw,"Ir"),ov=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=ov,Jw=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(Ug,"Yr"),u(qg,"jr"),Zw=u(e=>!(Ug(e)||qg(e)),"Hr"),Xw=/[^\x20-\x7F]/u,u(Wg,"Hu"),ts=Wg,u(Ho,"Le"),u(Jl,"Ze"),u(uw,"Wu"),u(Gg,"Mr"),u(Ad,"Wr"),u(cw,"Ur"),u(dw,"$u"),u(Kg,"Vr"),u(kd,"$r"),u(Qn,"ke"),u(_d,"et"),u(pw,"Mu"),u(fw,"Uu"),u(Yg,"zr"),u(hw,"Vu"),u(Jg,"Gr"),u(Ro,"me"),ze=Symbol("MODE_BREAK"),dt=Symbol("MODE_FLAT"),an=Symbol("cursor"),rs=Symbol("DOC_FILL_PRINTED_LENGTH"),u(of,"Kr"),u(mw,"zu"),u(gw,"Gu"),u(Zl,"Pt"),u(Xl,"It"),u(go,"tt"),u($o,"Ee"),u(Zg,"Ku"),ns=Zg,iv=(s0=class{constructor(e){K2(this,Gr),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,Gr,Gi).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,Gr,l0).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,Gr,l0).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,Gr,Gi).call(this))if(e(t))return t}hasAncestor(e){for(let t of zn(this,Gr,Gi).call(this))if(e(t))return!0;return!1}},u(s0,"Rt"),s0),Gr=new WeakSet,l0=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"),Gi=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"),Qw=iv,u0=new Proxy(()=>{},{get:u(()=>u0,"get")}),as=u0,u(Xg,"Ju"),eD=Xg,u(si,"ge"),u(vw,"Qr"),u(yw,"Zr"),u(In,"ye"),lv=In(/\s/u),cr=In(" "),Gd=In(",; "),Kd=In(/[^\n\r]/u),u(Qg,"qu"),Rr=Qg,u(e2,"Xu"),ur=e2,u(t2,"Qu"),tD=t2,Yd=new Set(["tokens","comments","parent","enclosingNode","precedingNode","followingNode"]),rD=u(e=>Object.keys(e).filter(t=>!Yd.has(t)),"Zu"),u(r2,"ei"),di=r2,u(bw,"ti"),u(Us,"Ht"),u(rn,"ue"),u(Io,"re"),u(nn,"ie"),hl=new WeakMap,u(qs,"it"),u(lf,"nn"),ml=u(()=>!1,"$t"),u(ww,"un"),gf=u(e=>!/[\S\n\u2028\u2029]/u.test(e),"on"),u(Dw,"ri"),u(Ew,"ni"),u(Bd,"rn"),u(cl,"Mt"),u(n2,"ui"),Gs=n2,u(sf,"sn"),u(Cw,"ii"),u(xw,"oi"),u(Sw,"si"),u(Fw,"an"),u(Aw,"Dn"),u(a2,"ai"),nD=a2,vf=(c0=class extends Error{constructor(){super(...arguments);Rn(this,"name","ConfigError")}},u(c0,"Re"),c0),Jd=(d0=class extends Error{constructor(){super(...arguments);Rn(this,"name","UndefinedParserError")}},u(d0,"Ye"),d0),aD={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(Rd,"ot"),u(kw,"Di"),u(_w,"li"),oD=u(e=>String(e).split(/[/\\]/u).pop(),"ci"),u(Id,"fn"),u(Bw,"fi"),u(o2,"di"),iD=o2,Yr={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=>Yr.value(r)).join(", ")}]`;let t=Object.keys(e);return t.length===0?"{}":`{ ${t.map(r=>`${Yr.key(r)}: ${Yr.value(e[r])}`).join(", ")} }`},pair:u(({key:e,value:t})=>Yr.value({[e]:t}),"pair")},p0=Za(qi(),1),sv=u((e,t,{descriptor:r})=>{let n=[`${p0.default.yellow(typeof e=="string"?r.key(e):r.pair(e))} is deprecated`];return t&&n.push(`we now treat it as ${p0.default.blue(typeof t=="string"?r.key(t):r.pair(t))}`),n.join("; ")+"."},"mn"),on=Za(qi(),1),Zd=Symbol.for("vnopts.VALUE_NOT_EXIST"),eo=Symbol.for("vnopts.VALUE_UNCHANGED"),Xd=" ".repeat(2),uv=u((e,t,r)=>{let{text:n,list:a}=r.normalizeExpectedResult(r.schemas[e].expected(r)),o=[];return n&&o.push(Yc(e,t,n,r.descriptor)),a&&o.push([Yc(e,t,a.title,r.descriptor)].concat(a.values.map(i=>zd(i,r.loggerPrintWidth))).join(` +`)),Td(o,r.loggerPrintWidth)},"Cn"),u(Yc,"En"),u(zd,"gn"),u(Td,"yn"),f0=Za(qi(),1),gl=[],Qd=[],u(i2,"zt"),e1=u((e,t,{descriptor:r,logger:n,schemas:a})=>{let o=[`Ignored unknown option ${f0.default.yellow(r.pair({key:e,value:t}))}.`],i=Object.keys(a).sort().find(s=>i2(e,s)<3);i&&o.push(`Did you mean ${f0.default.blue(r.key(i))}?`),n.warn(o.join(" "))},"Dt"),lD=["default","expected","validate","deprecated","forward","redirect","overlap","preprocess","postprocess"],u(l2,"Fi"),ir=(h0=class{static create(e){return l2(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 eo}},u(h0,"x"),h0),u(Rw,"mi"),sD=(m0=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(m0,"lt"),m0),uD=(g0=class extends ir{expected(){return"anything"}validate(){return!0}},u(g0,"ct"),g0),cD=(v0=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(Jc))}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(Jc))}return r.length===0?{redirect:n}:{redirect:n,remain:r}}overlap(e,t){return e.concat(t)}},u(v0,"ft"),v0),u(Jc,"vn"),dD=(y0=class extends ir{expected(){return"true or false"}validate(e){return typeof e=="boolean"}},u(y0,"dt"),y0),u(s2,"wn"),u(u2,"_n"),u(c2,"xn"),u(d2,"bn"),u(p2,"Nn"),u(f2,"On"),u(h2,"Sn"),u(Zc,"Kt"),u(Ld,"Jt"),u(Xc,"qt"),u(Qc,"Xt"),u(Md,"Bn"),u(dl,"pt"),u(e0,"Qt"),u(Iw,"hi"),pD=(b0=class extends ir{constructor(e){super(e),this._choices=u2(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(f2).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(b0,"Ft"),b0),cv=(w0=class extends ir{expected(){return"a number"}validate(e,t){return typeof e=="number"}},u(w0,"mt"),w0),fD=(D0=class extends cv{expected(){return"an integer"}validate(e,t){return t.normalizeValidateResult(super.validate(e,t),e)===!0&&p2(e)}},u(D0,"ht"),D0),t1=(E0=class extends ir{expected(){return"a string"}validate(e){return typeof e=="string"}},u(E0,"je"),E0),dv=Yr,pv=e1,fv=uv,hv=sv,hD=(C0=class{constructor(e,t){let{logger:r=console,loggerPrintWidth:n=80,descriptor:a=dv,unknown:o=pv,invalid:i=fv,deprecated:s=hv,missing:c=u(()=>!1,"D"),required:d=u(()=>!1,"l"),preprocess:f=u(p=>p,"p"),postprocess:m=u(()=>eo,"f")}=t||{};this._utils={descriptor:a,logger:r||{warn:u(()=>{},"warn")},loggerPrintWidth:n,schemas:s2(e,"name"),normalizeDefaultResult:Zc,normalizeExpectedResult:Ld,normalizeDeprecatedResult:Qc,normalizeForwardResult:dl,normalizeRedirectResult:e0,normalizeValidateResult:Xc},this._unknownHandler=o,this._invalidHandler=h2(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=c2()}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=Zc(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!==eo&&(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=Qc(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 v={key:o,value:g};if(!this._hasDeprecationWarned(v)){let b=typeof p=="string"?{key:p,value:g}:p;this._utils.logger.warn(this._deprecatedHandler(v,b,this._utils))}}},"l");dl(i.forward(s,this._utils),s).forEach(c);let f=e0(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,Zd,this._utils)}_partitionOptionKeys(e){let[t,r]=d2(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=Xc(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!==eo){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(C0,"Et"),C0),u(m2,"Ci"),u(zw,"gi"),u(Tw,"yi"),mD=m2,mv=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"),yf=mv,u(uf,"tr"),u(Lw,"Rn"),u(cf,"Ct"),u(df,"rr"),u(Mw,"Yn"),r1={astFormat:"estree",printer:{},originalText:void 0,locStart:null,locEnd:null},u(g2,"vi"),En=g2,gD=Za(Y2(),1),u(v2,"xi"),u(Ow,"bi"),Ra=v2,u(Pw,"Mn"),u(Nw,"Ni"),u(y2,"Oi"),vD=y2,u(ui,"He"),u(Od,"Vn"),u(pf,"ur"),u(b2,"Si"),yD=b2,u(w2,"Ti"),bD=w2,gv=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"),wD=gv,DD=u(({parser:e})=>e==="json"||e==="json5"||e==="jsonc"||e==="json-stringify","Li"),u(Hw,"Pi"),u(Pd,"Jn"),u($w,"Ii"),u(Ql,"ir"),u(jw,"Ri"),bf=new Set(["JsonRoot","ObjectExpression","ArrayExpression","StringLiteral","NumericLiteral","BooleanLiteral","NullLiteral","UnaryExpression","TemplateLiteral"]),ED=new Set(["OperationDefinition","FragmentDefinition","VariableDefinition","TypeExtensionDefinition","ObjectTypeDefinition","FieldDefinition","DirectiveDefinition","EnumTypeDefinition","EnumValueDefinition","InputValueDefinition","InputObjectTypeDefinition","SchemaDefinition","OperationTypeDefinition","InterfaceTypeDefinition","UnionTypeDefinition","ScalarTypeDefinition"]),u(Nd,"qn"),u(Vw,"Qn"),wf="\uFEFF",n1=Symbol("cursor"),u(ff,"nu"),u(Uw,"ji"),u(pl,"or"),u(Hd,"eu"),u(hf,"uu"),u($d,"tu"),u(jd,"sr"),u(D2,"iu"),u(E2,"ou"),u(C2,"su"),u(x2,"au"),u(S2,"Du"),S0={},Ui(S0,{builders:u(()=>vv,"builders"),printer:u(()=>yv,"printer"),utils:u(()=>bv,"utils")}),vv={join:Sd,line:qd,softline:av,hardline:Cr,literalline:Wd,group:xd,conditionalGroup:Ng,fill:Hg,lineSuffix:Yl,lineSuffixBoundary:rv,cursor:Dr,breakParent:yo,ifBreak:$g,trim:nv,indent:No,indentIfBreak:jg,align:pn,addAlignmentToDoc:Fd,markAsRoot:Og,dedentToRoot:Mg,dedent:Pg,hardlineWithoutBreakParent:fl,literallineWithoutBreakParent:i0,label:Vg,concat:u(e=>e,"concat")},yv={printDocToString:$o},bv={willBreak:Gg,traverseDoc:es,findInDoc:Jl,mapDoc:Ho,removeLines:Kg,stripTrailingHardline:_d,replaceEndOfLine:Yg,canBreak:Jg},wv="3.4.2",F0={},Ui(F0,{addDanglingComment:u(()=>Io,"addDanglingComment"),addLeadingComment:u(()=>rn,"addLeadingComment"),addTrailingComment:u(()=>nn,"addTrailingComment"),getAlignmentSize:u(()=>ns,"getAlignmentSize"),getIndentSize:u(()=>Dv,"getIndentSize"),getMaxContinuousCount:u(()=>Ev,"getMaxContinuousCount"),getNextNonSpaceNonCommentCharacter:u(()=>Cv,"getNextNonSpaceNonCommentCharacter"),getNextNonSpaceNonCommentCharacterIndex:u(()=>O2,"getNextNonSpaceNonCommentCharacterIndex"),getPreferredQuote:u(()=>xv,"getPreferredQuote"),getStringWidth:u(()=>ts,"getStringWidth"),hasNewline:u(()=>ur,"hasNewline"),hasNewlineInRange:u(()=>Sv,"hasNewlineInRange"),hasSpaces:u(()=>Fv,"hasSpaces"),isNextLineEmpty:u(()=>N2,"isNextLineEmpty"),isNextLineEmptyAfterIndex:u(()=>ls,"isNextLineEmptyAfterIndex"),isPreviousLineEmpty:u(()=>P2,"isPreviousLineEmpty"),makeString:u(()=>Av,"makeString"),skip:u(()=>In,"skip"),skipEverythingButNewLine:u(()=>Kd,"skipEverythingButNewLine"),skipInlineComment:u(()=>os,"skipInlineComment"),skipNewline:u(()=>Rr,"skipNewline"),skipSpaces:u(()=>cr,"skipSpaces"),skipToLineEnd:u(()=>Gd,"skipToLineEnd"),skipTrailingComment:u(()=>is,"skipTrailingComment"),skipWhitespace:u(()=>lv,"skipWhitespace")}),u(F2,"Ui"),os=F2,u(A2,"Vi"),is=A2,u(k2,"zi"),Ks=k2,u(_2,"Gi"),ls=_2,u(B2,"Ki"),Dv=B2,u(qw,"Dr"),u(R2,"Ji"),Ev=R2,u(I2,"qi"),Cv=I2,bo="'",a1='"',u(z2,"Xi"),xv=z2,u(T2,"Qi"),Sv=T2,u(L2,"Zi"),Fv=L2,u(M2,"eo"),Av=M2,u(Ww,"to"),u(O2,"ro"),u(Gw,"no"),u(P2,"uo"),u(Kw,"io"),u(N2,"oo"),u(hr,"de"),o1=hr(jd),u(Vd,"gu"),u(H2,"so"),kv=hr(Rd,0),_v={parse:hr(D2),formatAST:hr(E2),formatDoc:hr(C2),printToDoc:hr(x2),printDocToString:hr(S2)},CD=n0});function xD(e){for(var t=[],r=1;r{u(xD,"dedent")}),SD={};Sa(SD,{formatter:()=>FD});var Bv,FD,jF=z(()=>{Bv=Ce(ks(),1),NF(),HF(),$F(),FD=(0,Bv.default)(2)(async(e,t)=>e===!1?t:e==="dedent"||e===!0?xD(t):(await CD.format(t,{parser:e,plugins:[nw],htmlWhitespaceSensitivity:"ignore"})).trim())}),i1,l1,VF=z(()=>{i1=u(function(e){return e.reduce(function(t,r){var n=r[0],a=r[1];return t[n]=a,t},{})},"fromEntries"),l1=typeof window<"u"&&window.document&&window.document.createElement?l.useLayoutEffect:l.useEffect}),Pe,Xe,Qe,Ne,ss,ea,un,ta,AD,Df,qn,kD,s1,Ef,Rv,Iv,zv,Tv,Lv,Mv,Ov,Pv,Nv,_D,rt=z(()=>{Pe="top",Xe="bottom",Qe="right",Ne="left",ss="auto",ea=[Pe,Xe,Qe,Ne],un="start",ta="end",AD="clippingParents",Df="viewport",qn="popper",kD="reference",s1=ea.reduce(function(e,t){return e.concat([t+"-"+un,t+"-"+ta])},[]),Ef=[].concat(ea,[ss]).reduce(function(e,t){return e.concat([t,t+"-"+un,t+"-"+ta])},[]),Rv="beforeRead",Iv="read",zv="afterRead",Tv="beforeMain",Lv="main",Mv="afterMain",Ov="beforeWrite",Pv="write",Nv="afterWrite",_D=[Rv,Iv,zv,Tv,Lv,Mv,Ov,Pv,Nv]});function Et(e){return e?(e.nodeName||"").toLowerCase():null}var Cn=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 Ir(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 Ys(e){if(typeof ShadowRoot>"u")return!1;var t=qe(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}var nt=z(()=>{Qt(),u(Ir,"isElement"),u(Ze,"isHTMLElement"),u(Ys,"isShadowRoot")});function Hv(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 $v(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 BD,UF=z(()=>{Cn(),nt(),u(Hv,"applyStyles"),u($v,"effect"),BD={name:"applyStyles",enabled:!0,phase:"write",fn:Hv,effect:$v,requires:["computeStyles"]}});function yt(e){return e.split("-")[0]}var xn=z(()=>{u(yt,"getBasePlacement")}),xr,jo,hn,Sn=z(()=>{xr=Math.max,jo=Math.min,hn=Math.round});function us(){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 RD=z(()=>{u(us,"getUAString")});function Cf(){return!/^((?!chrome|android).)*safari/i.test(us())}var ID=z(()=>{RD(),u(Cf,"isLayoutViewport")});function mn(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&&hn(n.width)/e.offsetWidth||1,o=e.offsetHeight>0&&hn(n.height)/e.offsetHeight||1);var i=Ir(e)?qe(e):window,s=i.visualViewport,c=!Cf()&&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 pi=z(()=>{nt(),Sn(),Qt(),ID(),u(mn,"getBoundingClientRect")});function Js(e){var t=mn(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 xf=z(()=>{pi(),u(Js,"getLayoutRect")});function Sf(e,t){var r=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(r&&Ys(r)){var n=t;do{if(n&&e.isSameNode(n))return!0;n=n.parentNode||n.host}while(n)}return!1}var zD=z(()=>{nt(),u(Sf,"contains")});function Xt(e){return qe(e).getComputedStyle(e)}var fi=z(()=>{Qt(),u(Xt,"getComputedStyle")});function TD(e){return["table","td","th"].indexOf(Et(e))>=0}var qF=z(()=>{Cn(),u(TD,"isTableElement")});function pr(e){return((Ir(e)?e.ownerDocument:e.document)||window.document).documentElement}var Mr=z(()=>{nt(),u(pr,"getDocumentElement")});function hi(e){return Et(e)==="html"?e:e.assignedSlot||e.parentNode||(Ys(e)?e.host:null)||pr(e)}var Zs=z(()=>{Cn(),Mr(),nt(),u(hi,"getParentNode")});function u1(e){return!Ze(e)||Xt(e).position==="fixed"?null:e.offsetParent}function LD(e){var t=/firefox/i.test(us()),r=/Trident/i.test(us());if(r&&Ze(e)){var n=Xt(e);if(n.position==="fixed")return null}var a=hi(e);for(Ys(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=u1(e);r&&TD(r)&&Xt(r).position==="static";)r=u1(r);return r&&(Et(r)==="html"||Et(r)==="body"&&Xt(r).position==="static")?t:r||LD(e)||t}var mi=z(()=>{Qt(),Cn(),fi(),nt(),qF(),Zs(),RD(),u(u1,"getTrueOffsetParent"),u(LD,"getContainingBlock"),u(Ia,"getOffsetParent")});function Xs(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}var Ff=z(()=>{u(Xs,"getMainAxisFromPlacement")});function ra(e,t,r){return xr(e,jo(t,r))}function MD(e,t,r){var n=ra(e,t,r);return n>r?r:n}var OD=z(()=>{Sn(),u(ra,"within"),u(MD,"withinMaxClamp")});function Af(){return{top:0,right:0,bottom:0,left:0}}var PD=z(()=>{u(Af,"getFreshSideObject")});function kf(e){return Object.assign({},Af(),e)}var ND=z(()=>{PD(),u(kf,"mergePaddingObject")});function _f(e,t){return t.reduce(function(r,n){return r[n]=e,r},{})}var HD=z(()=>{u(_f,"expandToHashMap")});function jv(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=Xs(s),d=[Ne,Qe].indexOf(s)>=0,f=d?"height":"width";if(!(!o||!i)){var m=$D(a.padding,r),p=Js(o),h=c==="y"?Pe:Ne,g=c==="y"?Xe:Qe,v=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=v/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 Vv(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)||Sf(t.elements.popper,a)&&(t.elements.arrow=a))}var $D,jD,WF=z(()=>{xn(),xf(),zD(),mi(),Ff(),OD(),ND(),HD(),rt(),$D=u(function(e,t){return e=typeof e=="function"?e(Object.assign({},t.rects,{placement:t.placement})):e,kf(typeof e!="number"?e:_f(e,ea))},"toPaddingObject"),u(jv,"arrow"),u(Vv,"effect"),jD={name:"arrow",enabled:!0,phase:"main",fn:jv,effect:Vv,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]}});function gn(e){return e.split("-")[1]}var gi=z(()=>{u(gn,"getVariation")});function VD(e,t){var r=e.x,n=e.y,a=t.devicePixelRatio||1;return{x:hn(r*a)/a||0,y:hn(n*a)/a||0}}function c1(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,v=g===void 0?0:g,b=typeof f=="function"?f({x:h,y:v}):{x:h,y:v};h=b.x,v=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];v-=_-n.height,v*=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&&UD),T=f===!0?VD({x:h,y:v},qe(r)):{x:h,y:v};if(h=T.x,v=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, "+v+"px)":"translate3d("+h+"px, "+v+"px, 0)",L))}return Object.assign({},I,(t={},t[w]=E?v+"px":"",t[D]=C?h+"px":"",t.transform="",t))}function Uv(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:gn(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,c1(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,c1(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 UD,qD,GF=z(()=>{rt(),mi(),Qt(),Mr(),fi(),xn(),gi(),Sn(),UD={top:"auto",right:"auto",bottom:"auto",left:"auto"},u(VD,"roundOffsetsByDPR"),u(c1,"mapToStyles"),u(Uv,"computeStyles"),qD={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:Uv,data:{}}});function qv(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,wo)}),s&&c.addEventListener("resize",r.update,wo),function(){o&&d.forEach(function(f){f.removeEventListener("scroll",r.update,wo)}),s&&c.removeEventListener("resize",r.update,wo)}}var wo,WD,KF=z(()=>{Qt(),wo={passive:!0},u(qv,"effect"),WD={name:"eventListeners",enabled:!0,phase:"write",fn:u(function(){},"fn"),effect:qv,data:{}}});function zo(e){return e.replace(/left|right|bottom|top/g,function(t){return GD[t]})}var GD,YF=z(()=>{GD={left:"right",right:"left",bottom:"top",top:"bottom"},u(zo,"getOppositePlacement")});function d1(e){return e.replace(/start|end/g,function(t){return KD[t]})}var KD,JF=z(()=>{KD={start:"end",end:"start"},u(d1,"getOppositeVariationPlacement")});function Qs(e){var t=qe(e),r=t.pageXOffset,n=t.pageYOffset;return{scrollLeft:r,scrollTop:n}}var Bf=z(()=>{Qt(),u(Qs,"getWindowScroll")});function eu(e){return mn(pr(e)).left+Qs(e).scrollLeft}var Rf=z(()=>{pi(),Mr(),Bf(),u(eu,"getWindowScrollBarX")});function YD(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=Cf();(d||!d&&t==="fixed")&&(s=a.offsetLeft,c=a.offsetTop)}return{width:o,height:i,x:s+eu(e),y:c}}var ZF=z(()=>{Qt(),Mr(),Rf(),ID(),u(YD,"getViewportRect")});function JD(e){var t,r=pr(e),n=Qs(e),a=(t=e.ownerDocument)==null?void 0:t.body,o=xr(r.scrollWidth,r.clientWidth,a?a.scrollWidth:0,a?a.clientWidth:0),i=xr(r.scrollHeight,r.clientHeight,a?a.scrollHeight:0,a?a.clientHeight:0),s=-n.scrollLeft+eu(e),c=-n.scrollTop;return Xt(a||r).direction==="rtl"&&(s+=xr(r.clientWidth,a?a.clientWidth:0)-o),{width:o,height:i,x:s,y:c}}var XF=z(()=>{Mr(),fi(),Rf(),Bf(),Sn(),u(JD,"getDocumentRect")});function tu(e){var t=Xt(e),r=t.overflow,n=t.overflowX,a=t.overflowY;return/auto|scroll|overlay|hidden/.test(r+a+n)}var If=z(()=>{fi(),u(tu,"isScrollParent")});function zf(e){return["html","body","#document"].indexOf(Et(e))>=0?e.ownerDocument.body:Ze(e)&&tu(e)?e:zf(hi(e))}var QF=z(()=>{Zs(),If(),Cn(),nt(),u(zf,"getScrollParent")});function na(e,t){var r;t===void 0&&(t=[]);var n=zf(e),a=n===((r=e.ownerDocument)==null?void 0:r.body),o=qe(n),i=a?[o].concat(o.visualViewport||[],tu(n)?n:[]):n,s=t.concat(i);return a?s:s.concat(na(hi(i)))}var ZD=z(()=>{QF(),Zs(),Qt(),If(),u(na,"listScrollParents")});function cs(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}var XD=z(()=>{u(cs,"rectToClientRect")});function QD(e,t){var r=mn(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 p1(e,t,r){return t===Df?cs(YD(e,r)):Ir(t)?QD(t,r):cs(JD(pr(e)))}function e6(e){var t=na(hi(e)),r=["absolute","fixed"].indexOf(Xt(e).position)>=0,n=r&&Ze(e)?Ia(e):e;return Ir(n)?t.filter(function(a){return Ir(a)&&Sf(a,n)&&Et(a)!=="body"}):[]}function t6(e,t,r,n){var a=t==="clippingParents"?e6(e):[].concat(t),o=[].concat(a,[r]),i=o[0],s=o.reduce(function(c,d){var f=p1(e,d,n);return c.top=xr(f.top,c.top),c.right=jo(f.right,c.right),c.bottom=jo(f.bottom,c.bottom),c.left=xr(f.left,c.left),c},p1(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 eA=z(()=>{rt(),ZF(),XF(),ZD(),mi(),Mr(),fi(),nt(),pi(),Zs(),zD(),Cn(),XD(),Sn(),u(QD,"getInnerBoundingClientRect"),u(p1,"getClientRectFromMixedType"),u(e6,"getClippingParents"),u(t6,"getClippingRect")});function Tf(e){var t=e.reference,r=e.element,n=e.placement,a=n?yt(n):null,o=n?gn(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?Xs(a):null;if(d!=null){var f=d==="y"?"height":"width";switch(o){case un: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 r6=z(()=>{xn(),gi(),Ff(),rt(),u(Tf,"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?AD:s,d=r.rootBoundary,f=d===void 0?Df:d,m=r.elementContext,p=m===void 0?qn:m,h=r.altBoundary,g=h===void 0?!1:h,v=r.padding,b=v===void 0?0:v,C=kf(typeof b!="number"?b:_f(b,ea)),E=p===qn?kD:qn,D=e.rects.popper,w=e.elements[g?E:p],x=t6(Ir(w)?w:w.contextElement||pr(e.elements.popper),c,f,i),S=mn(e.elements.reference),F=Tf({reference:S,element:D,placement:a}),A=cs(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 ru=z(()=>{eA(),Mr(),pi(),r6(),XD(),rt(),nt(),ND(),HD(),u(ya,"detectOverflow")});function n6(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?Ef:c,f=gn(n),m=f?s?s1:s1.filter(function(g){return gn(g)===f}):ea,p=m.filter(function(g){return d.indexOf(g)>=0});p.length===0&&(p=m);var h=p.reduce(function(g,v){return g[v]=ya(e,{placement:v,boundary:a,rootBoundary:o,padding:i})[yt(v)],g},{});return Object.keys(h).sort(function(g,v){return h[g]-h[v]})}var tA=z(()=>{gi(),rt(),ru(),xn(),u(n6,"computeAutoPlacement")});function a6(e){if(yt(e)===ss)return[];var t=zo(e);return[d1(e),t,d1(t)]}function Wv(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,v=r.allowedAutoPlacements,b=t.options.placement,C=yt(b),E=C===b,D=c||(E||!g?[zo(b)]:a6(b)),w=[b].concat(D).reduce(function(le,$){return le.concat(yt($)===ss?n6(t,{placement:$,boundary:f,rootBoundary:m,padding:d,flipVariations:g,allowedAutoPlacements:v}):$)},[]),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=zo(q));var W=zo(q),G=[];if(o&&G.push(N[T]<=0),s&&G.push(N[q]<=0,N[W]<=0),G.every(function(le){return le})){_=I,A=!1;break}F.set(I,G)}if(A)for(var J=g?3:1,te=u(function(le){var $=w.find(function(Z){var re=F.get(Z);if(re)return re.slice(0,le).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 o6,rA=z(()=>{YF(),xn(),JF(),ru(),tA(),rt(),gi(),u(a6,"getExpandedFallbackPlacements"),u(Wv,"flip"),o6={name:"flip",enabled:!0,phase:"main",fn:Wv,requiresIfExists:["offset"],data:{_skip:!1}}});function f1(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 h1(e){return[Pe,Qe,Xe,Ne].some(function(t){return e[t]>=0})}function Gv(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=f1(i,n),d=f1(s,a,o),f=h1(c),m=h1(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 i6,nA=z(()=>{rt(),ru(),u(f1,"getSideOffsets"),u(h1,"isAnySideFullyClipped"),u(Gv,"hide"),i6={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:Gv}});function l6(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 Kv(e){var t=e.state,r=e.options,n=e.name,a=r.offset,o=a===void 0?[0,0]:a,i=Ef.reduce(function(f,m){return f[m]=l6(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 s6,aA=z(()=>{xn(),rt(),u(l6,"distanceAndSkiddingToXY"),u(Kv,"offset"),s6={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:Kv}});function Yv(e){var t=e.state,r=e.name;t.modifiersData[r]=Tf({reference:t.rects.reference,element:t.rects.popper,placement:t.placement})}var u6,oA=z(()=>{r6(),u(Yv,"popperOffsets"),u6={name:"popperOffsets",enabled:!0,phase:"read",fn:Yv,data:{}}});function c6(e){return e==="x"?"y":"x"}var iA=z(()=>{u(c6,"getAltAxis")});function Jv(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,v=g===void 0?0:g,b=ya(t,{boundary:c,rootBoundary:d,padding:m,altBoundary:f}),C=yt(t.placement),E=gn(t.placement),D=!E,w=Xs(C),x=c6(w),S=t.modifiersData.popperOffsets,F=t.rects.reference,A=t.rects.popper,_=typeof v=="function"?v(Object.assign({},t.rects,{placement:t.placement})):v,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===un?F[N]:A[N],ne=E===un?-A[N]:-F[N],X=t.elements.arrow,le=h&&X?Js(X):{width:0,height:0},$=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:Af(),Z=$[P],re=$[M],fe=ra(0,F[N],le[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,Pr=ra(h?jo(W,it):W,q,h?xr(G,kt):G);S[w]=Pr,T[w]=Pr-q}if(s){var kn,_t=w==="x"?Pe:Ne,yi=w==="x"?Xe:Qe,Re=S[x],Nr=x==="y"?"height":"width",Bt=Re+b[_t],_n=Re-b[yi],Rt=[Pe,Ne].indexOf(C)!==-1,Bn=(kn=I==null?void 0:I[x])!=null?kn:0,It=Rt?Bt:Re-F[Nr]-A[Nr]-Bn+R.altAxis,Se=Rt?Re+F[Nr]+A[Nr]-Bn-R.altAxis:_n,lt=h&&Rt?MD(It,Re,Se):ra(h?It:Bt,Re,h?Se:_n);S[x]=lt,T[x]=lt-Re}t.modifiersData[n]=T}}var d6,lA=z(()=>{rt(),xn(),Ff(),iA(),OD(),xf(),mi(),ru(),gi(),PD(),Sn(),u(Jv,"preventOverflow"),d6={name:"preventOverflow",enabled:!0,phase:"main",fn:Jv,requiresIfExists:["offset"]}}),p6=z(()=>{});function f6(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}var sA=z(()=>{u(f6,"getHTMLElementScroll")});function h6(e){return e===qe(e)||!Ze(e)?Qs(e):f6(e)}var uA=z(()=>{Bf(),Qt(),nt(),sA(),u(h6,"getNodeScroll")});function m6(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 g6(e,t,r){r===void 0&&(r=!1);var n=Ze(t),a=Ze(t)&&m6(t),o=pr(t),i=mn(e,a,r),s={scrollLeft:0,scrollTop:0},c={x:0,y:0};return(n||!n&&!r)&&((Et(t)!=="body"||tu(o))&&(s=h6(t)),Ze(t)?(c=mn(t,!0),c.x+=t.clientLeft,c.y+=t.clientTop):o&&(c.x=eu(o))),{x:i.left+s.scrollLeft-c.x,y:i.top+s.scrollTop-c.y,width:i.width,height:i.height}}var cA=z(()=>{pi(),uA(),Cn(),nt(),Rf(),Mr(),If(),Sn(),u(m6,"isElementScaled"),u(g6,"getCompositeRect")});function v6(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 y6(e){var t=v6(e);return _D.reduce(function(r,n){return r.concat(t.filter(function(a){return a.phase===n}))},[])}var dA=z(()=>{rt(),u(v6,"order"),u(y6,"orderModifiers")});function b6(e){var t;return function(){return t||(t=new Promise(function(r){Promise.resolve().then(function(){t=void 0,r(e())})})),t}}var pA=z(()=>{u(b6,"debounce")});function w6(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 fA=z(()=>{u(w6,"mergeByName")});function m1(){for(var e=arguments.length,t=new Array(e),r=0;r{cA(),xf(),ZD(),mi(),dA(),pA(),fA(),nt(),g1={placement:"bottom",modifiers:[],strategy:"absolute"},u(m1,"areValidElements"),u(D6,"popperGenerator")}),Zv,E6,mA=z(()=>{hA(),KF(),oA(),GF(),UF(),aA(),rA(),lA(),WF(),nA(),p6(),Zv=[WD,u6,qD,BD,s6,o6,d6,jD,i6],E6=D6({defaultModifiers:Zv})}),gA=z(()=>{rt(),p6(),mA()}),vA=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")}),Xv,Qv,C6,yA=z(()=>{gA(),Xv=Ce(vA()),VF(),Qv=[],C6=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||Qv},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);xs.flushSync(function(){s({styles:i1(h.map(function(g){return[g,p.styles[g]||{}]})),attributes:i1(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,Xv.default)(n.current,m)?n.current||m:(n.current=m,m)},[a.onFirstUpdate,a.placement,a.strategy,a.modifiers,c]),f=l.useRef();return l1(function(){f.current&&f.current.setOptions(d)},[d]),l1(function(){if(!(e==null||t==null)){var m=r.createPopper||E6,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")}),bA=z(()=>{yA()});function Lf(e){var t=l.useRef(e);return t.current=e,l.useCallback(function(){return t.current},[])}function x6(e){var t=e.initial,r=e.value,n=e.onChange,a=n===void 0?F6: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=Lf(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 v1(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 S6(e,t){var r,n,a;e===void 0&&(e={}),t===void 0&&(t={});var o=Object.keys(b1).reduce(function(M,N){var q;return Te({},M,(q={},q[N]=M[N]!==void 0?M[N]:b1[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=x6({initial:o.defaultVisible,value:o.visible,onChange:o.onVisibleChange}),v=g[0],b=g[1],C=l.useRef();l.useEffect(function(){return function(){return clearTimeout(C.current)}},[]);var E=C6(o.followCursor?y1:d,p,s),D=E.styles,w=E.attributes,x=_s(E,A6),S=x.update,F=Lf({visible:v,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;y1.getBoundingClientRect=v1(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:v},x)}var F6,A6,y1,b1,wA=z(()=>{mp(),Fs(),bA(),u(Lf,"useGetLatest"),F6=u(function(){},"noop"),u(x6,"useControlledState"),u(v1,"generateBoundingClientRect"),A6=["styles","attributes"],y1={getBoundingClientRect:v1()},b1={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(S6,"usePopperTooltip")}),e4,Ke,ar,t4,r4,w1,DA=z(()=>{e4=Ce(ks(),1),Ke=(0,e4.default)(1e3)((e,t,r,n=0)=>t.split("-")[0]===e?r:n),ar=8,t4=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"?$a(e.background.app):e.background.app,"transparent"),borderBottomColor:Ke("bottom",r,e.color[t]||t||e.base==="light"?$a(e.background.app):e.background.app,"transparent"),borderLeftColor:Ke("left",r,e.color[t]||t||e.base==="light"?$a(e.background.app):e.background.app,"transparent"),borderRightColor:Ke("right",r,e.color[t]||t||e.base==="light"?$a(e.background.app):e.background.app,"transparent")})),r4=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"?$a(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}:{}),w1=y.forwardRef(({placement:e="top",hasChrome:t=!0,children:r,arrowProps:n={},tooltipRef:a,color:o,withArrows:i,...s},c)=>y.createElement(r4,{"data-testid":"tooltip",hasChrome:t,ref:c,...s,color:o},t&&i&&y.createElement(t4,{placement:e,...n,color:o}),r)),w1.displayName="Tooltip"}),Mf={};Sa(Mf,{WithToolTipState:()=>ds,WithTooltip:()=>ds,WithTooltipPure:()=>D1});var to,n4,a4,D1,ds,Of=z(()=>{hp(),wA(),DA(),{document:to}=As,n4=k.div` + display: inline-block; + cursor: ${e=>e.trigger==="hover"||e.trigger.includes("hover")?"default":"pointer"}; +`,a4=k.g` + cursor: ${e=>e.trigger==="hover"||e.trigger.includes("hover")?"default":"pointer"}; +`,D1=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:v,delayShow:b,strategy:C,followCursor:E,onVisibleChange:D,...w})=>{let x=e?a4:n4,{getArrowProps:S,getTooltipProps:F,setTooltipRef:A,setTriggerRef:_,visible:R,state:I}=S6({trigger:t,placement:n,defaultVisible:i,delayHide:h,interactive:v,closeOnOutsideClick:r,closeOnTriggerHidden:m,onVisibleChange:D,delayShow:b,followCursor:E,mutationObserverOptions:p,visible:g,offset:c},{modifiers:a,strategy:C}),T=R?y.createElement(w1,{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 y.createElement(y.Fragment,null,y.createElement(x,{trigger:t,ref:_,...w},f),R&&Z3.createPortal(T,to.body))},"WithTooltipPure"),ds=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");to.addEventListener("keydown",i,!1);let s=Array.from(to.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)})}),()=>{to.removeEventListener("keydown",i),c.forEach(d=>{d()})}}),y.createElement(D1,{...r,visible:n,onVisibleChange:o})},"WithToolTipState")}),ie=u(({...e},t)=>{let r=[e.class,e.className];return delete e.class,e.className=["sbdocs",`sbdocs-${t}`,...r].filter(Boolean).join(" "),e},"nameSpaceClassNames");Fs();FS();fp();function k6(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,ha(e,t)}u(k6,"_inheritsLoose");AS();fp();function _6(e){try{return Function.toString.call(e).indexOf("[native code]")!==-1}catch{return typeof e=="function"}}u(_6,"_isNativeFunction");function Pf(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(Pf=u(function(){return!!e},"_isNativeReflectConstruct"))()}u(Pf,"_isNativeReflectConstruct");fp();function B6(e,t,r){if(Pf())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(B6,"_construct");function ps(e){var t=typeof Map=="function"?new Map:void 0;return ps=u(function(r){if(r===null||!_6(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 B6(r,arguments,Rl(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"),ps(e)}u(ps,"_wrapNativeSuper");var EA={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 R6(){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 o4={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 z6(e){if(typeof e!="string")return e;var t=e.toLowerCase();return o4[t]?"#"+o4[t]:e}u(z6,"nameToHex");var CA=/^#[a-fA-F0-9]{6}$/,xA=/^#[a-fA-F0-9]{8}$/,SA=/^#[a-fA-F0-9]{3}$/,FA=/^#[a-fA-F0-9]{4}$/,A0=/^rgb\(\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*\)$/i,AA=/^rgb(?:a)?\(\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,|\/)\s*([-+]?\d*[.]?\d+[%]?)\s*\)$/i,kA=/^hsl\(\s*(\d{0,3}[.]?[0-9]+(?:deg)?)\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*\)$/i,_A=/^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 nu(e){if(typeof e!="string")throw new $t(3);var t=z6(e);if(t.match(CA))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(xA)){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(SA))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(FA)){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=A0.exec(t);if(a)return{red:parseInt(""+a[1],10),green:parseInt(""+a[2],10),blue:parseInt(""+a[3],10)};var o=AA.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=kA.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=A0.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=_A.exec(t.substring(0,50));if(p){var h=parseInt(""+p[1],10),g=parseInt(""+p[2],10)/100,v=parseInt(""+p[3],10)/100,b="rgb("+ba(h,g,v)+")",C=A0.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(nu,"parseToRgb");function T6(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?Vo(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?Vo(e.hue,e.saturation,e.lightness):"rgba("+ba(e.hue,e.saturation,e.lightness)+","+e.alpha+")";throw new $t(2)}u(O6,"hsla");function fs(e,t,r){if(typeof e=="number"&&typeof t=="number"&&typeof r=="number")return E1("#"+wr(e)+wr(t)+wr(r));if(typeof e=="object"&&t===void 0&&r===void 0)return E1("#"+wr(e.red)+wr(e.green)+wr(e.blue));throw new $t(6)}u(fs,"rgb");function Uo(e,t,r,n){if(typeof e=="string"&&typeof t=="number"){var a=nu(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?fs(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?fs(e.red,e.green,e.blue):"rgba("+e.red+","+e.green+","+e.blue+","+e.alpha+")"}throw new $t(7)}u(Uo,"rgba");var RA=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"),IA=u(function(e){return typeof e.red=="number"&&typeof e.green=="number"&&typeof e.blue=="number"&&typeof e.alpha=="number"},"isRgba"),zA=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"),TA=u(function(e){return typeof e.hue=="number"&&typeof e.saturation=="number"&&typeof e.lightness=="number"&&typeof e.alpha=="number"},"isHsla");function Hf(e){if(typeof e!="object")throw new $t(8);if(IA(e))return Uo(e);if(RA(e))return fs(e);if(TA(e))return O6(e);if(zA(e))return M6(e);throw new $t(8)}u(Hf,"toColorString");function $f(e,t,r){return u(function(){var n=r.concat(Array.prototype.slice.call(arguments));return n.length>=t?e.apply(this,n):$f(e,t,n)},"fn")}u($f,"curried");function au(e){return $f(e,e.length,[])}u(au,"curry");function ou(e,t,r){return Math.max(e,Math.min(t,r))}u(ou,"guard");function P6(e,t){if(t==="transparent")return t;var r=Nf(t);return Hf(Te({},r,{lightness:ou(0,1,r.lightness-parseFloat(e))}))}u(P6,"darken");var LA=au(P6),Kn=LA;function N6(e,t){if(t==="transparent")return t;var r=Nf(t);return Hf(Te({},r,{lightness:ou(0,1,r.lightness+parseFloat(e))}))}u(N6,"lighten");var MA=au(N6),i4=MA;function H6(e,t){if(t==="transparent")return t;var r=nu(t),n=typeof r.alpha=="number"?r.alpha:1,a=Te({},r,{alpha:ou(0,1,+(n*100-parseFloat(e)*100).toFixed(2)/100)});return Uo(a)}u(H6,"transparentize");var OA=au(H6),gt=OA,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"),fr=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"),Fn={margin:"16px 0"},jf=k.div(se),PA=u(({href:e="",...t})=>{let r=/^\//.test(e)?`./?path=${e}`:e,n=/^#.*/.test(e)?"_self":"_top";return y.createElement("a",{href:r,target:n,...t})},"Link"),$6=k(PA)(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}})),j6=k.blockquote(se,Fn,({theme:e})=>({borderLeft:`4px solid ${e.color.medium}`,padding:"0 15px",color:e.color.dark,"& > :first-of-type":{marginTop:0},"& > :last-child":{marginBottom:0}}));zs();var NA=u(e=>typeof e=="string","isReactChildString"),HA=/[\n\r]/g,$A=k.code(({theme:e})=>({fontFamily:e.typography.fonts.mono,WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",display:"inline-block",paddingLeft:2,paddingRight:2,verticalAlign:"baseline",color:"inherit"}),fr),jA=k(Ao)(({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"}})),Vf=u(({className:e,children:t,...r})=>{let n=(e||"").match(/lang-(\S+)/),a=l.Children.toArray(t);return a.filter(NA).some(o=>o.match(HA))?y.createElement(jA,{bordered:!0,copyable:!0,language:(n==null?void 0:n[1])??"text",format:!1,...r},t):y.createElement($A,{...r,className:e},a)},"Code"),V6=k.dl(se,Fn,{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}}),U6=k.div(se),q6=k.h1(se,za,({theme:e})=>({fontSize:`${e.typography.size.l1}px`,fontWeight:e.typography.weight.bold})),Uf=k.h2(se,za,({theme:e})=>({fontSize:`${e.typography.size.m2}px`,paddingBottom:4,borderBottom:`1px solid ${e.appBorderColor}`})),qf=k.h3(se,za,({theme:e})=>({fontSize:`${e.typography.size.m1}px`})),W6=k.h4(se,za,({theme:e})=>({fontSize:`${e.typography.size.s3}px`})),G6=k.h5(se,za,({theme:e})=>({fontSize:`${e.typography.size.s2}px`})),K6=k.h6(se,za,({theme:e})=>({fontSize:`${e.typography.size.s2}px`,color:e.color.dark})),Y6=k.hr(({theme:e})=>({border:"0 none",borderTop:`1px solid ${e.appBorderColor}`,height:4,padding:0})),J6=k.img({maxWidth:"100%"}),Z6=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":fr({theme:e})})),VA={paddingLeft:30,"& :first-of-type":{marginTop:0},"& :last-child":{marginBottom:0}},X6=k.ol(se,Fn,VA,{listStyle:"decimal"}),Q6=k.p(se,Fn,({theme:e})=>({fontSize:e.typography.size.s2,lineHeight:"24px",color:e.color.defaultText,"& code":fr({theme:e})})),eE=k.pre(se,Fn,({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"}})),tE=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"}}})),rE=k.title(fr),nE=k.table(se,Fn,({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}})),UA={paddingLeft:30,"& :first-of-type":{marginTop:0},"& :last-child":{marginBottom:0}},aE=k.ul(se,Fn,UA,{listStyle:"disc"}),oE={h1:u(e=>y.createElement(q6,{...ie(e,"h1")}),"h1"),h2:u(e=>y.createElement(Uf,{...ie(e,"h2")}),"h2"),h3:u(e=>y.createElement(qf,{...ie(e,"h3")}),"h3"),h4:u(e=>y.createElement(W6,{...ie(e,"h4")}),"h4"),h5:u(e=>y.createElement(G6,{...ie(e,"h5")}),"h5"),h6:u(e=>y.createElement(K6,{...ie(e,"h6")}),"h6"),pre:u(e=>y.createElement(eE,{...ie(e,"pre")}),"pre"),a:u(e=>y.createElement($6,{...ie(e,"a")}),"a"),hr:u(e=>y.createElement(Y6,{...ie(e,"hr")}),"hr"),dl:u(e=>y.createElement(V6,{...ie(e,"dl")}),"dl"),blockquote:u(e=>y.createElement(j6,{...ie(e,"blockquote")}),"blockquote"),table:u(e=>y.createElement(nE,{...ie(e,"table")}),"table"),img:u(e=>y.createElement(J6,{...ie(e,"img")}),"img"),div:u(e=>y.createElement(U6,{...ie(e,"div")}),"div"),span:u(e=>y.createElement(tE,{...ie(e,"span")}),"span"),li:u(e=>y.createElement(Z6,{...ie(e,"li")}),"li"),ul:u(e=>y.createElement(aE,{...ie(e,"ul")}),"ul"),ol:u(e=>y.createElement(X6,{...ie(e,"ol")}),"ol"),p:u(e=>y.createElement(Q6,{...ie(e,"p")}),"p"),code:u(e=>y.createElement(Vf,{...ie(e,"code")}),"code"),tt:u(e=>y.createElement(rE,{...ie(e,"tt")}),"tt"),resetwrapper:u(e=>y.createElement(jf,{...ie(e,"resetwrapper")}),"resetwrapper")};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{}}});var qA={};Sa(qA,{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:()=>sE,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:()=>lE,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:()=>iE,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}))),iE=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}))),lE=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}))),sE=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})=>y.createElement(EI,{...s,onClick:r&&e?c=>wI(c,r):r,className:o},y.createElement(DI,{withArrow:n,containsIcon:a},t,n&&y.createElement(sE,null))),"Link");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}}));var cn=[],wa=null,CI=l.lazy(async()=>{let{SyntaxHighlighter:e}=await Promise.resolve().then(()=>(zs(),Fp));return cn.length>0&&(cn.forEach(t=>{e.registerLanguage(...t)}),cn=[]),wa===null&&(wa=e),{default:u(t=>y.createElement(e,{...t}),"default")}}),xI=l.lazy(async()=>{let[{SyntaxHighlighter:e},{formatter:t}]=await Promise.all([Promise.resolve().then(()=>(zs(),Fp)),Promise.resolve().then(()=>(jF(),SD))]);return cn.length>0&&(cn.forEach(r=>{e.registerLanguage(...r)}),cn=[]),wa===null&&(wa=e),{default:u(r=>y.createElement(e,{...r,formatter:t}),"default")}}),iu=u(e=>y.createElement(l.Suspense,{fallback:y.createElement("div",null)},e.format!==!1?y.createElement(xI,{...e}):y.createElement(CI,{...e})),"SyntaxHighlighter");iu.registerLanguage=(...e)=>{if(wa!==null){wa.registerLanguage(...e);return}cn.push(e)};zs();Wy();var uE={};Sa(uE,{Close:()=>g8,Content:()=>f8,Description:()=>m8,Dialog:()=>Jf,DialogClose:()=>oh,DialogContent:()=>th,DialogDescription:()=>ah,DialogOverlay:()=>eh,DialogPortal:()=>Qf,DialogTitle:()=>nh,DialogTrigger:()=>Zf,Overlay:()=>p8,Portal:()=>d8,Root:()=>c8,Title:()=>h8,Trigger:()=>bz,WarningProvider:()=>mz,createDialogScope:()=>uz});Cp();zr();function cE(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(cE,"createContext2");function dE(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,v=((C=p==null?void 0:p[e])==null?void 0:C[c])||s,b=l.useMemo(()=>g,Object.values(g));return O.jsx(v.Provider,{value:b,children:h})},"Provider");d.displayName=o+"Provider";function f(m,p){var v;let h=((v=p==null?void 0:p[e])==null?void 0:v[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,pE(a,...t)]}u(dE,"createContextScope");function pE(...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(pE,"composeContextScopes");Qo();var SI=l.useId||(()=>{}),FI=0;function bl(e){let[t,r]=l.useState(SI());return Fr(()=>{e||r(n=>n??String(FI++))},[e]),e||(t?`radix-${t}`:"")}u(bl,"useId");ei();function fE({prop:e,defaultProp:t,onChange:r=u(()=>{},"onChange")}){let[n,a]=hE({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(fE,"useControllableState");function hE({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(hE,"useUncontrolledState");Cp();Xo();zr();ei();ei();function mE(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(mE,"useEscapeKeydown");var AI="DismissableLayer",C1="dismissableLayer.update",kI="dismissableLayer.pointerDownOutside",_I="dismissableLayer.focusOutside",l4,gE=l.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),vE=l.forwardRef((e,t)=>{let{disableOutsidePointerEvents:r=!1,onEscapeKeyDown:n,onPointerDownOutside:a,onFocusOutside:o,onInteractOutside:i,onDismiss:s,...c}=e,d=l.useContext(gE),[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)),v=Array.from(d.layers),[b]=[...d.layersWithOutsidePointerEventsDisabled].slice(-1),C=v.indexOf(b),E=f?v.indexOf(f):-1,D=d.layersWithOutsidePointerEventsDisabled.size>0,w=E>=C,x=yE(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=bE(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 mE(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&&(l4=p.body.style.pointerEvents,p.body.style.pointerEvents="none"),d.layersWithOutsidePointerEventsDisabled.add(f)),d.layers.add(f),x1(),()=>{r&&d.layersWithOutsidePointerEventsDisabled.size===1&&(p.body.style.pointerEvents=l4)}},[f,p,r,d]),l.useEffect(()=>()=>{f&&(d.layers.delete(f),d.layersWithOutsidePointerEventsDisabled.delete(f),x1())},[f,d]),l.useEffect(()=>{let F=u(()=>h({}),"handleUpdate");return document.addEventListener(C1,F),()=>document.removeEventListener(C1,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)})});vE.displayName=AI;var BI="DismissableLayerBranch",RI=l.forwardRef((e,t)=>{let r=l.useContext(gE),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 yE(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(){Wf(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(yE,"usePointerDownOutside");function bE(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&&Wf(_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(bE,"useFocusOutside");function x1(){let e=new CustomEvent(C1);document.dispatchEvent(e)}u(x1,"dispatchUpdate");function Wf(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?Yy(a,o):a.dispatchEvent(o)}u(Wf,"handleAndDispatchCustomEvent");zr();Xo();ei();var k0="focusScope.autoFocusOnMount",_0="focusScope.autoFocusOnUnmount",s4={bubbles:!1,cancelable:!0},II="FocusScope",wE=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,v=>c(v)),h=l.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;l.useEffect(()=>{if(n){let v=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",v),document.addEventListener("focusout",b);let E=new MutationObserver(C);return s&&E.observe(s,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",v),document.removeEventListener("focusout",b),E.disconnect()}}},[n,s,h.paused]),l.useEffect(()=>{if(s){u4.add(h);let v=document.activeElement;if(!s.contains(v)){let b=new CustomEvent(k0,s4);s.addEventListener(k0,d),s.dispatchEvent(b),b.defaultPrevented||(DE(FE(Gf(s)),{select:!0}),document.activeElement===v&&lr(s))}return()=>{s.removeEventListener(k0,d),setTimeout(()=>{let b=new CustomEvent(_0,s4);s.addEventListener(_0,f),s.dispatchEvent(b),b.defaultPrevented||lr(v??document.body,{select:!0}),s.removeEventListener(_0,f),u4.remove(h)},0)}}},[s,d,f,h]);let g=l.useCallback(v=>{if(!r&&!n||h.paused)return;let b=v.key==="Tab"&&!v.altKey&&!v.ctrlKey&&!v.metaKey,C=document.activeElement;if(b&&C){let E=v.currentTarget,[D,w]=EE(E);D&&w?!v.shiftKey&&C===w?(v.preventDefault(),r&&lr(D,{select:!0})):v.shiftKey&&C===D&&(v.preventDefault(),r&&lr(w,{select:!0})):C===E&&v.preventDefault()}},[r,n,h.paused]);return O.jsx(Me.div,{tabIndex:-1,...i,ref:p,onKeyDown:g})});wE.displayName=II;function DE(e,{select:t=!1}={}){let r=document.activeElement;for(let n of e)if(lr(n,{select:t}),document.activeElement!==r)return}u(DE,"focusFirst");function EE(e){let t=Gf(e),r=S1(t,e),n=S1(t.reverse(),e);return[r,n]}u(EE,"getTabbableEdges");function Gf(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(Gf,"getTabbableCandidates");function S1(e,t){for(let r of e)if(!CE(r,{upTo:t}))return r}u(S1,"findVisible");function CE(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(CE,"isHidden");function xE(e){return e instanceof HTMLInputElement&&"select"in e}u(xE,"isSelectableInput");function lr(e,{select:t=!1}={}){if(e&&e.focus){let r=document.activeElement;e.focus({preventScroll:!0}),e!==r&&xE(e)&&t&&e.select()}}u(lr,"focus");var u4=SE();function SE(){let e=[];return{add(t){let r=e[0];t!==r&&(r==null||r.pause()),e=F1(e,t),e.unshift(t)},remove(t){var r;e=F1(e,t),(r=e[0])==null||r.resume()}}}u(SE,"createFocusScopesStack");function F1(e,t){let r=[...e],n=r.indexOf(t);return n!==-1&&r.splice(n,1),r}u(F1,"arrayRemove");function FE(e){return e.filter(t=>t.tagName!=="A")}u(FE,"removeLinks");Xo();Qo();var zI="Portal",AE=l.forwardRef((e,t)=>{var s;let{container:r,...n}=e,[a,o]=l.useState(!1);Fr(()=>o(!0),[]);let i=r||a&&((s=globalThis==null?void 0:globalThis.document)==null?void 0:s.body);return i?Z3.createPortal(O.jsx(Me.div,{...n,ref:t}),i):null});AE.displayName=zI;zr();Qo();function kE(e,t){return l.useReducer((r,n)=>t[r][n]??r,e)}u(kE,"useStateMachine");var lu=u(e=>{let{present:t,children:r}=e,n=_E(t),a=typeof r=="function"?r({present:n.isPresent}):l.Children.only(r),o=Le(n.ref,BE(a));return typeof r=="function"||n.isPresent?l.cloneElement(a,{ref:o}):null},"Presence");lu.displayName="Presence";function _E(e){let[t,r]=l.useState(),n=l.useRef({}),a=l.useRef(e),o=l.useRef("none"),i=e?"mounted":"unmounted",[s,c]=kE(i,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return l.useEffect(()=>{let d=Do(n.current);o.current=s==="mounted"?d:"none"},[s]),Fr(()=>{let d=n.current,f=a.current;if(f!==e){let m=o.current,p=Do(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]),Fr(()=>{if(t){let d,f=t.ownerDocument.defaultView??window,m=u(h=>{let g=Do(n.current).includes(h.animationName);if(h.target===t&&g&&(c("ANIMATION_END"),!a.current)){let v=t.style.animationFillMode;t.style.animationFillMode="forwards",d=f.setTimeout(()=>{t.style.animationFillMode==="forwards"&&(t.style.animationFillMode=v)})}},"handleAnimationEnd"),p=u(h=>{h.target===t&&(o.current=Do(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(_E,"usePresence");function Do(e){return(e==null?void 0:e.animationName)||"none"}u(Do,"getAnimationName");function BE(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(BE,"getElementRef");Xo();var B0=0;function RE(){l.useEffect(()=>{let e=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",e[0]??A1()),document.body.insertAdjacentElement("beforeend",e[1]??A1()),B0++,()=>{B0===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(t=>t.remove()),B0--}},[])}u(RE,"useFocusGuards");function A1(){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(A1,"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=UE(),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(wl,` { + right: `).concat(s,"px ").concat(n,`; + } + + .`).concat(Dl,` { + margin-right: `).concat(s,"px ").concat(n,`; + } + + .`).concat(wl," .").concat(wl,` { + right: 0 `).concat(n,`; + } + + .`).concat(Dl," .").concat(Dl,` { + margin-right: 0 `).concat(n,`; + } + + body[`).concat(oa,`] { + `).concat(LI,": ").concat(s,`px; + } +`)},"getStyles"),d4=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,(d4()+1).toString()),function(){var e=d4()-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"),k1=!1;if(typeof window<"u")try{ro=Object.defineProperty({},"passive",{get:u(function(){return k1=!0,!0},"get")}),window.addEventListener("test",ro,ro),window.removeEventListener("test",ro,ro)}catch{k1=!1}var ro,Ln=k1?{passive:!1}:!1,WI=u(function(e){return e.tagName==="TEXTAREA"},"alwaysContainsScroll"),qE=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 qE(e,"overflowY")},"elementCouldBeVScrolled"),KI=u(function(e){return qE(e,"overflowX")},"elementCouldBeHScrolled"),p4=u(function(e,t){var r=t.ownerDocument,n=t;do{typeof ShadowRoot<"u"&&n instanceof ShadowRoot&&(n=n.host);var a=WE(e,n);if(a){var o=GE(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"),WE=u(function(e,t){return e==="v"?GI(t):KI(t)},"elementCouldBeScrolled"),GE=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=GE(e,s),g=h[0],v=h[1],b=h[2],C=v-b-o*g;(g||C)&&WE(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"),Ki=u(function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},"getTouchXY"),f4=u(function(e){return[e.deltaX,e.deltaY]},"getDeltaXY"),h4=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 KE(e){var t=l.useRef([]),r=l.useRef([0,0]),n=l.useRef(),a=l.useState(tz++)[0],o=l.useState(UE)[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 v=IE([e.lockRef.current],(e.shards||[]).map(h4),!0).filter(Boolean);return v.forEach(function(b){return b.classList.add("allow-interactivity-".concat(a))}),function(){document.body.classList.remove("block-interactivity-".concat(a)),v.forEach(function(b){return b.classList.remove("allow-interactivity-".concat(a))})}}},[e.inert,e.lockRef.current,e.shards]);var s=l.useCallback(function(v,b){if("touches"in v&&v.touches.length===2||v.type==="wheel"&&v.ctrlKey)return!i.current.allowPinchZoom;var C=Ki(v),E=r.current,D="deltaX"in v?v.deltaX:E[0]-C[0],w="deltaY"in v?v.deltaY:E[1]-C[1],x,S=v.target,F=Math.abs(D)>Math.abs(w)?"h":"v";if("touches"in v&&F==="h"&&S.type==="range")return!1;var A=p4(F,S);if(!A)return!0;if(A?x=F:(x=F==="v"?"h":"v",A=p4(F,S)),!A)return!1;if(!n.current&&"changedTouches"in v&&(D||w)&&(n.current=x),!x)return!0;var _=n.current||x;return XI(_,b,v,_==="h"?D:w,!0)},[]),c=l.useCallback(function(v){var b=v;if(!(!Mn.length||Mn[Mn.length-1]!==o)){var C="deltaY"in b?f4(b):Ki(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(h4).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(v,b,C,E){var D={name:v,delta:b,target:C,should:E,shadowParent:YE(C)};t.current.push(D),setTimeout(function(){t.current=t.current.filter(function(w){return w!==D})},1)},[]),f=l.useCallback(function(v){r.current=Ki(v),n.current=void 0},[]),m=l.useCallback(function(v){d(v.type,f4(v),v.target,s(v,e.lockRef.current))},[]),p=l.useCallback(function(v){d(v.type,Ki(v),v.target,s(v,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(v){return v!==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(KE,"RemoveScrollSideCar");function YE(e){for(var t=null;e!==null;)e instanceof ShadowRoot&&(t=e.host,e=e.host),e=e.parentNode;return t}u(YE,"getOutermostShadowParent");var rz=NE(HE,KE),JE=l.forwardRef(function(e,t){return l.createElement(su,Pt({},e,{ref:t,sideCar:rz}))});JE.classNames=su.classNames;var nz=JE,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,Yi=new WeakMap,Ji={},z0=0,ZE=u(function(e){return e&&(e.host||ZE(e.parentNode))},"unwrapHost"),oz=u(function(e,t){return t.map(function(r){if(e.contains(r))return r;var n=ZE(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]);Ji[r]||(Ji[r]=new WeakMap);var o=Ji[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",v=(On.get(p)||0)+1,b=(o.get(p)||0)+1;On.set(p,v),o.set(p,b),i.push(p),v===1&&g&&Yi.set(p,!0),b===1&&p.setAttribute(r,"true"),g||p.setAttribute(n,"true")}})},"deep");return f(t),s.clear(),z0++,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||(Yi.has(m)||m.removeAttribute(n),Yi.delete(m)),h||m.removeAttribute(r)}),z0--,z0||(On=new WeakMap,On=new WeakMap,Yi=new WeakMap,Ji={})}},"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");zr();var XE=l.forwardRef((e,t)=>{let{children:r,...n}=e,a=l.Children.toArray(r),o=a.find(QE);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(_1,{...n,ref:t,children:l.isValidElement(i)?l.cloneElement(i,void 0,s):null})}return O.jsx(_1,{...n,ref:t,children:r})});XE.displayName="Slot";var _1=l.forwardRef((e,t)=>{let{children:r,...n}=e;if(l.isValidElement(r)){let a=t8(r);return l.cloneElement(r,{...e8(n,r.props),ref:t?Is(t,a):a})}return l.Children.count(r)>1?l.Children.only(null):null});_1.displayName="SlotClone";var sz=u(({children:e})=>O.jsx(O.Fragment,{children:e}),"Slottable");function QE(e){return l.isValidElement(e)&&e.type===sz}u(QE,"isSlottable");function e8(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(e8,"mergeProps");function t8(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(t8,"getElementRef");var Yf="Dialog",[r8,uz]=dE(Yf),[cz,Ft]=r8(Yf),Jf=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]=fE({prop:n,defaultProp:a,onChange:o});return O.jsx(cz,{scope:t,triggerRef:s,contentRef:c,contentId:bl(),titleId:bl(),descriptionId:bl(),open:d,onOpenChange:f,onOpenToggle:l.useCallback(()=>f(m=>!m),[f]),modal:i,children:r})},"Dialog");Jf.displayName=Yf;var n8="DialogTrigger",Zf=l.forwardRef((e,t)=>{let{__scopeDialog:r,...n}=e,a=Ft(n8,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":uu(a.open),...n,ref:o,onClick:Be(e.onClick,a.onOpenToggle)})});Zf.displayName=n8;var Xf="DialogPortal",[dz,a8]=r8(Xf,{forceMount:void 0}),Qf=u(e=>{let{__scopeDialog:t,forceMount:r,children:n,container:a}=e,o=Ft(Xf,t);return O.jsx(dz,{scope:t,forceMount:r,children:l.Children.map(n,i=>O.jsx(lu,{present:r||o.open,children:O.jsx(AE,{asChild:!0,container:a,children:i})}))})},"DialogPortal");Qf.displayName=Xf;var hs="DialogOverlay",eh=l.forwardRef((e,t)=>{let r=a8(hs,e.__scopeDialog),{forceMount:n=r.forceMount,...a}=e,o=Ft(hs,e.__scopeDialog);return o.modal?O.jsx(lu,{present:n||o.open,children:O.jsx(pz,{...a,ref:t})}):null});eh.displayName=hs;var pz=l.forwardRef((e,t)=>{let{__scopeDialog:r,...n}=e,a=Ft(hs,r);return O.jsx(nz,{as:XE,allowPinchZoom:!0,shards:[a.contentRef],children:O.jsx(Me.div,{"data-state":uu(a.open),...n,ref:t,style:{pointerEvents:"auto",...n.style}})})}),vn="DialogContent",th=l.forwardRef((e,t)=>{let r=a8(vn,e.__scopeDialog),{forceMount:n=r.forceMount,...a}=e,o=Ft(vn,e.__scopeDialog);return O.jsx(lu,{present:n||o.open,children:o.modal?O.jsx(fz,{...a,ref:t}):O.jsx(hz,{...a,ref:t})})});th.displayName=vn;var fz=l.forwardRef((e,t)=>{let r=Ft(vn,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(o8,{...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(vn,e.__scopeDialog),n=l.useRef(!1),a=l.useRef(!1);return O.jsx(o8,{...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")})}),o8=l.forwardRef((e,t)=>{let{__scopeDialog:r,trapFocus:n,onOpenAutoFocus:a,onCloseAutoFocus:o,...i}=e,s=Ft(vn,r),c=l.useRef(null),d=Le(t,c);return RE(),O.jsxs(O.Fragment,{children:[O.jsx(wE,{asChild:!0,loop:!0,trapped:n,onMountAutoFocus:a,onUnmountAutoFocus:o,children:O.jsx(vE,{role:"dialog",id:s.contentId,"aria-describedby":s.descriptionId,"aria-labelledby":s.titleId,"data-state":uu(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})]})]})}),rh="DialogTitle",nh=l.forwardRef((e,t)=>{let{__scopeDialog:r,...n}=e,a=Ft(rh,r);return O.jsx(Me.h2,{id:a.titleId,...n,ref:t})});nh.displayName=rh;var i8="DialogDescription",ah=l.forwardRef((e,t)=>{let{__scopeDialog:r,...n}=e,a=Ft(i8,r);return O.jsx(Me.p,{id:a.descriptionId,...n,ref:t})});ah.displayName=i8;var l8="DialogClose",oh=l.forwardRef((e,t)=>{let{__scopeDialog:r,...n}=e,a=Ft(l8,r);return O.jsx(Me.button,{type:"button",...n,ref:t,onClick:Be(e.onClick,()=>a.onOpenChange(!1))})});oh.displayName=l8;function uu(e){return e?"open":"closed"}u(uu,"getState");var s8="DialogTitleWarning",[mz,u8]=cE(s8,{contentName:vn,titleName:rh,docsSlug:"dialog"}),gz=u(({titleId:e})=>{let t=u8(s8),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 {${u8(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"),c8=Jf,bz=Zf,d8=Qf,p8=eh,f8=th,h8=nh,m8=ah,g8=oh,v8={};Sa(v8,{Actions:()=>_z,CloseButton:()=>F8,Col:()=>k8,Container:()=>S8,Content:()=>Sz,Description:()=>kz,Error:()=>Bz,ErrorWrapper:()=>_8,Header:()=>Fz,Overlay:()=>x8,Row:()=>A8,Title:()=>Az});const{deprecate:wz}=__STORYBOOK_MODULE_CLIENT_LOGGER__;function B1(e,t){if(typeof e=="function")return e(t);e!=null&&(e.current=t)}u(B1,"setRef");function y8(...e){return t=>{let r=!1,n=e.map(a=>{let o=B1(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(w8);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(R1,{...n,ref:t,children:l.isValidElement(i)?l.cloneElement(i,void 0,s):null})}return O.jsx(R1,{...n,ref:t,children:r})});b8.displayName="Slot";var R1=l.forwardRef((e,t)=>{let{children:r,...n}=e;if(l.isValidElement(r)){let a=E8(r),o=D8(n,r.props);return r.type!==l.Fragment&&(o.ref=t?y8(t,a):a),l.cloneElement(r,o)}return l.Children.count(r)>1?l.Children.only(null):null});R1.displayName="SlotClone";var Dz=u(({children:e})=>O.jsx(O.Fragment,{children:e}),"Slottable");function w8(e){return l.isValidElement(e)&&e.type===Dz}u(w8,"isSlottable");function D8(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(D8,"mergeProps");function E8(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(E8,"getElementRef");var Or=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=b8);let m=n,p=r,[h,g]=l.useState(!1),v=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=y.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 y.createElement(Ez,{as:f,ref:d,variant:m,size:p,padding:a,disabled:o,active:i,animating:h,animation:t,onClick:v,...c})});Or.displayName="Button";var Ez=k("button",{shouldForwardProp:u(e=>sp(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:`${Uo(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):i4(.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):i4(.03,c)})()},"&:focus":{boxShadow:`${Uo(e.color.secondary,1)} 0 0 0 1px inset`,outline:"none"},"> svg":{animation:o&&i!=="none"?`${e.animation[i]} 1000ms ease-out`:""}})),Sr=l.forwardRef(({padding:e="small",variant:t="ghost",...r},n)=>y.createElement(Or,{padding:e,variant:t,ref:n,...r}));Sr.displayName="IconButton";var C8=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)"}}),x8=k.div({backdropFilter:"blur(24px)",position:"fixed",inset:0,width:"100%",height:"100%",zIndex:10,animation:`${C8} 200ms`}),S8=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"}})),F8=u(e=>y.createElement(g8,{asChild:!0},y.createElement(Sr,{...e},y.createElement(lE,null))),"CloseButton"),Sz=k.div({display:"flex",flexDirection:"column",margin:16,gap:16}),A8=k.div({display:"flex",justifyContent:"space-between",gap:16}),k8=k.div({display:"flex",flexDirection:"column",gap:4}),Fz=u(e=>y.createElement(A8,null,y.createElement(k8,{...e}),y.createElement(F8,null)),"Header"),Az=k(h8)(({theme:e})=>({margin:0,fontSize:e.typography.size.s3,fontWeight:e.typography.weight.bold})),kz=k(m8)(({theme:e})=>({position:"relative",zIndex:1,margin:0,fontSize:e.typography.size.s2})),_z=k.div({display:"flex",flexDirection:"row-reverse",gap:8}),_8=k.div(({theme:e})=>({maxHeight:100,overflow:"auto",animation:`${Cz} 300ms, ${C8} 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})=>y.createElement(_8,{...t},y.createElement("div",null,e)),"Error");function B8({children:e,width:t,height:r,onEscapeKeyDown:n,onInteractOutside:a=u(c=>c.preventDefault(),"onInteractOutside"),className:o,container:i,...s}){return y.createElement(c8,{...s},y.createElement(d8,{container:i},y.createElement(p8,{asChild:!0},y.createElement(x8,null)),y.createElement(f8,{asChild:!0,onInteractOutside:a,onEscapeKeyDown:n},y.createElement(S8,{className:o,width:t,height:r},e))))}u(B8,"BaseModal");Object.assign(B8,v8,{Dialog:uE});k.div(({theme:e,col:t,row:r=1})=>t?{display:"inline-block",verticalAlign:"inherit","& > *":{marginLeft:t*e.layoutMargin,verticalAlign:"inherit"},[`& > *:first-child${Z0}`]:{marginLeft:0}}:{"& > *":{marginTop:r*e.layoutMargin},[`& > *:first-child${Z0}`]:{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{}}});k.div(({theme:e})=>({fontWeight:e.typography.weight.bold}));k.div();k.div(({theme:e})=>({padding:30,textAlign:"center",color:e.color.defaultText,fontSize:e.typography.size.s2-1}));Sp();function R8(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(R8,"useResolvedElement");function I1(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(I1,"extractSize");function ih(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=R8(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",v=I1(h,g,"inlineSize"),b=I1(h,g,"blockSize"),C=v?n(v):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(ih,"useResizeObserver");var Rz=k.div(({scale:e=1,elementHeight:t})=>({height:t||"auto",transformOrigin:"top left",transform:`scale(${1/e})`}));function I8({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]),ih({ref:r,onResize:o}),y.createElement(Rz,{scale:e,elementHeight:n},y.createElement("div",{ref:r,className:"innerZoomElementWrapper"},t))}u(I8,"ZoomElement");var Iz=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 y.createElement(y.Fragment,null,t)}};u(Iz,"ZoomIFrame");var z8={Element:I8};hp();var{document:zz}=As,Tz=k.strong(({theme:e})=>({color:e.color.orange})),Lz=k.strong(({theme:e})=>({color:e.color.ancillary,textDecoration:"underline"})),m4=k.em(({theme:e})=>({color:e.textMutedColor})),Mz=/(Error): (.*)\n/,Oz=/at (?:(.*) )?\(?(.+)\)?/,Pz=/([^@]+)?(?:\/<)?@(.+)?/,Nz=/([^@]+)?@(.+)?/,T8=u(({error:e})=>{if(!e)return y.createElement(l.Fragment,null,"This error has no stack or message");if(!e.stack)return y.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(Mz);if(!r)return y.createElement(l.Fragment,null,t);let[,n,a]=r,o=t.split(/\n/).slice(1),[,...i]=o.map(s=>{let c=s.match(Oz)||s.match(Pz)||s.match(Nz);return c?{name:(c[1]||"").replace("/<",""),location:c[2].replace(zz.location.origin,"")}:null}).filter(Boolean);return y.createElement(l.Fragment,null,y.createElement("span",null,n),": ",y.createElement(Tz,null,a),y.createElement("br",null),i.map((s,c)=>s!=null&&s.name?y.createElement(l.Fragment,{key:c}," ","at ",y.createElement(Lz,null,s.name)," (",y.createElement(m4,null,s.location),")",y.createElement("br",null)):y.createElement(l.Fragment,{key:c}," ","at ",y.createElement(m4,null,s==null?void 0:s.location),y.createElement("br",null))))},"ErrorFormatter"),Hz=k.label(({theme:e})=>({display:"flex",borderBottom:`1px solid ${e.appBorderColor}`,margin:"0 15px",padding:"8px 0","&:last-child":{marginBottom:"3rem"}})),$z=k.span(({theme:e})=>({minWidth:100,fontWeight:e.typography.weight.bold,marginRight:15,display:"flex",justifyContent:"flex-start",alignItems:"center",lineHeight:"16px"})),jz=u(({label:e,children:t,...r})=>y.createElement(Hz,{...r},e?y.createElement($z,null,y.createElement("span",null,e)):null,t),"Field");Fs();mp();var Vz=l.useLayoutEffect,Uz=Vz,qz=u(function(e){var t=l.useRef(e);return Uz(function(){t.current=e}),t},"useLatest"),g4=u(function(e,t){if(typeof e=="function"){e(t);return}e.current=t},"updateRef"),Wz=u(function(e,t){var r=l.useRef();return l.useCallback(function(n){e.current=n,r.current&&g4(r.current,null),r.current=t,t&&g4(t,n)},[t])},"useComposedRef"),Gz=Wz,v4={"min-height":"0","max-height":"none",height:"0",visibility:"hidden",overflow:"hidden",position:"absolute","z-index":"-1000",top:"0",right:"0"},Kz=u(function(e){Object.keys(v4).forEach(function(t){e.style.setProperty(t,v4[t],"important")})},"forceHiddenStyles"),y4=Kz,Ie=null,b4=u(function(e,t){var r=e.scrollHeight;return t.sizingStyle.boxSizing==="border-box"?r+t.borderSize:r-t.paddingSize},"getHeight");function L8(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"),y4(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]}),y4(Ie),Ie.value=t;var c=b4(Ie,e);Ie.value=t,c=b4(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(L8,"calculateNodeHeight");var w4=u(function(){},"noop"),Yz=u(function(e,t){return e.reduce(function(r,n){return r[n]=t[n],r},{})},"pick"),Jz=["borderBottomWidth","borderLeftWidth","borderRightWidth","borderTopWidth","boxSizing","fontFamily","fontSize","fontStyle","fontWeight","letterSpacing","lineHeight","paddingBottom","paddingLeft","paddingRight","paddingTop","tabSize","textIndent","textRendering","textTransform","width","wordBreak"],Zz=!!document.documentElement.currentStyle,Xz=u(function(e){var t=window.getComputedStyle(e);if(t===null)return null;var r=Yz(Jz,t),n=r.boxSizing;if(n==="")return null;Zz&&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"),Qz=Xz;function lh(e,t,r){var n=qz(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(lh,"useListener");var eT=u(function(e){lh(window,"resize",e)},"useWindowResizeListener"),tT=u(function(e){lh(document.fonts,"loadingdone",e)},"useFontsLoadedListener"),rT=["cacheMeasurements","maxRows","minRows","onChange","onHeightChange"],nT=u(function(e,t){var r=e.cacheMeasurements,n=e.maxRows,a=e.minRows,o=e.onChange,i=o===void 0?w4:o,s=e.onHeightChange,c=s===void 0?w4:s,d=_s(e,rT),f=d.value!==void 0,m=l.useRef(null),p=Gz(m,t),h=l.useRef(0),g=l.useRef(),v=u(function(){var C=m.current,E=r&&g.current?g.current:Qz(C);if(E){g.current=E;var D=L8(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||v(),i(C)},"handleChange");return l.useLayoutEffect(v),eT(v),tT(v),l.createElement("textarea",Te({},d,{onChange:b,ref:p}))},"TextareaAutosize"),aT=l.forwardRef(nT),oT={appearance:"none",border:"0 none",boxSizing:"inherit",display:" block",margin:" 0",background:"transparent",padding:0,fontSize:"inherit",position:"relative"},sh=u(({theme:e})=>({...oT,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"),uh=u(({size:e})=>{switch(e){case"100%":return{width:"100%"};case"flex":return{flex:1};case"auto":default:return{display:"inline"}}},"sizes"),M8=u(({align:e})=>{switch(e){case"end":return{textAlign:"right"};case"center":return{textAlign:"center"};case"start":default:return{textAlign:"left"}}},"alignment"),ch=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"),iT=Object.assign(k(l.forwardRef(u(function({size:e,valid:t,align:r,...n},a){return y.createElement("input",{...n,ref:a})},"Input")))(sh,uh,M8,ch,{minHeight:32}),{displayName:"Input"}),lT=Object.assign(k(l.forwardRef(u(function({size:e,valid:t,align:r,...n},a){return y.createElement("select",{...n,ref:a})},"Select")))(sh,uh,ch,{height:32,userSelect:"none",paddingRight:20,appearance:"menulist"}),{displayName:"Select"}),sT=Object.assign(k(l.forwardRef(u(function({size:e,valid:t,align:r,...n},a){return y.createElement(aT,{...n,ref:a})},"Textarea")))(sh,uh,M8,ch,({height:e=400})=>({overflow:"visible",maxHeight:e})),{displayName:"Textarea"}),Ta=Object.assign(k.form({boxSizing:"border-box",width:"100%"}),{Field:jz,Input:iT,Select:lT,Textarea:sT,Button:Or}),uT=l.lazy(()=>Promise.resolve().then(()=>(Of(),Mf)).then(e=>({default:e.WithTooltip}))),cT=u(e=>y.createElement(l.Suspense,{fallback:y.createElement("div",null)},y.createElement(uT,{...e})),"WithTooltip"),dT=l.lazy(()=>Promise.resolve().then(()=>(Of(),Mf)).then(e=>({default:e.WithTooltipPure}))),O8=u(e=>y.createElement(l.Suspense,{fallback:y.createElement("div",null)},y.createElement(dT,{...e})),"WithTooltipPure");k.div(({theme:e})=>({fontWeight:e.typography.weight.bold}));k.span();k.div(({theme:e})=>({marginTop:8,textAlign:"center","> *":{margin:"0 8px",fontWeight:e.typography.weight.bold}}));k.div(({theme:e})=>({color:e.color.defaultText,lineHeight:"18px"}));k.div({padding:15,width:280,boxSizing:"border-box"});var pT=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})),fT=u(({note:e,...t})=>y.createElement(pT,{...t},e),"TooltipNote"),hT=Ce(ks(),1),mT=k(({active:e,loading:t,disabled:r,...n})=>y.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}:{}),gT=k.span({display:"flex","& svg":{height:12,width:12,margin:"3px 0",verticalAlign:"top"},"& path":{fill:"inherit"}}),vT=k.span({flex:1,textAlign:"left",display:"flex",flexDirection:"column"},({isIndented:e})=>e?{marginLeft:24}:{}),yT=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})),wT=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"}),DT=(0,hT.default)(100)((e,t,r)=>({...e&&{as:"button",onClick:e},...t&&{as:"a",href:t,...r&&{as:r,to:t}}})),ET=u(({loading:e=!1,title:t=y.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=DT(c,s,f);return y.createElement(wT,{...m,...p,...h},y.createElement(y.Fragment,null,d&&y.createElement(bT,{...p},d),t||r?y.createElement(vT,{isIndented:!!(!d&&i)},t&&y.createElement(mT,{...p,loading:e},t),r&&y.createElement(yT,{...p},r)):null,n&&y.createElement(gT,{...p},n)))},"ListItem"),P8=ET,CT=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}:{}),xT=k.div(({theme:e})=>({padding:4,"& + &":{borderTop:`1px solid ${e.appBorderColor}`}})),ST=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 y.createElement(P8,{id:`list-item-${e}`,...r,...t&&{onClick:s}})},"Item"),N8=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 y.createElement(CT,{...r},n.filter(o=>o.length).map((o,i)=>y.createElement(xT,{key:o.map(s=>s.id).join(`~${i}~`)},o.map(s=>"content"in s?y.createElement(l.Fragment,{key:s.id},s.content):y.createElement(ST,{key:s.id,isIndented:a,LinkWrapper:t,...s})))))},"TooltipLinkList");Sp();var z1=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}}:{});z1.displayName="Side";var FT=u(({children:e,className:t,scrollable:r})=>r?y.createElement(Lo,{vertical:!1,className:t},e):y.createElement("div",{className:t},e),"UnstyledBar"),dh=k(FT)(({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}:{});dh.displayName="Bar";var AT=k.div(({bgColor:e})=>({display:"flex",justifyContent:"space-between",position:"relative",flexWrap:"nowrap",flexShrink:0,height:40,backgroundColor:e||""})),cu=u(({children:e,backgroundColor:t,className:r,...n})=>{let[a,o]=l.Children.toArray(e);return y.createElement(dh,{className:`sb-bar ${r}`,...n},y.createElement(AT,{bgColor:t},y.createElement(z1,{scrollable:n.scrollable,left:!0},a),o?y.createElement(z1,{right:!0},o):null))},"FlexBar");cu.displayName="FlexBar";var kT=u(e=>typeof e.props.href=="string","isLink"),_T=u(e=>typeof e.props.href!="string","isButton");function H8({children:e,...t},r){let n={props:t,ref:r};if(kT(n))return y.createElement("a",{ref:n.ref,...n.props},e);if(_T(n))return y.createElement("button",{ref:n.ref,type:"button",...n.props},e);throw new Error("invalid props")}u(H8,"ForwardRefFunction");var $8=l.forwardRef(H8);$8.displayName="ButtonOrLink";var vi=k($8,{shouldForwardProp:sp})({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}});vi.displayName="TabButton";k.div(({theme:e})=>({width:14,height:14,backgroundColor:e.appBorderColor,animation:`${e.animation.glow} 1.5s ease-in-out infinite`}));k.div({marginTop:6,padding:7,height:28});var BT=k.div(({theme:e})=>({height:"100%",display:"flex",padding:30,alignItems:"center",justifyContent:"center",flexDirection:"column",gap:15,background:e.background.content})),RT=k.div({display:"flex",flexDirection:"column",gap:4,maxWidth:415}),IT=k.div(({theme:e})=>({fontWeight:e.typography.weight.bold,fontSize:e.typography.size.s2-1,textAlign:"center",color:e.textColor})),zT=k.div(({theme:e})=>({fontWeight:e.typography.weight.regular,fontSize:e.typography.size.s2-1,textAlign:"center",color:e.textMutedColor})),ph=u(({title:e,description:t,footer:r})=>y.createElement(BT,null,y.createElement(RT,null,y.createElement(IT,null,e),t&&y.createElement(zT,null,t)),r),"EmptyTabContent"),TT=k.div(({active:e})=>e?{display:"block"}:{display:"none"}),LT=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})=>y.createElement(TT,{active:i,role:"tabpanel"},o)}}),"childrenToList");Of();var MT=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"})),OT=k(vi)(({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 j8(e){let t=l.useRef(),r=l.useRef(),n=l.useRef(new Map),{width:a=1}=ih({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),[v,b]=l.useState(!1);return y.createElement(y.Fragment,null,y.createElement(ds,{interactive:!0,visible:v,onVisibleChange:b,placement:"bottom",delayHide:100,tooltip:y.createElement(N8,{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")}))})},y.createElement(OT,{ref:r,active:g,preActive:v,style:{visibility:s.length?"visible":"hidden"},"aria-hidden":!s.length,className:"tabbutton",type:"button",role:"tab"},p,y.createElement(MT,{className:"addon-collapsible-icon",isActive:g||v}))),s.map(({title:C,id:E,color:D},w)=>{let x=`index-${w}`;return y.createElement(vi,{id:`tabbutton-${X4(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(),v=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>v;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(j8,"useList");var PT="/* emotion-disable-server-rendering-unsafe-selector-warning-please-do-not-use-this-the-warning-exists-for-a-reason */",NT=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"}),fh=k.div({overflow:"hidden","&:first-of-type":{marginLeft:-3},whiteSpace:"nowrap",flexGrow:1});fh.displayName="TabBar";var HT=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${PT}`]:{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"}}:{}),hh=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(()=>LT(e).map((C,E)=>({...C,active:t?C.id===t:E===0})),[e,t]),{visibleList:p,tabBarRef:h,tabRefs:g,AddonTab:v}=j8(m),b=d??y.createElement(ph,{title:"Nothing found"});return!f&&m.length===0?b:y.createElement(NT,{absolute:n,bordered:a,id:s},y.createElement(cu,{scrollable:!1,border:!0,backgroundColor:i},y.createElement(fh,{style:{whiteSpace:"normal"},ref:h,role:"tablist"},p.map(({title:C,id:E,active:D,color:w},x)=>{let S=`index-${x}`;return y.createElement(vi,{id:`tabbutton-${X4(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"?y.createElement("title",null):C)}),y.createElement(v,{menuName:c,actions:r})),o),y.createElement(HT,{id:"panel-tab-content",bordered:a,absolute:n},m.length?m.map(({id:C,active:E,render:D})=>y.createElement(D,{key:C,active:E},null)):b))});hh.displayName="Tabs";var T1=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 y.createElement(hh,{bordered:t,absolute:r,selected:i,backgroundColor:a,menuName:o,actions:this.handlers},n)}};u(T1,"TabsState"),T1.defaultProps={children:[],initial:null,absolute:!1,bordered:!1,backgroundColor:"",menuName:void 0};var V8=T1,U8=k.span(({theme:e})=>({width:1,height:20,background:e.appBorderColor,marginLeft:2,marginRight:2}),({force:e})=>e?{}:{"& + &":{display:"none"}});U8.displayName="Separator";const{deprecate:Yj,logger:Jj}=__STORYBOOK_MODULE_CLIENT_LOGGER__;var $T=k.svg` + display: inline-block; + shape-rendering: inherit; + vertical-align: middle; + fill: currentColor; + path { + fill: currentColor; + } +`;l.memo(u(function({icons:e=Object.keys(L1)}){return y.createElement($T,{viewBox:"0 0 14 14",style:{position:"absolute",width:0,height:0},"data-chromatic":"ignore"},e.map(t=>y.createElement("symbol",{id:`icon--${t}`,key:t},L1[t])))},"Symbols"));var L1={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"},jT=xt` + from { + transform: rotate(0deg); + } + to { + transform: rotate(360deg); + } +`,VT=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:`${jT} 0.7s linear infinite`,mixBlendMode:"difference"})),D4=k.div({position:"absolute",display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"center",width:"100%",height:"100%"}),UT=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"})),qT=k.div(({theme:e})=>({position:"absolute",top:0,left:0,height:"100%",background:e.color.secondary})),E4=k.div(({theme:e})=>({minHeight:"2em",fontSize:`${e.typography.size.s1}px`,color:e.textMutedColor})),WT=k(iE)(({theme:e})=>({width:20,height:20,marginBottom:"0.5rem",color:e.textMutedColor})),GT=xt` + from { content: "..." } + 33% { content: "." } + 66% { content: ".." } + to { content: "..." } +`,KT=k.span({"&::after":{content:"'...'",animation:`${GT} 1s linear infinite`,animationDelay:"1s",display:"inline-block",width:"1em",height:"auto"}}),q8=u(({progress:e,error:t,size:r,...n})=>{if(t)return y.createElement(D4,{"aria-label":t.toString(),"aria-live":"polite",role:"status",...n},y.createElement(WT,null),y.createElement(E4,null,t.message));if(e){let{value:a,modules:o}=e,{message:i}=e;return o&&(i+=` ${o.complete} / ${o.total} modules`),y.createElement(D4,{"aria-label":"Content is loading...","aria-live":"polite","aria-valuemin":0,"aria-valuemax":100,"aria-valuenow":a*100,"aria-valuetext":i,role:"progressbar",...n},y.createElement(UT,null,y.createElement(qT,{style:{width:`${a*100}%`}})),y.createElement(E4,null,i,a<1&&y.createElement(KT,{key:i})))}return y.createElement(VT,{"aria-label":"Content is loading...","aria-live":"polite",role:"status",size:r,...n})},"Loader"),YT=xt({"0%":{transform:"rotate(0deg)"},"100%":{transform:"rotate(360deg)"}});k.div(({size:e})=>({display:"inline-flex",alignItems:"center",justifyContent:"center",position:"relative",minWidth:e,minHeight:e}));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:`${YT} 1s linear infinite`,circle:{opacity:.25}});function W8(e){let t={},r=e.split("&");for(let n=0;n{let[n,a]=e.split("?"),o=a?{...W8(a),...r,id:t}:{...r,id:t};return`${n}?${Object.entries(o).map(i=>`${i[0]}=${i[1]}`).join("&")}`},"getStoryHref");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; +`;var K8=oE;Object.keys(oE).forEach(e=>{l.forwardRef((t,r)=>l.createElement(e,{...t,ref:r}))});const JT=Object.freeze(Object.defineProperty({__proto__:null,A:$6,get ActionBar(){return Rs},Bar:dh,Blockquote:j6,Button:Or,Code:Vf,DL:V6,Div:U6,EmptyTabContent:ph,ErrorFormatter:T8,FlexBar:cu,Form:Ta,H1:q6,H2:Uf,H3:qf,H4:W6,H5:G6,H6:K6,HR:Y6,IconButton:Sr,Img:J6,LI:Z6,Link:aa,ListItem:P8,Loader:q8,OL:X6,P:Q6,Pre:eE,ResetWrapper:jf,get ScrollArea(){return Lo},Separator:U8,Span:tE,SyntaxHighlighter:iu,TT:rE,TabBar:fh,TabButton:vi,Table:nE,Tabs:hh,TabsState:V8,TooltipLinkList:N8,TooltipNote:fT,UL:aE,WithTooltip:cT,WithTooltipPure:O8,Zoom:z8,codeCommon:fr,components:K8,createCopyToClipboardFunction:zl,getStoryHref:G8,icons:L1,nameSpaceClassNames:ie,withReset:se},Symbol.toStringTag,{value:"Module"}));var ZT=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}))),XT=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}))),QT=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}))),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:"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}))),tL=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}))),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:"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}))),M1=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}))),Zj=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}))),nL=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}))),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:"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}))),oL=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}))),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:"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}))),lL=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}))),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:"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}))),Y8=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}))),uL=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:cL,once:dL,logger:mh}=__STORYBOOK_MODULE_CLIENT_LOGGER__,{filterArgTypes:C4,composeConfigs:Xj,Preview:Qj,DocsContext:eV}=__STORYBOOK_MODULE_PREVIEW_API__,{STORY_ARGS_UPDATED:x4,UPDATE_STORY_ARGS:pL,RESET_STORY_ARGS:fL,GLOBALS_UPDATED:S4,NAVIGATE_URL:J8}=__STORYBOOK_MODULE_CORE_EVENTS__,{Channel:tV}=__STORYBOOK_MODULE_CHANNELS__;var Z8=yn({"../../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 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 v=n[d][1][g];return i(v||g)},h,h.exports,r,n,a,o)}return a[d].exports}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};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,v;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)})}}),hL=yn({"../../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}}}),mL=yn({"../../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 v(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){v(P,P.className.replace(c+r.activeLinkClass,""))});var I=i.querySelectorAll("."+r.listItemClass);n.call(I,function(P){v(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&&v(_.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?(v(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}}}}),gL=yn({"../../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,v=p,b=a(v),C=b?b.headingLevel:0,E=g-C;E>0&&(b=a(v),!(b&&g===b.headingLevel));)b&&b.children!==void 0&&(v=b.children),E--;return g>=r.collapseDepth&&(h.isCollapsed=!0),v.push(h),v}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}}}}),vL=yn({"../../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)}}}}),yL=yn({"../../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(v){f=v,p(v)});function p(v){m=v-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 F4={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 SL(e){if(typeof e!="string")return e;var t=e.toLowerCase();return F4[t]?"#"+F4[t]:e}var FL=/^#[a-fA-F0-9]{6}$/,AL=/^#[a-fA-F0-9]{8}$/,kL=/^#[a-fA-F0-9]{3}$/,_L=/^#[a-fA-F0-9]{4}$/,L0=/^rgb\(\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*\)$/i,BL=/^rgb(?:a)?\(\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,|\/)\s*([-+]?\d*[.]?\d+[%]?)\s*\)$/i,RL=/^hsl\(\s*(\d{0,3}[.]?[0-9]+(?:deg)?)\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*\)$/i,IL=/^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 du(e){if(typeof e!="string")throw new jt(3);var t=SL(e);if(t.match(FL))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(AL)){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(kL))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(_L)){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=L0.exec(t);if(a)return{red:parseInt(""+a[1],10),green:parseInt(""+a[2],10),blue:parseInt(""+a[3],10)};var o=BL.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=RL.exec(t);if(i){var s=parseInt(""+i[1],10),c=parseInt(""+i[2],10)/100,d=parseInt(""+i[3],10)/100,f="rgb("+ms(s,c,d)+")",m=L0.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=IL.exec(t.substring(0,50));if(p){var h=parseInt(""+p[1],10),g=parseInt(""+p[2],10)/100,v=parseInt(""+p[3],10)/100,b="rgb("+ms(h,g,v)+")",C=L0.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 zL(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?eC(e.hue,e.saturation,e.lightness):"rgba("+ms(e.hue,e.saturation,e.lightness)+","+e.alpha+")";throw new jt(2)}function tC(e,t,r){if(typeof e=="number"&&typeof t=="number"&&typeof r=="number")return N1("#"+Jr(e)+Jr(t)+Jr(r));if(typeof e=="object"&&t===void 0&&r===void 0)return N1("#"+Jr(e.red)+Jr(e.green)+Jr(e.blue));throw new jt(6)}function sr(e,t,r,n){if(typeof e=="string"&&typeof t=="number"){var a=du(e);return"rgba("+a.red+","+a.green+","+a.blue+","+t+")"}else if(typeof e=="object"&&t===void 0&&r===void 0&&n===void 0)return e.alpha>=1?tC(e.red,e.green,e.blue):"rgba("+e.red+","+e.green+","+e.blue+","+e.alpha+")";throw new jt(7)}var PL=function(e){return typeof e.red=="number"&&typeof e.green=="number"&&typeof e.blue=="number"&&(typeof e.alpha!="number"||typeof e.alpha>"u")},NL=function(e){return typeof e.red=="number"&&typeof e.green=="number"&&typeof e.blue=="number"&&typeof e.alpha=="number"},HL=function(e){return typeof e.hue=="number"&&typeof e.saturation=="number"&&typeof e.lightness=="number"&&(typeof e.alpha!="number"||typeof e.alpha>"u")},$L=function(e){return typeof e.hue=="number"&&typeof e.saturation=="number"&&typeof e.lightness=="number"&&typeof e.alpha=="number"};function rC(e){if(typeof e!="object")throw new jt(8);if(NL(e))return sr(e);if(PL(e))return tC(e);if($L(e))return OL(e);if(HL(e))return ML(e);throw new jt(8)}function nC(e,t,r){return function(){var n=r.concat(Array.prototype.slice.call(arguments));return n.length>=t?e.apply(this,n):nC(e,t,n)}}function pu(e){return nC(e,e.length,[])}function fu(e,t,r){return Math.max(e,Math.min(t,r))}function jL(e,t){if(t==="transparent")return t;var r=Q8(t);return rC(Da({},r,{lightness:fu(0,1,r.lightness-parseFloat(e))}))}var VL=pu(jL),Mt=VL;function UL(e,t){if(t==="transparent")return t;var r=Q8(t);return rC(Da({},r,{lightness:fu(0,1,r.lightness+parseFloat(e))}))}var qL=pu(UL),Zr=qL;function WL(e,t){if(t==="transparent")return t;var r=du(t),n=typeof r.alpha=="number"?r.alpha:1,a=Da({},r,{alpha:fu(0,1,(n*100+parseFloat(e)*100)/100)});return sr(a)}var GL=pu(WL),Zi=GL;function KL(e,t){if(t==="transparent")return t;var r=du(t),n=typeof r.alpha=="number"?r.alpha:1,a=Da({},r,{alpha:fu(0,1,+(n*100-parseFloat(e)*100).toFixed(2)/100)});return sr(a)}var YL=pu(KL),oe=YL,JL=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})),aC=e=>y.createElement(JL,{...e,className:"docblock-emptyblock sb-unstyled"}),ZL=k(iu)(({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"}})),XL=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"})),Xi=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${Z0}`]:{margin:0}})),QL=()=>y.createElement(XL,null,y.createElement(Xi,null),y.createElement(Xi,{style:{width:"80%"}}),y.createElement(Xi,{style:{width:"30%"}}),y.createElement(Xi,{style:{width:"80%"}})),oC=({isLoading:e,error:t,language:r,code:n,dark:a,format:o=!1,...i})=>{let{typography:s}=k3();if(e)return y.createElement(QL,null);if(t)return y.createElement(aC,null,t);let c=y.createElement(ZL,{bordered:!0,copyable:!0,format:o,language:r,className:"docblock-source sb-unstyled",...i},n);if(typeof a>"u")return c;let d=a?Y0.dark:Y0.light;return y.createElement(_3,{theme:J0({...d,fontCode:s.fonts.mono,fontBase:s.fonts.base})},c)},he=e=>`& :where(${e}:not(.sb-anchor, .sb-unstyled, .sb-unstyled ${e}))`,gh=600,eM=k.h1(se,({theme:e})=>({color:e.color.defaultText,fontSize:e.typography.size.m3,fontWeight:e.typography.weight.bold,lineHeight:"32px",[`@media (min-width: ${gh}px)`]:{fontSize:e.typography.size.l1,lineHeight:"36px",marginBottom:"16px"}})),tM=k.h2(se,({theme:e})=>({fontWeight:e.typography.weight.regular,fontSize:e.typography.size.s3,lineHeight:"20px",borderBottom:"none",marginBottom:15,[`@media (min-width: ${gh}px)`]:{fontSize:e.typography.size.m1,lineHeight:"28px",marginBottom:24},color:oe(.25,e.color.defaultText)})),rM=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"}}}),nM=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: ${gh}px)`]:{}})),aM=({children:e,toc:t})=>y.createElement(nM,{className:"sbdocs sbdocs-wrapper"},y.createElement(rM,{className:"sbdocs sbdocs-content"},e),t),hu=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:oM}=globalThis,iM=class extends l.Component{constructor(){super(...arguments),this.iframe=null}componentDidMount(){let{id:e}=this.props;this.iframe=oM.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 y.createElement("iframe",{id:e,title:t,src:r,...n?{allow:"fullscreen"}:{},loading:"lazy",...o})}},iC=l.createContext({scale:1}),{PREVIEW_URL:lM}=globalThis,sM=lM||"iframe.html",H1=({story:e,primary:t})=>`story--${e.id}${t?"--primary":""}`,uM=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?y.createElement("pre",null,y.createElement(T8,{error:a})):y.createElement(y.Fragment,null,s?y.createElement("style",null,`#${H1(e)} { min-height: ${s}; transform: translateZ(0); overflow: auto }`):null,r&&y.createElement(lC,null),y.createElement("div",{ref:t,id:`${H1(e)}-inner`,"data-name":i.name}))},cM=({story:e,height:t="500px"})=>y.createElement("div",{style:{width:"100%",height:t}},y.createElement(iC.Consumer,null,({scale:r})=>y.createElement(iM,{key:"iframe",id:`iframe--${e.id}`,title:e.name,src:G8(sM,e.id,{viewMode:"story"}),allowFullScreen:!0,scale:r,style:{width:"100%",height:"100%",border:"0 none"}}))),dM=k.strong(({theme:e})=>({color:e.color.orange})),pM=e=>{let{inline:t,story:r}=e;return t&&!e.autoplay&&r.usesMount?y.createElement(dM,null,"This story mounts inside of play. Set"," ",y.createElement("a",{href:"https://storybook.js.org/docs/api/doc-blocks/doc-block-story#autoplay"},"autoplay")," ","to true to view this story."):y.createElement("div",{id:H1(e),className:"sb-story sb-unstyled","data-story-block":"true"},t?y.createElement(uM,{...e}):y.createElement(cM,{...e}))},lC=()=>y.createElement(q8,null),fM=k(cu)({position:"absolute",left:0,right:0,top:0,transition:"transform .2s linear"}),hM=k.div({display:"flex",alignItems:"center",gap:4}),mM=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`})),gM=({isLoading:e,storyId:t,baseUrl:r,zoom:n,resetZoom:a,...o})=>y.createElement(fM,{...o},y.createElement(hM,{key:"left"},e?[1,2,3].map(i=>y.createElement(mM,{key:i})):y.createElement(y.Fragment,null,y.createElement(Sr,{key:"zoomin",onClick:i=>{i.preventDefault(),n(.8)},title:"Zoom in"},y.createElement(ZT,null)),y.createElement(Sr,{key:"zoomout",onClick:i=>{i.preventDefault(),n(1.25)},title:"Zoom out"},y.createElement(XT,null)),y.createElement(Sr,{key:"zoomreset",onClick:i=>{i.preventDefault(),a()},title:"Reset zoom"},y.createElement(QT,null))))),vM=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)`}}:{}),A4=k(oC)(({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)}})),yM=k.div(({theme:e,withSource:t,isExpanded:r})=>({position:"relative",overflow:"hidden",margin:"25px 0 40px",...hu(e),borderBottomLeftRadius:t&&r&&0,borderBottomRightRadius:t&&r&&0,borderBottomWidth:r&&0,"h3 + &":{marginTop:"16px"}}),({withToolbar:e})=>e&&{paddingTop:40}),bM=(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:y.createElement(A4,{...e,dark:!0}),actionItem:{title:"Hide code",className:"docblock-code-toggle docblock-code-toggle--expanded",onClick:()=>r(!1)}};default:return{source:y.createElement(A4,{...e,dark:!0}),actionItem:{title:"Show code",className:"docblock-code-toggle",onClick:()=>r(!0)}}}};function wM(e){if(l.Children.count(e)===1){let t=e;if(t.props)return t.props.id}return null}var DM=k(gM)({position:"absolute",top:0,left:0,right:0,height:40}),EM=k.div({overflow:"hidden",position:"relative"}),sC=({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}=bM(a,m,p),[v,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(async()=>{const{createCopyToClipboardFunction:I}=await Promise.resolve().then(()=>JT);return{createCopyToClipboardFunction:I}},void 0);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 y.createElement(yM,{withSource:a,withToolbar:o,...f,className:C.join(" ")},o&&y.createElement(DM,{isLoading:e,border:!0,zoom:_=>b(v*_),resetZoom:()=>b(1),storyId:wM(n),baseUrl:"./iframe.html"}),y.createElement(iC.Provider,{value:{scale:v}},y.createElement(EM,{className:"docs-story",onCopyCapture:a&&A},y.createElement(vM,{isColumn:t||!Array.isArray(n),columns:r,layout:d},y.createElement(z8.Element,{scale:v},Array.isArray(n)?n.map((_,R)=>y.createElement("div",{key:R},_)):y.createElement("div",null,n))),y.createElement(Rs,{actionItems:x}))),a&&m&&h)};k(sC)(()=>({".docs-story":{paddingTop:32,paddingBottom:40}}));function Qr(){return Qr=Object.assign?Object.assign.bind():function(e){for(var t=1;t(e[t.toLowerCase()]=t,e),{class:"className",for:"htmlFor"}),B4={amp:"&",apos:"'",gt:">",lt:"<",nbsp:" ",quot:"“"},xM=["style","script"],SM=/([-A-Z0-9_:]+)(?:\s*=\s*(?:(?:"((?:\\.|[^"])*)")|(?:'((?:\\.|[^'])*)')|(?:\{((?:\\.|{[^}]*?}|[^}])*)\})))?/gi,FM=/mailto:/i,AM=/\n{2,}$/,uC=/^(\s*>[\s\S]*?)(?=\n\n|$)/,kM=/^ *> ?/gm,_M=/^(?:\[!([^\]]*)\]\n)?([\s\S]*)/,BM=/^ {2,}\n/,RM=/^(?:( *[-*_])){3,} *(?:\n *)+\n/,cC=/^(?: {1,3})?(`{3,}|~{3,}) *(\S+)? *([^\n]*?)?\n([\s\S]*?)(?:\1\n?|$)/,dC=/^(?: {4}[^\n]+\n*)+(?:\n *)+\n?/,IM=/^(`+)\s*([\s\S]*?[^`])\s*\1(?!`)/,zM=/^(?:\n *)*\n/,TM=/\r\n?/g,LM=/^\[\^([^\]]+)](:(.*)((\n+ {4,}.*)|(\n(?!\[\^).+))*)/,MM=/^\[\^([^\]]+)]/,OM=/\f/g,PM=/^---[ \t]*\n(.|\n)*\n---[ \t]*\n/,NM=/^\s*?\[(x|\s)\]/,pC=/^ *(#{1,6}) *([^\n]+?)(?: +#*)?(?:\n *)*(?:\n|$)/,fC=/^ *(#{1,6}) +([^\n]+?)(?: +#*)?(?:\n *)*(?:\n|$)/,hC=/^([^\n]+)\n *(=|-){3,} *(?:\n *)+\n/,$1=/^ *(?!<[a-z][^ >/]* ?\/>)<([a-z][^ >/]*) ?((?:[^>]*[^/])?)>\n?(\s*(?:<\1[^>]*?>[\s\S]*?<\/\1>|(?!<\1\b)[\s\S])*?)<\/\1>(?!<\/\1>)\n*/i,HM=/&([a-z0-9]+|#[0-9]{1,6}|#x[0-9a-fA-F]{1,6});/gi,mC=/^)/,$M=/^(data|aria|x)-[a-z_][a-z\d_.-]*$/,j1=/^ *<([a-z][a-z0-9:]*)(?:\s+((?:<.*?>|[^>])*))?\/?>(?!<\/\1>)(\s*\n)?/i,jM=/^\{.*\}$/,VM=/^(https?:\/\/[^\s<]+[^<.,:;"')\]\s])/,UM=/^<([^ >]+@[^ >]+)>/,qM=/^<([^ >]+:\/[^ >]+)>/,WM=/-([a-z])?/gi,gC=/^(\|.*)\n(?: *(\|? *[-:]+ *\|[-| :]*)\n((?:.*\|.*\n)*))?\n?/,GM=/^\[([^\]]*)\]:\s+]+)>?\s*("([^"]*)")?/,KM=/^!\[([^\]]*)\] ?\[([^\]]*)\]/,YM=/^\[([^\]]*)\] ?\[([^\]]*)\]/,JM=/(\n|^[-*]\s|^#|^ {2,}|^-{2,}|^>\s)/,ZM=/\t/g,XM=/(^ *\||\| *$)/g,QM=/^ *:-+: *$/,eO=/^ *:-+ *$/,tO=/^ *-+: *$/,mu="((?:\\[.*?\\][([].*?[)\\]]|<.*?>(?:.*?<.*?>)?|`.*?`|~~.*?~~|==.*?==|.|\\n)*?)",rO=new RegExp(`^([*_])\\1${mu}\\1\\1(?!\\1)`),nO=new RegExp(`^([*_])${mu}\\1(?!\\1|\\w)`),aO=new RegExp(`^==${mu}==`),oO=new RegExp(`^~~${mu}~~`),iO=/^\\([^0-9A-Za-z\s])/,lO=/^[\s\S]+?(?=[^0-9A-Z\s\u00c0-\uffff&#;.()'"]|\d+\.|\n\n| {2,}\n|\w+:\S|$)/i,sO=/^\n+/,uO=/^([ \t]*)/,cO=/\\([^\\])/g,R4=/ *\n+$/,dO=/(?:^|\n)( *)$/,vh="(?:\\d+\\.)",yh="(?:[*+-])";function vC(e){return"( *)("+(e===1?vh:yh)+") +"}var yC=vC(1),bC=vC(2);function wC(e){return new RegExp("^"+(e===1?yC:bC))}var pO=wC(1),fO=wC(2);function DC(e){return new RegExp("^"+(e===1?yC:bC)+"[^\\n]*(?:\\n(?!\\1"+(e===1?vh:yh)+" )[^\\n]*)*(\\n|$)","gm")}var EC=DC(1),CC=DC(2);function xC(e){let t=e===1?vh:yh;return new RegExp("^( *)("+t+") [\\s\\S]+?(?:\\n{2,}(?! )(?!\\1"+t+" (?!"+t+" ))\\n*|\\s*\\n*$)")}var SC=xC(1),FC=xC(2);function I4(e,t){let r=t===1,n=r?SC:FC,a=r?EC:CC,o=r?pO:fO;return{match(i,s){let c=dO.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(AM,` +`).match(a),m=!1;return{items:f.map(function(p,h){let g=o.exec(p)[0].length,v=new RegExp("^ {1,"+g+"}","gm"),b=p.replace(v,"").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(R4,` + +`)):(c.inline=!0,x=b.replace(R4,""));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 hO=new RegExp(`^\\[((?:\\[[^\\]]*\\]|[^\\[\\]]|\\](?=[^\\[]*\\]))*)\\]\\(\\s*?(?:\\s+['"]([\\s\\S]*?)['"])?\\s*\\)`),mO=/^!\[(.*?)\]\( *((?:\([^)]*\)|[^() ])*) *"?([^)"]*)?"?\)/,AC=[uC,cC,dC,pC,hC,fC,mC,gC,EC,SC,CC,FC],gO=[...AC,/^[^\n]+(?: \n|\n{2,})/,$1,j1];function no(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 vO(e){return tO.test(e)?"right":QM.test(e)?"center":eO.test(e)?"left":null}function z4(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 yO(e,t,r){r.inline=!0;let n=e[2]?e[2].replace(XM,"").split("|").map(vO):[],a=e[3]?function(i,s,c){return i.trim().split(` +`).map(function(d){return z4(d,s,c,!0)})}(e[3],t,r):[],o=z4(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 T4(e,t){return e.align[t]==null?{}:{textAlign:e.align[t]}}function mr(e){return function(t,r){return r.inline?e.exec(t):null}}function gr(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 ao(e){return function(t){return e.exec(t)}}function bO(e,t){if(t.inline||t.simple)return null;let r="";e.split(` +`).every(a=>!AC.some(o=>o.test(a))&&(r+=a+` +`,a.trim()));let n=r.trimEnd();return n==""?null:[r,n]}function wO(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 L4(e){return e.replace(cO,"$1")}function Cl(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 DO(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 EO(e,t,r){let n=r.inline||!1;r.inline=!1;let a=e(t,r);return r.inline=n,a}var O0=(e,t,r)=>({children:Cl(t,e[1],r)});function P0(){return{}}function N0(){return null}function CO(...e){return e.filter(Boolean).join(" ")}function H0(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 xO(e="",t={}){function r(p,h,...g){let v=H0(t.overrides,`${p}.props`,{});return t.createElement(function(b,C){let E=H0(C,b);return E?typeof E=="function"||typeof E=="object"&&"render"in E?E:H0(C,`${b}.component`,b):b}(p,t.overrides),Qr({},h,v,{className:CO(h==null?void 0:h.className,v.className)||void 0}),...g)}function n(p){p=p.replace(PM,"");let h=!1;t.forceInline?h=!0:t.forceBlock||(h=JM.test(p)===!1);let g=d(c(h?p:`${p.trimEnd().replace(sO,"")} + +`,{inline:h}));for(;typeof g[g.length-1]=="string"&&!g[g.length-1].trim();)g.pop();if(t.wrapper===null)return g;let v=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(v,{key:"outer"},b)}function a(p,h){let g=h.match(SM);return g?g.reduce(function(v,b){let C=b.indexOf("=");if(C!==-1){let E=function(S){return S.indexOf("-")!==-1&&S.match($M)===null&&(S=S.replace(WM,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=_4[E]||E;if(w==="ref")return v;let x=v[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(jM)&&(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))&&(v[w]=n(x.trim()))}else b!=="style"&&(v[_4[b]||b]=!0);return v},{}):null}t.overrides=t.overrides||{},t.sanitizer=t.sanitizer||wO,t.slugify=t.slugify||no,t.namedCodesToUnicode=t.namedCodesToUnicode?Qr({},B4,t.namedCodesToUnicode):B4,t.createElement=t.createElement||l.createElement;let o=[],i={},s={[j.blockQuote]:{match:or(uC),order:1,parse(p,h,g){let[,v,b]=p[0].replace(kM,"").match(_M);return{alert:v,children:h(b,g)}},render(p,h,g){let v={key:g.key};return p.alert&&(v.className="markdown-alert-"+t.slugify(p.alert.toLowerCase(),no),p.children.unshift({attrs:{},children:[{type:j.text,text:p.alert}],noInnerParse:!0,type:j.htmlBlock,tag:"header"})),r("blockquote",v,h(p.children,g))}},[j.breakLine]:{match:ao(BM),order:1,parse:P0,render:(p,h,g)=>r("br",{key:g.key})},[j.breakThematic]:{match:or(RM),order:1,parse:P0,render:(p,h,g)=>r("hr",{key:g.key})},[j.codeBlock]:{match:or(dC),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",Qr({},p.attrs,{className:p.lang?`lang-${p.lang}`:""}),p.text))},[j.codeFenced]:{match:or(cC),order:0,parse:p=>({attrs:a("code",p[3]||""),lang:p[2]||void 0,text:p[4],type:j.codeBlock})},[j.codeInline]:{match:gr(IM),order:3,parse:p=>({text:p[2]}),render:(p,h,g)=>r("code",{key:g.key},p.text)},[j.footnote]:{match:or(LM),order:0,parse:p=>(o.push({footnote:p[2],identifier:p[1]}),{}),render:N0},[j.footnoteReference]:{match:mr(MM),order:1,parse:p=>({target:`#${t.slugify(p[1],no)}`,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:mr(NM),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?fC:pC),order:1,parse:(p,h,g)=>({children:Cl(h,p[2],g),id:t.slugify(p[2],no),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(hC),order:0,parse:(p,h,g)=>({children:Cl(h,p[1],g),level:p[2]==="="?1:2,type:j.heading})},[j.htmlBlock]:{match:ao($1),order:1,parse(p,h,g){let[,v]=p[3].match(uO),b=new RegExp(`^${v}`,"gm"),C=p[3].replace(b,""),E=(D=C,gO.some(A=>A.test(D))?EO:Cl);var D;let w=p[1].toLowerCase(),x=xM.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,Qr({key:g.key},p.attrs),p.text||(p.children?h(p.children,g):""))},[j.htmlSelfClosing]:{match:ao(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,Qr({},p.attrs,{key:g.key}))},[j.htmlComment]:{match:ao(mC),order:1,parse:()=>({}),render:N0},[j.image]:{match:gr(mO),order:1,parse:p=>({alt:p[1],target:L4(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:mr(hO),order:3,parse:(p,h,g)=>({children:DO(h,p[1],g),target:L4(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:mr(qM),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:mr(VM)(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:mr(UM),order:0,parse(p){let h=p[1],g=p[1];return FM.test(g)||(g="mailto:"+g),{children:[{text:h.replace("mailto:",""),type:j.text}],target:g,type:j.link}}},[j.orderedList]:I4(r,1),[j.unorderedList]:I4(r,2),[j.newlineCoalescer]:{match:or(zM),order:3,parse:P0,render:()=>` +`},[j.paragraph]:{match:bO,order:3,parse:O0,render:(p,h,g)=>r("p",{key:g.key},h(p.children,g))},[j.ref]:{match:mr(GM),order:0,parse:p=>(i[p[1]]={target:p[2],title:p[4]},{}),render:N0},[j.refImage]:{match:gr(KM),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:mr(YM),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(gC),order:1,parse:yO,render(p,h,g){let v=p;return r("table",{key:g.key},r("thead",null,r("tr",null,v.header.map(function(b,C){return r("th",{key:C,style:T4(v,C)},h(b,g))}))),r("tbody",null,v.cells.map(function(b,C){return r("tr",{key:C},b.map(function(E,D){return r("td",{key:D,style:T4(v,D)},h(E,g))}))})))}},[j.text]:{match:ao(lO),order:4,parse:p=>({text:p[0].replace(HM,(h,g)=>t.namedCodesToUnicode[g]?t.namedCodesToUnicode[g]:h)}),render:p=>p.text},[j.textBolded]:{match:gr(rO),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:gr(nO),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:gr(iO),order:1,parse:p=>({text:p[1],type:j.text})},[j.textMarked]:{match:gr(aO),order:3,parse:O0,render:(p,h,g)=>r("mark",{key:g.key},h(p.children,g))},[j.textStrikethroughed]:{match:gr(oO),order:3,parse:O0,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(v,b){let C=[];for(b.prevCapture=b.prevCapture||"";v;){let E=0;for(;EC(g,v,b),g,v,b):C(g,v,b)}}(s,t.renderRule),function p(h,g={}){if(Array.isArray(h)){let v=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,CM);return l.cloneElement(xO(t,r),n)},SO=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:`${Zi(.3,e.appBorderColor)} 0 0 0 1px inset`},"&:active":{boxShadow:`${Zi(.05,e.appBorderColor)} 0 0 0 2px inset`,color:Zi(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"?`${Zi(.1,e.appBorderColor)} 0 0 2px`:`${e.appBorderColor} 0 0 0 1px`,color:e.color.defaultText,padding:"7px 15px"}})),FO=e=>e==="true",AO=({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 y.createElement(Or,{variant:"outline",size:"medium",id:gs(e),onClick:i,disabled:s},"Set boolean");let c=Ct(e),d=typeof t=="string"?FO(t):t;return y.createElement(SO,{"aria-disabled":s,htmlFor:c,"aria-label":e},y.createElement("input",{id:c,type:"checkbox",onChange:m=>r(m.target.checked),checked:d,role:"switch",disabled:s,name:e,onBlur:n,onFocus:a}),y.createElement("span",{"aria-hidden":"true"},"False"),y.createElement("span",{"aria-hidden":"true"},"True"))},kO=e=>{let[t,r,n]=e.split("-"),a=new Date;return a.setFullYear(parseInt(t,10),parseInt(r,10)-1,parseInt(n,10)),a},_O=e=>{let[t,r]=e.split(":"),n=new Date;return n.setHours(parseInt(t,10)),n.setMinutes(parseInt(r,10)),n},BO=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}`},RO=e=>{let t=new Date(e),r=`0${t.getHours()}`.slice(-2),n=`0${t.getMinutes()}`.slice(-2);return`${r}:${n}`},M4=k(Ta.Input)(({readOnly:e})=>({opacity:e?.5:1})),IO=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}})),zO=({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?BO(t):""),d&&d.current&&(d.current.value=t?RO(t):""))},[t]);let m=v=>{if(!v.target.value)return r();let b=kO(v.target.value),C=new Date(t);C.setFullYear(b.getFullYear(),b.getMonth(),b.getDate());let E=C.getTime();E&&r(E),s(!!E)},p=v=>{if(!v.target.value)return r();let b=_O(v.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 y.createElement(IO,null,y.createElement(M4,{type:"date",max:"9999-12-31",ref:c,id:`${h}-date`,name:`${h}-date`,readOnly:f,onChange:m,onFocus:n,onBlur:a}),y.createElement(M4,{type:"time",id:`${h}-time`,name:`${h}-time`,ref:d,onChange:p,readOnly:f,onFocus:n,onBlur:a}),i?null:y.createElement("div",null,"invalid"))},TO=k.label({display:"flex"}),LO=e=>{let t=parseFloat(e);return Number.isNaN(t)?void 0:t},MO=k(Ta.Input)(({readOnly:e})=>({opacity:e?.5:1})),OO=({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),v=!!((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?y.createElement(Or,{variant:"outline",size:"medium",id:gs(e),onClick:C,disabled:v},"Set number"):y.createElement(TO,null,y.createElement(MO,{ref:E,id:Ct(e),type:"number",onChange:b,size:"flex",placeholder:"Edit number...",value:d,valid:h?"error":null,autoFocus:m,readOnly:v,name:e,min:n,max:a,step:o,onFocus:s,onBlur:i}))},_C=(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]):[],BC=(e,t)=>e&&t&&e.map(r=>t[r]),PO=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"}}}),NO=k.span({"[aria-readonly=true] &":{opacity:.5}}),HO=k.label({lineHeight:"20px",alignItems:"center",marginBottom:8,"&:last-child":{marginBottom:0},input:{margin:0,marginRight:6}}),O4=({name:e,options:t,value:r,onChange:n,isInline:a,argType:o})=>{var p;if(!t)return mh.warn(`Checkbox with no options: ${e}`),y.createElement(y.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,v=[...s];v.includes(g)?v.splice(v.indexOf(g),1):v.push(g),n(BC(v,t)),c(v)};l.useEffect(()=>{c(V1(r,t))},[r]);let m=Ct(e);return y.createElement(PO,{"aria-readonly":d,isInline:a},Object.keys(t).map((h,g)=>{let v=`${m}-${g}`;return y.createElement(HO,{key:v,htmlFor:v},y.createElement("input",{type:"checkbox",disabled:d,id:v,name:v,value:h,onChange:f,checked:s==null?void 0:s.includes(h)}),y.createElement(NO,null,h))}))},$O=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"}}}),jO=k.span({"[aria-readonly=true] &":{opacity:.5}}),VO=k.label({lineHeight:"20px",alignItems:"center",marginBottom:8,"&:last-child":{marginBottom:0},input:{margin:0,marginRight:6}}),P4=({name:e,options:t,value:r,onChange:n,isInline:a,argType:o})=>{var d;if(!t)return mh.warn(`Radio with no options: ${e}`),y.createElement(y.Fragment,null,"-");let i=_C(r,t),s=Ct(e),c=!!((d=o==null?void 0:o.table)!=null&&d.readonly);return y.createElement($O,{"aria-readonly":c,isInline:a},Object.keys(t).map((f,m)=>{let p=`${s}-${m}`;return y.createElement(VO,{key:p,htmlFor:p},y.createElement("input",{type:"radio",id:p,name:s,disabled:c,value:f,onChange:h=>n(t[h.currentTarget.value]),checked:f===i}),y.createElement(jO,null,f))}))},UO={appearance:"none",border:"0 none",boxSizing:"inherit",display:" block",margin:" 0",background:"transparent",padding:0,fontSize:"inherit",position:"relative"},RC=k.select(UO,({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}}})),IC=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}}})),N4="Choose option...",qO=({name:e,value:t,options:r,onChange:n,argType:a})=>{var d;let o=f=>{n(r[f.currentTarget.value])},i=_C(t,r)||N4,s=Ct(e),c=!!((d=a==null?void 0:a.table)!=null&&d.readonly);return y.createElement(IC,null,y.createElement(Y8,null),y.createElement(RC,{disabled:c,id:s,value:i,onChange:o},y.createElement("option",{key:"no-selection",disabled:!0},N4),Object.keys(r).map(f=>y.createElement("option",{key:f,value:f},f))))},WO=({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(BC(m,r))},i=V1(t,r),s=Ct(e),c=!!((d=a==null?void 0:a.table)!=null&&d.readonly);return y.createElement(IC,null,y.createElement(RC,{disabled:c,id:s,multiple:!0,value:i,onChange:o},Object.keys(r).map(f=>y.createElement("option",{key:f,value:f},f))))},H4=e=>{let{name:t,options:r}=e;return r?e.isMulti?y.createElement(WO,{...e}):y.createElement(qO,{...e}):(mh.warn(`Select with no options: ${t}`),y.createElement(y.Fragment,null,"-"))},GO=(e,t)=>Array.isArray(e)?e.reduce((r,n)=>(r[(t==null?void 0:t[n])||String(n)]=n,r),{}):e,KO={check:O4,"inline-check":O4,radio:P4,"inline-radio":P4,select:H4,"multi-select":H4},Pn=e=>{let{type:t="select",labels:r,argType:n}=e,a={...e,argType:n,options:n?GO(n.options,r):{},isInline:t.includes("inline"),isMulti:t.includes("multi")},o=KO[t];if(o)return y.createElement(o,{...a});throw new Error(`Unknown options type: ${t}`)},YO="Error",JO="Object",ZO="Array",XO="String",QO="Number",eP="Boolean",tP="Date",rP="Null",nP="Undefined",aP="Function",oP="Symbol",zC="ADD_DELTA_TYPE",TC="REMOVE_DELTA_TYPE",LC="UPDATE_DELTA_TYPE",bh="value",iP="key";function ln(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 MC(e,t){let r=ln(e),n=ln(t);return(r==="Function"||n==="Function")&&n!==r}var wh=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(bh,o,i),f=l.cloneElement(d,{placeholder:"Value",ref:this.refInputValue}),m=null;if(!t){let p=a(iP,o,i);m=l.cloneElement(p,{placeholder:"Key",ref:this.refInputKey})}return y.createElement("span",{className:"rejt-add-value-node"},m,f,c,s)}};wh.defaultProps={onlyValue:!1,addButtonElement:y.createElement("button",null,"+"),cancelButtonElement:y.createElement("button",null,"c")};var OC=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:TC};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:zC,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:LC,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 y.createElement("span",{className:"rejt-collapsed"},y.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:v,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 y.createElement("span",{className:"rejt-not-collapsed"},y.createElement("span",{className:"rejt-not-collapsed-delimiter",style:R},"["),!a&&P,y.createElement("ul",{className:"rejt-not-collapsed-list",style:I},t.map((N,q)=>y.createElement(gu,{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:v,textareaElementGenerator:b,minusMenuElement:C,plusMenuElement:E,beforeRemoveAction:D,beforeAddAction:w,beforeUpdateAction:x,logger:S,onSubmitValueParser:F}))),!L&&a&&y.createElement("div",{className:"rejt-add-form",style:T},y.createElement(wh,{handleAdd:this.handleAddValueAdd,handleCancel:this.handleAddValueCancel,onlyValue:!0,addButtonElement:p,cancelButtonElement:h,inputElementGenerator:v,keyPath:r,deep:n,onSubmitValueParser:F})),y.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 y.createElement("div",{className:"rejt-array-node"},y.createElement("span",{onClick:this.handleCollapseMode},y.createElement("span",{className:"rejt-name",style:c.name},e," :"," ")),s)}};OC.defaultProps={keyPath:[],deep:0,minusMenuElement:y.createElement("span",null," - "),plusMenuElement:y.createElement("span",null," + ")};var PC=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(()=>{MC(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,v=d(e,i,n,a,c),b=null,C=null,E=s(e,i,n,a,c);if(r&&!E){let D=p(bh,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=y.createElement("span",{className:"rejt-edit-form",style:v.editForm},S," ",x,w),C=null}else{b=y.createElement("span",{className:"rejt-value",style:v.value,onClick:E?null:this.handleEditMode},t);let D=l.cloneElement(h,{onClick:o,className:"rejt-minus-menu",style:v.minus});C=E?null:D}return y.createElement("li",{className:"rejt-function-value-node",style:v.li},y.createElement("span",{className:"rejt-name",style:v.name},e," :"," "),b,C)}};PC.defaultProps={keyPath:[],deep:0,handleUpdateValue:()=>{},editButtonElement:y.createElement("button",null,"e"),cancelButtonElement:y.createElement("button",null,"c"),minusMenuElement:y.createElement("span",null," - ")};var gu=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:v,minusMenuElement:b,plusMenuElement:C,beforeRemoveAction:E,beforeAddAction:D,beforeUpdateAction:w,logger:x,onSubmitValueParser:S}=this.props,F=()=>!0,A=ln(e);switch(A){case YO:return y.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:v,minusMenuElement:b,plusMenuElement:C,beforeRemoveAction:E,beforeAddAction:D,beforeUpdateAction:w,logger:x,onSubmitValueParser:S});case JO:return y.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:v,minusMenuElement:b,plusMenuElement:C,beforeRemoveAction:E,beforeAddAction:D,beforeUpdateAction:w,logger:x,onSubmitValueParser:S});case ZO:return y.createElement(OC,{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:v,minusMenuElement:b,plusMenuElement:C,beforeRemoveAction:E,beforeAddAction:D,beforeUpdateAction:w,logger:x,onSubmitValueParser:S});case XO:return y.createElement(vr,{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 QO:return y.createElement(vr,{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 eP:return y.createElement(vr,{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 tP:return y.createElement(vr,{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 rP:return y.createElement(vr,{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 nP:return y.createElement(vr,{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 aP:return y.createElement(PC,{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:v,minusMenuElement:b,logger:x,onSubmitValueParser:S});case oP:return y.createElement(vr,{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}}};gu.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:zC,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:TC};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:LC,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 y.createElement("span",{className:"rejt-collapsed"},y.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:v,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=>y.createElement(gu,{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:v,textareaElementGenerator:b,minusMenuElement:C,plusMenuElement:E,beforeRemoveAction:D,beforeAddAction:w,beforeUpdateAction:x,logger:S,onSubmitValueParser:F}));return y.createElement("span",{className:"rejt-not-collapsed"},y.createElement("span",{className:"rejt-not-collapsed-delimiter",style:T},"{"),!P&&M,y.createElement("ul",{className:"rejt-not-collapsed-list",style:I},q),!P&&o&&y.createElement("div",{className:"rejt-add-form",style:R},y.createElement(wh,{handleAdd:this.handleAddValueAdd,handleCancel:this.handleAddValueCancel,addButtonElement:p,cancelButtonElement:h,inputElementGenerator:v,keyPath:r,deep:n,onSubmitValueParser:F})),y.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 y.createElement("div",{className:"rejt-object-node"},y.createElement("span",{onClick:this.handleCollapseMode},y.createElement("span",{className:"rejt-name",style:c.name},e," :"," ")),s)}};U1.defaultProps={keyPath:[],deep:0,minusMenuElement:y.createElement("span",null," - "),plusMenuElement:y.createElement("span",null," + ")};var vr=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(()=>{MC(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,v=d(e,i,n,a,c),b=s(e,i,n,a,c),C=r&&!b,E=p(bh,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:v.minus});return y.createElement("li",{className:"rejt-value-node",style:v.li},y.createElement("span",{className:"rejt-name",style:v.name},e," : "),C?y.createElement("span",{className:"rejt-edit-form",style:v.editForm},x," ",w,D):y.createElement("span",{className:"rejt-value",style:v.value,onClick:b?null:this.handleEditMode},String(t)),!b&&!C&&S)}};vr.defaultProps={keyPath:[],deep:0,handleUpdateValue:()=>Promise.resolve(),editButtonElement:y.createElement("button",null,"e"),cancelButtonElement:y.createElement("button",null,"c"),minusMenuElement:y.createElement("span",null," - ")};function lP(e){let t=e;if(t.indexOf("function")===0)return(0,eval)(`(${t})`);try{t=JSON.parse(e)}catch{}return t}var sP={minus:{color:"red"},plus:{color:"green"},collapsed:{color:"grey"},delimiter:{},ul:{padding:"0px",margin:"0 0 0 25px",listStyle:"none"},name:{color:"#2287CD"},addForm:{}},uP={minus:{color:"red"},plus:{color:"green"},collapsed:{color:"grey"},delimiter:{},ul:{padding:"0px",margin:"0 0 0 25px",listStyle:"none"},name:{color:"#2287CD"},addForm:{}},cP={minus:{color:"red"},editForm:{},value:{color:"#7bba3d"},li:{minHeight:"22px",lineHeight:"22px",outline:"0px"},name:{color:"#2287CD"}},NC=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:v,logger:b,onSubmitValueParser:C,fallback:E=null}=this.props,D=ln(e),w=a;ln(a)==="Boolean"&&(w=()=>a);let x=d;d&&ln(d)!=="Function"&&(x=()=>d);let S=f;return f&&ln(f)!=="Function"&&(S=()=>f),D==="Object"||D==="Array"?y.createElement("div",{className:"rejt-tree"},y.createElement(gu,{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:v,logger:b,onSubmitValueParser:C})):E}};NC.defaultProps={rootName:"root",isCollapsed:(e,t)=>t!==-1,getStyle:(e,t,r,n,a)=>{switch(a){case"Object":case"Error":return sP;case"Array":return uP;default:return cP}},readOnly:()=>!1,onFullyUpdate:()=>{},onDeltaUpdate:()=>{},beforeRemoveAction:()=>Promise.resolve(),beforeAddAction:()=>Promise.resolve(),beforeUpdateAction:()=>Promise.resolve(),logger:{error:()=>{}},onSubmitValueParser:(e,t,r,n,a)=>lP(a),inputElement:()=>y.createElement("input",null),textareaElement:()=>y.createElement("textarea",null),fallback:null};var{window:dP}=globalThis,pP=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}})),$0=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})),fP=k(nL)(({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}})),hP=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.negative},"svg + &":{marginLeft:0}})),$4=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}`}})),mP=k(Sr)(({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}})),gP=k(Ta.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"}})),vP={bubbles:!0,cancelable:!0,key:"Enter",code:"Enter",keyCode:13},yP=e=>{e.currentTarget.dispatchEvent(new dP.KeyboardEvent("keydown",vP))},bP=e=>{e.currentTarget.select()},wP=e=>()=>({name:{color:e.color.secondary},collapsed:{color:e.color.dark},ul:{listStyle:"none",margin:"0 0 0 1rem",padding:0},li:{outline:0}}),j4=({name:e,value:t,onChange:r,argType:n})=>{var D;let a=k3(),o=l.useMemo(()=>t&&I9(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),v=l.useCallback(()=>{r({}),g(!0)},[g]),b=l.useRef(null);if(l.useEffect(()=>{h&&b.current&&b.current.select()},[h]),!i)return y.createElement(Or,{disabled:m,id:gs(e),onClick:v},"Set object");let C=y.createElement(gP,{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 y.createElement(pP,{"aria-readonly":m},E&&y.createElement(mP,{onClick:w=>{w.preventDefault(),c(x=>!x)}},s?y.createElement(tL,null):y.createElement(eL,null),y.createElement("span",null,"RAW")),s?C:y.createElement(NC,{readOnly:m||!E,isCollapsed:E?void 0:()=>!0,data:o,rootName:e,onFullyUpdate:r,getStyle:wP(a),cancelButtonElement:y.createElement($0,{type:"button"},"Cancel"),editButtonElement:y.createElement($0,{type:"submit"},"Save"),addButtonElement:y.createElement($0,{type:"submit",primary:!0},"Save"),plusMenuElement:y.createElement(fP,null),minusMenuElement:y.createElement(hP,null),inputElement:(w,x,S,F)=>F?y.createElement($4,{onFocus:bP,onBlur:yP}):y.createElement($4,null),fallback:C}))},DP=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}%, + ${Zr(.02,e.input.background)} ${(n-t)/(r-t)*100}%, + ${Zr(.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}%, + ${Zr(.02,e.input.background)} ${(n-t)/(r-t)*100}%, + ${Zr(.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}%, + ${Zr(.02,e.input.background)} ${(n-t)/(r-t)*100}%, + ${Zr(.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"}}})),HC=k.span({paddingLeft:5,paddingRight:5,fontSize:12,whiteSpace:"nowrap",fontFeatureSettings:"tnum",fontVariantNumeric:"tabular-nums","[aria-readonly=true] &":{opacity:.5}}),EP=k(HC)(({numberOFDecimalsPlaces:e,max:t})=>({width:`${e+t.toString().length*2+3}ch`,textAlign:"right",flexShrink:0})),CP=k.div({display:"flex",alignItems:"center",width:"100%"});function xP(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 SP=({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(LO(g.target.value))},f=t!==void 0,m=l.useMemo(()=>xP(o),[o]),p=!!((h=c==null?void 0:c.table)!=null&&h.readonly);return y.createElement(CP,{"aria-readonly":p},y.createElement(HC,null,n),y.createElement(DP,{id:Ct(e),type:"range",disabled:p,onChange:d,name:e,value:t,min:n,max:a,step:o,onFocus:s,onBlur:i}),y.createElement(EP,{numberOFDecimalsPlaces:m,max:a},f?t.toFixed(m):"--"," / ",a))},FP=k.label({display:"flex"}),AP=k.div(({isMaxed:e})=>({marginLeft:"0.75rem",paddingTop:"0.35rem",color:e?"red":void 0})),kP=({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 y.createElement(Or,{variant:"outline",size:"medium",disabled:c,id:gs(e),onClick:m},"Set string");let p=typeof t=="string";return y.createElement(FP,null,y.createElement(Ta.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&&y.createElement(AP,{isMaxed:(t==null?void 0:t.length)===o},(t==null?void 0:t.length)??0," / ",o))},_P=k(Ta.Input)({padding:10});function BP(e){e.forEach(t=>{t.startsWith("blob:")&&URL.revokeObjectURL(t)})}var RP=({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),BP(n)}return l.useEffect(()=>{n==null&&o.current&&(o.current.value=null)},[n,t]),y.createElement(_P,{ref:o,id:Ct(t),type:"file",name:t,multiple:!0,disabled:i,onChange:s,accept:r,size:"flex"})},IP=l.lazy(()=>Y1(()=>import("./Color-YHDXOIA2-CsuRGi2p.js"),__vite__mapDeps([0,1,2,3,4,5,6]))),zP=e=>y.createElement(l.Suspense,{fallback:y.createElement("div",null)},y.createElement(IP,{...e})),TP={array:j4,object:j4,boolean:AO,color:zP,date:zO,number:OO,check:Pn,"inline-check":Pn,radio:Pn,"inline-radio":Pn,select:Pn,"multi-select":Pn,range:SP,text:kP,file:RP},V4=()=>y.createElement(y.Fragment,null,"-"),LP=({row:e,arg:t,updateArgs:r,isHovered:n})=>{var v;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&&((v=e==null?void 0:e.type)==null?void 0:v.name)!=="function";return n&&b?y.createElement(aa,{href:"https://storybook.js.org/docs/essentials/controls",target:"_blank",withArrow:!0},"Setup controls"):y.createElement(V4,null)}let h={name:a,argType:e,value:c.value,onChange:f,onBlur:m,onFocus:p},g=TP[o.type]||V4;return y.createElement(g,{...h,...o,controlType:o.type})},MP=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:fr({theme:e}),div:{span:{fontWeight:"bold"}},"& code":{margin:0,display:"inline-block",fontSize:e.typography.size.s1}}})),OP=({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:y.createElement(y.Fragment,null,y.createElement(MP,null,y.createElement("tbody",null,n&&y.createElement("tr",{key:"deprecated"},y.createElement("td",{colSpan:2},y.createElement("strong",null,"Deprecated"),": ",e.deprecated.toString())),r&&t.map(o=>y.createElement("tr",{key:o.name},y.createElement("td",null,y.createElement("code",null,o.name)),y.createElement("td",null,o.description))),a&&y.createElement("tr",{key:"returns"},y.createElement("td",null,y.createElement("code",null,"Returns")),y.createElement("td",null,e.returns.description)))))},PP=J1(Z8()),q1=8,U4=k.div(({isExpanded:e})=>({display:"flex",flexDirection:e?"column":"row",flexWrap:"wrap",alignItems:"flex-start",marginBottom:"-4px",minWidth:100})),NP=k.span(fr,({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}})),HP=k.button(({theme:e})=>({fontFamily:e.typography.fonts.mono,color:e.color.secondary,marginBottom:"4px",background:"none",border:"none"})),$P=k.div(fr,({theme:e})=>({fontFamily:e.typography.fonts.mono,color:e.color.secondary,fontSize:e.typography.size.s1,margin:0,whiteSpace:"nowrap",display:"flex",alignItems:"center"})),jP=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"}})),VP=k(sL)({marginLeft:4}),UP=k(Y8)({marginLeft:4}),qP=()=>y.createElement("span",null,"-"),$C=({text:e,simple:t})=>y.createElement(NP,{simple:t},e),WP=(0,PP.default)(1e3)(e=>{let t=e.split(/\r?\n/);return`${Math.max(...t.map(r=>r.length))}ch`}),GP=e=>{if(!e)return[e];let t=e.split("|").map(r=>r.trim());return x9(t)},q4=(e,t=!0)=>{let r=e;return t||(r=e.slice(0,q1)),r.map(n=>y.createElement($C,{key:n,text:n===""?'""':n}))},KP=({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 y.createElement($C,{text:c});let d=GP(c),f=d.length;return f>q1?y.createElement(U4,{isExpanded:i},q4(d,i),y.createElement(HP,{onClick:()=>s(!i)},i?"Show less...":`Show ${f-q1} more...`)):y.createElement(U4,null,q4(d))}return y.createElement(O8,{closeOnOutsideClick:!0,placement:"bottom",visible:a,onVisibleChange:d=>{o(d)},tooltip:y.createElement(jP,{width:WP(n)},y.createElement(iu,{language:"jsx",format:!1},n))},y.createElement($P,{className:"sbdocs-expandable"},y.createElement("span",null,c),a?y.createElement(VP,null):y.createElement(UP,null)))},j0=({value:e,initialExpandedArgs:t})=>e==null?y.createElement(qP,null):y.createElement(KP,{value:e,initialExpandedArgs:t}),YP=k.span({fontWeight:"bold"}),JP=k.span(({theme:e})=>({color:e.color.negative,fontFamily:e.typography.fonts.mono,cursor:"help"})),ZP=k.div(({theme:e})=>({"&&":{p:{margin:"0 0 10px 0"},a:{color:e.color.secondary}},code:{...fr({theme:e}),fontSize:12,fontFamily:e.typography.fonts.mono},"& code":{margin:0,display:"inline-block"},"& pre > code":{whiteSpace:"pre-wrap"}})),XP=k.div(({theme:e,hasDescription:t})=>({color:e.base==="light"?oe(.1,e.color.defaultText):oe(.2,e.color.defaultText),marginTop:t?4:0})),QP=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})),eN=k.td(({theme:e,expandable:t})=>({paddingLeft:t?"40px !important":"20px !important"})),tN=e=>e&&{summary:typeof e=="string"?e:e.name},Qi=e=>{var v;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||tN(n.type),p=f.defaultValue||n.defaultValue,h=(v=n.type)==null?void 0:v.required,g=d!=null&&d!=="";return y.createElement("tr",{onMouseEnter:()=>r(!0),onMouseLeave:()=>r(!1)},y.createElement(eN,{expandable:i},y.createElement(YP,null,c),h?y.createElement(JP,{title:"Required"},"*"):null),o?null:y.createElement("td",null,g&&y.createElement(ZP,null,y.createElement(kC,null,d)),f.jsDocTags!=null?y.createElement(y.Fragment,null,y.createElement(QP,{hasDescription:g},y.createElement(j0,{value:m,initialExpandedArgs:s})),y.createElement(OP,{tags:f.jsDocTags})):y.createElement(XP,{hasDescription:g},y.createElement(j0,{value:m,initialExpandedArgs:s}))),o?null:y.createElement("td",null,y.createElement(j0,{value:p,initialExpandedArgs:s})),a?y.createElement("td",null,y.createElement(LP,{...e,isHovered:t})):null)},rN=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"})),nN=k.div(({theme:e})=>({display:"flex",fontSize:e.typography.size.s2-1,gap:25})),aN=k.div(({theme:e})=>({width:1,height:16,backgroundColor:e.appBorderColor})),oN=({inAddonPanel:e})=>{let[t,r]=l.useState(!0);return l.useEffect(()=>{let n=setTimeout(()=>{r(!1)},100);return()=>clearTimeout(n)},[]),t?null:y.createElement(rN,{inAddonPanel:e},y.createElement(ph,{title:e?"Interactive story playground":"Args table with interactive controls couldn't be auto-generated",description:y.createElement(y.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:y.createElement(nN,null,e&&y.createElement(y.Fragment,null,y.createElement(aa,{href:"https://youtu.be/0gOfS6K0x0E",target:"_blank",withArrow:!0},y.createElement(rL,null)," Watch 5m video"),y.createElement(aN,null),y.createElement(aa,{href:"https://storybook.js.org/docs/essentials/controls",target:"_blank",withArrow:!0},y.createElement(M1,null)," Read docs")),!e&&y.createElement(aa,{href:"https://storybook.js.org/docs/essentials/controls",target:"_blank",withArrow:!0},y.createElement(M1,null)," Learn how to set that up"))}))},iN=k(iL)(({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"})),lN=k(lL)(({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"})),sN=k.span(({theme:e})=>({display:"flex",lineHeight:"20px",alignItems:"center"})),uN=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`}})),cN=k.td(({theme:e})=>({position:"relative",fontWeight:e.typography.weight.bold,fontSize:e.typography.size.s2-1,background:e.background.app})),dN=k.td({position:"relative"}),pN=k.tr(({theme:e})=>({"&:hover > td":{backgroundColor:`${Zr(.005,e.background.app)} !important`,boxShadow:`${e.color.mediumlight} 0 - 1px 0 0 inset`,cursor:"row-resize"}})),W4=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"}),V0=({level:e="section",label:t,children:r,initialExpanded:n=!0,colSpan:a=3})=>{let[o,i]=l.useState(n),s=e==="subsection"?cN:uN,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 y.createElement(y.Fragment,null,y.createElement(pN,{title:f},y.createElement(s,{colSpan:1},y.createElement(W4,{onClick:m=>i(!o),tabIndex:0},f),y.createElement(sN,null,o?y.createElement(iN,null):y.createElement(lN,null),t)),y.createElement(dN,{colSpan:a-1},y.createElement(W4,{onClick:m=>i(!o),tabIndex:-1,style:{outline:"none"}},f),o?null:d)),o?r:null)},el=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],fN=()=>y.createElement(y.Fragment,null,y.createElement(el,null,y.createElement(Ae,{numColumn:ke[0]},y.createElement(me,{width:"60%"})),y.createElement(Ae,{numColumn:ke[1]},y.createElement(me,{width:"30%"})),y.createElement(Ae,{numColumn:ke[2]},y.createElement(me,{width:"60%"})),y.createElement(Ae,{numColumn:ke[3]},y.createElement(me,{width:"60%"}))),y.createElement(el,null,y.createElement(Ae,{numColumn:ke[0]},y.createElement(me,{width:"60%"})),y.createElement(Ae,{numColumn:ke[1]},y.createElement(me,{width:"80%"}),y.createElement(me,{width:"30%"})),y.createElement(Ae,{numColumn:ke[2]},y.createElement(me,{width:"60%"})),y.createElement(Ae,{numColumn:ke[3]},y.createElement(me,{width:"60%"}))),y.createElement(el,null,y.createElement(Ae,{numColumn:ke[0]},y.createElement(me,{width:"60%"})),y.createElement(Ae,{numColumn:ke[1]},y.createElement(me,{width:"80%"}),y.createElement(me,{width:"30%"})),y.createElement(Ae,{numColumn:ke[2]},y.createElement(me,{width:"60%"})),y.createElement(Ae,{numColumn:ke[3]},y.createElement(me,{width:"60%"}))),y.createElement(el,null,y.createElement(Ae,{numColumn:ke[0]},y.createElement(me,{width:"60%"})),y.createElement(Ae,{numColumn:ke[1]},y.createElement(me,{width:"80%"}),y.createElement(me,{width:"30%"})),y.createElement(Ae,{numColumn:ke[2]},y.createElement(me,{width:"60%"})),y.createElement(Ae,{numColumn:ke[3]},y.createElement(me,{width:"60%"})))),hN=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}}}}})),mN=k(Sr)(({theme:e})=>({margin:"-4px -12px -4px 0"})),gN=k.span({display:"flex",justifyContent:"space-between"}),vN={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},yN=(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=vN[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)}}),{})}},bN=(e,t,r)=>{try{return p9(e,t,r)}catch(n){return dL.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 y.createElement(aC,null,E," ",y.createElement(aa,{href:"http://storybook.js.org/docs/",target:"_blank",withArrow:!0},y.createElement(M1,null)," Read the docs"))}if(s)return y.createElement(fN,null);let{rows:c,args:d,globals:f}="rows"in e&&e,m=yN(S9(c||{},E=>{var D;return!((D=E==null?void 0:E.table)!=null&&D.disable)&&bN(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 y.createElement(oN,{inAddonPanel:a});let v=1;t&&(v+=1),n||(v+=2);let b=Object.keys(m.sections).length>0,C={updateArgs:t,compact:n,inAddonPanel:a,initialExpandedArgs:o};return y.createElement(jf,null,y.createElement(hN,{compact:n,inAddonPanel:a,className:"docblock-argstable sb-unstyled"},y.createElement("thead",{className:"docblock-argstable-head"},y.createElement("tr",null,y.createElement("th",null,y.createElement("span",null,"Name")),n?null:y.createElement("th",null,y.createElement("span",null,"Description")),n?null:y.createElement("th",null,y.createElement("span",null,"Default")),t?y.createElement("th",null,y.createElement(gN,null,"Control"," ",!s&&r&&y.createElement(mN,{onClick:()=>r(),title:"Reset controls"},y.createElement(uL,{"aria-hidden":!0})))):null)),y.createElement("tbody",{className:"docblock-argstable-body"},m.ungrouped.map(E=>y.createElement(Qi,{key:E.key,row:E,arg:d&&d[E.key],...C})),Object.entries(m.ungroupedSubsections).map(([E,D])=>y.createElement(V0,{key:E,label:E,level:"subsection",colSpan:v},D.map(w=>y.createElement(Qi,{key:w.key,row:w,arg:d&&d[w.key],expandable:b,...C})))),Object.entries(m.sections).map(([E,D])=>y.createElement(V0,{key:E,label:E,level:"section",colSpan:v},D.ungrouped.map(w=>y.createElement(Qi,{key:w.key,row:w,arg:d&&d[w.key],...C})),Object.entries(D.subsections).map(([w,x])=>y.createElement(V0,{key:w,label:w,level:"subsection",colSpan:v},x.map(S=>y.createElement(Qi,{key:S.key,row:S,arg:d&&d[S.key],expandable:b,...C})))))))))},wN=({tabs:e,...t})=>{let r=Object.entries(e);return r.length===1?y.createElement(W1,{...r[0][1],...t}):y.createElement(V8,null,r.map((n,a)=>{let[o,i]=n,s=`prop_table_div_${o}`,c="div",d=a===0?t:{sort:t.sort};return y.createElement(c,{key:s,id:s,title:o},({active:f})=>f?y.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})=>({...hu(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})=>({...hu(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})=>({...hu(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 DN=e=>`anchor--${e}`,EN=({storyId:e,children:t})=>y.createElement("div",{id:DN(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),CN=e=>e.split("-").map(t=>t.charAt(0).toUpperCase()+t.slice(1)).join(""),xN=e=>{if(e)return typeof e=="string"?e.includes("-")?CN(e):e:e.__docgenInfo&&e.__docgenInfo.displayName?e.__docgenInfo.displayName:e.name};function SN(e,t="start"){e.scrollIntoView({behavior:"smooth",block:t,inline:"nearest"})}var FN=Object.create,jC=Object.defineProperty,AN=Object.getOwnPropertyDescriptor,VC=Object.getOwnPropertyNames,kN=Object.getPrototypeOf,_N=Object.prototype.hasOwnProperty,at=(e,t)=>function(){return t||(0,e[VC(e)[0]])((t={exports:{}}).exports,t),t.exports},BN=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of VC(t))!_N.call(e,a)&&a!==r&&jC(e,a,{get:()=>t[a],enumerable:!(n=AN(t,a))||n.enumerable});return e},Dh=(e,t,r)=>(r=e!=null?FN(kN(e)):{},BN(!e||!e.__esModule?jC(r,"default",{value:e,enumerable:!0}):r,e)),RN=["bubbles","cancelBubble","cancelable","composed","currentTarget","defaultPrevented","eventPhase","isTrusted","returnValue","srcElement","target","timeStamp","type"],IN=["detail"];function zN(e){let t=RN.filter(r=>e[r]!==void 0).reduce((r,n)=>({...r,[n]:e[n]}),{});return e instanceof CustomEvent&&IN.filter(r=>e[r]!==void 0).forEach(r=>{t[r]=e[r]}),t}var TN=J1(Z8(),1),UC=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}}}),qC=at({"node_modules/has-symbols/index.js"(e,t){var r=typeof Symbol<"u"&&Symbol,n=UC();t.exports=function(){return typeof r!="function"||typeof Symbol!="function"||typeof r("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:n()}}}),LN=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 v=s.apply(this,c.concat(n.call(arguments)));return Object(v)===v?v: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},v=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=Eh(),E=MN(),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=v(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}}}),ON=at({"node_modules/call-bind/index.js"(e,t){var r=Eh(),n=WC(),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}}),PN=at({"node_modules/call-bind/callBound.js"(e,t){var r=WC(),n=ON(),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}}}),NN=at({"node_modules/has-tostringtag/shams.js"(e,t){var r=UC();t.exports=function(){return r()&&!!Symbol.toStringTag}}}),HN=at({"node_modules/is-regex/index.js"(e,t){var r=PN(),n=NN()(),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(v){return v===i}}:function(p){return!p||typeof p!="object"&&typeof p!="function"?!1:d(p)===m}}}),$N=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)}}}),jN=at({"node_modules/is-symbol/index.js"(e,t){var r=Object.prototype.toString,n=qC()();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}}),VN=Dh(HN()),UN=Dh($N()),qN=Dh(jN());function WN(e){return e!=null&&typeof e=="object"&&Array.isArray(e)===!1}var GN=typeof global=="object"&&global&&global.Object===Object&&global,KN=GN,YN=typeof self=="object"&&self&&self.Object===Object&&self,JN=KN||YN||Function("return this")(),Ch=JN,ZN=Ch.Symbol,Ea=ZN,GC=Object.prototype,XN=GC.hasOwnProperty,QN=GC.toString,oo=Ea?Ea.toStringTag:void 0;function eH(e){var t=XN.call(e,oo),r=e[oo];try{e[oo]=void 0;var n=!0}catch{}var a=QN.call(e);return n&&(t?e[oo]=r:delete e[oo]),a}var tH=eH,rH=Object.prototype,nH=rH.toString;function aH(e){return nH.call(e)}var oH=aH,iH="[object Null]",lH="[object Undefined]",G4=Ea?Ea.toStringTag:void 0;function sH(e){return e==null?e===void 0?lH:iH:G4&&G4 in Object(e)?tH(e):oH(e)}var uH=sH,K4=Ea?Ea.prototype:void 0;K4&&K4.toString;function cH(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}var KC=cH,dH="[object AsyncFunction]",pH="[object Function]",fH="[object GeneratorFunction]",hH="[object Proxy]";function mH(e){if(!KC(e))return!1;var t=uH(e);return t==pH||t==fH||t==dH||t==hH}var gH=mH,vH=Ch["__core-js_shared__"],U0=vH,Y4=function(){var e=/[^.]+$/.exec(U0&&U0.keys&&U0.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();function yH(e){return!!Y4&&Y4 in e}var bH=yH,wH=Function.prototype,DH=wH.toString;function EH(e){if(e!=null){try{return DH.call(e)}catch{}try{return e+""}catch{}}return""}var CH=EH,xH=/[\\^$.*+?()[\]{}|]/g,SH=/^\[object .+?Constructor\]$/,FH=Function.prototype,AH=Object.prototype,kH=FH.toString,_H=AH.hasOwnProperty,BH=RegExp("^"+kH.call(_H).replace(xH,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function RH(e){if(!KC(e)||bH(e))return!1;var t=gH(e)?BH:SH;return t.test(CH(e))}var IH=RH;function zH(e,t){return e==null?void 0:e[t]}var TH=zH;function LH(e,t){var r=TH(e,t);return IH(r)?r:void 0}var YC=LH;function MH(e,t){return e===t||e!==e&&t!==t}var OH=MH,PH=YC(Object,"create"),Wo=PH;function NH(){this.__data__=Wo?Wo(null):{},this.size=0}var HH=NH;function $H(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}var jH=$H,VH="__lodash_hash_undefined__",UH=Object.prototype,qH=UH.hasOwnProperty;function WH(e){var t=this.__data__;if(Wo){var r=t[e];return r===VH?void 0:r}return qH.call(t,e)?t[e]:void 0}var GH=WH,KH=Object.prototype,YH=KH.hasOwnProperty;function JH(e){var t=this.__data__;return Wo?t[e]!==void 0:YH.call(t,e)}var ZH=JH,XH="__lodash_hash_undefined__";function QH(e,t){var r=this.__data__;return this.size+=this.has(e)?0:1,r[e]=Wo&&t===void 0?XH:t,this}var e$=QH;function La(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t-1}var d$=c$;function p$(e,t){var r=this.__data__,n=vu(r,e);return n<0?(++this.size,r.push([e,t])):r[n][1]=t,this}var f$=p$;function Ma(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;iP$(e).replace(/\n\s*/g,"").trim()),H$=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},$$=/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}(\.\d{3})?Z$/;function ZC(e){if(!O$(e))return e;let t=e,r=!1;return typeof Event<"u"&&e instanceof Event&&(t=zN(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 j$=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 $$.test(i)?e.allowDate?`_date_${i}`:void 0:i;if((0,VN.default)(i))return e.allowRegExp?`_regexp_${i.flags}|${i.source}`:void 0;if((0,UN.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}|${N$(H$(o,f))}`}if((0,qN.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:ZC(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}}},V$={maxDepth:10,space:void 0,allowFunction:!0,allowRegExp:!0,allowDate:!0,allowClass:!0,allowError:!0,allowUndefined:!0,allowSymbol:!0,lazyEval:!0},U$=(e,t={})=>{let r={...V$,...t};return JSON.stringify(ZC(e),j$(r),t.space)};function XC(e){return U$(e,{allowFunction:!1})}var QC=l.createContext({sources:{}}),e9="--unknown--",q$=({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?XC(d):e9;n(h=>({...h,[c]:{...h[c],[p]:{code:f,format:m}}}))};return t.on(Rh,a),()=>t.off(Rh,a)},[]),y.createElement(QC.Provider,{value:{sources:r}},e)},W$=(e,t,r)=>{let{sources:n}=r,a=n==null?void 0:n[e];return(a==null?void 0:a[XC(t)])||(a==null?void 0:a[e9])||{code:""}},G$=({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||Du.AUTO;if(o.code!==void 0)return o.code;let s=i===Du.DYNAMIC||i===Du.AUTO&&e&&a?e:o.originalSource||"";return((d=n??o.transform)==null?void 0:d(s,t))||s},K$=(e,t,r)=>{var h,g,v,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=W$(n.id,m,r);return s=p.format??((b=(v=n.parameters.docs)==null?void 0:v.source)==null?void 0:b.format)??!1,{code:G$({snippet:p.code,storyContext:{...f,args:m},typeFromProps:e.type,transformFromProps:e.transform}),format:s,language:c,dark:d}};function Y$(e,t){let r=J$([e],t);return r&&r[0]}function J$(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 Z$=(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},X$=(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}},Q$=(e={__forceInitialArgs:!1,__primary:!1})=>{let t=l.useContext(er),r=Z$(e,t),n=Y$(r,t);if(!n)return y.createElement(lC,null);let a=X$(e,n,t);return a?y.createElement(pM,{...a}):null},ej=e=>{var p,h,g,v,b,C,E,D,w,x;let t=l.useContext(er),r=l.useContext(QC),{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=K$({...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??((v=(g=o.parameters.docs)==null?void 0:g.canvas)==null?void 0:v.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 y.createElement(sC,{withSource:f==="none"?void 0:i,isExpanded:f==="shown",withToolbar:c,additionalActions:d,className:m,layout:s},y.createElement(Q$,{of:n||o.moduleExport,meta:e.meta,...e.story}))},tj=(e,t)=>{let r=rj(e,t);if(!r)throw new Error("No result when story was defined");return r},rj=(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(x4,c),()=>t.channel.off(x4,c)},[n,t.channel]);let i=l.useCallback(c=>t.channel.emit(pL,{storyId:n,updatedArgs:c}),[n,t.channel]),s=l.useCallback(c=>t.channel.emit(fL,{storyId:n,argNames:c}),[n,t.channel]);return e&&[a,i,s]},nj=(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(S4,o),()=>t.channel.off(S4,o)},[t.channel]),[n]};function aj(e,t){let{extractArgTypes:r}=t.docs||{};if(!r)throw new Error("Args unsupported. See Args documentation for your framework.");return r(e)}var oj=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]=tj(n,r),[v]=nj(n,r),b=C4(o,d,f);if(!(s&&Object.keys(s).length>0))return Object.keys(b).length>0||Object.keys(p).length>0?y.createElement(W1,{rows:b,sort:m,args:p,globals:v,updateArgs:h,resetArgs:g}):null;let C=xN(i),E=Object.fromEntries(Object.entries(s).map(([x,S])=>[x,{rows:C4(aj(S,a),d,f),sort:m}])),D={[C]:{rows:b,sort:m},...E};return y.createElement(wN,{tabs:D,sort:m,args:p,globals:v,updateArgs:h,resetArgs:g})},{document:t9}=globalThis,r9=({className:e,children:t,...r})=>{if(typeof e!="string"&&(typeof t!="string"||!t.match(/[\n\r]/g)))return y.createElement(Vf,null,t);let n=e&&e.split("-");return y.createElement(oC,{language:n&&n[1]||"text",format:!1,code:t,...r})};function Sh(e,t){e.channel.emit(J8,t)}var G1=K8.a,ij=({hash:e,children:t})=>{let r=l.useContext(er);return y.createElement(G1,{href:e,target:"_self",onClick:n=>{let a=e.substring(1);t9.getElementById(a)&&Sh(r,e)}},t)},n9=e=>{let{href:t,target:r,children:n,...a}=e,o=l.useContext(er);return!t||r==="_blank"||/^https?:\/\//.test(t)?y.createElement(G1,{...e}):t.startsWith("#")?y.createElement(ij,{hash:t},n):y.createElement(G1,{href:t,onClick:i=>{i.button===0&&!i.altKey&&!i.ctrlKey&&!i.metaKey&&!i.shiftKey&&(i.preventDefault(),Sh(o,i.currentTarget.getAttribute("href")))},target:r,...a},n)},a9=["h1","h2","h3","h4","h5","h6"],lj=a9.reduce((e,t)=>({...e,[t]:k(t)({"& svg":{position:"relative",top:"-0.1em",visibility:"hidden"},"&:hover svg":{visibility:"visible"}})}),{}),sj=k.a(()=>({float:"left",lineHeight:"inherit",paddingRight:"10px",marginLeft:"-24px",color:"inherit"})),uj=({as:e,id:t,children:r,...n})=>{let a=l.useContext(er),o=lj[e],i=`#${t}`;return y.createElement(o,{id:t,...n},y.createElement(sj,{"aria-hidden":"true",href:i,tabIndex:-1,target:"_self",onClick:s=>{t9.getElementById(t)&&Sh(a,i)}},y.createElement(oL,null)),r)},Fh=e=>{let{as:t,id:r,children:n,...a}=e;if(r)return y.createElement(uj,{as:t,id:r,...a},n);let o=t,{as:i,...s}=e;return y.createElement(o,{...ie(s,t)})},o9=a9.reduce((e,t)=>({...e,[t]:r=>y.createElement(Fh,{as:t,...r})}),{}),cj=e=>{var t;if(!e.children)return null;if(typeof e.children!="string")throw new Error(v9`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 y.createElement(kC,{...e,options:{forceBlock:!0,overrides:{code:r9,a:n9,...o9,...(t=e==null?void 0:e.options)==null?void 0:t.overrides},...e==null?void 0:e.options}})},dj=(e=>(e.INFO="info",e.NOTES="notes",e.DOCGEN="docgen",e.AUTO="auto",e))(dj||{}),pj=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=pj(r);return n?y.createElement(cj,null,n):null},Z4=J1(bL()),fj=k.div(({theme:e})=>({width:"10rem","@media (max-width: 768px)":{display:"none"}})),hj=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"}})),mj=k.p(({theme:e})=>({fontWeight:600,fontSize:"0.875em",color:e.textColor,textTransform:"uppercase",marginBottom:10})),gj=({title:e})=>e===null?null:typeof e=="string"?y.createElement(mj,null,e):e,vj=({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(J8,`#${f}`)}},...o},c=setTimeout(()=>Z4.init(s),100);return()=>{clearTimeout(c),Z4.destroy()}},[i,t,a,n,r,o]),y.createElement(y.Fragment,null,y.createElement(fj,null,t?null:y.createElement(hj,null,y.createElement(gj,{title:e||null}),y.createElement("div",{className:"toc-wrapper"}))))),{document:yj,window:bj}=globalThis,wj=({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(bj.parent.location.toString()),d.hash){let f=yj.getElementById(decodeURIComponent(d.hash.substring(1)));f&&setTimeout(()=>{SN(f)},200)}}catch{}}),y.createElement(er.Provider,{value:e},y.createElement(q$,{channel:e.channel},y.createElement(_3,{theme:bS(t)},y.createElement(aM,{toc:n?y.createElement(vj,{className:"sbdocs sbdocs-toc--custom",channel:e.channel,...n}):null},r))))},Dj=/[\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,Ej=Object.hasOwnProperty,Cj=class{constructor(){this.occurrences,this.reset()}slug(e,t){let r=this,n=xj(e,t===!0),a=n;for(;Ej.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 xj(e,t){return typeof e!="string"?"":(t||(e=e.toLowerCase()),e.replace(Dj,"").replace(/ /g,"-"))}var i9=new Cj,Sj=({children:e,disableAnchor:t,...r})=>{if(t||typeof e!="string")return y.createElement(Uf,null,e);let n=i9.slug(e.toLowerCase());return y.createElement(Fh,{as:"h2",id:n,...r},e)},Fj=({children:e,disableAnchor:t})=>{if(t||typeof e!="string")return y.createElement(qf,null,e);let r=i9.slug(e.toLowerCase());return y.createElement(Fh,{as:"h3",id:r},e)},l9=({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 y.createElement(EN,{storyId:o.id},t&&y.createElement(y.Fragment,null,y.createElement(Fj,null,o.name),y.createElement(K1,{of:e})),y.createElement(ej,{of:e,withToolbar:i,story:{__forceInitialArgs:n,__primary:a},source:{__forceInitialArgs:n}}))},Aj=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?y.createElement(l9,{of:n.moduleExport,expanded:!1,__primary:!0,withToolbar:!0}):null},kj=k(Sj)(({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"}})),_j=({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:y.createElement(y.Fragment,null,typeof e=="string"?y.createElement(kj,null,e):e,o.map(c=>c&&y.createElement(l9,{key:c.id,of:c.moduleExport,expanded:!0,__forceInitialArgs:!0})))},Bj="https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#subtitle-block-and-parameterscomponentsubtitle",Rj=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&&cL(`Using 'parameters.componentSubtitle' property to subtitle stories is deprecated. See ${Bj}`);let i=r||(o==null?void 0:o.subtitle)||a;return i?y.createElement(tM,{className:"sbdocs-subtitle sb-unstyled"},i):null},Ij=/\s*\/\s*/,zj=e=>{let t=e.trim().split(Ij);return(t==null?void 0:t[(t==null?void 0:t.length)-1])||e},Tj=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||zj(n==null?void 0:n.title);return a?y.createElement(eM,{className:"sbdocs-title sb-unstyled"},a):null},Lj=()=>{let e=An("meta",["meta"]),{stories:t}=e.csfFile,r=Object.keys(t).length===1;return y.createElement(y.Fragment,null,y.createElement(Tj,null),y.createElement(Rj,null),y.createElement(K1,{of:"meta"}),r?y.createElement(K1,{of:"story"}):null,y.createElement(Aj,null),y.createElement(oj,null),r?null:y.createElement(_j,null))};function Mj({context:e,docsParameter:t}){let r=t.container||wj,n=t.page||Lj;return y.createElement(r,{context:e,theme:t.theme},y.createElement(n,null))}var s9={code:r9,a:n9,...o9},Oj=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:y.createElement(y.Fragment,null,t)}},Pj=class{constructor(){this.render=async(e,t,r)=>{let n={...s9,...t==null?void 0:t.components},a=Mj;return new Promise((o,i)=>{Y1(async()=>{const{MDXProvider:s}=await import("./index-CB3_FCD4.js");return{MDXProvider:s}},__vite__mapDeps([7,1])).then(({MDXProvider:s})=>m9(y.createElement(Oj,{showException:i,key:Math.random()},y.createElement(s,{components:n},y.createElement(a,{context:e,docsParameter:t}))),r)).then(()=>o())})},this.unmount=e=>{g9(e)}}};const rV=Object.freeze(Object.defineProperty({__proto__:null,DocsRenderer:Pj,defaultComponents:s9},Symbol.toStringTag,{value:"Module"}));export{cT as C,rV as D,Zj as M,Ta as S,fT as _,J1 as a,yn as b,Wj as d,Ct as g,k as v}; diff --git a/storybook-static/assets/Introduce-Cbr15kRu.js b/storybook-static/assets/Introduce-Cbr15kRu.js new file mode 100644 index 0000000..12d071b --- /dev/null +++ b/storybook-static/assets/Introduce-Cbr15kRu.js @@ -0,0 +1,3 @@ +import{j as n}from"./jsx-runtime-D_zvdyIk.js";import{useMDXComponents as s}from"./index-CB3_FCD4.js";import"./index-MPVjHJeJ.js";function o(t){const e={h1:"h1",p:"p",...s(),...t.components};return n.jsxs(n.Fragment,{children:[n.jsx(e.h1,{id:"twu",children:"twu"}),` +`,n.jsx(e.p,{children:"当使用mui的组件的时候,使用astro会有问题,所以很多的组件应该是纯原生的组件模块。"}),` +`,n.jsx(e.p,{children:"使用tailwindcss来做样式,使用原生的js来做交互。"})]})}function m(t={}){const{wrapper:e}={...s(),...t.components};return e?n.jsx(e,{...t,children:n.jsx(o,{...t})}):o(t)}export{m as default}; diff --git a/storybook-static/assets/Page.stories-CmwSLAP_.js b/storybook-static/assets/Page.stories-CmwSLAP_.js new file mode 100644 index 0000000..3254005 --- /dev/null +++ b/storybook-static/assets/Page.stories-CmwSLAP_.js @@ -0,0 +1,3 @@ +import{j as r}from"./jsx-runtime-D_zvdyIk.js";const s=()=>r.jsx("div",{children:"Page"});s.__docgenInfo={description:"",methods:[],displayName:"Page"};const i={title:"Page",component:s},e=()=>r.jsx("div",{className:"bg-red-500 p-4",children:r.jsx(s,{})});e.__docgenInfo={description:"",methods:[],displayName:"Primary"};var a,o,t;e.parameters={...e.parameters,docs:{...(a=e.parameters)==null?void 0:a.docs,source:{originalSource:`() =>
+ +
`,...(t=(o=e.parameters)==null?void 0:o.docs)==null?void 0:t.source}}};const n=["Primary"];export{e as Primary,n as __namedExportsOrder,i as default}; diff --git a/storybook-static/assets/Test-DYyZzibc.js b/storybook-static/assets/Test-DYyZzibc.js new file mode 100644 index 0000000..bb2f185 --- /dev/null +++ b/storybook-static/assets/Test-DYyZzibc.js @@ -0,0 +1 @@ +import{j as e}from"./jsx-runtime-D_zvdyIk.js";import{useMDXComponents as r}from"./index-CB3_FCD4.js";import"./index-MPVjHJeJ.js";function o(t){const n={h1:"h1",...r(),...t.components};return e.jsx(n.h1,{id:"test",children:"Test"})}function i(t={}){const{wrapper:n}={...r(),...t.components};return n?e.jsx(n,{...t,children:e.jsx(o,{...t})}):o(t)}export{i as default}; diff --git a/storybook-static/assets/chunk-XP5HYGXS-BpfKkqn7.js b/storybook-static/assets/chunk-XP5HYGXS-BpfKkqn7.js new file mode 100644 index 0000000..fce7a8d --- /dev/null +++ b/storybook-static/assets/chunk-XP5HYGXS-BpfKkqn7.js @@ -0,0 +1 @@ +var u=Object.create,a=Object.defineProperty,s=Object.getOwnPropertyDescriptor,o=Object.getOwnPropertyNames,c=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?u(c(e)):{},n(!e||!e.__esModule?a(t,"default",{value:e,enumerable:!0}):t,e)),y=e=>n(a({},"__esModule",{value:!0}),e);export{P as _,v as a,b,l as c,y as d}; diff --git a/storybook-static/assets/entry-preview-docs-DRzGA3BA.js b/storybook-static/assets/entry-preview-docs-DRzGA3BA.js new file mode 100644 index 0000000..765f460 --- /dev/null +++ b/storybook-static/assets/entry-preview-docs-DRzGA3BA.js @@ -0,0 +1,46 @@ +import{_ as nt,a as K,c as gi,d as Mr,b as yn}from"./chunk-XP5HYGXS-BpfKkqn7.js";import{c as Di,n as Ai,y as Ci,g as Vr,z as Ei,o as yi,j as qr,l as ee,B as Fi,a as Dt,Y as Ur}from"./index-CXQShRbs.js";import{r as Ge,e as ft}from"./index-MPVjHJeJ.js";const{logger:vt}=__STORYBOOK_MODULE_CLIENT_LOGGER__,{defaultDecorateStory:xi,addons:vi,useEffect:_i}=__STORYBOOK_MODULE_PREVIEW_API__;var Si=K({"../../node_modules/prop-types/lib/ReactPropTypesSecret.js"(e,t){var r="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";t.exports=r}}),bi=K({"../../node_modules/prop-types/factoryWithThrowingShims.js"(e,t){var r=Si();function n(){}function s(){}s.resetWarningCache=n,t.exports=function(){function o(p,m,g,F,A,C){if(C!==r){var D=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 D.name="Invariant Violation",D}}o.isRequired=o;function u(){return o}var h={array:o,bigint:o,bool:o,func:o,number:o,object:o,string:o,symbol:o,any:o,arrayOf:u,element:o,elementType:o,instanceOf:u,node:o,objectOf:u,oneOf:u,oneOfType:u,shape:u,exact:u,checkPropTypes:s,resetWarningCache:n};return h.PropTypes=h,h}}}),Bi=K({"../../node_modules/prop-types/index.js"(e,t){t.exports=bi()()}}),wi=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"]}}),ki=K({"../../node_modules/html-tags/index.js"(e,t){t.exports=wi()}}),Ii=K({"../../node_modules/estraverse/estraverse.js"(e){(function t(r){var n,s,o,u,h,p;function m(x){var y={},v,B;for(v in x)x.hasOwnProperty(v)&&(B=x[v],typeof B=="object"&&B!==null?y[v]=m(B):y[v]=B);return y}function g(x,y){var v,B,P,j;for(B=x.length,P=0;B;)v=B>>>1,j=P+v,y(x[j])?B=v:(P=j+1,B-=v+1);return P}n={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"]},u={},h={},p={},s={Break:u,Skip:h,Remove:p};function F(x,y){this.parent=x,this.key=y}F.prototype.replace=function(x){this.parent[this.key]=x},F.prototype.remove=function(){return Array.isArray(this.parent)?(this.parent.splice(this.key,1),!0):(this.replace(null),!1)};function A(x,y,v,B){this.node=x,this.path=y,this.wrap=v,this.ref=B}function C(){}C.prototype.path=function(){var x,y,v,B,P,j;function M(V,U){if(Array.isArray(U))for(v=0,B=U.length;v=0;--v)if(x[v].node===y)return!0;return!1}C.prototype.traverse=function(x,y){var v,B,P,j,M,V,U,H,ne,se,ue,Z;for(this.__initialize(x,y),Z={},v=this.__worklist,B=this.__leavelist,v.push(new A(x,null,null,null)),B.push(new A(null,null,null,null));v.length;){if(P=v.pop(),P===Z){if(P=B.pop(),V=this.__execute(y.leave,P),this.__state===u||V===u)return;continue}if(P.node){if(V=this.__execute(y.enter,P),this.__state===u||V===u)return;if(v.push(Z),B.push(P),this.__state===h||V===h)continue;if(j=P.node,M=j.type||P.wrap,se=this.__keys[M],!se)if(this.__fallback)se=this.__fallback(j);else throw new Error("Unknown node type "+M+".");for(H=se.length;(H-=1)>=0;)if(U=se[H],ue=j[U],!!ue){if(Array.isArray(ue)){for(ne=ue.length;(ne-=1)>=0;)if(ue[ne]&&!w(B,ue[ne])){if(E(M,se[H]))P=new A(ue[ne],[U,ne],"Property",null);else if(D(ue[ne]))P=new A(ue[ne],[U,ne],null,null);else continue;v.push(P)}}else if(D(ue)){if(w(B,ue))continue;v.push(new A(ue,U,null,null))}}}}},C.prototype.replace=function(x,y){var v,B,P,j,M,V,U,H,ne,se,ue,Z,we;function st(Re){var R,Je,je,ut;if(Re.ref.remove()){for(Je=Re.ref.key,ut=Re.ref.parent,R=v.length;R--;)if(je=v[R],je.ref&&je.ref.parent===ut){if(je.ref.key=0;)if(we=ne[U],se=P[we],!!se)if(Array.isArray(se)){for(H=se.length;(H-=1)>=0;)if(se[H]){if(E(j,ne[U]))V=new A(se[H],[we,H],"Property",new F(se,H));else if(D(se[H]))V=new A(se[H],[we,H],null,new F(se,H));else continue;v.push(V)}}else D(se)&&v.push(new A(se,we,null,new F(P,we)))}}return Z.root};function b(x,y){var v=new C;return v.traverse(x,y)}function S(x,y){var v=new C;return v.replace(x,y)}function L(x,y){var v;return v=g(y,function(B){return B.range[0]>x.range[0]}),x.extendedRange=[x.range[0],x.range[1]],v!==y.length&&(x.extendedRange[1]=y[v].range[0]),v-=1,v>=0&&(x.extendedRange[0]=y[v].range[1]),x}function _(x,y,v){var B=[],P,j,M,V;if(!x.range)throw new Error("attachComments needs range information");if(!v.length){if(y.length){for(M=0,j=y.length;MU.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 s.Break;if(B[V].extendedRange[0]>U.range[1])return s.Skip}}),V=0,b(x,{leave:function(U){for(var H;VU.range[1])return s.Skip}}),x}return r.Syntax=n,r.traverse=b,r.replace=S,r.attachComments=_,r.VisitorKeys=o,r.VisitorOption=s,r.Controller=C,r.cloneEnvironment=function(){return t({})},r})(e)}}),Ti=K({"../../node_modules/esutils/lib/ast.js"(e,t){(function(){function r(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 n(p){if(p==null)return!1;switch(p.type){case"DoWhileStatement":case"ForInStatement":case"ForStatement":case"WhileStatement":return!0}return!1}function s(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 s(p)||p!=null&&p.type==="FunctionDeclaration"}function u(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 m;if(p.type!=="IfStatement"||p.alternate==null)return!1;m=p.consequent;do{if(m.type==="IfStatement"&&m.alternate==null)return!0;m=u(m)}while(m);return!1}t.exports={isExpression:r,isStatement:s,isIterationStatement:n,isSourceElement:o,isProblematicIfStatement:h,trailingStatement:u}})()}}),Fn=K({"../../node_modules/esutils/lib/code.js"(e,t){(function(){var r,n,s,o,u,h;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-\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]/},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-\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(S){return 48<=S&&S<=57}function m(S){return 48<=S&&S<=57||97<=S&&S<=102||65<=S&&S<=70}function g(S){return S>=48&&S<=55}s=[5760,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8239,8287,12288,65279];function F(S){return S===32||S===9||S===11||S===12||S===160||S>=5760&&s.indexOf(S)>=0}function A(S){return S===10||S===13||S===8232||S===8233}function C(S){if(S<=65535)return String.fromCharCode(S);var L=String.fromCharCode(Math.floor((S-65536)/1024)+55296),_=String.fromCharCode((S-65536)%1024+56320);return L+_}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(u=new Array(128),h=0;h<128;++h)u[h]=h>=97&&h<=122||h>=65&&h<=90||h>=48&&h<=57||h===36||h===95;function D(S){return S<128?o[S]:n.NonAsciiIdentifierStart.test(C(S))}function E(S){return S<128?u[S]:n.NonAsciiIdentifierPart.test(C(S))}function w(S){return S<128?o[S]:r.NonAsciiIdentifierStart.test(C(S))}function b(S){return S<128?u[S]:r.NonAsciiIdentifierPart.test(C(S))}t.exports={isDecimalDigit:p,isHexDigit:m,isOctalDigit:g,isWhiteSpace:F,isLineTerminator:A,isIdentifierStartES5:D,isIdentifierPartES5:E,isIdentifierStartES6:w,isIdentifierPartES6:b}})()}}),Pi=K({"../../node_modules/esutils/lib/keyword.js"(e,t){(function(){var r=Fn();function n(D){switch(D){case"implements":case"interface":case"package":case"private":case"protected":case"public":case"static":case"let":return!0;default:return!1}}function s(D,E){return!E&&D==="yield"?!1:o(D,E)}function o(D,E){if(E&&n(D))return!0;switch(D.length){case 2:return D==="if"||D==="in"||D==="do";case 3:return D==="var"||D==="for"||D==="new"||D==="try";case 4:return D==="this"||D==="else"||D==="case"||D==="void"||D==="with"||D==="enum";case 5:return D==="while"||D==="break"||D==="catch"||D==="throw"||D==="const"||D==="yield"||D==="class"||D==="super";case 6:return D==="return"||D==="typeof"||D==="delete"||D==="switch"||D==="export"||D==="import";case 7:return D==="default"||D==="finally"||D==="extends";case 8:return D==="function"||D==="continue"||D==="debugger";case 10:return D==="instanceof";default:return!1}}function u(D,E){return D==="null"||D==="true"||D==="false"||s(D,E)}function h(D,E){return D==="null"||D==="true"||D==="false"||o(D,E)}function p(D){return D==="eval"||D==="arguments"}function m(D){var E,w,b;if(D.length===0||(b=D.charCodeAt(0),!r.isIdentifierStartES5(b)))return!1;for(E=1,w=D.length;E=w||(S=D.charCodeAt(E),!(56320<=S&&S<=57343)))return!1;b=g(b,S)}if(!L(b))return!1;L=r.isIdentifierPartES6}return!0}function A(D,E){return m(D)&&!u(D,E)}function C(D,E){return F(D)&&!h(D,E)}t.exports={isKeywordES5:s,isKeywordES6:o,isReservedWordES5:u,isReservedWordES6:h,isRestrictedWord:p,isIdentifierNameES5:m,isIdentifierNameES6:F,isIdentifierES5:A,isIdentifierES6:C}})()}}),Ni=K({"../../node_modules/esutils/lib/utils.js"(e){(function(){e.ast=Ti(),e.code=Fn(),e.keyword=Pi()})()}}),Li=K({"../../node_modules/escodegen/node_modules/source-map/lib/base64.js"(e){var t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split("");e.encode=function(r){if(0<=r&&r>1;return m?-g:g}e.encode=function(p){var m="",g,F=u(p);do g=F&s,F>>>=r,F>0&&(g|=o),m+=t.encode(g);while(F>0);return m},e.decode=function(p,m,g){var F=p.length,A=0,C=0,D,E;do{if(m>=F)throw new Error("Expected more digits in base 64 VLQ value.");if(E=t.decode(p.charCodeAt(m++)),E===-1)throw new Error("Invalid base64 digit: "+p.charAt(m-1));D=!!(E&o),E&=s,A=A+(E<=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 x=B.join("/"),x===""&&(x=v?"/":"."),y?(y.path=x,o(y)):x}e.normalize=u;function h(_,x){_===""&&(_="."),x===""&&(x=".");var y=s(x),v=s(_);if(v&&(_=v.path||"/"),y&&!y.scheme)return v&&(y.scheme=v.scheme),o(y);if(y||x.match(n))return x;if(v&&!v.host&&!v.path)return v.host=x,o(v);var B=x.charAt(0)==="/"?x:u(_.replace(/\/+$/,"")+"/"+x);return v?(v.path=B,o(v)):B}e.join=h,e.isAbsolute=function(_){return _.charAt(0)==="/"||r.test(_)};function p(_,x){_===""&&(_="."),_=_.replace(/\/$/,"");for(var y=0;x.indexOf(_+"/")!==0;){var v=_.lastIndexOf("/");if(v<0||(_=_.slice(0,v),_.match(/^([^\/]+:\/)?\/*$/)))return x;++y}return Array(y+1).join("../")+x.substr(_.length+1)}e.relative=p;var m=function(){var _=Object.create(null);return!("__proto__"in _)}();function g(_){return _}function F(_){return C(_)?"$"+_:_}e.toSetString=m?g:F;function A(_){return C(_)?_.slice(1):_}e.fromSetString=m?g:A;function C(_){if(!_)return!1;var x=_.length;if(x<9||_.charCodeAt(x-1)!==95||_.charCodeAt(x-2)!==95||_.charCodeAt(x-3)!==111||_.charCodeAt(x-4)!==116||_.charCodeAt(x-5)!==111||_.charCodeAt(x-6)!==114||_.charCodeAt(x-7)!==112||_.charCodeAt(x-8)!==95||_.charCodeAt(x-9)!==95)return!1;for(var y=x-10;y>=0;y--)if(_.charCodeAt(y)!==36)return!1;return!0}function D(_,x,y){var v=w(_.source,x.source);return v!==0||(v=_.originalLine-x.originalLine,v!==0)||(v=_.originalColumn-x.originalColumn,v!==0||y)||(v=_.generatedColumn-x.generatedColumn,v!==0)||(v=_.generatedLine-x.generatedLine,v!==0)?v:w(_.name,x.name)}e.compareByOriginalPositions=D;function E(_,x,y){var v=_.generatedLine-x.generatedLine;return v!==0||(v=_.generatedColumn-x.generatedColumn,v!==0||y)||(v=w(_.source,x.source),v!==0)||(v=_.originalLine-x.originalLine,v!==0)||(v=_.originalColumn-x.originalColumn,v!==0)?v:w(_.name,x.name)}e.compareByGeneratedPositionsDeflated=E;function w(_,x){return _===x?0:_===null?1:x===null?-1:_>x?1:-1}function b(_,x){var y=_.generatedLine-x.generatedLine;return y!==0||(y=_.generatedColumn-x.generatedColumn,y!==0)||(y=w(_.source,x.source),y!==0)||(y=_.originalLine-x.originalLine,y!==0)||(y=_.originalColumn-x.originalColumn,y!==0)?y:w(_.name,x.name)}e.compareByGeneratedPositionsInflated=b;function S(_){return JSON.parse(_.replace(/^\)]}'[^\n]*\n/,""))}e.parseSourceMapInput=S;function L(_,x,y){if(x=x||"",_&&(_[_.length-1]!=="/"&&x[0]!=="/"&&(_+="/"),x=_+x),y){var v=s(y);if(!v)throw new Error("sourceMapURL could not be parsed");if(v.path){var B=v.path.lastIndexOf("/");B>=0&&(v.path=v.path.substring(0,B+1))}x=h(o(v),x)}return u(x)}e.computeSourceURL=L}}),vn=K({"../../node_modules/escodegen/node_modules/source-map/lib/array-set.js"(e){var t=At(),r=Object.prototype.hasOwnProperty,n=typeof Map<"u";function s(){this._array=[],this._set=n?new Map:Object.create(null)}s.fromArray=function(o,u){for(var h=new s,p=0,m=o.length;p=0)return u}else{var h=t.toSetString(o);if(r.call(this._set,h))return this._set[h]}throw new Error('"'+o+'" is not in the set.')},s.prototype.at=function(o){if(o>=0&&ou||h==u&&m>=p||t.compareByGeneratedPositionsInflated(s,o)<=0}function n(){this._array=[],this._sorted=!0,this._last={generatedLine:-1,generatedColumn:0}}n.prototype.unsortedForEach=function(s,o){this._array.forEach(s,o)},n.prototype.add=function(s){r(this._last,s)?(this._last=s,this._array.push(s)):(this._sorted=!1,this._array.push(s))},n.prototype.toArray=function(){return this._sorted||(this._array.sort(t.compareByGeneratedPositionsInflated),this._sorted=!0),this._array},e.MappingList=n}}),_n=K({"../../node_modules/escodegen/node_modules/source-map/lib/source-map-generator.js"(e){var t=xn(),r=At(),n=vn().ArraySet,s=Oi().MappingList;function o(u){u||(u={}),this._file=r.getArg(u,"file",null),this._sourceRoot=r.getArg(u,"sourceRoot",null),this._skipValidation=r.getArg(u,"skipValidation",!1),this._sources=new n,this._names=new n,this._mappings=new s,this._sourcesContents=null}o.prototype._version=3,o.fromSourceMap=function(u){var h=u.sourceRoot,p=new o({file:u.file,sourceRoot:h});return u.eachMapping(function(m){var g={generated:{line:m.generatedLine,column:m.generatedColumn}};m.source!=null&&(g.source=m.source,h!=null&&(g.source=r.relative(h,g.source)),g.original={line:m.originalLine,column:m.originalColumn},m.name!=null&&(g.name=m.name)),p.addMapping(g)}),u.sources.forEach(function(m){var g=m;h!==null&&(g=r.relative(h,m)),p._sources.has(g)||p._sources.add(g);var F=u.sourceContentFor(m);F!=null&&p.setSourceContent(m,F)}),p},o.prototype.addMapping=function(u){var h=r.getArg(u,"generated"),p=r.getArg(u,"original",null),m=r.getArg(u,"source",null),g=r.getArg(u,"name",null);this._skipValidation||this._validateMapping(h,p,m,g),m!=null&&(m=String(m),this._sources.has(m)||this._sources.add(m)),g!=null&&(g=String(g),this._names.has(g)||this._names.add(g)),this._mappings.add({generatedLine:h.line,generatedColumn:h.column,originalLine:p!=null&&p.line,originalColumn:p!=null&&p.column,source:m,name:g})},o.prototype.setSourceContent=function(u,h){var p=u;this._sourceRoot!=null&&(p=r.relative(this._sourceRoot,p)),h!=null?(this._sourcesContents||(this._sourcesContents=Object.create(null)),this._sourcesContents[r.toSetString(p)]=h):this._sourcesContents&&(delete this._sourcesContents[r.toSetString(p)],Object.keys(this._sourcesContents).length===0&&(this._sourcesContents=null))},o.prototype.applySourceMap=function(u,h,p){var m=h;if(h==null){if(u.file==null)throw new Error(`SourceMapGenerator.prototype.applySourceMap requires either an explicit source file, or the source map's "file" property. Both were omitted.`);m=u.file}var g=this._sourceRoot;g!=null&&(m=r.relative(g,m));var F=new n,A=new n;this._mappings.unsortedForEach(function(C){if(C.source===m&&C.originalLine!=null){var D=u.originalPositionFor({line:C.originalLine,column:C.originalColumn});D.source!=null&&(C.source=D.source,p!=null&&(C.source=r.join(p,C.source)),g!=null&&(C.source=r.relative(g,C.source)),C.originalLine=D.line,C.originalColumn=D.column,D.name!=null&&(C.name=D.name))}var E=C.source;E!=null&&!F.has(E)&&F.add(E);var w=C.name;w!=null&&!A.has(w)&&A.add(w)},this),this._sources=F,this._names=A,u.sources.forEach(function(C){var D=u.sourceContentFor(C);D!=null&&(p!=null&&(C=r.join(p,C)),g!=null&&(C=r.relative(g,C)),this.setSourceContent(C,D))},this)},o.prototype._validateMapping=function(u,h,p,m){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(!(u&&"line"in u&&"column"in u&&u.line>0&&u.column>=0&&!h&&!p&&!m)){if(u&&"line"in u&&"column"in u&&h&&"line"in h&&"column"in h&&u.line>0&&u.column>=0&&h.line>0&&h.column>=0&&p)return;throw new Error("Invalid mapping: "+JSON.stringify({generated:u,source:p,original:h,name:m}))}},o.prototype._serializeMappings=function(){for(var u=0,h=1,p=0,m=0,g=0,F=0,A="",C,D,E,w,b=this._mappings.toArray(),S=0,L=b.length;S0){if(!r.compareByGeneratedPositionsInflated(D,b[S-1]))continue;C+=","}C+=t.encode(D.generatedColumn-u),u=D.generatedColumn,D.source!=null&&(w=this._sources.indexOf(D.source),C+=t.encode(w-F),F=w,C+=t.encode(D.originalLine-1-m),m=D.originalLine-1,C+=t.encode(D.originalColumn-p),p=D.originalColumn,D.name!=null&&(E=this._names.indexOf(D.name),C+=t.encode(E-g),g=E)),A+=C}return A},o.prototype._generateSourcesContent=function(u,h){return u.map(function(p){if(!this._sourcesContents)return null;h!=null&&(p=r.relative(h,p));var m=r.toSetString(p);return Object.prototype.hasOwnProperty.call(this._sourcesContents,m)?this._sourcesContents[m]:null},this)},o.prototype.toJSON=function(){var u={version:this._version,sources:this._sources.toArray(),names:this._names.toArray(),mappings:this._serializeMappings()};return this._file!=null&&(u.file=this._file),this._sourceRoot!=null&&(u.sourceRoot=this._sourceRoot),this._sourcesContents&&(u.sourcesContent=this._generateSourcesContent(u.sources,u.sourceRoot)),u},o.prototype.toString=function(){return JSON.stringify(this.toJSON())},e.SourceMapGenerator=o}}),Ri=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(r,n,s,o,u,h){var p=Math.floor((n-r)/2)+r,m=u(s,o[p],!0);return m===0?p:m>0?n-p>1?t(p,n,s,o,u,h):h==e.LEAST_UPPER_BOUND?n1?t(r,p,s,o,u,h):h==e.LEAST_UPPER_BOUND?p:r<0?-1:r}e.search=function(r,n,s,o){if(n.length===0)return-1;var u=t(-1,n.length,r,n,s,o||e.GREATEST_LOWER_BOUND);if(u<0)return-1;for(;u-1>=0&&s(n[u],n[u-1],!0)===0;)--u;return u}}}),ji=K({"../../node_modules/escodegen/node_modules/source-map/lib/quick-sort.js"(e){function t(s,o,u){var h=s[o];s[o]=s[u],s[u]=h}function r(s,o){return Math.round(s+Math.random()*(o-s))}function n(s,o,u,h){if(u=0){var E=this._originalMappings[D];if(g.column===void 0)for(var w=E.originalLine;E&&E.originalLine===w;)C.push({line:t.getArg(E,"generatedLine",null),column:t.getArg(E,"generatedColumn",null),lastColumn:t.getArg(E,"lastGeneratedColumn",null)}),E=this._originalMappings[++D];else for(var b=E.originalColumn;E&&E.originalLine===F&&E.originalColumn==b;)C.push({line:t.getArg(E,"generatedLine",null),column:t.getArg(E,"generatedColumn",null),lastColumn:t.getArg(E,"lastGeneratedColumn",null)}),E=this._originalMappings[++D]}return C},e.SourceMapConsumer=u;function h(g,F){var A=g;typeof g=="string"&&(A=t.parseSourceMapInput(g));var C=t.getArg(A,"version"),D=t.getArg(A,"sources"),E=t.getArg(A,"names",[]),w=t.getArg(A,"sourceRoot",null),b=t.getArg(A,"sourcesContent",null),S=t.getArg(A,"mappings"),L=t.getArg(A,"file",null);if(C!=this._version)throw new Error("Unsupported version: "+C);w&&(w=t.normalize(w)),D=D.map(String).map(t.normalize).map(function(_){return w&&t.isAbsolute(w)&&t.isAbsolute(_)?t.relative(w,_):_}),this._names=n.fromArray(E.map(String),!0),this._sources=n.fromArray(D,!0),this._absoluteSources=this._sources.toArray().map(function(_){return t.computeSourceURL(w,_,F)}),this.sourceRoot=w,this.sourcesContent=b,this._mappings=S,this._sourceMapURL=F,this.file=L}h.prototype=Object.create(u.prototype),h.prototype.consumer=u,h.prototype._findSourceIndex=function(g){var F=g;if(this.sourceRoot!=null&&(F=t.relative(this.sourceRoot,F)),this._sources.has(F))return this._sources.indexOf(F);var A;for(A=0;A1&&(B.source=w+j[1],w+=j[1],B.originalLine=D+j[2],D=B.originalLine,B.originalLine+=1,B.originalColumn=E+j[3],E=B.originalColumn,j.length>4&&(B.name=b+j[4],b+=j[4])),v.push(B),typeof B.originalLine=="number"&&y.push(B)}o(v,t.compareByGeneratedPositionsDeflated),this.__generatedMappings=v,o(y,t.compareByOriginalPositions),this.__originalMappings=y},h.prototype._findMapping=function(g,F,A,C,D,E){if(g[A]<=0)throw new TypeError("Line must be greater than or equal to 1, got "+g[A]);if(g[C]<0)throw new TypeError("Column must be greater than or equal to 0, got "+g[C]);return r.search(g,F,D,E)},h.prototype.computeColumnSpans=function(){for(var g=0;g=0){var C=this._generatedMappings[A];if(C.generatedLine===F.generatedLine){var D=t.getArg(C,"source",null);D!==null&&(D=this._sources.at(D),D=t.computeSourceURL(this.sourceRoot,D,this._sourceMapURL));var E=t.getArg(C,"name",null);return E!==null&&(E=this._names.at(E)),{source:D,line:t.getArg(C,"originalLine",null),column:t.getArg(C,"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(g){return g==null}):!1},h.prototype.sourceContentFor=function(g,F){if(!this.sourcesContent)return null;var A=this._findSourceIndex(g);if(A>=0)return this.sourcesContent[A];var C=g;this.sourceRoot!=null&&(C=t.relative(this.sourceRoot,C));var D;if(this.sourceRoot!=null&&(D=t.urlParse(this.sourceRoot))){var E=C.replace(/^file:\/\//,"");if(D.scheme=="file"&&this._sources.has(E))return this.sourcesContent[this._sources.indexOf(E)];if((!D.path||D.path=="/")&&this._sources.has("/"+C))return this.sourcesContent[this._sources.indexOf("/"+C)]}if(F)return null;throw new Error('"'+C+'" is not in the SourceMap.')},h.prototype.generatedPositionFor=function(g){var F=t.getArg(g,"source");if(F=this._findSourceIndex(F),F<0)return{line:null,column:null,lastColumn:null};var A={source:F,originalLine:t.getArg(g,"line"),originalColumn:t.getArg(g,"column")},C=this._findMapping(A,this._originalMappings,"originalLine","originalColumn",t.compareByOriginalPositions,t.getArg(g,"bias",u.GREATEST_LOWER_BOUND));if(C>=0){var D=this._originalMappings[C];if(D.source===A.source)return{line:t.getArg(D,"generatedLine",null),column:t.getArg(D,"generatedColumn",null),lastColumn:t.getArg(D,"lastGeneratedColumn",null)}}return{line:null,column:null,lastColumn:null}},e.BasicSourceMapConsumer=h;function m(g,F){var A=g;typeof g=="string"&&(A=t.parseSourceMapInput(g));var C=t.getArg(A,"version"),D=t.getArg(A,"sections");if(C!=this._version)throw new Error("Unsupported version: "+C);this._sources=new n,this._names=new n;var E={line:-1,column:0};this._sections=D.map(function(w){if(w.url)throw new Error("Support for url field in sections not implemented.");var b=t.getArg(w,"offset"),S=t.getArg(b,"line"),L=t.getArg(b,"column");if(S=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},u.prototype.walk=function(h){for(var p,m=0,g=this.children.length;m0){for(p=[],m=0;m=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"}}}}),Wi=K({"../../node_modules/escodegen/escodegen.js"(e){(function(){var t,r,n,s,o,u,h,p,m,g,F,A,C,D,E,w,b,S,L,_,x,y,v,B,P,j;o=Ii(),u=Ni(),t=o.Syntax;function M(i){return oe.Expression.hasOwnProperty(i.type)}function V(i){return oe.Statement.hasOwnProperty(i.type)}r={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},n={"??":r.Coalesce,"||":r.LogicalOR,"&&":r.LogicalAND,"|":r.BitwiseOR,"^":r.BitwiseXOR,"&":r.BitwiseAND,"==":r.Equality,"!=":r.Equality,"===":r.Equality,"!==":r.Equality,is:r.Equality,isnt:r.Equality,"<":r.Relational,">":r.Relational,"<=":r.Relational,">=":r.Relational,in:r.Relational,instanceof:r.Relational,"<<":r.BitwiseSHIFT,">>":r.BitwiseSHIFT,">>>":r.BitwiseSHIFT,"+":r.Additive,"-":r.Additive,"*":r.Multiplicative,"%":r.Multiplicative,"/":r.Multiplicative,"**":r.Exponentiation};var U=1,H=2,ne=4,se=8,ue=16,Z=32,we=64,st=H|ne,Re=U|H,R=U|H|ne,Je=U,je=ne,ut=U|ne,re=U,xe=U|Z,yt=0,ri=U|ue,ni=U|se;function kr(){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(i,l){var a="";for(l|=0;l>0;l>>>=1,i+=i)l&1&&(a+=i);return a}function ii(i){return/[\r\n]/g.test(i)}function he(i){var l=i.length;return l&&u.code.isLineTerminator(i.charCodeAt(l-1))}function Ir(i,l){var a;for(a in l)l.hasOwnProperty(a)&&(i[a]=l[a]);return i}function Ft(i,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(i[a])?Ft(i[a],c):i[a]=Ft({},c):i[a]=c);return i}function si(i){var l,a,c,d,k;if(i!==i)throw new Error("Numeric literal whose value is NaN");if(i<0||i===0&&1/i<0)throw new Error("Numeric literal whose value is negative");if(i===1/0)return m?"null":g?"1e400":"1e+400";if(l=""+i,!g||l.length<3)return l;for(a=l.indexOf("."),!m&&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.length1e12&&Math.floor(i)===i&&(c="0x"+i.toString(16)).length255?"\\u"+"0000".slice(a.length)+a:i===0&&!u.code.isDecimalDigit(l)?"\\0":i===11?"\\x0B":"\\x"+"00".slice(a.length)+a)}function oi(i){if(i===92)return"\\\\";if(i===10)return"\\n";if(i===13)return"\\r";if(i===8232)return"\\u2028";if(i===8233)return"\\u2029";throw new Error("Incorrectly classified character")}function li(i){var l,a,c,d;for(d=A==="double"?'"':"'",l=0,a=i.length;l126))){l+=ai(d,i.charCodeAt(a+1));continue}l+=String.fromCharCode(d)}if(T=!(A==="double"||A==="auto"&&I=0&&!u.code.isLineTerminator(i.charCodeAt(l));--l);return i.length-1-l}function pi(i,l){var a,c,d,k,I,T,O,J;for(a=i.split(/\r\n|[\r\n]/),T=Number.MAX_VALUE,c=1,d=a.length;cI&&(T=I)}for(typeof l<"u"?(O=h,a[1][T]==="*"&&(l+=" "),h=l):(T&1&&--T,O=h),c=1,d=a.length;c0){if(k=l,B){for(d=i.leadingComments[0],l=[],J=d.extendedRange,ce=d.range,He=v.substring(J[0],ce[0]),ve=(He.match(/\n/g)||[]).length,ve>0?(l.push(Me(` +`,ve)),l.push(fe(ke(d)))):(l.push(He),l.push(ke(d))),Ve=ce,a=1,c=i.leadingComments.length;a0?(l.push(Me(` +`,ve)),l.push(fe(ke(d)))):(l.push(He),l.push(ke(d)));else for(I=!he(Y(l).toString()),T=Me(" ",hi(Y([h,l,p]).toString())),a=0,c=i.trailingComments.length;a")),i.expression?(l.push(E),a=this.generateExpression(i.body,r.Assignment,R),a.toString().charAt(0)==="{"&&(a=["(",a,")"]),l.push(a)):l.push(this.maybeBlock(i.body,ni)),l},oe.prototype.generateIterationForStatement=function(i,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],yt))}):c.push(d.generateExpression(l.left,r.Call,R)),c=W(c,i),c=[W(c,d.generateExpression(l.right,r.Assignment,R)),")"]}),c.push(this.maybeBlock(l.body,a)),c},oe.prototype.generatePropertyKey=function(i,l){var a=[];return l&&a.push("["),a.push(this.generateExpression(i,r.Assignment,R)),l&&a.push("]"),a},oe.prototype.generateAssignment=function(i,l,a,c,d){return r.Assignment2&&(c=v.substring(a[0]+1,a[1]-1),c[0]===` +`&&(d=["{"]),d.push(c)));var I,T,O,J;for(J=re,l&se&&(J|=ue),I=0,T=i.body.length;I0&&!i.body[I-1].trailingComments&&!i.body[I].leadingComments&&Xe(i.body[I-1].range[1],i.body[I].range[0],d)),I===T-1&&(J|=Z),i.body[I].leadingComments&&B?O=k.generateStatement(i.body[I],J):O=fe(k.generateStatement(i.body[I],J)),d.push(O),he(Y(O).toString())||B&&I1?ae(O):O(),a.push(this.semicolon(l)),a},ThrowStatement:function(i,l){return[W("throw",this.generateExpression(i.argument,r.Sequence,R)),this.semicolon(l)]},TryStatement:function(i,l){var a,c,d,k;if(a=["try",this.maybeBlock(i.block,re)],a=this.maybeBlockSuffix(i.block,a),i.handlers)for(c=0,d=i.handlers.length;c0?` +`:""],I=ri,d=0;d0&&!i.body[d-1].trailingComments&&!i.body[d].leadingComments&&Xe(i.body[d-1].range[1],i.body[d].range[0],a)),c=fe(this.generateStatement(i.body[d],I)),a.push(c),d+10){for(c.push("("),k=0,I=d;k=2&&d.charCodeAt(0)===48)&&c.push(" ")),c.push(i.optional?"?.":"."),c.push(Ae(i.property))),le(c,r.Member,l)},MetaProperty:function(i,l,a){var c;return c=[],c.push(typeof i.meta=="string"?i.meta:Ae(i.meta)),c.push("."),c.push(typeof i.property=="string"?i.property:Ae(i.property)),le(c,r.Member,l)},UnaryExpression:function(i,l,a){var c,d,k,I,T;return d=this.generateExpression(i.argument,r.Unary,R),E===""?c=W(i.operator,d):(c=[i.operator],i.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||u.code.isIdentifierPartES5(T)&&u.code.isIdentifierPartES5(k))&&c.push(pe()),c.push(d))),le(c,r.Unary,l)},YieldExpression:function(i,l,a){var c;return i.delegate?c="yield*":c="yield",i.argument&&(c=W(c,this.generateExpression(i.argument,r.Yield,R))),le(c,r.Yield,l)},AwaitExpression:function(i,l,a){var c=W(i.all?"await*":"await",this.generateExpression(i.argument,r.Await,R));return le(c,r.Await,l)},UpdateExpression:function(i,l,a){return i.prefix?le([i.operator,this.generateExpression(i.argument,r.Unary,R)],r.Unary,l):le([this.generateExpression(i.argument,r.Postfix,R),i.operator],r.Postfix,l)},FunctionExpression:function(i,l,a){var c=[at(i,!0),"function"];return i.id?(c.push(xt(i)||pe()),c.push(Ae(i.id))):c.push(xt(i)||E),c.push(this.generateFunctionBody(i)),c},ArrayPattern:function(i,l,a){return this.ArrayExpression(i,l,a,!0)},ArrayExpression:function(i,l,a,c){var d,k,I=this;return i.elements.length?(k=c?!1:i.elements.length>1,d=["[",k?D:""],ae(function(T){var O,J;for(O=0,J=i.elements.length;O1,ae(function(){k=I.generateExpression(i.properties[0],r.Sequence,R)}),!c&&!ii(Y(k).toString())?["{",E,k,E,"}"]:(ae(function(T){var O,J;if(d=["{",D,T,k],c)for(d.push(","+D),O=1,J=i.properties.length;O0||_.moz.comprehensionExpressionStartsWithAssignment?c=W(c,I):c.push(I)}),i.filter&&(c=W(c,"if"+E),I=this.generateExpression(i.filter,r.Sequence,R),c=W(c,["(",I,")"])),_.moz.comprehensionExpressionStartsWithAssignment||(I=this.generateExpression(i.body,r.Assignment,R),c=W(c,I)),c.push(i.type===t.GeneratorExpression?")":"]"),c},ComprehensionBlock:function(i,l,a){var c;return i.left.type===t.VariableDeclaration?c=[i.left.kind,pe(),this.generateStatement(i.left.declarations[0],yt)]:c=this.generateExpression(i.left,r.Call,R),c=W(c,i.of?"of":"in"),c=W(c,this.generateExpression(i.right,r.Sequence,R)),["for"+E+"(",c,")"]},SpreadElement:function(i,l,a){return["...",this.generateExpression(i.argument,r.Assignment,R)]},TaggedTemplateExpression:function(i,l,a){var c=Re;a&H||(c=Je);var d=[this.generateExpression(i.tag,r.Call,c),this.generateExpression(i.quasi,r.Primary,je)];return le(d,r.TaggedTemplate,l)},TemplateElement:function(i,l,a){return i.value.raw},TemplateLiteral:function(i,l,a){var c,d,k;for(c=["`"],d=0,k=i.quasis.length;dht,Parser:()=>te,Position:()=>Ue,SourceLocation:()=>et,TokContext:()=>ye,Token:()=>pt,TokenType:()=>Q,defaultOptions:()=>mt,getLineInfo:()=>lr,isIdentifierChar:()=>qe,isIdentifierStart:()=>Te,isNewLine:()=>Ke,keywordTypes:()=>dt,lineBreak:()=>De,lineBreakG:()=>ze,nonASCIIwhitespace:()=>Ot,parse:()=>Ki,parseExpressionAt:()=>Zi,tokContexts:()=>ie,tokTypes:()=>f,tokenizer:()=>es,version:()=>mr});function or(e,t){for(var r=65536,n=0;ne)return!1;if(r+=t[n+1],r>=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&&Bn.test(String.fromCharCode(e)):t===!1?!1:or(e,xr)}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&&wn.test(String.fromCharCode(e)):t===!1?!1:or(e,xr)||or(e,kn)}function Fe(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 In.call(e,t)}function We(e){return new RegExp("^(?:"+e.replace(/ /g,"|")+")$")}function lr(e,t){for(var r=1,n=0;;){ze.lastIndex=n;var s=ze.exec(e);if(s&&s.index=2015&&(t.ecmaVersion-=2009),t.allowReserved==null&&(t.allowReserved=t.ecmaVersion<5),cr(t.onToken)){var n=t.onToken;t.onToken=function(s){return n.push(s)}}return cr(t.onComment)&&(t.onComment=Gi(t,t.onComment)),t}function Gi(e,t){return function(r,n,s,o,u,h){var p={type:r?"Block":"Line",value:n,start:s,end:o};e.locations&&(p.loc=new et(this,u,h)),e.ranges&&(p.range=[s,o]),t.push(p)}}function Vt(e,t){return Ze|(e?hr:0)|(t?pr:0)}function _t(){this.shorthandAssign=this.trailingComma=this.parenthesizedAssign=this.parenthesizedBind=this.doubleProto=-1}function Wr(e,t,r,n){return e.type=t,e.end=r,this.options.locations&&(e.loc.end=n),this.options.ranges&&(e.range[1]=r),e}function qt(e){var t=dr[e]={binary:We(Tn[e]+" "+fr),nonBinary:{General_Category:We(fr),Script:We(Pn[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 St(e){return e<=65535?String.fromCharCode(e):(e-=65536,String.fromCharCode((e>>10)+55296,(e&1023)+56320))}function zr(e){return e===36||e>=40&&e<=43||e===46||e===63||e>=91&&e<=94||e>=123&&e<=125}function $i(e){return Te(e,!0)||e===36||e===95}function Ji(e){return qe(e,!0)||e===36||e===95||e===8204||e===8205}function Sn(e){return e>=65&&e<=90||e>=97&&e<=122}function Xi(e){return e>=0&&e<=1114111}function Hi(e){return e===100||e===68||e===115||e===83||e===119||e===87}function bn(e){return Sn(e)||e===95}function Qi(e){return bn(e)||Lt(e)}function Lt(e){return e>=48&&e<=57}function Gr(e){return e>=48&&e<=57||e>=65&&e<=70||e>=97&&e<=102}function $r(e){return e>=65&&e<=70?10+(e-65):e>=97&&e<=102?10+(e-97):e-48}function Jr(e){return e>=48&&e<=55}function Yi(e,t){return t?parseInt(e,8):parseFloat(e.replace(/_/g,""))}function Xr(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 Ki(e,t){return te.parse(e,t)}function Zi(e,t,r){return te.parseExpressionAt(e,t,r)}function es(e,t){return te.tokenizer(e,t)}var bt,Bt,Hr,Qr,wt,Wt,Bn,wn,xr,kn,Q,Ce,ge,dt,f,De,ze,Ot,Ee,zt,In,Yr,cr,Ue,et,mt,Qe,Ze,kt,hr,pr,Gt,$t,Jt,Xt,Ht,It,_e,Qt,Yt,Kt,te,Ne,de,Kr,z,Tt,Zr,en,Ye,Pt,Zt,Se,G,tn,ot,Ie,rn,ht,lt,ye,ie,ct,er,tr,nn,Tn,fr,rr,nr,sn,Pn,dr,q,be,pt,$,ir,mr,gr=gi({"../../node_modules/acorn/dist/acorn.mjs"(){bt={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",Hr={5:Bt,"5module":Bt+" export import",6:Bt+" const class extends export import super"},Qr=/^in(stanceof)?$/,wt="ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࢠ-ࢴࢶ-ࣇऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഄ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-ᲈᲐ-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆿㇰ-ㇿ㐀-䶿一-鿼ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꞿꟂ-ꟊꟵ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭩꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ",Wt="‌‍·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛࣓-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-ໍ໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜔ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠐-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿᫀᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷹᷻-᷿‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_",Bn=new RegExp("["+wt+"]"),wn=new RegExp("["+wt+Wt+"]"),wt=Wt=null,xr=[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],kn=[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},Ce={beforeExpr:!0},ge={startsExpr:!0},dt={},f={num:new Q("num",ge),regexp:new Q("regexp",ge),string:new Q("string",ge),name:new Q("name",ge),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(",",Ce),semi:new Q(";",Ce),colon:new Q(":",Ce),dot:new Q("."),question:new Q("?",Ce),questionDot:new Q("?."),arrow:new Q("=>",Ce),template:new Q("template"),invalidTemplate:new Q("invalidTemplate"),ellipsis:new Q("...",Ce),backQuote:new Q("`",ge),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:Fe("||",1),logicalAND:Fe("&&",2),bitwiseOR:Fe("|",3),bitwiseXOR:Fe("^",4),bitwiseAND:Fe("&",5),equality:Fe("==/!=/===/!==",6),relational:Fe("/<=/>=",7),bitShift:Fe("<>/>>>",8),plusMin:new Q("+/-",{beforeExpr:!0,binop:9,prefix:!0,startsExpr:!0}),modulo:Fe("%",10),star:Fe("*",10),slash:Fe("/",10),starstar:new Q("**",{beforeExpr:!0}),coalesce:Fe("??",1),_break:X("break"),_case:X("case",Ce),_catch:X("catch"),_continue:X("continue"),_debugger:X("debugger"),_default:X("default",Ce),_do:X("do",{isLoop:!0,beforeExpr:!0}),_else:X("else",Ce),_finally:X("finally"),_for:X("for",{isLoop:!0}),_function:X("function",ge),_if:X("if"),_return:X("return",Ce),_switch:X("switch"),_throw:X("throw",Ce),_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",ge),_super:X("super",ge),_class:X("class",ge),_extends:X("extends",Ce),_export:X("export"),_import:X("import",ge),_null:X("null",ge),_true:X("true",ge),_false:X("false",ge),_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})},De=/\r\n?|\n|\u2028|\u2029/,ze=new RegExp(De.source,"g"),Ot=/[\u1680\u2000-\u200a\u202f\u205f\u3000\ufeff]/,Ee=/(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g,zt=Object.prototype,In=zt.hasOwnProperty,Yr=zt.toString,cr=Array.isArray||function(e){return Yr.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,r){this.start=t,this.end=r,e.sourceFile!==null&&(this.source=e.sourceFile)},mt={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,hr=4,pr=8,Gt=16,$t=32,Jt=64,Xt=128,Ht=0,It=1,_e=2,Qt=3,Yt=4,Kt=5,te=function(e,t,r){this.options=e=zi(e),this.sourceFile=e.sourceFile,this.keywords=We(Hr[e.ecmaVersion>=6?6:e.sourceType==="module"?"5module":5]);var n="";if(e.allowReserved!==!0){for(var s=e.ecmaVersion;!(n=bt[s]);s--);e.sourceType==="module"&&(n+=" await")}this.reservedWords=We(n);var o=(n?n+" ":"")+bt.strict;this.reservedWordsStrict=We(o),this.reservedWordsStrictBind=We(o+" "+bt.strictBind),this.input=String(t),this.containsEsc=!1,r?(this.pos=r,this.lineStart=this.input.lastIndexOf(` +`,r-1)+1,this.curLine=this.input.slice(0,this.lineStart).split(De).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&pr)>0},Ne.inAsync.get=function(){return(this.currentVarScope().flags&hr)>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 r=this,n=0;n=,?^&]/.test(s)||s==="!"&&this.input.charAt(n+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||De.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 r=t?e.parenthesizedAssign:e.parenthesizedBind;r>-1&&this.raiseRecoverable(r,"Parenthesized pattern")}},de.checkExpressionErrors=function(e,t){if(!e)return!1;var r=e.shorthandAssign,n=e.doubleProto;if(!t)return r>=0||n>=0;r>=0&&this.raise(r,"Shorthand property assignments are valid only in destructuring patterns"),n>=0&&this.raiseRecoverable(n,"Redefinition of __proto__ property")},de.checkYieldAwaitInDefaultParams=function(){this.yieldPos&&(!this.awaitPos||this.yieldPos=6&&this.unexpected(),this.parseFunctionStatement(s,!1,!e);case f._class:return e&&this.unexpected(),this.parseClass(s,!0);case f._if:return this.parseIfStatement(s);case f._return:return this.parseReturnStatement(s);case f._switch:return this.parseSwitchStatement(s);case f._throw:return this.parseThrowStatement(s);case f._try:return this.parseTryStatement(s);case f._const:case f._var:return o=o||this.value,e&&o!=="var"&&this.unexpected(),this.parseVarStatement(s,o);case f._while:return this.parseWhileStatement(s);case f._with:return this.parseWithStatement(s);case f.braceL:return this.parseBlock(!0,s);case f.semi:return this.parseEmptyStatement(s);case f._export:case f._import:if(this.options.ecmaVersion>10&&n===f._import){Ee.lastIndex=this.pos;var u=Ee.exec(this.input),h=this.pos+u[0].length,p=this.input.charCodeAt(h);if(p===40||p===46)return this.parseExpressionStatement(s,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'")),n===f._import?this.parseImport(s):this.parseExport(s,r);default:if(this.isAsyncFunction())return e&&this.unexpected(),this.next(),this.parseFunctionStatement(s,!0,!e);var m=this.value,g=this.parseExpression();return n===f.name&&g.type==="Identifier"&&this.eat(f.colon)?this.parseLabeledStatement(s,m,g,e):this.parseExpressionStatement(s,g)}},z.parseBreakContinueStatement=function(e,t){var r=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 n=0;n=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 r=this.isLet();if(this.type===f._var||this.type===f._const||r){var n=this.startNode(),s=r?"let":this.value;return this.next(),this.parseVar(n,!0,s),this.finishNode(n,"VariableDeclaration"),(this.type===f._in||this.options.ecmaVersion>=6&&this.isContextual("of"))&&n.declarations.length===1?(this.options.ecmaVersion>=9&&(this.type===f._in?t>-1&&this.unexpected(t):e.await=t>-1),this.parseForIn(e,n)):(t>-1&&this.unexpected(t),this.parseFor(e,n))}var o=new _t,u=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(u,!1,o),this.checkLVal(u),this.parseForIn(e,u)):(this.checkExpressionErrors(o,!0),t>-1&&this.unexpected(t),this.parseFor(e,u))},z.parseFunctionStatement=function(e,t,r){return this.next(),this.parseFunction(e,Ye|(r?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(Zr),this.enterScope(0);for(var t,r=!1;this.type!==f.braceR;)if(this.type===f._case||this.type===f._default){var n=this.type===f._case;t&&this.finishNode(t,"SwitchCase"),e.cases.push(t=this.startNode()),t.consequent=[],this.next(),n?t.test=this.parseExpression():(r&&this.raiseRecoverable(this.lastTokStart,"Multiple default clauses"),r=!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(),De.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")},en=[],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 r=t.param.type==="Identifier";this.enterScope(r?$t:0),this.checkLVal(t.param,r?Yt:_e),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,r,n){for(var s=0,o=this.labels;s=0;p--){var m=this.labels[p];if(m.statementStart===e.start)m.statementStart=this.start,m.kind=h;else break}return this.labels.push({name:t,kind:h,statementStart:this.start}),e.body=this.parseStatement(n?n.indexOf("label")===-1?n+"label":n:"label"),this.labels.pop(),e.label=r,this.finishNode(e,"LabeledStatement")},z.parseExpressionStatement=function(e,t){return e.expression=t,this.semicolon(),this.finishNode(e,"ExpressionStatement")},z.parseBlock=function(e,t,r){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 n=this.parseStatement(null);t.body.push(n)}return r&&(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 r=this.type===f._in;return this.next(),t.type==="VariableDeclaration"&&t.declarations[0].init!=null&&(!r||this.options.ecmaVersion<8||this.strict||t.kind!=="var"||t.declarations[0].id.type!=="Identifier")?this.raise(t.start,(r?"for-in":"for-of")+" loop variable declaration may not have an initializer"):t.type==="AssignmentPattern"&&this.raise(t.start,"Invalid left-hand side in for-loop"),e.left=t,e.right=r?this.parseExpression():this.parseMaybeAssign(),this.expect(f.parenR),e.body=this.parseStatement("for"),this.exitScope(),this.labels.pop(),this.finishNode(e,r?"ForInStatement":"ForOfStatement")},z.parseVar=function(e,t,r){for(e.declarations=[],e.kind=r;;){var n=this.startNode();if(this.parseVarId(n,r),this.eat(f.eq)?n.init=this.parseMaybeAssign(t):r==="const"&&!(this.type===f._in||this.options.ecmaVersion>=6&&this.isContextual("of"))?this.unexpected():n.id.type!=="Identifier"&&!(t&&(this.type===f._in||this.isContextual("of")))?this.raise(this.lastTokEnd,"Complex binding patterns require an initialization value"):n.init=null,e.declarations.push(this.finishNode(n,"VariableDeclarator")),!this.eat(f.comma))break}return e},z.parseVarId=function(e,t){e.id=this.parseBindingAtom(),this.checkLVal(e.id,t==="var"?It:_e,!1)},Ye=1,Pt=2,Zt=4,z.parseFunction=function(e,t,r,n){this.initFunction(e),(this.options.ecmaVersion>=9||this.options.ecmaVersion>=6&&!n)&&(this.type===f.star&&t&Pt&&this.unexpected(),e.generator=this.eat(f.star)),this.options.ecmaVersion>=8&&(e.async=!!n),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:_e:Qt));var s=this.yieldPos,o=this.awaitPos,u=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,r,!1),this.yieldPos=s,this.awaitPos=o,this.awaitIdentPos=u,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 r=this.strict;this.strict=!0,this.parseClassId(e,t),this.parseClassSuper(e);var n=this.startNode(),s=!1;for(n.body=[],this.expect(f.braceL);this.type!==f.braceR;){var o=this.parseClassElement(e.superClass!==null);o&&(n.body.push(o),o.type==="MethodDefinition"&&o.kind==="constructor"&&(s&&this.raise(o.start,"Duplicate constructor in the same class"),s=!0))}return this.strict=r,this.next(),e.body=this.finishNode(n,"ClassBody"),this.finishNode(e,t?"ClassDeclaration":"ClassExpression")},z.parseClassElement=function(e){var t=this;if(this.eat(f.semi))return null;var r=this.startNode(),n=function(p,m){m===void 0&&(m=!1);var g=t.start,F=t.startLoc;return t.eatContextual(p)?t.type!==f.parenL&&(!m||!t.canInsertSemicolon())?!0:(r.key&&t.unexpected(),r.computed=!1,r.key=t.startNodeAt(g,F),r.key.name=p,t.finishNode(r.key,"Identifier"),!1):!1};r.kind="method",r.static=n("static");var s=this.eat(f.star),o=!1;s||(this.options.ecmaVersion>=8&&n("async",!0)?(o=!0,s=this.options.ecmaVersion>=9&&this.eat(f.star)):n("get")?r.kind="get":n("set")&&(r.kind="set")),r.key||this.parsePropertyName(r);var u=r.key,h=!1;return!r.computed&&!r.static&&(u.type==="Identifier"&&u.name==="constructor"||u.type==="Literal"&&u.value==="constructor")?(r.kind!=="method"&&this.raise(u.start,"Constructor can't have get/set modifier"),s&&this.raise(u.start,"Constructor can't be a generator"),o&&this.raise(u.start,"Constructor can't be an async method"),r.kind="constructor",h=e):r.static&&u.type==="Identifier"&&u.name==="prototype"&&this.raise(u.start,"Classes may not have a static property named prototype"),this.parseClassMethod(r,s,o,h),r.kind==="get"&&r.value.params.length!==0&&this.raiseRecoverable(r.value.start,"getter should have no params"),r.kind==="set"&&r.value.params.length!==1&&this.raiseRecoverable(r.value.start,"setter should have exactly one param"),r.kind==="set"&&r.value.params[0].type==="RestElement"&&this.raiseRecoverable(r.value.params[0].start,"Setter cannot use rest params"),r},z.parseClassMethod=function(e,t,r,n){return e.value=this.parseMethod(t,r,n),this.finishNode(e,"MethodDefinition")},z.parseClassId=function(e,t){this.type===f.name?(e.id=this.parseIdent(),t&&this.checkLVal(e.id,_e,!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 r;if(this.type===f._function||(r=this.isAsyncFunction())){var n=this.startNode();this.next(),r&&this.next(),e.declaration=this.parseFunction(n,Ye|Zt,!1,r)}else if(this.type===f._class){var s=this.startNode();e.declaration=this.parseClass(s,"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,u=e.specifiers;o=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",r&&this.checkPatternErrors(r,!0);for(var n=0,s=e.properties;n=8&&!o&&u.name==="async"&&!this.canInsertSemicolon()&&this.eat(f._function))return this.parseFunction(this.startNodeAt(n,s),0,!1,!0);if(r&&!this.canInsertSemicolon()){if(this.eat(f.arrow))return this.parseArrowExpression(this.startNodeAt(n,s),[u],!1);if(this.options.ecmaVersion>=8&&u.name==="async"&&this.type===f.name&&!o)return u=this.parseIdent(!1),(this.canInsertSemicolon()||!this.eat(f.arrow))&&this.unexpected(),this.parseArrowExpression(this.startNodeAt(n,s),[u],!0)}return u;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,m=this.parseParenAndDistinguishExpression(r);return e&&(e.parenthesizedAssign<0&&!this.isSimpleAssignTarget(m)&&(e.parenthesizedAssign=p),e.parenthesizedBind<0&&(e.parenthesizedBind=p)),m;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,r=this.startLoc,n,s=this.options.ecmaVersion>=8;if(this.options.ecmaVersion>=6){this.next();var o=this.start,u=this.startLoc,h=[],p=!0,m=!1,g=new _t,F=this.yieldPos,A=this.awaitPos,C;for(this.yieldPos=0,this.awaitPos=0;this.type!==f.parenR;)if(p?p=!1:this.expect(f.comma),s&&this.afterTrailingComma(f.parenR,!0)){m=!0;break}else if(this.type===f.ellipsis){C=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,g,this.parseParenItem));var D=this.start,E=this.startLoc;if(this.expect(f.parenR),e&&!this.canInsertSemicolon()&&this.eat(f.arrow))return this.checkPatternErrors(g,!1),this.checkYieldAwaitInDefaultParams(),this.yieldPos=F,this.awaitPos=A,this.parseParenArrowList(t,r,h);(!h.length||m)&&this.unexpected(this.lastTokStart),C&&this.unexpected(C),this.checkExpressionErrors(g,!0),this.yieldPos=F||this.yieldPos,this.awaitPos=A||this.awaitPos,h.length>1?(n=this.startNodeAt(o,u),n.expressions=h,this.finishNodeAt(n,"SequenceExpression",D,E)):n=h[0]}else n=this.parseParenExpression();if(this.options.preserveParens){var w=this.startNodeAt(t,r);return w.expression=n,this.finishNode(w,"ParenthesizedExpression")}else return n},G.parseParenItem=function(e){return e},G.parseParenArrowList=function(e,t,r){return this.parseArrowExpression(this.startNodeAt(e,t),r)},tn=[],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 r=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'"),r&&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 n=this.start,s=this.startLoc,o=this.type===f._import;return e.callee=this.parseSubscripts(this.parseExprAtom(),n,s,!0),o&&e.callee.type==="ImportExpression"&&this.raise(n,"Cannot use new with import()"),this.eat(f.parenL)?e.arguments=this.parseExprList(f.parenR,this.options.ecmaVersion>=8,!1):e.arguments=tn,this.finishNode(e,"NewExpression")},G.parseTemplateElement=function(e){var t=e.isTagged,r=this.startNode();return this.type===f.invalidTemplate?(t||this.raiseRecoverable(this.start,"Bad escape sequence in untagged template literal"),r.value={raw:this.value,cooked:null}):r.value={raw:this.input.slice(this.start,this.end).replace(/\r\n?/g,` +`),cooked:this.value},this.next(),r.tail=this.type===f.backQuote,this.finishNode(r,"TemplateElement")},G.parseTemplate=function(e){e===void 0&&(e={});var t=e.isTagged;t===void 0&&(t=!1);var r=this.startNode();this.next(),r.expressions=[];var n=this.parseTemplateElement({isTagged:t});for(r.quasis=[n];!n.tail;)this.type===f.eof&&this.raise(this.pos,"Unterminated template literal"),this.expect(f.dollarBraceL),r.expressions.push(this.parseExpression()),this.expect(f.braceR),r.quasis.push(n=this.parseTemplateElement({isTagged:t}));return this.next(),this.finishNode(r,"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)&&!De.test(this.input.slice(this.lastTokEnd,this.start))},G.parseObj=function(e,t){var r=this.startNode(),n=!0,s={};for(r.properties=[],this.next();!this.eat(f.braceR);){if(n)n=!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,s,t),r.properties.push(o)}return this.finishNode(r,e?"ObjectPattern":"ObjectExpression")},G.parseProperty=function(e,t){var r=this.startNode(),n,s,o,u;if(this.options.ecmaVersion>=9&&this.eat(f.ellipsis))return e?(r.argument=this.parseIdent(!1),this.type===f.comma&&this.raise(this.start,"Comma is not permitted after the rest element"),this.finishNode(r,"RestElement")):(this.type===f.parenL&&t&&(t.parenthesizedAssign<0&&(t.parenthesizedAssign=this.start),t.parenthesizedBind<0&&(t.parenthesizedBind=this.start)),r.argument=this.parseMaybeAssign(!1,t),this.type===f.comma&&t&&t.trailingComma<0&&(t.trailingComma=this.start),this.finishNode(r,"SpreadElement"));this.options.ecmaVersion>=6&&(r.method=!1,r.shorthand=!1,(e||t)&&(o=this.start,u=this.startLoc),e||(n=this.eat(f.star)));var h=this.containsEsc;return this.parsePropertyName(r),!e&&!h&&this.options.ecmaVersion>=8&&!n&&this.isAsyncProp(r)?(s=!0,n=this.options.ecmaVersion>=9&&this.eat(f.star),this.parsePropertyName(r,t)):s=!1,this.parsePropertyValue(r,e,n,s,o,u,t,h),this.finishNode(r,"Property")},G.parsePropertyValue=function(e,t,r,n,s,o,u,h){if((r||n)&&this.type===f.colon&&this.unexpected(),this.eat(f.colon))e.value=t?this.parseMaybeDefault(this.start,this.startLoc):this.parseMaybeAssign(!1,u),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(r,n);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){(r||n)&&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 m=e.value.start;e.kind==="get"?this.raiseRecoverable(m,"getter should have no params"):this.raiseRecoverable(m,"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"?((r||n)&&this.unexpected(),this.checkUnreserved(e.key),e.key.name==="await"&&!this.awaitIdentPos&&(this.awaitIdentPos=s),e.kind="init",t?e.value=this.parseMaybeDefault(s,o,e.key):this.type===f.eq&&u?(u.shorthandAssign<0&&(u.shorthandAssign=this.start),e.value=this.parseMaybeDefault(s,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,r){var n=this.startNode(),s=this.yieldPos,o=this.awaitPos,u=this.awaitIdentPos;return this.initFunction(n),this.options.ecmaVersion>=6&&(n.generator=e),this.options.ecmaVersion>=8&&(n.async=!!t),this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,this.enterScope(Vt(t,n.generator)|Jt|(r?Xt:0)),this.expect(f.parenL),n.params=this.parseBindingList(f.parenR,!1,this.options.ecmaVersion>=8),this.checkYieldAwaitInDefaultParams(),this.parseFunctionBody(n,!1,!0),this.yieldPos=s,this.awaitPos=o,this.awaitIdentPos=u,this.finishNode(n,"FunctionExpression")},G.parseArrowExpression=function(e,t,r){var n=this.yieldPos,s=this.awaitPos,o=this.awaitIdentPos;return this.enterScope(Vt(r,!1)|Gt),this.initFunction(e),this.options.ecmaVersion>=8&&(e.async=!!r),this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,e.params=this.toAssignableList(t,!0),this.parseFunctionBody(e,!0,!1),this.yieldPos=n,this.awaitPos=s,this.awaitIdentPos=o,this.finishNode(e,"ArrowFunctionExpression")},G.parseFunctionBody=function(e,t,r){var n=t&&this.type!==f.braceL,s=this.strict,o=!1;if(n)e.body=this.parseMaybeAssign(),e.expression=!0,this.checkParams(e,!1);else{var u=this.options.ecmaVersion>=7&&!this.isSimpleParamList(e.params);(!s||u)&&(o=this.strictDirective(this.end),o&&u&&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,!s&&!o&&!t&&!r&&this.isSimpleParamList(e.params)),this.strict&&e.id&&this.checkLVal(e.id,Kt),e.body=this.parseBlock(!1,void 0,o&&!s),e.expression=!1,this.adaptDirectivePrologue(e.body.body),this.labels=h}this.exitScope()},G.isSimpleParamList=function(e){for(var t=0,r=e;t-1||s.functions.indexOf(e)>-1||s.var.indexOf(e)>-1,s.lexical.push(e),this.inModule&&s.flags&Qe&&delete this.undefinedExports[e]}else if(t===Yt){var o=this.currentScope();o.lexical.push(e)}else if(t===Qt){var u=this.currentScope();this.treatFunctionsAsVar?n=u.lexical.indexOf(e)>-1:n=u.lexical.indexOf(e)>-1||u.var.indexOf(e)>-1,u.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){n=!0;break}if(p.var.push(e),this.inModule&&p.flags&Qe&&delete this.undefinedExports[e],p.flags&kt)break}n&&this.raiseRecoverable(r,"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,r){this.type="",this.start=t,this.end=0,e.options.locations&&(this.loc=new et(e,r)),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 Wr.call(this,e,t,this.lastTokEnd,this.lastTokEndLoc)},lt.finishNodeAt=function(e,t,r,n){return Wr.call(this,e,t,r,n)},ye=function(e,t,r,n,s){this.token=e,this.isExpr=!!t,this.preserveSpace=!!r,this.override=n,this.generator=!!s},ie={b_stat:new ye("{",!1),b_expr:new ye("{",!0),b_tmpl:new ye("${",!1),p_stat:new ye("(",!1),p_expr:new ye("(",!0),q_tmpl:new ye("`",!0,!0,function(e){return e.tryReadTemplateToken()}),f_stat:new ye("function",!1),f_expr:new ye("function",!0),f_expr_gen:new ye("function",!0,!1,null,!0),f_gen:new ye("function",!1,!1,null,!0)},ct=te.prototype,ct.initialContext=function(){return[ie.b_stat]},ct.braceIsBlock=function(e){var t=this.curContext();return t===ie.f_expr||t===ie.f_stat?!0:e===f.colon&&(t===ie.b_stat||t===ie.b_expr)?!t.isExpr:e===f._return||e===f.name&&this.exprAllowed?De.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===ie.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,r=this.type;r.keyword&&e===f.dot?this.exprAllowed=!1:(t=r.updateContext)?t.call(this,e):this.exprAllowed=r.beforeExpr},f.parenR.updateContext=f.braceR.updateContext=function(){if(this.context.length===1){this.exprAllowed=!0;return}var e=this.context.pop();e===ie.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)?ie.b_stat:ie.b_expr),this.exprAllowed=!0},f.dollarBraceL.updateContext=function(){this.context.push(ie.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?ie.p_stat:ie.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&&De.test(this.input.slice(this.lastTokEnd,this.start)))&&!((e===f.colon||e===f.braceL)&&this.curContext()===ie.b_stat)?this.context.push(ie.f_expr):this.context.push(ie.f_stat),this.exprAllowed=!1},f.backQuote.updateContext=function(){this.curContext()===ie.q_tmpl?this.context.pop():this.context.push(ie.q_tmpl),this.exprAllowed=!1},f.star.updateContext=function(e){if(e===f._function){var t=this.context.length-1;this.context[t]===ie.f_expr?this.context[t]=ie.f_expr_gen:this.context[t]=ie.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},er="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",tr=er+" Extended_Pictographic",nn=tr,Tn={9:er,10:tr,11:nn},fr="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",rr="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",nr=rr+" Dogra Dogr Gunjala_Gondi Gong Hanifi_Rohingya Rohg Makasar Maka Medefaidrin Medf Old_Sogdian Sogo Sogdian Sogd",sn=nr+" Elymaic Elym Nandinagari Nand Nyiakeng_Puachue_Hmong Hmnp Wancho Wcho",Pn={9:rr,10:nr,11:sn},dr={},qt(9),qt(10),qt(11),q=te.prototype,be=function(e){this.parser=e,this.validFlags="gim"+(e.options.ecmaVersion>=6?"uy":"")+(e.options.ecmaVersion>=9?"s":""),this.unicodeProperties=dr[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=[]},be.prototype.reset=function(e,t,r){var n=r.indexOf("u")!==-1;this.start=e|0,this.source=t+"",this.flags=r,this.switchU=n&&this.parser.options.ecmaVersion>=6,this.switchN=n&&this.parser.options.ecmaVersion>=9},be.prototype.raise=function(e){this.parser.raiseRecoverable(this.start,"Invalid regular expression: /"+this.source+"/: "+e)},be.prototype.at=function(e,t){t===void 0&&(t=!1);var r=this.source,n=r.length;if(e>=n)return-1;var s=r.charCodeAt(e);if(!(t||this.switchU)||s<=55295||s>=57344||e+1>=n)return s;var o=r.charCodeAt(e+1);return o>=56320&&o<=57343?(s<<10)+o-56613888:s},be.prototype.nextIndex=function(e,t){t===void 0&&(t=!1);var r=this.source,n=r.length;if(e>=n)return n;var s=r.charCodeAt(e),o;return!(t||this.switchU)||s<=55295||s>=57344||e+1>=n||(o=r.charCodeAt(e+1))<56320||o>57343?e+1:e+2},be.prototype.current=function(e){return e===void 0&&(e=!1),this.at(this.pos,e)},be.prototype.lookahead=function(e){return e===void 0&&(e=!1),this.at(this.nextIndex(this.pos,e),e)},be.prototype.advance=function(e){e===void 0&&(e=!1),this.pos=this.nextIndex(this.pos,e)},be.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,r=e.flags,n=0;n-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,r=e.backReferenceNames;t=9&&(r=e.eat(60)),e.eat(61)||e.eat(33))return this.regexp_disjunction(e),e.eat(41)||e.raise("Unterminated group"),e.lastAssertionIsQuantifiable=!r,!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 r=e.pos;if(e.eat(123)){var n=0,s=-1;if(this.regexp_eatDecimalDigits(e)&&(n=e.lastIntValue,e.eat(44)&&this.regexp_eatDecimalDigits(e)&&(s=e.lastIntValue),e.eat(125)))return s!==-1&&s=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 zr(t)?(e.lastIntValue=t,e.advance(),!0):!1},q.regexp_eatPatternCharacters=function(e){for(var t=e.pos,r=0;(r=e.current())!==-1&&!zr(r);)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+=St(e.lastIntValue);this.regexp_eatRegExpIdentifierPart(e);)e.lastStringValue+=St(e.lastIntValue);return!0}return!1},q.regexp_eatRegExpIdentifierStart=function(e){var t=e.pos,r=this.options.ecmaVersion>=11,n=e.current(r);return e.advance(r),n===92&&this.regexp_eatRegExpUnicodeEscapeSequence(e,r)&&(n=e.lastIntValue),$i(n)?(e.lastIntValue=n,!0):(e.pos=t,!1)},q.regexp_eatRegExpIdentifierPart=function(e){var t=e.pos,r=this.options.ecmaVersion>=11,n=e.current(r);return e.advance(r),n===92&&this.regexp_eatRegExpUnicodeEscapeSequence(e,r)&&(n=e.lastIntValue),Ji(n)?(e.lastIntValue=n,!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 r=e.lastIntValue;if(e.switchU)return r>e.maxBackReference&&(e.maxBackReference=r),!0;if(r<=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 Sn(t)?(e.lastIntValue=t%32,e.advance(),!0):!1},q.regexp_eatRegExpUnicodeEscapeSequence=function(e,t){t===void 0&&(t=!1);var r=e.pos,n=t||e.switchU;if(e.eat(117)){if(this.regexp_eatFixedHexDigits(e,4)){var s=e.lastIntValue;if(n&&s>=55296&&s<=56319){var o=e.pos;if(e.eat(92)&&e.eat(117)&&this.regexp_eatFixedHexDigits(e,4)){var u=e.lastIntValue;if(u>=56320&&u<=57343)return e.lastIntValue=(s-55296)*1024+(u-56320)+65536,!0}e.pos=o,e.lastIntValue=s}return!0}if(n&&e.eat(123)&&this.regexp_eatHexDigits(e)&&e.eat(125)&&Xi(e.lastIntValue))return!0;n&&e.raise("Invalid unicode escape"),e.pos=r}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(Hi(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 r=e.lastStringValue;if(this.regexp_eatUnicodePropertyValue(e)){var n=e.lastStringValue;return this.regexp_validateUnicodePropertyNameAndValue(e,r,n),!0}}if(e.pos=t,this.regexp_eatLoneUnicodePropertyNameOrValue(e)){var s=e.lastStringValue;return this.regexp_validateUnicodePropertyNameOrValue(e,s),!0}return!1},q.regexp_validateUnicodePropertyNameAndValue=function(e,t,r){Nt(e.unicodeProperties.nonBinary,t)||e.raise("Invalid property name"),e.unicodeProperties.nonBinary[t].test(r)||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="";bn(t=e.current());)e.lastStringValue+=St(t),e.advance();return e.lastStringValue!==""},q.regexp_eatUnicodePropertyValue=function(e){var t=0;for(e.lastStringValue="";Qi(t=e.current());)e.lastStringValue+=St(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 r=e.lastIntValue;e.switchU&&(t===-1||r===-1)&&e.raise("Invalid character class"),t!==-1&&r!==-1&&t>r&&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 r=e.current();(r===99||Jr(r))&&e.raise("Invalid class escape"),e.raise("Invalid escape")}e.pos=t}var n=e.current();return n!==93?(e.lastIntValue=n,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,r=0;for(e.lastIntValue=0;Lt(r=e.current());)e.lastIntValue=10*e.lastIntValue+(r-48),e.advance();return e.pos!==t},q.regexp_eatHexDigits=function(e){var t=e.pos,r=0;for(e.lastIntValue=0;Gr(r=e.current());)e.lastIntValue=16*e.lastIntValue+$r(r),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 r=e.lastIntValue;t<=3&&this.regexp_eatOctalDigit(e)?e.lastIntValue=t*64+r*8+e.lastIntValue:e.lastIntValue=t*8+r}else e.lastIntValue=t;return!0}return!1},q.regexp_eatOctalDigit=function(e){var t=e.current();return Jr(t)?(e.lastIntValue=t-48,e.advance(),!0):(e.lastIntValue=0,!1)},q.regexp_eatFixedHexDigits=function(e,t){var r=e.pos;e.lastIntValue=0;for(var n=0;n=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,r=this.input.indexOf("*/",this.pos+=2);if(r===-1&&this.raise(this.pos-2,"Unterminated comment"),this.pos=r+2,this.options.locations){ze.lastIndex=t;for(var n;(n=ze.exec(this.input))&&n.index8&&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 r=this.type;this.type=e,this.value=t,this.updateContext(r)},$.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),r=1,n=e===42?f.star:f.modulo;return this.options.ecmaVersion>=7&&e===42&&t===42&&(++r,n=f.starstar,t=this.input.charCodeAt(this.pos+2)),t===61?this.finishOp(f.assign,r+1):this.finishOp(n,r)},$.readToken_pipe_amp=function(e){var t=this.input.charCodeAt(this.pos+1);if(t===e){if(this.options.ecmaVersion>=12){var r=this.input.charCodeAt(this.pos+2);if(r===61)return this.finishOp(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||De.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),r=1;return t===e?(r=e===62&&this.input.charCodeAt(this.pos+2)===62?3:2,this.input.charCodeAt(this.pos+r)===61?this.finishOp(f.assign,r+1):this.finishOp(f.bitShift,r)):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&&(r=2),this.finishOp(f.relational,r))},$.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 r=this.input.charCodeAt(this.pos+2);if(r<48||r>57)return this.finishOp(f.questionDot,2)}if(t===63){if(e>=12){var n=this.input.charCodeAt(this.pos+2);if(n===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 r=this.input.slice(this.pos,this.pos+t);return this.pos+=t,this.finishToken(e,r)},$.readRegexp=function(){for(var e,t,r=this.pos;;){this.pos>=this.input.length&&this.raise(r,"Unterminated regular expression");var n=this.input.charAt(this.pos);if(De.test(n)&&this.raise(r,"Unterminated regular expression"),e)e=!1;else{if(n==="[")t=!0;else if(n==="]"&&t)t=!1;else if(n==="/"&&!t)break;e=n==="\\"}++this.pos}var s=this.input.slice(r,this.pos);++this.pos;var o=this.pos,u=this.readWord1();this.containsEsc&&this.unexpected(o);var h=this.regexpState||(this.regexpState=new be(this));h.reset(r,s,u),this.validateRegExpFlags(h),this.validateRegExpPattern(h);var p=null;try{p=new RegExp(s,u)}catch{}return this.finishToken(f.regexp,{pattern:s,flags:u,value:p})},$.readInt=function(e,t,r){for(var n=this.options.ecmaVersion>=12&&t===void 0,s=r&&this.input.charCodeAt(this.pos)===48,o=this.pos,u=0,h=0,p=0,m=t??1/0;p=97?F=g-97+10:g>=65?F=g-65+10:g>=48&&g<=57?F=g-48:F=1/0,F>=e)break;h=g,u=u*e+F}return n&&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:u},$.readRadixNumber=function(e){var t=this.pos;this.pos+=2;var r=this.readInt(e);return r==null&&this.raise(this.start+2,"Expected number in radix "+e),this.options.ecmaVersion>=11&&this.input.charCodeAt(this.pos)===110?(r=Xr(this.input.slice(t,this.pos)),++this.pos):Te(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number"),this.finishToken(f.num,r)},$.readNumber=function(e){var t=this.pos;!e&&this.readInt(10,void 0,!0)===null&&this.raise(t,"Invalid number");var r=this.pos-t>=2&&this.input.charCodeAt(t)===48;r&&this.strict&&this.raise(t,"Invalid number");var n=this.input.charCodeAt(this.pos);if(!r&&!e&&this.options.ecmaVersion>=11&&n===110){var s=Xr(this.input.slice(t,this.pos));return++this.pos,Te(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number"),this.finishToken(f.num,s)}r&&/[89]/.test(this.input.slice(t,this.pos))&&(r=!1),n===46&&!r&&(++this.pos,this.readInt(10),n=this.input.charCodeAt(this.pos)),(n===69||n===101)&&!r&&(n=this.input.charCodeAt(++this.pos),(n===43||n===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=Yi(this.input.slice(t,this.pos),r);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 r=++this.pos;t=this.readHexChar(this.input.indexOf("}",this.pos)-this.pos),++this.pos,t>1114111&&this.invalidStringToken(r,"Code point out of bounds")}else t=this.readHexChar(4);return t},$.readString=function(e){for(var t="",r=++this.pos;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated string constant");var n=this.input.charCodeAt(this.pos);if(n===e)break;n===92?(t+=this.input.slice(r,this.pos),t+=this.readEscapedChar(!1),r=this.pos):(Ke(n,this.options.ecmaVersion>=10)&&this.raise(this.start,"Unterminated string constant"),++this.pos)}return t+=this.input.slice(r,this.pos++),this.finishToken(f.string,t)},ir={},$.tryReadTemplateToken=function(){this.inTemplateElement=!0;try{this.readTmplToken()}catch(e){if(e===ir)this.readInvalidTemplateToken();else throw e}this.inTemplateElement=!1},$.invalidStringToken=function(e,t){if(this.inTemplateElement&&this.options.ecmaVersion>=9)throw ir;this.raise(e,t)},$.readTmplToken=function(){for(var e="",t=this.pos;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated template");var r=this.input.charCodeAt(this.pos);if(r===96||r===36&&this.input.charCodeAt(this.pos+1)===123)return this.pos===this.start&&(this.type===f.template||this.type===f.invalidTemplate)?r===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(r===92)e+=this.input.slice(t,this.pos),e+=this.readEscapedChar(!0),t=this.pos;else if(Ke(r)){switch(e+=this.input.slice(t,this.pos),++this.pos,r){case 13:this.input.charCodeAt(this.pos)===10&&++this.pos;case 10:e+=` +`;break;default:e+=String.fromCharCode(r);break}this.options.locations&&(++this.curLine,this.lineStart=this.pos),t=this.pos}else++this.pos}},$.readInvalidTemplateToken=function(){for(;this.pos=48&&t<=55){var n=this.input.substr(this.pos-1,3).match(/^[0-7]+/)[0],s=parseInt(n,8);return s>255&&(n=n.slice(0,-1),s=parseInt(n,8)),this.pos+=n.length-1,t=this.input.charCodeAt(this.pos),(n!=="0"||t===56||t===57)&&(this.strict||e)&&this.invalidStringToken(this.pos-1-n.length,e?"Octal literal in template string":"Octal literal in strict mode"),String.fromCharCode(s)}return Ke(t)?"":String.fromCharCode(t)}},$.readHexChar=function(e){var t=this.pos,r=this.readInt(16,e);return r===null&&this.invalidStringToken(t,"Bad character escape sequence"),r},$.readWord1=function(){this.containsEsc=!1;for(var e="",t=!0,r=this.pos,n=this.options.ecmaVersion>=6;this.pos",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:"♦"}}}),rs=K({"../../node_modules/acorn-jsx/index.js"(e,t){var r=ts(),n=/^[\da-fA-F]+$/,s=/^\d+$/,o=new WeakMap;function u(m){m=m.Parser.acorn||m;let g=o.get(m);if(!g){let F=m.tokTypes,A=m.TokContext,C=m.TokenType,D=new A("...",!0,!0),b={tc_oTag:D,tc_cTag:E,tc_expr:w},S={jsxName:new C("jsxName"),jsxText:new C("jsxText",{beforeExpr:!0}),jsxTagStart:new C("jsxTagStart",{startsExpr:!0}),jsxTagEnd:new C("jsxTagEnd")};S.jsxTagStart.updateContext=function(){this.context.push(w),this.context.push(D),this.exprAllowed=!1},S.jsxTagEnd.updateContext=function(L){let _=this.context.pop();_===D&&L===F.slash||_===E?(this.context.pop(),this.exprAllowed=this.curContext()===w):this.exprAllowed=!0},g={tokContexts:b,tokTypes:S},o.set(m,g)}return g}function h(m){if(!m)return m;if(m.type==="JSXIdentifier")return m.name;if(m.type==="JSXNamespacedName")return m.namespace.name+":"+m.name.name;if(m.type==="JSXMemberExpression")return h(m.object)+"."+h(m.property)}t.exports=function(m){return m=m||{},function(g){return p({allowNamespaces:m.allowNamespaces!==!1,allowNamespacedObjects:!!m.allowNamespacedObjects},g)}},Object.defineProperty(t.exports,"tokTypes",{get:function(){return u((gr(),Mr(ar))).tokTypes},configurable:!0,enumerable:!0});function p(m,g){let F=g.acorn||(gr(),Mr(ar)),A=u(F),C=F.tokTypes,D=A.tokTypes,E=F.tokContexts,w=A.tokContexts.tc_oTag,b=A.tokContexts.tc_cTag,S=A.tokContexts.tc_expr,L=F.isNewLine,_=F.isIdentifierStart,x=F.isIdentifierChar;return class extends g{static get acornJsx(){return A}jsx_readToken(){let y="",v=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(D.jsxTagStart)):this.getTokenFromCode(B):(y+=this.input.slice(v,this.pos),this.finishToken(D.jsxText,y));case 38:y+=this.input.slice(v,this.pos),y+=this.jsx_readEntity(),v=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)?(y+=this.input.slice(v,this.pos),y+=this.jsx_readNewLine(!0),v=this.pos):++this.pos}}}jsx_readNewLine(y){let v=this.input.charCodeAt(this.pos),B;return++this.pos,v===13&&this.input.charCodeAt(this.pos)===10?(++this.pos,B=y?` +`:`\r +`):B=String.fromCharCode(v),this.options.locations&&(++this.curLine,this.lineStart=this.pos),B}jsx_readString(y){let v="",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===y)break;P===38?(v+=this.input.slice(B,this.pos),v+=this.jsx_readEntity(),B=this.pos):L(P)?(v+=this.input.slice(B,this.pos),v+=this.jsx_readNewLine(!1),B=this.pos):++this.pos}return v+=this.input.slice(B,this.pos++),this.finishToken(C.string,v)}jsx_readEntity(){let y="",v=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")}let V=j.name?"Element":"Fragment";return B["opening"+V]=j,B["closing"+V]=M,B.children=P,this.type===C.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 y=this.parseLiteral(this.value);return y.type="JSXText",y}jsx_parseElement(){let y=this.start,v=this.startLoc;return this.next(),this.jsx_parseElementAt(y,v)}parseExprAtom(y){return this.type===D.jsxText?this.jsx_parseText():this.type===D.jsxTagStart?this.jsx_parseElement():super.parseExprAtom(y)}readToken(y){let v=this.curContext();if(v===S)return this.jsx_readToken();if(v===w||v===b){if(_(y))return this.jsx_readWord();if(y==62)return++this.pos,this.finishToken(D.jsxTagEnd);if((y===34||y===39)&&v==w)return this.jsx_readString(y)}return y===60&&this.exprAllowed&&this.input.charCodeAt(this.pos+1)!==33?(++this.pos,this.finishToken(D.jsxTagStart)):super.readToken(y)}updateContext(y){if(this.type==C.braceL){var v=this.curContext();v==w?this.context.push(E.b_expr):v==S?this.context.push(E.b_tmpl):super.updateContext(y),this.exprAllowed=!0}else if(this.type===C.slash&&y===D.jsxTagStart)this.context.length-=2,this.context.push(b),this.exprAllowed=!1;else return super.updateContext(y)}}}}}),ns=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 m,g=1,F=arguments.length;gta,argTypesEnhancers:()=>ia,decorators:()=>na,parameters:()=>ra});var un=nt(Bi()),Dr="custom",Ct="object",vr="array",as="class",tt="func",it="element",os=nt(ki());function _r(e){return os.default.includes(e.toLowerCase())}var ls=nt(Wi());function cs(e){for(var t=[],r=1;re.$$typeof===Symbol.for("react.memo"),gs=e=>e.$$typeof===Symbol.for("react.forward_ref");gr();var Ds=nt(rs());function On(e,t,r,n,s){r||(r=N),function o(u,h,p){var m=p||u.type,g=t[m];r[m](u,h,o),g&&g(u,h)}(e,n,s)}function As(e,t,r,n,s){var o=[];r||(r=N),function u(h,p,m){var g=m||h.type,F=t[g],A=h!==o[o.length-1];A&&o.push(h),r[g](h,p,u),F&&F(h,p||o,o),A&&o.pop()}(e,n,s)}function Sr(e,t,r){r(e,t)}function $e(e,t,r){}var N={};N.Program=N.BlockStatement=function(e,t,r){for(var n=0,s=e.body;n{}},Cs=te.extend((0,Ds.default)());function Et(e){return e!=null?e.name:null}function on(e){return e.filter(t=>t.type==="ObjectExpression"||t.type==="ArrayExpression")}function Rn(e){let t=[];return As(e,{ObjectExpression(r,n){t.push(on(n).length)},ArrayExpression(r,n){t.push(on(n).length)}},br),Math.max(...t)}function Es(e){return{inferredType:{type:"Identifier",identifier:Et(e)},ast:e}}function ys(e){return{inferredType:{type:"Literal"},ast:e}}function Fs(e){let t;On(e.body,{JSXElement(s){t=s}},br);let r={type:t!=null?"Element":"Function",params:e.params,hasParams:e.params.length!==0},n=Et(e.id);return n!=null&&(r.identifier=n),{inferredType:r,ast:e}}function xs(e){let t;return On(e.body,{JSXElement(r){t=r}},br),{inferredType:{type:t!=null?"Element":"Class",identifier:Et(e.id)},ast:e}}function vs(e){let t={type:"Element"},r=Et(e.openingElement.name);return r!=null&&(t.identifier=r),{inferredType:t,ast:e}}function _s(e){let t=e.callee.type==="MemberExpression"?e.callee.property:e.callee;return Et(t)==="shape"?jn(e.arguments[0]):null}function jn(e){return{inferredType:{type:"Object",depth:Rn(e)},ast:e}}function Ss(e){return{inferredType:{type:"Array",depth:Rn(e)},ast:e}}function bs(e){switch(e.type){case"Identifier":return Es(e);case"Literal":return ys(e);case"FunctionExpression":case"ArrowFunctionExpression":return Fs(e);case"ClassExpression":return xs(e);case"JSXElement":return vs(e);case"CallExpression":return _s(e);case"ObjectExpression":return jn(e);case"ArrayExpression":return Ss(e);default:return null}}function Bs(e){let t=Cs.parse(`(${e})`,{ecmaVersion:2020}),r={inferredType:{type:"Unknown"},ast:t};if(t.body[0]!=null){let n=t.body[0];switch(n.type){case"ExpressionStatement":{let s=bs(n.expression);s!=null&&(r=s);break}}}return r}function Oe(e){try{return{...Bs(e)}}catch{}return{inferredType:{type:"Unknown"}}}function Mn({inferredType:e,ast:t}){let{depth:r}=e;if(r<=2){let n=an(t,!0);if(!Dt(n))return ee(n)}return ee(vr,an(t))}function Vn({inferredType:e,ast:t}){let{depth:r}=e;if(r===1){let n=Ar(t,!0);if(!Dt(n))return ee(n)}return ee(Ct,Ar(t))}function Br(e,t){return t?`${e}( ... )`:`${e}()`}function jt(e){return`<${e} />`}function qn(e){let{type:t,identifier:r}=e;switch(t){case"Function":return Br(r,e.hasParams);case"Element":return jt(r);default:return r}}function ws({inferredType:e,ast:t}){let{identifier:r}=e;if(r!=null)return ee(qn(e),Le(t));let n=Le(t,!0);return Dt(n)?ee(tt,Le(t)):ee(n)}function ks(e,t){let{inferredType:r}=t,{identifier:n}=r;if(n!=null&&!_r(n)){let s=qn(r);return ee(s,e)}return Dt(e)?ee(it,e):ee(e)}function Un(e){try{let t=Oe(e);switch(t.inferredType.type){case"Object":return Vn(t);case"Function":return ws(t);case"Element":return ks(e,t);case"Array":return Mn(t);default:return null}}catch(t){console.error(t)}return null}function ln(e){return typeof e=="function"}function Is(e){return typeof e=="string"||e instanceof String}function Ts(e){var r;if(typeof e!="object"||e==null)return!1;if(Object.getPrototypeOf(e)===null)return!0;if(Object.prototype.toString.call(e)!=="[object Object]"){let n=e[Symbol.toStringTag];return n==null||!((r=Object.getOwnPropertyDescriptor(e,Symbol.toStringTag))!=null&&r.writable)?!1:e.toString()===`[object ${n}]`}let t=e;for(;Object.getPrototypeOf(t)!==null;)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}function cn(e){return Object.prototype.toString.call(e)==="[object Object]"}function Ps(e){var t,r;return cn(e)===!1?!1:(t=e.constructor,t===void 0?!0:(r=t.prototype,!(cn(r)===!1||r.hasOwnProperty("isPrototypeOf")===!1)))}var Ns=nt(ns()),Be=nt(ss()),Pe=function(e,t){return e===0?"":new Array(e*t).fill(" ").join("")};function gt(e){"@babel/helpers - typeof";return gt=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},gt(e)}function Ls(e){return Os(e)||Rs(e)||js(e)||Ms()}function Os(e){if(Array.isArray(e))return Cr(e)}function Rs(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function js(e,t){if(e){if(typeof e=="string")return Cr(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 Cr(e,t)}}function Cr(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r0?e.length-1:0),n=e[e.length-1];return n&&(t.type==="string"||t.type==="number")&&(n.type==="string"||n.type==="number")?r.push(Wn(String(n.value)+String(t.value))):(n&&r.push(n),r.push(t)),r},tu=function(e){return["key","ref"].includes(e)},ru=function(e){return function(t){var r=t.includes("key"),n=t.includes("ref"),s=t.filter(function(u){return!tu(u)}),o=Ls(e?s.sort():s);return n&&o.unshift("ref"),r&&o.unshift("key"),o}};function nu(e,t){return Array.isArray(t)?function(r){return t.indexOf(r)===-1}:function(r){return t(e[r],r)}}var iu=function(e,t,r,n,s){var o=s.tabStop;return e.type==="string"?t.split(` +`).map(function(u,h){return h===0?u:"".concat(Pe(n,o)).concat(u)}).join(` +`):t},su=function(e,t,r){return function(n){return iu(n,Mt(n,e,t,r),e,t,r)}},uu=function(e,t){return function(r){var n=Object.keys(e).includes(r);return!n||n&&e[r]!==t[r]}},$n=function(e,t,r,n,s){return s?Pe(r,n).length+t.length>s:e.length>1},au=function(e,t,r,n,s,o,u){return($n(e,t,s,o,u)||r)&&!n},Jn=function(e,t,r,n){var s=e.type,o=e.displayName,u=o===void 0?"":o,h=e.childrens,p=e.props,m=p===void 0?{}:p,g=e.defaultProps,F=g===void 0?{}:g;if(s!=="ReactElement")throw new Error('The "formatReactElementNode" function could only format node of type "ReactElement". Given: '.concat(s));var A=n.filterProps,C=n.maxInlineAttributesLineLength,D=n.showDefaultProps,E=n.sortProps,w=n.tabStop,b="<".concat(u),S=b,L=b,_=!1,x=[],y=nu(m,A);Object.keys(m).filter(y).filter(uu(F,m)).forEach(function(P){return x.push(P)}),Object.keys(F).filter(y).filter(function(){return D}).filter(function(P){return!x.includes(P)}).forEach(function(P){return x.push(P)});var v=ru(E)(x);if(v.forEach(function(P){var j=Zs(P,Object.keys(m).includes(P),m[P],Object.keys(F).includes(P),F[P],t,r,n),M=j.attributeFormattedInline,V=j.attributeFormattedMultiline,U=j.isMultilineAttribute;U&&(_=!0),S+=M,L+=V}),L+=` +`.concat(Pe(r,w)),au(v,S,_,t,r,w,C)?b=L:b=S,h&&h.length>0){var B=r+1;b+=">",t||(b+=` +`,b+=Pe(B,w)),b+=h.reduce(eu,[]).map(su(t,B,n)).join(t?"":` +`.concat(Pe(B,w))),t||(b+=` +`,b+=Pe(B-1,w)),b+="")}else $n(v,S,r,w,C)||(b+=" "),b+="/>";return b},ou="",dn="React.Fragment",lu=function(e,t,r){var n={};return t&&(n={key:t}),{type:"ReactElement",displayName:e,props:n,defaultProps:{},childrens:r}},cu=function(e){var t=e.key;return!!t},hu=function(e){var t=e.childrens;return t.length===0},pu=function(e,t,r,n){var s=e.type,o=e.key,u=e.childrens;if(s!=="ReactFragment")throw new Error('The "formatReactFragmentNode" function could only format node of type "ReactFragment". Given: '.concat(s));var h=n.useFragmentShortSyntax,p;return h?hu(e)||cu(e)?p=dn:p=ou:p=dn,Jn(lu(p,o,u),t,r,n)},fu=["<",">","{","}"],du=function(e){return fu.some(function(t){return e.includes(t)})},mu=function(e){return du(e)?"{`".concat(e,"`}"):e},gu=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,r,n){if(e.type==="number")return String(e.value);if(e.type==="string")return e.value?"".concat(gu(mu(String(e.value)))):"";if(e.type==="ReactElement")return Jn(e,t,r,n);if(e.type==="ReactFragment")return pu(e,t,r,n);throw new TypeError('Unknow format type "'.concat(e.type,'"'))},Du=function(e,t){return Mt(e,!1,0,t)},Xn=function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.filterProps,n=r===void 0?[]:r,s=t.showDefaultProps,o=s===void 0?!0:s,u=t.showFunctions,h=u===void 0?!1:u,p=t.functionValue,m=t.tabStop,g=m===void 0?2:m,F=t.useBooleanShorthandSyntax,A=F===void 0?!0:F,C=t.useFragmentShortSyntax,D=C===void 0?!0:C,E=t.sortProps,w=E===void 0?!0:E,b=t.maxInlineAttributesLineLength,S=t.displayName;if(!e)throw new Error("react-element-to-jsx-string: Expected a ReactElement");var L={filterProps:n,showDefaultProps:o,showFunctions:h,functionValue:p,tabStop:g,useBooleanShorthandSyntax:A,useFragmentShortSyntax:D,sortProps:w,maxInlineAttributesLineLength:b,displayName:S};return Du(wr(e,L),L)},mn=Xn;function Hn(e){return e.$$typeof!=null}function Qn(e,t){let{name:r}=e;return r!==""&&r!=="anonymous"&&r!==t?r:null}var Au=e=>ee(JSON.stringify(e));function Cu(e){let{type:t}=e,{displayName:r}=t,n=mn(e,{});if(r!=null){let s=jt(r);return ee(s,n)}if(Is(t)&&_r(t)){let s=mn(e,{tabStop:0}).replace(/\r?\n|\r/g,"");if(!Dt(s))return ee(s)}return ee(it,n)}var Eu=e=>{if(Hn(e)&&e.type!=null)return Cu(e);if(Ts(e)){let t=Oe(JSON.stringify(e));return Vn(t)}if(Array.isArray(e)){let t=Oe(JSON.stringify(e));return Mn(t)}return ee(Ct)},yu=(e,t)=>{let r=!1,n;if(ln(e.render))r=!0;else if(e.prototype!=null&&ln(e.prototype.render))r=!0;else{let o;try{n=Oe(e.toString());let{hasParams:u,params:h}=n.inferredType;u?h.length===1&&h[0].type==="ObjectPattern"&&(o=e({})):o=e(),o!=null&&Hn(o)&&(r=!0)}catch{}}let s=Qn(e,t.name);if(s!=null){if(r)return ee(jt(s));n!=null&&(n=Oe(e.toString()));let{hasParams:o}=n.inferredType;return ee(Br(s,o))}return ee(r?it:tt)},Fu=e=>ee(e.toString()),Yn={string:Au,object:Eu,function:yu,default:Fu};function xu(e={}){return{...Yn,...e}}function vu(e,t,r=Yn){try{switch(typeof e){case"string":return r.string(e,t);case"object":return r.object(e,t);case"function":return r.function(e,t);default:return r.default(e,t)}}catch(n){console.error(n)}return null}function _u(e,t){let r=e!=null,n=t!=null;if(!r&&!n)return"";let s=[];if(r){let o=e.map(u=>{let h=u.getPrettyName(),p=u.getTypeName();return p!=null?`${h}: ${p}`:h});s.push(`(${o.join(", ")})`)}else s.push("()");return n&&s.push(`=> ${t.getTypeName()}`),s.join(" ")}function Su(e,t){let r=e!=null,n=t!=null;if(!r&&!n)return"";let s=[];return r?s.push("( ... )"):s.push("()"),n&&s.push(`=> ${t.getTypeName()}`),s.join(" ")}function bu(e){return e.replace(/,/g,`,\r +`)}var Bu=150;function me({name:e,short:t,compact:r,full:n,inferredType:s}){return{name:e,short:t,compact:r,full:n??t,inferredType:s}}function Kn(e){return e.replace(/PropTypes./g,"").replace(/.isRequired/g,"")}function gn(e){return e.split(/\r?\n/)}function Rt(e,t=!1){return Kn(Ar(e,t))}function Dn(e,t=!1){return Kn(Le(e,t))}function wu(e){switch(e){case"Object":return Ct;case"Array":return vr;case"Class":return as;case"Function":return tt;case"Element":return it;default:return Dr}}function Zn(e,t){let{inferredType:r,ast:n}=Oe(e),{type:s}=r,o,u,h;switch(s){case"Identifier":case"Literal":o=e,u=e;break;case"Object":{let{depth:p}=r;o=Ct,u=p===1?Rt(n,!0):null,h=Rt(n);break}case"Element":{let{identifier:p}=r;o=p!=null&&!_r(p)?p:it,u=gn(e).length===1?e:null,h=e;break}case"Array":{let{depth:p}=r;o=vr,u=p<=2?Dn(n,!0):null,h=Dn(n);break}default:o=wu(s),u=gn(e).length===1?e:null,h=e;break}return me({name:t,short:o,compact:u,full:h,inferredType:s})}function ku({raw:e}){return e!=null?Zn(e,"custom"):me({name:"custom",short:Dr,compact:Dr})}function Iu(e){let{jsDocTags:t}=e;return t!=null&&(t.params!=null||t.returns!=null)?me({name:"func",short:Su(t.params,t.returns),compact:null,full:_u(t.params,t.returns)}):me({name:"func",short:tt,compact:tt})}function Tu(e,t){let r=Object.keys(e.value).map(u=>`${u}: ${rt(e.value[u],t).full}`).join(", "),{inferredType:n,ast:s}=Oe(`{ ${r} }`),{depth:o}=n;return me({name:"shape",short:Ct,compact:o===1&&s?Rt(s,!0):null,full:s?Rt(s):null})}function sr(e){return`objectOf(${e})`}function Pu(e,t){let{short:r,compact:n,full:s}=rt(e.value,t);return me({name:"objectOf",short:sr(r),compact:n!=null?sr(n):null,full:s&&sr(s)})}function Nu(e,t){if(Array.isArray(e.value)){let r=e.value.reduce((n,s)=>{let{short:o,compact:u,full:h}=rt(s,t);return n.short.push(o),n.compact.push(u),n.full.push(h),n},{short:[],compact:[],full:[]});return me({name:"union",short:r.short.join(" | "),compact:r.compact.every(n=>n!=null)?r.compact.join(" | "):null,full:r.full.join(" | ")})}return me({name:"union",short:e.value,compact:null})}function Lu({value:e,computed:t}){return t?Zn(e,"enumvalue"):me({name:"enumvalue",short:e,compact:e})}function Ou(e){if(Array.isArray(e.value)){let t=e.value.reduce((r,n)=>{let{short:s,compact:o,full:u}=Lu(n);return r.short.push(s),r.compact.push(o),r.full.push(u),r},{short:[],compact:[],full:[]});return me({name:"enum",short:t.short.join(" | "),compact:t.compact.every(r=>r!=null)?t.compact.join(" | "):null,full:t.full.join(" | ")})}return me({name:"enum",short:e.value,compact:e.value})}function yr(e){return`${e}[]`}function An(e){return`[${e}]`}function Cn(e,t,r){return me({name:"arrayOf",short:yr(e),compact:t!=null?An(t):null,full:r&&An(r)})}function Ru(e,t){let{name:r,short:n,compact:s,full:o,inferredType:u}=rt(e.value,t);if(r==="custom"){if(u==="Object")return Cn(n,s,o)}else if(r==="shape")return Cn(n,s,o);return me({name:"arrayOf",short:yr(n),compact:yr(n)})}function rt(e,t){try{switch(e.name){case"custom":return ku(e);case"func":return Iu(t);case"shape":return Tu(e,t);case"instanceOf":return me({name:"instanceOf",short:e.value,compact:e.value});case"objectOf":return Pu(e,t);case"union":return Nu(e,t);case"enum":return Ou(e);case"arrayOf":return Ru(e,t);default:return me({name:e.name,short:e.name,compact:e.name})}}catch(r){console.error(r)}return me({name:"unknown",short:"unknown",compact:"unknown"})}function ju(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:r,compact:n,full:s}=rt(t,e);return n!=null&&!Fi(n)?ee(n):s?ee(r,s):ee(r)}case"func":{let{short:r,full:n}=rt(t,e),s=r,o;return n&&n.length{let n=(r==null?void 0:r.summary)==="element"||(r==null?void 0:r.summary)==="elementType",s=Qn(e,t);if(s!=null){if(n)return ee(jt(s));let{hasParams:o}=Oe(e.toString()).inferredType;return ee(Br(s,o))}return ee(n?it:tt)},Vu=xu({function:Mu});function qu(e,t){let{propTypes:r}=t;return r!=null?Object.keys(r).map(n=>e.find(s=>s.name===n)).filter(Boolean):e}function Uu(e,t){let{propDef:r}=e,n=ju(e);n!=null&&(r.type=n);let{defaultValue:s}=e.docgenInfo;if(s!=null&&s.value!=null){let o=Un(s.value);o!=null&&(r.defaultValue=o)}else if(t!=null){let o=vu(t,r,Vu);o!=null&&(r.defaultValue=o)}return r}function Wu(e,t){let r=t.defaultProps!=null?t.defaultProps:{},n=e.map(s=>Uu(s,r[s.propDef.name]));return qu(n,t)}function zu(e,t){let{propDef:r}=e,{defaultValue:n}=e.docgenInfo;if(n!=null&&n.value!=null){let s=Un(n.value);s!=null&&(r.defaultValue=s)}return r}function Gu(e){return e.map(t=>zu(t))}var En=new Map;Object.keys(un.default).forEach(e=>{let t=un.default[e];En.set(t,e),En.set(t.isRequired,e)});function $u(e,t){let r=e;!Ei(e)&&!e.propTypes&&Ln(e)&&(r=e.type);let n=yi(r,t);if(n.length===0)return[];switch(n[0].typeSystem){case qr.JAVASCRIPT:return Wu(n,e);case qr.TYPESCRIPT:return Gu(n);default:return n.map(s=>s.propDef)}}var Ju=e=>({rows:$u(e,"props")}),Xu=e=>{if(e){let{rows:t}=Ju(e);if(t)return t.reduce((r,n)=>{let{name:s,description:o,type:u,sbType:h,defaultValue:p,jsDocTags:m,required:g}=n;return r[s]={name:s,description:o,type:{required:g,...h},table:{type:u??void 0,jsDocTags:m,defaultValue:p??void 0}},r},{})}return null},ur=Xn,Hu=e=>e.charAt(0).toUpperCase()+e.slice(1),Qu=e=>(e.$$typeof||e).toString().replace(/^Symbol\((.*)\)$/,"$1").split(".").map(t=>t.split("_").map(Hu).join("")).join(".");function Fr(e){if(Ge.isValidElement(e)){let t=Object.keys(e.props).reduce((r,n)=>(r[n]=Fr(e.props[n]),r),{});return{...e,props:t,_owner:null}}return Array.isArray(e)?e.map(Fr):e}var Yu=(e,t)=>{if(typeof e>"u")return vt.warn("Too many skip or undefined component"),null;let r=e,n=r.type;for(let u=0;u<(t==null?void 0:t.skip);u+=1){if(typeof r>"u")return vt.warn("Cannot skip undefined element"),null;if(ft.Children.count(r)>1)return vt.warn("Trying to skip an array of elements"),null;typeof r.props.children>"u"?(vt.warn("Not enough children to skip elements."),typeof r.type=="function"&&r.type.name===""&&(r=ft.createElement(n,{...r.props}))):typeof r.props.children=="function"?r=r.props.children():r=r.props.children}let s;typeof(t==null?void 0:t.displayName)=="string"?s={showFunctions:!0,displayName:()=>t.displayName}:s={displayName:u=>{var h;return u.type.displayName?u.type.displayName:Ur(u.type,"displayName")?Ur(u.type,"displayName"):(h=u.type.render)!=null&&h.displayName?u.type.render.displayName:typeof u.type=="symbol"||u.type.$$typeof&&typeof u.type.$$typeof=="symbol"?Qu(u.type):u.type.name&&u.type.name!=="_default"?u.type.name:typeof u.type=="function"?"No Display Name":gs(u.type)?u.type.render.name:Ln(u.type)?u.type.type.name:u.type}};let o={...s,filterProps:(u,h)=>u!==void 0,...t};return ft.Children.map(e,u=>{let h=typeof u=="number"?u.toString():u,p=(typeof ur=="function"?ur:ur.default)(Fr(h),o);if(p.indexOf(""")>-1){let m=p.match(/\S+=\\"([^"]*)\\"/g);m&&m.forEach(g=>{p=p.replace(g,g.replace(/"/g,"'"))})}return p}).join(` +`).replace(/function\s+noRefCheck\(\)\s*\{\}/g,"() => {}")},Ku={skip:0,showFunctions:!1,enableBeautify:!0,showDefaultProps:!1},Zu=e=>{var n;let t=(n=e==null?void 0:e.parameters.docs)==null?void 0:n.source,r=e==null?void 0:e.parameters.__isArgsStory;return(t==null?void 0:t.type)===Vr.DYNAMIC?!1:!r||(t==null?void 0:t.code)||(t==null?void 0:t.type)===Vr.CODE},ea=e=>{var t,r;return((t=e.type)==null?void 0:t.displayName)==="MDXCreateElement"&&!!((r=e.props)!=null&&r.mdxType)},ei=e=>{if(!ea(e))return e;let{mdxType:t,originalType:r,children:n,...s}=e.props,o=[];return n&&(o=(Array.isArray(n)?n:[n]).map(ei)),Ge.createElement(r,s,...o)},ti=(e,t)=>{var g,F;let r=vi.getChannel(),n=Zu(t),s="";_i(()=>{if(!n){let{id:A,unmappedArgs:C}=t;r.emit(Ci,{id:A,source:s,args:C})}});let o=e();if(n)return o;let u={...Ku,...(t==null?void 0:t.parameters.jsx)||{}},h=(F=(g=t==null?void 0:t.parameters.docs)==null?void 0:g.source)!=null&&F.excludeDecorators?t.originalStoryFn(t.args,t):o,p=ei(h),m=Yu(p,u);return m&&(s=m),o},ta=(e,t)=>{let r=t.findIndex(s=>s.originalFn===ti),n=r===-1?t:[...t.splice(r,1),...t];return xi(e,n)},ra={docs:{story:{inline:!0},extractArgTypes:Xu,extractComponentDescription:Ai}},na=[ti],ia=[Di];export{ta as applyDecorators,ia as argTypesEnhancers,na as decorators,ra as parameters}; diff --git a/storybook-static/assets/entry-preview-uxPp1lTZ.js b/storybook-static/assets/entry-preview-uxPp1lTZ.js new file mode 100644 index 0000000..de6e427 --- /dev/null +++ b/storybook-static/assets/entry-preview-uxPp1lTZ.js @@ -0,0 +1,2 @@ +const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/test-utils-CKET_awV.js","assets/index-MPVjHJeJ.js","assets/react-18-DX46YMEZ.js"])))=>i.map(i=>d[i]); +import{_ as pe}from"./iframe-CPAQYodo.js";import{_ as Ae,a as O,b as ge}from"./chunk-XP5HYGXS-BpfKkqn7.js";import{r as k,e as Y,R as we}from"./index-MPVjHJeJ.js";var ne={};const{global:xe}=__STORYBOOK_MODULE_GLOBAL__;var Q=O({"../../node_modules/semver/internal/constants.js"(c,l){var r="2.0.0",a=Number.MAX_SAFE_INTEGER||9007199254740991,n=16,t=250,E=["major","premajor","minor","preminor","patch","prepatch","prerelease"];l.exports={MAX_LENGTH:256,MAX_SAFE_COMPONENT_LENGTH:n,MAX_SAFE_BUILD_LENGTH:t,MAX_SAFE_INTEGER:a,RELEASE_TYPES:E,SEMVER_SPEC_VERSION:r,FLAG_INCLUDE_PRERELEASE:1,FLAG_LOOSE:2}}}),Z=O({"../../node_modules/semver/internal/debug.js"(c,l){var r=typeof process=="object"&&ne&&ne.NODE_DEBUG&&/\bsemver\b/i.test(ne.NODE_DEBUG)?(...a)=>console.error("SEMVER",...a):()=>{};l.exports=r}}),z=O({"../../node_modules/semver/internal/re.js"(c,l){var{MAX_SAFE_COMPONENT_LENGTH:r,MAX_SAFE_BUILD_LENGTH:a,MAX_LENGTH:n}=Q(),t=Z();c=l.exports={};var E=c.re=[],h=c.safeRe=[],e=c.src=[],f=c.safeSrc=[],i=c.t={},v=0,s="[a-zA-Z0-9-]",u=[["\\s",1],["\\d",n],[s,a]],p=I=>{for(let[T,A]of u)I=I.split(`${T}*`).join(`${T}{0,${A}}`).split(`${T}+`).join(`${T}{1,${A}}`);return I},o=(I,T,A)=>{let y=p(T),D=v++;t(I,D,T),i[I]=D,e[D]=T,f[D]=y,E[D]=new RegExp(T,A?"g":void 0),h[D]=new RegExp(y,A?"g":void 0)};o("NUMERICIDENTIFIER","0|[1-9]\\d*"),o("NUMERICIDENTIFIERLOOSE","\\d+"),o("NONNUMERICIDENTIFIER",`\\d*[a-zA-Z-]${s}*`),o("MAINVERSION",`(${e[i.NUMERICIDENTIFIER]})\\.(${e[i.NUMERICIDENTIFIER]})\\.(${e[i.NUMERICIDENTIFIER]})`),o("MAINVERSIONLOOSE",`(${e[i.NUMERICIDENTIFIERLOOSE]})\\.(${e[i.NUMERICIDENTIFIERLOOSE]})\\.(${e[i.NUMERICIDENTIFIERLOOSE]})`),o("PRERELEASEIDENTIFIER",`(?:${e[i.NUMERICIDENTIFIER]}|${e[i.NONNUMERICIDENTIFIER]})`),o("PRERELEASEIDENTIFIERLOOSE",`(?:${e[i.NUMERICIDENTIFIERLOOSE]}|${e[i.NONNUMERICIDENTIFIER]})`),o("PRERELEASE",`(?:-(${e[i.PRERELEASEIDENTIFIER]}(?:\\.${e[i.PRERELEASEIDENTIFIER]})*))`),o("PRERELEASELOOSE",`(?:-?(${e[i.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${e[i.PRERELEASEIDENTIFIERLOOSE]})*))`),o("BUILDIDENTIFIER",`${s}+`),o("BUILD",`(?:\\+(${e[i.BUILDIDENTIFIER]}(?:\\.${e[i.BUILDIDENTIFIER]})*))`),o("FULLPLAIN",`v?${e[i.MAINVERSION]}${e[i.PRERELEASE]}?${e[i.BUILD]}?`),o("FULL",`^${e[i.FULLPLAIN]}$`),o("LOOSEPLAIN",`[v=\\s]*${e[i.MAINVERSIONLOOSE]}${e[i.PRERELEASELOOSE]}?${e[i.BUILD]}?`),o("LOOSE",`^${e[i.LOOSEPLAIN]}$`),o("GTLT","((?:<|>)?=?)"),o("XRANGEIDENTIFIERLOOSE",`${e[i.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`),o("XRANGEIDENTIFIER",`${e[i.NUMERICIDENTIFIER]}|x|X|\\*`),o("XRANGEPLAIN",`[v=\\s]*(${e[i.XRANGEIDENTIFIER]})(?:\\.(${e[i.XRANGEIDENTIFIER]})(?:\\.(${e[i.XRANGEIDENTIFIER]})(?:${e[i.PRERELEASE]})?${e[i.BUILD]}?)?)?`),o("XRANGEPLAINLOOSE",`[v=\\s]*(${e[i.XRANGEIDENTIFIERLOOSE]})(?:\\.(${e[i.XRANGEIDENTIFIERLOOSE]})(?:\\.(${e[i.XRANGEIDENTIFIERLOOSE]})(?:${e[i.PRERELEASELOOSE]})?${e[i.BUILD]}?)?)?`),o("XRANGE",`^${e[i.GTLT]}\\s*${e[i.XRANGEPLAIN]}$`),o("XRANGELOOSE",`^${e[i.GTLT]}\\s*${e[i.XRANGEPLAINLOOSE]}$`),o("COERCEPLAIN",`(^|[^\\d])(\\d{1,${r}})(?:\\.(\\d{1,${r}}))?(?:\\.(\\d{1,${r}}))?`),o("COERCE",`${e[i.COERCEPLAIN]}(?:$|[^\\d])`),o("COERCEFULL",e[i.COERCEPLAIN]+`(?:${e[i.PRERELEASE]})?(?:${e[i.BUILD]})?(?:$|[^\\d])`),o("COERCERTL",e[i.COERCE],!0),o("COERCERTLFULL",e[i.COERCEFULL],!0),o("LONETILDE","(?:~>?)"),o("TILDETRIM",`(\\s*)${e[i.LONETILDE]}\\s+`,!0),c.tildeTrimReplace="$1~",o("TILDE",`^${e[i.LONETILDE]}${e[i.XRANGEPLAIN]}$`),o("TILDELOOSE",`^${e[i.LONETILDE]}${e[i.XRANGEPLAINLOOSE]}$`),o("LONECARET","(?:\\^)"),o("CARETTRIM",`(\\s*)${e[i.LONECARET]}\\s+`,!0),c.caretTrimReplace="$1^",o("CARET",`^${e[i.LONECARET]}${e[i.XRANGEPLAIN]}$`),o("CARETLOOSE",`^${e[i.LONECARET]}${e[i.XRANGEPLAINLOOSE]}$`),o("COMPARATORLOOSE",`^${e[i.GTLT]}\\s*(${e[i.LOOSEPLAIN]})$|^$`),o("COMPARATOR",`^${e[i.GTLT]}\\s*(${e[i.FULLPLAIN]})$|^$`),o("COMPARATORTRIM",`(\\s*)${e[i.GTLT]}\\s*(${e[i.LOOSEPLAIN]}|${e[i.XRANGEPLAIN]})`,!0),c.comparatorTrimReplace="$1$2$3",o("HYPHENRANGE",`^\\s*(${e[i.XRANGEPLAIN]})\\s+-\\s+(${e[i.XRANGEPLAIN]})\\s*$`),o("HYPHENRANGELOOSE",`^\\s*(${e[i.XRANGEPLAINLOOSE]})\\s+-\\s+(${e[i.XRANGEPLAINLOOSE]})\\s*$`),o("STAR","(<|>)?=?\\s*\\*"),o("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$"),o("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$")}}),ce=O({"../../node_modules/semver/internal/parse-options.js"(c,l){var r=Object.freeze({loose:!0}),a=Object.freeze({}),n=t=>t?typeof t!="object"?r:t:a;l.exports=n}}),Le=O({"../../node_modules/semver/internal/identifiers.js"(c,l){var r=/^[0-9]+$/,a=(t,E)=>{let h=r.test(t),e=r.test(E);return h&&e&&(t=+t,E=+E),t===E?0:h&&!e?-1:e&&!h?1:ta(E,t);l.exports={compareIdentifiers:a,rcompareIdentifiers:n}}}),q=O({"../../node_modules/semver/classes/semver.js"(c,l){var r=Z(),{MAX_LENGTH:a,MAX_SAFE_INTEGER:n}=Q(),{safeRe:t,safeSrc:E,t:h}=z(),e=ce(),{compareIdentifiers:f}=Le(),i=class X{constructor(s,u){if(u=e(u),s instanceof X){if(s.loose===!!u.loose&&s.includePrerelease===!!u.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>a)throw new TypeError(`version is longer than ${a} characters`);r("SemVer",s,u),this.options=u,this.loose=!!u.loose,this.includePrerelease=!!u.includePrerelease;let p=s.trim().match(u.loose?t[h.LOOSE]:t[h.FULL]);if(!p)throw new TypeError(`Invalid Version: ${s}`);if(this.raw=s,this.major=+p[1],this.minor=+p[2],this.patch=+p[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");p[4]?this.prerelease=p[4].split(".").map(o=>{if(/^[0-9]+$/.test(o)){let I=+o;if(I>=0&&I=0;)typeof this.prerelease[I]=="number"&&(this.prerelease[I]++,I=-2);if(I===-1){if(u===this.prerelease.join(".")&&p===!1)throw new Error("invalid increment argument: identifier already exists");this.prerelease.push(o)}}if(u){let I=[u,o];p===!1&&(I=[u]),f(this.prerelease[0],u)===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}};l.exports=i}}),H=O({"../../node_modules/semver/functions/parse.js"(c,l){var r=q(),a=(n,t,E=!1)=>{if(n instanceof r)return n;try{return new r(n,t)}catch(h){if(!E)return null;throw h}};l.exports=a}}),je=O({"../../node_modules/semver/functions/valid.js"(c,l){var r=H(),a=(n,t)=>{let E=r(n,t);return E?E.version:null};l.exports=a}}),Pe=O({"../../node_modules/semver/functions/clean.js"(c,l){var r=H(),a=(n,t)=>{let E=r(n.trim().replace(/^[=v]+/,""),t);return E?E.version:null};l.exports=a}}),Ce=O({"../../node_modules/semver/functions/inc.js"(c,l){var r=q(),a=(n,t,E,h,e)=>{typeof E=="string"&&(e=h,h=E,E=void 0);try{return new r(n instanceof r?n.version:n,E).inc(t,h,e).version}catch{return null}};l.exports=a}}),ye=O({"../../node_modules/semver/functions/diff.js"(c,l){var r=H(),a=(n,t)=>{let E=r(n,null,!0),h=r(t,null,!0),e=E.compare(h);if(e===0)return null;let f=e>0,i=f?E:h,v=f?h:E,s=!!i.prerelease.length;if(v.prerelease.length&&!s){if(!v.patch&&!v.minor)return"major";if(v.compareMain(i)===0)return v.minor&&!v.patch?"minor":"patch"}let u=s?"pre":"";return E.major!==h.major?u+"major":E.minor!==h.minor?u+"minor":E.patch!==h.patch?u+"patch":"prerelease"};l.exports=a}}),De=O({"../../node_modules/semver/functions/major.js"(c,l){var r=q(),a=(n,t)=>new r(n,t).major;l.exports=a}}),Ge=O({"../../node_modules/semver/functions/minor.js"(c,l){var r=q(),a=(n,t)=>new r(n,t).minor;l.exports=a}}),qe=O({"../../node_modules/semver/functions/patch.js"(c,l){var r=q(),a=(n,t)=>new r(n,t).patch;l.exports=a}}),Fe=O({"../../node_modules/semver/functions/prerelease.js"(c,l){var r=H(),a=(n,t)=>{let E=r(n,t);return E&&E.prerelease.length?E.prerelease:null};l.exports=a}}),V=O({"../../node_modules/semver/functions/compare.js"(c,l){var r=q(),a=(n,t,E)=>new r(n,E).compare(new r(t,E));l.exports=a}}),Ve=O({"../../node_modules/semver/functions/rcompare.js"(c,l){var r=V(),a=(n,t,E)=>r(t,n,E);l.exports=a}}),Ue=O({"../../node_modules/semver/functions/compare-loose.js"(c,l){var r=V(),a=(n,t)=>r(n,t,!0);l.exports=a}}),me=O({"../../node_modules/semver/functions/compare-build.js"(c,l){var r=q(),a=(n,t,E)=>{let h=new r(n,E),e=new r(t,E);return h.compare(e)||h.compareBuild(e)};l.exports=a}}),Xe=O({"../../node_modules/semver/functions/sort.js"(c,l){var r=me(),a=(n,t)=>n.sort((E,h)=>r(E,h,t));l.exports=a}}),be=O({"../../node_modules/semver/functions/rsort.js"(c,l){var r=me(),a=(n,t)=>n.sort((E,h)=>r(h,E,t));l.exports=a}}),J=O({"../../node_modules/semver/functions/gt.js"(c,l){var r=V(),a=(n,t,E)=>r(n,t,E)>0;l.exports=a}}),he=O({"../../node_modules/semver/functions/lt.js"(c,l){var r=V(),a=(n,t,E)=>r(n,t,E)<0;l.exports=a}}),_e=O({"../../node_modules/semver/functions/eq.js"(c,l){var r=V(),a=(n,t,E)=>r(n,t,E)===0;l.exports=a}}),Ne=O({"../../node_modules/semver/functions/neq.js"(c,l){var r=V(),a=(n,t,E)=>r(n,t,E)!==0;l.exports=a}}),fe=O({"../../node_modules/semver/functions/gte.js"(c,l){var r=V(),a=(n,t,E)=>r(n,t,E)>=0;l.exports=a}}),ve=O({"../../node_modules/semver/functions/lte.js"(c,l){var r=V(),a=(n,t,E)=>r(n,t,E)<=0;l.exports=a}}),Oe=O({"../../node_modules/semver/functions/cmp.js"(c,l){var r=_e(),a=Ne(),n=J(),t=fe(),E=he(),h=ve(),e=(f,i,v,s)=>{switch(i){case"===":return typeof f=="object"&&(f=f.version),typeof v=="object"&&(v=v.version),f===v;case"!==":return typeof f=="object"&&(f=f.version),typeof v=="object"&&(v=v.version),f!==v;case"":case"=":case"==":return r(f,v,s);case"!=":return a(f,v,s);case">":return n(f,v,s);case">=":return t(f,v,s);case"<":return E(f,v,s);case"<=":return h(f,v,s);default:throw new TypeError(`Invalid operator: ${i}`)}};l.exports=e}}),ke=O({"../../node_modules/semver/functions/coerce.js"(c,l){var r=q(),a=H(),{safeRe:n,t}=z(),E=(h,e)=>{if(h instanceof r)return h;if(typeof h=="number"&&(h=String(h)),typeof h!="string")return null;e=e||{};let f=null;if(!e.rtl)f=h.match(e.includePrerelease?n[t.COERCEFULL]:n[t.COERCE]);else{let o=e.includePrerelease?n[t.COERCERTLFULL]:n[t.COERCERTL],I;for(;(I=o.exec(h))&&(!f||f.index+f[0].length!==h.length);)(!f||I.index+I[0].length!==f.index+f[0].length)&&(f=I),o.lastIndex=I.index+I[1].length+I[2].length;o.lastIndex=-1}if(f===null)return null;let i=f[2],v=f[3]||"0",s=f[4]||"0",u=e.includePrerelease&&f[5]?`-${f[5]}`:"",p=e.includePrerelease&&f[6]?`+${f[6]}`:"";return a(`${i}.${v}.${s}${u}${p}`,e)};l.exports=E}}),Me=O({"../../node_modules/semver/internal/lrucache.js"(c,l){var r=class{constructor(){this.max=1e3,this.map=new Map}get(a){let n=this.map.get(a);if(n!==void 0)return this.map.delete(a),this.map.set(a,n),n}delete(a){return this.map.delete(a)}set(a,n){if(!this.delete(a)&&n!==void 0){if(this.map.size>=this.max){let t=this.map.keys().next().value;this.delete(t)}this.map.set(a,n)}return this}};l.exports=r}}),U=O({"../../node_modules/semver/classes/range.js"(c,l){var r=/\s+/g,a=class K{constructor(m,L){if(L=E(L),m instanceof K)return m.loose===!!L.loose&&m.includePrerelease===!!L.includePrerelease?m:new K(m.raw,L);if(m instanceof h)return this.raw=m.value,this.set=[[m]],this.formatted=void 0,this;if(this.options=L,this.loose=!!L.loose,this.includePrerelease=!!L.includePrerelease,this.raw=m.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 m=0;m0&&(this.formatted+="||");let L=this.set[m];for(let R=0;R0&&(this.formatted+=" "),this.formatted+=L[R].toString().trim()}}return this.formatted}format(){return this.range}toString(){return this.range}parseRange(m){let L=((this.options.includePrerelease&&o)|(this.options.loose&&I))+":"+m,R=t.get(L);if(R)return R;let _=this.options.loose,$=_?i[v.HYPHENRANGELOOSE]:i[v.HYPHENRANGE];m=m.replace($,ae(this.options.includePrerelease)),e("hyphen replace",m),m=m.replace(i[v.COMPARATORTRIM],s),e("comparator trim",m),m=m.replace(i[v.TILDETRIM],u),e("tilde trim",m),m=m.replace(i[v.CARETTRIM],p),e("caret trim",m);let N=m.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(i[v.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(m,L){if(!(m instanceof K))throw new TypeError("a Range is required");return this.set.some(R=>y(R,L)&&m.set.some(_=>y(_,L)&&R.every($=>_.every(N=>$.intersects(N,L)))))}test(m){if(!m)return!1;if(typeof m=="string")try{m=new f(m,this.options)}catch{return!1}for(let L=0;Ld.value==="<0.0.0-0",A=d=>d.value==="",y=(d,m)=>{let L=!0,R=d.slice(),_=R.pop();for(;L&&R.length;)L=R.every($=>_.intersects($,m)),_=R.pop();return L},D=(d,m)=>(e("comp",d,m),d=C(d,m),e("caret",d),d=b(d,m),e("tildes",d),d=S(d,m),e("xrange",d),d=te(d,m),e("stars",d),d),P=d=>!d||d.toLowerCase()==="x"||d==="*",b=(d,m)=>d.trim().split(/\s+/).map(L=>F(L,m)).join(" "),F=(d,m)=>{let L=m.loose?i[v.TILDELOOSE]:i[v.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,m)=>d.trim().split(/\s+/).map(L=>G(L,m)).join(" "),G=(d,m)=>{e("caret",d,m);let L=m.loose?i[v.CARETLOOSE]:i[v.CARET],R=m.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,m)=>(e("replaceXRanges",d,m),d.split(/\s+/).map(L=>B(L,m)).join(" ")),B=(d,m)=>{d=d.trim();let L=m.loose?i[v.XRANGELOOSE]:i[v.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=m.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,m)=>(e("replaceStars",d,m),d.trim().replace(i[v.STAR],"")),se=(d,m)=>(e("replaceGTE0",d,m),d.trim().replace(i[m.includePrerelease?v.GTE0PRE:v.GTE0],"")),ae=d=>(m,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,m,L)=>{for(let R=0;R0){let _=d[R].semver;if(_.major===m.major&&_.minor===m.minor&&_.patch===m.patch)return!0}return!1}return!0}}}),ee=O({"../../node_modules/semver/classes/comparator.js"(c,l){var r=Symbol("SemVer ANY"),a=class ue{static get ANY(){return r}constructor(s,u){if(u=n(u),s instanceof ue){if(s.loose===!!u.loose)return s;s=s.value}s=s.trim().split(/\s+/).join(" "),e("comparator",s,u),this.options=u,this.loose=!!u.loose,this.parse(s),this.semver===r?this.value="":this.value=this.operator+this.semver.version,e("comp",this)}parse(s){let u=this.options.loose?t[E.COMPARATORLOOSE]:t[E.COMPARATOR],p=s.match(u);if(!p)throw new TypeError(`Invalid comparator: ${s}`);this.operator=p[1]!==void 0?p[1]:"",this.operator==="="&&(this.operator=""),p[2]?this.semver=new f(p[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 f(s,this.options)}catch{return!1}return h(s,this.operator,this.semver,this.options)}intersects(s,u){if(!(s instanceof ue))throw new TypeError("a Comparator is required");return this.operator===""?this.value===""?!0:new i(s.value,u).test(this.value):s.operator===""?s.value===""?!0:new i(this.value,u).test(s.semver):(u=n(u),u.includePrerelease&&(this.value==="<0.0.0-0"||s.value==="<0.0.0-0")||!u.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,u)&&this.operator.startsWith(">")&&s.operator.startsWith("<")||h(this.semver,">",s.semver,u)&&this.operator.startsWith("<")&&s.operator.startsWith(">")))}};l.exports=a;var n=ce(),{safeRe:t,t:E}=z(),h=Oe(),e=Z(),f=q(),i=U()}}),re=O({"../../node_modules/semver/functions/satisfies.js"(c,l){var r=U(),a=(n,t,E)=>{try{t=new r(t,E)}catch{return!1}return t.test(n)};l.exports=a}}),He=O({"../../node_modules/semver/ranges/to-comparators.js"(c,l){var r=U(),a=(n,t)=>new r(n,t).set.map(E=>E.map(h=>h.value).join(" ").trim().split(" "));l.exports=a}}),Be=O({"../../node_modules/semver/ranges/max-satisfying.js"(c,l){var r=q(),a=U(),n=(t,E,h)=>{let e=null,f=null,i=null;try{i=new a(E,h)}catch{return null}return t.forEach(v=>{i.test(v)&&(!e||f.compare(v)===-1)&&(e=v,f=new r(e,h))}),e};l.exports=n}}),We=O({"../../node_modules/semver/ranges/min-satisfying.js"(c,l){var r=q(),a=U(),n=(t,E,h)=>{let e=null,f=null,i=null;try{i=new a(E,h)}catch{return null}return t.forEach(v=>{i.test(v)&&(!e||f.compare(v)===1)&&(e=v,f=new r(e,h))}),e};l.exports=n}}),Ye=O({"../../node_modules/semver/ranges/min-version.js"(c,l){var r=q(),a=U(),n=J(),t=(E,h)=>{E=new a(E,h);let e=new r("0.0.0");if(E.test(e)||(e=new r("0.0.0-0"),E.test(e)))return e;e=null;for(let f=0;f{let u=new r(s.semver.version);switch(s.operator){case">":u.prerelease.length===0?u.patch++:u.prerelease.push(0),u.raw=u.format();case"":case">=":(!v||n(u,v))&&(v=u);break;case"<":case"<=":break;default:throw new Error(`Unexpected operation: ${s.operator}`)}}),v&&(!e||n(e,v))&&(e=v)}return e&&E.test(e)?e:null};l.exports=t}}),ze=O({"../../node_modules/semver/ranges/valid.js"(c,l){var r=U(),a=(n,t)=>{try{return new r(n,t).range||"*"}catch{return null}};l.exports=a}}),de=O({"../../node_modules/semver/ranges/outside.js"(c,l){var r=q(),a=ee(),{ANY:n}=a,t=U(),E=re(),h=J(),e=he(),f=ve(),i=fe(),v=(s,u,p,o)=>{s=new r(s,o),u=new t(u,o);let I,T,A,y,D;switch(p){case">":I=h,T=f,A=e,y=">",D=">=";break;case"<":I=e,T=i,A=h,y="<",D="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(E(s,u,o))return!1;for(let P=0;P{G.semver===n&&(G=new a(">=0.0.0")),F=F||G,C=C||G,I(G.semver,F.semver,o)?F=G:A(G.semver,C.semver,o)&&(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};l.exports=v}}),Ke=O({"../../node_modules/semver/ranges/gtr.js"(c,l){var r=de(),a=(n,t,E)=>r(n,t,">",E);l.exports=a}}),Qe=O({"../../node_modules/semver/ranges/ltr.js"(c,l){var r=de(),a=(n,t,E)=>r(n,t,"<",E);l.exports=a}}),Ze=O({"../../node_modules/semver/ranges/intersects.js"(c,l){var r=U(),a=(n,t,E)=>(n=new r(n,E),t=new r(t,E),n.intersects(t,E));l.exports=a}}),Je=O({"../../node_modules/semver/ranges/simplify.js"(c,l){var r=re(),a=V();l.exports=(n,t,E)=>{let h=[],e=null,f=null,i=n.sort((p,o)=>a(p,o,E));for(let p of i)r(p,t,E)?(f=p,e||(e=p)):(f&&h.push([e,f]),f=null,e=null);e&&h.push([e,null]);let v=[];for(let[p,o]of h)p===o?v.push(p):!o&&p===i[0]?v.push("*"):o?p===i[0]?v.push(`<=${o}`):v.push(`${p} - ${o}`):v.push(`>=${p}`);let s=v.join(" || "),u=typeof t.raw=="string"?t.raw:String(t);return s.length{if(u===p)return!0;u=new r(u,o),p=new r(p,o);let I=!1;e:for(let T of u.set){for(let A of p.set){let y=i(T,A,o);if(I=I||y!==null,y)continue e}if(I)return!1}return!0},e=[new a(">=0.0.0-0")],f=[new a(">=0.0.0")],i=(u,p,o)=>{if(u===p)return!0;if(u.length===1&&u[0].semver===n){if(p.length===1&&p[0].semver===n)return!0;o.includePrerelease?u=e:u=f}if(p.length===1&&p[0].semver===n){if(o.includePrerelease)return!0;p=f}let I=new Set,T,A;for(let S of u)S.operator===">"||S.operator===">="?T=v(T,S,o):S.operator==="<"||S.operator==="<="?A=s(A,S,o):I.add(S.semver);if(I.size>1)return null;let y;if(T&&A&&(y=E(T.semver,A.semver,o),y>0||y===0&&(T.operator!==">="||A.operator!=="<=")))return null;for(let S of I){if(T&&!t(S,String(T),o)||A&&!t(S,String(A),o))return null;for(let B of p)if(!t(S,String(B),o))return!1;return!0}let D,P,b,F,C=A&&!o.includePrerelease&&A.semver.prerelease.length?A.semver:!1,G=T&&!o.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 p){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=v(T,S,o),D===S&&D!==T)return!1}else if(T.operator===">="&&!t(T.semver,String(S),o))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,o),P===S&&P!==A)return!1}else if(A.operator==="<="&&!t(A.semver,String(S),o))return!1}if(!S.operator&&(A||T)&&y!==0)return!1}return!(T&&b&&!A&&y!==0||A&&F&&!T&&y!==0||G||C)},v=(u,p,o)=>{if(!u)return p;let I=E(u.semver,p.semver,o);return I>0?u:I<0||p.operator===">"&&u.operator===">="?p:u},s=(u,p,o)=>{if(!u)return p;let I=E(u.semver,p.semver,o);return I<0?u:I>0||p.operator==="<"&&u.operator==="<="?p:u};l.exports=h}}),rr=O({"../../node_modules/semver/index.js"(c,l){var r=z(),a=Q(),n=q(),t=Le(),E=H(),h=je(),e=Pe(),f=Ce(),i=ye(),v=De(),s=Ge(),u=qe(),p=Fe(),o=V(),I=Ve(),T=Ue(),A=me(),y=Xe(),D=be(),P=J(),b=he(),F=_e(),C=Ne(),G=fe(),S=ve(),B=Oe(),te=ke(),se=ee(),ae=U(),ie=re(),d=He(),m=Be(),L=We(),R=Ye(),_=ze(),$=de(),N=Ke(),w=Qe(),g=Ze(),x=Je(),j=er();l.exports={parse:E,valid:h,clean:e,inc:f,diff:i,major:v,minor:s,patch:u,prerelease:p,compare:o,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:m,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:a.SEMVER_SPEC_VERSION,RELEASE_TYPES:a.RELEASE_TYPES,compareIdentifiers:t.compareIdentifiers,rcompareIdentifiers:t.rcompareIdentifiers}}}),tr={};ge(tr,{beforeAll:()=>pr,decorators:()=>Er,mount:()=>or,parameters:()=>ur,render:()=>ir,renderToCanvas:()=>lr});var Re=Ae(rr()),sr={...we};function $e(c){globalThis.IS_REACT_ACT_ENVIRONMENT=c}function ar(){return globalThis.IS_REACT_ACT_ENVIRONMENT}var Se=async()=>{var c;if(typeof sr.act!="function"){let l=await pe(()=>import("./test-utils-CKET_awV.js").then(r=>r.t),__vite__mapDeps([0,1]));((c=l==null?void 0:l.default)==null?void 0:c.act)??l.act}return l=>l()},ir=(c,l)=>{let{id:r,component:a}=l;if(!a)throw new Error(`Unable to render story ${r} as the component annotation is missing from the default export`);return Y.createElement(a,{...c})},{FRAMEWORK_OPTIONS:le}=xe,nr=class extends k.Component{constructor(){super(...arguments),this.state={hasError:!1}}static getDerivedStateFromError(){return{hasError:!0}}componentDidMount(){let{hasError:c}=this.state,{showMain:l}=this.props;c||l()}componentDidCatch(c){let{showException:l}=this.props;l(c)}render(){let{hasError:c}=this.state,{children:l}=this.props;return c?null:l}},Ie=le!=null&&le.strictMode?k.StrictMode:k.Fragment,Ee=[],oe=!1,Te=async()=>{if(oe||Ee.length===0)return;oe=!0;let c=Ee.shift();c&&await c(),oe=!1,Te()};async function lr({storyContext:c,unboundStoryFn:l,showMain:r,showException:a,forceRemount:n},t){let{renderElement:E,unmountElement:h}=await pe(async()=>{const{renderElement:s,unmountElement:u}=await import("./react-18-DX46YMEZ.js").then(p=>p.b);return{renderElement:s,unmountElement:u}},__vite__mapDeps([2,1])),e=l,f=c.parameters.__isPortableStory?Y.createElement(e,{...c}):Y.createElement(nr,{showMain:r,showException:a},Y.createElement(e,{...c})),i=Ie?Y.createElement(Ie,null,f):f;n&&h(t);let v=await Se();return await new Promise(async(s,u)=>{Ee.push(async()=>{try{await v(async()=>{var p,o;await E(i,t,(o=(p=c==null?void 0:c.parameters)==null?void 0:p.react)==null?void 0:o.rootOptions)}),s()}catch(p){u(p)}}),Te()}),async()=>{await v(()=>{h(t)})}}var or=c=>async l=>(l!=null&&(c.originalStoryFn=()=>l),await c.renderToCanvas(),c.canvas),ur={renderer:"react"},Er=[(c,l)=>{var n,t;if(!((t=(n=l.parameters)==null?void 0:n.react)!=null&&t.rsc))return c();let r=Re.default.major(k.version),a=Re.default.minor(k.version);if(r<18||r===18&&a<3)throw new Error("React Server Components require React >= 18.3");return k.createElement(k.Suspense,null,c())}],pr=async()=>{try{let{configure:c}=await pe(async()=>{const{configure:r}=await import("./index-Domkg0jQ.js").then(a=>a.a);return{configure:r}},[]),l=await Se();c({unstable_advanceTimersWrapper:r=>l(r),asyncWrapper:async r=>{let a=ar();$e(!1);try{let n=await r();return await new Promise(t=>{setTimeout(()=>{t()},0),cr()&&jest.advanceTimersByTime(0)}),n}finally{$e(a)}},eventWrapper:r=>{let a;return l(()=>(a=r(),a)),a}})}catch{}};function cr(){return typeof jest<"u"&&jest!==null?setTimeout._isMockFunction===!0||Object.prototype.hasOwnProperty.call(setTimeout,"clock"):!1}export{pr as beforeAll,Er as decorators,or as mount,ur as parameters,ir as render,lr as renderToCanvas}; diff --git a/storybook-static/assets/iframe-CPAQYodo.js b/storybook-static/assets/iframe-CPAQYodo.js new file mode 100644 index 0000000..8906ebb --- /dev/null +++ b/storybook-static/assets/iframe-CPAQYodo.js @@ -0,0 +1,211 @@ +const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/nav-CCVeh-3w.js","assets/jsx-runtime-D_zvdyIk.js","assets/index-CB3_FCD4.js","assets/index-MPVjHJeJ.js","assets/Introduce-Cbr15kRu.js","assets/Page.stories-CmwSLAP_.js","assets/Test-DYyZzibc.js","assets/preview-CQwBxdXq.js","assets/preview-BRwVwHpN.css","assets/entry-preview-uxPp1lTZ.js","assets/chunk-XP5HYGXS-BpfKkqn7.js","assets/entry-preview-docs-DRzGA3BA.js","assets/index-CXQShRbs.js","assets/preview-B8lJiyuQ.js","assets/index-DrFu-skq.js","assets/preview-BWzBA1C2.js","assets/preview-Dyg8NwXV.js","assets/index-Domkg0jQ.js"])))=>i.map(i=>d[i]); +(function(){const e=document.createElement("link").relList;if(e&&e.supports&&e.supports("modulepreload"))return;for(const a of document.querySelectorAll('link[rel="modulepreload"]'))o(a);new MutationObserver(a=>{for(const i of a)if(i.type==="childList")for(const u of i.addedNodes)u.tagName==="LINK"&&u.rel==="modulepreload"&&o(u)}).observe(document,{childList:!0,subtree:!0});function r(a){const i={};return a.integrity&&(i.integrity=a.integrity),a.referrerPolicy&&(i.referrerPolicy=a.referrerPolicy),a.crossOrigin==="use-credentials"?i.credentials="include":a.crossOrigin==="anonymous"?i.credentials="omit":i.credentials="same-origin",i}function o(a){if(a.ep)return;a.ep=!0;const i=r(a);fetch(a.href,i)}})();const scriptRel="modulepreload",assetsURL=function(t){return"/root/tw-story/"+t},seen={},__vitePreload=function(e,r,o){let a=Promise.resolve();if(r&&r.length>0){let u=function(d){return Promise.all(d.map(m=>Promise.resolve(m).then(h=>({status:"fulfilled",value:h}),h=>({status:"rejected",reason:h}))))};document.getElementsByTagName("link");const l=document.querySelector("meta[property=csp-nonce]"),c=(l==null?void 0:l.nonce)||(l==null?void 0:l.getAttribute("nonce"));a=u(r.map(d=>{if(d=assetsURL(d),d in seen)return;seen[d]=!0;const m=d.endsWith(".css"),h=m?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${d}"]${h}`))return;const g=document.createElement("link");if(g.rel=m?"stylesheet":scriptRel,m||(g.as="script"),g.crossOrigin="",g.href=d,c&&g.setAttribute("nonce",c),document.head.appendChild(g),m)return new Promise((J,ne)=>{g.addEventListener("load",J),g.addEventListener("error",()=>ne(new Error(`Unable to preload CSS for ${d}`)))})}))}function i(u){const l=new Event("vite:preloadError",{cancelable:!0});if(l.payload=u,window.dispatchEvent(l),!l.defaultPrevented)throw u}return a.then(u=>{for(const l of u||[])l.status==="rejected"&&i(l.reason);return e().catch(i)})};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 a of nl(e))!il.call(t,a)&&a!==r&&et(t,a,{get:()=>e[a],enumerable:!(o=ol(e,a))||o.enumerable});return t},ue=(t,e,r)=>(r=t!=null?tl(sl(t)):{},al(et(r,"default",{value:t,enumerable:!0}),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,a,i){function u(d,m){if(!a[d]){if(!o[d]){var h=typeof cr=="function"&&cr;if(!m&&h)return h(d,!0);if(l)return l(d,!0);var g=new Error("Cannot find module '"+d+"'");throw g.code="MODULE_NOT_FOUND",g}var J=a[d]={exports:{}};o[d][0].call(J.exports,function(ne){var le=o[d][1][ne];return u(le||ne)},J,J.exports,r,o,a,i)}return a[d].exports}n(u,"s");for(var l=typeof cr=="function"&&cr,c=0;c=0)return this.lastItem=this.list[l],this.list[l].val},i.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))},i.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]},i.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)},i.prototype.forEach=function(u,l){var c;for(c=0;c0&&(F[ce]={cacheItem:ne,arg:arguments[ce]},se?u(h,F):h.push(F),h.length>d&&l(h.shift())),J.wasMemoized=se,J.numArgs=ce+1,re},"memoizerific");return J.limit=d,J.wasMemoized=!1,J.cache=m,J.lru=h,J}};function u(d,m){var h=d.length,g=m.length,J,ne,le;for(ne=0;ne=0&&(h=d[J],g=h.cacheItem.get(h.arg),!g||!g.size);J--)h.cacheItem.delete(h.arg)}n(l,"removeCachedResult");function c(d,m){return d===m||d!==d&&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(a){return Object.keys(a).concat(Object.getOwnPropertySymbols(a))}:Object.keys;return function(a,i){return n(function u(l,c,d){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(d.indexOf(l)>-1&&d.indexOf(c)>-1)return!0;if(d.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],d)})))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,d))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{Object.defineProperty(t,"__esModule",{value:!0}),t.encodeString=o;var e=Array.from({length:256},(a,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 o(a){let i=a.length;if(i===0)return"";let u="",l=0,c=0;e:for(;c>6]+e[128|d&63];continue}if(d<55296||d>=57344){l=c+1,u+=e[224|d>>12]+e[128|d>>6&63]+e[128|d&63];continue}if(++c,c>=i)throw new Error("URI malformed");let m=a.charCodeAt(c)&1023;l=c+1,d=65536+((d&1023)<<10|m),u+=e[240|d>>18]+e[128|d>>12&63]+e[128|d>>6&63]+e[128|d&63]}return l===0?a:l{Object.defineProperty(t,"__esModule",{value:!0}),t.defaultOptions=t.defaultShouldSerializeObject=t.defaultValueSerializer=void 0;var e=qn(),r=n(i=>{switch(typeof i){case"string":return(0,e.encodeString)(i);case"bigint":case"boolean":return""+i;case"number":if(Number.isFinite(i))return i<1e21?""+i:(0,e.encodeString)(""+i);break}return i instanceof Date?(0,e.encodeString)(i.toISOString()):""},"defaultValueSerializer");t.defaultValueSerializer=r;var o=n(i=>i instanceof Date,"defaultShouldSerializeObject");t.defaultShouldSerializeObject=o;var a=n(i=>i,"identityFunc");t.defaultOptions={nesting:!0,nestingSyntax:"dot",arrayRepeat:!1,arrayRepeatSyntax:"repeat",delimiter:38,valueDeserializer:a,valueSerializer:t.defaultValueSerializer,keyDeserializer:a,shouldSerializeObject:t.defaultShouldSerializeObject}}),Vn=q(t=>{Object.defineProperty(t,"__esModule",{value:!0}),t.getDeepObject=a,t.stringifyObject=m;var e=It(),r=qn();function o(h){return h==="__proto__"||h==="constructor"||h==="prototype"}n(o,"isPrototypeKey");function a(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(a,"getDeepObject");var i=20,u="[]",l="[",c="]",d=".";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>i)return"";let Ft="",jt=!0,qe=!1;for(let Dt in h){let p=h[Dt],A;ne?(A=ne,Nt?F==="bracket"&&(A+=u):Bt?(A+=d,A+=Dt):(A+=l,A+=Dt,A+=c)):A=Dt,jt||(Ft+=we),typeof p=="object"&&p!==null&&!ve(p)?(qe=p.pop!==void 0,(se||ce&&qe)&&(Ft+=m(p,g,J+1,A,qe))):(Ft+=(0,r.encodeString)(A),Ft+="=",Ft+=Ve(p,Dt)),jt&&(jt=!1)}return Ft}n(m,"stringifyObject")}),na=q((t,e)=>{var r=12,o=0,a=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,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(c){var d=c.indexOf("%");if(d===-1)return c;for(var m=c.length,h="",g=0,J=0,ne=d,le=r;d>-1&&d>10),56320+(J&1023)),J=0,g=d+3,d=ne=c.indexOf("%",g);else{if(le===o)return null;if(d+=3,d{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(),a=e(na()),i=n(h=>{let g=Number(h);return Number.isNaN(g)?h:g},"numberKeyDeserializer");t.numberKeyDeserializer=i;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 d(h,g,J,ne,le){let re=h.substring(g,J);return ne&&(re=re.replace(l," ")),le&&(re=(0,a.default)(re)||re),re}n(d,"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,p="",A="",B=!1,de=!1,pe=!1,Lt=!1,qt=!1,Ut=!1,Mt=!1,Gt=0,lr=-1,zr=-1,Qr=-1;for(let Vt=0;VtBt,Mt||(Ft=Vt),jt!==Ft-1&&(A=d(h,jt+1,lr>-1?lr:Ft,pe,B),p=ne(A),Dt!==void 0&&(qe=(0,r.getDeepObject)(qe,Dt,p,Ve&&qt,Ve&&Ut))),Mt||p!==""){Mt&&(Nt=h.slice(Ft+1,Vt),Lt&&(Nt=Nt.replace(l," ")),de&&(Nt=(0,a.default)(Nt)||Nt));let Jr=J(Nt,p);if(ce){let Zr=qe[p];Zr===void 0?lr>-1?qe[p]=[Jr]:qe[p]=Jr:Zr.pop?Zr.push(Jr):qe[p]=[Zr,Jr]}else qe[p]=Jr}Nt="",Bt=Vt,Ft=Vt,B=!1,de=!1,pe=!1,Lt=!1,qt=!1,Ut=!1,lr=-1,jt=Vt,qe=ve,Dt=void 0,p=""}else Gt===93?(ce&&le==="bracket"&&Qr===91&&(lr=zr),re&&(F==="index"||Ve)&&Ft<=Bt&&(jt!==zr&&(A=d(h,jt+1,Vt,pe,B),p=ne(A),Dt!==void 0&&(qe=(0,r.getDeepObject)(qe,Dt,p,void 0,Ve)),Dt=p,pe=!1,B=!1),jt=Vt,Ut=!0,qt=!1)):Gt===46?re&&(F==="dot"||Ve)&&Ft<=Bt&&(jt!==zr&&(A=d(h,jt+1,Vt,pe,B),p=ne(A),Dt!==void 0&&(qe=(0,r.getDeepObject)(qe,Dt,p,Ve)),Dt=p,pe=!1,B=!1),qt=!0,Ut=!1,jt=Vt):Gt===91?re&&(F==="index"||Ve)&&Ft<=Bt&&(jt!==zr&&(A=d(h,jt+1,Vt,pe,B),p=ne(A),Ve&&Dt!==void 0&&(qe=(0,r.getDeepObject)(qe,Dt,p,Ve)),Dt=p,pe=!1,B=!1,qt=!1,Ut=!0),jt=Vt):Gt===61?Ft<=Bt?Ft=Vt:de=!0:Gt===43?Ft>Bt?Lt=!0:pe=!0:Gt===37&&(Ft>Bt?de=!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,a){if(o===null||typeof o!="object")return"";let i=a??{};return(0,e.stringifyObject)(o,i)}n(r,"stringify")}),kt=q(t=>{var e=t&&t.__createBinding||(Object.create?function(i,u,l,c){c===void 0&&(c=l);var d=Object.getOwnPropertyDescriptor(u,l);(!d||("get"in d?!u.__esModule:d.writable||d.configurable))&&(d={enumerable:!0,get:n(function(){return u[l]},"get")}),Object.defineProperty(i,c,d)}:function(i,u,l,c){c===void 0&&(c=l),i[c]=u[l]}),r=t&&t.__exportStar||function(i,u){for(var l in i)l!=="default"&&!Object.prototype.hasOwnProperty.call(u,l)&&e(u,i,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 a=ca();Object.defineProperty(t,"stringify",{enumerable:!0,get:n(function(){return a.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(i){return i&&i.__esModule?i:{default:i}};Object.defineProperty(t,"__esModule",{value:!0});var r=e(ga()),o=String.fromCodePoint||function(i){var u="";return i>65535&&(i-=65536,u+=String.fromCharCode(i>>>10&1023|55296),i=56320|i&1023),u+=String.fromCharCode(i),u};function a(i){return i>=55296&&i<=57343||i>1114111?"�":(i in r.default&&(i=r.default[i]),o(i))}n(a,"decodeCodePoint"),t.default=a}),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()),a=e(Xn()),i=e(ba()),u=/&(?:[a-zA-Z0-9]+|#[xX][\da-fA-F]+|#\d+);/g;t.decodeXML=l(a.default),t.decodeHTMLStrict=l(r.default);function l(m){var h=d(m);return function(g){return String(g).replace(u,h)}}n(l,"getStrictDecoder");var c=n(function(m,h){return m{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),a=d(o);t.encodeXML=ce(o);var i=e(Kn()),u=c(i.default),l=d(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 d(F){for(var se=[],he=[],Ve=0,ve=Object.keys(F);Ve1?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(a.source+"|"+m.source,"g");function le(F){return F.replace(ne,g)}n(le,"escape"),t.escape=le;function re(F){return F.replace(a,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,d){return(!d||d<=0?e.decodeXML:e.decodeHTML)(c)}n(o,"decode"),t.decode=o;function a(c,d){return(!d||d<=0?e.decodeXML:e.decodeHTMLStrict)(c)}n(a,"decodeStrict"),t.decodeStrict=a;function i(c,d){return(!d||d<=0?r.encodeXML:r.encodeHTML)(c)}n(i,"encode"),t.encode=i;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(p,A){if(!(p instanceof A))throw new TypeError("Cannot call a class as a function")}n(r,"_classCallCheck");function o(p,A){for(var B=0;B=p.length?{done:!0}:{done:!1,value:p[de++]}},"n"),e:n(function(Mt){throw Mt},"e"),f:pe}}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(p)},"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(i,"_createForOfIteratorHelper");function u(p,A){if(p){if(typeof p=="string")return l(p,A);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 l(p,A)}}n(u,"_unsupportedIterableToArray");function l(p,A){(A==null||A>p.length)&&(A=p.length);for(var B=0,de=new Array(A);B0?p*40+55:0,qt=A>0?A*40+55:0,Ut=B>0?B*40+55:0;de[pe]=J([Lt,qt,Ut])}n(h,"setStyleColor");function g(p){for(var A=p.toString(16);A.length<2;)A="0"+A;return A}n(g,"toHexString");function J(p){var A=[],B=i(p),de;try{for(B.s();!(de=B.n()).done;){var pe=de.value;A.push(g(pe))}}catch(Lt){B.e(Lt)}finally{B.f()}return"#"+A.join("")}n(J,"toColorHexString");function ne(p,A,B,de){var pe;return A==="text"?pe=Ve(B,de):A==="display"?pe=re(p,B,de):A==="xterm256Foreground"?pe=Nt(p,de.colors[B]):A==="xterm256Background"?pe=Bt(p,de.colors[B]):A==="rgb"&&(pe=le(p,B)),pe}n(ne,"generateOutput");function le(p,A){A=A.substring(2).slice(0,-1);var B=+A.substr(0,2),de=A.substring(5).split(";"),pe=de.map(function(Lt){return("0"+Number(Lt).toString(16)).substr(-2)}).join("");return we(p,(B===38?"color:#":"background-color:#")+pe)}n(le,"handleRgb");function re(p,A,B){A=parseInt(A,10);var de={"-1":n(function(){return"
"},"_"),0:n(function(){return p.length&&ce(p)},"_"),1:n(function(){return ve(p,"b")},"_"),3:n(function(){return ve(p,"i")},"_"),4:n(function(){return ve(p,"u")},"_"),8:n(function(){return we(p,"display:none")},"_"),9:n(function(){return ve(p,"strike")},"_"),22:n(function(){return we(p,"font-weight:normal;text-decoration:none;font-style:normal")},"_"),23:n(function(){return Ft(p,"i")},"_"),24:n(function(){return Ft(p,"u")},"_"),39:n(function(){return Nt(p,B.fg)},"_"),49:n(function(){return Bt(p,B.bg)},"_"),53:n(function(){return we(p,"text-decoration:overline")},"_")},pe;return de[A]?pe=de[A]():4"}).join("")}n(ce,"resetStyles");function F(p,A){for(var B=[],de=p;de<=A;de++)B.push(de);return B}n(F,"range");function se(p){return function(A){return(p===null||A.category!==p)&&p!=="all"}}n(se,"notCategory");function he(p){p=parseInt(p,10);var A=null;return p===0?A="all":p===1?A="bold":2")}n(ve,"pushTag");function we(p,A){return ve(p,"span",A)}n(we,"pushStyle");function Nt(p,A){return ve(p,"span","color:"+A)}n(Nt,"pushForegroundColor");function Bt(p,A){return ve(p,"span","background-color:"+A)}n(Bt,"pushBackgroundColor");function Ft(p,A){var B;if(p.slice(-1)[0]===A&&(B=p.pop()),B)return""}n(Ft,"closeTag");function jt(p,A,B){var de=!1,pe=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){de=!0,Xr.trim().length===0&&(Xr="0"),Xr=Xr.trimRight(";").split(";");var Bn=i(Xr),zn;try{for(Bn.s();!(zn=Bn.n()).done;){var is=zn.value;B("display",is)}}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>pe&&de||(de=!1,p=p.replace(Kr.pattern,Kr.sub))}n(Vt,"process");var Jr=[],Zr=p,Tn=Zr.length;e:for(;Tn>0;){for(var Gn=0,Hn=0,So=Qr.length;Hn{(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,d){for(var m=0;m1&&arguments[1]!==void 0?arguments[1]:-1,"})?")),m=Number(c).toString().match(d);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 d,m,h;return d=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),p=!!(re.msie||re.rv);return{name:(ne=o[Ve])!==null&&ne!==void 0?ne:null,platform:(le=a[ve])!==null&&le!==void 0?le:null,userAgent:ce,version:we,shortVersion:we?i(parseFloat(we),2):null,isAndroid:Bt,isTablet:Ft,isMobile:jt,isDesktop:qe,isWebkit:Dt,isIE:p}},"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(d.prototype,m),h&&r(d,h),Object.defineProperty(d,"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(this.debug("getState",{state:this.state}),this.state),"getState"),this.subscribe=n((o,a)=>{let i=typeof o=="function",u=i?"*":o,l=i?o:a;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,a,i=new Promise((u,l)=>{o=n(()=>{this.syncing.state===ee.PENDING&&(this.syncing.state=ee.RESOLVED,u())},"syncingResolve"),a=n(c=>{this.syncing.state===ee.PENDING&&(this.syncing.state=ee.REJECTED,l(c))},"syncingReject")});this.syncing={state:ee.PENDING,promise:i,resolve:o,reject:a}}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((a,i)=>{e=n(u=>{a(u)},"resolveRef"),r=n((...u)=>{i(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 a={type:Ge.InternalEventType.SET_STATE,payload:{state:o,previousState:r}};this.emitToChannel(a,{actor:this.actor}),this.emitToListeners(a,{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),a=this.listeners.get("*");this.debug("emitToListeners",{event:e,eventInfo:r,eventTypeListeners:o,everythingListeners:a}),[...o??[],...a??[]].forEach(i=>i(e,r))}handleChannelEvents(e){var a,i,u,l,c;let{event:r,eventInfo:o}=e;if([o.actor.id,(a=o.forwardingActor)==null?void 0:a.id].includes(this.actor.id)){this.debug("handleChannelEvents: Ignoring event from self",{channelEvent:e});return}else if(((i=this.syncing)==null?void 0:i.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 d=!0;switch(r.type){case Ge.InternalEventType.EXISTING_STATE_REQUEST:d=!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:d=!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}d&&(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 d={type:Ge.InternalEventType.SET_STATE,payload:{state:r.payload,previousState:this.state}};this.state=r.payload,this.emitToListeners(d,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},a={};r.length>=1&&r[0]&&r[0].options&&(a=r[0].options);let i=n(()=>{this.transports.forEach(u=>{u.send(o,a)}),this.handleEvent(o)},"handler");this.isAsync?setImmediate(i):i()}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(a=>a!==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((...a)=>(this.removeListener(e,o),r(...a)),"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(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=//gi,a=/<\/span>/gi,i;for(r.push(e[0].replace(o,"%c").replace(a,"%c"));i=o.exec(e[0]);)r.push(i[2]),r.push("");for(let u=1;un(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 a of us(e))!Wl.call(t,a)&&a!==r&&ds(t,a,{get:n(()=>e[a],"get"),enumerable:!(o=Hl(e,a))||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()),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"),a=Object(o);if(typeof o=="string"||Object.prototype.toString.call(o)!=="[object Symbol]"||Object.prototype.toString.call(a)!=="[object Symbol]")return!1;var i=42;r[o]=i;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!==i||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,a=Object.prototype.toString,i="[object Function]";e.exports=n(function(u){var l=this;if(typeof l!="function"||a.call(l)!==i)throw new TypeError(r+l);for(var c=o.call(arguments,1),d,m=n(function(){if(this instanceof d){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"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%":a,"%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%":d,"%TypedArray%":J,"%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},le=n(function qe(Dt){var p;if(Dt==="%AsyncFunction%")p=u("async function () {}");else if(Dt==="%GeneratorFunction%")p=u("function* () {}");else if(Dt==="%AsyncGeneratorFunction%")p=u("async function* () {}");else if(Dt==="%AsyncGenerator%"){var A=qe("%AsyncGeneratorFunction%");A&&(p=A.prototype)}else if(Dt==="%AsyncIteratorPrototype%"){var B=qe("%AsyncGenerator%");B&&(p=h(B.prototype))}return ne[Dt]=p,p},"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),p=ve(qe,-1);if(Dt==="%"&&p!=="%")throw new o("invalid intrinsic syntax, expected closing `%`");if(p==="%"&&Dt!=="%")throw new o("invalid intrinsic syntax, expected opening `%`");var A=[];return Ve(qe,Nt,function(B,de,pe,Lt){A[A.length]=pe?Ve(Lt,Bt,"$1"):de||B}),A},"stringToPath3"),jt=n(function(qe,Dt){var p=qe,A;if(F(re,p)&&(A=re[p],p="%"+A[0]+"%"),F(ne,p)){var B=ne[p];if(B===g&&(B=le(p)),typeof B>"u"&&!Dt)throw new i("intrinsic "+qe+" exists, but is not available. Please file an issue!");return{alias:A,name:p,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 i("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof Dt!="boolean")throw new i('"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 p=Ft(qe),A=p.length>0?p[0]:"",B=jt("%"+A+"%",Dt),de=B.name,pe=B.value,Lt=!1,qt=B.alias;qt&&(A=qt[0],he(p,se([0,1],qt)));for(var Ut=1,Mt=!0;Ut=p.length){var Qr=l(pe,Gt);Mt=!!Qr,Mt&&"get"in Qr&&!("originalValue"in Qr.get)?pe=Qr.get:pe=pe[Gt]}else Mt=F(pe,Gt),pe=pe[Gt];Mt&&!Lt&&(ne[de]=pe)}}return pe},"GetIntrinsic")}}),Ql=Z({"node_modules/call-bind/index.js"(t,e){var r=To(),o=Rs(),a=o("%Function.prototype.apply%"),i=o("%Function.prototype.call%"),u=o("%Reflect.apply%",!0)||r.call(i,a),l=o("%Object.getOwnPropertyDescriptor%",!0),c=o("%Object.defineProperty%",!0),d=o("%Math.max%");if(c)try{c({},"a",{value:1})}catch{c=null}e.exports=n(function(h){var g=u(r,i,arguments);if(l&&c){var J=l(g,"length");J.configurable&&c(g,"length",{value:1+d(0,h.length-(arguments.length-1))})}return g},"callBind");var m=n(function(){return u(r,a,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(),a=o(r("String.prototype.indexOf"));e.exports=n(function(i,u){var l=r(i,!!u);return typeof l=="function"&&a(i,".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()(),a,i,u,l;o&&(a=r("Object.prototype.hasOwnProperty"),i=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,d=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&&a(J,"value");if(!ne)return!1;try{i(g,l)}catch(le){return le===u}}:function(g){return!g||typeof g!="object"&&typeof g!="function"?!1:d(g)===h},"isRegex")}}),tc=Z({"node_modules/is-function/index.js"(t,e){e.exports=o;var r=Object.prototype.toString;function o(a){if(!a)return!1;var i=r.call(a);return i==="[object Function]"||typeof a=="function"&&i!=="[object RegExp]"||typeof window<"u"&&(a===window.setTimeout||a===window.alert||a===window.confirm||a===window.prompt)}n(o,"isFunction3")}}),oc=Z({"node_modules/is-symbol/index.js"(t,e){var r=Object.prototype.toString,o=Es()();o?(a=Symbol.prototype.toString,i=/^Symbol\(.*\)$/,u=n(function(l){return typeof l.valueOf()!="symbol"?!1:i.test(a.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 a,i,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 a=yc.call(t);return o&&(e?t[hr]=r:delete t[hr]),a}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,a=Array(o);++r-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{let e=null,r=!1,o=!1,a=!1,i="";if(t.indexOf("//")>=0||t.indexOf("/*")>=0)for(let u=0;uAd(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 a=r;return a=a.replace(t,"function"),a+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,a)=>{try{e[a]&&e[a].toJSON,o[a]=e[a]}catch{r=!0}return o},{}),r?e:t}n(Os,"convertUnconventionalData");var _d=n(function(t){let e,r,o,a;return n(function(i,u){try{if(i==="")return a=[],e=new Map([[u,"[]"]]),r=new Map,o=[],u;let l=r.get(this)||this;for(;o.length&&l!==o[0];)o.shift(),a.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:d}=u,m=u.toString();return m.match(/(\[native code\]|WEBPACK_IMPORTED_MODULE|__webpack_exports__|__webpack_require__)/)?`_function_${d}|${(()=>{}).toString()}`:`_function_${d}|${xd(vd(i,m))}`}if((0,ic.default)(u)){if(!t.allowSymbol)return;let d=Symbol.keyFor(u);return d!==void 0?`_gsymbol_${d}`:`_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(a)}`;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 d=Array.isArray(u)?u:Os(u);if(u.constructor&&u.constructor.name&&u.constructor.name!=="Object"&&!Array.isArray(u)&&t.allowClass)try{Object.assign(d,{"_constructor-name_":u.constructor.name})}catch{}return a.push(i),o.unshift(d),e.set(u,JSON.stringify(a)),u!==d&&r.set(u,d),d}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,a])=>{a==="_undefined_"?r[o]=void 0:t.get(a)||(t.set(a,!0),e(a))}),Array.isArray(r)&&r.forEach((o,a)=>{o==="_undefined_"?(t.set(o,!0),r[a]=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(i=>{var c,d;try{return((c=i.contentWindow)==null?void 0:c.location.origin)===t.source.location.origin&&((d=i.contentWindow)==null?void 0:d.location.pathname)===t.source.location.pathname}catch{}try{return i.contentWindow===t.source}catch{}let u=i.getAttribute("src"),l;try{if(!u)return!1;({origin:l}=new URL(u,document.location.toString()))}catch{return!1}return l===t.origin}),a=r==null?void 0:r.getAttribute("src");if(a&&o.length===0){let{protocol:i,host:u,pathname:l}=new URL(a,document.location.toString());return`${i}//${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:a,allowFunction:i,allowSymbol:u,allowDate:l,allowError:c,allowUndefined:d,allowClass:m,maxDepth:h,space:g,lazyEval:J}=r||{},ne=Object.fromEntries(Object.entries({allowRegExp:a,allowFunction:i,allowSymbol:u,allowDate:l,allowError:c,allowUndefined:d,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:a,refId:i}=typeof r=="string"&&Sr(r)?dt(r,E$1.CHANNEL_OPTIONS||{}):r;if(o===Ds){let u=this.config.page==="manager"?' manager ':' preview ',l=Object.values(ge).includes(a.type)?`${a.type}`:`${a.type}`;if(i&&(a.refId=i),a.source=this.config.page==="preview"?e.origin:Fs(e),!a.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!==a.source?c:`${c} (on ${_o.origin} from ${a.source})`,...a.args),fe(this.handler,"ChannelHandler should be set"),this.handler(a)}}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:a})=>{let i=typeof a=="string"&&Sr(a)?dt(a):a;fe(this.handler),this.handler(i),i.type==="ping"&&(this.heartbeat(),this.send({type:"pong"}))},this.socket.onerror=a=>{r&&r(a)},this.socket.onclose=a=>{fe(this.handler),this.handler({type:Wt,args:[{reason:a.reason,code:a.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 a=window.location.protocol==="http:"?"ws":"wss",{hostname:i,port:u}=window.location,l=`${a}://${i}:${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],a=o.currentPhase,i=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 d=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=a,o.currentHooks=i,o.nextHookIndex=u,o.currentDecoratorName=l,d},"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(a=>Ls(a)));return a=>{let{hooks:i}=a;i.prevMountedDecorators??(i.prevMountedDecorators=new Set),i.mountedDecorators=new Set([e,...r]),i.currentContext=a,i.hasUpdates=!1;let u=o(a);for(ko=1;i.hasUpdates;)if(i.hasUpdates=!1,i.currentEffects=[],u=o(a),ko+=1,ko>jd)throw new Error("Too many re-renders. Storybook limits the number of renders to prevent an infinite loop.");return i.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 a={name:t,deps:r};return o.currentHooks.push(a),e(a),a}if(o.currentPhase==="UPDATE"){let a=o.getNextHook();if(a==null)throw new Error("Rendered more hooks than during the previous render.");return a.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&&a.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&&a.deps!=null&&r.length!==a.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: ${a.deps} +Incoming: ${r}`),(r==null||a.deps==null||!Md(r,a.deps))&&(e(a),a.deps=r),a}throw Lo()}n(Ud,"useHook");function yt(t,e,r){let{memoizedState:o}=Ud(t,a=>{a.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(a=>{r.current=typeof a=="function"?a(r.current):a,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,[a,i]=qs("useReducer",o);return[a,n(u=>i(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,a])=>r.on(o,a)),()=>{Object.entries(t).forEach(([o,a])=>r.removeListener(o,a))}),[...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(i=>t.emit(yr,{storyId:e,updatedArgs:i}),[t,e]),a=er(i=>t.emit(ur,{storyId:e,argNames:i}),[t,e]);return[r,o,a]}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 a=n(i=>(u,l)=>{let c=l.parameters&&l.parameters[e];return c&&c.disable||o&&!i&&!c?u(l):r(u,l,{options:i,parameters:c})},"decorator");return(...i)=>typeof i[0]=="function"?a()(...i):(...u)=>{if(u.length>1)return i.length>1?a(i)(...u):a(...i)(...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 a=0;aObject.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),a=Ho(e);if(o===Bo&&(o=ht),a===Bo&&(a=ht),o!==a)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 i=r.get(t),u=r.get(e);if(i!=null&&u!=null)return i===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 d=0;dye(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{let[r,o]=mt(e?e(t.getState()):t.getState());return Er(()=>t.onStateChange((a,i)=>{if(!e){o(a);return}let u=e(a),l=e(i);!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(a=>{try{a.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:a}){let i;return e===!0?i=`https://storybook.js.org/error/${bi({code:r,category:o})}`:typeof e=="string"?i=e:Array.isArray(e)&&(i=` +${e.map(u=>` - ${u}`).join(` +`)}`),`${a}${i!=null?` + +More info: ${i} +`:""}`}};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()),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,a,i)=>{let u=mn(a,{type:r.value});return u!==rr&&(o[i]=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,[a,i])=>{let u=mn(i,{type:r.value[a]});return u===rr?o:Object.assign(o,{[a]:u})},{});default:return rr}},"map"),Ei=n((t,e)=>Object.entries(t).reduce((r,[o,a])=>{if(!e[o])return r;let i=mn(a,e[o]);return i===rr?r:Object.assign(r,{[o]:i})},{}),"mapArgsToTypes"),tr=n((t,e)=>Array.isArray(t)&&Array.isArray(e)?e.reduce((r,o,a)=>(r[a]=tr(t[a],e[a]),r),[...t]).filter(r=>r!==void 0):!$$1(t)||!$$1(e)?e:Object.keys({...t,...e}).reduce((r,o)=>{if(o in e){let a=tr(t[o],e[o]);a!==void 0&&(r[o]=a)}else r[o]=t[o];return r},{}),"combineArgs"),Ri=n((t,e)=>Object.entries(e).reduce((r,[o,{options:a}])=>{function i(){return o in t&&(r[o]=t[o]),r}if(n(i,"allowArg"),!a)return i();if(!Array.isArray(a))return j$1.error(_$1` + Invalid argType: '${o}.options' should be an array. + + More info: https://storybook.js.org/docs/api/arg-types + `),i();if(a.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 + `),i();let u=Array.isArray(t[o]),l=u&&t[o].findIndex(h=>!a.includes(h)),c=u&&l===-1;if(t[o]===void 0||a.includes(t[o])||c)return i();let d=u?`${o}[${l}]`:o,m=a.map(h=>typeof h=="string"?`'${h}'`:String(h)).join(", ");return j$1.warn(`Received illegal value for '${d}'. 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,a,i)=>{let u=or(t[i],a);return u!==Ie&&(o[i]=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 a=or(t==null?void 0:t[o],e==null?void 0:e[o]);return a===Ie?r:Object.assign(r,{[o]:a})},{}):e},"deepDiff"),hn="UNTARGETED";function Ai({args:t,argTypes:e}){let r={};return Object.entries(t).forEach(([o,a])=>{let{target:i=hn}=e[o]||{};r[i]=r[i]||{},r[i][o]=a}),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 a=Et(r);this.initialGlobals={...a,...e},this.globals=this.initialGlobals,o&&o!==Ie&&this.updateFromPersisted(o)}filterAllowedGlobals(e){return Object.entries(e).reduce((r,[o,a])=>(this.allowedGlobalNames.has(o)?r[o]=a: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()),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(i=>i.id.startsWith(e));let{name:o,title:a}=e;return r.find(i=>i.name===o&&i.title===a)}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,...a}=t,i={name:e,...a};return r&&(i.type=Vd(r)),o?i.control=Hd(o):o===!1&&(i.control={disable:!0}),i},"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,a)=>`${r} ${o}${a}`).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()),_i=n(t=>t.map(e=>typeof e<"u").filter(Boolean).length,"count"),Wd=n((t,e)=>{let{exists:r,eq:o,neq:a,truthy:i}=t;if(_i([r,o,a,i])>1)throw new Error(`Invalid conditional test ${JSON.stringify({exists:r,eq:o,neq:a})}`);if(typeof o<"u")return(0,En.isEqual)(e,o);if(typeof a<"u")return!(0,En.isEqual)(e,a);if(typeof r<"u"){let u=typeof e<"u";return r?u:!u}return typeof i>"u"||i?!!e:!e},"testValue"),Rn=n((t,e,r)=>{if(!t.if)return!0;let{arg:o,global:a}=t.if;if(_i([o,a])!==1)throw new Error(`Invalid conditional value ${JSON.stringify({arg:o,global:a})}`);let i=o?e[o]:r[a];return Wd(t.if,i)},"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,a=typeof e=="function"?e:null,{story:i}=o;i&&(I$1.debug("deprecated story",i),ae($d));let u=Ii(t),l=typeof o!="function"&&o.name||o.storyName||(i==null?void 0:i.name)||u,c=[...k(o.decorators),...k(i==null?void 0:i.decorators)],d={...i==null?void 0:i.parameters,...o.parameters},m={...i==null?void 0:i.args,...o.args},h={...i==null?void 0:i.argTypes,...o.argTypes},g=[...k(o.loaders),...k(i==null?void 0:i.loaders)],J=[...k(o.beforeEach),...k(i==null?void 0:i.beforeEach)],ne=[...k(o.experimental_afterEach),...k(i==null?void 0:i.experimental_afterEach)],{render:le,play:re,tags:ce=[],globals:F={}}=o,se=d.__id||Oi(r.id,u);return{moduleExport:e,id:se,name:l,tags:ce,decorators:c,parameters:d,args:m,argTypes:Fe(h),loaders:g,beforeEach:J,experimental_afterEach:ne,globals:F,...le&&{render:le},...a&&{userStoryFn:a},...re&&{play:re}}}n(De,"normalizeStory");function jr(t,e=t.title,r){let{id:o,argTypes:a}=t;return{id:An(o||e),...t,title:e,...a&&{argTypes:Fe(a)},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:a,...i}=t,u=Object.values(i)[0];if(nr(u)){let d=jr(u.meta.input,r,e);xt(d.parameters);let m={meta:d,stories:{},moduleExports:t};return Object.keys(i).forEach(h=>{if(Lr(h,d)){let g=De(h,i[h].input,d);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(i).forEach(d=>{if(Lr(d,l)){let m=De(d,i[d],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(a=>a.replace(/:.*|=.*/g,"")):[]}n(Xd,"getUsedProps");function Ni(t){let e=[],r=[],o=0;for(let i=0;ie(o,a)}n(xn,"decorateStory");function vn({componentId:t,title:e,kind:r,id:o,name:a,story:i,parameters:u,initialArgs:l,argTypes:c,...d}={}){return d}n(vn,"sanitizeStoryContextUpdate");function vt(t,e){let r={},o=n(i=>u=>{if(!r.value)throw new Error("Decorated function called without init");return r.value={...r.value,...vn(u)},i(r.value)},"bindWithContext"),a=e.reduce((i,u)=>xn(i,u,o),t);return i=>(r.value=i,a(i))}n(vt,"defaultDecorateStory");var Y=n((...t)=>{let e={},r=t.filter(Boolean),o=r.reduce((a,i)=>(Object.entries(i).forEach(([u,l])=>{let c=a[u];Array.isArray(l)||typeof c>"u"?a[u]=l:$$1(l)&&$$1(c)?e[u]=!0:typeof l<"u"&&(a[u]=l)}),a),{});return Object.keys(e).forEach(a=>{let i=r.filter(Boolean).map(u=>u[a]).filter(u=>typeof u<"u");i.every(u=>$$1(u))?o[a]=Y(...i):o[a]=i[i.length-1]}),o},"combineParameters");function sr(t,e,r){let{moduleExport:o,id:a,name:i}=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"),d=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:a});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:a,name:i,story:i,originalStoryFn:ne,undecoratedStoryFn:m,unboundStoryFn:re,applyLoaders:l,applyBeforeEach:c,applyAfterEach:d,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"],a=((ce=E$1.DOCS_OPTIONS)==null?void 0:ce.autodocs)===!0?["autodocs"]:[],i=Fi(...o,...a,...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,d=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:i,parameters:u,initialArgs:m,argTypes:d,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 i;let{args:e}=t,r={...t,allArgs:void 0,argsByTarget:void 0};if((i=E$1.FEATURES)!=null&&i.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 d=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(d):d(c),u},{}),a=Object.entries(o).reduce((u,[l,c])=>{let d=r.argTypes[l]||{};return Rn(d,o,r.globals)&&(u[l]=c),u},{});return{...r,unmappedArgs:e,args:a}}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,a=>wn(a,e,new Set(r)))}):{name:"object",value:{}}},"inferType"),_n=n(t=>{let{id:e,argTypes:r={},initialArgs:o={}}=t,a=oe(o,(u,l)=>({name:l,type:wn(u,`${e}.${l}`,new Set)})),i=oe(r,(u,l)=>({name:l}));return Y(a,i,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,a)=>{let i=o.name||a.toString();return!!(!e||ji(i,e))&&(!r||!ji(i,r))}),"filterArgTypes"),Jd=n((t,e,r)=>{let{type:o,options:a}=t;if(o){if(r.color&&r.color.test(e)){let i=o.name;if(i==="string")return{control:{type:"color"}};i!=="enum"&&I$1.warn(`Addon controls: Control of type color only supports string, received "${i}" 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:i}=o;return{control:{type:(i==null?void 0:i.length)<=5?"radio":"select"},options:i}}case"function":case"symbol":return null;default:return{control:{type:a?"select":"object"}}}}},"inferControl"),ir=n(t=>{let{argTypes:e,parameters:{__isArgsStory:r,controls:{include:o=null,exclude:a=null,matchers:i={}}={}}}=t;if(!r)return e;let u=Mr(e,o,a),l=oe(u,(c,d)=>(c==null?void 0:c.type)&&Jd(c,d.toString(),i));return Y(l,u)},"inferControls");ir.secondPass=!0;function Ne({argTypes:t,globalTypes:e,argTypesEnhancers:r,decorators:o,loaders:a,beforeEach:i,experimental_afterEach:u,globals:l,initialGlobals:c,...d}){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(a),beforeEach:k(i),experimental_afterEach:k(u),argTypesEnhancers:[...r||[],_n,ir],initialGlobals:Y(c,l),...d}}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((a,i)=>async()=>i(e,a,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,a)=>{let i=k(a);return r.reverseFileOrder?[...i,...o]:[...o,...i]},[])}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 a;let e=Te(t,"argTypesEnhancers"),r=Gr(t,"runStep"),o=Te(t,"beforeAll");return{parameters:Y(...Gr(t,"parameters")),decorators:Te(t,"decorators",{reverseFileOrder:!(((a=E$1.FEATURES)==null?void 0:a.legacyDecoratorFileOrder)??!1)}),args:Ur(t,"args"),argsEnhancers:Te(t,"argsEnhancers"),argTypes:Ur(t,"argTypes"),argTypesEnhancers:[...e.filter(i=>!i.secondPass),...e.filter(i=>i.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,a){var ce;if(t===void 0)throw new Error("Expected a story but received undefined.");e.title=e.title??Qd;let i=jr(e),u=a||t.storyName||((ce=t.story)==null?void 0:ce.name)||t.name||Zd,l=De(u,t,i),c=Ne(ke([o??globalThis.globalProjectAnnotations??{},r??{}])),d=sr(l,i,c),m={...Et(c.globalTypes),...c.initialGlobals,...d.storyGlobals},h=new Ee,g=n(()=>{let F=_t({hooks:new be,globals:m,args:{...d.initialArgs},viewMode:"story",reporting:h,loaded:{},abortSignal:new AbortController().signal,step:n((se,he)=>d.runStep(se,he,F),"step"),canvasElement:null,canvas:{},globalTypes:c.globalTypes,...d,context:null,mount:null});return F.parameters.__isPortableStory=!0,F.context=F,d.renderToCanvas&&(F.renderToCanvas=async()=>{var he;let se=await((he=d.renderToCanvas)==null?void 0:he.call(d,{componentId:d.componentId,title:d.title,id:d.id,name:d.name,tags:d.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(()=>d.unboundStoryFn(F),"storyFn"),unboundStoryFn:d.unboundStoryFn},F.canvasElement));se&&Re.push(se)}),F.mount=d.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),d.playFunction(se)},"play"),le=n(F=>{let se=g();return Object.assign(se,F),tu(d,se)},"run"),re=d.playFunction?ne:void 0;return Object.assign(n(function(F){let se=g();return J&&(se.loaded=J.loaded),se.args={...se.initialArgs,...F},d.unboundStoryFn(se)},"storyFn"),{id:d.id,storyName:u,load:n(async()=>{for(let se of[...Re].reverse())await se();Re.length=0;let F=g();F.loaded=await d.applyLoaders(F),Re.push(...(await d.applyBeforeEach(F)).filter(Boolean)),J=F},"load"),globals:m,args:d.initialArgs,parameters:d.parameters,argTypes:d.argTypes,play:re,run:le,reporting:h,tags:d.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:a,__namedExportsOrder:i,...u}=t,l=o;return Object.entries(u).reduce((c,[d,m])=>{let{story:h,meta:g}=Pt(m);return!l&&g&&(l=g),Lr(d,l)?Object.assign(c,{[d]:r(h,l,e,d)}):c},{})}n(qi,"composeStories");function Bi(t){return t.extend({mount:n(async({mount:e,page:r},o)=>{await o(async(a,...i)=>{if(!("__pw_type"in a)||"__pw_type"in a&&a.__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() + + More info: https://storybook.js.org/docs/api/portable-stories-playwright + `);await r.evaluate(async l=>{var d,m,h;let c=await((d=globalThis.__pwUnwrapObject)==null?void 0:d.call(globalThis,l));return(h=(m="__pw_type"in c?c.type:c)==null?void 0:m.load)==null?void 0:h.call(m)},a);let u=await e(a,...i);return await r.evaluate(async l=>{var h,g;let c=await((h=globalThis.__pwUnwrapObject)==null?void 0:h.call(globalThis,l)),d="__pw_type"in c?c.type:c,m=document.querySelector("#root");return(g=d==null?void 0:d.play)==null?void 0:g.call(d,{canvasElement:m})},a),u})},"mount")})}n(Bi,"createPlaywrightTest");async function tu(t,e){var a,i;for(let u of[...Re].reverse())await u();if(Re.length=0,!e.canvasElement){let u=document.createElement("div");(i=(a=globalThis==null?void 0:globalThis.document)==null?void 0:a.body)==null||i.appendChild(u),e.canvasElement=u,Re.push(()=>{var l,c,d,m;(c=(l=globalThis==null?void 0:globalThis.document)==null?void 0:l.body)!=null&&c.contains(u)&&((m=(d=globalThis==null?void 0:globalThis.document)==null?void 0:d.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:d}=this.storyIndex.entries[c.id];return{...Vi(c,["id","name","title"]),importPath:d,kind:c.title,story:c.name,parameters:{...Vi(c.parameters,l),fileName:d}}})}},"getStoriesJsonData"),this.storyIndex=new At(e),this.projectAnnotations=Ne(o);let{initialGlobals:a,globalTypes:i}=this.projectAnnotations;this.args=new Tt,this.userGlobals=new Rt({globals:a,globalTypes:i}),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),a=await this.importFn(r);return this.processCSFFileWithCache(a,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:a})=>(r[o]=a,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 a=r.meta,i=this.prepareStoryWithCache(o,a,r.projectAnnotations??this.projectAnnotations);return this.args.setInitial(i),this.hooks[i.id]=this.hooks[i.id]||new be,i}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:[],[a,...i]=await Promise.all([this.importFn(r.importPath),...o.map(u=>{let l=this.storyIndex.importPathToEntry(u);return this.loadCSFFileByStoryId(l.id)})]);return{entryExports:a,csfFiles:i}}getStoryContext(e,{forceInitialArgs:r=!1}={}){let o=this.userGlobals.get(),{initialGlobals:a}=this.userGlobals,i=new Ee;return _t({...e,args:r?e.initialArgs:this.args.get(e.id),initialGlobals:a,globalTypes:this.projectAnnotations.globalTypes,userGlobals:o,reporting:i,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,[a,{type:i,importPath:u}])=>{if(i==="docs")return o;let l=r[u],c=this.storyFromCSFFile({storyId:a,csfFile:l});return!e.includeDocsOnly&&c.parameters.docsOnly||(o[a]=Object.entries(c).reduce((d,[m,h])=>m==="moduleExport"||typeof h=="function"?d:Array.isArray(h)?Object.assign(d,{[m]:h.slice().sort()}):Object.assign(d,{[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:a})=>(o[a]={},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],a=this.storyFromCSFFile({storyId:e,csfFile:o});return{...a,storyFn:n(i=>{let u={...this.getStoryContext(a),abortSignal:new AbortController().signal,canvasElement:null,loaded:{},step:n((l,c)=>a.runStep(l,c,u),"step"),context:null,mount:null,canvas:{},viewMode:"story"};return a.unboundStoryFn({...u,...i})},"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:a,titlePrefix:i=""}=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(a.exec(u)){if(!r){let l=u.replace(o,""),c=zi([i,l]).split("/");return c=nu(c),c.join("/")}return i?zi([i,r]):r}},"userOrAutoTitleFromSpecifier"),Wi=n((t,e,r)=>{for(let o=0;o(e,r)=>{if(e.title===r.title&&!t.includeNames)return 0;let o=t.method||"configure",a=t.order||[],i=e.title.trim().split($i),u=r.title.trim().split($i);t.includeNames&&(i.push(e.name),u.push(r.name));let l=0;for(;i[l]||u[l];){if(!i[l])return-1;if(!u[l])return 1;let c=i[l],d=u[l];if(c!==d){let h=a.indexOf(c),g=a.indexOf(d),J=a.indexOf("*");return h!==-1||g!==-1?(h===-1&&(J!==-1?h=J:h=a.length),g===-1&&(J!==-1?g=J:g=a.length),h-g):o==="configure"?0:c.localeCompare(d,t.locales?t.locales:void 0,{numeric:!0,sensitivity:"accent"})}let m=a.indexOf(c);m===-1&&(m=a.indexOf("*")),a=m!==-1&&Array.isArray(a[m+1])?a[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,a)=>r.indexOf(o.importPath)-r.indexOf(a.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,a,i,u,l={autoplay:!0,forceInitialArgs:!1},c){this.channel=e,this.store=r,this.renderToScreen=o,this.callbacks=a,this.id=i,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 a=this.story;if(!o)throw new Error("cannot render when canvasElement is unset");let{id:i,componentId:u,title:l,name:c,tags:d,applyLoaders:m,applyBeforeEach:h,applyAfterEach:g,unboundStoryFn:J,playFunction:ne,runStep:le}=a;r&&!e&&(this.cancelRender(),this.abortController=new Xi);let re=this.abortController.signal,ce=!1,F=a.usesMount;try{let we={...this.storyContext(),viewMode:this.viewMode,abortSignal:re,canvasElement:o,loaded:{},step:n((B,de)=>le(B,de,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 pe,Lt;(Lt=(pe=this.callbacks).showStoryDuringRender)==null||Lt.call(pe);let de=null;return await this.runPhase(re,"rendering",async()=>{de=await a.mount(we)(...B)}),F&&await this.runPhase(re,"playing"),de},"mount")};we.context=we;let Nt={componentId:u,title:l,kind:l,id:i,name:c,story:c,tags:d,...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(a,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,i)),this.phase!=="errored"&&await this.runPhase(re,"afterEach",async()=>{await g(we)});let Dt=!Ft&&jt.size>0,p=we.reporting.reports.some(B=>B.status==="failed"),A=Dt||p;await this.runPhase(re,"finished",async()=>this.channel.emit(ot,{storyId:i,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: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(){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(),a=!0){this.importFn=e,this.getProjectAnnotations=r,this.channel=o,this.storyRenders=[],this.storeInitializationPromise=new Promise((i,u)=>{this.resolveStoreInitializationPromise=i,this.rejectStoreInitializationPromise=u}),a&&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(a){throw this.renderPreviewEntryError("Error in beforeAll hook:",a),a}}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:a,userGlobals:i,globals:u}=this.storyStoreValue.getStoryContext(r);this.channel.emit(Ce,{initialGlobals:o,userGlobals:i,storyGlobals:a,globals:u})}else{let{initialGlobals:o,globals:a}=this.storyStoreValue.userGlobals;this.channel.emit(Ce,{initialGlobals:o,userGlobals:a,storyGlobals:{},globals:a})}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 a=await((o=this.storyStoreValue)==null?void 0:o.loadStory(r));this.channel.emit(nt,{id:e,success:!0,payload:{argTypes:(a==null?void 0:a.argTypes)||{}},error:null})}catch(a){this.channel.emit(nt,{id:e,success:!1,error:a==null?void 0:a.message})}}async onResetArgs({storyId:e,argNames:r}){var i;if(!this.storyStoreValue)throw new V({methodName:"onResetArgs"});let o=((i=this.storyRenders.find(u=>u.id===e))==null?void 0:i.story)||await this.storyStoreValue.loadStory({storyId:e}),a=(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:a})}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,a){if(!this.renderToCanvas||!this.storyStoreValue)throw new V({methodName:"renderStoryToElement"});let i=new je(this.channel,this.storyStoreValue,this.renderToCanvas,o,e.id,"docs",a,e);return i.renderToElement(r),this.storyRenders.push(i),async()=>{await this.teardownRender(i)}}async teardownRender(e,{viewModeChanged:r}={}){var o;this.storyRenders=this.storyRenders.filter(a=>a!==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,a){this.channel=e,this.store=r,this.renderStoryToElement=o,this.storyIdByName=n(i=>{let u=this.nameToStoryId.get(i);if(u)return u;throw new Error(`No story found with that name: ${i}`)},"storyIdByName"),this.componentStories=n(()=>this.componentStoriesValue,"componentStories"),this.componentStoriesFromCSFFile=n(i=>this.store.componentStoriesFromCSFFile({csfFile:i}),"componentStoriesFromCSFFile"),this.storyById=n(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 u=this.storyIdToCSFFile.get(i);if(!u)throw new Error(`Called \`storyById\` for story that was never loaded: ${i}`);return this.store.storyFromCSFFile({storyId:i,csfFile:u})},"storyById"),this.getStoryContext=n(i=>({...this.store.getStoryContext(i),loaded:{},viewMode:"docs"}),"getStoryContext"),this.loadStory=n(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,a.forEach((i,u)=>{this.referenceCSFFile(i)})}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(" 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 ?");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: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 a=e;o=this.resolveAttachedModuleExportType(a)}else o=this.resolveModuleExport(e);if(r.length&&!r.includes(o.type)){let a=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 '${a}' 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,a){this.channel=e,this.store=r,this.entry=o,this.callbacks=a,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:a}=this.entry,i=this.store.processCSFFileWithCache(e,o,a),u=Object.keys(i.stories)[0];this.story=this.store.storyFromCSFFile({storyId:u,csfFile:i}),this.csfFiles=[i,...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:a}=this.story.parameters||{};if(!a)throw new Error("Cannot render a story in viewMode=docs if `@storybook/addon-docs` is not installed");let i=await a.renderer(),{render:u}=i,l=n(async()=>{try{await u(o,a,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||i.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,a){this.channel=e,this.store=r,this.entry=o,this.callbacks=a,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:a}=this.store.projectAnnotations.parameters||{};if(!a)throw new Error("Cannot render a story in viewMode=docs if `@storybook/addon-docs` is not installed");let i={...a,page:this.exports.default},u=await a.renderer(),{render:l}=u,c=n(async()=>{try{await l(o,i,e),this.channel.emit(pr,this.id)}catch(d){this.callbacks.showException(d)}},"renderDocs");return this.rerender=async()=>c(),this.teardownRender=async({viewModeChanged:d}={})=>{!d||!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,a){super(e,r,void 0,!1),this.importFn=e,this.getProjectAnnotations=r,this.selectionStore=o,this.view=a,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:a,type:i}=o;this.selectionStore.setSelection({storyId:a,viewMode:i}),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:a,shiftKey:i,key:u,code:l,keyCode:c}=e;this.channel.emit(Zt,{event:{altKey:r,ctrlKey:o,metaKey:a,shiftKey:i,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,a;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((a=(o=this.currentRender).rerender)==null?void 0:a.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:a}=o,i;try{i=await this.storyStoreValue.storyIdToEntry(a)}catch(re){this.currentRender&&await this.teardownRender(this.currentRender),this.renderStoryLoadingException(a,re);return}let u=((g=this.currentSelection)==null?void 0:g.storyId)!==a,l=((J=this.currentRender)==null?void 0:J.type)!==i.type;i.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;i.type==="story"?c=new je(this.channel,this.storyStoreValue,r,this.mainStoryCallbacks(a),a,"story"):du(i)?c=new Br(this.channel,this.storyStoreValue,i,this.mainStoryCallbacks(a)):c=new qr(this.channel,this.storyStoreValue,i,this.mainStoryCallbacks(a));let d=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(a,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,a),this.view.showMain();return}if(m&&await this.teardownRender(m,{viewModeChanged:l}),d&&(u||l)&&this.channel.emit(oo,a),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:a,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:a});({parameters:re}=this.storyStoreValue.preparedMetaFromCSFFile({csfFile:c.csfFiles[0]}))}this.channel.emit(Yt,{id:a,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(a=>a!==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:a=String(r),stack:i}=r;this.channel.emit(lo,{name:o,message:a,stack:i}),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()),da=ue(kt()),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,a])=>Wn(o,a)?Object.assign(r,{[o]:a}):(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:a,selectedStory:i,...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,a=Vr(e.viewMode);(typeof a!="string"||!a.match(/docs|story/))&&(a="story");let i=Vr(e.path),u=i?qu(i):Vr(e.id);if(u)return{storySpecifier:u,args:r,globals:o,viewMode:a}}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()),Ya=ue(kt()),{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,a=r,i=e.split(` +`);i.length>1&&([o]=i,a=i.slice(1).join(` +`).replace(/^\n/,"")),z$1.getElementById("error-message").innerHTML=Wa.toHtml(o),z$1.getElementById("error-stack").innerHTML=Wa.toHtml(a),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(a=>{let i=a.getAttribute("type");(!i||wf.includes(i))&&o.push(u=>Cf(a,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()),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 a of P(e))!_.call(t,a)&&a!==r&&f(t,a,{get:()=>e[a],enumerable:!(o=v(e,a))||o.enumerable});return t},C=(t,e,r)=>(r=t!=null?b(O(t)):{},j(f(r,"default",{value:t,enumerable:!0}),t)),T=$(t=>{Object.defineProperty(t,"__esModule",{value:!0}),t.isEqual=function(){var e=Object.prototype.toString,r=Object.getPrototypeOf,o=Object.getOwnPropertySymbols?function(a){return Object.keys(a).concat(Object.getOwnPropertySymbols(a))}:Object.keys;return function(a,i){return s(function u(l,c,d){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(d.indexOf(l)>-1&&d.indexOf(c)>-1)return!0;if(d.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],d)})))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,d))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`${r} ${o}${a}`).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()),x=s(t=>t.map(e=>typeof e<"u").filter(Boolean).length,"count"),E=s((t,e)=>{let{exists:r,eq:o,neq:a,truthy:i}=t;if(x([r,o,a,i])>1)throw new Error(`Invalid conditional test ${JSON.stringify({exists:r,eq:o,neq:a})}`);if(typeof o<"u")return(0,y.isEqual)(e,o);if(typeof a<"u")return!(0,y.isEqual)(e,a);if(typeof r<"u"){let u=typeof e<"u";return r?u:!u}return typeof i>"u"||i?!!e:!e},"testValue"),z=s((t,e,r)=>{if(!t.if)return!0;let{arg:o,global:a}=t.if;if(x([o,a])!==1)throw new Error(`Invalid conditional value ${JSON.stringify({arg:o,global:a})}`);let i=o?e[o]:r[a];return E(t.if,i)},"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,...a}=t;return e=N(M([...o??[],a])),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={"./packages/twu/nav/nav.mdx":()=>__vitePreload(()=>import("./nav-CCVeh-3w.js"),__vite__mapDeps([0,1,2,3])),"./stories/Introduce.mdx":()=>__vitePreload(()=>import("./Introduce-Cbr15kRu.js"),__vite__mapDeps([4,1,2,3])),"./stories/Page.stories.tsx":()=>__vitePreload(()=>import("./Page.stories-CmwSLAP_.js"),__vite__mapDeps([5,1])),"./stories/Test.mdx":()=>__vitePreload(()=>import("./Test-DYyZzibc.js"),__vite__mapDeps([6,1,2,3]))};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-CQwBxdXq.js"),__vite__mapDeps([7,8]));if(W(e.default))return e.default.composed;const r=await Promise.all([t[0]??__vitePreload(()=>import("./entry-preview-uxPp1lTZ.js"),__vite__mapDeps([9,10,3])),t[1]??__vitePreload(()=>import("./entry-preview-docs-DRzGA3BA.js"),__vite__mapDeps([11,10,12,3])),t[2]??__vitePreload(()=>import("./preview-DD_OYowb.js"),[]),t[3]??__vitePreload(()=>import("./preview-BGkG0iU-.js"),[]),t[4]??__vitePreload(()=>import("./preview-B8lJiyuQ.js"),__vite__mapDeps([13,14])),t[5]??__vitePreload(()=>import("./preview-CvbIS5ZJ.js"),[]),t[6]??__vitePreload(()=>import("./preview-BBWR9nbA.js"),[]),t[7]??__vitePreload(()=>import("./preview-BWzBA1C2.js"),__vite__mapDeps([15,14])),t[8]??__vitePreload(()=>import("./preview-DGUiP6tS.js"),[]),t[9]??__vitePreload(()=>import("./preview-Dyg8NwXV.js"),__vite__mapDeps([16,17]))]);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/storybook-static/assets/index-CB3_FCD4.js b/storybook-static/assets/index-CB3_FCD4.js new file mode 100644 index 0000000..969d2bd --- /dev/null +++ b/storybook-static/assets/index-CB3_FCD4.js @@ -0,0 +1 @@ +import{e}from"./index-MPVjHJeJ.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/storybook-static/assets/index-CXQShRbs.js b/storybook-static/assets/index-CXQShRbs.js new file mode 100644 index 0000000..68c7e37 --- /dev/null +++ b/storybook-static/assets/index-CXQShRbs.js @@ -0,0 +1,8 @@ +var B={exports:{}},bn=B.exports,Me;function Pn(){return Me||(Me=1,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{const t=oe(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 se=e=>{const t=h(e);return t==null?null:{type:"StringValue",text:t}},Vt=e=>e.length>0?null:{type:"EOF",text:""},Dt=e=>{const t=X(e);return t===null?null:{type:"Number",text:t}},Kt=[Vt,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"),Dt,Q,se],$t=/^\s*\n\s*/;class K{static create(t){const r=this.read(t);t=r.text;const s=this.read(t);return t=s.text,new K(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||$t.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=K.read(this.text);return new K(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 ie(e){return e.type==="JsdocTypeKeyValue"?H(e):w(e)}function qt(e){return e.type==="JsdocTypeName"?e:H(e)}function H(e){if(e.type!=="JsdocTypeKeyValue")throw new y(e);return e}function Mt(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 le(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=K.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 ce=(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 z=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)}}}),Ct=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)}}),Yt=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 Gt({allowTrailingComma:e}){return g({name:"parameterListParslet",accept:t=>t===",",precedence:f.PARAMETER_LIST,parseInfix:(t,r)=>{const s=[ie(r)];t.consume(",");do try{const c=t.parseIntermediateType(f.PARAMETER_LIST);s.push(ie(c))}catch(c){if(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 Wt=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}}}}),Xt=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]}}}),pe=[ce,z,Z,Bt,Ct,Yt,Gt({allowTrailingComma:!0}),Wt,Xt,z];function ee({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,re=!1;c.consume(".")?x="property":c.consume("[")?(x="property-brackets",re=!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 M;switch(O.type){case"JsdocTypeName":M={type:"JsdocTypeProperty",value:O.value,meta:{quote:void 0}};break;case"JsdocTypeNumber":M={type:"JsdocTypeProperty",value:O.value.toString(10),meta:{quote:void 0}};break;case"JsdocTypeStringValue":M={type:"JsdocTypeProperty",value:O.value,meta:{quote:O.meta.quote}};break;case"JsdocTypeSpecialNamePath":if(O.specialType==="event")M=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(re&&!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:M,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 te({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,ee({allowSquareBracketsOnAnyType:!1,allowJsdocNamePaths:!0,pathGrammar:null})],V=[...Re,te({allowedTypes:["event"],pathGrammar:Re})];function ue(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=>ie(r))}function Qt(e){const t=ue(e);if(t.some(r=>r.type==="JsdocTypeKeyValue"))throw new Error("No parameter should be named");return t}function ye({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=Qt(k);else{if(d&&k.type==="JsdocTypeFunction"&&k.arrow)return J=k,J.constructor=!0,J;J.parameters=ue(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 de({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=Mt(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 me({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 fe({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"||le(d)){if(le(d)&&!e)throw new y(d);v.consume(":");let x;d.type==="JsdocTypeStringValue"&&(x=d.meta.quote);const re=v.parseType(f.KEY_VALUE);return c.acceptLexerState(v),{type:"JsdocTypeObjectField",key:le(d)?d:d.value.toString(),right:re,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 Te({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 Le=[...pe,ye({allowWithoutParenthesis:!0,allowNamedParameters:["this","new"],allowNoReturnType:!0,allowNewAsFunctionKeyword:!1}),$,te({allowedTypes:["module","external","event"],pathGrammar:V}),de({allowEnclosingBrackets:!0,allowPostfix:!0}),I({allowedAdditionalTokens:["keyof"]}),_e,Fe,ee({allowSquareBracketsOnAnyType:!1,allowJsdocNamePaths:!0,pathGrammar:V})],Ht=[...Le,me({objectFieldGrammar:[I({allowedAdditionalTokens:["module","in"]}),fe({allowSquaredProperties:!1,allowKeyTypes:!0,allowOptional:!1,allowReadonly:!1}),...Le],allowKeyTypes:!0}),Te({allowOptional:!0,allowVariadic:!0})],je=g({name:"typeOfParslet",accept:e=>e==="typeof",parsePrefix:e=>(e.consume("typeof"),{type:"JsdocTypeTypeof",element:w(e.parseType(f.KEY_OF_TYPE_OF))})}),zt=[I({allowedAdditionalTokens:["module","keyof","event","external","in"]}),ce,z,$,Z,fe({allowSquaredProperties:!1,allowKeyTypes:!1,allowOptional:!1,allowReadonly:!1})],Zt=[...pe,me({allowKeyTypes:!1,objectFieldGrammar:zt}),I({allowedAdditionalTokens:["event","external","in"]}),je,ye({allowWithoutParenthesis:!1,allowNamedParameters:["this","new"],allowNoReturnType:!0,allowNewAsFunctionKeyword:!1}),de({allowEnclosingBrackets:!1,allowPostfix:!1}),I({allowedAdditionalTokens:["keyof"]}),te({allowedTypes:["module"],pathGrammar:V}),ee({allowSquareBracketsOnAnyType:!1,allowJsdocNamePaths:!0,pathGrammar:V}),Te({allowOptional:!1,allowVariadic:!1}),_e],en=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 tn({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(H):r.elements=s.elements.map(w):s.type==="JsdocTypeKeyValue"?r.elements=[H(s)]:r.elements=[w(s)],!t.consume("]"))throw new Error("Unterminated '['");if(r.elements.some(c=>c.type==="JsdocTypeUnknown"))throw new Error("Question mark in tuple not allowed");return r}})}const nn=g({name:"keyOfParslet",accept:e=>e==="keyof",parsePrefix:e=>(e.consume("keyof"),{type:"JsdocTypeKeyof",element:w(e.parseType(f.KEY_OF_TYPE_OF))})}),rn=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}}}),an=g({name:"readonlyPropertyParslet",accept:e=>e==="readonly",parsePrefix:e=>(e.consume("readonly"),{type:"JsdocTypeReadonlyProperty",element:e.parseType(f.KEY_VALUE)})}),on=g({name:"arrowFunctionParslet",precedence:f.ARROW,accept:e=>e==="=>",parseInfix:(e,t)=>(e.consume("=>"),{type:"JsdocTypeFunction",parameters:ue(t).map(qt),arrow:!0,constructor:!1,parenthesis:!0,returnType:e.parseType(f.OBJECT)})}),sn=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]}}}),ln=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))}}}),cn=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}}),pn=[an,I({allowedAdditionalTokens:["module","event","keyof","event","external","in"]}),ce,z,$,Z,fe({allowSquaredProperties:!0,allowKeyTypes:!1,allowOptional:!0,allowReadonly:!0}),cn],un=[...pe,me({allowKeyTypes:!1,objectFieldGrammar:pn}),je,nn,rn,$,ye({allowWithoutParenthesis:!0,allowNoReturnType:!1,allowNamedParameters:["this","new","args"],allowNewAsFunctionKeyword:!0}),tn({allowQuestionMark:!1}),de({allowEnclosingBrackets:!1,allowPostfix:!1}),en,I({allowedAdditionalTokens:["event","external","in"]}),te({allowedTypes:["module"],pathGrammar:V}),Fe,on,ee({allowSquareBracketsOnAnyType:!0,allowJsdocNamePaths:!1,pathGrammar:V}),sn,ln,Te({allowVariadic:!0,allowOptional:!0})];function Ue(e,t){switch(t){case"closure":return new U(Zt,e).parse();case"jsdoc":return new U(Ht,e).parse();case"typescript":return new U(un,e).parse()}}function yn(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 ne(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 De(){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?"...":ne(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)=>ne(e.meta.position,t(e.element),"!"),JsdocTypeNull:()=>"null",JsdocTypeNullable:(e,t)=>ne(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)=>ne(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 dn=De();function mn(e){return q(dn,e)}const fn=["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 fn.includes(e)&&(t.reservedWord=!0),t}const Tn={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 hn(e){return q(Tn,e)}function L(e){switch(e){case void 0:return"none";case"single":return"single";case"double":return"double"}}function gn(e){switch(e){case"inner":return"INNER_MEMBER";case"instance":return"INSTANCE_MEMBER";case"property":return"MEMBER";case"property-brackets":return"MEMBER"}}function he(e,t){return t.length===2?{type:e,left:t[0],right:t[1]}:{type:e,left:t[0],right:he(e,t.slice(1))}}const Jn={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:L(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:L(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:L(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:L(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=L(e.right.meta.quote)):(s=e.right.value,c=L(e.right.meta.quote));const d={type:gn(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)=>he("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:L(e.meta.quote),string:e.value}),JsdocTypeIntersection:(e,t)=>he("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 wn(e){return q(Jn,e)}function Nn(){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 Ke={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 ge(e,t,r,s,c){s==null||s(e,t,r);const d=Ke[e.type];for(const T of d){const J=e[T];if(J!==void 0)if(Array.isArray(J))for(const k of J)ge(k,e,T,s,c);else ge(J,e,T,s,c)}c==null||c(e,t,r)}function En(e,t,r){ge(e,void 0,void 0,t,r)}o.catharsisTransform=hn,o.identityTransformRules=Nn,o.jtpTransform=wn,o.parse=Ue,o.stringify=mn,o.stringifyRules=De,o.transform=q,o.traverse=En,o.tryParse=yn,o.visitorKeys=Ke})}(B,B.exports)),B.exports}var Je=Pn(),vn=Object.defineProperty,l=(n,a)=>vn(n,"name",{value:a,configurable:!0});const{UnknownArgTypesError:Sn}=__STORYBOOK_MODULE_CORE_EVENTS_PREVIEW_ERRORS__;var kn=l(n=>n.name==="literal","isLiteral"),xn=l(n=>n.value.replace(/['|"]/g,""),"toEnumOption"),On=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 Sn({type:n,language:"Flow"})}},"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"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(Y)};case"signature":return{...i,...On(n)};case"union":return(p=n.elements)!=null&&p.every(kn)?{...i,name:"enum",value:(u=n.elements)==null?void 0:u.map(xn)}:{...i,name:a,value:(y=n.elements)==null?void 0:y.map(Y)};case"intersection":return{...i,name:a,value:(m=n.elements)==null?void 0:m.map(Y)};default:return{...i,name:"other",value:a}}},"convert");function Be(n,a){let o={},i=Object.keys(n);for(let p=0;pn.replace(Ce,""),"trimQuotes"),An=l(n=>Ce.test(n),"includesQuotes"),Ye=l(n=>{let a=In(n);return An(n)||Number.isNaN(Number(a))?a:Number(a)},"parseLiteral"),Rn=/^\(.*\) => /,C=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=>Ye(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&&C(p)};case"object":return{...u,name:a};case"objectOf":return{...u,name:a,value:C(p)};case"shape":case"exact":let y=Be(p,m=>C(m));return{...u,name:"object",value:y};case"union":return{...u,name:"union",value:p.map(m=>C(m))};case"instanceOf":case"element":case"elementType":default:{if((a==null?void 0:a.indexOf("|"))>0)try{let b=a.split("|").map(N=>JSON.parse(N));return{...u,name:"enum",value:b}}catch{}let m=p?`${a}(${p})`:a,h=Rn.test(a)?"function":"other";return{...u,name:h,value:m}}}},"convert");const{UnknownArgTypesError:_n}=__STORYBOOK_MODULE_CORE_EVENTS_PREVIEW_ERRORS__;var Fn=l(n=>{switch(n.type){case"function":return{name:"function"};case"object":let a={};return n.signature.properties.forEach(o=>{a[o.key]=G(o.value)}),{name:"object",value:a};default:throw new _n({type:n,language:"Typescript"})}},"convertSig"),G=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(G)};case"signature":return{...i,...Fn(n)};case"union":let h;return(p=n.elements)!=null&&p.every(b=>b.name==="literal")?h={...i,name:"enum",value:(u=n.elements)==null?void 0:u.map(b=>Ye(b.value))}:h={...i,name:a,value:(y=n.elements)==null?void 0:y.map(G)},h;case"intersection":return{...i,name:a,value:(m=n.elements)==null?void 0:m.map(G)};default:return{...i,name:"other",value:a}}},"convert"),we=l(n=>{let{type:a,tsType:o,flowType:i}=n;try{if(a!=null)return C(a);if(o!=null)return G(o);if(i!=null)return Y(i)}catch(p){console.error(p)}return null},"convert"),Ln=(n=>(n.JAVASCRIPT="JavaScript",n.FLOW="Flow",n.TYPESCRIPT="TypeScript",n.UNKNOWN="Unknown",n))(Ln||{}),jn=["null","undefined"];function ae(n){return jn.some(a=>a===n)}l(ae,"isDefaultValueBlacklisted");var Un=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 Ge(n){return n!=null&&Object.keys(n).length>0}l(Ge,"isValidDocgenSection");function We(n,a){return Ne(n)?n.__docgenInfo[a]:null}l(We,"getDocgenSection");function Xe(n){return Ne(n)?Un(n.__docgenInfo.description):""}l(Xe,"getDocgenDescription");var _;(function(n){n.start="/**",n.nostart="/***",n.delim="*",n.end="*/"})(_=_||(_={}));function Qe(n){return/^\s+$/.test(n)}l(Qe,"isSpace");function He(n){let a=n.match(/\r+$/);return a==null?["",n]:[n.slice(-a[0].length),n.slice(0,-a[0].length)]}l(He,"splitCR");function j(n){let a=n.match(/^\s+/);return a==null?["",n]:[n.slice(0,a[0].length),n.slice(a[0].length)]}l(j,"splitSpace");function ze(n){return n.split(/\n/)}l(ze,"splitLines");function Ze(n={}){return Object.assign({tag:"",name:"",type:"",optional:!1,description:"",problems:[],source:[]},n)}l(Ze,"seedSpec");function et(n={}){return Object.assign({start:"",delimiter:"",postDelimiter:"",tag:"",postTag:"",name:"",postName:"",type:"",postType:"",description:"",end:"",lineEnd:""},n)}l(et,"seedTokens");var Vn=/^@\S+/;function tt({fence:n="```"}={}){let a=nt(n),o=l((i,p)=>a(i)?!p:p,"toggleFence");return l(function(i){let p=[[]],u=!1;for(let y of i)Vn.test(y.tokens.description)&&!u?p.push([y]):p[p.length-1].push(y),u=o(y.tokens.description,u);return p},"parseBlock")}l(tt,"getParser");function nt(n){return typeof n=="string"?a=>a.split(n).length%2===0:n}l(nt,"getFencer");function rt({startLine:n=0,markers:a=_}={}){let o=null,i=n;return l(function(p){let u=p,y=et();if([y.lineEnd,u]=He(u),[y.start,u]=j(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]=j(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]=j(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(rt,"getParser");function at({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(at,"getParser");function ot(){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(ot,"tagTokenizer");function st(n="compact"){let a=it(n);return o=>{let i=0,p=[];for(let[m,{tokens:h}]of o.source.entries()){let b="";if(m===0&&h.description[0]!=="{")return o;for(let N of h.description)if(N==="{"&&i++,N==="}"&&i--,b+=N,i===0)break;if(p.push([h,b]),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,b]]of p.entries())h.type=b,m>0&&(h.type=h.postDelimiter.slice(y)+b,h.postDelimiter=h.postDelimiter.slice(0,y)),[h.postType,h.description]=j(h.description.slice(b.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(st,"typeTokenizer");var Dn=l(n=>n.trim(),"trim");function it(n){return n==="compact"?a=>a.map(Dn).join(""):n==="preserve"?a=>a.join(` +`):n}l(it,"getJoiner");var Kn=l(n=>n&&n.startsWith('"')&&n.endsWith('"'),"isQuoted");function lt(){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]=j(i.slice(o.name.length)),a;let u=0,y="",m=!1,h;for(let N of i){if(u===0&&Qe(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 b=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(!Kn(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=b,h!==void 0&&(a.default=h),[o.postName,o.description]=j(i.slice(o.name.length)),a}}l(lt,"nameTokenizer");function ct(n="compact",a=_){let o=Ee(n);return i=>(i.description=o(i.source,a),i)}l(ct,"descriptionTokenizer");function Ee(n){return n==="compact"?pt:n==="preserve"?ut:n}l(Ee,"getJoiner");function pt(n,a=_){return n.map(({tokens:{description:o}})=>o.trim()).filter(o=>o!=="").join(" ")}l(pt,"compactJoiner");var $n=l((n,{tokens:a},o)=>a.type===""?n:o,"lineNo"),qn=l(({tokens:n})=>(n.delimiter===""?n.start:n.postDelimiter.slice(1))+n.description,"getDescription");function ut(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($n,0)),n.map(qn).join(` +`)}l(ut,"preserveJoiner");function yt({startLine:n=0,fence:a="```",spacing:o="compact",markers:i=_,tokenizers:p=[ot(),st(o),lt(),ct(o)]}={}){if(n<0||n%1>0)throw new Error("Invalid startLine");let u=rt({startLine:n,markers:i}),y=tt({fence:a}),m=at({tokenizers:p}),h=Ee(o);return function(b){let N=[];for(let oe of ze(b)){let D=u(oe);if(D===null)continue;let X=y(D),Q=X.slice(1).map(m);N.push({description:h(X[0],i),tags:Q,source:D,problems:Q.reduce((P,se)=>P.concat(se.problems),[])})}return N}}l(yt,"getParser");function dt(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(dt,"join");function Mn(){return n=>n.source.map(({tokens:a})=>dt(a)).join(` +`)}l(Mn,"getStringifier");function mt(n,a={}){return yt(a)(n)}l(mt,"parse");function ft(n){return n!=null&&n.includes("@")}l(ft,"containsJsDoc");function Tt(n){let a=`/** +`+(n??"").split(` +`).map(i=>` * ${i}`).join(` +`)+` +*/`,o=mt(a,{spacing:"preserve"});if(!o||o.length===0)throw new Error("Cannot parse JSDoc tags.");return o[0]}l(Tt,"parse");var Bn={tags:["param","arg","argument","returns","ignore","deprecated"]},Cn=l((n,a=Bn)=>{if(!ft(n))return{includesJsDoc:!1,ignore:!1};let o=Tt(n),i=ht(o,a.tags);return i.ignore?{includesJsDoc:!0,ignore:!0}:{includesJsDoc:!0,ignore:!1,description:o.description.trim(),extractedTags:i}},"parseJsDoc");function ht(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=Jt(i);p!=null&&(o.params==null&&(o.params=[]),o.params.push(p));break}case"deprecated":{let p=wt(i);p!=null&&(o.deprecated=p);break}case"returns":{let p=Nt(i);p!=null&&(o.returns=p);break}}return o}l(ht,"extractJsDocTags");function gt(n){return n.replace(/[\.-]$/,"")}l(gt,"normaliseParamName");function Jt(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(()=>gt(n.name),"getPrettyName"),getTypeName:l(()=>a?Se(a):null,"getTypeName")}}l(Jt,"extractParam");function wt(n){return n.name?be(n.name,n.description):null}l(wt,"extractDeprecated");function be(n,a){let o=n===""?a:`${n} ${a}`;return Pe(o)}l(be,"joinNameAndDescription");function Pe(n){let a=n.replace(/^- /g,"").trim();return a===""?null:a}l(Pe,"normaliseDescription");function Nt(n){let a=ve(n.type);return a?{type:a,description:be(n.name,n.description),getTypeName:l(()=>Se(a),"getTypeName")}:null}l(Nt,"extractReturns");var F=Je.stringifyRules(),Yn=F.JsdocTypeObject;F.JsdocTypeAny=()=>"any";F.JsdocTypeObject=(n,a)=>`(${Yn(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 Et(n){return n.length>50}l(Et,"isTooLongForDefaultValueSummary");function E(n,a){return n===a?{summary:n}:{summary:n,detail:a}}l(E,"createSummaryValue");function bt(n,a){if(n!=null){let{value:o}=n;if(!ae(o))return Et(o)?E(a==null?void 0:a.name,o):E(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 Pt({name:n,raw:a,elements:o}){return o!=null?E(o.map(xe).join(" | ")):a!=null?E(a.replace(/^\|\s*/,"")):E(n)}l(Pt,"generateUnion");function vt({type:n,raw:a}){return a!=null?E(a):E(n)}l(vt,"generateFuncSignature");function St({type:n,raw:a}){return a!=null?ke(a)?E(n,a):E(a):E(n)}l(St,"generateObjectSignature");function kt(n){let{type:a}=n;return a==="object"?St(n):vt(n)}l(kt,"generateSignature");function xt({name:n,raw:a}){return a!=null?ke(a)?E(n,a):E(a):E(n)}l(xt,"generateDefault");function Ot(n){if(n==null)return null;switch(n.name){case"union":return Pt(n);case"signature":return kt(n);default:return xt(n)}}l(Ot,"createType");var Gn=l((n,a)=>{let{flowType:o,description:i,required:p,defaultValue:u}=a;return{name:n,type:Ot(o),required:p,description:i,defaultValue:bt(u??null,o??null)}},"createFlowPropDef");function It({defaultValue:n}){if(n!=null){let{value:a}=n;if(!ae(a))return E(a)}return null}l(It,"createDefaultValue");function At({tsType:n,required:a}){if(n==null)return null;let o=n.name;return a||(o=o.replace(" | undefined","")),E(["Array","Record","signature"].includes(n.name)?n.raw:o)}l(At,"createType");var Wn=l((n,a)=>{let{description:o,required:i}=a;return{name:n,type:At(a),required:i,description:o,defaultValue:It(a)}},"createTsPropDef");function Rt(n){return n!=null?E(n.name):null}l(Rt,"createType");function _t(n){let{computed:a,func:o}=n;return typeof a>"u"&&typeof o>"u"}l(_t,"isReactDocgenTypescript");function Ft(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(Ft,"isStringValued");function Lt(n,a){if(n!=null){let{value:o}=n;if(!ae(o))return _t(n)&&Ft(a)?E(JSON.stringify(o)):E(o)}return null}l(Lt,"createDefaultValue");function Oe(n,a,o){let{description:i,required:p,defaultValue:u}=o;return{name:n,type:Rt(a),required:p,description:i,defaultValue:Lt(u,a)}}l(Oe,"createBasicPropDef");function W(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(W,"applyJsDocResult");var Xn=l((n,a,o)=>{let i=Oe(n,a.type,a);return i.sbType=we(a),W(i,o)},"javaScriptFactory"),Qn=l((n,a,o)=>{let i=Wn(n,a);return i.sbType=we(a),W(i,o)},"tsFactory"),Hn=l((n,a,o)=>{let i=Gn(n,a);return i.sbType=we(a),W(i,o)},"flowFactory"),zn=l((n,a,o)=>{let i=Oe(n,{name:"unknown"},a);return W(i,o)},"unknownFactory"),jt=l(n=>{switch(n){case"JavaScript":return Xn;case"TypeScript":return Qn;case"Flow":return Hn;default:return zn}},"getPropDefFactory"),Ut=l(n=>n.type!=null?"JavaScript":n.flowType!=null?"Flow":n.tsType!=null?"TypeScript":"Unknown","getTypeSystem"),Zn=l(n=>{let a=Ut(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"),er=l(n=>{let a=Object.keys(n),o=Ut(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"),or=l((n,a)=>{let o=We(n,a);return Ge(o)?Array.isArray(o)?Zn(o):er(o):[]},"extractComponentProps");function Ie(n,a,o,i){let p=Cn(a.description);return p.includesJsDoc&&p.ignore?null:{propDef:i(n,a,p),jsDocTags:p.extractedTags,docgenInfo:a,typeSystem:o}}l(Ie,"extractProp");function tr(n){return n!=null?Xe(n):""}l(tr,"extractComponentDescription");const{combineParameters:nr}=__STORYBOOK_MODULE_PREVIEW_API__;var sr=l(n=>{let{component:a,argTypes:o,parameters:{docs:i={}}}=n,{extractArgTypes:p}=i,u=p&&a?p(a):{};return u?nr(u,o):o},"enhanceArgTypes"),rr="storybook/docs",ir=`${rr}/snippet-rendered`,ar=(n=>(n.AUTO="auto",n.CODE="code",n.DYNAMIC="dynamic",n))(ar||{});export{ke as B,We as Y,Et as a,sr as c,ar as g,Ln as j,E as l,tr as n,or as o,ir as y,Ne as z}; diff --git a/storybook-static/assets/index-Domkg0jQ.js b/storybook-static/assets/index-Domkg0jQ.js new file mode 100644 index 0000000..7c7269e --- /dev/null +++ b/storybook-static/assets/index-Domkg0jQ.js @@ -0,0 +1,240 @@ +var by=Object.defineProperty;var yy=(e,t,r)=>t in e?by(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;var he=(e,t,r)=>yy(e,typeof t!="symbol"?t+"":t,r);const{once:gy}=__STORYBOOK_MODULE_CLIENT_LOGGER__,{FORCE_REMOUNT:xs,STORY_RENDER_PHASE_CHANGED:vy,SET_CURRENT_STORY:_y}=__STORYBOOK_MODULE_CORE_EVENTS__,{addons:Ry}=__STORYBOOK_MODULE_PREVIEW_API__,{global:$e}=__STORYBOOK_MODULE_GLOBAL__;var wy=(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')}),Cy={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]},qy=Object.entries(Cy);function Xl(e){return String(e)}Xl.open="";Xl.close="";function Ey(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 Py(e=!1){let t=Ey(e),r=(l,i,u,c)=>{let s="",d=0;do s+=l.substring(d,c)+u,d=c+i.length,c=l.indexOf(i,d);while(~c);return s+l.substring(d)},n=(l,i,u=l)=>{let c=s=>{let d=String(s),f=d.indexOf(i,l.length);return~f?l+r(d,i,u,f)+i:l+d+i};return c.open=l,c.close=i,c},a={isColorSupported:t},o=l=>`\x1B[${l}m`;for(let[l,i]of qy)a[l]=t?n(o(i[0]),o(i[1]),i[2]):Xl;return a}var mt=Py(!1);function Oy(e,t){let r=Object.keys(e),n=t===null?r:r.sort(t);if(Object.getOwnPropertySymbols)for(let a of Object.getOwnPropertySymbols(e))Object.getOwnPropertyDescriptor(e,a).enumerable&&n.push(a);return n}function ca(e,t,r,n,a,o,l=": "){let i="",u=0,c=e.next();if(!c.done){i+=t.spacingOuter;let s=r+t.indent;for(;!c.done;){if(i+=s,u++===t.maxWidth){i+="…";break}let d=o(c.value[0],t,s,n,a),f=o(c.value[1],t,s,n,a);i+=d+l+f,c=e.next(),c.done?t.min||(i+=","):i+=`,${t.spacingInner}`}i+=t.spacingOuter+r}return i}function Ql(e,t,r,n,a,o){let l="",i=0,u=e.next();if(!u.done){l+=t.spacingOuter;let c=r+t.indent;for(;!u.done;){if(l+=c,i++===t.maxWidth){l+="…";break}l+=o(u.value,t,c,n,a),u=e.next(),u.done?t.min||(l+=","):l+=`,${t.spacingInner}`}l+=t.spacingOuter+r}return l}function Hn(e,t,r,n,a,o){let l="";e=e instanceof ArrayBuffer?new DataView(e):e;let i=c=>c instanceof DataView,u=i(e)?e.byteLength:e.length;if(u>0){l+=t.spacingOuter;let c=r+t.indent;for(let s=0;s0){l+=t.spacingOuter;let u=r+t.indent;for(let c=0;c{let l=e.toString();if(l==="ArrayContaining"||l==="ArrayNotContaining")return++n>t.maxDepth?`[${l}]`:`${l+go}[${Hn(e.sample,t,r,n,a,o)}]`;if(l==="ObjectContaining"||l==="ObjectNotContaining")return++n>t.maxDepth?`[${l}]`:`${l+go}{${Zl(e.sample,t,r,n,a,o)}}`;if(l==="StringMatching"||l==="StringNotMatching"||l==="StringContaining"||l==="StringNotContaining")return l+go+o(e.sample,t,r,n,a);if(typeof e.toAsymmetricMatcher!="function")throw new TypeError(`Asymmetric matcher ${e.constructor.name} does not implement toAsymmetricMatcher()`);return e.toAsymmetricMatcher()},Ay=e=>e&&e.$$typeof===Ty,My={serialize:Sy,test:Ay},xy=" ",qd=new Set(["DOMStringMap","NamedNodeMap"]),jy=/^(?:HTML\w*Collection|NodeList)$/;function Ny(e){return qd.has(e)||jy.test(e)}var $y=e=>e&&e.constructor&&!!e.constructor.name&&Ny(e.constructor.name);function Iy(e){return e.constructor.name==="NamedNodeMap"}var By=(e,t,r,n,a,o)=>{let l=e.constructor.name;return++n>t.maxDepth?`[${l}]`:(t.min?"":l+xy)+(qd.has(l)?`{${Zl(Iy(e)?[...e].reduce((i,u)=>(i[u.name]=u.value,i),{}):{...e},t,r,n,a,o)}}`:`[${Hn([...e],t,r,n,a,o)}]`)},ky={serialize:By,test:$y};function Ed(e){return e.replaceAll("<","<").replaceAll(">",">")}function ei(e,t,r,n,a,o,l){let i=n+r.indent,u=r.colors;return e.map(c=>{let s=t[c],d=l(s,r,i,a,o);return typeof s!="string"&&(d.includes(` +`)&&(d=r.spacingOuter+i+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 ti(e,t,r,n,a,o){return e.map(l=>t.spacingOuter+r+(typeof l=="string"?Pd(l,t):o(l,t,r,n,a))).join("")}function Pd(e,t){let r=t.colors.content;return r.open+Ed(e)+r.close}function Ly(e,t){let r=t.colors.comment;return`${r.open}${r.close}`}function ri(e,t,r,n,a){let o=n.colors.tag;return`${o.open}<${e}${t&&o.close+t+n.spacingOuter+a+o.open}${r?`>${o.close}${r}${n.spacingOuter}${a}${o.open}${o.close}`}function ni(e,t){let r=t.colors.tag;return`${r.open}<${e}${r.close} …${r.open} />${r.close}`}var Dy=1,Od=3,Td=8,Sd=11,Fy=/^(?:(?:HTML|SVG)\w*)?Element$/;function Hy(e){try{return typeof e.hasAttribute=="function"&&e.hasAttribute("is")}catch{return!1}}function Uy(e){let t=e.constructor.name,{nodeType:r,tagName:n}=e,a=typeof n=="string"&&n.includes("-")||Hy(e);return r===Dy&&(Fy.test(t)||a)||r===Od&&t==="Text"||r===Td&&t==="Comment"||r===Sd&&t==="DocumentFragment"}var Vy=e=>{var t;return((t=e==null?void 0:e.constructor)==null?void 0:t.name)&&Uy(e)};function zy(e){return e.nodeType===Od}function Gy(e){return e.nodeType===Td}function vo(e){return e.nodeType===Sd}var Wy=(e,t,r,n,a,o)=>{if(zy(e))return Pd(e.data,t);if(Gy(e))return Ly(e.data,t);let l=vo(e)?"DocumentFragment":e.tagName.toLowerCase();return++n>t.maxDepth?ni(l,t):ri(l,ei(vo(e)?[]:Array.from(e.attributes,i=>i.name).sort(),vo(e)?{}:[...e.attributes].reduce((i,u)=>(i[u.name]=u.value,i),{}),t,r+t.indent,n,a,o),ti(Array.prototype.slice.call(e.childNodes||e.children),t,r+t.indent,n,a,o),t,r)},Ky={serialize:Wy,test:Vy},Yy="@@__IMMUTABLE_ITERABLE__@@",Jy="@@__IMMUTABLE_LIST__@@",Xy="@@__IMMUTABLE_KEYED__@@",Qy="@@__IMMUTABLE_MAP__@@",js="@@__IMMUTABLE_ORDERED__@@",Zy="@@__IMMUTABLE_RECORD__@@",eg="@@__IMMUTABLE_SEQ__@@",tg="@@__IMMUTABLE_SET__@@",rg="@@__IMMUTABLE_STACK__@@",br=e=>`Immutable.${e}`,da=e=>`[${e}]`,Gr=" ",Ns="…";function ng(e,t,r,n,a,o,l){return++n>t.maxDepth?da(br(l)):`${br(l)+Gr}{${ca(e.entries(),t,r,n,a,o)}}`}function ag(e){let t=0;return{next(){if(tt.maxDepth?da(l):`${l+Gr}{${ca(ag(e),t,r,n,a,o)}}`}function lg(e,t,r,n,a,o){let l=br("Seq");return++n>t.maxDepth?da(l):e[Xy]?`${l+Gr}{${e._iter||e._object?ca(e.entries(),t,r,n,a,o):Ns}}`:`${l+Gr}[${e._iter||e._array||e._collection||e._iterable?Ql(e.values(),t,r,n,a,o):Ns}]`}function _o(e,t,r,n,a,o,l){return++n>t.maxDepth?da(br(l)):`${br(l)+Gr}[${Ql(e.values(),t,r,n,a,o)}]`}var ig=(e,t,r,n,a,o)=>e[Qy]?ng(e,t,r,n,a,o,e[js]?"OrderedMap":"Map"):e[Jy]?_o(e,t,r,n,a,o,"List"):e[tg]?_o(e,t,r,n,a,o,e[js]?"OrderedSet":"Set"):e[rg]?_o(e,t,r,n,a,o,"Stack"):e[eg]?lg(e,t,r,n,a,o):og(e,t,r,n,a,o),sg=e=>e&&(e[Yy]===!0||e[Zy]===!0),ug={serialize:ig,test:sg},$s={exports:{}},ne={},Is;function cg(){if(Is)return ne;Is=1;var e=Symbol.for("react.element"),t=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),n=Symbol.for("react.strict_mode"),a=Symbol.for("react.profiler"),o=Symbol.for("react.provider"),l=Symbol.for("react.context"),i=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"),f=Symbol.for("react.lazy"),p=Symbol.for("react.offscreen"),m;m=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 a:case n:case c:case s:return h;default:switch(h=h&&h.$$typeof,h){case i:case l:case u:case f:case d:case o:return h;default:return y}}case t:return y}}}return ne.ContextConsumer=l,ne.ContextProvider=o,ne.Element=e,ne.ForwardRef=u,ne.Fragment=r,ne.Lazy=f,ne.Memo=d,ne.Portal=t,ne.Profiler=a,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)===l},ne.isContextProvider=function(h){return b(h)===o},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)===f},ne.isMemo=function(h){return b(h)===d},ne.isPortal=function(h){return b(h)===t},ne.isProfiler=function(h){return b(h)===a},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===a||h===n||h===c||h===s||h===p||typeof h=="object"&&h!==null&&(h.$$typeof===f||h.$$typeof===d||h.$$typeof===o||h.$$typeof===l||h.$$typeof===u||h.$$typeof===m||h.getModuleId!==void 0)},ne.typeOf=b,ne}var Bs;function dg(){return Bs||(Bs=1,$s.exports=cg()),$s.exports}var Ft=dg();function Ad(e,t=[]){if(Array.isArray(e))for(let r of e)Ad(r,t);else e!=null&&e!==!1&&e!==""&&t.push(e);return t}function ks(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 pg(e){let{props:t}=e;return Object.keys(t).filter(r=>r!=="children"&&t[r]!==void 0).sort()}var fg=(e,t,r,n,a,o)=>++n>t.maxDepth?ni(ks(e),t):ri(ks(e),ei(pg(e),e.props,t,r+t.indent,n,a,o),ti(Ad(e.props.children),t,r+t.indent,n,a,o),t,r),mg=e=>e!=null&&Ft.isElement(e),hg={serialize:fg,test:mg},bg=typeof Symbol=="function"&&Symbol.for?Symbol.for("react.test.json"):245830487;function yg(e){let{props:t}=e;return t?Object.keys(t).filter(r=>t[r]!==void 0).sort():[]}var gg=(e,t,r,n,a,o)=>++n>t.maxDepth?ni(e.type,t):ri(e.type,e.props?ei(yg(e),e.props,t,r+t.indent,n,a,o):"",e.children?ti(e.children,t,r+t.indent,n,a,o):"",t,r),vg=e=>e&&e.$$typeof===bg,_g={serialize:gg,test:vg},Md=Object.prototype.toString,Rg=Date.prototype.toISOString,wg=Error.prototype.toString,Ls=RegExp.prototype.toString;function Ro(e){return typeof e.constructor=="function"&&e.constructor.name||"Object"}function Cg(e){return typeof window<"u"&&e===window}var qg=/^Symbol\((.*)\)(.*)$/,Eg=/\n/g,xd=class extends Error{constructor(t,r){super(t),this.stack=r,this.name=this.constructor.name}};function Pg(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 Og(e){return Object.is(e,-0)?"-0":String(e)}function Tg(e){return`${e}n`}function Ds(e,t){return t?`[Function ${e.name||"anonymous"}]`:"[Function]"}function Fs(e){return String(e).replace(qg,"Symbol($1)")}function Hs(e){return`[${wg.call(e)}]`}function jd(e,t,r,n){if(e===!0||e===!1)return`${e}`;if(e===void 0)return"undefined";if(e===null)return"null";let a=typeof e;if(a==="number")return Og(e);if(a==="bigint")return Tg(e);if(a==="string")return n?`"${e.replaceAll(/"|\\/g,"\\$&")}"`:`"${e}"`;if(a==="function")return Ds(e,t);if(a==="symbol")return Fs(e);let o=Md.call(e);return o==="[object WeakMap]"?"WeakMap {}":o==="[object WeakSet]"?"WeakSet {}":o==="[object Function]"||o==="[object GeneratorFunction]"?Ds(e,t):o==="[object Symbol]"?Fs(e):o==="[object Date]"?Number.isNaN(+e)?"Date { NaN }":Rg.call(e):o==="[object Error]"?Hs(e):o==="[object RegExp]"?r?Ls.call(e).replaceAll(/[$()*+.?[\\\]^{|}]/g,"\\$&"):Ls.call(e):e instanceof Error?Hs(e):null}function Nd(e,t,r,n,a,o){if(a.includes(e))return"[Circular]";a=[...a],a.push(e);let l=++n>t.maxDepth,i=t.min;if(t.callToJSON&&!l&&e.toJSON&&typeof e.toJSON=="function"&&!o)return St(e.toJSON(),t,r,n,a,!0);let u=Md.call(e);return u==="[object Arguments]"?l?"[Arguments]":`${i?"":"Arguments "}[${Hn(e,t,r,n,a,St)}]`:Pg(u)?l?`[${e.constructor.name}]`:`${i||!t.printBasicPrototype&&e.constructor.name==="Array"?"":`${e.constructor.name} `}[${Hn(e,t,r,n,a,St)}]`:u==="[object Map]"?l?"[Map]":`Map {${ca(e.entries(),t,r,n,a,St," => ")}}`:u==="[object Set]"?l?"[Set]":`Set {${Ql(e.values(),t,r,n,a,St)}}`:l||Cg(e)?`[${Ro(e)}]`:`${i||!t.printBasicPrototype&&Ro(e)==="Object"?"":`${Ro(e)} `}{${Zl(e,t,r,n,a,St)}}`}function Sg(e){return e.serialize!=null}function $d(e,t,r,n,a,o){let l;try{l=Sg(e)?e.serialize(t,r,n,a,o,St):e.print(t,i=>St(i,r,n,a,o),i=>{let u=n+r.indent;return u+i.replaceAll(Eg,` +${u}`)},{edgeSpacing:r.spacingOuter,min:r.min,spacing:r.spacingInner},r.colors)}catch(i){throw new xd(i.message,i.stack)}if(typeof l!="string")throw new TypeError(`pretty-format: Plugin must return type "string" but instead returned "${typeof l}".`);return l}function Id(e,t){for(let r of e)try{if(r.test(t))return r}catch(n){throw new xd(n.message,n.stack)}return null}function St(e,t,r,n,a,o){let l=Id(t.plugins,e);if(l!==null)return $d(l,e,t,r,n,a);let i=jd(e,t.printFunctionName,t.escapeRegex,t.escapeString);return i!==null?i:Nd(e,t,r,n,a,o)}var ai={comment:"gray",content:"reset",prop:"yellow",tag:"cyan",value:"green"},Bd=Object.keys(ai),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:ai};function Ag(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 Mg(){return Bd.reduce((e,t)=>{let r=ai[t],n=r&&mt[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 xg(){return Bd.reduce((e,t)=>(e[t]={close:"",open:""},e),Object.create(null))}function kd(e){return(e==null?void 0:e.printFunctionName)??Ke.printFunctionName}function Ld(e){return(e==null?void 0:e.escapeRegex)??Ke.escapeRegex}function Dd(e){return(e==null?void 0:e.escapeString)??Ke.escapeString}function Us(e){return{callToJSON:(e==null?void 0:e.callToJSON)??Ke.callToJSON,colors:e!=null&&e.highlight?Mg():xg(),compareKeys:typeof(e==null?void 0:e.compareKeys)=="function"||(e==null?void 0:e.compareKeys)===null?e.compareKeys:Ke.compareKeys,escapeRegex:Ld(e),escapeString:Dd(e),indent:e!=null&&e.min?"":jg((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:kd(e),spacingInner:e!=null&&e.min?" ":` +`,spacingOuter:e!=null&&e.min?"":` +`}}function jg(e){return Array.from({length:e+1}).join(" ")}function nt(e,t){if(t&&(Ag(t),t.plugins)){let n=Id(t.plugins,e);if(n!==null)return $d(n,e,Us(t),"",0,[])}let r=jd(e,kd(t),Ld(t),Dd(t));return r!==null?r:Nd(e,Us(t),"",0,[])}var Fd={AsymmetricMatcher:My,DOMCollection:ky,DOMElement:Ky,Immutable:ug,ReactElement:hg,ReactTestComponent:_g},Vs={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"]},Ng={special:"cyan",number:"yellow",bigint:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",symbol:"green",date:"magenta",regexp:"red"},yr="…";function $g(e,t){let r=Vs[Ng[t]]||Vs[t]||"";return r?`\x1B[${r[0]}m${String(e)}\x1B[${r[1]}m`:String(e)}function Ig({showHidden:e=!1,depth:t=2,colors:r=!1,customInspect:n=!0,showProxy:a=!1,maxArrayLength:o=1/0,breakLength:l=1/0,seen:i=[],truncate:u=1/0,stylize:c=String}={},s){let d={showHidden:!!e,depth:Number(t),colors:!!r,customInspect:!!n,showProxy:!!a,maxArrayLength:Number(o),breakLength:Number(l),truncate:Number(u),seen:i,inspect:s,stylize:c};return d.colors&&(d.stylize=$g),d}function Bg(e){return e>="\uD800"&&e<="\uDBFF"}function Bt(e,t,r=yr){e=String(e);let n=r.length,a=e.length;if(n>t&&a>n)return r;if(a>t&&a>n){let o=t-n;return o>0&&Bg(e[o-1])&&(o=o-1),`${e.slice(0,o)}${r}`}return e}function Ze(e,t,r,n=", "){r=r||t.inspect;let a=e.length;if(a===0)return"";let o=t.truncate,l="",i="",u="";for(let c=0;co&&l.length+u.length<=o||!s&&!d&&b>o||(i=s?"":r(e[c+1],t)+(d?"":n),!s&&d&&b>o&&m+i.length>o))break;if(l+=p,!s&&!d&&m+i.length>=o){u=`${yr}(${e.length-c-1})`;break}u=""}return`${l}${u}`}function kg(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=kg(e):typeof e!="number"&&(e=`[${r.inspect(e,r)}]`),r.truncate-=e.length,t=r.inspect(t,r),`${e}: ${t}`}function Lg(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 a="";return r.length&&(a=Ze(r.map(o=>[o,e[o]]),t,Wr)),`[ ${n}${a?`, ${a}`:""} ]`}var Dg=e=>typeof Buffer=="function"&&e instanceof Buffer?"Buffer":e[Symbol.toStringTag]?e[Symbol.toStringTag]:e.constructor.name;function ct(e,t){let r=Dg(e);t.truncate-=r.length+4;let n=Object.keys(e).slice(e.length);if(!e.length&&!n.length)return`${r}[]`;let a="";for(let l=0;l[l,e[l]]),t,Wr)),`${r}[ ${a}${o?`, ${o}`:""} ]`}function Fg(e,t){let r=e.toJSON();if(r===null)return"Invalid Date";let n=r.split("T"),a=n[0];return t.stylize(`${a}T${Bt(n[1],t.truncate-a.length-1)}`,"date")}function zs(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 Hg([e,t],r){return r.truncate-=4,e=r.inspect(e,r),r.truncate-=e.length,t=r.inspect(t,r),`${e} => ${t}`}function Ug(e){let t=[];return e.forEach((r,n)=>{t.push([n,r])}),t}function Vg(e,t){return e.size-1<=0?"Map{}":(t.truncate-=7,`Map{ ${Ze(Ug(e),t,Hg)} }`)}var zg=Number.isNaN||(e=>e!==e);function Gs(e,t){return zg(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 Ws(e,t){let r=Bt(e.toString(),t.truncate-1);return r!==yr&&(r+="n"),t.stylize(r,"bigint")}function Gg(e,t){let r=e.toString().split("/")[2],n=t.truncate-(2+r.length),a=e.source;return t.stylize(`/${Bt(a,n)}/${r}`,"regexp")}function Wg(e){let t=[];return e.forEach(r=>{t.push(r)}),t}function Kg(e,t){return e.size===0?"Set{}":(t.truncate-=7,`Set{ ${Ze(Wg(e),t)} }`)}var Ks=new RegExp("['\\u0000-\\u001f\\u007f-\\u009f\\u00ad\\u0600-\\u0604\\u070f\\u17b4\\u17b5\\u200c-\\u200f\\u2028-\\u202f\\u2060-\\u206f\\ufeff\\ufff0-\\uffff]","g"),Yg={"\b":"\\b"," ":"\\t","\n":"\\n","\f":"\\f","\r":"\\r","'":"\\'","\\":"\\\\"},Jg=16;function Xg(e){return Yg[e]||`\\u${`0000${e.charCodeAt(0).toString(Jg)}`.slice(-4)}`}function Ys(e,t){return Ks.test(e)&&(e=e.replace(Ks,Xg)),t.stylize(`'${Bt(e,t.truncate-2)}'`,"string")}function Js(e){return"description"in Symbol.prototype?e.description?`Symbol(${e.description})`:"Symbol()":e.toString()}var Hd=()=>"Promise{…}";try{let{getPromiseDetails:e,kPending:t,kRejected:r}=process.binding("util");Array.isArray(e(Promise.resolve()))&&(Hd=(n,a)=>{let[o,l]=e(n);return o===t?"Promise{}":`Promise${o===r?"!":""}{${a.inspect(l,a)}}`})}catch{}var Qg=Hd;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 a=Ze(r.map(i=>[i,e[i]]),t,Wr),o=Ze(n.map(i=>[i,e[i]]),t,Wr);t.seen.pop();let l="";return a&&o&&(l=", "),`{ ${a}${l}${o} }`}var wo=typeof Symbol<"u"&&Symbol.toStringTag?Symbol.toStringTag:!1;function Zg(e,t){let r="";return wo&&wo in e&&(r=e[wo]),r=r||e.constructor.name,(!r||r==="_class")&&(r=""),t.truncate-=r.length,`${r}${jn(e,t)}`}function ev(e,t){return e.length===0?"Arguments[]":(t.truncate-=13,`Arguments[ ${Ze(e,t)} ]`)}var tv=["stack","line","column","name","message","fileName","lineNumber","columnNumber","number","description","cause"];function rv(e,t){let r=Object.getOwnPropertyNames(e).filter(l=>tv.indexOf(l)===-1),n=e.name;t.truncate-=n.length;let a="";if(typeof e.message=="string"?a=Bt(e.message,t.truncate):r.unshift("message"),a=a?`: ${a}`:"",t.truncate-=a.length+5,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);return`${n}${a}${o?` { ${o} }`:""}`}function nv([e,t],r){return r.truncate-=3,t?`${r.stylize(String(e),"yellow")}=${r.stylize(`"${t}"`,"string")}`:`${r.stylize(String(e),"yellow")}`}function Wo(e,t){return Ze(e,t,Ud,` +`)}function Ud(e,t){let r=e.getAttributeNames(),n=e.tagName.toLowerCase(),a=t.stylize(`<${n}`,"special"),o=t.stylize(">","special"),l=t.stylize(``,"special");t.truncate-=n.length*2+5;let i="";r.length>0&&(i+=" ",i+=Ze(r.map(s=>[s,e.getAttribute(s)]),t,nv," ")),t.truncate-=i.length;let u=t.truncate,c=Wo(e.children,t);return c&&c.length>u&&(c=`${yr}(${e.children.length})`),`${a}${i}${o}${c}${l}`}var av=typeof Symbol=="function"&&typeof Symbol.for=="function",Co=av?Symbol.for("chai/inspect"):"@@chai/inspect",nr=!1;try{let e=wy("util");nr=e.inspect?e.inspect.custom:!1}catch{nr=!1}var Xs=new WeakMap,Qs={},Zs={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:Gs,Number:Gs,bigint:Ws,BigInt:Ws,string:Ys,String:Ys,function:zs,Function:zs,symbol:Js,Symbol:Js,Array:Lg,Date:Fg,Map:Vg,Set:Kg,RegExp:Gg,Promise:Qg,WeakSet:(e,t)=>t.stylize("WeakSet{…}","special"),WeakMap:(e,t)=>t.stylize("WeakMap{…}","special"),Arguments:ev,Int8Array:ct,Uint8Array:ct,Uint8ClampedArray:ct,Int16Array:ct,Uint16Array:ct,Int32Array:ct,Uint32Array:ct,Float32Array:ct,Float64Array:ct,Generator:()=>"",DataView:()=>"",ArrayBuffer:()=>"",Error:rv,HTMLCollection:Wo,NodeList:Wo},ov=(e,t,r)=>Co in e&&typeof e[Co]=="function"?e[Co](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&&Xs.has(e.constructor)?Xs.get(e.constructor)(e,t):Qs[r]?Qs[r](e,t):"",lv=Object.prototype.toString;function Ko(e,t={}){let r=Ig(t,Ko),{customInspect:n}=r,a=e===null?"null":typeof e;if(a==="object"&&(a=lv.call(e).slice(8,-1)),a in Zs)return Zs[a](e,r);if(n&&e){let l=ov(e,r,a);if(l)return typeof l=="string"?l:Ko(l,r)}let o=e?Object.getPrototypeOf(e):!1;return o===Object.prototype||o===null?jn(e,r):e&&typeof HTMLElement=="function"&&e instanceof HTMLElement?Ud(e,r):"constructor"in e?e.constructor!==Object?Zg(e,r):jn(e,r):e===Object(e)?jn(e,r):r.stylize(String(e),a)}var{AsymmetricMatcher:iv,DOMCollection:sv,DOMElement:uv,Immutable:cv,ReactElement:dv,ReactTestComponent:pv}=Fd,eu=[pv,dv,uv,sv,cv,iv];function Kr(e,t=10,{maxLength:r,...n}={}){let a=r??1e4,o;try{o=nt(e,{maxDepth:t,escapeString:!1,plugins:eu,...n})}catch{o=nt(e,{callToJSON:!1,maxDepth:t,escapeString:!1,plugins:eu,...n})}return o.length>=a&&t>1?Kr(e,Math.floor(t/2)):o}var fv=/%[sdjifoOc%]/g;function mv(...e){if(typeof e[0]!="string"){let o=[];for(let l=0;l{if(o==="%%")return"%";if(r>=t)return o;switch(o){case"%s":{let l=e[r++];return typeof l=="bigint"?`${l.toString()}n`:typeof l=="number"&&l===0&&1/l<0?"-0":typeof l=="object"&&l!==null?$r(l,{depth:0,colors:!1}):String(l)}case"%d":{let l=e[r++];return typeof l=="bigint"?`${l.toString()}n`:Number(l).toString()}case"%i":{let l=e[r++];return typeof l=="bigint"?`${l.toString()}n`:Number.parseInt(String(l)).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(l){let i=l.message;if(i.includes("circular structure")||i.includes("cyclic structures")||i.includes("cyclic object"))return"[Circular]";throw l}default:return o}});for(let o=e[r];rt.add(n);Object.getOwnPropertyNames(e).forEach(r),Object.getOwnPropertySymbols(e).forEach(r)}function Vd(e){let t=new Set;return bv(e)?[]:(yv(e,t),Array.from(t))}var zd={forceWritable:!1};function tu(e,t=zd){return Jo(e,new WeakMap,t)}function Jo(e,t,r=zd){let n,a;if(t.has(e))return t.get(e);if(Array.isArray(e)){for(a=Array.from({length:n=e.length}),t.set(e,a);n--;)a[n]=Jo(e[n],t,r);return a}if(Object.prototype.toString.call(e)==="[object Object]"){a=Object.create(Object.getPrototypeOf(e)),t.set(e,a);let o=Vd(e);for(let l of o){let i=Object.getOwnPropertyDescriptor(e,l);if(!i)continue;let u=Jo(e[l],t,r);r.forceWritable?Object.defineProperty(a,l,{enumerable:i.enumerable,configurable:!0,writable:!0,value:u}):"get"in i?Object.defineProperty(a,l,{...i,get(){return u}}):Object.defineProperty(a,l,{...i,value:u})}return a}return e}function ru(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,fe=class{constructor(t,r){he(this,0);he(this,1);this[0]=t,this[1]=r}},gv=function(e,t){if(!e||!t||e.charAt(0)!==t.charAt(0))return 0;let r=0,n=Math.min(e.length,t.length),a=n,o=0;for(;rn?e=e.substring(r-n):r0?r[n-1]:-1,l=0,i=0,u=0,c=0,a=null,t=!0)),o++;for(t&&Wd(e),wv(e),o=1;o=p?(f>=s.length/2||f>=d.length/2)&&(e.splice(o,0,new fe(ye,d.substring(0,f))),e[o-1][1]=s.substring(0,s.length-f),e[o+1][1]=d.substring(f),o++):(p>=s.length/2||p>=d.length/2)&&(e.splice(o,0,new fe(ye,s.substring(0,p))),e[o-1][0]=Pe,e[o-1][1]=d.substring(0,d.length-p),e[o+1][0]=Se,e[o+1][1]=s.substring(p),o++),o++}o++}},au=/[^a-z0-9]/i,ou=/\s/,lu=/[\r\n]/,_v=/\n\r?\n$/,Rv=/^\r?\n\r?\n/;function wv(e){let t=1;for(;t=c&&(c=s,l=r,i=n,u=a)}e[t-1][1]!==l&&(l?e[t-1][1]=l:(e.splice(t-1,1),t--),e[t][1]=i,u?e[t+1][1]=u:(e.splice(t+1,1),t--))}t++}}function Wd(e){e.push(new fe(ye,""));let t=0,r=0,n=0,a="",o="",l;for(;t1?(r!==0&&n!==0&&(l=gv(o,a),l!==0&&(t-r-n>0&&e[t-r-n-1][0]===ye?e[t-r-n-1][1]+=o.substring(0,l):(e.splice(0,0,new fe(ye,o.substring(0,l))),t++),o=o.substring(l),a=a.substring(l)),l=Gd(o,a),l!==0&&(e[t][1]=o.substring(o.length-l)+e[t][1],o=o.substring(0,o.length-l),a=a.substring(0,a.length-l))),t-=r+n,e.splice(t,r+n),a.length&&(e.splice(t,0,new fe(Se,a)),t++),o.length&&(e.splice(t,0,new fe(Pe,o)),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,a="",o="";break}e[e.length-1][1]===""&&e.pop();let i=!1;for(t=1;t{let g=0;for(;p{let g=0;for(;p<=m&&b<=h&&y(m,h);)m-=1,h-=1,g+=1;return g},a=(p,m,b,h,y,g,E)=>{let C=0,q=-p,_=g[C],v=_;g[C]+=r(_+1,m,h+_-q+1,b,y);let w=p{let C=0,q=p,_=g[C],v=_;g[C]-=n(m,_-1,b,h+_-q-1,y);let w=p{let w=h-m,P=b-m,j=y-h-P,$=-j-(p-1),B=-j+(p-1),I=t,A=p{let w=y-b,P=b-m,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]{let _=h-m,v=y-b,w=b-m,P=y-h,j=P-w,$=w,B=w;if(E[0]=m-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($=a(k,b,y,_,g,E,$),k{if(y-h{L(z,oe,H)},isCommon:(z,H)=>D(H,z)}}let pe=m,F=b;m=h,b=y,h=pe,y=F}let{foundSubsequence:v,isCommon:w}=E[g?1:0];u(p,m,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}=_;m{if(typeof m!="number")throw new TypeError(`${e}: ${p} typeof ${typeof m} is not a number`);if(!Number.isSafeInteger(m))throw new RangeError(`${e}: ${p} value ${m} is not a safe integer`);if(m<0)throw new RangeError(`${e}: ${p} value ${m} is a negative integer`)},d=(p,m)=>{let b=typeof m;if(b!=="function")throw new TypeError(`${e}: ${p} typeof ${b} is not a function`)};function f(p,m,b,h){s("aLength",p),s("bLength",m),d("isCommon",b),d("foundSubsequence",h);let y=r(0,p,0,m,b);if(y!==0&&h(y,0,0),p!==y||m!==y){let g=y,E=y,C=n(g,p-1,E,m-1,b),q=p-C,_=m-C,v=y+C;p!==v&&m!==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 Ev=qv(),Yd=hv(Ev);function Pv(e,t){return e.replace(/\s+$/,r=>t(r))}function oi(e,t,r,n,a,o){return e.length!==0?r(`${n} ${Pv(e,a)}`):n!==" "?r(n):t&&o.length!==0?r(`${n} ${o}`):""}function Jd(e,t,{aColor:r,aIndicator:n,changeLineTrailingSpaceColor:a,emptyFirstOrLastLinePlaceholder:o}){return oi(e,t,r,n,a,o)}function Xd(e,t,{bColor:r,bIndicator:n,changeLineTrailingSpaceColor:a,emptyFirstOrLastLinePlaceholder:o}){return oi(e,t,r,n,a,o)}function Qd(e,t,{commonColor:r,commonIndicator:n,commonLineTrailingSpaceColor:a,emptyFirstOrLastLinePlaceholder:o}){return oi(e,t,r,n,a,o)}function su(e,t,r,n,{patchColor:a}){return a(`@@ -${e+1},${t-e} +${r+1},${n-r} @@`)}function Ov(e,t){let r=e.length,n=t.contextLines,a=n+n,o=r,l=!1,i=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&&(o-=u-n,l=!0);else if(u===r){let q=u-C;q>n&&(o-=q-n,l=!0)}else{let q=u-C;q>a&&(o-=q-a,i+=1)}for(;u!==r&&e[u][0]!==ye;)u+=1}let c=i!==0||l;i!==0?o+=i+1:l&&(o+=1);let s=o-1,d=[],f=0;c&&d.push("");let p=0,m=0,b=0,h=0,y=C=>{let q=d.length;d.push(Qd(C,q===0||q===s,t)),b+=1,h+=1},g=C=>{let q=d.length;d.push(Jd(C,q===0||q===s,t)),b+=1},E=C=>{let q=d.length;d.push(Xd(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,m=C,b=p,h=m);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>a){let _=C+n;for(let w=C;w!==_;w+=1)y(e[w][1]);d[f]=su(p,b,m,h,t),f=d.length,d.push("");let v=q-a;p=b+v,m=h+v,b=p,h=m;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[f]=su(p,b,m,h,t)),d.join(` +`)}function Tv(e,t){return e.map((r,n,a)=>{let o=r[1],l=n===0||n===a.length-1;switch(r[0]){case Se:return Jd(o,l,t);case Pe:return Xd(o,l,t);default:return Qd(o,l,t)}}).join(` +`)}var qo=e=>e,Zd=5,Sv=0;function Av(){return{aAnnotation:"Expected",aColor:mt.green,aIndicator:"-",bAnnotation:"Received",bColor:mt.red,bIndicator:"+",changeColor:mt.inverse,changeLineTrailingSpaceColor:qo,commonColor:mt.dim,commonIndicator:" ",commonLineTrailingSpaceColor:qo,compareKeys:void 0,contextLines:Zd,emptyFirstOrLastLinePlaceholder:"",expand:!0,includeChangeCounts:!1,omitAnnotationLines:!1,patchColor:mt.yellow,truncateThreshold:Sv,truncateAnnotation:"... Diff result is truncated",truncateAnnotationColor:qo}}function Mv(e){return e&&typeof e=="function"?e:void 0}function xv(e){return typeof e=="number"&&Number.isSafeInteger(e)&&e>=0?e:Zd}function Jt(e={}){return{...Av(),...e,compareKeys:Mv(e.compareKeys),contextLines:xv(e.contextLines)}}function ar(e){return e.length===1&&e[0].length===0}function jv(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 Nv({aAnnotation:e,aColor:t,aIndicator:r,bAnnotation:n,bColor:a,bIndicator:o,includeChangeCounts:l,omitAnnotationLines:i},u){if(i)return"";let c="",s="";if(l){let p=String(u.a),m=String(u.b),b=n.length-e.length,h=" ".repeat(Math.max(0,b)),y=" ".repeat(Math.max(0,-b)),g=m.length-p.length,E=" ".repeat(Math.max(0,g)),C=" ".repeat(Math.max(0,-g));c=`${h} ${r} ${E}${p}`,s=`${y} ${o} ${C}${m}`}let d=`${r} ${e}${c}`,f=`${o} ${n}${s}`;return`${t(d)} +${a(f)} + +`}function li(e,t,r){return Nv(r,jv(e))+(r.expand?Tv(e,r):Ov(e,r))+(t?r.truncateAnnotationColor(` +${r.truncateAnnotation}`):"")}function pa(e,t,r){let n=Jt(r),[a,o]=ep(ar(e)?[]:e,ar(t)?[]:t,n);return li(a,o,n)}function $v(e,t,r,n,a){if(ar(e)&&ar(r)&&(e=[],r=[]),ar(t)&&ar(n)&&(t=[],n=[]),e.length!==r.length||t.length!==n.length)return pa(e,t,a);let[o,l]=ep(r,n,a),i=0,u=0;return o.forEach(c=>{switch(c[0]){case Se:c[1]=e[i],i+=1;break;case Pe:c[1]=t[u],u+=1;break;default:c[1]=t[u],i+=1,u+=1}}),li(o,l,Jt(a))}function ep(e,t,r){let n=(r==null?void 0:r.truncateThreshold)??!1,a=Math.max(Math.floor((r==null?void 0:r.truncateThreshold)??0),0),o=n?Math.min(e.length,a):e.length,l=n?Math.min(t.length,a):t.length,i=o!==e.length||l!==t.length,u=(f,p)=>e[f]===t[p],c=[],s=0,d=0;for(Yd(o,l,u,(f,p,m)=>{for(;s!==p;s+=1)c.push(new fe(Se,e[s]));for(;d!==m;d+=1)c.push(new fe(Pe,t[d]));for(;f!==0;f-=1,s+=1,d+=1)c.push(new fe(ye,t[d]))});s!==o;s+=1)c.push(new fe(Se,e[s]));for(;d!==l;d+=1)c.push(new fe(Pe,t[d]));return[c,i]}function uu(e){return e.includes(`\r +`)?`\r +`:` +`}function Iv(e,t,r){let n=(r==null?void 0:r.truncateThreshold)??!1,a=Math.max(Math.floor((r==null?void 0:r.truncateThreshold)??0),0),o=e.length,l=t.length;if(n){let f=e.includes(` +`),p=t.includes(` +`),m=uu(e),b=uu(t),h=f?`${e.split(m,a).join(m)} +`:e,y=p?`${t.split(b,a).join(b)} +`:t;o=h.length,l=y.length}let i=o!==e.length||l!==t.length,u=(f,p)=>e[f]===t[p],c=0,s=0,d=[];return Yd(o,l,u,(f,p,m)=>{c!==p&&d.push(new fe(Se,e.slice(c,p))),s!==m&&d.push(new fe(Pe,t.slice(s,m))),c=p+f,s=m+f,d.push(new fe(ye,t.slice(m,s)))}),c!==o&&d.push(new fe(Se,e.slice(c))),s!==l&&d.push(new fe(Pe,t.slice(s))),[d,i]}function Bv(e,t,r){return t.reduce((n,a)=>n+(a[0]===ye?a[1]:a[0]===e&&a[1].length!==0?r(a[1]):""),"")}var cu=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 fe(this.op,t))}pushLine(){this.lines.push(this.line.length!==1?new fe(this.op,Bv(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(t){this.line.push(t)}align(t){let r=t[1];if(r.includes(` +`)){let n=r.split(` +`),a=n.length-1;n.forEach((o,l)=>{l{if(i===0){let u=new fe(r,l);this.deleteBuffer.isLineEmpty()&&this.insertBuffer.isLineEmpty()?(this.flushChangeLines(),this.pushDiffCommonLine(u)):(this.pushDiffChangeLines(u),this.flushChangeLines())}else i{switch(o[0]){case Se:r.align(o);break;case Pe:n.align(o);break;default:a.align(o)}}),a.getLines()}function Dv(e,t){if(t){let r=e.length-1;return e.some((n,a)=>n[0]===ye&&(a!==r||n[1]!==` +`))}return e.some(r=>r[0]===ye)}function Fv(e,t,r){if(e!==t&&e.length!==0&&t.length!==0){let n=e.includes(` +`)||t.includes(` +`),[a,o]=tp(n?`${e} +`:e,n?`${t} +`:t,!0,r);if(Dv(a,n)){let l=Jt(r),i=Lv(a,l.changeColor);return li(i,o,l)}}return pa(e.split(` +`),t.split(` +`),r)}function tp(e,t,r,n){let[a,o]=Iv(e,t,n);return vv(a),[a,o]}function Xo(e,t){let{commonColor:r}=Jt(t);return r(e)}var{AsymmetricMatcher:Hv,DOMCollection:Uv,DOMElement:Vv,Immutable:zv,ReactElement:Gv,ReactTestComponent:Wv}=Fd,rp=[Wv,Gv,Vv,Uv,zv,Hv],Qo={plugins:rp},np={callToJSON:!1,maxDepth:10,plugins:rp};function Kv(e,t,r){if(Object.is(e,t))return"";let n=ru(e),a=n,o=!1;if(n==="object"&&typeof e.asymmetricMatch=="function"){if(e.$$typeof!==Symbol.for("jest.asymmetricMatcher")||typeof e.getExpectedType!="function")return;a=e.getExpectedType(),o=a==="string"}if(a!==ru(t)){let{aAnnotation:l,aColor:i,aIndicator:u,bAnnotation:c,bColor:s,bIndicator:d}=Jt(r),f=Zo(np,r),p=nt(e,f),m=nt(t,f),b=`${i(`${u} ${l}:`)} +${p}`,h=`${s(`${d} ${c}:`)} +${m}`;return`${b} + +${h}`}if(!o)switch(n){case"string":return pa(e.split(` +`),t.split(` +`),r);case"boolean":case"number":return Yv(e,t,r);case"map":return Eo(du(e),du(t),r);case"set":return Eo(pu(e),pu(t),r);default:return Eo(e,t,r)}}function Yv(e,t,r){let n=nt(e,Qo),a=nt(t,Qo);return n===a?"":pa(n.split(` +`),a.split(` +`),r)}function du(e){return new Map(Array.from(e.entries()).sort())}function pu(e){return new Set(Array.from(e.values()).sort())}function Eo(e,t,r){let n,a=!1;try{let l=Zo(Qo,r);n=fu(e,t,l,r)}catch{a=!0}let o=Xo(Kd,r);if(n===void 0||n===o){let l=Zo(np,r);n=fu(e,t,l,r),n!==o&&!a&&(n=`${Xo(Cv,r)} + +${n}`)}return n}function Zo(e,t){let{compareKeys:r}=Jt(t);return{...e,compareKeys:r}}function fu(e,t,r,n){let a={...r,indent:0},o=nt(e,a),l=nt(t,a);if(o===l)return Xo(Kd,n);{let i=nt(e,r),u=nt(t,r);return $v(i.split(` +`),u.split(` +`),o.split(` +`),l.split(` +`),n)}}var mu=2e4;function hu(e){return Yo(e)==="Object"&&typeof e.asymmetricMatch=="function"}function bu(e,t){let r=Yo(e),n=Yo(t);return r===n&&(r==="Object"||r==="Array")}function Jv(e,t,r){let{aAnnotation:n,bAnnotation:a}=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 Fv(t,e,r);let[c]=tp(t,e),s=c.some(m=>m[0]===ye),d=Xv(n,a),f=d(n)+e_(yu(c,Se,s)),p=d(a)+Zv(yu(c,Pe,s));return`${f} +${p}`}let o=tu(e,{forceWritable:!0}),l=tu(t,{forceWritable:!0}),{replacedExpected:i,replacedActual:u}=ap(o,l);return Kv(i,u,r)}function ap(e,t,r=new WeakSet,n=new WeakSet){return bu(e,t)?r.has(e)||n.has(t)?{replacedActual:e,replacedExpected:t}:(r.add(e),n.add(t),Vd(t).forEach(a=>{let o=t[a],l=e[a];if(hu(o))o.asymmetricMatch(l)&&(e[a]=o);else if(hu(l))l.asymmetricMatch(o)&&(t[a]=l);else if(bu(l,o)){let i=ap(l,o,r,n);e[a]=i.replacedActual,t[a]=i.replacedExpected}}),{replacedActual:e,replacedExpected:t}):{replacedActual:e,replacedExpected:t}}function Xv(...e){let t=e.reduce((r,n)=>n.length>r?n.length:r,0);return r=>`${r}: ${" ".repeat(t-r.length)}`}var Qv="·";function op(e){return e.replace(/\s+$/gm,t=>Qv.repeat(t.length))}function Zv(e){return mt.red(op(Kr(e)))}function e_(e){return mt.green(op(Kr(e)))}function yu(e,t,r){return e.reduce((n,a)=>n+(a[0]===ye?a[1]:a[0]===t?r?mt.inverse(a[1]):a[1]:""),"")}var t_="@@__IMMUTABLE_RECORD__@@",r_="@@__IMMUTABLE_ITERABLE__@@";function n_(e){return e&&(e[r_]||e[t_])}var a_=Object.getPrototypeOf({});function gu(e){return e instanceof Error?`: ${e.message}`:typeof e=="string"?`: ${e}`:""}function or(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(n_(e))return or(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()} ${mv(e.sample)}`;if(typeof e.toJSON=="function")return or(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,a)=>{try{r[a]=or(n,t)}catch(o){r[a]=gu(o)}}),r}else{let r=Object.create(null);t.set(e,r);let n=e;for(;n&&n!==a_;)Object.getOwnPropertyNames(n).forEach(a=>{if(!(a in r))try{r[a]=or(e[a],t)}catch(o){delete r[a],r[a]=gu(o)}}),n=Object.getPrototypeOf(n);return r}}function o_(e){return e.replace(/__(vite_ssr_import|vi_import)_\d+__\./g,"")}function lp(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=Jv(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=o_(n.message))}catch{}try{!r.has(n)&&typeof n.cause=="object"&&(r.add(n),n.cause=lp(n.cause,t,r))}catch{}try{return or(n)}catch(a){return or(new Error(`Failed to fully serialize error: ${a==null?void 0:a.message} +Inner error message: ${n==null?void 0:n.message}`))}}var l_=(e=>(e.DONE="done",e.ERROR="error",e.ACTIVE="active",e.WAITING="waiting",e))(l_||{}),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"},vu={start:!1,back:!1,goto:!1,next:!1,end:!1},i_=new Error("This function ran after the play function completed. Did you forget to `await` it?"),_u=e=>Object.prototype.toString.call(e)==="[object Object]",s_=e=>Object.prototype.toString.call(e)==="[object Module]",u_=e=>{if(!_u(e)&&!s_(e))return!1;if(e.constructor===void 0)return!0;let t=e.constructor.prototype;return!!_u(t)},c_=e=>{try{return new e.constructor}catch{return{}}},Po=()=>({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}),Ru=(e,t=!1)=>{let r=(t?e.shadowCalls:e.calls).filter(a=>a.retain);if(!r.length)return;let n=new Map(Array.from(e.callRefsByResult.entries()).filter(([,a])=>a.retain));return{cursor:r.length,calls:r,callRefsByResult:n}},d_=class{constructor(){var l;this.initialized=!1,this.channel=Ry.getChannel(),this.state=((l=$e.window)==null?void 0:l.parent.__STORYBOOK_ADDON_INTERACTIONS_INSTRUMENTER_STATE__)||{};let e=({storyId:i,isPlaying:u=!0,isDebugging:c=!1})=>{let s=this.getState(i);this.setState(i,{...Po(),...Ru(s,c),shadowCalls:c?s.shadowCalls:[],chainedCallIds:c?s.chainedCallIds:new Set,playUntil:c?s.playUntil:void 0,isPlaying:u,isDebugging:c}),this.sync(i)};this.channel.on(xs,e),this.channel.on(vy,({storyId:i,newPhase:u})=>{let{isDebugging:c}=this.getState(i);this.setState(i,{renderPhase:u}),u==="preparing"&&c&&e({storyId:i}),u==="playing"&&e({storyId:i,isDebugging:c}),u==="played"&&this.setState(i,{isLocked:!1,isPlaying:!1,isDebugging:!1}),u==="errored"&&this.setState(i,{isLocked:!1,isPlaying:!1})}),this.channel.on(_y,()=>{this.initialized?this.cleanup():this.initialized=!0});let t=({storyId:i,playUntil:u})=>{this.getState(i).isDebugging||this.setState(i,({calls:s})=>({calls:[],shadowCalls:s.map(d=>({...d,status:"waiting"})),isDebugging:!0}));let c=this.getLog(i);this.setState(i,({shadowCalls:s})=>{var f;if(u||!c.length)return{playUntil:u};let d=s.findIndex(p=>p.id===c[0].callId);return{playUntil:(f=s.slice(0,d).filter(p=>{var m;return p.interceptable&&!((m=p.ancestors)!=null&&m.length)}).slice(-1)[0])==null?void 0:f.id}}),this.channel.emit(xs,{storyId:i,isDebugging:!0})},r=({storyId:i})=>{var s;let u=this.getLog(i).filter(d=>{var f;return!((f=d.ancestors)!=null&&f.length)}),c=u.reduceRight((d,f,p)=>d>=0||f.status==="waiting"?d:p,-1);t({storyId:i,playUntil:(s=u[c-1])==null?void 0:s.callId})},n=({storyId:i,callId:u})=>{var m;let{calls:c,shadowCalls:s,resolvers:d}=this.getState(i),f=c.find(({id:b})=>b===u),p=s.find(({id:b})=>b===u);if(!f&&p&&Object.values(d).length>0){let b=(m=this.getLog(i).find(h=>h.status==="waiting"))==null?void 0:m.callId;p.id!==b&&this.setState(i,{playUntil:p.id}),Object.values(d).forEach(h=>h())}else t({storyId:i,playUntil:u})},a=({storyId:i})=>{var c;let{resolvers:u}=this.getState(i);if(Object.values(u).length>0)Object.values(u).forEach(s=>s());else{let s=(c=this.getLog(i).find(d=>d.status==="waiting"))==null?void 0:c.callId;s?t({storyId:i,playUntil:s}):o({storyId:i})}},o=({storyId:i})=>{this.setState(i,{playUntil:void 0,isDebugging:!1}),Object.values(this.getState(i).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,a),this.channel.on(dt.END,o)}getState(e){return this.state[e]||Po()}setState(e,t){var a;let r=this.getState(e),n=typeof t=="function"?t(r):t;this.state={...this.state,[e]:{...r,...n}},(a=$e.window)!=null&&a.parent&&($e.window.parent.__STORYBOOK_ADDON_INTERACTIONS_INSTRUMENTER_STATE__=this.state)}cleanup(){var t;this.state=Object.entries(this.state).reduce((r,[n,a])=>{let o=Ru(a);return o&&(r[n]=Object.assign(Po(),o)),r},{});let e={controlStates:vu,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((o,l)=>{n[l]=o});let a=new Set;return n.reduceRight((o,l)=>(l.args.forEach(i=>{i!=null&&i.__callId__&&a.add(i.__callId__)}),l.path.forEach(i=>{i.__callId__&&a.add(i.__callId__)}),(l.interceptable||l.exception)&&!a.has(l.id)&&(o.unshift({callId:l.id,status:l.status,ancestors:l.ancestors}),a.add(l.id)),o),[])}instrument(e,t,r=0){if(!u_(e))return e;let{mutate:n=!1,path:a=[]}=t,o=t.getKeys?t.getKeys(e,r):Object.keys(e);return r+=1,o.reduce((l,i)=>{let u=p_(e,i);if(typeof(u==null?void 0:u.get)=="function"){let s=()=>{var d,f;return(f=(d=u==null?void 0:u.get)==null?void 0:d.bind(e))==null?void 0:f()};return Object.defineProperty(l,i,{get:()=>this.instrument(s(),{...t,path:a.concat(i)},r)}),l}let c=e[i];return typeof c!="function"?(l[i]=this.instrument(c,{...t,path:a.concat(i)},r),l):"__originalFn__"in c&&typeof c.__originalFn__=="function"?(l[i]=c,l):(l[i]=(...s)=>this.track(i,c,e,s,t),l[i].__originalFn__=c,Object.defineProperty(l[i],"name",{value:i,writable:!1}),Object.keys(c).length>0&&Object.assign(l[i],this.instrument({...c},{...t,path:a.concat(i)},r)),l)},n?e:c_(e))}track(e,t,r,n,a){var b,h,y,g;let o=((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:l,ancestors:i}=this.getState(o);this.setState(o,{cursor:l+1});let u=`${i.slice(-1)[0]||o} [${l}] ${e}`,{path:c=[],intercept:s=!1,retain:d=!1}=a,f=typeof s=="function"?s(e,c):s,p={id:u,cursor:l,storyId:o,ancestors:i,path:c,method:e,args:n,interceptable:f,retain:d},m=(f&&!i.length?this.intercept:this.invoke).call(this,t,r,p,a);return this.instrument(m,{...a,mutate:!0,path:[{__callId__:p.id}]})}intercept(e,t,r,n){let{chainedCallIds:a,isDebugging:o,playUntil:l}=this.getState(r.storyId),i=a.has(r.id);return!o||i||l?(l===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:a,renderPhase:o}=this.getState(r.storyId),l=25,i=(s,d,f)=>{var p,m,b;if(f.includes(s))return"[Circular]";if(f=[...f,s],d>l)return"...";if(a.has(s))return a.get(s);if(s instanceof Array)return s.map(h=>i(h,++d,f));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"&&((m=s==null?void 0:s.constructor)!=null&&m.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,i(y,++d,f)])):s},u={...r,args:r.args.map(s=>i(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:f,message:p,stack:m,callId:b=r.id}=s,{showDiff:h=void 0,diff:y=void 0,actual:g=void 0,expected:E=void 0}=s.name==="AssertionError"?lp(s):s,C={name:f,message:p,stack:m,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(o==="played"&&!r.retain)throw i_;let s=(n.getArgs?n.getArgs(r,this.getState(r.storyId)):r.args).map(f=>typeof f!="function"||Object.keys(f).length?f:(...p)=>{let{cursor:m,ancestors:b}=this.getState(r.storyId);this.setState(r.storyId,{cursor:0,ancestors:[...b,r.id]});let h=()=>this.setState(r.storyId,{cursor:m,ancestors:b}),y=!1;try{let g=f(...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,f=>({callRefsByResult:new Map([...Array.from(f.callRefsByResult.entries()),[d,{__callId__:r.id,retain:r.retain}]])})),this.update({...u,status:d instanceof Promise?"active":"done"}),d instanceof Promise?d.then(f=>(this.update({...u,status:"done"}),f),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,a)=>Object.assign(n,{[a.id]:a}),{});return{calls:Object.values(r).sort((n,a)=>n.id.localeCompare(a.id,void 0,{numeric:!0}))}}),this.sync(e.storyId)}sync(e){let t=()=>{var c;let{isLocked:r,isPlaying:n}=this.getState(e),a=this.getLog(e),o=(c=a.filter(({ancestors:s})=>!s.length).find(s=>s.status==="waiting"))==null?void 0:c.callId,l=a.some(s=>s.status==="active");if(r||l||a.length===0){let s={controlStates:vu,logItems:a};this.channel.emit(dt.SYNC,s);return}let i=a.some(s=>s.status==="done"||s.status==="error"),u={controlStates:{start:i,back:i,goto:!0,next:n,end:n},logItems:a,pausedAt:o};this.channel.emit(dt.SYNC,u)};this.setState(e,({syncTimeout:r})=>(clearTimeout(r),{syncTimeout:setTimeout(t,0)}))}};function ii(e,t={}){var r,n,a,o,l,i,u,c;try{let s=!1,d=!1;return(a=(n=(r=$e.window)==null?void 0:r.location)==null?void 0:n.search)!=null&&a.includes("instrument=true")?s=!0:(i=(l=(o=$e.window)==null?void 0:o.location)==null?void 0:l.search)!=null&&i.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 d_),((c=$e.window)==null?void 0:c.__STORYBOOK_ADDON_INTERACTIONS_INSTRUMENTER__).instrument(e,t))}catch(s){return gy.warn(s),e}}function p_(e,t){let r=e;for(;r!=null;){let n=Object.getOwnPropertyDescriptor(r,t);if(n)return n;r=Object.getPrototypeOf(r)}}var el={};const{global:ip}=__STORYBOOK_MODULE_GLOBAL__,{once:f_}=__STORYBOOK_MODULE_CLIENT_LOGGER__;var m_=Object.create,si=Object.defineProperty,h_=Object.getOwnPropertyDescriptor,sp=Object.getOwnPropertyNames,b_=Object.getPrototypeOf,y_=Object.prototype.hasOwnProperty,g_=(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[sp(e)[0]])((t={exports:{}}).exports,t),t.exports},ui=(e,t)=>{for(var r in t)si(e,r,{get:t[r],enumerable:!0})},v_=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of sp(t))!y_.call(e,a)&&a!==r&&si(e,a,{get:()=>t[a],enumerable:!(n=h_(t,a))||n.enumerable});return e},Fe=(e,t,r)=>(r=e!=null?m_(b_(e)):{},v_(t||!e||!e.__esModule?si(r,"default",{value:e,enumerable:!0}):r,e)),__=R({"../../node_modules/min-indent/index.js"(e,t){t.exports=r=>{let n=r.match(/^[ \t]*(?=\S)/gm);return n?n.reduce((a,o)=>Math.min(a,o.length),1/0):0}}}),R_=R({"../../node_modules/strip-indent/index.js"(e,t){var r=__();t.exports=n=>{let a=r(n);if(a===0)return n;let o=new RegExp(`^[ \\t]{${a}}`,"gm");return n.replace(o,"")}}}),w_=R({"../../node_modules/indent-string/index.js"(e,t){t.exports=(r,n=1,a)=>{if(a={indent:" ",includeEmptyLines:!1,...a},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 a.indent!="string")throw new TypeError(`Expected \`options.indent\` to be a \`string\`, got \`${typeof a.indent}\``);if(n===0)return r;let o=a.includeEmptyLines?/^/gm:/^(?!\s*$)/gm;return r.replace(o,a.indent.repeat(n))}}}),up=R({"../../node_modules/redent/index.js"(e,t){var r=R_(),n=w_();t.exports=(a,o=0,l)=>n(r(a),o,l)}}),C_=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,a={"@@iterator":function(){return a},next:function(){if(nd.length)&&(f=d.length);for(var p=0,m=Array(f);p1&&arguments[1]!==void 0?arguments[1]:null,p=0,m=c;pd.length)&&(f=d.length);for(var p=0,m=Array(f);p1&&arguments[1]!==void 0?arguments[1]:null,p=0,m=c;p1"],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}}),vR=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}}),_R=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}}),RR=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}}),wR=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}}),CR=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}}),qR=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}}),ER=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}}),PR=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}}),OR=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}}),TR=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}}),SR=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}}),AR=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}}),MR=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}}),xR=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}}),jR=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}}),NR=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}}),$R=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}}),IR=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}}),BR=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}}),kR=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}}),LR=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}}),DR=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}}),FR=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}}),HR=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}}),UR=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}}),VR=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}}),zR=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}}),GR=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}}),WR=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}}),KR=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}}),YR=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}}),JR=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}}),XR=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}}),QR=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}}),ZR=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}}),ew=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}}),tw=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}}),rw=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}}),nw=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}}),aw=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}}),ow=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}}),lw=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}}),iw=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}}),sw=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}}),uw=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}}),cw=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}}),dw=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}}),pw=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}}),fw=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}}),mw=R({"../../node_modules/aria-query/lib/etc/roles/ariaLiteralRoles.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=x(L_()),r=x(D_()),n=x(F_()),a=x(H_()),o=x(U_()),l=x(V_()),i=x(z_()),u=x(G_()),c=x(W_()),s=x(K_()),d=x(Y_()),f=x(J_()),p=x(X_()),m=x(Q_()),b=x(Z_()),h=x(eR()),y=x(tR()),g=x(rR()),E=x(nR()),C=x(aR()),q=x(oR()),_=x(lR()),v=x(iR()),w=x(sR()),P=x(uR()),j=x(cR()),$=x(dR()),B=x(pR()),I=x(fR()),A=x(mR()),k=x(hR()),U=x(bR()),W=x(yR()),G=x(gR()),se=x(vR()),ve=x(_R()),pe=x(RR()),F=x(wR()),L=x(CR()),D=x(qR()),z=x(ER()),H=x(PR()),oe=x(OR()),ue=x(TR()),ut=x(SR()),M=x(AR()),V=x(MR()),J=x(xR()),re=x(jR()),te=x(NR()),Re=x($R()),we=x(IR()),Ee=x(BR()),We=x(kR()),Fa=x(LR()),Ha=x(DR()),Ua=x(FR()),Va=x(HR()),za=x(UR()),Ga=x(VR()),Wa=x(zR()),Ka=x(GR()),Ya=x(WR()),Ja=x(KR()),Xa=x(YR()),Qa=x(JR()),Za=x(XR()),eo=x(QR()),to=x(ZR()),ro=x(ew()),no=x(tw()),ao=x(rw()),oo=x(nw()),lo=x(aw()),io=x(ow()),so=x(lw()),uo=x(iw()),co=x(sw()),po=x(uw()),fo=x(cw()),mo=x(dw()),ho=x(pw()),bo=x(fw());function x(tr){return tr&&tr.__esModule?tr:{default:tr}}var yo=[["alert",t.default],["alertdialog",r.default],["application",n.default],["article",a.default],["banner",o.default],["blockquote",l.default],["button",i.default],["caption",u.default],["cell",c.default],["checkbox",s.default],["code",d.default],["columnheader",f.default],["combobox",p.default],["complementary",m.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",oe.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",Fa.default],["region",Ha.default],["row",Ua.default],["rowgroup",Va.default],["rowheader",za.default],["scrollbar",Ga.default],["search",Wa.default],["searchbox",Ka.default],["separator",Ya.default],["slider",Ja.default],["spinbutton",Xa.default],["status",Qa.default],["strong",Za.default],["subscript",eo.default],["superscript",to.default],["switch",ro.default],["tab",no.default],["table",ao.default],["tablist",oo.default],["tabpanel",lo.default],["term",io.default],["textbox",so.default],["time",uo.default],["timer",co.default],["toolbar",po.default],["tooltip",fo.default],["tree",mo.default],["treegrid",ho.default],["treeitem",bo.default]];e.default=yo}}),hw=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}}),bw=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}}),yw=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}}),gw=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}}),vw=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}}),_w=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}}),Rw=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}}),ww=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}}),Cw=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}}),qw=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}}),Ew=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}}),Pw=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}}),Ow=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}}),Tw=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}}),Sw=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}}),Aw=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}}),Mw=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}}),xw=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}}),jw=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}}),Nw=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}}),$w=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}}),Iw=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}}),Bw=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}}),kw=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}}),Lw=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}}),Dw=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}}),Fw=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}}),Hw=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}}),Uw=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}}),Vw=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}}),zw=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}}),Gw=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}}),Ww=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}}),Kw=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}}),Yw=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}}),Jw=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}}),Xw=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}}),Qw=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}}),Zw=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}}),e0=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}}),t0=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}}),r0=R({"../../node_modules/aria-query/lib/etc/roles/ariaDpubRoles.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=H(hw()),r=H(bw()),n=H(yw()),a=H(gw()),o=H(vw()),l=H(_w()),i=H(Rw()),u=H(ww()),c=H(Cw()),s=H(qw()),d=H(Ew()),f=H(Pw()),p=H(Ow()),m=H(Tw()),b=H(Sw()),h=H(Aw()),y=H(Mw()),g=H(xw()),E=H(jw()),C=H(Nw()),q=H($w()),_=H(Iw()),v=H(Bw()),w=H(kw()),P=H(Lw()),j=H(Dw()),$=H(Fw()),B=H(Hw()),I=H(Uw()),A=H(Vw()),k=H(zw()),U=H(Gw()),W=H(Ww()),G=H(Kw()),se=H(Yw()),ve=H(Jw()),pe=H(Xw()),F=H(Qw()),L=H(Zw()),D=H(e0()),z=H(t0());function H(ue){return ue&&ue.__esModule?ue:{default:ue}}var oe=[["doc-abstract",t.default],["doc-acknowledgments",r.default],["doc-afterword",n.default],["doc-appendix",a.default],["doc-backlink",o.default],["doc-biblioentry",l.default],["doc-bibliography",i.default],["doc-biblioref",u.default],["doc-chapter",c.default],["doc-colophon",s.default],["doc-conclusion",d.default],["doc-cover",f.default],["doc-credit",p.default],["doc-credits",m.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=oe}}),n0=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}}),a0=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}}),o0=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}}),l0=R({"../../node_modules/aria-query/lib/etc/roles/ariaGraphicsRoles.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=a(n0()),r=a(a0()),n=a(o0());function a(l){return l&&l.__esModule?l:{default:l}}var o=[["graphics-document",t.default],["graphics-object",r.default],["graphics-symbol",n.default]];e.default=o}}),ci=R({"../../node_modules/aria-query/lib/rolesMap.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=l(k_()),r=l(mw()),n=l(r0()),a=l(l0()),o=l(pn());function l(h){return h&&h.__esModule?h:{default:h}}function i(h,y){var g=typeof Symbol<"u"&&h[Symbol.iterator]||h["@@iterator"];if(!g){if(Array.isArray(h)||(g=s(h))||y){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)||f(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);g1&&arguments[1]!==void 0?arguments[1]:null,g=i(m),E;try{for(g.s();!(E=g.n()).done;){var C=u(E.value,2),q=C[0],_=C[1];h.call(y,_,q,m)}}catch(v){g.e(v)}finally{g.f()}},get:function(h){var y=m.filter(function(g){return g[0]===h})[0];return y&&y[1]},has:function(h){return!!b.get(h)},keys:function(){return m.map(function(h){var y=u(h,1),g=y[0];return g})},values:function(){return m.map(function(h){var y=u(h,2),g=y[1];return g})}};e.default=(0,o.default)(b,b.entries())}}),i0=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(ci());function n(_){return _&&_.__esModule?_:{default:_}}function a(_,v){return c(_)||u(_,v)||l(_,v)||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 l(_,v){if(_){if(typeof _=="string")return i(_,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)?i(_,v):void 0}}function i(_,v){(v==null||v>_.length)&&(v=_.length);for(var w=0,P=Array(v);w1&&arguments[1]!==void 0?arguments[1]:null,w=0,P=s;wq.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;E0&&s.push([f,m])}var f,p,m,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;v1&&(s-=1)),[s*360,d*100,b*100]},a.rgb.hwb=function(l){let i=l[0],u=l[1],c=l[2],s=a.rgb.hsl(l)[0],d=1/255*Math.min(i,Math.min(u,c));return c=1-1/255*Math.max(i,Math.max(u,c)),[s,d*100,c*100]},a.rgb.cmyk=function(l){let i=l[0]/255,u=l[1]/255,c=l[2]/255,s=Math.min(1-i,1-u,1-c),d=(1-i-s)/(1-s)||0,f=(1-u-s)/(1-s)||0,p=(1-c-s)/(1-s)||0;return[d*100,f*100,p*100,s*100]};function o(l,i){return(l[0]-i[0])**2+(l[1]-i[1])**2+(l[2]-i[2])**2}a.rgb.keyword=function(l){let i=n[l];if(i)return i;let u=1/0,c;for(let s of Object.keys(r)){let d=r[s],f=o(l,d);f.04045?((i+.055)/1.055)**2.4:i/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=i*.4124+u*.3576+c*.1805,d=i*.2126+u*.7152+c*.0722,f=i*.0193+u*.1192+c*.9505;return[s*100,d*100,f*100]},a.rgb.lab=function(l){let i=a.rgb.xyz(l),u=i[0],c=i[1],s=i[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,f=500*(u-c),p=200*(c-s);return[d,f,p]},a.hsl.rgb=function(l){let i=l[0]/360,u=l[1]/100,c=l[2]/100,s,d,f;if(u===0)return f=c*255,[f,f,f];c<.5?s=c*(1+u):s=c+u-c*u;let p=2*c-s,m=[0,0,0];for(let b=0;b<3;b++)d=i+1/3*-(b-1),d<0&&d++,d>1&&d--,6*d<1?f=p+(s-p)*6*d:2*d<1?f=s:3*d<2?f=p+(s-p)*(2/3-d)*6:f=p,m[b]=f*255;return m},a.hsl.hsv=function(l){let i=l[0],u=l[1]/100,c=l[2]/100,s=u,d=Math.max(c,.01);c*=2,u*=c<=1?c:2-c,s*=d<=1?d:2-d;let f=(c+u)/2,p=c===0?2*s/(d+s):2*u/(c+u);return[i,p*100,f*100]},a.hsv.rgb=function(l){let i=l[0]/60,u=l[1]/100,c=l[2]/100,s=Math.floor(i)%6,d=i-Math.floor(i),f=255*c*(1-u),p=255*c*(1-u*d),m=255*c*(1-u*(1-d));switch(c*=255,s){case 0:return[c,m,f];case 1:return[p,c,f];case 2:return[f,c,m];case 3:return[f,p,c];case 4:return[m,f,c];case 5:return[c,f,p]}},a.hsv.hsl=function(l){let i=l[0],u=l[1]/100,c=l[2]/100,s=Math.max(c,.01),d,f;f=(2-u)*c;let p=(2-u)*s;return d=u*s,d/=p<=1?p:2-p,d=d||0,f/=2,[i,d*100,f*100]},a.hwb.rgb=function(l){let i=l[0]/360,u=l[1]/100,c=l[2]/100,s=u+c,d;s>1&&(u/=s,c/=s);let f=Math.floor(6*i),p=1-c;d=6*i-f,(f&1)!==0&&(d=1-d);let m=u+d*(p-u),b,h,y;switch(f){default:case 6:case 0:b=p,h=m,y=u;break;case 1:b=m,h=p,y=u;break;case 2:b=u,h=p,y=m;break;case 3:b=u,h=m,y=p;break;case 4:b=m,h=u,y=p;break;case 5:b=p,h=u,y=m;break}return[b*255,h*255,y*255]},a.cmyk.rgb=function(l){let i=l[0]/100,u=l[1]/100,c=l[2]/100,s=l[3]/100,d=1-Math.min(1,i*(1-s)+s),f=1-Math.min(1,u*(1-s)+s),p=1-Math.min(1,c*(1-s)+s);return[d*255,f*255,p*255]},a.xyz.rgb=function(l){let i=l[0]/100,u=l[1]/100,c=l[2]/100,s,d,f;return s=i*3.2406+u*-1.5372+c*-.4986,d=i*-.9689+u*1.8758+c*.0415,f=i*.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,f=f>.0031308?1.055*f**(1/2.4)-.055:f*12.92,s=Math.min(Math.max(0,s),1),d=Math.min(Math.max(0,d),1),f=Math.min(Math.max(0,f),1),[s*255,d*255,f*255]},a.xyz.lab=function(l){let i=l[0],u=l[1],c=l[2];i/=95.047,u/=100,c/=108.883,i=i>.008856?i**(1/3):7.787*i+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*(i-u),f=200*(u-c);return[s,d,f]},a.lab.xyz=function(l){let i=l[0],u=l[1],c=l[2],s,d,f;d=(i+16)/116,s=u/500+d,f=d-c/200;let p=d**3,m=s**3,b=f**3;return d=p>.008856?p:(d-16/116)/7.787,s=m>.008856?m:(s-16/116)/7.787,f=b>.008856?b:(f-16/116)/7.787,s*=95.047,d*=100,f*=108.883,[s,d,f]},a.lab.lch=function(l){let i=l[0],u=l[1],c=l[2],s;s=Math.atan2(c,u)*360/2/Math.PI,s<0&&(s+=360);let d=Math.sqrt(u*u+c*c);return[i,d,s]},a.lch.lab=function(l){let i=l[0],u=l[1],c=l[2]/360*2*Math.PI,s=u*Math.cos(c),d=u*Math.sin(c);return[i,s,d]},a.rgb.ansi16=function(l,i=null){let[u,c,s]=l,d=i===null?a.rgb.hsv(l)[2]:i;if(d=Math.round(d/50),d===0)return 30;let f=30+(Math.round(s/255)<<2|Math.round(c/255)<<1|Math.round(u/255));return d===2&&(f+=60),f},a.hsv.ansi16=function(l){return a.rgb.ansi16(a.hsv.rgb(l),l[2])},a.rgb.ansi256=function(l){let i=l[0],u=l[1],c=l[2];return i===u&&u===c?i<8?16:i>248?231:Math.round((i-8)/247*24)+232:16+36*Math.round(i/255*5)+6*Math.round(u/255*5)+Math.round(c/255*5)},a.ansi16.rgb=function(l){let i=l%10;if(i===0||i===7)return l>50&&(i+=3.5),i=i/10.5*255,[i,i,i];let u=(~~(l>50)+1)*.5,c=(i&1)*u*255,s=(i>>1&1)*u*255,d=(i>>2&1)*u*255;return[c,s,d]},a.ansi256.rgb=function(l){if(l>=232){let d=(l-232)*10+8;return[d,d,d]}l-=16;let i,u=Math.floor(l/36)/5*255,c=Math.floor((i=l%36)/6)/5*255,s=i%6/5*255;return[u,c,s]},a.rgb.hex=function(l){let i=(((Math.round(l[0])&255)<<16)+((Math.round(l[1])&255)<<8)+(Math.round(l[2])&255)).toString(16).toUpperCase();return"000000".substring(i.length)+i},a.hex.rgb=function(l){let i=l.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!i)return[0,0,0];let u=i[0];i[0].length===3&&(u=u.split("").map(p=>p+p).join(""));let c=parseInt(u,16),s=c>>16&255,d=c>>8&255,f=c&255;return[s,d,f]},a.rgb.hcg=function(l){let i=l[0]/255,u=l[1]/255,c=l[2]/255,s=Math.max(Math.max(i,u),c),d=Math.min(Math.min(i,u),c),f=s-d,p,m;return f<1?p=d/(1-f):p=0,f<=0?m=0:s===i?m=(u-c)/f%6:s===u?m=2+(c-i)/f:m=4+(i-u)/f,m/=6,m%=1,[m*360,f*100,p*100]},a.hsl.hcg=function(l){let i=l[1]/100,u=l[2]/100,c=u<.5?2*i*u:2*i*(1-u),s=0;return c<1&&(s=(u-.5*c)/(1-c)),[l[0],c*100,s*100]},a.hsv.hcg=function(l){let i=l[1]/100,u=l[2]/100,c=i*u,s=0;return c<1&&(s=(u-c)/(1-c)),[l[0],c*100,s*100]},a.hcg.rgb=function(l){let i=l[0]/360,u=l[1]/100,c=l[2]/100;if(u===0)return[c*255,c*255,c*255];let s=[0,0,0],d=i%1*6,f=d%1,p=1-f,m=0;switch(Math.floor(d)){case 0:s[0]=1,s[1]=f,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]=f;break;case 3:s[0]=0,s[1]=p,s[2]=1;break;case 4:s[0]=f,s[1]=0,s[2]=1;break;default:s[0]=1,s[1]=0,s[2]=p}return m=(1-u)*c,[(u*s[0]+m)*255,(u*s[1]+m)*255,(u*s[2]+m)*255]},a.hcg.hsv=function(l){let i=l[1]/100,u=l[2]/100,c=i+u*(1-i),s=0;return c>0&&(s=i/c),[l[0],s*100,c*100]},a.hcg.hsl=function(l){let i=l[1]/100,u=l[2]/100*(1-i)+.5*i,c=0;return u>0&&u<.5?c=i/(2*u):u>=.5&&u<1&&(c=i/(2*(1-u))),[l[0],c*100,u*100]},a.hcg.hwb=function(l){let i=l[1]/100,u=l[2]/100,c=i+u*(1-i);return[l[0],(c-i)*100,(1-c)*100]},a.hwb.hcg=function(l){let i=l[1]/100,u=1-l[2]/100,c=u-i,s=0;return c<1&&(s=(u-c)/(1-c)),[l[0],c*100,s*100]},a.apple.rgb=function(l){return[l[0]/65535*255,l[1]/65535*255,l[2]/65535*255]},a.rgb.apple=function(l){return[l[0]/255*65535,l[1]/255*65535,l[2]/255*65535]},a.gray.rgb=function(l){return[l[0]/100*255,l[0]/100*255,l[0]/100*255]},a.gray.hsl=function(l){return[0,0,l[0]]},a.gray.hsv=a.gray.hsl,a.gray.hwb=function(l){return[0,100,l[0]]},a.gray.cmyk=function(l){return[0,0,0,l[0]]},a.gray.lab=function(l){return[l[0],0,0]},a.gray.hex=function(l){let i=Math.round(l[0]/100*255)&255,u=((i<<16)+(i<<8)+i).toString(16).toUpperCase();return"000000".substring(u.length)+u},a.rgb.gray=function(l){return[(l[0]+l[1]+l[2])/3/255*100]}}}),c0=R({"../../node_modules/color-convert/route.js"(e,t){var r=dp();function n(){let i={},u=Object.keys(r);for(let c=u.length,s=0;s1&&(s=d),u(s))};return"conversion"in u&&(c.conversion=u.conversion),c}function i(u){let c=function(...s){let d=s[0];if(d==null)return d;d.length>1&&(s=d);let f=u(s);if(typeof f=="object")for(let p=f.length,m=0;m{a[u]={},Object.defineProperty(a[u],"channels",{value:r[u].channels}),Object.defineProperty(a[u],"labels",{value:r[u].labels});let c=n(u);Object.keys(c).forEach(s=>{let d=c[s];a[u][s]=i(d),a[u][s].raw=l(d)})}),t.exports=a}}),p0=R({"../../node_modules/ansi-styles/index.js"(e,t){var r=(d,f)=>(...p)=>`\x1B[${d(...p)+f}m`,n=(d,f)=>(...p)=>{let m=d(...p);return`\x1B[${38+f};5;${m}m`},a=(d,f)=>(...p)=>{let m=d(...p);return`\x1B[${38+f};2;${m[0]};${m[1]};${m[2]}m`},o=d=>d,l=(d,f,p)=>[d,f,p],i=(d,f,p)=>{Object.defineProperty(d,f,{get:()=>{let m=p();return Object.defineProperty(d,f,{value:m,enumerable:!0,configurable:!0}),m},enumerable:!0,configurable:!0})},u,c=(d,f,p,m)=>{u===void 0&&(u=d0());let b=m?10:0,h={};for(let[y,g]of Object.entries(u)){let E=y==="ansi16"?"ansi":y;y===f?h[E]=d(p,b):typeof g=="object"&&(h[E]=d(g[f],b))}return h};function s(){let d=new Map,f={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]}};f.color.gray=f.color.blackBright,f.bgColor.bgGray=f.bgColor.bgBlackBright,f.color.grey=f.color.blackBright,f.bgColor.bgGrey=f.bgColor.bgBlackBright;for(let[p,m]of Object.entries(f)){for(let[b,h]of Object.entries(m))f[b]={open:`\x1B[${h[0]}m`,close:`\x1B[${h[1]}m`},m[b]=f[b],d.set(h[0],h[1]);Object.defineProperty(f,p,{value:m,enumerable:!1})}return Object.defineProperty(f,"codes",{value:d,enumerable:!1}),f.color.close="\x1B[39m",f.bgColor.close="\x1B[49m",i(f.color,"ansi",()=>c(r,"ansi16",o,!1)),i(f.color,"ansi256",()=>c(n,"ansi256",o,!1)),i(f.color,"ansi16m",()=>c(a,"rgb",l,!1)),i(f.bgColor,"ansi",()=>c(r,"ansi16",o,!0)),i(f.bgColor,"ansi256",()=>c(n,"ansi256",o,!0)),i(f.bgColor,"ansi16m",()=>c(a,"rgb",l,!0)),f}Object.defineProperty(t,"exports",{enumerable:!0,get:s})}}),f0=R({"../../node_modules/supports-color/browser.js"(e,t){t.exports={stdout:!1,stderr:!1}}}),m0=R({"../../node_modules/@testing-library/jest-dom/node_modules/chalk/source/util.js"(e,t){var r=(a,o,l)=>{let i=a.indexOf(o);if(i===-1)return a;let u=o.length,c=0,s="";do s+=a.substr(c,i-c)+o+l,c=i+u,i=a.indexOf(o,c);while(i!==-1);return s+=a.substr(c),s},n=(a,o,l,i)=>{let u=0,c="";do{let s=a[i-1]==="\r";c+=a.substr(u,(s?i-1:i)-u)+o+(s?`\r +`:` +`)+l,u=i+1,i=a.indexOf(` +`,u)}while(i!==-1);return c+=a.substr(u),c};t.exports={stringReplaceAll:r,stringEncaseCRLFWithFirstIndex:n}}}),h0=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,a=/^(['"])((?:\\.|(?!\1)[^\\])*)\1$/,o=/\\(u(?:[a-f\d]{4}|\{[a-f\d]{1,6}\})|x[a-f\d]{2}|.)|([^\\])/gi,l=new Map([["n",` +`],["r","\r"],["t"," "],["b","\b"],["f","\f"],["v","\v"],["0","\0"],["\\","\\"],["e","\x1B"],["a","\x07"]]);function i(d){let f=d[0]==="u",p=d[1]==="{";return f&&!p&&d.length===5||d[0]==="x"&&d.length===3?String.fromCharCode(parseInt(d.slice(1),16)):f&&p?String.fromCodePoint(parseInt(d.slice(2,-1),16)):l.get(d)||d}function u(d,f){let p=[],m=f.trim().split(/\s*,\s*/g),b;for(let h of m){let y=Number(h);if(!Number.isNaN(y))p.push(y);else if(b=h.match(a))p.push(b[2].replace(o,(g,E,C)=>E?i(E):C));else throw new Error(`Invalid Chalk template style argument: ${h} (in style '${d}')`)}return p}function c(d){n.lastIndex=0;let f=[],p;for(;(p=n.exec(d))!==null;){let m=p[1];if(p[2]){let b=u(m,p[2]);f.push([m].concat(b))}else f.push([m])}return f}function s(d,f){let p={};for(let b of f)for(let h of b.styles)p[h[0]]=b.inverse?null:h.slice(1);let m=d;for(let[b,h]of Object.entries(p))if(Array.isArray(h)){if(!(b in m))throw new Error(`Unknown Chalk style: ${b}`);m=h.length>0?m[b](...h):m[b]}return m}t.exports=(d,f)=>{let p=[],m=[],b=[];if(f.replace(r,(h,y,g,E,C,q)=>{if(y)b.push(i(y));else if(E){let _=b.join("");b=[],m.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");m.push(s(d,p)(b.join(""))),b=[],p.pop()}else b.push(q)}),m.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 m.join("")}}}),pp=R({"../../node_modules/@testing-library/jest-dom/node_modules/chalk/source/index.js"(e,t){var r=p0(),{stdout:n,stderr:a}=f0(),{stringReplaceAll:o,stringEncaseCRLFWithFirstIndex:l}=m0(),i=["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(_,f.prototype),Object.setPrototypeOf(_.template,_),_.template.constructor=()=>{throw new Error("`chalk.constructor()` is deprecated. Use `new chalk.Instance()` instead.")},_.template.Instance=s,_.template};function f(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[i[_]][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[i[v]][q](...w),r.bgColor.close,this._styler);return h(this,P,this._isEmpty)}}}}var m=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__=m,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;)_=o(_,v.close,v.open),v=v.parent;let j=_.indexOf(` +`);return j!==-1&&(_=l(_,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-1}t.exports=n}}),_0=R({"../../node_modules/lodash/_listCacheSet.js"(e,t){var r=fa();function n(a,o){var l=this.__data__,i=r(l,a);return i<0?(++this.size,l.push([a,o])):l[i][1]=o,this}t.exports=n}}),ma=R({"../../node_modules/lodash/_ListCache.js"(e,t){var r=b0(),n=y0(),a=g0(),o=v0(),l=_0();function i(u){var c=-1,s=u==null?0:u.length;for(this.clear();++cb))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&l?new r:void 0;for(p.set(u,c),p.set(c,u);++E-1&&o%1==0&&o-1&&a%1==0&&a<=r}t.exports=n}}),cC=R({"../../node_modules/lodash/_baseIsTypedArray.js"(e,t){var r=ha(),n=Rp(),a=ga(),o="[object Arguments]",l="[object Array]",i="[object Boolean]",u="[object Date]",c="[object Error]",s="[object Function]",d="[object Map]",f="[object Number]",p="[object Object]",m="[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[o]=I[l]=I[g]=I[i]=I[E]=I[u]=I[c]=I[s]=I[d]=I[f]=I[p]=I[m]=I[b]=I[h]=I[y]=!1;function A(k){return a(k)&&n(k.length)&&!!I[r(k)]}t.exports=A}}),dC=R({"../../node_modules/lodash/_baseUnary.js"(e,t){function r(n){return function(a){return n(a)}}t.exports=r}}),pC=R({"../../node_modules/lodash/_nodeUtil.js"(e,t){var r=mp(),n=typeof e=="object"&&e&&!e.nodeType&&e,a=n&&typeof t=="object"&&t&&!t.nodeType&&t,o=a&&a.exports===n,l=o&&r.process,i=function(){try{var u=a&&a.require&&a.require("util").types;return u||l&&l.binding&&l.binding("util")}catch{}}();t.exports=i}}),wp=R({"../../node_modules/lodash/isTypedArray.js"(e,t){var r=cC(),n=dC(),a=pC(),o=a&&a.isTypedArray,l=o?n(o):r;t.exports=l}}),fC=R({"../../node_modules/lodash/_arrayLikeKeys.js"(e,t){var r=oC(),n=iC(),a=fi(),o=_p(),l=uC(),i=wp(),u=Object.prototype,c=u.hasOwnProperty;function s(d,f){var p=a(d),m=!p&&n(d),b=!p&&!m&&o(d),h=!p&&!m&&!b&&i(d),y=p||m||b||h,g=y?r(d.length,String):[],E=g.length;for(var C in d)(f||c.call(d,C))&&!(y&&(C=="length"||b&&(C=="offset"||C=="parent")||h&&(C=="buffer"||C=="byteLength"||C=="byteOffset")||l(C,E)))&&g.push(C);return g}t.exports=s}}),mC=R({"../../node_modules/lodash/_isPrototype.js"(e,t){var r=Object.prototype;function n(a){var o=a&&a.constructor,l=typeof o=="function"&&o.prototype||r;return a===l}t.exports=n}}),hC=R({"../../node_modules/lodash/_overArg.js"(e,t){function r(n,a){return function(o){return n(a(o))}}t.exports=r}}),bC=R({"../../node_modules/lodash/_nativeKeys.js"(e,t){var r=hC(),n=r(Object.keys,Object);t.exports=n}}),yC=R({"../../node_modules/lodash/_baseKeys.js"(e,t){var r=mC(),n=bC(),a=Object.prototype,o=a.hasOwnProperty;function l(i){if(!r(i))return n(i);var u=[];for(var c in Object(i))o.call(i,c)&&c!="constructor"&&u.push(c);return u}t.exports=l}}),gC=R({"../../node_modules/lodash/isArrayLike.js"(e,t){var r=bp(),n=Rp();function a(o){return o!=null&&n(o.length)&&!r(o)}t.exports=a}}),vC=R({"../../node_modules/lodash/keys.js"(e,t){var r=fC(),n=yC(),a=gC();function o(l){return a(l)?r(l):n(l)}t.exports=o}}),_C=R({"../../node_modules/lodash/_getAllKeys.js"(e,t){var r=tC(),n=aC(),a=vC();function o(l){return r(l,a,n)}t.exports=o}}),RC=R({"../../node_modules/lodash/_equalObjects.js"(e,t){var r=_C(),n=1,a=Object.prototype,o=a.hasOwnProperty;function l(i,u,c,s,d,f){var p=c&n,m=r(i),b=m.length,h=r(u),y=h.length;if(b!=y&&!p)return!1;for(var g=b;g--;){var E=m[g];if(!(p?E in u:o.call(u,E)))return!1}var C=f.get(i),q=f.get(u);if(C&&q)return C==u&&q==i;var _=!0;f.set(i,u),f.set(u,i);for(var v=p;++g=1&&u<=31||u==127||i==0&&u>=48&&u<=57||i==1&&u>=48&&u<=57&&s==45){c+="\\"+u.toString(16)+" ";continue}if(i==0&&l==1&&u==45){c+="\\"+o.charAt(i);continue}if(u>=128||u==45||u==95||u>=48&&u<=57||u>=65&&u<=90||u>=97&&u<=122){c+=o.charAt(i);continue}c+="\\"+o.charAt(i)}return c};return r.CSS||(r.CSS={}),r.CSS.escape=n,n})}}),Ep=R({"../../node_modules/@testing-library/dom/node_modules/ansi-styles/index.js"(e,t){var r=(o=0)=>l=>`\x1B[${38+o};5;${l}m`,n=(o=0)=>(l,i,u)=>`\x1B[${38+o};2;${l};${i};${u}m`;function a(){let o=new Map,l={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]}};l.color.gray=l.color.blackBright,l.bgColor.bgGray=l.bgColor.bgBlackBright,l.color.grey=l.color.blackBright,l.bgColor.bgGrey=l.bgColor.bgBlackBright;for(let[i,u]of Object.entries(l)){for(let[c,s]of Object.entries(u))l[c]={open:`\x1B[${s[0]}m`,close:`\x1B[${s[1]}m`},u[c]=l[c],o.set(s[0],s[1]);Object.defineProperty(l,i,{value:u,enumerable:!1})}return Object.defineProperty(l,"codes",{value:o,enumerable:!1}),l.color.close="\x1B[39m",l.bgColor.close="\x1B[49m",l.color.ansi256=r(),l.color.ansi16m=n(),l.bgColor.ansi256=r(10),l.bgColor.ansi16m=n(10),Object.defineProperties(l,{rgbToAnsi256:{value:(i,u,c)=>i===u&&u===c?i<8?16:i>248?231:Math.round((i-8)/247*24)+232:16+36*Math.round(i/255*5)+6*Math.round(u/255*5)+Math.round(c/255*5),enumerable:!1},hexToRgb:{value:i=>{let u=/(?[a-f\d]{6}|[a-f\d]{3})/i.exec(i.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:i=>l.rgbToAnsi256(...l.hexToRgb(i)),enumerable:!1}}),l}Object.defineProperty(t,"exports",{enumerable:!0,get:a})}}),va=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=a,e.printObjectProperties=o;var t=(l,i)=>{let u=Object.keys(l).sort(i);return Object.getOwnPropertySymbols&&Object.getOwnPropertySymbols(l).forEach(c=>{Object.getOwnPropertyDescriptor(l,c).enumerable&&u.push(c)}),u};function r(l,i,u,c,s,d,f=": "){let p="",m=l.next();if(!m.done){p+=i.spacingOuter;let b=u+i.indent;for(;!m.done;){let h=d(m.value[0],i,b,c,s),y=d(m.value[1],i,b,c,s);p+=b+h+f+y,m=l.next(),m.done?i.min||(p+=","):p+=","+i.spacingInner}p+=i.spacingOuter+u}return p}function n(l,i,u,c,s,d){let f="",p=l.next();if(!p.done){f+=i.spacingOuter;let m=u+i.indent;for(;!p.done;)f+=m+d(p.value,i,m,c,s),p=l.next(),p.done?i.min||(f+=","):f+=","+i.spacingInner;f+=i.spacingOuter+u}return f}function a(l,i,u,c,s,d){let f="";if(l.length){f+=i.spacingOuter;let p=u+i.indent;for(let m=0;m{let h=s.toString();return h==="ArrayContaining"||h==="ArrayNotContaining"?++p>d.maxDepth?"["+h+"]":h+o+"["+(0,t.printListItems)(s.sample,d,f,p,m,b)+"]":h==="ObjectContaining"||h==="ObjectNotContaining"?++p>d.maxDepth?"["+h+"]":h+o+"{"+(0,t.printObjectProperties)(s.sample,d,f,p,m,b)+"}":h==="StringMatching"||h==="StringNotMatching"||h==="StringContaining"||h==="StringNotContaining"?h+o+b(s.sample,d,f,p,m):s.toAsymmetricMatcher()};e.serialize=l;var i=s=>s&&s.$$typeof===a;e.test=i;var u={serialize:l,test:i},c=u;e.default=c}}),AC=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")}}}),MC=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(AC()),r=n(Ep());function n(c){return c&&c.__esModule?c:{default:c}}var a=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"";case r.default.green.open:return"";case r.default.cyan.open:return"";case r.default.gray.open:return"";case r.default.white.open:return"";case r.default.yellow.open:return"";case r.default.bgRed.open:return"";case r.default.bgGreen.open:return"";case r.default.bgYellow.open:return"";case r.default.inverse.open:return"";case r.default.dim.open:return"";case r.default.bold.open:return"";default:return""}}),o=c=>typeof c=="string"&&!!c.match((0,t.default)());e.test=o;var l=(c,s,d,f,p,m)=>m(a(c),s,d,f,p);e.serialize=l;var i={serialize:l,test:o},u=i;e.default=u}}),xC=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=va(),r=" ",n=["DOMStringMap","NamedNodeMap"],a=/^(HTML\w*Collection|NodeList)$/,o=d=>n.indexOf(d)!==-1||a.test(d),l=d=>d&&d.constructor&&!!d.constructor.name&&o(d.constructor.name);e.test=l;var i=d=>d.constructor.name==="NamedNodeMap",u=(d,f,p,m,b,h)=>{let y=d.constructor.name;return++m>f.maxDepth?"["+y+"]":(f.min?"":y+r)+(n.indexOf(y)!==-1?"{"+(0,t.printObjectProperties)(i(d)?Array.from(d).reduce((g,E)=>(g[E.name]=E.value,g),{}):{...d},f,p,m,b,h)+"}":"["+(0,t.printListItems)(Array.from(d),f,p,m,b,h)+"]")};e.serialize=u;var c={serialize:u,test:l},s=c;e.default=s}}),jC=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,">")}}}),mi=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(jC());function r(c){return c&&c.__esModule?c:{default:c}}var n=(c,s,d,f,p,m,b)=>{let h=f+d.indent,y=d.colors;return c.map(g=>{let E=s[g],C=b(E,d,h,p,m);return typeof E!="string"&&(C.indexOf(` +`)!==-1&&(C=d.spacingOuter+h+C+d.spacingOuter+f),C="{"+C+"}"),d.spacingInner+f+y.prop.open+g+y.prop.close+"="+y.value.open+C+y.value.close}).join("")};e.printProps=n;var a=(c,s,d,f,p,m)=>c.map(b=>s.spacingOuter+d+(typeof b=="string"?o(b,s):m(b,s,d,f,p))).join("");e.printChildren=a;var o=(c,s)=>{let d=s.colors.content;return d.open+(0,t.default)(c)+d.close};e.printText=o;var l=(c,s)=>{let d=s.colors.comment;return d.open+""+d.close};e.printComment=l;var i=(c,s,d,f,p)=>{let m=f.colors.tag;return m.open+"<"+c+(s&&m.close+s+f.spacingOuter+p+m.open)+(d?">"+m.close+d+f.spacingOuter+p+m.open+""+m.close};e.printElement=i;var u=(c,s)=>{let d=s.colors.tag;return d.open+"<"+c+d.close+" …"+d.open+" />"+d.close};e.printElementAsLeaf=u}}),NC=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=mi(),r=1,n=3,a=8,o=11,l=/^((HTML|SVG)\w*)?Element$/,i=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("-")||i(h);return g===r&&(l.test(y)||C)||g===n&&y==="Text"||g===a&&y==="Comment"||g===o&&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===a}function f(h){return h.nodeType===o}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 _=f(h)?"DocumentFragment":h.tagName.toLowerCase();return++E>y.maxDepth?(0,t.printElementAsLeaf)(_,y):(0,t.printElement)(_,(0,t.printProps)(f(h)?[]:Array.from(h.attributes).map(v=>v.name).sort(),f(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 m={serialize:p,test:c},b=m;e.default=b}}),$C=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=va(),r="@@__IMMUTABLE_ITERABLE__@@",n="@@__IMMUTABLE_LIST__@@",a="@@__IMMUTABLE_KEYED__@@",o="@@__IMMUTABLE_MAP__@@",l="@@__IMMUTABLE_ORDERED__@@",i="@@__IMMUTABLE_RECORD__@@",u="@@__IMMUTABLE_SEQ__@@",c="@@__IMMUTABLE_SET__@@",s="@@__IMMUTABLE_STACK__@@",d=w=>"Immutable."+w,f=w=>"["+w+"]",p=" ",m="…",b=(w,P,j,$,B,I,A)=>++$>P.maxDepth?f(d(A)):d(A)+p+"{"+(0,t.printIteratorEntries)(w.entries(),P,j,$,B,I)+"}";function h(w){let P=0;return{next(){if(P{let A=d(w._name||"Record");return++$>P.maxDepth?f(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?f(A):w[a]?A+p+"{"+(w._iter||w._object?(0,t.printIteratorEntries)(w.entries(),P,j,$,B,I):m)+"}":A+p+"["+(w._iter||w._array||w._collection||w._iterable?(0,t.printIteratorValues)(w.values(),P,j,$,B,I):m)+"]"},E=(w,P,j,$,B,I,A)=>++$>P.maxDepth?f(d(A)):d(A)+p+"["+(0,t.printIteratorValues)(w.values(),P,j,$,B,I)+"]",C=(w,P,j,$,B,I)=>w[o]?b(w,P,j,$,B,I,w[l]?"OrderedMap":"Map"):w[n]?E(w,P,j,$,B,I,"List"):w[c]?E(w,P,j,$,B,I,w[l]?"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[i]===!0);e.test=q;var _={serialize:C,test:q},v=_;e.default=v}}),IC=R({"../../node_modules/@testing-library/dom/node_modules/react-is/cjs/react-is.production.min.js"(e){var t=60103,r=60106,n=60107,a=60108,o=60114,l=60109,i=60110,u=60112,c=60113,s=60120,d=60115,f=60116,p=60121,m=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"),a=g("react.strict_mode"),o=g("react.profiler"),l=g("react.provider"),i=g("react.context"),u=g("react.forward_ref"),c=g("react.suspense"),s=g("react.suspense_list"),d=g("react.memo"),f=g("react.lazy"),p=g("react.block"),m=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 o:case a:case c:case s:return A;default:switch(A=A&&A.$$typeof,A){case i:case u:case f:case d:case l:return A;default:return k}}case r:return k}}}var C=l,q=t,_=u,v=n,w=f,P=d,j=r,$=o,B=a,I=c;e.ContextConsumer=i,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)===i},e.isContextProvider=function(A){return E(A)===l},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)===f},e.isMemo=function(A){return E(A)===d},e.isPortal=function(A){return E(A)===r},e.isProfiler=function(A){return E(A)===o},e.isStrictMode=function(A){return E(A)===a},e.isSuspense=function(A){return E(A)===c},e.isValidElementType=function(A){return typeof A=="string"||typeof A=="function"||A===n||A===o||A===h||A===a||A===c||A===s||A===y||typeof A=="object"&&A!==null&&(A.$$typeof===f||A.$$typeof===d||A.$$typeof===l||A.$$typeof===i||A.$$typeof===u||A.$$typeof===b||A.$$typeof===p||A[0]===m)},e.typeOf=E}}),BC=R({"../../node_modules/@testing-library/dom/node_modules/react-is/index.js"(e,t){t.exports=IC()}}),kC=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=a(BC()),r=mi();function n(f){if(typeof WeakMap!="function")return null;var p=new WeakMap,m=new WeakMap;return(n=function(b){return b?m:p})(f)}function a(f,p){if(f&&f.__esModule)return f;if(f===null||typeof f!="object"&&typeof f!="function")return{default:f};var m=n(p);if(m&&m.has(f))return m.get(f);var b={},h=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var y in f)if(y!=="default"&&Object.prototype.hasOwnProperty.call(f,y)){var g=h?Object.getOwnPropertyDescriptor(f,y):null;g&&(g.get||g.set)?Object.defineProperty(b,y,g):b[y]=f[y]}return b.default=f,m&&m.set(f,b),b}var o=(f,p=[])=>(Array.isArray(f)?f.forEach(m=>{o(m,p)}):f!=null&&f!==!1&&p.push(f),p),l=f=>{let p=f.type;if(typeof p=="string")return p;if(typeof p=="function")return p.displayName||p.name||"Unknown";if(t.isFragment(f))return"React.Fragment";if(t.isSuspense(f))return"React.Suspense";if(typeof p=="object"&&p!==null){if(t.isContextProvider(f))return"Context.Provider";if(t.isContextConsumer(f))return"Context.Consumer";if(t.isForwardRef(f)){if(p.displayName)return p.displayName;let m=p.render.displayName||p.render.name||"";return m!==""?"ForwardRef("+m+")":"ForwardRef"}if(t.isMemo(f)){let m=p.displayName||p.type.displayName||p.type.name||"";return m!==""?"Memo("+m+")":"Memo"}}return"UNDEFINED"},i=f=>{let{props:p}=f;return Object.keys(p).filter(m=>m!=="children"&&p[m]!==void 0).sort()},u=(f,p,m,b,h,y)=>++b>p.maxDepth?(0,r.printElementAsLeaf)(l(f),p):(0,r.printElement)(l(f),(0,r.printProps)(i(f),f.props,p,m+p.indent,b,h,y),(0,r.printChildren)(o(f.props.children),p,m+p.indent,b,h,y),p,m);e.serialize=u;var c=f=>f!=null&&t.isElement(f);e.test=c;var s={serialize:u,test:c},d=s;e.default=d}}),LC=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=mi(),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,a=typeof n=="function"&&n.for?n.for("react.test.json"):245830487,o=s=>{let{props:d}=s;return d?Object.keys(d).filter(f=>d[f]!==void 0).sort():[]},l=(s,d,f,p,m,b)=>++p>d.maxDepth?(0,t.printElementAsLeaf)(s.type,d):(0,t.printElement)(s.type,s.props?(0,t.printProps)(o(s),s.props,d,f+d.indent,p,m,b):"",s.children?(0,t.printChildren)(s.children,d,f+d.indent,p,m,b):"",d,f);e.serialize=l;var i=s=>s&&s.$$typeof===a;e.test=i;var u={serialize:l,test:i},c=u;e.default=c}}),DC=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=oe,e.plugins=void 0;var t=s(Ep()),r=va(),n=s(SC()),a=s(MC()),o=s(xC()),l=s(NC()),i=s($C()),u=s(kC()),c=s(LC());function s(M){return M&&M.__esModule?M:{default:M}}var d=Object.prototype.toString,f=Date.prototype.toISOString,p=Error.prototype.toString,m=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 }":f.call(M):Re==="[object Error]"?P(M):Re==="[object RegExp]"?J?m.call(M).replace(/[\\^$*+?.()|[\]{}]/g,"\\$&"):m.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{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 oe(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:a.default,DOMCollection:o.default,DOMElement:l.default,Immutable:i.default,ReactElement:u.default,ReactTestComponent:c.default};e.plugins=ue;var ut=oe;e.default=ut}}),FC=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,a=0,o={"@@iterator":function(){return o},next:function(){if(a=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,m){if(p){if(typeof p=="string")return c(p,m);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,m)}}function c(p,m){(m==null||m>p.length)&&(m=p.length);for(var b=0,h=new Array(m);b1&&arguments[1]!==void 0?arguments[1]:null,b=i(s),h;try{for(b.s();!(h=b.n()).done;){var y=n(h.value,2),g=y[0],E=y[1];p.call(m,E,g,s)}}catch(C){b.e(C)}finally{b.f()}},get:function(p){var m=s.find(function(b){return b[0]===p});return m&&m[1]},has:function(p){return!!d.get(p)},keys:function(){return s.map(function(p){var m=n(p,1),b=m[0];return b})},values:function(){return s.map(function(p){var m=n(p,2),b=m[1];return b})}},f=(0,t.default)(d,d.entries());e.default=f}}),UC=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(fn());function r(p){return p&&p.__esModule?p:{default:p}}function n(p,m){return l(p)||o(p,m)||u(p,m)||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 o(p,m){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),!(m&&h.length===m));y=!0);}catch(q){g=!0,C=q}finally{try{!y&&b.return!=null&&b.return()}finally{if(g)throw C}}return h}}function l(p){if(Array.isArray(p))return p}function i(p,m){var b=typeof Symbol<"u"&&p[Symbol.iterator]||p["@@iterator"];if(!b){if(Array.isArray(p)||(b=u(p))||m){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,m){if(p){if(typeof p=="string")return c(p,m);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,m)}}function c(p,m){(m==null||m>p.length)&&(m=p.length);for(var b=0,h=new Array(m);b1&&arguments[1]!==void 0?arguments[1]:null,b=i(s),h;try{for(b.s();!(h=b.n()).done;){var y=n(h.value,2),g=y[0],E=y[1];p.call(m,E,g,s)}}catch(C){b.e(C)}finally{b.f()}},get:function(p){var m=s.find(function(b){return b[0]===p});return m&&m[1]},has:function(p){return!!d.get(p)},keys:function(){return s.map(function(p){var m=n(p,1),b=m[0];return b})},values:function(){return s.map(function(p){var m=n(p,2),b=m[1];return b})}},f=(0,t.default)(d,d.entries());e.default=f}}),VC=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}}),zC=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}}),GC=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}}),WC=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}}),KC=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}}),YC=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}}),JC=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}}),XC=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}}),QC=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}}),ZC=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}}),eq=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}}),tq=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}}),rq=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(VC()),r=p(zC()),n=p(GC()),a=p(WC()),o=p(KC()),l=p(YC()),i=p(JC()),u=p(XC()),c=p(QC()),s=p(ZC()),d=p(eq()),f=p(tq());function p(h){return h&&h.__esModule?h:{default:h}}var m=[["command",t.default],["composite",r.default],["input",n.default],["landmark",a.default],["range",o.default],["roletype",l.default],["section",i.default],["sectionhead",u.default],["select",c.default],["structure",s.default],["widget",d.default],["window",f.default]],b=m;e.default=b}}),nq=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}}),aq=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}}),oq=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}}),lq=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}}),iq=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}}),sq=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}}),uq=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}}),cq=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}}),dq=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}}),pq=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}}),fq=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}}),mq=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}}),hq=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}}),bq=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}}),yq=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}}),gq=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}}),vq=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}}),_q=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}}),Rq=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}}),wq=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}}),Cq=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}}),qq=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}}),Eq=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}}),Pq=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}}),Oq=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}}),Tq=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}}),Sq=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}}),Aq=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}}),Mq=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}}),xq=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}}),jq=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}}),Nq=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}}),$q=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}}),Iq=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}}),Bq=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}}),kq=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}}),Lq=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}}),Dq=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}}),Fq=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}}),Hq=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}}),Uq=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}}),Vq=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}}),zq=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}}),Gq=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}}),Wq=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}}),Kq=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}}),Yq=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}}),Jq=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}}),Xq=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}}),Qq=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}}),Zq=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}}),eE=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}}),tE=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}}),rE=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}}),nE=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}}),aE=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}}),oE=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}}),lE=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}}),iE=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}}),sE=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}}),uE=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}}),cE=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}}),dE=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}}),pE=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}}),fE=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}}),mE=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}}),hE=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}}),bE=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}}),yE=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}}),gE=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}}),vE=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}}),_E=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}}),RE=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}}),wE=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}}),CE=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}}),qE=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}}),EE=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}}),PE=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}}),OE=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}}),TE=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}}),SE=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}}),AE=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}}),ME=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}}),xE=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(nq()),r=x(aq()),n=x(oq()),a=x(lq()),o=x(iq()),l=x(sq()),i=x(uq()),u=x(cq()),c=x(dq()),s=x(pq()),d=x(fq()),f=x(mq()),p=x(hq()),m=x(bq()),b=x(yq()),h=x(gq()),y=x(vq()),g=x(_q()),E=x(Rq()),C=x(wq()),q=x(Cq()),_=x(qq()),v=x(Eq()),w=x(Pq()),P=x(Oq()),j=x(Tq()),$=x(Sq()),B=x(Aq()),I=x(Mq()),A=x(xq()),k=x(jq()),U=x(Nq()),W=x($q()),G=x(Iq()),se=x(Bq()),ve=x(kq()),pe=x(Lq()),F=x(Dq()),L=x(Fq()),D=x(Hq()),z=x(Uq()),H=x(Vq()),oe=x(zq()),ue=x(Gq()),ut=x(Wq()),M=x(Kq()),V=x(Yq()),J=x(Jq()),re=x(Xq()),te=x(Qq()),Re=x(Zq()),we=x(eE()),Ee=x(tE()),We=x(rE()),Fa=x(nE()),Ha=x(aE()),Ua=x(oE()),Va=x(lE()),za=x(iE()),Ga=x(sE()),Wa=x(uE()),Ka=x(cE()),Ya=x(dE()),Ja=x(pE()),Xa=x(fE()),Qa=x(mE()),Za=x(hE()),eo=x(bE()),to=x(yE()),ro=x(gE()),no=x(vE()),ao=x(_E()),oo=x(RE()),lo=x(wE()),io=x(CE()),so=x(qE()),uo=x(EE()),co=x(PE()),po=x(OE()),fo=x(TE()),mo=x(SE()),ho=x(AE()),bo=x(ME());function x(Cn){return Cn&&Cn.__esModule?Cn:{default:Cn}}var yo=[["alert",t.default],["alertdialog",r.default],["application",n.default],["article",a.default],["banner",o.default],["blockquote",l.default],["button",i.default],["caption",u.default],["cell",c.default],["checkbox",s.default],["code",d.default],["columnheader",f.default],["combobox",p.default],["complementary",m.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",oe.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",Fa.default],["region",Ha.default],["row",Ua.default],["rowgroup",Va.default],["rowheader",za.default],["scrollbar",Ga.default],["search",Wa.default],["searchbox",Ka.default],["separator",Ya.default],["slider",Ja.default],["spinbutton",Xa.default],["status",Qa.default],["strong",Za.default],["subscript",eo.default],["superscript",to.default],["switch",ro.default],["tab",no.default],["table",ao.default],["tablist",oo.default],["tabpanel",lo.default],["term",io.default],["textbox",so.default],["time",uo.default],["timer",co.default],["toolbar",po.default],["tooltip",fo.default],["tree",mo.default],["treegrid",ho.default],["treeitem",bo.default]],tr=yo;e.default=tr}}),jE=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}}),NE=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}}),$E=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}}),IE=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}}),BE=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}}),kE=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}}),LE=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}}),DE=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}}),FE=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}}),HE=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}}),UE=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}}),VE=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}}),zE=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}}),GE=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}}),WE=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}}),KE=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}}),YE=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}}),JE=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}}),XE=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}}),QE=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}}),ZE=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}}),eP=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}}),tP=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}}),rP=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}}),nP=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}}),aP=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}}),oP=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}}),lP=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}}),iP=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}}),sP=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}}),uP=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}}),cP=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}}),dP=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}}),pP=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}}),fP=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}}),mP=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}}),hP=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}}),bP=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}}),yP=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}}),gP=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(jE()),r=D(NE()),n=D($E()),a=D(IE()),o=D(BE()),l=D(kE()),i=D(LE()),u=D(DE()),c=D(FE()),s=D(HE()),d=D(UE()),f=D(VE()),p=D(zE()),m=D(GE()),b=D(WE()),h=D(KE()),y=D(YE()),g=D(JE()),E=D(XE()),C=D(QE()),q=D(ZE()),_=D(eP()),v=D(tP()),w=D(rP()),P=D(nP()),j=D(aP()),$=D(oP()),B=D(lP()),I=D(iP()),A=D(sP()),k=D(uP()),U=D(cP()),W=D(dP()),G=D(pP()),se=D(fP()),ve=D(mP()),pe=D(hP()),F=D(bP()),L=D(yP());function D(oe){return oe&&oe.__esModule?oe:{default:oe}}var z=[["doc-abstract",t.default],["doc-acknowledgments",r.default],["doc-afterword",n.default],["doc-appendix",a.default],["doc-backlink",o.default],["doc-biblioentry",l.default],["doc-bibliography",i.default],["doc-biblioref",u.default],["doc-chapter",c.default],["doc-colophon",s.default],["doc-conclusion",d.default],["doc-cover",f.default],["doc-credit",p.default],["doc-credits",m.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}}),vP=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}}),_P=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}}),RP=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}}),wP=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=a(vP()),r=a(_P()),n=a(RP());function a(i){return i&&i.__esModule?i:{default:i}}var o=[["graphics-document",t.default],["graphics-object",r.default],["graphics-symbol",n.default]],l=o;e.default=l}}),hi=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=l(rq()),r=l(xE()),n=l(gP()),a=l(wP()),o=l(fn());function l(g){return g&&g.__esModule?g:{default:g}}function i(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){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 m(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 f(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 f(g,E)}}function f(g,E){(E==null||E>g.length)&&(E=g.length);for(var C=0,q=new Array(E);C1&&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,o.default)(h,h.entries());e.default=y}}),CP=R({"../../node_modules/dequal/lite/index.js"(e){var t=Object.prototype.hasOwnProperty;function r(n,a){var o,l;if(n===a)return!0;if(n&&a&&(o=n.constructor)===a.constructor){if(o===Date)return n.getTime()===a.getTime();if(o===RegExp)return n.toString()===a.toString();if(o===Array){if((l=n.length)===a.length)for(;l--&&r(n[l],a[l]););return l===-1}if(!o||typeof n=="object"){l=0;for(o in n)if(t.call(n,o)&&++l&&!t.call(a,o)||!(o in a)||!r(n[o],a[o]))return!1;return Object.keys(a).length===l}}return n!==n&&a!==a}e.dequal=r}}),qP=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=CP(),r=a(fn()),n=a(hi());function a(_){return _&&_.__esModule?_:{default:_}}function o(_,v){return u(_)||i(_,v)||s(_,v)||l()}function l(){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){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){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);w1&&arguments[1]!==void 0?arguments[1]:null,w=c(f),P;try{for(w.s();!(P=w.n()).done;){var j=o(P.value,2),$=j[0],B=j[1];_.call(v,B,$,f)}}catch(I){w.e(I)}finally{w.f()}},get:function(_){var v=f.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 f.map(function(_){var v=o(_,1),w=v[0];return w})},values:function(){return f.map(function(_){var v=o(_,2),w=v[1];return w})}},q=(0,r.default)(C,C.entries());e.default=q}}),EP=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(fn()),r=n(hi());function n(v){return v&&v.__esModule?v:{default:v}}function a(v,w){return i(v)||l(v,w)||c(v,w)||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 l(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 i(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){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);P0&&d.push([p,b])}var p,m,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 $=a(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=a(v,1),P=w[0];return P})},values:function(){return d.map(function(v){var w=a(v,2),P=w[1];return P})}},_=(0,t.default)(q,q.entries());e.default=_}}),PP=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=l(HC()),r=l(UC()),n=l(hi()),a=l(qP()),o=l(EP());function l(f){return f&&f.__esModule?f:{default:f}}var i=t.default;e.aria=i;var u=r.default;e.dom=u;var c=n.default;e.roles=c;var s=a.default;e.elementRoles=s;var d=o.default;e.roleElements=d}}),OP=R({"../../node_modules/lz-string/libs/lz-string.js"(e,t){var r=function(){var n=String.fromCharCode,a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+-$",l={};function i(c,s){if(!l[c]){l[c]={};for(var d=0;d>>8,d[f*2+1]=m%256}return d},decompressFromUint8Array:function(c){if(c==null)return u.decompress(c);for(var s=new Array(c.length/2),d=0,f=s.length;d>1}else{for(p=1,f=0;f>1}E--,E==0&&(E=Math.pow(2,q),q++),delete b[g]}else for(p=m[g],f=0;f>1;E--,E==0&&(E=Math.pow(2,q),q++),m[y]=C++,g=String(h)}if(g!==""){if(Object.prototype.hasOwnProperty.call(b,g)){if(g.charCodeAt(0)<256){for(f=0;f>1}else{for(p=1,f=0;f>1}E--,E==0&&(E=Math.pow(2,q),q++),delete b[g]}else for(p=m[g],f=0;f>1;E--,E==0&&(E=Math.pow(2,q),q++)}for(p=2,f=0;f>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 f=[],p=4,m=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)f[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(f[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;f[m++]=n(C),w=m-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;f[m++]=n(C),w=m-1,p--;break;case 2:return y.join("")}if(p==0&&(p=Math.pow(2,b),b++),f[w])h=f[w];else if(w===m)h=E+E.charAt(0);else return null;y.push(h),f[m++]=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})}}),Pp=Object.defineProperty,TP=Object.getOwnPropertyNames,N=(e,t)=>Pp(e,"name",{value:t,configurable:!0}),SP=(e,t)=>function(){return t||(0,e[TP(e)[0]])((t={exports:{}}).exports,t),t.exports},bi=(e,t)=>{for(var r in t)Pp(e,r,{get:t[r],enumerable:!0})},AP=SP({"(disabled):util"(){}}),at={};bi(at,{addChainableMethod:()=>Ti,addLengthGuard:()=>bn,addMethod:()=>Ei,addProperty:()=>qi,checkError:()=>Le,compareByInspect:()=>Gn,eql:()=>Zp,expectTypes:()=>jp,flag:()=>K,getActual:()=>Ra,getMessage:()=>vi,getName:()=>Ca,getOperator:()=>xi,getOwnEnumerableProperties:()=>Mi,getOwnEnumerablePropertySymbols:()=>Ai,getPathInfo:()=>Ci,hasProperty:()=>wa,inspect:()=>Q,isNaN:()=>Wn,isNumeric:()=>qe,isProxyEnabled:()=>hn,isRegExp:()=>Kn,objDisplay:()=>Ut,overwriteChainableMethod:()=>Si,overwriteMethod:()=>Oi,overwriteProperty:()=>Pi,proxify:()=>xr,test:()=>yi,transferFlags:()=>et,type:()=>ie});var Le={};bi(Le,{compatibleConstructor:()=>Sp,compatibleInstance:()=>Tp,compatibleMessage:()=>Ap,getConstructorName:()=>Mp,getMessage:()=>xp});function _a(e){return e instanceof Error||Object.prototype.toString.call(e)==="[object Error]"}N(_a,"isErrorInstance");function Op(e){return Object.prototype.toString.call(e)==="[object RegExp]"}N(Op,"isRegExp");function Tp(e,t){return _a(t)&&e===t}N(Tp,"compatibleInstance");function Sp(e,t){return _a(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(Sp,"compatibleConstructor");function Ap(e,t){let r=typeof e=="string"?e:e.message;return Op(t)?t.test(r):typeof t=="string"?r.indexOf(t)!==-1:!1}N(Ap,"compatibleMessage");function Mp(e){let t=e;return _a(e)?t=e.constructor.name:typeof e=="function"&&(t=e.name,t===""&&(t=new e().name||t)),t}N(Mp,"getConstructorName");function xp(e){let t="";return e&&e.message?t=e.message:typeof e=="string"&&(t=e),t}N(xp,"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 yi(e,t){var r=K(e,"negate"),n=t[0];return r?!n:n}N(yi,"test");function ie(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(ie,"type");var MP="captureStackTrace"in Error,Pn,ee=(Pn=class extends Error{constructor(t="Unspecified AssertionError",r,n){super(t);he(this,"message");this.message=t,MP&&Error.captureStackTrace(this,n||Pn);for(let a in r)a in this||(this[a]=r[a])}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 jp(e,t){var r=K(e,"message"),n=K(e,"ssfi");r=r?r+": ":"",e=K(e,"object"),t=t.map(function(l){return l.toLowerCase()}),t.sort();var a=t.map(function(l,i){var u=~["a","e","i","o","u"].indexOf(l.charAt(0))?"an":"a",c=t.length>1&&i===t.length-1?"or ":"";return c+u+" "+l}).join(", "),o=ie(e).toLowerCase();if(!t.some(function(l){return o===l}))throw new ee(r+"object tested must be "+a+", but "+o+" given",void 0,n)}N(jp,"expectTypes");function Ra(e,t){return t.length>4?t[4]:e._obj}N(Ra,"getActual");var wu={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"]},xP={special:"cyan",number:"yellow",bigint:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",symbol:"green",date:"magenta",regexp:"red"},gr="…";function Np(e,t){let r=wu[xP[t]]||wu[t]||"";return r?`\x1B[${r[0]}m${String(e)}\x1B[${r[1]}m`:String(e)}N(Np,"colorise");function $p({showHidden:e=!1,depth:t=2,colors:r=!1,customInspect:n=!0,showProxy:a=!1,maxArrayLength:o=1/0,breakLength:l=1/0,seen:i=[],truncate:u=1/0,stylize:c=String}={},s){let d={showHidden:!!e,depth:Number(t),colors:!!r,customInspect:!!n,showProxy:!!a,maxArrayLength:Number(o),breakLength:Number(l),truncate:Number(u),seen:i,inspect:s,stylize:c};return d.colors&&(d.stylize=Np),d}N($p,"normaliseOptions");function Ip(e){return e>="\uD800"&&e<="\uDBFF"}N(Ip,"isHighSurrogate");function Rt(e,t,r=gr){e=String(e);let n=r.length,a=e.length;if(n>t&&a>n)return r;if(a>t&&a>n){let o=t-n;return o>0&&Ip(e[o-1])&&(o=o-1),`${e.slice(0,o)}${r}`}return e}N(Rt,"truncate");function ze(e,t,r,n=", "){r=r||t.inspect;let a=e.length;if(a===0)return"";let o=t.truncate,l="",i="",u="";for(let c=0;co&&l.length+u.length<=o||!s&&!d&&b>o||(i=s?"":r(e[c+1],t)+(d?"":n),!s&&d&&b>o&&m+i.length>o))break;if(l+=p,!s&&!d&&m+i.length>=o){u=`${gr}(${e.length-c-1})`;break}u=""}return`${l}${u}`}N(ze,"inspectList");function Bp(e){return e.match(/^[a-zA-Z_][a-zA-Z_0-9]*$/)?e:JSON.stringify(e).replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'")}N(Bp,"quoteComplexKey");function vr([e,t],r){return r.truncate-=2,typeof e=="string"?e=Bp(e):typeof e!="number"&&(e=`[${r.inspect(e,r)}]`),r.truncate-=e.length,t=r.inspect(t,r),`${e}: ${t}`}N(vr,"inspectProperty");function kp(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 a="";return r.length&&(a=ze(r.map(o=>[o,e[o]]),t,vr)),`[ ${n}${a?`, ${a}`:""} ]`}N(kp,"inspectArray");var jP=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=jP(e);t.truncate-=r.length+4;let n=Object.keys(e).slice(e.length);if(!e.length&&!n.length)return`${r}[]`;let a="";for(let l=0;l[l,e[l]]),t,vr)),`${r}[ ${a}${o?`, ${o}`:""} ]`}N(rt,"inspectTypedArray");function Lp(e,t){let r=e.toJSON();if(r===null)return"Invalid Date";let n=r.split("T"),a=n[0];return t.stylize(`${a}T${Rt(n[1],t.truncate-a.length-1)}`,"date")}N(Lp,"inspectDate");function tl(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(tl,"inspectFunction");function Dp([e,t],r){return r.truncate-=4,e=r.inspect(e,r),r.truncate-=e.length,t=r.inspect(t,r),`${e} => ${t}`}N(Dp,"inspectMapEntry");function Fp(e){let t=[];return e.forEach((r,n)=>{t.push([n,r])}),t}N(Fp,"mapToEntries");function Hp(e,t){return e.size-1<=0?"Map{}":(t.truncate-=7,`Map{ ${ze(Fp(e),t,Dp)} }`)}N(Hp,"inspectMap");var NP=Number.isNaN||(e=>e!==e);function rl(e,t){return NP(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(rl,"inspectNumber");function nl(e,t){let r=Rt(e.toString(),t.truncate-1);return r!==gr&&(r+="n"),t.stylize(r,"bigint")}N(nl,"inspectBigInt");function Up(e,t){let r=e.toString().split("/")[2],n=t.truncate-(2+r.length),a=e.source;return t.stylize(`/${Rt(a,n)}/${r}`,"regexp")}N(Up,"inspectRegExp");function Vp(e){let t=[];return e.forEach(r=>{t.push(r)}),t}N(Vp,"arrayFromSet");function zp(e,t){return e.size===0?"Set{}":(t.truncate-=7,`Set{ ${ze(Vp(e),t)} }`)}N(zp,"inspectSet");var Cu=new RegExp("['\\u0000-\\u001f\\u007f-\\u009f\\u00ad\\u0600-\\u0604\\u070f\\u17b4\\u17b5\\u200c-\\u200f\\u2028-\\u202f\\u2060-\\u206f\\ufeff\\ufff0-\\uffff]","g"),$P={"\b":"\\b"," ":"\\t","\n":"\\n","\f":"\\f","\r":"\\r","'":"\\'","\\":"\\\\"},IP=16;function Gp(e){return $P[e]||`\\u${`0000${e.charCodeAt(0).toString(IP)}`.slice(-4)}`}N(Gp,"escape");function al(e,t){return Cu.test(e)&&(e=e.replace(Cu,Gp)),t.stylize(`'${Rt(e,t.truncate-2)}'`,"string")}N(al,"inspectString");function ol(e){return"description"in Symbol.prototype?e.description?`Symbol(${e.description})`:"Symbol()":e.toString()}N(ol,"inspectSymbol");var Wp=N(()=>"Promise{…}","getPromiseValue");try{let{getPromiseDetails:e,kPending:t,kRejected:r}=process.binding("util");Array.isArray(e(Promise.resolve()))&&(Wp=N((n,a)=>{let[o,l]=e(n);return o===t?"Promise{}":`Promise${o===r?"!":""}{${a.inspect(l,a)}}`},"getPromiseValue"))}catch{}var BP=Wp;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 a=ze(r.map(i=>[i,e[i]]),t,vr),o=ze(n.map(i=>[i,e[i]]),t,vr);t.seen.pop();let l="";return a&&o&&(l=", "),`{ ${a}${l}${o} }`}N(Hr,"inspectObject");var Oo=typeof Symbol<"u"&&Symbol.toStringTag?Symbol.toStringTag:!1;function Kp(e,t){let r="";return Oo&&Oo in e&&(r=e[Oo]),r=r||e.constructor.name,(!r||r==="_class")&&(r=""),t.truncate-=r.length,`${r}${Hr(e,t)}`}N(Kp,"inspectClass");function Yp(e,t){return e.length===0?"Arguments[]":(t.truncate-=13,`Arguments[ ${ze(e,t)} ]`)}N(Yp,"inspectArguments");var kP=["stack","line","column","name","message","fileName","lineNumber","columnNumber","number","description","cause"];function Jp(e,t){let r=Object.getOwnPropertyNames(e).filter(l=>kP.indexOf(l)===-1),n=e.name;t.truncate-=n.length;let a="";if(typeof e.message=="string"?a=Rt(e.message,t.truncate):r.unshift("message"),a=a?`: ${a}`:"",t.truncate-=a.length+5,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);return`${n}${a}${o?` { ${o} }`:""}`}N(Jp,"inspectObject");function Xp([e,t],r){return r.truncate-=3,t?`${r.stylize(String(e),"yellow")}=${r.stylize(`"${t}"`,"string")}`:`${r.stylize(String(e),"yellow")}`}N(Xp,"inspectAttribute");function Un(e,t){return ze(e,t,gi,` +`)}N(Un,"inspectHTMLCollection");function gi(e,t){let r=e.getAttributeNames(),n=e.tagName.toLowerCase(),a=t.stylize(`<${n}`,"special"),o=t.stylize(">","special"),l=t.stylize(``,"special");t.truncate-=n.length*2+5;let i="";r.length>0&&(i+=" ",i+=ze(r.map(s=>[s,e.getAttribute(s)]),t,Xp," ")),t.truncate-=i.length;let u=t.truncate,c=Un(e.children,t);return c&&c.length>u&&(c=`${gr}(${e.children.length})`),`${a}${i}${o}${c}${l}`}N(gi,"inspectHTML");var LP=typeof Symbol=="function"&&typeof Symbol.for=="function",To=LP?Symbol.for("chai/inspect"):"@@chai/inspect",lr=!1;try{let e=AP();lr=e.inspect?e.inspect.custom:!1}catch{lr=!1}var qu=new WeakMap,Eu={},Pu={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:rl,Number:rl,bigint:nl,BigInt:nl,string:al,String:al,function:tl,Function:tl,symbol:ol,Symbol:ol,Array:kp,Date:Lp,Map:Hp,Set:zp,RegExp:Up,Promise:BP,WeakSet:(e,t)=>t.stylize("WeakSet{…}","special"),WeakMap:(e,t)=>t.stylize("WeakMap{…}","special"),Arguments:Yp,Int8Array:rt,Uint8Array:rt,Uint8ClampedArray:rt,Int16Array:rt,Uint16Array:rt,Int32Array:rt,Uint32Array:rt,Float32Array:rt,Float64Array:rt,Generator:()=>"",DataView:()=>"",ArrayBuffer:()=>"",Error:Jp,HTMLCollection:Un,NodeList:Un},DP=N((e,t,r)=>To in e&&typeof e[To]=="function"?e[To](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):Eu[r]?Eu[r](e,t):"","inspectCustom"),FP=Object.prototype.toString;function Vn(e,t={}){let r=$p(t,Vn),{customInspect:n}=r,a=e===null?"null":typeof e;if(a==="object"&&(a=FP.call(e).slice(8,-1)),a in Pu)return Pu[a](e,r);if(n&&e){let l=DP(e,r,a);if(l)return typeof l=="string"?l:Vn(l,r)}let o=e?Object.getPrototypeOf(e):!1;return o===Object.prototype||o===null?Hr(e,r):e&&typeof HTMLElement=="function"&&e instanceof HTMLElement?gi(e,r):"constructor"in e?e.constructor!==Object?Kp(e,r):Hr(e,r):e===Object(e)?Hr(e,r):r.stylize(String(e),a)}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 a={colors:n,depth:typeof r>"u"?2:r,showHidden:t,truncate:Be.truncateThreshold?Be.truncateThreshold:1/0};return Vn(e,a)}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),a=n.length>2?n.splice(0,2).join(", ")+", ...":n.join(", ");return"{ Object ("+a+") }"}else return t}else return t}N(Ut,"objDisplay");function vi(e,t){var r=K(e,"negate"),n=K(e,"object"),a=t[3],o=Ra(e,t),l=r?t[2]:t[1],i=K(e,"message");return typeof l=="function"&&(l=l()),l=l||"",l=l.replace(/#\{this\}/g,function(){return Ut(n)}).replace(/#\{act\}/g,function(){return Ut(o)}).replace(/#\{exp\}/g,function(){return Ut(a)}),i?i+": "+l:l}N(vi,"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 a in n)(r||a!=="object"&&a!=="ssfi"&&a!=="lockSsfi"&&a!="message")&&(t.__flags[a]=n[a])}N(et,"transferFlags");function ll(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(ll,"type");function _i(){this._key="chai/deep-eql__"+Math.random()+Date.now()}N(_i,"FakeMap");_i.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 Qp=typeof WeakMap=="function"?WeakMap:_i;function il(e,t,r){if(!r||Gt(e)||Gt(t))return null;var n=r.get(e);if(n){var a=n.get(t);if(typeof a=="boolean")return a}return null}N(il,"memoizeCompare");function kr(e,t,r,n){if(!(!r||Gt(e)||Gt(t))){var a=r.get(e);a?a.set(t,n):(a=new Qp,a.set(t,n),r.set(e,a))}}N(kr,"memoizeSet");var Zp=mn;function mn(e,t,r){if(r&&r.comparator)return sl(e,t,r);var n=Ri(e,t);return n!==null?n:sl(e,t,r)}N(mn,"deepEqual");function Ri(e,t){return e===t?e!==0||1/e===1/t:e!==e&&t!==t?!0:Gt(e)||Gt(t)?!1:null}N(Ri,"simpleEqual");function sl(e,t,r){r=r||{},r.memoize=r.memoize===!1?!1:r.memoize||new Qp;var n=r&&r.comparator,a=il(e,t,r.memoize);if(a!==null)return a;var o=il(t,e,r.memoize);if(o!==null)return o;if(n){var l=n(e,t);if(l===!1||l===!0)return kr(e,t,r.memoize,l),l;var i=Ri(e,t);if(i!==null)return i}var u=ll(e);if(u!==ll(t))return kr(e,t,r.memoize,!1),!1;kr(e,t,r.memoize,!0);var c=ef(e,t,u,r);return kr(e,t,r.memoize,c),c}N(sl,"extensiveDeepEqual");function ef(e,t,r,n){switch(r){case"String":case"Number":case"Boolean":case"Date":return mn(e.valueOf(),t.valueOf());case"Promise":case"Symbol":case"function":case"WeakMap":case"WeakSet":return e===t;case"Error":return wi(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 tf(e,t);case"Generator":return rf(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 ul(e,t,n);case"Map":return ul(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 af(e,t,n)}}N(ef,"extensiveDeepEqualByType");function tf(e,t){return e.toString()===t.toString()}N(tf,"regexpEqual");function ul(e,t,r){try{if(e.size!==t.size)return!1;if(e.size===0)return!0}catch{return!1}var n=[],a=[];return e.forEach(N(function(o,l){n.push([o,l])},"gatherEntries")),t.forEach(N(function(o,l){a.push([o,l])},"gatherEntries")),xt(n.sort(),a.sort(),r)}N(ul,"entriesEqual");function xt(e,t,r){var n=e.length;if(n!==t.length)return!1;if(n===0)return!0;for(var a=-1;++a"u"||e===null?!1:t in Object(e)}N(wa,"hasProperty");function of(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(of,"parsePath");function ml(e,t,r){let n=e,a=null;r=typeof r>"u"?t.length:r;for(let o=0;o"u"?n=n[l.i]:n=n[l.p],o===r-1&&(a=n))}return a}N(ml,"internalGetPathValue");function Ci(e,t){let r=of(t),n=r[r.length-1],a={parent:r.length>1?ml(e,r,r.length-1):e,name:n.p||n.i,value:ml(e,r)};return a.exists=wa(a.parent,a.name),a}N(Ci,"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||Zp),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){qi(this.prototype,e,t)};T.addMethod=function(e,t){Ei(this.prototype,e,t)};T.addChainableMethod=function(e,t,r){Ti(this.prototype,e,t,r)};T.overwriteProperty=function(e,t){Pi(this.prototype,e,t)};T.overwriteMethod=function(e,t){Oi(this.prototype,e,t)};T.overwriteChainableMethod=function(e,t,r){Si(this.prototype,e,t,r)};T.prototype.assert=function(e,t,r,n,a,o){var l=yi(this,arguments);if(o!==!1&&(o=!0),n===void 0&&a===void 0&&(o=!1),Be.showDiff!==!0&&(o=!1),!l){t=vi(this,arguments);var i=Ra(this,arguments),u={actual:i,expected:n,showDiff:o},c=xi(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 qi(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 a=r.call(this);if(a!==void 0)return a;var o=new T;return et(this,o),o},"propertyGetter"),configurable:!0})}N(qi,"addProperty");var HP=Object.getOwnPropertyDescriptor(function(){},"length");function bn(e,t,r){return HP.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 lf(e){var t=Object.getOwnPropertyNames(e);function r(a){t.indexOf(a)===-1&&t.push(a)}N(r,"addProperty");for(var n=Object.getPrototypeOf(e);n!==null;)Object.getOwnPropertyNames(n).forEach(r),n=Object.getPrototypeOf(n);return t}N(lf,"getProperties");var Ou=["__flags","__methods","_obj","assert"];function xr(e,t){return hn()?new Proxy(e,{get:N(function r(n,a){if(typeof a=="string"&&Be.proxyExcludedKeys.indexOf(a)===-1&&!Reflect.has(n,a)){if(t)throw Error("Invalid Chai property: "+t+"."+a+'. See docs for proper usage of "'+t+'".');var o=null,l=4;throw lf(n).forEach(function(i){if(!Object.prototype.hasOwnProperty(i)&&Ou.indexOf(i)===-1){var u=sf(a,i,l);u=r)return r;var n=[];for(let o=0;o<=e.length;o++)n[o]=Array(t.length+1).fill(0),n[o][0]=o;for(let o=0;o=r){n[o][l]=r;continue}n[o][l]=Math.min(n[o-1][l]+1,n[o][l-1]+1,n[o-1][l-1]+(a===t.charCodeAt(l-1)?0:1))}}return n[e.length][t.length]}N(sf,"stringDistanceCapped");function Ei(e,t,r){var n=N(function(){K(this,"lockSsfi")||K(this,"ssfi",n);var a=r.apply(this,arguments);if(a!==void 0)return a;var o=new T;return et(this,o),o},"methodWrapper");bn(n,t,!1),e[t]=xr(n,t)}N(Ei,"addMethod");function Pi(e,t,r){var n=Object.getOwnPropertyDescriptor(e,t),a=N(function(){},"_super");n&&typeof n.get=="function"&&(a=n.get),Object.defineProperty(e,t,{get:N(function o(){!hn()&&!K(this,"lockSsfi")&&K(this,"ssfi",o);var l=K(this,"lockSsfi");K(this,"lockSsfi",!0);var i=r(a).call(this);if(K(this,"lockSsfi",l),i!==void 0)return i;var u=new T;return et(this,u),u},"overwritingPropertyGetter"),configurable:!0})}N(Pi,"overwriteProperty");function Oi(e,t,r){var n=e[t],a=N(function(){throw new Error(t+" is not a function")},"_super");n&&typeof n=="function"&&(a=n);var o=N(function(){K(this,"lockSsfi")||K(this,"ssfi",o);var l=K(this,"lockSsfi");K(this,"lockSsfi",!0);var i=r(a).apply(this,arguments);if(K(this,"lockSsfi",l),i!==void 0)return i;var u=new T;return et(this,u),u},"overwritingMethodWrapper");bn(o,t,!1),e[t]=xr(o,t)}N(Oi,"overwriteMethod");var UP=typeof Object.setPrototypeOf=="function",Tu=N(function(){},"testFn"),VP=Object.getOwnPropertyNames(Tu).filter(function(e){var t=Object.getOwnPropertyDescriptor(Tu,e);return typeof t!="object"?!0:!t.configurable}),zP=Function.prototype.call,GP=Function.prototype.apply;function Ti(e,t,r,n){typeof n!="function"&&(n=N(function(){},"chainingBehavior"));var a={method:r,chainingBehavior:n};e.__methods||(e.__methods={}),e.__methods[t]=a,Object.defineProperty(e,t,{get:N(function(){a.chainingBehavior.call(this);var o=N(function(){K(this,"lockSsfi")||K(this,"ssfi",o);var u=a.method.apply(this,arguments);if(u!==void 0)return u;var c=new T;return et(this,c),c},"chainableMethodWrapper");if(bn(o,t,!0),UP){var l=Object.create(this);l.call=zP,l.apply=GP,Object.setPrototypeOf(o,l)}else{var i=Object.getOwnPropertyNames(e);i.forEach(function(u){if(VP.indexOf(u)===-1){var c=Object.getOwnPropertyDescriptor(e,u);Object.defineProperty(o,u,c)}})}return et(this,o),xr(o)},"chainableMethodGetter"),configurable:!0})}N(Ti,"addChainableMethod");function Si(e,t,r,n){var a=e.__methods[t],o=a.chainingBehavior;a.chainingBehavior=N(function(){var i=n(o).call(this);if(i!==void 0)return i;var u=new T;return et(this,u),u},"overwritingChainableMethodGetter");var l=a.method;a.method=N(function(){var i=r(l).apply(this,arguments);if(i!==void 0)return i;var u=new T;return et(this,u),u},"overwritingChainableMethodWrapper")}N(Si,"overwriteChainableMethod");function Gn(e,t){return Q(e)1&&p===d.length)throw f;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(ie(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}: `:"",a=S(this,"negate"),o=a?`${n}expected ${Q(e)} not to be a callable function`:`${n}expected ${Q(e)} to be a callable function`,l=["Function","AsyncFunction","GeneratorFunction","AsyncGeneratorFunction"].includes(ie(e));if(l&&a||!l&&!a)throw new ee(o,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 Ni(){var e=S(this,"object");this.assert(e!=null,"expected #{this} to exist","expected #{this} to not exist")}N(Ni,"assertExist");T.addProperty("exist",Ni);T.addProperty("exists",Ni);T.addProperty("empty",function(){var e=S(this,"object"),t=S(this,"ssfi"),r=S(this,"message"),n;switch(r=r?r+": ":"",ie(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 a=r+".empty was passed a function "+Ca(e);throw new ee(a.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 $i(){var e=S(this,"object"),t=ie(e);this.assert(t==="Arguments","expected #{this} to be arguments but got "+t,"expected #{this} to not be arguments")}N($i,"checkArguments");T.addProperty("arguments",$i);T.addProperty("Arguments",$i);function qa(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(qa,"assertEqual");T.addMethod("equal",qa);T.addMethod("equals",qa);T.addMethod("eq",qa);function Ii(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(Ii,"assertEql");T.addMethod("eql",Ii);T.addMethod("eqls",Ii);function Ea(e,t){t&&S(this,"message",t);var r=S(this,"object"),n=S(this,"doLength"),a=S(this,"message"),o=a?a+": ":"",l=S(this,"ssfi"),i=ie(r).toLowerCase(),u=ie(e).toLowerCase();if(n&&i!=="map"&&i!=="set"&&new T(r,a,l,!0).to.have.property("length"),!n&&i==="date"&&u!=="date")throw new ee(o+"the argument to above must be a date",void 0,l);if(!qe(e)&&(n||qe(r)))throw new ee(o+"the argument to above must be a number",void 0,l);if(!n&&i!=="date"&&!qe(r)){var c=i==="string"?"'"+r+"'":r;throw new ee(o+"expected "+c+" to be a number or a date",void 0,l)}if(n){var s="length",d;i==="map"||i==="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(Ea,"assertAbove");T.addMethod("above",Ea);T.addMethod("gt",Ea);T.addMethod("greaterThan",Ea);function Pa(e,t){t&&S(this,"message",t);var r=S(this,"object"),n=S(this,"doLength"),a=S(this,"message"),o=a?a+": ":"",l=S(this,"ssfi"),i=ie(r).toLowerCase(),u=ie(e).toLowerCase(),c,s=!0;if(n&&i!=="map"&&i!=="set"&&new T(r,a,l,!0).to.have.property("length"),!n&&i==="date"&&u!=="date")c=o+"the argument to least must be a date";else if(!qe(e)&&(n||qe(r)))c=o+"the argument to least must be a number";else if(!n&&i!=="date"&&!qe(r)){var d=i==="string"?"'"+r+"'":r;c=o+"expected "+d+" to be a number or a date"}else s=!1;if(s)throw new ee(c,void 0,l);if(n){var f="length",p;i==="map"||i==="set"?(f="size",p=r.size):p=r.length,this.assert(p>=e,"expected #{this} to have a "+f+" at least #{exp} but got #{act}","expected #{this} to have a "+f+" below #{exp}",e,p)}else this.assert(r>=e,"expected #{this} to be at least #{exp}","expected #{this} to be below #{exp}",e)}N(Pa,"assertLeast");T.addMethod("least",Pa);T.addMethod("gte",Pa);T.addMethod("greaterThanOrEqual",Pa);function Oa(e,t){t&&S(this,"message",t);var r=S(this,"object"),n=S(this,"doLength"),a=S(this,"message"),o=a?a+": ":"",l=S(this,"ssfi"),i=ie(r).toLowerCase(),u=ie(e).toLowerCase(),c,s=!0;if(n&&i!=="map"&&i!=="set"&&new T(r,a,l,!0).to.have.property("length"),!n&&i==="date"&&u!=="date")c=o+"the argument to below must be a date";else if(!qe(e)&&(n||qe(r)))c=o+"the argument to below must be a number";else if(!n&&i!=="date"&&!qe(r)){var d=i==="string"?"'"+r+"'":r;c=o+"expected "+d+" to be a number or a date"}else s=!1;if(s)throw new ee(c,void 0,l);if(n){var f="length",p;i==="map"||i==="set"?(f="size",p=r.size):p=r.length,this.assert(p=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 Bi(e,t){t&&S(this,"message",t);var r=S(this,"object"),n=S(this,"ssfi"),a=S(this,"message");try{var o=r instanceof e}catch(i){throw i instanceof TypeError?(a=a?a+": ":"",new ee(a+"The instanceof assertion needs a constructor but "+ie(e)+" was given.",void 0,n)):i}var l=Ca(e);l==null&&(l="an unnamed constructor"),this.assert(o,"expected #{this} to be an instance of "+l,"expected #{this} to not be an instance of "+l)}N(Bi,"assertInstanceOf");T.addMethod("instanceof",Bi);T.addMethod("instanceOf",Bi);function ki(e,t,r){r&&S(this,"message",r);var n=S(this,"nested"),a=S(this,"own"),o=S(this,"message"),l=S(this,"object"),i=S(this,"ssfi"),u=typeof e;if(o=o?o+": ":"",n){if(u!=="string")throw new ee(o+"the argument to property must be a string when using nested syntax",void 0,i)}else if(u!=="string"&&u!=="number"&&u!=="symbol")throw new ee(o+"the argument to property must be a string, number, or symbol",void 0,i);if(n&&a)throw new ee(o+'The "nested" and "own" flags cannot be combined.',void 0,i);if(l==null)throw new ee(o+"Target cannot be null or undefined.",void 0,i);var c=S(this,"deep"),s=S(this,"negate"),d=n?Ci(l,e):null,f=n?d.value:l[e],p=c?S(this,"eql"):(h,y)=>h===y,m="";c&&(m+="deep "),a&&(m+="own "),n&&(m+="nested "),m+="property ";var b;a?b=Object.prototype.hasOwnProperty.call(l,e):n?b=d.exists:b=wa(l,e),(!s||arguments.length===1)&&this.assert(b,"expected #{this} to have "+m+Q(e),"expected #{this} to not have "+m+Q(e)),arguments.length>1&&this.assert(b&&p(t,f),"expected #{this} to have "+m+Q(e)+" of #{exp}, but got #{act}","expected #{this} to not have "+m+Q(e)+" of #{act}",t,f),S(this,"object",f)}N(ki,"assertProperty");T.addMethod("property",ki);function Li(e,t,r){S(this,"own",!0),ki.apply(this,arguments)}N(Li,"assertOwnProperty");T.addMethod("ownProperty",Li);T.addMethod("haveOwnProperty",Li);function Di(e,t,r){typeof t=="string"&&(r=t,t=null),r&&S(this,"message",r);var n=S(this,"object"),a=Object.getOwnPropertyDescriptor(Object(n),e),o=S(this,"eql");a&&t?this.assert(o(t,a),"expected the own property descriptor for "+Q(e)+" on #{this} to match "+Q(t)+", got "+Q(a),"expected the own property descriptor for "+Q(e)+" on #{this} to not match "+Q(t),t,a,!0):this.assert(a,"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",a)}N(Di,"assertOwnPropertyDescriptor");T.addMethod("ownPropertyDescriptor",Di);T.addMethod("haveOwnPropertyDescriptor",Di);function Fi(){S(this,"doLength",!0)}N(Fi,"assertLengthChain");function Hi(e,t){t&&S(this,"message",t);var r=S(this,"object"),n=ie(r).toLowerCase(),a=S(this,"message"),o=S(this,"ssfi"),l="length",i;switch(n){case"map":case"set":l="size",i=r.size;break;default:new T(r,a,o,!0).to.have.property("length"),i=r.length}this.assert(i==e,"expected #{this} to have a "+l+" of #{exp} but got #{act}","expected #{this} to not have a "+l+" of #{act}",e,i)}N(Hi,"assertLength");T.addChainableMethod("length",Hi,Fi);T.addChainableMethod("lengthOf",Hi,Fi);function Ui(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(Ui,"assertMatch");T.addMethod("match",Ui);T.addMethod("matches",Ui);T.addMethod("string",function(e,t){t&&S(this,"message",t);var r=S(this,"object"),n=S(this,"message"),a=S(this,"ssfi");new T(r,n,a,!0).is.a("string"),this.assert(~r.indexOf(e),"expected #{this} to contain "+Q(e),"expected #{this} to not contain "+Q(e))});function Vi(e){var t=S(this,"object"),r=ie(t),n=ie(e),a=S(this,"ssfi"),o=S(this,"deep"),l,i="",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")i=o?"deeply ":"",u=[],t.forEach(function(g,E){u.push(E)}),n!=="Array"&&(e=Array.prototype.slice.call(arguments));else{switch(u=Mi(t),n){case"Array":if(arguments.length>1)throw new ee(d,void 0,a);break;case"Object":if(arguments.length>1)throw new ee(d,void 0,a);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,a);var f=e.length,p=S(this,"any"),m=S(this,"all"),b=e,h=o?S(this,"eql"):(g,E)=>g===E;if(!p&&!m&&(m=!0),p&&(c=b.some(function(g){return u.some(function(E){return h(g,E)})})),m&&(c=b.every(function(g){return u.some(function(E){return h(g,E)})}),S(this,"contains")||(c=c&&e.length==u.length)),f>1){e=e.map(function(g){return Q(g)});var y=e.pop();m&&(l=e.join(", ")+", and "+y),p&&(l=e.join(", ")+", or "+y)}else l=Q(e[0]);l=(f>1?"keys ":"key ")+l,l=(S(this,"contains")?"contain ":"have ")+l,this.assert(c,"expected #{this} to "+i+l,"expected #{this} to not "+i+l,b.slice(0).sort(Gn),u.sort(Gn),!0)}N(Vi,"assertKeys");T.addMethod("keys",Vi);T.addMethod("key",Vi);function Sa(e,t,r){r&&S(this,"message",r);var n=S(this,"object"),a=S(this,"ssfi"),o=S(this,"message"),l=S(this,"negate")||!1;new T(n,o,a,!0).is.a("function"),(Kn(e)||typeof e=="string")&&(t=e,e=null);let i,u=!1;try{n()}catch(g){u=!0,i=g}var c=e===void 0&&t===void 0,s=!!(e&&t),d=!1,f=!1;if(c||!c&&!l){var p="an error";e instanceof Error?p="#{exp}":e&&(p=Le.getConstructorName(e));let g=i;if(i instanceof Error)g=i.toString();else if(typeof i=="string")g=i;else if(i&&(typeof i=="object"||typeof i=="function"))try{g=Le.getConstructorName(i)}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&&i){if(e instanceof Error){var m=Le.compatibleInstance(i,e);m===l&&(s&&l?d=!0:this.assert(l,"expected #{this} to throw #{exp} but #{act} was thrown","expected #{this} to not throw #{exp}"+(i&&!l?" but #{act} was thrown":""),e.toString(),i.toString()))}var b=Le.compatibleConstructor(i,e);b===l&&(s&&l?d=!0:this.assert(l,"expected #{this} to throw #{exp} but #{act} was thrown","expected #{this} to not throw #{exp}"+(i?" but #{act} was thrown":""),e instanceof Error?e.toString():e&&Le.getConstructorName(e),i instanceof Error?i.toString():i&&Le.getConstructorName(i)))}if(i&&t!==void 0&&t!==null){var h="including";Kn(t)&&(h="matching");var y=Le.compatibleMessage(i,t);y===l&&(s&&l?f=!0:this.assert(l,"expected #{this} to throw error "+h+" #{exp} but got #{act}","expected #{this} to throw error not "+h+" #{exp}",t,Le.getMessage(i)))}d&&f&&this.assert(l,"expected #{this} to throw #{exp} but #{act} was thrown","expected #{this} to not throw #{exp}"+(i?" but #{act} was thrown":""),e instanceof Error?e.toString():e&&Le.getConstructorName(e),i instanceof Error?i.toString():i&&Le.getConstructorName(i)),S(this,"object",i)}N(Sa,"assertThrows");T.addMethod("throw",Sa);T.addMethod("throws",Sa);T.addMethod("Throw",Sa);function zi(e,t){t&&S(this,"message",t);var r=S(this,"object"),n=S(this,"itself"),a=typeof r=="function"&&!n?r.prototype[e]:r[e];this.assert(typeof a=="function","expected #{this} to respond to "+Q(e),"expected #{this} to not respond to "+Q(e))}N(zi,"respondTo");T.addMethod("respondTo",zi);T.addMethod("respondsTo",zi);T.addProperty("itself",function(){S(this,"itself",!0)});function Gi(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(Gi,"satisfy");T.addMethod("satisfy",Gi);T.addMethod("satisfies",Gi);function Wi(e,t,r){r&&S(this,"message",r);var n=S(this,"object"),a=S(this,"message"),o=S(this,"ssfi");new T(n,a,o,!0).is.numeric;let l="A `delta` value is required for `closeTo`";if(t==null)throw new ee(a?`${a}: ${l}`:l,void 0,o);if(new T(t,a,o,!0).is.numeric,l="A `expected` value is required for `closeTo`",e==null)throw new ee(a?`${a}: ${l}`:l,void 0,o);new T(e,a,o,!0).is.numeric;let i=N(c=>c<0n?-c:c,"abs"),u=N(c=>parseFloat(parseFloat(c).toPrecision(12)),"strip");this.assert(u(i(n-e))<=t,"expected #{this} to be close to "+e+" +/- "+t,"expected #{this} not to be close to "+e+" +/- "+t)}N(Wi,"closeTo");T.addMethod("closeTo",Wi);T.addMethod("approximately",Wi);function df(e,t,r,n,a){let o=Array.from(t),l=Array.from(e);if(!n){if(l.length!==o.length)return!1;o=o.slice()}return l.every(function(i,u){if(a)return r?r(i,o[u]):i===o[u];if(!r){var c=o.indexOf(i);return c===-1?!1:(n||o.splice(c,1),!0)}return o.some(function(s,d){return r(i,s)?(n||o.splice(d,1),!0):!1})})}N(df,"isSubsetOf");T.addMethod("members",function(e,t){t&&S(this,"message",t);var r=S(this,"object"),n=S(this,"message"),a=S(this,"ssfi");new T(r,n,a,!0).to.be.iterable,new T(e,n,a,!0).to.be.iterable;var o=S(this,"contains"),l=S(this,"ordered"),i,u,c;o?(i=l?"an ordered superset":"a superset",u="expected #{this} to be "+i+" of #{exp}",c="expected #{this} to not be "+i+" of #{exp}"):(i=l?"ordered members":"members",u="expected #{this} to have the same "+i+" as #{exp}",c="expected #{this} to not have the same "+i+" as #{exp}");var s=S(this,"deep")?S(this,"eql"):void 0;this.assert(df(e,r,s,o,l),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 pf(e,t){t&&S(this,"message",t);var r=S(this,"object"),n=S(this,"message"),a=S(this,"ssfi"),o=S(this,"contains"),l=S(this,"deep"),i=S(this,"eql");new T(e,n,a,!0).to.be.an("array"),o?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):l?this.assert(e.some(function(u){return i(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(pf,"oneOf");T.addMethod("oneOf",pf);function Ki(e,t,r){r&&S(this,"message",r);var n=S(this,"object"),a=S(this,"message"),o=S(this,"ssfi");new T(n,a,o,!0).is.a("function");var l;t?(new T(e,a,o,!0).to.have.property(t),l=e[t]):(new T(e,a,o,!0).is.a("function"),l=e()),n();var i=t==null?e():e[t],u=t==null?l:"."+t;S(this,"deltaMsgObj",u),S(this,"initialDeltaValue",l),S(this,"finalDeltaValue",i),S(this,"deltaBehavior","change"),S(this,"realDelta",i!==l),this.assert(l!==i,"expected "+u+" to change","expected "+u+" to not change")}N(Ki,"assertChanges");T.addMethod("change",Ki);T.addMethod("changes",Ki);function Yi(e,t,r){r&&S(this,"message",r);var n=S(this,"object"),a=S(this,"message"),o=S(this,"ssfi");new T(n,a,o,!0).is.a("function");var l;t?(new T(e,a,o,!0).to.have.property(t),l=e[t]):(new T(e,a,o,!0).is.a("function"),l=e()),new T(l,a,o,!0).is.a("number"),n();var i=t==null?e():e[t],u=t==null?l:"."+t;S(this,"deltaMsgObj",u),S(this,"initialDeltaValue",l),S(this,"finalDeltaValue",i),S(this,"deltaBehavior","increase"),S(this,"realDelta",i-l),this.assert(i-l>0,"expected "+u+" to increase","expected "+u+" to not increase")}N(Yi,"assertIncreases");T.addMethod("increase",Yi);T.addMethod("increases",Yi);function Ji(e,t,r){r&&S(this,"message",r);var n=S(this,"object"),a=S(this,"message"),o=S(this,"ssfi");new T(n,a,o,!0).is.a("function");var l;t?(new T(e,a,o,!0).to.have.property(t),l=e[t]):(new T(e,a,o,!0).is.a("function"),l=e()),new T(l,a,o,!0).is.a("number"),n();var i=t==null?e():e[t],u=t==null?l:"."+t;S(this,"deltaMsgObj",u),S(this,"initialDeltaValue",l),S(this,"finalDeltaValue",i),S(this,"deltaBehavior","decrease"),S(this,"realDelta",l-i),this.assert(i-l<0,"expected "+u+" to decrease","expected "+u+" to not decrease")}N(Ji,"assertDecreases");T.addMethod("decrease",Ji);T.addMethod("decreases",Ji);function ff(e,t){t&&S(this,"message",t);var r=S(this,"deltaMsgObj"),n=S(this,"initialDeltaValue"),a=S(this,"finalDeltaValue"),o=S(this,"deltaBehavior"),l=S(this,"realDelta"),i;o==="change"?i=Math.abs(a-n)===Math.abs(e):i=l===Math.abs(e),this.assert(i,"expected "+r+" to "+o+" by "+e,"expected "+r+" to not "+o+" by "+e)}N(ff,"assertDelta");T.addMethod("by",ff);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],a=t[r];return typeof n=="object"&&n!==null&&a!==null?Yn(n,a):typeof n=="function"?n(a):a===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 mf={};bi(mf,{Should:()=>KP,should:()=>WP});function Xi(){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,a,o,l){throw arguments.length<2&&(o=n,n=void 0),o=o||"should.fail()",new ee(o,{actual:n,expected:a,operator:l},r.fail)},r.equal=function(n,a,o){new T(n,o).to.equal(a)},r.Throw=function(n,a,o,l){new T(n,l).to.Throw(a,o)},r.exist=function(n,a){new T(n,a).to.exist},r.not={},r.not.equal=function(n,a,o){new T(n,o).to.not.equal(a)},r.not.Throw=function(n,a,o,l){new T(n,l).to.not.Throw(a,o)},r.not.exist=function(n,a){new T(n,a).to.not.exist},r.throw=r.Throw,r.not.throw=r.not.Throw,r}N(Xi,"loadShould");var WP=Xi,KP=Xi;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 a=new T(e,n,O.throws,!0).to.throw(t,r);return K(a,"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 a;switch(t){case"==":a=e==r;break;case"===":a=e===r;break;case">":a=e>r;break;case">=":a=e>=r;break;case"<":a=enm,toBeDisabled:()=>Yf,toBeEmpty:()=>Nf,toBeEmptyDOMElement:()=>$f,toBeEnabled:()=>Jf,toBeInTheDOM:()=>yl,toBeInTheDocument:()=>jf,toBeInvalid:()=>Zf,toBePartiallyChecked:()=>om,toBeRequired:()=>Xf,toBeValid:()=>em,toBeVisible:()=>Vf,toContainElement:()=>gl,toContainHTML:()=>If,toHaveAccessibleDescription:()=>vl,toHaveAccessibleErrorMessage:()=>kf,toHaveAccessibleName:()=>Rl,toHaveAttribute:()=>Lf,toHaveClass:()=>Df,toHaveDescription:()=>lm,toHaveDisplayValue:()=>rm,toHaveErrorMessage:()=>im,toHaveFocus:()=>Ff,toHaveFormValues:()=>Hf,toHaveRole:()=>_l,toHaveStyle:()=>wl,toHaveTextContent:()=>Bf,toHaveValue:()=>tm});var Mu=Fe(up(),1);function bf(e){Object.defineProperty(e,"__esModule",{value:!0,configurable:!0})}function Qi(e,t,r,n){Object.defineProperty(e,t,{get:r,set:n,enumerable:!0,configurable:!0})}var yf={};bf(yf);Qi(yf,"default",()=>gf);var gf=class extends Error{constructor(e,t,r,n,a){super(e+":"+r+":"+n+": "+t),this.reason=t,this.filename=e,this.line=r,this.column=n,this.source=a}},vf={};bf(vf);Qi(vf,"default",()=>_f);var _f=class{constructor(e,t,r){this.start=e,this.end=t,this.source=r}},JP={};Qi(JP,"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 So=/\/\*[^]*?(?:\*\/|$)/g,XP=(e,t)=>{t=t||{};let r=1,n=1;function a(F){let L=F.match(/\n/g);L&&(r+=L.length);let D=F.lastIndexOf(` +`);n=~D?F.length-D:n+F.length}function o(){let F={line:r,column:n};return function(L){return L.position=new _f(F,{line:r,column:n},(t==null?void 0:t.source)||""),p(),L}}let l=[];function i(F){let L=new gf((t==null?void 0:t.source)||"",F,r,n,e);if(t!=null&&t.silent)l.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:l}}}function c(){return f(/^{\s*/)}function s(){return f(/^}/)}function d(){let F,L=[];for(p(),m(L);e.length&&e.charAt(0)!=="}"&&(F=ve()||pe());)F&&(L.push(F),m(L));return L}function f(F){let L=F.exec(e);if(!L)return;let D=L[0];return a(D),e=e.slice(D.length),L}function p(){f(/^\s*/)}function m(F){let L;for(F=F||[];L=b();)L&&F.push(L);return F}function b(){let F=o();if(e.charAt(0)!=="/"||e.charAt(1)!=="*")return;let L=f(/^\/\*[^]*?\*\//);return L?F({type:_e.comment,comment:L[0].slice(2,-2)}):i("End of comment missing")}function h(F,L,D){let z=L+1,H=!1,oe=F.indexOf(")",z);for(;!H&&oe!==-1;){let ue=F.indexOf("(",z);ue!==-1&&ueH.replace(/,/g,"‌")),L.split(",").map(H=>He(H.replace(/\u200C/g,",")))}function g(){let F=o(),L=f(/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/);if(!L)return;let D=He(L[0]);if(!f(/^:\s*/))return i("property missing ':'");let z=f(/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/),H=F({type:_e.declaration,property:D.replace(So,""),value:z?He(z[0]).replace(So,""):""});return f(/^[;\s]*/),H}function E(){let F=[];if(!c())return i("missing '{'");m(F);let L;for(;L=g();)L&&(F.push(L),m(F));return s()?F:i("missing '}'")}function C(){let F,L=[],D=o();for(;F=f(/^((\d+\.\d+|\.\d+|\d+)%?|[a-z]+)\s*/);)L.push(F[1]),f(/^,\s*/);if(L.length)return D({type:_e.keyframe,values:L,declarations:E()||[]})}function q(){let F=o(),L=f(/^@([-\w]+)?keyframes\s*/);if(!L)return;let D=L[1],z=f(/^([-\w]+)\s*/);if(!z)return i("@keyframes missing name");let H=z[1];if(!c())return i("@keyframes missing '{'");let oe,ue=m();for(;oe=C();)ue.push(oe),ue=ue.concat(m());return s()?F({type:_e.keyframes,name:H,vendor:D,keyframes:ue}):i("@keyframes missing '}'")}function _(){let F=o(),L=f(/^@supports *([^{]+)/);if(!L)return;let D=He(L[1]);if(!c())return i("@supports missing '{'");let z=m().concat(d());return s()?F({type:_e.supports,supports:D,rules:z}):i("@supports missing '}'")}function v(){let F=o();if(!f(/^@host\s*/))return;if(!c())return i("@host missing '{'");let L=m().concat(d());return s()?F({type:_e.host,rules:L}):i("@host missing '}'")}function w(){let F=o(),L=f(/^@container *([^{]+)/);if(!L)return;let D=He(L[1]);if(!c())return i("@container missing '{'");let z=m().concat(d());return s()?F({type:_e.container,container:D,rules:z}):i("@container missing '}'")}function P(){let F=o(),L=f(/^@layer *([^{;@]+)/);if(!L)return;let D=He(L[1]);if(!c())return f(/^[;\s]*/),F({type:_e.layer,layer:D});let z=m().concat(d());return s()?F({type:_e.layer,layer:D,rules:z}):i("@layer missing '}'")}function j(){let F=o(),L=f(/^@media *([^{]+)/);if(!L)return;let D=He(L[1]);if(!c())return i("@media missing '{'");let z=m().concat(d());return s()?F({type:_e.media,media:D,rules:z}):i("@media missing '}'")}function $(){let F=o(),L=f(/^@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=o();if(!f(/^@page */))return;let L=y()||[];if(!c())return i("@page missing '{'");let D=m(),z;for(;z=g();)D.push(z),D=D.concat(m());return s()?F({type:_e.page,selectors:L,declarations:D}):i("@page missing '}'")}function I(){let F=o(),L=f(/^@([-\w]+)?document *([^{]+)/);if(!L)return;let D=He(L[1]),z=He(L[2]);if(!c())return i("@document missing '{'");let H=m().concat(d());return s()?F({type:_e.document,document:z,vendor:D,rules:H}):i("@document missing '}'")}function A(){let F=o();if(!f(/^@font-face\s*/))return;if(!c())return i("@font-face missing '{'");let L=m(),D;for(;D=g();)L.push(D),L=L.concat(m());return s()?F({type:_e.fontFace,declarations:L}):i("@font-face missing '}'")}function k(){let F=o();if(!f(/^@starting-style\s*/))return;if(!c())return i("@starting-style missing '{'");let L=m().concat(d());return s()?F({type:_e.startingStyle,rules:L}):i("@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=o(),z=f(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=o(),L=y();return L?(m(),F({type:_e.rule,selectors:L,declarations:E()||[]})):i("selector missing")}return hl(u())};function He(e){return e?e.trim():""}function hl(e,t){let r=e&&typeof e.type=="string",n=r?e:t;for(let a in e){let o=e[a];Array.isArray(o)?o.forEach(l=>{hl(l,n)}):o&&typeof o=="object"&&hl(o,n)}return r&&Object.defineProperty(e,"parent",{configurable:!0,writable:!0,enumerable:!1,value:t||null}),e}var QP=XP,ZP=QP,e1=Object.prototype.toString;function t1(e){return typeof e=="function"||e1.call(e)==="[object Function]"}function r1(e){var t=Number(e);return isNaN(t)?0:t===0||!isFinite(t)?t:(t>0?1:-1)*Math.floor(Math.abs(t))}var n1=Math.pow(2,53)-1;function a1(e){var t=r1(e);return Math.min(Math.max(t,0),n1)}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");for(var a=a1(n.length),o=t1(r)?Object(new r(a)):new Array(a),l=0,i;l0&&arguments[0]!==void 0?arguments[0]:[];o1(this,e),s1(this,"items",void 0),this.items=t}return i1(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}(),d1=typeof Set>"u"?Set:c1;function xe(e){var t;return(t=e.localName)!==null&&t!==void 0?t:e.tagName.toLowerCase()}var p1={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"},f1={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 m1(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=f1[t])!==null&&n!==void 0&&n.has(r))})}function wf(e,t){return m1(e,t)}function h1(e){var t=y1(e);if(t===null||bl.indexOf(t)!==-1){var r=b1(e);if(bl.indexOf(t||"")===-1||wf(e,r||""))return r}return t}function b1(e){var t=p1[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")===""&&!wf(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 y1(e){var t=e.getAttribute("role");if(t!==null){var r=t.trim().split(" ")[0];if(r.length>0)return r}return null}var bl=["presentation","none"];function ce(e){return e!==null&&e.nodeType===e.ELEMENT_NODE}function Cf(e){return ce(e)&&xe(e)==="caption"}function Nn(e){return ce(e)&&xe(e)==="input"}function g1(e){return ce(e)&&xe(e)==="optgroup"}function v1(e){return ce(e)&&xe(e)==="select"}function _1(e){return ce(e)&&xe(e)==="table"}function R1(e){return ce(e)&&xe(e)==="textarea"}function w1(e){var t=e.ownerDocument===null?e:e.ownerDocument,r=t.defaultView;if(r===null)throw new TypeError("no window available");return r}function C1(e){return ce(e)&&xe(e)==="fieldset"}function q1(e){return ce(e)&&xe(e)==="legend"}function E1(e){return ce(e)&&xe(e)==="slot"}function P1(e){return ce(e)&&e.ownerSVGElement!==void 0}function O1(e){return ce(e)&&xe(e)==="svg"}function T1(e){return P1(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(a){return n.getElementById(a)}).filter(function(a){return a!==null})}return[]}function ht(e,t){return ce(e)?t.indexOf(h1(e))!==-1:!1}function S1(e){return e.trim().replace(/\s\s+/g," ")}function A1(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 M1(e){return ht(e,["button","combobox","listbox","textbox"])||qf(e,"range")}function qf(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 xu(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 x1(e){return v1(e)?e.selectedOptions||xu(e,"[selected]"):xu(e,'[aria-selected="true"]')}function j1(e){return ht(e,bl)}function N1(e){return Cf(e)}function $1(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 I1(e){return!1}function B1(e){return Nn(e)||R1(e)?e.value:e.textContent||""}function ju(e){var t=e.getPropertyValue("content");return/^["'].*["']$/.test(t)?t.slice(1,-1):""}function Ef(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 Pf(e){if(Ef(e))return e;var t=null;return e.childNodes.forEach(function(r){if(t===null&&ce(r)){var n=Pf(r);n!==null&&(t=n)}}),t}function k1(e){if(e.control!==void 0)return e.control;var t=e.getAttribute("for");return t!==null?e.ownerDocument.getElementById(t):Pf(e)}function L1(e){var t=e.labels;if(t===null)return t;if(t!==void 0)return Je(t);if(!Ef(e))return null;var r=e.ownerDocument;return Je(r.querySelectorAll("label")).filter(function(n){return k1(n)===e})}function D1(e){var t=e.assignedNodes();return t.length===0?Je(e.childNodes):t}function Of(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=new d1,n=w1(e),a=t.compute,o=a===void 0?"name":a,l=t.computedStyleSupportsPseudoElements,i=l===void 0?t.getComputedStyle!==void 0:l,u=t.getComputedStyle,c=u===void 0?n.getComputedStyle.bind(n):u,s=t.hidden,d=s===void 0?!1:s;function f(y,g){var E="";if(ce(y)&&i){var C=c(y,"::before"),q=ju(C);E="".concat(q," ").concat(E)}var _=E1(y)?D1(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)&&i){var v=c(y,"::after"),w=ju(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 m(y){return ce(y)?p(y,"title"):null}function b(y){if(!ce(y))return null;if(C1(y)){r.add(y);for(var g=Je(y.childNodes),E=0;E0}).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=f(y,{isEmbeddedInLabel:!1});if(W!=="")return W}return null}function h(y,g){if(r.has(y))return"";if(!d&&A1(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(o==="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&&M1(y)&&o==="name";if(!q){var _=(ce(y)&&y.getAttribute("aria-label")||"").trim();if(_!==""&&o==="name")return r.add(y),_;if(!j1(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=x1(y);return w.length===0?Nn(y)?y.value:"":Je(w).map(function($){return h($,{isEmbeddedInLabel:g.isEmbeddedInLabel,isReferenced:!1,recursion:!0})}).join(" ")}if(qf(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),B1(y)}if($1(y)||ce(y)&&g.isReferenced||N1(y)||I1()){var P=f(y,{isEmbeddedInLabel:g.isEmbeddedInLabel});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),f(y,{isEmbeddedInLabel:g.isEmbeddedInLabel});var j=m(y);return j!==null?(r.add(y),j):(r.add(y),"")}return S1(h(e,{isEmbeddedInLabel:!1,isReferenced:o==="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 Nu(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 $u(e){for(var t=1;t1&&arguments[1]!==void 0?arguments[1]:{},r=Jn(e,"aria-describedby").map(function(o){return Of(o,$u($u({},t),{},{compute:"description"}))}).join(" ");if(r===""){var n=e.getAttribute("aria-description");r=n===null?"":n}if(r===""){var a=e.getAttribute("title");r=a===null?"":a}return r}function z1(e){return ht(e,["caption","code","deletion","emphasis","generic","insertion","none","paragraph","presentation","strong","subscript","superscript"])}function G1(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return z1(e)?"":Of(e,t)}var Zi=Fe(cp(),1),W1=Fe(pp(),1),Tf=Fe(Cp(),1),K1=Fe(qp(),1),Sf=class extends Error{constructor(e,t,r,n){super(),Error.captureStackTrace&&Error.captureStackTrace(this,r);let a="";try{a=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}.`,a].join(` +`)}},Iu=class extends Sf{constructor(...e){super("be an HTMLElement or an SVGElement",...e)}},Bu=class extends Sf{constructor(...e){super("be a Node",...e)}};function Af(e,t,...r){if(!e||!e.ownerDocument||!e.ownerDocument.defaultView)throw new t(e,...r)}function Y1(e,...t){Af(e,Bu,...t);let r=e.ownerDocument.defaultView;if(!(e instanceof r.Node))throw new Bu(e,...t)}function le(e,...t){Af(e,Iu,...t);let r=e.ownerDocument.defaultView;if(!(e instanceof r.HTMLElement)&&!(e instanceof r.SVGElement))throw new Iu(e,...t)}var J1=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 X1(e,...t){let r=ZP(`selector { ${e} }`,{silent:!0}).stylesheet;if(r.parsingErrors&&r.parsingErrors.length>0){let{reason:n,line:a}=r.parsingErrors[0];throw new J1({css:e,message:`Syntax error parsing expected css: ${n} on line: ${a}`},...t)}return r.rules[0].declarations.filter(n=>n.type==="declaration").reduce((n,{property:a,value:o})=>Object.assign(n,{[a]:o}),{})}function ku(e,t){return typeof t=="string"?t:e.utils.stringify(t)}function Ae(e,t,r,n,a,o){return[`${t} +`,`${r}: +${e.utils.EXPECTED_COLOR((0,Mu.default)(ku(e,n),2))}`,`${a}: +${e.utils.RECEIVED_COLOR((0,Mu.default)(ku(e,o),2))}`].join(` +`)}function Q1(e,t){return t instanceof RegExp?t.test(e):e.includes(String(t))}function Aa(e,t){console.warn(`Warning: ${e} has been deprecated and will be removed in future updates.`,t)}function Ma(e){return e.replace(/\s+/g," ").trim()}function jt(e){return e.tagName&&e.tagName.toLowerCase()}function Z1({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 eO(e){switch(e.type){case"number":return e.value===""?null:Number(e.value);case"checkbox":return e.checked;default:return e.value}}var tO=["meter","progressbar","slider","spinbutton"];function rO(e){if(tO.includes(e.getAttribute("role")))return Number(e.getAttribute("aria-valuenow"))}function Mf(e){if(e)switch(e.tagName.toLowerCase()){case"input":return eO(e);case"select":return Z1(e);default:return e.value??rO(e)}}function nO(e,{wordConnector:t=", ",lastWordConnector:r=" and "}={}){return[e.slice(0,-1).join(t),e[e.length-1]].join(e.length>1?r:"")}function xf(e,t){if(Array.isArray(e)&&Array.isArray(t))return[...new Set(e)].every(r=>new Set(t).has(r))}function yl(e,t){return Aa("toBeInTheDOM","Please use toBeInTheDocument for searching the entire document and toContainElement for searching a specific container."),e&&le(e,yl,this),t&&le(t,yl,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 jf(e){(e!==null||!this.isNot)&&le(e,jf,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 Nf(e){return Aa("toBeEmpty","Please use instead toBeEmptyDOMElement for finding empty nodes in the DOM."),le(e,Nf,this),{pass:e.innerHTML==="",message:()=>[this.utils.matcherHint(`${this.isNot?".not":""}.toBeEmpty`,"element",""),"","Received:",` ${this.utils.printReceived(e.innerHTML)}`].join(` +`)}}function $f(e){return le(e,$f,this),{pass:aO(e),message:()=>[this.utils.matcherHint(`${this.isNot?".not":""}.toBeEmptyDOMElement`,"element",""),"","Received:",` ${this.utils.printReceived(e.innerHTML)}`].join(` +`)}}function aO(e){return[...e.childNodes].filter(t=>t.nodeType!==8).length===0}function gl(e,t){return le(e,gl,this),t!==null&&le(t,gl,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 oO(e,t){let r=e.ownerDocument.createElement("div");return r.innerHTML=t,r.innerHTML}function If(e,t){if(le(e,If,this),typeof t!="string")throw new Error(`.toContainHTML() expects a string value, got ${t}`);return{pass:e.outerHTML.includes(oO(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 Bf(e,t,r={normalizeWhitespace:!0}){Y1(e,Bf,this);let n=r.normalizeWhitespace?Ma(e.textContent):e.textContent.replace(/\u00a0/g," "),a=n!==""&&t==="";return{pass:!a&&Q1(n,t),message:()=>{let o=this.isNot?"not to":"to";return Ae(this,this.utils.matcherHint(`${this.isNot?".not":""}.toHaveTextContent`,"element",""),a?"Checking with empty string will always match, use .toBeEmptyDOMElement() instead":`Expected element ${o} have text content`,t,"Received",n)}}}function vl(e,t){le(e,vl,this);let r=V1(e),n=arguments.length===1,a=!1;return n?a=r!=="":a=t instanceof RegExp?t.test(r):this.equals(r,t),{pass:a,message:()=>{let o=this.isNot?"not to":"to";return Ae(this,this.utils.matcherHint(`${this.isNot?".not":""}.${vl.name}`,"element",""),`Expected element ${o} have accessible description`,t,"Received",r)}}}var Ir="aria-invalid",lO=["false"];function kf(e,t){var i;le(e,kf,this);let r=this.isNot?"not to":"to",n=this.isNot?".not.toHaveAccessibleErrorMessage":".toHaveAccessibleErrorMessage",a=e.getAttribute("aria-errormessage");if(a&&/\s+/.test(a))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="${a}"`)};let o=e.getAttribute(Ir);if(!e.hasAttribute(Ir)||lO.includes(o))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 l=Ma(((i=e.ownerDocument.getElementById(a))==null?void 0:i.textContent)??"");return{pass:t===void 0?!!l:t instanceof RegExp?t.test(l):this.equals(l,t),message:()=>Ae(this,this.utils.matcherHint(n,"element"),`Expected element ${r} have accessible error message`,t??"","Received",l)}}var iO=cO(Zi.elementRoles);function _l(e,t){le(e,_l,this);let r=sO(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":""}.${_l.name}`,"element",""),`Expected element ${n} have role`,t,"Received",r.join(", "))}}}function sO(e){return e.hasAttribute("role")?e.getAttribute("role").split(" ").filter(Boolean):uO(e)}function uO(e){for(let{match:t,roles:r}of iO)if(t(e))return[...r];return[]}function cO(e){function t({name:l,attributes:i}){return`${l}${i.map(({name:u,value:c,constraints:s=[]})=>s.indexOf("undefined")!==-1?`:not([${u}])`:c?`[${u}="${c}"]`:`[${u}]`).join("")}`}function r({attributes:l=[]}){return l.length}function n({specificity:l},{specificity:i}){return i-l}function a(l){let{attributes:i=[]}=l,u=i.findIndex(s=>s.value&&s.name==="type"&&s.value==="text");u>=0&&(i=[...i.slice(0,u),...i.slice(u+1)]);let c=t({...l,attributes:i});return s=>u>=0&&s.type!=="text"?!1:s.matches(c)}let o=[];for(let[l,i]of e.entries())o=[...o,{match:a(l),roles:Array.from(i),specificity:r(l)}];return o.sort(n)}function Rl(e,t){le(e,Rl,this);let r=G1(e),n=arguments.length===1,a=!1;return n?a=r!=="":a=t instanceof RegExp?t.test(r):this.equals(r,t),{pass:a,message:()=>{let o=this.isNot?"not to":"to";return Ae(this,this.utils.matcherHint(`${this.isNot?".not":""}.${Rl.name}`,"element",""),`Expected element ${o} have accessible name`,t,"Received",r)}}}function Lu(e,t,r){return r===void 0?t:`${t}=${e(r)}`}function dO(e,t,r){return r===void 0?`element.hasAttribute(${e(t)})`:`element.getAttribute(${e(t)}) === ${e(r)}`}function Lf(e,t,r){le(e,Lf,this);let n=r!==void 0,a=e.hasAttribute(t),o=e.getAttribute(t);return{pass:n?a&&this.equals(o,r):a,message:()=>{let l=this.isNot?"not to":"to",i=a?Lu(this.utils.stringify,t,o):null,u=this.utils.matcherHint(`${this.isNot?".not":""}.toHaveAttribute`,"element",this.utils.printExpected(t),{secondArgument:n?this.utils.printExpected(r):void 0,comment:dO(this.utils.stringify,t,r)});return Ae(this,u,`Expected the element ${l} have attribute`,Lu(this.utils.stringify,t,r),"Received",i)}}}function pO(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 Du(e){return e?e.split(/\s+/).filter(t=>t.length>0):[]}function Fu(e,t){return e.every(r=>typeof r=="string"?t.includes(r):t.some(n=>r.test(n)))}function Df(e,...t){le(e,Df,this);let{expectedClassNames:r,options:n}=pO(t),a=Du(e.getAttribute("class")),o=r.reduce((i,u)=>i.concat(typeof u=="string"||!u?Du(u):u),[]),l=o.some(i=>i instanceof RegExp);if(n.exact&&l)throw new Error("Exact option does not support RegExp expected class names");return n.exact?{pass:Fu(o,a)&&o.length===a.length,message:()=>{let i=this.isNot?"not to":"to";return Ae(this,this.utils.matcherHint(`${this.isNot?".not":""}.toHaveClass`,"element",this.utils.printExpected(o.join(" "))),`Expected the element ${i} have EXACTLY defined classes`,o.join(" "),"Received",a.join(" "))}}:o.length>0?{pass:Fu(o,a),message:()=>{let i=this.isNot?"not to":"to";return Ae(this,this.utils.matcherHint(`${this.isNot?".not":""}.toHaveClass`,"element",this.utils.printExpected(o.join(" "))),`Expected the element ${i} have class`,o.join(" "),"Received",a.join(" "))}}:{pass:this.isNot?a.length>0:!1,message:()=>this.isNot?Ae(this,this.utils.matcherHint(".not.toHaveClass","element",""),"Expected the element to have classes","(none)","Received",a.join(" ")):[this.utils.matcherHint(".toHaveClass","element"),"At least one expected class must be provided."].join(` +`)}}function fO(e,t){let r={},n=e.createElement("div");return Object.keys(t).forEach(a=>{n.style[a]=t[a],r[a]=n.style[a]}),r}function mO(e,t){return!!Object.keys(e).length&&Object.entries(e).every(([r,n])=>{let a=r.startsWith("--"),o=[r];return a||o.push(r.toLowerCase()),o.some(l=>t[l]===n||t.getPropertyValue(l)===n)})}function Hu(e){return Object.keys(e).sort().map(t=>`${t}: ${e[t]};`).join(` +`)}function hO(e,t,r){let n=Array.from(r).filter(a=>t[a]!==void 0).reduce((a,o)=>Object.assign(a,{[o]:r.getPropertyValue(o)}),{});return e(Hu(t),Hu(n)).replace(`${W1.default.red("+ Received")} +`,"")}function wl(e,t){le(e,wl,this);let r=typeof t=="object"?t:X1(t,wl,this),{getComputedStyle:n}=e.ownerDocument.defaultView,a=fO(e.ownerDocument,r),o=n(e);return{pass:mO(a,o),message:()=>{let l=`${this.isNot?".not":""}.toHaveStyle`;return[this.utils.matcherHint(l,"element",""),hO(this.utils.diff,a,o)].join(` + +`)}}}function Ff(e){return le(e,Ff,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 bO(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 yO(e,t){let r=[...e.querySelectorAll(`[name="${(0,K1.default)(t)}"]`)];if(r.length!==0)switch(r.length){case 1:return Mf(r[0]);default:return bO(r)}}function gO(e){return/\[\]$/.test(e)?e.slice(0,-2):e}function vO(e){return Array.from(e.elements).map(t=>t.name).reduce((t,r)=>({...t,[gO(r)]:yO(e,r)}),{})}function Hf(e,t){if(le(e,Hf,this),!e.elements)throw new Error("toHaveFormValues must be called on a form or a fieldset");let r=vO(e);return{pass:Object.entries(t).every(([n,a])=>(0,Tf.default)(r[n],a,xf)),message:()=>{let n=this.isNot?"not to":"to",a=`${this.isNot?".not":""}.toHaveFormValues`,o=Object.keys(r).filter(l=>t.hasOwnProperty(l)).reduce((l,i)=>({...l,[i]:r[i]}),{});return[this.utils.matcherHint(a,"element",""),`Expected the element ${n} have form values`,this.utils.diff(t,o)].join(` + +`)}}}function _O(e){let{getComputedStyle:t}=e.ownerDocument.defaultView,{display:r,visibility:n,opacity:a}=t(e);return r!=="none"&&n!=="hidden"&&n!=="collapse"&&a!=="0"&&a!==0}function RO(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 Uf(e,t){return _O(e)&&RO(e,t)&&(!e.parentElement||Uf(e.parentElement,e))}function Vf(e){le(e,Vf,this);let t=e.ownerDocument===e.getRootNode({composed:!0}),r=t&&Uf(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 wO=["fieldset","input","select","optgroup","option","button","textarea"];function CO(e,t){return jt(e)==="legend"&&jt(t)==="fieldset"&&e.isSameNode(Array.from(t.children).find(r=>jt(r)==="legend"))}function qO(e,t){return Gf(t)&&!CO(e,t)}function EO(e){return e.includes("-")}function zf(e){let t=jt(e);return wO.includes(t)||EO(t)}function Gf(e){return zf(e)&&e.hasAttribute("disabled")}function Wf(e){let t=e.parentElement;return!!t&&(qO(e,t)||Wf(t))}function Kf(e){return zf(e)&&(Gf(e)||Wf(e))}function Yf(e){le(e,Yf,this);let t=Kf(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 Jf(e){le(e,Jf,this);let t=!Kf(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 PO=["select","textarea"],OO=["input","select","textarea"],TO=["color","hidden","range","submit","image","reset"],SO=["checkbox","combobox","gridcell","listbox","radiogroup","spinbutton","textbox","tree"];function AO(e){return PO.includes(jt(e))&&e.hasAttribute("required")}function MO(e){return jt(e)==="input"&&e.hasAttribute("required")&&(e.hasAttribute("type")&&!TO.includes(e.getAttribute("type"))||!e.hasAttribute("type"))}function xO(e){return e.hasAttribute("aria-required")&&e.getAttribute("aria-required")==="true"&&(OO.includes(jt(e))||e.hasAttribute("role")&&SO.includes(e.getAttribute("role")))}function Xf(e){le(e,Xf,this);let t=AO(e)||MO(e)||xO(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 jO=["form","input","select","textarea"];function NO(e){return e.hasAttribute("aria-invalid")&&e.getAttribute("aria-invalid")!=="false"}function $O(e){return jO.includes(jt(e))}function Qf(e){let t=NO(e);return $O(e)?t||!e.checkValidity():t}function Zf(e){le(e,Zf,this);let t=Qf(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 em(e){le(e,em,this);let t=!Qf(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 tm(e,t){if(le(e,tm,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=Mf(e),n=t!==void 0,a=t,o=r;return t==r&&t!==r&&(a=`${t} (${typeof t})`,o=`${r} (${typeof r})`),{pass:n?(0,Tf.default)(r,t,xf):!!r,message:()=>{let l=this.isNot?"not to":"to",i=this.utils.matcherHint(`${this.isNot?".not":""}.toHaveValue`,"element",t);return Ae(this,i,`Expected the element ${l} have value`,n?a:"(any)","Received",o)}}}function rm(e,t){le(e,rm,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=IO(r,e),a=BO(t),o=a.filter(u=>n.some(c=>u instanceof RegExp?u.test(c):this.equals(c,String(u)))).length,l=o===n.length,i=o===a.length;return{pass:l&&i,message:()=>Ae(this,this.utils.matcherHint(`${this.isNot?".not":""}.toHaveDisplayValue`,"element",""),`Expected element ${this.isNot?"not ":""}to have display value`,t,"Received",n)}}function IO(e,t){return e==="select"?Array.from(t).filter(r=>r.selected).map(r=>r.textContent):[t.value]}function BO(e){return e instanceof Array?e:[e]}function nm(e){le(e,nm,this);let t=()=>e.tagName.toLowerCase()==="input"&&["checkbox","radio"].includes(e.type),r=()=>am(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 ${kO()} 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 a=n()?"is":"is not";return[this.utils.matcherHint(`${this.isNot?".not":""}.toBeChecked`,"element",""),"",`Received element ${a} checked:`,` ${this.utils.printReceived(e.cloneNode(!1))}`].join(` +`)}}}function kO(){return nO(LO().map(e=>`role="${e}"`),{lastWordConnector:" or "})}function LO(){return Zi.roles.keys().filter(am)}function am(e){var t;return((t=Zi.roles.get(e))==null?void 0:t.props["aria-checked"])!==void 0}function om(e){le(e,om,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 a=e.getAttribute("aria-checked")==="mixed";return t()&&e.indeterminate||a};return{pass:n(),message:()=>{let a=n()?"is":"is not";return[this.utils.matcherHint(`${this.isNot?".not":""}.toBePartiallyChecked`,"element",""),"",`Received element ${a} partially checked:`,` ${this.utils.printReceived(e.cloneNode(!1))}`].join(` +`)}}}function lm(e,t){Aa("toHaveDescription","Please use toHaveAccessibleDescription."),le(e,lm,this);let r=t!==void 0,n=(e.getAttribute("aria-describedby")||"").split(/\s+/).filter(Boolean),a="";if(n.length>0){let o=e.ownerDocument,l=n.map(i=>o.getElementById(i)).filter(Boolean);a=Ma(l.map(i=>i.textContent).join(" "))}return{pass:r?t instanceof RegExp?t.test(a):this.equals(a,t):!!a,message:()=>{let o=this.isNot?"not to":"to";return Ae(this,this.utils.matcherHint(`${this.isNot?".not":""}.toHaveDescription`,"element",""),`Expected the element ${o} have description`,this.utils.printExpected(t),"Received",this.utils.printReceived(a))}}}function im(e,t){if(Aa("toHaveErrorMessage","Please use toHaveAccessibleErrorMessage."),le(e,im,this),!e.hasAttribute("aria-invalid")||e.getAttribute("aria-invalid")==="false"){let o=this.isNot?".not":"";return{pass:!1,message:()=>Ae(this,this.utils.matcherHint(`${o}.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),a="";if(n.length>0){let o=e.ownerDocument,l=n.map(i=>o.getElementById(i)).filter(Boolean);a=Ma(l.map(i=>i.textContent).join(" "))}return{pass:r?t instanceof RegExp?t.test(a):this.equals(a,t):!!a,message:()=>{let o=this.isNot?"not to":"to";return Ae(this,this.utils.matcherHint(`${this.isNot?".not":""}.toHaveErrorMessage`,"element",""),`Expected the element ${o} have error message`,this.utils.printExpected(t),"Received",this.utils.printReceived(a))}}}Fe(up(),1);Fe(cp(),1);Fe(pp(),1);Fe(Cp(),1);Fe(qp(),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 DO(e){return e===Object.prototype||e===Function.prototype||e===RegExp.prototype}function Cl(e){return Object.prototype.toString.apply(e).slice(8,-1)}function FO(e,t){let r=typeof t=="function"?t:n=>t.add(n);Object.getOwnPropertyNames(e).forEach(r),Object.getOwnPropertySymbols(e).forEach(r)}function sm(e){let t=new Set;return DO(e)?[]:(FO(e,t),Array.from(t))}var um={forceWritable:!1};function Uu(e,t=um){return ql(e,new WeakMap,t)}function ql(e,t,r=um){let n,a;if(t.has(e))return t.get(e);if(Array.isArray(e)){for(a=Array(n=e.length),t.set(e,a);n--;)a[n]=ql(e[n],t,r);return a}if(Object.prototype.toString.call(e)==="[object Object]"){a=Object.create(Object.getPrototypeOf(e)),t.set(e,a);let o=sm(e);for(let l of o){let i=Object.getOwnPropertyDescriptor(e,l);if(!i)continue;let u=ql(e[l],t,r);r.forceWritable?Object.defineProperty(a,l,{enumerable:i.enumerable,configurable:!0,writable:!0,value:u}):"get"in i?Object.defineProperty(a,l,{...i,get(){return u}}):Object.defineProperty(a,l,{...i,value:u})}return a}return e}var Vu={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"]},HO={special:"cyan",number:"yellow",bigint:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",symbol:"green",date:"magenta",regexp:"red"},_r="…";function UO(e,t){let r=Vu[HO[t]]||Vu[t]||"";return r?`\x1B[${r[0]}m${String(e)}\x1B[${r[1]}m`:String(e)}function VO({showHidden:e=!1,depth:t=2,colors:r=!1,customInspect:n=!0,showProxy:a=!1,maxArrayLength:o=1/0,breakLength:l=1/0,seen:i=[],truncate:u=1/0,stylize:c=String}={},s){let d={showHidden:!!e,depth:Number(t),colors:!!r,customInspect:!!n,showProxy:!!a,maxArrayLength:Number(o),breakLength:Number(l),truncate:Number(u),seen:i,inspect:s,stylize:c};return d.colors&&(d.stylize=UO),d}function zO(e){return e>="\uD800"&&e<="\uDBFF"}function kt(e,t,r=_r){e=String(e);let n=r.length,a=e.length;if(n>t&&a>n)return r;if(a>t&&a>n){let o=t-n;return o>0&&zO(e[o-1])&&(o=o-1),`${e.slice(0,o)}${r}`}return e}function tt(e,t,r,n=", "){r=r||t.inspect;let a=e.length;if(a===0)return"";let o=t.truncate,l="",i="",u="";for(let c=0;co&&l.length+u.length<=o||!s&&!d&&b>o||(i=s?"":r(e[c+1],t)+(d?"":n),!s&&d&&b>o&&m+i.length>o))break;if(l+=p,!s&&!d&&m+i.length>=o){u=`${_r}(${e.length-c-1})`;break}u=""}return`${l}${u}`}function GO(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=GO(e):typeof e!="number"&&(e=`[${r.inspect(e,r)}]`),r.truncate-=e.length,t=r.inspect(t,r),`${e}: ${t}`}function WO(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 a="";return r.length&&(a=tt(r.map(o=>[o,e[o]]),t,Xr)),`[ ${n}${a?`, ${a}`:""} ]`}var KO=e=>typeof Buffer=="function"&&e instanceof Buffer?"Buffer":e[Symbol.toStringTag]?e[Symbol.toStringTag]:e.constructor.name;function ft(e,t){let r=KO(e);t.truncate-=r.length+4;let n=Object.keys(e).slice(e.length);if(!e.length&&!n.length)return`${r}[]`;let a="";for(let l=0;l[l,e[l]]),t,Xr)),`${r}[ ${a}${o?`, ${o}`:""} ]`}function YO(e,t){let r=e.toJSON();if(r===null)return"Invalid Date";let n=r.split("T"),a=n[0];return t.stylize(`${a}T${kt(n[1],t.truncate-a.length-1)}`,"date")}function zu(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 JO([e,t],r){return r.truncate-=4,e=r.inspect(e,r),r.truncate-=e.length,t=r.inspect(t,r),`${e} => ${t}`}function XO(e){let t=[];return e.forEach((r,n)=>{t.push([n,r])}),t}function QO(e,t){return e.size-1<=0?"Map{}":(t.truncate-=7,`Map{ ${tt(XO(e),t,JO)} }`)}var ZO=Number.isNaN||(e=>e!==e);function Gu(e,t){return ZO(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 Wu(e,t){let r=kt(e.toString(),t.truncate-1);return r!==_r&&(r+="n"),t.stylize(r,"bigint")}function eT(e,t){let r=e.toString().split("/")[2],n=t.truncate-(2+r.length),a=e.source;return t.stylize(`/${kt(a,n)}/${r}`,"regexp")}function tT(e){let t=[];return e.forEach(r=>{t.push(r)}),t}function rT(e,t){return e.size===0?"Set{}":(t.truncate-=7,`Set{ ${tt(tT(e),t)} }`)}var Ku=new RegExp("['\\u0000-\\u001f\\u007f-\\u009f\\u00ad\\u0600-\\u0604\\u070f\\u17b4\\u17b5\\u200c-\\u200f\\u2028-\\u202f\\u2060-\\u206f\\ufeff\\ufff0-\\uffff]","g"),nT={"\b":"\\b"," ":"\\t","\n":"\\n","\f":"\\f","\r":"\\r","'":"\\'","\\":"\\\\"},aT=16;function oT(e){return nT[e]||`\\u${`0000${e.charCodeAt(0).toString(aT)}`.slice(-4)}`}function Yu(e,t){return Ku.test(e)&&(e=e.replace(Ku,oT)),t.stylize(`'${kt(e,t.truncate-2)}'`,"string")}function Ju(e){return"description"in Symbol.prototype?e.description?`Symbol(${e.description})`:"Symbol()":e.toString()}var cm=()=>"Promise{…}";try{let{getPromiseDetails:e,kPending:t,kRejected:r}=process.binding("util");Array.isArray(e(Promise.resolve()))&&(cm=(n,a)=>{let[o,l]=e(n);return o===t?"Promise{}":`Promise${o===r?"!":""}{${a.inspect(l,a)}}`})}catch{}var lT=cm;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 a=tt(r.map(i=>[i,e[i]]),t,Xr),o=tt(n.map(i=>[i,e[i]]),t,Xr);t.seen.pop();let l="";return a&&o&&(l=", "),`{ ${a}${l}${o} }`}var Ao=typeof Symbol<"u"&&Symbol.toStringTag?Symbol.toStringTag:!1;function iT(e,t){let r="";return Ao&&Ao in e&&(r=e[Ao]),r=r||e.constructor.name,(!r||r==="_class")&&(r=""),t.truncate-=r.length,`${r}${In(e,t)}`}function sT(e,t){return e.length===0?"Arguments[]":(t.truncate-=13,`Arguments[ ${tt(e,t)} ]`)}var uT=["stack","line","column","name","message","fileName","lineNumber","columnNumber","number","description","cause"];function cT(e,t){let r=Object.getOwnPropertyNames(e).filter(l=>uT.indexOf(l)===-1),n=e.name;t.truncate-=n.length;let a="";if(typeof e.message=="string"?a=kt(e.message,t.truncate):r.unshift("message"),a=a?`: ${a}`:"",t.truncate-=a.length+5,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);return`${n}${a}${o?` { ${o} }`:""}`}function dT([e,t],r){return r.truncate-=3,t?`${r.stylize(String(e),"yellow")}=${r.stylize(`"${t}"`,"string")}`:`${r.stylize(String(e),"yellow")}`}function El(e,t){return tt(e,t,dm,` +`)}function dm(e,t){let r=e.getAttributeNames(),n=e.tagName.toLowerCase(),a=t.stylize(`<${n}`,"special"),o=t.stylize(">","special"),l=t.stylize(``,"special");t.truncate-=n.length*2+5;let i="";r.length>0&&(i+=" ",i+=tt(r.map(s=>[s,e.getAttribute(s)]),t,dT," ")),t.truncate-=i.length;let u=t.truncate,c=El(e.children,t);return c&&c.length>u&&(c=`${_r}(${e.children.length})`),`${a}${i}${o}${c}${l}`}var pT=typeof Symbol=="function"&&typeof Symbol.for=="function",Mo=pT?Symbol.for("chai/inspect"):"@@chai/inspect",ir=!1;try{let e=g_("util");ir=e.inspect?e.inspect.custom:!1}catch{ir=!1}var Xu=new WeakMap,Qu={},Zu={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:Gu,Number:Gu,bigint:Wu,BigInt:Wu,string:Yu,String:Yu,function:zu,Function:zu,symbol:Ju,Symbol:Ju,Array:WO,Date:YO,Map:QO,Set:rT,RegExp:eT,Promise:lT,WeakSet:(e,t)=>t.stylize("WeakSet{…}","special"),WeakMap:(e,t)=>t.stylize("WeakMap{…}","special"),Arguments:sT,Int8Array:ft,Uint8Array:ft,Uint8ClampedArray:ft,Int16Array:ft,Uint16Array:ft,Int32Array:ft,Uint32Array:ft,Float32Array:ft,Float64Array:ft,Generator:()=>"",DataView:()=>"",ArrayBuffer:()=>"",Error:cT,HTMLCollection:El,NodeList:El},fT=(e,t,r)=>Mo in e&&typeof e[Mo]=="function"?e[Mo](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&&Xu.has(e.constructor)?Xu.get(e.constructor)(e,t):Qu[r]?Qu[r](e,t):"",mT=Object.prototype.toString;function Pl(e,t={}){let r=VO(t,Pl),{customInspect:n}=r,a=e===null?"null":typeof e;if(a==="object"&&(a=mT.call(e).slice(8,-1)),a in Zu)return Zu[a](e,r);if(n&&e){let l=fT(e,r,a);if(l)return typeof l=="string"?l:Pl(l,r)}let o=e?Object.getPrototypeOf(e):!1;return o===Object.prototype||o===null?In(e,r):e&&typeof HTMLElement=="function"&&e instanceof HTMLElement?dm(e,r):"constructor"in e?e.constructor!==Object?iT(e,r):In(e,r):e===Object(e)?In(e,r):r.stylize(String(e),a)}var hT={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]},bT=Object.entries(hT);function es(e){return String(e)}es.open="";es.close="";function yT(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 gT(e=!1){let t=yT(e),r=(l,i,u,c)=>{let s="",d=0;do s+=l.substring(d,c)+u,d=c+i.length,c=l.indexOf(i,d);while(~c);return s+l.substring(d)},n=(l,i,u=l)=>{let c=s=>{let d=String(s),f=d.indexOf(i,l.length);return~f?l+r(d,i,u,f)+i:l+d+i};return c.open=l,c.close=i,c},a={isColorSupported:t},o=l=>`\x1B[${l}m`;for(let[l,i]of bT)a[l]=t?n(o(i[0]),o(i[1]),i[2]):es;return a}var be=gT(!1);function vT(e,t){let r=Object.keys(e),n=t===null?r:r.sort(t);if(Object.getOwnPropertySymbols)for(let a of Object.getOwnPropertySymbols(e))Object.getOwnPropertyDescriptor(e,a).enumerable&&n.push(a);return n}function xa(e,t,r,n,a,o,l=": "){let i="",u=0,c=e.next();if(!c.done){i+=t.spacingOuter;let s=r+t.indent;for(;!c.done;){if(i+=s,u++===t.maxWidth){i+="…";break}let d=o(c.value[0],t,s,n,a),f=o(c.value[1],t,s,n,a);i+=d+l+f,c=e.next(),c.done?t.min||(i+=","):i+=`,${t.spacingInner}`}i+=t.spacingOuter+r}return i}function ts(e,t,r,n,a,o){let l="",i=0,u=e.next();if(!u.done){l+=t.spacingOuter;let c=r+t.indent;for(;!u.done;){if(l+=c,i++===t.maxWidth){l+="…";break}l+=o(u.value,t,c,n,a),u=e.next(),u.done?t.min||(l+=","):l+=`,${t.spacingInner}`}l+=t.spacingOuter+r}return l}function Xn(e,t,r,n,a,o){let l="";e=e instanceof ArrayBuffer?new DataView(e):e;let i=c=>c instanceof DataView,u=i(e)?e.byteLength:e.length;if(u>0){l+=t.spacingOuter;let c=r+t.indent;for(let s=0;s0){l+=t.spacingOuter;let u=r+t.indent;for(let c=0;c{let l=e.toString();if(l==="ArrayContaining"||l==="ArrayNotContaining")return++n>t.maxDepth?`[${l}]`:`${l+xo}[${Xn(e.sample,t,r,n,a,o)}]`;if(l==="ObjectContaining"||l==="ObjectNotContaining")return++n>t.maxDepth?`[${l}]`:`${l+xo}{${rs(e.sample,t,r,n,a,o)}}`;if(l==="StringMatching"||l==="StringNotMatching"||l==="StringContaining"||l==="StringNotContaining")return l+xo+o(e.sample,t,r,n,a);if(typeof e.toAsymmetricMatcher!="function")throw new TypeError(`Asymmetric matcher ${e.constructor.name} does not implement toAsymmetricMatcher()`);return e.toAsymmetricMatcher()},wT=e=>e&&e.$$typeof===_T,CT={serialize:RT,test:wT},qT=" ",pm=new Set(["DOMStringMap","NamedNodeMap"]),ET=/^(?:HTML\w*Collection|NodeList)$/;function PT(e){return pm.has(e)||ET.test(e)}var OT=e=>e&&e.constructor&&!!e.constructor.name&&PT(e.constructor.name);function TT(e){return e.constructor.name==="NamedNodeMap"}var ST=(e,t,r,n,a,o)=>{let l=e.constructor.name;return++n>t.maxDepth?`[${l}]`:(t.min?"":l+qT)+(pm.has(l)?`{${rs(TT(e)?[...e].reduce((i,u)=>(i[u.name]=u.value,i),{}):{...e},t,r,n,a,o)}}`:`[${Xn([...e],t,r,n,a,o)}]`)},AT={serialize:ST,test:OT};function fm(e){return e.replaceAll("<","<").replaceAll(">",">")}function ns(e,t,r,n,a,o,l){let i=n+r.indent,u=r.colors;return e.map(c=>{let s=t[c],d=l(s,r,i,a,o);return typeof s!="string"&&(d.includes(` +`)&&(d=r.spacingOuter+i+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 as(e,t,r,n,a,o){return e.map(l=>t.spacingOuter+r+(typeof l=="string"?mm(l,t):o(l,t,r,n,a))).join("")}function mm(e,t){let r=t.colors.content;return r.open+fm(e)+r.close}function MT(e,t){let r=t.colors.comment;return`${r.open}${r.close}`}function os(e,t,r,n,a){let o=n.colors.tag;return`${o.open}<${e}${t&&o.close+t+n.spacingOuter+a+o.open}${r?`>${o.close}${r}${n.spacingOuter}${a}${o.open}${o.close}`}function ls(e,t){let r=t.colors.tag;return`${r.open}<${e}${r.close} …${r.open} />${r.close}`}var xT=1,hm=3,bm=8,ym=11,jT=/^(?:(?:HTML|SVG)\w*)?Element$/;function NT(e){try{return typeof e.hasAttribute=="function"&&e.hasAttribute("is")}catch{return!1}}function $T(e){let t=e.constructor.name,{nodeType:r,tagName:n}=e,a=typeof n=="string"&&n.includes("-")||NT(e);return r===xT&&(jT.test(t)||a)||r===hm&&t==="Text"||r===bm&&t==="Comment"||r===ym&&t==="DocumentFragment"}var IT=e=>{var t;return((t=e==null?void 0:e.constructor)==null?void 0:t.name)&&$T(e)};function BT(e){return e.nodeType===hm}function kT(e){return e.nodeType===bm}function jo(e){return e.nodeType===ym}var LT=(e,t,r,n,a,o)=>{if(BT(e))return mm(e.data,t);if(kT(e))return MT(e.data,t);let l=jo(e)?"DocumentFragment":e.tagName.toLowerCase();return++n>t.maxDepth?ls(l,t):os(l,ns(jo(e)?[]:Array.from(e.attributes,i=>i.name).sort(),jo(e)?{}:[...e.attributes].reduce((i,u)=>(i[u.name]=u.value,i),{}),t,r+t.indent,n,a,o),as(Array.prototype.slice.call(e.childNodes||e.children),t,r+t.indent,n,a,o),t,r)},DT={serialize:LT,test:IT},FT="@@__IMMUTABLE_ITERABLE__@@",HT="@@__IMMUTABLE_LIST__@@",UT="@@__IMMUTABLE_KEYED__@@",VT="@@__IMMUTABLE_MAP__@@",ec="@@__IMMUTABLE_ORDERED__@@",zT="@@__IMMUTABLE_RECORD__@@",GT="@@__IMMUTABLE_SEQ__@@",WT="@@__IMMUTABLE_SET__@@",KT="@@__IMMUTABLE_STACK__@@",Rr=e=>`Immutable.${e}`,ja=e=>`[${e}]`,Qr=" ",tc="…";function YT(e,t,r,n,a,o,l){return++n>t.maxDepth?ja(Rr(l)):`${Rr(l)+Qr}{${xa(e.entries(),t,r,n,a,o)}}`}function JT(e){let t=0;return{next(){if(tt.maxDepth?ja(l):`${l+Qr}{${xa(JT(e),t,r,n,a,o)}}`}function QT(e,t,r,n,a,o){let l=Rr("Seq");return++n>t.maxDepth?ja(l):e[UT]?`${l+Qr}{${e._iter||e._object?xa(e.entries(),t,r,n,a,o):tc}}`:`${l+Qr}[${e._iter||e._array||e._collection||e._iterable?ts(e.values(),t,r,n,a,o):tc}]`}function No(e,t,r,n,a,o,l){return++n>t.maxDepth?ja(Rr(l)):`${Rr(l)+Qr}[${ts(e.values(),t,r,n,a,o)}]`}var ZT=(e,t,r,n,a,o)=>e[VT]?YT(e,t,r,n,a,o,e[ec]?"OrderedMap":"Map"):e[HT]?No(e,t,r,n,a,o,"List"):e[WT]?No(e,t,r,n,a,o,e[ec]?"OrderedSet":"Set"):e[KT]?No(e,t,r,n,a,o,"Stack"):e[GT]?QT(e,t,r,n,a,o):XT(e,t,r,n,a,o),eS=e=>e&&(e[FT]===!0||e[zT]===!0),tS={serialize:ZT,test:eS},gm={exports:{}},ae={},rc;function rS(){if(rc)return ae;rc=1;var e=Symbol.for("react.element"),t=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),n=Symbol.for("react.strict_mode"),a=Symbol.for("react.profiler"),o=Symbol.for("react.provider"),l=Symbol.for("react.context"),i=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"),f=Symbol.for("react.lazy"),p=Symbol.for("react.offscreen"),m;m=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 a:case n:case c:case s:return h;default:switch(h=h&&h.$$typeof,h){case i:case l:case u:case f:case d:case o:return h;default:return y}}case t:return y}}}return ae.ContextConsumer=l,ae.ContextProvider=o,ae.Element=e,ae.ForwardRef=u,ae.Fragment=r,ae.Lazy=f,ae.Memo=d,ae.Portal=t,ae.Profiler=a,ae.StrictMode=n,ae.Suspense=c,ae.SuspenseList=s,ae.isAsyncMode=function(){return!1},ae.isConcurrentMode=function(){return!1},ae.isContextConsumer=function(h){return b(h)===l},ae.isContextProvider=function(h){return b(h)===o},ae.isElement=function(h){return typeof h=="object"&&h!==null&&h.$$typeof===e},ae.isForwardRef=function(h){return b(h)===u},ae.isFragment=function(h){return b(h)===r},ae.isLazy=function(h){return b(h)===f},ae.isMemo=function(h){return b(h)===d},ae.isPortal=function(h){return b(h)===t},ae.isProfiler=function(h){return b(h)===a},ae.isStrictMode=function(h){return b(h)===n},ae.isSuspense=function(h){return b(h)===c},ae.isSuspenseList=function(h){return b(h)===s},ae.isValidElementType=function(h){return typeof h=="string"||typeof h=="function"||h===r||h===a||h===n||h===c||h===s||h===p||typeof h=="object"&&h!==null&&(h.$$typeof===f||h.$$typeof===d||h.$$typeof===o||h.$$typeof===l||h.$$typeof===u||h.$$typeof===m||h.getModuleId!==void 0)},ae.typeOf=b,ae}gm.exports=rS();var Ht=gm.exports;function vm(e,t=[]){if(Array.isArray(e))for(let r of e)vm(r,t);else e!=null&&e!==!1&&e!==""&&t.push(e);return t}function nc(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 nS(e){let{props:t}=e;return Object.keys(t).filter(r=>r!=="children"&&t[r]!==void 0).sort()}var aS=(e,t,r,n,a,o)=>++n>t.maxDepth?ls(nc(e),t):os(nc(e),ns(nS(e),e.props,t,r+t.indent,n,a,o),as(vm(e.props.children),t,r+t.indent,n,a,o),t,r),oS=e=>e!=null&&Ht.isElement(e),lS={serialize:aS,test:oS},iS=typeof Symbol=="function"&&Symbol.for?Symbol.for("react.test.json"):245830487;function sS(e){let{props:t}=e;return t?Object.keys(t).filter(r=>t[r]!==void 0).sort():[]}var uS=(e,t,r,n,a,o)=>++n>t.maxDepth?ls(e.type,t):os(e.type,e.props?ns(sS(e),e.props,t,r+t.indent,n,a,o):"",e.children?as(e.children,t,r+t.indent,n,a,o):"",t,r),cS=e=>e&&e.$$typeof===iS,dS={serialize:uS,test:cS},_m=Object.prototype.toString,pS=Date.prototype.toISOString,fS=Error.prototype.toString,ac=RegExp.prototype.toString;function $o(e){return typeof e.constructor=="function"&&e.constructor.name||"Object"}function mS(e){return typeof window<"u"&&e===window}var hS=/^Symbol\((.*)\)(.*)$/,bS=/\n/g,Rm=class extends Error{constructor(e,t){super(e),this.stack=t,this.name=this.constructor.name}};function yS(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 gS(e){return Object.is(e,-0)?"-0":String(e)}function vS(e){return`${e}n`}function oc(e,t){return t?`[Function ${e.name||"anonymous"}]`:"[Function]"}function lc(e){return String(e).replace(hS,"Symbol($1)")}function ic(e){return`[${fS.call(e)}]`}function wm(e,t,r,n){if(e===!0||e===!1)return`${e}`;if(e===void 0)return"undefined";if(e===null)return"null";let a=typeof e;if(a==="number")return gS(e);if(a==="bigint")return vS(e);if(a==="string")return n?`"${e.replaceAll(/"|\\/g,"\\$&")}"`:`"${e}"`;if(a==="function")return oc(e,t);if(a==="symbol")return lc(e);let o=_m.call(e);return o==="[object WeakMap]"?"WeakMap {}":o==="[object WeakSet]"?"WeakSet {}":o==="[object Function]"||o==="[object GeneratorFunction]"?oc(e,t):o==="[object Symbol]"?lc(e):o==="[object Date]"?Number.isNaN(+e)?"Date { NaN }":pS.call(e):o==="[object Error]"?ic(e):o==="[object RegExp]"?r?ac.call(e).replaceAll(/[$()*+.?[\\\]^{|}]/g,"\\$&"):ac.call(e):e instanceof Error?ic(e):null}function Cm(e,t,r,n,a,o){if(a.includes(e))return"[Circular]";a=[...a],a.push(e);let l=++n>t.maxDepth,i=t.min;if(t.callToJSON&&!l&&e.toJSON&&typeof e.toJSON=="function"&&!o)return At(e.toJSON(),t,r,n,a,!0);let u=_m.call(e);return u==="[object Arguments]"?l?"[Arguments]":`${i?"":"Arguments "}[${Xn(e,t,r,n,a,At)}]`:yS(u)?l?`[${e.constructor.name}]`:`${i||!t.printBasicPrototype&&e.constructor.name==="Array"?"":`${e.constructor.name} `}[${Xn(e,t,r,n,a,At)}]`:u==="[object Map]"?l?"[Map]":`Map {${xa(e.entries(),t,r,n,a,At," => ")}}`:u==="[object Set]"?l?"[Set]":`Set {${ts(e.values(),t,r,n,a,At)}}`:l||mS(e)?`[${$o(e)}]`:`${i||!t.printBasicPrototype&&$o(e)==="Object"?"":`${$o(e)} `}{${rs(e,t,r,n,a,At)}}`}function _S(e){return e.serialize!=null}function qm(e,t,r,n,a,o){let l;try{l=_S(e)?e.serialize(t,r,n,a,o,At):e.print(t,i=>At(i,r,n,a,o),i=>{let u=n+r.indent;return u+i.replaceAll(bS,` +${u}`)},{edgeSpacing:r.spacingOuter,min:r.min,spacing:r.spacingInner},r.colors)}catch(i){throw new Rm(i.message,i.stack)}if(typeof l!="string")throw new TypeError(`pretty-format: Plugin must return type "string" but instead returned "${typeof l}".`);return l}function Em(e,t){for(let r of e)try{if(r.test(t))return r}catch(n){throw new Rm(n.message,n.stack)}return null}function At(e,t,r,n,a,o){let l=Em(t.plugins,e);if(l!==null)return qm(l,e,t,r,n,a);let i=wm(e,t.printFunctionName,t.escapeRegex,t.escapeString);return i!==null?i:Cm(e,t,r,n,a,o)}var is={comment:"gray",content:"reset",prop:"yellow",tag:"cyan",value:"green"},Pm=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 RS(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 wS(){return Pm.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 CS(){return Pm.reduce((e,t)=>(e[t]={close:"",open:""},e),Object.create(null))}function Om(e){return(e==null?void 0:e.printFunctionName)??Ye.printFunctionName}function Tm(e){return(e==null?void 0:e.escapeRegex)??Ye.escapeRegex}function Sm(e){return(e==null?void 0:e.escapeString)??Ye.escapeString}function sc(e){return{callToJSON:(e==null?void 0:e.callToJSON)??Ye.callToJSON,colors:e!=null&&e.highlight?wS():CS(),compareKeys:typeof(e==null?void 0:e.compareKeys)=="function"||(e==null?void 0:e.compareKeys)===null?e.compareKeys:Ye.compareKeys,escapeRegex:Tm(e),escapeString:Sm(e),indent:e!=null&&e.min?"":qS((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:Om(e),spacingInner:e!=null&&e.min?" ":` +`,spacingOuter:e!=null&&e.min?"":` +`}}function qS(e){return Array.from({length:e+1}).join(" ")}function ot(e,t){if(t&&(RS(t),t.plugins)){let n=Em(t.plugins,e);if(n!==null)return qm(n,e,sc(t),"",0,[])}let r=wm(e,Om(t),Tm(t),Sm(t));return r!==null?r:Cm(e,sc(t),"",0,[])}var Am={AsymmetricMatcher:CT,DOMCollection:AT,DOMElement:DT,Immutable:tS,ReactElement:lS,ReactTestComponent:dS},{AsymmetricMatcher:ES,DOMCollection:PS,DOMElement:OS,Immutable:TS,ReactElement:SS,ReactTestComponent:AS}=Am,uc=[AS,SS,OS,PS,TS,ES];function Ge(e,t=10,{maxLength:r,...n}={}){let a=r??1e4,o;try{o=ot(e,{maxDepth:t,escapeString:!1,plugins:uc,...n})}catch{o=ot(e,{callToJSON:!1,maxDepth:t,escapeString:!1,plugins:uc,...n})}return o.length>=a&&t>1?Ge(e,Math.floor(t/2)):o}var MS=/%[sdjifoOc%]/g;function xS(...e){if(typeof e[0]!="string"){let o=[];for(let l=0;l{if(o==="%%")return"%";if(r>=t)return o;switch(o){case"%s":{let l=e[r++];return typeof l=="bigint"?`${l.toString()}n`:typeof l=="number"&&l===0&&1/l<0?"-0":typeof l=="object"&&l!==null?Br(l,{depth:0,colors:!1}):String(l)}case"%d":{let l=e[r++];return typeof l=="bigint"?`${l.toString()}n`:Number(l).toString()}case"%i":{let l=e[r++];return typeof l=="bigint"?`${l.toString()}n`:Number.parseInt(String(l)).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(l){let i=l.message;if(i.includes("circular structure")||i.includes("cyclic structures")||i.includes("cyclic object"))return"[Circular]";throw l}default:return o}});for(let o=e[r];rn?e=e.substring(r-n):r0?r[n-1]:-1,l=0,i=0,u=0,c=0,a=null,t=!0)),o++;for(t&&Nm(e),BS(e),o=1;o=p?(f>=s.length/2||f>=d.length/2)&&(e.splice(o,0,new me(ge,d.substring(0,f))),e[o-1][1]=s.substring(0,s.length-f),e[o+1][1]=d.substring(f),o++):(p>=s.length/2||p>=d.length/2)&&(e.splice(o,0,new me(ge,s.substring(0,p))),e[o-1][0]=Oe,e[o-1][1]=d.substring(0,d.length-p),e[o+1][0]=Me,e[o+1][1]=s.substring(p),o++),o++}o++}},pc=/[^a-z0-9]/i,fc=/\s/,mc=/[\r\n]/,$S=/\n\r?\n$/,IS=/^\r?\n\r?\n/;function BS(e){function t(n,a){if(!n||!a)return 6;let o=n.charAt(n.length-1),l=a.charAt(0),i=o.match(pc),u=l.match(pc),c=i&&o.match(fc),s=u&&l.match(fc),d=c&&o.match(mc),f=s&&l.match(mc),p=d&&n.match($S),m=f&&a.match(IS);return p||m?5:d||f?4:i&&!c&&s?3:c||s?2:i||u?1:0}let r=1;for(;r=s&&(s=d,i=n,u=a,c=o)}e[r-1][1]!==i&&(i?e[r-1][1]=i:(e.splice(r-1,1),r--),e[r][1]=u,c?e[r+1][1]=c:(e.splice(r+1,1),r--))}r++}}function Nm(e){e.push(new me(ge,""));let t=0,r=0,n=0,a="",o="",l;for(;t1?(r!==0&&n!==0&&(l=jS(o,a),l!==0&&(t-r-n>0&&e[t-r-n-1][0]===ge?e[t-r-n-1][1]+=o.substring(0,l):(e.splice(0,0,new me(ge,o.substring(0,l))),t++),o=o.substring(l),a=a.substring(l)),l=jm(o,a),l!==0&&(e[t][1]=o.substring(o.length-l)+e[t][1],o=o.substring(0,o.length-l),a=a.substring(0,a.length-l))),t-=r+n,e.splice(t,r+n),a.length&&(e.splice(t,0,new me(Me,a)),t++),o.length&&(e.splice(t,0,new me(Oe,o)),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,a="",o="";break}e[e.length-1][1]===""&&e.pop();let i=!1;for(t=1;t{let o=0;for(;e{let o=0;for(;e<=t&&r<=n&&a(t,n);)t-=1,n-=1,o+=1;return o},Io=(e,t,r,n,a,o,l)=>{let i=0,u=-e,c=o[i],s=c;o[i]+=Zr(c+1,t,n+c-u+1,r,a);let d=e{let i=0,u=e,c=o[i],s=c;o[i]-=en(t,c-1,r,n+c-u-1,a);let d=e{let d=n-t,f=r-t,p=a-n-f,m=-p-(e-1),b=-p+(e-1),h=Te,y=e{let d=a-r,f=r-t,p=a-n-f,m=p-e,b=p+e,h=Te,y=e{let c=n-t,s=a-r,d=r-t,f=a-n,p=f-d,m=d,b=d;if(l[0]=t-1,i[0]=r,p%2===0){let h=(e||p)/2,y=(d+f)/2;for(let g=1;g<=y;g+=1)if(m=Io(g,r,a,c,o,l,m),g{if(a-n{j(B,A,I)},isCommon:(B,I)=>$(I,B)}}let w=t,P=r;t=n,r=a,n=w,a=P}let{foundSubsequence:s,isCommon:d}=l[o?1:0];FS(e,t,r,n,a,d,i,u,c);let{nChangePreceding:f,aEndPreceding:p,bEndPreceding:m,nCommonPreceding:b,aCommonPreceding:h,bCommonPreceding:y,nCommonFollowing:g,aCommonFollowing:E,bCommonFollowing:C,nChangeFollowing:q,aStartFollowing:_,bStartFollowing:v}=c;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`)},yc=(e,t)=>{let r=typeof t;if(r!=="function")throw new TypeError(`${Ur}: ${e} typeof ${r} is not a function`)};function HS(e,t,r,n){bc("aLength",e),bc("bLength",t),yc("isCommon",r),yc("foundSubsequence",n);let a=Zr(0,e,0,t,r);if(a!==0&&n(a,0,0),e!==a||t!==a){let o=a,l=a,i=en(o,e-1,l,t-1,r),u=e-i,c=t-i,s=a+i;e!==s&&t!==s&&Ol(0,o,u,l,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}),i!==0&&n(i,u,c)}}function US(e,t){return e.replace(/\s+$/,r=>t(r))}function ss(e,t,r,n,a,o){return e.length!==0?r(`${n} ${US(e,a)}`):n!==" "?r(n):t&&o.length!==0?r(`${n} ${o}`):""}function km(e,t,{aColor:r,aIndicator:n,changeLineTrailingSpaceColor:a,emptyFirstOrLastLinePlaceholder:o}){return ss(e,t,r,n,a,o)}function Lm(e,t,{bColor:r,bIndicator:n,changeLineTrailingSpaceColor:a,emptyFirstOrLastLinePlaceholder:o}){return ss(e,t,r,n,a,o)}function Dm(e,t,{commonColor:r,commonIndicator:n,commonLineTrailingSpaceColor:a,emptyFirstOrLastLinePlaceholder:o}){return ss(e,t,r,n,a,o)}function gc(e,t,r,n,{patchColor:a}){return a(`@@ -${e+1},${t-e} +${r+1},${n-r} @@`)}function VS(e,t){let r=e.length,n=t.contextLines,a=n+n,o=r,l=!1,i=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&&(o-=u-n,l=!0);else if(u===r){let q=u-C;q>n&&(o-=q-n,l=!0)}else{let q=u-C;q>a&&(o-=q-a,i+=1)}for(;u!==r&&e[u][0]!==ge;)u+=1}let c=i!==0||l;i!==0?o+=i+1:l&&(o+=1);let s=o-1,d=[],f=0;c&&d.push("");let p=0,m=0,b=0,h=0,y=C=>{let q=d.length;d.push(Dm(C,q===0||q===s,t)),b+=1,h+=1},g=C=>{let q=d.length;d.push(km(C,q===0||q===s,t)),b+=1},E=C=>{let q=d.length;d.push(Lm(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,m=C,b=p,h=m);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>a){let _=C+n;for(let w=C;w!==_;w+=1)y(e[w][1]);d[f]=gc(p,b,m,h,t),f=d.length,d.push("");let v=q-a;p=b+v,m=h+v,b=p,h=m;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[f]=gc(p,b,m,h,t)),d.join(` +`)}function zS(e,t){return e.map((r,n,a)=>{let o=r[1],l=n===0||n===a.length-1;switch(r[0]){case Me:return km(o,l,t);case Oe:return Lm(o,l,t);default:return Dm(o,l,t)}}).join(` +`)}var Bo=e=>e,Fm=5,GS=0;function WS(){return{aAnnotation:"Expected",aColor:be.green,aIndicator:"-",bAnnotation:"Received",bColor:be.red,bIndicator:"+",changeColor:be.inverse,changeLineTrailingSpaceColor:Bo,commonColor:be.dim,commonIndicator:" ",commonLineTrailingSpaceColor:Bo,compareKeys:void 0,contextLines:Fm,emptyFirstOrLastLinePlaceholder:"",expand:!0,includeChangeCounts:!1,omitAnnotationLines:!1,patchColor:be.yellow,truncateThreshold:GS,truncateAnnotation:"... Diff result is truncated",truncateAnnotationColor:Bo}}function KS(e){return e&&typeof e=="function"?e:void 0}function YS(e){return typeof e=="number"&&Number.isSafeInteger(e)&&e>=0?e:Fm}function Xt(e={}){return{...WS(),...e,compareKeys:KS(e.compareKeys),contextLines:YS(e.contextLines)}}function sr(e){return e.length===1&&e[0].length===0}function JS(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 XS({aAnnotation:e,aColor:t,aIndicator:r,bAnnotation:n,bColor:a,bIndicator:o,includeChangeCounts:l,omitAnnotationLines:i},u){if(i)return"";let c="",s="";if(l){let p=String(u.a),m=String(u.b),b=n.length-e.length,h=" ".repeat(Math.max(0,b)),y=" ".repeat(Math.max(0,-b)),g=m.length-p.length,E=" ".repeat(Math.max(0,g)),C=" ".repeat(Math.max(0,-g));c=`${h} ${r} ${E}${p}`,s=`${y} ${o} ${C}${m}`}let d=`${r} ${e}${c}`,f=`${o} ${n}${s}`;return`${t(d)} +${a(f)} + +`}function us(e,t,r){return XS(r,JS(e))+(r.expand?zS(e,r):VS(e,r))+(t?r.truncateAnnotationColor(` +${r.truncateAnnotation}`):"")}function Na(e,t,r){let n=Xt(r),[a,o]=Hm(sr(e)?[]:e,sr(t)?[]:t,n);return us(a,o,n)}function QS(e,t,r,n,a){if(sr(e)&&sr(r)&&(e=[],r=[]),sr(t)&&sr(n)&&(t=[],n=[]),e.length!==r.length||t.length!==n.length)return Na(e,t,a);let[o,l]=Hm(r,n,a),i=0,u=0;return o.forEach(c=>{switch(c[0]){case Me:c[1]=e[i],i+=1;break;case Oe:c[1]=t[u],u+=1;break;default:c[1]=t[u],i+=1,u+=1}}),us(o,l,Xt(a))}function Hm(e,t,r){let n=(r==null?void 0:r.truncateThreshold)??!1,a=Math.max(Math.floor((r==null?void 0:r.truncateThreshold)??0),0),o=n?Math.min(e.length,a):e.length,l=n?Math.min(t.length,a):t.length,i=o!==e.length||l!==t.length,u=(f,p)=>e[f]===t[p],c=[],s=0,d=0;for(Bm(o,l,u,(f,p,m)=>{for(;s!==p;s+=1)c.push(new me(Me,e[s]));for(;d!==m;d+=1)c.push(new me(Oe,t[d]));for(;f!==0;f-=1,s+=1,d+=1)c.push(new me(ge,t[d]))});s!==o;s+=1)c.push(new me(Me,e[s]));for(;d!==l;d+=1)c.push(new me(Oe,t[d]));return[c,i]}function vc(e){return e.includes(`\r +`)?`\r +`:` +`}function ZS(e,t,r){let n=(r==null?void 0:r.truncateThreshold)??!1,a=Math.max(Math.floor((r==null?void 0:r.truncateThreshold)??0),0),o=e.length,l=t.length;if(n){let f=e.includes(` +`),p=t.includes(` +`),m=vc(e),b=vc(t),h=f?`${e.split(m,a).join(m)} +`:e,y=p?`${t.split(b,a).join(b)} +`:t;o=h.length,l=y.length}let i=o!==e.length||l!==t.length,u=(f,p)=>e[f]===t[p],c=0,s=0,d=[];return Bm(o,l,u,(f,p,m)=>{c!==p&&d.push(new me(Me,e.slice(c,p))),s!==m&&d.push(new me(Oe,t.slice(s,m))),c=p+f,s=m+f,d.push(new me(ge,t.slice(m,s)))}),c!==o&&d.push(new me(Me,e.slice(c))),s!==l&&d.push(new me(Oe,t.slice(s))),[d,i]}function eA(e,t,r){return t.reduce((n,a)=>n+(a[0]===ge?a[1]:a[0]===e&&a[1].length!==0?r(a[1]):""),"")}var _c=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 me(this.op,e))}pushLine(){this.lines.push(this.line.length!==1?new me(this.op,eA(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(e){this.line.push(e)}align(e){let t=e[1];if(t.includes(` +`)){let r=t.split(` +`),n=r.length-1;r.forEach((a,o)=>{o{if(l===0){let i=new me(t,o);this.deleteBuffer.isLineEmpty()&&this.insertBuffer.isLineEmpty()?(this.flushChangeLines(),this.pushDiffCommonLine(i)):(this.pushDiffChangeLines(i),this.flushChangeLines())}else l{switch(o[0]){case Me:r.align(o);break;case Oe:n.align(o);break;default:a.align(o)}}),a.getLines()}function nA(e,t){if(t){let r=e.length-1;return e.some((n,a)=>n[0]===ge&&(a!==r||n[1]!==` +`))}return e.some(r=>r[0]===ge)}function aA(e,t,r){if(e!==t&&e.length!==0&&t.length!==0){let n=e.includes(` +`)||t.includes(` +`),[a,o]=Um(n?`${e} +`:e,n?`${t} +`:t,!0,r);if(nA(a,n)){let l=Xt(r),i=rA(a,l.changeColor);return us(i,o,l)}}return Na(e.split(` +`),t.split(` +`),r)}function Um(e,t,r,n){let[a,o]=ZS(e,t,n);return NS(a),[a,o]}function Tl(e,t){let{commonColor:r}=Xt(t);return r(e)}var{AsymmetricMatcher:oA,DOMCollection:lA,DOMElement:iA,Immutable:sA,ReactElement:uA,ReactTestComponent:cA}=Am,Vm=[cA,uA,iA,lA,sA,oA],Sl={plugins:Vm},zm={callToJSON:!1,maxDepth:10,plugins:Vm};function wr(e,t,r){if(Object.is(e,t))return"";let n=cc(e),a=n,o=!1;if(n==="object"&&typeof e.asymmetricMatch=="function"){if(e.$$typeof!==Symbol.for("jest.asymmetricMatcher")||typeof e.getExpectedType!="function")return;a=e.getExpectedType(),o=a==="string"}if(a!==cc(t)){let{aAnnotation:l,aColor:i,aIndicator:u,bAnnotation:c,bColor:s,bIndicator:d}=Xt(r),f=Al(zm,r),p=ot(e,f),m=ot(t,f),b=`${i(`${u} ${l}:`)} +${p}`,h=`${s(`${d} ${c}:`)} +${m}`;return`${b} + +${h}`}if(!o)switch(n){case"string":return Na(e.split(` +`),t.split(` +`),r);case"boolean":case"number":return dA(e,t,r);case"map":return ko(Rc(e),Rc(t),r);case"set":return ko(wc(e),wc(t),r);default:return ko(e,t,r)}}function dA(e,t,r){let n=ot(e,Sl),a=ot(t,Sl);return n===a?"":Na(n.split(` +`),a.split(` +`),r)}function Rc(e){return new Map(Array.from(e.entries()).sort())}function wc(e){return new Set(Array.from(e.values()).sort())}function ko(e,t,r){let n,a=!1;try{let l=Al(Sl,r);n=Cc(e,t,l,r)}catch{a=!0}let o=Tl($m,r);if(n===void 0||n===o){let l=Al(zm,r);n=Cc(e,t,l,r),n!==o&&!a&&(n=`${Tl(kS,r)} + +${n}`)}return n}function Al(e,t){let{compareKeys:r}=Xt(t);return{...e,compareKeys:r}}function Cc(e,t,r,n){let a={...r,indent:0},o=ot(e,a),l=ot(t,a);if(o===l)return Tl($m,n);{let i=ot(e,r),u=ot(t,r);return QS(i.split(` +`),u.split(` +`),o.split(` +`),l.split(` +`),n)}}var qc=2e4;function Ec(e){return Cl(e)==="Object"&&typeof e.asymmetricMatch=="function"}function Pc(e,t){let r=Cl(e),n=Cl(t);return r===n&&(r==="Object"||r==="Array")}function Gm(e,t,r){let{aAnnotation:n,bAnnotation:a}=Xt(r);if(typeof e=="string"&&typeof t=="string"&&e.length>0&&t.length>0&&e.length<=qc&&t.length<=qc&&e!==t){if(e.includes(` +`)||t.includes(` +`))return aA(t,e,r);let[c]=Um(t,e),s=c.some(m=>m[0]===ge),d=pA(n,a),f=d(n)+hA(Oc(c,Me,s)),p=d(a)+mA(Oc(c,Oe,s));return`${f} +${p}`}let o=Uu(e,{forceWritable:!0}),l=Uu(t,{forceWritable:!0}),{replacedExpected:i,replacedActual:u}=Wm(o,l);return wr(i,u,r)}function Wm(e,t,r=new WeakSet,n=new WeakSet){return Pc(e,t)?r.has(e)||n.has(t)?{replacedActual:e,replacedExpected:t}:(r.add(e),n.add(t),sm(t).forEach(a=>{let o=t[a],l=e[a];if(Ec(o))o.asymmetricMatch(l)&&(e[a]=o);else if(Ec(l))l.asymmetricMatch(o)&&(t[a]=l);else if(Pc(l,o)){let i=Wm(l,o,r,n);e[a]=i.replacedActual,t[a]=i.replacedExpected}}),{replacedActual:e,replacedExpected:t}):{replacedActual:e,replacedExpected:t}}function pA(...e){let t=e.reduce((r,n)=>n.length>r?n.length:r,0);return r=>`${r}: ${" ".repeat(t-r.length)}`}var fA="·";function Km(e){return e.replace(/\s+$/gm,t=>fA.repeat(t.length))}function mA(e){return be.red(Km(Ge(e)))}function hA(e){return be.green(Km(Ge(e)))}function Oc(e,t,r){return e.reduce((n,a)=>n+(a[0]===ge?a[1]:a[0]===t?r?be.inverse(a[1]):a[1]:""),"")}function Bn(e,t){if(!e)throw new Error(t)}function ur(e,t){return typeof t===e}function bA(e){return e instanceof Promise}function Ml(e,t,r){Object.defineProperty(e,t,r)}function fr(e,t,r){Object.defineProperty(e,t,{value:r})}var Vr=Symbol.for("tinyspy:spy"),yA=new Set,gA=e=>{e.called=!1,e.callCount=0,e.calls=[],e.results=[],e.resolves=[],e.next=[]},vA=e=>(Ml(e,Vr,{value:{reset:()=>gA(e[Vr])}}),e[Vr]),Qn=e=>e[Vr]||vA(e);function _A(e){Bn(ur("function",e)||ur("undefined",e),"cannot spy on a non-function value");let t=function(...n){let a=Qn(t);a.called=!0,a.callCount++,a.calls.push(n);let o=a.next.shift();if(o){a.results.push(o);let[s,d]=o;if(s==="ok")return d;throw d}let l,i="ok",u=a.results.length;if(a.impl)try{new.target?l=Reflect.construct(a.impl,n,new.target):l=a.impl.apply(this,n),i="ok"}catch(s){throw l=s,i="error",a.results.push([i,s]),s}let c=[i,l];return bA(l)&&l.then(s=>a.resolves[u]=["ok",s],s=>a.resolves[u]=["error",s]),a.results.push(c),l};fr(t,"_isMockFunction",!0),fr(t,"length",e?e.length:0),fr(t,"name",e&&e.name||"spy");let r=Qn(t);return r.reset(),r.impl=e,t}var Tc=(e,t)=>Object.getOwnPropertyDescriptor(e,t),Sc=(e,t)=>{t!=null&&typeof t=="function"&&t.prototype!=null&&Object.setPrototypeOf(e.prototype,t.prototype)};function RA(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,a]=(()=>{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")})(),o=Tc(e,n),l=Object.getPrototypeOf(e),i=l&&Tc(l,n),u=o||i;Bn(u||n in e,`${String(n)} does not exist`);let c=!1;a==="value"&&u&&!u.value&&u.get&&(a="get",c=!0,r=u.get());let s;u?s=u[a]:a!=="value"?s=()=>e[n]:s=e[n];let d=b=>{let{value:h,...y}=u||{configurable:!0,writable:!0};a!=="value"&&delete y.writable,y[a]=b,Ml(e,n,y)},f=()=>u?Ml(e,n,u):d(s);r||(r=s);let p=_A(r);a==="value"&&Sc(p,s);let m=p[Vr];return fr(m,"restore",f),fr(m,"getOriginal",()=>c?s():s),fr(m,"willCall",b=>(m.impl=b,p)),d(c?()=>(Sc(p,r),p):p),yA.add(p),p}var vn=new Set;function cs(e){return typeof e=="function"&&"_isMockFunction"in e&&e._isMockFunction}var wA=0;function CA(e){let t=e,r,n=[],a=[],o=[],l=Qn(e),i={get calls(){return l.calls},get contexts(){return a},get instances(){return n},get invocationCallOrder(){return o},get results(){return l.results.map(([p,m])=>({type:p==="error"?"throw":"return",value:m}))},get settledResults(){return l.resolves.map(([p,m])=>({type:p==="error"?"rejected":"fulfilled",value:m}))},get lastCall(){return l.calls[l.calls.length-1]}},u=[],c=!1;function s(...p){return n.push(this),a.push(this),o.push(++wA),(c?r:u.shift()||r||l.getOriginal()||(()=>{})).apply(this,p)}let d=t.name;t.getMockName=()=>d||"vi.fn()",t.mockName=p=>(d=p,t),t.mockClear=()=>(l.reset(),n=[],a=[],o=[],t),t.mockReset=()=>(t.mockClear(),r=()=>{},u=[],t),t.mockRestore=()=>(t.mockReset(),l.restore(),r=void 0,t),t.getMockImplementation=()=>r,t.mockImplementation=p=>(r=p,l.willCall(s),t),t.mockImplementationOnce=p=>(u.push(p),t);function f(p,m){let b=r;r=p,l.willCall(s),c=!0;let h=()=>{r=b,c=!1},y=m();return y instanceof Promise?y.then(()=>(h(),t)):(h(),t)}return t.withImplementation=f,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:()=>i}),l.willCall(s),vn.add(t),t}function Ac(e){let t=CA(RA({spy:e||function(){}},"spy"));return e&&t.mockImplementation(e),t}var qA="@@__IMMUTABLE_RECORD__@@",EA="@@__IMMUTABLE_ITERABLE__@@";function PA(e){return e&&(e[EA]||e[qA])}var OA=Object.getPrototypeOf({});function Mc(e){return e instanceof Error?`: ${e.message}`:typeof e=="string"?`: ${e}`:""}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(PA(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()} ${xS(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,a)=>{try{r[a]=cr(n,t)}catch(o){r[a]=Mc(o)}}),r}else{let r=Object.create(null);t.set(e,r);let n=e;for(;n&&n!==OA;)Object.getOwnPropertyNames(n).forEach(a=>{if(!(a in r))try{r[a]=cr(e[a],t)}catch(o){delete r[a],r[a]=Mc(o)}}),n=Object.getPrototypeOf(n);return r}}function TA(e){return e.replace(/__(vite_ssr_import|vi_import)_\d+__\./g,"")}function Ym(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=Gm(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=TA(n.message))}catch{}try{!r.has(n)&&typeof n.cause=="object"&&(r.add(n),n.cause=Ym(n.cause,t,r))}catch{}try{return cr(n)}catch(a){return cr(new Error(`Failed to fully serialize error: ${a==null?void 0:a.message} +Inner error message: ${n==null?void 0:n.message}`))}}var tn=Symbol.for("matchers-object"),rn=Symbol.for("$$jest-matchers-object-storybook"),ds=Symbol.for("expect-global"),xl=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[ds]),matchers:e,customEqualityTesters:t})})}if(!Object.prototype.hasOwnProperty.call(globalThis,xl)){let e=Object.create(null);Object.defineProperty(globalThis,xl,{get:()=>e})}function Zn(e){return globalThis[tn].get(e)}function Lo(e,t){let r=globalThis[tn],n=r.get(t)||{};Object.assign(n,e),r.set(t,n)}var ea=be.green,ps=be.red,SA=be.inverse,AA=be.bold,Tt=be.dim;function MA(e,t="received",r="expected",n={}){let{comment:a="",isDirectExpectCall:o=!1,isNot:l=!1,promise:i="",secondArgument:u="",expectedColor:c=ea,receivedColor:s=ps,secondArgumentColor:d=ea}=n,f="",p="expect";return!o&&t!==""&&(f+=Tt(`${p}(`)+s(t),p=")"),i!==""&&(f+=Tt(`${p}.`)+i,p=""),l&&(f+=`${Tt(`${p}.`)}not`,p=""),e.includes(".")?p+=e:(f+=Tt(`${p}.`)+e,p=""),r===""?p+="()":(f+=Tt(`${p}(`)+c(r),u&&(f+=Tt(", ")+d(u)),p=")"),a!==""&&(p+=` // ${a}`),p!==""&&(f+=Tt(p)),f}var xA="·";function Jm(e){return e.replace(/\s+$/gm,t=>xA.repeat(t.length))}function jA(e){return ps(Jm(Ge(e)))}function NA(e){return ea(Jm(Ge(e)))}function Xm(){return{EXPECTED_COLOR:ea,RECEIVED_COLOR:ps,INVERTED_COLOR:SA,BOLD_WEIGHT:AA,DIM_COLOR:Tt,diff:wr,matcherHint:MA,printReceived:jA,printExpected:NA,printDiffOrStringify:Gm}}function fs(){return globalThis[rn].customEqualityTesters}function Z(e,t,r,n){return r=r||[],Qm(e,t,[],[],r,n?Zm:IA)}function xc(e){return!!e&&typeof e=="object"&&"asymmetricMatch"in e&&Qe("Function",e.asymmetricMatch)}function $A(e,t){let r=xc(e),n=xc(t);if(!(r&&n)){if(r)return e.asymmetricMatch(t);if(n)return t.asymmetricMatch(e)}}function Qm(e,t,r,n,a,o){let l=!0,i=$A(e,t);if(i!==void 0)return i;let u={equals:Z};for(let m=0;mObject.getOwnPropertyDescriptor(e,n).enumerable))}function IA(e,t){return Zm(e,t)&&e[t]!==void 0}function Zm(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function Qe(e,t){return Object.prototype.toString.apply(t)===`[object ${e}]`}function Nc(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 eh="@@__IMMUTABLE_KEYED__@@",th="@@__IMMUTABLE_SET__@@",BA="@@__IMMUTABLE_LIST__@@",$a="@@__IMMUTABLE_ORDERED__@@",kA="@@__IMMUTABLE_RECORD__@@";function LA(e){return!!(e&&e[eh]&&!e[$a])}function DA(e){return!!(e&&e[th]&&!e[$a])}function Ia(e){return e!=null&&typeof e=="object"&&!Array.isArray(e)}function FA(e){return!!(e&&Ia(e)&&e[BA])}function HA(e){return!!(e&&Ia(e)&&e[eh]&&e[$a])}function UA(e){return!!(e&&Ia(e)&&e[th]&&e[$a])}function VA(e){return!!(e&&Ia(e)&&e[kA])}var rh=Symbol.iterator;function $c(e){return!!(e!=null&&e[rh])}function De(e,t,r=[],n=[],a=[]){if(typeof e!="object"||typeof t!="object"||Array.isArray(e)||Array.isArray(t)||!$c(e)||!$c(t))return;if(e.constructor!==t.constructor)return!1;let o=n.length;for(;o--;)if(n[o]===e)return a[o]===t;n.push(e),a.push(t);let l=[...r.filter(c=>c!==De),i];function i(c,s){return De(c,s,[...r],[...n],[...a])}if(e.size!==void 0){if(e.size!==t.size)return!1;if(Qe("Set",e)||DA(e)){let c=!0;for(let s of e)if(!t.has(s)){let d=!1;for(let f of t)Z(s,f,l)===!0&&(d=!0);if(d===!1){c=!1;break}}return n.pop(),a.pop(),c}else if(Qe("Map",e)||LA(e)){let c=!0;for(let s of e)if(!t.has(s[0])||!Z(s[1],t.get(s[0]),l)){let d=!1;for(let f of t){let p=Z(s[0],f[0],l),m=!1;p===!0&&(m=Z(s[1],f[1],l)),m===!0&&(d=!0)}if(d===!1){c=!1;break}}return n.pop(),a.pop(),c}}let u=t[rh]();for(let c of e){let s=u.next();if(s.done||!Z(c,s.value,l))return!1}if(!u.next().done)return!1;if(!FA(e)&&!HA(e)&&!UA(e)&&!VA(e)){let c=Object.entries(e),s=Object.entries(t);if(!Z(c,s))return!1}return n.pop(),a.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 zA(e){return $n(e)&&!(e instanceof Error)&&!Array.isArray(e)&&!(e instanceof Date)}function _n(e,t,r=[]){let n=r.filter(o=>o!==_n),a=(o=new WeakMap)=>(l,i)=>{if(zA(i))return Object.keys(i).every(u=>{if(i[u]!=null&&typeof i[u]=="object"){if(o.has(i[u]))return Z(l[u],i[u],n);o.set(i[u],!0)}let c=l!=null&&ms(l,u)&&Z(l[u],i[u],[...n,a(o)]);return o.delete(i[u]),c})};return a()(e,t)}function Ic(e,t){if(!(e==null||t==null||e.constructor===t.constructor))return!1}function Bc(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 a=0;al!==jl);return Z(e,t,o,!0)&&Z(n,a)}function GA(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 WA(e,t){return`${t} ${e}${t===1?"":"s"}`}function Do(e){return[...Object.keys(e),...Object.getOwnPropertySymbols(e).filter(t=>{var r;return(r=Object.getOwnPropertyDescriptor(e,t))==null?void 0:r.enumerable})]}function KA(e,t,r=[]){let n=0,a=(o=new WeakMap)=>(l,i)=>{if(Array.isArray(l)){if(Array.isArray(i)&&i.length===l.length)return i.map((u,c)=>a(o)(l[c],u))}else{if(l instanceof Date)return l;if($n(l)&&$n(i)){if(Z(l,i,[...r,De,_n]))return i;let u={};o.set(l,u);for(let c of Do(l))ms(i,c)?u[c]=o.has(l[c])?o.get(l[c]):a(o)(l[c],i[c]):o.has(l[c])||(n+=1,$n(l[c])&&(n+=Do(l[c]).length),a(o)(l[c],i[c]));if(Do(u).length>0)return u}}return l};return{subset:a()(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[ds]),equals:Z,isNot:this.inverse,customTesters:fs(),utils:{...Xm(),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()}{…}`}},kc=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"}},YA=class extends Lt{asymmetricMatch(e){return e!=null}toString(){return"Anything"}toAsymmetricMatcher(){return"Anything"}},Lc=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"}},Dc=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(a=>Z(n,a,t.customTesters)));return this.inverse?!r:r}toString(){return`Array${this.inverse?"Not":""}Containing`}getExpectedType(){return"array"}},JA=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]:""}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)}>`}},Fc=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"}},Hc=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,`(${WA("digit",this.precision)})`].join(" ")}},XA=(e,t)=>{t.addMethod(e.expect,"anything",()=>new YA),t.addMethod(e.expect,"any",r=>new JA(r)),t.addMethod(e.expect,"stringContaining",r=>new kc(r)),t.addMethod(e.expect,"objectContaining",r=>new Lc(r)),t.addMethod(e.expect,"arrayContaining",r=>new Dc(r)),t.addMethod(e.expect,"stringMatching",r=>new Fc(r)),t.addMethod(e.expect,"closeTo",(r,n)=>new Hc(r,n)),e.expect.not={stringContaining:r=>new kc(r,!0),objectContaining:r=>new Lc(r,!0),arrayContaining:r=>new Dc(r,!0),stringMatching:r=>new Fc(r,!0),closeTo:(r,n)=>new Hc(r,n,!0)}};function Uc(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 nh(e,t){return function(...r){var n;if(!e.flag(this,"soft"))return t.apply(this,r);let a=e.flag(this,"vitest-test");if(!a)throw new Error("expect.soft() can only be used inside a test");try{return t.apply(this,r)}catch(o){a.result||(a.result={state:"fail"}),a.result.state="fail",(n=a.result).errors||(n.errors=[]),a.result.errors.push(Ym(o))}}}var QA=(e,t)=>{let{AssertionError:r}=e,n=fs();function a(s,d){let f=p=>{let m=nh(t,d);t.addMethod(e.Assertion.prototype,p,m),t.addMethod(globalThis[rn].matchers,p,m)};Array.isArray(s)?s.forEach(p=>f(p)):f(s)}["throw","throws","Throw"].forEach(s=>{t.overwriteMethod(e.Assertion.prototype,s,d=>function(...f){let p=t.flag(this,"promise"),m=t.flag(this,"object"),b=t.flag(this,"negate");if(p==="rejects")t.flag(this,"object",()=>{throw m});else if(p==="resolves"&&typeof m!="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,f)})}),a("withTest",function(s){return t.flag(this,"vitest-test",s),this}),a("toEqual",function(s){let d=t.flag(this,"object"),f=Z(d,s,[...n,De]);return this.assert(f,"expected #{this} to deeply equal #{exp}","expected #{this} to not deeply equal #{exp}",s,d)}),a("toStrictEqual",function(s){let d=t.flag(this,"object"),f=Z(d,s,[...n,De,Ic,jl,Bc],!0);return this.assert(f,"expected #{this} to strictly equal #{exp}","expected #{this} to not strictly equal #{exp}",s,d)}),a("toBe",function(s){let d=this._obj,f=Object.is(d,s),p="";return f||(Z(d,s,[...n,De,Ic,jl,Bc],!0)?p="toStrictEqual":Z(d,s,[...n,De])&&(p="toEqual")),this.assert(f,GA(p),"expected #{this} not to be #{exp} // Object.is equality",s,d)}),a("toMatchObject",function(s){let d=this._obj,f=Z(d,s,[...n,De,_n]),p=t.flag(this,"negate"),{subset:m,stripped:b}=KA(d,s);if(f&&p||!f&&!p){let h=t.getMessage(this,[f,"expected #{this} to match object #{exp}","expected #{this} to not match object #{exp}",s,m,!1]),y=b===0?h:`${h} +(${b} matching ${b===1?"property":"properties"} omitted from actual)`;throw new r(y,{showDiff:!0,expected:s,actual:m})}}),a("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)}),a("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 f=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}"`,f,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))}),a("toContainEqual",function(s){let d=t.flag(this,"object"),f=Array.from(d).findIndex(p=>Z(p,s,n));this.assert(f!==-1,"expected #{this} to deep equally contain #{exp}","expected #{this} to not deep equally contain #{exp}",s)}),a("toBeTruthy",function(){let s=t.flag(this,"object");this.assert(!!s,"expected #{this} to be truthy","expected #{this} to not be truthy",s,!1)}),a("toBeFalsy",function(){let s=t.flag(this,"object");this.assert(!s,"expected #{this} to be falsy","expected #{this} to not be falsy",s,!1)}),a("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)}),a("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)}),a("toBeLessThan",function(s){let d=this._obj;return pt(d,"actual",["number","bigint"]),pt(s,"expected",["number","bigint"]),this.assert(dString(E).replace(/([.[\]])/g,"\\$1")).join("."));let d=this._obj,[f,p]=s,m=()=>Object.prototype.hasOwnProperty.call(d,f)?{value:d[f],exists:!0}:t.getPathInfo(d,f),{value:b,exists:h}=m(),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 "${f}"${g}`,`expected #{this} to not have property "${f}"${g}`,p,h?b:void 0)}),a("toBeCloseTo",function(s,d=2){let f=this._obj,p=!1,m=0,b=0;return s===Number.POSITIVE_INFINITY&&f===Number.POSITIVE_INFINITY||s===Number.NEGATIVE_INFINITY&&f===Number.NEGATIVE_INFINITY?p=!0:(m=10**-d/2,b=Math.abs(f-s),p=b{if(!cs(s._obj))throw new TypeError(`${t.inspect(s._obj)} is not a spy or a call to a spy!`)},l=s=>(o(s),s._obj),i=s=>{let d=s%10,f=s%100;return d===1&&f!==11?`${s}st`:d===2&&f!==12?`${s}nd`:d===3&&f!==13?`${s}rd`:`${s}th`},u=(s,d,f)=>(s.mock.calls&&(d+=be.gray(` + +Received: + +${s.mock.calls.map((p,m)=>{let b=be.bold(` ${i(m+1)} ${s.getMockName()} call: + +`);return f?b+=wr(f,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,f,p)=>(f+=be.gray(` + +Received: + +${d.map((m,b)=>{let h=be.bold(` ${i(b+1)} ${s.getMockName()} call return: + +`);return p?h+=wr(p,m.value,{omitAnnotationLines:!0}):h+=Ge(m).split(` +`).map(y=>` ${y}`).join(` +`),h+=` +`,h}).join(` +`)}`),f+=be.gray(` + +Number of calls: ${be.bold(s.mock.calls.length)} +`),f);a(["toHaveBeenCalledTimes","toBeCalledTimes"],function(s){let d=l(this),f=d.getMockName(),p=d.mock.calls.length;return this.assert(p===s,`expected "${f}" to be called #{exp} times, but got ${p} times`,`expected "${f}" to not be called #{exp} times`,s,p,!1)}),a("toHaveBeenCalledOnce",function(){let s=l(this),d=s.getMockName(),f=s.mock.calls.length;return this.assert(f===1,`expected "${d}" to be called once, but got ${f} times`,`expected "${d}" to not be called once`,1,f,!1)}),a(["toHaveBeenCalled","toBeCalled"],function(){let s=l(this),d=s.getMockName(),f=s.mock.calls.length,p=f>0,m=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 ${f} times`,!0,p]);if(p&&m&&(b=u(s,b)),p&&m||!p&&!m)throw new r(b)}),a(["toHaveBeenCalledWith","toBeCalledWith"],function(...s){let d=l(this),f=d.getMockName(),p=d.mock.calls.some(h=>Z(h,s,[...n,De])),m=t.flag(this,"negate"),b=t.getMessage(this,[p,`expected "${f}" to be called with arguments: #{exp}`,`expected "${f}" to not be called with arguments: #{exp}`,s]);if(p&&m||!p&&!m)throw new r(u(d,b,s))}),a(["toHaveBeenNthCalledWith","nthCalledWith"],function(s,...d){let f=l(this),p=f.getMockName(),m=f.mock.calls[s-1],b=f.mock.calls.length,h=s<=b;this.assert(Z(m,d,[...n,De]),`expected ${i(s)} "${p}" call to have been called with #{exp}${h?"":`, but called only ${b} times`}`,`expected ${i(s)} "${p}" call to not have been called with #{exp}`,d,m,h)}),a(["toHaveBeenLastCalledWith","lastCalledWith"],function(...s){let d=l(this),f=d.getMockName(),p=d.mock.calls[d.mock.calls.length-1];this.assert(Z(p,s,[...n,De]),`expected last "${f}" call to have been called with #{exp}`,`expected last "${f}" call to not have been called with #{exp}`,s,p)}),a(["toThrow","toThrowError"],function(s){if(typeof s=="string"||typeof s>"u"||s instanceof RegExp)return this.throws(s);let d=this._obj,f=t.flag(this,"promise"),p=t.flag(this,"negate"),m=null;if(f==="rejects")m=d;else if(f==="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,m=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(m&&m instanceof s,`expected error to be instance of ${b}`,`expected error not to be instance of ${b}`,s,m)}if(s instanceof Error)return this.assert(m&&s.message===m.message,`expected error to have message: ${s.message}`,`expected error not to have message: ${s.message}`,s.message,m&&m.message);if(typeof s=="object"&&"asymmetricMatch"in s&&typeof s.asymmetricMatch=="function"){let b=s;return this.assert(m&&b.asymmetricMatch(m),"expected error to match asymmetric matcher","expected error not to match asymmetric matcher",b,m)}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:f})=>{a(s,function(){let p=l(this),m=p.getMockName(),b=d(p);this.assert(b,`expected "${m}" to be successfully ${f} at least once`,`expected "${m}" to not be successfully ${f}`,b,!b,!1)})}),[{name:"toHaveResolvedTimes",condition:(s,d)=>s.mock.settledResults.reduce((f,{type:p})=>p==="fulfilled"?++f:f,0)===d,action:"resolved"},{name:["toHaveReturnedTimes","toReturnTimes"],condition:(s,d)=>s.mock.results.reduce((f,{type:p})=>p==="throw"?f:++f,0)===d,action:"called"}].forEach(({name:s,condition:d,action:f})=>{a(s,function(p){let m=l(this),b=m.getMockName(),h=d(m,p);this.assert(h,`expected "${b}" to be successfully ${f} ${p} times`,`expected "${b}" to not be successfully ${f} ${p} times`,`expected resolved times: ${p}`,`received resolved times: ${h}`,!1)})}),[{name:"toHaveResolvedWith",condition:(s,d)=>s.mock.settledResults.some(({type:f,value:p})=>f==="fulfilled"&&Z(d,p)),action:"resolve"},{name:["toHaveReturnedWith","toReturnWith"],condition:(s,d)=>s.mock.results.some(({type:f,value:p})=>f==="return"&&Z(d,p)),action:"return"}].forEach(({name:s,condition:d,action:f})=>{a(s,function(p){let m=l(this),b=d(m,p),h=t.flag(this,"negate");if(b&&h||!b&&!h){let y=m.getMockName(),g=t.getMessage(this,[b,`expected "${y}" to ${f} with: #{exp} at least once`,`expected "${y}" to not ${f} with: #{exp}`,p]),E=f==="return"?m.mock.results:m.mock.settledResults;throw new r(c(m,E,g,p))}})}),[{name:"toHaveLastResolvedWith",condition:(s,d)=>{let f=s.mock.settledResults[s.mock.settledResults.length-1];return f&&f.type==="fulfilled"&&Z(f.value,d)},action:"resolve"},{name:["toHaveLastReturnedWith","lastReturnedWith"],condition:(s,d)=>{let f=s.mock.results[s.mock.results.length-1];return f&&f.type==="return"&&Z(f.value,d)},action:"return"}].forEach(({name:s,condition:d,action:f})=>{a(s,function(p){let m=l(this),b=f==="return"?m.mock.results:m.mock.settledResults,h=b[b.length-1],y=m.getMockName();this.assert(d(m,p),`expected last "${y}" call to ${f} #{exp}`,`expected last "${y}" call to not ${f} #{exp}`,p,h==null?void 0:h.value)})}),[{name:"toHaveNthResolvedWith",condition:(s,d,f)=>{let p=s.mock.settledResults[d-1];return p&&p.type==="fulfilled"&&Z(p.value,f)},action:"resolve"},{name:["toHaveNthReturnedWith","nthReturnedWith"],condition:(s,d,f)=>{let p=s.mock.results[d-1];return p&&p.type==="return"&&Z(p.value,f)},action:"return"}].forEach(({name:s,condition:d,action:f})=>{a(s,function(p,m){let b=l(this),h=b.getMockName(),y=(f==="return"?b.mock.results:b.mock.settledResults)[p-1],g=`${i(p)} call`;this.assert(d(b,p,m),`expected ${g} "${h}" call to ${f} #{exp}`,`expected ${g} "${h}" call to not ${f} #{exp}`,m,y==null?void 0:y.value)})}),a("toSatisfy",function(s,d){return this.be.satisfy(s,d)}),a("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"),f=t.flag(this,"object");if(t.flag(this,"poll"))throw new SyntaxError("expect.poll() is not supported in combination with .resolves");if(typeof(f==null?void 0:f.then)!="function")throw new TypeError(`You must provide a Promise to expect() when using .resolves, not '${typeof f}'.`);let p=new Proxy(this,{get:(m,b,h)=>{let y=Reflect.get(m,b,h);return typeof y!="function"?y instanceof e.Assertion?p:y:async(...g)=>{let E=f.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 Uc(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"),f=t.flag(this,"object"),p=typeof f=="function"?f():f;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 m=new Proxy(this,{get:(b,h,y)=>{let g=Reflect.get(b,h,y);return typeof g!="function"?g instanceof e.Assertion?m: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 Uc(d,C)}}});return m})};function ZA(e,t){let r=e._obj,n=at.flag(e,"negate"),a=at.flag(e,"promise")||"",o={...Xm(),diff:wr,stringify:Ge,iterableEquality:De,subsetEquality:_n};return{state:{...Zn(t),customTesters:fs(),isNot:n,utils:o,promise:a,equals:Z,suppressedErrors:[],soft:at.flag(e,"soft"),poll:at.flag(e,"poll")},isNot:n,obj:r}}var Vc=class extends Error{constructor(e,t,r){super(e),this.actual=t,this.expected=r}};function eM(e,t,r){return(n,a)=>{Object.entries(r).forEach(([o,l])=>{function i(...d){let{state:f,isNot:p,obj:m}=ZA(this,t),b=l.call(f,m,...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 Vc(q(),_,v)});let{pass:h,message:y,actual:g,expected:E}=b;if(h&&p||!h&&!p)throw new Vc(y(),g,E)}let u=nh(a,i);a.addMethod(globalThis[rn].matchers,o,u),a.addMethod(e.Assertion.prototype,o,u);class c extends Lt{constructor(f=!1,...p){super(p,f)}asymmetricMatch(f){let{pass:p}=l.call(this.getMatcherContext(t),f,...this.sample);return this.inverse?!p:p}toString(){return`${this.inverse?"not.":""}${o}`}getExpectedType(){return"any"}toAsymmetricMatcher(){return`${this.toString()}<${this.sample.map(String).join(", ")}>`}}let s=(...d)=>new c(!1,...d);Object.defineProperty(t,o,{configurable:!0,enumerable:!0,value:s,writable:!0}),Object.defineProperty(t.not,o,{configurable:!0,enumerable:!0,value:(...d)=>new c(!0,...d),writable:!0}),Object.defineProperty(globalThis[xl],o,{configurable:!0,enumerable:!0,value:s,writable:!0})})}}var tM=(e,t)=>{t.addMethod(e.expect,"extend",(r,n)=>{pr(eM(e,r,n))})};function rM(){pr(tM),pr(QA),pr(XA);let e=(n,a)=>{let{assertionCalls:o}=Zn(e);return Lo({assertionCalls:o+1,soft:!1},e),Vt(n,a)};Object.assign(e,Vt),e.getState=()=>Zn(e),e.setState=n=>Lo(n,e),e.extend=n=>Vt.extend(e,n),e.soft=(...n)=>{let a=e(...n);return e.setState({soft:!0}),a},e.unreachable=n=>{O.fail(`expected${n?` "${n}" `:" "}not to be reached`)};function t(n){let a=()=>new Error(`expected number of assertions to be ${n}, but got ${e.getState().assertionCalls}`);"captureStackTrace"in Error&&typeof Error.captureStackTrace=="function"&&Error.captureStackTrace(a(),t),e.setState({expectedAssertionsNumber:n,expectedAssertionsNumberErrorGen:a})}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 Lo({assertionCalls:0,isExpectingAssertions:!1,isExpectingAssertionsError:null,expectedAssertionsNumber:null,expectedAssertionsNumberErrorGen:null},e),at.addMethod(e,"assertions",t),at.addMethod(e,"hasAssertions",r),e.extend(hf),e}var ah=rM();Object.defineProperty(globalThis,ds,{value:ah,writable:!0,configurable:!0});var Nl=new Set;function oh(e){return Nl.add(e),()=>void Nl.delete(e)}function lh(e){let t=e?Ac(e):Ac();return nM(t)}function nM(e){let t=zc(e),r=t.mockImplementation.bind(null);return t.mockImplementation=n=>zc(r(n)),t}function zc(e){let t=Qn(e),r=t.impl;return t.willCall(function(...n){return Nl.forEach(a=>a(e,n)),r==null?void 0:r.apply(this,n)}),e}function ih(){vn.forEach(e=>e.mockClear())}function sh(){vn.forEach(e=>e.mockReset())}function uh(){vn.forEach(e=>e.mockRestore())}var ch={};ui(ch,{buildQueries:()=>Ct,configure:()=>bx,createEvent:()=>Ln,findAllByAltText:()=>mb,findAllByDisplayValue:()=>sb,findAllByLabelText:()=>Fh,findAllByPlaceholderText:()=>Jh,findAllByRole:()=>Ob,findAllByTestId:()=>jb,findAllByText:()=>rb,findAllByTitle:()=>_b,findByAltText:()=>hb,findByDisplayValue:()=>ub,findByLabelText:()=>Hh,findByPlaceholderText:()=>Xh,findByRole:()=>Tb,findByTestId:()=>Nb,findByText:()=>nb,findByTitle:()=>Rb,fireEvent:()=>sn,getAllByAltText:()=>pb,getAllByDisplayValue:()=>lb,getAllByLabelText:()=>Uh,getAllByPlaceholderText:()=>Kh,getAllByRole:()=>Eb,getAllByTestId:()=>Mb,getAllByText:()=>eb,getAllByTitle:()=>gb,getByAltText:()=>fb,getByDisplayValue:()=>ib,getByLabelText:()=>Vh,getByPlaceholderText:()=>Yh,getByRole:()=>Pb,getByTestId:()=>xb,getByText:()=>tb,getByTitle:()=>vb,getConfig:()=>X,getDefaultNormalizer:()=>_s,getElementError:()=>ka,getMultipleElementsFoundError:()=>La,getNodeText:()=>Rn,getQueriesForElement:()=>Vl,getRoles:()=>Nh,getSuggestedQuery:()=>ra,isInaccessible:()=>Ba,logDOM:()=>$l,logRoles:()=>Rx,makeFindQuery:()=>qr,makeGetAllQuery:()=>Cs,makeSingleQuery:()=>Cr,prettyDOM:()=>on,prettyFormat:()=>hs,queries:()=>na,queryAllByAltText:()=>cb,queryAllByAttribute:()=>Zt,queryAllByDisplayValue:()=>ab,queryAllByLabelText:()=>zh,queryAllByPlaceholderText:()=>Gh,queryAllByRole:()=>Cb,queryAllByTestId:()=>Sb,queryAllByText:()=>Qh,queryAllByTitle:()=>bb,queryByAltText:()=>db,queryByAttribute:()=>Ih,queryByDisplayValue:()=>ob,queryByLabelText:()=>Lh,queryByPlaceholderText:()=>Wh,queryByRole:()=>qb,queryByTestId:()=>Ab,queryByText:()=>Zh,queryByTitle:()=>yb,queryHelpers:()=>$x,screen:()=>uj,waitFor:()=>ws,waitForElementToBeRemoved:()=>rj,within:()=>Vl,wrapAllByQueryWithSuggestion:()=>ke,wrapSingleQueryWithSuggestion:()=>Nt});var hs=Fe(DC()),aM=Object.prototype.toString;function oM(e){return typeof e=="function"||aM.call(e)==="[object Function]"}function lM(e){var t=Number(e);return isNaN(t)?0:t===0||!isFinite(t)?t:(t>0?1:-1)*Math.floor(Math.abs(t))}var iM=Math.pow(2,53)-1;function sM(e){var t=lM(e);return Math.min(Math.max(t,0),iM)}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");for(var a=sM(n.length),o=oM(r)?Object(new r(a)):new Array(a),l=0,i;l0&&arguments[0]!==void 0?arguments[0]:[];uM(this,e),pM(this,"items",void 0),this.items=t}return dM(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}(),hM=typeof Set>"u"?Set:mM;function je(e){var t;return(t=e.localName)!==null&&t!==void 0?t:e.tagName.toLowerCase()}var bM={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"},yM={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 gM(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=yM[t])!==null&&n!==void 0&&n.has(r))})}function ph(e,t){return gM(e,t)}function vM(e){var t=RM(e);if(t===null||t==="presentation"){var r=_M(e);if(t!=="presentation"||ph(e,r||""))return r}return t}function _M(e){var t=bM[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")===""&&!ph(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 RM(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 fh(e){return de(e)&&je(e)==="caption"}function kn(e){return de(e)&&je(e)==="input"}function wM(e){return de(e)&&je(e)==="optgroup"}function CM(e){return de(e)&&je(e)==="select"}function qM(e){return de(e)&&je(e)==="table"}function EM(e){return de(e)&&je(e)==="textarea"}function PM(e){var t=e.ownerDocument===null?e:e.ownerDocument,r=t.defaultView;if(r===null)throw new TypeError("no window available");return r}function OM(e){return de(e)&&je(e)==="fieldset"}function TM(e){return de(e)&&je(e)==="legend"}function SM(e){return de(e)&&je(e)==="slot"}function AM(e){return de(e)&&e.ownerSVGElement!==void 0}function MM(e){return de(e)&&je(e)==="svg"}function xM(e){return AM(e)&&je(e)==="title"}function ta(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(a){return n.getElementById(a)}).filter(function(a){return a!==null})}return[]}function bt(e,t){return de(e)?t.indexOf(vM(e))!==-1:!1}function jM(e){return e.trim().replace(/\s\s+/g," ")}function NM(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 $M(e){return bt(e,["button","combobox","listbox","textbox"])||mh(e,"range")}function mh(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 Gc(e,t){var r=Xe(e.querySelectorAll(t));return ta(e,"aria-owns").forEach(function(n){r.push.apply(r,Xe(n.querySelectorAll(t)))}),r}function IM(e){return CM(e)?e.selectedOptions||Gc(e,"[selected]"):Gc(e,'[aria-selected="true"]')}function BM(e){return bt(e,["none","presentation"])}function kM(e){return fh(e)}function LM(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 DM(e){return!1}function FM(e){return kn(e)||EM(e)?e.value:e.textContent||""}function Wc(e){var t=e.getPropertyValue("content");return/^["'].*["']$/.test(t)?t.slice(1,-1):""}function hh(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 bh(e){if(hh(e))return e;var t=null;return e.childNodes.forEach(function(r){if(t===null&&de(r)){var n=bh(r);n!==null&&(t=n)}}),t}function HM(e){if(e.control!==void 0)return e.control;var t=e.getAttribute("for");return t!==null?e.ownerDocument.getElementById(t):bh(e)}function UM(e){var t=e.labels;if(t===null)return t;if(t!==void 0)return Xe(t);if(!hh(e))return null;var r=e.ownerDocument;return Xe(r.querySelectorAll("label")).filter(function(n){return HM(n)===e})}function VM(e){var t=e.assignedNodes();return t.length===0?Xe(e.childNodes):t}function yh(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=new hM,n=PM(e),a=t.compute,o=a===void 0?"name":a,l=t.computedStyleSupportsPseudoElements,i=l===void 0?t.getComputedStyle!==void 0:l,u=t.getComputedStyle,c=u===void 0?n.getComputedStyle.bind(n):u,s=t.hidden,d=s===void 0?!1:s;function f(y,g){var E="";if(de(y)&&i){var C=c(y,"::before"),q=Wc(C);E="".concat(q," ").concat(E)}var _=SM(y)?VM(y):Xe(y.childNodes).concat(ta(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)&&i){var v=c(y,"::after"),w=Wc(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 m(y){return de(y)?p(y,"title"):null}function b(y){if(!de(y))return null;if(OM(y)){r.add(y);for(var g=Xe(y.childNodes),E=0;E0}).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=f(y,{isEmbeddedInLabel:!1});if(W!=="")return W}return null}function h(y,g){if(r.has(y))return"";if(!d&&NM(y,c)&&!g.isReferenced)return r.add(y),"";var E=de(y)?y.getAttributeNode("aria-labelledby"):null,C=E!==null&&!r.has(E)?ta(y,"aria-labelledby"):[];if(o==="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&&$M(y)&&o==="name";if(!q){var _=(de(y)&&y.getAttribute("aria-label")||"").trim();if(_!==""&&o==="name")return r.add(y),_;if(!BM(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=IM(y);return w.length===0?kn(y)?y.value:"":Xe(w).map(function($){return h($,{isEmbeddedInLabel:g.isEmbeddedInLabel,isReferenced:!1,recursion:!0})}).join(" ")}if(mh(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),FM(y)}if(LM(y)||de(y)&&g.isReferenced||kM(y)||DM()){var P=f(y,{isEmbeddedInLabel:g.isEmbeddedInLabel});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),f(y,{isEmbeddedInLabel:g.isEmbeddedInLabel});var j=m(y);return j!==null?(r.add(y),j):(r.add(y),"")}return jM(h(e,{isEmbeddedInLabel:!1,isReferenced:o==="description",recursion:!1}))}function an(e){"@babel/helpers - typeof";return an=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},an(e)}function Kc(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 Yc(e){for(var t=1;t1&&arguments[1]!==void 0?arguments[1]:{},r=ta(e,"aria-describedby").map(function(a){return yh(a,Yc(Yc({},t),{},{compute:"description"}))}).join(" ");if(r===""){var n=e.getAttribute("title");r=n===null?"":n}return r}function KM(e){return bt(e,["caption","code","deletion","emphasis","generic","insertion","paragraph","presentation","strong","subscript","superscript"])}function bs(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return KM(e)?"":yh(e,t)}var Ue=Fe(PP()),YM=Fe(OP());function vh(e){return e.replace(//g,">")}var JM=(e,t,r,n,a,o,l)=>{let i=n+r.indent,u=r.colors;return e.map(c=>{let s=t[c],d=l(s,r,i,a,o);return typeof s!="string"&&(d.indexOf(` +`)!==-1&&(d=r.spacingOuter+i+d+r.spacingOuter+n),d="{"+d+"}"),r.spacingInner+n+u.prop.open+c+u.prop.close+"="+u.value.open+d+u.value.close}).join("")},XM=3,QM=(e,t,r,n,a,o)=>e.map(l=>{let i=typeof l=="string"?_h(l,t):o(l,t,r,n,a);return i===""&&typeof l=="object"&&l!==null&&l.nodeType!==XM?"":t.spacingOuter+r+i}).join(""),_h=(e,t)=>{let r=t.colors.content;return r.open+vh(e)+r.close},ZM=(e,t)=>{let r=t.colors.comment;return r.open+""+r.close},ex=(e,t,r,n,a)=>{let o=n.colors.tag;return o.open+"<"+e+(t&&o.close+t+n.spacingOuter+a+o.open)+(r?">"+o.close+r+n.spacingOuter+a+o.open+""+o.close},tx=(e,t)=>{let r=t.colors.tag;return r.open+"<"+e+r.close+" …"+r.open+" />"+r.close},rx=1,Rh=3,wh=8,Ch=11,nx=/^((HTML|SVG)\w*)?Element$/,qh=e=>{let{tagName:t}=e;return!!(typeof t=="string"&&t.includes("-")||typeof e.hasAttribute=="function"&&e.hasAttribute("is"))},ax=e=>{let t=e.constructor.name,{nodeType:r}=e;return r===rx&&(nx.test(t)||qh(e))||r===Rh&&t==="Text"||r===wh&&t==="Comment"||r===Ch&&t==="DocumentFragment"};function ox(e){return e.nodeType===Rh}function lx(e){return e.nodeType===wh}function Fo(e){return e.nodeType===Ch}function ix(e){return{test:t=>{var r;return((t==null||(r=t.constructor)==null?void 0:r.name)||qh(t))&&ax(t)},serialize:(t,r,n,a,o,l)=>{if(ox(t))return _h(t.data,r);if(lx(t))return ZM(t.data,r);let i=Fo(t)?"DocumentFragment":t.tagName.toLowerCase();return++a>r.maxDepth?tx(i,r):ex(i,JM(Fo(t)?[]:Array.from(t.attributes).map(u=>u.name).sort(),Fo(t)?{}:Array.from(t.attributes).reduce((u,c)=>(u[c.name]=c.value,u),{}),r,n+r.indent,a,o,l),QM(Array.prototype.slice.call(t.childNodes||t.children).filter(e),r,n+r.indent,a,o,l),r,n)}}}var Eh=null,ys=null,gs=null;try{let e=module&&module.require;ys=e.call(module,"fs").readFileSync,gs=e.call(module,"@babel/code-frame").codeFrameColumns,Eh=e.call(module,"chalk")}catch{}function sx(e){let t=e.indexOf("(")+1,r=e.indexOf(")"),n=e.slice(t,r),a=n.split(":"),[o,l,i]=[a[0],parseInt(a[1],10),parseInt(a[2],10)],u="";try{u=ys(o,"utf-8")}catch{return""}let c=gs(u,{start:{line:l,column:i}},{highlightCode:!0,linesBelow:0});return Eh.dim(n)+` +`+c+` +`}function ux(){if(!ys||!gs)return"";let e=new Error().stack.split(` +`).slice(1).find(t=>!t.includes("node_modules/"));return sx(e)}var Ph=3;function Ho(){return typeof jest<"u"&&jest!==null?setTimeout._isMockFunction===!0||Object.prototype.hasOwnProperty.call(setTimeout,"clock"):!1}function vs(){if(typeof window>"u")throw new Error("Could not find default container");return window.document}function Oh(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 cx=()=>{if(typeof process>"u")return!1;let e;try{var t;let r=(t=el)==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:dx}=hs.plugins,px=1,fx=8;function mx(e){return e.nodeType!==fx&&(e.nodeType!==px||!e.matches(X().defaultIgnore))}function on(e,t,r){if(r===void 0&&(r={}),e||(e=vs().body),typeof t!="number"&&(t=typeof process<"u"&&typeof el<"u"&&el.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:a=mx,...o}=r,l=hs.format(e,{plugins:[ix(a),dx],printFunctionName:!1,highlight:cx(),...o});return t!==void 0&&e.outerHTML.length>t?l.slice(0,t)+"...":l}var $l=function(){let e=ux();console.log(e?on(...arguments)+` + +`+e:on(...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=on(t),n=new Error([e,"Ignored nodes: comments, "+zt.defaultIgnore+` +`+r].filter(Boolean).join(` + +`));return n.name="TestingLibraryElementError",n},_disableExpensiveErrorDiagnostics:!1,computedStyleSupportsPseudoElements:!1};function hx(e){try{return zt._disableExpensiveErrorDiagnostics=!0,e()}finally{zt._disableExpensiveErrorDiagnostics=!1}}function bx(e){typeof e=="function"&&(e=e(zt)),zt={...zt,...e}}function X(){return zt}var yx=["button","meter","output","progress","select","textarea","input"];function Th(e){return yx.includes(e.nodeName.toLowerCase())?"":e.nodeType===Ph?e.textContent:Array.from(e.childNodes).map(t=>Th(t)).join("")}function Il(e){let t;return e.tagName.toLowerCase()==="label"?t=Th(e):t=e.value||e.textContent,t}function Sh(e){if(e.labels!==void 0){var t;return(t=e.labels)!=null?t:[]}if(!gx(e))return[];let r=e.ownerDocument.querySelectorAll("label");return Array.from(r).filter(n=>n.control===e)}function gx(e){return/BUTTON|METER|OUTPUT|PROGRESS|SELECT|TEXTAREA/.test(e.tagName)||e.tagName==="INPUT"&&e.getAttribute("type")!=="hidden"}function Ah(e,t,r){let{selector:n="*"}=r===void 0?{}:r,a=t.getAttribute("aria-labelledby"),o=a?a.split(" "):[];return o.length?o.map(l=>{let i=e.querySelector('[id="'+l+'"]');return i?{content:Il(i),formControl:null}:{content:"",formControl:null}}):Array.from(Sh(t)).map(l=>{let i=Il(l),u=Array.from(l.querySelectorAll("button, input, meter, output, progress, select, textarea")).filter(c=>c.matches(n))[0];return{content:i,formControl:u}})}function Mh(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;Mh(r);let a=n(e);return typeof r=="string"||typeof r=="number"?a.toLowerCase().includes(r.toString().toLowerCase()):typeof r=="function"?r(a,t):xh(r,a)}function gt(e,t,r,n){if(typeof e!="string")return!1;Mh(r);let a=n(e);return r instanceof Function?r(a,t):r instanceof RegExp?xh(r,a):a===String(r)}function _s(e){let{trim:t=!0,collapseWhitespace:r=!0}=e===void 0?{}:e;return n=>{let a=n;return a=t?a.trim():a,a=r?a.replace(/\s+/g," "):a,a}}function Qt(e){let{trim:t,collapseWhitespace:r,normalizer:n}=e;if(!n)return _s({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 xh(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===Ph&&!!t.textContent).map(t=>t.textContent).join("")}var vx=_x(Ue.elementRoles);function jh(e){return e.hidden===!0||e.getAttribute("aria-hidden")==="true"||e.ownerDocument.defaultView.getComputedStyle(e).display==="none"}function Ba(e,t){t===void 0&&(t={});let{isSubtreeInaccessible:r=jh}=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 Rs(e){for(let{match:t,roles:r}of vx)if(t(e))return[...r];return[]}function _x(e){function t(l){let{name:i,attributes:u}=l;return""+i+u.map(c=>{let{name:s,value:d,constraints:f=[]}=c,p=f.indexOf("undefined")!==-1,m=f.indexOf("set")!==-1;return typeof d<"u"?"["+s+'="'+d+'"]':p?":not(["+s+"])":m?"["+s+"]:not(["+s+'=""])':"["+s+"]"}).join("")}function r(l){let{attributes:i=[]}=l;return i.length}function n(l,i){let{specificity:u}=l,{specificity:c}=i;return c-u}function a(l){let{attributes:i=[]}=l,u=i.findIndex(s=>s.value&&s.name==="type"&&s.value==="text");u>=0&&(i=[...i.slice(0,u),...i.slice(u+1)]);let c=t({...l,attributes:i});return s=>u>=0&&s.type!=="text"?!1:s.matches(c)}let o=[];for(let[l,i]of e.entries())o=[...o,{match:a(l),roles:Array.from(i),specificity:r(l)}];return o.sort(n)}function Nh(e,t){let{hidden:r=!1}=t===void 0?{}:t;function n(a){return[a,...Array.from(a.children).reduce((o,l)=>[...o,...n(l)],[])]}return n(e).filter(a=>r===!1?Ba(a)===!1:!0).reduce((a,o)=>{let l=[];return o.hasAttribute("role")?l=o.getAttribute("role").split(" ").slice(0,1):l=Rs(o),l.reduce((i,u)=>Array.isArray(i[u])?{...i,[u]:[...i[u],o]}:{...i,[u]:[o]},a)},{})}function $h(e,t){let{hidden:r,includeDescription:n}=t,a=Nh(e,{hidden:r});return Object.entries(a).filter(o=>{let[l]=o;return l!=="generic"}).map(o=>{let[l,i]=o,u="-".repeat(50),c=i.map(s=>{let d='Name "'+bs(s,{computedStyleSupportsPseudoElements:X().computedStyleSupportsPseudoElements})+`": +`,f=on(s.cloneNode(!1));if(n){let p='Description "'+gh(s,{computedStyleSupportsPseudoElements:X().computedStyleSupportsPseudoElements})+`": +`;return""+d+p+f}return""+d+f}).join(` + +`);return l+`: + +`+c+` + +`+u}).join(` +`)}var Rx=function(e,t){let{hidden:r=!1}=t===void 0?{}:t;return console.log($h(e,{hidden:r}))};function wx(e){return e.tagName==="OPTION"?e.selected:wn(e,"aria-selected")}function Cx(e){return e.getAttribute("aria-busy")==="true"}function qx(e){if(!("indeterminate"in e&&e.indeterminate))return"checked"in e?e.checked:wn(e,"aria-checked")}function Ex(e){return wn(e,"aria-pressed")}function Px(e){var t,r;return(t=(r=wn(e,"aria-current"))!=null?r:e.getAttribute("aria-current"))!=null?t:!1}function Ox(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 Tx(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 Sx(e){let t=e.getAttribute("aria-valuenow");return t===null?void 0:+t}function Ax(e){let t=e.getAttribute("aria-valuemax");return t===null?void 0:+t}function Mx(e){let t=e.getAttribute("aria-valuemin");return t===null?void 0:+t}function xx(e){let t=e.getAttribute("aria-valuetext");return t===null?void 0:t}var Jc=_s();function jx(e){return e.replace(/[.*+\-?^${}()|[\]\\]/g,"\\$&")}function Xc(e){return new RegExp(jx(e.toLowerCase()),"i")}function qt(e,t,r,n){let{variant:a,name:o}=n,l="",i={},u=[["Role","TestId"].includes(e)?r:Xc(r)];o&&(i.name=Xc(o)),e==="Role"&&Ba(t)&&(i.hidden=!0,l=`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(i).length>0&&u.push(i);let c=a+"By"+e;return{queryName:e,queryMethod:c,queryArgs:u,variant:a,warning:l,toString(){l&&console.warn(l);let[s,d]=u;return s=typeof s=="string"?"'"+s+"'":s,d=d?", { "+Object.entries(d).map(f=>{let[p,m]=f;return p+": "+m}).join(", ")+" }":"",c+"("+s+d+")"}}}function Et(e,t,r){return r&&(!t||t.toLowerCase()===e.toLowerCase())}function ra(e,t,r){var n,a;if(t===void 0&&(t="get"),e.matches(X().defaultIgnore))return;let o=(n=e.getAttribute("role"))!=null?n:(a=Rs(e))==null?void 0:a[0];if(o!=="generic"&&Et("Role",r,o))return qt("Role",e,o,{variant:t,name:bs(e,{computedStyleSupportsPseudoElements:X().computedStyleSupportsPseudoElements})});let l=Ah(document,e).map(f=>f.content).join(" ");if(Et("LabelText",r,l))return qt("LabelText",e,l,{variant:t});let i=e.getAttribute("placeholder");if(Et("PlaceholderText",r,i))return qt("PlaceholderText",e,i,{variant:t});let u=Jc(Rn(e));if(Et("Text",r,u))return qt("Text",e,u,{variant:t});if(Et("DisplayValue",r,e.value))return qt("DisplayValue",e,Jc(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 Nx(e,t){let{container:r=vs(),timeout:n=X().asyncUtilTimeout,showOriginalStackTrace:a=X().showOriginalStackTrace,stackTraceError:o,interval:l=50,onTimeout:i=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,f,p,m=!1,b="idle",h=setTimeout(q,n),y=Ho();if(y){let{unstable_advanceTimersWrapper:_}=X();for(C();!m;){if(!Ho()){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");a||On(v,o),s(v);return}if(await _(async()=>{jest.advanceTimersByTime(l)}),m)break;C()}}else{try{wt(r)}catch(v){s(v);return}f=setInterval(E,l);let{MutationObserver:_}=Oh(r);p=new _(E),p.observe(r,u),C()}function g(_,v){m=!0,clearTimeout(h),y||(clearInterval(f),p.disconnect()),_?s(_):c(v)}function E(){if(Ho()){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 a||On(_,o),s(_)}else return C()}function C(){if(b!=="pending")try{let _=hx(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,!a&&_.name==="TestingLibraryElementError"&&On(_,o)):(_=new Error("Timed out in waitFor."),a||On(_,o)),g(i(_),null)}})}function ws(e,t){let r=new Error("STACK_TRACE_MESSAGE");return X().asyncWrapper(()=>Nx(e,{stackTraceError:r,...t}))}function ka(e,t){return X().getElementError(e,t)}function La(e,t){return ka(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:a=!0,collapseWhitespace:o,trim:l,normalizer:i}=n===void 0?{}:n,u=a?gt:jr,c=Qt({collapseWhitespace:o,trim:l,normalizer:i});return Array.from(t.querySelectorAll("["+e+"]")).filter(s=>u(s.getAttribute(e),s,r,c))}function Ih(e,t,r,n){let a=Zt(e,t,r,n);if(a.length>1)throw La("Found multiple elements by ["+e+"="+r+"]",t);return a[0]||null}function Cr(e,t){return function(r){for(var n=arguments.length,a=new Array(n>1?n-1:0),o=1;o1){let i=l.map(u=>ka(null,u).message).join(` + +`);throw La(t(r,...a)+` + +Here are the matching elements: + +`+i,r)}return l[0]||null}}function Bh(e,t){return X().getElementError(`A better query is available, try this: +`+e.toString()+` +`,t)}function Cs(e,t){return function(r){for(var n=arguments.length,a=new Array(n>1?n-1:0),o=1;ows(()=>e(t,r,n),{container:t,...a})}var Nt=(e,t,r)=>function(n){for(var a=arguments.length,o=new Array(a>1?a-1:0),l=1;lfunction(n){for(var a=arguments.length,o=new Array(a>1?a-1:0),l=1;l{var d;return(d=ra(s,r))==null?void 0:d.toString()}))];if(c.length===1&&!t.endsWith(ra(i[0],r).queryName))throw Bh(c[0],n)}return i};function Ct(e,t,r){let n=Nt(Cr(e,t),e.name,"query"),a=Cs(e,r),o=Cr(a,t),l=Nt(o,e.name,"get"),i=ke(a,e.name.replace("query","get"),"getAll"),u=qr(ke(a,e.name,"findAll")),c=qr(Nt(o,e.name,"find"));return[n,i,l,u,c]}var $x=Object.freeze({__proto__:null,getElementError:ka,wrapAllByQueryWithSuggestion:ke,wrapSingleQueryWithSuggestion:Nt,getMultipleElementsFoundError:La,queryAllByAttribute:Zt,queryByAttribute:Ih,makeSingleQuery:Cr,makeGetAllQuery:Cs,makeFindQuery:qr,buildQueries:Ct});function Ix(e){return Array.from(e.querySelectorAll("label,input")).map(t=>({node:t,textToMatch:Il(t)})).filter(t=>{let{textToMatch:r}=t;return r!==null})}var Bx=function(e,t,r){let{exact:n=!0,trim:a,collapseWhitespace:o,normalizer:l}=r===void 0?{}:r,i=n?gt:jr,u=Qt({collapseWhitespace:o,trim:a,normalizer:l});return Ix(e).filter(c=>{let{node:s,textToMatch:d}=c;return i(d,s,t,u)}).map(c=>{let{node:s}=c;return s})},ln=function(e,t,r){let{selector:n="*",exact:a=!0,collapseWhitespace:o,trim:l,normalizer:i}=r===void 0?{}:r;wt(e);let u=a?gt:jr,c=Qt({collapseWhitespace:o,trim:l,normalizer:i}),s=Array.from(e.querySelectorAll("*")).filter(d=>Sh(d).length||d.hasAttribute("aria-labelledby")).reduce((d,f)=>{let p=Ah(e,f,{selector:n});p.filter(b=>!!b.formControl).forEach(b=>{u(b.content,b.formControl,t,c)&&b.formControl&&d.push(b.formControl)});let m=p.filter(b=>!!b.content).map(b=>b.content);return u(m.join(" "),f,t,c)&&d.push(f),m.length>1&&m.forEach((b,h)=>{u(b,f,t,c)&&d.push(f);let y=[...m];y.splice(h,1),y.length>1&&u(y.join(" "),f,t,c)&&d.push(f)}),d},[]).concat(Zt("aria-label",e,t,{exact:a,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),a=2;akx(e,u)).filter(u=>!!u);throw i.length?X().getElementError(i.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 o};function kx(e,t){let r=t.getAttribute("for");if(!r)return null;let n=e.querySelector('[id="'+r+'"]');return n?n.tagName.toLowerCase():null}var kh=(e,t)=>"Found multiple elements with the text of: "+t,Lh=Nt(Cr(ln,kh),ln.name,"query"),Dh=Cr(Wt,kh),Fh=qr(ke(Wt,Wt.name,"findAll")),Hh=qr(Nt(Dh,Wt.name,"find")),Uh=ke(Wt,Wt.name,"getAll"),Vh=Nt(Dh,Wt.name,"get"),zh=ke(ln,ln.name,"queryAll"),Bl=function(){for(var e=arguments.length,t=new Array(e),r=0;r"Found multiple elements with the placeholder text of: "+t,Dx=(e,t)=>"Unable to find an element with the placeholder text of: "+t,Gh=ke(Bl,Bl.name,"queryAll"),[Wh,Kh,Yh,Jh,Xh]=Ct(Bl,Lx,Dx),kl=function(e,t,r){let{selector:n="*",exact:a=!0,collapseWhitespace:o,trim:l,ignore:i=X().defaultIgnore,normalizer:u}=r===void 0?{}:r;wt(e);let c=a?gt:jr,s=Qt({collapseWhitespace:o,trim:l,normalizer:u}),d=[];return typeof e.matches=="function"&&e.matches(n)&&(d=[e]),[...d,...Array.from(e.querySelectorAll(n))].filter(f=>!i||!f.matches(i)).filter(f=>c(Rn(f),f,t,s))},Fx=(e,t)=>"Found multiple elements with the text: "+t,Hx=function(e,t,r){r===void 0&&(r={});let{collapseWhitespace:n,trim:a,normalizer:o,selector:l}=r,i=Qt({collapseWhitespace:n,trim:a,normalizer:o})(t.toString()),u=i!==t.toString(),c=(l??"*")!=="*";return"Unable to find an element with the text: "+(u?i+" (normalized from '"+t+"')":t)+(c?", which matches selector '"+l+"'":"")+". 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."},Qh=ke(kl,kl.name,"queryAll"),[Zh,eb,tb,rb,nb]=Ct(kl,Fx,Hx),Ll=function(e,t,r){let{exact:n=!0,collapseWhitespace:a,trim:o,normalizer:l}=r===void 0?{}:r;wt(e);let i=n?gt:jr,u=Qt({collapseWhitespace:a,trim:o,normalizer:l});return Array.from(e.querySelectorAll("input,textarea,select")).filter(c=>c.tagName==="SELECT"?Array.from(c.options).filter(s=>s.selected).some(s=>i(Rn(s),s,t,u)):i(c.value,c,t,u))},Ux=(e,t)=>"Found multiple elements with the display value: "+t+".",Vx=(e,t)=>"Unable to find an element with the display value: "+t+".",ab=ke(Ll,Ll.name,"queryAll"),[ob,lb,ib,sb,ub]=Ct(Ll,Ux,Vx),zx=/^(img|input|area|.+-.+)$/i,Dl=function(e,t,r){return r===void 0&&(r={}),wt(e),Zt("alt",e,t,r).filter(n=>zx.test(n.tagName))},Gx=(e,t)=>"Found multiple elements with the alt text: "+t,Wx=(e,t)=>"Unable to find an element with the alt text: "+t,cb=ke(Dl,Dl.name,"queryAll"),[db,pb,fb,mb,hb]=Ct(Dl,Gx,Wx),Kx=e=>{var t;return e.tagName.toLowerCase()==="title"&&((t=e.parentElement)==null?void 0:t.tagName.toLowerCase())==="svg"},Fl=function(e,t,r){let{exact:n=!0,collapseWhitespace:a,trim:o,normalizer:l}=r===void 0?{}:r;wt(e);let i=n?gt:jr,u=Qt({collapseWhitespace:a,trim:o,normalizer:l});return Array.from(e.querySelectorAll("[title], svg > title")).filter(c=>i(c.getAttribute("title"),c,t,u)||Kx(c)&&i(Rn(c),c,t,u))},Yx=(e,t)=>"Found multiple elements with the title: "+t+".",Jx=(e,t)=>"Unable to find an element with the title: "+t+".",bb=ke(Fl,Fl.name,"queryAll"),[yb,gb,vb,_b,Rb]=Ct(Fl,Yx,Jx),Hl=function(e,t,r){let{hidden:n=X().defaultHidden,name:a,description:o,queryFallbacks:l=!1,selected:i,busy:u,checked:c,pressed:s,current:d,level:f,expanded:p,value:{now:m,min:b,max:h,text:y}={}}=r===void 0?{}:r;if(wt(e),i!==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(f!==void 0&&t!=="heading")throw new Error('Role "'+t+'" cannot have "level" property.');if(m!==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,jh(A)),B.get(A)}return Array.from(e.querySelectorAll(Xx(t))).filter(A=>{if(A.hasAttribute("role")){let k=A.getAttribute("role");if(l)return k.split(" ").filter(Boolean).some(W=>W===t);let[U]=k.split(" ");return U===t}return Rs(A).some(k=>k===t)}).filter(A=>{if(i!==void 0)return i===wx(A);if(u!==void 0)return u===Cx(A);if(c!==void 0)return c===qx(A);if(s!==void 0)return s===Ex(A);if(d!==void 0)return d===Px(A);if(p!==void 0)return p===Ox(A);if(f!==void 0)return f===Tx(A);if(m!==void 0||h!==void 0||b!==void 0||y!==void 0){let U=!0;if(m!==void 0&&U&&(U=m===Sx(A)),h!==void 0&&U&&(U=h===Ax(A)),b!==void 0&&U&&(U=b===Mx(A)),y!==void 0){var k;U&&(U=gt((k=xx(A))!=null?k:null,A,y,W=>W))}return U}return!0}).filter(A=>a===void 0?!0:gt(bs(A,{computedStyleSupportsPseudoElements:X().computedStyleSupportsPseudoElements}),A,a,k=>k)).filter(A=>o===void 0?!0:gt(gh(A,{computedStyleSupportsPseudoElements:X().computedStyleSupportsPseudoElements}),A,o,k=>k)).filter(A=>n===!1?Ba(A,{isSubtreeInaccessible:I})===!1:!0)};function Xx(e){var t;let r='*[role~="'+e+'"]',n=(t=Ue.roleElements.get(e))!=null?t:new Set,a=new Set(Array.from(n).map(o=>{let{name:l}=o;return l}));return[r].concat(Array.from(a)).join(",")}var wb=e=>{let t="";return e===void 0?t="":typeof e=="string"?t=' and name "'+e+'"':t=" and name `"+e+"`",t},Qx=function(e,t,r){let{name:n}=r===void 0?{}:r;return'Found multiple elements with the role "'+t+'"'+wb(n)},Zx=function(e,t,r){let{hidden:n=X().defaultHidden,name:a,description:o}=r===void 0?{}:r;if(X()._disableExpensiveErrorDiagnostics)return'Unable to find role="'+t+'"'+wb(a);let l="";Array.from(e.children).forEach(s=>{l+=$h(s,{hidden:n,includeDescription:o!==void 0})});let i;l.length===0?n===!1?i="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":i="There are no available roles.":i=(` +Here are the `+(n===!1?"accessible":"available")+` roles: + + `+l.replace(/\n/g,` + `).replace(/\n\s\s\n/g,` + +`)+` +`).trim();let u="";a===void 0?u="":typeof a=="string"?u=' and name "'+a+'"':u=" and name `"+a+"`";let c="";return o===void 0?c="":typeof o=="string"?c=' and description "'+o+'"':c=" and description `"+o+"`",(` +Unable to find an `+(n===!1?"accessible ":"")+'element with the role "'+t+'"'+u+c+` + +`+i).trim()},Cb=ke(Hl,Hl.name,"queryAll"),[qb,Eb,Pb,Ob,Tb]=Ct(Hl,Qx,Zx),qs=()=>X().testIdAttribute,Ul=function(){for(var e=arguments.length,t=new Array(e),r=0;r"Found multiple elements by: ["+qs()+'="'+t+'"]',tj=(e,t)=>"Unable to find an element by: ["+qs()+'="'+t+'"]',Sb=ke(Ul,Ul.name,"queryAll"),[Ab,Mb,xb,jb,Nb]=Ct(Ul,ej,tj),na=Object.freeze({__proto__:null,queryAllByLabelText:zh,queryByLabelText:Lh,getAllByLabelText:Uh,getByLabelText:Vh,findAllByLabelText:Fh,findByLabelText:Hh,queryByPlaceholderText:Wh,queryAllByPlaceholderText:Gh,getByPlaceholderText:Yh,getAllByPlaceholderText:Kh,findAllByPlaceholderText:Jh,findByPlaceholderText:Xh,queryByText:Zh,queryAllByText:Qh,getByText:tb,getAllByText:eb,findAllByText:rb,findByText:nb,queryByDisplayValue:ob,queryAllByDisplayValue:ab,getByDisplayValue:ib,getAllByDisplayValue:lb,findAllByDisplayValue:sb,findByDisplayValue:ub,queryByAltText:db,queryAllByAltText:cb,getByAltText:fb,getAllByAltText:pb,findAllByAltText:mb,findByAltText:hb,queryByTitle:yb,queryAllByTitle:bb,getByTitle:vb,getAllByTitle:gb,findAllByTitle:_b,findByTitle:Rb,queryByRole:qb,queryAllByRole:Cb,getAllByRole:Eb,getByRole:Pb,findAllByRole:Ob,findByRole:Tb,queryByTestId:Ab,queryAllByTestId:Sb,getByTestId:xb,getAllByTestId:Mb,findAllByTestId:jb,findByTestId:Nb});function Vl(e,t,r){return t===void 0&&(t=na),r===void 0&&(r={}),Object.keys(t).reduce((n,a)=>{let o=t[a];return n[a]=o.bind(null,e),n},r)}var $b=e=>!e||Array.isArray(e)&&!e.length;function Qc(e){if($b(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 rj(e,t){let r=new Error("Timed out in waitForElementToBeRemoved.");if(typeof e!="function"){Qc(e);let n=(Array.isArray(e)?e:[e]).map(a=>{let o=a.parentElement;if(o===null)return()=>null;for(;o.parentElement;)o=o.parentElement;return()=>o.contains(a)?a:null});e=()=>n.map(a=>a()).filter(Boolean)}return Qc(e()),ws(()=>{let n;try{n=e()}catch(a){if(a.name==="TestingLibraryElementError")return;throw a}if(!$b(n))throw r},t)}var Zc={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}}},ed={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:a="Event",defaultInit:o={}}=n===void 0?{}:n;if(!t)throw new Error('Unable to fire a "'+e+'" event - please provide a DOM element.');let l={...o,...r},{target:{value:i,files:u,...c}={}}=l;i!==void 0&&nj(t,i),u!==void 0&&Object.defineProperty(t,"files",{configurable:!0,enumerable:!0,writable:!0,value:u}),Object.assign(t,c);let s=Oh(t),d=s[a]||s.Event,f;if(typeof d=="function")f=new d(e,l);else{f=s.document.createEvent(a);let{bubbles:p,cancelable:m,detail:b,...h}=l;f.initEvent(e,p,m,b),Object.keys(h).forEach(y=>{f[y]=h[y]})}return["dataTransfer","clipboardData"].forEach(p=>{let m=l[p];typeof m=="object"&&(typeof s.DataTransfer=="function"?Object.defineProperty(f,p,{value:Object.getOwnPropertyNames(m).reduce((b,h)=>(Object.defineProperty(b,h,{value:m[h]}),b),new s.DataTransfer)}):Object.defineProperty(f,p,{value:m}))}),f}Object.keys(Zc).forEach(e=>{let{EventType:t,defaultInit:r}=Zc[e],n=e.toLowerCase();Ln[e]=(a,o)=>Ln(n,a,o,{EventType:t,defaultInit:r}),sn[e]=(a,o)=>sn(a,Ln[e](a,o))});function nj(e,t){let{set:r}=Object.getOwnPropertyDescriptor(e,"value")||{},n=Object.getPrototypeOf(e),{set:a}=Object.getOwnPropertyDescriptor(n,"value")||{};if(a&&r!==a)a.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(ed).forEach(e=>{let t=ed[e];sn[e]=function(){return sn[t](...arguments)}});function aj(e){return e.replace(/[ \t]*[\n][ \t]*/g,` +`)}function oj(e){return YM.default.compressToEncodedURIComponent(aj(e))}function lj(e){return"https://testing-playground.com/#markup="+oj(e)}var ij=(e,t,r)=>Array.isArray(e)?e.forEach(n=>$l(n,t,r)):$l(e,t,r),sj=function(e){if(e===void 0&&(e=vs().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=lj(e.innerHTML);return console.log(`Open this URL in your browser + +`+t),t},td={debug:ij,logTestingPlaygroundURL:sj},uj=typeof document<"u"&&document.body?Vl(document.body,na,td):Object.keys(na).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),td);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,a])=>e[n]===a):!0}var zl;(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"})(zl||(zl={}));function Ib(e){return Y(e,"button")||Y(e,"input")&&e.type in zl}function lt(e){var t;if(cj(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 ${dj(e)}`)}function cj(e){return e.nodeType===9}function dj(e){return typeof e=="function"?`function ${e.name}`:e===null?"null":String(e)}function Bb(e,t){return new Promise((r,n)=>{let a=new t;a.onerror=n,a.onabort=n,a.onload=()=>{r(String(a.result))},a.readAsText(e)})}function Es(e,t){let r={...t,length:t.length,item:n=>r[n],[Symbol.iterator]:function*(){for(let n=0;nt?o.type===(a?r:e):a?o.type.startsWith(`${r}/`):o.type===r}function fj(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)),a="";return n==null||n.getAsString(o=>{a=o}),a}setData(t,r){let n=this.items.findIndex(Tn(t,!0)),a=new kb(r,t);n>=0?this.items.splice(n,1,a):this.items.push(a)}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 pj),Mt(this,"files",Es(e,[]))}}}function Ps(e,t=[]){let r=typeof e.DataTransfer>"u"?fj(e):new e.DataTransfer;return Object.defineProperty(r,"files",{get:()=>Es(e,t)}),r}function mj(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 Lb(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Db(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 a=await this.data[n];if(!a)throw new Error(`${n} is not one of the available MIME types on this item.`);return a instanceof e.Blob?a:new e.Blob([a],{type:n})}constructor(n){Lb(this,"data",void 0),this.data=n}}(r)}var Er=Symbol("Manage ClipboardSub");function rd(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 a=n.types.includes("text/plain")?"text/plain":n.types.find(o=>o.startsWith("text/"));a&&(r+=await n.getType(a).then(o=>Bb(o,e.FileReader)))}return r}async write(r){this.items=r}async writeText(r){this.items=[Db(e,r)]}constructor(...r){super(...r),Lb(this,"items",[])}},{[Er]:t})}function Os(e){return!!(e!=null&&e[Er])}function hj(e){if(Os(e.navigator.clipboard))return e.navigator.clipboard[Er];let t=Object.getOwnPropertyDescriptor(e.navigator,"clipboard"),r,n={resetClipboardStub:()=>{r=rd(e,n)},detachClipboardStub:()=>{t?Object.defineProperty(e.navigator,"clipboard",t):Object.defineProperty(e.navigator,"clipboard",{value:void 0,configurable:!0})}};return r=rd(e,n),Object.defineProperty(e.navigator,"clipboard",{get:()=>r,configurable:!0}),r[Er]}function bj(e){Os(e.navigator.clipboard)&&e.navigator.clipboard[Er].resetClipboardStub()}function yj(e){Os(e.navigator.clipboard)&&e.navigator.clipboard[Er].detachClipboardStub()}async function gj(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 a=Ps(t);for(let o of n)for(let l of o.types)a.setData(l,await o.getType(l).then(i=>Bb(i,t.FileReader)));return a}async function Fb(e,t){let r=lt(e),n=r.navigator.clipboard,a=[];for(let o=0;o!0,()=>!1)))throw new Error("The Clipboard API is unavailable.")}var aa=globalThis;typeof aa.afterEach=="function"&&aa.afterEach(()=>bj(globalThis.window));typeof aa.afterAll=="function"&&aa.afterAll(()=>yj(globalThis.window));function Kt(e){return e.hasAttribute("contenteditable")&&(e.getAttribute("contenteditable")=="true"||e.getAttribute("contenteditable")=="")}function un(e){let t=vj(e);return t&&(t.closest('[contenteditable=""]')||t.closest('[contenteditable="true"]'))}function vj(e){return e.nodeType===1?e:e.parentElement}function Pr(e){return Hb(e)&&!e.readOnly||Kt(e)}var Gl;(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"})(Gl||(Gl={}));function Hb(e){return Y(e,"textarea")||Y(e,"input")&&e.type in Gl}var Wl;(function(e){e.email="email",e.password="password",e.search="search",e.telephone="telephone",e.text="text",e.url="url"})(Wl||(Wl={}));function _j(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 Rj(e){return Y(e,"textarea")||Y(e,"input")&&e.type in Wl}var Ub=["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 Ts(e){return e.matches(Ub)}var oa;(function(e){e["{"]="}",e["["]="]"})(oa||(oa={}));function Vb(e,t){let r=0,n=e[r]in oa?e[r]:"";r+=n.length;let a=new RegExp(`^\\${n}{2}`).test(e)?"":n;return{type:a,...a===""?wj(e,r,t):Cj(e,r,a,t)}}function wj(e,t,r){let n=e[t];return zb(n,e,t,r),t+=n.length,{consumedLength:t,descriptor:n,releasePrevious:!1,releaseSelf:!0,repeat:1}}function Cj(e,t,r,n){var a,o;let l=e[t]==="/"?"/":"";t+=l.length;let i=r==="{"&&e[t]==="\\";t+=Number(i);let u=i?e[t]:(a=e.slice(t).match(r==="{"?/^\w+|^[^}>/]/:/^\w+/))===null||a===void 0?void 0:a[0];zb(u,e,t,n),t+=u.length;var c;let s=(c=(o=e.slice(t).match(/^>\d+/))===null||o===void 0?void 0:o[0])!==null&&c!==void 0?c:"";t+=s.length;let d=e[t]==="/"||!s&&e[t]===">"?e[t]:"";t+=d.length;let f=oa[r],p=e[t]===f?f:"";if(!p)throw new Error(Gb([!s&&"repeat modifier",!d&&"release modifier",`"${f}"`].filter(Boolean).join(" or "),e[t],e,n));return t+=p.length,{consumedLength:t,descriptor:u,releasePrevious:!!l,repeat:s?Math.max(Number(s.substr(1)),1):1,releaseSelf:qj(d,s)}}function zb(e,t,r,n){if(!e)throw new Error(Gb("key descriptor",t[r],t,n))}function qj(e,t){if(e)return e==="/";if(t)return!1}function Gb(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 Ej(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 mr;(function(e){e[e.EachTrigger=4]="EachTrigger",e[e.EachApiCall=2]="EachApiCall",e[e.EachTarget=1]="EachTarget",e[e.Never=0]="Never"})(mr||(mr={}));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 Da(e){let t=e.activeElement;return t!=null&&t.shadowRoot?Da(t.shadowRoot):vt(t)?e.ownerDocument?e.ownerDocument.body:e.body:t}function Uo(e){var t;return(t=Da(e))!==null&&t!==void 0?t:e.body}function Pj(e,t){let r=e;do{if(t(r))return r;r=r.parentElement}while(r&&r!==e.ownerDocument.body)}function it(e){return Wb(e)&&Hb(e)}function Oj(e){return Wb(e)&&Ib(e)}function Wb(e){return e.nodeType===1}function Tj(e){let t=e.ownerDocument.getSelection();if(t!=null&&t.focusNode&&it(e)){let n=un(t.focusNode);if(n){if(!t.isCollapsed){var r;let a=((r=n.firstChild)===null||r===void 0?void 0:r.nodeType)===3?n.firstChild:n;t.setBaseAndExtent(a,0,a,0)}}else t.setBaseAndExtent(e,0,e,0)}}function Or(e,t){return X().eventWrapper(e)}function $t(e){let t=Pj(e,Ts),r=Da(e.ownerDocument);(t??e.ownerDocument.body)!==r&&(Or(t?()=>t.focus():()=>r==null?void 0:r.blur()),Tj(t??e.ownerDocument.body))}function Sj(e){!Ts(e)||Da(e.ownerDocument)!==e||Or(()=>e.blur())}var It={};It.click=(e,t,r)=>{let n=t.closest("button,input,label,select,textarea"),a=n&&Y(n,"label")&&n.control;if(a)return()=>{Ts(a)&&$t(a),r.dispatchEvent(a,Ej(e))};if(Y(t,"input",{type:"file"}))return()=>{Sj(t),t.dispatchEvent(new(lt(t)).Event("fileDialog")),$t(t)}};var Tr=Symbol("Displayed value in UI"),yt=Symbol("Displayed selection in UI"),la=Symbol("Initial value to compare on blur");function Aj(e){return typeof e=="object"&&Tr in e}function Mj(e){return!!e&&typeof e=="object"&&yt in e}function xj(e,t){e[la]===void 0&&(e[la]=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 Ss(e){e[Tr]=void 0}function Kb(e){e[la]=void 0}function jj(e){return e[la]}function Nj(e,t){e[yt]=t}function Nr(e,{focusOffset:t,anchorOffset:r=t},n="replace"){let a=st(e).length,o=d=>Math.max(0,Math.min(a,d)),l=n==="replace"||e[yt]===void 0?o(r):e[yt].anchorOffset,i=o(t),u=Math.min(l,i),c=Math.max(l,i);if(e[yt]={anchorOffset:l,focusOffset:i},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 a=(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{...a,startOffset:Math.min(a.anchorOffset,a.focusOffset),endOffset:Math.max(a.anchorOffset,a.focusOffset)}}function $j(e){return!!e[yt]}function Dn(e){e[yt]=void 0}var ia=globalThis.parseInt;function Ij(e){let t=e.replace(/\D/g,"");if(t.length<2)return e;let r=ia(t[0],10),n=ia(t[1],10);if(r>=3||r===2&&n>=4){let a;return r>=3?a=1:a=2,nd(t,a)}return e.length===2?e:nd(t,2)}function nd(e,t){let r=e.slice(0,t),n=Math.min(ia(r,10),23),a=e.slice(t),o=ia(a,10),l=Math.min(o,59);return`${n.toString().padStart(2,"0")}:${l.toString().padStart(2,"0")}`}function Yb(e,t){let r=e.cloneNode();return r.value=t,r.value===t}function Jb(e,t,r,n){if(Fn(e)&&t+r>=0&&t+r<=e.nodeValue.length)return{node:e,offset:t+r};let a=ad(e,t,r);if(a){if(Fn(a))return{node:a,offset:r>0?Math.min(1,a.nodeValue.length):Math.max(a.nodeValue.length-1,0)};if(Y(a,"br")){let o=ad(a,void 0,r);return o?Fn(o)?{node:o,offset:r>0?0:o.nodeValue.length}:r<0&&Y(o,"br")?{node:a.parentNode,offset:An(a)}:{node:o.parentNode,offset:An(o)+(r>0?0:1)}:r<0&&n==="deleteContentBackward"?{node:a.parentNode,offset:An(a)}:void 0}else return{node:a.parentNode,offset:An(a)+(r>0?1:0)}}}function ad(e,t,r){let n=Number(t)+(r<0?-1:0);return t!==void 0&&As(e)&&n>=0&&nt.startsWith("__react"))&<(e).REACT_VERSION===17}function Fj(e){Dj(e)&&(e[dn]={previousValue:String(e.value),tracked:[]})}function Hj(e,t){var r,n;(n=e[dn])===null||n===void 0||(r=n.tracked)===null||r===void 0||r.push(t),e[dn]||(Ss(e),Nr(e,{focusOffset:t.length}))}function Uj(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 a=n.tracked.length===2&&n.tracked[0]===n.previousValue&&n.tracked[1]===e.value;a||Ss(e),$j(e)&&Nr(e,{focusOffset:a?t:e.value.length})}function Xb(e){let t=Vj(e);if(t&&it(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 Vj(e){return e.nodeType===1?e:e.parentElement}function zj(e){let t=Xb(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 a,o;if(Xb(e).type==="input")return Nr(e,{anchorOffset:n,focusOffset:t});(o=r.ownerDocument)===null||o===void 0||(a=o.getSelection())===null||a===void 0||a.setBaseAndExtent(r,n,e,t)}function Qb(e){return Y(e,"input")&&["date","time"].includes(e.type)}function Sr(e,t,r,n="insertText"){let a=zj(t);a&&(!Qb(t)&&!e.dispatchUIEvent(t,"beforeinput",{inputType:n,data:r})||("startContainer"in a?Gj(e,t,a,r,n):Wj(e,t,a,r,n)))}function Gj(e,t,r,n,a){let o=!1;if(!r.collapsed)o=!0,r.deleteContents();else if(["deleteContentBackward","deleteContentForward"].includes(a)){let l=Jb(r.startContainer,r.startOffset,a==="deleteContentBackward"?-1:1,a);if(l){o=!0;let i=r.cloneRange();i.comparePoint(l.node,l.offset)<0?i.setStart(l.node,l.offset):i.setEnd(l.node,l.offset),i.deleteContents()}}if(n)if(r.endContainer.nodeType===3){let l=r.endOffset;r.endContainer.insertData(l,n),r.setStart(r.endContainer,l+n.length),r.setEnd(r.endContainer,l+n.length)}else{let l=t.ownerDocument.createTextNode(n);r.insertNode(l),r.setStart(l,n.length),r.setEnd(l,n.length)}(o||n)&&e.dispatchUIEvent(t,"input",{inputType:a})}function Wj(e,t,r,n,a){let o=n;if(Rj(t)){let c=_j(t);if(c!==void 0&&n.length>0){let s=c-t.value.length;if(s>0)o=n.substring(0,s);else return}}let{newValue:l,newOffset:i,oldValue:u}=Kj(o,t,r,a);l===u&&i===r.startOffset&&i===r.endOffset||Y(t,"input",{type:"number"})&&!Yj(l)||(xj(t,l),Yt({focusNode:t,anchorOffset:i,focusOffset:i}),Qb(t)?Yb(t,l)&&(od(e,t,i,{}),e.dispatchUIEvent(t,"change"),Kb(t)):od(e,t,i,{data:n,inputType:a}))}function Kj(e,t,{startOffset:r,endOffset:n},a){let o=st(t),l=Math.max(0,r===n&&a==="deleteContentBackward"?r-1:r),i=o.substring(0,l),u=Math.min(o.length,r===n&&a==="deleteContentForward"?r+1:n),c=o.substring(u,o.length),s=`${i}${e}${c}`,d=l+e.length;if(Y(t,"input",{type:"time"})){let f=Ij(s);f!==""&&Yb(t,f)&&(s=f,d=f.length)}return{oldValue:o,newValue:s,newOffset:d}}function od(e,t,r,n){e.dispatchUIEvent(t,"input",n),Uj(t,r)}function Yj(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 Jj(e){return e?Kt(e)?e.textContent:st(e):null}function Xj(e){let t=lt(e);for(let r=e;r!=null&&r.ownerDocument;r=r.parentElement){let{display:n,visibility:a}=t.getComputedStyle(r);if(n==="none"||a==="hidden")return!1}return!0}function Qj(e,t){let r=e.ownerDocument,n=r.querySelectorAll(Ub),a=Array.from(n).filter(u=>u===e||!(Number(u.getAttribute("tabindex"))<0||vt(u)));Number(e.getAttribute("tabindex"))>=0&&a.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 o={},l=[r.body],i=Y(e,"input",{type:"radio"})?e.name:void 0;a.forEach(u=>{let c=u;if(Y(c,"input",{type:"radio"})&&c.name){if(c===e){l.push(c);return}else if(c.name===i)return;if(c.checked){l=l.filter(s=>!Y(s,"input",{type:"radio",name:c.name})),l.push(c),o[c.name]=c;return}if(typeof o[c.name]<"u")return}l.push(c)});for(let u=l.findIndex(c=>c===e);;)if(u+=t?-1:1,u===l.length?u=0:u===-1&&(u=l.length-1),l[u]===e||l[u]===r.body||Xj(l[u]))return l[u]}function ld(e,t){if(it(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=Jb(r.focusNode,r.focusOffset,t);n&&Yt({focusNode:n.node,focusOffset:n.offset})}else r[t<0?"collapseToStart":"collapseToEnd"]()}}function Zb(e){if(it(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 Zj(e){if(it(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(it(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=lt(t),a=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 o=a.findIndex(l=>l===t)+r;;o+=r){if(a[o]||(o=r>0?0:a.length-1),a[o]===t)return;vt(a[o])||($t(a[o]),e.dispatchUIEvent(a[o],"click"))}}It.keydown=(e,t,r)=>{var n,a;return(a=(n=id[e.key])===null||n===void 0?void 0:n.call(id,e,t,r))!==null&&a!==void 0?a:eN(e,t,r)};var id={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):()=>ld(t,-1),ArrowRight:(e,t,r)=>Y(t,"input",{type:"radio"})?()=>Mn(r,t,1):()=>ld(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 a=(n=(r=Jj(t))===null||r===void 0?void 0:r.length)!==null&&n!==void 0?n:0;Dr(t,a,a)}},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=Qj(t,r.system.keyboard.modifiers.Shift);$t(n),it(n)&&Nr(n,{anchorOffset:0,focusOffset:n.value.length})}},eN=(e,t,r)=>{if(e.code==="KeyA"&&r.system.keyboard.modifiers.Control)return()=>Zb(t)};It.keypress=(e,t,r)=>{if(e.key==="Enter"){if(Y(t,"button")||Y(t,"input")&&tN.includes(t.type)||Y(t,"a")&&t.href)return()=>{r.dispatchUIEvent(t,"click")};if(Y(t,"input")){let n=t.form,a=n==null?void 0:n.querySelector('input[type="submit"], button:not([type]), button[type="submit"]');return a?()=>r.dispatchUIEvent(a,"click"):n&&rN.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",a=e.key==="Enter"?` +`:e.key;return()=>Sr(r,t,a,n)}};var tN=["button","color","file","image","reset","submit"],rN=["email","month","password","search","tel","text","url","week"];It.keyup=(e,t,r)=>{var n;return(n=sd[e.key])===null||n===void 0?void 0:n.call(sd,e,t,r)};var sd={" ":(e,t,r)=>{if(Ib(t))return()=>r.dispatchUIEvent(t,"click")}};It.paste=(e,t,r)=>{if(Pr(t))return()=>{var n;let a=(n=e.clipboardData)===null||n===void 0?void 0:n.getData("text");a&&Sr(r,t,a,"insertFromPaste")}};var ey={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 ty(e){return ey[e].EventType}var nN=["MouseEvent","PointerEvent"];function aN(e){return nN.includes(ty(e))}function oN(e){return ty(e)==="KeyboardEvent"}var lN={ClipboardEvent:[sN],Event:[],InputEvent:[xn,uN],MouseEvent:[xn,Vo,ud],PointerEvent:[xn,Vo,ud,dN],KeyboardEvent:[xn,Vo,cN]};function ry(e,t,r){let n=lt(t),{EventType:a,defaultInit:o}=ey[e],l=new(iN(n))[a](e,o);return lN[a].forEach(i=>i(l,r??{})),l}function iN(e){var t;let r=(t=e.Event)!==null&&t!==void 0?t:class{};var n;let a=(n=e.AnimationEvent)!==null&&n!==void 0?n:class extends r{};var o;let l=(o=e.ClipboardEvent)!==null&&o!==void 0?o:class extends r{};var i;let u=(i=e.PopStateEvent)!==null&&i!==void 0?i:class extends r{};var c;let s=(c=e.ProgressEvent)!==null&&c!==void 0?c:class extends r{};var d;let f=(d=e.TransitionEvent)!==null&&d!==void 0?d:class extends r{};var p;let m=(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 m{};var y;let g=(y=e.FocusEvent)!==null&&y!==void 0?y:class extends m{};var E;let C=(E=e.InputEvent)!==null&&E!==void 0?E:class extends m{};var q;let _=(q=e.KeyboardEvent)!==null&&q!==void 0?q:class extends m{};var v;let w=(v=e.MouseEvent)!==null&&v!==void 0?v:class extends m{};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 m{};return{Event:r,AnimationEvent:a,ClipboardEvent:l,PopStateEvent:u,ProgressEvent:s,TransitionEvent:f,UIEvent:m,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 sN(e,{clipboardData:t}){er(e,{clipboardData:t})}function uN(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 Vo(e,{altKey:t,ctrlKey:r,metaKey:n,shiftKey:a,modifierAltGraph:o,modifierCapsLock:l,modifierFn:i,modifierFnLock:u,modifierNumLock:c,modifierScrollLock:s,modifierSymbol:d,modifierSymbolLock:f}){er(e,{altKey:!!t,ctrlKey:!!r,metaKey:!!n,shiftKey:!!a,getModifierState(p){return!!{Alt:t,AltGraph:o,CapsLock:l,Control:r,Fn:i,FnLock:u,Meta:n,NumLock:c,ScrollLock:s,Shift:a,Symbol:d,SymbolLock:f}[p]}})}function cN(e,{key:t,code:r,location:n,repeat:a,isComposing:o,charCode:l}){er(e,{key:String(t),code:String(r),location:Ce(n),repeat:!!a,isComposing:!!o,charCode:l})}function ud(e,{x:t,y:r,screenX:n,screenY:a,clientX:o=t,clientY:l=r,button:i,buttons:u,relatedTarget:c}){er(e,{screenX:Ce(n),screenY:Ce(a),clientX:Ce(o),x:Ce(o),clientY:Ce(l),y:Ce(l),button:Ce(i),buttons:Ce(u),relatedTarget:c})}function dN(e,{pointerId:t,width:r,height:n,pressure:a,tangentialPressure:o,tiltX:l,tiltY:i,twist:u,pointerType:c,isPrimary:s}){er(e,{pointerId:Ce(t),width:Ce(r),height:Ce(n),pressure:Ce(a),tangentialPressure:Ce(o),tiltX:Ce(l),tiltY:Ce(i),twist:Ce(u),pointerType:String(c),isPrimary:!!s})}function pN(e,t,r,n=!1){(aN(t)||oN(t))&&(r={...r,...this.system.getUIEventModifiers()});let a=ry(t,e,r);return ny.call(this,e,a,n)}function ny(e,t,r=!1){var n;let a=t.type,o=r?()=>{}:(n=It[a])===null||n===void 0?void 0:n.call(It,t,e,this);if(o){t.preventDefault();let l=!1;return Object.defineProperty(t,"defaultPrevented",{get:()=>l}),Object.defineProperty(t,"preventDefault",{value:()=>{l=t.cancelable}}),Or(()=>e.dispatchEvent(t)),l||o(),!l}return Or(()=>e.dispatchEvent(t))}function fN(e,t,r){let n=ry(t,e,r);Or(()=>e.dispatchEvent(n))}var zo=Symbol("Interceptor for programmatical calls");function dr(e,t,r){let n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),a=Object.getOwnPropertyDescriptor(e,t),o=n!=null&&n.set?"set":"value";if(typeof(n==null?void 0:n[o])!="function"||n[o][zo])throw new Error(`Element ${e.tagName} does not implement "${String(t)}".`);function l(...i){let{applyNative:u=!1,realArgs:c,then:s}=r.call(this,...i),d=(!u&&a||n)[o];o==="set"?d.call(this,c):d.call(this,...c),s==null||s()}l[zo]=zo,Object.defineProperty(e,t,{...a??n,[o]:l})}function mN(e){dr(e,"value",function(t){let r=Aj(t);return r&&Fj(this),{applyNative:!!r,realArgs:hN(this,t),then:r?void 0:()=>Hj(this,String(t))}})}function hN(e,t){return Y(e,"input",{type:"number"})&&String(t)!==""&&!Number.isNaN(Number(t))?String(Number(t)):String(t)}function bN(e){dr(e,"setSelectionRange",function(t,...r){let n=Mj(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:()=>Nj(e,{anchorOffset:0,focusOffset:st(e).length})}})}function yN(e){dr(e,"setRangeText",function(...t){return{realArgs:t,then:()=>{Ss(e),Dn(e)}}})}var hr=Symbol("Node prepared with document state workarounds");function ay(e){e[hr]||(e.addEventListener("focus",t=>{let r=t.target;cd(r)},{capture:!0,passive:!0}),e.activeElement&&cd(e.activeElement),e.addEventListener("blur",t=>{let r=t.target,n=jj(r);n!==void 0&&(r.value!==n&&fN(r,"change"),Kb(r))},{capture:!0,passive:!0}),e[hr]=hr)}function cd(e){e[hr]||(Y(e,["input","textarea"])&&(mN(e),bN(e),yN(e)),e[hr]=hr)}function gN(e){return vN(e)?e:e.ownerDocument}function vN(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 _N=["Alt","AltGraph","Control","Fn","Meta","Shift","Symbol"];function dd(e){return _N.includes(e)}var RN=["CapsLock","FnLock","NumLock","ScrollLock","SymbolLock"];function pd(e){return RN.includes(e)}var wN=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,a;let o=String(t.key),l=String(t.code),i=Uo(e.config.document);this.setKeydownTarget(i);var u;(u=(r=this.pressed)[n=l])!==null&&u!==void 0||(r[n]={keyDef:t,unpreventedDefault:!1}),dd(o)&&(this.modifiers[o]=!0);let c=e.dispatchUIEvent(i,"keydown",{key:o,code:l});pd(o)&&!this.modifiers[o]&&(this.modifiers[o]=!0,this.modifierLockStart[o]=!0),(a=this.pressed[l]).unpreventedDefault||(a.unpreventedDefault=c),c&&this.hasKeyPress(o)&&e.dispatchUIEvent(Uo(e.config.document),"keypress",{key:o,code:l,charCode:t.key==="Enter"?13:String(t.key).charCodeAt(0)})}async keyup(e,t){let r=String(t.key),n=String(t.code),a=this.pressed[n].unpreventedDefault;delete this.pressed[n],dd(r)&&!Object.values(this.pressed).find(o=>o.keyDef.key===r)&&(this.modifiers[r]=!1),e.dispatchUIEvent(Uo(e.config.document),"keyup",{key:r,code:n},!a),pd(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}},CN=[..."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"}],qN=[{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 EN(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var oy=class{getButtons(){let e=0;for(let t of Object.keys(this.pressed))e|=2**Number(t);return e}down(e){let t=Kl(e.button);if(t in this.pressed){this.pressed[t].push(e);return}return this.pressed[t]=[e],t}up(e){let t=Kl(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(){EN(this,"pressed",{})}},fd={primary:0,secondary:1,auxiliary:2,back:3,X1:3,forward:4,X2:4};function Kl(e=0){return e in fd?fd[e]:Number(e)}var md={1:2,2:1};function hd(e){return e=Kl(e),e in md?md[e]:e}function PN(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var ON=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(){PN(this,"pressedKeys",new Set)}};function zr(e,t){let r=[];for(let o=e;o;o=o.parentElement)r.push(o);let n=[];for(let o=t;o;o=o.parentElement)n.push(o);let a=0;for(;!(a>=r.length||a>=n.length||r[r.length-1-a]!==n[n.length-1-a]);a++);return[r.slice(0,r.length-a),n.slice(0,n.length-a),n.slice(n.length-a)]}function Yl({target:e,node:t,offset:r}){return it(e)?{node:e,offset:r??st(e).length}:t?{node:t,offset:r??(t.nodeType===3?t.nodeValue.length:t.childNodes.length)}:ly(e,r)}function ly(e,t,r=!0){let n=t===void 0?e.childNodes.length-1:0,a=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 o=e.childNodes.item(n),l=String(o.textContent);if(l.length)if(t!==void 0&&l.lengthe.end||o.offset0&&l.setEnd(o.node,o.offset);let u=t.getSelection();u==null||u.removeAllRanges(),u==null||u.addRange(l.cloneRange())}}function iy(e,t){var r,n,a,o,l,i,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)||((a=e.coords)===null||a===void 0?void 0:a.y)!==((o=t.coords)===null||o===void 0?void 0:o.y)||((l=e.caret)===null||l===void 0?void 0:l.node)!==((i=t.caret)===null||i===void 0?void 0:i.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 MN=class{move(e,t){let r=this.position,n=this.getTarget(e);if(this.position=t,!iy(r,t))return;let a=this.getTarget(e),o=this.getEventInit("mousemove"),[l,i]=zr(n,a);return{leave:()=>{n!==a&&(e.dispatchUIEvent(n,"mouseout",o),l.forEach(u=>e.dispatchUIEvent(u,"mouseleave",o)))},enter:()=>{n!==a&&(e.dispatchUIEvent(a,"mouseover",o),i.forEach(u=>e.dispatchUIEvent(u,"mouseenter",o)))},move:()=>{e.dispatchUIEvent(a,"mousemove",o),this.modifySelecting(e)}}}down(e,t,r){let n=this.buttons.down(t);if(n===void 0)return;let a=this.getTarget(e);this.buttonDownTarget[n]=a;let o=vt(a),l=this.getEventInit("mousedown",t.button);(o||e.dispatchUIEvent(a,"mousedown",l))&&(this.startSelecting(e,l.detail),$t(a)),!o&&hd(t.button)===2&&e.dispatchUIEvent(a,"contextmenu",this.getEventInit("contextmenu",t.button,r))}up(e,t,r){let n=this.buttons.up(t);if(n===void 0)return;let a=this.getTarget(e);if(!vt(a)){e.dispatchUIEvent(a,"mouseup",this.getEventInit("mouseup",t.button)),this.endSelecting();let o=zr(this.buttonDownTarget[n],a)[2][0];if(o){let l=this.getEventInit("click",t.button,r);l.detail&&(e.dispatchUIEvent(o,l.button===0?"click":"auxclick",l),l.button===0&&l.detail===2&&e.dispatchUIEvent(o,"dblclick",{...this.getEventInit("dblclick",t.button),detail:l.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=hd(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=TN({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&&AN(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 oy),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 sa(e,t){var r;return((r=sy(e,t))===null||r===void 0?void 0:r.pointerEvents)!=="none"}function xN(e){let t=lt(e);for(let r=e,n=[];r!=null&&r.ownerDocument;r=r.parentElement){n.push(r);let a=t.getComputedStyle(r).pointerEvents;if(a&&!["inherit","unset"].includes(a))return{pointerEvents:a,tree:n}}}var bd=Symbol("Last check for pointer-events");function sy(e,t){let r=t[bd];if(!(e.config.pointerEventsCheck!==mr.Never&&(!r||yd(e.config.pointerEventsCheck,mr.EachApiCall)&&r[Ie.Call]!==Sn(e,Ie.Call)||yd(e.config.pointerEventsCheck,mr.EachTrigger)&&r[Ie.Trigger]!==Sn(e,Ie.Trigger))))return r==null?void 0:r.result;let n=xN(t);return t[bd]={[Ie.Call]:Sn(e,Ie.Call),[Ie.Trigger]:Sn(e,Ie.Trigger),result:n},n}function Fr(e,t){let r=sy(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\`:`,"",jN(r.tree)].join(` +`))}function jN(e){return e.reverse().map((t,r)=>["".padEnd(r),t.tagName,t.id&&`#${t.id}`,t.hasAttribute("data-testid")&&`(testId=${t.getAttribute("data-testid")})`,NN(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 NN(e){var t;let r;if(e.hasAttribute("aria-label"))r=e.getAttribute("aria-label");else if(e.hasAttribute("aria-labelledby")){var n,a;r=(a=e.ownerDocument.getElementById(e.getAttribute("aria-labelledby")))===null||a===void 0||(n=a.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(l=>{var i;return(i=l.textContent)===null||i===void 0?void 0:i.trim()}).join("|");else if(Y(e,"button")){var o;r=(o=e.textContent)===null||o===void 0?void 0:o.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 yd(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 gd=class{init(e,t){this.position=t;let r=this.getTarget(e),[,n]=zr(null,r),a=this.getEventInit();return Fr(e,r),e.dispatchUIEvent(r,"pointerover",a),n.forEach(o=>e.dispatchUIEvent(o,"pointerenter",a)),this}move(e,t){let r=this.position,n=this.getTarget(e);if(this.position=t,!iy(r,t))return;let a=this.getTarget(e),o=this.getEventInit(),[l,i]=zr(n,a);return{leave:()=>{sa(e,n)&&n!==a&&(e.dispatchUIEvent(n,"pointerout",o),l.forEach(u=>e.dispatchUIEvent(u,"pointerleave",o)))},enter:()=>{Fr(e,a),n!==a&&(e.dispatchUIEvent(a,"pointerover",o),i.forEach(u=>e.dispatchUIEvent(u,"pointerenter",o)))},move:()=>{e.dispatchUIEvent(a,"pointermove",o)}}}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();sa(e,t)&&(e.dispatchUIEvent(t,"pointerout",n),r.forEach(a=>e.dispatchUIEvent(a,"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 $N=class{isKeyPressed(e){return this.devices.get(e.pointerType).isPressed(e)}async press(e,t,r){let n=this.getPointerName(t),a=t.pointerType==="touch"?this.pointers.new(n,t).init(e,r):this.pointers.get(n);a.position=r,a.pointerType!=="touch"&&(this.mouse.position=r),this.devices.get(t.pointerType).addPressed(t),this.buttons.down(t),a.down(e,t),a.pointerType!=="touch"&&!a.isPrevented&&this.mouse.down(e,t,a)}async move(e,t,r){let n=this.pointers.get(t),a=n.move(e,r),o=n.pointerType==="touch"||n.isPrevented&&n.isDown?void 0:this.mouse.move(e,r);a==null||a.leave(),o==null||o.leave(),a==null||a.enter(),o==null||o.enter(),a==null||a.move(),o==null||o.move()}async release(e,t,r){let n=this.devices.get(t.pointerType);n.removePressed(t),this.buttons.up(t);let a=this.pointers.get(this.getPointerName(t));if(a.position=r,a.pointerType!=="touch"&&(this.mouse.position=r),n.countPressed===0&&a.up(e,t),a.pointerType==="touch"&&a.release(e),!a.isPrevented){if(a.pointerType==="touch"&&!a.isMultitouch){let o=this.mouse.move(e,a.position);o==null||o.leave(),o==null||o.enter(),o==null||o.move(),this.mouse.down(e,t,a)}if(!a.isMultitouch){let o=this.mouse.move(e,a.position);o==null||o.leave(),o==null||o.enter(),o==null||o.move(),this.mouse.up(e,t,a)}}}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,a;return(a=(r=this.registry)[n=t])!==null&&a!==void 0||(r[n]=new ON),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(a=>a.pointerType==="touch"&&!a.isCancelled);return n||Object.values(this.registry).forEach(a=>{a.pointerType===r.pointerType&&!a.isCancelled&&(a.isMultitouch=!0)}),this.registry[t]=new gd({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 gd({pointerId:1,pointerType:"mouse",isPrimary:!0})}),Ot(this,"nextId",2)}}),this.system=e,this.buttons=new oy,this.mouse=new MN}};function vd(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var uy=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(){vd(this,"keyboard",new wN(this)),vd(this,"pointer",new $N(this))}};async function IN(e){let t=[];return this.config.skipHover||t.push({target:e}),t.push({keys:"[MouseLeft]",target:e}),this.pointer(t)}async function BN(e){return this.pointer([{target:e},"[MouseLeft][MouseLeft]"])}async function kN(e){return this.pointer([{target:e},"[MouseLeft][MouseLeft][MouseLeft]"])}async function LN(e){return this.pointer({target:e})}async function DN(e){return Fr(this,this.system.pointer.getMouseTarget(this)),this.pointer({target:e.ownerDocument.body})}async function FN({shift:e}={}){return this.keyboard(e===!0?"{Shift>}{Tab}{/Shift}":e===!1?"[/ShiftLeft][/ShiftRight]{Tab}":"{Tab}")}function HN(e,t){let r=[];do{let{type:a,descriptor:o,consumedLength:l,releasePrevious:i,releaseSelf:u=!0,repeat:c}=Vb(t,"keyboard");var n;let s=(n=e.find(d=>{if(a==="["){var f;return((f=d.code)===null||f===void 0?void 0:f.toLowerCase())===o.toLowerCase()}else if(a==="{"){var p;return((p=d.key)===null||p===void 0?void 0:p.toLowerCase())===o.toLowerCase()}return d.key===o}))!==null&&n!==void 0?n:{key:"Unknown",code:"Unknown",[a==="["?"code":"key"]:o};r.push({keyDef:s,releasePrevious:i,releaseSelf:u,repeat:c}),t=t.slice(l)}while(t);return r}async function UN(e){let t=HN(this.config.keyboardMap,e);for(let r=0;r{throw new Error("`userEvent.paste()` without `clipboardData` requires the `ClipboardAPI` to be available.")});this.dispatchUIEvent(n,"paste",{clipboardData:o})}function JN(e,t){let r=Ps(lt(e));return r.setData("text",t),r}function _d(e,t){let r=[];do{let{descriptor:n,consumedLength:a,releasePrevious:o,releaseSelf:l=!0}=Vb(t,"pointer"),i=e.find(u=>u.name===n);i&&r.push({keyDef:i,releasePrevious:o,releaseSelf:l}),t=t.slice(a)}while(t);return r}async function XN(e){let{pointerMap:t}=this.config,r=[];(Array.isArray(e)?e:[e]).forEach(n=>{typeof n=="string"?r.push(..._d(t,n)):"keys"in n?r.push(..._d(t,n.keys).map(a=>({...n,...a}))):r.push(n)});for(let n=0;n{if(typeof i!="string"&&a.includes(i))return i;{let u=a.find(c=>c.value===i||c.innerHTML===i);if(u)return u;throw X().getElementError(`Value "${String(i)}" not found in options`,t)}}).filter(i=>!vt(i));if(vt(t)||!o.length)return;let l=i=>{i.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 i of o){let u=this.config.pointerEventsCheck===0?!0:sa(this,i);u&&(this.dispatchUIEvent(i,"pointerover"),this.dispatchUIEvent(t,"pointerenter"),this.dispatchUIEvent(i,"mouseover"),this.dispatchUIEvent(t,"mouseenter"),this.dispatchUIEvent(i,"pointermove"),this.dispatchUIEvent(i,"mousemove"),this.dispatchUIEvent(i,"pointerdown"),this.dispatchUIEvent(i,"mousedown")),$t(t),u&&(this.dispatchUIEvent(i,"pointerup"),this.dispatchUIEvent(i,"mouseup")),l(i),u&&this.dispatchUIEvent(i,"click"),await Ar(this.config)}else if(o.length===1){let i=this.config.pointerEventsCheck===0?!0:sa(this,t);i?await this.click(t):$t(t),l(o[0]),i&&(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 i of o)await this.click(i),await this.unhover(i);else throw X().getElementError("Cannot select options on elements that are neither select nor listbox elements",t)}async function n$(e,t,{skipClick:r=this.config.skipClick,skipAutoClose:n=this.config.skipAutoClose,initialSelectionStart:a,initialSelectionEnd:o}={}){e.disabled||(r||await this.click(e),a!==void 0&&Dr(e,a,o??a),await this.keyboard(t),n||await zN(this))}var wd=Symbol("files and value properties are mocked");function Go(e,t,r){r?Object.defineProperty(e,t,r):delete e[t]}function a$(e,t){var r;(r=e[wd])===null||r===void 0||r.restore();let n=Object.getOwnPropertyDescriptor(e,"type"),a=Object.getOwnPropertyDescriptor(e,"value"),o=Object.getOwnPropertyDescriptor(e,"files");function l(){Go(e,"type",n),Go(e,"value",a),Go(e,"files",o)}e[wd]={restore:l},Object.defineProperties(e,{files:{configurable:!0,get:()=>t},value:{configurable:!0,get:()=>t.length?`C:\\fakepath\\${t[0].name}`:"",set(i){if(i==="")l();else{var u;a==null||(u=a.set)===null||u===void 0||u.call(e,i)}}},type:{configurable:!0,get:()=>"file",set(i){i!=="file"&&(l(),e.type=i)}}})}async function o$(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(o=>!this.config.applyAccept||l$(o,r.accept)).slice(0,r.multiple?void 0:1),a=()=>{var o;n.length===((o=r.files)===null||o===void 0?void 0:o.length)&&n.every((l,i)=>{var u;return l===((u=r.files)===null||u===void 0?void 0:u.item(i))})||(a$(r,Es(lt(e),n)),this.dispatchUIEvent(r,"input"),this.dispatchUIEvent(r,"change"))};r.addEventListener("fileDialog",a),await this.click(e),r.removeEventListener("fileDialog",a)}function l$(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 Cd={click:IN,dblClick:BN,tripleClick:kN,hover:LN,unhover:DN,tab:FN,keyboard:UN,copy:WN,cut:KN,paste:YN,pointer:XN,clear:e$,deselectOptions:r$,selectOptions:t$,type:n$,upload:o$};function i$(e){return X().asyncWrapper(e)}var py={applyAccept:!0,autoModify:!0,delay:0,document:globalThis.document,keyboardMap:CN,pointerMap:qN,pointerEventsCheck:mr.EachApiCall,skipAutoClose:!1,skipClick:!1,skipHover:!1,writeToClipboard:!1,advanceTimers:()=>Promise.resolve()},s$={...py,writeToClipboard:!0};function fy(e={},t=s$,r){let n=p$(e,r,t);return{...t,...e,document:n}}function u$(e={}){let t=fy(e);ay(t.document);var r;let n=(r=t.document.defaultView)!==null&&r!==void 0?r:globalThis.window;return hj(n),Ms(t).api}function Ne({keyboardState:e,pointerState:t,...r}={},n){let a=fy(r,py,n);ay(a.document);var o;let l=(o=t??e)!==null&&o!==void 0?o:new uy;return{api:Ms(a,l).api,system:l}}function c$(e){return Ms({...this.config,...e},this.system).api}function d$(e,t){function r(...n){return Lr(e,Ie.Call),i$(()=>t.apply(e,n).then(async a=>(await Ar(e.config),a)))}return Object.defineProperty(r,"name",{get:()=>t.name}),r}function Ms(e,t=new uy){let r={};return Object.assign(r,{config:e,dispatchEvent:ny.bind(r),dispatchUIEvent:pN.bind(r),system:t,levelRefs:{},...Cd}),{instance:r,api:{...Object.fromEntries(Object.entries(Cd).map(([n,a])=>[n,d$(r,a)])),setup:c$.bind(r)}}}function p$(e,t,r){var n,a;return(a=(n=e.document)!==null&&n!==void 0?n:t&&gN(t))!==null&&a!==void 0?a:r.document}var my={};ui(my,{clear:()=>f$,click:()=>m$,copy:()=>h$,cut:()=>b$,dblClick:()=>y$,deselectOptions:()=>g$,hover:()=>v$,keyboard:()=>_$,paste:()=>w$,pointer:()=>R$,selectOptions:()=>C$,tab:()=>T$,tripleClick:()=>q$,type:()=>E$,unhover:()=>P$,upload:()=>O$});function f$(e){return Ne().api.clear(e)}function m$(e,t={}){return Ne(t,e).api.click(e)}function h$(e={}){return Ne(e).api.copy()}function b$(e={}){return Ne(e).api.cut()}function y$(e,t={}){return Ne(t).api.dblClick(e)}function g$(e,t,r={}){return Ne(r).api.deselectOptions(e,t)}function v$(e,t={}){return Ne(t).api.hover(e)}async function _$(e,t={}){let{api:r,system:n}=Ne(t);return r.keyboard(e).then(()=>n)}async function R$(e,t={}){let{api:r,system:n}=Ne(t);return r.pointer(e).then(()=>n)}function w$(e,t){return Ne(t).api.paste(e)}function C$(e,t,r={}){return Ne(r).api.selectOptions(e,t)}function q$(e,t={}){return Ne(t).api.tripleClick(e)}function E$(e,t,r={}){return Ne(r,e).api.type(e,t,r)}function P$(e,t={}){let{api:r,system:n}=Ne(t);return n.pointer.setMousePosition({target:e}),r.unhover(e)}function O$(e,t,r={}){return Ne(r).api.upload(e,t)}function T$(e={}){return Ne().api.tab(e)}var S$={...my,setup:u$};function A$(e){for(var t=[],r=1;rt[0]==="fireEvent"||e.startsWith("find")||e.startsWith("waitFor")});Jl.screen=new Proxy(Jl.screen,{get(e,t,r){return f_.warn(M$` + 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:x$,configure:j$,createEvent:N$,fireEvent:$$,findAllByAltText:I$,findAllByDisplayValue:B$,findAllByLabelText:k$,findAllByPlaceholderText:L$,findAllByRole:D$,findAllByTestId:F$,findAllByText:H$,findAllByTitle:U$,findByAltText:V$,findByDisplayValue:z$,findByLabelText:G$,findByPlaceholderText:W$,findByRole:K$,findByTestId:Y$,findByText:J$,findByTitle:X$,getAllByAltText:Q$,getAllByDisplayValue:Z$,getAllByLabelText:eI,getAllByPlaceholderText:tI,getAllByRole:rI,getAllByTestId:nI,getAllByText:aI,getAllByTitle:oI,getByAltText:lI,getByDisplayValue:iI,getByLabelText:sI,getByPlaceholderText:uI,getByRole:cI,getByTestId:dI,getByText:pI,getByTitle:fI,getConfig:mI,getDefaultNormalizer:hI,getElementError:bI,getNodeText:yI,getQueriesForElement:gI,getRoles:vI,getSuggestedQuery:_I,isInaccessible:RI,logDOM:wI,logRoles:CI,prettyDOM:qI,queries:EI,queryAllByAltText:PI,queryAllByAttribute:OI,queryAllByDisplayValue:TI,queryAllByLabelText:SI,queryAllByPlaceholderText:AI,queryAllByRole:MI,queryAllByTestId:xI,queryAllByText:jI,queryAllByTitle:NI,queryByAltText:$I,queryByAttribute:II,queryByDisplayValue:BI,queryByLabelText:kI,queryByPlaceholderText:LI,queryByRole:DI,queryByTestId:FI,queryByText:HI,queryByTitle:UI,queryHelpers:VI,screen:zI,waitFor:GI,waitForElementToBeRemoved:WI,within:hy,prettyFormat:KI}=Jl,{userEvent:YI}=ii({userEvent:S$},{intercept:!0}),{expect:JI}=ii({expect:ah},{getKeys:(e,t)=>{let r=["assert","__methods","__flags","_obj"];if(e.constructor===T){let n=Object.keys(Object.getPrototypeOf(e)).filter(a=>!r.includes(a));return t>2?n:[...n,"not"]}return Object.keys(e)},intercept:e=>e!=="expect"}),XI=({parameters:e})=>{var t,r,n;((t=e==null?void 0:e.test)==null?void 0:t.mockReset)===!0?sh():((r=e==null?void 0:e.test)==null?void 0:r.clearMocks)===!0?ih():((n=e==null?void 0:e.test)==null?void 0:n.restoreMocks)!==!1&&uh()},ua=(e,t=0,r)=>{var n;if(t>5||e==null)return e;if(cs(e))return r&&e.mockName(r),e;if(typeof e=="function"&&"isAction"in e&&e.isAction&&!("implicit"in e&&e.implicit)){let a=lh(e);return r&&a.mockName(r),a}if(Array.isArray(e))return t++,e.map(a=>ua(a,t));if(typeof e=="object"&&e.constructor===Object){t++;for(let[a,o]of Object.entries(e))(n=Object.getOwnPropertyDescriptor(e,a))!=null&&n.writable&&(e[a]=ua(o,t,a));return e}return e},QI=({initialArgs:e})=>{ua(e)},ZI=e=>{globalThis.HTMLElement&&e.canvasElement instanceof globalThis.HTMLElement&&(e.canvas=hy(e.canvasElement))};ip.__STORYBOOK_TEST_LOADERS__=[XI,QI,ZI];ip.__STORYBOOK_TEST_ON_MOCK_CALL__=oh;const o2=Object.freeze(Object.defineProperty({__proto__:null,buildQueries:x$,clearAllMocks:ih,configure:j$,createEvent:N$,expect:JI,findAllByAltText:I$,findAllByDisplayValue:B$,findAllByLabelText:k$,findAllByPlaceholderText:L$,findAllByRole:D$,findAllByTestId:F$,findAllByText:H$,findAllByTitle:U$,findByAltText:V$,findByDisplayValue:z$,findByLabelText:G$,findByPlaceholderText:W$,findByRole:K$,findByTestId:Y$,findByText:J$,findByTitle:X$,fireEvent:$$,fn:lh,getAllByAltText:Q$,getAllByDisplayValue:Z$,getAllByLabelText:eI,getAllByPlaceholderText:tI,getAllByRole:rI,getAllByTestId:nI,getAllByText:aI,getAllByTitle:oI,getByAltText:lI,getByDisplayValue:iI,getByLabelText:sI,getByPlaceholderText:uI,getByRole:cI,getByTestId:dI,getByText:pI,getByTitle:fI,getConfig:mI,getDefaultNormalizer:hI,getElementError:bI,getNodeText:yI,getQueriesForElement:gI,getRoles:vI,getSuggestedQuery:_I,isInaccessible:RI,isMockFunction:cs,logDOM:wI,logRoles:CI,mocks:vn,onMockCall:oh,prettyDOM:qI,prettyFormat:KI,queries:EI,queryAllByAltText:PI,queryAllByAttribute:OI,queryAllByDisplayValue:TI,queryAllByLabelText:SI,queryAllByPlaceholderText:AI,queryAllByRole:MI,queryAllByTestId:xI,queryAllByText:jI,queryAllByTitle:NI,queryByAltText:$I,queryByAttribute:II,queryByDisplayValue:BI,queryByLabelText:kI,queryByPlaceholderText:LI,queryByRole:DI,queryByTestId:FI,queryByText:HI,queryByTitle:UI,queryHelpers:VI,resetAllMocks:sh,restoreAllMocks:uh,screen:zI,traverseArgs:ua,userEvent:YI,waitFor:GI,waitForElementToBeRemoved:WI,within:hy},Symbol.toStringTag,{value:"Module"}));export{o2 as a,ii as i}; diff --git a/storybook-static/assets/index-DrFu-skq.js b/storybook-static/assets/index-DrFu-skq.js new file mode 100644 index 0000000..37c96b4 --- /dev/null +++ b/storybook-static/assets/index-DrFu-skq.js @@ -0,0 +1,6 @@ +function l(o){for(var f=[],i=1;il[_]})}}}return Object.freeze(Object.defineProperty(p,Symbol.toStringTag,{value:"Module"}))}function V(p){return p&&p.__esModule&&Object.prototype.hasOwnProperty.call(p,"default")?p.default:p}var h={exports:{}},o={};/** + * @license React + * react.production.js + * + * Copyright (c) Meta Platforms, Inc. and affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */var k;function F(){if(k)return o;k=1;var p=Symbol.for("react.transitional.element"),d=Symbol.for("react.portal"),v=Symbol.for("react.fragment"),l=Symbol.for("react.strict_mode"),_=Symbol.for("react.profiler"),R=Symbol.for("react.consumer"),x=Symbol.for("react.context"),D=Symbol.for("react.forward_ref"),q=Symbol.for("react.suspense"),z=Symbol.for("react.memo"),O=Symbol.for("react.lazy"),S=Symbol.iterator;function G(t){return t===null||typeof t!="object"?null:(t=S&&t[S]||t["@@iterator"],typeof t=="function"?t:null)}var j={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},P=Object.assign,H={};function y(t,e,r){this.props=t,this.context=e,this.refs=H,this.updater=r||j}y.prototype.isReactComponent={},y.prototype.setState=function(t,e){if(typeof t!="object"&&typeof t!="function"&&t!=null)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,t,e,"setState")},y.prototype.forceUpdate=function(t){this.updater.enqueueForceUpdate(this,t,"forceUpdate")};function $(){}$.prototype=y.prototype;function m(t,e,r){this.props=t,this.context=e,this.refs=H,this.updater=r||j}var C=m.prototype=new $;C.constructor=m,P(C,y.prototype),C.isPureReactComponent=!0;var N=Array.isArray,f={H:null,A:null,T:null,S:null,V:null},M=Object.prototype.hasOwnProperty;function g(t,e,r,n,s,i){return r=i.ref,{$$typeof:p,type:t,key:e,ref:r!==void 0?r:null,props:i}}function K(t,e){return g(t.type,e,void 0,void 0,void 0,t.props)}function w(t){return typeof t=="object"&&t!==null&&t.$$typeof===p}function B(t){var e={"=":"=0",":":"=2"};return"$"+t.replace(/[=:]/g,function(r){return e[r]})}var b=/\/+/g;function A(t,e){return typeof t=="object"&&t!==null&&t.key!=null?B(""+t.key):e.toString(36)}function Y(){}function W(t){switch(t.status){case"fulfilled":return t.value;case"rejected":throw t.reason;default:switch(typeof t.status=="string"?t.then(Y,Y):(t.status="pending",t.then(function(e){t.status==="pending"&&(t.status="fulfilled",t.value=e)},function(e){t.status==="pending"&&(t.status="rejected",t.reason=e)})),t.status){case"fulfilled":return t.value;case"rejected":throw t.reason}}throw t}function E(t,e,r,n,s){var i=typeof t;(i==="undefined"||i==="boolean")&&(t=null);var u=!1;if(t===null)u=!0;else switch(i){case"bigint":case"string":case"number":u=!0;break;case"object":switch(t.$$typeof){case p:case d:u=!0;break;case O:return u=t._init,E(u(t._payload),e,r,n,s)}}if(u)return s=s(t),u=n===""?"."+A(t,0):n,N(s)?(r="",u!=null&&(r=u.replace(b,"$&/")+"/"),E(s,e,r,"",function(Z){return Z})):s!=null&&(w(s)&&(s=K(s,r+(s.key==null||t&&t.key===s.key?"":(""+s.key).replace(b,"$&/")+"/")+u)),e.push(s)),1;u=0;var a=n===""?".":n+":";if(N(t))for(var c=0;c{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/storybook-static/assets/preview-BBWR9nbA.js b/storybook-static/assets/preview-BBWR9nbA.js new file mode 100644 index 0000000..93b2346 --- /dev/null +++ b/storybook-static/assets/preview-BBWR9nbA.js @@ -0,0 +1 @@ +var j="Invariant failed";function S(e,t){if(!e)throw new Error(j)}const{useEffect:T}=__STORYBOOK_MODULE_PREVIEW_API__,{global:d}=__STORYBOOK_MODULE_GLOBAL__;var K="measureEnabled";function Y(){let e=d.document.documentElement,t=Math.max(e.scrollHeight,e.offsetHeight);return{width:Math.max(e.scrollWidth,e.offsetWidth),height:t}}function G(){let e=d.document.createElement("canvas");e.id="storybook-addon-measure";let t=e.getContext("2d");S(t!=null);let{width:o,height:l}=Y();return A(e,t,{width:o,height:l}),e.style.position="absolute",e.style.left="0",e.style.top="0",e.style.zIndex="2147483647",e.style.pointerEvents="none",d.document.body.appendChild(e),{canvas:e,context:t,width:o,height:l}}function A(e,t,{width:o,height:l}){e.style.width=`${o}px`,e.style.height=`${l}px`;let i=d.window.devicePixelRatio;e.width=Math.floor(o*i),e.height=Math.floor(l*i),t.scale(i,i)}var h={};function U(){h.canvas||(h=G())}function H(){h.context&&h.context.clearRect(0,0,h.width??0,h.height??0)}function V(e){H(),e(h.context)}function Z(){S(h.canvas),S(h.context),A(h.canvas,h.context,{width:0,height:0});let{width:e,height:t}=Y();A(h.canvas,h.context,{width:e,height:t}),h.width=e,h.height=t}function J(){var e;h.canvas&&(H(),(e=h.canvas.parentNode)==null||e.removeChild(h.canvas),h={})}var w={margin:"#f6b26b",border:"#ffe599",padding:"#93c47d",content:"#6fa8dc",text:"#232020"},c=6;function W(e,{x:t,y:o,w:l,h:i,r:n}){t=t-l/2,o=o-i/2,l<2*n&&(n=l/2),i<2*n&&(n=i/2),e.beginPath(),e.moveTo(t+n,o),e.arcTo(t+l,o,t+l,o+i,n),e.arcTo(t+l,o+i,t,o+i,n),e.arcTo(t,o+i,t,o,n),e.arcTo(t,o,t+l,o,n),e.closePath()}function Q(e,{padding:t,border:o,width:l,height:i,top:n,left:r}){let f=l-o.left-o.right-t.left-t.right,a=i-t.top-t.bottom-o.top-o.bottom,s=r+o.left+t.left,u=n+o.top+t.top;return e==="top"?s+=f/2:e==="right"?(s+=f,u+=a/2):e==="bottom"?(s+=f/2,u+=a):e==="left"?u+=a/2:e==="center"&&(s+=f/2,u+=a/2),{x:s,y:u}}function x(e,t,{margin:o,border:l,padding:i},n,r){let f=m=>0,a=0,s=0,u=r?1:.5,g=r?n*2:0;return e==="padding"?f=m=>i[m]*u+g:e==="border"?f=m=>i[m]+l[m]*u+g:e==="margin"&&(f=m=>i[m]+l[m]+o[m]*u+g),t==="top"?s=-f("top"):t==="right"?a=f("right"):t==="bottom"?s=f("bottom"):t==="left"&&(a=-f("left")),{offsetX:a,offsetY:s}}function tt(e,t){return Math.abs(e.x-t.x){let f=l&&n.position==="center"?lt(e,t,n):ot(e,t,n,i[r-1],l);i[r]=f})}function nt(e,t,o,l){let i=o.reduce((n,r)=>{var f;return Object.prototype.hasOwnProperty.call(n,r.position)||(n[r.position]=[]),(f=n[r.position])==null||f.push(r),n},{});i.top&&E(e,t,i.top,l),i.right&&E(e,t,i.right,l),i.bottom&&E(e,t,i.bottom,l),i.left&&E(e,t,i.left,l),i.center&&E(e,t,i.center,l)}var L={margin:"#f6b26ba8",border:"#ffe599a8",padding:"#93c47d8c",content:"#6fa8dca8"},B=30;function p(e){return parseInt(e.replace("px",""),10)}function b(e){return Number.isInteger(e)?e:e.toFixed(2)}function P(e){return e.filter(t=>t.text!==0&&t.text!=="0")}function ft(e){let t={top:d.window.scrollY,bottom:d.window.scrollY+d.window.innerHeight,left:d.window.scrollX,right:d.window.scrollX+d.window.innerWidth},o={top:Math.abs(t.top-e.top),bottom:Math.abs(t.bottom-e.bottom),left:Math.abs(t.left-e.left),right:Math.abs(t.right-e.right)};return{x:o.left>o.right?"left":"right",y:o.top>o.bottom?"top":"bottom"}}function rt(e){let t=d.getComputedStyle(e),{top:o,left:l,right:i,bottom:n,width:r,height:f}=e.getBoundingClientRect(),{marginTop:a,marginBottom:s,marginLeft:u,marginRight:g,paddingTop:m,paddingBottom:v,paddingLeft:k,paddingRight:F,borderBottomWidth:I,borderTopWidth:D,borderLeftWidth:$,borderRightWidth:N}=t;o=o+d.window.scrollY,l=l+d.window.scrollX,n=n+d.window.scrollY,i=i+d.window.scrollX;let y={top:p(a),bottom:p(s),left:p(u),right:p(g)},q={top:p(m),bottom:p(v),left:p(k),right:p(F)},z={top:p(D),bottom:p(I),left:p($),right:p(N)},_={top:o-y.top,bottom:n+y.bottom,left:l-y.left,right:i+y.right};return{margin:y,padding:q,border:z,top:o,left:l,bottom:n,right:i,width:r,height:f,extremities:_,floatingAlignment:ft(_)}}function at(e,{margin:t,width:o,height:l,top:i,left:n,bottom:r,right:f}){let a=l+t.bottom+t.top;e.fillStyle=L.margin,e.fillRect(n,i-t.top,o,t.top),e.fillRect(f,i-t.top,t.right,a),e.fillRect(n,r,o,t.bottom),e.fillRect(n-t.left,i-t.top,t.left,a);let s=[{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 P(s)}function st(e,{padding:t,border:o,width:l,height:i,top:n,left:r,bottom:f,right:a}){let s=l-o.left-o.right,u=i-t.top-t.bottom-o.top-o.bottom;e.fillStyle=L.padding,e.fillRect(r+o.left,n+o.top,s,t.top),e.fillRect(a-t.right-o.right,n+t.top+o.top,t.right,u),e.fillRect(r+o.left,f-t.bottom-o.bottom,s,t.bottom),e.fillRect(r+o.left,n+t.top+o.top,t.left,u);let g=[{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 P(g)}function ht(e,{border:t,width:o,height:l,top:i,left:n,bottom:r,right:f}){let a=l-t.top-t.bottom;e.fillStyle=L.border,e.fillRect(n,i,o,t.top),e.fillRect(n,r-t.bottom,o,t.bottom),e.fillRect(n,i+t.top,t.left,a),e.fillRect(f-t.right,i+t.top,t.right,a);let s=[{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 P(s)}function ut(e,{padding:t,border:o,width:l,height:i,top:n,left:r}){let f=l-o.left-o.right-t.left-t.right,a=i-t.top-t.bottom-o.top-o.bottom;return e.fillStyle=L.content,e.fillRect(r+o.left+t.left,n+o.top+t.top,f,a),[{type:"content",position:"center",text:`${b(f)} x ${b(a)}`}]}function dt(e){return t=>{if(e&&t){let o=rt(e),l=at(t,o),i=st(t,o),n=ht(t,o),r=ut(t,o),f=o.width<=B*3||o.height<=B;nt(t,o,[...r,...i,...n,...l],f)}}}function mt(e){V(dt(e))}var gt=(e,t)=>{let o=d.document.elementFromPoint(e,t),l=i=>{if(i&&i.shadowRoot){let n=i.shadowRoot.elementFromPoint(e,t);return i.isEqualNode(n)?i:n.shadowRoot?l(n):n}return i};return l(o)||o},O,M={x:0,y:0};function R(e,t){O=gt(e,t),mt(O)}var pt=(e,t)=>{let{measureEnabled:o}=t.globals;return T(()=>{let l=i=>{window.requestAnimationFrame(()=>{i.stopPropagation(),M.x=i.clientX,M.y=i.clientY})};return document.addEventListener("pointermove",l),()=>{document.removeEventListener("pointermove",l)}},[]),T(()=>{let l=n=>{window.requestAnimationFrame(()=>{n.stopPropagation(),R(n.clientX,n.clientY)})},i=()=>{window.requestAnimationFrame(()=>{Z()})};return t.viewMode==="story"&&o&&(document.addEventListener("pointerover",l),U(),window.addEventListener("resize",i),R(M.x,M.y)),()=>{window.removeEventListener("resize",i),J()}},[o,t.viewMode]),e()},ct=[pt],wt={[K]:!1};export{ct as decorators,wt as initialGlobals}; diff --git a/storybook-static/assets/preview-BGkG0iU-.js b/storybook-static/assets/preview-BGkG0iU-.js new file mode 100644 index 0000000..58241a0 --- /dev/null +++ b/storybook-static/assets/preview-BGkG0iU-.js @@ -0,0 +1,2 @@ +const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/DocsRenderer-CFRXHY34-HVOe_iH5.js","assets/iframe-CPAQYodo.js","assets/index-MPVjHJeJ.js","assets/jsx-runtime-D_zvdyIk.js","assets/react-18-DX46YMEZ.js","assets/index-CXQShRbs.js","assets/index-DrFu-skq.js"])))=>i.map(i=>d[i]); +import{_ as a}from"./iframe-CPAQYodo.js";var s=Object.defineProperty,i=(e,r)=>{for(var t in r)s(e,t,{get:r[t],enumerable:!0})},_={};i(_,{parameters:()=>n});var d=Object.entries(globalThis.TAGS_OPTIONS??{}).reduce((e,r)=>{let[t,o]=r;return o.excludeFromDocsStories&&(e[t]=!0),e},{}),n={docs:{renderer:async()=>{let{DocsRenderer:e}=await a(()=>import("./DocsRenderer-CFRXHY34-HVOe_iH5.js").then(r=>r.D),__vite__mapDeps([0,1,2,3,4,5,6]));return new e},stories:{filter:e=>{var r;return(e.tags||[]).filter(t=>d[t]).length===0&&!((r=e.parameters.docs)!=null&&r.disable)}}}};export{n as parameters}; diff --git a/storybook-static/assets/preview-BRwVwHpN.css b/storybook-static/assets/preview-BRwVwHpN.css new file mode 100644 index 0000000..0bb6d9a --- /dev/null +++ b/storybook-static/assets/preview-BRwVwHpN.css @@ -0,0 +1 @@ +/*! tailwindcss v4.1.4 | MIT License | https://tailwindcss.com */@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-border-style:solid;--tw-ordinal:initial;--tw-slashed-zero:initial;--tw-numeric-figure:initial;--tw-numeric-spacing:initial;--tw-numeric-fraction:initial;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-outline-style:solid;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial;--tw-ease:initial}}}@layer theme{:root,:host{--font-sans:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";--font-mono:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;--color-red-500:oklch(63.7% .237 25.331);--spacing:.25rem;--ease-out:cubic-bezier(0,0,.2,1);--ease-in-out:cubic-bezier(.4,0,.2,1);--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4,0,.2,1);--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono)}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;-moz-tab-size:4;tab-size:4;line-height:1.5;font-family:var(--default-font-family,ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab,red,red)){::placeholder{color:color-mix(in oklab,currentcolor 50%,transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){-webkit-appearance:button;-moz-appearance:button;appearance:button}::file-selector-button{-webkit-appearance:button;-moz-appearance:button;appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.\@container{container-type:inline-size}.collapse{visibility:collapse}.visible{visibility:visible}.absolute{position:absolute}.fixed{position:fixed}.relative{position:relative}.static{position:static}.sticky{position:sticky}.isolate{isolation:isolate}.float-left{float:left}.float-right{float:right}.container{width:100%}@media (min-width:40rem){.container{max-width:40rem}}@media (min-width:48rem){.container{max-width:48rem}}@media (min-width:64rem){.container{max-width:64rem}}@media (min-width:80rem){.container{max-width:80rem}}@media (min-width:96rem){.container{max-width:96rem}}.block{display:block}.contents{display:contents}.flex{display:flex}.grid{display:grid}.hidden{display:none}.inline{display:inline}.inline-block{display:inline-block}.inline-flex{display:inline-flex}.list-item{display:list-item}.table{display:table}.table-caption{display:table-caption}.table-cell{display:table-cell}.table-column{display:table-column}.table-column-group{display:table-column-group}.table-footer-group{display:table-footer-group}.table-header-group{display:table-header-group}.table-row{display:table-row}.table-row-group{display:table-row-group}.flex-shrink,.shrink{flex-shrink:1}.flex-grow,.grow{flex-grow:1}.transform{transform:var(--tw-rotate-x,)var(--tw-rotate-y,)var(--tw-rotate-z,)var(--tw-skew-x,)var(--tw-skew-y,)}.resize{resize:both}.border{border-style:var(--tw-border-style);border-width:1px}.bg-red-500{background-color:var(--color-red-500)}.p-4{padding:calc(var(--spacing)*4)}.text-wrap{text-wrap:wrap}.lowercase{text-transform:lowercase}.uppercase{text-transform:uppercase}.italic{font-style:italic}.tabular-nums{--tw-numeric-spacing:tabular-nums;font-variant-numeric:var(--tw-ordinal,)var(--tw-slashed-zero,)var(--tw-numeric-figure,)var(--tw-numeric-spacing,)var(--tw-numeric-fraction,)}.underline{text-decoration-line:underline}.antialiased{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.shadow{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a),0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.ring{--tw-ring-shadow:var(--tw-ring-inset,)0 0 0 calc(1px + var(--tw-ring-offset-width))var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.outline{outline-style:var(--tw-outline-style);outline-width:1px}.blur{--tw-blur:blur(8px);filter:var(--tw-blur,)var(--tw-brightness,)var(--tw-contrast,)var(--tw-grayscale,)var(--tw-hue-rotate,)var(--tw-invert,)var(--tw-saturate,)var(--tw-sepia,)var(--tw-drop-shadow,)}.grayscale{--tw-grayscale:grayscale(100%);filter:var(--tw-blur,)var(--tw-brightness,)var(--tw-contrast,)var(--tw-grayscale,)var(--tw-hue-rotate,)var(--tw-invert,)var(--tw-saturate,)var(--tw-sepia,)var(--tw-drop-shadow,)}.filter{filter:var(--tw-blur,)var(--tw-brightness,)var(--tw-contrast,)var(--tw-grayscale,)var(--tw-hue-rotate,)var(--tw-invert,)var(--tw-saturate,)var(--tw-sepia,)var(--tw-drop-shadow,)}.transition{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,-webkit-backdrop-filter,backdrop-filter;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.ease-in-out{--tw-ease:var(--ease-in-out);transition-timing-function:var(--ease-in-out)}.ease-out{--tw-ease:var(--ease-out);transition-timing-function:var(--ease-out)}}@property --tw-rotate-x{syntax:"*";inherits:false}@property --tw-rotate-y{syntax:"*";inherits:false}@property --tw-rotate-z{syntax:"*";inherits:false}@property --tw-skew-x{syntax:"*";inherits:false}@property --tw-skew-y{syntax:"*";inherits:false}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-ordinal{syntax:"*";inherits:false}@property --tw-slashed-zero{syntax:"*";inherits:false}@property --tw-numeric-figure{syntax:"*";inherits:false}@property --tw-numeric-spacing{syntax:"*";inherits:false}@property --tw-numeric-fraction{syntax:"*";inherits:false}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-outline-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}@property --tw-ease{syntax:"*";inherits:false} diff --git a/storybook-static/assets/preview-BWzBA1C2.js b/storybook-static/assets/preview-BWzBA1C2.js new file mode 100644 index 0000000..38fec57 --- /dev/null +++ b/storybook-static/assets/preview-BWzBA1C2.js @@ -0,0 +1,396 @@ +import{d as $}from"./index-DrFu-skq.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/storybook-static/assets/preview-CQwBxdXq.js b/storybook-static/assets/preview-CQwBxdXq.js new file mode 100644 index 0000000..098dfda --- /dev/null +++ b/storybook-static/assets/preview-CQwBxdXq.js @@ -0,0 +1 @@ +const e={parameters:{controls:{matchers:{color:/(background|color)$/i,date:/Date$/i}}}};export{e as default}; diff --git a/storybook-static/assets/preview-CvbIS5ZJ.js b/storybook-static/assets/preview-CvbIS5ZJ.js new file mode 100644 index 0000000..9c72315 --- /dev/null +++ b/storybook-static/assets/preview-CvbIS5ZJ.js @@ -0,0 +1 @@ +var o="viewport",a={[o]:{value:void 0,isRotated:!1}},t={viewport:"reset",viewportRotated:!1},e,l=(e=globalThis.FEATURES)!=null&&e.viewportStoryGlobals?a:t;export{l as initialGlobals}; diff --git a/storybook-static/assets/preview-DD_OYowb.js b/storybook-static/assets/preview-DD_OYowb.js new file mode 100644 index 0000000..7386589 --- /dev/null +++ b/storybook-static/assets/preview-DD_OYowb.js @@ -0,0 +1 @@ +let p;const S=new Uint8Array(16);function A(){if(!p&&(p=typeof crypto<"u"&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto),!p))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return p(S)}const o=[];for(let e=0;e<256;++e)o.push((e+256).toString(16).slice(1));function D(e,t=0){return o[e[t+0]]+o[e[t+1]]+o[e[t+2]]+o[e[t+3]]+"-"+o[e[t+4]]+o[e[t+5]]+"-"+o[e[t+6]]+o[e[t+7]]+"-"+o[e[t+8]]+o[e[t+9]]+"-"+o[e[t+10]]+o[e[t+11]]+o[e[t+12]]+o[e[t+13]]+o[e[t+14]]+o[e[t+15]]}const I=typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto),h={randomUUID:I};function f(e,t,r){if(h.randomUUID&&!e)return h.randomUUID();e=e||{};const n=e.random||(e.rng||A)();return n[6]=n[6]&15|64,n[8]=n[8]&63|128,D(n)}const{addons:v}=__STORYBOOK_MODULE_PREVIEW_API__,{ImplicitActionsDuringRendering:U}=__STORYBOOK_MODULE_CORE_EVENTS_PREVIEW_ERRORS__,{global:d}=__STORYBOOK_MODULE_GLOBAL__;var w="storybook/actions",j=`${w}/action-event`,V={depth:10,clearOnStoryChange:!0,limit:50},E=(e,t)=>{let r=Object.getPrototypeOf(e);return!r||t(r)?r:E(r,t)},C=e=>!!(typeof e=="object"&&e&&E(e,t=>/^Synthetic(?:Base)?Event$/.test(t.constructor.name))&&typeof e.persist=="function"),K=e=>{if(C(e)){let t=Object.create(e.constructor.prototype,Object.getOwnPropertyDescriptors(e));t.persist();let r=Object.getOwnPropertyDescriptor(t,"view"),n=r==null?void 0:r.value;return typeof n=="object"&&(n==null?void 0:n.constructor.name)==="Window"&&Object.defineProperty(t,"view",{...r,value:Object.create(n.constructor.prototype)}),t}return e},L=()=>typeof crypto=="object"&&typeof crypto.getRandomValues=="function"?f():Date.now().toString(36)+Math.random().toString(36).substring(2);function _(e,t={}){let r={...V,...t},n=function(...s){var g,O;if(t.implicit){let y=(g="__STORYBOOK_PREVIEW__"in d?d.__STORYBOOK_PREVIEW__:void 0)==null?void 0:g.storyRenders.find(l=>l.phase==="playing"||l.phase==="rendering");if(y){let l=!((O=globalThis==null?void 0:globalThis.FEATURES)!=null&&O.disallowImplicitActionsInRenderV8),R=new U({phase:y.phase,name:e,deprecated:l});if(l)console.warn(R);else throw R}}let i=v.getChannel(),c=L(),a=5,u=s.map(K),b=s.length>1?u:u[0],x={id:c,count:0,data:{name:e,args:b},options:{...r,maxDepth:a+(r.depth||3),allowFunction:r.allowFunction||!1}};i.emit(j,x)};return n.isAction=!0,n.implicit=t.implicit,n}var T=(e,t)=>typeof t[e]>"u"&&!(e in t),B=e=>{let{initialArgs:t,argTypes:r,id:n,parameters:{actions:s}}=e;if(!s||s.disable||!s.argTypesRegex||!r)return{};let i=new RegExp(s.argTypesRegex);return Object.entries(r).filter(([c])=>!!i.test(c)).reduce((c,[a,u])=>(T(a,t)&&(c[a]=_(a,{implicit:!0,id:n})),c),{})},M=e=>{let{initialArgs:t,argTypes:r,parameters:{actions:n}}=e;return n!=null&&n.disable||!r?{}:Object.entries(r).filter(([s,i])=>!!i.action).reduce((s,[i,c])=>(T(i,t)&&(s[i]=_(typeof c.action=="string"?c.action:i)),s),{})},Y=[M,B],m=!1,P=e=>{let{parameters:{actions:t}}=e;if(!(t!=null&&t.disable)&&!m&&"__STORYBOOK_TEST_ON_MOCK_CALL__"in d&&typeof d.__STORYBOOK_TEST_ON_MOCK_CALL__=="function"){let r=d.__STORYBOOK_TEST_ON_MOCK_CALL__;r((n,s)=>{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(c=>i.startsWith(c)))&&_(i)(s)}),m=!0}},N=[P];export{Y as argsEnhancers,N as loaders}; diff --git a/storybook-static/assets/preview-DGUiP6tS.js b/storybook-static/assets/preview-DGUiP6tS.js new file mode 100644 index 0000000..61e8931 --- /dev/null +++ b/storybook-static/assets/preview-DGUiP6tS.js @@ -0,0 +1,7 @@ +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/storybook-static/assets/preview-Dyg8NwXV.js b/storybook-static/assets/preview-Dyg8NwXV.js new file mode 100644 index 0000000..4ad66a6 --- /dev/null +++ b/storybook-static/assets/preview-Dyg8NwXV.js @@ -0,0 +1 @@ +import{i as r}from"./index-Domkg0jQ.js";var{step:p}=r({step:async(a,t,e)=>t(e)},{intercept:!0}),s={throwPlayFunctionExceptions:!1};export{s as parameters,p as runStep}; diff --git a/storybook-static/assets/react-18-DX46YMEZ.js b/storybook-static/assets/react-18-DX46YMEZ.js new file mode 100644 index 0000000..7dc0fee --- /dev/null +++ b/storybook-static/assets/react-18-DX46YMEZ.js @@ -0,0 +1,33 @@ +import{a as k1,r as Fc}from"./index-MPVjHJeJ.js";var wc={exports:{}},ie={},Wc={exports:{}},$c={};/** + * @license React + * scheduler.production.js + * + * Copyright (c) Meta Platforms, Inc. and affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */var L1;function Th(){return L1||(L1=1,function(A){function F(o,E){var H=o.length;o.push(E);l:for(;0>>1,W=o[w];if(0<$l(W,E))o[w]=E,o[H]=W,H=w;else break l}}function G(o){return o.length===0?null:o[0]}function S(o){if(o.length===0)return null;var E=o[0],H=o.pop();if(H!==E){o[0]=H;l:for(var w=0,W=o.length,zl=W>>>1;w$l(j,H))vl$l(ut,j)?(o[w]=ut,o[vl]=H,w=vl):(o[w]=j,o[I]=H,w=I);else if(vl$l(ut,H))o[w]=ut,o[vl]=H,w=vl;else break l}}return E}function $l(o,E){var H=o.sortIndex-E.sortIndex;return H!==0?H:o.id-E.id}if(A.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var kl=performance;A.unstable_now=function(){return kl.now()}}else{var Fl=Date,yt=Fl.now();A.unstable_now=function(){return Fl.now()-yt}}var U=[],z=[],_=1,ll=null,$=3,Xl=!1,Ql=!1,Rt=!1,ta=!1,ve=typeof setTimeout=="function"?setTimeout:null,vu=typeof clearTimeout=="function"?clearTimeout:null,Zl=typeof setImmediate<"u"?setImmediate:null;function Nt(o){for(var E=G(z);E!==null;){if(E.callback===null)S(z);else if(E.startTime<=o)S(z),E.sortIndex=E.expirationTime,F(U,E);else break;E=G(z)}}function aa(o){if(Rt=!1,Nt(o),!Ql)if(G(U)!==null)Ql=!0,at||(at=!0,xl());else{var E=G(z);E!==null&&ht(aa,E.startTime-o)}}var at=!1,dt=-1,Il=5,Aa=-1;function ye(){return ta?!0:!(A.unstable_now()-Aao&&ye());){var w=ll.callback;if(typeof w=="function"){ll.callback=null,$=ll.priorityLevel;var W=w(ll.expirationTime<=o);if(o=A.unstable_now(),typeof W=="function"){ll.callback=W,Nt(o),E=!0;break t}ll===G(U)&&S(U),Nt(o)}else S(U);ll=G(U)}if(ll!==null)E=!0;else{var zl=G(z);zl!==null&&ht(aa,zl.startTime-o),E=!1}}break l}finally{ll=null,$=H,Xl=!1}E=void 0}}finally{E?xl():at=!1}}}var xl;if(typeof Zl=="function")xl=function(){Zl(Ea)};else if(typeof MessageChannel<"u"){var de=new MessageChannel,yu=de.port2;de.port1.onmessage=Ea,xl=function(){yu.postMessage(null)}}else xl=function(){ve(Ea,0)};function ht(o,E){dt=ve(function(){o(A.unstable_now())},E)}A.unstable_IdlePriority=5,A.unstable_ImmediatePriority=1,A.unstable_LowPriority=4,A.unstable_NormalPriority=3,A.unstable_Profiling=null,A.unstable_UserBlockingPriority=2,A.unstable_cancelCallback=function(o){o.callback=null},A.unstable_forceFrameRate=function(o){0>o||125w?(o.sortIndex=H,F(z,o),G(U)===null&&o===G(z)&&(Rt?(vu(dt),dt=-1):Rt=!0,ht(aa,H-w))):(o.sortIndex=W,F(U,o),Ql||Xl||(Ql=!0,at||(at=!0,xl()))),o},A.unstable_shouldYield=ye,A.unstable_wrapCallback=function(o){var E=$;return function(){var H=$;$=E;try{return o.apply(this,arguments)}finally{$=H}}}}($c)),$c}var p1;function zh(){return p1||(p1=1,Wc.exports=Th()),Wc.exports}var kc={exports:{}},Tl={};/** + * @license React + * react-dom.production.js + * + * Copyright (c) Meta Platforms, Inc. and affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */var J1;function Ah(){if(J1)return Tl;J1=1;var A=k1();function F(U){var z="https://react.dev/errors/"+U;if(1"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(A)}catch(F){console.error(F)}}return A(),kc.exports=Ah(),kc.exports}/** + * @license React + * react-dom-client.production.js + * + * Copyright (c) Meta Platforms, Inc. and affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */var W1;function Oh(){if(W1)return ie;W1=1;var A=zh(),F=k1(),G=Eh();function S(l){var t="https://react.dev/errors/"+l;if(1W||(l.current=w[W],w[W]=null,W--)}function j(l,t){W++,w[W]=l.current,l.current=t}var vl=zl(null),ut=zl(null),Ht=zl(null),he=zl(null);function se(l,t){switch(j(Ht,t),j(ut,l),j(vl,null),t.nodeType){case 9:case 11:l=(l=t.documentElement)&&(l=l.namespaceURI)?o1(l):0;break;default:if(l=t.tagName,t=t.namespaceURI)t=o1(t),l=T1(t,l);else switch(l){case"svg":l=1;break;case"math":l=2;break;default:l=0}}I(vl),j(vl,l)}function Oa(){I(vl),I(ut),I(Ht)}function qn(l){l.memoizedState!==null&&j(he,l);var t=vl.current,a=T1(t,l.type);t!==a&&(j(ut,l),j(vl,a))}function me(l){ut.current===l&&(I(vl),I(ut)),he.current===l&&(I(he),ue._currentValue=H)}var rn=Object.prototype.hasOwnProperty,Bn=A.unstable_scheduleCallback,Yn=A.unstable_cancelCallback,F1=A.unstable_shouldYield,I1=A.unstable_requestPaint,et=A.unstable_now,P1=A.unstable_getCurrentPriorityLevel,Ic=A.unstable_ImmediatePriority,Pc=A.unstable_UserBlockingPriority,Se=A.unstable_NormalPriority,ly=A.unstable_LowPriority,li=A.unstable_IdlePriority,ty=A.log,ay=A.unstable_setDisableYieldValue,du=null,_l=null;function qt(l){if(typeof ty=="function"&&ay(l),_l&&typeof _l.setStrictMode=="function")try{_l.setStrictMode(du,l)}catch{}}var Rl=Math.clz32?Math.clz32:ny,uy=Math.log,ey=Math.LN2;function ny(l){return l>>>=0,l===0?32:31-(uy(l)/ey|0)|0}var ge=256,be=4194304;function ua(l){var t=l&42;if(t!==0)return t;switch(l&-l){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:return 64;case 128:return 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 l&4194048;case 4194304:case 8388608:case 16777216:case 33554432:return l&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return l}}function oe(l,t,a){var u=l.pendingLanes;if(u===0)return 0;var e=0,n=l.suspendedLanes,f=l.pingedLanes;l=l.warmLanes;var c=u&134217727;return c!==0?(u=c&~n,u!==0?e=ua(u):(f&=c,f!==0?e=ua(f):a||(a=c&~l,a!==0&&(e=ua(a))))):(c=u&~n,c!==0?e=ua(c):f!==0?e=ua(f):a||(a=u&~l,a!==0&&(e=ua(a)))),e===0?0:t!==0&&t!==e&&(t&n)===0&&(n=e&-e,a=t&-t,n>=a||n===32&&(a&4194048)!==0)?t:e}function hu(l,t){return(l.pendingLanes&~(l.suspendedLanes&~l.pingedLanes)&t)===0}function fy(l,t){switch(l){case 1:case 2:case 4:case 8:case 64:return t+250;case 16:case 32: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:return-1;case 67108864:case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function ti(){var l=ge;return ge<<=1,(ge&4194048)===0&&(ge=256),l}function ai(){var l=be;return be<<=1,(be&62914560)===0&&(be=4194304),l}function Gn(l){for(var t=[],a=0;31>a;a++)t.push(l);return t}function su(l,t){l.pendingLanes|=t,t!==268435456&&(l.suspendedLanes=0,l.pingedLanes=0,l.warmLanes=0)}function cy(l,t,a,u,e,n){var f=l.pendingLanes;l.pendingLanes=a,l.suspendedLanes=0,l.pingedLanes=0,l.warmLanes=0,l.expiredLanes&=a,l.entangledLanes&=a,l.errorRecoveryDisabledLanes&=a,l.shellSuspendCounter=0;var c=l.entanglements,i=l.expirationTimes,h=l.hiddenUpdates;for(a=f&~a;0)":-1e||i[u]!==h[e]){var g=` +`+i[u].replace(" at new "," at ");return l.displayName&&g.includes("")&&(g=g.replace("",l.displayName)),g}while(1<=u&&0<=e);break}}}finally{jn=!1,Error.prepareStackTrace=a}return(a=l?l.displayName||l.name:"")?Na(a):""}function sy(l){switch(l.tag){case 26:case 27:case 5:return Na(l.type);case 16:return Na("Lazy");case 13:return Na("Suspense");case 19:return Na("SuspenseList");case 0:case 15:return Cn(l.type,!1);case 11:return Cn(l.type.render,!1);case 1:return Cn(l.type,!0);case 31:return Na("Activity");default:return""}}function hi(l){try{var t="";do t+=sy(l),l=l.return;while(l);return t}catch(a){return` +Error generating stack: `+a.message+` +`+a.stack}}function Vl(l){switch(typeof l){case"bigint":case"boolean":case"number":case"string":case"undefined":return l;case"object":return l;default:return""}}function si(l){var t=l.type;return(l=l.nodeName)&&l.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function my(l){var t=si(l)?"checked":"value",a=Object.getOwnPropertyDescriptor(l.constructor.prototype,t),u=""+l[t];if(!l.hasOwnProperty(t)&&typeof a<"u"&&typeof a.get=="function"&&typeof a.set=="function"){var e=a.get,n=a.set;return Object.defineProperty(l,t,{configurable:!0,get:function(){return e.call(this)},set:function(f){u=""+f,n.call(this,f)}}),Object.defineProperty(l,t,{enumerable:a.enumerable}),{getValue:function(){return u},setValue:function(f){u=""+f},stopTracking:function(){l._valueTracker=null,delete l[t]}}}}function Ae(l){l._valueTracker||(l._valueTracker=my(l))}function mi(l){if(!l)return!1;var t=l._valueTracker;if(!t)return!0;var a=t.getValue(),u="";return l&&(u=si(l)?l.checked?"true":"false":l.value),l=u,l!==a?(t.setValue(l),!0):!1}function Ee(l){if(l=l||(typeof document<"u"?document:void 0),typeof l>"u")return null;try{return l.activeElement||l.body}catch{return l.body}}var Sy=/[\n"\\]/g;function jl(l){return l.replace(Sy,function(t){return"\\"+t.charCodeAt(0).toString(16)+" "})}function Kn(l,t,a,u,e,n,f,c){l.name="",f!=null&&typeof f!="function"&&typeof f!="symbol"&&typeof f!="boolean"?l.type=f:l.removeAttribute("type"),t!=null?f==="number"?(t===0&&l.value===""||l.value!=t)&&(l.value=""+Vl(t)):l.value!==""+Vl(t)&&(l.value=""+Vl(t)):f!=="submit"&&f!=="reset"||l.removeAttribute("value"),t!=null?Ln(l,f,Vl(t)):a!=null?Ln(l,f,Vl(a)):u!=null&&l.removeAttribute("value"),e==null&&n!=null&&(l.defaultChecked=!!n),e!=null&&(l.checked=e&&typeof e!="function"&&typeof e!="symbol"),c!=null&&typeof c!="function"&&typeof c!="symbol"&&typeof c!="boolean"?l.name=""+Vl(c):l.removeAttribute("name")}function Si(l,t,a,u,e,n,f,c){if(n!=null&&typeof n!="function"&&typeof n!="symbol"&&typeof n!="boolean"&&(l.type=n),t!=null||a!=null){if(!(n!=="submit"&&n!=="reset"||t!=null))return;a=a!=null?""+Vl(a):"",t=t!=null?""+Vl(t):a,c||t===l.value||(l.value=t),l.defaultValue=t}u=u??e,u=typeof u!="function"&&typeof u!="symbol"&&!!u,l.checked=c?l.checked:!!u,l.defaultChecked=!!u,f!=null&&typeof f!="function"&&typeof f!="symbol"&&typeof f!="boolean"&&(l.name=f)}function Ln(l,t,a){t==="number"&&Ee(l.ownerDocument)===l||l.defaultValue===""+a||(l.defaultValue=""+a)}function Ha(l,t,a,u){if(l=l.options,t){t={};for(var e=0;e"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),$n=!1;if(mt)try{var bu={};Object.defineProperty(bu,"passive",{get:function(){$n=!0}}),window.addEventListener("test",bu,bu),window.removeEventListener("test",bu,bu)}catch{$n=!1}var Bt=null,kn=null,Me=null;function Ei(){if(Me)return Me;var l,t=kn,a=t.length,u,e="value"in Bt?Bt.value:Bt.textContent,n=e.length;for(l=0;l=zu),Ri=" ",Ni=!1;function Hi(l,t){switch(l){case"keyup":return Ky.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function qi(l){return l=l.detail,typeof l=="object"&&"data"in l?l.data:null}var Ya=!1;function py(l,t){switch(l){case"compositionend":return qi(t);case"keypress":return t.which!==32?null:(Ni=!0,Ri);case"textInput":return l=t.data,l===Ri&&Ni?null:l;default:return null}}function Jy(l,t){if(Ya)return l==="compositionend"||!tf&&Hi(l,t)?(l=Ei(),Me=kn=Bt=null,Ya=!1,l):null;switch(l){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1=t)return{node:a,offset:t-l};l=u}l:{for(;a;){if(a.nextSibling){a=a.nextSibling;break l}a=a.parentNode}a=void 0}a=xi(a)}}function ji(l,t){return l&&t?l===t?!0:l&&l.nodeType===3?!1:t&&t.nodeType===3?ji(l,t.parentNode):"contains"in l?l.contains(t):l.compareDocumentPosition?!!(l.compareDocumentPosition(t)&16):!1:!1}function Ci(l){l=l!=null&&l.ownerDocument!=null&&l.ownerDocument.defaultView!=null?l.ownerDocument.defaultView:window;for(var t=Ee(l.document);t instanceof l.HTMLIFrameElement;){try{var a=typeof t.contentWindow.location.href=="string"}catch{a=!1}if(a)l=t.contentWindow;else break;t=Ee(l.document)}return t}function ef(l){var t=l&&l.nodeName&&l.nodeName.toLowerCase();return t&&(t==="input"&&(l.type==="text"||l.type==="search"||l.type==="tel"||l.type==="url"||l.type==="password")||t==="textarea"||l.contentEditable==="true")}var ld=mt&&"documentMode"in document&&11>=document.documentMode,Ga=null,nf=null,Mu=null,ff=!1;function Ki(l,t,a){var u=a.window===a?a.document:a.nodeType===9?a:a.ownerDocument;ff||Ga==null||Ga!==Ee(u)||(u=Ga,"selectionStart"in u&&ef(u)?u={start:u.selectionStart,end:u.selectionEnd}:(u=(u.ownerDocument&&u.ownerDocument.defaultView||window).getSelection(),u={anchorNode:u.anchorNode,anchorOffset:u.anchorOffset,focusNode:u.focusNode,focusOffset:u.focusOffset}),Mu&&Ou(Mu,u)||(Mu=u,u=Sn(nf,"onSelect"),0>=f,e-=f,gt=1<<32-Rl(t)+e|a<n?n:8;var f=o.T,c={};o.T=c,Jf(l,!1,t,a);try{var i=e(),h=o.S;if(h!==null&&h(c,i),i!==null&&typeof i=="object"&&typeof i.then=="function"){var g=vd(i,u);xu(l,t,g,Yl(l))}else xu(l,t,u,Yl(l))}catch(T){xu(l,t,{then:function(){},status:"rejected",reason:T},Yl())}finally{E.p=n,o.T=f}}function md(){}function Lf(l,t,a,u){if(l.tag!==5)throw Error(S(476));var e=L0(l).queue;K0(l,e,t,H,a===null?md:function(){return p0(l),a(u)})}function L0(l){var t=l.memoizedState;if(t!==null)return t;t={memoizedState:H,baseState:H,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:zt,lastRenderedState:H},next:null};var a={};return t.next={memoizedState:a,baseState:a,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:zt,lastRenderedState:a},next:null},l.memoizedState=t,l=l.alternate,l!==null&&(l.memoizedState=t),t}function p0(l){var t=L0(l).next.queue;xu(l,t,{},Yl())}function pf(){return ol(ue)}function J0(){return fl().memoizedState}function w0(){return fl().memoizedState}function Sd(l){for(var t=l.return;t!==null;){switch(t.tag){case 24:case 3:var a=Yl();l=Xt(a);var u=Qt(t,l,a);u!==null&&(Gl(u,t,a),Bu(u,t,a)),t={cache:Af()},l.payload=t;return}t=t.return}}function gd(l,t,a){var u=Yl();a={lane:u,revertLane:0,action:a,hasEagerState:!1,eagerState:null,next:null},We(l)?$0(t,a):(a=df(l,t,a,u),a!==null&&(Gl(a,l,u),k0(a,t,u)))}function W0(l,t,a){var u=Yl();xu(l,t,a,u)}function xu(l,t,a,u){var e={lane:u,revertLane:0,action:a,hasEagerState:!1,eagerState:null,next:null};if(We(l))$0(t,e);else{var n=l.alternate;if(l.lanes===0&&(n===null||n.lanes===0)&&(n=t.lastRenderedReducer,n!==null))try{var f=t.lastRenderedState,c=n(f,a);if(e.hasEagerState=!0,e.eagerState=c,Nl(c,f))return qe(l,t,e,0),J===null&&He(),!1}catch{}finally{}if(a=df(l,t,e,u),a!==null)return Gl(a,l,u),k0(a,t,u),!0}return!1}function Jf(l,t,a,u){if(u={lane:2,revertLane:Mc(),action:u,hasEagerState:!1,eagerState:null,next:null},We(l)){if(t)throw Error(S(479))}else t=df(l,a,u,2),t!==null&&Gl(t,l,2)}function We(l){var t=l.alternate;return l===q||t!==null&&t===q}function $0(l,t){pa=Ce=!0;var a=l.pending;a===null?t.next=t:(t.next=a.next,a.next=t),l.pending=t}function k0(l,t,a){if((a&4194048)!==0){var u=t.lanes;u&=l.pendingLanes,a|=u,t.lanes=a,ei(l,a)}}var $e={readContext:ol,use:Le,useCallback:ul,useContext:ul,useEffect:ul,useImperativeHandle:ul,useLayoutEffect:ul,useInsertionEffect:ul,useMemo:ul,useReducer:ul,useRef:ul,useState:ul,useDebugValue:ul,useDeferredValue:ul,useTransition:ul,useSyncExternalStore:ul,useId:ul,useHostTransitionStatus:ul,useFormState:ul,useActionState:ul,useOptimistic:ul,useMemoCache:ul,useCacheRefresh:ul},F0={readContext:ol,use:Le,useCallback:function(l,t){return Ml().memoizedState=[l,t===void 0?null:t],l},useContext:ol,useEffect:Y0,useImperativeHandle:function(l,t,a){a=a!=null?a.concat([l]):null,we(4194308,4,Z0.bind(null,t,l),a)},useLayoutEffect:function(l,t){return we(4194308,4,l,t)},useInsertionEffect:function(l,t){we(4,2,l,t)},useMemo:function(l,t){var a=Ml();t=t===void 0?null:t;var u=l();if(ga){qt(!0);try{l()}finally{qt(!1)}}return a.memoizedState=[u,t],u},useReducer:function(l,t,a){var u=Ml();if(a!==void 0){var e=a(t);if(ga){qt(!0);try{a(t)}finally{qt(!1)}}}else e=t;return u.memoizedState=u.baseState=e,l={pending:null,lanes:0,dispatch:null,lastRenderedReducer:l,lastRenderedState:e},u.queue=l,l=l.dispatch=gd.bind(null,q,l),[u.memoizedState,l]},useRef:function(l){var t=Ml();return l={current:l},t.memoizedState=l},useState:function(l){l=Vf(l);var t=l.queue,a=W0.bind(null,q,t);return t.dispatch=a,[l.memoizedState,a]},useDebugValue:Cf,useDeferredValue:function(l,t){var a=Ml();return Kf(a,l,t)},useTransition:function(){var l=Vf(!1);return l=K0.bind(null,q,l.queue,!0,!1),Ml().memoizedState=l,[!1,l]},useSyncExternalStore:function(l,t,a){var u=q,e=Ml();if(Z){if(a===void 0)throw Error(S(407));a=a()}else{if(a=t(),J===null)throw Error(S(349));(X&124)!==0||o0(u,t,a)}e.memoizedState=a;var n={value:a,getSnapshot:t};return e.queue=n,Y0(z0.bind(null,u,n,l),[l]),u.flags|=2048,wa(9,Je(),T0.bind(null,u,n,a,t),null),a},useId:function(){var l=Ml(),t=J.identifierPrefix;if(Z){var a=bt,u=gt;a=(u&~(1<<32-Rl(u)-1)).toString(32)+a,t="«"+t+"R"+a,a=Ke++,0R?(sl=M,M=null):sl=M.sibling;var Q=s(y,M,d[R],b);if(Q===null){M===null&&(M=sl);break}l&&M&&Q.alternate===null&&t(y,M),v=n(Q,v,R),r===null?O=Q:r.sibling=Q,r=Q,M=sl}if(R===d.length)return a(y,M),Z&&ya(y,R),O;if(M===null){for(;RR?(sl=M,M=null):sl=M.sibling;var la=s(y,M,Q.value,b);if(la===null){M===null&&(M=sl);break}l&&M&&la.alternate===null&&t(y,M),v=n(la,v,R),r===null?O=la:r.sibling=la,r=la,M=sl}if(Q.done)return a(y,M),Z&&ya(y,R),O;if(M===null){for(;!Q.done;R++,Q=d.next())Q=T(y,Q.value,b),Q!==null&&(v=n(Q,v,R),r===null?O=Q:r.sibling=Q,r=Q);return Z&&ya(y,R),O}for(M=u(M);!Q.done;R++,Q=d.next())Q=m(M,y,R,Q.value,b),Q!==null&&(l&&Q.alternate!==null&&M.delete(Q.key===null?R:Q.key),v=n(Q,v,R),r===null?O=Q:r.sibling=Q,r=Q);return l&&M.forEach(function(oh){return t(y,oh)}),Z&&ya(y,R),O}function L(y,v,d,b){if(typeof d=="object"&&d!==null&&d.type===Ql&&d.key===null&&(d=d.props.children),typeof d=="object"&&d!==null){switch(d.$$typeof){case $:l:{for(var O=d.key;v!==null;){if(v.key===O){if(O=d.type,O===Ql){if(v.tag===7){a(y,v.sibling),b=e(v,d.props.children),b.return=y,y=b;break l}}else if(v.elementType===O||typeof O=="object"&&O!==null&&O.$$typeof===Il&&P0(O)===v.type){a(y,v.sibling),b=e(v,d.props),ju(b,d),b.return=y,y=b;break l}a(y,v);break}else t(y,v);v=v.sibling}d.type===Ql?(b=ia(d.props.children,y.mode,b,d.key),b.return=y,y=b):(b=Be(d.type,d.key,d.props,null,y.mode,b),ju(b,d),b.return=y,y=b)}return f(y);case Xl:l:{for(O=d.key;v!==null;){if(v.key===O)if(v.tag===4&&v.stateNode.containerInfo===d.containerInfo&&v.stateNode.implementation===d.implementation){a(y,v.sibling),b=e(v,d.children||[]),b.return=y,y=b;break l}else{a(y,v);break}else t(y,v);v=v.sibling}b=mf(d,y.mode,b),b.return=y,y=b}return f(y);case Il:return O=d._init,d=O(d._payload),L(y,v,d,b)}if(ht(d))return N(y,v,d,b);if(xl(d)){if(O=xl(d),typeof O!="function")throw Error(S(150));return d=O.call(d),D(y,v,d,b)}if(typeof d.then=="function")return L(y,v,ke(d),b);if(d.$$typeof===Zl)return L(y,v,Qe(y,d),b);Fe(y,d)}return typeof d=="string"&&d!==""||typeof d=="number"||typeof d=="bigint"?(d=""+d,v!==null&&v.tag===6?(a(y,v.sibling),b=e(v,d),b.return=y,y=b):(a(y,v),b=sf(d,y.mode,b),b.return=y,y=b),f(y)):a(y,v)}return function(y,v,d,b){try{Vu=0;var O=L(y,v,d,b);return Wa=null,O}catch(M){if(M===qu||M===xe)throw M;var r=Hl(29,M,null,y.mode);return r.lanes=b,r.return=y,r}finally{}}}var $a=lv(!0),tv=lv(!1),Jl=zl(null),ft=null;function xt(l){var t=l.alternate;j(il,il.current&1),j(Jl,l),ft===null&&(t===null||La.current!==null||t.memoizedState!==null)&&(ft=l)}function av(l){if(l.tag===22){if(j(il,il.current),j(Jl,l),ft===null){var t=l.alternate;t!==null&&t.memoizedState!==null&&(ft=l)}}else Vt()}function Vt(){j(il,il.current),j(Jl,Jl.current)}function At(l){I(Jl),ft===l&&(ft=null),I(il)}var il=zl(0);function Ie(l){for(var t=l;t!==null;){if(t.tag===13){var a=t.memoizedState;if(a!==null&&(a=a.dehydrated,a===null||a.data==="$?"||Xc(a)))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===l)break;for(;t.sibling===null;){if(t.return===null||t.return===l)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}function wf(l,t,a,u){t=l.memoizedState,a=a(u,t),a=a==null?t:_({},t,a),l.memoizedState=a,l.lanes===0&&(l.updateQueue.baseState=a)}var Wf={enqueueSetState:function(l,t,a){l=l._reactInternals;var u=Yl(),e=Xt(u);e.payload=t,a!=null&&(e.callback=a),t=Qt(l,e,u),t!==null&&(Gl(t,l,u),Bu(t,l,u))},enqueueReplaceState:function(l,t,a){l=l._reactInternals;var u=Yl(),e=Xt(u);e.tag=1,e.payload=t,a!=null&&(e.callback=a),t=Qt(l,e,u),t!==null&&(Gl(t,l,u),Bu(t,l,u))},enqueueForceUpdate:function(l,t){l=l._reactInternals;var a=Yl(),u=Xt(a);u.tag=2,t!=null&&(u.callback=t),t=Qt(l,u,a),t!==null&&(Gl(t,l,a),Bu(t,l,a))}};function uv(l,t,a,u,e,n,f){return l=l.stateNode,typeof l.shouldComponentUpdate=="function"?l.shouldComponentUpdate(u,n,f):t.prototype&&t.prototype.isPureReactComponent?!Ou(a,u)||!Ou(e,n):!0}function ev(l,t,a,u){l=t.state,typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps(a,u),typeof t.UNSAFE_componentWillReceiveProps=="function"&&t.UNSAFE_componentWillReceiveProps(a,u),t.state!==l&&Wf.enqueueReplaceState(t,t.state,null)}function ba(l,t){var a=t;if("ref"in t){a={};for(var u in t)u!=="ref"&&(a[u]=t[u])}if(l=l.defaultProps){a===t&&(a=_({},a));for(var e in l)a[e]===void 0&&(a[e]=l[e])}return a}var Pe=typeof reportError=="function"?reportError:function(l){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var t=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof l=="object"&&l!==null&&typeof l.message=="string"?String(l.message):String(l),error:l});if(!window.dispatchEvent(t))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",l);return}console.error(l)};function nv(l){Pe(l)}function fv(l){console.error(l)}function cv(l){Pe(l)}function ln(l,t){try{var a=l.onUncaughtError;a(t.value,{componentStack:t.stack})}catch(u){setTimeout(function(){throw u})}}function iv(l,t,a){try{var u=l.onCaughtError;u(a.value,{componentStack:a.stack,errorBoundary:t.tag===1?t.stateNode:null})}catch(e){setTimeout(function(){throw e})}}function $f(l,t,a){return a=Xt(a),a.tag=3,a.payload={element:null},a.callback=function(){ln(l,t)},a}function vv(l){return l=Xt(l),l.tag=3,l}function yv(l,t,a,u){var e=a.type.getDerivedStateFromError;if(typeof e=="function"){var n=u.value;l.payload=function(){return e(n)},l.callback=function(){iv(t,a,u)}}var f=a.stateNode;f!==null&&typeof f.componentDidCatch=="function"&&(l.callback=function(){iv(t,a,u),typeof e!="function"&&(Jt===null?Jt=new Set([this]):Jt.add(this));var c=u.stack;this.componentDidCatch(u.value,{componentStack:c!==null?c:""})})}function od(l,t,a,u,e){if(a.flags|=32768,u!==null&&typeof u=="object"&&typeof u.then=="function"){if(t=a.alternate,t!==null&&Ru(t,a,e,!0),a=Jl.current,a!==null){switch(a.tag){case 13:return ft===null?Tc():a.alternate===null&&al===0&&(al=3),a.flags&=-257,a.flags|=65536,a.lanes=e,u===Mf?a.flags|=16384:(t=a.updateQueue,t===null?a.updateQueue=new Set([u]):t.add(u),Ac(l,u,e)),!1;case 22:return a.flags|=65536,u===Mf?a.flags|=16384:(t=a.updateQueue,t===null?(t={transitions:null,markerInstances:null,retryQueue:new Set([u])},a.updateQueue=t):(a=t.retryQueue,a===null?t.retryQueue=new Set([u]):a.add(u)),Ac(l,u,e)),!1}throw Error(S(435,a.tag))}return Ac(l,u,e),Tc(),!1}if(Z)return t=Jl.current,t!==null?((t.flags&65536)===0&&(t.flags|=256),t.flags|=65536,t.lanes=e,u!==bf&&(l=Error(S(422),{cause:u}),_u(Cl(l,a)))):(u!==bf&&(t=Error(S(423),{cause:u}),_u(Cl(t,a))),l=l.current.alternate,l.flags|=65536,e&=-e,l.lanes|=e,u=Cl(u,a),e=$f(l.stateNode,u,e),_f(l,e),al!==4&&(al=2)),!1;var n=Error(S(520),{cause:u});if(n=Cl(n,a),Wu===null?Wu=[n]:Wu.push(n),al!==4&&(al=2),t===null)return!0;u=Cl(u,a),a=t;do{switch(a.tag){case 3:return a.flags|=65536,l=e&-e,a.lanes|=l,l=$f(a.stateNode,u,l),_f(a,l),!1;case 1:if(t=a.type,n=a.stateNode,(a.flags&128)===0&&(typeof t.getDerivedStateFromError=="function"||n!==null&&typeof n.componentDidCatch=="function"&&(Jt===null||!Jt.has(n))))return a.flags|=65536,e&=-e,a.lanes|=e,e=vv(e),yv(e,l,a,u),_f(a,e),!1}a=a.return}while(a!==null);return!1}var dv=Error(S(461)),dl=!1;function ml(l,t,a,u){t.child=l===null?tv(t,null,a,u):$a(t,l.child,a,u)}function hv(l,t,a,u,e){a=a.render;var n=t.ref;if("ref"in u){var f={};for(var c in u)c!=="ref"&&(f[c]=u[c])}else f=u;return ma(t),u=rf(l,t,a,f,n,e),c=Bf(),l!==null&&!dl?(Yf(l,t,e),Et(l,t,e)):(Z&&c&&Sf(t),t.flags|=1,ml(l,t,u,e),t.child)}function sv(l,t,a,u,e){if(l===null){var n=a.type;return typeof n=="function"&&!hf(n)&&n.defaultProps===void 0&&a.compare===null?(t.tag=15,t.type=n,mv(l,t,n,u,e)):(l=Be(a.type,null,u,t,t.mode,e),l.ref=t.ref,l.return=t,t.child=l)}if(n=l.child,!uc(l,e)){var f=n.memoizedProps;if(a=a.compare,a=a!==null?a:Ou,a(f,u)&&l.ref===t.ref)return Et(l,t,e)}return t.flags|=1,l=St(n,u),l.ref=t.ref,l.return=t,t.child=l}function mv(l,t,a,u,e){if(l!==null){var n=l.memoizedProps;if(Ou(n,u)&&l.ref===t.ref)if(dl=!1,t.pendingProps=u=n,uc(l,e))(l.flags&131072)!==0&&(dl=!0);else return t.lanes=l.lanes,Et(l,t,e)}return kf(l,t,a,u,e)}function Sv(l,t,a){var u=t.pendingProps,e=u.children,n=l!==null?l.memoizedState:null;if(u.mode==="hidden"){if((t.flags&128)!==0){if(u=n!==null?n.baseLanes|a:a,l!==null){for(e=t.child=l.child,n=0;e!==null;)n=n|e.lanes|e.childLanes,e=e.sibling;t.childLanes=n&~u}else t.childLanes=0,t.child=null;return gv(l,t,u,a)}if((a&536870912)!==0)t.memoizedState={baseLanes:0,cachePool:null},l!==null&&Ze(t,n!==null?n.cachePool:null),n!==null?m0(t,n):Nf(),av(t);else return t.lanes=t.childLanes=536870912,gv(l,t,n!==null?n.baseLanes|a:a,a)}else n!==null?(Ze(t,n.cachePool),m0(t,n),Vt(),t.memoizedState=null):(l!==null&&Ze(t,null),Nf(),Vt());return ml(l,t,e,a),t.child}function gv(l,t,a,u){var e=Of();return e=e===null?null:{parent:cl._currentValue,pool:e},t.memoizedState={baseLanes:a,cachePool:e},l!==null&&Ze(t,null),Nf(),av(t),l!==null&&Ru(l,t,u,!0),null}function tn(l,t){var a=t.ref;if(a===null)l!==null&&l.ref!==null&&(t.flags|=4194816);else{if(typeof a!="function"&&typeof a!="object")throw Error(S(284));(l===null||l.ref!==a)&&(t.flags|=4194816)}}function kf(l,t,a,u,e){return ma(t),a=rf(l,t,a,u,void 0,e),u=Bf(),l!==null&&!dl?(Yf(l,t,e),Et(l,t,e)):(Z&&u&&Sf(t),t.flags|=1,ml(l,t,a,e),t.child)}function bv(l,t,a,u,e,n){return ma(t),t.updateQueue=null,a=g0(t,u,a,e),S0(l),u=Bf(),l!==null&&!dl?(Yf(l,t,n),Et(l,t,n)):(Z&&u&&Sf(t),t.flags|=1,ml(l,t,a,n),t.child)}function ov(l,t,a,u,e){if(ma(t),t.stateNode===null){var n=xa,f=a.contextType;typeof f=="object"&&f!==null&&(n=ol(f)),n=new a(u,n),t.memoizedState=n.state!==null&&n.state!==void 0?n.state:null,n.updater=Wf,t.stateNode=n,n._reactInternals=t,n=t.stateNode,n.props=u,n.state=t.memoizedState,n.refs={},Df(t),f=a.contextType,n.context=typeof f=="object"&&f!==null?ol(f):xa,n.state=t.memoizedState,f=a.getDerivedStateFromProps,typeof f=="function"&&(wf(t,a,f,u),n.state=t.memoizedState),typeof a.getDerivedStateFromProps=="function"||typeof n.getSnapshotBeforeUpdate=="function"||typeof n.UNSAFE_componentWillMount!="function"&&typeof n.componentWillMount!="function"||(f=n.state,typeof n.componentWillMount=="function"&&n.componentWillMount(),typeof n.UNSAFE_componentWillMount=="function"&&n.UNSAFE_componentWillMount(),f!==n.state&&Wf.enqueueReplaceState(n,n.state,null),Gu(t,u,n,e),Yu(),n.state=t.memoizedState),typeof n.componentDidMount=="function"&&(t.flags|=4194308),u=!0}else if(l===null){n=t.stateNode;var c=t.memoizedProps,i=ba(a,c);n.props=i;var h=n.context,g=a.contextType;f=xa,typeof g=="object"&&g!==null&&(f=ol(g));var T=a.getDerivedStateFromProps;g=typeof T=="function"||typeof n.getSnapshotBeforeUpdate=="function",c=t.pendingProps!==c,g||typeof n.UNSAFE_componentWillReceiveProps!="function"&&typeof n.componentWillReceiveProps!="function"||(c||h!==f)&&ev(t,n,u,f),Gt=!1;var s=t.memoizedState;n.state=s,Gu(t,u,n,e),Yu(),h=t.memoizedState,c||s!==h||Gt?(typeof T=="function"&&(wf(t,a,T,u),h=t.memoizedState),(i=Gt||uv(t,a,i,u,s,h,f))?(g||typeof n.UNSAFE_componentWillMount!="function"&&typeof n.componentWillMount!="function"||(typeof n.componentWillMount=="function"&&n.componentWillMount(),typeof n.UNSAFE_componentWillMount=="function"&&n.UNSAFE_componentWillMount()),typeof n.componentDidMount=="function"&&(t.flags|=4194308)):(typeof n.componentDidMount=="function"&&(t.flags|=4194308),t.memoizedProps=u,t.memoizedState=h),n.props=u,n.state=h,n.context=f,u=i):(typeof n.componentDidMount=="function"&&(t.flags|=4194308),u=!1)}else{n=t.stateNode,Uf(l,t),f=t.memoizedProps,g=ba(a,f),n.props=g,T=t.pendingProps,s=n.context,h=a.contextType,i=xa,typeof h=="object"&&h!==null&&(i=ol(h)),c=a.getDerivedStateFromProps,(h=typeof c=="function"||typeof n.getSnapshotBeforeUpdate=="function")||typeof n.UNSAFE_componentWillReceiveProps!="function"&&typeof n.componentWillReceiveProps!="function"||(f!==T||s!==i)&&ev(t,n,u,i),Gt=!1,s=t.memoizedState,n.state=s,Gu(t,u,n,e),Yu();var m=t.memoizedState;f!==T||s!==m||Gt||l!==null&&l.dependencies!==null&&Xe(l.dependencies)?(typeof c=="function"&&(wf(t,a,c,u),m=t.memoizedState),(g=Gt||uv(t,a,g,u,s,m,i)||l!==null&&l.dependencies!==null&&Xe(l.dependencies))?(h||typeof n.UNSAFE_componentWillUpdate!="function"&&typeof n.componentWillUpdate!="function"||(typeof n.componentWillUpdate=="function"&&n.componentWillUpdate(u,m,i),typeof n.UNSAFE_componentWillUpdate=="function"&&n.UNSAFE_componentWillUpdate(u,m,i)),typeof n.componentDidUpdate=="function"&&(t.flags|=4),typeof n.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof n.componentDidUpdate!="function"||f===l.memoizedProps&&s===l.memoizedState||(t.flags|=4),typeof n.getSnapshotBeforeUpdate!="function"||f===l.memoizedProps&&s===l.memoizedState||(t.flags|=1024),t.memoizedProps=u,t.memoizedState=m),n.props=u,n.state=m,n.context=i,u=g):(typeof n.componentDidUpdate!="function"||f===l.memoizedProps&&s===l.memoizedState||(t.flags|=4),typeof n.getSnapshotBeforeUpdate!="function"||f===l.memoizedProps&&s===l.memoizedState||(t.flags|=1024),u=!1)}return n=u,tn(l,t),u=(t.flags&128)!==0,n||u?(n=t.stateNode,a=u&&typeof a.getDerivedStateFromError!="function"?null:n.render(),t.flags|=1,l!==null&&u?(t.child=$a(t,l.child,null,e),t.child=$a(t,null,a,e)):ml(l,t,a,e),t.memoizedState=n.state,l=t.child):l=Et(l,t,e),l}function Tv(l,t,a,u){return Uu(),t.flags|=256,ml(l,t,a,u),t.child}var Ff={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function If(l){return{baseLanes:l,cachePool:f0()}}function Pf(l,t,a){return l=l!==null?l.childLanes&~a:0,t&&(l|=wl),l}function zv(l,t,a){var u=t.pendingProps,e=!1,n=(t.flags&128)!==0,f;if((f=n)||(f=l!==null&&l.memoizedState===null?!1:(il.current&2)!==0),f&&(e=!0,t.flags&=-129),f=(t.flags&32)!==0,t.flags&=-33,l===null){if(Z){if(e?xt(t):Vt(),Z){var c=tl,i;if(i=c){l:{for(i=c,c=nt;i.nodeType!==8;){if(!c){c=null;break l}if(i=tt(i.nextSibling),i===null){c=null;break l}}c=i}c!==null?(t.memoizedState={dehydrated:c,treeContext:va!==null?{id:gt,overflow:bt}:null,retryLane:536870912,hydrationErrors:null},i=Hl(18,null,null,0),i.stateNode=c,i.return=t,t.child=i,Al=t,tl=null,i=!0):i=!1}i||ha(t)}if(c=t.memoizedState,c!==null&&(c=c.dehydrated,c!==null))return Xc(c)?t.lanes=32:t.lanes=536870912,null;At(t)}return c=u.children,u=u.fallback,e?(Vt(),e=t.mode,c=an({mode:"hidden",children:c},e),u=ia(u,e,a,null),c.return=t,u.return=t,c.sibling=u,t.child=c,e=t.child,e.memoizedState=If(a),e.childLanes=Pf(l,f,a),t.memoizedState=Ff,u):(xt(t),lc(t,c))}if(i=l.memoizedState,i!==null&&(c=i.dehydrated,c!==null)){if(n)t.flags&256?(xt(t),t.flags&=-257,t=tc(l,t,a)):t.memoizedState!==null?(Vt(),t.child=l.child,t.flags|=128,t=null):(Vt(),e=u.fallback,c=t.mode,u=an({mode:"visible",children:u.children},c),e=ia(e,c,a,null),e.flags|=2,u.return=t,e.return=t,u.sibling=e,t.child=u,$a(t,l.child,null,a),u=t.child,u.memoizedState=If(a),u.childLanes=Pf(l,f,a),t.memoizedState=Ff,t=e);else if(xt(t),Xc(c)){if(f=c.nextSibling&&c.nextSibling.dataset,f)var h=f.dgst;f=h,u=Error(S(419)),u.stack="",u.digest=f,_u({value:u,source:null,stack:null}),t=tc(l,t,a)}else if(dl||Ru(l,t,a,!1),f=(a&l.childLanes)!==0,dl||f){if(f=J,f!==null&&(u=a&-a,u=(u&42)!==0?1:Xn(u),u=(u&(f.suspendedLanes|a))!==0?0:u,u!==0&&u!==i.retryLane))throw i.retryLane=u,Za(l,u),Gl(f,l,u),dv;c.data==="$?"||Tc(),t=tc(l,t,a)}else c.data==="$?"?(t.flags|=192,t.child=l.child,t=null):(l=i.treeContext,tl=tt(c.nextSibling),Al=t,Z=!0,da=null,nt=!1,l!==null&&(Ll[pl++]=gt,Ll[pl++]=bt,Ll[pl++]=va,gt=l.id,bt=l.overflow,va=t),t=lc(t,u.children),t.flags|=4096);return t}return e?(Vt(),e=u.fallback,c=t.mode,i=l.child,h=i.sibling,u=St(i,{mode:"hidden",children:u.children}),u.subtreeFlags=i.subtreeFlags&65011712,h!==null?e=St(h,e):(e=ia(e,c,a,null),e.flags|=2),e.return=t,u.return=t,u.sibling=e,t.child=u,u=e,e=t.child,c=l.child.memoizedState,c===null?c=If(a):(i=c.cachePool,i!==null?(h=cl._currentValue,i=i.parent!==h?{parent:h,pool:h}:i):i=f0(),c={baseLanes:c.baseLanes|a,cachePool:i}),e.memoizedState=c,e.childLanes=Pf(l,f,a),t.memoizedState=Ff,u):(xt(t),a=l.child,l=a.sibling,a=St(a,{mode:"visible",children:u.children}),a.return=t,a.sibling=null,l!==null&&(f=t.deletions,f===null?(t.deletions=[l],t.flags|=16):f.push(l)),t.child=a,t.memoizedState=null,a)}function lc(l,t){return t=an({mode:"visible",children:t},l.mode),t.return=l,l.child=t}function an(l,t){return l=Hl(22,l,null,t),l.lanes=0,l.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null},l}function tc(l,t,a){return $a(t,l.child,null,a),l=lc(t,t.pendingProps.children),l.flags|=2,t.memoizedState=null,l}function Av(l,t,a){l.lanes|=t;var u=l.alternate;u!==null&&(u.lanes|=t),Tf(l.return,t,a)}function ac(l,t,a,u,e){var n=l.memoizedState;n===null?l.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:u,tail:a,tailMode:e}:(n.isBackwards=t,n.rendering=null,n.renderingStartTime=0,n.last=u,n.tail=a,n.tailMode=e)}function Ev(l,t,a){var u=t.pendingProps,e=u.revealOrder,n=u.tail;if(ml(l,t,u.children,a),u=il.current,(u&2)!==0)u=u&1|2,t.flags|=128;else{if(l!==null&&(l.flags&128)!==0)l:for(l=t.child;l!==null;){if(l.tag===13)l.memoizedState!==null&&Av(l,a,t);else if(l.tag===19)Av(l,a,t);else if(l.child!==null){l.child.return=l,l=l.child;continue}if(l===t)break l;for(;l.sibling===null;){if(l.return===null||l.return===t)break l;l=l.return}l.sibling.return=l.return,l=l.sibling}u&=1}switch(j(il,u),e){case"forwards":for(a=t.child,e=null;a!==null;)l=a.alternate,l!==null&&Ie(l)===null&&(e=a),a=a.sibling;a=e,a===null?(e=t.child,t.child=null):(e=a.sibling,a.sibling=null),ac(t,!1,e,a,n);break;case"backwards":for(a=null,e=t.child,t.child=null;e!==null;){if(l=e.alternate,l!==null&&Ie(l)===null){t.child=e;break}l=e.sibling,e.sibling=a,a=e,e=l}ac(t,!0,a,null,n);break;case"together":ac(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function Et(l,t,a){if(l!==null&&(t.dependencies=l.dependencies),pt|=t.lanes,(a&t.childLanes)===0)if(l!==null){if(Ru(l,t,a,!1),(a&t.childLanes)===0)return null}else return null;if(l!==null&&t.child!==l.child)throw Error(S(153));if(t.child!==null){for(l=t.child,a=St(l,l.pendingProps),t.child=a,a.return=t;l.sibling!==null;)l=l.sibling,a=a.sibling=St(l,l.pendingProps),a.return=t;a.sibling=null}return t.child}function uc(l,t){return(l.lanes&t)!==0?!0:(l=l.dependencies,!!(l!==null&&Xe(l)))}function Td(l,t,a){switch(t.tag){case 3:se(t,t.stateNode.containerInfo),Yt(t,cl,l.memoizedState.cache),Uu();break;case 27:case 5:qn(t);break;case 4:se(t,t.stateNode.containerInfo);break;case 10:Yt(t,t.type,t.memoizedProps.value);break;case 13:var u=t.memoizedState;if(u!==null)return u.dehydrated!==null?(xt(t),t.flags|=128,null):(a&t.child.childLanes)!==0?zv(l,t,a):(xt(t),l=Et(l,t,a),l!==null?l.sibling:null);xt(t);break;case 19:var e=(l.flags&128)!==0;if(u=(a&t.childLanes)!==0,u||(Ru(l,t,a,!1),u=(a&t.childLanes)!==0),e){if(u)return Ev(l,t,a);t.flags|=128}if(e=t.memoizedState,e!==null&&(e.rendering=null,e.tail=null,e.lastEffect=null),j(il,il.current),u)break;return null;case 22:case 23:return t.lanes=0,Sv(l,t,a);case 24:Yt(t,cl,l.memoizedState.cache)}return Et(l,t,a)}function Ov(l,t,a){if(l!==null)if(l.memoizedProps!==t.pendingProps)dl=!0;else{if(!uc(l,a)&&(t.flags&128)===0)return dl=!1,Td(l,t,a);dl=(l.flags&131072)!==0}else dl=!1,Z&&(t.flags&1048576)!==0&&Pi(t,Ge,t.index);switch(t.lanes=0,t.tag){case 16:l:{l=t.pendingProps;var u=t.elementType,e=u._init;if(u=e(u._payload),t.type=u,typeof u=="function")hf(u)?(l=ba(u,l),t.tag=1,t=ov(null,t,u,l,a)):(t.tag=0,t=kf(null,t,u,l,a));else{if(u!=null){if(e=u.$$typeof,e===Nt){t.tag=11,t=hv(null,t,u,l,a);break l}else if(e===dt){t.tag=14,t=sv(null,t,u,l,a);break l}}throw t=yu(u)||u,Error(S(306,t,""))}}return t;case 0:return kf(l,t,t.type,t.pendingProps,a);case 1:return u=t.type,e=ba(u,t.pendingProps),ov(l,t,u,e,a);case 3:l:{if(se(t,t.stateNode.containerInfo),l===null)throw Error(S(387));u=t.pendingProps;var n=t.memoizedState;e=n.element,Uf(l,t),Gu(t,u,null,a);var f=t.memoizedState;if(u=f.cache,Yt(t,cl,u),u!==n.cache&&zf(t,[cl],a,!0),Yu(),u=f.element,n.isDehydrated)if(n={element:u,isDehydrated:!1,cache:f.cache},t.updateQueue.baseState=n,t.memoizedState=n,t.flags&256){t=Tv(l,t,u,a);break l}else if(u!==e){e=Cl(Error(S(424)),t),_u(e),t=Tv(l,t,u,a);break l}else{switch(l=t.stateNode.containerInfo,l.nodeType){case 9:l=l.body;break;default:l=l.nodeName==="HTML"?l.ownerDocument.body:l}for(tl=tt(l.firstChild),Al=t,Z=!0,da=null,nt=!0,a=tv(t,null,u,a),t.child=a;a;)a.flags=a.flags&-3|4096,a=a.sibling}else{if(Uu(),u===e){t=Et(l,t,a);break l}ml(l,t,u,a)}t=t.child}return t;case 26:return tn(l,t),l===null?(a=_1(t.type,null,t.pendingProps,null))?t.memoizedState=a:Z||(a=t.type,l=t.pendingProps,u=bn(Ht.current).createElement(a),u[bl]=t,u[El]=l,gl(u,a,l),yl(u),t.stateNode=u):t.memoizedState=_1(t.type,l.memoizedProps,t.pendingProps,l.memoizedState),null;case 27:return qn(t),l===null&&Z&&(u=t.stateNode=M1(t.type,t.pendingProps,Ht.current),Al=t,nt=!0,e=tl,$t(t.type)?(Qc=e,tl=tt(u.firstChild)):tl=e),ml(l,t,t.pendingProps.children,a),tn(l,t),l===null&&(t.flags|=4194304),t.child;case 5:return l===null&&Z&&((e=u=tl)&&(u=wd(u,t.type,t.pendingProps,nt),u!==null?(t.stateNode=u,Al=t,tl=tt(u.firstChild),nt=!1,e=!0):e=!1),e||ha(t)),qn(t),e=t.type,n=t.pendingProps,f=l!==null?l.memoizedProps:null,u=n.children,Bc(e,n)?u=null:f!==null&&Bc(e,f)&&(t.flags|=32),t.memoizedState!==null&&(e=rf(l,t,dd,null,null,a),ue._currentValue=e),tn(l,t),ml(l,t,u,a),t.child;case 6:return l===null&&Z&&((l=a=tl)&&(a=Wd(a,t.pendingProps,nt),a!==null?(t.stateNode=a,Al=t,tl=null,l=!0):l=!1),l||ha(t)),null;case 13:return zv(l,t,a);case 4:return se(t,t.stateNode.containerInfo),u=t.pendingProps,l===null?t.child=$a(t,null,u,a):ml(l,t,u,a),t.child;case 11:return hv(l,t,t.type,t.pendingProps,a);case 7:return ml(l,t,t.pendingProps,a),t.child;case 8:return ml(l,t,t.pendingProps.children,a),t.child;case 12:return ml(l,t,t.pendingProps.children,a),t.child;case 10:return u=t.pendingProps,Yt(t,t.type,u.value),ml(l,t,u.children,a),t.child;case 9:return e=t.type._context,u=t.pendingProps.children,ma(t),e=ol(e),u=u(e),t.flags|=1,ml(l,t,u,a),t.child;case 14:return sv(l,t,t.type,t.pendingProps,a);case 15:return mv(l,t,t.type,t.pendingProps,a);case 19:return Ev(l,t,a);case 31:return u=t.pendingProps,a=t.mode,u={mode:u.mode,children:u.children},l===null?(a=an(u,a),a.ref=t.ref,t.child=a,a.return=t,t=a):(a=St(l.child,u),a.ref=t.ref,t.child=a,a.return=t,t=a),t;case 22:return Sv(l,t,a);case 24:return ma(t),u=ol(cl),l===null?(e=Of(),e===null&&(e=J,n=Af(),e.pooledCache=n,n.refCount++,n!==null&&(e.pooledCacheLanes|=a),e=n),t.memoizedState={parent:u,cache:e},Df(t),Yt(t,cl,e)):((l.lanes&a)!==0&&(Uf(l,t),Gu(t,null,null,a),Yu()),e=l.memoizedState,n=t.memoizedState,e.parent!==u?(e={parent:u,cache:u},t.memoizedState=e,t.lanes===0&&(t.memoizedState=t.updateQueue.baseState=e),Yt(t,cl,u)):(u=n.cache,Yt(t,cl,u),u!==e.cache&&zf(t,[cl],a,!0))),ml(l,t,t.pendingProps.children,a),t.child;case 29:throw t.pendingProps}throw Error(S(156,t.tag))}function Ot(l){l.flags|=4}function Mv(l,t){if(t.type!=="stylesheet"||(t.state.loading&4)!==0)l.flags&=-16777217;else if(l.flags|=16777216,!r1(t)){if(t=Jl.current,t!==null&&((X&4194048)===X?ft!==null:(X&62914560)!==X&&(X&536870912)===0||t!==ft))throw ru=Mf,c0;l.flags|=8192}}function un(l,t){t!==null&&(l.flags|=4),l.flags&16384&&(t=l.tag!==22?ai():536870912,l.lanes|=t,Pa|=t)}function Cu(l,t){if(!Z)switch(l.tailMode){case"hidden":t=l.tail;for(var a=null;t!==null;)t.alternate!==null&&(a=t),t=t.sibling;a===null?l.tail=null:a.sibling=null;break;case"collapsed":a=l.tail;for(var u=null;a!==null;)a.alternate!==null&&(u=a),a=a.sibling;u===null?t||l.tail===null?l.tail=null:l.tail.sibling=null:u.sibling=null}}function P(l){var t=l.alternate!==null&&l.alternate.child===l.child,a=0,u=0;if(t)for(var e=l.child;e!==null;)a|=e.lanes|e.childLanes,u|=e.subtreeFlags&65011712,u|=e.flags&65011712,e.return=l,e=e.sibling;else for(e=l.child;e!==null;)a|=e.lanes|e.childLanes,u|=e.subtreeFlags,u|=e.flags,e.return=l,e=e.sibling;return l.subtreeFlags|=u,l.childLanes=a,t}function zd(l,t,a){var u=t.pendingProps;switch(gf(t),t.tag){case 31:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return P(t),null;case 1:return P(t),null;case 3:return a=t.stateNode,u=null,l!==null&&(u=l.memoizedState.cache),t.memoizedState.cache!==u&&(t.flags|=2048),Tt(cl),Oa(),a.pendingContext&&(a.context=a.pendingContext,a.pendingContext=null),(l===null||l.child===null)&&(Du(t)?Ot(t):l===null||l.memoizedState.isDehydrated&&(t.flags&256)===0||(t.flags|=1024,a0())),P(t),null;case 26:return a=t.memoizedState,l===null?(Ot(t),a!==null?(P(t),Mv(t,a)):(P(t),t.flags&=-16777217)):a?a!==l.memoizedState?(Ot(t),P(t),Mv(t,a)):(P(t),t.flags&=-16777217):(l.memoizedProps!==u&&Ot(t),P(t),t.flags&=-16777217),null;case 27:me(t),a=Ht.current;var e=t.type;if(l!==null&&t.stateNode!=null)l.memoizedProps!==u&&Ot(t);else{if(!u){if(t.stateNode===null)throw Error(S(166));return P(t),null}l=vl.current,Du(t)?l0(t):(l=M1(e,u,a),t.stateNode=l,Ot(t))}return P(t),null;case 5:if(me(t),a=t.type,l!==null&&t.stateNode!=null)l.memoizedProps!==u&&Ot(t);else{if(!u){if(t.stateNode===null)throw Error(S(166));return P(t),null}if(l=vl.current,Du(t))l0(t);else{switch(e=bn(Ht.current),l){case 1:l=e.createElementNS("http://www.w3.org/2000/svg",a);break;case 2:l=e.createElementNS("http://www.w3.org/1998/Math/MathML",a);break;default:switch(a){case"svg":l=e.createElementNS("http://www.w3.org/2000/svg",a);break;case"math":l=e.createElementNS("http://www.w3.org/1998/Math/MathML",a);break;case"script":l=e.createElement("div"),l.innerHTML=" + + + + + + + + + + +
+
+
+ +
+
+
+
+
+
+
+
+
+
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+
+

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/storybook-static/index.html b/storybook-static/index.html new file mode 100644 index 0000000..c9708e2 --- /dev/null +++ b/storybook-static/index.html @@ -0,0 +1,181 @@ + + + + + + @storybook/core - Storybook + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + \ No newline at end of file diff --git a/storybook-static/index.json b/storybook-static/index.json new file mode 100644 index 0000000..cd16601 --- /dev/null +++ b/storybook-static/index.json @@ -0,0 +1 @@ +{"v":5,"entries":{"introduce--docs":{"id":"introduce--docs","title":"Introduce","name":"Docs","importPath":"./stories/Introduce.mdx","storiesImports":[],"type":"docs","tags":["dev","test","unattached-mdx"]},"test--docs":{"id":"test--docs","title":"Test","name":"Docs","importPath":"./stories/Test.mdx","storiesImports":[],"type":"docs","tags":["dev","test","unattached-mdx"]},"page--primary":{"type":"story","id":"page--primary","name":"Primary","title":"Page","importPath":"./stories/Page.stories.tsx","componentPath":"./stories/Page.tsx","tags":["dev","test"]},"twu-nav--docs":{"id":"twu-nav--docs","title":"twu/nav","name":"Docs","importPath":"./packages/twu/nav/nav.mdx","storiesImports":[],"type":"docs","tags":["dev","test","unattached-mdx"]}}} \ No newline at end of file diff --git a/storybook-static/nunito-sans-bold-italic.woff2 b/storybook-static/nunito-sans-bold-italic.woff2 new file mode 100644 index 0000000..33563d8 Binary files /dev/null and b/storybook-static/nunito-sans-bold-italic.woff2 differ diff --git a/storybook-static/nunito-sans-bold.woff2 b/storybook-static/nunito-sans-bold.woff2 new file mode 100644 index 0000000..19fcc94 Binary files /dev/null and b/storybook-static/nunito-sans-bold.woff2 differ diff --git a/storybook-static/nunito-sans-italic.woff2 b/storybook-static/nunito-sans-italic.woff2 new file mode 100644 index 0000000..827096d Binary files /dev/null and b/storybook-static/nunito-sans-italic.woff2 differ diff --git a/storybook-static/nunito-sans-regular.woff2 b/storybook-static/nunito-sans-regular.woff2 new file mode 100644 index 0000000..c527ba4 Binary files /dev/null and b/storybook-static/nunito-sans-regular.woff2 differ diff --git a/storybook-static/project.json b/storybook-static/project.json new file mode 100644 index 0000000..2b37e05 --- /dev/null +++ b/storybook-static/project.json @@ -0,0 +1 @@ +{"generatedAt":1745947201031,"hasCustomBabel":false,"hasCustomWebpack":false,"hasStaticDirs":false,"hasStorybookEslint":false,"refCount":0,"testPackages":{"@vitest/browser":"3.1.2","@vitest/coverage-v8":"3.1.2","playwright":"1.52.0","vitest":"3.1.2"},"hasRouterPackage":false,"packageManager":{"type":"pnpm","version":"10.6.2","agent":"pnpm"},"preview":{"usesGlobals":false},"framework":{"name":"@storybook/react-vite","options":{}},"builder":"@storybook/builder-vite","renderer":"@storybook/react","portableStoriesFileCount":0,"applicationFileCount":0,"storybookVersion":"8.6.12","storybookVersionSpecifier":"^8.6.12","language":"javascript","storybookPackages":{"storybook":{"version":"8.6.12"},"@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"}},"addons":{"@storybook/addon-essentials":{"version":"8.6.12"},"@storybook/addon-onboarding":{"version":"8.6.12"},"@chromatic-com/storybook":{"version":"3.2.6"},"@storybook/experimental-addon-test":{"version":"8.6.12"}}} \ No newline at end of file diff --git a/storybook-static/sb-addons/chromatic-com-storybook-10/manager-bundle.js b/storybook-static/sb-addons/chromatic-com-storybook-10/manager-bundle.js new file mode 100644 index 0000000..7f2d037 --- /dev/null +++ b/storybook-static/sb-addons/chromatic-com-storybook-10/manager-bundle.js @@ -0,0 +1,331 @@ +try{ +(()=>{var lc=Object.create;var Wr=Object.defineProperty;var oc=Object.getOwnPropertyDescriptor;var sc=Object.getOwnPropertyNames;var cc=Object.getPrototypeOf,dc=Object.prototype.hasOwnProperty;var Dt=(e=>typeof require<"u"?require:typeof Proxy<"u"?new Proxy(e,{get:(t,n)=>(typeof require<"u"?require:t)[n]}):e)(function(e){if(typeof require<"u")return require.apply(this,arguments);throw Error('Dynamic require of "'+e+'" is not supported')});var Gr=(e,t)=>()=>(e&&(t=e(e=0)),t);var qr=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),uc=(e,t)=>{for(var n in t)Wr(e,n,{get:t[n],enumerable:!0})},mc=(e,t,n,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of sc(t))!dc.call(e,i)&&i!==n&&Wr(e,i,{get:()=>t[i],enumerable:!(r=oc(t,i))||r.enumerable});return e};var Gl=(e,t,n)=>(n=e!=null?lc(cc(e)):{},mc(t||!e||!e.__esModule?Wr(n,"default",{value:e,enumerable:!0}):n,e));var ne=Gr(()=>{});var Se,ae=Gr(()=>{Se={NODE_ENV:"production",NODE_PATH:["/Users/xion/dev2/twu/node_modules/.pnpm/storybook@8.6.12/node_modules/storybook/bin/node_modules","/Users/xion/dev2/twu/node_modules/.pnpm/storybook@8.6.12/node_modules/storybook/node_modules","/Users/xion/dev2/twu/node_modules/.pnpm/storybook@8.6.12/node_modules","/Users/xion/dev2/twu/node_modules/.pnpm/node_modules"],STORYBOOK:"true",PUBLIC_URL:"."}});var re=Gr(()=>{});var po=qr(Fa=>{"use strict";ne();ae();re();var Hd=Symbol.for("react.transitional.element"),jd=Symbol.for("react.fragment");function mo(e,t,n){var r=null;if(n!==void 0&&(r=""+n),t.key!==void 0&&(r=""+t.key),"key"in t){n={};for(var i in t)i!=="key"&&(n[i]=t[i])}else n=t;return t=n.ref,{$$typeof:Hd,type:e,key:r,ref:t!==void 0?t:null,props:n}}Fa.Fragment=jd;Fa.jsx=mo;Fa.jsxs=mo});var fo=qr((gv,ho)=>{"use strict";ne();ae();re();ho.exports=po()});var vo=qr((bv,go)=>{"use strict";ne();ae();re();var Oa={linear:function(e,t,n,r){var i=n-t;return i*e/r+t},easeInQuad:function(e,t,n,r){var i=n-t;return i*(e/=r)*e+t},easeOutQuad:function(e,t,n,r){var i=n-t;return-i*(e/=r)*(e-2)+t},easeInOutQuad:function(e,t,n,r){var i=n-t;return(e/=r/2)<1?i/2*e*e+t:-i/2*(--e*(e-2)-1)+t},easeInCubic:function(e,t,n,r){var i=n-t;return i*(e/=r)*e*e+t},easeOutCubic:function(e,t,n,r){var i=n-t;return i*((e=e/r-1)*e*e+1)+t},easeInOutCubic:function(e,t,n,r){var i=n-t;return(e/=r/2)<1?i/2*e*e*e+t:i/2*((e-=2)*e*e+2)+t},easeInQuart:function(e,t,n,r){var i=n-t;return i*(e/=r)*e*e*e+t},easeOutQuart:function(e,t,n,r){var i=n-t;return-i*((e=e/r-1)*e*e*e-1)+t},easeInOutQuart:function(e,t,n,r){var i=n-t;return(e/=r/2)<1?i/2*e*e*e*e+t:-i/2*((e-=2)*e*e*e-2)+t},easeInQuint:function(e,t,n,r){var i=n-t;return i*(e/=r)*e*e*e*e+t},easeOutQuint:function(e,t,n,r){var i=n-t;return i*((e=e/r-1)*e*e*e*e+1)+t},easeInOutQuint:function(e,t,n,r){var i=n-t;return(e/=r/2)<1?i/2*e*e*e*e*e+t:i/2*((e-=2)*e*e*e*e+2)+t},easeInSine:function(e,t,n,r){var i=n-t;return-i*Math.cos(e/r*(Math.PI/2))+i+t},easeOutSine:function(e,t,n,r){var i=n-t;return i*Math.sin(e/r*(Math.PI/2))+t},easeInOutSine:function(e,t,n,r){var i=n-t;return-i/2*(Math.cos(Math.PI*e/r)-1)+t},easeInExpo:function(e,t,n,r){var i=n-t;return e==0?t:i*Math.pow(2,10*(e/r-1))+t},easeOutExpo:function(e,t,n,r){var i=n-t;return e==r?t+i:i*(-Math.pow(2,-10*e/r)+1)+t},easeInOutExpo:function(e,t,n,r){var i=n-t;return e===0?t:e===r?t+i:(e/=r/2)<1?i/2*Math.pow(2,10*(e-1))+t:i/2*(-Math.pow(2,-10*--e)+2)+t},easeInCirc:function(e,t,n,r){var i=n-t;return-i*(Math.sqrt(1-(e/=r)*e)-1)+t},easeOutCirc:function(e,t,n,r){var i=n-t;return i*Math.sqrt(1-(e=e/r-1)*e)+t},easeInOutCirc:function(e,t,n,r){var i=n-t;return(e/=r/2)<1?-i/2*(Math.sqrt(1-e*e)-1)+t:i/2*(Math.sqrt(1-(e-=2)*e)+1)+t},easeInElastic:function(e,t,n,r){var i=n-t,l,o,s;return s=1.70158,o=0,l=i,e===0?t:(e/=r)===1?t+i:(o||(o=r*.3),lgc,ARGTYPES_INFO_RESPONSE:()=>vc,CHANNEL_CREATED:()=>yc,CHANNEL_WS_DISCONNECT:()=>Ec,CONFIG_ERROR:()=>bc,CREATE_NEW_STORYFILE_REQUEST:()=>kc,CREATE_NEW_STORYFILE_RESPONSE:()=>wc,CURRENT_STORY_WAS_SET:()=>Cc,DOCS_PREPARED:()=>Sc,DOCS_RENDERED:()=>xc,FILE_COMPONENT_SEARCH_REQUEST:()=>Nc,FILE_COMPONENT_SEARCH_RESPONSE:()=>Mc,FORCE_REMOUNT:()=>Ac,FORCE_RE_RENDER:()=>_c,GLOBALS_UPDATED:()=>Tc,NAVIGATE_URL:()=>Fc,PLAY_FUNCTION_THREW_EXCEPTION:()=>Oc,PRELOAD_ENTRIES:()=>Lc,PREVIEW_BUILDER_PROGRESS:()=>Rc,PREVIEW_KEYDOWN:()=>Ic,REGISTER_SUBSCRIPTION:()=>Zc,REQUEST_WHATS_NEW_DATA:()=>Bc,RESET_STORY_ARGS:()=>Pc,RESULT_WHATS_NEW_DATA:()=>Vc,SAVE_STORY_REQUEST:()=>Dc,SAVE_STORY_RESPONSE:()=>Hc,SELECT_STORY:()=>jc,SET_CONFIG:()=>zc,SET_CURRENT_STORY:()=>Uc,SET_FILTER:()=>$c,SET_GLOBALS:()=>Wc,SET_INDEX:()=>Gc,SET_STORIES:()=>qc,SET_WHATS_NEW_CACHE:()=>Yc,SHARED_STATE_CHANGED:()=>Qc,SHARED_STATE_SET:()=>Kc,STORIES_COLLAPSE_ALL:()=>Jc,STORIES_EXPAND_ALL:()=>Xc,STORY_ARGS_UPDATED:()=>ed,STORY_CHANGED:()=>td,STORY_ERRORED:()=>nd,STORY_FINISHED:()=>ad,STORY_INDEX_INVALIDATED:()=>rd,STORY_MISSING:()=>id,STORY_PREPARED:()=>ld,STORY_RENDERED:()=>od,STORY_RENDER_PHASE_CHANGED:()=>sd,STORY_SPECIFIED:()=>cd,STORY_THREW_EXCEPTION:()=>dd,STORY_UNCHANGED:()=>ud,TELEMETRY_ERROR:()=>md,TESTING_MODULE_CANCEL_TEST_RUN_REQUEST:()=>pd,TESTING_MODULE_CANCEL_TEST_RUN_RESPONSE:()=>hd,TESTING_MODULE_CRASH_REPORT:()=>fd,TESTING_MODULE_PROGRESS_REPORT:()=>gd,TESTING_MODULE_RUN_ALL_REQUEST:()=>vd,TESTING_MODULE_RUN_REQUEST:()=>yd,TOGGLE_WHATS_NEW_NOTIFICATIONS:()=>Ed,UNHANDLED_ERRORS_WHILE_PLAYING:()=>bd,UPDATE_GLOBALS:()=>kd,UPDATE_QUERY_PARAMS:()=>wd,UPDATE_STORY_ARGS:()=>Cd,default:()=>fc});ne();ae();re();var fc=__STORYBOOK_CORE_EVENTS__,{ARGTYPES_INFO_REQUEST:gc,ARGTYPES_INFO_RESPONSE:vc,CHANNEL_CREATED:yc,CHANNEL_WS_DISCONNECT:Ec,CONFIG_ERROR:bc,CREATE_NEW_STORYFILE_REQUEST:kc,CREATE_NEW_STORYFILE_RESPONSE:wc,CURRENT_STORY_WAS_SET:Cc,DOCS_PREPARED:Sc,DOCS_RENDERED:xc,FILE_COMPONENT_SEARCH_REQUEST:Nc,FILE_COMPONENT_SEARCH_RESPONSE:Mc,FORCE_REMOUNT:Ac,FORCE_RE_RENDER:_c,GLOBALS_UPDATED:Tc,NAVIGATE_URL:Fc,PLAY_FUNCTION_THREW_EXCEPTION:Oc,PRELOAD_ENTRIES:Lc,PREVIEW_BUILDER_PROGRESS:Rc,PREVIEW_KEYDOWN:Ic,REGISTER_SUBSCRIPTION:Zc,REQUEST_WHATS_NEW_DATA:Bc,RESET_STORY_ARGS:Pc,RESULT_WHATS_NEW_DATA:Vc,SAVE_STORY_REQUEST:Dc,SAVE_STORY_RESPONSE:Hc,SELECT_STORY:jc,SET_CONFIG:zc,SET_CURRENT_STORY:Uc,SET_FILTER:$c,SET_GLOBALS:Wc,SET_INDEX:Gc,SET_STORIES:qc,SET_WHATS_NEW_CACHE:Yc,SHARED_STATE_CHANGED:Qc,SHARED_STATE_SET:Kc,STORIES_COLLAPSE_ALL:Jc,STORIES_EXPAND_ALL:Xc,STORY_ARGS_UPDATED:ed,STORY_CHANGED:td,STORY_ERRORED:nd,STORY_FINISHED:ad,STORY_INDEX_INVALIDATED:rd,STORY_MISSING:id,STORY_PREPARED:ld,STORY_RENDERED:od,STORY_RENDER_PHASE_CHANGED:sd,STORY_SPECIFIED:cd,STORY_THREW_EXCEPTION:dd,STORY_UNCHANGED:ud,TELEMETRY_ERROR:md,TESTING_MODULE_CANCEL_TEST_RUN_REQUEST:pd,TESTING_MODULE_CANCEL_TEST_RUN_RESPONSE:hd,TESTING_MODULE_CRASH_REPORT:fd,TESTING_MODULE_PROGRESS_REPORT:gd,TESTING_MODULE_RUN_ALL_REQUEST:vd,TESTING_MODULE_RUN_REQUEST:yd,TOGGLE_WHATS_NEW_NOTIFICATIONS:Ed,UNHANDLED_ERRORS_WHILE_PLAYING:bd,UPDATE_GLOBALS:kd,UPDATE_QUERY_PARAMS:wd,UPDATE_STORY_ARGS:Cd}=__STORYBOOK_CORE_EVENTS__;ne();ae();re();var D9=__STORYBOOK_COMPONENTS__,{A:H9,ActionBar:j9,AddonPanel:z9,Badge:Qr,Bar:U9,Blockquote:$9,Button:Kr,ClipboardCode:W9,Code:eo,DL:G9,Div:q9,DocumentWrapper:Y9,EmptyTabContent:Q9,ErrorFormatter:K9,FlexBar:J9,Form:X9,H1:eg,H2:tg,H3:ng,H4:ag,H5:rg,H6:ig,HR:lg,IconButton:to,IconButtonSkeleton:og,Icons:sg,Img:cg,LI:dg,Link:$t,ListItem:ug,Loader:Jr,Modal:mg,OL:pg,P:hg,Placeholder:fg,Pre:gg,ProgressSpinner:vg,ResetWrapper:yg,ScrollArea:Eg,Separator:bg,Spaced:kg,Span:wg,StorybookIcon:Cg,StorybookLogo:Sg,Symbols:xg,SyntaxHighlighter:Ng,TT:Mg,TabBar:Ag,TabButton:_g,TabWrapper:Tg,Table:Fg,Tabs:Og,TabsState:Lg,TooltipLinkList:no,TooltipMessage:ao,TooltipNote:ro,UL:Rg,WithTooltip:we,WithTooltipPure:Ig,Zoom:Zg,codeCommon:Bg,components:Pg,createCopyToClipboardFunction:Vg,getStoryHref:Dg,icons:Hg,interleaveSeparators:jg,nameSpaceClassNames:zg,resetComponents:Ug,withReset:$g}=__STORYBOOK_COMPONENTS__;ne();ae();re();var Sd="array",xd="bit",io="bits",Nd="byte",lo="bytes",dn="",Md="exponent",Ad="function",oo="iec",_d="Invalid number",Td="Invalid rounding method",Xr="jedec",Fd="object",so=".",Od="round",Ld="s",Rd="si",Id="kbit",Zd="kB",Bd=" ",Pd="string",Vd="0",ei={symbol:{iec:{bits:["bit","Kibit","Mibit","Gibit","Tibit","Pibit","Eibit","Zibit","Yibit"],bytes:["B","KiB","MiB","GiB","TiB","PiB","EiB","ZiB","YiB"]},jedec:{bits:["bit","Kbit","Mbit","Gbit","Tbit","Pbit","Ebit","Zbit","Ybit"],bytes:["B","KB","MB","GB","TB","PB","EB","ZB","YB"]}},fullform:{iec:["","kibi","mebi","gibi","tebi","pebi","exbi","zebi","yobi"],jedec:["","kilo","mega","giga","tera","peta","exa","zetta","yotta"]}};function ti(e,{bits:t=!1,pad:n=!1,base:r=-1,round:i=2,locale:l=dn,localeOptions:o={},separator:s=dn,spacer:c=Bd,symbols:d={},standard:m=dn,output:u=Pd,fullform:p=!1,fullforms:f=[],exponent:g=-1,roundingMethod:y=Od,precision:k=0}={}){let E=g,h=Number(e),v=[],b=0,C=dn;m===Rd?(r=10,m=Xr):m===oo||m===Xr?r=2:r===2?m=oo:(r=10,m=Xr);let O=r===10?1e3:1024,I=p===!0,U=h<0,G=Math[y];if(typeof e!="bigint"&&isNaN(e))throw new TypeError(_d);if(typeof G!==Ad)throw new TypeError(Td);if(U&&(h=-h),(E===-1||isNaN(E))&&(E=Math.floor(Math.log(h)/Math.log(O)),E<0&&(E=0)),E>8&&(k>0&&(k+=8-E),E=8),u===Md)return E;if(h===0)v[0]=0,C=v[1]=ei.symbol[m][t?io:lo][E];else{b=h/(r===2?Math.pow(2,E*10):Math.pow(1e3,E)),t&&(b=b*8,b>=O&&E<8&&(b=b/O,E++));let oe=Math.pow(10,E>0?i:0);v[0]=G(b*oe)/oe,v[0]===O&&E<8&&g===-1&&(v[0]=1,E++),C=v[1]=r===10&&E===1?t?Id:Zd:ei.symbol[m][t?io:lo][E]}if(U&&(v[0]=-v[0]),k>0&&(v[0]=v[0].toPrecision(k)),v[1]=d[v[1]]||v[1],l===!0?v[0]=v[0].toLocaleString():l.length>0?v[0]=v[0].toLocaleString(l,o):s.length>0&&(v[0]=v[0].toString().replace(so,s)),n&&i>0){let oe=v[0].toString(),ee=s||(oe.match(/(\D)/g)||[]).pop()||so,ke=oe.toString().split(ee),ye=ke[1]||dn,pe=ye.length,ie=i-pe;v[0]=`${ke[0]}${ee}${ye.padEnd(pe+ie,Vd)}`}return I&&(v[1]=f[E]?f[E]:ei.fullform[m][E]+(t?xd:Nd)+(v[0]===1?dn:Ld)),u===Sd?v:u===Fd?{value:v[0],symbol:v[1],exponent:E,unit:C}:v.join(c)}ne();ae();re();var Rn=__REACT_DOM__,{__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:ev,createPortal:In,createRoot:tv,findDOMNode:nv,flushSync:av,hydrate:rv,hydrateRoot:iv,render:lv,unmountComponentAtNode:co,unstable_batchedUpdates:ov,unstable_renderSubtreeIntoContainer:uo,version:sv}=__REACT_DOM__;ne();ae();re();var li=Gl(fo(),1);var yo=Gl(vo(),1);function zd(e){return e*Math.PI/180}function je(e,t){return e+Math.random()*(t-e)}function Ud(e,t){return Math.floor(e+Math.random()*(t-e+1))}var Zn;(function(e){e[e.Circle=0]="Circle",e[e.Square=1]="Square",e[e.Strip=2]="Strip"})(Zn||(Zn={}));var Ot;(function(e){e[e.Positive=1]="Positive",e[e.Negative=-1]="Negative"})(Ot||(Ot={}));var $d=1e3/60,ai=class{constructor(t,n,r,i){this.getOptions=n;let{colors:l,initialVelocityX:o,initialVelocityY:s}=this.getOptions();this.context=t,this.x=r,this.y=i,this.w=je(5,20),this.h=je(5,20),this.radius=je(5,10),this.vx=typeof o=="number"?je(-o,o):je(o.min,o.max),this.vy=typeof s=="number"?je(-s,0):je(s.min,s.max),this.shape=Ud(0,2),this.angle=zd(je(0,360)),this.angularSpin=je(-.2,.2),this.color=l[Math.floor(Math.random()*l.length)],this.rotateY=je(0,1),this.rotationDirection=je(0,1)?Ot.Positive:Ot.Negative}update(t){let{gravity:n,wind:r,friction:i,opacity:l,drawShape:o}=this.getOptions(),s=t/$d;this.x+=this.vx*s,this.y+=this.vy*s,this.vy+=n*s,this.vx+=r*s,this.vx*=i**s,this.vy*=i**s,this.rotateY>=1&&this.rotationDirection===Ot.Positive?this.rotationDirection=Ot.Negative:this.rotateY<=-1&&this.rotationDirection===Ot.Negative&&(this.rotationDirection=Ot.Positive);let c=.1*this.rotationDirection*s;if(this.rotateY+=c,this.angle+=this.angularSpin,this.context.save(),this.context.translate(this.x,this.y),this.context.rotate(this.angle),this.context.scale(1,this.rotateY),this.context.rotate(this.angle),this.context.beginPath(),this.context.fillStyle=this.color,this.context.strokeStyle=this.color,this.context.globalAlpha=l,this.context.lineCap="round",this.context.lineWidth=2,o&&typeof o=="function")o.call(this,this.context);else switch(this.shape){case Zn.Circle:{this.context.beginPath(),this.context.arc(0,0,this.radius,0,2*Math.PI),this.context.fill();break}case Zn.Square:{this.context.fillRect(-this.w/2,-this.h/2,this.w,this.h);break}case Zn.Strip:{this.context.fillRect(-this.w/6,-this.h/2,this.w/3,this.h);break}}this.context.closePath(),this.context.restore()}},ri=class{constructor(t,n){this.x=0,this.y=0,this.w=0,this.h=0,this.lastNumberOfPieces=0,this.tweenProgress=0,this.tweenFrom=0,this.particles=[],this.particlesGenerated=0,this.removeParticleAt=i=>{this.particles.splice(i,1)},this.getParticle=()=>{let i=je(this.x,this.w+this.x),l=je(this.y,this.h+this.y);return new ai(this.context,this.getOptions,i,l)},this.animate=i=>{let{canvas:l,context:o,particlesGenerated:s,lastNumberOfPieces:c}=this,{run:d,recycle:m,numberOfPieces:u,debug:p,tweenFunction:f,tweenDuration:g}=this.getOptions();if(!d)return!1;let y=this.particles.length,k=m?y:s;if(k=0;E--){let h=this.particles[E];h.update(i),(h.y>l.height||h.y<-100||h.x>l.width+100||h.x<-100)&&(m&&k<=u?this.particles[E]=this.getParticle():this.removeParticleAt(E))}return y>0||k{let l={confettiSource:{x:0,y:0,w:this.canvas.width,h:0}};this._options={...l,...oi,...i},Object.assign(this,i.confettiSource)},this.update=(i=0)=>{let{options:{run:l,onConfettiComplete:o,frameRate:s},canvas:c,context:d}=this,m=Math.min(i-this.lastFrameTime,50);if(s&&m<1e3/s){this.rafId=requestAnimationFrame(this.update);return}this.lastFrameTime=i-(s?m%s:0),l&&(d.fillStyle="white",d.clearRect(0,0,c.width,c.height)),this.generator.animate(m)?this.rafId=requestAnimationFrame(this.update):(o&&typeof o=="function"&&this.generator.particlesGenerated>0&&o.call(this,this),this._options.run=!1)},this.reset=()=>{this.generator&&this.generator.particlesGenerated>0&&(this.generator.particlesGenerated=0,this.generator.particles=[],this.generator.lastNumberOfPieces=0)},this.stop=()=>{this.options={run:!1},this.rafId&&(cancelAnimationFrame(this.rafId),this.rafId=void 0)},this.canvas=t;let r=this.canvas.getContext("2d");if(!r)throw new Error("Could not get canvas context");this.context=r,this.generator=new ri(this.canvas,()=>this.options),this.options=n,this.update()}get options(){return this._options}set options(t){let n=this._options?.run,r=this._options?.recycle;this.setOptionsWithDefaults(t),this.generator&&(Object.assign(this.generator,this.options.confettiSource),typeof t.recycle=="boolean"&&t.recycle&&r===!1&&(this.generator.lastNumberOfPieces=this.generator.particles.length)),typeof t.run=="boolean"&&t.run&&n===!1&&this.update()}},Wd=a.createRef(),Bn=class extends a.Component{constructor(t){super(t),this.canvas=a.createRef(),this.canvas=t.canvasRef||Wd}componentDidMount(){if(this.canvas.current){let t=ni(this.props)[0];this.confetti=new ii(this.canvas.current,t)}}componentDidUpdate(){let t=ni(this.props)[0];this.confetti&&(this.confetti.options=t)}componentWillUnmount(){this.confetti&&this.confetti.stop(),this.confetti=void 0}render(){let[t,n]=ni(this.props),r={zIndex:2,position:"absolute",pointerEvents:"none",top:0,left:0,bottom:0,right:0,...n.style};return(0,li.jsx)("canvas",{width:t.width,height:t.height,ref:this.canvas,...n,style:r})}};Bn.defaultProps={...oi};Bn.displayName="ReactConfetti";function ni(e){let t={},n={},r={},i=[...Object.keys(oi),"confettiSource","drawShape","onConfettiComplete","frameRate"],l=["canvasRef"];for(let o in e){let s=e[o];i.includes(o)?t[o]=s:l.includes(o)?l[o]=s:r[o]=s}return[t,r,n]}var Eo=a.forwardRef((e,t)=>(0,li.jsx)(Bn,{canvasRef:t,...e}));ne();ae();re();ne();ae();re();function si({onlyFirst:e=!1}={}){let n=["[\\u001B\\u009B][[\\]()#;?]*(?:(?:(?:(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]+)*|[a-zA-Z\\d]+(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]*)*)?(?:\\u0007|\\u001B\\u005C|\\u009C))","(?:(?:\\d{1,4}(?:;\\d{0,4})*)?[\\dA-PR-TZcf-nq-uy=><~]))"].join("|");return new RegExp(n,e?void 0:"g")}var Gd=si();function ci(e){if(typeof e!="string")throw new TypeError(`Expected a \`string\`, got \`${typeof e}\``);return e.replace(Gd,"")}var qd=Object.create,ts=Object.defineProperty,Yd=Object.getOwnPropertyDescriptor,Qd=Object.getOwnPropertyNames,Kd=Object.getPrototypeOf,Jd=Object.prototype.hasOwnProperty,Xd=(e=>typeof Dt<"u"?Dt:typeof Proxy<"u"?new Proxy(e,{get:(t,n)=>(typeof Dt<"u"?Dt:t)[n]}):e)(function(e){if(typeof Dt<"u")return Dt.apply(this,arguments);throw new Error('Dynamic require of "'+e+'" is not supported')}),Vt=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),e5=(e,t,n,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of Qd(t))!Jd.call(e,i)&&i!==n&&ts(e,i,{get:()=>t[i],enumerable:!(r=Yd(t,i))||r.enumerable});return e},et=(e,t,n)=>(n=e!=null?qd(Kd(e)):{},e5(t||!e||!e.__esModule?ts(n,"default",{value:e,enumerable:!0}):n,e)),ya=Vt((e,t)=>{(function(n,r){typeof Xd=="function"&&typeof e=="object"&&typeof t=="object"?t.exports=r():typeof define=="function"&&define.amd?define(function(){return r()}):n.pluralize=r()})(e,function(){var n=[],r=[],i={},l={},o={};function s(y){return typeof y=="string"?new RegExp("^"+y+"$","i"):y}function c(y,k){return y===k?k:y===y.toLowerCase()?k.toLowerCase():y===y.toUpperCase()?k.toUpperCase():y[0]===y[0].toUpperCase()?k.charAt(0).toUpperCase()+k.substr(1).toLowerCase():k.toLowerCase()}function d(y,k){return y.replace(/\$(\d{1,2})/g,function(E,h){return k[h]||""})}function m(y,k){return y.replace(k[0],function(E,h){var v=d(k[1],arguments);return c(E===""?y[h-1]:E,v)})}function u(y,k,E){if(!y.length||i.hasOwnProperty(y))return k;for(var h=E.length;h--;){var v=E[h];if(v[0].test(k))return m(k,v)}return k}function p(y,k,E){return function(h){var v=h.toLowerCase();return k.hasOwnProperty(v)?c(h,v):y.hasOwnProperty(v)?c(h,y[v]):u(v,h,E)}}function f(y,k,E,h){return function(v){var b=v.toLowerCase();return k.hasOwnProperty(b)?!0:y.hasOwnProperty(b)?!1:u(b,b,E)===b}}function g(y,k,E){var h=k===1?g.singular(y):g.plural(y);return(E?k+" ":"")+h}return g.plural=p(o,l,n),g.isPlural=f(o,l,n),g.singular=p(l,o,r),g.isSingular=f(l,o,r),g.addPluralRule=function(y,k){n.push([s(y),k])},g.addSingularRule=function(y,k){r.push([s(y),k])},g.addUncountableRule=function(y){if(typeof y=="string"){i[y.toLowerCase()]=!0;return}g.addPluralRule(y,"$0"),g.addSingularRule(y,"$0")},g.addIrregularRule=function(y,k){k=k.toLowerCase(),y=y.toLowerCase(),o[y]=k,l[k]=y},[["I","we"],["me","us"],["he","they"],["she","they"],["them","them"],["myself","ourselves"],["yourself","yourselves"],["itself","themselves"],["herself","themselves"],["himself","themselves"],["themself","themselves"],["is","are"],["was","were"],["has","have"],["this","these"],["that","those"],["echo","echoes"],["dingo","dingoes"],["volcano","volcanoes"],["tornado","tornadoes"],["torpedo","torpedoes"],["genus","genera"],["viscus","viscera"],["stigma","stigmata"],["stoma","stomata"],["dogma","dogmata"],["lemma","lemmata"],["schema","schemata"],["anathema","anathemata"],["ox","oxen"],["axe","axes"],["die","dice"],["yes","yeses"],["foot","feet"],["eave","eaves"],["goose","geese"],["tooth","teeth"],["quiz","quizzes"],["human","humans"],["proof","proofs"],["carve","carves"],["valve","valves"],["looey","looies"],["thief","thieves"],["groove","grooves"],["pickaxe","pickaxes"],["passerby","passersby"]].forEach(function(y){return g.addIrregularRule(y[0],y[1])}),[[/s?$/i,"s"],[/[^\u0000-\u007F]$/i,"$0"],[/([^aeiou]ese)$/i,"$1"],[/(ax|test)is$/i,"$1es"],[/(alias|[^aou]us|t[lm]as|gas|ris)$/i,"$1es"],[/(e[mn]u)s?$/i,"$1s"],[/([^l]ias|[aeiou]las|[ejzr]as|[iu]am)$/i,"$1"],[/(alumn|syllab|vir|radi|nucle|fung|cact|stimul|termin|bacill|foc|uter|loc|strat)(?:us|i)$/i,"$1i"],[/(alumn|alg|vertebr)(?:a|ae)$/i,"$1ae"],[/(seraph|cherub)(?:im)?$/i,"$1im"],[/(her|at|gr)o$/i,"$1oes"],[/(agend|addend|millenni|dat|extrem|bacteri|desiderat|strat|candelabr|errat|ov|symposi|curricul|automat|quor)(?:a|um)$/i,"$1a"],[/(apheli|hyperbat|periheli|asyndet|noumen|phenomen|criteri|organ|prolegomen|hedr|automat)(?:a|on)$/i,"$1a"],[/sis$/i,"ses"],[/(?:(kni|wi|li)fe|(ar|l|ea|eo|oa|hoo)f)$/i,"$1$2ves"],[/([^aeiouy]|qu)y$/i,"$1ies"],[/([^ch][ieo][ln])ey$/i,"$1ies"],[/(x|ch|ss|sh|zz)$/i,"$1es"],[/(matr|cod|mur|sil|vert|ind|append)(?:ix|ex)$/i,"$1ices"],[/\b((?:tit)?m|l)(?:ice|ouse)$/i,"$1ice"],[/(pe)(?:rson|ople)$/i,"$1ople"],[/(child)(?:ren)?$/i,"$1ren"],[/eaux$/i,"$0"],[/m[ae]n$/i,"men"],["thou","you"]].forEach(function(y){return g.addPluralRule(y[0],y[1])}),[[/s$/i,""],[/(ss)$/i,"$1"],[/(wi|kni|(?:after|half|high|low|mid|non|night|[^\w]|^)li)ves$/i,"$1fe"],[/(ar|(?:wo|[ae])l|[eo][ao])ves$/i,"$1f"],[/ies$/i,"y"],[/\b([pl]|zomb|(?:neck|cross)?t|coll|faer|food|gen|goon|group|lass|talk|goal|cut)ies$/i,"$1ie"],[/\b(mon|smil)ies$/i,"$1ey"],[/\b((?:tit)?m|l)ice$/i,"$1ouse"],[/(seraph|cherub)im$/i,"$1"],[/(x|ch|ss|sh|zz|tto|go|cho|alias|[^aou]us|t[lm]as|gas|(?:her|at|gr)o|[aeiou]ris)(?:es)?$/i,"$1"],[/(analy|diagno|parenthe|progno|synop|the|empha|cri|ne)(?:sis|ses)$/i,"$1sis"],[/(movie|twelve|abuse|e[mn]u)s$/i,"$1"],[/(test)(?:is|es)$/i,"$1is"],[/(alumn|syllab|vir|radi|nucle|fung|cact|stimul|termin|bacill|foc|uter|loc|strat)(?:us|i)$/i,"$1us"],[/(agend|addend|millenni|dat|extrem|bacteri|desiderat|strat|candelabr|errat|ov|symposi|curricul|quor)a$/i,"$1um"],[/(apheli|hyperbat|periheli|asyndet|noumen|phenomen|criteri|organ|prolegomen|hedr|automat)a$/i,"$1on"],[/(alumn|alg|vertebr)ae$/i,"$1a"],[/(cod|mur|sil|vert|ind)ices$/i,"$1ex"],[/(matr|append)ices$/i,"$1ix"],[/(pe)(rson|ople)$/i,"$1rson"],[/(child)ren$/i,"$1"],[/(eau)x?$/i,"$1"],[/men$/i,"man"]].forEach(function(y){return g.addSingularRule(y[0],y[1])}),["adulthood","advice","agenda","aid","aircraft","alcohol","ammo","analytics","anime","athletics","audio","bison","blood","bream","buffalo","butter","carp","cash","chassis","chess","clothing","cod","commerce","cooperation","corps","debris","diabetes","digestion","elk","energy","equipment","excretion","expertise","firmware","flounder","fun","gallows","garbage","graffiti","hardware","headquarters","health","herpes","highjinks","homework","housework","information","jeans","justice","kudos","labour","literature","machinery","mackerel","mail","media","mews","moose","music","mud","manga","news","only","personnel","pike","plankton","pliers","police","pollution","premises","rain","research","rice","salmon","scissors","series","sewage","shambles","shrimp","software","species","staff","swine","tennis","traffic","transportation","trout","tuna","wealth","welfare","whiting","wildebeest","wildlife","you",/pok[eé]mon$/i,/[^aeiou]ese$/i,/deer$/i,/fish$/i,/measles$/i,/o[iu]s$/i,/pox$/i,/sheep$/i].forEach(g.addUncountableRule),g})}),t5=Vt((e,t)=>{var n=new Error("Element already at target scroll position"),r=new Error("Scroll cancelled"),i=Math.min,l=Date.now;t.exports={left:o("scrollLeft"),top:o("scrollTop")};function o(d){return function(m,u,p,f){p=p||{},typeof p=="function"&&(f=p,p={}),typeof f!="function"&&(f=c);var g=l(),y=m[d],k=p.ease||s,E=isNaN(p.duration)?350:+p.duration,h=!1;return y===u?f(n,m[d]):requestAnimationFrame(b),v;function v(){h=!0}function b(C){if(h)return f(r,m[d]);var O=l(),I=i(1,(O-g)/E),U=k(I);m[d]=U*(u-y)+y,I<1?requestAnimationFrame(b):requestAnimationFrame(function(){f(null,m[d])})}}}function s(d){return .5*(1-Math.cos(Math.PI*d))}function c(){}}),n5=Vt((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(i){var l=getComputedStyle(i,null).getPropertyValue("overflow");return l.indexOf("scroll")>-1||l.indexOf("auto")>-1}function r(i){if(i instanceof HTMLElement||i instanceof SVGElement){for(var l=i.parentNode;l.parentNode;){if(n(l))return l;l=l.parentNode}return document.scrollingElement||document.documentElement}}return r})}),dl=Vt((e,t)=>{var n=function(v){return r(v)&&!i(v)};function r(v){return!!v&&typeof v=="object"}function i(v){var b=Object.prototype.toString.call(v);return b==="[object RegExp]"||b==="[object Date]"||s(v)}var l=typeof Symbol=="function"&&Symbol.for,o=l?Symbol.for("react.element"):60103;function s(v){return v.$$typeof===o}function c(v){return Array.isArray(v)?[]:{}}function d(v,b){return b.clone!==!1&&b.isMergeableObject(v)?E(c(v),v,b):v}function m(v,b,C){return v.concat(b).map(function(O){return d(O,C)})}function u(v,b){if(!b.customMerge)return E;var C=b.customMerge(v);return typeof C=="function"?C:E}function p(v){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(v).filter(function(b){return Object.propertyIsEnumerable.call(v,b)}):[]}function f(v){return Object.keys(v).concat(p(v))}function g(v,b){try{return b in v}catch{return!1}}function y(v,b){return g(v,b)&&!(Object.hasOwnProperty.call(v,b)&&Object.propertyIsEnumerable.call(v,b))}function k(v,b,C){var O={};return C.isMergeableObject(v)&&f(v).forEach(function(I){O[I]=d(v[I],C)}),f(b).forEach(function(I){y(v,I)||(g(v,I)&&C.isMergeableObject(b[I])?O[I]=u(I,C)(v[I],b[I],C):O[I]=d(b[I],C))}),O}function E(v,b,C){C=C||{},C.arrayMerge=C.arrayMerge||m,C.isMergeableObject=C.isMergeableObject||n,C.cloneUnlessOtherwiseSpecified=d;var O=Array.isArray(b),I=Array.isArray(v),U=O===I;return U?O?C.arrayMerge(v,b,C):k(v,b,C):d(b,C)}E.all=function(v,b){if(!Array.isArray(v))throw new Error("first argument should be an array");return v.reduce(function(C,O){return E(C,O,b)},{})};var h=E;t.exports=h}),a5=Vt((e,t)=>{var n="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";t.exports=n}),r5=Vt((e,t)=>{var n=a5();function r(){}function i(){}i.resetWarningCache=r,t.exports=function(){function l(c,d,m,u,p,f){if(f!==n){var g=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 g.name="Invariant Violation",g}}l.isRequired=l;function o(){return l}var s={array:l,bigint:l,bool:l,func:l,number:l,object:l,string:l,symbol:l,any:l,arrayOf:o,element:l,elementType:l,instanceOf:o,node:l,objectOf:o,oneOf:o,oneOfType:o,shape:o,exact:o,checkPropTypes:i,resetWarningCache:r};return s.PropTypes=s,s}}),i5=Vt((e,t)=>{t.exports=r5()()}),l5=Vt((e,t)=>{var n=function(l){return Object.prototype.hasOwnProperty.call(l,"props")},r=function(l,o){return l+i(o)},i=function(l){return l===null||typeof l=="boolean"||typeof l>"u"?"":typeof l=="number"?l.toString():typeof l=="string"?l:Array.isArray(l)?l.reduce(r,""):n(l)&&Object.prototype.hasOwnProperty.call(l.props,"children")?i(l.props.children):""};i.default=i,t.exports=i}),{CHROMATIC_INDEX_URL:o5,CHROMATIC_BASE_URL:Mr=o5||"https://www.chromatic.com",CHROMATIC_API_URL:s5=`${Mr}/api`}=Se,Z="chromaui/addon-visual-tests",an=`${Z}/panel`,Wa=`${Z}/test-provider`,c5=`${Z}/sidebarTop`,d5=`${Z}/sidebarBottom`,Fi=`${Z}/access-token/${Mr}`,Ar=`${Z}/configInfo`,bo=`${Z}/configInfoDismissed`,u5=`${Z}/gitInfo`,ul=`${Z}/gitInfoError`,ns=`${Z}/projectInfo`,ml=`${Z}/isOffline`,Qa=`${Z}/isOutdated`,m5=`${Z}/startBuild`,p5=`${Z}/stopBuild`,pl=`${Z}/localBuildProgress`,h5=`${Z}/selectedModeName`,f5=`${Z}/selectedBrowserId`,g5=`${Z}/telemetry`,Oi=`${Z}/enableFilter`,as=`${Z}/removeAddon`,v5="chromatic",y5=`${Z}/ChannelFetch/aborted`,E5=`${Z}ChannelFetch/request`,b5=`${Z}ChannelFetch/response`,{TESTING_MODULE_CRASH_REPORT:Gv="testingModuleCrashReport",TESTING_MODULE_PROGRESS_REPORT:k5="testingModuleProgressReport",TESTING_MODULE_RUN_REQUEST:qv="testingModuleRunRequest",TESTING_MODULE_RUN_ALL_REQUEST:w5="testingModuleRunAllRequest",TESTING_MODULE_CANCEL_TEST_RUN_REQUEST:C5="testingModuleCancelTestRunRequest",TESTING_MODULE_CANCEL_TEST_RUN_RESPONSE:Yv="testingModuleCancelTestRunResponse",TESTING_MODULE_WATCH_MODE_REQUEST:Qv="testingModuleWatchModeRequest"}=Yr,S5={autoAcceptChanges:!1,exitOnceUploaded:!1,exitZeroOnChanges:!0,forceRebuild:!0,fromCI:!1,interactive:!1,isLocalBuild:!0,skip:!1,skipUpdateCheck:!0,storybookBuildDir:void 0},rs="https://www.chromatic.com/docs/visual-tests-addon",x5=et(ya()),N5=(e,t)=>t&&{positive:{color:e.color.positiveText},warning:{color:e.color.warningText}}[t]||{},Je=w(to)(({active:e,variant:t,theme:n})=>({display:"inline-flex",alignItems:"center",verticalAlign:"top",gap:6,margin:0,color:e||t==="outline"?n.color.secondary:n.color.mediumdark,fontWeight:"normal","& > svg":{width:"auto"}}),({active:e,status:t,theme:n})=>!e&&N5(n,t),({active:e,theme:t})=>{let n=t.background.content===t.color.lightest,r=n?"rgb(241,248,255)":"rgb(28,37,45)",i=n?"rgb(229,243,255)":"rgb(29,44,56)";return{"--bg-color":e?r:t.background.content,"&:hover":{"--bg-color":i,color:t.color.secondary}}}),M5=w(Qr)(({theme:e})=>({padding:"4px 8px",fontSize:e.typography.size.s1})),A5=w(Je)(({theme:e})=>({fontSize:e.typography.size.s2,"&:hover [data-badge][data-status=warning], [data-badge=true][data-status=warning]":{background:"#E3F3FF",borderColor:"rgba(2, 113, 182, 0.1)",color:"#0271B6"},"&:hover [data-badge][data-status=critical], [data-badge=true][data-status=critical]":{background:e.background.negative,boxShadow:"inset 0 0 0 1px rgba(182, 2, 2, 0.1)",color:e.color.negativeText}}),({active:e,theme:t})=>!e&&ue({"&:hover":{color:t.base==="light"?t.color.defaultText:t.color.light}})),_5=w.span(({theme:e})=>({color:e.base==="light"?e.color.defaultText:e.color.light})),ko=({active:e,count:t,label:n,status:r,...i})=>a.createElement(A5,{active:e,...i},a.createElement(M5,{status:r,"data-badge":e,"data-status":r},t),a.createElement(_5,null,(0,x5.default)(n,t))),T5=()=>!0,F5=({status:e})=>e?.[Z]?.status==="warn",O5=({status:e})=>e?.[Z]?.status==="error",L5=({status:e})=>e?.[Z]?.status==="warn"||e?.[Z]?.status==="error",R5=(e=!1,t=!1)=>e&&t?L5:e?F5:t?O5:T5,I5=w.div({display:"flex",gap:5}),Z5=({api:e,status:t})=>{let[n,r]=a.useState(!1),[i,l]=a.useState(!1),o=Object.values(t).filter(p=>p[Z]?.status==="warn"),s=Object.values(t).filter(p=>p[Z]?.status==="error"),c=o.length>0,d=s.length>0,m=H(()=>r(p=>!p),[]),u=H(()=>l(p=>!p),[]);return X(()=>{let p=R5(c&&n,d&&i);e.experimental_setFilter(Z,p),e.emit(Oi,p)},[e,c,d,n,i]),!c&&!d?null:a.createElement(I5,{id:"sidebar-bottom-wrapper"},c&&a.createElement(ko,{id:"warnings-found-filter",active:n,count:o.length,label:"Change",status:"warning",onClick:m}),d&&a.createElement(ko,{id:"errors-found-filter",active:i,count:s.length,label:"Error",status:"critical",onClick:u}))},B5=e=>{let{status:t}=Ht();return a.createElement(Z5,{...e,status:t})},P5=W(({color:e="currentColor",size:t=14,...n},r)=>S("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:r,...n},S("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}),S("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}))),is=W(({color:e="currentColor",size:t=14,...n},r)=>S("svg",{width:t,height:t,viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:r,...n},S("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}))),V5=W(({color:e="currentColor",size:t=14,...n},r)=>S("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:r,...n},S("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}),S("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}))),Zt=W(({color:e="currentColor",size:t=14,...n},r)=>S("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:r,...n},S("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}))),D5=W(({color:e="currentColor",size:t=14,...n},r)=>S("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:r,...n},S("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}))),ls=W(({color:e="currentColor",size:t=14,...n},r)=>S("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:r,...n},S("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}),S("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}))),H5=W(({color:e="currentColor",size:t=14,...n},r)=>S("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:r,...n},S("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}))),j5=W(({color:e="currentColor",size:t=14,...n},r)=>S("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:r,...n},S("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}),S("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}))),z5=W(({color:e="currentColor",size:t=14,...n},r)=>S("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:r,...n},S("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}))),U5=W(({color:e="currentColor",size:t=14,...n},r)=>S("svg",{width:t,height:t,viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:r,...n},S("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.634l-.485.271a.107.107 0 01-.158-.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.131a.214.214 0 00-.12.37l.816.755-.217 1.091a.214.214 0 00.315.23L2 3.266l.971.543c.16.09.35-.05.315-.229l-.216-1.09.816-.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-.216-1.09.816-.756a.214.214 0 00-.12-.37l-1.105-.131-.466-1.01z",fill:e}),S("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2.5 12.797l-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.04l1.293 1.293zM.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-2z",fill:e}))),hl=W(({color:e="currentColor",size:t=14,...n},r)=>S("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:r,...n},S("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}))),wo=W(({color:e="currentColor",size:t=14,...n},r)=>S("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:r,...n},S("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}))),$5=W(({color:e="currentColor",size:t=14,...n},r)=>S("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:r,...n},S("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}),S("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}))),fl=W(({color:e="currentColor",size:t=14,...n},r)=>S("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:r,...n},S("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}),S("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}))),Li=W(({color:e="currentColor",size:t=14,...n},r)=>S("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:r,...n},S("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}))),W5=W(({color:e="currentColor",size:t=14,...n},r)=>S("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:r,...n},S("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}))),xt=W(({color:e="currentColor",size:t=14,...n},r)=>S("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:r,...n},S("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}))),os=W(({color:e="currentColor",size:t=14,...n},r)=>S("svg",{width:t,height:t,viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:r,...n},S("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}),S("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}))),G5=W(({color:e="currentColor",size:t=14,...n},r)=>S("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:r,...n},S("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}),S("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}))),ss=W(({color:e="currentColor",size:t=14,...n},r)=>S("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:r,...n},S("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}),S("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}))),q5=W(({color:e="currentColor",size:t=14,...n},r)=>S("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:r,...n},S("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}))),Y5=W(({color:e="currentColor",size:t=14,...n},r)=>S("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:r,...n},S("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}),S("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}))),cs=W(({color:e="currentColor",size:t=14,...n},r)=>S("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:r,...n},S("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}),S("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}))),Q5=W(({color:e="currentColor",size:t=14,...n},r)=>S("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:r,...n},S("g",{clipPath:"url(#prefix__clip0_1449_588)"},S("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})),S("defs",null,S("clipPath",{id:"prefix__clip0_1449_588"},S("path",{fill:"#fff",d:"M0 0h14v14H0z"}))))),ds=W(({color:e="currentColor",size:t=14,...n},r)=>S("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:r,...n},S("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}))),K5=W(({color:e="currentColor",size:t=14,...n},r)=>S("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:r,...n},S("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}))),J5=W(({color:e="currentColor",size:t=14,...n},r)=>S("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:r,...n},S("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}))),X5=W(({color:e="currentColor",size:t=14,...n},r)=>S("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:r,...n},S("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}))),eu=W(({color:e="currentColor",size:t=14,...n},r)=>S("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:r,...n},S("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}))),tu=W(({color:e="currentColor",size:t=14,...n},r)=>S("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:r,...n},S("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}))),nu=W(({color:e="currentColor",size:t=14,...n},r)=>S("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:r,...n},S("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}))),us=W(({color:e="currentColor",size:t=14,...n},r)=>S("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:r,...n},S("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}))),au=W(({color:e="currentColor",size:t=14,...n},r)=>S("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:r,...n},S("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}))),ru=W(({color:e="currentColor",size:t=14,...n},r)=>S("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:r,...n},S("path",{d:"M7.5 4.5a.5.5 0 00-1 0v2.634a1 1 0 101 0V4.5z",fill:e}),S("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}))),iu=W(({color:e="currentColor",size:t=14,...n},r)=>S("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:r,...n},S("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}))),di=et(ya()),gl=()=>{},$e=gl;function it(e){return{tag:0,0:e}}function Ea(e){return{tag:1,0:e}}var Co=()=>typeof Symbol=="function"&&Symbol.asyncIterator||"@@asyncIterator",lu=e=>e;function Ve(e){return t=>n=>{var r=$e;t(i=>{i===0?n(0):i.tag===0?(r=i[0],n(i)):e(i[0])?n(i):r(0)})}}function Ri(e){return t=>n=>t(r=>{r===0||r.tag===0?n(r):n(Ea(e(r[0])))})}function Ka(e){return t=>n=>{var r=[],i=$e,l=!1,o=!1;t(s=>{o||(s===0?(o=!0,r.length||n(0)):s.tag===0?i=s[0]:(l=!1,function(c){var d=$e;c(m=>{if(m===0){if(r.length){var u=r.indexOf(d);u>-1&&(r=r.slice()).splice(u,1),r.length||(o?n(0):l||(l=!0,i(0)))}}else m.tag===0?(r.push(d=m[0]),d(0)):r.length&&(n(m),d(0))})}(e(s[0])),l||(l=!0,i(0))))}),n(it(s=>{if(s===1){o||(o=!0,i(1));for(var c=0,d=r,m=r.length;cn=>{var r=!1;t(i=>{if(!r)if(i===0)r=!0,n(0),e();else if(i.tag===0){var l=i[0];n(it(o=>{o===1?(r=!0,l(1),e()):l(o)}))}else n(i)})}}function Ja(e){return t=>n=>{var r=!1;t(i=>{if(!r)if(i===0)r=!0,n(0);else if(i.tag===0){var l=i[0];n(it(o=>{o===1&&(r=!0),l(o)}))}else e(i[0]),n(i)})}}function Ii(e){return t=>n=>t(r=>{r===0?n(0):r.tag===0?(n(r),e()):n(r)})}function na(e){var t=[],n=$e,r=!1;return i=>{t.push(i),t.length===1&&e(l=>{if(l===0){for(var o=0,s=t,c=t.length;o{if(l===1){var o=t.indexOf(i);o>-1&&(t=t.slice()).splice(o,1),t.length||n(1)}else r||(r=!0,n(0))}))}}function So(e){return t=>n=>{var r=$e,i=$e,l=!1,o=!1,s=!1,c=!1;t(d=>{c||(d===0?(c=!0,s||n(0)):d.tag===0?r=d[0]:(s&&(i(1),i=$e),l?l=!1:(l=!0,r(0)),function(m){s=!0,m(u=>{s&&(u===0?(s=!1,c?n(0):l||(l=!0,r(0))):u.tag===0?(o=!1,(i=u[0])(0)):(n(u),o?o=!1:i(0)))})}(e(d[0]))))}),n(it(d=>{d===1?(c||(c=!0,r(1)),s&&(s=!1,i(1))):(!c&&!l&&(l=!0,r(0)),s&&!o&&(o=!0,i(0)))}))}}function _r(e){return t=>n=>{var r=$e,i=!1,l=0;t(o=>{i||(o===0?(i=!0,n(0)):o.tag===0?e<=0?(i=!0,n(0),o[0](1)):r=o[0]:l++=e&&(i=!0,n(0),r(1))):n(o))}),n(it(o=>{o===1&&!i?(i=!0,r(1)):o===0&&!i&&ln=>{var r=$e,i=$e,l=!1;t(o=>{l||(o===0?(l=!0,i(1),n(0)):o.tag===0?(r=o[0],e(s=>{s===0||(s.tag===0?(i=s[0])(0):(l=!0,i(1),r(1),n(0)))})):n(o))}),n(it(o=>{o===1&&!l?(l=!0,r(1),i(1)):l||r(0)}))}}function ps(e,t){return n=>r=>{var i=$e,l=!1;n(o=>{l||(o===0?(l=!0,r(0)):o.tag===0?(i=o[0],r(o)):e(o[0])?r(o):(l=!0,t&&r(o),r(0),i(1)))})}}function su(e){return t=>e()(t)}function hs(e){return t=>{var n=e[Co()]&&e[Co()]()||e,r=!1,i=!1,l=!1,o;t(it(async s=>{if(s===1)r=!0,n.return&&n.return();else if(i)l=!0;else{for(l=i=!0;l&&!r;)if((o=await n.next()).done)r=!0,n.return&&await n.return(),t(0);else try{l=!1,t(Ea(o.value))}catch(c){if(n.throw)(r=!!(await n.throw(c)).done)&&t(0);else throw c}i=!1}}))}}function cu(e){return e[Symbol.asyncIterator]?hs(e):t=>{var n=e[Symbol.iterator](),r=!1,i=!1,l=!1,o;t(it(s=>{if(s===1)r=!0,n.return&&n.return();else if(i)l=!0;else{for(l=i=!0;l&&!r;)if((o=n.next()).done)r=!0,n.return&&n.return(),t(0);else try{l=!1,t(Ea(o.value))}catch(c){if(n.throw)(r=!!n.throw(c).done)&&t(0);else throw c}i=!1}}))}}var du=cu;function Kn(e){return t=>{var n=!1;t(it(r=>{r===1?n=!0:n||(n=!0,t(Ea(e)),t(0))}))}}function fs(e){return t=>{var n=!1,r=e({next(i){n||t(Ea(i))},complete(){n||(n=!0,t(0))}});t(it(i=>{i===1&&!n&&(n=!0,r())}))}}function Zi(){var e,t;return{source:na(fs(n=>(e=n.next,t=n.complete,gl))),next(n){e&&e(n)},complete(){t&&t()}}}function xo(e){return fs(t=>(e.then(n=>{Promise.resolve(n).then(()=>{t.next(n),t.complete()})}),gl))}function En(e){return t=>{var n=$e,r=!1;return t(i=>{i===0?r=!0:i.tag===0?(n=i[0])(0):r||(e(i[0]),n(0))}),{unsubscribe(){r||(r=!0,n(1))}}}}function uu(e){En(t=>{})(e)}function yl(e){return new Promise(t=>{var n=$e,r;e(i=>{i===0?Promise.resolve(r).then(t):i.tag===0?(n=i[0])(0):(r=i[0],n(0))})})}var mu={NAME:"Name",DOCUMENT:"Document",OPERATION_DEFINITION:"OperationDefinition",VARIABLE_DEFINITION:"VariableDefinition",SELECTION_SET:"SelectionSet",FIELD:"Field",ARGUMENT:"Argument",FRAGMENT_SPREAD:"FragmentSpread",INLINE_FRAGMENT:"InlineFragment",FRAGMENT_DEFINITION:"FragmentDefinition",VARIABLE:"Variable",INT:"IntValue",FLOAT:"FloatValue",STRING:"StringValue",BOOLEAN:"BooleanValue",NULL:"NullValue",ENUM:"EnumValue",LIST:"ListValue",OBJECT:"ObjectValue",OBJECT_FIELD:"ObjectField",DIRECTIVE:"Directive",NAMED_TYPE:"NamedType",LIST_TYPE:"ListType",NON_NULL_TYPE:"NonNullType"},Bi=class extends Error{constructor(e,t,n,r,i,l,o){super(e),this.name="GraphQLError",this.message=e,i&&(this.path=i),t&&(this.nodes=Array.isArray(t)?t:[t]),n&&(this.source=n),r&&(this.positions=r),l&&(this.originalError=l);var s=o;if(!s&&l){var c=l.extensions;c&&typeof c=="object"&&(s=c)}this.extensions=s||{}}toJSON(){return{...this,message:this.message}}toString(){return this.message}get[Symbol.toStringTag](){return"GraphQLError"}},fe,Y;function Ce(e){return new Bi(`Syntax Error: Unexpected token at ${Y} in ${e}`)}function ze(e){if(e.lastIndex=Y,e.test(fe))return fe.slice(Y,Y=e.lastIndex)}var La=/ +(?=[^\s])/y;function pu(e){for(var t=e.split(` +`),n="",r=0,i=0,l=t.length-1,o=0;o!(!e||!e.length),Ae={OperationDefinition(e){if(e.operation==="query"&&!e.name&&!Ye(e.variableDefinitions)&&!Ye(e.directives))return Ae.SelectionSet(e.selectionSet);var t=e.operation;return e.name&&(t+=" "+e.name.value),Ye(e.variableDefinitions)&&(e.name||(t+=" "),t+="("+e.variableDefinitions.map(Ae.VariableDefinition).join(", ")+")"),Ye(e.directives)&&(t+=" "+e.directives.map(Ae.Directive).join(" ")),t+" "+Ae.SelectionSet(e.selectionSet)},VariableDefinition(e){var t=Ae.Variable(e.variable)+": "+Qe(e.type);return e.defaultValue&&(t+=" = "+Qe(e.defaultValue)),Ye(e.directives)&&(t+=" "+e.directives.map(Ae.Directive).join(" ")),t},Field(e){var t=(e.alias?e.alias.value+": ":"")+e.name.value;if(Ye(e.arguments)){var n=e.arguments.map(Ae.Argument),r=t+"("+n.join(", ")+")";t=r.length>80?t+`( + `+n.join(` +`).replace(/\n/g,` + `)+` +)`:r}return Ye(e.directives)&&(t+=" "+e.directives.map(Ae.Directive).join(" ")),e.selectionSet?t+" "+Ae.SelectionSet(e.selectionSet):t},StringValue:e=>e.block?Tu(e.value):_u(e.value),BooleanValue:e=>""+e.value,NullValue:e=>"null",IntValue:e=>e.value,FloatValue:e=>e.value,EnumValue:e=>e.value,Name:e=>e.value,Variable:e=>"$"+e.name.value,ListValue:e=>"["+e.values.map(Qe).join(", ")+"]",ObjectValue:e=>"{"+e.fields.map(Ae.ObjectField).join(", ")+"}",ObjectField:e=>e.name.value+": "+Qe(e.value),Document:e=>Ye(e.definitions)?e.definitions.map(Qe).join(` + +`):"",SelectionSet:e=>`{ + `+e.selections.map(Qe).join(` +`).replace(/\n/g,` + `)+` +}`,Argument:e=>e.name.value+": "+Qe(e.value),FragmentSpread(e){var t="..."+e.name.value;return Ye(e.directives)&&(t+=" "+e.directives.map(Ae.Directive).join(" ")),t},InlineFragment(e){var t="...";return e.typeCondition&&(t+=" on "+e.typeCondition.name.value),Ye(e.directives)&&(t+=" "+e.directives.map(Ae.Directive).join(" ")),t+" "+Qe(e.selectionSet)},FragmentDefinition(e){var t="fragment "+e.name.value;return t+=" on "+e.typeCondition.name.value,Ye(e.directives)&&(t+=" "+e.directives.map(Ae.Directive).join(" ")),t+" "+Qe(e.selectionSet)},Directive(e){var t="@"+e.name.value;return Ye(e.arguments)&&(t+="("+e.arguments.map(Ae.Argument).join(", ")+")"),t},NamedType:e=>e.name.value,ListType:e=>"["+Qe(e.type)+"]",NonNullType:e=>Qe(e.type)+"!"};function Qe(e){return Ae[e.kind]?Ae[e.kind](e):""}var Fu=e=>e&&e.message&&(e.extensions||e.name==="GraphQLError")?e:typeof e=="object"&&e.message?new Bi(e.message,e.nodes,e.source,e.positions,e.path,e,e.extensions||{}):new Bi(e),El=class extends Error{constructor(e){var t=(e.graphQLErrors||[]).map(Fu),n=((r,i)=>{var l="";if(r)return`[Network] ${r.message}`;if(i)for(var o of i)l&&(l+=` +`),l+=`[GraphQL] ${o.message}`;return l})(e.networkError,t);super(n),this.name="CombinedError",this.message=n,this.graphQLErrors=t,this.networkError=e.networkError,this.response=e.response}toString(){return this.message}},Pi=(e,t)=>{for(var n=0|(t||5381),r=0,i=0|e.length;r{if(e===null||Qt.has(e))return"null";if(typeof e!="object")return JSON.stringify(e)||"";if(e.toJSON)return pn(e.toJSON());if(Array.isArray(e)){var t="[";for(var n of e)t.length>1&&(t+=","),t+=pn(n)||"null";return t+="]"}else if(tr!==kn&&e instanceof tr||nr!==kn&&e instanceof nr)return"null";var r=Object.keys(e).sort();if(!r.length&&e.constructor&&Object.getPrototypeOf(e).constructor!==Object.prototype.constructor){var i=No.get(e)||Math.random().toString(36).slice(2);return No.set(e,i),pn({__key:i})}Qt.add(e);var l="{";for(var o of r){var s=pn(e[o]);s&&(l.length>1&&(l+=","),l+=pn(o)+":"+s)}return Qt.delete(e),l+="}"},Vi=(e,t,n)=>{if(!(n==null||typeof n!="object"||n.toJSON||Qt.has(n)))if(Array.isArray(n))for(var r=0,i=n.length;r(Qt.clear(),pn(e)),kn=class{},tr=typeof File<"u"?File:kn,nr=typeof Blob<"u"?Blob:kn,Ou=/("{3}[\s\S]*"{3}|"(?:\\.|[^"])*")/g,Lu=/(?:#[^\n\r]+)?(?:[\r\n]+|$)/g,Ru=(e,t)=>t%2==0?e.replace(Lu,` +`):e,Mo=e=>e.split(Ou).map(Ru).join("").trim(),Ao=new Map,Ga=new Map,bl=e=>{var t;return typeof e=="string"?t=Mo(e):e.loc&&Ga.get(e.__key)===e?t=e.loc.source.body:(t=Ao.get(e)||Mo(Qe(e)),Ao.set(e,t)),typeof e!="string"&&!e.loc&&(e.loc={start:0,end:t.length,source:{body:t,name:"gql",locationOffset:{line:1,column:1}}}),t},_o=e=>{var t=Pi(bl(e));if(e.definitions){var n=ks(e);n&&(t=Pi(` +# ${n}`,t))}return t},Iu=e=>{var t,n;return typeof e=="string"?(t=_o(e),n=Ga.get(t)||Au(e)):(t=e.__key||_o(e),n=Ga.get(t)||e),n.loc||bl(n),n.__key=t,Ga.set(t,n),n},vn=(e,t,n)=>{var r=t||{},i=Iu(e),l=er(r),o=i.__key;return l!=="{}"&&(o=Pi(l,o)),{key:o,query:i,variables:r,extensions:n}},ks=e=>{for(var t of e.definitions)if(t.kind===mu.OPERATION_DEFINITION)return t.name?t.name.value:void 0},To=(e,t,n)=>{if(!("data"in t||"errors"in t&&Array.isArray(t.errors)))throw new Error("No Content");var r=e.kind==="subscription";return{operation:e,data:t.data,error:Array.isArray(t.errors)?new El({graphQLErrors:t.errors,response:n}):void 0,extensions:t.extensions?{...t.extensions}:void 0,hasNext:t.hasNext==null?r:t.hasNext,stale:!1}},Di=(e,t)=>{if(typeof e=="object"&&e!=null&&(!e.constructor||e.constructor===Object||Array.isArray(e))){e=Array.isArray(e)?[...e]:{...e};for(var n of Object.keys(t))e[n]=Di(e[n],t[n]);return e}return t},Zu=(e,t,n,r)=>{var i=e.error?e.error.graphQLErrors:[],l=!!e.extensions||!!t.extensions,o={...e.extensions,...t.extensions},s=t.incremental;"path"in t&&(s=[t]);var c={data:e.data};if(s){var d=function(u){Array.isArray(u.errors)&&i.push(...u.errors),u.extensions&&(Object.assign(o,u.extensions),l=!0);var p="data",f=c,g=[];if(u.path)g=u.path;else if(r){var y=r.find(C=>C.id===u.id);u.subPath?g=[...y.path,...u.subPath]:g=y.path}for(var k=0,E=g.length;k=0?p:0,v=0,b=u.items.length;v({operation:e,data:void 0,error:new El({networkError:t,response:n}),extensions:void 0,hasNext:!1,stale:!1});function Bu(e){return{query:e.extensions&&e.extensions.persistedQuery&&!e.extensions.persistedQuery.miss?void 0:bl(e.query),operationName:ks(e.query),variables:e.variables||void 0,extensions:e.extensions}}var Pu=(e,t)=>{var n=e.kind==="query"&&e.context.preferGetMethod;if(!n||!t)return e.context.url;var r=new URL(e.context.url);for(var i in t){var l=t[i];l&&r.searchParams.set(i,typeof l=="object"?er(l):l)}var o=r.toString();return o.length>2047&&n!=="force"?(e.context.preferGetMethod=!1,e.context.url):o},Vu=(e,t)=>{if(t&&!(e.kind==="query"&&e.context.preferGetMethod)){var n=er(t),r=(s=>{var c=new Map;return(tr!==kn||nr!==kn)&&(Qt.clear(),Vi(c,"variables",s)),c})(t.variables);if(r.size){var i=new FormData;i.append("operations",n),i.append("map",er({...[...r.keys()].map(s=>[s])}));var l=0;for(var o of r.values())i.append(""+l++,o);return i}return n}},Du=(e,t)=>{var n={accept:e.kind==="subscription"?"text/event-stream, multipart/mixed":"application/graphql-response+json, application/graphql+json, application/json, text/event-stream, multipart/mixed"},r=(typeof e.context.fetchOptions=="function"?e.context.fetchOptions():e.context.fetchOptions)||{};if(r.headers)for(var i in r.headers)n[i.toLowerCase()]=r.headers[i];var l=Vu(e,t);return typeof l=="string"&&!n["content-type"]&&(n["content-type"]="application/json"),{...r,method:l?"POST":"GET",body:l,headers:n}},Hu=typeof TextDecoder<"u"?new TextDecoder:null,ju=/boundary="?([^=";]+)"?/i,zu=/data: ?([^\n]+)/,Fo=e=>e.constructor.name==="Buffer"?e.toString():Hu.decode(e);async function*Oo(e){if(e.body[Symbol.asyncIterator])for await(var t of e.body)yield Fo(t);else{var n=e.body.getReader(),r;try{for(;!(r=await n.read()).done;)yield Fo(r.value)}finally{n.cancel()}}}async function*Lo(e,t){var n="",r;for await(var i of e)for(n+=i;(r=n.indexOf(t))>-1;)yield n.slice(0,r),n=n.slice(r+t.length)}async function*Uu(e,t,n){var r=!0,i=null,l;try{yield await Promise.resolve();var o=(l=await(e.context.fetch||fetch)(t,n)).headers.get("Content-Type")||"",s;/multipart\/mixed/i.test(o)?s=async function*(m,u){var p=m.match(ju),f="--"+(p?p[1]:"-"),g=!0,y;for await(var k of Lo(Oo(u),`\r +`+f)){if(g){g=!1;var E=k.indexOf(f);if(E>-1)k=k.slice(E+f.length);else continue}try{yield y=JSON.parse(k.slice(k.indexOf(`\r +\r +`)+4))}catch(h){if(!y)throw h}if(y&&y.hasNext===!1)break}y&&y.hasNext!==!1&&(yield{hasNext:!1})}(o,l):/text\/event-stream/i.test(o)?s=async function*(m){var u;for await(var p of Lo(Oo(m),` + +`)){var f=p.match(zu);if(f){var g=f[1];try{yield u=JSON.parse(g)}catch(y){if(!u)throw y}if(u&&u.hasNext===!1)break}}u&&u.hasNext!==!1&&(yield{hasNext:!1})}(l):/text\//i.test(o)?s=async function*(m){var u=await m.text();try{var p=JSON.parse(u);yield p}catch{throw new Error(u)}}(l):s=async function*(m){yield JSON.parse(await m.text())}(l);var c;for await(var d of s)d.pending&&!i?c=d.pending:d.pending&&(c=[...c,...d.pending]),i=i?Zu(i,d,l,c):To(e,d,l),r=!1,yield i,r=!0;i||(yield i=To(e,{},l))}catch(m){if(!r)throw m;yield ws(e,l&&(l.status<200||l.status>=300)&&l.statusText?new Error(l.statusText):m,l)}}function $u(e,t,n){var r;return typeof AbortController<"u"&&(n.signal=(r=new AbortController).signal),vl(()=>{r&&r.abort()})(Ve(i=>!!i)(hs(Uu(e,t,n))))}var Hi=(e,t)=>{if(!e||typeof e!="object")return e;if(Array.isArray(e))return e.map(i=>Hi(i));if(e&&typeof e=="object"&&(t||"__typename"in e)){var n={};for(var r in e)r==="__typename"?Object.defineProperty(n,"__typename",{enumerable:!1,value:e.__typename}):n[r]=Hi(e[r]);return n}else return e};function Ro(e){var t=n=>e(n);return t.toPromise=()=>yl(_r(1)(Ve(n=>!n.stale&&!n.hasNext)(t))),t.then=(n,r)=>t.toPromise().then(n,r),t.subscribe=n=>En(n)(t),t}function ar(e,t,n){return{...t,kind:e,context:t.context?{...t.context,...n}:n||t.context}}var Wu=()=>{},Gu=({forward:e,dispatchDebug:t})=>n=>{var r=Ka(l=>{var o=Bu(l),s=Pu(l,o),c=Du(l,o),d=ms(Ve(m=>m.kind==="teardown"&&m.key===l.key)(n))($u(l,s,c));return d})(Ve(l=>l.kind!=="teardown"&&(l.kind!=="subscription"||!!l.context.fetchSubscriptions))(n)),i=e(Ve(l=>l.kind==="teardown"||l.kind==="subscription"&&!l.context.fetchSubscriptions)(n));return ta([r,i])},qu=e=>({client:t,forward:n,dispatchDebug:r})=>e.reduceRight((i,l)=>l({client:t,forward(o){return na(i(na(o)))},dispatchDebug(o){}}),n),Yu=({onOperation:e,onResult:t,onError:n})=>({forward:r})=>i=>Ka(l=>{n&&l.error&&n(l.error,l.operation);var o=t&&t(l)||l;return"then"in o?xo(o):Kn(o)})(r(Ka(l=>{var o=e&&e(l)||l;return"then"in o?xo(o):Kn(o)})(i))),Qu=({dispatchDebug:e})=>t=>Ve(n=>!1)(t),Ku=function e(t){var n=0,r=new Map,i=new Map,l=new Set,o=[],s={url:t.url,fetchSubscriptions:t.fetchSubscriptions,fetchOptions:t.fetchOptions,fetch:t.fetch,preferGetMethod:t.preferGetMethod,requestPolicy:t.requestPolicy||"cache-first"},c=Zi();function d(h){(h.kind==="mutation"||h.kind==="teardown"||!l.has(h.key))&&(h.kind==="teardown"?l.delete(h.key):h.kind!=="mutation"&&l.add(h.key),c.next(h))}var m=!1;function u(h){if(h&&d(h),!m){for(m=!0;m&&(h=o.shift());)d(h);m=!1}}var p=h=>{var v=ms(Ve(b=>b.kind==="teardown"&&b.key===h.key)(c.source))(Ve(b=>b.operation.kind===h.kind&&b.operation.key===h.key&&(!b.operation.context._instance||b.operation.context._instance===h.context._instance))(E));return t.maskTypename&&(v=Ri(b=>({...b,data:Hi(b.data,!0)}))(v)),h.kind!=="query"?v=ps(b=>!!b.hasNext,!0)(v):v=So(b=>{var C=Kn(b);return b.stale||b.hasNext?C:ta([C,Ri(()=>(b.stale=!0,b))(_r(1)(Ve(O=>O.key===h.key)(c.source)))])})(v),h.kind!=="mutation"?v=vl(()=>{l.delete(h.key),r.delete(h.key),i.delete(h.key),m=!1;for(var b=o.length-1;b>=0;b--)o[b].key===h.key&&o.splice(b,1);d(ar("teardown",h,h.context))})(Ja(b=>{if(b.stale){for(var C of o)if(C.key===b.operation.key){l.delete(C.key);break}}else b.hasNext||l.delete(h.key);r.set(h.key,b)})(v)):v=Ii(()=>{d(h)})(v),na(v)},f=this instanceof e?this:Object.create(e.prototype),g=Object.assign(f,{suspense:!!t.suspense,operations$:c.source,reexecuteOperation(h){if(h.kind==="teardown")u(h);else if(h.kind==="mutation"||i.has(h.key)){for(var v=!1,b=0;b{var v=i.get(h.key);v||i.set(h.key,v=p(h)),v=Ii(()=>{u(h)})(v);var b=r.get(h.key);return h.kind==="query"&&b&&(b.stale||b.hasNext)?So(Kn)(ta([v,Ve(C=>C===r.get(h.key))(Kn(b))])):v}))},executeQuery(h,v){var b=g.createRequestOperation("query",h,v);return g.executeRequestOperation(b)},executeSubscription(h,v){var b=g.createRequestOperation("subscription",h,v);return g.executeRequestOperation(b)},executeMutation(h,v){var b=g.createRequestOperation("mutation",h,v);return g.executeRequestOperation(b)},readQuery(h,v,b){var C=null;return En(O=>{C=O})(g.query(h,v,b)).unsubscribe(),C},query:(h,v,b)=>g.executeQuery(vn(h,v),b),subscription:(h,v,b)=>g.executeSubscription(vn(h,v),b),mutation:(h,v,b)=>g.executeMutation(vn(h,v),b)}),y=Wu,k=qu(t.exchanges),E=na(k({client:g,dispatchDebug:y,forward:Qu({dispatchDebug:y})})(c.source));return uu(E),g},ui=(e,t)=>ar(e.kind,e,{...e.context,authAttempt:t});function Ju(e){return({client:t,forward:n})=>{var r=new Set,i=Zi(),l=Zi(),o=new Map;function s(){d=void 0;var u=o;o=new Map,u.forEach(i.next)}function c(u){d=void 0;var p=o;o=new Map,p.forEach(f=>{l.next(ws(f,u))})}var d,m=null;return u=>{function p(){d=Promise.resolve().then(()=>e({mutate(E,h,v){var b=t.createRequestOperation("mutation",vn(E,h),v);return yl(_r(1)(Ve(C=>C.operation.key===b.key&&b.context._instance===C.operation.context._instance)(Ii(()=>{var C=g(b);r.add(C.context._instance),i.next(C)})(k))))},appendHeaders(E,h){var v=typeof E.context.fetchOptions=="function"?E.context.fetchOptions():E.context.fetchOptions||{};return ar(E.kind,E,{...E.context,fetchOptions:{...v,headers:{...v.headers,...h}}})}})).then(E=>{E&&(m=E),s()}).catch(E=>{c(E)})}p();function f(E){o.set(E.key,ui(E,!0)),m&&!d&&(d=m.refreshAuth().then(s).catch(c))}function g(E){return m?m.addAuthToOperation(E):E}var y=Ve(Boolean)(Ri(E=>E.kind==="teardown"?(o.delete(E.key),E):E.context._instance&&r.has(E.context._instance)?E:E.context.authAttempt?g(E):d||!m?(d||p(),o.has(E.key)||o.set(E.key,ui(E,!1)),null):function(h){return!h.context.authAttempt&&m&&m.willAuthError&&m.willAuthError(h)}(E)?(f(E),null):g(ui(E,!1)))(ta([i.source,u]))),k=n(y);return ta([l.source,Ve(E=>!r.has(E.operation.context._instance)&&E.error&&function(h){return m&&m.didAuthError&&m.didAuthError(h.error,h.operation)}(E)&&!E.operation.context.authAttempt?(f(E.operation),!1):(r.has(E.operation.context._instance)&&r.delete(E.operation.context._instance),!0))(k)])}}}var Xu={},Fr=qe(Xu),e2=Fr.Provider;Fr.Consumer;Fr.displayName="UrqlContext";var kl=()=>{var e=zt(Fr);return e},ji={fetching:!1,stale:!1,error:void 0,data:void 0,extensions:void 0,operation:void 0},t2=(e,t)=>e===t||!(!e||!t||e.key!==t.key),mi=(e,t)=>{var n={...e,...t,data:t.data!==void 0||t.error?t.data:e.data,fetching:!!t.fetching,stale:!!t.stale};return((r,i)=>{for(var l in r)if(!(l in i))return!0;for(var o in i)if(o==="operation"?!t2(r[o],i[o]):r[o]!==i[o])return!0;return!1})(e,n)?n:e},n2=(e,t)=>{for(var n=0,r=t.length;n(rr(i,{...ji,fetching:!0}),yl(_r(1)(Ve(c=>!c.hasNext)(Ja(c=>{t.current&&rr(i,{fetching:!1,stale:c.stale,data:c.data,error:c.error,extensions:c.extensions,operation:c.operation})})(n.executeMutation(vn(e,o),s||{})))))),[n,e,i]);return X(()=>(t.current=!0,()=>{t.current=!1}),[]),[r,l]}function a2(e,t){var n=Ne(void 0);return wt(()=>{var r=vn(e,t);return n.current!==void 0&&n.current.key===r.key?n.current:(n.current=r,r)},[e,t])}var r2=e=>{if(!e._react){var t=new Set,n=new Map;e.operations$&&En(r=>{r.kind==="teardown"&&t.has(r.key)&&(t.delete(r.key),n.delete(r.key))})(e.operations$),e._react={get:r=>n.get(r),set(r,i){t.delete(r),n.set(r,i)},dispose(r){t.add(r)}}}return e._react},i2=(e,t)=>t&&t.suspense!==void 0?!!t.suspense:e.suspense;function wl(e){var t=kl(),n=r2(t),r=i2(t,e.context),i=a2(e.query,e.variables),l=wt(()=>{if(e.pause)return null;var p=t.executeQuery(i,{requestPolicy:e.requestPolicy,...e.context});return r?Ja(f=>{n.set(i.key,f)})(p):p},[n,t,i,r,e.pause,e.requestPolicy,e.context]),o=H((p,f)=>{if(!p)return{fetching:!1};var g=n.get(i.key);if(g){if(f&&g!=null&&"then"in g)throw g}else{var y,k=En(h=>{g=h,y&&y(g)})(ps(()=>f&&!y||!g)(p));if(g==null&&f){var E=new Promise(h=>{y=h});throw n.set(i.key,E),E}else k.unsubscribe()}return g||{fetching:!0}},[n,i]),s=[t,i,e.requestPolicy,e.context,e.pause],[c,d]=Me(()=>[l,mi(ji,o(l,r)),s]),m=c[1];l!==c[0]&&n2(c[2],s)&&d([l,m=mi(c[1],o(l,r)),s]),X(()=>{var p=c[0],f=c[2][1],g=!1,y=E=>{g=!0,rr(d,h=>{var v=mi(h[1],E);return h[1]!==v?[h[0],v,h[2]]:h})};if(p){var k=En(y)(vl(()=>{y({fetching:!1})})(p));return g||y({fetching:!0}),()=>{n.dispose(f.key),k.unsubscribe()}}else y({fetching:!1})},[n,c[0],c[2][1]]);var u=H(p=>{var f={requestPolicy:e.requestPolicy,...e.context,...p};rr(d,g=>[r?Ja(y=>{n.set(i.key,y)})(t.executeQuery(i,f)):t.executeQuery(i,f),g[1],s])},[t,n,i,r,e.requestPolicy,e.context,e.pause]);return[m,u]}var Ra,l2=new Uint8Array(16);function o2(){if(!Ra&&(Ra=typeof crypto<"u"&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto),!Ra))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return Ra(l2)}var xe=[];for(let e=0;e<256;++e)xe.push((e+256).toString(16).slice(1));function s2(e,t=0){return xe[e[t+0]]+xe[e[t+1]]+xe[e[t+2]]+xe[e[t+3]]+"-"+xe[e[t+4]]+xe[e[t+5]]+"-"+xe[e[t+6]]+xe[e[t+7]]+"-"+xe[e[t+8]]+xe[e[t+9]]+"-"+xe[e[t+10]]+xe[e[t+11]]+xe[e[t+12]]+xe[e[t+13]]+xe[e[t+14]]+xe[e[t+15]]}var c2=typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto),Io={randomUUID:c2};function d2(e,t,n){if(Io.randomUUID&&!t&&!e)return Io.randomUUID();e=e||{};let r=e.random||(e.rng||o2)();if(r[6]=r[6]&15|64,r[8]=r[8]&63|128,t){n=n||0;for(let i=0;i<16;++i)t[n+i]=r[i];return t}return s2(r)}var u2=d2,ut,Jn,ir=e=>{try{let{exp:t}=e?JSON.parse(atob(e.split(".")[1])):{exp:null};ut=e,Jn=t}catch{ut=null,Jn=null}ut?localStorage.setItem(Fi,ut):localStorage.removeItem(Fi)};ir(localStorage.getItem(Fi));var Cl=()=>{let[{token:e},t]=ql(`${Z}/accessToken`,{token:ut}),n=a.useCallback(r=>{ir(r),t({token:ut})},[t]);return[e,n]},m2=u2(),Ss=e=>({headers:{Accept:"*/*",...e&&{Authorization:`Bearer ${e}`},"X-Chromatic-Session-ID":m2}}),xs=e=>new Ku({url:s5,exchanges:[Yu({onResult(t){t.data?.viewer===null&&ir(null)}}),Ju(async t=>({addAuthToOperation(n){return ut?t.appendHeaders(n,{Authorization:`Bearer ${ut}`}):n},didAuthError:n=>n.response?.status===401||n.graphQLErrors.some(r=>r.message.includes("Must login")),async refreshAuth(){ir(null)},willAuthError(){if(!ut)return!0;try{if(!Jn){let{exp:n}=JSON.parse(atob(ut.split(".")[1]));Jn=n}return Date.now()/1e3>(Jn||0)}catch{return!0}}})),Gu],fetchOptions:Ss(),...e}),p2=({children:e,value:t=xs()})=>a.createElement(e2,{value:t},e),bt=(e,t)=>{let n=zt(e);if(n==null)throw new Error(`Missing context value for ${t}`);return n},ba=qe(null),h2=({children:e,value:t})=>a.createElement(ba.Provider,{value:t},e),We=(e,t)=>{let n=bt(ba,"Telemetry");X(()=>n({location:e,screen:t}),[e,t,n])},Pn=new Map,zi=(e,t,n,r=!0)=>{let i=()=>{window.clearTimeout(Pn.get(e)),Pn.delete(e)},l=(...o)=>{Pn.has(e)?i():r&&t(...o),Pn.set(e,window.setTimeout(()=>Pn.delete(e)&&t(...o),n))};return l.cancel=i,l},Sl=({localBuildProgress:e,accessToken:t})=>{let n=Ln({}),r=zt(ba),[i,l]=Me(!1),[o,s]=Me(!1),c=e?["initialize","build","upload"].includes(e?.currentStep):!1,d=e?!["aborted","complete","error","limited"].includes(e.currentStep):i,m=wt(()=>zi("startBuild",()=>{s(!1),l(!0),n(m5,{accessToken:t}),r?.({action:"startBuild"})},1e3,!1),[t,n,r]),u=wt(()=>zi("startBuild",()=>{c?(l(!1),n(p5),r?.({action:"stopBuild"})):s(!0)},1e3,!1),[c,n,r]);return X(()=>{let p=i&&setTimeout(()=>l(!1),5e3);return()=>{p&&clearTimeout(p)}},[i]),{isDisallowed:o,isRunning:d,startBuild:m,stopBuild:u}},Zo="experimental_useSharedState_getValue",Ia="experimental_useSharedState_setValue",pi=new Map,Ns=class{constructor(e){this.channel=e,this.listeners=[],this.state={},this.channel.on(Ia,(t,n,r)=>{this.state?.[t]?.index>=r||(this.state[t]={index:r,value:n})}),this.channel.on(Zo,t=>{let n=this.state[t]?.index??0,r=this.state[t]?.value;this.channel.emit(Ia,t,r,n)})}get(e){return this.state[e]||this.channel.emit(Zo,e),this.state[e]?.value}set(e,t){let n=(this.state[e]?.index??0)+1;this.state[e]={index:n,value:t},this.channel.emit(Ia,e,t,n)}static subscribe(e,t){let n=pi.get(e)||new Ns(t);return pi.has(e)||(pi.set(e,n),n.channel.on(Ia,(r,i)=>{r===e&&n.listeners.forEach(l=>l(i))})),{get value(){return n.get(e)},set value(r){n.set(e,r)},on(r,i){if(r!=="change")throw new Error("unsupported event");n.listeners.push(i)},off(r,i){if(r!=="change")throw new Error("unsupported event");let l=n.listeners.indexOf(i);l>=0&&n.listeners.splice(l,1)}}}};function Ee(e){let t=cn().getChannel();if(!t)throw new Error("Channel not available");let n=Ne(Ns.subscribe(e,t)),[r,i]=Me(n.current.value);return X(()=>{let l=n.current;return l.on("change",i),()=>l.off("change",i)},[n]),[r,H(l=>{i(l),n.current.value=l},[])]}var xl=()=>{let[e,t]=Ee(ns),{projectId:n,written:r,dismissed:i,configFile:l}=e||{};return{loading:!e,projectId:n,configFile:l,updateProject:H(o=>t({...e,projectId:o,dismissed:!1}),[e,t]),projectUpdatingFailed:!i&&r===!1,projectIdUpdated:!i&&r===!0,clearProjectIdUpdated:H(()=>t({...e,dismissed:!0}),[e,t])}},Ui=["initialize","build","upload","verify","snapshot"],Nl={initialize:{key:"initialize",emoji:"\u{1F680}",renderName:()=>"Initialize build",renderProgress:()=>"Initializing build...",renderComplete:()=>"Initialized",estimateDuration:2e3},build:{key:"build",emoji:"\u{1F3D7}",renderName:()=>"Build Storybook",renderProgress:()=>"Building your Storybook...",renderComplete:()=>"Storybook built",estimateDuration:2e4},upload:{key:"upload",emoji:"\u{1F4E1}",renderName:()=>"Publish your Storybook",renderProgress:({stepProgress:e})=>{let{numerator:t,denominator:n}=e.upload;if(!n||!t)return"Uploading files...";let{value:r,exponent:i}=ti(n,{output:"object",round:1}),{value:l,symbol:o}=ti(t,{exponent:i,output:"object",round:1});return`Uploading files... ${l}/${r} ${o}`},renderComplete:()=>"Publish complete",estimateDuration:2e4},verify:{key:"verify",emoji:"\u{1F50D}",renderName:()=>"Verify your Storybook",renderProgress:()=>"Verifying contents...",renderComplete:()=>"Storybook verified",estimateDuration:2e4},snapshot:{key:"snapshot",emoji:"\u{1F4F8}",renderName:()=>"Run visual tests",renderProgress:({stepProgress:e})=>{let{numerator:t,denominator:n}=e.snapshot;return n?`Running visual tests... ${t}/${n}`:"Running visual tests..."},renderComplete:()=>"Tested your stories",estimateDuration:9e4},aborted:{key:"aborted",emoji:"\u270B",renderName:()=>"Build canceled",renderProgress:()=>"Build canceled",renderComplete:()=>"Build canceled",estimateDuration:0},complete:{key:"complete",emoji:"\u{1F389}",renderName:()=>"Visual tests completed!",renderProgress:()=>"Visual tests completed!",renderComplete:()=>"Visual tests completed!",estimateDuration:0},error:{key:"error",emoji:"\u{1F6A8}",renderName:()=>"Build failed",renderProgress:()=>"Build failed",renderComplete:()=>"Build failed",estimateDuration:0},limited:{key:"error",emoji:"\u{1F6A8}",renderName:()=>"Build limited",renderProgress:()=>"Build limited",renderComplete:()=>"Build limited",estimateDuration:0}},f2={buildProgressPercentage:0,currentStep:Ui[0],stepProgress:Object.fromEntries(Ui.map(e=>[e,{}]))};JSON.stringify(f2);var j=w.div(({center:e,small:t,block:n,theme:r})=>({display:n?"block":"inline-block",color:r.color.defaultText,fontSize:t?r.typography.size.s1:r.typography.size.s2,lineHeight:t?"18px":"20px",textAlign:e?"center":"left",textWrap:"balance"}),({muted:e,theme:t})=>e&&{color:t.base==="light"?t.color.dark:"#C9CDCF"},({theme:e})=>({b:{color:e.color.defaultText},code:{fontSize:e.typography.size.s1,border:`1px solid ${e.appBorderColor}`,borderRadius:3,padding:2},small:{fontSize:e.typography.size.s1},span:{whiteSpace:"nowrap"},svg:{verticalAlign:"top"}})),Ml=({localBuildProgress:e,withEmoji:t=!1,...n})=>{let{emoji:r,renderProgress:i}=Nl[e.currentStep],l=i(e);return a.createElement(j,{...n},t&&r," ",l)};function lr(){return lr=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0&&i<1?(s=l,c=o):i>=1&&i<2?(s=o,c=l):i>=2&&i<3?(c=l,d=o):i>=3&&i<4?(c=o,d=l):i>=4&&i<5?(s=o,d=l):i>=5&&i<6&&(s=l,d=o);var m=n-l/2,u=s+m,p=c+m,f=d+m;return r(u,p,f)}var Bo={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 k2(e){if(typeof e!="string")return e;var t=e.toLowerCase();return Bo[t]?"#"+Bo[t]:e}var w2=/^#[a-fA-F0-9]{6}$/,C2=/^#[a-fA-F0-9]{8}$/,S2=/^#[a-fA-F0-9]{3}$/,x2=/^#[a-fA-F0-9]{4}$/,fi=/^rgb\(\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*\)$/i,N2=/^rgb(?:a)?\(\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,|\/)\s*([-+]?\d*[.]?\d+[%]?)\s*\)$/i,M2=/^hsl\(\s*(\d{0,3}[.]?[0-9]+(?:deg)?)\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*\)$/i,A2=/^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 As(e){if(typeof e!="string")throw new mt(3);var t=k2(e);if(t.match(w2))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(C2)){var n=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:n}}if(t.match(S2))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(x2)){var r=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:r}}var i=fi.exec(t);if(i)return{red:parseInt(""+i[1],10),green:parseInt(""+i[2],10),blue:parseInt(""+i[3],10)};var l=N2.exec(t.substring(0,50));if(l)return{red:parseInt(""+l[1],10),green:parseInt(""+l[2],10),blue:parseInt(""+l[3],10),alpha:parseFloat(""+l[4])>1?parseFloat(""+l[4])/100:parseFloat(""+l[4])};var o=M2.exec(t);if(o){var s=parseInt(""+o[1],10),c=parseInt(""+o[2],10)/100,d=parseInt(""+o[3],10)/100,m="rgb("+ra(s,c,d)+")",u=fi.exec(m);if(!u)throw new mt(4,t,m);return{red:parseInt(""+u[1],10),green:parseInt(""+u[2],10),blue:parseInt(""+u[3],10)}}var p=A2.exec(t.substring(0,50));if(p){var f=parseInt(""+p[1],10),g=parseInt(""+p[2],10)/100,y=parseInt(""+p[3],10)/100,k="rgb("+ra(f,g,y)+")",E=fi.exec(k);if(!E)throw new mt(4,t,k);return{red:parseInt(""+E[1],10),green:parseInt(""+E[2],10),blue:parseInt(""+E[3],10),alpha:parseFloat(""+p[4])>1?parseFloat(""+p[4])/100:parseFloat(""+p[4])}}throw new mt(5)}function _2(e){var t=e.red/255,n=e.green/255,r=e.blue/255,i=Math.max(t,n,r),l=Math.min(t,n,r),o=(i+l)/2;if(i===l)return e.alpha!==void 0?{hue:0,saturation:0,lightness:o,alpha:e.alpha}:{hue:0,saturation:0,lightness:o};var s,c=i-l,d=o>.5?c/(2-i-l):c/(i+l);switch(i){case t:s=(n-r)/c+(n=1?or(e,t,n):"rgba("+ra(e,t,n)+","+r+")";if(typeof e=="object"&&t===void 0&&n===void 0&&r===void 0)return e.alpha>=1?or(e.hue,e.saturation,e.lightness):"rgba("+ra(e.hue,e.saturation,e.lightness)+","+e.alpha+")";throw new mt(2)}function qi(e,t,n){if(typeof e=="number"&&typeof t=="number"&&typeof n=="number")return Gi("#"+Wt(e)+Wt(t)+Wt(n));if(typeof e=="object"&&t===void 0&&n===void 0)return Gi("#"+Wt(e.red)+Wt(e.green)+Wt(e.blue));throw new mt(6)}function Yi(e,t,n,r){if(typeof e=="string"&&typeof t=="number"){var i=As(e);return"rgba("+i.red+","+i.green+","+i.blue+","+t+")"}else{if(typeof e=="number"&&typeof t=="number"&&typeof n=="number"&&typeof r=="number")return r>=1?qi(e,t,n):"rgba("+e+","+t+","+n+","+r+")";if(typeof e=="object"&&t===void 0&&n===void 0&&r===void 0)return e.alpha>=1?qi(e.red,e.green,e.blue):"rgba("+e.red+","+e.green+","+e.blue+","+e.alpha+")"}throw new mt(7)}var R2=function(e){return typeof e.red=="number"&&typeof e.green=="number"&&typeof e.blue=="number"&&(typeof e.alpha!="number"||typeof e.alpha>"u")},I2=function(e){return typeof e.red=="number"&&typeof e.green=="number"&&typeof e.blue=="number"&&typeof e.alpha=="number"},Z2=function(e){return typeof e.hue=="number"&&typeof e.saturation=="number"&&typeof e.lightness=="number"&&(typeof e.alpha!="number"||typeof e.alpha>"u")},B2=function(e){return typeof e.hue=="number"&&typeof e.saturation=="number"&&typeof e.lightness=="number"&&typeof e.alpha=="number"};function Ts(e){if(typeof e!="object")throw new mt(8);if(I2(e))return Yi(e);if(R2(e))return qi(e);if(B2(e))return L2(e);if(Z2(e))return O2(e);throw new mt(8)}function Fs(e,t,n){return function(){var r=n.concat(Array.prototype.slice.call(arguments));return r.length>=t?e.apply(this,r):Fs(e,t,r)}}function Os(e){return Fs(e,e.length,[])}function Ls(e,t,n){return Math.max(e,Math.min(t,n))}function P2(e,t){if(t==="transparent")return t;var n=_s(t);return Ts(lr({},n,{lightness:Ls(0,1,n.lightness-parseFloat(e))}))}var V2=Os(P2),Gt=V2;function D2(e,t){if(t==="transparent")return t;var n=_s(t);return Ts(lr({},n,{lightness:Ls(0,1,n.lightness+parseFloat(e))}))}var H2=Os(D2),qa=H2,V={primary:"#FF4785",secondary:"#029CFD",tertiary:"#E3E6E8",orange:"#FC521F",gold:"#FFAE00",green:"#66BF3C",seafoam:"#37D5D3",purple:"#6F2CAC",ultraviolet:"#2A0481",red:"#ff4400",bluelight:"#E3F3FF",bluelighter:"#F5FBFF",lightest:"#FFFFFF",lighter:"#F7FAFC",light:"#EEF3F6",mediumlight:"#ECF4F9",medium:"#D9E8F2",mediumdark:"#73828C",dark:"#5C6870",darker:"#454E54",darkest:"#2E3438",tr10:"rgba(0, 0, 0, 0.1)",tr5:"rgba(0, 0, 0, 0.05)",border:"hsla(203, 50%, 30%, 0.15)",positive:"#448028",negative:"#D43900",warning:"#A15C20",selected:"#0271B6"},Al={padding:{small:10,medium:20,large:30},borderRadius:{small:5,default:10}},P={type:{primary:'var(--nunito-sans, "Nunito Sans"), "Nunito Sans", "Helvetica Neue", Helvetica, Arial, sans-serif',code:'"SFMono-Regular", Consolas, "Liberation Mono", Menlo, Courier, monospace'},weight:{regular:"400",bold:"700",extrabold:"800"},size:{s1:12,s2:14,s3:16,m1:20,m2:24,m3:28,l1:32,l2:40,l3:48,code:90}},Za=600,Ba=5.55555;ue({padding:`0 ${Al.padding.medium}px`,[`@media (min-width: ${Za*1}px)`]:{margin:`0 ${Ba*1}%`},[`@media (min-width: ${Za*2}px)`]:{margin:`0 ${Ba*2}%`},[`@media (min-width: ${Za*3}px)`]:{margin:`0 ${Ba*3}%`},[`@media (min-width: ${Za*4}px)`]:{margin:`0 ${Ba*4}%`}});ue({border:`1px solid ${V.border}`,borderRadius:`${Al.borderRadius.small}px`,transition:"background 150ms ease-out, border 150ms ease-out, transform 150ms ease-out","&:hover, &.__hover":{borderColor:`${Yi(V.secondary,.5)}`,transform:"translate3d(0, -3px, 0)",boxShadow:"rgba(0, 0, 0, 0.08) 0 3px 10px 0"},"&:active, &.__active":{borderColor:`${Yi(V.secondary,1)}`,transform:"translate3d(0, 0, 0)"}});ue({fontSize:P.size.l3,fontWeight:P.weight.bold}),ue({fontSize:P.size.l2,fontWeight:P.weight.bold}),ue({fontSize:P.size.l1,fontWeight:P.weight.bold}),ue({fontSize:P.size.m3,fontWeight:P.weight.bold}),ue({fontSize:P.size.m2,fontWeight:P.weight.bold}),ue({fontSize:P.size.m1,fontWeight:P.weight.bold}),ue({fontSize:P.size.s3,fontWeight:P.weight.bold}),ue({fontSize:P.size.s2,fontWeight:P.weight.bold});ue({fontSize:14,fontWeight:P.weight.extrabold,lineHeight:"18px",letterSpacing:"0.38em"}),ue({fontSize:11,fontWeight:P.weight.extrabold,lineHeight:"16px",letterSpacing:"0.38em"});ue({fontSize:14,fontWeight:P.weight.bold,lineHeight:"18px"}),ue({fontSize:14,fontWeight:P.weight.regular,lineHeight:"18px"}),ue({fontSize:P.size.s3,fontWeight:P.weight.bold,lineHeight:"24px"}),ue({fontSize:P.size.s1,fontWeight:P.weight.regular,lineHeight:"18px"}),ue({fontSize:P.size.s2,fontWeight:P.weight.bold,lineHeight:"20px"}),ue({fontSize:P.size.s1,fontWeight:P.weight.bold,lineHeight:"18px"}),ue({fontSize:P.size.s3,fontWeight:P.weight.regular,lineHeight:"24px"}),ue({fontSize:P.size.s2,fontWeight:P.weight.regular,lineHeight:"20px"});ue({fontFamily:P.type.code,fontSize:P.size.s2,fontWeight:P.weight.regular,lineHeight:"17px"}),ue({fontFamily:P.type.code,fontSize:P.size.s1,fontWeight:P.weight.regular,lineHeight:"14px"});var Rs=Ft({from:{transform:"rotate(0deg)"},to:{transform:"rotate(360deg)"}}),Is=Ft({"0%, 100%":{opacity:1},"50%":{opacity:.4}});Ft({"0%":{transform:"translateY(1px)"},"25%":{transform:"translateY(0px)"},"50%":{transform:"translateY(-3px)"},"100%":{transform:"translateY(1px)"}});var Zs=Ft({"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)"}});Ft({"0%":{transform:"rotate(-3deg)"},"1.68421%":{transform:"rotate(3deg)"},"2.10526%":{transform:"rotate(6deg)"},"3.78947%":{transform:"rotate(-6deg)"},"4.21053%":{transform:"rotate(-6deg)"},"5.89474%":{transform:"rotate(6deg)"},"6.31579%":{transform:"rotate(6deg)"},"8%":{transform:"rotate(-6deg)"},"8.42105%":{transform:"rotate(-6deg)"},"10.10526%":{transform:"rotate(6deg)"},"10.52632%":{transform:"rotate(6deg)"},"12.21053%":{transform:"rotate(-6deg)"},"12.63158%":{transform:"rotate(-6deg)"},"14.31579%":{transform:"rotate(6deg)"},"15.78947%":{transform:"rotate(0deg)"},"100%":{transform:"rotate(0deg)"}});var j2=ue({animation:`${Is} 1.5s ease-in-out infinite`,background:V.tr5,color:"transparent",cursor:"progress"}),z2={kind:"Document",definitions:[{kind:"FragmentDefinition",name:{kind:"Name",value:"StatusTestFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Test"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"status"}},{kind:"Field",name:{kind:"Name",value:"result"}},{kind:"Field",name:{kind:"Name",value:"story"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"storyId"}}]}}]}}]},U2={kind:"Document",definitions:[{kind:"FragmentDefinition",name:{kind:"Name",value:"LastBuildOnBranchTestFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Test"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"status"}},{kind:"Field",name:{kind:"Name",value:"result"}}]}}]},$2={kind:"Document",definitions:[{kind:"FragmentDefinition",name:{kind:"Name",value:"LastBuildOnBranchBuildFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Build"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"__typename"}},{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"status"}},{kind:"Field",name:{kind:"Name",value:"committedAt"}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"StartedBuild"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",alias:{kind:"Name",value:"testsForStatus"},name:{kind:"Name",value:"tests"},arguments:[{kind:"Argument",name:{kind:"Name",value:"first"},value:{kind:"IntValue",value:"1000"}},{kind:"Argument",name:{kind:"Name",value:"statuses"},value:{kind:"Variable",name:{kind:"Name",value:"testStatuses"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"nodes"},selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"StatusTestFields"}}]}}]}},{kind:"Field",alias:{kind:"Name",value:"testsForStory"},name:{kind:"Name",value:"tests"},arguments:[{kind:"Argument",name:{kind:"Name",value:"storyId"},value:{kind:"Variable",name:{kind:"Name",value:"storyId"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"nodes"},selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"LastBuildOnBranchTestFields"}}]}}]}}]}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"CompletedBuild"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"result"}},{kind:"Field",alias:{kind:"Name",value:"testsForStatus"},name:{kind:"Name",value:"tests"},arguments:[{kind:"Argument",name:{kind:"Name",value:"first"},value:{kind:"IntValue",value:"1000"}},{kind:"Argument",name:{kind:"Name",value:"statuses"},value:{kind:"Variable",name:{kind:"Name",value:"testStatuses"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"nodes"},selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"StatusTestFields"}}]}}]}},{kind:"Field",alias:{kind:"Name",value:"testsForStory"},name:{kind:"Name",value:"tests"},arguments:[{kind:"Argument",name:{kind:"Name",value:"storyId"},value:{kind:"Variable",name:{kind:"Name",value:"storyId"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"nodes"},selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"LastBuildOnBranchTestFields"}}]}}]}}]}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"StatusTestFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Test"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"status"}},{kind:"Field",name:{kind:"Name",value:"result"}},{kind:"Field",name:{kind:"Name",value:"story"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"storyId"}}]}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"LastBuildOnBranchTestFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Test"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"status"}},{kind:"Field",name:{kind:"Name",value:"result"}}]}}]},W2={kind:"Document",definitions:[{kind:"FragmentDefinition",name:{kind:"Name",value:"StoryTestFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Test"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"status"}},{kind:"Field",name:{kind:"Name",value:"result"}},{kind:"Field",name:{kind:"Name",value:"webUrl"}},{kind:"Field",name:{kind:"Name",value:"comparisons"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"result"}},{kind:"Field",name:{kind:"Name",value:"browser"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"key"}},{kind:"Field",name:{kind:"Name",value:"name"}},{kind:"Field",name:{kind:"Name",value:"version"}}]}},{kind:"Field",name:{kind:"Name",value:"captureDiff"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"diffImage"},arguments:[{kind:"Argument",name:{kind:"Name",value:"signed"},value:{kind:"BooleanValue",value:!0}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"imageUrl"}},{kind:"Field",name:{kind:"Name",value:"imageWidth"}}]}},{kind:"Field",name:{kind:"Name",value:"focusImage"},arguments:[{kind:"Argument",name:{kind:"Name",value:"signed"},value:{kind:"BooleanValue",value:!0}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"imageUrl"}},{kind:"Field",name:{kind:"Name",value:"imageWidth"}}]}}]}},{kind:"Field",name:{kind:"Name",value:"headCapture"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"captureImage"},arguments:[{kind:"Argument",name:{kind:"Name",value:"signed"},value:{kind:"BooleanValue",value:!0}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"backgroundColor"}},{kind:"Field",name:{kind:"Name",value:"imageUrl"}},{kind:"Field",name:{kind:"Name",value:"imageWidth"}},{kind:"Field",name:{kind:"Name",value:"imageHeight"}},{kind:"Field",name:{kind:"Name",value:"thumbnailUrl"}}]}},{kind:"Field",name:{kind:"Name",value:"captureError"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"kind"}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"CaptureErrorInteractionFailure"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"error"}}]}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"CaptureErrorJSError"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"error"}}]}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"CaptureErrorFailedJS"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"error"}}]}}]}}]}},{kind:"Field",name:{kind:"Name",value:"baseCapture"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"captureImage"},arguments:[{kind:"Argument",name:{kind:"Name",value:"signed"},value:{kind:"BooleanValue",value:!0}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"imageUrl"}},{kind:"Field",name:{kind:"Name",value:"imageWidth"}},{kind:"Field",name:{kind:"Name",value:"imageHeight"}}]}}]}}]}},{kind:"Field",name:{kind:"Name",value:"mode"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"name"}},{kind:"Field",name:{kind:"Name",value:"globals"}}]}},{kind:"Field",name:{kind:"Name",value:"story"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"storyId"}},{kind:"Field",name:{kind:"Name",value:"name"}},{kind:"Field",name:{kind:"Name",value:"component"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"name"}}]}}]}}]}}]},G2={kind:"Document",definitions:[{kind:"FragmentDefinition",name:{kind:"Name",value:"SelectedBuildFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Build"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"__typename"}},{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"number"}},{kind:"Field",name:{kind:"Name",value:"branch"}},{kind:"Field",name:{kind:"Name",value:"commit"}},{kind:"Field",name:{kind:"Name",value:"committedAt"}},{kind:"Field",name:{kind:"Name",value:"uncommittedHash"}},{kind:"Field",name:{kind:"Name",value:"status"}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"StartedBuild"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"startedAt"}},{kind:"Field",alias:{kind:"Name",value:"testsForStory"},name:{kind:"Name",value:"tests"},arguments:[{kind:"Argument",name:{kind:"Name",value:"storyId"},value:{kind:"Variable",name:{kind:"Name",value:"storyId"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"nodes"},selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"StoryTestFields"}}]}}]}}]}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"CompletedBuild"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"startedAt"}},{kind:"Field",alias:{kind:"Name",value:"testsForStory"},name:{kind:"Name",value:"tests"},arguments:[{kind:"Argument",name:{kind:"Name",value:"storyId"},value:{kind:"Variable",name:{kind:"Name",value:"storyId"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"nodes"},selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"StoryTestFields"}}]}}]}}]}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"StoryTestFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Test"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"status"}},{kind:"Field",name:{kind:"Name",value:"result"}},{kind:"Field",name:{kind:"Name",value:"webUrl"}},{kind:"Field",name:{kind:"Name",value:"comparisons"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"result"}},{kind:"Field",name:{kind:"Name",value:"browser"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"key"}},{kind:"Field",name:{kind:"Name",value:"name"}},{kind:"Field",name:{kind:"Name",value:"version"}}]}},{kind:"Field",name:{kind:"Name",value:"captureDiff"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"diffImage"},arguments:[{kind:"Argument",name:{kind:"Name",value:"signed"},value:{kind:"BooleanValue",value:!0}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"imageUrl"}},{kind:"Field",name:{kind:"Name",value:"imageWidth"}}]}},{kind:"Field",name:{kind:"Name",value:"focusImage"},arguments:[{kind:"Argument",name:{kind:"Name",value:"signed"},value:{kind:"BooleanValue",value:!0}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"imageUrl"}},{kind:"Field",name:{kind:"Name",value:"imageWidth"}}]}}]}},{kind:"Field",name:{kind:"Name",value:"headCapture"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"captureImage"},arguments:[{kind:"Argument",name:{kind:"Name",value:"signed"},value:{kind:"BooleanValue",value:!0}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"backgroundColor"}},{kind:"Field",name:{kind:"Name",value:"imageUrl"}},{kind:"Field",name:{kind:"Name",value:"imageWidth"}},{kind:"Field",name:{kind:"Name",value:"imageHeight"}},{kind:"Field",name:{kind:"Name",value:"thumbnailUrl"}}]}},{kind:"Field",name:{kind:"Name",value:"captureError"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"kind"}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"CaptureErrorInteractionFailure"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"error"}}]}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"CaptureErrorJSError"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"error"}}]}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"CaptureErrorFailedJS"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"error"}}]}}]}}]}},{kind:"Field",name:{kind:"Name",value:"baseCapture"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"captureImage"},arguments:[{kind:"Argument",name:{kind:"Name",value:"signed"},value:{kind:"BooleanValue",value:!0}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"imageUrl"}},{kind:"Field",name:{kind:"Name",value:"imageWidth"}},{kind:"Field",name:{kind:"Name",value:"imageHeight"}}]}}]}}]}},{kind:"Field",name:{kind:"Name",value:"mode"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"name"}},{kind:"Field",name:{kind:"Name",value:"globals"}}]}},{kind:"Field",name:{kind:"Name",value:"story"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"storyId"}},{kind:"Field",name:{kind:"Name",value:"name"}},{kind:"Field",name:{kind:"Name",value:"component"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"name"}}]}}]}}]}}]},q2={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"VisualTestsProjectCountQuery"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"viewer"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"projectCount"}},{kind:"Field",name:{kind:"Name",value:"accounts"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"newProjectUrl"}}]}}]}}]}}]},Y2={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"SelectProjectsQuery"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"viewer"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"accounts"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}},{kind:"Field",name:{kind:"Name",value:"avatarUrl"}},{kind:"Field",name:{kind:"Name",value:"newProjectUrl"}},{kind:"Field",name:{kind:"Name",value:"projects"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}},{kind:"Field",name:{kind:"Name",value:"webUrl"}},{kind:"Field",name:{kind:"Name",value:"lastBuild"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"branch"}},{kind:"Field",name:{kind:"Name",value:"number"}}]}}]}}]}}]}}]}}]},Q2={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"ProjectQuery"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"projectId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"ID"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"project"},arguments:[{kind:"Argument",name:{kind:"Name",value:"id"},value:{kind:"Variable",name:{kind:"Name",value:"projectId"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}},{kind:"Field",name:{kind:"Name",value:"webUrl"}},{kind:"Field",name:{kind:"Name",value:"lastBuild"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"branch"}},{kind:"Field",name:{kind:"Name",value:"number"}}]}}]}}]}}]},K2={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"UpdateUserPreferences"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"input"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"UserPreferencesInput"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"updateUserPreferences"},arguments:[{kind:"Argument",name:{kind:"Name",value:"input"},value:{kind:"Variable",name:{kind:"Name",value:"input"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"updatedPreferences"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"vtaOnboarding"}}]}}]}}]}}]},J2={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"AddonVisualTestsBuild"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"projectId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"ID"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"branch"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"gitUserEmailHash"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"repositoryOwnerName"}},type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"storyId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"testStatuses"}},type:{kind:"NonNullType",type:{kind:"ListType",type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"TestStatus"}}}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"selectedBuildId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"ID"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"hasSelectedBuildId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"Boolean"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"project"},arguments:[{kind:"Argument",name:{kind:"Name",value:"id"},value:{kind:"Variable",name:{kind:"Name",value:"projectId"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"name"}},{kind:"Field",name:{kind:"Name",value:"manageUrl"}},{kind:"Field",name:{kind:"Name",value:"account"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"billingUrl"}},{kind:"Field",name:{kind:"Name",value:"suspensionReason"}}]}},{kind:"Field",name:{kind:"Name",value:"features"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"uiTests"}}]}},{kind:"Field",alias:{kind:"Name",value:"lastBuildOnBranch"},name:{kind:"Name",value:"lastBuild"},arguments:[{kind:"Argument",name:{kind:"Name",value:"branches"},value:{kind:"ListValue",values:[{kind:"Variable",name:{kind:"Name",value:"branch"}}]}},{kind:"Argument",name:{kind:"Name",value:"repositoryOwnerName"},value:{kind:"Variable",name:{kind:"Name",value:"repositoryOwnerName"}}},{kind:"Argument",name:{kind:"Name",value:"localBuilds"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"localBuildEmailHash"},value:{kind:"Variable",name:{kind:"Name",value:"gitUserEmailHash"}}}]}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"LastBuildOnBranchBuildFields"}},{kind:"FragmentSpread",name:{kind:"Name",value:"SelectedBuildFields"},directives:[{kind:"Directive",name:{kind:"Name",value:"skip"},arguments:[{kind:"Argument",name:{kind:"Name",value:"if"},value:{kind:"Variable",name:{kind:"Name",value:"hasSelectedBuildId"}}}]}]}]}},{kind:"Field",name:{kind:"Name",value:"lastBuild"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"slug"}},{kind:"Field",name:{kind:"Name",value:"branch"}}]}}]}},{kind:"Field",alias:{kind:"Name",value:"selectedBuild"},name:{kind:"Name",value:"build"},arguments:[{kind:"Argument",name:{kind:"Name",value:"id"},value:{kind:"Variable",name:{kind:"Name",value:"selectedBuildId"}}}],directives:[{kind:"Directive",name:{kind:"Name",value:"include"},arguments:[{kind:"Argument",name:{kind:"Name",value:"if"},value:{kind:"Variable",name:{kind:"Name",value:"hasSelectedBuildId"}}}]}],selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"SelectedBuildFields"}}]}},{kind:"Field",name:{kind:"Name",value:"viewer"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"preferences"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"vtaOnboarding"}}]}},{kind:"Field",name:{kind:"Name",value:"projectMembership"},arguments:[{kind:"Argument",name:{kind:"Name",value:"projectId"},value:{kind:"Variable",name:{kind:"Name",value:"projectId"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",alias:{kind:"Name",value:"userCanReview"},name:{kind:"Name",value:"meetsAccessLevel"},arguments:[{kind:"Argument",name:{kind:"Name",value:"minimumAccessLevel"},value:{kind:"EnumValue",value:"REVIEWER"}}]}]}}]}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"StatusTestFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Test"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"status"}},{kind:"Field",name:{kind:"Name",value:"result"}},{kind:"Field",name:{kind:"Name",value:"story"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"storyId"}}]}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"LastBuildOnBranchTestFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Test"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"status"}},{kind:"Field",name:{kind:"Name",value:"result"}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"StoryTestFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Test"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"status"}},{kind:"Field",name:{kind:"Name",value:"result"}},{kind:"Field",name:{kind:"Name",value:"webUrl"}},{kind:"Field",name:{kind:"Name",value:"comparisons"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"result"}},{kind:"Field",name:{kind:"Name",value:"browser"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"key"}},{kind:"Field",name:{kind:"Name",value:"name"}},{kind:"Field",name:{kind:"Name",value:"version"}}]}},{kind:"Field",name:{kind:"Name",value:"captureDiff"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"diffImage"},arguments:[{kind:"Argument",name:{kind:"Name",value:"signed"},value:{kind:"BooleanValue",value:!0}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"imageUrl"}},{kind:"Field",name:{kind:"Name",value:"imageWidth"}}]}},{kind:"Field",name:{kind:"Name",value:"focusImage"},arguments:[{kind:"Argument",name:{kind:"Name",value:"signed"},value:{kind:"BooleanValue",value:!0}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"imageUrl"}},{kind:"Field",name:{kind:"Name",value:"imageWidth"}}]}}]}},{kind:"Field",name:{kind:"Name",value:"headCapture"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"captureImage"},arguments:[{kind:"Argument",name:{kind:"Name",value:"signed"},value:{kind:"BooleanValue",value:!0}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"backgroundColor"}},{kind:"Field",name:{kind:"Name",value:"imageUrl"}},{kind:"Field",name:{kind:"Name",value:"imageWidth"}},{kind:"Field",name:{kind:"Name",value:"imageHeight"}},{kind:"Field",name:{kind:"Name",value:"thumbnailUrl"}}]}},{kind:"Field",name:{kind:"Name",value:"captureError"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"kind"}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"CaptureErrorInteractionFailure"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"error"}}]}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"CaptureErrorJSError"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"error"}}]}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"CaptureErrorFailedJS"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"error"}}]}}]}}]}},{kind:"Field",name:{kind:"Name",value:"baseCapture"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"captureImage"},arguments:[{kind:"Argument",name:{kind:"Name",value:"signed"},value:{kind:"BooleanValue",value:!0}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"imageUrl"}},{kind:"Field",name:{kind:"Name",value:"imageWidth"}},{kind:"Field",name:{kind:"Name",value:"imageHeight"}}]}}]}}]}},{kind:"Field",name:{kind:"Name",value:"mode"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"name"}},{kind:"Field",name:{kind:"Name",value:"globals"}}]}},{kind:"Field",name:{kind:"Name",value:"story"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"storyId"}},{kind:"Field",name:{kind:"Name",value:"name"}},{kind:"Field",name:{kind:"Name",value:"component"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"name"}}]}}]}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"LastBuildOnBranchBuildFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Build"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"__typename"}},{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"status"}},{kind:"Field",name:{kind:"Name",value:"committedAt"}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"StartedBuild"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",alias:{kind:"Name",value:"testsForStatus"},name:{kind:"Name",value:"tests"},arguments:[{kind:"Argument",name:{kind:"Name",value:"first"},value:{kind:"IntValue",value:"1000"}},{kind:"Argument",name:{kind:"Name",value:"statuses"},value:{kind:"Variable",name:{kind:"Name",value:"testStatuses"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"nodes"},selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"StatusTestFields"}}]}}]}},{kind:"Field",alias:{kind:"Name",value:"testsForStory"},name:{kind:"Name",value:"tests"},arguments:[{kind:"Argument",name:{kind:"Name",value:"storyId"},value:{kind:"Variable",name:{kind:"Name",value:"storyId"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"nodes"},selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"LastBuildOnBranchTestFields"}}]}}]}}]}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"CompletedBuild"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"result"}},{kind:"Field",alias:{kind:"Name",value:"testsForStatus"},name:{kind:"Name",value:"tests"},arguments:[{kind:"Argument",name:{kind:"Name",value:"first"},value:{kind:"IntValue",value:"1000"}},{kind:"Argument",name:{kind:"Name",value:"statuses"},value:{kind:"Variable",name:{kind:"Name",value:"testStatuses"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"nodes"},selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"StatusTestFields"}}]}}]}},{kind:"Field",alias:{kind:"Name",value:"testsForStory"},name:{kind:"Name",value:"tests"},arguments:[{kind:"Argument",name:{kind:"Name",value:"storyId"},value:{kind:"Variable",name:{kind:"Name",value:"storyId"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"nodes"},selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"LastBuildOnBranchTestFields"}}]}}]}}]}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"SelectedBuildFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Build"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"__typename"}},{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"number"}},{kind:"Field",name:{kind:"Name",value:"branch"}},{kind:"Field",name:{kind:"Name",value:"commit"}},{kind:"Field",name:{kind:"Name",value:"committedAt"}},{kind:"Field",name:{kind:"Name",value:"uncommittedHash"}},{kind:"Field",name:{kind:"Name",value:"status"}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"StartedBuild"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"startedAt"}},{kind:"Field",alias:{kind:"Name",value:"testsForStory"},name:{kind:"Name",value:"tests"},arguments:[{kind:"Argument",name:{kind:"Name",value:"storyId"},value:{kind:"Variable",name:{kind:"Name",value:"storyId"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"nodes"},selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"StoryTestFields"}}]}}]}}]}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"CompletedBuild"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"startedAt"}},{kind:"Field",alias:{kind:"Name",value:"testsForStory"},name:{kind:"Name",value:"tests"},arguments:[{kind:"Argument",name:{kind:"Name",value:"storyId"},value:{kind:"Variable",name:{kind:"Name",value:"storyId"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"nodes"},selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"StoryTestFields"}}]}}]}}]}}]}}]},X2={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"ReviewTest"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"input"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"ReviewTestInput"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"reviewTest"},arguments:[{kind:"Argument",name:{kind:"Name",value:"input"},value:{kind:"Variable",name:{kind:"Name",value:"input"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"updatedTests"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"status"}}]}},{kind:"Field",name:{kind:"Name",value:"userErrors"},selectionSet:{kind:"SelectionSet",selections:[{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"UserError"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"__typename"}},{kind:"Field",name:{kind:"Name",value:"message"}}]}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"BuildSupersededError"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"build"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}}]}}]}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"TestUnreviewableError"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"test"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}}]}}]}}]}}]}}]}}]},Bs=w.div(({status:e,theme:t})=>({display:"inline-block",width:6,height:6,borderRadius:"50%",background:e&&{IN_PROGRESS:"transparent",PASSED:t.color.positive,PENDING:t.color.gold,ACCEPTED:t.color.positive,DENIED:t.color.positive,BROKEN:t.color.negative,FAILED:t.color.negative,EQUAL:t.color.positive,FIXED:t.color.positive,ADDED:t.color.gold,CHANGED:t.color.gold,REMOVED:t.color.gold,CAPTURE_ERROR:t.color.negative,SYSTEM_ERROR:t.color.negative,positive:t.color.positive,negative:t.color.negative,warning:t.color.gold,notification:t.color.secondary}[e]}),({overlay:e,theme:t})=>e&&ue({position:"absolute",top:-1,right:-2,width:7,height:7,border:"1px solid rgba(0, 0, 0, 0.1)",boxShadow:`0 0 0 2px var(--bg-color, ${t.background.bar})`,boxSizing:"border-box"})),Ps=({status:e})=>a.createElement(Bs,{status:e}),em=w.div({position:"relative",display:"inline-flex",justifyContent:"center","img, svg":{verticalAlign:"top"}}),sr=({status:e,children:t})=>a.createElement(em,null,t,a.createElement(Bs,{overlay:!0,status:e})),_e=w(ro)(({theme:e})=>({marginBottom:"-4px",marginTop:"-4px",left:-8})),tm=w.div(({theme:e})=>({width:220,padding:3,color:e.base==="light"?e.color.defaultText:e.color.light,"& > div":{margin:7}})),_l=w.div(({theme:e})=>({height:5,background:e.background.hoverable,borderRadius:5,overflow:"hidden"})),Vs=w(_l)(({theme:e})=>({background:e.color.secondary,transition:"width 3s ease-out"})),nm=Ft({"0%":{transform:"rotate(0deg)"},"100%":{transform:"rotate(360deg)"}}),vi=w.svg(({progress:e,theme:t})=>({position:"absolute",width:"24px!important",height:"24px!important",transform:"rotate(-90deg)",color:t.color.secondary,circle:{r:"10",cx:"12",cy:"12",fill:"transparent",stroke:e?"currentColor":t.background.hoverable,strokeWidth:"2",strokeLinecap:"round",strokeDasharray:Math.PI*20}}),({spinner:e,theme:t})=>e&&{animation:`${nm} 1s linear infinite`,circle:{stroke:`${t.color.secondary}33`}}),am=w.div(({theme:e})=>({color:e.color.warningText,"&&":{marginTop:10}})),Vn=w(Je)(({isDisallowed:e,theme:t})=>({position:"relative",overflow:"visible",color:t.textMutedColor,marginTop:0,zIndex:1,marginRight:4,...e&&{animation:`${Zs} 700ms ease-out`}})),rm=({isDisabled:e=!1,isDisallowed:t=!1,isOutdated:n=!1,isRunning:r=!1,localBuildProgress:i,warning:l,clickWarning:o,startBuild:s,stopBuild:c})=>{if(e)return l?a.createElement(we,{tooltip:a.createElement(_e,{note:l}),trigger:"hover",hasChrome:!1},a.createElement(Vn,{id:"button-run-tests","aria-label":"Visual tests locked",disabled:!o,onClick:o},a.createElement(sr,{status:"warning"},a.createElement(Zt,null)))):a.createElement(Vn,{id:"button-run-tests","aria-label":"Visual tests locked",disabled:!0},a.createElement(Zt,null));if(r&&i){let{buildProgressPercentage:d}=i;return a.createElement(we,{trigger:"hover",tooltip:a.createElement(tm,null,a.createElement("div",null,a.createElement(Ml,{localBuildProgress:i,small:!0,withEmoji:!0})),a.createElement(_l,null,typeof d=="number"&&a.createElement(Vs,{style:{width:`${d}%`}})),t&&a.createElement(am,null,"This job has already reached the capture cloud and cannot be stopped locally."))},a.createElement(Vn,{"aria-label":"Stop tests",isDisallowed:t,onClick:()=>c()},a.createElement(D5,{style:{width:10,margin:2}}),a.createElement(vi,{xmlns:"http://www.w3.org/2000/svg"},a.createElement("circle",null)),a.createElement(vi,{xmlns:"http://www.w3.org/2000/svg",spinner:!0},a.createElement("circle",{strokeDashoffset:Math.PI*20*(1-d/100)})),typeof d=="number"&&a.createElement(vi,{xmlns:"http://www.w3.org/2000/svg",progress:!0},a.createElement("circle",{strokeDashoffset:Math.PI*20*(1-d/100)}))))}return n?a.createElement(we,{tooltip:a.createElement(_e,{note:"Code changes detected; click to run tests"}),trigger:"hover",hasChrome:!1},a.createElement(Vn,{id:"button-run-tests","aria-label":"Run tests",onClick:()=>s()},a.createElement(sr,{status:"notification"},a.createElement(Zt,null)))):a.createElement(we,{trigger:"hover",hasChrome:!1,tooltip:a.createElement(_e,{note:"No code changes detected. Rerun tests to take new snapshots."})},a.createElement(Vn,{id:"button-run-tests","aria-label":"Run tests",onClick:()=>s()},a.createElement(Zt,null)))},im=({api:e})=>{let{addNotification:t,clearNotification:n,selectStory:r,setOptions:i,togglePanel:l}=e,o=zt(ba),{projectId:s}=xl(),[c]=Cl(),d=!!c,[m,u]=Ee(ml),[p]=Ee(Qa),[f]=Ee(pl),[g]=Ee(Ar),y=Object.keys(g?.problems||{}).length>0,[k]=Ee(ul),E=Ne(f?.currentStep),{index:h,status:v,storyId:b,viewMode:C}=Ht(),O=Object.values(v).filter(ie=>ie[Z]?.status==="warn"),I=H(ie=>{if(i({selectedPanel:an}),l(!0),h&&C!=="story"){let Ge=Object.keys(h).indexOf(b),kt=Object.entries(h).slice(Ge>0?Ge:0),[_t]=kt.find(([,{type:Pe}])=>Pe==="story")||[];_t&&r(_t)}ie&&o?.({action:"openWarning",warning:ie})},[i,l,o,h,r,b,C]),U=H(({onDismiss:ie})=>{ie(),I()},[I]);X(()=>{let ie=()=>u(!0),Ge=()=>u(!1);return window.addEventListener("offline",ie),window.addEventListener("online",Ge),()=>{window.removeEventListener("offline",ie),window.removeEventListener("online",Ge)}},[u]),X(()=>{if(f?.currentStep!==E.current){if(E.current=f?.currentStep,f?.currentStep==="initialize"){let ie=`${Z}/build-initialize/${Date.now()}`;t({id:ie,content:{headline:"Build started",subHeadline:"Check the visual test addon to see the progress of your build."},icon:a.createElement(Li,{color:ct.positive}),duration:8e3,onClick:U}),setTimeout(()=>n(ie),8e3)}if(f?.currentStep==="aborted"){let ie=`${Z}/build-aborted/${Date.now()}`;t({id:ie,content:{headline:"Build canceled",subHeadline:"Aborted by user."},icon:a.createElement(xt,{color:ct.negative}),duration:8e3,onClick:U}),setTimeout(()=>n(ie),8e3)}if(f?.currentStep==="complete"){let ie=`${Z}/build-complete/${Date.now()}`;t({id:ie,content:{headline:"Build complete",subHeadline:f.errorCount?`Encountered ${(0,di.default)("component error",f.errorCount,!0)}`:O.length?`Found ${(0,di.default)("story",O.length,!0)} with ${(0,di.default)("change",O.length)}`:"No visual changes detected"},icon:a.createElement(Li,{color:ct.positive}),duration:8e3,onClick:U}),setTimeout(()=>n(ie),8e3)}f?.currentStep==="error"&&t({id:`${Z}/build-error/${Date.now()}`,content:{headline:"Build error",subHeadline:"Check the Storybook process on the command line for more details."},icon:a.createElement(xt,{color:ct.negative}),onClick:U}),f?.currentStep==="limited"&&t({id:`${Z}/build-limited/${Date.now()}`,content:{headline:"Build limited",subHeadline:"Your account has insufficient snapshots remaining to run this build. Visit your billing page to find out more."},icon:a.createElement(xt,{color:ct.negative}),onClick:U})}},[t,n,U,f?.currentStep,f?.errorCount,f?.changeCount,O.length]);let{isDisallowed:G,isRunning:oe,startBuild:ee,stopBuild:ke}=Sl({localBuildProgress:f,accessToken:c}),ye;s||(ye="Visual tests locked until a project is selected."),d||(ye="Visual tests locked until you are logged in."),k&&(ye="Visual tests locked due to Git synchronization problem."),y&&(ye="Visual tests locked due to configuration problem."),m&&(ye="Visual tests locked while offline.");let pe=H(()=>I(ye),[I,ye]);return globalThis.CONFIG_TYPE!=="DEVELOPMENT"?null:a.createElement(rm,{isDisabled:!!ye,isDisallowed:G,isOutdated:p,isRunning:oe,localBuildProgress:f,warning:ye,clickWarning:pe,startBuild:ee,stopBuild:ke})},Ds=qe(null),lm=({children:e,value:t})=>a.createElement(Ds.Provider,{value:t},e),Tl=()=>bt(Ds,"AuthState"),om={user:a.createElement(a.Fragment,null,a.createElement("path",{d:"M14 7A7 7 0 1 1 0 7a7 7 0 0 1 14 0ZM2.67 11.15c.7-1 2.6-1.81 3.2-1.9.22-.04.23-.66.23-.66s-.67-.66-.81-1.55c-.4 0-.63-.94-.24-1.27l-.02-.13c-.06-.6-.28-2.6 1.97-2.6s2.03 2 1.97 2.6l-.02.13c.4.33.15 1.27-.24 1.27-.14.89-.8 1.55-.8 1.55s0 .62.22.66c.6.09 2.5.9 3.2 1.9a6 6 0 1 0-8.66 0Z"})),useralt:a.createElement(a.Fragment,null,a.createElement("path",{d:"M7.27 13.16a11.39 11.39 0 0 0 5.18-1.23v-.25c0-1.57-3.24-3-4.1-3.13-.27-.05-.28-.79-.28-.79s.8-.78.96-1.83c.47 0 .75-1.12.29-1.52.02-.41.6-3.25-2.32-3.25S4.65 4 4.67 4.41c-.46.4-.17 1.52.29 1.52.17 1.05.96 1.83.96 1.83s0 .74-.27.79c-.86.13-4.04 1.53-4.1 3.08a11.44 11.44 0 0 0 5.72 1.53Z"})),useradd:a.createElement(a.Fragment,null,a.createElement("path",{d:"M1.18 11.9c-.4-.17-.8-.36-1.18-.58.06-1.44 3.02-2.74 3.82-2.87.25-.04.26-.73.26-.73s-.74-.73-.9-1.7c-.43 0-.7-1.05-.27-1.42l-.01-.14c-.07-.67-.31-2.88 2.18-2.88 2.48 0 2.24 2.2 2.17 2.88l-.01.14c.43.37.16 1.41-.27 1.41-.16.98-.9 1.71-.9 1.71s.01.69.26.73c.8.13 3.82 1.46 3.82 2.91v.24a10.63 10.63 0 0 1-8.97.3ZM11.5 2.16c.28 0 .5.22.5.5v1.5h1.5a.5.5 0 0 1 0 1H12v1.5a.5.5 0 0 1-1 0v-1.5H9.5a.5.5 0 1 1 0-1H11v-1.5c0-.28.22-.5.5-.5Z"})),users:a.createElement(a.Fragment,null,a.createElement("path",{d:"M9.21 11.62A10.59 10.59 0 0 1 0 11.07c.06-1.35 2.93-2.58 3.7-2.7.25-.03.26-.68.26-.68s-.72-.69-.87-1.6c-.42 0-.68-.99-.26-1.33 0-.03 0-.08-.02-.14-.07-.63-.3-2.71 2.12-2.71 2.41 0 2.18 2.08 2.11 2.71l-.01.14c.42.34.16 1.32-.26 1.32-.16.92-.87 1.6-.87 1.6s0 .66.25.7c.78.11 3.7 1.36 3.7 2.73v.22l-.64.3Z"}),a.createElement("path",{d:"M8.81 8.42a9.64 9.64 0 0 0-.74-.4 5.2 5.2 0 0 1 1.7-.76c.17-.02.17-.47.17-.47s-.49-.47-.6-1.1c-.28 0-.46-.68-.17-.91l-.01-.1c-.05-.43-.2-1.86 1.45-1.86 1.66 0 1.5 1.43 1.45 1.86v.1c.28.23.1.9-.18.9-.11.64-.6 1.11-.6 1.11s0 .45.17.47c.54.08 2.55.94 2.55 1.89v.62a10.6 10.6 0 0 1-3.3.56 2.97 2.97 0 0 0-.58-.88c-.37-.41-.85-.76-1.31-1.03Z"})),profile:a.createElement(a.Fragment,null,a.createElement("path",{d:"M9.1 7.35a5.06 5.06 0 0 1-4.52-.28C4.6 6.4 6.02 5.77 6.4 5.7c.12-.02.12-.35.12-.35s-.35-.34-.43-.81c-.2 0-.33-.5-.12-.67l-.01-.07C5.93 3.48 5.81 2.42 7 2.42S8.07 3.48 8.04 3.8v.07c.2.17.07.67-.13.67-.08.47-.43.81-.43.81s0 .33.12.35c.38.06 1.82.7 1.82 1.4v.1c-.1.06-.2.1-.31.15Zm-5.35 3.9c0-.14.11-.25.25-.25h6a.25.25 0 1 1 0 .5H4a.25.25 0 0 1-.25-.25ZM4 9a.25.25 0 0 0 0 .5h6a.25.25 0 1 0 0-.5H4Z"}),a.createElement("path",{fillRule:"evenodd",d:"M1 .5c0-.28.22-.5.5-.5h11c.28 0 .5.22.5.5v13a.5.5 0 0 1-.5.5h-11a.5.5 0 0 1-.5-.5V.5ZM2 13V1h10v12H2Z"})),facehappy:a.createElement(a.Fragment,null,a.createElement("path",{d:"M3.97 8.75a.5.5 0 0 0-.87.5 4.5 4.5 0 0 0 7.8 0 .5.5 0 1 0-.87-.5 3.5 3.5 0 0 1-6.06 0ZM5.5 5a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM9.5 6a1 1 0 1 0 0-2 1 1 0 0 0 0 2Z"}),a.createElement("path",{fillRule:"evenodd",d:"M14 7A7 7 0 1 1 0 7a7 7 0 0 1 14 0Zm-1 0A6 6 0 1 1 1 7a6 6 0 0 1 12 0Z"})),faceneutral:a.createElement(a.Fragment,null,a.createElement("path",{d:"M4.5 9a.5.5 0 0 0 0 1h5a.5.5 0 0 0 0-1h-5ZM5.5 5a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM9.5 6a1 1 0 1 0 0-2 1 1 0 0 0 0 2Z"}),a.createElement("path",{fillRule:"evenodd",d:"M14 7A7 7 0 1 1 0 7a7 7 0 0 1 14 0Zm-1 0A6 6 0 1 1 1 7a6 6 0 0 1 12 0Z"})),facesad:a.createElement(a.Fragment,null,a.createElement("path",{d:"M3.97 10.25a.5.5 0 0 1-.87-.5 4.5 4.5 0 0 1 7.8 0 .5.5 0 1 1-.87.5 3.5 3.5 0 0 0-6.06 0ZM5.5 5a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM9.5 6a1 1 0 1 0 0-2 1 1 0 0 0 0 2Z"}),a.createElement("path",{fillRule:"evenodd",d:"M14 7A7 7 0 1 1 0 7a7 7 0 0 1 14 0Zm-1 0A6 6 0 1 1 1 7a6 6 0 0 1 12 0Z"})),accessibility:a.createElement(a.Fragment,null,a.createElement("path",{d:"M3.53 4.84a.5.5 0 0 1 .63-.31l2.05.68a2.5 2.5 0 0 0 1.58 0l2.05-.68a.5.5 0 0 1 .32.94L7.7 6.3a.3.3 0 0 0-.21.29v.24c0 .7.16 1.39.48 2.01l.97 1.95a.5.5 0 1 1-.9.44L7 9.12l-1.05 2.1a.5.5 0 1 1-.9-.44l.97-1.95a4.5 4.5 0 0 0 .48-2.01v-.24a.3.3 0 0 0-.2-.29l-2.46-.82a.5.5 0 0 1-.31-.63Z"}),a.createElement("path",{d:"M7 4.5a1 1 0 1 0 0-2 1 1 0 0 0 0 2Z"}),a.createElement("path",{fillRule:"evenodd",d:"M7 14A7 7 0 1 0 7 0a7 7 0 0 0 0 14Zm0-1A6 6 0 1 0 7 1a6 6 0 0 0 0 12Z"})),accessibilityalt:a.createElement(a.Fragment,null,a.createElement("path",{d:"M7 14A7 7 0 1 0 7 0a7 7 0 0 0 0 14ZM8 3.5a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM3.53 4.84a.5.5 0 0 1 .63-.31l2.05.68a2.5 2.5 0 0 0 1.58 0l2.05-.68a.5.5 0 0 1 .32.94L7.7 6.3a.3.3 0 0 0-.21.29v.24c0 .7.16 1.39.48 2.01l.97 1.95a.5.5 0 1 1-.9.44L7 9.12l-1.05 2.1a.5.5 0 1 1-.9-.44l.97-1.95a4.5 4.5 0 0 0 .48-2.01v-.24a.3.3 0 0 0-.2-.29l-2.46-.82a.5.5 0 0 1-.31-.63Z"})),arrowup:a.createElement(a.Fragment,null,a.createElement("path",{d:"m7.35 2.9 5.5 5.5a.5.5 0 0 1-.7.7L7 3.96 1.85 9.1a.5.5 0 1 1-.7-.7l5.5-5.5c.2-.2.5-.2.7 0Z"})),arrowdown:a.createElement(a.Fragment,null,a.createElement("path",{d:"m1.15 5.6 5.5 5.5c.2.2.5.2.7 0l5.5-5.5a.5.5 0 0 0-.7-.7L7 10.04 1.85 4.9a.5.5 0 1 0-.7.7Z"})),arrowleft:a.createElement(a.Fragment,null,a.createElement("path",{d:"M2.76 7.1c.02.09.06.18.14.25l5.5 5.5a.5.5 0 0 0 .7-.7L3.96 7 9.1 1.85a.5.5 0 1 0-.7-.7l-5.5 5.5a.5.5 0 0 0-.14.45Z"})),arrowright:a.createElement(a.Fragment,null,a.createElement("path",{d:"m11.1 7.35-5.5 5.5a.5.5 0 0 1-.7-.7L10.04 7 4.9 1.85a.5.5 0 1 1 .7-.7l5.5 5.5c.2.2.2.5 0 .7Z"})),arrowupalt:a.createElement(a.Fragment,null,a.createElement("path",{d:"M11.85 4.65 7.35.15a.5.5 0 0 0-.7 0l-4.5 4.5a.5.5 0 1 0 .7.7L6.5 1.71V13.5a.5.5 0 0 0 1 0V1.7l3.65 3.65a.5.5 0 0 0 .7-.7Z"})),arrowdownalt:a.createElement(a.Fragment,null,a.createElement("path",{d:"M7.5.5a.5.5 0 0 0-1 0v11.8L2.85 8.64a.5.5 0 1 0-.7.7l4.5 4.5A.5.5 0 0 0 7 14a.5.5 0 0 0 .35-.15l4.5-4.5a.5.5 0 0 0-.7-.7L7.5 12.29V.5Z"})),arrowleftalt:a.createElement(a.Fragment,null,a.createElement("path",{d:"M5.35 2.15c.2.2.2.5 0 .7L1.71 6.5H13.5a.5.5 0 0 1 0 1H1.7l3.65 3.65a.5.5 0 0 1-.7.7l-4.5-4.5a.5.5 0 0 1 0-.7l4.5-4.5c.2-.2.5-.2.7 0Z"})),arrowrightalt:a.createElement(a.Fragment,null,a.createElement("path",{d:"M8.65 2.15c.2-.2.5-.2.7 0l4.5 4.5c.2.2.2.5 0 .7l-4.5 4.5a.5.5 0 0 1-.7-.7l3.64-3.65H.5a.5.5 0 0 1 0-1h11.8L8.64 2.85a.5.5 0 0 1 0-.7Z"})),expandalt:a.createElement(a.Fragment,null,a.createElement("path",{d:"m7.35.15 4 4a.5.5 0 0 1-.7.7L7 1.21 3.35 4.85a.5.5 0 1 1-.7-.7l4-4c.2-.2.5-.2.7 0ZM11.35 9.15c.2.2.2.5 0 .7l-4 4a.5.5 0 0 1-.7 0l-4-4a.5.5 0 1 1 .7-.7L7 12.79l3.65-3.64c.2-.2.5-.2.7 0Z"})),collapse:a.createElement(a.Fragment,null,a.createElement("path",{d:"M3.354.146a.5.5 0 1 0-.708.708l4 4a.5.5 0 0 0 .708 0l4-4a.5.5 0 0 0-.708-.708L7 3.793 3.354.146Zm3.292 9a.5.5 0 0 1 .708 0l4 4a.5.5 0 0 1-.708.708L7 10.207l-3.646 3.647a.5.5 0 0 1-.708-.708l4-4Z"})),expand:a.createElement(a.Fragment,null,a.createElement("path",{d:"M1.5 1h2a.5.5 0 0 1 0 1h-.8l3.15 3.15a.5.5 0 1 1-.7.7L2 2.71v.79a.5.5 0 0 1-1 0v-2c0-.28.22-.5.5-.5ZM10 1.5c0-.28.22-.5.5-.5h2c.28 0 .5.22.5.5v2a.5.5 0 0 1-1 0v-.8L8.85 5.86a.5.5 0 1 1-.7-.7L11.29 2h-.79a.5.5 0 0 1-.5-.5ZM12.5 10c.28 0 .5.22.5.5v2a.5.5 0 0 1-.5.5h-2a.5.5 0 0 1 0-1h.8L8.14 8.85a.5.5 0 1 1 .7-.7L12 11.29v-.79c0-.28.22-.5.5-.5ZM2 11.3v-.8a.5.5 0 0 0-1 0v2c0 .28.22.5.5.5h2a.5.5 0 0 0 0-1h-.8l3.15-3.15a.5.5 0 1 0-.7-.7L2 11.29Z"})),unfold:a.createElement(a.Fragment,null,a.createElement("path",{d:"m6.65.15-1.5 1.5a.5.5 0 1 0 .7.7l.65-.64V5a.5.5 0 0 0 1 0V1.7l.65.65a.5.5 0 1 0 .7-.7L7.35.15a.5.5 0 0 0-.7 0Z"}),a.createElement("path",{d:"M1.3 4.04a.5.5 0 0 0-.16.82L3.3 7 1.15 9.15a.5.5 0 0 0 .35.85h3a.5.5 0 0 0 0-1H2.7l1.5-1.5h5.6l2.35 2.35a.5.5 0 0 0 .7-.7L10.71 7l2.14-2.15.11-.54-.1.54A.5.5 0 0 0 13 4.5a.5.5 0 0 0-.14-.35.5.5 0 0 0-.36-.15h-3a.5.5 0 0 0 0 1h1.8L9.8 6.5H4.2L2.7 5h1.8a.5.5 0 0 0 0-1h-3a.5.5 0 0 0-.2.04Z"}),a.createElement("path",{d:"M7 8.5c.28 0 .5.22.5.5v3.3l.65-.65a.5.5 0 0 1 .7.7l-1.5 1.5a.5.5 0 0 1-.7 0l-1.5-1.5a.5.5 0 0 1 .7-.7l.65.64V9c0-.28.22-.5.5-.5ZM9 9.5c0-.28.22-.5.5-.5h3a.5.5 0 0 1 0 1h-3a.5.5 0 0 1-.5-.5Z"})),transfer:a.createElement(a.Fragment,null,a.createElement("path",{d:"M10.65 2.65c.2-.2.5-.2.7 0l1.5 1.5c.2.2.2.5 0 .7l-1.5 1.5a.5.5 0 0 1-.7-.7l.64-.65H1.5a.5.5 0 0 1 0-1h9.8l-.65-.65a.5.5 0 0 1 0-.7ZM3.35 8.35 2.71 9h9.79a.5.5 0 0 1 0 1H2.7l.65.65a.5.5 0 0 1-.7.7l-1.5-1.5a.5.5 0 0 1 0-.7l1.5-1.5a.5.5 0 1 1 .7.7Z"})),redirect:a.createElement(a.Fragment,null,a.createElement("path",{d:"M1.5 1c.28 0 .5.22.5.5V10a2 2 0 0 0 4 0V4a3 3 0 0 1 6 0v7.8l1.15-1.15a.5.5 0 0 1 .7.7l-2 2a.5.5 0 0 1-.7 0l-2-2a.5.5 0 0 1 .7-.7L11 11.79V4a2 2 0 1 0-4 0v6a3 3 0 0 1-6 0V1.5c0-.28.22-.5.5-.5Z"})),undo:a.createElement(a.Fragment,null,a.createElement("path",{d:"M1.15 3.85a.5.5 0 0 1 0-.7l2-2a.5.5 0 1 1 .7.7L2.71 3H9a4 4 0 0 1 0 8H3a.5.5 0 0 1 0-1h6a3 3 0 1 0 0-6H2.7l1.15 1.15a.5.5 0 1 1-.7.7l-2-2Z"})),reply:a.createElement(a.Fragment,null,a.createElement("path",{d:"M4.35 2.15c.2.2.2.5 0 .7L1.71 5.5H9.5A4.5 4.5 0 0 1 14 10v1.5a.5.5 0 0 1-1 0V10a3.5 3.5 0 0 0-3.5-3.5H1.7l2.65 2.65a.5.5 0 1 1-.7.7l-3.5-3.5a.5.5 0 0 1 0-.7l3.5-3.5c.2-.2.5-.2.7 0Z"})),sync:a.createElement(a.Fragment,null,a.createElement("path",{d:"M5.5 1A.5.5 0 0 0 5 .5H2a.5.5 0 0 0 0 1h1.53a6.5 6.5 0 0 0 2.39 11.91.5.5 0 1 0 .16-.99A5.5 5.5 0 0 1 4.5 2.1V4a.5.5 0 0 0 1 0V1ZM7.5 1a.5.5 0 0 1 .58-.41 6.5 6.5 0 0 1 2.39 11.91H12a.5.5 0 0 1 0 1H9a.5.5 0 0 1-.5-.5v-3a.5.5 0 0 1 1 0v1.9A5.5 5.5 0 0 0 7.92 1.58.5.5 0 0 1 7.5 1Z"})),upload:a.createElement(a.Fragment,null,a.createElement("path",{d:"M8.65 5.85 7.5 4.71v5.79a.5.5 0 0 1-1 0V4.7L5.35 5.86a.5.5 0 1 1-.7-.7l2-2c.2-.2.5-.2.7 0l2 2a.5.5 0 1 1-.7.7Z"}),a.createElement("path",{fillRule:"evenodd",d:"M14 7A7 7 0 1 1 0 7a7 7 0 0 1 14 0Zm-1 0A6 6 0 1 1 1 7a6 6 0 0 1 12 0Z"})),download:a.createElement(a.Fragment,null,a.createElement("path",{d:"M5.35 8.15 6.5 9.29V3.5a.5.5 0 0 1 1 0v5.8l1.15-1.15a.5.5 0 1 1 .7.7l-2 2a.5.5 0 0 1-.7 0l-2-2a.5.5 0 1 1 .7-.7Z"}),a.createElement("path",{fillRule:"evenodd",d:"M0 7a7 7 0 1 1 14 0A7 7 0 0 1 0 7Zm1 0a6 6 0 1 1 12 0A6 6 0 0 1 1 7Z"})),back:a.createElement(a.Fragment,null,a.createElement("path",{d:"M5.85 5.35 4.71 6.5h5.79a.5.5 0 0 1 0 1H4.7l1.15 1.15a.5.5 0 1 1-.7.7l-2-2a.5.5 0 0 1 0-.7l2-2a.5.5 0 1 1 .7.7Z"}),a.createElement("path",{fillRule:"evenodd",d:"M7 0a7 7 0 1 1 0 14A7 7 0 0 1 7 0Zm0 1a6 6 0 1 1 0 12A6 6 0 0 1 7 1Z"})),proceed:a.createElement(a.Fragment,null,a.createElement("path",{d:"M3.5 6.5h5.8L8.14 5.35a.5.5 0 1 1 .7-.7l2 2c.2.2.2.5 0 .7l-2 2a.5.5 0 1 1-.7-.7L9.29 7.5H3.5a.5.5 0 0 1 0-1Z"}),a.createElement("path",{fillRule:"evenodd",d:"M7 14A7 7 0 1 1 7 0a7 7 0 0 1 0 14Zm0-1A6 6 0 1 1 7 1a6 6 0 0 1 0 12Z"})),refresh:a.createElement(a.Fragment,null,a.createElement("path",{d:"M7.1.5H7a6.5 6.5 0 1 0 6.41 7.58.5.5 0 1 0-.99-.16A5.47 5.47 0 0 1 7 12.5a5.5 5.5 0 0 1 0-11 5.5 5.5 0 0 1 4.9 3H10a.5.5 0 0 0 0 1h3a.5.5 0 0 0 .5-.5V2a.5.5 0 0 0-1 0v1.53A6.5 6.5 0 0 0 7.1.5Z"})),globe:a.createElement(a.Fragment,null,a.createElement("path",{fillRule:"evenodd",d:"M14 7A7 7 0 1 0 0 7a7 7 0 0 0 14 0Zm-6.53 5.74c-.24.23-.4.26-.47.26-.08 0-.23-.03-.47-.26-.23-.24-.5-.62-.73-1.18A11.57 11.57 0 0 1 5 7.5h4a11.57 11.57 0 0 1-.8 4.06c-.24.56-.5.94-.73 1.18ZM8.99 6.5H5.01c.05-1.62.35-3.04.79-4.06.24-.56.5-.94.73-1.18.24-.23.4-.26.47-.26.08 0 .23.03.47.26.23.24.5.62.73 1.18.44 1.02.74 2.44.8 4.06Zm1 1c-.06 2.18-.56 4.08-1.28 5.25a6 6 0 0 0 4.27-5.25H9.99Zm2.99-1H9.99c-.06-2.18-.56-4.08-1.28-5.25a6 6 0 0 1 4.27 5.25ZM4 6.5c.06-2.18.56-4.08 1.28-5.25A6 6 0 0 0 1.02 6.5h2.99Zm-2.99 1a6 6 0 0 0 4.27 5.25c-.72-1.17-1.22-3.07-1.28-5.25H1.02Z"})),compass:a.createElement(a.Fragment,null,a.createElement("path",{fillRule:"evenodd",d:"M10.09 3.4 5.95 5.8a.37.37 0 0 0-.11.09.38.38 0 0 0-.04.05l-2.4 4.15a.37.37 0 0 0 0 .38c.1.18.33.24.5.14l4.15-2.4a.37.37 0 0 0 .15-.15l2.4-4.15a.37.37 0 0 0-.03-.44.37.37 0 0 0-.48-.07ZM4.75 9.25 7.6 7.6 6.4 6.4 4.75 9.25Z"}),a.createElement("path",{fillRule:"evenodd",d:"M14 7A7 7 0 1 1 0 7a7 7 0 0 1 14 0Zm-1 0A6 6 0 1 1 1 7a6 6 0 0 1 12 0Z"})),location:a.createElement(a.Fragment,null,a.createElement("path",{fillRule:"evenodd",d:"M0 7a7 7 0 1 1 14 0A7 7 0 0 1 0 7Zm6.5 3.5v2.48A6 6 0 0 1 1.02 7.5H3.5a.5.5 0 0 0 0-1H1.02A6 6 0 0 1 6.5 1.02V3.5a.5.5 0 0 0 1 0V1.02a6 6 0 0 1 5.48 5.48H10.5a.5.5 0 0 0 0 1h2.48a6 6 0 0 1-5.48 5.48V10.5a.5.5 0 0 0-1 0Z"})),pin:a.createElement(a.Fragment,null,a.createElement("path",{fillRule:"evenodd",d:"M9 5a2 2 0 1 1-4 0 2 2 0 0 1 4 0ZM8 5a1 1 0 1 1-2 0 1 1 0 0 1 2 0Z"}),a.createElement("path",{fillRule:"evenodd",d:"M12 5A5 5 0 0 0 2 5c0 2.63 2.27 6.15 4.65 8.64.2.2.5.2.7 0C9.73 11.15 12 7.64 12 5ZM7 1a4 4 0 0 1 4 4c0 1.06-.47 2.42-1.3 3.88A21.23 21.23 0 0 1 7 12.55c-1-1.1-1.97-2.39-2.7-3.67A8.46 8.46 0 0 1 3 5a4 4 0 0 1 4-4Z"})),time:a.createElement(a.Fragment,null,a.createElement("path",{d:"M7 2c.28 0 .5.22.5.5v4H10a.5.5 0 0 1 0 1H7a.5.5 0 0 1-.5-.5V2.5c0-.28.22-.5.5-.5Z"}),a.createElement("path",{fillRule:"evenodd",d:"M7 14A7 7 0 1 0 7 0a7 7 0 0 0 0 14Zm0-1A6 6 0 1 0 7 1a6 6 0 0 0 0 12Z"})),dashboard:a.createElement(a.Fragment,null,a.createElement("path",{d:"M9.8 4.1a.5.5 0 0 1 .1.7L7.92 7.58A1 1 0 1 1 7.1 7l2-2.8a.5.5 0 0 1 .7-.12Z"}),a.createElement("path",{fillRule:"evenodd",d:"M2.07 12.97a7 7 0 1 1 9.86 0 12.96 12.96 0 0 0-9.86 0Zm9.58-1.18a6 6 0 1 0-9.3 0 13.98 13.98 0 0 1 9.3 0Z"})),timer:a.createElement(a.Fragment,null,a.createElement("path",{d:"M7.5 4.5a.5.5 0 0 0-1 0v2.63a1 1 0 1 0 1 0V4.5Z"}),a.createElement("path",{fillRule:"evenodd",d:"M5.5.5c0-.28.22-.5.5-.5h2a.5.5 0 0 1 0 1h-.5v1.02c1.28.1 2.45.61 3.37 1.4l.78-.77a.5.5 0 0 1 .7.7l-.77.78a6 6 0 1 1-5.08-2.1V1H6a.5.5 0 0 1-.5-.5ZM7 3a5 5 0 1 0 0 10A5 5 0 0 0 7 3Z"})),home:a.createElement(a.Fragment,null,a.createElement("path",{d:"m7.35 1.15 5.5 5.5a.5.5 0 0 1-.7.7L12 7.21v5.29a.5.5 0 0 1-.5.5h-3a.5.5 0 0 1-.5-.5V9H6v3.5a.5.5 0 0 1-.5.5h-3a.5.5 0 0 1-.5-.5V7.2l-.15.15a.5.5 0 1 1-.7-.7l1-1 4.5-4.5c.2-.2.5-.2.7 0ZM3 6.2V12h2V8.5c0-.28.22-.5.5-.5h3c.28 0 .5.22.5.5V12h2V6.2l-4-4-4 4Z"})),admin:a.createElement(a.Fragment,null,a.createElement("path",{fillRule:"evenodd",d:"M1.21 4.1a.5.5 0 0 1 .06-.04l5.48-3a.5.5 0 0 1 .5 0l5.48 3a.5.5 0 0 1 .27.39.5.5 0 0 1-.51.55H1.51a.5.5 0 0 1-.3-.9ZM3.46 4h7.08L7 2.07 3.46 4Z"}),a.createElement("path",{d:"M4 6a.5.5 0 1 0-1 0v5a.5.5 0 0 0 1 0V6ZM11 6a.5.5 0 0 0-1 0v5a.5.5 0 0 0 1 0V6ZM5.75 5.5c.28 0 .5.22.5.5v5a.5.5 0 0 1-1 0V6c0-.28.22-.5.5-.5ZM8.75 6a.5.5 0 1 0-1 0v5a.5.5 0 0 0 1 0V6ZM1.5 12.5c0-.27.22-.5.5-.5h10a.5.5 0 0 1 0 1H2a.5.5 0 0 1-.5-.5Z"})),info:a.createElement(a.Fragment,null,a.createElement("path",{d:"M7 5.5c.28 0 .5.22.5.5v4a.5.5 0 0 1-1 0V6c0-.28.22-.5.5-.5ZM7 4.5A.75.75 0 1 0 7 3a.75.75 0 0 0 0 1.5Z"}),a.createElement("path",{fillRule:"evenodd",d:"M7 14A7 7 0 1 0 7 0a7 7 0 0 0 0 14Zm0-1A6 6 0 1 0 7 1a6 6 0 0 0 0 12Z"})),question:a.createElement(a.Fragment,null,a.createElement("path",{d:"M5.25 5.25A1.75 1.75 0 1 1 7 7a.5.5 0 0 0-.5.5V9a.5.5 0 0 0 1 0V7.95a2.75 2.75 0 1 0-3.25-2.7.5.5 0 0 0 1 0ZM7 11.5A.75.75 0 1 0 7 10a.75.75 0 0 0 0 1.5Z"}),a.createElement("path",{fillRule:"evenodd",d:"M14 7A7 7 0 1 1 0 7a7 7 0 0 1 14 0Zm-1 0A6 6 0 1 1 1 7a6 6 0 0 1 12 0Z"})),support:a.createElement(a.Fragment,null,a.createElement("path",{fillRule:"evenodd",d:"M14 7A7 7 0 1 1 0 7a7 7 0 0 1 14 0Zm-3.52 4.9a5.97 5.97 0 0 1-6.96 0l1.45-1.45a3.98 3.98 0 0 0 4.06 0l1.45 1.44Zm-.03-2.87 1.44 1.45a5.97 5.97 0 0 0 0-6.96l-1.44 1.45a3.98 3.98 0 0 1 0 4.06ZM9.03 3.55l1.45-1.44a5.97 5.97 0 0 0-6.96 0l1.45 1.44a3.98 3.98 0 0 1 4.06 0ZM3.55 4.97 2.11 3.52a5.97 5.97 0 0 0 0 6.96l1.44-1.45a3.98 3.98 0 0 1 0-4.06ZM10 7a3 3 0 1 1-6 0 3 3 0 0 1 6 0Z"})),alert:a.createElement(a.Fragment,null,a.createElement("path",{d:"M7 4.5c.28 0 .5.22.5.5v3.5a.5.5 0 0 1-1 0V5c0-.28.22-.5.5-.5ZM7.75 10.5a.75.75 0 1 1-1.5 0 .75.75 0 0 1 1.5 0Z"}),a.createElement("path",{fillRule:"evenodd",d:"M7.2 1.04a.5.5 0 0 1 .24.21l6.49 11a.5.5 0 0 1-.44.75H.51a.5.5 0 0 1-.5-.45.5.5 0 0 1 .06-.31l6.5-10.99a.5.5 0 0 1 .64-.2ZM7 2.48 1.38 12h11.24L7 2.48Z"})),email:a.createElement(a.Fragment,null,a.createElement("path",{d:"M0 2.5c0-.27.22-.5.5-.5h13c.28 0 .5.23.5.5v9a.5.5 0 0 1-.5.5H.5a.5.5 0 0 1-.5-.5v-9Zm1 1.02V11h12V3.52L7.31 7.89a.5.5 0 0 1-.52.07.5.5 0 0 1-.1-.07L1 3.52ZM12.03 3H1.97L7 6.87 12.03 3Z"})),phone:a.createElement(a.Fragment,null,a.createElement("path",{fillRule:"evenodd",d:"m7.76 8.13-.05.05a.2.2 0 0 1-.28.03A6.76 6.76 0 0 1 5.8 6.56a.21.21 0 0 1 .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 0 0-.51.13A3.23 3.23 0 0 0 .9 3.42c-.13 1.1.26 2.37 1.17 3.78a16.68 16.68 0 0 0 4.55 4.6 6.57 6.57 0 0 0 3.53 1.32A3.2 3.2 0 0 0 13 11.46c.14-.24.24-.64-.07-1.18a7.8 7.8 0 0 0-1.73-1.8c-.64-.5-1.52-1.12-2.13-1.12a.97.97 0 0 0-.34.06c-.47.17-.74.46-.95.69l-.02.02Zm4.32 2.68a6.8 6.8 0 0 0-1.48-1.54h-.02c-.3-.25-.64-.49-.95-.67a2.7 2.7 0 0 0-.56-.24h-.01c-.23.09-.34.21-.56.45l-.02.02-.04.04a1.2 1.2 0 0 1-1.6.15 7.76 7.76 0 0 1-1.86-1.89l-.01-.01-.02-.02a1.21 1.21 0 0 1 .2-1.53l.06-.06.02-.02c.22-.2.35-.31.43-.53v-.02c0-.02 0-.06-.03-.14a3.7 3.7 0 0 0-.5-.88h-.01V3.9c-.23-.33-.65-.87-1.1-1.32H4c-.31-.32-.55-.5-.72-.6a.6.6 0 0 0-.22-.1h-.03a2.23 2.23 0 0 0-1.15 1.66c-.09.78.18 1.8 1.02 3.1a15.68 15.68 0 0 0 4.27 4.33l.02.01.02.02a5.57 5.57 0 0 0 2.97 1.11 2.2 2.2 0 0 0 1.93-1.14h.01v-.05a.57.57 0 0 0-.05-.12Z"})),link:a.createElement(a.Fragment,null,a.createElement("path",{d:"M11.84 2.16a2.25 2.25 0 0 0-3.18 0l-2.5 2.5c-.88.88-.88 2.3 0 3.18a.5.5 0 0 1-.7.7 3.25 3.25 0 0 1 0-4.59l2.5-2.5a3.25 3.25 0 0 1 4.59 4.6L10.48 8.1c.04-.44.01-.89-.09-1.32l1.45-1.45c.88-.88.88-2.3 0-3.18Z"}),a.createElement("path",{d:"M3.6 7.2c-.1-.42-.12-.87-.08-1.31L1.45 7.95a3.25 3.25 0 1 0 4.6 4.6l2.5-2.5a3.25 3.25 0 0 0 0-4.6.5.5 0 0 0-.7.7c.87.89.87 2.31 0 3.2l-2.5 2.5a2.25 2.25 0 1 1-3.2-3.2l1.46-1.44Z"})),unlink:a.createElement(a.Fragment,null,a.createElement("path",{d:"m1.45 7.95 1.3-1.3.71.7-1.3 1.3a2.25 2.25 0 1 0 3.18 3.2l1.3-1.31.71.7-1.3 1.3a3.25 3.25 0 0 1-4.6-4.59ZM12.55 6.05l-1.3 1.3-.71-.7 1.3-1.3a2.25 2.25 0 1 0-3.18-3.2l-1.3 1.31-.71-.7 1.3-1.3a3.25 3.25 0 0 1 4.6 4.59ZM1.85 1.15a.5.5 0 1 0-.7.7l11 11a.5.5 0 0 0 .7-.7l-11-11Z"})),bell:a.createElement(a.Fragment,null,a.createElement("path",{fillRule:"evenodd",d:"M8 1.11a1 1 0 1 0-1.99 0A4.5 4.5 0 0 0 2.5 5.5v3.88l-.94 1.89a.5.5 0 0 0-.06.3.5.5 0 0 0 .51.43h3.58a1.5 1.5 0 1 0 2.82 0H12a.5.5 0 0 0 .45-.73l-.94-1.89V5.5A4.5 4.5 0 0 0 8 1.11ZM2.8 11h8.4l-.5-1H3.3l-.5 1Zm7.7-2V5.5a3.5 3.5 0 1 0-7 0V9h7Zm-4 3.5a.5.5 0 1 1 1 0 .5.5 0 0 1-1 0Z"})),rss:a.createElement(a.Fragment,null,a.createElement("path",{d:"M1.5.5c0-.28.22-.5.5-.5a12 12 0 0 1 12 12 .5.5 0 0 1-1 0A11 11 0 0 0 2 1a.5.5 0 0 1-.5-.5Z"}),a.createElement("path",{d:"M1.5 4.5c0-.28.22-.5.5-.5a8 8 0 0 1 8 8 .5.5 0 0 1-1 0 7 7 0 0 0-7-7 .5.5 0 0 1-.5-.5Z"}),a.createElement("path",{fillRule:"evenodd",d:"M5 11a2 2 0 1 1-4 0 2 2 0 0 1 4 0Zm-1 0a1 1 0 1 1-2 0 1 1 0 0 1 2 0Z"})),sharealt:a.createElement(a.Fragment,null,a.createElement("path",{d:"M2 1a1 1 0 0 0-1 1v10a1 1 0 0 0 1 1h10a1 1 0 0 0 1-1V7.5a.5.5 0 0 0-1 0V12H2V2h4.5a.5.5 0 0 0 0-1H2Z"}),a.createElement("path",{d:"M7.35 7.36 12 2.7v1.8a.5.5 0 0 0 1 0v-3a.5.5 0 0 0-.5-.5h-3a.5.5 0 1 0 0 1h1.8L6.64 6.64a.5.5 0 1 0 .7.7Z"})),share:a.createElement(a.Fragment,null,a.createElement("path",{d:"M6.65.15c.2-.2.5-.2.7 0l2 2a.5.5 0 1 1-.7.7L7.5 1.72v6.8a.5.5 0 0 1-1 0V1.7L5.35 2.86a.5.5 0 1 1-.7-.71l2-2Z"}),a.createElement("path",{d:"M2 4a1 1 0 0 0-1 1v7a1 1 0 0 0 1 1h10a1 1 0 0 0 1-1V5a1 1 0 0 0-1-1H9.5a.5.5 0 1 0 0 1H12v7H2V5h2.5a.5.5 0 0 0 0-1H2Z"})),circlehollow:a.createElement(a.Fragment,null,a.createElement("path",{fillRule:"evenodd",d:"M7 13A6 6 0 1 0 7 1a6 6 0 0 0 0 12Zm0 1A7 7 0 1 0 7 0a7 7 0 0 0 0 14Z"})),circle:a.createElement("path",{d:"M14 7A7 7 0 1 1 0 7a7 7 0 0 1 14 0Z"}),bookmarkhollow:a.createElement(a.Fragment,null,a.createElement("path",{fillRule:"evenodd",d:"M3.5 0h7c.28 0 .5.22.5.5v13a.5.5 0 0 1-.45.5.46.46 0 0 1-.38-.12L7 11.16l-3.17 2.72a.46.46 0 0 1-.38.12.5.5 0 0 1-.45-.5V.5c0-.28.22-.5.5-.5ZM4 12.41l2.66-2.28a.45.45 0 0 1 .38-.13c.1.01.2.05.29.12l2.67 2.3V1H4v11.41Z"})),bookmark:a.createElement(a.Fragment,null,a.createElement("path",{fillRule:"evenodd",d:"M3.5 0h7c.28 0 .5.22.5.5v13a.5.5 0 0 1-.45.5.46.46 0 0 1-.38-.12L7 11.16l-3.17 2.72a.46.46 0 0 1-.38.12.5.5 0 0 1-.45-.5V.5c0-.28.22-.5.5-.5Z"})),diamond:a.createElement(a.Fragment,null,a.createElement("path",{fillRule:"evenodd",d:"M8.41 1.59a2 2 0 0 0-2.82 0l-4 4a2 2 0 0 0 0 2.82l4 4a2 2 0 0 0 2.82 0l4-4a2 2 0 0 0 0-2.82l-4-4Zm.71-.71a3 3 0 0 0-4.24 0l-4 4a3 3 0 0 0 0 4.24l4 4a3 3 0 0 0 4.24 0l4-4a3 3 0 0 0 0-4.24l-4-4Z"})),hearthollow:a.createElement(a.Fragment,null,a.createElement("path",{fillRule:"evenodd",d:"M12.81 1.85 13 2a2.97 2.97 0 0 1 .75 1.17 4.39 4.39 0 0 1 .12 2.51 6.26 6.26 0 0 1-1.65 2.55l-4.78 4.6A.59.59 0 0 1 7 13a.67.67 0 0 1-.44-.17L1.78 8.22a7.84 7.84 0 0 1-1.25-1.6C.37 6.31.24 6 .14 5.67a4.32 4.32 0 0 1 .12-2.51 3.2 3.2 0 0 1 1.95-1.9c.47-.18 1-.27 1.57-.27.3 0 .61.04.91.14.3.09.59.21.86.36s.52.33.77.52c.24.19.47.38.68.58a7.56 7.56 0 0 1 1.46-1.1c.27-.15.55-.27.84-.36.3-.1.6-.14.9-.14.59 0 1.12.09 1.59.26.39.15.73.34 1.02.59ZM1.2 3.53A2.2 2.2 0 0 1 2.57 2.2M1.2 3.53c-.13.33-.2.72-.2 1.18 0 .22.03.45.1.68a3.97 3.97 0 0 0 .79 1.46c.19.23.38.45.59.65l4.51 4.36 4.52-4.35c.2-.2.4-.4.59-.65.18-.23.34-.47.49-.73.13-.23.23-.48.3-.73.08-.23.11-.46.11-.7 0-.45-.07-.84-.2-1.18-.12-.33-.3-.6-.51-.8v-.01c-.22-.2-.5-.38-.85-.51-.34-.13-.75-.2-1.24-.2-.2 0-.4.03-.6.09a4.95 4.95 0 0 0-1.9 1.22l-.68.67-.7-.65a9.97 9.97 0 0 0-.62-.53c-.2-.16-.42-.3-.63-.42h-.01c-.21-.12-.43-.22-.66-.29C4.2 2.03 4 2 3.77 2c-.48 0-.88.07-1.21.2"})),heart:a.createElement(a.Fragment,null,a.createElement("path",{d:"M12.81 1.85 13 2a2.97 2.97 0 0 1 .75 1.17 4.39 4.39 0 0 1 .12 2.51 6.26 6.26 0 0 1-1.65 2.55l-4.78 4.6A.59.59 0 0 1 7 13a.67.67 0 0 1-.44-.17L1.78 8.22a7.84 7.84 0 0 1-1.25-1.6C.37 6.31.24 6 .14 5.67a4.32 4.32 0 0 1 .12-2.51 3.2 3.2 0 0 1 1.95-1.9c.47-.18 1-.27 1.57-.27.3 0 .61.04.91.14.3.09.59.21.86.36s.52.33.77.52c.24.19.47.38.68.58a7.56 7.56 0 0 1 1.46-1.1c.27-.15.55-.27.84-.36.3-.1.6-.14.9-.14.59 0 1.12.09 1.59.26.39.15.73.34 1.02.59Z"})),starhollow:a.createElement(a.Fragment,null,a.createElement("path",{d:"M6.32.78a.75.75 0 0 1 1.36 0l1.63 3.54 3.87.46c.63.07.89.86.42 1.3l-2.86 2.64.76 3.81a.75.75 0 0 1-1.1.8L7 11.43l-3.4 1.9a.75.75 0 0 1-1.1-.8l.76-3.81L.4 6.07a.75.75 0 0 1 .42-1.3l3.87-.45L6.32.78ZM7 1.7 5.54 4.86c-.11.24-.34.4-.6.43l-3.46.42 2.56 2.37c.2.17.28.44.23.7l-.68 3.42 3.04-1.7c.23-.14.5-.14.74 0l3.04 1.7-.68-3.43a.75.75 0 0 1 .23-.7l2.56-2.36-3.47-.42a.75.75 0 0 1-.59-.43L7 1.7Z"})),star:a.createElement(a.Fragment,null,a.createElement("path",{d:"M7.68.78a.75.75 0 0 0-1.36 0L4.69 4.32l-3.87.46a.75.75 0 0 0-.42 1.3l2.86 2.64-.76 3.81a.75.75 0 0 0 1.1.8l3.4-1.9 3.4 1.9a.75.75 0 0 0 1.1-.8l-.76-3.81 2.86-2.65a.75.75 0 0 0-.42-1.3L9.3 4.33 7.68.78Z"})),certificate:a.createElement(a.Fragment,null,a.createElement("path",{fillRule:"evenodd",d:"M10 7.85A4.49 4.49 0 0 0 7 0a4.5 4.5 0 0 0-3 7.85V13a.5.5 0 0 0 .5.5.5.5 0 0 0 .35-.15L7 11.21l2.15 2.14A.5.5 0 0 0 10 13V7.85ZM7 8a3.5 3.5 0 1 0 0-7 3.5 3.5 0 0 0 0 7Zm-.35 2.15c.2-.2.5-.2.7 0L9 11.79V8.53a4.48 4.48 0 0 1-4 0v3.26l1.65-1.64Z"})),verified:a.createElement(a.Fragment,null,a.createElement("path",{d:"M6.56 13.12a1 1 0 0 1 .88 0l.98.49a1 1 0 0 0 1.31-.43l.52-.97a1 1 0 0 1 .7-.51l1.08-.2a1 1 0 0 0 .81-1.1l-.15-1.1a1 1 0 0 1 .27-.82l.76-.8a1 1 0 0 0 0-1.37l-.76-.79a1 1 0 0 1-.27-.83l.15-1.08a1 1 0 0 0-.8-1.12l-1.09-.19a1 1 0 0 1-.7-.5L9.73.81A1 1 0 0 0 8.43.4l-1 .49a1 1 0 0 1-.87 0L5.58.39a1 1 0 0 0-1.31.43l-.52.97a1 1 0 0 1-.7.51l-1.08.2a1 1 0 0 0-.81 1.1l.15 1.1a1 1 0 0 1-.27.82l-.76.8a1 1 0 0 0 0 1.37l.76.79a1 1 0 0 1 .27.83l-.15 1.08a1 1 0 0 0 .8 1.12l1.09.19a1 1 0 0 1 .7.5l.52.98a1 1 0 0 0 1.3.43l1-.49Zm4.3-8.47c.19.2.19.5 0 .7l-4.5 4.5a.5.5 0 0 1-.71 0l-2.5-2.5a.5.5 0 1 1 .7-.7L6 8.79l4.15-4.14c.2-.2.5-.2.7 0Z"})),thumbsup:a.createElement(a.Fragment,null,a.createElement("path",{d:"M11 12.02c-.4.37-.91.56-1.56.56h-.88a5.5 5.5 0 0 1-1.3-.16c-.42-.1-.91-.25-1.47-.45-.3-.12-.63-.21-.95-.27H2.88a.84.84 0 0 1-.62-.26.84.84 0 0 1-.26-.61V6.45c0-.24.09-.45.26-.62a.84.84 0 0 1 .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 0 1 .62-.25c.38 0 .72.07 1.03.22.3.15.54.38.7.7a2.94 2.94 0 0 1 .21 1.58 3 3 0 0 1-.3 1h1.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.98.07.54-.07 1.08-.4 1.51a1.9 1.9 0 0 1-.57 1.5Zm.47-5.33a.96.96 0 0 0 .03-.25.74.74 0 0 0-.23-.51.68.68 0 0 0-.52-.23H7.93l.73-1.45a2 2 0 0 0 .21-.87c0-.44-.07-.7-.13-.82a.53.53 0 0 0-.24-.24 1.3 1.3 0 0 0-.54-.12.99.99 0 0 0-.14.28c-.08.27-.13.52-.18.76-.06.38-.2.77-.48 1.07v.01l-.02.01c-.2.2-.4.46-.67.8l-.61.76c-.15.17-.35.38-.54.51l-.26.18H5v4.13h.02c.38.08.76.18 1.12.32.53.2.98.33 1.35.42.36.09.71.13 1.07.13h.88c.43 0 .68-.11.87-.29a.9.9 0 0 0 .26-.7l-.02-.37.22-.3c.17-.23.25-.5.2-.78l-.04-.33.17-.3a.97.97 0 0 0 .13-.48c0-.09 0-.13-.02-.15l-.15-.46.26-.4c.1-.15.13-.25.15-.33ZM3.5 10.8a.5.5 0 1 0 0-1 .5.5 0 0 0 0 1Z"})),shield:a.createElement(a.Fragment,null,a.createElement("path",{fillRule:"evenodd",d:"M11.76 2.08a.5.5 0 0 1 .24.42v6a.5.5 0 0 1-.17.38l-4.5 3.99a.5.5 0 0 1-.67 0l-4.49-4A.5.5 0 0 1 2 8.5V2.5c0-.18.1-.34.24-.42l.01-.02a2.5 2.5 0 0 1 .3-.16c.22-.1.52-.24.92-.37C4.27 1.26 5.44 1 7 1c1.56 0 2.73.26 3.53.53a6.97 6.97 0 0 1 1.22.53l.01.02ZM3 2.79v5.49l1.07.94 6.59-6.58-.44-.17C9.52 2.24 8.44 2 7 2c-1.44 0-2.52.24-3.22.47-.35.12-.6.24-.78.32Zm4 9.04L4.82 9.9 11 3.71v4.57l-4 3.55Z"})),basket:a.createElement(a.Fragment,null,a.createElement("path",{d:"M10.35 2.85a.5.5 0 1 0-.7-.7l-3 3a.5.5 0 1 0 .7.7l3-3Z"}),a.createElement("path",{d:"M2.09 6H4.5a.5.5 0 0 0 0-1H1.8a.75.75 0 0 0-.74.87l.8 4.88A1.5 1.5 0 0 0 3.36 12h7.3a1.5 1.5 0 0 0 1.48-1.25l.81-4.88A.75.75 0 0 0 12.2 5H10a.5.5 0 0 0 0 1h1.91l-.76 4.58a.5.5 0 0 1-.5.42h-7.3a.5.5 0 0 1-.5-.42L2.1 6Z"}),a.createElement("path",{d:"M4.5 7c.28 0 .5.22.5.5v2a.5.5 0 0 1-1 0v-2c0-.28.22-.5.5-.5ZM10 7.5a.5.5 0 0 0-1 0v2a.5.5 0 0 0 1 0v-2ZM6.5 9.5v-2a.5.5 0 0 1 1 0v2a.5.5 0 0 1-1 0Z"})),beaker:a.createElement(a.Fragment,null,a.createElement("path",{fillRule:"evenodd",d:"M4.5 2h.75v3.87l-3.03 5.26c-.48.83.12 1.87 1.08 1.87h7.4c.96 0 1.57-1.04 1.08-1.87L8.75 5.87V2h.75a.5.5 0 0 0 0-1h-5a.5.5 0 0 0 0 1Zm1.75 4V2h1.5v4.13l.07.12 1 1.75H5.18l1.01-1.75.07-.12V6ZM4.6 9l-1.52 2.63c-.1.16.03.37.22.37h7.4c.2 0 .31-.2.22-.37L9.4 9H4.6Z"})),hourglass:a.createElement(a.Fragment,null,a.createElement("path",{d:"M7.5 10.5a.5.5 0 1 1-1 0 .5.5 0 0 1 1 0Z"}),a.createElement("path",{fillRule:"evenodd",d:"M3.5 1a.5.5 0 0 0-.5.5c0 1.06.14 1.9.68 2.97.34.7.86 1.5 1.6 2.53a16.53 16.53 0 0 0-1.8 2.96A6 6 0 0 0 3 12.49v.01a.5.5 0 0 0 .5.5h7a.5.5 0 0 0 .5-.5 6 6 0 0 0-.48-2.54c-.34-.8-.9-1.71-1.8-2.96a19.78 19.78 0 0 0 1.6-2.53c.54-1.08.68-1.9.68-2.97a.5.5 0 0 0-.5-.5h-7Zm6.49 11a4.68 4.68 0 0 0-.39-1.65c-.27-.65-.73-1.4-1.5-2.5a133 133 0 0 1-.75 1 .5.5 0 0 1-.56.1.5.5 0 0 1-.2-.16l-.7-.94a14.36 14.36 0 0 0-1.5 2.5A4.68 4.68 0 0 0 4.02 12H10ZM6.3 6.72l.7.94a90.06 90.06 0 0 0 .7-.96c.49-.67.87-1.22 1.17-1.7H5.13A32.67 32.67 0 0 0 6.3 6.72ZM4.56 4h4.88c.36-.73.5-1.31.55-2H4c.04.69.19 1.27.55 2Z"})),flag:a.createElement(a.Fragment,null,a.createElement("path",{fillRule:"evenodd",d:"M11.5 1h-9a.5.5 0 0 0-.5.5v11a.5.5 0 0 0 1 0V8h8.5a.5.5 0 0 0 .35-.85L9.21 4.5l2.64-2.65A.5.5 0 0 0 11.5 1ZM8.15 4.15 10.29 2H3v5h7.3L8.14 4.85a.5.5 0 0 1 0-.7Z"})),cloudhollow:a.createElement(a.Fragment,null,a.createElement("path",{fillRule:"evenodd",d:"M10 7V6a3 3 0 0 0-5.9-.74l-.18.68-.7.07A2.5 2.5 0 0 0 3.5 11h3.19l.07-.01h.08L7 11h4a2 2 0 1 0 0-4h-1ZM3.12 5.02A3.5 3.5 0 0 0 3.5 12H11a3 3 0 1 0 0-6 4 4 0 0 0-7.88-.98Z"})),cloud:a.createElement("path",{d:"M7 2a4 4 0 0 1 4 4 3 3 0 1 1 0 6H3.5a3.5 3.5 0 0 1-.38-6.98A4 4 0 0 1 7 2Z"}),edit:a.createElement(a.Fragment,null,a.createElement("path",{fillRule:"evenodd",d:"m13.85 2.15-2-2a.5.5 0 0 0-.7 0l-1.5 1.5-9 9a.5.5 0 0 0-.14.26L0 13.39a.5.5 0 0 0 .14.46.5.5 0 0 0 .46.14l2.48-.5a.5.5 0 0 0 .27-.14l9-9 1.5-1.5a.5.5 0 0 0 0-.7ZM12 3.29l.8-.79-1.3-1.3-.8.8L12 3.3Zm-2-.58L1.7 11 3 12.3 11.3 4 10 2.7ZM1.14 12.86l.17-.85.68.68-.85.17Z"})),cog:a.createElement(a.Fragment,null,a.createElement("path",{d:"M5.59 5.59a2 2 0 0 1 3.27 2.14.5.5 0 1 0 .93.37 3 3 0 1 0-1.7 1.7.5.5 0 1 0-.36-.94A2 2 0 0 1 5.6 5.6Z",fill:"#333"}),a.createElement("path",{fillRule:"evenodd",d:"M.94 6.53c.13.12.19.3.18.46 0 .17-.05.34-.18.47L0 8.39c.19.94.55 1.81 1.07 2.58h1.32c.18 0 .34.07.46.2.12.11.2.27.2.45v1.32c.76.51 1.62.88 2.55 1.06l.94-.94a.63.63 0 0 1 .45-.19h.03c.16 0 .33.07.45.19l.94.94a7.1 7.1 0 0 0 2.55-1.06v-1.33c0-.18.07-.35.2-.46.11-.12.27-.2.45-.2h1.33A7.1 7.1 0 0 0 14 8.4l-.95-.94a.64.64 0 0 1-.18-.47c0-.17.06-.34.18-.46l.95-.95a7.1 7.1 0 0 0-1.05-2.52h-1.34a.63.63 0 0 1-.46-.2.64.64 0 0 1-.2-.46V1.06A7.1 7.1 0 0 0 8.42 0l-.94.94a.63.63 0 0 1-.45.19H7a.63.63 0 0 1-.45-.19L5.6 0a7.1 7.1 0 0 0-2.56 1.06v1.33c0 .18-.07.34-.2.46a.63.63 0 0 1-.45.2H1.06A7.1 7.1 0 0 0 0 5.59l.94.94Zm.7 1.63c.33-.32.49-.75.48-1.17 0-.42-.15-.85-.47-1.17l-.54-.54c.12-.43.3-.85.51-1.23h.77c.46 0 .87-.2 1.17-.5.3-.29.48-.7.48-1.16v-.77c.4-.22.81-.39 1.25-.52l.54.55c.33.32.75.48 1.16.48h.03c.42 0 .84-.16 1.16-.48l.54-.54c.44.12.85.3 1.24.5v.8c0 .45.19.87.49 1.16.3.3.7.5 1.16.5h.78c.2.37.38.78.5 1.2l-.54.55c-.33.32-.49.75-.48 1.17 0 .42.15.85.48 1.17l.55.55c-.13.44-.3.85-.52 1.24h-.77c-.45 0-.87.2-1.16.5-.3.29-.5.7-.5 1.16v.77c-.38.21-.8.39-1.23.51l-.54-.54a1.64 1.64 0 0 0-1.16-.48H7c-.41 0-.83.16-1.16.48l-.54.55a6.1 6.1 0 0 1-1.25-.52v-.76c0-.45-.19-.87-.48-1.16-.3-.3-.71-.5-1.17-.5h-.76a6.1 6.1 0 0 1-.53-1.25l.55-.55Z"})),nut:a.createElement(a.Fragment,null,a.createElement("path",{d:"M5.59 8.41a2 2 0 1 1 3.27-.68.5.5 0 1 0 .93.37 3 3 0 1 0-1.7 1.7.5.5 0 0 0-.36-.94 2 2 0 0 1-2.14-.45Z"}),a.createElement("path",{fillRule:"evenodd",d:"M6.5.29a1 1 0 0 1 1 0l5.06 2.92c.31.18.5.51.5.87v5.84a1 1 0 0 1-.5.87L7.5 13.7a1 1 0 0 1-1 0L1.44 10.8a1 1 0 0 1-.5-.87V4.08a1 1 0 0 1 .5-.87L6.5.3Zm.5.86 5.06 2.93v5.84L7 12.85 1.94 9.92V4.08L7 1.15Z"})),wrench:a.createElement(a.Fragment,null,a.createElement("path",{d:"M10.5 1c.44 0 .56.52.25.83l-.8.81c-.2.2-.2.52 0 .72l.69.7c.2.2.52.2.72 0l.8-.81c.32-.31.84-.2.84.25a2.5 2.5 0 0 1-3.41 2.33L2.7 12.7a1 1 0 0 1-1.42-1.42l6.88-6.88A2.5 2.5 0 0 1 10.5 1ZM2 12.5a.5.5 0 1 0 0-1 .5.5 0 0 0 0 1Z"})),ellipsis:a.createElement(a.Fragment,null,a.createElement("path",{d:"M4 7a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0ZM13 7a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0ZM7 8.5a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3Z"})),check:a.createElement(a.Fragment,null,a.createElement("path",{d:"M13.85 3.35a.5.5 0 0 0-.7-.7L5 10.79.85 6.65a.5.5 0 1 0-.7.7l4.5 4.5c.2.2.5.2.7 0l8.5-8.5Z"})),form:a.createElement(a.Fragment,null,a.createElement("path",{d:"M2 1a1 1 0 0 0-1 1v10a1 1 0 0 0 1 1h10a1 1 0 0 0 1-1V6.4a.5.5 0 0 0-1 0V12H2V2h7.5a.5.5 0 0 0 0-1H2Z"}),a.createElement("path",{d:"m6.35 9.86 7.5-7.5a.5.5 0 0 0-.7-.71L6 8.8 3.85 6.65a.5.5 0 1 0-.7.7l2.5 2.5c.2.2.5.2.7 0Z"})),batchdeny:a.createElement(a.Fragment,null,a.createElement("path",{d:"M11.5 2a.5.5 0 0 0 0 1h2a.5.5 0 0 0 0-1h-2Zm-2.646.646a.5.5 0 0 1 0 .708L5.207 7l3.647 3.646a.5.5 0 0 1-.708.708L4.5 7.707.854 11.354a.5.5 0 0 1-.708-.708L3.793 7 .146 3.354a.5.5 0 1 1 .708-.708L4.5 6.293l3.646-3.647a.5.5 0 0 1 .708 0ZM11 7a.5.5 0 0 1 .5-.5h2a.5.5 0 0 1 0 1h-2A.5.5 0 0 1 11 7Zm.5 4a.5.5 0 0 0 0 1h2a.5.5 0 0 0 0-1h-2Z"})),batchaccept:a.createElement(a.Fragment,null,a.createElement("path",{d:"M11.5 2a.5.5 0 0 0 0 1h2a.5.5 0 0 0 0-1h-2Zm-2.2.6a.5.5 0 0 1 .1.7l-5.995 7.993a.505.505 0 0 1-.37.206.5.5 0 0 1-.395-.152L.146 8.854a.5.5 0 1 1 .708-.708l2.092 2.093L8.6 2.7a.5.5 0 0 1 .7-.1ZM11 7a.5.5 0 0 1 .5-.5h2a.5.5 0 0 1 0 1h-2A.5.5 0 0 1 11 7Zm.5 4a.5.5 0 0 0 0 1h2a.5.5 0 0 0 0-1h-2Z"})),controls:a.createElement(a.Fragment,null,a.createElement("path",{d:"M10.5 1c.28 0 .5.22.5.5V2h1.5a.5.5 0 0 1 0 1H11v.5a.5.5 0 0 1-1 0V3H1.5a.5.5 0 0 1 0-1H10v-.5c0-.28.22-.5.5-.5ZM1.5 11a.5.5 0 0 0 0 1H10v.5a.5.5 0 0 0 1 0V12h1.5a.5.5 0 0 0 0-1H11v-.5a.5.5 0 0 0-1 0v.5H1.5ZM1 7c0-.28.22-.5.5-.5H3V6a.5.5 0 0 1 1 0v.5h8.5a.5.5 0 0 1 0 1H4V8a.5.5 0 0 1-1 0v-.5H1.5A.5.5 0 0 1 1 7Z"})),plus:a.createElement(a.Fragment,null,a.createElement("path",{d:"M7.5.5a.5.5 0 0 0-1 0v6h-6a.5.5 0 0 0 0 1h6v6a.5.5 0 0 0 1 0v-6h6a.5.5 0 0 0 0-1h-6v-6Z"})),closeAlt:a.createElement(a.Fragment,null,a.createElement("path",{d:"M2.03.97A.75.75 0 0 0 .97 2.03L5.94 7 .97 11.97a.75.75 0 1 0 1.06 1.06L7 8.06l4.97 4.97a.75.75 0 1 0 1.06-1.06L8.06 7l4.97-4.97A.75.75 0 0 0 11.97.97L7 5.94 2.03.97Z"})),cross:a.createElement(a.Fragment,null,a.createElement("path",{d:"M1.85 1.15a.5.5 0 1 0-.7.7L6.29 7l-5.14 5.15a.5.5 0 0 0 .7.7L7 7.71l5.15 5.14a.5.5 0 0 0 .7-.7L7.71 7l5.14-5.15a.5.5 0 0 0-.7-.7L7 6.29 1.85 1.15Z"})),trash:a.createElement(a.Fragment,null,a.createElement("path",{d:"M5.5 4.5c.28 0 .5.22.5.5v5a.5.5 0 0 1-1 0V5c0-.28.22-.5.5-.5ZM9 5a.5.5 0 0 0-1 0v5a.5.5 0 0 0 1 0V5Z"}),a.createElement("path",{fillRule:"evenodd",d:"M4.5.5c0-.28.22-.5.5-.5h4c.28 0 .5.22.5.5V2h3a.5.5 0 0 1 0 1H12v8a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V3h-.5a.5.5 0 0 1 0-1h3V.5ZM3 3v8a1 1 0 0 0 1 1h6a1 1 0 0 0 1-1V3H3Zm2.5-2h3v1h-3V1Z"})),pinalt:a.createElement(a.Fragment,null,a.createElement("path",{d:"M13.44 4.44 9.56.56a1.5 1.5 0 0 0-2.12 0L7 1a1.41 1.41 0 0 0 0 2L5 5H3.66A4 4 0 0 0 .83 6.17l-.48.48a.5.5 0 0 0 0 .7l2.8 2.8-3 3a.5.5 0 0 0 .7.7l3-3 2.8 2.8c.2.2.5.2.7 0l.48-.48A4 4 0 0 0 9 10.34V9l2-2c.55.55 1.45.55 2 0l.44-.44a1.5 1.5 0 0 0 0-2.12ZM11 5.59l-3 3v1.75a3 3 0 0 1-.88 2.12L7 12.6 1.41 7l.13-.12A3 3 0 0 1 3.66 6H5.4l3-3-.7-.7a.41.41 0 0 1 0-.6l.44-.43c.2-.2.5-.2.7 0l3.88 3.88c.2.2.2.5 0 .7l-.44.44a.41.41 0 0 1-.58 0L11 5.6Z"})),unpin:a.createElement(a.Fragment,null,a.createElement("path",{d:"M13.44 4.44 9.56.56a1.5 1.5 0 0 0-2.12 0L7 1a1.41 1.41 0 0 0 0 2L5.7 4.3l.71.7 2-2-.7-.7a.41.41 0 0 1 0-.6l.44-.43c.2-.2.5-.2.7 0l3.88 3.88c.2.2.2.5 0 .7l-.44.44a.41.41 0 0 1-.58 0L11 5.6l-2 2 .7.7L11 7c.55.55 1.45.55 2 0l.44-.44a1.5 1.5 0 0 0 0-2.12ZM.83 6.17A4 4 0 0 1 3.59 5l1 1h-.93a3 3 0 0 0-2.12.88L1.4 7 7 12.59l.12-.13A3 3 0 0 0 8 10.34v-.93l1 1a4 4 0 0 1-1.17 2.76l-.48.48a.5.5 0 0 1-.7 0l-2.8-2.8-3 3a.5.5 0 0 1-.7-.7l3-3-2.8-2.8a.5.5 0 0 1 0-.7l.48-.48Zm1.02-5.02a.5.5 0 1 0-.7.7l11 11a.5.5 0 0 0 .7-.7l-11-11Z"})),add:a.createElement(a.Fragment,null,a.createElement("path",{d:"M7 3c.28 0 .5.22.5.5v3h3a.5.5 0 0 1 0 1h-3v3a.5.5 0 0 1-1 0v-3h-3a.5.5 0 0 1 0-1h3v-3c0-.28.22-.5.5-.5Z"}),a.createElement("path",{fillRule:"evenodd",d:"M7 14A7 7 0 1 0 7 0a7 7 0 0 0 0 14Zm0-1A6 6 0 1 0 7 1a6 6 0 0 0 0 12Z"})),subtract:a.createElement(a.Fragment,null,a.createElement("path",{d:"M3.5 6.5a.5.5 0 0 0 0 1h7a.5.5 0 0 0 0-1h-7Z"}),a.createElement("path",{fillRule:"evenodd",d:"M14 7A7 7 0 1 1 0 7a7 7 0 0 1 14 0Zm-1 0A6 6 0 1 1 1 7a6 6 0 0 1 12 0Z"})),close:a.createElement(a.Fragment,null,a.createElement("path",{d:"M9.85 4.15c.2.2.2.5 0 .7L7.71 7l2.14 2.15a.5.5 0 0 1-.7.7L7 7.71 4.85 9.85a.5.5 0 0 1-.7-.7L6.29 7 4.15 4.85a.5.5 0 1 1 .7-.7L7 6.29l2.15-2.14c.2-.2.5-.2.7 0Z"}),a.createElement("path",{fillRule:"evenodd",d:"M7 14A7 7 0 1 0 7 0a7 7 0 0 0 0 14Zm0-1A6 6 0 1 0 7 1a6 6 0 0 0 0 12Z"})),delete:a.createElement(a.Fragment,null,a.createElement("path",{fillRule:"evenodd",d:"M14 7A7 7 0 1 1 0 7a7 7 0 0 1 14 0Zm-1 0a6 6 0 0 1-9.87 4.58l8.45-8.45A5.98 5.98 0 0 1 13 7ZM2.42 10.87l8.45-8.45a6 6 0 0 0-8.46 8.46Z"})),passed:a.createElement(a.Fragment,null,a.createElement("path",{d:"M7 14A7 7 0 1 0 7 0a7 7 0 0 0 0 14Zm3.85-9.35c.2.2.2.5 0 .7l-4.5 4.5a.5.5 0 0 1-.7 0l-2.5-2.5a.5.5 0 1 1 .7-.7L6 8.79l4.15-4.14c.2-.2.5-.2.7 0Z"})),changed:a.createElement(a.Fragment,null,a.createElement("path",{fillRule:"evenodd",d:"M7 14A7 7 0 1 0 7 0a7 7 0 0 0 0 14ZM3.5 6.5a.5.5 0 0 0 0 1h7a.5.5 0 0 0 0-1h-7Z"})),failed:a.createElement(a.Fragment,null,a.createElement("path",{d:"M7 14A7 7 0 1 0 7 0a7 7 0 0 0 0 14Zm2.85-9.85c.2.2.2.5 0 .7L7.71 7l2.14 2.15a.5.5 0 0 1-.7.7L7 7.71 4.85 9.85a.5.5 0 0 1-.7-.7L6.29 7 4.15 4.85a.5.5 0 1 1 .7-.7L7 6.29l2.15-2.14c.2-.2.5-.2.7 0Z"})),clear:a.createElement(a.Fragment,null,a.createElement("path",{fillRule:"evenodd",d:"M5 2h7a2 2 0 0 1 2 2v6a2 2 0 0 1-2 2H5a2 2 0 0 1-1.41-.59l-3-3a2 2 0 0 1 0-2.82l3-3A2 2 0 0 1 5 2Zm1.15 3.15c.2-.2.5-.2.7 0L8 6.29l1.15-1.14a.5.5 0 1 1 .7.7L8.71 7l1.14 1.15a.5.5 0 0 1-.7.7L8 7.71 6.85 8.85a.5.5 0 1 1-.7-.7L7.29 7 6.15 5.85a.5.5 0 0 1 0-.7Z"})),comment:a.createElement(a.Fragment,null,a.createElement("path",{d:"M3.5 5a.5.5 0 1 0 0 1h7a.5.5 0 0 0 0-1h-7ZM3 8.5c0-.27.22-.5.5-.5h7a.5.5 0 0 1 0 1h-7a.5.5 0 0 1-.5-.5Z"}),a.createElement("path",{fillRule:"evenodd",d:"M12.5 12H5.7l-1.85 1.86a.5.5 0 0 1-.35.14.5.5 0 0 1-.5-.5V12H1.5a.5.5 0 0 1-.5-.5v-9c0-.27.22-.5.5-.5h11c.28 0 .5.23.5.5v9a.5.5 0 0 1-.5.5ZM2 11V3h10v8H2Z"})),commentadd:a.createElement(a.Fragment,null,a.createElement("path",{d:"M7.5 5a.5.5 0 1 0-1 0v1.5H5a.5.5 0 1 0 0 1h1.5V9a.5.5 0 0 0 1 0V7.5H9a.5.5 0 0 0 0-1H7.5V5Z"}),a.createElement("path",{fillRule:"evenodd",d:"M3.7 13.97a.5.5 0 0 1-.7-.46V12H1.5a.5.5 0 0 1-.5-.5v-9c0-.28.22-.5.5-.5h11c.28 0 .5.22.5.5v9a.5.5 0 0 1-.5.5H5.7l-1.85 1.85a.5.5 0 0 1-.16.1ZM2 3v8h10V3H2Z"})),requestchange:a.createElement(a.Fragment,null,a.createElement("path",{d:"M9.85 6.65c.2.2.2.51 0 .7l-2 2a.5.5 0 1 1-.7-.7L8.3 7.5H4.5a.5.5 0 0 1 0-1h3.79L7.15 5.36a.5.5 0 1 1 .7-.71l2 2Z"}),a.createElement("path",{fillRule:"evenodd",d:"M3.7 13.97a.5.5 0 0 1-.7-.46V12H1.5a.5.5 0 0 1-.5-.5v-9c0-.28.22-.5.5-.5h11c.28 0 .5.22.5.5v9a.5.5 0 0 1-.5.5H5.7l-1.85 1.85a.5.5 0 0 1-.16.1ZM2 3v8h10V3H2Z"})),comments:a.createElement(a.Fragment,null,a.createElement("path",{d:"M8.5 7a.5.5 0 0 0 0-1h-5a.5.5 0 1 0 0 1h5ZM9 8.5a.5.5 0 0 1-.5.5h-5a.5.5 0 0 1 0-1h5c.28 0 .5.23.5.5Z"}),a.createElement("path",{fillRule:"evenodd",d:"M12 11.5V10h1.5a.5.5 0 0 0 .5-.5v-8a.5.5 0 0 0-.5-.5h-11a.5.5 0 0 0-.5.5V3H.5a.5.5 0 0 0-.5.5v8c0 .28.22.5.5.5H2v1.5a.5.5 0 0 0 .5.5.5.5 0 0 0 .35-.14L4.71 12h6.79a.5.5 0 0 0 .5-.5ZM3 3V2h10v7h-1V3.5a.5.5 0 0 0-.5-.5H3Zm-2 8V4h10v7H1Z"})),lock:a.createElement(a.Fragment,null,a.createElement("path",{d:"M8 8a1 1 0 0 1-.5.87v1.63a.5.5 0 0 1-1 0V8.87A1 1 0 1 1 8 8Z"}),a.createElement("path",{fillRule:"evenodd",d:"M3 4a4 4 0 1 1 8 0v1h1.5c.28 0 .5.23.5.5v8a.5.5 0 0 1-.5.5h-11a.5.5 0 0 1-.5-.5v-8c0-.27.22-.5.5-.5H3V4Zm7 1V4a3 3 0 1 0-6 0v1h6Zm2 1H2v7h10V6Z"})),unlock:a.createElement(a.Fragment,null,a.createElement("path",{d:"M6.5 8.87a1 1 0 1 1 1 0v1.63a.5.5 0 0 1-1 0V8.87Z"}),a.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 1a3 3 0 0 0-3 3v1h8.5c.28 0 .5.23.5.5v8a.5.5 0 0 1-.5.5h-11a.5.5 0 0 1-.5-.5v-8c0-.27.22-.5.5-.5H3V4a4 4 0 0 1 7.76-1.38.5.5 0 0 1-.94.34A3 3 0 0 0 7 1ZM2 6h10v7H2V6Z"})),key:a.createElement(a.Fragment,null,a.createElement("path",{d:"M11 4a1 1 0 1 1-2 0 1 1 0 0 1 2 0Z"}),a.createElement("path",{fillRule:"evenodd",d:"M7.5 8.53v.97a.5.5 0 0 1-.5.5H5.5v1.5a.5.5 0 0 1-.5.5H3.5v1.5a.5.5 0 0 1-.5.5H.5a.5.5 0 0 1-.5-.5v-2a.5.5 0 0 1 .15-.36l5.12-5.11a4.5 4.5 0 1 1 2.23 2.5ZM6 4.5a3.5 3.5 0 1 1 1.5 2.87c-.29-.2-1-.37-1 .48V9H5a.5.5 0 0 0-.5.5V11H3a.5.5 0 0 0-.5.5V13H1v-1.3l5.2-5.19c.15-.16.18-.4.1-.6A3.47 3.47 0 0 1 6 4.5Z"})),outbox:a.createElement(a.Fragment,null,a.createElement("path",{d:"M7.35.15a.5.5 0 0 0-.7 0l-2 2a.5.5 0 1 0 .7.7L6.5 1.72v6.8a.5.5 0 0 0 1 0V1.7l1.15 1.15a.5.5 0 1 0 .7-.71l-2-2Z"}),a.createElement("path",{d:"M2 7.5a.5.5 0 1 0-1 0v5c0 .28.22.5.5.5h11a.5.5 0 0 0 .5-.5v-5a.5.5 0 0 0-1 0V12H2V7.5Z"})),credit:a.createElement(a.Fragment,null,a.createElement("path",{d:"M2.5 8a.5.5 0 1 0 0 1h3a.5.5 0 0 0 0-1h-3Z"}),a.createElement("path",{fillRule:"evenodd",d:"M0 11.5c0 .28.22.5.5.5h13a.5.5 0 0 0 .5-.5v-9a.5.5 0 0 0-.5-.5H.5a.5.5 0 0 0-.5.5v9ZM1 3v1h12V3H1Zm0 8h12V6H1v5Z"})),button:a.createElement(a.Fragment,null,a.createElement("path",{d:"M1 3a1 1 0 0 0-1 1v5a1 1 0 0 0 1 1h3.5a.5.5 0 1 0 0-1H1V4h12v5h-1a.5.5 0 0 0 0 1h1a1 1 0 0 0 1-1V4a1 1 0 0 0-1-1H1Z"}),a.createElement("path",{d:"M6.45 7a.5.5 0 0 1 .3.08l3.48 2.02a.5.5 0 0 1 0 .87l-1.08.62.75 1.3a.75.75 0 0 1-1.3.75l-.75-1.3-1.07.62a.5.5 0 0 1-.67-.13.5.5 0 0 1-.1-.3L6 7.5a.5.5 0 0 1 .45-.5Z"})),type:a.createElement(a.Fragment,null,a.createElement("path",{d:"M4 1.5c0-.27.22-.5.5-.5h5a.5.5 0 1 1 0 1h-2v10h2a.5.5 0 0 1 0 1h-5a.5.5 0 0 1 0-1h2V2h-2a.5.5 0 0 1-.5-.5Z"}),a.createElement("path",{d:"M0 4.5c0-.27.22-.5.5-.5h4a.5.5 0 1 1 0 1H1v4h3.5a.5.5 0 1 1 0 1h-4a.5.5 0 0 1-.5-.5v-5ZM9.5 4a.5.5 0 1 0 0 1H13v4H9.5a.5.5 0 1 0 0 1h4a.5.5 0 0 0 .5-.5v-5a.5.5 0 0 0-.5-.5h-4Z"})),pointerdefault:a.createElement(a.Fragment,null,a.createElement("path",{d:"M5.94 12.46c.11 0 .2-.06.25-.15l1.58-3.16 2.54 2.54c.04.05.1.07.19.07a.3.3 0 0 0 .2-.07l.8-.8a.27.27 0 0 0 0-.38L8.9 7.9l3.4-1.7c.06-.03.1-.07.12-.11a.22.22 0 0 0 .04-.14.33.33 0 0 0-.06-.16.17.17 0 0 0-.09-.07h-.02L1.91 1.55a.27.27 0 0 0-.35.36l4.15 10.37c.04.09.12.16.23.17Zm-.03 1h-.02a1.28 1.28 0 0 1-1.1-.8L.62 2.29A1.27 1.27 0 0 1 2.3.63l10.35 4.15c.52.18.79.65.81 1.11.04.53-.27.98-.7 1.2l-2.17 1.08L12.2 9.8c.5.5.5 1.3 0 1.8l-.8.8v.01c-.5.46-1.3.48-1.8-.01l-1.56-1.56-.95 1.92c-.23.45-.68.7-1.15.7h-.03Z"})),pointerhand:a.createElement(a.Fragment,null,a.createElement("path",{d:"M11.87 6v-.02c-.03-.27-.23-.48-.47-.5a.5.5 0 0 0-.53.5v1.41c0 .25-.22.47-.47.47a.48.48 0 0 1-.47-.47V5.17a.6.6 0 0 0 0-.05c-.02-.27-.23-.5-.47-.5a.5.5 0 0 0-.52.5v1.65l-.01.1a.49.49 0 0 1-.46.37.48.48 0 0 1-.47-.47V4.62a.6.6 0 0 0 0-.05c-.03-.27-.23-.48-.47-.5a.5.5 0 0 0-.53.5v2.2c0 .25-.22.47-.47.47a.49.49 0 0 1-.47-.47V1.75c-.02-.27-.22-.5-.47-.5a.5.5 0 0 0-.52.5v6.78c0 .25-.22.47-.47.47a.48.48 0 0 1-.47-.47v-.26a.78.78 0 0 0-.06-.31.65.65 0 0 0-.16-.22l-.2-.19A6.37 6.37 0 0 0 3.06 7h-.02c-.43-.34-.62-.25-.69-.2-.26.14-.29.5-.13.74l1.73 2.6v.01h-.01l-.04.02.05-.02s1.21 2.6 3.57 2.6c3.54 0 4.2-1.9 4.31-4.42.04-.6.04-1.19.03-1.78V6Zm.97 2.38c-.06 1.29-.26 2.67-1.08 3.72-.88 1.12-2.29 1.65-4.23 1.65a4.64 4.64 0 0 1-3.4-1.62 6.96 6.96 0 0 1-1.05-1.5v-.02L1.4 8.1A1.6 1.6 0 0 1 1.15 7c.05-.38.26-.8.69-1.04.2-.13.48-.23.85-.19.36.05.68.22.98.45.14.1.27.22.4.33v-4.8A1.5 1.5 0 0 1 5.63.25c.93.04 1.43.86 1.43 1.55v1.33c.17-.05.35-.07.53-.06h.02c.5.04.91.33 1.15.71a1.5 1.5 0 0 1 .74-.16c.66.03 1.12.46 1.32.97a1.5 1.5 0 0 1 .64-.1h.02c.85.06 1.39.8 1.39 1.55v.48c0 .6 0 1.24-.03 1.86Z"})),browser:a.createElement(a.Fragment,null,a.createElement("path",{fillRule:"evenodd",d:"M.5 13a.5.5 0 0 1-.5-.5v-11c0-.27.22-.5.5-.5h13c.28 0 .5.23.5.5v11a.5.5 0 0 1-.5.5H.5Zm.5-1V4h12v8H1Zm1-9.5a.5.5 0 1 1-1 0 .5.5 0 0 1 1 0Zm2 0a.5.5 0 1 1-1 0 .5.5 0 0 1 1 0Zm2 0a.5.5 0 1 1-1 0 .5.5 0 0 1 1 0Z"})),tablet:a.createElement(a.Fragment,null,a.createElement("path",{fillRule:"evenodd",d:"M3.5 0C2.67 0 2 .68 2 1.5v11c0 .83.67 1.5 1.5 1.5h7c.83 0 1.5-.67 1.5-1.5v-11c0-.82-.67-1.5-1.5-1.5h-7Zm0 1h7c.28 0 .5.23.5.5V11H3V1.5c0-.27.22-.5.5-.5ZM6 12a.5.5 0 0 0 0 1h2a.5.5 0 0 0 0-1H6Z"})),mobile:a.createElement(a.Fragment,null,a.createElement("path",{fillRule:"evenodd",d:"M3 1.5C3 .68 3.67 0 4.5 0h5c.83 0 1.5.68 1.5 1.5v11c0 .83-.67 1.5-1.5 1.5h-5A1.5 1.5 0 0 1 3 12.5v-11ZM4 12V2h6v10H4Z"})),watch:a.createElement(a.Fragment,null,a.createElement("path",{key:"watch",fillRule:"evenodd",d:"M4 .5c0-.27.22-.5.5-.5h5a.5.5 0 0 1 0 1h-5A.5.5 0 0 1 4 .5ZM9.5 3h-5a.5.5 0 0 0-.5.5v7c0 .28.22.5.5.5h5a.5.5 0 0 0 .5-.5v-7a.5.5 0 0 0-.5-.5Zm-5-1C3.67 2 3 2.68 3 3.5v7c0 .83.67 1.5 1.5 1.5h5c.83 0 1.5-.67 1.5-1.5v-7c0-.82-.67-1.5-1.5-1.5h-5ZM7 4c.28 0 .5.23.5.5v2h1a.5.5 0 1 1 0 1H7a.5.5 0 0 1-.5-.5V4.5c0-.27.22-.5.5-.5Zm-2.5 9a.5.5 0 0 0 0 1h5a.5.5 0 0 0 0-1h-5Z"})),sidebar:a.createElement(a.Fragment,null,a.createElement("path",{d:"M2.5 4.5c0-.27.22-.5.5-.5h1a.5.5 0 1 1 0 1H3a.5.5 0 0 1-.5-.5ZM3 6a.5.5 0 1 0 0 1h1a.5.5 0 0 0 0-1H3Zm-.5 2.5c0-.27.22-.5.5-.5h1a.5.5 0 1 1 0 1H3a.5.5 0 0 1-.5-.5Z"}),a.createElement("path",{fillRule:"evenodd",d:"M1.5 13a.5.5 0 0 1-.5-.5v-11c0-.27.22-.5.5-.5h11c.28 0 .5.23.5.5v11a.5.5 0 0 1-.5.5h-11Zm.5-1V2h3v10H2ZM6 2h6v10H6V2Z"})),sidebaralt:a.createElement(a.Fragment,null,a.createElement("path",{d:"M9.5 4.5c0-.27.22-.5.5-.5h1a.5.5 0 0 1 0 1h-1a.5.5 0 0 1-.5-.5ZM10 6a.5.5 0 1 0 0 1h1a.5.5 0 0 0 0-1h-1Zm-.5 2.5c0-.27.22-.5.5-.5h1a.5.5 0 0 1 0 1h-1a.5.5 0 0 1-.5-.5Z"}),a.createElement("path",{fillRule:"evenodd",d:"M1.5 13a.5.5 0 0 1-.5-.5v-11c0-.27.22-.5.5-.5h11c.28 0 .5.23.5.5v11a.5.5 0 0 1-.5.5h-11Zm.5-1V2h6v10H2ZM9 2h3v10H9V2Z"})),sidebaralttoggle:a.createElement(a.Fragment,null,a.createElement("path",{d:"M11.5 4.5A.5.5 0 0 0 11 4h-1a.5.5 0 1 0 0 1h1a.5.5 0 0 0 .5-.5ZM11 6a.5.5 0 0 1 0 1h-1a.5.5 0 0 1 0-1h1Zm.5 2.5A.5.5 0 0 0 11 8h-1a.5.5 0 1 0 0 1h1a.5.5 0 0 0 .5-.5Z"}),a.createElement("path",{fillRule:"evenodd",d:"M1.5 13a.5.5 0 0 1-.5-.5v-11c0-.27.22-.5.5-.5h11c.28 0 .5.23.5.5v11a.5.5 0 0 1-.5.5h-11ZM9 12h3V2H9v10Zm-1 0H2V2h6v4.5H5.2l.66-.65a.5.5 0 1 0-.71-.7l-1.5 1.5a.5.5 0 0 0 0 .7l1.5 1.5a.5.5 0 1 0 .7-.7l-.64-.65H8V12Z"})),sidebartoggle:a.createElement(a.Fragment,null,a.createElement("path",{d:"M2.5 4.5c0-.27.22-.5.5-.5h1a.5.5 0 1 1 0 1H3a.5.5 0 0 1-.5-.5ZM3 6a.5.5 0 1 0 0 1h1a.5.5 0 0 0 0-1H3Zm-.5 2.5c0-.27.22-.5.5-.5h1a.5.5 0 1 1 0 1H3a.5.5 0 0 1-.5-.5Z"}),a.createElement("path",{fillRule:"evenodd",d:"M1.5 13a.5.5 0 0 1-.5-.5v-11c0-.27.22-.5.5-.5h11c.28 0 .5.23.5.5v11a.5.5 0 0 1-.5.5h-11Zm.5-1V2h3v10H2Zm4 0V7.5h2.8l-.65.65a.5.5 0 1 0 .7.7l1.5-1.5a.5.5 0 0 0 0-.7l-1.5-1.5a.5.5 0 1 0-.7.7l.64.65H6V2h6v10H6Z"})),bottombar:a.createElement(a.Fragment,null,a.createElement("path",{d:"M3 10.5c0-.27.22-.5.5-.5h1a.5.5 0 0 1 0 1h-1a.5.5 0 0 1-.5-.5Zm3.5-.5a.5.5 0 0 0 0 1h1a.5.5 0 0 0 0-1h-1Zm2.5.5c0-.27.22-.5.5-.5h1a.5.5 0 0 1 0 1h-1a.5.5 0 0 1-.5-.5Z"}),a.createElement("path",{fillRule:"evenodd",d:"M1 1.5c0-.27.22-.5.5-.5h11c.28 0 .5.23.5.5v11a.5.5 0 0 1-.5.5h-11a.5.5 0 0 1-.5-.5v-11ZM2 8V2h10v6H2Zm10 1v3H2V9h10Z"})),bottombartoggle:a.createElement(a.Fragment,null,a.createElement("path",{d:"M3.5 10a.5.5 0 0 0 0 1h1a.5.5 0 0 0 0-1h-1Zm2.5.5c0-.27.22-.5.5-.5h1a.5.5 0 0 1 0 1h-1a.5.5 0 0 1-.5-.5Zm3.5-.5a.5.5 0 0 0 0 1h1a.5.5 0 0 0 0-1h-1Z"}),a.createElement("path",{fillRule:"evenodd",d:"M1 12.5v-11c0-.27.22-.5.5-.5h11c.28 0 .5.23.5.5v11a.5.5 0 0 1-.5.5h-11a.5.5 0 0 1-.5-.5Zm1-.5V9h10v3H2Zm4.5-4H2V2h10v6H7.5V5.21l.65.65a.5.5 0 1 0 .7-.71l-1.5-1.5a.5.5 0 0 0-.7 0l-1.5 1.5a.5.5 0 1 0 .7.7l.65-.64v2.8Z"})),cpu:a.createElement(a.Fragment,null,a.createElement("path",{fillRule:"evenodd",d:"M5 5.5c0-.27.22-.5.5-.5h3c.28 0 .5.23.5.5v3a.5.5 0 0 1-.5.5h-3a.5.5 0 0 1-.5-.5v-3ZM6 8V6h2v2H6Z"}),a.createElement("path",{fillRule:"evenodd",d:"M5.5 0c.28 0 .5.23.5.5V2h2V.5a.5.5 0 0 1 1 0V2h2.5c.28 0 .5.23.5.5V5h1.5a.5.5 0 0 1 0 1H12v2h1.5a.5.5 0 0 1 0 1H12v2.5a.5.5 0 0 1-.5.5H9v1.5a.5.5 0 0 1-1 0V12H6v1.5a.5.5 0 0 1-1 0V12H2.5a.5.5 0 0 1-.5-.5V9H.5a.5.5 0 0 1 0-1H2V6H.5a.5.5 0 0 1 0-1H2V2.5c0-.27.22-.5.5-.5H5V.5c0-.27.22-.5.5-.5ZM11 3H3v8h8V3Z"})),database:a.createElement(a.Fragment,null,a.createElement("path",{fillRule:"evenodd",d:"M12 3c0-1.1-2.24-2-5-2s-5 .9-5 2v8c0 .43.26.75.54.98.3.23.68.41 1.12.55.88.3 2.06.47 3.34.47 1.28 0 2.46-.17 3.34-.46.44-.15.83-.33 1.12-.56.28-.23.54-.55.54-.98V3Zm-1.03 0a2.45 2.45 0 0 0-.8-.49A8.88 8.88 0 0 0 7 2c-1.29 0-2.4.21-3.16.51a2.45 2.45 0 0 0-.81.49l.05.05c.13.13.37.28.76.44C4.6 3.79 5.7 4 7 4s2.4-.21 3.16-.51a2.45 2.45 0 0 0 .81-.49ZM11 5.75V4.2A8.9 8.9 0 0 1 7 5a8.98 8.98 0 0 1-4-.8v1.55l.02.04c.02.04.06.09.14.15.17.13.44.27.82.4A10 10 0 0 0 7 6.75a10 10 0 0 0 3.02-.41c.38-.13.65-.27.82-.4a.62.62 0 0 0 .14-.15.15.15 0 0 0 .02-.03v-.01ZM3 7.01c.2.1.42.2.66.28.88.29 2.06.46 3.34.46 1.28 0 2.46-.17 3.34-.46.24-.08.46-.17.66-.28V8.5l-.02.04a.62.62 0 0 1-.14.15c-.17.13-.44.27-.82.4A10 10 0 0 1 7 9.5a10 10 0 0 1-3.02-.41 2.76 2.76 0 0 1-.82-.4.62.62 0 0 1-.14-.15.15.15 0 0 1-.02-.03V7Zm0 2.75V11l.02.04c.02.04.06.09.14.15.17.13.44.27.82.4A10 10 0 0 0 7 12a10 10 0 0 0 3.02-.41c.38-.13.65-.27.82-.4a.62.62 0 0 0 .14-.15.15.15 0 0 0 .02-.03V9.76c-.2.1-.42.2-.66.28-.88.29-2.06.46-3.34.46-1.28 0-2.46-.17-3.34-.46A4.77 4.77 0 0 1 3 9.76Z"})),memory:a.createElement(a.Fragment,null,a.createElement("path",{d:"M5 3a.5.5 0 0 0-1 0v3a.5.5 0 0 0 1 0V3Zm2-.5c.28 0 .5.22.5.5v3a.5.5 0 0 1-1 0V3c0-.28.22-.5.5-.5Zm3 2a.5.5 0 1 0-1 0V6a.5.5 0 0 0 1 0V4.5Z"}),a.createElement("path",{fillRule:"evenodd",d:"M12 3.54a.5.5 0 0 0-.15-.39l-3-3a.5.5 0 0 0-.38-.14H2.5a.5.5 0 0 0-.5.5v13c0 .27.22.5.5.5h9a.5.5 0 0 0 .5-.5V3.53ZM3 1h5.3L11 3.71v5.3H3V1Zm0 9v3h8v-3H3Z"})),structure:a.createElement(a.Fragment,null,a.createElement("path",{d:"M8.16 3.45a1.5 1.5 0 1 0-2.33 0l-4.02 6.58A1.5 1.5 0 1 0 2.91 12h8.18a1.5 1.5 0 1 0 1.1-1.97L8.16 3.45Zm-1.47.52a1.5 1.5 0 0 0 .62 0l4.03 6.58c-.11.14-.2.29-.25.45H2.9a1.5 1.5 0 0 0-.25-.45L6.7 3.97Z"})),box:a.createElement(a.Fragment,null,a.createElement("path",{fillRule:"evenodd",d:"m7.21.05 6.49 2.99a.5.5 0 0 1 .3.47v6.98a.5.5 0 0 1-.3.47l-6.47 2.98a.5.5 0 0 1-.46 0L.3 10.96a.5.5 0 0 1-.3-.47V3.5a.5.5 0 0 1 .3-.47L6.79.05a.5.5 0 0 1 .43 0ZM1 4.28v5.9l5.5 2.54v-5.9L1 4.28Zm6.5 8.44 5.5-2.54v-5.9L7.5 6.82v5.9Zm4.8-9.22L7 5.95 1.7 3.5 7 1.05l5.3 2.45Z"})),power:a.createElement(a.Fragment,null,a.createElement("path",{d:"M7.5.5a.5.5 0 0 0-1 0v6a.5.5 0 0 0 1 0v-6Z"}),a.createElement("path",{d:"M4.27 2.8a.5.5 0 0 0-.54-.83 6 6 0 1 0 6.54 0 .5.5 0 0 0-.54.84 5 5 0 1 1-5.46 0Z"})),photo:a.createElement(a.Fragment,null,a.createElement("path",{fillRule:"evenodd",d:"M6.25 4.25a1.25 1.25 0 1 1-2.5 0 1.25 1.25 0 0 1 2.5 0Zm-.5 0a.75.75 0 1 1-1.5 0 .75.75 0 0 1 1.5 0Z"}),a.createElement("path",{fillRule:"evenodd",d:"M13 1.5v11a.5.5 0 0 1-.5.5h-11a.5.5 0 0 1-.5-.5v-11c0-.27.22-.5.5-.5h11c.28 0 .5.23.5.5ZM2 9.3V2h10v5.3L9.85 5.15a.5.5 0 0 0-.7 0L6.5 7.8 5.35 6.65a.5.5 0 0 0-.7 0L2 9.3Zm7.5-3.1L12 8.7V12H2v-1.3l3-3 3.15 3.15a.5.5 0 0 0 .7-.71L7.21 8.5 9.5 6.21Z"})),component:a.createElement(a.Fragment,null,a.createElement("path",{fillRule:"evenodd",d:"M3.5 1A2.5 2.5 0 0 0 1 3.5v7A2.5 2.5 0 0 0 3.5 13h7a2.5 2.5 0 0 0 2.5-2.5v-7A2.5 2.5 0 0 0 10.5 1h-7ZM12 6.5H7.5V2h3c.83 0 1.5.68 1.5 1.5v3Zm0 1v3c0 .83-.67 1.5-1.5 1.5h-3V7.5H12ZM6.5 12V7.5H2v3c0 .83.67 1.5 1.5 1.5h3ZM2 6.5h4.5V2h-3C2.67 2 2 2.68 2 3.5v3Z"})),grid:a.createElement(a.Fragment,null,a.createElement("path",{fillRule:"evenodd",d:"M1 1.5c0-.27.22-.5.5-.5H6c.28 0 .5.23.5.5V6a.5.5 0 0 1-.5.5H1.5A.5.5 0 0 1 1 6V1.5Zm1 4V2h3.5v3.5H2Zm5.5-4c0-.27.22-.5.5-.5h4.5c.28 0 .5.23.5.5V6a.5.5 0 0 1-.5.5H8a.5.5 0 0 1-.5-.5V1.5Zm1 4V2H12v3.5H8.5Zm-7 2A.5.5 0 0 0 1 8v4.5c0 .28.22.5.5.5H6a.5.5 0 0 0 .5-.5V8a.5.5 0 0 0-.5-.5H1.5Zm.5 1V12h3.5V8.5H2ZM7.5 8c0-.27.22-.5.5-.5h4.5c.28 0 .5.23.5.5v4.5a.5.5 0 0 1-.5.5H8a.5.5 0 0 1-.5-.5V8Zm1 4V8.5H12V12H8.5Z"})),outline:a.createElement(a.Fragment,null,a.createElement("path",{d:"M2 2v2H1V1.5c0-.27.22-.5.5-.5H4v1H2ZM1 9V5h1v4H1Zm0 1v2.5c0 .28.22.5.5.5H4v-1H2v-2H1Zm9 3h2.5a.5.5 0 0 0 .5-.5V10h-1v2h-2v1Zm2-9h1V1.5a.5.5 0 0 0-.5-.5H10v1h2v2Zm-3 8v1H5v-1h4ZM9 1v1H5V1h4Zm4 8h-1V5h1v4ZM7 8a1 1 0 1 0 0-2 1 1 0 0 0 0 2Z"})),photodrag:a.createElement(a.Fragment,null,a.createElement("path",{fillRule:"evenodd",d:"M8.25 3.25a1.25 1.25 0 1 1-2.5 0 1.25 1.25 0 0 1 2.5 0Zm-.5 0a.75.75 0 1 1-1.5 0 .75.75 0 0 1 1.5 0Z"}),a.createElement("path",{fillRule:"evenodd",d:"M14 7V.5a.5.5 0 0 0-.5-.5h-10a.5.5 0 0 0-.5.5V3H.5a.5.5 0 0 0-.5.5V6h1V4h2v6.5c0 .28.22.5.5.5H10v2H8v1h2.5a.5.5 0 0 0 .5-.5V11h2.5a.5.5 0 0 0 .5-.5V7ZM4 1v5.8l1.65-1.65c.2-.2.5-.2.7 0L7.5 6.3l2.65-2.65c.2-.2.5-.2.7 0L13 5.8V1H4Zm9 6.21-2.5-2.5-2.3 2.3 1.15 1.14a.5.5 0 1 1-.7.7L6 6.22l-2 2v1.8h9V7.2Z"}),a.createElement("path",{d:"M0 10V7h1v3H0Zm0 3.5V11h1v2h2v1H.5a.5.5 0 0 1-.5-.5Zm7 .5H4v-1h3v1Z"})),search:a.createElement(a.Fragment,null,a.createElement("path",{fillRule:"evenodd",d:"M9.54 10.2a5.5 5.5 0 1 1 .66-.66c.06.03.11.06.15.1l3 3a.5.5 0 0 1-.7.71l-3-3a.5.5 0 0 1-.1-.14ZM10.5 6a4.5 4.5 0 1 1-9 0 4.5 4.5 0 0 1 9 0Z"})),zoom:a.createElement(a.Fragment,null,a.createElement("path",{d:"M6 3.5c.28 0 .5.22.5.5v1.5H8a.5.5 0 0 1 0 1H6.5V8a.5.5 0 0 1-1 0V6.5H4a.5.5 0 0 1 0-1h1.5V4c0-.28.22-.5.5-.5Z"}),a.createElement("path",{fillRule:"evenodd",d:"M9.54 10.2a5.5 5.5 0 1 1 .66-.66c.06.03.11.06.15.1l3 3a.5.5 0 0 1-.7.71l-3-3a.5.5 0 0 1-.1-.14ZM10.5 6a4.5 4.5 0 1 1-9 0 4.5 4.5 0 0 1 9 0Z"})),zoomout:a.createElement(a.Fragment,null,a.createElement("path",{d:"M4 5.5a.5.5 0 0 0 0 1h4a.5.5 0 0 0 0-1H4Z"}),a.createElement("path",{fillRule:"evenodd",d:"M6 11.5c1.35 0 2.59-.49 3.54-1.3.03.06.06.11.1.15l3 3a.5.5 0 0 0 .71-.7l-3-3a.5.5 0 0 0-.14-.1A5.5 5.5 0 1 0 6 11.5Zm0-1a4.5 4.5 0 1 0 0-9 4.5 4.5 0 0 0 0 9Z"})),zoomreset:a.createElement(a.Fragment,null,a.createElement("path",{d:"M1.5 2.84V1.5a.5.5 0 0 0-1 0V4c0 .28.22.5.5.5h2.5a.5.5 0 0 0 0-1H2.26a4.5 4.5 0 1 1-.5 4.02.5.5 0 1 0-.94.33 5.5 5.5 0 0 0 8.72 2.36l.1.14 3 3a.5.5 0 0 0 .71-.7l-3-3a.5.5 0 0 0-.14-.1 5.5 5.5 0 1 0-8.7-6.7Z"})),eye:a.createElement(a.Fragment,null,a.createElement("path",{d:"M7 9.5a2.5 2.5 0 1 0 0-5 2.5 2.5 0 0 0 0 5Z"}),a.createElement("path",{fillRule:"evenodd",d:"m14 7-.2.3c-.13.16-3.06 4.2-6.8 4.2C3.26 11.5.33 7.46.2 7.3L0 7l.2-.3C.34 6.55 3.27 2.5 7 2.5c3.74 0 6.67 4.04 6.8 4.2l.2.3ZM2.9 5.3A13 13 0 0 0 1.24 7 13 13 0 0 0 2.9 8.7c1.14.97 2.58 1.8 4.1 1.8 1.52 0 2.96-.83 4.1-1.8A13 13 0 0 0 12.76 7a13 13 0 0 0-1.66-1.7C9.96 4.33 8.52 3.5 7 3.5c-1.52 0-2.96.83-4.1 1.8Z"})),eyeclose:a.createElement(a.Fragment,null,a.createElement("path",{d:"M1.85 1.15a.5.5 0 1 0-.7.7l11 11a.5.5 0 0 0 .7-.7l-11-11ZM11.1 8.7c-.17.15-.36.3-.55.44l.72.71a13.25 13.25 0 0 0 2.52-2.56L14 7l-.2-.3c-.13-.16-3.06-4.2-6.8-4.2-.89 0-1.73.23-2.5.58l.76.76A4.86 4.86 0 0 1 7 3.5c1.52 0 2.96.83 4.1 1.8A13 13 0 0 1 12.76 7a13 13 0 0 1-1.66 1.7ZM.2 6.7c.08-.09 1.04-1.41 2.53-2.55l.72.71c-.2.14-.38.3-.55.44A13 13 0 0 0 1.24 7 13 13 0 0 0 2.9 8.7c1.14.97 2.58 1.8 4.1 1.8.6 0 1.18-.13 1.74-.34l.77.76c-.78.35-1.62.58-2.51.58C3.26 11.5.33 7.46.2 7.3L0 7l.2-.3Z"}),a.createElement("path",{d:"M4.5 7c0-.32.06-.63.17-.91l3.24 3.24A2.5 2.5 0 0 1 4.5 7Zm4.83.91L6.09 4.67a2.5 2.5 0 0 1 3.24 3.24Z"})),lightning:a.createElement(a.Fragment,null,a.createElement("path",{fillRule:"evenodd",d:"M2.52 6.6a.57.57 0 0 0-.17.54c.04.2.19.37.38.41l2.78.73-1.5 5c-.06.24.02.5.22.63a.5.5 0 0 0 .28.09.5.5 0 0 0 .35-.14L11.5 7.4c.14-.13.2-.34.15-.54a.53.53 0 0 0-.38-.4l-2.7-.7L10.79.78c.1-.23.04-.5-.15-.66a.5.5 0 0 0-.65 0L2.52 6.6Zm7.72.63-3.07-.8 1.85-4.14-5.2 4.51 2.94.77-1.27 4.28 4.75-4.62Zm-5.73 6.2.04.02Z"})),lightningoff:a.createElement(a.Fragment,null,a.createElement("path",{d:"M10.14 8.72 11.5 7.4c.14-.13.2-.34.15-.54a.53.53 0 0 0-.38-.4l-2.7-.7L10.79.78c.1-.23.04-.5-.15-.66a.5.5 0 0 0-.65 0L5.46 4.05l.71.7L9.02 2.3 7.38 5.97l.7.7 2.16.56-.8.79.7.7ZM2.52 6.6a.57.57 0 0 0-.17.54c.04.2.19.37.38.41l2.78.73-1.5 5c-.06.24.02.5.22.63a.5.5 0 0 0 .63-.05l3.84-3.74-.7-.7-2.51 2.43 1.13-3.81-.68-.69L3.8 6.8l.85-.73-.71-.7L2.52 6.6Zm-.67-5.45a.5.5 0 1 0-.7.7l11 11a.5.5 0 0 0 .7-.7l-11-11Z"})),contrast:a.createElement(a.Fragment,null,a.createElement("path",{fillRule:"evenodd",d:"M3 3H.5a.5.5 0 0 0-.5.5v10c0 .28.22.5.5.5h10a.5.5 0 0 0 .5-.5V11h2.5a.5.5 0 0 0 .5-.5V.5a.5.5 0 0 0-.5-.5h-10a.5.5 0 0 0-.5.5V3Zm1 1v2.3L6.3 4H4ZM3 4v6.5a.5.5 0 0 0 .5.5H10v2H1V4h2Zm1-1h6.5a.5.5 0 0 1 .5.5V10h2V1H4v2Zm6 7V7.71l-2.3 2.3H10Zm0-3.7V4.7L4.7 10h1.6L10 6.3ZM9.3 4H7.7L4 7.71V9.3L9.3 4Z"})),switchalt:a.createElement(a.Fragment,null,a.createElement("path",{fillRule:"evenodd",d:"M3 3V.5c0-.27.22-.5.5-.5h10c.28 0 .5.23.5.5v10a.5.5 0 0 1-.5.5H11v2.5a.5.5 0 0 1-.5.5H.5a.5.5 0 0 1-.5-.5v-10c0-.27.22-.5.5-.5H3Zm1 0V1h9v9h-2V3.5a.5.5 0 0 0-.5-.5H4Zm6 8v2H1V4h2v6.5c0 .28.22.5.5.5H10Zm0-1H4V4h6v6Z"})),mirror:a.createElement(a.Fragment,null,a.createElement("path",{d:"M1 1.5c0-.27.22-.5.5-.5h11c.28 0 .5.23.5.5v11a.5.5 0 0 1-.5.5h-11a.5.5 0 0 1-.5-.5v-11ZM2 12h10V2L2 12Z"})),grow:a.createElement(a.Fragment,null,a.createElement("path",{d:"M1.5 1a.5.5 0 1 0 0 1H12v10.5a.5.5 0 0 0 1 0V2a1 1 0 0 0-1-1H1.5Z"}),a.createElement("path",{d:"M1 3.5c0-.27.22-.5.5-.5H10a1 1 0 0 1 1 1v8.5a.5.5 0 0 1-1 0V4H1.5a.5.5 0 0 1-.5-.5Z"}),a.createElement("path",{fillRule:"evenodd",d:"M1.5 5a.5.5 0 0 0-.5.5v7c0 .28.22.5.5.5h7a.5.5 0 0 0 .5-.5v-7a.5.5 0 0 0-.5-.5h-7ZM2 6v6h6V6H2Z"})),paintbrush:a.createElement(a.Fragment,null,a.createElement("path",{fillRule:"evenodd",d:"M11.8535.1464a.5.5 0 0 0-.7071 0L2.9827 8.3102a2.2396 2.2396 0 0 0-1.0737.599C.6772 10.141.2402 11.903.0852 12.9978 0 13.5998 0 14.0002 0 14.0002s.4004 0 1.0023-.0853c1.095-.155 2.8569-.5919 4.0887-1.8237.307-.307.5067-.6806.5992-1.0743l8.1633-8.1633a.5.5 0 0 0 0-.7071l-2-2Zm-6.253 9.546L6.543 8.75l-1.293-1.2929-.9424.9424a2.242 2.242 0 0 1 .7835.5097c.23.2302.4.4977.5095.7831ZM7.25 8.0428 12.7929 2.5 11.5 1.2071 5.957 6.75 7.25 8.0429ZM4.3839 9.6163c.4881.4882.4881 1.2796 0 1.7678-.7665.7664-1.832 1.1845-2.7791 1.403a8.6972 8.6972 0 0 1-.49.0982 8.7151 8.7151 0 0 1 .0982-.4899c.2186-.9471.6367-2.0126 1.403-2.779.4882-.4882 1.2797-.4882 1.7679 0Z"})),ruler:a.createElement(a.Fragment,null,a.createElement("path",{d:"M1.5 1c.28 0 .5.23.5.5V2h10v-.5a.5.5 0 0 1 1 0v2a.5.5 0 0 1-1 0V3H2v.5a.5.5 0 0 1-1 0v-2c0-.27.22-.5.5-.5Z"}),a.createElement("path",{fillRule:"evenodd",d:"M1.5 6a.5.5 0 0 0-.5.5v6c0 .28.22.5.5.5h11a.5.5 0 0 0 .5-.5v-6a.5.5 0 0 0-.5-.5h-11ZM2 7v5h10V7h-1v2.5a.5.5 0 0 1-1 0V7h-.75v1a.5.5 0 0 1-1 0V7H7.5v2.5a.5.5 0 0 1-1 0V7h-.75v1a.5.5 0 0 1-1 0V7H4v2.5a.5.5 0 0 1-1 0V7H2Z"})),stop:a.createElement(a.Fragment,null,a.createElement("path",{d:"M4.5 4a.5.5 0 0 0-.5.5v5c0 .28.22.5.5.5h5a.5.5 0 0 0 .5-.5v-5a.5.5 0 0 0-.5-.5h-5Z"}),a.createElement("path",{fillRule:"evenodd",d:"M14 7A7 7 0 1 1 0 7a7 7 0 0 1 14 0Zm-1 0A6 6 0 1 1 1 7a6 6 0 0 1 12 0Z"})),camera:a.createElement(a.Fragment,null,a.createElement("path",{fillRule:"evenodd",d:"M10 7a3 3 0 1 1-6 0 3 3 0 0 1 6 0ZM9 7a2 2 0 1 1-4 0 2 2 0 0 1 4 0Z"}),a.createElement("path",{fillRule:"evenodd",d:"M2.5 1a.5.5 0 0 0-.5.5V2H.5a.5.5 0 0 0-.5.5v9c0 .28.22.5.5.5h13a.5.5 0 0 0 .5-.5v-9a.5.5 0 0 0-.5-.5H6v-.5a.5.5 0 0 0-.5-.5h-3ZM1 3v8h12V3H1Z"})),video:a.createElement(a.Fragment,null,a.createElement("path",{d:"M2.5 10a.5.5 0 1 0 0-1 .5.5 0 0 0 0 1Z"}),a.createElement("path",{fillRule:"evenodd",d:"M0 4c0-1.1.9-2 2-2h6a2 2 0 0 1 2 2v.5l3.19-2.4a.5.5 0 0 1 .81.4v9a.5.5 0 0 1-.8.4L10 9.5v.5a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2V4Zm9 0v1.5a.5.5 0 0 0 .8.4L13 3.5v7L9.8 8.1a.5.5 0 0 0-.8.4V10a1 1 0 0 1-1 1H2a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1h6a1 1 0 0 1 1 1Z"})),speaker:a.createElement(a.Fragment,null,a.createElement("path",{fillRule:"evenodd",d:"M1 4.50004V9.50004C1 9.77618 1.22386 10 1.5 10H4L7.17075 12.7744C7.49404 13.0573 8 12.8277 8 12.3982V1.60192C8 1.17235 7.49404 0.942757 7.17075 1.22564L4 4.00004H1.5C1.22386 4.00004 1 4.2239 1 4.50004ZM4 9.00004V5.00004H2V9.00004H4ZM4.99804 9.54456C4.99934 9.52989 5 9.51505 5 9.50004V4.50004C5 4.48504 4.99934 4.47019 4.99804 4.45552L7 2.70381V11.2963L4.99804 9.54456Z"}),a.createElement("path",{d:"M10.1498 1.75202C9.88637 1.66927 9.60572 1.81577 9.52297 2.07922C9.44023 2.34267 9.58672 2.62332 9.85017 2.70607C11.6763 3.27963 13 4.98596 13 7.00014C13 9.01433 11.6763 10.7207 9.85017 11.2942C9.58672 11.377 9.44023 11.6576 9.52297 11.9211C9.60572 12.1845 9.88637 12.331 10.1498 12.2483C12.3808 11.5476 14 9.4636 14 7.00014C14 4.53669 12.3808 2.45272 10.1498 1.75202Z"}),a.createElement("path",{d:"M10.2504 3.96861C10.0113 3.83033 9.70547 3.91201 9.5672 4.15105C9.42893 4.39008 9.51061 4.69594 9.74964 4.83421C10.4982 5.26723 11 6.07534 11 7.00006C11 7.92479 10.4982 8.7329 9.74964 9.16591C9.51061 9.30418 9.42893 9.61005 9.5672 9.84908C9.70547 10.0881 10.0113 10.1698 10.2504 10.0315C11.2952 9.42711 12 8.29619 12 7.00006C12 5.70394 11.2952 4.57302 10.2504 3.96861Z"})),play:a.createElement(a.Fragment,null,a.createElement("path",{d:"m12.81 7.43-9.05 5.6A.5.5 0 0 1 3 12.6V1.4c0-.4.43-.63.76-.43l9.05 5.6a.5.5 0 0 1 0 .86Z"})),playback:a.createElement(a.Fragment,null,a.createElement("path",{d:"M11.24 12.04 3.7 7.42a.5.5 0 0 1-.2-.23v4.05a.75.75 0 0 1-1.5 0v-8.5a.75.75 0 0 1 1.5 0V6.8a.5.5 0 0 1 .2-.23l7.54-4.6a.5.5 0 0 1 .76.42v9.22a.5.5 0 0 1-.76.43Z"})),playnext:a.createElement(a.Fragment,null,a.createElement("path",{d:"m2.76 12.04 7.54-4.61a.5.5 0 0 0 .2-.23v4.05a.75.75 0 0 0 1.5 0v-8.5a.75.75 0 0 0-1.5 0V6.8a.5.5 0 0 0-.2-.23l-7.54-4.6a.5.5 0 0 0-.76.42v9.22c0 .39.43.63.76.43Z"})),rewind:a.createElement(a.Fragment,null,a.createElement("path",{d:"M9 2.42v2.32L13.23 2a.5.5 0 0 1 .77.42v9.16a.5.5 0 0 1-.77.42L9 9.26v2.32a.5.5 0 0 1-.77.42L1.5 7.65v3.6a.75.75 0 0 1-1.5 0v-8.5a.75.75 0 0 1 1.5 0v3.6L8.23 2a.5.5 0 0 1 .77.42Z"})),fastforward:a.createElement(a.Fragment,null,a.createElement("path",{d:"M5 2.42v2.32L.77 2a.5.5 0 0 0-.77.42v9.16c0 .4.44.64.77.42L5 9.26v2.32c0 .4.44.64.77.42l6.73-4.35v3.6a.75.75 0 0 0 1.5 0v-8.5a.75.75 0 0 0-1.5 0v3.6L5.77 2a.5.5 0 0 0-.77.42Z"})),stopalt:a.createElement(a.Fragment,null,a.createElement("path",{d:"M1 1.5c0-.27.22-.5.5-.5h11c.28 0 .5.23.5.5v11a.5.5 0 0 1-.5.5h-11a.5.5 0 0 1-.5-.5v-11Z"})),sidebyside:a.createElement(a.Fragment,null,a.createElement("path",{fillRule:"evenodd",d:"M1 1.5c0-.27.22-.5.5-.5h11c.28 0 .5.23.5.5v11a.5.5 0 0 1-.5.5h-11a.5.5 0 0 1-.5-.5v-11ZM2 12V2h5v10H2Z"})),stacked:a.createElement(a.Fragment,null,a.createElement("path",{fillRule:"evenodd",d:"M12.5 1c.28 0 .5.23.5.5v11a.5.5 0 0 1-.5.5h-11a.5.5 0 0 1-.5-.5v-11c0-.27.22-.5.5-.5h11ZM2 2h10v5H2V2Z"})),sun:a.createElement(a.Fragment,null,a.createElement("path",{d:"M7.5.5a.5.5 0 0 0-1 0V2a.5.5 0 0 0 1 0V.5Z"}),a.createElement("path",{fillRule:"evenodd",d:"M7 10a3 3 0 1 0 0-6 3 3 0 0 0 0 6Zm0-1a2 2 0 1 0 0-4 2 2 0 0 0 0 4Z"}),a.createElement("path",{d:"M7 11.5c.28 0 .5.22.5.5v1.5a.5.5 0 0 1-1 0V12c0-.28.22-.5.5-.5ZM11.5 7c0-.28.22-.5.5-.5h1.5a.5.5 0 0 1 0 1H12a.5.5 0 0 1-.5-.5ZM.5 6.5a.5.5 0 0 0 0 1H2a.5.5 0 0 0 0-1H.5ZM3.82 10.18c.2.2.2.51 0 .7l-1.06 1.07a.5.5 0 1 1-.71-.7l1.06-1.07c.2-.2.51-.2.7 0ZM11.95 2.76a.5.5 0 1 0-.7-.71l-1.07 1.06a.5.5 0 1 0 .7.7l1.07-1.05ZM10.18 10.18c.2-.2.51-.2.7 0l1.07 1.06a.5.5 0 1 1-.7.71l-1.07-1.06a.5.5 0 0 1 0-.7ZM2.76 2.05a.5.5 0 1 0-.71.7l1.06 1.07a.5.5 0 0 0 .7-.7L2.77 2.04Z"})),moon:a.createElement(a.Fragment,null,a.createElement("path",{fillRule:"evenodd",d:"M7.78.04a7.03 7.03 0 0 0-4.28.9 7 7 0 1 0 9.87 8.96c.1-.21-.14-.41-.36-.32a4.98 4.98 0 0 1-2 .42A5 5 0 0 1 8.53.65c.2-.12.19-.44-.04-.49a7.04 7.04 0 0 0-.72-.12Zm-1.27.98a6 6 0 0 0 4.98 9.96 6 6 0 1 1-4.98-9.96Z"})),book:a.createElement(a.Fragment,null,a.createElement("path",{fillRule:"evenodd",d:"M13 2a2 2 0 0 0-2-2H1.5a.5.5 0 0 0-.5.5v13c0 .28.22.5.5.5H11a2 2 0 0 0 2-2V2ZM3 13h8a1 1 0 0 0 1-1V2a1 1 0 0 0-1-1H7v6a.5.5 0 0 1-.86.36L5.5 6.7l-.65.65A.5.5 0 0 1 4 7V1H3v12ZM5 1v4.8l.15-.15a.5.5 0 0 1 .74.04l.11.1V1H5Z"})),document:a.createElement(a.Fragment,null,a.createElement("path",{d:"M4 5.5c0-.28.22-.5.5-.5h5a.5.5 0 0 1 0 1h-5a.5.5 0 0 1-.5-.5ZM4.5 7.5a.5.5 0 0 0 0 1h5a.5.5 0 0 0 0-1h-5ZM4 10.5c0-.28.22-.5.5-.5h5a.5.5 0 0 1 0 1h-5a.5.5 0 0 1-.5-.5Z"}),a.createElement("path",{fillRule:"evenodd",d:"M1.5 0a.5.5 0 0 0-.5.5v13c0 .28.22.5.5.5h11a.5.5 0 0 0 .5-.5V3.2a.5.5 0 0 0-.15-.35l-2.7-2.7A.5.5 0 0 0 9.79 0H1.5ZM2 1h7.5v2c0 .28.22.5.5.5h2V13H2V1Z"})),copy:a.createElement(a.Fragment,null,a.createElement("path",{fillRule:"evenodd",d:"M11.75.07A.5.5 0 0 0 11.5 0h-6a.5.5 0 0 0-.5.5V3H.5a.5.5 0 0 0-.5.5v10c0 .28.22.5.5.5h8a.5.5 0 0 0 .5-.5V11h4.5a.5.5 0 0 0 .5-.5V2.51a.5.5 0 0 0-.15-.36l-2-2a.5.5 0 0 0-.1-.08ZM9 10h4V3h-1.5a.5.5 0 0 1-.5-.5V1H6v2h.5a.5.5 0 0 1 .36.15l1.99 2c.1.09.15.21.15.35v4.51ZM1 4v9h7V6H6.5a.5.5 0 0 1-.5-.5V4H1Z"})),category:a.createElement(a.Fragment,null,a.createElement("path",{d:"M3 1.5c0-.28.22-.5.5-.5h7a.5.5 0 0 1 0 1h-7a.5.5 0 0 1-.5-.5Zm-1 2c0-.27.22-.5.5-.5h9a.5.5 0 0 1 0 1h-9a.5.5 0 0 1-.5-.5Z"}),a.createElement("path",{fillRule:"evenodd",d:"M1 5.5c0-.28.22-.5.5-.5h11c.28 0 .5.22.5.5v7a.5.5 0 0 1-.5.5h-11a.5.5 0 0 1-.5-.5v-7ZM2 12V6h10v6H2Z"})),folder:a.createElement(a.Fragment,null,a.createElement("path",{fillRule:"evenodd",d:"M6.59 3.5 5.09 2H1v9h12V3.5H6.59Zm.41-1L5.8 1.3a1 1 0 0 0-.71-.3H.5a.5.5 0 0 0-.5.5v10c0 .28.22.5.5.5h13a.5.5 0 0 0 .5-.5V3a.5.5 0 0 0-.5-.5H7Z"})),print:a.createElement(a.Fragment,null,a.createElement("path",{d:"M4.5 8a.5.5 0 1 0 0 1h5a.5.5 0 0 0 0-1h-5Zm0 2a.5.5 0 0 0 0 1h5a.5.5 0 0 0 0-1h-5Z"}),a.createElement("path",{fillRule:"evenodd",d:"M2 1.5c0-.27.22-.5.5-.5h8a.5.5 0 0 1 .36.15l.99 1c.1.09.15.21.15.35v1.51h1.5c.28 0 .5.22.5.5v5a.5.5 0 0 1-.5.5H12v2.5a.5.5 0 0 1-.5.5h-9a.5.5 0 0 1-.5-.5V10H.5a.5.5 0 0 1-.5-.5v-5c0-.28.22-.5.5-.5H2V1.5ZM13 9h-1V6.5a.5.5 0 0 0-.5-.5h-9a.5.5 0 0 0-.5.5V9H1V5h12v4Zm-2-6v1H3V2h7v.5c0 .28.22.5.5.5h.5Zm-8 9h8V7H3v5Z"})),graphline:a.createElement(a.Fragment,null,a.createElement("path",{d:"M5.15 6.15c.2-.2.5-.2.7 0L7 7.3l2.15-2.15c.2-.2.5-.2.7 0l1 1a.5.5 0 0 1-.7.7l-.65-.64-2.15 2.15a.5.5 0 0 1-.7 0L5.5 7.2 3.85 8.86a.5.5 0 1 1-.7-.71l2-2Z"}),a.createElement("path",{fillRule:"evenodd",d:"M1.5 1a.5.5 0 0 0-.5.5v11c0 .28.22.5.5.5h11a.5.5 0 0 0 .5-.5v-11a.5.5 0 0 0-.5-.5h-11ZM2 2v10h10V2H2Z"})),calendar:a.createElement(a.Fragment,null,a.createElement("path",{fillRule:"evenodd",d:"M3.5 0c.28 0 .5.22.5.5V1h6V.5a.5.5 0 0 1 1 0V1h1.5c.28 0 .5.22.5.5v11a.5.5 0 0 1-.5.5h-11a.5.5 0 0 1-.5-.5v-11c0-.28.22-.5.5-.5H3V.5c0-.28.22-.5.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"})),graphbar:a.createElement(a.Fragment,null,a.createElement("path",{d:"M12 2.5a.5.5 0 0 0-1 0v10a.5.5 0 0 0 1 0v-10Zm-3 2a.5.5 0 0 0-1 0v8a.5.5 0 0 0 1 0v-8ZM5.5 7c.28 0 .5.22.5.5v5a.5.5 0 0 1-1 0v-5c0-.28.22-.5.5-.5ZM3 10.5a.5.5 0 0 0-1 0v2a.5.5 0 0 0 1 0v-2Z"})),menu:a.createElement(a.Fragment,null,a.createElement("path",{d:"M13 2a.5.5 0 0 1 0 1H1a.5.5 0 0 1 0-1h12Zm-3 3a.5.5 0 0 1 0 1H1a.5.5 0 0 1 0-1h9Zm1.5 3.5A.5.5 0 0 0 11 8H1a.5.5 0 0 0 0 1h10a.5.5 0 0 0 .5-.5Zm-4 2.5a.5.5 0 0 1 0 1H1a.5.5 0 0 1 0-1h6.5Z"})),menualt:a.createElement(a.Fragment,null,a.createElement("path",{d:"M1 2a.5.5 0 0 0 0 1h12a.5.5 0 0 0 0-1H1Zm3 3a.5.5 0 0 0 0 1h9a.5.5 0 0 0 0-1H4ZM2.5 8.5c0-.28.22-.5.5-.5h10a.5.5 0 0 1 0 1H3a.5.5 0 0 1-.5-.5Zm4 2.5a.5.5 0 0 0 0 1H13a.5.5 0 0 0 0-1H6.5Z"})),filter:a.createElement(a.Fragment,null,a.createElement("path",{d:"M1 2a.5.5 0 0 0 0 1h12a.5.5 0 0 0 0-1H1Zm2 3a.5.5 0 0 0 0 1h8a.5.5 0 0 0 0-1H3Zm1.5 3.5c0-.28.22-.5.5-.5h4a.5.5 0 0 1 0 1H5a.5.5 0 0 1-.5-.5Zm2 2.5a.5.5 0 0 0 0 1h1a.5.5 0 0 0 0-1h-1Z"})),docchart:a.createElement(a.Fragment,null,a.createElement("path",{fillRule:"evenodd",d:"M1 1.5C1 1.22386 1.22386 1 1.5 1H12.5C12.7761 1 13 1.22386 13 1.5V12.5C13 12.7761 12.7761 13 12.5 13H1.5C1.22386 13 1 12.7761 1 12.5V1.5ZM2 4V6.2998H5V4H2ZM2 9.2002V6.7998H5V9.2002H2ZM2 9.7002V12H5V9.7002H2ZM5.5 9.7002V12H8.5V9.7002H5.5ZM9 9.7002V12H12V9.7002H9ZM12 9.2002H9V6.7998H12V9.2002ZM8.5 9.2002H5.5V6.7998H8.5V9.2002ZM9 6.2998H12V4H9V6.2998ZM5.5 6.2998H8.5V4H5.5V6.2998Z"})),doclist:a.createElement(a.Fragment,null,a.createElement("path",{d:"M3.5 6.5c0-.28.22-.5.5-.5h6a.5.5 0 0 1 0 1H4a.5.5 0 0 1-.5-.5ZM4 9a.5.5 0 0 0 0 1h6a.5.5 0 0 0 0-1H4Z"}),a.createElement("path",{fillRule:"evenodd",d:"M1 1.5c0-.28.22-.5.5-.5h11c.28 0 .5.22.5.5v11a.5.5 0 0 1-.5.5h-11a.5.5 0 0 1-.5-.5v-11ZM2 4v8h10V4H2Z"})),markup:a.createElement(a.Fragment,null,a.createElement("path",{d:"M8.98 1.63a.5.5 0 0 0-.96-.26l-3 11a.5.5 0 1 0 .96.26l3-11ZM3.32 3.62a.5.5 0 0 1 .06.7L1.15 7l2.23 2.68a.5.5 0 1 1-.76.64l-2.5-3a.5.5 0 0 1 0-.64l2.5-3a.5.5 0 0 1 .7-.06Zm7.36 0a.5.5 0 0 0-.06.7L12.85 7l-2.23 2.68a.5.5 0 0 0 .76.64l2.5-3a.5.5 0 0 0 0-.64l-2.5-3a.5.5 0 0 0-.7-.06Z"})),bold:a.createElement(a.Fragment,null,a.createElement("path",{fillRule:"evenodd",d:"M3 2v1.5h1v7H3V12h5a3 3 0 0 0 1.8-5.4A2.74 2.74 0 0 0 8 2H3Zm5 5.5H5.5v3H8a1.5 1.5 0 1 0 0-3Zm-.25-4H5.5V6h2.25a1.25 1.25 0 1 0 0-2.5Z"})),italic:a.createElement("path",{d:"M5 2h6v1H8.5l-2 8H9v1H3v-1h2.5l2-8H5V2Z"}),paperclip:a.createElement(a.Fragment,null,a.createElement("path",{d:"M10.55 2.27a1.5 1.5 0 0 0-2.12 0L2.78 7.92a2.5 2.5 0 0 0 3.53 3.54l3.54-3.54a.5.5 0 1 1 .7.71l-3.53 3.54a3.5 3.5 0 0 1-4.96-4.94v-.01l5.66-5.66h.01a2.5 2.5 0 0 1 3.53 3.53L5.6 10.76a1.5 1.5 0 0 1-2.12-2.12L7.02 5.1a.5.5 0 1 1 .7.7L4.2 9.34a.5.5 0 0 0 .7.7l5.66-5.65a1.5 1.5 0 0 0 0-2.12Z"})),listordered:a.createElement(a.Fragment,null,a.createElement("path",{d:"M5 2.5c0-.28.22-.5.5-.5h7a.5.5 0 0 1 0 1h-7a.5.5 0 0 1-.5-.5ZM5 7c0-.28.22-.5.5-.5h7a.5.5 0 0 1 0 1h-7A.5.5 0 0 1 5 7Zm.5 4a.5.5 0 0 0 0 1h7a.5.5 0 0 0 0-1h-7Zm-3-9H1v1h1v3h1V2.5a.5.5 0 0 0-.5-.5ZM3 8.5v1a.5.5 0 0 1-1 0V9h-.5a.5.5 0 0 1 0-1h1c.28 0 .5.22.5.5Zm-1 2a.5.5 0 0 0-1 0V12h2v-1H2v-.5Z"})),listunordered:a.createElement(a.Fragment,null,a.createElement("path",{d:"M2.75 2.5a.75.75 0 1 1-1.5 0 .75.75 0 0 1 1.5 0ZM5.5 2a.5.5 0 0 0 0 1h7a.5.5 0 0 0 0-1h-7Zm0 9a.5.5 0 0 0 0 1h7a.5.5 0 0 0 0-1h-7ZM2 12.25a.75.75 0 1 0 0-1.5.75.75 0 0 0 0 1.5ZM5 7c0-.28.22-.5.5-.5h7a.5.5 0 0 1 0 1h-7A.5.5 0 0 1 5 7Zm-3 .75a.75.75 0 1 0 0-1.5.75.75 0 0 0 0 1.5Z"})),paragraph:a.createElement(a.Fragment,null,a.createElement("path",{d:"M6 7a3 3 0 1 1 0-6h5.5a.5.5 0 0 1 0 1H10v10.5a.5.5 0 0 1-1 0V2H7v10.5a.5.5 0 0 1-1 0V7Z"})),markdown:a.createElement(a.Fragment,null,a.createElement("path",{d:"M2 4.5h1.5L5 6.38 6.5 4.5H8v5H6.5V7L5 8.88 3.5 7v2.5H2v-5Zm7.75 0h1.5V7h1.25l-2 2.5-2-2.5h1.25V4.5Z"}),a.createElement("path",{fillRule:"evenodd",d:"M.5 2a.5.5 0 0 0-.5.5v9c0 .28.22.5.5.5h13a.5.5 0 0 0 .5-.5v-9a.5.5 0 0 0-.5-.5H.5ZM1 3v8h12V3H1Z"})),repository:a.createElement(a.Fragment,null,a.createElement("path",{d:"M5 2.5C5 2.77614 4.77614 3 4.5 3C4.22386 3 4 2.77614 4 2.5C4 2.22386 4.22386 2 4.5 2C4.77614 2 5 2.22386 5 2.5Z"}),a.createElement("path",{d:"M4.5 5C4.77614 5 5 4.77614 5 4.5C5 4.22386 4.77614 4 4.5 4C4.22386 4 4 4.22386 4 4.5C4 4.77614 4.22386 5 4.5 5Z"}),a.createElement("path",{d:"M5 6.5C5 6.77614 4.77614 7 4.5 7C4.22386 7 4 6.77614 4 6.5C4 6.22386 4.22386 6 4.5 6C4.77614 6 5 6.22386 5 6.5Z"}),a.createElement("path",{fillRule:"evenodd",d:"M11 0C12.1046 0 13 0.895431 13 2V12C13 13.1046 12.1046 14 11 14H1.5C1.22386 14 1 13.7761 1 13.5V0.5C1 0.223857 1.22386 0 1.5 0H11ZM11 1H3V13H11C11.5523 13 12 12.5523 12 12V2C12 1.44772 11.5523 1 11 1Z"})),commit:a.createElement(a.Fragment,null,a.createElement("path",{fillRule:"evenodd",d:"M3.03 7.5a4 4 0 0 0 7.94 0h2.53a.5.5 0 0 0 0-1h-2.53a4 4 0 0 0-7.94 0H.5a.5.5 0 0 0 0 1h2.53ZM7 10a3 3 0 1 0 0-6 3 3 0 0 0 0 6Z"})),branch:a.createElement(a.Fragment,null,a.createElement("path",{fillRule:"evenodd",d:"M6 2.5c0 .65-.42 1.2-1 1.41v4.06A3.36 3.36 0 0 1 7.5 7a2.7 2.7 0 0 0 1.81-.56c.22-.18.38-.4.48-.62a1.5 1.5 0 1 1 1.03.15c-.16.42-.43.87-.86 1.24-.57.47-1.37.79-2.46.79-1.04 0-1.64.42-2 .92-.26.37-.4.8-.47 1.18A1.5 1.5 0 1 1 4 10.09V3.9a1.5 1.5 0 1 1 2-1.4Zm-2 9a.5.5 0 1 1 1 0 .5.5 0 0 1-1 0Zm1-9a.5.5 0 1 1-1 0 .5.5 0 0 1 1 0Zm6 2a.5.5 0 1 1-1 0 .5.5 0 0 1 1 0Z"})),pullrequest:a.createElement(a.Fragment,null,a.createElement("path",{fillRule:"evenodd",d:"M8.35 1.35 7.71 2h.79A2.5 2.5 0 0 1 11 4.5v5.59a1.5 1.5 0 1 1-1 0V4.5C10 3.67 9.33 3 8.5 3h-.8l.65.65a.5.5 0 1 1-.7.7l-1.5-1.5a.5.5 0 0 1 0-.7l1.5-1.5a.5.5 0 1 1 .7.7ZM11 11.5a.5.5 0 1 1-1 0 .5.5 0 0 1 1 0ZM4 3.91a1.5 1.5 0 1 0-1 0v6.18a1.5 1.5 0 1 0 1 0V3.9ZM3.5 11a.5.5 0 1 0 0 1 .5.5 0 0 0 0-1Zm0-8a.5.5 0 1 0 0-1 .5.5 0 0 0 0 1Z"})),merge:a.createElement(a.Fragment,null,a.createElement("path",{fillRule:"evenodd",d:"M4.1 3.87a1.5 1.5 0 1 0-1.1.04v6.18a1.5 1.5 0 1 0 1 0V6.4c.26.4.57.77.93 1.08A6.57 6.57 0 0 0 9.08 9a1.5 1.5 0 1 0 0-1 5.57 5.57 0 0 1-3.5-1.25 4.74 4.74 0 0 1-1.47-2.87ZM3.5 11a.5.5 0 1 0 0 1 .5.5 0 0 0 0-1ZM4 2.5a.5.5 0 1 1-1 0 .5.5 0 0 1 1 0Zm7 6a.5.5 0 1 1-1 0 .5.5 0 0 1 1 0Z"})),apple:a.createElement(a.Fragment,null,a.createElement("path",{d:"M11.03 8.1a3.05 3.05 0 0 1-.2-1.74 2.7 2.7 0 0 1 1.4-1.94 3.13 3.13 0 0 0-2.35-1.4c-.84-.08-2.01.56-2.65.57h-.02c-.63 0-1.81-.65-2.64-.57-.42.04-1.75.32-2.55 1.6-.28.44-.5 1.01-.58 1.74a6.36 6.36 0 0 0 .02 1.74 7.5 7.5 0 0 0 1.35 3.33c.7 1.01 1.51 1.6 1.97 1.6.93.02 1.74-.6 2.41-.6l.02.01h.04c.67-.02 1.48.61 2.42.6.45-.02 1.26-.6 1.97-1.6a7.95 7.95 0 0 0 .97-1.86 2.6 2.6 0 0 1-1.58-1.48ZM8.86 2.13c.72-.85.7-2.07.63-2.12-.07-.06-1.25.16-1.99.98a2.78 2.78 0 0 0-.62 2.13c.06.05 1.27-.14 1.98-.99Z"})),linux:a.createElement(a.Fragment,null,a.createElement("path",{fillRule:"evenodd",d:"M7 0a3 3 0 0 1 3 3v1.24c.13.13.25.27.36.42l.52.43.2.15c.32.26.7.59 1.09.97A6.28 6.28 0 0 1 14 9.54a.5.5 0 0 1-.35.44c-.31.1-.8.18-1.34.13-.33-.03-.7-.12-1.05-.3-.04.17-.1.34-.17.51a2 2 0 1 1-2.89 2.56 5.5 5.5 0 0 1-2.4 0 2 2 0 1 1-2.9-2.56 5.56 5.56 0 0 1-.16-.51c-.35.18-.72.27-1.05.3a3.4 3.4 0 0 1-1.34-.13.5.5 0 0 1-.35-.44l.01-.14a6.28 6.28 0 0 1 1.82-3.2 13.42 13.42 0 0 1 1.3-1.11c.22-.19.4-.32.5-.43.12-.15.24-.29.37-.42V3a3 3 0 0 1 3-3Zm1 11.9a2 2 0 0 1 2.14-1.9 5.5 5.5 0 0 0 .36-2c0-.51-.1-1.07-.3-1.6l-.03-.02a4.4 4.4 0 0 0-.86-.42 6.71 6.71 0 0 0-1-.31l-.86.64c-.27.2-.63.2-.9 0l-.85-.64a6.72 6.72 0 0 0-1.87.73l-.03.02A4.6 4.6 0 0 0 3.5 8c0 .68.11 1.39.36 2H4a2 2 0 0 1 2 1.9 4.49 4.49 0 0 0 2 0ZM5 12a1 1 0 1 1-2 0 1 1 0 0 1 2 0Zm6 0a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM6.1 4.3a1.5 1.5 0 0 1 1.8 0l.27.2L7 5.38 5.83 4.5l.27-.2ZM8.5 2c.28 0 .5.22.5.5V3a.5.5 0 0 1-1 0v-.5c0-.28.22-.5.5-.5ZM6 2.5a.5.5 0 0 0-1 0V3a.5.5 0 0 0 1 0v-.5Z"})),ubuntu:a.createElement(a.Fragment,null,a.createElement("path",{d:"M12.26 2.07c0 1.14-.89 2.06-1.99 2.06s-1.99-.92-1.99-2.06c0-1.14.9-2.07 2-2.07s1.98.93 1.98 2.07ZM3.98 6.6c0 1.14-.9 2.07-2 2.07C.9 8.67 0 7.74 0 6.6c0-1.14.9-2.07 1.99-2.07 1.1 0 1.99.93 1.99 2.07ZM6.47 11.92a4.76 4.76 0 0 1-3.3-2.62c-.53.25-1.12.33-1.7.22a6.72 6.72 0 0 0 1.84 2.63 6.38 6.38 0 0 0 4.24 1.58c-.37-.5-.57-1.1-.59-1.73a4.77 4.77 0 0 1-.49-.08ZM11.81 11.93c0 1.14-.89 2.07-1.99 2.07s-1.98-.93-1.98-2.07c0-1.14.89-2.06 1.98-2.06 1.1 0 2 .92 2 2.06ZM12.6 11.17a6.93 6.93 0 0 0 .32-7.93A2.95 2.95 0 0 1 11.8 4.6a5.23 5.23 0 0 1-.16 5.03c.47.4.8.94.95 1.54ZM1.99 3.63h-.15A6.48 6.48 0 0 1 8 .24a3.07 3.07 0 0 0-.6 1.68 4.7 4.7 0 0 0-3.9 2.17c-.46-.3-.98-.45-1.51-.45Z"})),windows:a.createElement(a.Fragment,null,a.createElement("path",{d:"M6.5 1H1v5.5h5.5V1ZM13 1H7.5v5.5H13V1ZM7.5 7.5H13V13H7.5V7.5ZM6.5 7.5H1V13h5.5V7.5Z"})),storybook:a.createElement(a.Fragment,null,a.createElement("path",{d:"M2.04.62a.7.7 0 0 0-.66.72l.44 11.56c.01.37.3.66.67.68l9.4.42h.02a.7.7 0 0 0 .7-.7V.66a.7.7 0 0 0-.74-.66l-.77.05.05 1.62a.1.1 0 0 1-.17.08l-.52-.4-.61.46a.1.1 0 0 1-.17-.09L9.75.13l-7.7.49Zm8 4.74c-.24.2-2.09.33-2.09.05.04-1.04-.43-1.09-.69-1.09-.24 0-.66.08-.66.64 0 .57.6.89 1.32 1.27 1.02.53 2.24 1.18 2.24 2.82 0 1.57-1.27 2.43-2.9 2.43-1.67 0-3.14-.68-2.97-3.03.06-.27 2.2-.2 2.2 0-.03.97.19 1.26.75 1.26.43 0 .62-.24.62-.64 0-.6-.63-.95-1.36-1.36-.99-.56-2.15-1.2-2.15-2.7 0-1.5 1.03-2.5 2.86-2.5 1.83 0 2.84.99 2.84 2.85Z"})),azuredevops:a.createElement(a.Fragment,null,a.createElement("path",{d:"m0 5.18 1.31-1.73 4.9-2V.01l4.3 3.15-8.78 1.7v4.8L0 9.16V5.18Zm14-2.6v8.55l-3.36 2.86-5.42-1.79V14L1.73 9.66l8.78 1.05V3.16L14 2.58Z"})),bitbucket:a.createElement(a.Fragment,null,a.createElement("path",{d:"M1 1.52A.41.41 0 0 0 .59 2l1.74 10.6c.05.26.28.46.55.46h8.37c.2 0 .38-.14.42-.34l1.01-6.25H8.81l-.46 2.71H5.68L4.95 5.4h7.91L13.4 2a.41.41 0 0 0-.41-.48H1Z"})),chrome:a.createElement(a.Fragment,null,a.createElement("path",{fillRule:"evenodd",d:"M13.02 3.43a.11.11 0 0 1-.1.17H7a3.4 3.4 0 0 0-3.3 2.55.11.11 0 0 1-.21.03L1.52 2.76a.11.11 0 0 1 0-.12 6.97 6.97 0 0 1 9-1.7c1.03.6 1.9 1.47 2.5 2.5ZM7 9.62a2.62 2.62 0 1 1 0-5.24 2.62 2.62 0 0 1 0 5.24Zm1.03.7a.11.11 0 0 0-.12-.04 3.4 3.4 0 0 1-4-1.84L1.1 3.57a.11.11 0 0 0-.2 0 7 7 0 0 0 5.07 10.35c.04 0 .08-.02.1-.05l1.97-3.42a.11.11 0 0 0 0-.13Zm1.43-5.95h3.95c.05 0 .1.03.1.07a6.97 6.97 0 0 1-1.53 7.48A6.96 6.96 0 0 1 7.08 14a.11.11 0 0 1-.1-.17l2.81-4.88h.01a3.38 3.38 0 0 0-.42-4.38.11.11 0 0 1 .08-.2Z"})),chromatic:a.createElement(a.Fragment,null,a.createElement("path",{fillRule:"evenodd",d:"M0 7a7 7 0 1 0 14 0A7 7 0 0 0 0 7Zm5.22-3.87a1.97 1.97 0 0 1 3.75.83v1.29L5.61 3.32a2.49 2.49 0 0 0-.4-.19ZM8.7 5.71 5.35 3.78a1.97 1.97 0 0 0-2.6 2.83c.12-.1.24-.18.37-.26l1.51-.87a.27.27 0 0 1 .27 0L7 6.69l1.7-.98Zm-.32 4.97-1.52-.87a.27.27 0 0 1-.13-.23V7.15l-1.7-.97v3.86a1.97 1.97 0 0 0 3.75.83 2.5 2.5 0 0 1-.4-.19Zm.26-.46a1.97 1.97 0 0 0 2.6-2.83c-.11.1-.23.18-.36.26L7.53 9.58l1.11.64Zm-4.1.26h-.17a1.97 1.97 0 0 1-1.9-2.47 2 2 0 0 1 .92-1.2l1.11-.63v3.86c0 .14.01.29.04.44Zm6.79-5.98a1.97 1.97 0 0 0-1.87-.97c.03.14.04.29.04.43v1.75c0 .1-.05.19-.14.23l-2.1 1.22V9.1l3.35-1.93a1.97 1.97 0 0 0 .72-2.68Z"})),componentdriven:a.createElement(a.Fragment,null,a.createElement("path",{d:"M10.85 2.18 8.87.2a.69.69 0 0 0-.97 0L3.09 5.01a.69.69 0 0 0 0 .97l2.46 2.46-2.4 2.4a.69.69 0 0 0 0 .98l1.98 1.98c.27.27.7.27.97 0l4.8-4.81a.69.69 0 0 0 0-.97L8.45 5.56l2.4-2.4a.69.69 0 0 0 0-.98Z"})),discord:a.createElement(a.Fragment,null,a.createElement("path",{d:"M11.85 2.88C10.95 2.48 10 2.18 9 2a7.05 7.05 0 0 0-.4.75 10.66 10.66 0 0 0-3.2 0c-.1-.23-.24-.5-.36-.73A.04.04 0 0 0 4.99 2a11.51 11.51 0 0 0-2.86.9 11.82 11.82 0 0 0-2.05 8 11.6 11.6 0 0 0 3.5 1.77c.01 0 .03 0 .04-.02.27-.36.51-.75.72-1.16a.04.04 0 0 0-.03-.06 7.66 7.66 0 0 1-1.09-.52.04.04 0 0 1 0-.08 5.96 5.96 0 0 0 .26-.17 8.28 8.28 0 0 0 7.08 0l.22.17c.02.02.02.06 0 .08-.36.2-.72.37-1.1.52a.04.04 0 0 0-.02.06c.2.4.45.8.71 1.16.01.02.03.02.05.02a11.57 11.57 0 0 0 3.52-1.8 11.74 11.74 0 0 0-2.09-7.99Zm-7.17 6.4c-.7 0-1.26-.63-1.26-1.41 0-.78.56-1.41 1.26-1.41s1.27.64 1.26 1.4c0 .79-.56 1.42-1.26 1.42Zm4.65 0c-.69 0-1.26-.63-1.26-1.41 0-.78.56-1.41 1.26-1.41s1.27.64 1.26 1.4c0 .79-.55 1.42-1.26 1.42Z"})),facebook:a.createElement(a.Fragment,null,a.createElement("path",{d:"M7.4 14H5.06V7H3.5V4.59h1.56V3.17C5.06 1.2 5.53 0 7.6 0h1.72v2.41H8.25c-.8 0-.85.34-.85.97v1.2h1.93L9.11 7H7.4l-.01 7Z"})),figma:a.createElement(a.Fragment,null,a.createElement("path",{fillRule:"evenodd",d:"M9.2 0H4.8a2.6 2.6 0 0 0-1.4 4.8 2.6 2.6 0 0 0 0 4.4 2.6 2.6 0 1 0 4 2.2V8.89a2.6 2.6 0 1 0 3.2-4.09A2.6 2.6 0 0 0 9.2 0ZM7.4 7A1.8 1.8 0 1 0 11 7a1.8 1.8 0 0 0-3.6 0Zm-.8 2.6H4.8a1.8 1.8 0 1 0 1.8 1.8V9.6ZM4.8 4.4h1.8V.8H4.8a1.8 1.8 0 0 0 0 3.59Zm0 .8a1.8 1.8 0 0 0 0 3.6h1.8V5.2H4.8Zm4.4-.8H7.4V.8h1.8a1.8 1.8 0 1 1 0 3.59Z"})),gdrive:a.createElement(a.Fragment,null,a.createElement("path",{d:"M6.37 8.77 4.33 12.3h6.75l2.04-3.54H6.38Zm6.18-1-3.5-6.08h-4.1l3.51 6.08h4.09ZM4.38 2.7.88 8.77l2.04 3.54 3.5-6.07L4.38 2.7Z"})),github:a.createElement(a.Fragment,null,a.createElement("path",{d:"M7 0a7 7 0 0 0-2.21 13.64c.35.06.48-.15.48-.33L5.26 12c-1.76.32-2.21-.43-2.35-.83-.08-.2-.43-.82-.72-.99-.25-.13-.6-.45-.01-.46.55 0 .94.5 1.07.72.63 1.06 1.64.76 2.04.58.07-.46.25-.77.45-.94-1.56-.18-3.19-.78-3.19-3.46 0-.76.28-1.39.72-1.88-.07-.17-.31-.9.07-1.85 0 0 .59-.19 1.93.71a6.5 6.5 0 0 1 3.5 0c1.34-.9 1.92-.71 1.92-.71.39.96.14 1.68.07 1.85.45.5.72 1.11.72 1.88 0 2.69-1.64 3.28-3.2 3.46.26.22.48.64.48 1.3l-.01 1.92c0 .18.13.4.48.33A7.01 7.01 0 0 0 7 0Z"})),gitlab:a.createElement(a.Fragment,null,a.createElement("path",{d:"M4.53 5.58H1.07l1.49-4.55a.26.26 0 0 1 .48 0l1.49 4.55ZM7 13.15 1.07 5.58l-.75 2.3a.5.5 0 0 0 .18.57l6.5 4.7Zm0 0 6.5-4.7a.5.5 0 0 0 .18-.57l-.75-2.3L7 13.15l2.47-7.57H4.53L7 13.15Zm2.47-7.57h3.46l-1.49-4.55a.26.26 0 0 0-.48 0L9.47 5.58Z"})),google:a.createElement(a.Fragment,null,a.createElement("path",{d:"M10.92 1.1H7.26c-1.64 0-3.19 1.24-3.19 2.68 0 1.47 1.12 2.66 2.8 2.66l.33-.01c-.1.2-.18.44-.18.68 0 .41.22.75.5 1.02h-.64c-2.03 0-3.6 1.3-3.6 2.64 0 1.32 1.72 2.15 3.75 2.15 2.32 0 3.6-1.31 3.6-2.64 0-1.06-.31-1.7-1.28-2.38-.33-.23-.96-.8-.96-1.14 0-.39.1-.58.7-1.04a2.46 2.46 0 0 0 1.03-1.92c0-.92-.4-1.82-1.18-2.11h1.17l.81-.6ZM9.6 10.04c.03.13.05.25.05.38 0 1.07-.7 1.9-2.67 1.9-1.4 0-2.42-.88-2.42-1.95 0-1.05 1.26-1.92 2.66-1.9a3 3 0 0 1 .92.14c.76.53 1.3.83 1.46 1.43ZM7.34 6.07c-.94-.03-1.84-1.06-2-2.3-.17-1.24.47-2.19 1.41-2.16.94.03 1.84 1.03 2 2.26.17 1.24-.47 2.23-1.41 2.2Z"})),graphql:a.createElement(a.Fragment,null,a.createElement("path",{d:"M7.87 11.6a1.17 1.17 0 0 0-1.7-.02l-2.71-1.56.01-.04h7.07l.02.07-2.69 1.56Zm-1.7-9.18.03.03-3.54 6.12h-.04V5.43a1.17 1.17 0 0 0 .84-1.46l2.7-1.56Zm4.38 1.56a1.17 1.17 0 0 0 .84 1.46v3.12l-.04.01-3.54-6.12c.02 0 .03-.02.04-.03l2.7 1.56ZM3.47 9.42a1.17 1.17 0 0 0-.32-.57l3.53-6.12a1.17 1.17 0 0 0 .65 0l3.54 6.12a1.17 1.17 0 0 0-.33.57H3.47Zm8.8-.74c-.1-.05-.21-.1-.32-.12V5.44a1.17 1.17 0 1 0-1.12-1.94l-2.7-1.56a1.17 1.17 0 1 0-2.24 0L3.19 3.5a1.17 1.17 0 1 0-1.13 1.94v3.12a1.17 1.17 0 1 0 1.12 1.94l2.7 1.56a1.17 1.17 0 1 0 2.24-.03l2.69-1.55a1.17 1.17 0 1 0 1.45-1.8Z"})),medium:a.createElement(a.Fragment,null,a.createElement("path",{d:"M0 0v14h14V0H0Zm11.63 3.32-.75.72a.22.22 0 0 0-.08.2v5.33c0 .07.03.14.08.18l.73.72v.16H7.92v-.16l.76-.74c.08-.07.08-.1.08-.21V5.24l-2.11 5.37h-.29L3.9 5.24v3.67c0 .13.05.25.14.34l.99 1.2v.16h-2.8v-.16l.98-1.2a.48.48 0 0 0 .13-.41V4.65c0-.11-.04-.2-.12-.27l-.88-1.06v-.16h2.73l2.1 4.62 1.86-4.62h2.6v.16Z"})),redux:a.createElement(a.Fragment,null,a.createElement("path",{d:"M4.06 9.69c.02.49.42.88.91.88H5a.91.91 0 0 0-.03-1.83h-.03c-.03 0-.08 0-.11.02a5.97 5.97 0 0 1-.85-3.62c.06-.98.39-1.82.96-2.52.47-.6 1.39-.9 2-.92 1.73-.03 2.47 2.12 2.51 2.99.22.04.57.16.82.24-.2-2.64-1.83-4-3.4-4-1.46 0-2.81 1.05-3.35 2.61a6.67 6.67 0 0 0 .65 5.68.74.74 0 0 0-.11.47Zm8.28-2.3a6.62 6.62 0 0 0-5.15-2.25h-.26a.9.9 0 0 0-.8-.49H6.1a.91.91 0 0 0 .03 1.83h.03a.92.92 0 0 0 .8-.56h.3c1.23 0 2.4.36 3.47 1.06.81.54 1.4 1.24 1.72 2.09.28.68.26 1.35-.03 1.92a2.4 2.4 0 0 1-2.23 1.34c-.65 0-1.27-.2-1.6-.34-.18.16-.5.42-.73.58.7.33 1.41.5 2.1.5 1.56 0 2.72-.85 3.16-1.72.47-.94.44-2.57-.78-3.96ZM4.9 12.9a4 4 0 0 1-.98.11c-1.2 0-2.3-.5-2.84-1.32C.38 10.6.13 8.3 2.5 6.58c.05.26.15.62.22.83-.31.23-.8.68-1.11 1.3a2.4 2.4 0 0 0 .13 2.53c.36.54.93.86 1.66.96.9.11 1.8-.05 2.66-.5a5.83 5.83 0 0 0 2.67-2.56.91.91 0 0 1 .62-1.55h.03a.92.92 0 0 1 .1 1.82 6.26 6.26 0 0 1-4.56 3.49Z"})),twitter:a.createElement(a.Fragment,null,a.createElement("path",{d:"M14 2.55c-.51.23-1.07.39-1.65.46.6-.36 1.05-.94 1.26-1.63-.55.34-1.17.58-1.82.72a2.84 2.84 0 0 0-2.1-.93 2.9 2.9 0 0 0-2.8 3.61 8.09 8.09 0 0 1-5.9-3.07 2.99 2.99 0 0 0 .88 3.93 2.8 2.8 0 0 1-1.3-.37v.04c0 1.42 1 2.61 2.3 2.89a2.82 2.82 0 0 1-1.3.05 2.89 2.89 0 0 0 2.7 2.04A5.67 5.67 0 0 1 0 11.51a7.98 7.98 0 0 0 4.4 1.32c5.29 0 8.17-4.48 8.17-8.38v-.38A5.93 5.93 0 0 0 14 2.55Z"})),youtube:a.createElement(a.Fragment,null,a.createElement("path",{d:"M13.99 8.17V5.83a14.95 14.95 0 0 0-.23-2.22c-.09-.38-.27-.7-.55-.96s-.6-.41-.97-.45A51.3 51.3 0 0 0 7 2c-2.34 0-4.09.07-5.24.2A1.78 1.78 0 0 0 .25 3.61 15.26 15.26 0 0 0 0 7v1.16a15.24 15.24 0 0 0 .24 2.22c.09.38.27.7.55.96.27.26.6.41.97.45 1.15.13 2.9.2 5.24.2 2.34 0 4.08-.06 5.24-.2.37-.04.7-.19.97-.45s.45-.58.54-.96a15.26 15.26 0 0 0 .24-2.22Zm-4.23-1.6c.16.1.24.24.24.43 0 .2-.08.33-.24.42l-4 2.5a.44.44 0 0 1-.26.08.54.54 0 0 1-.24-.06A.46.46 0 0 1 5 9.5v-5c0-.2.08-.34.26-.44.17-.1.34-.09.5.02l4 2.5Z"})),linkedin:a.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.6667 13H2.33333C1.59695 13 1 12.403 1 11.6667V2.33333C1 1.59695 1.59695 1 2.33333 1H11.6667C12.403 1 13 1.59695 13 2.33333V11.6667C13 12.403 12.403 13 11.6667 13ZM9.55293 11.3333H11.3337V7.67516C11.3337 6.12737 10.4563 5.379 9.23075 5.379C8.00467 5.379 7.48867 6.33378 7.48867 6.33378V5.55552H5.77255V11.3333H7.48867V8.30031C7.48867 7.48764 7.86276 7.00405 8.57878 7.00405C9.23696 7.00405 9.55293 7.46875 9.55293 8.30031V11.3333ZM2.66699 3.73279C2.66699 4.32157 3.14067 4.79896 3.72522 4.79896C4.30977 4.79896 4.78316 4.32157 4.78316 3.73279C4.78316 3.14402 4.30977 2.66663 3.72522 2.66663C3.14067 2.66663 2.66699 3.14402 2.66699 3.73279ZM4.62856 11.3333H2.83908V5.55552H4.62856V11.3333Z",fill:"#1EA7FD"}),vscode:a.createElement(a.Fragment,null,a.createElement("path",{d:"M10.24.04c.13 0 .26.03.38.09L13.5 1.5a.87.87 0 0 1 .5.8v.03-.01 9.39c0 .33-.2.63-.5.78l-2.88 1.38a.87.87 0 0 1-1-.17l-5.5-5.03-2.4 1.83a.58.58 0 0 1-.75-.04l-.77-.7a.58.58 0 0 1 0-.86L2.27 7 .2 5.1a.58.58 0 0 1 0-.86l.77-.7c.21-.2.52-.2.75-.04l2.4 1.83L9.63.3a.87.87 0 0 1 .61-.26Zm.26 3.78L6.32 7l4.18 3.18V3.82Z"}))},sm=w.svg({display:"inline-block",shapeRendering:"inherit",transform:"translate3d(0, 0, 0)",verticalAlign:"middle",path:{fill:"currentColor"}}),Fl=({icon:e,...t})=>a.createElement(sm,{viewBox:"0 0 14 14",width:"14px",height:"14px",...t},a.createElement(a.Fragment,null,om[e])),qt={large:40,medium:28,small:20,tiny:16},cm=w.div({background:"transparent",display:"inline-block",verticalAlign:"top",overflow:"hidden",textTransform:"uppercase",img:{width:"100%",height:"auto",display:"block"}},e=>({borderRadius:e.type==="user"?"50%":5,height:`${qt[e.size||"medium"]}px`,width:`${qt[e.size||"medium"]}px`,lineHeight:`${qt[e.size||"medium"]}px`,...e.isLoading&&{background:V.light,filter:"grayscale(1)"},...!e.src&&!e.isLoading&&{background:"#37D5D3"}})),dm=w(Fl)({position:"relative",margin:"0 auto",display:"block",verticalAlign:"top",path:{fill:V.medium,animation:`${Is} 1.5s ease-in-out infinite`}},e=>({bottom:`${e.type==="user"?-2:-4}px`,height:`${e.type==="user"?100:70}%`,width:`${e.type==="user"?100:70}%`})),um=w.div({color:V.lightest,textAlign:"center"},e=>({tiny:{fontSize:`${P.size.s1-2}px`,lineHeight:`${qt.tiny}px`},small:{fontSize:`${P.size.s1}px`,lineHeight:`${qt.small}px`},medium:{fontSize:`${P.size.s2}px`,lineHeight:`${qt.medium}px`},large:{fontSize:`${P.size.s3}px`,lineHeight:`${qt.large}px`}})[e.size||"medium"]),mm=({isLoading:e=!1,username:t="loading",src:n=void 0,size:r="medium",type:i="user",...l})=>{let o=a.createElement(dm,{icon:i==="user"?"useralt":"repository",type:i}),s={};return e?(s["aria-busy"]=!0,s["aria-label"]="Loading avatar ..."):n?o=a.createElement("img",{src:n,alt:t}):(s["aria-label"]=t,o=a.createElement(um,{size:r,"aria-hidden":"true"},t.substring(0,1))),a.createElement(cm,{size:r,isLoading:e,src:n,type:i,...s,...l},o)},pm=w.span(e=>e.withArrow&&{"> svg:last-of-type":{height:"0.65em",width:"0.65em",marginRight:0,marginLeft:"0.25em",bottom:"auto",verticalAlign:"inherit"}}),hm=w.a({display:"inline-block",transition:"transform 150ms ease-out, color 150ms ease-out",textDecoration:"none",color:V.secondary,"&:hover, &:focus-visible":{cursor:"pointer",transform:"translateY(-1px)",color:Gt(.07,V.secondary)},"&:active":{transform:"translateY(0)",color:Gt(.1,V.secondary)},svg:{display:"inline-block",height:"1em",width:"1em",verticalAlign:"text-top",position:"relative",bottom:"-0.125em",marginRight:"0.4em"}},e=>({...e.secondary&&{color:e.theme.base==="light"?V.mediumdark:V.medium,"&:hover":{color:e.theme.base==="light"?V.dark:V.light},"&:active":{color:e.theme.base==="light"?V.darker:V.lighter}},...e.tertiary&&{color:V.dark,"&:hover":{color:V.darkest},"&:active":{color:V.mediumdark}},...e.nochrome&&{color:"inherit","&:hover, &:active":{color:"inherit",textDecoration:"underline"}},...e.inverse&&{color:V.lightest,"&:hover":{color:V.lighter},"&:active":{color:V.light}}})),fm=w.a({}),gm=w.button({background:"none",border:"none",padding:"0",font:"inherit",cursor:"pointer"}),Hs=W(({inverse:e,isButton:t,LinkWrapper:n,nochrome:r,secondary:i,tertiary:l,...o},s)=>t?a.createElement(gm,{...o,ref:s}):n?a.createElement(n,{...o,ref:s}):a.createElement(fm,{...o,ref:s}));Hs.displayName="LinkComponentPicker";var Ie=W(({children:e,withArrow:t,...n},r)=>{let i=a.createElement(a.Fragment,null,a.createElement(pm,{withArrow:!!t},e,t&&a.createElement(Fl,{icon:"arrowright"})));return a.createElement(hm,{as:Hs,ref:r,...n},i)});Ie.displayName="Link";Ie.defaultProps={withArrow:!1,isButton:!1,secondary:!1,tertiary:!1,nochrome:!1,inverse:!1};var vm=w.label(e=>({...e.appearance!=="code"&&{fontWeight:P.weight.bold},...e.appearance==="code"?{fontFamily:P.type.code,fontSize:`${P.size.s1-1}px`,lineHeight:"16px"}:{fontSize:`${P.size.s2}px`,lineHeight:"20px"}})),ym=w.div([{marginBottom:8},e=>e.hideLabel&&{border:"0px !important",clip:"rect(0 0 0 0) !important",WebkitClipPath:"inset(100%) !important",clipPath:"inset(100%) !important",height:"1px !important",overflow:"hidden !important",padding:"0px !important",position:"absolute !important",whiteSpace:"nowrap !important",width:"1px !important"}]),Em=w.input({"&::placeholder":{color:V.mediumdark},appearance:"none",border:"none",boxSizing:"border-box",display:"block",outline:"none",width:"100%",margin:"0","&[disabled]":{cursor:"not-allowed",opacity:.5},"&:-webkit-autofill":{WebkitBoxShadow:`0 0 0 3em ${V.lightest} inset`}}),bm=e=>{let t={position:"relative",...e.error&&{zIndex:1},"&:focus":{zIndex:2}};switch(e.stackLevel){case"top":return{borderTopLeftRadius:"4px",borderTopRightRadius:"4px",borderBottomLeftRadius:0,borderBottomRightRadius:0,...t};case"middle":return{borderRadius:0,marginTop:-1,...t};case"bottom":return{borderBottomLeftRadius:"4px",borderBottomRightRadius:"4px",borderTopLeftRadius:0,borderTopRightRadius:0,marginTop:-1,...t};default:return{borderRadius:"4px"}}},km=w.div(e=>({display:"inline-block",position:"relative",verticalAlign:"top",width:"100%",".sbds-input-el":{position:"relative",...bm(e),background:V.lightest,color:V.darkest,fontSize:`${P.size.s2}px`,lineHeight:"20px",padding:"10px 15px",boxShadow:`${V.border} 0 0 0 1px inset`,"&:focus":{boxShadow:`${V.secondary} 0 0 0 1px inset`},...e.appearance==="pill"&&{fontSize:`${P.size.s1}px`,lineHeight:"16px",padding:"6px 12px",borderRadius:"3em",background:"transparent"},...e.appearance==="code"&&{fontSize:`${P.size.s1-1}px`,lineHeight:"16px",fontFamily:P.type.code,borderRadius:`${Al.borderRadius.small}px`,background:V.lightest,padding:"8px 10px"},...e.startingType==="password"&&{paddingRight:52},...e.icon&&{paddingLeft:40,...(e.appearance==="pill"||e.appearance==="code")&&{paddingLeft:30},"&:focus + svg path":{fill:V.darker}},...e.error&&{boxShadow:`${V.red} 0 0 0 1px inset`,"&:focus":{boxShadow:`${V.red} 0 0 0 1px inset !important`}}},"> svg":{...e.icon&&{transition:"all 150ms ease-out",position:"absolute",top:"50%",zIndex:3,background:"transparent",...e.appearance==="pill"||e.appearance==="code"?{fontSize:`${P.size.s1}px`,height:12,marginTop:-6,width:12,left:10}:{fontSize:`${P.size.s2}px`,height:14,marginTop:-7,width:14,left:e.appearance==="tertiary"?0:15},path:{transition:"all 150ms ease-out",fill:V.mediumdark}},...e.error&&{animation:`${Zs} 700ms ease-out`,path:{fill:V.red}}}})),wm=w.div(e=>e.orientation==="horizontal"&&{display:"table-row",".sbds-input-label-wrapper, .sbds-input-input-wrapper":{display:"table-cell"},".sbds-input-label-wrapper":{width:1,paddingRight:20,verticalAlign:"middle"},".sbds-input-input-wrapper":{width:"auto"}}),Cm=w(we)({width:"100%"}),Sm=w(ao)({width:170}),xm=w.div({position:"absolute",right:"0",minWidth:45,top:"50%",transform:"translateY(-50%)",fontWeight:"bold",fontSize:11,zIndex:2}),Po=({error:e,value:t,lastErrorValue:n})=>{let r=typeof e=="function"?e(t):e;return n&&t!==n&&(r=null),r},js=W(({id:e,appearance:t="default",className:n=void 0,error:r=null,errorTooltipPlacement:i="right",hideLabel:l=!1,icon:o=void 0,label:s,lastErrorValue:c=void 0,onActionClick:d=void 0,orientation:m="vertical",stackLevel:u=void 0,startingType:p="text",suppressErrorMessage:f=!1,type:g="text",value:y="",...k},E)=>{let[h,v]=Me(Po({error:r,value:y,lastErrorValue:c})),b=`${e}-error`;X(()=>{v(Po({error:r,value:y,lastErrorValue:c}))},[y,r,c]);let C=a.createElement(Em,{className:"sbds-input-el",id:e,ref:E,value:y,type:g,"aria-describedby":b,"aria-invalid":!!r,...k});return a.createElement(wm,{orientation:m,className:n},a.createElement(ym,{className:"sbds-input-label-wrapper",hideLabel:l},a.createElement(vm,{htmlFor:e,appearance:t},s)),a.createElement(km,{className:"sbds-input-input-wrapper",error:h,"data-error":h,icon:o,appearance:t,stackLevel:u,startingType:p},o&&a.createElement(Fl,{icon:o,"aria-hidden":!0}),a.createElement(Cm,{tabIndex:-1,placement:i,startOpen:!0,hasChrome:!!h&&!f,tooltip:h&&!f&&a.createElement(Sm,{desc:h}),role:"none"},C),p==="password"&&a.createElement(xm,null,a.createElement(Ie,{isButton:!0,tertiary:!0,onClick:d,type:"button"},g==="password"?"Show":"Hide"))))});js.displayName="PureInput";var zs=W(({type:e,startFocused:t,...n},r)=>{let[i,l]=Me(e),o=H(m=>{if(m.preventDefault(),m.stopPropagation(),i==="password"){l("text");return}l("password")},[i,l]),s=Ne(),c=r||s,d=Ne(!1);return X(()=>{c.current&&t&&!d.current&&(c.current.focus(),d.current=!0)},[c,t,d]),a.createElement(js,{ref:c,startingType:e,type:i,onActionClick:o,...n})});zs.displayName="Input";var Nm=w.div({borderRadius:"3em",cursor:"progress",display:"inline-block",overflow:"hidden",position:["relative","absolute"],transition:"all 200ms ease-out",verticalAlign:"top",top:"50%",left:"50%",marginTop:-16,marginLeft:-16,height:32,width:32,animation:`${Rs} 0.7s linear infinite`,borderWidth:2,borderStyle:"solid",borderColor:"rgba(0, 0, 0, 0.03)",borderTopColor:"rgba(0, 0, 0, 0.15)"},e=>({...e.inverse&&{borderColor:"rgba(255, 255, 255, 0.2)",borderTopColor:"rgba(255, 255, 255, 0.4)"},...e.inForm&&{marginTop:-6,marginLeft:-6,height:12,width:12,border:`1px solid ${V.secondary}`,borderBottomColor:"transparent"},...e.inline&&{position:"relative",top:"initial",left:"initial",marginTop:"initial",marginLeft:"initial",verticalAlign:"middle",height:8,width:8,border:"1px solid",borderTopColor:V.secondary,borderLeftColor:V.secondary,borderRightColor:V.secondary,borderBottomColor:"transparent",...e.positive&&{borderTopColor:V.positive,borderLeftColor:V.positive,borderRightColor:V.positive},...e.negative&&{borderTopColor:V.red,borderLeftColor:V.red,borderRightColor:V.red},...e.neutral&&{borderTopColor:V.dark,borderLeftColor:V.dark,borderRightColor:V.dark},...e.inverse&&{borderTopColor:V.lightest,borderLeftColor:V.lightest,borderRightColor:V.lightest}}})),Qi=e=>a.createElement(Nm,{"aria-label":"Content is loading ...","aria-live":"polite",role:"status",...e}),Mm=function(e){var t=new WeakMap;return function(n){if(t.has(n))return t.get(n);var r=e(n);return t.set(n,r),r}},Am=w.span({}),_m=w.span(({theme:e})=>({fontWeight:e.typography.weight.bold,whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis"})),Tm=w.span({}),Fm=w.span({}),Vo=w.li(({theme:e})=>({listStyle:"none","&:not(:first-of-type)":{borderTop:`1px solid ${e.appBorderColor}`}})),Om=w.span({lineHeight:"18px",padding:"7px 15px",display:"flex",alignItems:"center",justifyContent:"space-between",".sbds-list-item-title":{display:"block",flex:"0 1 auto",marginRight:"auto"},".sbds-list-item-left, .sbds-list-item-center, .sbds-list-item-right":{display:"inline-flex"},".sbds-list-item-center":{flex:"0 1 auto",marginLeft:"auto",marginRight:"auto"},".sbds-list-item-left, .sbds-list-item-right":{flex:"0 1 auto"},".sbds-list-item-right":{flex:"none",textAlign:"right",marginLeft:10}}),Ol=({active:e,activeColor:t,disabled:n,isLoading:r,theme:i})=>({fontSize:`${i.typography.size.s1}px`,transition:"all 150ms ease-out",color:i.color.mediumdark,textDecoration:"none",display:"block",".sbds-list-item-title":{color:i.base==="light"?i.color.darker:i.color.lighter},".sbds-list-item-right svg":{transition:"all 200ms ease-out",opacity:0,height:12,width:12,margin:"3px 0",verticalAlign:"top",path:{fill:i.color.mediumdark}},"&:hover":{background:i.background.hoverable,cursor:"pointer",".sbds-list-item-right svg":{opacity:1}},...e&&{".sbds-list-item-title":{fontWeight:i.typography.weight.bold},".sbds-list-item-title, .sbds-list-item-center":{color:t},".sbds-list-item-right svg":{opacity:1,path:{fill:t}}},...r&&{".sbds-list-item-title":{...j2,flex:"0 1 auto",display:"inline-block"}},...n&&{cursor:"not-allowed !important",".sbds-list-item-title, .sbds-list-item-center":{color:i.color.mediumdark}}}),Lm=w(({active:e,activeColor:t,isLoading:n,...r})=>a.createElement("a",{...r}))(Ol),Rm=w.span(Ol),Im=Mm(e=>w(({active:t,isLoading:n,activeColor:r,...i})=>a.createElement(e,{...i}))(Ol)),tt=({appearance:e="primary",left:t,title:n=a.createElement("span",null,"Loading"),center:r,right:i,onClick:l,LinkWrapper:o,isLink:s=!0,...c})=>{let d=Ut().color[e],m=a.createElement(Om,{onClick:l,role:"presentation"},t&&a.createElement(Am,{className:"sbds-list-item-left"},t),n&&a.createElement(_m,{className:"sbds-list-item-title"},n),r&&a.createElement(Tm,{className:"sbds-list-item-center"},r),i&&a.createElement(Fm,{className:"sbds-list-item-right"},i));if(o){let u=Im(o);return a.createElement(Vo,null,a.createElement(u,{activeColor:d,...c},m))}return a.createElement(Vo,null,a.createElement(s?Lm:Rm,{activeColor:d,...c},m))};function Yn(e){function t(O,I){return O>>>I|O<<32-I}for(var n,r,i=Math.pow,l=i(2,32),o="",s=[],c=8*e.length,d=Yn.h=Yn.h||[],m=Yn.k=Yn.k||[],u=m.length,p={},f=2;u<64;f++)if(!p[f]){for(n=0;n<313;n+=f)p[n]=f;d[u]=i(f,.5)*l|0,m[u++]=i(f,1/3)*l|0}for(e+="\x80";e.length%64-56;)e+="\0";for(n=0;n>8)return;s[n>>2]|=r<<(3-n)%4*8}for(s[s.length]=c/l|0,s[s.length]=c,r=0;r>>3)+g[n-7]+(t(E,17)^t(E,19)^E>>>10)|0);(d=[b+((t(h,2)^t(h,13)^t(h,22))+(h&d[1]^h&d[2]^d[1]&d[2]))|0].concat(d))[4]=d[4]+b|0}for(n=0;n<8;n++)d[n]=d[n]+y[n]|0}for(n=0;n<8;n++)for(r=3;r+1;r--){var C=d[n]>>8*r&255;o+=(C<16?0:"")+C.toString(16)}return o}var Zm=e=>new Uint8Array(e).reduce((t,n)=>t+String.fromCharCode(n),""),Bm=e=>window.btoa(Array.isArray(e)?Zm(e):e),Do=e=>Bm(e).replace(/\+/g,"-").replace(/\//g,"_").replace(/=/g,""),Pm=e=>Array.from(e.match(/.{1,2}/g)??[],t=>parseInt(t,16)),Vm=()=>Math.random().toString(36).slice(2,10)+Math.random().toString(36).slice(2,10)+Math.random().toString(36).slice(2,10)+Math.random().toString(36).slice(2,10),Us=e=>Object.entries(e).map(([t,n])=>`${encodeURIComponent(t)}=${encodeURIComponent(n)}`).join("&"),Dm=({error:e})=>e==="authorization_pending",Hm=({error_description:e})=>e==="Not OAuth beta user",jm=async e=>{let t=Do(Vm()),n=Do(Pm(Yn(t))),r=await fetch(`${Mr}/authorize`,{method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded;charset=UTF-8"},body:Us({client_id:"chromaui:addon-visual-tests",code_challenge:n})}),{device_code:i,user_code:l,verification_uri_complete:o,expires_in:s,interval:c}=await r.json(),d=e?o.replace("https://www",`https://${e}`):o;return{expires:Date.now()+s*1e3,interval:c*1e3,user_code:l,device_code:i,verifier:t,verificationUrl:d}},zm=async({expires:e,device_code:t,verifier:n})=>{if(Date.now()>=e)throw new Error("Token exchange expired, please restart sign in.");try{let r=await(await fetch(`${Mr}/token`,{method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded;charset=UTF-8"},body:Us({client_id:"chromaui:addon-visual-tests",grant_type:"urn:ietf:params:oauth:grant-type:device_code",device_code:t,code_verifier:n,scope:"user:read account:read project:read project:write"})})).json();if(Dm(r))throw new Error("You have not authorized the Visual Tests addon for Chromatic, please try again");if(r.access_token)return r.access_token;if(Hm(r))return alert("You must be a beta user to use this addon at this time."),null;throw new Error}catch(r){throw console.warn(r),r}};function $s(){let e=cn(),{addNotification:t,setOptions:n,togglePanel:r}=e,i=H(({onDismiss:l})=>{l(),n({selectedPanel:an}),r(!0)},[n,r]);return H((l,o)=>{t({id:`${Z}/error/${Date.now()}`,content:{headline:l,subHeadline:o.toString()},icon:a.createElement(xt,{color:ct.negative}),onClick:i})},[t,i])}function Ue(e,t){let n=H(()=>{try{let s=sessionStorage.getItem(`${Z}/state/${e}`);if(s!=null)return JSON.parse(s)}catch{}return typeof t=="function"?t():t},[e,t]),[r,i]=Me(n),l=wt(()=>zi(e,s=>{let c=new Set(sessionStorage.getItem(`${Z}/state`)?.split(";"));s==null?(sessionStorage.removeItem(`${Z}/state/${e}`),c.delete(e)):(sessionStorage.setItem(`${Z}/state/${e}`,JSON.stringify(s)),c.add(e)),sessionStorage.setItem(`${Z}/state`,Array.from(c).join(";")),window.dispatchEvent(new StorageEvent("session-storage",{key:e}))},1e3),[e]);X(()=>l.cancel,[l]);let o=H(s=>{let c=s;(!c.key||c.key===e)&&i(n())},[e,n]);return X(()=>(window.addEventListener("storage",o),window.addEventListener("session-storage",o),()=>{window.removeEventListener("storage",o),window.removeEventListener("session-storage",o)}),[o]),[r,H(s=>i(c=>{let d=typeof s=="function"?s(c):s;return l(d),d}),[l])]}function Um(...e){let t=sessionStorage.getItem(`${Z}/state`)?.split(";")||[];e.length?(e.forEach(n=>sessionStorage.removeItem(`${Z}/state/${n}`)),sessionStorage.setItem(`${Z}/state`,t.filter(n=>!e.includes(n)).join(";"))):(t.forEach(n=>sessionStorage.removeItem(`${Z}/state/${n}`)),sessionStorage.removeItem(`${Z}/state`))}var Ws=qe(void 0),$m=({children:e,addonUninstalled:t,setAddonUninstalled:n})=>{let r=cn().getChannel();if(!r)throw new Error("Channel not available");let i=()=>{r.emit(as),n(!0)};return a.createElement(Ws.Provider,{value:{addonUninstalled:t,uninstallAddon:i}},e)},Ll=()=>bt(Ws,"Uninstall Addon"),he=w.div({display:"flex",flexDirection:"column",flexGrow:1,alignItems:"center",justifyContent:"center",padding:10}),me=w.h1(({theme:e})=>({marginTop:0,marginBottom:4,fontSize:"1em",fontWeight:"bold",color:e.base==="light"?e.color.defaultText:e.color.lightest})),Gs=e=>a.createElement("svg",{width:"58",height:"53",viewBox:"0 0 58 53",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},a.createElement("g",{filter:"url(#filter0_dd_304_317890)"},a.createElement("rect",{x:"6",y:"2",width:"40",height:"40",rx:"8",fill:"#FF4785",shapeRendering:"crispEdges"}),a.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M17.5005 11.0555C16.8471 11.0963 16.3455 11.6508 16.37 12.3051L17.1135 32.1151C17.137 32.7426 17.6379 33.2471 18.2651 33.2753L34.3716 33.9987C34.3896 33.9995 34.4077 33.9999 34.4257 33.9999C35.0921 33.9999 35.6324 33.4597 35.6324 32.7932V11.2067C35.6324 11.1816 35.6316 11.1565 35.63 11.1314C35.5885 10.4663 35.0156 9.96082 34.3505 10.0024L33.0259 10.0853L33.1227 12.8548C33.1261 12.9541 33.0484 13.0375 32.949 13.041C32.9065 13.0424 32.8648 13.0288 32.8314 13.0025L31.939 12.2995L30.8825 13.1009C30.8033 13.161 30.6904 13.1455 30.6303 13.0663C30.605 13.033 30.5921 12.9919 30.5939 12.9501L30.707 10.2302L17.5005 11.0555ZM31.221 19.1936C30.7965 19.5234 27.6343 19.7484 27.6343 19.2789C27.7011 17.4876 26.8991 17.409 26.4536 17.409C26.0303 17.409 25.3174 17.537 25.3174 18.4966C25.3174 19.4746 26.3592 20.0267 27.582 20.6747C29.3191 21.5952 31.4215 22.7093 31.4215 25.5128C31.4215 28.1998 29.2383 29.6842 26.4536 29.6842C23.5797 29.6842 21.0683 28.5215 21.352 24.4904C21.4633 24.0171 25.1169 24.1296 25.1169 24.4904C25.0723 26.1538 25.4511 26.6431 26.409 26.6431C27.1442 26.6431 27.4783 26.2379 27.4783 25.5554C27.4783 24.5227 26.3929 23.9133 25.1442 23.2122C23.4534 22.2629 21.4633 21.1456 21.4633 18.5819C21.4633 16.0229 23.2233 14.3168 26.3645 14.3168C29.5056 14.3168 31.221 15.9967 31.221 19.1936Z",fill:"white"})),a.createElement("circle",{cx:"46",cy:"22",r:"2.5",fill:"white",stroke:"#FF4785"}),a.createElement("path",{d:"M57.8536 22.3536C58.0488 22.1583 58.0488 21.8417 57.8536 21.6464L54.6716 18.4645C54.4763 18.2692 54.1597 18.2692 53.9645 18.4645C53.7692 18.6597 53.7692 18.9763 53.9645 19.1716L56.7929 22L53.9645 24.8284C53.7692 25.0237 53.7692 25.3403 53.9645 25.5355C54.1597 25.7308 54.4763 25.7308 54.6716 25.5355L57.8536 22.3536ZM48.5 22.5H57.5V21.5H48.5V22.5Z",fill:"#FF4785"}),a.createElement("defs",null,a.createElement("filter",{id:"filter0_dd_304_317890",x:"0",y:"0",width:"52",height:"53",filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},a.createElement("feFlood",{floodOpacity:"0",result:"BackgroundImageFix"}),a.createElement("feColorMatrix",{in:"SourceAlpha",type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),a.createElement("feOffset",{dy:"5"}),a.createElement("feGaussianBlur",{stdDeviation:"3"}),a.createElement("feColorMatrix",{type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.06 0"}),a.createElement("feBlend",{mode:"normal",in2:"BackgroundImageFix",result:"effect1_dropShadow_304_317890"}),a.createElement("feColorMatrix",{in:"SourceAlpha",type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),a.createElement("feOffset",{dy:"1"}),a.createElement("feGaussianBlur",{stdDeviation:"1.5"}),a.createElement("feComposite",{in2:"hardAlpha",operator:"out"}),a.createElement("feColorMatrix",{type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.1 0"}),a.createElement("feBlend",{mode:"normal",in2:"effect1_dropShadow_304_317890",result:"effect2_dropShadow_304_317890"}),a.createElement("feBlend",{mode:"normal",in:"SourceGraphic",in2:"effect2_dropShadow_304_317890",result:"shape"})))),rn=e=>a.createElement("svg",{width:"52",height:"53",viewBox:"0 0 52 53",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},a.createElement("g",{filter:"url(#filter0_dd_304_317945)"},a.createElement("g",{clipPath:"url(#clip0_304_317945)"},a.createElement("rect",{x:"6",y:"2",width:"40",height:"40",rx:"8",fill:"#288041"}),a.createElement("g",{clipPath:"url(#clip1_304_317945)"},a.createElement("rect",{x:"14.75",y:"10.75",width:"22.5",height:"22.5",rx:"2",fill:"#215D31"}),a.createElement("rect",{x:"20.6104",y:"20.1591",width:"20.1485",height:"20.1485",transform:"rotate(45 20.6104 20.1591)",fill:"#93D4A5"}),a.createElement("rect",{x:"30.9502",y:"16.59",width:"20.1485",height:"20.1485",transform:"rotate(45 30.9502 16.59)",fill:"#93D4A5"}),a.createElement("circle",{cx:"20.435",cy:"16.2246",r:"2.45455",fill:"#93D4A5"})),a.createElement("rect",{x:"7.05469",y:"3",width:"53.75",height:"32.25",transform:"rotate(45 7.05469 3)",fill:"#67B47C"}),a.createElement("g",{clipPath:"url(#clip2_304_317945)"},a.createElement("g",{clipPath:"url(#clip3_304_317945)"},a.createElement("rect",{x:"14.75",y:"10.75",width:"22.5",height:"22.5",rx:"2",fill:"#2B733F"}),a.createElement("rect",{x:"21.3604",y:"21.6592",width:"20.1485",height:"20.1485",transform:"rotate(45 21.3604 21.6592)",fill:"#A9E0B8"}),a.createElement("rect",{x:"32.2012",y:"18.5908",width:"20.1485",height:"20.1485",transform:"rotate(45 32.2012 18.5908)",fill:"#A9E0B8"}),a.createElement("circle",{cx:"21.685",cy:"17.9746",r:"2.45455",fill:"#A9E0B8"}))))),a.createElement("defs",null,a.createElement("filter",{id:"filter0_dd_304_317945",x:"0",y:"0",width:"52",height:"53",filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},a.createElement("feFlood",{floodOpacity:"0",result:"BackgroundImageFix"}),a.createElement("feColorMatrix",{in:"SourceAlpha",type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),a.createElement("feOffset",{dy:"5"}),a.createElement("feGaussianBlur",{stdDeviation:"3"}),a.createElement("feComposite",{in2:"hardAlpha",operator:"out"}),a.createElement("feColorMatrix",{type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.06 0"}),a.createElement("feBlend",{mode:"normal",in2:"BackgroundImageFix",result:"effect1_dropShadow_304_317945"}),a.createElement("feColorMatrix",{in:"SourceAlpha",type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),a.createElement("feOffset",{dy:"1"}),a.createElement("feGaussianBlur",{stdDeviation:"1.5"}),a.createElement("feComposite",{in2:"hardAlpha",operator:"out"}),a.createElement("feColorMatrix",{type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.1 0"}),a.createElement("feBlend",{mode:"normal",in2:"effect1_dropShadow_304_317945",result:"effect2_dropShadow_304_317945"}),a.createElement("feBlend",{mode:"normal",in:"SourceGraphic",in2:"effect2_dropShadow_304_317945",result:"shape"})),a.createElement("clipPath",{id:"clip0_304_317945"},a.createElement("rect",{x:"6",y:"2",width:"40",height:"40",rx:"8",fill:"white"})),a.createElement("clipPath",{id:"clip1_304_317945"},a.createElement("rect",{x:"14.75",y:"10.75",width:"22.5",height:"22.5",rx:"2",fill:"white"})),a.createElement("clipPath",{id:"clip2_304_317945"},a.createElement("rect",{width:"60.7428",height:"29.9046",fill:"white",transform:"translate(7.20801 3.17212) rotate(45)"})),a.createElement("clipPath",{id:"clip3_304_317945"},a.createElement("rect",{x:"14.75",y:"10.75",width:"22.5",height:"22.5",rx:"2",fill:"white"})))),Wm=et(ya()),qs=w.div({display:"flex",flexDirection:"column"}),Ki=w.div(({theme:e})=>({padding:15,lineHeight:"18px",borderBottom:`1px solid ${e.appBorderColor}`,p:{margin:"10px 0","&:last-of-type":{marginBottom:0}},dl:{display:"grid",gridTemplateColumns:"auto 1fr",gap:10,margin:"10px 0 0 0"},dt:{color:e.color.mediumdark,fontWeight:700},dd:{marginLeft:0},"button + button":{marginLeft:10}})),cr=w.div({display:"flex",fontWeight:"bold",marginBottom:15}),Ho=w(G5)(({theme:e})=>({width:12,height:12,margin:"3px 6px",verticalAlign:"top",color:e.color.mediumdark})),Or={width:14,height:14,margin:"2px 6px 2px 0",verticalAlign:"top"},Gm=w(ru)(Or),qm=w(V5)(Or),Ym=w(is)(Or),Qm=w(H5)(Or),Rl=w(fl)({marginLeft:"auto"}),Il=w(Je)({margin:-5,marginLeft:"auto"}),ce=w(Kr)({"&&":{display:"inline-flex",borderRadius:4,fontSize:13,lineHeight:"14px",padding:"9px 12px",alignItems:"center","@container (min-width: 800px)":{padding:"8px 10px"}}},({link:e,theme:t})=>e&&ue({"&&":{background:"none",boxShadow:"none",padding:2,fontWeight:"normal",color:t.base==="light"?t.color.dark:"#C9CDCF",opacity:.8,transition:"opacity 150ms ease-out","&:hover, &:focus":{opacity:1},"&:focus:not(:active)":{outline:`1px solid ${t.color.secondary}`}}}),({tertiary:e})=>e&&ue({"&&:hover":{boxShadow:"none"}}),({belowText:e})=>e&&{marginTop:7}),Fe=w(eo)(({theme:e})=>({color:e.base==="light"?e.color.darker:e.color.lighter,border:`1px solid ${e.appBorderColor}`,fontSize:"12px",padding:"2px 3px"})),Km={autoAcceptChanges:{description:"Automatically accept visual changes - usually for a specific branch name.",type:"true or branch name"},buildScriptName:{description:"The package.json script that builds your Storybook.",type:"string"},cypress:{description:"Run build against `@chromatic-com/cypress` test archives.",type:"boolean"},debug:{description:"Output verbose logs and debug information.",type:"boolean"},diagnosticsFile:{description:"Write process information to a JSON file.",type:"string or boolean"},exitOnceUploaded:{description:"Exit the process as soon as your Storybook is published.",type:"string or boolean"},exitZeroOnChanges:{description:"Exit the process succesfully even when visual changes are found.",type:"string or boolean"},externals:{description:"Disable TurboSnap when any of these files have changed since the baseline build.",type:"string: ['public/**']"},fileHashing:{description:"Apply file hashing to skip uploading unchanged files - default: true",type:"boolean"},ignoreLastBuildOnBranch:{description:"Do not use the last build on this branch as a baseline if it is no longer in history (i.e. branch was rebased).",type:"string"},junitReport:{description:"Write build results to a JUnit XML file.",type:"string or boolean"},logFile:{description:"Write Chromatic CLI logs to a file.",type:"string or boolean"},onlyChanged:{description:"Enables TurboSnap to only run stories affected by files changed since the baseline build.",type:"true or string (branch name)",glob:!0},onlyStoryFiles:{description:"Only run a single story or a subset of stories by their filename(s).",type:"string[]"},onlyStoryNames:{description:"Only run a single story or a subset of stories by their name(s).",type:"string[]"},outputDir:{description:"Relative path to target directory for building your Storybook, in case you want to preserve it.",type:"string"},playwright:{description:"Run build against `@chromatic-com/playwright` test archives.",type:"boolean"},projectId:{description:"Unique identifier for your project. ",type:"string"},projectToken:{description:"Secret token for your project. Preferably configured through CHROMATIC_PROJECT_TOKEN.",type:"string"},skip:{description:"Skip Chromatic tests, but mark the commit as passing. Avoids blocking PRs due to required merge checks.",type:"string or boolean"},storybookBaseDir:{description:"Relative path from repository root to Storybook project root.",type:"string"},storybookBuildDir:{description:"Path to the directory of an already built Storybook.",type:"string"},storybookConfigDir:{description:"Relative path from where you run Chromatic to your Storybook config directory.",type:"string"},storybookLogFile:{description:"Write Storybook build logs to a file.",type:"string or boolean"},untraced:{description:"Disregard these files and their dependencies when tracing dependent stories for TurboSnap.",type:"string[]"},uploadMetadata:{description:"Upload Chromatic metadata files as part of the published Storybook.",type:"boolean"},zip:{description:"Publish your Storybook to Chromatic as a single zip file instead of individual content files.",type:"boolean"}},Jm=w(Il)({position:"absolute",right:16,top:10}),Xm=w.div(({theme:e})=>({backgroundColor:e.background.content,display:"flex",flexDirection:"column",minHeight:"100%",overflowY:"auto",padding:20,position:"relative"})),e4=w.div({margin:"0 auto",maxWidth:600,width:"100%"}),jo=w.div(({theme:e})=>({borderBottom:`1px solid ${e.appBorderColor}`,marginBottom:20,paddingBottom:20,code:{fontSize:"90%"}})),t4=w(cr)({marginBottom:10}),n4=w.div({display:"flex",flexDirection:"column",gap:20}),zo=w.div(({theme:e})=>({alignItems:"center",borderRadius:e.appBorderRadius,display:"flex",flexWrap:"wrap","> div":{width:"100%"}})),Uo=w.div(({theme:e})=>({display:"flex",flexGrow:1,flexWrap:"wrap",gap:"5px 10px"})),$o=w.div(({theme:e})=>({fontWeight:e.typography.weight.bold,div:{marginLeft:5,position:"relative",top:2}})),Wo=w.div({marginTop:10}),a4=w.div(({hideBorderRadius:e,theme:t})=>({background:t.base==="dark"?t.color.darkest:t.color.lighter,border:`1px solid ${t.appBorderColor}`,borderRadius:t.appBorderRadius,borderBottomLeftRadius:e?0:t.appBorderRadius,borderBottomRightRadius:e?0:t.appBorderRadius,color:t.base==="dark"?t.color.medium:t.color.dark,fontFamily:t.typography.fonts.mono,fontSize:13,lineHeight:"20px",padding:"5px 10px",wordWrap:"break-word"})),r4=w.div(({theme:e})=>({color:e.color.warningText})),Go=w.div(({theme:e})=>({color:e.base==="dark"?e.color.medium:e.color.dark,marginTop:2})),qo=w.div(({warning:e,theme:t})=>({alignItems:"center",display:"flex",backgroundColor:e?t.base==="dark"?"#342E1A":t.background.warning:t.background.hoverable,border:`1px solid ${t.appBorderColor}`,borderRadius:3,borderTopLeftRadius:0,borderTopRightRadius:0,borderTop:0,fontSize:t.typography.size.s1,gap:5,lineHeight:"20px",padding:5,svg:{color:e?t.base==="dark"?t.color.warning:t.color.warningText:t.color.secondary,flexShrink:0},code:{fontSize:"85%"}})),i4=w.div(({theme:e})=>({"&:nth-last-of-type(2)":{borderBottom:`1px solid ${e.appBorderColor}`,paddingBottom:30}})),Ys={height:12,margin:2,verticalAlign:"top",width:12},l4=w(Y5)(Ys),o4=w(U5)(Ys),s4=({onClose:e})=>{let{uninstallAddon:t}=Ll(),[n]=Ee(Ar),{configuration:r={},problems:i={},suggestions:l={}}=n||{},{configFile:o,...s}=r,c=Object.keys({...s,...i,...l}).sort().map(d=>({key:d,value:d in s?s[d]:void 0,problem:i[d],suggestion:l[d]}));return a.createElement(Xm,null,a.createElement(Jm,{onClick:e,style:{marginRight:-8}},a.createElement(Rl,{"aria-label":"Close"})),a.createElement(e4,null,a.createElement(t4,null,"Configuration"),o?a.createElement(jo,null,"This is a read-only representation of the Chromatic configuration options found in"," ",a.createElement(Fe,null,o),". Changes to the config file will be reflected here."," ",a.createElement($t,{href:"https://www.chromatic.com/docs/configure/",target:"_blank",withArrow:!0},"Learn more")):a.createElement(jo,null,"To configure this addon, create ",a.createElement(Fe,null,"chromatic.config.json")," in your project's root directory."," ",a.createElement($t,{href:"https://www.chromatic.com/docs/cli#chromatic-config-file",target:"_blank",withArrow:!0},"Learn more")),c&&a.createElement(n4,null,c.map(({key:d,value:m,problem:u,suggestion:p})=>a.createElement(i4,{key:d,id:`${d}-option`},a.createElement(zo,null,a.createElement(Uo,null,a.createElement($o,null,d," "),d in S5&&a.createElement(r4,null,"*Disabled for local builds")),a.createElement(Go,null,Km[d]?.description),a.createElement(Wo,null,a.createElement(a4,{hideBorderRadius:!!(u||p)},m===void 0?"undefined":JSON.stringify(m)))),u!==void 0&&a.createElement(qo,{warning:!0},a.createElement(l4,null),u===null?a.createElement("span",null,a.createElement("strong",null,"Warning: "),"This should be removed."):a.createElement("span",null,a.createElement("strong",null,"Warning: "),"This should be: ",a.createElement(Fe,null,JSON.stringify(u)))),p!==void 0&&a.createElement(qo,null,a.createElement(o4,null),a.createElement("span",null,a.createElement("strong",null,"Hint: "),"Try setting as ",a.createElement(Fe,null,JSON.stringify(p)))))),a.createElement("div",null,a.createElement(zo,null,a.createElement(Uo,null,a.createElement($o,null,"Uninstall addon")),a.createElement(Go,null,"Removing the addon updates your Storybook configuration and uninstalls the dependency."),a.createElement(Wo,null,a.createElement(ce,{onClick:t},"Uninstall")))))))},Qs={configVisible:!1,settingsVisible:!1,warningsVisible:!1,baselineImageVisible:!1,focusVisible:!1,diffVisible:!1},un=e=>(t,n)=>({...t,[e]:typeof n=="boolean"?n:!t[e]}),c4={toggleDiff:un("diffVisible"),toggleFocus:un("focusVisible"),toggleConfig:un("configVisible"),toggleSettings:un("settingsVisible"),toggleWarnings:un("warningsVisible"),toggleBaselineImage:un("baselineImageVisible")},d4=(e,t)=>c4[t.type](e,t.payload),Ks=qe(Qs),Js=qe(()=>{}),Lr=()=>bt(Ks,"Controls"),_n=()=>{let e=bt(Js,"ControlsDispatch");return wt(()=>({toggleDiff:t=>e({type:"toggleDiff",payload:t}),toggleFocus:t=>e({type:"toggleFocus",payload:t}),toggleConfig:t=>e({type:"toggleConfig",payload:t}),toggleSettings:t=>e({type:"toggleSettings",payload:t}),toggleWarnings:t=>e({type:"toggleWarnings",payload:t}),toggleBaselineImage:t=>e({type:"toggleBaselineImage",payload:t})}),[e])},u4=({children:e,initialState:t=Qs})=>{let[n,r]=Xl(d4,t);return a.createElement(Ks.Provider,{value:n},a.createElement(Js.Provider,{value:r},e))},m4=w.div({"& > div":{minWidth:120}}),ia=({children:e,links:t,note:n,...r})=>{let[i,l]=a.useState(!1),o=a.createElement(we,{closeOnOutsideClick:!0,closeOnTriggerHidden:!0,onVisibleChange:s=>l(s),tooltip:({onHide:s})=>a.createElement(m4,null,a.createElement(no,{links:t.map(c=>({...c,onClick:(...d)=>(s(),c.onClick?.(...d))}))})),trigger:"click",...r},typeof e=="function"?e(i):a.createElement(Je,{active:i},e));return n?a.createElement(we,{tooltip:a.createElement(_e,{note:n}),trigger:"hover",hasChrome:!1},o):o},Rr=()=>{let{accessToken:e,setAccessToken:t,subdomain:n}=Tl(),{toggleConfig:r}=_n(),[i]=Ee(ns),{projectId:l}=i||{},o=[{id:"learn",title:"About this addon",icon:a.createElement(ss,{"aria-hidden":!0}),href:"https://www.chromatic.com/docs/visual-testing-addon",target:"_blank"},{id:"configuration",title:"Configuration",icon:a.createElement(j5,{"aria-hidden":!0}),onClick:()=>r()},...l?[{id:"visit",title:"View project on Chromatic",icon:a.createElement(cs,{"aria-hidden":!0}),href:l?`https://${n}.chromatic.com/builds?appId=${l?.split(":")[1]}`:`https://${n}.chromatic.com/start`,target:"_blank"}]:[],...e?[{id:"logout",title:"Log out",icon:a.createElement(iu,{"aria-hidden":!0}),onClick:()=>t(null)}]:[]];return a.createElement(ia,{placement:"top",links:o},a.createElement(z5,null))};w.div(({hidden:e,theme:t})=>({background:t.background.app,containerType:"size",display:e?"none":"flex",flexDirection:"column",height:"100%"}));var p4=w.div({display:"flex",flexDirection:"column",flexGrow:1},({hidden:e})=>e&&{display:"none"}),Xn=w.div(({grow:e})=>e&&{flexGrow:e?1:"auto"}),Qn=w.div({display:"flex",flexDirection:"row",margin:15},({header:e,theme:t})=>e&&{margin:0,padding:15,borderBottom:`1px solid ${t.appBorderColor}`,"@container (min-width: 800px)":{height:40,alignItems:"center",justifyContent:"space-between",padding:"5px 15px"}}),h4=w(Qn)({alignItems:"center",height:40,margin:"0 10px"}),Xe=w.div({display:"flex",flexDirection:"column",alignItems:"center"},({push:e})=>e&&{marginLeft:"auto"}),Yo=w.div(({theme:e})=>({borderBottom:`1px solid ${e.appBorderColor}`,display:"flex",alignItems:"center",minHeight:40,lineHeight:"20px",padding:"5px 15px"})),f4=w(Xn)(({theme:e})=>({background:e.background.warning,color:e.color.warningText})),g4=w(Xn)(({theme:e})=>({background:e.background.hoverable,color:e.color.defaultText})),v4=({hidden:e,ignoreConfig:t,ignoreSuggestions:n,onOpen:r})=>{let[i]=Ee(Ar),l=Object.keys(i?.problems||{}),o=Object.keys(i?.suggestions||{}),[s,c]=Me(()=>!!localStorage.getItem(bo)),d=H(()=>{c(!0),localStorage.setItem(bo,"true")},[]),m=a.createElement(Ie,{isButton:!0,onClick:()=>r(l[0]||o[0]),withArrow:!0},"Show details");return l.length>0&&!t?a.createElement(f4,{hidden:e},a.createElement(Yo,null,a.createElement(Xe,null,a.createElement("span",null,"Visual tests locked due to configuration ",(0,Wm.default)("problem",l.length),"."," ",m)))):o.length>0&&!s&&!t&&!n?a.createElement(g4,{hidden:e},a.createElement(Yo,null,a.createElement(Xe,null,a.createElement("span",null,"Configuration could be improved. ",m)),a.createElement(Xe,{push:!0},a.createElement(Je,{onClick:d},a.createElement(fl,null))))):null},y4=w.div({display:"flex",flexDirection:"column",height:"100%"}),Qo=w.div(({hidden:e,theme:t})=>({background:t.background.app,display:e?"none":"flex",flexDirection:"column",flexGrow:1,height:"100%",overflowY:"auto"})),Ir=w.div(({theme:e})=>({background:e.background.bar,borderTop:`1px solid ${e.appBorderColor}`,display:"flex",flexDirection:"row",alignItems:"center",height:39,flexShrink:0,padding:"0 10px"})),ve=({children:e,footer:t=a.createElement(Ir,null,a.createElement(Xe,{push:!0}),a.createElement(Xe,null,a.createElement(Rr,null))),ignoreConfig:n=!1,ignoreSuggestions:r=!t})=>{let{configVisible:i}=Lr(),{toggleConfig:l}=_n(),o=H(s=>{l(!0),s&&setTimeout(()=>{document.getElementById(`${s}-option`)?.scrollIntoView({behavior:"smooth",inline:"nearest"})},200)},[l]);return a.createElement(y4,null,a.createElement(v4,{onOpen:o,hidden:i,ignoreConfig:n,ignoreSuggestions:r}),a.createElement(Qo,{hidden:i},e),a.createElement(Qo,{hidden:!i},a.createElement(s4,{onClose:()=>l(!1)})),t)},E4=w.div(({theme:e})=>({position:"relative","&& input":{color:e.input.color||"inherit",background:e.input.background,boxShadow:`${e.input.border} 0 0 0 1px inset`,fontSize:e.typography.size.s2,lineHeight:"20px"}})),b4=w.div(({theme:e})=>({pointerEvents:"none",position:"absolute",top:0,left:40,right:0,zIndex:2,overflow:"hidden",height:40,display:"flex",alignItems:"center",lineHeight:"20px",color:e.input.color||"inherit",fontSize:e.typography.size.s2,span:{opacity:0}})),k4=({value:e,placeholder:t,suffix:n})=>a.createElement(b4,null,a.createElement("span",null,e||t),a.createElement("b",null,n)),w4=({id:e,value:t,placeholder:n,suffix:r,...i})=>a.createElement(E4,null,a.createElement(zs,{id:e,hideLabel:!0,label:"",value:t,placeholder:n,crossOrigin:void 0,enterKeyHint:void 0,...i}),a.createElement(k4,{value:t,placeholder:n,suffix:r})),Ko=w(Je)(({theme:e})=>({color:e.base==="light"?"currentColor":e.color.medium,fontSize:e.typography.size.s2,fontWeight:e.typography.weight.bold})),Zr=({onBack:e})=>a.createElement(h4,null,e&&a.createElement(Xe,null,a.createElement(Ko,{onClick:e},a.createElement(K5,null),"Back")),a.createElement(Xe,{push:!0},a.createElement(we,{as:"div",hasChrome:!1,trigger:"hover",tooltip:a.createElement(_e,{note:"Learn about visual tests"})},a.createElement(Ko,{as:"a",href:"https://www.chromatic.com/features/visual-test",target:"_blank"},a.createElement(ss,null))))),C4=w.form({position:"relative",display:"flex",flexDirection:"column",width:"100%",maxWidth:300,margin:10}),S4=w(Kr)({"&&":{fontSize:13,borderTopLeftRadius:0,borderTopRightRadius:0,borderBottomLeftRadius:4,borderBottomRightRadius:4}}),x4=({onBack:e,onSignIn:t})=>{let[n,r]=Me(""),[i,l]=Me(null),o=H(c=>{let d=c.target.value.replace(/[^a-z0-9-]/g,"");r(d),l(null)},[]),s=H(c=>{c.preventDefault(),n?t(n):l("Please enter a subdomain")},[n,t]);return a.createElement(ve,{footer:null,ignoreConfig:!0},a.createElement(Zr,{onBack:e}),a.createElement(he,null,a.createElement("div",null,a.createElement(Gs,null),a.createElement(rn,null)),a.createElement(me,null,"Sign in with SSO"),a.createElement(j,{muted:!0},"Enter your team's Chromatic URL."),a.createElement(C4,{onSubmit:s},a.createElement(w4,{autoFocus:!0,icon:"users",value:n,placeholder:"yourteam",suffix:".chromatic.com",onChange:o,id:"subdomain-input",stackLevel:"top",error:i,errorTooltipPlacement:"top"}),a.createElement(S4,{type:"submit",variant:"solid",size:"medium"},"Continue"))))},yt=w.div(()=>({display:"flex",flexDirection:"column",gap:5,alignItems:"center",textAlign:"center"})),se=w.div(e=>({display:"flex",flexDirection:"column",gap:15,alignItems:e.alignItems??"center",textAlign:e.textAlign??"center"})),N4=({onBack:e,onSignIn:t,onSignInWithSSO:n})=>a.createElement(ve,{footer:null,ignoreConfig:!0},a.createElement(Zr,{onBack:e}),a.createElement(he,null,a.createElement(se,{alignItems:"center",textAlign:"center"},a.createElement("div",null,a.createElement(Gs,null),a.createElement(rn,null),a.createElement(me,null,"Sign in to begin visual testing"),a.createElement(j,{center:!0,muted:!0},"Pinpoint bugs instantly by connecting with cloud browsers that run visual tests in parallel.")),a.createElement(yt,null,a.createElement(ce,{variant:"solid",size:"medium",onClick:()=>t()},"Sign in with Chromatic"),a.createElement(ce,{link:!0,onClick:()=>n()},"Sign in with SSO")))));function yn(e,t){return t}var M4={"\n query VisualTestsProjectCountQuery {\n viewer {\n projectCount\n accounts {\n newProjectUrl\n }\n }\n }\n":q2,"\n query SelectProjectsQuery {\n viewer {\n accounts {\n id\n name\n avatarUrl\n newProjectUrl\n projects {\n id\n name\n webUrl\n lastBuild {\n branch\n number\n }\n }\n }\n }\n }\n":Y2,"\n query ProjectQuery($projectId: ID!) {\n project(id: $projectId) {\n id\n name\n webUrl\n lastBuild {\n branch\n number\n }\n }\n }\n":Q2,"\n mutation UpdateUserPreferences($input: UserPreferencesInput!) {\n updateUserPreferences(input: $input) {\n updatedPreferences {\n vtaOnboarding\n }\n }\n }\n":K2,"\n query AddonVisualTestsBuild(\n $projectId: ID!\n $branch: String!\n $gitUserEmailHash: String!\n $repositoryOwnerName: String\n $storyId: String!\n $testStatuses: [TestStatus!]!\n $selectedBuildId: ID!\n $hasSelectedBuildId: Boolean!\n ) {\n project(id: $projectId) {\n name\n manageUrl\n account {\n billingUrl\n suspensionReason\n }\n features {\n uiTests\n }\n lastBuildOnBranch: lastBuild(\n branches: [$branch]\n repositoryOwnerName: $repositoryOwnerName\n localBuilds: { localBuildEmailHash: $gitUserEmailHash }\n ) {\n ...LastBuildOnBranchBuildFields\n ...SelectedBuildFields @skip(if: $hasSelectedBuildId)\n }\n lastBuild {\n id\n slug\n branch\n }\n }\n selectedBuild: build(id: $selectedBuildId) @include(if: $hasSelectedBuildId) {\n ...SelectedBuildFields\n }\n viewer {\n preferences {\n vtaOnboarding\n }\n projectMembership(projectId: $projectId) {\n userCanReview: meetsAccessLevel(minimumAccessLevel: REVIEWER)\n }\n }\n }\n":J2,"\n fragment LastBuildOnBranchBuildFields on Build {\n __typename\n id\n status\n committedAt\n ... on StartedBuild {\n testsForStatus: tests(first: 1000, statuses: $testStatuses) {\n nodes {\n ...StatusTestFields\n }\n }\n testsForStory: tests(storyId: $storyId) {\n nodes {\n ...LastBuildOnBranchTestFields\n }\n }\n }\n ... on CompletedBuild {\n result\n testsForStatus: tests(first: 1000, statuses: $testStatuses) {\n nodes {\n ...StatusTestFields\n }\n }\n testsForStory: tests(storyId: $storyId) {\n nodes {\n ...LastBuildOnBranchTestFields\n }\n }\n }\n }\n":$2,"\n fragment SelectedBuildFields on Build {\n __typename\n id\n number\n branch\n commit\n committedAt\n uncommittedHash\n status\n ... on StartedBuild {\n startedAt\n testsForStory: tests(storyId: $storyId) {\n nodes {\n ...StoryTestFields\n }\n }\n }\n ... on CompletedBuild {\n startedAt\n testsForStory: tests(storyId: $storyId) {\n nodes {\n ...StoryTestFields\n }\n }\n }\n }\n":G2,"\n fragment StatusTestFields on Test {\n id\n status\n result\n story {\n storyId\n }\n }\n":z2,"\n fragment LastBuildOnBranchTestFields on Test {\n status\n result\n }\n":U2,"\n fragment StoryTestFields on Test {\n id\n status\n result\n webUrl\n comparisons {\n id\n result\n browser {\n id\n key\n name\n version\n }\n captureDiff {\n diffImage(signed: true) {\n imageUrl\n imageWidth\n }\n focusImage(signed: true) {\n imageUrl\n imageWidth\n }\n }\n headCapture {\n captureImage(signed: true) {\n backgroundColor\n imageUrl\n imageWidth\n imageHeight\n thumbnailUrl\n }\n captureError {\n kind\n ... on CaptureErrorInteractionFailure {\n error\n }\n ... on CaptureErrorJSError {\n error\n }\n ... on CaptureErrorFailedJS {\n error\n }\n }\n }\n baseCapture {\n captureImage(signed: true) {\n imageUrl\n imageWidth\n imageHeight\n }\n }\n }\n mode {\n name\n globals\n }\n story {\n storyId\n name\n component {\n name\n }\n }\n }\n":W2,"\n mutation ReviewTest($input: ReviewTestInput!) {\n reviewTest(input: $input) {\n updatedTests {\n id\n status\n }\n userErrors {\n ... on UserError {\n __typename\n message\n }\n ... on BuildSupersededError {\n build {\n id\n }\n }\n ... on TestUnreviewableError {\n test {\n id\n }\n }\n }\n }\n }\n":X2};function lt(e){return M4[e]??{}}var le;(function(e){e.assertEqual=i=>i;function t(i){}e.assertIs=t;function n(i){throw new Error}e.assertNever=n,e.arrayToEnum=i=>{let l={};for(let o of i)l[o]=o;return l},e.getValidEnumValues=i=>{let l=e.objectKeys(i).filter(s=>typeof i[i[s]]!="number"),o={};for(let s of l)o[s]=i[s];return e.objectValues(o)},e.objectValues=i=>e.objectKeys(i).map(function(l){return i[l]}),e.objectKeys=typeof Object.keys=="function"?i=>Object.keys(i):i=>{let l=[];for(let o in i)Object.prototype.hasOwnProperty.call(i,o)&&l.push(o);return l},e.find=(i,l)=>{for(let o of i)if(l(o))return o},e.isInteger=typeof Number.isInteger=="function"?i=>Number.isInteger(i):i=>typeof i=="number"&&isFinite(i)&&Math.floor(i)===i;function r(i,l=" | "){return i.map(o=>typeof o=="string"?`'${o}'`:o).join(l)}e.joinValues=r,e.jsonStringifyReplacer=(i,l)=>typeof l=="bigint"?l.toString():l})(le||(le={}));var Ji;(function(e){e.mergeShapes=(t,n)=>({...t,...n})})(Ji||(Ji={}));var M=le.arrayToEnum(["string","nan","number","integer","float","boolean","date","bigint","symbol","function","undefined","null","array","object","unknown","promise","void","never","map","set"]),Lt=e=>{switch(typeof e){case"undefined":return M.undefined;case"string":return M.string;case"number":return isNaN(e)?M.nan:M.number;case"boolean":return M.boolean;case"function":return M.function;case"bigint":return M.bigint;case"symbol":return M.symbol;case"object":return Array.isArray(e)?M.array:e===null?M.null:e.then&&typeof e.then=="function"&&e.catch&&typeof e.catch=="function"?M.promise:typeof Map<"u"&&e instanceof Map?M.map:typeof Set<"u"&&e instanceof Set?M.set:typeof Date<"u"&&e instanceof Date?M.date:M.object;default:return M.unknown}},x=le.arrayToEnum(["invalid_type","invalid_literal","custom","invalid_union","invalid_union_discriminator","invalid_enum_value","unrecognized_keys","invalid_arguments","invalid_return_type","invalid_date","invalid_string","too_small","too_big","invalid_intersection_types","not_multiple_of","not_finite"]),A4=e=>JSON.stringify(e,null,2).replace(/"([^"]+)":/g,"$1:"),at=class extends Error{constructor(e){super(),this.issues=[],this.addIssue=n=>{this.issues=[...this.issues,n]},this.addIssues=(n=[])=>{this.issues=[...this.issues,...n]};let t=new.target.prototype;Object.setPrototypeOf?Object.setPrototypeOf(this,t):this.__proto__=t,this.name="ZodError",this.issues=e}get errors(){return this.issues}format(e){let t=e||function(i){return i.message},n={_errors:[]},r=i=>{for(let l of i.issues)if(l.code==="invalid_union")l.unionErrors.map(r);else if(l.code==="invalid_return_type")r(l.returnTypeError);else if(l.code==="invalid_arguments")r(l.argumentsError);else if(l.path.length===0)n._errors.push(t(l));else{let o=n,s=0;for(;st.message){let t={},n=[];for(let r of this.issues)r.path.length>0?(t[r.path[0]]=t[r.path[0]]||[],t[r.path[0]].push(e(r))):n.push(e(r));return{formErrors:n,fieldErrors:t}}get formErrors(){return this.flatten()}};at.create=e=>new at(e);var la=(e,t)=>{let n;switch(e.code){case x.invalid_type:e.received===M.undefined?n="Required":n=`Expected ${e.expected}, received ${e.received}`;break;case x.invalid_literal:n=`Invalid literal value, expected ${JSON.stringify(e.expected,le.jsonStringifyReplacer)}`;break;case x.unrecognized_keys:n=`Unrecognized key(s) in object: ${le.joinValues(e.keys,", ")}`;break;case x.invalid_union:n="Invalid input";break;case x.invalid_union_discriminator:n=`Invalid discriminator value. Expected ${le.joinValues(e.options)}`;break;case x.invalid_enum_value:n=`Invalid enum value. Expected ${le.joinValues(e.options)}, received '${e.received}'`;break;case x.invalid_arguments:n="Invalid function arguments";break;case x.invalid_return_type:n="Invalid function return type";break;case x.invalid_date:n="Invalid date";break;case x.invalid_string:typeof e.validation=="object"?"includes"in e.validation?(n=`Invalid input: must include "${e.validation.includes}"`,typeof e.validation.position=="number"&&(n=`${n} at one or more positions greater than or equal to ${e.validation.position}`)):"startsWith"in e.validation?n=`Invalid input: must start with "${e.validation.startsWith}"`:"endsWith"in e.validation?n=`Invalid input: must end with "${e.validation.endsWith}"`:le.assertNever(e.validation):e.validation!=="regex"?n=`Invalid ${e.validation}`:n="Invalid";break;case x.too_small:e.type==="array"?n=`Array must contain ${e.exact?"exactly":e.inclusive?"at least":"more than"} ${e.minimum} element(s)`:e.type==="string"?n=`String must contain ${e.exact?"exactly":e.inclusive?"at least":"over"} ${e.minimum} character(s)`:e.type==="number"?n=`Number must be ${e.exact?"exactly equal to ":e.inclusive?"greater than or equal to ":"greater than "}${e.minimum}`:e.type==="date"?n=`Date must be ${e.exact?"exactly equal to ":e.inclusive?"greater than or equal to ":"greater than "}${new Date(Number(e.minimum))}`:n="Invalid input";break;case x.too_big:e.type==="array"?n=`Array must contain ${e.exact?"exactly":e.inclusive?"at most":"less than"} ${e.maximum} element(s)`:e.type==="string"?n=`String must contain ${e.exact?"exactly":e.inclusive?"at most":"under"} ${e.maximum} character(s)`:e.type==="number"?n=`Number must be ${e.exact?"exactly":e.inclusive?"less than or equal to":"less than"} ${e.maximum}`:e.type==="bigint"?n=`BigInt must be ${e.exact?"exactly":e.inclusive?"less than or equal to":"less than"} ${e.maximum}`:e.type==="date"?n=`Date must be ${e.exact?"exactly":e.inclusive?"smaller than or equal to":"smaller than"} ${new Date(Number(e.maximum))}`:n="Invalid input";break;case x.custom:n="Invalid input";break;case x.invalid_intersection_types:n="Intersection results could not be merged";break;case x.not_multiple_of:n=`Number must be a multiple of ${e.multipleOf}`;break;case x.not_finite:n="Number must be finite";break;default:n=t.defaultError,le.assertNever(e)}return{message:n}},Xs=la;function _4(e){Xs=e}function dr(){return Xs}var ur=e=>{let{data:t,path:n,errorMaps:r,issueData:i}=e,l=[...n,...i.path||[]],o={...i,path:l},s="",c=r.filter(d=>!!d).slice().reverse();for(let d of c)s=d(o,{data:t,defaultError:s}).message;return{...i,path:l,message:i.message||s}},T4=[];function T(e,t){let n=ur({issueData:t,data:e.data,path:e.path,errorMaps:[e.common.contextualErrorMap,e.schemaErrorMap,dr(),la].filter(r=>!!r)});e.common.issues.push(n)}var Ze=class{constructor(){this.value="valid"}dirty(){this.value==="valid"&&(this.value="dirty")}abort(){this.value!=="aborted"&&(this.value="aborted")}static mergeArray(e,t){let n=[];for(let r of t){if(r.status==="aborted")return z;r.status==="dirty"&&e.dirty(),n.push(r.value)}return{status:e.value,value:n}}static async mergeObjectAsync(e,t){let n=[];for(let r of t)n.push({key:await r.key,value:await r.value});return Ze.mergeObjectSync(e,n)}static mergeObjectSync(e,t){let n={};for(let r of t){let{key:i,value:l}=r;if(i.status==="aborted"||l.status==="aborted")return z;i.status==="dirty"&&e.dirty(),l.status==="dirty"&&e.dirty(),i.value!=="__proto__"&&(typeof l.value<"u"||r.alwaysSet)&&(n[i.value]=l.value)}return{status:e.value,value:n}}},z=Object.freeze({status:"aborted"}),e0=e=>({status:"dirty",value:e}),Be=e=>({status:"valid",value:e}),Xi=e=>e.status==="aborted",el=e=>e.status==="dirty",oa=e=>e.status==="valid",mr=e=>typeof Promise<"u"&&e instanceof Promise,B;(function(e){e.errToObj=t=>typeof t=="string"?{message:t}:t||{},e.toString=t=>typeof t=="string"?t:t?.message})(B||(B={}));var Et=class{constructor(e,t,n,r){this._cachedPath=[],this.parent=e,this.data=t,this._path=n,this._key=r}get path(){return this._cachedPath.length||(this._key instanceof Array?this._cachedPath.push(...this._path,...this._key):this._cachedPath.push(...this._path,this._key)),this._cachedPath}},Jo=(e,t)=>{if(oa(t))return{success:!0,data:t.value};if(!e.common.issues.length)throw new Error("Validation failed but no issues detected.");return{success:!1,get error(){if(this._error)return this._error;let n=new at(e.common.issues);return this._error=n,this._error}}};function $(e){if(!e)return{};let{errorMap:t,invalid_type_error:n,required_error:r,description:i}=e;if(t&&(n||r))throw new Error(`Can't use "invalid_type_error" or "required_error" in conjunction with custom error map.`);return t?{errorMap:t,description:i}:{errorMap:(l,o)=>l.code!=="invalid_type"?{message:o.defaultError}:typeof o.data>"u"?{message:r??o.defaultError}:{message:n??o.defaultError},description:i}}var Q=class{constructor(e){this.spa=this.safeParseAsync,this._def=e,this.parse=this.parse.bind(this),this.safeParse=this.safeParse.bind(this),this.parseAsync=this.parseAsync.bind(this),this.safeParseAsync=this.safeParseAsync.bind(this),this.spa=this.spa.bind(this),this.refine=this.refine.bind(this),this.refinement=this.refinement.bind(this),this.superRefine=this.superRefine.bind(this),this.optional=this.optional.bind(this),this.nullable=this.nullable.bind(this),this.nullish=this.nullish.bind(this),this.array=this.array.bind(this),this.promise=this.promise.bind(this),this.or=this.or.bind(this),this.and=this.and.bind(this),this.transform=this.transform.bind(this),this.brand=this.brand.bind(this),this.default=this.default.bind(this),this.catch=this.catch.bind(this),this.describe=this.describe.bind(this),this.pipe=this.pipe.bind(this),this.readonly=this.readonly.bind(this),this.isNullable=this.isNullable.bind(this),this.isOptional=this.isOptional.bind(this)}get description(){return this._def.description}_getType(e){return Lt(e.data)}_getOrReturnCtx(e,t){return t||{common:e.parent.common,data:e.data,parsedType:Lt(e.data),schemaErrorMap:this._def.errorMap,path:e.path,parent:e.parent}}_processInputParams(e){return{status:new Ze,ctx:{common:e.parent.common,data:e.data,parsedType:Lt(e.data),schemaErrorMap:this._def.errorMap,path:e.path,parent:e.parent}}}_parseSync(e){let t=this._parse(e);if(mr(t))throw new Error("Synchronous parse encountered promise.");return t}_parseAsync(e){let t=this._parse(e);return Promise.resolve(t)}parse(e,t){let n=this.safeParse(e,t);if(n.success)return n.data;throw n.error}safeParse(e,t){var n;let r={common:{issues:[],async:(n=t?.async)!==null&&n!==void 0?n:!1,contextualErrorMap:t?.errorMap},path:t?.path||[],schemaErrorMap:this._def.errorMap,parent:null,data:e,parsedType:Lt(e)},i=this._parseSync({data:e,path:r.path,parent:r});return Jo(r,i)}async parseAsync(e,t){let n=await this.safeParseAsync(e,t);if(n.success)return n.data;throw n.error}async safeParseAsync(e,t){let n={common:{issues:[],contextualErrorMap:t?.errorMap,async:!0},path:t?.path||[],schemaErrorMap:this._def.errorMap,parent:null,data:e,parsedType:Lt(e)},r=this._parse({data:e,path:n.path,parent:n}),i=await(mr(r)?r:Promise.resolve(r));return Jo(n,i)}refine(e,t){let n=r=>typeof t=="string"||typeof t>"u"?{message:t}:typeof t=="function"?t(r):t;return this._refinement((r,i)=>{let l=e(r),o=()=>i.addIssue({code:x.custom,...n(r)});return typeof Promise<"u"&&l instanceof Promise?l.then(s=>s?!0:(o(),!1)):l?!0:(o(),!1)})}refinement(e,t){return this._refinement((n,r)=>e(n)?!0:(r.addIssue(typeof t=="function"?t(n,r):t),!1))}_refinement(e){return new rt({schema:this,typeName:D.ZodEffects,effect:{type:"refinement",refinement:e}})}superRefine(e){return this._refinement(e)}optional(){return Nt.create(this,this._def)}nullable(){return tn.create(this,this._def)}nullish(){return this.nullable().optional()}array(){return gt.create(this,this._def)}promise(){return xn.create(this,this._def)}or(e){return ua.create([this,e],this._def)}and(e){return ma.create(this,e,this._def)}transform(e){return new rt({...$(this._def),schema:this,typeName:D.ZodEffects,effect:{type:"transform",transform:e}})}default(e){let t=typeof e=="function"?e:()=>e;return new ga({...$(this._def),innerType:this,defaultValue:t,typeName:D.ZodDefault})}brand(){return new n0({typeName:D.ZodBranded,type:this,...$(this._def)})}catch(e){let t=typeof e=="function"?e:()=>e;return new vr({...$(this._def),innerType:this,catchValue:t,typeName:D.ZodCatch})}describe(e){let t=this.constructor;return new t({...this._def,description:e})}pipe(e){return Br.create(this,e)}readonly(){return Er.create(this)}isOptional(){return this.safeParse(void 0).success}isNullable(){return this.safeParse(null).success}},F4=/^c[^\s-]{8,}$/i,O4=/^[a-z][a-z0-9]*$/,L4=/^[0-9A-HJKMNP-TV-Z]{26}$/,R4=/^[0-9a-fA-F]{8}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{12}$/i,I4=/^(?!\.)(?!.*\.\.)([A-Z0-9_+-\.]*)[A-Z0-9_+-]@([A-Z0-9][A-Z0-9\-]*\.)+[A-Z]{2,}$/i,Z4="^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$",yi,B4=/^(((25[0-5])|(2[0-4][0-9])|(1[0-9]{2})|([0-9]{1,2}))\.){3}((25[0-5])|(2[0-4][0-9])|(1[0-9]{2})|([0-9]{1,2}))$/,P4=/^(([a-f0-9]{1,4}:){7}|::([a-f0-9]{1,4}:){0,6}|([a-f0-9]{1,4}:){1}:([a-f0-9]{1,4}:){0,5}|([a-f0-9]{1,4}:){2}:([a-f0-9]{1,4}:){0,4}|([a-f0-9]{1,4}:){3}:([a-f0-9]{1,4}:){0,3}|([a-f0-9]{1,4}:){4}:([a-f0-9]{1,4}:){0,2}|([a-f0-9]{1,4}:){5}:([a-f0-9]{1,4}:){0,1})([a-f0-9]{1,4}|(((25[0-5])|(2[0-4][0-9])|(1[0-9]{2})|([0-9]{1,2}))\.){3}((25[0-5])|(2[0-4][0-9])|(1[0-9]{2})|([0-9]{1,2})))$/,V4=e=>e.precision?e.offset?new RegExp(`^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{${e.precision}}(([+-]\\d{2}(:?\\d{2})?)|Z)$`):new RegExp(`^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{${e.precision}}Z$`):e.precision===0?e.offset?new RegExp("^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(([+-]\\d{2}(:?\\d{2})?)|Z)$"):new RegExp("^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}Z$"):e.offset?new RegExp("^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?(([+-]\\d{2}(:?\\d{2})?)|Z)$"):new RegExp("^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?Z$");function D4(e,t){return!!((t==="v4"||!t)&&B4.test(e)||(t==="v6"||!t)&&P4.test(e))}var pt=class extends Q{_parse(e){if(this._def.coerce&&(e.data=String(e.data)),this._getType(e)!==M.string){let r=this._getOrReturnCtx(e);return T(r,{code:x.invalid_type,expected:M.string,received:r.parsedType}),z}let t=new Ze,n;for(let r of this._def.checks)if(r.kind==="min")e.data.lengthr.value&&(n=this._getOrReturnCtx(e,n),T(n,{code:x.too_big,maximum:r.value,type:"string",inclusive:!0,exact:!1,message:r.message}),t.dirty());else if(r.kind==="length"){let i=e.data.length>r.value,l=e.data.lengthe.test(r),{validation:t,code:x.invalid_string,...B.errToObj(n)})}_addCheck(e){return new pt({...this._def,checks:[...this._def.checks,e]})}email(e){return this._addCheck({kind:"email",...B.errToObj(e)})}url(e){return this._addCheck({kind:"url",...B.errToObj(e)})}emoji(e){return this._addCheck({kind:"emoji",...B.errToObj(e)})}uuid(e){return this._addCheck({kind:"uuid",...B.errToObj(e)})}cuid(e){return this._addCheck({kind:"cuid",...B.errToObj(e)})}cuid2(e){return this._addCheck({kind:"cuid2",...B.errToObj(e)})}ulid(e){return this._addCheck({kind:"ulid",...B.errToObj(e)})}ip(e){return this._addCheck({kind:"ip",...B.errToObj(e)})}datetime(e){var t;return typeof e=="string"?this._addCheck({kind:"datetime",precision:null,offset:!1,message:e}):this._addCheck({kind:"datetime",precision:typeof e?.precision>"u"?null:e?.precision,offset:(t=e?.offset)!==null&&t!==void 0?t:!1,...B.errToObj(e?.message)})}regex(e,t){return this._addCheck({kind:"regex",regex:e,...B.errToObj(t)})}includes(e,t){return this._addCheck({kind:"includes",value:e,position:t?.position,...B.errToObj(t?.message)})}startsWith(e,t){return this._addCheck({kind:"startsWith",value:e,...B.errToObj(t)})}endsWith(e,t){return this._addCheck({kind:"endsWith",value:e,...B.errToObj(t)})}min(e,t){return this._addCheck({kind:"min",value:e,...B.errToObj(t)})}max(e,t){return this._addCheck({kind:"max",value:e,...B.errToObj(t)})}length(e,t){return this._addCheck({kind:"length",value:e,...B.errToObj(t)})}nonempty(e){return this.min(1,B.errToObj(e))}trim(){return new pt({...this._def,checks:[...this._def.checks,{kind:"trim"}]})}toLowerCase(){return new pt({...this._def,checks:[...this._def.checks,{kind:"toLowerCase"}]})}toUpperCase(){return new pt({...this._def,checks:[...this._def.checks,{kind:"toUpperCase"}]})}get isDatetime(){return!!this._def.checks.find(e=>e.kind==="datetime")}get isEmail(){return!!this._def.checks.find(e=>e.kind==="email")}get isURL(){return!!this._def.checks.find(e=>e.kind==="url")}get isEmoji(){return!!this._def.checks.find(e=>e.kind==="emoji")}get isUUID(){return!!this._def.checks.find(e=>e.kind==="uuid")}get isCUID(){return!!this._def.checks.find(e=>e.kind==="cuid")}get isCUID2(){return!!this._def.checks.find(e=>e.kind==="cuid2")}get isULID(){return!!this._def.checks.find(e=>e.kind==="ulid")}get isIP(){return!!this._def.checks.find(e=>e.kind==="ip")}get minLength(){let e=null;for(let t of this._def.checks)t.kind==="min"&&(e===null||t.value>e)&&(e=t.value);return e}get maxLength(){let e=null;for(let t of this._def.checks)t.kind==="max"&&(e===null||t.value{var t;return new pt({checks:[],typeName:D.ZodString,coerce:(t=e?.coerce)!==null&&t!==void 0?t:!1,...$(e)})};function H4(e,t){let n=(e.toString().split(".")[1]||"").length,r=(t.toString().split(".")[1]||"").length,i=n>r?n:r,l=parseInt(e.toFixed(i).replace(".","")),o=parseInt(t.toFixed(i).replace(".",""));return l%o/Math.pow(10,i)}var Jt=class extends Q{constructor(){super(...arguments),this.min=this.gte,this.max=this.lte,this.step=this.multipleOf}_parse(e){if(this._def.coerce&&(e.data=Number(e.data)),this._getType(e)!==M.number){let r=this._getOrReturnCtx(e);return T(r,{code:x.invalid_type,expected:M.number,received:r.parsedType}),z}let t,n=new Ze;for(let r of this._def.checks)r.kind==="int"?le.isInteger(e.data)||(t=this._getOrReturnCtx(e,t),T(t,{code:x.invalid_type,expected:"integer",received:"float",message:r.message}),n.dirty()):r.kind==="min"?(r.inclusive?e.datar.value:e.data>=r.value)&&(t=this._getOrReturnCtx(e,t),T(t,{code:x.too_big,maximum:r.value,type:"number",inclusive:r.inclusive,exact:!1,message:r.message}),n.dirty()):r.kind==="multipleOf"?H4(e.data,r.value)!==0&&(t=this._getOrReturnCtx(e,t),T(t,{code:x.not_multiple_of,multipleOf:r.value,message:r.message}),n.dirty()):r.kind==="finite"?Number.isFinite(e.data)||(t=this._getOrReturnCtx(e,t),T(t,{code:x.not_finite,message:r.message}),n.dirty()):le.assertNever(r);return{status:n.value,value:e.data}}gte(e,t){return this.setLimit("min",e,!0,B.toString(t))}gt(e,t){return this.setLimit("min",e,!1,B.toString(t))}lte(e,t){return this.setLimit("max",e,!0,B.toString(t))}lt(e,t){return this.setLimit("max",e,!1,B.toString(t))}setLimit(e,t,n,r){return new Jt({...this._def,checks:[...this._def.checks,{kind:e,value:t,inclusive:n,message:B.toString(r)}]})}_addCheck(e){return new Jt({...this._def,checks:[...this._def.checks,e]})}int(e){return this._addCheck({kind:"int",message:B.toString(e)})}positive(e){return this._addCheck({kind:"min",value:0,inclusive:!1,message:B.toString(e)})}negative(e){return this._addCheck({kind:"max",value:0,inclusive:!1,message:B.toString(e)})}nonpositive(e){return this._addCheck({kind:"max",value:0,inclusive:!0,message:B.toString(e)})}nonnegative(e){return this._addCheck({kind:"min",value:0,inclusive:!0,message:B.toString(e)})}multipleOf(e,t){return this._addCheck({kind:"multipleOf",value:e,message:B.toString(t)})}finite(e){return this._addCheck({kind:"finite",message:B.toString(e)})}safe(e){return this._addCheck({kind:"min",inclusive:!0,value:Number.MIN_SAFE_INTEGER,message:B.toString(e)})._addCheck({kind:"max",inclusive:!0,value:Number.MAX_SAFE_INTEGER,message:B.toString(e)})}get minValue(){let e=null;for(let t of this._def.checks)t.kind==="min"&&(e===null||t.value>e)&&(e=t.value);return e}get maxValue(){let e=null;for(let t of this._def.checks)t.kind==="max"&&(e===null||t.valuee.kind==="int"||e.kind==="multipleOf"&&le.isInteger(e.value))}get isFinite(){let e=null,t=null;for(let n of this._def.checks){if(n.kind==="finite"||n.kind==="int"||n.kind==="multipleOf")return!0;n.kind==="min"?(t===null||n.value>t)&&(t=n.value):n.kind==="max"&&(e===null||n.valuenew Jt({checks:[],typeName:D.ZodNumber,coerce:e?.coerce||!1,...$(e)});var Xt=class extends Q{constructor(){super(...arguments),this.min=this.gte,this.max=this.lte}_parse(e){if(this._def.coerce&&(e.data=BigInt(e.data)),this._getType(e)!==M.bigint){let r=this._getOrReturnCtx(e);return T(r,{code:x.invalid_type,expected:M.bigint,received:r.parsedType}),z}let t,n=new Ze;for(let r of this._def.checks)r.kind==="min"?(r.inclusive?e.datar.value:e.data>=r.value)&&(t=this._getOrReturnCtx(e,t),T(t,{code:x.too_big,type:"bigint",maximum:r.value,inclusive:r.inclusive,message:r.message}),n.dirty()):r.kind==="multipleOf"?e.data%r.value!==BigInt(0)&&(t=this._getOrReturnCtx(e,t),T(t,{code:x.not_multiple_of,multipleOf:r.value,message:r.message}),n.dirty()):le.assertNever(r);return{status:n.value,value:e.data}}gte(e,t){return this.setLimit("min",e,!0,B.toString(t))}gt(e,t){return this.setLimit("min",e,!1,B.toString(t))}lte(e,t){return this.setLimit("max",e,!0,B.toString(t))}lt(e,t){return this.setLimit("max",e,!1,B.toString(t))}setLimit(e,t,n,r){return new Xt({...this._def,checks:[...this._def.checks,{kind:e,value:t,inclusive:n,message:B.toString(r)}]})}_addCheck(e){return new Xt({...this._def,checks:[...this._def.checks,e]})}positive(e){return this._addCheck({kind:"min",value:BigInt(0),inclusive:!1,message:B.toString(e)})}negative(e){return this._addCheck({kind:"max",value:BigInt(0),inclusive:!1,message:B.toString(e)})}nonpositive(e){return this._addCheck({kind:"max",value:BigInt(0),inclusive:!0,message:B.toString(e)})}nonnegative(e){return this._addCheck({kind:"min",value:BigInt(0),inclusive:!0,message:B.toString(e)})}multipleOf(e,t){return this._addCheck({kind:"multipleOf",value:e,message:B.toString(t)})}get minValue(){let e=null;for(let t of this._def.checks)t.kind==="min"&&(e===null||t.value>e)&&(e=t.value);return e}get maxValue(){let e=null;for(let t of this._def.checks)t.kind==="max"&&(e===null||t.value{var t;return new Xt({checks:[],typeName:D.ZodBigInt,coerce:(t=e?.coerce)!==null&&t!==void 0?t:!1,...$(e)})};var sa=class extends Q{_parse(e){if(this._def.coerce&&(e.data=!!e.data),this._getType(e)!==M.boolean){let t=this._getOrReturnCtx(e);return T(t,{code:x.invalid_type,expected:M.boolean,received:t.parsedType}),z}return Be(e.data)}};sa.create=e=>new sa({typeName:D.ZodBoolean,coerce:e?.coerce||!1,...$(e)});var wn=class extends Q{_parse(e){if(this._def.coerce&&(e.data=new Date(e.data)),this._getType(e)!==M.date){let r=this._getOrReturnCtx(e);return T(r,{code:x.invalid_type,expected:M.date,received:r.parsedType}),z}if(isNaN(e.data.getTime())){let r=this._getOrReturnCtx(e);return T(r,{code:x.invalid_date}),z}let t=new Ze,n;for(let r of this._def.checks)r.kind==="min"?e.data.getTime()r.value&&(n=this._getOrReturnCtx(e,n),T(n,{code:x.too_big,message:r.message,inclusive:!0,exact:!1,maximum:r.value,type:"date"}),t.dirty()):le.assertNever(r);return{status:t.value,value:new Date(e.data.getTime())}}_addCheck(e){return new wn({...this._def,checks:[...this._def.checks,e]})}min(e,t){return this._addCheck({kind:"min",value:e.getTime(),message:B.toString(t)})}max(e,t){return this._addCheck({kind:"max",value:e.getTime(),message:B.toString(t)})}get minDate(){let e=null;for(let t of this._def.checks)t.kind==="min"&&(e===null||t.value>e)&&(e=t.value);return e!=null?new Date(e):null}get maxDate(){let e=null;for(let t of this._def.checks)t.kind==="max"&&(e===null||t.valuenew wn({checks:[],coerce:e?.coerce||!1,typeName:D.ZodDate,...$(e)});var pr=class extends Q{_parse(e){if(this._getType(e)!==M.symbol){let t=this._getOrReturnCtx(e);return T(t,{code:x.invalid_type,expected:M.symbol,received:t.parsedType}),z}return Be(e.data)}};pr.create=e=>new pr({typeName:D.ZodSymbol,...$(e)});var ca=class extends Q{_parse(e){if(this._getType(e)!==M.undefined){let t=this._getOrReturnCtx(e);return T(t,{code:x.invalid_type,expected:M.undefined,received:t.parsedType}),z}return Be(e.data)}};ca.create=e=>new ca({typeName:D.ZodUndefined,...$(e)});var da=class extends Q{_parse(e){if(this._getType(e)!==M.null){let t=this._getOrReturnCtx(e);return T(t,{code:x.invalid_type,expected:M.null,received:t.parsedType}),z}return Be(e.data)}};da.create=e=>new da({typeName:D.ZodNull,...$(e)});var Cn=class extends Q{constructor(){super(...arguments),this._any=!0}_parse(e){return Be(e.data)}};Cn.create=e=>new Cn({typeName:D.ZodAny,...$(e)});var Kt=class extends Q{constructor(){super(...arguments),this._unknown=!0}_parse(e){return Be(e.data)}};Kt.create=e=>new Kt({typeName:D.ZodUnknown,...$(e)});var Mt=class extends Q{_parse(e){let t=this._getOrReturnCtx(e);return T(t,{code:x.invalid_type,expected:M.never,received:t.parsedType}),z}};Mt.create=e=>new Mt({typeName:D.ZodNever,...$(e)});var hr=class extends Q{_parse(e){if(this._getType(e)!==M.undefined){let t=this._getOrReturnCtx(e);return T(t,{code:x.invalid_type,expected:M.void,received:t.parsedType}),z}return Be(e.data)}};hr.create=e=>new hr({typeName:D.ZodVoid,...$(e)});var gt=class extends Q{_parse(e){let{ctx:t,status:n}=this._processInputParams(e),r=this._def;if(t.parsedType!==M.array)return T(t,{code:x.invalid_type,expected:M.array,received:t.parsedType}),z;if(r.exactLength!==null){let l=t.data.length>r.exactLength.value,o=t.data.lengthr.maxLength.value&&(T(t,{code:x.too_big,maximum:r.maxLength.value,type:"array",inclusive:!0,exact:!1,message:r.maxLength.message}),n.dirty()),t.common.async)return Promise.all([...t.data].map((l,o)=>r.type._parseAsync(new Et(t,l,t.path,o)))).then(l=>Ze.mergeArray(n,l));let i=[...t.data].map((l,o)=>r.type._parseSync(new Et(t,l,t.path,o)));return Ze.mergeArray(n,i)}get element(){return this._def.type}min(e,t){return new gt({...this._def,minLength:{value:e,message:B.toString(t)}})}max(e,t){return new gt({...this._def,maxLength:{value:e,message:B.toString(t)}})}length(e,t){return new gt({...this._def,exactLength:{value:e,message:B.toString(t)}})}nonempty(e){return this.min(1,e)}};gt.create=(e,t)=>new gt({type:e,minLength:null,maxLength:null,exactLength:null,typeName:D.ZodArray,...$(t)});function hn(e){if(e instanceof be){let t={};for(let n in e.shape){let r=e.shape[n];t[n]=Nt.create(hn(r))}return new be({...e._def,shape:()=>t})}else return e instanceof gt?new gt({...e._def,type:hn(e.element)}):e instanceof Nt?Nt.create(hn(e.unwrap())):e instanceof tn?tn.create(hn(e.unwrap())):e instanceof At?At.create(e.items.map(t=>hn(t))):e}var be=class extends Q{constructor(){super(...arguments),this._cached=null,this.nonstrict=this.passthrough,this.augment=this.extend}_getCached(){if(this._cached!==null)return this._cached;let e=this._def.shape(),t=le.objectKeys(e);return this._cached={shape:e,keys:t}}_parse(e){if(this._getType(e)!==M.object){let s=this._getOrReturnCtx(e);return T(s,{code:x.invalid_type,expected:M.object,received:s.parsedType}),z}let{status:t,ctx:n}=this._processInputParams(e),{shape:r,keys:i}=this._getCached(),l=[];if(!(this._def.catchall instanceof Mt&&this._def.unknownKeys==="strip"))for(let s in n.data)i.includes(s)||l.push(s);let o=[];for(let s of i){let c=r[s],d=n.data[s];o.push({key:{status:"valid",value:s},value:c._parse(new Et(n,d,n.path,s)),alwaysSet:s in n.data})}if(this._def.catchall instanceof Mt){let s=this._def.unknownKeys;if(s==="passthrough")for(let c of l)o.push({key:{status:"valid",value:c},value:{status:"valid",value:n.data[c]}});else if(s==="strict")l.length>0&&(T(n,{code:x.unrecognized_keys,keys:l}),t.dirty());else if(s!=="strip")throw new Error("Internal ZodObject error: invalid unknownKeys value.")}else{let s=this._def.catchall;for(let c of l){let d=n.data[c];o.push({key:{status:"valid",value:c},value:s._parse(new Et(n,d,n.path,c)),alwaysSet:c in n.data})}}return n.common.async?Promise.resolve().then(async()=>{let s=[];for(let c of o){let d=await c.key;s.push({key:d,value:await c.value,alwaysSet:c.alwaysSet})}return s}).then(s=>Ze.mergeObjectSync(t,s)):Ze.mergeObjectSync(t,o)}get shape(){return this._def.shape()}strict(e){return B.errToObj,new be({...this._def,unknownKeys:"strict",...e!==void 0?{errorMap:(t,n)=>{var r,i,l,o;let s=(l=(i=(r=this._def).errorMap)===null||i===void 0?void 0:i.call(r,t,n).message)!==null&&l!==void 0?l:n.defaultError;return t.code==="unrecognized_keys"?{message:(o=B.errToObj(e).message)!==null&&o!==void 0?o:s}:{message:s}}}:{}})}strip(){return new be({...this._def,unknownKeys:"strip"})}passthrough(){return new be({...this._def,unknownKeys:"passthrough"})}extend(e){return new be({...this._def,shape:()=>({...this._def.shape(),...e})})}merge(e){return new be({unknownKeys:e._def.unknownKeys,catchall:e._def.catchall,shape:()=>({...this._def.shape(),...e._def.shape()}),typeName:D.ZodObject})}setKey(e,t){return this.augment({[e]:t})}catchall(e){return new be({...this._def,catchall:e})}pick(e){let t={};return le.objectKeys(e).forEach(n=>{e[n]&&this.shape[n]&&(t[n]=this.shape[n])}),new be({...this._def,shape:()=>t})}omit(e){let t={};return le.objectKeys(this.shape).forEach(n=>{e[n]||(t[n]=this.shape[n])}),new be({...this._def,shape:()=>t})}deepPartial(){return hn(this)}partial(e){let t={};return le.objectKeys(this.shape).forEach(n=>{let r=this.shape[n];e&&!e[n]?t[n]=r:t[n]=r.optional()}),new be({...this._def,shape:()=>t})}required(e){let t={};return le.objectKeys(this.shape).forEach(n=>{if(e&&!e[n])t[n]=this.shape[n];else{let r=this.shape[n];for(;r instanceof Nt;)r=r._def.innerType;t[n]=r}}),new be({...this._def,shape:()=>t})}keyof(){return t0(le.objectKeys(this.shape))}};be.create=(e,t)=>new be({shape:()=>e,unknownKeys:"strip",catchall:Mt.create(),typeName:D.ZodObject,...$(t)});be.strictCreate=(e,t)=>new be({shape:()=>e,unknownKeys:"strict",catchall:Mt.create(),typeName:D.ZodObject,...$(t)});be.lazycreate=(e,t)=>new be({shape:e,unknownKeys:"strip",catchall:Mt.create(),typeName:D.ZodObject,...$(t)});var ua=class extends Q{_parse(e){let{ctx:t}=this._processInputParams(e),n=this._def.options;function r(i){for(let o of i)if(o.result.status==="valid")return o.result;for(let o of i)if(o.result.status==="dirty")return t.common.issues.push(...o.ctx.common.issues),o.result;let l=i.map(o=>new at(o.ctx.common.issues));return T(t,{code:x.invalid_union,unionErrors:l}),z}if(t.common.async)return Promise.all(n.map(async i=>{let l={...t,common:{...t.common,issues:[]},parent:null};return{result:await i._parseAsync({data:t.data,path:t.path,parent:l}),ctx:l}})).then(r);{let i,l=[];for(let s of n){let c={...t,common:{...t.common,issues:[]},parent:null},d=s._parseSync({data:t.data,path:t.path,parent:c});if(d.status==="valid")return d;d.status==="dirty"&&!i&&(i={result:d,ctx:c}),c.common.issues.length&&l.push(c.common.issues)}if(i)return t.common.issues.push(...i.ctx.common.issues),i.result;let o=l.map(s=>new at(s));return T(t,{code:x.invalid_union,unionErrors:o}),z}}get options(){return this._def.options}};ua.create=(e,t)=>new ua({options:e,typeName:D.ZodUnion,...$(t)});var Ya=e=>e instanceof pa?Ya(e.schema):e instanceof rt?Ya(e.innerType()):e instanceof ha?[e.value]:e instanceof en?e.options:e instanceof fa?Object.keys(e.enum):e instanceof ga?Ya(e._def.innerType):e instanceof ca?[void 0]:e instanceof da?[null]:null,Zl=class extends Q{_parse(e){let{ctx:t}=this._processInputParams(e);if(t.parsedType!==M.object)return T(t,{code:x.invalid_type,expected:M.object,received:t.parsedType}),z;let n=this.discriminator,r=t.data[n],i=this.optionsMap.get(r);return i?t.common.async?i._parseAsync({data:t.data,path:t.path,parent:t}):i._parseSync({data:t.data,path:t.path,parent:t}):(T(t,{code:x.invalid_union_discriminator,options:Array.from(this.optionsMap.keys()),path:[n]}),z)}get discriminator(){return this._def.discriminator}get options(){return this._def.options}get optionsMap(){return this._def.optionsMap}static create(e,t,n){let r=new Map;for(let i of t){let l=Ya(i.shape[e]);if(!l)throw new Error(`A discriminator value for key \`${e}\` could not be extracted from all schema options`);for(let o of l){if(r.has(o))throw new Error(`Discriminator property ${String(e)} has duplicate value ${String(o)}`);r.set(o,i)}}return new Zl({typeName:D.ZodDiscriminatedUnion,discriminator:e,options:t,optionsMap:r,...$(n)})}};function tl(e,t){let n=Lt(e),r=Lt(t);if(e===t)return{valid:!0,data:e};if(n===M.object&&r===M.object){let i=le.objectKeys(t),l=le.objectKeys(e).filter(s=>i.indexOf(s)!==-1),o={...e,...t};for(let s of l){let c=tl(e[s],t[s]);if(!c.valid)return{valid:!1};o[s]=c.data}return{valid:!0,data:o}}else if(n===M.array&&r===M.array){if(e.length!==t.length)return{valid:!1};let i=[];for(let l=0;l{if(Xi(i)||Xi(l))return z;let o=tl(i.value,l.value);return o.valid?((el(i)||el(l))&&t.dirty(),{status:t.value,value:o.data}):(T(n,{code:x.invalid_intersection_types}),z)};return n.common.async?Promise.all([this._def.left._parseAsync({data:n.data,path:n.path,parent:n}),this._def.right._parseAsync({data:n.data,path:n.path,parent:n})]).then(([i,l])=>r(i,l)):r(this._def.left._parseSync({data:n.data,path:n.path,parent:n}),this._def.right._parseSync({data:n.data,path:n.path,parent:n}))}};ma.create=(e,t,n)=>new ma({left:e,right:t,typeName:D.ZodIntersection,...$(n)});var At=class extends Q{_parse(e){let{status:t,ctx:n}=this._processInputParams(e);if(n.parsedType!==M.array)return T(n,{code:x.invalid_type,expected:M.array,received:n.parsedType}),z;if(n.data.lengththis._def.items.length&&(T(n,{code:x.too_big,maximum:this._def.items.length,inclusive:!0,exact:!1,type:"array"}),t.dirty());let r=[...n.data].map((i,l)=>{let o=this._def.items[l]||this._def.rest;return o?o._parse(new Et(n,i,n.path,l)):null}).filter(i=>!!i);return n.common.async?Promise.all(r).then(i=>Ze.mergeArray(t,i)):Ze.mergeArray(t,r)}get items(){return this._def.items}rest(e){return new At({...this._def,rest:e})}};At.create=(e,t)=>{if(!Array.isArray(e))throw new Error("You must pass an array of schemas to z.tuple([ ... ])");return new At({items:e,typeName:D.ZodTuple,rest:null,...$(t)})};var fr=class extends Q{get keySchema(){return this._def.keyType}get valueSchema(){return this._def.valueType}_parse(e){let{status:t,ctx:n}=this._processInputParams(e);if(n.parsedType!==M.object)return T(n,{code:x.invalid_type,expected:M.object,received:n.parsedType}),z;let r=[],i=this._def.keyType,l=this._def.valueType;for(let o in n.data)r.push({key:i._parse(new Et(n,o,n.path,o)),value:l._parse(new Et(n,n.data[o],n.path,o))});return n.common.async?Ze.mergeObjectAsync(t,r):Ze.mergeObjectSync(t,r)}get element(){return this._def.valueType}static create(e,t,n){return t instanceof Q?new fr({keyType:e,valueType:t,typeName:D.ZodRecord,...$(n)}):new fr({keyType:pt.create(),valueType:e,typeName:D.ZodRecord,...$(t)})}},gr=class extends Q{get keySchema(){return this._def.keyType}get valueSchema(){return this._def.valueType}_parse(e){let{status:t,ctx:n}=this._processInputParams(e);if(n.parsedType!==M.map)return T(n,{code:x.invalid_type,expected:M.map,received:n.parsedType}),z;let r=this._def.keyType,i=this._def.valueType,l=[...n.data.entries()].map(([o,s],c)=>({key:r._parse(new Et(n,o,n.path,[c,"key"])),value:i._parse(new Et(n,s,n.path,[c,"value"]))}));if(n.common.async){let o=new Map;return Promise.resolve().then(async()=>{for(let s of l){let c=await s.key,d=await s.value;if(c.status==="aborted"||d.status==="aborted")return z;(c.status==="dirty"||d.status==="dirty")&&t.dirty(),o.set(c.value,d.value)}return{status:t.value,value:o}})}else{let o=new Map;for(let s of l){let c=s.key,d=s.value;if(c.status==="aborted"||d.status==="aborted")return z;(c.status==="dirty"||d.status==="dirty")&&t.dirty(),o.set(c.value,d.value)}return{status:t.value,value:o}}}};gr.create=(e,t,n)=>new gr({valueType:t,keyType:e,typeName:D.ZodMap,...$(n)});var Sn=class extends Q{_parse(e){let{status:t,ctx:n}=this._processInputParams(e);if(n.parsedType!==M.set)return T(n,{code:x.invalid_type,expected:M.set,received:n.parsedType}),z;let r=this._def;r.minSize!==null&&n.data.sizer.maxSize.value&&(T(n,{code:x.too_big,maximum:r.maxSize.value,type:"set",inclusive:!0,exact:!1,message:r.maxSize.message}),t.dirty());let i=this._def.valueType;function l(s){let c=new Set;for(let d of s){if(d.status==="aborted")return z;d.status==="dirty"&&t.dirty(),c.add(d.value)}return{status:t.value,value:c}}let o=[...n.data.values()].map((s,c)=>i._parse(new Et(n,s,n.path,c)));return n.common.async?Promise.all(o).then(s=>l(s)):l(o)}min(e,t){return new Sn({...this._def,minSize:{value:e,message:B.toString(t)}})}max(e,t){return new Sn({...this._def,maxSize:{value:e,message:B.toString(t)}})}size(e,t){return this.min(e,t).max(e,t)}nonempty(e){return this.min(1,e)}};Sn.create=(e,t)=>new Sn({valueType:e,minSize:null,maxSize:null,typeName:D.ZodSet,...$(t)});var ea=class extends Q{constructor(){super(...arguments),this.validate=this.implement}_parse(e){let{ctx:t}=this._processInputParams(e);if(t.parsedType!==M.function)return T(t,{code:x.invalid_type,expected:M.function,received:t.parsedType}),z;function n(o,s){return ur({data:o,path:t.path,errorMaps:[t.common.contextualErrorMap,t.schemaErrorMap,dr(),la].filter(c=>!!c),issueData:{code:x.invalid_arguments,argumentsError:s}})}function r(o,s){return ur({data:o,path:t.path,errorMaps:[t.common.contextualErrorMap,t.schemaErrorMap,dr(),la].filter(c=>!!c),issueData:{code:x.invalid_return_type,returnTypeError:s}})}let i={errorMap:t.common.contextualErrorMap},l=t.data;if(this._def.returns instanceof xn){let o=this;return Be(async function(...s){let c=new at([]),d=await o._def.args.parseAsync(s,i).catch(u=>{throw c.addIssue(n(s,u)),c}),m=await Reflect.apply(l,this,d);return await o._def.returns._def.type.parseAsync(m,i).catch(u=>{throw c.addIssue(r(m,u)),c})})}else{let o=this;return Be(function(...s){let c=o._def.args.safeParse(s,i);if(!c.success)throw new at([n(s,c.error)]);let d=Reflect.apply(l,this,c.data),m=o._def.returns.safeParse(d,i);if(!m.success)throw new at([r(d,m.error)]);return m.data})}}parameters(){return this._def.args}returnType(){return this._def.returns}args(...e){return new ea({...this._def,args:At.create(e).rest(Kt.create())})}returns(e){return new ea({...this._def,returns:e})}implement(e){return this.parse(e)}strictImplement(e){return this.parse(e)}static create(e,t,n){return new ea({args:e||At.create([]).rest(Kt.create()),returns:t||Kt.create(),typeName:D.ZodFunction,...$(n)})}},pa=class extends Q{get schema(){return this._def.getter()}_parse(e){let{ctx:t}=this._processInputParams(e);return this._def.getter()._parse({data:t.data,path:t.path,parent:t})}};pa.create=(e,t)=>new pa({getter:e,typeName:D.ZodLazy,...$(t)});var ha=class extends Q{_parse(e){if(e.data!==this._def.value){let t=this._getOrReturnCtx(e);return T(t,{received:t.data,code:x.invalid_literal,expected:this._def.value}),z}return{status:"valid",value:e.data}}get value(){return this._def.value}};ha.create=(e,t)=>new ha({value:e,typeName:D.ZodLiteral,...$(t)});function t0(e,t){return new en({values:e,typeName:D.ZodEnum,...$(t)})}var en=class extends Q{_parse(e){if(typeof e.data!="string"){let t=this._getOrReturnCtx(e),n=this._def.values;return T(t,{expected:le.joinValues(n),received:t.parsedType,code:x.invalid_type}),z}if(this._def.values.indexOf(e.data)===-1){let t=this._getOrReturnCtx(e),n=this._def.values;return T(t,{received:t.data,code:x.invalid_enum_value,options:n}),z}return Be(e.data)}get options(){return this._def.values}get enum(){let e={};for(let t of this._def.values)e[t]=t;return e}get Values(){let e={};for(let t of this._def.values)e[t]=t;return e}get Enum(){let e={};for(let t of this._def.values)e[t]=t;return e}extract(e){return en.create(e)}exclude(e){return en.create(this.options.filter(t=>!e.includes(t)))}};en.create=t0;var fa=class extends Q{_parse(e){let t=le.getValidEnumValues(this._def.values),n=this._getOrReturnCtx(e);if(n.parsedType!==M.string&&n.parsedType!==M.number){let r=le.objectValues(t);return T(n,{expected:le.joinValues(r),received:n.parsedType,code:x.invalid_type}),z}if(t.indexOf(e.data)===-1){let r=le.objectValues(t);return T(n,{received:n.data,code:x.invalid_enum_value,options:r}),z}return Be(e.data)}get enum(){return this._def.values}};fa.create=(e,t)=>new fa({values:e,typeName:D.ZodNativeEnum,...$(t)});var xn=class extends Q{unwrap(){return this._def.type}_parse(e){let{ctx:t}=this._processInputParams(e);if(t.parsedType!==M.promise&&t.common.async===!1)return T(t,{code:x.invalid_type,expected:M.promise,received:t.parsedType}),z;let n=t.parsedType===M.promise?t.data:Promise.resolve(t.data);return Be(n.then(r=>this._def.type.parseAsync(r,{path:t.path,errorMap:t.common.contextualErrorMap})))}};xn.create=(e,t)=>new xn({type:e,typeName:D.ZodPromise,...$(t)});var rt=class extends Q{innerType(){return this._def.schema}sourceType(){return this._def.schema._def.typeName===D.ZodEffects?this._def.schema.sourceType():this._def.schema}_parse(e){let{status:t,ctx:n}=this._processInputParams(e),r=this._def.effect||null,i={addIssue:l=>{T(n,l),l.fatal?t.abort():t.dirty()},get path(){return n.path}};if(i.addIssue=i.addIssue.bind(i),r.type==="preprocess"){let l=r.transform(n.data,i);return n.common.issues.length?{status:"dirty",value:n.data}:n.common.async?Promise.resolve(l).then(o=>this._def.schema._parseAsync({data:o,path:n.path,parent:n})):this._def.schema._parseSync({data:l,path:n.path,parent:n})}if(r.type==="refinement"){let l=o=>{let s=r.refinement(o,i);if(n.common.async)return Promise.resolve(s);if(s instanceof Promise)throw new Error("Async refinement encountered during synchronous parse operation. Use .parseAsync instead.");return o};if(n.common.async===!1){let o=this._def.schema._parseSync({data:n.data,path:n.path,parent:n});return o.status==="aborted"?z:(o.status==="dirty"&&t.dirty(),l(o.value),{status:t.value,value:o.value})}else return this._def.schema._parseAsync({data:n.data,path:n.path,parent:n}).then(o=>o.status==="aborted"?z:(o.status==="dirty"&&t.dirty(),l(o.value).then(()=>({status:t.value,value:o.value}))))}if(r.type==="transform")if(n.common.async===!1){let l=this._def.schema._parseSync({data:n.data,path:n.path,parent:n});if(!oa(l))return l;let o=r.transform(l.value,i);if(o instanceof Promise)throw new Error("Asynchronous transform encountered during synchronous parse operation. Use .parseAsync instead.");return{status:t.value,value:o}}else return this._def.schema._parseAsync({data:n.data,path:n.path,parent:n}).then(l=>oa(l)?Promise.resolve(r.transform(l.value,i)).then(o=>({status:t.value,value:o})):l);le.assertNever(r)}};rt.create=(e,t,n)=>new rt({schema:e,typeName:D.ZodEffects,effect:t,...$(n)});rt.createWithPreprocess=(e,t,n)=>new rt({schema:t,effect:{type:"preprocess",transform:e},typeName:D.ZodEffects,...$(n)});var Nt=class extends Q{_parse(e){return this._getType(e)===M.undefined?Be(void 0):this._def.innerType._parse(e)}unwrap(){return this._def.innerType}};Nt.create=(e,t)=>new Nt({innerType:e,typeName:D.ZodOptional,...$(t)});var tn=class extends Q{_parse(e){return this._getType(e)===M.null?Be(null):this._def.innerType._parse(e)}unwrap(){return this._def.innerType}};tn.create=(e,t)=>new tn({innerType:e,typeName:D.ZodNullable,...$(t)});var ga=class extends Q{_parse(e){let{ctx:t}=this._processInputParams(e),n=t.data;return t.parsedType===M.undefined&&(n=this._def.defaultValue()),this._def.innerType._parse({data:n,path:t.path,parent:t})}removeDefault(){return this._def.innerType}};ga.create=(e,t)=>new ga({innerType:e,typeName:D.ZodDefault,defaultValue:typeof t.default=="function"?t.default:()=>t.default,...$(t)});var vr=class extends Q{_parse(e){let{ctx:t}=this._processInputParams(e),n={...t,common:{...t.common,issues:[]}},r=this._def.innerType._parse({data:n.data,path:n.path,parent:{...n}});return mr(r)?r.then(i=>({status:"valid",value:i.status==="valid"?i.value:this._def.catchValue({get error(){return new at(n.common.issues)},input:n.data})})):{status:"valid",value:r.status==="valid"?r.value:this._def.catchValue({get error(){return new at(n.common.issues)},input:n.data})}}removeCatch(){return this._def.innerType}};vr.create=(e,t)=>new vr({innerType:e,typeName:D.ZodCatch,catchValue:typeof t.catch=="function"?t.catch:()=>t.catch,...$(t)});var yr=class extends Q{_parse(e){if(this._getType(e)!==M.nan){let t=this._getOrReturnCtx(e);return T(t,{code:x.invalid_type,expected:M.nan,received:t.parsedType}),z}return{status:"valid",value:e.data}}};yr.create=e=>new yr({typeName:D.ZodNaN,...$(e)});var j4=Symbol("zod_brand"),n0=class extends Q{_parse(e){let{ctx:t}=this._processInputParams(e),n=t.data;return this._def.type._parse({data:n,path:t.path,parent:t})}unwrap(){return this._def.type}},Br=class extends Q{_parse(e){let{status:t,ctx:n}=this._processInputParams(e);if(n.common.async)return(async()=>{let r=await this._def.in._parseAsync({data:n.data,path:n.path,parent:n});return r.status==="aborted"?z:r.status==="dirty"?(t.dirty(),e0(r.value)):this._def.out._parseAsync({data:r.value,path:n.path,parent:n})})();{let r=this._def.in._parseSync({data:n.data,path:n.path,parent:n});return r.status==="aborted"?z:r.status==="dirty"?(t.dirty(),{status:"dirty",value:r.value}):this._def.out._parseSync({data:r.value,path:n.path,parent:n})}}static create(e,t){return new Br({in:e,out:t,typeName:D.ZodPipeline})}},Er=class extends Q{_parse(e){let t=this._def.innerType._parse(e);return oa(t)&&(t.value=Object.freeze(t.value)),t}};Er.create=(e,t)=>new Er({innerType:e,typeName:D.ZodReadonly,...$(t)});var a0=(e,t={},n)=>e?Cn.create().superRefine((r,i)=>{var l,o;if(!e(r)){let s=typeof t=="function"?t(r):typeof t=="string"?{message:t}:t,c=(o=(l=s.fatal)!==null&&l!==void 0?l:n)!==null&&o!==void 0?o:!0,d=typeof s=="string"?{message:s}:s;i.addIssue({code:"custom",...d,fatal:c})}}):Cn.create(),z4={object:be.lazycreate},D;(function(e){e.ZodString="ZodString",e.ZodNumber="ZodNumber",e.ZodNaN="ZodNaN",e.ZodBigInt="ZodBigInt",e.ZodBoolean="ZodBoolean",e.ZodDate="ZodDate",e.ZodSymbol="ZodSymbol",e.ZodUndefined="ZodUndefined",e.ZodNull="ZodNull",e.ZodAny="ZodAny",e.ZodUnknown="ZodUnknown",e.ZodNever="ZodNever",e.ZodVoid="ZodVoid",e.ZodArray="ZodArray",e.ZodObject="ZodObject",e.ZodUnion="ZodUnion",e.ZodDiscriminatedUnion="ZodDiscriminatedUnion",e.ZodIntersection="ZodIntersection",e.ZodTuple="ZodTuple",e.ZodRecord="ZodRecord",e.ZodMap="ZodMap",e.ZodSet="ZodSet",e.ZodFunction="ZodFunction",e.ZodLazy="ZodLazy",e.ZodLiteral="ZodLiteral",e.ZodEnum="ZodEnum",e.ZodEffects="ZodEffects",e.ZodNativeEnum="ZodNativeEnum",e.ZodOptional="ZodOptional",e.ZodNullable="ZodNullable",e.ZodDefault="ZodDefault",e.ZodCatch="ZodCatch",e.ZodPromise="ZodPromise",e.ZodBranded="ZodBranded",e.ZodPipeline="ZodPipeline",e.ZodReadonly="ZodReadonly"})(D||(D={}));var U4=(e,t={message:`Input not instance of ${e.name}`})=>a0(n=>n instanceof e,t),r0=pt.create,i0=Jt.create,$4=yr.create,W4=Xt.create,l0=sa.create,G4=wn.create,q4=pr.create,Y4=ca.create,Q4=da.create,K4=Cn.create,J4=Kt.create,X4=Mt.create,ep=hr.create,tp=gt.create,np=be.create,ap=be.strictCreate,rp=ua.create,ip=Zl.create,lp=ma.create,op=At.create,sp=fr.create,cp=gr.create,dp=Sn.create,up=ea.create,mp=pa.create,pp=ha.create,hp=en.create,fp=fa.create,gp=xn.create,Xo=rt.create,vp=Nt.create,yp=tn.create,Ep=rt.createWithPreprocess,bp=Br.create,kp=()=>r0().optional(),wp=()=>i0().optional(),Cp=()=>l0().optional(),Sp={string:e=>pt.create({...e,coerce:!0}),number:e=>Jt.create({...e,coerce:!0}),boolean:e=>sa.create({...e,coerce:!0}),bigint:e=>Xt.create({...e,coerce:!0}),date:e=>wn.create({...e,coerce:!0})},xp=z,Ct=Object.freeze({__proto__:null,defaultErrorMap:la,setErrorMap:_4,getErrorMap:dr,makeIssue:ur,EMPTY_PATH:T4,addIssueToContext:T,ParseStatus:Ze,INVALID:z,DIRTY:e0,OK:Be,isAborted:Xi,isDirty:el,isValid:oa,isAsync:mr,get util(){return le},get objectUtil(){return Ji},ZodParsedType:M,getParsedType:Lt,ZodType:Q,ZodString:pt,ZodNumber:Jt,ZodBigInt:Xt,ZodBoolean:sa,ZodDate:wn,ZodSymbol:pr,ZodUndefined:ca,ZodNull:da,ZodAny:Cn,ZodUnknown:Kt,ZodNever:Mt,ZodVoid:hr,ZodArray:gt,ZodObject:be,ZodUnion:ua,ZodDiscriminatedUnion:Zl,ZodIntersection:ma,ZodTuple:At,ZodRecord:fr,ZodMap:gr,ZodSet:Sn,ZodFunction:ea,ZodLazy:pa,ZodLiteral:ha,ZodEnum:en,ZodNativeEnum:fa,ZodPromise:xn,ZodEffects:rt,ZodTransformer:rt,ZodOptional:Nt,ZodNullable:tn,ZodDefault:ga,ZodCatch:vr,ZodNaN:yr,BRAND:j4,ZodBranded:n0,ZodPipeline:Br,ZodReadonly:Er,custom:a0,Schema:Q,ZodSchema:Q,late:z4,get ZodFirstPartyTypeKind(){return D},coerce:Sp,any:K4,array:tp,bigint:W4,boolean:l0,date:G4,discriminatedUnion:ip,effect:Xo,enum:hp,function:up,instanceof:U4,intersection:lp,lazy:mp,literal:pp,map:cp,nan:$4,nativeEnum:fp,never:X4,null:Q4,nullable:yp,number:i0,object:np,oboolean:Cp,onumber:wp,optional:vp,ostring:kp,pipeline:bp,preprocess:Ep,promise:gp,record:sp,set:dp,strictObject:ap,string:r0,symbol:q4,transformer:Xo,tuple:op,undefined:Y4,union:rp,unknown:J4,void:ep,NEVER:xp,ZodIssueCode:x,quotelessJson:A4,ZodError:at}),Np=Ct.union([Ct.object({message:Ct.literal("login")}),Ct.object({message:Ct.literal("grant"),denied:Ct.boolean()}),Ct.object({message:Ct.literal("createdProject"),projectId:Ct.string()})]),o0=e=>{let t=Ne(),n=Ne();return X(()=>{let r=({origin:i,data:l})=>{if(i===n.current){let o;try{o=Np.parse(l)}catch{return}e?.(o)}};return window.addEventListener("message",r),()=>window.removeEventListener("message",r)},[e]),[H(r=>{if(window.innerWidth>800&&window.innerHeight>800){let l=(window.innerWidth-800)/2+window.screenLeft,o=`scrollbars=yes,width=800,height=800,top=${(window.innerHeight-800)/2+window.screenTop},left=${l}`;t.current=window.open(r,"chromatic-dialog",o),t.current?.focus()}else t.current=window.open(r,"_blank");let{origin:i}=new URL(r);n.current=i},[]),H(()=>t.current?.close(),[])]},Mp=w.ol(({theme:e})=>({display:"inline-flex",listStyle:"none",marginTop:15,marginBottom:5,padding:0,gap:5,"li:not(:empty)":{display:"flex",alignItems:"center",justifyContent:"center",border:`1px dashed ${e.input.border}`,borderRadius:4,width:28,height:32}})),Ap=lt(` + query VisualTestsProjectCountQuery { + viewer { + projectCount + accounts { + newProjectUrl + } + } + } +`),_p=({onBack:e,hasProjectId:t,setAccessToken:n,setCreatedProjectId:r,exchangeParameters:i})=>{let l=kl(),o=$s(),{user_code:s,verificationUrl:c}=i,d=Ne(),m=Ne(),u=Ne(),p=H(async y=>{if(y.message==="login"&&m.current?.(c),y.message==="grant")try{let k=await zm(i);if(!k)throw new Error("Failed to fetch an access token");d.current=k;let E=Ss(k),{data:h}=await l.query(Ap,{},{fetchOptions:E});if(!h?.viewer)throw new Error("Failed to fetch initial project list");if(h.viewer.projectCount>0||t)n(d.current),u.current?.();else{if(!h.viewer.accounts[0])throw new Error("User has no accounts!");if(!h.viewer.accounts[0].newProjectUrl)throw new Error("Unexpected missing project URL");m.current?.(h.viewer.accounts[0].newProjectUrl)}}catch(k){o("Login Error",k)}y.message==="createdProject"&&(d.current?(n(d.current),r(`Project:${y.projectId}`),u.current?.()):o("Unexpected missing access token",new Error))},[c,i,l,t,n,o,r]),[f,g]=o0(p);return m.current=f,u.current=g,a.createElement(ve,{footer:null,ignoreConfig:!0},a.createElement(Zr,{onBack:e}),a.createElement(he,null,a.createElement(se,null,a.createElement("div",null,a.createElement(me,null,"Verify your account"),a.createElement("div",null,a.createElement(j,{center:!0,muted:!0},"Check this verification code on Chromatic to grant access to your published Storybooks.")),a.createElement(Mp,null,s?.split("").map((y,k)=>a.createElement("li",{key:`${k}-${y}`},y.replace(/[^A-Z0-9]/,""))))),a.createElement(ce,{variant:"solid",size:"medium",onClick:()=>f(c)},"Go to Chromatic"))))},Tp=({onNext:e,onUninstall:t})=>a.createElement(ve,{footer:null,ignoreConfig:!0},a.createElement(Zr,null),a.createElement(he,null,a.createElement(se,null,a.createElement("div",null,a.createElement(rn,null),a.createElement(me,null,"Visual tests"),a.createElement(j,{center:!0,muted:!0},"Catch bugs in UI appearance automatically. Compare image snapshots to detect visual changes.")),a.createElement(yt,null,a.createElement(ce,{variant:"solid",size:"medium",onClick:e},"Enable"),a.createElement(ce,{link:!0,onClick:()=>t()},"Uninstall"))))),Fp=({setAccessToken:e,setCreatedProjectId:t,hasProjectId:n})=>{let[r,i]=Ue("authenticationScreen",n?"signin":"welcome"),[l,o]=Ue("exchangeParameters"),s=$s(),{uninstallAddon:c}=Ll(),{setSubdomain:d}=Tl();We("Authentication",r.charAt(0).toUpperCase()+r.slice(1));let m=H(async u=>{try{d(u??"www"),o(await jm(u)),i("verify")}catch(p){s("Sign in Error",p)}},[s,o,i,d]);if(r==="welcome"&&!n)return a.createElement(Tp,{onNext:()=>i("signin"),onUninstall:c});if(r==="signin"||r==="welcome"&&n)return a.createElement(N4,{...n?{}:{onBack:()=>i("welcome")},onSignIn:m,onSignInWithSSO:()=>i("subdomain")});if(r==="subdomain")return a.createElement(x4,{onBack:()=>i("signin"),onSignIn:m});if(r==="verify"){if(!l)throw new Error("Expected to have a `exchangeParameters` if at `verify` step");return a.createElement(_p,{onBack:()=>i("signin"),hasProjectId:n,setAccessToken:e,setCreatedProjectId:t,exchangeParameters:l})}return null},s0=w.div(({theme:e})=>({display:"flex",flexDirection:"row",alignItems:"center",borderRadius:e.appBorderRadius,background:e.base==="light"?e.color.lightest:e.color.darkest,border:`1px solid ${e.appBorderColor}`,padding:15,flex:1,gap:14,maxWidth:"500px",width:"100%"}),({theme:e,warning:t})=>t&&{background:e.base==="dark"?"#342e1a":e.background.warning}),Op=w.b(()=>({display:"block",marginBottom:2})),Lp=()=>{We("Errors","GitNotFound");let{uninstallAddon:e}=Ll();return a.createElement(ve,{footer:null},a.createElement(he,null,a.createElement(se,null,a.createElement("div",null,a.createElement(rn,null),a.createElement(me,null,"Visual tests"),a.createElement(j,{center:!0,muted:!0},"Catch bugs in UI appearance automatically. Compare image snapshots to detect visual changes.")),a.createElement(s0,null,a.createElement(os,{style:{flexShrink:0}}),a.createElement(j,null,a.createElement(Op,null,"Git not detected"),"This addon requires Git to associate test results with commits and branches. Run"," ",a.createElement(Fe,null,"git init")," and make your first commit",a.createElement(Fe,null,"git commit -m")," to get started!")),a.createElement(Ie,{target:"_blank",href:"https://www.chromatic.com/docs/visual-tests-addon#git-addon",withArrow:!0,secondary:!0},"Visual tests requirements"),a.createElement(Ie,{withArrow:!0,onClick:()=>e()},"Uninstall"))))},Rp=w(hl)(({theme:e})=>({width:40,height:40,padding:10,background:e.color.positive,borderRadius:"100%",color:"white"})),Ip=w(Ie)(()=>({marginTop:5})),Zp=lt(` + query ProjectQuery($projectId: ID!) { + project(id: $projectId) { + id + name + webUrl + lastBuild { + branch + number + } + } + } +`),Bp=({projectId:e,configFile:t,goToNext:n})=>{We("LinkProject","LinkedProject");let[{data:r,fetching:i,error:l}]=wl({query:Zp,variables:{projectId:e}});return a.createElement(ve,{footer:a.createElement(Ir,null,a.createElement(Xe,null,r?.project?.lastBuild&&a.createElement(j,{style:{marginLeft:5}},"Last build: ",r.project.lastBuild.number," on branch"," ",r.project.lastBuild.branch)),a.createElement(Xe,{push:!0},a.createElement(Rr,null)))},a.createElement(he,null,a.createElement(se,null,i&&a.createElement("p",null,"Loading..."),l&&a.createElement("p",null,l.message),r?.project&&a.createElement(a.Fragment,null,a.createElement(Rp,null),a.createElement("div",null,a.createElement(me,null,"Project linked!"),a.createElement(j,{center:!0,muted:!0,style:{maxWidth:500}},"The ",a.createElement(Fe,null,"projectId")," for ",a.createElement("strong",null,r.project.name)," was added in"," ",a.createElement(Fe,null,t)," to sync tests with Chromatic. Please commit this change to continue using this addon.")),a.createElement(yt,null,a.createElement(ce,{variant:"solid",size:"medium",onClick:()=>n()},"Catch a UI change"),a.createElement(Ip,{href:"https://www.chromatic.com/docs/cli",target:"_blank",withArrow:!0,secondary:!0},"What's a project ID?"))))))};function Pp(e){for(var t=[],n=1;n({"&& > *":{margin:0},"&& pre":{color:e.base==="light"?e.color.darker:e.color.lighter,background:e.base==="light"?e.color.lightest:e.color.darkest,fontSize:"12px",lineHeight:"16px",textAlign:"left",padding:"15px !important"}})),Dp="https://www.chromatic.com/docs/visual-tests-addon/#configure";function Hp({projectId:e,configFile:t}){return We("LinkProject","LinkingProjectFailed"),a.createElement(ve,null,a.createElement(he,null,a.createElement(se,null,a.createElement("div",null,a.createElement(me,null,"Add the project ID to your Chromatic config"),a.createElement(j,{center:!0,muted:!0},"The ",a.createElement(Fe,null,"projectId")," will be used to sync tests with Chromatic. Please commit this change to continue using the addon. The file should be saved at"," ",a.createElement(Fe,null,t),".")),a.createElement(Vp,null,a.createElement(Fe,null,Pp` + { + "projectId": "${e}", + } + `)),a.createElement(Ie,{secondary:!0,withArrow:!0,target:"_blank",href:Dp},"What's this for?"))))}var jp=lt(` + query SelectProjectsQuery { + viewer { + accounts { + id + name + avatarUrl + newProjectUrl + projects { + id + name + webUrl + lastBuild { + branch + number + } + } + } + } + } +`),zp=({createdProjectId:e,setCreatedProjectId:t,onUpdateProject:n})=>{let r=a.useCallback(async i=>{await n(i)},[n]);return a.createElement(Wp,{createdProjectId:e,setCreatedProjectId:t,onSelectProjectId:r})},Pa=w.div(({theme:e})=>({fontSize:`${e.typography.size.s1-1}px`,fontWeight:e.typography.weight.bold,color:e.base==="light"?e.color.dark:e.color.light,backgroundColor:"inherit",padding:"7px 15px",borderBottom:`1px solid ${e.appBorderColor}`,lineHeight:"18px",letterSpacing:"0.38em",textTransform:"uppercase"})),e1=w.div(({theme:e})=>({})),t1=w.div(({theme:e})=>({background:e.base==="light"?e.color.lighter:e.color.darker})),n1=w.div(({theme:e})=>({background:e.base==="light"?e.color.lightest:e.color.darkest,borderRadius:5,border:`1px solid ${e.appBorderColor}`,height:260,maxWidth:420,minWidth:260,width:"100%",overflow:"hidden",textAlign:"left",position:"relative",display:"flex","> *":{flex:1,display:"flex",flexDirection:"column",width:"50%"}})),Va=w.div({height:"100%",overflowY:"auto"}),Up=w(se)({width:"100%"}),$p=w(mm)({marginRight:10});function Wp({createdProjectId:e,setCreatedProjectId:t,onSelectProjectId:n}){let[{data:r,fetching:i,error:l},o]=wl({query:jp});X(()=>{let h=setInterval(o,5e3);return()=>clearInterval(h)},[o]);let[s,c]=Ue("selectedAccountId"),d=r?.viewer?.accounts.find(h=>h.id===s),m=H(h=>c(h.id),[c]);X(()=>{!s&&r?.viewer?.accounts&&m(r.viewer.accounts[0])},[r,s,m]);let[u,p]=Ue("isSelectingProject",!1),f=H(h=>{p(!0),n(h.id);let v=setTimeout(()=>{p(!1)},1e3);return()=>clearTimeout(v)},[n,p]),g=H(async h=>{h.message==="createdProject"&&(o(),t(h.projectId))},[o,t]),[y,k]=o0(g),E=e&&d?.projects?.find(h=>h?.id.endsWith(e));return X(()=>{E&&(k(),f(E))},[E,f,k]),We("LinkProject","LinkProject"),a.createElement(ve,null,a.createElement(he,null,a.createElement(Up,null,a.createElement("div",null,a.createElement(me,null,"Select a project"),a.createElement(j,{muted:!0},"Your tests will sync with this project.")),l&&a.createElement("p",null,l.message),!r&&i&&a.createElement(n1,null,a.createElement(e1,null,a.createElement(Pa,null,"Accounts"),a.createElement(Va,null,a.createElement(tt,{appearance:"secondary",isLoading:!0}),a.createElement(tt,{appearance:"secondary",isLoading:!0}),a.createElement(tt,{appearance:"secondary",isLoading:!0}),a.createElement(tt,{appearance:"secondary",isLoading:!0}),a.createElement(tt,{appearance:"secondary",isLoading:!0}))),a.createElement(t1,null,a.createElement(Pa,null,"Projects"),a.createElement(Va,{"data-testid":"right-list"},a.createElement(tt,{appearance:"secondary",isLoading:!0}),a.createElement(tt,{appearance:"secondary",isLoading:!0}),a.createElement(tt,{appearance:"secondary",isLoading:!0})))),r?.viewer?.accounts&&a.createElement(n1,null,a.createElement(e1,null,a.createElement(Pa,null,"Accounts"),a.createElement(Va,{"data-testid":"left-list"},r.viewer.accounts?.map(h=>a.createElement(tt,{key:h.id,title:h.name,appearance:"secondary",left:a.createElement($p,{src:h.avatarUrl??void 0,size:"tiny"}),onClick:()=>m(h),active:s===h.id})))),a.createElement(t1,null,a.createElement(Pa,null,"Projects"),a.createElement(Va,{"data-testid":"right-list"},d&&a.createElement(tt,{isLink:!1,onClick:()=>{if(!d?.newProjectUrl)throw new Error("Unexpected missing `newProjectUrl` on account");y(d.newProjectUrl)},title:a.createElement(Ie,{isButton:!0,withArrow:!0},"Create new project")}),d?.projects?.map(h=>h&&a.createElement(tt,{appearance:"secondary",key:h.id,title:h.name,right:a.createElement($5,{"aria-label":h.name}),onClick:()=>f(h),disabled:u}))))))))}var Gp=()=>a.createElement(ve,{footer:null},a.createElement(he,null,a.createElement(se,null,a.createElement("div",null,a.createElement(rn,null),a.createElement(me,null,"Visual tests"),a.createElement(j,{center:!0,muted:!0},"Visual tests only runs locally. To test this Storybook, clone it to your machine and run ",a.createElement(Fe,null,"npx storybook dev"),"."))))),qp=({offline:e=!1})=>a.createElement(ve,{footer:null},a.createElement(he,null,a.createElement(se,null,a.createElement("div",null,a.createElement(me,null,"Can't connect to Chromatic"),a.createElement(j,{center:!0,muted:!0},e?"You're offline. Double check your internet connection.":"We're having trouble connecting to the Chromatic API.")),!e&&a.createElement(Ie,{href:"https://status.chromatic.com",target:"_blank",rel:"noreferrer",withArrow:!0},"Chromatic API status")))),Yp=()=>(We("Uninstalled","uninstalled"),a.createElement(ve,{footer:!1},a.createElement(he,null,a.createElement(se,null,a.createElement("div",null,a.createElement(rn,null),a.createElement(me,null,"Uninstall complete"),a.createElement(j,{center:!0,muted:!0},"Visual tests will vanish the next time you restart your Storybook.")))))),c0={isRunning:!1,startBuild:()=>{},stopBuild:()=>{}},d0=qe(c0),ka=()=>bt(d0,"RunBuild"),Qp=({children:e,watchState:t=c0})=>a.createElement(d0.Provider,{value:t},e),u0={PENDING:"warn",FAILED:"error",DENIED:"error",BROKEN:"error"},Ei=[null,"unknown","pending","success","warn","error"];function Kp(e,t){return Ei[Math.max(Ei.indexOf(e),Ei.indexOf(t))]}function Jp(e,t){let n={};t.forEach(i=>{!i.story||!i.status||(n[i.story.storyId]=Kp(u0[i.status]||null,n[i.story.storyId]))});let r=()=>{e.setSelectedPanel(an),e.togglePanel(!0)};return Object.fromEntries(Object.entries(n).map(([i,l])=>[i,l&&{status:l,title:"Visual tests",description:"Chromatic Visual Tests",onClick:r}]))}function Xp(e,{shouldSwitchToLastBuildOnBranch:t,lastBuildOnBranchId:n,storyId:r}){if(!t)return e?{...e,storyId:r}:void 0;if(!n)throw new Error("Impossible state");return{buildId:n,storyId:r}}var a1={EXCEEDED_THRESHOLD:{heading:"Snapshot limit reached",message:"Your account has reached its monthly snapshot limit. Visual testing is disabled. Upgrade your plan to increase your quota.",action:"Upgrade plan"},PAYMENT_REQUIRED:{heading:"Payment required",message:"Your subscription payment is past due. Review or replace your payment method to continue using Chromatic.",action:"Review billing details"},OTHER:{heading:"Account suspended",message:"Your account has been suspended. Contact customer support for details.",action:"Billing details"}},m0=({children:e,billingUrl:t,suspensionReason:n="OTHER"})=>{We("Errors","AccountSuspended");let{heading:r,message:i,action:l}=a1[n]||a1.OTHER;return a.createElement(ve,{footer:null},a.createElement(he,null,a.createElement(se,null,a.createElement("div",null,a.createElement(me,null,r),a.createElement(j,{center:!0,muted:!0},i)),t&&a.createElement(ce,{asChild:!0,size:"medium",variant:"solid"},a.createElement("a",{href:t,target:"_new"},l)),e)))},e3=({children:e,manageUrl:t})=>(We("Errors","VisualTestsDisabled"),a.createElement(ve,{footer:null},a.createElement(he,null,a.createElement(se,null,a.createElement("div",null,a.createElement(me,null,"Visual tests disabled for your project"),a.createElement(j,{center:!0,muted:!0},"Update your project settings to enable visual testing.")),a.createElement(ce,{asChild:!0,size:"medium",variant:"solid"},a.createElement("a",{href:t,target:"_new"},"Manage project settings")),e))));function p0(e){return t=>typeof t===e}var t3=p0("function"),n3=e=>e===null,r1=e=>Object.prototype.toString.call(e).slice(8,-1)==="RegExp",i1=e=>!a3(e)&&!n3(e)&&(t3(e)||typeof e=="object"),a3=p0("undefined");function r3(e,t){let{length:n}=e;if(n!==t.length)return!1;for(let r=n;r--!==0;)if(!Re(e[r],t[r]))return!1;return!0}function i3(e,t){if(e.byteLength!==t.byteLength)return!1;let n=new DataView(e.buffer),r=new DataView(t.buffer),i=e.byteLength;for(;i--;)if(n.getUint8(i)!==r.getUint8(i))return!1;return!0}function l3(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(!Re(n[1],t.get(n[0])))return!1;return!0}function o3(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 Re(e,t){if(e===t)return!0;if(e&&i1(e)&&t&&i1(t)){if(e.constructor!==t.constructor)return!1;if(Array.isArray(e)&&Array.isArray(t))return r3(e,t);if(e instanceof Map&&t instanceof Map)return l3(e,t);if(e instanceof Set&&t instanceof Set)return o3(e,t);if(ArrayBuffer.isView(e)&&ArrayBuffer.isView(t))return i3(e,t);if(r1(e)&&r1(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 i=n.length;i--!==0;)if(!Object.prototype.hasOwnProperty.call(t,n[i]))return!1;for(let i=n.length;i--!==0;){let l=n[i];if(!(l==="_owner"&&e.$$typeof)&&!Re(e[l],t[l]))return!1}return!0}return Number.isNaN(e)&&Number.isNaN(t)?!0:e===t}var s3=["Array","ArrayBuffer","AsyncFunction","AsyncGenerator","AsyncGeneratorFunction","Date","Error","Function","Generator","GeneratorFunction","HTMLElement","Map","Object","Promise","RegExp","Set","WeakMap","WeakSet"],c3=["bigint","boolean","null","number","string","symbol","undefined"];function Pr(e){let t=Object.prototype.toString.call(e).slice(8,-1);if(/HTML\w+Element/.test(t))return"HTMLElement";if(d3(t))return t}function ot(e){return t=>Pr(t)===e}function d3(e){return s3.includes(e)}function Tn(e){return t=>typeof t===e}function u3(e){return c3.includes(e)}var m3=["innerHTML","ownerDocument","style","attributes","nodeValue"];function A(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 A.array(e)?"Array":A.plainFunction(e)?"Function":Pr(e)||"Object"}A.array=Array.isArray;A.arrayOf=(e,t)=>!A.array(e)&&!A.function(t)?!1:e.every(n=>t(n));A.asyncGeneratorFunction=e=>Pr(e)==="AsyncGeneratorFunction";A.asyncFunction=ot("AsyncFunction");A.bigint=Tn("bigint");A.boolean=e=>e===!0||e===!1;A.date=ot("Date");A.defined=e=>!A.undefined(e);A.domElement=e=>A.object(e)&&!A.plainObject(e)&&e.nodeType===1&&A.string(e.nodeName)&&m3.every(t=>t in e);A.empty=e=>A.string(e)&&e.length===0||A.array(e)&&e.length===0||A.object(e)&&!A.map(e)&&!A.set(e)&&Object.keys(e).length===0||A.set(e)&&e.size===0||A.map(e)&&e.size===0;A.error=ot("Error");A.function=Tn("function");A.generator=e=>A.iterable(e)&&A.function(e.next)&&A.function(e.throw);A.generatorFunction=ot("GeneratorFunction");A.instanceOf=(e,t)=>!e||!t?!1:Object.getPrototypeOf(e)===t.prototype;A.iterable=e=>!A.nullOrUndefined(e)&&A.function(e[Symbol.iterator]);A.map=ot("Map");A.nan=e=>Number.isNaN(e);A.null=e=>e===null;A.nullOrUndefined=e=>A.null(e)||A.undefined(e);A.number=e=>Tn("number")(e)&&!A.nan(e);A.numericString=e=>A.string(e)&&e.length>0&&!Number.isNaN(Number(e));A.object=e=>!A.nullOrUndefined(e)&&(A.function(e)||typeof e=="object");A.oneOf=(e,t)=>A.array(e)?e.indexOf(t)>-1:!1;A.plainFunction=ot("Function");A.plainObject=e=>{if(Pr(e)!=="Object")return!1;let t=Object.getPrototypeOf(e);return t===null||t===Object.getPrototypeOf({})};A.primitive=e=>A.null(e)||u3(typeof e);A.promise=ot("Promise");A.propertyOf=(e,t,n)=>{if(!A.object(e)||!t)return!1;let r=e[t];return A.function(n)?n(r):A.defined(r)};A.regexp=ot("RegExp");A.set=ot("Set");A.string=Tn("string");A.symbol=Tn("symbol");A.undefined=Tn("undefined");A.weakMap=ot("WeakMap");A.weakSet=ot("WeakSet");var F=A;function p3(...e){return e.every(t=>F.string(t)||F.array(t)||F.plainObject(t))}function h3(e,t,n){return h0(e,t)?[e,t].every(F.array)?!e.some(d1(n))&&t.some(d1(n)):[e,t].every(F.plainObject)?!Object.entries(e).some(c1(n))&&Object.entries(t).some(c1(n)):t===n:!1}function l1(e,t,n){let{actual:r,key:i,previous:l,type:o}=n,s=ht(e,i),c=ht(t,i),d=[s,c].every(F.number)&&(o==="increased"?sc);return F.undefined(r)||(d=d&&c===r),F.undefined(l)||(d=d&&s===l),d}function o1(e,t,n){let{key:r,type:i,value:l}=n,o=ht(e,r),s=ht(t,r),c=i==="added"?o:s,d=i==="added"?s:o;if(!F.nullOrUndefined(l)){if(F.defined(c)){if(F.array(c)||F.plainObject(c))return h3(c,d,l)}else return Re(d,l);return!1}return[o,s].every(F.array)?!d.every(Bl(c)):[o,s].every(F.plainObject)?f3(Object.keys(c),Object.keys(d)):![o,s].every(m=>F.primitive(m)&&F.defined(m))&&(i==="added"?!F.defined(o)&&F.defined(s):F.defined(o)&&!F.defined(s))}function s1(e,t,{key:n}={}){let r=ht(e,n),i=ht(t,n);if(!h0(r,i))throw new TypeError("Inputs have different types");if(!p3(r,i))throw new TypeError("Inputs don't have length");return[r,i].every(F.plainObject)&&(r=Object.keys(r),i=Object.keys(i)),[r,i]}function c1(e){return([t,n])=>F.array(e)?Re(e,n)||e.some(r=>Re(r,n)||F.array(n)&&Bl(n)(r)):F.plainObject(e)&&e[t]?!!e[t]&&Re(e[t],n):Re(e,n)}function f3(e,t){return t.some(n=>!e.includes(n))}function d1(e){return t=>F.array(e)?e.some(n=>Re(n,t)||F.array(t)&&Bl(t)(n)):Re(e,t)}function Dn(e,t){return F.array(e)?e.some(n=>Re(n,t)):Re(e,t)}function Bl(e){return t=>e.some(n=>Re(n,t))}function h0(...e){return e.every(F.array)||e.every(F.number)||e.every(F.plainObject)||e.every(F.string)}function ht(e,t){return F.plainObject(e)||F.array(e)?F.string(t)?t.split(".").reduce((n,r)=>n&&n[r],e):F.number(t)?e[t]:e:e}function br(e,t){if([e,t].some(F.nullOrUndefined))throw new Error("Missing required parameters");if(![e,t].every(n=>F.plainObject(n)||F.array(n)))throw new Error("Expected plain objects or array");return{added:(n,r)=>{try{return o1(e,t,{key:n,type:"added",value:r})}catch{return!1}},changed:(n,r,i)=>{try{let l=ht(e,n),o=ht(t,n),s=F.defined(r),c=F.defined(i);if(s||c){let d=c?Dn(i,l):!Dn(r,l),m=Dn(r,o);return d&&m}return[l,o].every(F.array)||[l,o].every(F.plainObject)?!Re(l,o):l!==o}catch{return!1}},changedFrom:(n,r,i)=>{if(!F.defined(n))return!1;try{let l=ht(e,n),o=ht(t,n),s=F.defined(i);return Dn(r,l)&&(s?Dn(i,o):!s)}catch{return!1}},decreased:(n,r,i)=>{if(!F.defined(n))return!1;try{return l1(e,t,{key:n,actual:r,previous:i,type:"decreased"})}catch{return!1}},emptied:n=>{try{let[r,i]=s1(e,t,{key:n});return!!r.length&&!i.length}catch{return!1}},filled:n=>{try{let[r,i]=s1(e,t,{key:n});return!r.length&&!!i.length}catch{return!1}},increased:(n,r,i)=>{if(!F.defined(n))return!1;try{return l1(e,t,{key:n,actual:r,previous:i,type:"increased"})}catch{return!1}},removed:(n,r)=>{try{return o1(e,t,{key:n,type:"removed",value:r})}catch{return!1}}}}var g3=et(t5(),1),f0=et(n5(),1);function v3(e,...t){if(!F.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 y3(e,...t){if(!F.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}var Da=et(dl(),1),bi=et(dl(),1),N=et(i5()),wa=typeof window<"u"&&typeof document<"u"&&typeof navigator<"u",E3=function(){for(var e=["Edge","Trident","Firefox"],t=0;t=0)return 1;return 0}();function b3(e){var t=!1;return function(){t||(t=!0,window.Promise.resolve().then(function(){t=!1,e()}))}}function k3(e){var t=!1;return function(){t||(t=!0,setTimeout(function(){t=!1,e()},E3))}}var w3=wa&&window.Promise,C3=w3?b3:k3;function g0(e){var t={};return e&&t.toString.call(e)==="[object Function]"}function ln(e,t){if(e.nodeType!==1)return[];var n=e.ownerDocument.defaultView,r=n.getComputedStyle(e,null);return t?r[t]:r}function Pl(e){return e.nodeName==="HTML"?e:e.parentNode||e.host}function Ca(e){if(!e)return document.body;switch(e.nodeName){case"HTML":case"BODY":return e.ownerDocument.body;case"#document":return e.body}var t=ln(e),n=t.overflow,r=t.overflowX,i=t.overflowY;return/(auto|scroll|overlay)/.test(n+i+r)?e:Ca(Pl(e))}function v0(e){return e&&e.referenceNode?e.referenceNode:e}var u1=wa&&!!(window.MSInputMethodContext&&document.documentMode),m1=wa&&/MSIE 10/.test(navigator.userAgent);function Fn(e){return e===11?u1:e===10?m1:u1||m1}function Nn(e){if(!e)return document.documentElement;for(var t=Fn(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&&ln(n,"position")==="static"?Nn(n):n}function S3(e){var t=e.nodeName;return t==="BODY"?!1:t==="HTML"||Nn(e.firstElementChild)===e}function nl(e){return e.parentNode!==null?nl(e.parentNode):e}function kr(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,i=n?t:e,l=document.createRange();l.setStart(r,0),l.setEnd(i,0);var o=l.commonAncestorContainer;if(e!==o&&t!==o||r.contains(i))return S3(o)?o:Nn(o);var s=nl(e);return s.host?kr(s.host,t):kr(e,nl(t).host)}function Mn(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 i=e.ownerDocument.documentElement,l=e.ownerDocument.scrollingElement||i;return l[n]}return e[n]}function x3(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,r=Mn(t,"top"),i=Mn(t,"left"),l=n?-1:1;return e.top+=r*l,e.bottom+=r*l,e.left+=i*l,e.right+=i*l,e}function p1(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 h1(e,t,n,r){return Math.max(t["offset"+e],t["scroll"+e],n["client"+e],n["offset"+e],n["scroll"+e],Fn(10)?parseInt(n["offset"+e])+parseInt(r["margin"+(e==="Height"?"Top":"Left")])+parseInt(r["margin"+(e==="Height"?"Bottom":"Right")]):0)}function y0(e){var t=e.body,n=e.documentElement,r=Fn(10)&&getComputedStyle(n);return{height:h1("Height",t,n,r),width:h1("Width",t,n,r)}}var N3=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},M3=function(){function e(t,n){for(var r=0;r2&&arguments[2]!==void 0?arguments[2]:!1,r=Fn(10),i=t.nodeName==="HTML",l=al(e),o=al(t),s=Ca(e),c=ln(t),d=parseFloat(c.borderTopWidth),m=parseFloat(c.borderLeftWidth);n&&i&&(o.top=Math.max(o.top,0),o.left=Math.max(o.left,0));var u=Pt({top:l.top-o.top-d,left:l.left-o.left-m,width:l.width,height:l.height});if(u.marginTop=0,u.marginLeft=0,!r&&i){var p=parseFloat(c.marginTop),f=parseFloat(c.marginLeft);u.top-=d-p,u.bottom-=d-p,u.left-=m-f,u.right-=m-f,u.marginTop=p,u.marginLeft=f}return(r&&!n?t.contains(s):t===s&&s.nodeName!=="BODY")&&(u=x3(u,t)),u}function A3(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,n=e.ownerDocument.documentElement,r=Vl(e,n),i=Math.max(n.clientWidth,window.innerWidth||0),l=Math.max(n.clientHeight,window.innerHeight||0),o=t?0:Mn(n),s=t?0:Mn(n,"left"),c={top:o-r.top+r.marginTop,left:s-r.left+r.marginLeft,width:i,height:l};return Pt(c)}function E0(e){var t=e.nodeName;if(t==="BODY"||t==="HTML")return!1;if(ln(e,"position")==="fixed")return!0;var n=Pl(e);return n?E0(n):!1}function b0(e){if(!e||!e.parentElement||Fn())return document.documentElement;for(var t=e.parentElement;t&&ln(t,"transform")==="none";)t=t.parentElement;return t||document.documentElement}function Dl(e,t,n,r){var i=arguments.length>4&&arguments[4]!==void 0?arguments[4]:!1,l={top:0,left:0},o=i?b0(e):kr(e,v0(t));if(r==="viewport")l=A3(o,i);else{var s=void 0;r==="scrollParent"?(s=Ca(Pl(t)),s.nodeName==="BODY"&&(s=e.ownerDocument.documentElement)):r==="window"?s=e.ownerDocument.documentElement:s=r;var c=Vl(s,o,i);if(s.nodeName==="HTML"&&!E0(o)){var d=y0(e.ownerDocument),m=d.height,u=d.width;l.top+=c.top-c.marginTop,l.bottom=m+c.top,l.left+=c.left-c.marginLeft,l.right=u+c.left}else l=c}n=n||0;var p=typeof n=="number";return l.left+=p?n:n.left||0,l.top+=p?n:n.top||0,l.right-=p?n:n.right||0,l.bottom-=p?n:n.bottom||0,l}function _3(e){var t=e.width,n=e.height;return t*n}function k0(e,t,n,r,i){var l=arguments.length>5&&arguments[5]!==void 0?arguments[5]:0;if(e.indexOf("auto")===-1)return e;var o=Dl(n,r,l,i),s={top:{width:o.width,height:t.top-o.top},right:{width:o.right-t.right,height:o.height},bottom:{width:o.width,height:o.bottom-t.bottom},left:{width:t.left-o.left,height:o.height}},c=Object.keys(s).map(function(p){return Ke({key:p},s[p],{area:_3(s[p])})}).sort(function(p,f){return f.area-p.area}),d=c.filter(function(p){var f=p.width,g=p.height;return f>=n.clientWidth&&g>=n.clientHeight}),m=d.length>0?d[0].key:c[0].key,u=e.split("-")[1];return m+(u?"-"+u:"")}function w0(e,t,n){var r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null,i=r?b0(t):kr(t,v0(n));return Vl(n,i,r)}function C0(e){var t=e.ownerDocument.defaultView,n=t.getComputedStyle(e),r=parseFloat(n.marginTop||0)+parseFloat(n.marginBottom||0),i=parseFloat(n.marginLeft||0)+parseFloat(n.marginRight||0),l={width:e.offsetWidth+i,height:e.offsetHeight+r};return l}function wr(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 S0(e,t,n){n=n.split("-")[0];var r=C0(e),i={width:r.width,height:r.height},l=["right","left"].indexOf(n)!==-1,o=l?"top":"left",s=l?"left":"top",c=l?"height":"width",d=l?"width":"height";return i[o]=t[o]+t[c]/2-r[c]/2,n===s?i[s]=t[s]-r[d]:i[s]=t[wr(s)],i}function Sa(e,t){return Array.prototype.find?e.find(t):e.filter(t)[0]}function T3(e,t,n){if(Array.prototype.findIndex)return e.findIndex(function(i){return i[t]===n});var r=Sa(e,function(i){return i[t]===n});return e.indexOf(r)}function x0(e,t,n){var r=n===void 0?e:e.slice(0,T3(e,"name",n));return r.forEach(function(i){i.function&&console.warn("`modifier.function` is deprecated, use `modifier.fn`!");var l=i.function||i.fn;i.enabled&&g0(l)&&(t.offsets.popper=Pt(t.offsets.popper),t.offsets.reference=Pt(t.offsets.reference),t=l(t,i))}),t}function F3(){if(!this.state.isDestroyed){var e={instance:this,styles:{},arrowStyles:{},attributes:{},flipped:!1,offsets:{}};e.offsets.reference=w0(this.state,this.popper,this.reference,this.options.positionFixed),e.placement=k0(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=S0(this.popper,e.offsets.reference,e.placement),e.offsets.popper.position=this.options.positionFixed?"fixed":"absolute",e=x0(this.modifiers,e),this.state.isCreated?this.options.onUpdate(e):(this.state.isCreated=!0,this.options.onCreate(e))}}function N0(e,t){return e.some(function(n){var r=n.name,i=n.enabled;return i&&r===t})}function Hl(e){for(var t=[!1,"ms","Webkit","Moz","O"],n=e.charAt(0).toUpperCase()+e.slice(1),r=0;ro[f]&&(e.offsets.popper[u]+=s[u]+g-o[f]),e.offsets.popper=Pt(e.offsets.popper);var y=s[u]+s[d]/2-g/2,k=ln(e.instance.popper),E=parseFloat(k["margin"+m]),h=parseFloat(k["border"+m+"Width"]),v=y-e.offsets.popper[u]-E-h;return v=Math.max(Math.min(o[d]-g,v),0),e.arrowElement=r,e.offsets.arrow=(n={},An(n,u,Math.round(v)),An(n,p,""),n),e}function U3(e){return e==="end"?"start":e==="start"?"end":e}var T0=["auto-start","auto","auto-end","top-start","top","top-end","right-start","right","right-end","bottom-end","bottom","bottom-start","left-end","left","left-start"],ki=T0.slice(3);function f1(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,n=ki.indexOf(e),r=ki.slice(n+1).concat(ki.slice(0,n));return t?r.reverse():r}var wi={FLIP:"flip",CLOCKWISE:"clockwise",COUNTERCLOCKWISE:"counterclockwise"};function $3(e,t){if(N0(e.instance.modifiers,"inner")||e.flipped&&e.placement===e.originalPlacement)return e;var n=Dl(e.instance.popper,e.instance.reference,t.padding,t.boundariesElement,e.positionFixed),r=e.placement.split("-")[0],i=wr(r),l=e.placement.split("-")[1]||"",o=[];switch(t.behavior){case wi.FLIP:o=[r,i];break;case wi.CLOCKWISE:o=f1(r);break;case wi.COUNTERCLOCKWISE:o=f1(r,!0);break;default:o=t.behavior}return o.forEach(function(s,c){if(r!==s||o.length===c+1)return e;r=e.placement.split("-")[0],i=wr(r);var d=e.offsets.popper,m=e.offsets.reference,u=Math.floor,p=r==="left"&&u(d.right)>u(m.left)||r==="right"&&u(d.left)u(m.top)||r==="bottom"&&u(d.top)u(n.right),y=u(d.top)u(n.bottom),E=r==="left"&&f||r==="right"&&g||r==="top"&&y||r==="bottom"&&k,h=["top","bottom"].indexOf(r)!==-1,v=!!t.flipVariations&&(h&&l==="start"&&f||h&&l==="end"&&g||!h&&l==="start"&&y||!h&&l==="end"&&k),b=!!t.flipVariationsByContent&&(h&&l==="start"&&g||h&&l==="end"&&f||!h&&l==="start"&&k||!h&&l==="end"&&y),C=v||b;(p||E||C)&&(e.flipped=!0,(p||E)&&(r=o[c+1]),C&&(l=U3(l)),e.placement=r+(l?"-"+l:""),e.offsets.popper=Ke({},e.offsets.popper,S0(e.instance.popper,e.offsets.reference,e.placement)),e=x0(e.instance.modifiers,e,"flip"))}),e}function W3(e){var t=e.offsets,n=t.popper,r=t.reference,i=e.placement.split("-")[0],l=Math.floor,o=["top","bottom"].indexOf(i)!==-1,s=o?"right":"bottom",c=o?"left":"top",d=o?"width":"height";return n[s]l(r[s])&&(e.offsets.popper[c]=l(r[s])),e}function G3(e,t,n,r){var i=e.match(/((?:\-|\+)?\d*\.?\d*)(.*)/),l=+i[1],o=i[2];if(!l)return e;if(o.indexOf("%")===0){var s=void 0;switch(o){case"%p":s=n;break;case"%":case"%r":default:s=r}var c=Pt(s);return c[t]/100*l}else if(o==="vh"||o==="vw"){var d=void 0;return o==="vh"?d=Math.max(document.documentElement.clientHeight,window.innerHeight||0):d=Math.max(document.documentElement.clientWidth,window.innerWidth||0),d/100*l}else return l}function q3(e,t,n,r){var i=[0,0],l=["right","left"].indexOf(r)!==-1,o=e.split(/(\+|\-)/).map(function(m){return m.trim()}),s=o.indexOf(Sa(o,function(m){return m.search(/,|\s/)!==-1}));o[s]&&o[s].indexOf(",")===-1&&console.warn("Offsets separated by white space(s) are deprecated, use a comma (,) instead.");var c=/\s*,\s*|\s+/,d=s!==-1?[o.slice(0,s).concat([o[s].split(c)[0]]),[o[s].split(c)[1]].concat(o.slice(s+1))]:[o];return d=d.map(function(m,u){var p=(u===1?!l:l)?"height":"width",f=!1;return m.reduce(function(g,y){return g[g.length-1]===""&&["+","-"].indexOf(y)!==-1?(g[g.length-1]=y,f=!0,g):f?(g[g.length-1]+=y,f=!1,g):g.concat(y)},[]).map(function(g){return G3(g,p,t,n)})}),d.forEach(function(m,u){m.forEach(function(p,f){jl(p)&&(i[u]+=p*(m[f-1]==="-"?-1:1))})}),i}function Y3(e,t){var n=t.offset,r=e.placement,i=e.offsets,l=i.popper,o=i.reference,s=r.split("-")[0],c=void 0;return jl(+n)?c=[+n,0]:c=q3(n,l,o,s),s==="left"?(l.top+=c[0],l.left-=c[1]):s==="right"?(l.top+=c[0],l.left+=c[1]):s==="top"?(l.left+=c[0],l.top-=c[1]):s==="bottom"&&(l.left+=c[0],l.top+=c[1]),e.popper=l,e}function Q3(e,t){var n=t.boundariesElement||Nn(e.instance.popper);e.instance.reference===n&&(n=Nn(n));var r=Hl("transform"),i=e.instance.popper.style,l=i.top,o=i.left,s=i[r];i.top="",i.left="",i[r]="";var c=Dl(e.instance.popper,e.instance.reference,t.padding,n,e.positionFixed);i.top=l,i.left=o,i[r]=s,t.boundaries=c;var d=t.priority,m=e.offsets.popper,u={primary:function(p){var f=m[p];return m[p]c[p]&&!t.escapeWithReference&&(g=Math.min(m[f],c[p]-(p==="right"?m.width:m.height))),An({},f,g)}};return d.forEach(function(p){var f=["left","top"].indexOf(p)!==-1?"primary":"secondary";m=Ke({},m,u[f](p))}),e.offsets.popper=m,e}function K3(e){var t=e.placement,n=t.split("-")[0],r=t.split("-")[1];if(r){var i=e.offsets,l=i.reference,o=i.popper,s=["bottom","top"].indexOf(n)!==-1,c=s?"left":"top",d=s?"width":"height",m={start:An({},c,l[c]),end:An({},c,l[c]+l[d]-o[d])};e.offsets.popper=Ke({},o,m[r])}return e}function J3(e){if(!_0(e.instance.modifiers,"hide","preventOverflow"))return e;var t=e.offsets.reference,n=Sa(e.instance.modifiers,function(r){return r.name==="preventOverflow"}).boundaries;if(t.bottomn.right||t.top>n.bottom||t.right2&&arguments[2]!==void 0?arguments[2]:{};N3(this,e),this.scheduleUpdate=function(){return requestAnimationFrame(r.update)},this.update=C3(this.update.bind(this)),this.options=Ke({},e.Defaults,i),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(Ke({},e.Defaults.modifiers,i.modifiers)).forEach(function(o){r.options.modifiers[o]=Ke({},e.Defaults.modifiers[o]||{},i.modifiers?i.modifiers[o]:{})}),this.modifiers=Object.keys(this.options.modifiers).map(function(o){return Ke({name:o},r.options.modifiers[o])}).sort(function(o,s){return o.order-s.order}),this.modifiers.forEach(function(o){o.enabled&&g0(o.onLoad)&&o.onLoad(r.reference,r.popper,r.options,o,r.state)}),this.update();var l=this.options.eventsEnabled;l&&this.enableEventListeners(),this.state.eventsEnabled=l}return M3(e,[{key:"update",value:function(){return F3.call(this)}},{key:"destroy",value:function(){return O3.call(this)}},{key:"enableEventListeners",value:function(){return R3.call(this)}},{key:"disableEventListeners",value:function(){return Z3.call(this)}}]),e}();Vr.Utils=window.PopperUtils;Vr.placements=T0;Vr.Defaults=th;var g1=Vr,il=et(dl()),nh=["innerHTML","ownerDocument","style","attributes","nodeValue"],ah=["Array","ArrayBuffer","AsyncFunction","AsyncGenerator","AsyncGeneratorFunction","Date","Error","Function","Generator","GeneratorFunction","HTMLElement","Map","Object","Promise","RegExp","Set","WeakMap","WeakSet"],rh=["bigint","boolean","null","number","string","symbol","undefined"];function Dr(e){var t=Object.prototype.toString.call(e).slice(8,-1);if(/HTML\w+Element/.test(t))return"HTMLElement";if(ih(t))return t}function st(e){return function(t){return Dr(t)===e}}function ih(e){return ah.includes(e)}function On(e){return function(t){return typeof t===e}}function lh(e){return rh.includes(e)}function _(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"}if(_.array(e))return"Array";if(_.plainFunction(e))return"Function";var t=Dr(e);return t||"Object"}_.array=Array.isArray;_.arrayOf=function(e,t){return!_.array(e)&&!_.function(t)?!1:e.every(function(n){return t(n)})};_.asyncGeneratorFunction=function(e){return Dr(e)==="AsyncGeneratorFunction"};_.asyncFunction=st("AsyncFunction");_.bigint=On("bigint");_.boolean=function(e){return e===!0||e===!1};_.date=st("Date");_.defined=function(e){return!_.undefined(e)};_.domElement=function(e){return _.object(e)&&!_.plainObject(e)&&e.nodeType===1&&_.string(e.nodeName)&&nh.every(function(t){return t in e})};_.empty=function(e){return _.string(e)&&e.length===0||_.array(e)&&e.length===0||_.object(e)&&!_.map(e)&&!_.set(e)&&Object.keys(e).length===0||_.set(e)&&e.size===0||_.map(e)&&e.size===0};_.error=st("Error");_.function=On("function");_.generator=function(e){return _.iterable(e)&&_.function(e.next)&&_.function(e.throw)};_.generatorFunction=st("GeneratorFunction");_.instanceOf=function(e,t){return!e||!t?!1:Object.getPrototypeOf(e)===t.prototype};_.iterable=function(e){return!_.nullOrUndefined(e)&&_.function(e[Symbol.iterator])};_.map=st("Map");_.nan=function(e){return Number.isNaN(e)};_.null=function(e){return e===null};_.nullOrUndefined=function(e){return _.null(e)||_.undefined(e)};_.number=function(e){return On("number")(e)&&!_.nan(e)};_.numericString=function(e){return _.string(e)&&e.length>0&&!Number.isNaN(Number(e))};_.object=function(e){return!_.nullOrUndefined(e)&&(_.function(e)||typeof e=="object")};_.oneOf=function(e,t){return _.array(e)?e.indexOf(t)>-1:!1};_.plainFunction=st("Function");_.plainObject=function(e){if(Dr(e)!=="Object")return!1;var t=Object.getPrototypeOf(e);return t===null||t===Object.getPrototypeOf({})};_.primitive=function(e){return _.null(e)||lh(typeof e)};_.promise=st("Promise");_.propertyOf=function(e,t,n){if(!_.object(e)||!t)return!1;var r=e[t];return _.function(n)?n(r):_.defined(r)};_.regexp=st("RegExp");_.set=st("Set");_.string=On("string");_.symbol=On("symbol");_.undefined=On("undefined");_.weakMap=st("WeakMap");_.weakSet=st("WeakSet");var R=_;function F0(e){return function(t){return typeof t===e}}var oh=F0("function"),sh=function(e){return e===null},v1=function(e){return Object.prototype.toString.call(e).slice(8,-1)==="RegExp"},y1=function(e){return!ch(e)&&!sh(e)&&(oh(e)||typeof e=="object")},ch=F0("undefined"),ll=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.")};function dh(e,t){var n=e.length;if(n!==t.length)return!1;for(var r=n;r--!==0;)if(!De(e[r],t[r]))return!1;return!0}function uh(e,t){if(e.byteLength!==t.byteLength)return!1;for(var n=new DataView(e.buffer),r=new DataView(t.buffer),i=e.byteLength;i--;)if(n.getUint8(i)!==r.getUint8(i))return!1;return!0}function mh(e,t){var n,r,i,l;if(e.size!==t.size)return!1;try{for(var o=ll(e.entries()),s=o.next();!s.done;s=o.next()){var c=s.value;if(!t.has(c[0]))return!1}}catch(u){n={error:u}}finally{try{s&&!s.done&&(r=o.return)&&r.call(o)}finally{if(n)throw n.error}}try{for(var d=ll(e.entries()),m=d.next();!m.done;m=d.next()){var c=m.value;if(!De(c[1],t.get(c[0])))return!1}}catch(u){i={error:u}}finally{try{m&&!m.done&&(l=d.return)&&l.call(d)}finally{if(i)throw i.error}}return!0}function ph(e,t){var n,r;if(e.size!==t.size)return!1;try{for(var i=ll(e.entries()),l=i.next();!l.done;l=i.next()){var o=l.value;if(!t.has(o[0]))return!1}}catch(s){n={error:s}}finally{try{l&&!l.done&&(r=i.return)&&r.call(i)}finally{if(n)throw n.error}}return!0}function De(e,t){if(e===t)return!0;if(e&&y1(e)&&t&&y1(t)){if(e.constructor!==t.constructor)return!1;if(Array.isArray(e)&&Array.isArray(t))return dh(e,t);if(e instanceof Map&&t instanceof Map)return mh(e,t);if(e instanceof Set&&t instanceof Set)return ph(e,t);if(ArrayBuffer.isView(e)&&ArrayBuffer.isView(t))return uh(e,t);if(v1(e)&&v1(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();var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(var i=n.length;i--!==0;)if(!Object.prototype.hasOwnProperty.call(t,n[i]))return!1;for(var i=n.length;i--!==0;){var l=n[i];if(!(l==="_owner"&&e.$$typeof)&&!De(e[l],t[l]))return!1}return!0}return Number.isNaN(e)&&Number.isNaN(t)?!0:e===t}function hh(){for(var e=[],t=0;tc);return R.undefined(r)||(d=d&&c===r),R.undefined(l)||(d=d&&s===l),d}function b1(e,t,n){var r=n.key,i=n.type,l=n.value,o=ft(e,r),s=ft(t,r),c=i==="added"?o:s,d=i==="added"?s:o;if(!R.nullOrUndefined(l)){if(R.defined(c)){if(R.array(c)||R.plainObject(c))return fh(c,d,l)}else return De(d,l);return!1}return[o,s].every(R.array)?!d.every(zl(c)):[o,s].every(R.plainObject)?gh(Object.keys(c),Object.keys(d)):![o,s].every(function(m){return R.primitive(m)&&R.defined(m)})&&(i==="added"?!R.defined(o)&&R.defined(s):R.defined(o)&&!R.defined(s))}function k1(e,t,n){var r=n===void 0?{}:n,i=r.key,l=ft(e,i),o=ft(t,i);if(!O0(l,o))throw new TypeError("Inputs have different types");if(!hh(l,o))throw new TypeError("Inputs don't have length");return[l,o].every(R.plainObject)&&(l=Object.keys(l),o=Object.keys(o)),[l,o]}function w1(e){return function(t){var n=t[0],r=t[1];return R.array(e)?De(e,r)||e.some(function(i){return De(i,r)||R.array(r)&&zl(r)(i)}):R.plainObject(e)&&e[n]?!!e[n]&&De(e[n],r):De(e,r)}}function gh(e,t){return t.some(function(n){return!e.includes(n)})}function C1(e){return function(t){return R.array(e)?e.some(function(n){return De(n,t)||R.array(t)&&zl(t)(n)}):De(e,t)}}function Hn(e,t){return R.array(e)?e.some(function(n){return De(n,t)}):De(e,t)}function zl(e){return function(t){return e.some(function(n){return De(n,t)})}}function O0(){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 Eh(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,l;for(l=0;l=0)&&(n[i]=e[i]);return n}function L0(e,t){if(e==null)return{};var n=Eh(e,t),r,i;if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(i=0;i=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function St(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function bh(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 St(e)}function Aa(e){var t=yh();return function(){var n=Cr(e),r;if(t){var i=Cr(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return bh(this,r)}}function kh(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 R0(e){var t=kh(e,"string");return typeof t=="symbol"?t:String(t)}var wh={flip:{padding:20},preventOverflow:{padding:10}},Ch="The typeValidator argument must be a function with the signature function(props, propName, componentName).",Sh="The error message is optional, but must be a string if provided.";function xh(e,t,n,r){return typeof e=="boolean"?e:typeof e=="function"?e(t,n,r):e?!!e:!1}function Nh(e,t){return Object.hasOwnProperty.call(e,t)}function Mh(e,t,n,r){return r?new Error(r):new Error("Required ".concat(e[t]," `").concat(t,"` was not specified in `").concat(n,"`."))}function Ah(e,t){if(typeof e!="function")throw new TypeError(Ch);if(t&&typeof t!="string")throw new TypeError(Sh)}function N1(e,t,n){return Ah(e,n),function(r,i,l){for(var o=arguments.length,s=new Array(o>3?o-3:0),c=3;c3&&arguments[3]!==void 0?arguments[3]:!1;e.addEventListener(t,n,r)}function Th(e,t,n){var r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1;e.removeEventListener(t,n,r)}function Fh(e,t,n){var r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1,i;i=function(l){n(l),Th(e,t,i)},_h(e,t,i,r)}function M1(){}var I0=function(e){Ma(n,e);var t=Aa(n);function n(){return xa(this,n),t.apply(this,arguments)}return Na(n,[{key:"componentDidMount",value:function(){dt()&&(this.node||this.appendNode(),jn||this.renderPortal())}},{key:"componentDidUpdate",value:function(){dt()&&(jn||this.renderPortal())}},{key:"componentWillUnmount",value:function(){!dt()||!this.node||(jn||Rn.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,i=r.id,l=r.zIndex;this.node||(this.node=document.createElement("div"),i&&(this.node.id=i),l&&(this.node.style.zIndex=l),document.body.appendChild(this.node))}},{key:"renderPortal",value:function(){if(!dt())return null;var r=this.props,i=r.children,l=r.setRef;if(this.node||this.appendNode(),jn)return Rn.createPortal(i,this.node);var o=Rn.unstable_renderSubtreeIntoContainer(this,i.length>1?a.createElement("div",null,i):i[0],this.node);return l(o),null}},{key:"renderReact16",value:function(){var r=this.props,i=r.hasChildren,l=r.placement,o=r.target;return i?this.renderPortal():o||l==="center"?this.renderPortal():null}},{key:"render",value:function(){return jn?this.renderReact16():null}}]),n}(a.Component);Te(I0,"propTypes",{children:N.default.oneOfType([N.default.element,N.default.array]),hasChildren:N.default.bool,id:N.default.oneOfType([N.default.string,N.default.number]),placement:N.default.string,setRef:N.default.func.isRequired,target:N.default.oneOfType([N.default.object,N.default.string]),zIndex:N.default.number});var Z0=function(e){Ma(n,e);var t=Aa(n);function n(){return xa(this,n),t.apply(this,arguments)}return Na(n,[{key:"parentStyle",get:function(){var r=this.props,i=r.placement,l=r.styles,o=l.arrow.length,s={pointerEvents:"none",position:"absolute",width:"100%"};return i.startsWith("top")?(s.bottom=0,s.left=0,s.right=0,s.height=o):i.startsWith("bottom")?(s.left=0,s.right=0,s.top=0,s.height=o):i.startsWith("left")?(s.right=0,s.top=0,s.bottom=0):i.startsWith("right")&&(s.left=0,s.top=0),s}},{key:"render",value:function(){var r=this.props,i=r.placement,l=r.setArrowRef,o=r.styles,s=o.arrow,c=s.color,d=s.display,m=s.length,u=s.margin,p=s.position,f=s.spread,g={display:d,position:p},y,k=f,E=m;return i.startsWith("top")?(y="0,0 ".concat(k/2,",").concat(E," ").concat(k,",0"),g.bottom=0,g.marginLeft=u,g.marginRight=u):i.startsWith("bottom")?(y="".concat(k,",").concat(E," ").concat(k/2,",0 0,").concat(E),g.top=0,g.marginLeft=u,g.marginRight=u):i.startsWith("left")?(E=f,k=m,y="0,0 ".concat(k,",").concat(E/2," 0,").concat(E),g.right=0,g.marginTop=u,g.marginBottom=u):i.startsWith("right")&&(E=f,k=m,y="".concat(k,",").concat(E," ").concat(k,",0 0,").concat(E/2),g.left=0,g.marginTop=u,g.marginBottom=u),a.createElement("div",{className:"__floater__arrow",style:this.parentStyle},a.createElement("span",{ref:l,style:g},a.createElement("svg",{width:k,height:E,version:"1.1",xmlns:"http://www.w3.org/2000/svg"},a.createElement("polygon",{points:y,fill:c}))))}}]),n}(a.Component);Te(Z0,"propTypes",{placement:N.default.string.isRequired,setArrowRef:N.default.func.isRequired,styles:N.default.object.isRequired});var Oh=["color","height","width"];function B0(e){var t=e.handleClick,n=e.styles,r=n.color,i=n.height,l=n.width,o=L0(n,Oh);return a.createElement("button",{"aria-label":"close",onClick:t,style:o,type:"button"},a.createElement("svg",{width:"".concat(l,"px"),height:"".concat(i,"px"),viewBox:"0 0 18 18",version:"1.1",xmlns:"http://www.w3.org/2000/svg",preserveAspectRatio:"xMidYMid"},a.createElement("g",null,a.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}))))}B0.propTypes={handleClick:N.default.func.isRequired,styles:N.default.object.isRequired};function P0(e){var t=e.content,n=e.footer,r=e.handleClick,i=e.open,l=e.positionWrapper,o=e.showCloseButton,s=e.title,c=e.styles,d={content:a.isValidElement(t)?t:a.createElement("div",{className:"__floater__content",style:c.content},t)};return s&&(d.title=a.isValidElement(s)?s:a.createElement("div",{className:"__floater__title",style:c.title},s)),n&&(d.footer=a.isValidElement(n)?n:a.createElement("div",{className:"__floater__footer",style:c.footer},n)),(o||l)&&!R.boolean(i)&&(d.close=a.createElement(B0,{styles:c.close,handleClick:r})),a.createElement("div",{className:"__floater__container",style:c.container},d.close,d.title,d.content,d.footer)}P0.propTypes={content:N.default.node.isRequired,footer:N.default.node,handleClick:N.default.func.isRequired,open:N.default.bool,positionWrapper:N.default.bool.isRequired,showCloseButton:N.default.bool.isRequired,styles:N.default.object.isRequired,title:N.default.node};var V0=function(e){Ma(n,e);var t=Aa(n);function n(){return xa(this,n),t.apply(this,arguments)}return Na(n,[{key:"style",get:function(){var r=this.props,i=r.disableAnimation,l=r.component,o=r.placement,s=r.hideArrow,c=r.status,d=r.styles,m=d.arrow.length,u=d.floater,p=d.floaterCentered,f=d.floaterClosing,g=d.floaterOpening,y=d.floaterWithAnimation,k=d.floaterWithComponent,E={};return s||(o.startsWith("top")?E.padding="0 0 ".concat(m,"px"):o.startsWith("bottom")?E.padding="".concat(m,"px 0 0"):o.startsWith("left")?E.padding="0 ".concat(m,"px 0 0"):o.startsWith("right")&&(E.padding="0 0 0 ".concat(m,"px"))),[te.OPENING,te.OPEN].indexOf(c)!==-1&&(E=ge(ge({},E),g)),c===te.CLOSING&&(E=ge(ge({},E),f)),c===te.OPEN&&!i&&(E=ge(ge({},E),y)),o==="center"&&(E=ge(ge({},E),p)),l&&(E=ge(ge({},E),k)),ge(ge({},u),E)}},{key:"render",value:function(){var r=this.props,i=r.component,l=r.handleClick,o=r.hideArrow,s=r.setFloaterRef,c=r.status,d={},m=["__floater"];return i?a.isValidElement(i)?d.content=a.cloneElement(i,{closeFn:l}):d.content=i({closeFn:l}):d.content=a.createElement(P0,this.props),c===te.OPEN&&m.push("__floater__open"),o||(d.arrow=a.createElement(Z0,this.props)),a.createElement("div",{ref:s,className:m.join(" "),style:this.style},a.createElement("div",{className:"__floater__body"},d.content,d.arrow))}}]),n}(a.Component);Te(V0,"propTypes",{component:N.default.oneOfType([N.default.func,N.default.element]),content:N.default.node,disableAnimation:N.default.bool.isRequired,footer:N.default.node,handleClick:N.default.func.isRequired,hideArrow:N.default.bool.isRequired,open:N.default.bool,placement:N.default.string.isRequired,positionWrapper:N.default.bool.isRequired,setArrowRef:N.default.func.isRequired,setFloaterRef:N.default.func.isRequired,showCloseButton:N.default.bool,status:N.default.string.isRequired,styles:N.default.object.isRequired,title:N.default.node});var D0=function(e){Ma(n,e);var t=Aa(n);function n(){return xa(this,n),t.apply(this,arguments)}return Na(n,[{key:"render",value:function(){var r=this.props,i=r.children,l=r.handleClick,o=r.handleMouseEnter,s=r.handleMouseLeave,c=r.setChildRef,d=r.setWrapperRef,m=r.style,u=r.styles,p;if(i)if(a.Children.count(i)===1)if(!a.isValidElement(i))p=a.createElement("span",null,i);else{var f=R.function(i.type)?"innerRef":"ref";p=a.cloneElement(a.Children.only(i),Te({},f,c))}else p=i;return p?a.createElement("span",{ref:d,style:ge(ge({},u),m),onClick:l,onMouseEnter:o,onMouseLeave:s},p):null}}]),n}(a.Component);Te(D0,"propTypes",{children:N.default.node,handleClick:N.default.func.isRequired,handleMouseEnter:N.default.func.isRequired,handleMouseLeave:N.default.func.isRequired,setChildRef:N.default.func.isRequired,setWrapperRef:N.default.func.isRequired,style:N.default.object,styles:N.default.object.isRequired});var Lh={zIndex:100};function Rh(e){var t=(0,il.default)(Lh,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}}var Ih=["arrow","flip","offset"],Zh=["position","top","right","bottom","left"],Ul=function(e){Ma(n,e);var t=Aa(n);function n(r){var i;return xa(this,n),i=t.call(this,r),Te(St(i),"setArrowRef",function(l){i.arrowRef=l}),Te(St(i),"setChildRef",function(l){i.childRef=l}),Te(St(i),"setFloaterRef",function(l){i.floaterRef=l}),Te(St(i),"setWrapperRef",function(l){i.wrapperRef=l}),Te(St(i),"handleTransitionEnd",function(){var l=i.state.status,o=i.props.callback;i.wrapperPopper&&i.wrapperPopper.instance.update(),i.setState({status:l===te.OPENING?te.OPEN:te.IDLE},function(){var s=i.state.status;o(s===te.OPEN?"open":"close",i.props)})}),Te(St(i),"handleClick",function(){var l=i.props,o=l.event,s=l.open;if(!R.boolean(s)){var c=i.state,d=c.positionWrapper,m=c.status;(i.event==="click"||i.event==="hover"&&d)&&(Ha({title:"click",data:[{event:o,status:m===te.OPEN?"closing":"opening"}],debug:i.debug}),i.toggle())}}),Te(St(i),"handleMouseEnter",function(){var l=i.props,o=l.event,s=l.open;if(!(R.boolean(s)||Ci())){var c=i.state.status;i.event==="hover"&&c===te.IDLE&&(Ha({title:"mouseEnter",data:[{key:"originalEvent",value:o}],debug:i.debug}),clearTimeout(i.eventDelayTimeout),i.toggle())}}),Te(St(i),"handleMouseLeave",function(){var l=i.props,o=l.event,s=l.eventDelay,c=l.open;if(!(R.boolean(c)||Ci())){var d=i.state,m=d.status,u=d.positionWrapper;i.event==="hover"&&(Ha({title:"mouseLeave",data:[{key:"originalEvent",value:o}],debug:i.debug}),s?[te.OPENING,te.OPEN].indexOf(m)!==-1&&!u&&!i.eventDelayTimeout&&(i.eventDelayTimeout=setTimeout(function(){delete i.eventDelayTimeout,i.toggle()},s*1e3)):i.toggle(te.IDLE))}}),i.state={currentPlacement:r.placement,needsUpdate:!1,positionWrapper:r.wrapperOptions.position&&!!r.target,status:te.INIT,statusWrapper:te.INIT},i._isMounted=!1,i.hasMounted=!1,dt()&&window.addEventListener("load",function(){i.popper&&i.popper.instance.update(),i.wrapperPopper&&i.wrapperPopper.instance.update()}),i}return Na(n,[{key:"componentDidMount",value:function(){if(dt()){var r=this.state.positionWrapper,i=this.props,l=i.children,o=i.open,s=i.target;this._isMounted=!0,Ha({title:"init",data:{hasChildren:!!l,hasTarget:!!s,isControlled:R.boolean(o),positionWrapper:r,target:this.target,floater:this.floaterRef},debug:this.debug}),this.hasMounted||(this.initPopper(),this.hasMounted=!0),!l&&s&&R.boolean(o)}}},{key:"componentDidUpdate",value:function(r,i){if(dt()){var l=this.props,o=l.autoOpen,s=l.open,c=l.target,d=l.wrapperOptions,m=vh(i,this.state),u=m.changedFrom,p=m.changed;if(r.open!==s){var f;R.boolean(s)&&(f=s?te.OPENING:te.CLOSING),this.toggle(f)}(r.wrapperOptions.position!==d.position||r.target!==c)&&this.changeWrapperPosition(this.props),p("status",te.IDLE)&&s?this.toggle(te.OPEN):u("status",te.INIT,te.IDLE)&&o&&this.toggle(te.OPEN),this.popper&&p("status",te.OPENING)&&this.popper.instance.update(),this.floaterRef&&(p("status",te.OPENING)||p("status",te.CLOSING))&&Fh(this.floaterRef,"transitionend",this.handleTransitionEnd),p("needsUpdate",!0)&&this.rebuildPopper()}}},{key:"componentWillUnmount",value:function(){dt()&&(this._isMounted=!1,this.popper&&this.popper.instance.destroy(),this.wrapperPopper&&this.wrapperPopper.instance.destroy())}},{key:"initPopper",value:function(){var r=this,i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:this.target,l=this.state.positionWrapper,o=this.props,s=o.disableFlip,c=o.getPopper,d=o.hideArrow,m=o.offset,u=o.placement,p=o.wrapperOptions,f=u==="top"||u==="bottom"?"flip":["right","bottom-end","top-end","left","top-start","bottom-start"];if(u==="center")this.setState({status:te.IDLE});else if(i&&this.floaterRef){var g=this.options,y=g.arrow,k=g.flip,E=g.offset,h=L0(g,Ih);new g1(i,this.floaterRef,{placement:u,modifiers:ge({arrow:ge({enabled:!d,element:this.arrowRef},y),flip:ge({enabled:!s,behavior:f},k),offset:ge({offset:"0, ".concat(m,"px")},E)},h),onCreate:function(b){var C;if(r.popper=b,!((C=r.floaterRef)!==null&&C!==void 0&&C.isConnected)){r.setState({needsUpdate:!0});return}c(b,"floater"),r._isMounted&&r.setState({currentPlacement:b.placement,status:te.IDLE}),u!==b.placement&&setTimeout(function(){b.instance.update()},1)},onUpdate:function(b){r.popper=b;var C=r.state.currentPlacement;r._isMounted&&b.placement!==C&&r.setState({currentPlacement:b.placement})}})}if(l){var v=R.undefined(p.offset)?0:p.offset;new g1(this.target,this.wrapperRef,{placement:p.placement||u,modifiers:{arrow:{enabled:!1},offset:{offset:"0, ".concat(v,"px")},flip:{enabled:!1}},onCreate:function(b){r.wrapperPopper=b,r._isMounted&&r.setState({statusWrapper:te.IDLE}),c(b,"wrapper"),u!==b.placement&&setTimeout(function(){b.instance.update()},1)}})}}},{key:"rebuildPopper",value:function(){var r=this;this.floaterRefInterval=setInterval(function(){var i;(i=r.floaterRef)!==null&&i!==void 0&&i.isConnected&&(clearInterval(r.floaterRefInterval),r.setState({needsUpdate:!1}),r.initPopper())},50)}},{key:"changeWrapperPosition",value:function(r){var i=r.target,l=r.wrapperOptions;this.setState({positionWrapper:l.position&&!!i})}},{key:"toggle",value:function(r){var i=this.state.status,l=i===te.OPEN?te.CLOSING:te.OPENING;R.undefined(r)||(l=r),this.setState({status:l})}},{key:"debug",get:function(){var r=this.props.debug;return r||dt()&&"ReactFloaterDebug"in window&&!!window.ReactFloaterDebug}},{key:"event",get:function(){var r=this.props,i=r.disableHoverToClick,l=r.event;return l==="hover"&&Ci()&&!i?"click":l}},{key:"options",get:function(){var r=this.props.options;return(0,il.default)(wh,r||{})}},{key:"styles",get:function(){var r=this,i=this.state,l=i.status,o=i.positionWrapper,s=i.statusWrapper,c=this.props.styles,d=(0,il.default)(Rh(c),c);if(o){var m;[te.IDLE].indexOf(l)===-1||[te.IDLE].indexOf(s)===-1?m=d.wrapperPosition:m=this.wrapperPopper.styles,d.wrapper=ge(ge({},d.wrapper),m)}if(this.target){var u=window.getComputedStyle(this.target);this.wrapperStyles?d.wrapper=ge(ge({},d.wrapper),this.wrapperStyles):["relative","static"].indexOf(u.position)===-1&&(this.wrapperStyles={},o||(Zh.forEach(function(p){r.wrapperStyles[p]=u[p]}),d.wrapper=ge(ge({},d.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 d}},{key:"target",get:function(){if(!dt())return null;var r=this.props.target;return r?R.domElement(r)?r:document.querySelector(r):this.childRef||this.wrapperRef}},{key:"render",value:function(){var r=this.state,i=r.currentPlacement,l=r.positionWrapper,o=r.status,s=this.props,c=s.children,d=s.component,m=s.content,u=s.disableAnimation,p=s.footer,f=s.hideArrow,g=s.id,y=s.open,k=s.showCloseButton,E=s.style,h=s.target,v=s.title,b=a.createElement(D0,{handleClick:this.handleClick,handleMouseEnter:this.handleMouseEnter,handleMouseLeave:this.handleMouseLeave,setChildRef:this.setChildRef,setWrapperRef:this.setWrapperRef,style:E,styles:this.styles.wrapper},c),C={};return l?C.wrapperInPortal=b:C.wrapperAsChildren=b,a.createElement("span",null,a.createElement(I0,{hasChildren:!!c,id:g,placement:i,setRef:this.setFloaterRef,target:h,zIndex:this.styles.options.zIndex},a.createElement(V0,{component:d,content:m,disableAnimation:u,footer:p,handleClick:this.handleClick,hideArrow:f||i==="center",open:y,placement:i,positionWrapper:l,setArrowRef:this.setArrowRef,setFloaterRef:this.setFloaterRef,showCloseButton:k,status:o,styles:this.styles,title:v}),C.wrapperInPortal),C.wrapperAsChildren)}}]),n}(a.Component);Te(Ul,"propTypes",{autoOpen:N.default.bool,callback:N.default.func,children:N.default.node,component:N1(N.default.oneOfType([N.default.func,N.default.element]),function(e){return!e.content}),content:N1(N.default.node,function(e){return!e.component}),debug:N.default.bool,disableAnimation:N.default.bool,disableFlip:N.default.bool,disableHoverToClick:N.default.bool,event:N.default.oneOf(["hover","click"]),eventDelay:N.default.number,footer:N.default.node,getPopper:N.default.func,hideArrow:N.default.bool,id:N.default.oneOfType([N.default.string,N.default.number]),offset:N.default.number,open:N.default.bool,options:N.default.object,placement:N.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:N.default.bool,style:N.default.object,styles:N.default.object,target:N.default.oneOfType([N.default.object,N.default.string]),title:N.default.node,wrapperOptions:N.default.shape({offset:N.default.number,placement:N.default.oneOf(["top","top-start","top-end","bottom","bottom-start","bottom-end","left","left-start","left-end","right","right-start","right-end","auto"]),position:N.default.bool})});Te(Ul,"defaultProps",{autoOpen:!1,callback:M1,debug:!1,disableAnimation:!1,disableFlip:!1,disableHoverToClick:!1,event:"click",eventDelay:.4,getPopper:M1,hideArrow:!1,offset:15,placement:"bottom",showCloseButton:!1,styles:{},target:null,wrapperOptions:{position:!1}});var Bh=et(l5(),1),Ph=Object.defineProperty,Vh=(e,t,n)=>t in e?Ph(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,L=(e,t,n)=>(Vh(e,typeof t!="symbol"?t+"":t,n),n),de={INIT:"init",START:"start",STOP:"stop",RESET:"reset",PREV:"prev",NEXT:"next",GO:"go",CLOSE:"close",SKIP:"skip",UPDATE:"update"},nt={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"},q={INIT:"init",READY:"ready",BEACON:"beacon",TOOLTIP:"tooltip",COMPLETE:"complete",ERROR:"error"},K={IDLE:"idle",READY:"ready",WAITING:"waiting",RUNNING:"running",PAUSED:"paused",SKIPPED:"skipped",FINISHED:"finished",ERROR:"error"};function Rt(){return!!(typeof window<"u"&&window.document&&window.document.createElement)}function H0(e){return e?e.getBoundingClientRect():null}function Dh(){let{body:e,documentElement:t}=document;return!e||!t?0:Math.max(e.scrollHeight,e.offsetHeight,t.clientHeight,t.scrollHeight,t.offsetHeight)}function Bt(e){return typeof e=="string"?document.querySelector(e):e}function Hh(e){return!e||e.nodeType!==1?null:getComputedStyle(e)}function Hr(e,t,n){if(!e)return Yt();let r=(0,f0.default)(e);if(r){if(r.isSameNode(Yt()))return n?document:Yt();if(!(r.scrollHeight>r.offsetHeight)&&!t)return r.style.overflow="initial",Yt()}return r}function jr(e,t){if(!e)return!1;let n=Hr(e,t);return n?!n.isSameNode(Yt()):!1}function jh(e){return e.offsetParent!==document.body}function va(e,t="fixed"){if(!e||!(e instanceof HTMLElement))return!1;let{nodeName:n}=e,r=Hh(e);return n==="BODY"||n==="HTML"?!1:r&&r.position===t?!0:e.parentNode?va(e.parentNode,t):!1}function zh(e){var t;if(!e)return!1;let n=e;for(;n&&n!==document.body;){if(n instanceof HTMLElement){let{display:r,visibility:i}=getComputedStyle(n);if(r==="none"||i==="hidden")return!1}n=(t=n.parentElement)!=null?t:null}return!0}function Uh(e,t,n){var r;let i=H0(e),l=Hr(e,n),o=jr(e,n),s=0,c=(r=i?.top)!=null?r:0;return l instanceof HTMLElement&&(s=l.scrollTop,!o&&!va(e)&&(c+=s),l.isSameNode(Yt())||(c+=Yt().scrollTop)),Math.floor(c-t)}function $h(e,t,n){var r;if(!e)return 0;let{offsetTop:i=0,scrollTop:l=0}=(r=(0,f0.default)(e))!=null?r:{},o=e.getBoundingClientRect().top+l;i&&(jr(e,n)||jh(e))&&(o-=i);let s=Math.floor(o-t);return s<0?0:s}function Yt(){var e;return(e=document.scrollingElement)!=null?e:document.documentElement}function Wh(e,t){let{duration:n,element:r}=t;return new Promise((i,l)=>{let{scrollTop:o}=r,s=e>o?e-o:o-e;g3.default.top(r,e,{duration:s<100?50:n},c=>c&&c.message!=="Element already at target scroll position"?l(c):i())})}var zn=In!==void 0;function j0(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 It(e){let t=[],n=r=>{if(typeof r=="string"||typeof r=="number")t.push(r);else if(Array.isArray(r))r.forEach(i=>n(i));else if(Jl(r)){let{children:i}=r.props;Array.isArray(i)?i.forEach(l=>n(l)):n(i)}};return n(e),t.join(" ").trim()}function Gh(e,t){return!F.plainObject(e)||!F.array(t)?!1:Object.keys(e).every(n=>t.includes(n))}function qh(e){let t=/^#?([\da-f])([\da-f])([\da-f])$/i,n=e.replace(t,(i,l,o,s)=>l+l+o+o+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 A1(e){return e.disableBeacon||e.placement==="center"}function _1(){return!["chrome","safari","firefox","opera"].includes(j0())}function nn({data:e,debug:t=!1,title:n,warn:r=!1}){let i=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(l=>{F.plainObject(l)&&l.key?i.apply(console,[l.key,l.value]):i.apply(console,[l])}):i.apply(console,[e]),console.groupEnd()):console.error("Missing title or data props"))}function Yh(e){let{isFirstStep:t,lifecycle:n,previousLifecycle:r,scrollToFirstStep:i,step:l,target:o}=e;return!l.disableScrolling&&(!t||i||n===q.TOOLTIP)&&l.placement!=="center"&&(!l.isFixed||!va(o))&&r!==n&&[q.BEACON,q.TOOLTIP].includes(n)}var Qh={options:{preventOverflow:{boundariesElement:"scrollParent"}},wrapperOptions:{offset:-18,position:!0}},z0={back:"Back",close:"Close",last:"Last",next:"Next",open:"Open the dialog",skip:"Skip"},Kh={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:z0,showProgress:!1,showSkipButton:!1,spotlightClicks:!1,spotlightPadding:10},Jh={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:[]},Xh={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},Un={backgroundColor:"transparent",border:0,borderRadius:0,color:"#555",cursor:"pointer",fontSize:16,lineHeight:1,padding:8,WebkitAppearance:"none"},T1={borderRadius:4,position:"absolute"};function e7(e,t){let n=(0,bi.default)(e??{},t??{}),r=(0,bi.default)(Xh,n.options||{}),{width:i}=r;window.innerWidth>480&&(i=380),"width"in r&&(i=typeof r.width=="number"&&window.innerWidthU0(n,t)):(nn({title:"validateSteps",data:"steps must be an array",warn:!0,debug:t}),!1)}var n7={action:"init",controlled:!1,index:0,lifecycle:q.INIT,size:0,status:K.IDLE},O1=["action","index","lifecycle","status"],a7=class{constructor(e){L(this,"beaconPopper"),L(this,"tooltipPopper"),L(this,"data",new Map),L(this,"listener"),L(this,"store",new Map),L(this,"addListener",i=>{this.listener=i}),L(this,"setSteps",i=>{let{size:l,status:o}=this.getState(),s={size:i.length,status:o};this.data.set("steps",i),o===K.WAITING&&!l&&i.length&&(s.status=K.RUNNING),this.setState(s)}),L(this,"getPopper",i=>i==="beacon"?this.beaconPopper:this.tooltipPopper),L(this,"setPopper",(i,l)=>{i==="beacon"?this.beaconPopper=l:this.tooltipPopper=l}),L(this,"cleanupPoppers",()=>{this.beaconPopper=null,this.tooltipPopper=null}),L(this,"close",()=>{let{index:i,status:l}=this.getState();l===K.RUNNING&&this.setState({...this.getNextState({action:de.CLOSE,index:i+1})})}),L(this,"go",i=>{let{controlled:l,status:o}=this.getState();if(l||o!==K.RUNNING)return;let s=this.getSteps()[i];this.setState({...this.getNextState({action:de.GO,index:i}),status:s?o:K.FINISHED})}),L(this,"info",()=>this.getState()),L(this,"next",()=>{let{index:i,status:l}=this.getState();l===K.RUNNING&&this.setState(this.getNextState({action:de.NEXT,index:i+1}))}),L(this,"open",()=>{let{status:i}=this.getState();i===K.RUNNING&&this.setState({...this.getNextState({action:de.UPDATE,lifecycle:q.TOOLTIP})})}),L(this,"prev",()=>{let{index:i,status:l}=this.getState();l===K.RUNNING&&this.setState({...this.getNextState({action:de.PREV,index:i-1})})}),L(this,"reset",(i=!1)=>{let{controlled:l}=this.getState();l||this.setState({...this.getNextState({action:de.RESET,index:0}),status:i?K.RUNNING:K.READY})}),L(this,"skip",()=>{let{status:i}=this.getState();i===K.RUNNING&&this.setState({action:de.SKIP,lifecycle:q.INIT,status:K.SKIPPED})}),L(this,"start",i=>{let{index:l,size:o}=this.getState();this.setState({...this.getNextState({action:de.START,index:F.number(i)?i:l},!0),status:o?K.RUNNING:K.WAITING})}),L(this,"stop",(i=!1)=>{let{index:l,status:o}=this.getState();[K.FINISHED,K.SKIPPED].includes(o)||this.setState({...this.getNextState({action:de.STOP,index:l+(i?1:0)}),status:K.PAUSED})}),L(this,"update",i=>{var l;if(!Gh(i,O1))throw new Error(`State is not valid. Valid keys: ${O1.join(", ")}`);this.setState({...this.getNextState({...this.getState(),...i,action:(l=i.action)!=null?l:de.UPDATE},!0)})});let{continuous:t=!1,stepIndex:n,steps:r=[]}=e??{};this.setState({action:de.INIT,controlled:F.number(n),continuous:t,index:F.number(n)?n:0,lifecycle:q.INIT,status:r.length?K.READY:K.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")||"",size:this.store.get("size")||0,status:this.store.get("status")||""}:{...n7}}getNextState(e,t=!1){var n,r,i,l;let{action:o,controlled:s,index:c,size:d,status:m}=this.getState(),u=F.number(e.index)?e.index:c,p=s&&!t?c:Math.min(Math.max(u,0),d);return{action:(n=e.action)!=null?n:o,controlled:s,index:p,lifecycle:(r=e.lifecycle)!=null?r:q.INIT,size:(i=e.size)!=null?i:d,status:p===d?K.FINISHED:(l=e.status)!=null?l:m}}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:i,lifecycle:l,size:o,status:s}={...n,...e};this.store.set("action",r),this.store.set("index",i),this.store.set("lifecycle",l),this.store.set("size",o),this.store.set("status",s),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}}};function r7(e){return new a7(e)}var i7=class{constructor(e,t){if(L(this,"element"),L(this,"options"),L(this,"canBeTabbed",n=>{let{tabIndex:r}=n;return r===null||r<0?!1:this.canHaveFocus(n)}),L(this,"canHaveFocus",n=>{let r=/input|select|textarea|button|object/,i=n.nodeName.toLowerCase();return(r.test(i)&&!n.getAttribute("disabled")||i==="a"&&!!n.getAttribute("href"))&&this.isVisible(n)}),L(this,"findValidTabElements",()=>[].slice.call(this.element.querySelectorAll("*"),0).filter(this.canBeTabbed)),L(this,"handleKeyDown",n=>{let{code:r="Tab"}=this.options;n.code===r&&this.interceptTab(n)}),L(this,"interceptTab",n=>{n.preventDefault();let r=this.findValidTabElements(),{shiftKey:i}=n;if(!r.length)return;let l=document.activeElement?r.indexOf(document.activeElement):0;l===-1||!i&&l+1===r.length?l=0:i&&l===0?l=r.length-1:l+=i?-1:1,r[l].focus()}),L(this,"isHidden",n=>{let r=n.offsetWidth<=0&&n.offsetHeight<=0,i=window.getComputedStyle(n);return r&&!n.innerHTML?!0:r&&i.getPropertyValue("overflow")!=="visible"||i.getPropertyValue("display")==="none"}),L(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}),L(this,"removeScope",()=>{window.removeEventListener("keydown",this.handleKeyDown)}),L(this,"checkFocus",n=>{document.activeElement!==n&&(n.focus(),window.requestAnimationFrame(()=>this.checkFocus(n)))}),L(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()}},l7=class extends jt{constructor(e){if(super(e),L(this,"beacon",null),L(this,"setBeaconRef",i=>{this.beacon=i}),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;setTimeout(()=>{F.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:i,onClickOrHover:l,size:o,step:s,styles:c}=this.props,d=F.string(i.open)?i.open:(0,Bh.default)(i.open),m={"aria-label":d,onClick:l,onMouseEnter:l,ref:this.setBeaconRef,title:d},u;return e?u=S(e,{continuous:t,index:n,isLastStep:r,size:o,step:s,...m}):u=S("button",{key:"JoyrideBeacon",className:"react-joyride__beacon","data-test-id":"button-beacon",style:c.beacon,type:"button",...m},S("span",{style:c.beaconInner}),S("span",{style:c.beaconOuter})),u}};function o7({styles:e}){return S("div",{key:"JoyrideSpotlight",className:"react-joyride__spotlight","data-test-id":"spotlight",style:e})}var s7=o7,c7=class extends jt{constructor(){super(...arguments),L(this,"isActive",!1),L(this,"resizeTimeout"),L(this,"scrollTimeout"),L(this,"scrollParent"),L(this,"state",{isScrolling:!1,mouseOverSpotlight:!1,showSpotlight:!0}),L(this,"handleMouseMove",e=>{let{mouseOverSpotlight:t}=this.state,{height:n,left:r,position:i,top:l,width:o}=this.spotlightStyles,s=i==="fixed"?e.clientY:e.pageY,c=i==="fixed"?e.clientX:e.pageX,d=s>=l&&s<=l+n,m=c>=r&&c<=r+o&&d;m!==t&&this.updateState({mouseOverSpotlight:m})}),L(this,"handleScroll",()=>{let{target:e}=this.props,t=Bt(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 va(t,"sticky")&&this.updateState({})}),L(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,i=Bt(r);this.scrollParent=Hr(i??document.body,n,!0),this.isActive=!0,window.addEventListener("resize",this.handleResize)}componentDidUpdate(e){var t;let{lifecycle:n,spotlightClicks:r}=this.props,{changed:i}=br(e,this.props);i("lifecycle",q.TOOLTIP)&&((t=this.scrollParent)==null||t.addEventListener("scroll",this.handleScroll,{passive:!0}),setTimeout(()=>{let{isScrolling:l}=this.state;l||this.updateState({showSpotlight:!0})},100)),(i("spotlightClicks")||i("disableOverlay")||i("lifecycle"))&&(r&&n===q.TOOLTIP?window.addEventListener("mousemove",this.handleMouseMove,!1):n!==q.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 spotlightStyles(){var e,t,n;let{showSpotlight:r}=this.state,{disableScrollParentFix:i=!1,spotlightClicks:l,spotlightPadding:o=0,styles:s,target:c}=this.props,d=Bt(c),m=H0(d),u=va(d),p=Uh(d,o,i);return{..._1()?s.spotlightLegacy:s.spotlight,height:Math.round(((e=m?.height)!=null?e:0)+o*2),left:Math.round(((t=m?.left)!=null?t:0)-o),opacity:r?1:0,pointerEvents:l?"none":"auto",position:u?"fixed":"absolute",top:p,transition:"opacity 0.2s",width:Math.round(((n=m?.width)!=null?n:0)+o*2)}}updateState(e){this.isActive&&this.setState(t=>({...t,...e}))}render(){let{mouseOverSpotlight:e,showSpotlight:t}=this.state,{disableOverlay:n,disableOverlayClose:r,lifecycle:i,onClickOverlay:l,placement:o,styles:s}=this.props;if(n||i!==q.TOOLTIP)return null;let c=s.overlay;_1()&&(c=o==="center"?s.overlayLegacyCenter:s.overlayLegacy);let d={cursor:r?"default":"pointer",height:Dh(),pointerEvents:e?"none":"auto",...c},m=o!=="center"&&t&&S(s7,{styles:this.spotlightStyles});if(j0()==="safari"){let{mixBlendMode:u,zIndex:p,...f}=d;m=S("div",{style:{...f}},m),delete d.backgroundColor}return S("div",{className:"react-joyride__overlay","data-test-id":"overlay",onClick:l,role:"presentation",style:d},m)}},d7=class extends jt{constructor(){super(...arguments),L(this,"node",null)}componentDidMount(){let{id:e}=this.props;Rt()&&(this.node=document.createElement("div"),this.node.id=e,document.body.appendChild(this.node),zn||this.renderReact15())}componentDidUpdate(){Rt()&&(zn||this.renderReact15())}componentWillUnmount(){!Rt()||!this.node||(zn||co(this.node),this.node.parentNode===document.body&&(document.body.removeChild(this.node),this.node=null))}renderReact15(){if(!Rt())return;let{children:e}=this.props;this.node&&uo(this,e,this.node)}renderReact16(){if(!Rt()||!zn)return null;let{children:e}=this.props;return this.node?In(e,this.node):null}render(){return zn?this.renderReact16():null}};function u7({styles:e,...t}){let{color:n,height:r,width:i,...l}=e;return a.createElement("button",{style:l,type:"button",...t},a.createElement("svg",{height:typeof r=="number"?`${r}px`:r,preserveAspectRatio:"xMidYMid",version:"1.1",viewBox:"0 0 18 18",width:typeof i=="number"?`${i}px`:i,xmlns:"http://www.w3.org/2000/svg"},a.createElement("g",null,a.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}))))}var m7=u7;function p7(e){let{backProps:t,closeProps:n,continuous:r,index:i,isLastStep:l,primaryProps:o,size:s,skipProps:c,step:d,tooltipProps:m}=e,{content:u,hideBackButton:p,hideCloseButton:f,hideFooter:g,locale:y,showProgress:k,showSkipButton:E,styles:h,title:v}=d,{back:b,close:C,last:O,next:I,skip:U}=y,G={primary:C};return r&&(G.primary=l?O:I,k&&(G.primary=S("span",null,G.primary," (",i+1,"/",s,")"))),E&&!l&&(G.skip=S("button",{"aria-live":"off","data-test-id":"button-skip",style:h.buttonSkip,type:"button",...c},U)),!p&&i>0&&(G.back=S("button",{"data-test-id":"button-back",style:h.buttonBack,type:"button",...t},b)),G.close=!f&&S(m7,{"data-test-id":"button-close",styles:h.buttonClose,...n}),S("div",{key:"JoyrideTooltip","aria-label":It(v)||It(u),className:"react-joyride__tooltip",style:h.tooltip,...m},S("div",{style:h.tooltipContainer},v&&S("h1",{"aria-label":It(v),style:h.tooltipTitle},v),S("div",{style:h.tooltipContent},u)),!g&&S("div",{style:h.tooltipFooter},S("div",{style:h.tooltipFooterSpacer},G.skip),G.back,S("button",{"data-test-id":"button-primary",style:h.buttonNext,type:"button",...o},G.primary)),G.close)}var h7=p7,f7=class extends jt{constructor(){super(...arguments),L(this,"handleClickBack",e=>{e.preventDefault();let{helpers:t}=this.props;t.prev()}),L(this,"handleClickClose",e=>{e.preventDefault();let{helpers:t}=this.props;t.close()}),L(this,"handleClickPrimary",e=>{e.preventDefault();let{continuous:t,helpers:n}=this.props;if(!t){n.close();return}n.next()}),L(this,"handleClickSkip",e=>{e.preventDefault();let{helpers:t}=this.props;t.skip()}),L(this,"getElementsProps",()=>{let{continuous:e,isLastStep:t,setTooltipRef:n,step:r}=this.props,i=It(r.locale.back),l=It(r.locale.close),o=It(r.locale.last),s=It(r.locale.next),c=It(r.locale.skip),d=e?s:l;return t&&(d=o),{backProps:{"aria-label":i,"data-action":"back",onClick:this.handleClickBack,role:"button",title:i},closeProps:{"aria-label":l,"data-action":"close",onClick:this.handleClickClose,role:"button",title:l},primaryProps:{"aria-label":d,"data-action":"primary",onClick:this.handleClickPrimary,role:"button",title:d},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:i,step:l}=this.props,{beaconComponent:o,tooltipComponent:s,...c}=l,d;if(s){let m={...this.getElementsProps(),continuous:e,index:t,isLastStep:n,size:i,step:c,setTooltipRef:r};d=S(s,{...m})}else d=S(h7,{...this.getElementsProps(),continuous:e,index:t,isLastStep:n,size:i,step:l});return d}},g7=class extends jt{constructor(){super(...arguments),L(this,"scope",null),L(this,"tooltip",null),L(this,"handleClickHoverBeacon",e=>{let{step:t,store:n}=this.props;e.type==="mouseenter"&&t.event!=="hover"||n.update({lifecycle:q.TOOLTIP})}),L(this,"handleClickOverlay",()=>{let{helpers:e,step:t}=this.props;t.disableOverlayClose||e.close()}),L(this,"setTooltipRef",e=>{this.tooltip=e}),L(this,"setPopper",(e,t)=>{var n;let{action:r,step:i,store:l}=this.props;t==="wrapper"?l.setPopper("beacon",e):l.setPopper("tooltip",e),l.getPopper("beacon")&&l.getPopper("tooltip")&&l.update({action:r,lifecycle:q.READY}),(n=i.floaterProps)!=null&&n.getPopper&&i.floaterProps.getPopper(e,t)}),L(this,"renderTooltip",e=>{let{continuous:t,helpers:n,index:r,size:i,step:l}=this.props;return S(f7,{continuous:t,helpers:n,index:r,isLastStep:r+1===i,setTooltipRef:this.setTooltipRef,size:i,step:l,...e})})}componentDidMount(){let{debug:e,index:t}=this.props;nn({title:`step:${t}`,data:[{key:"props",value:this.props}],debug:e})}componentDidUpdate(e){var t;let{action:n,callback:r,continuous:i,controlled:l,debug:o,index:s,lifecycle:c,size:d,status:m,step:u,store:p}=this.props,{changed:f,changedFrom:g}=br(e,this.props),y={action:n,controlled:l,index:s,lifecycle:c,size:d,status:m},k=i&&n!==de.CLOSE&&(s>0||n===de.PREV),E=f("action")||f("index")||f("lifecycle")||f("status"),h=g("lifecycle",[q.TOOLTIP,q.INIT],q.INIT),v=f("action",[de.NEXT,de.PREV,de.SKIP,de.CLOSE]),b=l&&s===e.index;if(v&&(h||b)&&r({...y,index:e.index,lifecycle:q.COMPLETE,step:e.step,type:nt.STEP_AFTER}),u.placement==="center"&&m===K.RUNNING&&f("index")&&n!==de.START&&c===q.INIT&&p.update({lifecycle:q.READY}),E){let C=Bt(u.target),O=!!C;O&&zh(C)?(g("status",K.READY,K.RUNNING)||g("lifecycle",q.INIT,q.READY))&&r({...y,step:u,type:nt.STEP_BEFORE}):(console.warn(O?"Target not visible":"Target not mounted",u),r({...y,type:nt.TARGET_NOT_FOUND,step:u}),l||p.update({index:s+(n===de.PREV?-1:1)}))}g("lifecycle",q.INIT,q.READY)&&p.update({lifecycle:A1(u)||k?q.TOOLTIP:q.BEACON}),f("index")&&nn({title:`step:${c}`,data:[{key:"props",value:this.props}],debug:o}),f("lifecycle",q.BEACON)&&r({...y,step:u,type:nt.BEACON}),f("lifecycle",q.TOOLTIP)&&(r({...y,step:u,type:nt.TOOLTIP}),this.tooltip&&(this.scope=new i7(this.tooltip,{selector:"[data-action=primary]"}),this.scope.setFocus())),g("lifecycle",[q.TOOLTIP,q.INIT],q.INIT)&&((t=this.scope)==null||t.removeScope(),p.cleanupPoppers())}componentWillUnmount(){var e;(e=this.scope)==null||e.removeScope()}get open(){let{lifecycle:e,step:t}=this.props;return A1(t)||e===q.TOOLTIP}render(){let{continuous:e,debug:t,index:n,lifecycle:r,nonce:i,shouldScroll:l,size:o,step:s}=this.props,c=Bt(s.target);return!U0(s)||!F.domElement(c)?null:S("div",{key:`JoyrideStep-${n}`,className:"react-joyride__step"},S(d7,{id:"react-joyride-portal"},S(c7,{...s,debug:t,lifecycle:r,onClickOverlay:this.handleClickOverlay})),S(Ul,{...s.floaterProps,component:this.renderTooltip,debug:t,getPopper:this.setPopper,id:`react-joyride-step-${n}`,open:this.open,placement:s.placement,target:s.target},S(l7,{beaconComponent:s.beaconComponent,continuous:e,index:n,isLastStep:n+1===o,locale:s.locale,nonce:i,onClickOrHover:this.handleClickHoverBeacon,shouldFocus:l,size:o,step:s,styles:s.styles})))}},$0=class extends jt{constructor(e){super(e),L(this,"helpers"),L(this,"store"),L(this,"callback",o=>{let{callback:s}=this.props;F.function(s)&&s(o)}),L(this,"handleKeyboard",o=>{let{index:s,lifecycle:c}=this.state,{steps:d}=this.props,m=d[s];c===q.TOOLTIP&&o.code==="Escape"&&m&&!m.disableCloseOnEsc&&this.store.close()}),L(this,"syncState",o=>{this.setState(o)});let{debug:t,getHelpers:n,run:r,stepIndex:i}=e;this.store=r7({...e,controlled:r&&F.number(i)}),this.helpers=this.store.getHelpers();let{addListener:l}=this.store;nn({title:"init",data:[{key:"props",value:this.props},{key:"state",value:this.state}],debug:t}),l(this.syncState),n&&n(this.helpers),this.state=this.store.getState()}componentDidMount(){if(!Rt())return;let{debug:e,disableCloseOnEsc:t,run:n,steps:r}=this.props,{start:i}=this.store;F1(r,e)&&n&&i(),t||document.body.addEventListener("keydown",this.handleKeyboard,{passive:!0})}componentDidUpdate(e,t){if(!Rt())return;let{action:n,controlled:r,index:i,lifecycle:l,status:o}=this.state,{debug:s,run:c,stepIndex:d,steps:m}=this.props,{stepIndex:u,steps:p}=e,{reset:f,setSteps:g,start:y,stop:k,update:E}=this.store,{changed:h}=br(e,this.props),{changed:v,changedFrom:b}=br(t,this.state),C=$n(m[i],this.props),O=!Re(p,m),I=F.number(d)&&h("stepIndex"),U=Bt(C.target);if(O&&(F1(m,s)?g(m):console.warn("Steps are not valid",m)),h("run")&&(c?y(d):k()),I){let oe=F.number(u)&&u=0?y:0,r===K.RUNNING&&Wh(y,{element:g,duration:o}).then(()=>{setTimeout(()=>{var h;(h=this.store.getPopper("tooltip"))==null||h.instance.update()},10)})}}render(){if(!Rt())return null;let{index:e,status:t}=this.state,{continuous:n=!1,debug:r=!1,nonce:i,scrollToFirstStep:l=!1,steps:o}=this.props,s;if(t===K.RUNNING&&o[e]){let c=$n(o[e],this.props);s=S(g7,{...this.state,callback:this.callback,continuous:n,debug:r,helpers:this.helpers,nonce:i,shouldScroll:!c.disableScrolling&&(e!==0||l),step:c,store:this.store})}return S("div",{className:"react-joyride"},s)}};L($0,"defaultProps",Jh);var v7=$0,L1=[void 0,"EQUAL","FIXED","ADDED","CHANGED","REMOVED","CAPTURE_ERROR","SYSTEM_ERROR"],Sr=([e,...t])=>t.reduce((n,r)=>L1.indexOf(r)>L1.indexOf(n)?r:n,e);function y7(e){return(e.FAILED??0)>0?"FAILED":(e.IN_PROGRESS??0)>0?"IN_PROGRESS":(e.BROKEN??0)>0?"BROKEN":(e.DENIED??0)>0?"DENIED":(e.PENDING??0)>0?"PENDING":(e.ACCEPTED??0)>0?"ACCEPTED":"PASSED"}function $l(e){let{statusCounts:t,isInProgress:n,changeCount:r,brokenCount:i,resultsByBrowser:l,resultsByMode:o,modesByName:s}=e.reduce((u,p)=>(u.statusCounts[p.status]=(u.statusCounts[p.status]||0)+1,p.status==="IN_PROGRESS"&&(u.isInProgress=!0),p.result&&["CHANGED","ADDED"].includes(p.result)&&(u.changeCount+=1),p.result&&["CAPTURE_ERROR","SYSTEM_ERROR"].includes(p.result)&&(u.brokenCount+=1),p.comparisons?.forEach(({browser:f,result:g})=>{u.resultsByBrowser[f.id]=Sr([g??void 0,u.resultsByBrowser[f.id]])}),p.comparisons?.forEach(({result:f})=>{u.resultsByMode[p.mode.name]=Sr([f??void 0,u.resultsByMode[p.mode.name]])}),u.modesByName[p.mode.name]=p.mode,u),{statusCounts:{},isInProgress:!1,changeCount:0,brokenCount:0,resultsByBrowser:{},resultsByMode:{},modesByName:{}}),c=e.length?Object.fromEntries(e[0].comparisons.map(u=>[u.browser.id,u.browser])):{},d=Object.entries(l).map(([u,p])=>({browser:c[u],result:p})),m=Object.entries(o).map(([u,p])=>({mode:s[u],result:p}));return{status:y7(t),isInProgress:n,changeCount:r,brokenCount:i,browserResults:d,modeResults:m}}var E7=e=>{try{return[Ql()[0][e],Yl()[e]]}catch{return[null,null]}},W0=({result:e})=>e!=="EQUAL"&&e!=="FIXED",b7=(e,t)=>{let n=e.filter(i=>i.comparisons.some(W0)),r=n.length?n:e;return r.find(i=>i.mode.name===t)||r[0]},k7=(e,t)=>{let n=e.filter(W0),r=n.length?n:e;return r.find(i=>i.browser.id===t)||r[0]};function w7(e){let[t,n]=Me(!0),r=E7("theme")[1],[i,l]=Ee(h5),[o,s]=Ee(f5),c,d;return e.length&&(c=t?b7(e,i):e.find(({mode:m})=>m.name===i)||e[0],d=t?k7(c.comparisons,o):c?.comparisons.find(({browser:m})=>m.id===o)||c?.comparisons[0],t&&(i!==c?.mode.name&&l(c?.mode.name),o!==d?.browser.id&&s(d?.browser.id),n(!1))),{modeOrder:r?.toolbar?.items?.map(m=>m.title),selectedTest:c,selectedComparison:d,onSelectBrowser:H(m=>s(m.id),[s]),onSelectMode:H(m=>l(m.name),[l])}}var C7=lt(` + query AddonVisualTestsBuild( + $projectId: ID! + $branch: String! + $gitUserEmailHash: String! + $repositoryOwnerName: String + $storyId: String! + $testStatuses: [TestStatus!]! + $selectedBuildId: ID! + $hasSelectedBuildId: Boolean! + ) { + project(id: $projectId) { + name + manageUrl + account { + billingUrl + suspensionReason + } + features { + uiTests + } + lastBuildOnBranch: lastBuild( + branches: [$branch] + repositoryOwnerName: $repositoryOwnerName + localBuilds: { localBuildEmailHash: $gitUserEmailHash } + ) { + ...LastBuildOnBranchBuildFields + ...SelectedBuildFields @skip(if: $hasSelectedBuildId) + } + lastBuild { + id + slug + branch + } + } + selectedBuild: build(id: $selectedBuildId) @include(if: $hasSelectedBuildId) { + ...SelectedBuildFields + } + viewer { + preferences { + vtaOnboarding + } + projectMembership(projectId: $projectId) { + userCanReview: meetsAccessLevel(minimumAccessLevel: REVIEWER) + } + } + } +`),S7=lt(` + fragment LastBuildOnBranchBuildFields on Build { + __typename + id + status + committedAt + ... on StartedBuild { + testsForStatus: tests(first: 1000, statuses: $testStatuses) { + nodes { + ...StatusTestFields + } + } + testsForStory: tests(storyId: $storyId) { + nodes { + ...LastBuildOnBranchTestFields + } + } + } + ... on CompletedBuild { + result + testsForStatus: tests(first: 1000, statuses: $testStatuses) { + nodes { + ...StatusTestFields + } + } + testsForStory: tests(storyId: $storyId) { + nodes { + ...LastBuildOnBranchTestFields + } + } + } + } +`),x7=lt(` + fragment SelectedBuildFields on Build { + __typename + id + number + branch + commit + committedAt + uncommittedHash + status + ... on StartedBuild { + startedAt + testsForStory: tests(storyId: $storyId) { + nodes { + ...StoryTestFields + } + } + } + ... on CompletedBuild { + startedAt + testsForStory: tests(storyId: $storyId) { + nodes { + ...StoryTestFields + } + } + } + } +`),G0=lt(` + fragment StatusTestFields on Test { + id + status + result + story { + storyId + } + } +`),N7=lt(` + fragment LastBuildOnBranchTestFields on Test { + status + result + } +`),M7=lt(` + fragment StoryTestFields on Test { + id + status + result + webUrl + comparisons { + id + result + browser { + id + key + name + version + } + captureDiff { + diffImage(signed: true) { + imageUrl + imageWidth + } + focusImage(signed: true) { + imageUrl + imageWidth + } + } + headCapture { + captureImage(signed: true) { + backgroundColor + imageUrl + imageWidth + imageHeight + thumbnailUrl + } + captureError { + kind + ... on CaptureErrorInteractionFailure { + error + } + ... on CaptureErrorJSError { + error + } + ... on CaptureErrorFailedJS { + error + } + } + } + baseCapture { + captureImage(signed: true) { + imageUrl + imageWidth + imageHeight + } + } + } + mode { + name + globals + } + story { + storyId + name + component { + name + } + } + } +`),A7=lt(` + mutation ReviewTest($input: ReviewTestInput!) { + reviewTest(input: $input) { + updatedTests { + id + status + } + userErrors { + ... on UserError { + __typename + message + } + ... on BuildSupersededError { + build { + id + } + } + ... on TestUnreviewableError { + test { + id + } + } + } + } + } +`),_7=({projectId:e,storyId:t,gitInfo:n,selectedBuildInfo:r})=>{let[{data:i,error:l,operation:o},s]=wl({query:C7,variables:{projectId:e,storyId:t,testStatuses:Object.keys(u0),branch:n.branch||"",...n.slug?{repositoryOwnerName:n.slug.split("/",1)[0]}:{},gitUserEmailHash:n.userEmailHash,selectedBuildId:r?.buildId||"",hasSelectedBuildId:!!r}});X(()=>{let y=setInterval(s,5e3);return()=>clearInterval(y)},[s]);let c=o&&t&&o.variables.storyId!==t,d=yn(S7,i?.project?.lastBuildOnBranch),m=[...yn(N7,d&&"testsForStory"in d&&d.testsForStory?d.testsForStory.nodes:[])],u=d?.committedAt>n.committedAt,p=!!d&&!u,f=!!d&&m.every(y=>y.status!=="IN_PROGRESS"),g=yn(x7,i?.selectedBuild??(f?i?.project?.lastBuildOnBranch:void 0));return{account:i?.project?.account,features:i?.project?.features,manageUrl:i?.project?.manageUrl,hasData:!!i&&!c,hasProject:!!i?.project,hasSelectedBuild:g?.branch.split(":").at(-1)===n.branch,lastBuildOnBranch:d,lastBuildOnBranchIsNewer:u,lastBuildOnBranchIsReady:f,lastBuildOnBranchIsSelectable:p,selectedBuild:g,selectedBuildMatchesGit:g?.branch.split(":").at(-1)===n.branch&&g?.commit===n.commit&&g?.uncommittedHash===n.uncommittedHash,rerunQuery:s,queryError:l,userCanReview:!!i?.viewer?.projectMembership?.userCanReview,vtaOnboarding:i?.viewer?.preferences?.vtaOnboarding}},Wl=qe(null),q0=qe(null),T7=()=>bt(Wl,"Build"),Y0=()=>{let{selectedBuild:e}=bt(Wl,"Build");if(!e)throw new Error("No selectedBuild on Build context");return e},on=()=>bt(q0,"Story"),Si=({children:e,watchState:t})=>{let n=!!t?.selectedBuild&&"testsForStory"in t.selectedBuild,r=t?.selectedBuild&&"testsForStory"in t.selectedBuild&&t.selectedBuild.testsForStory?.nodes,i=[...yn(M7,r||[])],l=$l(i),{toggleDiff:o}=_n();return X(()=>o(l.changeCount>0),[o,l.changeCount]),a.createElement(Wl.Provider,{value:wt(()=>t,[JSON.stringify(t?.selectedBuild)])},a.createElement(q0.Provider,{value:{hasTests:n,tests:i,summary:l,...w7(i)}},e))},F7=w.div(({width:e,height:t,left:n,top:r})=>({width:`${e}px`,height:`${t}px`,left:`${n}px`,top:`${r}px`,position:"relative",overflow:"hidden"}));function O7({top:e=0,left:t=0,width:n=window.innerWidth,height:r=window.innerHeight,colors:i=["#CA90FF","#FC521F","#66BF3C","#FF4785","#FFAE00","#1EA7FD"],...l}){let[o]=Me(()=>{let s=document.createElement("div");return s.setAttribute("id","confetti-container"),s.setAttribute("style","position: fixed; top: 0; left: 0; width: 100%; height: 100%; pointer-events: none; z-index: 9999;"),s});return X(()=>(document.body.appendChild(o),()=>{document.body.removeChild(o)}),[o]),In(a.createElement(F7,{top:e,left:t,width:n,height:r},a.createElement(Eo,{colors:i,drawShape:R7,...l})),o)}function L7(e,t){return Math.floor(Math.random()*(t-e))+e}function R7(e){let t=this;switch(t.shape=t.shape||L7(1,6),t.shape){case 2:{let n=t.w/2,r=t.h/2;e.moveTo(-n+2,-r),e.lineTo(n-2,-r),e.arcTo(n,-r,n,-r+2,2),e.lineTo(n,r-2),e.arcTo(n,r,n-2,r,2),e.lineTo(-n+2,r),e.arcTo(-n,r,-n,r-2,2),e.lineTo(-n,-r+2),e.arcTo(-n,-r,-n+2,-r,2);break}case 3:{e.rect(-4,-4,8,16),e.rect(-12,-4,24,8);break}case 4:{e.rect(-4,-4,8,16),e.rect(-4,-4,24,8);break}case 1:{e.arc(0,0,t.radius,0,2*Math.PI);break}case 5:{e.moveTo(16,4),e.lineTo(4,24),e.lineTo(24,24);break}case 6:{e.arc(4,-4,4,-Math.PI/2,0),e.lineTo(4,0);break}}e.closePath(),e.fill()}var I7=w.div(({theme:e})=>({background:e.base==="light"?e.color.lightest:"#292A2C",width:260,padding:15,borderRadius:5,boxShadow:"0px 0px 32px 0px #00000029"})),Z7=w.div({display:"flex",flexDirection:"column",alignItems:"flex-start"}),B7=w.div(({theme:e})=>({fontSize:13,lineHeight:"18px",fontWeight:700,color:e.color.defaultText})),P7=w.div(({theme:e})=>({fontSize:13,lineHeight:"18px",textAlign:"start",color:e.color.defaultText,margin:0,marginTop:5})),V7=w.div({display:"flex",justifyContent:"flex-end",marginTop:15}),D7=({isLastStep:e,step:t,primaryProps:n,tooltipProps:r})=>a.createElement(I7,{...r},a.createElement(Z7,null,t.title&&a.createElement(B7,null,t.title),a.createElement(P7,null,t.content)),(t.hideNextButton||t.hideBackButton)&&a.createElement(V7,{id:"buttonSkip"},!t.hideSkipButton&&!e&&a.createElement(ce,{size:"medium",onClick:t.onSkipWalkthroughButtonClick,link:!0,style:{paddingRight:12,paddingLeft:12,marginRight:8}},"Skip"),!t.hideNextButton&&a.createElement(ce,{...n,onClick:n.onClick,variant:"solid",...t.onNextButtonClick?{onClick:t.onNextButtonClick}:{}},t.nextButtonText||"Next"))),R1="setFilter",H7=({managerApi:e,skipWalkthrough:t,startWalkthrough:n,completeWalkthrough:r})=>{let i=Ut(),l=on(),o=l?.selectedTest?.result==="CHANGED",s=l?.selectedTest?.status!=="ACCEPTED",c=JSON.stringify(Ht().layout),d=Ne(c);d.current!==c&&(window.dispatchEvent(new Event("resize")),d.current=c),X(()=>{n()}),X(()=>{e.getCurrentStoryData()?.type!=="story"&&e.jumpToStory(1),e.togglePanel(!0),e.togglePanelPosition("right"),e.setSelectedPanel(an)},[e]);let[m,u]=Ue("showConfetti",!1),[p,f]=Ue("stepIndex",0),g=()=>f((y=0)=>y+1);return X(()=>{let y=document.getElementById("storybook-explorer-tree"),k=Array.from(y instanceof HTMLElement?y.children:[]).filter(E=>E instanceof HTMLElement).slice(1);return k.forEach(E=>E.style.display="none"),()=>k.forEach(E=>E.style.display="")},[]),X(()=>{let y=()=>{f(1),setTimeout(()=>{window.dispatchEvent(new Event("resize"))},100)};return e.on(Oi,y),e.on(R1,y),()=>{e.off(Oi,y),e.off(R1,y)}},[e,f]),X(()=>{l?.selectedTest?.status==="ACCEPTED"&&p===5&&(u(!0),f(6))},[l?.selectedTest?.status,m,u,p,f]),a.createElement(a.Fragment,null,m&&a.createElement(O7,{numberOfPieces:800,recycle:!1,tweenDuration:2e4,onConfettiComplete:y=>{y?.reset(),u(!1)}}),a.createElement(v7,{steps:[{target:"#sidebar-bottom-wrapper",title:"Changes found",content:a.createElement(a.Fragment,null,"The visual tests addon will detect changes in all of your stories and allow you to review them before opening a pull request.",a.createElement("br",null),a.createElement("br",null),"Click the number at the bottom-right to only show stories with visual changes."),floaterProps:{target:"#warnings-found-filter",options:{preventOverflow:{boundariesElement:"window"}}},placement:"top",disableBeacon:!0,hideNextButton:!0,spotlightClicks:!0,onSkipWalkthroughButtonClick:t},o&&s?{target:"#storybook-explorer-tree > div",title:"Stories with changes",content:a.createElement(a.Fragment,null,"Here you have a filtered list of only stories with changes."),placement:"right",disableBeacon:!0,spotlightClicks:!0,onNextButtonClick:g,onSkipWalkthroughButtonClick:t}:{target:"#storybook-explorer-tree > div",title:"Stories with changes",content:a.createElement(a.Fragment,null,"Here you have a list of all stories in your Storybook.",a.createElement("br",null),a.createElement("br",null),"Select a story with changes to see the exact pixels that changed."),placement:"right",disableBeacon:!0,spotlightClicks:!0,hideNextButton:!0,onSkipWalkthroughButtonClick:t},{target:"#panel-tab-content",title:"Inspect changes",content:a.createElement(a.Fragment,null,"The results of the changes are shown here. The pixels that changed are highlighted in green."),disableBeacon:!0,placement:"left",onNextButtonClick:g,onSkipWalkthroughButtonClick:t},{target:"#button-diff-visible",title:"Toggle the diff",content:a.createElement(a.Fragment,null,"This button shows or hides the visual diff. Use it to make the visual changes in your stories obvious. Try it out."),onNextButtonClick:g,onSkipWalkthroughButtonClick:t,spotlightClicks:!0,disableBeacon:!0,placement:"bottom",disableOverlay:!0},{target:"#button-toggle-snapshot",title:"This is the Switch button",content:a.createElement(a.Fragment,null,"Switch between the baseline snapshot (old) and the latest snapshot. The info bar will let you know which version you're looking at."),onNextButtonClick:g,onSkipWalkthroughButtonClick:t,spotlightClicks:!0,disableBeacon:!0,placement:"bottom",disableOverlay:!0},{target:"#button-toggle-accept-story",title:"Accept changes",content:a.createElement(a.Fragment,null,"If the visual changes are intentional, accept them to update the test baselines. The next time you run visual tests, future changes will be compared to these new baselines. This can be undone."),disableBeacon:!0,spotlightClicks:!0,onNextButtonClick:g,hideNextButton:!0,placement:"bottom",disableOverlay:!0,onSkipWalkthroughButtonClick:t},{target:"#button-toggle-accept-story",title:"Perfection!",placement:"bottom",disableOverlay:!0,content:a.createElement(a.Fragment,null,"You've got the basics down! You can always unaccept if you're not happy with the changes."),onNextButtonClick:g,onSkipWalkthroughButtonClick:t},{target:"#button-run-tests",title:"You are ready to test",placement:"bottom",disableOverlay:!0,content:a.createElement(a.Fragment,null,"Any time you want to run tests, tap this button in the sidebar to see exactly what changed across your Storybook."),disableBeacon:!0,nextButtonText:"Done",onNextButtonClick:r}],continuous:!0,stepIndex:p,spotlightPadding:0,hideBackButton:!0,disableCloseOnEsc:!0,disableOverlayClose:!0,disableScrolling:!0,hideCloseButton:!0,showSkipButton:!0,floaterProps:{options:{offset:{offset:"0, 6"}},styles:{floater:{padding:0,paddingLeft:8,paddingTop:8,filter:i.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:D7,styles:{overlay:{mixBlendMode:"unset",backgroundColor:"none"},spotlight:{backgroundColor:"none",border:`solid 2px ${i.color.secondary}`,boxShadow:"0px 0px 0px 9999px rgba(0,0,0,0.4)"},options:{zIndex:1e4,primaryColor:i.color.secondary,arrowColor:i.base==="light"?i.color.lightest:"#292A2C"}}}))},j7=({content:e})=>{let t=e.split(/\r?\n/);return a.createElement(a.Fragment,null,t.reduce((n,r,i)=>n.concat([i&&a.createElement("br",null),r].filter(Boolean)),[]))},Q0=({localBuildProgress:e,title:t})=>a.createElement(s0,{warning:!0},a.createElement(j,null,a.createElement("span",null,t&&a.createElement("b",null,t,": "),a.createElement(j7,{content:ci(Array.isArray(e.originalError)?e.originalError[0]?.message:e.originalError?.message||"Unknown error")}))," ",a.createElement(Ie,{target:"_blank",href:e.errorDetailsUrl||`${rs}#troubleshooting`,withArrow:!0},e.errorDetailsUrl?"Details":"Troubleshoot"))),z7=({children:e,localBuildProgress:t})=>(We("Errors","BuildError"),a.createElement(ve,{footer:null},a.createElement(he,null,a.createElement(se,null,a.createElement("div",null,a.createElement(me,null,"Build failed"),a.createElement(j,{center:!0,muted:!0},"Check the Storybook process on the command line for more details.")),a.createElement(Q0,{localBuildProgress:t}),e)))),U7=w(j)({display:"flex",flexDirection:"column",gap:10,width:200,marginTop:15});function zr({localBuildProgress:e}){return a.createElement(U7,{center:!0,small:!0},a.createElement(_l,null,typeof e.buildProgressPercentage=="number"&&a.createElement(Vs,{style:{width:`${e.buildProgressPercentage}%`}})),a.createElement(Ml,{center:!0,muted:!0,small:!0,localBuildProgress:e}))}var $7="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAHUSURBVHgB7ZfPTupAFMa/mbb0XkAk6r2516jRnXHlxr0+ib4J+iTqm7Bx5YaVcWPQECUoGiJCpX/mOKcxRo2DILa44Jc0Taad+b45mZkzR+CZaq2+CcsqAWIdoCKSowyFw5WFvwcvLRf1m1Kt0SSv51OkFCVJx+sRa1W1JmuLav16x5Zyf/7PDKQQSAM9RVzd3CH0aUsKEtsz0/nUxBnWmisWAItKkkCbWddF2mQcm1/rEmPiOeJF2/TD+f0pKo0jBKqHUcg5U1ib28ByYfXD78YInDSPRxZnOkE7nogJ2a/jd9FvImNbAz/GgHERZp08pjJ8OA3uMVIh2kELXvAwcB/j6HmnOJQ4Y0kbBW16GGS/wb7CsKYni9AYZ9f6haydhzCEVFGEbtiFH3kYBWMEfts5o3jcUVjIaYOjIvsJfIb4hhQ+WYQTAz/XgDXALuCz4D2ckN7Dt6KhDfzLLcGxMsaORApe2MFbQyrOhq9xpIu12Q3jOMaTcNqdjZ+k0REQLS4UxoXUZ1nFD0KkTffR51dZUhTuNVttpBkF1rq717cmFR3GDdXLxm6tcUudxx4lCRe+XACz1pnWZO2XbMJFKteJXKohMYTeIlRBFO2tLP4vc8sThEpu8pkDBW8AAAAASUVORK5CYII=",W7="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAN0SURBVHgBvVdLTxNRFP7uUDpSC7Q8rFSLqWJEExOfC1/xHWPiQuPShS50Y/wP6F9wq1HZuTAxMXFlNGzUhWIQDWICLYhSC4XWlj5m2pnjvS20NNDhltB+i870zpnzffece8/cw7CI4FToDBoa+gB2ACAXaocBmOj3b9/yrDgyGZrtmwpHKK3pZJgm1RLJtEaCK8g5BTcLhmZu2RTlqbezDQpjqAf4FDE9O4+cTmcVRuxmW6uzbuQCgqvD1QI0UJ9CoDMOVUW9YW+0icsBG9YDLQNMjIAS0fxf1u4FvH5A3STtYjHiruoEcGL6/Bb07X3ZMImfZjfYnkNgR86jGsgL4LM1Xz3OXys9F+KQiIGdvQ5ZKLKGBefRte1+DoKG30MWcgKmg9zxF8iCBt8W1slGCaDgCKqCIA8FpEzlIjAXQrWgiNw70mugVpDaBczF9/nXvzy03NxmAo4sqEUrN2rls3YUPLIUkOnoQpOEb0sBWVPDp5l3SOqjuDjeVi5KzYG2x0E9KZi7eCVYVoNEXXgY2YpdvOaf38bgtlfmqJiCZDaO15P9CMS/I9xtILzDKDfg0WD7LwHnzpWRC3w0TiBGbgxGgEejhKiO6gW8+f0cC9l/JadXNCRdVDI42QtcPQrFcwHMubM4HCIv3hmlahjlmXoRIFQlQMx6ObnAQivhzY10SQQnLzrxFAh/GHvxJHsbGSoPSSABjFSoYauugV8LY6saCxEv76bgne5Ec5MCj65DIxMxeDBE9xDIeVEJIh373JICotoMrDDevQlz8fIIpRu5d4tch9IicivPHOuqA8Ts2CisKsBpa7F8yWbMrxgzcw2W77jtTF6Ax+GDFexmFIyyZeQ5zToqhzsgL6DXfQR2xfp006oPF++zKYelrShE/mbIC7ArKo51XYYVnLw6qkaYz1xFJu60tL3SzauhWoUAAd/mHpzedg3Oxsrr4ZQaxUGbu+JzMfM7vWzV7bcEy2+BEOHz9+QL01RiDLqZyadms70FPudueJoKa+V4J/AhzM8t6RJxF8/K4XZepdf43LHg9Gy0e2u7q559wRImQrP8dAwM6dkc6o1UJl+1BhQycg8isUS+XaoXBNd8fIHfGP35geCf8P2p8BwlMxrVEqLxFQ2w4BrnnIK7mHjRpIo+UbRqqBlYjBfyIRjGA7+va0CM/AdEDxpHNfo8owAAAABJRU5ErkJggg==",G7="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAMJSURBVHgB7VfNblJBFD5z+5e0poXGNqnFRFxoUly0K+vCpG7aFyhrTRofwBcQ6974AIZo1/QFyorEBezsQkhqYqkBSoBaAcWW3+N8dxh+hFJI+Nn0S264d+65c77znXNmGEFVhCPxDRobcxGJVSK20ODgowrt2W2Ln2ojP+IpVyRxxhf5ApcrFR4kchd5hq+w9AnfIhxPvhg3jI93FubJEIKGARkinabOqVTgZ4Zg8Xx+7tbQnAPwddsySzTGLoOJN6anpmjYmJwYx8+qQSNCVXHLyAho3BAY78bo5WemFau6D/0i+vC0fx1zLYFQmmjTJshpV8+BpLrWF6kvuDYFB1GuOQfg+CDG1C90lQIgKKWH8EiFbZooWySanWi18yeRJjbfA7DZkgraZqh3Aoh+a1nl21uNesUqzAk9YaadB/VagMP3X5W9876okYvmVMoyxWZ7jY4pCKSoVnyNQDTZQvOY51g5QIq8kjjIvP2iSG8jhawKuGsCYL5iUYyhxJNFYV6IBkCEWmYAxYpv3EfwJejVI0Gv15RSAFQLprl7AoEknNYnR2S4/Ek1CWTWk5vPdkXWYVV23phKydxk55a9sgYiMprtGRWlzi8Qy9UVaJQUaYENfh0WVXTrUrHoH+qdACK2zYiaI9da+ygQtV4T3N+Y3j0WJlnUQzCtbPDssoreCCDnyCGwL2WO5JrfO+SEm8vKMaJGznW3uI/YJKbbTivXEwENFFVGRqDJaMBJtlhvNbzVXYGxjLyfnVRKOKyda6ClCHXFAyhEHVkjMKnOP2whc6ha4TsPhVknnmNl126xakSLAvsnaD82VzQosG1v/QjSY4PyV1sSZKAS5DadyujniqpjMIe2w73zv/lE+DTJ95YWqF8AGSiCGrhq+dU4iae63wu6RbuVsxNu/hFJAiKNg8LICMgmOywUSzRs/L00Fw6fweXS7ln6Nw1TBfg6z8pNolLeMwfCscSbSOIn5y7zPEjg4IsDMHx9lz7hu7bM4ZCKcyKOajQwCLlF8SGVy7v2u0s+jPwDEeUTfjDhTd4AAAAASUVORK5CYII=",q7="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAALVSURBVHgBxZfLbtNAFIb/8TgJCbm2adNUIOiuYpUN+7JiySPAm5Q+CfQBeIcuWYDaVYWEUIQqCLmQpEmaJq7Hw5y4dpOOadwEh0+yZnx8OWfm/HNjuKZ6VtsD5/sAqwAyj+g4goPDnUeb733L91pz/6zekpdjSwrHkVFycTmW5KuqfJJvVq013piG8W57Yw0GY1gFqon42WzDtuQLg0n2ei2XXplzgnwV81mAy31DQu6lEgmsmnjMpKJi4D9x3eN58/YDabdUkmrAuboMDqTXgV4DSOWgkuZei9iEElzyCRDbmvGnBYDmZ6C4rWIr39i8ejy1uI0aN/gKVpgNQE9BtoDIeJDUTHoP2GPVAvfFL708jrtlCMmxCClu4Vm2gd1s1zUM2kBybgCWXz3tbSJtmlicxKQBfgCkiVvoKUiv+dWhiGNZZnpv1Nee683rNWcFeM2lfQzH/oi++IUcL6LvdJAziuiIunsvOsjwAobSQT7+Ui0ruwiD3gOp4HVI2J9UtBIFXlIf8Ylzwr9XQVCZZjE0Rx8C/4EH6RABkAgDGDkNhKXA/zKSSITzA7ACv02yhwgLpSWQ+4pwmgvZQ1i89GgEiFAPgEQYQIaFn6D6Tjv0u6FF2JdDhCXJy8EPlhHheuKVGmISV9LCQA1BKs+dltpdiUlJUO6lGium+TzwH0EivHMmnIbGdSHpjm2vHV7pza5bmMN9RWgygWVJ8aubm/vOhJV8Ta0HJTUlx7AIJnPUP+p3v6NZpkRIi4i/kPwLaGNyCz0FSmiR0dFnU60HWPwpZPdUaSHjqpaE4+WOhtEiNkdpKbMJtl6ZHwDiJbCNklv35D29iVjGFoBKAes6UXb7HAy1OT6xrmysmuFoMt8cGVLYB61uH6vsBfLV7g1IG4cTQ/VH/e1Z/be8GI1llNDBlw7A5Oub8km+/QMhHVLpnEhHNUQGU5OKPIEQBzuPy0dk+QPy8+sGXJtnqwAAAABJRU5ErkJggg==",Y7=w.div(({theme:e})=>({border:`1px solid ${e.appBorderColor}`,borderRadius:e.appBorderRadius,padding:"6px 10px",fontSize:13,lineHeight:"18px"})),Q7=w.div(({theme:e})=>({lineHeight:"18px",position:"relative",borderRadius:5,display:"block",minWidth:"80%",color:e.color.warningText,background:e.background.warning,border:`1px solid ${qa(.5,e.color.warningText)}`,padding:15,margin:0})),K7=w(j)(({theme:e})=>({color:e.color.darkest})),J7=({onSkip:e,runningSecondBuild:t})=>a.createElement(ve,{footer:null},a.createElement(he,null,a.createElement(se,null,a.createElement("div",null,a.createElement(me,null,"Make a change to this story"),a.createElement(j,{center:!0,muted:!0,block:!0},"In your code, adjust the markup, styling, or assets to see how visual testing works. Don't worry, you can undo it later. Here are a few ideas to get you started.")),a.createElement(se,{style:{display:"flex",alignItems:"flex-start",gap:"8px",margin:"10px 0"}},a.createElement(Qn,{style:{margin:0,alignItems:"center",gap:"10px"}},a.createElement("img",{src:W7,alt:"Color Palette",style:{width:32,height:32}}),"Shift the color palette"),a.createElement(Qn,{style:{margin:0,alignItems:"center",gap:"10px"}},a.createElement("img",{src:G7,alt:"Embiggen",style:{width:32,height:32}})," ","Embiggen the type"),a.createElement(Qn,{style:{margin:0,alignItems:"center",gap:"10px"}},a.createElement("img",{src:q7,alt:"Layout",style:{width:32,height:32}}),"Change the layout"),a.createElement(Qn,{style:{margin:0,alignItems:"center",gap:"10px"}},a.createElement("img",{src:$7,alt:"Adjust",style:{width:32,height:32}}),"Adjust the size or scale")),a.createElement(yt,null,t?a.createElement(Q7,null,a.createElement(K7,null,"No changes found in the Storybook you published. Make a UI tweak and try again to continue.")):a.createElement(Y7,null,"Awaiting changes..."),a.createElement(ce,{link:!0,onClick:e},"Skip walkthrough"))))),X7=({isRunning:e,setRunningSecondBuild:t,startBuild:n,setInitialGitHash:r,uncommittedHash:i})=>a.createElement(ve,{footer:null},a.createElement(he,null,a.createElement(se,null,a.createElement("div",null,a.createElement(me,null,"Changes detected"),a.createElement(j,{center:!0,muted:!0},"Time to run your first visual tests to pinpoint the exact changes made to this story.")),a.createElement(ce,{variant:"solid",size:"medium",disabled:e,onClick:()=>{t(!0),n(),setTimeout(()=>{r(i)},1e4)}},a.createElement(Zt,null),"Run visual tests")))),e6=({localBuildProgress:e})=>a.createElement(ve,{footer:null},a.createElement(he,null,a.createElement(se,null,a.createElement("div",null,a.createElement(me,null,"Running your first test"),a.createElement(j,{center:!0,muted:!0},"A new snapshot is being created in a standardized cloud browser. Once complete, you'll be able to pinpoint exactly what changed.")),a.createElement(zr,{localBuildProgress:e})))),t6=({isUnchanged:e,localBuildProgress:t,...n})=>(We("Onboarding","CatchAChange"),n.isRunning&&t?a.createElement(e6,{localBuildProgress:t}):e?a.createElement(J7,{...n}):a.createElement(X7,{...n})),n6=w.div(({status:e,theme:t})=>({position:"relative",display:"inline-flex",border:`1px solid ${e==="positive"?t.color.green:t.appBorderColor}`,borderRadius:5,margin:"15px 15px 0",minHeight:200,minWidth:200,maxWidth:500,img:{display:"block",maxWidth:"100%"},svg:{position:"absolute",top:-12,left:-12,width:24,height:24,padding:5,color:t.color.lightest,borderRadius:"50%",backgroundColor:t.color.green}})),a6=w.div({width:"100%",margin:2,background:"white",borderRadius:3,overflow:"hidden",div:{display:"flex",alignItems:"center",justifyContent:"center",width:"100%",height:"100%"}}),sl=({backgroundColor:e,status:t,thumbnailUrl:n})=>a.createElement(n6,{status:t},a.createElement(a6,null,a.createElement("div",{style:e?{backgroundColor:e}:{}},a.createElement("img",{alt:"Snapshot thumbnail",src:n}))),t==="positive"&&a.createElement(hl,null)),I1=w(j)({marginBottom:5}),Z1=({onComplete:e,onSkip:t,ranSecondBuild:n=!1})=>{We("Onboarding","CatchAChangeComplete");let r=on();return a.createElement(ve,{footer:null},a.createElement(he,{style:{overflowY:"auto"}},n?a.createElement(se,null,a.createElement("div",null,a.createElement(me,null,"Nice. Your stories were saved as test baselines."),a.createElement(j,{center:!0,muted:!0,block:!0},"This story was indexed and snapshotted in a standardized cloud browser."),r.selectedComparison?.headCapture?.captureImage&&a.createElement(sl,{...r.selectedComparison?.headCapture?.captureImage,status:"positive"})),a.createElement(yt,null,a.createElement(I1,null,"You're ready to start testing!"),a.createElement(ce,{variant:"solid",size:"medium",onClick:e},"Done"),a.createElement(ce,{link:!0,onClick:t},"Skip walkthrough"))):a.createElement(se,null,a.createElement("div",null,a.createElement(me,null,"Nice. You ran your first tests!"),a.createElement(j,{center:!0,muted:!0,block:!0},"This story was indexed and snapshotted in a standardized cloud browser and changes were found."),r.selectedComparison?.headCapture?.captureImage&&a.createElement(sl,{...r.selectedComparison?.headCapture?.captureImage,status:"positive"})),a.createElement(yt,null,a.createElement(I1,null,"It's time to review changes!"),a.createElement(ce,{variant:"solid",size:"medium",onClick:e},"Take a tour"),a.createElement(ce,{link:!0,onClick:t},"Skip walkthrough")))))},B1=()=>a.createElement("div",null,a.createElement(rn,null),a.createElement(me,null,"Get started with visual testing"),a.createElement(j,{center:!0,muted:!0},'Take an image snapshot of your stories to save their "last known good state" as test baselines.')),r6=({isRunning:e,localBuildProgress:t,startBuild:n,onSkip:r})=>(We("Onboarding","InitialBuild"),a.createElement(ve,{footer:null},a.createElement(he,null,t?a.createElement(se,null,a.createElement(B1,null),a.createElement(zr,{localBuildProgress:t})):a.createElement(se,null,a.createElement(B1,null),a.createElement(yt,null,a.createElement(ce,{disabled:e,size:"medium",variant:"solid",onClick:n},"Take snapshots"),a.createElement(ce,{onClick:r,link:!0},"Skip walkthrough")))))),i6=w(j)({marginBottom:5}),l6=({onCatchAChange:e,onSkip:t})=>{We("Onboarding","InitialBuildComplete");let n=on();return a.createElement(ve,{footer:null},a.createElement(he,null,a.createElement(se,null,a.createElement("div",null,a.createElement(me,null,"Nice. Your stories were saved as test baselines."),a.createElement(j,{center:!0,muted:!0,block:!0},"This story was indexed and snapshotted in a standardized cloud browser."),n?.selectedComparison?.headCapture?.captureImage&&a.createElement(sl,{...n?.selectedComparison?.headCapture.captureImage,status:"positive"})),a.createElement(yt,null,a.createElement(i6,{muted:!0},"Let's see the superpower of catching visual changes."),a.createElement(ce,{variant:"solid",size:"medium",onClick:e},"Catch a UI change"),a.createElement(ce,{link:!0,onClick:t},"Skip walkthrough")))))},o6=({dismissBuildError:e,localBuildProgress:t,showInitialBuildScreen:n,gitInfo:r,lastBuildHasChangesForStory:i,onComplete:l,onSkip:o})=>{let{isRunning:s,startBuild:c}=ka(),[d,m]=Ue("showInitialBuild",n);X(()=>{n&&m(!0)},[n,m]);let[u,p]=Ue("showCatchAChange",!d),[f,g]=Ue("initialGitHash",r.uncommittedHash),y=()=>{g(r.uncommittedHash),p(!0)},[k,E]=Ue("runningSecondBuild",!1);return t?.currentStep==="error"?a.createElement(z7,{localBuildProgress:t},a.createElement(yt,null,a.createElement(ce,{variant:"solid",size:"medium",onClick:c},"Try again"),a.createElement(ce,{link:!0,onClick:o},"Skip walkthrough"))):t?.currentStep==="limited"?a.createElement(m0,{billingUrl:t.errorDetailsUrl,suspensionReason:"EXCEEDED_THRESHOLD"},a.createElement(ce,{link:!0,onClick:e},"Continue")):d&&(!t||t&&s)?a.createElement(r6,{isRunning:s,localBuildProgress:t,startBuild:c,onSkip:o}):t?.currentStep==="complete"&&!u&&!k?i?a.createElement(Z1,{onComplete:l,onSkip:o}):a.createElement(l6,{onCatchAChange:y,onSkip:o}):u&&!i?a.createElement(t6,{isRunning:s,isUnchanged:f===r.uncommittedHash,localBuildProgress:t,onSkip:o,runningSecondBuild:k,setInitialGitHash:g,setRunningSecondBuild:E,startBuild:c,uncommittedHash:r.uncommittedHash}):i?a.createElement(Z1,{onComplete:l,onSkip:o,ranSecondBuild:u&&k}):null},s6=w.div(({theme:e})=>({background:e.background.app,padding:"10px 15px",lineHeight:"20px",color:e.color.defaultText,borderBottom:`1px solid ${e.appBorderColor}`})),c6=Ft({from:{transform:"rotate(0deg)"},to:{transform:"rotate(359deg)"}}),d6=w(us)({animation:`${c6} 1s linear infinite`}),ja={width:10,marginRight:8},P1=w.button(({isWarning:e,onClick:t,theme:n})=>{let r=n.base==="light"?n.background.warning:"#2e271a";return{position:"relative",display:"flex",width:"100%",lineHeight:"20px",padding:"5px 7px 5px 15px",justifyContent:"space-between",alignItems:"center",background:e?r:n.background.app,border:"none",borderBottom:`1px solid ${n.appBorderColor}`,color:n.color.defaultText,cursor:t?"pointer":"default",textAlign:"left","& > *":{zIndex:1},code:{fontFamily:n.typography.fonts.mono,fontSize:"12px"}}}),V1=w.div(({isWarning:e,percentage:t,theme:n})=>{let r=n.base==="light"?"#FFE6B1":"#43361f";return{display:"block",position:"absolute",top:"0",height:"100%",left:"0",width:`${t}%`,transition:"width 3s ease-out",backgroundColor:e?r:n.background.hoverable,pointerEvents:"none",zIndex:0}}),za=w.div({padding:"5px 0"}),u6=w.div(({expanded:e,theme:t})=>({display:"grid",gridTemplateRows:e?"1fr":"0fr",background:t.background.app,borderBottom:e?`1px solid ${t.appBorderColor}`:"none",transition:"grid-template-rows 150ms ease-out"})),m6=w.div(({theme:e})=>({whiteSpace:"nowrap",overflow:"hidden",color:e.base==="light"?e.color.dark:e.color.lightest})),p6=w.div(({isCurrent:e,isFailed:t,isPending:n,theme:r})=>({display:"flex",flexDirection:"row",gap:8,opacity:n?.7:1,color:t?r.color.negativeText:"inherit",fontWeight:e||t?"bold":"normal",fontFamily:"Menlo, monospace",fontSize:12,lineHeight:"24px",margin:"0 15px","&:first-of-type":{marginTop:10},"&:last-of-type":{marginBottom:10},"& > div":{display:"flex",alignItems:"center"}})),h6=({localBuildProgress:e,expanded:t=!1})=>{let n=Ne({});X(()=>{n.current[e.currentStep]={...e}},[e]);let r=["aborted","error"].includes(e.currentStep),i=Ui.map(l=>{let{startedAt:o,completedAt:s}=e.stepProgress[l],c=!!o&&!s,d=c&&r,m=!o,u={...Nl[l],isCurrent:c,isFailed:d,isPending:m};return d?{...u,icon:a.createElement(xt,{style:ja}),renderLabel:u.renderProgress}:c?{...u,icon:a.createElement(d6,{style:ja}),renderLabel:u.renderProgress}:m?{...u,icon:a.createElement(J5,{style:ja}),renderLabel:u.renderName}:{...u,icon:a.createElement(hl,{style:ja}),renderLabel:u.renderComplete}});return a.createElement(u6,{expanded:t},a.createElement(m6,null,i.map(({icon:l,isCurrent:o,isFailed:s,isPending:c,key:d,renderLabel:m})=>a.createElement(p6,{isCurrent:o,isFailed:s,isPending:c,key:d},a.createElement("div",null,l,m(n.current[d]||e))))))},f6=({branch:e,dismissBuildError:t,localBuildProgress:n,lastBuildOnBranchInProgress:r,switchToLastBuildOnBranch:i})=>{let[l,o]=a.useState(!1),s=()=>{o(!l)};if(n){let d=n.currentStep==="aborted",m=n.currentStep==="error",u=d||m;return a.createElement(a.Fragment,null,a.createElement(P1,{as:m?"div":"button",onClick:m?void 0:s,isWarning:u},a.createElement(V1,{percentage:n.buildProgressPercentage,isWarning:u}),a.createElement(za,null,a.createElement(Ml,{localBuildProgress:n,withEmoji:!0})),m?a.createElement(Je,{onClick:t},a.createElement(fl,{"aria-label":"Dismiss"})):a.createElement(Je,{as:"div"},l?a.createElement(eu,null):a.createElement(X5,null))),a.createElement(h6,{localBuildProgress:n,expanded:l||m}))}function c(){return i?r?a.createElement(za,null,"Reviewing is disabled because there's a newer build in progress on"," ",a.createElement(Fe,null,e),". This can happen when a build runs in CI."):a.createElement(za,null,"There's a newer snapshot with changes."," ",a.createElement($t,{withArrow:!0,onClick:i},"Switch to newer snapshot")):a.createElement(za,null,"Reviewing is disabled because there's a newer build on ",a.createElement(Fe,null,e),".")}return a.createElement(P1,{onClick:i},a.createElement(V1,{percentage:100}),c())},g6=({onClose:e})=>a.createElement(qs,null,a.createElement(Ki,null,a.createElement(cr,null,"Render settings",a.createElement(Ho,null),a.createElement(Il,{onClick:e},a.createElement(Rl,{"aria-label":"Close"}))),a.createElement("p",null,a.createElement(Gm,null),"Delay: 300ms"),a.createElement("p",null,a.createElement(qm,null),"Animation pause: Ends"),a.createElement("p",null,a.createElement(Ym,null),"Threshold: 0.2"),a.createElement("p",null,a.createElement(Qm,null),"Anti-alias: Included")),a.createElement(Ki,null,a.createElement(cr,null,"Bounding box",a.createElement(Ho,null)),a.createElement("dl",null,a.createElement("dt",null,"Width:"),a.createElement("dd",null,"Fill viewport"),a.createElement("dt",null,"Height:"),a.createElement("dd",null,"Hug contents")))),K0={isReviewing:!1,userCanReview:!1,buildIsReviewable:!1,acceptTest:(e,t="SPEC")=>Promise.resolve(),unacceptTest:(e,t="SPEC")=>Promise.resolve()},J0=qe(K0),X0=()=>bt(J0,"ReviewTest"),v6=({children:e,watchState:t=K0})=>a.createElement(J0.Provider,{value:t},e),y6=w.div(({theme:e})=>({position:"relative",display:"flex",background:"transparent",overflow:"hidden",margin:2,maxWidth:"calc(100% - 4px)","& > div":{display:"flex",flexDirection:"column",alignItems:"center",width:"100%",p:{maxWidth:380,textAlign:"center"},svg:{width:24,height:24}},"& > svg":{position:"absolute",left:"calc(50% - 14px)",top:"calc(50% - 14px)",width:20,height:20,color:e.color.lightest,opacity:0,transition:"opacity 0.1s ease-in-out",pointerEvents:"none"}}),({href:e})=>e&&{display:"inline-flex",cursor:"pointer","&:hover":{"& > svg":{opacity:1},img:{filter:"brightness(85%)"}}}),D1=w.div(({isVisible:e})=>({position:e?"static":"absolute",visibility:e?"visible":"hidden",maxWidth:"100%",minHeight:100})),Ua=w.img({display:"block",width:"100%",height:"auto",transition:"filter 0.1s ease-in-out, opacity 0.1s ease-in-out","&[data-overlay]":{position:"absolute",opacity:.7,pointerEvents:"none",transition:"opacity 0.1s ease-in-out"}}),E6=w(se)({margin:"30px 15px"}),b6=({comparisonImageLoaded:e,focusImageLoaded:t,showDiff:n,showFocus:r})=>n&&r?e&&t:n?e:r?t:!0,k6=({componentName:e,storyName:t,testUrl:n,comparisonResult:r,latestImage:i,baselineImage:l,baselineImageVisible:o,diffImage:s,focusImage:c,diffVisible:d,focusVisible:m,...u})=>{let p=Ut(),f=!!i&&!!s&&r==="CHANGED",g=r==="CAPTURE_ERROR",y=f&&!!c,k=f?{as:"a",href:n,target:"_blank",title:"View on Chromatic.com"}:{},E=f&&d,h=y&&m,[v,b]=a.useState(!1),[C,O]=a.useState(!1),[I,U]=a.useState(!1),[G,oe]=a.useState(!1),ee=o?C:v,ke=b6({comparisonImageLoaded:I,focusImageLoaded:G,showDiff:E,showFocus:h});return a.createElement(y6,{...u,...k},i&&a.createElement(D1,{isVisible:!l||!o,style:{aspectRatio:`${i.imageWidth} / ${i.imageHeight}`,width:i.imageWidth}},(!v||!ke)&&a.createElement(Qi,null),a.createElement(Ua,{alt:`Latest snapshot for the '${t}' story of the '${e}' component`,src:i.imageUrl,style:{opacity:v?1:0},onLoad:()=>b(!0)})),l&&a.createElement(D1,{isVisible:o,style:{aspectRatio:`${l.imageWidth} / ${l.imageHeight}`,width:l.imageWidth}},(!C||!ke)&&a.createElement(Qi,null),a.createElement(Ua,{alt:`Baseline snapshot for the '${t}' story of the '${e}' component`,src:l.imageUrl,style:{opacity:C?1:0},onLoad:()=>O(!0)})),f&&ee&&a.createElement(Ua,{alt:"","data-overlay":"diff",src:s.imageUrl,style:{width:s.imageWidth,maxWidth:`${s.imageWidth/i.imageWidth*100}%`,opacity:E&&I?.7:0},onLoad:()=>U(!0)}),y&&ee&&a.createElement(Ua,{alt:"","data-overlay":"focus",src:c.imageUrl,style:{width:c.imageWidth,maxWidth:`${c.imageWidth/i.imageWidth*100}%`,opacity:h&&G?.7:0,filter:h?"blur(2px)":"none"},onLoad:()=>oe(!0)}),f&&a.createElement(cs,null),g&&!i&&a.createElement(E6,null,a.createElement(P5,{color:p.base==="light"?"currentColor":p.color.medium}),a.createElement(j,{center:!0,muted:!0},"A snapshot couldn't be captured. This often occurs when a story has a code error. Confirm that this story successfully renders in your local Storybook and run the build again.")))},w6=e=>a.createElement("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},a.createElement("path",{d:"M5.06982 9.68493L7.99484 4.63927L14.5786 4.62406C14.5252 4.52043 14.4696 4.41742 14.4109 4.31532C12.372 0.768556 7.84405 -0.453864 4.29726 1.58495C3.24614 2.1892 2.39921 3.01211 1.78076 3.96327L5.06982 9.68493Z",fill:"#DB4437"}),a.createElement("path",{d:"M10.9276 9.68457L5.09539 9.6743L1.79036 3.98022C1.72727 4.07822 1.66591 4.17795 1.60682 4.27985C-0.445348 7.81892 0.759985 12.3515 4.29905 14.4037C5.34791 15.0118 6.48403 15.3338 7.617 15.3939L10.9276 9.68457Z",fill:"#0F9D58"}),a.createElement("path",{d:"M7.98649 4.61194L10.9032 9.66241L7.63525 15.3778C7.75167 15.3833 7.86871 15.3863 7.98649 15.3863C12.0775 15.3863 15.3939 12.0699 15.3939 7.97893C15.3939 6.76648 15.1025 5.62211 14.5861 4.61194L7.98649 4.61194Z",fill:"#FFCD40"}),a.createElement("path",{d:"M8.01367 4.6366V6.40005L14.613 4.6366H8.01367Z",fill:"url(#paint0_radial_466_21161)"}),a.createElement("path",{d:"M1.78198 4.00098L6.60102 8.8192L5.09764 9.687L1.78198 4.00098Z",fill:"url(#paint1_radial_466_21161)"}),a.createElement("path",{d:"M7.6626 15.4017L9.42689 8.81921L10.9303 9.68702L7.6626 15.4017Z",fill:"url(#paint2_radial_466_21161)"}),a.createElement("ellipse",{cx:"8.01347",cy:"8.00358",rx:"3.36699",ry:"3.36699",fill:"#F1F1F1"}),a.createElement("ellipse",{cx:"8.01367",cy:"8.00354",rx:"2.69361",ry:"2.6936",fill:"#4285F4"}),a.createElement("defs",null,a.createElement("radialGradient",{id:"paint0_radial_466_21161",cx:"0",cy:"0",r:"1",gradientUnits:"userSpaceOnUse",gradientTransform:"translate(7.69229 4.63226) scale(7.07721 1.89116)"},a.createElement("stop",{stopColor:"#3E2723",stopOpacity:"0.2"}),a.createElement("stop",{offset:"1",stopColor:"#3E2723",stopOpacity:"0.01"})),a.createElement("radialGradient",{id:"paint1_radial_466_21161",cx:"0",cy:"0",r:"1",gradientUnits:"userSpaceOnUse",gradientTransform:"translate(1.77445 4.00677) scale(6.56938 7.75127)"},a.createElement("stop",{stopColor:"#3E2723",stopOpacity:"0.2"}),a.createElement("stop",{offset:"1",stopColor:"#3E2723",stopOpacity:"0.01"})),a.createElement("radialGradient",{id:"paint2_radial_466_21161",cx:"0",cy:"0",r:"1",gradientUnits:"userSpaceOnUse",gradientTransform:"translate(8.00025 8.01489) scale(7.39644 14.8995)"},a.createElement("stop",{stopColor:"#263238",stopOpacity:"0.2"}),a.createElement("stop",{offset:"1",stopColor:"#263238",stopOpacity:"0.01"})))),C6=e=>a.createElement("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},a.createElement("circle",{cx:"8.00009",cy:"7.99997",r:"7.7037",fill:"url(#paint0_linear_466_21186)"}),a.createElement("ellipse",{cx:"8.00094",cy:"8.00094",rx:"7.06173",ry:"7.06173",fill:"url(#paint1_radial_466_21186)"}),a.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.07134 1.36353C8.03043 1.36353 7.99727 1.39669 7.99727 1.4376V2.56469C7.99727 2.6056 8.03043 2.63877 8.07134 2.63877C8.11225 2.63877 8.14542 2.6056 8.14542 2.56469V1.4376C8.14542 1.39669 8.11225 1.36353 8.07134 1.36353ZM8.07134 14.7792C8.11225 14.7792 8.14542 14.746 8.14542 14.7051V13.578C8.14542 13.5371 8.11225 13.5039 8.07134 13.5039C8.03043 13.5039 7.99727 13.5371 7.99727 13.578V14.7051C7.99727 14.746 8.03043 14.7792 8.07134 14.7792ZM8.64883 1.46214C8.65292 1.42143 8.68923 1.39175 8.72994 1.39584C8.77064 1.39993 8.80032 1.43625 8.79623 1.47695L8.74793 1.95766C8.74384 1.99836 8.70752 2.02804 8.66682 2.02395C8.62612 2.01986 8.59643 1.98355 8.60052 1.94284L8.64883 1.46214ZM7.41372 14.7468C7.45442 14.7509 7.49074 14.7213 7.49483 14.6806L7.54313 14.1998C7.54722 14.1591 7.51754 14.1228 7.47683 14.1187C7.43613 14.1146 7.39982 14.1443 7.39573 14.185L7.34742 14.6657C7.34333 14.7064 7.37301 14.7428 7.41372 14.7468ZM14.7051 7.99727C14.746 7.99727 14.7792 8.03043 14.7792 8.07134C14.7792 8.11225 14.746 8.14542 14.7051 8.14542H13.578C13.5371 8.14542 13.5039 8.11225 13.5039 8.07134C13.5039 8.03043 13.5371 7.99727 13.578 7.99727H14.7051ZM1.36353 8.07134C1.36353 8.11225 1.39669 8.14542 1.4376 8.14542H2.56469C2.6056 8.14542 2.63877 8.11225 2.63877 8.07134C2.63877 8.03043 2.6056 7.99727 2.56469 7.99727H1.4376C1.39669 7.99727 1.36353 8.03043 1.36353 8.07134ZM14.6806 8.64883C14.7213 8.65292 14.7509 8.68923 14.7468 8.72994C14.7428 8.77064 14.7064 8.80032 14.6657 8.79623L14.185 8.74793C14.1443 8.74384 14.1146 8.70752 14.1187 8.66682C14.1228 8.62612 14.1591 8.59643 14.1998 8.60052L14.6806 8.64883ZM1.39584 7.41372C1.39175 7.45442 1.42143 7.49074 1.46214 7.49483L1.94284 7.54313C1.98355 7.54722 2.01986 7.51754 2.02395 7.47683C2.02804 7.43613 1.99836 7.39982 1.95766 7.39573L1.47695 7.34742C1.43625 7.34333 1.39993 7.37301 1.39584 7.41372ZM12.7097 3.3282C12.7387 3.29927 12.7856 3.29927 12.8145 3.3282C12.8434 3.35713 12.8434 3.40403 12.8145 3.43296L12.0175 4.22994C11.9886 4.25887 11.9417 4.25887 11.9127 4.22994C11.8838 4.20101 11.8838 4.15411 11.9127 4.12518L12.7097 3.3282ZM3.3282 12.8145C3.35713 12.8434 3.40403 12.8434 3.43296 12.8145L4.22994 12.0175C4.25887 11.9886 4.25887 11.9417 4.22994 11.9127C4.20101 11.8838 4.15411 11.8838 4.12518 11.9127L3.3282 12.7097C3.29927 12.7387 3.29927 12.7856 3.3282 12.8145ZM13.1523 3.80568C13.1839 3.77973 13.2306 3.78433 13.2566 3.81595C13.2825 3.84757 13.2779 3.89425 13.2463 3.9202L12.8729 4.22664C12.8413 4.2526 12.7946 4.248 12.7686 4.21638C12.7427 4.18475 12.7473 4.13808 12.7789 4.11212L13.1523 3.80568ZM2.88614 12.3267C2.91209 12.3584 2.95876 12.363 2.99039 12.337L3.36378 12.0306C3.3954 12.0046 3.4 11.9579 3.37404 11.9263C3.34809 11.8947 3.30142 11.8901 3.26979 11.916L2.8964 12.2225C2.86478 12.2484 2.86018 12.2951 2.88614 12.3267ZM12.8145 12.7097C12.8434 12.7387 12.8434 12.7856 12.8145 12.8145C12.7856 12.8434 12.7387 12.8434 12.7097 12.8145L11.9127 12.0175C11.8838 11.9886 11.8838 11.9417 11.9127 11.9127C11.9417 11.8838 11.9886 11.8838 12.0175 11.9127L12.8145 12.7097ZM3.3282 3.3282C3.29927 3.35713 3.29927 3.40403 3.3282 3.43296L4.12518 4.22994C4.15411 4.25887 4.20101 4.25887 4.22994 4.22994C4.25887 4.20101 4.25887 4.15411 4.22994 4.12518L3.43296 3.3282C3.40403 3.29927 3.35713 3.29927 3.3282 3.3282ZM12.337 13.1523C12.363 13.1839 12.3584 13.2306 12.3267 13.2566C12.2951 13.2825 12.2484 13.2779 12.2225 13.2463L11.916 12.8729C11.8901 12.8413 11.8947 12.7946 11.9263 12.7686C11.9579 12.7427 12.0046 12.7473 12.0306 12.7789L12.337 13.1523ZM3.81595 2.88614C3.78433 2.91209 3.77973 2.95876 3.80568 2.99039L4.11212 3.36378C4.13808 3.3954 4.18475 3.4 4.21638 3.37404C4.248 3.34809 4.2526 3.30142 4.22664 3.26979L3.9202 2.8964C3.89425 2.86478 3.84757 2.86018 3.81595 2.88614ZM10.5415 1.91422C10.5572 1.87643 10.6005 1.85848 10.6383 1.87413C10.6761 1.88979 10.6941 1.93312 10.6784 1.97092L10.2471 3.01221C10.2314 3.05 10.1881 3.06795 10.1503 3.05229C10.1125 3.03664 10.0946 2.99331 10.1102 2.95551L10.5415 1.91422ZM5.50437 14.2686C5.54216 14.2842 5.58549 14.2663 5.60115 14.2285L6.03247 13.1872C6.04813 13.1494 6.03018 13.1061 5.99238 13.0904C5.95459 13.0747 5.91126 13.0927 5.8956 13.1305L5.46428 14.1718C5.44862 14.2096 5.46657 14.2529 5.50437 14.2686ZM11.1332 2.18598C11.1524 2.1499 11.1973 2.13628 11.2334 2.15557C11.2695 2.17486 11.2831 2.21974 11.2638 2.25582L11.0361 2.68183C11.0168 2.7179 10.9719 2.73152 10.9358 2.71223C10.8998 2.69295 10.8861 2.64806 10.9054 2.61199L11.1332 2.18598ZM4.90931 13.9871C4.94539 14.0064 4.99027 13.9928 5.00955 13.9567L5.23726 13.5307C5.25654 13.4946 5.24293 13.4497 5.20685 13.4305C5.17077 13.4112 5.12589 13.4248 5.1066 13.4609L4.8789 13.8869C4.85961 13.923 4.87323 13.9678 4.90931 13.9871ZM14.2285 10.5415C14.2663 10.5572 14.2842 10.6005 14.2686 10.6383C14.2529 10.6761 14.2096 10.6941 14.1718 10.6784L13.1305 10.2471C13.0927 10.2314 13.0747 10.1881 13.0904 10.1503C13.1061 10.1125 13.1494 10.0946 13.1872 10.1102L14.2285 10.5415ZM1.87412 5.50437C1.85846 5.54216 1.87641 5.58549 1.91421 5.60115L2.95551 6.03247C2.99331 6.04813 3.03664 6.03018 3.05229 5.99238C3.06795 5.95459 3.05 5.91126 3.0122 5.8956L1.9709 5.46428C1.9331 5.44862 1.88977 5.46657 1.87412 5.50437ZM13.9567 11.1332C13.9928 11.1524 14.0064 11.1973 13.9871 11.2334C13.9678 11.2695 13.923 11.2831 13.8869 11.2638L13.4609 11.0361C13.4248 11.0168 13.4112 10.9719 13.4305 10.9358C13.4497 10.8998 13.4946 10.8861 13.5307 10.9054L13.9567 11.1332ZM2.15557 4.90929C2.13628 4.94537 2.1499 4.99025 2.18598 5.00954L2.61199 5.23726C2.64806 5.25654 2.69295 5.24293 2.71223 5.20685C2.73152 5.17077 2.7179 5.12589 2.68183 5.1066L2.25582 4.87888C2.21974 4.8596 2.17486 4.87321 2.15557 4.90929ZM14.1718 5.46428C14.2096 5.44862 14.2529 5.46657 14.2686 5.50437C14.2842 5.54216 14.2663 5.58549 14.2285 5.60115L13.1872 6.03247C13.1494 6.04813 13.1061 6.03018 13.0904 5.99238C13.0747 5.95459 13.0927 5.91126 13.1305 5.8956L14.1718 5.46428ZM1.87413 10.6383C1.88979 10.6761 1.93312 10.6941 1.97092 10.6784L3.01221 10.2471C3.05 10.2314 3.06795 10.1881 3.05229 10.1503C3.03664 10.1125 2.99331 10.0946 2.95551 10.1102L1.91422 10.5415C1.87643 10.5572 1.85848 10.6005 1.87413 10.6383ZM14.3979 6.07477C14.4371 6.0629 14.4785 6.08501 14.4903 6.12416C14.5022 6.1633 14.4801 6.20467 14.441 6.21654L13.9787 6.35677C13.9396 6.36864 13.8982 6.34654 13.8863 6.30739C13.8744 6.26824 13.8965 6.22688 13.9357 6.215L14.3979 6.07477ZM1.65237 10.0185C1.66425 10.0577 1.70561 10.0798 1.74476 10.0679L2.20699 9.92769C2.24614 9.91581 2.26825 9.87445 2.25637 9.8353C2.2445 9.79615 2.20313 9.77404 2.16399 9.78592L1.70175 9.92615C1.6626 9.93802 1.64049 9.97939 1.65237 10.0185ZM10.6383 14.2686C10.6005 14.2842 10.5572 14.2663 10.5415 14.2285L10.1102 13.1872C10.0946 13.1494 10.1125 13.1061 10.1503 13.0904C10.1881 13.0747 10.2314 13.0927 10.2471 13.1305L10.6784 14.1718C10.6941 14.2096 10.6761 14.2529 10.6383 14.2686ZM5.50437 1.87413C5.46657 1.88979 5.44862 1.93312 5.46428 1.97092L5.8956 3.01221C5.91126 3.05 5.95459 3.06795 5.99238 3.05229C6.03018 3.03664 6.04813 2.99331 6.03247 2.95551L5.60115 1.91422C5.58549 1.87643 5.54216 1.85848 5.50437 1.87413ZM10.0679 14.3979C10.0798 14.4371 10.0577 14.4785 10.0185 14.4903C9.97939 14.5022 9.93802 14.4801 9.92615 14.441L9.78592 13.9787C9.77404 13.9396 9.79615 13.8982 9.8353 13.8863C9.87445 13.8744 9.91581 13.8965 9.92769 13.9357L10.0679 14.3979ZM6.12417 1.65237C6.08502 1.66424 6.06291 1.70561 6.07479 1.74475L6.215 2.20699C6.22688 2.24614 6.26824 2.26825 6.30739 2.25637C6.34654 2.2445 6.36864 2.20314 6.35677 2.16399L6.21656 1.70175C6.20468 1.6626 6.16332 1.64049 6.12417 1.65237ZM9.29287 1.55062C9.30085 1.5105 9.33985 1.48444 9.37997 1.49242C9.4201 1.5004 9.44615 1.5394 9.43817 1.57952L9.21829 2.68496C9.21031 2.72508 9.17131 2.75114 9.13119 2.74316C9.09107 2.73518 9.06501 2.69618 9.07299 2.65606L9.29287 1.55062ZM6.76272 14.6503C6.80284 14.6583 6.84184 14.6322 6.84982 14.5921L7.0697 13.4866C7.07768 13.4465 7.05162 13.4075 7.0115 13.3995C6.97137 13.3916 6.93238 13.4176 6.9244 13.4577L6.70452 14.5632C6.69654 14.6033 6.72259 14.6423 6.76272 14.6503ZM9.92615 1.70175C9.93802 1.6626 9.97939 1.64049 10.0185 1.65237C10.0577 1.66425 10.0798 1.70561 10.0679 1.74476L9.92769 2.20699C9.91581 2.24614 9.87445 2.26825 9.8353 2.25637C9.79615 2.2445 9.77404 2.20313 9.78592 2.16399L9.92615 1.70175ZM6.12417 14.4903C6.16332 14.5022 6.20469 14.4801 6.21656 14.441L6.35677 13.9787C6.36864 13.9396 6.34653 13.8982 6.30739 13.8863C6.26824 13.8744 6.22687 13.8965 6.215 13.9357L6.07479 14.398C6.06291 14.4371 6.08502 14.4785 6.12417 14.4903ZM14.5921 9.29287C14.6322 9.30085 14.6583 9.33985 14.6503 9.37997C14.6423 9.4201 14.6033 9.44615 14.5632 9.43817L13.4577 9.21829C13.4176 9.21031 13.3916 9.17131 13.3995 9.13119C13.4075 9.09107 13.4465 9.06501 13.4866 9.07299L14.5921 9.29287ZM1.49242 6.76272C1.48444 6.80284 1.5105 6.84184 1.55062 6.84982L2.65606 7.0697C2.69618 7.07768 2.73518 7.05162 2.74316 7.0115C2.75114 6.97137 2.72508 6.93238 2.68496 6.9244L1.57952 6.70452C1.5394 6.69654 1.5004 6.72259 1.49242 6.76272ZM14.441 9.92615C14.4801 9.93802 14.5022 9.97939 14.4903 10.0185C14.4785 10.0577 14.4371 10.0798 14.3979 10.0679L13.9357 9.92769C13.8965 9.91581 13.8744 9.87445 13.8863 9.8353C13.8982 9.79615 13.9396 9.77404 13.9787 9.78592L14.441 9.92615ZM1.65237 6.12415C1.64049 6.1633 1.6626 6.20467 1.70175 6.21654L2.16399 6.35677C2.20313 6.36864 2.2445 6.34654 2.25637 6.30739C2.26825 6.26824 2.24614 6.22688 2.20699 6.215L1.74476 6.07477C1.70561 6.0629 1.66425 6.08501 1.65237 6.12415ZM13.5459 4.32424C13.58 4.30151 13.626 4.31066 13.6487 4.34468C13.6714 4.37869 13.6623 4.42469 13.6282 4.44742L12.6911 5.0736C12.6571 5.09633 12.6111 5.08718 12.5884 5.05317C12.5656 5.01915 12.5748 4.97315 12.6088 4.95042L13.5459 4.32424ZM2.494 11.798C2.51673 11.832 2.56273 11.8412 2.59675 11.8184L3.53389 11.1923C3.56791 11.1695 3.57706 11.1235 3.55433 11.0895C3.5316 11.0555 3.4856 11.0464 3.45159 11.0691L2.51444 11.6953C2.48043 11.718 2.47128 11.764 2.494 11.798ZM13.8869 4.87888C13.923 4.8596 13.9678 4.87321 13.9871 4.90929C14.0064 4.94537 13.9928 4.99025 13.9567 5.00954L13.5307 5.23726C13.4946 5.25654 13.4497 5.24293 13.4305 5.20685C13.4112 5.17077 13.4248 5.12589 13.4609 5.1066L13.8869 4.87888ZM2.15557 11.2334C2.17486 11.2695 2.21974 11.2831 2.25582 11.2638L2.68183 11.0361C2.7179 11.0168 2.73152 10.9719 2.71223 10.9358C2.69295 10.8998 2.64806 10.8861 2.61199 10.9054L2.18598 11.1332C2.1499 11.1524 2.13628 11.1973 2.15557 11.2334ZM11.8184 13.5459C11.8412 13.58 11.832 13.626 11.798 13.6487C11.764 13.6714 11.718 13.6623 11.6953 13.6282L11.0691 12.6911C11.0464 12.6571 11.0555 12.6111 11.0895 12.5884C11.1235 12.5656 11.1695 12.5748 11.1923 12.6088L11.8184 13.5459ZM4.34468 2.494C4.31066 2.51673 4.30151 2.56273 4.32424 2.59675L4.95042 3.53389C4.97315 3.56791 5.01915 3.57706 5.05317 3.55433C5.08718 3.5316 5.09633 3.4856 5.0736 3.45159L4.44742 2.51444C4.42469 2.48043 4.37869 2.47128 4.34468 2.494ZM11.2638 13.8869C11.2831 13.923 11.2695 13.9678 11.2334 13.9871C11.1973 14.0064 11.1524 13.9928 11.1331 13.9567L10.9054 13.5307C10.8861 13.4946 10.8998 13.4497 10.9358 13.4305C10.9719 13.4112 11.0168 13.4248 11.0361 13.4609L11.2638 13.8869ZM4.90931 2.15557C4.87323 2.17485 4.85961 2.21974 4.8789 2.25581L5.1066 2.68182C5.12589 2.7179 5.17077 2.73152 5.20685 2.71223C5.24293 2.69295 5.25654 2.64807 5.23726 2.61199L5.00955 2.18598C4.99027 2.1499 4.94539 2.13628 4.90931 2.15557ZM11.6953 2.51444C11.718 2.48043 11.764 2.47128 11.798 2.494C11.832 2.51673 11.8412 2.56273 11.8184 2.59675L11.1923 3.53389C11.1695 3.56791 11.1235 3.57706 11.0895 3.55433C11.0555 3.5316 11.0464 3.4856 11.0691 3.45159L11.6953 2.51444ZM4.34468 13.6487C4.37869 13.6714 4.42469 13.6623 4.44742 13.6282L5.0736 12.6911C5.09633 12.6571 5.08718 12.6111 5.05317 12.5884C5.01915 12.5656 4.97315 12.5748 4.95042 12.6088L4.32424 13.5459C4.30151 13.58 4.31066 13.626 4.34468 13.6487ZM12.2225 2.8964C12.2484 2.86478 12.2951 2.86018 12.3267 2.88614C12.3584 2.91209 12.363 2.95876 12.337 2.99039L12.0306 3.36378C12.0046 3.3954 11.9579 3.4 11.9263 3.37404C11.8947 3.34809 11.8901 3.30142 11.916 3.26979L12.2225 2.8964ZM3.81595 13.2566C3.84757 13.2825 3.89425 13.2779 3.9202 13.2463L4.22664 12.8729C4.2526 12.8413 4.248 12.7946 4.21638 12.7686C4.18475 12.7427 4.13808 12.7473 4.11212 12.7789L3.80568 13.1523C3.77973 13.1839 3.78433 13.2306 3.81595 13.2566ZM13.6282 11.6953C13.6623 11.718 13.6714 11.764 13.6487 11.798C13.626 11.832 13.58 11.8412 13.5459 11.8184L12.6088 11.1923C12.5748 11.1695 12.5656 11.1235 12.5884 11.0895C12.6111 11.0555 12.6571 11.0464 12.6911 11.0691L13.6282 11.6953ZM2.494 4.34468C2.47128 4.37869 2.48043 4.42469 2.51444 4.44742L3.45159 5.0736C3.4856 5.09633 3.5316 5.08718 3.55433 5.05317C3.57706 5.01915 3.56791 4.97315 3.53389 4.95042L2.59675 4.32424C2.56273 4.30151 2.51673 4.31066 2.494 4.34468ZM13.2463 12.2225C13.2779 12.2484 13.2825 12.2951 13.2566 12.3267C13.2306 12.3584 13.1839 12.363 13.1523 12.337L12.7789 12.0306C12.7473 12.0046 12.7427 11.9579 12.7686 11.9263C12.7946 11.8947 12.8413 11.8901 12.8729 11.916L13.2463 12.2225ZM2.88614 3.81595C2.86018 3.84757 2.86478 3.89425 2.8964 3.9202L3.26979 4.22664C3.30142 4.2526 3.34809 4.248 3.37404 4.21638C3.4 4.18475 3.3954 4.13808 3.36378 4.11212L2.99039 3.80568C2.95876 3.77973 2.91209 3.78433 2.88614 3.81595ZM14.5632 6.70452C14.6033 6.69654 14.6423 6.72259 14.6503 6.76272C14.6583 6.80284 14.6322 6.84184 14.5921 6.84982L13.4866 7.0697C13.4465 7.07768 13.4075 7.05162 13.3995 7.0115C13.3916 6.97137 13.4176 6.93238 13.4577 6.9244L14.5632 6.70452ZM1.49242 9.37997C1.5004 9.4201 1.5394 9.44615 1.57952 9.43817L2.68496 9.21829C2.72508 9.21031 2.75114 9.17131 2.74316 9.13119C2.73518 9.09107 2.69618 9.06501 2.65606 9.07299L1.55062 9.29287C1.5105 9.30085 1.48444 9.33985 1.49242 9.37997ZM14.6657 7.34742C14.7064 7.34333 14.7428 7.37301 14.7468 7.41372C14.7509 7.45442 14.7213 7.49074 14.6806 7.49483L14.1998 7.54313C14.1591 7.54722 14.1228 7.51754 14.1187 7.47683C14.1146 7.43613 14.1443 7.39982 14.185 7.39573L14.6657 7.34742ZM1.39584 8.72994C1.39993 8.77064 1.43625 8.80032 1.47695 8.79623L1.95766 8.74793C1.99836 8.74384 2.02804 8.70752 2.02395 8.66682C2.01986 8.62612 1.98355 8.59643 1.94284 8.60052L1.46214 8.64883C1.42143 8.65292 1.39175 8.68923 1.39584 8.72994ZM9.43817 14.5632C9.44615 14.6033 9.4201 14.6423 9.37997 14.6503C9.33985 14.6583 9.30085 14.6322 9.29287 14.5921L9.07299 13.4866C9.06501 13.4465 9.09107 13.4075 9.13119 13.3995C9.17131 13.3916 9.21031 13.4176 9.21829 13.4577L9.43817 14.5632ZM6.76272 1.49242C6.72259 1.5004 6.69654 1.5394 6.70452 1.57952L6.9244 2.68496C6.93238 2.72508 6.97137 2.75114 7.0115 2.74316C7.05162 2.73518 7.07768 2.69618 7.0697 2.65606L6.84982 1.55062C6.84184 1.5105 6.80284 1.48444 6.76272 1.49242ZM8.79623 14.6657C8.80032 14.7064 8.77064 14.7428 8.72994 14.7468C8.68923 14.7509 8.65292 14.7213 8.64883 14.6806L8.60052 14.1998C8.59643 14.1591 8.62612 14.1228 8.66682 14.1187C8.70752 14.1146 8.74384 14.1443 8.74793 14.185L8.79623 14.6657ZM7.41372 1.39584C7.37301 1.39993 7.34333 1.43625 7.34742 1.47695L7.39573 1.95766C7.39982 1.99836 7.43613 2.02804 7.47683 2.02395C7.51754 2.01986 7.54722 1.98355 7.54313 1.94284L7.49483 1.46214C7.49074 1.42143 7.45442 1.39175 7.41372 1.39584Z",fill:"#DDDDDD"}),a.createElement("path",{d:"M3.14941 12.8505L7.29562 7.28674L7.99989 7.99218L3.14941 12.8505Z",fill:"#DDDDDD"}),a.createElement("path",{d:"M7.28662 7.29574L12.8504 3.14954L7.99204 8.00002L7.28662 7.29574Z",fill:"#EE4444"}),a.createElement("path",{d:"M12.8505 3.14954L8.70427 8.71332L8 8.00789L12.8505 3.14954Z",fill:"#CC0000"}),a.createElement("path",{d:"M3.14941 12.8505L8.7132 8.70427L8.00777 8L3.14941 12.8505Z",fill:"#AAAAAA"}),a.createElement("defs",null,a.createElement("linearGradient",{id:"paint0_linear_466_21186",x1:"0.300303",y1:"0.300951",x2:"0.300303",y2:"15.7084",gradientUnits:"userSpaceOnUse"},a.createElement("stop",{stopColor:"#F8F8F8"}),a.createElement("stop",{offset:"1",stopColor:"#CCCCCC"})),a.createElement("radialGradient",{id:"paint1_radial_466_21186",cx:"0",cy:"0",r:"1",gradientUnits:"userSpaceOnUse",gradientTransform:"translate(8.00216 8.0046) scale(7.06173)"},a.createElement("stop",{stopColor:"#00F0FF"}),a.createElement("stop",{offset:"1",stopColor:"#0070E0"})))),S6=e=>a.createElement("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},a.createElement("path",{d:"M14.9596 5.19849C14.6332 4.41337 13.9721 3.56574 13.453 3.29783C13.8755 4.12612 14.12 4.95699 14.2134 5.57708C14.2134 5.5783 14.2139 5.58133 14.2149 5.58958C13.3657 3.47293 11.9257 2.61943 10.7499 0.761053C10.6905 0.667084 10.631 0.572865 10.573 0.473553C10.5434 0.422834 10.5159 0.371004 10.4903 0.318178C10.4414 0.223861 10.4038 0.124166 10.378 0.0211155C10.3782 0.0162369 10.3765 0.0114673 10.3734 0.00774353C10.3702 0.0040198 10.3658 0.00161108 10.3609 0.000990505C10.3563 -0.000330168 10.3515 -0.000330168 10.3468 0.000990505C10.3458 0.0013655 10.3442 0.00258425 10.3431 0.00302175C10.3414 0.003678 10.3393 0.005178 10.3376 0.00614675C10.3384 0.00502175 10.3402 0.0024905 10.3407 0.00189675C8.45416 1.10677 7.81416 3.15068 7.75535 4.17327C7.00199 4.22506 6.28171 4.50262 5.68841 4.96977C5.62629 4.9173 5.56135 4.86827 5.49388 4.8229C5.3227 4.22402 5.31543 3.59017 5.47282 2.98752C4.70132 3.3388 4.10126 3.89408 3.66501 4.3844H3.66154C3.36382 4.0073 3.38482 2.76337 3.40179 2.50365C3.39822 2.48755 3.17969 2.61708 3.15107 2.63662C2.88835 2.82414 2.64275 3.03454 2.41713 3.26537C2.16039 3.52573 1.92581 3.80705 1.71582 4.1064C1.71582 4.10677 1.7156 4.10721 1.71547 4.10758C1.71547 4.10718 1.71569 4.10677 1.71582 4.1064C1.23289 4.79075 0.890387 5.56404 0.7081 6.38155C0.704506 6.39783 0.701475 6.41471 0.697975 6.43112C0.68385 6.49724 0.632975 6.82799 0.624068 6.89987C0.623381 6.9054 0.623068 6.91071 0.622412 6.91624C0.556638 7.2582 0.515905 7.60451 0.500537 7.9524C0.500537 7.96521 0.499756 7.9779 0.499756 7.99074C0.499881 12.138 3.86238 15.5 8.01001 15.5C11.7245 15.5 14.8088 12.8035 15.4126 9.26152C15.4253 9.1654 15.4355 9.06877 15.4467 8.9718C15.596 7.68399 15.4301 6.3304 14.9596 5.19849ZM6.30351 11.0764C6.33863 11.0932 6.37163 11.1116 6.40769 11.1276C6.40919 11.1287 6.41126 11.1298 6.41279 11.1308C6.37608 11.1132 6.33965 11.0951 6.30351 11.0764ZM14.2155 5.59143L14.2145 5.58415C14.2149 5.5868 14.2153 5.58958 14.2158 5.59224L14.2155 5.59143Z",fill:"url(#paint0_linear_466_21172)"}),a.createElement("path",{d:"M14.9598 5.19851C14.6334 4.41338 13.9723 3.56576 13.4532 3.29785C13.8757 4.12613 14.1202 4.95701 14.2136 5.5771C14.2136 5.57529 14.214 5.5786 14.2148 5.58416C14.2151 5.58682 14.2156 5.5896 14.216 5.59226C14.9246 7.5132 14.5386 9.46657 13.9823 10.6602C13.1217 12.5071 11.0381 14.3999 7.77678 14.3076C4.25319 14.2078 1.149 11.5934 0.569531 8.16904C0.463937 7.62904 0.569531 7.35485 0.622656 6.91641C0.557938 7.25441 0.533281 7.35204 0.500781 7.95257C0.500781 7.96538 0.5 7.97807 0.5 7.99091C0.500063 12.138 3.86256 15.5 8.01019 15.5C11.7247 15.5 14.8089 12.8035 15.4128 9.26154C15.4255 9.16541 15.4357 9.06879 15.4469 8.97182C15.5962 7.68401 15.4303 6.33041 14.9598 5.19851Z",fill:"url(#paint1_radial_466_21172)"}),a.createElement("path",{d:"M14.9598 5.19851C14.6334 4.41338 13.9723 3.56576 13.4532 3.29785C13.8757 4.12613 14.1202 4.95701 14.2136 5.5771C14.2136 5.57529 14.214 5.5786 14.2148 5.58416C14.2151 5.58682 14.2156 5.5896 14.216 5.59226C14.9246 7.5132 14.5386 9.46657 13.9823 10.6602C13.1217 12.5071 11.0381 14.3999 7.77678 14.3076C4.25319 14.2078 1.149 11.5934 0.569531 8.16904C0.463937 7.62904 0.569531 7.35485 0.622656 6.91641C0.557938 7.25441 0.533281 7.35204 0.500781 7.95257C0.500781 7.96538 0.5 7.97807 0.5 7.99091C0.500063 12.138 3.86256 15.5 8.01019 15.5C11.7247 15.5 14.8089 12.8035 15.4128 9.26154C15.4255 9.16541 15.4357 9.06879 15.4469 8.97182C15.5962 7.68401 15.4303 6.33041 14.9598 5.19851Z",fill:"url(#paint2_radial_466_21172)"}),a.createElement("path",{d:"M11.3101 6.08127C11.3265 6.09277 11.3413 6.10421 11.3567 6.11564C11.1683 5.78113 10.9336 5.47487 10.6596 5.20589C8.32502 2.87164 10.0474 0.144581 10.3379 0.00608106C10.3387 0.00495606 10.3405 0.0024248 10.341 0.00183105C8.45443 1.10671 7.81443 3.15061 7.75562 4.17321C7.84312 4.16714 7.93037 4.1598 8.01943 4.1598C9.42727 4.1598 10.6535 4.93386 11.3101 6.08127Z",fill:"url(#paint3_radial_466_21172)"}),a.createElement("path",{d:"M8.02405 6.54735C8.01177 6.73417 7.35173 7.37838 7.12092 7.37838C4.98533 7.37838 4.63867 8.6701 4.63867 8.6701C4.73327 9.75792 5.49058 10.6537 6.40777 11.1277C6.44961 11.1493 6.49195 11.1689 6.53433 11.1882C6.60698 11.2203 6.68054 11.2504 6.75492 11.2784C7.0694 11.3897 7.39881 11.4532 7.73214 11.4668C11.4753 11.6424 12.2005 6.99201 9.49917 5.64157C10.191 5.52126 10.909 5.79948 11.31 6.08117C10.6534 4.93385 9.4272 4.15979 8.01939 4.15979C7.93033 4.15979 7.84311 4.16713 7.75558 4.1732C7.00222 4.22499 6.28194 4.50255 5.68864 4.9697C5.80314 5.06657 5.93239 5.19607 6.2047 5.46432C6.71414 5.96642 8.02127 6.48635 8.02405 6.54735Z",fill:"url(#paint4_radial_466_21172)"}),a.createElement("path",{d:"M8.02405 6.54735C8.01177 6.73417 7.35173 7.37838 7.12092 7.37838C4.98533 7.37838 4.63867 8.6701 4.63867 8.6701C4.73327 9.75792 5.49058 10.6537 6.40777 11.1277C6.44961 11.1493 6.49195 11.1689 6.53433 11.1882C6.60698 11.2203 6.68054 11.2504 6.75492 11.2784C7.0694 11.3897 7.39881 11.4532 7.73214 11.4668C11.4753 11.6424 12.2005 6.99201 9.49917 5.64157C10.191 5.52126 10.909 5.79948 11.31 6.08117C10.6534 4.93385 9.4272 4.15979 8.01939 4.15979C7.93033 4.15979 7.84311 4.16713 7.75558 4.1732C7.00222 4.22499 6.28194 4.50255 5.68864 4.9697C5.80314 5.06657 5.93239 5.19607 6.2047 5.46432C6.71414 5.96642 8.02127 6.48635 8.02405 6.54735Z",fill:"url(#paint5_radial_466_21172)"}),a.createElement("path",{d:"M5.3385 4.71992C5.39081 4.75366 5.4427 4.78804 5.49416 4.82305C5.32298 4.22417 5.31571 3.59032 5.4731 2.98767C4.7016 3.33895 4.10153 3.89423 3.66528 4.38455C3.70138 4.38351 4.79072 4.36392 5.3385 4.71992Z",fill:"url(#paint6_radial_466_21172)"}),a.createElement("path",{d:"M0.569399 8.16902C1.14887 11.5933 4.25305 14.2078 7.77665 14.3076C11.0379 14.3999 13.1216 12.507 13.9821 10.6602C14.5384 9.46646 14.9245 7.51333 14.2159 5.59224L14.2156 5.59142L14.2146 5.58414C14.2138 5.57858 14.2134 5.57527 14.2135 5.57708C14.2135 5.5783 14.214 5.58133 14.215 5.58958C14.4813 7.32899 13.5965 9.01408 12.2134 10.1535L12.2092 10.1632C9.51406 12.3577 6.93502 11.4872 6.41284 11.1309C6.37613 11.1133 6.33967 11.0951 6.30346 11.0765C4.73215 10.3255 4.08302 8.89402 4.22221 7.66633C2.89543 7.66633 2.44302 6.5473 2.44302 6.5473C2.44302 6.5473 3.63424 5.69796 5.20421 6.43664C6.65827 7.1208 8.02384 6.54736 8.02399 6.5473C8.02121 6.4863 6.71409 5.96636 6.20452 5.4643C5.93224 5.19605 5.80296 5.06671 5.68846 4.96967C5.62634 4.91721 5.5614 4.86817 5.49393 4.8228C5.44241 4.78788 5.39052 4.7535 5.33827 4.71967C4.79052 4.36367 3.70115 4.38327 3.66505 4.38421H3.66159C3.36387 4.00711 3.38487 2.76317 3.40184 2.50346C3.39827 2.48736 3.17974 2.61689 3.15112 2.63642C2.8884 2.82395 2.6428 3.03435 2.41718 3.26517C2.16043 3.5256 1.92585 3.80698 1.71587 4.10639C1.71587 4.10677 1.71565 4.10721 1.71552 4.10758C1.71552 4.10717 1.71574 4.10677 1.71587 4.10639C1.23294 4.79075 0.890436 5.56403 0.708149 6.38155C0.704555 6.39783 0.437836 7.56411 0.569399 8.16902Z",fill:"url(#paint7_radial_466_21172)"}),a.createElement("path",{d:"M10.6595 5.2058C10.9335 5.47478 11.1682 5.78104 11.3566 6.11555C11.398 6.14662 11.4366 6.17759 11.4694 6.2078C13.172 7.77655 12.2799 9.9953 12.2134 10.1534C13.5965 9.01405 14.4813 7.32896 14.215 5.58955C13.3657 3.47293 11.9258 2.61943 10.7499 0.761053C10.6905 0.667084 10.631 0.572866 10.573 0.473553C10.5435 0.422834 10.5159 0.371004 10.4903 0.318178C10.4415 0.223861 10.4038 0.124166 10.3781 0.0211155C10.3782 0.0162369 10.3766 0.0114673 10.3734 0.00774353C10.3703 0.0040198 10.3658 0.00161108 10.361 0.000990505C10.3564 -0.000330168 10.3515 -0.000330168 10.3469 0.000990505C10.3458 0.0013655 10.3443 0.00258425 10.3431 0.00302176C10.3415 0.003678 10.3394 0.00517801 10.3376 0.00614676C10.0473 0.144522 8.32493 2.87158 10.6595 5.2058Z",fill:"url(#paint8_radial_466_21172)"}),a.createElement("path",{d:"M11.4694 6.20779C11.4366 6.17757 11.398 6.1466 11.3566 6.11554C11.3413 6.10404 11.3263 6.0926 11.31 6.08117C10.909 5.79948 10.1909 5.52126 9.49912 5.64157C12.2004 6.99201 11.4752 11.6424 7.73209 11.4668C7.39876 11.4532 7.06935 11.3897 6.75487 11.2784C6.6805 11.2504 6.60694 11.2203 6.53428 11.1882C6.4919 11.1689 6.44956 11.1493 6.40771 11.1277C6.40921 11.1287 6.41128 11.1299 6.41281 11.1308C6.935 11.4871 9.51403 12.3576 12.2092 10.1631L12.2133 10.1534C12.2799 9.99542 13.1719 7.77657 11.4694 6.20779Z",fill:"url(#paint9_radial_466_21172)"}),a.createElement("path",{d:"M4.63871 8.67006C4.63871 8.67006 4.98537 7.37834 7.12096 7.37834C7.35183 7.37834 8.01187 6.73412 8.02408 6.54731C8.0363 6.36049 6.65846 7.12081 5.2043 6.43665C3.63433 5.69796 2.44312 6.54731 2.44312 6.54731C2.44312 6.54731 2.89552 7.66634 4.2223 7.66634C4.08315 8.89402 4.73227 10.3257 6.30355 11.0765C6.33868 11.0932 6.37168 11.1116 6.40774 11.1277C5.49062 10.6537 4.7333 9.75787 4.63871 8.67006Z",fill:"url(#paint10_radial_466_21172)"}),a.createElement("path",{d:"M14.9597 5.19849C14.6333 4.41337 13.9722 3.56574 13.4531 3.29783C13.8756 4.12612 14.1201 4.95699 14.2136 5.57708C14.2136 5.5783 14.214 5.58133 14.215 5.58958C13.3658 3.47293 11.9258 2.61943 10.75 0.761053C10.6906 0.667084 10.6311 0.572865 10.5731 0.473553C10.5436 0.422834 10.516 0.371004 10.4904 0.318178C10.4416 0.223861 10.4039 0.124166 10.3781 0.0211155C10.3783 0.0162369 10.3767 0.0114673 10.3735 0.00774353C10.3703 0.0040198 10.3659 0.00161108 10.3611 0.000990505C10.3565 -0.000330168 10.3516 -0.000330168 10.347 0.000990505C10.3459 0.0013655 10.3443 0.00258425 10.3432 0.00302175C10.3416 0.003678 10.3395 0.005178 10.3377 0.00614675C10.3386 0.00502175 10.3403 0.0024905 10.3408 0.00189675C8.45428 1.10677 7.81428 3.15068 7.75547 4.17327C7.84297 4.16721 7.93022 4.15987 8.01928 4.15987C9.42719 4.15987 10.6534 4.93393 11.3099 6.08124C10.9089 5.79955 10.1908 5.52133 9.49906 5.64165C12.2003 6.99208 11.4752 11.6425 7.73203 11.4669C7.3987 11.4533 7.06929 11.3898 6.75481 11.2784C6.68044 11.2505 6.60688 11.2204 6.53422 11.1882C6.49184 11.1689 6.4495 11.1494 6.40766 11.1278C6.40916 11.1288 6.41122 11.13 6.41275 11.1309C6.37605 11.1132 6.33958 11.0951 6.30337 11.0764C6.3385 11.0932 6.3715 11.1116 6.40756 11.1276C5.49038 10.6536 4.73306 9.75786 4.63847 8.67005C4.63847 8.67005 4.98513 7.37833 7.12072 7.37833C7.35159 7.37833 8.01162 6.73412 8.02384 6.5473C8.02106 6.4863 6.71394 5.96637 6.20437 5.4643C5.93209 5.19605 5.80281 5.06671 5.68831 4.96968C5.62619 4.91721 5.56125 4.86818 5.49378 4.8228C5.3226 4.22393 5.31533 3.59008 5.47272 2.98743C4.70122 3.33871 4.10116 3.89399 3.66491 4.3843H3.66144C3.36372 4.00721 3.38472 2.76327 3.40169 2.50355C3.39812 2.48746 3.17959 2.61699 3.15097 2.63652C2.88825 2.82404 2.64265 3.03445 2.41703 3.26527C2.16036 3.52567 1.92585 3.80702 1.71594 4.1064C1.71594 4.10677 1.71572 4.10721 1.71559 4.10758C1.71559 4.10718 1.71581 4.10677 1.71594 4.1064C1.23301 4.79075 0.890506 5.56404 0.708219 6.38155C0.704625 6.39783 0.701594 6.41471 0.698094 6.43112C0.683969 6.49724 0.620406 6.83277 0.611531 6.90474C0.610844 6.91027 0.612187 6.89924 0.611531 6.90474C0.553567 7.25147 0.516583 7.60137 0.500781 7.95255C0.500781 7.96537 0.5 7.97805 0.5 7.9909C0.5 12.138 3.8625 15.5 8.01012 15.5C11.7247 15.5 14.8089 12.8035 15.4127 9.26152C15.4254 9.1654 15.4356 9.06877 15.4468 8.9718C15.5961 7.68399 15.4302 6.3304 14.9597 5.19849ZM14.2147 5.58415C14.2151 5.5868 14.2155 5.58958 14.2159 5.59224L14.2157 5.59143L14.2147 5.58415Z",fill:"url(#paint11_linear_466_21172)"}),a.createElement("defs",null,a.createElement("linearGradient",{id:"paint0_linear_466_21172",x1:"13.5874",y1:"2.40249",x2:"1.52839",y2:"14.0351",gradientUnits:"userSpaceOnUse"},a.createElement("stop",{offset:"0.05",stopColor:"#FFF44F"}),a.createElement("stop",{offset:"0.37",stopColor:"#FF980E"}),a.createElement("stop",{offset:"0.53",stopColor:"#FF3647"}),a.createElement("stop",{offset:"0.7",stopColor:"#E31587"})),a.createElement("radialGradient",{id:"paint1_radial_466_21172",cx:"0",cy:"0",r:"1",gradientUnits:"userSpaceOnUse",gradientTransform:"translate(10.8936 1.72781) scale(15.3601 15.6187)"},a.createElement("stop",{offset:"0.13",stopColor:"#FFBD4F"}),a.createElement("stop",{offset:"0.28",stopColor:"#FF980E"}),a.createElement("stop",{offset:"0.47",stopColor:"#FF3750"}),a.createElement("stop",{offset:"0.78",stopColor:"#EB0878"}),a.createElement("stop",{offset:"0.86",stopColor:"#E50080"})),a.createElement("radialGradient",{id:"paint2_radial_466_21172",cx:"0",cy:"0",r:"1",gradientUnits:"userSpaceOnUse",gradientTransform:"translate(6.43979 8.1787) scale(15.7441 15.6187)"},a.createElement("stop",{offset:"0.3",stopColor:"#960E18"}),a.createElement("stop",{offset:"0.35",stopColor:"#B11927",stopOpacity:"0.74"}),a.createElement("stop",{offset:"0.43",stopColor:"#DB293D",stopOpacity:"0.34"}),a.createElement("stop",{offset:"0.5",stopColor:"#F5334B",stopOpacity:"0.09"}),a.createElement("stop",{offset:"0.53",stopColor:"#FF3750",stopOpacity:"0"})),a.createElement("radialGradient",{id:"paint3_radial_466_21172",cx:"0",cy:"0",r:"1",gradientUnits:"userSpaceOnUse",gradientTransform:"translate(9.48415 -0.731827) scale(5.04157 8.55934)"},a.createElement("stop",{offset:"0.13",stopColor:"#FFF44F"}),a.createElement("stop",{offset:"0.53",stopColor:"#FF980E"})),a.createElement("radialGradient",{id:"paint4_radial_466_21172",cx:"0",cy:"0",r:"1",gradientUnits:"userSpaceOnUse",gradientTransform:"translate(6.15707 12.2109) scale(6.67134 7.31187)"},a.createElement("stop",{offset:"0.35",stopColor:"#3A8EE6"}),a.createElement("stop",{offset:"0.67",stopColor:"#9059FF"}),a.createElement("stop",{offset:"1",stopColor:"#C139E6"})),a.createElement("radialGradient",{id:"paint5_radial_466_21172",cx:"0",cy:"0",r:"1",gradientUnits:"userSpaceOnUse",gradientTransform:"translate(7.29699 6.57271) scale(3.54248 4.314)"},a.createElement("stop",{offset:"0.21",stopColor:"#9059FF",stopOpacity:"0"}),a.createElement("stop",{offset:"0.97",stopColor:"#6E008B",stopOpacity:"0.6"})),a.createElement("radialGradient",{id:"paint6_radial_466_21172",cx:"0",cy:"0",r:"1",gradientUnits:"userSpaceOnUse",gradientTransform:"translate(7.50592 1.1523) scale(5.30374 5.32259)"},a.createElement("stop",{offset:"0.1",stopColor:"#FFE226"}),a.createElement("stop",{offset:"0.79",stopColor:"#FF7139"})),a.createElement("radialGradient",{id:"paint7_radial_466_21172",cx:"0",cy:"0",r:"1",gradientUnits:"userSpaceOnUse",gradientTransform:"translate(12.3495 -2.33951) scale(25.3212 21.2557)"},a.createElement("stop",{offset:"0.11",stopColor:"#FFF44F"}),a.createElement("stop",{offset:"0.46",stopColor:"#FF980E"}),a.createElement("stop",{offset:"0.72",stopColor:"#FF3647"}),a.createElement("stop",{offset:"0.9",stopColor:"#E31587"})),a.createElement("radialGradient",{id:"paint8_radial_466_21172",cx:"0",cy:"0",r:"1",gradientUnits:"userSpaceOnUse",gradientTransform:"translate(2.94576 4.67997) rotate(77.3946) scale(8.03354 34.7519)"},a.createElement("stop",{stopColor:"#FFF44F"}),a.createElement("stop",{offset:"0.3",stopColor:"#FF980E"}),a.createElement("stop",{offset:"0.57",stopColor:"#FF3647"}),a.createElement("stop",{offset:"0.74",stopColor:"#E31587"})),a.createElement("radialGradient",{id:"paint9_radial_466_21172",cx:"0",cy:"0",r:"1",gradientUnits:"userSpaceOnUse",gradientTransform:"translate(7.56027 3.06659) scale(14.5381 14.2827)"},a.createElement("stop",{offset:"0.14",stopColor:"#FFF44F"}),a.createElement("stop",{offset:"0.48",stopColor:"#FF980E"}),a.createElement("stop",{offset:"0.66",stopColor:"#FF3647"}),a.createElement("stop",{offset:"0.9",stopColor:"#E31587"})),a.createElement("radialGradient",{id:"paint10_radial_466_21172",cx:"0",cy:"0",r:"1",gradientUnits:"userSpaceOnUse",gradientTransform:"translate(11.3337 3.90193) scale(17.4743 15.6328)"},a.createElement("stop",{offset:"0.09",stopColor:"#FFF44F"}),a.createElement("stop",{offset:"0.63",stopColor:"#FF980E"})),a.createElement("linearGradient",{id:"paint11_linear_466_21172",x1:"12.5",y1:"2.16999",x2:"2.85701",y2:"12.7061",gradientUnits:"userSpaceOnUse"},a.createElement("stop",{offset:"0.17",stopColor:"#FFF44F",stopOpacity:"0.8"}),a.createElement("stop",{offset:"0.6",stopColor:"#FFF44F",stopOpacity:"0"})))),x6=e=>a.createElement("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},a.createElement("circle",{cx:"8.00009",cy:"7.99997",r:"7.7037",fill:"url(#paint0_linear_466_21186)"}),a.createElement("ellipse",{cx:"8.00094",cy:"8.00094",rx:"7.06173",ry:"7.06173",fill:"url(#paint1_radial_466_21186)"}),a.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.07134 1.36353C8.03043 1.36353 7.99727 1.39669 7.99727 1.4376V2.56469C7.99727 2.6056 8.03043 2.63877 8.07134 2.63877C8.11225 2.63877 8.14542 2.6056 8.14542 2.56469V1.4376C8.14542 1.39669 8.11225 1.36353 8.07134 1.36353ZM8.07134 14.7792C8.11225 14.7792 8.14542 14.746 8.14542 14.7051V13.578C8.14542 13.5371 8.11225 13.5039 8.07134 13.5039C8.03043 13.5039 7.99727 13.5371 7.99727 13.578V14.7051C7.99727 14.746 8.03043 14.7792 8.07134 14.7792ZM8.64883 1.46214C8.65292 1.42143 8.68923 1.39175 8.72994 1.39584C8.77064 1.39993 8.80032 1.43625 8.79623 1.47695L8.74793 1.95766C8.74384 1.99836 8.70752 2.02804 8.66682 2.02395C8.62612 2.01986 8.59643 1.98355 8.60052 1.94284L8.64883 1.46214ZM7.41372 14.7468C7.45442 14.7509 7.49074 14.7213 7.49483 14.6806L7.54313 14.1998C7.54722 14.1591 7.51754 14.1228 7.47683 14.1187C7.43613 14.1146 7.39982 14.1443 7.39573 14.185L7.34742 14.6657C7.34333 14.7064 7.37301 14.7428 7.41372 14.7468ZM14.7051 7.99727C14.746 7.99727 14.7792 8.03043 14.7792 8.07134C14.7792 8.11225 14.746 8.14542 14.7051 8.14542H13.578C13.5371 8.14542 13.5039 8.11225 13.5039 8.07134C13.5039 8.03043 13.5371 7.99727 13.578 7.99727H14.7051ZM1.36353 8.07134C1.36353 8.11225 1.39669 8.14542 1.4376 8.14542H2.56469C2.6056 8.14542 2.63877 8.11225 2.63877 8.07134C2.63877 8.03043 2.6056 7.99727 2.56469 7.99727H1.4376C1.39669 7.99727 1.36353 8.03043 1.36353 8.07134ZM14.6806 8.64883C14.7213 8.65292 14.7509 8.68923 14.7468 8.72994C14.7428 8.77064 14.7064 8.80032 14.6657 8.79623L14.185 8.74793C14.1443 8.74384 14.1146 8.70752 14.1187 8.66682C14.1228 8.62612 14.1591 8.59643 14.1998 8.60052L14.6806 8.64883ZM1.39584 7.41372C1.39175 7.45442 1.42143 7.49074 1.46214 7.49483L1.94284 7.54313C1.98355 7.54722 2.01986 7.51754 2.02395 7.47683C2.02804 7.43613 1.99836 7.39982 1.95766 7.39573L1.47695 7.34742C1.43625 7.34333 1.39993 7.37301 1.39584 7.41372ZM12.7097 3.3282C12.7387 3.29927 12.7856 3.29927 12.8145 3.3282C12.8434 3.35713 12.8434 3.40403 12.8145 3.43296L12.0175 4.22994C11.9886 4.25887 11.9417 4.25887 11.9127 4.22994C11.8838 4.20101 11.8838 4.15411 11.9127 4.12518L12.7097 3.3282ZM3.3282 12.8145C3.35713 12.8434 3.40403 12.8434 3.43296 12.8145L4.22994 12.0175C4.25887 11.9886 4.25887 11.9417 4.22994 11.9127C4.20101 11.8838 4.15411 11.8838 4.12518 11.9127L3.3282 12.7097C3.29927 12.7387 3.29927 12.7856 3.3282 12.8145ZM13.1523 3.80568C13.1839 3.77973 13.2306 3.78433 13.2566 3.81595C13.2825 3.84757 13.2779 3.89425 13.2463 3.9202L12.8729 4.22664C12.8413 4.2526 12.7946 4.248 12.7686 4.21638C12.7427 4.18475 12.7473 4.13808 12.7789 4.11212L13.1523 3.80568ZM2.88614 12.3267C2.91209 12.3584 2.95876 12.363 2.99039 12.337L3.36378 12.0306C3.3954 12.0046 3.4 11.9579 3.37404 11.9263C3.34809 11.8947 3.30142 11.8901 3.26979 11.916L2.8964 12.2225C2.86478 12.2484 2.86018 12.2951 2.88614 12.3267ZM12.8145 12.7097C12.8434 12.7387 12.8434 12.7856 12.8145 12.8145C12.7856 12.8434 12.7387 12.8434 12.7097 12.8145L11.9127 12.0175C11.8838 11.9886 11.8838 11.9417 11.9127 11.9127C11.9417 11.8838 11.9886 11.8838 12.0175 11.9127L12.8145 12.7097ZM3.3282 3.3282C3.29927 3.35713 3.29927 3.40403 3.3282 3.43296L4.12518 4.22994C4.15411 4.25887 4.20101 4.25887 4.22994 4.22994C4.25887 4.20101 4.25887 4.15411 4.22994 4.12518L3.43296 3.3282C3.40403 3.29927 3.35713 3.29927 3.3282 3.3282ZM12.337 13.1523C12.363 13.1839 12.3584 13.2306 12.3267 13.2566C12.2951 13.2825 12.2484 13.2779 12.2225 13.2463L11.916 12.8729C11.8901 12.8413 11.8947 12.7946 11.9263 12.7686C11.9579 12.7427 12.0046 12.7473 12.0306 12.7789L12.337 13.1523ZM3.81595 2.88614C3.78433 2.91209 3.77973 2.95876 3.80568 2.99039L4.11212 3.36378C4.13808 3.3954 4.18475 3.4 4.21638 3.37404C4.248 3.34809 4.2526 3.30142 4.22664 3.26979L3.9202 2.8964C3.89425 2.86478 3.84757 2.86018 3.81595 2.88614ZM10.5415 1.91422C10.5572 1.87643 10.6005 1.85848 10.6383 1.87413C10.6761 1.88979 10.6941 1.93312 10.6784 1.97092L10.2471 3.01221C10.2314 3.05 10.1881 3.06795 10.1503 3.05229C10.1125 3.03664 10.0946 2.99331 10.1102 2.95551L10.5415 1.91422ZM5.50437 14.2686C5.54216 14.2842 5.58549 14.2663 5.60115 14.2285L6.03247 13.1872C6.04813 13.1494 6.03018 13.1061 5.99238 13.0904C5.95459 13.0747 5.91126 13.0927 5.8956 13.1305L5.46428 14.1718C5.44862 14.2096 5.46657 14.2529 5.50437 14.2686ZM11.1332 2.18598C11.1524 2.1499 11.1973 2.13628 11.2334 2.15557C11.2695 2.17486 11.2831 2.21974 11.2638 2.25582L11.0361 2.68183C11.0168 2.7179 10.9719 2.73152 10.9358 2.71223C10.8998 2.69295 10.8861 2.64806 10.9054 2.61199L11.1332 2.18598ZM4.90931 13.9871C4.94539 14.0064 4.99027 13.9928 5.00955 13.9567L5.23726 13.5307C5.25654 13.4946 5.24293 13.4497 5.20685 13.4305C5.17077 13.4112 5.12589 13.4248 5.1066 13.4609L4.8789 13.8869C4.85961 13.923 4.87323 13.9678 4.90931 13.9871ZM14.2285 10.5415C14.2663 10.5572 14.2842 10.6005 14.2686 10.6383C14.2529 10.6761 14.2096 10.6941 14.1718 10.6784L13.1305 10.2471C13.0927 10.2314 13.0747 10.1881 13.0904 10.1503C13.1061 10.1125 13.1494 10.0946 13.1872 10.1102L14.2285 10.5415ZM1.87412 5.50437C1.85846 5.54216 1.87641 5.58549 1.91421 5.60115L2.95551 6.03247C2.99331 6.04813 3.03664 6.03018 3.05229 5.99238C3.06795 5.95459 3.05 5.91126 3.0122 5.8956L1.9709 5.46428C1.9331 5.44862 1.88977 5.46657 1.87412 5.50437ZM13.9567 11.1332C13.9928 11.1524 14.0064 11.1973 13.9871 11.2334C13.9678 11.2695 13.923 11.2831 13.8869 11.2638L13.4609 11.0361C13.4248 11.0168 13.4112 10.9719 13.4305 10.9358C13.4497 10.8998 13.4946 10.8861 13.5307 10.9054L13.9567 11.1332ZM2.15557 4.90929C2.13628 4.94537 2.1499 4.99025 2.18598 5.00954L2.61199 5.23726C2.64806 5.25654 2.69295 5.24293 2.71223 5.20685C2.73152 5.17077 2.7179 5.12589 2.68183 5.1066L2.25582 4.87888C2.21974 4.8596 2.17486 4.87321 2.15557 4.90929ZM14.1718 5.46428C14.2096 5.44862 14.2529 5.46657 14.2686 5.50437C14.2842 5.54216 14.2663 5.58549 14.2285 5.60115L13.1872 6.03247C13.1494 6.04813 13.1061 6.03018 13.0904 5.99238C13.0747 5.95459 13.0927 5.91126 13.1305 5.8956L14.1718 5.46428ZM1.87413 10.6383C1.88979 10.6761 1.93312 10.6941 1.97092 10.6784L3.01221 10.2471C3.05 10.2314 3.06795 10.1881 3.05229 10.1503C3.03664 10.1125 2.99331 10.0946 2.95551 10.1102L1.91422 10.5415C1.87643 10.5572 1.85848 10.6005 1.87413 10.6383ZM14.3979 6.07477C14.4371 6.0629 14.4785 6.08501 14.4903 6.12416C14.5022 6.1633 14.4801 6.20467 14.441 6.21654L13.9787 6.35677C13.9396 6.36864 13.8982 6.34654 13.8863 6.30739C13.8744 6.26824 13.8965 6.22688 13.9357 6.215L14.3979 6.07477ZM1.65237 10.0185C1.66425 10.0577 1.70561 10.0798 1.74476 10.0679L2.20699 9.92769C2.24614 9.91581 2.26825 9.87445 2.25637 9.8353C2.2445 9.79615 2.20313 9.77404 2.16399 9.78592L1.70175 9.92615C1.6626 9.93802 1.64049 9.97939 1.65237 10.0185ZM10.6383 14.2686C10.6005 14.2842 10.5572 14.2663 10.5415 14.2285L10.1102 13.1872C10.0946 13.1494 10.1125 13.1061 10.1503 13.0904C10.1881 13.0747 10.2314 13.0927 10.2471 13.1305L10.6784 14.1718C10.6941 14.2096 10.6761 14.2529 10.6383 14.2686ZM5.50437 1.87413C5.46657 1.88979 5.44862 1.93312 5.46428 1.97092L5.8956 3.01221C5.91126 3.05 5.95459 3.06795 5.99238 3.05229C6.03018 3.03664 6.04813 2.99331 6.03247 2.95551L5.60115 1.91422C5.58549 1.87643 5.54216 1.85848 5.50437 1.87413ZM10.0679 14.3979C10.0798 14.4371 10.0577 14.4785 10.0185 14.4903C9.97939 14.5022 9.93802 14.4801 9.92615 14.441L9.78592 13.9787C9.77404 13.9396 9.79615 13.8982 9.8353 13.8863C9.87445 13.8744 9.91581 13.8965 9.92769 13.9357L10.0679 14.3979ZM6.12417 1.65237C6.08502 1.66424 6.06291 1.70561 6.07479 1.74475L6.215 2.20699C6.22688 2.24614 6.26824 2.26825 6.30739 2.25637C6.34654 2.2445 6.36864 2.20314 6.35677 2.16399L6.21656 1.70175C6.20468 1.6626 6.16332 1.64049 6.12417 1.65237ZM9.29287 1.55062C9.30085 1.5105 9.33985 1.48444 9.37997 1.49242C9.4201 1.5004 9.44615 1.5394 9.43817 1.57952L9.21829 2.68496C9.21031 2.72508 9.17131 2.75114 9.13119 2.74316C9.09107 2.73518 9.06501 2.69618 9.07299 2.65606L9.29287 1.55062ZM6.76272 14.6503C6.80284 14.6583 6.84184 14.6322 6.84982 14.5921L7.0697 13.4866C7.07768 13.4465 7.05162 13.4075 7.0115 13.3995C6.97137 13.3916 6.93238 13.4176 6.9244 13.4577L6.70452 14.5632C6.69654 14.6033 6.72259 14.6423 6.76272 14.6503ZM9.92615 1.70175C9.93802 1.6626 9.97939 1.64049 10.0185 1.65237C10.0577 1.66425 10.0798 1.70561 10.0679 1.74476L9.92769 2.20699C9.91581 2.24614 9.87445 2.26825 9.8353 2.25637C9.79615 2.2445 9.77404 2.20313 9.78592 2.16399L9.92615 1.70175ZM6.12417 14.4903C6.16332 14.5022 6.20469 14.4801 6.21656 14.441L6.35677 13.9787C6.36864 13.9396 6.34653 13.8982 6.30739 13.8863C6.26824 13.8744 6.22687 13.8965 6.215 13.9357L6.07479 14.398C6.06291 14.4371 6.08502 14.4785 6.12417 14.4903ZM14.5921 9.29287C14.6322 9.30085 14.6583 9.33985 14.6503 9.37997C14.6423 9.4201 14.6033 9.44615 14.5632 9.43817L13.4577 9.21829C13.4176 9.21031 13.3916 9.17131 13.3995 9.13119C13.4075 9.09107 13.4465 9.06501 13.4866 9.07299L14.5921 9.29287ZM1.49242 6.76272C1.48444 6.80284 1.5105 6.84184 1.55062 6.84982L2.65606 7.0697C2.69618 7.07768 2.73518 7.05162 2.74316 7.0115C2.75114 6.97137 2.72508 6.93238 2.68496 6.9244L1.57952 6.70452C1.5394 6.69654 1.5004 6.72259 1.49242 6.76272ZM14.441 9.92615C14.4801 9.93802 14.5022 9.97939 14.4903 10.0185C14.4785 10.0577 14.4371 10.0798 14.3979 10.0679L13.9357 9.92769C13.8965 9.91581 13.8744 9.87445 13.8863 9.8353C13.8982 9.79615 13.9396 9.77404 13.9787 9.78592L14.441 9.92615ZM1.65237 6.12415C1.64049 6.1633 1.6626 6.20467 1.70175 6.21654L2.16399 6.35677C2.20313 6.36864 2.2445 6.34654 2.25637 6.30739C2.26825 6.26824 2.24614 6.22688 2.20699 6.215L1.74476 6.07477C1.70561 6.0629 1.66425 6.08501 1.65237 6.12415ZM13.5459 4.32424C13.58 4.30151 13.626 4.31066 13.6487 4.34468C13.6714 4.37869 13.6623 4.42469 13.6282 4.44742L12.6911 5.0736C12.6571 5.09633 12.6111 5.08718 12.5884 5.05317C12.5656 5.01915 12.5748 4.97315 12.6088 4.95042L13.5459 4.32424ZM2.494 11.798C2.51673 11.832 2.56273 11.8412 2.59675 11.8184L3.53389 11.1923C3.56791 11.1695 3.57706 11.1235 3.55433 11.0895C3.5316 11.0555 3.4856 11.0464 3.45159 11.0691L2.51444 11.6953C2.48043 11.718 2.47128 11.764 2.494 11.798ZM13.8869 4.87888C13.923 4.8596 13.9678 4.87321 13.9871 4.90929C14.0064 4.94537 13.9928 4.99025 13.9567 5.00954L13.5307 5.23726C13.4946 5.25654 13.4497 5.24293 13.4305 5.20685C13.4112 5.17077 13.4248 5.12589 13.4609 5.1066L13.8869 4.87888ZM2.15557 11.2334C2.17486 11.2695 2.21974 11.2831 2.25582 11.2638L2.68183 11.0361C2.7179 11.0168 2.73152 10.9719 2.71223 10.9358C2.69295 10.8998 2.64806 10.8861 2.61199 10.9054L2.18598 11.1332C2.1499 11.1524 2.13628 11.1973 2.15557 11.2334ZM11.8184 13.5459C11.8412 13.58 11.832 13.626 11.798 13.6487C11.764 13.6714 11.718 13.6623 11.6953 13.6282L11.0691 12.6911C11.0464 12.6571 11.0555 12.6111 11.0895 12.5884C11.1235 12.5656 11.1695 12.5748 11.1923 12.6088L11.8184 13.5459ZM4.34468 2.494C4.31066 2.51673 4.30151 2.56273 4.32424 2.59675L4.95042 3.53389C4.97315 3.56791 5.01915 3.57706 5.05317 3.55433C5.08718 3.5316 5.09633 3.4856 5.0736 3.45159L4.44742 2.51444C4.42469 2.48043 4.37869 2.47128 4.34468 2.494ZM11.2638 13.8869C11.2831 13.923 11.2695 13.9678 11.2334 13.9871C11.1973 14.0064 11.1524 13.9928 11.1331 13.9567L10.9054 13.5307C10.8861 13.4946 10.8998 13.4497 10.9358 13.4305C10.9719 13.4112 11.0168 13.4248 11.0361 13.4609L11.2638 13.8869ZM4.90931 2.15557C4.87323 2.17485 4.85961 2.21974 4.8789 2.25581L5.1066 2.68182C5.12589 2.7179 5.17077 2.73152 5.20685 2.71223C5.24293 2.69295 5.25654 2.64807 5.23726 2.61199L5.00955 2.18598C4.99027 2.1499 4.94539 2.13628 4.90931 2.15557ZM11.6953 2.51444C11.718 2.48043 11.764 2.47128 11.798 2.494C11.832 2.51673 11.8412 2.56273 11.8184 2.59675L11.1923 3.53389C11.1695 3.56791 11.1235 3.57706 11.0895 3.55433C11.0555 3.5316 11.0464 3.4856 11.0691 3.45159L11.6953 2.51444ZM4.34468 13.6487C4.37869 13.6714 4.42469 13.6623 4.44742 13.6282L5.0736 12.6911C5.09633 12.6571 5.08718 12.6111 5.05317 12.5884C5.01915 12.5656 4.97315 12.5748 4.95042 12.6088L4.32424 13.5459C4.30151 13.58 4.31066 13.626 4.34468 13.6487ZM12.2225 2.8964C12.2484 2.86478 12.2951 2.86018 12.3267 2.88614C12.3584 2.91209 12.363 2.95876 12.337 2.99039L12.0306 3.36378C12.0046 3.3954 11.9579 3.4 11.9263 3.37404C11.8947 3.34809 11.8901 3.30142 11.916 3.26979L12.2225 2.8964ZM3.81595 13.2566C3.84757 13.2825 3.89425 13.2779 3.9202 13.2463L4.22664 12.8729C4.2526 12.8413 4.248 12.7946 4.21638 12.7686C4.18475 12.7427 4.13808 12.7473 4.11212 12.7789L3.80568 13.1523C3.77973 13.1839 3.78433 13.2306 3.81595 13.2566ZM13.6282 11.6953C13.6623 11.718 13.6714 11.764 13.6487 11.798C13.626 11.832 13.58 11.8412 13.5459 11.8184L12.6088 11.1923C12.5748 11.1695 12.5656 11.1235 12.5884 11.0895C12.6111 11.0555 12.6571 11.0464 12.6911 11.0691L13.6282 11.6953ZM2.494 4.34468C2.47128 4.37869 2.48043 4.42469 2.51444 4.44742L3.45159 5.0736C3.4856 5.09633 3.5316 5.08718 3.55433 5.05317C3.57706 5.01915 3.56791 4.97315 3.53389 4.95042L2.59675 4.32424C2.56273 4.30151 2.51673 4.31066 2.494 4.34468ZM13.2463 12.2225C13.2779 12.2484 13.2825 12.2951 13.2566 12.3267C13.2306 12.3584 13.1839 12.363 13.1523 12.337L12.7789 12.0306C12.7473 12.0046 12.7427 11.9579 12.7686 11.9263C12.7946 11.8947 12.8413 11.8901 12.8729 11.916L13.2463 12.2225ZM2.88614 3.81595C2.86018 3.84757 2.86478 3.89425 2.8964 3.9202L3.26979 4.22664C3.30142 4.2526 3.34809 4.248 3.37404 4.21638C3.4 4.18475 3.3954 4.13808 3.36378 4.11212L2.99039 3.80568C2.95876 3.77973 2.91209 3.78433 2.88614 3.81595ZM14.5632 6.70452C14.6033 6.69654 14.6423 6.72259 14.6503 6.76272C14.6583 6.80284 14.6322 6.84184 14.5921 6.84982L13.4866 7.0697C13.4465 7.07768 13.4075 7.05162 13.3995 7.0115C13.3916 6.97137 13.4176 6.93238 13.4577 6.9244L14.5632 6.70452ZM1.49242 9.37997C1.5004 9.4201 1.5394 9.44615 1.57952 9.43817L2.68496 9.21829C2.72508 9.21031 2.75114 9.17131 2.74316 9.13119C2.73518 9.09107 2.69618 9.06501 2.65606 9.07299L1.55062 9.29287C1.5105 9.30085 1.48444 9.33985 1.49242 9.37997ZM14.6657 7.34742C14.7064 7.34333 14.7428 7.37301 14.7468 7.41372C14.7509 7.45442 14.7213 7.49074 14.6806 7.49483L14.1998 7.54313C14.1591 7.54722 14.1228 7.51754 14.1187 7.47683C14.1146 7.43613 14.1443 7.39982 14.185 7.39573L14.6657 7.34742ZM1.39584 8.72994C1.39993 8.77064 1.43625 8.80032 1.47695 8.79623L1.95766 8.74793C1.99836 8.74384 2.02804 8.70752 2.02395 8.66682C2.01986 8.62612 1.98355 8.59643 1.94284 8.60052L1.46214 8.64883C1.42143 8.65292 1.39175 8.68923 1.39584 8.72994ZM9.43817 14.5632C9.44615 14.6033 9.4201 14.6423 9.37997 14.6503C9.33985 14.6583 9.30085 14.6322 9.29287 14.5921L9.07299 13.4866C9.06501 13.4465 9.09107 13.4075 9.13119 13.3995C9.17131 13.3916 9.21031 13.4176 9.21829 13.4577L9.43817 14.5632ZM6.76272 1.49242C6.72259 1.5004 6.69654 1.5394 6.70452 1.57952L6.9244 2.68496C6.93238 2.72508 6.97137 2.75114 7.0115 2.74316C7.05162 2.73518 7.07768 2.69618 7.0697 2.65606L6.84982 1.55062C6.84184 1.5105 6.80284 1.48444 6.76272 1.49242ZM8.79623 14.6657C8.80032 14.7064 8.77064 14.7428 8.72994 14.7468C8.68923 14.7509 8.65292 14.7213 8.64883 14.6806L8.60052 14.1998C8.59643 14.1591 8.62612 14.1228 8.66682 14.1187C8.70752 14.1146 8.74384 14.1443 8.74793 14.185L8.79623 14.6657ZM7.41372 1.39584C7.37301 1.39993 7.34333 1.43625 7.34742 1.47695L7.39573 1.95766C7.39982 1.99836 7.43613 2.02804 7.47683 2.02395C7.51754 2.01986 7.54722 1.98355 7.54313 1.94284L7.49483 1.46214C7.49074 1.42143 7.45442 1.39175 7.41372 1.39584Z",fill:"#DDDDDD"}),a.createElement("path",{d:"M3.14941 12.8505L7.29562 7.28674L7.99989 7.99218L3.14941 12.8505Z",fill:"#DDDDDD"}),a.createElement("path",{d:"M7.28662 7.29574L12.8504 3.14954L7.99204 8.00002L7.28662 7.29574Z",fill:"#EE4444"}),a.createElement("path",{d:"M12.8505 3.14954L8.70427 8.71332L8 8.00789L12.8505 3.14954Z",fill:"#CC0000"}),a.createElement("path",{d:"M3.14941 12.8505L8.7132 8.70427L8.00777 8L3.14941 12.8505Z",fill:"#AAAAAA"}),a.createElement("defs",null,a.createElement("linearGradient",{id:"paint0_linear_466_21186",x1:"0.300303",y1:"0.300951",x2:"0.300303",y2:"15.7084",gradientUnits:"userSpaceOnUse"},a.createElement("stop",{stopColor:"#F8F8F8"}),a.createElement("stop",{offset:"1",stopColor:"#CCCCCC"})),a.createElement("radialGradient",{id:"paint1_radial_466_21186",cx:"0",cy:"0",r:"1",gradientUnits:"userSpaceOnUse",gradientTransform:"translate(8.00216 8.0046) scale(7.06173)"},a.createElement("stop",{stopColor:"#00F0FF"}),a.createElement("stop",{offset:"1",stopColor:"#0070E0"})))),H1={CHROME:a.createElement(w6,{alt:"Chrome"}),FIREFOX:a.createElement(S6,{alt:"Firefox"}),SAFARI:a.createElement(x6,{alt:"Safari"}),EDGE:a.createElement(C6,{alt:"Edge"})},N6=w.div(({theme:e})=>({alignItems:"center",color:e.base==="light"?e.color.dark:e.color.light,display:"inline-flex",gap:6,height:16,margin:"6px 7px",svg:{verticalAlign:"top"}})),j1=w.span(({theme:e})=>({color:e.base==="light"?e.color.dark:e.color.light,display:"none",fontSize:e.typography.size.s1,fontWeight:e.typography.weight.bold,"@container (min-width: 300px)":{display:"inline-block"},"+ svg":{color:e.base==="light"?e.color.dark:e.color.light},"button:hover > &, button:hover > & + svg":{color:e.color.secondary}})),M6=({isAccepted:e,selectedBrowser:t,browserResults:n,onSelectBrowser:r})=>{Ut();let i=Sr(n.map(({result:s})=>s));if(!i)return null;let l=H1[t.key];!e&&i!=="EQUAL"&&n.length>=2&&(l=a.createElement(sr,{status:i},l));let o=n.length>1&&n.map(({browser:s,result:c})=>({active:t===s,id:s.id,onClick:()=>r(s),right:!e&&c!=="EQUAL"&&a.createElement(Ps,{status:c}),icon:H1[s.key],title:s.name}));return a.createElement(we,{key:t.key,hasChrome:!1,placement:"top",trigger:"hover",tooltip:a.createElement(_e,{note:o?"Switch browser":`Tested in ${n[0].browser.name}`})},o?a.createElement(ia,{placement:"bottom",links:o},l,a.createElement(j1,null,t.name),a.createElement(ds,{size:10})):a.createElement(N6,null,l,a.createElement(j1,null,t.name)))},A6=w.div(({theme:e})=>({alignItems:"center",color:e.base==="light"?e.color.darkest:e.color.light,display:"inline-flex",gap:6,height:14,margin:"7px 7px",svg:{verticalAlign:"top",path:{fill:e.base==="light"?e.color.dark:e.color.light}}})),_6=w(ia)(({theme:e})=>({button:{svg:{verticalAlign:"top",path:{fill:e.base==="light"?e.color.dark:e.color.light}},"&:hover":{svg:{path:{fill:e.color.secondary}}}}})),z1=w.span(({theme:e})=>({color:e.base==="light"?e.color.dark:e.color.light,display:"none",fontSize:e.typography.size.s1,fontWeight:e.typography.weight.bold,"@container (min-width: 300px)":{display:"inline-block"},"button:hover > &":{color:e.color.secondary}})),T6=({isAccepted:e,modeOrder:t,modeResults:n,onSelectMode:r,selectedMode:i})=>{Ut();let l=Sr(n.map(({result:c})=>c));if(!l)return null;let o=a.createElement(Q5,null);!e&&l!=="EQUAL"&&n.length>=2&&(o=a.createElement(sr,{status:l},o));let s=n.length>1&&n.map(({mode:c,result:d})=>({id:c.name,title:c.name,right:!e&&d!=="EQUAL"&&a.createElement(Ps,{status:d}),onClick:()=>r(c),active:i.name===c.name})).sort((c,d)=>{if(!t)return 0;let m=t.indexOf(c.title),u=t.indexOf(d.title);return m!==-1&&u!==-1?m-u:0});return a.createElement(we,{key:i.name,hasChrome:!1,placement:"top",trigger:"hover",tooltip:a.createElement(_e,{note:s?"Switch mode":`View mode: ${n[0].mode.name}`})},s?a.createElement(_6,{placement:"bottom",links:s},o,a.createElement(z1,null,i.name),a.createElement(ds,{size:10})):a.createElement(A6,null,o,a.createElement(z1,null,i.name)))},U1=()=>{let e=on(),{browserResults:t,modeResults:n}=e.summary;return a.createElement(Ir,null,n.length>0&&e.selectedTest&&a.createElement(T6,{isAccepted:e.summary.status==="ACCEPTED",modeOrder:e.modeOrder,selectedMode:e.selectedTest.mode,modeResults:n,onSelectMode:e.onSelectMode}),t.length>0&&e.selectedComparison&&a.createElement(M6,{isAccepted:e.summary.status==="ACCEPTED",selectedBrowser:e.selectedComparison.browser,browserResults:t,onSelectBrowser:e.onSelectBrowser}),a.createElement(Xe,{push:!0},a.createElement(Rr,null)))},F6=({theme:e,status:t,variant:n})=>n==="outline"?{color:e.base==="light"?e.color.dark:e.color.medium,backgroundColor:e.background.app,borderColor:e.base==="light"?e.color.medium:e.color.darker,"&:hover":{color:e.base==="light"?e.color.darkest:e.color.lighter,backgroundColor:Gt(.03,e.background.app)}}:t==="positive"?{color:e.color.positiveText,backgroundColor:e.background.positive,borderColor:qa(.5,e.color.positiveText),"&:hover":{color:e.color.positiveText,backgroundColor:Gt(.05,e.background.positive)}}:t==="warning"?{color:e.color.warningText,backgroundColor:e.background.warning,borderColor:qa(.5,e.color.warningText),"&:hover":{color:e.color.warningText,backgroundColor:Gt(.05,e.background.warning)}}:{color:e.color.lightest,backgroundColor:e.color.secondary,borderWidth:0,borderColor:e.base==="light"?qa(.2,e.color.secondary):Gt(.1,e.color.secondary),"&:hover":{color:e.color.lightest,backgroundColor:Gt(.05,e.color.secondary)}},fn=w(Je)(({square:e})=>({border:"1px solid transparent",boxShadow:"none",fontSize:12,fontWeight:700,height:28,padding:e?"8px 6px":8,transition:"background-color 150ms ease-out","@container (min-width: 300px)":{height:32,width:e?32:"auto",padding:e?"9px 8px":9},"@container (min-width: 800px)":{height:28,fontSize:12,width:e?28:"auto",padding:e?"8px 6px":8}}),F6,({side:e})=>({...e==="left"&&{borderRightWidth:1,borderTopRightRadius:0,borderBottomRightRadius:0},...e==="right"&&{borderLeftWidth:0,borderTopLeftRadius:0,borderBottomLeftRadius:0}})),$1=w.div({display:"flex",flexDirection:"row"}),xr=w.div(({theme:e})=>({width:12,height:12,margin:"3px 6px",verticalAlign:"top",display:"inline-block",animation:`${Rs} 0.7s linear infinite`,border:"2px solid transparent",borderLeftColor:e.base==="light"?"#00aaff":"#58faf9",borderBottomColor:"#25ccfd",borderRightColor:e.base==="light"?"#58faf9":"#00aaff",borderRadius:"100%",transform:"translate3d(0, 0, 0)"}),({parentComponent:e})=>e&&ue({margin:e==="IconButton"?1:0,borderWidth:1,borderLeftColor:"currentcolor",borderBottomColor:"currentcolor",borderRightColor:"currentcolor"})),xi=w.div(({theme:e,width:t=14,height:n=14,marginLeft:r=7,marginRight:i=8})=>({display:"inline-block",backgroundColor:e.appBorderColor,borderRadius:3,animation:`${e.animation.glow} 1.5s ease-in-out infinite`,height:n,width:t,margin:7,marginLeft:r,marginRight:i})),O6=w.div(({theme:e})=>({gridArea:"label",margin:"8px 15px",display:"flex",alignItems:"center",justifyContent:"flex-start",gap:6,span:{display:"none","@container (min-width: 300px)":{display:"initial"}},"@container (min-width: 800px)":{borderLeft:`1px solid ${e.appBorderColor}`,paddingLeft:10,marginLeft:0}})),W1=w.div({gridArea:"controls",margin:"6px 15px",display:"flex",alignItems:"center",justifyContent:"flex-end",gap:6,"@container (min-width: 800px)":{margin:8}}),L6=w.div(({theme:e})=>({padding:9,"> svg":{display:"block"},path:{fill:e.color.mediumdark}})),R6=w.div(({theme:e,showDivider:t})=>({gridArea:"actions",display:"flex",alignItems:"center",justifyContent:"flex-end",margin:"0px 15px",gap:6,"@container (min-width: 300px)":{alignItems:"flex-start",margin:"15px 15px 15px 0px"},"@container (min-width: 800px)":{alignItems:"center",borderLeft:t?`1px solid ${e.appBorderColor}`:"none",margin:"8px 15px 8px 0px",paddingLeft:8}})),I6=({isOutdated:e})=>{let{baselineImageVisible:t,diffVisible:n,focusVisible:r}=Lr(),{toggleBaselineImage:i,toggleDiff:l,toggleFocus:o}=_n(),{isRunning:s,startBuild:c}=ka(),{selectedTest:d,selectedComparison:m,summary:u}=on(),{changeCount:p,isInProgress:f}=u,{isReviewing:g,buildIsReviewable:y,userCanReview:k,acceptTest:E,unacceptTest:h}=X0();if(f)return a.createElement(W1,null,a.createElement(xi,null),a.createElement(xi,null),a.createElement(xi,null));let v=p>0&&d?.status!=="ACCEPTED",b=p>0&&d?.status==="ACCEPTED",C=m?.result==="CHANGED";return a.createElement(a.Fragment,null,C&&a.createElement(O6,null,a.createElement(j,null,a.createElement("b",null,t?"Baseline":"Latest",a.createElement("span",null," snapshot")))),C&&a.createElement(W1,null,a.createElement(we,{tooltip:a.createElement(_e,{note:t?"Show latest snapshot":"Show baseline snapshot"}),trigger:"hover",hasChrome:!1},a.createElement(Je,{id:"button-toggle-snapshot","aria-label":t?"Show latest snapshot":"Show baseline snapshot",onClick:()=>i()},a.createElement(tu,null))),a.createElement(we,{tooltip:a.createElement(_e,{note:r?"Hide spotlight":"Show spotlight"}),trigger:"hover",hasChrome:!1},a.createElement(Je,{id:"button-toggle-spotlight",active:r,"aria-label":r?"Hide spotlight":"Show spotlight",onClick:()=>o(!r)},a.createElement(au,null))),a.createElement(we,{tooltip:a.createElement(_e,{note:n?"Hide diff":"Show diff"}),trigger:"hover",hasChrome:!1},a.createElement(Je,{id:"button-diff-visible",active:n,"aria-label":n?"Hide diff":"Show diff",onClick:()=>l(!n)},a.createElement(is,null)))),(v||b)&&a.createElement(R6,{showDivider:C},k&&y&&v&&d&&a.createElement($1,null,a.createElement(we,{tooltip:a.createElement(_e,{note:"Accept this story"}),trigger:"hover",hasChrome:!1},a.createElement(fn,{id:"button-toggle-accept-story",disabled:g,"aria-label":"Accept this story",onClick:()=>E(d.id,"SPEC"),side:"left"},"Accept")),a.createElement(we,{tooltip:a.createElement(_e,{note:"Batch accept options"}),trigger:"hover",hasChrome:!1},a.createElement(ia,{placement:"bottom",links:[{id:"acceptComponent",title:"Accept component",center:"Accept all unreviewed changes for this component",onClick:()=>E(d.id,"COMPONENT"),disabled:g,loading:g},{id:"acceptBuild",title:"Accept entire build",center:"Accept all unreviewed changes for every story in the Storybook",onClick:()=>E(d.id,"BUILD"),disabled:g,loading:g}]},O=>a.createElement(fn,{square:!0,active:O,disabled:g,"aria-label":"Batch accept options",side:"right"},g?a.createElement(xr,{parentComponent:"IconButton"}):a.createElement(wo,null))))),k&&y&&b&&a.createElement($1,null,a.createElement(we,{tooltip:a.createElement(_e,{note:"Unaccept this story"}),trigger:"hover",hasChrome:!1},a.createElement(fn,{id:"button-toggle-accept-story",disabled:g,"aria-label":"Unaccept this story",onClick:()=>h(d.id,"SPEC"),side:"left",status:"positive"},a.createElement(nu,null),"Unaccept")),a.createElement(we,{tooltip:a.createElement(_e,{note:"Batch unaccept options"}),trigger:"hover",hasChrome:!1},a.createElement(ia,{placement:"bottom",links:[{id:"unacceptComponent",title:"Unaccept component",center:"Unaccept all unreviewed changes for this component",onClick:()=>h(d.id,"COMPONENT"),disabled:g,loading:g},{id:"unacceptBuild",title:"Unaccept entire build",center:"Unaccept all unreviewed changes for every story in the Storybook",onClick:()=>h(d.id,"BUILD"),disabled:g,loading:g}]},O=>a.createElement(fn,{square:!0,active:O,disabled:g,"aria-label":"Batch unaccept options",side:"right",status:"positive"},g?a.createElement(xr,{parentComponent:"IconButton"}):a.createElement(wo,null))))),!(k&&y)&&a.createElement(we,{tooltip:a.createElement(_e,{note:"Reviewing disabled"}),trigger:"hover",hasChrome:!1},a.createElement(L6,null,a.createElement(os,null))),a.createElement(we,{tooltip:a.createElement(_e,{note:e?"Run new tests":"Rerun tests"}),trigger:"hover",hasChrome:!1},a.createElement(fn,{square:!0,"aria-label":e?"Run new tests":"Rerun tests",onClick:c,disabled:s,variant:"outline"},e?a.createElement(Zt,null):a.createElement(us,null)))))},$a=et(ya()),Z6=e=>a.createElement("svg",{width:"12",height:"12",viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg",style:{margin:"3px 6px",verticalAlign:"top"},...e},a.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12 6C12 9.31371 9.31371 12 6 12C2.68629 12 0 9.31371 0 6C0 2.68629 2.68629 0 6 0C9.31371 0 12 2.68629 12 6ZM5.57143 6.85714C5.57143 7.09384 5.76331 7.28571 6 7.28571C6.23669 7.28571 6.42857 7.09384 6.42857 6.85714L6.42857 3.42857C6.42857 3.19188 6.23669 3 6 3C5.76331 3 5.57143 3.19188 5.57143 3.42857V6.85714ZM5.35714 8.78572C5.35714 8.43067 5.64496 8.14286 6 8.14286C6.35504 8.14286 6.64286 8.43067 6.64286 8.78571C6.64286 9.14075 6.35504 9.42857 6 9.42857C5.64496 9.42857 5.35714 9.14075 5.35714 8.78572Z",fill:"#73828C"})),Ni={width:12,height:12,margin:"3px 3px 3px 6px",verticalAlign:"top"},B6=({icon:e})=>{let{color:t}=Ut();return{passed:a.createElement(Li,{style:{...Ni,color:t.positive}}),changed:a.createElement(W5,{style:{...Ni,color:t.warning}}),failed:a.createElement(xt,{style:{...Ni,color:t.negative}})}[e]};function cl(e){"@babel/helpers - typeof";return cl=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},cl(e)}function Ur(e,t){if(t.length1?"s":"")+" required, but only "+t.length+" present")}function gn(e){Ur(1,arguments);var t=Object.prototype.toString.call(e);return e instanceof Date||cl(e)==="object"&&t==="[object Date]"?new Date(e.getTime()):typeof e=="number"||t==="[object Number]"?new Date(e):((typeof e=="string"||t==="[object String]")&&typeof console<"u"&&(console.warn("Starting with v2.0.0-beta.1 date-fns doesn't accept strings as date arguments. Please use `parseISO` to parse strings. See: https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#string-arguments"),console.warn(new Error().stack)),new Date(NaN))}var P6={};function V6(){return P6}function G1(e){var t=new Date(Date.UTC(e.getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()));return t.setUTCFullYear(e.getFullYear()),e.getTime()-t.getTime()}function D6(e,t){Ur(2,arguments);var n=gn(e),r=gn(t),i=n.getTime()-r.getTime();return i<0?-1:i>0?1:i}var H6={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}},j6=function(e,t,n){var r,i=H6[e];return typeof i=="string"?r=i:t===1?r=i.one:r=i.other.replace("{{count}}",t.toString()),n!=null&&n.addSuffix?n.comparison&&n.comparison>0?"in "+r:r+" ago":r},z6=j6;function Mi(e){return function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=t.width?String(t.width):e.defaultWidth,r=e.formats[n]||e.formats[e.defaultWidth];return r}}var U6={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},$6={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},W6={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},G6={date:Mi({formats:U6,defaultWidth:"full"}),time:Mi({formats:$6,defaultWidth:"full"}),dateTime:Mi({formats:W6,defaultWidth:"full"})},q6=G6,Y6={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},Q6=function(e,t,n,r){return Y6[e]},K6=Q6;function Wn(e){return function(t,n){var r=n!=null&&n.context?String(n.context):"standalone",i;if(r==="formatting"&&e.formattingValues){var l=e.defaultFormattingWidth||e.defaultWidth,o=n!=null&&n.width?String(n.width):l;i=e.formattingValues[o]||e.formattingValues[l]}else{var s=e.defaultWidth,c=n!=null&&n.width?String(n.width):e.defaultWidth;i=e.values[c]||e.values[s]}var d=e.argumentCallback?e.argumentCallback(t):t;return i[d]}}var J6={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},X6={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},ef={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},tf={narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},nf={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},af={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},rf=function(e,t){var n=Number(e),r=n%100;if(r>20||r<10)switch(r%10){case 1:return n+"st";case 2:return n+"nd";case 3:return n+"rd"}return n+"th"},lf={ordinalNumber:rf,era:Wn({values:J6,defaultWidth:"wide"}),quarter:Wn({values:X6,defaultWidth:"wide",argumentCallback:function(e){return e-1}}),month:Wn({values:ef,defaultWidth:"wide"}),day:Wn({values:tf,defaultWidth:"wide"}),dayPeriod:Wn({values:nf,defaultWidth:"wide",formattingValues:af,defaultFormattingWidth:"wide"})},of=lf;function Gn(e){return function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=n.width,i=r&&e.matchPatterns[r]||e.matchPatterns[e.defaultMatchWidth],l=t.match(i);if(!l)return null;var o=l[0],s=r&&e.parsePatterns[r]||e.parsePatterns[e.defaultParseWidth],c=Array.isArray(s)?cf(s,function(u){return u.test(o)}):sf(s,function(u){return u.test(o)}),d;d=e.valueCallback?e.valueCallback(c):c,d=n.valueCallback?n.valueCallback(d):d;var m=t.slice(o.length);return{value:d,rest:m}}}function sf(e,t){for(var n in e)if(e.hasOwnProperty(n)&&t(e[n]))return n}function cf(e,t){for(var n=0;n1&&arguments[1]!==void 0?arguments[1]:{},r=t.match(e.matchPattern);if(!r)return null;var i=r[0],l=t.match(e.parsePattern);if(!l)return null;var o=e.valueCallback?e.valueCallback(l[0]):l[0];o=n.valueCallback?n.valueCallback(o):o;var s=t.slice(i.length);return{value:o,rest:s}}}var uf=/^(\d+)(th|st|nd|rd)?/i,mf=/\d+/i,pf={narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},hf={any:[/^b/i,/^(a|c)/i]},ff={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},gf={any:[/1/i,/2/i,/3/i,/4/i]},vf={narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},yf={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},Ef={narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},bf={narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},kf={narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},wf={any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},Cf={ordinalNumber:df({matchPattern:uf,parsePattern:mf,valueCallback:function(e){return parseInt(e,10)}}),era:Gn({matchPatterns:pf,defaultMatchWidth:"wide",parsePatterns:hf,defaultParseWidth:"any"}),quarter:Gn({matchPatterns:ff,defaultMatchWidth:"wide",parsePatterns:gf,defaultParseWidth:"any",valueCallback:function(e){return e+1}}),month:Gn({matchPatterns:vf,defaultMatchWidth:"wide",parsePatterns:yf,defaultParseWidth:"any"}),day:Gn({matchPatterns:Ef,defaultMatchWidth:"wide",parsePatterns:bf,defaultParseWidth:"any"}),dayPeriod:Gn({matchPatterns:kf,defaultMatchWidth:"any",parsePatterns:wf,defaultParseWidth:"any"})},Sf=Cf,xf={code:"en-US",formatDistance:z6,formatLong:q6,formatRelative:K6,localize:of,match:Sf,options:{weekStartsOn:0,firstWeekContainsDate:1}},ec=xf,Nf=ec;function tc(e,t){if(e==null)throw new TypeError("assign requires that input parameter not be null or undefined");for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e}function Mf(e){return tc({},e)}var q1=1e3*60,Nr=60*24,Y1=Nr*30,Q1=Nr*365;function Af(e,t,n){var r,i,l;Ur(2,arguments);var o=V6(),s=(r=(i=n?.locale)!==null&&i!==void 0?i:o.locale)!==null&&r!==void 0?r:Nf;if(!s.formatDistance)throw new RangeError("locale must contain localize.formatDistance property");var c=D6(e,t);if(isNaN(c))throw new RangeError("Invalid time value");var d=tc(Mf(n),{addSuffix:!!n?.addSuffix,comparison:c}),m,u;c>0?(m=gn(t),u=gn(e)):(m=gn(e),u=gn(t));var p=String((l=n?.roundingMethod)!==null&&l!==void 0?l:"round"),f;if(p==="floor")f=Math.floor;else if(p==="ceil")f=Math.ceil;else if(p==="round")f=Math.round;else throw new RangeError("roundingMethod must be 'floor', 'ceil' or 'round'");var g=u.getTime()-m.getTime(),y=g/q1,k=G1(u)-G1(m),E=(g-k)/q1,h=n?.unit,v;if(h?v=String(h):y<1?v="second":y<60?v="minute":y0?`in ${r}`:`${r} ago`:r}var Of=e=>_f(e,{addSuffix:!0,locale:{...ec,formatDistance:Ff}}),qn=w.div(({theme:e})=>({gridArea:"info",display:"flex",justifySelf:"start",justifyContent:"center",flexDirection:"column",margin:15,lineHeight:"18px",color:e.base==="light"?`${e.color.defaultText}99`:`${e.color.light}99`,b:{color:e.base==="light"?`${e.color.defaultText}`:`${e.color.light}`},small:{fontSize:e.typography.size.s1},"@container (min-width: 800px)":{margin:"6px 10px 6px 15px",alignItems:"center",flexDirection:"row",small:{fontSize:"inherit"},"[data-hidden-large]":{display:"none"},"& > span:first-of-type":{display:"inline-flex",alignItems:"center",height:24,marginRight:6}}})),Lf=w.div({gridArea:"actions",display:"flex",justifySelf:"end",justifyContent:"center",alignItems:"start",margin:15,"@container (min-width: 800px)":{margin:"6px 15px 0 0"}}),Rf=({isStarting:e,tests:t,startedAt:n,isBuildFailed:r,isOutdated:i,shouldSwitchToLastBuildOnBranch:l,switchToLastBuildOnBranch:o})=>{let{isRunning:s,startBuild:c}=ka(),{status:d,isInProgress:m,changeCount:u,brokenCount:p,modeResults:f,browserResults:g}=$l(t??[]),y=!e&&n&&Of(new Date(n).getTime()),k=e||m,E=r||d==="FAILED",h=E||d==="BROKEN",v=(h||i)&&!k&&!u,b;return i?b=a.createElement(qn,null,a.createElement("span",null,a.createElement("b",null,"Code edits detected")),a.createElement("small",null,a.createElement("span",null,"Run tests to see what changed"))):E?b=a.createElement(qn,null,a.createElement("span",null,a.createElement("b",null,"Build failed"),a.createElement(Z6,null)),a.createElement("small",null,a.createElement("span",null,"An infrastructure error occured"))):k?b=a.createElement(qn,null,a.createElement("span",null,a.createElement("b",null,"Running tests..."),a.createElement(xr,null)),a.createElement("small",null,a.createElement("span",null,"Test in progress..."))):l?b=a.createElement(qn,null,a.createElement("span",null,a.createElement("b",null,a.createElement($t,{isButton:!0,onClick:o},"View latest snapshot"))),a.createElement("span",null,"Newer test results are available for this story")):b=a.createElement(qn,null,a.createElement("span",null,a.createElement("b",null,p?null:u?`${(0,$a.default)("change",u,!0)}${d==="ACCEPTED"?" accepted":""}`:"No changes",p?(0,$a.default)("error",p,!0):null),a.createElement(B6,{icon:p?"failed":d==="PENDING"?"changed":"passed"})),a.createElement("small",null,f.length>0&&a.createElement("span",{"data-hidden-large":!0},(0,$a.default)("mode",f.length,!0),", ",(0,$a.default)("browser",g.length,!0)),f.length>0&&a.createElement("span",{"data-hidden-large":!0}," \u2022 "),m&&a.createElement("span",null,"Test in progress..."),!m&&n&&a.createElement("span",{title:new Date(n).toUTCString()},"Ran ",y))),a.createElement(a.Fragment,null,b,v&&a.createElement(Lf,null,a.createElement(fn,{onClick:c,disabled:s},s?a.createElement(xr,{parentComponent:"Button"}):a.createElement(Zt,null),h?"Rerun tests":"Run tests")))},K1=w.div(({theme:e})=>({display:"grid",gridTemplateAreas:` + "info info" + "actions actions" + "label controls" + `,gridTemplateColumns:"1fr fit-content(50%)",gridTemplateRows:"auto auto auto",borderBottom:`1px solid ${e.appBorderColor}`,"@container (min-width: 300px)":{gridTemplateAreas:` + "info actions" + "label controls" + `,gridTemplateColumns:"1fr auto",gridTemplateRows:"auto auto"},"@container (min-width: 800px)":{gridTemplateAreas:'"info label controls actions"',gridTemplateColumns:"auto 1fr auto auto",gridTemplateRows:40}})),J1=w.div(({theme:e})=>({display:"grid",gridTemplateAreas:` + "header" + "main" + "footer" + `,gridTemplateColumns:"1fr",gridTemplateRows:"auto 1fr auto",height:"100%","&[hidden]":{display:"none"}})),X1=w.div(({theme:e})=>({gridArea:"header",position:"sticky",zIndex:1,top:0,background:e.background.content,"@container (min-width: 800px)":{background:e.background.app}})),If=w.div(({theme:e})=>({gridArea:"main",overflowY:"auto",maxHeight:"100%",background:e.background.content})),es=w.div(({theme:e})=>({gridArea:"footer",position:"sticky",zIndex:1,bottom:0})),Zf=w.div(({children:e,theme:t})=>({display:"flex",alignItems:"center",border:`0px solid ${t.appBorderColor}`,borderTopWidth:1,borderBottomWidth:e?1:0,height:e?40:0,padding:e?"0 15px":0})),Bf=w.div(({theme:e})=>({fontFamily:e.typography.fonts.mono,fontSize:e.typography.size.s1,color:e.color.defaultText,lineHeight:"18px",padding:15,whiteSpace:"pre-wrap",wordBreak:"break-word"})),Ai=w.div(({theme:e})=>({background:e.background.hoverable,padding:"10px 15px",lineHeight:"18px",position:"relative",borderBottom:`1px solid ${e.appBorderColor}`})),Pf=({isOutdated:e,isStarting:t,isBuildFailed:n,shouldSwitchToLastBuildOnBranch:r,switchToLastBuildOnBranch:i,hidden:l,storyId:o})=>{let{baselineImageVisible:s,diffVisible:c,focusVisible:d}=Lr(),{toggleBaselineImage:m,toggleSettings:u,toggleWarnings:p}=_n(),f=Y0(),g="startedAt"in f&&f.startedAt,y=on(),{tests:k}=y,E=a.useRef(o),h=a.useRef(y.selectedComparison?.id),v=a.useRef(f.id),{selectedTest:b,selectedComparison:C}=y,O=k.every(({result:ye,status:pe})=>ye==="ADDED"&&pe!=="ACCEPTED"),I=!O&&b?.result==="ADDED"&&b?.status!=="ACCEPTED",U=!O&&C?.result==="ADDED"&&b?.result!=="ADDED"&&b?.status!=="ACCEPTED";X(()=>{(E.current!==o||h.current!==y.selectedComparison?.id||v.current!==f.id||O||I||U)&&(m(!1),u(!1),p(!1)),h.current=y.selectedComparison?.id,E.current=o,v.current=f.id},[f.id,o,y,m,u,p,O,I,U]);let G=a.createElement(Rf,{tests:k,startedAt:g,isStarting:t,isBuildFailed:n,isOutdated:e,shouldSwitchToLastBuildOnBranch:r,switchToLastBuildOnBranch:i});if(t||!k.length)return a.createElement(J1,{hidden:l},a.createElement(X1,null,a.createElement(K1,null,G)),a.createElement(es,null,a.createElement(U1,null)));let oe=$l(k),{isInProgress:ee}=oe,ke=C?.headCapture?.captureError&&"error"in C?.headCapture?.captureError&&C?.headCapture?.captureError?.error;return a.createElement(J1,{hidden:l},a.createElement(X1,null,a.createElement(K1,null,G,a.createElement(I6,{isOutdated:e}))),a.createElement(If,null,ee&&a.createElement(Jr,null),!ee&&O&&a.createElement(Ai,null,a.createElement(j,null,"New story found. Accept this snapshot as a test baseline."," ",a.createElement(Ie,{withArrow:!0,href:"https://www.chromatic.com/docs/branching-and-baselines",target:"_blank"},"Learn more"))),!ee&&I&&a.createElement(Ai,null,a.createElement(j,null,"New mode found. Accept this snapshot as a test baseline."," ",a.createElement(Ie,{withArrow:!0,href:"https://www.chromatic.com/docs/branching-and-baselines",target:"_blank"},"Learn more"))),!ee&&U&&a.createElement(Ai,null,a.createElement(j,null,"New browser found. Accept this snapshot as a test baseline."," ",a.createElement(Ie,{withArrow:!0,href:"https://www.chromatic.com/docs/branching-and-baselines",target:"_blank"},"Learn more"))),!ee&&C&&a.createElement(k6,{key:C.id,componentName:b?.story?.component?.name,storyName:b?.story?.name,testUrl:b?.webUrl,comparisonResult:C.result??void 0,latestImage:C.headCapture?.captureImage??void 0,baselineImage:C.baseCapture?.captureImage??void 0,baselineImageVisible:s,diffImage:C.captureDiff?.diffImage??void 0,focusImage:C.captureDiff?.focusImage??void 0,diffVisible:c,focusVisible:d}),!ee&&ke&&a.createElement(a.Fragment,null,a.createElement(Zf,null,a.createElement("b",null,"Error stack trace")),a.createElement(Bf,null,ke.stack||ke.message))),a.createElement(es,null,a.createElement(U1,null)))},Vf=w(Qr)({padding:"4px 8px",margin:"0 6px"}),Df=({onClose:e})=>a.createElement(qs,null,a.createElement(Ki,null,a.createElement(cr,null,"Warnings",a.createElement(Vf,{status:"warning"},"2"),a.createElement(Il,{onClick:e},a.createElement(Rl,{"aria-label":"Close"}))),a.createElement("p",null,"It's essential that your components and stories render in a consistent fashion to prevent false positives. Two issues detected in this story may cause false positives."),a.createElement("p",null,a.createElement(ce,{variant:"outline"},a.createElement(ls,null),"Docs"),a.createElement(ce,{variant:"outline"},a.createElement(q5,null),"Get support"))));w.div(({theme:e})=>({color:e.color.warning,background:e.background.warning,padding:10,lineHeight:"18px",position:"relative"}));var Hf=({branch:e,dismissBuildError:t,isOutdated:n,localBuildProgress:r,switchToLastBuildOnBranch:i,storyId:l})=>{let{settingsVisible:o,warningsVisible:s}=Lr(),{toggleSettings:c,toggleWarnings:d}=_n(),{isRunning:m,startBuild:u,stopBuild:p}=ka(),{lastBuildOnBranch:f,lastBuildOnBranchIsReady:g,lastBuildOnBranchIsSelectable:y}=T7(),k=Y0(),E=on(),{buildIsReviewable:h,userCanReview:v}=X0(),b=!!(!h&&g&&y&&i),C=f?.status==="IN_PROGRESS",O=m||!h&&!b,I=r&&r?.buildId===f?.id,U=O&&a.createElement(f6,{branch:e,dismissBuildError:t,localBuildProgress:I||m?r:void 0,lastBuildOnBranchInProgress:C,switchToLastBuildOnBranch:i}),G=E?.hasTests&&E?.tests.length===0,oe=k.id!==`Build:${r?.buildId}`;if(G)return a.createElement(ve,null,a.createElement(he,null,r&&oe?a.createElement(se,null,a.createElement("div",null,a.createElement(me,null,"Snapshotting new story"),a.createElement(j,{center:!0,muted:!0},'A new snapshot is being created in a standardized cloud browser to save its "last known good state" as a test baseline.')),a.createElement(zr,{localBuildProgress:r})):a.createElement(se,null,a.createElement("div",null,a.createElement(me,null,"New story found"),a.createElement(j,{center:!0,muted:!0},'Take an image snapshot of this story to save its "last known good state" as a test baseline. This unlocks visual regression testing so you can see exactly what has changed down to the pixel.')),a.createElement(ce,{belowText:!0,size:"medium",variant:"solid",onClick:m?p:u},m?"Cancel build":"Create visual test"))));if(E?.tests?.find(ie=>ie.result==="SKIPPED"))return a.createElement(ve,null,U,a.createElement(he,null,a.createElement(se,null,a.createElement("div",null,a.createElement(me,null,"This story was skipped"),a.createElement(j,{center:!0,muted:!0},"If you would like to resume testing it, comment out or remove",a.createElement(Fe,null,"disableSnapshot = true")," from the CSF file.")),a.createElement(ce,{asChild:!0,size:"medium",variant:"outline"},a.createElement("a",{href:"https://www.chromatic.com/docs/ignoring-elements#with-storybook",target:"_new"},a.createElement(ls,null),"View docs")))));let{status:ee}=k,ke=["ANNOUNCED","PUBLISHED","PREPARED"].includes(ee),ye=ee==="FAILED",pe=ee==="PENDING"&&(!v||!h);return a.createElement(ve,{footer:null},a.createElement(p4,null,U,!U&&pe&&a.createElement(s6,null,v?a.createElement(a.Fragment,null,"Reviewing is disabled because there's a newer build on ",a.createElement(Fe,null,e),"."):a.createElement(a.Fragment,null,"You don't have permission to accept changes."," ",a.createElement($t,{href:"https://www.chromatic.com/docs/collaborators#roles",target:"_blank",withArrow:!0},"Learn about roles"))),a.createElement(Xn,{grow:!0,hidden:o||s},a.createElement(Pf,{hidden:o||s,isOutdated:n,isStarting:ke,isBuildFailed:ye,shouldSwitchToLastBuildOnBranch:b,switchToLastBuildOnBranch:i,selectedBuild:k,storyId:l})),a.createElement(Xn,{grow:!0,hidden:!o},a.createElement(g6,{onClose:()=>c(!1)})),a.createElement(Xn,{grow:!0,hidden:!s},a.createElement(Df,{onClose:()=>d(!1)}))))},_i=w(Ie)(()=>({marginTop:5})),jf=({queryError:e,hasData:t,hasProject:n,hasSelectedBuild:r,localBuildProgress:i,branch:l})=>{let{setAccessToken:o}=Tl(),{isRunning:s,startBuild:c}=ka(),{disable:d,disableSnapshot:m,docsOnly:u}=Kl("chromatic",{}),p=()=>{let f=a.createElement(ce,{disabled:s,size:"medium",variant:"solid",onClick:c},a.createElement(Zt,null),"Take snapshots");return i?i.currentStep==="error"?a.createElement(a.Fragment,null,a.createElement(Q0,{localBuildProgress:i,title:"Build failed"}),f):a.createElement(zr,{localBuildProgress:i}):f};return a.createElement(ve,{footer:a.createElement(Ir,null,a.createElement(Xe,null,t&&!e&&n&&a.createElement(j,{muted:!0,style:{marginLeft:5}},"Waiting for build on ",l)),a.createElement(Xe,{push:!0},a.createElement(Rr,null)))},e?.networkError?a.createElement(he,null,a.createElement(se,null,a.createElement("div",null,a.createElement(me,null,"Network error"),a.createElement(j,null,e.networkError.message)),a.createElement(ce,{size:"medium",variant:"solid",onClick:()=>o(null)},"Log out"))):e?.graphQLErrors?.length?a.createElement(he,null,a.createElement(se,null,a.createElement("div",null,a.createElement(me,null,e.graphQLErrors[0].message),a.createElement(j,{center:!0,muted:!0},e.graphQLErrors[0].extensions.code==="FORBIDDEN"?"You may have insufficient permissions. Try logging out and back in again.":"Try logging out or clear your browser's local storage.")),a.createElement(yt,null,a.createElement(ce,{size:"medium",variant:"solid",onClick:()=>o(null)},"Log out"),a.createElement(_i,{withArrow:!0,href:`${rs}#troubleshooting`,target:"_blank"},"Troubleshoot")))):t?n?d||m||u?a.createElement(he,null,a.createElement(se,null,a.createElement("div",null,a.createElement(me,null,"Visual tests disabled for this story"),a.createElement(j,{center:!0,muted:!0},"Update ",a.createElement("code",null,"parameters.chromatic.",d?"disable":m?"disableSnapshot":"docsOnly")," to enable snapshots for this story.")),a.createElement(_i,{withArrow:!0,href:"https://www.chromatic.com/docs/ignoring-elements#with-storybook",target:"_blank"},"Read more"))):r?null:a.createElement(he,null,a.createElement(se,null,a.createElement("div",null,a.createElement(me,null,"Create a test baseline"),a.createElement(j,{center:!0,muted:!0},'Take an image snapshot of your stories to save their "last known good state" as test baselines.')),p())):a.createElement(he,null,a.createElement(se,null,a.createElement("div",null,a.createElement(me,null,"Project not found"),a.createElement(j,{center:!0,muted:!0},"You may not have access to this project or it may not exist.")),a.createElement(_i,{isButton:!0,onClick:()=>o(null),withArrow:!0},"Switch account"))):a.createElement(Jr,null))},zf=e=>Object.fromEntries(Object.entries(e).map(([t])=>[t,null])),Uf=({buildIsReviewable:e,userCanReview:t,onReviewSuccess:n,onReviewError:r})=>{let[{fetching:i},l]=Cs(A7),o=H(async d=>{try{if(!e)throw new Error("Build is not reviewable");if(!t)throw new Error("No permission to review tests");let{error:m}=await l({input:d});if(m)throw m;n?.(d)}catch(m){r?.(m,d)}},[n,r,l,e,t]),s=H((d,m="SPEC")=>o({status:"ACCEPTED",testId:d,batch:m}),[o]),c=H((d,m="SPEC")=>o({status:"PENDING",testId:d,batch:m}),[o]);return{isReviewing:i,acceptTest:s,unacceptTest:c,buildIsReviewable:e,userCanReview:t}},$f=lt(` + mutation UpdateUserPreferences($input: UserPreferencesInput!) { + updateUserPreferences(input: $input) { + updatedPreferences { + vtaOnboarding + } + } + } +`),Wf=({lastBuildOnBranch:e,vtaOnboarding:t})=>{let n=cn(),{notifications:r,storyId:i}=Ht(),[l,o]=a.useState(!1),s=a.useCallback(()=>{o(!0),r.forEach(({id:h})=>n.clearNotification(h))},[n,r]),[c,d]=a.useState(!1),m=a.useCallback(()=>d(!0),[]),[u,p]=a.useState(!0);a.useEffect(()=>{if(n?.getUrlState?.().queryParams.vtaOnboarding==="true"){p(!1);return}t&&p(t==="COMPLETED"||t==="DISMISSED")},[n,t]);let[{fetching:f},g]=Cs($f),y=a.useCallback(async h=>{await g({input:{vtaOnboarding:h?"COMPLETED":"DISMISSED"}}),p(!0),d(!1);let b=new URL(window.location.href);b.searchParams.has("vtaOnboarding")&&(b.searchParams.delete("vtaOnboarding"),window.history.replaceState({},"",b.href))},[g]),k=a.useMemo(()=>(e&&"testsForStatus"in e&&e.testsForStatus?.nodes&&yn(G0,e.testsForStatus.nodes)||[]).some(h=>h?.status==="PENDING"&&h?.result==="CHANGED"&&h?.story?.storyId===i),[e,i]),E=!l&&!u&&!c;return{showOnboarding:E,showGuidedTour:!E&&!u,completeOnboarding:s,skipOnboarding:a.useCallback(()=>y(!1),[y]),completeWalkthrough:a.useCallback(()=>y(!0),[y]),skipWalkthrough:a.useCallback(()=>y(!1),[y]),startWalkthrough:m,lastBuildHasChangesForStory:k,isUpdating:f}},Gf=({isOutdated:e,selectedBuildInfo:t,setSelectedBuildInfo:n,dismissBuildError:r,localBuildProgress:i,setOutdated:l,updateBuildStatus:o,projectId:s,gitInfo:c,storyId:d})=>{let m=cn(),{addNotification:u,setOptions:p,togglePanel:f}=m,g=_7({projectId:s,storyId:d,gitInfo:c,selectedBuildInfo:t}),{account:y,features:k,manageUrl:E,hasData:h,hasProject:v,hasSelectedBuild:b,lastBuildOnBranch:C,lastBuildOnBranchIsReady:O,lastBuildOnBranchIsSelectable:I,selectedBuild:U,selectedBuildMatchesGit:G,queryError:oe,rerunQuery:ee,userCanReview:ke}=g,ye=H(({onDismiss:Tt})=>{Tt(),p({selectedPanel:an}),f(!0)},[p,f]),pe=Uf({buildIsReviewable:!!U&&U.id===C?.id,userCanReview:ke,onReviewSuccess:ee,onReviewError:(Tt,ic)=>{Tt instanceof Error&&u({id:`${Z}/errorAccepting/${Date.now()}`,content:{headline:`Failed to ${ic.status==="ACCEPTED"?"accept":"unaccept"} changes`,subHeadline:Tt.message},icon:a.createElement(xt,{color:ct.negative}),duration:8e3,onClick:ye})}});X(()=>l(!G),[G,l]);let ie=C&&"testsForStatus"in C&&C.testsForStatus?.nodes&&yn(G0,C.testsForStatus.nodes),Ge=I&&Jp(m,ie||[]);X(()=>{o(Tt=>({...zf(Tt),...Ge}))},[JSON.stringify(Ge),o]),X(()=>{n(Tt=>Xp(Tt,{shouldSwitchToLastBuildOnBranch:I&&O,lastBuildOnBranchId:C?.id,storyId:d}))},[I,O,C?.id,n,d]);let kt=H(()=>C?.id&&I&&n({buildId:C.id,storyId:d}),[n,I,C?.id,d]),{showOnboarding:_t,showGuidedTour:Pe,completeOnboarding:$r,completeWalkthrough:He,skipOnboarding:_a,skipWalkthrough:nc,startWalkthrough:ac,lastBuildHasChangesForStory:rc}=Wf(g);return k&&!k.uiTests?a.createElement(e3,{manageUrl:E}):y?.suspensionReason?a.createElement(m0,{billingUrl:y.billingUrl,suspensionReason:y.suspensionReason}):_t&&v?a.createElement(a.Fragment,null,!h||oe?a.createElement(a.Fragment,null):a.createElement(Si,{watchState:g},a.createElement(o6,{gitInfo:c,projectId:s,updateBuildStatus:o,dismissBuildError:r,localBuildProgress:i,showInitialBuildScreen:!U,onComplete:$r,onSkip:_a,lastBuildHasChangesForStory:rc}))):a.createElement(a.Fragment,null,!U||!b||!h||oe?a.createElement(jf,{queryError:oe,hasData:h,hasProject:v,hasSelectedBuild:b,branch:c.branch,dismissBuildError:r,isOutdated:e,localBuildProgress:i,...I&&{switchToLastBuildOnBranch:kt}}):a.createElement(v6,{watchState:pe},a.createElement(Si,{watchState:g},a.createElement(Hf,{branch:c.branch,dismissBuildError:r,isOutdated:e,localBuildProgress:i,...C&&{lastBuildOnBranch:C},...I&&{switchToLastBuildOnBranch:kt},userCanReview:ke,storyId:d}))),Pe&&a.createElement(Si,{watchState:{selectedBuild:U}},a.createElement(H7,{managerApi:m,skipWalkthrough:nc,startWalkthrough:ac,completeWalkthrough:He})))},qf=e=>{let[t,n]=Ue("selectedBuildInfo");return a.createElement(Gf,{selectedBuildInfo:t,setSelectedBuildInfo:n,...e})},mn=new Map,Yf=()=>{let e=Ln({[b5]:t=>{let n=mn.get(t.requestId);if(n)if(mn.delete(t.requestId),"error"in t)n.reject(new Error(t.error));else{let{body:r,headers:i,status:l,statusText:o}=t.response,s=new Response(r,{headers:i,status:l,statusText:o});n.resolve(s)}}});return async(t,{signal:n,...r}={})=>{if(n?.aborted)return Promise.reject(n.reason);let i=Math.random().toString(36).slice(2);return n?.addEventListener("abort",()=>{e(y5,{requestId:i}),mn.get(i)?.reject(n.reason),mn.delete(i)}),e(E5,{requestId:i,input:t,init:r}),new Promise((l,o)=>{mn.set(i,{resolve:l,reject:o}),setTimeout(()=>{o(new Error("Request timed out")),mn.delete(i)},3e4)})}},Qf=({active:e,api:t})=>{let[n,r]=Cl(),i=H(He=>{r(He),He||Um("authenticationScreen","exchangeParameters")},[r]),{storyId:l}=Ht(),[o,s]=Me(window.navigator.onLine);X(()=>{let He=()=>s(!0),_a=()=>s(!1);return window.addEventListener("online",He),window.addEventListener("offline",_a),()=>{window.removeEventListener("online",He),window.removeEventListener("offline",_a)}},[]);let[c]=Ee(u5),[d]=Ee(ul),[m]=Ee(ml),[u]=Ee(Qa),[p,f]=Ee(pl),[,g]=Ee(Qa),y=Ln({}),k=H(He=>t.experimental_updateStatus(Z,He),[t]),{loading:E,projectId:h,configFile:v,updateProject:b,projectUpdatingFailed:C,projectIdUpdated:O,clearProjectIdUpdated:I}=xl(),[U,G]=Ue("createdProjectId"),[oe,ee]=Ee(as),[ke,ye]=Ue("subdomain","www"),pe=H(He=>y(g5,He),[y]),{isRunning:ie,startBuild:Ge,stopBuild:kt}=Sl({localBuildProgress:p,accessToken:n}),_t=Yf(),Pe=He=>a.createElement(p2,{value:xs({fetch:_t})},a.createElement(h2,{value:pe},a.createElement(lm,{value:{accessToken:n,setAccessToken:i,subdomain:ke,setSubdomain:ye}},a.createElement($m,{addonUninstalled:oe,setAddonUninstalled:ee},a.createElement(u4,null,a.createElement(Qp,{watchState:{isRunning:ie,startBuild:Ge,stopBuild:kt}},a.createElement("div",{hidden:!e,style:{containerType:"size",height:"100%"}},He)))))));if(!e)return Pe(null);if(globalThis.CONFIG_TYPE!=="DEVELOPMENT")return Pe(a.createElement(Gp,null));if(oe)return Pe(a.createElement(Yp,null));if(m)return Pe(a.createElement(qp,{offline:m}));if(!n)return Pe(a.createElement(Fp,{setAccessToken:i,setCreatedProjectId:G,hasProjectId:!!h}));if(E)return e?a.createElement(Qi,null):null;if(!h)return Pe(a.createElement(zp,{createdProjectId:U,setCreatedProjectId:G,onUpdateProject:b}));if(d||!c)return console.error(d),Pe(a.createElement(Lp,null));if(C){if(!v)throw new Error("Missing config file after configuration failure");return Pe(a.createElement(Hp,{projectId:h,configFile:v}))}if(O){if(!v)throw new Error("Missing config file after configuration success");return Pe(a.createElement(Bp,{projectId:h,configFile:v,goToNext:I}))}let $r=c.branch===p?.branch;return Pe(a.createElement(qf,{dismissBuildError:()=>f(void 0),isOutdated:!!u,localBuildProgress:$r?p:void 0,setOutdated:g,updateBuildStatus:k,projectId:h,gitInfo:c,storyId:l}))},Ti=et(ya()),Kf=({api:e,running:t})=>{let{addNotification:n,selectStory:r,setOptions:i,togglePanel:l}=e,o=zt(ba),{projectId:s}=xl(),[c]=Cl(),d=!!c,[m,u]=Ee(ml),[p]=Ee(Qa),[f]=Ee(pl),[g]=Ee(Ar),y=Object.keys(g?.problems||{}).length>0,[k]=Ee(ul),E=Ne(f?.currentStep),{index:h,status:v,storyId:b,viewMode:C}=Ht(),O=Object.values(v).filter(pe=>pe[Z]?.status==="warn"),I=H(pe=>{if(i({selectedPanel:an}),l(!0),h&&C!=="story"){let ie=Object.keys(h).indexOf(b),Ge=Object.entries(h).slice(ie>0?ie:0),[kt]=Ge.find(([,{type:_t}])=>_t==="story")||[];kt&&r(kt)}pe&&o?.({action:"openWarning",warning:pe})},[i,l,o,h,r,b,C]),U=H(({onDismiss:pe})=>{pe(),I()},[I]);X(()=>{let pe=()=>u(!0),ie=()=>u(!1);return window.addEventListener("offline",pe),window.addEventListener("online",ie),()=>{window.removeEventListener("offline",pe),window.removeEventListener("online",ie)}},[u]),X(()=>{f?.currentStep!==E.current&&(E.current=f?.currentStep,f?.currentStep==="error"&&n({id:`${Z}/build-error/${Date.now()}`,content:{headline:"Build error",subHeadline:"Check the Storybook process on the command line for more details."},icon:a.createElement(xt,{color:ct.negative}),onClick:U}),f?.currentStep==="limited"&&n({id:`${Z}/build-limited/${Date.now()}`,content:{headline:"Build limited",subHeadline:"Your account has insufficient snapshots remaining to run this build. Visit your billing page to find out more."},icon:a.createElement(xt,{color:ct.negative}),onClick:U}))},[n,U,f?.currentStep]);let{startBuild:G,stopBuild:oe}=Sl({localBuildProgress:f,accessToken:c}),ee;s||(ee="Select a project"),d||(ee="Login required"),k&&(ee="Git synchronization problem"),y&&(ee="Configuration problem"),m&&(ee="Not available while offline");let ke=H(()=>I(ee),[I,ee]),ye=Ln({[w5]:({providerId:pe})=>{pe===Wa&&G()},[C5]:({providerId:pe})=>{pe===Wa&&oe()}},[G,oe]);if(X(()=>{ye(k5,{providerId:Wa,runnable:!ee})},[ye,ee]),ee)return a.createElement($t,{onClick:ke},ee);if(t){if(f){let{renderProgress:pe}=Nl[f.currentStep];return a.createElement(a.Fragment,null,pe(f))}return a.createElement(a.Fragment,null,"Starting...")}return p?a.createElement(a.Fragment,null,"Test results outdated"):f?.currentStep==="aborted"?a.createElement(a.Fragment,null,"Aborted by user"):f?.currentStep==="complete"?f.errorCount?a.createElement(a.Fragment,null,"Encountered ",(0,Ti.default)("component error",f.errorCount,!0)):O.length?a.createElement(a.Fragment,null,"Found ",(0,Ti.default)("story",O.length,!0)," with",(0,Ti.default)("change",O.length)):a.createElement(a.Fragment,null,"No visual changes detected"):a.createElement(a.Fragment,null,"Not run")};sn.register(Z,e=>{sn.add(an,{type:Ta.PANEL,title:"Visual tests",paramKey:v5,match:({viewMode:t})=>t==="story",render:({active:t})=>a.createElement(Qf,{active:!!t,api:e})}),globalThis.CONFIG_TYPE==="DEVELOPMENT"&&(Ta.experimental_TEST_PROVIDER?sn.add(Wa,{type:Ta.experimental_TEST_PROVIDER,runnable:!0,name:"Visual tests",title:({failed:t})=>t?"Visual tests didn't complete":"Visual tests",description:t=>a.createElement(Kf,{...t,api:e})}):(sn.add(c5,{type:"sidebar-top",render:()=>a.createElement(im,{api:e})}),sn.add(d5,{type:"sidebar-bottom",render:()=>a.createElement(B5,{api:e})})))});})(); +}catch(e){ console.error("[Storybook] One of your manager-entries failed: " + import.meta.url, e); } diff --git a/storybook-static/sb-addons/chromatic-com-storybook-10/manager-bundle.js.LEGAL.txt b/storybook-static/sb-addons/chromatic-com-storybook-10/manager-bundle.js.LEGAL.txt new file mode 100644 index 0000000..a42255f --- /dev/null +++ b/storybook-static/sb-addons/chromatic-com-storybook-10/manager-bundle.js.LEGAL.txt @@ -0,0 +1,51 @@ +Bundled license information: + +react/cjs/react-jsx-runtime.production.js: + /** + * @license React + * react-jsx-runtime.production.js + * + * Copyright (c) Meta Platforms, Inc. and affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */ + +filesize/dist/filesize.esm.js: + /** + * filesize + * + * @copyright 2024 Jason Mulligan + * @license BSD-3-Clause + * @version 10.1.6 + */ + +@chromatic-com/storybook/dist/manager.mjs: + /*! Bundled license information: + + popper.js/dist/esm/popper.js: + (**! + * @fileOverview Kickass library to create and place poppers near their reference elements. + * @version 1.16.1 + * @license + * Copyright (c) 2016 Federico Zivolo and contributors + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to deal + * in the Software without restriction, including without limitation the rights + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice shall be included in all + * copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + * SOFTWARE. + *) + */ diff --git a/storybook-static/sb-addons/essentials-actions-2/manager-bundle.js b/storybook-static/sb-addons/essentials-actions-2/manager-bundle.js new file mode 100644 index 0000000..4af9d21 --- /dev/null +++ b/storybook-static/sb-addons/essentials-actions-2/manager-bundle.js @@ -0,0 +1,3 @@ +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/storybook-static/sb-addons/essentials-backgrounds-4/manager-bundle.js b/storybook-static/sb-addons/essentials-backgrounds-4/manager-bundle.js new file mode 100644 index 0000000..b50d7f2 --- /dev/null +++ b/storybook-static/sb-addons/essentials-backgrounds-4/manager-bundle.js @@ -0,0 +1,12 @@ +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/storybook-static/sb-addons/essentials-controls-1/manager-bundle.js b/storybook-static/sb-addons/essentials-controls-1/manager-bundle.js new file mode 100644 index 0000000..68789c5 --- /dev/null +++ b/storybook-static/sb-addons/essentials-controls-1/manager-bundle.js @@ -0,0 +1,402 @@ +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/storybook-static/sb-addons/essentials-docs-3/manager-bundle.js b/storybook-static/sb-addons/essentials-docs-3/manager-bundle.js new file mode 100644 index 0000000..e5e75fd --- /dev/null +++ b/storybook-static/sb-addons/essentials-docs-3/manager-bundle.js @@ -0,0 +1,242 @@ +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/storybook-static/sb-addons/essentials-measure-7/manager-bundle.js b/storybook-static/sb-addons/essentials-measure-7/manager-bundle.js new file mode 100644 index 0000000..4d0ea4e --- /dev/null +++ b/storybook-static/sb-addons/essentials-measure-7/manager-bundle.js @@ -0,0 +1,3 @@ +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/storybook-static/sb-addons/essentials-outline-8/manager-bundle.js b/storybook-static/sb-addons/essentials-outline-8/manager-bundle.js new file mode 100644 index 0000000..47c26de --- /dev/null +++ b/storybook-static/sb-addons/essentials-outline-8/manager-bundle.js @@ -0,0 +1,3 @@ +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/storybook-static/sb-addons/essentials-toolbars-6/manager-bundle.js b/storybook-static/sb-addons/essentials-toolbars-6/manager-bundle.js new file mode 100644 index 0000000..4da5781 --- /dev/null +++ b/storybook-static/sb-addons/essentials-toolbars-6/manager-bundle.js @@ -0,0 +1,3 @@ +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/storybook-static/sb-addons/essentials-viewport-5/manager-bundle.js b/storybook-static/sb-addons/essentials-viewport-5/manager-bundle.js new file mode 100644 index 0000000..9fa1487 --- /dev/null +++ b/storybook-static/sb-addons/essentials-viewport-5/manager-bundle.js @@ -0,0 +1,3 @@ +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/storybook-static/sb-addons/onboarding-9/manager-bundle.js b/storybook-static/sb-addons/onboarding-9/manager-bundle.js new file mode 100644 index 0000000..aee4cf0 --- /dev/null +++ b/storybook-static/sb-addons/onboarding-9/manager-bundle.js @@ -0,0 +1,127 @@ +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/storybook-static/sb-addons/storybook-core-core-server-presets-0/common-manager-bundle.js b/storybook-static/sb-addons/storybook-core-core-server-presets-0/common-manager-bundle.js new file mode 100644 index 0000000..bd02337 --- /dev/null +++ b/storybook-static/sb-addons/storybook-core-core-server-presets-0/common-manager-bundle.js @@ -0,0 +1,3 @@ +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/storybook-static/sb-addons/storybook-experimental-addon-test-11/manager-bundle.js b/storybook-static/sb-addons/storybook-experimental-addon-test-11/manager-bundle.js new file mode 100644 index 0000000..90edc3b --- /dev/null +++ b/storybook-static/sb-addons/storybook-experimental-addon-test-11/manager-bundle.js @@ -0,0 +1,223 @@ +try{ +(()=>{var Ee=(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 c=__REACT__,{Children:Mh,Component:$h,Fragment:Mt,Profiler:qh,PureComponent:Uh,StrictMode:zh,Suspense:Hh,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:Gh,cloneElement:Vh,createContext:Wh,createElement:z,createFactory:Yh,createRef:Kh,forwardRef:Xh,isValidElement:Jh,lazy:Zh,memo:$t,startTransition:Qh,unstable_act:ef,useCallback:tf,useContext:to,useDebugValue:rf,useDeferredValue:nf,useEffect:Fe,useId:of,useImperativeHandle:af,useInsertionEffect:uf,useLayoutEffect:sf,useMemo:Ct,useReducer:lf,useRef:qt,useState:ge,useSyncExternalStore:cf,useTransition:pf,version:df}=__REACT__;var gf=__STORYBOOK_COMPONENTS__,{A:yf,ActionBar:bf,AddonPanel:ro,Badge:Tr,Bar:no,Blockquote:Ef,Button:$e,ClipboardCode:Af,Code:Sf,DL:wf,Div:Cf,DocumentWrapper:vf,EmptyTabContent:oo,ErrorFormatter:Df,FlexBar:xf,Form:Tf,H1:Rf,H2:_f,H3:Of,H4:Ff,H5:If,H6:Bf,HR:Pf,IconButton:Ut,IconButtonSkeleton:Nf,Icons:Lf,Img:kf,LI:jf,Link:vt,ListItem:qe,Loader:Mf,Modal:ao,OL:$f,P:uo,Placeholder:qf,Pre:Uf,ProgressSpinner:io,ResetWrapper:zf,ScrollArea:Hf,Separator:so,Spaced:lo,Span:Gf,StorybookIcon:Vf,StorybookLogo:Wf,Symbols:Yf,SyntaxHighlighter:Kf,TT:Xf,TabBar:Jf,TabButton:Zf,TabWrapper:Qf,Table:em,Tabs:tm,TabsState:rm,TooltipLinkList:nm,TooltipMessage:om,TooltipNote:Je,UL:am,WithTooltip:Re,WithTooltipPure:um,Zoom:im,codeCommon:sm,components:lm,createCopyToClipboardFunction:cm,getStoryHref:pm,icons:dm,interleaveSeparators:hm,nameSpaceClassNames:fm,resetComponents:mm,withReset:gm}=__STORYBOOK_COMPONENTS__;var Sm=__STORYBOOK_API__,{ActiveTabs:wm,Consumer:co,ManagerContext:Cm,Provider:vm,RequestResponseError:Dm,addons:Dt,combineParameters:xm,controlOrMetaKey:Tm,controlOrMetaSymbol:Rm,eventMatchesShortcut:_m,eventToShortcut:Om,experimental_MockUniversalStore:Fm,experimental_UniversalStore:po,experimental_requestResponse:Im,experimental_useUniversalStore:ho,isMacLike:Bm,isShortcutTaken:Pm,keyToSymbol:Nm,merge:Lm,mockChannel:km,optionOrAltSymbol:jm,shortcutMatchesShortcut:Mm,shortcutToHumanString:$m,types:fo,useAddonState:Rr,useArgTypes:qm,useArgs:Um,useChannel:mo,useGlobalTypes:zm,useGlobals:Hm,useParameter:go,useSharedState:Gm,useStoryPrepared:Vm,useStorybookApi:zt,useStorybookState:yo}=__STORYBOOK_API__;var Jm=__STORYBOOK_TYPES__,{Addon_TypesEnum:bo}=__STORYBOOK_TYPES__;var rg=__STORYBOOK_THEMING__,{CacheProvider:ng,ClassNames:og,Global:ag,ThemeProvider:ug,background:ig,color:sg,convert:lg,create:cg,createCache:pg,createGlobal:dg,createReset:hg,css:fg,darken:mg,ensure:gg,ignoreSsrWarning:yg,isPropValid:bg,jsx:Eg,keyframes:Ag,lighten:Sg,styled:$,themes:wg,typography:Le,useTheme:Ze,withTheme:Cg}=__STORYBOOK_THEMING__;var Rg=__STORYBOOK_ICONS__,{AccessibilityAltIcon:_g,AccessibilityIcon:Eo,AccessibilityIgnoredIcon:Og,AddIcon:Fg,AdminIcon:Ig,AlertAltIcon:Bg,AlertIcon:Pg,AlignLeftIcon:Ng,AlignRightIcon:Lg,AppleIcon:kg,ArrowBottomLeftIcon:jg,ArrowBottomRightIcon:Mg,ArrowDownIcon:$g,ArrowLeftIcon:qg,ArrowRightIcon:Ug,ArrowSolidDownIcon:zg,ArrowSolidLeftIcon:Hg,ArrowSolidRightIcon:Gg,ArrowSolidUpIcon:Vg,ArrowTopLeftIcon:Wg,ArrowTopRightIcon:Yg,ArrowUpIcon:Kg,AzureDevOpsIcon:Xg,BackIcon:Jg,BasketIcon:Zg,BatchAcceptIcon:Qg,BatchDenyIcon:e0,BeakerIcon:t0,BellIcon:r0,BitbucketIcon:n0,BoldIcon:o0,BookIcon:a0,BookmarkHollowIcon:u0,BookmarkIcon:i0,BottomBarIcon:s0,BottomBarToggleIcon:l0,BoxIcon:c0,BranchIcon:p0,BrowserIcon:d0,ButtonIcon:h0,CPUIcon:f0,CalendarIcon:m0,CameraIcon:g0,CameraStabilizeIcon:y0,CategoryIcon:b0,CertificateIcon:E0,ChangedIcon:A0,ChatIcon:S0,CheckIcon:Ao,ChevronDownIcon:w0,ChevronLeftIcon:C0,ChevronRightIcon:v0,ChevronSmallDownIcon:D0,ChevronSmallLeftIcon:x0,ChevronSmallRightIcon:T0,ChevronSmallUpIcon:R0,ChevronUpIcon:_0,ChromaticIcon:O0,ChromeIcon:F0,CircleHollowIcon:I0,CircleIcon:So,ClearIcon:B0,CloseAltIcon:P0,CloseIcon:wo,CloudHollowIcon:N0,CloudIcon:L0,CogIcon:k0,CollapseIcon:j0,CommandIcon:M0,CommentAddIcon:$0,CommentIcon:q0,CommentsIcon:U0,CommitIcon:z0,CompassIcon:H0,ComponentDrivenIcon:G0,ComponentIcon:V0,ContrastIcon:W0,ContrastIgnoredIcon:Y0,ControlsIcon:K0,CopyIcon:X0,CreditIcon:J0,CrossIcon:Z0,DashboardIcon:Q0,DatabaseIcon:ey,DeleteIcon:ty,DiamondIcon:ry,DirectionIcon:ny,DiscordIcon:oy,DocChartIcon:ay,DocListIcon:uy,DocumentIcon:Co,DownloadIcon:iy,DragIcon:sy,EditIcon:vo,EllipsisIcon:ly,EmailIcon:cy,ExpandAltIcon:py,ExpandIcon:dy,EyeCloseIcon:hy,EyeIcon:Do,FaceHappyIcon:fy,FaceNeutralIcon:my,FaceSadIcon:gy,FacebookIcon:yy,FailedIcon:by,FastForwardIcon:xo,FigmaIcon:Ey,FilterIcon:Ay,FlagIcon:Sy,FolderIcon:wy,FormIcon:Cy,GDriveIcon:vy,GithubIcon:Dy,GitlabIcon:xy,GlobeIcon:Ty,GoogleIcon:Ry,GraphBarIcon:_y,GraphLineIcon:Oy,GraphqlIcon:Fy,GridAltIcon:Iy,GridIcon:By,GrowIcon:Py,HeartHollowIcon:Ny,HeartIcon:Ly,HomeIcon:ky,HourglassIcon:jy,InfoIcon:My,ItalicIcon:$y,JumpToIcon:qy,KeyIcon:Uy,LightningIcon:zy,LightningOffIcon:Hy,LinkBrokenIcon:Gy,LinkIcon:Vy,LinkedinIcon:Wy,LinuxIcon:Yy,ListOrderedIcon:Ky,ListUnorderedIcon:To,LocationIcon:Xy,LockIcon:Jy,MarkdownIcon:Zy,MarkupIcon:Qy,MediumIcon:e1,MemoryIcon:t1,MenuIcon:r1,MergeIcon:n1,MirrorIcon:o1,MobileIcon:a1,MoonIcon:u1,NutIcon:i1,OutboxIcon:s1,OutlineIcon:l1,PaintBrushIcon:c1,PaperClipIcon:p1,ParagraphIcon:d1,PassedIcon:h1,PhoneIcon:f1,PhotoDragIcon:m1,PhotoIcon:g1,PhotoStabilizeIcon:y1,PinAltIcon:b1,PinIcon:E1,PlayAllHollowIcon:A1,PlayBackIcon:Ro,PlayHollowIcon:_o,PlayIcon:Oo,PlayNextIcon:Fo,PlusIcon:S1,PointerDefaultIcon:w1,PointerHandIcon:Io,PowerIcon:C1,PrintIcon:v1,ProceedIcon:D1,ProfileIcon:x1,PullRequestIcon:T1,QuestionIcon:R1,RSSIcon:_1,RedirectIcon:O1,ReduxIcon:F1,RefreshIcon:I1,ReplyIcon:B1,RepoIcon:P1,RequestChangeIcon:N1,RewindIcon:Bo,RulerIcon:L1,SaveIcon:k1,SearchIcon:j1,ShareAltIcon:M1,ShareIcon:$1,ShieldIcon:Po,SideBySideIcon:q1,SidebarAltIcon:U1,SidebarAltToggleIcon:z1,SidebarIcon:H1,SidebarToggleIcon:G1,SpeakerIcon:V1,StackedIcon:W1,StarHollowIcon:Y1,StarIcon:K1,StatusFailIcon:X1,StatusIcon:J1,StatusPassIcon:Z1,StatusWarnIcon:Q1,StickerIcon:eb,StopAltHollowIcon:tb,StopAltIcon:_r,StopIcon:rb,StorybookIcon:nb,StructureIcon:ob,SubtractIcon:ab,SunIcon:ub,SupportIcon:ib,SwitchAltIcon:sb,SyncIcon:Or,TabletIcon:lb,ThumbsUpIcon:cb,TimeIcon:pb,TimerIcon:db,TransferIcon:hb,TrashIcon:fb,TwitterIcon:mb,TypeIcon:gb,UbuntuIcon:yb,UndoIcon:bb,UnfoldIcon:Eb,UnlockIcon:Ab,UnpinIcon:Sb,UploadIcon:wb,UserAddIcon:Cb,UserAltIcon:vb,UserIcon:Db,UsersIcon:xb,VSCodeIcon:Tb,VerifiedIcon:Rb,VideoIcon:No,WandIcon:_b,WatchIcon:Ob,WindowsIcon:Fb,WrenchIcon:Ib,XIcon:Bb,YoutubeIcon:Pb,ZoomIcon:Nb,ZoomOutIcon:Lb,ZoomResetIcon:kb,iconList:jb}=__STORYBOOK_ICONS__;var zb=__STORYBOOK_CORE_EVENTS__,{ARGTYPES_INFO_REQUEST:Lo,ARGTYPES_INFO_RESPONSE:Fr,CHANNEL_CREATED:Hb,CHANNEL_WS_DISCONNECT:Gb,CONFIG_ERROR:ko,CREATE_NEW_STORYFILE_REQUEST:Vb,CREATE_NEW_STORYFILE_RESPONSE:Wb,CURRENT_STORY_WAS_SET:Ir,DOCS_PREPARED:jo,DOCS_RENDERED:Ht,FILE_COMPONENT_SEARCH_REQUEST:Yb,FILE_COMPONENT_SEARCH_RESPONSE:Kb,FORCE_REMOUNT:xt,FORCE_RE_RENDER:Gt,GLOBALS_UPDATED:st,NAVIGATE_URL:Xb,PLAY_FUNCTION_THREW_EXCEPTION:Vt,PRELOAD_ENTRIES:Mo,PREVIEW_BUILDER_PROGRESS:Jb,PREVIEW_KEYDOWN:$o,REGISTER_SUBSCRIPTION:Zb,REQUEST_WHATS_NEW_DATA:Qb,RESET_STORY_ARGS:Wt,RESULT_WHATS_NEW_DATA:eE,SAVE_STORY_REQUEST:tE,SAVE_STORY_RESPONSE:rE,SELECT_STORY:nE,SET_CONFIG:oE,SET_CURRENT_STORY:Br,SET_FILTER:aE,SET_GLOBALS:qo,SET_INDEX:uE,SET_STORIES:iE,SET_WHATS_NEW_CACHE:sE,SHARED_STATE_CHANGED:lE,SHARED_STATE_SET:cE,STORIES_COLLAPSE_ALL:pE,STORIES_EXPAND_ALL:dE,STORY_ARGS_UPDATED:Uo,STORY_CHANGED:zo,STORY_ERRORED:Ho,STORY_FINISHED:Pr,STORY_INDEX_INVALIDATED:Go,STORY_MISSING:Nr,STORY_PREPARED:Vo,STORY_RENDERED:Tt,STORY_RENDER_PHASE_CHANGED:ke,STORY_SPECIFIED:Wo,STORY_THREW_EXCEPTION:Yt,STORY_UNCHANGED:Yo,TELEMETRY_ERROR:hE,TESTING_MODULE_CANCEL_TEST_RUN_REQUEST:fE,TESTING_MODULE_CANCEL_TEST_RUN_RESPONSE:mE,TESTING_MODULE_CRASH_REPORT:gE,TESTING_MODULE_PROGRESS_REPORT:yE,TESTING_MODULE_RUN_ALL_REQUEST:bE,TESTING_MODULE_RUN_REQUEST:EE,TOGGLE_WHATS_NEW_NOTIFICATIONS:AE,UNHANDLED_ERRORS_WHILE_PLAYING:Kt,UPDATE_GLOBALS:Xt,UPDATE_QUERY_PARAMS:Ko,UPDATE_STORY_ARGS:Jt}=__STORYBOOK_CORE_EVENTS__;var Rt=(()=>{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 PE=__STORYBOOK_CLIENT_LOGGER__,{deprecate:NE,logger:LE,once:ds,pretty:kE}=__STORYBOOK_CLIENT_LOGGER__;var UE=__STORYBOOK_CHANNELS__,{Channel:Zt,HEARTBEAT_INTERVAL:zE,HEARTBEAT_MAX_LATENCY:HE,PostMessageTransport:GE,WebsocketTransport:VE,createBrowserChannel:WE}=__STORYBOOK_CHANNELS__;var ZE=__STORYBOOK_CLIENT_LOGGER__,{deprecate:je,logger:X,once:Ue,pretty:QE}=__STORYBOOK_CLIENT_LOGGER__;var hs=Object.defineProperty,oe=(e,t)=>hs(e,"name",{value:t,configurable:!0});function ie(e){for(var t=[],r=1;r` - ${u}`).join(` +`)}`),`${o}${a!=null?` + +More info: ${a} +`:""}`}};oe(Xo,"StorybookError");var pe=Xo,fs=(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))(fs||{}),Zo=class extends pe{constructor(t){super({category:"PREVIEW_API",code:1,message:ie` + 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}};oe(Zo,"MissingStoryAfterHmrError");var Qo=Zo,ms=class extends pe{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:ie` + 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}};oe(ms,"ImplicitActionsDuringRendering");var ea=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(ea,"CalledExtractOnStoreError");var ta=ea,ra=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(ra,"MissingRenderToCanvasError");var na=ra,oa=class extends pe{constructor(t){super({category:"PREVIEW_API",code:5,message:ie` + 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}};oe(oa,"CalledPreviewMethodBeforeInitializationError");var Ae=oa,aa=class extends pe{constructor(t){super({category:"PREVIEW_API",code:6,message:ie` + 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}};oe(aa,"StoryIndexFetchError");var ua=aa,ia=class extends pe{constructor(t){super({category:"PREVIEW_API",code:7,message:ie` + 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}};oe(ia,"MdxFileWithNoCsfReferencesError");var sa=ia,la=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(la,"EmptyIndexError");var ca=la,pa=class extends pe{constructor(t){super({category:"PREVIEW_API",code:9,message:ie` + 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}};oe(pa,"NoStoryMatchError");var da=pa,ha=class extends pe{constructor(t){super({category:"PREVIEW_API",code:10,message:ie` + 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}};oe(ha,"MissingStoryFromCsfFileError");var fa=ha,ma=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(ma,"StoryStoreAccessedBeforeInitializationError");var ga=ma,ya=class extends pe{constructor(t){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: + ${t.playFunction}`}),this.data=t}};oe(ya,"MountMustBeDestructuredError");var Qt=ya,ba=class extends pe{constructor(t){super({category:"PREVIEW_API",code:14,message:ie` + No render function available for storyId '${t.id}' + `}),this.data=t}};oe(ba,"NoRenderFunctionError");var Ea=ba,Aa=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(Aa,"NoStoryMountedError");var Sa=Aa,gs=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(gs,"NextJsSharpError");var ys=class extends pe{constructor(t){super({category:"FRAMEWORK_NEXTJS",code:2,message:ie` + 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}};oe(ys,"NextjsRouterMocksNotAvailable");var bs=class extends pe{constructor(t){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 ${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}};oe(bs,"UnknownArgTypesError");var Es=class extends pe{constructor(t){super({category:"ADDON_VITEST",code:1,message:ie` + 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}};oe(Es,"UnsupportedViewportDimensionError");var As=Object.create,jr=Object.defineProperty,Ss=Object.getOwnPropertyDescriptor,ws=Object.getOwnPropertyNames,Cs=Object.getPrototypeOf,vs=Object.prototype.hasOwnProperty,se=(e,t)=>jr(e,"name",{value:t,configurable:!0}),Ds=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),xs=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of ws(t))!vs.call(e,o)&&o!==r&&jr(e,o,{get:()=>t[o],enumerable:!(n=Ss(t,o))||n.enumerable});return e},Ts=(e,t,r)=>(r=e!=null?As(Cs(e)):{},xs(t||!e||!e.__esModule?jr(r,"default",{value:e,enumerable:!0}):r,e)),Rs=Ds(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 se(function u(i,s,l){var f,m,y,E=t.call(i),w=t.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!=w||(f=n(i),m=n(s),f.length!=m.length||f.some(function(C){return!u(i[C],s[C],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":f=i.entries(),m=s.entries();do if(!u((y=f.next()).value,m.next().value,l))return!1;while(!y.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(y=0;y`${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()}se(va,"toStartCaseStr");var wa=Ts(Rs(),1),Da=se(e=>e.map(t=>typeof t<"u").filter(Boolean).length,"count"),_s=se((e,t)=>{let{exists:r,eq:n,neq:o,truthy:a}=e;if(Da([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,wa.isEqual)(t,n);if(typeof o<"u")return!(0,wa.isEqual)(t,o);if(typeof r<"u"){let u=typeof t<"u";return r?u:!u}return typeof a>"u"||a?!!t:!t},"testValue"),xa=se((e,t,r)=>{if(!e.if)return!0;let{arg:n,global:o}=e.if;if(Da([n,o])!==1)throw new Error(`Invalid conditional value ${JSON.stringify({arg:n,global:o})}`);let a=n?t[n]:r[o];return _s(e.if,a)},"includeConditionalArg");function Os(e){let t,r={_tag:"Preview",input:e,get composed(){if(t)return t;let{addons:n,...o}=e;return t=ct(et([...n??[],o])),t},meta(n){return Ta(n,this)}};return globalThis.globalProjectAnnotations=r.composed,r}se(Os,"__definePreview");function Fs(e){return e!=null&&typeof e=="object"&&"_tag"in e&&e?._tag==="Preview"}se(Fs,"isPreview");function Is(e){return e!=null&&typeof e=="object"&&"_tag"in e&&e?._tag==="Meta"}se(Is,"isMeta");function Ta(e,t){return{_tag:"Meta",input:e,preview:t,get composed(){throw new Error("Not implemented")},story(r){return Ra(r,this)}}}se(Ta,"defineMeta");function Ra(e,t){return{_tag:"Story",input:e,meta:t,get composed(){throw new Error("Not implemented")}}}se(Ra,"defineStory");function Qe(e){return e!=null&&typeof e=="object"&&"_tag"in e&&e?._tag==="Story"}se(Qe,"isStory");var Mr=se(e=>e.toLowerCase().replace(/[ ’–—―′¿'`~!@#$%^&*()_|+\-=?;:'",.<>\{\}\[\]\\\/]/gi,"-").replace(/-+/g,"-").replace(/^-+/,"").replace(/-+$/,""),"sanitize"),Ca=se((e,t)=>{let r=Mr(e);if(r==="")throw new Error(`Invalid ${t} '${e}', must include alphanumeric characters`);return r},"sanitizeSafe"),_a=se((e,t)=>`${Ca(e,"kind")}${t?`--${Ca(t,"name")}`:""}`,"toId"),Oa=se(e=>va(e),"storyNameFromExport");function kr(e,t){return Array.isArray(t)?t.includes(e):e.match(t)}se(kr,"matches");function lt(e,{includeStories:t,excludeStories:r}){return e!=="__esModule"&&(!t||kr(e,t))&&(!r||!kr(e,r))}se(lt,"isExportStory");var TA=se((e,{rootSeparator:t,groupSeparator:r})=>{let[n,o]=e.split(t,2),a=(o||e).split(r).filter(u=>!!u);return{root:o?n:null,groups:a}},"parseKind"),Fa=se((...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 Bs=Object.create,sn=Object.defineProperty,Ps=Object.getOwnPropertyDescriptor,Ns=Object.getOwnPropertyNames,Ls=Object.getPrototypeOf,ks=Object.prototype.hasOwnProperty,d=(e,t)=>sn(e,"name",{value:t,configurable:!0}),er=(e=>typeof Ee<"u"?Ee:typeof Proxy<"u"?new Proxy(e,{get:(t,r)=>(typeof Ee<"u"?Ee:t)[r]}):e)(function(e){if(typeof Ee<"u")return Ee.apply(this,arguments);throw Error('Dynamic require of "'+e+'" is not supported')}),he=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),js=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of Ns(t))!ks.call(e,o)&&o!==r&&sn(e,o,{get:()=>t[o],enumerable:!(n=Ps(t,o))||n.enumerable});return e},ft=(e,t,r)=>(r=e!=null?Bs(Ls(e)):{},js(t||!e||!e.__esModule?sn(r,"default",{value:e,enumerable:!0}):r,e)),Wa=he((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 d(function a(u,i,s){function l(y,E){if(!i[y]){if(!u[y]){var w=typeof er=="function"&&er;if(!E&&w)return w(y,!0);if(f)return f(y,!0);var C=new Error("Cannot find module '"+y+"'");throw C.code="MODULE_NOT_FOUND",C}var b=i[y]={exports:{}};u[y][0].call(b.exports,function(S){var A=u[y][1][S];return l(A||S)},b,b.exports,a,u,i,s)}return i[y].exports}d(l,"s");for(var f=typeof er=="function"&&er,m=0;m=0)return this.lastItem=this.list[f],this.list[f].val},s.prototype.set=function(l,f){var m;return this.lastItem&&this.isEqual(this.lastItem.key,l)?(this.lastItem.val=f,this):(m=this.indexOf(l),m>=0?(this.lastItem=this.list[m],this.list[m].val=f,this):(this.lastItem={key:l,val:f},this.list.push(this.lastItem),this.size++,this))},s.prototype.delete=function(l){var f;if(this.lastItem&&this.isEqual(this.lastItem.key,l)&&(this.lastItem=void 0),f=this.indexOf(l),f>=0)return this.size--,this.list.splice(f,1)[0]},s.prototype.has=function(l){var f;return this.lastItem&&this.isEqual(this.lastItem.key,l)?!0:(f=this.indexOf(l),f>=0?(this.lastItem=this.list[f],!0):!1)},s.prototype.forEach=function(l,f){var m;for(m=0;m0&&(I[_]={cacheItem:S,arg:arguments[_]},v?l(w,I):w.push(I),w.length>y&&f(w.shift())),b.wasMemoized=v,b.numArgs=_+1,x},"memoizerific");return b.limit=y,b.wasMemoized=!1,b.cache=E,b.lru=w,b}};function l(y,E){var w=y.length,C=E.length,b,S,A;for(S=0;S=0&&(w=y[b],C=w.cacheItem.get(w.arg),!C||!C.size);b--)w.cacheItem.delete(w.arg)}d(f,"removeCachedResult");function m(y,E){return y===E||y!==y&&E!==E}d(m,"isEqual")},{"map-or-similar":1}]},{},[3])(3)})}),Ya=he(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 u="",i=0,s=0;e:for(;s>6]+t[128|l&63];continue}if(l<55296||l>=57344){i=s+1,u+=t[224|l>>12]+t[128|l>>6&63]+t[128|l&63];continue}if(++s,s>=a)throw new Error("URI malformed");let f=o.charCodeAt(s)&1023;i=s+1,l=65536+((l&1023)<<10|f),u+=t[240|l>>18]+t[128|l>>12&63]+t[128|l>>6&63]+t[128|l&63]}return i===0?o:i{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.defaultOptions=e.defaultShouldSerializeObject=e.defaultValueSerializer=void 0;var t=Ya(),r=d(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=d(a=>a instanceof Date,"defaultShouldSerializeObject");e.defaultShouldSerializeObject=n;var o=d(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}}),Ka=he(e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getDeepObject=o,e.stringifyObject=f;var t=ln(),r=Ya();function n(m){return m==="__proto__"||m==="constructor"||m==="prototype"}d(n,"isPrototypeKey");function o(m,y,E,w,C){if(n(y))return m;let b=m[y];return typeof b=="object"&&b!==null?b:!w&&(C||typeof E=="number"||typeof E=="string"&&E*0===0&&E.indexOf(".")===-1)?m[y]=[]:m[y]={}}d(o,"getDeepObject");var a=20,u="[]",i="[",s="]",l=".";function f(m,y,E=0,w,C){let{nestingSyntax:b=t.defaultOptions.nestingSyntax,arrayRepeat:S=t.defaultOptions.arrayRepeat,arrayRepeatSyntax:A=t.defaultOptions.arrayRepeatSyntax,nesting:x=t.defaultOptions.nesting,delimiter:_=t.defaultOptions.delimiter,valueSerializer:I=t.defaultOptions.valueSerializer,shouldSerializeObject:v=t.defaultOptions.shouldSerializeObject}=y,T=typeof _=="number"?String.fromCharCode(_):_,B=C===!0&&S,L=b==="dot"||b==="js"&&!C;if(E>a)return"";let k="",q=!0,P=!1;for(let M in m){let h=m[M],p;w?(p=w,B?A==="bracket"&&(p+=u):L?(p+=l,p+=M):(p+=i,p+=M,p+=s)):p=M,q||(k+=T),typeof h=="object"&&h!==null&&!v(h)?(P=h.pop!==void 0,(x||S&&P)&&(k+=f(h,y,E+1,p,P))):(k+=(0,r.encodeString)(p),k+="=",k+=I(h,M)),q&&(q=!1)}return k}d(f,"stringifyObject")}),Ms=he((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(s){var l=s.indexOf("%");if(l===-1)return s;for(var f=s.length,m="",y=0,E=0,w=l,C=r;l>-1&&l>10),56320+(E&1023)),E=0,y=l+3,l=w=s.indexOf("%",y);else{if(C===n)return null;if(l+=3,l{"use strict";var t=e&&e.__importDefault||function(m){return m&&m.__esModule?m:{default:m}};Object.defineProperty(e,"__esModule",{value:!0}),e.numberValueDeserializer=e.numberKeyDeserializer=void 0,e.parse=f;var r=Ka(),n=ln(),o=t(Ms()),a=d(m=>{let y=Number(m);return Number.isNaN(y)?m:y},"numberKeyDeserializer");e.numberKeyDeserializer=a;var u=d(m=>{let y=Number(m);return Number.isNaN(y)?m:y},"numberValueDeserializer");e.numberValueDeserializer=u;var i=/\+/g,s=d(function(){},"Empty");s.prototype=Object.create(null);function l(m,y,E,w,C){let b=m.substring(y,E);return w&&(b=b.replace(i," ")),C&&(b=(0,o.default)(b)||b),b}d(l,"computeKeySlice");function f(m,y){let{valueDeserializer:E=n.defaultOptions.valueDeserializer,keyDeserializer:w=n.defaultOptions.keyDeserializer,arrayRepeatSyntax:C=n.defaultOptions.arrayRepeatSyntax,nesting:b=n.defaultOptions.nesting,arrayRepeat:S=n.defaultOptions.arrayRepeat,nestingSyntax:A=n.defaultOptions.nestingSyntax,delimiter:x=n.defaultOptions.delimiter}=y??{},_=typeof x=="string"?x.charCodeAt(0):x,I=A==="js",v=new s;if(typeof m!="string")return v;let T=m.length,B="",L=-1,k=-1,q=-1,P=v,M,h="",p="",g=!1,R=!1,D=!1,O=!1,F=!1,N=!1,j=!1,Q=0,te=-1,J=-1,ue=-1;for(let V=0;VL,j||(k=V),q!==k-1&&(p=l(m,q+1,te>-1?te:k,D,g),h=w(p),M!==void 0&&(P=(0,r.getDeepObject)(P,M,h,I&&F,I&&N))),j||h!==""){j&&(B=m.slice(k+1,V),O&&(B=B.replace(i," ")),R&&(B=(0,o.default)(B)||B));let ce=E(B,h);if(S){let De=P[h];De===void 0?te>-1?P[h]=[ce]:P[h]=ce:De.pop?De.push(ce):P[h]=[De,ce]}else P[h]=ce}B="",L=V,k=V,g=!1,R=!1,D=!1,O=!1,F=!1,N=!1,te=-1,q=V,P=v,M=void 0,h=""}else Q===93?(S&&C==="bracket"&&ue===91&&(te=J),b&&(A==="index"||I)&&k<=L&&(q!==J&&(p=l(m,q+1,V,D,g),h=w(p),M!==void 0&&(P=(0,r.getDeepObject)(P,M,h,void 0,I)),M=h,D=!1,g=!1),q=V,N=!0,F=!1)):Q===46?b&&(A==="dot"||I)&&k<=L&&(q!==J&&(p=l(m,q+1,V,D,g),h=w(p),M!==void 0&&(P=(0,r.getDeepObject)(P,M,h,I)),M=h,D=!1,g=!1),F=!0,N=!1,q=V):Q===91?b&&(A==="index"||I)&&k<=L&&(q!==J&&(p=l(m,q+1,V,D,g),h=w(p),I&&M!==void 0&&(P=(0,r.getDeepObject)(P,M,h,I)),M=h,D=!1,g=!1,F=!1,N=!0),q=V):Q===61?k<=L?k=V:R=!0:Q===43?k>L?O=!0:D=!0:Q===37&&(k>L?R=!0:g=!0);J=V,ue=Q}return v}d(f,"parse")}),qs=he(e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.stringify=r;var t=Ka();function r(n,o){if(n===null||typeof n!="object")return"";let a=o??{};return(0,t.stringifyObject)(n,a)}d(r,"stringify")}),cn=he(e=>{"use strict";var t=e&&e.__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:d(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=e&&e.__exportStar||function(a,u){for(var i in a)i!=="default"&&!Object.prototype.hasOwnProperty.call(u,i)&&t(u,a,i)};Object.defineProperty(e,"__esModule",{value:!0}),e.stringify=e.parse=void 0;var n=$s();Object.defineProperty(e,"parse",{enumerable:!0,get:d(function(){return n.parse},"get")});var o=qs();Object.defineProperty(e,"stringify",{enumerable:!0,get:d(function(){return o.stringify},"get")}),r(ln(),e)}),Xa=he((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"}}),Us=he((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"}}),Ja=he((e,t)=>{t.exports={amp:"&",apos:"'",gt:">",lt:"<",quot:'"'}}),zs=he((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}}),Hs=he(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(zs()),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))}d(o,"decodeCodePoint"),e.default=o}),Ia=he(e=>{"use strict";var t=e&&e.__importDefault||function(f){return f&&f.__esModule?f:{default:f}};Object.defineProperty(e,"__esModule",{value:!0}),e.decodeHTML=e.decodeHTMLStrict=e.decodeXML=void 0;var r=t(Xa()),n=t(Us()),o=t(Ja()),a=t(Hs()),u=/&(?:[a-zA-Z0-9]+|#[xX][\da-fA-F]+|#\d+);/g;e.decodeXML=i(o.default),e.decodeHTMLStrict=i(r.default);function i(f){var m=l(f);return function(y){return String(y).replace(u,m)}}d(i,"getStrictDecoder");var s=d(function(f,m){return f{"use strict";var t=e&&e.__importDefault||function(A){return A&&A.__esModule?A:{default:A}};Object.defineProperty(e,"__esModule",{value:!0}),e.escapeUTF8=e.escape=e.encodeNonAsciiHTML=e.encodeHTML=e.encodeXML=void 0;var r=t(Ja()),n=s(r.default),o=l(n);e.encodeXML=S(n);var a=t(Xa()),u=s(a.default),i=l(u);e.encodeHTML=E(u,i),e.encodeNonAsciiHTML=S(u);function s(A){return Object.keys(A).sort().reduce(function(x,_){return x[A[_]]="&"+_+";",x},{})}d(s,"getInverseObj");function l(A){for(var x=[],_=[],I=0,v=Object.keys(A);I1?m(A):A.charCodeAt(0)).toString(16).toUpperCase()+";"}d(y,"singleCharReplacer");function E(A,x){return function(_){return _.replace(x,function(I){return A[I]}).replace(f,y)}}d(E,"getInverse");var w=new RegExp(o.source+"|"+f.source,"g");function C(A){return A.replace(w,y)}d(C,"escape"),e.escape=C;function b(A){return A.replace(o,y)}d(b,"escapeUTF8"),e.escapeUTF8=b;function S(A){return function(x){return x.replace(w,function(_){return A[_]||y(_)})}}d(S,"getASCIIEncoder")}),Gs=he(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=Ia(),r=Ba();function n(s,l){return(!l||l<=0?t.decodeXML:t.decodeHTML)(s)}d(n,"decode"),e.decode=n;function o(s,l){return(!l||l<=0?t.decodeXML:t.decodeHTMLStrict)(s)}d(o,"decodeStrict"),e.decodeStrict=o;function a(s,l){return(!l||l<=0?r.encodeXML:r.encodeHTML)(s)}d(a,"encode"),e.encode=a;var u=Ba();Object.defineProperty(e,"encodeXML",{enumerable:!0,get:d(function(){return u.encodeXML},"get")}),Object.defineProperty(e,"encodeHTML",{enumerable:!0,get:d(function(){return u.encodeHTML},"get")}),Object.defineProperty(e,"encodeNonAsciiHTML",{enumerable:!0,get:d(function(){return u.encodeNonAsciiHTML},"get")}),Object.defineProperty(e,"escape",{enumerable:!0,get:d(function(){return u.escape},"get")}),Object.defineProperty(e,"escapeUTF8",{enumerable:!0,get:d(function(){return u.escapeUTF8},"get")}),Object.defineProperty(e,"encodeHTML4",{enumerable:!0,get:d(function(){return u.encodeHTML},"get")}),Object.defineProperty(e,"encodeHTML5",{enumerable:!0,get:d(function(){return u.encodeHTML},"get")});var i=Ia();Object.defineProperty(e,"decodeXML",{enumerable:!0,get:d(function(){return i.decodeXML},"get")}),Object.defineProperty(e,"decodeHTML",{enumerable:!0,get:d(function(){return i.decodeHTML},"get")}),Object.defineProperty(e,"decodeHTMLStrict",{enumerable:!0,get:d(function(){return i.decodeHTMLStrict},"get")}),Object.defineProperty(e,"decodeHTML4",{enumerable:!0,get:d(function(){return i.decodeHTML},"get")}),Object.defineProperty(e,"decodeHTML5",{enumerable:!0,get:d(function(){return i.decodeHTML},"get")}),Object.defineProperty(e,"decodeHTML4Strict",{enumerable:!0,get:d(function(){return i.decodeHTMLStrict},"get")}),Object.defineProperty(e,"decodeHTML5Strict",{enumerable:!0,get:d(function(){return i.decodeHTMLStrict},"get")}),Object.defineProperty(e,"decodeXMLStrict",{enumerable:!0,get:d(function(){return i.decodeXML},"get")})}),Vs=he((e,t)=>{"use strict";function r(h,p){if(!(h instanceof p))throw new TypeError("Cannot call a class as a function")}d(r,"_classCallCheck");function n(h,p){for(var g=0;g=h.length?{done:!0}:{done:!1,value:h[R++]}},"n"),e:d(function(j){throw j},"e"),f:D}}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 O=!0,F=!1,N;return{s:d(function(){g=g.call(h)},"s"),n:d(function(){var j=g.next();return O=j.done,j},"n"),e:d(function(j){F=!0,N=j},"e"),f:d(function(){try{!O&&g.return!=null&&g.return()}finally{if(F)throw N}},"f")}}d(a,"_createForOfIteratorHelper");function u(h,p){if(h){if(typeof h=="string")return i(h,p);var g=Object.prototype.toString.call(h).slice(8,-1);if(g==="Object"&&h.constructor&&(g=h.constructor.name),g==="Map"||g==="Set")return Array.from(h);if(g==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(g))return i(h,p)}}d(u,"_unsupportedIterableToArray");function i(h,p){(p==null||p>h.length)&&(p=h.length);for(var g=0,R=new Array(p);g0?h*40+55:0,F=p>0?p*40+55:0,N=g>0?g*40+55:0;R[D]=E([O,F,N])}d(m,"setStyleColor");function y(h){for(var p=h.toString(16);p.length<2;)p="0"+p;return p}d(y,"toHexString");function E(h){var p=[],g=a(h),R;try{for(g.s();!(R=g.n()).done;){var D=R.value;p.push(y(D))}}catch(O){g.e(O)}finally{g.f()}return"#"+p.join("")}d(E,"toColorHexString");function w(h,p,g,R){var D;return p==="text"?D=I(g,R):p==="display"?D=b(h,g,R):p==="xterm256Foreground"?D=B(h,R.colors[g]):p==="xterm256Background"?D=L(h,R.colors[g]):p==="rgb"&&(D=C(h,g)),D}d(w,"generateOutput");function C(h,p){p=p.substring(2).slice(0,-1);var g=+p.substr(0,2),R=p.substring(5).split(";"),D=R.map(function(O){return("0"+Number(O).toString(16)).substr(-2)}).join("");return T(h,(g===38?"color:#":"background-color:#")+D)}d(C,"handleRgb");function b(h,p,g){p=parseInt(p,10);var R={"-1":d(function(){return"
"},"_"),0:d(function(){return h.length&&S(h)},"_"),1:d(function(){return v(h,"b")},"_"),3:d(function(){return v(h,"i")},"_"),4:d(function(){return v(h,"u")},"_"),8:d(function(){return T(h,"display:none")},"_"),9:d(function(){return v(h,"strike")},"_"),22:d(function(){return T(h,"font-weight:normal;text-decoration:none;font-style:normal")},"_"),23:d(function(){return k(h,"i")},"_"),24:d(function(){return k(h,"u")},"_"),39:d(function(){return B(h,g.fg)},"_"),49:d(function(){return L(h,g.bg)},"_"),53:d(function(){return T(h,"text-decoration:overline")},"_")},D;return R[p]?D=R[p]():4"}).join("")}d(S,"resetStyles");function A(h,p){for(var g=[],R=h;R<=p;R++)g.push(R);return g}d(A,"range");function x(h){return function(p){return(h===null||p.category!==h)&&h!=="all"}}d(x,"notCategory");function _(h){h=parseInt(h,10);var p=null;return h===0?p="all":h===1?p="bold":2")}d(v,"pushTag");function T(h,p){return v(h,"span",p)}d(T,"pushStyle");function B(h,p){return v(h,"span","color:"+p)}d(B,"pushForegroundColor");function L(h,p){return v(h,"span","background-color:"+p)}d(L,"pushBackgroundColor");function k(h,p){var g;if(h.slice(-1)[0]===p&&(g=h.pop()),g)return""}d(k,"closeTag");function q(h,p,g){var R=!1,D=3;function O(){return""}d(O,"remove");function F(re,ne){return g("xterm256Foreground",ne),""}d(F,"removeXterm256Foreground");function N(re,ne){return g("xterm256Background",ne),""}d(N,"removeXterm256Background");function j(re){return p.newline?g("display",-1):g("text",re),""}d(j,"newline");function Q(re,ne){R=!0,ne.trim().length===0&&(ne="0"),ne=ne.trimRight(";").split(";");var Ne=a(ne),wt;try{for(Ne.s();!(wt=Ne.n()).done;){var Dr=wt.value;g("display",Dr)}}catch(xr){Ne.e(xr)}finally{Ne.f()}return""}d(Q,"ansiMess");function te(re){return g("text",re),""}d(te,"realText");function J(re){return g("rgb",re),""}d(J,"rgb");var ue=[{pattern:/^\x08+/,sub:O},{pattern:/^\x1b\[[012]?K/,sub:O},{pattern:/^\x1b\[\(B/,sub:O},{pattern:/^\x1b\[[34]8;2;\d+;\d+;\d+m/,sub:J},{pattern:/^\x1b\[38;5;(\d+)m/,sub:F},{pattern:/^\x1b\[48;5;(\d+)m/,sub:N},{pattern:/^\n/,sub:j},{pattern:/^\r+\n/,sub:j},{pattern:/^\r/,sub:j},{pattern:/^\x1b\[((?:\d{1,3};?)+|)m/,sub:Q},{pattern:/^\x1b\[\d?J/,sub:O},{pattern:/^\x1b\[\d{0,3};\d{0,3}f/,sub:O},{pattern:/^\x1b\[?[\d;]{0,3}/,sub:O},{pattern:/^(([^\x1b\x08\r\n])+)/,sub:te}];function V(re,ne){ne>D&&R||(R=!1,h=h.replace(re.pattern,re.sub))}d(V,"process");var ce=[],De=h,be=De.length;e:for(;be>0;){for(var Oe=0,St=0,Cr=ue.length;St{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 Za(){let e={setHandler:d(()=>{},"setHandler"),send:d(()=>{},"send")};return new Zt({transport:e})}d(Za,"mockChannel");var Qa=class{constructor(){this.getChannel=d(()=>{if(!this.channel){let t=Za();return this.setChannel(t),t}return this.channel},"getChannel"),this.ready=d(()=>this.promise,"ready"),this.hasChannel=d(()=>!!this.channel,"hasChannel"),this.setChannel=d(t=>{this.channel=t,this.resolve()},"setChannel"),this.promise=new Promise(t=>{this.resolve=()=>t(this.getChannel())})}};d(Qa,"AddonStore");var Ws=Qa,$r="__STORYBOOK_ADDONS_PREVIEW";function eu(){return de[$r]||(de[$r]=new Ws),de[$r]}d(eu,"getAddonsStore");var Ve=eu();function Ys(e){return e}d(Ys,"definePreview");var tu=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=d(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(),Ve.getChannel().on(Tt,this.renderListener)}removeRenderListeners(){Ve.getChannel().removeListener(Tt,this.renderListener)}};d(tu,"HooksContext");var ru=tu;function Wr(e){let t=d((...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=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 s=de.STORYBOOK_HOOKS_CONTEXT;de.STORYBOOK_HOOKS_CONTEXT=n;let l=e(...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 t.originalFn=e,t}d(Wr,"hookify");var qr=0,Ks=25,Xs=d(e=>(t,r)=>{let n=e(Wr(t),r.map(o=>Wr(o)));return o=>{let{hooks:a}=o;a.prevMountedDecorators??=new Set,a.mountedDecorators=new Set([t,...r]),a.currentContext=o,a.hasUpdates=!1;let u=n(o);for(qr=1;a.hasUpdates;)if(a.hasUpdates=!1,a.currentEffects=[],u=n(o),qr+=1,qr>Ks)throw new Error("Too many re-renders. Storybook limits the number of renders to prevent an infinite loop.");return a.addRenderListeners(),u}},"applyHooks"),Js=d((e,t)=>e.length===t.length&&e.every((r,n)=>r===t[n]),"areDepsEqual"),pn=d(()=>new Error("Storybook preview hooks can only be called inside decorators and story functions."),"invalidHooksError");function dn(){return de.STORYBOOK_HOOKS_CONTEXT||null}d(dn,"getHooksContextOrNull");function lr(){let e=dn();if(e==null)throw pn();return e}d(lr,"getHooksContextOrThrow");function nu(e,t,r){let n=lr();if(n.currentPhase==="MOUNT"){r!=null&&!Array.isArray(r)&&X.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&&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(`${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&&X.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||!Js(r,o.deps))&&(t(o),o.deps=r),o}throw pn()}d(nu,"useHook");function It(e,t,r){let{memoizedState:n}=nu(e,o=>{o.memoizedState=t()},r);return n}d(It,"useMemoLike");function Zs(e,t){return It("useMemo",e,t)}d(Zs,"useMemo");function Ft(e,t){return It("useCallback",()=>e,t)}d(Ft,"useCallback");function hn(e,t){return It(e,()=>({current:t}),[])}d(hn,"useRefLike");function Qs(e){return hn("useRef",e)}d(Qs,"useRef");function ou(){let e=dn();if(e!=null&&e.currentPhase!=="NONE")e.hasUpdates=!0;else try{Ve.getChannel().emit(Gt)}catch{X.warn("State updates of Storybook preview hooks work only in browser")}}d(ou,"triggerUpdate");function fn(e,t){let r=hn(e,typeof t=="function"?t():t),n=d(o=>{r.current=typeof o=="function"?o(r.current):o,ou()},"setState");return[r.current,n]}d(fn,"useStateLike");function mn(e){return fn("useState",e)}d(mn,"useState");function el(e,t,r){let n=r!=null?()=>r(t):t,[o,a]=fn("useReducer",n);return[o,d(u=>a(i=>e(i,u)),"dispatch")]}d(el,"useReducer");function cr(e,t){let r=lr(),n=It("useEffect",()=>({create:e}),t);r.currentEffects.includes(n)||r.currentEffects.push(n)}d(cr,"useEffect");function tl(e,t=[]){let r=Ve.getChannel();return cr(()=>(Object.entries(e).forEach(([n,o])=>r.on(n,o)),()=>{Object.entries(e).forEach(([n,o])=>r.removeListener(n,o))}),[...Object.keys(e),...t]),Ft(r.emit.bind(r),[r])}d(tl,"useChannel");function pr(){let{currentContext:e}=lr();if(e==null)throw pn();return e}d(pr,"useStoryContext");function rl(e,t){let{parameters:r}=pr();if(e)return r[e]??t}d(rl,"useParameter");function nl(){let e=Ve.getChannel(),{id:t,args:r}=pr(),n=Ft(a=>e.emit(Jt,{storyId:t,updatedArgs:a}),[e,t]),o=Ft(a=>e.emit(Wt,{storyId:t,argNames:a}),[e,t]);return[r,n,o]}d(nl,"useArgs");function ol(){let e=Ve.getChannel(),{globals:t}=pr(),r=Ft(n=>e.emit(Xt,{globals:n}),[e]);return[t,r]}d(ol,"useGlobals");var kA=d(({name:e,parameterName:t,wrapper:r,skipIfNoParametersOrOptions:n=!1})=>{let o=d(a=>(u,i)=>{let s=i.parameters&&i.parameters[t];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 ${e}() is not allowed, + instead use addDecorator(${e}) and pass options with the '${t}' parameter`)}},"makeDecorator");function le(e){for(var t=[],r=1;r(this.debug("getState",{state:this.state}),this.state),"getState"),this.subscribe=d((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=d(n=>{if(this.debug("send",{event:n}),this.status!==U.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=t.debug??!1,!U.isInternalConstructing)throw new TypeError("UniversalStore is not constructable - use UniversalStore.create() instead");if(U.isInternalConstructing=!1,this.id=t.id,this.actorId=Date.now().toString(36)+Math.random().toString(36).substring(2),this.actorType=t.leader?U.ActorType.LEADER:U.ActorType.FOLLOWER,this.state=t.initialState,this.channelEventName=`${ul}${this.id}`,this.debug("constructor",{options:t,environmentOverrides:r,channelEventName:this.channelEventName}),this.actor.type===U.ActorType.LEADER)this.syncing={state:xe.RESOLVED,promise:Promise.resolve()};else{let n,o,a=new Promise((u,i)=>{n=d(()=>{this.syncing.state===xe.PENDING&&(this.syncing.state=xe.RESOLVED,u())},"syncingResolve"),o=d(s=>{this.syncing.state===xe.PENDING&&(this.syncing.state=xe.REJECTED,i(s))},"syncingReject")});this.syncing={state:xe.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??U.preparation.channel,this.environment=r?.environment??U.preparation.environment,this.channel&&this.environment?this.prepareThis({channel:this.channel,environment:this.environment}):U.preparation.promise.then(this.prepareThis)}static setupPreparationPromise(){let t,r,n=new Promise((o,a)=>{t=d(u=>{o(u)},"resolveRef"),r=d((...u)=>{a(u)},"rejectRef")});U.preparation={resolve:t,reject:r,promise:n}}get actor(){return Object.freeze({id:this.actorId,type:this.actorType,environment:this.environment??U.Environment.UNKNOWN})}get status(){if(!this.channel||!this.environment)return U.Status.UNPREPARED;switch(this.syncing?.state){case xe.PENDING:case void 0:return U.Status.SYNCING;case xe.REJECTED:return U.Status.ERROR;case xe.RESOLVED:default:return U.Status.READY}}untilReady(){return Promise.all([U.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(le`[UniversalStore] + create`,{options:t});let r=Pa.get(t.id);if(r)return console.warn(le`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;U.isInternalConstructing=!0;let n=new U(t);return Pa.set(t.id,n),n}static __prepare(t,r){U.preparation.channel=t,U.preparation.environment=r,U.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!==U.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:U.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(U.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===U.ActorType.LEADER?this.emitToChannel({type:U.InternalEventType.LEADER_CREATED},{actor:this.actor}):(this.emitToChannel({type:U.InternalEventType.FOLLOWER_CREATED},{actor:this.actor}),this.emitToChannel({type:U.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===xe.PENDING&&r.type!==U.InternalEventType.EXISTING_STATE_RESPONSE){this.debug("handleChannelEvents: Ignoring event while syncing",{channelEvent:t});return}if(this.debug("handleChannelEvents",{channelEvent:t}),this.actor.type===U.ActorType.LEADER){let o=!0;switch(r.type){case U.InternalEventType.EXISTING_STATE_REQUEST:o=!1;let a={type:U.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 U.InternalEventType.LEADER_CREATED:o=!1,this.syncing.state=xe.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:t}),this.emitToChannel(r,{actor:n.actor,forwardingActor:this.actor}))}if(this.actor.type===U.ActorType.FOLLOWER)switch(r.type){case U.InternalEventType.EXISTING_STATE_RESPONSE:if(this.debug("handleChannelEvents: Setting state from leader's existing state response",{event:r}),this.syncing?.state!==xe.PENDING)break;this.syncing.resolve?.();let o={type:U.InternalEventType.SET_STATE,payload:{state:r.payload,previousState:this.state}};this.state=r.payload,this.emitToListeners(o,n);break}switch(r.type){case U.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(le`[UniversalStore::${this.id}::${this.environment??U.Environment.UNKNOWN}] + ${t}`,JSON.stringify({data:r,actor:this.actor,state:this.state,status:this.status},null,2))}static __reset(){U.preparation.reject(new Error("reset")),U.setupPreparationPromise(),U.isInternalConstructing=!1}};d(ze,"UniversalStore"),ze.ActorType={LEADER:"LEADER",FOLLOWER:"FOLLOWER"},ze.Environment={SERVER:"SERVER",MANAGER:"MANAGER",PREVIEW:"PREVIEW",UNKNOWN:"UNKNOWN",MOCK:"MOCK"},ze.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"},ze.Status={UNPREPARED:"UNPREPARED",SYNCING:"SYNCING",READY:"READY",ERROR:"ERROR"},ze.isInternalConstructing=!1,ze.setupPreparationPromise();var tr=ze;function au(e,t){let r={},n=Object.entries(e);for(let o=0;oObject.prototype.propertyIsEnumerable.call(e,t))}d(Yr,"getSymbols");function Kr(e){return e==null?e===void 0?"[object Undefined]":"[object Null]":Object.prototype.toString.call(e)}d(Kr,"getTag");function gn(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 Ie(e,t)}return Ie(e,t)}d(gn,"isEqual");function Ie(e,t,r){if(Object.is(e,t))return!0;let n=Kr(e),o=Kr(t);if(n===Na&&(n=Ur),o===Na&&(o=Ur),n!==o)return!1;switch(n){case sl:return e.toString()===t.toString();case ll:{let i=e.valueOf(),s=t.valueOf();return i===s||Number.isNaN(i)&&Number.isNaN(s)}case cl:case dl:case pl:return Object.is(e.valueOf(),t.valueOf());case il:return e.source===t.source&&e.flags===t.flags;case gl:return e===t}r=r??new Map;let a=r.get(e),u=r.get(t);if(a!=null&&u!=null)return a===t;r.set(e,t),r.set(t,e);try{switch(n){case hl:{if(e.size!==t.size)return!1;for(let[i,s]of e.entries())if(!t.has(i)||!Ie(s,t.get(i),r))return!1;return!0}case fl:{if(e.size!==t.size)return!1;let i=Array.from(e.values()),s=Array.from(t.values());for(let l=0;lIe(f,y,r));if(m===-1)return!1;s.splice(m,1)}return!0}case ml:case Al:case Sl:case wl:case Cl:case vl:case Dl:case xl:case Tl:case Rl:case _l:case Ol:{if(typeof Buffer<"u"&&Buffer.isBuffer(e)!==Buffer.isBuffer(t)||e.length!==t.length)return!1;for(let i=0;i{let[r,n]=mn(t?t(e.getState()):e.getState());return cr(()=>e.onStateChange((o,a)=>{if(!t){n(o);return}let u=t(o),i=t(a);!gn(u,i)&&n(u)}),[e,n,t]),[r,e.setState]},"useUniversalStore"),Fl=class su extends tr{constructor(t,r){tr.isInternalConstructing=!0,super({...t,leader:!0},{channel:new Zt({}),environment:tr.Environment.MOCK}),tr.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 su(t,r)}unsubscribeAll(){if(!this.testUtils)throw new Error(al`Cannot call unsubscribeAll on a store that does not have testUtils. + Please provide testUtils as the second argument when creating the store.`);let t=d(r=>{try{r.value()}catch{}},"callReturnedUnsubscribeFn");this.subscribe.mock?.results.forEach(t),this.onStateChange.mock?.results.forEach(t)}};d(Fl,"MockUniversalStore");var zr=ft(Wa(),1),pt=Symbol("incompatible"),Xr=d((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)?pt:e.reduce((n,o,a)=>{let u=Xr(o,{type:r.value});return u!==pt&&(n[a]=u),n},new Array(e.length));case"object":return typeof e=="string"||typeof e=="number"?e:!r.value||typeof e!="object"?pt:Object.entries(e).reduce((n,[o,a])=>{let u=Xr(a,{type:r.value[o]});return u===pt?n:Object.assign(n,{[o]:u})},{});default:return pt}},"map"),Il=d((e,t)=>Object.entries(e).reduce((r,[n,o])=>{if(!t[n])return r;let a=Xr(o,t[n]);return a===pt?r:Object.assign(r,{[n]:a})},{}),"mapArgsToTypes"),Jr=d((e,t)=>Array.isArray(e)&&Array.isArray(t)?t.reduce((r,n,o)=>(r[o]=Jr(e[o],t[o]),r),[...e]).filter(r=>r!==void 0):!_e(e)||!_e(t)?t:Object.keys({...e,...t}).reduce((r,n)=>{if(n in t){let o=Jr(e[n],t[n]);o!==void 0&&(r[n]=o)}else r[n]=e[n];return r},{}),"combineArgs"),Bl=d((e,t)=>Object.entries(t).reduce((r,[n,{options:o}])=>{function a(){return n in e&&(r[n]=e[n]),r}if(d(a,"allowArg"),!o)return a();if(!Array.isArray(o))return Ue.error(le` + Invalid argType: '${n}.options' should be an array. + + More info: https://storybook.js.org/docs/api/arg-types + `),a();if(o.some(m=>m&&["object","function"].includes(typeof m)))return Ue.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(e[n]),i=u&&e[n].findIndex(m=>!o.includes(m)),s=u&&i===-1;if(e[n]===void 0||o.includes(e[n])||s)return a();let l=u?`${n}[${i}]`:n,f=o.map(m=>typeof m=="string"?`'${m}'`:String(m)).join(", ");return Ue.warn(`Received illegal value for '${l}'. Supported options: ${f}`),r},{}),"validateOptions"),_t=Symbol("Deeply equal"),ar=d((e,t)=>{if(typeof e!=typeof t)return t;if(gn(e,t))return _t;if(Array.isArray(e)&&Array.isArray(t)){let r=t.reduce((n,o,a)=>{let u=ar(e[a],o);return u!==_t&&(n[a]=u),n},new Array(t.length));return t.length>=e.length?r:r.concat(new Array(e.length-t.length).fill(void 0))}return _e(e)&&_e(t)?Object.keys({...e,...t}).reduce((r,n)=>{let o=ar(e?.[n],t?.[n]);return o===_t?r:Object.assign(r,{[n]:o})},{}):t},"deepDiff"),lu="UNTARGETED";function cu({args:e,argTypes:t}){let r={};return Object.entries(e).forEach(([n,o])=>{let{target:a=lu}=t[n]||{};r[a]=r[a]||{},r[a][n]=o}),r}d(cu,"groupArgsByTarget");function pu(e){return Object.keys(e).forEach(t=>e[t]===void 0&&delete e[t]),e}d(pu,"deleteUndefined");var du=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=ar(this.initialArgsByStoryId[t.id],this.argsByStoryId[t.id]);this.initialArgsByStoryId[t.id]=t.initialArgs,this.argsByStoryId[t.id]=t.initialArgs,r!==_t&&this.updateFromDelta(t,r)}}updateFromDelta(t,r){let n=Bl(r,t.argTypes);this.argsByStoryId[t.id]=Jr(this.argsByStoryId[t.id],n)}updateFromPersisted(t,r){let n=Il(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]=pu({...this.argsByStoryId[t],...r})}};d(du,"ArgsStore");var Pl=du,hu=d((e={})=>Object.entries(e).reduce((t,[r,{defaultValue:n}])=>(typeof n<"u"&&(t[r]=n),t),{}),"getValuesFromArgTypes"),fu=class{constructor({globals:t={},globalTypes:r={}}){this.set({globals:t,globalTypes:r})}set({globals:t={},globalTypes:r={}}){let n=this.initialGlobals&&ar(this.initialGlobals,this.globals);this.allowedGlobalNames=new Set([...Object.keys(t),...Object.keys(r)]);let o=hu(r);this.initialGlobals={...o,...t},this.globals=this.initialGlobals,n&&n!==_t&&this.updateFromPersisted(n)}filterAllowedGlobals(t){return Object.entries(t).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(t){let r=this.filterAllowedGlobals(t);this.globals={...this.globals,...r}}get(){return this.globals}update(t){this.globals={...this.globals,...this.filterAllowedGlobals(t)}}};d(fu,"GlobalsStore");var Nl=fu,Ll=ft(Wa(),1),kl=(0,Ll.default)(1)(e=>Object.values(e).reduce((t,r)=>(t[r.importPath]=t[r.importPath]||r,t),{})),mu=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 Qo({storyId:t});return r}importPathToEntry(t){return kl(this.entries)[t]}};d(mu,"StoryIndexStore");var jl=mu,Ml=d(e=>typeof e=="string"?{name:e}:e,"normalizeType"),$l=d(e=>typeof e=="string"?{type:e}:e,"normalizeControl"),ql=d((e,t)=>{let{type:r,control:n,...o}=e,a={name:t,...o};return r&&(a.type=Ml(r)),n?a.control=$l(n):n===!1&&(a.control={disable:!0}),a},"normalizeInputType"),ur=d(e=>nt(e,ql),"normalizeInputTypes"),ee=d(e=>Array.isArray(e)?e:e?[e]:[],"normalizeArrays"),Ul=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 ir(e,t,r){let n=t,o=typeof t=="function"?t:null,{story:a}=n;a&&(X.debug("deprecated story",a),je(Ul));let u=Oa(e),i=typeof n!="function"&&n.name||n.storyName||a?.name||u,s=[...ee(n.decorators),...ee(a?.decorators)],l={...a?.parameters,...n.parameters},f={...a?.args,...n.args},m={...a?.argTypes,...n.argTypes},y=[...ee(n.loaders),...ee(a?.loaders)],E=[...ee(n.beforeEach),...ee(a?.beforeEach)],w=[...ee(n.experimental_afterEach),...ee(a?.experimental_afterEach)],{render:C,play:b,tags:S=[],globals:A={}}=n,x=l.__id||_a(r.id,u);return{moduleExport:t,id:x,name:i,tags:S,decorators:s,parameters:l,args:f,argTypes:ur(m),loaders:y,beforeEach:E,experimental_afterEach:w,globals:A,...C&&{render:C},...o&&{userStoryFn:o},...b&&{play:b}}}d(ir,"normalizeStory");function sr(e,t=e.title,r){let{id:n,argTypes:o}=e;return{id:Mr(n||t),...e,title:t,...o&&{argTypes:ur(o)},parameters:{fileName:r,...e.parameters}}}d(sr,"normalizeComponentAnnotations");var zl=d(e=>{let{globals:t,globalTypes:r}=e;(t||r)&&X.error("Global args/argTypes can only be set globally",JSON.stringify({globals:t,globalTypes:r}))},"checkGlobals"),Hl=d(e=>{let{options:t}=e;t?.storySort&&X.error("The storySort option parameter can only be set globally")},"checkStorySort"),rr=d(e=>{e&&(zl(e),Hl(e))},"checkDisallowedParameters");function gu(e,t,r){let{default:n,__namedExportsOrder:o,...a}=e,u=Object.values(a)[0];if(Qe(u)){let l=sr(u.meta.input,r,t);rr(l.parameters);let f={meta:l,stories:{},moduleExports:e};return Object.keys(a).forEach(m=>{if(lt(m,l)){let y=ir(m,a[m].input,l);rr(y.parameters),f.stories[y.id]=y}}),f.projectAnnotations=u.meta.preview.composed,f}let i=sr(n,r,t);rr(i.parameters);let s={meta:i,stories:{},moduleExports:e};return Object.keys(a).forEach(l=>{if(lt(l,i)){let f=ir(l,a[l],i);rr(f.parameters),s.stories[f.id]=f}}),s}d(gu,"processCSFFile");function yu(e){return e!=null&&bu(e).includes("mount")}d(yu,"mountDestructured");function bu(e){let t=e.toString().match(/[^(]*\(([^)]*)/);if(!t)return[];let r=Zr(t[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,"")):[]}d(bu,"getUsedProps");function Zr(e){let t=[],r=[],n=0;for(let a=0;at(n,o)}d(Eu,"decorateStory");function Au({componentId:e,title:t,kind:r,id:n,name:o,story:a,parameters:u,initialArgs:i,argTypes:s,...l}={}){return l}d(Au,"sanitizeStoryContextUpdate");function Su(e,t){let r={},n=d(a=>u=>{if(!r.value)throw new Error("Decorated function called without init");return r.value={...r.value,...Au(u)},a(r.value)},"bindWithContext"),o=t.reduce((a,u)=>Eu(a,u,n),e);return a=>(r.value=a,o(a))}d(Su,"defaultDecorateStory");var ot=d((...e)=>{let t={},r=e.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:_e(i)&&_e(s)?t[u]=!0:typeof i<"u"&&(o[u]=i)}),o),{});return Object.keys(t).forEach(o=>{let a=r.filter(Boolean).map(u=>u[o]).filter(u=>typeof u<"u");a.every(u=>_e(u))?n[o]=ot(...a):n[o]=a[a.length-1]}),n},"combineParameters");function yn(e,t,r){let{moduleExport:n,id:o,name:a}=e||{},u=bn(e,t,r),i=d(async v=>{let T={};for(let B of[..."__STORYBOOK_TEST_LOADERS__"in de&&Array.isArray(de.__STORYBOOK_TEST_LOADERS__)?[de.__STORYBOOK_TEST_LOADERS__]:[],ee(r.loaders),ee(t.loaders),ee(e.loaders)]){if(v.abortSignal.aborted)return T;let L=await Promise.all(B.map(k=>k(v)));Object.assign(T,...L)}return T},"applyLoaders"),s=d(async v=>{let T=new Array;for(let B of[...ee(r.beforeEach),...ee(t.beforeEach),...ee(e.beforeEach)]){if(v.abortSignal.aborted)return T;let L=await B(v);L&&T.push(L)}return T},"applyBeforeEach"),l=d(async v=>{let T=[...ee(r.experimental_afterEach),...ee(t.experimental_afterEach),...ee(e.experimental_afterEach)].reverse();for(let B of T){if(v.abortSignal.aborted)return;await B(v)}},"applyAfterEach"),f=d(v=>v.originalStoryFn(v.args,v),"undecoratedStoryFn"),{applyDecorators:m=Su,runStep:y}=r,E=[...ee(e?.decorators),...ee(t?.decorators),...ee(r?.decorators)],w=e?.userStoryFn||e?.render||t.render||r.render,C=Xs(m)(f,E),b=d(v=>C(v),"unboundStoryFn"),S=e?.play??t?.play,A=yu(S);if(!w&&!A)throw new Ea({id:o});let x=d(v=>async()=>(await v.renderToCanvas(),v.canvas),"defaultMount"),_=e.mount??t.mount??r.mount??x,I=r.testingLibraryRender;return{storyGlobals:{},...u,moduleExport:n,id:o,name:a,story:a,originalStoryFn:w,undecoratedStoryFn:f,unboundStoryFn:b,applyLoaders:i,applyBeforeEach:s,applyAfterEach:l,playFunction:S,runStep:y,mount:_,testingLibraryRender:I,renderToCanvas:r.renderToCanvas,usesMount:A}}d(yn,"prepareStory");function wu(e,t,r){return{...bn(void 0,e,t),moduleExport:r}}d(wu,"prepareMeta");function bn(e,t,r){let n=["dev","test"],o=de.DOCS_OPTIONS?.autodocs===!0?["autodocs"]:[],a=Fa(...n,...o,...r.tags??[],...t.tags??[],...e?.tags??[]),u=ot(r.parameters,t.parameters,e?.parameters),{argTypesEnhancers:i=[],argsEnhancers:s=[]}=r,l=ot(r.argTypes,t.argTypes,e?.argTypes);if(e){let S=e?.userStoryFn||e?.render||t.render||r.render;u.__isArgsStory=S&&S.length>0}let f={...r.args,...t.args,...e?.args},m={...t.globals,...e?.globals},y={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:u,initialArgs:f,argTypes:l,storyGlobals:m};y.argTypes=i.reduce((S,A)=>A({...y,argTypes:S}),y.argTypes);let E={...f};y.initialArgs=s.reduce((S,A)=>({...S,...A({...y,initialArgs:S})}),E);let{name:w,story:C,...b}=y;return b}d(bn,"preparePartialAnnotations");function En(e){let{args:t}=e,r={...e,allArgs:void 0,argsByTarget:void 0};if(de.FEATURES?.argTypeTargetsV7){let a=cu(e);r={...e,allArgs:e.args,argsByTarget:a,args:a[lu]||{}}}let n=Object.entries(r.args).reduce((a,[u,i])=>{if(!r.argTypes[u]?.mapping)return a[u]=i,a;let s=d(l=>{let f=r.argTypes[u].mapping;return f&&l in f?f[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 xa(s,n,r.globals)&&(a[u]=i),a},{});return{...r,unmappedArgs:t,args:o}}d(En,"prepareContext");var Qr=d((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)?(X.warn(le` + 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?Qr(e[0],t,new Set(r)):{name:"other",value:"unknown"}}:{name:"object",value:nt(e,o=>Qr(o,t,new Set(r)))}):{name:"object",value:{}}},"inferType"),Cu=d(e=>{let{id:t,argTypes:r={},initialArgs:n={}}=e,o=nt(n,(u,i)=>({name:i,type:Qr(u,`${t}.${i}`,new Set)})),a=nt(r,(u,i)=>({name:i}));return ot(o,a,r)},"inferArgTypes");Cu.secondPass=!0;var La=d((e,t)=>Array.isArray(t)?t.includes(e):e.match(t),"matches"),Gl=d((e,t,r)=>!t&&!r?e:e&&iu(e,(n,o)=>{let a=n.name||o.toString();return!!(!t||La(a,t))&&(!r||!La(a,r))}),"filterArgTypes"),Vl=d((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"&&X.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"),vu=d(e=>{let{argTypes:t,parameters:{__isArgsStory:r,controls:{include:n=null,exclude:o=null,matchers:a={}}={}}}=e;if(!r)return t;let u=Gl(t,n,o),i=nt(u,(s,l)=>s?.type&&Vl(s,l.toString(),a));return ot(i,u)},"inferControls");vu.secondPass=!0;function ct({argTypes:e,globalTypes:t,argTypesEnhancers:r,decorators:n,loaders:o,beforeEach:a,experimental_afterEach:u,globals:i,initialGlobals:s,...l}){return i&&Object.keys(i).length>0&&je(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 + `),{...e&&{argTypes:ur(e)},...t&&{globalTypes:ur(t)},decorators:ee(n),loaders:ee(o),beforeEach:ee(a),experimental_afterEach:ee(u),argTypesEnhancers:[...r||[],Cu,vu],initialGlobals:ot(s,i),...l}}d(ct,"normalizeProjectAnnotations");var Wl=d(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 Du(e){return async(t,r,n)=>{await e.reduceRight((o,a)=>async()=>a(t,o,n),async()=>r(n))()}}d(Du,"composeStepRunners");function ht(e,t){return e.map(r=>r.default?.[t]??r[t]).filter(Boolean)}d(ht,"getField");function Me(e,t,r={}){return ht(e,t).reduce((n,o)=>{let a=ee(o);return r.reverseFileOrder?[...a,...n]:[...n,...a]},[])}d(Me,"getArrayField");function dt(e,t){return Object.assign({},...ht(e,t))}d(dt,"getObjectField");function tt(e,t){return ht(e,t).pop()}d(tt,"getSingletonField");function et(e){let t=Me(e,"argTypesEnhancers"),r=ht(e,"runStep"),n=Me(e,"beforeAll");return{parameters:ot(...ht(e,"parameters")),decorators:Me(e,"decorators",{reverseFileOrder:!(de.FEATURES?.legacyDecoratorFileOrder??!1)}),args:dt(e,"args"),argsEnhancers:Me(e,"argsEnhancers"),argTypes:dt(e,"argTypes"),argTypesEnhancers:[...t.filter(o=>!o.secondPass),...t.filter(o=>o.secondPass)],globals:dt(e,"globals"),initialGlobals:dt(e,"initialGlobals"),globalTypes:dt(e,"globalTypes"),loaders:Me(e,"loaders"),beforeAll:Wl(n),beforeEach:Me(e,"beforeEach"),experimental_afterEach:Me(e,"experimental_afterEach"),render:tt(e,"render"),renderToCanvas:tt(e,"renderToCanvas"),renderToDOM:tt(e,"renderToDOM"),applyDecorators:tt(e,"applyDecorators"),runStep:Du(r),tags:Me(e,"tags"),mount:tt(e,"mount"),testingLibraryRender:tt(e,"testingLibraryRender")}}d(et,"composeConfigs");var xu=class{constructor(){this.reports=[]}async addReport(t){this.reports.push(t)}};d(xu,"ReporterAPI");var Tu=xu;function Ru(e,t,r){return Qe(e)?{story:e.input,meta:e.meta.input,preview:e.meta.preview.composed}:{story:e,meta:t,preview:r}}d(Ru,"getCsfFactoryAnnotations");function Yl(e){globalThis.defaultProjectAnnotations=e}d(Yl,"setDefaultProjectAnnotations");var Kl="ComposedStory",Xl="Unnamed Story";function _u(e){return e?et([e]):{}}d(_u,"extractAnnotation");function Jl(e){let t=Array.isArray(e)?e:[e];return globalThis.globalProjectAnnotations=et([globalThis.defaultProjectAnnotations??{},et(t.map(_u))]),globalThis.globalProjectAnnotations??{}}d(Jl,"setProjectAnnotations");var He=[];function Ou(e,t,r,n,o){if(e===void 0)throw new Error("Expected a story but received undefined.");t.title=t.title??Kl;let a=sr(t),u=o||e.storyName||e.story?.name||e.name||Xl,i=ir(u,e,a),s=ct(et([n??globalThis.globalProjectAnnotations??{},r??{}])),l=yn(i,a,s),f={...hu(s.globalTypes),...s.initialGlobals,...l.storyGlobals},m=new Tu,y=d(()=>{let S=En({hooks:new ru,globals:f,args:{...l.initialArgs},viewMode:"story",reporting:m,loaded:{},abortSignal:new AbortController().signal,step:d((A,x)=>l.runStep(A,x,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:d(()=>{},"showMain"),showError:d(x=>{throw new Error(`${x.title} +${x.description}`)},"showError"),showException:d(x=>{throw x},"showException"),forceRemount:!0,storyContext:S,storyFn:d(()=>l.unboundStoryFn(S),"storyFn"),unboundStoryFn:l.unboundStoryFn},S.canvasElement);A&&He.push(A)}),S.mount=l.mount(S),S},"initializeContext"),E,w=d(async S=>{let A=y();return A.canvasElement??=globalThis?.document?.body,E&&(A.loaded=E.loaded),Object.assign(A,S),l.playFunction(A)},"play"),C=d(S=>{let A=y();return Object.assign(A,S),Fu(l,A)},"run"),b=l.playFunction?w:void 0;return Object.assign(d(function(S){let A=y();return E&&(A.loaded=E.loaded),A.args={...A.initialArgs,...S},l.unboundStoryFn(A)},"storyFn"),{id:l.id,storyName:u,load:d(async()=>{for(let A of[...He].reverse())await A();He.length=0;let S=y();S.loaded=await l.applyLoaders(S),He.push(...(await l.applyBeforeEach(S)).filter(Boolean)),E=S},"load"),globals:f,args:l.initialArgs,parameters:l.parameters,argTypes:l.argTypes,play:b,run:C,reporting:m,tags:l.tags})}d(Ou,"composeStory");var Zl=d((e,t,r,n)=>Ou(e,t,r,{},n),"defaultComposeStory");function Ql(e,t,r=Zl){let{default:n,__esModule:o,__namedExportsOrder:a,...u}=e,i=n;return Object.entries(u).reduce((s,[l,f])=>{let{story:m,meta:y}=Ru(f);return!i&&y&&(i=y),lt(l,i)?Object.assign(s,{[l]:r(m,i,t,l)}):s},{})}d(Ql,"composeStories");function ec(e){return e.extend({mount:d(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(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 t(o,...a);return await r.evaluate(async i=>{let s=await globalThis.__pwUnwrapObject?.(i),l="__pw_type"in s?s.type:s,f=document.querySelector("#root");return l?.play?.({canvasElement:f})},o),u})},"mount")})}d(ec,"createPlaywrightTest");async function Fu(e,t){for(let o of[...He].reverse())await o();if(He.length=0,!t.canvasElement){let o=document.createElement("div");globalThis?.document?.body?.appendChild(o),t.canvasElement=o,He.push(()=>{globalThis?.document?.body?.contains(o)&&globalThis?.document?.body?.removeChild(o)})}if(t.loaded=await e.applyLoaders(t),t.abortSignal.aborted)return;He.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 Qt({playFunction:r.toString()})}),await r(t)),await e.applyAfterEach(t))}d(Fu,"runStory");function en(e,t){return au(uu(e,t),r=>r===void 0)}d(en,"picky");var ka=1e3,tc=1e4,Iu=class{constructor(t,r,n){this.importFn=r,this.getStoriesJsonData=d(()=>{let u=this.getSetStoriesPayload(),i=["fileName","docsOnly","framework","__id","__isArgsStory"];return{v:3,stories:nt(u.stories,s=>{let{importPath:l}=this.storyIndex.entries[s.id];return{...en(s,["id","name","title"]),importPath:l,kind:s.title,story:s.name,parameters:{...en(s.parameters,i),fileName:l}}})}},"getStoriesJsonData"),this.storyIndex=new jl(t),this.projectAnnotations=ct(n);let{initialGlobals:o,globalTypes:a}=this.projectAnnotations;this.args=new Pl,this.userGlobals=new Nl({globals:o,globalTypes:a}),this.hooks={},this.cleanupCallbacks={},this.processCSFFileWithCache=(0,zr.default)(ka)(gu),this.prepareMetaWithCache=(0,zr.default)(ka)(wu),this.prepareStoryWithCache=(0,zr.default)(tc)(yn)}setProjectAnnotations(t){this.projectAnnotations=ct(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 fa({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 ru,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(u=>{let i=this.storyIndex.importPathToEntry(u);return this.loadCSFFileByStoryId(i.id)})]);return{entryExports:o,csfFiles:a}}getStoryContext(t,{forceInitialArgs:r=!1}={}){let n=this.userGlobals.get(),{initialGlobals:o}=this.userGlobals,a=new Tu;return En({...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 ta;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!t.includeDocsOnly&&s.parameters.docsOnly||(n[o]=Object.entries(s).reduce((l,[f,m])=>f==="moduleExport"||typeof m=="function"?l:Array.isArray(m)?Object.assign(l,{[f]:m.slice().sort()}):Object.assign(l,{[f]:m}),{args:s.initialArgs,globals:{...this.userGlobals.initialGlobals,...this.userGlobals.globals,...s.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 je("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(je("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:d(a=>{let u={...this.getStoryContext(o),abortSignal:new AbortController().signal,canvasElement:null,loaded:{},step:d((i,s)=>o.runStep(i,s,u),"step"),context:null,mount:null,canvas:{},viewMode:"story"};return o.unboundStoryFn({...u,...a})},"storyFn")}}};d(Iu,"StoryStore");var rc=Iu;function Bu(e){return e.startsWith("\\\\?\\")?e:e.replace(/\\/g,"/")}d(Bu,"slash");var nc=d(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 tn(e){return e.flatMap(t=>t.split("/")).filter(Boolean).join("/")}d(tn,"pathJoin");var oc=d((e,t,r)=>{let{directory:n,importPathMatcher:o,titlePrefix:a=""}=t||{};typeof e=="number"&&Ue.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=Bu(String(e));if(o.exec(u)){if(!r){let i=u.replace(n,""),s=tn([a,i]).split("/");return s=nc(s),s.join("/")}return a?tn([a,r]):r}},"userOrAutoTitleFromSpecifier"),pS=d((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(ja),u=r.title.trim().split(ja);e.includeNames&&(a.push(t.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 m=o.indexOf(s),y=o.indexOf(l),E=o.indexOf("*");return m!==-1||y!==-1?(m===-1&&(E!==-1?m=E:m=o.length),y===-1&&(E!==-1?y=E:y=o.length),m-y):n==="configure"?0:s.localeCompare(l,e.locales?e.locales:void 0,{numeric:!0,sensitivity:"accent"})}let f=o.indexOf(s);f===-1&&(f=o.indexOf("*")),o=f!==-1&&Array.isArray(o[f+1])?o[f+1]:[],i+=1}return 0},"storySort"),uc=d((e,t,r)=>{if(t){let n;typeof t=="function"?n=t:n=ac(t),e.sort(n)}else e.sort((n,o)=>r.indexOf(n.importPath)-r.indexOf(o.importPath));return e},"sortStoriesCommon"),dS=d((e,t,r)=>{try{return uc(e,t,r)}catch(n){throw new Error(le` + 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"),dr=new Error("prepareAborted"),{AbortController:Ma}=globalThis;function rn(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)}}}d(rn,"serializeError");var Pu=class{constructor(t,r,n,o,a,u,i={autoplay:!0,forceInitialArgs:!1},s){this.channel=t,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=d(()=>{},"teardownRender"),this.torndown=!1,this.abortController=new Ma,s&&(this.story=s,this.phase="preparing")}async runPhase(t,r,n){this.phase=r,this.channel.emit(ke,{newPhase:this.phase,storyId:this.id}),n&&(await n(),this.checkIfAborted(t))}checkIfAborted(t){return t.aborted?(this.phase="aborted",this.channel.emit(ke,{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),dr}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:u,title:i,name:s,tags:l,applyLoaders:f,applyBeforeEach:m,applyAfterEach:y,unboundStoryFn:E,playFunction:w,runStep:C}=o;r&&!t&&(this.cancelRender(),this.abortController=new Ma);let b=this.abortController.signal,S=!1,A=o.usesMount;try{let x={...this.storyContext(),viewMode:this.viewMode,abortSignal:b,canvasElement:n,loaded:{},step:d((P,M)=>C(P,M,x),"step"),context:null,canvas:{},renderToCanvas:d(async()=>{let P=await this.renderToScreen(_,n);this.teardownRender=P||(()=>{}),S=!0},"renderToCanvas"),mount:d(async(...P)=>{this.callbacks.showStoryDuringRender?.();let M=null;return await this.runPhase(b,"rendering",async()=>{M=await o.mount(x)(...P)}),A&&await this.runPhase(b,"playing"),M},"mount")};x.context=x;let _={componentId:u,title:i,kind:i,id:a,name:s,story:s,tags:l,...this.callbacks,showError:d(P=>(this.phase="errored",this.callbacks.showError(P)),"showError"),showException:d(P=>(this.phase="errored",this.callbacks.showException(P)),"showException"),forceRemount:r||this.notYetRendered,storyContext:x,storyFn:d(()=>E(x),"storyFn"),unboundStoryFn:E};if(await this.runPhase(b,"loading",async()=>{x.loaded=await f(x)}),b.aborted)return;let I=await m(x);if(this.store.addCleanupCallbacks(o,I),this.checkIfAborted(b)||(!S&&!A&&await x.mount(),this.notYetRendered=!1,b.aborted))return;let v=this.story.parameters?.test?.dangerouslyIgnoreUnhandledErrors===!0,T=new Set,B=d(P=>T.add("error"in P?P.error:P.reason),"onError");if(this.renderOptions.autoplay&&r&&w&&this.phase!=="errored"){window.addEventListener("error",B),window.addEventListener("unhandledrejection",B),this.disableKeyListeners=!0;try{if(A?await w(x):(x.mount=async()=>{throw new Qt({playFunction:w.toString()})},await this.runPhase(b,"playing",async()=>w(x))),!S)throw new Sa;this.checkIfAborted(b),!v&&T.size>0?await this.runPhase(b,"errored"):await this.runPhase(b,"played")}catch(P){if(this.callbacks.showStoryDuringRender?.(),await this.runPhase(b,"errored",async()=>{this.channel.emit(Vt,rn(P))}),this.story.parameters.throwPlayFunctionExceptions!==!1)throw P;console.error(P)}if(!v&&T.size>0&&this.channel.emit(Kt,Array.from(T).map(rn)),this.disableKeyListeners=!1,window.removeEventListener("unhandledrejection",B),window.removeEventListener("error",B),b.aborted)return}await this.runPhase(b,"completed",async()=>this.channel.emit(Tt,a)),this.phase!=="errored"&&await this.runPhase(b,"afterEach",async()=>{await y(x)});let L=!v&&T.size>0,k=x.reporting.reports.some(P=>P.status==="failed"),q=L||k;await this.runPhase(b,"finished",async()=>this.channel.emit(Pr,{storyId:a,status:q?"error":"success",reporters:x.reporting.reports}))}catch(x){this.phase="errored",this.callbacks.showException(x),await this.runPhase(b,"finished",async()=>this.channel.emit(Pr,{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(()=>{})}};d(Pu,"StoryRender");var nn=Pu,{fetch:ic}=de,sc="./index.json",Nu=class{constructor(t,r,n=Ve.getChannel(),o=!0){this.importFn=t,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:d((t,r)=>{if(this.storyStoreValue)return je("Accessing the Story Store is deprecated and will be removed in 9.0"),this.storyStoreValue[r];throw new ga},"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(Go,this.onStoryIndexChanged.bind(this)),this.channel.on(Xt,this.onUpdateGlobals.bind(this)),this.channel.on(Jt,this.onUpdateArgs.bind(this)),this.channel.on(Lo,this.onRequestArgTypesInfo.bind(this)),this.channel.on(Wt,this.onResetArgs.bind(this)),this.channel.on(Gt,this.onForceReRender.bind(this)),this.channel.on(xt,this.onForceRemount.bind(this))}async getProjectAnnotationsOrRenderError(){try{let t=await this.getProjectAnnotations();if(this.renderToCanvas=t.renderToCanvas,!this.renderToCanvas)throw new na;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 ic(sc);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 rc(t,this.importFn,this.projectAnnotationsBeforeInitialization),delete this.projectAnnotationsBeforeInitialization,this.setInitialGlobals(),this.resolveStoreInitializationPromise()}async setInitialGlobals(){this.emitGlobals()}emitGlobals(){if(!this.storyStoreValue)throw new Ae({methodName:"emitGlobals"});let t={globals:this.storyStoreValue.userGlobals.get()||{},globalTypes:this.storyStoreValue.projectAnnotations.globalTypes||{}};this.channel.emit(qo,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 Ae({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 Ae({methodName:"onUpdateGlobals"});if(this.storyStoreValue.userGlobals.update(t),r){let{initialGlobals:n,storyGlobals:o,userGlobals:a,globals:u}=this.storyStoreValue.getStoryContext(r);this.channel.emit(st,{initialGlobals:n,userGlobals:a,storyGlobals:o,globals:u})}else{let{initialGlobals:n,globals:o}=this.storyStoreValue.userGlobals;this.channel.emit(st,{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 Ae({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(Uo,{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(Fr,{id:t,success:!0,payload:{argTypes:n?.argTypes||{}},error:null})}catch(n){this.channel.emit(Fr,{id:t,success:!1,error:n?.message})}}async onResetArgs({storyId:t,argNames:r}){if(!this.storyStoreValue)throw new Ae({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,u)=>(a[u]=n.initialArgs[u],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 Ae({methodName:"renderStoryToElement"});let a=new nn(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 Ae({methodName:"loadStory"});return this.storyStoreValue.loadStory({storyId:t})}getStoryContext(t,{forceInitialArgs:r=!1}={}){if(!this.storyStoreValue)throw new Ae({methodName:"getStoryContext"});return this.storyStoreValue.getStoryContext(t,{forceInitialArgs:r})}async extract(t){if(!this.storyStoreValue)throw new Ae({methodName:"extract"});if(this.previewEntryError)throw this.previewEntryError;return await this.storyStoreValue.cacheAllCSFFiles(),this.storyStoreValue.extract(t)}renderPreviewEntryError(t,r){this.previewEntryError=r,X.error(t),X.error(r),this.channel.emit(ko,r)}};d(Nu,"Preview");var lc=Nu,cc=!1,Hr="Invariant failed";function nr(e,t){if(!e){if(cc)throw new Error(Hr);var r=typeof t=="function"?t():t,n=r?"".concat(Hr,": ").concat(r):Hr;throw new Error(n)}}d(nr,"invariant");var Lu=class{constructor(t,r,n,o){this.channel=t,this.store=r,this.renderStoryToElement=n,this.storyIdByName=d(a=>{let u=this.nameToStoryId.get(a);if(u)return u;throw new Error(`No story found with that name: ${a}`)},"storyIdByName"),this.componentStories=d(()=>this.componentStoriesValue,"componentStories"),this.componentStoriesFromCSFFile=d(a=>this.store.componentStoriesFromCSFFile({csfFile:a}),"componentStoriesFromCSFFile"),this.storyById=d(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=d(a=>({...this.store.getStoryContext(a),loaded:{},viewMode:"docs"}),"getStoryContext"),this.loadStory=d(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(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(Qe(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(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}}};d(Lu,"DocsContext");var ku=Lu,ju=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 dr;let{importPath:n,title:o}=this.entry,a=this.store.processCSFFileWithCache(t,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(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 ku(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:u}=a,i=d(async()=>{try{await u(n,o,t),this.channel.emit(Ht,this.id)}catch(s){this.callbacks.showException(s)}},"renderDocs");return this.rerender=async()=>i(),this.teardownRender=async({viewModeChanged:s})=>{!s||!t||a.unmount(t)},i()}async teardown({viewModeChanged:t}={}){this.teardownRender?.({viewModeChanged:t}),this.torndown=!0}};d(ju,"CsfDocsRender");var $a=ju,Mu=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 dr;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 ku(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},u=await o.renderer(),{render:i}=u,s=d(async()=>{try{await i(n,a,t),this.channel.emit(Ht,this.id)}catch(l){this.callbacks.showException(l)}},"renderDocs");return this.rerender=async()=>s(),this.teardownRender=async({viewModeChanged:l}={})=>{!l||!t||(u.unmount(t),this.torndown=!0)},s()}async teardown({viewModeChanged:t}={}){this.teardownRender?.({viewModeChanged:t}),this.torndown=!0}};d(Mu,"MdxDocsRender");var qa=Mu,pc=globalThis;function $u(e){let t=e.composedPath&&e.composedPath()[0]||e.target;return/input|textarea/i.test(t.tagName)||t.getAttribute("contenteditable")!==null}d($u,"focusInInput");var qu="attached-mdx",dc="unattached-mdx";function Uu({tags:e}){return e?.includes(dc)||e?.includes(qu)}d(Uu,"isMdxEntry");function or(e){return e.type==="story"}d(or,"isStoryRender");function zu(e){return e.type==="docs"}d(zu,"isDocsRender");function Hu(e){return zu(e)&&e.subtype==="csf"}d(Hu,"isCsfDocsRender");var Gu=class extends lc{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(),pc.onkeydown=this.onKeydown.bind(this),this.channel.on(Br,this.onSetCurrentStory.bind(this)),this.channel.on(Ko,this.onUpdateQueryParams.bind(this)),this.channel.on(Mo,this.onPreloadStories.bind(this))}async setInitialGlobals(){if(!this.storyStoreValue)throw new Ae({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 Ae({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 ca):this.renderStoryLoadingException(t,new da({storySpecifier:t.toString()}));return}let{id:o,type:a}=n;this.selectionStore.setSelection({storyId:o,viewMode:a}),this.channel.emit(Wo,this.selectionStore.selection),this.channel.emit(Ir,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)&&!$u(t)){let{altKey:r,ctrlKey:n,metaKey:o,shiftKey:a,key:u,code:i,keyCode:s}=t;this.channel.emit($o,{event:{altKey:r,ctrlKey:n,metaKey:o,shiftKey:a,key:u,code:i,keyCode:s}})}}async onSetCurrentStory(t){this.selectionStore.setSelection({viewMode:"story",...t}),await this.storeInitializationPromise,this.channel.emit(Ir,this.selectionStore.selection),this.renderSelection()}onUpdateQueryParams(t){this.selectionStore.setQueryParams(t)}async onUpdateGlobals({globals:t}){let r=this.currentRender instanceof nn&&this.currentRender.story||void 0;super.onUpdateGlobals({globals:t,currentStory:r}),(this.currentRender instanceof qa||this.currentRender instanceof $a)&&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 Ae({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(y){this.currentRender&&await this.teardownRender(this.currentRender),this.renderStoryLoadingException(o,y);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 nn(this.channel,this.storyStoreValue,r,this.mainStoryCallbacks(o),o,"story"):Uu(a)?s=new qa(this.channel,this.storyStoreValue,a,this.mainStoryCallbacks(o)):s=new $a(this.channel,this.storyStoreValue,a,this.mainStoryCallbacks(o));let l=this.currentSelection;this.currentSelection=n;let f=this.currentRender;this.currentRender=s;try{await s.prepare()}catch(y){f&&await this.teardownRender(f),y!==dr&&this.renderStoryLoadingException(o,y);return}let m=!u&&f&&!s.isEqual(f);if(t&&or(s)&&(nr(!!s.story),this.storyStoreValue.args.updateFromPersisted(s.story,t)),f&&!f.torndown&&!u&&!m&&!i){this.currentRender=f,this.channel.emit(Yo,o),this.view.showMain();return}if(f&&await this.teardownRender(f,{viewModeChanged:i}),l&&(u||i)&&this.channel.emit(zo,o),or(s)){nr(!!s.story);let{parameters:y,initialArgs:E,argTypes:w,unmappedArgs:C,initialGlobals:b,userGlobals:S,storyGlobals:A,globals:x}=this.storyStoreValue.getStoryContext(s.story);this.channel.emit(Vo,{id:o,parameters:y,initialArgs:E,argTypes:w,args:C}),this.channel.emit(st,{userGlobals:S,storyGlobals:A,globals:x,initialGlobals:b})}else{let{parameters:y}=this.storyStoreValue.projectAnnotations,{initialGlobals:E,globals:w}=this.storyStoreValue.userGlobals;if(this.channel.emit(st,{globals:w,initialGlobals:E,storyGlobals:{},userGlobals:w}),Hu(s)||s.entry.tags?.includes(qu)){if(!s.csfFiles)throw new sa({storyId:o});({parameters:y}=this.storyStoreValue.preparedMetaFromCSFFile({csfFile:s.csfFiles[0]}))}this.channel.emit(jo,{id:o,parameters:y})}or(s)?(nr(!!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(t,{viewModeChanged:r=!1}={}){this.storyRenders=this.storyRenders.filter(n=>n!==t),await t?.teardown?.({viewModeChanged:r})}mainStoryCallbacks(t){return{showStoryDuringRender:d(()=>this.view.showStoryDuringRender(),"showStoryDuringRender"),showMain:d(()=>this.view.showMain(),"showMain"),showError:d(r=>this.renderError(t,r),"showError"),showException:d(r=>this.renderException(t,r),"showException")}}renderPreviewEntryError(t,r){super.renderPreviewEntryError(t,r),this.view.showErrorDisplay(r)}renderMissingStory(){this.view.showNoPreview(),this.channel.emit(Nr)}renderStoryLoadingException(t,r){X.error(r),this.view.showErrorDisplay(r),this.channel.emit(Nr,t)}renderException(t,r){let{name:n="Error",message:o=String(r),stack:a}=r;this.channel.emit(Yt,{name:n,message:o,stack:a}),this.channel.emit(ke,{newPhase:"errored",storyId:t}),this.view.showErrorDisplay(r),X.error(`Error rendering story '${t}':`),X.error(r)}renderError(t,{title:r,description:n}){X.error(`Error rendering story ${r}: ${n}`),this.channel.emit(Ho,{title:r,description:n}),this.channel.emit(ke,{newPhase:"errored",storyId:t}),this.view.showErrorDisplay({message:r,stack:n})}};d(Gu,"PreviewWithSelection");var hc=Gu,on=ft(cn(),1),fc=ft(cn(),1),Ua=/^[a-zA-Z0-9 _-]*$/,Vu=/^-?[0-9]+(\.[0-9]+)?$/,mc=/^#([a-f0-9]{3,4}|[a-f0-9]{6}|[a-f0-9]{8})$/i,Wu=/^(rgba?|hsla?)\(([0-9]{1,3}),\s?([0-9]{1,3})%?,\s?([0-9]{1,3})%?,?\s?([0-9](\.[0-9]{1,2})?)?\)$/i,an=d((e="",t)=>e===null||e===""||!Ua.test(e)?!1:t==null||t instanceof Date||typeof t=="number"||typeof t=="boolean"?!0:typeof t=="string"?Ua.test(t)||Vu.test(t)||mc.test(t)||Wu.test(t):Array.isArray(t)?t.every(r=>an(e,r)):_e(t)?Object.entries(t).every(([r,n])=>an(r,n)):!1,"validateArgs"),gc={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(Wu);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 Vu.test(e)?Number(e):e}},za=d(e=>{let t=e.split(";").map(r=>r.replace("=","~").replace(":","="));return Object.entries((0,fc.parse)(t.join(";"),gc)).reduce((r,[n,o])=>an(n,o)?Object.assign(r,{[n]:o}):(Ue.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:Yu,document:Ge}=de;function Ku(e){let t=(e||"").match(/^\/story\/(.+)/);if(!t)throw new Error(`Invalid path '${e}', must start with '/story/'`);return t[1]}d(Ku,"pathToId");var Xu=d(({selection:e,extraParams:t})=>{let r=Ge?.location.search.slice(1),{path:n,selectedKind:o,selectedStory:a,...u}=(0,on.parse)(r);return`?${(0,on.stringify)({...u,...t,...e&&{id:e.storyId,viewMode:e.viewMode}})}`},"getQueryString"),yc=d(e=>{if(!e)return;let t=Xu({selection:e}),{hash:r=""}=Ge.location;Ge.title=e.storyId,Yu.replaceState({},"",`${Ge.location.pathname}${t}${r}`)},"setPath"),bc=d(e=>e!=null&&typeof e=="object"&&Array.isArray(e)===!1,"isObject"),Ot=d(e=>{if(e!==void 0){if(typeof e=="string")return e;if(Array.isArray(e))return Ot(e[0]);if(bc(e))return Ot(Object.values(e).filter(Boolean))}},"getFirstString"),Ec=d(()=>{if(typeof Ge<"u"){let e=Ge.location.search.slice(1),t=(0,on.parse)(e),r=typeof t.args=="string"?za(t.args):void 0,n=typeof t.globals=="string"?za(t.globals):void 0,o=Ot(t.viewMode);(typeof o!="string"||!o.match(/docs|story/))&&(o="story");let a=Ot(t.path),u=a?Ku(a):Ot(t.id);if(u)return{storySpecifier:u,args:r,globals:n,viewMode:o}}return null},"getSelectionSpecifierFromPath"),Ju=class{constructor(){this.selectionSpecifier=Ec()}setSelection(t){this.selection=t,yc(this.selection)}setQueryParams(t){let r=Xu({extraParams:t}),{hash:n=""}=Ge.location;Yu.replaceState({},"",`${Ge.location.pathname}${r}${n}`)}};d(Ju,"UrlStore");var Ac=Ju,Sc=ft(Vs(),1),wc=ft(cn(),1),{document:me}=de,Ha=100,Zu=(e=>(e.MAIN="MAIN",e.NOPREVIEW="NOPREVIEW",e.PREPARING_STORY="PREPARING_STORY",e.PREPARING_DOCS="PREPARING_DOCS",e.ERROR="ERROR",e))(Zu||{}),Gr={PREPARING_STORY:"sb-show-preparing-story",PREPARING_DOCS:"sb-show-preparing-docs",MAIN:"sb-show-main",NOPREVIEW:"sb-show-nopreview",ERROR:"sb-show-errordisplay"},Vr={centered:"sb-main-centered",fullscreen:"sb-main-fullscreen",padded:"sb-main-padded"},Ga=new Sc.default({escapeXML:!0}),Qu=class{constructor(){if(this.testing=!1,typeof me<"u"){let{__SPECIAL_TEST_PARAMETER__:t}=(0,wc.parse)(me.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),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(t="padded"){if(t==="none"){me.body.classList.remove(this.currentLayoutClass),this.currentLayoutClass=null;return}this.checkIfLayoutExists(t);let r=Vr[t];me.body.classList.remove(this.currentLayoutClass),me.body.classList.add(r),this.currentLayoutClass=r}checkIfLayoutExists(t){Vr[t]||X.warn(le` + The desired layout: ${t} is not a valid option. + The possible options are: ${Object.keys(Vr).join(", ")}, none. + `)}showMode(t){clearTimeout(this.preparingTimeout),Object.keys(Zu).forEach(r=>{r===t?me.body.classList.add(Gr[r]):me.body.classList.remove(Gr[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/,"")),me.getElementById("error-message").innerHTML=Ga.toHtml(n),me.getElementById("error-stack").innerHTML=Ga.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"),Ha)}showPreparingDocs({immediate:t=!1}={}){clearTimeout(this.preparingTimeout),t?this.showMode("PREPARING_DOCS"):this.preparingTimeout=setTimeout(()=>this.showMode("PREPARING_DOCS"),Ha)}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(Gr.MAIN)}};d(Qu,"WebView");var Cc=Qu,vc=class extends hc{constructor(t,r){super(t,r,new Ac,new Cc),this.importFn=t,this.getProjectAnnotations=r,de.__STORYBOOK_PREVIEW__=this}};d(vc,"PreviewWeb");var{document:rt}=de,Dc=["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"],xc="script",Va="scripts-root";function un(){let e=rt.createEvent("Event");e.initEvent("DOMContentLoaded",!0,!0),rt.dispatchEvent(e)}d(un,"simulateDOMContentLoaded");function ei(e,t,r){let n=rt.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):rt.head.appendChild(n),e.parentNode.removeChild(e),e.src||t()}d(ei,"insertScript");function An(e,t,r=0){e[r](()=>{r++,r===e.length?t():An(e,t,r)})}d(An,"insertScriptsSequentially");function Tc(e){let t=rt.getElementById(Va);t?t.innerHTML="":(t=rt.createElement("div"),t.id=Va,rt.body.appendChild(t));let r=Array.from(e.querySelectorAll(xc));if(r.length){let n=[];r.forEach(o=>{let a=o.getAttribute("type");(!a||Dc.includes(a))&&n.push(u=>ei(o,u,t))}),n.length&&An(n,un,void 0)}else un()}d(Tc,"simulatePageLoad");var Rc=(e=>typeof Ee<"u"?Ee:typeof Proxy<"u"?new Proxy(e,{get:(t,r)=>(typeof Ee<"u"?Ee:t)[r]}):e)(function(e){if(typeof Ee<"u")return Ee.apply(this,arguments);throw Error('Dynamic require of "'+e+'" is not supported')}),_c={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]},Oc=Object.entries(_c);function vn(e){return String(e)}vn.open="";vn.close="";function Fc(e=!1){let t=typeof process<"u"?process:void 0,r=t?.env||{},n=t?.argv||[];return!("NO_COLOR"in r||n.includes("--no-color"))&&("FORCE_COLOR"in r||n.includes("--color")||t?.platform==="win32"||e&&r.TERM!=="dumb"||"CI"in r)||typeof window<"u"&&!!window.chrome}function Ic(e=!1){let t=Fc(e),r=(u,i,s,l)=>{let f="",m=0;do f+=u.substring(m,l)+s,m=l+i.length,l=u.indexOf(i,m);while(~l);return f+u.substring(m)},n=(u,i,s=u)=>{let l=f=>{let m=String(f),y=m.indexOf(i,u.length);return~y?u+r(m,i,s,y)+i:u+m+i};return l.open=u,l.close=i,l},o={isColorSupported:t},a=u=>`\x1B[${u}m`;for(let[u,i]of Oc)o[u]=t?n(a(i[0]),a(i[1]),i[2]):vn;return o}var KS=Ic(!1);function Bc(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 Dn(e,t,r,n,o,a,u=": "){let i="",s=0,l=e.next();if(!l.done){i+=t.spacingOuter;let f=r+t.indent;for(;!l.done;){if(i+=f,s++===t.maxWidth){i+="\u2026";break}let m=a(l.value[0],t,f,n,o),y=a(l.value[1],t,f,n,o);i+=m+u+y,l=e.next(),l.done?t.min||(i+=","):i+=`,${t.spacingInner}`}i+=t.spacingOuter+r}return i}function li(e,t,r,n,o,a){let u="",i=0,s=e.next();if(!s.done){u+=t.spacingOuter;let l=r+t.indent;for(;!s.done;){if(u+=l,i++===t.maxWidth){u+="\u2026";break}u+=a(s.value,t,l,n,o),s=e.next(),s.done?t.min||(u+=","):u+=`,${t.spacingInner}`}u+=t.spacingOuter+r}return u}function ci(e,t,r,n,o,a){let u="";e=e instanceof ArrayBuffer?new DataView(e):e;let i=l=>l instanceof DataView,s=i(e)?e.byteLength:e.length;if(s>0){u+=t.spacingOuter;let l=r+t.indent;for(let f=0;f0){u+=t.spacingOuter;let s=r+t.indent;for(let l=0;l{let u=e.toString();if(u==="ArrayContaining"||u==="ArrayNotContaining")return++n>t.maxDepth?`[${u}]`:`${u+Sn}[${ci(e.sample,t,r,n,o,a)}]`;if(u==="ObjectContaining"||u==="ObjectNotContaining")return++n>t.maxDepth?`[${u}]`:`${u+Sn}{${pi(e.sample,t,r,n,o,a)}}`;if(u==="StringMatching"||u==="StringNotMatching"||u==="StringContaining"||u==="StringNotContaining")return u+Sn+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()},Lc=e=>e&&e.$$typeof===Pc,kc={serialize:Nc,test:Lc},jc=" ",di=new Set(["DOMStringMap","NamedNodeMap"]),Mc=/^(?:HTML\w*Collection|NodeList)$/;function $c(e){return di.has(e)||Mc.test(e)}var qc=e=>e&&e.constructor&&!!e.constructor.name&&$c(e.constructor.name);function Uc(e){return e.constructor.name==="NamedNodeMap"}var zc=(e,t,r,n,o,a)=>{let u=e.constructor.name;return++n>t.maxDepth?`[${u}]`:(t.min?"":u+jc)+(di.has(u)?`{${pi(Uc(e)?[...e].reduce((i,s)=>(i[s.name]=s.value,i),{}):{...e},t,r,n,o,a)}}`:`[${ci([...e],t,r,n,o,a)}]`)},Hc={serialize:zc,test:qc};function hi(e){return e.replaceAll("<","<").replaceAll(">",">")}function xn(e,t,r,n,o,a,u){let i=n+r.indent,s=r.colors;return e.map(l=>{let f=t[l],m=u(f,r,i,o,a);return typeof f!="string"&&(m.includes(` +`)&&(m=r.spacingOuter+i+m+r.spacingOuter+n),m=`{${m}}`),`${r.spacingInner+n+s.prop.open+l+s.prop.close}=${s.value.open}${m}${s.value.close}`}).join("")}function Tn(e,t,r,n,o,a){return e.map(u=>t.spacingOuter+r+(typeof u=="string"?fi(u,t):a(u,t,r,n,o))).join("")}function fi(e,t){let r=t.colors.content;return r.open+hi(e)+r.close}function Gc(e,t){let r=t.colors.comment;return`${r.open}${r.close}`}function Rn(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}${a.close}`}function _n(e,t){let r=t.colors.tag;return`${r.open}<${e}${r.close} \u2026${r.open} />${r.close}`}var Vc=1,mi=3,gi=8,yi=11,Wc=/^(?:(?:HTML|SVG)\w*)?Element$/;function Yc(e){try{return typeof e.hasAttribute=="function"&&e.hasAttribute("is")}catch{return!1}}function Kc(e){let t=e.constructor.name,{nodeType:r,tagName:n}=e,o=typeof n=="string"&&n.includes("-")||Yc(e);return r===Vc&&(Wc.test(t)||o)||r===mi&&t==="Text"||r===gi&&t==="Comment"||r===yi&&t==="DocumentFragment"}var Xc=e=>{var t;return((t=e?.constructor)==null?void 0:t.name)&&Kc(e)};function Jc(e){return e.nodeType===mi}function Zc(e){return e.nodeType===gi}function wn(e){return e.nodeType===yi}var Qc=(e,t,r,n,o,a)=>{if(Jc(e))return fi(e.data,t);if(Zc(e))return Gc(e.data,t);let u=wn(e)?"DocumentFragment":e.tagName.toLowerCase();return++n>t.maxDepth?_n(u,t):Rn(u,xn(wn(e)?[]:Array.from(e.attributes,i=>i.name).sort(),wn(e)?{}:[...e.attributes].reduce((i,s)=>(i[s.name]=s.value,i),{}),t,r+t.indent,n,o,a),Tn(Array.prototype.slice.call(e.childNodes||e.children),t,r+t.indent,n,o,a),t,r)},ep={serialize:Qc,test:Xc},tp="@@__IMMUTABLE_ITERABLE__@@",rp="@@__IMMUTABLE_LIST__@@",np="@@__IMMUTABLE_KEYED__@@",op="@@__IMMUTABLE_MAP__@@",ti="@@__IMMUTABLE_ORDERED__@@",ap="@@__IMMUTABLE_RECORD__@@",up="@@__IMMUTABLE_SEQ__@@",ip="@@__IMMUTABLE_SET__@@",sp="@@__IMMUTABLE_STACK__@@",mt=e=>`Immutable.${e}`,fr=e=>`[${e}]`,Bt=" ",ri="\u2026";function lp(e,t,r,n,o,a,u){return++n>t.maxDepth?fr(mt(u)):`${mt(u)+Bt}{${Dn(e.entries(),t,r,n,o,a)}}`}function cp(e){let t=0;return{next(){if(tt.maxDepth?fr(u):`${u+Bt}{${Dn(cp(e),t,r,n,o,a)}}`}function dp(e,t,r,n,o,a){let u=mt("Seq");return++n>t.maxDepth?fr(u):e[np]?`${u+Bt}{${e._iter||e._object?Dn(e.entries(),t,r,n,o,a):ri}}`:`${u+Bt}[${e._iter||e._array||e._collection||e._iterable?li(e.values(),t,r,n,o,a):ri}]`}function Cn(e,t,r,n,o,a,u){return++n>t.maxDepth?fr(mt(u)):`${mt(u)+Bt}[${li(e.values(),t,r,n,o,a)}]`}var hp=(e,t,r,n,o,a)=>e[op]?lp(e,t,r,n,o,a,e[ti]?"OrderedMap":"Map"):e[rp]?Cn(e,t,r,n,o,a,"List"):e[ip]?Cn(e,t,r,n,o,a,e[ti]?"OrderedSet":"Set"):e[sp]?Cn(e,t,r,n,o,a,"Stack"):e[up]?dp(e,t,r,n,o,a):pp(e,t,r,n,o,a),fp=e=>e&&(e[tp]===!0||e[ap]===!0),mp={serialize:hp,test:fp},ni={exports:{}},G={},oi;function gp(){if(oi)return G;oi=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"),u=Symbol.for("react.context"),i=Symbol.for("react.server_context"),s=Symbol.for("react.forward_ref"),l=Symbol.for("react.suspense"),f=Symbol.for("react.suspense_list"),m=Symbol.for("react.memo"),y=Symbol.for("react.lazy"),E=Symbol.for("react.offscreen"),w;w=Symbol.for("react.module.reference");function C(b){if(typeof b=="object"&&b!==null){var S=b.$$typeof;switch(S){case e:switch(b=b.type,b){case r:case o:case n:case l:case f:return b;default:switch(b=b&&b.$$typeof,b){case i:case u:case s:case y:case m:case a:return b;default:return S}}case t:return S}}}return G.ContextConsumer=u,G.ContextProvider=a,G.Element=e,G.ForwardRef=s,G.Fragment=r,G.Lazy=y,G.Memo=m,G.Portal=t,G.Profiler=o,G.StrictMode=n,G.Suspense=l,G.SuspenseList=f,G.isAsyncMode=function(){return!1},G.isConcurrentMode=function(){return!1},G.isContextConsumer=function(b){return C(b)===u},G.isContextProvider=function(b){return C(b)===a},G.isElement=function(b){return typeof b=="object"&&b!==null&&b.$$typeof===e},G.isForwardRef=function(b){return C(b)===s},G.isFragment=function(b){return C(b)===r},G.isLazy=function(b){return C(b)===y},G.isMemo=function(b){return C(b)===m},G.isPortal=function(b){return C(b)===t},G.isProfiler=function(b){return C(b)===o},G.isStrictMode=function(b){return C(b)===n},G.isSuspense=function(b){return C(b)===l},G.isSuspenseList=function(b){return C(b)===f},G.isValidElementType=function(b){return typeof b=="string"||typeof b=="function"||b===r||b===o||b===n||b===l||b===f||b===E||typeof b=="object"&&b!==null&&(b.$$typeof===y||b.$$typeof===m||b.$$typeof===a||b.$$typeof===u||b.$$typeof===s||b.$$typeof===w||b.getModuleId!==void 0)},G.typeOf=C,G}var ai;function yp(){return ai||(ai=1,ni.exports=gp()),ni.exports}var at=yp();function bi(e,t=[]){if(Array.isArray(e))for(let r of e)bi(r,t);else e!=null&&e!==!1&&e!==""&&t.push(e);return t}function ui(e){let t=e.type;if(typeof t=="string")return t;if(typeof t=="function")return t.displayName||t.name||"Unknown";if(at.isFragment(e))return"React.Fragment";if(at.isSuspense(e))return"React.Suspense";if(typeof t=="object"&&t!==null){if(at.isContextProvider(e))return"Context.Provider";if(at.isContextConsumer(e))return"Context.Consumer";if(at.isForwardRef(e)){if(t.displayName)return t.displayName;let r=t.render.displayName||t.render.name||"";return r===""?"ForwardRef":`ForwardRef(${r})`}if(at.isMemo(e)){let r=t.displayName||t.type.displayName||t.type.name||"";return r===""?"Memo":`Memo(${r})`}}return"UNDEFINED"}function bp(e){let{props:t}=e;return Object.keys(t).filter(r=>r!=="children"&&t[r]!==void 0).sort()}var Ep=(e,t,r,n,o,a)=>++n>t.maxDepth?_n(ui(e),t):Rn(ui(e),xn(bp(e),e.props,t,r+t.indent,n,o,a),Tn(bi(e.props.children),t,r+t.indent,n,o,a),t,r),Ap=e=>e!=null&&at.isElement(e),Sp={serialize:Ep,test:Ap},wp=typeof Symbol=="function"&&Symbol.for?Symbol.for("react.test.json"):245830487;function Cp(e){let{props:t}=e;return t?Object.keys(t).filter(r=>t[r]!==void 0).sort():[]}var vp=(e,t,r,n,o,a)=>++n>t.maxDepth?_n(e.type,t):Rn(e.type,e.props?xn(Cp(e),e.props,t,r+t.indent,n,o,a):"",e.children?Tn(e.children,t,r+t.indent,n,o,a):"",t,r),Dp=e=>e&&e.$$typeof===wp,xp={serialize:vp,test:Dp};var XS=Date.prototype.toISOString,JS=Error.prototype.toString,ZS=RegExp.prototype.toString;var Ei={comment:"gray",content:"reset",prop:"yellow",tag:"cyan",value:"green"},QS=Object.keys(Ei),ew={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:Ei};var Ai={AsymmetricMatcher:kc,DOMCollection:Hc,DOMElement:ep,Immutable:mp,ReactElement:Sp,ReactTestComponent:xp};var tw=Number.isNaN||(e=>e!==e);var rw=new RegExp("['\\u0000-\\u001f\\u007f-\\u009f\\u00ad\\u0600-\\u0604\\u070f\\u17b4\\u17b5\\u200c-\\u200f\\u2028-\\u202f\\u2060-\\u206f\\ufeff\\ufff0-\\uffff]","g");var Tp=()=>"Promise{\u2026}";try{let{getPromiseDetails:e,kPending:t,kRejected:r}=process.binding("util");Array.isArray(e(Promise.resolve()))&&(Tp=(n,o)=>{let[a,u]=e(n);return a===t?"Promise{}":`Promise${a===r?"!":""}{${o.inspect(u,o)}}`})}catch{}var Rp=typeof Symbol=="function"&&typeof Symbol.for=="function",nw=Rp?Symbol.for("chai/inspect"):"@@chai/inspect",ii=!1;try{let e=Rc("util");ii=e.inspect?e.inspect.custom:!1}catch{ii=!1}var{AsymmetricMatcher:ow,DOMCollection:aw,DOMElement:uw,Immutable:iw,ReactElement:sw,ReactTestComponent:lw}=Ai;function _p(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var hr={},si;function Op(){if(si)return hr;si=1,Object.defineProperty(hr,"__esModule",{value:!0}),hr.default=y;let e="diff-sequences",t=0,r=(E,w,C,b,S)=>{let A=0;for(;E{let A=0;for(;E<=w&&C<=b&&S(w,b);)w-=1,b-=1,A+=1;return A},o=(E,w,C,b,S,A,x)=>{let _=0,I=-E,v=A[_],T=v;A[_]+=r(v+1,w,b+v-I+1,C,S);let B=E{let _=0,I=E,v=A[_],T=v;A[_]-=n(w,v-1,C,b+v-I-1,S);let B=E{let B=b-w,L=C-w,k=S-b-L,q=-k-(E-1),P=-k+(E-1),M=t,h=E<_?E:_;for(let p=0,g=-E;p<=h;p+=1,g+=2){let R=p===0||p!==E&&M{let B=S-C,L=C-w,k=S-b-L,q=k-E,P=k+E,M=t,h=E{let v=b-w,T=S-C,B=C-w,L=S-b,k=L-B,q=B,P=B;if(x[0]=w-1,_[0]=C,k%2===0){let M=(E||k)/2,h=(B+L)/2;for(let p=1;p<=h;p+=1)if(q=o(p,C,S,v,A,x,q),p{if(S-b{Q(J,V,ue)},isCommon:(J,ue)=>te(ue,J)}}let N=w,j=C;w=b,C=S,b=N,S=j}let{foundSubsequence:T,isCommon:B}=x[A?1:0];s(E,w,C,b,S,B,_,I,v);let{nChangePreceding:L,aEndPreceding:k,bEndPreceding:q,nCommonPreceding:P,aCommonPreceding:M,bCommonPreceding:h,nCommonFollowing:p,aCommonFollowing:g,bCommonFollowing:R,nChangeFollowing:D,aStartFollowing:O,bStartFollowing:F}=v;w{if(typeof w!="number")throw new TypeError(`${e}: ${E} typeof ${typeof w} is not a number`);if(!Number.isSafeInteger(w))throw new RangeError(`${e}: ${E} value ${w} is not a safe integer`);if(w<0)throw new RangeError(`${e}: ${E} value ${w} is a negative integer`)},m=(E,w)=>{let C=typeof w;if(C!=="function")throw new TypeError(`${e}: ${E} typeof ${C} is not a function`)};function y(E,w,C,b){f("aLength",E),f("bLength",w),m("isCommon",C),m("foundSubsequence",b);let S=r(0,E,0,w,C);if(S!==0&&b(S,0,0),E!==S||w!==S){let A=S,x=S,_=n(A,E-1,x,w-1,C),I=E-_,v=w-_,T=S+_;E!==T&&w!==T&&l(0,A,I,x,v,!1,[{foundSubsequence:b,isCommon:C}],[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}),_!==0&&b(_,I,v)}}return hr}var Fp=Op(),cw=_p(Fp);var{AsymmetricMatcher:pw,DOMCollection:dw,DOMElement:hw,Immutable:fw,ReactElement:mw,ReactTestComponent:gw}=Ai;var yw=Object.getPrototypeOf({});var H=(e=>(e.DONE="done",e.ERROR="error",e.ACTIVE="active",e.WAITING="waiting",e))(H||{}),We={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 bw=new Error("This function ran after the play function completed. Did you forget to `await` it?");function ye(){return ye=Object.assign?Object.assign.bind():function(e){for(var t=1;t=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 f=r-a/2,m=i+f,y=s+f,E=l+f;return n(m,y,E)}var Ti={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 Np(e){if(typeof e!="string")return e;var t=e.toLowerCase();return Ti[t]?"#"+Ti[t]:e}var Lp=/^#[a-fA-F0-9]{6}$/,kp=/^#[a-fA-F0-9]{8}$/,jp=/^#[a-fA-F0-9]{3}$/,Mp=/^#[a-fA-F0-9]{4}$/,In=/^rgb\(\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*\)$/i,$p=/^rgb(?:a)?\(\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,|\/)\s*([-+]?\d*[.]?\d+[%]?)\s*\)$/i,qp=/^hsl\(\s*(\d{0,3}[.]?[0-9]+(?:deg)?)\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*\)$/i,Up=/^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 gt(e){if(typeof e!="string")throw new Se(3);var t=Np(e);if(t.match(Lp))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(kp)){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(jp))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(Mp)){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=In.exec(t);if(o)return{red:parseInt(""+o[1],10),green:parseInt(""+o[2],10),blue:parseInt(""+o[3],10)};var a=$p.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 u=qp.exec(t);if(u){var i=parseInt(""+u[1],10),s=parseInt(""+u[2],10)/100,l=parseInt(""+u[3],10)/100,f="rgb("+Pt(i,s,l)+")",m=In.exec(f);if(!m)throw new Se(4,t,f);return{red:parseInt(""+m[1],10),green:parseInt(""+m[2],10),blue:parseInt(""+m[3],10)}}var y=Up.exec(t.substring(0,50));if(y){var E=parseInt(""+y[1],10),w=parseInt(""+y[2],10)/100,C=parseInt(""+y[3],10)/100,b="rgb("+Pt(E,w,C)+")",S=In.exec(b);if(!S)throw new Se(4,t,b);return{red:parseInt(""+S[1],10),green:parseInt(""+S[2],10),blue:parseInt(""+S[3],10),alpha:parseFloat(""+y[4])>1?parseFloat(""+y[4])/100:parseFloat(""+y[4])}}throw new Se(5)}function zp(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),u=(o+a)/2;if(o===a)return e.alpha!==void 0?{hue:0,saturation:0,lightness:u,alpha:e.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 t:i=(r-n)/s+(r=1?yr(e,t,r):"rgba("+Pt(e,t,r)+","+n+")";if(typeof e=="object"&&t===void 0&&r===void 0&&n===void 0)return e.alpha>=1?yr(e.hue,e.saturation,e.lightness):"rgba("+Pt(e.hue,e.saturation,e.lightness)+","+e.alpha+")";throw new Se(2)}function Nn(e,t,r){if(typeof e=="number"&&typeof t=="number"&&typeof r=="number")return Pn("#"+ut(e)+ut(t)+ut(r));if(typeof e=="object"&&t===void 0&&r===void 0)return Pn("#"+ut(e.red)+ut(e.green)+ut(e.blue));throw new Se(6)}function br(e,t,r,n){if(typeof e=="string"&&typeof t=="number"){var o=gt(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?Nn(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?Nn(e.red,e.green,e.blue):"rgba("+e.red+","+e.green+","+e.blue+","+e.alpha+")"}throw new Se(7)}var Yp=function(t){return typeof t.red=="number"&&typeof t.green=="number"&&typeof t.blue=="number"&&(typeof t.alpha!="number"||typeof t.alpha>"u")},Kp=function(t){return typeof t.red=="number"&&typeof t.green=="number"&&typeof t.blue=="number"&&typeof t.alpha=="number"},Xp=function(t){return typeof t.hue=="number"&&typeof t.saturation=="number"&&typeof t.lightness=="number"&&(typeof t.alpha!="number"||typeof t.alpha>"u")},Jp=function(t){return typeof t.hue=="number"&&typeof t.saturation=="number"&&typeof t.lightness=="number"&&typeof t.alpha=="number"};function Xe(e){if(typeof e!="object")throw new Se(8);if(Kp(e))return br(e);if(Yp(e))return Nn(e);if(Jp(e))return Wp(e);if(Xp(e))return Vp(e);throw new Se(8)}function _i(e,t,r){return function(){var o=r.concat(Array.prototype.slice.call(arguments));return o.length>=t?e.apply(this,o):_i(e,t,o)}}function ve(e){return _i(e,e.length,[])}function Zp(e,t){if(t==="transparent")return t;var r=Ke(t);return Xe(ye({},r,{hue:r.hue+parseFloat(e)}))}var DC=ve(Zp);function yt(e,t,r){return Math.max(e,Math.min(t,r))}function Qp(e,t){if(t==="transparent")return t;var r=Ke(t);return Xe(ye({},r,{lightness:yt(0,1,r.lightness-parseFloat(e))}))}var xC=ve(Qp);function e2(e,t){if(t==="transparent")return t;var r=Ke(t);return Xe(ye({},r,{saturation:yt(0,1,r.saturation-parseFloat(e))}))}var TC=ve(e2);function t2(e,t){if(t==="transparent")return t;var r=Ke(t);return Xe(ye({},r,{lightness:yt(0,1,r.lightness+parseFloat(e))}))}var RC=ve(t2);function r2(e,t,r){if(t==="transparent")return r;if(r==="transparent")return t;if(e===0)return r;var n=gt(t),o=ye({},n,{alpha:typeof n.alpha=="number"?n.alpha:1}),a=gt(r),u=ye({},a,{alpha:typeof a.alpha=="number"?a.alpha:1}),i=o.alpha-u.alpha,s=parseFloat(e)*2-1,l=s*i===-1?s:s+i,f=1+s*i,m=(l/f+1)/2,y=1-m,E={red:Math.floor(o.red*m+u.red*y),green:Math.floor(o.green*m+u.green*y),blue:Math.floor(o.blue*m+u.blue*y),alpha:o.alpha*parseFloat(e)+u.alpha*(1-parseFloat(e))};return br(E)}var n2=ve(r2),Oi=n2;function o2(e,t){if(t==="transparent")return t;var r=gt(t),n=typeof r.alpha=="number"?r.alpha:1,o=ye({},r,{alpha:yt(0,1,(n*100+parseFloat(e)*100)/100)});return br(o)}var _C=ve(o2);function a2(e,t){if(t==="transparent")return t;var r=Ke(t);return Xe(ye({},r,{saturation:yt(0,1,r.saturation+parseFloat(e))}))}var OC=ve(a2);function u2(e,t){return t==="transparent"?t:Xe(ye({},Ke(t),{hue:parseFloat(e)}))}var FC=ve(u2);function i2(e,t){return t==="transparent"?t:Xe(ye({},Ke(t),{lightness:parseFloat(e)}))}var IC=ve(i2);function s2(e,t){return t==="transparent"?t:Xe(ye({},Ke(t),{saturation:parseFloat(e)}))}var BC=ve(s2);function l2(e,t){return t==="transparent"?t:Oi(parseFloat(e),"rgb(0, 0, 0)",t)}var PC=ve(l2);function c2(e,t){return t==="transparent"?t:Oi(parseFloat(e),"rgb(255, 255, 255)",t)}var NC=ve(c2);function p2(e,t){if(t==="transparent")return t;var r=gt(t),n=typeof r.alpha=="number"?r.alpha:1,o=ye({},r,{alpha:yt(0,1,+(n*100-parseFloat(e)*100).toFixed(2)/100)});return br(o)}var d2=ve(p2),Er=d2;var h2=Object.create,Ki=Object.defineProperty,f2=Object.getOwnPropertyDescriptor,Xi=Object.getOwnPropertyNames,m2=Object.getPrototypeOf,g2=Object.prototype.hasOwnProperty,ae=(e,t)=>function(){return t||(0,e[Xi(e)[0]])((t={exports:{}}).exports,t),t.exports},y2=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of Xi(t))!g2.call(e,o)&&o!==r&&Ki(e,o,{get:()=>t[o],enumerable:!(n=f2(t,o))||n.enumerable});return e},Te=(e,t,r)=>(r=e!=null?h2(m2(e)):{},y2(t||!e||!e.__esModule?Ki(r,"default",{value:e,enumerable:!0}):r,e)),Ji=ae({"../../node_modules/ansi-to-html/node_modules/entities/lib/maps/entities.json"(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"}}}),b2=ae({"../../node_modules/ansi-to-html/node_modules/entities/lib/maps/legacy.json"(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"}}}),Zi=ae({"../../node_modules/ansi-to-html/node_modules/entities/lib/maps/xml.json"(e,t){t.exports={amp:"&",apos:"'",gt:">",lt:"<",quot:'"'}}}),E2=ae({"../../node_modules/ansi-to-html/node_modules/entities/lib/maps/decode.json"(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}}}),A2=ae({"../../node_modules/ansi-to-html/node_modules/entities/lib/decode_codepoint.js"(e){var t=e&&e.__importDefault||function(a){return a&&a.__esModule?a:{default:a}};Object.defineProperty(e,"__esModule",{value:!0});var r=t(E2()),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))}e.default=o}}),Fi=ae({"../../node_modules/ansi-to-html/node_modules/entities/lib/decode.js"(e){var t=e&&e.__importDefault||function(f){return f&&f.__esModule?f:{default:f}};Object.defineProperty(e,"__esModule",{value:!0}),e.decodeHTML=e.decodeHTMLStrict=e.decodeXML=void 0;var r=t(Ji()),n=t(b2()),o=t(Zi()),a=t(A2()),u=/&(?:[a-zA-Z0-9]+|#[xX][\da-fA-F]+|#\d+);/g;e.decodeXML=i(o.default),e.decodeHTMLStrict=i(r.default);function i(f){var m=l(f);return function(y){return String(y).replace(u,m)}}var s=function(f,m){return f1?m(A):A.charCodeAt(0)).toString(16).toUpperCase()+";"}function E(A,x){return function(_){return _.replace(x,function(I){return A[I]}).replace(f,y)}}var w=new RegExp(o.source+"|"+f.source,"g");function C(A){return A.replace(w,y)}e.escape=C;function b(A){return A.replace(o,y)}e.escapeUTF8=b;function S(A){return function(x){return x.replace(w,function(_){return A[_]||y(_)})}}}}),S2=ae({"../../node_modules/ansi-to-html/node_modules/entities/lib/index.js"(e){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=Fi(),r=Ii();function n(s,l){return(!l||l<=0?t.decodeXML:t.decodeHTML)(s)}e.decode=n;function o(s,l){return(!l||l<=0?t.decodeXML:t.decodeHTMLStrict)(s)}e.decodeStrict=o;function a(s,l){return(!l||l<=0?r.encodeXML:r.encodeHTML)(s)}e.encode=a;var u=Ii();Object.defineProperty(e,"encodeXML",{enumerable:!0,get:function(){return u.encodeXML}}),Object.defineProperty(e,"encodeHTML",{enumerable:!0,get:function(){return u.encodeHTML}}),Object.defineProperty(e,"encodeNonAsciiHTML",{enumerable:!0,get:function(){return u.encodeNonAsciiHTML}}),Object.defineProperty(e,"escape",{enumerable:!0,get:function(){return u.escape}}),Object.defineProperty(e,"escapeUTF8",{enumerable:!0,get:function(){return u.escapeUTF8}}),Object.defineProperty(e,"encodeHTML4",{enumerable:!0,get:function(){return u.encodeHTML}}),Object.defineProperty(e,"encodeHTML5",{enumerable:!0,get:function(){return u.encodeHTML}});var i=Fi();Object.defineProperty(e,"decodeXML",{enumerable:!0,get:function(){return i.decodeXML}}),Object.defineProperty(e,"decodeHTML",{enumerable:!0,get:function(){return i.decodeHTML}}),Object.defineProperty(e,"decodeHTMLStrict",{enumerable:!0,get:function(){return i.decodeHTMLStrict}}),Object.defineProperty(e,"decodeHTML4",{enumerable:!0,get:function(){return i.decodeHTML}}),Object.defineProperty(e,"decodeHTML5",{enumerable:!0,get:function(){return i.decodeHTML}}),Object.defineProperty(e,"decodeHTML4Strict",{enumerable:!0,get:function(){return i.decodeHTMLStrict}}),Object.defineProperty(e,"decodeHTML5Strict",{enumerable:!0,get:function(){return i.decodeHTMLStrict}}),Object.defineProperty(e,"decodeXMLStrict",{enumerable:!0,get:function(){return i.decodeXML}})}}),w2=ae({"../../node_modules/ansi-to-html/lib/ansi_to_html.js"(e,t){function r(h,p){if(!(h instanceof p))throw new TypeError("Cannot call a class as a function")}function n(h,p){for(var g=0;g=h.length?{done:!0}:{done:!1,value:h[R++]}},e:function(j){throw j},f:D}}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 O=!0,F=!1,N;return{s:function(){g=g.call(h)},n:function(){var j=g.next();return O=j.done,j},e:function(j){F=!0,N=j},f:function(){try{!O&&g.return!=null&&g.return()}finally{if(F)throw N}}}}function u(h,p){if(h){if(typeof h=="string")return i(h,p);var g=Object.prototype.toString.call(h).slice(8,-1);if(g==="Object"&&h.constructor&&(g=h.constructor.name),g==="Map"||g==="Set")return Array.from(h);if(g==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(g))return i(h,p)}}function i(h,p){(p==null||p>h.length)&&(p=h.length);for(var g=0,R=new Array(p);g0?h*40+55:0,F=p>0?p*40+55:0,N=g>0?g*40+55:0;R[D]=E([O,F,N])}function y(h){for(var p=h.toString(16);p.length<2;)p="0"+p;return p}function E(h){var p=[],g=a(h),R;try{for(g.s();!(R=g.n()).done;){var D=R.value;p.push(y(D))}}catch(O){g.e(O)}finally{g.f()}return"#"+p.join("")}function w(h,p,g,R){var D;return p==="text"?D=I(g,R):p==="display"?D=b(h,g,R):p==="xterm256Foreground"?D=B(h,R.colors[g]):p==="xterm256Background"?D=L(h,R.colors[g]):p==="rgb"&&(D=C(h,g)),D}function C(h,p){p=p.substring(2).slice(0,-1);var g=+p.substr(0,2),R=p.substring(5).split(";"),D=R.map(function(O){return("0"+Number(O).toString(16)).substr(-2)}).join("");return T(h,(g===38?"color:#":"background-color:#")+D)}function b(h,p,g){p=parseInt(p,10);var R={"-1":function(){return"
"},0:function(){return h.length&&S(h)},1:function(){return v(h,"b")},3:function(){return v(h,"i")},4:function(){return v(h,"u")},8:function(){return T(h,"display:none")},9:function(){return v(h,"strike")},22:function(){return T(h,"font-weight:normal;text-decoration:none;font-style:normal")},23:function(){return k(h,"i")},24:function(){return k(h,"u")},39:function(){return B(h,g.fg)},49:function(){return L(h,g.bg)},53:function(){return T(h,"text-decoration:overline")}},D;return R[p]?D=R[p]():4"}).join("")}function A(h,p){for(var g=[],R=h;R<=p;R++)g.push(R);return g}function x(h){return function(p){return(h===null||p.category!==h)&&h!=="all"}}function _(h){h=parseInt(h,10);var p=null;return h===0?p="all":h===1?p="bold":2")}function T(h,p){return v(h,"span",p)}function B(h,p){return v(h,"span","color:"+p)}function L(h,p){return v(h,"span","background-color:"+p)}function k(h,p){var g;if(h.slice(-1)[0]===p&&(g=h.pop()),g)return""}function q(h,p,g){var R=!1,D=3;function O(){return""}function F(re,ne){return g("xterm256Foreground",ne),""}function N(re,ne){return g("xterm256Background",ne),""}function j(re){return p.newline?g("display",-1):g("text",re),""}function Q(re,ne){R=!0,ne.trim().length===0&&(ne="0"),ne=ne.trimRight(";").split(";");var Ne=a(ne),wt;try{for(Ne.s();!(wt=Ne.n()).done;){var Dr=wt.value;g("display",Dr)}}catch(xr){Ne.e(xr)}finally{Ne.f()}return""}function te(re){return g("text",re),""}function J(re){return g("rgb",re),""}var ue=[{pattern:/^\x08+/,sub:O},{pattern:/^\x1b\[[012]?K/,sub:O},{pattern:/^\x1b\[\(B/,sub:O},{pattern:/^\x1b\[[34]8;2;\d+;\d+;\d+m/,sub:J},{pattern:/^\x1b\[38;5;(\d+)m/,sub:F},{pattern:/^\x1b\[48;5;(\d+)m/,sub:N},{pattern:/^\n/,sub:j},{pattern:/^\r+\n/,sub:j},{pattern:/^\r/,sub:j},{pattern:/^\x1b\[((?:\d{1,3};?)+|)m/,sub:Q},{pattern:/^\x1b\[\d?J/,sub:O},{pattern:/^\x1b\[\d{0,3};\d{0,3}f/,sub:O},{pattern:/^\x1b\[?[\d;]{0,3}/,sub:O},{pattern:/^(([^\x1b\x08\r\n])+)/,sub:te}];function V(re,ne){ne>D&&R||(R=!1,h=h.replace(re.pattern,re.sub))}var ce=[],De=h,be=De.length;e:for(;be>0;){for(var Oe=0,St=0,Cr=ue.length;St=0)&&(a[i]=n[i]);return a}t.exports=r}}),Yn=ae({"../../node_modules/@devtools-ds/object-inspector/node_modules/@babel/runtime/helpers/objectWithoutProperties.js"(e,t){var r=C2();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}t.exports=n}}),v2=ae({"../../node_modules/@devtools-ds/themes/node_modules/@babel/runtime/helpers/defineProperty.js"(e,t){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}t.exports=r}}),D2=ae({"../../node_modules/@devtools-ds/themes/node_modules/@babel/runtime/helpers/objectSpread2.js"(e,t){var r=v2();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}t.exports=r}}),T2=ae({"../../node_modules/@devtools-ds/themes/node_modules/@babel/runtime/helpers/objectWithoutProperties.js"(e,t){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}t.exports=n}}),R2=ae({"../../node_modules/@devtools-ds/object-inspector/node_modules/@babel/runtime/helpers/defineProperty.js"(e,t){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}t.exports=r}}),_2=ae({"../../node_modules/@devtools-ds/object-inspector/node_modules/@babel/runtime/helpers/objectSpread2.js"(e,t){var r=R2();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}t.exports=r}}),I2=ae({"../../node_modules/@devtools-ds/tree/node_modules/@babel/runtime/helpers/objectWithoutProperties.js"(e,t){var r=F2();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}t.exports=n}}),At="storybook/test",Ar=`${At}/test-provider`,Hn=`${At}/panel`,B2="STORYBOOK_ADDON_TEST_CHANNEL",P2="https://youtu.be/Waht9qq7AoA",Kn="writing-tests/test-addon",N2=`${Kn}#what-happens-when-there-are-different-test-results-in-multiple-environments`,L2=`${Kn}#what-happens-if-vitest-itself-has-an-error`,k2={id:At,initialState:{config:{coverage:!1,a11y:!1},watching:!1}},Qi=po.create({...k2,leader:globalThis.CONFIG_TYPE==="PRODUCTION"}),j2=$.div({display:"flex",justifyContent:"space-between",alignItems:"center",padding:"6px 6px 6px 20px"}),M2=$.div({display:"flex",justifyContent:"space-between",alignItems:"center"}),$2=$.div(({theme:{typography:e}})=>({fontSize:e.size.s2,fontWeight:e.weight.bold})),q2=$.pre(({theme:e})=>({whiteSpace:"pre-wrap",overflow:"auto",maxHeight:"60vh",margin:0,padding:"20px",fontFamily:e.typography.fonts.mono,fontSize:"12px",borderTop:`1px solid ${e.appBorderColor}`,borderRadius:0})),U2=$.a(({theme:e})=>({color:e.color.defaultText})),Xn=c.createContext({isModalOpen:!1,setModalOpen:()=>{},error:void 0});function z2({onRerun:e}){let t=zt(),{error:r,isModalOpen:n,setModalOpen:o}=to(Xn),a=()=>o(!1),u=t.getDocsUrl({subpath:L2,versioned:!0,renderer:!0});return c.createElement(ao,{onEscapeKeyDown:a,onInteractOutside:a,open:n},c.createElement(j2,null,c.createElement($2,null,"Storybook Tests error details"),c.createElement(M2,null,c.createElement($e,{onClick:e,variant:"ghost"},c.createElement(Or,null),"Rerun"),c.createElement($e,{variant:"ghost",asChild:!0},c.createElement("a",{target:"_blank",href:u,rel:"noreferrer"},"Troubleshoot")),c.createElement(Ut,{onClick:a},c.createElement(wo,null)))),c.createElement(q2,null,r,c.createElement("br",null),c.createElement("br",null),"Troubleshoot:"," ",c.createElement(U2,{target:"_blank",href:u},u)))}var H2=Te(w2());function G2({onlyFirst:e=!1}={}){let t=["[\\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(t,e?void 0:"g")}var V2=G2();function W2(e){if(typeof e!="string")throw new TypeError(`Expected a \`string\`, got \`${typeof e}\``);return e.replace(V2,"")}function Y2(e){return es(e)||ts(e)}function es(e){return e&&typeof e=="object"&&"name"in e&&typeof e.name=="string"&&e.name==="AssertionError"}function ts(e){return e&&typeof e=="object"&&"message"in e&&typeof e.message=="string"&&W2(e.message).startsWith("expect(")}function K2(e){return new H2.default({escapeXML:!0,fg:e.color.defaultText,bg:e.background.content})}function Jn(){let e=Ze();return K2(e)}var X2=$.div(({theme:e})=>({display:"flex",fontSize:e.typography.size.s2-1,gap:25})),J2=$.div(({theme:e})=>({width:1,height:16,backgroundColor:e.appBorderColor})),Z2=()=>{let[e,t]=ge(!0),r=zt().getDocsUrl({subpath:Kn,versioned:!0,renderer:!0});return Fe(()=>{let n=setTimeout(()=>{t(!1)},100);return()=>clearTimeout(n)},[]),e?null:c.createElement(oo,{title:"Component testing",description:c.createElement(c.Fragment,null,"Component 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:c.createElement(X2,null,c.createElement(vt,{href:P2,target:"_blank",withArrow:!0},c.createElement(No,null)," Watch 8m video"),c.createElement(J2,null),c.createElement(vt,{href:r,target:"_blank",withArrow:!0},c.createElement(Co,null)," Read docs"))})},Q2=Te(Wn()),ed=Te(Yn());function Gn(e){var t,r,n="";if(e)if(typeof e=="object")if(Array.isArray(e))for(t=0;tArray.isArray(e)||ArrayBuffer.isView(e)&&!(e instanceof DataView),rs=e=>e!==null&&typeof e=="object"&&!Zn(e)&&!(e instanceof Date)&&!(e instanceof RegExp)&&!(e instanceof Error)&&!(e instanceof WeakMap)&&!(e instanceof WeakSet),td=e=>rs(e)||Zn(e)||typeof e=="function"||e instanceof Promise,ns=e=>{let t=/unique/;return Promise.race([e,t]).then(r=>r===t?["pending"]:["fulfilled",r],r=>["rejected",r])},Be=async(e,t,r,n,o,a)=>{let u={key:e,depth:r,value:t,type:"value",parent:void 0};if(t&&td(t)&&r<100){let i=[],s="object";if(Zn(t)){for(let l=0;l{let f=await Be(l.toString(),t[l],r+1,n);return f.parent=u,f});s="array"}else{let l=Object.getOwnPropertyNames(t);n&&l.sort();for(let f=0;f{let y=await Be(l[f],m,r+1,n);return y.parent=u,y})}if(typeof t=="function"&&(s="function"),t instanceof Promise){let[f,m]=await ns(t);i.push(async()=>{let y=await Be("",f,r+1,n);return y.parent=u,y}),f!=="pending"&&i.push(async()=>{let y=await Be("",m,r+1,n);return y.parent=u,y}),s="promise"}if(t instanceof Map){let f=Array.from(t.entries()).map(m=>{let[y,E]=m;return{"":y,"":E}});i.push(async()=>{let m=await Be("",f,r+1,n);return m.parent=u,m}),i.push(async()=>{let m=await Be("size",t.size,r+1,n);return m.parent=u,m}),s="map"}if(t instanceof Set){let f=Array.from(t.entries()).map(m=>m[1]);i.push(async()=>{let m=await Be("",f,r+1,n);return m.parent=u,m}),i.push(async()=>{let m=await Be("size",t.size,r+1,n);return m.parent=u,m}),s="set"}}t!==Object.prototype&&a&&i.push(async()=>{let l=await Be("",Object.getPrototypeOf(t),r+1,n,!0);return l.parent=u,l}),u.type=s,u.children=i,u.isPrototype=o}return u},rd=(e,t,r)=>Be("root",e,0,t===!1?t:!0,void 0,r===!1?r:!0),Bi=Te(D2()),nd=Te(T2()),od=["children"],Vn=c.createContext({theme:"chrome",colorScheme:"light"}),ad=e=>{let{children:t}=e,r=(0,nd.default)(e,od),n=c.useContext(Vn);return c.createElement(Vn.Provider,{value:(0,Bi.default)((0,Bi.default)({},n),r)},t)},wr=(e,t={})=>{let r=c.useContext(Vn),n=e.theme||r.theme||"chrome",o=e.colorScheme||r.colorScheme||"light",a=Pe(t[n],t[o]);return{currentColorScheme:o,currentTheme:n,themeClass:a}},Pi=Te(_2()),Ln=Te(O2()),ud=Te(I2()),id=c.createContext({isChild:!1,depth:0,hasHover:!0}),kn=id,we={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"},sd=["theme","hover","colorScheme","children","label","className","onUpdate","onSelect","open"],Sr=e=>{let{theme:t,hover:r,colorScheme:n,children:o,label:a,className:u,onUpdate:i,onSelect:s,open:l}=e,f=(0,ud.default)(e,sd),{themeClass:m,currentTheme:y}=wr({theme:t,colorScheme:n},we),[E,w]=ge(l);Fe(()=>{w(l)},[l]);let C=D=>{w(D),i&&i(D)},b=c.Children.count(o)>0,S=(D,O)=>{if(D.isSameNode(O||null))return;D.querySelector('[tabindex="-1"]')?.focus(),D.setAttribute("aria-selected","true"),O?.removeAttribute("aria-selected")},A=(D,O)=>{let F=D;for(;F&&F.parentElement;){if(F.getAttribute("role")===O)return F;F=F.parentElement}return null},x=D=>{let O=A(D,"tree");return O?Array.from(O.querySelectorAll("li")):[]},_=D=>{let O=A(D,"group"),F=O?.previousElementSibling;if(F&&F.getAttribute("tabindex")==="-1"){let N=F.parentElement,j=D.parentElement;S(N,j)}},I=(D,O)=>{let F=x(D);F.forEach(N=>{N.removeAttribute("aria-selected")}),O==="start"&&F[0]&&S(F[0]),O==="end"&&F[F.length-1]&&S(F[F.length-1])},v=(D,O)=>{let F=x(D)||[];for(let N=0;N{let F=D.target;(D.key==="Enter"||D.key===" ")&&C(!E),D.key==="ArrowRight"&&E&&!O?v(F,"down"):D.key==="ArrowRight"&&C(!0),D.key==="ArrowLeft"&&(!E||O)?_(F):D.key==="ArrowLeft"&&C(!1),D.key==="ArrowDown"&&v(F,"down"),D.key==="ArrowUp"&&v(F,"up"),D.key==="Home"&&I(F,"start"),D.key==="End"&&I(F,"end")},B=(D,O)=>{let F=D.target,N=A(F,"treeitem"),j=x(F)||[],Q=!1;for(let te=0;te{let O=D.currentTarget;!O.contains(document.activeElement)&&O.getAttribute("role")==="tree"&&O.setAttribute("tabindex","0")},k=D=>{let O=D.target;if(O.getAttribute("role")==="tree"){let F=O.querySelector('[aria-selected="true"]');F?S(F):v(O,"down"),O.setAttribute("tabindex","-1")}},q=()=>{s?.()},P=D=>{let O=D*.9+.3;return{paddingLeft:`${O}em`,width:`calc(100% - ${O}em)`}},{isChild:M,depth:h,hasHover:p}=c.useContext(kn),g=p?r:!1;if(!M)return c.createElement("ul",(0,Ln.default)({role:"tree",tabIndex:0,className:Pe(we.tree,we.group,m,u),onFocus:k,onBlur:L},f),c.createElement(kn.Provider,{value:{isChild:!0,depth:0,hasHover:g}},c.createElement(Sr,e)));if(!b)return c.createElement("li",(0,Ln.default)({role:"treeitem",className:we.item},f),c.createElement("div",{role:"button",className:Pe(we.label,{[we.hover]:g,[we.focusWhite]:y==="firefox"}),tabIndex:-1,style:P(h),onKeyDown:D=>{T(D,M)},onClick:D=>B(D,!0),onFocus:q},c.createElement("span",null,a)));let R=Pe(we.arrow,{[we.open]:E});return c.createElement("li",{role:"treeitem","aria-expanded":E,className:we.item},c.createElement("div",{role:"button",tabIndex:-1,className:Pe(we.label,{[we.hover]:g,[we.focusWhite]:y==="firefox"}),style:P(h),onClick:D=>B(D),onKeyDown:D=>T(D),onFocus:q},c.createElement("span",null,c.createElement("span",{"aria-hidden":!0,className:R}),c.createElement("span",null,a))),c.createElement("ul",(0,Ln.default)({role:"group",className:Pe(u,we.group)},f),E&&c.Children.map(o,D=>c.createElement(kn.Provider,{value:{isChild:!0,depth:h+1,hasHover:g}},D))))};Sr.defaultProps={open:!1,hover:!0};var ld=Te(Wn()),cd=Te(Yn()),Z={"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"},pd=["ast","theme","showKey","colorScheme","className"],Ce=(e,t,r,n,o)=>{let a=e.includes("-")?`"${e}"`:e,u=o<=0;return c.createElement("span",{className:Z.text},!u&&n&&c.createElement(c.Fragment,null,c.createElement("span",{className:Z.key},a),c.createElement("span",null,":\xA0")),c.createElement("span",{className:r},t))},os=e=>{let{ast:t,theme:r,showKey:n,colorScheme:o,className:a}=e,u=(0,cd.default)(e,pd),{themeClass:i}=wr({theme:r,colorScheme:o},Z),[s,l]=ge(c.createElement("span",null)),f=c.createElement("span",null);return Fe(()=>{t.value instanceof Promise&&(async m=>{l(Ce(t.key,`Promise { "${await ns(m)}" }`,Z.key,n,t.depth))})(t.value)},[t,n]),typeof t.value=="number"||typeof t.value=="bigint"?f=Ce(t.key,String(t.value),Z.number,n,t.depth):typeof t.value=="boolean"?f=Ce(t.key,String(t.value),Z.boolean,n,t.depth):typeof t.value=="string"?f=Ce(t.key,`"${t.value}"`,Z.string,n,t.depth):typeof t.value>"u"?f=Ce(t.key,"undefined",Z.undefined,n,t.depth):typeof t.value=="symbol"?f=Ce(t.key,t.value.toString(),Z.string,n,t.depth):typeof t.value=="function"?f=Ce(t.key,`${t.value.name}()`,Z.key,n,t.depth):typeof t.value=="object"&&(t.value===null?f=Ce(t.key,"null",Z.null,n,t.depth):Array.isArray(t.value)?f=Ce(t.key,`Array(${t.value.length})`,Z.key,n,t.depth):t.value instanceof Date?f=Ce(t.key,`Date ${t.value.toString()}`,Z.value,n,t.depth):t.value instanceof RegExp?f=Ce(t.key,t.value.toString(),Z.regex,n,t.depth):t.value instanceof Error?f=Ce(t.key,t.value.toString(),Z.error,n,t.depth):rs(t.value)?f=Ce(t.key,"{\u2026}",Z.key,n,t.depth):f=Ce(t.key,t.value.constructor.name,Z.key,n,t.depth)),c.createElement("span",(0,ld.default)({className:Pe(i,a)},u),s,f)};os.defaultProps={showKey:!0};var as=os,bt=Te(Wn()),dd=Te(Yn()),hd=["ast","theme","previewMax","open","colorScheme","className"],jt=(e,t,r)=>{let n=[];for(let o=0;ot){n.push("\u2026 ");break}}return n},fd=(e,t,r,n)=>{let o=e.value.length;return t?c.createElement("span",null,"Array(",o,")"):c.createElement(c.Fragment,null,c.createElement("span",null,`${n==="firefox"?"Array":""}(${o}) [ `),jt(e.children,r,!1),c.createElement("span",null,"]"))},md=(e,t,r,n)=>e.isPrototype?c.createElement("span",null,`Object ${n==="firefox"?"{ \u2026 }":""}`):t?c.createElement("span",null,"{\u2026}"):c.createElement(c.Fragment,null,c.createElement("span",null,`${n==="firefox"?"Object ":""}{ `),jt(e.children,r,!0),c.createElement("span",null,"}")),gd=(e,t,r)=>t?c.createElement("span",null,`Promise { "${String(e.children[0].value)}" }`):c.createElement(c.Fragment,null,c.createElement("span",null,"Promise { "),jt(e.children,r,!0),c.createElement("span",null,"}")),yd=(e,t,r,n)=>{let{size:o}=e.value;return t?c.createElement("span",null,`Map(${o})`):c.createElement(c.Fragment,null,c.createElement("span",null,`Map${n==="chrome"?`(${o})`:""} { `),jt(e.children,r,!0),c.createElement("span",null,"}"))},bd=(e,t,r)=>{let{size:n}=e.value;return t?c.createElement("span",null,"Set(",n,")"):c.createElement(c.Fragment,null,c.createElement("span",null,`Set(${e.value.size}) {`),jt(e.children,r,!0),c.createElement("span",null,"}"))},us=e=>{let{ast:t,theme:r,previewMax:n,open:o,colorScheme:a,className:u}=e,i=(0,dd.default)(e,hd),{themeClass:s,currentTheme:l}=wr({theme:r,colorScheme:a},Z),f=t.isPrototype||!1,m=Pe(Z.objectLabel,s,u,{[Z.prototype]:f}),y=t.depth<=0,E=()=>c.createElement("span",{className:f?Z.prototype:Z.key},y?"":`${t.key}: `);return t.type==="array"?c.createElement("span",(0,bt.default)({className:m},i),c.createElement(E,null),fd(t,o,n,l)):t.type==="function"?c.createElement("span",(0,bt.default)({className:m},i),c.createElement(E,null),l==="chrome"&&c.createElement("span",{className:Z.functionDecorator},"\u0192 "),c.createElement("span",{className:Pe({[Z.function]:!f})},`${t.value.name}()`)):t.type==="promise"?c.createElement("span",(0,bt.default)({className:m},i),c.createElement(E,null),gd(t,o,n)):t.type==="map"?c.createElement("span",(0,bt.default)({className:m},i),c.createElement(E,null),yd(t,o,n,l)):t.type==="set"?c.createElement("span",(0,bt.default)({className:m},i),c.createElement(E,null),bd(t,o,n)):c.createElement("span",(0,bt.default)({className:m},i),c.createElement(E,null),md(t,o,n,l))};us.defaultProps={previewMax:8,open:!1};var Ed=us,Qn=e=>{let{ast:t,expandLevel:r,depth:n}=e,[o,a]=ge(),[u,i]=ge(n{(async()=>{if(t.type!=="value"){let s=t.children.map(m=>m()),l=await Promise.all(s),f=(0,Pi.default)((0,Pi.default)({},t),{},{children:l});a(f)}})()},[t]),o?c.createElement(Sr,{hover:!1,open:u,label:c.createElement(Ed,{open:u,ast:o}),onSelect:()=>{var s;(s=e.onSelect)===null||s===void 0||s.call(e,t)},onUpdate:s=>{i(s)}},o.children.map(s=>c.createElement(Qn,{key:s.key,ast:s,depth:n+1,expandLevel:r,onSelect:e.onSelect}))):c.createElement(Sr,{hover:!1,label:c.createElement(as,{ast:t}),onSelect:()=>{var s;(s=e.onSelect)===null||s===void 0||s.call(e,t)}})};Qn.defaultProps={expandLevel:0,depth:0};var Ad=Qn,Sd=["data","expandLevel","sortKeys","includePrototypes","className","theme","colorScheme","onSelect"],is=e=>{let{data:t,expandLevel:r,sortKeys:n,includePrototypes:o,className:a,theme:u,colorScheme:i,onSelect:s}=e,l=(0,ed.default)(e,Sd),[f,m]=ge(void 0),{themeClass:y,currentTheme:E,currentColorScheme:w}=wr({theme:u,colorScheme:i},Z);return Fe(()=>{(async()=>m(await rd(t,n,o)))()},[t,n,o]),c.createElement("div",(0,Q2.default)({className:Pe(Z.objectInspector,a,y)},l),f&&c.createElement(ad,{theme:E,colorScheme:w},c.createElement(Ad,{ast:f,expandLevel:r,onSelect:s})))};is.defaultProps={expandLevel:0,sortKeys:!0,includePrototypes:!0};var wd={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"},Cd={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:e}=Ze();return e==="dark"?Cd:wd},vd=/[^A-Z0-9]/i,Ni=/[\s.,…]+$/gm,ss=(e,t)=>{if(e.length<=t)return e;for(let r=t-1;r>=0;r-=1)if(vd.test(e[r])&&r>10)return`${e.slice(0,r).replace(Ni,"")}\u2026`;return`${e.slice(0,t).replace(Ni,"")}\u2026`},Dd=e=>{try{return JSON.stringify(e,null,1)}catch{return String(e)}},ls=(e,t)=>e.flatMap((r,n)=>n===e.length-1?[r]:[r,c.cloneElement(t,{key:`sep${n}`})]),it=({value:e,nested:t,showObjectInspector:r,callsById:n,...o})=>{switch(!0){case e===null:return c.createElement(xd,{...o});case e===void 0:return c.createElement(Td,{...o});case Array.isArray(e):return c.createElement(Fd,{...o,value:e,callsById:n});case typeof e=="string":return c.createElement(Rd,{...o,value:e});case typeof e=="number":return c.createElement(_d,{...o,value:e});case typeof e=="boolean":return c.createElement(Od,{...o,value:e});case Object.prototype.hasOwnProperty.call(e,"__date__"):return c.createElement(Ld,{...o,...e.__date__});case Object.prototype.hasOwnProperty.call(e,"__error__"):return c.createElement(kd,{...o,...e.__error__});case Object.prototype.hasOwnProperty.call(e,"__regexp__"):return c.createElement(jd,{...o,...e.__regexp__});case Object.prototype.hasOwnProperty.call(e,"__function__"):return c.createElement(Pd,{...o,...e.__function__});case Object.prototype.hasOwnProperty.call(e,"__symbol__"):return c.createElement(Md,{...o,...e.__symbol__});case Object.prototype.hasOwnProperty.call(e,"__element__"):return c.createElement(Nd,{...o,...e.__element__});case Object.prototype.hasOwnProperty.call(e,"__class__"):return c.createElement(Bd,{...o,...e.__class__});case Object.prototype.hasOwnProperty.call(e,"__callId__"):return c.createElement(eo,{call:n?.get(e.__callId__),callsById:n});case Object.prototype.toString.call(e)==="[object Object]":return c.createElement(Id,{value:e,showInspector:r,callsById:n,...o});default:return c.createElement($d,{value:e,...o})}},xd=e=>{let t=fe();return c.createElement("span",{style:{color:t.nullish},...e},"null")},Td=e=>{let t=fe();return c.createElement("span",{style:{color:t.nullish},...e},"undefined")},Rd=({value:e,...t})=>{let r=fe();return c.createElement("span",{style:{color:r.string},...t},JSON.stringify(ss(e,50)))},_d=({value:e,...t})=>{let r=fe();return c.createElement("span",{style:{color:r.number},...t},e)},Od=({value:e,...t})=>{let r=fe();return c.createElement("span",{style:{color:r.boolean},...t},String(e))},Fd=({value:e,nested:t=!1,callsById:r})=>{let n=fe();if(t)return c.createElement("span",{style:{color:n.base}},"[\u2026]");let o=e.slice(0,3).map((u,i)=>c.createElement(it,{key:`${i}--${JSON.stringify(u)}`,value:u,nested:!0,callsById:r})),a=ls(o,c.createElement("span",null,", "));return e.length<=3?c.createElement("span",{style:{color:n.base}},"[",a,"]"):c.createElement("span",{style:{color:n.base}},"(",e.length,") [",a,", \u2026]")},Id=({showInspector:e,value:t,callsById:r,nested:n=!1})=>{let o=Ze().base==="dark",a=fe();if(e)return c.createElement(c.Fragment,null,c.createElement(is,{id:"interactions-object-inspector",data:t,includePrototypes:!1,colorScheme:o?"dark":"light"}));if(n)return c.createElement("span",{style:{color:a.base}},"{\u2026}");let u=ls(Object.entries(t).slice(0,2).map(([i,s])=>c.createElement(Mt,{key:i},c.createElement("span",{style:{color:a.objectkey}},i,": "),c.createElement(it,{value:s,callsById:r,nested:!0}))),c.createElement("span",null,", "));return Object.keys(t).length<=2?c.createElement("span",{style:{color:a.base}},"{ ",u," }"):c.createElement("span",{style:{color:a.base}},"(",Object.keys(t).length,") ","{ ",u,", \u2026 }")},Bd=({name:e})=>{let t=fe();return c.createElement("span",{style:{color:t.instance}},e)},Pd=({name:e})=>{let t=fe();return e?c.createElement("span",{style:{color:t.function}},e):c.createElement("span",{style:{color:t.nullish,fontStyle:"italic"}},"anonymous")},Nd=({prefix:e,localName:t,id:r,classNames:n=[],innerText:o})=>{let a=e?`${e}:${t}`:t,u=fe();return c.createElement("span",{style:{wordBreak:"keep-all"}},c.createElement("span",{key:`${a}_lt`,style:{color:u.muted}},"<"),c.createElement("span",{key:`${a}_tag`,style:{color:u.tag.name}},a),c.createElement("span",{key:`${a}_suffix`,style:{color:u.tag.suffix}},r?`#${r}`:n.reduce((i,s)=>`${i}.${s}`,"")),c.createElement("span",{key:`${a}_gt`,style:{color:u.muted}},">"),!r&&n.length===0&&o&&c.createElement(c.Fragment,null,c.createElement("span",{key:`${a}_text`},o),c.createElement("span",{key:`${a}_close_lt`,style:{color:u.muted}},"<"),c.createElement("span",{key:`${a}_close_tag`,style:{color:u.tag.name}},"/",a),c.createElement("span",{key:`${a}_close_gt`,style:{color:u.muted}},">")))},Ld=({value:e})=>{let t=e instanceof Date?e.toISOString():e,[r,n,o]=t.split(/[T.Z]/),a=fe();return c.createElement("span",{style:{whiteSpace:"nowrap",color:a.date}},r,c.createElement("span",{style:{opacity:.7}},"T"),n==="00:00:00"?c.createElement("span",{style:{opacity:.7}},n):n,o==="000"?c.createElement("span",{style:{opacity:.7}},".",o):`.${o}`,c.createElement("span",{style:{opacity:.7}},"Z"))},kd=({name:e,message:t})=>{let r=fe();return c.createElement("span",{style:{color:r.error.name}},e,t&&": ",t&&c.createElement("span",{style:{color:r.error.message},title:t.length>50?t:""},ss(t,50)))},jd=({flags:e,source:t})=>{let r=fe();return c.createElement("span",{style:{whiteSpace:"nowrap",color:r.regex.flags}},"/",c.createElement("span",{style:{color:r.regex.source}},t),"/",e)},Md=({description:e})=>{let t=fe();return c.createElement("span",{style:{whiteSpace:"nowrap",color:t.instance}},"Symbol(",e&&c.createElement("span",{style:{color:t.meta}},'"',e,'"'),")")},$d=({value:e})=>{let t=fe();return c.createElement("span",{style:{color:t.meta}},Dd(e))},qd=({label:e})=>{let t=fe(),{typography:r}=Ze();return c.createElement("span",{style:{color:t.base,fontFamily:r.fonts.base,fontSize:r.size.s2-1}},e)},eo=({call:e,callsById:t})=>{if(!e)return null;if(e.method==="step"&&e.path?.length===0)return c.createElement(qd,{label:e.args[0]});let r=e.path?.flatMap((a,u)=>{let i=a.__callId__;return[i?c.createElement(eo,{key:`elem${u}`,call:t?.get(i),callsById:t}):c.createElement("span",{key:`elem${u}`},a),c.createElement("wbr",{key:`wbr${u}`}),c.createElement("span",{key:`dot${u}`},".")]}),n=e.args?.flatMap((a,u,i)=>{let s=c.createElement(it,{key:`node${u}`,value:a,callsById:t});return u{for(let r=t,n=1;r{try{return e==="undefined"?void 0:JSON.parse(e)}catch{return e}},Ud=$.span(({theme:e})=>({color:e.base==="light"?e.color.positiveText:e.color.positive})),zd=$.span(({theme:e})=>({color:e.base==="light"?e.color.negativeText:e.color.negative})),Mn=({value:e,parsed:t})=>t?c.createElement(it,{showObjectInspector:!0,value:e,style:{color:"#D43900"}}):c.createElement(zd,null,e),$n=({value:e,parsed:t})=>t?typeof e=="string"&&e.startsWith("called with")?c.createElement(c.Fragment,null,e):c.createElement(it,{showObjectInspector:!0,value:e,style:{color:"#16B242"}}):c.createElement(Ud,null,e),ki=({message:e,style:t={}})=>{let r=Jn(),n=e.split(` +`);return c.createElement("pre",{style:{margin:0,padding:"8px 10px 8px 36px",fontSize:Le.size.s1,...t}},n.flatMap((o,a)=>{if(o.startsWith("expect(")){let m=Li(o,7),y=m?7+m.length:0,E=m&&o.slice(y).match(/\.(to|last|nth)[A-Z]\w+\(/);if(E){let w=y+(E.index??0)+E[0].length,C=Li(o,w);if(C)return["expect(",c.createElement(Mn,{key:`received_${m}`,value:m}),o.slice(y,w),c.createElement($n,{key:`expected_${C}`,value:C}),o.slice(w+C.length),c.createElement("br",{key:`br${a}`})]}}if(o.match(/^\s*- /))return[c.createElement($n,{key:o+a,value:o}),c.createElement("br",{key:`br${a}`})];if(o.match(/^\s*\+ /)||o.match(/^Received: $/))return[c.createElement(Mn,{key:o+a,value:o}),c.createElement("br",{key:`br${a}`})];let[,u,i]=o.match(/^(Expected|Received): (.*)$/)||[];if(u&&i)return u==="Expected"?["Expected: ",c.createElement($n,{key:o+a,value:jn(i),parsed:!0}),c.createElement("br",{key:`br${a}`})]:["Received: ",c.createElement(Mn,{key:o+a,value:jn(i),parsed:!0}),c.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: `,c.createElement(it,{key:o+a,value:Number(l)}),c.createElement("br",{key:`br${a}`})];let[,f]=o.match(/^Received has value: (.+)$/)||[];return f?["Received has value: ",c.createElement(it,{key:o+a,value:jn(f)}),c.createElement("br",{key:`br${a}`})]:[c.createElement("span",{key:o+a,dangerouslySetInnerHTML:{__html:r.toHtml(o)}}),c.createElement("br",{key:`br${a}`})]}))},Hd=$.div({width:14,height:14,display:"flex",alignItems:"center",justifyContent:"center"}),Gd=({status:e})=>{let t=Ze();switch(e){case H.DONE:return c.createElement(Ao,{color:t.color.positive,"data-testid":"icon-done"});case H.ERROR:return c.createElement(_r,{color:t.color.negative,"data-testid":"icon-error"});case H.ACTIVE:return c.createElement(Oo,{color:t.color.secondary,"data-testid":"icon-active"});case H.WAITING:return c.createElement(Hd,{"data-testid":"icon-waiting"},c.createElement(So,{color:Er(.5,"#CCCCCC"),size:6}));default:return null}},Vd=$.div({fontFamily:Le.fonts.mono,fontSize:Le.size.s1,overflowWrap:"break-word",inlineSize:"calc( 100% - 40px )"}),Wd=$("div",{shouldForwardProp:e=>!["call","pausedAt"].includes(e.toString())})(({theme:e,call:t})=>({position:"relative",display:"flex",flexDirection:"column",borderBottom:`1px solid ${e.appBorderColor}`,fontFamily:Le.fonts.base,fontSize:13,...t.status===H.ERROR&&{backgroundColor:e.base==="dark"?Er(.93,e.color.negative):e.background.warning},paddingLeft:(t.ancestors?.length??0)*20}),({theme:e,call:t,pausedAt:r})=>r===t.id&&{"&::before":{content:'""',position:"absolute",top:-5,zIndex:1,borderTop:"4.5px solid transparent",borderLeft:`7px solid ${e.color.warning}`,borderBottom:"4.5px solid transparent"},"&::after":{content:'""',position:"absolute",top:-1,zIndex:1,width:"100%",borderTop:`1.5px solid ${e.color.warning}`}}),Yd=$.div(({theme:e,isInteractive:t})=>({display:"flex","&:hover":t?{}:{background:e.background.hoverable}})),Kd=$("button",{shouldForwardProp:e=>!["call"].includes(e.toString())})(({theme:e,disabled:t,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:t||r.status===H.ERROR?"default":"pointer","&:focus-visible":{outline:0,boxShadow:`inset 3px 0 0 0 ${r.status===H.ERROR?e.color.warning:e.color.secondary}`,background:r.status===H.ERROR?"transparent":e.background.hoverable},"& > div":{opacity:r.status===H.WAITING?.5:1}})),Xd=$.div({padding:6}),Jd=$(Ut)(({theme:e})=>({color:e.textMutedColor,margin:"0 3px"})),Zd=$(Je)(({theme:e})=>({fontFamily:e.typography.fonts.base})),ji=$("div")(({theme:e})=>({padding:"8px 10px 8px 36px",fontSize:Le.size.s1,color:e.color.defaultText,pre:{margin:0,padding:0}})),Qd=({exception:e})=>{let t=Jn();if(!e)return null;if(ts(e))return z(ki,{...e});if(es(e))return z(ji,null,z(ki,{message:`${e.message}${e.diff?` + +${e.diff}`:""}`,style:{padding:0}}),z("p",null,"See the full stack trace in the browser console."));let r=e.message.split(` + +`),n=r.length>1;return z(ji,null,z("pre",{dangerouslySetInnerHTML:{__html:t.toHtml(r[0])}}),n&&z("p",null,"See the full stack trace in the browser console."))},eh=({call:e,callsById:t,controls:r,controlStates:n,childCallIds:o,isHidden:a,isCollapsed:u,toggleCollapsed:i,pausedAt:s})=>{let[l,f]=ge(!1),m=!n.goto||!e.interceptable||!!e.ancestors?.length;return a?null:z(Wd,{call:e,pausedAt:s},z(Yd,{isInteractive:m},z(Kd,{"aria-label":"Interaction step",call:e,onClick:()=>r.goto(e.id),disabled:m,onMouseEnter:()=>n.goto&&f(!0),onMouseLeave:()=>n.goto&&f(!1)},z(Gd,{status:l?H.ACTIVE:e.status}),z(Vd,{style:{marginLeft:6,marginBottom:1}},z(eo,{call:e,callsById:t}))),z(Xd,null,(o?.length??0)>0&&z(Re,{hasChrome:!1,tooltip:z(Zd,{note:`${u?"Show":"Hide"} interactions`})},z(Jd,{onClick:i},z(To,null))))),e.status===H.ERROR&&e.exception?.callId===e.id&&z(Qd,{exception:e.exception}))},th=$.div(({theme:e,status:t})=>({padding:"4px 6px 4px 8px;",borderRadius:"4px",backgroundColor:{[H.DONE]:e.color.positive,[H.ERROR]:e.color.negative,[H.ACTIVE]:e.color.warning,[H.WAITING]:e.color.warning}[t],color:"white",fontFamily:Le.fonts.base,textTransform:"uppercase",fontSize:Le.size.s1,letterSpacing:3,fontWeight:Le.weight.bold,width:65,textAlign:"center"})),rh=({status:e})=>{let t={[H.DONE]:"Pass",[H.ERROR]:"Fail",[H.ACTIVE]:"Runs",[H.WAITING]:"Runs"}[e];return c.createElement(th,{"aria-label":"Status of the test run",status:e},t)},nh=$.div(({theme:e})=>({background:e.background.app,borderBottom:`1px solid ${e.appBorderColor}`,position:"sticky",top:0,zIndex:1})),oh=$.nav(({theme:e})=>({height:40,display:"flex",alignItems:"center",justifyContent:"space-between",paddingLeft:15})),ah=$($e)(({theme:e})=>({borderRadius:4,padding:6,color:e.textMutedColor,"&:not(:disabled)":{"&:hover,&:focus-visible":{color:e.color.secondary}}})),Nt=$(Je)(({theme:e})=>({fontFamily:e.typography.fonts.base})),kt=$(Ut)(({theme:e})=>({color:e.textMutedColor,margin:"0 3px"})),uh=$(so)({marginTop:0}),ih=$(uo)(({theme:e})=>({color:e.textMutedColor,justifyContent:"flex-end",textAlign:"right",whiteSpace:"nowrap",marginTop:"auto",marginBottom:1,paddingRight:15,fontSize:13})),Mi=$.div({display:"flex",alignItems:"center"}),sh=$(kt)({marginLeft:9}),lh=$(ah)({marginLeft:9,marginRight:9,marginBottom:1,lineHeight:"12px"}),ch=$(kt)(({theme:e,animating:t,disabled:r})=>({opacity:r?.5:1,svg:{animation:t?`${e.animation.rotate360} 200ms ease-out`:void 0}})),ph=({controls:e,controlStates:t,status:r,storyFileName:n,onScrollToEnd:o})=>{let a=r===H.ERROR?"Scroll to error":"Scroll to end";return c.createElement(nh,null,c.createElement(no,null,c.createElement(oh,null,c.createElement(Mi,null,c.createElement(rh,{status:r}),c.createElement(lh,{onClick:o,disabled:!o},a),c.createElement(uh,null),c.createElement(Re,{trigger:"hover",hasChrome:!1,tooltip:c.createElement(Nt,{note:"Go to start"})},c.createElement(sh,{"aria-label":"Go to start",onClick:e.start,disabled:!t.start},c.createElement(Bo,null))),c.createElement(Re,{trigger:"hover",hasChrome:!1,tooltip:c.createElement(Nt,{note:"Go back"})},c.createElement(kt,{"aria-label":"Go back",onClick:e.back,disabled:!t.back},c.createElement(Ro,null))),c.createElement(Re,{trigger:"hover",hasChrome:!1,tooltip:c.createElement(Nt,{note:"Go forward"})},c.createElement(kt,{"aria-label":"Go forward",onClick:e.next,disabled:!t.next},c.createElement(Fo,null))),c.createElement(Re,{trigger:"hover",hasChrome:!1,tooltip:c.createElement(Nt,{note:"Go to end"})},c.createElement(kt,{"aria-label":"Go to end",onClick:e.end,disabled:!t.end},c.createElement(xo,null))),c.createElement(Re,{trigger:"hover",hasChrome:!1,tooltip:c.createElement(Nt,{note:"Rerun"})},c.createElement(ch,{"aria-label":"Rerun",onClick:e.rerun},c.createElement(Or,null)))),n&&c.createElement(Mi,null,c.createElement(ih,null,n)))))},dh=$.div(({theme:{color:e,typography:t,background:r}})=>({textAlign:"start",padding:"11px 15px",fontSize:`${t.size.s2}px`,fontWeight:t.weight.regular,lineHeight:"1rem",background:r.app,borderBottom:`1px solid ${e.border}`,color:e.defaultText,backgroundClip:"padding-box",position:"relative",code:{fontSize:`${t.size.s1-1}px`,color:"inherit",margin:"0 0.2em",padding:"0 0.2em",background:"rgba(255, 255, 255, 0.8)",borderRadius:"2px",boxShadow:"0 0 0 1px rgba(0, 0, 0, 0.1)"}})),hh=({browserTestStatus:e})=>{let t=zt().getDocsUrl({subpath:N2,versioned:!0,renderer:!0}),[r,n]=e===H.ERROR?["the CLI","this browser"]:["this browser","the CLI"];return c.createElement(dh,null,"This component test passed in ",r,", but the tests failed in ",n,"."," ",c.createElement(vt,{href:t,target:"_blank",withArrow:!0},"Learn what could cause this"))},fh=$.div(({theme:e})=>({height:"100%",background:e.background.content})),$i=$.div(({theme:e})=>({borderBottom:`1px solid ${e.appBorderColor}`,backgroundColor:e.base==="dark"?Er(.93,e.color.negative):e.background.warning,padding:15,fontSize:e.typography.size.s2-1,lineHeight:"19px"})),qn=$.code(({theme:e})=>({margin:"0 1px",padding:3,fontSize:e.typography.size.s1-1,lineHeight:1,verticalAlign:"top",background:"rgba(0, 0, 0, 0.05)",border:`1px solid ${e.appBorderColor}`,borderRadius:3})),qi=$.div({paddingBottom:4,fontWeight:"bold"}),mh=$.p({margin:0,padding:"0 0 20px"}),Ui=$.pre(({theme:e})=>({margin:0,padding:0,"&:not(:last-child)":{paddingBottom:16},fontSize:e.typography.size.s1-1})),gh=$t(function({calls:e,controls:t,controlStates:r,interactions:n,fileName:o,hasException:a,caughtException:u,unhandledErrors:i,isPlaying:s,pausedAt:l,onScrollToEnd:f,endRef:m,hasResultMismatch:y,browserTestStatus:E}){let w=Jn();return z(fh,null,y&&z(hh,{browserTestStatus:E}),(n.length>0||a)&&z(ph,{controls:t,controlStates:r,status:E,storyFileName:o,onScrollToEnd:f}),z("div",{"aria-label":"Interactions list"},n.map(C=>z(eh,{key:C.id,call:C,callsById:e,controls:t,controlStates:r,childCallIds:C.childCallIds,isHidden:C.isHidden,isCollapsed:C.isCollapsed,toggleCollapsed:C.toggleCollapsed,pausedAt:l}))),u&&!Y2(u)&&z($i,null,z(qi,null,"Caught exception in ",z(qn,null,"play")," function"),z(Ui,{"data-chromatic":"ignore",dangerouslySetInnerHTML:{__html:w.toHtml(zi(u))}})),i&&z($i,null,z(qi,null,"Unhandled Errors"),z(mh,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",z(qn,null,"test.dangerouslyIgnoreUnhandledErrors")," ","parameter to ",z(qn,null,"true"),"."),i.map((C,b)=>z(Ui,{key:b,"data-chromatic":"ignore"},zi(C)))),z("div",{ref:m}),!s&&!u&&n.length===0&&z(Z2,null))});function zi(e){return e.stack||`${e.name}: ${e.message}`}var Un={start:!1,back:!1,goto:!1,next:!1,end:!1},yh={[H.DONE]:"success",[H.ERROR]:"error",[H.ACTIVE]:"pending",[H.WAITING]:"pending"},Hi=({log:e,calls:t,collapsed:r,setCollapsed:n})=>{let o=new Map,a=new Map;return e.map(({callId:u,ancestors:i,status:s})=>{let l=!1;return i.forEach(f=>{r.has(f)&&(l=!0),a.set(f,(a.get(f)||[]).concat(u))}),{...t.get(u),status:s,isHidden:l}}).map(u=>{let i=u.status===H.ERROR&&u.ancestors&&o.get(u.ancestors.slice(-1)[0])?.status===H.ACTIVE?H.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)))}})},bh=$t(function({storyId:e}){let{status:t}=yo(),[r,n]=Rr(At,{controlStates:Un,isErrored:!1,pausedAt:void 0,interactions:[],isPlaying:!1,hasException:!1,caughtException:void 0,interactionsCount:0,unhandledErrors:void 0}),[o,a]=ge(void 0),[u,i]=ge(new Set),[s,l]=ge(!1),{controlStates:f=Un,isErrored:m=!1,pausedAt:y=void 0,interactions:E=[],isPlaying:w=!1,caughtException:C=void 0,unhandledErrors:b=void 0}=r,S=qt([]),A=qt(new Map),x=({status:p,...g})=>A.current.set(g.id,g),_=qt();Fe(()=>{let p;return Rt.IntersectionObserver&&(p=new Rt.IntersectionObserver(([g])=>a(g.isIntersecting?void 0:g.target),{root:Rt.document.querySelector("#panel-tab-content")}),_.current&&p.observe(_.current)),()=>p?.disconnect()},[]);let I=mo({[We.CALL]:x,[We.SYNC]:p=>{n(g=>{let R=Hi({log:p.logItems,calls:A.current,collapsed:u,setCollapsed:i});return{...g,controlStates:p.controlStates,pausedAt:p.pausedAt,interactions:R,interactionsCount:R.filter(({method:D})=>D!=="step").length}}),S.current=p.logItems},[ke]:p=>{if(p.newPhase==="preparing"){n({controlStates:Un,isErrored:!1,pausedAt:void 0,interactions:[],isPlaying:!1,hasException:!1,caughtException:void 0,interactionsCount:0,unhandledErrors:void 0});return}n(g=>({...g,isPlaying:p.newPhase==="playing",pausedAt:void 0,...p.newPhase==="rendering"?{isErrored:!1,caughtException:void 0}:{}}))},[Yt]:()=>{n(p=>({...p,isErrored:!0,hasException:!0}))},[Vt]:p=>{n(g=>({...g,caughtException:p,hasException:!0}))},[Kt]:p=>{n(g=>({...g,unhandledErrors:p,hasException:!0}))}},[u]);Fe(()=>{n(p=>{let g=Hi({log:S.current,calls:A.current,collapsed:u,setCollapsed:i});return{...p,interactions:g,interactionsCount:g.filter(({method:R})=>R!=="step").length}})},[n,u]);let v=Ct(()=>({start:()=>I(We.START,{storyId:e}),back:()=>I(We.BACK,{storyId:e}),goto:p=>I(We.GOTO,{storyId:e,callId:p}),next:()=>I(We.NEXT,{storyId:e}),end:()=>I(We.END,{storyId:e}),rerun:()=>{I(xt,{storyId:e})}}),[I,e]),T=go("fileName",""),[B]=T.toString().split("/").slice(-1),L=()=>o?.scrollIntoView({behavior:"smooth",block:"end"}),k=!!C||!!b||E.some(p=>p.status===H.ERROR),q=t[e]?.[Ar],P=q?.status,M=Ct(()=>!w&&(E.length>0||k)?k?H.ERROR:H.DONE:w?H.ACTIVE:void 0,[w,E,k]),{testRunId:h}=q?.data||{};return Fe(()=>{if(M&&P&&P!=="pending"&&P!==yh[M]){let p=setTimeout(()=>l(g=>(g||I(B2,{type:"test-discrepancy",payload:{browserStatus:M===H.DONE?"PASS":"FAIL",cliStatus:M===H.DONE?"FAIL":"PASS",storyId:e,testRunId:h}}),!0)),2e3);return()=>clearTimeout(p)}else l(!1)},[I,M,P,e,h]),m?c.createElement(Mt,{key:"component-tests"}):c.createElement(Mt,{key:"component-tests"},c.createElement(gh,{hasResultMismatch:s,browserTestStatus:M,calls:A.current,controls:v,controlStates:f,interactions:E,fileName:B,hasException:k,caughtException:C,unhandledErrors:b,isPlaying:w,pausedAt:y,endRef:_,onScrollToEnd:o&&L}))});function Eh(){let[e={}]=Rr(At),{hasException:t,interactionsCount:r}=e;return c.createElement("div",null,c.createElement(lo,{col:1},c.createElement("span",{style:{display:"inline-block",verticalAlign:"middle"}},"Component tests"),r&&!t?c.createElement(Tr,{status:"neutral"},r):null,t?c.createElement(Tr,{status:"negative"},r):null))}var cs="storybook/a11y",Ah=`${cs}/panel`,Sh=({timestamp:e})=>{let[t,r]=ge(null);if(Fe(()=>{if(e){r(Date.now()-e);let i=setInterval(()=>r(Date.now()-e),1e4);return()=>clearInterval(i)}},[e]),t===null)return null;let n=Math.round(t/1e3);if(n<60)return"just now";let o=Math.floor(n/60);if(o<60)return o===1?"a minute ago":`${o} minutes ago`;let a=Math.floor(o/60);if(a<24)return a===1?"an hour ago":`${a} hours ago`;let u=Math.floor(a/24);return u===1?"yesterday":`${u} days ago`},wh=$.div(({theme:e})=>({overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis",fontSize:e.typography.size.s1,color:e.textMutedColor}));$.span(({theme:e})=>({color:e.color.positiveText}));function Ch({state:e,watching:t,entryId:r,results:n,...o}){let{setModalOpen:a}=c.useContext(Xn),u=e.error?.message,i="Not run";return e.running?i=e.progress?`Testing... ${e.progress.numPassedTests}/${e.progress.numTotalTests}`:"Starting...":r&&n?.length?i=`Ran ${n.length} ${n.length===1?"test":"tests"}`:e.failed&&!u?i="Failed":e.crashed||e.failed&&u?i=a?c.createElement(vt,{isButton:!0,onClick:()=>a(!0)},e.error?.name||"View full error"):e.error?.name||"Failed":e.progress?.finishedAt?i=c.createElement(c.Fragment,null,"Ran ",e.progress.numTotalTests," ",e.progress.numTotalTests===1?"test":"tests"," ",c.createElement(Sh,{timestamp:e.progress.finishedAt})):t&&(i="Watching for file changes"),c.createElement(wh,{...o},i)}var Et=$.div(({percentage:e})=>({width:e?12:6,height:e?12:6,margin:e?1:4,background:e?`conic-gradient(var(--status-color) ${e}%, var(--status-background) ${e+1}%)`:"var(--status-color)",borderRadius:"50%"}),({status:e,theme:t})=>e==="pending"&&{animation:`${t.animation.glow} 1.5s ease-in-out infinite`,"--status-color":t.color.mediumdark,"--status-background":`${t.color.mediumdark}66`},({status:e,theme:t})=>e==="positive"&&{"--status-color":t.color.positive,"--status-background":`${t.color.positive}66`},({status:e,theme:t})=>e==="warning"&&{"--status-color":t.color.gold,"--status-background":`${t.color.gold}66`},({status:e,theme:t})=>e==="negative"&&{"--status-color":t.color.negative,"--status-background":`${t.color.negative}66`},({status:e,theme:t})=>e==="critical"&&{"--status-color":t.color.defaultText,"--status-background":`${t.color.defaultText}66`},({status:e,theme:t})=>e==="unknown"&&{"--status-color":t.color.mediumdark,"--status-background":`${t.color.mediumdark}66`}),vh=$.div({display:"flex",flexDirection:"column"}),Dh=$.div({display:"flex",justifyContent:"space-between",padding:"8px 2px",gap:12}),xh=$.div({display:"flex",flexDirection:"column",marginLeft:6,minWidth:0}),Th=$.div(({crashed:e,theme:t})=>({fontSize:t.typography.size.s1,fontWeight:e?"bold":"normal",color:e?t.color.negativeText:t.color.defaultText})),Rh=$.div({display:"flex",gap:2}),Gi=$.div({marginBottom:2}),zn=$.input({margin:0,"&:enabled":{cursor:"pointer"}}),_h=$(io)({margin:2}),Oh=$(_r)({width:10}),Lt=$.span(({enabled:e,theme:t})=>!e&&{color:t.textMutedColor,"&:after":{content:'" (disabled)"'}}),Vi=["failed","warning","pending","passed","skipped"],Fh={failed:"negative",warning:"warning",passed:"positive",skipped:"unknown",pending:"pending"},Wi=({state:e,api:t,entryId:r,...n})=>{let[o,a]=ge(!1),u=Ze(),i=e.details?.coverageSummary,s=Dt.experimental_getRegisteredAddons().includes(cs),[{config:l,watching:f},m]=ho(Qi),y=r?.includes("--")??!1,E=Ct(()=>s?e.details?.testResults?.flatMap(v=>v.results.filter(Boolean).filter(T=>!r||T.storyId===r||T.storyId?.startsWith(`${r}-`)).map(T=>T.reports.find(B=>B.type==="a11y"))):[],[s,e.details?.testResults,r]),w=Ct(()=>{if(e.running||!s||l.a11y===!1)return"unknown";let v=E?.filter(Boolean)??[];if(!v||v.length===0)return"unknown";let T=v.some(L=>L?.status==="failed"),B=v.some(L=>L?.status==="warning");return T?"negative":B?"warning":"positive"},[e.running,s,l.a11y,E]),C=l?.a11y?E?.filter(v=>v?.status==="failed"||v?.status==="warning").length:void 0,b=e.running||!l?.a11y?null:E?.filter(v=>!v).length,S=b?b===1&&y?"(skipped)":`(${b} skipped)`:"",A=y?r:void 0,x=(e.details?.testResults||[]).flatMap(v=>r?v.results.filter(T=>A?T.storyId===A:T.storyId?.startsWith(`${r}-`)):v.results).sort((v,T)=>Vi.indexOf(v.status)-Vi.indexOf(T.status)),_=x[0]?.status??(e.running?"pending":"unknown"),I=(v,T)=>{t.selectStory(v),t.setSelectedPanel(T),t.togglePanel(!0)};return c.createElement(vh,{...n},c.createElement(Dh,null,c.createElement(xh,null,c.createElement(Th,{id:"testing-module-title",crashed:e.crashed},e.crashed?"Local tests failed":"Run local tests"),c.createElement(Ch,{id:"testing-module-description",state:e,entryId:r,results:x,watching:f})),c.createElement(Rh,null,!r&&c.createElement(Re,{hasChrome:!1,trigger:"hover",tooltip:c.createElement(Je,{note:`${o?"Hide":"Show"} settings`})},c.createElement($e,{"aria-label":`${o?"Hide":"Show"} settings`,variant:"ghost",padding:"small",active:o,disabled:e.running&&!o,onClick:()=>a(!o)},c.createElement(vo,null))),!r&&c.createElement(Re,{hasChrome:!1,trigger:"hover",tooltip:c.createElement(Je,{note:`${f?"Disable":"Enable"} watch mode`})},c.createElement($e,{"aria-label":`${f?"Disable":"Enable"} watch mode`,variant:"ghost",padding:"small",active:f,onClick:()=>m(v=>({...v,watching:!f})),disabled:e.running||o},c.createElement(Do,null))),e.runnable&&c.createElement(c.Fragment,null,e.running&&e.cancellable?c.createElement(Re,{hasChrome:!1,trigger:"hover",tooltip:c.createElement(Je,{note:"Stop test run"})},c.createElement($e,{"aria-label":"Stop test run",variant:"ghost",padding:"none",onClick:()=>t.cancelTestProvider(e.id),disabled:e.cancelling},c.createElement(_h,{percentage:e.progress?.percentageCompleted},c.createElement(Oh,null)))):c.createElement(Re,{hasChrome:!1,trigger:"hover",tooltip:c.createElement(Je,{note:"Start test run"})},c.createElement($e,{"aria-label":"Start test run",variant:"ghost",padding:"small",onClick:()=>t.runTestProvider(e.id,{entryId:r}),disabled:e.running||o},c.createElement(_o,null)))))),o?c.createElement(Gi,null,c.createElement(qe,{as:"label",title:"Component tests",icon:c.createElement(Io,{color:u.textMutedColor}),right:c.createElement(zn,{type:"checkbox",checked:!0,disabled:!0})}),s&&c.createElement(qe,{as:"label",title:c.createElement(Lt,{enabled:l.a11y},"Accessibility"),icon:c.createElement(Eo,{color:u.textMutedColor}),right:c.createElement(zn,{type:"checkbox",checked:l.a11y,onChange:()=>m(v=>({...v,config:{...v.config,a11y:!l.a11y}}))})}),!r&&c.createElement(qe,{as:"label",title:c.createElement(Lt,{enabled:l.coverage},"Coverage"),icon:c.createElement(Po,{color:u.textMutedColor}),right:c.createElement(zn,{type:"checkbox",checked:f?!1:l.coverage,disabled:f,onChange:()=>m(v=>({...v,config:{...v.config,coverage:!l.coverage}}))})})):c.createElement(Gi,null,c.createElement(qe,{title:"Component tests",onClick:(_==="failed"||_==="warning")&&x.length?()=>{let v=x.find(T=>T.status==="failed"||T.status==="warning");v&&I(v.storyId,Hn)}:void 0,icon:e.crashed?c.createElement(Et,{status:"critical","aria-label":"status: crashed"}):_==="unknown"?c.createElement(Et,{status:"unknown","aria-label":"status: unknown"}):c.createElement(Et,{status:Fh[_],"aria-label":`status: ${_}`})}),s&&c.createElement(qe,{title:c.createElement(Lt,{enabled:l.a11y},"Accessibility ",S),onClick:(w==="negative"||w==="warning")&&E.length?()=>{let v=x.find(T=>T.reports.filter(B=>B.type==="a11y").find(B=>B.status==="failed"||B.status==="warning"));v&&I(v.storyId,Ah)}:void 0,icon:c.createElement(Et,{status:w,"aria-label":`status: ${w}`}),right:y?null:C||null}),!r&&c.createElement(c.Fragment,null,i?c.createElement(qe,{title:c.createElement(Lt,{enabled:l.coverage},"Coverage"),href:"/coverage/index.html",target:"_blank","aria-label":"Open coverage report",icon:c.createElement(Et,{percentage:i.percentage,status:i.status,"aria-label":`status: ${i.status}`}),right:i.percentage?c.createElement("span",{"aria-label":`${i.percentage} percent coverage`},i.percentage," %"):null}):c.createElement(qe,{title:c.createElement(Lt,{enabled:l.coverage},"Coverage"),icon:c.createElement(Et,{status:"unknown","aria-label":"status: unknown"})}))))},Yi={failed:"error",passed:"success",pending:"pending",warning:"warn",skipped:"unknown"};Dt.register(At,e=>{if((globalThis.STORYBOOK_BUILDER||"").includes("vite")){let r=()=>{e.setSelectedPanel(Hn),e.togglePanel(!0)};Dt.add(Ar,{type:bo.experimental_TEST_PROVIDER,runnable:!0,name:"Component tests",render:n=>{let[o,a]=ge(!1);return c.createElement(Xn.Provider,{value:{error:n.error?.message,isModalOpen:o,setModalOpen:a}},c.createElement(Wi,{api:e,state:n}),c.createElement(z2,{onRerun:()=>{a(!1),e.runTestProvider(Ar)}}))},sidebarContextMenu:({context:n,state:o})=>n.type==="docs"||n.type==="story"&&!n.tags.includes("test")?null:c.createElement(Wi,{api:e,state:o,entryId:n.id,style:{minWidth:240}}),stateUpdater:(n,o)=>{let a={...n,...o,details:{...n.details,...o.details}};return(!n.running&&o.running||Qi.getState().watching)&&delete a.details.coverageSummary,o.details?.testResults&&(async()=>(await e.experimental_updateStatus(Ar,Object.fromEntries(o.details.testResults.flatMap(u=>u.results.filter(({storyId:i})=>i).map(({storyId:i,status:s,testRunId:l,...f})=>[i,{title:"Component tests",status:Yi[s],description:"failureMessages"in f&&f.failureMessages?f.failureMessages.join(` +`):"",data:{testRunId:l},onClick:r,sidebarContextMenu:!1}])))),await e.experimental_updateStatus("storybook/addon-a11y/test-provider",Object.fromEntries(o.details.testResults.flatMap(u=>u.results.filter(({storyId:i})=>i).map(({storyId:i,testRunId:s,reports:l})=>{let f=l.find(m=>m.type==="a11y");return[i,f?{title:"Accessibility tests",description:"",status:Yi[f.status],data:{testRunId:s},onClick:()=>{e.setSelectedPanel("storybook/a11y/panel"),e.togglePanel(!0)},sidebarContextMenu:!1}:null]}))))))(),a}})}let t=({state:r})=>({storyId:r.storyId});Dt.add(Hn,{type:fo.PANEL,title:()=>c.createElement(Eh,null),match:({viewMode:r})=>r==="story",render:({active:r})=>c.createElement(ro,{active:!!r},c.createElement(co,{filter:t},({storyId:n})=>c.createElement(bh,{storyId:n})))})});})(); +}catch(e){ console.error("[Storybook] One of your manager-entries failed: " + import.meta.url, e); } diff --git a/storybook-static/sb-common-assets/favicon.svg b/storybook-static/sb-common-assets/favicon.svg new file mode 100644 index 0000000..571f90f --- /dev/null +++ b/storybook-static/sb-common-assets/favicon.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/storybook-static/sb-common-assets/nunito-sans-bold-italic.woff2 b/storybook-static/sb-common-assets/nunito-sans-bold-italic.woff2 new file mode 100644 index 0000000..33563d8 Binary files /dev/null and b/storybook-static/sb-common-assets/nunito-sans-bold-italic.woff2 differ diff --git a/storybook-static/sb-common-assets/nunito-sans-bold.woff2 b/storybook-static/sb-common-assets/nunito-sans-bold.woff2 new file mode 100644 index 0000000..19fcc94 Binary files /dev/null and b/storybook-static/sb-common-assets/nunito-sans-bold.woff2 differ diff --git a/storybook-static/sb-common-assets/nunito-sans-italic.woff2 b/storybook-static/sb-common-assets/nunito-sans-italic.woff2 new file mode 100644 index 0000000..827096d Binary files /dev/null and b/storybook-static/sb-common-assets/nunito-sans-italic.woff2 differ diff --git a/storybook-static/sb-common-assets/nunito-sans-regular.woff2 b/storybook-static/sb-common-assets/nunito-sans-regular.woff2 new file mode 100644 index 0000000..c527ba4 Binary files /dev/null and b/storybook-static/sb-common-assets/nunito-sans-regular.woff2 differ diff --git a/storybook-static/sb-manager/globals-module-info.js b/storybook-static/sb-manager/globals-module-info.js new file mode 100644 index 0000000..fcc89f5 --- /dev/null +++ b/storybook-static/sb-manager/globals-module-info.js @@ -0,0 +1,1051 @@ +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/storybook-static/sb-manager/globals-runtime.js b/storybook-static/sb-manager/globals-runtime.js new file mode 100644 index 0000000..d015d5f --- /dev/null +++ b/storybook-static/sb-manager/globals-runtime.js @@ -0,0 +1,41591 @@ +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 = "